/* v3 시안 이식 — manage 그룹 (발주 #8): 책 관리(13) · 설정(14) · 작가 서가(15) · 문체 프로필(16)
   클래스 접두어 mg-(책 관리) · st-(설정) · au3-(작가 서가) · sp-(문체 프로필). 쉬운보기는 맨 아래 body.easy 묶음. */

/* ── 공통: 머리(제목 + 서재 링크 + 부제) ─────────────────────────────────── */
.mg-hd,.st-hd,.au3-hd,.sp-hd{padding:12px 0 12px;border-bottom:1px solid var(--ln)}
.mg-ht{display:flex;align-items:center;justify-content:space-between;gap:10px}
.mg-ht .lnk,.st-hd .lnk,.sp-hd .lnk{display:inline-flex;align-items:center;flex:none;height:34px;padding:0 14px;border-radius:99px;border:1px solid var(--ln2);font-size:14px;color:var(--ink);text-decoration:none;white-space:nowrap;transition:color .13s,border-color .13s,transform .1s}
.mg-ht .lnk:hover,.st-hd .lnk:hover,.sp-hd .lnk:hover{border-color:rgba(232,195,122,.35);color:var(--gold-text)}
.mg-ht .lnk:active{transform:scale(.96)}
.mg-hd .v3sub{margin-top:4px}
.mg-hd .v3sub .hp{vertical-align:-4px}

/* ══ 13 책 관리 ═══════════════════════════════════════════════════════════ */
.mg-top{display:grid;gap:12px;margin-top:14px}
.mg-drop{min-height:112px;height:auto;gap:6px;padding:16px 14px;border-radius:16px;
  background:radial-gradient(120% 140% at 100% 100%,rgba(232,195,122,.07),transparent 60%),rgba(255,251,240,.02)}
.mg-drop svg{width:30px;height:30px;stroke:var(--gold)}
.mg-drop b{font-weight:600;font-size:16.5px}
.mg-form{display:flex;flex-direction:column;gap:10px}
.mg-fg{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px 10px}
.mg-fa{grid-column:span 8}.mg-fh{grid-column:span 4}.mg-ft{grid-column:span 12}
.mg-up{grid-column:span 12;width:100%;height:48px;padding:0 20px;font-size:17px}
.mg-up svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mg-fg .f .lab{margin-bottom:4px;font-size:13.5px}
.mg-fg .inp{height:44px;padding:0 13px;font-size:16px;border-radius:12px}
.mg-fg .f .lab .hp{margin-left:auto}

.mg-grp{margin-top:6px}
.mg-gh{display:flex;align-items:baseline;gap:8px;margin:18px 2px 10px;padding:4px 0;cursor:pointer;min-height:40px;align-items:center}
.mg-gh h2{margin:0;min-width:0;font-family:var(--serif);font-weight:700;font-size:24px;line-height:1.2;color:#fff8ea;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mg-gh .gs{flex:none;font-size:14.5px;color:var(--dim)}
.mg-gh .gs::before{content:'· ';color:var(--faint)}
.mg-gh .go{flex:none;font-size:14.5px;font-weight:600;color:var(--gold-text)}
.mg-gh .go::before{content:'· ';color:var(--faint);font-weight:400}
.mg-gh .go::after{content:' →'}
.mg-gh .v3chev{margin-left:auto;width:20px;height:20px}
.mg-gh:hover h2{color:var(--gold-text)}
.mg-gh:focus-visible,.mg-card:focus-visible{outline:2px solid var(--gold-line);outline-offset:2px}

.mg-list{display:grid;gap:12px;grid-template-columns:minmax(0,1fr)}
.mg-card{display:flex;flex-direction:column;gap:12px;min-width:0;padding:12px;border-radius:16px;border:1px solid var(--ln2);background:rgba(255,251,240,.025);cursor:pointer;transition:background .13s,border-color .13s}
.mg-card:hover{border-color:rgba(232,195,122,.26)}
.mg-top2{display:flex;gap:14px;min-width:0}
.mg-top2 .cv{flex:none;width:92px;align-self:flex-start}
.mg-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.mg-info h3{margin:0;font-family:var(--serif);font-weight:700;font-size:19px;line-height:1.3;color:#fff8ea;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:keep-all}
.mg-meta{display:flex;align-items:center;flex-wrap:wrap;gap:2px 4px;min-width:0;font-size:14px;color:var(--dim)}
.mg-meta .hp{margin-left:2px}
.mg-pills{display:flex;flex-wrap:wrap;gap:6px}
.mg-pills:empty{display:none}
.mg-pg{display:flex;align-items:center;gap:10px}
.mg-pg:empty{display:none}
.mg-pg .bar,.mg-pgw .bar{flex:1;height:6px}
.mg-pg .pc,.mg-pgw .pc{flex:none;font-size:14px;color:var(--dim);font-variant-numeric:tabular-nums}

.mg-acts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.mg-c{display:contents}
.mg-acts .btn.mg-b{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;min-width:0;height:56px;padding:0 2px;border-radius:12px;font-size:12.5px;font-weight:700;line-height:1.1;color:var(--ink);background:rgba(255,251,240,.03)}
.mg-b svg{flex:none;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mg-b span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mg-acts .btn.mg-b.gld{color:var(--gold-text);border-color:rgba(232,195,122,.55);background:var(--gold-soft)}
.mg-acts .btn.mg-b.gld:hover:not(:disabled){background:rgba(232,195,122,.16);color:var(--gold-text)}
.mg-acts .btn.mg-b.dng{color:var(--dim)}
.mg-acts .btn.mg-b.dng:hover:not(:disabled){color:var(--danger);border-color:rgba(244,63,94,.4)}
.mg-acts .btn.mg-b:disabled{opacity:.4}

.mg-more{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding-top:10px;border-top:1px dashed var(--ln2)}
.mg-more .hold{position:relative;height:32px;display:inline-flex;align-items:center;padding:0 11px;font-size:13.5px}
.mg-s{position:relative;flex:none;height:32px;padding:0 11px;border-radius:8px;font:700 13.5px/1 var(--sans);color:var(--dim);background:rgba(255,251,240,.05);border:1px solid var(--ln2);cursor:pointer;transition:color .13s,border-color .13s,transform .1s}
.mg-s::after,.mg-more .hold::after{content:'';position:absolute;inset:-4px -2px}
.mg-s:hover{color:var(--gold-text);border-color:rgba(232,195,122,.3)}
.mg-s.dng:hover{color:var(--danger);border-color:rgba(244,63,94,.4)}
.mg-s:active,.mg-more .hold:active{transform:scale(.96)}
.mg-pgw{display:flex;align-items:center;gap:10px;flex:1;min-width:120px}
.mg-card:active{background:rgba(232,195,122,.05)}

@media(max-width:768px){
  .mg-fg .inp{height:44px}
  .mg-up.btn.md{height:48px;padding:0 20px}
  .mg-info h3{font-size:18px}
  .mg-acts .btn.mg-b{height:56px}
  .mg-more .hold{font-size:13.5px}
}
@media(min-width:900px){
  .mg-hd{padding-bottom:16px}
  .mg-top{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:stretch;gap:16px}
  .mg-drop{height:100%}
  .mg-fa{grid-column:span 5}.mg-fh{grid-column:span 3}.mg-ft{grid-column:span 4}
  .mg-fg .inp{height:46px}
  .mg-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mg-top2 .cv{width:104px}
}
@media(min-width:1200px){.mg-top2 .cv{width:112px}}

/* ══ 쉬운보기 — 책 관리 ═══════════════════════════════════════════════════ */
body.easy .v3h1,body.easy .mg-gh h2,body.easy .mg-info h3{font-family:var(--sans)}
body.easy .mg-drop{background:rgba(255,251,240,.03)}
body.easy .mg-fa,body.easy .mg-fh{grid-column:span 12}
body.easy .mg-card{background:#1a1712;box-shadow:none}
body.easy .mg-info h3{font-size:19px;-webkit-line-clamp:3}
body.easy .mg-acts{grid-template-columns:repeat(2,minmax(0,1fr))}
body.easy .mg-acts .btn.mg-b{flex-direction:row;gap:8px;height:52px;font-size:15px}
body.easy .mg-acts .btn.mg-b span{white-space:normal;line-height:1.15;overflow:visible}
body.easy .mg-s,body.easy .mg-more .hold{height:40px;font-size:15px}
body.easy .mg-gh{flex-wrap:wrap;row-gap:0}
body.easy .mg-gh .go::after{content:''}
body.easy .mg-drop b{white-space:normal;overflow:visible}

/* ══ 14 설정 ══════════════════════════════════════════════════════════════ */
.st-hd{margin-bottom:12px}
.st-ht{display:flex;align-items:center;justify-content:space-between;gap:10px}
.st-hd .v3sub{margin-top:4px}
.st-card{min-width:0;padding:14px;border-radius:16px;border:1px solid var(--ln2);background:rgba(255,251,240,.025)}
.st-ez{display:flex;align-items:center;gap:8px;padding:0 12px 0 0;margin:0 0 12px}
.st-ez .ezrow{flex:1;min-width:0;margin:0;min-height:72px;padding:12px 6px 12px 16px;border:0;background:transparent;border-radius:16px;gap:14px}
.st-aa{flex:none;font-family:var(--serif);font-size:34px;line-height:1;color:#fff8ea;width:44px}
.st-ez .ezrow .ezt b{font-size:17.5px}
.st-ez .ezrow .ezt span{font-size:14.5px}
.st-ez .ezrow .ezsw{background:#3b362c}
.st-ez .ezrow[aria-checked="true"] .ezsw{background:var(--gold)}
.st-ez .ezrow[aria-checked="true"] .ezsw::after{background:#fff8ea}
.st-ez .hp{margin:0;flex:none}

.st-grid{display:grid;gap:12px;grid-template-columns:minmax(0,1fr)}
.st-warn{margin-bottom:12px;font-size:15px;color:var(--dim)}
.st-deg{text-align:center;padding:22px 16px}
.st-deg b{display:block;font-size:17px;color:var(--gold);margin-bottom:6px}
.st-deg p{margin:0;font-size:15px;color:var(--dim)}

.st-ih{display:flex;align-items:center;gap:12px;min-width:0}
.st-ih img{flex:none;width:64px;height:64px;border-radius:14px;border:1px solid var(--ln2)}
.st-ih .ib{flex:1;min-width:0}
.st-ih .ib b{display:block;font-family:var(--serif);font-size:20px;color:#fff8ea;margin-bottom:2px}
.st-ip{margin-top:10px}
.st-ip p{margin:0;font-size:14.5px;line-height:1.45;color:var(--dim)}
.st-inst>.step{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.st-inst>.step span{font-size:14px;font-weight:700;padding:6px 10px;border-radius:8px;background:var(--gold-soft);color:var(--gold-text);border:1px solid rgba(232,195,122,.3)}
.st-inst>.step i{font-style:normal;color:var(--faint);align-self:center}
.st-ib{width:100%;height:44px;margin-top:12px;font-size:16px}

.st-eh{display:flex;align-items:center;gap:12px;min-width:0}
.st-et{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.st-et b{font-family:var(--serif);font-size:20px;line-height:1.25;color:#fff8ea}
.st-et b i{display:block;font-style:normal;font-family:var(--sans);font-weight:400;font-size:14px;color:var(--dim)}
.st-meta{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:10px;font-size:13.5px;color:var(--dim)}
.st-eh .hp{margin:0;flex:none}
.st-note{margin:10px 0 0;font-size:14px;color:var(--dim)}
.st-gl{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;border:1px solid var(--ln2);background:rgba(255,251,240,.04)}
.st-gl svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.st-gl.cx{color:#f3eee3}.st-gl.cl{color:#e0825a}
.st-gl.sm{width:20px;height:20px;border:0;background:none;border-radius:0}.st-gl.sm svg{width:17px;height:17px}
.st-gg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:12px 0 14px}
.st-gg .mkl span{white-space:nowrap;font-size:12.5px}
.st-gg .gauge{margin:0;padding:0 12px}
.st-gg .gauge:first-child{padding-left:0}
.st-gg .gauge+.gauge{padding-right:0;border-left:1px solid var(--ln2)}
.st-gg .gauge .gl{font-size:13.5px}
.st-eng .kv{margin-top:8px;font-size:12px}

.st-orc{padding:10px}
.st-or-l{display:flex;flex-direction:column;gap:8px}
.st-or{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:6px 8px;padding:10px 12px;border-radius:12px;border:1px solid var(--ln2);background:rgba(255,251,240,.02)}
.st-or .n{font-size:13.5px;color:var(--faint);font-variant-numeric:tabular-nums}
.st-or>b{font-size:16px;color:#fff8ea}
.st-or .flow{grid-column:2;display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.st-nx{display:inline-flex;align-items:center;gap:6px;max-width:100%;min-width:0}
.st-or .arr{color:var(--faint)}
.st-pill{display:inline-flex;align-items:center;gap:5px;max-width:100%;min-height:32px;padding:0 10px 0 8px;border-radius:99px;border:1px solid var(--ln2);background:rgba(255,251,240,.04);font-size:13.5px;font-weight:600;color:var(--ink)}
.st-pill>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-pill.b{color:var(--dim)}

.st-form h3{display:flex;align-items:center;margin:0 0 12px;font-family:var(--serif);font-size:19px;color:#fff8ea}
.st-frs{display:flex;flex-direction:column;gap:10px}
.st-fr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 8px;padding:10px;border-radius:12px;border:1px solid var(--ln2);background:rgba(255,251,240,.02)}
.st-fr .rl{grid-column:1/-1;font-size:15px;color:#fff8ea}
.st-fr .so{grid-column:1/-1}
.st-fr .inp{height:42px;padding:0 12px;font-size:15px;border-radius:10px}
.st-cut{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 10px;margin-top:14px;align-items:end}
.st-cut .lab{font-size:13.5px;margin-bottom:4px}
.st-cut .lab label{white-space:nowrap}
.st-cut .inp{height:42px;padding:0 12px;font-size:16px;border-radius:10px}
.st-save{grid-column:1/-1;width:100%;height:48px;font-size:17px}

@media(max-width:768px){
  .st-fr .inp,.st-cut .inp{height:42px;font-size:15.5px;padding:0 12px}
  .st-pill{font-size:13.5px}
  .st-save.btn.md{height:48px;padding:0 20px}
}
@media(min-width:900px){
  .st-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .st-inst,.st-deg{grid-column:1/-1}
  .st-inst{display:flex;align-items:center;gap:16px}
  .st-inst .st-ih{flex:none}
  .st-ip{flex:1;margin:0}
  .st-inst>.step,.st-ib{margin:0}
  .st-ib{width:220px}
  .st-or{grid-template-columns:34px 150px minmax(0,1fr);padding:10px 14px}
  .st-or .flow{grid-column:3}
  .st-fr{grid-template-columns:120px minmax(0,1.4fr) minmax(0,1fr) 130px;align-items:center}
  .st-fr .rl{grid-column:1}.st-fr .so{grid-column:2}
  .st-cut{grid-template-columns:150px 150px 1fr;justify-items:start}
  .st-save{grid-column:3;width:200px;justify-self:end}
}

/* ── 쉬운보기 — 설정 ── */
body.easy .st-aa{font-family:var(--sans);font-weight:700}
body.easy .st-card{background:#1a1712}
body.easy .st-et b,body.easy .st-ih .ib b,body.easy .st-form h3,body.easy .v3sec h2{font-family:var(--sans)}
body.easy .st-gg{grid-template-columns:minmax(0,1fr);gap:12px}
body.easy .st-gg .gauge,body.easy .st-gg .gauge:first-child,body.easy .st-gg .gauge+.gauge{padding:0;border:0}
body.easy .st-or{padding:12px}
body.easy .st-fr .inp,body.easy .st-cut .inp{height:52px;font-size:16px}
body.easy .st-fr{grid-template-columns:minmax(0,1fr)}
body.easy .st-fr .so,body.easy .st-fr .rl{grid-column:auto}
body.easy .st-cut{grid-template-columns:minmax(0,1fr)}
body.easy .st-ih img{display:none}
body.easy .st-ih{flex-wrap:wrap}

.st-fr select.inp,.st-cut select.inp{padding-top:0;padding-bottom:0;line-height:normal;display:block}

/* ══ 15 작가 서가 ═════════════════════════════════════════════════════════ */
.au3-hd{display:flex;align-items:center;gap:16px;padding:14px 0 6px;min-width:0}
.au3-av{flex:none;display:grid;place-items:center;width:76px;height:76px;border-radius:50%;font-family:var(--serif);font-weight:700;font-size:38px;line-height:1;color:#fff8ea;border:2px solid var(--gold);background:radial-gradient(100% 100% at 50% 0%,rgba(232,195,122,.16),rgba(232,195,122,.03));box-shadow:0 0 22px rgba(232,195,122,.18)}
.au3-nm{flex:1;min-width:0}
.au3-nm h1{margin:0 0 10px;font-family:var(--serif);font-weight:700;font-size:28px;line-height:1.2;color:#fff8ea;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.au3-st{display:flex;gap:6px;flex-wrap:wrap}
.au3-pl{display:inline-flex;align-items:baseline;gap:6px;min-height:36px;padding:0 12px;align-items:center;border-radius:99px;border:1px solid var(--ln2);background:rgba(255,251,240,.03);font-size:14px;color:var(--ink)}
.au3-pl i{font-style:normal;font-size:13.5px}
.au3-pl b{font-family:var(--serif);font-size:19px;line-height:1;color:var(--gold-text)}
.au3-sh{margin:20px 0 10px}
.au3-sh h2{display:flex;align-items:center;gap:8px;margin:0;font-family:var(--serif);font-weight:700;font-size:21px;color:#fff8ea}
.au3-list{display:flex;flex-direction:column;gap:12px}
.au3-card{min-width:0;padding:12px;border-radius:16px;border:1px solid var(--ln2);background:rgba(255,251,240,.025)}
.au3-bk{display:flex;gap:12px;min-width:0}
.au3-bk .cv,.au3-kid .cv{flex:none;align-self:flex-start;width:88px}
.au3-bk .t{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding-top:2px}
.au3-bk h3{margin:0;font-family:var(--serif);font-weight:700;font-size:21px;line-height:1.28;color:#fff8ea;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:keep-all}
.au3-bk .s,.au3-kid .s{font-size:14px;color:var(--dim)}
.au3-go,.au3-rd{display:inline-flex;align-items:center;gap:6px;min-height:40px;font-size:15.5px;font-weight:700;color:var(--gold-text);text-decoration:none}
.au3-go{margin-top:auto}
.au3-rd{font-size:14.5px}
.au3-go:active,.au3-rd:active{opacity:.7}
.au3-kids{position:relative;margin:8px 0 0 12px;padding-left:22px}
.au3-kids::before{content:'';position:absolute;left:0;top:-4px;bottom:26px;border-left:1px solid var(--gold-line)}
.au3-kid{position:relative;display:flex;align-items:flex-start;gap:12px;min-width:0;margin-top:8px;padding:10px;border-radius:12px;border:1px solid var(--ln);background:rgba(255,251,240,.03);cursor:pointer;transition:background .13s,border-color .13s}
.au3-kid::before{content:'';position:absolute;left:-22px;top:46px;width:22px;border-top:1px solid var(--gold-line)}
.au3-kid::after{content:'';position:absolute;left:-25px;top:43px;width:6px;height:6px;border-radius:50%;background:var(--gold)}
.au3-kid:hover{border-color:rgba(232,195,122,.26)}
.au3-kid:active{background:rgba(232,195,122,.06)}
.au3-kid.hide{display:none}
.au3-kid .cv{width:60px}
.au3-kid .t{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.au3-kid .l1{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0}
.au3-kid .l1 b{font-family:var(--serif);font-size:18px;line-height:1.3;color:#fff8ea;min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:keep-all}
.au3-tag{flex:none;display:inline-flex;align-items:center;height:26px;padding:0 9px;border-radius:7px;border:1px solid var(--gold-line);font-size:13px;font-weight:700;color:var(--gold-text)}
.au3-tag.warm{border-color:rgba(224,130,90,.55);color:#f0a283}
.au3-kid .pm{font-size:13.5px;line-height:1.4;color:var(--dim);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.au3-chev{flex:none;align-self:center;color:var(--faint)}
.au3-more{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;margin-top:8px;padding:0 14px;border-radius:12px;border:1px dashed var(--ln2);font-size:15.5px;font-weight:600;color:var(--dim);cursor:pointer}
.au3-more:hover{color:var(--gold-text)}
.au3-more:active{background:rgba(232,195,122,.06)}
.au3-flat .au3-kids{margin:0;padding-left:0}
.au3-flat .au3-kids::before,.au3-flat .au3-kid::before,.au3-flat .au3-kid::after{display:none}
.au3-flat .au3-kid:first-child{margin-top:0}
.au3-end{height:76px}
@media(min-width:900px){
  .au3-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .au3-flat{max-width:640px}
}
body.easy .au3-nm h1,body.easy .au3-bk h3,body.easy .au3-kid .l1 b,body.easy .au3-sh h2,body.easy .au3-av{font-family:var(--sans)}
body.easy .au3-bk h3{font-size:22px}
body.easy .au3-kid .l1 b{font-size:19px}
body.easy .au3-bk .s,body.easy .au3-kid .s{font-size:15.5px}
body.easy .au3-kid .pm{font-size:15px;-webkit-line-clamp:2}
body.easy .au3-go,body.easy .au3-rd{min-height:48px;font-size:17px}
body.easy .au3-kid::before{top:36px}body.easy .au3-kid::after{top:33px}
body.easy .au3-more{min-height:52px;font-size:17px}
body.easy .au3-go{margin-top:6px}

/* ══ 16 문체 프로필 ════════════════════════════════════════════════════════ */
.sp-hd{margin-bottom:12px}
.sp-ht{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.sp-ht .v3h1{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:28px}
.sp-ht .v3h1 small{font-family:var(--sans);font-weight:600;font-size:15px;color:var(--faint)}
.sp-nav{display:flex;gap:8px;flex-wrap:wrap}
.sp-hd .v3sub{margin-top:6px}
.sp-cols{display:grid;gap:12px;grid-template-columns:minmax(0,1fr);align-items:start}
.sp-col{display:flex;flex-direction:column;gap:12px;min-width:0}
.sp-card{min-width:0;padding:14px 12px;border-radius:16px;border:1px solid var(--ln2);background:rgba(255,251,240,.025)}
.sp-ch{display:flex;align-items:center;justify-content:space-between;gap:8px 10px;flex-wrap:wrap;margin-bottom:12px}
.sp-ch h3{display:flex;align-items:center;gap:8px;margin:0;font-family:var(--serif);font-weight:700;font-size:20px;color:#fff8ea}
.sp-ch .hp{margin:0}
.sp-bd .bdg{margin:0}
.sp-n{font-family:var(--serif);font-size:19px;color:var(--gold-text)}
.sp-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sp-t{display:flex;flex-direction:column;gap:2px;min-width:0;padding:10px 12px;border-radius:12px;border:1px solid var(--ln2);background:rgba(255,251,240,.02)}
.sp-t:last-child:nth-child(odd){grid-column:1/-1}
.sp-t span{font-size:13.5px;color:var(--dim)}
.sp-t b{font-family:var(--serif);font-weight:700;font-size:28px;line-height:1.2;color:var(--gold-text);font-variant-numeric:lining-nums}
.sp-t b small{margin-left:2px;font-family:var(--sans);font-weight:600;font-size:15px;color:var(--gold-dim,var(--gold-text))}
.sp-lg{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--dim)}
.sp-lg i{display:inline-block;width:16px;height:8px;border-radius:2px;background:rgba(232,195,122,.35);border:1px dashed var(--gold-line)}
.sp-lg u{display:inline-block;width:1px;height:12px;margin:0 4px 0 8px;background:var(--ln2)}
.sp-hw{position:relative}
.sp-hist{position:relative;height:150px;gap:5px;margin:0;padding-top:34px;border-bottom:1px solid var(--ln2);background:repeating-linear-gradient(to top,transparent 0,transparent 31px,rgba(255,251,240,.05) 31px,rgba(255,251,240,.05) 32px)}
.sp-hist .col{position:relative;z-index:1}
.sp-hist .col i{background:linear-gradient(180deg,#e8c37a,#b58a3f);border-radius:3px 3px 0 0;opacity:.95}
.sp-hist .col em{font-style:normal;font-size:11.5px;line-height:1;text-align:center;color:var(--dim);margin-bottom:3px}
.sp-band{position:absolute;top:0;bottom:0;z-index:0;border:1px dashed var(--gold-line);border-bottom:0;background:rgba(232,195,122,.09);display:flex;justify-content:space-between;align-items:flex-start;padding:1px 4px;font-size:11.5px;color:var(--gold-text);pointer-events:none}
.sp-hl{gap:3px;margin-top:6px;font:400 11px/1.2 var(--sans);white-space:nowrap;letter-spacing:-.02em}
.sp-act{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.sp-act .btn{height:44px;font-size:16px}
.sp-en{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sp-ep{min-width:0;padding:8px 10px 6px;border-radius:12px;border:1px solid var(--ln2);background:rgba(255,251,240,.02)}
.sp-ep .sub{margin:0 0 4px;font-family:var(--sans);font-size:15px;letter-spacing:0;color:#fff8ea}
.sp-ep .hl{grid-template-columns:34px minmax(0,1fr) 38px;gap:6px;padding:4px 0;font-size:13.5px}
.sp-ep .hl span:last-child{font:400 12.5px var(--sans);font-variant-numeric:tabular-nums}
.sp-ep .hl .bar{height:8px;border-radius:99px;background:rgba(255,251,240,.07);overflow:hidden}
.sp-ep .hl .bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#b58a3f,#e8c37a)}
.sp-card .cl{min-height:40px;align-items:center;font-size:15px}
.sp-guide{max-width:none;padding:12px;border-radius:12px;border:1px solid var(--ln2);background:rgba(255,251,240,.02);font-size:15.5px;line-height:1.75;color:var(--ink)}
.sp-card .ex summary{min-height:48px}
.sp-card .ex .txt{margin-left:0;font-size:15.5px;line-height:1.8}
@media(min-width:900px){
  .sp-cols{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:16px}
  .sp-col{gap:16px}
  .sp-card{padding:16px}
  .sp-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sp-t:last-child:nth-child(odd){grid-column:auto}
  .sp-hist{height:170px}
  .sp-hd{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;align-items:center}
  .sp-hd .v3sub{grid-column:1}
  .sp-act{grid-column:2;grid-row:1/3;margin:0;grid-template-columns:auto auto}
  .sp-act .btn{padding:0 20px}
}
body.easy .sp-ch h3,body.easy .sp-t b,body.easy .sp-n,body.easy .sp-ht .v3h1{font-family:var(--sans)}
body.easy .sp-ht .v3h1{font-size:26px}
body.easy .sp-t span,body.easy .sp-ep .hl,body.easy .sp-lg{font-size:15px}
body.easy .sp-t b{font-size:26px}
body.easy .sp-en{grid-template-columns:minmax(0,1fr)}
body.easy .sp-ep .hl{grid-template-columns:48px minmax(0,1fr) 48px;font-size:16px}
body.easy .sp-ep .hl span:last-child{font-size:15px}
body.easy .sp-guide{font-size:16.5px}
body.easy .sp-hist .col em{font-size:12.5px}
body.easy .sp-hl{font-size:11.5px}
body.easy .sp-act .btn{height:52px;font-size:17px}
