:root{
  --bg:#030a10;
  --bg2:#07121d;
  --panel:#0b1624;
  --panel2:#0f1d2d;
  --soft:#122238;
  --line:rgba(148,163,184,.16);
  --line2:rgba(45,212,191,.24);
  --text:#f4f7fb;
  --muted:#95a3b8;
  --muted2:#6f7d90;
  --accent:#24e0aa;
  --accent2:#1bb5ff;
  --green:#35df83;
  --blue:#2563eb;
  --danger:#ff5f7a;
  --warn:#f7bf45;
  --shadow:0 24px 70px rgba(0,0,0,.36);
  --radius:22px;
}
*{box-sizing:border-box}
html{min-height:100%}
body{
  min-height:100%;margin:0;color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at 25% 0%,rgba(21,187,255,.13),transparent 35%),
    radial-gradient(circle at 72% 12%,rgba(36,224,170,.11),transparent 28%),
    linear-gradient(135deg,#02070d 0%,#07131f 46%,#030911 100%);
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
a:hover{color:var(--accent)}
button,.btn,input,textarea,select{font:inherit}
button,.btn{cursor:pointer}
.app-shell{min-height:100vh;display:grid;grid-template-columns:284px minmax(0,1fr)}
.app-sidebar{
  position:sticky;top:0;height:100vh;padding:20px 16px;border-right:1px solid var(--line);
  background:linear-gradient(180deg,rgba(3,11,19,.94),rgba(3,9,15,.88));
  backdrop-filter:blur(20px);overflow:auto;z-index:7;
}
.side-brand,.side-card{display:flex;align-items:center;gap:12px}
.side-brand{padding:0 8px 20px;margin-bottom:14px;border-bottom:1px solid var(--line)}
.w-logo{
  display:inline-grid;place-items:center;width:52px;height:52px;border-radius:18px;
  font-weight:1000;font-size:32px;line-height:1;letter-spacing:-.05em;
  background:linear-gradient(135deg,#20e3b2 0%,#1b9dff 65%,#5eead4 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  text-shadow:0 0 25px rgba(27,181,255,.28);
}
.side-brand strong{display:block;font-size:18px;letter-spacing:.01em}.side-brand em{display:block;font-style:normal;color:var(--muted);font-size:13px;margin-top:2px}.side-menu{display:flex;flex-direction:column;gap:6px}.side-menu a{display:flex;align-items:center;gap:14px;min-height:46px;padding:12px 12px;border-radius:12px;color:#e8eef7;font-weight:800;position:relative}.side-menu a span{display:inline-grid;place-items:center;width:22px;color:#b8c4d6;font-weight:900}.side-menu a:hover,.side-menu a.active{background:linear-gradient(90deg,rgba(36,224,170,.18),rgba(37,99,235,.08));box-shadow:inset 0 0 0 1px rgba(45,212,191,.18);color:#fff}.side-menu a.active span,.side-menu a.super{color:var(--accent)}.side-menu a b{margin-left:auto;background:#079273;color:#ecfeff;min-width:24px;height:24px;border-radius:999px;font-size:12px;display:grid;place-items:center}.side-menu a i{margin-left:auto;font-style:normal;color:var(--muted)}.side-menu hr{width:100%;border:0;border-top:1px solid var(--line);margin:10px 0}
.side-card,.system-card{margin-top:18px;padding:16px;border-radius:16px;background:linear-gradient(180deg,rgba(12,26,42,.8),rgba(8,18,31,.7));border:1px solid var(--line);box-shadow:0 18px 45px rgba(0,0,0,.18)}.side-card{display:grid;grid-template-columns:52px 1fr;gap:12px}.side-card-logo{background:rgba(27,181,255,.12);border:1px solid rgba(27,181,255,.22);border-radius:50%;font-size:30px}.side-card strong{display:block;font-size:15px}.side-card span,.system-card p{display:block;color:var(--muted);font-size:13px;margin:2px 0 0}.side-card a{grid-column:2;color:var(--accent2);font-weight:900;font-size:13px;margin-top:8px}.status-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--green);box-shadow:0 0 0 6px rgba(53,223,131,.13);margin-right:9px}.status-dot.red{background:var(--danger);box-shadow:0 0 0 6px rgba(255,95,122,.13)}
.app-stage{min-width:0}.app-topbar{height:78px;display:flex;align-items:center;gap:18px;padding:0 22px;border-bottom:1px solid var(--line);background:rgba(4,12,21,.74);backdrop-filter:blur(20px);position:sticky;top:0;z-index:6}.top-search{flex:1;max-width:520px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;height:46px;padding:0 14px;border:1px solid rgba(148,163,184,.22);border-radius:16px;background:rgba(6,15,26,.82);box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}.top-search span{color:#9fb0c8}.top-search input{border:0;background:transparent;color:var(--text);outline:none;width:100%;padding:0}.top-search input::placeholder{color:#8390a3}.top-search kbd{font-size:12px;color:#a7b4c8;border:0;background:transparent}.top-nav{display:flex;align-items:center;gap:18px;white-space:nowrap;font-size:14px;font-weight:900}.top-nav a.active,.top-nav a.top-super{color:var(--accent)}.top-nav .nav-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:#10b981;color:white;font-size:12px;margin-left:4px}.user-chip{display:flex;align-items:center;gap:10px;padding-left:14px;border-left:1px solid var(--line)}.user-chip .bell{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:#c6d3e6;background:#071321;position:relative}.user-chip .bell:after{content:"";position:absolute;right:7px;top:5px;width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(53,223,131,.12)}.user-chip img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:1px solid rgba(36,224,170,.25)}.user-chip strong,.user-chip em{display:block}.user-chip strong{font-size:14px}.user-chip em{font-style:normal;color:var(--muted);font-size:12px}.site-closed-badge{display:inline-flex;align-items:center;background:rgba(255,95,122,.16);color:#ffd6dc;border:1px solid rgba(255,95,122,.35);border-radius:999px;padding:8px 11px;font-size:12px;font-weight:1000}
.layout{max-width:1460px;margin:0 auto;padding:24px;min-width:0}.premium-home{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:22px}.feed-column{min-width:0}.composer-card,.feed-tabs,.post-card,.right-card,.panel,.card{background:linear-gradient(180deg,rgba(12,25,41,.86),rgba(8,18,31,.82));border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 18px 45px rgba(0,0,0,.18)}.composer-card{display:grid;grid-template-columns:82px 1fr;gap:18px;position:relative;overflow:hidden;padding:28px 30px;border-color:rgba(27,181,255,.22)}.composer-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,var(--accent2),var(--accent));box-shadow:0 0 24px rgba(27,181,255,.75)}.composer-avatar-wrap{position:relative}.avatar{width:54px;height:54px;border-radius:50%;object-fit:cover;background:#06111e;border:1px solid rgba(255,255,255,.12)}.avatar.xl{width:66px;height:66px}.online-dot{position:absolute;right:7px;bottom:11px;width:14px;height:14px;border-radius:50%;background:var(--accent);border:3px solid #0b1624}.composer-prompt{font-size:24px;font-weight:900;letter-spacing:-.02em;display:block;margin-bottom:8px}.composer-content p{color:var(--muted);margin:0 0 18px;line-height:1.55}.composer-form textarea{width:100%;min-height:82px;resize:vertical;background:rgba(2,8,14,.55);border:1px solid rgba(148,163,184,.16);border-radius:16px;color:var(--text);padding:14px 16px;outline:none;margin-bottom:14px}.composer-form textarea:focus,.top-search:focus-within,input:focus,select:focus,textarea:focus{border-color:rgba(36,224,170,.45);box-shadow:0 0 0 4px rgba(36,224,170,.08)}.composer-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.composer-tool,.composer-actions select{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:12px;border:1px solid var(--line);background:rgba(7,16,28,.72);color:#dce7f7;font-weight:800}.composer-tool:hover{border-color:rgba(36,224,170,.34)}.muted-tool{color:#b2bed0}.composer-actions select{width:auto;color:#dce7f7;outline:none}.post-submit,.btn,button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:13px;padding:12px 18px;background:linear-gradient(135deg,#12b981,#3be289);color:#02110c;font-weight:1000;text-decoration:none;box-shadow:0 12px 26px rgba(20,184,128,.18)}.post-submit{margin-left:auto;min-width:122px}.btn.secondary,button.secondary,.btn.outline{background:rgba(10,24,38,.72);color:var(--text);border:1px solid var(--line);box-shadow:none}.btn.small,button.small{padding:8px 12px;border-radius:11px}.btn.full{width:100%}.btn.outline{color:var(--accent);border-color:rgba(36,224,170,.26)}
.feed-tabs{display:flex;align-items:center;gap:16px;padding:13px 15px;margin:22px 0 12px}.feed-tabs a,.feed-tabs span{padding:10px 14px;border-radius:12px;color:#b8c4d6;font-size:14px;font-weight:800}.feed-tabs a.active{background:linear-gradient(135deg,#13a86f,#27d490);color:#ecfff7;box-shadow:0 10px 28px rgba(20,184,128,.18)}.feed-tabs span{margin-left:auto}.feed-list{display:flex;flex-direction:column;gap:14px}.post-card{padding:22px}.post-head.premium{display:grid;grid-template-columns:54px 1fr auto;gap:14px;align-items:center}.avatar-logo{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:linear-gradient(135deg,rgba(27,181,255,.16),rgba(36,224,170,.09));border:1px solid rgba(27,181,255,.22);font-weight:1000;font-size:32px;color:var(--accent2)}.post-head strong{font-size:15px}.post-head strong a{color:var(--text)}.role-badge{font-size:12px;line-height:1;padding:5px 8px;border-radius:8px;margin-left:7px;background:rgba(148,163,184,.1);color:#d8e2f1;border:1px solid rgba(148,163,184,.15)}.role-badge.admin{background:rgba(20,184,166,.14);color:#39e6c3;border-color:rgba(20,184,166,.26)}.role-badge.superadmin{background:rgba(36,224,170,.14);color:#3cf6bd;border-color:rgba(36,224,170,.28)}.role-badge.moderator{background:rgba(59,130,246,.14);color:#93c5fd;border-color:rgba(59,130,246,.28)}.dots{background:transparent;color:#a3afc1;padding:4px;box-shadow:none}.post-card p,.post-body{line-height:1.55;color:#d7dfed;white-space:pre-wrap}.post-card a{color:#1bb5ff}.post-img{display:block;width:100%;max-height:460px;object-fit:cover;border-radius:18px;margin:14px 0;border:1px solid var(--line)}.post-metrics{display:flex;align-items:center;gap:20px;color:#b9c5d7;margin-top:14px}.post-metrics form{display:inline}.metric-btn{background:transparent;color:#b9c5d7;box-shadow:none;border:0;padding:0;font-weight:800}.comments-list{margin-top:14px;display:flex;flex-direction:column;gap:8px}.comment{padding:11px 13px;border-radius:14px;background:rgba(2,8,14,.38);border:1px solid var(--line);color:#dce6f4}.comment-form{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:14px}.comment-form input,input,textarea,select{background:rgba(2,8,14,.55);border:1px solid rgba(148,163,184,.16);border-radius:14px;color:var(--text);padding:12px 14px;outline:none}.muted{color:var(--muted)}.danger-text{color:var(--danger)!important}.right-column{display:flex;flex-direction:column;gap:16px}.right-card{padding:22px}.card-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.card-title-row h3,.right-card h3{margin:0;font-size:18px}.card-title-row a{color:var(--accent2);font-weight:900;font-size:13px}.group-list{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.group-item{display:grid;grid-template-columns:58px 1fr auto;gap:14px;align-items:center;color:var(--text)}.group-item strong,.group-item em{display:block}.group-item em{font-style:normal;color:var(--muted);font-size:13px;margin-top:2px}.group-icon{width:58px;height:58px;border-radius:12px;display:grid;place-items:center;font-weight:1000;font-size:24px;overflow:hidden;background:#0a1624;border:1px solid var(--line)}.icon-1{background:linear-gradient(135deg,rgba(36,224,170,.65),rgba(12,80,92,.65))}.icon-2{background:linear-gradient(135deg,#254b75,#86b7e2)}.icon-3{background:linear-gradient(135deg,#11223c,#123d8a 60%,#23e0d0)}.icon-4{background:linear-gradient(135deg,#345c85,#97cef4)}.icon-5{background:rgba(27,181,255,.13);color:var(--accent2)}.group-item i{width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 0 5px rgba(53,223,131,.09)}.info-row{display:grid;grid-template-columns:76px 1fr;gap:18px;align-items:center;margin:16px 0}.shield{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:radial-gradient(circle,rgba(53,223,131,.28),rgba(53,223,131,.05));border:1px solid rgba(53,223,131,.22);color:#55f7a4;font-size:28px;font-weight:1000}.community-info ul{list-style:none;padding:0;margin:12px 0;display:flex;flex-direction:column;gap:10px}.community-info li{color:#b9c5d7}.community-info li:before{content:"✓";display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:rgba(36,224,170,.14);color:var(--accent);margin-right:10px;font-size:12px}.flash{padding:13px 15px;border-radius:16px;margin-bottom:16px;border:1px solid var(--line);background:rgba(12,25,41,.86)}.flash.error{background:rgba(127,29,29,.25);border-color:rgba(248,113,113,.26)}.flash.success{background:rgba(6,95,70,.24);border-color:rgba(52,211,153,.28)}.flash.info{background:rgba(30,64,175,.18);border-color:rgba(96,165,250,.25)}
/* General pages */
.grid{display:grid;grid-template-columns:280px minmax(0,1fr) 280px;gap:20px}.panel,.card{padding:18px}.stack{display:flex;flex-direction:column;gap:16px}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hero{padding:26px;border-radius:28px;background:radial-gradient(circle at top right,rgba(36,224,170,.16),transparent 35%),linear-gradient(180deg,rgba(12,25,41,.86),rgba(8,18,31,.82));border:1px solid var(--line);margin-bottom:20px}.hero h1{font-size:38px;margin:0 0 8px}.table{width:100%;border-collapse:collapse}.table td,.table th{border-bottom:1px solid var(--line);padding:11px;text-align:left}.badge{font-size:12px;border:1px solid var(--line);background:rgba(148,163,184,.08);color:#c9d5e6;padding:5px 8px;border-radius:999px}.auth{max-width:500px;margin:40px auto}.hidden{display:none}
.footer{display:flex;justify-content:center;gap:12px;padding:16px 24px;color:var(--muted);font-size:13px;border-top:1px solid var(--line);background:rgba(3,8,13,.72)}.footer span+span:before{content:"•";margin-right:12px;color:#516177}
/* Chat */
.chat-page{display:grid;grid-template-columns:340px 1fr;gap:20px;min-height:680px}.chat-sidebar,.chat-window{min-height:680px}.chat-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.chat-title-row h2{margin:0 0 4px}.chat-dot{width:13px;height:13px;background:var(--accent);border-radius:50%;box-shadow:0 0 0 6px rgba(36,224,170,.13);margin-top:8px}.chat-search{display:grid;grid-template-columns:1fr auto;gap:8px;margin:16px 0}.chat-search button{width:auto}.chat-section-label{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:18px 0 10px}.chat-thread-list{display:flex;flex-direction:column;gap:8px}.chat-thread{display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:center;padding:10px;border-radius:16px;background:rgba(2,8,14,.35);border:1px solid transparent;color:var(--text);text-decoration:none}.chat-thread:hover,.chat-thread.active{border-color:var(--accent);background:rgba(36,224,170,.08)}.chat-thread strong,.chat-thread small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-thread small{color:var(--muted);margin-top:2px}.chat-thread em{font-style:normal;background:var(--danger);color:#fff;border-radius:999px;min-width:22px;height:22px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:900}.chat-window{display:flex;flex-direction:column;padding:0;overflow:hidden}.chat-window-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line);background:rgba(8,18,31,.9)}.chat-window-head h2{margin:0}.chat-window-head p{margin:2px 0 0}.chat-messages{flex:1;overflow:auto;padding:22px;display:flex;flex-direction:column;gap:10px;background:radial-gradient(circle at top right,rgba(36,224,170,.08),transparent 38%),#07111d}.chat-bubble{max-width:72%;display:flex;flex-direction:column;gap:5px}.chat-bubble>div{padding:11px 14px;border-radius:18px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}.chat-bubble small{font-size:11px;color:var(--muted);padding:0 6px}.chat-bubble.mine{align-self:flex-end;align-items:flex-end}.chat-bubble.mine>div{background:var(--accent);color:#06110d;border-bottom-right-radius:5px}.chat-bubble.theirs{align-self:flex-start;align-items:flex-start}.chat-bubble.theirs>div{background:#111f31;color:var(--text);border:1px solid var(--line);border-bottom-left-radius:5px}.chat-compose{display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px 18px;border-top:1px solid var(--line);background:rgba(8,18,31,.95)}.chat-compose textarea{min-height:48px;max-height:140px;border-radius:18px}.chat-empty,.chat-empty-small{margin:auto;text-align:center;padding:30px;color:var(--muted)}
/* Superadmin/status pages from earlier patches */
.superadmin-nav{color:var(--accent)!important}.super-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;background:radial-gradient(circle at top right,rgba(255,200,87,.18),transparent 38%),rgba(12,25,41,.86)}.super-stats{display:grid;grid-template-columns:repeat(7,1fr);gap:12px;margin-top:18px}.super-stats .card{padding:16px;text-align:center}.super-stats strong{display:block;font-size:30px;color:var(--accent)}.super-stats span{display:block;color:var(--muted);font-size:13px;margin-top:3px}.super-search{display:grid;grid-template-columns:1fr auto;gap:10px;margin-bottom:14px}.table-wrap{overflow:auto}.super-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.super-item{background:rgba(2,8,14,.35);border:1px solid var(--line);border-radius:16px;padding:14px}.super-item p{white-space:pre-wrap;line-height:1.45}.super-item.is-deleted{opacity:.72;border-color:#67414a;background:#1d1517}.super-thumb{width:88px;height:64px;object-fit:cover;border-radius:12px;border:1px solid var(--line);display:block;margin:8px 0}.super-image{max-width:100%;max-height:340px;object-fit:contain;border:1px solid var(--line);border-radius:16px;background:#08110e;margin:8px 0}.super-profile-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.super-message{border:1px solid var(--line);border-radius:16px;padding:14px;background:rgba(2,8,14,.35)}.super-message.from-target{border-left:4px solid var(--accent)}.super-message.to-target{border-left:4px solid var(--warn)}.super-message p{white-space:pre-wrap;margin-bottom:0}
.status-admin-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;background:radial-gradient(circle at top right,rgba(36,224,170,.16),transparent 36%),rgba(12,25,41,.86)}.status-admin-hero h2{font-size:32px;margin:8px 0}.status-pill{display:inline-flex;align-items:center;gap:9px;border-radius:999px;padding:10px 14px;font-weight:900;border:1px solid var(--line);white-space:nowrap}.status-pill span{width:12px;height:12px;border-radius:50%;display:inline-block}.status-pill.open{color:#bbf7d0;background:#10251a}.status-pill.open span{background:#37d67a;box-shadow:0 0 0 6px rgba(55,214,122,.12)}.status-pill.closed{color:#fecdd3;background:#31151b}.status-pill.closed span{background:#ff6678;box-shadow:0 0 0 6px rgba(255,102,120,.12)}.site-status-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:20px}.status-control-card,.status-preview-card{min-height:560px}.big-toggle{width:170px;height:90px;margin:28px auto 14px;border-radius:999px;position:relative;transition:.2s;box-shadow:0 18px 45px rgba(0,0,0,.28) inset,0 15px 40px rgba(0,0,0,.22)}.big-toggle span{position:absolute;top:8px;width:74px;height:74px;background:#fff;border-radius:50%;box-shadow:0 8px 28px rgba(0,0,0,.3);transition:.2s}.big-toggle.on{background:linear-gradient(135deg,#21c767,#63e692)}.big-toggle.on span{right:8px}.big-toggle.off{background:linear-gradient(135deg,#5b1b25,#ff6678)}.big-toggle.off span{left:8px}.status-title-text{text-align:center;margin:0}.success-text{color:#37d67a}.status-control-card>p{text-align:center}.status-form{margin-top:24px}.status-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.closed-preview-frame{position:relative;overflow:hidden;border-radius:20px;border:1px solid var(--line);min-height:360px;background:#08110e}.closed-preview-frame img{width:100%;height:360px;object-fit:cover;display:block;filter:saturate(1.08)}.closed-preview-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;background:linear-gradient(180deg,rgba(3,9,18,.08),rgba(3,9,18,.5))}.closed-preview-overlay h2{font-size:32px;margin:8px 0 10px;text-shadow:0 3px 18px #000}.closed-preview-overlay p{max-width:620px;color:#d7ecf2;line-height:1.55}.closed-logo{font-size:68px;font-weight:1000;line-height:1;background:linear-gradient(135deg,#37d67a,#3b82f6);-webkit-background-clip:text;background-clip:text;color:transparent}.closed-note-preview{margin-top:14px;padding:12px 18px;border-radius:16px;background:rgba(8,17,14,.68);border:1px solid rgba(255,255,255,.13);color:#edfdf7}.closed-body{min-height:100vh;background:#06110f;overflow-x:hidden}.closed-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:30px;background:radial-gradient(circle at top,rgba(59,130,246,.18),transparent 40%),linear-gradient(135deg,#04100d,#081729 55%,#04100d)}.closed-card{width:min(1120px,100%);display:grid;grid-template-columns:1.15fr .85fr;overflow:hidden;border-radius:32px;border:1px solid rgba(255,255,255,.12);background:rgba(10,18,21,.72);box-shadow:0 30px 90px rgba(0,0,0,.42)}.closed-art{min-height:620px;background:#07131d}.closed-art img{width:100%;height:100%;object-fit:cover;display:block}.closed-content{padding:52px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.closed-logo-large{font-size:96px;font-weight:1000;line-height:.9;background:linear-gradient(135deg,#37d67a,#3b82f6);-webkit-background-clip:text;background-clip:text;color:transparent;margin-bottom:14px}.closed-kicker{color:#37d67a;font-weight:900;letter-spacing:.12em;text-transform:uppercase;font-size:13px;margin:0 0 10px}.closed-content h1{font-size:42px;line-height:1.08;margin:0 0 16px}.closed-content p{font-size:18px;line-height:1.55;color:#d5e9e1;margin:0 0 16px}.closed-note{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:14px 16px;color:#f0fff8}.closed-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
@media(max-width:1240px){.premium-home{grid-template-columns:1fr}.right-column{display:grid;grid-template-columns:1fr 1fr}.top-nav{display:none}.layout{padding:18px}.app-shell{grid-template-columns:260px minmax(0,1fr)}}
@media(max-width:900px){.app-shell{display:block}.app-sidebar{position:relative;height:auto;border-right:0;border-bottom:1px solid var(--line)}.side-menu{display:grid;grid-template-columns:repeat(2,1fr)}.app-topbar{height:auto;align-items:stretch;flex-direction:column;padding:14px}.top-search{max-width:none}.user-chip{padding-left:0;border-left:0}.premium-home,.grid,.chat-page,.site-status-grid,.closed-card{grid-template-columns:1fr}.right-column{display:flex}.chat-sidebar,.chat-window{min-height:auto}.chat-window{height:70vh}.super-stats{grid-template-columns:repeat(3,1fr)}.super-two{grid-template-columns:1fr}.closed-art{min-height:360px}.closed-content{padding:32px}.status-admin-hero{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.layout{padding:12px}.composer-card{grid-template-columns:1fr;padding:22px}.composer-actions,.feed-tabs{align-items:stretch;flex-direction:column}.post-submit{margin-left:0;width:100%}.feed-tabs span{margin-left:0}.post-head.premium{grid-template-columns:48px 1fr}.right-card,.post-card,.composer-card{border-radius:18px}.side-menu{grid-template-columns:1fr}.comment-form,.chat-compose,.status-buttons{grid-template-columns:1fr}.super-stats{grid-template-columns:1fr 1fr}.closed-content h1{font-size:32px}.closed-logo-large{font-size:76px}.closed-content{padding:24px}.closed-art{min-height:260px}}

/* --- Wimmer Community sikkerhed / alderskontrol --- */
.security-dashboard{width:100%;}
.security-hero .security-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px;}
.security-stats span{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid rgba(31,255,194,.18);border-radius:16px;background:rgba(0,255,170,.05);color:#a8b6c7;}
.security-stats strong{font-size:26px;color:#34e286;line-height:1;}
.security-settings-card h3,.security-users-card h3{margin:0 0 16px;color:#f5fbff;}
.security-form-grid{display:grid;grid-template-columns:180px 1fr auto;gap:14px;align-items:end;}
.security-form-grid label{display:flex;flex-direction:column;gap:8px;color:#c9d6e6;font-size:14px;}
.security-form-grid input[type="number"],.security-auth input[type="date"],.security-auth input[type="email"],.security-auth input[type="password"],.security-auth input[type="text"],.security-auth input:not([type]){background:rgba(2,10,18,.75);border:1px solid rgba(125,210,255,.16);border-radius:14px;color:#fff;padding:13px 14px;outline:none;}
.checkline{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;line-height:1.45;color:#cbd7e8!important;}
.checkline input{width:18px;height:18px;accent-color:#34e286;}
.table-wrap{overflow:auto;border:1px solid rgba(125,210,255,.12);border-radius:18px;}
.security-table{width:100%;border-collapse:collapse;min-width:860px;}
.security-table th,.security-table td{padding:14px 16px;text-align:left;border-bottom:1px solid rgba(125,210,255,.09);vertical-align:top;}
.security-table th{color:#e7f6ff;font-size:13px;background:rgba(255,255,255,.025);}
.security-table td{color:#d6e1ef;font-size:14px;}
.security-table span{color:#8fa0b4;font-size:12px;}
.age-pill{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:12px!important;font-weight:800;border:1px solid rgba(255,255,255,.08);}
.age-pill.ok{background:rgba(52,226,134,.12);color:#34e286!important;}
.age-pill.warn{background:rgba(255,184,76,.13);color:#ffcf73!important;}
.age-pill.danger{background:rgba(255,86,117,.14);color:#ff7892!important;}
.action-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.action-row form{margin:0;}
.btn.danger,.action-row .danger{background:linear-gradient(135deg,#ff476e,#a31135)!important;border-color:rgba(255,120,146,.4)!important;color:white!important;}
.security-events{display:flex;flex-direction:column;gap:12px;}
.security-event{border:1px solid rgba(125,210,255,.12);border-radius:16px;padding:12px 14px;background:rgba(255,255,255,.025);}
.security-event strong{display:block;color:#eaf6ff;}
.security-event span{font-size:12px;color:#7f8da1;}
.security-event p{margin:6px 0 0;color:#aebbd0;font-size:13px;}
.security-list{margin:15px 0;padding-left:20px;color:#cbd7e8;}
.security-list li{margin:6px 0;}
.security-auth{max-width:560px;margin:0 auto;}
.security-auth .muted{color:#93a2b8;}
.security-auth button{background:linear-gradient(135deg,#35df84,#129a62);border:1px solid rgba(62,255,177,.38);border-radius:14px;color:#03150d;font-weight:900;padding:13px 16px;cursor:pointer;}
@media(max-width:900px){.security-form-grid,.security-hero .security-stats{grid-template-columns:1fr}.table-wrap{max-width:100%;}.security-table{min-width:760px}}

/* --- FIX 2026-06-13: pæn sikkerhedsside / alderskontrol --- */
.security-dashboard{
  align-items:start;
}
.security-dashboard .security-hero{
  display:block !important;
  grid-template-columns:1fr !important;
  padding:32px !important;
  min-height:auto !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(27,181,255,.18), transparent 30%),
    radial-gradient(circle at 85% 0%, rgba(36,224,170,.14), transparent 34%),
    linear-gradient(180deg, rgba(12,25,41,.92), rgba(8,18,31,.84)) !important;
  border-color:rgba(27,181,255,.28) !important;
}
.security-dashboard .security-hero:before{
  width:5px !important;
  background:linear-gradient(180deg,var(--accent2),var(--accent),var(--green)) !important;
}
.security-dashboard .security-hero .composer-content{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  grid-column:1 / -1 !important;
}
.security-dashboard .security-hero .composer-prompt{
  display:block !important;
  max-width:680px !important;
  font-size:32px !important;
  line-height:1.12 !important;
  margin:0 0 10px !important;
  letter-spacing:-.03em !important;
}
.security-dashboard .security-hero p{
  max-width:760px !important;
  margin:0 !important;
  color:#aebbd0 !important;
  line-height:1.65 !important;
}
.security-dashboard .security-stats{
  display:grid !important;
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:12px !important;
  margin-top:26px !important;
}
.security-dashboard .security-stats span{
  min-height:92px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:flex-start !important;
  gap:7px !important;
  padding:16px !important;
  border-radius:18px !important;
  background:linear-gradient(180deg,rgba(36,224,170,.105),rgba(27,181,255,.045)) !important;
  border:1px solid rgba(36,224,170,.22) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035), 0 12px 32px rgba(0,0,0,.18) !important;
  color:#aab7c9 !important;
  white-space:normal !important;
  overflow-wrap:normal !important;
}
.security-dashboard .security-stats strong{
  display:block !important;
  font-size:30px !important;
  line-height:1 !important;
  color:#34e286 !important;
  text-shadow:0 0 20px rgba(52,226,134,.22) !important;
}
.security-settings-card,
.security-users-card,
.security-dashboard .right-card{
  border-color:rgba(125,210,255,.15) !important;
}
.security-settings-card h3,
.security-users-card h3,
.security-dashboard .right-card h3{
  font-size:20px !important;
  letter-spacing:-.015em !important;
}
.security-form-grid{
  grid-template-columns:minmax(160px,220px) minmax(240px,1fr) auto !important;
  gap:16px !important;
}
.security-form-grid input[type="number"]{
  width:100% !important;
}
.security-table th,
.security-table td{
  white-space:normal !important;
}
.security-table td:first-child{
  min-width:220px !important;
}
.security-dashboard .right-column{
  gap:18px !important;
}
.security-dashboard .community-info .info-row{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
}
.security-dashboard .community-info .shield{
  width:58px !important;
  height:58px !important;
  min-width:58px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:20px !important;
  background:radial-gradient(circle at 35% 20%,rgba(36,224,170,.32),rgba(13,148,136,.15)) !important;
  border:1px solid rgba(36,224,170,.26) !important;
  color:#34e286 !important;
  font-size:24px !important;
  font-weight:1000 !important;
}
.security-dashboard .community-info ul{
  list-style:none !important;
  padding:0 !important;
  margin:18px 0 0 !important;
}
.security-dashboard .community-info li{
  position:relative !important;
  padding-left:28px !important;
  margin:12px 0 !important;
  color:#c9d6e6 !important;
}
.security-dashboard .community-info li:before{
  content:"✓" !important;
  position:absolute !important;
  left:0 !important;
  top:0 !important;
  width:18px !important;
  height:18px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:999px !important;
  background:rgba(36,224,170,.16) !important;
  color:#34e286 !important;
  font-size:12px !important;
  font-weight:1000 !important;
}
@media(max-width:1400px){
  .security-dashboard .security-stats{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}
@media(max-width:900px){
  .security-dashboard .security-hero{padding:24px !important;}
  .security-dashboard .security-hero .composer-prompt{font-size:28px !important;}
  .security-dashboard .security-stats{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  .security-form-grid{grid-template-columns:1fr !important;}
}
@media(max-width:560px){
  .security-dashboard .security-stats{grid-template-columns:1fr !important;}
}

/* Wimmer Community - notifikationer, venner og anmeldelser */
.wc-page-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}
.wc-page-head h1{margin:0 0 6px;font-size:clamp(1.7rem,3vw,2.6rem)}
.wc-action-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.wc-search-inline{display:flex;gap:10px;min-width:min(480px,100%)}
.wc-search-inline input{min-width:260px;flex:1}
.wc-social-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.wc-social-section h2{margin-top:0}.wc-person-list{display:grid;gap:12px}.wc-person-list.compact{gap:8px}
.wc-person-card{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid rgba(0,221,255,.12);background:rgba(2,12,24,.48);border-radius:18px;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.wc-person-card .avatar{width:48px;height:48px;border-radius:16px;object-fit:cover}.wc-person-main{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.wc-person-main em,.wc-person-main small{color:var(--muted,#8da0b6);font-style:normal}.wc-person-main strong a{color:inherit;text-decoration:none}.wc-person-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.wc-notification-list{display:grid;gap:12px}.wc-notification-card{position:relative;display:grid;grid-template-columns:48px 34px 1fr;gap:12px;align-items:center;padding:16px;border-radius:20px;text-decoration:none;color:inherit;border:1px solid rgba(0,221,255,.13);background:linear-gradient(135deg,rgba(9,24,42,.86),rgba(4,12,25,.75));box-shadow:0 18px 55px rgba(0,0,0,.20)}
.wc-notification-card.unread{border-color:rgba(38,255,188,.42);box-shadow:0 18px 65px rgba(0,255,180,.09),0 18px 55px rgba(0,0,0,.25)}
.wc-notification-card.unread:before{content:"";position:absolute;left:10px;top:50%;width:8px;height:8px;border-radius:50%;background:#30f6b0;box-shadow:0 0 14px rgba(48,246,176,.8)}
.wc-notification-card .avatar{width:48px;height:48px;border-radius:16px;object-fit:cover}.wc-notify-icon{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(36,228,255,.22),rgba(38,255,188,.13));color:#66f1d2}.wc-notify-body{display:flex;flex-direction:column;gap:4px}.wc-notify-body em{font-style:normal;color:#cbd7e6}.wc-notify-body small{color:var(--muted,#8da0b6)}
.wc-report-page{max-width:780px;margin:0 auto}.wc-report-target,.wc-report-preview{padding:14px;border-radius:16px;background:rgba(0,0,0,.22);border:1px solid rgba(0,221,255,.12);margin:12px 0}.wc-report-admin-list{display:grid;gap:14px}.wc-report-admin-card{display:grid;gap:12px}.wc-report-admin-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.wc-report-admin-head h2{margin:0}.wc-report-reason{padding:7px 10px;border-radius:999px;background:rgba(255,180,80,.12);border:1px solid rgba(255,180,80,.22);color:#ffd49b}.wc-report-meta{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted,#8da0b6)}.wc-tabs-mini{display:flex;gap:8px;flex-wrap:wrap}.wc-tabs-mini a{padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07);text-decoration:none;color:inherit}.wc-tabs-mini a.active{background:linear-gradient(135deg,rgba(0,221,255,.18),rgba(38,255,188,.13));border-color:rgba(38,255,188,.35)}
.wc-profile-hero{position:relative;overflow:hidden}.wc-profile-cover{height:120px;margin:-24px -24px 0;background:radial-gradient(circle at 20% 20%,rgba(0,221,255,.26),transparent 34%),radial-gradient(circle at 82% 20%,rgba(38,255,188,.18),transparent 35%),linear-gradient(135deg,rgba(8,30,58,.95),rgba(2,10,20,.98));border-bottom:1px solid rgba(0,221,255,.12)}.wc-profile-main{display:flex;gap:18px;align-items:flex-end;margin-top:-38px}.wc-profile-main .avatar.big{width:112px;height:112px;border-radius:30px;border:4px solid rgba(4,13,24,.96);box-shadow:0 18px 45px rgba(0,0,0,.35);object-fit:cover}.wc-profile-info h1{margin:0 0 6px}.wc-profile-actions{margin-top:18px;display:flex;gap:10px;flex-wrap:wrap}.comment-report,.chat-report-link{font-size:.78rem;color:#94a9c1;text-decoration:none;margin-left:8px}.comment-report:hover,.chat-report-link:hover{color:#67f2d4}.dots{text-decoration:none;border:0;background:transparent;color:#96a7bb;font-weight:800;padding:8px 10px;border-radius:10px}.dots:hover{background:rgba(255,255,255,.06);color:#fff}.empty-state{text-align:center;padding:34px}.wc-social-install{max-width:720px;margin:0 auto}
@media (max-width: 980px){.wc-page-head,.wc-profile-main{flex-direction:column}.wc-search-inline{min-width:0;width:100%}.wc-social-grid{grid-template-columns:1fr}.wc-person-card{align-items:flex-start}.wc-person-actions{justify-content:flex-start}.wc-report-admin-head{flex-direction:column}.wc-profile-cover{height:95px}}
@media (max-width: 620px){.wc-notification-card{grid-template-columns:42px 1fr}.wc-notify-icon{display:none}.wc-person-card{flex-direction:column;align-items:stretch}.wc-person-card .avatar{width:58px;height:58px}.wc-person-actions{width:100%}.wc-action-row form{width:100%}.wc-action-row button,.wc-action-row .btn{width:100%;justify-content:center}.wc-search-inline{flex-direction:column}.wc-profile-main .avatar.big{width:92px;height:92px}}
