:root{
  --ink:#0a0a0a;
  --ink-2:#161616;
  --paper:#ececec;
  --paper-2:#ffffff;
  --fg-light:#f2f2f2;
  --line-dark:rgba(255,255,255,.14);
  --line-light:rgba(0,0,0,.14);
  --muted:#8a8a8a;
  --live:#22c55e;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;scrollbar-width:none;}
html::-webkit-scrollbar,body::-webkit-scrollbar{display:none;}
body{
  font-family:'Inter','Noto Sans SC',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  background:var(--ink);color:var(--fg-light);
  -webkit-font-smoothing:antialiased;overflow-x:hidden;line-height:1.5;
}
a{color:inherit;text-decoration:none;}
img{display:block;max-width:100%;}
.serif{font-family:'Instrument Serif',Georgia,serif;font-weight:400;}
::selection{background:#fff;color:#0a0a0a;}
button{font-family:inherit;}
[hidden]{display:none !important;}

header{
  position:fixed;inset:0 0 auto 0;z-index:100;height:74px;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 40px;color:#fff;mix-blend-mode:difference;
}
header .logo{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-.02em;font-size:18px;}
header .logo .dot{width:9px;height:9px;border-radius:50%;background:#fff;}
header nav{display:flex;gap:18px;font-size:12px;font-weight:500;align-items:center;}
header nav a{position:relative;opacity:.9;cursor:pointer;}
header nav a::after{content:"";position:absolute;left:0;bottom:-6px;width:0;height:1px;background:#fff;transition:width .35s cubic-bezier(.2,.7,.2,1);}
header nav a:hover::after,header nav a.active::after{width:100%;}
#authBtn{border:1px solid #fff;border-radius:2px;padding:7px 15px;font-size:12px;font-weight:600;background:transparent;color:#fff;cursor:pointer;}
#authBtn:hover{background:#fff;color:#0a0a0a;}
#userChip{display:none;align-items:center;gap:8px;cursor:pointer;font-size:12px;font-weight:600;}
#userChip.on{display:flex;}
#userChip .av{width:26px;height:26px;border-radius:50%;background:#fff;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:800;overflow:hidden;}
#userChip .av img{width:100%;height:100%;object-fit:cover;}
header .hdr-right{display:flex;align-items:center;gap:10px;flex:0 0 auto;margin-left:16px;}
@media(max-width:1080px){header{padding:0 20px;}header nav{gap:12px;font-size:11px;}}
@media(max-width:820px){header nav a.hide-sm{display:none;}}

.subnav{
  position:sticky;top:74px;z-index:90;background:var(--ink);
  display:flex;gap:10px;padding:16px 40px;border-bottom:1px solid var(--line-dark);
}
.subnav a{
  background:transparent;border:1px solid rgba(255,255,255,.24);color:#cfcfcf;
  padding:9px 24px;font-size:13px;font-weight:600;border-radius:2px;transition:.25s;
}
.subnav a:hover{border-color:#fff;color:#fff;}
.subnav a.on{background:#fff;color:#0a0a0a;border-color:#fff;}
@media(max-width:760px){.subnav{padding:14px 20px;} .subnav a{padding:8px 16px;font-size:12px;}}

.hero{
  position:relative;min-height:100vh;background:var(--ink);
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:104px 40px 36px;overflow:hidden;
}
#heroDots{position:absolute;inset:0;width:100%;height:100%;z-index:0;}
.hero-grid{
  position:absolute;inset:0;
  background-image:linear-gradient(var(--line-dark) 1px,transparent 1px),linear-gradient(90deg,var(--line-dark) 1px,transparent 1px);
  background-size:96px 96px;
  -webkit-mask-image:radial-gradient(circle at 60% 40%,#000 30%,transparent 78%);
  mask-image:radial-gradient(circle at 60% 40%,#000 30%,transparent 78%);
}
.hero-dashes{
  position:absolute;inset:0;z-index:1;
  background-image:repeating-linear-gradient(90deg,transparent 0 46px,rgba(255,255,255,.16) 46px 47px);
  -webkit-mask-image:radial-gradient(circle at 30% 60%,#000,transparent 68%);
  mask-image:radial-gradient(circle at 30% 60%,#000,transparent 68%);opacity:.5;
}
.hero-box{
  position:absolute;z-index:1;border:1px solid rgba(255,255,255,.5);
  background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.02));
  backdrop-filter:blur(2px);transform:perspective(900px) rotateX(28deg) rotateZ(-14deg);
  box-shadow:0 40px 80px rgba(0,0,0,.55);
}
.hero-box.b1{width:190px;height:250px;top:24%;left:13%;animation:float 9s ease-in-out infinite;}
.hero-box.b2{width:150px;height:200px;top:30%;left:24%;transform:perspective(900px) rotateX(28deg) rotateZ(-14deg) translateZ(60px);opacity:.55;animation:float 10s ease-in-out infinite reverse;}
.hero-box.b3{width:120px;height:160px;top:18%;right:13%;transform:perspective(900px) rotateX(20deg) rotateZ(16deg);opacity:.4;animation:float 11s ease-in-out infinite;}
@keyframes float{0%,100%{margin-top:0;}50%{margin-top:-26px;}}
.hero .eyebrow{position:absolute;top:100px;left:40px;z-index:2;font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:#9a9a9a;}
.hero .eyebrow b{color:#fff;font-weight:600;}
.hero h1{position:relative;z-index:3;font-size:clamp(44px,9vw,140px);line-height:.95;letter-spacing:-.02em;font-weight:700;text-transform:uppercase;}
.hero h1 .ln{display:block;overflow:hidden;}
.hero h1 .ln span{display:block;transform:translateY(110%);transition:transform .9s cubic-bezier(.16,1,.3,1);}
.hero.ready h1 .ln span{transform:translateY(0);}
.hero h1 .it{font-family:'Instrument Serif',Georgia,serif;font-style:italic;text-transform:none;font-weight:400;letter-spacing:-.01em;color:#fff;position:relative;}
.hero-foot{position:relative;z-index:3;display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-top:clamp(30px,6vh,70px);}
.hero-foot p{max-width:420px;font-size:15px;color:#bdbdbd;}
.hero-foot p b{color:#fff;}
.hero-stats{display:flex;gap:30px;flex:0 0 auto;}
.hero-stats .st{text-align:right;}
.hero-stats .st b{display:block;font-family:'Instrument Serif';font-size:34px;font-weight:400;color:#fff;line-height:1;}
.hero-stats .st span{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#8a8a8a;}
@media(max-width:760px){
  .hero{padding:88px 20px 30px;}
  .hero .eyebrow{left:20px;top:80px;}
  .hero-foot{flex-direction:column;align-items:flex-start;}
  .hero-stats{display:none;}
}

.marquee{background:var(--ink);color:var(--fg-light);border-block:1px solid var(--line-dark);overflow:hidden;padding:18px 0;white-space:nowrap;}
.marquee .track{display:inline-flex;animation:scroll 30s linear infinite;will-change:transform;}
.marquee span{font-family:'Instrument Serif',Georgia,serif;font-size:30px;font-style:italic;padding:0 26px;display:inline-flex;align-items:center;gap:26px;letter-spacing:-.01em;}
.marquee .sep{font-size:16px;opacity:.4;}
@keyframes scroll{to{transform:translateX(-50%);}}

.section{background:var(--ink);color:var(--fg-light);padding:clamp(60px,8vw,110px) 40px;position:relative;}
.section-light{background:#f6f6f6;color:var(--ink);padding:clamp(60px,8vw,110px) 40px;position:relative;}
.head{margin-bottom:clamp(24px,3.4vw,48px);}
.head .k{font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:#8a8a8a;margin-bottom:16px;}
.section-light .head .k{color:#777;}
.head h2{font-family:'Instrument Serif',Georgia,serif;font-size:clamp(38px,7vw,104px);line-height:.9;letter-spacing:-.02em;font-weight:400;}
.head h2 .count{font-family:'Inter';font-size:20px;font-weight:500;vertical-align:super;color:#8a8a8a;letter-spacing:0;margin-left:14px;}
.section-light .head h2 .count{color:#666;}
@media(max-width:760px){.section,.section-light{padding:72px 20px;}}

.page-head{background:var(--ink);color:var(--fg-light);padding:158px 40px 30px;}
.page-head .k{font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:#8a8a8a;margin-bottom:16px;}
.page-head h1{font-family:'Instrument Serif',Georgia,serif;font-size:clamp(40px,7vw,92px);line-height:.92;letter-spacing:-.02em;font-weight:400;}
.page-head h1 .count{font-family:'Inter';font-size:20px;font-weight:500;vertical-align:super;color:#8a8a8a;letter-spacing:0;margin-left:14px;}
@media(max-width:760px){.page-head{padding:120px 20px 24px;}}
.section-flush{padding-top:10px;}

.btn{background:#fff;color:#0a0a0a;border:1px solid #fff;padding:12px 22px;font-size:13px;font-weight:600;cursor:pointer;border-radius:2px;transition:.3s;}
.btn:hover{background:transparent;color:#fff;}
.btn-dark{background:var(--ink);color:#fff;border-color:var(--ink);}
.btn-dark:hover{background:transparent;color:var(--ink);}
.btn-ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.4);}
.btn-ghost:hover{background:#fff;color:#0a0a0a;}
.btn-ghost-dark{background:transparent;color:var(--ink);border:1px solid rgba(0,0,0,.35);}
.btn-ghost-dark:hover{background:var(--ink);color:#fff;}

.boards-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 clamp(30px,5vw,90px);}
.boards-grid .empty{grid-column:1/-1;}
.board-card{
  border-top:1px solid var(--line-dark);padding:22px 0;cursor:pointer;
  display:flex;gap:16px;align-items:flex-start;transition:padding .3s ease,opacity .3s;
}
.board-card:hover{padding-left:10px;}
.board-card .bi{font-size:22px;width:32px;flex:0 0 auto;filter:grayscale(1) brightness(1.7);}
.board-card .bt{min-width:0;}
.board-card h3{font-size:clamp(17px,1.7vw,21px);font-weight:700;letter-spacing:-.02em;display:flex;align-items:center;gap:9px;color:#fff;}
.board-card .en{font-family:'Instrument Serif';font-style:italic;color:#8a8a8a;font-size:15px;margin-top:3px;}
.board-card p{font-size:12px;color:#9a9a9a;margin-top:9px;max-width:52ch;line-height:1.6;}
.board-card .meta{margin-left:auto;font-size:11px;color:#8a8a8a;text-align:right;white-space:nowrap;line-height:1.7;}
.board-card .meta b{color:#fff;}
@media(max-width:760px){.boards-grid{grid-template-columns:1fr;}}

.board-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:26px;}
.board-tabs button{
  background:transparent;border:1px solid rgba(255,255,255,.22);color:#cfcfcf;
  padding:8px 14px;font-size:12px;cursor:pointer;border-radius:2px;transition:.25s;
}
.board-tabs button:hover{border-color:#fff;color:#fff;}
.board-tabs button.on{background:#fff;color:#0a0a0a;border-color:#fff;font-weight:600;}
.thread-row{
  border-top:1px solid var(--line-dark);padding:20px 0;cursor:pointer;
  display:flex;gap:18px;
}
.thread-row .tat{font-family:'Instrument Serif';font-style:italic;color:#9a9a9a;font-size:13px;flex:0 0 auto;padding-top:4px;}
.thread-av{width:38px;height:38px;border-radius:50%;flex:0 0 auto;display:grid;place-items:center;font-weight:800;font-size:14px;overflow:hidden;background:#333;}
.thread-av img{width:100%;height:100%;object-fit:cover;}
.td-av{width:24px;height:24px;border-radius:50%;display:inline-grid;place-items:center;font-weight:800;font-size:11px;overflow:hidden;background:#333;vertical-align:middle;}
.td-av img{width:100%;height:100%;object-fit:cover;}
.thread-row .tbody{min-width:0;flex:1;}
.thread-row h3{font-size:clamp(16px,1.8vw,22px);font-weight:600;letter-spacing:-.01em;line-height:1.25;display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.thread-row .ex{font-size:12px;color:#8a8a8a;margin-top:7px;max-width:72ch;line-height:1.6;}
.thread-row .tm{font-size:11px;color:#7a7a7a;display:flex;flex-direction:column;align-items:flex-end;gap:3px;padding-top:2px;flex:0 0 auto;line-height:1.5;}
.thread-row .tm b{color:#cfcfcf;}
.thread-row .tm span{white-space:nowrap;}
.thread-row .tm .tm-a{display:flex;align-items:center;gap:5px;}
.tag{display:inline-block;font-size:10px;letter-spacing:.06em;text-transform:uppercase;padding:2px 7px;border-radius:2px;border:1px solid rgba(255,255,255,.3);color:#cfcfcf;}
.tag.pin{border-color:#fff;color:#fff;}
.tag.ess{border-color:var(--live);color:var(--live);}
.feed-foot{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:30px;}
.feed-foot .hint{font-size:11px;color:#7a7a7a;letter-spacing:.04em;}
.load-more{
  background:transparent;border:1px solid rgba(255,255,255,.35);color:#fff;
  padding:11px 26px;font-size:13px;cursor:pointer;border-radius:2px;transition:.3s;
}
.load-more:hover{background:#fff;color:#0a0a0a;}
.load-more:disabled{opacity:.45;cursor:default;}
.empty{padding:60px 0;text-align:center;color:#8a8a8a;font-size:14px;}

.hall-wrap{border:none;border-radius:4px;overflow:hidden;background:#121212;display:flex;flex-direction:column;max-width:1000px;}
.hall-head{display:flex;align-items:center;gap:10px;padding:15px 20px;border-bottom:1px solid rgba(255,255,255,.08);}
.live-dot{width:8px;height:8px;border-radius:50%;background:var(--live);box-shadow:0 0 0 0 rgba(34,197,94,.55);animation:pulse 2s infinite;flex:0 0 auto;}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(34,197,94,.5);}70%{box-shadow:0 0 0 9px rgba(34,197,94,0);}100%{box-shadow:0 0 0 0 rgba(34,197,94,0);}}
.hall-head .ht{font-weight:700;font-size:15px;letter-spacing:-.01em;color:#fff;}
.hall-head .hs{font-size:11px;color:#8a8a8a;margin-left:auto;}
.hall-msgs{height:52vh;min-height:300px;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:16px;}
.msg{display:flex;gap:12px;}
.msg .av{width:34px;height:34px;border-radius:50%;background:#242424;color:#fff;display:grid;place-items:center;font-weight:700;font-size:13px;flex:0 0 auto;overflow:hidden;}
.msg .av img{width:100%;height:100%;object-fit:cover;}
.msg .mc{min-width:0;}
.msg .meta{font-size:11px;color:#8a8a8a;margin-bottom:4px;display:flex;gap:8px;align-items:baseline;}
.msg .meta b{color:#fff;font-size:12px;}
.msg .body{font-size:14px;color:#dcdcdc;line-height:1.65;word-break:break-word;}
.msg .body a{color:#7fb2ff;text-decoration:underline;word-break:break-all;}
.hall-input{display:flex;gap:10px;padding:14px;border-top:1px solid rgba(255,255,255,.08);background:#0e0e0e;}
.hall-input input{flex:1;border:1px solid rgba(255,255,255,.2);background:#151515;color:#fff;padding:12px 15px;font-size:14px;border-radius:2px;outline:none;transition:border-color .25s;}
.hall-input input:focus{border-color:#fff;}
.hall-lock{padding:16px 20px;border-top:1px solid rgba(255,255,255,.08);background:#0e0e0e;font-size:13px;color:#bdbdbd;display:flex;align-items:center;justify-content:space-between;gap:14px;}

.cta{background:var(--ink);color:var(--fg-light);padding:clamp(80px,12vw,160px) 40px clamp(40px,6vw,70px);}
.cta .inner{max-width:1400px;margin:0 auto;}
.cta .kicker{font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:#8a8a8a;margin-bottom:30px;}
.cta h2{font-family:'Instrument Serif',Georgia,serif;font-size:clamp(40px,7.4vw,116px);line-height:1.0;font-weight:400;letter-spacing:-.02em;}
.cta h2 .it{font-style:italic;}
footer{margin-top:clamp(60px,9vw,120px);border-top:1px solid var(--line-dark);padding-top:36px;display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap;}
footer .cols{display:flex;gap:clamp(40px,7vw,120px);flex-wrap:wrap;}
footer ul{list-style:none;}
footer li{font-size:13px;color:#bdbdbd;margin-bottom:9px;}
footer li.lbl{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#7a7a7a;margin-bottom:14px;}
footer a:hover{color:#fff;}
footer .top{font-size:13px;color:#bdbdbd;align-self:flex-start;}
@media(max-width:760px){.cta{padding:90px 20px 40px;}}

.modal{position:fixed;inset:0;z-index:300;display:none;place-items:center;background:rgba(0,0,0,.74);backdrop-filter:blur(5px);padding:20px;}
.modal.open{display:grid;}
.modal .box{background:#0e0e0e;border:1px solid rgba(255,255,255,.16);width:min(560px,94vw);max-height:90vh;overflow:auto;padding:34px 32px;color:#f2f2f2;position:relative;}
.modal .box.wide{width:min(760px,94vw);}
.modal .close{position:absolute;top:14px;right:18px;background:none;border:none;color:#9a9a9a;font-size:24px;cursor:pointer;line-height:1;}
.modal .close:hover{color:#fff;}
.modal h3{font-family:'Instrument Serif',Georgia,serif;font-size:34px;font-weight:400;margin-bottom:6px;letter-spacing:-.01em;}
.modal h3 .it{font-style:italic;}
.modal .mhint{font-size:12px;color:#8a8a8a;margin-bottom:24px;letter-spacing:.02em;}
.tabs{display:flex;gap:24px;margin-bottom:24px;border-bottom:1px solid var(--line-dark);}
.tabs button{background:none;border:none;color:#8a8a8a;font-size:13px;font-weight:600;padding:0 0 12px;cursor:pointer;position:relative;}
.tabs button.on{color:#fff;}
.tabs button.on::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:#fff;}
.field{margin-bottom:18px;}
.field label{display:block;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#8a8a8a;margin-bottom:8px;}
.field input,.field textarea{width:100%;background:transparent;border:1px solid rgba(255,255,255,.24);color:#fff;padding:12px 14px;font-size:14px;font-family:inherit;border-radius:2px;outline:none;transition:border-color .25s;}
.field textarea{min-height:150px;resize:vertical;line-height:1.6;}
.field input:focus,.field textarea:focus{border-color:#fff;}
.field .row2{display:flex;gap:10px;}
.field .row2 input{flex:1;}
.field .send-code{flex:0 0 auto;background:transparent;border:1px solid rgba(255,255,255,.4);color:#fff;padding:0 16px;font-size:12px;cursor:pointer;border-radius:2px;white-space:nowrap;}
.field .send-code:disabled{opacity:.45;cursor:default;}
.form-msg{font-size:12px;color:#ff8080;min-height:16px;margin-bottom:12px;}
.form-msg.ok{color:#7ee0a0;}
.modal .actions{display:flex;gap:12px;align-items:center;margin-top:6px;}

.td-title{font-size:26px;font-weight:700;letter-spacing:-.02em;line-height:1.2;}
.td-meta{font-size:12px;color:#8a8a8a;margin:10px 0 22px;display:flex;gap:12px;align-items:center;}
.td-body{font-size:15px;line-height:1.85;color:#dcdcdc;white-space:pre-wrap;word-break:break-word;}
.replies{margin-top:30px;border-top:1px solid var(--line-dark);padding-top:22px;}
.reply{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.07);}
.reply .av{width:32px;height:32px;border-radius:50%;background:#fff;color:#0a0a0a;display:grid;place-items:center;font-weight:800;font-size:12px;flex:0 0 auto;}
.reply .rc{min-width:0;flex:1;}
.reply .meta{font-size:11px;color:#8a8a8a;margin-bottom:5px;display:flex;gap:8px;}
.reply .meta b{color:#fff;font-size:12px;}
.reply .body{font-size:14px;line-height:1.7;color:#d0d0d0;white-space:pre-wrap;word-break:break-word;}

#toast{position:fixed;left:50%;bottom:34px;transform:translate(-50%,20px);z-index:400;background:#fff;color:#0a0a0a;padding:12px 22px;font-size:13px;font-weight:600;border-radius:3px;opacity:0;pointer-events:none;transition:.35s cubic-bezier(.2,.7,.2,1);}
#toast.on{opacity:1;transform:translate(-50%,0);}

.reveal{opacity:0;transform:translateY(28px);transition:opacity .8s ease,transform .8s cubic-bezier(.16,1,.3,1);}
.reveal.in{opacity:1;transform:none;}

#pvBanner{position:fixed;left:50%;top:0;transform:translateX(-50%);z-index:500;background:#ffcf3f;color:#0a0a0a;font-size:11px;font-weight:700;letter-spacing:.08em;padding:5px 16px;border-radius:0 0 3px 3px;text-transform:uppercase;}

.page-foot{background:var(--ink);color:var(--fg-light);padding:56px 40px;border-top:1px solid var(--line-dark);}
.page-foot .cols{display:flex;gap:clamp(40px,7vw,120px);flex-wrap:wrap;max-width:1400px;margin:0 auto;}
.page-foot ul{list-style:none;}
.page-foot li{font-size:13px;color:#bdbdbd;margin-bottom:9px;}
.page-foot li.lbl{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#7a7a7a;margin-bottom:14px;}
.page-foot a:hover{color:#fff;}
@media(max-width:760px){.page-foot{padding:44px 20px;}}

[data-user]{cursor:pointer;}
#profileCard{
  position:fixed;z-index:450;width:288px;background:#111;border:1px solid rgba(255,255,255,.16);
  border-radius:4px;padding:18px;color:#f2f2f2;box-shadow:0 24px 60px rgba(0,0,0,.6);
  opacity:0;pointer-events:none;transform:translateY(6px);transition:.18s ease;
}
#profileCard.on{opacity:1;pointer-events:auto;transform:none;}
#profileCard .pc-top{display:flex;gap:12px;align-items:center;}
#profileCard .pc-av{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:18px;color:#fff;flex:0 0 auto;overflow:hidden;background:#333;}
#profileCard .pc-av img{width:100%;height:100%;object-fit:cover;}
#profileCard .pc-name{font-weight:700;font-size:16px;letter-spacing:-.01em;color:#fff;}
#profileCard .pc-meta{font-size:11px;color:#8a8a8a;margin-top:3px;}
#profileCard .pc-sig{font-size:12.5px;color:#c9c9c9;line-height:1.6;margin-top:14px;padding-top:14px;border-top:1px solid var(--line-dark);}
#profileCard .pc-sig.empty{color:#6e6e6e;font-style:italic;}
#profileCard .pc-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;}
#profileCard .pc-links a{font-size:11px;border:1px solid rgba(255,255,255,.25);border-radius:2px;padding:4px 9px;color:#dcdcdc;transition:.2s;}
#profileCard .pc-links a:hover{background:#fff;color:#0a0a0a;border-color:#fff;}

.account-wrap{display:grid;grid-template-columns:300px 1fr;gap:clamp(30px,5vw,70px);align-items:start;}
@media(max-width:880px){.account-wrap{grid-template-columns:1fr;}}
.prof-card{border:1px solid var(--line-dark);border-radius:4px;padding:26px 22px;text-align:center;background:#0d0d0d;}
.prof-card .big-av{width:104px;height:104px;border-radius:50%;margin:0 auto 16px;display:grid;place-items:center;font-size:40px;font-weight:800;color:#fff;overflow:hidden;background:#333;}
.prof-card .big-av img{width:100%;height:100%;object-fit:cover;}
.prof-card .pname{font-size:20px;font-weight:700;letter-spacing:-.01em;color:#fff;}
.prof-card .pemail{font-size:12px;color:#8a8a8a;margin-top:5px;word-break:break-all;}
.prof-card .psig{font-size:12.5px;color:#bdbdbd;line-height:1.7;margin-top:14px;}
.prof-card .pstat{display:flex;justify-content:center;gap:26px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line-dark);}
.prof-card .pstat b{display:block;font-family:'Instrument Serif';font-size:24px;color:#fff;}
.prof-card .pstat span{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#8a8a8a;}
.acc-form{max-width:640px;}
.swatches{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;}
.swatch{width:26px;height:26px;border-radius:50%;cursor:pointer;border:2px solid transparent;transition:.2s;}
.swatch.on{border-color:#fff;}
.link-row{display:flex;gap:10px;margin-bottom:10px;}
.link-row input{flex:1;min-width:0;}
.link-row .rm{flex:0 0 auto;background:transparent;border:1px solid rgba(255,255,255,.3);color:#cfcfcf;border-radius:2px;padding:0 14px;cursor:pointer;font-size:12px;}
.link-row .rm:hover{background:#fff;color:#0a0a0a;}
.notice{border:1px solid rgba(255,255,255,.18);border-radius:3px;padding:11px 15px;font-size:12.5px;color:#cfcfcf;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:28px;}
.notice b{color:#fff;}
.av-preview{display:flex;align-items:center;gap:14px;margin-bottom:6px;}
.av-preview .pv{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;font-size:26px;font-weight:800;color:#fff;overflow:hidden;background:#333;flex:0 0 auto;}
.av-preview .pv img{width:100%;height:100%;object-fit:cover;}

.lv-badge{display:inline-block;font-size:10px;letter-spacing:.06em;padding:2px 8px;border:1px solid;border-radius:2px;vertical-align:middle;white-space:nowrap;}
.lv-mini{display:inline-block;font-size:9px;line-height:1.5;padding:1px 5px;border:1px solid;border-radius:2px;margin-left:6px;vertical-align:middle;opacity:.9;white-space:nowrap;}
.lv-custom{letter-spacing:.10em;text-shadow:0 0 8px rgba(160,107,255,.55);box-shadow:inset 0 0 0 1px rgba(160,107,255,.18);}
.pc-tags{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:13px;}
.pc-days{font-size:11px;color:#8a8a8a;}
.title-panel{border:1px solid var(--line-dark);border-radius:4px;padding:22px 24px;background:#0d0d0d;margin-bottom:34px;max-width:640px;}
.title-panel .tp-top{display:flex;align-items:center;justify-content:space-between;gap:16px;}
.tp-label{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#8a8a8a;margin-bottom:9px;}
.tp-badge{display:inline-block;font-family:'Instrument Serif',Georgia,serif;font-size:26px;font-weight:400;letter-spacing:-.01em;padding:2px 14px;border:1px solid;border-radius:3px;white-space:nowrap;}
.tp-bar{height:6px;border-radius:3px;background:#252525;overflow:hidden;margin:18px 0 12px;}
.tp-bar i{display:block;height:100%;width:0;border-radius:3px;transition:width .5s ease;}
.tp-foot{font-size:12px;color:#8a8a8a;line-height:1.6;}
.prof-card .tp-badge{font-family:'Inter','Noto Sans SC',sans-serif;font-size:12px;font-weight:600;padding:3px 10px;margin-top:11px;}

#navNotify .notifBadge{
  display:none;margin-left:6px;background:#e5484d;color:#fff;font-size:9px;line-height:1;
  padding:2px 5px;border-radius:8px;font-weight:700;vertical-align:middle;
}
.notif-item{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.08);cursor:pointer;transition:opacity .2s;}
.notif-item:last-child{border-bottom:none;}
.notif-item:hover{opacity:.85;}
.notif-item.read{opacity:.5;}
.notif-av{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:700;color:#fff;flex:0 0 auto;overflow:hidden;}
.notif-body{min-width:0;flex:1;}
.notif-top{font-size:12px;color:#cfcfcf;display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;}
.notif-top b{color:#fff;}
.notif-time{margin-left:auto;font-size:11px;color:#7a7a7a;white-space:nowrap;}
.notif-thread{font-size:12.5px;color:#9a9a9a;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.notif-text{font-size:12.5px;color:#bdbdbd;margin-top:4px;line-height:1.6;word-break:break-word;}
#notifList{max-height:62vh;overflow:auto;}

.hall-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:22px;align-items:start;}
@media(max-width:880px){.hall-layout{grid-template-columns:1fr;}}
.online-panel{border-radius:4px;background:#121212;padding:16px 14px;max-height:62vh;overflow:auto;}
.online-head{font-size:12px;color:#8a8a8a;letter-spacing:.06em;margin-bottom:12px;display:flex;justify-content:space-between;align-items:baseline;}
.online-head b{color:#fff;font-family:'Instrument Serif';font-size:18px;}
.online-item{display:flex;align-items:center;gap:9px;padding:7px 0;}
.online-item .oav{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:700;color:#fff;flex:0 0 auto;overflow:hidden;}
.online-item .oav img{width:100%;height:100%;object-fit:cover;}
.online-item .onm{font-size:12.5px;color:#dcdcdc;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.online-empty{font-size:12px;color:#6e6e6e;padding:10px 0;}

.mark-btns{display:flex;gap:10px;margin:18px 0 6px;}
.mark-btn{display:inline-flex;align-items:center;gap:7px;background:transparent;border:1px solid rgba(255,255,255,.25);color:#dcdcdc;padding:9px 16px;font-size:13px;border-radius:2px;cursor:pointer;transition:.2s;font-family:inherit;}
.mark-btn:hover{border-color:#fff;color:#fff;}
.mark-btn b{font-weight:600;opacity:.9;}
.mark-btn.like.on{border-color:#e5484d;color:#ff8a8a;background:rgba(229,72,77,.08);}
.mark-btn.fav.on{border-color:#d4a017;color:#f0c14b;background:rgba(212,160,23,.08);}
.marks-panel{border:1px solid var(--line-dark);border-radius:4px;background:#0d0d0d;padding:22px 24px;margin-top:34px;max-width:900px;}
.marks-tabs{display:flex;gap:10px;margin-bottom:14px;}
.marks-tabs button{background:transparent;border:1px solid rgba(255,255,255,.22);color:#cfcfcf;padding:8px 18px;font-size:12px;cursor:pointer;border-radius:2px;transition:.25s;font-family:inherit;}
.marks-tabs button:hover{border-color:#fff;color:#fff;}
.marks-tabs button.on{background:#fff;color:#0a0a0a;border-color:#fff;font-weight:600;}
.mark-item{display:flex;gap:12px;align-items:center;padding:12px 0;border-top:1px solid rgba(255,255,255,.08);cursor:pointer;}
.mark-item.dead{cursor:default;}
.mark-item .mtitle{font-size:14px;color:#e6e6e6;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.mark-item.dead .mtitle{color:#7a7a7a;text-decoration:line-through;}
.mark-item .mby{font-size:11px;color:#8a8a8a;white-space:nowrap;}
.mark-item .mdead{font-size:11px;color:#e5484d;border:1px solid rgba(229,72,77,.5);border-radius:2px;padding:1px 7px;white-space:nowrap;}
.mark-item .mrm{background:transparent;border:1px solid rgba(255,255,255,.3);color:#cfcfcf;border-radius:2px;padding:4px 10px;font-size:11px;cursor:pointer;flex:0 0 auto;font-family:inherit;}
.mark-item .mrm:hover{background:#fff;color:#0a0a0a;}


@media(max-width:1080px){
  header{padding:0 20px;}
  header nav{gap:13px;font-size:11px;}
}

@media(max-width:820px){
  header{padding:0 14px;gap:10px;}
  header .logo{font-size:15px;flex:0 0 auto;letter-spacing:-.01em;}
  header nav{
    flex:1 1 auto;min-width:0;
    overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;
    gap:15px;font-size:11.5px;padding:2px 0;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;
  }
  header nav::-webkit-scrollbar{display:none;}
  header nav a{white-space:nowrap;}
  #authBtn{padding:6px 12px;font-size:11px;flex:0 0 auto;}
  #userChip{flex:0 0 auto;}
  header .hdr-right{gap:8px;margin-left:10px;}
}

@media(max-width:760px){
  .hero{padding:86px 20px 30px;}
  .hero .eyebrow{left:20px;top:78px;font-size:11px;letter-spacing:.18em;}
  .hero h1{font-size:clamp(30px,8.6vw,54px);}
  .hero h1 .ln{overflow:visible;}
  .hero h1 .ln span{transform:none;transition:none;}
  .hero-foot{flex-direction:column;align-items:flex-start;gap:18px;}
  .hero-foot p{max-width:100%;font-size:14px;}
  .hero-stats{display:none;}

  .marquee{padding:12px 0;}
  .marquee span{font-size:22px;padding:0 16px;gap:16px;}

  .section,.section-light{padding:64px 20px;}
  .page-head{padding:110px 20px 20px;}
  .head h2,.page-head h1{font-size:clamp(30px,8vw,52px);}
  .head h2 .count,.page-head h1 .count{font-size:15px;margin-left:8px;}
  .head .k,.page-head .k{font-size:11px;letter-spacing:.16em;}

  .boards-grid{grid-template-columns:1fr;gap:0;}
  .board-card{flex-wrap:wrap;gap:12px;}
  .board-card .meta{margin-left:0;flex:1 1 100%;text-align:left;padding-top:2px;}

  .thread-row{flex-wrap:wrap;gap:10px;}
  .thread-row .tm{
    flex:0 0 100%;flex-direction:row;flex-wrap:wrap;
    align-items:center;justify-content:flex-start;
    gap:4px 12px;text-align:left;padding-top:0;font-size:10.5px;
  }
  .thread-row .tm .tm-a{order:-1;}
  .thread-row h3{font-size:16px;}
  .thread-row .ex{font-size:11.5px;}

  .hall-layout{gap:16px;}
  .hall-msgs{height:46vh;min-height:220px;}
  .online-panel{max-height:38vh;}
  .hall-input{gap:8px;padding:12px;}
  .hall-input input{font-size:13px;padding:10px 12px;}

  .modal{padding:14px;}
  .modal .box{padding:26px 18px;}
  .modal .box.wide{width:96vw;}
  .modal h3{font-size:26px;}
  .td-title{font-size:21px;}
  .td-body{font-size:14px;line-height:1.75;}
  .field .row2{flex-wrap:wrap;}
  .field .send-code{padding:11px 14px;}
  .mark-btns{flex-wrap:wrap;}

  .account-wrap{gap:26px;}
  .title-panel,.marks-panel{padding:18px 16px;}
  .prof-card .big-av{width:84px;height:84px;font-size:32px;}
  .link-row{flex-wrap:wrap;}
  .link-row input{flex:1 1 100%;}
  .link-row .rm{padding:9px 14px;}
  .marks-tabs{flex-wrap:wrap;}
  .mark-item{flex-wrap:wrap;gap:6px 10px;}
  .mark-item .mtitle{flex:1 1 100%;}
  .mark-item .mby{flex:1 1 auto;}

  .cta{padding:78px 20px 40px;}
  footer,.page-foot{padding-top:28px;}
  footer .cols,.page-foot .cols{gap:26px;}
  .notif-item{gap:10px;padding:12px 0;}
}

@media(max-width:400px){
  .hero h1{font-size:clamp(26px,8.2vw,38px);}
  header .logo{font-size:13.5px;}
  header nav{gap:12px;font-size:11px;}
  #userChip #userName{display:none;}
  .btn{padding:10px 16px;font-size:12px;}
  .tp-badge{font-size:20px;padding:2px 10px;}
  .board-card h3{font-size:17px;}
}
