/* MDArchive 디자인 시스템 (taste.css, 2026-10-22)
   모든 화면에서 맨 마지막에 읽는다. 배치 뼈대는 각 화면 CSS가 맡고, 이 파일은 "보이는 규칙"을 한곳에서 정한다.
   기준 문서: hyeol-site/UI-DESIGN-SYSTEM.txt

   1. 색 — 바탕 3단(ground / surface / raised), 글자 3단(text / muted / faint), 강조색 하나(accent).
      순위·효과 색(빨강·노랑·초록)은 내용에만. 순위 칸과 효과 칸은 색 바탕을 유지한다(사용자 결정 2026-10-22).
   0. 최우선: 게임하면서 왔다 갔다 보는 화면이라 PC·폰 모두 한눈에 들어오게 촘촘하게(사용자 결정 2026-10-22).
      예쁨보다 정보 밀도. 폰도 카드 칸은 최소 2열.
   2. 글자 5단 — 화면 제목 24 / 구역 제목 17 / 항목 이름 14 / 본문 13 / 보조 12 (폰: 20 / 16 / 14 / 13 / 12).
      굵기는 제목 세 단계 700, 본문 400, 보조 500. 11px 아래는 쓰지 않는다.
   3. 간격 — 4 / 8 / 12 / 16 / 24 / 32. 구역 사이 24(폰 16), 구역 안 12, 항목 안 8.
   4. 모양 — 칸 모서리 12, 단추·입력 8(높이 36), 작은 표시 6. 선은 1px 가는 선 하나.
      제목 굵기 650·자간 -0.02em, 글꼴은 Pretendard 하나(로고만 Space Grotesk). 쉬고 있는 것에는 그림자·왼쪽 막대·위쪽 색 줄 없음.
      선택은 바탕 한 단계 + 굵은 글자. 떠 있는 것(메뉴·대화상자)만 그림자.
   5. 대문 사진 영역(.hy-hero)은 사용자가 직접 다듬는 곳이라 건드리지 않는다. */

:root {
 --t-ground:#0b0e13; --t-surface:#12161d; --t-raised:#1a1f28; --t-active:#242b37;
 --t-line:#1f2530; --t-control:#303846;
 --t-text:#edf1f7; --t-muted:#aab4c3; --t-faint:#8a94a5;
 --t-accent:#b3c6f2; --t-accent-ink:#0f1a2e;
 --t-gutter:clamp(16px,3.9vw,56px); --t-control-h:36px; --t-ease:cubic-bezier(.2,.7,.2,1);
 --t-font:'Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
 --t-red:#e48d98; --t-yellow:#d9be72; --t-green:#78c7a1;

 --t-fs-page:24px; --t-fs-section:17px; --t-fs-item:14px; --t-fs-body:13px; --t-fs-meta:12px;
 --t-lh-tight:1.3; --t-lh-body:1.5;
 --t-s1:4px; --t-s2:8px; --t-s3:12px; --t-s4:16px; --t-s5:24px; --t-s6:32px; --t-s7:48px;
 --t-radius:12px; --t-control-radius:8px; --t-chip-radius:6px;
}
html[data-theme="light"] {
 --t-ground:#f4f5f7; --t-surface:#ffffff; --t-raised:#eef1f5; --t-active:#e3e8ef;
 --t-line:#e2e6ec; --t-control:#c6ced9;
 --t-text:#1d2a3c; --t-muted:#46566c; --t-faint:#55647a;
 --t-accent:#365d9d; --t-accent-ink:#ffffff;
 --t-red:#a8344a; --t-yellow:#7a5810; --t-green:#22674a;
}
@media (max-width:650px) {
 :root { --t-fs-page:20px; --t-fs-section:16px; --t-s7:24px; }
}

/* 숫자는 자리 폭을 맞춘다 (목록 개수, 날짜, 장수) */
body { font-variant-numeric:tabular-nums; }

/* ── 2. 글자 위계 ─────────────────────────────────────── */
/* 화면 제목 */
html body :is(.heading h1,.hy-heading h1,.hub-heading h1,.nt-head h1,main > h1,main > header h1) { font-size:var(--t-fs-page)!important; line-height:var(--t-lh-tight)!important; font-weight:700!important; letter-spacing:-.02em!important; color:var(--t-text)!important; }
html body :is(.heading p,.hy-sub,.hub-heading p) { font-size:var(--t-fs-body)!important; color:var(--t-muted)!important; }
/* 구역 제목: 드롤·드로우 패트랩 / 패와 턴에 따른 분기 / 하루우라라 · 퍼지 */
html body :is(.hy-overview h3,.hy-tactics h3,.hy-flow > summary,.hy-trap-heading b) { font-size:var(--t-fs-section)!important; line-height:var(--t-lh-tight)!important; font-weight:700!important; letter-spacing:-.01em; color:var(--t-text)!important; }
html body .hy-overview h3,html body .hy-tactics h3 { margin:0 0 var(--t-s2)!important; }
html body .hy-trap > small { font-size:var(--t-fs-meta)!important; line-height:1.5!important; color:var(--t-muted)!important; }
/* 항목 이름: 카드 이름, 효과 칸 이름 (순위색 글자는 그대로) */
html body .hy-matchup summary strong { font-size:var(--t-fs-item)!important; line-height:var(--t-lh-tight)!important; font-weight:700!important; }
html body .hy-card .hy-tile strong { font-size:var(--t-fs-item)!important; line-height:var(--t-lh-tight)!important; font-weight:700!important; }
/* 본문 */
html body .hy-card .hy-ctile :is(p,.hy-copy-paragraph),html body .hy-tactics p { font-size:var(--t-fs-body)!important; line-height:var(--t-lh-body)!important; }
html body .hy-card :is(.hy-note,.hy-secnote) { font-size:var(--t-fs-body)!important; line-height:var(--t-lh-body)!important; color:var(--t-muted)!important; }
/* 보조: 순위 표시, 효과 판정, 출처, 설명 한 줄 */
html body .hy-sevlabel { font-size:var(--t-fs-meta)!important; font-weight:700!important; border-radius:var(--t-chip-radius)!important; padding:3px 8px!important; }
html body .hy-matchup summary b { font-size:13px!important; font-weight:700!important; }
html body :is(.hy-overview > small,.hy-matchup summary::after) { font-size:var(--t-fs-meta)!important; color:var(--t-faint)!important; }
html body .hy-sources summary { font-size:var(--t-fs-meta)!important; color:var(--t-muted)!important; } /* 색 바탕 위라 한 단계 밝게 */

/* ── 3. 구역 간격: 구역 사이를 구역 안보다 확실히 넓게 ─────── */
html body .hy-card .hy-trap-heading { margin-bottom:var(--t-s1)!important; }

/* ── 위쪽 막대: 장식 없는 한 줄 ─────────────────────────── */
html body .topbar { background:var(--t-ground)!important; border-bottom:1px solid var(--t-line)!important; box-shadow:none!important; }
html body .brand:hover .brand-symbol { filter:none; }
html body .brand-kicker { font-size:11px!important; letter-spacing:.14em!important; color:var(--t-muted)!important; }
html body .topbar .viewnav { background:transparent!important; border:0!important; box-shadow:none!important; padding:0; gap:2px; }
html body .topbar .viewnav a { color:var(--t-muted); border:0!important; box-shadow:none!important; border-radius:var(--t-control-radius); transition:background-color .15s,color .15s; }
html body .topbar .viewnav a:hover { color:var(--t-text); background:var(--t-raised); }
html body .topbar .viewnav a.active,
html body .topbar .viewnav a[aria-current="page"] { background:var(--t-active)!important; color:var(--t-text)!important; font-weight:700; box-shadow:none!important; }
html body .local-status { color:var(--t-muted); }
html body .site-tools .notice-link,
html body .site-tools .theme-toggle { background:transparent; border-color:var(--t-control); box-shadow:none!important; }
html body .site-tools .notice-link.active,
html body .site-tools .notice-link:hover,
html body .site-tools .theme-toggle:hover { background:var(--t-raised); border-color:var(--t-control); }
.t-ico { width:15px; height:15px; flex:none; display:inline-block; vertical-align:-2px; }

/* ── 단추: 평평하게, 강조색은 주요 동작 하나에만 ─────────── */
html body :is(button,.download-link,.file-label,a.button) { box-shadow:none; text-shadow:none; }
html body :is(button.primary,#addRecord,#newDeck,button.accent) { background:var(--t-accent)!important; color:var(--t-accent-ink)!important; border-color:transparent!important; box-shadow:none!important; }
html body :is(button.primary,#addRecord,#newDeck,button.accent):hover { filter:brightness(1.06); }


/* 떠 있는 단추(맨 위로·메뉴·화면): 따로 떠 있던 세 개를 한 묶음으로 */
html body:not(.sim-page) .site-navigation-tools { gap:0!important; padding:2px; background:var(--t-surface); border:1px solid var(--t-control); border-radius:999px; transition:transform .25s ease, opacity .25s ease; }
html body:not(.sim-page) .site-navigation-tools :is(.hy-totop, details > summary) { box-shadow:none!important; background:transparent!important; border:0!important; border-radius:999px!important; min-height:40px; display:inline-flex; align-items:center; gap:6px; padding:8px 14px; color:var(--t-text); }
html body:not(.sim-page) .site-navigation-tools .hy-totop { padding:8px 12px; }
html body:not(.sim-page) .site-navigation-tools :is(.hy-totop, details > summary):hover,
html body:not(.sim-page) .site-navigation-tools details[open] > summary { background:var(--t-raised)!important; }
html body .site-menu-panel { background:var(--t-surface)!important; border-color:var(--t-control)!important; }
html body .site-menu-panel button[aria-pressed=true] { background:var(--t-active)!important; color:var(--t-text)!important; font-weight:700; }

/* 공지 화면 탭 */
html body .nt-tabs button { box-shadow:none!important; }

/* ── 영문 대문자 머리말 없애기 ───────────────────────────── */
html body .hub-heading .eyebrow { display:none; } /* taste-skill-ignore: 숨기는 규칙 */
html body .corner { font-size:11px!important; letter-spacing:0!important; color:var(--t-muted)!important; }

/* ── 혈자리: 목록 — 선택은 바탕 한 단계 + 굵은 이름 ──────── */
html body .hy-list { background:var(--t-surface)!important; border:1px solid var(--t-line)!important; }
html body .hy-list a.hy-item { border:0!important; box-shadow:none!important; border-radius:var(--t-control-radius)!important; }
html body .hy-list a.hy-item.active { background:var(--t-active)!important; color:var(--t-text)!important; }
html body .hy-list a.hy-item.active .hy-item-name { font-weight:700; }
html body .hy-list a.hy-item:not(.active):hover { background:var(--t-raised)!important; }
html body .hy-list a.hy-item small { background:transparent!important; border:0!important; padding:0!important; min-width:2ch; text-align:right; color:var(--t-faint)!important; font-size:var(--t-fs-meta)!important; font-weight:500; }
html body .hy-list a.hy-item .hy-dot { background:var(--t-accent)!important; width:6px!important; height:6px!important; box-shadow:none!important; }

/* 내 덱 정하기 */
html body .my-set { background:var(--t-surface)!important; border:1px solid var(--t-control)!important; border-radius:var(--t-radius)!important; color:var(--t-text)!important; box-shadow:none!important; }
html body .my-set:hover { background:var(--t-raised)!important; }
html body .my-set small { color:var(--t-muted)!important; font-size:var(--t-fs-meta)!important; }
html body .my-new-badge { font-size:11px!important; }

/* 드롤·G 효과 칸: 색 바탕은 유지, 위쪽 색 줄과 테두리만 없앤다 */
html body .hy-overview .hy-matchup { border:0!important; border-radius:var(--t-radius)!important; box-shadow:none!important; }
html[data-theme="light"] body .hy-overview .hy-matchup.is-low { background:#e3f1e9!important; }
html[data-theme="light"] body .hy-overview .hy-matchup.is-conditional { background:#f5ecd2!important; }
html[data-theme="light"] body .hy-overview .hy-matchup.is-high { background:#f6e1e6!important; }

/* 패트랩 카드 칸: 순위색 바탕 유지, 카드 그림 그림자만 뺀다 */
html body .hy-card .hy-ctile img { box-shadow:none!important; }

/* 덱별 참고 같은 보조 상자: 바탕 한 단계만 */
html body .hy-card :is(.hy-note,.hy-secnote):not(:empty) { background:var(--t-surface)!important; border:0!important; }
html body .hy-tactics,
html body .hy-card .hy-flow { background:var(--t-surface)!important; border:1px solid var(--t-line)!important; box-shadow:none!important; }

/* ── 처음 온 사람 안내: 첫 화면 소개 + 상대 덱 화면의 메모 안내 ─────── */
html body .hy-empty.hy-intro { border:0!important; background:transparent!important; padding:0!important; text-align:left!important; display:block!important; }
html body .hy-intro .hy-intro-main { background:var(--t-surface); border:1px solid var(--t-line); border-radius:var(--t-radius); padding:var(--t-s5); margin-bottom:var(--t-s5); }
html body .hy-intro h2 { font-size:var(--t-fs-section)!important; line-height:var(--t-lh-tight)!important; font-weight:650; letter-spacing:-.02em; margin:0 0 var(--t-s4)!important; color:var(--t-text); }
html body .hy-steps { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--t-s3); }
html body .hy-steps li { display:flex; flex-direction:column; gap:6px; padding:var(--t-s3); background:var(--t-raised); border-radius:10px; min-width:0; }
html body .hy-steps li b { font-size:var(--t-fs-item); line-height:var(--t-lh-tight); color:var(--t-text); font-weight:650; margin-top:4px; }
html body .hy-steps li span { font-size:var(--t-fs-meta); line-height:1.55; color:var(--t-muted); flex:1; }
html body .hy-steps li button { align-self:flex-start; min-height:var(--t-control-h); padding:0 14px; border-radius:var(--t-control-radius); background:transparent; border:1px solid var(--t-control); color:var(--t-text); font-weight:650; font-size:13px; margin-top:4px; }
html body .hy-steps li button:hover { background:var(--t-surface); }
html body .hy-steps li button[data-hy-intro="pick"] { background:var(--t-accent); color:var(--t-accent-ink); border-color:transparent; }
/* 단계 그림: 실제 덱 그림 / 내 덱 VS 상대 덱 / 메모 모양 */
html body .hy-step-art { height:64px; border-radius:8px; background:var(--t-surface); display:flex; align-items:center; justify-content:center; gap:6px; overflow:hidden; padding:0 10px; }
html body .hy-step-art img { width:52px; height:44px; object-fit:cover; border-radius:6px; flex:none; }
html body .hy-step-decks img + img { margin-left:-14px; outline:2px solid var(--t-surface); }
html body .hy-step-vs i { font-style:normal; font-weight:800; font-size:12px; color:var(--t-faint); letter-spacing:.04em; }
html body .hy-step-note { flex-direction:column; align-items:stretch; justify-content:center; gap:4px; }
html body .hy-step-note p { margin:0; font-size:12px; line-height:1.3; color:var(--t-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
html body .hy-step-note em { font-style:normal; font-size:11px; font-weight:700; color:var(--t-accent); margin-right:6px; }
html body .hy-intro .hy-intro-tools { margin-bottom:var(--t-s6); }
html body .hy-intro .hy-intro-tools h3 { font-size:var(--t-fs-section)!important; line-height:var(--t-lh-tight); margin:0 0 var(--t-s3)!important; color:var(--t-text); text-align:left; }
html body .hy-intro .hy-intro-tools ul { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:var(--t-s2) var(--t-s4); }
html body .hy-intro .hy-intro-tools li { display:flex; flex-direction:column; gap:2px; padding:var(--t-s3) 0; border-top:1px solid var(--t-line); }
html body .hy-intro .hy-intro-tools a { font-size:var(--t-fs-item); font-weight:700; color:var(--t-text); text-decoration:none; }
html body .hy-intro .hy-intro-tools a::after { content:" →"; color:var(--t-accent); }
html body .hy-intro .hy-intro-tools a:hover { color:var(--t-accent); }
html body .hy-intro .hy-intro-tools span { font-size:var(--t-fs-meta); line-height:1.5; color:var(--t-muted); }

html body .my-block.my-invite { display:flex; align-items:center; justify-content:space-between; gap:var(--t-s4); flex-wrap:wrap; background:var(--t-surface)!important; border:1px solid var(--t-line)!important; border-radius:var(--t-radius)!important; padding:var(--t-s4) var(--t-s5)!important; margin:var(--t-s4) var(--hy-inset) var(--t-s6)!important; box-shadow:none!important; }
html body .my-invite .my-invite-text { flex:1 1 320px; min-width:0; }
html body .my-invite h3 { font-size:var(--t-fs-item)!important; line-height:var(--t-lh-tight); margin:0 0 4px!important; color:var(--t-text)!important; }
html body .my-invite p { font-size:var(--t-fs-body)!important; line-height:var(--t-lh-body); margin:0!important; color:var(--t-muted)!important; }
html body .my-invite .my-invite-actions { display:flex; gap:var(--t-s2); flex:none; }
html body .my-invite .my-invite-go { min-height:40px; padding:8px 14px; background:var(--t-accent)!important; color:var(--t-accent-ink)!important; border:0!important; border-radius:var(--t-control-radius); font-weight:700; }
html body .my-invite .my-invite-off { min-height:40px; padding:8px 12px; background:transparent!important; color:var(--t-muted)!important; border:0!important; }
@media (max-width:900px) { html body .hy-steps { grid-template-columns:1fr; } }
@media (max-width:650px) {
 html body .hy-intro .hy-intro-main { padding:var(--t-s4); }
 html body .hy-steps li button { width:100%; justify-content:center; }
 html body .hy-intro .hy-intro-tools ul { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:0 12px!important; }
 html body .hy-intro .hy-intro-tools li { padding:8px 0!important; }
 html body .hy-steps { gap:8px!important; }
 html body .hy-steps li { padding:12px!important; }
 html body .my-block.my-invite { padding:10px 12px!important; gap:8px!important; margin:var(--t-s2) var(--hy-inset) var(--t-s4)!important; flex-wrap:nowrap!important; }
 html body .my-invite .my-invite-text { flex:1 1 auto!important; }
 html body .my-invite h3 { font-size:13px!important; margin:0!important; }
 html body .my-invite p { display:none!important; }
 html body .my-invite .my-invite-go { min-height:36px!important; padding:6px 10px!important; font-size:12px!important; white-space:nowrap; }
 html body .my-invite .my-invite-off { min-height:36px!important; padding:6px 4px!important; font-size:12px!important; }
}

/* PC 카드 칸: 한눈에 더 많이 보이게 여백 조금 줄임 */
@media (min-width:651px) {
 html body .hy-card .hy-ctiles > .hy-ctile { padding-top:10px!important; }
 html body .hy-card .hy-ctile .hy-tile strong { padding-top:4px!important; }
 html body .hy-sevgroups.is-packed > .hy-rank-line { row-gap:12px!important; }
}

/* ══ 공통 부품 (모든 화면) ══════════════════════════════════
   같은 기능은 같은 모양: 단추 · 입력 · 칸 · 탭(분할 단추) · 목록 줄. */

/* 글꼴 하나: 숫자·연도에 쓰던 Space Grotesk 를 본문 글꼴로 (로고는 그대로) */
html body :is(.year,.year small,.month,.corner,.range input,.range b,.grade-row button,.grade-row .month-mini,.dc-tag,.rating-tag,.hy-chip b,.topnote,.legend,.tool-label) { font-family:var(--t-font)!important; }
html body :is(h1,h2,h3,.hy-trap-heading b) { letter-spacing:-.02em; }
::selection { background:color-mix(in srgb,var(--t-accent) 35%,transparent); }

/* 화면 틀: 모든 화면 같은 바깥 여백 */
html body .topbar { padding-inline:var(--t-gutter)!important; }
html body :is(main:not(.nt-main):not(.dm-shell),.hub-shell,.cs-shell) { padding-inline:var(--t-gutter)!important; }

/* 단추 */
html body :is(.heading,.hub-heading,.toolbar,.tool-actions,.help-heading-actions,.cs-detail,.dm-shell,.dm-flow-navigation,.hy-heading) button:not(.tabs button):not(.primary):not(.accent):not(#addRecord):not(#newDeck):not(.active):not([aria-pressed="true"]):not(.dm-role-entry) {
 background:transparent!important; border:1px solid var(--t-control)!important; color:var(--t-text)!important; border-radius:var(--t-control-radius)!important; font-weight:600; }
html body :is(.heading,.hub-heading,.toolbar,.tool-actions,.help-heading-actions,.cs-detail,.dm-shell,.dm-flow-navigation,.hy-heading) button:not(.tabs button):not(.primary):not(.accent):not(#addRecord):not(#newDeck):not(.active):not([aria-pressed="true"]):not(.dm-role-entry):hover { background:var(--t-raised)!important; }
html body :is(button.primary,#addRecord,#newDeck,button.accent) { border-radius:var(--t-control-radius)!important; font-weight:650!important; letter-spacing:-.01em; }
html body :is(button,a,summary,input,select) { transition:background-color .14s var(--t-ease),border-color .14s var(--t-ease),color .14s var(--t-ease),transform .14s var(--t-ease); }
html body :is(button,a,input,select,textarea,summary,[role=button]):focus-visible { outline:2px solid var(--t-accent)!important; outline-offset:2px!important; }

/* 입력 */
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),select,textarea) {
 background:var(--t-ground)!important; border:1px solid var(--t-control)!important; border-radius:var(--t-control-radius)!important; color:var(--t-text)!important; }
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea):focus { border-color:var(--t-accent)!important; outline:0; }
html body .search-wrap { background:var(--t-ground)!important; border:1px solid var(--t-control)!important; border-radius:var(--t-control-radius)!important; }
html body .search-wrap input { border:0!important; background:transparent!important; }
html body input::placeholder,html body textarea::placeholder { color:var(--t-faint)!important; opacity:1; }
html body :is(input[type=checkbox],input[type=radio],input[type=range]) { accent-color:var(--t-accent); }

/* 칸(패널): 바탕 한 단계 + 가는 선 + 모서리 12 */
html body :is(.cs-layout > aside,.cs-detail,.dm-detail,.dm-decks,.dm-search,.board-scroll,.toolbar) {
 background:var(--t-surface)!important; border:1px solid var(--t-line)!important; border-radius:var(--t-radius)!important; box-shadow:none!important; }

/* 탭(분할 단추): 공지 탭, 카드 검색 비교 방식, 덱메이커 카드 찾기, 등반 기록 탭 */
html body :is(.nt-tabs,.cs-tabs,.dm-search-tabs) { display:inline-flex; gap:2px!important; padding:3px!important; background:var(--t-raised)!important; border:0!important; border-radius:10px!important; }
html body .nt-tabs { display:flex; }
html body :is(.nt-tabs,.cs-tabs,.dm-search-tabs) > button { background:transparent!important; border:0!important; color:var(--t-muted)!important; border-radius:8px!important; font-weight:600!important; box-shadow:none!important; min-height:32px; }
html body :is(.nt-tabs,.cs-tabs,.dm-search-tabs) > button:hover { color:var(--t-text)!important; }
html body :is(.nt-tabs,.cs-tabs,.dm-search-tabs) > button:is(.active,[aria-pressed="true"],[aria-selected="true"]) { background:var(--t-surface)!important; color:var(--t-text)!important; font-weight:700!important; }
html[data-theme="light"] body :is(.nt-tabs,.cs-tabs,.dm-search-tabs) > button:is(.active,[aria-pressed="true"],[aria-selected="true"]) { box-shadow:0 1px 2px rgba(20,30,50,.08)!important; }
html body #viewClimb .tabs button { color:var(--t-muted)!important; font-weight:600; }
html body #viewClimb .tabs button.active { color:var(--t-text)!important; border-color:var(--t-text)!important; font-weight:700; }

/* 화면별 색 변수를 디자인 시스템 변수에 연결 (덱메이커·내 덱의 연두 강조색 → 공통 강조색) */
html[data-theme] body.deckmaker-page,html body.deckmaker-page { --dm-surface:var(--t-surface); --dm-control:var(--t-raised); --dm-line:var(--t-control); --dm-text:var(--t-text); --dm-muted:var(--t-muted); --dm-accent:var(--t-accent); }
html[data-theme] body.deck-hub,html body.deck-hub { --hub-bg:var(--t-ground); --hub-panel:var(--t-surface); --hub-text:var(--t-text); --hub-muted:var(--t-muted); --hub-line:var(--t-control); --hub-accent:var(--t-accent); background:var(--t-ground)!important; }
html body .dm-search .dm-search-tabs > button:is(#dmTabAll,#dmTabBookmarks,#dmTabRecent) { background:transparent!important; color:var(--t-muted)!important; border:0!important; }
html body .dm-search .dm-search-tabs > button:is(#dmTabAll,#dmTabBookmarks,#dmTabRecent).active { background:var(--t-surface)!important; color:var(--t-text)!important; }
html body .dm-shell .compact-menu > summary { background:transparent!important; border:1px solid var(--t-control)!important; color:var(--t-text)!important; }
html body .dm-shell .compact-menu > summary:hover { background:var(--t-raised)!important; }

/* 검색칸: 바깥 상자 하나만 (안쪽 입력칸 테두리 없음) */
html body :is(.search-wrap,.hub-search) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color])) { border:0!important; background:transparent!important; box-shadow:none!important; }
html body .hub-search { background:var(--t-ground)!important; border:1px solid var(--t-control)!important; border-radius:var(--t-control-radius)!important; color:var(--t-muted); min-height:var(--t-control-h); }
html body :is(.search-wrap,.hub-search):focus-within { border-color:var(--t-accent)!important; }

/* 내 덱 머리: 제목·개수·사용법을 한 줄로, 설명은 아래 */
html body .hub-heading > div { display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; }
html body .hub-heading > div > h1 { margin:0!important; }
html body .hub-heading > div > p { flex-basis:100%; margin:0!important; }
html body .hub-heading #deckCount { color:var(--t-faint); font-weight:500; font-size:.7em; }
html body .hub-shell { padding-top:28px!important; }

/* ── 혈자리 세부 ─────────────────────────────────────── */
html body .hy-card .hy-ctile .hy-tile-art img:not(.hy-ban) { border-radius:4px; }
html body .hy-card .hy-ctiles > .hy-ctile { border-radius:var(--t-radius)!important; }
html body .hy-sevlabel { letter-spacing:0; }
html body .hy-heading { border-bottom-color:var(--t-line)!important; }

/* ── 등반 덱 기록 ─────────────────────────────────────── */
html body .year { font-size:20px!important; font-weight:650!important; color:var(--t-text)!important; background:var(--t-surface)!important; backdrop-filter:none!important; border-bottom:1px solid var(--t-line)!important; letter-spacing:-.02em; }
html body .year small { background:transparent!important; color:var(--t-faint)!important; font-size:12px!important; padding:0!important; }
html body :is(.month,.corner) { background:var(--t-surface)!important; color:var(--t-muted)!important; font-size:13px!important; font-weight:600!important; }
html body :is(.month,.empty-cell) { border-color:var(--t-line)!important; }
html body .empty-cell button { color:var(--t-faint)!important; opacity:.45; }
html body .empty-cell button:hover { opacity:1; background:var(--t-raised)!important; border-color:transparent!important; color:var(--t-text)!important; }
html body .deck-card { border:1px solid var(--t-line)!important; box-shadow:none!important; border-radius:10px!important; }
html body .deck-card:hover { border-color:var(--t-accent)!important; }
/* 그림이 빽빽한 표라 눈이 덜 피곤하게: 채도·밝기를 낮추고, 마우스를 올린 칸만 원래 색 */
html body .deck-card .art img { filter:saturate(.8) brightness(.88) contrast(.98); transition:filter .2s var(--t-ease); }
html body .deck-card:hover .art img,html body .deck-card:focus-within .art img { filter:none; }
html body .deck-card .art::after { background:linear-gradient(0deg,rgba(8,10,14,.86) 0%,rgba(8,10,14,.28) 55%,rgba(8,10,14,.18) 100%)!important; }
html body .deck-card .art .seam { opacity:.5; box-shadow:none!important; }
html body .board { gap:2px!important; }
html body .deck-card { margin:4px!important; }
html body .grade-row button { backdrop-filter:none!important; background:rgba(8,10,14,.82)!important; border:0!important; border-radius:6px!important; }
html body .legend { color:var(--t-muted)!important; }
html body :is(.bottom-note,.bottom-note a,.board-footer) { color:var(--t-muted)!important; }

/* ── 내 덱 ────────────────────────────────────────────── */
html body .hub-heading { align-items:center!important; }
html body .hub-heading p { margin-top:4px; }
html body .hub-tools a { color:var(--t-muted)!important; text-decoration:none!important; font-weight:600; }
html body .hub-tools a:hover { color:var(--t-text)!important; }
html body :is(.hub-footnote,#hubState) { color:var(--t-muted)!important; }

/* ── 카드 검색: 목록은 상자 대신 줄 ────────────────────── */
html body .cs-results { gap:2px!important; }
html body .cs-results > button { flex:none!important; background:transparent!important; border:0!important; border-radius:8px!important; text-align:left; padding:8px 10px!important; min-height:0!important; font-weight:600; color:var(--t-text)!important; }
html body .cs-results > button small { color:var(--t-faint)!important; font-weight:500; }
html body .cs-results > button:hover { background:var(--t-raised)!important; }
html body .cs-results > button[aria-pressed="true"] { background:var(--t-active)!important; font-weight:700; }
html body .cs-note { border-color:var(--t-control)!important; color:var(--t-muted)!important; border-radius:6px!important; }
html body .cs-view { border-radius:8px!important; }
html body .cs-desc { border-color:var(--t-line)!important; }

/* ── 공지: 따로 뜬 상자 대신 한 칸 안의 줄 ─────────────── */
html body .nt-list { background:var(--t-surface); border:1px solid var(--t-line); border-radius:var(--t-radius); overflow:hidden; display:block!important; }
html body .nt-list > .nt-item { background:transparent!important; border:0!important; border-radius:0!important; margin:0!important; }
html body .nt-list > .nt-item + .nt-item { border-top:1px solid var(--t-line)!important; }
html body .nt-item summary { padding:14px 18px!important; }
html body .nt-item summary:hover { background:var(--t-raised); }
html body .nt-item summary time { color:var(--t-faint)!important; }
html body .nt-item summary b { font-weight:650; letter-spacing:-.01em; }
html body .nt-item > :not(summary) { padding-inline:18px; }
html body .nt-item ul { color:var(--t-muted); }

/* ── 덱메이커 ─────────────────────────────────────────── */
html body .dm-zone > h2 { background:transparent!important; border:0!important; border-bottom:1px solid var(--t-line)!important; font-size:15px!important; font-weight:650!important; letter-spacing:-.01em; }
html body .dm-search-tabs > button.active { background:var(--t-surface)!important; color:var(--t-text)!important; border:0!important; }
html body .dm-card-art { background:var(--t-ground)!important; border-color:var(--t-line)!important; }
html body .dm-role-entry { background:transparent!important; border:1px solid var(--t-control)!important; color:var(--t-muted)!important; font-size:12px!important; }
html body .dm-flow-navigation a { color:var(--t-muted)!important; text-decoration:none; font-weight:600; }
html body .dm-flow-navigation a:hover { color:var(--t-text)!important; }
html body .dm-shell .menu-pop { background:var(--t-surface)!important; border-color:var(--t-control)!important; }
html body.deckmaker-page .dm-shell { padding-inline:var(--t-gutter)!important; }
html body .topbar .acct-btn { font-size:13px!important; font-weight:650!important; min-height:var(--t-control-h)!important; padding:6px 14px!important; background:transparent!important; border:1px solid var(--t-control)!important; border-radius:999px!important; color:var(--t-text)!important; box-shadow:none!important; }
html body .topbar .acct-btn:hover { background:var(--t-raised)!important; }
@media (max-width:900px) { html body .dm-flow-navigation { padding-inline:var(--t-gutter)!important; } }

/* ══ 정렬 보정 (전수검사 2026-10-22) ════════════════════════
   같은 줄의 조작 요소는 높이 하나(36px), 세로 가운데 정렬, 글자도 가운데. */
html body .topbar :is(.acct-btn,.notice-link,.theme-toggle) { height:var(--t-control-h)!important; min-height:var(--t-control-h)!important; padding-block:0!important; display:inline-flex!important; align-items:center!important; box-sizing:border-box!important; line-height:1!important; }
html body :is(.toolbar,.hub-tools,.dm-search,.dm-decks,.dm-head,.dm-head-actions,.cs-layout > aside,.heading,.hub-heading) :is(button:not(.icon-btn):not(.hy-tile):not(.card-open),select,input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),.compact-menu > summary,.hub-search,.search-wrap) {
 height:var(--t-control-h)!important; min-height:var(--t-control-h)!important; box-sizing:border-box!important; padding-block:0!important; }
html body :is(.toolbar,.hub-tools,.dm-search,.dm-decks,.dm-head,.dm-head-actions,.heading,.hub-heading) :is(button:not(.icon-btn),.compact-menu > summary) { display:inline-flex!important; align-items:center!important; justify-content:center; gap:6px; line-height:1.2!important; }
html body :is(.toolbar,.tool-actions,.range,.hub-tools,.dm-head-actions,.heading,.hub-heading,.help-heading-actions) { align-items:center!important; }
html body .heading > :is(button,.help-heading-actions) { align-self:center; }
/* 주요 동작 단추도 같은 줄이면 같은 높이 */
html body :is(button.primary:not(.sim-guide button),#addRecord,#newDeck) { height:var(--t-control-h)!important; min-height:var(--t-control-h)!important; padding:0 16px!important; display:inline-flex!important; align-items:center!important; }
/* 내 덱: 검색칸·정렬을 한 줄로 (정렬 글자는 왼쪽에) */
html body .hub-tools { display:flex!important; align-items:center!important; gap:12px!important; flex-wrap:wrap; }
html body .hub-tools > label:not(.hub-search) { display:inline-flex!important; align-items:center!important; gap:8px!important; font-size:13px; color:var(--t-muted); font-weight:600; }
html body .hub-tools > label:not(.hub-search) select { width:auto!important; margin:0!important; }
html body .hub-search { padding:0 12px!important; }
html body .hub-search input { height:100%!important; padding:0!important; }
html body .hub-tools > a { margin-left:auto; }
/* 혈자리 정렬 줄 */
html body .hy-side :is(#hySort,.hy-sort-dir,.hy-sort button) { height:var(--t-control-h)!important; box-sizing:border-box; }

/* ══ 덱메이커 다듬기 ═══════════════════════════════════════
   흐름: ① 오른쪽 '카드 찾기'에서 검색 → ② 가운데 덱에 넣기 → ③ 저장 → 듀얼 준비.
   마스터 듀얼 덱 편집 화면과 같은 배치(왼쪽 카드 정보 · 가운데 덱 · 오른쪽 카드 목록)는 유지.
   색은 '다음에 누를 곳'에만: 카드 찾기 탭·검색 단추·저장 단추. */
/* 위쪽 두 줄 → 한 줄: ← 덱 목록으로 | 도구들 | 듀얼 준비 */
html body.deckmaker-page .dm-shell.dm-scaled { display:grid!important; grid-template-columns:auto minmax(0,1fr) auto; column-gap:8px; row-gap:12px; align-items:center; }
html body.deckmaker-page .dm-shell.dm-scaled > .dm-flow-navigation { display:contents!important; }
html body.deckmaker-page .dm-shell.dm-scaled > .dm-flow-navigation > a { grid-column:1; grid-row:1; }
html body.deckmaker-page .dm-shell.dm-scaled > .dm-head { grid-column:2; grid-row:1; justify-self:end; margin:0!important; }
html body.deckmaker-page .dm-shell.dm-scaled > .dm-flow-navigation > #dmSim { grid-column:3; grid-row:1; }
html body.deckmaker-page .dm-shell.dm-scaled > .dm-grid { grid-column:1 / -1; grid-row:2; }
/* 듀얼 준비는 마지막 단계: 강조색 글자 + 선 */
html body.deckmaker-page #dmSim { background:transparent!important; color:var(--t-accent)!important; border:1px solid var(--t-accent)!important; }
html body.deckmaker-page #dmSim:hover { background:color-mix(in srgb,var(--t-accent) 14%,transparent)!important; }
/* 칸 제목 하나의 크기 */
html body.deckmaker-page :is(.dm-search > h2,#dmCardName,.dm-zone > h2) { font-size:15px!important; line-height:1.3!important; font-weight:650!important; letter-spacing:-.01em; color:var(--t-text)!important; }
html body.deckmaker-page .dm-search > h2::before { content:"1"; display:inline-grid; place-items:center; width:20px; height:20px; margin-right:8px; border-radius:50%; background:var(--t-accent); color:var(--t-accent-ink); font-size:12px; font-weight:800; vertical-align:1px; }
html body.deckmaker-page .dm-title-row ~ .dm-zone:not(.dm-zone ~ .dm-zone) > h2::before { content:"2"; display:inline-grid; place-items:center; width:20px; height:20px; margin-right:8px; border-radius:50%; background:var(--t-raised); color:var(--t-text); font-size:12px; font-weight:800; vertical-align:1px; }
html body.deckmaker-page .dm-zone > h2 { display:flex!important; align-items:center!important; gap:8px; height:44px!important; min-height:44px!important; padding:0 4px!important; margin:0!important; }
html body.deckmaker-page .dm-zone > h2 > :is(span,button) { height:auto; }
html body.deckmaker-page .dm-zone > h2 > span:first-of-type { margin-left:auto; color:var(--t-muted); font-variant-numeric:tabular-nums; }
/* 카드 찾기 탭: 세 칸 같은 폭, 이름 보이기, 선택은 강조색 */
html body.deckmaker-page .dm-search .dm-search-tabs { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr)); width:100%; }
html body.deckmaker-page .dm-search .dm-search-tabs > button { width:auto!important; gap:6px; }
html body.deckmaker-page .dm-search .dm-search-tabs .dm-tab-label { display:inline!important; font-size:12px; }
html body.deckmaker-page .dm-search .dm-search-tabs > button:is(#dmTabAll,#dmTabBookmarks,#dmTabRecent).active { background:var(--t-accent)!important; color:var(--t-accent-ink)!important; }
html body.deckmaker-page #dmSearchSubmit,html body.deckmaker-page #dmSave { background:var(--t-accent)!important; color:var(--t-accent-ink)!important; border:0!important; font-weight:700!important; }
html body.deckmaker-page .dm-query-row { display:flex; gap:6px; align-items:center; }
html body.deckmaker-page .dm-query-row #dmQuery { flex:1; }
/* 덱이 비었을 때 안내: 가운데에, 조용하게 */
html body.deckmaker-page #dmMain:empty::before { position:absolute; inset:0; display:grid; place-items:center; padding:24px; text-align:center; color:var(--t-muted)!important; font-size:13px; }
html body.deckmaker-page #dmMain { position:relative; }
/* 카드 정보: 아이콘뿐이던 단추에 글자 */
html body.deckmaker-page #dmAddMain::after { content:"덱에 넣기"; }
html body.deckmaker-page #dmRemoveSelected::after { content:"덱에서 빼기"; }
html body.deckmaker-page :is(#dmAddMain,#dmRemoveSelected) { display:inline-flex!important; align-items:center; justify-content:center; gap:6px; font-size:13px; font-weight:650; }
html body.deckmaker-page :is(#dmAddMain,#dmRemoveSelected) svg { width:18px!important; height:22px!important; }
html body.deckmaker-page #dmAddMain { background:var(--t-raised)!important; }
html body.deckmaker-page .dm-detail-actions button { min-height:38px!important; height:38px!important; font-size:12px; }
html body.deckmaker-page .dm-detail-actions button:disabled { opacity:.45; }
html body.deckmaker-page .dm-card-art { border-radius:10px!important; }
html body.deckmaker-page #dmEmptyPreview { color:var(--t-faint)!important; font-size:13px; }
html body.deckmaker-page .dm-hint { color:var(--t-faint)!important; }

/* ══ 전개 시뮬레이터 다듬기 ═════════════════════════════════
   단추 색은 세 가지뿐: 중립(선) / 강조색 선(덱·상대 설정) / 강조색 채움 + 어두운 글자(저장, 시작 단추).
   밝은 바탕에 흰 글자는 쓰지 않는다. */
html body.sim-page :is(#bHelp,#simNew,.drawer-btn,.session-actions .compact-menu > summary) { background:transparent!important; border:1px solid var(--t-control)!important; color:var(--t-text)!important; box-shadow:none!important; }
html body.sim-page :is(#bHelp,#simNew,.drawer-btn,.session-actions .compact-menu > summary):hover { background:var(--t-raised)!important; }
html body.sim-page #duelPrepOpen { background:transparent!important; border:1px solid var(--t-accent)!important; color:var(--t-accent)!important; font-weight:700; }
html body.sim-page #duelPrepOpen:hover { background:color-mix(in srgb,var(--t-accent) 14%,transparent)!important; }
html body.sim-page .session-actions .compact-menu:has(#simSave) > summary { background:var(--t-accent)!important; color:var(--t-accent-ink)!important; border-color:transparent!important; font-weight:700; }
html body.sim-page .menu-pop { background:var(--t-surface)!important; border:1px solid var(--t-control)!important; }
html body.sim-page .menu-pop button { background:transparent!important; border:0!important; color:var(--t-text)!important; border-radius:8px!important; text-align:left; }
html body.sim-page .menu-pop button:hover { background:var(--t-raised)!important; }
html body.sim-page .menu-pop button small { color:var(--t-muted)!important; }
/* 도구 줄: 단추 모양 하나 (5장 드로우·덱 조작·전개 도구·LP 변경·되돌리기…) */
html body.sim-page .sim-main :is(.grp,.sim-grp,.sim-bar,.reset-tools,.compact-menu) > :is(button:not(#setupDone),summary) { background:transparent!important; border:1px solid var(--t-control)!important; color:var(--t-text)!important; box-shadow:none!important; border-radius:8px!important; }
html body.sim-page .sim-main :is(.grp,.sim-grp,.sim-bar,.reset-tools,.compact-menu) > :is(button:not(#setupDone),summary):hover { background:var(--t-raised)!important; }
html body.sim-page .sim-main :is(.grp,.sim-grp,.sim-bar) > button:disabled { opacity:.4; }
html body.sim-page .sim-main #bDraw5 { border-color:var(--t-accent)!important; color:var(--t-accent)!important; }
html body.sim-page :is(#bReset,#deckApply) { background:transparent!important; color:var(--t-red)!important; }
html body.sim-page .menu-pop #simSave { background:transparent!important; color:var(--t-text)!important; font-weight:700; }
html body.sim-page .menu-pop #simSave:hover { background:var(--t-raised)!important; }
html body.sim-page .sim-view-options > summary { background:transparent!important; border:1px solid var(--t-control)!important; color:var(--t-text)!important; }
/* 진행 단계 막대 */
html body.sim-page .sim-steps { background:var(--t-surface)!important; border:1px solid var(--t-line)!important; border-radius:var(--t-radius)!important; }
html body.sim-page .sim-steps > button { color:var(--t-muted)!important; background:transparent!important; }
html body.sim-page .sim-steps > button.on { background:var(--t-active)!important; color:var(--t-text)!important; font-weight:700; }
html body.sim-page .sim-steps > i { background:var(--t-line)!important; }
html body.sim-page .sim-steps .todo { color:var(--t-muted)!important; }
html body.sim-page .resume-note { background:var(--t-surface)!important; border:1px solid var(--t-line)!important; border-radius:var(--t-radius)!important; box-shadow:none!important; }
html body.sim-page .resume-note :is(button,#_none) { background:transparent!important; border:1px solid var(--t-control)!important; color:var(--t-text)!important; }
html body.sim-page .sim-board-wrap { background:var(--t-ground)!important; background-image:none!important; border:1px solid var(--t-line)!important; border-radius:var(--t-radius)!important; box-shadow:none!important; }
/* 시작 안내: 머리말 없애고, 주 단추 하나 */
html body.sim-page .sim-guide { background:var(--t-surface)!important; background-image:none!important; border:1px solid var(--t-line)!important; box-shadow:none!important; }
html body.sim-page .sim-guide .g-step { display:none!important; }
html body.sim-page .sim-guide h2 { font-size:20px!important; font-weight:650!important; letter-spacing:-.02em; margin-top:4px!important; }
html body.sim-page .sim-guide > p:not(.g-or):not(.g-next) { color:var(--t-muted)!important; font-size:13px!important; }
html body.sim-page #guide .g-quick button { height:auto!important; min-height:60px!important; padding:10px 16px!important; display:flex!important; flex-direction:column!important; align-items:center!important; justify-content:center!important; gap:2px!important; border-radius:10px!important; }
html body.sim-page #guide .g-quick button b { font-size:15px!important; font-weight:700!important; line-height:1.3!important; }
html body.sim-page #guide .g-quick button small { font-size:12px!important; line-height:1.4!important; }
/* 첫 번째(예시 덱) = 보조, 두 번째(내 덱 불러오기) = 주 */
html body.sim-page #guide .g-quick button[data-sample] { background:transparent!important; border:1px solid var(--t-control)!important; color:var(--t-text)!important; }
html body.sim-page #guide .g-quick button[data-sample] small { color:var(--t-muted)!important; }
html body.sim-page #guide .g-quick button[data-sample]:hover { background:var(--t-raised)!important; }
html body.sim-page #guide .g-quick button[data-go] { background:var(--t-accent)!important; border:0!important; color:var(--t-accent-ink)!important; }
html body.sim-page #guide .g-quick button[data-go] small { color:var(--t-accent-ink)!important; opacity:.75; }
html body.sim-page .sim-guide .g-divider span { color:var(--t-faint)!important; background:var(--t-surface)!important; }
html body.sim-page .sim-guide .g-divider::before,html body.sim-page .sim-guide .g-divider::after { background:var(--t-line)!important; }
html body.sim-page .sim-guide .g-btns button { background:transparent!important; border:1px solid var(--t-control)!important; color:var(--t-text)!important; font-weight:600; font-size:13px!important; height:40px!important; min-height:40px!important; border-radius:8px!important; }
html body.sim-page .sim-guide .g-btns button:hover { background:var(--t-raised)!important; }
html body.sim-page .sim-guide kbd { background:var(--t-raised)!important; border:1px solid var(--t-control)!important; color:var(--t-muted)!important; border-radius:4px; font-size:11px!important; }
html body.sim-page .sim-guide .g-or a,html body.sim-page .sim-guide .g-or button { color:var(--t-accent)!important; }
html body.sim-page .sim-guide .g-next { color:var(--t-faint)!important; }
/* 판 위 도구 단추(덱 편집·기록): 청록 빛 대신 중립 */
html body.sim-page .field-tools > button { background:var(--t-surface)!important; border:1px solid var(--t-control)!important; color:var(--t-text)!important; box-shadow:none!important; }
html body.sim-page .field-tools > button span { font-size:11px!important; }
html body.sim-page .field-tools > button:hover { border-color:var(--t-accent)!important; }

/* ══ 반응 움직임 (1번 방향: 그라데이션 없음, 등장 효과 없음) ══════════
   누르거나 올렸을 때만 움직인다. 0.12~0.2초, 모양·투명도만. 움직임 줄이기 설정이면 모두 끔. */
:root { --t-dur:.16s; }

/* 1) 올리면 살짝 떠오르는 것: 카드 칸, 덱 목록 줄, 등반 기록 덱, 첫 화면 단계·기능, 내 덱 카드 */
html body :is(.hy-card .hy-ctiles > .hy-ctile,.hy-overview .hy-matchup,.deck-card,.hy-steps li,.hy-intro-tools li,.deck-grid > *) { transition:translate var(--t-dur) var(--t-ease),scale var(--t-dur) var(--t-ease),background-color var(--t-dur) var(--t-ease),border-color var(--t-dur) var(--t-ease),filter var(--t-dur) var(--t-ease); }
@media (hover:hover) {
 html body :is(.hy-card .hy-ctiles > .hy-ctile,.hy-overview .hy-matchup,.deck-card,.hy-steps li,.deck-grid > *):hover { translate:0 -2px; }
 html body .hy-card .hy-ctiles > .hy-ctile:hover,html body .hy-overview .hy-matchup:hover { filter:brightness(1.08); }
 html body .hy-steps li:hover { background:var(--t-active); }
 html body .hy-intro-tools li:hover a { color:var(--t-accent); }
 html body .hy-intro-tools li a::after { display:inline-block; transition:translate var(--t-dur) var(--t-ease); }
 html body .hy-intro-tools li:hover a::after { translate:3px 0; }
 /* 덱 목록 줄: 올리면 이름이 살짝 오른쪽으로 */
 html body .hy-list a.hy-item .hy-item-name { transition:translate var(--t-dur) var(--t-ease); }
 html body .hy-list a.hy-item:hover .hy-item-name { translate:2px 0; }
 html body .hy-list a.hy-item img { transition:scale var(--t-dur) var(--t-ease); }
 html body .hy-list a.hy-item:hover img { scale:1.06; }
 /* 카드 검색 목록·공지 줄 */
 html body .cs-results > button:hover { translate:2px 0; }
}

/* 2) 누르면 눌리는 느낌 */
html body :is(button,summary,.hy-item,.deck-card,.hy-ctile,a.notice-link) { -webkit-tap-highlight-color:transparent; }
html body :is(button,summary):active:not(:disabled) { scale:.97; transition:scale .06s; }
html body :is(.hy-card .hy-ctiles > .hy-ctile,.deck-card,.hy-list a.hy-item):active { scale:.99; }

/* 3) 열리는 것: 메뉴 창·접힌 내용은 부드럽게 나타남 */
@keyframes t-pop { from { opacity:0; transform:translateY(4px) scale(.985); } to { opacity:1; transform:none; } }
@keyframes t-fade { from { opacity:0; transform:translateY(-2px); } to { opacity:1; transform:none; } }
html body details[open] > :is(.menu-pop,.site-menu-panel,.view) { animation:t-pop .14s var(--t-ease); transform-origin:top right; }
html body .site-navigation-tools details[open] > .site-menu-panel { transform-origin:bottom right; }
html body :is(.nt-item,.hy-matchup,.hy-sources,.hy-flow,.cs-desc)[open] > :not(summary) { animation:t-fade .16s var(--t-ease); }
html body dialog[open] { animation:t-pop .18s var(--t-ease); }
html body dialog[open]::backdrop { animation:t-fade .18s linear; }
/* 접기 화살표 돌기 */
html body :is(.nt-item,.hy-sources) > summary :is(svg,.chev) { transition:transform var(--t-dur) var(--t-ease); }
html body :is(.nt-item,.hy-sources)[open] > summary :is(svg,.chev) { transform:rotate(180deg); }

/* 4) 탭·선택이 바뀔 때 색이 부드럽게 넘어감 */
html body :is(.nt-tabs,.cs-tabs,.dm-search-tabs) > button,html body .topbar .viewnav a,html body .hy-list a.hy-item { transition:background-color var(--t-dur) var(--t-ease),color var(--t-dur) var(--t-ease),transform var(--t-dur) var(--t-ease); }

/* 5) 깊이감: 그라데이션 대신 밝기 단계 — 칸 머리는 한 단계 밝게, 가는 위쪽 빛 선 */
html body :is(.hy-tactics,.cs-detail,.cs-layout > aside,.dm-detail,.dm-decks,.dm-search,.toolbar,.nt-list,.hy-intro-main,.my-block,.board-scroll,.sim-guide) { border-top-color:color-mix(in srgb,var(--t-line) 55%,#ffffff 8%)!important; }
html[data-theme="light"] body :is(.hy-tactics,.cs-detail,.cs-layout > aside,.dm-detail,.dm-decks,.dm-search,.toolbar,.nt-list,.hy-intro-main,.my-block,.board-scroll,.sim-guide) { border-top-color:var(--t-line)!important; }

@media (prefers-reduced-motion:reduce) {
 html body *,html body *::before,html body *::after { animation:none!important; transition:none!important; }
 html body :is(.hy-card .hy-ctiles > .hy-ctile,.hy-overview .hy-matchup,.deck-card,.hy-steps li,.deck-grid > *,button,summary,.hy-list a.hy-item,.cs-results > button):is(:hover,:active) { translate:none!important; scale:none!important; }
}

/* ══ 덜 난잡하게: 보조 글은 옅고 작게, 「내 덱」 기준 상자는 한 줄 머리 ══ */
html body .hy-card .my-block:not(.my-invite) { display:grid!important; grid-template-columns:minmax(0,1fr) auto; column-gap:12px; row-gap:4px; align-items:center; padding:12px 16px!important; }
html body .hy-card .my-block:not(.my-invite) > h3 { grid-column:1; margin:0!important; font-size:var(--t-fs-item)!important; }
html body .hy-card .my-block:not(.my-invite) > .my-sub { grid-column:1; margin:0!important; font-size:var(--t-fs-meta)!important; color:var(--t-faint)!important; line-height:1.45; }
html body .hy-card .my-block:not(.my-invite) > .my-write { grid-column:2; grid-row:1 / span 2; align-self:center; margin:0!important; min-height:var(--t-control-h); padding:0 14px!important; }
html body .hy-card .my-block:not(.my-invite) > :is(ul,.hy-srcline,details,div) { grid-column:1 / -1; }
html body .hy-card .my-block:not(.my-invite) > ul:empty { display:none; }
html body .hy-card .my-block .my-empty { display:none; }
/* 보조 설명 줄 */
html body .hy-trap > small,html body .hy-overview > small { color:var(--t-faint)!important; font-size:12px!important; }
html body .hy-card :is(.hy-note,.hy-secnote) { padding:10px 12px!important; font-size:13px!important; }
html body .hy-card :is(.hy-note,.hy-secnote) > b:first-child,html body .hy-card :is(.hy-note,.hy-secnote) > strong:first-child { font-size:12px!important; color:var(--t-faint)!important; font-weight:600!important; }
html body .hy-card :is(.hy-note,.hy-secnote)::before { font-size:12px!important; color:var(--t-faint)!important; font-weight:600!important; }
html body .hy-card .hy-tactics { padding:12px 16px!important; }
html body .hy-card .hy-tactics h3 { font-size:var(--t-fs-item)!important; margin-bottom:4px!important; }

/* ── 바닥글 ───────────────────────────────────────────── */
html body .site-credit,
html body .site-credit p { color:var(--t-faint)!important; font-size:var(--t-fs-meta)!important; }
html body .site-credit { border-top-color:var(--t-line)!important; }

/* ── 등반 기록 ────────────────────────────────────────── */
html body .toolbar { background:var(--t-surface)!important; border:1px solid var(--t-line)!important; box-shadow:none!important; }
html body .board-scroll { border-color:var(--t-line)!important; }
html body .year small { font-size:11px; }

/* ── 덱메이커 ─────────────────────────────────────────── */
html body :is(.dm-detail,.dm-decks,.dm-search,.dm-card-art) { border-color:var(--t-line)!important; box-shadow:none!important; }
html body :is(kbd,.kbd,.hint-key) { font-size:11px!important; }

/* ── 폰 ────────────────────────────────────────────────
   위 막대는 두 줄(로고+도구 / 옆으로 넘기는 메뉴 한 줄).
   떠 있는 단추 묶음은 아래로 내릴 때 숨고, 위로 올리면 다시 나온다.
   설명이 있는 카드 칸은 그림 왼쪽 + 글 오른쪽으로 한 줄을 다 쓴다. */
@media (max-width:650px) {
 html body .topbar { padding:10px 16px 0!important; gap:8px!important; min-height:0!important; flex-wrap:wrap!important; align-items:center; }
 html body .topbar .brand { gap:8px; }
 html body .topbar .brand-symbol { width:30px!important; height:34px!important; }
 html body .topbar .brand-kicker { display:none!important; }
 html body .topbar .brand-title { font-size:16px!important; }
 html body .topbar .local-status { display:none!important; }
 html body .topbar .site-tools { margin-left:auto!important; gap:6px!important; width:auto!important; flex:0 1 auto!important; justify-content:flex-end!important; order:1!important; }
 html body .topbar :is(.site-tools .notice-link,.site-tools .theme-toggle,.site-tools button,.account-tools button,.account-tools a) { min-height:36px!important; padding:6px 10px!important; font-size:12px!important; }
 html body .topbar .theme-toggle { padding:6px 9px!important; }
 html body .topbar .theme-toggle-text { position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
 html body .topbar .viewnav { order:9!important; display:flex!important; flex-wrap:nowrap!important; justify-content:flex-start!important; grid-template-columns:none!important;
  width:calc(100% + 32px)!important; max-width:none!important; margin:0 -16px!important; padding:2px 12px 8px!important; gap:4px!important;
  overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:none; }
 html body .topbar .viewnav::-webkit-scrollbar { display:none; }
 html body .topbar .viewnav a { flex:0 0 auto!important; display:inline-flex!important; align-items:center; min-height:40px!important; padding:8px 12px!important; font-size:14px!important; white-space:nowrap!important; }

 html body:not(.sim-page) { padding-bottom:72px; }
 html body:not(.sim-page) .site-navigation-tools.is-tucked { transform:translateY(calc(100% + 24px)); opacity:0; pointer-events:none; }

 /* 카드 칸: 2열 유지, 여백·그림을 줄여 한 화면에 더 많이 */
 html body .hy-sevgroups.is-packed > .hy-rank-line { gap:10px 8px!important; }
 html body .hy-card .hy-ctiles > .hy-ctile { padding:10px 10px 0!important; gap:6px!important; }
 html body .hy-card .hy-ctile .hy-tile-art { width:72px!important; height:auto!important; margin-inline:auto; }
 html body .hy-card .hy-ctile .hy-tile-art > img:not(.hy-ban) { width:72px!important; height:auto!important; }
 html body .hy-card .hy-ctile .hy-tile strong { font-size:13px!important; padding-top:4px!important; }
 html body .hy-card .hy-ctile :is(p,.hy-copy-paragraph) { font-size:13px!important; line-height:1.45!important; }
 html body .hy-card .hy-ctile > .hy-mobile-footer { min-height:32px!important; padding-top:2px!important; padding-bottom:2px!important; }
 html body .hy-card .hy-overview-grid { gap:6px!important; }
 html body .hy-card .hy-matchup summary { padding:10px!important; }
}
@media (prefers-reduced-motion:reduce) {
 html body :is(button,a) { transition:none!important; }
 html body .site-navigation-tools { transition:none!important; }
}

/* ══════════════════════════════════════════════════════════════
   디자인 시스템 v3 (2026-10-22) — 사용자 결정: 그라데이션·빛 허용, 참고 시안(어두운 바탕 + 은은한 색 빛,
   알약 모양 단추, 두 색 제목)처럼 고급스럽게. 촘촘함과 순위 색 바탕은 그대로 유지.
   이 블록이 맨 뒤에서 앞의 규칙을 덮는다.
   ══════════════════════════════════════════════════════════════ */
:root {
 --t-ground:#08090b; --t-surface:#101214; --t-raised:#171a1c; --t-active:#202426;
 --t-line:rgba(255,255,255,.075); --t-control:rgba(255,255,255,.14);
 --t-text:#f2f3f1; --t-muted:#a6aba9; --t-faint:#80868a;
 --t-accent:#c2c9ff; --t-accent-ink:#0d1030;
 --t-primary:#f1f2ee; --t-primary-ink:#0a0b0c;
 --t-glow-a:rgba(40,170,130,.20); --t-glow-b:rgba(120,96,230,.16);
 --t-panel:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
 --t-panel-border:rgba(255,255,255,.085);
 --t-sheen:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,0) 46%);
 --t-radius:20px; --t-control-radius:999px; --t-chip-radius:999px;
}
html[data-theme="light"] {
 --t-ground:#f4f5f2; --t-surface:#ffffff; --t-raised:#eef0ec; --t-active:#e4e7e2;
 --t-line:rgba(10,20,15,.08); --t-control:rgba(10,20,15,.16);
 --t-text:#111413; --t-muted:#4b5250; --t-faint:#5c6461;
 --t-accent:#3d48b8; --t-accent-ink:#ffffff;
 --t-primary:#111314; --t-primary-ink:#f6f7f4;
 --t-glow-a:rgba(60,190,150,.16); --t-glow-b:rgba(130,110,240,.12);
 --t-panel:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.72));
 --t-panel-border:rgba(10,20,15,.08);
 --t-sheen:linear-gradient(180deg,rgba(255,255,255,.45),rgba(255,255,255,0) 50%);
}

/* 바탕: 은은한 두 색 빛 (화면에 고정) */
html body { background-color:var(--t-ground)!important; background-image:radial-gradient(1100px 620px at 8% -6%,var(--t-glow-a),transparent 62%),radial-gradient(900px 700px at 100% 104%,var(--t-glow-b),transparent 60%)!important; background-attachment:fixed!important; }
html body :is(main,.hub-shell,.cs-shell,.nt-main,.dm-shell) { background:transparent!important; }

/* 위 막대: 반투명 유리 + 아래 가는 선 */
html body .topbar { background:color-mix(in srgb,var(--t-ground) 72%,transparent)!important; backdrop-filter:blur(14px) saturate(1.2); -webkit-backdrop-filter:blur(14px) saturate(1.2); border-bottom:1px solid var(--t-line)!important; }
@media (min-width:900px) { html body:not(.sim-page):not(.deckmaker-page) .topbar { position:sticky; top:0; z-index:50; } }
html body .topbar .viewnav { background:rgba(255,255,255,.04)!important; border:1px solid var(--t-line)!important; border-radius:var(--t-control-radius)!important; padding:4px!important; gap:2px!important; }
html[data-theme="light"] body .topbar .viewnav { background:rgba(255,255,255,.7)!important; }
html body .topbar .viewnav a { border-radius:var(--t-control-radius)!important; padding:7px 14px!important; }
html body .topbar .viewnav a.active,html body .topbar .viewnav a[aria-current="page"] { background:var(--t-primary)!important; color:var(--t-primary-ink)!important; }
html body .topbar :is(.acct-btn,.notice-link,.theme-toggle) { border-radius:var(--t-control-radius)!important; border-color:var(--t-control)!important; background:rgba(255,255,255,.03)!important; }

/* 화면 제목: 크게, 촘촘한 자간, 설명은 회색 */
html body :is(.heading h1,.hy-heading h1,.hub-heading h1,.nt-main h1,main > h1,main > header h1) { font-size:28px!important; font-weight:750!important; letter-spacing:-.035em!important; }
@media (max-width:650px) { html body :is(.heading h1,.hy-heading h1,.hub-heading h1,.nt-main h1,main > h1,main > header h1) { font-size:22px!important; } }
html body :is(.heading p,.hy-sub,.hub-heading p) { color:var(--t-faint)!important; }
html body .hy-heading { border-bottom:0!important; }

/* 칸(패널): 둥근 20 · 위가 살짝 밝은 그라데이션 · 반투명 가는 테두리 */
html body :is(.hy-tactics,.hy-card .hy-flow,.cs-layout > aside,.cs-detail,.dm-detail,.dm-decks,.dm-search,.toolbar,.board-scroll,.nt-list,.hy-intro-main,.my-block,.sim-guide,.sim-steps,.resume-note,.hy-list,.hy-card :is(.hy-note,.hy-secnote):not(:empty)) {
 background:var(--t-panel)!important; border:1px solid var(--t-panel-border)!important; border-radius:var(--t-radius)!important; box-shadow:0 1px 0 rgba(255,255,255,.04) inset,0 20px 50px -30px rgba(0,0,0,.6)!important; }
html[data-theme="light"] body :is(.hy-tactics,.hy-card .hy-flow,.cs-layout > aside,.cs-detail,.dm-detail,.dm-decks,.dm-search,.toolbar,.board-scroll,.nt-list,.hy-intro-main,.my-block,.sim-guide,.sim-steps,.resume-note,.hy-list,.hy-card :is(.hy-note,.hy-secnote):not(:empty)) { box-shadow:0 18px 40px -28px rgba(20,30,25,.25)!important; }
html body .hy-card :is(.hy-note,.hy-secnote):not(:empty) { border-radius:14px!important; }
html body .year,html body :is(.month,.corner) { background:var(--t-surface)!important; }

/* 순위 칸·효과 칸: 색은 그대로, 위에 은은한 빛 + 둥근 16 */
html body .hy-card .hy-ctiles > .hy-ctile.hy-ctile,html body .hy-overview .hy-matchup { background-image:none!important; border-radius:16px!important; box-shadow:none!important; }
html body .hy-sevlabel { border-radius:var(--t-control-radius)!important; padding:3px 10px!important; }

/* 단추 체계: 주(밝은 알약) / 보조(어두운 알약 + 선) / 도구(선 없는 글자 단추) */
html body :is(button,select,input,summary,.hub-search,.search-wrap) { border-radius:var(--t-control-radius); }
html body :is(textarea) { border-radius:14px!important; }
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),select) { border-radius:var(--t-control-radius)!important; padding-inline:14px!important; background:rgba(255,255,255,.03)!important; }
html[data-theme="light"] body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),select) { background:#fff!important; }
html body :is(.search-wrap,.hub-search) { border-radius:var(--t-control-radius)!important; background:rgba(255,255,255,.03)!important; }
html body :is(.search-wrap,.hub-search) input { padding-inline:4px!important; }
html body :is(button.primary:not(.sim-guide button),#addRecord,#newDeck,button.accent,#dmSave,.t-cta:not(.t-cta-dark)),html body :is(button.primary,#addRecord,#newDeck,button.accent,#_x) {
 background:var(--t-primary)!important; color:var(--t-primary-ink)!important; border:0!important; border-radius:var(--t-control-radius)!important; font-weight:700!important; }
html body :is(button.primary,#addRecord,#newDeck,button.accent,#dmSave):hover { filter:none; box-shadow:0 0 0 4px color-mix(in srgb,var(--t-primary) 16%,transparent)!important; }
html body :is(.heading,.hub-heading,.toolbar,.tool-actions,.help-heading-actions,.cs-detail,.dm-shell,.dm-flow-navigation,.hy-heading,.hy-side) button:not(.tabs button):not(.primary):not(.accent):not(#addRecord):not(#newDeck):not(.active):not([aria-pressed="true"]):not(.dm-role-entry):not(.hy-tile) { border-radius:var(--t-control-radius)!important; background:rgba(255,255,255,.035)!important; }

/* 큰 행동 단추(첫 화면·듀얼 준비): 알약 + 동그란 화살표 */
html body .t-cta,html body.deckmaker-page #dmSim { display:inline-flex!important; align-items:center!important; gap:12px; height:46px!important; min-height:46px!important; padding:0 6px 0 20px!important; border-radius:var(--t-control-radius)!important; font-size:15px!important; font-weight:700!important; letter-spacing:-.01em; }
html body .t-cta i,html body.deckmaker-page #dmSim::after { content:""; width:34px; height:34px; border-radius:50%; flex:none; background:rgba(0,0,0,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230a0b0c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 13L13 7M8 7h5v5'/%3E%3C/svg%3E") center/16px no-repeat; transition:translate .18s var(--t-ease); }
html body .t-cta.t-cta-dark { background:rgba(255,255,255,.06)!important; color:var(--t-text)!important; border:1px solid var(--t-control)!important; }
html body .t-cta.t-cta-dark i { background:rgba(255,255,255,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23f2f3f1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h12M11 5l5 5-5 5'/%3E%3C/svg%3E") center/16px no-repeat; }
html[data-theme="light"] body .t-cta.t-cta-dark { background:#fff!important; }
html[data-theme="light"] body .t-cta.t-cta-dark i { background:rgba(0,0,0,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23111413' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h12M11 5l5 5-5 5'/%3E%3C/svg%3E") center/16px no-repeat; }
html[data-theme="light"] body .t-cta:not(.t-cta-dark) i,html[data-theme="light"] body.deckmaker-page #dmSim::after { background:rgba(255,255,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23f6f7f4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 13L13 7M8 7h5v5'/%3E%3C/svg%3E") center/16px no-repeat; }
@media (hover:hover) { html body .t-cta:hover i,html body.deckmaker-page #dmSim:hover::after { translate:2px -2px; } }

/* ── 첫 화면 대문 ───────────────────────────────────── */
html body .hy-intro-hero { position:relative; padding:44px 40px 40px; margin-bottom:16px; border-radius:24px; border:1px solid var(--t-panel-border); overflow:hidden;
 background:radial-gradient(520px 320px at 0% 0%,var(--t-glow-a),transparent 70%),radial-gradient(520px 360px at 100% 100%,var(--t-glow-b),transparent 70%),var(--t-panel); }
html body .hy-intro-kicker { display:inline-block; margin:0 0 18px; padding:6px 12px; border:1px solid var(--t-control); border-radius:var(--t-control-radius); font-size:11px; font-weight:700; letter-spacing:.14em; color:var(--t-muted); }
html body .hy-intro .hy-intro-hero h2 { font-size:clamp(34px,4.4vw,56px)!important; line-height:1.04!important; font-weight:800!important; letter-spacing:-.05em!important; margin:0 0 16px!important; color:var(--t-text)!important; max-width:none; }
html body .hy-intro-hero h2 span { color:var(--t-faint); }
html body .hy-intro-lead { margin:0 0 24px; max-width:34em; font-size:15px; line-height:1.6; color:var(--t-muted); }
html body .hy-intro-cta { display:flex; flex-wrap:wrap; gap:10px; }
html body .hy-intro .hy-intro-main { padding:20px!important; }
html body .hy-intro-steps-title { margin:0 0 12px!important; font-size:var(--t-fs-section)!important; font-weight:700!important; letter-spacing:-.02em; color:var(--t-text); }
html body .hy-steps li { border-radius:16px!important; background:rgba(255,255,255,.035)!important; border:1px solid var(--t-line); }
html[data-theme="light"] body .hy-steps li { background:#fff!important; }
html body .hy-step-art { border-radius:12px!important; background:rgba(0,0,0,.22)!important; }
html[data-theme="light"] body .hy-step-art { background:var(--t-raised)!important; }
html body .hy-intro .hy-intro-tools li { border-top-color:var(--t-line)!important; }
@media (max-width:650px) {
 html body .hy-intro-hero { padding:28px 20px 24px; border-radius:20px; }
 html body .hy-intro-cta .t-cta { flex:1 1 100%; justify-content:space-between; }
}

/* ── 덱 목록(혈자리 왼쪽) ─────────────────────────────── */
html body .hy-list { padding:6px!important; }
html body .hy-list a.hy-item { border-radius:12px!important; }
html body .hy-list a.hy-item.active { background:rgba(255,255,255,.08)!important; box-shadow:0 0 0 1px var(--t-line) inset!important; }
html[data-theme="light"] body .hy-list a.hy-item.active { background:var(--t-raised)!important; }
html body .hy-list a.hy-item img { border-radius:8px!important; }
html body .my-set { border-radius:16px!important; background:var(--t-panel)!important; border:1px solid var(--t-panel-border)!important; }

/* ── 탭(분할 단추): 알약 모양 ──────────────────────────── */
html body :is(.nt-tabs,.cs-tabs,.dm-search-tabs) { border-radius:var(--t-control-radius)!important; background:rgba(255,255,255,.04)!important; border:1px solid var(--t-line)!important; padding:4px!important; }
html body :is(.nt-tabs,.cs-tabs,.dm-search-tabs) > button { border-radius:var(--t-control-radius)!important; }
html body :is(.nt-tabs,.cs-tabs) > button:is(.active,[aria-pressed="true"],[aria-selected="true"]) { background:var(--t-primary)!important; color:var(--t-primary-ink)!important; }

/* ══ 덱메이커: 무엇부터 누를지 보이게 ═══════════════════════
   도구 단추들은 선 없는 알약 묶음 하나로, 주 단추는 '현재 덱 저장'(밝은 알약)과 '듀얼 준비'(화살표 알약).
   1단계 카드 찾기는 강조색(라벤더)으로 표시. */
html body.deckmaker-page .dm-head-actions { background:rgba(255,255,255,.035); border:1px solid var(--t-line); border-radius:var(--t-control-radius); padding:4px; gap:2px!important; }
html[data-theme="light"] body.deckmaker-page .dm-head-actions { background:rgba(255,255,255,.75); }
html body.deckmaker-page .dm-head-actions :is(button,summary) { border:0!important; background:transparent!important; border-radius:var(--t-control-radius)!important; color:var(--t-muted)!important; font-weight:600!important; }
html body.deckmaker-page .dm-head-actions :is(button,summary):hover { background:rgba(255,255,255,.07)!important; color:var(--t-text)!important; }
html body.deckmaker-page .dm-toolbar-tools { gap:2px!important; }
html body.deckmaker-page #dmSim { background:var(--t-primary)!important; color:var(--t-primary-ink)!important; border:0!important; }
html body.deckmaker-page #dmSim::after { margin-left:2px; }
html body.deckmaker-page .dm-flow-navigation > a { font-size:14px; }
/* 가운데: 덱 이름은 크게, 저장은 밝은 알약, 나머지는 조용히 */
html body.deckmaker-page .dm-title-row { gap:6px!important; }
html body.deckmaker-page #dmName { font-size:16px!important; font-weight:700!important; height:40px!important; }
html body.deckmaker-page #dmSave { height:40px!important; padding:0 18px!important; }
html body.deckmaker-page #dmSaveAs { background:transparent!important; border:1px solid var(--t-control)!important; height:40px!important; }
html body.deckmaker-page :is(#dmUndo,#dmClear) { width:40px!important; height:40px!important; padding:0!important; border:0!important; background:rgba(255,255,255,.04)!important; border-radius:50%!important; }
html body.deckmaker-page :is(#dmUndo,#dmClear) svg { width:18px!important; height:18px!important; }
html body.deckmaker-page .dm-decks > :is(label,div):not(.dm-zone):not(.dm-title-row) { color:var(--t-muted); font-size:12px; }
html body.deckmaker-page .dm-zone > h2 { border-bottom:1px solid var(--t-line)!important; }
html body.deckmaker-page .dm-zone > h2 > span:first-of-type { background:rgba(255,255,255,.06); border-radius:var(--t-control-radius); padding:2px 10px; font-size:12px!important; height:auto!important; }
html body.deckmaker-page .dm-role-entry { border-radius:var(--t-control-radius)!important; height:30px!important; min-height:30px!important; }
/* 오른쪽 1단계 */
html body.deckmaker-page .dm-search .dm-search-tabs > button:is(#dmTabAll,#dmTabBookmarks,#dmTabRecent).active { background:var(--t-accent)!important; color:var(--t-accent-ink)!important; }
html body.deckmaker-page #dmSearchSubmit { background:var(--t-accent)!important; color:var(--t-accent-ink)!important; border-radius:var(--t-control-radius)!important; padding:0 18px!important; }
html body.deckmaker-page .dm-search > h2::before { background:var(--t-accent)!important; color:var(--t-accent-ink)!important; }
html body.deckmaker-page .dm-search-tools :is(button,select) { background:transparent!important; }
/* 왼쪽 카드 정보: 빈 그림 칸은 점선, 단추는 조용한 알약 */
html body.deckmaker-page .dm-card-art { border-radius:16px!important; border:1px dashed var(--t-control)!important; background:rgba(0,0,0,.18)!important; }
html body.deckmaker-page .dm-detail-actions button { border-radius:var(--t-control-radius)!important; background:rgba(255,255,255,.035)!important; border:1px solid var(--t-line)!important; }
html body.deckmaker-page #dmAddMain { background:color-mix(in srgb,var(--t-accent) 18%,transparent)!important; border-color:color-mix(in srgb,var(--t-accent) 40%,transparent)!important; color:var(--t-text)!important; }

/* ══ 시뮬레이터: 같은 단추 체계 ════════════════════════════ */
html body.sim-page #guide .g-quick button[data-go] { background:var(--t-primary)!important; color:var(--t-primary-ink)!important; border-radius:18px!important; }
html body.sim-page #guide .g-quick button[data-go] small { color:var(--t-primary-ink)!important; opacity:.65; }
html body.sim-page #guide .g-quick button[data-sample] { border-radius:18px!important; background:rgba(255,255,255,.035)!important; }
html body.sim-page .session-actions .compact-menu:has(#simSave) > summary,html body.sim-page #setupDone { background:var(--t-primary)!important; color:var(--t-primary-ink)!important; border:0!important; border-radius:var(--t-control-radius)!important; }
html body.sim-page .sim-board-wrap { background:rgba(0,0,0,.25)!important; border-radius:var(--t-radius)!important; }
html body.sim-page .sim-steps > button.on { background:var(--t-primary)!important; color:var(--t-primary-ink)!important; border-radius:var(--t-control-radius)!important; }

/* 떠 있는 단추 묶음·메뉴 창: 유리 */
html body:not(.sim-page) .site-navigation-tools,html body .site-menu-panel,html body .menu-pop { background:color-mix(in srgb,var(--t-surface) 82%,transparent)!important; backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-color:var(--t-control)!important; }
html body :is(.site-menu-panel,.menu-pop) { border-radius:16px!important; box-shadow:0 24px 60px -20px rgba(0,0,0,.6)!important; }

@media (prefers-reduced-transparency:reduce) {
 html body .topbar,html body .site-navigation-tools,html body .site-menu-panel,html body .menu-pop { backdrop-filter:none!important; background:var(--t-surface)!important; }
}

/* v3 다음에 다시 적는 폰 규칙: 위 메뉴는 옆으로 넘기는 한 줄 (알약 묶음 틀 없이) */
@media (max-width:650px) {
 html body .topbar .viewnav { background:transparent!important; border:0!important; border-radius:0!important; padding:2px 12px 8px!important; }
 html body .topbar .viewnav a { padding:8px 14px!important; }
}

/* ══════════════════════════════════════════════════════════════
   디자인 시스템 v3.1 — 참고 시안을 베끼지 않고 이 사이트에서 가져온 것
   · 색: 로고의 페리윙클(#9db5f2)과 듀얼 필드 같은 깊은 남색, 카드 뒷면의 구릿빛을 아주 옅게.
     바탕 빛 = 위에서 필드에 내려앉는 조명(페리윙클) + 왼쪽 아래 남보라 + 오른쪽 아래 구리빛.
   · 모양: 로고의 마름모 = 혈자리 표시. 단계 번호와 첫 화면 그림에 쓴다.
   · 단추: 알약 대신 로고처럼 둥근 사각(10). 주 단추는 로고 색 채움 + 남색 글자.
   ══════════════════════════════════════════════════════════════ */
:root {
 --t-ground:#07080d; --t-surface:#0f111a; --t-raised:#161927; --t-active:#1d2134;
 --t-line:rgba(170,190,255,.09); --t-control:rgba(170,190,255,.18);
 --t-text:#eef1fa; --t-muted:#a8b0c6; --t-faint:#8189a3;
 --t-accent:#aec2f4; --t-accent-ink:#0d1630;
 --t-primary:#aec2f4; --t-primary-ink:#0d1630;
 --t-glow-a:rgba(118,146,236,.20); --t-glow-b:rgba(70,58,170,.16); --t-glow-c:rgba(190,120,60,.08);
 --t-panel:linear-gradient(180deg,rgba(174,194,244,.06),rgba(174,194,244,.018));
 --t-panel-border:rgba(174,194,244,.11);
 --t-sheen:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,0) 46%);
 --t-radius:16px; --t-control-radius:10px; --t-chip-radius:6px;
}
html[data-theme="light"] {
 --t-ground:#f4f5fa; --t-surface:#ffffff; --t-raised:#eceff8; --t-active:#e2e7f6;
 --t-line:rgba(30,45,110,.09); --t-control:rgba(30,45,110,.18);
 --t-text:#141a2e; --t-muted:#4a5370; --t-faint:#596280;
 --t-accent:#3a54b4; --t-accent-ink:#ffffff;
 --t-primary:#2c3f8f; --t-primary-ink:#ffffff;
 --t-glow-a:rgba(120,150,240,.20); --t-glow-b:rgba(120,100,220,.10); --t-glow-c:rgba(210,150,90,.10);
 --t-panel:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.78));
 --t-panel-border:rgba(30,45,110,.09);
}
html body { background-image:radial-gradient(1200px 520px at 50% -12%,var(--t-glow-a),transparent 66%),radial-gradient(800px 600px at -6% 108%,var(--t-glow-b),transparent 62%),radial-gradient(700px 520px at 106% 100%,var(--t-glow-c),transparent 60%)!important; }

/* 둥근 사각 단추·입력 (알약 아님) */
html body :is(button,select,summary,.hub-search,.search-wrap,.t-cta) { border-radius:var(--t-control-radius)!important; }
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),select,.search-wrap,.hub-search) { border-radius:var(--t-control-radius)!important; }
html body .topbar .viewnav { border-radius:12px!important; }
html body .topbar .viewnav a { border-radius:8px!important; }
html body .topbar .viewnav a.active,html body .topbar .viewnav a[aria-current="page"] { background:color-mix(in srgb,var(--t-accent) 20%,transparent)!important; color:var(--t-text)!important; box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--t-accent) 35%,transparent); }
html body .topbar :is(.acct-btn,.notice-link,.theme-toggle) { border-radius:var(--t-control-radius)!important; }
html body :is(.nt-tabs,.cs-tabs,.dm-search-tabs) { border-radius:12px!important; }
html body :is(.nt-tabs,.cs-tabs,.dm-search-tabs) > button { border-radius:8px!important; }
html body :is(.nt-tabs,.cs-tabs) > button:is(.active,[aria-pressed="true"],[aria-selected="true"]) { background:color-mix(in srgb,var(--t-accent) 22%,transparent)!important; color:var(--t-text)!important; }
html body .hy-sevlabel { border-radius:6px!important; }
html body .hy-list a.hy-item { border-radius:10px!important; }
html body .hy-list a.hy-item.active { background:color-mix(in srgb,var(--t-accent) 14%,transparent)!important; box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--t-accent) 26%,transparent)!important; }

/* 주 단추: 로고 색 채움, 화살표는 글자(→)로 */
html body .t-cta { height:44px!important; min-height:44px!important; padding:0 18px!important; gap:8px; font-size:15px!important; }
html body .t-cta:not(.t-cta-ghost)::after,html body.deckmaker-page #dmSim::after { content:"→"!important; width:auto!important; height:auto!important; background:none!important; border-radius:0!important; font-weight:700; transition:translate .18s var(--t-ease); }
html body .t-cta i { display:none!important; }
html body .t-cta.t-cta-ghost { background:transparent!important; color:var(--t-text)!important; border:1px solid var(--t-control)!important; }
html body .t-cta.t-cta-ghost:hover { background:rgba(174,194,244,.08)!important; }
html body :is(button.primary,#addRecord,#newDeck,button.accent,#dmSave,#_x):hover { box-shadow:0 0 0 4px color-mix(in srgb,var(--t-primary) 22%,transparent),0 8px 24px -8px color-mix(in srgb,var(--t-primary) 60%,transparent)!important; }
html body.deckmaker-page #dmSim { height:40px!important; min-height:40px!important; padding:0 16px!important; gap:8px; font-size:14px!important; }
@media (hover:hover) { html body .t-cta:hover::after,html body.deckmaker-page #dmSim:hover::after { translate:3px 0; } }

/* ── 첫 화면 대문: 글 왼쪽 + 실제 덱 그림 마름모 격자 오른쪽 ── */
html body .hy-intro-hero { display:grid!important; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); align-items:center; gap:24px; padding:32px 32px!important; border-radius:20px!important;
 background:radial-gradient(420px 260px at 82% 50%,color-mix(in srgb,var(--t-accent) 22%,transparent),transparent 70%),var(--t-panel)!important; }
html body .hy-intro-kicker { display:none!important; }
html body .hy-intro .hy-intro-hero h2 { font-size:clamp(28px,3vw,40px)!important; line-height:1.18!important; letter-spacing:-.04em!important; font-weight:800!important; margin:0 0 12px!important; }
html body .hy-intro-lead { margin:0 0 20px!important; max-width:36em; font-size:14px!important; text-wrap:pretty; }
html body .hy-intro-stat { margin:16px 0 0; font-size:13px; color:var(--t-faint); }
html body .hy-intro-stat b { color:var(--t-text); font-size:15px; font-variant-numeric:tabular-nums; margin-right:1px; }
/* 마름모 격자: 로고의 마름모 = 혈자리 */
html body .hy-intro-wall { position:relative; height:230px; display:grid; grid-template-columns:repeat(4,64px); grid-auto-rows:46px; justify-content:center; align-content:center; column-gap:28px; }
html body .hy-intro-wall span { width:64px; height:64px; rotate:45deg; border-radius:12px; overflow:hidden; border:1px solid var(--t-panel-border); box-shadow:0 10px 30px -12px rgba(0,0,0,.7); background:var(--t-raised); }
html body .hy-intro-wall span:nth-child(n+5):nth-child(-n+7) { translate:46px 0; }
html body .hy-intro-wall span img { width:100%; height:100%; object-fit:cover; rotate:-45deg; scale:1.45; filter:saturate(.85); }
html body .hy-intro-wall span:nth-child(3n+2) img { filter:saturate(.85) brightness(.8); }
html body .hy-intro-wall span:nth-child(6) { border-color:var(--t-accent); box-shadow:0 0 0 3px color-mix(in srgb,var(--t-accent) 30%,transparent),0 0 28px color-mix(in srgb,var(--t-accent) 45%,transparent); }
html body .hy-intro-wall span:nth-child(6) img { filter:none; }
@media (max-width:900px) { html body .hy-intro-hero { grid-template-columns:1fr; } html body .hy-intro-wall { display:none; } }
@media (max-width:650px) { html body .hy-intro-hero { padding:22px 18px!important; } html body .hy-intro-cta .t-cta { flex:1 1 auto; justify-content:center; } }

/* 단계 번호: 마름모 */
html body .hy-steps { counter-reset:step; }
html body .hy-steps li b::before { content:counter(step)!important; counter-increment:step; display:inline-grid; place-items:center; width:18px; height:18px; margin-right:10px; rotate:45deg; border-radius:4px; background:color-mix(in srgb,var(--t-accent) 22%,transparent); border:1px solid color-mix(in srgb,var(--t-accent) 45%,transparent); color:var(--t-text); font-size:11px; font-weight:800; vertical-align:2px; }
html body .hy-steps li { counter-increment:none!important; border-radius:14px!important; }
html body .hy-steps li b { display:flex; align-items:center; }
html body .hy-steps li b::first-letter { }
html body.deckmaker-page :is(.dm-search > h2,.dm-title-row ~ .dm-zone:not(.dm-zone ~ .dm-zone) > h2)::before { border-radius:4px!important; rotate:45deg; width:18px!important; height:18px!important; font-size:11px!important; }
html body.deckmaker-page .dm-search > h2::before { background:color-mix(in srgb,var(--t-accent) 30%,transparent)!important; color:var(--t-text)!important; border:1px solid color-mix(in srgb,var(--t-accent) 55%,transparent); }

/* 칸 모서리 16, 순위 칸 14 */
html body .hy-card .hy-ctiles > .hy-ctile.hy-ctile,html body .hy-overview .hy-matchup { border-radius:14px!important; }

/* ── 앞 단계에서 남은 문제 ── */
/* '테마 선택'은 폰 전용 */
@media (min-width:901px) { html body .hy-heading > .hy-theme-trigger { display:none!important; } }
/* 덱메이커 도구 묶음: 선 없는 글자 단추 (예전 규칙이 id 우선순위로 이겨서 같은 우선순위로 맞춤) */
html body.deckmaker-page .dm-head-actions :is(button,summary,#_x) { border:0!important; background:transparent!important; color:var(--t-muted)!important; font-weight:600!important; box-shadow:none!important; }
html body.deckmaker-page .dm-head-actions :is(button,summary,#_x):hover { background:rgba(174,194,244,.09)!important; color:var(--t-text)!important; }
html body.deckmaker-page .dm-head-actions { border-radius:12px!important; }
/* '내 덱 정하기' 새 기능 표시: 연두 대신 로고 색 */
html body .my-feature-new .my-set { border:1px solid var(--t-accent)!important; background:color-mix(in srgb,var(--t-accent) 10%,var(--t-surface))!important; }
html body .my-new-badge { background:var(--t-accent)!important; color:var(--t-accent-ink)!important; border-radius:4px!important; }

@media (max-width:650px) {
 html body .topbar .viewnav { background:transparent!important; border:0!important; border-radius:0!important; padding:2px 12px 8px!important; }
}

/* v3.1 보정 */
html body .t-cta.t-cta-ghost:is(#_x,button) { background:transparent!important; color:var(--t-text)!important; border:1px solid var(--t-control)!important; }
html body .t-cta.t-cta-ghost:is(#_x,button):hover { background:rgba(174,194,244,.08)!important; box-shadow:none!important; }
@media (min-width:901px) { html body .hy-heading > :is(.hy-theme-trigger,#_x) { display:none!important; } }
/* 마름모 번호: 모양만 마름모(clip), 숫자는 바로 */
html body .hy-steps li b::before,html body.deckmaker-page :is(.dm-search > h2,.dm-title-row ~ .dm-zone:not(.dm-zone ~ .dm-zone) > h2)::before {
 rotate:none!important; border:0!important; border-radius:0!important; width:22px!important; height:22px!important; clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%); font-size:11px!important; font-weight:800!important; display:inline-grid!important; place-items:center; }
html body .hy-steps li b::before,html body.deckmaker-page .dm-search > h2::before { background:var(--t-accent)!important; color:var(--t-accent-ink)!important; }
html body.deckmaker-page .dm-title-row ~ .dm-zone:not(.dm-zone ~ .dm-zone) > h2::before { background:color-mix(in srgb,var(--t-accent) 30%,var(--t-raised))!important; color:var(--t-text)!important; }
html body.deckmaker-page .dm-shell .dm-head .dm-head-actions :is(button,summary,#_x):not(#_a):not(#_b) { border:0!important; background:transparent!important; color:var(--t-muted)!important; box-shadow:none!important; }
html body.deckmaker-page .dm-shell .dm-head .dm-head-actions :is(button,summary,#_x):not(#_a):not(#_b):hover { background:rgba(174,194,244,.09)!important; color:var(--t-text)!important; }

/* ══════════════════════════════════════════════════════════════
   v4 — 하나의 규칙으로 정리 (2026-10-22, 사용자 지적: 단추·아이콘 언어가 제각각)
   단추는 세 종류뿐이고 높이 36 · 모서리 10이 같다.
     주   : 로고 색 채움 + 남색 글자          (화면·칸마다 하나)
     보조 : 투명 + 가는 선 + 본문색 글자
     도구 : 묶음 안, 선 없음 + 회색 글자      (덱메이커 위쪽 도구 묶음)
   글자가 있는 단추에는 아이콘을 쓰지 않는다. 아이콘만 있는 단추(되돌리기·휴지통·밝기)는 36×36 보조.
   번호 표시·마름모 장식 없음.
   ══════════════════════════════════════════════════════════════ */
:root { --b-h:36px; --b-r:10px; }

/* 보조 (기본) */
html body :is(.topbar .site-tools,.heading,.hy-heading,.hub-heading,.help-heading-actions,.toolbar,.tool-actions,.dm-title-row,.dm-search-tools,.dm-query-row,.dm-detail-actions,.dm-zone > h2,.cs-results + *,.sim-heading,.session-actions,.sim-main .sim-bar,.sim-main .grp,.sim-main .sim-grp,.sim-main .reset-tools,.resume-note,.hy-side,.my-block,.my-invite-actions,.sim-view-options) :is(button,a.notice-link,details > summary):not(.primary):not(.accent):not(.hy-tile):not(.hy-item):not(.text-btn):not(.my-set):not(.my-invite-off):not(.hy-theme-trigger):not(#addRecord):not(#newDeck):not(#dmSave):not(#dmSim):not(#dmSearchSubmit):not(#setupDone):not(.t-cta):not(#_a):not(#_b) {
 height:var(--b-h)!important; min-height:var(--b-h)!important; padding:0 14px!important; border-radius:var(--b-r)!important;
 background:transparent!important; border:1px solid var(--t-control)!important; color:var(--t-text)!important; box-shadow:none!important;
 display:inline-flex!important; align-items:center!important; justify-content:center!important; gap:6px!important; font-size:13px!important; font-weight:600!important; line-height:1!important; white-space:nowrap; }
html body :is(.topbar .site-tools,.heading,.hy-heading,.hub-heading,.help-heading-actions,.toolbar,.tool-actions,.dm-title-row,.dm-search-tools,.dm-query-row,.dm-detail-actions,.dm-zone > h2,.sim-heading,.session-actions,.sim-main .sim-bar,.sim-main .grp,.sim-main .sim-grp,.sim-main .reset-tools,.resume-note,.hy-side,.my-block,.my-invite-actions,.sim-view-options) :is(button,a.notice-link,details > summary):not(.primary):not(.accent):not(.hy-tile):not(.hy-item):not(.text-btn):not(.my-set):not(.my-invite-off):not(.hy-theme-trigger):not(#addRecord):not(#newDeck):not(#dmSave):not(#dmSim):not(#dmSearchSubmit):not(#setupDone):not(.t-cta):not(#_a):not(#_b):hover { background:rgba(174,194,244,.08)!important; }
html[data-theme="light"] body :is(.topbar .site-tools,.heading,.hy-heading,.hub-heading,.help-heading-actions,.toolbar,.tool-actions,.dm-title-row,.dm-search-tools,.dm-query-row,.dm-detail-actions,.dm-zone > h2,.sim-heading,.session-actions,.sim-main .sim-bar,.sim-main .grp,.sim-main .sim-grp,.sim-main .reset-tools,.resume-note,.hy-side,.my-block,.my-invite-actions,.sim-view-options) :is(button,a.notice-link,details > summary):not(.primary):not(.accent):not(.hy-tile):not(.hy-item):not(.text-btn):not(.my-set):not(.my-invite-off):not(.hy-theme-trigger):not(#addRecord):not(#newDeck):not(#dmSave):not(#dmSim):not(#dmSearchSubmit):not(#setupDone):not(.t-cta):not(#_a):not(#_b):hover { background:rgba(30,45,110,.06)!important; }
html body :is(#dmUndo,#dmClear,.theme-toggle):is(#_a,*):not(#_b):not(#_c) { width:var(--b-h)!important; padding:0!important; }
html body .topbar .theme-toggle .theme-toggle-text { display:none!important; }
html body .dm-zone > h2 .dm-role-entry:not(#_a):not(#_b) { height:28px!important; min-height:28px!important; padding:0 10px!important; font-size:12px!important; }
/* 위험한 동작은 보조 모양 + 빨간 글자 */
html body :is(#bReset,#deckApply,button.danger):not(#_a):not(#_b) { color:var(--t-red)!important; }

/* 주 */
html body :is(button.primary,#addRecord,#newDeck,button.accent,#dmSave,#dmSim,#dmSearchSubmit,#setupDone,.t-cta:not(.t-cta-ghost),.my-invite-go,.session-actions .compact-menu:has(#simSave) > summary):not(.sim-guide button):not(#_a):not(#_b) {
 height:var(--b-h)!important; min-height:var(--b-h)!important; padding:0 16px!important; border-radius:var(--b-r)!important;
 background:var(--t-primary)!important; color:var(--t-primary-ink)!important; border:0!important; box-shadow:none!important;
 display:inline-flex!important; align-items:center!important; justify-content:center!important; gap:6px!important; font-size:13px!important; font-weight:700!important; line-height:1!important; white-space:nowrap; filter:none!important; }
html body :is(button.primary,#addRecord,#newDeck,button.accent,#dmSave,#dmSim,#dmSearchSubmit,#setupDone,.t-cta:not(.t-cta-ghost),.my-invite-go):not(.sim-guide button):not(#_a):not(#_b):hover { box-shadow:0 0 0 3px color-mix(in srgb,var(--t-primary) 25%,transparent)!important; }
/* 덧붙였던 화살표·동그라미 제거 (듀얼 준비 글자에 이미 →가 있음) */
html body :is(.t-cta,#dmSim)::after,html body .t-cta i { content:none!important; display:none!important; }

/* 도구 묶음 (덱메이커 위쪽): 선 없는 회색 글자, 아이콘 없음 */
html body.deckmaker-page .dm-head-actions { gap:0!important; padding:3px!important; border-radius:12px!important; background:rgba(174,194,244,.04)!important; border:1px solid var(--t-line)!important; }
html body.deckmaker-page .dm-head-actions :is(button,summary,#_x):not(#_a):not(#_b):not(#_c) { height:30px!important; min-height:30px!important; padding:0 12px!important; border:0!important; border-radius:8px!important; background:transparent!important; color:var(--t-muted)!important; font-size:13px!important; font-weight:600!important; display:inline-flex!important; align-items:center!important; gap:4px!important; }
html body.deckmaker-page .dm-head-actions :is(button,summary,#_x):not(#_a):not(#_b):not(#_c):hover { background:rgba(174,194,244,.09)!important; color:var(--t-text)!important; }

/* 글자가 있는 단추 안의 아이콘 숨김 */

html body.deckmaker-page .dm-search-tabs .dm-tab-label { display:inline!important; }

/* 번호·마름모 장식 모두 제거 */
html body .hy-steps li b::before,html body.deckmaker-page :is(.dm-search > h2,.dm-zone > h2)::before { content:none!important; display:none!important; }

/* 덱메이커 '덱에 넣기'는 보조 모양으로 통일 */
html body.deckmaker-page #dmAddMain:not(#_a) { background:transparent!important; border-color:var(--t-control)!important; }

/* ── 첫 화면 대문: 큰 덱 그림 3장을 비스듬한 띠로, 글 쪽으로 사라지는 그라데이션 ── */
html body .hy-intro-hero { position:relative!important; display:block!important; min-height:280px; padding:40px 44px!important; overflow:hidden!important; isolation:isolate;
 background:linear-gradient(115deg,#0b0d17 0%,#0e1222 46%,#131a33 100%)!important; border:1px solid var(--t-panel-border)!important; }
html[data-theme="light"] body .hy-intro-hero { background:linear-gradient(115deg,#ffffff 0%,#f3f5fd 46%,#e7ecfb 100%)!important; }
html body .hy-intro-copy { position:relative; z-index:2; max-width:520px; }
html body .hy-intro-art { position:absolute; z-index:0; top:0; right:0; bottom:0; width:58%; display:flex; }
html body .hy-intro-art span { flex:1; margin-left:-7%; background-size:cover; background-position:center 30%; clip-path:polygon(22% 0,100% 0,78% 100%,0 100%); filter:saturate(.9) brightness(.82); transition:filter .3s var(--t-ease); }
html body .hy-intro-art span:first-child { margin-left:0; }
html body .hy-intro-art span:nth-child(2) { filter:saturate(1) brightness(.95); }
@media (hover:hover) { html body .hy-intro-art span:hover { filter:saturate(1.05) brightness(1.02); } }
/* 그림 위 색감: 글 쪽(왼쪽)으로 남색이 덮이고, 위에서 로고 색 빛 */
html body .hy-intro-hero::before { content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
 background:linear-gradient(90deg,#0b0d17 0%,#0b0d17 38%,rgba(11,13,23,.86) 50%,rgba(11,13,23,.25) 72%,rgba(11,13,23,.05) 100%),radial-gradient(520px 260px at 75% -10%,rgba(174,194,244,.28),transparent 70%),linear-gradient(0deg,rgba(11,13,23,.55),transparent 40%); }
html[data-theme="light"] body .hy-intro-hero::before { background:linear-gradient(90deg,#fff 0%,#fff 38%,rgba(255,255,255,.88) 50%,rgba(255,255,255,.2) 74%,rgba(255,255,255,0) 100%); }
html body .hy-intro .hy-intro-hero h2 { font-size:clamp(28px,3vw,38px)!important; line-height:1.2!important; margin:0 0 12px!important; }
html body .hy-intro-lead { color:var(--t-muted)!important; max-width:30em!important; }
html body .hy-intro-cta .t-cta { height:42px!important; min-height:42px!important; padding:0 20px!important; font-size:14px!important; }
html body .hy-intro-wall { display:none!important; }
@media (max-width:900px) {
 html body .hy-intro-art { width:100%; opacity:.35; }
 html body .hy-intro-hero::before { background:linear-gradient(90deg,rgba(11,13,23,.92),rgba(11,13,23,.7))!important; }
 html[data-theme="light"] body .hy-intro-hero::before { background:rgba(255,255,255,.86)!important; }
}
@media (max-width:650px) { html body .hy-intro-hero { padding:24px 18px!important; min-height:0; } }
/* v4 보정 */
@media (min-width:901px) { html body .hy-heading > .hy-theme-trigger:not(#_a):not(#_b):not(#_c) { display:none!important; } }
html body :is(#dmUndo,#dmClear,.hy-side button,.theme-toggle):not(#_a) svg { width:18px!important; height:18px!important; min-width:18px; flex:none; }
html body .hy-side :is(#hySortDir,.hy-sort-dir,button[aria-label*="정렬"]):not(#_a):not(#_b) { width:var(--b-h)!important; padding:0!important; }
html body .hy-intro-cta .t-cta:not(#_a):not(#_b):not(#_c) { height:42px!important; min-height:42px!important; padding:0 20px!important; font-size:14px!important; }
html body .hy-intro-cta .t-cta:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) { height:42px!important; min-height:42px!important; padding:0 20px!important; font-size:14px!important; }
/* 폰의 '테마 선택'도 보조 단추 모양 */
@media (max-width:650px) { html body .hy-heading > .hy-theme-trigger { height:var(--b-h)!important; min-height:var(--b-h)!important; padding:0 14px!important; border-radius:var(--b-r)!important; background:transparent!important; border:1px solid var(--t-control)!important; color:var(--t-text)!important; font-size:13px!important; width:auto!important; gap:8px; } }
/* 떠 있는 단추 묶음도 같은 모서리 */
html body:not(.sim-page) .site-navigation-tools:not(#_a) { border-radius:12px!important; }
html body:not(.sim-page) .site-navigation-tools :is(.hy-totop,details > summary):not(#_a):not(#_b) { border-radius:8px!important; height:36px!important; min-height:36px!important; }
html body.sim-page .site-navigation-tools :is(.hy-totop,details > summary):not(#_a):not(#_b) { border-radius:var(--b-r)!important; height:36px!important; min-height:36px!important; background:var(--t-surface)!important; border:1px solid var(--t-control)!important; box-shadow:none!important; }
/* 분할 탭: 묶음 모서리 12, 안쪽 단추 8, 선 없음, 높이 32 */
html body :is(.dm-search-tabs,.cs-tabs) > button:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i) { border:0!important; border-radius:8px!important; height:32px!important; min-height:32px!important; box-shadow:none!important; background:transparent!important; color:var(--t-muted)!important; }
html body :is(.dm-search-tabs,.nt-tabs,.cs-tabs) > button:is(.active,[aria-pressed="true"],[aria-selected="true"]):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i) { background:var(--t-primary)!important; color:var(--t-primary-ink)!important; font-weight:700!important; }
/* 시뮬레이터 옆 창(덱 편집·기록)과 이어서 열기 알림: 보조 단추로 통일 */
html body.sim-page :is(#simSide,#simLog,.sim-side,.sim-log,.resume-note) :is(button,details > summary):not(.hy-tile):not([class*="card"]):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i) {
 min-height:var(--b-h)!important; height:auto!important; padding:8px 14px!important; border-radius:var(--b-r)!important; background:transparent!important; border:1px solid var(--t-control)!important; color:var(--t-text)!important; box-shadow:none!important; font-size:13px!important; font-weight:600!important; }
html body.sim-page :is(#simSide,#simLog,.sim-side,.sim-log) :is(#deckSave,button.primary):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i) { background:var(--t-primary)!important; color:var(--t-primary-ink)!important; border:0!important; }
html body.sim-page .sim-steps > button:not(#_a):not(#_b) { height:30px!important; border-radius:8px!important; }
html body.sim-page :is(#simSide,#simLog) :is(button,details > summary):not([id^="shot"]):not(.hy-tile):not([class*="card"]):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j) { height:var(--b-h)!important; padding:0 14px!important; display:inline-flex!important; align-items:center!important; justify-content:center; line-height:1.1!important; }

/* ══ 아이콘 한 벌 (v4.1) ═══════════════════════════════════════
   사용자 지적: 아이콘을 빼지 말고 같은 모양으로 맞출 것. 글자만 많으면 한눈에 안 들어온다.
   · 모든 단추 아이콘은 같은 선 아이콘(20×20 그림, 선 1.7, 둥근 끝)을 16px로, 글자 왼쪽 6px 간격.
   · 색은 mask로 글자색(currentColor)을 따르므로 밝은 단추 위에서도 보인다.
   · 원래 그림 아이콘이 있던 단추(확률 계산기·페이퍼 카드·카드 찾기 탭·덱에 넣기/빼기·되돌리기·휴지통)는 그 그림을 16px로 맞춰 다시 보인다. */
html body #bHelp:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%227.3%22%2F%3E%3Cpath%20d%3D%22M8%208a2%202%200%201%201%202.8%201.8c-.5.3-.8.7-.8%201.2v.4M10%2013.9h.01%22%2F%3E%3C%2Fsvg%3E"); }
html body [data-site-help]:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%227.3%22%2F%3E%3Cpath%20d%3D%22M8%208a2%202%200%201%201%202.8%201.8c-.5.3-.8.7-.8%201.2v.4M10%2013.9h.01%22%2F%3E%3C%2Fsvg%3E"); }
html body .deck-easy-help:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%227.3%22%2F%3E%3Cpath%20d%3D%22M8%208a2%202%200%201%201%202.8%201.8c-.5.3-.8.7-.8%201.2v.4M10%2013.9h.01%22%2F%3E%3C%2Fsvg%3E"); }
html body .dm-editor-help:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%227.3%22%2F%3E%3Cpath%20d%3D%22M8%208a2%202%200%201%201%202.8%201.8c-.5.3-.8.7-.8%201.2v.4M10%2013.9h.01%22%2F%3E%3C%2Fsvg%3E"); }
html body [data-deck-help]:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%227.3%22%2F%3E%3Cpath%20d%3D%22M8%208a2%202%200%201%201%202.8%201.8c-.5.3-.8.7-.8%201.2v.4M10%2013.9h.01%22%2F%3E%3C%2Fsvg%3E"); }
html body #drawDeck:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%226.5%22%20y%3D%223%22%20width%3D%2210%22%20height%3D%2213%22%20rx%3D%221.6%22%2F%3E%3Cpath%20d%3D%22M3.5%206.5v9A1.5%201.5%200%200%200%205%2017h7.5%22%2F%3E%3C%2Fsvg%3E"); }
html body #drawLog:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7.5%205.5h9M7.5%2010h9M7.5%2014.5h9M4%205.5h.01M4%2010h.01M4%2014.5h.01%22%2F%3E%3C%2Fsvg%3E"); }
html body #duelPrepOpen:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3.5%206h8.5M15.5%206h1M3.5%2014h2M9%2014h7.5%22%2F%3E%3Ccircle%20cx%3D%2213.8%22%20cy%3D%226%22%20r%3D%221.7%22%2F%3E%3Ccircle%20cx%3D%227.2%22%20cy%3D%2214%22%20r%3D%221.7%22%2F%3E%3C%2Fsvg%3E"); }
html body #duelPrepBar:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3.5%206h8.5M15.5%206h1M3.5%2014h2M9%2014h7.5%22%2F%3E%3Ccircle%20cx%3D%2213.8%22%20cy%3D%226%22%20r%3D%221.7%22%2F%3E%3Ccircle%20cx%3D%227.2%22%20cy%3D%2214%22%20r%3D%221.7%22%2F%3E%3C%2Fsvg%3E"); }
html body #simNew:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2010a6%206%200%201%200%201.8-4.3M4%203.8v3h3%22%2F%3E%3C%2Fsvg%3E"); }
html body #dmClearFilters:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2010a6%206%200%201%200%201.8-4.3M4%203.8v3h3%22%2F%3E%3C%2Fsvg%3E"); }
html body #openMenu > summary:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206.5A1.5%201.5%200%200%201%204.5%205h3.2l1.6%202h6.2A1.5%201.5%200%200%201%2017%208.5v6a1.5%201.5%200%200%201-1.5%201.5h-11A1.5%201.5%200%200%201%203%2014.5z%22%2F%3E%3C%2Fsvg%3E"); }
html body .dm-head-actions > .compact-menu:not(.dm-share-menu) > summary:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206.5A1.5%201.5%200%200%201%204.5%205h3.2l1.6%202h6.2A1.5%201.5%200%200%201%2017%208.5v6a1.5%201.5%200%200%201-1.5%201.5h-11A1.5%201.5%200%200%201%203%2014.5z%22%2F%3E%3C%2Fsvg%3E"); }
html body #simLoad:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206.5A1.5%201.5%200%200%201%204.5%205h3.2l1.6%202h6.2A1.5%201.5%200%200%201%2017%208.5v6a1.5%201.5%200%200%201-1.5%201.5h-11A1.5%201.5%200%200%201%203%2014.5z%22%2F%3E%3C%2Fsvg%3E"); }
html body #dmImport:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206.5A1.5%201.5%200%200%201%204.5%205h3.2l1.6%202h6.2A1.5%201.5%200%200%201%2017%208.5v6a1.5%201.5%200%200%201-1.5%201.5h-11A1.5%201.5%200%200%201%203%2014.5z%22%2F%3E%3C%2Fsvg%3E"); }
html body #saveMenu > summary:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%203.5v8.5M6.5%208.5%2010%2012l3.5-3.5M4%2013.5v1.5A1.5%201.5%200%200%200%205.5%2016.5h9A1.5%201.5%200%200%200%2016%2015v-1.5%22%2F%3E%3C%2Fsvg%3E"); }
html body #simSave:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%203.5v8.5M6.5%208.5%2010%2012l3.5-3.5M4%2013.5v1.5A1.5%201.5%200%200%200%205.5%2016.5h9A1.5%201.5%200%200%200%2016%2015v-1.5%22%2F%3E%3C%2Fsvg%3E"); }
html body #simExportFile:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%203.5v8.5M6.5%208.5%2010%2012l3.5-3.5M4%2013.5v1.5A1.5%201.5%200%200%200%205.5%2016.5h9A1.5%201.5%200%200%200%2016%2015v-1.5%22%2F%3E%3C%2Fsvg%3E"); }
html body #dmSave:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%203.5v8.5M6.5%208.5%2010%2012l3.5-3.5M4%2013.5v1.5A1.5%201.5%200%200%200%205.5%2016.5h9A1.5%201.5%200%200%200%2016%2015v-1.5%22%2F%3E%3C%2Fsvg%3E"); }
html body #backupBtn:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%203.5v8.5M6.5%208.5%2010%2012l3.5-3.5M4%2013.5v1.5A1.5%201.5%200%200%200%205.5%2016.5h9A1.5%201.5%200%200%200%2016%2015v-1.5%22%2F%3E%3C%2Fsvg%3E"); }
html body #restoreBtn:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%2012.5V4M6.5%207.5%2010%204l3.5%203.5M4%2013.5v1.5A1.5%201.5%200%200%200%205.5%2016.5h9A1.5%201.5%200%200%200%2016%2015v-1.5%22%2F%3E%3C%2Fsvg%3E"); }
html body #shareMenu > summary:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%225%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%225.5%22%20cy%3D%2210%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%2215%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22m7.3%209%205.4-3M7.3%2011l5.4%203%22%2F%3E%3C%2Fsvg%3E"); }
html body .dm-share-menu > summary:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%225%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%225.5%22%20cy%3D%2210%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%2215%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22m7.3%209%205.4-3M7.3%2011l5.4%203%22%2F%3E%3C%2Fsvg%3E"); }
html body #simShare:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%225%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%225.5%22%20cy%3D%2210%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%2215%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22m7.3%209%205.4-3M7.3%2011l5.4%203%22%2F%3E%3C%2Fsvg%3E"); }
html body #simOpenFile:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M11.5%203H6.5A1.5%201.5%200%200%200%205%204.5v11A1.5%201.5%200%200%200%206.5%2017h7a1.5%201.5%200%200%200%201.5-1.5V6.5z%22%2F%3E%3Cpath%20d%3D%22M11.5%203v3.5H15M8%2010.5h4M8%2013.5h4%22%2F%3E%3C%2Fsvg%3E"); }
html body #dmTextImport:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M11.5%203H6.5A1.5%201.5%200%200%200%205%204.5v11A1.5%201.5%200%200%200%206.5%2017h7a1.5%201.5%200%200%200%201.5-1.5V6.5z%22%2F%3E%3Cpath%20d%3D%22M11.5%203v3.5H15M8%2010.5h4M8%2013.5h4%22%2F%3E%3C%2Fsvg%3E"); }
html body #dmPaperEdit:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M11.5%203H6.5A1.5%201.5%200%200%200%205%204.5v11A1.5%201.5%200%200%200%206.5%2017h7a1.5%201.5%200%200%200%201.5-1.5V6.5z%22%2F%3E%3Cpath%20d%3D%22M11.5%203v3.5H15M8%2010.5h4M8%2013.5h4%22%2F%3E%3C%2Fsvg%3E"); }
html body #dmSearchSubmit:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%229%22%20r%3D%225.2%22%2F%3E%3Cpath%20d%3D%22m13%2013%204%204%22%2F%3E%3C%2Fsvg%3E"); }
html body #dmFiltersButton:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3.5%205h13l-5%205.8v4.4l-3%201.6v-6z%22%2F%3E%3C%2Fsvg%3E"); }
html body #dmSaveAs:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%204.5v11M4.5%2010h11%22%2F%3E%3C%2Fsvg%3E"); }
html body #dmRelated:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m8.3%2011.7%203.4-3.4M7.2%209.4%205.6%2011a2.6%202.6%200%200%200%203.7%203.7l1.5-1.6M12.8%2010.6l1.6-1.6a2.6%202.6%200%200%200-3.7-3.7L9.2%206.9%22%2F%3E%3C%2Fsvg%3E"); }
html body #dmArt:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2214%22%20height%3D%2212%22%20rx%3D%221.6%22%2F%3E%3Ccircle%20cx%3D%227.5%22%20cy%3D%228.2%22%20r%3D%221.3%22%2F%3E%3Cpath%20d%3D%22m17%2012.5-3.8-3.8L6%2016%22%2F%3E%3C%2Fsvg%3E"); }
html body #simRouteImport:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2214%22%20height%3D%2212%22%20rx%3D%221.6%22%2F%3E%3Ccircle%20cx%3D%227.5%22%20cy%3D%228.2%22%20r%3D%221.3%22%2F%3E%3Cpath%20d%3D%22m17%2012.5-3.8-3.8L6%2016%22%2F%3E%3C%2Fsvg%3E"); }
html body #simRoute:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2214%22%20height%3D%2212%22%20rx%3D%221.6%22%2F%3E%3Ccircle%20cx%3D%227.5%22%20cy%3D%228.2%22%20r%3D%221.3%22%2F%3E%3Cpath%20d%3D%22m17%2012.5-3.8-3.8L6%2016%22%2F%3E%3C%2Fsvg%3E"); }
html body #simVideoExport:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2214%22%20height%3D%2212%22%20rx%3D%221.6%22%2F%3E%3Ccircle%20cx%3D%227.5%22%20cy%3D%228.2%22%20r%3D%221.3%22%2F%3E%3Cpath%20d%3D%22m17%2012.5-3.8-3.8L6%2016%22%2F%3E%3C%2Fsvg%3E"); }
html body #exportImageBtn:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2214%22%20height%3D%2212%22%20rx%3D%221.6%22%2F%3E%3Ccircle%20cx%3D%227.5%22%20cy%3D%228.2%22%20r%3D%221.3%22%2F%3E%3Cpath%20d%3D%22m17%2012.5-3.8-3.8L6%2016%22%2F%3E%3C%2Fsvg%3E"); }
html body .topbar .acct-btn:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%227%22%20r%3D%223.2%22%2F%3E%3Cpath%20d%3D%22M4%2017a6%206%200%200%201%2012%200%22%2F%3E%3C%2Fsvg%3E"); }
html body .topbar .notice-link:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%208.5a4%204%200%201%201%208%200c0%204%201.6%205%201.6%205H4.4S6%2012.5%206%208.5M8.4%2016a1.7%201.7%200%200%200%203.2%200%22%2F%3E%3C%2Fsvg%3E"); }
html body #templatesBtn:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%203%203%207l7%204%207-4zM3%2011l7%204%207-4%22%2F%3E%3C%2Fsvg%3E"); }
html body #duelSideSwitch:not(#_i) { --t-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207h11M12%204l3%203-3%203M16%2013H5M8%2010l-3%203%203%203%22%2F%3E%3C%2Fsvg%3E"); }
html body :is(#bHelp,[data-site-help],.deck-easy-help,.dm-editor-help,[data-deck-help],#drawDeck,#drawLog,#duelPrepOpen,#duelPrepBar,#simNew,#dmClearFilters,#openMenu > summary,.dm-head-actions > .compact-menu:not(.dm-share-menu) > summary,#simLoad,#dmImport,#saveMenu > summary,#simSave,#simExportFile,#dmSave,#backupBtn,#restoreBtn,#shareMenu > summary,.dm-share-menu > summary,#simShare,#simOpenFile,#dmTextImport,#dmPaperEdit,#dmSearchSubmit,#dmFiltersButton,#dmSaveAs,#dmRelated,#dmArt,#simRouteImport,#simRoute,#simVideoExport,#exportImageBtn,.topbar .acct-btn,.topbar .notice-link,#templatesBtn,#duelSideSwitch):not(#_i)::before { content:""!important; display:inline-block!important; width:16px!important; height:16px!important; flex:none!important; margin:0!important; background:currentColor!important; border:0!important; -webkit-mask:var(--t-ic) center/16px 16px no-repeat; mask:var(--t-ic) center/16px 16px no-repeat; position:static!important; }

/* 원래 있던 그림 아이콘 되살리기 (16px로 통일) */
html body :is(#dmOddsOpen,#dmPaperOpen,#dmAddMain,#dmRemoveSelected,#dmUndo,#dmClear) svg:not(#_a),html body .dm-search-tabs .dm-tab-icon:not(#_a) { display:inline-flex!important; }
html body :is(#dmOddsOpen,#dmPaperOpen) svg:not(#_a),html body .dm-search-tabs .dm-tab-icon svg:not(#_a) { width:16px!important; height:16px!important; }
html body :is(#dmAddMain,#dmRemoveSelected) svg:not(#_a) { width:16px!important; height:20px!important; }
html body .dm-search-tabs .dm-tab-icon:not(#_a) { width:16px!important; height:16px!important; }
html body .dm-search-tabs > button:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i) { gap:6px!important; display:inline-flex!important; align-items:center!important; justify-content:center!important; }
/* 시뮬 '사용법'의 ? 글자는 아이콘으로 대신 */
html body #bHelp > span[aria-hidden] { display:none!important; }
/* 단계 표시: 선택된 단계는 로고 색을 옅게 깔아 원래 아이콘(흰색)이 보이게 */
html body.sim-page .sim-steps > button.on:not(#_a):not(#_b):not(#_c) { background:color-mix(in srgb,var(--t-accent) 22%,transparent)!important; color:var(--t-text)!important; box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--t-accent) 40%,transparent)!important; }
/* 판 옆 덱 편집·기록 단추: EX덱·덱 칸과 간격 */
html body.sim-page #fieldDeck:not(#_a) { translate:-14px 0; }
html body.sim-page #fieldLog:not(#_a) { translate:14px 0; }
/* 등반 기록 연도 칸: 숫자가 잘리지 않게 */
html body .toolbar .range input[type=number]:not(#_a):not(#_b) { width:96px!important; padding:0 6px 0 12px!important; font-variant-numeric:tabular-nums; }
/* 메뉴 창 안 항목: 아이콘 | 제목 + 설명 */
html body .menu-pop :is(#simLoad,#simRouteImport,#simOpenFile,#simSave,#simExportFile,#simShare,#simVideoExport,#simRoute,#dmImport,#dmTextImport):not(#_a):not(#_b):not(#_c) { display:grid!important; grid-template-columns:16px minmax(0,1fr)!important; column-gap:10px!important; align-items:center!important; text-align:left!important; justify-content:stretch!important; }
html body .menu-pop :is(#simLoad,#simRouteImport,#simOpenFile,#simSave,#simExportFile,#simShare,#simVideoExport,#simRoute,#dmImport,#dmTextImport) > *:not(#_a) { grid-column:2; }
html body .menu-pop :is(#simLoad,#simRouteImport,#simOpenFile,#simSave,#simExportFile,#simShare,#simVideoExport,#simRoute,#dmImport,#dmTextImport)::before { grid-row:1 / span 2; }
html body.deckmaker-page #dmClearFilters:not(#_a):not(#_b):not(#_c):not(#_d) { width:auto!important; min-width:0!important; padding:0 12px!important; }
html body.deckmaker-page #dmFiltersButton:not(#_a):not(#_b):not(#_c):not(#_d) { width:auto!important; padding:0 12px!important; }

/* ── v4.2 (2026-10-22) ── */
/* 펼친 선택 목록: 밝은 바탕에 밝은 글자가 되던 것 → 화면 테마에 맞춘 목록 */
html:not([data-theme="light"]) body select { color-scheme:dark; }
html[data-theme="light"] body select { color-scheme:light; }
html body select option,html body select optgroup { background-color:var(--t-surface)!important; color:var(--t-text)!important; }
html body select option:checked { background-color:var(--t-active)!important; }
/* 덱메이커 필터·초기화: 아이콘만 (글자는 화면 읽기용으로 남김) */
html body.deckmaker-page :is(#dmFiltersButton,#dmClearFilters):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k) { width:var(--b-h)!important; min-width:var(--b-h)!important; padding:0!important; font-size:0!important; gap:0!important; }
/* 덱 이름: 상자 없이 밑줄 */
html body.deckmaker-page #dmName:not(#_a):not(#_b):not(#_c) { background:transparent!important; border:0!important; border-bottom:1px solid var(--t-control)!important; border-radius:0!important; padding:0 2px!important; height:38px!important; font-size:17px!important; font-weight:700!important; box-shadow:none!important; }
html body.deckmaker-page #dmName:not(#_a):not(#_b):not(#_c):focus { border-bottom-color:var(--t-accent)!important; outline:0!important; }
html body.deckmaker-page #dmName::placeholder { color:var(--t-faint)!important; font-weight:600; }
html body.deckmaker-page .dm-search-tools:not(#_a) { display:flex!important; gap:6px!important; align-items:center!important; grid-template-columns:none!important; }
html body.deckmaker-page .dm-search-tools #dmSort:not(#_a) { flex:1!important; width:auto!important; min-width:0!important; }
html body.deckmaker-page .dm-search-tools :is(#dmFiltersButton,#dmClearFilters):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k) { flex:0 0 var(--b-h)!important; max-width:var(--b-h)!important; }

/* 방문자가 쓴 글·팁: Enter로 바꾼 줄을 그대로 보여 줌 */
html body :is(.my-txt,.my-tip > span,.cm-list li p,.hy-cmb-pop li p,.hy-secnote,.hy-note) { white-space:pre-line!important; }

/* 2026-10-22: stable list columns, a single search surface, readable memo line breaks. */
html body .hy-list a.hy-item{display:grid!important;grid-template-columns:40px minmax(0,1fr) 44px 7px 24px;column-gap:6px;align-items:center}
html body .hy-list a.hy-item>.hy-item-name{grid-column:2;grid-row:1}
html body .hy-list a.hy-item>.my-mark{grid-column:3;grid-row:1;margin:0!important;justify-self:end;white-space:nowrap}
html body .hy-list a.hy-item>.hy-dot{grid-column:4;grid-row:1;margin:0!important;justify-self:center}
html body .hy-list a.hy-item>small{grid-column:5;grid-row:1;justify-self:end;min-width:24px;text-align:center;box-sizing:border-box}
html body.deck-hub .hub-tools .hub-search{display:flex;align-items:center;flex:1 1 220px;min-width:0;max-width:320px;gap:10px;padding-inline:12px!important;overflow:hidden}
html body.deck-hub .hub-tools .hub-search input#deckSearch[type=search]{flex:1 1 0;min-width:0;width:0!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body.deck-hub .hub-tools .hub-search input#deckSearch[type=search]:focus-visible{outline:none!important}
@media(max-width:520px){html body.deck-hub .hub-tools .hub-search{flex-basis:100%;max-width:none}}
html body .my-txt{white-space:pre-line;overflow-wrap:anywhere}

/* PC reading comfort — keep the compact mobile layout and the card artwork intact. */
@media (min-width:901px) {
 html body #viewHyeol {
  --t-fs-section:17px; --t-fs-item:14px; --t-fs-body:13px; --t-fs-meta:12px;
  --t-lh-body:1.55;
  font-size:14px;
 }
 html body #viewHyeol :is(.my-txt,.hy-copy-paragraph,.hy-tactics p,.my-invite p,.hy-note,.hy-secnote,.hy-timing,.hy-flow p,.hy-flow li) {
  font-size:var(--t-fs-body)!important; line-height:var(--t-lh-body)!important;
 }
 html body #viewHyeol :is(.my-sub,.hy-trap > small,.hy-overview > small,.hy-sources summary,.hy-srcline,.hy-timing::before,.hy-note::before,.hy-secnote::before,.hy-note > b:first-child,.hy-secnote > b:first-child) {
  font-size:var(--t-fs-meta)!important; line-height:1.55!important;
 }
 html body #viewHyeol :is(.hy-src,.my-block details > summary,.hy-ctile .hy-timing::before,.hy-ctile p::before) { font-size:13px!important; line-height:1.55!important; }
 html body #viewHyeol .hy-matchup summary b { font-size:13px!important; }
 html body #viewHyeol .hy-matchup summary::after { font-size:12px!important; }
 html body #viewHyeol .hy-matchup :is(p,li) { font-size:13px!important; line-height:1.55!important; }
 html body #viewHyeol :is(.my-side,.hy-srcline > summary) { font-size:13px!important; }
 html[data-theme="light"] body #viewHyeol {
  --t-muted:#3c4862; --t-faint:#4a5670;
 }
 html[data-theme="light"] body #viewHyeol :is(.my-txt,.hy-copy-paragraph,.hy-ctile p,.hy-tactics p,.my-invite p,.my-sub,.hy-note,.hy-secnote,.hy-timing,.hy-flow p,.hy-flow li,.hy-overview > small,.hy-trap > small) {
  font-weight:500!important;
 }
}

/* taste-skill 2.1.4: reading ink is primary; hierarchy comes from size and spacing. */
html body #viewHyeol .hy-card :is(.my-block,.hy-tactics,.hy-flow) {
 box-shadow:none!important; background-image:none!important;
}
@media (min-width:901px) {
 html body #viewHyeol .hy-card :is(.my-txt,.hy-copy-paragraph,.hy-ctile p,.hy-tactics p,.hy-flow p,.hy-flow li) {
  color:var(--t-text)!important; letter-spacing:normal!important;
 }
 html body #viewHyeol .hy-list .hy-item-name { font-size:14px!important; line-height:1.4!important; }
 html[data-theme="light"] body #viewHyeol .hy-list .hy-item-name { font-weight:500; }
}

/* Reading balance: modest titles, regular copy, separate timing from the explanation. */
@media (min-width:901px) {
 html body #viewHyeol .hy-card .hy-ctile .hy-tile strong {
  font-size:13px!important; font-weight:600!important; line-height:1.4!important;
 }
 html body #viewHyeol .hy-card :is(.hy-ctile p,.hy-copy-paragraph,.my-txt,.hy-tactics p,.hy-note,.hy-secnote,.hy-flow p,.hy-flow li) {
  font-size:13px!important; font-weight:400!important; line-height:1.6!important;
 }
 html body #viewHyeol .hy-card .hy-ctile .hy-timing {
  font-size:13px!important; font-weight:500!important; line-height:1.5!important;
 }
 html body #viewHyeol .hy-card .hy-ctile .hy-timing::before {
  font-size:11px!important; font-weight:500!important; margin-bottom:3px!important;
 }
 html body #viewHyeol .hy-card .hy-ctile p { margin-top:4px!important; }
 html[data-theme="light"] body #viewHyeol .hy-card :is(.hy-ctile p,.hy-copy-paragraph,.my-txt,.hy-tactics p,.hy-note,.hy-secnote,.hy-flow p,.hy-flow li) { font-weight:450!important; }
}

/* Climb tabs retain the original straight underline. */
html body #viewClimb .tabs button { background:transparent!important; border:0!important; border-bottom:2px solid transparent!important; border-radius:0!important; box-shadow:none!important; padding:7px 0!important; }
html body #viewClimb .tabs button.active { border-bottom-color:var(--t-text)!important; }
html body #viewClimb #sampleNote { background:var(--t-surface)!important; color:var(--t-muted)!important; border-color:var(--t-control)!important; }
html[data-theme="light"] body #viewClimb #sampleNote { background:#edf2fa!important; color:#354761!important; border-color:#c2cede!important; }
html[data-theme="light"] body #viewClimb #sampleNote #startOwn { color:#244c87!important; }

/* Editor filters must win over the explicit grid display of deck rows. */
html body #hyList a.hy-item[hidden]{display:none!important}
