:root{--bg:#f4f7fb;--surface:#fff;--text:#1f2937;--muted:#6b7280;--line:#d8e0ec;--accent:#6d5efc;--accent-2:#9f8cff;--danger:#b42318;--success:#067647}
*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.55}a{color:inherit}img{max-width:100%}.wrap{width:min(1120px,92vw);margin:0 auto}.site-header,.site-footer{background:var(--surface);border-bottom:1px solid var(--line)}.site-footer{border-top:1px solid var(--line);border-bottom:0;margin-top:2rem}.nav,.footer-grid,.split,.stats-row,.actions-inline,.grid.two,.grid.two-forum{display:flex;gap:1rem}.nav,.footer-grid,.split{justify-content:space-between;align-items:center}.nav{padding:1rem 0}.nav nav{display:flex;gap:1rem;flex-wrap:wrap}.logo{text-decoration:none;font-weight:800;font-size:1.4rem}.tagline{font-size:.85rem;color:var(--muted)}.main-content{padding:1.25rem 0 2rem}.panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:1.2rem;box-shadow:0 8px 30px rgba(17,24,39,.04);margin-bottom:1rem}.panel.inner-form{margin:1rem 0}.hero{background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#fff;border-radius:24px;padding:2rem;margin-bottom:1rem}.grid.two>*{flex:1}.grid.two-forum>div:first-child{flex:2}.grid.two-forum>aside{flex:1}.stack,label{display:flex;flex-direction:column;gap:.45rem}.search-form{display:flex;gap:.75rem;flex-wrap:wrap}.button{display:inline-block;background:var(--accent);border:none;color:#fff;padding:.75rem 1rem;border-radius:12px;text-decoration:none;cursor:pointer;font-weight:700}.button.small{padding:.45rem .7rem;font-size:.85rem}.button.alt{background:#344054}input,select,textarea{background:#fff;border:1px solid var(--line);border-radius:12px;padding:.75rem;font:inherit;width:100%}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:.75rem;border-top:1px solid var(--line);vertical-align:top;text-align:left}.forum-row,.topic-row,.search-result,.latest-row{display:flex;justify-content:space-between;gap:1rem;padding:.9rem 0;border-top:1px solid var(--line)}.forum-row:first-child,.topic-row:first-child,.search-result:first-child,.latest-row:first-child{border-top:none}.meta,small{color:var(--muted)}.alert{padding:1rem;border-radius:16px;margin-bottom:1rem}.alert-error{background:#fef3f2;color:var(--danger)}.alert-success{background:#ecfdf3;color:var(--success)}.badge{display:inline-block;padding:.2rem .55rem;border-radius:999px;background:#ede9fe;color:#4c1d95;font-size:.75rem;margin-right:.35rem}.badge.muted{background:#eef2f6;color:#344054}.post-card{display:grid;grid-template-columns:150px 1fr;gap:1rem;padding:1rem 0;border-top:1px solid var(--line)}.post-card:first-of-type{border-top:none}.avatar,.profile-avatar{width:72px;height:72px;object-fit:cover;border-radius:18px;border:1px solid var(--line)}.profile-avatar{width:120px;height:120px}.signature{margin-top:1rem;padding-top:.8rem;border-top:1px dashed var(--line);color:var(--muted);font-size:.92rem}.pagination{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1rem}.pagination a{text-decoration:none;border:1px solid var(--line);padding:.55rem .8rem;border-radius:10px;background:#fff}.pagination a.active{background:var(--accent);color:#fff;border-color:var(--accent)}.stats-row{flex-wrap:wrap}.stat{background:#fff;border:1px solid var(--line);border-radius:18px;padding:1rem;min-width:120px}.stat strong{display:block;font-size:1.35rem}.narrow{max-width:640px;margin-inline:auto}.attachments{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1rem}.inline-form{display:inline-flex;gap:.5rem;align-items:center}.actions-inline{display:flex;gap:.5rem;flex-wrap:wrap}.footer-grid{padding:1rem 0;color:var(--muted)}.nav-link-with-badge{display:inline-flex;align-items:center;gap:.45rem}.notification-badge{display:inline-flex;align-items:center;justify-content:center;min-width:1.35rem;height:1.35rem;padding:0 .35rem;border-radius:999px;background:#d92d20;color:#fff;font-size:.72rem;font-weight:800;line-height:1;box-shadow:0 0 0 2px rgba(255,255,255,.75)}@media (max-width:800px){.grid.two,.grid.two-forum,.split,.post-card,.nav,.footer-grid{display:block}.post-card{grid-template-columns:1fr}.nav nav{margin-top:.75rem}}

.hero-board{display:grid;grid-template-columns:1.5fr 1fr;gap:1.25rem;align-items:center}
.eyebrow{display:inline-block;padding:.3rem .65rem;border-radius:999px;background:rgba(255,255,255,.16);font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;margin-bottom:.8rem}
.hero-card-grid{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:.75rem}
.hero-stat-card{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:18px;padding:1rem;backdrop-filter:blur(6px)}
.hero-stat-card strong{display:block;font-size:1.45rem;line-height:1.1}
.hero-stat-card span{font-size:.88rem;opacity:.92}
.board-layout{align-items:flex-start}
.board-block{padding:0;overflow:hidden}
.board-heading{padding:1rem 1.2rem;background:linear-gradient(180deg,rgba(109,94,252,.1),rgba(109,94,252,.03));border-bottom:1px solid var(--line)}
.board-heading h2{margin:0 0 .2rem}
.board-heading p{margin:0;color:var(--muted)}
.board-table{display:block}
.board-table-head,.board-row{display:grid;grid-template-columns:minmax(0,2.5fr) 110px 110px minmax(220px,1.2fr);gap:1rem;align-items:center}
.board-table-head{padding:.9rem 1.2rem;background:#f8faff;color:var(--muted);font-size:.82rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.board-row{padding:1rem 1.2rem;border-top:1px solid var(--line)}
.board-row:first-of-type{border-top:none}
.board-main{display:flex;align-items:flex-start;gap:1rem;min-width:0}
.forum-status-icon{width:38px;height:38px;border-radius:12px;flex:0 0 38px;background:radial-gradient(circle at 30% 30%,var(--accent-2),var(--accent));box-shadow:inset 0 0 0 3px rgba(255,255,255,.65),0 10px 20px rgba(109,94,252,.16)}
.board-main h3{margin:0 0 .2rem;font-size:1.02rem}
.board-main p{margin:0;color:var(--muted)}
.board-stat{font-variant-numeric:tabular-nums}
.board-stat strong{font-size:1.05rem}
.board-latest,.latest-topic-meta{display:flex;flex-direction:column;align-items:flex-start;gap:.1rem}
.latest-topic-link{font-weight:700;text-decoration:none}
.sidebar-panel h2{margin-top:0}
.latest-topic-card{align-items:flex-start}
.latest-topic-card a{text-decoration:none;font-weight:700}
@media (max-width:960px){.hero-board{grid-template-columns:1fr}.board-table-head,.board-row{grid-template-columns:minmax(0,1fr) 90px 90px minmax(180px,1fr)}}
@media (max-width:800px){.board-table-head{display:none}.board-row{grid-template-columns:1fr;gap:.6rem}.board-stat{display:flex;justify-content:space-between;align-items:center}.board-stat::before{content:attr(data-label);color:var(--muted);font-weight:700}.board-latest{padding-top:.25rem;border-top:1px dashed var(--line)}}


.crumbs{display:flex;gap:.45rem;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:.92rem;margin-bottom:1rem}.crumbs a{text-decoration:none}.board-shell{padding:1rem 1rem 1.2rem}.vb-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;background:linear-gradient(180deg,#eef3fb,#f8fbff);border:1px solid var(--line);border-radius:16px;padding:1rem 1.1rem;margin-bottom:1rem}.vb-toolbar h1{margin:0 0 .25rem;font-size:1.5rem}.vb-toolbar p{margin:0;color:var(--muted)}.vb-toolbar.bottom{margin-top:1rem;margin-bottom:0;background:#f8fbff}.vb-toolbar.compact{padding:.8rem 1rem}.image-button{display:inline-flex;align-items:center;line-height:0;text-decoration:none}.image-button img{display:block;height:36px;width:auto}.forum-summary-bar{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:.75rem;margin-bottom:1rem}.forum-summary-bar div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:.8rem .9rem}.forum-summary-bar strong{display:block;font-size:1.2rem}.forum-summary-bar span{display:block;color:var(--muted);font-size:.85rem}.thread-table{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}.thread-table-head,.thread-row{display:grid;grid-template-columns:minmax(0,2.4fr) 95px 95px minmax(210px,1.2fr);gap:1rem;align-items:center}.thread-table-head{background:linear-gradient(180deg,#6f63d8,#5649bb);color:#fff;padding:.85rem 1rem;font-size:.8rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.thread-row{padding:1rem;border-top:1px solid var(--line)}.thread-main{display:flex;gap:.85rem;align-items:flex-start;min-width:0}.thread-status{width:20px;height:20px;border-radius:999px;background:radial-gradient(circle at 30% 30%,#9f8cff,#5f50dd);box-shadow:inset 0 0 0 3px rgba(255,255,255,.75)}.thread-status.locked{background:radial-gradient(circle at 30% 30%,#94a3b8,#475569)}.thread-main h3{margin:0 0 .2rem;font-size:1rem}.thread-main h3 a{text-decoration:none}.thread-meta{color:var(--muted);font-size:.9rem}.thread-stat{font-weight:700;color:#334155}.thread-last{display:flex;flex-direction:column;gap:.12rem;align-items:flex-start}.thread-last a{text-decoration:none;font-weight:700}.thread-last span,.thread-last small{color:var(--muted)}.thread-empty{padding:1rem;color:var(--muted)}.vb-post{display:grid;grid-template-columns:180px 1fr;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff;margin-bottom:1rem}.vb-postbit{background:#f8fbff;border-right:1px solid var(--line);padding:1rem;display:flex;flex-direction:column;gap:.45rem;align-items:flex-start}.vb-postbit strong a{text-decoration:none}.vb-post-content{padding:1rem 1.1rem}.vb-post-head{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);padding-bottom:.65rem;margin-bottom:.85rem;color:var(--muted);font-size:.9rem}.compose-head{margin-bottom:1rem}.compose-badge{display:inline-flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:999px;padding:.5rem .9rem;font-weight:700}.compose-form textarea{min-height:220px}.compose-actions{display:flex;gap:.75rem;flex-wrap:wrap}body .button.alt{background:#475467}.post-tools{margin-top:1rem}.topic-actions{display:flex;gap:.5rem;align-items:center}@media (max-width:900px){.thread-table-head,.thread-row{grid-template-columns:minmax(0,1fr) 80px 80px minmax(170px,1fr)}.vb-post{grid-template-columns:1fr}.vb-postbit{border-right:0;border-bottom:1px solid var(--line)}}@media (max-width:760px){.forum-summary-bar{grid-template-columns:repeat(2,minmax(120px,1fr))}.thread-table-head{display:none}.thread-row{grid-template-columns:1fr;gap:.5rem}.thread-stat{display:flex;justify-content:space-between}.thread-stat::before{content:attr(data-label);color:var(--muted);font-weight:700}.thread-last{border-top:1px dashed var(--line);padding-top:.5rem}}


/* Nova contrast refresh */
a{color:var(--link,inherit)}
a:hover{color:var(--link-hover,var(--accent-2))}
.panel,.thread-table,.vb-post,.forum-summary-bar div,.vb-toolbar,.vb-toolbar.bottom,.vb-postbit,.board-table-head,.board-row,.thread-row,.thread-table-head{transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.board-main h3 a,.latest-topic-link,.thread-main h3 a,.thread-last a,.vb-postbit strong a,.crumbs a,.logo,.nav a{text-decoration:none}
.board-main h3 a:hover,.latest-topic-link:hover,.thread-main h3 a:hover,.thread-last a:hover,.vb-postbit strong a:hover,.crumbs a:hover,.nav a:hover{text-decoration:underline;text-underline-offset:2px}
.board-row:nth-child(even),.thread-row:nth-child(even){background:rgba(255,255,255,.02)}
.board-row:hover,.thread-row:hover,.latest-row:hover{background:rgba(255,255,255,.035)}
.vb-post-content{font-size:1rem;line-height:1.7}
.vb-post-content p:first-child{margin-top:0}
.vb-post-content p:last-child{margin-bottom:0}
.vb-postbit .meta,.vb-post-head,.thread-meta,.thread-last span,.thread-last small,.board-heading p,.board-main p,.meta,small{letter-spacing:.01em}
.image-button img{filter:drop-shadow(0 4px 10px rgba(0,0,0,.2))}

.admin-list{display:flex;flex-direction:column;gap:1rem}.admin-item-card{border:1px solid var(--line);border-radius:18px;padding:1rem;background:rgba(255,255,255,.02)}.admin-item-head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:.75rem}.admin-actions-right{display:flex;gap:.5rem;flex-wrap:wrap}.admin-edit-grid{align-items:flex-start}.admin-heading{margin-bottom:.9rem}@media (max-width:760px){.admin-item-head{display:block}.admin-actions-right{margin-top:.75rem}}


.board-layout{display:block}
.board-layout > .panel + .panel{margin-top:1rem}
.latest-topics-panel{margin-top:1rem}
.latest-topics-heading{align-items:flex-end;gap:1rem;margin-bottom:.75rem}
.latest-topics-heading h2{margin:0}
.latest-topics-list{display:flex;flex-direction:column}
.latest-topic-card{padding:.95rem 0;border-top:1px solid var(--line);justify-content:space-between;gap:1rem}
.latest-topic-card:first-child{border-top:0;padding-top:0}
.latest-topic-card:last-child{padding-bottom:0}
.latest-topic-card a{text-decoration:none;font-weight:700}
.latest-topic-meta{text-align:right;min-width:200px}
@media (max-width:720px){.latest-topic-card{flex-direction:column}.latest-topic-meta{text-align:left;min-width:0}}

.admin-shell{padding-bottom:1rem}.admin-topbar{margin-bottom:1rem}.admin-tabs{display:flex;flex-wrap:wrap;gap:.75rem}.admin-tab{appearance:none;border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--text);padding:.8rem 1rem;border-radius:14px;font:inherit;font-weight:700;cursor:pointer}.admin-tab.is-active{background:linear-gradient(135deg,var(--accent),var(--accent-2));border-color:transparent;color:#fff;box-shadow:0 10px 24px rgba(0,0,0,.18)}.admin-tab-panel{display:none}.admin-tab-panel.is-active{display:block}.admin-overview-grid{align-items:flex-start}.quick-panel{height:100%}.admin-settings-form{max-width:760px}.admin-settings-group{border:1px solid var(--line);border-radius:18px;padding:1rem;background:rgba(255,255,255,.03)}.admin-settings-group h3{margin:.1rem 0 .75rem 0;font-size:1rem}.admin-settings-form label{width:100%}.admin-settings-form input,.admin-settings-form select,.admin-settings-form textarea{width:100%}.admin-settings-form .button{align-self:flex-start}.admin-item-card form + form{margin-top:.75rem}@media (max-width:760px){.admin-tabs{display:grid;grid-template-columns:1fr 1fr}.admin-settings-form{max-width:none}}


.status-image{width:38px;height:38px;display:block;flex:0 0 38px}.status-image.small{width:22px;height:22px;flex-basis:22px;margin-top:2px}.board-row.is-read,.thread-row.is-read,.latest-topic-card.is-read{opacity:.68}.board-row.is-unread,.thread-row.is-unread,.latest-topic-card.is-unread{opacity:1}.board-row.is-unread .board-main h3 a,.thread-row.is-unread .thread-main h3 a,.latest-topic-card.is-unread a{color:#ffffff}.latest-topic-main{display:flex;gap:.75rem;align-items:flex-start}.thread-row.is-unread{box-shadow:inset 3px 0 0 rgba(159,140,255,.9)}.board-row.is-unread{box-shadow:inset 3px 0 0 rgba(159,140,255,.9)}.latest-topic-card.is-unread{border-left:3px solid rgba(159,140,255,.9);padding-left:.75rem}.thread-row.is-read .thread-main h3 a,.board-row.is-read .board-main h3 a,.latest-topic-card.is-read a{color:#cbd5e1}.thread-row.is-read .thread-meta,.board-row.is-read .board-main p,.latest-topic-card.is-read small{color:#94a3b8}.board-main .status-image{margin-top:2px}


.hero-actions,.toolbar-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}.toolbar-actions{justify-content:flex-end}.site-header nav{display:flex;gap:14px;align-items:center;flex-wrap:wrap}


.brand-block{display:flex;flex-direction:column;gap:.35rem}.logo-link{display:inline-flex;align-items:center;max-width:min(100%,620px)}.site-banner{display:block;max-width:100%;height:auto;max-height:110px;object-fit:contain;border-radius:18px}.site-title-text{display:inline-block;font-weight:800;font-size:1.6rem;line-height:1.1}.site-header .tagline{margin-top:.1rem}.admin-settings-group .meta{font-size:.82rem}.admin-settings-group label + label{margin-top:.15rem}@media (max-width:800px){.logo-link{max-width:100%}.site-banner{max-height:82px}}


.markup-toolbar{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:.5rem 0 .75rem;padding:.65rem .8rem;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(12,16,33,.72)}
.markup-toolbar-label{font-size:.85rem;font-weight:700;color:#d8d8ff;margin-right:.25rem}
.markup-button{appearance:none;border:1px solid rgba(173,144,255,.35);background:linear-gradient(180deg,rgba(102,73,192,.34),rgba(46,28,96,.38));color:#f4f1ff;padding:.45rem .7rem;border-radius:999px;cursor:pointer;font:inherit;font-size:.85rem;font-weight:700}
.markup-button:hover{filter:brightness(1.08)}
.markup-editor{min-height:220px;font-family:inherit;line-height:1.6}
.markup-help{margin-top:.6rem;color:#b7bbd9;font-size:.92rem}
.rich-post a{color:#b9b2ff;text-decoration:underline}
.rich-post strong{font-weight:800;color:#fff}
.rich-post em{font-style:italic}
.rich-post u{text-decoration:underline}
.post-spoiler{margin:1rem 0;border:1px solid rgba(173,144,255,.24);border-radius:14px;overflow:hidden;background:rgba(18,22,43,.8)}
.post-spoiler summary{cursor:pointer;list-style:none;padding:.8rem 1rem;font-weight:700;color:#f3eeff;background:rgba(120,86,228,.18)}
.post-spoiler summary::-webkit-details-marker{display:none}
.post-spoiler-body{padding:1rem;color:#eef0ff}
.post-code{margin:1rem 0;padding:1rem 1.1rem;border-radius:14px;background:#0a1020;border:1px solid rgba(255,255,255,.08);overflow:auto;color:#d7e5ff;line-height:1.55;white-space:pre-wrap}
.signature .post-code,.signature .post-spoiler{margin-top:.75rem}


.emoticon-picker{margin:.7rem 0 .9rem;border:1px solid #4b5478;border-radius:8px;background:linear-gradient(180deg,rgba(61,70,104,.94),rgba(29,35,57,.96));box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 8px 18px rgba(0,0,0,.18)}
.emoticon-picker-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.55rem .8rem;border-bottom:1px solid #576185;background:linear-gradient(180deg,rgba(100,112,160,.45),rgba(67,76,113,.35));border-radius:8px 8px 0 0;color:#eef2ff}
.emoticon-picker-head strong{font-size:.92rem;letter-spacing:.02em;text-transform:uppercase}
.emoticon-picker-head span{font-size:.82rem;color:#ced6f6}
.emoticon-picker-body{padding:.75rem .8rem}
.emoticon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(62px,1fr));gap:.45rem}
.emoticon-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.28rem;min-height:56px;padding:.35rem;border:1px solid #66739f;border-radius:4px;background:linear-gradient(180deg,#f1f4ff,#d3dcf8);cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.emoticon-button img,.emoticon-preview img{width:22px;height:22px;display:block}
.post-emoticon{width:11px;height:11px;display:inline-block}
.emoticon-button:hover{transform:translateY(-1px);background:linear-gradient(180deg,#ffffff,#dce5ff);border-color:#8d9bd0}
.emoticon-button:active{transform:translateY(0);background:linear-gradient(180deg,#d7def7,#edf2ff)}
.oldschool-emoticon .emoticon-code-label{font-size:.7rem;line-height:1;color:#344054;font-weight:700}
.emoticon-extra{display:none}
.emoticon-picker.is-expanded .emoticon-extra{display:flex}
.emoticon-more-toggle{margin-top:.65rem;appearance:none;border:1px solid #69759e;background:linear-gradient(180deg,#eef3ff,#cfd8f6);color:#24314f;padding:.35rem .7rem;border-radius:4px;font:inherit;font-size:.8rem;font-weight:700;cursor:pointer}
.emoticon-more-toggle:hover{background:linear-gradient(180deg,#ffffff,#dbe5ff)}
.post-emoticon{vertical-align:middle;margin:0 .08rem}
.emoticon-preview{display:flex;align-items:center;gap:.75rem}
.admin-emoticon-add{margin-bottom:1rem}
.emoticon-card .admin-item-head{margin-bottom:.8rem}


.search-panel{display:grid;gap:16px}.search-form-advanced{display:grid;gap:16px}.search-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.search-grid label{display:grid;gap:6px;font-weight:600}.search-grid span{font-size:.9rem;color:var(--muted,#9fb0d0)}.search-actions{display:flex;gap:10px;flex-wrap:wrap}.button-secondary{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);color:inherit;text-decoration:none}.search-empty-state{padding:18px;border:1px dashed rgba(255,255,255,.15);border-radius:16px;background:rgba(255,255,255,.03);color:var(--muted,#9fb0d0)}.search-results-meta{color:var(--muted,#9fb0d0);font-size:.95rem}.search-result-card{display:grid;gap:10px;padding:16px;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);margin-top:12px}.search-result-top{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:.85rem}.search-result-type{padding:4px 9px;border-radius:999px;background:rgba(109,94,252,.16);border:1px solid rgba(109,94,252,.3)}.search-result-type.reply{background:rgba(0,184,148,.14);border-color:rgba(0,184,148,.24)}.search-result-forum,.search-result-date{color:var(--muted,#9fb0d0)}mark{background:rgba(255,220,120,.3);color:inherit;padding:0 .15em;border-radius:4px}
.search-panel{display:grid;gap:20px}
.search-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap}
.search-hero h1{margin:0 0 6px}
.search-results-meta-card{min-width:220px;padding:14px 16px;border-radius:18px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.04);display:grid;gap:4px}
.search-results-meta-card span{color:var(--muted,#9fb0d0);font-size:.92rem}
.search-layout{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:20px;align-items:start}
.search-sidebar{position:relative}
.search-filter-card{position:sticky;top:18px;padding:18px;border-radius:22px;border:1px solid rgba(255,255,255,.08);background:rgba(8,12,28,.72);backdrop-filter:blur(16px)}
.search-section{display:grid;gap:12px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid rgba(255,255,255,.08)}
.search-section:last-of-type{padding-bottom:0;margin-bottom:0;border-bottom:0}
.search-section h2{margin:0;font-size:1rem}
.search-grid-compact{display:grid;gap:12px}
.search-grid-compact label,.search-section label{display:grid;gap:6px;font-weight:600}
.search-grid-compact span,.search-section span{font-size:.9rem;color:var(--muted,#9fb0d0)}
.search-section-moderator{padding:16px;border-radius:18px;background:rgba(109,94,252,.08);border:1px solid rgba(109,94,252,.18)}
.search-results-column{display:grid;gap:14px;min-width:0}
.search-results-list{display:grid;gap:14px}
.search-empty-state{padding:28px;border:1px dashed rgba(255,255,255,.15);border-radius:20px;background:rgba(255,255,255,.03);color:var(--muted,#9fb0d0)}
.search-result-card{display:grid;gap:12px;padding:18px 20px;border-radius:20px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.028));margin-top:0}
.search-result-top{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:.85rem}
.search-result-main{display:grid;gap:10px}
.search-result-main h3{margin:0;font-size:1.15rem}
.search-result-main p{margin:0;color:#d8e3ff;line-height:1.6}
.search-result-meta-row{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.search-mod-flags{display:flex;gap:8px;flex-wrap:wrap}
.search-flag{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:.78rem;font-weight:700;border:1px solid transparent}
.search-flag.flag-hidden{background:rgba(255,170,0,.12);border-color:rgba(255,170,0,.25);color:#ffd483}
.search-flag.flag-reported{background:rgba(255,92,92,.12);border-color:rgba(255,92,92,.24);color:#ffb0b0}
.search-flag.flag-banned{background:rgba(128,92,255,.14);border-color:rgba(128,92,255,.26);color:#d0c0ff}
.search-pagination{padding-top:4px}
@media (max-width: 980px){.search-layout{grid-template-columns:1fr}.search-filter-card{position:static}.search-results-meta-card{width:100%}}


.poll-panel{margin-bottom:18px}.poll-option{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:10px 12px;border:1px solid rgba(255,255,255,.08);border-radius:12px;margin-bottom:8px;background:rgba(255,255,255,.03)}.reaction-strip{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.message-card{display:flex;justify-content:space-between;gap:16px;padding:16px 18px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.03);margin-bottom:12px}.compose-poll{border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:14px;margin-top:8px}.poll-option-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.inline-check{display:flex;align-items:center;gap:8px}.muted{opacity:.72}

.utility-shell{padding:24px 26px}.utility-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.utility-header h1{margin:0 0 4px}.message-list{display:grid;gap:14px}.message-card{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:16px 18px;border:1px solid rgba(255,255,255,.09);border-radius:16px;background:rgba(255,255,255,.03)}.message-card.is-unread{border-color:rgba(125,211,252,.45);box-shadow:0 0 0 1px rgba(125,211,252,.12) inset}.message-card-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px}.message-card-main{min-width:0;flex:1}.state-pill{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.08);font-size:12px;text-transform:uppercase;letter-spacing:.04em}.state-pill.new{background:rgba(56,189,248,.18);color:#d6f4ff}.empty-state{padding:18px;border:1px dashed rgba(255,255,255,.16);border-radius:16px;background:rgba(255,255,255,.02);margin-bottom:14px}.empty-state strong{display:block;margin-bottom:6px}.profile-shell{padding:26px}.profile-stats{margin:18px 0}.profile-recent-topics{margin-top:20px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08)}.profile-topic-row{padding:10px 0;border-bottom:1px solid rgba(255,255,255,.06)}.admin-mini-table{display:grid;gap:12px}.admin-mini-row{display:flex;justify-content:space-between;gap:16px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08)}.diagnostic-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-top:16px}.diagnostic-card{padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08)}.diagnostic-card span{display:block;color:var(--muted,#b7c0d8);font-size:12px;margin-bottom:6px}.diagnostic-card strong{display:block;font-size:16px}.diagnostic-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-top:18px}.diagnostic-check{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03)}.diagnostic-check.good strong,.diagnostic-pill.good{color:#b9ffd3}.diagnostic-check.warning strong,.diagnostic-pill.warning{color:#ffd8a8}.diagnostic-pill{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.06);font-size:12px;text-transform:uppercase;letter-spacing:.05em}.maintenance-stack{gap:12px}.maintenance-tool{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08)}.admin-info-row{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.08)}.admin-info-row:last-child{border-bottom:0}.admin-shell .stats-row .stat{min-width:120px}.admin-tab-panel{margin-top:16px}.admin-edit-form textarea,.admin-edit-form input,.admin-edit-form select{width:100%}@media (max-width: 760px){.utility-header,.message-card,.maintenance-tool,.admin-mini-row{display:block}.message-card > * + *,.maintenance-tool > * + *{margin-top:12px}}

.editor-status{display:flex;gap:1rem;justify-content:space-between;align-items:center;margin:.45rem 0 .6rem;color:#b8c1dc;font-size:.9rem;flex-wrap:wrap}
.compose-preview-toggle{margin:.8rem 0 .6rem}
.compose-preview{margin-top:.75rem;border:1px solid rgba(160,170,255,.18);border-radius:14px;background:rgba(8,12,26,.74);padding:1rem 1.1rem;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.compose-preview h3{margin:0 0 .65rem;font-size:1rem}
.compose-preview-body{min-height:3rem}
.markup-help.subtle{opacity:.82}
.post-quote{margin:0 0 1rem;border-left:4px solid rgba(132,150,255,.75);background:rgba(20,27,48,.72);border-radius:12px;padding:.85rem 1rem}
.post-quote-head{font-weight:700;color:#dce4ff;margin-bottom:.45rem}
.post-quote-body{color:#d4ddfb}
.post-tools{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.9rem}
.compose-form textarea.markup-editor{min-height:280px;line-height:1.55}
.compose-form .markup-toolbar,.compose-form .oldschool-picker{margin-top:.5rem}
@media (max-width: 720px){.editor-status{gap:.35rem;align-items:flex-start;flex-direction:column}}

.admin-lockdown-shell .admin-grid.one-col{grid-template-columns:1fr}.admin-lockdown-shell .admin-card{padding:20px}.admin-lockdown-shell .kv{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-top:1px solid rgba(255,255,255,.08)}.admin-lockdown-shell .kv:first-of-type{border-top:0}


.moderation-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1rem}
.moderation-panel{padding:1rem}
.topic-row-moderation{gap:1rem;align-items:flex-start}
.moderation-actions{display:grid;gap:.5rem;min-width:0;max-width:100%}
.moderation-actions textarea{display:block;box-sizing:border-box;max-width:100%;width:100%;min-height:56px;border-radius:10px;padding:.65rem;border:1px solid rgba(148,163,184,.35);background:rgba(15,23,42,.55);color:#e5ecff}
.actions-inline.wrap{flex-wrap:wrap}
.status-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.22rem .55rem;border-radius:999px;background:rgba(109,94,252,.18);color:#d9d6ff;font-size:.72rem;font-weight:700;margin-left:.35rem}
.status-badge.danger{background:rgba(220,38,38,.18);color:#fecaca}
.status-inline{margin-left:0}
.compact-select{border-radius:999px;padding:.5rem .75rem;border:1px solid rgba(148,163,184,.35);background:rgba(15,23,42,.55);color:#e5ecff}
.button.danger{background:#7f1d1d;color:#fee2e2}
.admin-table-wrap{overflow:auto}
.admin-table{width:100%;border-collapse:collapse}
.admin-table th,.admin-table td{padding:.75rem;border-bottom:1px solid rgba(148,163,184,.15);text-align:left;vertical-align:top}

.site-banner{max-height:90px}.moderation-grid .stack select[multiple]{min-height:12rem}.status-badge.danger{background:#6b2338;color:#fff}.admin-mini-row{display:flex;justify-content:space-between;gap:1rem}.grid.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;}

.admin-user-forum-assignments{margin-top:.5rem}.admin-forum-checkboxes{display:flex;flex-wrap:wrap;gap:.5rem;margin:.35rem 0}.checkbox-inline{display:inline-flex;align-items:center;gap:.35rem;font-size:.92rem}.checkbox-inline input{margin:0}


.admin-shell-sidebar{display:grid;grid-template-columns:minmax(220px,260px) minmax(0,1fr);gap:18px;align-items:start}
.admin-sidebar{position:sticky;top:18px}
.admin-side-nav{display:grid;gap:8px}
.admin-side-link,.admin-side-nav .admin-tab{display:flex;align-items:center;justify-content:flex-start;width:100%;padding:12px 14px;border-radius:14px;background:#f3f6fb;border:1px solid #9eb7d6;text-decoration:none;color:#163a63;font-weight:700}
.admin-side-link{margin-top:8px}
.admin-main-stack{display:grid;gap:18px;min-width:0}
.theme-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}
.theme-card{padding:14px;border:1px solid #9eb7d6;border-radius:14px;background:#f8fbff;display:grid;gap:8px}
.theme-card.is-selected{box-shadow:0 0 0 2px #5a8fd8 inset}
.theme-card-preview{min-height:110px;border:1px solid #bfd0e5;border-radius:10px;background:#fff;display:grid;place-items:center;overflow:hidden}
.theme-card-preview img{width:100%;height:110px;object-fit:cover;display:block}
.theme-card-empty{color:#567}
.theme-editor-layout{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:16px}
.theme-file-list{display:grid;gap:8px;max-height:650px;overflow:auto}
.theme-file-list a{display:block;padding:10px 12px;border-radius:10px;border:1px solid #bfd0e5;background:#f8fbff;color:#123;text-decoration:none;font-size:.92rem}
.theme-file-list a.is-active{background:#dcecff;border-color:#6ea0df;font-weight:700}
.theme-editor-textarea{min-height:560px;font-family:Consolas,Monaco,monospace;line-height:1.45;width:100%}
@media (max-width: 900px){.admin-shell-sidebar,.theme-editor-layout{grid-template-columns:1fr}.admin-sidebar{position:static}}

.who-online{margin:0 0 1rem}.who-online .xp-window-body,.who-online .panel-body{padding:.8rem 1rem}.who-online-summary{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;justify-content:space-between}.who-online-users{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.55rem}.who-online-user,.who-online-more{display:inline-flex;align-items:center;padding:.2rem .5rem;border-radius:999px;background:rgba(255,255,255,.08)}


.post-group-image{display:flex;justify-content:center;align-items:center;min-height:32px}.post-group-image img{display:block;max-width:110px;max-height:32px;width:auto;height:auto;object-fit:contain}.vb-postbit strong a{text-decoration:none}.admin-structured-form{gap:1rem}.admin-structured-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.admin-structured-block{border:1px solid var(--line);border-radius:14px;padding:1rem;background:rgba(255,255,255,.55)}.admin-structured-block h4,.admin-permission-card summary strong,.admin-permission-group-card h5{margin:0 0 .75rem}.admin-permission-card{border:1px solid var(--line);border-radius:14px;padding:.85rem 1rem;background:#fff}.admin-permission-card summary{cursor:pointer}.compact-permissions{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.grouped-permission-stack{gap:.75rem}.admin-permission-group-card{border:1px solid var(--line);border-radius:12px;padding:.85rem;background:#fbfdff}.admin-structure-table{display:flex;flex-direction:column;gap:.75rem}.admin-structure-head,.admin-structure-row>summary{display:grid;grid-template-columns:minmax(0,2.3fr) 140px 120px 150px;gap:1rem;align-items:center}.admin-structure-head{padding:.75rem 1rem;border:1px solid var(--line);border-radius:12px;background:#f8fbff;font-weight:700;color:var(--muted)}.admin-structure-row{border:1px solid var(--line);border-radius:14px;background:#fff}.admin-structure-row>summary{cursor:pointer;padding:1rem;list-style:none}.admin-structure-row>summary::-webkit-details-marker{display:none}.admin-structure-row>summary span small{display:block;margin-top:.2rem}.user-management-list{display:flex;flex-direction:column;gap:.9rem}@media (max-width: 860px){.admin-structured-grid,.admin-structure-head,.admin-structure-row>summary{grid-template-columns:1fr}.admin-structure-head{display:none}}

.profile-redesign{padding:1.5rem}.profile-hero{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:1.25rem;align-items:start}.profile-identity-stack{display:flex;gap:1.25rem;align-items:flex-start}.profile-avatar-large{width:132px;height:132px;border-radius:28px}.profile-avatar-placeholder{display:flex;align-items:center;justify-content:center;background:var(--accent);color:#fff;font-size:2rem;font-weight:800}.profile-hero-copy h1{margin:.1rem 0}.profile-handle,.profile-custom-title,.profile-meta-line{color:var(--muted);margin:.2rem 0}.profile-badge-strip{margin:.65rem 0}.profile-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.profile-content-grid{gap:1rem}.profile-card{margin-bottom:0}.profile-bio{min-height:80px}.profile-field-block{margin-top:1rem}.profile-social-grid{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1rem}.profile-topic-row{display:flex;justify-content:space-between;gap:1rem;padding:.8rem 0;border-bottom:1px solid var(--line)}.profile-edit-shell .panel.profile-card{background:#fff}.profile-edit-form .profile-card h2{margin-top:0}@media (max-width:900px){.profile-hero{grid-template-columns:1fr}.profile-identity-stack{flex-direction:column}.profile-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


.admin-structure-shell{gap:1rem}
.admin-heading-tight{margin-bottom:.85rem}
.admin-structure-toolbar{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1rem 1.1rem;background:#f8fbff;border:1px solid var(--line);border-radius:14px}
.admin-structure-toolbar h3{margin:0 0 .2rem}
.admin-bulk-actions{justify-content:flex-end}
.admin-structure-category{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}
.admin-structure-category-summary{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1rem 1.1rem;cursor:pointer;list-style:none;background:#fbfdff}
.admin-structure-category-summary::-webkit-details-marker{display:none}
.admin-structure-category-main{display:flex;align-items:flex-start;gap:.9rem;min-width:0;flex:1}
.admin-select-cell{display:inline-flex;align-items:center;justify-content:center;min-width:24px;align-self:center}
.admin-select-cell input{width:16px;height:16px}
.admin-structure-category-main strong,.admin-structure-row-forums summary strong{display:block}
.admin-structure-category-main .meta,.admin-structure-row-forums summary .meta{display:block;margin-top:.25rem}
.admin-structure-pill{display:inline-flex;align-items:center;padding:.42rem .75rem;border-radius:999px;background:#eef5ff;border:1px solid #d4e2f6;color:#28466f;font-size:.85rem;font-weight:700}
.admin-category-edit-form{padding:1rem;border:1px solid var(--line);border-radius:14px;background:#fdfefe}
.admin-structure-table-forums{gap:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
.admin-structure-head-forums,.admin-structure-row-forums>summary{display:grid;grid-template-columns:44px minmax(220px,2.2fr) 120px 110px 150px 110px 110px;gap:1rem;align-items:center}
.admin-structure-head-forums{padding:.85rem 1rem;background:#f8fbff;border-bottom:1px solid var(--line);font-weight:700;color:var(--muted)}
.admin-structure-row-forums{border-top:1px solid var(--line);border-radius:0;background:#fff}
.admin-structure-row-forums:first-of-type{border-top:0}
.admin-structure-row-forums>summary{cursor:pointer;padding:1rem;list-style:none}
.admin-structure-row-forums>summary::-webkit-details-marker{display:none}
.admin-structure-row-forums .card-body{padding:0 1rem 1rem;background:#fcfdff;border-top:1px solid rgba(0,0,0,.04)}
.admin-structure-actions{padding-top:.35rem}
.button-small{padding:.4rem .7rem;font-size:.85rem;min-height:auto}
@media (max-width: 1080px){.admin-structure-head-forums,.admin-structure-row-forums>summary{grid-template-columns:44px minmax(180px,2fr) 100px 100px 120px 100px 90px}}
@media (max-width: 860px){.admin-structure-toolbar,.admin-structure-category-summary{display:block}.admin-structure-category-stats{margin-top:.75rem}.admin-structure-head-forums{display:none}.admin-structure-row-forums>summary{grid-template-columns:1fr;gap:.45rem}.admin-select-cell{justify-content:flex-start}.admin-structure-row-forums>summary>span:nth-child(n+3){padding-left:2rem}.admin-structure-row-forums>summary>span:last-child{padding-left:0}.admin-structure-row-forums .button-small{display:inline-flex}}

.attachment-table-wrap{margin-top:1rem;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}.attachment-table-header{padding:.8rem 1rem;background:#f8fbff;border-bottom:1px solid var(--line);font-weight:700;color:var(--muted)}.attachment-table{display:flex;flex-direction:column}.attachment-row{display:grid;grid-template-columns:120px minmax(0,1fr) 160px;gap:1rem;align-items:center;padding:1rem;border-top:1px solid var(--line)}.attachment-row:first-child{border-top:0}.attachment-preview-cell{display:flex;justify-content:center;align-items:center}.attachment-preview-link{display:flex;align-items:center;justify-content:center;text-decoration:none}.attachment-preview{display:block;max-width:96px;max-height:96px;border-radius:12px;border:1px solid var(--line);background:#fff;padding:.2rem}.attachment-icon{width:64px;height:64px;border-radius:14px;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;background:#f8fbff;font-size:1.4rem}.attachment-submeta{display:flex;gap:.45rem;flex-wrap:wrap;color:var(--muted);font-size:.92rem;margin-top:.3rem}.attachment-action-cell{display:flex;justify-content:flex-end}.admin-settings-board{max-width:none}.admin-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.forum-settings-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:0;overflow:hidden}.forum-settings-card-wide{grid-column:1 / -1}.forum-settings-card-head{padding:1rem 1.1rem;background:#f8fbff;border-bottom:1px solid var(--line)}.forum-settings-card-head h3{margin:0 0 .25rem}.forum-settings-card-body{padding:1rem 1.1rem;display:grid;gap:.8rem}.forum-settings-table{display:flex;flex-direction:column;gap:0}.forum-settings-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;padding:.85rem 0;border-top:1px solid rgba(0,0,0,.05)}.forum-settings-row:first-child{border-top:0;padding-top:0}.forum-settings-row:last-child{padding-bottom:0}.forum-settings-card-body label{margin:0}.forum-settings-card-body .meta{display:block;margin-top:.3rem}.admin-select-cell{display:flex;justify-content:center}.admin-structure-row-forums .button.small{white-space:nowrap}@media (max-width: 900px){.admin-settings-grid,.forum-settings-row,.attachment-row{grid-template-columns:1fr}.attachment-action-cell{justify-content:flex-start}}
.quick-reply-panel .quick-reply-body{padding:12px;}
.quick-reply-form .emoticon-picker{margin:8px 0 12px;}
.post-mention{font-weight:600;text-decoration:none;}
.post-mention:hover{text-decoration:underline;}

.mention-suggest{position:relative;margin-top:6px;border:1px solid rgba(0,0,0,.15);background:#fff;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.12);max-width:420px;z-index:20}.mention-suggest-item{display:block;width:100%;text-align:left;padding:8px 10px;border:0;background:transparent;cursor:pointer}.mention-suggest-item.is-active,.mention-suggest-item:hover{background:rgba(13,110,253,.08)}.mention-suggest-display{opacity:.7;font-size:.92em}


.theme-selector-panel .panel-body{display:flex;justify-content:flex-end}
.theme-selector-form{width:min(100%,520px)}
.theme-selector-form .meta{display:block;margin-bottom:8px}
.theme-selector-row{display:flex;gap:10px;align-items:center}
.theme-selector-row select{flex:1;min-width:0}
@media (max-width:640px){.theme-selector-row{flex-direction:column;align-items:stretch}}

/* 0.7.27-rc.1 member/profile visual consistency pass */
.profile-redesign{display:grid;gap:1rem}.profile-redesign .profile-hero{position:relative;overflow:hidden}.profile-redesign .profile-hero::after{content:"";position:absolute;inset:auto -80px -120px auto;width:240px;height:240px;border-radius:999px;background:radial-gradient(circle,rgba(109,94,252,.12),transparent 68%);pointer-events:none}.profile-redesign .profile-avatar-wrap{position:relative}.profile-redesign .profile-avatar-large{object-fit:cover;box-shadow:0 18px 38px rgba(15,23,42,.14);border:3px solid rgba(255,255,255,.78)}.profile-redesign .profile-hero-copy{display:grid;gap:.55rem}.profile-redesign .profile-custom-title{font-weight:600}.profile-redesign .profile-identity-chips,.member-chip-row{display:flex;flex-wrap:wrap;gap:.45rem}.identity-chip{display:inline-flex;align-items:center;padding:.38rem .7rem;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.78);font-size:.82rem;font-weight:700;line-height:1}.identity-chip-group{box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}.profile-redesign .profile-badge-strip{display:flex;align-items:center;gap:.6rem;min-height:42px}.profile-redesign .profile-actions{margin-top:.15rem}.profile-redesign .profile-stat-grid{align-self:stretch}.profile-redesign .profile-stat-grid .stat{display:flex;flex-direction:column;gap:.2rem;justify-content:center;min-height:82px;border-radius:18px;border:1px solid var(--line);background:rgba(255,255,255,.82);padding:.95rem 1rem;box-shadow:0 12px 26px rgba(15,23,42,.06)}.profile-redesign .profile-stat-grid .stat strong{font-size:1.2rem;line-height:1.1}.profile-redesign .profile-stat-grid .stat span{color:var(--muted);font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.profile-redesign .profile-stat-grid .stat-accent strong{color:#5b4ef0}.profile-redesign .profile-card h2{margin:0}.profile-redesign .profile-field-block strong{display:block;margin-bottom:.35rem}.profile-redesign .profile-bio,.profile-redesign .signature,.profile-redesign .admin-info-table{margin-top:.8rem}.profile-redesign .profile-topic-row{align-items:center}.profile-section-links{margin-top:.2rem}.members-results-table{border-radius:20px}.member-table-row{transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease}.member-table-row:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(15,23,42,.08)}.member-row-avatar .profile-avatar,.member-row-avatar .profile-avatar-placeholder{border-radius:18px;object-fit:cover;border:2px solid rgba(255,255,255,.8);box-shadow:0 10px 24px rgba(15,23,42,.12)}.member-identity-copy{display:grid;gap:.4rem}.member-meta-line{line-height:1.45}.member-stat-pill{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:.15rem;min-width:88px;padding:.7rem .8rem;border-radius:16px;border:1px solid var(--line);background:rgba(255,255,255,.82);box-shadow:0 10px 22px rgba(15,23,42,.06)}.member-stat-pill strong{font-size:1.05rem;line-height:1}.member-stat-pill small{font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.member-stat-pill-accent strong{color:#5b4ef0}.member-group-text{margin-bottom:.35rem}.member-cell-group .profile-group-image{filter:drop-shadow(0 6px 12px rgba(15,23,42,.12))}@media (max-width:900px){.member-stat-pill{align-items:flex-start}.profile-redesign .profile-stat-grid .stat{min-height:74px}}


/* 0.7.27-rc.1 front-end consistency sweep */
.reaction-strip{align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(180deg,#fbfdff,#f4f8fc)}
.reaction-strip .button.small.alt{border-radius:999px;white-space:nowrap}
.post-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid rgba(0,0,0,.06)}
.post-tools .inline-form{margin:0}
.community-widgets{display:grid;gap:16px;margin-top:18px}
.community-widgets .panel{overflow:hidden}
.community-widgets .split h2{margin-bottom:0}
.community-widgets .community-highlight-list{display:grid;gap:10px;margin-top:12px}
.community-widgets .community-highlight-item{padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#fff}
.community-widgets .community-highlight-item .meta{display:block;margin-top:4px}

/* 0.7.27-rc.4 inline editing */
.inline-edit-form{margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.04)}
.inline-edit-form input,.inline-edit-form textarea{width:100%}
.inline-edit-form textarea{min-height:160px}
.inline-edit-form .actions-inline{display:flex;gap:8px;align-items:center;flex-wrap:wrap}

[hidden]{display:none !important;}

/* 0.7.28-beta.2 user management moderation controls */
.admin-moderation-form textarea{width:100%;min-height:110px;resize:vertical}
.admin-moderation-form input[type="number"],.admin-moderation-form textarea{margin-top:6px}

/* 0.7.28-beta.3 moderation center layout cleanup */
.moderation-grid{align-items:start;grid-auto-rows:auto}
.moderation-panel{min-width:0;overflow:hidden}
.moderation-panel-featured{grid-column:1 / -1}
.moderation-grid-secondary{grid-column:1 / -1;display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1rem;align-items:start}
.moderation-grid-secondary .moderation-panel{margin-bottom:0}
.topic-row-moderation{display:block}
.topic-row-moderation > * + *{margin-top:.85rem}
.topic-row-moderation .split{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap}
.topic-row-moderation .split > :first-child{min-width:0;flex:1}
.moderation-actions .grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width: 780px){.moderation-grid,.moderation-grid-secondary,.moderation-actions .grid.two{grid-template-columns:1fr}}

/* 0.7.28-beta.4 moderation workflow filters */
.moderation-filter-bar .grid.four{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;}
.status-badge.success{background:#dff3e4;color:#1f6b36;border-color:#b6d7c0;}
.status-badge.warning{background:#fff2cc;color:#7b5b00;border-color:#ebd18b;}

.moderation-profile-panel .admin-subpanel{border-radius:16px}
.moderation-status-strip .badge{display:inline-flex;align-items:center;gap:.35rem}
.moderation-log-summary{margin-bottom:1rem}
.moderation-topic-actions--secondary{margin-top:.65rem;padding-top:.65rem;border-top:1px dashed var(--line);display:flex;gap:.5rem;flex-wrap:wrap}
.moderation-topic-panel__body .inline-form{margin:0}

.notification-menu{position:relative;display:inline-block}.notification-menu-summary{display:flex;align-items:center;gap:8px;cursor:pointer}.notification-menu-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.18);z-index:118}.notification-menu-panel{position:fixed;right:16px;top:74px;width:min(360px,calc(100vw - 24px));max-height:min(70vh,560px);overflow:auto;padding:12px;border-radius:16px;border:1px solid rgba(45,77,145,.25);background:#0c1631;box-shadow:0 16px 30px rgba(0,0,0,.25);z-index:119}.notification-menu-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}.notification-preview-item{display:grid;gap:4px;padding:10px 12px;margin-bottom:8px;border-radius:12px;background:#122347;color:#eef5ff;text-decoration:none}.notification-preview-item.is-read{opacity:.8}.notification-preview-type{font-size:11px;text-transform:uppercase;color:#9ec9ff}.notification-preview-message{font-size:13px}.notification-preview-time{font-size:11px;color:#8fa9d6}.notification-preview-empty{padding:12px;border-radius:12px;background:#122347;color:#c6d4ef}

.markup-button--icon{padding:.42rem .55rem;min-width:2.25rem;display:inline-flex;align-items:center;justify-content:center;line-height:1}.markup-button-icon{display:inline-flex;align-items:center;justify-content:center;width:1rem;height:1rem}.markup-button-icon svg{width:1rem;height:1rem;display:block}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.post-inline-image{max-width:min(100%,480px);height:auto;border-radius:12px}.post-list{margin:.5rem 0 .5rem 1.25rem;padding-left:1rem}.notification-menu-link{text-decoration:none;color:inherit;display:inline-flex;align-items:center;gap:8px;flex:1 1 auto;min-height:48px}.notification-menu-caret{display:inline-flex;align-items:center;justify-content:center;min-width:1.2rem;opacity:.85}


.mention-suggest-inline{position:relative;margin-top:6px}.compose-recipient-field{position:relative}
.profile-quick-tags{margin:10px 0 0}.profile-actions .button{box-shadow:0 10px 24px rgba(0,0,0,.15)}
.profile-redesign .profile-hero{position:relative;overflow:hidden}.profile-redesign .profile-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(109,94,252,.14),rgba(59,130,246,.08));pointer-events:none}
.profile-redesign .profile-identity-stack,.profile-redesign .profile-stat-grid,.profile-redesign .actions-inline{position:relative;z-index:1}
.profile-card{backdrop-filter:blur(4px)}


.profile-social-shell{display:grid;gap:1rem}.profile-social-shell .profile-hero{display:block;grid-template-columns:1fr;padding:0;border-radius:28px;overflow:hidden}.profile-social-shell .profile-hero-main{position:relative;display:grid;grid-template-columns:minmax(0,1.75fr) minmax(250px,.9fr);gap:1rem;padding:1.25rem}.profile-cover-band{display:block;width:100%;min-height:96px;background:linear-gradient(135deg,var(--profile-accent,#6d5efc),rgba(59,130,246,.75));opacity:.92}.profile-identity-stack-social{margin-top:-54px;position:relative;z-index:2}.profile-avatar-wrap-social{padding:.35rem;border-radius:30px;background:rgba(255,255,255,.88);backdrop-filter:blur(10px)}.profile-headline-row{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.profile-quick-tags-social{margin-top:.2rem}.profile-hero-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-top:.85rem}.profile-summary-card{padding:.9rem 1rem;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.82);box-shadow:0 10px 24px rgba(15,23,42,.06)}.profile-summary-card span{display:block;color:var(--muted);font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.profile-summary-card strong{display:block;margin-top:.25rem;font-size:1.2rem;line-height:1.1}.profile-hero-side{display:grid;gap:.9rem;align-content:start}.profile-side-card{padding:1rem;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.82);box-shadow:0 12px 24px rgba(15,23,42,.06)}.profile-side-card h3{margin:0 0 .75rem}.profile-badge-strip-side{justify-content:flex-start}.profile-inline-actions{justify-content:flex-end}.profile-redesign .profile-section-links{display:flex;flex-wrap:wrap;gap:.5rem}.profile-redesign .profile-card .split{align-items:center;margin-bottom:.6rem}.profile-redesign .profile-card .split h2,.profile-redesign .profile-card .split h3{margin:0}.profile-redesign .profile-topic-row a{font-weight:700}.profile-redesign .profile-bio{line-height:1.65}.profile-redesign .profile-social-grid .badge,.profile-redesign .profile-section-links .button{border-radius:999px}@media (max-width:980px){.profile-social-shell .profile-hero-main{grid-template-columns:1fr}.profile-headline-row{flex-direction:column}.profile-inline-actions{justify-content:flex-start}.profile-hero-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.profile-identity-stack-social{margin-top:-42px}.profile-avatar-large{width:112px;height:112px}.profile-hero-summary{grid-template-columns:1fr}.profile-social-shell .profile-hero-main{padding:1rem}}
body.theme-classicblue .profile-social-shell .profile-cover-band{background:linear-gradient(135deg,#6e90bf,#8ab2eb)}body.theme-classicblue .profile-social-shell .profile-avatar-wrap-social{background:#f8fbff;border:1px solid #c7d4e6}body.theme-classicblue .profile-social-shell .profile-summary-card,body.theme-classicblue .profile-social-shell .profile-side-card{background:#fff;border-color:#c7d4e6}body.theme-classicblue-dark .profile-social-shell .profile-cover-band{background:linear-gradient(135deg,#233a59,#2f5d92)}body.theme-classicblue-dark .profile-social-shell .profile-avatar-wrap-social{background:#162131;border:1px solid #314765}body.theme-classicblue-dark .profile-social-shell .profile-summary-card,body.theme-classicblue-dark .profile-social-shell .profile-side-card{background:#1b2a3f;border-color:#314765;box-shadow:none}body.theme-classicblue-dark .profile-social-shell .profile-summary-card span{color:#9fb3ca}body.theme-novasuite-sync .profile-social-shell .profile-cover-band{background:linear-gradient(135deg,#6d5efc,#17c3ff)}body.theme-novasuite-sync .profile-social-shell .profile-avatar-wrap-social{background:rgba(10,17,31,.88);border:1px solid rgba(120,147,190,.28)}body.theme-novasuite-sync .profile-social-shell .profile-summary-card,body.theme-novasuite-sync .profile-social-shell .profile-side-card{background:rgba(10,17,31,.82);border-color:rgba(120,147,190,.24);box-shadow:0 16px 32px rgba(0,0,0,.24)}body.theme-novasuite-sync .profile-social-shell .profile-summary-card span{color:#9fb7e8}


.nav-logout-form,.menu-logout-form{margin:0}
.menu-logout-button{display:block;width:100%;font:inherit;background:none;border:0;padding:0;text-align:left;color:inherit;cursor:pointer}
.board-subforums{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-top:.6rem}.board-subforums-label{font-size:.85rem;color:var(--muted);font-weight:700}.board-subforum-chip{display:inline-flex;align-items:center;gap:.5rem;padding:.45rem .7rem;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.05);text-decoration:none;color:inherit}.board-subforum-chip span{font-size:.82rem;color:var(--muted)}
.structure-manager-page{gap:1rem}.admin-structured-grid-wide{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.admin-subforum-item{margin-top:1rem;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.04);overflow:hidden}.admin-subforum-item summary{display:flex;justify-content:space-between;gap:1rem;align-items:center;cursor:pointer;padding:1rem;list-style:none}.admin-subforum-item summary::-webkit-details-marker{display:none}.admin-subforum-item .card-body{padding:1rem;border-top:1px solid rgba(255,255,255,.08)}.subforum-summary-list{margin-top:1rem}.admin-structure-modal-backdrop{position:fixed;inset:0;background:rgba(4,10,20,.72);backdrop-filter:blur(4px);z-index:80}.admin-structure-modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:3vh 3vw;z-index:81}.admin-structure-modal[hidden],.admin-structure-modal-backdrop[hidden]{display:none!important}.admin-structure-modal-dialog{width:min(1100px,100%);max-height:94vh;overflow:auto;border-radius:24px;border:1px solid var(--line);background:var(--panel);box-shadow:0 24px 60px rgba(0,0,0,.35)}.admin-structure-modal.is-maximized{padding:1vh 1vw}.admin-structure-modal.is-maximized .admin-structure-modal-dialog{width:100%;max-width:none;height:98vh;max-height:98vh}.admin-structure-modal-head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;padding:1.15rem 1.25rem;border-bottom:1px solid var(--line);position:sticky;top:0;background:inherit;z-index:1}.admin-structure-modal-head h3{margin:0 0 .3rem}.admin-structure-modal-body{padding:1.25rem}.has-admin-modal{overflow:hidden}
@media (max-width:860px){.admin-structured-grid-wide{grid-template-columns:1fr}.admin-structure-modal{padding:1rem}.admin-structure-modal-head{display:block}.board-subforums{display:block}.board-subforum-chip{margin:.3rem .35rem .3rem 0}}
