/* SHINY — merged base layer (legacy cascade, dead selectors pruned) */

/* ===== styles.css ===== */
:root{color-scheme:dark;--bg:#0a0c0e;--panel:#121518;--panel2:#181c20;--panel3:#20252a;--line:#2b3035;--text:#f2f3f5;--muted:#a0a5ae;--faint:#777e89;--red:#f14557;--red2:#ff7180;--soft:#f1455716;--violet:#9b83fd;--green:#43d69a;--radius:16px;--shadow:0 22px 70px #0006}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);background:var(--bg);font-family:Manrope,Arial,sans-serif;font-size:14px;line-height:1.55;min-height:100vh}body.light{color-scheme:light;--bg:#f2f2f4;--panel:#fff;--panel2:#f8f8fa;--panel3:#eeeff2;--line:#dddfe5;--text:#181a21;--muted:#616673;--faint:#858b96;--soft:#f1455712;--shadow:0 20px 55px #23252e10}body.light .hero,body.light .profile-hero,body.light .section-banner,body.light .final-banner{color:#fff}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}img{display:block;max-width:100%}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.18}::selection{background:#f1455770;color:#fff}input,textarea,select{min-width:0}html:focus-within{scroll-behavior:smooth}.backdrop-lines{position:fixed;inset:0;pointer-events:none;z-index:-2;background:repeating-linear-gradient(135deg,transparent 0px,transparent 44px,#ff596407 45px,#ff596407 46px);opacity:.58}.ambient{position:absolute;z-index:-1;pointer-events:none;top:250px;left:50%;transform:translateX(-50%);width:100%;height:740px;background:radial-gradient(ellipse at 50% 15%,#dd394014,transparent 62%)}.container{width:min(1260px,calc(100% - 44px));margin:auto}.site-header{height:74px;position:sticky;top:0;z-index:40;background:#0c0e11ee;backdrop-filter:blur(24px);border-bottom:1px solid #ffffff16}.light .site-header{background:#fafafbf0;border-bottom-color:#00000016}.header-inner{max-width:1320px;padding:0 28px;margin:auto;display:flex;align-items:center;gap:24px;height:100%}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0;font-size:19px;letter-spacing:.3em;font-weight:800}.brand img{width:34px;height:34px;border-radius:7px;object-fit:cover}.brand small{display:block;letter-spacing:.26em;font-size:7px;font-weight:800;color:var(--muted);margin-top:-3px}.site-header nav{display:flex;align-items:center;gap:2px;margin:0 auto;height:100%}.site-header nav a{height:100%;display:flex;align-items:center;white-space:nowrap;position:relative;padding:0 13px;color:var(--muted);font-size:12px;font-weight:700;transition:color .2s}.site-header nav a:hover,.site-header nav a.active{color:var(--text)}.site-header nav a.active:after{content:"";height:2px;position:absolute;bottom:0;left:13px;right:13px;background:var(--red);box-shadow:0 0 18px var(--red)}.header-tools{display:flex;align-items:center;gap:9px}.icon-btn{border:1px solid var(--line);background:var(--panel2);color:var(--text);border-radius:12px;width:38px;height:38px;display:grid;place-items:center;font-size:20px}.mobile-menu{display:none}.btn{border:1px solid var(--line);border-radius:10px;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--panel2);color:var(--text);font-size:12px;font-weight:800;transition:transform .2s,background .2s,border-color .2s,box-shadow .2s;min-height:43px;text-align:center}.btn:hover{transform:translateY(-2px);border-color:#ff7a8569;box-shadow:0 8px 28px #f145571b}.btn-red{background:linear-gradient(120deg,#e52f43,#fa5562);color:white;border-color:#f45f6a;box-shadow:0 7px 26px #e9394538}.btn-discord{background:linear-gradient(115deg,#6871f6,#4d59df);color:white;border-color:#7178ff;box-shadow:0 6px 24px #5c64fa2f}.btn-ghost{background:#171a1dbb;border-color:#ffffff51;color:#fff}.btn-outline{background:transparent}.btn-sm{min-height:36px;padding:8px 11px;font-size:11px}.btn-big{padding:14px 23px;font-size:13px;min-height:50px}.btn b{font-size:15px;font-weight:600}.kicker{display:inline-flex;align-items:center;gap:10px;color:var(--red2);letter-spacing:.26em;text-transform:uppercase;font:800 10px 'Space Grotesk',sans-serif}.kicker:before{content:"";width:23px;height:2px;background:var(--red)}.muted{color:var(--muted)}.mini{color:var(--faint);font-size:11px}.light .mini{color:#777}.empty{color:var(--muted);padding:35px;border:1px dashed var(--line);border-radius:12px;background:var(--panel);text-align:center}.empty strong{display:block;color:var(--text);font-size:18px;margin-bottom:5px}.section{padding:72px 0 6px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:23px}.section-head h2{font-size:clamp(24px,3.4vw,38px);margin:9px 0 0;letter-spacing:-.05em}.section-head p{max-width:370px;color:var(--muted);margin:0}.section-head em{font-style:normal;color:var(--red)}.panel{background:linear-gradient(135deg,var(--panel),var(--panel2));border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 4px 24px #0000000a;overflow:hidden}.panel-pad{padding:23px}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;gap:10px}.panel-heading h3{font-size:17px;letter-spacing:-.025em;margin:0}.section-banner{position:relative;isolation:isolate;overflow:hidden;background:#0a0c0e;border:1px solid #ffffff26;border-radius:18px;padding:45px 45px 38px;min-height:240px;margin-top:26px}.section-banner:before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 80% 40%,#d52d4742,transparent 50%),linear-gradient(100deg,#0a0c0efc,#0d1015d1)}.section-banner:after{content:"";position:absolute;z-index:-1;width:440px;height:440px;border:2px solid #fa465662;border-radius:50%;right:7%;top:-230px;transform:rotate(-28deg)}.section-banner h1{font-size:clamp(32px,5.3vw,60px);letter-spacing:-.055em;margin:13px 0}.section-banner p{max-width:570px;color:#b6bac3;margin:0}.section-banner .banner-art{position:absolute;right:4%;top:0;height:100%;width:37%;object-fit:cover;object-position:center top;opacity:.48;mask-image:linear-gradient(to right,transparent,black 37%,black 70%,transparent)}.bread{display:flex;gap:10px;color:var(--faint);font-size:12px;align-items:center;margin:0 0 22px}.bread a:hover{color:var(--red)}.hero{margin-top:24px;position:relative;overflow:hidden;border:1px solid #ffffff26;border-radius:20px;min-height:518px;background:radial-gradient(ellipse at 50% 45%,#2e151a,#0a0c0e 66%);color:#f8f7f7;isolation:isolate}.hero:before{content:"";position:absolute;inset:0;z-index:-2;background:repeating-linear-gradient(135deg,transparent 0,transparent 11px,#fff2 12px,#fff2 13px);opacity:.08}.hero h1{font-family:'Space Grotesk',Manrope,sans-serif;font-size:clamp(56px,9vw,112px);letter-spacing:.24em;margin:0 0 2px;font-weight:700;text-shadow:0 8px 36px #000}.hero p{max-width:490px;color:#d0cbd0;font-size:13px;margin:0 auto 23px}.hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:14px;background:var(--panel);margin-top:16px;overflow:hidden}.stat{padding:23px 27px;position:relative}.stat:not(:last-child):after{content:"";position:absolute;right:0;top:22%;height:56%;width:1px;background:var(--line)}.stat strong{display:block;font:700 28px 'Space Grotesk',sans-serif;line-height:1.1;margin:5px 0}.stat span{color:var(--muted);font-size:11px}.stat label{display:block;color:var(--red2);letter-spacing:.13em;font-size:9px;font-weight:800}.quick-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:13px}.quick-tile{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px 11px;display:flex;align-items:center;gap:10px;min-height:70px;transition:transform .25s,border-color .25s}.quick-tile:hover{border-color:#f1455780;transform:translateY(-4px)}.quick-ico{font-size:18px;color:var(--red)}.quick-tile b{display:block;font-size:11px}.quick-tile small{display:block;color:var(--muted);font-size:10px}.home-grid{display:grid;grid-template-columns:1fr 1.34fr;gap:14px}.home-bottom{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:14px}.user-mini{display:flex;gap:14px;align-items:center}.avatar{width:56px;height:56px;border-radius:50%;object-fit:cover;border:2px solid #f1455770;background:var(--panel3);flex-shrink:0}.avatar-xl{width:114px;height:114px;border:4px solid #f14456;box-shadow:0 0 0 6px #f1455722,0 0 32px #f145573a}.user-mini h3{font-size:18px;margin:0}.user-mini p{color:var(--muted);margin:0;font-size:11px}.tag,.role{display:inline-flex;gap:5px;align-items:center;padding:4px 8px;border-radius:6px;border:1px solid var(--line);background:var(--panel3);font-size:10px;font-weight:700;max-width:100%}.role{background:var(--soft);border-color:#f1455740;color:var(--red2)}.roles{display:flex;gap:5px;flex-wrap:wrap;margin:14px 0}.little-stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:10px;margin:17px 0}.little-stats>div{padding:10px}.little-stats>div+div{border-left:1px solid var(--line)}.little-stats b{display:block;font-size:17px}.little-stats small{color:var(--muted);font-size:9px}.w-full{width:100%}.event-list,.clan-list,.systems-list{display:grid;gap:9px}.event-row,.clan-row,.system-row{display:flex;align-items:center;gap:13px;padding:11px;border-radius:10px;border:1px solid var(--line);background:var(--panel2)}.event-date{width:54px;min-width:54px;border:1px solid #f1455740;background:var(--soft);border-radius:9px;text-align:center;padding:7px;color:var(--red2)}.event-date strong{display:block;font-size:21px;line-height:1}.event-date span{font-size:10px;font-weight:800;text-transform:uppercase}.event-desc,.clan-desc{flex:1;min-width:0}.event-desc b,.clan-desc b{display:block;font-size:12px}.event-desc span,.clan-desc span{color:var(--muted);font-size:10px}.row-action{font-size:12px;font-weight:800;border:1px solid var(--line);background:var(--panel3);padding:8px 11px;border-radius:8px;white-space:nowrap}.row-action:hover{border-color:var(--red)}.clan-symbol{width:36px;height:36px;border:1px solid #f1455740;background:var(--soft);border-radius:9px;display:grid;place-items:center;font-size:20px;color:var(--red2)}.system-icon{font-size:21px;width:38px;flex:0 0 38px;text-align:center;color:var(--red)}.system-row small{display:block;color:var(--muted);font-size:10px}.system-row b{font-size:12px}.home-blurb{font-size:12px;color:var(--muted)}.announcement{padding:15px;border:1px solid var(--line);border-left:3px solid var(--red);border-radius:9px;background:var(--panel2);margin-top:9px}.announcement b{display:block;font-size:13px}.announcement p{white-space:pre-wrap;color:var(--muted);font-size:12px;margin:5px 0}.announcement small{color:var(--faint)}.list-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:20px 0 15px;flex-wrap:wrap}.filters{display:flex;gap:8px;flex-wrap:wrap}.filter{padding:8px 13px;border-radius:8px;background:var(--panel);border:1px solid var(--line);color:var(--muted);font-size:11px;font-weight:800}.filter.active,.filter:hover{color:#fff;border-color:var(--red);background:var(--red)}.search{border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text);padding:11px 14px;min-width:245px;outline:none}.search:focus,input:focus,textarea:focus,select:focus{border-color:#f14557!important;box-shadow:0 0 0 3px #f1455716;outline:none}.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.content-card{display:flex;flex-direction:column;position:relative;overflow:hidden;transition:transform .25s,border-color .25s}.content-card:hover{transform:translateY(-4px);border-color:#f1455770}.content-art{position:relative;min-height:138px;background:radial-gradient(circle at 75% 30%,#f1455740,transparent 58%),linear-gradient(145deg,#26212a,#111216);overflow:hidden}.content-art:before{content:"";position:absolute;inset:0;background-image:linear-gradient(115deg,transparent 45%,#f145572a 45.3%,transparent 46%),repeating-linear-gradient(140deg,transparent 0 13px,#ffffff07 14px);opacity:.8}.content-art img{height:100%;width:55%;position:absolute;right:-4%;object-fit:cover;object-position:top;opacity:.78;mask-image:linear-gradient(to right,transparent,#000 28%,#000 70%,transparent)}.content-art .art-label{position:absolute;top:14px;left:15px;color:#fff;font-weight:800;font-size:11px;letter-spacing:.19em}.content-body{padding:17px;display:flex;flex-direction:column;gap:12px;flex:1}.content-body h3{font-size:18px;margin:0}.content-body p{color:var(--muted);font-size:12px;margin:0}.content-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.content-bottom .btn{flex:1}.clan-card-cover{background:radial-gradient(ellipse at 65% 60%,#ff526035,transparent 60%),#141518;display:flex;align-items:center;justify-content:center}.clan-card-cover span{font-size:70px;font-weight:800;color:#ff6772;text-shadow:0 0 38px #e3384d70}.member-card{padding:20px;display:flex;flex-direction:column;gap:10px}.member-card .user-mini{align-items:center}.member-card p{font-size:12px;color:var(--muted);margin:0;min-height:40px}.member-card>.btn{margin-top:auto}.profile-hero{position:relative;color:#fff;background:#101116;overflow:hidden;border:1px solid #ffffff2b;border-radius:17px;margin-top:15px;min-height:300px;isolation:isolate}.profile-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 70% 15%,#e9385953,transparent 45%),linear-gradient(105deg,#101116 26%,#2a141ce0)}.profile-hero.violet:before{background:radial-gradient(circle at 70% 15%,#a58bff4f,transparent 45%),linear-gradient(105deg,#101116 26%,#171329ee)}.profile-hero.azure:before{background:radial-gradient(circle at 70% 15%,#49b8ff5e,transparent 45%),linear-gradient(105deg,#101116 26%,#101d2bee)}.profile-hero.rose:before{background:radial-gradient(circle at 70% 15%,#fe92cb64,transparent 45%),linear-gradient(105deg,#101116 26%,#2b1722ee)}.profile-hero-art{position:absolute;right:0;top:0;bottom:0;width:52%;height:100%;object-fit:cover;object-position:top;opacity:.47;mask-image:linear-gradient(to right,transparent,black 30%,black 70%,transparent)}.profile-head{position:relative;padding:32px;min-height:300px;display:flex;align-items:flex-end;gap:25px}.profile-summary h1{font-size:clamp(29px,4vw,50px);margin:7px 0 1px;letter-spacing:-.05em}.profile-summary p{color:#c3c2c8;margin:0 0 10px}.profile-summary .roles{margin:8px 0 13px}.profile-summary .role{background:#f1455722}.profile-layout{display:grid;grid-template-columns:195px minmax(0,1.2fr) minmax(250px,.85fr);gap:13px;margin-top:14px;align-items:start}.profile-menu{padding:8px;position:sticky;top:88px}.profile-menu button{width:100%;border:0;border-left:2px solid transparent;background:transparent;color:var(--muted);padding:12px 13px;text-align:left;border-radius:7px;font-size:12px;font-weight:800}.profile-menu button.active,.profile-menu button:hover{background:var(--soft);color:var(--red2);border-left-color:var(--red)}.profile-content{min-width:0}.info-line{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;padding:10px 0;font-size:12px;border-bottom:1px solid var(--line)}.info-line span{color:var(--muted)}.info-line b{font-weight:700;overflow-wrap:anywhere}.achievement{background:var(--panel2);border:1px solid var(--line);border-radius:10px;padding:15px}.achievement i{display:block;font-size:22px;font-style:normal;color:var(--red);margin-bottom:6px}.achievement b{display:block}.achievement small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.timeline{display:grid;gap:0}.timeline-row{border-left:2px solid var(--line);padding:0 0 15px 17px;position:relative}.timeline-row:before{content:"";position:absolute;width:9px;height:9px;left:-6px;top:4px;border-radius:50%;background:var(--red)}.timeline-row b{font-size:12px;display:block}.timeline-row small{color:var(--faint)}.profile-side-stack{display:grid;gap:13px}.profile-side-stack .panel{padding:20px}.profile-side-stack h3{font-size:15px;margin:0 0 13px}.profile-side-stack .tag{margin:0 4px 6px 0}.profile-form{display:grid;gap:16px}.field{display:grid;gap:7px;color:var(--muted);font-size:11px;font-weight:800}.field input,.field textarea,.field select{background:var(--panel2);border:1px solid var(--line);border-radius:9px;color:var(--text);padding:12px;resize:vertical;width:100%}.field textarea{min-height:100px}.switch-row{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--panel2)}.switch-row input{accent-color:var(--red);width:18px;height:18px;margin:2px 0}.switch-row small{display:block;color:var(--muted);font-size:11px}.admin-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:14px;margin-top:18px}.admin-tabs{padding:8px;display:grid;align-content:start;gap:4px}.admin-tabs button{background:transparent;border:none;text-align:left;color:var(--muted);padding:13px;border-radius:8px}.admin-tabs button.active{background:var(--soft);color:var(--red2)}.admin-form{display:grid;grid-template-columns:1fr 1fr;gap:13px}.admin-form .full{grid-column:1/-1}.admin-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-top:1px solid var(--line)}.admin-row strong{font-size:12px}.admin-row small{display:block;color:var(--muted);font-size:11px}.admin-row-actions{display:flex;gap:7px;flex-wrap:wrap}.admin-row button{border:1px solid var(--line);background:var(--panel2);color:var(--text);padding:7px 9px;border-radius:7px;font-size:11px}.admin-row button:hover{border-color:var(--red)}.system-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.system-tile{padding:23px}.system-tile i{display:grid;place-items:center;width:47px;height:47px;font-size:26px;font-style:normal;color:var(--red2);background:var(--soft);border:1px solid #f1455730;border-radius:12px;margin-bottom:16px}.system-tile h3{font-size:17px;margin:0 0 6px}.system-tile p{color:var(--muted);font-size:12px;margin:0}.final-banner{margin:68px auto 42px;padding:42px;text-align:center;border:1px solid #fa52604a;border-radius:17px;background:radial-gradient(ellipse at 50% 80%,#bc2d3e47,transparent 70%),linear-gradient(100deg,#121218,#201119,#101117);color:#fff;position:relative;overflow:hidden}.final-banner:after{content:"";border:2px solid #fa526064;width:85%;height:260px;position:absolute;left:7%;bottom:-225px;border-radius:50%;pointer-events:none}.final-banner h2{font-size:clamp(25px,4vw,43px);letter-spacing:.08em;margin:8px 0}.final-banner p{color:#c5bdc0}.footer{border-top:1px solid var(--line);margin-top:40px;padding:40px 0;background:var(--panel)}.footer-inner{width:min(1260px,calc(100% - 44px));margin:auto;display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.footer-brand{display:flex;align-items:center;gap:12px;font-size:18px;letter-spacing:.24em;font-weight:800}.footer-brand img{width:30px;height:30px;border-radius:6px}.footer p,.footer-side{font-size:11px;color:var(--muted)}.footer-side{display:grid;text-align:right;align-content:space-between}.splash{position:fixed;inset:0;background:#08090b;z-index:100;display:grid;align-content:center;justify-items:center;gap:12px;transition:opacity .55s,visibility .55s;color:white;letter-spacing:.35em;font-weight:800}.splash.hidden{opacity:0;visibility:hidden}.splash img{width:90px;border-radius:22px;animation:splashPop 1.4s ease-in-out infinite alternate}.splash-track{width:130px;height:2px;background:#34343a;overflow:hidden}.splash-track i{display:block;background:var(--red);height:100%;width:35%;animation:load 1s infinite alternate}.initial-loader{text-align:center;padding:150px;color:var(--muted)}.loader-dot{display:inline-block;width:7px;height:7px;background:var(--red);border-radius:50%;animation:splashPop .6s infinite alternate}.toasts{position:fixed;bottom:25px;right:25px;z-index:90;display:grid;gap:8px;max-width:min(360px,calc(100vw - 30px))}.toast{border:1px solid #ff6c7880;background:#1e2025;box-shadow:var(--shadow);padding:13px 18px;border-radius:10px;color:#fff;animation:fadeUp .24s ease}.toast.error{border-color:#f14557}.toast.out{opacity:0;transition:opacity .3s}dialog{border:1px solid var(--line);border-radius:17px;max-width:min(530px,calc(100% - 28px));width:100%;background:var(--panel);color:var(--text);padding:0;box-shadow:var(--shadow)}dialog::backdrop{background:#030507c9;backdrop-filter:blur(9px)}.modal-shell{padding:30px;position:relative}.modal-close{position:absolute;top:12px;right:14px;background:var(--panel3);border:1px solid var(--line);border-radius:9px;width:32px;height:32px;color:var(--text);font-size:20px}.modal-shell h2{font-size:24px;margin:7px 0}.modal-shell p{color:var(--muted)}.fade-in{animation:fadeUp .42s ease both}@keyframes fadeUp{from{opacity:0;transform:translateY(11px)}to{opacity:1;transform:translateY(0)}}@keyframes load{from{transform:translateX(0)}to{transform:translateX(220%)}}@keyframes splashPop{from{transform:scale(.96);filter:drop-shadow(0 0 3px #f14557)}to{transform:scale(1.04);filter:drop-shadow(0 0 22px #f14557)}}@media(max-width:1120px){.site-header nav a{padding:0 8px}.home-bottom{grid-template-columns:1fr 1fr}.home-bottom>.panel:last-child{grid-column:1/-1}.quick-grid{grid-template-columns:repeat(3,1fr)}.profile-layout{grid-template-columns:175px 1fr}.profile-side-stack{grid-column:2}}@media(max-width:870px){.site-header{height:65px}.header-inner{padding:0 17px;gap:9px}.site-header nav{display:none;position:absolute;top:65px;left:0;right:0;height:auto;padding:12px;background:var(--panel);box-shadow:var(--shadow);border-bottom:1px solid var(--line)}.site-header nav.open{display:grid}.site-header nav a{height:auto;padding:13px;font-size:13px}.site-header nav a.active:after{left:2px;right:auto;top:12px;bottom:12px;width:2px;height:auto}.mobile-menu{display:grid;margin-left:auto}.header-tools{margin-left:0}.brand{font-size:17px}.brand small{font-size:6px}.hero h1{font-size:clamp(48px,9vw,80px)}.home-grid,.home-bottom{grid-template-columns:1fr}.home-bottom>.panel:last-child{grid-column:auto}.card-grid,.system-cards{grid-template-columns:repeat(2,1fr)}.profile-layout{grid-template-columns:1fr}.profile-menu{display:flex;overflow-x:auto;position:static;gap:4px}.profile-menu button{width:auto;flex-shrink:0}.profile-side-stack{grid-column:auto;grid-template-columns:1fr 1fr}.footer-inner{grid-template-columns:1fr 1fr}.footer-side{grid-column:1/-1;text-align:left;display:flex;justify-content:space-between}.admin-layout{grid-template-columns:1fr}.admin-tabs{display:flex;flex-wrap:wrap}}@media(max-width:560px){.container,.footer-inner{width:min(100% - 26px,1260px)}.brand small{display:none}.brand img{width:30px;height:30px}.brand{font-size:15px;letter-spacing:.2em}.header-inner{padding:0 12px}.header-tools{gap:5px}.header-tools .btn{padding:8px;min-height:36px;font-size:10px;gap:5px}.header-tools .btn b{display:none}.icon-btn{width:35px;height:35px}.hero{min-height:465px;margin-top:13px}.hero h1{font-size:49px;letter-spacing:.15em}.hero p{font-size:12px}.hero-actions{flex-direction:column;width:100%;max-width:255px}.hero-actions .btn{width:100%}.stats{grid-template-columns:repeat(2,1fr)}.stat{padding:17px}.stat:nth-child(2):after{display:none}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.stat strong{font-size:23px}.quick-grid{grid-template-columns:repeat(2,1fr)}.section{padding-top:43px}.section-head{align-items:flex-start;flex-direction:column}.section-head h2{font-size:27px}.section-head p{font-size:12px}.card-grid,.system-cards,.profile-side-stack{grid-template-columns:1fr}.panel-pad{padding:16px}.section-banner{padding:32px 21px;min-height:208px}.section-banner .banner-art{width:55%;opacity:.25}.section-banner p{font-size:12px}.search{width:100%}.list-top{align-items:stretch}.profile-head{align-items:flex-start;flex-direction:column;padding:25px;gap:13px}.profile-hero-art{opacity:.3;width:100%}.avatar-xl{width:90px;height:90px}.profile-summary h1{font-size:33px}.info-line{grid-template-columns:98px 1fr}.admin-form{grid-template-columns:1fr}.admin-form .full{grid-column:1}.footer-inner{grid-template-columns:1fr}.footer-side{grid-column:auto}.final-banner{padding:30px 14px}.modal-shell{padding:24px 17px}.event-row,.clan-row{gap:9px}.row-action{padding:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* ===== polish.css ===== */
/* SHINY 0.1.24 — layered editorial/glass UI, responsive spacing, accessible motion */
:root{--radius:19px;--line:#ffffff21;--surface-highlight:#ffffff0d;--soft-red:#f1455760}
body{background:radial-gradient(ellipse 85% 660px at 53% 120px,#40171d24,transparent 69%),var(--bg);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.light{--line:#171b2833;--surface-highlight:#ffffffd6}
.container{width:min(1320px,calc(100% - 44px))}
.ui-icon{width:1.13em;height:1.13em;flex:none;vertical-align:-.17em;display:inline-block;overflow:visible;stroke-width:1.8}
.btn .ui-icon,.quick-tile .ui-icon{width:17px;height:17px}
.btn{position:relative;isolation:isolate;overflow:hidden;gap:10px;min-width:0;border-radius:12px;letter-spacing:-.01em;transform:translateZ(0)}
.btn:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(115deg,#ffffff28,transparent 41%,#ffffff0a);opacity:0;transition:opacity .3s}
.btn:hover:before{opacity:1}.btn:active{transform:translateY(1px) scale(.985)!important;box-shadow:inset 0 3px 10px #0003}
.btn:focus-visible,.icon-btn:focus-visible,.profile-menu button:focus-visible,.quick-tile:focus-visible,a:focus-visible{outline:2px solid #ff7180;outline-offset:4px}
.icon-btn{transition:transform .25s,background .25s,border-color .25s}.icon-btn:hover{background:var(--panel3);border-color:#f145577f;transform:translateY(-2px)}
.site-header{background:#0d0f12db;backdrop-filter:blur(30px) saturate(1.35);-webkit-backdrop-filter:blur(30px) saturate(1.35)}
.panel,.quick-tile,.system-tile{position:relative;isolation:isolate;background:linear-gradient(143deg,var(--surface-highlight),transparent 43%),linear-gradient(145deg,var(--panel),var(--panel2));border:1px solid var(--line);box-shadow:0 14px 42px #00000018, inset 0 1px 0 #ffffff0a}
.panel:after,.system-tile:after,.quick-tile:after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(420px circle at var(--mx,50%) var(--my,0%),#ff84901a,transparent 59%);opacity:0;transition:opacity .26s;z-index:0}
.panel:hover:after,.system-tile:hover:after,.quick-tile:hover:after{opacity:1}
.panel>*{position:relative;z-index:1}
.panel:hover,.system-tile:hover,.quick-tile:hover{border-color:#f36a786c;box-shadow:0 24px 55px #00000030,inset 0 1px #ffffff18}
.shiny-tilt{--rx:0deg;--ry:0deg;transition:transform .25s cubic-bezier(.2,.7,.2,1),box-shadow .28s,border-color .28s,background .28s;transform-style:preserve-3d;will-change:auto}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.shiny-tilt:hover{transform:perspective(1150px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-3px)}.btn.shiny-tilt:hover{transform:perspective(800px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-2px)}}
/* Hero: full-resolution vector environment and floating chrome-red insignia */
.hero{min-height:565px;margin-top:26px;background:#0d0d13 url('/assets/hero-atmosphere.svg') center center / cover no-repeat;border-radius:26px;border:1px solid #ffffff2f;box-shadow:0 40px 110px #0008,0 0 0 1px #fc435715;isolation:isolate}
.hero:before{opacity:.04}
.hero h1{font-size:clamp(67px,8.6vw,118px);letter-spacing:.22em;padding-left:.22em;text-shadow:0 4px 40px #000d,0 0 100px #e73c4d2f}
.hero p{max-width:475px;font-size:14px;line-height:1.7;color:#e6e2e6;text-shadow:0 2px 14px #000}
.hero-actions{gap:14px}.hero-actions .btn{min-height:52px;border-radius:13px}
@keyframes coreSpin{to{transform:rotate(360deg)}}@keyframes coreSpinReverse{to{transform:rotate(-360deg) rotateY(56deg)}}@keyframes logoFloat{0%,100%{transform:rotate(-7deg) translateY(0)}50%{transform:rotate(-4deg) translateY(-9px)}}
.hero .btn-red{background:linear-gradient(115deg,#f33e54,#ff6c79 49%,#e7334c)}
/* True Discord role colors, not a global red palette */
.roles{gap:9px;row-gap:9px;margin:15px 0 18px}
.role{font-size:11px;font-weight:750;border:1px solid var(--role-border,#ffffff35);border-radius:9px;padding:6px 10px;background:color-mix(in srgb,var(--role-solid,#9ca4ae) 11%,transparent);color:var(--role-solid,#d2d3d7);box-shadow:inset 0 0 0 1px #ffffff06;max-width:100%;min-height:29px}
.role-label{display:block;max-width:100%;overflow-wrap:anywhere}
.role-gradient .role-label{background:var(--role-gradient);color:transparent;background-clip:text;-webkit-background-clip:text;filter:brightness(1.18)}
.role-gradient{background:linear-gradient(105deg,color-mix(in srgb,var(--role-solid) 21%,transparent),transparent 75%);border-color:var(--role-border)}
.profile-summary .role{background:color-mix(in srgb,var(--role-solid,#9ca4ae) 12%,#101116)}
/* Fix all adjacent-card and adjacent-action collisions (screenshots 3–5) */
.section{padding-top:76px;padding-bottom:24px}
.section-head{margin-bottom:28px}
.system-cards{gap:20px;margin-bottom:29px;align-items:stretch}
.system-cards + .panel{margin-top:0!important;clear:both}
.system-tile{min-width:0;min-height:184px;padding:24px;overflow:hidden}
.system-tile i{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:14px;color:#ff697b;background:#f1455719;border:1px solid #ff6d7b38;font-style:normal;margin-bottom:17px}
.system-tile i .ui-icon{width:25px;height:25px}
.profile-layout{gap:20px;margin-top:24px;align-items:start}
.profile-content{min-width:0;display:flex;flex-direction:column;gap:20px}
.profile-content>.panel{margin:0!important;min-width:0}
.profile-side-stack{gap:20px;align-content:start}
.profile-side-stack>.panel{margin:0!important}
.profile-side-stack>.panel .btn.w-full{margin-top:15px}
.info-line{min-width:0;gap:15px}
.info-line b{overflow-wrap:anywhere}
.panel-pad{padding:26px}
.home-grid,.home-bottom{gap:20px}
.panel-heading{gap:18px;flex-wrap:wrap}
.panel-heading .btn{flex-shrink:0}
.final-banner{margin-top:65px}
@media(max-width:1120px){.system-cards{gap:15px}}
@media(max-width:870px){.hero{min-height:520px}.profile-layout{gap:17px}.profile-side-stack{gap:17px}.profile-content{gap:17px}}
@media(max-width:560px){.container{width:calc(100% - 26px)}.hero{border-radius:18px;min-height:510px}.hero h1{font-size:clamp(42px,11vw,59px);letter-spacing:.13em;padding-left:.13em}.hero p{font-size:12px;max-width:315px}.section{padding-top:50px;padding-bottom:16px}.system-cards{gap:14px;margin-bottom:23px}.system-tile{min-height:155px;padding:20px}.panel-pad{padding:19px}.profile-side-stack,.profile-content{gap:16px}.profile-layout{gap:16px}.final-banner{margin-top:40px}.hero-actions{gap:11px}}
@media(prefers-reduced-motion:reduce){.shiny-tilt,.shiny-tilt:hover{transform:none!important;transition:none!important}}

@keyframes shinyReveal{from{opacity:.62;filter:blur(3px);translate:0 15px}to{opacity:1;filter:blur(0);translate:0 0}}
.shiny-revealed{animation:shinyReveal .63s cubic-bezier(.22,1,.36,1) both}
@media(prefers-reduced-motion:reduce){.shiny-revealed{animation:none!important}}

/* ===== shiny-125.css ===== */
/* SHINY 0.1.25 / nocturne gallery / true Discord role palette */
:root { --radius:22px; --red:#fb4963; --red2:#ff8392 }
body { background:radial-gradient(ellipse 900px 600px at 50% -120px,#6d1c3138,transparent 80%),radial-gradient(ellipse 1100px 900px at 90% 80%,#5e193016,transparent 79%),var(--bg) }
body:before{content:"";position:fixed;z-index:-1;pointer-events:none;inset:0;background:radial-gradient(circle at 16% 10%,#f0597510,transparent 30%),radial-gradient(circle at 84% 38%,#af375910,transparent 33%)}
.site-header{border-bottom:1px solid #ff96a219;box-shadow:0 8px 50px #0005}
.brand img,.footer-brand img {box-shadow:0 0 22px #ff3d5a38}
.btn{border-radius:13px;isolation:isolate;transition:transform .25s cubic-bezier(.22,1,.36,1),box-shadow .3s,border-color .3s,background .3s}
.btn:hover{box-shadow:0 12px 32px #ed426426,inset 0 1px 0 #fff3}
.btn-red{background:linear-gradient(120deg,#d92b4b,#f64d63 48%,#ff7882);border-color:#ff85907d;box-shadow:0 7px 34px #e82f4c44,inset 0 1px 0 #ffffff67}
.btn-red:hover{box-shadow:0 14px 48px #fa466461,inset 0 1px 0 #fffa}
.ui-icon{vertical-align:middle;stroke-width:1.8}
button>.ui-icon,a>.ui-icon,.btn>.ui-icon{flex-shrink:0}
.btn .ui-icon{height:16px;width:16px}
.panel,.system-tile,.quick-tile{box-shadow:0 12px 55px #0003,inset 0 1px #ffffff0c;background:linear-gradient(128deg,#ffffff08 0%,transparent 30%),linear-gradient(145deg,var(--panel),var(--panel2))}
.panel:hover,.system-tile:hover,.quick-tile:hover{box-shadow:0 24px 64px #0007,0 0 32px #e83b5510,inset 0 1px #ffffff1a}
/* A detailed, resolution-independent world: moon, mountains, Japanese torii and nocturnal neon. */
.hero{background:#060a10 url('/assets/hero-night.svg') center 48%/cover no-repeat;border:1px solid #ff879035;min-height:590px;box-shadow:0 40px 100px #0008,0 0 0 1px #ff61731a,0 0 75px #be26401a}
.hero:before{opacity:0}
.hero:after{content:"";inset:0;position:absolute;pointer-events:none;background:linear-gradient(90deg,#05080d15 0%,#05080e10 24%,#05070de8 42%,#05070de8 58%,#05080e10 76%,#05080d15 100%),linear-gradient(0deg,#07080ced,transparent 36%,transparent 65%,#07080d9c);z-index:0}
.hero h1{font-size:clamp(70px,8vw,116px);letter-spacing:.24em;padding-left:.24em;line-height:1.15;background:linear-gradient(180deg,#fff 12%,#ffedf1 43%,#e9a7b3 100%);background-clip:text;-webkit-background-clip:text;color:transparent;filter:drop-shadow(0 12px 45px #0009)}
.hero p{color:#f2e3e9;font-size:14px;max-width:465px}
.hero-actions{gap:15px}
.hero-actions .btn{min-height:54px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.hero:after{animation:shinySceneGlow 11s ease-in-out infinite}}
@keyframes shinyBreathGirl{50%{transform:translateY(-9px)}}@keyframes shinyBreathBoy{50%{transform:translateY(-12px)}}@keyframes shinySceneGlow{50%{opacity:.65}}
/* Discord role is a color chip, not a globally monochrome gray tag. */
.roles{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:17px 0 20px}
.role,.profile-summary .role {--role-solid:#b5bbc7;--role-gradient:#b5bbc7;--role-border:#b5bbc7;display:inline-flex;align-items:center;justify-content:center;border-radius:11px;padding:7px 12px;font-size:11px;line-height:1.3;font-weight:800;letter-spacing:.01em;min-height:32px;max-width:100%;color:var(--role-solid)!important;background:color-mix(in srgb,var(--role-solid) 11%,var(--panel))!important;border:1px solid color-mix(in srgb,var(--role-border) 55%,transparent)!important;box-shadow:inset 0 1px 0 #ffffff10,0 2px 15px color-mix(in srgb,var(--role-solid) 12%,transparent);transition:transform .22s,background .22s,box-shadow .22s}
.role:hover{transform:translateY(-2px);box-shadow:inset 0 1px 0 #ffffff19,0 4px 25px color-mix(in srgb,var(--role-solid) 24%,transparent)}
.role .role-label {color:inherit;display:block;line-height:1.25;overflow-wrap:anywhere}
.role.role-gradient .role-label{background:var(--role-gradient)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent;color:transparent!important;filter:none}
.role.role-gradient,.profile-summary .role.role-gradient {border:1px solid transparent!important;background:linear-gradient(var(--panel),var(--panel)) padding-box,var(--role-gradient) border-box!important;box-shadow:inset 0 0 23px color-mix(in srgb,var(--role-solid) 12%,transparent),0 2px 25px color-mix(in srgb,var(--role-solid) 20%,transparent)}
.role.role-neutral,.profile-summary .role.role-neutral{border-color:#9ba3b43f!important;color:#b3bac6!important;background:linear-gradient(130deg,#b5bdc414,#a0aab406)!important}
/* Consistent spacing and density on all pages */
.home-grid,.home-bottom{gap:22px;align-items:stretch}
.quick-grid{gap:14px;margin-top:19px}
.quick-tile{border-radius:16px;min-height:83px;padding:17px;transition:transform .24s,border-color .24s,box-shadow .24s}
.quick-ico{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border:1px solid #f3607440;border-radius:11px;background:#f1455716;flex:none}
.quick-ico .ui-icon{height:19px;width:19px}
.section{padding-top:82px;padding-bottom:24px}
.section-head{margin-bottom:29px}
.system-cards{margin-bottom:32px;gap:20px}
.system-tile{border-radius:18px;min-height:193px}
.system-cards + .panel{position:relative;margin-top:0!important}
.profile-layout,.profile-content,.profile-side-stack{gap:21px}
.profile-content>.panel+.panel,.profile-side-stack>.panel+.panel{margin-top:0}
.profile-summary .roles{row-gap:10px;margin:13px 0 18px}
.panel-pad{padding:27px}
.system-tile h3{margin-top:13px}
.admin-row{gap:14px}
.admin-row-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.admin-row-actions button{margin:0!important}
@media(max-width:1120px){.hero h1{font-size:clamp(62px,7vw,102px)}}
@media(max-width:870px){.hero{min-height:545px}.hero:after{background:linear-gradient(90deg,#08091240,#0809128c 29%,#080912e8 50%,#0809128c 71%,#08091240),linear-gradient(0deg,#080912ec,transparent 50%)}.profile-layout,.profile-content,.profile-side-stack{gap:17px}.section{padding-top:59px}}
@media(max-width:560px){.hero{min-height:520px}.hero{border-radius:20px}.hero h1{font-size:clamp(46px,12vw,64px);letter-spacing:.14em;padding-left:.14em}.hero p{font-size:12px;line-height:1.68}.hero-actions{gap:11px}.hero-actions .btn{min-height:47px}.hero .kicker{font-size:9px;letter-spacing:.25em}.profile-layout,.profile-content,.profile-side-stack{gap:15px}.roles{gap:8px}.role{padding:7px 10px}.quick-grid{gap:10px}.quick-tile{min-height:74px;padding:12px}.quick-ico{width:30px;height:30px}.system-cards{gap:14px;margin-bottom:24px}.panel-pad{padding:19px}.section{padding-top:48px;padding-bottom:17px}.final-banner{margin-top:45px}}
@media(prefers-reduced-motion:reduce){.hero:after{animation:none!important}.role,.role:hover{transition:none;transform:none}}

/* v0.1.26 — a visible color specimen on EVERY role, computed from its Discord ID. */
.role.role-colored,.profile-summary .role.role-colored{
  color:var(--role-solid)!important;
  background:color-mix(in srgb,var(--role-solid) 16%,var(--panel))!important;
  border-color:color-mix(in srgb,var(--role-solid) 75%,#ffffff15)!important;
  box-shadow:0 0 0 1px color-mix(in srgb,var(--role-solid) 14%,transparent),
             inset 0 1px 0 #ffffff16,0 3px 20px color-mix(in srgb,var(--role-solid) 15%,transparent);
}
.role.role-gradient,.profile-summary .role.role-gradient{
  background:linear-gradient(var(--panel),var(--panel)) padding-box,var(--role-gradient) border-box!important;
  border:1px solid transparent!important;
}
.role-swatch{width:8px;height:8px;flex:none;border-radius:50%;background:var(--role-gradient);border:1px solid #ffffff52;
  box-shadow:0 0 12px var(--role-solid),inset 0 0 1px #fff}
.role-refresh{display:inline-flex;align-items:center;gap:7px;max-width:100%;background:transparent;color:var(--muted);
  border:1px solid var(--line);border-radius:9px;padding:8px 11px;font:inherit;font-size:11px;font-weight:700;
  cursor:pointer;margin:0 0 12px;transition:color .2s,border-color .2s,background .2s}
.role-refresh:hover{color:var(--text);border-color:var(--red);background:var(--soft)}
.role-refresh:disabled{opacity:.6;cursor:wait}
.role-refresh .ui-icon{height:14px;width:14px}
.role-audit{display:grid;gap:9px;max-height:300px;overflow-y:auto;margin:20px 0}
.role-audit-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:11px;border:1px solid var(--line);border-radius:12px;background:var(--panel2)}
.role-audit-row .role{margin:0}.role-audit-row small{color:var(--muted);text-align:right;overflow-wrap:anywhere}
.role-audit-note{border-left:2px solid var(--red);padding:12px;background:var(--soft);font-size:12px}

/* SHINY 0.1.27 — CSP-compliant role palettes and layout */
.text-accent{color:#ff697b}
.spaced-title-23{margin-top:23px}
.spaced-title-25{margin-top:25px}
.spaced-title-27{margin-top:27px}
.role-section-title{margin:20px 0 9px}
.panel-spaced-top{margin-top:30px}
.shiny-faq{padding:14px 0;border-bottom:1px solid var(--line)}
.shiny-faq-summary{font-weight:800;cursor:pointer}
.shiny-faq-answer{margin:11px 0 0}
.auth-welcome{max-width:550px;margin:30px auto;text-align:center}
/* Never hide Discord's color underneath a neutral chip. The actual colors are set
   by /role-palette.css via CSSOM, including gradient stops from Discord. */
.role.role-colored,.profile-summary .role.role-colored{
  color:var(--role-solid)!important;
  background:color-mix(in srgb,var(--role-solid) 21%,var(--panel))!important;
  border-color:color-mix(in srgb,var(--role-solid) 81%,#fff 8%)!important;
  box-shadow:inset 0 1px 0 #ffffff22,0 0 0 1px color-mix(in srgb,var(--role-solid) 23%,transparent),0 0 22px color-mix(in srgb,var(--role-solid) 16%,transparent);
}
.role.role-gradient,.profile-summary .role.role-gradient{
  border:1px solid transparent!important;
  background:linear-gradient(var(--panel),var(--panel)) padding-box,var(--role-gradient) border-box!important;
  box-shadow:inset 0 0 24px color-mix(in srgb,var(--role-solid) 14%,transparent),0 0 22px color-mix(in srgb,var(--role-solid) 19%,transparent);
}
.role.role-colored .role-label{color:var(--role-solid)}
.role.role-gradient .role-label{color:transparent!important}
.role.role-colored .role-swatch{width:9px;height:9px;background:var(--role-gradient);border-color:#ffffff8a}

/* v0.1.28 — provenance and honest sync states */
.sync-notice{display:flex;gap:10px;align-items:flex-start;padding:12px 15px;margin:15px 0;border:1px solid rgba(235,108,126,.22);border-radius:13px;color:var(--muted,#a8a9b0);font-size:13px;line-height:1.5;background:rgba(227,76,98,.045)}
.sync-notice .ui-icon{flex:0 0 17px;margin-top:1px;color:#f76a7b}
.announcement{padding:16px 4px;border-bottom:1px solid rgba(160,166,177,.14);overflow-wrap:anywhere}
.announcement:last-of-type{border-bottom:0}
.announcement small{display:block;margin-top:10px}
.source-link{display:inline-flex;align-items:center;gap:7px;margin-top:12px;color:#ff7886;text-decoration:none;font-weight:750;font-size:13px}
.source-link:hover{color:#ff9aa4}
.source-link .ui-icon{width:16px;height:16px}
.content-bottom .btn-discord{display:inline-flex;align-items:center;gap:8px}
.content-bottom .btn-discord svg{width:17px;height:17px}

/* SHINY live feed connectivity. Static styles comply with the existing strict CSP. */
.live-status{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;font-size:10px;letter-spacing:.15em;font-weight:800;color:#a6b0bc;border:1px solid rgba(255,255,255,.10);padding:8px 10px;border-radius:999px;background:rgba(255,255,255,.035);transition:color .25s,border-color .25s,background .25s}
.live-status i{width:7px;height:7px;border-radius:50%;background:#e6a956;box-shadow:0 0 0 3px rgba(230,169,86,.11)}
.live-status[data-state="online"]{color:#7ce4b8;border-color:rgba(69,211,153,.22);background:rgba(31,142,96,.09)}
.live-status[data-state="online"] i{background:#4dd99a;box-shadow:0 0 0 4px rgba(77,217,154,.12);animation:shiny-live-pulse 2.2s infinite}
@keyframes shiny-live-pulse{50%{box-shadow:0 0 0 7px rgba(77,217,154,0)}}
@media(max-width:880px){.live-status{padding:8px}.live-status [data-live-label]{display:none}}
@media(prefers-reduced-motion:reduce){.live-status i{animation:none!important}}

/* Discord announcements */
.announcement{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.announcement-media{display:block;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--panel2)}
.announcement-media img{width:100%;max-height:260px;object-fit:cover;object-position:center}

/* ===== editorial.css ===== */
/* SHINY / After dark — shared visual system, September 2026. */
:root{--bg:#0d0e12;--panel:#14151b;--panel2:#191a22;--panel3:#20222c;--line:#ffffff12;--text:#f4f2ee;--muted:#a2a3af;--faint:#8c8f9f;--red:#ff5f64;--red2:#ff8786;--soft:#ff646410;--radius:18px}
body{background:radial-gradient(ellipse at 90% 0,#421e261d,transparent 45%),var(--bg);font-size:14px}
body:before,.backdrop-lines,.ambient{display:none}
.container{width:min(1320px,calc(100% - 80px))}
.skip-link{position:fixed;left:20px;top:-70px;z-index:100;background:var(--text);color:var(--bg);padding:14px 20px;border-radius:8px}
.skip-link:focus{top:12px}
.site-header{height:86px;background:#0d0e12e8;border-color:var(--line);box-shadow:none}
.header-inner{max-width:1400px;padding:0 40px;gap:24px}
.brand{font-family:'Space Grotesk',Manrope,sans-serif;font-size:22px;letter-spacing:.16em;gap:12px}
.brand img{width:39px;height:39px;border-radius:12px;box-shadow:none}
.brand small{font-size:9px;letter-spacing:.19em;line-height:1.35;margin-top:1px}
.site-header nav{gap:6px}
.site-header nav a{font-size:14px;padding:0 14px;font-weight:700;min-height:46px}
.site-header nav a.active:after{left:14px;right:14px;height:3px;box-shadow:none;background:var(--red)}
.header-tools{gap:12px}
.header-tools .btn-discord{background:#f0eeeb;color:#17171d;border-color:#f0eeeb;box-shadow:none;min-height:42px;font-size:11px}
.header-tools .btn-discord:hover{background:#fff}
.icon-btn{background:transparent;border-color:var(--line);border-radius:10px}
.live-status{font-size:9px;letter-spacing:.08em;padding:7px 9px}
.hero.hero-editorial{margin-top:0;min-height:635px;border:1px solid #ffffff16;border-radius:22px;background:#10131c;box-shadow:0 24px 70px #0003;isolation:isolate}
.hero-editorial:before{display:none}
.hero.hero-editorial:after{z-index:1;animation:none;opacity:1;background:linear-gradient(90deg,#0b101bef 0%,#0b101bd9 25%,#0b101b72 49%,transparent 72%),linear-gradient(0deg,#080c17e8,transparent 23%)}
.hero-artwork{position:absolute;inset:0;z-index:0}
.hero-artwork img{width:100%;height:100%;object-fit:cover;object-position:70% center}
.hero-copy{position:relative;z-index:2;padding:56px 52px 88px;width:62%}
.hero-tag{display:inline-flex;align-items:center;gap:9px;color:#f3c7c9;font-size:9px;letter-spacing:.2em;border:1px solid #ffc4c529;border-radius:6px;background:#ffffff05;padding:8px 11px}
.hero-tag .ui-icon{color:#ff8888;width:12px;height:12px}
.hero.hero-editorial h1{font-family:'Space Grotesk',Manrope,sans-serif;font-size:clamp(82px,9.3vw,136px);font-weight:700;line-height:.95;letter-spacing:-.065em;color:#faf6ee;background:none;filter:none;text-shadow:none;padding:0;margin:25px 0 18px}
.hero-copy h2{font-size:clamp(28px,3.1vw,43px);font-weight:600;line-height:1.16;letter-spacing:-.045em;margin:0 0 19px;color:#f4f0eb}
.hero .hero-copy p{font-size:13px;line-height:1.9;color:#c1bfca;text-shadow:none;margin:0 0 28px;max-width:420px}
.hero-editorial .hero-actions{justify-content:flex-start;gap:11px}
.btn{border-radius:10px;font-weight:700;box-shadow:none;transition:background .2s,border-color .2s,transform .2s,box-shadow .2s}
.btn-red,.hero .btn-red{background:#ff6569;border:1px solid #ff8385;color:#180e13;box-shadow:0 5px 20px #ff50551a}
.btn-red:hover,.hero .btn-red:hover{background:#ff8585;box-shadow:0 8px 30px #ff50552b}
.btn-ghost{background:#ffffff07;border-color:#ffffff29;color:#eeeaf0;backdrop-filter:blur(12px)}
.hero-actions .btn{min-height:49px;padding:13px 19px;font-size:12px;gap:11px;border-radius:9px}


.hero-bottom-line{position:absolute;z-index:2;bottom:0;left:32px;right:32px;border-top:1px solid #ffffff1a;display:flex;justify-content:space-between;align-items:center;height:49px;color:#c5bec9;font-size:8px;letter-spacing:.18em}
.hero-bottom-line>span{display:flex;align-items:center;gap:13px}
.hero-bottom-line i{width:3px;height:3px;border-radius:50%;background:#ff7d81}
.stats{margin-top:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:9px 0}
.stat{padding:24px 28px;display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:18px}
.stat label{grid-column:1/-1;font-size:8px;color:var(--faint);letter-spacing:.14em;margin-bottom:9px}
.stat strong{font-size:33px;color:var(--text);letter-spacing:-.055em;margin:0;line-height:1.1}
.stat span{font-size:10px;line-height:1.6;max-width:85px}
.stat:not(:last-child):after{top:25%;height:50%}
.section{padding:65px 0 12px}
.section-head{margin-bottom:25px;gap:28px}
.kicker{font-size:9px;font-weight:600;letter-spacing:.19em;color:var(--red2)}
.kicker:before{width:15px;height:1px}
.section-head h2{font-size:clamp(25px,2.8vw,37px);font-weight:600;letter-spacing:-.045em;margin-top:12px}
.section-head h2 em{color:var(--muted)}
.section-head p{font-size:12px;line-height:1.8;max-width:290px}
.discover-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.discover-card{min-height:320px;border:1px solid #ffffff1a;border-radius:16px;position:relative;overflow:hidden;isolation:isolate;color:#fff;background:#11131e;transition:transform .3s,border-color .3s,box-shadow .3s}
.discover-card:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#0a0d17fa 2%,#0a0d17a8 37%,#0a0d1710 74%,#0a0d1766)}
.discover-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.discover-gaming>img{object-position:68% center}
.discover-watching>img{object-position:35% center}
.discover-talking>img{object-position:76% center}
.discover-top{position:absolute;top:19px;left:21px;right:19px;display:flex;align-items:center;justify-content:space-between;font:500 8px 'Space Grotesk',sans-serif;letter-spacing:.13em;color:#f4e3e7}
.discover-icon{display:grid;place-items:center;width:32px;height:32px;border:1px solid #ffffff38;border-radius:50%;background:#080c1640;backdrop-filter:blur(8px)}
.discover-icon .ui-icon{width:15px;height:15px}
.discover-copy{position:absolute;bottom:23px;left:24px;right:24px}
.discover-copy h3{font-size:25px;font-weight:600;letter-spacing:-.045em;margin:0 0 9px}
.discover-copy p{font-size:11px;line-height:1.65;color:#c2bdca;margin:0 0 21px}
.discover-link{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff22;padding-top:15px;font-size:11px;font-weight:600}
.discover-link .ui-icon{color:#ff9291;transition:translate .2s}
.discover-card:hover{transform:translateY(-5px);border-color:#ff8b8560;box-shadow:0 15px 30px #0003}
.discover-card:hover>img{transform:scale(1.055)}
.discover-card:hover .discover-link .ui-icon{translate:4px 0}
.quick-grid{margin-top:24px;gap:10px}
.quick-tile{background:transparent;box-shadow:none;border-color:var(--line);border-radius:10px;min-height:78px;padding:14px 13px;gap:11px}
.quick-ico{height:32px;width:32px;display:grid;place-items:center;border-radius:9px;border:1px solid #ff75751f;background:#ff757508;color:#ff8a8b;flex-shrink:0}
.quick-tile b{font-size:11px;font-weight:600;margin-bottom:3px}
.quick-tile small{font-size:9px}
.panel,.system-tile{background:linear-gradient(135deg,#ffffff03,transparent 60%),var(--panel);border-color:var(--line);box-shadow:none}
.panel:hover,.system-tile:hover,.quick-tile:hover{border-color:#ffffff26;box-shadow:0 12px 34px #0002}
.panel:after,.system-tile:after,.quick-tile:after{display:none}
.panel-pad{padding:27px}
.panel-heading{padding-bottom:17px;border-bottom:1px solid var(--line);margin-bottom:22px}
.panel-heading h3{font-size:16px;font-weight:600}
.panel-heading .btn-sm{background:transparent;border:0;padding:5px 0;font-size:10px;color:var(--muted);min-height:28px}
.home-grid{grid-template-columns:1fr 1.3fr;gap:20px}
.home-bottom{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.home-bottom>.home-bottom-panel{height:100%;min-width:0;display:flex;flex-direction:column}
.home-bottom>.home-bottom-panel>.panel-heading{flex:0 0 auto}
.home-bottom .home-bottom-list{min-height:0}
.home-bottom .clan-list,.home-bottom .systems-list{align-content:start;grid-auto-rows:auto;gap:12px}
.home-bottom .clan-row,.home-bottom .system-row{min-height:92px}
.home-bottom .home-news-list{display:grid;grid-template-rows:auto auto;align-content:start;gap:14px}
.home-bottom .home-news-list>.news-card{height:auto;min-height:0;margin:0;align-self:start}
.home-bottom .home-news-list>.news-card .news-card-body{flex:0 0 auto;min-height:0}
.home-bottom .home-news-list>.news-card-compact{border-radius:14px;background:linear-gradient(145deg,var(--panel2),color-mix(in srgb,var(--panel) 88%,var(--red) 12%))}
.home-bottom .home-news-list>.news-card-compact .news-card-head{padding:14px 15px 0}
.home-bottom .home-news-list>.news-card-compact .news-card-body{padding:12px 15px 14px}
.home-bottom .home-news-list>.news-card-compact .news-card-body>h3{font-size:14px;line-height:1.35;margin-bottom:7px}
.home-bottom .home-news-list>.news-card-compact .news-markdown{font-size:11.5px;line-height:1.6;-webkit-line-clamp:4}
.home-bottom .home-news-list>.news-card-compact .news-card-foot{padding:11px 15px}
.home-bottom .home-news-list>.news-card-compact .news-more-link{font-weight:700}
@media(min-width:1221px){.home-bottom>.home-bottom-panel{min-height:0}}
.home-blurb{line-height:1.85}
.empty{border:1px dashed var(--line);border-radius:12px;min-height:108px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:transparent;font-size:12px;line-height:1.8;padding:25px}
.event-row,.clan-row,.system-row{background:#ffffff02;border-color:var(--line);padding:13px;border-radius:10px}
.event-date,.clan-symbol{background:#ff74740a;border-color:#ff747426;color:#ff9b9c}
.system-icon{color:#fd8b8e}
.sync-notice{font-size:11px;line-height:1.7;background:#ffffff02;border-color:var(--line)}
.announcement{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0}
.little-stats{border-color:var(--line);background:#ffffff02}
.little-stats>div{padding:14px}
.little-stats b{font:600 24px 'Space Grotesk',sans-serif}
.little-stats small{font-size:10px}
.section-banner{min-height:285px;padding:55px 45px;border-radius:20px;border-color:#ffffff1a;background:#101522}
.section-banner:before{z-index:0;background:linear-gradient(90deg,#0d121ff5 0%,#0d121fcc 40%,#0d121f15 100%)}
.section-banner:after{display:none}
.section-banner .banner-art{right:0;width:100%;height:100%;opacity:.9;mask-image:none;object-position:center 55%}
.section-banner>.kicker,.section-banner>h1,.section-banner>p{position:relative;z-index:1}
.section-banner:before{z-index:1}
.section-banner h1{font-weight:600;font-size:clamp(34px,4.6vw,60px)}
.section-banner p{color:#c6c7d3;line-height:1.8;max-width:530px}
.content-art{min-height:185px}
.content-art:before{z-index:1;background:linear-gradient(180deg,#0a0d1740,transparent 70%,#0a0d1740);opacity:1}
.content-art img{width:100%;height:100%;right:0;mask-image:none;opacity:1;object-position:center 45%}
.content-art .art-label{z-index:2;font-size:9px;background:#080b1680;backdrop-filter:blur(9px);padding:7px 10px;border:1px solid #ffffff26;border-radius:5px}
.content-body{padding:23px;gap:15px}
.content-body p{line-height:1.85}
.filter{border-radius:8px;padding:10px 15px;min-height:39px}
.filter.active{color:#190f13}
.profile-hero-art{width:100%;object-position:center;mask-image:linear-gradient(90deg,transparent,#000);opacity:.6}
.profile-head{padding:40px}
.system-tile{padding:28px;min-height:210px}
.system-tile i{color:#ff9593;background:#ff74740a;border:1px solid #ff747421;box-shadow:none}
.system-tile p{line-height:1.85}
.final-banner{position:relative;isolation:isolate;overflow:hidden;border:1px solid #ffffff1a;border-radius:20px;background:linear-gradient(90deg,#101522ee,#101522b0 55%,#10152280),url('/assets/shiny-world.webp') center 45%/cover;text-align:left;padding:52px;margin:65px 0 25px}
.final-banner:before,.final-banner:after{display:none}
.final-banner h2{font-size:clamp(30px,4vw,51px);font-weight:600;letter-spacing:-.045em;line-height:1.16;margin:18px 0 14px}
.final-banner h2 em{font-style:normal;color:#ffaaa3}
.final-banner p{font-size:13px;color:#c6c4ce;margin:0 0 25px}
.final-banner .btn{font-size:12px}
.footer{margin-top:55px;background:transparent;border-top:1px solid var(--line)}
.footer-inner{max-width:1320px;width:calc(100% - 80px);padding:40px 0;gap:30px}
.footer-brand{font-family:'Space Grotesk',sans-serif;letter-spacing:.16em}
.footer-brand img{box-shadow:none;border-radius:9px}
.footer p{font-size:11px;line-height:1.85}
.footer-side{font-size:9px;letter-spacing:.12em}
body.light{--bg:#f4f2f0;--panel:#fffdfb;--panel2:#eeeae7;--panel3:#e7e3e1;--line:#261f2817;--text:#25212b;--muted:#696572;--faint:#75707d;--red:#c33243;--red2:#b52c3f;--soft:#c332430a;background:var(--bg)}
.light .site-header{background:#f4f2f0eb}
.light .header-tools .btn-discord{background:#24212b;border-color:#24212b;color:#fff}
.light .quick-ico,.light .system-icon{color:#b52c3f}
.light .quick-ico,.light .system-tile i{background:#c3324309;border-color:#c3324326}
.light .system-tile i{color:#b52c3f}
.light .panel:hover,.light .quick-tile:hover{border-color:#261f2833;box-shadow:0 10px 25px #261f2809}
.light .hero-tag,.light .final-banner .kicker,.light .section-banner .kicker{color:#ffb6b2}
.light .live-status{color:#57505c;border-color:#261f2822}
.light .live-status[data-state="online"]{color:#23674a}
.light .btn-red{background:#ff7278;border-color:#ff7278;color:#261117}
.light .source-link{color:#b52c3f}
@media(min-width:871px) and (max-width:1220px){.header-inner{gap:15px;padding:0 28px}.site-header nav a{padding:0 10px;font-size:13px;min-height:44px}.header-tools .live-status{display:none}.brand small{font-size:8px}.hero-copy{padding-left:38px;width:65%}.stat{padding:22px 18px;gap:10px}.home-bottom{grid-template-columns:1fr 1fr}.home-bottom>.panel:last-child{grid-column:1/-1}.discover-copy{left:20px;right:20px}.discover-copy h3{font-size:22px}.quick-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1000px){.container{width:calc(100% - 48px)}.hero-copy{width:68%}.hero.hero-editorial{min-height:610px}.hero-copy{padding-top:47px}.discover-card{min-height:290px}.discover-copy p{min-height:36px}.discover-copy h3{font-size:21px}.discover-top{left:18px;font-size:7px}.home-grid{grid-template-columns:1fr 1.1fr}.footer-inner{width:calc(100% - 48px)}}
@media(max-width:870px){
.home-bottom>.home-bottom-panel{height:auto}.home-bottom .home-bottom-list{flex:none}
.site-header{height:72px}.header-inner{padding:0 24px;gap:12px}.site-header nav{top:72px;border-bottom:1px solid var(--line);padding:12px 24px}.site-header nav a{padding:14px;min-height:45px}.site-header nav a.active:after{left:0;right:auto;top:12px;bottom:12px}.brand{font-size:19px}.header-tools .btn-discord{font-size:10px;padding:10px 12px}.hero-copy{width:76%;padding-left:34px}.hero.hero-editorial h1{font-size:100px}.hero-copy h2{font-size:35px}.hero.hero-editorial:after{background:linear-gradient(90deg,#0b101bea,#0b101bae 40%,#0b101b20 100%),linear-gradient(0deg,#080c17e8,transparent 25%)}.stat{padding:22px 15px;display:block}.stat strong{margin:7px 0}.stat span{font-size:9px}.stat label{font-size:7px}.discover-grid{gap:12px}.discover-card{min-height:275px}.discover-copy{left:16px;right:16px;bottom:18px}.discover-copy h3{font-size:19px}.discover-copy p{font-size:10px}.discover-top{left:14px;right:14px}.discover-top>span:first-child{max-width:85px;line-height:1.7}.quick-grid{grid-template-columns:repeat(3,1fr)}.home-grid,.home-bottom{grid-template-columns:1fr}.home-bottom>.panel:last-child{grid-column:auto}.section{padding-top:48px}.final-banner{padding:40px;margin-top:48px}}
@media(max-width:600px){.container{width:calc(100% - 28px)}.header-inner{padding:0 14px;gap:8px}.brand{font-size:16px;gap:8px}.brand img{width:32px;height:32px}.brand small{display:none}.header-tools{gap:6px}.header-tools .live-status{display:none}.header-tools .btn-discord{padding:10px;min-height:38px;font-size:0;gap:0;width:39px}.header-tools .btn-discord>.ui-icon:first-child{width:18px;height:18px}.header-tools .btn-discord>.ui-icon:last-child{display:none}.icon-btn{width:38px;height:38px}.hero.hero-editorial{min-height:710px;border-radius:16px}.hero-artwork img{object-position:71% top;object-fit:cover;height:400px}.hero.hero-editorial:after{background:linear-gradient(180deg,#0b101b05 0%,#0b101b0a 16%,#0b101b8a 33%,#0b101bf5 48%,#0b101b 68%)}.hero-copy{padding:244px 24px 74px;width:100%}.hero-tag{font-size:7px;letter-spacing:.14em;padding:7px 9px;background:#0d142070;border-color:#ffc4c536}.hero.hero-editorial h1{font-size:86px;margin:18px 0 13px}.hero-copy h2{font-size:32px;line-height:1.13;margin-bottom:16px}.hero .hero-copy p{font-size:12px;line-height:1.85;margin-bottom:22px}.hero-editorial .hero-actions{flex-direction:row;width:100%;max-width:none;gap:9px}.hero-actions .btn{width:auto;min-height:46px;font-size:10px;padding:12px 13px;gap:7px}.hero-actions .btn .ui-icon{width:14px;height:14px}.hero-bottom-line{left:24px;right:24px;height:43px;font-size:6px;letter-spacing:.12em}.hero-bottom-line>span{gap:8px}.stats{grid-template-columns:repeat(2,1fr);padding:5px 0}.stat{padding:21px 16px;display:grid;grid-template-columns:auto 1fr;column-gap:12px}.stat label{font-size:7px;margin:0}.stat strong{font-size:31px;margin:8px 0 0}.stat span{font-size:9px;margin-top:8px}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.stat:nth-child(2):after{display:none}.section{padding-top:40px}.section-head{gap:13px;margin-bottom:21px;align-items:flex-start;flex-direction:column}.section-head h2{font-size:28px;line-height:1.22;max-width:330px}.section-head p{max-width:320px;font-size:12px;line-height:1.7}.kicker{font-size:8px}.discover-grid{grid-template-columns:1fr;gap:14px}.discover-card{min-height:292px}.discover-copy{left:24px;right:24px;bottom:24px}.discover-copy h3{font-size:27px}.discover-copy p{min-height:0;font-size:12px;margin-bottom:19px}.discover-top{left:24px;right:22px;top:19px;font-size:8px}.discover-top>span:first-child{max-width:none}.discover-gaming>img{object-position:center 40%}.discover-watching>img{object-position:center 52%}.discover-talking>img{object-position:center 35%}.discover-card:after{background:linear-gradient(0deg,#0a0d17fa,#0a0d1770 49%,#0a0d1705 80%,#0a0d1745)}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:19px}.quick-tile{padding:13px 11px;min-height:74px;gap:9px}.quick-tile b{font-size:11px}.quick-tile small{font-size:9px}.quick-ico{width:28px;height:28px}.panel-pad{padding:21px}.panel-heading{gap:10px}.panel-heading h3{font-size:15px}.home-grid,.home-bottom{gap:15px}.section-banner{padding:36px 24px;min-height:260px}.section-banner .banner-art{width:100%;opacity:.75}.section-banner:before{background:linear-gradient(90deg,#0d121feb,#0d121f80)}.section-banner p{font-size:12px}.section-banner h1{font-size:38px}.profile-head{padding:25px}.final-banner{padding:34px 25px;margin-top:40px;text-align:left;background-position:65% center}.final-banner h2{font-size:36px}.final-banner p{font-size:12px}.final-banner .btn{font-size:11px;padding:13px}.footer{margin-top:40px}.footer-inner{width:calc(100% - 40px);padding:32px 0}.footer-side{font-size:8px}.card-grid,.system-cards{grid-template-columns:1fr}.profile-side-stack{grid-template-columns:1fr}}
@media(max-width:360px){.hero-copy{padding-left:19px;padding-right:19px}.hero.hero-editorial h1{font-size:76px}.hero-copy h2{font-size:29px}.hero-actions .btn{padding:11px 10px;font-size:9px}.hero-actions .btn-red>.ui-icon:last-child{display:none}.quick-tile{gap:6px}.quick-tile small{font-size:8px}}
@media(hover:hover) and (pointer:fine){.shiny-tilt:hover{transform:translateY(-2px)}}
@media(prefers-reduced-motion:reduce){.discover-card,.discover-card>img,.discover-link .ui-icon{transition:none}.discover-card:hover,.discover-card:hover>img{transform:none}}

/* v0.1.42 · 3 × 3 feature cards and honest economy status */
.system-tile h3{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
.system-status{display:inline-flex;align-items:center;white-space:nowrap;border:1px solid #f1758242;border-radius:99px;background:#ef506214;color:var(--red2);padding:4px 8px;font-size:9px;letter-spacing:.02em;font-weight:700;vertical-align:middle}
body.light .system-status{background:#f1455714;color:#b63245}

/* Telegram community action pinned to the bottom-right of the ninth feature card. */
.system-tile:has(.system-external-link) p{margin-bottom:16px}
.system-tile:has(.system-external-link){display:flex;flex-direction:column;align-items:flex-start}
.system-tile .system-external-link{display:inline-flex;align-items:center;align-self:flex-end;gap:9px;margin-top:auto;margin-left:auto;padding:10px 14px;max-width:100%;font-size:12px;white-space:normal;text-align:left;line-height:1.4}
.system-tile .system-external-link .ui-icon{width:16px;height:16px;flex-shrink:0}
.system-tile .system-external-link:focus-visible{outline:2px solid #ff9593;outline-offset:3px}
@media(max-width:560px){.system-tile .system-external-link{margin-top:auto}}

/* v0.1.47 — typography for the Systems feature cards.
   Descriptions stay smaller than the headings at every viewport width. */
.system-cards .system-tile > h3,
.system-cards + .panel > h3 {
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.35;
}
.system-cards .system-tile > p {
  font-size: clamp(14px, .94vw, 15.5px);
  line-height: 1.65;
}
.system-cards + .panel > p {
  font-size: clamp(14px, .94vw, 15.5px);
  line-height: 1.7;
}


/* v0.3.00 homepage cleanup and larger discovery card typography */
.discover-top{font:600 10px 'Space Grotesk',sans-serif;letter-spacing:.15em}
.discover-copy h3{font-size:30px}
.discover-copy p{font-size:13px;line-height:1.7}
.discover-link{font-size:13px;font-weight:700;padding-top:16px}
@media(max-width:1000px){
  .discover-top{font-size:9px}
  .discover-copy h3{font-size:24px}
  .discover-copy p{font-size:12px}
  .discover-link{font-size:12px}
}
@media(max-width:600px){
  .discover-top{font-size:9px}
  .discover-copy h3{font-size:28px}
  .discover-copy p{font-size:13px}
  .discover-link{font-size:12px}
}


/* v0.3.01 home banner top gap */
.container.fade-in>.hero.hero-editorial:first-child{margin-top:14px}
@media(max-width:1000px){.container.fade-in>.hero.hero-editorial:first-child{margin-top:12px}}
@media(max-width:600px){.container.fade-in>.hero.hero-editorial:first-child{margin-top:10px}}

/* ===== role-palette.css ===== */
/* Populated with validated Discord role colors via same-origin CSSOM insertRule.
   No inline styles and no unsafe-inline CSP exception are required. */
.role-palette-anchor{--role-palette-ready:1}

/* ===== nickname-gradient.css ===== */
/* Admin-controlled Discord-style nickname gradients. Dynamic palettes are inserted through this same-origin sheet. */
@property --nickname-phase{syntax:"<percentage>";inherits:false;initial-value:0%}
@property --nickname-sweep-phase{syntax:"<percentage>";inherits:false;initial-value:-100%}
.nickname-gradient{
  display:inline-block;
  max-width:100%;
  background-image:var(--nickname-gradient,linear-gradient(90deg,#5865f2,#8b5cf6,#d946ef,#ec4899,#f97316));
  background-repeat:repeat;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent!important;
  -webkit-text-fill-color:transparent;
  text-decoration:none;
  font-weight:var(--nickname-weight,800)!important;
  filter:none!important;
  will-change:auto;
  text-shadow:none;
}
.nickname-gradient.has-glow{filter:none!important;text-shadow:none!important}
.nickname-gradient.is-animated{animation-play-state:running!important;animation-delay:var(--nickname-delay,0s)!important}
/*
  The palette is sized against the rendered nickname, not against font ems.
  Dynamic per-palette keyframes move exactly one full gradient period, while
  OKLab interpolation (when supported) keeps high-contrast colors visually soft.
*/
.nickname-gradient.is-animated.mode-flow{animation-duration:var(--nickname-speed,5s)!important;animation-timing-function:linear!important;animation-iteration-count:infinite!important}
.nickname-gradient.is-animated.mode-bounce{animation-duration:var(--nickname-speed,5s)!important;animation-timing-function:cubic-bezier(.45,0,.55,1)!important;animation-iteration-count:infinite!important;animation-direction:alternate!important}
.nickname-gradient.is-animated.mode-pulse{animation:nickname-gradient-pulse var(--nickname-speed,5s) cubic-bezier(.45,0,.55,1) infinite!important}
.nickname-gradient.mode-shimmer{
  background-image:var(--nickname-discord-sweep),var(--nickname-discord-base,var(--nickname-gradient));
  background-repeat:repeat,no-repeat;
  background-size:100% 100%,100% 100%;
  background-blend-mode:screen,normal;
}
.nickname-gradient.is-animated.mode-shimmer{
  animation:nickname-gradient-shimmer var(--nickname-speed,5s) linear infinite!important;
}
@keyframes nickname-gradient-pulse{0%,100%{opacity:.84}50%{opacity:1}}
@keyframes nickname-gradient-shimmer{from{--nickname-sweep-phase:-100%}to{--nickname-sweep-phase:0%}}
@media(prefers-reduced-motion:reduce){
  .nickname-gradient.is-animated:not(.force-motion){animation:none!important}
  .nickname-gradient.is-animated.force-motion{animation-delay:var(--nickname-delay,0s)!important}
  .nickname-gradient.is-animated.force-motion.mode-flow{animation-duration:var(--nickname-speed,5s)!important;animation-timing-function:linear!important;animation-iteration-count:infinite!important}
  .nickname-gradient.is-animated.force-motion.mode-bounce{animation-duration:var(--nickname-speed,5s)!important;animation-timing-function:cubic-bezier(.45,0,.55,1)!important;animation-iteration-count:infinite!important;animation-direction:alternate!important}
  .nickname-gradient.is-animated.force-motion.mode-pulse{animation:nickname-gradient-pulse var(--nickname-speed,5s) cubic-bezier(.45,0,.55,1) infinite!important}
  .nickname-gradient.is-animated.force-motion.mode-shimmer{animation:nickname-gradient-shimmer var(--nickname-speed,5s) linear infinite!important}
}

.admin-nickname-section{display:grid;gap:18px}
.admin-nickname-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.admin-nickname-heading h2{margin:6px 0 5px;font-size:28px;letter-spacing:-.035em}
.admin-nickname-heading p{margin:0;color:var(--muted);font-size:12px}
.admin-nickname-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.admin-nickname-toolbar .search{width:min(520px,100%)}
.admin-nickname-toolbar>span{color:var(--faint);font-size:11px;font-weight:700;white-space:nowrap}
.admin-nickname-list{display:grid;gap:8px}
.admin-nickname-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel2)}
.admin-nickname-row[hidden]{display:none!important}
.admin-nickname-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:var(--panel3);color:var(--muted)}
.admin-nickname-avatar img{width:100%;height:100%;object-fit:cover}
.admin-nickname-person{min-width:0}
.admin-nickname-person strong{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-nickname-person small{display:block;color:var(--muted);font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-nickname-state{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid var(--line);border-radius:999px;color:var(--faint);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.admin-nickname-state.active{color:#f3c9ff;border-color:#bd6bff45;background:#bd6bff12}
.admin-nickname-state .ui-icon{width:11px;height:11px}

/* v0.2.57 — admin nickname action follows the SHINY button language */
.admin-nickname-configure{
  min-height:38px!important;
  padding:8px 12px!important;
  gap:8px!important;
  border:1px solid var(--line)!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--panel3) 86%,#fff 3%),var(--panel2))!important;
  color:var(--text)!important;
  box-shadow:inset 0 1px 0 #ffffff08!important;
  font-size:11px!important;
  font-weight:800!important;
  white-space:nowrap;
}
.admin-nickname-configure .ui-icon{
  width:15px!important;
  height:15px!important;
  color:var(--red2);
  flex:0 0 auto;
}
.admin-nickname-configure:hover{
  transform:translateY(-1px)!important;
  border-color:#f45d6d66!important;
  background:linear-gradient(180deg,#f1455712,color-mix(in srgb,var(--panel2) 94%,#f14557 6%))!important;
  box-shadow:0 8px 22px #f1455716,inset 0 1px 0 #ffffff0d!important;
}
.admin-nickname-configure:active{transform:translateY(0) scale(.985)!important}
body.light .admin-nickname-configure{
  background:linear-gradient(180deg,#fff,#f5f6f8)!important;
  box-shadow:0 1px 2px #1f29370a,inset 0 1px 0 #fff!important;
}
body.light .admin-nickname-configure:hover{
  border-color:#ef667266!important;
  background:#fff5f6!important;
}

.nickname-admin-modal{max-width:min(820px,calc(100% - 28px))}
.nickname-editor{display:grid;gap:17px}
.nickname-editor>h2{margin:0;font-size:30px;letter-spacing:-.045em}
.nickname-editor-note{margin:-8px 0 0!important;font-size:11px!important}
.nickname-preview{position:relative;min-height:174px;display:grid;place-items:center;align-content:center;gap:7px;padding:26px;border:1px solid #ffffff14;border-radius:18px;background:radial-gradient(circle at 50% 120%,#a855f72b,transparent 58%),linear-gradient(145deg,#0e1118,#191320);overflow:hidden;text-align:center;box-shadow:inset 0 1px #ffffff08}
.nickname-preview:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,#ffffff05 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(to bottom,#0008,transparent)}
.nickname-preview>*{position:relative;z-index:1}
.nickname-preview>span{font-size:8px;font-weight:800;letter-spacing:.2em;color:#9da4b4}
.nickname-preview-name{font:800 clamp(32px,6vw,52px)/1.05 'Space Grotesk',Manrope,sans-serif;letter-spacing:-.045em;color:#fff}
.nickname-preview>small{color:#88909f}
.nickname-preview>em{font-style:normal;color:#727b8d;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
#adminNicknameForm{display:grid;gap:12px}
.nickname-control-card{display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,var(--panel2),color-mix(in srgb,var(--panel2) 94%,#fff 6%))}
.nickname-control-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.nickname-control-head>div{display:grid;gap:3px}
.nickname-control-head b{font-size:12px;color:var(--text)}
.nickname-control-head small{font-size:9px;color:var(--faint);line-height:1.45}
.nickname-control-head>span{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border:1px solid var(--line);border-radius:999px;background:var(--panel3);color:var(--muted);font-size:9px;font-weight:800;white-space:nowrap}
.nickname-presets{display:flex;flex-wrap:wrap;gap:7px}
.nickname-presets button{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:999px;padding:7px 11px;background:var(--panel3);color:var(--text);font-size:9px;font-weight:800;transition:.18s ease}
.nickname-presets button:hover{transform:translateY(-1px);border-color:#a855f780;background:#a855f710}
.nickname-color-grid{display:grid;gap:8px}
.nickname-color-grid-five{grid-template-columns:repeat(5,minmax(0,1fr))}
.nickname-color-grid label{display:grid;grid-template-columns:auto 42px;grid-template-areas:"index color" "hex hex";align-items:center;justify-content:space-between;gap:6px;padding:9px 10px;border:1px solid var(--line);border-radius:11px;background:var(--panel3);font-size:10px;font-weight:800;color:var(--muted)}
.nickname-color-grid label>span{grid-area:index;width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:var(--soft);color:var(--text);font-size:9px}
.nickname-color-grid input[type=color]{grid-area:color;width:42px;height:32px;padding:2px;border:1px solid var(--line);border-radius:8px;background:transparent;cursor:pointer}
.nickname-color-grid label>small{grid-area:hex;color:var(--faint);font-size:8px;letter-spacing:.04em}
.nickname-range{display:grid;gap:7px;padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:var(--panel3)}
.nickname-range>span{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:10px;font-weight:800}
.nickname-range>span b{color:var(--text)}
.nickname-range input{accent-color:#8b5cf6;width:100%}
.nickname-select{display:grid;grid-template-columns:1fr minmax(160px,220px);align-items:center;gap:12px;padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:var(--panel3);color:var(--muted);font-size:10px;font-weight:800}
.nickname-select select{width:100%;min-height:36px;border:1px solid var(--line);border-radius:9px;background:var(--panel2);color:var(--text);padding:0 10px;outline:none}
.nickname-direction-presets{display:grid;grid-template-columns:repeat(8,1fr);gap:7px}
.nickname-direction-presets button{min-height:36px;border:1px solid var(--line);border-radius:9px;background:var(--panel3);color:var(--text);font-size:16px;font-weight:800;transition:.18s ease}
.nickname-direction-presets button:hover{border-color:#8b5cf688;background:#8b5cf610;transform:translateY(-1px)}
.nickname-direction-presets button.active{border-color:#a855f7;background:#a855f71a;box-shadow:0 0 0 1px #a855f733 inset;color:#fff}
.nickname-enable{border:1px solid #8b5cf638!important;background:#8b5cf60c!important;border-radius:13px!important;padding:12px 13px!important}
.switch-row.compact{padding:10px 11px;border:1px solid var(--line);border-radius:11px;background:var(--panel3)}
.nickname-editor-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:5px}

body.light .nickname-preview{border-color:#e5e8ef;background:radial-gradient(circle at 50% 120%,#a855f715,transparent 58%),linear-gradient(145deg,#f3f5f9,#fff);box-shadow:inset 0 1px #fff}
body.light .nickname-preview-name:not(.nickname-gradient){color:#151922}
body.light .nickname-control-card{background:linear-gradient(145deg,#fff,#f8f9fc)}
body.light .nickname-color-grid label,body.light .nickname-range,body.light .nickname-select,body.light .nickname-direction-presets button,body.light .switch-row.compact{background:#f8f9fc}

@media(max-width:760px){
  .admin-nickname-heading,.admin-nickname-toolbar{align-items:stretch;flex-direction:column}
  .admin-nickname-row{grid-template-columns:42px minmax(0,1fr) auto}
  .admin-nickname-state{display:none}
  .admin-nickname-row button{grid-column:2/4;justify-self:stretch}
  .nickname-color-grid-five{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nickname-color-grid-five label:last-child{grid-column:1/-1}
  .nickname-direction-presets{grid-template-columns:repeat(4,1fr)}
  .nickname-select{grid-template-columns:1fr}
  .nickname-editor-actions{flex-direction:column-reverse}
  .nickname-editor-actions .btn{width:100%}
}

/* v0.2.58 — nickname studio rebuilt in the native SHINY visual language */
.nickname-admin-modal{
  width:min(940px,calc(100% - 28px));
  max-width:min(940px,calc(100% - 28px));
  max-height:min(92vh,980px);
  overflow:hidden;
  border-color:color-mix(in srgb,var(--red) 24%,var(--line));
  background:linear-gradient(145deg,var(--panel),color-mix(in srgb,var(--panel2) 97%,var(--red) 3%));
  box-shadow:0 34px 110px #000b,0 0 0 1px #ffffff05 inset;
}
.nickname-admin-modal:before{
  content:"";
  position:absolute;
  z-index:3;
  top:0;left:24px;right:24px;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--red),var(--red2),transparent);
  opacity:.72;
  pointer-events:none;
}
.nickname-admin-modal .modal-shell{
  max-height:min(92vh,980px);
  overflow-y:auto;
  padding:30px 30px 26px;
  scrollbar-width:none;
}
.nickname-admin-modal .modal-shell::-webkit-scrollbar{display:none}
.nickname-admin-modal .modal-close{
  top:14px;right:16px;
  width:36px;height:36px;
  display:grid;place-items:center;
  border:1px solid var(--line);
  border-radius:10px;
  background:linear-gradient(180deg,var(--panel3),var(--panel2));
  color:var(--muted);
  box-shadow:inset 0 1px 0 #ffffff08;
  transition:border-color .18s ease,color .18s ease,background .18s ease,transform .18s ease;
}
.nickname-admin-modal .modal-close:hover{
  color:var(--red2);
  border-color:color-mix(in srgb,var(--red) 48%,var(--line));
  background:var(--soft);
  transform:translateY(-1px);
}
.nickname-editor{display:grid;gap:18px}
.nickname-editor>.kicker{margin-right:48px}
.nickname-editor>h2{
  margin:-4px 48px 0 0;
  font-size:32px;
  letter-spacing:-.05em;
}
.nickname-editor-note{
  max-width:650px;
  margin:-10px 48px 0 0!important;
  color:var(--muted)!important;
  font-size:11px!important;
  line-height:1.65;
}

.nickname-preview{
  position:relative;
  min-height:190px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:8px;
  padding:30px;
  border:1px solid color-mix(in srgb,var(--red) 24%,var(--line));
  border-radius:16px;
  background:
    radial-gradient(ellipse at 50% 115%,#c72e4238,transparent 62%),
    linear-gradient(135deg,#0b0d10 0%,#111419 58%,#181217 100%);
  overflow:hidden;
  text-align:center;
  box-shadow:inset 0 1px 0 #ffffff09,0 14px 36px #0002;
}
.nickname-preview:before{
  content:"";
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(135deg,transparent 0,transparent 25px,#ffffff05 26px,#ffffff05 27px);
  opacity:.44;
  mask-image:linear-gradient(to bottom,#000b,transparent 92%);
}
.nickname-preview:after{
  content:"";
  position:absolute;
  width:118%;height:210px;
  left:-9%;bottom:-178px;
  border:1px solid #ff5a6a55;
  border-radius:50%;
  transform:rotate(-4deg);
  box-shadow:0 0 34px #f145571d;
}
.nickname-preview>*{position:relative;z-index:1}
.nickname-preview>span{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:var(--red2);
  font:800 9px 'Space Grotesk',sans-serif;
  letter-spacing:.24em;
  text-transform:uppercase;
}
.nickname-preview>span:before{content:"";width:20px;height:2px;background:var(--red)}
.nickname-preview-name{
  font:800 clamp(34px,6vw,54px)/1.02 'Space Grotesk',Manrope,sans-serif;
  letter-spacing:-.05em;
  color:#fff;
}
.nickname-preview>small{color:#a3a8b2;font-size:11px;font-weight:700}
.nickname-preview>em{
  margin-top:2px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:25px;
  padding:0 9px;
  border:1px solid #ffffff0f;
  border-radius:999px;
  background:#ffffff05;
  color:#8c939f;
  font-style:normal;
  font-size:8px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}

#adminNicknameForm{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:12px;
}
#adminNicknameForm>.nickname-enable,
#adminNicknameForm>.nickname-control-card:first-of-type,
#adminNicknameForm>.nickname-editor-actions{grid-column:1/-1}

.nickname-enable,
.switch-row.compact{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  cursor:pointer;
}
.nickname-enable{
  min-height:64px;
  padding:13px 15px!important;
  border:1px solid color-mix(in srgb,var(--red) 32%,var(--line))!important;
  border-radius:12px!important;
  background:linear-gradient(110deg,var(--soft),color-mix(in srgb,var(--panel2) 98%,var(--red) 2%))!important;
  box-shadow:inset 3px 0 0 color-mix(in srgb,var(--red) 82%,transparent);
}
.switch-row.compact{
  min-height:58px;
  padding:11px 12px!important;
  border:1px solid var(--line)!important;
  border-radius:10px!important;
  background:color-mix(in srgb,var(--panel3) 80%,var(--panel2))!important;
  transition:border-color .18s ease,background .18s ease;
}
.switch-row.compact:hover{border-color:color-mix(in srgb,var(--red) 28%,var(--line))!important}
.nickname-enable>span,.switch-row.compact>span{min-width:0;flex:1}
.nickname-enable b,.switch-row.compact b{display:block;color:var(--text);font-size:12px}
.nickname-enable small,.switch-row.compact small{display:block;margin-top:2px;color:var(--muted);font-size:9px;line-height:1.45}
.nickname-enable input[type=checkbox],
.switch-row.compact input[type=checkbox]{
  appearance:none;
  -webkit-appearance:none;
  position:relative;
  flex:0 0 38px;
  width:38px!important;
  height:22px!important;
  margin:0!important;
  border:1px solid #ffffff16;
  border-radius:999px;
  background:#292e34;
  outline:none;
  box-shadow:inset 0 1px 4px #0006;
  cursor:pointer;
  transition:background .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.nickname-enable input[type=checkbox]:before,
.switch-row.compact input[type=checkbox]:before{
  content:"";
  position:absolute;
  left:3px;top:3px;
  width:14px;height:14px;
  border-radius:50%;
  background:#8d949e;
  box-shadow:0 2px 6px #0008;
  transition:transform .2s cubic-bezier(.2,.8,.2,1),background .2s ease;
}
.nickname-enable input[type=checkbox]:checked,
.switch-row.compact input[type=checkbox]:checked{
  border-color:#ff6f7b80;
  background:linear-gradient(135deg,#d92f43,var(--red2));
  box-shadow:0 0 0 3px #f1455710,inset 0 1px 0 #ffffff25;
}
.nickname-enable input[type=checkbox]:checked:before,
.switch-row.compact input[type=checkbox]:checked:before{transform:translateX(16px);background:#fff}
.nickname-enable input[type=checkbox]:focus-visible,
.switch-row.compact input[type=checkbox]:focus-visible{outline:2px solid var(--red);outline-offset:3px}

.nickname-control-card{
  position:relative;
  display:grid;
  align-content:start;
  gap:12px;
  padding:15px;
  border:1px solid var(--line);
  border-radius:13px;
  background:linear-gradient(145deg,var(--panel2),color-mix(in srgb,var(--panel2) 96%,#fff 4%));
  box-shadow:inset 0 1px 0 #ffffff06;
}
.nickname-control-card:before{
  content:"";
  position:absolute;
  left:0;top:16px;bottom:16px;
  width:2px;
  border-radius:0 2px 2px 0;
  background:linear-gradient(180deg,var(--red),transparent 82%);
  opacity:.68;
}
.nickname-control-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:2px}
.nickname-control-head>div{display:grid;gap:3px}
.nickname-control-head b{font-size:12px;color:var(--text);letter-spacing:-.01em}
.nickname-control-head small{font-size:9px;color:var(--faint);line-height:1.45}
.nickname-control-head>span{
  display:inline-flex;
  align-items:center;
  gap:4px;
  min-height:27px;
  padding:0 8px;
  border:1px solid color-mix(in srgb,var(--red) 18%,var(--line));
  border-radius:7px;
  background:var(--soft);
  color:var(--muted);
  font-size:8px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
  white-space:nowrap;
}
.nickname-control-head>span b{color:var(--red2);font-size:9px}

.nickname-presets{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
.nickname-presets button{
  position:relative;
  min-width:0;
  min-height:48px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-end;
  gap:7px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:9px;
  padding:8px 9px;
  background:var(--panel3);
  color:var(--text);
  font-size:8px;
  font-weight:800;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.nickname-presets button:before{content:"";position:absolute;left:8px;right:8px;top:8px;height:7px;border-radius:999px;background:linear-gradient(90deg,var(--red),var(--red2));box-shadow:0 0 14px #ffffff0c}
.nickname-presets button:nth-child(1):before{background:linear-gradient(90deg,#5865f2,#8b5cf6,#d946ef,#ec4899,#f97316)}
.nickname-presets button:nth-child(2):before{background:linear-gradient(90deg,#00e5ff,#3b82f6,#6366f1,#a855f7,#ff4ecd)}
.nickname-presets button:nth-child(3):before{background:linear-gradient(90deg,#2df5c4,#31d8ff,#4e8cff,#8d6bff,#d46cff)}
.nickname-presets button:nth-child(4):before{background:linear-gradient(90deg,#ff4f81,#ff7262,#ffad55,#ffd76a,#fff0a8)}
.nickname-presets button:nth-child(5):before{background:linear-gradient(90deg,#ff75bd,#ff9fce,#d7a7ff,#a9c6ff,#7ee8ff)}
.nickname-presets button:nth-child(6):before{background:linear-gradient(90deg,#bffcff,#83e8ff,#60a5fa,#8b5cf6,#eef2ff)}
.nickname-presets button:hover{
  transform:translateY(-1px);
  border-color:color-mix(in srgb,var(--red) 42%,var(--line));
  background:color-mix(in srgb,var(--panel3) 92%,var(--red) 8%);
  box-shadow:0 8px 20px #0002;
}
.nickname-presets button:focus-visible{outline:2px solid var(--red);outline-offset:2px}

.nickname-color-grid{display:grid;gap:8px}
.nickname-color-grid-five{grid-template-columns:repeat(5,minmax(0,1fr))}
.nickname-color-grid label{
  display:grid;
  grid-template-columns:auto 40px;
  grid-template-areas:"index color" "hex hex";
  align-items:center;
  justify-content:space-between;
  gap:7px;
  min-width:0;
  padding:9px 10px;
  border:1px solid var(--line);
  border-radius:10px;
  background:color-mix(in srgb,var(--panel3) 80%,var(--panel2));
  color:var(--muted);
  transition:border-color .18s ease,background .18s ease;
}
.nickname-color-grid label:hover{border-color:color-mix(in srgb,var(--red) 25%,var(--line));background:var(--panel3)}
.nickname-color-grid label>span{
  grid-area:index;
  width:23px;height:23px;
  display:grid;place-items:center;
  border:1px solid color-mix(in srgb,var(--red) 18%,var(--line));
  border-radius:7px;
  background:var(--soft);
  color:var(--red2);
  font:800 9px 'Space Grotesk',sans-serif;
}
.nickname-color-grid input[type=color]{
  grid-area:color;
  width:40px;height:30px;
  padding:3px;
  border:1px solid #ffffff1a;
  border-radius:7px;
  background:#111418;
  cursor:pointer;
  box-shadow:inset 0 1px 3px #0006;
}
.nickname-color-grid input[type=color]::-webkit-color-swatch-wrapper{padding:0}
.nickname-color-grid input[type=color]::-webkit-color-swatch{border:0;border-radius:4px}
.nickname-color-grid label>small{
  grid-area:hex;
  overflow:hidden;
  color:var(--faint);
  font:700 8px 'Space Grotesk',sans-serif;
  letter-spacing:.04em;
  text-overflow:ellipsis;
}

.nickname-range{
  --nickname-range-progress:50%;
  display:grid;
  gap:9px;
  padding:11px 12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:color-mix(in srgb,var(--panel3) 80%,var(--panel2));
}
.nickname-range>span{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:9px;font-weight:800}
.nickname-range>span b{color:var(--text);font-size:9px}
.nickname-range input[type=range]{
  appearance:none;
  -webkit-appearance:none;
  width:100%;height:4px;
  border:0;border-radius:999px;
  outline:none;
  background:linear-gradient(90deg,var(--red) 0 var(--nickname-range-progress),#343941 var(--nickname-range-progress) 100%);
  cursor:pointer;
}
.nickname-range input[type=range]::-webkit-slider-thumb{
  appearance:none;
  -webkit-appearance:none;
  width:14px;height:14px;
  border:2px solid #f9fafb;
  border-radius:50%;
  background:var(--red);
  box-shadow:0 0 0 4px #f1455719,0 2px 7px #0008;
}
.nickname-range input[type=range]::-moz-range-thumb{
  width:11px;height:11px;
  border:2px solid #f9fafb;
  border-radius:50%;
  background:var(--red);
  box-shadow:0 0 0 4px #f1455719,0 2px 7px #0008;
}
.nickname-range input[type=range]:focus-visible{outline:2px solid var(--red);outline-offset:5px}

.nickname-select{
  display:grid;
  grid-template-columns:1fr minmax(160px,220px);
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:color-mix(in srgb,var(--panel3) 80%,var(--panel2));
  color:var(--muted);
  font-size:9px;
  font-weight:800;
}
.nickname-select select{
  appearance:none;
  -webkit-appearance:none;
  width:100%;min-height:38px;
  border:1px solid var(--line);
  border-radius:8px;
  background:
    linear-gradient(45deg,transparent 50%,var(--muted) 50%) calc(100% - 16px) 16px/5px 5px no-repeat,
    linear-gradient(135deg,var(--muted) 50%,transparent 50%) calc(100% - 11px) 16px/5px 5px no-repeat,
    linear-gradient(180deg,var(--panel2),var(--panel));
  color:var(--text);
  padding:0 34px 0 11px;
  outline:none;
  font-size:10px;
  font-weight:700;
  cursor:pointer;
  transition:border-color .18s ease,box-shadow .18s ease;
}
.nickname-select select:hover,.nickname-select select:focus{
  border-color:color-mix(in srgb,var(--red) 46%,var(--line));
  box-shadow:0 0 0 3px #f145570d;
}

.nickname-direction-presets{display:grid;grid-template-columns:repeat(8,1fr);gap:6px}
.nickname-direction-presets button{
  position:relative;
  display:grid;
  place-items:center;
  min-width:0;
  min-height:42px;
  padding:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:10px;
  background:linear-gradient(180deg,color-mix(in srgb,var(--panel3) 94%,#fff 6%),var(--panel2));
  color:var(--muted);
  box-shadow:inset 0 1px 0 #ffffff08;
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease;
}
.nickname-direction-presets button:before{
  content:"";
  position:absolute;
  inset:5px;
  border-radius:7px;
  border:1px solid transparent;
  pointer-events:none;
  transition:border-color .18s ease,background .18s ease;
}
.nickname-direction-icon{
  position:relative;
  z-index:1;
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:filter .18s ease,color .18s ease;
}
.nickname-direction-presets button:hover{
  transform:translateY(-1px);
  border-color:color-mix(in srgb,var(--red) 42%,var(--line));
  background:linear-gradient(180deg,color-mix(in srgb,var(--soft) 72%,var(--panel3)),var(--panel2));
  color:var(--text);
  box-shadow:0 7px 18px #0000001f,inset 0 1px 0 #ffffff0b;
}
.nickname-direction-presets button:hover:before{border-color:#ffffff0a}
.nickname-direction-presets button.active{
  border-color:#f45b6baa;
  background:linear-gradient(145deg,#f1455728,#f145570b 60%,var(--panel2));
  box-shadow:inset 0 0 0 1px #f1455725,0 7px 20px #f1455716;
  color:var(--red2);
}
.nickname-direction-presets button.active:before{
  border-color:#f45b6b2e;
  background:radial-gradient(circle at 50% 50%,#f1455715,transparent 72%);
}
.nickname-direction-presets button.active .nickname-direction-icon{filter:drop-shadow(0 0 5px #f1455768)}
.nickname-direction-presets button:focus-visible{outline:2px solid var(--red);outline-offset:2px}

.nickname-editor-actions{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-top:2px;
  padding:14px 0 0;
  border-top:1px solid var(--line);
}
.nickname-editor-actions .btn{min-width:190px}
.nickname-editor-actions [data-nickname-disable]{color:var(--muted);background:transparent}
.nickname-editor-actions [data-nickname-disable]:hover{color:var(--red2);background:var(--soft)}
.nickname-editor-actions .btn-red{box-shadow:0 8px 28px #e9394532,inset 0 1px 0 #ffffff23}

.admin-nickname-state.active{
  color:var(--red2);
  border-color:color-mix(in srgb,var(--red) 34%,var(--line));
  background:var(--soft);
}

body.light .nickname-admin-modal{background:linear-gradient(145deg,#fff,#fafbfc);border-color:#efadb3}
body.light .nickname-admin-modal .modal-close{background:linear-gradient(180deg,#fff,#f3f4f6);box-shadow:0 1px 2px #1118270a}
body.light .nickname-preview{
  border-color:#e7b5ba;
  background:radial-gradient(ellipse at 50% 115%,#f1455719,transparent 64%),linear-gradient(145deg,#fff,#f6f7f9);
  box-shadow:inset 0 1px #fff,0 12px 32px #1118270b;
}
body.light .nickname-preview:before{background:repeating-linear-gradient(135deg,transparent 0,transparent 25px,#11182708 26px,#11182708 27px)}
body.light .nickname-preview-name:not(.nickname-gradient){color:#181a21}
body.light .nickname-preview>small{color:#6a707b}
body.light .nickname-preview>em{border-color:#1118270d;background:#11182705;color:#737985}
body.light .nickname-control-card{background:linear-gradient(145deg,#fff,#f7f8fa);box-shadow:0 1px 2px #11182708,inset 0 1px #fff}
body.light .nickname-enable{background:linear-gradient(110deg,#fff2f3,#fff)!important}
body.light .switch-row.compact,
body.light .nickname-color-grid label,
body.light .nickname-range,
body.light .nickname-select{background:#f8f9fb!important}
body.light .nickname-enable input[type=checkbox],body.light .switch-row.compact input[type=checkbox]{background:#d7dbe1;border-color:#c8cdd5;box-shadow:inset 0 1px 2px #11182712}
body.light .nickname-enable input[type=checkbox]:checked,body.light .switch-row.compact input[type=checkbox]:checked{background:linear-gradient(135deg,#d92f43,var(--red2));border-color:#e95b68}
body.light .nickname-presets button{background:#f7f8fa}
body.light .nickname-direction-presets button{background:linear-gradient(180deg,#fff,#f2f4f7)}
body.light .nickname-select select{background:linear-gradient(45deg,transparent 50%,#737985 50%) calc(100% - 16px) 16px/5px 5px no-repeat,linear-gradient(135deg,#737985 50%,transparent 50%) calc(100% - 11px) 16px/5px 5px no-repeat,linear-gradient(180deg,#fff,#f4f5f7)}
body.light .nickname-range input[type=range]{background:linear-gradient(90deg,var(--red) 0 var(--nickname-range-progress),#d8dce2 var(--nickname-range-progress) 100%)}

@media(max-width:820px){
  .nickname-admin-modal .modal-shell{padding:25px 18px 20px}
  #adminNicknameForm{grid-template-columns:1fr}
  #adminNicknameForm>.nickname-enable,#adminNicknameForm>.nickname-control-card:first-of-type,#adminNicknameForm>.nickname-editor-actions{grid-column:auto}
  .nickname-presets{grid-template-columns:repeat(3,1fr)}
  .nickname-color-grid-five{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nickname-color-grid-five label:last-child{grid-column:1/-1}
  .nickname-direction-presets{grid-template-columns:repeat(4,1fr)}
  .nickname-select{grid-template-columns:1fr}
  .nickname-editor-actions{flex-direction:column-reverse}
  .nickname-editor-actions .btn{width:100%;min-width:0}
}
@media(max-width:480px){
  .nickname-admin-modal{width:calc(100% - 16px);max-width:calc(100% - 16px)}
  .nickname-editor>h2{font-size:27px}
  .nickname-preview{min-height:165px;padding:23px 14px}
  .nickname-presets{grid-template-columns:repeat(2,1fr)}
  .nickname-color-grid-five{grid-template-columns:1fr}
  .nickname-color-grid-five label:last-child{grid-column:auto}
}

/* v0.2.60 — SVG direction controls; arrows now match actual gradient travel direction. */
body.light .nickname-direction-presets button:before{border-color:transparent}
body.light .nickname-direction-presets button:hover:before{border-color:#1118270b}
body.light .nickname-direction-presets button.active:before{border-color:#e94a5928;background:radial-gradient(circle at 50% 50%,#f1455710,transparent 72%)}


/* v0.2.79 — no rectangular GPU/filter blur behind gradient nicknames */
.nickname-gradient,.nickname-gradient.has-glow{filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}
.leader-row .nickname-gradient,.member-card .nickname-gradient,.clan-card .nickname-gradient{isolation:auto!important}


/* v0.2.80 — gradient nicknames never render blur/glow anywhere */
.nickname-gradient,.nickname-gradient.has-glow{filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;text-shadow:none!important}

/* v0.2.83 — expanded nickname studio + layout fixes */
.nickname-gradient{
  font-family:var(--nickname-font,inherit)!important;
  font-style:var(--nickname-font-style,normal)!important;
  letter-spacing:var(--nickname-tracking,inherit)!important;
}
#adminNicknameForm{align-items:start!important}
#adminNicknameForm>.nickname-control-card{align-self:start;min-width:0}
#adminNicknameForm>.nickname-palette-card{grid-column:1/-1!important}
#adminNicknameForm>.nickname-effects-card,
#adminNicknameForm>.nickname-text-card{grid-column:auto!important}
.nickname-context[hidden]{display:none!important}
.nickname-effects-card,.nickname-text-card{min-height:0!important}
.nickname-editor-actions{align-items:center!important}
.nickname-editor-actions-left{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.nickname-editor-actions-left .btn{min-width:0!important}
.nickname-editor-actions>[type=submit]{margin-left:auto}
.nickname-control-card .nickname-range,.nickname-control-card .nickname-select,.nickname-control-card .switch-row.compact{min-width:0}
.nickname-direction-card{height:auto!important;min-height:0!important}
.nickname-admin-modal .modal-shell{overscroll-behavior:contain;scroll-padding-top:18px}
@media(max-width:820px){
  #adminNicknameForm>.nickname-palette-card,#adminNicknameForm>.nickname-effects-card,#adminNicknameForm>.nickname-text-card{grid-column:auto!important}
  .nickname-editor-actions-left{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .nickname-editor-actions>[type=submit]{margin-left:0}
}
@media(max-width:520px){
  .nickname-editor-actions-left{grid-template-columns:1fr}
}

/* v0.2.84 — accurate range progress + balanced advanced controls */
.nickname-range input[type=range]{
  height:16px!important;
  background:transparent!important;
  border-radius:999px!important;
}
.nickname-range input[type=range]::-webkit-slider-runnable-track{
  width:100%;
  height:4px;
  border:0;
  border-radius:999px;
  background:linear-gradient(90deg,var(--red) 0 var(--nickname-range-progress),#343941 var(--nickname-range-progress) 100%);
}
.nickname-range input[type=range]::-webkit-slider-thumb{
  margin-top:-5px;
}
.nickname-range input[type=range]::-moz-range-track{
  width:100%;
  height:4px;
  border:0;
  border-radius:999px;
  background:#343941;
}
.nickname-range input[type=range]::-moz-range-progress{
  height:4px;
  border:0;
  border-radius:999px;
  background:var(--red);
}
body.light .nickname-range input[type=range]{background:transparent!important}
body.light .nickname-range input[type=range]::-webkit-slider-runnable-track{
  background:linear-gradient(90deg,var(--red) 0 var(--nickname-range-progress),#d8dce2 var(--nickname-range-progress) 100%);
}
body.light .nickname-range input[type=range]::-moz-range-track{background:#d8dce2}

@media(min-width:821px){
  #adminNicknameForm>.nickname-effects-card,
  #adminNicknameForm>.nickname-text-card{
    grid-column:1/-1!important;
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr))!important;
    align-items:start!important;
    gap:10px!important;
  }
  #adminNicknameForm>.nickname-effects-card>.nickname-control-head,
  #adminNicknameForm>.nickname-text-card>.nickname-control-head{grid-column:1/-1!important}
}
@media(max-width:820px){
  #adminNicknameForm>.nickname-effects-card,
  #adminNicknameForm>.nickname-text-card{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
}

/* ===== runtime-0277.css ===== */
/* SHINY v0.2.77 runtime CSSOM target.
   Dynamic visual values are inserted into this same-origin stylesheet so the site
   can keep style-src-attr 'none' without generating inline-style CSP violations. */

/* ===== security-info.css ===== */
/* Public Discord overview uses only validated, server-returned public fields. */
.guild-overview{display:grid;gap:20px;padding:clamp(20px,3vw,34px);border:1px solid #ffffff21;border-radius:24px;background:linear-gradient(130deg,#21181c,#171b1e 53%,#191619);box-shadow:0 20px 80px #0005;overflow:hidden}
.guild-top{position:relative;min-height:150px;display:flex;align-items:center;isolation:isolate}
.guild-background{position:absolute;inset:0 0 0 auto;width:52%;height:100%;object-fit:cover;opacity:.22;mask-image:linear-gradient(to right,transparent,#000 58%);z-index:-1}
.guild-identity{display:flex;align-items:center;gap:22px;max-width:850px}
.guild-identity>svg{width:75px;height:75px;color:#ff6b7b;flex-shrink:0}
.guild-icon{width:88px;height:88px;flex-shrink:0;border-radius:24px;border:2px solid #ff84905a;box-shadow:0 0 50px #f3455934;object-fit:cover}
.guild-identity h2{font-size:clamp(25px,4vw,43px);margin:9px 0 10px;letter-spacing:-.03em}
.guild-identity p{max-width:750px;color:#bac0c6;line-height:1.7;overflow-wrap:anywhere}
.guild-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.guild-fact{display:flex;flex-direction:column;gap:12px;padding:19px;min-width:0;border:1px solid #ffffff16;border-radius:15px;background:#ffffff05}
.guild-fact span{font-size:12px;color:#a7aab3}
.guild-fact b{font-size:clamp(14px,2vw,19px);overflow-wrap:anywhere}
.guild-features{display:flex;flex-wrap:wrap;gap:9px}
.guild-feature{display:inline-flex;gap:7px;align-items:center;font-size:12px;color:#ffb7c0;background:#ff5b7610;border:1px solid #ff728b33;border-radius:999px;padding:8px 12px}
.guild-feature svg{width:14px;height:14px}
.guild-links{display:flex;flex-wrap:wrap;gap:10px}
.guild-channel{display:inline-flex;align-items:center;gap:9px;padding:12px 15px;border-radius:12px;border:1px solid #ffffff25;color:#f1f2f5;text-decoration:none;transition:transform .23s ease,border-color .23s ease,background .23s ease}
.guild-channel:hover{transform:translateY(-3px);border-color:#fb738a;background:#fb738a13}
.guild-channel svg{width:16px;height:16px}
.guild-placeholder{margin:0}
@media(max-width:800px){.guild-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.guild-identity{align-items:flex-start}.guild-icon{width:64px;height:64px;border-radius:17px}}
@media(max-width:500px){.guild-facts{grid-template-columns:1fr 1fr}.guild-fact{padding:12px}.guild-overview{padding:17px}.guild-identity{gap:11px}.guild-icon{width:52px;height:52px}.guild-channel{width:100%}}
@media(prefers-reduced-motion:reduce){.guild-channel{transition:none}}

/* ===== profile-studio.css ===== */
/* SHINY 0.1.33 — refined identity studio. Styles are stylesheet-only for CSP. */
.profile-universe{--profile-accent:#ed425c;--profile-accent-soft:#ed425c33;--profile-accent-faint:#ed425c12;isolation:isolate}
.profile-universe .profile-layout{margin-top:22px;gap:20px}
.profile-universe .profile-content,.profile-universe .profile-side-stack{gap:20px}
.profile-universe .panel{border-color:color-mix(in srgb,var(--profile-accent) 12%,var(--line));transition:border-color .34s ease,box-shadow .34s ease}
.profile-universe .panel:hover{border-color:color-mix(in srgb,var(--profile-accent) 34%,var(--line))}
.premium-profile{display:block;overflow:hidden;padding:0;position:relative;min-height:0;height:auto;border-radius:22px;border:1px solid var(--profile-accent-soft);background:#0a0d18;box-shadow:0 25px 100px #0005,0 0 95px var(--profile-accent-faint)}
.profile-cover{height:clamp(235px,28vw,345px);overflow:hidden;position:relative;isolation:isolate}
.premium-profile .profile-hero-art{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 44%;opacity:.94;mask-image:none;filter:saturate(1.14) contrast(1.04);transition:filter .6s ease,transform 1s cubic-bezier(.2,.7,.2,1)}
.premium-profile:hover .profile-hero-art{transform:scale(1.035)}
.profile-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#070b1815 12%,#080b1990 76%,#0b0d16),linear-gradient(90deg,#0c0d1999,transparent 60%);pointer-events:none}
.profile-cover-noise{position:absolute;inset:0;z-index:1;background:radial-gradient(ellipse at 75% 35%,var(--profile-accent-soft),transparent 55%);mix-blend-mode:screen;pointer-events:none}
.profile-cover-top{position:absolute;z-index:3;top:25px;left:30px;right:30px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.profile-cover-top>span{display:flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid #ffffff3a;background:#1218258c;border-radius:999px;backdrop-filter:blur(18px);color:#fff;font-size:10px;letter-spacing:.14em;font-weight:800}
.premium-profile .premium-head{padding:0 42px 36px;min-height:160px;position:relative;z-index:4;display:flex;align-items:flex-end;gap:26px;margin-top:-53px;background:none}
.premium-profile .profile-summary{padding-top:63px;min-width:0;flex:1}
.premium-profile .profile-summary h1{font-size:clamp(30px,4vw,47px);margin:6px 0 4px;letter-spacing:-.045em;line-height:1.1;overflow-wrap:anywhere}
.premium-profile .profile-summary>p{margin-bottom:7px;color:#bcc1cf}
.premium-profile .profile-summary>.member-tagline{font-size:13px;color:#fff;margin:8px 0 12px;font-weight:650;letter-spacing:.01em}
.premium-profile .profile-summary .roles{margin:9px 0;gap:7px}
.avatar-shell{display:grid;place-items:center;border-radius:50%;position:relative;flex-shrink:0;padding:5px;background:transparent;isolation:isolate}
.avatar-shell>img{width:100%;height:100%;object-fit:cover;border:4px solid #111320;border-radius:50%;position:relative;z-index:1;background:#121622;box-shadow:0 11px 38px #0009;display:block}
.avatar-main{width:138px;height:138px}
.avatar-shell:before{content:"";position:absolute;inset:0;border-radius:50%;background:var(--frame-gradient,linear-gradient(130deg,#ff7188,#d51d43,#ffabb8));box-shadow:0 0 25px var(--profile-accent-soft),inset 0 0 9px #ffffff32;z-index:0}
.avatar-shell:after{content:"";position:absolute;inset:-7px;border:1px solid #ffffff28;border-radius:50%;pointer-events:none}
.avatar-shell.frame-none{padding:0}.avatar-shell.frame-none:before,.avatar-shell.frame-none:after{display:none}
.frame-crimson{--frame-gradient:conic-gradient(from 25deg,#fb8098,#8d1232,#fa4965,#ffd2da,#b01436,#fb8098)}
.frame-royal{--frame-gradient:conic-gradient(#b187ea,#f9d9a0,#8970ef,#f3cbd9,#b187ea)}
.frame-holographic{--frame-gradient:conic-gradient(#6cfbd5,#8da4ff,#f8a7f6,#ffe08b,#6cfbd5)}
.frame-sakura{--frame-gradient:conic-gradient(#ff7da6,#ffe0ed,#cf62c8,#ff9db8,#ff7da6)}
.frame-ember{--frame-gradient:conic-gradient(#ffdb73,#fa7256,#b01626,#ff9852,#ffdb73)}
.frame-frost{--frame-gradient:conic-gradient(#e3faff,#71bcfa,#435cd2,#bdf2ff,#e3faff)}
.effect-aurora .avatar-shell:before,.effect-glow .avatar-shell:before{animation:shiny-frame-spin 8s linear infinite;box-shadow:0 0 23px var(--profile-accent-soft)}
.effect-glow .premium-profile{box-shadow:0 27px 90px #0006,0 0 55px var(--profile-accent-soft)}
.effect-aurora .profile-cover-noise{animation:shiny-aura 9s ease-in-out infinite alternate}
.effect-none .premium-profile .profile-hero-art{transition:none}
.profile-universe .profile-menu button.active{color:var(--profile-accent);border-color:var(--profile-accent-soft);background:var(--profile-accent-faint)}
.profile-universe .profile-menu .ui-icon{width:17px;height:17px;flex-shrink:0}
.profile-universe .profile-side-stack .panel{padding:22px}
.profile-universe .profile-side-stack h3{display:flex;align-items:center;gap:8px}
.profile-universe .profile-side-stack h3>.ui-icon{color:var(--profile-accent);width:17px}
.profile-universe .role-section-title{display:flex;align-items:center;gap:9px}
.profile-universe .achievement i{display:grid;place-items:center;color:var(--profile-accent)}
.profile-studio h2{margin:8px 0 10px;font-size:clamp(27px,3vw,38px);letter-spacing:-.04em}
.profile-studio h2 em{font-style:normal;color:var(--profile-accent)}
.studio-preview{height:220px;border-radius:17px;overflow:hidden;position:relative;isolation:isolate;background:#0d1120;border:1px solid var(--profile-accent-soft);margin:25px 0 32px;color:#fff}
.studio-preview>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;opacity:.87}
.studio-preview:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#060b19dd,#060b1955 75%),linear-gradient(0deg,#080d20a8,transparent 75%);pointer-events:none}
.studio-preview .avatar-shell{height:65px;width:65px;padding:3px;margin-bottom:5px}.studio-preview .avatar-shell img{border-width:2px}
.studio-form{display:flex;flex-direction:column;gap:24px}
.studio-group{min-width:0;padding:23px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(150deg,var(--profile-accent-faint),transparent 62%)}
.studio-label{display:flex;gap:12px;align-items:center;margin-bottom:19px}
.studio-label>.ui-icon{color:var(--profile-accent);width:23px;height:23px}
.studio-label b,.studio-label small{display:block}.studio-label b{font-size:16px}.studio-label small{font-size:11px;margin-top:3px;color:var(--muted)}
.banner-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.banner-choice{display:block;position:relative;cursor:pointer;min-width:0;overflow:hidden;border-radius:12px;background:var(--panel2);border:2px solid transparent;transition:transform .25s,border-color .25s,box-shadow .25s}
.banner-choice img{aspect-ratio:2/1;width:100%;height:auto;object-fit:cover}
.banner-choice span{display:block;font-size:10px;font-weight:700;padding:8px 10px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.banner-choice input,.frame-choice input,.accent-choice input{position:absolute;opacity:0;pointer-events:none}
.banner-choice:has(input:checked),.frame-choice:has(input:checked){border-color:var(--profile-accent);box-shadow:0 0 0 3px var(--profile-accent-soft)}
.banner-choice:hover,.frame-choice:hover{transform:translateY(-3px)}
.studio-upload{display:inline-flex;cursor:pointer;margin-top:17px;gap:8px;align-items:center;max-width:100%;width:auto}
.studio-hint{font-size:11px;color:var(--muted);line-height:1.6;margin-top:10px}
.frame-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:10px}
.frame-choice{position:relative;display:flex;flex-direction:column;align-items:center;gap:9px;cursor:pointer;background:var(--panel2);border:2px solid transparent;border-radius:13px;padding:13px 6px;transition:transform .25s,border-color .25s}
.frame-choice b{font-size:10px;font-weight:750}.frame-choice .frame-sample{height:51px;width:51px;padding:3px}.frame-choice .frame-sample img{border-width:2px}
.accent-picker{display:flex;align-items:center;flex-wrap:wrap;gap:11px}
.accent-choice{display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer;border-radius:100%;border:2px solid transparent;padding:4px}
.accent-choice:has(input:checked){border-color:var(--text)}
.swatch-dot{display:block;height:28px;width:28px;border-radius:50%;background:var(--swatch);box-shadow:inset 0 1px 3px #ffffff44}
.color-custom{display:flex;align-items:center;gap:9px;padding:7px 10px;border:1px solid var(--line);border-radius:10px;font-size:11px;font-weight:700;cursor:pointer}
.color-custom input{width:26px;height:26px;border:0;padding:0;background:transparent;cursor:pointer}
.studio-text-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.studio-text-grid .field{min-width:0}.studio-span{grid-column:1/-1}
.studio-privacy{margin:0;padding:17px 20px;border:1px solid var(--line);border-radius:13px}
.studio-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.studio-footer>span{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px}
.studio-footer .btn{min-width:185px}
.news-sync{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:8px;border:1px solid var(--line);font-size:10px;font-weight:750;white-space:nowrap}
.news-sync-synced{color:#67d5a8;border-color:#3b997856;background:#3b99781a}
.news-sync-failed{color:#fb938c;border-color:#ce5d5366;background:#ce5d5315}
.admin-row-actions{gap:9px;flex-wrap:wrap}.admin-row-actions button{display:flex;align-items:center;gap:6px}
@keyframes shiny-frame-spin{to{transform:rotate(360deg)}}
@keyframes shiny-aura{to{opacity:.35;transform:translateX(7%) scale(1.1)}}
@media(max-width:1000px){.premium-profile .premium-head{padding:0 28px 30px}}
@media(max-width:600px){.premium-profile{border-radius:17px}.profile-cover{height:230px}.profile-cover-top{top:14px;left:15px;right:15px}.profile-cover-top>span{font-size:8px;letter-spacing:.08em;padding:8px}.premium-profile .premium-head{margin-top:-42px;padding:0 18px 24px;align-items:flex-start;flex-direction:column;gap:6px}.premium-profile .profile-summary{padding-top:4px}.avatar-main{height:105px;width:105px}.premium-profile .profile-summary h1{font-size:34px}.premium-profile .profile-summary .roles{margin:12px 0}.studio-preview{height:190px}.studio-group{padding:16px}.banner-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.frame-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-text-grid{grid-template-columns:1fr}.studio-span{grid-column:auto}.studio-footer .btn{width:100%}.profile-universe .profile-layout{gap:15px}.profile-universe .profile-content,.profile-universe .profile-side-stack{gap:15px}}
@media(prefers-reduced-motion:reduce){.effect-glow .avatar-shell:before,.effect-aurora .avatar-shell:before,.effect-aurora .profile-cover-noise{animation:none}.premium-profile .profile-hero-art{transition:none}.banner-choice,.frame-choice{transition:none}}

.swatch-dot[data-accent="#ed425c"]{--swatch:#ed425c}
.swatch-dot[data-accent="#fb7185"]{--swatch:#fb7185}
.swatch-dot[data-accent="#a855f7"]{--swatch:#a855f7}
.swatch-dot[data-accent="#6575ff"]{--swatch:#6575ff}
.swatch-dot[data-accent="#2dd4bf"]{--swatch:#2dd4bf}
.swatch-dot[data-accent="#f7bd65"]{--swatch:#f7bd65}
.swatch-dot[data-accent="#f472b6"]{--swatch:#f472b6}
.swatch-dot[data-accent="#f5f5f7"]{--swatch:#f5f5f7}

/* SHINY 0.1.33 / invisible native scrollbar, scrolling remains fully functional. */
html, body, body * {scrollbar-width:none!important;-ms-overflow-style:none!important;}
html::-webkit-scrollbar, body::-webkit-scrollbar, body *::-webkit-scrollbar{width:0!important;height:0!important;display:none!important;background:transparent!important;}
html{overflow-y:auto;scrollbar-gutter:auto}

/* Member identity / layered, SVG-based avatar decorations */
.profile-universe{--identity-glass:#ffffff08;--identity-ring:color-mix(in srgb,var(--profile-accent) 45%,#ffffff30)}
.avatar-shell{overflow:visible!important;--frame-gradient:linear-gradient(135deg,#f45e7d,#ad1444);transition:filter .35s,transform .35s}
.avatar-shell>img:not(.frame-art){position:relative;z-index:2;width:100%;height:100%;object-fit:cover;border-radius:50%;border:4px solid #111520;box-shadow:0 10px 34px #0009;min-width:0;min-height:0}
.avatar-shell>img.frame-art{position:absolute!important;inset:-13%!important;display:block!important;width:126%!important;height:126%!important;max-width:none!important;object-fit:contain!important;z-index:5!important;pointer-events:none!important;user-select:none!important;filter:drop-shadow(0 5px 6px #07050c99) drop-shadow(0 0 7px var(--profile-accent-soft));border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important;transform:translateZ(0)}
.avatar-shell:before{inset:2px;box-shadow:0 0 28px var(--profile-accent-soft)}
.avatar-shell:after{inset:-7px;border-color:color-mix(in srgb,var(--profile-accent) 24%,transparent)}
.avatar-shell.frame-none>img:not(.frame-art){border:3px solid #232532}
.avatar-shell.frame-none:before,.avatar-shell.frame-none:after{display:none!important}
.avatar-shell.avatar-small{width:58px;height:58px;padding:3px;isolation:isolate}
.avatar-shell.avatar-small .avatar{width:100%;height:100%;border-width:2px}
.avatar-shell.avatar-small .frame-art{inset:-13%!important;width:126%!important;height:126%!important}
.user-mini>.avatar-shell{flex:0 0 auto}
.studio-preview .avatar-shell>img:not(.frame-art){border-width:2px}
.studio-preview .avatar-shell .frame-art{inset:-16%!important;width:132%!important;height:132%!important}
.frame-choice .avatar-shell{height:68px;width:68px;padding:4px;flex-shrink:0;isolation:isolate}
.frame-choice .avatar-shell>img:not(.frame-art){border-width:2px}
.frame-choice .avatar-shell>img.frame-art{inset:-15%!important;width:130%!important;height:130%!important}
.frame-choice .frame-none:before,.frame-choice .frame-none:after{display:none}
.effect-aurora .avatar-shell>img.frame-art{animation:shiny-art-breathe 5.2s ease-in-out infinite}
.effect-glow .avatar-shell>img.frame-art{animation:shiny-art-breathe 4s ease-in-out infinite}
@keyframes shiny-art-breathe{50%{filter:drop-shadow(0 6px 6px #07050c88) drop-shadow(0 0 17px var(--profile-accent))}}

/* Public profile: more deliberate depth, airy hierarchy and premium cover. */
.premium-profile{border-color:color-mix(in srgb,var(--profile-accent) 36%,#ffffff30);box-shadow:0 30px 94px #0008,0 0 0 1px #ffffff06,0 0 66px var(--profile-accent-faint)}
.premium-profile:before{content:"";position:absolute;z-index:5;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,var(--profile-accent),#ffffff93,var(--profile-accent),transparent);opacity:.66;pointer-events:none}
.profile-cover{height:clamp(255px,30vw,388px);background:#0c101c}
.profile-cover .profile-hero-art{object-position:center 48%}
.profile-cover:after{background:linear-gradient(180deg,#08091319 0%,#0a0b1460 62%,#0b0d16 100%),linear-gradient(90deg,#0c0d1970,transparent 65%)}
.profile-cover-noise{background:radial-gradient(ellipse at 68% 22%,var(--profile-accent-soft),transparent 62%),linear-gradient(90deg,#00000010,transparent)}
.profile-cover-top>span{box-shadow:0 8px 24px #0003, inset 0 1px #ffffff12}
.premium-profile .premium-head{gap:29px;margin-top:-66px;min-height:188px;padding:0 44px 36px}
.avatar-main{width:148px;height:148px;filter:drop-shadow(0 10px 14px #0007)}
.premium-profile .profile-summary{padding-top:75px}
.premium-profile .profile-summary h1{font-family:'Space Grotesk',Manrope,sans-serif;font-weight:750;letter-spacing:-.055em;text-wrap:balance;text-shadow:0 3px 20px #0004}
.premium-profile .profile-summary>p{font-size:13px}
.premium-profile .profile-summary>.member-tagline{max-width:640px;color:#f2eaf2;font-size:14px}
.premium-profile .profile-summary .roles{margin:14px 0 12px}
.profile-universe .profile-menu{padding:8px}
.profile-universe .profile-menu button{border-radius:11px;transition:background .22s,border-color .22s,color .22s,transform .22s}
.profile-universe .profile-menu button:hover{transform:translateX(3px);background:var(--profile-accent-faint)}
.profile-universe .profile-content>.panel,.profile-universe .profile-side-stack>.panel{box-shadow:0 14px 35px #00000017,inset 0 1px #ffffff07}
.profile-universe .profile-content .panel-heading h3{letter-spacing:-.035em}
.profile-universe .profile-side-stack .panel{padding:24px}
.profile-universe .profile-side-stack .panel .btn{margin-top:10px}

/* Style studio: clear previews, tactile choices, visual selection. */
.profile-studio{position:relative;background:linear-gradient(148deg,var(--profile-accent-faint),transparent 33%),var(--panel)}
.profile-studio h2{font-family:'Space Grotesk',Manrope,sans-serif;letter-spacing:-.055em}
.studio-preview{height:252px;margin:25px 0 30px;border-radius:21px;box-shadow:0 19px 50px #0004,0 0 0 1px #ffffff08}
.studio-preview>img{object-position:center;transition:opacity .3s ease,transform .75s cubic-bezier(.2,.7,.2,1)}
.studio-preview:hover>img{transform:scale(1.025)}
.studio-preview:after{background:linear-gradient(90deg,#080917db,transparent 93%),linear-gradient(0deg,#080a16af,transparent 78%)}
.studio-group{border-color:color-mix(in srgb,var(--profile-accent) 15%,var(--line));background:linear-gradient(145deg,var(--profile-accent-faint),transparent 63%),var(--panel2);box-shadow:inset 0 1px #ffffff05}
.studio-label>b,.studio-label b{letter-spacing:-.02em}
.banner-picker{gap:13px}
.banner-choice{border:1px solid var(--line);border-radius:15px;box-shadow:0 8px 20px #0002;transition:transform .32s cubic-bezier(.2,.8,.2,1),border-color .25s,box-shadow .25s;background:var(--panel)}
.banner-choice img{aspect-ratio:2.55/1;transition:transform .6s cubic-bezier(.2,.8,.2,1);background:#151320}
.banner-choice:hover img{transform:scale(1.07)}
.banner-choice span{font-size:11px;padding:10px 13px}
.banner-choice:has(input:checked){border-color:var(--profile-accent);box-shadow:0 0 0 2px var(--profile-accent-soft),0 13px 30px #0003}
.banner-choice:has(input:checked):after,.frame-choice:has(input:checked):after{content:"";position:absolute;top:10px;right:10px;width:17px;height:17px;border-radius:50%;background:var(--profile-accent);box-shadow:0 0 0 3px #101018b0,0 0 17px var(--profile-accent-soft);pointer-events:none}
.banner-choice:has(input:checked):before,.frame-choice:has(input:checked):before{content:"";position:absolute;z-index:1;top:15px;right:15px;width:7px;height:4px;border-left:1.8px solid white;border-bottom:1.8px solid white;transform:rotate(-45deg);pointer-events:none}
.frame-picker{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:12px}
.frame-choice{padding:17px 8px 14px;gap:15px;min-height:129px;border:1px solid var(--line);border-radius:15px;box-shadow:0 6px 22px #0002;justify-content:center;transition:transform .27s,border-color .27s,box-shadow .27s}
.frame-choice:hover{transform:translateY(-4px);border-color:var(--identity-ring);box-shadow:0 14px 28px #0003}
.frame-choice b{font-size:11px;font-weight:750;text-align:center;line-height:1.3}
.frame-choice:has(input:checked){background:linear-gradient(155deg,var(--profile-accent-faint),var(--panel2) 75%);border-color:var(--profile-accent);box-shadow:0 0 0 2px var(--profile-accent-soft),0 13px 28px #0003}
.frame-choice:has(input:checked):after{top:8px;right:8px;width:14px;height:14px}
.frame-choice:has(input:checked):before{top:12px;right:12px;width:6px;height:3px}
.frame-choice input:focus-visible~.frame-sample,.banner-choice input:focus-visible~img{outline:2px solid var(--profile-accent);outline-offset:4px}
.studio-upload{border-style:dashed;justify-content:center}
.studio-footer{padding-top:6px}
.studio-footer .btn{min-width:210px}
@media(max-width:720px){.premium-profile .premium-head{padding:0 24px 27px;gap:20px;margin-top:-52px}.avatar-main{width:116px;height:116px}.premium-profile .profile-summary{padding-top:59px}.profile-cover{height:252px}.studio-preview{height:220px}.banner-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.frame-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.frame-choice{min-height:113px;padding:12px 4px 10px}.frame-choice .avatar-shell{width:55px;height:55px}.frame-choice b{font-size:10px}}
@media(max-width:600px){.premium-profile .premium-head{align-items:flex-start;flex-direction:column;gap:5px;margin-top:-49px}.premium-profile .profile-summary{padding-top:5px}.avatar-main{width:110px;height:110px}.profile-cover{height:236px}.studio-preview{height:201px}.frame-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-group{padding:16px}}
@media(prefers-reduced-motion:reduce){.avatar-shell>img.frame-art,.effect-aurora .avatar-shell>img.frame-art,.effect-glow .avatar-shell>img.frame-art{animation:none!important}.banner-choice img,.studio-preview>img,.profile-universe .profile-menu button{transition:none}}

/* ===== breadcrumb.css ===== */
/* SHINY / Compact breadcrumb v0.1.41 — spacious relative to sticky header,
   but intentionally no larger than a navigation chip. */
.bread.crumb-trail{
  display:flex;align-items:center;flex-wrap:nowrap;gap:5px;
  width:max-content;max-width:100%;min-width:0;min-height:38px;
  margin:19px 0 20px;padding:3px 5px;
  position:relative;isolation:isolate;overflow:hidden;
  border:1px solid color-mix(in srgb,var(--red) 13%,var(--line));
  border-radius:11px;
  background:color-mix(in srgb,var(--panel) 97%,var(--red) 3%);
  box-shadow:0 5px 18px #00000012,inset 0 1px #ffffff06;
  color:var(--muted);font-size:11.5px;line-height:1.3;
}
.bread.crumb-trail::before{
  content:"";position:absolute;inset:9px auto 9px 0;width:2px;
  border-radius:0 2px 2px 0;background:var(--red);
}
.crumb-home,.crumb-current{
  display:flex;align-items:center;min-width:0;gap:6px;
  border-radius:7px;white-space:nowrap;
}
.bread .crumb-home{
  flex-shrink:0;min-height:30px;padding:2px 5px 2px 4px;
  color:var(--muted);font-weight:650;transition:background .2s ease,color .2s ease;
}
.bread .crumb-home:hover,.bread .crumb-home:focus-visible{
  color:var(--text);background:color-mix(in srgb,var(--red) 9%,transparent);
}
.crumb-home-symbol{
  width:24px;height:24px;display:grid;place-items:center;flex-shrink:0;
  border:1px solid color-mix(in srgb,var(--red) 20%,var(--line));
  border-radius:7px;color:var(--red);
  background:color-mix(in srgb,var(--red) 7%,var(--panel));
}
.crumb-trail .ui-icon{display:block;width:13px;height:13px;flex-shrink:0}
.crumb-chevron{display:grid;place-items:center;flex-shrink:0;color:var(--faint);opacity:.75}
.crumb-chevron .ui-icon{width:11px;height:11px}
.crumb-current{
  padding:5px 8px;min-height:30px;
  color:var(--text);font-weight:740;
  border:1px solid color-mix(in srgb,var(--red) 15%,var(--line));
  background:color-mix(in srgb,var(--red) 6%,var(--panel));
}
.crumb-current .ui-icon{color:var(--red)}
.crumb-current-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.bread .crumb-home:focus-visible{outline:2px solid var(--red);outline-offset:2px}
body.light .bread.crumb-trail{box-shadow:0 5px 15px #282a3a0b,inset 0 1px #ffffffb0}
@media(max-width:600px){
  .bread.crumb-trail{margin:16px 0 18px;padding:3px 4px;gap:4px;min-height:36px;border-radius:10px;font-size:11px}
  .bread .crumb-home{padding:2px 3px;gap:5px;min-height:28px}
  .crumb-home-symbol{height:22px;width:22px;border-radius:6px}
  .crumb-current{padding:4px 7px;gap:5px;min-height:28px}
  .crumb-trail .ui-icon{width:12px;height:12px}
}
@media(prefers-reduced-motion:reduce){.bread .crumb-home{transition:none}}

/* ===== fluid-layout.css ===== */
/* SHINY 0.1.43 — edge-to-edge responsive layout.
   Deliberately keep a small safe-area gutter instead of a fixed-width canvas.
   Loaded after the existing theme, profile and breadcrumb styles. */
:root { --shiny-gutter: clamp(18px, 2.1vw, 48px); }
html { min-width: 0; }
body { min-width: 0; }
.container {
  width: calc(100% - var(--shiny-gutter) - var(--shiny-gutter));
  max-width: none;
  margin-inline: auto;
}
.header-inner {
  width: 100%;
  max-width: none;
  padding-inline: var(--shiny-gutter);
}
.footer-inner {
  width: calc(100% - var(--shiny-gutter) - var(--shiny-gutter));
  max-width: none;
  margin-inline: auto;
}
/* All primary page grids are allowed to shrink inside the available width. */
#app, #app > .container, .section, .home-grid, .home-bottom,
.discover-grid, .quick-grid, .system-cards, .card-grid,
.profile-layout, .admin-layout, .stats, .hero-copy { min-width: 0; }
.home-grid > *, .home-bottom > *, .discover-grid > *,
.quick-grid > *, .system-cards > *, .card-grid > *,
.profile-layout > *, .admin-layout > * { min-width: 0; }
/* Fill the wider desktop view with the artwork, without distorting it. */
.hero.hero-editorial {
  min-height: clamp(600px, 38vw, 760px);
}
.hero-artwork, .hero-artwork img { width: 100%; height: 100%; }
.hero-artwork img {
  object-fit: cover;
  object-position: 70% 48%;
}
.hero-copy {
  width: min(63%, 850px);
  padding: clamp(46px, 3.7vw, 88px) clamp(36px, 3.6vw, 86px) 90px;
}
.hero.hero-editorial h1 { font-size: clamp(82px, 8.4vw, 162px); }
.hero-copy h2 { font-size: clamp(30px, 2.85vw, 56px); }
.hero .hero-copy p { font-size: clamp(13px, .9vw, 16px); max-width: 490px; }
/* Don't spread the story too thin on extra-wide screens. */
.discover-card { min-height: clamp(310px, 23vw, 450px); }
.discover-copy h3 { font-size: clamp(23px, 1.6vw, 34px); }
.discover-copy p { font-size: clamp(11px, .75vw, 14px); }
/* Keep the nav readable at the widths where six links no longer fit. */
@media (max-width: 1150px) {
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: auto;
    padding: 12px var(--shiny-gutter);
    background: var(--panel);
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--line);
    z-index: 41;
  }
  .site-header nav.open { display: grid; }
  .site-header nav a { height: auto; padding: 13px; font-size: 13px; }
  .site-header nav a.active:after { left: 2px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; }
  .mobile-menu { display: grid; margin-left: auto; }
  .header-tools { margin-left: 0; }
  .header-inner { gap: 12px; }
  .header-tools .live-status { display: none; }
}
@media (min-width: 871px) and (max-width: 1150px) {
  .hero-copy { width: 66%; }
  .hero.hero-editorial { min-height: 600px; }
}
@media (max-width: 870px) {
  :root { --shiny-gutter: clamp(14px, 2.6vw, 24px); }
  .container, .footer-inner { width: calc(100% - var(--shiny-gutter) - var(--shiny-gutter)); }
  .header-inner { padding-inline: var(--shiny-gutter); }
  .hero.hero-editorial { min-height: 600px; }
  .hero-copy { width: 76%; padding: 48px 32px 85px; }
  .hero.hero-editorial h1 { font-size: clamp(74px, 10vw, 105px); }
  .hero-copy h2 { font-size: clamp(30px, 4.6vw, 42px); }
  .discover-card { min-height: 275px; }
}
@media (max-width: 720px) {
  :root { --shiny-gutter: clamp(10px, 3.25vw, 17px); }
  .container, .footer-inner { width: calc(100% - var(--shiny-gutter) - var(--shiny-gutter)); }
  .header-inner { padding-inline: var(--shiny-gutter); }
  /* On phones the image leads and the text has its own readable dark area. */
  .hero.hero-editorial { min-height: 690px; }
  .hero-artwork img { height: 390px; object-position: 72% 28%; }
  .hero.hero-editorial:after {
    background: linear-gradient(180deg, #0b101b05 0%, #0b101b20 18%, #0b101ba8 38%, #0b101bf7 57%, #0b101b 75%);
  }
  .hero-copy { width: 100%; padding: 245px clamp(18px, 4.4vw, 32px) 78px; }
  .hero.hero-editorial h1 { font-size: clamp(65px, 13vw, 90px); }
  .hero-copy h2 { font-size: clamp(28px, 6vw, 36px); }
  .hero-editorial .hero-actions { flex-wrap: wrap; }
  .hero-actions .btn { min-width: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat { min-width: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2):after { display: none; }
  .discover-grid { grid-template-columns: 1fr; }
  .discover-card { min-height: 300px; }
  .quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 390px) {
  .hero.hero-editorial { min-height: 710px; }
  .hero-copy { padding-top: 260px; padding-inline: 18px; }
  .hero.hero-editorial h1 { font-size: clamp(62px, 17vw, 76px); }
  .hero-copy h2 { font-size: clamp(27px, 7.5vw, 31px); }
  .hero-editorial .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-bottom-line { left: 16px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-artwork img { transition: none; }
}

/* ===== typography.css ===== */
/* SHINY v0.1.48 — shared reading scale on EVERY page.
   Loaded LAST so the previous desktop/tablet/mobile micro-type overrides
   cannot shrink descriptions again. The navigational micro-labels, live
   indicator and brand are intentionally excluded from the reading scale. */
:root {
  --shiny-copy: clamp(15px, 1vw, 16.5px);
  --shiny-copy-small: clamp(12.5px, .81vw, 14px);
  --shiny-card-title: clamp(17px, 1.12vw, 19px);
}

body { font-size: var(--shiny-copy); }

/* Every page: page introductions, banners, explainers and closing content. */
/* Paragraphs in the hero are part of the same reading scale. */
.hero .hero-copy p { font-size: var(--shiny-copy); line-height: 1.75; }

/* Main features, discovery stories, news, event and clan cards. */
.system-cards .system-tile > p,
.system-cards + .panel > p,
.discover-copy > p,
.content-body > p,
.event-row p,
.clan-row p,
.system-row p,
.announcement > p,
.user-mini > p,
.clan-desc,
.profile-side-stack .panel p {
  font-size: var(--shiny-copy);
  line-height: 1.67;
}
/* Card names remain visibly larger than the surrounding descriptions. */
.system-cards .system-tile > h3,
.system-cards + .panel > h3,
.panel-heading h3,
.content-body > h3,
.discover-copy h3 {
  font-size: var(--shiny-card-title);
  line-height: 1.35;
}
/* The illustrated story titles intentionally keep their original larger scale. */
.discover-copy h3 { font-size: clamp(23px, 1.55vw, 31px); }

/* Homepage shortcut tiles and the community counters. */
.quick-tile b { font-size: clamp(14px, .9vw, 15px); line-height: 1.4; }
.quick-tile small { font-size: var(--shiny-copy-small); line-height: 1.45; }
.stat span { font-size: var(--shiny-copy-small); line-height: 1.45; max-width: none; }
.little-stats small, .achievement small, .timeline-row small,
.admin-row small, .studio-label small, .studio-hint {
  font-size: var(--shiny-copy-small);
  line-height: 1.55;
}

/* Public profiles, personalization editor and server information. */
.profile-universe .premium-profile .profile-summary > p,
.profile-universe .premium-profile .profile-summary > .member-tagline {
  font-size: var(--shiny-copy);
  line-height: 1.62;
}
.guild-fact span,.guild-feature,.studio-footer > span,.field > label,.field > small {
  font-size: var(--shiny-copy-small);
  line-height: 1.5;
}
.studio-label b { font-size: var(--shiny-card-title); }

/* Reading text in forms and the administration screens. */
.field input, .field textarea, .field select,
.profile-form input, .profile-form textarea,
.admin-form input, .admin-form textarea, .admin-form select,
#modal input, #modal textarea, #modal select {
  font-size: max(16px, var(--shiny-copy));
}

/* Buttons can grow in readability without overwhelming their card headings. */
.quick-tile, .filter, .profile-menu button,
.btn, .row-action, .system-tile .system-external-link,
.panel-heading .btn-sm, .studio-footer .btn, .guild-channel {
  line-height: 1.4;
}
.system-tile .system-external-link,
.panel-heading .btn-sm { font-size: var(--shiny-copy-small); }

/* On phones keep the same readable text and let containers grow naturally.
   Compact UI controls and decorative labels are not widened. */
@media (max-width: 600px) {
  :root {
    --shiny-copy: 14.5px;
    --shiny-copy-small: 12.5px;
    --shiny-card-title: 17px;
  }
  .quick-tile { min-height: 82px; }
  .quick-tile b { font-size: 14px; }
  .discover-copy h3 { font-size: clamp(22px, 6vw, 27px); }
  .stat span { font-size: 12.5px; }
  .section-head > p { max-width: 100%; }
  .discover-copy > p { min-height: 0; }
}

/* Less prominent but real content in timelines, member listings, news and
   the compact Discord-related rows follows the same site-wide scale. */
.member-card > p,
.event-desc > span,
.clan-desc > span,
.system-row small,
.announcement > small,
.user-mini > div > p,
#adminWork > p,
.profile-content .panel > p,
.profile-side-stack .panel > small,
.studio-group > p,
.guild-overview .guild-placeholder {
  font-size: var(--shiny-copy-small);
  line-height: 1.6;
}
.member-card > p,
#adminWork > p,
.profile-content .panel > p { font-size: var(--shiny-copy); }
.event-desc > b,
.clan-desc > b,
.system-row b,
.announcement > b,
.member-card .user-mini h3 { font-size: var(--shiny-card-title); }
/* Informational descriptions on buttons/cards may wrap instead of clipping. */
.quick-tile > span, .quick-tile > div,
.system-row > div, .member-card, .event-desc, .clan-desc {
  min-width: 0;
}

/* ===== microtype.css ===== */
/* SHINY v0.1.49 — selective readability fixes for the five compact labels.
   Loaded after all earlier CSS, including mobile-specific editorial rules. */

/* Main hero: two bottom captions from screenshots 1 and 2. */
.hero.hero-editorial .hero-bottom-line {
  font-size: 10.5px;
  letter-spacing: .115em;
  line-height: 1.35;
}

/* Live counters above their values: screenshot 3. */
.stats .stat > label {
  font-size: 10.5px;
  letter-spacing: .105em;
  line-height: 1.45;
}

/* "Личная страница" in the signed-out account preview: screenshot 4. */
.home-grid .user-mini .mini {
  font-size: 12.5px;
  line-height: 1.45;
}

/* Hero small tag and the copyright/footer microcopy: screenshot 5. */
.hero.hero-editorial .hero-tag {
  font-size: 10.5px;
  line-height: 1.4;
  letter-spacing: .12em;
}
.footer .footer-side {
  font-size: 11px;
  letter-spacing: .075em;
  line-height: 1.55;
}

/* Mobile labels stay readable without forcing horizontal page overflow. */
@media (max-width: 600px) {
  .hero.hero-editorial .hero-bottom-line {
    font-size: 9px;
    letter-spacing: .045em;
    gap: 7px;
    min-height: 47px;
    height: auto;
    padding: 8px 0;
  }
  .hero.hero-editorial .hero-bottom-line > span { gap: 6px; }
  .stats .stat > label { font-size: 10px; letter-spacing: .07em; }
  .home-grid .user-mini .mini { font-size: 12px; }
  .hero.hero-editorial .hero-tag { font-size: 9.5px; letter-spacing: .075em; }
  .footer .footer-side { font-size: 10.5px; letter-spacing: .055em; }
}

/* A 320px phone needs two lines rather than compressed unreadable copy. */
@media (max-width: 390px) {
  .hero.hero-editorial .hero-bottom-line {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    gap: 4px 12px;
    min-height: 58px;
  }
  .hero.hero-editorial .hero-bottom-line > span { max-width: 100%; }
}


/* v0.1.66 — compact live statistics: label on the left, value aligned right. */
.stats.stats-clean .stat{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:center;
  min-width:0;
}
.stats.stats-clean .stat > label{
  width:100%;
  margin:0;
  color:var(--faint);
  text-align:left;
}
.stats.stats-clean .stat > strong{
  display:block;
  width:100%;
  margin:8px 0 0;
  text-align:right;
  align-self:stretch;
}
@media(max-width:760px){
  .stats.stats-clean .stat{padding:21px 16px;}
  .stats.stats-clean .stat > strong{margin-top:9px;text-align:right;}
}

/* ===== identity-153.css ===== */
/* SHINY Identity / 0.1.53 — native CSS profile design; no inline styles or JS libraries. */
.profile-universe{--identity-border:color-mix(in srgb,var(--profile-accent) 22%,#fff1);--identity-ink:#f5f2f6}
.identity-showcase{border:1px solid var(--identity-border);background:#101015;border-radius:24px;box-shadow:0 24px 75px #0008,0 0 64px var(--profile-accent-faint);overflow:visible!important}
.identity-showcase .profile-cover{height:clamp(230px,25vw,380px);overflow:hidden;border-radius:23px 23px 0 0;background:#11131b}
.identity-showcase .profile-hero-art{filter:contrast(1.06) saturate(1.1);object-position:center 43%}
.identity-showcase .profile-cover:after{background:linear-gradient(180deg,#090d1a24 0%,#090b1690 70%,#0d0e16 100%),linear-gradient(90deg,#0b0e1e65,transparent 74%)}
.identity-showcase .profile-cover-noise{background:radial-gradient(ellipse at 62% 38%,var(--profile-accent-faint),transparent 75%)}
.identity-showcase .profile-head{background:#0d0e16;min-height:150px;padding:0 38px 34px!important;gap:32px;align-items:flex-start;margin-top:0!important;border-radius:0 0 23px 23px;isolation:isolate}
.identity-showcase .avatar-main{height:152px;width:152px;min-width:152px;margin-top:-60px;filter:drop-shadow(0 13px 20px #0009)}
.identity-showcase .profile-summary{padding-top:23px!important;min-width:0}
.identity-showcase .profile-summary h1{font-size:clamp(30px,3.5vw,47px);margin:6px 0 1px;line-height:1.14;letter-spacing:-.045em}
.identity-showcase .identity-username{font-size:14px;color:#c4c1ce}
.identity-showcase .member-tagline{font-size:15px;color:#fff0f2;max-width:570px;margin:8px 0}
.identity-showcase .roles{margin:13px 0;gap:7px}
.identity-since{display:flex;align-items:center;gap:8px;font-size:12px;color:#a7aab9;margin-top:13px}
.identity-since .ui-icon{height:15px;width:15px;color:var(--profile-accent)}
.identity-preview-chip{color:#fff!important;background:#14151cbf!important}
.profile-universe .profile-layout{margin-top:24px!important}
.profile-universe .profile-menu{position:sticky;top:93px;background:linear-gradient(135deg,var(--profile-accent-faint),var(--panel) 55%);border-radius:17px}
.profile-universe .profile-menu button{min-height:49px;font-weight:700;font-size:13px}
.profile-universe .profile-content>.panel,.profile-universe .profile-side-stack>.panel{border-radius:17px}
.profile-universe .profile-content .info-line{padding:13px 18px;border-bottom:1px solid var(--line)}
.profile-universe .profile-content .info-line:last-child{border-bottom:0}
/* Avatar decorations extend outside the crop like Discord avatar decorations — no solid circular sticker. */
.avatar-shell,.avatar-shell.avatar-small,.avatar-shell.frame-sample{padding:0!important;overflow:visible!important;background:transparent!important;isolation:isolate;display:grid;place-items:center;border:0!important}
.avatar-shell:before,.avatar-shell:after,.avatar-shell.frame-none:before,.avatar-shell.frame-none:after{display:none!important}
.avatar-shell>img:not(.frame-art),.avatar-shell.frame-none>img:not(.frame-art){width:100%!important;height:100%!important;border:3px solid #10111b!important;border-radius:50%!important;object-fit:cover!important;box-shadow:0 7px 28px #0007!important;z-index:1!important}
.avatar-shell>img.frame-art{position:absolute!important;inset:-24%!important;width:148%!important;height:148%!important;max-width:none!important;z-index:4!important;object-fit:contain!important;border:0!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 3px 4px #0009)!important;pointer-events:none!important;animation:none!important}
.avatar-shell.avatar-small{width:58px;height:58px}
.avatar-shell.avatar-small>img.frame-art{inset:-24%!important;width:148%!important;height:148%!important}
.frame-choice .avatar-shell>img.frame-art{inset:-24%!important;width:148%!important;height:148%!important}
.frame-choice .avatar-shell{height:75px!important;width:75px!important}
.effect-glow .avatar-main>img.frame-art{animation:identity-pulse 5s ease-in-out infinite!important}
.effect-aurora .avatar-main>img.frame-art{animation:identity-float 5.4s ease-in-out infinite!important}
@keyframes identity-pulse{50%{filter:drop-shadow(0 0 14px var(--profile-accent)) drop-shadow(0 3px 4px #0009)}}
@keyframes identity-float{50%{transform:translateY(-3px);filter:drop-shadow(0 0 12px var(--profile-accent))}}
/* Personal Studio: visible live profile, instead of the old cramped horizontal thumbnail. */
.profile-studio{border-radius:20px;background:linear-gradient(142deg,var(--profile-accent-faint),transparent 35%),var(--panel)}
.studio-intro{padding:2px 0 0}
.studio-intro>p{max-width:700px;font-size:14px;line-height:1.7}
.studio-intro-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:23px}
.studio-live-indicator{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}
.studio-live-indicator svg{color:var(--profile-accent)}
.studio-preview{height:auto!important;overflow:visible!important;border:1px solid var(--identity-border);border-radius:20px;background:#0e0f17;margin:30px 0 31px;box-shadow:0 14px 50px #0005}
.studio-preview>img{display:none!important}
.studio-preview:after{display:none!important}
.studio-preview .identity-showcase{border:0;border-radius:19px;box-shadow:none}
.studio-preview .identity-showcase .profile-cover{height:174px;border-radius:19px 19px 0 0}
.studio-preview .identity-showcase .profile-head{padding:0 23px 22px!important;gap:19px;border-radius:0}
.studio-preview .identity-showcase .avatar-main{height:91px;width:91px;min-width:91px;margin-top:-32px}
.studio-preview .identity-showcase .profile-summary{padding-top:14px!important}
.studio-preview .identity-showcase .profile-summary h1{font-size:25px}
.studio-preview .identity-showcase .profile-summary .roles{margin:8px 0}
.studio-preview .identity-showcase .profile-cover-top{top:12px;left:17px;right:17px}
.studio-preview .identity-showcase .profile-cover-top>span{font-size:9px;padding:8px 10px}
.studio-preview .identity-showcase .identity-since{font-size:11px;margin-top:7px}
.studio-preview-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 19px;border-top:1px solid #ffffff1a;color:#b6b2c0;font-size:12px;flex-wrap:wrap}
.studio-preview-bottom button{display:inline-flex;align-items:center;gap:7px;background:none;border:0;color:#fff;font:700 12px Manrope,Arial,sans-serif;cursor:pointer}
.studio-preview-bottom button:hover{color:var(--profile-accent)}
.studio-preview-bottom svg{height:16px;width:16px}
.studio-form{gap:19px}
.studio-group{padding:23px 25px;border-radius:18px}
.studio-group .studio-label b{font-size:17px}
.studio-group .studio-label small{font-size:13px;line-height:1.55}
.frame-picker{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px}
.frame-choice{min-height:151px!important;padding:22px 11px 17px!important;justify-content:center;gap:17px;border-radius:16px!important}
.frame-choice b{font-size:12px!important;color:var(--text);line-height:1.4}
.frame-choice:hover{transform:translateY(-3px);border-color:var(--profile-accent)}
.banner-picker{gap:14px}
.banner-choice{border-radius:15px}
.banner-choice span{font-size:12px}
.studio-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.studio-footer>span{font-size:12px;max-width:370px}
.studio-footer-actions{display:flex;gap:11px;flex-wrap:wrap}
.studio-footer-actions .btn{min-width:0}
/* Full-size preview dialog, separate from existing site's global modal. */
.profile-preview-dialog{width:min(1080px,calc(100vw - 28px));max-width:none;max-height:min(92vh,1000px);margin:auto;padding:0;border:1px solid #ffffff28;border-radius:23px;background:#101117;color:#f5f4f7;box-shadow:0 35px 120px #000c;overflow:auto;overscroll-behavior:contain}
.profile-preview-dialog::backdrop{background:#050509df;backdrop-filter:blur(14px)}
.profile-preview-shell{padding:18px 23px 23px}
.profile-preview-head{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #ffffff16;padding:0 0 17px;margin-bottom:21px}
.profile-preview-head>span{display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:.14em;font-weight:800;color:#e9a3b0}
.profile-preview-head>div{display:flex;gap:10px}
.profile-preview-head .btn{min-height:35px}
.profile-preview-head .icon-btn{min-width:35px;height:35px;width:35px}
.profile-preview-head button[data-preview-close]{font-size:20px;color:#fff}
#profilePreviewContent{transition:max-width .33s ease;width:100%;margin:auto}
.profile-preview-dialog .identity-showcase .profile-cover{height:clamp(210px,24vw,300px)}
.profile-preview-dialog .identity-showcase .avatar-main{width:130px;height:130px;min-width:130px;margin-top:-49px}
.profile-preview-dialog .identity-showcase .profile-head{padding:0 28px 27px!important}
.identity-preview-info{display:grid;grid-template-columns:1.25fr 1fr;gap:17px;margin-top:17px}
.identity-preview-panel{border:1px solid #ffffff19;border-radius:17px;padding:23px;background:linear-gradient(145deg,var(--profile-accent-faint),#171820 70%);min-width:0}
.identity-preview-panel h3{font-size:21px;margin:9px 0 13px}
.identity-preview-panel h4{margin:20px 0 11px}
.identity-preview-panel p{color:#d0ced7;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;min-height:42px}
.identity-preview-panel .roles{margin:12px 0 0}
.identity-preview-panel .little-stats{margin:0}
.identity-interests{display:flex;gap:7px;flex-wrap:wrap}
.profile-preview-foot{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;font-size:12px;color:#a9a7b1;flex-wrap:wrap}
.profile-preview-dialog.phone-mode #profilePreviewContent{max-width:392px}
.profile-preview-dialog.phone-mode .identity-preview-info{grid-template-columns:1fr}
.profile-preview-dialog.phone-mode .identity-showcase .profile-cover{height:185px}
.profile-preview-dialog.phone-mode .identity-showcase .profile-head{flex-direction:column;gap:0;padding:0 22px 22px!important}
.profile-preview-dialog.phone-mode .identity-showcase .avatar-main{height:110px;width:110px;min-width:110px;margin-top:-42px}
.profile-preview-dialog.phone-mode .identity-showcase .profile-summary{padding-top:7px!important}
@media(max-width:960px){.identity-showcase .profile-head{gap:22px}}
@media(max-width:720px){.identity-showcase .profile-cover{height:245px}.identity-showcase .profile-head{padding:0 23px 25px!important;gap:18px}.identity-showcase .avatar-main{height:119px;width:119px;min-width:119px;margin-top:-47px}.identity-showcase .profile-summary{padding-top:14px!important}.identity-preview-info{grid-template-columns:1fr}.profile-universe .profile-menu{position:static}.studio-preview .identity-showcase .profile-head{flex-direction:row;gap:15px}.studio-preview .identity-showcase .avatar-main{height:80px;width:80px;min-width:80px}.studio-preview .identity-showcase .profile-summary{padding-top:12px!important}.studio-preview .identity-showcase .profile-summary h1{font-size:23px}.studio-preview .identity-showcase .profile-cover{height:155px}.frame-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.frame-choice{padding:18px 7px 14px!important}.frame-choice .avatar-shell{height:63px!important;width:63px!important}.studio-footer-actions{width:100%}.profile-preview-shell{padding:15px}.profile-preview-head>span{font-size:10px;letter-spacing:.05em}.profile-preview-dialog .identity-showcase .profile-head{flex-direction:column;padding:0 20px 23px!important;gap:2px}.profile-preview-dialog .identity-showcase .profile-summary{padding-top:8px!important}.profile-preview-dialog .identity-showcase .avatar-main{height:105px;width:105px;min-width:105px;margin-top:-43px}}
@media(max-width:480px){.identity-showcase .profile-head{flex-direction:column;gap:4px}.identity-showcase .profile-summary{padding-top:6px!important}.identity-showcase .profile-cover{height:205px}.studio-group{padding:18px}.banner-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.frame-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-preview .identity-showcase .profile-head{flex-direction:column;gap:2px}.studio-preview .identity-showcase .profile-summary{padding-top:0!important}.studio-preview .identity-showcase .profile-cover{height:143px}.profile-preview-head{align-items:flex-start}.profile-preview-head>div{flex-direction:column;align-items:flex-end}}
@media(prefers-reduced-motion:reduce){.avatar-shell>img.frame-art,.effect-glow .avatar-main>img.frame-art,.effect-aurora .avatar-main>img.frame-art{animation:none!important}#profilePreviewContent{transition:none}}

/* ===== light-theme-154.css ===== */
/* SHINY 0.1.54 — light theme contrast fixes.
   Dark surfaces remain intentionally dark in both themes; scope their ink and
   control tokens locally rather than changing the entire page's light theme. */

/* Event / clan filter pills: keep selected, hover and keyboard states legible. */
body.light .filters .filter {
  background:#fff;
  border-color:#d8d9df;
  color:#414651;
  transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s;
}
body.light .filters .filter:is(.active,:hover) {
  background:#b92e45;
  border-color:#b92e45;
  color:#fff;
}
body.light .filters .filter:focus-visible {
  outline:2px solid #a82339;
  outline-offset:3px;
}

/* Server summary has a dark fixed background, regardless of page theme. */
body.light .guild-overview {
  color:#f6f4f7;
  --text:#f6f4f7;
  --muted:#bfc0c9;
  --faint:#a6a9b5;
  --panel:#202026;
  --panel2:#25252b;
  --panel3:#302d36;
  --line:#ffffff2b;
}
body.light .guild-overview .guild-identity h2,body.light .guild-overview .guild-fact b {
  color:#f6f4f7;
}
body.light .guild-overview .guild-fact span {color:#b9bac5;}
body.light .guild-overview .guild-identity p {color:#d0ced8;}
body.light .guild-overview .guild-identity .kicker {color:#ff97a5;}
body.light .guild-overview .guild-channel {color:#f7f4f7;}
/* Do not override role chips: their colors are supplied by Discord. */

/* Dark profile cover and live preview should not inherit ink from body.light. */
body.light .identity-showcase,
body.light .studio-preview .identity-showcase {
  color:#f7f4f7;
  --text:#f7f4f7;
  --muted:#b9bac8;
  --panel:#1b1b25;
  --panel2:#24232d;
  --panel3:#302e39;
  --line:#ffffff29;
}
body.light .identity-showcase .profile-summary h1 {color:#fff;}
body.light .identity-showcase .identity-since {color:#bbbfcb;}

/* Fullscreen profile preview is a separate, always-dark dialog. */
body.light .profile-preview-dialog {
  color:#f7f5f8;
  --text:#f7f5f8;
  --muted:#bab9c5;
  --faint:#a9a8b6;
  --panel:#191922;
  --panel2:#24242e;
  --panel3:#302e39;
  --line:#ffffff30;
  color-scheme:dark;
}
body.light .profile-preview-dialog .profile-preview-head .btn,
body.light .profile-preview-dialog .profile-preview-head .icon-btn {
  background:#24242e;
  border-color:#51505c;
  color:#f6f4f8;
  opacity:1;
}
body.light .profile-preview-dialog .profile-preview-head .btn:hover,
body.light .profile-preview-dialog .profile-preview-head .icon-btn:hover {
  background:#363442;
  border-color:#f18196;
  color:#fff;
}
body.light .profile-preview-dialog .profile-preview-head button:focus-visible {
  outline:2px solid #ff8196;
  outline-offset:3px;
}
body.light .profile-preview-dialog .profile-preview-head>span {color:#ffadb8;}
body.light .profile-preview-dialog .identity-preview-panel {
  color:#f7f5f8;
  --text:#f7f5f8;
  --muted:#bab9c5;
  --panel:#191922;
  --panel2:#24242e;
  --panel3:#302e39;
  --line:#ffffff29;
}
body.light .profile-preview-dialog .identity-preview-panel :is(h3,h4) {color:#f6f4f8;}
body.light .profile-preview-dialog .identity-preview-panel p {color:#d5d2dd;}
body.light .profile-preview-dialog .identity-interests .tag {
  color:#f5f2f8;
  background:#2e2d38;
  border-color:#55505f;
  font-weight:700;
}
body.light .profile-preview-dialog .identity-interests .muted {color:#c2bfcb;}
body.light .profile-preview-dialog .profile-preview-foot {color:#c3c0cb;}
body.light .profile-preview-dialog .profile-preview-foot .btn-red {color:#fff;}

/* Profile interest tags outside the dark preview are light-theme pills. */
body.light .profile-universe:not(.identity-full-preview) .profile-side-stack .tag {
  color:#343743;
  background:#f2f1f5;
  border-color:#dad9e1;
}
@media (prefers-reduced-motion:reduce) {
  body.light .filters .filter {transition:none;}
}

/* ===== community-api-155.css ===== */
/* SHINY v0.1.55 — server-side bot API surfaces. No upstream secret is exposed here. */
.community-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.community-metric{min-width:0;display:flex;align-items:center;gap:14px;padding:18px 20px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,var(--panel),var(--panel2));box-shadow:0 12px 30px #0000000b;transition:transform .22s,border-color .22s,box-shadow .22s}
.community-metric:hover{transform:translateY(-2px);border-color:#f15a6852;box-shadow:0 16px 38px #00000018}
.community-metric>span{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border:1px solid #f1455740;border-radius:12px;background:var(--soft);color:var(--red2)}
.community-metric b{display:block;font:700 28px/1 'Space Grotesk',sans-serif;letter-spacing:-.04em}
.community-metric small{display:block;margin-top:5px;color:var(--muted);font-size:12px}
.community-about-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:14px;margin-top:14px}
.community-more{margin-top:14px}
.leaderboards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.leaderboard-panel{padding:18px;overflow:hidden}
.leaderboard-list{display:grid;gap:2px}
.leader-row{display:grid;grid-template-columns:32px 38px minmax(0,1fr);align-items:center;gap:10px;padding:10px 8px;border-top:1px solid var(--line);border-radius:9px;transition:background .2s,transform .2s}
.leader-row:first-child{border-top:0}
.leader-row:hover{background:var(--soft);transform:translateX(2px)}
.leader-row>strong{color:var(--red2);font:700 12px 'Space Grotesk',sans-serif}
.leader-avatar{width:34px;height:34px;border-radius:50%;overflow:hidden;border:1px solid var(--line);display:grid;place-items:center;background:var(--panel3);color:var(--muted)}
.leader-avatar img{width:100%;height:100%;object-fit:cover}
.leader-row>div b,.leader-row>div small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.leader-row>div b{font-size:12px}.leader-row>div small{margin-top:2px;color:var(--muted);font-size:10px}
.community-mission p{color:var(--muted);margin-bottom:16px}
.mission-progress{display:block;width:100%;height:8px;margin:4px 0 7px;border:0;border-radius:20px;overflow:hidden;background:var(--panel3);accent-color:var(--red)}
.mission-progress::-webkit-progress-bar{background:var(--panel3);border-radius:20px}.mission-progress::-webkit-progress-value{background:linear-gradient(90deg,var(--red),#ff7983);border-radius:20px}.mission-progress::-moz-progress-bar{background:linear-gradient(90deg,var(--red),#ff7983);border-radius:20px}
.mission-reward{display:flex;align-items:center;gap:9px;margin-top:16px;padding:12px 14px;border:1px solid #f1455735;border-radius:10px;background:var(--soft);color:var(--red2)}
.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.shop-item{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px}
.shop-icon{width:42px;height:42px;border-radius:11px;background:var(--soft);border:1px solid #f1455738;display:grid;place-items:center;color:var(--red2);overflow:hidden}.shop-icon img{width:100%;height:100%;object-fit:cover}
.shop-item h3{font-size:14px;margin:0 0 4px}.shop-item p{font-size:11px;color:var(--muted);margin:0}.shop-item>strong{display:flex;align-items:center;gap:5px;color:var(--red2);font-size:12px;white-space:nowrap}.shop-item>strong .ui-icon{width:14px;height:14px}
.bot-clan-grid,.staff-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bot-clan,.staff-card{padding:18px}.bot-clan h3{display:flex;align-items:center;gap:7px;margin:0}.bot-clan h3 span{font-size:9px;color:var(--red2);letter-spacing:.12em}.bot-clan p,.staff-card p{color:var(--muted);font-size:12px}.bot-clan-meta{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:10px}.bot-clan-meta span{display:flex;align-items:center;gap:5px}.bot-clan-meta .ui-icon{width:13px;height:13px}
.staff-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:var(--soft);color:var(--red2);border:1px solid #f1455738;margin-bottom:13px}.staff-card h3{font-size:15px;margin:0 0 6px}.staff-card small{display:block;color:var(--muted);line-height:1.55}.staff-card small b{color:var(--text)}.profile-economy p{display:flex;align-items:center;gap:6px;font-size:11px;margin:9px 0}.profile-economy p .ui-icon{width:14px;height:14px;color:var(--red2)}
.stats.stats-six{grid-template-columns:repeat(6,minmax(0,1fr))}.stats.stats-six .stat{padding-left:18px;padding-right:18px}.stats.stats-six .stat strong{font-size:clamp(24px,2.2vw,34px)}
body.light .community-metric,body.light .leaderboard-panel,body.light .shop-item,body.light .bot-clan,body.light .staff-card{box-shadow:0 12px 30px #2529380b}
body.light .leader-avatar{background:#f0f1f4}
@media(max-width:1180px){.stats.stats-six{grid-template-columns:repeat(3,minmax(0,1fr))}.leaderboards-grid{grid-template-columns:1fr 1fr}.leaderboards-grid>.leaderboard-panel:last-child{grid-column:1/-1}.shop-grid,.bot-clan-grid,.staff-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.community-metrics{grid-template-columns:1fr 1fr}.community-about-grid,.leaderboards-grid{grid-template-columns:1fr}.leaderboards-grid>.leaderboard-panel:last-child{grid-column:auto}.shop-grid,.bot-clan-grid,.staff-grid{grid-template-columns:1fr}.stats.stats-six{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-item{grid-template-columns:40px minmax(0,1fr)}.shop-item>strong{grid-column:2}.community-metric{padding:15px}.community-metric b{font-size:24px}}
@media(max-width:420px){.community-metrics{gap:8px}.community-metric{gap:9px;padding:12px}.community-metric>span{width:35px;height:35px}.community-metric b{font-size:21px}.community-metric small{font-size:10px}}


/* v0.1.58: richer API cards, Discord Markdown, full role collection */
.staff-card{position:relative;min-width:0}
.staff-card h3{font-size:17px;margin:12px 0 10px}
.staff-markdown,.staff-requirements{color:var(--muted);font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.staff-markdown p,.staff-requirements p{margin:0 0 10px}
.staff-markdown h4,.staff-markdown h5,.staff-markdown h6{color:var(--text);font-size:15px;margin:12px 0 7px}
.staff-markdown strong,.staff-requirements strong{color:var(--text)}
.staff-markdown del{opacity:.68}
.staff-requirements{margin-top:14px;padding-top:13px;border-top:1px solid var(--line)}
.staff-requirements>b{display:block;color:var(--text);margin-bottom:5px}
.discord-inline-emoji{display:inline-block;width:20px;height:20px;object-fit:contain;vertical-align:-5px;margin:0 2px}
.md-inline{padding:2px 5px;border:1px solid var(--line);border-radius:5px;background:var(--panel2);font-size:.92em;color:var(--text)}
.md-code{white-space:pre-wrap;overflow:auto;margin:10px 0;padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:var(--panel2);color:var(--text)}
.md-list-item{display:block;position:relative;padding-left:15px;margin:5px 0}.md-list-item:before{content:'•';position:absolute;left:2px;color:var(--red)}
.bot-clan-meta{align-items:center;flex-wrap:wrap}.bot-clan-meta span{min-width:0;overflow-wrap:anywhere}
@media(max-width:700px){.staff-markdown,.staff-requirements{font-size:13.5px}.discord-inline-emoji{width:18px;height:18px}}

.discord-mention{display:inline-flex;align-items:center;padding:1px 5px;border-radius:5px;background:#5865f233;color:#aeb7ff;font-weight:700;white-space:nowrap}.light .discord-mention{background:#5865f21c;color:#4854c7}

/* v0.2.65 — shop purchase actions + dedicated color-role department */
.shop-item{grid-template-columns:44px minmax(0,1fr) auto!important}
.shop-item-copy{min-width:0}
.shop-item-purchase{display:flex;align-items:center;gap:12px;justify-self:end}
.shop-item-purchase>strong,.shop-checkout-product>strong,.shop-checkout-balance>b{display:inline-flex;align-items:center;gap:6px;color:var(--red2);font-size:12px;white-space:nowrap}
.shop-item-purchase>strong .ui-icon,.shop-checkout-product>strong .ui-icon,.shop-checkout-balance>b .ui-icon{width:14px;height:14px}
.shop-buy-btn{min-width:104px;min-height:36px;padding:8px 13px;border-radius:9px;box-shadow:none}
.shop-buy-btn .ui-icon{width:15px;height:15px}
.shop-buy-btn:disabled{background:var(--panel3);border-color:var(--line);color:var(--muted);box-shadow:none}
.color-role-shop-section .section-head p{max-width:430px}
.color-role-shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.color-role-shop-item{position:relative;min-width:0;padding:18px;overflow:hidden;isolation:isolate;transition:transform .24s,border-color .24s,box-shadow .24s}
.color-role-shop-item:before{content:"";position:absolute;z-index:-1;inset:-1px;background:radial-gradient(circle at 92% 3%,color-mix(in srgb,var(--red) 10%,transparent),transparent 42%);pointer-events:none}
.color-role-shop-item:hover{transform:translateY(-3px);border-color:#ff66745e;box-shadow:0 18px 42px #00000022}
.color-role-chip{min-width:0;display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid transparent;border-radius:9px;background:linear-gradient(var(--panel2),var(--panel2)) padding-box,var(--shop-role-gradient) border-box;box-shadow:inset 0 0 18px #ffffff08}
.color-role-chip .ui-icon{width:14px;height:14px;color:var(--red2);flex:0 0 auto}
.color-role-chip b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:var(--shop-role-gradient);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.shop-checkout-modal{width:min(540px,calc(100vw - 28px))!important}
.shop-checkout{padding:2px 2px 4px}
.shop-checkout h2{font-size:26px;margin:8px 0 18px;letter-spacing:-.04em}
.shop-checkout-product{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--panel2)}
.shop-checkout-icon{width:46px;height:46px;display:grid;place-items:center;border:1px solid #f1455742;border-radius:12px;background:var(--soft);color:var(--red2);overflow:hidden}
.shop-checkout-icon img{width:100%;height:100%;object-fit:cover}.shop-checkout-icon .ui-icon{width:20px;height:20px}
.shop-checkout-product[style] .shop-checkout-icon{background:var(--shop-role-gradient);color:#fff;border-color:#ffffff2b}
.shop-checkout-product>div{min-width:0}.shop-checkout-product>div b,.shop-checkout-product>div small{display:block}.shop-checkout-product>div b{font-size:14px}.shop-checkout-product>div small{margin-top:4px;color:var(--muted);font-size:10px;line-height:1.45}
.shop-checkout-balance{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:12px 14px;border:1px solid var(--line);border-radius:11px;background:var(--panel)}
.shop-checkout-balance span{color:var(--muted);font-size:11px}
.shop-checkout-notice{display:flex;align-items:center;gap:9px;margin-top:12px;padding:12px 14px;border:1px solid #50cfa23b;border-radius:11px;background:#50cfa20d;color:#75ddb8;font-size:11px;font-weight:700}.shop-checkout-notice.error{border-color:#f1455748;background:var(--soft);color:var(--red2)}.shop-checkout-notice .ui-icon{width:16px;height:16px}
.shop-checkout>p{margin:14px 2px 0;font-size:11px;line-height:1.6}
.shop-checkout-actions{display:grid;grid-template-columns:1fr 1.45fr;gap:10px;margin-top:18px}.shop-checkout-actions .btn{width:100%}
body.light .color-role-shop-item{box-shadow:0 12px 30px #2529380b}.light .color-role-chip{background:linear-gradient(#fff,#fff) padding-box,var(--shop-role-gradient) border-box}.light .shop-checkout-product{background:#fafbfc}
@media(max-width:1180px){.color-role-shop-grid{grid-template-columns:1fr 1fr}.shop-item-purchase{flex-direction:column;align-items:flex-end;gap:7px}}
@media(max-width:760px){.color-role-shop-grid{grid-template-columns:1fr}.shop-item{grid-template-columns:40px minmax(0,1fr)!important}.shop-item-purchase{grid-column:1/-1;width:100%;flex-direction:row;align-items:center;justify-content:space-between;padding-top:8px;border-top:1px solid var(--line)}.shop-buy-btn{min-width:112px}.shop-checkout-product{grid-template-columns:42px minmax(0,1fr)}.shop-checkout-product>strong{grid-column:2}.shop-checkout-actions{grid-template-columns:1fr}}


/* v0.2.66 — compact Discord-accurate colored-role cards */
.color-role-shop-grid{gap:12px}
.color-role-shop-item{padding:13px 14px!important;min-height:68px!important}
.color-role-shop-item:before{background:radial-gradient(circle at 100% 0%,color-mix(in srgb,var(--red) 7%,transparent),transparent 46%)}
.color-role-shop-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;min-width:0}
.color-role-iconbox{width:42px;height:42px;display:grid;place-items:center;overflow:hidden;border-radius:11px;border:1px solid transparent;background:linear-gradient(var(--panel2),var(--panel2)) padding-box,var(--shop-role-gradient) border-box;box-shadow:inset 0 0 18px #ffffff06,0 8px 20px #0003;color:var(--red2);flex:0 0 auto}
.color-role-iconbox:before{content:"";position:absolute;pointer-events:none}
.color-role-iconbox img{width:28px;height:28px;object-fit:contain;display:block}
.color-role-iconbox .ui-icon{width:21px;height:21px;stroke-width:1.6;color:var(--red2)}
.color-role-unicode{font-size:21px;line-height:1;display:grid;place-items:center}
.color-role-chip{width:max-content;max-width:100%;min-width:0;padding:8px 11px;border-radius:9px;gap:0;background:linear-gradient(var(--panel2),var(--panel2)) padding-box,var(--shop-role-gradient) border-box}
.color-role-chip b{font-size:13px!important;line-height:1.15;font-weight:800;letter-spacing:-.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:var(--shop-role-gradient);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.color-role-shop-purchase{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:max-content}
.color-role-shop-purchase>strong{display:inline-flex;align-items:center;gap:5px;color:var(--red2);font-size:12px;font-weight:800;white-space:nowrap}
.color-role-shop-purchase>strong .ui-icon{width:14px;height:14px}
.color-role-shop-purchase .shop-buy-btn{min-width:92px;margin:0}
.shop-checkout-product[style] .shop-checkout-icon{background:linear-gradient(var(--panel2),var(--panel2)) padding-box,var(--shop-role-gradient) border-box;color:var(--red2)}
.shop-checkout-product[style] .shop-checkout-icon img{width:30px;height:30px;object-fit:contain}
.shop-checkout-product[style] .shop-checkout-icon .ui-icon{color:var(--red2)}
.shop-checkout-role-name{display:inline-block!important;width:max-content;max-width:100%;background:var(--shop-role-gradient);background-clip:text;-webkit-background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent}
body.light .color-role-iconbox,body.light .color-role-chip{background:linear-gradient(#fff,#fff) padding-box,var(--shop-role-gradient) border-box}
@media(max-width:760px){.color-role-shop-row{grid-template-columns:42px minmax(0,1fr)}.color-role-shop-purchase{grid-column:1/-1;width:100%;justify-content:flex-end;padding-top:10px;border-top:1px solid var(--line)}.color-role-chip{width:100%}}

/* v0.2.68 — fixed color-role cards: badge left, price + buy button locked to the far right */
.color-role-shop-grid{
  gap:12px!important;
}
.color-role-shop-item{
  padding:12px 14px!important;
  min-height:72px!important;
  display:flex!important;
  align-items:center!important;
}
.color-role-shop-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) max-content!important;
  align-items:center!important;
  column-gap:18px!important;
  width:100%!important;
  min-width:0!important;
}
.color-role-shop-identity{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  overflow:hidden!important;
}
.color-role-iconbox{
  position:relative!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  border-radius:11px!important;
  border:1px solid #f1455766!important;
  background:linear-gradient(145deg,#f1455722,#f145570c)!important;
  box-shadow:inset 0 0 18px #f1455710,0 8px 20px #0000002b!important;
  color:var(--red2)!important;
}
.color-role-iconbox img{
  width:29px!important;
  height:29px!important;
  object-fit:contain!important;
  display:block!important;
}
.color-role-iconbox .ui-icon{
  width:22px!important;
  height:22px!important;
  color:var(--red2)!important;
  stroke-width:1.65!important;
}
.color-role-unicode{
  font-size:21px!important;
  line-height:1!important;
  display:grid!important;
  place-items:center!important;
}
.color-role-chip{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  width:max-content!important;
  max-width:100%!important;
  min-width:0!important;
  padding:8px 12px!important;
  border:1px solid #ff6677c7!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,#ff667713,#ff667706)!important;
  box-shadow:inset 0 0 18px #ff66770c,0 0 0 1px #00000018!important;
}
.color-role-chip .ui-icon{
  width:17px!important;
  height:17px!important;
  min-width:17px!important;
  color:var(--red2)!important;
  stroke-width:1.8!important;
}
.color-role-chip b{
  font-size:14px!important;
  line-height:1.15!important;
  font-weight:800!important;
  letter-spacing:-.01em!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  background:var(--shop-role-gradient)!important;
  background-clip:text!important;
  -webkit-background-clip:text!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
}
.color-role-shop-purchase{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:11px!important;
  min-width:max-content!important;
  margin-left:0!important;
  flex:0 0 auto!important;
}
.color-role-shop-purchase>strong{
  order:1!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  color:var(--red2)!important;
  font-size:13px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
.color-role-shop-purchase>strong .ui-icon{
  width:14px!important;
  height:14px!important;
}
.color-role-shop-purchase>.shop-buy-btn{
  order:2!important;
  min-width:96px!important;
  margin:0!important;
  flex:0 0 auto!important;
}
body.light .color-role-iconbox{
  background:linear-gradient(145deg,#f1455714,#fff)!important;
  border-color:#f1455755!important;
}
body.light .color-role-chip{
  background:linear-gradient(180deg,#f145570c,#fff)!important;
}
@media(max-width:760px){
  .color-role-shop-row{
    grid-template-columns:1fr!important;
    row-gap:10px!important;
  }
  .color-role-shop-purchase{
    width:100%!important;
    justify-content:flex-end!important;
    padding-top:10px!important;
    border-top:1px solid var(--line)!important;
  }
  .color-role-chip{
    max-width:calc(100vw - 130px)!important;
  }
}

/* v0.2.72 — leaderboard value badge aligned with nickname */
.leaderboard-panel .panel-heading h3{font-size:18px!important;line-height:1.25!important}
.leaderboard-panel .panel-heading .mini{font-size:10.5px!important}
.leader-row{grid-template-columns:34px 42px minmax(0,1fr)!important;align-items:center!important;gap:11px!important;padding:11px 8px!important}
.leader-row>strong{font-size:13px!important}
.leader-avatar{width:38px!important;height:38px!important}
.leader-copy{min-width:0!important}
.leader-main{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-width:0!important}
.leader-main b{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:14px!important;line-height:1.3!important;font-weight:700!important}
.leader-value-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;max-width:52%;padding:5px 10px!important;border:1px solid #f1455740!important;border-radius:999px!important;background:linear-gradient(180deg,#f1455714,#f1455708)!important;box-shadow:inset 0 0 0 1px #ffffff04!important;color:var(--red2)!important;font:700 11.5px/1 'Space Grotesk',sans-serif!important;white-space:nowrap!important}
.leader-meta{display:block!important;margin-top:4px!important;color:var(--muted)!important;font-size:10.5px!important;line-height:1.35!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
@media(max-width:560px){
  .leaderboard-panel .panel-heading h3{font-size:17px!important}
  .leader-row{grid-template-columns:31px 38px minmax(0,1fr)!important;gap:9px!important;padding:10px 6px!important}
  .leader-avatar{width:35px!important;height:35px!important}
  .leader-row>strong{font-size:12px!important}
  .leader-main{gap:8px!important}
  .leader-main b{font-size:13px!important}
  .leader-value-badge{padding:4px 8px!important;font-size:10.5px!important;max-width:58%}
  .leader-meta{font-size:10px!important}
}

/* v0.3.05: daily mission is not the height of the adjacent leaderboard */
.community-about-grid{align-items:start}
.community-mission{align-self:start}
.community-mission.is-complete .mission-state{color:#6ae5b6;display:inline-flex;align-items:center;gap:5px}
.community-mission.is-complete .mission-reward{border-color:#41d8a345;background:#41d8a30b}
.mission-sync-note{display:block;margin-top:10px;color:var(--muted);font-size:11px}
.mission-refresh{margin-top:14px;min-height:35px;font-size:11px}

/* Daily mission reset time, present only when supplied by the bot API */
.mission-reset{display:flex;gap:7px;align-items:center;margin-top:12px;color:var(--muted);font-size:11px;font-weight:700}
.mission-reset .ui-icon{width:14px;height:14px;flex:none}

/* ===== clans-0216.css ===== */
/* SHINY clan pages · v0.2.32 */
.clan-directory-card .clan-card-cover{position:relative;display:block;min-height:190px;overflow:hidden;background:#101319;isolation:isolate}
.clan-directory-card .clan-card-cover:before{content:none!important;display:none!important;background:none!important;opacity:0!important}
.clan-card-banner{position:absolute!important;inset:0!important;right:auto!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;opacity:1!important;filter:none!important;mask-image:none!important}
.clan-card-banner-fallback{position:absolute;inset:0;display:grid;place-items:center;z-index:0;background:#101319;color:#fff;font:800 clamp(38px,7vw,68px)/1 'Space Grotesk',Manrope,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.clan-directory-card .clan-card-cover:after{content:none}
.clan-card-logo{position:absolute;left:18px;bottom:14px;width:78px;height:78px;padding:0;border-radius:50%;background:transparent;border:0;outline:0;box-shadow:none;z-index:3;overflow:hidden;display:grid;place-items:center}
.clan-card-logo img{position:static!important;inset:auto!important;right:auto!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;border-radius:50%;opacity:1!important;filter:none!important;mask-image:none!important}
.clan-card-logo.is-fallback{padding:0;border:0;outline:0;border-radius:50%;background:#171b25;color:#fff;font:800 21px/1 'Space Grotesk',Manrope,sans-serif;letter-spacing:.08em}
.clan-card-logo.is-fallback span{display:grid;place-items:center;width:100%;height:100%}

/* Clan directory media is intentionally raw: no generic content-art masks/overlays. */
.clan-directory-card .clan-card-cover::before,.clan-directory-card .clan-card-cover::after{content:none!important;display:none!important;background:none!important;filter:none!important;backdrop-filter:none!important;opacity:0!important}
.clan-directory-card .clan-card-banner{z-index:0!important}
.clan-directory-card .clan-card-logo{z-index:2!important}

.clan-card-actions{align-items:center;gap:12px;flex-wrap:wrap}
.clan-card-actions .mini{line-height:1.45}

/* Keep clan metadata in one horizontal band regardless of tagline length. */
.clan-directory-card .content-body>h3{margin:0;min-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.clan-directory-card .content-body>p{margin:0;min-height:68px;max-height:68px;line-height:1.75;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.clan-directory-card .content-body>.roles{margin:0 0 4px;min-height:28px;align-content:flex-start}
.clan-directory-card .content-bottom{width:100%}

.clan-detail-page{padding-bottom:28px}
.clan-detail-page>.bread{margin-top:26px}
.clan-hero-panel{position:relative;border-color:#ffffff20;background:linear-gradient(145deg,#10131b,#0c1016);color:#fff;overflow:hidden;padding:0}
.clan-hero-banner-wrap{position:relative;height:232px;overflow:hidden;border-bottom:1px solid #ffffff12;background:#10131b}
.clan-hero-banner{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:none}
.clan-hero-banner-wrap.is-fallback .clan-hero-banner{opacity:0}
.clan-hero-banner-fallback{position:absolute;inset:0;display:grid;place-items:center;background:#101319}
.clan-hero-banner-fallback span{font:800 clamp(58px,10vw,124px)/1 'Space Grotesk',Manrope,sans-serif;letter-spacing:.12em;color:#fff;text-transform:uppercase;text-shadow:none}
.clan-hero-banner-overlay{display:none}
.clan-hero-banner-overlay:after{content:none}
.clan-hero-top{position:absolute;top:24px;left:28px;right:28px;display:flex;justify-content:space-between;align-items:center;gap:16px;z-index:2}
.clan-hero-top .kicker{color:#ffd0d5}
.clan-tag{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border:1px solid #ffffff2b;background:#0a0d12e8;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.13em;backdrop-filter:none}
.clan-hero-lower{position:relative;display:flex;align-items:flex-end;gap:22px;padding:0 34px 30px;margin-top:-58px;z-index:3}
.clan-hero-avatar-wrap{position:relative;width:118px;height:118px;flex:0 0 118px;border-radius:999px;overflow:hidden;border:4px solid #11151c;box-shadow:none;background:#11151b;display:grid;place-items:center}
.clan-hero-avatar{width:100%;height:100%;object-fit:cover;display:block;filter:none}
.clan-hero-avatar-wrap.is-fallback{background:#171b25;color:#fff}
.clan-hero-avatar-wrap.is-fallback .clan-hero-avatar{opacity:0}
.clan-hero-avatar-fallback{position:absolute;inset:0;display:grid;place-items:center;font:800 28px/1 'Space Grotesk',Manrope,sans-serif;letter-spacing:.1em;text-transform:uppercase}
.clan-hero-copy{min-width:0;padding-bottom:4px}
.clan-hero-copy h1{margin:0 0 8px;font:700 clamp(34px,4.4vw,60px)/.98 'Space Grotesk',Manrope,sans-serif;letter-spacing:-.055em}
.clan-hero-copy>p{margin:0 0 18px;max-width:760px;color:#e0e2e7;font-size:14px;line-height:1.65}
.clan-hero-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.clan-hero-meta>span{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:7px 11px;border:1px solid #ffffff18;border-radius:9px;background:#151922;font-size:11px;color:#d7d9df;backdrop-filter:none}
.clan-hero-meta b{color:#fff}
.clan-hero-meta .ui-icon{width:15px;height:15px;color:#ff7b87}

.clan-detail-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.65fr);gap:16px;margin-top:16px;align-items:start}
.clan-about-panel,.clan-action-panel,.clan-editor-panel{background:linear-gradient(145deg,var(--panel),var(--panel2))}
.clan-about-panel h2,.clan-action-panel h2{font-size:27px;letter-spacing:-.04em;margin:9px 0 15px}
.clan-description{white-space:pre-line;color:var(--muted);font-size:13px;line-height:1.85;max-width:900px;margin-bottom:0}
.clan-about-divider{height:1px;background:var(--line);margin:26px 0 20px}
.clan-members-heading{margin-bottom:14px}
.clan-members-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.clan-member-chip{min-width:0;display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#ffffff02}
.clan-member-chip>span{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:8px;background:var(--soft);color:var(--red2);font:800 9px 'Space Grotesk',sans-serif}
.clan-member-chip b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.clan-member-more{border-style:dashed;color:var(--muted)}
.clan-members-empty{padding:18px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:12px}
.clan-action-panel{position:sticky;top:92px;padding:25px}
.clan-action-panel>p{color:var(--muted);line-height:1.75;margin-bottom:22px}
.clan-action-note{display:block;color:var(--faint);font-size:10px;line-height:1.5;margin-top:11px}

.clan-editor-panel{margin-top:16px;padding:25px}
.clan-editor-panel .panel-heading{align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:18px}
.clan-editor-panel .panel-heading h3{font-size:24px;margin:8px 0 0}
.clan-editor-panel>.muted{margin-bottom:20px}
.clan-editor-form{display:grid;grid-template-columns:1fr;gap:14px}
.clan-editor-form .field{display:grid;gap:7px;color:var(--muted);font-size:11px;font-weight:700}
.clan-editor-form input[type="text"],.clan-editor-form input:not([type]),.clan-editor-form textarea{width:100%;border:1px solid var(--line);background:var(--panel3);color:var(--text);border-radius:10px;padding:12px 13px;outline:none;resize:vertical}
.clan-editor-form input:focus,.clan-editor-form textarea:focus{border-color:#f05a6975;box-shadow:0 0 0 3px #f1455712}
.clan-media-editor{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.clan-upload-card{position:relative;display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;min-height:84px;padding:15px;border:1px dashed #ffffff29;border-radius:12px;background:#ffffff02;cursor:pointer;transition:border-color .2s,background .2s,transform .2s}
.light .clan-upload-card{border-color:#00000020;background:#00000002}
.clan-upload-card:hover{border-color:#f05a6970;background:var(--soft);transform:translateY(-1px)}
.clan-upload-card>span{grid-row:1/3;width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:var(--soft);color:var(--red2)}
.clan-upload-card b{font-size:12px;color:var(--text)}
.clan-upload-card small{color:var(--faint);font-size:9px}
.clan-upload-card input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.clan-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:4px}
.clan-detail-skeleton{height:430px;margin-top:26px;background:linear-gradient(100deg,var(--panel) 30%,var(--panel2) 45%,var(--panel) 60%);background-size:200% 100%;animation:clanShimmer 1.3s linear infinite}
@keyframes clanShimmer{to{background-position:-200% 0}}

.crumb-parent{display:inline-flex;align-items:center;gap:7px;color:var(--muted)}
.crumb-parent:hover{color:var(--text)}

body.light .clan-hero-panel{color:#fff;background:linear-gradient(145deg,#ffffff,#f5f6fa)}
body.light .clan-hero-banner-wrap{background:#eef1f7}
body.light .clan-hero-avatar-wrap{border-color:#ffffff}
body.light .clan-action-panel,body.light .clan-about-panel,body.light .clan-editor-panel{background:linear-gradient(145deg,#fff,#f8f8fa)}

@media(max-width:900px){
  .clan-detail-grid{grid-template-columns:1fr}
  .clan-action-panel{position:static}
  .clan-members-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .clan-detail-page>.bread{margin-top:18px;overflow:auto;white-space:nowrap;padding-bottom:3px}
  .clan-hero-panel{border-radius:15px}
  .clan-hero-banner-wrap{height:188px}
  .clan-hero-top{top:20px;left:20px;right:20px}
  .clan-hero-lower{padding:0 20px 24px;margin-top:-43px;align-items:flex-start;flex-direction:column;gap:14px}
  .clan-hero-avatar-wrap{width:86px;height:86px;flex-basis:86px}
  .clan-hero-copy h1{font-size:38px}
  .clan-hero-copy>p{font-size:12px;margin-bottom:14px}
  .clan-hero-meta{gap:7px}
  .clan-hero-meta>span{font-size:9px;padding:6px 9px}
  .clan-members-list{grid-template-columns:1fr}
  .clan-media-editor{grid-template-columns:1fr}
  .clan-editor-panel,.clan-action-panel,.clan-about-panel{padding:19px}
  .clan-editor-footer{align-items:stretch;flex-direction:column}
  .clan-editor-footer .btn{width:100%}
  .clan-directory-card .clan-card-cover{min-height:175px}
}

/* v0.2.23 clan detail redesign */
.clan-detail-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(340px,.88fr);gap:18px;margin-top:16px;align-items:start}
.clan-showcase-panel{padding:22px;background:linear-gradient(145deg,var(--panel),var(--panel2));display:flex;flex-direction:column;gap:18px;border-color:#ffffff1a}
.clan-showcase-media{display:flex;flex-direction:column;gap:18px}
.clan-showcase-banner{position:relative;aspect-ratio:16/9;min-height:280px;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#101319}
.clan-showcase-banner-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.clan-showcase-banner.is-fallback .clan-showcase-banner-img{opacity:0}
.clan-showcase-banner-fallback{position:absolute;inset:0;display:grid;place-items:center;background:#101319}
.clan-showcase-banner-fallback span{font:800 clamp(64px,8vw,124px)/1 'Space Grotesk',Manrope,sans-serif;letter-spacing:.12em;color:#ffffffea;text-transform:uppercase}
.clan-showcase-banner-top{position:absolute;top:16px;left:16px;right:16px;display:flex;justify-content:space-between;align-items:center;gap:12px;z-index:2}
.clan-mini-type{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 10px;border:1px solid #ffffff20;background:#0a0d12e8;border-radius:999px;font-size:10px;letter-spacing:.12em;font-weight:800;text-transform:uppercase}
.clan-showcase-head{display:grid;grid-template-columns:112px minmax(0,1fr);gap:18px;align-items:center}
.clan-showcase-avatar{position:relative;width:112px;height:112px;border-radius:999px;overflow:hidden;border:3px solid #ffffff22;background:#11151b;display:grid;place-items:center}
.clan-showcase-avatar-img{width:100%;height:100%;object-fit:cover;display:block}
.clan-showcase-avatar.is-fallback .clan-showcase-avatar-img{opacity:0}
.clan-showcase-avatar-fallback{position:absolute;inset:0;display:grid;place-items:center;font:800 30px/1 'Space Grotesk',Manrope,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#fff}
.clan-showcase-copy{min-width:0}
.clan-showcase-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.clan-showcase-title-row h1{margin:0;font:700 clamp(34px,4.2vw,56px)/.98 'Space Grotesk',Manrope,sans-serif;letter-spacing:-.055em}
.clan-showcase-copy>p{margin:0 0 16px;color:var(--muted);font-size:14px;line-height:1.8}
.clan-showcase-bottom{display:grid;grid-template-columns:minmax(0,.9fr) minmax(280px,.95fr);gap:16px;align-items:start}
.clan-showcase-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.clan-fact{padding:14px 14px 13px;border:1px solid var(--line);border-radius:12px;background:#ffffff03;display:flex;flex-direction:column;gap:6px;min-width:0}
.clan-fact small{font-size:9px;letter-spacing:.16em;color:var(--faint);font-weight:800}
.clan-fact b{font-size:13px;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.clan-action-card{padding:16px;border:1px solid var(--line);border-radius:16px;background:#ffffff03}
.clan-action-card h3{font-size:24px;letter-spacing:-.04em;margin:8px 0 12px}
.clan-action-card>p{color:var(--muted);line-height:1.75;margin-bottom:18px}
.clan-side-stack{display:grid;gap:16px;align-items:start}
.clan-about-panel,.clan-members-panel{background:linear-gradient(145deg,var(--panel),var(--panel2))}
.clan-about-panel h2,.clan-members-panel h2{font-size:27px;letter-spacing:-.04em;margin:9px 0 0}
.clan-members-panel .panel-heading{align-items:flex-start;margin-bottom:14px}
.clan-members-panel .panel-heading>div{display:grid;gap:2px}
.clan-members-panel .clan-members-list{grid-template-columns:repeat(2,minmax(0,1fr))}

body.light .clan-showcase-panel,body.light .clan-about-panel,body.light .clan-members-panel{background:linear-gradient(145deg,#fff,#f8f8fa)}
body.light .clan-action-card,body.light .clan-fact{background:#00000002}

@media(max-width:1100px){
  .clan-detail-layout{grid-template-columns:1fr}
  .clan-side-stack{grid-template-columns:1fr 1fr}
}
@media(max-width:800px){
  .clan-showcase-bottom{grid-template-columns:1fr}
  .clan-showcase-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
  .clan-side-stack{grid-template-columns:1fr}
}
@media(max-width:600px){
  .clan-showcase-panel{padding:18px}
  .clan-showcase-banner{min-height:200px;border-radius:16px}
  .clan-showcase-banner-top{top:12px;left:12px;right:12px}
  .clan-showcase-head{grid-template-columns:1fr;gap:14px}
  .clan-showcase-avatar{width:92px;height:92px}
  .clan-showcase-avatar-fallback{font-size:24px}
  .clan-showcase-title-row h1{font-size:36px}
  .clan-showcase-copy>p{font-size:12px;line-height:1.7}
  .clan-showcase-facts{grid-template-columns:1fr}
  .clan-members-panel .clan-members-list{grid-template-columns:1fr}
}

/* v0.2.27 media positioning controls */
.clan-media-configurator{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:16px}
.clan-media-tuner{min-width:0;padding:14px;border:1px solid var(--line);border-radius:16px;background:#ffffff02;display:grid;gap:14px}
.clan-media-preview{position:relative;overflow:hidden;border:1px solid var(--line);background:#0f1218;display:grid;place-items:center}
.clan-media-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;max-width:none}
.clan-media-empty{position:relative;z-index:2;color:var(--faint);font-size:10px;font-weight:700;text-align:center;padding:16px;pointer-events:none}
.clan-media-preview:not(.is-empty) .clan-media-empty{display:none}
.clan-media-tuner-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.clan-media-tuner-head>div{display:grid;gap:4px}
.clan-media-tuner-head b{font-size:13px;color:var(--text)}
.clan-media-tuner-head small{font-size:9px;color:var(--faint);line-height:1.45}
.clan-media-sliders{display:grid;gap:10px}
.clan-media-sliders label{display:grid;grid-template-columns:1fr auto;align-items:center;gap:7px;color:var(--muted);font-size:10px;font-weight:700}
.clan-media-sliders output{font:700 10px 'Space Grotesk',sans-serif;color:var(--text)}
.clan-media-sliders input[type="range"]{grid-column:1/-1;width:100%;accent-color:var(--red2);cursor:pointer}
.clan-upload-card.compact{min-height:70px;padding:12px;grid-template-columns:34px 1fr}
.clan-upload-card.compact>span{width:34px;height:34px}

body.light .clan-media-tuner{background:#00000002}
body.light .clan-media-preview{background:#eef1f7}

@media(max-width:900px){
  .clan-media-configurator{grid-template-columns:1fr}
}

/* v0.2.28 compact clan media editor — previews match public clan slots */
.clan-editor-panel{padding:28px;border-radius:18px}
.clan-editor-panel .panel-heading{padding-bottom:22px;margin-bottom:22px}
.clan-editor-panel .panel-heading>div{max-width:900px}
.clan-editor-intro{margin:9px 0 0;color:var(--muted);font-size:12px;line-height:1.7;font-weight:500}
.clan-editor-form{gap:20px}
.clan-media-configurator{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:18px;align-items:stretch}
.clan-media-tuner{min-width:0;padding:18px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,#ffffff03,#ffffff01);display:flex;flex-direction:column;gap:16px;overflow:hidden}
.clan-media-tuner-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;min-height:62px}
.clan-media-tuner-top>div{min-width:0}
.clan-media-tuner-top .kicker{display:block;margin-bottom:6px}
.clan-media-tuner-top h4{margin:0 0 5px;font-size:16px;letter-spacing:-.03em;color:var(--text)}
.clan-media-tuner-top p{margin:0;color:var(--faint);font-size:10px;line-height:1.5}
.clan-media-preview-shell{position:relative;display:grid;place-items:center;min-height:190px;padding:18px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#0e1117,#11151d)}
.clan-media-preview{position:relative;overflow:hidden;border:1px solid #ffffff20;background:#0f1218;display:grid;place-items:center;cursor:grab;touch-action:none;user-select:none;isolation:isolate}
.clan-media-preview.is-dragging{cursor:grabbing}
.clan-media-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;max-width:none;pointer-events:none}
.clan-media-empty{position:relative;z-index:2;display:grid;place-items:center;gap:5px;color:var(--faint);font-size:10px;text-align:center;padding:14px;pointer-events:none}
.clan-media-empty .ui-icon{width:20px;height:20px;color:var(--red2)}
.clan-media-empty b{font-size:11px;color:var(--muted)}
.clan-media-empty small{font-size:9px;line-height:1.4}
.clan-media-preview:not(.is-empty) .clan-media-empty{display:none}
.clan-media-drag-hint{position:absolute;left:50%;bottom:10px;z-index:3;transform:translateX(-50%);display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #ffffff1f;border-radius:999px;background:#090c12d9;color:#e9ebef;font-size:9px;font-weight:700;white-space:nowrap;opacity:0;transition:opacity .18s,transform .18s;pointer-events:none}
.clan-media-drag-hint .ui-icon{width:12px;height:12px}
.clan-media-preview:not(.is-empty):hover .clan-media-drag-hint,.clan-media-preview.is-dragging .clan-media-drag-hint{opacity:1;transform:translateX(-50%) translateY(-2px)}
.clan-banner-size-note{position:absolute;right:12px;bottom:10px;display:flex;align-items:center;gap:7px;padding:5px 8px;border:1px solid #ffffff16;border-radius:8px;background:#090c12c9;color:#fff;pointer-events:none}
.clan-banner-size-note span{font:800 9px 'Space Grotesk',sans-serif;letter-spacing:.08em}
.clan-banner-size-note small{font-size:8px;color:#aeb3bf}
.clan-media-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.clan-media-values>span{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:#ffffff02}
.clan-media-values small{font:800 8px 'Space Grotesk',sans-serif;letter-spacing:.12em;color:var(--faint)}
.clan-media-values b{font:700 10px 'Space Grotesk',sans-serif;color:var(--text)}
.clan-media-sliders{display:grid;gap:12px}
.clan-media-sliders label{display:grid;grid-template-columns:100px 1fr;align-items:center;gap:12px;color:var(--muted);font-size:10px;font-weight:700}
.clan-media-sliders label>span{white-space:nowrap}
.clan-media-sliders input[type="range"]{width:100%;height:18px;accent-color:var(--red2);cursor:pointer}
.clan-upload-card.compact{margin-top:auto;min-height:66px;padding:12px 13px;grid-template-columns:36px minmax(0,1fr);grid-template-rows:1fr;column-gap:11px;border-style:solid;border-color:var(--line);background:#ffffff02}
.clan-upload-card.compact>span{grid-row:auto;width:36px;height:36px;border-radius:10px}
.clan-upload-card.compact>div{display:grid;gap:3px;min-width:0}
.clan-upload-card.compact b{font-size:11px}
.clan-upload-card.compact small{font-size:8px}
.clan-copy-editor{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:16px;padding-top:2px}
.clan-copy-editor .field{padding:15px;border:1px solid var(--line);border-radius:14px;background:#ffffff02}
.clan-copy-editor .field>span{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:var(--text);font-size:11px;font-weight:800}
.clan-copy-editor .field>span small{color:var(--faint);font-size:8px;font-weight:600;text-align:right}
.clan-copy-editor input,.clan-copy-editor textarea{margin-top:3px}
.clan-editor-footer{padding:14px 0 0;border-top:1px solid var(--line)}
.clan-editor-footer .btn{min-height:42px;padding-inline:18px}

body.light .clan-media-tuner,body.light .clan-copy-editor .field{background:#00000002}
body.light .clan-media-preview-shell{background:linear-gradient(145deg,#f2f4f8,#e8ebf1)}
body.light .clan-media-preview{border-color:#00000018}
body.light .clan-banner-size-note,body.light .clan-media-drag-hint{background:#171a20e8}

@media(max-width:1050px){
  .clan-media-configurator{grid-template-columns:1fr}
}
@media(max-width:760px){
  .clan-editor-panel{padding:19px}
  .clan-copy-editor{grid-template-columns:1fr}
  .clan-media-preview-shell{min-height:150px;padding:13px}
  .clan-media-sliders label{grid-template-columns:86px 1fr;gap:9px}
  .clan-media-tuner-top{min-height:0}
}

/* v0.2.29 — clan editor preview matches the real clan block */
:root{--clan-banner-ratio:7/2}
.clan-showcase-banner{height:auto!important;min-height:0!important;aspect-ratio:var(--clan-banner-ratio)!important}

.clan-live-preview-block{padding:18px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,#ffffff035,#ffffff015)}
.clan-live-preview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}
.clan-live-preview-heading h4{margin:6px 0 0;font-size:18px;letter-spacing:-.035em;color:var(--text)}
.clan-live-preview-badge{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border:1px solid var(--line);border-radius:999px;background:#ffffff03;color:var(--muted);font-size:9px;font-weight:800;white-space:nowrap}
.clan-live-showcase{width:min(100%,836px);margin:0 auto;padding:14px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,var(--panel),var(--panel2))}
.clan-live-banner{position:relative;width:100%;aspect-ratio:var(--clan-banner-ratio);overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#101319;cursor:grab;touch-action:none;user-select:none;isolation:isolate}
.clan-live-banner.is-dragging,.clan-live-avatar.is-dragging{cursor:grabbing}
.clan-live-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block;max-width:none;pointer-events:none}
.clan-live-banner.is-empty>img{opacity:0}
.clan-live-banner-fallback{position:absolute;inset:0;display:grid;place-items:center;background:#101319}
.clan-live-banner-fallback span{font:800 clamp(58px,8vw,108px)/1 'Space Grotesk',Manrope,sans-serif;letter-spacing:.12em;color:#fff;text-transform:uppercase}
.clan-live-banner-top{position:absolute;top:14px;left:14px;right:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:2;pointer-events:none}
.clan-live-head{display:grid;grid-template-columns:112px minmax(0,1fr);gap:18px;align-items:center;padding-top:18px}
.clan-live-avatar{position:relative;width:112px;height:112px;border-radius:999px;overflow:hidden;border:3px solid #ffffff22;background:#11151b;display:grid;place-items:center;cursor:grab;touch-action:none;user-select:none;isolation:isolate}
.clan-live-avatar>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;max-width:none;pointer-events:none}
.clan-live-avatar.is-empty>img{opacity:0}
.clan-live-avatar-fallback{position:absolute;inset:0;display:grid;place-items:center;font:800 28px/1 'Space Grotesk',Manrope,sans-serif;letter-spacing:.1em;color:#fff;text-transform:uppercase}
.clan-live-copy{min-width:0}
.clan-live-copy .clan-showcase-title-row{margin-bottom:10px}
.clan-live-copy .clan-showcase-title-row h1{font-size:clamp(34px,4vw,52px)}
.clan-live-help{margin:13px auto 0;max-width:836px;color:var(--faint);font-size:10px;line-height:1.55;text-align:center}
.clan-live-banner .clan-media-drag-hint,.clan-live-avatar .clan-media-drag-hint{opacity:0}
.clan-live-banner:not(.is-empty):hover .clan-media-drag-hint,.clan-live-banner.is-dragging .clan-media-drag-hint,.clan-live-avatar:not(.is-empty):hover .clan-media-drag-hint,.clan-live-avatar.is-dragging .clan-media-drag-hint{opacity:1;transform:translateX(-50%) translateY(-2px)}
.clan-live-avatar .clan-media-drag-hint{bottom:7px;padding:5px 7px}

.clan-crop-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.clan-crop-controls{min-width:0;padding:16px;border:1px solid var(--line);border-radius:16px;background:#ffffff02;display:grid;gap:14px}
.clan-crop-controls-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.clan-crop-controls-head h4{margin:5px 0 4px;font-size:15px;letter-spacing:-.03em;color:var(--text)}
.clan-crop-controls-head p{margin:0;color:var(--faint);font-size:9px;line-height:1.5}
.clan-crop-controls .clan-upload-card.compact{margin-top:0}

body.light .clan-live-preview-block,body.light .clan-crop-controls{background:#00000002}
body.light .clan-live-showcase{background:linear-gradient(145deg,#fff,#f8f8fa)}
body.light .clan-live-banner,body.light .clan-live-avatar{border-color:#00000018}

@media(max-width:900px){
  .clan-crop-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  :root{--clan-banner-ratio:16/7}
  .clan-live-preview-block{padding:13px}
  .clan-live-preview-heading{align-items:flex-start;flex-direction:column;gap:9px}
  .clan-live-showcase{padding:10px;border-radius:14px}
  .clan-live-banner{border-radius:12px}
  .clan-live-head{grid-template-columns:92px minmax(0,1fr);gap:13px;padding-top:13px}
  .clan-live-avatar{width:92px;height:92px}
  .clan-live-copy .clan-showcase-title-row h1{font-size:30px}
  .clan-crop-controls{padding:13px}
}
.clan-live-banner:not(.is-empty) .clan-live-banner-fallback,.clan-live-avatar:not(.is-empty) .clan-live-avatar-fallback{display:none}
.clan-showcase-banner.has-media .clan-showcase-banner-fallback,.clan-showcase-avatar.has-media .clan-showcase-avatar-fallback{display:none}

/* v0.2.30 clan directory avatar sizing */
@media(max-width:600px){.clan-card-logo{width:68px;height:68px;left:14px;bottom:12px}.clan-card-logo.is-fallback{font-size:18px}}

/* v0.2.32 admin-only clan management */
dialog.clan-admin-modal{max-width:min(1180px,calc(100% - 28px));max-height:92vh;overflow:auto}
dialog.clan-admin-modal .modal-shell{padding:24px}
dialog.clan-admin-modal .admin-clan-edit-shell>h2{margin:8px 0 18px;font-size:30px}
.admin-clan-source-note{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;margin-bottom:16px;border:1px solid var(--line);border-radius:12px;background:var(--panel2)}
.admin-clan-source-note>.ui-icon{flex:0 0 18px;margin-top:2px;color:var(--red2)}
.admin-clan-source-note b{display:block;font-size:12px;color:var(--text);margin-bottom:4px}
.admin-clan-source-note span{display:block;color:var(--muted);font-size:11px;line-height:1.55}
.admin-clan-core-form{display:grid;grid-template-columns:1.2fr 1fr .6fr auto;gap:10px;align-items:end;margin-bottom:16px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--panel2)}
.admin-clan-core-form .btn{min-height:42px}
.clan-admin-editor-panel{margin:0;border-radius:14px;box-shadow:none}
.clan-admin-editor-panel .panel-heading{padding-right:36px}
@media(max-width:900px){.admin-clan-core-form{grid-template-columns:1fr 1fr}.admin-clan-core-form .btn{grid-column:1/-1}}
@media(max-width:600px){dialog.clan-admin-modal{max-width:calc(100% - 14px)}dialog.clan-admin-modal .modal-shell{padding:18px 12px}.admin-clan-core-form{grid-template-columns:1fr}.admin-clan-core-form .btn{grid-column:auto}}

/* v0.2.34 — clan light-theme polish + description editor */
body.light .clan-tag{
  color:#2a2d33!important;
  background:#fff!important;
  border-color:#d8dbe2!important;
  box-shadow:0 4px 14px #171a2210;
}
body.light .clan-mini-type{
  color:#26282e!important;
  background:rgba(255,255,255,.94)!important;
  border-color:#d8dbe2!important;
  box-shadow:0 5px 18px #11141b18;
}
body.light .clan-hero-meta>span{
  color:#686d77!important;
  background:#fff!important;
  border-color:#dfe2e8!important;
  box-shadow:0 3px 12px #171a220b;
}
body.light .clan-hero-meta>span b{color:#202329!important}
body.light .clan-hero-meta .ui-icon{color:#e74f61!important}
body.light .clan-fact{
  background:#fff!important;
  border-color:#e0e3e9!important;
  box-shadow:0 3px 12px #171a2208;
}
body.light .clan-fact small{color:#8b9099!important}
body.light .clan-fact b{color:#24272d!important}
body.light .clan-showcase-title-row h1,
body.light .clan-live-copy .clan-showcase-title-row h1{color:#202329!important}
body.light .clan-live-showcase .clan-tag{color:#202329!important}
body.light .clan-live-showcase .clan-hero-meta>span{background:#fff!important;color:#666b74!important}
body.light .clan-live-showcase .clan-hero-meta b{color:#202329!important}

.clan-copy-editor{gap:18px}
.clan-copy-field{
  position:relative;
  display:grid!important;
  gap:14px!important;
  padding:18px!important;
  border:1px solid var(--line)!important;
  border-radius:17px!important;
  background:linear-gradient(145deg,#ffffff035,#ffffff012)!important;
  overflow:hidden;
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease;
}
.clan-copy-field:focus-within{
  border-color:#ff6b786f!important;
  background:linear-gradient(145deg,#ff65700b,#ffffff018)!important;
  box-shadow:0 0 0 4px #ff657009,0 12px 28px #00000012;
  transform:translateY(-1px);
}
.clan-copy-field-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:14px!important;
}
.clan-copy-field-title{display:flex;align-items:flex-start;gap:11px;min-width:0}
.clan-copy-field-title>.ui-icon{
  flex:0 0 34px;
  width:34px;height:34px;
  padding:8px;
  border-radius:10px;
  color:var(--red2);
  background:var(--soft);
  border:1px solid #ff6b7822;
}
.clan-copy-field-title>span{display:grid;gap:4px;min-width:0}
.clan-copy-field-title b{font-size:12px;color:var(--text);letter-spacing:-.01em}
.clan-copy-field-title small{font-size:9px!important;line-height:1.45;color:var(--faint)!important;font-weight:600!important;text-align:left!important}
.clan-copy-counter{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 9px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#ffffff03;
  color:var(--faint);
  font:700 9px/1 'Space Grotesk',Manrope,sans-serif;
  letter-spacing:.02em;
  transition:.18s ease;
}
.clan-copy-counter.near-limit{color:#f2a85a;border-color:#f2a85a55;background:#f2a85a0d}
.clan-copy-counter.at-limit{color:#ff6674;border-color:#ff667466;background:#ff667410}
.clan-copy-input-shell{
  display:block;
  position:relative;
  border:1px solid var(--line);
  border-radius:13px;
  background:var(--panel3);
  overflow:hidden;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.clan-copy-field:focus-within .clan-copy-input-shell{border-color:#ff6b7868;box-shadow:inset 0 0 0 1px #ff6b7812}
.clan-copy-input-shell textarea{
  display:block;
  width:100%!important;
  min-height:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--text)!important;
  padding:15px 16px!important;
  outline:0!important;
  resize:vertical;
  font:600 13px/1.72 Manrope,sans-serif!important;
  box-shadow:none!important;
}
.clan-copy-short .clan-copy-input-shell textarea{min-height:116px!important;max-height:190px}
.clan-copy-full .clan-copy-input-shell textarea{min-height:184px!important}
.clan-copy-input-shell textarea::placeholder{color:var(--faint);font-weight:500}

body.light .clan-copy-field{
  background:linear-gradient(145deg,#fff,#fafbfc)!important;
  border-color:#e0e3e8!important;
  box-shadow:0 4px 16px #171a2207;
}
body.light .clan-copy-field:focus-within{
  border-color:#ef6976!important;
  background:#fff!important;
  box-shadow:0 0 0 4px #ef69760b,0 12px 28px #171a220b;
}
body.light .clan-copy-field-title>.ui-icon{background:#fff1f3;border-color:#f2a0aa55;color:#e94d60}
body.light .clan-copy-field-title b{color:#24272d}
body.light .clan-copy-field-title small{color:#8b9099!important}
body.light .clan-copy-counter{background:#f7f8fa;border-color:#e0e3e8;color:#777d87}
body.light .clan-copy-input-shell{background:#f6f7f9;border-color:#dfe2e8}
body.light .clan-copy-field:focus-within .clan-copy-input-shell{background:#fff;border-color:#ef6976}
body.light .clan-copy-input-shell textarea{color:#22252b!important}
body.light .clan-copy-input-shell textarea::placeholder{color:#9ba0a9}

@media(max-width:760px){
  .clan-copy-field{padding:14px!important}
  .clan-copy-field-head{gap:9px!important}
  .clan-copy-field-title>.ui-icon{flex-basis:30px;width:30px;height:30px;padding:7px}
  .clan-copy-counter{min-height:26px;padding-inline:8px;font-size:8px}
  .clan-copy-input-shell textarea{padding:13px!important;font-size:12px!important}
}

/* v0.2.35 — balanced description editor + clan Markdown */
.clan-copy-editor{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
}
.clan-copy-field{
  height:100%;
  grid-template-rows:auto auto auto;
}
.clan-copy-input-shell textarea,
.clan-copy-short .clan-copy-input-shell textarea,
.clan-copy-full .clan-copy-input-shell textarea{
  height:176px!important;
  min-height:176px!important;
  max-height:176px!important;
  resize:none!important;
  overflow:auto;
}
.clan-copy-head-side{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.clan-markdown-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:31px;
  height:28px;
  padding:0 8px;
  border-radius:999px;
  border:1px solid #ff6b7842;
  background:#ff6b780d;
  color:var(--red2);
  font:800 9px/1 'Space Grotesk',Manrope,sans-serif;
  letter-spacing:.12em;
}
.clan-markdown-help,
.clan-copy-plain-help{
  min-height:28px;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  flex-wrap:wrap;
  color:var(--faint)!important;
  font-size:9px!important;
  font-weight:600!important;
  line-height:1.45;
}
.clan-markdown-help code{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 7px;
  border:1px solid var(--line);
  border-radius:7px;
  background:var(--panel3);
  color:var(--muted);
  font:600 9px/1.1 ui-monospace,SFMono-Regular,Consolas,monospace;
}
.clan-copy-plain-help::before{
  content:"TEXT";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:24px;
  padding:0 7px;
  border:1px solid var(--line);
  border-radius:7px;
  background:var(--panel3);
  color:var(--faint);
  font:800 8px/1 'Space Grotesk',Manrope,sans-serif;
  letter-spacing:.12em;
}
.clan-description-markdown{white-space:normal!important;overflow-wrap:anywhere}
.clan-description-markdown> :first-child{margin-top:0!important}
.clan-description-markdown> :last-child{margin-bottom:0!important}
.clan-description-markdown p{margin:0 0 12px;color:var(--muted);font-size:13px;line-height:1.85}
.clan-description-markdown h3,
.clan-description-markdown h4,
.clan-description-markdown h5,
.clan-description-markdown h6{margin:18px 0 8px;color:var(--text);letter-spacing:-.025em;line-height:1.25}
.clan-description-markdown h3{font-size:20px}
.clan-description-markdown h4{font-size:17px}
.clan-description-markdown h5,.clan-description-markdown h6{font-size:14px}
.clan-description-markdown strong{color:var(--text);font-weight:800}
.clan-description-markdown em{color:var(--text)}
.clan-description-markdown .md-list-item{display:flex;gap:9px;position:relative;padding-left:16px;margin:7px 0;color:var(--muted);font-size:13px;line-height:1.7}
.clan-description-markdown .md-list-item:not(.md-numbered)::before{content:"";position:absolute;left:2px;top:.72em;width:5px;height:5px;border-radius:50%;background:var(--red2)}
.clan-description-markdown .md-numbered{padding-left:0}
.clan-description-markdown .md-numbered i{min-width:20px;color:var(--red2);font-style:normal;font-weight:800}
.clan-description-markdown blockquote{margin:12px 0;padding:10px 13px;border-left:2px solid var(--red2);border-radius:0 8px 8px 0;background:var(--soft);color:var(--muted);line-height:1.7}
.clan-description-markdown .md-inline{padding:2px 6px;border:1px solid var(--line);border-radius:6px;background:var(--panel3);color:var(--text);font:600 11px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace}
.clan-description-markdown .md-code{margin:12px 0;padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:var(--panel3);overflow:auto}
.clan-description-markdown .md-code code{font:500 11px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--text)}
.clan-description-markdown .md-link{color:var(--red2);text-decoration:none;border-bottom:1px solid currentColor}
.clan-description-markdown .md-link:hover{opacity:.8}

body.light .clan-markdown-badge{background:#fff1f3;border-color:#f2a0aa66;color:#e94d60}
body.light .clan-markdown-help code,
body.light .clan-copy-plain-help::before{background:#f6f7f9;border-color:#dfe2e8;color:#707680}
body.light .clan-description-markdown p,
body.light .clan-description-markdown .md-list-item,
body.light .clan-description-markdown blockquote{color:#676c75}
body.light .clan-description-markdown .md-inline,
body.light .clan-description-markdown .md-code{background:#f6f7f9;border-color:#dfe2e8;color:#24272d}

@media(max-width:900px){.clan-copy-editor{grid-template-columns:1fr!important}}
@media(max-width:760px){
  .clan-copy-input-shell textarea,
  .clan-copy-short .clan-copy-input-shell textarea,
  .clan-copy-full .clan-copy-input-shell textarea{height:156px!important;min-height:156px!important;max-height:156px!important}
  .clan-markdown-help{gap:5px!important}
}

/* v0.2.36 — clan media on homepage */
.home-clans-panel .home-clan-row{
  display:grid;
  grid-template-columns:112px minmax(0,1fr) 34px;
  align-items:center;
  gap:13px;
  min-height:92px;
  padding:8px;
  overflow:hidden;
  text-decoration:none;
  transition:border-color .2s ease,background .2s ease,transform .2s ease;
}
.home-clans-panel .home-clan-row:hover{
  transform:translateY(-1px);
  border-color:#ff77834a;
  background:color-mix(in srgb,var(--panel2) 92%,var(--red) 8%);
}
.home-clan-media{
  position:relative;
  display:block;
  width:112px;
  height:74px;
  overflow:hidden;
  border-radius:9px;
  background:#0f1218;
  border:1px solid var(--line);
}
.home-clan-banner{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.home-clan-media.is-fallback .home-clan-banner{opacity:0}
.home-clan-banner-fallback{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#141821,#0d1016);
  color:#ff737f;
  font:800 24px/1 'Space Grotesk',Manrope,sans-serif;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.home-clan-avatar{
  position:absolute;
  left:7px;
  bottom:7px;
  width:38px;
  height:38px;
  border-radius:50%;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:#141821;
  box-shadow:0 5px 14px #0008;
  z-index:2;
}
.home-clan-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.home-clan-avatar.is-fallback{
  color:#fff;
  background:#1b202b;
  font:800 10px/1 'Space Grotesk',Manrope,sans-serif;
  letter-spacing:.06em;
}
.home-clan-action{
  width:34px;
  height:34px;
  padding:0!important;
  display:grid;
  place-items:center;
}
.home-clan-action .ui-icon{width:15px;height:15px}
body.light .home-clan-media{background:#eef0f4;border-color:#dfe2e7}
body.light .home-clan-banner-fallback{background:linear-gradient(135deg,#f4f5f8,#e9ebf0);color:#e55768}
body.light .home-clan-avatar{background:#fff;box-shadow:0 4px 12px #20263418}
body.light .home-clan-avatar.is-fallback{background:#eceff4;color:#d84c5d}
@media(max-width:560px){
  .home-clans-panel .home-clan-row{grid-template-columns:92px minmax(0,1fr) 32px;gap:10px}
  .home-clan-media{width:92px;height:66px}
  .home-clan-avatar{width:34px;height:34px;left:6px;bottom:6px}
}

/* v0.2.37 — premium homepage clan cards */
.home-clans-panel .home-bottom-list{
  gap:10px;
}
.home-clans-panel .home-clan-row{
  position:relative;
  display:grid;
  grid-template-columns:132px minmax(0,1fr) 34px;
  align-items:center;
  gap:14px;
  min-height:102px;
  padding:9px;
  border-radius:13px;
  overflow:hidden;
  text-decoration:none;
  background:linear-gradient(135deg,rgba(255,255,255,.025),rgba(255,255,255,.012));
  border:1px solid var(--line);
  transition:transform .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease;
}
.home-clans-panel .home-clan-row::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,transparent 0 55%,rgba(241,69,87,.025) 100%);
  opacity:0;
  transition:opacity .22s ease;
}
.home-clans-panel .home-clan-row:hover{
  transform:translateY(-2px);
  border-color:rgba(255,112,125,.34);
  background:linear-gradient(135deg,rgba(255,255,255,.04),rgba(241,69,87,.035));
  box-shadow:0 10px 28px rgba(0,0,0,.12);
}
.home-clans-panel .home-clan-row:hover::after{opacity:1}
.home-clan-media{
  position:relative;
  width:132px;
  height:82px;
  overflow:hidden;
  border-radius:11px;
  background:#0e1117;
  border:1px solid rgba(255,255,255,.07);
  isolation:isolate;
}
.home-clan-banner{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.home-clan-media.is-fallback .home-clan-banner{opacity:0}
.home-clan-banner-fallback{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 22% 26%,rgba(241,69,87,.14),transparent 42%),
    linear-gradient(135deg,#151922 0%,#0d1117 62%,#141821 100%);
}
.home-clan-banner-fallback::before{
  content:"";
  position:absolute;
  width:130px;
  height:130px;
  border:1px solid rgba(255,255,255,.045);
  border-radius:50%;
  transform:translate(42px,-26px);
}
.home-clan-banner-fallback b{
  position:relative;
  z-index:1;
  color:rgba(255,112,125,.34);
  font:800 22px/1 'Space Grotesk',Manrope,sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.home-clan-type{
  position:absolute;
  top:7px;
  right:7px;
  z-index:3;
  min-height:20px;
  padding:0 7px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(8,10,14,.74);
  color:rgba(255,255,255,.88);
  font:800 7px/1 'Space Grotesk',Manrope,sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.home-clan-avatar{
  position:absolute;
  left:8px;
  bottom:8px;
  width:46px;
  height:46px;
  border-radius:50%;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:#151922;
  box-shadow:0 7px 18px rgba(0,0,0,.36);
  z-index:3;
}
.home-clan-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.home-clan-avatar.is-fallback{
  color:#fff;
  background:linear-gradient(145deg,#242a36,#151a23);
  font:800 10px/1 'Space Grotesk',Manrope,sans-serif;
  letter-spacing:.07em;
}
.home-clan-title-line{
  display:flex;
  align-items:center;
  min-width:0;
  gap:8px;
}
.home-clan-title-line>b{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--text);
  font-size:13px;
  line-height:1.2;
  letter-spacing:-.02em;
}
.home-clan-title-line>small{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:20px;
  padding:0 7px;
  border-radius:999px;
  background:rgba(241,69,87,.08);
  color:var(--red2);
  font-size:8px;
  font-weight:800;
  letter-spacing:.08em;
}
.home-clan-copy{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  color:var(--muted);
  font-size:9.5px;
  line-height:1.5;
}
.home-clan-meta{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  color:var(--faint);
  font-size:8px;
  font-weight:700;
}
.home-clan-meta>span{
  min-width:0;
  display:inline-flex;
  align-items:center;
  gap:4px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.home-clan-meta>span:last-child{max-width:120px}
.home-clan-meta .ui-icon{width:11px;height:11px;color:var(--red2)}
.home-clan-action{
  position:relative;
  z-index:2;
  width:34px;
  height:34px;
  padding:0!important;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:rgba(255,255,255,.025);
  border:1px solid var(--line);
  transition:transform .22s ease,background .22s ease,border-color .22s ease;
}
.home-clan-row:hover .home-clan-action{
  transform:translateX(2px);
  background:rgba(241,69,87,.09);
  border-color:rgba(255,112,125,.28);
}
.home-clan-action .ui-icon{width:14px;height:14px}
body.light .home-clans-panel .home-clan-row{
  background:linear-gradient(135deg,#fff,#fafbfc);
  box-shadow:0 4px 14px rgba(25,30,40,.035);
}
body.light .home-clans-panel .home-clan-row:hover{
  background:linear-gradient(135deg,#fff,#fff7f8);
  border-color:rgba(218,74,91,.26);
  box-shadow:0 10px 24px rgba(25,30,40,.07);
}
body.light .home-clan-media{background:#eef1f5;border-color:#e2e5ea}
body.light .home-clan-banner-fallback{
  background:radial-gradient(circle at 22% 26%,rgba(218,76,93,.11),transparent 42%),linear-gradient(135deg,#f4f6f9,#e9edf3);
}
body.light .home-clan-banner-fallback b{color:rgba(201,69,85,.34)}
body.light .home-clan-avatar{background:#fff;box-shadow:0 7px 16px rgba(25,30,40,.13)}
body.light .home-clan-avatar.is-fallback{background:linear-gradient(145deg,#eef1f5,#e3e7ed);color:#c84b5a}
body.light .home-clan-type{background:rgba(255,255,255,.88);border-color:rgba(0,0,0,.08);color:#30343b}
body.light .home-clan-title-line>small{background:#fbecef;color:#c74757}
body.light .home-clan-action{background:#f7f8fa}
@media(max-width:560px){
  .home-clans-panel .home-clan-row{grid-template-columns:104px minmax(0,1fr) 32px;gap:10px;min-height:94px;padding:8px}
  .home-clan-media{width:104px;height:72px}
  .home-clan-avatar{width:40px;height:40px;left:7px;bottom:7px}
  .home-clan-type{display:none}
  .home-clan-meta>span:last-child{display:none}
}

/* v0.2.38 — real homepage clan redesign */
.home-clans-panel .home-bottom-list{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  align-content:start!important;
}
.home-clans-panel .home-clan-row{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  overflow:visible!important;
  isolation:isolate!important;
  border-radius:15px!important;
  border:1px solid var(--line)!important;
  background:linear-gradient(180deg,var(--panel2),color-mix(in srgb,var(--panel2) 92%,#fff 8%))!important;
  box-shadow:none!important;
  text-decoration:none!important;
  transform:none!important;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease!important;
}
.home-clans-panel .home-clan-row::after{content:none!important;display:none!important}
.home-clans-panel .home-clan-row:hover{
  transform:translateY(-3px)!important;
  border-color:rgba(255,106,120,.38)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.16)!important;
  background:linear-gradient(180deg,var(--panel2),color-mix(in srgb,var(--panel2) 90%,var(--red) 10%))!important;
}
.home-clans-panel .home-clan-media{
  position:relative!important;
  z-index:3!important;
  display:block!important;
  width:100%!important;
  height:104px!important;
  min-height:104px!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:#0d1016!important;
  isolation:isolate!important;
}
.home-clans-panel .home-clan-banner{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  filter:none!important;
  opacity:1!important;
}
.home-clans-panel .home-clan-banner,
.home-clans-panel .home-clan-banner-fallback,
.home-clans-panel .home-clan-media::after{
  border-radius:15px 15px 0 0!important;
}
.home-clans-panel .home-clan-media::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(5,7,10,.04) 0%,rgba(5,7,10,.08) 45%,rgba(5,7,10,.58) 100%)!important;
}
.home-clans-panel .home-clan-media.is-fallback .home-clan-banner{opacity:0!important}
.home-clans-panel .home-clan-banner-fallback{
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  place-items:center!important;
  background:linear-gradient(135deg,#151923 0%,#0e1219 64%,#17131b 100%)!important;
  overflow:hidden!important;
}
.home-clans-panel .home-clan-banner-fallback::before{
  content:""!important;
  position:absolute!important;
  width:150px!important;
  height:150px!important;
  border-radius:50%!important;
  border:1px solid rgba(255,255,255,.05)!important;
  right:-44px!important;
  top:-58px!important;
}
.home-clans-panel .home-clan-banner-fallback b{
  position:relative!important;
  z-index:1!important;
  color:rgba(255,115,127,.48)!important;
  font:800 34px/1 'Space Grotesk',Manrope,sans-serif!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
.home-clans-panel .home-clan-type{
  position:absolute!important;
  top:10px!important;
  right:10px!important;
  z-index:4!important;
  min-height:23px!important;
  padding:0 8px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  background:rgba(8,10,14,.72)!important;
  color:#fff!important;
  font:800 7px/1 'Space Grotesk',Manrope,sans-serif!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
  backdrop-filter:blur(8px)!important;
}
.home-clans-panel .home-clan-avatar{
  position:absolute!important;
  left:14px!important;
  bottom:-22px!important;
  z-index:8!important;
  width:64px!important;
  height:64px!important;
  border-radius:50%!important;
  overflow:hidden!important;
  display:grid!important;
  place-items:center!important;
  background:#151923!important;
  border:0!important;
  outline:0!important;
  box-shadow:0 8px 22px rgba(0,0,0,.34)!important;
}
.home-clans-panel .home-clan-avatar img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  border:0!important;
  outline:0!important;
}
.home-clans-panel .home-clan-avatar.is-fallback{
  color:#fff!important;
  background:linear-gradient(145deg,#252b39,#161b24)!important;
  font:800 12px/1 'Space Grotesk',Manrope,sans-serif!important;
  letter-spacing:.07em!important;
}
.home-clans-panel .home-clan-body{
  position:relative!important;
  z-index:1!important;
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  min-width:0!important;
  padding:38px 13px 12px!important;
}
.home-clans-panel .home-clan-title-line{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0!important;
  margin-bottom:6px!important;
}
.home-clans-panel .home-clan-title-line>b{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:var(--text)!important;
  font-size:14px!important;
  line-height:1.2!important;
  letter-spacing:-.025em!important;
}
.home-clans-panel .home-clan-title-line>small{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:19px!important;
  padding:0 6px!important;
  border-radius:999px!important;
  background:rgba(241,69,87,.09)!important;
  color:var(--red2)!important;
  font-size:7px!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
}
.home-clans-panel .home-clan-copy{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  min-height:31px!important;
  color:var(--muted)!important;
  font-size:9px!important;
  line-height:1.55!important;
}
.home-clans-panel .home-clan-bottom{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  margin-top:auto!important;
  padding-top:10px!important;
}
.home-clans-panel .home-clan-meta{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  color:var(--faint)!important;
  font-size:7.5px!important;
  font-weight:700!important;
}
.home-clans-panel .home-clan-meta>span{
  min-width:0!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:3px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.home-clans-panel .home-clan-meta>span:last-child{max-width:76px!important}
.home-clans-panel .home-clan-meta .ui-icon{width:10px!important;height:10px!important;color:var(--red2)!important}
.home-clans-panel .home-clan-action{
  flex:0 0 auto!important;
  position:static!important;
  width:28px!important;
  height:28px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:9px!important;
  border:1px solid var(--line)!important;
  background:rgba(255,255,255,.025)!important;
  transition:transform .2s ease,background .2s ease,border-color .2s ease!important;
}
.home-clans-panel .home-clan-row:hover .home-clan-action{
  transform:translateX(2px)!important;
  background:rgba(241,69,87,.1)!important;
  border-color:rgba(255,112,125,.3)!important;
}
.home-clans-panel .home-clan-action .ui-icon{width:13px!important;height:13px!important}
body.light .home-clans-panel .home-clan-row{
  background:linear-gradient(180deg,#fff,#fafbfc)!important;
  box-shadow:0 3px 12px rgba(25,30,40,.04)!important;
}
body.light .home-clans-panel .home-clan-row:hover{
  background:linear-gradient(180deg,#fff,#fff8f9)!important;
  border-color:rgba(218,74,91,.25)!important;
  box-shadow:0 12px 28px rgba(25,30,40,.09)!important;
}
body.light .home-clans-panel .home-clan-media::after{
  background:linear-gradient(180deg,rgba(0,0,0,.01) 0%,rgba(0,0,0,.03) 55%,rgba(0,0,0,.26) 100%)!important;
}
body.light .home-clans-panel .home-clan-banner-fallback{background:linear-gradient(135deg,#f1f3f7,#e7eaf0)!important}
body.light .home-clans-panel .home-clan-banner-fallback b{color:rgba(198,65,82,.42)!important}
body.light .home-clans-panel .home-clan-avatar{background:#fff!important;box-shadow:0 8px 20px rgba(25,30,40,.16)!important}
body.light .home-clans-panel .home-clan-avatar.is-fallback{background:linear-gradient(145deg,#eef1f5,#e1e5eb)!important;color:#c64656!important}
body.light .home-clans-panel .home-clan-type{background:rgba(255,255,255,.9)!important;color:#30343b!important;border-color:rgba(0,0,0,.08)!important}
body.light .home-clans-panel .home-clan-title-line>small{background:#fbecef!important;color:#c74757!important}
body.light .home-clans-panel .home-clan-action{background:#f7f8fa!important}
@media(max-width:1220px){
  .home-clans-panel .home-bottom-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  .home-clans-panel .home-bottom-list{grid-template-columns:1fr!important}
  .home-clans-panel .home-clan-media{height:118px!important;min-height:118px!important}
  .home-clans-panel .home-clan-avatar{width:66px!important;height:66px!important;left:12px!important;bottom:-24px!important}
  .home-clans-panel .home-clan-body{padding-top:40px!important}
  .home-clans-panel .home-clan-copy{font-size:10px!important}
  .home-clans-panel .home-clan-meta{font-size:8px!important}
  .home-clans-panel .home-clan-meta>span:last-child{max-width:150px!important}
}


/* v0.2.40 — homepage clan avatar is a true foreground layer */
.home-clans-panel .home-clan-row{overflow:hidden!important;isolation:isolate!important}
.home-clans-panel .home-clan-media{position:relative!important;z-index:1!important;overflow:hidden!important}
.home-clans-panel .home-clan-avatar{position:absolute!important;left:14px!important;top:72px!important;bottom:auto!important;z-index:20!important;width:68px!important;height:68px!important;flex:none!important;border:0!important;outline:0!important;box-shadow:0 10px 24px rgba(0,0,0,.42)!important;pointer-events:none!important}
.home-clans-panel .home-clan-avatar img{position:relative!important;z-index:2!important}
.home-clans-panel .home-clan-body{position:relative!important;z-index:2!important;padding:18px 13px 12px!important}
.home-clans-panel .home-clan-title-line{min-height:38px!important;padding-left:78px!important;margin-bottom:7px!important}
.home-clans-panel .home-clan-copy{margin-top:1px!important}
.home-clans-panel .home-clan-media::after{z-index:1!important}
.home-clans-panel .home-clan-banner,.home-clans-panel .home-clan-banner-fallback{z-index:0!important}
.home-clans-panel .home-clan-type{z-index:3!important}
body.light .home-clans-panel .home-clan-avatar{box-shadow:0 8px 20px rgba(20,26,38,.20)!important}
@media(max-width:700px){.home-clans-panel .home-clan-avatar{left:14px!important;top:84px!important;width:70px!important;height:70px!important}.home-clans-panel .home-clan-body{padding-top:19px!important}.home-clans-panel .home-clan-title-line{min-height:40px!important;padding-left:82px!important}}


/* v0.2.41 — readable homepage clan card content */
.home-clans-panel .home-clan-row{
  background:linear-gradient(180deg,color-mix(in srgb,var(--panel2) 96%,#fff 4%),color-mix(in srgb,var(--panel2) 88%,#fff 12%))!important;
}
.home-clans-panel .home-clan-row:hover{
  background:linear-gradient(180deg,color-mix(in srgb,var(--panel2) 96%,#fff 4%),color-mix(in srgb,var(--panel2) 82%,var(--red) 18%))!important;
}
.home-clans-panel .home-clan-avatar{
  left:16px!important;
  top:68px!important;
  width:74px!important;
  height:74px!important;
  border:3px solid rgba(10,12,18,.92)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.42)!important;
}
.home-clans-panel .home-clan-body{
  background:linear-gradient(180deg,rgba(15,18,26,.96) 0%,rgba(16,19,28,.98) 100%)!important;
  padding:20px 15px 14px!important;
}
.home-clans-panel .home-clan-title-line{
  align-items:flex-end!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  min-height:46px!important;
  padding-left:90px!important;
  margin-bottom:8px!important;
}
.home-clans-panel .home-clan-title-line>b{
  color:#f5f7fb!important;
  font-size:26px!important;
  font-weight:800!important;
  line-height:1.02!important;
  letter-spacing:-.045em!important;
  text-shadow:0 1px 0 rgba(0,0,0,.18)!important;
}
.home-clans-panel .home-clan-title-line>small{
  min-height:22px!important;
  padding:0 8px!important;
  border:1px solid rgba(255,120,135,.22)!important;
  background:rgba(241,69,87,.15)!important;
  color:#ff9ca8!important;
  font-size:8.5px!important;
  font-weight:800!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
.home-clans-panel .home-clan-copy{
  margin-top:2px!important;
  min-height:52px!important;
  color:rgba(232,236,245,.76)!important;
  font-size:11.5px!important;
  font-weight:500!important;
  line-height:1.6!important;
  -webkit-line-clamp:3!important;
}
.home-clans-panel .home-clan-bottom{
  align-items:flex-end!important;
  gap:10px!important;
  padding-top:12px!important;
}
.home-clans-panel .home-clan-meta{
  flex-wrap:wrap!important;
  gap:6px!important;
  color:#c9d0dd!important;
  font-size:8.5px!important;
  font-weight:700!important;
}
.home-clans-panel .home-clan-meta>span{
  gap:4px!important;
  padding:4px 7px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.04)!important;
  border:1px solid rgba(255,255,255,.08)!important;
}
.home-clans-panel .home-clan-meta>span:last-child{max-width:100%!important}
.home-clans-panel .home-clan-meta .ui-icon{
  width:11px!important;
  height:11px!important;
  color:#ff7a88!important;
}
.home-clans-panel .home-clan-action{
  width:30px!important;
  height:30px!important;
  border-radius:10px!important;
  border-color:rgba(255,255,255,.08)!important;
  background:rgba(255,255,255,.045)!important;
}
.home-clans-panel .home-clan-action .ui-icon{width:14px!important;height:14px!important}
body.light .home-clans-panel .home-clan-avatar{
  border-color:#fff!important;
  box-shadow:0 12px 28px rgba(27,31,38,.18)!important;
}
body.light .home-clans-panel .home-clan-body{
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfe 100%)!important;
}
body.light .home-clans-panel .home-clan-title-line>b{
  color:#171c24!important;
  text-shadow:none!important;
}
body.light .home-clans-panel .home-clan-title-line>small{
  background:#fdecef!important;
  border-color:#f6ccd3!important;
  color:#cb4f5e!important;
}
body.light .home-clans-panel .home-clan-copy{
  color:#5e6675!important;
}
body.light .home-clans-panel .home-clan-meta{
  color:#4f5867!important;
}
body.light .home-clans-panel .home-clan-meta>span{
  background:#f7f9fc!important;
  border-color:#e5eaf1!important;
}
body.light .home-clans-panel .home-clan-action{
  background:#f7f9fc!important;
  border-color:#e4e9f0!important;
}
@media(max-width:700px){
  .home-clans-panel .home-clan-avatar{
    left:14px!important;
    top:82px!important;
    width:72px!important;
    height:72px!important;
  }
  .home-clans-panel .home-clan-body{padding:18px 14px 13px!important}
  .home-clans-panel .home-clan-title-line{
    min-height:44px!important;
    padding-left:88px!important;
    gap:7px!important;
  }
  .home-clans-panel .home-clan-title-line>b{font-size:24px!important}
  .home-clans-panel .home-clan-copy{
    min-height:48px!important;
    font-size:11px!important;
  }
}

/* v0.2.42 — homepage clans: larger/lower avatars, clean cards, equal panel height */
@media(min-width:1221px){
  .home-bottom{
    align-items:stretch!important;
    grid-auto-rows:1fr!important;
  }
  .home-bottom>.home-bottom-panel{
    height:100%!important;
    min-height:560px!important;
  }
}
.home-clans-panel{
  height:100%!important;
}
.home-clans-panel .home-bottom-list{
  flex:1 1 auto!important;
  min-height:0!important;
}
.home-clans-panel .home-clan-row{
  align-items:stretch!important;
  overflow:hidden!important;
  border-left:1px solid var(--line)!important;
  background:linear-gradient(180deg,#11151d 0%,#12161f 100%)!important;
}
.home-clans-panel .home-clan-media{
  width:100%!important;
  align-self:stretch!important;
}
.home-clans-panel .home-clan-avatar{
  left:14px!important;
  top:76px!important;
  width:82px!important;
  height:82px!important;
  z-index:30!important;
  border:0!important;
  outline:0!important;
  box-shadow:0 12px 30px rgba(0,0,0,.48)!important;
}
.home-clans-panel .home-clan-avatar img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border:0!important;
  outline:0!important;
}
.home-clans-panel .home-clan-body{
  width:100%!important;
  align-self:stretch!important;
  margin:0!important;
  border:0!important;
  border-left:0!important;
  box-shadow:none!important;
  padding:18px 14px 13px!important;
  background:linear-gradient(180deg,#151923 0%,#12161f 100%)!important;
}
.home-clans-panel .home-clan-title-line{
  min-height:48px!important;
  padding-left:98px!important;
  margin-bottom:7px!important;
}
.home-clans-panel .home-clan-title-line>b{
  font-size:23px!important;
  line-height:1.04!important;
}
.home-clans-panel .home-clan-title-line>small{
  min-height:21px!important;
  padding:0 7px!important;
  font-size:8px!important;
}
.home-clans-panel .home-clan-copy{
  min-height:38px!important;
  color:rgba(235,239,247,.82)!important;
  font-size:10.5px!important;
  line-height:1.55!important;
  -webkit-line-clamp:2!important;
}
.home-clans-panel .home-clan-bottom{
  padding-top:10px!important;
}
.home-clans-panel .home-clan-meta{
  font-size:8px!important;
}
.home-clans-panel .home-clan-meta>span{
  padding:3px 6px!important;
}
body.light .home-clans-panel .home-clan-row{
  background:linear-gradient(180deg,#fff 0%,#fafbfc 100%)!important;
  border-left-color:var(--line)!important;
}
body.light .home-clans-panel .home-clan-body{
  background:linear-gradient(180deg,#fff 0%,#fafbfc 100%)!important;
}
body.light .home-clans-panel .home-clan-copy{
  color:#596273!important;
}
@media(max-width:700px){
  .home-clans-panel .home-clan-avatar{
    left:14px!important;
    top:88px!important;
    width:78px!important;
    height:78px!important;
  }
  .home-clans-panel .home-clan-title-line{
    min-height:46px!important;
    padding-left:94px!important;
  }
  .home-clans-panel .home-clan-title-line>b{font-size:22px!important}
  .home-clans-panel .home-clan-copy{font-size:10.5px!important}
}


/* v0.2.43 — polished JOIN / TEAM card */
.clan-action-card{
  position:relative;
  overflow:hidden;
  padding:20px;
  border:1px solid color-mix(in srgb,var(--line) 76%,var(--red2) 24%);
  border-radius:18px;
  background:
    radial-gradient(circle at 100% 0%,rgba(255,105,120,.12),transparent 38%),
    linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.015));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.clan-action-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  background:linear-gradient(180deg,#ff6f7f,#e84155 62%,transparent);
}
.clan-action-card::after{
  content:"";
  position:absolute;
  width:150px;
  height:150px;
  right:-76px;
  top:-78px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.035);
  pointer-events:none;
}
.clan-action-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.clan-action-icon{
  flex:0 0 42px;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:13px;
  color:#ff7d8b;
  border:1px solid rgba(255,116,130,.18);
  background:rgba(241,69,87,.075);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.clan-action-icon .ui-icon{width:19px;height:19px}
.clan-action-head>div{min-width:0}
.clan-action-head .kicker{display:block;margin:0 0 5px;color:#ff8995}
.clan-action-card h3{margin:0;font-size:25px;line-height:1.05;letter-spacing:-.045em}
.clan-action-card>p{margin:0 0 14px;color:var(--muted);font-size:12px;line-height:1.7}
.clan-action-status{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  margin-bottom:12px;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:11px;
  background:rgba(255,255,255,.025);
  color:var(--text);
  font-size:10px;
  font-weight:700;
}
.clan-action-status-dot{
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-radius:50%;
  background:#ff7180;
  box-shadow:0 0 0 4px rgba(255,113,128,.08);
}
.clan-action-leader .clan-action-status-dot{background:#4fd7a5;box-shadow:0 0 0 4px rgba(79,215,165,.09)}
.clan-action-joined .clan-action-status-dot{background:#67a8ff;box-shadow:0 0 0 4px rgba(103,168,255,.09)}
.clan-action-pending .clan-action-status-dot{background:#ffc86b;box-shadow:0 0 0 4px rgba(255,200,107,.09)}
.clan-action-primary{
  min-height:42px;
  border-radius:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:800;
}
.clan-action-primary .ui-icon{width:15px;height:15px}
.clan-action-leader .clan-action-primary{
  background:linear-gradient(135deg,#ff6675,#f14a5d);
  border-color:transparent;
  box-shadow:0 8px 20px rgba(241,74,93,.16);
}
.clan-action-leader .clan-action-primary:hover{transform:translateY(-1px);box-shadow:0 11px 24px rgba(241,74,93,.22)}
.clan-action-note{margin:10px 2px 0;font-size:9px;line-height:1.55}
body.light .clan-action-card{
  border-color:#e5e8ee;
  background:radial-gradient(circle at 100% 0%,rgba(226,75,92,.07),transparent 38%),linear-gradient(145deg,#fff,#fafbfc);
  box-shadow:0 7px 22px rgba(24,30,40,.04);
}
body.light .clan-action-card::after{border-color:rgba(0,0,0,.035)}
body.light .clan-action-icon{background:#fff3f5;border-color:#f3d4d9;color:#d94c5c}
body.light .clan-action-status{background:#f8f9fb;border-color:#e7eaf0;color:#242a33}
@media(max-width:700px){
  .clan-action-card{padding:17px;border-radius:15px}
  .clan-action-icon{width:39px;height:39px;flex-basis:39px;border-radius:12px}
  .clan-action-card h3{font-size:22px}
}

/* v0.2.44 — fill clan showcase dead space with useful overview */
.clan-showcase-bottom{
  align-items:stretch;
}
.clan-overview-column{
  min-width:0;
  display:grid;
  grid-template-rows:auto 1fr;
  gap:12px;
}
.clan-overview-card{
  min-height:0;
  padding:16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:
    radial-gradient(circle at 100% 0%,rgba(255,102,118,.07),transparent 42%),
    rgba(255,255,255,.018);
  display:flex;
  flex-direction:column;
  gap:13px;
}
.clan-overview-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.clan-overview-head>div{min-width:0}
.clan-overview-head .kicker{display:block;margin-bottom:5px}
.clan-overview-head h3{
  margin:0;
  font-size:18px;
  line-height:1.1;
  letter-spacing:-.035em;
}
.clan-overview-state{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:27px;
  padding:0 9px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.025);
  color:var(--muted);
  font-size:8px;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.clan-overview-leader{color:#72deb4;border-color:rgba(77,213,165,.18);background:rgba(77,213,165,.07)}
.clan-overview-joined{color:#87b9ff;border-color:rgba(103,168,255,.18);background:rgba(103,168,255,.07)}
.clan-overview-pending{color:#ffd180;border-color:rgba(255,200,107,.18);background:rgba(255,200,107,.07)}
.clan-overview-open{color:#ff9aa5;border-color:rgba(255,113,128,.18);background:rgba(255,113,128,.07)}
.clan-overview-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.clan-overview-stats>div{
  min-width:0;
  padding:11px 10px;
  border:1px solid var(--line);
  border-radius:11px;
  background:rgba(255,255,255,.02);
  display:flex;
  flex-direction:column;
  gap:5px;
}
.clan-overview-stats small{
  color:var(--faint);
  font-size:8px;
  font-weight:800;
  letter-spacing:.12em;
}
.clan-overview-stats b{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--text);
  font-size:12px;
}
.clan-overview-progress{
  position:relative;
  height:5px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.055);
}
.clan-overview-progress>span{
  position:absolute;
  inset:0 auto 0 0;
  width:var(--clan-progress,0%);
  border-radius:inherit;
  background:linear-gradient(90deg,#f14a5d,#ff8a96);
  box-shadow:0 0 16px rgba(241,74,93,.2);
}
.clan-overview-actions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:auto;
}
.clan-overview-link{
  appearance:none;
  min-width:0;
  min-height:36px;
  padding:7px 8px;
  border:1px solid var(--line);
  border-radius:10px;
  background:rgba(255,255,255,.025);
  color:var(--muted);
  text-decoration:none;
  font:700 9px/1.2 Manrope,sans-serif;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  cursor:pointer;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.clan-overview-link:hover{
  transform:translateY(-1px);
  color:var(--text);
  border-color:rgba(255,113,128,.26);
  background:rgba(241,69,87,.07);
}
.clan-overview-link .ui-icon{width:13px;height:13px;color:#ff7a89}
.clan-action-card{
  height:100%;
  display:flex;
  flex-direction:column;
}
.clan-action-card .clan-action-primary{margin-top:auto}
#clanAbout,#clanMembers{scroll-margin-top:96px}
body.light .clan-overview-card{
  background:radial-gradient(circle at 100% 0%,rgba(218,74,91,.055),transparent 42%),#fbfcfd;
  border-color:#e5e8ee;
}
body.light .clan-overview-state{background:#fff;border-color:#e4e8ee}
body.light .clan-overview-stats>div{background:#fff;border-color:#e7eaf0}
body.light .clan-overview-progress{background:#e9edf2}
body.light .clan-overview-link{background:#fff;border-color:#e4e8ee;color:#5a6270}
body.light .clan-overview-link:hover{color:#222831;background:#fff5f6;border-color:#f0cfd4}
@media(max-width:700px){
  .clan-overview-card{padding:14px;border-radius:14px}
  .clan-overview-head{align-items:center}
  .clan-overview-stats{grid-template-columns:1fr 1fr}
  .clan-overview-stats>div:last-child{grid-column:1/-1}
  .clan-overview-actions{grid-template-columns:1fr}
  .clan-overview-link{justify-content:flex-start;padding-inline:11px}
}


/* v0.2.45 — replace duplicate members panel with useful clan tools */
.clan-tools-panel{
  background:linear-gradient(145deg,var(--panel),var(--panel2));
  overflow:hidden;
}
.clan-tools-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.clan-tools-head h2{
  margin:8px 0 0;
  font-size:27px;
  letter-spacing:-.04em;
}
.clan-tools-sync{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 9px;
  border:1px solid rgba(117,201,255,.16);
  border-radius:999px;
  background:rgba(100,184,255,.07);
  color:#8bc8ff;
  font-size:8px;
  font-weight:800;
  letter-spacing:.12em;
}
.clan-tools-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-bottom:12px;
}
.clan-tool-stat{
  min-width:0;
  display:flex;
  align-items:center;
  gap:11px;
  min-height:78px;
  padding:13px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.025);
}
.clan-tool-icon{
  flex:0 0 36px;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:rgba(255,108,123,.08);
  color:#ff7b88;
  border:1px solid rgba(255,108,123,.13);
}
.clan-tool-icon .ui-icon{width:16px;height:16px}
.clan-tool-stat>div{min-width:0;display:grid;gap:4px}
.clan-tool-stat small{
  color:var(--faint);
  font-size:8px;
  font-weight:800;
  letter-spacing:.12em;
}
.clan-tool-stat b{
  overflow:hidden;
  text-overflow:ellipsis;
  color:var(--text);
  font-size:12px;
  line-height:1.35;
}
.clan-tool-stat div>span{
  color:var(--muted);
  font-size:9px;
}
.clan-tools-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  padding-top:12px;
  border-top:1px solid var(--line);
}
.clan-tool-action{
  min-width:0;
  min-height:58px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:13px;
  background:rgba(255,255,255,.025);
  color:var(--text);
  text-align:left;
  text-decoration:none;
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.clan-tool-action:hover{
  transform:translateY(-1px);
  border-color:rgba(255,112,125,.28);
  background:rgba(255,112,125,.06);
}
.clan-tool-action>.ui-icon{
  flex:0 0 auto;
  width:17px;
  height:17px;
  color:#ff7886;
}
.clan-tool-action>span{min-width:0;display:grid;gap:2px}
.clan-tool-action b{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:10px;
}
.clan-tool-action small{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--muted);
  font-size:8px;
}
/* Overview no longer repeats navigation/share actions that live in the tools block. */
.clan-overview-actions{display:none!important}
body.light .clan-tools-panel{background:linear-gradient(145deg,#fff,#f8f8fa)}
body.light .clan-tools-sync{background:#eef7ff;border-color:#d7eaf8;color:#487da5}
body.light .clan-tool-stat,body.light .clan-tool-action{background:#fff;border-color:#e5e9ef}
body.light .clan-tool-icon{background:#fff1f3;border-color:#f4d7db;color:#d65362}
body.light .clan-tool-action:hover{background:#fff6f7;border-color:#efcdd2}
@media(max-width:1100px){
  .clan-tools-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
  .clan-tools-grid{grid-template-columns:1fr}
  .clan-tools-actions{grid-template-columns:1fr}
  .clan-tool-action{min-height:54px}
}


/* v0.2.46 — remove duplicated clan stats from overview */
.clan-overview-page{
  color:#ff9aa5!important;
  border-color:rgba(255,113,128,.18)!important;
  background:rgba(255,113,128,.07)!important;
}
.clan-overview-stats>div{
  min-height:82px;
}
.clan-overview-stats>div>span{
  display:block;
  margin-top:5px;
  color:var(--faint);
  font-size:10px;
  line-height:1.35;
}
body.light .clan-overview-page{
  background:#fff5f6!important;
  border-color:#f0cfd4!important;
  color:#c94e5d!important;
}
@media(max-width:700px){
  .clan-overview-stats>div{min-height:76px}
}


/* v0.2.47 — useful recruitment info replaces page-completion card */
.clan-recruitment-card{gap:14px}
.clan-recruitment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.clan-recruitment-grid>div{min-width:0;min-height:92px;padding:12px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.022);display:grid;grid-template-columns:auto 1fr;grid-template-areas:"icon small" "icon value";column-gap:9px;align-content:center}
.clan-recruitment-icon{grid-area:icon;width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:rgba(241,69,87,.08);border:1px solid rgba(255,112,125,.13);color:#ff7a89}
.clan-recruitment-icon .ui-icon{width:14px;height:14px}
.clan-recruitment-grid small{grid-area:small;color:var(--faint);font-size:7.5px;font-weight:800;letter-spacing:.11em}
.clan-recruitment-grid b{grid-area:value;min-width:0;margin-top:3px;color:var(--text);font-size:10.5px;line-height:1.4;font-weight:700;overflow-wrap:anywhere}
.clan-action-closed{border-color:rgba(255,200,107,.18);background:radial-gradient(circle at 100% 0%,rgba(255,200,107,.08),transparent 42%),rgba(255,255,255,.018)}
.clan-action-closed .clan-action-status-dot{background:#ffc86b;box-shadow:0 0 0 4px rgba(255,200,107,.08)}
.clan-recruit-editor{padding:17px;border:1px solid var(--line);border-radius:15px;background:rgba(255,255,255,.018)}
.clan-recruit-editor-head{margin-bottom:14px}.clan-recruit-editor-head h4{margin:6px 0 3px;font-size:19px}.clan-recruit-editor-head p{margin:0;color:var(--muted);font-size:10px}
.clan-recruit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.clan-recruit-fields .field{padding:12px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.02)}.clan-recruit-fields .field>span{display:block;margin-bottom:7px;color:var(--muted);font-size:9px;font-weight:800}.clan-recruit-wide{grid-column:1/-1}.clan-recruit-fields input,.clan-recruit-fields select{width:100%}
body.light .clan-recruitment-grid>div,body.light .clan-recruit-editor,body.light .clan-recruit-fields .field{background:#fff;border-color:#e5e9ef}body.light .clan-recruitment-icon{background:#fff2f4;border-color:#f2d7dc;color:#d65362}
@media(max-width:700px){.clan-recruitment-grid{grid-template-columns:1fr}.clan-recruitment-grid>div{min-height:72px}.clan-recruit-fields{grid-template-columns:1fr}.clan-recruit-wide{grid-column:auto}}

/* ===== news-024.css ===== */
/* SHINY News 0.2.4 ------------------------------------------------------- */
.news-preview-grid,.news-feed,.home-news-list{display:grid;gap:14px}
.news-feed-grid{display:block;column-count:3;column-gap:18px}
.news-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.news-card{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,var(--panel),var(--panel2));box-shadow:0 16px 48px rgba(0,0,0,.08);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;display:flex;flex-direction:column;min-width:0;height:auto;break-inside:avoid;page-break-inside:avoid;margin:0 0 18px;width:100%}
.news-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--red) 48%,var(--line));box-shadow:0 18px 54px rgba(0,0,0,.14)}
.news-card:before{content:"";position:absolute;inset:0 auto 0 0;width:2px;background:linear-gradient(180deg,var(--red),transparent 72%);opacity:.9}
.news-card-head{display:flex;align-items:center;gap:10px;padding:18px 20px 0}
.news-source-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;border:1px solid rgba(255,91,104,.25);background:rgba(241,69,87,.09);color:var(--red2);flex:none}
.news-source-copy{min-width:0;display:grid;gap:1px}.news-source-copy b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.news-source-copy span{font-size:10px;color:var(--faint)}
.news-author-avatar{width:30px;height:30px;border-radius:50%;object-fit:cover;border:1px solid var(--line);margin-left:auto}.news-author-avatar+.news-source-badge{margin-left:0}
.news-source-badge{margin-left:auto;border:1px solid var(--line);border-radius:999px;padding:5px 8px;color:var(--faint);font:800 8px 'Space Grotesk',sans-serif;letter-spacing:.14em}
.news-card-body{padding:16px 20px 18px;flex:1}.news-card-body>h3{font-size:clamp(18px,2vw,24px);letter-spacing:-.035em;margin:0 0 10px;overflow-wrap:anywhere}
.news-markdown{color:var(--muted);font-size:13px;line-height:1.72;overflow-wrap:anywhere}.news-markdown p{margin:0 0 10px}.news-markdown p:last-child{margin-bottom:0}.news-markdown h3,.news-markdown h4,.news-markdown h5,.news-markdown h6{color:var(--text);margin:15px 0 7px;letter-spacing:-.02em}.news-markdown strong{color:var(--text)}.news-markdown u{text-decoration-color:var(--red2);text-underline-offset:3px}.news-markdown blockquote{margin:10px 0;padding:9px 12px;border-left:3px solid var(--red);border-radius:0 9px 9px 0;background:var(--soft);color:var(--text)}
.md-link{color:#ff7e8b;text-decoration:underline;text-decoration-color:rgba(255,126,139,.35);text-underline-offset:3px}.md-link:hover{color:#ffa0aa}.md-spoiler{display:inline;border-radius:4px;background:#292c33;color:transparent;padding:0 3px;cursor:pointer;transition:.18s}.md-spoiler:hover,.md-spoiler:focus{color:inherit;background:#292c3388}.md-numbered i{font-style:normal;color:var(--red2);font-weight:800;margin-right:7px}
.news-media-grid{display:grid;gap:7px;margin-top:15px;border-radius:13px;overflow:hidden}.news-media-1{grid-template-columns:1fr}.news-media-2{grid-template-columns:repeat(2,1fr)}.news-media-3,.news-media-4{grid-template-columns:repeat(2,1fr)}.news-media-item{display:block;min-height:160px;aspect-ratio:16/9;background:var(--panel3);overflow:hidden}.news-media-item img{width:100%;height:100%;max-height:460px;object-fit:cover;transition:transform .28s ease}.news-media-item:hover img{transform:scale(1.025)}.news-media-3 .news-media-item:first-child{grid-row:span 2}
.news-embed{--embed-accent:var(--red);position:relative;margin-top:14px;padding:14px 16px;border:1px solid var(--line);border-left:4px solid var(--embed-accent);border-radius:10px;background:rgba(0,0,0,.12);overflow:hidden}.light .news-embed{background:rgba(0,0,0,.025)}
.news-embed-title{display:block;font-weight:800;font-size:14px;margin:2px 0 7px;color:var(--text)}a.news-embed-title:hover{color:var(--red2)}.news-embed-author{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:750;margin-bottom:8px}.news-embed-author img,.news-embed-footer img{width:20px;height:20px;border-radius:50%;object-fit:cover}.news-embed-fields{display:grid;grid-template-columns:1fr;gap:10px;margin-top:12px}.news-embed-field{min-width:0}.news-embed-field.is-inline{display:inline-block;margin-right:18px}.news-embed-field>b{display:block;font-size:11px;color:var(--text);margin-bottom:3px}.news-embed-field>div{font-size:12px;color:var(--muted)}.news-embed-image{margin-top:12px;max-height:440px;width:auto;border-radius:9px}.news-embed-thumb{position:absolute;right:14px;top:14px;width:72px;height:72px;object-fit:cover;border-radius:9px}.news-embed-footer{display:flex;align-items:center;gap:6px;color:var(--faint);font-size:10px;margin-top:12px}
.news-files{display:grid;gap:7px;margin-top:13px}.news-file{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel2)}.news-file>span{min-width:0;display:grid;margin-right:auto}.news-file b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.news-file small{font-size:9px;color:var(--faint)}
.news-card-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;border-top:1px solid var(--line);font-size:10px;color:var(--faint)}.news-card-foot .source-link{margin:0;font-size:11px}.news-date-full{white-space:nowrap}
.news-card-featured{display:grid;grid-template-columns:minmax(0,1fr);border-color:rgba(255,91,104,.32);background:radial-gradient(circle at 92% 0%,rgba(241,69,87,.09),transparent 38%),linear-gradient(145deg,var(--panel),var(--panel2))}.news-card-featured .news-card-body>h3{font-size:clamp(25px,3.3vw,42px);max-width:900px}.news-card-featured .news-markdown{font-size:14px;max-width:980px}.news-card-featured .news-media-item{min-height:250px}
.news-card-compact{border-radius:13px}.news-card-compact .news-card-head{padding:12px 13px 0}.news-card-compact .news-source-icon{width:28px;height:28px;border-radius:8px}.news-card-compact .news-source-badge,.news-card-compact .news-author-avatar{display:none}.news-card-compact .news-card-body{padding:10px 13px 12px}.news-card-compact .news-card-body>h3{font-size:13px;margin-bottom:4px}.news-card-compact .news-markdown{font-size:11px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.news-card-compact .news-card-foot{padding:9px 13px}.news-card-compact .news-date-full{display:none}.news-card-compact .source-link{font-size:10px}
.news-page-section{padding-top:46px}.news-page-summary{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:15px;overflow:hidden;margin-bottom:16px;background:var(--panel)}.news-page-summary>div{padding:17px 20px;display:grid;gap:3px}.news-page-summary>div+div{border-left:1px solid var(--line)}.news-page-summary b{font:700 19px 'Space Grotesk',sans-serif}.news-page-summary span{font-size:10px;color:var(--faint)}
.news-feed{gap:18px}.home-news-list{gap:8px}
.discord-inline-emoji{width:1.45em;height:1.45em;vertical-align:-.33em;margin:0 .08em}.news-markdown .md-code{font-size:11px;line-height:1.55;background:#080a0dcc;border-color:rgba(255,255,255,.1)}.light .news-markdown .md-code{background:#eef0f4;border-color:var(--line)}
@media(max-width:980px){.news-preview-grid{grid-template-columns:1fr}.news-page-summary{grid-template-columns:1fr 1fr}.news-page-summary>div:nth-child(3){grid-column:1/-1;border-left:0;border-top:1px solid var(--line)}}
@media(max-width:600px){.news-card{border-radius:14px}.news-card-head{padding:14px 14px 0}.news-card-body{padding:13px 14px 15px}.news-card-foot{padding:11px 14px;align-items:flex-start}.news-date-full{display:none}.news-media-2,.news-media-3,.news-media-4{grid-template-columns:1fr}.news-media-3 .news-media-item:first-child{grid-row:auto}.news-media-item{min-height:190px}.news-card-featured .news-media-item{min-height:210px}.news-source-badge{display:none}.news-page-summary{grid-template-columns:1fr}.news-page-summary>div+div,.news-page-summary>div:nth-child(3){border-left:0;border-top:1px solid var(--line);grid-column:auto}.news-embed-thumb{position:static;width:100%;height:auto;max-height:220px;margin-top:10px}.news-card-featured .news-card-body>h3{font-size:26px}.news-markdown{font-size:13.5px}}

.news-videos{display:grid;gap:10px;margin-top:14px}.news-videos video,.news-embed-video{display:block;width:100%;max-height:520px;border-radius:12px;background:#050608;border:1px solid var(--line)}.discord-time{display:inline-flex;padding:1px 5px;border-radius:4px;background:var(--panel3);color:var(--text);font-size:.94em}

.discord-mention{display:inline-flex;align-items:center;max-width:100%;padding:.08em .42em;border-radius:.38em;background:rgba(88,101,242,.18);color:#aeb8ff;font-weight:700;line-height:1.35;vertical-align:baseline;white-space:normal;overflow-wrap:anywhere}
.discord-mention-role{background:rgba(88,101,242,.18);color:#c7ceff;border:1px solid rgba(126,137,255,.16)}
.discord-mention-channel{background:rgba(88,101,242,.14);color:#b8c0ff}
.discord-mention-user{background:rgba(88,101,242,.18);color:#c4caff}
.news-grid-empty,.news-feed-grid>.sync-notice{column-span:all;break-inside:avoid}
@media(max-width:1180px){.news-feed-grid{column-count:2}}
@media(max-width:720px){.news-feed-grid{column-count:1}.news-card{margin-bottom:14px}}

/* SHINY News 0.2.7 ------------------------------------------------------- */
.news-feed-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;column-count:initial!important;column-gap:0!important;align-items:stretch}
.news-feed-grid>.news-card{height:410px;margin:0;break-inside:auto;page-break-inside:auto}
.news-feed-grid>.news-card .news-card-body{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.news-feed-grid>.news-card .news-card-body>h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.35em;margin-bottom:12px}
.news-card-preview{position:relative;min-height:0;max-height:235px;overflow:hidden;mask-image:linear-gradient(to bottom,#000 0,#000 72%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 72%,transparent 100%)}
.news-card-preview .news-media-grid,.news-card-preview .news-videos,.news-card-preview .news-files,.news-card-preview .news-embed{display:none!important}
.news-card-foot{margin-top:auto;min-height:62px}
.news-details-btn{border:0;cursor:pointer;white-space:nowrap}
.news-discord-link,.news-more-link{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;color:var(--muted);font:700 11px Manrope,sans-serif;cursor:pointer;text-decoration:none}.news-discord-link:hover,.news-more-link:hover{color:var(--red2)}
.news-published{font-size:10px;letter-spacing:.12em;color:var(--faint)}

.md-spoiler{display:inline;border-radius:4px;background:#2c2f36;color:transparent!important;padding:0 3px;cursor:pointer;transition:background .16s ease,color .16s ease;box-decoration-break:clone;-webkit-box-decoration-break:clone;user-select:none;outline:none}
.md-spoiler *{color:transparent!important;text-decoration-color:transparent!important}
.md-spoiler:hover,.md-spoiler:focus{color:transparent!important;background:#343840}
.md-spoiler.revealed,.md-spoiler.revealed:hover,.md-spoiler.revealed:focus{color:inherit!important;background:rgba(88,92,103,.36);user-select:text}
.md-spoiler.revealed *{color:inherit!important;text-decoration-color:currentColor!important}

.news-modal{width:min(980px,calc(100% - 28px));max-width:min(980px,calc(100% - 28px));max-height:92vh;overflow:hidden;border-radius:20px}
.news-modal .modal-shell{padding:0;max-height:92vh;overflow:auto;overscroll-behavior:contain}
.news-modal .modal-close{position:sticky;float:right;top:16px;right:16px;z-index:20;margin:16px 16px -48px 0;background:rgba(20,21,27,.88);backdrop-filter:blur(12px)}
.news-detail{min-width:0;background:linear-gradient(145deg,var(--panel),var(--panel2))}
.news-detail-head{display:flex;align-items:center;gap:10px;padding:22px 70px 18px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10;background:color-mix(in srgb,var(--panel) 92%,transparent);backdrop-filter:blur(18px)}
.news-detail-head .news-source-badge{margin-left:10px}
.news-detail-body{padding:25px 28px 30px}.news-detail-body>h2{font-size:clamp(26px,4vw,42px);line-height:1.08;letter-spacing:-.045em;margin:0 0 20px;padding-right:18px;overflow-wrap:anywhere}.news-detail-markdown{font-size:14px;line-height:1.78}.news-detail-markdown p{margin-bottom:13px}
.news-detail .news-media-grid{margin-top:22px}.news-detail .news-media-item{min-height:230px}.news-detail .news-embed{margin-top:18px}.news-detail .news-files{margin-top:18px}
.news-detail-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 28px;border-top:1px solid var(--line);color:var(--faint);font-size:11px;background:var(--panel)}

@media(max-width:1180px){.news-feed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.news-feed-grid>.news-card{height:400px}}
@media(max-width:720px){.news-feed-grid{grid-template-columns:1fr}.news-feed-grid>.news-card{height:390px}.news-card-preview{max-height:220px}.news-modal{width:calc(100% - 18px);max-width:calc(100% - 18px);max-height:94vh}.news-modal .modal-shell{max-height:94vh}.news-detail-head{padding:18px 56px 15px 16px}.news-detail-head .news-source-badge{display:none}.news-detail-body{padding:20px 16px 24px}.news-detail-body>h2{font-size:28px}.news-detail-foot{padding:15px 16px;align-items:stretch;flex-direction:column}.news-detail-foot .btn{width:100%}.news-detail .news-media-item{min-height:190px}}


/* SHINY News 0.2.8 ------------------------------------------------------- */
/* News index is intentionally a compact catalogue. Full content lives in the modal. */
.news-feed-grid{
  gap:26px 24px!important;
  align-items:stretch;
}
.news-feed-grid>.news-card.news-card-summary{
  height:190px;
  min-height:190px;
  margin:0!important;
}
.news-card-summary .news-card-head{
  padding:17px 18px 0;
}
.news-card-summary .news-card-body{
  flex:1;
  display:flex!important;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  padding:14px 18px 17px;
  overflow:hidden;
}
.news-card-summary .news-card-body>h3{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  min-height:0!important;
  max-width:100%;
  margin:0 0 13px!important;
  font-size:clamp(19px,1.55vw,24px);
  line-height:1.14;
}
.news-card-summary .news-card-actions{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:0;
}
.news-card-summary .news-details-btn{
  flex:none;
}
.news-card-summary .news-discord-link,
.news-card-summary .news-published{
  margin-left:auto;
}
.news-card-summary .news-card-preview,
.news-card-summary>.news-card-foot{
  display:none!important;
}
@media(max-width:1180px){
  .news-feed-grid{gap:22px!important}
  .news-feed-grid>.news-card.news-card-summary{height:186px;min-height:186px}
}
@media(max-width:720px){
  .news-feed-grid{gap:18px!important}
  .news-feed-grid>.news-card.news-card-summary{height:auto;min-height:170px}
  .news-card-summary .news-card-head{padding:15px 15px 0}
  .news-card-summary .news-card-body{padding:13px 15px 16px}
  .news-card-summary .news-card-actions{align-items:center}
}


/* SHINY News 0.2.9 ------------------------------------------------------- */
/* Titles use the same Discord spoiler behavior as the full article. */
.news-card-summary .news-card-body>h3 .md-spoiler,
.news-detail-body>h2 .md-spoiler{
  display:inline;
  vertical-align:baseline;
  border-radius:5px;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
}
.news-card-summary .news-card-body>h3 .discord-mention{
  vertical-align:baseline;
}

/* SHINY News 0.2.10 ------------------------------------------------------ */
/* A hidden Discord mention/emoji inside a spoiler must look like one spoiler,
   not a spoiler painted on top of the mention pill. */
.md-spoiler:not(.revealed) .discord-mention{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
.md-spoiler:not(.revealed) .discord-inline-emoji{
  opacity:0!important;
}
.md-spoiler.revealed .discord-inline-emoji{
  opacity:1;
}



/* SHINY News 0.2.86: Discord Markdown in announcement detail modals. */
.news-detail-markdown .md-subtext,.news-embed .md-subtext,
.news-markdown .md-subtext,.event-markdown .md-subtext,
.staff-markdown .md-subtext,.clan-description-markdown .md-subtext{
  display:block;
  margin:5px 0 10px;
  font-size:.82em;
  line-height:1.5;
  color:var(--faint);
  font-weight:450;
  letter-spacing:normal;
}
.news-markdown .md-list,.event-markdown .md-list,
.staff-markdown .md-list,.clan-description-markdown .md-list{
  display:block;
  margin:6px 0 12px;
}
.news-markdown .md-list-item,.event-markdown .md-list-item{
  display:block;
  position:relative;
  padding-left:19px;
  margin:5px 0;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.news-markdown .md-list-item::before,.event-markdown .md-list-item::before{
  content:'•';position:absolute;left:2px;top:0;color:var(--red2);
}
.news-markdown .md-list-item.md-numbered::before,
.event-markdown .md-list-item.md-numbered::before{
  content:none;
}
.news-markdown .md-list-item.md-indent-1,.event-markdown .md-list-item.md-indent-1{margin-left:16px}
.news-markdown .md-list-item.md-indent-2,.event-markdown .md-list-item.md-indent-2{margin-left:32px}
.news-markdown .md-list-item.md-indent-3,.event-markdown .md-list-item.md-indent-3{margin-left:48px}
.news-markdown .md-numbered i,.event-markdown .md-numbered i{
  display:inline-block;min-width:21px;margin-left:-2px;
  font-style:normal;color:var(--red2);font-weight:800;
}
.news-detail-markdown blockquote{overflow-wrap:anywhere}
.news-detail-markdown .md-code{max-width:100%;overflow-x:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.news-detail-markdown .md-code code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.news-detail-markdown .md-link{overflow-wrap:anywhere}
.light .news-detail-markdown .md-subtext{color:var(--faint)}

/* ===== mobile-163.css ===== */
/* SHINY v0.1.63 — mobile density & live-data polish */
@media (max-width: 600px) {
  /* Keep the mobile header compact without stealing content space. */
  .site-header{height:64px}
  .header-inner{min-height:64px}
  .site-header nav{top:64px}

  /* Breadcrumbs stay minimal and never become a large extra block. */
  .bread{margin:14px 0 18px;gap:7px;font-size:10px;white-space:nowrap;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:1px}
  .bread::-webkit-scrollbar{display:none}.bread{scrollbar-width:none}
  .bread a,.bread span{flex:0 0 auto}

  /* Secondary banners are intentionally shorter on phones. */
  .section-banner{min-height:220px;padding:29px 20px;border-radius:16px}
  .section-banner h1{font-size:clamp(32px,10vw,40px);line-height:1.04;overflow-wrap:anywhere}
  .section-banner p{font-size:11.5px;line-height:1.65;max-width:92%}

  /* API dashboard: denser cards that remain easy to tap/read. */
  .community-metrics{gap:9px}
  .community-metric{padding:12px 11px;gap:10px;border-radius:13px}
  .community-metric>span{width:38px;height:38px;border-radius:11px}
  .community-metric b{font-size:23px}
  .community-metric small{font-size:9.5px;margin-top:4px}
  .community-mission{padding:18px!important}
  .mission-reward{padding:10px 11px;font-size:12px}

  /* Profile role chips: show ALL roles, but do not let them dominate the page. */
  .profile-summary .roles,.identity-preview-panel .roles{gap:5px;row-gap:5px;margin:10px 0 14px}
  .profile-summary .role,.identity-preview-panel .role{
    min-height:25px;
    padding:4px 7px;
    border-radius:8px;
    font-size:10px;
    line-height:1.25;
    gap:5px;
    box-shadow:inset 0 0 0 1px #ffffff05,0 0 10px color-mix(in srgb,var(--role-solid,#9ca4ae) 12%,transparent);
  }
  .profile-summary .role:before,.identity-preview-panel .role:before{width:6px;height:6px;flex:0 0 6px}
  .role-section-title{margin-top:16px}

  /* Long user/server content no longer creates oversized visual gaps. */
  .profile-universe .panel-pad{padding:16px}
  .guild-overview{border-radius:16px}
  .guild-facts{gap:8px}
  .guild-fact{padding:13px 12px}

  /* Empty states are shorter on a phone. */
  .empty{padding:24px 16px;min-height:0}
  .event-list .empty,.announcement+.empty{padding:24px 16px}
  .sync-notice{padding:12px 13px;font-size:11px;line-height:1.55}

  /* Final community banner should fit inside one viewport more gracefully. */
  .final-banner{padding:30px 20px;min-height:340px;background-position:70% center}
  .final-banner h2{font-size:clamp(32px,10vw,42px)}
}

@media (max-width: 390px) {
  .profile-summary .role,.identity-preview-panel .role{font-size:9.5px;padding:4px 6px}
  .community-metric b{font-size:21px}
  .section-banner h1{font-size:31px}
}

/* ===== stats-layout-167.css ===== */
/* v0.1.67 — stat labels left, values pinned to the right edge of each cell. */
.stats.stats-six.stats-clean .stat {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: center !important;
  min-width: 0;
}

.stats.stats-six.stats-clean .stat > label {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: left !important;
}

.stats.stats-six.stats-clean .stat > strong {
  display: block !important;
  width: 100% !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  text-align: right !important;
  align-self: stretch !important;
  justify-self: end !important;
}

@media (max-width: 760px) {
  .stats.stats-six.stats-clean .stat > strong {
    margin-top: 9px !important;
    text-align: right !important;
  }
}

/* v0.1.68 — slightly shorter stats strip. */
.stats.stats-six.stats-clean {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}
.stats.stats-six.stats-clean .stat {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}
.stats.stats-six.stats-clean .stat > strong {
  margin-top: 6px !important;
}
@media (max-width: 760px) {
  .stats.stats-six.stats-clean .stat {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }
  .stats.stats-six.stats-clean .stat > strong {
    margin-top: 7px !important;
  }
}

/* ===== profile-nav-173.css ===== */
/* SHINY 0.1.73 — polished personal profile sidebar */
.profile-universe .profile-layout{
  grid-template-columns:214px minmax(0,1.2fr) minmax(250px,.85fr);
}

.profile-universe .profile-menu{
  display:grid;
  gap:6px;
  padding:9px;
  border-radius:18px;
  overflow:hidden;
  background:
    linear-gradient(145deg,
      color-mix(in srgb,var(--profile-accent) 7%,var(--panel)) 0%,
      var(--panel) 48%,
      color-mix(in srgb,var(--profile-accent) 3%,var(--panel2)) 100%);
  border:1px solid color-mix(in srgb,var(--profile-accent) 16%,var(--line));
  box-shadow:
    0 16px 40px #00000012,
    inset 0 1px 0 #ffffff08;
}

.profile-universe .profile-menu button{
  position:relative;
  width:100%;
  min-height:50px;
  padding:8px 10px;
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid transparent;
  border-left:1px solid transparent;
  border-radius:13px;
  background:transparent;
  color:var(--muted);
  text-align:left;
  font-size:13px;
  font-weight:750;
  letter-spacing:-.01em;
  box-shadow:none;
  transition:
    color .2s ease,
    background .2s ease,
    border-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.profile-universe .profile-menu button .ui-icon{
  width:29px;
  height:29px;
  padding:6px;
  flex:0 0 29px;
  border-radius:9px;
  color:var(--faint);
  background:color-mix(in srgb,var(--panel2) 88%,transparent);
  border:1px solid color-mix(in srgb,var(--profile-accent) 9%,var(--line));
  transition:
    color .2s ease,
    background .2s ease,
    border-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.profile-universe .profile-menu button::after{
  content:"";
  position:absolute;
  left:-1px;
  top:11px;
  bottom:11px;
  width:2px;
  border-radius:99px;
  opacity:0;
  background:var(--profile-accent);
  box-shadow:0 0 13px var(--profile-accent);
  transform:scaleY(.5);
  transition:opacity .2s ease,transform .2s ease;
}

.profile-universe .profile-menu button:hover{
  transform:translateX(2px);
  color:var(--text);
  background:color-mix(in srgb,var(--profile-accent) 5%,var(--panel2));
  border-color:color-mix(in srgb,var(--profile-accent) 12%,var(--line));
}

.profile-universe .profile-menu button:hover .ui-icon{
  color:var(--text);
  border-color:color-mix(in srgb,var(--profile-accent) 22%,var(--line));
}

.profile-universe .profile-menu button.active{
  color:color-mix(in srgb,var(--profile-accent) 82%,var(--text));
  background:
    linear-gradient(115deg,
      color-mix(in srgb,var(--profile-accent) 15%,var(--panel2)),
      color-mix(in srgb,var(--profile-accent) 7%,var(--panel)) 72%);
  border-color:color-mix(in srgb,var(--profile-accent) 27%,var(--line));
  box-shadow:
    inset 0 1px 0 #ffffff09,
    0 7px 22px color-mix(in srgb,var(--profile-accent) 10%,transparent);
}

.profile-universe .profile-menu button.active::after{
  opacity:1;
  transform:scaleY(1);
}

.profile-universe .profile-menu button.active .ui-icon{
  color:var(--profile-accent);
  background:color-mix(in srgb,var(--profile-accent) 12%,var(--panel2));
  border-color:color-mix(in srgb,var(--profile-accent) 31%,var(--line));
  box-shadow:0 0 18px color-mix(in srgb,var(--profile-accent) 12%,transparent);
}

.profile-universe .profile-menu button:active{
  transform:translateX(1px) scale(.985);
}

body.light .profile-universe .profile-menu{
  box-shadow:0 12px 32px #1e22300b,inset 0 1px 0 #fff;
}

@media(max-width:1100px){
  .profile-universe .profile-layout{
    grid-template-columns:196px minmax(0,1fr);
  }
}

@media(max-width:870px){
  .profile-universe .profile-layout{
    grid-template-columns:1fr;
  }
  .profile-universe .profile-menu{
    display:flex;
    gap:7px;
    padding:7px;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .profile-universe .profile-menu::-webkit-scrollbar{display:none}
  .profile-universe .profile-menu button{
    width:auto;
    min-width:max-content;
    min-height:44px;
    padding:7px 10px 7px 8px;
  }
  .profile-universe .profile-menu button .ui-icon{
    width:27px;
    height:27px;
    flex-basis:27px;
    padding:5px;
  }
  .profile-universe .profile-menu button::after{
    left:10px;
    right:10px;
    top:auto;
    bottom:-1px;
    width:auto;
    height:2px;
    transform:scaleX(.45);
  }
  .profile-universe .profile-menu button.active::after{
    transform:scaleX(1);
  }
  .profile-universe .profile-menu button:hover{
    transform:translateY(-1px);
  }
}

@media(max-width:560px){
  .profile-universe .profile-menu{
    border-radius:15px;
    gap:5px;
  }
  .profile-universe .profile-menu button{
    font-size:12px;
  }
}

/* ===== profile-customizer-174.css ===== */
/* SHINY 0.1.74 — Profile Studio Pro */
.profile-universe{--banner-x:50%;--banner-y:43%;--banner-zoom:1;--banner-dim:0;--banner-blur:0px;--hero-height:330px}
.identity-showcase .profile-cover{height:clamp(240px,var(--hero-height),430px)!important}
.identity-showcase .profile-hero-art{object-position:var(--banner-x) var(--banner-y)!important;transform:scale(var(--banner-zoom))!important;filter:saturate(1.12) contrast(1.04) blur(var(--banner-blur))!important;transition:filter .25s ease,transform .25s ease,object-position .15s ease!important}
.identity-showcase .profile-cover:before{content:"";position:absolute;inset:0;z-index:2;background:#05060a;opacity:var(--banner-dim);pointer-events:none}
.identity-showcase .profile-cover:after{z-index:2}

/* Studio surface */
.profile-studio{padding:28px!important;background:radial-gradient(circle at 12% 0%,var(--profile-accent-faint),transparent 32%),linear-gradient(155deg,var(--panel),var(--panel2))!important}
.studio-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:5px 2px 0}
.studio-intro>div:first-child{max-width:760px}
.studio-intro h2{font-size:clamp(30px,4vw,44px);margin:10px 0 8px}
.studio-intro p{margin:0;max-width:720px}
.studio-preview{margin:26px 0 22px!important;border-radius:22px!important;border-color:color-mix(in srgb,var(--profile-accent) 30%,var(--line))!important;box-shadow:0 28px 80px #0005,0 0 50px var(--profile-accent-faint)!important}
.studio-preview .identity-showcase .profile-cover{height:190px!important}
.studio-preview .identity-showcase .avatar-main{width:94px!important;height:94px!important;min-width:94px!important}
.studio-form{gap:18px!important}
.studio-group{position:relative;padding:25px!important;border-radius:20px!important;background:linear-gradient(145deg,color-mix(in srgb,var(--profile-accent) 6%,var(--panel2)),var(--panel2) 50%,var(--panel))!important;border-color:color-mix(in srgb,var(--profile-accent) 16%,var(--line))!important;box-shadow:inset 0 1px 0 #ffffff08,0 12px 35px #00000012}
.studio-label{margin-bottom:20px!important}.studio-label>.ui-icon{width:25px!important;height:25px!important}.studio-label b{font-size:18px!important}.studio-label small{font-size:13px!important;max-width:780px}
.studio-upload-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:16px 0 4px}.studio-upload-row .studio-hint{margin:0!important}
.banner-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important}.banner-choice{border:1px solid var(--line)!important;box-shadow:0 8px 22px #0002}.banner-choice:has(input:checked){border-color:var(--profile-accent)!important;box-shadow:0 0 0 2px var(--profile-accent-faint),0 12px 28px #0003}.banner-choice img{aspect-ratio:2.45/1!important;height:auto!important}.banner-choice span{padding:9px 11px!important;font-size:12px!important}

/* Interactive banner cropper */
.banner-editor{margin-top:18px;border:1px solid color-mix(in srgb,var(--profile-accent) 22%,var(--line));border-radius:18px;overflow:hidden;background:#0c0d14;box-shadow:0 18px 45px #0004}
.banner-crop-viewport{height:clamp(220px,25vw,310px);position:relative;overflow:hidden;isolation:isolate;background:#080910;cursor:grab;touch-action:none;user-select:none}
.banner-crop-viewport.is-dragging{cursor:grabbing}
.banner-crop-image{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:var(--banner-x) var(--banner-y);transform:scale(var(--banner-zoom));filter:saturate(1.12) contrast(1.04) blur(var(--banner-blur));pointer-events:none}
.banner-crop-viewport:after{content:"";position:absolute;inset:0;z-index:2;background:#05060a;opacity:var(--banner-dim);pointer-events:none}
.banner-crop-grid{position:absolute;inset:0;z-index:3;pointer-events:none;opacity:.28;background:linear-gradient(90deg,transparent 33.2%,#fff5 33.33%,transparent 33.5%,transparent 66.5%,#fff5 66.66%,transparent 66.8%),linear-gradient(0deg,transparent 33.2%,#fff5 33.33%,transparent 33.5%,transparent 66.5%,#fff5 66.66%,transparent 66.8%)}
.banner-drag-hint{position:absolute;z-index:4;left:50%;bottom:14px;transform:translateX(-50%);display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #ffffff26;border-radius:999px;background:#090a10b8;backdrop-filter:blur(16px);color:#fff;font-size:11px;font-weight:750;white-space:nowrap;pointer-events:none}.banner-drag-hint .ui-icon{width:15px;height:15px}
.banner-controls{padding:18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;background:linear-gradient(180deg,#101119,#0d0e14)}
.range-field{display:grid;gap:9px;min-width:0}.range-field>span{display:flex;justify-content:space-between;gap:10px;color:#b9bbc6;font-size:11px;font-weight:700}.range-field>span b{color:#fff;font-variant-numeric:tabular-nums}.range-field input[type=range]{width:100%;accent-color:var(--profile-accent);cursor:pointer}
.banner-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 18px 15px;background:#0d0e14;border-top:1px solid #ffffff12;color:#979aa8;font-size:11px}.banner-editor-actions>span{display:flex;align-items:center;gap:8px}.banner-editor-actions .ui-icon{width:15px;height:15px;color:var(--profile-accent)}

/* More flexible avatar / style controls */
.studio-style-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.studio-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.accent-picker{padding:4px 0 2px}.swatch-dot{box-shadow:0 6px 18px #0003}.accent-choice:has(input:checked) .swatch-dot{outline:2px solid var(--text);outline-offset:4px}
.studio-text-grid{gap:14px!important}.studio-text-grid .field input,.studio-text-grid .field textarea,.studio-style-grid select{border-radius:12px!important;background:color-mix(in srgb,var(--panel2) 92%,#000)!important;border-color:color-mix(in srgb,var(--profile-accent) 10%,var(--line))!important}.studio-text-grid .field input:focus,.studio-text-grid .field textarea:focus,.studio-style-grid select:focus{outline:none;border-color:var(--profile-accent)!important;box-shadow:0 0 0 3px var(--profile-accent-faint)}
.field-counter{justify-self:end;color:var(--faint);font-size:10px;font-weight:600}
.studio-privacy{border-radius:15px!important;border-color:color-mix(in srgb,var(--profile-accent) 14%,var(--line))!important}.studio-footer{position:sticky;bottom:12px;z-index:7;padding:12px 14px;border:1px solid color-mix(in srgb,var(--profile-accent) 22%,var(--line));border-radius:16px;background:color-mix(in srgb,var(--panel) 90%,transparent);backdrop-filter:blur(20px);box-shadow:0 14px 40px #0005}

/* Polish all profile panels without changing information hierarchy */
.profile-universe .profile-content>.panel,.profile-universe .profile-side-stack>.panel{background:linear-gradient(145deg,color-mix(in srgb,var(--profile-accent) 3%,var(--panel)),var(--panel2));box-shadow:inset 0 1px 0 #ffffff06,0 12px 34px #00000010}
.profile-universe .achievement{border-radius:14px;padding:18px;transition:transform .2s ease,border-color .2s ease,background .2s ease}

/* ===== profile-v2.css ===== */
/* Profile surfaces: canvas → identity → controls → dialog. */
.profile-v2{max-width:1240px!important;--profile-surface:#12141c;--profile-muted:#a5a8b8;padding-bottom:64px}
.profile-v2 .premium-profile{overflow:visible;border:1px solid #ffffff12;border-radius:16px;background:var(--profile-surface);box-shadow:0 16px 48px #0002}
.profile-v2 .premium-profile:before,.profile-v2 .profile-cover-noise{display:none}
.profile-v2 .premium-profile.violet{background:#14131e}.profile-v2 .premium-profile.azure{background:#11171e}.profile-v2 .premium-profile.rose{background:#1b141c}
.profile-v2 .premium-profile.effect-soft{box-shadow:0 16px 48px #0002,0 0 36px var(--profile-accent-faint)}.profile-v2 .premium-profile.effect-glow{box-shadow:0 16px 48px #0002,0 0 48px var(--profile-accent-soft)}.profile-v2 .premium-profile.effect-none{box-shadow:none}
.profile-v2 .profile-cover{border-radius:15px 15px 0 0;overflow:hidden;height:clamp(190px,22vw,280px)!important}
.profile-v2 .profile-cover:after{background:linear-gradient(0deg,#12141c,transparent 65%)}
.profile-v2 .profile-cover-top{left:24px;top:20px}
.profile-v2 .profile-cover-top>span{background:#0c0e1699;border:1px solid #ffffff18;font-size:10px;box-shadow:none}
.profile-v2 .identity-showcase .profile-head{position:relative;display:flex;align-items:flex-start;gap:24px;margin:0!important;padding:0 32px 28px!important}
.profile-v2 .identity-showcase .avatar-main{width:112px!important;height:112px!important;min-width:112px!important;margin-top:-44px!important;padding:0;flex-shrink:0;filter:none}
.avatar-shell:before,.avatar-shell:after{display:none!important}
.avatar-shell{background:none!important;box-shadow:none!important;animation:none!important}
.avatar-shell>img.frame-art{inset:-10%!important;width:120%!important;height:120%!important;object-fit:contain!important;transform:none!important;filter:none!important;animation:none!important}
.profile-v2 .identity-showcase .profile-summary{padding-top:4px!important;min-width:0;flex:1}
.profile-v2 .profile-summary>.kicker{display:none}
.profile-v2 .profile-summary h1{font-size:clamp(25px,3vw,36px)!important;letter-spacing:-.045em;line-height:1.15;margin:0 0 6px;overflow-wrap:anywhere;text-align:left}
.profile-v2 .identity-username{font-size:14px!important;color:var(--profile-muted);overflow-wrap:anywhere;margin:0}
.profile-v2 .member-tagline{margin:12px 0 0!important;font-size:14px;overflow-wrap:anywhere}
.profile-v2 .profile-summary .roles{margin:12px 0!important;gap:6px}
.profile-v2 .identity-since{font-size:12px;color:var(--profile-muted);margin-top:12px}
.profile-actions{display:flex;gap:8px;align-items:center;padding-top:8px;flex-shrink:0}
.profile-actions .btn{min-height:40px;font-size:12px;padding:10px 14px}
.profile-more{position:relative}.profile-more summary{cursor:pointer;list-style:none;display:grid;place-items:center;width:40px;height:40px;border-radius:8px;background:#ffffff06}.profile-more summary::-webkit-details-marker{display:none}
.profile-more>div{position:absolute;right:0;top:48px;width:210px;padding:8px;background:#1b1d28;border:1px solid #ffffff18;border-radius:10px;box-shadow:0 16px 40px #0008;z-index:20}
.profile-more button,.profile-more a{display:flex;align-items:center;gap:8px;width:100%;padding:12px;background:none;border:0;color:#e2e3eb;text-decoration:none;text-align:left;font:inherit;font-size:13px;cursor:pointer}
.profile-v2 .profile-layout{display:block!important;margin:0!important}
.profile-v2 .profile-menu{display:flex!important;position:static!important;gap:24px;overflow:auto;background:none!important;border:0!important;border-bottom:1px solid #ffffff12!important;border-radius:0!important;box-shadow:none!important;padding:8px 0 0!important;margin:12px 0 0;min-height:58px}
.profile-v2 .profile-menu button{width:auto!important;flex:none;min-height:50px!important;padding:10px 2px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:none!important;font-size:13px!important;transform:none!important;box-shadow:none!important;color:var(--profile-muted)}
.profile-v2 .profile-menu button.active{color:#fff!important;border-bottom-color:var(--profile-accent)!important}
.profile-v2 .profile-menu button:before,.profile-v2 .profile-menu button:after{display:none!important}
.profile-v2 .profile-menu button .ui-icon{width:17px!important;height:17px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.profile-v2 .profile-content{display:block!important;min-width:0}
.profile-metrics{display:flex;gap:32px;padding:24px 0;border-bottom:1px solid #ffffff0d;flex-wrap:wrap}
.profile-metrics>div{display:flex;align-items:baseline;gap:8px}.profile-metrics strong{font:600 22px 'Space Grotesk',sans-serif;font-variant-numeric:tabular-nums}.profile-metrics span{font-size:12px;color:var(--profile-muted)}
.profile-overview{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:40px}
.profile-primary,.profile-secondary{min-width:0}.profile-secondary{border-left:1px solid #ffffff0d;padding-left:28px}
.profile-section{padding:28px 0;border-bottom:1px solid #ffffff0d}.profile-section:last-child{border:0}
.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.section-title h2{font-size:17px!important;letter-spacing:-.025em;margin:0!important}.section-title h2 small{color:var(--profile-muted);font-size:12px;margin-left:8px}.section-title .kicker{font-size:10px;display:block;margin-bottom:8px;letter-spacing:.13em;color:var(--profile-muted)}
.profile-visibility{display:flex;gap:6px;align-items:center;font-size:11px;color:var(--profile-muted)}
.profile-bio{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;color:#c9cbd7;font-size:14px;margin:0;max-width:70ch}.profile-bio a{color:#b6baff;text-underline-offset:3px}
.profile-interests{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.profile-interests>span{display:flex;gap:6px;align-items:center;background:#ffffff05;border-radius:6px;padding:6px 10px;font-size:12px;color:#bcc0ce}
.profile-secondary .roles{margin:0 0 16px;gap:8px}.profile-v2 .role{max-width:100%;font-size:12px;padding:5px 9px;box-shadow:none}.role-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-secondary .btn{width:100%;font-size:12px;min-height:40px}.profile-text-link{display:flex;align-items:center;gap:8px;margin-top:16px;font-size:12px;color:#b7b9ce}
.count{color:var(--profile-muted);font-size:12px}
.profile-economy-details{margin:0}.profile-economy-details>div{display:flex;justify-content:space-between;gap:16px;padding:8px 0;font-size:12px}.profile-economy-details dt{color:var(--profile-muted)}.profile-economy-details dd{margin:0;overflow-wrap:anywhere}
.profile-modal-dialog{overflow:hidden}.profile-modal-dialog #modalBody{max-height:calc(90dvh - 64px);overflow-y:auto;padding:4px}.profile-modal header{position:sticky;top:0;z-index:1;background:#151720;padding-bottom:8px}.profile-modal-dialog .modal-close{z-index:3}
.reward{--reward-color:#9ca9bf;display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #ffffff0b;min-width:0}.reward:last-child{border-bottom:0}.rarity-rare{--reward-color:#90aaff}.rarity-epic{--reward-color:#c39fff}.rarity-legendary{--reward-color:#edcd8c}.rarity-special{--reward-color:#8ad6cc}
.reward-icon{display:grid;place-items:center;width:52px;height:52px;flex:none;border-radius:14px;background:color-mix(in srgb,var(--reward-color) 9%,#141620);color:var(--reward-color);border:1px solid color-mix(in srgb,var(--reward-color) 18%,transparent)}.reward-icon .ui-icon{width:26px;height:26px}.reward-copy{flex:1;min-width:0}.reward-copy h3{font-size:14px;margin:4px 0!important;overflow-wrap:anywhere}.reward-copy p{font-size:12px;color:var(--profile-muted);margin:0;line-height:1.6}.reward-copy small{font-size:11px;color:var(--profile-muted)}.reward-rarity{font-size:10px;font-weight:700;letter-spacing:.04em;color:var(--reward-color)}.reward>.ui-icon{width:16px;color:var(--reward-color);flex:none}.reward.locked .reward-icon{color:#777b90;background:#ffffff04;border-color:#ffffff0a}.reward.locked .reward-rarity{color:#9296aa}.reward progress{display:block;height:3px;width:100%;max-width:240px;margin-top:10px;accent-color:var(--reward-color)}
.profile-v2 .profile-content>.panel{background:none!important;box-shadow:none!important;border:0!important;padding:28px 0!important;border-radius:0!important}
.profile-v2 .profile-studio{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.68fr);gap:24px;align-items:start}
.profile-v2 .studio-intro{grid-column:1/-1;padding:0;align-items:center}.profile-v2 .studio-intro h2{font-size:26px!important}.profile-v2 .studio-intro p{font-size:13px}.studio-live-indicator{font-size:11px!important}
.profile-v2 .studio-form{grid-column:1;grid-row:2;min-width:0}.profile-v2 .studio-preview{grid-column:2;grid-row:2;position:sticky;top:96px;height:auto!important;min-height:0!important;margin:0!important;overflow:visible!important;border-radius:14px!important;box-shadow:none!important;background:#12141c}
.profile-v2 .studio-preview .profile-head{flex-direction:column!important;padding:0 20px 20px!important;gap:12px!important}.profile-v2 .studio-preview .profile-cover{height:150px!important}.profile-v2 .studio-preview .avatar-main{width:80px!important;height:80px!important;min-width:80px!important;margin-top:-32px!important}.profile-v2 .studio-preview h1{font-size:23px!important}.profile-v2 .studio-preview .profile-summary{padding:0!important}.profile-v2 .studio-preview-bottom{position:static!important;display:flex;gap:12px;flex-wrap:wrap;padding:16px;font-size:11px;border-top:1px solid #ffffff12}
.profile-v2 .studio-group{padding:0 0 24px!important;margin:0!important;border:0!important;border-bottom:1px solid #ffffff12!important;border-radius:0!important;background:none!important;box-shadow:none!important}.profile-v2 .studio-label b{font-size:15px!important}.profile-v2 .studio-label small{font-size:12px!important}.profile-v2 .studio-label>.ui-icon{width:20px!important;height:20px!important}.profile-v2 .banner-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-v2 .banner-choice{border-radius:8px}.profile-v2 .banner-choice span{font-size:11px!important}.profile-v2 .banner-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-v2 .frame-picker{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}.profile-v2 .studio-footer{position:static;background:none;padding:0;border:0;box-shadow:none}.profile-v2 .studio-footer-actions{flex-wrap:wrap}.profile-v2 .studio-footer-actions .btn{min-width:0}
dialog.profile-modal-dialog,dialog.profile-preview-dialog,dialog.achievement-unlock{color:#ececf4;background:#151720;border:1px solid #ffffff1c;border-radius:16px;padding:0;box-shadow:0 32px 120px #0009;max-height:90dvh;max-width:calc(100vw - 24px);animation:profile-dialog-in .28s cubic-bezier(.16,1,.3,1)}
dialog.profile-modal-dialog{width:620px}.profile-modal-dialog .modal-shell{background:none;border:0;padding:32px;box-shadow:none}.profile-modal header{padding-right:32px;margin-bottom:24px}.profile-modal h2{font-size:26px;margin:8px 0}.profile-modal-dialog .modal-close{position:absolute;right:16px;top:16px}.profile-modal .kicker{font-size:10px;color:#a5a8b8}
dialog::backdrop{background:#05060bb3;backdrop-filter:blur(7px)}.profile-dialog-open{overflow:hidden}
.modal-member{display:flex;align-items:center;gap:12px;margin-bottom:24px}.modal-member img{width:44px;height:44px;object-fit:cover;border-radius:50%}.modal-member div{min-width:0}.modal-member b{display:block;font-size:14px;overflow-wrap:anywhere}.modal-member span{display:block;font-size:12px;color:#a5a8b8;margin-top:4px}
.modal-search{display:flex;align-items:center;gap:12px;padding:0 12px;background:#ffffff05;border:1px solid #ffffff14;border-radius:8px;margin-bottom:16px}.modal-search input{width:100%;min-width:0;background:none;border:0;color:inherit;padding:12px 0;font:inherit;font-size:13px;outline-offset:2px}
.role-directory{display:grid;gap:0}.role-directory-row{display:flex;align-items:center;gap:12px;min-height:48px;border-bottom:1px solid #ffffff09}.role-directory-row>img{width:24px;height:24px;object-fit:contain}.role-directory-row>.ui-icon{color:#777d92;flex:none}.role-directory-row .role{flex:1;min-width:0;background:none;border:0;box-shadow:none;padding:10px 0}.role-directory-row .role-swatch{order:2;margin-left:auto;flex:none}.role-directory-row .role-label{max-width:calc(100% - 30px)}
.achievement-filters{display:flex;gap:12px;margin-bottom:16px}.achievement-filters label{display:grid;gap:6px;font-size:11px;color:#a5a8b8;flex:1;min-width:0}.achievement-filters select{background:#1c1f2c;border:1px solid #ffffff14;color:#e4e5ee;border-radius:8px;padding:10px;width:100%}.modal-empty{padding:24px 0;color:#a5a8b8;text-align:center}
dialog.achievement-unlock{width:520px;text-align:center;overflow:hidden;background:radial-gradient(ellipse at 50% 30%,color-mix(in srgb,var(--reward-color,#a5adcb) 12%,#141620),#10121b 70%)}
.unlock-scene{position:relative;padding:60px 32px 32px;isolation:isolate}.unlock-emblem{width:100px;height:100px;display:grid;place-items:center;margin:0 auto 32px;border-radius:28px;border:1px solid color-mix(in srgb,var(--reward-color,#a5adcb) 40%,transparent);background:#ffffff05;color:var(--reward-color,#a5adcb);box-shadow:0 0 60px color-mix(in srgb,var(--reward-color,#a5adcb) 18%,transparent);animation:unlock-reveal .9s cubic-bezier(.16,1,.3,1)}.unlock-emblem svg{width:48px;height:48px}.unlock-scene>.kicker{font-size:10px;letter-spacing:.18em;color:#b2b6ca}.unlock-scene h2{font-size:30px;margin:16px 0 12px}.unlock-scene p{font-size:14px;color:#acb0c1;line-height:1.7}.unlock-scene .btn{display:flex;margin:32px auto 0}.unlock-rings{position:absolute;top:40px;left:50%;width:140px;height:140px;margin-left:-70px;border:1px solid var(--reward-color,#a5adcb);border-radius:50%;opacity:0;z-index:-1;animation:unlock-wave 1.6s .15s ease-out}.rarity-legendary .unlock-rings{animation-iteration-count:2}.rarity-legendary .unlock-emblem{box-shadow:0 0 100px #edcd8c44}.unlock-scene>h2,.unlock-scene>p{animation:profile-dialog-in .6s .15s both}
.profile-skeleton{padding-top:64px}.skeleton-cover{height:260px;background:#171a24;border-radius:16px}.skeleton-avatar{height:112px;width:112px;margin:-44px 32px 20px;position:relative;border-radius:50%;background:#252937;border:5px solid #11141b}.skeleton-line{height:22px;width:45%;background:#20232d;border-radius:6px;margin:12px 32px}.skeleton-line.short{width:25%;height:14px}.skeleton-stats{height:72px;margin:32px 0;background:#181b24;border-radius:8px}.skeleton-content{height:260px;background:#141720;border-radius:8px}.profile-skeleton{animation:skeleton-pulse 1.5s ease-in-out 3}
.profile-v2 button,.profile-v2 a,.profile-v2 summary{transition:background .18s,transform .18s,color .18s}.profile-v2 .btn:hover{transform:translateY(-1px)}.profile-v2 .btn:active{transform:scale(.98)}.profile-v2 :focus-visible,.profile-modal-dialog :focus-visible,.achievement-unlock :focus-visible{outline:2px solid #aab3ff;outline-offset:4px}.profile-v2 .profile-section{animation:profile-dialog-in .4s both}.profile-v2 .profile-section:nth-child(2){animation-delay:.06s}
@keyframes profile-dialog-in{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}@keyframes unlock-reveal{from{opacity:0;transform:scale(.55) translateY(12px)}to{opacity:1;transform:none}}@keyframes unlock-wave{from{opacity:.5;transform:scale(.6)}to{opacity:0;transform:scale(2.5)}}@keyframes skeleton-pulse{50%{opacity:.6}}
@media(max-width:900px){.profile-overview{grid-template-columns:minmax(0,1fr) 240px;gap:24px}.profile-v2 .profile-actions{flex-wrap:wrap;max-width:170px}.profile-v2 .profile-studio{grid-template-columns:1fr}.profile-v2 .studio-preview{grid-column:1;grid-row:2;position:static}.profile-v2 .studio-form{grid-row:3}.profile-v2 .studio-intro{flex-wrap:wrap}.profile-v2 .studio-preview .profile-head{flex-direction:row!important}.profile-metrics{gap:20px}}
@media(max-width:600px){.profile-v2{padding-left:16px!important;padding-right:16px!important}.profile-v2 .profile-cover{height:190px!important}.profile-v2 .identity-showcase .profile-head{display:flex;flex-direction:column;padding:0 20px 20px!important;gap:12px}.profile-v2 .identity-showcase .avatar-main{width:88px!important;height:88px!important;min-width:88px!important;margin-top:-36px!important}.profile-v2 .profile-actions{max-width:none;width:100%;padding:0}.profile-v2 .profile-actions>.btn{flex:1}.profile-v2 .profile-summary{width:100%}.profile-v2 .profile-summary h1{font-size:28px!important}.profile-overview{grid-template-columns:1fr;gap:0}.profile-secondary{border:0;padding:0}.profile-section{padding:24px 0}.profile-metrics{gap:16px 24px;padding:20px 0}.profile-metrics>div{flex-direction:column;gap:4px}.profile-metrics strong{font-size:20px}.profile-v2 .profile-menu{gap:20px}.section-title{gap:8px;flex-wrap:wrap}.section-title .btn{padding:8px 0;min-height:40px;font-size:12px}.profile-visibility{font-size:10px}.profile-v2 .studio-preview .profile-head{flex-direction:column!important}.profile-v2 .banner-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-v2 .studio-text-grid{grid-template-columns:1fr}.profile-v2 .studio-span{grid-column:auto}.profile-modal-dialog .modal-shell{padding:24px 20px}.profile-modal h2{font-size:23px}.reward{gap:12px}.reward-icon{width:44px;height:44px;border-radius:12px}.unlock-scene{padding:48px 24px 24px}.profile-v2 .studio-intro h2{font-size:24px!important}.profile-v2 .studio-privacy{padding:16px}.profile-v2 .banner-controls{padding:12px;gap:16px}.profile-v2 .studio-footer-actions{width:100%}.profile-v2 .studio-footer-actions .btn{width:100%;flex:auto}}
@media(prefers-reduced-motion:reduce){.profile-v2 *,.profile-v2 *:before,.profile-v2 *:after,.achievement-unlock *,.achievement-unlock,dialog.profile-modal-dialog,dialog.profile-preview-dialog{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.identity-showcase .profile-hero-art,.banner-crop-image{transform-origin:var(--banner-x) var(--banner-y);transition:none!important}
.profile-v2 .identity-showcase .profile-cover{height:clamp(190px,var(--hero-height),300px)!important}
.profile-v2 .studio-preview .identity-showcase .profile-cover{height:150px!important}
.profile-v2 .role{box-shadow:none!important;text-shadow:none!important}.profile-v2 .role-swatch{box-shadow:none!important}
.profile-v2 .effect-glow .profile-cover{box-shadow:inset 0 -32px 70px var(--profile-accent-faint)}
.profile-v2 .effect-aurora .profile-cover-noise{display:block;animation:none;background:radial-gradient(ellipse at 70% 10%,var(--profile-accent-soft),transparent 70%)}
.identity-full-preview{padding:0!important;margin:0 auto!important;max-width:100%!important}
.unlock-emblem:after{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(110deg,transparent 20%,#ffffff26 45%,transparent 65%);animation:unlock-sweep 1.2s .35s both;pointer-events:none}.unlock-emblem{position:relative;overflow:hidden}
.unlock-rings:before,.unlock-rings:after{content:'';position:absolute;inset:-16px;border:1px solid currentColor;border-radius:inherit;opacity:.35}.unlock-rings:after{inset:16px;opacity:.15}
@keyframes unlock-sweep{from{transform:translateX(-130%)}to{transform:translateX(130%)}}
.unlock-particles{position:absolute;top:110px;left:50%;pointer-events:none;opacity:.35;z-index:-1}.rarity-legendary .unlock-particles{opacity:.9}.unlock-particles i{position:absolute;display:block;width:3px;height:3px;border-radius:1px;background:var(--reward-color,#a5adcb);box-shadow:0 0 8px currentColor;animation:unlock-particle 1.8s .2s both;--dx:90px;--dy:0px}.unlock-particles i:nth-child(2){--dx:70px;--dy:-80px}.unlock-particles i:nth-child(3){--dx:0px;--dy:-100px}.unlock-particles i:nth-child(4){--dx:-70px;--dy:-80px}.unlock-particles i:nth-child(5){--dx:-100px;--dy:0px}.unlock-particles i:nth-child(6){--dx:-75px;--dy:65px}.unlock-particles i:nth-child(7){--dx:0px;--dy:95px}.unlock-particles i:nth-child(8){--dx:75px;--dy:65px}
.achievement-unlock.unlock-dismiss{animation:unlock-out .24s ease-in forwards!important}.achievement-unlock.unlock-dismiss::backdrop{animation:unlock-backdrop-out .24s forwards}
@keyframes unlock-particle{0%{opacity:0;transform:scale(0)}25%{opacity:.8}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(90deg) scale(.3)}}@keyframes unlock-out{to{opacity:0;transform:translateY(12px) scale(.94)}}@keyframes unlock-backdrop-out{to{opacity:0}}
@media(max-width:600px){.profile-v2 .identity-showcase .profile-cover{height:190px!important}}
.avatar-shell>img.frame-art.decoration-poster{display:none!important}
@media(prefers-reduced-motion:reduce){.unlock-emblem:after{animation:none;display:none}.decoration-animated,.frame-art[src$=".gif"],.frame-art[src$=".apng"]{visibility:hidden}.avatar-shell>img.frame-art.decoration-poster{display:block!important}}

/* SHINY roles directory · v0.2.25 */
dialog.profile-modal-dialog:has(.role-directory){width:min(700px,calc(100vw - 24px));}
.profile-modal-dialog:has(.role-directory) .modal-shell{padding:0;overflow:hidden}
.profile-modal-dialog:has(.role-directory) .profile-modal{padding:30px 30px 26px}
.profile-modal-dialog:has(.role-directory) .profile-modal>header{margin:-30px -30px 0;padding:30px 72px 20px 30px;background:linear-gradient(180deg,#191b25 0%,#151720 100%);border-bottom:1px solid #ffffff0d}
.profile-modal-dialog:has(.role-directory) .profile-modal>header .kicker{color:#bdc0cf}
.profile-modal-dialog:has(.role-directory) .profile-modal>header h2{font-size:30px;letter-spacing:-.04em;margin:9px 0 0}
.roles-modal-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 0 18px}
.roles-modal-hero .modal-member{margin:0;min-width:0}
.roles-modal-avatar{position:relative;width:54px;height:54px;flex:0 0 54px}
.roles-modal-avatar>img{width:54px;height:54px;border-radius:50%;object-fit:cover;border:1px solid #ffffff1f;box-shadow:0 10px 28px #0005}
.roles-modal-avatar>span{position:absolute;right:-4px;bottom:-3px;width:22px;height:22px;border-radius:8px;display:grid;place-items:center;background:#20232f;border:1px solid #ffffff1b;color:#ff7180}
.roles-modal-avatar>span .ui-icon{width:12px;height:12px}
.roles-modal-hero .modal-member b{font-size:15px;color:#f4f4f8}
.roles-modal-hero .modal-member span{font-size:11px;color:#8f93a4}
.roles-hierarchy-badge{display:inline-flex;align-items:center;gap:8px;flex:none;padding:8px 10px;border:1px solid #ffffff12;border-radius:10px;background:#ffffff04;color:#aeb2c2;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.roles-hierarchy-badge .ui-icon{width:14px;height:14px;color:#ff7180}
.roles-modal-toolbar{position:sticky;top:0;z-index:2;background:#151720;padding-bottom:14px}
.roles-modal-toolbar .modal-search{margin:0;border-radius:12px;background:#ffffff04;border-color:#ffffff12;min-height:48px;transition:border-color .18s,background .18s,box-shadow .18s}
.roles-modal-toolbar .modal-search:focus-within{border-color:#ff71805c;background:#ffffff06;box-shadow:0 0 0 3px #ff71800d}
.roles-modal-toolbar .modal-search>.ui-icon{color:#8d91a2;flex:none}
.roles-modal-toolbar .modal-search input{font-size:13px}
.roles-modal-help{display:grid;grid-template-columns:auto 1fr auto 1fr auto;align-items:center;gap:10px;margin-top:12px;color:#6f7486}
.roles-modal-help>span{font:800 8px/1 'Space Grotesk',sans-serif;letter-spacing:.16em;color:#8e92a2}
.roles-modal-help>i{height:1px;background:linear-gradient(90deg,#ffffff05,#ffffff16,#ffffff05)}
.roles-modal-help>small{font-size:9px;white-space:nowrap;color:#777b8d}
.role-directory{display:grid;gap:8px;max-height:min(54dvh,560px);overflow-y:auto;padding:2px 4px 2px 0;scrollbar-width:none}
.role-directory::-webkit-scrollbar{width:0;height:0}
.role-directory-row{display:grid;grid-template-columns:48px 38px minmax(0,1fr);align-items:center;gap:12px;min-height:64px;padding:9px 12px 9px 8px;border:1px solid #ffffff0d;border-radius:13px;background:linear-gradient(120deg,#ffffff05,#ffffff02);transition:transform .16s,border-color .16s,background .16s}
.role-directory-row:hover{transform:translateX(2px);border-color:#ffffff1b;background:#ffffff08}
.role-hierarchy-index{align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-right:1px solid #ffffff0b;color:#d9dbe4}
.role-hierarchy-index>span{font:700 13px/1 'Space Grotesk',sans-serif;letter-spacing:.04em}
.role-hierarchy-index>small{font-size:7px;letter-spacing:.08em;color:#666b7d;white-space:nowrap}
.role-directory-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#ffffff04;border:1px solid #ffffff0d;color:#767b8e;overflow:hidden}
.role-directory-icon>img{width:24px;height:24px;object-fit:contain}
.role-directory-icon>.ui-icon{width:17px;height:17px}
.role-directory-main{min-width:0;display:grid;gap:4px}
.role-directory-row .role{display:flex!important;width:100%;min-width:0;justify-content:flex-start!important;padding:0!important;min-height:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;font-size:12px!important}
.role-directory-row .role-label{max-width:calc(100% - 24px);font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.role-directory-row .role-swatch{order:2;margin-left:auto;flex:none;width:9px;height:9px}
.role-directory-main>small{font-size:9px;color:#6f7485;line-height:1.35}
.role-directory-row:first-child{border-color:#ff71802b;background:linear-gradient(120deg,#ff718009,#ffffff02)}
.role-directory-row:first-child .role-hierarchy-index>span{color:#ff8994}
.role-directory-row:first-child .role-directory-icon{border-color:#ff718026;background:#ff71800b}
.roles-empty{display:grid;justify-items:center;gap:8px;margin:12px 0 0;padding:32px 20px;border:1px dashed #ffffff14;border-radius:13px;color:#74798b;text-align:center}
.roles-empty>.ui-icon{width:24px;height:24px}.roles-empty>b{color:#d5d7df}.roles-empty>span{font-size:11px}
body.light dialog.profile-modal-dialog:has(.role-directory){background:#fff;color:#1a1d25}
body.light .profile-modal-dialog:has(.role-directory) .profile-modal>header{background:linear-gradient(180deg,#fafafd,#f4f5f9);border-bottom-color:#0000000d}
body.light .roles-modal-toolbar{background:#fff}
body.light .role-directory-row{border-color:#0000000d;background:#00000003}
body.light .role-directory-row:hover{border-color:#0000001a;background:#00000005}
body.light .role-hierarchy-index{border-right-color:#0000000b}
body.light .role-directory-icon{border-color:#0000000d;background:#00000005}
body.light .roles-modal-toolbar .modal-search{border-color:#00000012;background:#00000004}
body.light .roles-modal-hero .modal-member b{color:#1c1f27}
body.light .roles-hierarchy-badge{border-color:#0000000f;background:#00000004;color:#666b79}

@media(max-width:600px){
  .profile-modal-dialog:has(.role-directory) .profile-modal{padding:24px 18px 20px}
  .profile-modal-dialog:has(.role-directory) .profile-modal>header{margin:-24px -18px 0;padding:24px 58px 17px 18px}
  .profile-modal-dialog:has(.role-directory) .profile-modal>header h2{font-size:25px}
  .roles-modal-hero{align-items:flex-start;flex-direction:column;gap:12px;padding:17px 0 15px}
  .roles-hierarchy-badge{font-size:9px;padding:7px 9px}
  .roles-modal-help{grid-template-columns:auto 1fr auto}.roles-modal-help>i:nth-of-type(2),.roles-modal-help>span:last-child{display:none}.roles-modal-help>small{white-space:normal;text-align:right}
  .role-directory{max-height:56dvh;gap:7px}
  .role-directory-row{grid-template-columns:40px 34px minmax(0,1fr);gap:9px;min-height:60px;padding:8px 9px 8px 5px}
  .role-directory-icon{width:32px;height:32px;border-radius:9px}
  .role-hierarchy-index>span{font-size:12px}
  .role-directory-row .role{font-size:11px!important}
}


/* v0.2.93 clan profile badges */
.clan-title-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.clan-title-line>b{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.clan-inline-badge,.clan-meta-badge{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 10px;border-radius:999px;border:1px solid var(--line);background:color-mix(in srgb,var(--panel2) 88%,transparent);color:var(--text);font-size:10px;font-weight:800;letter-spacing:.04em;line-height:1.1;white-space:nowrap}
.clan-meta-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
.clan-meta-badge .ui-icon{width:13px;height:13px;color:var(--red2);flex:none}
.profile-side-stack .clan-row .tag{margin:0}
body.light .clan-inline-badge,body.light .clan-meta-badge{background:#00000004;border-color:#00000012}
@media(max-width:600px){
  .clan-title-line{gap:6px}
  .clan-inline-badge,.clan-meta-badge{font-size:9px;padding:5px 8px}
}

/* v0.2.98: distribute the four main profile stats after removing the clan count. */
.profile-v2 .profile-metrics{justify-content:space-between;column-gap:clamp(12px,2vw,32px)}
.profile-v2 .profile-metrics>div{min-width:0}

/* ===== custom-select.css ===== */
/* v0.2.59 — site-wide SHINY custom dropdowns. Native system select popups are hidden. */
.shiny-select{
  position:relative;
  display:block;
  width:100%;
  min-width:0;
  isolation:isolate;
}
.shiny-select-native{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-width:1px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  opacity:0!important;
  pointer-events:none!important;
  clip-path:inset(50%)!important;
  overflow:hidden!important;
}
.shiny-select-trigger{
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  min-width:0;
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0 12px 0 13px;
  border:1px solid var(--line);
  border-radius:10px;
  background:linear-gradient(180deg,color-mix(in srgb,var(--panel3) 76%,#fff 2%),color-mix(in srgb,var(--panel2) 96%,#000 4%));
  color:var(--text);
  box-shadow:inset 0 1px 0 #ffffff08,0 1px 0 #0002;
  text-align:left;
  font:800 13px/1.25 Manrope,sans-serif;
  cursor:pointer;
  outline:none;
  transition:border-color .17s ease,background .17s ease,box-shadow .17s ease,transform .17s ease;
}
.shiny-select-trigger:hover{
  border-color:color-mix(in srgb,var(--red) 38%,var(--line));
  background:linear-gradient(180deg,color-mix(in srgb,var(--panel3) 89%,var(--red) 5%),var(--panel2));
}
.shiny-select-trigger:focus-visible,
.shiny-select.is-open .shiny-select-trigger{
  border-color:color-mix(in srgb,var(--red) 66%,var(--line));
  box-shadow:0 0 0 3px #f1455714,inset 0 1px 0 #ffffff0d;
}
.shiny-select.is-open .shiny-select-trigger{background:linear-gradient(180deg,#f145570a,var(--panel2))}
.shiny-select-trigger:disabled{opacity:.5;cursor:not-allowed}
.shiny-select-value{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.shiny-select-chevron{
  flex:0 0 auto;
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:7px;
  color:var(--muted);
  background:#ffffff03;
  transition:transform .2s cubic-bezier(.2,.8,.2,1),color .17s ease,background .17s ease;
}
.shiny-select-chevron .ui-icon{width:14px;height:14px}
.shiny-select.is-open .shiny-select-chevron{transform:rotate(180deg);color:var(--red2);background:var(--soft)}
.shiny-select-menu{
  position:absolute;
  z-index:10050;
  top:calc(100% + 7px);
  left:0;
  right:0;
  max-height:260px;
  overflow:auto;
  padding:6px;
  border:1px solid color-mix(in srgb,var(--line) 82%,#fff 8%);
  border-radius:12px;
  background:color-mix(in srgb,var(--panel) 95%,#080a0e 5%);
  box-shadow:0 22px 56px #000a,0 0 0 1px #ffffff05 inset;
  backdrop-filter:blur(18px) saturate(1.15);
  scrollbar-width:none;
  transform-origin:top center;
  animation:shiny-select-in .16s cubic-bezier(.2,.8,.2,1);
}
.shiny-select-menu::-webkit-scrollbar{display:none}
.shiny-select-menu[hidden]{display:none!important}
.shiny-select.open-up .shiny-select-menu{
  top:auto;
  bottom:calc(100% + 7px);
  transform-origin:bottom center;
}
.shiny-select-option{
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  min-height:39px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px 8px 11px;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:var(--muted);
  text-align:left;
  font:700 12px/1.25 Manrope,sans-serif;
  cursor:pointer;
  outline:none;
  transition:color .14s ease,background .14s ease,border-color .14s ease,transform .14s ease;
}
.shiny-select-option+.shiny-select-option{margin-top:2px}
.shiny-select-option:hover,
.shiny-select-option:focus-visible{
  color:var(--text);
  background:color-mix(in srgb,var(--panel3) 88%,var(--red) 5%);
  border-color:color-mix(in srgb,var(--line) 82%,var(--red) 18%);
}
.shiny-select-option:active{transform:scale(.992)}
.shiny-select-option.is-selected{
  color:var(--text);
  background:linear-gradient(105deg,#f1455715,#f1455706);
  border-color:#f1455733;
}
.shiny-select-option:disabled{opacity:.4;cursor:not-allowed}
.shiny-select-option-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shiny-select-option-check{
  flex:0 0 auto;
  width:22px;height:22px;
  display:grid;place-items:center;
  border-radius:7px;
  background:#f1455700;
  color:var(--red2);
  opacity:0;
  transform:scale(.75);
  transition:opacity .14s ease,transform .14s ease,background .14s ease;
}
.shiny-select-option-check .ui-icon{width:13px;height:13px}
.shiny-select-option.is-selected .shiny-select-option-check{opacity:1;transform:none;background:var(--soft)}
.nickname-select>.shiny-select{width:100%;min-width:0}
.field>.shiny-select,.admin-form .shiny-select,.profile-form .shiny-select{margin-top:6px}
.nickname-select>.shiny-select{margin-top:0}
@keyframes shiny-select-in{from{opacity:0;transform:translateY(-5px) scale(.985)}to{opacity:1;transform:none}}
body.light .shiny-select-trigger{
  background:linear-gradient(180deg,#fff,#f4f5f7);
  border-color:#dfe3e9;
  box-shadow:0 1px 2px #1118270b,inset 0 1px #fff;
}
body.light .shiny-select-trigger:hover{background:#fff7f8;border-color:#efc9ce}
body.light .shiny-select.is-open .shiny-select-trigger{background:#fff7f8;border-color:#e96b78}
body.light .shiny-select-menu{
  background:#fff;
  border-color:#e3e6eb;
  box-shadow:0 18px 44px #1118271f,0 1px 0 #fff inset;
}
body.light .shiny-select-option{color:#646b77}
body.light .shiny-select-option:hover,
body.light .shiny-select-option:focus-visible{color:#1f232b;background:#fff4f5;border-color:#f2dadd}
body.light .shiny-select-option.is-selected{color:#1f232b;background:#fff1f3;border-color:#f0cfd4}
@media(max-width:600px){
  .shiny-select-trigger{min-height:44px;font-size:14px}
  .shiny-select-option{min-height:43px;font-size:13px}
  .shiny-select-menu{max-height:min(290px,46vh)}
}
@media(prefers-reduced-motion:reduce){
  .shiny-select-menu{animation:none}
  .shiny-select-trigger,.shiny-select-chevron,.shiny-select-option,.shiny-select-option-check{transition:none}
}

/* v0.2.82 — portaled dropdown menus do not alter admin/modal layout */
.shiny-select{isolation:auto!important;z-index:auto}
.shiny-select.is-open{z-index:2!important}
.shiny-select-menu{background:var(--panel)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.shiny-select-menu.is-portaled{position:fixed!important;right:auto!important;bottom:auto!important;margin:0!important;z-index:2147483000!important}
.shiny-select-menu.is-portaled.open-up{transform-origin:bottom center!important}
body.light .shiny-select-menu{background:#fff!important}

/* ===== mobile-0285.css ===== */
/* SHINY v0.2.85 — mobile overflow hardening + event Markdown UI */
.event-markdown{color:var(--muted);font-size:13px;line-height:1.78;overflow-wrap:anywhere;word-break:break-word;min-width:0}
.event-markdown>:first-child{margin-top:0}.event-markdown>:last-child{margin-bottom:0}
.event-markdown p{margin:0 0 10px}.event-markdown h3,.event-markdown h4,.event-markdown h5,.event-markdown h6{margin:14px 0 8px;color:var(--text);letter-spacing:-.02em;line-height:1.3}.event-markdown h3{font-size:17px}.event-markdown h4{font-size:15px}.event-markdown h5,.event-markdown h6{font-size:13px}
.event-markdown strong{color:var(--text)}.event-markdown em{color:var(--text)}.event-markdown del{opacity:.72}.event-markdown u{text-underline-offset:3px}
.event-markdown blockquote{margin:10px 0;padding:9px 12px;border-left:3px solid var(--red);border-radius:0 9px 9px 0;background:var(--soft);color:var(--text)}
.event-markdown .md-list-item{display:flex;gap:8px;position:relative;padding-left:15px;margin:6px 0;color:var(--muted)}
.event-markdown .md-list-item:not(.md-numbered)::before{content:"";position:absolute;left:2px;top:.72em;width:5px;height:5px;border-radius:50%;background:var(--red2)}
.event-markdown .md-numbered{padding-left:0}.event-markdown .md-numbered i{min-width:20px;color:var(--red2);font-style:normal;font-weight:800}
.event-markdown .md-inline{padding:2px 6px;border:1px solid var(--line);border-radius:6px;background:var(--panel3);color:var(--text);font:600 11px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace}
.event-markdown .md-code{margin:12px 0;padding:12px 13px;border:1px solid var(--line);border-radius:10px;background:var(--panel3);overflow:auto;max-width:100%}.event-markdown .md-code code{font:500 11px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--text)}
.event-markdown .md-link{color:var(--red2);text-decoration:none;border-bottom:1px solid currentColor;overflow-wrap:anywhere}.event-markdown .md-spoiler{border-radius:4px;padding:0 3px}
.field-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.markdown-badge{display:inline-flex;align-items:center;justify-content:center;min-width:31px;height:22px;padding:0 7px;border:1px solid color-mix(in srgb,var(--red) 34%,var(--line));border-radius:7px;background:var(--soft);color:var(--red2);font:800 9px/1 'Space Grotesk',sans-serif;letter-spacing:.08em}.markdown-help{display:flex;gap:6px;flex-wrap:wrap}.markdown-help code{padding:4px 6px;border:1px solid var(--line);border-radius:6px;background:var(--panel3);color:var(--muted);font:600 9px/1.3 ui-monospace,SFMono-Regular,Consolas,monospace}.field-help{color:var(--faint);font-size:10px;font-weight:650;line-height:1.5}.event-description-field textarea{min-height:150px}

/* A phone viewport is not a desktop viewport with most of it hidden. Make every
   page shrink before individual components get a chance to shove it sideways. */
html,body{max-width:100%;overflow-x:hidden}
#app,#app>*,main,section,article,.container,.panel,.section,.content-body,.profile-universe,.profile-v2,.admin-layout,.admin-layout>*,.card-grid,.card-grid>*,.home-grid,.home-grid>*,.home-bottom,.home-bottom>*,.system-cards,.system-cards>*,.clan-detail-layout,.clan-detail-layout>*,.guild-overview,.profile-content{min-width:0;max-width:100%}
img,video,iframe,pre,table{max-width:100%}
pre{overflow:auto}
button,.btn,input,textarea,select,.shiny-select{max-width:100%}

@media(max-width:720px){
  .container,.footer-inner{max-width:100%}
  .list-top{align-items:stretch;flex-direction:column;gap:12px}.filters{width:100%;display:flex;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding-bottom:2px}.filters::-webkit-scrollbar{display:none}.filters .filter{flex:0 0 auto;white-space:nowrap}
  .card-grid,.system-cards,.home-grid,.home-bottom,.profile-side-stack{grid-template-columns:minmax(0,1fr)!important}
  .content-card,.member-card,.panel{min-width:0}.content-body{padding-inline:18px}.content-body h3,.content-body p,.event-markdown{overflow-wrap:anywhere;word-break:break-word}
  .admin-layout{grid-template-columns:minmax(0,1fr)!important}.admin-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:7px!important}.admin-tabs::-webkit-scrollbar{display:none}.admin-tabs button{flex:0 0 auto;white-space:nowrap}
  .admin-form{grid-template-columns:minmax(0,1fr)!important}.admin-form .full{grid-column:1!important}.admin-row{align-items:flex-start!important;flex-direction:column!important}.admin-row>div:first-child{min-width:0;max-width:100%}.admin-row strong,.admin-row small{overflow-wrap:anywhere}.admin-row-actions{width:100%}.admin-row-actions button{flex:1 1 120px;min-width:0}

  /* The profile tabs in the screenshot used a desktop-width strip, so the last
     items simply vanished off-screen. On phones they become a real 2-column nav. */
  .profile-v2 .profile-menu,.profile-universe .profile-menu{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;overflow:visible!important;min-height:0!important;padding:7px!important;border:1px solid var(--line)!important;border-radius:13px!important;background:var(--panel)!important}
  .profile-v2 .profile-menu button,.profile-universe .profile-menu button{width:100%!important;min-width:0!important;min-height:43px!important;padding:8px 9px!important;border:1px solid transparent!important;border-radius:9px!important;justify-content:flex-start!important;white-space:normal!important;line-height:1.25!important;text-align:left!important}
  .profile-v2 .profile-menu button.active,.profile-universe .profile-menu button.active{background:var(--soft)!important;border-color:color-mix(in srgb,var(--red) 25%,var(--line))!important}
  .profile-v2 .profile-menu button.active{border-bottom-color:color-mix(in srgb,var(--red) 25%,var(--line))!important}
  .profile-v2 .profile-menu button .ui-icon,.profile-universe .profile-menu button .ui-icon{flex:0 0 24px!important;width:24px!important;height:24px!important;padding:4px!important}
  .profile-v2 .profile-menu button:after,.profile-universe .profile-menu button:after{display:none!important}
  .profile-v2 .profile-overview{grid-template-columns:minmax(0,1fr)!important;gap:0!important}.profile-v2 .profile-secondary{border-left:0!important;padding-left:0!important}.profile-v2 .profile-metrics{gap:18px!important}.profile-v2 .profile-metrics>div{min-width:0}
  .profile-v2 .profile-studio{grid-template-columns:minmax(0,1fr)!important}.profile-v2 .studio-intro,.profile-v2 .studio-form,.profile-v2 .studio-preview{grid-column:1!important;grid-row:auto!important}.profile-v2 .studio-preview{position:static!important}
  .profile-actions{width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 40px 40px;gap:8px;align-items:start}.profile-actions>.btn{width:100%;min-width:0}.profile-actions>.icon-btn{width:40px;height:40px}.profile-more{min-width:0}.profile-more summary{width:40px;height:40px}.profile-more>div{top:auto!important;bottom:48px;right:0;width:min(260px,calc(100vw - 40px));max-width:calc(100vw - 40px)}
  .profile-bio,.identity-username,.member-tagline,.profile-summary h1{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
  .role-label{max-width:100%}

  .modal-shell{max-width:100%;overflow-x:hidden}.profile-form,.profile-form>*{min-width:0}.shiny-select-menu.is-portaled{max-width:calc(100vw - 24px)!important}
}

@media(max-width:430px){
  .profile-actions{grid-template-columns:minmax(0,1fr) 38px 38px}.profile-actions>.icon-btn,.profile-more summary{width:38px;height:38px}
  .profile-v2 .profile-menu button,.profile-universe .profile-menu button{min-height:40px!important}
  .markdown-help code{font-size:8.5px}.event-description-field textarea{min-height:170px}
  .admin-row-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.admin-row-actions button{width:100%}
}

/* ===== footer-0287.css ===== */
/* SHINY 0.2.87: clean footer navigation and enlarge brand identity. */
.footer .footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(20px, 4vw, 90px);
  row-gap: 24px;
  padding-block: clamp(26px, 3vw, 48px);
}
.footer .footer-identity { min-width: 0; }
.footer .footer-brand {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: clamp(13px, 1.4vw, 21px);
  font-family: 'Space Grotesk', sans-serif;
  text-decoration: none;
  letter-spacing: normal;
  color: var(--text);
}
.footer .footer-brand img {
  width: clamp(52px, 4.1vw, 66px);
  height: clamp(52px, 4.1vw, 66px);
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 14px;
}
.footer .footer-brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 5px;
}
.footer .footer-brand-copy strong {
  font-size: clamp(26px, 2.4vw, 37px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: .16em;
}
.footer .footer-brand-copy small {
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(12.5px, 1vw, 16px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--muted);
}
.footer .footer-brand:hover .footer-brand-copy strong { color: var(--red2); }
.footer .footer-brand:focus-visible { outline: 2px solid var(--red2); outline-offset: 7px; border-radius: 5px; }
.footer .footer-side {
  grid-column: auto;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 19px;
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .footer .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 21px;
    padding-block: 27px;
  }
  .footer .footer-brand img { width: 50px; height: 50px; border-radius: 12px; }
  .footer .footer-brand-copy strong { font-size: clamp(24px, 6.2vw, 30px); }
  .footer .footer-brand-copy small { font-size: 12px; }
  .footer .footer-side {
    grid-column: 1;
    align-self: auto;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 14px;
    row-gap: 6px;
    text-align: left;
    white-space: normal;
  }
}
@media (max-width: 360px) {
  .footer .footer-brand { gap: 11px; }
  .footer .footer-brand img { width: 44px; height: 44px; }
  .footer .footer-brand-copy strong { font-size: 23px; }
  .footer .footer-brand-copy small { font-size: 11.5px; }
}

/* ===== identity-joined-0290.css ===== */
/* v0.2.90: voluntary OAuth join-date refresh for the profile owner. */
.profile-v2 .identity-since{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.profile-v2 .identity-join-refresh{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  padding:5px 9px;border:1px solid var(--line);border-radius:8px;
  background:var(--panel2);color:var(--text);font-size:12px;font-weight:700;
  text-decoration:none;line-height:1.2;transition:background .2s,border-color .2s,color .2s
}
.profile-v2 .identity-join-refresh .ui-icon{width:13px;height:13px;flex:0 0 13px}
.profile-v2 .identity-join-refresh:hover,
.profile-v2 .identity-join-refresh:focus-visible{color:var(--red2);border-color:var(--red);background:var(--soft)}
@media(max-width:600px){.profile-v2 .identity-since{font-size:12px;gap:7px}.profile-v2 .identity-join-refresh{min-height:32px}}

/* ===== shop-categories-0304.css ===== */
/* SHINY v0.3.04: separate nickname-icon roles from genuine color roles */
.nickname-icon-shop-section .section-head p,
.color-role-shop-section .section-head p{max-width:450px}
.nickname-icon-shop-grid .color-role-shop-item .color-role-iconbox{border-color:#f1455766}
.color-role-shop-section .color-role-iconbox.color-role-swatch{
  background:var(--shop-role-gradient)!important;
  border:1px solid #ffffff42!important;
  box-shadow:inset 0 0 12px #ffffff18,0 4px 16px #0003!important;
  border-radius:12px!important;
}
.color-role-shop-section .color-role-chip b{
  background:var(--shop-role-gradient);
  background-clip:text;
  -webkit-background-clip:text;
}
.nickname-icon-shop-section .color-role-shop-grid,.color-role-shop-section .color-role-shop-grid{margin-top:18px}
@media(max-width:760px){
  .nickname-icon-shop-section .color-role-shop-grid,.color-role-shop-section .color-role-shop-grid{grid-template-columns:1fr}
  .color-role-shop-section .color-role-iconbox.color-role-swatch{width:42px;height:42px}
}

.shop-checkout-product .shop-checkout-icon.shop-checkout-color-swatch{
  background:var(--shop-role-gradient)!important;border-color:#ffffff33!important;
  box-shadow:inset 0 0 14px #ffffff10!important;
}

/* ===== ui-alignment-0308.css ===== */
/* SHINY 0.3.08 - alignment and rhythm corrections.
   Loaded last so component-specific rules win without changing the design. */

/* Consistent icon geometry for controls. Prevent the inline SVG baseline
   from shifting a centered symbol vertically relative to the button frame. */
.btn,.row-action{box-sizing:border-box;align-items:center;justify-content:center;vertical-align:middle;line-height:1.4}
.btn>.ui-icon,.row-action>.ui-icon,.icon-btn>.ui-icon,.modal-close>.ui-icon,
.profile-more>summary>.ui-icon{display:block;align-self:center;vertical-align:middle;flex-shrink:0}
.icon-btn,.profile-more>summary{box-sizing:border-box;display:grid;place-items:center;align-content:center;justify-content:center;padding:0;line-height:1}
.icon-btn>.ui-icon,.profile-more>summary>.ui-icon{margin:0}

/* A modal close button is a centered, square control, not an inline
   text button whose line box pushes an SVG below the visual center. */
#modal .modal-close{box-sizing:border-box;display:grid;place-items:center;align-content:center;justify-content:center;
  width:38px;height:38px;min-width:38px;min-height:38px;padding:0;margin-block:0;
  line-height:1;font-size:0;z-index:30}
#modal .modal-close>.ui-icon{display:block;width:18px;height:18px;margin:0;flex:none}
#modal:not(.news-modal) .modal-close{top:16px;right:16px}
#modal.profile-modal-dialog .profile-modal>header{padding-right:54px}
#modal.profile-modal-dialog .modal-close{top:16px;right:16px}
/* News uses a scrollable shell: retain its sticky/float close behavior,
   but center the glyph and reserve space above the article header. */
#modal.news-modal .modal-close{position:sticky;float:right;top:14px;right:14px;
  margin:14px 14px -52px 0;width:38px;height:38px}

/* Balanced system cards: actions sit on one baseline at the card bottom,
   irrespective of description length. */
.system-cards{align-items:stretch}
.system-cards>.system-tile{min-width:0;height:100%;display:flex;flex-direction:column;align-items:flex-start}
.system-cards>.system-tile>h3,.system-cards>.system-tile>p{max-width:100%;min-width:0;overflow-wrap:anywhere}
.system-cards>.system-tile>.system-external-link{box-sizing:border-box;display:inline-flex;
  align-items:center;justify-content:center;align-self:flex-end;max-width:100%;
  margin-top:auto;margin-left:auto;gap:9px;text-align:center;min-height:42px;line-height:1.4}
.system-cards>.system-tile>.system-external-link>.ui-icon{display:block;flex:0 0 16px;align-self:center}

/* Titles and footer actions should not inherit baseline or variable
   inline-element alignment from neighboring labels. */
.panel-heading,.section-title,.clan-title-line,.clan-meta-badges{align-items:center;min-width:0}
.panel-heading>*,.section-title>*,.clan-title-line>*{min-width:0}
.panel-heading>.btn,.section-title>.btn{flex-shrink:0}
.profile-v2 .profile-actions{align-items:center}
.profile-v2 .profile-actions>.btn,
.profile-v2 .profile-actions>.icon-btn,
.profile-v2 .profile-more>summary{box-sizing:border-box;min-height:40px;height:40px;align-self:center}
.profile-v2 .profile-actions>.btn{display:inline-flex;align-items:center;justify-content:center}
.profile-v2 .profile-actions>.icon-btn{display:grid;place-items:center;padding:0}
.profile-v2 .profile-more>summary{display:grid;place-items:center;padding:0}

@media(max-width:870px){
  .site-header nav a{align-items:center}
  .system-cards>.system-tile>.system-external-link{min-height:42px}
}
@media(max-width:600px){
  #modal .modal-close{width:38px;height:38px;min-width:38px;min-height:38px}
  #modal.profile-modal-dialog .profile-modal>header{padding-right:46px}
  .panel-heading,.section-title{flex-wrap:wrap;row-gap:10px}
  .panel-heading>.btn,.section-title>.btn{max-width:100%;white-space:normal}
  .system-cards>.system-tile>.system-external-link{width:auto;max-width:100%;margin-left:auto}
  .profile-v2 .profile-actions{align-items:center}
}
/* ===== SHINY 0.4 — self-hosted fonts (SIL OFL 1.1, see /assets/fonts) ===== */
@font-face{font-family:'Unbounded';font-style:normal;font-display:swap;font-weight:400 900;src:url('/assets/fonts/unbounded-cyrillic-wght-normal.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Unbounded';font-style:normal;font-display:swap;font-weight:400 900;src:url('/assets/fonts/unbounded-latin-wght-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:100 900;src:url('/assets/fonts/onest-cyrillic-wght-normal.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:100 900;src:url('/assets/fonts/onest-latin-wght-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* =====================================================================
   SHINY 0.4 — "Tokyo after dark" design system
   Palette is taken from the artwork itself: crimson sun, violet sky,
   lantern amber and cyan city lights over an indigo night.
   Everything above this block is the pruned legacy base layer; this layer
   is authoritative for the look and feel.
   ===================================================================== */

:root{
  color-scheme:dark;
  --night:#0b0a1a;
  --night-2:#100e24;
  --akane:#ff3d6e;
  --akane-2:#ff7a9c;
  --dusk:#8b5cf6;
  --dusk-2:#b49cff;
  --lantern:#ffb547;
  --neon:#5ce1e6;

  --bg:var(--night);
  --panel:#161430;
  --panel2:#1c1938;
  --panel3:#252145;
  --line:#2c2850;
  --line-soft:rgba(180,160,255,.12);
  --line-strong:rgba(200,180,255,.22);
  --text:#f4f0ff;
  --muted:#aaa4cb;
  --faint:#77719a;
  --red:var(--akane);
  --red2:var(--akane-2);
  --soft:rgba(255,61,110,.12);
  --violet:var(--dusk);
  --green:#4be3b0;

  --glass:linear-gradient(180deg,rgba(34,30,66,.66),rgba(20,18,42,.7));
  --glass-solid:#181633;
  --glass-blur:saturate(150%) blur(18px);
  --sunset:linear-gradient(110deg,#ff3d6e 0%,#d24ae8 52%,#7b5cff 100%);
  --sunset-soft:linear-gradient(110deg,rgba(255,61,110,.18),rgba(123,92,255,.14));
  --glow-akane:0 18px 50px -14px rgba(255,61,110,.55);
  --glow-dusk:0 24px 60px -24px rgba(139,92,246,.55);
  --lift:0 30px 70px -34px rgba(3,2,14,.9);

  --r-xl:30px;
  --r-lg:22px;
  --r-md:16px;
  --r-sm:11px;
  --radius:var(--r-lg);
  --shadow:var(--lift);

  --font-display:'Unbounded','Onest',system-ui,sans-serif;
  --font-body:'Onest','Manrope',system-ui,sans-serif;
  --ease-out:cubic-bezier(.16,1,.3,1);
  --header-h:76px;
  --page-w:100vw;
  --gutter:clamp(16px,3vw,56px);
}

body.light{
  color-scheme:light;
  --bg:#f6f2ff;
  --panel:#ffffff;
  --panel2:#f5f0ff;
  --panel3:#ece5fb;
  --line:#e2d9f5;
  --line-soft:rgba(80,50,160,.11);
  --line-strong:rgba(80,50,160,.2);
  --text:#1a1431;
  --muted:#5d5680;
  --faint:#8a83a8;
  --red:#e3245a;
  --red2:#f0436f;
  --akane:#e3245a;
  --akane-2:#f0436f;
  --soft:rgba(227,36,90,.09);
  --dusk:#7246e8;
  --violet:#7246e8;
  --neon:#0aa7b0;
  --green:#14a477;
  --glass:linear-gradient(180deg,rgba(255,255,255,.86),rgba(250,247,255,.82));
  --glass-solid:#ffffff;
  --sunset:linear-gradient(110deg,#e3245a 0%,#b23bd6 52%,#6a46ee 100%);
  --sunset-soft:linear-gradient(110deg,rgba(227,36,90,.1),rgba(106,70,238,.08));
  --glow-akane:0 16px 40px -16px rgba(227,36,90,.45);
  --glow-dusk:0 20px 50px -26px rgba(106,70,238,.4);
  --lift:0 24px 60px -36px rgba(46,26,110,.35);
}

/* ---------- base ---------- */
html{background:var(--bg);scrollbar-color:#3a3466 transparent}
body.light{scrollbar-color:#cfc3ee transparent}
body{
  font-family:var(--font-body);
  font-size:15px;
  line-height:1.6;
  letter-spacing:-.003em;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:clip;
}
::selection{background:rgba(255,61,110,.45);color:#fff}
:focus-visible{outline:2px solid var(--akane-2);outline-offset:3px;border-radius:10px}
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}

/* ambient night sky: replaces the diagonal pin-stripes */
.backdrop-lines{
  position:fixed;inset:0;z-index:-2;pointer-events:none;opacity:1;
  background:
    radial-gradient(1200px 700px at 88% -10%,rgba(255,61,110,.16),transparent 60%),
    radial-gradient(1000px 800px at -10% 20%,rgba(123,92,255,.16),transparent 62%),
    radial-gradient(900px 600px at 50% 110%,rgba(92,225,230,.07),transparent 60%),
    var(--bg);
}
.backdrop-lines::after{
  content:"";position:absolute;inset:0;opacity:.5;
  background-image:
    radial-gradient(1px 1px at 12% 18%,#fff8 50%,transparent 51%),
    radial-gradient(1px 1px at 72% 12%,#fff6 50%,transparent 51%),
    radial-gradient(1.5px 1.5px at 38% 64%,#ffd5e055 50%,transparent 51%),
    radial-gradient(1px 1px at 86% 54%,#fff5 50%,transparent 51%),
    radial-gradient(1px 1px at 22% 86%,#fff4 50%,transparent 51%),
    radial-gradient(1.5px 1.5px at 58% 34%,#c9b8ff55 50%,transparent 51%);
  background-size:620px 620px;
}
.ambient{display:none}
body.light .backdrop-lines{
  background:
    radial-gradient(1100px 600px at 90% -10%,rgba(255,92,140,.14),transparent 60%),
    radial-gradient(900px 700px at -10% 10%,rgba(124,92,255,.12),transparent 60%),
    var(--bg);
}
body.light .backdrop-lines::after{display:none}

.container{width:min(var(--page-w),calc(100% - 2*var(--gutter)))!important}

/* ---------- splash ---------- */
.splash{background:radial-gradient(600px 400px at 50% 45%,rgba(255,61,110,.18),transparent 70%),var(--night)!important;gap:22px}
.splash img{width:76px!important;height:76px!important;border-radius:22px;filter:drop-shadow(0 0 28px rgba(255,61,110,.55))}
.splash span{font-family:var(--font-display)!important;font-weight:700!important;letter-spacing:.5em!important;font-size:15px!important;color:#fff!important;padding-left:.5em}
.splash-track{width:180px!important;height:2px!important;background:rgba(255,255,255,.08)!important;border-radius:2px;overflow:hidden}
.splash-track i{background:var(--sunset)!important;box-shadow:0 0 16px var(--akane)}

/* ---------- header ---------- */
.site-header{
  height:var(--header-h)!important;
  background:transparent!important;
  border-bottom:1px solid transparent!important;
  backdrop-filter:none!important;
  transition:background .4s var(--ease-out),border-color .4s,box-shadow .4s;
}
body.fx-scrolled .site-header,body:not(.fx-on-home) .site-header{
  background:rgba(11,10,26,.72)!important;
  backdrop-filter:saturate(160%) blur(20px)!important;
  -webkit-backdrop-filter:saturate(160%) blur(20px)!important;
  border-bottom-color:var(--line-soft)!important;
}
body.light.fx-scrolled .site-header,body.light:not(.fx-on-home) .site-header{background:rgba(250,247,255,.8)!important}
body.light.fx-on-home:not(.fx-scrolled) .site-header{--header-ink:#fff}
.header-inner{width:min(var(--page-w),calc(100% - 2*var(--gutter)))!important;height:100%;display:flex;align-items:center;gap:18px}
.brand{gap:12px!important}
.brand img{width:40px!important;height:40px!important;border-radius:12px!important;box-shadow:0 0 0 1px rgba(255,255,255,.1),0 8px 24px -6px rgba(255,61,110,.6)}
.brand span{font-family:var(--font-display)!important;font-weight:700!important;font-size:17px!important;letter-spacing:.18em!important;line-height:1!important;color:var(--header-ink,var(--text))}
.brand small{font-family:var(--font-body)!important;font-weight:600!important;font-size:9.5px!important;letter-spacing:.32em!important;color:var(--muted)!important;margin-top:5px!important}

.site-header nav{gap:2px!important}
.site-header nav a{
  font-family:var(--font-body)!important;
  font-size:14px!important;font-weight:600!important;
  color:var(--header-ink,var(--muted))!important;
  opacity:.86;
  height:40px!important;min-height:40px!important;
  padding:0 14px!important;border-radius:999px;
  transition:color .25s,background .25s,opacity .25s;
}
.site-header nav a:hover{color:var(--header-ink,var(--text))!important;background:rgba(255,255,255,.06);opacity:1}
.site-header nav a.active{color:var(--header-ink,var(--text))!important;opacity:1;background:rgba(255,61,110,.12)}
body.light .site-header nav a:hover{background:rgba(70,40,160,.06)}
body.light .site-header nav a.active{background:rgba(227,36,90,.1)}
.site-header nav a.active::after{
  content:""!important;left:50%!important;right:auto!important;bottom:4px!important;top:auto!important;
  width:16px!important;height:2px!important;transform:translateX(-50%);
  border-radius:2px;background:var(--sunset)!important;box-shadow:0 0 12px var(--akane)!important;
}
@media(min-width:871px) and (max-width:1220px){.site-header nav a{padding:0 9px!important;font-size:13px!important}}

.header-tools{gap:10px!important}
.icon-btn{
  width:40px!important;height:40px!important;border-radius:999px!important;
  background:rgba(255,255,255,.05)!important;border:1px solid var(--line-soft)!important;color:var(--header-ink,var(--text))!important;
  transition:background .25s,border-color .25s,transform .25s var(--ease-out);
}
.icon-btn:hover{background:rgba(255,255,255,.1)!important;border-color:var(--line-strong)!important}
body.light .icon-btn{background:rgba(255,255,255,.7)!important}
.live-status{
  height:30px!important;padding:0 12px!important;border-radius:999px!important;
  font:600 11px/1 var(--font-body)!important;letter-spacing:.08em!important;
  background:rgba(92,225,230,.08)!important;border:1px solid rgba(92,225,230,.28)!important;color:var(--neon)!important;
}
.live-status i{background:var(--neon)!important;box-shadow:0 0 10px var(--neon)!important}
.live-status[data-state="reconnecting"],.live-status[data-state="offline"]{background:rgba(255,181,71,.08)!important;border-color:rgba(255,181,71,.3)!important;color:var(--lantern)!important}
.live-status[data-state="reconnecting"] i,.live-status[data-state="offline"] i{background:var(--lantern)!important;box-shadow:0 0 10px var(--lantern)!important}
.btn.btn-discord,#accountLink{
  height:42px!important;padding:0 18px!important;border-radius:999px!important;
  background:#fff!important;color:#141029!important;border:0!important;
  font:600 13.5px/1 var(--font-body)!important;
  box-shadow:0 10px 30px -12px rgba(255,255,255,.45)!important;
}
#accountLink .ui-icon:last-child{display:none}
#accountLink:hover{box-shadow:0 12px 34px -10px rgba(255,255,255,.6)!important;transform:translateY(-1px)}
body.light #accountLink{background:#1a1431!important;color:#fff!important;box-shadow:0 10px 26px -14px rgba(26,20,49,.7)!important}

@media(min-width:1151px){.mobile-menu{display:none!important}}
@media(max-width:1150px){.mobile-menu{display:grid!important}}
@media(max-width:870px){:root{--header-h:66px}}
@media(max-width:1150px){
  .site-header nav{
    top:calc(var(--header-h) + 6px)!important;left:12px!important;right:12px!important;
    border-radius:var(--r-lg)!important;padding:10px!important;
    background:rgba(18,16,38,.94)!important;backdrop-filter:blur(24px)!important;
    border:1px solid var(--line-strong)!important;box-shadow:0 30px 80px -20px #000c!important;
    gap:2px!important;
  }
  body.light .site-header nav{background:rgba(255,255,255,.96)!important}
  .site-header nav a{height:48px!important;font-size:15px!important;padding:0 16px!important;color:var(--text)!important;border-radius:14px}
  .site-header nav a.active::after{left:4px!important;top:50%!important;bottom:auto!important;width:3px!important;height:18px!important;transform:translateY(-50%)}
  .site-header nav.open{display:grid!important;animation:fx-drop .35s var(--ease-out)}
  .header-tools{margin-left:auto}
}
@media(max-width:870px){.live-status{display:none!important}}
@media(max-width:560px){
  #accountText{display:none}
  #accountLink{width:42px!important;padding:0!important;justify-content:center}
  .brand small{display:none!important}
}
@keyframes fx-drop{from{opacity:0;transform:translateY(-8px) scale(.98)}to{opacity:1;transform:none}}

/* ---------- buttons ---------- */
.btn{
  --btn-h:44px;
  position:relative;isolation:isolate;overflow:hidden;
  min-height:var(--btn-h);height:auto;
  padding:0 20px;border-radius:999px!important;
  font-family:var(--font-body)!important;font-weight:600!important;font-size:14px!important;letter-spacing:0!important;text-transform:none!important;
  background:rgba(255,255,255,.04);
  border:1px solid var(--line-strong);
  color:var(--text);
  gap:9px;
  transition:transform .3s var(--ease-out),box-shadow .3s var(--ease-out),background .3s,border-color .3s,color .3s!important;
}
.btn:hover{border-color:rgba(255,122,156,.5);background:rgba(255,61,110,.08)}
.btn:active{transform:translateY(1px) scale(.99)}
.btn-sm{--btn-h:36px;padding:0 14px!important;font-size:13px!important}
.btn-big{--btn-h:54px;padding:0 26px!important;font-size:15px!important}
.btn-red,.hero .btn-red,.light .btn-red{
  background:var(--sunset)!important;
  border:0!important;
  color:#fff!important;
  box-shadow:var(--glow-akane),inset 0 1px 0 rgba(255,255,255,.28)!important;
}
.btn-red:hover,.hero .btn-red:hover{
  background:var(--sunset)!important;
  box-shadow:0 22px 60px -14px rgba(255,61,110,.75),inset 0 1px 0 rgba(255,255,255,.35)!important;
  transform:translateY(-1px);
}
/* the "shine": a light glint crossing the button on hover — SHINY's signature */
.btn-red::after,.btn-discord::after{
  content:"";position:absolute;z-index:1;top:0;bottom:0;left:-60%;width:45%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);
  transform:skewX(-18deg);pointer-events:none;opacity:0;
}
.btn-red:hover::after,.btn-discord:hover::after{animation:fx-glint .9s var(--ease-out)}
@keyframes fx-glint{0%{left:-60%;opacity:1}100%{left:130%;opacity:1}}
.btn-red>*,.btn-discord>*{position:relative;z-index:2}
.btn-ghost,.btn-outline{background:rgba(255,255,255,.04)!important;border:1px solid var(--line-strong)!important;color:var(--text)!important;box-shadow:none!important}
.btn-ghost{backdrop-filter:blur(10px)}
.btn-ghost:hover,.btn-outline:hover{background:rgba(255,255,255,.09)!important;border-color:rgba(255,122,156,.55)!important}
body.light .btn-ghost,body.light .btn-outline{background:#fff!important;border-color:var(--line)!important}
body.light .btn-ghost:hover,body.light .btn-outline:hover{border-color:rgba(227,36,90,.45)!important;background:#fff!important}
.btn .ui-icon{width:17px;height:17px}

/* ---------- headings ---------- */
.kicker,.mini{
  font-family:var(--font-body)!important;font-weight:600!important;
  font-size:11px!important;letter-spacing:.14em!important;
  color:var(--akane-2)!important;
}
.kicker::before{width:14px!important;height:2px!important;border-radius:2px;background:var(--sunset)!important;box-shadow:0 0 10px var(--akane)}
.mini{color:var(--faint)!important;letter-spacing:.1em!important;font-size:10.5px!important}
.section{padding-top:clamp(64px,8vw,112px)!important}
.section-head{margin-bottom:clamp(22px,2.6vw,34px)!important;gap:20px;align-items:flex-end}
.section-head h2{
  font-family:var(--font-display)!important;font-weight:600!important;
  font-size:clamp(28px,3.4vw,46px)!important;line-height:1.08!important;letter-spacing:-.025em!important;
  margin:12px 0 0!important;color:var(--text)!important;
}
.section-head h2 em{font-style:normal!important;font-weight:300!important;color:inherit!important;opacity:.62;-webkit-text-fill-color:currentColor}
.section-head>p{max-width:46ch;color:var(--muted)!important;font-size:15px!important;margin:0!important}
h3{font-family:var(--font-body);letter-spacing:-.01em}
.text-accent{background:var(--sunset);-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent}

/* ---------- home hero: full-bleed cinema ---------- */
.container.fade-in>.hero.hero-editorial:first-child{margin-top:calc(-1 * var(--header-h))!important}
.hero.hero-editorial{
  --hero-shift:0px;
  position:relative;isolation:isolate;overflow:hidden;
  width:100vw!important;max-width:none!important;
  margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;
  min-height:min(100svh,900px)!important;
  padding:calc(var(--header-h) + clamp(48px,9vh,110px)) max(var(--gutter),calc((100vw - var(--page-w))/2)) clamp(124px,17vh,180px)!important;
  border:0!important;border-radius:0 0 clamp(28px,4vw,56px) clamp(28px,4vw,56px)!important;
  background:var(--night)!important;box-shadow:none!important;
  display:flex!important;flex-direction:column!important;justify-content:flex-end!important;
}
.hero.hero-editorial .hero-artwork{position:absolute!important;inset:-6% 0 0!important;z-index:-3!important;display:block}
.hero.hero-editorial .hero-artwork img{
  width:100%!important;height:100%!important;object-fit:cover!important;object-position:62% 30%!important;
  transform:translate3d(0,var(--hero-shift),0) scale(1.06);
  filter:saturate(1.08) contrast(1.04);
  animation:fx-hero-in 2.2s var(--ease-out) both;
}
@keyframes fx-hero-in{from{transform:translate3d(0,0,0) scale(1.16);filter:saturate(.6) brightness(.5) blur(6px)}to{filter:saturate(1.08) contrast(1.04)}}
.hero.hero-editorial::before{
  content:""!important;display:block!important;position:absolute;inset:0;z-index:-2;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(11,10,26,.94) 0%,rgba(11,10,26,.7) 32%,rgba(11,10,26,.08) 62%,transparent 80%),
    linear-gradient(0deg,var(--night) 0%,rgba(11,10,26,.6) 18%,transparent 42%),
    linear-gradient(180deg,rgba(11,10,26,.75) 0%,transparent 22%);
  animation:none!important;opacity:1!important;
}
.hero.hero-editorial::after{
  content:""!important;position:absolute;inset:auto 0 0;height:1px;z-index:1;
  background:linear-gradient(90deg,transparent,rgba(255,61,110,.6),rgba(139,92,246,.5),transparent)!important;
  animation:none!important;opacity:1!important;
}
.hero-fx{position:absolute;inset:0;z-index:-1;width:100%;height:100%;pointer-events:none}
.hero.hero-editorial .hero-copy{position:relative;z-index:2;max-width:640px!important;padding:0!important;margin:0!important;background:none!important;border:0!important}
.hero.hero-editorial .hero-tag{
  display:inline-flex!important;align-items:center;gap:8px;height:32px;padding:0 14px 0 10px!important;
  border-radius:999px!important;border:1px solid rgba(255,255,255,.18)!important;
  background:rgba(255,255,255,.06)!important;backdrop-filter:blur(10px);
  font:600 11px/1 var(--font-body)!important;letter-spacing:.16em!important;color:#fff!important;
}
.hero.hero-editorial .hero-tag .ui-icon{color:var(--lantern);filter:drop-shadow(0 0 6px var(--lantern))}
.hero.hero-editorial h1{
  position:relative;
  font-family:var(--font-display)!important;font-weight:800!important;
  font-size:clamp(76px,12.5vw,190px)!important;line-height:.86!important;letter-spacing:-.04em!important;
  margin:22px 0 18px -.04em!important;padding:0 0 .06em!important;
  color:#fff!important;
  background:linear-gradient(100deg,#fff 0%,#fff 40%,#ffd3df 47%,#fff 50%,#ffe6ee 53%,#fff 60%,#fff 100%)!important;
  background-size:300% 100%!important;background-position:100% 0!important;
  -webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent;
  filter:drop-shadow(0 0 40px rgba(255,61,110,.35)) drop-shadow(0 10px 30px rgba(0,0,0,.5))!important;
  animation:fx-shine 7s 1.4s var(--ease-out) infinite;
}
@keyframes fx-shine{0%{background-position:100% 0}22%,100%{background-position:0 0}}
.hero.hero-editorial h2{
  font-family:var(--font-display)!important;font-weight:500!important;
  font-size:clamp(22px,2.4vw,34px)!important;line-height:1.2!important;letter-spacing:-.02em!important;
  color:#fff!important;margin:0 0 18px!important;max-width:none!important;
}
.hero.hero-editorial p{font-size:clamp(15px,1.15vw,17px)!important;line-height:1.65!important;color:rgba(236,230,255,.8)!important;max-width:44ch!important;margin:0 0 30px!important}
.hero.hero-editorial .hero-actions{display:flex!important;flex-wrap:wrap!important;flex-direction:row!important;gap:12px!important;width:auto!important}
.hero.hero-editorial .hero-actions .btn-ghost{color:#fff!important;background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.22)!important}
.hero.hero-editorial .hero-copy>*{animation:fx-rise 1s var(--ease-out) both}
.hero.hero-editorial .hero-copy>:nth-child(1){animation-delay:.35s}
.hero.hero-editorial .hero-copy>:nth-child(2){animation-delay:.45s}
.hero.hero-editorial .hero-copy>:nth-child(3){animation-delay:.6s}
.hero.hero-editorial .hero-copy>:nth-child(4){animation-delay:.7s}
.hero.hero-editorial .hero-copy>:nth-child(5){animation-delay:.8s}
@keyframes fx-rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
.hero.hero-editorial h1{animation:fx-rise 1.1s .45s var(--ease-out) both,fx-shine 7s 1.6s var(--ease-out) infinite}
.hero.hero-editorial .hero-bottom-line{
  position:absolute!important;right:max(var(--gutter),calc((100vw - var(--page-w))/2))!important;left:auto!important;bottom:clamp(128px,17vh,180px)!important;
  z-index:2;border:0!important;padding:0!important;background:none!important;
}
.hero.hero-editorial .hero-bottom-line>span{font:600 11px/1 var(--font-body)!important;letter-spacing:.24em!important;color:rgba(255,255,255,.55)!important;gap:12px!important}
.hero.hero-editorial .hero-bottom-line i{width:4px!important;height:4px!important;border-radius:50%;background:var(--akane)!important;box-shadow:0 0 8px var(--akane)}
.hero.hero-editorial .hero-scene-label{display:none}
body.light .hero.hero-editorial{background:#0b0a1a!important}

/* ---------- stats HUD ---------- */
.stats.stats-six{
  position:relative;z-index:3;
  margin:-72px auto 0!important;
  display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:0!important;
  padding:8px!important;border-radius:var(--r-lg)!important;
  background:rgba(22,19,46,.72)!important;
  backdrop-filter:saturate(160%) blur(22px);-webkit-backdrop-filter:saturate(160%) blur(22px);
  border:1px solid var(--line-strong)!important;
  box-shadow:0 40px 80px -40px #000,inset 0 1px 0 rgba(255,255,255,.07)!important;
}
.stats.stats-six .stat{
  position:relative;padding:18px 20px 16px!important;border:0!important;background:none!important;min-height:0!important;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:10px!important;
}
.stats.stats-six .stat+.stat::before{content:"";position:absolute;left:0;top:22%;bottom:22%;width:1px;background:var(--line-soft)}
.stats .stat>label{font:600 10.5px/1 var(--font-body)!important;letter-spacing:.14em!important;color:var(--faint)!important;margin:0!important}
.stats .stat>strong{
  font-family:var(--font-display)!important;font-weight:600!important;
  font-size:clamp(24px,2.3vw,34px)!important;line-height:1!important;letter-spacing:-.03em!important;
  color:var(--text)!important;margin:0!important;text-align:left!important;align-self:flex-start!important;
}
.stats .stat[data-live-key="stat-online"]>strong{color:var(--neon)!important;text-shadow:0 0 22px rgba(92,225,230,.45)}
.stats .stat[data-live-key="stat-online"]>label::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--neon);box-shadow:0 0 8px var(--neon);margin-right:7px;vertical-align:1px;animation:fx-pulse 2.4s ease-in-out infinite}
@keyframes fx-pulse{50%{opacity:.35}}
body.light .stats.stats-six{background:rgba(255,255,255,.82)!important}
@media(max-width:1000px){.stats.stats-six{grid-template-columns:repeat(3,minmax(0,1fr))!important}.stats.stats-six .stat:nth-child(4)::before{display:none}}
@media(max-width:560px){
  .stats.stats-six{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-top:-56px!important}
  .stats.stats-six .stat:nth-child(odd)::before{display:none}
  .stats.stats-six .stat:nth-child(4)::before{display:block}
  .stats.stats-six .stat{padding:14px 14px 12px!important}
}

/* one typographic voice: legacy layers hard-code Manrope / Space Grotesk all over */
:is(#app,.site-header,.footer,dialog,.toasts) :where(*:not(code,pre,kbd,samp)){font-family:inherit}
:is(input,textarea,select,button){font-family:inherit}
@media(max-width:1150px){
  .header-tools{order:2;margin-left:auto!important}
  .mobile-menu{order:3;margin-left:2px}
  .site-header nav{background:rgba(16,14,36,.98)!important}
  body.light .site-header nav{background:rgba(255,255,255,.98)!important}
}

/* =====================================================================
   Surfaces: glass panels, home sections, page banners, footer
   ===================================================================== */
.header-inner{padding:0!important;max-width:none!important}

.stats.stats-six.stats-clean .stat{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:12px!important}
.stats.stats-six.stats-clean .stat>strong{text-align:left!important;margin:0!important;width:auto!important;place-self:auto!important;align-self:flex-start!important}
@media(max-width:760px){.hero.hero-editorial .hero-bottom-line{display:none!important}}

/* ---------- glass panel ---------- */
.panel{
  position:relative;
  background:var(--glass)!important;
  border:1px solid var(--line-soft)!important;
  border-radius:var(--r-lg)!important;
  box-shadow:var(--lift),inset 0 1px 0 rgba(255,255,255,.05)!important;
  backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur);
}
body.light .panel{box-shadow:var(--lift),inset 0 1px 0 #fff!important}
.panel-pad{padding:clamp(20px,2vw,28px)!important}
.panel-heading{border-bottom:1px solid var(--line-soft)!important;padding-bottom:16px!important;margin-bottom:18px!important;gap:12px}
.panel-heading h3,.panel>h3{font-family:var(--font-display)!important;font-weight:600!important;font-size:16px!important;letter-spacing:-.01em!important;margin:0!important}
.panel h3{color:var(--text)}
.muted{color:var(--muted)!important}

/* interactive surfaces get the neon edge on hover only */
a.panel,.content-card,.member-card,.quick-tile,.discover-card,.news-card,.staff-card,.system-tile,.color-role-shop-item{transition:transform .45s var(--ease-out),border-color .35s,box-shadow .45s var(--ease-out)!important}
:is(.content-card,.member-card,.quick-tile,.news-card-summary,.system-tile,.color-role-shop-item):hover{
  border-color:rgba(255,122,156,.38)!important;
  box-shadow:0 30px 70px -34px rgba(255,61,110,.55),inset 0 1px 0 rgba(255,255,255,.07)!important;
}

/* ---------- avatars, roles, tags ---------- */
.avatar-shell .avatar,.avatar{border-radius:50%}
.user-mini{gap:14px!important}
.user-mini h3{font-size:16px!important;font-weight:650!important;margin:0 0 2px!important}
.user-mini p{color:var(--muted)!important;font-size:13px!important;margin:0!important}
.roles{gap:7px!important}
.role,.tag{
  height:28px;padding:0 11px!important;border-radius:999px!important;
  font:600 12px/1 var(--font-body)!important;letter-spacing:0!important;text-transform:none!important;
  background:rgba(255,255,255,.05)!important;border:1px solid var(--line-soft)!important;color:var(--muted)!important;
  display:inline-flex!important;align-items:center;gap:7px;
}
.role{color:var(--text)!important}
.role.role-colored{background:color-mix(in oklab,var(--role-solid,#9c8cf5) 14%,transparent)!important;border-color:color-mix(in oklab,var(--role-solid,#9c8cf5) 42%,transparent)!important}
.role-swatch{width:8px!important;height:8px!important;border-radius:50%!important;box-shadow:0 0 8px currentColor}
body.light .role,body.light .tag{background:#fff!important}

/* ---------- home: profile + events ---------- */
.home-grid{gap:20px!important}
.home-blurb{color:var(--muted)!important;font-size:14px!important}
.event-list{gap:10px!important}
.event-row{
  border-radius:var(--r-md)!important;border:1px solid var(--line-soft)!important;
  background:rgba(255,255,255,.025)!important;padding:12px 14px!important;gap:16px!important;
  transition:background .3s,border-color .3s,transform .4s var(--ease-out);
}
.event-row:hover{background:rgba(255,61,110,.06)!important;border-color:rgba(255,122,156,.3)!important;transform:translateX(3px)}
.event-date{
  width:56px!important;height:60px!important;min-width:56px!important;border-radius:14px!important;
  background:var(--sunset-soft)!important;border:1px solid rgba(255,122,156,.28)!important;
  display:grid!important;place-content:center;text-align:center;gap:2px;
}
.event-date strong{font-family:var(--font-display)!important;font-weight:600!important;font-size:21px!important;line-height:1!important;color:var(--text)!important}
.event-date span{font:600 10px/1 var(--font-body)!important;letter-spacing:.1em!important;text-transform:uppercase;color:var(--akane-2)!important}
.event-desc b{font-size:15px!important;font-weight:650!important}
.event-desc span{color:var(--faint)!important;font-size:12.5px!important}
.row-action{width:36px!important;height:36px!important;border-radius:999px!important;border:1px solid var(--line-soft)!important;background:rgba(255,255,255,.04)!important}
.event-row:hover .row-action{background:var(--sunset)!important;border-color:transparent!important;color:#fff!important}

/* ---------- home: discover (asymmetric poster wall) ---------- */
.discover-grid{display:grid!important;grid-template-columns:1.35fr 1fr 1fr!important;gap:18px!important}
.discover-card{
  min-height:440px!important;border-radius:var(--r-xl)!important;
  border:1px solid rgba(255,255,255,.1)!important;background:var(--night)!important;
  box-shadow:var(--lift)!important;
}
.discover-card::after{background:linear-gradient(0deg,rgba(11,10,26,.97) 4%,rgba(11,10,26,.62) 38%,rgba(11,10,26,0) 68%),linear-gradient(180deg,rgba(11,10,26,.55),transparent 26%)!important}
.discover-card>img{filter:saturate(1.08)}
.discover-card:hover{transform:translateY(-6px)!important;border-color:rgba(255,122,156,.45)!important;box-shadow:0 40px 80px -40px rgba(255,61,110,.6)!important}
.discover-card:hover>img{transform:scale(1.06)!important}
.discover-top{padding:20px 20px 0!important}
.discover-top>span:first-child{
  height:28px;padding:0 12px;border-radius:999px;display:inline-flex;align-items:center;
  background:rgba(11,10,26,.5);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.14);
  font:600 10.5px/1 var(--font-body)!important;letter-spacing:.14em!important;color:#fff!important;
}
.discover-icon{width:40px!important;height:40px!important;border-radius:999px!important;background:rgba(11,10,26,.5)!important;backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
.discover-copy{padding:0 26px 24px!important}
.discover-copy h3{font-family:var(--font-display)!important;font-weight:600!important;font-size:clamp(24px,2.2vw,32px)!important;letter-spacing:-.025em!important;line-height:1.1!important;margin:0 0 10px!important;color:#fff!important}
.discover-copy p{font-size:14px!important;line-height:1.6!important;color:rgba(236,230,255,.75)!important;max-width:34ch}
.discover-link{
  margin-top:16px!important;padding:0!important;border:0!important;
  display:inline-flex!important;align-items:center;gap:8px;
  font:600 14px/1 var(--font-body)!important;color:#fff!important;
}
.discover-link .ui-icon{width:30px;height:30px;padding:7px;border-radius:50%;background:var(--sunset);box-shadow:var(--glow-akane);transition:translate .35s var(--ease-out)}
.discover-copy>.discover-link{justify-content:flex-start!important;width:auto!important}
@media(max-width:1000px){.discover-grid{grid-template-columns:1fr 1fr!important}.discover-card:first-child{grid-column:1/-1;min-height:380px!important}}
@media(max-width:640px){.discover-grid{grid-template-columns:1fr!important}.discover-card{min-height:340px!important}}

/* ---------- home: quick tiles ---------- */
.quick-grid{gap:12px!important;margin-top:18px!important}
.quick-tile{
  border-radius:var(--r-md)!important;padding:14px 16px!important;gap:12px!important;
  background:var(--glass)!important;border:1px solid var(--line-soft)!important;box-shadow:none!important;
}
.quick-ico{width:38px!important;height:38px!important;border-radius:12px!important;background:var(--sunset-soft)!important;border:1px solid rgba(255,122,156,.25)!important;color:var(--akane-2)!important}
.quick-tile b{font-size:14px!important;font-weight:650!important}
.quick-tile small{color:var(--faint)!important;font-size:12px!important}

/* ---------- home: clans / systems / news ---------- */
.home-bottom{gap:20px!important}
.home-clans-panel .home-clan-row{
  border-radius:var(--r-md)!important;border:1px solid var(--line-soft)!important;
  background:rgba(255,255,255,.03)!important;box-shadow:none!important;
}
.home-clans-panel .home-clan-row:hover{border-color:rgba(255,122,156,.4)!important}
.home-clan-banner-fallback{background:radial-gradient(120% 140% at 80% 0%,rgba(255,61,110,.45),transparent 60%),radial-gradient(120% 140% at 0% 100%,rgba(123,92,255,.5),transparent 60%),#15122e!important}
.home-clan-banner-fallback b{font-family:var(--font-display)!important;color:rgba(255,255,255,.18)!important;letter-spacing:.05em!important}
.home-clans-panel .home-clan-avatar{background:var(--sunset)!important;border:3px solid var(--panel)!important;box-shadow:0 10px 26px -10px rgba(255,61,110,.8)!important;color:#fff!important}
.home-clans-panel .home-clan-avatar span{font-family:var(--font-display)!important;font-weight:700!important}
.home-clan-title-line b{font-family:var(--font-display)!important;font-weight:600!important;font-size:15px!important}
.home-clan-type{background:rgba(11,10,26,.6)!important;backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.15)!important;border-radius:999px!important;color:#fff!important}
.home-clan-copy{color:var(--muted)!important}
.home-clan-action{border-radius:999px!important}

.system-row{
  border-radius:var(--r-md)!important;border:1px solid var(--line-soft)!important;background:rgba(255,255,255,.025)!important;
  padding:14px!important;gap:14px!important;
}
.system-icon{width:40px!important;height:40px!important;min-width:40px;border-radius:12px!important;background:var(--sunset-soft)!important;border:1px solid rgba(255,122,156,.25)!important;color:var(--akane-2)!important;display:grid!important;place-items:center}
.system-row b{font-size:14.5px!important;font-weight:650!important}
.system-row small{color:var(--faint)!important}

.news-card{
  border-radius:var(--r-md)!important;border:1px solid var(--line-soft)!important;
  background:var(--glass)!important;box-shadow:none!important;
}
.news-card-compact{background:linear-gradient(160deg,rgba(255,61,110,.09),rgba(123,92,255,.06) 60%,transparent)!important}
.news-source-icon{border-radius:12px!important;background:var(--sunset)!important;color:#fff!important;border:0!important;box-shadow:var(--glow-akane)}
.news-source-copy b{font-weight:650!important}
.news-source-copy span{color:var(--faint)!important}
.news-card-body h3{font-family:var(--font-display)!important;font-weight:600!important;letter-spacing:-.015em!important}
.news-more-link,.source-link{color:var(--akane-2)!important;font-weight:600!important}

/* ---------- page banners (inner pages) ---------- */
.section-banner{
  isolation:isolate;overflow:hidden;
  min-height:clamp(260px,30vw,380px)!important;
  margin-top:10px!important;
  padding:clamp(32px,5vw,64px)!important;
  border-radius:var(--r-xl)!important;
  border:1px solid rgba(255,255,255,.1)!important;
  background:var(--night)!important;
  display:flex!important;flex-direction:column!important;justify-content:flex-end!important;align-items:flex-start;
  box-shadow:var(--lift)!important;
}
.section-banner::before{
  content:""!important;z-index:-1!important;
  background:linear-gradient(90deg,rgba(11,10,26,.95) 0%,rgba(11,10,26,.75) 36%,rgba(11,10,26,.1) 72%),linear-gradient(0deg,rgba(11,10,26,.8),transparent 50%)!important;
}
.section-banner::after{
  content:""!important;display:block!important;position:absolute;inset:auto 0 0 0!important;width:auto!important;height:1px!important;border:0!important;border-radius:0!important;transform:none!important;top:auto!important;right:0!important;
  background:linear-gradient(90deg,rgba(255,61,110,.7),rgba(139,92,246,.6),transparent 70%)!important;z-index:1;
}
.section-banner .banner-art{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;object-position:right 30%;z-index:-2;opacity:1!important;filter:saturate(1.1);animation:fx-banner 1.6s var(--ease-out) both;mask-image:none!important;-webkit-mask-image:none!important;left:0!important;right:0!important}
@keyframes fx-banner{from{transform:scale(1.08);opacity:0}to{transform:none;opacity:1}}
.section-banner h1{
  font-family:var(--font-display)!important;font-weight:700!important;
  font-size:clamp(36px,5.6vw,76px)!important;line-height:.98!important;letter-spacing:-.035em!important;
  margin:14px 0 14px!important;color:#fff!important;text-transform:none;
}
.section-banner p{color:rgba(236,230,255,.78)!important;font-size:clamp(15px,1.2vw,17px)!important;max-width:48ch!important}
.section-banner .kicker{color:#fff!important}
body.light .section-banner{color:#fff}

/* breadcrumb */
.bread.crumb-trail{
  margin:calc(var(--header-h) * 0 + 18px) 0 14px!important;
  padding:4px!important;border-radius:999px!important;
  background:var(--glass)!important;border:1px solid var(--line-soft)!important;box-shadow:none!important;
  backdrop-filter:var(--glass-blur);width:max-content;max-width:100%;
}
.bread.crumb-trail::before{display:none!important}
.bread.crumb-trail a,.bread.crumb-trail .crumb-current{border-radius:999px!important;height:32px;padding:0 12px!important;font-size:13px!important}
.bread.crumb-trail .crumb-current{background:rgba(255,61,110,.12)!important;border:0!important;color:var(--text)!important}
.crumb-home-symbol{border-radius:999px!important;background:transparent!important;border:0!important}

/* ---------- list tools: filters + search ---------- */
.list-top{gap:14px!important;margin-bottom:22px!important;flex-wrap:wrap}
.filters{gap:6px!important;padding:5px!important;border-radius:999px!important;background:var(--glass)!important;border:1px solid var(--line-soft)!important}
.filters .filter{height:36px!important;padding:0 16px!important;border-radius:999px!important;border:0!important;background:transparent!important;color:var(--muted)!important;font:600 13px/1 var(--font-body)!important;letter-spacing:0!important;text-transform:none!important}
.filters .filter:hover{color:var(--text)!important;background:rgba(255,255,255,.05)!important}
.filters .filter.active{background:var(--sunset)!important;color:#fff!important;box-shadow:var(--glow-akane)!important}
.search,input.search{
  height:46px!important;border-radius:999px!important;padding:0 20px 0 44px!important;min-width:min(300px,100%);
  background:var(--glass) ,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23aaa4cb' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 16px 50%/18px no-repeat!important;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23aaa4cb' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 16px 50%/18px no-repeat,rgba(255,255,255,.04)!important;
  border:1px solid var(--line-soft)!important;color:var(--text)!important;font-size:14px!important;
}
.search:focus{border-color:rgba(255,122,156,.55)!important;outline:none;box-shadow:0 0 0 4px rgba(255,61,110,.14)!important}
body.light .search{background-color:#fff!important}

/* ---------- final banner: letterboxed cinema frame ---------- */
.final-banner{
  min-height:clamp(320px,34vw,440px);
  margin:clamp(80px,9vw,128px) auto 0!important;
  padding:clamp(32px,5vw,72px)!important;
  border-radius:var(--r-xl)!important;
  border:1px solid rgba(255,255,255,.1)!important;
  background:
    linear-gradient(90deg,rgba(11,10,26,.94) 0%,rgba(11,10,26,.7) 40%,rgba(11,10,26,.05) 75%),
    linear-gradient(0deg,rgba(11,10,26,.7),transparent 50%),
    url('/assets/shiny-world.webp') center 40%/cover!important;
  display:flex!important;flex-direction:column;justify-content:flex-end;align-items:flex-start!important;
  box-shadow:0 50px 100px -50px rgba(255,61,110,.45)!important;
}
.final-banner h2{font-family:var(--font-display)!important;font-weight:700!important;font-size:clamp(34px,5vw,68px)!important;letter-spacing:-.035em!important;line-height:1!important;margin:16px 0 12px!important;color:#fff!important}
.final-banner p{color:rgba(236,230,255,.78)!important;font-size:16px;margin:0 0 28px!important}
.final-banner .kicker{color:#fff!important}

/* ---------- footer: the wordmark as the closing title card ---------- */
.footer{
  position:relative;overflow:hidden;isolation:isolate;
  margin-top:clamp(70px,8vw,110px)!important;padding:56px 0 34px!important;
  border-top:1px solid var(--line-soft)!important;background:transparent!important;
}
.footer::before{
  content:"SHINY";position:absolute;z-index:-1;left:50%;bottom:-.24em;transform:translateX(-50%);
  font:800 clamp(120px,24vw,360px)/1 var(--font-display);letter-spacing:-.04em;white-space:nowrap;
  color:transparent;-webkit-text-stroke:1px rgba(180,160,255,.16);
  background:linear-gradient(180deg,rgba(255,61,110,.14),transparent 70%);-webkit-background-clip:text;background-clip:text;
  pointer-events:none;
}
.footer-inner{width:min(var(--page-w),calc(100% - 2*var(--gutter)))!important;min-height:clamp(150px,18vw,260px);align-items:flex-start!important}
.footer .footer-brand img{border-radius:16px!important;box-shadow:0 12px 30px -10px rgba(255,61,110,.7)}
.footer-brand-copy strong{font-family:var(--font-display)!important;font-weight:700!important;letter-spacing:.16em!important}
.footer-brand-copy small,.footer .footer-side{color:var(--muted)!important}
.footer .footer-side span{letter-spacing:.12em}
body.light .footer::before{-webkit-text-stroke:1px rgba(90,60,170,.18)}
/* the wordmark may be wider than the copy column; never clip its gradient fill */
.hero.hero-editorial h1{display:inline-block!important;width:max-content!important;max-width:none!important;padding-right:.04em!important}
.hero.hero-editorial .hero-copy{width:auto!important;padding-top:0!important}
.discover-top>span:first-child{max-width:none!important;white-space:nowrap;line-height:1!important}
@media(max-width:1000px){.hero.hero-editorial .hero-bottom-line{display:none!important}}

/* =====================================================================
   Pages: events, clans, members, systems, news, economy, about, profile
   ===================================================================== */

/* footer wordmark: filled fade instead of an outline (variable-font outlines show inner contours) */
.footer::before{
  -webkit-text-stroke:0!important;
  background:linear-gradient(180deg,rgba(255,61,110,.13) 0%,rgba(139,92,246,.06) 45%,transparent 78%)!important;
  -webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;
  font-size:clamp(110px,21vw,330px)!important;bottom:-.2em!important;
}
body.light .footer::before{background:linear-gradient(180deg,rgba(227,36,90,.1),transparent 75%)!important;-webkit-background-clip:text!important;background-clip:text!important}

/* ---------- card grids ---------- */
.card-grid{gap:20px!important}
.content-card{border-radius:var(--r-lg)!important;overflow:hidden!important;display:flex!important;flex-direction:column}
.content-card:hover{transform:translateY(-4px)}
.content-art{position:relative;overflow:hidden;aspect-ratio:16/9;min-height:0!important;height:auto!important;border-bottom:1px solid var(--line-soft)}
.content-art img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease-out)!important}
.content-card:hover .content-art img{transform:scale(1.05)}
.content-art::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(11,10,26,.6),transparent 50%);pointer-events:none}
.art-label{
  z-index:2;top:14px!important;left:14px!important;height:26px;padding:0 10px!important;border-radius:999px!important;
  background:rgba(11,10,26,.55)!important;backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.16)!important;
  font:600 10px/26px var(--font-body)!important;letter-spacing:.14em!important;color:#fff!important;
}
.content-body{padding:20px 22px 22px!important;display:flex;flex-direction:column;flex:1;gap:0}
.content-body>.kicker{font-size:11px!important;margin-bottom:8px}
.content-body h3{font-family:var(--font-display)!important;font-weight:600!important;font-size:18px!important;line-height:1.25!important;letter-spacing:-.015em!important;margin:0 0 10px!important}
.content-body>p,.content-body .event-markdown{color:var(--muted)!important;font-size:14px!important;line-height:1.6!important}
.content-body .roles{margin-top:auto;padding-top:14px}
.content-bottom{margin-top:16px!important;padding-top:0!important;border:0!important}
.content-bottom .btn{width:100%}

/* clans directory */
.clan-directory-card .clan-card-cover{min-height:170px!important;background:#120f28!important}
.clan-card-banner-fallback{
  background:
    radial-gradient(90% 120% at 85% 0%,rgba(255,61,110,.55),transparent 60%),
    radial-gradient(90% 120% at 10% 100%,rgba(123,92,255,.55),transparent 62%),
    #120f28!important;
  color:rgba(255,255,255,.13)!important;
  font:800 clamp(56px,7vw,92px)/1 var(--font-display)!important;letter-spacing:-.02em!important;
  text-shadow:none!important;
}
.clan-card-cover>.clan-card-banner-fallback{font-size:clamp(56px,7vw,92px)!important}
.clan-card-logo{width:72px!important;height:72px!important;left:20px!important;bottom:-0px!important;border-radius:22px!important;box-shadow:0 14px 30px -12px rgba(0,0,0,.8)!important;border:3px solid var(--glass-solid)!important}
.clan-card-logo img{border-radius:18px!important}
.clan-card-logo.is-fallback{background:var(--sunset)!important;border-radius:22px!important}
.clan-card-logo.is-fallback span,.clan-card-cover .clan-card-logo span{font:700 20px/1 var(--font-display)!important;color:#fff!important;text-shadow:none!important;letter-spacing:.02em!important}
.clan-directory-card .content-body{padding-top:22px!important}

/* members */
.member-card{padding:22px!important;border-radius:var(--r-lg)!important;display:flex;flex-direction:column;gap:14px}
.member-card .user-mini{margin:0!important}
.member-card>p{color:var(--muted)!important;font-size:14px!important;margin:0!important;flex:1}
.member-card .avatar-shell{width:56px!important;height:56px!important}
.member-card .btn{margin-top:auto}
.list-top>.muted{font-size:13px}

/* ---------- clan detail ---------- */
.clan-showcase-panel{padding:18px!important;border-radius:var(--r-xl)!important}
.clan-showcase-banner{border-radius:var(--r-lg)!important;overflow:hidden;border:1px solid var(--line-soft)!important}
.clan-showcase-banner-fallback,.clan-hero-banner-fallback{
  background:radial-gradient(80% 140% at 85% 0%,rgba(255,61,110,.6),transparent 60%),radial-gradient(80% 140% at 0% 100%,rgba(123,92,255,.6),transparent 62%),#120f28!important;
}
.clan-showcase-banner-fallback span{font-family:var(--font-display)!important;font-weight:800!important;color:rgba(255,255,255,.16)!important;letter-spacing:-.02em!important;text-shadow:none!important}
.clan-showcase-avatar{border-radius:28px!important;border:4px solid var(--glass-solid)!important;box-shadow:0 20px 40px -18px rgba(0,0,0,.9)!important;background:var(--sunset)!important}
.clan-showcase-avatar img{border-radius:24px!important}
.clan-showcase-avatar-fallback{font-family:var(--font-display)!important;color:#fff!important}
.clan-showcase-title-row h1{font-family:var(--font-display)!important;font-weight:700!important;letter-spacing:-.035em!important}
.clan-tag,.clan-mini-type{border-radius:999px!important;background:rgba(255,255,255,.06)!important;border:1px solid var(--line-soft)!important}
.clan-hero-meta>span,.clan-fact,.clan-tool-stat,.clan-tool-action{border-radius:var(--r-md)!important;background:rgba(255,255,255,.03)!important;border:1px solid var(--line-soft)!important}
.clan-fact b{font-family:var(--font-display)!important;font-weight:600!important}
.clan-overview-card,.clan-action-card{border-radius:var(--r-lg)!important;border:1px solid var(--line-soft)!important;background:rgba(255,255,255,.025)!important}
.clan-action-card.clan-action-open{background:linear-gradient(160deg,rgba(255,61,110,.12),rgba(123,92,255,.08) 60%,transparent)!important;border-color:rgba(255,122,156,.3)!important}
.clan-action-head h3,.clan-overview-head h3,.clan-about-panel h2,.clan-tools-head h2{font-family:var(--font-display)!important;font-weight:600!important;letter-spacing:-.02em!important}
.clan-recruitment-grid{grid-template-columns:1fr!important;gap:8px!important}
.clan-recruitment-grid>*{display:flex!important;align-items:center;gap:12px;border-radius:var(--r-sm)!important}
.clan-recruitment-icon,.clan-action-icon,.clan-tool-icon{border-radius:12px!important;background:var(--sunset-soft)!important;border:1px solid rgba(255,122,156,.25)!important;color:var(--akane-2)!important}
.clan-overview-state,.clan-tools-sync{border-radius:999px!important}
.clan-about-panel,.clan-tools-panel{border-radius:var(--r-xl)!important}

/* ---------- systems ---------- */
.system-cards{gap:18px!important}
.system-tile{padding:26px!important;border-radius:var(--r-lg)!important}
.system-tile>i{
  width:48px!important;height:48px!important;border-radius:15px!important;display:grid!important;place-items:center;margin-bottom:18px!important;
  background:var(--sunset-soft)!important;border:1px solid rgba(255,122,156,.28)!important;color:var(--akane-2)!important;
}
.system-cards .system-tile>h3{font-family:var(--font-display)!important;font-weight:600!important;letter-spacing:-.015em!important}
.system-cards .system-tile>p{color:var(--muted)!important}

/* ---------- news ---------- */
.news-feed-grid{gap:20px!important}
.news-card.news-card-summary{padding:22px!important;border-radius:var(--r-lg)!important;background:var(--glass)!important}
.news-card-summary .news-card-body>h3{font-size:18px!important;line-height:1.3!important}
.news-source-badge{border-radius:999px!important;background:rgba(255,255,255,.05)!important;border:1px solid var(--line-soft)!important;color:var(--muted)!important}
.news-published{color:var(--faint)!important}
.news-card-featured{border-color:rgba(255,122,156,.3)!important;background:linear-gradient(160deg,rgba(255,61,110,.12),rgba(123,92,255,.08) 55%,transparent),var(--glass)!important}
.news-markdown,.event-markdown,.staff-markdown,.clan-description{color:var(--muted)}
.news-markdown strong,.event-markdown strong{color:var(--text)}
.md-link{color:var(--akane-2)!important}
.md-inline,.md-code{background:rgba(255,255,255,.06)!important;border:1px solid var(--line-soft)!important;border-radius:8px!important}

/* ---------- economy ---------- */
.community-mission{border-radius:var(--r-xl)!important;background:linear-gradient(140deg,rgba(255,181,71,.1),rgba(255,61,110,.08) 45%,transparent 75%),var(--glass)!important}
.community-mission .panel-heading h3{font-size:19px!important}
.mission-reward{border-radius:var(--r-md)!important;background:rgba(255,181,71,.08)!important;border:1px solid rgba(255,181,71,.3)!important;color:var(--lantern)!important}
.mission-reward b{color:var(--lantern)!important}
.mission-state{border-radius:999px;padding:6px 10px;background:rgba(255,255,255,.05)}
.leaderboards-grid{gap:20px!important}
.leaderboard-panel{padding:22px!important;border-radius:var(--r-xl)!important}
.leaderboard-panel .panel-heading{margin-bottom:10px!important}
.leader-row{border-radius:14px!important;padding:10px 10px!important;border:1px solid transparent!important;transition:background .3s,border-color .3s}
.leader-row:hover{background:rgba(255,255,255,.035)!important}
.leader-row>strong{font-family:var(--font-display)!important;font-weight:600!important;font-size:13px!important;color:var(--faint)!important;min-width:32px}
.leader-row:nth-child(-n+3){background:rgba(255,255,255,.03)!important;border-color:var(--line-soft)!important}
.leader-row:nth-child(1)>strong{color:var(--lantern)!important;text-shadow:0 0 14px rgba(255,181,71,.6)}
.leader-row:nth-child(2)>strong{color:#d9d6ec!important}
.leader-row:nth-child(3)>strong{color:#f0a37a!important}
.leader-row:nth-child(1){background:linear-gradient(90deg,rgba(255,181,71,.12),transparent 70%)!important;border-color:rgba(255,181,71,.28)!important}
.leader-avatar{border-radius:50%!important;background:rgba(255,255,255,.05)!important;border:1px solid var(--line-soft)!important}
.leader-main b{font-weight:650!important}
.leader-value-badge{background:var(--sunset-soft)!important;border:1px solid rgba(255,122,156,.3)!important;color:var(--akane-2)!important;font-weight:650!important}
.leader-meta{color:var(--faint)!important}

.color-role-shop-grid{gap:14px!important}
.color-role-shop-item{padding:14px 16px!important;border-radius:var(--r-lg)!important}
.color-role-iconbox{border-radius:14px!important;box-shadow:0 8px 20px -10px var(--shop-glow,rgba(255,61,110,.7))}
.color-role-swatch{box-shadow:0 0 22px -4px rgba(255,255,255,.25),inset 0 0 0 1px rgba(255,255,255,.18)!important}
.color-role-chip{border-radius:999px!important}
.color-role-shop-purchase>strong{font-family:var(--font-display)!important;font-weight:600!important;font-size:14px!important;color:var(--text)!important}
.shop-buy-btn{--btn-h:36px}

/* ---------- about ---------- */
.guild-overview{
  border-radius:var(--r-xl)!important;padding:clamp(22px,3vw,36px)!important;
  background:radial-gradient(70% 120% at 100% 0%,rgba(255,61,110,.14),transparent 60%),radial-gradient(60% 100% at 0% 100%,rgba(123,92,255,.14),transparent 60%),var(--glass)!important;
  border:1px solid var(--line-soft)!important;box-shadow:var(--lift)!important;
}
.guild-identity h2{font-family:var(--font-display)!important;font-weight:700!important;font-size:clamp(28px,3vw,40px)!important;letter-spacing:-.03em!important}
.guild-facts{gap:10px!important}
.guild-fact{border-radius:var(--r-md)!important;background:rgba(255,255,255,.035)!important;border:1px solid var(--line-soft)!important}
.guild-fact b{font-family:var(--font-display)!important;font-weight:600!important;font-size:17px!important}
.guild-fact span{color:var(--faint)!important}
.guild-links{gap:8px!important}
.guild-channel{border-radius:999px!important;background:rgba(255,255,255,.04)!important;border:1px solid var(--line-soft)!important;height:36px;padding:0 14px!important}
.guild-channel:hover{border-color:rgba(255,122,156,.45)!important;background:rgba(255,61,110,.08)!important}
.community-metrics{gap:14px!important}
.community-metric{border-radius:var(--r-lg)!important;background:var(--glass)!important;border:1px solid var(--line-soft)!important;padding:18px!important}
.community-metric>span{border-radius:14px!important;background:var(--sunset-soft)!important;color:var(--akane-2)!important;border:1px solid rgba(255,122,156,.25)!important}
.community-metric b,.community-metric strong{font-family:var(--font-display)!important;font-weight:600!important}
.staff-grid{gap:18px!important}
.staff-card{padding:24px!important;border-radius:var(--r-lg)!important}
.staff-card h3{font-family:var(--font-display)!important;font-weight:600!important;font-size:18px!important;letter-spacing:-.015em!important}
.staff-icon{border-radius:14px!important;background:var(--sunset-soft)!important;color:var(--akane-2)!important;border:1px solid rgba(255,122,156,.25)!important}
.staff-requirements{border-radius:var(--r-md)!important;background:rgba(255,255,255,.03)!important;border:1px solid var(--line-soft)!important;padding:12px 14px!important}
.shiny-faq{border-bottom:1px solid var(--line-soft)!important}
.shiny-faq:last-child{border-bottom:0!important}
.shiny-faq-summary{padding:18px 4px!important;font-size:16px!important;font-weight:600!important;cursor:pointer;list-style:none;display:flex!important;justify-content:space-between;align-items:center;gap:16px}
.shiny-faq-summary::-webkit-details-marker{display:none}
.shiny-faq-summary::after{content:"+";flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line-strong);color:var(--akane-2);font:400 20px/1 var(--font-body);transition:transform .35s var(--ease-out),background .3s}
.shiny-faq[open]>.shiny-faq-summary::after{transform:rotate(45deg);background:var(--sunset);color:#fff;border-color:transparent}
.shiny-faq-answer{padding:0 4px 18px!important;max-width:70ch}

/* ---------- profile ---------- */
.profile-hero.premium-profile{border-radius:var(--r-xl)!important;border:1px solid var(--line-soft)!important;background:var(--glass)!important;box-shadow:var(--lift)!important;overflow:hidden}
.profile-cover{border-radius:0!important}
.profile-cover::after{content:"";position:absolute;inset:auto 0 0;height:60%;background:linear-gradient(0deg,rgba(11,10,26,.85),transparent);pointer-events:none}
body.light .profile-cover::after{background:linear-gradient(0deg,rgba(255,255,255,.6),transparent)}
.profile-cover-top>span{border-radius:999px!important;background:rgba(11,10,26,.5)!important;backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
.profile-summary h1{font-family:var(--font-display)!important;font-weight:700!important;letter-spacing:-.035em!important;line-height:1!important}
.identity-username{color:var(--faint)!important}
.member-tagline{font-weight:600!important}
.avatar-main{box-shadow:0 20px 50px -20px rgba(255,61,110,.7)}
.profile-menu{border-bottom:1px solid var(--line-soft)!important;gap:4px!important}
.profile-menu button{border-radius:999px!important;font-weight:600!important;color:var(--muted)!important}
.profile-menu button.active{color:var(--text)!important;background:rgba(255,61,110,.1)!important}
.profile-menu button.active::after{background:var(--sunset)!important;box-shadow:0 0 12px var(--akane)!important}
.profile-metrics strong{font-family:var(--font-display)!important;font-weight:600!important}
.profile-section h2,.profile-secondary h2{font-family:var(--font-display)!important;font-weight:600!important;font-size:18px!important;letter-spacing:-.015em!important}
.profile-interests span{border-radius:999px!important;background:rgba(255,255,255,.04)!important;border:1px solid var(--line-soft)!important}
.reward-showcase .reward,.reward{border-radius:var(--r-md)!important}
.profile-more>summary{border-radius:999px!important}
.profile-more>div{border-radius:var(--r-md)!important;background:var(--glass-solid)!important;border:1px solid var(--line-strong)!important;box-shadow:0 30px 60px -20px #000a!important}

/* ---------- dialogs, forms, toasts ---------- */
dialog#modal,dialog.profile-preview-dialog{
  border-radius:var(--r-xl)!important;border:1px solid var(--line-strong)!important;
  background:linear-gradient(180deg,#1b1838,#131129)!important;color:var(--text);
  box-shadow:0 60px 140px -40px #000,0 0 0 1px rgba(255,255,255,.03)!important;
}
body.light dialog#modal,body.light dialog.profile-preview-dialog{background:#fff!important}
dialog::backdrop{background:rgba(6,5,16,.66)!important;backdrop-filter:blur(8px)!important}
dialog[open]{animation:fx-dialog .45s var(--ease-out)}
@keyframes fx-dialog{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
#modal .modal-close{border-radius:999px!important;background:rgba(255,255,255,.06)!important;border:1px solid var(--line-soft)!important}
#modalBody h2,#modalBody h3{font-family:var(--font-display);letter-spacing:-.02em}

:is(#app,dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not(.search),textarea,select){
  border-radius:var(--r-sm)!important;border:1px solid var(--line-soft)!important;
  background:rgba(255,255,255,.035)!important;color:var(--text)!important;
  transition:border-color .25s,box-shadow .25s;
}
:is(#app,dialog) :is(input,textarea,select):focus{border-color:rgba(255,122,156,.55)!important;box-shadow:0 0 0 4px rgba(255,61,110,.13)!important;outline:none!important}
body.light :is(#app,dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),textarea,select){background:#fff!important}
:is(#app,dialog) input.search{border-radius:999px!important}
.shiny-select-trigger{border-radius:var(--r-sm)!important}
.shiny-select-menu{border-radius:var(--r-md)!important;background:#1b1838!important;border:1px solid var(--line-strong)!important;box-shadow:0 30px 60px -20px #000c!important}
.shiny-select-option.is-selected{background:rgba(255,61,110,.14)!important;color:var(--text)!important}

.toasts>*{border-radius:var(--r-md)!important;background:rgba(27,24,56,.92)!important;backdrop-filter:blur(16px);border:1px solid var(--line-strong)!important;box-shadow:0 24px 50px -20px #000!important;color:var(--text)!important}
body.light .toasts>*{background:rgba(255,255,255,.95)!important}

/* admin keeps its own layout; it inherits tokens and gets the same surfaces */
.admin-tabs button,.admin-tab{border-radius:999px!important}
.empty{border-radius:var(--r-lg)!important;border:1px dashed var(--line-strong)!important;background:rgba(255,255,255,.02)!important;color:var(--muted)!important}
.sync-notice{border-radius:var(--r-md)!important}

/* ---------- reveal & tilt (driven by app.js) ---------- */
@media(prefers-reduced-motion:no-preference){
  .section-head{transition:opacity .9s var(--ease-out),transform .9s var(--ease-out)}
}

/* ---------- light theme touch-ups ---------- */
body.light .discover-card,body.light .section-banner,body.light .final-banner{color:#fff}
body.light .clan-card-banner-fallback,body.light .clan-showcase-banner-fallback,body.light .home-clan-banner-fallback{
  background:radial-gradient(90% 120% at 85% 0%,rgba(255,92,140,.45),transparent 60%),radial-gradient(90% 120% at 10% 100%,rgba(124,92,255,.4),transparent 62%),#efe8ff!important;
  color:rgba(60,30,140,.14)!important}
body.light .event-row,body.light .system-row,body.light .home-clans-panel .home-clan-row{background:#fff!important}
body.light .leader-row:nth-child(-n+3){background:rgba(80,50,160,.03)!important}
body.light .leader-row:nth-child(1){background:linear-gradient(90deg,rgba(255,181,71,.18),transparent 70%)!important}
body.light .leader-row:nth-child(1)>strong{color:#c77800!important;text-shadow:none}
body.light .mission-reward,body.light .mission-reward b{color:#b36b00!important}
body.light .stats .stat[data-live-key="stat-online"]>strong{color:var(--neon)!important;text-shadow:none}
body.light .live-status{background:rgba(10,167,176,.08)!important}
body.light .shiny-select-menu{background:#fff!important}
body.light .news-card-compact{background:linear-gradient(160deg,rgba(227,36,90,.06),rgba(106,70,238,.04) 60%,#fff)!important}
body.light .clan-action-card.clan-action-open,body.light .community-mission{background:linear-gradient(160deg,rgba(227,36,90,.07),rgba(106,70,238,.05) 60%,#fff)!important}
body.light .guild-overview{background:radial-gradient(70% 120% at 100% 0%,rgba(227,36,90,.08),transparent 60%),#fff!important}
body.light .kicker{color:var(--red)!important}
body.light .section-banner .kicker,body.light .final-banner .kicker,body.light .hero .kicker{color:#fff!important}
body.light .section-head h2 em{opacity:.5}

/* ---------- mobile ---------- */
@media(max-width:760px){
  .section-banner{min-height:240px!important;border-radius:var(--r-lg)!important}
  .section-banner .banner-art{object-position:70% 30%}
  .final-banner{border-radius:var(--r-lg)!important;min-height:300px}
  .list-top{flex-direction:column;align-items:stretch!important}
  .filters{overflow-x:auto;flex-wrap:nowrap!important;scrollbar-width:none;border-radius:999px!important}
  .filters .filter{flex:none}
  .search,input.search{width:100%!important;min-width:0}
  .panel-pad{padding:18px!important}
  .content-body{padding:18px!important}
  .footer-inner{flex-direction:column;gap:22px}
  .section-head{flex-direction:column!important;align-items:flex-start!important;text-align:left!important}
  .section-head>div{text-align:left!important;align-items:flex-start!important}
  .final-banner .btn-big{--btn-h:50px;padding:0 20px!important;font-size:14px!important}
}
.clan-action-card{align-self:start!important}
.clan-recruitment-grid>*{min-height:0!important;padding:12px 14px!important}
.home-grid>.panel:first-child{display:flex!important;flex-direction:column}
.home-grid>.panel:first-child>.btn:last-child{margin-top:auto}
@media(max-width:560px){
  .section-banner h1{font-size:clamp(28px,8.4vw,44px)!important;letter-spacing:-.03em!important}
  .section-head h2{font-size:clamp(25px,7.4vw,34px)!important}
  .hero.hero-editorial h1{font-size:clamp(64px,21vw,110px)!important}
}
:is(#app,dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]),select){min-height:48px;font-weight:500!important;font-size:14.5px!important}
:is(#app,dialog) textarea{font-weight:500!important;font-size:14.5px!important}
:is(#app,dialog) :is(input,textarea)::placeholder{color:var(--faint)!important;font-weight:400!important;opacity:1}
.admin-form>.btn-red,.admin-form .btn-red.w-full{margin-bottom:22px}
body.light .leader-row:nth-child(2)>strong{color:#8a86a3!important}

/* profile hero is always a dark "film still", even in the light theme */
body.light .profile-cover::after{background:linear-gradient(0deg,rgba(11,10,26,.85),transparent)!important}
body.light .profile-hero .icon-btn,body.light .profile-hero .profile-more>summary{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.18)!important;color:#fff!important}
body.light .profile-hero.premium-profile{background:#14112b!important}
/* profile body in the light theme (legacy layer hard-codes light-on-dark text) */
body.light .profile-v2 .profile-menu button{color:var(--muted)!important}
body.light .profile-v2 .profile-menu button.active{color:var(--text)!important;background:rgba(227,36,90,.08)!important}
body.light .profile-v2 .profile-bio{color:var(--text)!important}
body.light .profile-v2 .profile-bio a{color:var(--dusk)!important}
body.light .profile-v2 .profile-interests span{color:var(--muted)!important;background:#fff!important}
body.light .profile-v2 :is(.profile-section,.profile-secondary) :is(p,small,span):not(.role *):not(.tag):not(.kicker){color:inherit}

/* loading skeletons */
.profile-skeleton :is(.skeleton-cover,.skeleton-avatar,.skeleton-line,.skeleton-stats,.skeleton-card,[class^="skeleton-"]){
  background:linear-gradient(100deg,rgba(255,255,255,.04) 30%,rgba(255,255,255,.09) 50%,rgba(255,255,255,.04) 70%) 0 0/300% 100%!important;
  border-color:var(--line-soft)!important;animation:fx-skeleton 1.6s linear infinite}
body.light .profile-skeleton :is(.skeleton-cover,.skeleton-avatar,.skeleton-line,.skeleton-stats,.skeleton-card,[class^="skeleton-"]){
  background:linear-gradient(100deg,#ece5fb 30%,#f7f3ff 50%,#ece5fb 70%) 0 0/300% 100%!important}
@keyframes fx-skeleton{to{background-position:-150% 0}}
@media(prefers-reduced-motion:reduce){.profile-skeleton [class^="skeleton-"]{animation:none!important}}

/* performance: blur only where something busy sits underneath (header, HUD, chips over art) */
.panel,.quick-tile,.news-card,.bread.crumb-trail,.filters{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

/* reduced motion: keep every state, drop every movement */
@media(prefers-reduced-motion:reduce){
  .hero.hero-editorial h1,.hero.hero-editorial .hero-copy>*,.hero.hero-editorial .hero-artwork img,
  .section-banner .banner-art,dialog[open],.site-header nav.open,
  .stats .stat[data-live-key="stat-online"]>label::before{animation:none!important}
  .hero.hero-editorial .hero-artwork img{transform:none!important}
  .btn-red::after,.btn-discord::after{display:none}
  .discover-card,.discover-card>img,.content-card,.content-art img,.event-row,.btn{transition:none!important}
  .discover-card:hover,.content-card:hover,.event-row:hover{transform:none!important}
}

/* fluid layout: no empty side bands on wide screens — every page, including the profile, spans the viewport */
.container,.container.profile-v2,.container.profile-universe,.container.clan-detail-page{max-width:none!important;width:calc(100% - 2*var(--gutter))!important}
