/* FOLKNITY V2 / BUILD 03 — THE ORBIT DESIGN SYSTEM
   UI-only progressive upgrade. All existing application actions remain on the server.
   No images of mock interfaces are used as application UI. */
:root,[data-theme="midnight"]{
  --bg:#060a19; --panel:#0d1530; --panel-2:#172244; --field:#101b39;
  --text:#f7f8ff; --sub:#b4bfdc; --faint:#8290b8; --line:#29365c;
  --accent:#785bff; --shadow:0 22px 70px rgba(2,5,26,.38);
  --glow:rgba(126,91,255,.22); --radius:21px;
  --v3-neon:#8b66ff;--v3-electric:#4687ff;--v3-aqua:#4ad4ff;
  --v3-border:rgba(144,155,252,.17);--v3-glass:rgba(17,26,61,.83);
}
html{scroll-padding-top:105px}
body.folknity-v3{position:relative;isolation:isolate;overflow-x:hidden;background:#060a19;
  background-image:radial-gradient(ellipse 70% 42% at 50% -32%,rgba(69,77,184,.19),transparent),linear-gradient(160deg,#080e23,#060a19 47%,#080d21);color:#f6f7ff;
  font-family:Inter,"Plus Jakarta Sans",Manrope,"Segoe UI",system-ui,sans-serif;letter-spacing:.005em}
body.folknity-v3:before{z-index:-3;opacity:.65;pointer-events:none;background:radial-gradient(ellipse 39% 47% at 105% 1%,rgba(94,55,206,.12),transparent),radial-gradient(ellipse 36% 48% at -12% 42%,rgba(34,85,221,.1),transparent)}
.ambient-scene{position:fixed;inset:0;z-index:-2;overflow:hidden;pointer-events:none;contain:strict}
.ambient-orb{position:absolute;display:block;border-radius:50%;filter:blur(3px);opacity:.65;background:radial-gradient(circle at 26% 21%,rgba(192,208,255,.96),rgba(115,85,252,.72) 23%,rgba(30,45,152,.72) 58%,rgba(9,12,51,.2) 80%);box-shadow:inset -18px -14px 28px rgba(2,5,40,.7),0 0 78px rgba(76,66,222,.18)}
.orb-a{width:160px;height:160px;right:-83px;top:7vh;animation:orb-drift 13s ease-in-out infinite alternate}
.orb-b{width:78px;height:78px;left:-41px;top:43vh;animation:orb-drift 18s ease-in-out infinite alternate-reverse}
.orb-c{width:30px;height:30px;right:11%;bottom:10vh;opacity:.3;animation:orb-drift 11s ease-in-out infinite alternate}
.ambient-grid{position:absolute;inset:0;opacity:.11;background-image:linear-gradient(rgba(106,129,224,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(106,129,224,.12) 1px,transparent 1px);background-size:68px 68px;mask-image:linear-gradient(to bottom,transparent,#000 22%,transparent 91%)}
@keyframes orb-drift{to{transform:translate3d(-14px,19px,0) rotate(14deg)}}
@keyframes orbit-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)}}
@keyframes orbit-turn{to{transform:rotate(360deg)}}
@keyframes pulse-glow{50%{box-shadow:0 0 0 7px rgba(80,224,255,0),0 0 19px rgba(80,224,255,.65)}}
@keyframes enter-rise{from{opacity:0;transform:translateY(17px)}to{opacity:1;transform:translateY(0)}}
body.folknity-v3 .eyebrow{color:#92a8ff;font-weight:850;letter-spacing:2.1px}
body.folknity-v3 h1,body.folknity-v3 h2,body.folknity-v3 h3{color:#f7f8ff;font-weight:820}
body.folknity-v3 a{transition:color .18s,background-color .18s,filter .18s}
body.folknity-v3 a:hover{color:#aeb6ff}
body.folknity-v3 :is(a,button,input,textarea,select):focus-visible{outline:2px solid #8abaff;outline-offset:3px}
body.folknity-v3 input:not([type=checkbox]):not([type=radio]):not([type=color]),body.folknity-v3 textarea,body.folknity-v3 select{background:rgba(13,23,53,.88);border:1px solid #2a3965;border-radius:13px;color:#f5f7ff}
body.folknity-v3 input::placeholder,body.folknity-v3 textarea::placeholder{color:#8795bf}
body.folknity-v3 input:focus,body.folknity-v3 textarea:focus,body.folknity-v3 select:focus{border-color:#796fff;box-shadow:0 0 0 4px rgba(124,104,255,.16)}
body.folknity-v3 .button{background:linear-gradient(108deg,#438eff 3%,#7455ff 68%,#9264f9 110%);color:#fff;border:1px solid rgba(150,178,255,.39);border-radius:13px;box-shadow:0 9px 30px rgba(70,76,222,.17);font-weight:800;letter-spacing:.01em}
body.folknity-v3 .button:hover{color:#fff;box-shadow:0 13px 37px rgba(76,86,232,.37);filter:brightness(1.08);transform:translateY(-2px)}
body.folknity-v3 .button.secondary,body.folknity-v3 .button.oauth{background:rgba(27,37,78,.77);border-color:rgba(153,171,242,.24);box-shadow:none;color:#e4eaff}
body.folknity-v3 .button.secondary:hover{background:#283a75;color:#fff;border-color:#7886ec}
body.folknity-v3 .card,body.folknity-v3 .post-card,body.folknity-v3 .widget,body.folknity-v3 .auth-card,body.folknity-v3 .stat-card,body.folknity-v3 .space-card{background:linear-gradient(146deg,rgba(19,28,63,.95),rgba(11,18,44,.96));border:1px solid var(--v3-border);border-radius:20px;box-shadow:0 14px 42px rgba(1,4,18,.2)}
body.folknity-v3 .card.padded{padding:25px}
body.folknity-v3 .flash{top:84px;z-index:260}
body.folknity-v3 .muted{color:#aebbdc!important}
/* Brand: real vector icon, never a static image of a UI mockup */
.v3-topbar{height:77px;background:rgba(6,11,29,.86)!important;border-bottom:1px solid rgba(115,145,238,.13)!important;backdrop-filter:blur(30px)}
.v3-topbar .topbar-inner{max-width:1480px;padding:0 34px;gap:30px}
.v3-topbar .brand{font-size:26px;font-weight:850;letter-spacing:-1.45px;gap:11px;color:#fff}
.v3-topbar .brand:hover{color:#fff}
.v3-topbar .brand-icon{width:43px;height:43px;border-radius:14px;display:grid;place-items:center;background:radial-gradient(circle at 14% 10%,#263c99,#10183e 72%);border:1px solid rgba(135,160,255,.31);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 26px rgba(84,78,246,.2)}
.folk-mark{width:35px;height:35px;display:block}
.v3-topbar .brand-dot{color:#9470ff}
.v3-topbar .top-search{width:min(440px,37vw);height:44px;background:#0d1734;border-color:rgba(121,147,224,.19);border-radius:13px}
.v3-topbar .top-search input{font-size:12px;letter-spacing:.02em}
.v3-topbar .top-actions{gap:13px}
.v3-topbar .icon-link{display:grid;place-items:center;width:38px;height:38px;border:1px solid transparent;border-radius:12px;color:#d9e2ff}
.v3-topbar .icon-link:hover{color:#fff;background:#17234b;border-color:#2e3d72}
.v3-topbar .icon-link .f-icon{width:22px;height:22px}
.v3-topbar .top-create{margin:0;padding:9px 15px;border-radius:12px;font-size:12px;gap:7px}
.v3-topbar .top-create svg{width:17px;height:17px}
.v3-topbar .top-signout{background:transparent;border-color:rgba(129,154,228,.2);color:#b6c4eb;border-radius:10px}
body.folknity-v3 .notice-count{width:auto;min-width:19px;height:19px;padding:0 4px;font-size:10px;top:-6px;right:-7px;background:#9360fa;border:2px solid #090f26;font-weight:850;border-radius:11px}
/* Dashboard grid and navigation */
body.folknity-v3 .app-shell{max-width:1480px;grid-template-columns:236px minmax(0,760px) minmax(230px,288px);gap:24px;padding:24px 32px 90px;justify-content:center}
body.folknity-v3 .left-sidebar{top:100px;padding:9px 2px 16px}
body.folknity-v3 .right-sidebar{top:102px;padding-top:1px}
body.folknity-v3 .aside-label{font-size:10px;letter-spacing:2.4px;color:#6f82b3;margin:16px 16px 13px}
body.folknity-v3 .side-menu{gap:6px}
body.folknity-v3 .side-link{position:relative;gap:13px;padding:12px 15px;font-size:13px;font-weight:750;color:#a7b5da;border:1px solid transparent;border-radius:14px}
body.folknity-v3 .side-link:hover{color:#fff;background:rgba(53,65,123,.27);border-color:rgba(123,137,246,.16)}
body.folknity-v3 .side-link.current{color:#f5f3ff;background:linear-gradient(93deg,rgba(82,83,207,.28),rgba(106,65,189,.14));border-color:rgba(132,112,247,.31);box-shadow:inset 3px 0 #7b78ff}
body.folknity-v3 .side-icon{min-width:25px;display:grid;place-items:center}
body.folknity-v3 .side-icon .f-icon{width:24px;height:24px;stroke-width:1.8}
body.folknity-v3 .side-link.current .f-icon{stroke-width:2.45}
body.folknity-v3 .create-primary{margin-top:21px;padding:14px 16px;justify-content:center;gap:10px;font-size:13px}
body.folknity-v3 .create-primary svg{width:20px;height:20px}
body.folknity-v3 .sidebar-signout{border:1px solid #2d3966;border-radius:12px;color:#9facd1;background:#111a39;padding:11px 13px}
body.folknity-v3 .mini-user{margin-top:30px;padding:16px 10px;background:rgba(16,26,59,.7);border:1px solid rgba(139,151,248,.13);border-radius:17px;gap:11px}
body.folknity-v3 .mini-user .avatar{box-shadow:0 0 0 2px rgba(118,98,255,.3)}
body.folknity-v3 .mini-user strong{font-size:12px}
body.folknity-v3 .mini-user small{font-size:11px}
body.folknity-v3 .main-content{min-width:0}
body.folknity-v3 .widget{padding:21px;margin-bottom:17px}
body.folknity-v3 .widget h3{font-size:20px;line-height:1.27;letter-spacing:-.7px}
body.folknity-v3 .widget p{color:#aab8da;font-size:12px;line-height:1.7}
.v3-world-widget{min-height:222px;position:relative;overflow:hidden;background:linear-gradient(145deg,#1c1f62,#101d46 63%,#121239)!important}
.v3-world-widget::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 70% 70% at 103% 0%,rgba(157,80,255,.35),transparent);pointer-events:none}
.v3-world-widget :is(h3,p,.eyebrow,.text-action){position:relative;z-index:1;max-width:77%}
.v3-world-widget .eyebrow{font-size:9px}
.v3-world-widget .text-action{display:flex;align-items:center;gap:7px;font-size:11px;color:#b4acff}
.v3-world-widget .text-action .f-icon{width:16px;height:16px}
.mini-planet{position:absolute;border-radius:50%;box-shadow:inset -11px -12px 18px rgba(8,8,76,.66),0 0 28px rgba(118,79,249,.26);pointer-events:none}
.planet-one{width:115px;height:115px;right:-44px;top:-28px;background:radial-gradient(circle at 29% 24%,#c2baff,#6655ed 38%,#281e97 77%)}
.planet-two{width:31px;height:31px;right:26px;bottom:29px;background:radial-gradient(circle at 30% 22%,#b3eaff,#4a7cff 48%,#332482 85%)}
.v3-people-widget .widget-user{padding:12px 0;border-color:rgba(129,145,206,.12)}
.v3-people-widget .widget-user .avatar{border-color:#505fa0}
/* Landing: semantic responsive HTML with CSS-drawn vivid orbiting purple bubbles. */
body.folknity-v3 .public-header{padding:0 max(36px,calc((100vw - 1400px)/2))}
body.folknity-v3 .public-main{max-width:1400px;padding:38px 42px 70px}
body.folknity-v3 .v3-landing{min-height:clamp(625px,calc(100vh - 175px),900px);grid-template-columns:minmax(0,1fr) minmax(430px,.97fr);gap:12px;padding:38px 0 25px}
.v3-landing .landing-words{position:relative;z-index:2;padding:30px 0;animation:enter-rise .55s ease-out both}
.v3-eyebrow-pill{display:inline-flex;align-items:center;gap:10px;border:1px solid rgba(120,153,253,.26);border-radius:100px;padding:10px 15px;background:rgba(20,30,73,.7);color:#bccdff;font-size:10px;font-weight:850;letter-spacing:1.3px}
.pulse-dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:#54e3ff;box-shadow:0 0 0 3px rgba(68,201,255,.13);animation:pulse-glow 3s ease-in-out infinite}
.landing-kicker{margin:36px 0 5px;color:#a0acff;letter-spacing:2.7px;font-weight:850;font-size:11px}
.v3-landing .landing-words h1{font-size:clamp(84px,9vw,144px);line-height:1.04;letter-spacing:-8px;margin:0 0 11px;font-weight:930;text-shadow:0 4px 45px rgba(117,89,255,.17)}
.v3-landing .landing-words h2{font-size:clamp(37px,4.5vw,71px);line-height:1.07;letter-spacing:-3.2px;margin:0 0 25px;background:none;color:#fbfcff;font-weight:880}
.v3-landing .landing-words h2 span{background:linear-gradient(93deg,#7ad6ff 3%,#8178ff 56%,#c388ff);background-clip:text;color:transparent}
.v3-landing .landing-words p{font-size:16px;line-height:1.88;color:#a9b9db;max-width:520px;margin:0 0 31px}
.v3-hero-actions{gap:13px}
.v3-hero-actions .button{padding:15px 22px;font-size:13px;border-radius:14px}
.v3-hero-actions .v3-primary-cta{box-shadow:0 12px 37px rgba(76,94,255,.3)}
.v3-landing .landing-tags{margin-top:38px;gap:10px}
.v3-landing .landing-tags span{display:flex;align-items:center;gap:8px;padding:10px 12px;background:rgba(17,26,57,.64);border:1px solid rgba(108,125,188,.2);font-size:11px;border-radius:12px;color:#afbee5}
.v3-landing .landing-tags svg{width:18px;height:18px;stroke:#a59aff}
.v3-bubble-world{width:100%;max-width:640px;aspect-ratio:1/1;margin:auto;position:relative;display:block;isolation:isolate;background:none;overflow:visible}
.v3-bubble-world .world-aura{position:absolute;inset:11%;border-radius:50%;background:radial-gradient(circle,rgba(90,60,231,.2),rgba(16,56,159,.16) 42%,transparent 70%);filter:blur(13px)}
.world-orbit{position:absolute;border:1px solid rgba(133,136,255,.19);border-radius:50%;inset:13%;transform:rotate(-28deg) scaleX(.81)}
.world-orbit.orbit-two{inset:18%;transform:rotate(61deg) scaleX(.76);border-style:dashed;opacity:.85}
.v3-bubble-world .bubble{position:absolute;border-radius:50%;box-shadow:inset 8px 13px 21px rgba(255,255,255,.12),inset -24px -28px 45px rgba(10,10,74,.78),0 15px 53px rgba(58,73,235,.25);background:radial-gradient(circle at 25% 18%,rgba(255,255,255,.9) 0%,rgba(199,184,255,.8) 6%,rgba(114,89,255,.95) 26%,rgba(55,42,180,.99) 58%,rgba(23,21,104,.99) 87%);animation:orbit-float 8s ease-in-out infinite}
.v3-bubble-world .bubble-xl{width:42%;height:42%;top:29%;left:29%;z-index:2;display:grid;place-items:center;box-shadow:inset 8px 11px 28px rgba(255,255,255,.13),inset -35px -35px 50px rgba(8,13,98,.8),0 0 95px rgba(99,80,247,.5),0 18px 50px rgba(14,14,67,.6)}
.v3-bubble-world .bubble-core{width:60%;height:60%;border-radius:38%;display:grid;place-items:center;background:rgba(7,16,71,.24);border:1px solid rgba(255,255,255,.18);transform:rotate(-7deg);backdrop-filter:blur(3px)}
.v3-bubble-world .bubble-core .folk-mark{width:78%;height:78%}
.v3-bubble-world .bubble-blue{width:22%;height:22%;top:5%;right:9%;background:radial-gradient(circle at 29% 19%,#dcf7ff,#48a9ff 26%,#344bdd 60%,#13145c 90%);animation-delay:-3s}
.v3-bubble-world .bubble-purple{width:15%;height:15%;right:0%;bottom:18%;animation-delay:-5s}
.v3-bubble-world .bubble-cyan{width:13%;height:13%;left:11%;top:22%;background:radial-gradient(circle at 24% 17%,#e2f9ff,#76cdff 19%,#4b60e8 61%,#17235f 91%);animation-delay:-4s}
.v3-bubble-world .bubble-lilac{width:11%;height:11%;left:15%;bottom:14%;animation-delay:-2s}
.v3-bubble-world .bubble-small{width:6%;height:6%;right:24%;top:24%;animation-delay:-4.3s}
.float-note{position:absolute;z-index:4;display:flex;align-items:center;gap:10px;border:1px solid rgba(161,164,255,.3);background:linear-gradient(110deg,rgba(21,30,69,.93),rgba(37,25,84,.91));border-radius:15px;padding:12px 14px;box-shadow:0 14px 42px rgba(4,7,38,.35);backdrop-filter:blur(22px);color:#fff;font-size:11px;font-weight:850;white-space:nowrap;animation:orbit-float 6s ease-in-out infinite}
.float-note small{display:block;color:#9fb4e0;font-size:10px;font-weight:650;margin-top:3px}
.note-icon{width:34px;height:34px;flex:none;border-radius:10px;display:grid;place-items:center;background:linear-gradient(140deg,#4a5cd7,#8149c7);font-size:22px;color:#f9f8ff}
.note-one{top:13%;left:-3%;animation-delay:-1s}
.note-two{right:-6%;top:44%;animation-delay:-3s}
.note-three{bottom:10%;left:13%;animation-delay:-2s}
.sparkle{position:absolute;color:#90baff;font-size:27px;text-shadow:0 0 20px #7f7eff}
.sparkle.s1{top:5%;left:41%}.sparkle.s2{right:13%;bottom:9%}.sparkle.s3{left:6%;bottom:42%}
.landing-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:12px 0 36px}
.landing-benefits>div{border:1px solid rgba(119,141,227,.19);padding:22px 22px 19px;background:linear-gradient(135deg,rgba(20,29,66,.85),rgba(12,18,44,.83));border-radius:19px}
.benefit-icon{display:grid;place-items:center;width:42px;height:42px;background:rgba(104,90,241,.18);border:1px solid rgba(133,120,255,.3);border-radius:13px;margin-bottom:14px}
.benefit-icon svg{width:24px;height:24px;color:#b7bbff}
.landing-benefits h3{font-size:15px;margin-bottom:6px}.landing-benefits p{margin:0;color:#a2b2d8;font-size:12px;line-height:1.65}
/* Auth: generous space, dedicated accessible form; decorative planets outside form. */
body.folknity-v3 .auth-grid{grid-template-columns:minmax(0,1.1fr) minmax(360px,.88fr);gap:min(8vw,105px);min-height:calc(100vh - 190px);align-items:center}
body.folknity-v3 .auth-intro{padding:10px 20px 40px 10px;position:relative;z-index:1}
body.folknity-v3 .auth-intro h1{font-size:clamp(43px,4.5vw,72px);letter-spacing:-3px;line-height:1.1;margin:18px 0}
body.folknity-v3 .auth-intro h1 em{font-style:normal;color:#a38bff}
body.folknity-v3 .auth-intro>p{max-width:440px;color:#aab8d9;font-size:15px;line-height:1.8}
body.folknity-v3 .auth-tag{color:#b9b0ff;margin-top:18px;font-size:12px}
.auth-planet-wrap{height:275px;position:relative;margin:0 0 30px;max-width:500px}
.auth-big-planet,.auth-small-planet,.auth-glass-ring{position:absolute;display:block;border-radius:50%;pointer-events:none}
.auth-big-planet{width:236px;height:236px;left:115px;top:9px;background:radial-gradient(circle at 24% 17%,#e4e6ff,#a883ff 10%,#5c43ec 37%,#262095 75%,#121451);box-shadow:inset -35px -23px 50px rgba(6,7,73,.65),0 0 100px rgba(108,83,255,.35);animation:orbit-float 8s ease-in-out infinite}
.auth-small-planet{width:69px;height:69px;left:49px;top:148px;background:radial-gradient(circle at 26% 19%,#d9fdff,#65c5fc 23%,#5165e8 58%,#252475);box-shadow:inset -8px -12px 20px #111a65,0 0 30px #3665d74d;animation:orbit-float 6s ease-in-out infinite -2s}
.auth-glass-ring{width:340px;height:145px;top:62px;left:67px;border:2px solid rgba(153,146,250,.28);transform:rotate(-30deg)}
.auth-glass-ring.ring-2{transform:rotate(47deg);width:320px;left:70px;top:75px}
.auth-star{position:absolute;left:370px;top:41px;color:#82a5ff;font-size:35px}
body.folknity-v3 .auth-card{width:100%;max-width:485px;padding:38px 36px;background:linear-gradient(145deg,rgba(22,32,74,.97),rgba(13,21,51,.96));border:1px solid rgba(145,155,248,.33);box-shadow:0 26px 88px rgba(0,3,18,.42),0 0 50px rgba(91,69,230,.08);border-radius:23px;position:relative;overflow:hidden}
body.folknity-v3 .auth-card::before{content:"";position:absolute;left:15%;right:15%;height:2px;top:0;background:linear-gradient(90deg,transparent,#a17dff,transparent);opacity:.7}
body.folknity-v3 .auth-card h2{font-size:29px;letter-spacing:-1.2px;margin:13px 0 8px}
body.folknity-v3 .auth-card .muted{margin-bottom:27px}
body.folknity-v3 .auth-card .field{font-size:11px;color:#c6cbea;letter-spacing:.01em}
body.folknity-v3 .auth-card .button{min-height:45px}
/* Feed: distinct welcome hero, pill tabs, iridescent stories and real functioning cards. */
body.folknity-v3 .feed-top{margin:5px 0 20px}
body.folknity-v3 .feed-top h1{font-size:30px;letter-spacing:-1.2px;margin:8px 0 7px}
body.folknity-v3 .feed-top p{font-size:13px;color:#9faed4}
body.folknity-v3 .feed-top .button{border-radius:11px}
.feed-welcome{position:relative;min-height:184px;display:flex;align-items:center;border:1px solid rgba(121,127,246,.29);background:radial-gradient(ellipse 80% 80% at 100% 20%,rgba(101,59,204,.5),transparent),linear-gradient(111deg,#19205d,#132355 48%,#101543 100%);border-radius:21px;margin-bottom:20px;overflow:hidden;box-shadow:0 15px 36px rgba(1,5,23,.2)}
.feed-welcome::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.22;background:repeating-linear-gradient(110deg,transparent,transparent 34px,rgba(179,173,255,.13) 35px,transparent 36px)}
.feed-welcome-copy{position:relative;z-index:2;padding:27px 30px;display:flex;align-items:flex-start;flex-direction:column;gap:8px}
.feed-welcome-overline{color:#b9c4ff;font-size:10px;letter-spacing:1.8px;font-weight:800}
.feed-welcome-copy strong{font-size:clamp(26px,3vw,35px);letter-spacing:-1.4px;line-height:1.2}
.feed-welcome-copy strong em{font-style:normal;color:#be9cff}
.feed-welcome-copy>span:not(.feed-welcome-overline){color:#b9c7e9;font-size:12px}
.feed-welcome-copy a{display:inline-flex;align-items:center;gap:8px;margin-top:4px;color:#eef0ff;font-size:11px;font-weight:850;border-bottom:1px solid rgba(191,197,255,.57);padding-bottom:5px}
.feed-planet{position:absolute;right:3%;top:-50px;width:270px;height:270px;border-radius:50%;background:radial-gradient(circle at 22% 18%,#d8d7ff,#836aff 16%,#3e38bc 49%,#141350 77%);box-shadow:inset -34px -28px 45px rgba(3,8,72,.7),0 0 70px rgba(112,91,249,.35);transform:rotate(-12deg)}
.feed-planet i{display:block;position:absolute;border:1px solid rgba(190,176,255,.54);inset:40px -20px;border-radius:50%;transform:rotate(42deg) scaleY(.37)}
.feed-planet i:nth-child(2){inset:65px -40px;transform:rotate(-19deg) scaleY(.4)}
.feed-planet i:nth-child(3){inset:-3px 90px;border-color:rgba(229,211,255,.25);transform:rotate(39deg)}
body.folknity-v3 .feed-tabs{gap:7px;padding:3px 1px 14px;margin:0 0 18px;border-bottom:1px solid rgba(134,146,211,.13)}
body.folknity-v3 .feed-tabs a{color:#9eacd1;background:transparent;border:1px solid transparent;border-radius:11px;padding:10px 17px;font-weight:800;font-size:12px}
body.folknity-v3 .feed-tabs a.selected,body.folknity-v3 .feed-tabs a:hover{color:#fff;border-color:rgba(133,118,245,.32);background:linear-gradient(96deg,rgba(77,86,206,.4),rgba(107,64,211,.21))}
body.folknity-v3 .stories-strip{gap:17px;padding:7px 0 23px;margin-bottom:17px;border-bottom-color:rgba(131,143,202,.13)}
body.folknity-v3 .story-ring{background:linear-gradient(135deg,#55beff,#795bff 45%,#da57ff);padding:3px;border-radius:50%;box-shadow:0 0 0 3px rgba(123,93,251,.1)}
body.folknity-v3 .story-ring .avatar{border:3px solid #101b3b}
body.folknity-v3 .story-person small{font-size:11px;color:#b6c1e2}
body.folknity-v3 .composer-prompt{background:linear-gradient(115deg,rgba(19,30,66,.94),rgba(17,25,55,.93));border:1px solid rgba(131,146,226,.19);border-radius:19px;padding:16px 19px;margin-bottom:21px;box-shadow:0 12px 30px rgba(0,6,27,.13)}
body.folknity-v3 .composer-prompt:hover{border-color:#756ff2;background:#172651}
body.folknity-v3 .composer-prompt>span:nth-child(2){font-size:13px;color:#acbbdf}
body.folknity-v3 .composer-plus{width:33px;height:33px;border-radius:10px;display:grid;place-items:center;background:rgba(100,88,252,.23);color:#bdc2ff;font-size:19px}
body.folknity-v3 .post-card{padding:0;border:1px solid rgba(130,150,226,.18);border-radius:20px;margin-bottom:19px;overflow:hidden;background:linear-gradient(160deg,rgba(20,30,65,.97),rgba(12,20,47,.98))}
body.folknity-v3 .post-header{padding:20px 23px 13px;gap:12px}
body.folknity-v3 .post-header .avatar{border:2px solid #5b6cbe}
body.folknity-v3 .post-identity strong{font-size:13px}
body.folknity-v3 .post-identity a:hover{color:#a6adff}
body.folknity-v3 .post-identity span,body.folknity-v3 .post-subtitle{color:#8fa2ca;font-size:10px}
body.folknity-v3 .post-text{padding:2px 23px 18px;font-size:13px;line-height:1.8;color:#e6ebff}
body.folknity-v3 .post-media{background:#0a1026}
body.folknity-v3 .post-media img{max-height:620px;width:100%;object-fit:contain}
body.folknity-v3 .post-footer{background:rgba(11,18,42,.64);border-top:1px solid rgba(120,145,220,.12);padding:12px 16px}
body.folknity-v3 .post-actions{gap:8px}
body.folknity-v3 .post-actions .chip{border-radius:11px;padding:9px 11px;color:#c6cfea;font-weight:750;font-size:12px}
body.folknity-v3 .post-actions .chip:hover{background:rgba(100,95,232,.18);color:#fff}
body.folknity-v3 .post-actions .chip.liked{color:#ff86ae}
body.folknity-v3 .empty{background:rgba(18,27,60,.68);border:1px dashed rgba(146,148,234,.33);border-radius:20px;color:#a9b8db}
body.folknity-v3 .empty-symbol{color:#9e8aff}
body.folknity-v3 .page-heading{margin:12px 0 25px}
body.folknity-v3 .page-heading h1{font-size:29px;letter-spacing:-1.1px}
body.folknity-v3 .page-heading p{font-size:13px;color:#a8b6d7}
/* Profile without a cover/banner. Familiar circular image, counters and image gallery. */
body.folknity-v3 .profile-shell.folknity-profile{background:linear-gradient(125deg,rgba(22,32,75,.97),rgba(12,20,48,.97));border:1px solid rgba(130,132,244,.24);border-radius:24px;margin-top:6px;padding:0;box-shadow:0 18px 50px rgba(1,4,23,.24)}
body.folknity-v3 .profile-shell.folknity-profile::before{content:"";right:-90px;top:-119px;width:300px;height:300px;border:none;background:radial-gradient(circle at 26% 21%,rgba(173,164,255,.34),rgba(91,52,194,.2) 26%,transparent 69%);opacity:.8}
body.folknity-v3 .folknity-profile .profile-inner{padding:31px 33px 25px;position:relative}
body.folknity-v3 .folknity-profile .profile-top{margin-bottom:17px;gap:18px}
body.folknity-v3 .folknity-profile .profile-top .avatar{width:108px!important;height:108px!important;object-fit:cover;border:4px solid #637eff;box-shadow:0 0 0 5px rgba(100,112,255,.16),0 13px 29px rgba(72,55,204,.2)}
body.folknity-v3 .folknity-profile h1{font-size:29px;letter-spacing:-1px;margin:0 0 4px}
body.folknity-v3 .folknity-profile p{max-width:590px;color:#d4dcf3;margin:14px 0}
body.folknity-v3 .folknity-profile .profile-stats{display:flex;gap:8px;border-top:1px solid rgba(139,153,221,.18);padding-top:18px;margin-top:24px}
body.folknity-v3 .folknity-profile .profile-stats>*{background:rgba(13,22,53,.54);border:1px solid rgba(132,142,201,.1);padding:13px 5px;border-radius:14px}
body.folknity-v3 .folknity-profile .profile-stats strong{font-size:24px;color:#f8f8ff}
body.folknity-v3 .folknity-profile .profile-stats span{font-size:11px;color:#abb9db;margin-top:2px}
body.folknity-v3 .profile-tabs a{display:inline-flex;gap:8px;align-items:center}
body.folknity-v3 .profile-tabs svg{height:18px;width:18px}
.profile-gallery{margin:18px 0 20px;scroll-margin-top:110px}
.gallery-heading{display:flex;align-items:baseline;gap:12px;justify-content:space-between;margin-bottom:14px}
.gallery-heading h2{font-size:20px;margin:0}
.gallery-heading span{color:#93a6ce;font-size:11px}
.profile-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.profile-photo{position:relative;display:block;aspect-ratio:1;overflow:hidden;background:linear-gradient(150deg,#1b2860,#2b1d68);border-radius:13px;border:1px solid rgba(123,133,225,.26)}
.profile-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .27s ease,filter .27s ease}
.profile-photo:hover img{transform:scale(1.07);filter:brightness(.85)}
.profile-photo::after{content:"↗";position:absolute;right:12px;bottom:9px;color:#fff;font-size:17px;opacity:0;transition:opacity .18s}
.profile-photo:hover::after{opacity:1}
.gallery-empty{grid-column:1/-1;text-align:center;background:#121d3f;border:1px dashed #46558b;border-radius:13px;padding:20px;color:#abb8dd}
/* Composer, Explore, messages, chat, communities & admin */
.studio-hero{position:relative;overflow:hidden;background:linear-gradient(112deg,#1d235f,#171c50 60%,#29205f);border:1px solid rgba(127,123,252,.32);border-radius:20px;min-height:168px;margin:0 0 20px;padding:27px 30px}
.studio-hero h2{font-size:27px;letter-spacing:-1px;margin:10px 0 7px}
.studio-hero p{position:relative;z-index:1;color:#b8c8ed;font-size:12px;margin:0;max-width:64%}
.studio-planet{position:absolute;width:198px;height:198px;right:36px;top:-55px;border-radius:50%;background:radial-gradient(circle at 29% 21%,#d3d7ff,#9277ff 18%,#5141c6 51%,#1b1c72);box-shadow:inset -24px -25px 35px #17145aa1,0 0 45px #8064f953}
body.folknity-v3 .v3-studio-card{padding:28px}
body.folknity-v3 .composer-big{background:rgba(10,20,53,.65);font-size:14px;min-height:160px}
body.folknity-v3 .search-page-form{padding:10px;background:rgba(19,30,66,.65);border:1px solid rgba(128,140,208,.2);border-radius:17px}
body.folknity-v3 .search-page-form input{background:#0e1838}
body.folknity-v3 .space-card,body.folknity-v3 .settings-tile{transition:transform .2s,border-color .2s,box-shadow .2s}
body.folknity-v3 .space-card:hover,body.folknity-v3 .settings-tile:hover{transform:translateY(-3px);border-color:#676fe5;box-shadow:0 16px 45px rgba(46,37,135,.26)}
body.folknity-v3 .settings-tile-icon{background:linear-gradient(140deg,#384b9c,#553d9a);border-color:#5b60a9;color:#e1e2ff}
body.folknity-v3 .conversation-list-item{border-bottom:1px solid rgba(127,144,218,.13);padding:15px 8px;border-radius:12px}
body.folknity-v3 .conversation-list-item:hover{background:rgba(87,89,200,.12)}
body.folknity-v3 .chat-messages{background:linear-gradient(165deg,rgba(11,20,53,.8),rgba(15,17,49,.86))}
body.folknity-v3 .chat-bubble-wrap.mine .chat-bubble{background:linear-gradient(120deg,#344db1,#6347b9);border-color:rgba(150,154,255,.45)}
body.folknity-v3 .chat-bubble-wrap.theirs .chat-bubble{background:#1c2b54;border-color:#334678}
body.folknity-v3 .admin-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;padding:6px 0 15px}
body.folknity-v3 .admin-tabs a{border:1px solid rgba(139,153,226,.21);border-radius:11px;background:#111c3f;padding:10px 13px;white-space:nowrap;color:#b2c0e3}
body.folknity-v3 .admin-tabs a.active{background:linear-gradient(105deg,rgba(77,85,202,.55),rgba(106,58,198,.4));border-color:#7977e9;color:#fff}
body.folknity-v3 .stat-card{padding:20px}
body.folknity-v3 .stat-card strong{font-size:27px;color:#f8f7ff}
body.folknity-v3 .stat-symbol{color:#a78dff}
body.folknity-v3 .table-scroll{overflow-x:auto}
body.folknity-v3 table{border-collapse:collapse}
body.folknity-v3 table :is(th,td){border-bottom:1px solid rgba(113,138,208,.13)}
body.folknity-v3 .mobile-admin-link{border:1px solid #7979ec;background:linear-gradient(115deg,#273b91,#5133a2);box-shadow:0 9px 29px #070c27be}
body.folknity-v3 .mobile-nav{background:rgba(7,12,32,.96);border-top:1px solid rgba(131,147,222,.19);backdrop-filter:blur(20px)}
body.folknity-v3 .mobile-nav a{color:#b5c4e8}
body.folknity-v3 .mobile-nav a[aria-current=page]{color:#9e95ff}
body.folknity-v3 .mobile-nav a.mobile-create{background:linear-gradient(145deg,#4387fa,#855dff);color:#fff;box-shadow:0 6px 27px #474bdc6a}
/* Responsive: preserve usable forms, touch targets, and admin link. */
@media(max-width:1350px){
 body.folknity-v3 .app-shell{grid-template-columns:214px minmax(0,1fr) 242px;gap:20px;padding:24px 24px 90px}
 body.folknity-v3 .right-sidebar .widget{padding:18px}
 .v3-topbar .topbar-inner{padding:0 24px}
}
@media(max-width:1120px){
 body.folknity-v3 .app-shell{grid-template-columns:215px minmax(0,740px);max-width:1070px;gap:22px}
 body.folknity-v3 .right-sidebar{display:none}
 body.folknity-v3 .v3-landing{grid-template-columns:1fr minmax(345px,.9fr);min-height:600px}
 .v3-landing .landing-words h1{font-size:clamp(70px,8vw,104px)}
 .v3-landing .landing-words h2{font-size:clamp(35px,5vw,55px)}
 .note-two{right:0}.note-one{left:0}
}
@media(max-width:800px){
 body.folknity-v3 .app-shell{display:block;max-width:760px;padding:17px 16px 104px}
 body.folknity-v3 .left-sidebar,body.folknity-v3 .right-sidebar{display:none}
 .v3-topbar{height:64px}
 .v3-topbar .topbar-inner{padding:0 17px}
 .v3-topbar .brand{font-size:22px}
 .v3-topbar .brand-icon{width:37px;height:37px}
 .v3-topbar .top-search{display:none}
 .v3-topbar .top-create{display:none}
 body.folknity-v3 .mobile-nav{display:flex;z-index:160;padding:0 6px env(safe-area-inset-bottom);height:calc(70px + env(safe-area-inset-bottom))}
 body.folknity-v3 .mobile-nav a{font-size:10px;gap:2px;min-width:49px}
 body.folknity-v3 .mobile-admin-link{display:flex;bottom:calc(85px + env(safe-area-inset-bottom));z-index:165}
 body.folknity-v3 .public-main{padding:23px 22px 45px}
 body.folknity-v3 .v3-landing{grid-template-columns:1fr;min-height:auto;padding:22px 0}
 .v3-landing .landing-words{padding:10px 0 20px}
 .v3-bubble-world{max-width:450px;min-height:400px;margin:0 auto}
 .v3-landing .landing-words h1{font-size:clamp(72px,11vw,112px)}
 .v3-landing .landing-words h2{font-size:clamp(38px,6vw,58px)}
 .landing-benefits{grid-template-columns:repeat(3,minmax(0,1fr))}
 body.folknity-v3 .auth-grid{grid-template-columns:1fr;min-height:auto;padding:30px 0}
 body.folknity-v3 .auth-intro{display:none}
 body.folknity-v3 .auth-card{max-width:520px}
}
@media(max-width:560px){
 .v3-topbar .brand{font-size:21px;gap:7px}
 .v3-topbar .top-actions{gap:4px}
 .v3-topbar .icon-link{width:31px;height:35px}
 .v3-topbar .top-signout{display:none}
 body.folknity-v3 .public-header{padding:0 15px}
 body.folknity-v3 .public-main{padding:14px 15px 35px}
 body.folknity-v3 .v3-landing{gap:0;padding:13px 0 5px}
 .v3-eyebrow-pill{font-size:9px;letter-spacing:.45px;padding:9px 11px}
 .landing-kicker{font-size:9px;letter-spacing:1.7px;margin-top:29px}
 .v3-landing .landing-words h1{font-size:clamp(68px,15vw,96px);letter-spacing:-5px}
 .v3-landing .landing-words h2{font-size:clamp(40px,8vw,52px);letter-spacing:-2.2px}
 .v3-landing .landing-words p{font-size:13px;line-height:1.82;margin-bottom:23px}
 .v3-hero-actions .button{font-size:12px;padding:12px 14px}
 .v3-landing .landing-tags{margin-top:25px;gap:6px}
 .v3-landing .landing-tags span{font-size:10px;padding:8px 9px}
 .v3-bubble-world{min-height:345px;height:345px;max-width:370px;width:100%}
 .v3-bubble-world .bubble-xl{top:28%}
 .float-note{font-size:9px;padding:8px;border-radius:10px;gap:6px}
 .float-note small{font-size:8px}
 .note-icon{width:24px;height:24px;font-size:14px;border-radius:7px}
 .note-one{top:16%;left:0}.note-two{right:0;top:48%}.note-three{left:3%;bottom:7%}
 .landing-benefits{grid-template-columns:1fr;gap:10px;margin-bottom:25px}
 .landing-benefits>div{padding:14px;display:grid;grid-template-columns:38px 1fr;column-gap:12px;align-items:center}
 .landing-benefits .benefit-icon{grid-row:span 2;margin:0;width:37px;height:37px}
 .landing-benefits h3{font-size:13px;margin:0}.landing-benefits p{font-size:11px}
 body.folknity-v3 .app-shell{padding:12px 11px 105px}
 body.folknity-v3 .feed-top{margin:7px 4px 14px}
 body.folknity-v3 .feed-top h1{font-size:23px}
 body.folknity-v3 .feed-top p{font-size:11px}
 body.folknity-v3 .feed-top .button{padding:9px 10px;font-size:10px}
 .feed-welcome{min-height:160px;border-radius:17px;margin-bottom:15px}
 .feed-welcome-copy{padding:18px 19px;max-width:74%}
 .feed-welcome-copy strong{font-size:25px}
 .feed-welcome-copy>span:not(.feed-welcome-overline){font-size:10px}
 .feed-welcome-overline{font-size:8px}
 .feed-planet{width:185px;height:185px;right:-68px;top:-22px}
 body.folknity-v3 .feed-tabs{gap:4px;padding-bottom:10px}
 body.folknity-v3 .feed-tabs a{padding:9px 12px;font-size:11px}
 body.folknity-v3 .post-header{padding:15px 13px 11px}
 body.folknity-v3 .post-text{padding:3px 13px 14px}
 body.folknity-v3 .post-footer{padding:7px 6px}
 body.folknity-v3 .post-actions{gap:1px}
 body.folknity-v3 .post-actions .chip{font-size:11px;padding:8px 7px}
 body.folknity-v3 .card.padded{padding:17px}
 body.folknity-v3 .page-heading h1{font-size:24px}
 body.folknity-v3 .folknity-profile .profile-inner{padding:21px 16px}
 body.folknity-v3 .folknity-profile .profile-top .avatar{width:83px!important;height:83px!important}
 body.folknity-v3 .folknity-profile h1{font-size:23px}
 body.folknity-v3 .folknity-profile .profile-stats strong{font-size:19px}
 .profile-photo-grid{gap:5px}.profile-photo{border-radius:8px}
 .studio-hero{padding:20px 18px;min-height:150px}.studio-hero h2{font-size:21px}.studio-hero p{max-width:65%;font-size:10px}.studio-planet{right:-48px;width:167px;height:167px}
 body.folknity-v3 .auth-card{padding:26px 19px}
 body.folknity-v3 .auth-card h2{font-size:26px}
 body.folknity-v3 .admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}
}

/* Large crisp social action icons, independent of third-party icon libraries. */
body.folknity-v3 .post-actions :is(.action-like,.action-comment,.action-share,.action-save){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px}
body.folknity-v3 .post-actions :is(.action-like,.action-comment,.action-share,.action-save)::before{content:"";display:inline-block;flex:none;width:19px;height:19px;background:currentColor;mask-size:contain;mask-repeat:no-repeat;mask-position:center}
body.folknity-v3 .post-actions .action-like::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21.35 10.55 20C5.4 15.32 2 12.23 2 8.5A5.5 5.5 0 0 1 7.5 3C9.24 3 10.91 3.81 12 5.09 13.09 3.81 14.76 3 16.5 3A5.5 5.5 0 0 1 22 8.5c0 3.73-3.4 6.82-8.55 11.5z'/%3E%3C/svg%3E")}
body.folknity-v3 .post-actions .action-comment::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 0 0-8 16l-1 4 4-1a10 10 0 1 0 5-19zm0 2a8 8 0 0 1 0 16c-1.4 0-2.8-.3-4-1l-2 .5.5-2A8 8 0 0 1 12 4z'/%3E%3C/svg%3E")}
body.folknity-v3 .post-actions .action-share::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m22 2-9 20-3.6-8.4L1 10 22 2zm-4.4 4.4L6.9 10.5l4.1 1.7 1.7 4.1 4.9-9.9z'/%3E%3C/svg%3E")}
body.folknity-v3 .post-actions .action-save::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h12a2 2 0 0 1 2 2v18l-8-5-8 5V4a2 2 0 0 1 2-2zm0 2v14.4l6-3.75 6 3.75V4H6z'/%3E%3C/svg%3E")}
body.folknity-v3 .post-actions .action-save.saved{color:#b6a2ff}
@media(max-width:560px){body.folknity-v3 .post-actions :is(.action-like,.action-comment,.action-share,.action-save){gap:5px}body.folknity-v3 .post-actions :is(.action-like,.action-comment,.action-share,.action-save)::before{width:17px;height:17px}}
