/* 개편 미리보기 층. 배포 사이트에는 들어가지 않는다.
   tokens.css 의 --t-* 를 쓰고, 기존 taste.css 를 이기기 위해 지금은 선택자를 세게 쓴다.
   확정되면 taste.css 겹겹 규칙을 걷어내고 이 규칙을 정리해서 옮긴다. */

/* ── 혈자리 카드 칸: 원래 세로형(위 그림, 아래 글)을 유지하고 다듬기만 한다 ── */
@media (min-width: 901px) {
  /* 같은 줄의 칸은 높이를 맞추고, 출처는 칸 맨 아래에 */
  html body #viewHyeol .hy-card .hy-rank-line:not(#_a) { align-items: stretch !important; }
  html body #viewHyeol .hy-card .hy-rank-line > .hy-sevgroup:not(#_a) { align-self: stretch !important; }
  html body #viewHyeol .hy-card .hy-sevgroup > .hy-ctiles:not(#_a) { flex: 1 1 auto !important; align-items: stretch !important; }
  html body #viewHyeol .hy-card .hy-ctiles > .hy-ctile:not(#_a) { align-self: stretch !important; }
  html body #viewHyeol .hy-card .hy-ctiles > .hy-ctile > .hy-mobile-footer:not(#_a) { margin-top: auto !important; padding-top: 6px !important; }
}

/* 혈자리 칸 타이밍: 작은 이름표 + 흰 글자 (PC·폰 같음) */
html body #viewHyeol .hy-card .hy-ctile .hy-timing:not(#_a) { color: var(--t-text) !important; font-weight: 500 !important; word-break: keep-all; }
html body #viewHyeol .hy-card .hy-ctile .hy-timing:not(#_a)::before {
  display: inline-block !important; margin: 0 0 3px !important; padding: 1px 6px !important; border-radius: 4px !important;
  background: rgba(8, 10, 18, .3) !important; color: var(--t-muted) !important; font: 600 11px/1.45 var(--font-sans) !important;
}
html body #viewHyeol .hy-card .hy-ctile .hy-mobile-copy p:not(#_a) { word-break: keep-all; }

/* 혈자리 칸: 이름·대응 범위는 가운데, 설명은 왼쪽. 출처 줄은 칸 너비 그대로 */
html body #viewHyeol .hy-card .hy-ctile .hy-mobile-copy :is(.hy-mobile-names, .hy-response-scope):not(#_a) { text-align: center !important; align-self: stretch !important; }
html body #viewHyeol .hy-card .hy-ctile > .hy-mobile-footer:not(#_a) { align-self: stretch !important; width: auto !important; }

/* 폰: 순위 이름표는 줄 맨 앞 한 번만. 칸마다 있던 빈 이름표 자리를 없애 줄 사이를 좁힌다 */
@media (max-width: 900px) {
  html body #viewHyeol .hy-card .hy-rank-line > .hy-sevgroup:not(#_a) { display: contents !important; }
  html body #viewHyeol .hy-card .hy-rank-line .hy-sevlabel.is-rank-spacer:not(#_a) { display: none !important; }
  html body #viewHyeol .hy-card .hy-rank-line .hy-sevlabel:not(.is-rank-spacer):not(#_a) { grid-column: 1 / -1 !important; justify-self: start !important; margin: 0 !important; }
  html body #viewHyeol .hy-card .hy-rank-line > .hy-sevgroup > .hy-ctiles:not(#_a) { display: grid !important; height: 100% !important; }
  html body #viewHyeol .hy-card .hy-ctiles > .hy-ctile > .hy-mobile-footer:not(#_a) { margin-top: auto !important; }
}

/* ── 전개 시뮬레이터 (PC): 위쪽 줄을 한 줄씩으로 줄여 900px 화면에 패까지 들어오게 ── */
@media (min-width: 901px) {
  html:not(.sim-compact) body.sim-page .topbar:not(#_a) { min-height: 56px !important; height: 56px !important; }
  html:not(.sim-compact) body.sim-page .sim-heading:not(#_a) { min-height: 0 !important; padding: 4px 0 !important; margin: 0 0 6px !important; gap: 8px !important; align-items: center !important; }
  html:not(.sim-compact) body.sim-page .sim-heading h1:not(#_a) { font: 650 18px/1.2 var(--font-sans) !important; margin: 0 !important; }
  html:not(.sim-compact) body.sim-page #sessionStatus:not(#_a), html:not(.sim-compact) body.sim-page .sim-heading :is(#drawDeck, #drawLog):not(#_a), html:not(.sim-compact) body.sim-page #helpNudge:not(#_a) { display: none !important; }
  html:not(.sim-compact) body.sim-page .sim-steps:not(#_a) { min-height: 0 !important; padding: 4px 8px !important; margin: 0 0 6px !important; display: flex !important; flex-wrap: nowrap !important; align-items: center !important; gap: 6px !important; }
  html:not(.sim-compact) body.sim-page .sim-steps .current-action:not(#_a) { flex: 1 1 auto !important; min-width: 0 !important; margin: 0 !important; padding: 0 8px !important; }
  html:not(.sim-compact) body.sim-page .sim-steps .todo:not(#_a) { font: 500 12px/1.3 var(--font-sans) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  html:not(.sim-compact) body.sim-page .sim-bar:not(#_a) { min-height: 0 !important; padding: 4px 6px !important; margin: 0 0 6px !important; display: flex !important; flex-wrap: wrap !important; gap: 4px 6px !important; overflow: visible !important; }
  html:not(.sim-compact) body.sim-page .sim-bar :is(button, summary):not(#_a) { height: 30px !important; min-height: 30px !important; padding: 0 8px !important; font-size: 12px !important; white-space: nowrap !important; flex: none !important; }
  html:not(.sim-compact) body.sim-page .sim-bar .grp:not(#_a) { flex: none !important; flex-wrap: nowrap !important; gap: 4px !important; }
  html:not(.sim-compact) body.sim-page .sim-bar br:not(#_a) { display: none !important; }

  /* 같은 단추가 두 곳: 필드 옆 '덱 편집·기록'이 있으니 위쪽 것은 숨김. 셔플·덤핑·넘기기는 '덱 조작' 메뉴 안에도 있음 */
  html:not(.sim-compact) body.sim-page:has(#fieldDeck) #drawDeck:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n), html:not(.sim-compact) body.sim-page:has(#fieldLog) #drawLog:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { display: none !important; }
  html:not(.sim-compact) body.sim-page .sim-bar :is(#bShuffle, #bMill, #bExcav):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { display: none !important; }
  html:not(.sim-compact) body.sim-page .sim-bar .grp > small:not(#_a) { display: none !important; }

  /* 카드를 누르면 뜨는 동작 목록: 자주 쓰는 동작만, 나머지는 더 보기 */
  html:not(.sim-compact) body.sim-page #menu.sim-menu:not(#_a) { width: 220px !important; max-height: none !important; padding: 8px !important; border-radius: 14px !important; background: rgba(14, 17, 28, .97) !important; border: 1px solid rgba(174, 194, 244, .28) !important; box-shadow: var(--t-shadow-pop) !important; }
  html:not(.sim-compact) body.sim-page #menu.sim-menu :is(button):not(.menu-info):not([aria-label="닫기"]):not(#_a) { min-height: 34px !important; border-radius: 9px !important; font: 700 13px/1.2 var(--font-sans) !important; justify-content: flex-start !important; gap: 8px !important; }
  html:not(.sim-compact) body.sim-page #menu.sim-menu .menu-top:not(#_a) { display: grid !important; grid-template-columns: 1fr !important; gap: 4px !important; }
  html:not(.sim-compact) body.sim-page #menu.sim-menu .menu-top > button:first-child:not(#_a) { background: var(--t-primary) !important; color: var(--t-primary-ink) !important; border-color: transparent !important; }
  html:not(.sim-compact) body.sim-page #menu.sim-menu .rd-more:not(#_a) { margin-top: 4px !important; border: 1px dashed var(--t-control) !important; background: transparent !important; color: var(--t-muted) !important; justify-content: center !important; }
  html:not(.sim-compact) body.sim-page #cardSheet:not(#_a) { width: 320px !important; }
}

/* 카드 동작 목록 줄이기는 PC·폰 같음: 자주 쓰는 동작만, 나머지는 "더 보기" */
html body.sim-page #menu.sim-menu:not(.rd-all) > :is(hr, .menu-section):not(#_a) { display: none !important; }
html body.sim-page #menu.sim-menu:not(.rd-all) > .rd-extra:not(#_a) { display: none !important; }
html body.sim-page #menu.sim-menu .rd-more:not(#_a) { grid-column: 1 / -1; width: 100%; min-height: 36px; border: 1px dashed var(--t-control) !important; background: transparent !important; color: var(--t-muted) !important; justify-content: center !important; text-align: center !important; }

/* ── 덱메이커: 머리 줄 도구 묶음 ── */
@media (min-width: 901px) {
  html body.deckmaker-page .dm-head-actions .rd-group { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--t-panel-border); border-radius: 12px; background: var(--t-surface); }
  html body.deckmaker-page .dm-head-actions .rd-group :is(button, summary, a):not(#_a):not(#_b):not(#_c) { border-color: transparent !important; background: transparent !important; height: 30px !important; min-height: 30px !important; border-radius: 8px !important; box-shadow: none !important; }
  html body.deckmaker-page .dm-head-actions .rd-group :is(button, summary, a):not(#_a):not(#_b):not(#_c):hover { background: var(--t-raised) !important; }
}

/* ── 첫 패 확률 계산기: 판 수로 읽는 결과 ── */
html body .rd-plain { display: grid; gap: 10px; margin: 0 0 12px; padding: 14px 16px; border-radius: 14px; background: var(--t-surface); border: 1px solid var(--t-panel-border); }
html body .rd-plain .rd-head { margin: 0; font: 800 22px/1.3 var(--font-sans); letter-spacing: -.02em; color: var(--t-text); }
html body .rd-plain .rd-head b { color: var(--t-green); }
html body .rd-plain .rd-exact { margin: 0; font: 500 12px/1.4 var(--font-sans); color: var(--t-faint); }
html body .rd-dots { display: flex; gap: 5px; }
html body .rd-dots i { width: 22px; height: 30px; border-radius: 4px; background: var(--t-active); }
html body .rd-dots.sm { gap: 3px; }
html body .rd-dots.sm i { width: 11px; height: 16px; border-radius: 3px; }
html body .rd-dots i.ok { background: #78c7a1; }
html body .rd-dots i.ok2 { background: #3f7a5f; }
html body .rd-dots i.no, html body .rd-plain > .rd-dots i:not(.ok) { background: #e48d98; }
html body .rd-split { display: grid; gap: 0; }
html body .rd-split > strong { font: 700 13px/1 var(--font-sans); color: var(--t-text); margin: 4px 0 4px; }
html body .rd-split > div { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--t-line); font: 500 13px/1.3 var(--font-sans); color: var(--t-text); }
html body .rd-split b { font: 800 14px/1 var(--font-sans); font-variant-numeric: tabular-nums; }
html body .rd-split small { font: 500 12px/1 var(--font-sans); color: var(--t-faint); min-width: 44px; text-align: right; font-variant-numeric: tabular-nums; }
html body .rd-detail { margin: 0 0 10px; }
html body .rd-detail > summary { cursor: pointer; font: 600 13px/1 var(--font-sans); color: var(--t-muted); padding: 6px 0; }

/* ── 위 막대: 카드 도감 메뉴 ── */
html body .topbar .viewnav a.rd-new::after { content: 'NEW'; margin-left: 5px; padding: 1px 4px; border-radius: 4px; background: var(--t-accent); color: var(--t-accent-ink); font: 700 9px/1.3 var(--font-sans); vertical-align: 2px; }

/* ── 덱메이커 (폰): 위 막대 한 줄 ── */
@media (max-width: 900px) {
  html body.deckmaker-page .dm-mobile-bar:not(#_a) { height: 44px !important; min-height: 44px !important; padding: 4px 8px !important; gap: 6px !important; align-items: center !important; }
  html body.deckmaker-page .dm-mobile-bar > :is(button, a):not(#_a) { height: 34px !important; min-height: 34px !important; padding: 0 10px !important; font-size: 12px !important; white-space: nowrap !important; }
  html body.deckmaker-page .dm-mobile-bar > .dm-mobile-help:not(#_a) { margin-right: 0 !important; }
  html body.deckmaker-page .dm-mobile-bar > a.rd-back:not(#_a) { border: 0 !important; background: transparent !important; color: var(--t-muted) !important; margin-right: auto !important; display: inline-flex !important; align-items: center !important; }
  html body.deckmaker-page .dm-mobile-bar > #dmSim:not(#_a) { flex: none !important; }
}

/* 가로 폰 PC 배치(redesign.js fitPhone): 768px 최소 폭을 풀어 화면 안에 맞춘다 */
html body.deckmaker-page.rd-dm-phone-pc { min-width: 0 !important; }
html body.deckmaker-page.rd-dm-phone-pc .dm-decks .dm-cards:not(#_a):not(#_b):not(#_c) { grid-template-columns: repeat(10, minmax(0, 1fr)) !important; gap: 4px !important; }

/* 가로 폰 PC 배치(redesign.js fitPhone): 768px 최소 폭을 풀어 화면 안에 맞춘다 */
html body.deckmaker-page.rd-dm-phone-pc { min-width: 0 !important; }
html body.deckmaker-page.rd-dm-phone-pc .dm-decks .dm-cards:not(#_a):not(#_b):not(#_c) { grid-template-columns: repeat(10, minmax(0, 1fr)) !important; gap: 4px !important; }

/* ── 첫 패 확률 계산기 (가로 폰 등 낮은 화면): 머리를 줄이고 고르기 | 결과 두 칸으로, 결과가 늘 보이게 ── */
@media (max-height: 500px) {
  html body .hand-panel > header:not(#_a):not(#_b) { padding-top: 0 !important; padding-bottom: 0 !important; margin-bottom: 4px !important; min-height: 0 !important; }
  html body .hand-panel > header h2:not(#_a):not(#_b) { font-size: 16px !important; }
  html body .hand-panel > header p:not(#_a):not(#_b), html body .hand-panel > .odds-save-note:not(#_a):not(#_b) { display: none !important; }
  html body .hand-panel > .odds-page-nav:not(#_a):not(#_b) { margin: 0 0 6px !important; padding: 0 !important; }
  html body .hand-panel > .odds-page-nav > button:not(#_a):not(#_b) { min-height: 34px !important; height: 34px !important; padding: 0 10px !important; }
  html body .hand-panel > .hand-layout:not(#_a):not(#_b) { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 8px !important; align-items: start !important; }
  html body .hand-panel > .hand-layout > .hand-answer:not(#_a):not(#_b) { position: sticky !important; top: 0 !important; }
}

/* ── 첫 패 확률 계산기 판 짜기: 머리 한 줄 + 조건 | 덱 카드판 | 결과 ── */
html body #dmHandOdds .rd-col-deck .rd-col-hint { margin: 0 0 8px; font: 500 12px/1.5 var(--font-sans); color: var(--hand-muted); }
html body #dmHandOdds .rd-col-deck .rd-col-hint b { color: var(--hand-text); }
html body #dmHandOdds .rd-col-deck .hand-onehand:not(#_a) { border: 0 !important; padding: 0 !important; background: transparent !important; }
html body #dmHandOdds .rd-col-deck .hand-onehand > h3:not(#_a) { margin: 0 0 6px !important; }
html body #dmHandOdds .rd-col-deck .hand-onehand > .hand-help:first-of-type { display: none; }
html body #dmHandOdds .rd-col-deck .hand-picker:not(#_a) { border: 0 !important; background: transparent !important; }
html body #dmHandOdds .rd-col-deck .hand-picker > summary:not(#_a) { display: none !important; }
html body #dmHandOdds .rd-col-deck .hand-picker > .hand-picker-body:not(#_a) { max-height: none !important; overflow: visible !important; padding: 0 !important; }
html body #dmHandOdds .rd-col-deck .hand-card-choice-grid:not(#_a) { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)) !important; gap: 6px !important; }
html body #dmHandOdds .rd-col-deck label.hand-card-choice:has(input:checked):not(#_a) { border: 2px solid #78c7a1 !important; background: color-mix(in srgb, #78c7a1 16%, var(--hand-surface)) !important; }
html body #dmHandOdds .rd-col-deck label.hand-card-choice:has(input:checked)::after { content: '초동'; position: absolute; left: 6px; top: 6px; padding: 1px 5px; border-radius: 4px; background: #78c7a1; color: #10291d; font: 800 10px/1.4 var(--font-sans); }
html body #dmHandOdds .rd-both { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
html body #dmHandOdds .rd-both span { padding: 5px 10px; border-radius: 8px; border: 1px solid var(--hand-line); font: 500 12px/1.3 var(--font-sans); color: var(--hand-muted); }
html body #dmHandOdds .rd-both span.on { border-color: #78c7a1; color: var(--hand-text); }
html body #dmHandOdds .rd-both b { font: 800 14px/1 var(--font-sans); color: var(--hand-text); font-variant-numeric: tabular-nums; }

@media (min-width: 901px) {
  html body #dmHandOdds > .hand-panel:not(#_a):not(#_b) { width: min(1400px, calc(100vw - 32px)) !important; height: calc(100dvh - 32px) !important; max-height: none !important; padding: 14px 18px 16px !important; display: flex !important; flex-direction: column !important; overflow: hidden !important; }
  html body #dmHandOdds > .hand-panel > header:not(#_a) { display: flex !important; align-items: center !important; gap: 14px !important; margin: 0 0 8px !important; }
  html body #dmHandOdds > .hand-panel > header > div:not(#_a) { flex: none !important; flex-wrap: nowrap !important; }
  html body #dmHandOdds > .hand-panel > header p:not(#_a) { display: none !important; }
  html body #dmHandOdds > .hand-panel > header > .odds-page-nav:not(#_a) { flex: 0 1 460px !important; display: flex !important; gap: 4px !important; margin: 0 auto 0 8px !important; padding: 0 !important; border: 0 !important; }
  html body #dmHandOdds > .hand-panel > header > .odds-page-nav > button:not(#_a) { flex: 1 !important; height: 34px !important; min-height: 34px !important; padding: 0 12px !important; font-size: 13px !important; }
  html body #dmHandOdds > .hand-panel > .odds-save-note:not(#_a) { margin: 0 0 8px !important; font-size: 11px !important; color: var(--hand-muted) !important; }
  html body #dmHandOdds .hand-layout:not(#_a):not(#_b) { display: grid !important; grid-template-columns: 290px minmax(0, 1fr) 420px !important; gap: 12px !important; flex: 1 1 auto !important; min-height: 0 !important; overflow: hidden !important; }
  html body #dmHandOdds .hand-layout > :is(.hand-rules, .rd-col-deck, .hand-answer):not(#_a):not(#_b) { overflow-y: auto !important; min-height: 0 !important; padding: 12px !important; border: 1px solid var(--hand-line) !important; border-radius: 12px !important; background: var(--hand-surface) !important; scrollbar-width: thin; }
  html body #dmHandOdds .hand-layout > .hand-rules > .hand-section-title:first-child:not(#_a) { margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important; }
  html body #dmHandOdds .hand-answer > h3:not(#_a) { margin: 0 0 6px !important; font-size: 13px !important; color: var(--hand-muted) !important; }
  html body #dmHandOdds .hand-answer .hand-draw:not(#_a) { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 4px !important; margin: 0 0 10px !important; }
  html body #dmHandOdds .hand-answer .hand-draw label:not(#_a) { min-height: 34px !important; padding: 0 10px !important; font-size: 12px !important; border-radius: 8px !important; }
  html body #dmHandOdds .rd-plain .rd-head:not(#_a) { font-size: 23px !important; }
}

/* 낮은 화면(가로 폰): 왼쪽에 덱 카드판과 조건, 오른쪽에 결과 */
@media (max-height: 500px) {
  html body .hand-panel > header:not(#_a):not(#_b) { padding-top: 0 !important; padding-bottom: 0 !important; margin-bottom: 4px !important; min-height: 0 !important; }
  html body .hand-panel > header h2:not(#_a):not(#_b) { font-size: 16px !important; }
  html body .hand-panel > header p:not(#_a):not(#_b), html body .hand-panel > .odds-save-note:not(#_a):not(#_b) { display: none !important; }
  html body .hand-panel .odds-page-nav:not(#_a):not(#_b) { margin: 0 0 6px !important; padding: 0 !important; }
  html body .hand-panel .odds-page-nav > button:not(#_a):not(#_b) { min-height: 34px !important; height: 34px !important; padding: 0 10px !important; }
  html body .hand-panel .hand-layout:not(#_a):not(#_b) { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 8px !important; align-items: start !important; }
  html body .hand-panel .hand-layout > .rd-col-deck:not(#_a) { grid-column: 1; grid-row: 1; }
  html body .hand-panel .hand-layout > .hand-rules:not(#_a) { grid-column: 1; grid-row: 2; }
  html body .hand-panel .hand-layout > .hand-answer:not(#_a):not(#_b) { grid-column: 2; grid-row: 1 / span 2; position: sticky !important; top: 0 !important; }
}
@media (max-height: 500px) {
  html body #dmHandOdds .odds-page-nav > button:not(#_a):not(#_b) { white-space: nowrap !important; font-size: 12px !important; }
  html body #dmHandOdds .hand-answer > h3:not(#_a) { margin: 0 0 4px !important; font-size: 12px !important; }
  html body #dmHandOdds .hand-answer .hand-draw:not(#_a) { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 4px !important; margin: 0 0 6px !important; }
  html body #dmHandOdds .hand-answer .hand-draw label:not(#_a):not(#_b) { flex-wrap: nowrap !important; min-height: 32px !important; padding: 4px 8px !important; font-size: 11px !important; border-radius: 8px !important; }
  html body #dmHandOdds .rd-plain:not(#_a) { padding: 10px 12px !important; gap: 6px !important; }
  html body #dmHandOdds .rd-plain .rd-head:not(#_a) { font-size: 17px !important; }
  html body #dmHandOdds .rd-plain > .rd-dots i { width: 16px; height: 22px; }
}
/* 세로 폰: 덱 카드판을 맨 위에 */
@media (max-width: 767px) and (min-height: 501px) {
  html body #dmHandOdds .hand-layout > .rd-col-deck { order: -1; }
}
/* 결과 칸이 좁아도 "10판을 나눠 보면" 줄이 꺾이지 않게: 설명 한 줄 + 그림·판 수·% 한 줄 */
html body #dmHandOdds .rd-split > div:not(#_a) { grid-template-columns: minmax(0, 1fr) auto auto !important; row-gap: 4px !important; }
html body #dmHandOdds .rd-split > div > span:first-child:not(#_a) { grid-column: 1 / -1; }

/* ── 내 덱: 덱마다 편집·전개 연습, 덱이 없을 때 시작 단추 ── */
html body .deck-tile .rd-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 14px 12px; }
html body .deck-tile .rd-acts a { display: inline-flex; align-items: center; justify-content: center; height: 36px; border-radius: var(--t-control-radius); border: 1px solid var(--t-control); color: var(--t-text); font: 700 13px/1 var(--font-sans); text-decoration: none; }
html body .deck-tile .rd-acts a.rd-play { background: var(--t-primary); color: var(--t-primary-ink); border-color: transparent; }
html body .deck-tile .rd-acts a:hover { filter: brightness(1.08); }
html body .deck-tile .deck-tile-bottom :is(button[data-settings], .deck-delete):not(#_a):not(#_b) { height: 28px !important; min-height: 28px !important; padding: 0 8px !important; font-size: 11px !important; }
html body.rd-decks-empty #hubState { display: none; }
html body .rd-empty { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 12px; margin: 8px 0 16px; }
html body .rd-empty[hidden] { display: none; }
html body .rd-empty > :is(a, button) { display: grid; gap: 6px; align-content: center; min-height: 120px; padding: 18px; border-radius: var(--t-radius); border: 1px dashed var(--t-control); background: var(--t-surface); color: var(--t-text); text-align: left; text-decoration: none; cursor: pointer; }
html body .rd-empty > :is(a, button):hover { border-color: var(--t-accent); }
html body .rd-empty b { font: 700 16px/1.3 var(--font-sans); }
html body .rd-empty span { font: 500 12px/1.5 var(--font-sans); color: var(--t-muted); }
@media (max-width: 720px) { html body .rd-empty { grid-template-columns: 1fr; } }

/* ── 공지·문의: 탭 아이콘, PC는 왼쪽 목록 | 오른쪽 본문 ── */
html body .nt-tabs button svg { width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
html body .rd-nt-nav { display: none; }
html body .rd-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--t-accent); margin-right: 6px; vertical-align: 2px; }
@media (min-width: 901px) {
  html body .nt-main:not(#_a) { max-width: 1180px !important; }
  html body .rd-nt-split:not([hidden]) { display: grid !important; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; }
  html body .rd-nt-split > .nt-lead { grid-column: 1 / -1; }
  html body .rd-nt-nav { display: grid; gap: 2px; position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; padding: 6px; border-radius: var(--t-radius); background: var(--t-surface); border: 1px solid var(--t-panel-border); }
  html body .rd-nt-nav button { display: grid; grid-template-columns: auto 1fr; column-gap: 0; row-gap: 3px; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--t-text); text-align: left; cursor: pointer; }
  html body .rd-nt-nav button .rd-dot { grid-row: 1; align-self: center; }
  html body .rd-nt-nav button time { grid-column: 2; font: 600 11px/1 var(--font-sans); color: var(--t-faint); }
  html body .rd-nt-nav button span { grid-column: 1 / -1; font: 600 13px/1.35 var(--font-sans); word-break: keep-all; }
  html body .rd-nt-nav button:hover { background: var(--t-raised); }
  html body .rd-nt-nav button[aria-current="true"] { background: var(--t-active); }
  html body .rd-nt-split .nt-list > details.nt-item:not(.rd-on) { display: none !important; }
  html body .rd-nt-split .nt-list > details.nt-item.rd-on > summary { pointer-events: none; }
  html body .rd-nt-split .nt-list > details.nt-item.rd-on > summary::after, html body .rd-nt-split .nt-list > details.nt-item.rd-on > summary svg { display: none !important; }
}

/* ── 폰 위 막대: 로고와 로그인·공지·화면 단추를 한 줄에, 메뉴 줄은 낮게 (모든 화면 공통) ── */
@media (max-width: 720px) {
  html body .topbar:not(#_a):not(#_b) { flex-wrap: wrap !important; align-items: center !important; row-gap: 4px !important; padding-top: 6px !important; padding-bottom: 0 !important; min-height: 0 !important; }
  html body .topbar > .brand:not(#_a) { flex: none !important; }
  html body .topbar > .site-tools:not(#_a):not(#_b) { order: 1; margin-left: auto !important; gap: 4px !important; flex: none !important; }
  html body .topbar > .site-tools > :is(button, a):not(#_a):not(#_b):not(#_c) { height: 32px !important; min-height: 32px !important; padding: 0 8px !important; font-size: 12px !important; gap: 4px !important; }
  html body .topbar > .viewnav:not(#_a):not(#_b) { order: 2; flex: 1 0 100% !important; min-height: 0 !important; height: 40px !important; }
  html body .topbar > .viewnav a:not(#_a):not(#_b) { height: 32px !important; min-height: 32px !important; }
}

/* 폰 위 막대: 로그인·공지는 아이콘만(이름은 title·aria 로), 로고 줄 하나 + 메뉴 줄 하나 */
@media (max-width: 720px) {
  html body .topbar > .site-tools > :is(.acct-btn, .notice-link, .theme-toggle):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { width: 34px !important; min-width: 34px !important; height: 34px !important; min-height: 34px !important; padding: 0 !important; font-size: 0 !important; justify-content: center !important; gap: 0 !important; }
  html body .topbar > .site-tools > :is(.acct-btn, .notice-link):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n)::before { margin: 0 !important; }
  html body .topbar > .site-tools .theme-toggle-text:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { display: none !important; }
  html body .topbar > .viewnav:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { height: 38px !important; min-height: 0 !important; margin: 0 !important; padding-top: 0 !important; padding-bottom: 2px !important; }
}

/* 위 메뉴: PC는 긴 이름, 폰은 짧은 이름 다섯 칸을 화면 폭에 맞춰 (잘리거나 옆으로 밀리지 않게) */
html body .topbar .viewnav a .rd-short { display: none; }
@media (max-width: 720px) {
  html body .topbar > .viewnav:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 2px !important; overflow: visible !important; padding-left: 0 !important; padding-right: 0 !important; }
  html body .topbar > .viewnav a:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { display: flex !important; align-items: center !important; justify-content: center !important; min-width: 0 !important; width: auto !important; padding: 0 2px !important; font-size: 12px !important; white-space: nowrap !important; position: relative; }
  html body .topbar .viewnav a .rd-long { display: none; }
  html body .topbar .viewnav a .rd-short { display: inline; }
  html body .topbar .viewnav a.rd-new::after { content: ''; position: absolute; top: 5px; right: 6px; width: 6px; height: 6px; margin: 0; padding: 0; border-radius: 50%; }
}

/* ── 폰 혈자리: 위쪽(제목·대문 그림·드롤 칸·초대 상자)을 짧게 ── */
@media (max-width: 720px) {
  html body #viewHyeol .hy-heading:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { display: flex !important; flex-wrap: nowrap !important; align-items: center !important; gap: 6px !important; padding: 0 0 8px !important; min-height: 0 !important; }
  html body #viewHyeol .hy-heading > div:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { flex: 1 1 auto !important; min-width: 0 !important; }
  html body #viewHyeol .hy-heading h1:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { font-size: 18px !important; line-height: 1.2 !important; margin: 0 !important; }
  html body #viewHyeol .hy-heading .hy-sub:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { display: none !important; }
  html body #viewHyeol .hy-heading > button:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { height: 32px !important; min-height: 32px !important; padding: 0 10px !important; font-size: 12px !important; flex: none !important; }
  html body #viewHyeol .hy-hero:not(.my-vs-on):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { height: 170px !important; min-height: 0 !important; }
  html body #viewHyeol .hy-hero > img:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { object-fit: cover !important; }
  html body #viewHyeol .hy-hero-text h2:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { font-size: 26px !important; line-height: 1.15 !important; margin: 0 0 2px !important; }
  html body #viewHyeol .hy-hero-meta:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { gap: 2px !important; }
  html body #viewHyeol .hy-hero-meta p:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { font-size: 11px !important; margin: 0 !important; }
  html body #viewHyeol .hy-hero-meta .hy-ygo-guide:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { min-height: 28px !important; height: 28px !important; padding: 0 8px !important; font-size: 11px !important; margin-top: 4px !important; }
  html body #viewHyeol .hy-overview:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { padding: 8px 0 !important; }
  html body #viewHyeol .hy-overview > h3:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { margin: 0 0 6px !important; font-size: 14px !important; }
  html body #viewHyeol .hy-overview-grid:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { gap: 6px !important; }
  html body #viewHyeol .hy-overview-grid > .hy-matchup:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { padding: 0 !important; min-height: 0 !important; }
  html body #viewHyeol .hy-overview-grid > .hy-matchup > summary:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { padding: 8px 10px !important; gap: 2px !important; min-height: 0 !important; }
  html body #viewHyeol .hy-overview-grid > .hy-matchup > summary strong:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { font-size: 13px !important; }
  html body #viewHyeol .hy-overview-grid > .hy-matchup > summary b:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { font-size: 12px !important; }
  html body #viewHyeol .hy-overview > small:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { font-size: 11px !important; }
  html body #viewHyeol .my-invite:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { padding: 8px 10px !important; gap: 8px !important; margin: 6px 0 !important; }
  html body #viewHyeol .my-invite h3:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { font-size: 12px !important; line-height: 1.4 !important; }
  html body #viewHyeol .my-invite :is(.my-invite-go, .my-invite-off):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { height: 32px !important; min-height: 32px !important; font-size: 12px !important; }
}

/* 폰 혈자리 카드 칸: 그림을 조금 작게, 칸 사이 여백을 줄여 한 화면에 더 많이 */
@media (max-width: 720px) {
  html body #viewHyeol .hy-card .hy-ctile:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { padding: 8px 8px 0 !important; gap: 4px !important; }
  html body #viewHyeol .hy-card .hy-ctile .hy-tile-art:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { width: 60px !important; height: 87px !important; }
  html body #viewHyeol .hy-card .hy-ctile .hy-tile-art > img:not(.hy-ban):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { width: 60px !important; height: 87px !important; }
  html body #viewHyeol .hy-card .hy-ctile .hy-tile > strong:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { padding-top: 2px !important; font-size: 13px !important; }
  html body #viewHyeol .hy-card .hy-ctile .hy-response-scope:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { margin: 2px 0 !important; }
  html body #viewHyeol .hy-card .hy-ctile .hy-mobile-copy p:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { font-size: 12px !important; line-height: 1.5 !important; }
  html body #viewHyeol .hy-card .hy-ctile > .hy-mobile-footer:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { padding: 0 8px !important; margin: 0 -8px !important; }
  html body #viewHyeol .hy-card .hy-ctile > .hy-mobile-footer summary:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { min-height: 26px !important; height: 26px !important; }
}

/* 혈자리 덱 목록: 그림과 덱 이름 사이를 띄움(6px → 12px) */
html body .hy-side .hy-item > .hy-item-name:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h) { padding-left: 6px !important; }

/* 혈자리 덱 목록 칸을 30px 넓혀 긴 테마 이름도 다 보이게 */
@media (min-width: 901px) {
  html body #viewHyeol .hy-layout:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h) { grid-template-columns: 330px minmax(0, 1fr) !important; }
  html body #viewHyeol .hy-layout > .hy-side:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h) { width: 330px !important; }
}

/* 오른쪽 아래 떠 있는 메뉴·화면 단추: 폰에서는 작게, 글을 덜 가리게 */
@media (max-width: 720px) {
  html body .site-navigation-tools:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l) { right: 10px !important; bottom: 10px !important; padding: 2px !important; gap: 0 !important; border-radius: 999px !important; background: color-mix(in srgb, var(--t-surface) 88%, transparent) !important; backdrop-filter: blur(6px); }
  html body .site-navigation-tools > details > summary:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l) { height: 30px !important; min-height: 30px !important; padding: 0 10px !important; font-size: 11px !important; gap: 4px !important; }
  html body .site-navigation-tools > details > summary svg:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l) { width: 14px !important; height: 14px !important; }
}

/* ── 전개 시뮬레이터: 내 덱·LP 상자 (흰 테두리·밝은 그림 틀 없이 차분하게) ── */
html body.sim-page .duel-hud:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { border: 1px solid var(--t-panel-border) !important; border-radius: 12px !important; background: color-mix(in srgb, var(--t-surface) 94%, transparent) !important; box-shadow: 0 6px 18px rgba(0,0,0,.35) !important; padding: 6px 10px 6px 6px !important; gap: 10px !important; }
html body.sim-page .duel-hud .hud-cover:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { border: 0 !important; background: var(--t-raised) !important; border-radius: 8px !important; overflow: hidden !important; box-shadow: none !important; }
html body.sim-page .duel-hud .hud-cover img:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { border-radius: 8px !important; }
html body.sim-page .duel-hud .hud-copy b:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { font: 600 12px/1.2 var(--font-sans) !important; color: var(--t-muted) !important; }
html:not(.sim-compact) body.sim-page .duel-hud .hud-copy button:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { font: 750 20px/1.1 var(--font-sans) !important; color: var(--t-text) !important; font-variant-numeric: tabular-nums; }

/* ── 전개 시뮬레이터 PC(넓은 화면): 시안처럼 왼쪽 도구 줄 | 가운데 필드 | 오른쪽 기록 ── */
@media (min-width: 1280px) {
  /* 오른쪽 기록 창: 열고 닫지 않고 늘 붙어 있게 */
  html:not(.sim-compact) body.sim-page #simLog:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { position: fixed !important; top: 124px !important; right: 0 !important; bottom: 0 !important; left: auto !important; width: 300px !important; height: auto !important; max-height: none !important; transform: none !important; visibility: visible !important; opacity: 1 !important; border-radius: 0 !important; border: 0 !important; border-left: 1px solid var(--t-line) !important; box-shadow: none !important; background: var(--t-surface) !important; z-index: 40 !important; }
  html:not(.sim-compact) body.sim-page :is(#closeLog, #fieldLog, #drawLog):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { display: none !important; }
  html:not(.sim-compact) body.sim-page #sim > .sim-main:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { margin-right: 304px !important; margin-left: 0 !important; max-width: none !important; width: auto !important; padding-left: 104px !important; position: relative !important; }
  html:not(.sim-compact) body.sim-page #sim > .sim-heading:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { margin-right: 304px !important; }
  /* 왼쪽 도구 줄: 가로 단추 줄을 세로 막대로 */
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { position: absolute !important; left: 0 !important; top: 0 !important; bottom: 0 !important; width: 92px !important; margin: 0 !important; padding: 6px !important; display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; gap: 4px !important; overflow-y: auto !important; overflow-x: visible !important; border-radius: 12px !important; scrollbar-width: none; }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar .grp:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { display: flex !important; flex-direction: column !important; gap: 4px !important; width: 100% !important; margin: 0 !important; padding: 0 0 4px !important; border: 0 !important; border-bottom: 1px solid var(--t-line) !important; }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar :is(button, summary, label.sim-switch):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { width: 100% !important; height: auto !important; min-height: 40px !important; padding: 6px 4px !important; justify-content: center !important; text-align: center !important; white-space: normal !important; word-break: keep-all !important; font: 600 11px/1.25 var(--font-sans) !important; flex: none !important; }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar #bLP:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { display: none !important; }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar .g-side > :not(button):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { display: none !important; }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar .g-edit:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { margin-top: auto !important; border-bottom: 0 !important; }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar details:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { position: relative !important; width: 100% !important; }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar details > :not(summary):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { position: absolute !important; left: calc(100% + 8px) !important; top: 0 !important; right: auto !important; bottom: auto !important; z-index: 60 !important; min-width: 180px !important; }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar .g-edit details > :not(summary):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { top: auto !important; bottom: 0 !important; }
  html:not(.sim-compact) body.sim-page .sim-main > :is(.sim-steps, .resume-note, .sim-board-wrap, .sim-setupbar, #reviewBanner):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { margin-left: 0 !important; }
}

@media (min-width: 1280px) {
  html:not(.sim-compact) body.sim-page #sim > .sim-main:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { min-height: calc(100vh - 152px) !important; }
  html:not(.sim-compact) body.sim-page #simLog .sim-log-head:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 6px !important; padding: 10px 12px !important; }
  html:not(.sim-compact) body.sim-page #simLog .sim-log-head h3:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { flex: 1 1 100% !important; order: -1 !important; margin: 0 !important; font: 700 14px/1.3 var(--font-sans) !important; }
  html:not(.sim-compact) body.sim-page #simLog .sim-log-head > span:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { display: flex !important; flex-wrap: wrap !important; gap: 4px !important; }
  html:not(.sim-compact) body.sim-page #simLog .sim-log-head > span button:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { height: 28px !important; min-height: 28px !important; padding: 0 8px !important; font-size: 11px !important; }
  html:not(.sim-compact) body.sim-page #simLog #bMulti:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { display: none !important; }
}

@media (min-width: 1280px) {
  /* 가운데 1180px 고정 열을 풀어 왼쪽 막대·오른쪽 기록 사이를 필드가 다 쓰게 */
  html:not(.sim-compact) body.sim-page #sim:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { grid-template-columns: minmax(0, 1fr) !important; max-width: none !important; }
  html:not(.sim-compact) body.sim-page #sim > :is(.sim-heading, .sim-main):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { grid-column: 1 / -1 !important; }
}

/* 전개 시뮬레이터 PC 카드 정보: 폰용 큰 글씨 대신 읽기 좋은 크기 */
@media (min-width: 901px) {
  html:not(.sim-compact) body.sim-page #cardSheet strong:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { font-size: 17px !important; line-height: 1.3 !important; }
  html:not(.sim-compact) body.sim-page #cardSheet :is(b, .cs-type):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { font-size: 13px !important; line-height: 1.4 !important; }
  html:not(.sim-compact) body.sim-page #cardSheet .cs-desc:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { font-size: 13px !important; line-height: 1.65 !important; }
}

/* 전개 시뮬레이터 PC 왼쪽 도구 막대: 모든 단추를 같은 꼴(그림 위, 글 아래)·같은 크기로 */
@media (min-width: 1280px) {
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { width: 84px !important; gap: 6px !important; padding: 8px 6px !important; }
  html:not(.sim-compact) body.sim-page #sim > .sim-main:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { padding-left: 96px !important; }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar :is(button, summary, label.sim-switch):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 4px !important; min-height: 56px !important; padding: 6px 2px !important; border-radius: 10px !important; font: 600 11px/1.2 var(--font-sans) !important; }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar :is(button, summary):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n)::before { margin: 0 !important; }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar details > summary:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { list-style: none !important; }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar details > summary:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n)::-webkit-details-marker { display: none !important; }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar :is(#bDeckMenu, #toolsMenu > summary, .g-edit details > summary):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n)::before { content: '' !important; display: block !important; width: 18px !important; height: 18px !important; background: currentColor !important; -webkit-mask: var(--rd-ic) center / contain no-repeat; mask: var(--rd-ic) center / contain no-repeat; opacity: .85; }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar #bDeckMenu:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { --rd-ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22black%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/%3E%3Cpath%20d%3D%22M3.5%206.5v9A1.5%201.5%200%200%200%205%2017h7.5%22/%3E%3C/svg%3E"); }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar #toolsMenu > summary:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { --rd-ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12.5%203.5a3.5%203.5%200%200%200-3.3%204.6L3.5%2013.8l2.7%202.7%205.7-5.7a3.5%203.5%200%200%200%204.6-3.3l-2%202-2.2-.6-.6-2.2z%22/%3E%3C/svg%3E"); }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar .g-edit details > summary:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { --rd-ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22black%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/%3E%3C/svg%3E"); }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar label.sim-switch input:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { margin: 0 !important; }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar .g-edit > span:first-child:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 4px !important; }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar .g-edit :is(#bUndo, #bRedo):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { min-height: 40px !important; width: auto !important; }
}
/* 전개 시뮬레이터 PC 카드 정보: 시안처럼 작은 창(내용만큼 높이) */
@media (min-width: 901px) {
  html:not(.sim-compact) body.sim-page #cardSheet:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { top: 132px !important; bottom: auto !important; left: 12px !important; width: 260px !important; height: auto !important; max-height: calc(100vh - 150px) !important; overflow: auto !important; transform: none !important; }
  html:not(.sim-compact) body.sim-page #cardSheet .cs-box:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { height: auto !important; min-height: 0 !important; }
  html:not(.sim-compact) body.sim-page #cardSheet .cs-img:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { width: 96px !important; height: auto !important; }
}

@media (min-width: 1280px) {
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar .g-edit > span:first-child:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { width: 100% !important; }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar .g-edit :is(#bUndo, #bRedo):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { width: 100% !important; min-width: 0 !important; }
  html:not(.sim-compact) body.sim-page .sim-main > .sim-bar details > summary:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n)::after { display: none !important; }
}

/* 혈자리 칸 너비: 폰·태블릿에서 줄마다 칸 수가 달라도 칸 너비는 같게(혼자 있는 칸이 늘어나지 않게) */
@media (max-width: 900px) {
  html body #viewHyeol .hy-card .hy-rank-line:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; gap: 8px !important; align-items: stretch !important; }
  html body #viewHyeol .hy-card .hy-rank-line > .hy-sevgroup > .hy-ctiles > .hy-ctile:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { width: auto !important; max-width: none !important; }
}

/* 혈자리 칸 "타이밍" 글자 이름표 → 작은 시계 아이콘(자리를 덜 차지하게) */
html body #viewHyeol .hy-card .hy-ctile .hy-timing:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n)::before {
  content: '' !important; display: inline-block !important; width: 15px !important; height: 15px !important; margin: 0 4px 0 0 !important; padding: 0 !important;
  vertical-align: -3px !important; border-radius: 0 !important; background: var(--t-muted) !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M3.2%205.8%206.2%203.2M16.8%205.8%2013.8%203.2M5.4%2017.6%206.8%2016M14.6%2017.6%2013.2%2016%22/%3E%3C/g%3E%3Cpath%20fill%3D%22black%22%20fill-rule%3D%22evenodd%22%20d%3D%22M10%204.6a6.2%206.2%200%201%201%200%2012.4%206.2%206.2%200%200%201%200-12.4zM9.1%207.4v4.3l3%201.9.9-1.5-2.2-1.4V7.4z%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M3.2%205.8%206.2%203.2M16.8%205.8%2013.8%203.2M5.4%2017.6%206.8%2016M14.6%2017.6%2013.2%2016%22/%3E%3C/g%3E%3Cpath%20fill%3D%22black%22%20fill-rule%3D%22evenodd%22%20d%3D%22M10%204.6a6.2%206.2%200%201%201%200%2012.4%206.2%206.2%200%200%201%200-12.4zM9.1%207.4v4.3l3%201.9.9-1.5-2.2-1.4V7.4z%22/%3E%3C/svg%3E") center / contain no-repeat;
}

/* 혈자리 칸 너비 맞춤: 폰(600px 이하)은 2칸, 그보다 넓으면 PC 칸(약 210px)과 비슷한 크기로 */
@media (max-width: 900px) {
  html body #viewHyeol .hy-card .hy-rank-line:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important; }
}
@media (max-width: 600px) {
  html body #viewHyeol .hy-card .hy-rank-line:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* Current product captures. One uncropped screen per feature, no overlapping windows. */
html body #viewHyeol .home-preview{height:auto!important;aspect-ratio:16/10;background:var(--t-raised)!important;padding:12px;}
html body #viewHyeol .home-preview-mode{position:relative!important;width:100%;height:100%;}
html body #viewHyeol .home-preview-mode.is-light{display:none!important;}
html[data-theme="light"] body #viewHyeol .home-preview-mode.is-dark{display:none!important;}
html[data-theme="light"] body #viewHyeol .home-preview-mode.is-light{display:block!important;}
html body #viewHyeol .home-current-shot{display:block;width:100%;height:100%;object-fit:contain;border-radius:8px;}
html body #viewHyeol .home-feature-copy h4{font-size:20px!important;}
html body #viewHyeol .home-feature-grid{gap:16px!important;align-items:stretch;}
html body #viewHyeol .home-feature{display:flex;flex-direction:column;background:var(--t-surface)!important;}
html body #viewHyeol .home-feature-copy{flex:1;padding:20px!important;}
html body #viewHyeol .home-catalog-slot{background:var(--t-surface);border-style:solid;text-decoration:none;}

/* Read the calculator in task order: starting cards, optional combinations, result. */
@media(min-width:1100px){html body #dmHandOdds .hand-layout:not(#_a):not(#_b):not(#_c){grid-template-columns:minmax(0,1fr) 290px 420px!important;}}

/* 시뮬레이터 도구 막대 합치기: 1장·5장 드로우·원하는 카드 추가는 '덱 조작' 메뉴에 이미 있음 · 조작 주체는 단추 하나 */
html:not(.sim-compact) body.sim-page .sim-bar :is(#bDraw5, #bDraw1, #bPick, #duelSide):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o) { display: none !important; }
html:not(.sim-compact) body.sim-page .sim-bar .reset-tools > div > button:not(#_a) { width: 100% !important; justify-content: flex-start !important; }

/* 카드 글꼴 한 번에 전환: [마듀|오프라인] 중 지금 쓰는 쪽을 밝게 */
.card-font-trigger.rd-font-toggle:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f) { display: inline-flex !important; align-items: center !important; gap: 0 !important; padding: 3px !important; }
.card-font-trigger.rd-font-toggle > span { padding: 0 9px; height: 100%; display: inline-flex; align-items: center; border-radius: 7px; color: var(--t-muted, #a8b0c6); font-weight: 600; line-height: 1; min-height: 26px; }
.card-font-trigger.rd-font-toggle[data-mode="md"] > span[data-v="md"],
.card-font-trigger.rd-font-toggle[data-mode="offline"] > span[data-v="offline"] { background: var(--t-primary, #aec2f4); color: var(--t-primary-ink, #10172a); font-weight: 800; }

/* ── 전체 점검 (2026-10-29) ── */
/* 그림을 그리는 동안(주소가 아직 없는 그림) 깨진 그림 표시와 대체 글이 보이지 않게 */
img:not([src]),img[src=""]{content:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");color:transparent}
/* 카드 글꼴 단추: [마듀|오프라인] 모양이 되기 전의 옛 글자가 잠깐 보이지 않게 */
.card-font-trigger:not(.rd-font-toggle){visibility:hidden}
/* 위 막대가 두 줄로 넘치지 않게: 넓지 않은 PC에서는 '이 브라우저에 저장'을 점(마우스를 올리면 글)으로 */
@media (min-width:721px) and (max-width:1499px){
  html body .topbar > .local-status:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o){font-size:0!important;gap:0!important;padding:0!important;margin:0 4px!important;cursor:help}
}
/* 가로 폰(높이가 낮은 화면): 위 막대를 한 줄로 · 메뉴는 짧은 이름 · 로그인·공지는 아이콘만 · 제목 줄 설명은 숨김 */
@media (max-height:500px) and (min-width:721px){
  html body .topbar:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o){flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;min-height:0!important;height:auto!important;padding:4px 10px!important}
  html body .topbar > .brand:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o){flex:none!important;transform:scale(.82);transform-origin:left center;margin-right:-18px!important}
  html body .topbar > .viewnav:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o){order:0!important;flex:1 1 auto!important;min-width:0!important;height:36px!important;min-height:0!important;margin:0!important;padding:2px!important;display:flex!important;gap:2px!important}
  html body .topbar > .viewnav a:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o){flex:1 1 0!important;min-width:0!important;height:30px!important;min-height:30px!important;padding:0 4px!important;font-size:12px!important;line-height:1!important;display:flex!important;align-items:center!important;justify-content:center!important}
  html body .topbar .viewnav a .rd-long{display:none}
  html body .topbar .viewnav a .rd-short{display:inline}
  html body .topbar > .local-status:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o){display:none!important}
  html body .topbar > .site-tools:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o){order:1!important;margin-left:0!important;gap:4px!important;flex:none!important}
  html body .topbar > .site-tools > :is(.acct-btn,.notice-link,.theme-toggle):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o){width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;font-size:0!important;justify-content:center!important}
  html body .topbar > .site-tools > :is(.acct-btn,.notice-link):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o)::before{margin:0!important}
  html body .topbar > .site-tools .theme-toggle-text:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o){display:none!important}
  html body .topbar > .card-font-menu:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o){order:2!important;flex:none!important}
  html body .heading:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o){padding-top:8px!important;padding-bottom:6px!important;margin-bottom:6px!important;min-height:0!important}
  html body .heading h1:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o){font-size:20px!important;line-height:1.2!important}
  html body .heading p:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o){display:none!important}
}
/* 가로 폰 등반 기록: 기간·도구 상자를 한 줄로(버튼은 아이콘+짧게) */
@media (max-height:500px) and (min-width:721px){
  html body #viewClimb .toolbar:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o){flex-wrap:nowrap!important;gap:6px!important;padding:6px 10px!important;align-items:center!important;overflow-x:auto!important;scrollbar-width:none}
  html body #viewClimb .toolbar :is(button,input,label,select):not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o){height:30px!important;min-height:30px!important;font-size:12px!important;white-space:nowrap!important}
  html body #viewClimb .toolbar .range:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o){flex:none!important;gap:4px!important}
  html body #viewClimb .toolbar .range input:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o){width:64px!important;padding:0 6px!important}
  html body #viewClimb .toolbar > *:not(#_a):not(#_b):not(#_c):not(#_d):not(#_e):not(#_f):not(#_g):not(#_h):not(#_i):not(#_j):not(#_k):not(#_l):not(#_m):not(#_n):not(#_o){flex:none!important}
}

.card-font-trigger.rd-font-toggle > .rd-font-label{color:var(--t-text,#eef2ff);font-size:11px;font-weight:650;padding:0 8px 0 6px;border-right:1px solid var(--t-control,#424b60);border-radius:0;margin-right:3px;white-space:nowrap}

.feature-beta{display:inline-flex;align-items:center;vertical-align:middle;margin-left:5px;padding:2px 5px;border:1px solid #7c94c454;border-radius:4px;background:#91b0ed14;color:var(--t-accent,#b7c9f2);font:700 9px/1.1 var(--font-sans,system-ui);letter-spacing:.06em;white-space:nowrap}.viewnav .feature-beta{flex-shrink:0}.sim-feature-beta{align-self:center}@media(max-width:600px){.viewnav .feature-beta{font-size:7px;padding:2px 3px;margin-left:2px}}

.hy-name-note{display:inline-block;margin-left:6px;padding:2px 5px;border:1px solid var(--t-control);border-radius:4px;background:var(--t-active);color:var(--t-muted);font:600 10px/1.3 var(--font-sans);vertical-align:middle;white-space:nowrap}

/* 확률 계산기(2026-11-04): 두 칸. 고르기(①②③) | 결과. 가운데 빈 칸을 없애 고르는 곳과 결과를 붙인다 */
@media (min-width: 901px) {
  html body #dmHandOdds .hand-layout:not(#_a):not(#_b):not(#_c):not(#_d) { grid-template-columns: minmax(0, 1fr) 460px !important; }
}
html body #dmHandOdds .rd-col-deck .rd-rules-in-answer:not(#_a):not(#_b) { overflow: visible !important; padding: 12px 0 0 !important; margin-top: 12px !important; border: 0 !important; border-top: 1px solid var(--hand-line) !important; border-radius: 0 !important; background: none !important; }
html body #dmHandOdds .rd-col-deck .rd-rules-in-answer h3 { font-size: 14px !important; }
/* 2026-11-04: 폰 가로·좁은 화면에서 위 메뉴의 BETA 표시가 옆 메뉴 글자를 덮음 → 좁을 때는 숨김 */
@media (max-width:1100px),(max-height:500px){html body .topbar .viewnav .feature-beta{display:none!important}}

/* 전개도 편집 창(2026-11-04): 도구 줄을 전개도 종이 폭에 맞춰 바로 위에. 저장 단추가 화면 끝으로 멀어지지 않게 */
html body #rtEd > .rt-bar { max-width: 1120px !important; margin-left: auto !important; margin-right: auto !important; flex-wrap: wrap !important; row-gap: 6px !important; }
html body #rtEd > .rt-bar .rt-tip { order: 99 !important; flex: 1 1 100% !important; font-size: 12.5px !important; line-height: 1.45 !important; color: var(--t-muted, #a8b0c6) !important; }
html body #rtEd > .rt-bar > .primary { margin-left: auto !important; }
html body #rtEd > .rt-bar .rt-help:not(#_a) { background: transparent !important; border: 1px solid var(--t-control, #3a4458) !important; color: var(--t-text, #eef1fa) !important; box-shadow: none !important; animation: none !important; }
html body #rtEd > .rt-bar .rt-help span { background: var(--t-raised, #1d2230) !important; color: var(--t-accent, #aec2f4) !important; }
html body #rtEd > .rt-bin { max-width: 1120px !important; margin-left: auto !important; margin-right: auto !important; }

/* 덱 이미지 편집(2026-11-04): 미리보기는 창 안에 한눈에(누르면 원래 크기), 저장 형식은 저장 단추 바로 옆 */
html body .dm-image-preview #dmImageCanvas { height: 100%; display: flex; justify-content: center; align-items: flex-start; cursor: zoom-in; }
html body .dm-image-preview #dmImageCanvas canvas { width: auto !important; max-width: 100%; max-height: 100%; height: auto; }
html body .dm-image-preview #dmImageCanvas.is-zoom { height: auto; cursor: zoom-out; }
html body .dm-image-preview #dmImageCanvas.is-zoom canvas { width: 100% !important; max-height: none; }
html body .dm-image-panel footer > label { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
html body .dm-image-panel footer > label select { width: auto; }
/* 우라라·퍼지 구분 (2026-11-20): 예외 칸에만 작은 표시, '퍼지로 보기'를 켜면 퍼지로 못 막는 칸을 흐리게 */
html body #viewHyeol .hy-card .hy-ctile .hy-who:not(#_a):not(#_b):not(#_c) { display: inline-block !important; align-self: center !important; margin: 2px auto !important; padding: 1px 7px !important; border-radius: 999px !important; font-size: 11px !important; font-weight: 700 !important; line-height: 1.5 !important; white-space: nowrap !important; border: 1px solid rgba(255,182,193,.55) !important; color: #ffc7cf !important; background: rgba(255,120,140,.12) !important; }
html body #viewHyeol .hy-card .hy-ctile .hy-who-split:not(#_a):not(#_b):not(#_c) { border-color: rgba(150,200,255,.55) !important; color: #cfe3ff !important; background: rgba(110,160,255,.12) !important; }
html body #viewHyeol .hy-card .hy-ctile button.hy-who:not(#_a):not(#_b):not(#_c) { cursor: pointer !important; font-family: inherit !important; }
html body #viewHyeol .hy-trap .hy-fuzzy-toggle:not(#_a):not(#_b) { display: inline-flex !important; align-items: center !important; min-height: 32px !important; margin-top: 8px !important; padding: 4px 12px !important; border-radius: 999px !important; border: 1px solid rgba(255,255,255,.22) !important; background: transparent !important; color: inherit !important; font: inherit !important; font-size: 12px !important; font-weight: 700 !important; cursor: pointer !important; }
html body #viewHyeol .hy-trap .hy-fuzzy-toggle[aria-pressed="true"]:not(#_a):not(#_b) { background: rgba(110,160,255,.22) !important; border-color: rgba(150,200,255,.7) !important; }
/* 내 패 고르기 (2026-11-21): 퍼지를 고르면 우라라만 되는 칸을 흐리게. 패트랩 설명 아래 한 줄 */
html body #viewHyeol .hy-trap .hy-fz-pick:not(#_a):not(#_b) { grid-column: 1 / -1 !important; display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 6px !important; margin-top: 8px !important; }
html body #viewHyeol .hy-trap .hy-fz-pick .hy-fz-label:not(#_a):not(#_b) { font-size: 12px !important; font-weight: 700 !important; opacity: .75 !important; margin-right: 2px !important; }
html body #viewHyeol .hy-trap .hy-fz-pick button:not(#_a):not(#_b) { display: inline-flex !important; align-items: center !important; gap: 5px !important; min-height: 32px !important; padding: 3px 12px 3px 4px !important; border-radius: 999px !important; border: 1px solid rgba(255,255,255,.18) !important; background: transparent !important; color: inherit !important; font: inherit !important; font-size: 13px !important; font-weight: 700 !important; opacity: .6 !important; cursor: pointer !important; }
html body #viewHyeol .hy-trap .hy-fz-pick button[aria-pressed="true"]:not(#_a):not(#_b) { opacity: 1 !important; background: rgba(255,255,255,.12) !important; border-color: rgba(255,255,255,.55) !important; }
html body #viewHyeol .hy-trap .hy-fz-pick button img:not(#_a):not(#_b) { width: 24px !important; height: 24px !important; border-radius: 50% !important; object-fit: cover !important; }
html body #viewHyeol .hy-trap .hy-fz-pick .hy-fz-note:not(#_a):not(#_b) { display: none !important; font-size: 12px !important; opacity: .75 !important; }
html.hy-fuzzy-view body #viewHyeol .hy-trap .hy-fz-pick .hy-fz-note:not(#_a):not(#_b) { display: inline !important; }
html[data-theme="light"] body #viewHyeol .hy-trap .hy-fz-pick button:not(#_a):not(#_b) { border-color: rgba(30,50,80,.25) !important; }
html[data-theme="light"] body #viewHyeol .hy-trap .hy-fz-pick button[aria-pressed="true"]:not(#_a):not(#_b) { background: rgba(30,60,110,.1) !important; border-color: rgba(30,60,110,.55) !important; }
html.hy-fuzzy-view body #viewHyeol .hy-row[data-handtrap="ash"] .hy-ctile[data-who="ash"]:not(#_a) { opacity: .32 !important; filter: grayscale(.7) !important; }
/* 우라라·퍼지 아이콘 (2026-11-20): 공개 화면은 글자 배지 대신 카드 그림 오른쪽 위에 작은 패트랩 아이콘 */
html body #viewHyeol .hy-card .hy-ctile .hy-tile-art .hy-who-ic:not(#_a):not(#_b):not(#_c) { position: absolute !important; top: 0 !important; left: calc(100% + 4px) !important; display: flex !important; flex-direction: column !important; gap: 3px !important; z-index: 2 !important; pointer-events: none !important; }
html body #viewHyeol .hy-card .hy-ctile .hy-tile-art .hy-who-ic img:not(#_a):not(#_b):not(#_c) { display: block !important; width: 22px !important; height: 22px !important; border-radius: 50% !important; object-fit: cover !important; box-shadow: 0 0 0 1px rgba(255,255,255,.45), 0 1px 3px rgba(0,0,0,.6) !important; }
html body #viewHyeol .hy-card .hy-ctile .hy-tile-art .hy-who-fz:not(#_a):not(#_b):not(#_c) { position: relative !important; display: block !important; }
html body #viewHyeol .hy-card .hy-ctile .hy-tile-art .hy-who-fz b:not(#_a):not(#_b):not(#_c) { position: absolute !important; right: -5px !important; bottom: -4px !important; min-width: 13px !important; height: 13px !important; padding: 0 2px !important; border-radius: 7px !important; background: #1d3a66 !important; color: #fff !important; font-size: 10px !important; font-weight: 800 !important; line-height: 13px !important; text-align: center !important; box-shadow: 0 0 0 1px rgba(255,255,255,.5) !important; }
@media (max-width: 720px) { html body #viewHyeol .hy-card .hy-ctile .hy-tile-art .hy-who-ic img:not(#_a):not(#_b):not(#_c) { width: 18px !important; height: 18px !important; } }
html[data-theme="light"] body #viewHyeol .hy-card .hy-ctile .hy-who:not(#_a):not(#_b):not(#_c) { color: #a3243a !important; }
html[data-theme="light"] body #viewHyeol .hy-card .hy-ctile .hy-who-split:not(#_a):not(#_b):not(#_c) { color: #1f4f9a !important; }

/* 2026-11-21 사용자 요청: 카드 칸 옆 작은 우라라·퍼지 아이콘과 '퍼지로 못 막는 칸은 흐리게' 안내는 뺀다('내 패' 고르기만으로 충분).
   세로 길이: 패트랩 설명 아래 '내 패' 줄 간격을 줄인다 */
html body #viewHyeol .hy-card .hy-ctile .hy-tile-art .hy-who-ic:not(#_a):not(#_b):not(#_c) { display: none !important; }
html body #viewHyeol .hy-trap .hy-fz-pick .hy-fz-note:not(#_a):not(#_b), html.hy-fuzzy-view body #viewHyeol .hy-trap .hy-fz-pick .hy-fz-note:not(#_a):not(#_b) { display: none !important; }
html body #viewHyeol .hy-trap .hy-fz-pick:not(#_a):not(#_b) { margin-top: 4px !important; }
html body #viewHyeol .hy-trap .hy-fz-pick button:not(#_a):not(#_b) { min-height: 28px !important; padding: 2px 10px 2px 3px !important; }
html body #viewHyeol .hy-trap .hy-fz-pick button img:not(#_a):not(#_b) { width: 22px !important; height: 22px !important; }
/* VS 경계선 계단 현상 줄이기: 모서리를 부드럽게 그리고(geometricPrecision), 흰 선을 조금 굵게 + 옅은 바깥 선으로 가장자리를 섞는다 */
html body .hy-hero.my-vs-on .my-vs-line { shape-rendering: geometricPrecision; }
html body .hy-hero.my-vs-on .my-vs-line path { shape-rendering: geometricPrecision; stroke-linejoin: round !important; stroke-linecap: round; }
html body .hy-hero.my-vs-on .my-vs-line .edge { stroke-width: 2.6 !important; }
html body .hy-hero.my-vs-on .my-vs-line .glow { stroke-width: 7 !important; opacity: .5 !important; filter: blur(1.5px) !important; }
/* 우라라·퍼지 칸 제목 줄 = '내 패' 고르기(2026-11-21): 제목 글자는 화면 읽기용으로만 두고, 고르기 단추가 제목 자리에 */
html body #viewHyeol .hy-trap .hy-sr:not(#_a) { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
html body #viewHyeol .hy-trap .hy-fz-heading .hy-fz-pick:not(#_a):not(#_b) { margin: 0 !important; grid-column: auto !important; flex-wrap: nowrap !important; }
html body #viewHyeol .hy-trap .hy-fz-heading .hy-fz-pick button:not(#_a):not(#_b) { min-height: 34px !important; padding: 3px 14px 3px 4px !important; font-size: 15px !important; font-weight: 700 !important; }
html body #viewHyeol .hy-trap .hy-fz-heading .hy-fz-pick button img:not(#_a):not(#_b) { width: 26px !important; height: 26px !important; }
html body #viewHyeol .hy-trap .hy-fz-heading .hy-fz-label:not(#_a):not(#_b) { font-size: 13px !important; }
@media (max-width: 720px) { html body #viewHyeol .hy-trap .hy-fz-heading .hy-fz-pick button:not(#_a):not(#_b) { font-size: 14px !important; padding: 2px 10px 2px 3px !important; } }
/* ── 2026-11-21 전수 점검(scratchpad audit-align.cjs) 결과 정리: 디자인 시스템 값으로 통일 ──
   1) 입력·선택칸 줄 높이: 글자 크기와 같으면(line-height:1) 한글이 칸 아래로 쏠린다 → 1.4로 통일(칸 높이는 각 화면 값 유지)
   2) 아이콘 크기: --t-icon(16px) 하나로. 글자 있는 단추·아이콘만 있는 단추 모두 같은 크기 */
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]), html body select { line-height: 1.4 !important; }
html body input::placeholder { line-height: 1.4; }
html body .topbar .site-tools .theme-toggle svg { width: var(--t-icon, 16px) !important; height: var(--t-icon, 16px) !important; }
html body .topbar .site-tools :is(.acct-btn, .notice-link)::before, html body .topbar .site-tools :is(.acct-btn, .notice-link)::after { width: var(--t-icon, 16px) !important; height: var(--t-icon, 16px) !important; -webkit-mask-size: contain !important; mask-size: contain !important; background-size: contain !important; }
html body :is(.dm-detail-actions, .dm-title-row, .dm-toolbar-tools) :is(button, a) > svg, html body :is(.dm-detail-actions, .dm-title-row, .dm-toolbar-tools) :is(button, a) > img { width: var(--t-icon, 16px) !important; height: var(--t-icon, 16px) !important; flex: none; }
html body :is(.dm-detail-actions, .dm-title-row, .dm-toolbar-tools) :is(button, a)::before { width: var(--t-icon, 16px) !important; height: var(--t-icon, 16px) !important; }
/* 시뮬레이터 듀얼 준비 칸 '덱 편집' 글자 단추: 제목 줄 가운데에 */
html body #duelPrepDialog .prep-step-head .prep-link { display: inline-flex !important; align-items: center !important; line-height: 1 !important; }
/* 아이콘 16px 통일(앞의 18px·20px·11px 개별 지정보다 우선) */
html body :is(#dmUndo,#dmClear,.theme-toggle):not(#_a):not(#_b):not(#_c) svg { width: var(--t-icon, 16px) !important; height: var(--t-icon, 16px) !important; min-width: 0 !important; }
html body :is(.dm-detail-actions, .dm-title-row, .dm-toolbar-tools) :is(button, a):not(#_a):not(#_b):not(#_c) > :is(svg, img) { width: var(--t-icon, 16px) !important; height: var(--t-icon, 16px) !important; min-width: 0 !important; }
html body :is(.dm-detail-actions, .dm-title-row, .dm-toolbar-tools) :is(button, a):not(#_a):not(#_b):not(#_c)::before { width: var(--t-icon, 16px) !important; height: var(--t-icon, 16px) !important; min-width: 0 !important; -webkit-mask-size: contain !important; mask-size: contain !important; background-size: contain !important; }
html body #duelPrepDialog :is(#prepSearch, #prepHandCount):not(#_a):not(#_b) { line-height: 1.4 !important; }

/* 2026-11-21 우라라·퍼지 칸: 다른 패트랩과 같은 제목 줄 + 그 아래 '내 패' 작은 선택(여러 개) */
html body #viewHyeol .hy-trap > .hy-fz-pick:not(#_a):not(#_b) { grid-column: 1 / -1 !important; display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 4px !important; margin: 6px 0 0 !important; }
html body #viewHyeol .hy-trap > .hy-fz-pick .hy-fz-label:not(#_a):not(#_b) { font-size: 11.5px !important; font-weight: 700 !important; opacity: .7 !important; margin-right: 2px !important; }
html body #viewHyeol .hy-trap > .hy-fz-pick button:not(#_a):not(#_b) { display: inline-flex !important; align-items: center !important; gap: 4px !important; min-height: 26px !important; padding: 0 10px !important; border-radius: 999px !important; border: 1px solid rgba(255,255,255,.22) !important; background: transparent !important; color: inherit !important; font-size: 12.5px !important; font-weight: 600 !important; opacity: .6 !important; cursor: pointer !important; line-height: 1.4 !important; }
html body #viewHyeol .hy-trap > .hy-fz-pick button[aria-pressed="true"]:not(#_a):not(#_b) { opacity: 1 !important; background: rgba(255,255,255,.1) !important; border-color: rgba(255,255,255,.5) !important; }
html body #viewHyeol .hy-trap > .hy-fz-pick button[aria-pressed="true"]:not(#_a):not(#_b)::before { content: '✓'; font-size: 11px; }
html[data-theme="light"] body #viewHyeol .hy-trap > .hy-fz-pick button:not(#_a):not(#_b) { border-color: rgba(30,50,80,.25) !important; }
html[data-theme="light"] body #viewHyeol .hy-trap > .hy-fz-pick button[aria-pressed="true"]:not(#_a):not(#_b) { background: rgba(30,60,110,.08) !important; border-color: rgba(30,60,110,.5) !important; }
