@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg:#0c1224; --panel:#182039; --panel-raised:#222d45; --panel-hover:#29354f;
  --text:#eff1fa; --muted:#b5c0d7; --line:#8995b43f; --accent:#b6a3ff; --accent-rgb:166 143 254;
  --gold:#f0d39a; --gold-line:#d4ac666d; --danger:#ff9caa; --ink:#10101a; --shadow:0 14px 45px #0607134d;
  --display:"Songti SC", "Noto Serif CJK SC", SimSun, Georgia, serif;
  font-family: Inter, "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  font-size:16px; line-height:1.55; background:var(--bg); color:var(--text);
}
[data-theme=geo] { --accent:#ecc373; --accent-rgb:236 195 115; }
[data-theme=anemo] { --accent:#7ce0cf; --accent-rgb:124 224 207; }
[data-theme=electro] { --accent:#b6a3ff; --accent-rgb:166 143 254; }
[data-theme=hydro] { --accent:#86befc; --accent-rgb:134 190 252; }
[data-theme=pyro] { --accent:#ff9d8f; --accent-rgb:255 157 143; }
[data-theme=dendro] { --accent:#b1db83; --accent-rgb:177 219 131; }
[data-theme=cryo] { --accent:#a4e5f5; --accent-rgb:164 229 245; }
[data-appearance=light] { color-scheme:light; --bg:#edf0f7; --panel:#fafbff; --panel-raised:#edf0fa;
  --panel-hover:#e6e9f6; --text:#20243b; --muted:#515a76; --line:#d3d9e7; --gold:#865717;
  --gold-line:#a5753b57; --danger:#972839; --shadow:0 12px 35px #3d487d12; }
[data-appearance=light][data-theme=geo] { --accent:#916116; --accent-rgb:145 97 22; }
[data-appearance=light][data-theme=anemo] { --accent:#14776d; --accent-rgb:20 119 109; }
[data-appearance=light][data-theme=electro] { --accent:#6445bb; --accent-rgb:100 69 187; }
[data-appearance=light][data-theme=hydro] { --accent:#225c9e; --accent-rgb:34 92 158; }
[data-appearance=light][data-theme=pyro] { --accent:#a94130; --accent-rgb:169 65 48; }
[data-appearance=light][data-theme=dendro] { --accent:#467615; --accent-rgb:70 118 21; }
[data-appearance=light][data-theme=cryo] { --accent:#176c84; --accent-rgb:23 108 132; }
[data-element=geo] { --element:#f2c26e; } [data-element=anemo] { --element:#71d2be; }
[data-element=electro] { --element:#b8a4ff; } [data-element=hydro] { --element:#7bb8ff; }
[data-element=pyro] { --element:#f99584; } [data-element=dendro] { --element:#a5d078; }
[data-element=cryo] { --element:#92dbed; }
*,*::before,*::after { box-sizing:border-box; }
body { min-height:100vh; margin:0; background:radial-gradient(ellipse at 22% 0%,rgb(var(--accent-rgb)/.08),transparent 40%),var(--bg); }
a { color:inherit; text-decoration:none; }
button,input,textarea,select { font:inherit; }
button:not(:disabled) { cursor:pointer; }
button:disabled { opacity:.5; }
textarea { resize:vertical; }
input,select,textarea { min-width:0; width:100%; border:1px solid var(--line); border-radius:9px; color:var(--text); background:var(--bg); padding:.66rem .82rem; }
input[type="checkbox"] { width:auto; accent-color:var(--accent); }
input[type="file"] { font-size:.875rem; }
input::placeholder,textarea::placeholder { color:var(--muted); opacity:.85; }
select { appearance:none; padding-right:2rem; background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%); background-position:calc(100% - 15px) 52%,calc(100% - 10px) 52%; background-size:5px 5px; background-repeat:no-repeat; }
:is(button,a,input,select,textarea):focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
h1,h2,h3,p { margin:0; }
h1 { line-height:1.18; letter-spacing:.025em; }
h2 { font-size:1rem; line-height:1.4; }
.muted { color:var(--muted); font-size:.875rem; }
.spacer { flex:1; }
[hidden] { display:none!important; }
.skip { position:fixed; top:.7rem; left:.7rem; transform:translateY(-160%); z-index:20; background:var(--panel); padding:.6rem; }
.skip:focus { transform:none; }
.button { display:inline-flex; justify-content:center; align-items:center; gap:.5rem; min-height:42px; padding:.56rem .9rem; border-radius:9px; border:1px solid transparent; font-size:.875rem; font-weight:650; text-align:center; }
.primary { background:var(--accent); color:#141121; }
[data-appearance=light] .primary { color:white; }
.primary:hover { filter:brightness(1.12); }
.secondary { border-color:var(--line); background:var(--panel-raised); color:var(--text); }
.secondary:hover,.ghost:hover { background:var(--panel-hover); }
.ghost { background:transparent; color:var(--muted); }
.danger { color:var(--danger); border-color:currentColor; background:transparent; }
.boot { min-height:75vh; display:grid; place-content:center; justify-items:center; gap:1rem; color:var(--muted); }
.compass { display:inline-grid; place-items:center; width:52px; height:52px; color:var(--accent); font-size:1.8rem; border:1px solid var(--line); transform:rotate(45deg); animation:compass 3s linear infinite; }
@keyframes compass { to { transform:rotate(405deg); } }
.brand,.brand-content { display:inline-flex; align-items:center; gap:.65rem; font-family:var(--display); font-size:1.24rem; font-weight:800; letter-spacing:.08em; white-space:nowrap; color:var(--gold); }
.brand-mark { position:relative; display:grid; place-items:center; width:34px; height:34px; flex:none; color:var(--gold); font-family:Georgia,serif; font-size:1.45rem; text-shadow:0 0 12px #e6bb5d9c; }
.brand-mark::before,.brand-mark::after { content:""; position:absolute; inset:5px; rotate:45deg; border:1px solid currentColor; border-radius:4px 1px; }
.brand-mark::after { inset:1px; rotate:-45deg; border-color:transparent; border-top-color:currentColor; border-bottom-color:currentColor; border-radius:50%; }
.forum { min-height:100vh; background:
  radial-gradient(ellipse at 69% 4%,rgb(var(--accent-rgb)/.14),transparent 47%),
  radial-gradient(ellipse at 15% 56%,#30667b42,transparent 52%),
  radial-gradient(circle at 17px 24px,#c6d8fc38 0 .65px,transparent 1.4px) 0 0/63px 101px,
  radial-gradient(circle at 44px 29px,#e6c99341 0 .8px,transparent 1.5px) 0 0/137px 173px,
  var(--bg); }
.site-header { position:sticky; top:0; z-index:4; background:color-mix(in srgb,var(--panel) 85%,transparent); backdrop-filter:blur(18px); border-bottom:1px solid var(--gold-line); }
.site-inner { display:flex; align-items:center; gap:.7rem; min-height:70px; max-width:1168px; padding-inline:1.25rem; margin:auto; }
.top-nav { display:flex; gap:.2rem; margin-left:1.35rem; align-self:stretch; }
.top-nav a { position:relative; display:flex; align-items:center; padding-inline:1.05rem; font-size:.92rem; font-weight:650; color:var(--muted); white-space:nowrap; }
.top-nav a:hover { color:var(--text); background:rgb(var(--accent-rgb)/.08); }
.top-nav .selected { color:var(--gold); background:linear-gradient(0deg,rgb(var(--accent-rgb)/.16),transparent 90%); box-shadow:inset 0 -2px var(--gold); }
.top-nav .selected::after { content:""; width:6px; height:6px; rotate:45deg; position:absolute; bottom:-3px; left:calc(50% - 3px); background:var(--gold); box-shadow:0 0 12px var(--gold); }
.header-account { display:flex; align-items:center; gap:.55rem; }
.header-level { display:grid; justify-items:start; gap:.24rem; }
.columns { display:grid; grid-template-columns:minmax(205px,238px) minmax(0,1fr); gap:1.25rem; max-width:1168px; padding:1.55rem 1.25rem 3rem; margin:auto; align-items:start; }
.left-rail,.feed,.page-stack { display:grid; gap:1rem; min-width:0; }
.card { position:relative; border:1px solid var(--line); background:linear-gradient(135deg,rgb(var(--accent-rgb)/.05),transparent 60%),color-mix(in srgb,var(--panel) 86%,transparent); backdrop-filter:blur(15px); border-radius:12px; box-shadow:var(--shadow); }
.user-card,.notices,.themes { padding:1rem 1.1rem; }
.user-card { display:grid; gap:.9rem; text-align:center; }
.frame-corners { position:absolute; inset:0; pointer-events:none; z-index:1; }
.frame-corners i { position:absolute; width:25px; height:25px; top:4px; left:4px; }
.frame-corners i::before,.frame-corners i::after { content:""; position:absolute; inset:0; border:0 solid var(--gold); border-top-width:1px; border-left-width:1px; border-top-left-radius:13px 8px; opacity:.76; }
.frame-corners i::after { inset:4px; border-top-left-radius:9px 5px; opacity:.42; }
.frame-corners i:nth-child(2) { left:auto; right:4px; transform:scaleX(-1); }
.frame-corners i:nth-child(3) { top:auto; bottom:4px; transform:scaleY(-1); }
.frame-corners i:nth-child(4) { top:auto; left:auto; right:4px; bottom:4px; transform:scale(-1); }
.user-line,.author,.progress-label,.section-head { display:flex; align-items:center; gap:.55rem; min-width:0; }
.section-head { justify-content:space-between; }
.section-head a { font-size:.875rem; color:var(--gold); white-space:nowrap; }
.section-head a:hover { text-decoration:underline; }
.user-line { flex-direction:column; gap:.65rem; padding-top:.42rem; }
.user-identity { display:flex; gap:.45rem; justify-content:center; align-items:center; flex-wrap:wrap; }
.profile-link { min-height:37px; justify-self:stretch; }
.avatar { display:inline-grid; place-items:center; border-radius:50%; width:31px; height:31px; border:1px solid color-mix(in srgb,var(--element,var(--accent)) 54%,var(--line)); background:radial-gradient(circle at 40% 25%,rgb(var(--accent-rgb)/.23),transparent 70%),var(--panel-raised); color:var(--element,var(--accent)); flex:none; object-fit:cover; }
.avatar.large { width:79px; height:79px; font-size:2.25rem; box-shadow:0 0 24px rgb(var(--accent-rgb)/.24); }
.avatar-medallion { position:relative; display:inline-flex; padding:5px; border:1px solid var(--gold-line); border-radius:50%; }
.avatar-medallion::before,.avatar-medallion::after { content:""; position:absolute; width:6px; height:6px; background:var(--gold); rotate:45deg; left:calc(50% - 3px); top:-3px; }
.avatar-medallion::after { top:auto; bottom:-3px; }
.author { font-size:.875rem; }
.author-details { min-width:0; display:grid; gap:.1rem; }
.author-line,.author-subline { display:flex; flex-wrap:wrap; gap:.28rem .45rem; align-items:center; }
.author time { color:var(--muted); font-size:.78rem; }
.author-name,.owner-name { font-weight:750; overflow-wrap:anywhere; }
.owner-name { color:var(--gold); text-shadow:0 0 14px #dbb26f50; }
.owner-badge { display:inline-flex; align-items:center; gap:.24rem; white-space:nowrap; font-size:.75rem; border:1px solid var(--gold-line); padding:.06rem .43rem; border-radius:4px; color:var(--gold); background:linear-gradient(125deg,#c7913825,#f8ce7510); font-weight:750; }
.owner-card { border-color:color-mix(in srgb,var(--gold) 46%,var(--line)); }
.level { display:inline-flex; align-items:center; gap:.25rem; white-space:nowrap; border-radius:4px; background:color-mix(in srgb,var(--element,var(--accent)) 14%,var(--panel-raised)); color:var(--element,var(--accent)); padding:.06rem .37rem; font-size:.75rem; font-weight:740; }
.level-mark { line-height:1; }
[data-appearance=light] :is(.avatar,.level,.swatch-mark) { color:color-mix(in srgb,var(--element,var(--accent)) 48%,#1d2340); }
.progress-block { display:grid; gap:.44rem; }
.progress-label { justify-content:space-between; color:var(--muted); font-size:.82rem; }
progress { appearance:none; width:100%; height:6px; border:0; border-radius:10px; overflow:hidden; color:var(--element,var(--accent)); background:var(--line); }
progress::-webkit-progress-bar { background:var(--line); }
progress::-webkit-progress-value { background:currentColor; border-radius:10px; }
progress::-moz-progress-bar { background:currentColor; border-radius:10px; }
.mini-progress { width:61px; height:4px; }
.author-subline .mini-progress { margin-left:.18rem; }
.hero { --gold:#efd09a; min-height:175px; border-radius:12px; padding:1.35rem 1.7rem; position:relative; overflow:hidden; isolation:isolate; color:#faf6ff;
  background:linear-gradient(90deg,#0c172be9,#111b3085 45%,#15233f1a 81%,#10183255),url("/forum-banner.webp") center 42%/cover no-repeat,#162540;
  border:1px solid #d9b979a8; box-shadow:0 12px 35px #04081780,inset 0 0 0 4px #120f225d; display:flex; align-items:center; justify-content:space-between; gap:.9rem; }
.hero h1 { font-family:var(--display); font-weight:850; font-size:clamp(1.9rem,4vw,2.8rem); color:#fff0ce; text-shadow:0 2px 15px #0d102c; }
.hero p { margin-top:.5rem; color:#dce4f6; }
.hero-copy { z-index:1; }
.hero-button { z-index:1; align-self:flex-end; flex:none; background:linear-gradient(140deg,#f0d599,#c59652); color:#241c17; border-color:#fff0c49e; box-shadow:0 3px 18px #08041277; }
.hero-button:hover { filter:brightness(1.12); }
.feed-controls { display:flex; align-items:center; gap:.65rem; padding-top:.12rem; }
.feed-controls h2 { font-size:1.04rem; flex:none; color:var(--gold); margin-right:auto; }
.feed-controls select { width:128px; flex-shrink:0; font-size:.875rem; }
.search { display:flex; min-width:0; max-width:325px; gap:.38rem; flex:1; }
.search .button { flex-shrink:0; }
.post-card { padding:1rem 1.18rem .88rem; display:grid; gap:.44rem; }
.post-card h3,.notice-item h3 { font-size:1.13rem; line-height:1.45; }
.post-title,.notice-link { font-weight:780; overflow-wrap:anywhere; }
.post-title:hover,.notice-link:hover,.back-link:hover,.rich a:hover { color:var(--accent); }
.summary { color:var(--muted); overflow-wrap:anywhere; font-size:.94rem; }
.post-marks { display:flex; flex-wrap:wrap; gap:.32rem; align-items:center; font-size:.8rem; }
.category,.tag,.pin-label { display:inline-flex; border-radius:5px; padding:.1rem .38rem; background:var(--panel-raised); font-weight:650; }
.category { color:var(--accent); background:rgb(var(--accent-rgb)/.13); }
.category.updates { color:var(--gold); background:#c49d4a21; }
.announcements,.pin-label { color:var(--gold); }
.tag { color:var(--muted); }
.tag:hover { color:var(--accent); }
.post-footer,.notice-footer,.post-actions { display:flex; flex-wrap:wrap; gap:.7rem 1.2rem; color:var(--muted); font-size:.875rem; align-items:center; }
.post-footer,.post-actions { border-top:1px solid var(--line); padding-top:.65rem; margin-top:.17rem; }
.post-footer,.notice-footer { justify-content:space-between; }
.post-stats { display:flex; align-items:center; flex-wrap:wrap; gap:.55rem 1rem; white-space:nowrap; }
.post-stat { display:inline-flex; align-items:center; gap:.32rem; font-variant-numeric:tabular-nums; }
.stat-icon { display:inline-grid; place-items:center; position:relative; flex:none; width:14px; height:12px; color:var(--accent); font-style:normal; font-size:.88rem; }
.stat-icon.read { height:9px; border:1px solid currentColor; border-radius:80% 65%; }
.stat-icon.read::after { content:""; width:3px; height:3px; border-radius:50%; background:currentColor; }
.stat-icon.reply { height:9px; width:12px; border:1px solid currentColor; border-radius:3px; }
.stat-icon.reply::after { content:""; position:absolute; left:2px; bottom:-3px; width:4px; height:4px; border-bottom:1px solid currentColor; rotate:-45deg; }
.post-images { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(28%,130px),1fr)); gap:.45rem; }
.post-images img { max-width:100%; width:100%; height:125px; object-fit:cover; border-radius:7px; background:var(--bg); }
.post-images.full img { height:unset; max-height:480px; object-fit:contain; }
.notices,.themes { display:grid; gap:.67rem; }
.notices { border-color:var(--gold-line); background:linear-gradient(114deg,#c4995415,transparent 66%),color-mix(in srgb,var(--panel) 89%,transparent); padding:1rem 1.18rem; }
.notices h2,.themes h2,.notice-link { color:var(--gold); }
.notice-item { display:grid; gap:.38rem; border-top:1px solid var(--gold-line); padding-top:.65rem; }
.notice-footer { padding-top:.15rem; }
.notice-empty { padding-block:.12rem; }
.pin-dot { display:inline-block; margin-right:.55rem; width:7px; height:7px; rotate:45deg; background:var(--gold); vertical-align:.12em; box-shadow:0 0 10px #f9d07979; }
.swatches { display:grid; gap:.18rem; }
.swatch { min-height:36px; text-align:left; border:1px solid transparent; border-radius:7px; color:var(--element); background:transparent; padding:.15rem .38rem; }
.swatch-inner { display:flex; gap:.55rem; align-items:center; }
.swatch-mark { display:inline-grid; width:25px; height:25px; place-items:center; border:1px solid color-mix(in srgb,var(--element) 54%,transparent); border-radius:8px 3px; font-size:1.1rem; line-height:1; background:color-mix(in srgb,var(--element) 10%,transparent); }
.swatch-name { color:var(--text); font-size:.87rem; }
.swatch[aria-pressed=true],.swatch:hover { border-color:color-mix(in srgb,var(--element) 44%,transparent); background:color-mix(in srgb,var(--element) 10%,transparent); }
.empty { text-align:center; min-height:148px; display:grid; gap:.6rem; place-content:center; justify-items:center; color:var(--muted); padding:1rem; }
.empty-star { color:var(--accent); font-size:1.6rem; }
.pagination { display:flex; justify-content:center; gap:.55rem; }
.detail { max-width:940px; padding:1.5rem 1.35rem 3rem; margin:auto; }
.back-link { color:var(--accent); font-size:.9rem; justify-self:start; }
.article,.replies,.profile-card { padding:clamp(1rem,3vw,1.6rem); display:grid; gap:1rem; }
.article h1,.profile-card h1 { font-size:clamp(1.6rem,4.2vw,2.4rem); overflow-wrap:anywhere; }
.rich { line-height:1.75; overflow-wrap:anywhere; }
.rich :is(p,ul,ol,pre,blockquote,table) { margin:.65rem 0; }
.rich a { color:var(--accent); text-decoration:underline; }
.rich pre { overflow:auto; padding:.7rem; border-radius:8px; border:1px solid var(--line); background:var(--bg); }
.rich blockquote { border-left:3px solid var(--accent); padding-left:.8rem; color:var(--muted); }
.rich table { border-collapse:collapse; } .rich td,.rich th { border:1px solid var(--line); padding:.22rem .5rem; }
.comments { display:grid; gap:.55rem; }
.comment { padding:.72rem; border:1px solid var(--line); border-radius:9px; background:var(--panel-raised); }
.comment[data-depth="1"] { margin-left:1.25rem; } .comment[data-depth="2"] { margin-left:2.5rem; }
.comment[data-depth="3"],.comment[data-depth="4"] { margin-left:3.5rem; }
.reply-to { color:var(--accent); font-size:.78rem; }
.reply-form { display:grid; gap:.5rem; }
.reply-form .button { justify-self:start; }
.profile-top { display:flex; align-items:center; gap:1rem; }
.profile-avatar { width:78px; height:78px; font-size:1.65rem; }
.ledger { display:grid; gap:.35rem; }
.ledger-row { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:.6rem; align-items:center; border-top:1px solid var(--line); padding:.45rem 0; }
.ledger-row div { display:grid; overflow-wrap:anywhere; }
.ledger-row a,.ledger-row time { color:var(--muted); font-size:.82rem; }
.ledger-row strong { color:var(--accent); font-size:.9rem; }
.dialog { max-width:min(95vw,650px); width:100%; max-height:92vh; padding:0; border:1px solid var(--line); background:var(--panel); color:var(--text); border-radius:14px; box-shadow:var(--shadow); }
.dialog::backdrop { background:#080b16bd; }
.dialog-content { display:grid; gap:.75rem; padding:1.1rem; }
.dialog-actions { display:flex; justify-content:flex-end; gap:.5rem; }
.field { display:grid; gap:.25rem; min-width:0; font-size:.875rem; font-weight:620; }
.check { display:flex; align-items:center; gap:.5rem; font-size:.9rem; }
.attachment-list { display:flex; flex-wrap:wrap; gap:.45rem; }
.attachment { display:grid; gap:.15rem; }
.attachment img { width:70px; height:59px; object-fit:cover; border-radius:7px; }
.form-error { min-height:1rem; font-size:.875rem; color:var(--danger); }
.toast { position:fixed; bottom:1.2rem; left:50%; z-index:30; transform:translate(-50%,115px); opacity:0; pointer-events:none; max-width:calc(100% - 2rem); padding:.7rem .95rem; background:var(--panel-raised); border:1px solid var(--line); border-radius:9px; box-shadow:var(--shadow); transition:transform .18s,opacity .18s; }
.toast.visible { opacity:1; transform:translate(-50%,0); }
.portal { --gold:#efd09a; --accent:#eac888; --muted:#c7cbe0; min-height:100vh; min-height:100svh; display:grid; place-items:center;
  padding:clamp(.85rem,4vh,2.5rem) clamp(.55rem,3vw,1.5rem);
  background:linear-gradient(180deg,#080b1d13,#080a1c00 44%,#080c20a8),url("/portal-night.webp") center center/cover no-repeat,#0c1129; }
.portal-panel { position:relative; width:min(100%,420px); padding:clamp(1.1rem,3.8vw,2rem); border:1px solid #d8b576b8; border-radius:13px;
  background:radial-gradient(ellipse at 50% 0%,#b3916230,transparent 45%),linear-gradient(155deg,#22283ded,#15192dee 64%,#181c31f0);
  backdrop-filter:blur(17px); box-shadow:0 26px 72px #070919b8, inset 0 0 0 4px #f3cb7315; display:grid; gap:.85rem; }
.portal-panel .frame-corners i { width:30px; height:30px; top:4px; left:4px; }
.portal-panel .frame-corners i:nth-child(2) { left:auto; right:4px; }
.portal-panel .frame-corners i:nth-child(3) { top:auto; bottom:4px; }
.portal-panel .frame-corners i:nth-child(4) { top:auto; left:auto; right:4px; bottom:4px; }
.portal-brand { display:grid; justify-items:center; text-align:center; gap:.26rem; }
.portal-brand .brand-mark { width:42px; height:42px; font-size:1.85rem; }
.portal-brand h1 { font-family:var(--display); font-weight:850; color:#fff1d3; font-size:clamp(1.95rem,5.5vw,2.55rem); letter-spacing:.15em; text-indent:.15em; }
.portal-brand p { color:var(--muted); font-size:.9rem; }
.auth-tabs { display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid #e4bf752d; text-align:center; }
.auth-tabs a { position:relative; padding:.65rem .25rem .58rem; color:var(--muted); font-weight:700; }
.auth-tabs .selected { color:var(--gold); background:linear-gradient(0deg,#c595482b,transparent 85%); box-shadow:inset 0 -2px var(--gold); }
.auth-tabs .selected::after { content:""; width:6px; height:6px; rotate:45deg; position:absolute; bottom:-3px; left:calc(50% - 3px); background:var(--gold); box-shadow:0 0 13px #f2c96f; }
.auth-form { display:grid; gap:.68rem; min-width:0; }
.auth-form .field { gap:.27rem; color:#ebe0cd; }
.auth-input { display:flex; align-items:center; gap:.62rem; min-height:43px; padding-inline:.85rem; border:1px solid #d6b67872; background:#0a10258c; border-radius:11px; }
.auth-input:focus-within { border-color:#eec786; box-shadow:0 0 0 2px #e3be6a25; }
.auth-input input { appearance:none; border:0; background:transparent; box-shadow:none; padding:.5rem 0; color:#fbf7ed; min-width:0; min-height:36px; outline:none; font-size:1rem; }
.auth-input input:focus-visible { outline:none; }
.auth-input input::placeholder { color:#b4bdd4; }
.auth-input-icon { position:relative; flex:none; width:15px; height:16px; color:var(--gold); opacity:.86; }
.auth-input-icon.user::before,.auth-input-icon.user::after { content:""; position:absolute; border:1px solid currentColor; }
.auth-input-icon.user::before { width:7px; height:7px; border-radius:50%; left:4px; }
.auth-input-icon.user::after { width:14px; height:7px; border-radius:6px 6px 2px 2px; left:.5px; bottom:0; }
.auth-input-icon.lock::before,.auth-input-icon.lock::after { content:""; position:absolute; border:1px solid currentColor; }
.auth-input-icon.lock::before { width:8px; height:8px; border-radius:5px 5px 0 0; left:3.5px; }
.auth-input-icon.lock::after { width:13px; height:10px; border-radius:2px; left:1px; bottom:0; background:#20273a; }
.captcha-frame { display:grid; gap:.42rem; margin-top:.08rem; padding:.63rem .65rem; border:1px solid #c7ae7c3d; border-radius:9px; background:linear-gradient(150deg,#aaaac314,#444c6b20); min-width:0; }
.captcha-head { display:flex; align-items:center; gap:.42rem; color:#f4e8d1; }
.captcha-head h2 { font-size:.89rem; white-space:nowrap; }
.captcha-mark { color:var(--gold); font-size:1.05rem; line-height:1; }
.verification-state { margin-left:auto; color:var(--muted); font-size:.8rem; }
.verification-state.verified { color:#aee7cb; }
.verification { display:grid; max-width:100%; min-height:37px; align-items:center; justify-items:stretch; }
.verification iframe { max-width:100%; }
.auth-note { font-size:.84rem; color:var(--muted); padding:.25rem .16rem; }
.verification-button { min-height:37px; border-color:#c4ad7b55; background:#141a2a; color:var(--gold); padding-block:.35rem; }
.verification-button:hover { background:#292e42; }
.auth-form .form-error:empty { display:none; }
.auth-submit { width:100%; min-height:46px; background:linear-gradient(145deg,#f5dca6,#d7a462 60%,#bc8447); border:1px solid #edcd8e; border-radius:28px; color:#21180e; font-family:var(--display); font-size:1.1rem; letter-spacing:.055em;
  box-shadow:0 2px 22px #c28b4549,inset 0 0 0 3px #f9e4b341; }
.auth-submit:disabled { opacity:.64; filter:saturate(.58); box-shadow:inset 0 0 0 3px #f9e4b32c; }
@media (max-width:850px) {
  .site-inner { gap:.45rem; padding-inline:1rem; }
  .top-nav { margin-left:.45rem; }
  .top-nav a { padding-inline:.62rem; }
  .columns { grid-template-columns:minmax(163px,190px) minmax(0,1fr); gap:.9rem; padding-inline:1rem; }
  .hero { min-height:152px; padding:1.18rem 1.28rem; }
}
@media (max-width:650px) {
  .site-inner { flex-wrap:wrap; row-gap:0; min-height:56px; padding-top:.36rem; }
  .site-inner>.brand { margin-right:auto; }
  .site-inner>.spacer { display:none; }
  .site-inner .button { min-height:38px; padding:.34rem .5rem; }
  .top-nav { order:5; width:100%; align-self:auto; margin:0; justify-content:space-between; gap:0; }
  .top-nav a { min-height:39px; flex:1; justify-content:center; padding-inline:.32rem; }
  .header-account .header-level { display:none; }
  .brand,.brand-content { font-size:1.11rem; gap:.44rem; }
  .columns { grid-template-columns:minmax(0,1fr); padding:1rem .8rem 2.5rem; }
  .left-rail { grid-row:2; }
  .left-rail .user-card { text-align:left; }
  .left-rail .user-line { flex-direction:row; }
  .left-rail .avatar.large { width:50px; height:50px; font-size:1.55rem; }
  .left-rail .profile-link { justify-self:start; }
  .swatches { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .swatch { padding-inline:.24rem; }
  .swatch-inner { gap:.31rem; }
  .hero { min-height:137px; }
  .hero p { font-size:.875rem; }
  .hero-button { min-height:38px; padding-inline:.59rem; }
  .feed-controls { display:grid; grid-template-columns:minmax(0,1fr) auto; }
  .feed-controls h2 { grid-column:1/-1; }
  .search { max-width:none; }
  .feed-controls select { width:119px; }
  .post-card,.notices { padding-inline:1rem; }
  .portal { background-position:50% 50%; }
}
@media (max-width:382px) {
  .site-inner { padding-inline:.56rem; }
  .post-stats { gap:.68rem; }
  .post-footer,.notice-footer { gap:.5rem; }
  .hero h1 { font-size:1.6rem; }
  .hero p { max-width:12.5rem; }
  .feed-controls select { width:109px; }
  .swatches { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .portal-panel { padding-inline:.96rem; }
  .verification { justify-items:center; }
  .verification-button { width:100%; }
  .comment[data-depth] { margin-left:0; }
  .ledger-row { grid-template-columns:1fr auto; }
  .ledger-row time { display:none; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; } }
