/* Reshanta Defteri — ortak stil */
:root{
  color-scheme:dark;
  --bg:#080B13; --bg2:#0B101B; --surface:#0F1524; --surface2:#151D31; --raise:#1B2540;
  --line:#1F2A42; --line2:#2C3A5A;
  --ink:#E8EDF7; --ink2:#C4CDDF; --muted:#8E9AB4;
  --accent:#5CD0DC; --accent-2:#E4BC6A; --accent-ink:#04191C; --accent-soft:rgba(92,208,220,.12);
  --pve:#86A9FF; --pve-soft:rgba(134,169,255,.13);
  --pvp:#FF7D8F; --pvp-soft:rgba(255,125,143,.13);
  --ap:#E4BC6A; --ap-soft:rgba(228,188,106,.14);
  --ok:#52D6A6; --ok-soft:rgba(82,214,166,.10);
  --display:"Marcellus", "Palatino Linotype", Palatino, Georgia, serif;
  --body:"Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:"JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r:14px; --r-sm:9px;
  --nav-h:64px; --top-h:34px;
}
*{box-sizing:border-box}
html{scroll-padding-top:calc(var(--nav-h) + var(--top-h) + 16px)}
html, body{overflow-x:clip}
body{margin:0; background:var(--bg); color:var(--ink); font-family:var(--body); font-size:15.5px; line-height:1.6; -webkit-font-smoothing:antialiased}
img,svg{max-width:100%}
img{height:auto}
h1, h2, h3, .post-card h3, .crumbs, .t, .tier-card b{overflow-wrap:anywhere}
.prose{overflow-wrap:break-word}
a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{font-family:var(--display); font-weight:400; letter-spacing:.01em; text-wrap:balance; margin:0; line-height:1.2}
p{margin:0}
button{font:inherit; color:inherit}
:focus-visible{outline:2px solid var(--accent); outline-offset:2px; border-radius:4px}
[hidden]{display:none!important}
.container{max-width:1180px; margin:0 auto; padding-inline:24px}
.sr-only{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
.eyebrow{font-size:11.5px; letter-spacing:.16em; text-transform:uppercase; font-weight:700; color:var(--accent)}
.muted{color:var(--muted)}
.mono{font-family:var(--mono); font-variant-numeric:tabular-nums}

/* ---------- navbar ---------- */
.nav{position:sticky; top:0; z-index:50; background:rgba(8,11,19,.82); backdrop-filter:saturate(1.4) blur(14px); -webkit-backdrop-filter:saturate(1.4) blur(14px); border-bottom:1px solid var(--line)}
.nav-inner{height:var(--nav-h); display:flex; align-items:center; gap:24px}
.brand{display:flex; align-items:center; gap:10px; color:var(--ink); font-family:var(--display); font-size:19px; white-space:nowrap}
.brand:hover{text-decoration:none}
.brand svg{width:30px; height:30px; flex:none}
.nav-links{display:flex; align-items:center; gap:2px; list-style:none; margin:0 0 0 auto; padding:0}
.nav-links > li{position:relative}
.nav-links a, .nav-drop > button{display:flex; align-items:center; gap:6px; padding:8px 12px; border-radius:8px; color:var(--ink2); font-size:14.5px; font-weight:600; background:none; border:0; cursor:pointer; white-space:nowrap}
.nav-links a:hover, .nav-drop > button:hover{background:var(--surface2); color:var(--ink); text-decoration:none}
.nav-links a[aria-current="page"], .nav-drop.active > button{color:var(--ink); background:var(--surface2)}
.nav-drop > button svg{width:12px; height:12px; transition:transform .2s}
.drop-menu{position:absolute; top:calc(100% + 8px); right:0; left:auto; width:min(440px, calc(100vw - 32px)); background:var(--surface); border:1px solid var(--line2); border-radius:var(--r); padding:10px; display:grid; grid-template-columns:1fr 1fr; gap:2px; box-shadow:0 24px 60px rgba(0,0,0,.5); opacity:0; visibility:hidden; transition:opacity .15s, visibility .15s}
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu, .nav-drop.open .drop-menu{opacity:1; visibility:visible}
.drop-menu::before{content:""; position:absolute; left:0; right:0; top:-10px; height:10px}
.drop-menu a{padding:9px 10px; gap:10px}
.drop-menu a small{display:block; font-weight:500; color:var(--muted); font-size:12px}
.drop-menu .ci{width:34px; height:34px; border-radius:9px; background:var(--surface2); display:grid; place-items:center; flex:none; color:var(--accent)}
.drop-menu .ci svg{width:20px; height:20px}
.drop-menu .all{grid-column:1/-1; justify-content:center; border-top:1px solid var(--line); border-radius:0 0 8px 8px; margin-top:6px; padding-top:10px; color:var(--accent)}
.nav-toggle{display:none; margin-left:auto; width:42px; height:42px; border-radius:10px; border:1px solid var(--line2); background:var(--surface); cursor:pointer; place-items:center}
.nav-toggle svg{width:20px; height:20px}

@media (max-width:960px){
  .nav-toggle{display:grid}
  .nav-links{position:fixed; top:calc(var(--nav-h) + var(--top-h)); left:0; right:0; bottom:0; margin:0; flex-direction:column; align-items:stretch; gap:2px; padding:12px 16px 32px; background:var(--bg); overflow-y:auto; display:none}
  body.nav-open .nav-links{display:flex}
  body.nav-open{overflow:hidden}
  .nav-links a, .nav-drop > button{padding:13px 12px; font-size:16px; width:100%}
  .nav-drop > button{justify-content:space-between}
  .drop-menu::before{display:none}
  .drop-menu{position:static; transform:none; width:auto; max-width:none; opacity:1; visibility:visible; box-shadow:none; border:0; background:transparent; padding:0 0 6px 8px; display:none}
  .nav-drop.open .drop-menu{display:grid}
  .nav-drop.open > button svg{transform:rotate(180deg)}
}

/* ---------- timer topbar ---------- */
.topbar{border-bottom:1px solid var(--line); background:rgba(5,8,15,.9); font-size:12.5px}
.topbar-inner{display:flex; align-items:center; gap:18px; height:34px}
.tb-head{display:flex; align-items:center; gap:6px; color:var(--muted); font-weight:600; white-space:nowrap; flex:none}
.tb-head svg{color:var(--accent)}
.tb-clock{font-family:var(--mono); font-variant-numeric:tabular-nums; font-weight:600; color:var(--ink); margin-left:2px}
.tb-items{display:flex; align-items:center; gap:4px; overflow-x:auto; scrollbar-width:none; min-width:0}
.tb-items::-webkit-scrollbar{display:none}
.tb-item{display:flex; align-items:baseline; gap:7px; padding:3px 10px; border-radius:6px; white-space:nowrap; flex:none}
.tb-item + .tb-item{border-left:1px solid var(--line); border-radius:0}
.tb-lbl{color:var(--muted); font-weight:600}
.tb-item .val{font-family:var(--mono); font-variant-numeric:tabular-nums; font-weight:600; color:var(--ink)}
.tb-item[data-timer="shugo"] .val, .tb-item[data-timer="rift"] .val{color:var(--accent)}
.tb-item.soon .val{color:var(--accent-2)}
@media (max-width:600px){
  .topbar-inner{gap:10px; height:32px}
  .tb-head .tb-head-lbl{display:none}
  .tb-items{margin-right:-16px; padding-right:16px; overscroll-behavior-x:contain}
  .tb-item{padding:3px 8px}
}

/* ---------- map ---------- */
.map-frame{position:relative; border:1px solid var(--line2); border-radius:var(--r); overflow:hidden; background:var(--surface); height:min(78vh, 820px); min-height:480px}
.map-frame iframe{position:absolute; inset:0; width:100%; height:100%; border:0}
.map-note{margin:-6px 0 12px}
@media (max-width:600px){.map-frame{height:70vh; min-height:420px; border-radius:10px; margin-inline:-6px}}

/* ---------- page hero ---------- */
.hero{position:relative; overflow:hidden; border-bottom:1px solid var(--line); isolation:isolate}
.hero-bg{position:absolute; inset:0; z-index:-2; background:url("/assets/img/abyss.svg") center/cover no-repeat}
.hero::after{content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg, rgba(8,11,19,.96) 0%, rgba(8,11,19,.82) 45%, rgba(8,11,19,.35) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 45%)}
.hero .container{padding-block:48px 40px}
.crumbs{display:flex; flex-wrap:wrap; gap:6px; font-size:13px; color:var(--muted); margin-bottom:14px; list-style:none; padding:0}
.crumbs li:not(:last-child)::after{content:"/"; margin-left:6px; color:var(--line2)}
.crumbs a{color:var(--muted)}
.hero h1{font-size:clamp(30px,4.4vw,48px); max-width:22ch}
.hero .lead{margin-top:14px; max-width:62ch; color:var(--ink2); font-size:16.5px}
.hero-meta{display:flex; flex-wrap:wrap; gap:8px; margin-top:18px}
.pill{display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:600; padding:5px 11px; border-radius:999px; background:rgba(255,255,255,.05); border:1px solid var(--line2); color:var(--ink2)}
.pill b{color:var(--accent); font-weight:700}

/* home hero */
.hero.home .container{padding-block:88px 120px}
.hero.home h1{font-size:clamp(36px,6vw,64px); max-width:16ch}
.hero.home h1 em{font-style:normal; color:var(--accent-2)}
.cta{display:flex; flex-wrap:wrap; gap:10px; margin-top:28px}
.btn{display:inline-flex; align-items:center; gap:8px; padding:12px 20px; border-radius:10px; font-weight:700; font-size:15px; border:1px solid transparent; cursor:pointer}
.btn:hover{text-decoration:none}
.btn-primary{background:var(--accent); color:var(--accent-ink)}
.btn-primary:hover{background:#7ADCE6}
.btn-ghost{background:rgba(255,255,255,.04); border-color:var(--line2); color:var(--ink)}
.btn-ghost:hover{background:var(--surface2)}
.btn svg{width:16px; height:16px}

/* ---------- layout ---------- */
main{padding-block:32px 56px}
.layout{display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:28px; align-items:start}
.layout > aside{position:sticky; top:calc(var(--nav-h) + var(--top-h) + 20px); display:grid; gap:14px}
.layout.toc-left{grid-template-columns:220px minmax(0,1fr)}
.layout.toc-left > aside{order:-1}
@media (max-width:960px){
  .layout, .layout.toc-left{grid-template-columns:minmax(0,1fr)}
  .layout > aside{position:static; order:-1}
  .layout.aside-last > aside{order:0}
}
.post-facts .val{font-family:var(--body); font-size:14px; color:var(--ink); font-weight:600}
.section{margin-bottom:40px}
.section-head{display:flex; flex-wrap:wrap; align-items:end; justify-content:space-between; gap:12px; margin-bottom:16px}
.section-head h2{font-size:clamp(22px,2.6vw,28px)}
.section-head p{color:var(--muted); max-width:60ch; margin-top:4px}

.panel{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:18px 20px; min-width:0}
.panel h2{font-size:21px; margin-bottom:12px}
.panel h3{font-family:var(--body); font-weight:700; font-size:14.5px; margin:16px 0 6px}
.panel ul, .panel ol{margin:0; padding-left:20px; display:grid; gap:5px}
.panel p + p{margin-top:8px}
.panel .toc{padding:0}
.panel-title{font-size:12px; letter-spacing:.12em; text-transform:uppercase; font-weight:700; color:var(--muted); margin-bottom:12px; font-family:var(--body)}

/* timers */
.timers{display:grid; gap:0}
.timer{display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:10px 0; border-top:1px solid var(--line)}
.timer:first-child{border-top:0; padding-top:0}
.timer .lbl{font-size:13.5px; font-weight:600}
.timer .sub{display:block; font-size:12px; color:var(--muted); font-weight:500}
.timer .val{font-family:var(--mono); font-variant-numeric:tabular-nums; font-size:16px; font-weight:600; color:var(--accent); white-space:nowrap}
.timer-strip{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--r); overflow:hidden}
.timer-strip .timer{flex-direction:column; align-items:flex-start; gap:2px; background:var(--surface); padding:16px 18px; border:0}
.timer-strip .val{font-size:22px}
@media (max-width:760px){.timer-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.timer-strip .val{font-size:18px}.timer-strip .timer{padding:12px 14px}}

/* progress */
.pbar{display:grid; gap:6px}
.pbar + .pbar{margin-top:12px}
.pbar .row{display:flex; justify-content:space-between; font-size:13.5px; font-weight:600}
.pbar .row span:last-child{font-family:var(--mono); color:var(--muted)}
.track{height:6px; border-radius:3px; background:var(--surface2); overflow:hidden}
.fill{height:100%; width:0; background:linear-gradient(90deg, var(--accent), #8BE3EA); border-radius:3px; transition:width .35s}
.fill.gold{background:linear-gradient(90deg, #C99A45, var(--accent-2))}

/* settings */
details.settings summary{cursor:pointer; font-size:13.5px; font-weight:600; color:var(--ink2); list-style:none; display:flex; justify-content:space-between; align-items:center}
details.settings summary::-webkit-details-marker{display:none}
details.settings summary::after{content:"+"; font-family:var(--mono); color:var(--muted)}
details.settings[open] summary::after{content:"−"}
.set-grid{display:grid; gap:10px; margin-top:12px}
.set-grid label{display:grid; gap:4px; font-size:12.5px; font-weight:600; color:var(--muted)}
select, input[type="number"]{font:inherit; font-size:14px; padding:8px 10px; border:1px solid var(--line2); border-radius:8px; background:var(--bg2); color:var(--ink); width:100%; min-width:0}
.note{font-size:12.5px; color:var(--muted)}

/* ---------- checklist ---------- */
.toolbar{display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; margin-bottom:18px}
.chips{display:flex; gap:6px; flex-wrap:wrap; min-width:0}
.chip{border:1px solid var(--line2); background:var(--surface); padding:6px 14px; border-radius:999px; cursor:pointer; font-size:13px; font-weight:600; color:var(--ink2)}
.chip:hover{border-color:var(--muted)}
.chip[aria-pressed="true"]{background:var(--ink); color:var(--bg); border-color:var(--ink)}
.ghost{border:1px solid var(--line2); background:transparent; padding:7px 13px; border-radius:8px; cursor:pointer; font-size:13px; color:var(--muted)}
.ghost:hover{color:var(--ink); border-color:var(--muted)}
.confirm{display:inline-flex; flex-wrap:wrap; gap:6px; align-items:center; font-size:13px}
.confirm .yes{background:var(--pvp); color:#1B0509; border:0; padding:7px 13px; border-radius:8px; cursor:pointer; font-weight:700}

.group{margin-bottom:26px}
.group-head{display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:10px}
.group-head h2{font-size:20px}
.group-head .count{font-family:var(--mono); font-size:13px; color:var(--muted)}
.list{background:var(--surface); border:1px solid var(--line); border-radius:var(--r); overflow:hidden}
.item{display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:14px; align-items:start; padding:14px 16px; border-top:1px solid var(--line); transition:background .15s}
.item:first-child{border-top:0}
.item:hover{background:rgba(255,255,255,.015)}
.item.done{background:var(--ok-soft)}
.item.done .t{color:var(--muted); text-decoration:line-through; text-decoration-color:var(--line2)}
.check{width:24px; height:24px; border-radius:7px; border:2px solid var(--line2); background:var(--bg2); cursor:pointer; display:grid; place-items:center; margin-top:1px; padding:0}
.check svg{width:14px; height:14px; opacity:0}
.check:hover{border-color:var(--accent)}
.item.done .check{background:var(--ok); border-color:var(--ok)}
.item.done .check svg{opacity:1}
.item.partial .check{border-color:var(--accent)}
.t{font-weight:600; display:flex; flex-wrap:wrap; gap:6px 8px; align-items:center}
.d{font-size:13.5px; color:var(--muted); margin-top:3px; max-width:70ch}
.tag{font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; font-weight:700; padding:2px 7px; border-radius:5px; line-height:1.5}
.tag.pve{background:var(--pve-soft); color:var(--pve)}
.tag.pvp{background:var(--pvp-soft); color:var(--pvp)}
.tag.ap{background:var(--ap-soft); color:var(--ap)}
.tag.gen{background:var(--surface2); color:var(--muted)}
.tag.key{background:var(--accent-soft); color:var(--accent)}
.stepper{display:flex; align-items:center; gap:4px}
.stepper button{width:32px; height:32px; border-radius:8px; border:1px solid var(--line2); background:var(--surface2); cursor:pointer; font-weight:700; line-height:1}
.stepper button:hover{border-color:var(--accent)}
.stepper .n{font-family:var(--mono); font-variant-numeric:tabular-nums; min-width:54px; text-align:center; font-size:14px; font-weight:600}

.ap-box{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.ap-card{display:grid; gap:8px}
.ap-card label{font-size:13.5px; font-weight:600}
.ap-card .row{display:flex; gap:8px; align-items:center}
.ap-card .cap{font-family:var(--mono); font-size:13px; color:var(--muted); white-space:nowrap}

/* ---------- tables ---------- */
.tablewrap{overflow-x:auto}
table{border-collapse:collapse; width:100%; font-size:14px}
th,td{text-align:left; padding:10px 12px; border-bottom:1px solid var(--line); vertical-align:top}
tbody tr:last-child td{border-bottom:0}
th{font-size:11.5px; text-transform:uppercase; letter-spacing:.09em; color:var(--muted); font-weight:700; background:var(--surface2)}
th:first-child{border-top-left-radius:8px} th:last-child{border-top-right-radius:8px}
td.num{font-family:var(--mono); font-variant-numeric:tabular-nums; white-space:nowrap}
td.sk{font-weight:600}

/* ---------- guide blocks ---------- */
.grid-2{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px}
.grid-3{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px}
@media (max-width:860px){.grid-2,.grid-3{grid-template-columns:minmax(0,1fr)}}
.callout{border:1px solid rgba(92,208,220,.35); background:linear-gradient(135deg, rgba(92,208,220,.10), rgba(92,208,220,.02)); border-radius:var(--r); padding:16px 18px; font-weight:500}
.callout strong{color:var(--accent)}
.prio{display:flex; flex-wrap:wrap; gap:6px; align-items:center}
.prio .p{background:var(--surface2); border:1px solid var(--line2); padding:4px 11px; border-radius:7px; font-weight:600; font-size:13.5px}
.prio .gt{color:var(--muted); font-family:var(--mono)}
.prio-label{font-size:11.5px; font-weight:700; color:var(--muted); letter-spacing:.1em; text-transform:uppercase; margin:16px 0 8px}
.prio-label:first-child{margin-top:0}
.verdict{font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; font-weight:700; padding:3px 8px; border-radius:5px; white-space:nowrap}
.verdict.must{background:var(--accent); color:var(--accent-ink)}
.verdict.rec{background:var(--pve-soft); color:var(--pve)}
.verdict.sit{background:var(--ap-soft); color:var(--ap)}
.verdict.skip{background:var(--surface2); color:var(--muted)}
.stig{display:grid; grid-template-columns:minmax(160px,230px) auto minmax(0,1fr); gap:6px 14px; align-items:baseline; padding:11px 0; border-top:1px solid var(--line)}
.stig:first-child{border-top:0; padding-top:0}
.stig .sn{font-weight:600}
.stig .sd{font-size:13.5px; color:var(--muted)}
.setup{display:grid; gap:10px}
.setup .s{background:var(--surface2); border-radius:10px; padding:12px 14px}
.setup .s b{display:block; font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--accent); margin-bottom:4px}
.sec-no{font-family:var(--mono); font-size:13px; color:var(--muted); margin-right:10px}

/* class page */
.class-head{display:flex; gap:20px; align-items:center}
.class-emblem{width:84px; height:84px; flex:none; border-radius:20px; display:grid; place-items:center; color:var(--accent); background:radial-gradient(circle at 30% 20%, rgba(92,208,220,.25), rgba(15,21,36,.9) 70%); border:1px solid rgba(92,208,220,.35); box-shadow:0 0 40px rgba(92,208,220,.15)}
.class-emblem svg{width:46px; height:46px}
.class-switch{display:flex; gap:6px; overflow-x:auto; padding-bottom:4px; margin-top:22px; scrollbar-width:none}
.class-switch::-webkit-scrollbar{display:none}
.class-switch a{flex:none; display:flex; align-items:center; gap:8px; padding:7px 12px 7px 8px; border-radius:10px; border:1px solid var(--line2); background:rgba(15,21,36,.7); color:var(--ink2); font-size:13.5px; font-weight:600}
.class-switch a:hover{text-decoration:none; border-color:var(--muted)}
.class-switch a[aria-current="page"]{border-color:var(--accent); color:var(--ink); background:var(--accent-soft)}
.class-switch svg{width:18px; height:18px; color:var(--accent)}
.toc{list-style:none; margin:0; padding:0; display:grid; gap:2px; font-size:14px}
.toc a{display:block; padding:6px 10px; border-radius:7px; color:var(--ink2); border-left:2px solid transparent}
.toc a:hover{background:var(--surface2); text-decoration:none; color:var(--ink)}
@media (max-width:960px){.toc-wrap{display:none}}

/* home */
.home-strip{margin-top:-64px; position:relative; z-index:2}
.feature-grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px}
.feature{position:relative; display:flex; flex-direction:column; gap:10px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:22px; color:var(--ink); transition:border-color .2s, transform .2s}
.feature:hover{text-decoration:none; border-color:var(--line2); transform:translateY(-2px)}
.feature .ic{width:44px; height:44px; border-radius:12px; display:grid; place-items:center; background:var(--accent-soft); color:var(--accent)}
.feature .ic svg{width:22px; height:22px}
.feature h3{font-size:20px}
.feature p{color:var(--muted); font-size:14.5px}
.feature .go{margin-top:auto; font-size:13.5px; font-weight:700; color:var(--accent)}
@media (max-width:900px){.feature-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media (max-width:560px){.feature-grid{grid-template-columns:minmax(0,1fr)}}
.class-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px}
.class-card{display:flex; flex-direction:column; gap:10px; padding:20px; border-radius:var(--r); background:linear-gradient(180deg, var(--surface2), var(--surface)); border:1px solid var(--line); color:var(--ink); transition:border-color .2s, transform .2s}
.class-card:hover{text-decoration:none; border-color:rgba(92,208,220,.5); transform:translateY(-2px)}
.class-card .ci{width:52px; height:52px; border-radius:14px; display:grid; place-items:center; background:rgba(92,208,220,.1); color:var(--accent)}
.class-card .ci svg{width:28px; height:28px}
.class-card h3{font-size:20px}
.class-card .role{font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--accent-2)}
.class-card p{font-size:13.5px; color:var(--muted)}
@media (max-width:900px){.class-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:420px){.class-grid{grid-template-columns:minmax(0,1fr)}}
.home-progress{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px}
.home-progress a.panel{color:var(--ink); display:grid; gap:10px}
.home-progress a.panel:hover{text-decoration:none; border-color:var(--line2)}
.home-progress .big{font-family:var(--mono); font-size:30px; font-weight:600}
@media (max-width:760px){.home-progress{grid-template-columns:minmax(0,1fr)}}

/* ---------- blog ---------- */
.post-grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px}
@media (max-width:900px){.post-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media (max-width:600px){.post-grid{grid-template-columns:minmax(0,1fr)}}
.post-card{display:flex; flex-direction:column; gap:10px; padding:20px; border-radius:var(--r); background:var(--surface); border:1px solid var(--line); color:var(--ink); transition:border-color .2s, transform .2s}
.post-card:hover{text-decoration:none; border-color:var(--line2); transform:translateY(-2px)}
.post-card h3{font-size:19px; line-height:1.3}
.post-card p{color:var(--muted); font-size:14px}
.post-card .go{margin-top:auto; font-size:13.5px; font-weight:700; color:var(--accent)}
.post-meta{display:flex; flex-wrap:wrap; align-items:center; gap:6px; font-size:12.5px; color:var(--muted)}
.post-meta time{margin-left:auto}
.hero h1.post-title{max-width:30ch; font-size:clamp(28px,3.8vw,42px)}
.prose{min-width:0; max-width:74ch; font-size:16.5px; line-height:1.75; color:var(--ink2)}
.prose > * + *{margin-top:16px}
.prose h2{font-size:clamp(21px,2.4vw,26px); color:var(--ink); margin-top:34px}
.prose h3{font-family:var(--body); font-weight:700; font-size:17px; color:var(--ink); margin-top:24px}
.prose strong{color:var(--ink)}
.prose ul, .prose ol{padding-left:22px; display:grid; gap:8px}
.prose .tablewrap{border:1px solid var(--line); border-radius:10px}
.prose table{font-size:14.5px}
.source-box{margin-top:32px; padding:16px 18px; border:1px solid var(--line2); border-radius:var(--r); background:var(--surface)}
.source-box p + p{margin-top:6px}
.tag-row{display:flex; flex-wrap:wrap; gap:6px}
@media (max-width:600px){.prose{font-size:16px}.prose .tablewrap{border:0}}

/* ---------- official images ---------- */
.cimg{display:block; border-radius:12px; object-fit:cover; flex:none}
.ci.ci-img, .class-card .ci.ci-img{background:none; padding:0; width:auto; height:auto}
.drop-menu .ci.ci-img .cimg{border-radius:9px}
.class-switch .cimg{border-radius:6px}
.class-emblem{background:none; border:0; box-shadow:0 0 40px rgba(92,208,220,.25); overflow:hidden; border-radius:22px}
.class-emblem .cimg{width:100%; height:100%; border-radius:22px}
.class-card{position:relative; overflow:hidden}
.hero-class .container{position:relative; z-index:1}
.hero-art{position:absolute; right:max(24px, calc((100vw - 1180px) / 2)); bottom:-10px; height:112%; max-height:560px; width:auto; z-index:0; pointer-events:none;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 30%); mask-image:linear-gradient(90deg, transparent, #000 30%); filter:drop-shadow(0 20px 40px rgba(0,0,0,.6))}
.hero-class .container > *{max-width:640px}
.hero-class .class-switch{max-width:none}
@media (max-width:900px){.hero-art{opacity:.28; right:-40px; height:100%}}

/* blog covers */
.post-card{padding:0; overflow:hidden}
.post-card > :not(.post-cover){margin-inline:20px}
.post-card .post-meta{margin-top:16px}
.post-card .go{margin-bottom:20px}
.post-cover{display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; border-bottom:1px solid var(--line)}
.post-figure{margin:0 0 8px}
.post-figure img{display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; border-radius:var(--r); border:1px solid var(--line)}
.post-figure figcaption{font-size:12px; color:var(--muted); margin-top:6px}

/* party compositions */
.comp{border:1px solid var(--line); border-radius:var(--r); padding:16px; margin-top:14px; background:var(--bg2)}
.comp-head h3{font-family:var(--display); font-weight:400; font-size:19px; margin:0}
.comp-head p{color:var(--muted); font-size:14px; margin-top:2px}
.party{display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; margin-top:12px}
.slot{display:flex; flex-direction:column; align-items:center; text-align:center; gap:4px; padding:12px 6px; border-radius:12px; background:var(--surface); border:1px solid var(--line); color:var(--ink); border-top:3px solid var(--line2)}
.slot:hover{text-decoration:none; border-color:var(--line2)}
.slot b{font-size:14px}
.slot .slot-role{font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; font-weight:700; color:var(--muted)}
.slot small{font-size:11.5px; color:var(--muted); line-height:1.3}
.slot-tank, .slot-offtank{border-top-color:var(--pve)} .slot-tank .slot-role, .slot-offtank .slot-role{color:var(--pve)}
.slot-heal{border-top-color:var(--ok)} .slot-heal .slot-role{color:var(--ok)}
.slot-support{border-top-color:var(--accent-2)} .slot-support .slot-role{color:var(--accent-2)}
.slot-dps{border-top-color:var(--pvp)} .slot-dps .slot-role{color:var(--pvp)}
.comp-tips{margin:12px 0 0; padding-left:20px; display:grid; gap:4px; font-size:14px; color:var(--ink2)}
@media (max-width:600px){.party{grid-template-columns:repeat(3,minmax(0,1fr))}.slot .cimg{width:44px; height:44px}}
.stars{color:var(--accent-2); letter-spacing:2px; white-space:nowrap} .stars .dim{color:var(--line2)}

/* tier list */
.tier-row{display:grid; grid-template-columns:64px minmax(0,1fr); gap:12px; align-items:stretch; padding:10px 0; border-top:1px solid var(--line)}
.tier-row:first-of-type{border-top:0}
.tier-badge{display:grid; place-items:center; border-radius:12px; font-family:var(--display); font-size:30px; color:#0B0F18; min-height:64px}
.tier-s .tier-badge, .tier-pill.tier-s{background:linear-gradient(135deg,#FFD978,#E4A93A)}
.tier-a .tier-badge, .tier-pill.tier-a{background:linear-gradient(135deg,#8BE3EA,#46B8C4)}
.tier-b .tier-badge, .tier-pill.tier-b{background:linear-gradient(135deg,#A9B8FF,#7187E6)}
.tier-c .tier-badge, .tier-pill.tier-c{background:linear-gradient(135deg,#C9CED9,#8E9AB4)}
.tier-cards{display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:8px}
.tier-card{display:flex; gap:10px; align-items:flex-start; padding:10px; border-radius:10px; background:var(--bg2); border:1px solid var(--line); color:var(--ink)}
.tier-card:hover{text-decoration:none; border-color:var(--line2)}
.tier-card b{display:block; font-size:15px}
.tier-card small{display:block; font-size:12.5px; color:var(--muted); line-height:1.4; margin-top:2px}
.tier-pill{display:inline-grid; place-items:center; width:30px; height:26px; border-radius:6px; font-weight:800; color:#0B0F18; font-size:13px}
.mx-class{display:flex; align-items:center; gap:8px; font-weight:600}
.mx-class .cimg{border-radius:6px}
@media (max-width:600px){.tier-row{grid-template-columns:44px minmax(0,1fr)}.tier-badge{font-size:22px; min-height:44px}.tier-cards{grid-template-columns:minmax(0,1fr)}}

/* ---------- FAQ / SEO text ---------- */
.faq{border-top:1px solid var(--line); background:var(--bg2)}
.faq .container{padding-block:48px}
.faq h2{font-size:clamp(22px,2.6vw,28px); margin-bottom:6px}
.faq > .container > p{color:var(--muted); max-width:70ch; margin-bottom:20px}
.faq details{border:1px solid var(--line); border-radius:var(--r-sm); background:var(--surface); margin-bottom:8px}
.faq summary{cursor:pointer; list-style:none; padding:15px 18px; font-weight:600; display:flex; justify-content:space-between; gap:16px; align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:""; width:9px; height:9px; border-right:2px solid var(--muted); border-bottom:2px solid var(--muted); transform:rotate(45deg); flex:none; transition:transform .2s; margin-top:-4px}
.faq details[open] summary::after{transform:rotate(-135deg); margin-top:4px}
.faq details[open] summary{color:var(--accent)}
.faq .ans{padding:0 18px 16px; color:var(--ink2); max-width:78ch}
.faq .ans p + p{margin-top:8px}

/* ---------- footer ---------- */
footer.site{border-top:1px solid var(--line); background:var(--bg)}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; padding-block:48px 32px}
.foot-grid h4{font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin:0 0 12px; font-family:var(--body)}
.foot-grid ul{list-style:none; margin:0; padding:0; display:grid; gap:8px; font-size:14px}
.foot-grid a{color:var(--ink2)}
.foot-grid a:hover{color:var(--ink)}
.foot-about p{color:var(--muted); font-size:14px; margin-top:12px; max-width:38ch}
.foot-bottom{border-top:1px solid var(--line); padding-block:18px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; font-size:12.5px; color:var(--muted)}
@media (max-width:820px){.foot-grid{grid-template-columns:1fr 1fr}.foot-about{grid-column:1/-1}}

/* ---------- mobile ---------- */
@media (max-width:600px){
  :root{--top-h:32px}
  body{font-size:15px}
  .container{padding-inline:16px}
  .hero .container{padding-block:32px 28px}
  .hero.home .container{padding-block:56px 96px}
  .hero .lead{font-size:15.5px}
  main{padding-block:24px 40px}
  .panel{padding:16px}
  .toolbar{display:grid; grid-template-columns:minmax(0,1fr)}
  .toolbar > *{min-width:0}
  .chips{flex-wrap:nowrap; overflow-x:auto; margin-inline:-16px; padding-inline:16px; scrollbar-width:none; max-width:100vw; overscroll-behavior-x:contain}
  .chips::-webkit-scrollbar{display:none}
  .chip{flex:none; padding:8px 14px}
  .reset-slot{justify-self:end}
  .item{grid-template-columns:auto minmax(0,1fr); padding:13px 14px; gap:12px}
  .stepper{grid-column:2; justify-self:start}
  .stepper button{width:38px; height:38px; font-size:17px}
  .check{width:28px; height:28px}
  .ap-box{grid-template-columns:minmax(0,1fr)}
  .stig{grid-template-columns:minmax(0,1fr) auto}
  .stig .sd{grid-column:1/-1}
  .class-head{gap:14px}
  .class-emblem{width:64px; height:64px; border-radius:16px}
  .class-emblem svg{width:34px; height:34px}
  table.stack thead{display:none}
  table.stack tr{display:block; padding:12px 0; border-bottom:1px solid var(--line)}
  table.stack tr:last-child{border-bottom:0}
  table.stack td{display:grid; grid-template-columns:88px minmax(0,1fr); gap:8px; border:0; padding:3px 0; white-space:normal}
  table.stack td::before{content:attr(data-label); font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); padding-top:2px; font-family:var(--body)}
  table.stack td:first-child{display:block; font-size:15.5px; padding-bottom:4px}
  table.stack td:first-child::before{content:none}
  table.stack td:empty{display:none}
  .faq .container{padding-block:36px}
}
@media (prefers-reduced-motion: reduce){*{transition:none!important}}
