/* /css/tokens.css */
/* Renewal 2 토큰 — Figma Renewal 2(CEJMar9R9mg5ClvK6S93Y3) 「Renewal 2 · 공통 기준」 변수 · 글자 스타일 · 효과 스타일을 그대로 옮김.
   이름은 Figma 변수 이름의 / 를 - 로 바꾼 것(진열/* 만 영문 shelf-*). 운영 토큰(docs/design/tokens)과 섞지 않는다 — beta 화면 전용.
   2026-11-15 브리지로 읽음. Figma 값이 바뀌면 이 파일을 다시 맞춘다. */
:root {
  /* 색 · base */
  --base-paper: #fffaf1;
  --base-ink: #182d32;
  --base-muted: #687573;
  --base-selected: #c8f1e9;
  --base-line: #ded3bf;
  --base-page: #fff7eb;
  --base-border: #ded9cd;
  --base-border-strong: #968f86;
  --base-primary: #1bd3ce;   /* X-ACCENT(대표 승인 11-18): 예전 진한 민트(옛 #c8eadb) — 주요 단추 · 눌림 바탕 */
  --base-accent: #117e75;
  --base-primary-line: #17c8c3;   /* 주 버튼 테두리 */
  --base-primary-soft: #7de2dd;   /* GNB 펼친 묶음 외곽선(60%) */
  --base-track: #eee7db;   /* 연속 선택 트랙 */
  --base-track-off: #cec6b9;   /* 토글 꺼짐 */
  --base-text-soft: #6a655d;   /* 트랙 위 안 고른 글자 */
  --base-memo: #fff59d;
  --base-bookmark-mint: #c6edde;
  --base-bookmark-pink: #f5bfdb;
  --base-bookmark-lavender: #d0b8f0;
  --base-rise: #b53d43;
  --base-fall: #3077cd;
  --base-text-muted: #6a655d;
  --base-quantity-1: #f08bda;
  --base-quantity-2: #ffe7b0;
  --base-quantity-3: #beadf9;
  --base-quantity-4: #70dccd;
  --base-quantity-5: #7760f5;
  --base-switch-on: var(--base-primary);
  --base-selected-line: #1bd3ce;

  /* 색 · gnb */
  --gnb-paper: var(--base-paper);
  --gnb-ink: var(--base-ink);
  --gnb-muted: var(--base-muted);
  --gnb-selected: var(--base-selected);
  --gnb-line: var(--base-line);

  /* 색 · color (화면이 쓰는 이름) */
  --color-page: var(--base-page);
  --color-paper: var(--base-paper);
  --color-ink: var(--base-ink);
  --color-muted: var(--base-text-muted);
  --color-border: var(--base-border);
  --color-primary: var(--base-primary);
  --color-accent: var(--base-accent);
  --color-primary-line: var(--base-primary-line);
  --color-primary-soft: var(--base-primary-soft);
  --color-primary-wash: var(--base-selected);
  --color-track: var(--base-track);
  --color-track-off: var(--base-track-off);
  --color-text-soft: var(--base-text-soft);
  --color-memo: var(--base-memo);
  --color-bookmark-mint: var(--base-bookmark-mint);
  --color-bookmark-pink: var(--base-bookmark-pink);
  --color-bookmark-lavender: var(--base-bookmark-lavender);
  --color-rise: var(--base-rise);
  --color-fall: var(--base-fall);
  --color-danger: var(--base-rise);
  --color-quantity-1: var(--base-quantity-1);
  --color-quantity-2: var(--base-quantity-2);
  --color-quantity-3: var(--base-quantity-3);
  --color-quantity-4: var(--base-quantity-4);
  --color-quantity-5: var(--base-quantity-5);
  --color-selected-line: var(--base-selected-line);
  --color-skeleton: #e8ece5;
  /* 그림 자리 표시(대표 11-16 「민트색 백판 말고 로고이미지에 반투명 배경」) — 반투명 종이 판(68% — 뒤 선반 · 바탕이 살짝 비침) + SnapHolo 심볼(assets/home-c/symbol.svg 모양 · 색) 26% · −14° 기울임(대표 11-16 「반투명」 · 「로고는 직각 아니고 각도를」). 카드 비율 · 팩 비율.
     파일 대신 CSS 안에 넣었다 — 캐시 없는 첫 그리기에도 판이 바로 보이게(따로 받으면 그 사이 빈칸). 쓰는 법 = common.css .r2-ph */
  --ph-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 63 88' preserveAspectRatio='xMidYMid meet'%3E%3Cdefs%3E%3ClinearGradient id='p' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23f7fbf9'/%3E%3Cstop offset='.55' stop-color='%23f3f5f8'/%3E%3Cstop offset='1' stop-color='%23efeff9'/%3E%3C/linearGradient%3E%3ClinearGradient id='u' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%2324D5CB'/%3E%3Cstop offset='1' stop-color='%237760F5'/%3E%3C/linearGradient%3E%3ClinearGradient id='l' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23F08BDA'/%3E%3Cstop offset='1' stop-color='%23FFD17C'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='63' height='88' rx='3' fill='url(%23p)' fill-opacity='.68'/%3E%3Crect x='.4' y='.4' width='62.2' height='87.2' rx='2.7' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='.8'/%3E%3Cg opacity='.26' transform='rotate(-14 31.5 44) translate(19.5 27.2) scale(0.2000)'%3E%3Cpath fill='url(%23u)' d='M14 0H106C114 0 120 6 120 14V62L0 108V14C0 6 6 0 14 0Z'/%3E%3Cpath fill='url(%23l)' d='M0 117L120 71V154C120 162 114 168 106 168H14C6 168 0 162 0 154Z'/%3E%3C/g%3E%3C/svg%3E");   /* 63:88 · 가운데 */
  --ph-pack: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 79 100' preserveAspectRatio='xMidYMax meet'%3E%3Cdefs%3E%3ClinearGradient id='p' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23f7fbf9'/%3E%3Cstop offset='.55' stop-color='%23f3f5f8'/%3E%3Cstop offset='1' stop-color='%23efeff9'/%3E%3C/linearGradient%3E%3ClinearGradient id='u' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%2324D5CB'/%3E%3Cstop offset='1' stop-color='%237760F5'/%3E%3C/linearGradient%3E%3ClinearGradient id='l' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23F08BDA'/%3E%3Cstop offset='1' stop-color='%23FFD17C'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='79' height='100' rx='4' fill='url(%23p)' fill-opacity='.68'/%3E%3Crect x='.4' y='.4' width='78.2' height='99.2' rx='3.7' fill='none' stroke='%23fff' stroke-opacity='.7' stroke-width='.8'/%3E%3Cg opacity='.26' transform='rotate(-14 39.5 50) translate(27.5 33.2) scale(0.2000)'%3E%3Cpath fill='url(%23u)' d='M14 0H106C114 0 120 6 120 14V62L0 108V14C0 6 6 0 14 0Z'/%3E%3Cpath fill='url(%23l)' d='M0 117L120 71V154C120 162 114 168 106 168H14C6 168 0 162 0 154Z'/%3E%3C/g%3E%3C/svg%3E");   /* 79:100 · 아래 붙음 */

  /* 간격 · 모서리 · 크기 */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --radius-control: 8px;
  --radius-panel: 7px;
  --radius-popover: 10px;
  --radius-bookmark-pc: 4.5px;
  --radius-bookmark-mobile: 3.5px;
  /* 화면 간격 통일(대표 11-16 「모든 화면에서 컬렉션 페이지에 있는 간격 여백들로」) — 컬렉션 실측값. 컬렉션 자체 값은 r2-collection.css 그대로 */
  --gap-block: 12px;          /* 한 묶음 안 블록 사이 = 컬렉션 합계 · 도구 줄 · 바인더 사이 */
  --gap-section: 24px;        /* 제목 있는 구역 사이 = 컬렉션 본문 여백 24(모바일 16 = 컬렉션 본문 줄 사이) */
  --pad-surface: 24px;        /* 종이 판 안쪽 = 컬렉션 리스트 판(.co-list 24 · 모바일 16) — 둥글기는 컬렉션 종이 판과 같은 --radius-panel 7 */
  --size-control-height: 44px;
  --size-control-compact: 32px;
  --size-touch-target: 44px;

  /* 부품 */
  --component-choice-selected: var(--color-primary);
  --component-choice-text: var(--color-ink);
  --component-field-radius: var(--radius-control);
  --component-field-min-height: var(--size-touch-target);
  --component-field-border: var(--base-border-strong);
  --component-chip-height: var(--size-control-compact);
  --component-switch-on: var(--base-switch-on);

  /* 진열/* */
  --shelf-radius: 10px;          /* 진열/모서리 */
  --shelf-pad-top: 8px;          /* 진열/여백 위 */
  --shelf-pad-side-pc: 12px;     /* 진열/여백 옆 PC */
  --shelf-pad-bottom-pc: 10px;   /* 진열/여백 아래 PC */
  --shelf-pad-mobile: 8px;       /* 진열/여백 모바일 */

  /* 서체 — 화면 언어별 Noto Sans(운영 /css/fonts.css 의 자체 호스팅 글꼴) */
  --font-sans: 'Noto Sans KR', 'Noto Sans', 'Noto Sans JP', sans-serif;
  --font-num: 'Noto Sans', 'Noto Sans KR', 'Noto Sans JP', sans-serif;   /* 금액 · 숫자 칸 = 세 언어 모두 Noto Sans 먼저(livevil-setting docs/rules/snapholo-typography.md · 대표 11-08 · 앱 MoneyText 와 같음) */
  --font-hand: 'Nanum Pen Script', var(--font-sans);   /* Figma Nanum Pen — 아직 자체 호스팅 없음 */

  /* 글자 스타일(공통 / · Renewal 2 / · 탐색 / · 컬렉션 /) — font 단축형 + 자간.
     역할(관제 승인 11-17 · 대표 「글꼴도 바로 적용해」 · 규칙 livevil-setting docs/rules/snapholo-typography.md): 굵기 세 단 400 · 500 · 700(600 · 800 · 900 없음) ·
     본문 400 · 1.55 · −0.01em / 보조 400 · 1.5 · 0 / 링크 · 단추 · 라벨 500 · −0.005em / 판 제목 700 · 1.3 · −0.015em / 쪽 제목 700 · 1.25 · −0.02em / 히어로 700 · 1.1 · −0.02em /
     가격 · 숫자 700 + 고정폭 숫자. 줄 높이 = 단위 없는 값 · 자간 = em. */
  --tracking-body: -.01em;
  --tracking-sub: 0;   /* 보조 400 12~13 — body 의 −0.01em 을 되돌림(git-3c 확인 11-17) */
  --tracking-label: -.005em;
  --tracking-panel-title: -.015em;
  --tracking-page-title: -.02em;
  --text-page-title: 700 24px/1.25 var(--font-sans);
  --text-page-title-pc: 700 28px/1.25 var(--font-sans);
  --text-section-title: 700 24px/1.3 var(--font-sans);
  --text-body: 400 14px/1.55 var(--font-sans);
  --text-sub: 400 12px/1.5 var(--font-sans);
  --text-button: 500 14px/1.45 var(--font-sans);
  --text-hand-price: 400 20px/1.3 var(--font-hand);
  --text-meta: 400 12px/1.5 var(--font-sans);
  --text-hero-pc: 700 54px/1.1 var(--font-sans);   /* 900 = 실린 파일 없음(700 까지) → 700 */
  --tracking-hero-pc: -.02em;
  --slogan-scale: 1;   /* 메인 슬로건(손님 홈 첫 장면 · 히어로 판) PC 제목 크기 배율 — 언어별 차이는 여기 한 곳만(en = .818, 관제 11-17 21:5x A안) */
  --text-hero-mobile: 700 32px/1.1 var(--font-sans);
  --tracking-hero-mobile: -.02em;
  --text-list-name-pc: 500 17px/1.45 var(--font-sans);   /* 이름 = 라벨 500(700 은 가격 · 제목만) */
  --text-list-name-mobile: 500 14px/1.45 var(--font-sans);
  --text-list-price-pc: 700 22px/1.45 var(--font-sans);
  --text-list-price-mobile: 700 18px/1.45 var(--font-sans);
  --text-quantity-sticker: 400 20px/1.05 var(--font-hand);
  --text-bookmark: 500 13px/1.15 var(--font-sans);
  --text-explore-long-choice: 400 13px/1.5 var(--font-sans);
  --text-explore-tile-name-mobile: 500 12px/1.5 var(--font-sans);
  --text-collection-choice: 500 15px/1.45 var(--font-sans);
  --text-collection-modal-title: 700 20px/1.3 var(--font-sans);
  --text-collection-filter-group: 500 14px/1.43 var(--font-sans);
  --text-collection-sidebar-choice: 500 14px/1.43 var(--font-sans);
  --text-collection-filter-choice-13: 500 13px/1.5 var(--font-sans);

  /* 효과 스타일 */
  --shadow-control: 0 1px 1px #1a29241f, inset 0 1px 0 #ffffffcc;
  --shadow-paper-edge: 0 1.5px 1.8px #2638332b;
  --shadow-modal: 0 8px 20px #21302b29;
  --shadow-postit: 0 0.7px 0.7px #42331a24, 1px 2.7px 3.2px #42331a2e;
  --shadow-cellophane: 0 0.6px 0.8px #42331a14, inset 0 0.5px 0 #ffffff8c;
  --shadow-paper-panel: 0 4px 10px #2b383012;
  --shadow-popup: 0 2px 8px #47402e12;
  --shadow-quantity-sticker: 0.15px 0.55px 0.65px #331f2e2e;
  --shadow-shelf-plate: 0 2px 4px #664d3026, inset 0 1px 1px #ffffffa6, inset 0 -2px 2px #915e2e38;

  /* 재질(재질 / 종이 · 바탕 종이) — 같은 종이 그림을 바둑판으로. Figma 배율 1.55 = 2048px 그림이 3174px 한 칸 */
  --texture-paper: url(/css/img/paper.webp);
  --texture-paper-size: 3174px;
}
@media (max-width: 1023.98px) { :root { --gap-section: 16px; --pad-surface: 16px; } }
:root:lang(ja) { --font-sans: 'Noto Sans JP', 'Noto Sans', sans-serif; }
:root:lang(en) { --font-sans: 'Noto Sans', 'Noto Sans KR', sans-serif; --slogan-scale: .818; }   /* en 슬로건 「Pokémon card scanner」가 66 · 54 로는 칸보다 넓어 5줄 → 54/66 배율로 4줄 */
:root:lang(ko) { --slogan-scale: .88; }   /* ko 슬로건 B 안 「초고속 포켓몬 카드 스캐너」 = PC 한 줄(관제 11-18) — 66 · 54 로는 손님 홈 681 > 630 · 히어로 판 577 > 520 → × .88 = 599 · 508 */

/* /css/common.css */
/* R2 공통 부품 — 쪽 틀 · GNB(PC 왼쪽 · 모바일 머리 · 모바일 메뉴) · 바닥 줄. 값 = Figma Renewal 2 00 · 00-1 (tokens.css 이름).
   Figma 에 변수가 없는 값(#8cbfad99 펼침 테두리 · #e1e8e2 머리 경계 · 아이콘 선 색)은 Figma 값 그대로 적었다.
   PC = 1024px 이상(운영 바닥 줄과 같은 경계). 마크업 = /partials/gnb.html · /partials/foot.html, 동작 = /js/common.js */

/* ── 쪽 틀 ─────────────────────────────────────────── */
html { background: var(--color-page); overflow-y: scroll; scrollbar-gutter: stable; }   /* 긴 쪽 · 짧은 쪽 모두 세로 스크롤 막대 자리를 잡아 본문 왼쪽 끝이 쪽마다 같게(넓은 화면 가운데 묶음이 막대 유무로 8px 튀던 것). Chromium 은 html overflow 가 visible 이면 gutter 를 안 잡아(문서 = 창 높이인 짧은 쪽, git-62 C-W03-W) overflow-y: scroll 로 막대를 늘 둔다 — 메뉴 열림(.r2-menu-open overflow hidden) 때는 gutter 가 자리를 지킨다 */
body.r2 { position: relative; isolation: isolate; margin: 0; min-height: 100vh; color: var(--color-ink); font: var(--text-body); letter-spacing: var(--tracking-body); background: var(--color-page); -webkit-text-size-adjust: 100%; }
body.r2::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--texture-paper) 0 0 / var(--texture-paper-size); opacity: .3; }   /* 재질 / 바탕 종이 30% */
.r2 *, .r2 *::before, .r2 *::after { box-sizing: border-box; }
.r2 [hidden] { display: none !important; }
.r2-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.r2-skip { position: absolute; left: 8px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: var(--radius-control); background: var(--color-paper); color: var(--color-ink); font: var(--text-button); text-decoration: none; }
.r2-skip:focus { top: 8px; }
/* 초점 — 00 「공통 / 버튼」 Focus 상태(accent 3px) */
.r2 :is(a, button, input):focus-visible { outline: 3px solid var(--color-accent); outline-offset: -3px; }
/* 입력칸 포커스 하나(대표 11-17 「입력칸 포커스 잡혔을 때 이상하게 색칠」 · 핀 20261117-152444) — .r2-field = 글 입력칸 또는 입력칸을 감싼 칸(검색 상자).
   포커스 = 그 칸 테두리만 민트 1.5(inset) · 바탕 그대로 · 안쪽 입력칸엔 고리 없음(전엔 감싼 칸 1.5 + 입력칸 2.4 겹 고리) · 키보드 · 마우스 같은 표시 */
.r2 :is(input:not([type=checkbox], [type=radio], [type=range], [type=file]), textarea, select):focus-visible { outline: 0; }
.r2-field { box-shadow: inset 0 0 0 1px var(--component-field-border); }   /* 기본 테두리 = 검색 상자 · 글 입력칸 한 값(대표 11-17 「다 통일」 · Figma 00 입력칸 Default) */
.r2 .r2-field:focus-within { box-shadow: inset 0 0 0 1.5px var(--color-primary); }
.r2 :is(input, textarea, select):-webkit-autofill { -webkit-text-fill-color: var(--color-ink); caret-color: var(--color-ink); transition: background-color 600000s 0s, color 600000s 0s; }   /* 자동완성 노랑 · 파랑 바탕 대신 입력칸 바탕 그대로 */
.r2 .r2-foot a:focus-visible, .r2 .r2-skip:focus-visible { outline-offset: 2px; }

/* 판 위 머리(PC) — 「상단 · 계정」 1200×80 */
.r2-pagehead { position: relative; display: flex; align-items: center; height: 80px; padding: 0 24px; border-bottom: 1px solid var(--panel-line); background: var(--color-page); }
.r2-pagehead::before, .r2-mhead::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--texture-paper) 0 0 / var(--texture-paper-size); opacity: .3; filter: brightness(1.03) contrast(1.4) saturate(.6); }
.r2-pagehead h1 { position: relative; margin: 0; font: var(--text-page-title); letter-spacing: var(--tracking-page-title); color: var(--color-ink); }
.r2-main { padding: 24px; }
/* 쪽 안 스크롤 칸은 막대를 숨긴다 — 넘기기(휠 · 끌기 · 터치 · 키보드)는 그대로. 쪽 본문(html) 막대만 남긴다.
   펼침 · 드롭다운 · 필터 창 · 시트 · GNB · 대화창 · 넓은 표 전부(대표 11-17 「펼치기 했을 때 스크롤바 … 싹 다 없애」 · 핀 20261117-145750 · 전엔 칸 이름을 하나씩 적었다) */
body, body * { scrollbar-width: none; }
:is(body, body *)::-webkit-scrollbar { display: none; }
/* 넓은 화면 = 화면 폭을 다 쓴다(대표 11-17 「opensea 처럼 좌우 제한 없이 쫙」 — 앞서의 본문 최대 1200 · 칸 980 을 거둠). 바깥 여백만 = .r2-main 안쪽 24.
   격자(진열장 · 레일 · 타일)는 칸 폭을 고정하고 열 수가 늘어난다. 글 덩어리(문단 · 기사 본문 · FAQ 답 · 약관 · 공지)는 읽기 폭 --measure 를 넘지 않는다(판은 늘어도 글 줄은 안 늘게). */
:root { --measure: 72ch; }
/* 숫자 = 고정폭(값 · 가격 · 표 숫자 열이 바뀌어도 자리 · 열 정렬이 흔들리지 않게 — 관제 승인 11-17 글자). 손글씨 가격 메모(Nanum Pen)는 그대로 */
.r2 :is(td, th, [data-amount], time, .r2-num) { font-variant-numeric: tabular-nums !important; }   /* !important = 쪽 CSS 의 font 단축형이 font-variant 를 normal 로 되돌려서(카드 상세 표 금액 · 날짜 실측) */
:where(.r2) :is(b, strong) { font-weight: 700; }   /* b · strong 기본 bolder = 700 부모 안에서 900(실린 파일 없음 · 스캔 숫자 배지 실측) → 700 고정. 쪽 CSS 가 굵기를 주면 그쪽 */
[data-fit] .is-off { display: none; }   /* 한 줄 진열에서 폭에 안 들어가는 칸(r2-shell.js data-fit) */   /* 읽기 폭 = 라틴 72자 · 한글 · 일본어 약 40자 */
.r2-faq__list details > p, .ab-lead p, .ab-plain p, .ab-steps > p, .ab-steps li { max-width: var(--measure); }   /* 넓은 판 안의 문단 */
/* 판 폭 상한 없음(대표 핀 11-17 21:10 「넓이 고정으로 하지 말고 반응형으로 다 넓어지게」 · FAQ 질문 줄도) — 표 · 목록 · FAQ · 앱 받기 판의 1152 상한(--list-max)을 거둠: 모든 판은 본문 폭을 꽉 채운다 */
.r2-flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap-section); }   /* 이웃한 표 · 목록 판 묶음 = 한 열 · 판 전폭(관제 11-17 21:1x) — 넓으면 1000 칸으로 나란히 두던 것은 높이 다른 판이 줄 단위로 놓여 옆 판 아래가 비었다(2560 캐릭터 375 · 빈 칸 1141, 감사) */
.r2-main :is(.lg-doc, .hp-detail, .st-art) :is(p, li, blockquote) { max-width: var(--measure); }   /* 글 판(약관 · 공지 상세 · 기사)은 판이 전폭이고 문단만 읽기 폭 — 판 폭 상한(읽기 폭 + 안쪽 여백)을 거둠(같은 핀) */
html[lang="ko"] :is(p, li, dd, blockquote, figcaption, summary, h1, h2, h3, h4) { word-break: keep-all; overflow-wrap: anywhere; }   /* 한국어 긴 글 = 어절 단위 줄바꿈(앱과 같음 · 관제 11-18) · 긴 영문 · 숫자 덩어리는 어디서든 끊어 넘침 0 */

/* ── 로고(카드 표지 −10° + 글자) ─────────────────────── */
.r2-logo { position: relative; display: block; width: 174px; height: 24.36px; }
.r2-logo img { position: absolute; left: -1.94px; top: -1.6px; width: 175.94px; height: 27.67px; }   /* 기운 표지가 틀 밖으로 나온 만큼 */

/* ── 모바일 머리 「GNB / 모바일 머리」 390×70 ─────────── */
.r2-mhead { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; height: 70px; padding: 0 12px; border-bottom: 1px solid #e1e8e2; background: var(--color-page); }
.r2-mhead .r2-logo { height: 25px; }
.r2-mhead .r2-logo img { left: -2.04px; height: 28.27px; width: 176.04px; }
.r2-mhead__btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-left: 8px; padding: 0; border: 0; border-radius: var(--radius-control); background: none; cursor: pointer; }
.r2-mhead .r2-logo + .r2-mhead__btn { margin-left: auto; }
/* 메뉴 단추 = 햄버거 · X 를 한 자리에 겹쳐 두고 돌며 바꿔 낀다(햄버거는 시계 방향으로 돌며 작아지고 X 는 반대에서 돌아 들어옴) */
.r2-mhead__menu > svg { grid-area: 1 / 1; }
.r2-when-open { opacity: 0; transform: rotate(-90deg) scale(.5); }
.r2-mhead__menu[aria-expanded="true"] .r2-when-closed { opacity: 0; transform: rotate(90deg) scale(.5); }
.r2-mhead__menu[aria-expanded="true"] .r2-when-open { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) { .r2-mhead__menu > svg { transition: opacity var(--motion-ui) var(--ease-move), transform var(--motion-ui) var(--ease-move); } }

/* ── 모션 토큰 · 쪽 바꿈(대표 11-15 「GNB 전환시에 자연스럽게 화면이 바뀌고 GNB도 바뀌게」) ───────────
   모든 쪽이 같은 값을 쓴다 — 들어올 때 감속(ease-out) · 나갈 때 더 짧게 · 움직임 줄이기면 모두 끔. common.js 의 펼침 · 메뉴 움직임도 이 값을 읽는다. */
:root { --gnb-hover: color-mix(in srgb, var(--gnb-selected) 50%, transparent); }   /* GNB 마우스 올림 = 고른 민트의 절반 */
/* 모션 시간 사다리 — 모든 움직임이 이 값만 쓴다(대표 11-16 「완성도 · 감성적으로 안정감을 주는 속도를 조사해서 전체 반영」 · 「중간에 겹치잖아 · 너무 빨라서 경박」).
   조사(Material 3 motion duration/easing · Apple HIG · ui-ux-pro-max 가이드): 안정감 = 완만한 감속 곡선 + 겹침 없는 순차 + 한 사다리. 경박함 = 너무 빠름 + 스냅(강한 탄력) + 요소마다 제각각.
   밴드마다 긴 끝(안정감 쪽) · 나감은 들어옴의 약 60~65%(M3 · MD 「exit faster than enter」) · 칸 차례 45ms(MD stagger 30~50) */
:root {
  --motion-micro: 160ms;    /* 미세 — 마우스 올림 · 누름 · 토글 · 초점(M3 short3~4 150~200 의 긴 쪽) */
  --motion-ui: 280ms;       /* 작은 UI — 메뉴 · 선택 · 칩 · 펼침(M3 medium1~2 250~300) */
  --motion-exit: 300ms;     /* 사라짐 · 쪽 나감(들어옴 480 의 62%) */
  --motion-enter: 480ms;    /* 요소 등장(카드 차오름 · 그림 · 명패) · 쪽 들어옴(M3 long1~2 450~500) */
  --motion-move: 460ms;     /* 같은 요소의 자리 이동 — GNB 선택 표시 미끄러짐(M3 medium4~long1) */
  --motion-stagger: 45ms;   /* 칸마다 차례(R2Reveal 기본 간격) */
  /* 표현적(사물 재질 · 따로 둠): 팩 낙하 660 · 포스트잇 붙음 780 · 홀로 스침 820 · 바인더 넘김 --motion-page-turn 800 */
  --ease-enter: cubic-bezier(.33, 1, .68, 1);   /* 들어옴 = 완만한 감속(ease-out cubic — 스냅 없이 내려앉음) */
  --ease-exit: cubic-bezier(.32, 0, .67, 0);    /* 나감 = 가속(ease-in cubic) */
  --ease-move: cubic-bezier(.65, 0, .35, 1);    /* 자리 이동 = ease-in-out cubic */
  /* 옛 이름 → 사다리(이미 쓰는 쪽은 자동) */
  --motion-fast: var(--motion-micro); --motion-base: var(--motion-ui);
  --motion-page-out: var(--motion-exit); --motion-page-in: var(--motion-enter);   /* 쪽 바꿈 = 나감 300 이 끝난 뒤 들어옴 480 · 겹침 0 · 합 0.78초 */
  --ease-out: var(--ease-enter); --ease-in: var(--ease-exit);
  --motion-gnb-slide: var(--motion-move); --ease-gnb-slide: cubic-bezier(.22, 1, .36, 1);   /* GNB 선택 표시 미끄러짐(대표 11-16 「보더가 자연스럽게 이동」 — 곡선은 대표가 본 그대로) */
}
:root { --motion-page-turn: 800ms; --ease-page-turn: linear(0, 0.022 10%, 0.133 22%, 0.367 36%, 0.622 50%, 0.833 62%, 0.967 72%, 1 80%, 0.972 87%, 1 93%, 1); }   /* 책장 넘김(04 바인더) — 천천히 들고 빠르게 넘겨 내려앉은 뒤 한 번 튀었다 눕는다(진행률 곡선) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }   /* 같은 출처 쪽 이동 = cross-document View Transitions(지원 안 하는 브라우저는 그냥 바뀜) */
}
.r2-page { view-transition-name: r2-page; }   /* 본문 — 옛 화면이 다 옅어진 뒤 새 화면이 천천히 나타남 */
.r2-mhead { view-transition-name: r2-mhead; }   /* 모바일 머리 — 제자리 */
::view-transition-old(root), ::view-transition-new(root), ::view-transition-group(r2-page) { animation: none; }
::view-transition-old(r2-page) { animation: var(--motion-page-out) var(--ease-in) both r2-page-out; }
::view-transition-new(r2-page) { animation: var(--motion-page-in) var(--ease-out) var(--motion-page-out) both r2-page-in; }   /* 나감이 끝난 뒤 시작(지연 = 나감 시간) */
::view-transition-group(r2-now) { animation-duration: var(--motion-gnb-slide); animation-timing-function: var(--ease-gnb-slide); mix-blend-mode: multiply; }   /* 표시 층 장면은 GNB 장면 위에 그려진다 — 곱하기로 아래 글자 · 아이콘이 비쳐 보이게(지나가는 줄 글자가 가려지지 않음) */   /* 선택 표시 = 앞 메뉴 자리에서 새 메뉴 자리로 미끄러짐(쪽 바꿈 0.78초 안) */
::view-transition-old(r2-now), ::view-transition-new(r2-now) { animation-duration: var(--motion-gnb-slide); }
@keyframes r2-page-in { from { opacity: 0; } }   /* 쪽 바꿈 본문 = 옅어짐만 — 글이 위아래로 밀리던 것 뺌(대표 11-16 「텍스트가 아래로 떨어지는 효과는 의미가 없어」) */
@keyframes r2-page-out { to { opacity: 0; } }

/* ── GNB(공통 메뉴) ───────────────────────────────── */
.r2-gnb { color: var(--gnb-ink); }
:where(.r2-gnb, .r2-foot) ul { list-style: none; margin: 0; padding: 0; }
.r2-gnb__list { display: flex; flex-direction: column; gap: 2px; }
.r2-gnb__row { position: relative; display: flex; min-height: 44px; border-radius: 6px; }
.r2-gnb__link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 12px; border-radius: 6px; color: var(--gnb-ink); font: 500 14px/1.571 var(--font-sans); text-decoration: none; }
.r2-ico { flex: none; width: 20px; height: 20px; }
.r2-gnb__opener { width: 100%; padding-right: 0; border: 0; background: none; text-align: start; cursor: pointer; }   /* 하위가 있는 줄 = 펼침 단추(이동 없음) — 대표 코멘트 11-15 「탐색을 누르면 열리고, 서브 메뉴를 고르기 전까지는 화면이 바뀌면 안 됨」 · Figma 00-1 2146:1285 */
.r2-gnb__chev { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; }
.r2-gnb__chev svg, .r2-profile__chev svg { width: 12px; height: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .r2-gnb__chev svg, .r2-profile__chev svg, .r2-gnb__row > [aria-controls] > svg:only-child { transition: transform var(--motion-base) var(--ease-out); }
  .r2-gnb__group { transition: background-color var(--motion-base) var(--ease-out); }
  .r2-gnb__group::after { transition: opacity var(--motion-base) var(--ease-out); }
  .r2-gnb__link, .r2-gnb__sublink, .r2-menu button, .r2-pref, .r2-profile { transition: background-color var(--motion-fast) var(--ease-out); }
}
.r2-gnb [aria-expanded="true"] > svg:only-child, .r2-gnb__opener[aria-expanded="true"] .r2-gnb__chev svg, .r2-profile[aria-expanded="true"] .r2-profile__chev svg { transform: rotate(90deg); }
/* 펼친 묶음 — 종이 바탕 + 1px 테두리(안쪽, 자식 위에 그림) */
/* 펼친 묶음 상자 = 종이 바탕 + 옅은 테 — 탐색 · 시세 · 고객지원 · 언어 · 표시 통화 · 계정 모두 같은 상자(대표 11-16 「펼쳤을 때 색 채우는 방식이 제각각」).
   여백 1px 은 늘 두어 펼칠 때 줄이 1px 튀지 않게, 테는 투명도로 나타나고 사라진다(움직임 = 아래 no-preference 묶음) */
.r2-gnb__group { position: relative; padding: 1px; border-radius: 8px; }
.r2-gnb__group.is-open { background: var(--color-paper); }
.r2-gnb__group::after { content: ""; position: absolute; inset: 0; border: 1px solid #8cbfad99; border-radius: 8px; pointer-events: none; opacity: 0; }
.r2-gnb__group.is-open::after { opacity: 1; }
.r2-gnb__group > .r2-gnb__row .r2-gnb__link, .r2-gnb__group .r2-pref { padding-left: 11px; }
.r2-gnb__group > .r2-menu { padding: 2px 10px 10px; border: 0; border-radius: 0; background: none; }   /* 언어 · 표시 통화 목록도 묶음 상자 안 하위 줄(따로 테 두른 상자 없이) */
.r2-gnb__group > .r2-menu button { padding-left: 32px; }
.r2-gnb__subs { display: flex; flex-direction: column; gap: 2px; }
.r2-gnb__sub { padding: 6px 10px 10px; }
.r2-gnb__sublink { display: flex; align-items: center; min-height: 40px; padding: 0 8px 0 32px; border-radius: 6px; color: var(--gnb-ink); font: 400 14px/1.5 var(--font-sans); text-decoration: none; }
/* 지금 쪽 — 「지금 쪽 바탕」 gnb/selected + color/selected-line 1px */
/* 지금 쪽 표시 = 줄 안의 빈 층(.r2-gnb__hl, gnb.html) 하나만 r2-now — 글자 · 아이콘은 GNB(r2-side) 장면에 남고 표시 층만 미끄러진다(11-16 대표 「뚝뚝 끊긴다」:
   예전엔 줄 통째가 r2-now 라 글자까지 같이 움직이며 겹쳐 보였다). 펼친 묶음은 하위 항목만 표시(묶음 줄에는 층이 없다). aria-current · is-current 를 붙이는 곳(인라인 · common.js · 쪽 스크립트)은 그대로 */
.r2-gnb__row, .r2-gnb__subs > li { position: relative; isolation: isolate; }   /* 하위 줄 = .r2-gnb__subs 의 li(탐색은 div.r2-gnb__sub 안에 고르기 칸 + ul.r2-gnb__subs — 11-16 「서브 메뉴 표기가 안 됨」 고침) */
.r2-gnb__hl { position: absolute; inset: 0; z-index: -1; display: none; border-radius: 6px; background: var(--gnb-selected); box-shadow: inset 0 0 0 1px var(--color-selected-line); pointer-events: none; }
li.r2-gnb__row.is-current > .r2-gnb__hl, .r2-gnb__subs > li:has(> .r2-gnb__sublink[aria-current="page"]) > .r2-gnb__hl,
.r2-gnb__group:not(.is-open) > .r2-gnb__row.is-current > .r2-gnb__hl { display: block; view-transition-name: r2-now; }   /* 묶음을 닫으면 지금 쪽 표시가 묶음 줄로(접힌 하위 대신) — 다른 메뉴로 갈 때 여기서 미끄러져 나간다 */
/* 고른 것 · 마우스 올림 = GNB 안 한 규칙: 고른 것(지금 쪽 · 지금 언어 · 통화) = 민트 바탕 + 선 1px + 둥글기 6 + 굵기 500, 올림 = 옅은 민트(같은 둥글기) */
.r2-gnb__sublink[aria-current="page"] { font-weight: 500; }
.r2-gnb__group.is-open > .r2-gnb__row.is-current { border-radius: 6px; background: var(--gnb-hover); }   /* 펼친 묶음 안이 지금 쪽 = 머리 옅은 민트(위 단계) + 하위 진한 표시(미끄러지는 층) — 닫히면 머리가 진한 표시 */
@media (hover: hover) {
  .r2-gnb__link:not([aria-current]):hover, .r2-gnb__sublink:not([aria-current]):hover, .r2-menu button:not([aria-current="true"]):hover, .r2-pref:hover, .r2-profile:hover { background: var(--gnb-hover); }
}

/* 게임 · 언어판 — 「공통 / 드롭다운 트리거」 Plain + 「공통 / 체크 선택」 */
.r2-gnb__picks { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; padding-left: 28px; }
.r2-pick, .r2-pref { display: flex; align-items: center; gap: 4px; width: 100%; min-height: 36px; padding: 0 4px; border: 0; border-radius: var(--component-field-radius); background: none; color: var(--color-ink); font: var(--text-body); text-align: left; cursor: pointer; }
.r2-pick__val { flex: 1; min-width: 0; overflow: hidden; color: var(--color-muted); text-align: right; white-space: nowrap; text-overflow: ellipsis; }
.r2-pref .r2-pick__val { flex: none; }   /* 언어 · 표시 통화 값(한국어 · USD …)은 줄이지 않는다 — 라벨이 긴 en 에서 「USD」가 「U…」로 잘리던 것(11-16) */
.r2-caret { flex: none; width: 16px; height: 16px; }
[aria-expanded="true"] > .r2-caret { transform: rotate(180deg); }
.r2-checks { display: flex; flex-direction: column; gap: 4px; }
.r2-check { position: relative; display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 4px; color: var(--component-choice-text); font: var(--text-body); cursor: pointer; }
.r2-check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
/* 「공통 / 라디오」(Figma 00-1 GNB 판 · 대표 11-15 「다중 선택이 되는 기능이 아니자나」) — 20 원 테두리 · 고르면 가운데 8 점. 게임 · 언어판 모두 하나만 */
.r2-check__box { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--color-paper); box-shadow: inset 0 0 0 1.5px var(--base-border-strong); }
.r2-check__box svg { display: none; }
.r2-check__box::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-ink); transform: scale(0); }
.r2-check input:checked + .r2-check__box { box-shadow: inset 0 0 0 1.5px var(--color-primary); }
.r2-check input:checked + .r2-check__box::after { transform: scale(1); }
@media (prefers-reduced-motion: no-preference) { .r2-check__box::after { transition: transform var(--motion-fast) var(--ease-out); } }
.r2-check input:focus-visible + .r2-check__box { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* 언어 · 표시 통화 — 「아이콘 줄」 + 「공용 패널」 */
.r2-pref { min-height: 44px; padding: 0 16px 0 12px; border-radius: 6px; }
.r2-pref .r2-ico { margin-right: 6px; }
.r2-menu { margin: 0; padding: 4px; border: 1px solid #8cbfad99; border-radius: 8px; background: var(--color-paper); }
.r2-menu button { display: flex; align-items: center; width: 100%; min-height: 40px; padding: 0 12px 0 24px; border: 0; border-radius: 6px; background: none; color: var(--color-ink); font: 400 14px/1.214 var(--font-sans); text-align: left; cursor: pointer; }
.r2-menu button[aria-current="true"] { background: var(--gnb-selected); box-shadow: inset 0 0 0 1px var(--color-selected-line); color: var(--gnb-ink); font-weight: 500; }

/* 로그인 — 「공통 / 버튼」 Outline(Default · Hover · Pressed · Focus) */
.r2-login { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--size-control-height); padding: 0 var(--space-16); border-radius: var(--radius-control); background: var(--color-paper); box-shadow: inset 0 0 0 1.5px var(--color-accent); color: var(--color-accent); font: var(--text-button); text-decoration: none; }
.r2-login:hover { box-shadow: inset 0 0 0 2px var(--color-accent); }
.r2-login:active { background: #ecf0e7; box-shadow: inset 0 0 0 2px var(--color-accent); color: var(--color-ink); }
.r2 .r2-login:focus-visible { outline: 0; box-shadow: inset 0 0 0 3px var(--color-accent); }

/* 계정 — 「공통 / 사용자 / 프로필 트리거」 */
.r2-profile { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 0 0 12px; border: 0; border-radius: 6px; background: none; color: var(--gnb-ink); font: 500 14px/1.5 var(--font-sans); text-align: left; cursor: pointer; }
.r2-gnb__group .r2-profile { padding-left: 11px; }
.r2-avatar { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--color-border); color: var(--color-ink); font: 500 13px/1.231 var(--font-sans); }
.is-paid .r2-avatar { border: 2px solid transparent; box-shadow: none; background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from 90deg, #ff6b9a, #ffd36b 25%, #6be3a8 50%, #6bb8ff 75%, #b98bff) border-box; }   /* Paid = 홀로 테두리 */
.r2-profile__name { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.r2-profile__chev { flex: none; display: grid; place-items: center; width: 44px; height: 44px; }

/* PC — 왼쪽 GNB 240 */
@media (min-width: 1024px) {
  body.r2 { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; }
  .r2-mhead, .r2-only-m { display: none !important; }
  .r2-side { position: relative; align-self: stretch; background: var(--gnb-paper); box-shadow: inset -.8px 0 0 var(--gnb-line); view-transition-name: r2-side; }   /* 쪽 바꿈 때 GNB(사이드)는 제자리 */   /* 오른쪽 선(안쪽 0.8) — 폭을 줄이지 않게 그림자로 */
  .r2-side::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--texture-paper) 0 0 / var(--texture-paper-size); opacity: .12; }   /* 재질 12% */
  .r2-gnb { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: space-between; height: 100vh; height: 100dvh; padding-bottom: 16px; overflow-y: auto; }
  .r2-gnb__top { display: flex; flex-direction: column; gap: 12px; }
  .r2-gnb__brand { display: flex; align-items: center; justify-content: center; flex: none; height: 80px; }
  .r2-gnb__top > .r2-gnb__list { margin: 0 20px; padding-bottom: 24px; }   /* 「자주 쓰는 기능과 보조 메뉴 사이」 22 + 2 */
  .r2-gnb__bottom { display: flex; flex-direction: column; gap: 12px; margin: 0 20px; }
  .r2-gnb__rule { margin: 0 -20px; }
}
.r2-gnb__rule { height: 1px; border: 0; background: var(--color-border); }
.r2-gnb__bottom > hr { margin-block: 0; }

/* 모바일 — 머리 + 메뉴(머리 아래 오른쪽 서랍) */
@media (max-width: 1023.98px) {
  .r2-only-pc, .r2-gnb__brand, .r2-pagehead { display: none !important; }
  /* 메뉴 = 오른쪽 서랍(대표 11-16 「오른쪽에서 왼쪽으로 스르륵 나타나면서 화면을 3/4 정도 덮는 모달」) — 머리 아래 폭 75%, 왼쪽 나머지는 어둑한 막(누르면 닫힘 · common.js).
     닫혀 있을 땐 화면 오른쪽 밖 + visibility hidden(초점 · 읽기에서 빠짐). 들어옴 = enter 감속 · 나감 = exit 가속, 움직임 줄이기면 바로 */
  .r2-gnb { position: fixed; top: 70px; right: 0; bottom: 0; z-index: 19; display: flex; flex-direction: column; gap: 16px; width: 75%; padding: 24px 12px; overflow-y: auto; background: var(--color-page); box-shadow: -1px 0 0 #e1e8e2, -16px 0 40px rgb(23 33 28 / .16); overscroll-behavior: contain; visibility: hidden; transform: translateX(100%); }
  .r2-menu-open { overflow: hidden; }
  .r2-menu-open .r2-gnb { visibility: visible; transform: none; }
  .r2-side::after { content: ""; position: fixed; inset: 70px 0 0; z-index: 18; background: rgb(23 33 28 / .36); opacity: 0; visibility: hidden; }
  .r2-menu-open .r2-side::after { opacity: 1; visibility: visible; }
  .r2-gnb__bottom { display: flex; flex-direction: column; gap: 16px; }
  .r2-gnb__rule { margin-inline: 0; }   /* Figma 모바일 메뉴 「구분선 · 주 메뉴와 아래 영역」 · 「구분선 · 계정」 1px color/border 메뉴 폭(위아래 = 간격 16) — hr 기본 margin auto 가 세로 flex 에서 폭을 0 으로 만들어 안 보였다 */
  .r2-gnb__row, .r2-gnb__link { min-height: 46px; }
  .r2-gnb__link { gap: 12px; padding: 0 16px; }
  .r2-gnb__group > .r2-gnb__row .r2-gnb__link, .r2-gnb__group .r2-pref { padding-left: 15px; }
  .r2-gnb__chev, .r2-profile__chev { height: 46px; }
  .r2-gnb__sublink { min-height: 44px; }
  #r2-sub-price > li:first-child > .r2-gnb__sublink, #r2-sub-support > li:first-child > .r2-gnb__sublink { min-height: 56px; }   /* Figma 모바일 메뉴 로그인 전 · 후(2956:234119 · 2956:233426) 「시세 · 2단 메뉴」 첫 줄 56 · 다음 줄 44 — 포켓몬 → 원피스 글자 사이 52 · 「고객지원」 첫 줄(공지사항)도 56(W10 같은 판 판독) */
  .r2-pick, .r2-check { min-height: 44px; }
  .r2-gnb__picks { gap: 4px; }
  .r2-pref { padding-left: 16px; }
  .r2-pref .r2-ico { margin-right: 8px; }
  .r2-menu button { gap: 12px; min-height: 60px; padding-left: 28px; font: 500 16px/1.5 var(--font-sans); }   /* 서랍 언어 · 표시 통화 고르기 줄 60 · 16 · 동그란 라디오 22(테 2 · 안 점 10 · 120ms 교차 · 글 뒤 오른쪽 끝 — 1.0.27 과 같이, git-2e 11-18) — 1.0.27 되살림 DM-08 · 대표 승인 11-18 */
  .r2-menu button::before { content: ""; order: 1; margin-left: auto; flex: none; box-sizing: border-box; width: 22px; height: 22px; border: 2px solid var(--base-border-strong); border-radius: 50%; background: radial-gradient(circle, var(--color-accent) 4.5px, transparent 5px) center / 0 0 no-repeat; transition: background-size 120ms var(--ease-out), border-color 120ms var(--ease-out); }
  .r2-menu button[aria-current="true"]::before { border-color: var(--color-accent); background-size: 100% 100%; }
  .r2-profile { min-height: 44px; padding-left: 16px; }
  .r2-gnb__group .r2-profile { padding-left: 15px; }
  .r2-gnb__account .r2-gnb__row, .r2-gnb__account .r2-profile__chev { min-height: 44px; height: 44px; }
  .r2-main { padding: 12px; }
}
@media (max-width: 1023.98px) and (prefers-reduced-motion: no-preference) {
  .r2-gnb, .r2-side::after { transition: transform var(--motion-exit) var(--ease-exit), opacity var(--motion-exit) var(--ease-exit), visibility 0s linear var(--motion-exit); }
  .r2-menu-open .r2-gnb, .r2-menu-open .r2-side::after { transition: transform var(--motion-enter) var(--ease-enter), opacity var(--motion-enter) var(--ease-enter); }
  /* 서랍 안 항목 = 위 → 아래 차례로 오른쪽에서 살짝(--i = common.js 가 매긴 차례, 9번째부터는 같이) */
  .r2-menu-open .r2-gnb__step { animation: r2-drawer-step var(--motion-enter) var(--ease-enter) calc(80ms + min(var(--i, 0), 9) * var(--motion-stagger)) both; }
}
@keyframes r2-drawer-step { from { opacity: 0; transform: translateX(24px); } }

/* ── 바닥 줄 「공통 / 바닥 줄」 ────────────────────────── */
/* 그림 자리 표시 공용 — 그림이 오기 전 칸 = 옅은 종이 판 + SnapHolo 심볼 반투명(tokens --ph-card · --ph-pack, 대표 11-16).
   쓰는 법: 그림 칸에 class="r2-ph"(카드 비율) · "r2-ph r2-ph--pack"(팩 · 박스 비율) — 칸 크기에 맞춰 가운데(팩은 아래) 「contain」.
   그림이 오면 그 그림이 덮는다. 차례 등장(r2-motion-fx R2Reveal)과 이으면 그 칸이 rv-on 될 때 판이 아래로 스르륵 미끄러지며 옅어지고(.r2-ph 를 떼고 같은 모습 층으로 벗김)
   그림이 그 위로 들어온다 — 칸은 position 이 있어야 한다. 다른 등장 코드는 R2Reveal.peel(칸, 지연ms) 를 직접 불러도 된다. 움직임 줄이기면 옅어지기만 */
.r2-ph { background: var(--ph-card) center / contain no-repeat; }
.r2-ph.r2-ph--pack { background-image: var(--ph-pack); background-position: center bottom; }   /* .r2-ph 와 함께만 — 혼자 남으면 그림이 앉은 뒤에도 팩 자리 그림이 뒤에 남아 「유리 칸」처럼 보였다(parity C movers 5) */
.r2-foot { display: flex; flex-direction: column; gap: 16px; padding: 32px 0 24px; color: var(--color-muted); }
.r2-foot::before { content: ""; height: 1px; background: var(--color-border); }
.r2-foot a { color: inherit; text-decoration: none; }
.r2-foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.r2-foot__group { display: flex; flex-direction: column; gap: 4px; }
.r2-foot__h { margin: 0; color: var(--color-ink); font: 500 14px/1.429 var(--font-sans); }
.r2-foot__links a { display: inline-flex; align-items: center; min-height: 32px; font: 400 14px/2.286 var(--font-sans); }
.r2-foot__sns { display: flex; flex-wrap: wrap; }
.r2-foot__sns a { display: flex; align-items: center; width: 44px; height: 44px; color: var(--color-muted); }
.r2-foot__sns svg { width: 18px; height: 18px; fill: currentColor; }
.r2-foot__notice { max-width: 720px; margin: 0; font: 400 12px/1.333 var(--font-sans); letter-spacing: var(--tracking-sub); }
.r2-foot__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; min-height: 109px; padding-top: 8px; border-top: 1px solid var(--color-border); font: 400 12px/2.667 var(--font-sans); letter-spacing: var(--tracking-sub); }
.r2-foot__lang { display: inline-flex; gap: 12px; margin-left: auto; }
.r2-foot__lang a[aria-current] { color: var(--color-ink); font-weight: 500; }
@media (min-width: 1024px) {
  .r2-foot .r2-only-m { display: none; }
}
@media (max-width: 1023.98px) {
  .r2-foot { gap: 4px; padding: 8px 0; }
  .r2-foot .r2-only-pc { display: none; }
  .r2-foot__cols { grid-template-columns: repeat(3, auto) 1fr; column-gap: 20px; row-gap: 4px; }
  .r2-foot__group { display: contents; }
  .r2-foot__h { grid-row: 1; font: 500 12px/1.333 var(--font-sans); }
  .r2-foot__h button { display: flex; align-items: center; gap: 4px; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
  .r2-foot__h svg { width: 18px; height: 18px; }
  .r2-foot__h [aria-expanded="true"] svg { transform: rotate(180deg); }
  .r2-foot__links { display: none; grid-row: 2; grid-column: 1 / -1; padding: 6px 0; }
  .r2-foot__links.is-open { display: block; }
  .r2-foot__links li { height: 32px; }
  .r2-foot__links a { min-height: 44px; margin: -6px 0; }
  .r2-foot__bottom { gap: 0 12px; min-height: 0; padding: 0; border: 0; }
  .r2-foot__lang { gap: 8px; margin-left: 0; }
}

/* 화면 간격 통일(대표 11-16 「모든 화면에서 컬렉션 페이지에 있는 간격 여백들로」 · 관제 a) — 쪽 제목 줄 = 컬렉션 88 · 제목 Bold 28 */
.r2-pagehead { height: 88px; }
.r2-pagehead h1 { font: var(--text-page-title-pc); }
/* 왼쪽 아래 언어 · 통화 = 아이콘 + 값만(대표 11-17 「"언어", "통화" 문구는 지우고 아이콘만」). 이름표는 펼침 목록의 aria-labelledby 라 화면에서만 숨긴다 */
.r2-pref > span[id^="r2-l-"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.r2-pref .r2-pick__val { flex: 1; color: var(--color-ink); text-align: left; }
/* 접고 펴는 칸 = 전 화면 같은 움직임 — 높이가 스르륵(--motion-ui) · 화살표 회전. 카드 상세 FAQ 에만 있고 세트 시세 순위 · 캐릭터 · 판 · 홈 · 스캔 · 고객지원 · 초대는 뚝 열렸다(대표 핀 20261117-110815).
   Holo Pass 요금 펼침(.hp-more)은 r2-pro.js 가 따로 움직인다 */
.r2 details:not(.hp-more) { interpolate-size: allow-keywords; }
.r2 details:not(.hp-more)::details-content { block-size: 0; overflow: hidden; transition: block-size var(--motion-ui) var(--ease-enter), content-visibility var(--motion-ui) allow-discrete; }
.r2 details:not(.hp-more)[open]::details-content { block-size: auto; }
.r2 details > summary svg, .r2 details > summary .mi-chev, .r2 .catalog-question-caret { transition: transform var(--motion-ui) var(--ease-enter); }
@media (prefers-reduced-motion: reduce) { .r2 details::details-content, .r2 details > summary svg, .r2 details > summary .mi-chev { transition: none; } }
/* 커뮤니티 — 카드 상세(시세 표 아래 · 원문 보기) · 시세 페이지(오늘 움직인 카드 아래 · 누르면 그 카드 상세). r2pages/community.py · 대표 11-17 시안 답:
   요약 없음 · 글 한 줄에 하나 · 작은 「글 더 보기」. 판 = 종이 판(라운드 7 · 안쪽 24/16) */
.cm { display: flex; flex-direction: column; }
.cm-head + :is(.cm-post, .cm-row) { padding-top: 0; }   /* 판 안 제목(.r2-panel__head) 아래 12 가 첫 줄 위 여백 */
.cm-demo { color: var(--base-warn, #b3541e); font: 400 12px/1.5 var(--font-sans); letter-spacing: var(--tracking-sub); }

/* 자주 묻는 질문 — 전 화면 한 벌(deploy/beta/faq_r2.py · r2-help.js · 대표 11-17 「통일해라」 · 「판이 있으면 다 판 안에 제목」).
   종이 판 하나 = 제목(판 안 맨 위 · 공용 판 제목 .r2-panel__title/.r2-panel__head — git-ac) + 질문 줄들(위아래 12 · 사이 구분선) · 판 안쪽 --pad-surface · 첫 질문 펼침 · 꺾쇠 · 답은 점선 아래 */
.r2-faq { position: relative; isolation: isolate; padding: var(--pad-surface) var(--pad-surface) calc(var(--pad-surface) - 12px); border-radius: var(--radius-panel); background: var(--color-paper); box-shadow: inset 0 0 0 .6px var(--color-border), 0 3px 7px #40331f1f; }
.r2-faq:not(:has(> .r2-panel__head)) { padding-top: calc(var(--pad-surface) - 12px); }   /* 제목 없는 판(고객지원 FAQ 쪽 — 쪽 제목이 h1) — 첫 질문 글자가 판 안쪽 선에 */
.r2-faq > .r2-panel__head { margin-bottom: var(--gap-block); }   /* 제목 → 첫 질문 12 — 홈 · 스캔 · 카드 · 시세 쪽의 「h2 여백 0」 규칙(.sc h2 등)이 공용 판 제목 아래 12 를 덮어 0 이 되던 것 */
.r2-faq__list { display: flex; flex-direction: column; }
.r2-faq__list > * + * { border-top: 1px solid var(--color-border); }
.r2-faq__list details { interpolate-size: allow-keywords; }
.r2-faq__list summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 12px 0; color: var(--color-ink); list-style: none; cursor: pointer; }
.r2-faq__list summary::-webkit-details-marker { display: none; }
.r2-faq__list summary h3 { flex: 1; min-width: 0; margin: 0; font: 500 14px/1.429 var(--font-sans); }
.r2-faq__caret { flex: none; color: var(--color-muted); }
.r2-faq__list details[open] > summary h3 { font-weight: 700; }
.r2-faq__list details[open] > summary .r2-faq__caret { transform: rotate(180deg); }
.r2-faq__list details > p { margin: 0; padding: 0 0 14px; color: var(--color-ink); font: 400 14px/1.5 var(--font-sans); }   /* 답 = 질문 바로 아래 · 본문색(Figma 08-2 · parity faq 1~6 — 점선 · 회색 뺌) */
.r2-faq__list details > :not(summary, p) { margin-bottom: 14px; }   /* 세트 상세 「카드별 시세」 표 */
.r2-faq__list summary:focus-visible { outline: 3px solid var(--color-accent); outline-offset: -3px; border-radius: 8px; }
@media (hover: hover) { .r2-faq__list summary:hover h3 { color: var(--color-ink); } }   /* 글자용 진한 민트(대비 4.5 이상) */
@media (prefers-reduced-motion: no-preference) {
  .r2-faq__caret { transition: transform var(--motion-ui) var(--ease-enter); }
  .r2-faq__list details::details-content { block-size: 0; overflow: hidden; transition: block-size var(--motion-ui) var(--ease-enter), content-visibility var(--motion-ui) allow-discrete; }
  .r2-faq__list details[open]::details-content { block-size: auto; }
}
.cm-post { display: grid; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--color-border); }   /* 항목 ≈ 74(시안 03-2 · parity C card 6) */
.cm-who { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--color-muted); font: 400 13px/1.3 var(--font-sans); letter-spacing: var(--tracking-sub); }
.cm-who b { overflow: hidden; color: var(--color-ink); font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.cm-who span { white-space: nowrap; }
.cm-who a, .cm-go { flex: none; color: #0a6159; font: 500 13px/1.4 var(--font-sans); text-decoration: none; white-space: nowrap; }
.cm-who a { margin-left: auto; }
.cm-plat { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #16191a; color: #fff; font: 700 10px/1 var(--font-sans); }
.cm-plat--th { background: var(--color-paper); color: #16191a; box-shadow: inset 0 0 0 1.5px #16191a; }
.cm-text { margin: 0; color: var(--color-ink); font: 400 15px/1.6 var(--font-sans); }
.cm-foot { display: flex; justify-content: flex-end; }
.cm-panel:not(.is-all) > :is(.cm-post, .cm-row):nth-of-type(n + 5) { display: none; }
.cm-panel > :is(.cm-post, .cm-row):last-of-type, .cm-panel:not(.is-all) > :is(.cm-post, .cm-row):nth-of-type(4) { border-bottom: 0; }   /* 보이는 마지막 줄 아래 선 없음(parity C card 14) */   /* 처음 4줄 · 「글 더 보기」로 나머지 */
@media (min-width: 1024px) { .cm:not(:has(> .cm-panel > :is(.cm-post, .cm-row):nth-of-type(5))) > .cm-foot { display: none; } }   /* PC 에서 4줄 이하면 펼 게 없다(폰은 3줄이라 단추 필요) */
.cm-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--color-border); color: inherit; text-decoration: none; }
.cm-thumb img { display: block; width: 44px; height: 62px; border-radius: 3px; object-fit: cover; box-shadow: 0 1px 2px #0000002e; }
.cm-mid { display: grid; gap: 4px; min-width: 0; }
.cm-card { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.cm-card strong { overflow: hidden; color: var(--color-ink); font: 500 14px/1.35 var(--font-sans); text-overflow: ellipsis; white-space: nowrap; }
.cm-card em { font: 500 12px/1 var(--font-sans); font-style: normal; white-space: nowrap; }
.cm-card em.up { color: var(--color-rise); } .cm-card em.down { color: var(--color-fall); }
.cm-row .cm-text { display: -webkit-box; overflow: hidden; font-size: 14px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cm-by { color: var(--color-muted); font: 400 12px/1.3 var(--font-sans); letter-spacing: var(--tracking-sub); }
.cm-row:hover strong { text-decoration: underline; }
.r2 .cm a:focus-visible, .r2 a.cm-row:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
@media (max-width: 1023.98px) {
  .cm-panel:not(.is-all) > :is(.cm-post, .cm-row):nth-of-type(n + 4) { display: none; }
  .cm-panel:not(.is-all) > :is(.cm-post, .cm-row):nth-of-type(3) { border-bottom: 0; }
  .cm-post { padding: 14px 0; } .cm-text { font-size: 14px; }
  .cm-row { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; } .cm-thumb img { width: 40px; height: 56px; } .cm-go { display: none; }
}

/* ══ R2 공통 부품 — 규칙 정본 docs/design/ds-bundle/guide/r2-common-parts.md · Figma 「00 공통 디자인 시스템」과 같은 이름 · 같은 값 ══
   예외 없음(대표 11-17 「왜 이렇게 예외 규칙이랑 다 따로따로 놀아」): 모든 구역 = .r2-panel(종이 판) + .r2-panel__head(판 안 제목 줄) + 내용.
   화면 CSS 에 같은 모양을 다시 쓰지 않는다 — 크기 · 색 · 간격은 여기와 tokens.css 에서만. */
:root { --panel-title-lh: 26px; --font-panel-title: 700 20px/1.3 var(--font-sans);   /* --panel-title-lh = 제목 줄 상자 높이(px, 뼈대 · 머리 줄 최소 높이) */
  --panel-line: #ded9cd; --panel-shadow: inset 0 0 0 .6px var(--panel-line), 0 3px 7px #40331f1f;   /* Figma 00 「종이 판」(3068:163187) — 둥글기만 7(대표 11-16 컬렉션 기준) */
  --seg-bg: var(--color-track); --seg-ink: var(--color-text-soft); --seg-on: var(--color-paper); --link-ink: var(--color-ink); }
@media (max-width: 1023.98px) { :root { --panel-title-lh: 24px; } }

/* 1 종이 판 — 바탕 · 둥글기 7 · 안쪽 0.6px #ded9cd 선 + 그림자 0 3 7 12% · 안쪽 --pad-surface(PC 24 · 폰 16)
   판 안 줄을 세로로 쌓을 때 = .r2-panel--stack(gap 12 · 머리 아래 여백은 gap 이 대신) — 화면 CSS 에서 판에 gap 을 따로 주지 않는다
   판 안 테두리 칸 = .r2-cell(1px 선 · 둥글기 7 · 안쪽 12/16) */
.r2-panel { position: relative; min-width: 0; padding: var(--pad-surface); border-radius: var(--radius-panel); background: var(--color-paper); box-shadow: var(--panel-shadow); }
.r2-panel--stack { display: flex; flex-direction: column; gap: var(--gap-block); }
.r2-panel.r2-panel--stack > .r2-panel__head { margin-bottom: 0; }   /* h2 한 줄 머리(.r2-panel__title.r2-panel__head)보다 세게 — gap 12 만 */
.r2-panel.r2-panel--list { padding: 8px calc(var(--pad-surface) - 12px); }   /* 목록 판: 줄 안쪽 12 + 이 값 = 줄 글자 x 가 판 안쪽 선(24/16) */
.r2-cell { padding: 12px 16px; border-radius: var(--radius-panel); box-shadow: inset 0 0 0 1px var(--color-border); }

/* 2 판 머리 — 판 맨 위 안쪽: x · y = --pad-surface · 제목 PC 700 20/26 · 폰 700 18/24 · 줄 높이 = 글자 높이 · 제목 → 탭/내용 12(Figma 00 · git-3c 11-17).
   오른쪽 「전체 보기 ›」 · 탭이 있는 판만 줄 높이 44(제목 세로 가운데). 폰 = 탭은 제목 아래 줄, 판 폭에 꽉 */
.r2-panel__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-height: var(--panel-title-lh); margin: 0 0 var(--gap-block); }
.r2-panel__title { margin: 0; color: var(--color-ink); font: var(--font-panel-title); letter-spacing: var(--tracking-panel-title); }
@media (max-width: 1023.98px) { .r2-panel__title { font-size: 18px; } }
.r2-panel__title.r2-panel__head { margin: 0 0 var(--gap-block); }
.r2-panel__head:last-child { margin-bottom: 0; }   /* 제목 줄만 있는 판(Holo Pass 1024 등) — 아래 12 가 남아 판 위 · 아래가 24 / 36 이던 것(git-ac 감사 11-17) */
.r2-panel__title--hero { font: 700 28px/1.25 var(--font-sans); letter-spacing: var(--tracking-page-title); }   /* 랜딩 헤드라인(스캔 · 로그인 랜딩만) — 자리는 판 제목 그대로 · 크기 하나 */
@media (max-width: 1023.98px) { .r2-panel__title--hero { font-size: 22px; } }   /* 오른쪽 것 없는 판 = h2 하나가 제목 줄 */
.r2-panel__head > :is(a, button, [role="group"], nav) { margin-left: auto; }
.r2-panel__head:has(> :is(a, button, [role="group"], nav)) { min-height: 44px; }
@media (max-width: 1023.98px) { .r2-panel__head > [role="group"] { flex: 1 0 100%; width: 100%; margin-left: 0; } }
.r2-panel__meta { color: var(--color-muted); font: 400 14px/1.429 var(--font-sans); }   /* 제목 옆 작은 글(세트 이름 · 개수) */

/* 3 탭(세그먼트) — 높이 44 · 안쪽 3 · 둥글기 8 · 칸 38 · 둥글기 5 · 400 14/20 · 고른 칸 = 밝은 바탕 + 500 잉크 */
.r2-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(max-content, 1fr); min-width: 0; max-width: 100%; overflow-x: auto; box-sizing: border-box; height: 44px; padding: 3px; border-radius: var(--radius-control); background: var(--seg-bg); box-shadow: inset 0 1px 2px #1f382b0e; }   /* 칸 폭 = 모두 같게(가장 긴 칸 · 넓으면 나눠 가짐 · 좁으면 묶음 안에서 가로로 밀어 봄) — 대표 11-17 「단추 줄의 단추 폭 같게」(감사 ⑨). 스토리 주제 칩(.st-chips)도 이 규칙 그대로 한 줄(관제 11-18) */
.r2-seg > :is(button, a) { flex: 1 0 auto; display: grid; place-items: center; height: 38px; padding: 0 12px; border: 0; border-radius: 5px; background: none; color: var(--seg-ink); font: 400 14px/1.429 var(--font-sans); text-decoration: none; white-space: nowrap; cursor: pointer; }
.r2-seg > :is([aria-pressed="true"], [aria-current], [aria-selected="true"]) { background: var(--seg-on); box-shadow: inset 0 0 0 .6px #cfd6c9b2, 0 1px 2px #1c33261a; color: var(--color-ink); font-weight: 500; }
.r2-seg > :disabled { cursor: not-allowed; opacity: .45; }
.r2 .r2-seg > :focus-visible { outline: 3px solid var(--color-accent); outline-offset: 1px; }

/* 4 전체 보기 › — 400 13/20 글자용 민트 · 꺾쇠 16 · 누르는 칸 44 */
.r2-more { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--link-ink) !important; font: 400 13px/1.538 var(--font-sans); letter-spacing: var(--tracking-sub); text-decoration: none; white-space: nowrap; cursor: pointer; }
.r2-more > svg { flex: none; width: 16px; height: 16px; }
@media (hover: hover) { .r2-more:hover > span:first-child { text-decoration: underline; text-decoration-color: rgba(27, 211, 206, .8); } }
.r2 .r2-more:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: var(--radius-control); }

/* 5 단추 — 높이 44 · 둥글기 8 · 700 14 · 좌우 16 · 주 = 민트 바탕 · 외곽선 = 종이 + 1.5px 민트 · 보조 = 종이 + 1px 선 */
.r2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--radius-control); font: var(--text-button); letter-spacing: var(--tracking-label); text-decoration: none; white-space: nowrap; cursor: pointer; }
.r2-btn--primary { background: var(--color-primary); box-shadow: inset 0 0 0 1px #12b3ae, var(--shadow-control); color: #fff; font-weight: 700; }   /* X-ACCENT(대표 승인 11-18): 진한 민트 + 흰 글자 700(예전 앱) */
.r2-btn--outline { background: var(--color-paper); box-shadow: inset 0 0 0 1.5px var(--color-primary); color: var(--color-ink); }
.r2-btn--secondary { background: var(--color-paper); box-shadow: inset 0 0 0 1px var(--color-border), var(--shadow-control); color: var(--color-ink); }
.r2-btn--danger { background: var(--color-danger); box-shadow: var(--shadow-control); color: var(--color-paper); }   /* 되돌릴 수 없는 행동(탈퇴 · 삭제)만 */
@media (hover: hover) { .r2-btn--danger:hover { background: #a2353b; } }
.r2-btn--icon { width: 44px; padding: 0; }
.r2-btn--secondary[aria-expanded="true"] { box-shadow: inset 0 0 0 1px var(--color-primary), var(--shadow-control); }   /* 펼친 창의 단추(필터 · 정렬) */
.r2-btn--secondary:not(:disabled):active { background: var(--color-track); }   /* 아이콘만 있는 단추(이름은 aria-label) — 모양은 kind 와 같이 */
.r2-btn:disabled, .r2-btn[aria-disabled="true"] { cursor: not-allowed; opacity: .45; box-shadow: none; }   /* 막힌 단추 = 흐림 · 그림자 없음 */
.r2 .r2-btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* 6 접기 줄 — 높이 44 · 좌우 12 · 500 14/20 · 오른쪽 꺾쇠 18(열리면 뒤집힘) */
.r2-fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 0 12px; color: var(--color-ink); font: 500 14px/1.429 var(--font-sans); list-style: none; cursor: pointer; }
.r2-fold > summary::-webkit-details-marker { display: none; }
.r2-fold > summary svg { flex: none; width: 18px; height: 18px; color: var(--color-muted); transition: transform var(--motion-ui) var(--ease-enter); }
.r2-fold[open] > summary svg { transform: rotate(180deg); }
/* 판 하나 = 접기 줄 하나(.r2-panel.r2-fold) — 글자 x = 판 안쪽 선, 줄 위아래 12, 펼치면 아래 안쪽 --pad-surface */
.r2-panel.r2-fold { padding-block: 0; }
.r2-panel.r2-fold > summary { padding: 12px 0; }
.r2-panel.r2-fold[open] { padding-bottom: var(--pad-surface); }

/* 7 빈 상태 — 종이 판 안 가운데 · 위아래 40/32(폰 32/20) · 제목 700 18/26 · 글 14 · 단추는 .r2-btn */
/* 앱 받기(.r2-app · app_r2.py · r2-signin.js · r2-pro.js 같은 마크업) — 시안 B 가운데 축(Figma 「공통 / 앱 받기 판」 3148:318070 · 대표 코멘트 11-17 20:03 「어이가 없네」 · 20:22 · 관제 확정):
   PC = 판 안쪽 40 · 가운데 · 사이 16: 아이콘 72 → 제목 「SnapHolo」 24 → (4) 메인 타이틀 16/26 → QR 96 | (24) | 배지 세로 둘(148 × 44 · 사이 8)
   폰 = 안쪽 24 · 사이 12: 아이콘 56 → 제목 18 → (4) 메인 타이틀 15/22 → 배지 가로 둘(사이 12) · QR 없음.
   마크업(제목 → 메인 타이틀 → 줄[아이콘 · QR · 배지])은 그대로 — 판을 격자로, 줄 상자는 풀어(display: contents) 아이콘을 맨 위로. */
.r2-app { display: grid; grid-template-columns: auto auto; grid-template-areas: "i i" "t t" "g g" "q b"; justify-content: center; justify-items: center; align-items: center; gap: 16px 24px; padding: 40px; text-align: center; }
.r2-app > .r2-panel__title { grid-area: t; min-height: 0; margin: 0; font: var(--text-page-title); letter-spacing: var(--tracking-page-title); }
.r2-app > .r2-app__tag { grid-area: g; margin: -12px 0 0; color: #536960; font: 400 16px/1.625 var(--font-sans); letter-spacing: var(--tracking-body); }   /* 제목 ↔ 메인 타이틀 4(줄 사이 16 − 12) · 색 = 히어로 부제 */
.r2-app__row { display: contents; }
.r2-app__icon { grid-area: i; display: block; width: 72px; height: 72px; border-radius: 16px; box-shadow: 0 1px 2px #2638332b, inset 0 0 0 1px #ffffffcc; }
.r2-app__qr { grid-area: q; display: block; width: 96px; height: 96px; padding: 4px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--color-border); }
/* 스토어 배지(배지가 있는 모든 곳 — 앱 받기 판 · 한도 시트 · Holo Pass 구매 줄 · 로그인) = 둘 다 148 × 44(큰 쪽 기준 · 대표 코멘트 11-17 20:22).
   바탕 상자만 148 로 맞추고 그림은 원래 비율 그대로 가운데(App Store 좌우 약 2.5) — 그림을 늘리지 않는다. */
.r2-app__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.r2-app__badges > :is(a, span) { position: relative; display: block; flex: none; width: 148px; height: 44px; overflow: hidden; border-radius: 6px; background: #000; }
.r2-app__badges img { position: absolute; left: 50%; top: 50%; display: block; width: auto; height: 44px; margin: 0; transform: translate(-50%, -50%); }
.r2-app__badges img[src*="google-play-en"] { height: calc(44px * 192 / 168); }   /* en 그림만 둘레 투명 여백(위아래 12 / 168) — 가운데 두면 글자 상자 = 44 */
.r2-app__badges > :has(> img[src*="/app-store-"]) { border-radius: 5px; box-shadow: inset 0 0 0 1px #a6a6a6; }   /* 앱스토어 = 구글플레이와 같은 148×44 검은 틀 + 같은 회색 테두리 한 줄(구글 배지 틀 #a6a6a6 · 둥근 ≈4.6) — 서버 · 로그인 · Holo Pass · 한도 시트 · 초대 다섯 곳 공통(대표 11-21 「크기가 왜 달라」) */
.r2-app__badges img[src*="/app-store-"] { opacity: 0; }   /* 공식 배지는 자체 테두리가 있어 틀 안에서 선이 겹친다(잘라내면 경계 번짐) — 그림은 투명(대체 글 유지) · 아래 테두리 없는 판을 틀 배경으로 */
.r2-app__badges > :has(> img[src*="/app-store-ko"]) { background: #000 url(/assets/store-badges/app-store-ko-plain.svg) center / auto 44px no-repeat; }
.r2-app__badges > :has(> img[src*="/app-store-en"]) { background: #000 url(/assets/store-badges/app-store-en-plain.svg) center / auto 44px no-repeat; }
.r2-app__badges > :has(> img[src*="/app-store-ja"]) { background: #000 url(/assets/store-badges/app-store-ja-plain.svg) center / auto 44px no-repeat; }
.r2-app__row .r2-app__badges { grid-area: b; flex-direction: column; flex-wrap: nowrap; gap: 8px; }
@media (max-width: 1023.98px) {
  .r2-app { grid-template-columns: auto; grid-template-areas: "i" "t" "g" "b"; gap: 12px; padding: 24px; }
  .r2-app > .r2-panel__title { font: 700 18px/1.3 var(--font-sans); letter-spacing: var(--tracking-panel-title); }
  .r2-app > .r2-app__tag { margin-top: -8px; font-size: 15px; line-height: 1.467; }
  .r2-app__icon { width: 56px; height: 56px; border-radius: 13px; }
  .r2-app__qr { display: none; }
  .r2-app__row .r2-app__badges { flex-direction: row; justify-content: center; gap: 12px; }
}
.r2-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px 24px; text-align: center; }   /* 상태 안내 한 부품(오류 · 빈 상태 · 손님) — 높이 PC 약 204 · 폰 약 188(Figma 공통 / 상태 안내 · parity 2차 G3) */
.r2-empty > h2, .r2-empty > h3 { margin: 0; color: var(--color-ink); font: 700 18px/1.444 var(--font-sans); }
.r2-empty > p { margin: 0; color: var(--color-muted); font: 400 14px/1.5 var(--font-sans); }
.r2-empty > .r2-btn { min-width: 160px; margin-top: 8px; }
.r2-empty__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }   /* 단추 여럿(탐색 「○○ 보기」 등) = 한 줄 묶음 · 모양은 위와 같음 */
.r2-empty__acts .r2-btn { min-width: 160px; }   /* 단추 폭 160 고정(G2) */   /* 문구 → 단추 = 16(Figma 공통 / 상태 안내 · parity notices 1) */
@media (max-width: 1023.98px) { .r2-empty { padding: 24px 16px; } .r2-empty > h2, .r2-empty > h3 { font-size: 17px; line-height: 1.412; } .r2-empty > .r2-btn, .r2-empty__acts { align-self: stretch; } .r2-empty__acts .r2-btn { flex: 1; } }   /* 폰 = 제목 17(Figma 모바일 상태 칸 전부 17 · PC 18, parity 2차 C3) · 판 안쪽 전체 폭 단추(parity notices 3) */   /* 폰 = 판 안쪽 전체 폭 단추(parity notices 3) */
.r2-empty--line { flex-direction: row; justify-content: flex-start; margin: 0; padding: 24px 0; color: var(--color-ink); text-align: start; font: 500 14px/1.429 var(--font-sans); }   /* 한 줄 변형 = 목록 · 판 안 빈 문구(판본 목록 · 시세 · 초대 보상 · 탐색 펼침) — 아이콘 20 + 굵은 14 잉크(Figma 07-1 빈 보상 줄) · 폰도 같은 여백(관제 11-17 「예외 없이 공용 한 부품」) */
.r2-empty--line::before { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12 5.5 5h9L17 12v3.2c0 .44-.36.8-.8.8H3.8a.8.8 0 0 1-.8-.8V12Z'/%3E%3Cpath d='M3 12h4.2l1 1.8h3.6l1-1.8H17'/%3E%3C/svg%3E") center / 20px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12 5.5 5h9L17 12v3.2c0 .44-.36.8-.8.8H3.8a.8.8 0 0 1-.8-.8V12Z'/%3E%3Cpath d='M3 12h4.2l1 1.8h3.6l1-1.8H17'/%3E%3C/svg%3E") center / 20px no-repeat; }
.r2-empty--line.is-error::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.42' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='M10 7v4'/%3E%3Ccircle cx='10' cy='14' r='.5' stroke-width='1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.42' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='M10 7v4'/%3E%3Ccircle cx='10' cy='14' r='.5' stroke-width='1'/%3E%3C/svg%3E"); }

/* 8 가격 메모(포스트잇) = 공용 부품 하나(관제 · git-ed 11-18 「반복 요소 = 공용 부품 하나 · 예외 0」 · 앱 feat/app-r2-memo 와 같은 값).
   모양(바탕 · 글자 · 서체 · 굵기 · 자간 · 기울기 · 그림자 · 테이프)은 여기만, 크기는 변형(--sm · --md · --lg · --xl)만, 화면 CSS 는 자리만.
   글자 = Noto Sans 700 + 고정폭 숫자(Nanum Pen 은 400 하나뿐 · 숫자가 작아 「크고 굵게」 불가). 크기 = (폭 − 좌우 여백×2) ÷ 5.67 을 0.5 내림, 변형 상한
   — 5.67 = 「₩33,552,800」 너비(em) − 자간이라 가장 긴 가격도 기본 폭 안에 든다. 칸 안 메모는 칸 폭 92% 를 넘지 않는다(sm).
   기울기 = --memo-rot 하나 — 붙는 움직임(mo-stick · rv-stick · bd-stick …)도 끝 각도를 이 값으로 맞춘다. */
.r2-memo { --memo-rot: -2deg; position: relative; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; flex: none;
  max-width: 92%; height: var(--memo-h); padding: 0 calc(var(--memo-pad) + 4px); border-radius: 1.7px;   /* X-MEMO(대표 승인 11-18): 폭 = 가격 길이(글씨는 모든 칸 같게) — 짧은 가격(₩200) 좌우 빈자리 없앰 */
  background: linear-gradient(#ffffff4d, #ffffff00 65%, #b58f330f), var(--color-memo); box-shadow: var(--shadow-postit);
  color: var(--color-ink); font: 700 var(--memo-fs)/1 var(--font-num); letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-align: center; white-space: nowrap;
  transform: rotate(var(--memo-rot)); }
.r2-memo::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; border-radius: 1.7px 1.7px 0 0; background: linear-gradient(#9475240d, #94752400); pointer-events: none; }   /* 테이프(윗면 그늘) */
.r2-memo--sm { --memo-h: 28px; --memo-w: 109px; --memo-pad: 3px; --memo-fs: 18px; }
.r2-memo--md { --memo-h: 32px; --memo-w: 126px; --memo-pad: 6px; --memo-fs: 20px; }
.r2-memo--lg { --memo-h: 36px; --memo-w: 153px; --memo-pad: 8px; --memo-fs: 24px; }
.r2-memo--xl { --memo-h: 76px; --memo-w: 184px; --memo-pad: 8px; --memo-fs: 28px; --memo-lh: 24px; flex-direction: column; justify-content: flex-start; }   /* 위 = 라벨 줄 · 아래 = 가격 */
.r2-memo--xl::before { height: 9px; }
.r2-memo__label { flex: none; height: var(--memo-lh); color: var(--color-muted); font: 500 12px/var(--memo-lh) var(--font-sans); letter-spacing: 0; }
.r2-memo--xl .r2-memo__price { flex: 1; display: flex; align-items: center; }
@media (max-width: 1023.98px) {
  .r2-memo--sm { --memo-h: 24px; --memo-w: 97px; --memo-fs: 16px; }
  .r2-memo--md { --memo-h: 28px; --memo-w: 115px; --memo-fs: 18px; }
  .r2-memo--lg { --memo-h: 34px; --memo-w: 141px; --memo-fs: 22px; }
  .r2-memo--xl { --memo-h: 60px; --memo-w: 156px; --memo-fs: 24.5px; --memo-lh: 22px; }   /* 앱 카드 상세 156 · (156 − 16) ÷ 5.67 = 24.5 */
}


/* 로그인 묶음 = 운영 SigninBlock.login 마크업(.idp · .acct-check · .acct-legal) — 스캔 손님 시트 · 폰 서랍(DM-04) · 컬렉션 손님 판(DC-22) 공용 */
:is(.qs-signin, .r2-signin) { display: flex; flex-direction: column; gap: 16px; }
:is(.qs-signin, .r2-signin) .idp { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 1px solid #747775; border-radius: var(--radius-control, 8px); background: #fff; color: #1f1f1f; font: 500 14px/1.429 var(--font-sans, sans-serif); text-decoration: none; }
:is(.qs-signin, .r2-signin) .idp svg { width: 18px; height: 18px; }
:is(.qs-signin, .r2-signin) .acct-check { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; font: 400 14px/1.45 var(--font-sans, sans-serif); cursor: pointer; }
:is(.qs-signin, .r2-signin) .acct-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--color-accent, #117e75); }
:is(.qs-signin, .r2-signin) .acct-legal { margin: 0; color: var(--color-muted, #536960); font: 400 12px/1.45 var(--font-sans, sans-serif); letter-spacing: var(--tracking-sub); }
:is(.qs-signin, .r2-signin) .acct-legal a { color: inherit; }
/* 하위 줄 아이콘 칸 32 · 그림 24(1.0.27 ContentIcon 되살림 DM-01 · 대표 승인 11-18) — 폰 서랍 · PC 옆 메뉴 모두(웹 · 앱 모두 · git-2e 11-18) */
.r2-gnb__sublink:has(.r2-cicon) { gap: 12px; padding-left: 16px; }
.r2-cicon { display: grid; flex: none; place-items: center; box-sizing: border-box; width: 32px; height: 32px; border: 1px solid var(--color-border); border-radius: 6px; background: var(--color-paper); }
.r2-coupons { display: inline-flex; align-items: center; margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--color-border); color: var(--color-muted); font: 500 12px/1.5 var(--font-sans); white-space: nowrap; }   /* 「쿠폰 n장」(DM-03) */
.r2-coupons[hidden] { display: none; }
/* Holo Pass 카드형 줄(DM-02) — 72 · 이용 중 100 · 그림 44×66(무료 = 심볼 22×30) · 「Holo Pass」 16/700(이용 중 18) · 상태 14 · 이용 중 = 홀로 바탕(DM-22) · 꺾쇠 20 */
.r2-gnb__sublink.pass-menu { gap: 12px; min-height: 72px; margin: 4px 0; padding: 0 12px 0 16px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-paper); }
.pass-menu.has-pass { min-height: 100px; background: linear-gradient(120deg, #fff 0%, #eae7ff 100%); }
.pass-menu-art { display: grid; flex: none; place-items: center; width: 44px; height: 66px; }
.pass-menu-art img { object-fit: contain; }
.pass-menu-copy { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.pass-menu-copy strong { font: 700 16px/1.5 var(--font-sans); }
.pass-menu.has-pass .pass-menu-copy strong { font-size: 18px; line-height: 1.444; }
.pass-menu small { display: block; color: var(--color-muted); font: 400 14px/1.43 var(--font-sans); }
.pass-menu-chevron { display: block; flex: none; }
@media (min-width: 1024px) {   /* PC 옆 메뉴 줄 폭 178 — 그림 36×54 · 꺾쇠 없음(옆 메뉴 다른 줄과 같이) · 글 한 줄(「Holo Pass」 · 「1년권 · 이용 중」이 두 줄로 갈리던 것) */
  .r2-gnb__sublink.pass-menu { gap: 10px; padding: 0 10px; }
  .pass-menu-art { width: 36px; height: 54px; }
  .pass-menu-art img { width: 36px; height: 54px; }
  .pass-menu-chevron { display: none; }
  .pass-menu-copy strong, .pass-menu small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}
/* 손님 = 그 자리 로그인 판(DM-04) — 폰 서랍만(PC 는 로그인 단추 그대로) · 채워지면 로그인 단추 대신 */
.r2-gnb__signin { display: none; }
@media (max-width: 1023.98px) {
  .r2-gnb__signin:not([hidden]):not(:empty) { display: flex; margin: 0 0 8px; padding: 16px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-paper); }
  #r2-gnb:has(.r2-gnb__signin:not([hidden]):not(:empty)) .r2-login { display: none; }
  .r2-gnb__signin-h { margin: 0; font: 700 16px/1.5 var(--font-sans); }
}
}

/* ══ 색 규칙(2026-11-21 · 대표 승인 · Figma Renewal 2 와 같게) — 위 규칙 중 한 줄에 배치 속성이 섞인 것은 그 줄을 건드리지 않고 색만 여기서 덮는다(선택자 · 세기 같음 · 뒤에 와서 이긴다) ══ */
/* 초점 고리 = 어두운 청록 대신 먹(민트 링은 종이 위 1.8:1 로 안 보임) */
.r2 :is(a, button, input):focus-visible { outline-color: var(--color-ink); }
.r2-check input:focus-visible + .r2-check__box { outline-color: var(--color-ink); }
.r2-faq__list summary:focus-visible { outline-color: var(--color-ink); }
.r2 .cm a:focus-visible, .r2 a.cm-row:focus-visible { outline-color: var(--color-ink); }
.r2 .r2-seg > :focus-visible { outline-color: var(--color-ink); }
.r2 .r2-more:focus-visible { outline-color: var(--color-ink); }
.r2 .r2-btn:focus-visible { outline-color: var(--color-ink); }
/* 주 버튼(규칙 1 · 2) — 흰 글자 + 그림자 ② · 테두리 primary-line · 누름 = 바탕 그대로 + 안쪽 그림자 */
.r2-btn--primary { box-shadow: inset 0 0 0 1px var(--color-primary-line), var(--shadow-control); text-shadow: 0 1px 2px rgba(6, 105, 102, .40); }
.r2-btn--primary:not(:disabled):not([aria-disabled="true"]):active { box-shadow: inset 0 0 0 1px var(--color-primary-line), inset 0 2px 5px rgba(6, 105, 102, .35); }
.r2-btn--primary:is(:disabled, [aria-disabled="true"]) { text-shadow: none; }   /* 막힌 단추 = 그림자 없음(위 406 줄과 같은 뜻) */
.r2-btn--outline:not(:disabled):not([aria-disabled="true"]):active { background: var(--color-primary-wash); }
/* GNB 손님 로그인 단추 = 주 버튼 모양(대표 승인) */
.r2-login { background: var(--color-primary); box-shadow: inset 0 0 0 1.5px var(--color-primary-line); color: #fff; text-shadow: 0 1px 2px rgba(6, 105, 102, .40); }
.r2-login:hover { box-shadow: inset 0 0 0 2px var(--color-primary-line); }
.r2-login:active { background: var(--color-primary); box-shadow: inset 0 0 0 2px var(--color-primary-line), inset 0 2px 5px rgba(6, 105, 102, .35); color: #fff; }
.r2 .r2-login:focus-visible { box-shadow: inset 0 0 0 3px var(--color-primary-line); }
/* GNB 펼친 묶음 · 언어 · 통화 상자 외곽선(규칙 6 · 12) */
.r2-gnb__group::after { border-color: rgba(125, 226, 221, .6); }
.r2-menu { border-color: rgba(125, 226, 221, .6); }
/* 라디오 = 민트(규칙 10) */
.r2-check__box::after { background: var(--color-primary); }
@media (max-width: 1023.98px) {
  .r2-menu button::before { background-image: radial-gradient(circle, var(--color-primary) 4.5px, transparent 5px); }
  .r2-menu button[aria-current="true"]::before { border-color: var(--color-primary); }
}
/* 연속 선택 고른 칸(규칙 7) */
.r2-seg > :is([aria-pressed="true"], [aria-current], [aria-selected="true"]) { box-shadow: 0 1px 2px rgba(60, 45, 20, .18); }
/* 글자 버튼 · 링크 = 진한 글자 + 민트 형광펜(규칙 3) */
.cm-who a, .cm-go { color: var(--color-ink); text-decoration-line: underline; text-decoration-color: rgba(27, 211, 206, .45); text-decoration-thickness: .45em; text-underline-offset: -.28em; text-decoration-skip-ink: none; }
.r2-more > span:first-child { text-decoration-line: underline; text-decoration-color: rgba(27, 211, 206, .45); text-decoration-thickness: .45em; text-underline-offset: -.28em; text-decoration-skip-ink: none; }
/* 녹회색 직접 값 정리(규칙 3 · 12) */
.r2-app > .r2-app__tag { color: var(--color-muted); }
:is(.qs-signin, .r2-signin) .acct-check input { accent-color: var(--color-primary); }

/* /css/r2-explore.css */
/* 03 탐색(세트 · 카드 · 캐릭터) — Figma Renewal 2 「03 · 탐색」 2005:302 PC 1440 · 모바일 390 판의 값(tokens.css 이름).
   변수 없는 값(진열장 재질 · 명패 · 케이스 · 메모 그라디언트)은 Figma 값 그대로. 그림 = /css/img/explore-*.webp(브리지로 받은 선반 · 나무 재질).
   마크업 = /explore.html(+ 캐릭터는 deploy/beta/r2pages/explore.py), 동작 = /js/r2-explore.js. PC = 1024px 이상(common.css 와 같은 경계). */

@font-face { font-family: 'Nanum Pen Script'; src: url(/fonts/nanumpen-price.woff2) format('woff2'); font-display: swap; unicode-range: U+0020-007E, U+00A0, U+00A5, U+2013, U+20A9, U+20AC, U+2212, U+FFE5-FFE6; }   /* 가격 메모 글자만(OFL) */

.xp { --xp-wood: #fff7eb url(/css/img/explore-wood.webp) 0 0 / 998px auto; --xp-paper: var(--texture-paper) 0 0 / var(--texture-paper-size); }
.xp > * { max-width: none; }
.xp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── 머리 「상단 · 계정」 — 위 줄 = 메뉴 이름, 아래 = 지금 화면 ──────────────── */
.xp-head > div { position: relative; display: flex; flex-direction: column; gap: 2px; }
.xp-head__up { margin: 0; color: var(--color-muted); font: 500 14px/1.429 var(--font-sans); }
.r2-pagehead .xp-head__h { font: 700 28px/1.45 var(--font-sans); }   /* 쪽 제목 = 컬렉션 Bold 28(11-16 간격 통일) */

/* ── 모바일 제목 · 탐색 대상 전환(공통 / 연속 선택) ─────────────────── */
.xp-mtitle :is(h1, .xp-mtitle__h) { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; font: 700 22px/1.25 var(--font-sans); letter-spacing: -0.045em; }
.xp-mtitle small { color: var(--color-muted); font: 400 14px/1.5 var(--font-sans); letter-spacing: var(--tracking-sub); }

/* ── 검색 · 필터 · 정렬 줄 ───────────────────────────────── */
.xp-bar { display: flex; gap: 8px; margin: 0; }
.xp-search { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 8px; height: var(--size-control-height); padding: 0 12px; border-radius: var(--radius-control); background: var(--color-paper); }
.xp-search::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--xp-paper); opacity: .14; pointer-events: none; }
.xp-search > svg { position: relative; flex: none; }
.xp-search input { position: relative; flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; color: var(--color-ink); font: var(--text-body); outline: 0; }
.xp-search input::placeholder { color: var(--color-muted); opacity: 1; }
.xp-search input::-webkit-search-cancel-button { display: none; }
.xp-search__clear { position: relative; flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin-right: -6px; padding: 0; border: 0; border-radius: 6px; background: none; cursor: pointer; }
.r2 .xp-trigger:focus-visible { outline: 3px solid var(--color-ink); outline-offset: 2px; }

/* 조건 칸 — 「공통 / 드롭다운 트리거」 Boxed · Touch(고른 값 있으면 primary 면 + accent 선, 펼치면 accent 선) */
.xp-filters { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(max-content, 1fr); gap: 8px; flex: none; }
.xp-filters .xp-trigger { width: auto; min-width: var(--w, 136px); }   /* 칸마다 다른 시안 폭(--w)은 최소 폭으로만 — 격자가 가장 넓은 칸에 모두 맞춘다(세트 152 · 카드 136) · 필터 단추 폭 = 모두 같게(가장 긴 칸) — 감사 ⑨ 136 · 136 · 136 · 128 / 152 · 144 · 152(대표 11-17 「단추 폭 같게」) */
.xp-filters:empty { display: none; }   /* 캐릭터 = 필터 없음 — 빈 칸이 검색창 뒤 사이를 8 더 벌렸다(대표 핀 11-17 145727 「검색창 꽉」) */
.xp-trigger { position: relative; display: flex; align-items: center; gap: 4px; width: var(--w, 136px); height: var(--size-control-height); padding: 0 12px; border: 0; border-radius: var(--radius-control); background: var(--color-paper); box-shadow: inset 0 0 0 1px var(--base-border-strong); color: var(--color-ink); font: var(--text-body); text-align: left; cursor: pointer; }
.xp-trigger__v { flex: 1; min-width: 0; overflow: hidden; color: var(--color-muted); text-align: right; white-space: nowrap; text-overflow: ellipsis; }
.xp-trigger.is-on .xp-trigger__v { color: #fff; }
.xp-trigger svg { flex: none; width: 16px; height: 16px; }
.xp-trigger.is-on { background: var(--color-primary); color: #fff; text-shadow: 0 1px 2px rgba(6,105,102,.40); box-shadow: inset 0 0 0 1px var(--color-primary); }
.xp-trigger[aria-expanded="true"] { box-shadow: inset 0 0 0 1px var(--color-primary); }
.xp-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ── 고른 조건(공통 / 선택 조건 칩) · 전체 해제 · 결과 수 ─────────────── */
.xp-chips { display: flex; align-items: flex-start; gap: 8px; margin: 0; }
.xp-chips__list { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.xp-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 10px; border: 0; border-radius: 5px; background: var(--color-primary); box-shadow: inset 0 0 0 1px var(--color-primary-line); color: #fff; text-shadow: 0 1px 2px rgba(6,105,102,.40); font: 500 12px/1.5 var(--font-sans); cursor: pointer; }
.xp-chip svg { width: 14px; height: 14px; }
.xp-chips__all { margin-left: auto; }
.xp-count { margin: 0; color: var(--color-ink); font: 400 12px/1.45 var(--font-sans); letter-spacing: var(--tracking-sub); }
.xp-count:empty { display: none; }
.xp-page:is([data-tab="cards"], [data-tab="characters"]) .xp-count:empty { display: block; min-height: calc(12px * 1.45); }   /* 장수 글줄 자리 미리 — 자료가 와서 글이 들어가며 진열 전체가 한 줄 밀렸다(11-19 추적 LayoutShift) */
.xp-note { margin: 0; color: var(--color-muted); font: var(--text-meta); letter-spacing: var(--tracking-sub); text-align: right; }
.xp-note:empty { display: none; }

/* ── 진열장 공통 — 줄(.xp-row)마다 열 수(--cols)는 r2-explore.js 가 폭으로 정한다 ─── */
.xp-cabinet { position: relative; display: flex; flex-direction: column; }
.xp-cabinet[aria-busy="true"] { min-height: 100vh; }   /* 불러오는 동안 바닥 줄이 진열장 바로 밑에 보였다가 밀려 내려갔다(CLS 0.22 · 11-19) — 화면 높이만큼 자리를 잡아 바닥 줄은 처음부터 화면 밖 */
.xp-row { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); }
.xp-row > * { position: relative; z-index: 1; }
.xp-cabinet a { color: inherit; text-decoration: none; }
.xp-cabinet a:focus-visible { outline: 3px solid var(--color-ink); outline-offset: 2px; border-radius: 8px; }
/* 불러오는 중 · 차례 기다림(대표 11-16 「로딩이 안 된 화면에서는 회색 모양으로」) — 뼈대 칸(--skel)은 실제 칸과 같은 틀(같은 높이 · 같은 자리)이고
   그림 자리 = 심볼 판(tokens --ph-card · --ph-pack, 대표 11-16 「민트색 백판 말고 로고이미지에 반투명 배경」) · 글 자리 = 회색 줄.
   실제 칸도 차례가 올 때까지(`.rv 칸:not(.rv-on)` — r2-motion-fx.js 가 위 줄부터 한 장씩 rv-on, 움직임 줄이기면 그림이 오는 대로 바로) 똑같이 보인다 → 뼈대 → 실제에서 칸이 튀지 않는다.
   그림이 들어오는 순간 판은 같은 모습의 층으로 옮겨져 아래로 스르륵 미끄러지며 옅어진다(r2-motion-fx R2Reveal.peel · 대표 11-16) — 팩은 앉을 무렵 · 카드는 차오를 때.
   진열장 · 선반 · 명패 · 라벨 판(배경)은 처음부터 보이고, 그 위 그림 · 글 자리만 회색 */
.xp-set--skel, .xp-card--skel, .xp-char--skel { pointer-events: none; }
/* 규칙은 끝(오른쪽) 선택자를 한 클래스 · 태그로 둔다 — 끝이 :is(… img, … > *) 이면 브라우저가 모든 요소에 맞춰 봐서 첫 그리기 스타일 계산이 길어진다(CPU 4배 trace 11-16).
   .xp-set · .xp-card · .xp-char 칸은 탐색 · 세트 상세 · 캐릭터 쪽에만 있고 전부 r2-motion-fx 가 rv-on 을 붙인다 */
.xp-set--skel .xp-set__art, .rv .xp-set:not(.rv-on) .xp-set__art { background: var(--ph-pack) 50% calc(100% - 14px) / 78% 84% no-repeat; background-clip: content-box; }
.rv .xp-set:not(.rv-on) .xp-set__art > img, .rv .xp-set:not(.rv-on) .xp-noart, .rv .xp-set:not(.rv-on) .xp-plate__name, .rv .xp-set:not(.rv-on) .xp-plate__meta,
.rv .xp-card:not(.rv-on) .xp-case img, .rv .xp-card:not(.rv-on) .xp-noart, .rv .xp-card:not(.rv-on) .xp-label > strong, .rv .xp-card:not(.rv-on) .xp-label__row,
.rv .xp-char:not(.rv-on) .xp-stack, .rv .xp-char:not(.rv-on) .xp-cplate > strong, .rv .xp-char:not(.rv-on) .xp-cplate > span, .rv .xp-char:not(.rv-on) .xp-cmemo { visibility: hidden; }
.xp-set--skel .xp-plate::after, .rv .xp-set:not(.rv-on) .xp-plate::after,
.xp-card--skel .xp-label::after, .rv .xp-card:not(.rv-on) .xp-label::after,
.xp-char--skel .xp-cplate::after, .rv .xp-char:not(.rv-on) .xp-cplate::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.xp-set--skel .xp-plate::after, .rv .xp-set:not(.rv-on) .xp-plate::after { background: linear-gradient(var(--color-skeleton), var(--color-skeleton)) 50% 24px / 70% 12px no-repeat, linear-gradient(var(--color-skeleton), var(--color-skeleton)) 50% 44px / 46% 12px no-repeat, linear-gradient(var(--color-skeleton), var(--color-skeleton)) 50% 66px / 52% 10px no-repeat; }
.xp-card--skel .xp-case, .rv .xp-card:not(.rv-on) .xp-case { background: var(--ph-card) 3px 8px / calc(100% - 6px) calc(100% - 15px) no-repeat; }
.xp-card--skel .xp-label::after, .rv .xp-card:not(.rv-on) .xp-label::after { background: linear-gradient(var(--color-skeleton), var(--color-skeleton)) 7px 11px / 74% 12px no-repeat, linear-gradient(var(--color-skeleton), var(--color-skeleton)) 7px 36px / 42% 10px no-repeat; }
.xp-char--skel, .rv .xp-char:not(.rv-on) { background: var(--ph-card) 19px 67px / 124px 174px no-repeat; }   /* 맨 앞 슬리브 자리 · 카드 비율(아래는 명패가 덮음) */
.xp-char--skel .xp-cplate::after, .rv .xp-char:not(.rv-on) .xp-cplate::after { background: linear-gradient(var(--color-skeleton), var(--color-skeleton)) 50% 9px / 58% 11px no-repeat, linear-gradient(var(--color-skeleton), var(--color-skeleton)) 50% 25px / 34% 9px no-repeat; }
.xp-card--skel .xp-label strong { visibility: hidden; }

/* 세트 — 「세트 · 깊이 있는 목재 진열장」: 나무 84% · 줄마다 조명 선반(그림) · 앞턱 아크릴 · 나무 명패 */
.xp-page[data-tab="sets"] .xp-cabinet { gap: 12px; padding: 0 12px 10px; border-radius: 12px; background: var(--xp-wood); box-shadow: 0 5px 12px #5c493226; }
.xp-sets .xp-row { gap: 12px; height: 335px; }
.xp-sets .xp-row::before { content: ""; position: absolute; top: 0; left: -12px; right: -12px; height: 239px; background: url(/css/img/explore-shelf-set-pc.webp) 0 0 / 100% 100%; }
.xp-set { display: flex; flex-direction: column; gap: 5px; height: 335px; padding: 8px 8px 5px; border-radius: 8px; }
.xp-set__art { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 229px; padding-top: 13px; }
.xp-set__art img { position: relative; z-index: 1; display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 5px; }
.xp-set__art::before { content: ""; position: absolute; left: 50%; bottom: 12px; width: 62%; height: 2px; transform: translateX(-50%); border-radius: 50%; background: #50463333; filter: blur(1.1px); }   /* 받침에 닿는 접촉 그림자 */
.xp-set__art::after { content: ""; position: absolute; z-index: 2; left: -4px; right: -4px; bottom: 11px; height: 14px; border-radius: 2px; background: linear-gradient(#ffffff52, #b1c0b712); box-shadow: inset 0 0 0 1px #ffffffbf, 1px 1px 1px #514b3c1f; pointer-events: none; }   /* 팩을 잡는 투명 아크릴 앞턱 */
.xp-noart { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 5px; background: #f3e6cf; color: var(--color-muted); font: var(--text-meta); letter-spacing: var(--tracking-sub); text-align: center; }
.xp-plate { position: relative; display: flex; flex-direction: column; gap: 2px; height: 88px; margin: 0 -7px; padding: 5px 5px 3px; border-radius: 5.5px; background:
    radial-gradient(circle at 5.5px 5.5px, #b08752 0 1px, #fae0b0 1.2px 1.6px, transparent 1.8px),
    radial-gradient(circle at calc(100% - 5.5px) 5.5px, #b08752 0 1px, #fae0b0 1.2px 1.6px, transparent 1.8px),
    radial-gradient(circle at 5.5px calc(100% - 5.5px), #b08752 0 1px, #fae0b0 1.2px 1.6px, transparent 1.8px),
    radial-gradient(circle at calc(100% - 5.5px) calc(100% - 5.5px), #b08752 0 1px, #fae0b0 1.2px 1.6px, transparent 1.8px),
    linear-gradient(#ffffff66, #ffffff14 32%, #a6733814), #ffedcf;
  box-shadow: inset 0 0 0 1.1px #f0d6adcc, inset 0 1px 0 #fffbe6, 0 2px 0 #d1b28ce6, 0 1px 1.5px #5940210f; }
.xp-plate__name { display: flex; align-items: center; justify-content: center; height: 60px; overflow: hidden; font: 500 15px/1.333 var(--font-sans); text-align: center; }
.xp-plate__name span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow-wrap: anywhere; }
.xp-plate__meta { color: var(--color-muted); font: 400 12px/1.5 var(--font-sans); letter-spacing: var(--tracking-sub); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 불러오는 중 — Figma 「불러오는 중」 판의 뼈대 칸(그림 칸 + 글줄 둘) · 줄 높이 */

/* 카드 — 「카드 · 얇은 벽면 레일」: 나무 84% · 줄마다 레일(뒷면 홈 + 앞턱) · 투명 보호 케이스 · 셀로판 라벨 · 노란 가격 메모 */
.xp-page[data-tab="cards"] .xp-cabinet { gap: 16px; padding: 8px 12px 10px; border-radius: 12px; background: var(--xp-wood); box-shadow: 0 5px 12px #5c493226; }   /* 가장자리 = 세트 · 캐릭터 진열장과 같은 둥근 모서리 · 그림자(대표 핀 11-16 「가장자리 처리가 안 되어 있어」) */
.xp-cards .xp-row { gap: 20px; height: 332px; }   /* 칸 = 판 238 + 이름표(이름 · 판 번호 · 아래 가격 메모 sm 28) — 메모를 이름표 아래 줄로(앱과 같은 칸 규칙 · 11-18) */
.xp-cards .xp-row::before, .xp-cards .xp-row::after { content: ""; position: absolute; left: -12px; right: -12px; height: 5px; border-radius: 1px; }
.xp-cards .xp-row::before { top: 234px; background: linear-gradient(#2c454080, #152f2bd9); }
.xp-cards .xp-row::after { z-index: 2; top: 235px; background: linear-gradient(#91ada2, #54766a 30%, #294a40); box-shadow: 1px 1px 1px #514b3c33; }
.xp-card { display: flex; flex-direction: column; gap: 1px; height: 332px; padding-bottom: 10px; }
.xp-case { position: relative; flex: none; height: 238px; padding: 8px 3px 7px; }   /* PC 도 같은 방향 — 좌우 안쪽 6 → 3(그림 폭 · 높이 조금 더 · DE-02) */
.xp-case .mo-sheen { inset: 8px 3px 7px; }   /* 빛 층 = 케이스 안쪽과 같게(r2-motion-fx 기본 8 6 7) */
.xp-case::before { content: ""; position: absolute; inset: 0 1px 1px; border-radius: 6px; background: #ffffff17; box-shadow: inset 0 0 0 .7px #ffffffb3, .6px 1.2px 1.8px #33291a1c; }
.xp-case::after { content: ""; position: absolute; top: 1px; left: 3px; right: 3px; height: 2px; border-radius: 1px; background: linear-gradient(90deg, #ffffffd9, #ffffff40 55%, #b3b8b261); }
.xp-case img, .xp-case .xp-noart { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 3px; box-shadow: 0 0 0 .6px #ffffff61, 0 1px 1.8px #5c49321a; }
.xp-sl, .xp-sl2 { display: block; width: 100%; height: 100%; }   /* 카드 그림을 감싼 판 두 장 — 폰 차오름 장면이 이 판을 옮겨 자른다(r2-motion-fx mo-sl-*) · 평소엔 그림 자리 그대로 */
.xp-label { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0 3px; padding: 6px 7px 2px; text-align: center; border-radius: 2px; background: linear-gradient(#ffffff29, #ffffff0d 14%, #ffffff00 82%, #ffffff1a), #fffdf561; box-shadow: inset 0 0 0 .5px #ffffff80, inset 0 .5px 0 #ffffff8c, 0 .6px .8px #42331a14; }
.xp-label strong { max-width: 100%; overflow: hidden; font: 500 15px/1.467 var(--font-sans); white-space: nowrap; text-overflow: ellipsis; }
.xp-label__row { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }   /* 이름 · 번호 · 메모 = 칸 가운데(대표 11:5x 「왼쪽 정렬이라 어색 — 가운데로」) */   /* 위 = 판 번호 · 아래 = 가격 메모(공용 sm) — 6 = 메모가 왼쪽 끝을 축으로 −2° 기울어 오른쪽 끝이 3.8 들려도 판 번호 글자에 안 닿는 틈 */
.xp-label__meta { min-width: 0; max-width: 100%; padding-top: 3px; overflow: hidden; color: var(--color-muted); font: 400 13px/1.385 var(--font-sans); letter-spacing: var(--tracking-sub); white-space: nowrap; text-overflow: ellipsis; }
.xp-memo { margin-bottom: 4px; }   /* 가격 메모 = 공용 .r2-memo--sm(common.css) — 여기는 자리만 */
.xp-noprice { flex: none; padding-top: 3px; color: var(--color-muted); font: 400 12px/1.5 var(--font-sans); letter-spacing: var(--tracking-sub); white-space: nowrap; }

/* 캐릭터 — 「캐릭터 · 카드 묶음 진열장」: 나무 84% + 갈색 8% · 조명 선반 사진 · 메이플 앞턱 · 카드 묶음(슬리브) · 반투명 명패 · 최고 시세 메모 + TOP */
.xp-page[data-tab="characters"] .xp-cabinet { gap: 4px; padding: 10px 8px; border-radius: 10px; background: linear-gradient(#c18b4814, #c18b4814), var(--xp-wood); box-shadow: 0 5px 12px #5c493226; }
.xp-chars .xp-row { gap: 16px; height: 326px; }   /* 캐릭터 칸 = 앱 배치(대표 11-18 겹침 0 · 관제 결정 B): 이름판은 앞장 슬리브 아래 · 메모는 이름판 아래 가운데 · TOP 딱지 없음(대표 12:0x) */
.xp-chars .xp-row::before { content: ""; position: absolute; inset: 0 0 auto; height: 212px; background: url(/css/img/explore-shelf-char-pc.webp) 0 0 / 100% 100%; box-shadow: inset 0 -2px 0 #79624247; }
.xp-chars .xp-row::after { content: ""; position: absolute; inset: 212px 0 0; border-radius: 2px; background: linear-gradient(#fff9e8fa, #fff0d3f5 1px, #e6c595bd 2px, #c39b6175 3px, transparent 3px), linear-gradient(#fff1d563, #ffedd01c 17%, #d1a06721 77%, #9f6e3845), var(--xp-wood); box-shadow: 0 3px 5px #5c401f33, inset 0 -2px 0 #ad844d3b, 0 -1px 0 #7557333d; }
.xp-char { position: relative; z-index: 3; display: block; height: 326px; }
.xp-stack { position: absolute; inset: 0 0 114px; }
.xp-sleeve { position: absolute; width: 124px; height: 174px; padding: 2px 1px 2px 1px; border-radius: 4.8px; background: linear-gradient(#f3f7f647, #dee9e81a 12%, #d4e1df0d 87%, #acbfc03d); box-shadow: inset 0 0 0 .65px #dde9e7b8, .45px .5px .85px #4d382126; }
.xp-sleeve img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 2.8px; box-shadow: inset 0 0 0 .3px #0000001a; }
/* 카드 묶음 7장 — Figma 「탐색 · 캐릭터 · PC」 2425:3514 카드 묶음 그대로. 자리는 앞장(마지막 자식)부터 세어 카드가 적어도 앞장 자리는 같다. 기울기 = Figma 회전의 반대 부호(왼쪽 위 기준) */
.xp-sleeve { transform-origin: 0 0; }
.xp-sleeve:first-child { box-shadow: inset 0 0 0 .65px #dde9e7b8, 3.2px 2.3px 5.2px #4d382133; }
.xp-sleeve:nth-last-child(1) { left: 18.6px; top: 66.8px; rotate: -.35deg; }
.xp-sleeve:nth-last-child(2) { left: 24.9px; top: 60px; rotate: .05deg; }
.xp-sleeve:nth-last-child(3) { left: 25.7px; top: 53px; rotate: -.6deg; }
.xp-sleeve:nth-last-child(4) { left: 34.7px; top: 47.7px; rotate: .35deg; }
.xp-sleeve:nth-last-child(5) { left: 33.3px; top: 40.6px; rotate: -.75deg; }
.xp-sleeve:nth-last-child(6) { left: 39px; top: 33.4px; rotate: -.15deg; }
.xp-sleeve:nth-last-child(7) { left: 44.1px; top: 25.8px; rotate: -.5deg; }
.xp-cplate { position: absolute; z-index: 3; left: 14px; top: 244px; display: flex; flex-direction: column; justify-content: center; right: 10px; height: 40px; padding: 0 4px; border-radius: 5.5px; background: linear-gradient(#ffffff66, #ffffff1f 10%, #ffffff0a 40%, #fff6df0f 82%, #ffffff33), #fffcf1a1; box-shadow: inset 0 0 0 .8px #ffffffc2, inset 0 1px 0 #ffffffc7, 0 2px 0 #ccc8b75c, 0 3px 1.5px #5442260f; text-align: center; }
.xp-cplate strong { overflow: hidden; font: 500 17px/1.294 var(--font-sans); white-space: nowrap; text-overflow: ellipsis; }
.xp-cplate span { font: 400 14px/1.286 var(--font-sans); }
.xp-cmemo { position: absolute; z-index: 4; left: 50%; top: 292px; translate: -50% 0; }   /* 가운데 — 칸보다 긴 금액도 양쪽으로 똑같이(기울기는 공용 transform 몫) */   /* 캐릭터 칸 가격 메모 = 공용 .r2-memo--sm — 자리만 */
.xp-cmemo b { font-weight: inherit; }
.xp-char[hidden] { display: none; }
/* 빈 진열(상태 판) — 세트는 조명 선반만 · 카드는 레일 한 줄 높이 */
.xp-sets .xp-row.is-empty { height: 239px; }
.xp-cards .xp-row.is-empty { height: 252px; }

/* ── 상태 안내(불러오기 실패 · 결과 없음) — 빈 진열 한 줄 + 안내 상자 ───────── */
.xp-state[hidden] { display: none; }
.xp-state svg { width: 20px; height: 20px; }
.xp-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: var(--gap-section); }   /* 모양 = 공용 .r2-seg */

/* ── 펼침(PC 팝오버) · 시트(모바일) ─────────────────────────── */
.xp-pop { position: absolute; z-index: 40; width: 320px; padding: 12px; border-radius: var(--radius-popover); background: var(--color-paper); box-shadow: inset 0 0 0 1px var(--base-line), 0 2px 8px #47402e12; }
.xp-pop::before, .xp-sheet__panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--xp-paper); opacity: .12; pointer-events: none; }
.xp-pop--sort { width: 280px; padding: 16px; }
.xp-panel { position: relative; display: flex; flex-direction: column; gap: 8px; }
.xp-panel__head { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.xp-panel__head h2 { flex: 1; margin: 0; font: 700 15px/1.4 var(--font-sans); }
.xp-pop--sort .xp-panel__head h2, .xp-sheet .xp-panel__head h2 { font: 700 14px/1.45 var(--font-sans); color: #000; }
.xp-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -2px; padding: 0; border: 0; border-radius: var(--radius-control); background: none; cursor: pointer; }
.xp-x svg { width: 16px; height: 16px; }
.xp-panel .xp-search { flex: none; }
.xp-opts { display: flex; flex-direction: column; gap: 4px; max-height: 340px; overflow-y: auto; margin: 0; padding: 0; list-style: none; overscroll-behavior: contain; }   /* 8줄(줄 36 + 사이 4)까지는 칸이 내용에 맞아 넘기지 않는다 · 더 긴 목록(연도 · 희귀도)만 넘기고 9번째 줄이 반쯤 보여 더 있음을 알린다(막대는 common.css 에서 숨김) */
.xp-opt { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 10px; border-radius: 6px; color: var(--color-ink); font: 400 14px/1.357 var(--font-sans); cursor: pointer; }
.xp-opt input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.xp-opt__box { flex: none; width: 16px; height: 16px; border-radius: 3px; background: var(--color-paper); box-shadow: inset 0 0 0 1px var(--color-muted); }
.xp-opt__box svg { display: block; width: 16px; height: 16px; visibility: hidden; }
.xp-opt:has(input:checked) { background: var(--color-primary); color: #fff; text-shadow: 0 1px 2px rgba(6,105,102,.40); }
.xp-opt input:checked + .xp-opt__box { background: var(--color-primary); box-shadow: inset 0 0 0 1px var(--color-primary); }
.xp-opt input:checked + .xp-opt__box svg { visibility: visible; }
.xp-opt input:focus-visible + .xp-opt__box { outline: 3px solid var(--color-ink); outline-offset: 2px; }
.xp-opt span:last-child { min-width: 0; overflow-wrap: anywhere; }
.xp-opts__none { padding: 8px 10px; color: var(--color-muted); font: var(--text-meta); letter-spacing: var(--tracking-sub); }
.xp-panel__foot { display: flex; gap: 8px; padding-top: 4px; }
.xp-panel__foot .r2-btn--primary { flex: 1; }
.xp-panel__foot .r2-btn--secondary { min-width: 90px; }
.xp-unit { margin: 0; color: var(--color-muted); font: 400 12px/1.5 var(--font-sans); letter-spacing: var(--tracking-sub); }
.xp-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.xp-range label { display: flex; flex-direction: column; gap: 6px; font: 400 12px/1.5 var(--font-sans); letter-spacing: var(--tracking-sub); }
.xp-range input { width: 100%; height: 44px; padding: 0 12px; border: 0; border-radius: var(--radius-control); background: var(--color-paper); color: var(--color-ink); font: var(--text-body); }
/* 정렬 — 「공통 / 필터 칩」 Touch(고른 것 = selected 면 + selected-line 1.2) */
.xp-sorts { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.xp-sortopt { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 12px 0 14px; border: 0; border-radius: var(--radius-control); background: var(--color-paper); box-shadow: inset 0 0 0 1px var(--base-line); color: var(--color-ink); font: 500 15px/1.467 var(--font-sans); text-align: left; cursor: pointer; }
.xp-sortopt span { flex: 1; }
.xp-sortopt svg { flex: none; width: 18px; height: 18px; }
.xp-sortopt[aria-checked="true"] { background: var(--base-selected); box-shadow: inset 0 0 0 1.2px var(--color-selected-line), inset 0 1px 0 #ffffffa6, 0 2px 3px #172b2614; }
/* 모바일 시트 */
.xp-sheet { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; justify-content: flex-end; }
.xp-sheet__scrim { position: absolute; inset: 0; background: #182d323d; }
.xp-sheet__panel { position: relative; max-height: calc(100dvh - 48px); overflow-y: auto; padding: 16px; border-radius: 10px 10px 0 0; background: var(--color-paper); box-shadow: inset 0 0 0 1px var(--base-line), 0 2px 8px #47402e12; overscroll-behavior: contain; }
.xp-sheet .xp-panel { gap: 12px; }
.xp-sheet .xp-sortopt { min-height: 44px; }
.xp-groups { display: flex; flex-direction: column; gap: 12px; }
.xp-group__head { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 0 10px; border: 0; border-radius: var(--radius-control); background: #f7f2e8; box-shadow: inset 0 0 0 1px var(--color-border); color: var(--color-ink); font: 500 14px/1.429 var(--font-sans); text-align: left; cursor: pointer; }
.xp-group__head > span:first-child { flex: 1; }
.xp-group__head svg { flex: none; width: 16px; height: 16px; }
.xp-group__head[aria-expanded="true"] svg { transform: rotate(180deg); }
.xp-group__reset { display: inline-grid; place-items: center; min-width: 48px; height: 32px; padding: 0 7px; border-radius: 6px; background: #f4efe5; font: 400 12px/1.5 var(--font-sans); letter-spacing: var(--tracking-sub); }
.xp-group__body { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.xp-group__body .xp-opts { max-height: 220px; }   /* 펼친 묶음 목록만 굴린다 — 다른 묶음 머리 · 완료 줄은 늘 보이게 */
.xp-lock { overflow: hidden; }

/* ── 모바일 390 ──────────────────────────────────────────── */
@media (max-width: 1023.98px) {
  .xp-mtitle :is(h1, .xp-mtitle__h) { min-height: 40px; margin-bottom: 8px; padding-bottom: 12px; }
  .xp-page[data-tab="sets"] .xp-cabinet { gap: 8px; padding: 0 6px 8px; border-radius: 8px; }
  .xp-sets .xp-row { gap: 8px; height: 268px; }   /* 세트 팩 그림 크게(1.0.27 되살림 DE-01 · 대표 결정판): 그림 자리 146 → 190 · 팩은 칸 폭을 넘게 */
  .xp-sets .xp-row::before { left: -6px; right: -6px; height: 198px; background-image: url(/css/img/explore-shelf-set-m.webp); }
  .xp-set { gap: 1px; height: 268px; padding: 4px 4px 1px; }
  .xp-set__art { height: 190px; padding-top: 7px; }
  .xp-set__art img { max-width: 135%; }
  .xp-set__art::before { bottom: 9px; }
  .xp-set__art::after { left: 0; right: 0; bottom: 7px; height: 11px; }
  .xp-plate { height: 72px; margin: 0 -3px; padding: 4px 3px 3px; gap: 1px; border-radius: 3.5px; box-shadow: inset 0 0 0 .75px #f0d6adcc, inset 0 1px 0 #fffbe6, 0 1px 0 #d1b28ce6, 0 1px 1.5px #5940210f; }
  .xp-plate__name { height: 48px; font: 500 12px/1.333 var(--font-sans); }
  .xp-plate__meta { font: 400 12px/1.333 var(--font-sans); letter-spacing: var(--tracking-sub); }

  .xp-page[data-tab="cards"] .xp-cabinet { gap: 10px; margin-inline: -8px; padding: 6px 2px; border-radius: 8px; }   /* 진열장이 판 안쪽 여백으로 8 씩 나감 — 검색 줄 등 판 안 다른 것은 그대로(DE-02 · 관제 11-18 「390 에서 그림 150 에 가깝게」) */
  .xp-cards .xp-row { gap: 6px; height: 250px; }   /* +22 = 이름 두 줄(DE-03) */   /* 카드 그림 크게(1.0.27 되살림 DE-02 · 대표 「3열 유지 · 그림 150」): 케이스 150 → 164 · 안쪽 8 6 9 → 6 2 7 · 줄 사이 14 → 6 */
  .xp-cards .xp-row::before, .xp-cards .xp-row::after { left: -8px; right: -8px; height: 4px; }   /* 레일 = 진열장 안쪽 여백만큼(세트 상세 .st-rail 8) */
  .xp-page[data-tab="cards"] .xp-cards .xp-row::before, .xp-page[data-tab="cards"] .xp-cards .xp-row::after { left: -2px; right: -2px; }   /* 탐색 카드 진열장 안쪽 2 — 선이 나무판 밖으로 안 나가게(git-ac 감사 11-18) */
  .xp-case .mo-sheen { inset: 6px 2px 7px; }   /* 빛 층 = 바뀐 케이스 안쪽(그림과 같은 자리) */
  .xp-cards .xp-row::before { top: 160px; }
  .xp-cards .xp-row::after { top: 161px; }
  .xp-card { height: 250px; padding-bottom: 25px; }
  .xp-case { height: 164px; padding: 6px 2px 7px; }   /* 케이스 테 2 — 그림이 칸 폭을 거의 다 씀(390 그림 약 107×150) */
  .xp-card--skel .xp-case, .rv .xp-card:not(.rv-on) .xp-case { background-position: 2px 6px; background-size: calc(100% - 4px) calc(100% - 13px); }
  .xp-case::before { border-radius: 4.5px; }
  .xp-label { align-items: center; gap: 0; margin: 0 3px; padding: 2px 4px; border-radius: 1.5px; text-align: center; }
  .xp-label strong { display: -webkit-box; max-width: 100%; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font: 700 14px/1.4 var(--font-sans); white-space: normal; overflow-wrap: anywhere; }   /* 카드 이름 12/500 한 줄 → 14/700 두 줄(1.0.27 되살림 DE-03 · 대표 승인 11-18) */
  html[lang=ko] .xp-label strong { word-break: keep-all; }
  html[lang=ko] .xp-label strong.is-long { word-break: normal; }   /* 두 줄에 안 들어가는 이름만 보통 줄바꿈(r2-shell.js 가 잰다) */   /* 한국어 카드 이름 = 낱말에서 줄바꿈(「스컬단의 조무래 / 기」 음절 끊김 · 앱 704cc33 과 같이 · git-ed 11-18) — 한 낱말이 칸보다 길면 overflow-wrap 이 자른다 · 일본어는 keep-all 이 넘침을 만들어 뺌 */
  .xp-label__row { flex-direction: column; align-items: center; gap: 6px; height: auto; }
  .xp-label__meta { max-width: 100%; padding: 0; font: 400 12px/1.333 var(--font-sans); letter-spacing: var(--tracking-sub); }
  .xp-memo { margin: 0 0 -20px; }
  .xp-noprice { padding: 0; }

  .xp-page[data-tab="characters"] .xp-cabinet { gap: 4px; padding: 6px; border-radius: 8px; }
  .xp-chars .xp-row { gap: 8px; height: 214px; }
  .xp-chars .xp-row::before { height: 118px; background-image: url(/css/img/explore-shelf-char-m.webp); }
  .xp-chars .xp-row::after { top: 118px; box-shadow: 0 2px 3px #5c401f33, inset 0 -2px 0 #ad844d3b, 0 -1px 0 #7557333d; }
  .xp-char { height: 214px; }
  .xp-stack { bottom: 96px; }
  .xp-sleeve { width: 83px; height: 116px; padding: 1px; border-radius: 3.2px; }
  .xp-sleeve:first-child { box-shadow: inset 0 0 0 .65px #dde9e7b8, 2.1px 1.5px 3.5px #4d382133; }
  .xp-sleeve:nth-last-child(1) { left: 9.2px; top: 33px; }   /* Figma 「탐색 · 캐릭터 · 모바일」 2425:3688 */
  .xp-sleeve:nth-last-child(2) { left: 13.4px; top: 28.4px; }
  .xp-sleeve:nth-last-child(3) { left: 14px; top: 23.7px; }
  .xp-sleeve:nth-last-child(4) { left: 20px; top: 20.2px; }
  .xp-sleeve:nth-last-child(5) { left: 19px; top: 15.4px; }
  .xp-sleeve:nth-last-child(6) { left: 22.9px; top: 10.6px; }
  .xp-sleeve:nth-last-child(7) { left: 26.3px; top: 5.5px; }
  .xp-cplate { left: 8px; top: 152px; width: calc(100% - 13px); height: 32px; border-radius: 4.2px; }
  .xp-cplate strong { font: 500 12px/1.417 var(--font-sans); }
  .xp-cplate span { font: 400 14px/1.071 var(--font-sans); }
  .xp-cmemo { top: 188px; }   /* 앱 191 — 메모 높이 24 · 기울기로 칸(214) 밖에 나가지 않게 188 */
  .xp-char--skel, .rv .xp-char:not(.rv-on) { background-position: 9px 33px; background-size: 83px 116px; }
  .xp-set--skel .xp-plate::after, .rv .xp-set:not(.rv-on) .xp-plate::after { background: linear-gradient(var(--color-skeleton), var(--color-skeleton)) 50% 12px / 74% 9px no-repeat, linear-gradient(var(--color-skeleton), var(--color-skeleton)) 50% 26px / 48% 9px no-repeat, linear-gradient(var(--color-skeleton), var(--color-skeleton)) 50% 42px / 54% 8px no-repeat; }
  .xp-card--skel .xp-label::after, .rv .xp-card:not(.rv-on) .xp-label::after { background: linear-gradient(var(--color-skeleton), var(--color-skeleton)) 5px 7px / 76% 9px no-repeat, linear-gradient(var(--color-skeleton), var(--color-skeleton)) 5px 24px / 44% 8px no-repeat; }

  .xp-sets .xp-row.is-empty { height: 198px; }
  .xp-cards .xp-row.is-empty { height: 184px; }
}

/* /css/r2-character.css */
/* 03-3 탐색 · 캐릭터 상세 — Figma Renewal 2 「캐릭터 상세 · PC」 2739:170631 · 「모바일」 2739:171056 의 값(tokens.css 이름).
   진열장 타일(.xp-char) · 결과 카드(.xp-card) · 가격 메모(.xp-memo)는 /css/r2-explore.css 그대로 — 여기는 쪽 배치와 표 줄만.
   마크업 = deploy/beta/r2pages/character.py(서버) + /character.html, 동작 = /js/r2-character.js. PC = 1024px 이상. */

.ch { display: flex; flex-direction: column; gap: var(--gap-section); }
.ch > :not(#r2-foot-slot, .r2-foot) { max-width: none; }
.ch-h1 { margin: 0; font: 700 32px/1.188 var(--font-sans); letter-spacing: -0.016em; }

/* ── 머리 — 진열장(440 × 276) · 요약 ───────────────────────────── */
.ch-head { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--gap-section); }   /* PC 왼쪽 = 진열장 + 요약 · 스캔, 오른쪽 = 언어판별 시세 판(Figma 11-17) · 좁으면 아래로 */
.ch-head__main { flex: 0 1 440px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ch-ed-panel { flex: 1 1 560px; min-width: 0; }
.ch-shelf { flex: none; width: 440px; max-width: 100%; padding: 10px 8px; border-radius: 10px; background: linear-gradient(#c18b4814, #c18b4814), #fff7eb url(/css/img/explore-wood.webp) 0 0 / 998px auto; box-shadow: 0 5px 12px #5c493226; }
.ch-shelf__row { position: relative; display: grid; grid-template-columns: 176px; justify-content: center; height: 326px; }
.ch-shelf__row::before { content: ""; position: absolute; inset: 0 0 auto; height: 212px; background: url(/css/img/explore-shelf-char-pc.webp) 0 0 / 1136px 212px; box-shadow: inset 0 -2px 0 #79624247; }
.ch-shelf__row::after { content: ""; position: absolute; inset: 212px 0 0; border-radius: 2px; background: linear-gradient(#fff9e8fa, #fff0d3f5 1px, #e6c595bd 2px, #c39b6175 3px, transparent 3px), linear-gradient(#fff1d563, #ffedd01c 17%, #d1a06721 77%, #9f6e3845), #fff7eb url(/css/img/explore-wood.webp) 0 0 / 998px auto; box-shadow: 0 3px 5px #5c401f33, inset 0 -2px 0 #ad844d3b, 0 -1px 0 #7557333d; }
.ch-shelf .xp-cmemo { display: none; }   /* 머리 타일은 메모 없이 명패만(Figma Pose=02) — 최고 시세는 오른쪽 요약 글에 */
.ch-sum { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ch-sum__n { margin: 0; font: 700 24px/1.208 var(--font-sans); }
.ch-sum__n b { font-weight: 700; }
.ch-btn { min-width: 148px; }
.ch-sum__acts { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ch-more[aria-expanded="true"] svg { transform: rotate(-90deg); }

/* ── 구역 — 「공통 / 구역 제목」 Section · PC(제목 20 · 메타 14 · 오른쪽 동작) ─────────── */
.ch-sec { display: flex; flex-direction: column; gap: 12px; }
.ch-sec__meta { color: var(--color-muted); font: 400 14px/1.5 var(--font-sans); }
.ch-more--m { display: none; }

/* 표 판 — 종이 판(테두리 1 · 7 둥글기) 안에 머리 줄 + 75px 줄(아래 선 1) */
.ch-cols, .ch-row { display: grid; align-items: center; column-gap: 12px; padding: 0 4px; }
.ch-cols { height: 36px; border-bottom: 1px solid var(--color-border); color: var(--color-muted); font: 400 12px/1.45 var(--font-sans); letter-spacing: var(--tracking-sub); }
.ch-list { margin: 0; padding: 0; list-style: none; }
.ch-list > li + li .ch-row { border-top: 1px solid var(--color-border); }
.ch-row { min-height: 75px; padding-block: 12px; color: var(--color-ink); font: 400 14px/1.214 var(--font-sans); text-decoration: none; }
.ch-row:hover { background: #fff5e4; }
.ch-row:focus-visible { outline: 3px solid var(--color-ink); outline-offset: -3px; border-radius: 6px; }
.ch-thumb { display: block; width: 36px; height: 50px; border-radius: 3px; background: var(--ph-card) center / 100% 100% no-repeat; object-fit: cover; }   /* 그림 없는 칸 · 오기 전 = 심볼 판 */
.ch-row strong, .ch-n { overflow: hidden; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.ch-p, .ch-u, .ch-g { text-align: right; white-space: nowrap; }
.ch-p b { font-weight: 700; }
.ch-u b, .ch-g b { font-weight: 400; }
.ch-go { color: var(--color-muted); font: 400 16px/1.188 var(--font-sans); }
/* 가격 순위 — 카드(그림 + 이름 15 · 세트 · 언어판 12) | 시세 140 */
.ch-cols--top, .ch-row--top { grid-template-columns: minmax(0, 1fr) 140px 5px; }
.ch-cols--top > :nth-child(2) { text-align: right; }
.ch-cols--top::after, .ch-cols--all::after, .ch-cols--psa::after { content: ""; }
.ch-row--top { grid-template-columns: 36px minmax(0, 1fr) 140px 5px; }
.ch-name { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.ch-name strong { flex: none; max-width: 60%; font-size: 15px; line-height: 1.2; }
.ch-meta { min-width: 0; overflow: hidden; color: var(--color-muted); font: 400 12px/1.45 var(--font-sans); letter-spacing: var(--tracking-sub); white-space: nowrap; text-overflow: ellipsis; }
/* 전체 시세 — 카드 220(그림 36 + 이름) | 세트 | 언어판 56 | 시세 120 | PSA 10 120 */
.ch-cols--all { grid-template-columns: 220px minmax(0, 1fr) 56px 120px 120px 5px; }
.ch-row--all { grid-template-columns: 36px 172px minmax(0, 1fr) 56px 120px 120px 5px; }
@media (min-width: 1024px) {   /* 언어판 칸 56 = 「일본판」 기준 — 영어 「Japanese」 · 일본어 「日本語版」 은 72 */
  html:not([lang=ko]) .ch-cols--all { grid-template-columns: 220px minmax(0, 1fr) 72px 120px 120px 5px; }
  html:not([lang=ko]) .ch-row--all { grid-template-columns: 36px 172px minmax(0, 1fr) 72px 120px 120px 5px; }
}
.ch-cols--all > :nth-child(n+4), .ch-cols--psa > :nth-child(n+2) { text-align: right; }
.ch-s { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ch-e-m, .ch-g-m { display: none; }
/* PSA 10 — 카드 | PSA 10 160 | 미감정 160 */
.ch-cols--psa { grid-template-columns: minmax(0, 1fr) 160px 160px 5px; }
.ch-row--psa { grid-template-columns: 36px minmax(0, 1fr) 160px 160px 5px; }

/* 언어판별 — 판 3장(368 × 376) · 판 이름 18 + 장수 16 · 결과 카드 171 */
.ch-eds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ch-ed { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 16px 20px; border-radius: var(--radius-panel); background: var(--color-paper); box-shadow: inset 0 0 0 1px var(--color-border); color: inherit; text-decoration: none; }
.ch-ed:focus-visible { outline: 3px solid var(--color-ink); outline-offset: 2px; }
.ch-ed__h { display: flex; align-items: baseline; gap: 8px; }
.ch-ed__h strong { font: 700 18px/1.222 var(--font-sans); }
.ch-ed__h span { color: var(--color-muted); font: 500 16px/1.188 var(--font-sans); }
.ch-ed .xp-card { width: 171px; }
.ch-ed .xp-label strong { text-align: center; }
.ch-ed .xp-label__row { align-items: center; }   /* 칸 제목이 언어판이라 카드 아래 언어판 글자는 없다 — 메모만 가운데 */
.ch-page .xp-head__h { margin: 0; }

/* 자주 묻는 질문 — 「공통 / 내용 펼침 / 질문 행」 */

/* 다른 인기 캐릭터 — 「공통 / 칩」 Compact */
.ch-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ch-chip { display: inline-flex; align-items: center; height: 33px; padding: 0 16px; border-radius: 999px; background: var(--color-paper); box-shadow: inset 0 0 0 1px var(--base-border-strong); color: var(--color-ink); font: 500 14px/1.214 var(--font-sans); text-decoration: none; }
.ch-chip:active { background: var(--color-primary-wash); }

/* ── 모바일 390 ──────────────────────────────────────────── */
@media (max-width: 1023.98px) {
  .ch-h1 { font: 700 24px/1.208 var(--font-sans); }
  /* 모바일 순서 = 시안 03-3 모바일(머리 → 가격 순위 → 언어판별 시세 → …, parity C char 2). PC 는 언어판별 시세가 머리 오른쪽 판이라 DOM 은 머리 안 */
  .ch-head { display: contents; }
  .ch-head__main, .ch-ed-panel { flex: none; }
  .ch > * { order: 3; }
  .ch > .ch-h1 { order: 0; }
  .ch > section[aria-labelledby="ch-top-h"] { order: 1; }
  .ch-ed-panel { order: 2; }
  .ch-shelf { width: auto; }
  /* 머리 진열장 타일은 모바일도 PC 크기(Figma 「탐색 / 캐릭터 타일」 Size=PC) — r2-explore.css 의 모바일 축소를 되돌린다 */
  .ch-shelf .xp-char { height: 326px; }
  .ch-shelf .xp-stack { bottom: 114px; }
  .ch-shelf .xp-sleeve { width: 124px; height: 174px; padding: 2px 1px; border-radius: 4.8px; }
  .ch-shelf .xp-sleeve:nth-child(1) { left: 50px; top: 27px; }   /* Figma 「탐색 / 캐릭터 타일」 Size=PC 7장 자리(뒤 6 → 앞장) */
  .ch-shelf .xp-sleeve:nth-child(2) { left: 46px; top: 36px; }
  .ch-shelf .xp-sleeve:nth-child(3) { left: 42px; top: 41px; }
  .ch-shelf .xp-sleeve:nth-child(4) { left: 36px; top: 49px; }
  .ch-shelf .xp-sleeve:nth-child(5) { left: 35px; top: 53px; }
  .ch-shelf .xp-sleeve:nth-child(6) { left: 27px; top: 60px; }
  .ch-shelf .xp-sleeve:nth-child(7) { left: 25px; top: 66px; }
  .ch-shelf .xp-cplate { left: 14px; top: 244px; width: 152px; height: 40px; border-radius: 5.5px; }
  .ch-shelf .xp-cplate strong { font: 500 17px/1.294 var(--font-sans); }
  .ch-shelf .xp-cplate span { font: 400 14px/1.286 var(--font-sans); }
  .ch-sum { gap: 12px; }
  .ch-sum__n { font: 700 18px/1.222 var(--font-sans); text-align: center; }
  .ch-sum__acts { align-items: center; gap: 12px; }
  .ch-btn { align-self: stretch; }

  .ch-more--pc { display: none; }
  .ch-more--m { display: inline-flex; align-self: flex-start; }
  .ch-cols, .ch-row { column-gap: 8px; padding-inline: 0; }
  .ch-row { min-height: 70px; padding-block: 12px; }
  .ch-row:hover { background: none; }
  .ch-thumb { width: 32px; height: 45px; }
  .ch-go, .ch-cols::after { display: none; }
  /* 가격 순위 — 그림 + (이름 14 / 언어판 12) | 시세 96(보통 굵기) */
  .ch-cols--top { display: none; }
  .ch-row--top { grid-template-columns: 32px minmax(0, 1fr) auto; }
  .ch-name { flex-direction: column; align-items: flex-start; gap: 0; }
  .ch-name strong { display: -webkit-box; max-width: 100%; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 14px; line-height: 1.214; }
  .ch-set { display: none; }
  .ch-row--top .ch-p b { font-weight: 400; }
  /* 전체 시세 — 그림 | 이름 · 시세 / 세트 · 언어판 · PSA 10 두 줄 */
  .ch-cols--all { display: none; }
  .ch-row--all { grid-template-columns: 32px minmax(0, 1fr) auto; grid-template-areas: "t n p" "t s g"; column-gap: 12px; row-gap: 4px; min-height: 74px; padding-block: 14px; }
  .ch-row--all .ch-thumb { grid-area: t; align-self: center; }
  .ch-row--all .ch-n { grid-area: n; display: -webkit-box; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .ch-row--all .ch-p { grid-area: p; }
  .ch-row--all .ch-s { grid-area: s; color: var(--color-muted); font: 400 12px/1.45 var(--font-sans); letter-spacing: var(--tracking-sub); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }   /* 메타 한 줄 */
  .ch-row--all .ch-g { grid-area: g; align-self: start; color: var(--color-muted); font: 400 12px/1.45 var(--font-sans); letter-spacing: var(--tracking-sub); }
  .ch-row--all .ch-e { display: none; }
  .ch-e-m, .ch-g-m { display: inline; }
  /* PSA 10 — 카드 132 | PSA 10 100 | 미감정 92 · 글자 13 */
  .ch-cols--psa { grid-template-columns: minmax(0, 1fr) auto; }
  .ch-cols--psa > :nth-child(3) { grid-column: 2; }   /* 폰 PSA = 숫자 둘을 오른쪽 한 칸에 위아래(PSA 10 · 미감정) — 이름 칸 38 → 넓게 */
  .ch-row--psa { grid-template-columns: 32px minmax(0, 1fr) auto; grid-template-areas: "t n p" "t n u"; row-gap: 2px; font-size: 13px; line-height: 1.231; }
  .ch-row--psa .ch-thumb { grid-area: t; } .ch-row--psa .ch-n { grid-area: n; } .ch-row--psa .ch-p { grid-area: p; } .ch-row--psa .ch-u { grid-area: u; color: var(--color-muted); }
  .ch-row--psa .ch-n { display: -webkit-box; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  /* 언어판별 — 판 118 × 3 · 이름 14 / 장수 13 두 줄 · 결과 카드 107 */
  .ch-eds { gap: 6px; }
  .ch-ed { gap: 6px; padding: 8px 4px 10px; }
  .ch-ed__h { flex-direction: column; align-items: center; gap: 6px; }
  .ch-ed__h strong { font: 700 14px/1.214 var(--font-sans); }
  .ch-ed__h span { font: 500 13px/1.231 var(--font-sans); }
  .ch-ed .xp-card { width: 107px; height: 262px; }
  .ch-ed .xp-label { min-height: 62px; }
  .ch-ed .xp-label strong { display: -webkit-box; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .ch-ed .xp-label__row { justify-content: center; }
  .ch-ed .xp-memo { margin: 2px 0 -20px; }
}

/* 차례 기다림(대표 11-16) — 썸네일은 심볼 판(배경)으로 시작해 위 줄부터 차례로(r2-motion-fx.js). 줄 글자는 처음부터.
   object-position 으로 그림만 밖으로 — 자리 · 회색 배경은 그대로 */
.rv .ch-row:not(.rv-on) .ch-thumb { object-position: -9999px 0; }

.ch-panel { padding-inline: max(var(--pad-surface), calc((100% - 1440px) / 2)); }   /* 읽는 표 = 넓은 화면에서도 머리 · 탭 · 줄을 1440 폭 안 가운데로(이름 ↔ 값이 화면 끝까지 벌어지지 않게 — 관제 11-18 · 진열은 전폭 그대로). 좁은 화면은 max() 가 원래 여백 */

/* /css/r2-set.css */
/* 03-1 탐색 · 세트 상세 — Figma Renewal 2 「세트 상세 · PC」 2538:1842 · 「모바일」 2538:2803 · 리스트 2543:2965 의 값(tokens.css 이름).
   결과 카드 · 레일 · 조건 칩 · 펼침/시트 = /css/r2-explore.css, 구역 제목 · 질문 행 = /css/r2-character.css. 여기는 세트 머리 · 상위 3장 · 조건 줄 · 리스트.
   마크업 = deploy/beta/r2pages/set.py(서버) + /set-detail.html, 동작 = /js/r2-set.js. PC = 1024px 이상. */

.st { gap: var(--gap-section); --st-wood: #fff7eb url(/css/img/explore-wood.webp) 0 0 / 998px auto; }
.st-page .xp-head__h { margin: 0; }

/* ── 머리 — 팩 진열함 + 나무 명패(480) | 시세 상위 3장(656) ──────────────── */
.st-head { display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; }   /* 머리 판 셋(팩 · 소개 · 시세 상위) = 같은 높이 · 위아래 나란히(대표 핀 203422 「판의 높이가 서로 너무 다른데」) */
.st-intro { flex: none; display: flex; align-items: stretch; gap: 14px; width: 480px; }
.st-pack { position: relative; flex: none; display: flex; align-items: flex-end; justify-content: center; width: 202px; min-height: 316px; padding: 0 5px 3px; overflow: hidden; border-radius: 12px; background: var(--st-wood); box-shadow: inset 0 0 0 1px #c49c68, inset 0 0 0 10px #e9cc9c, inset 0 0 0 11px #b98d57, inset 2px 3px 8px 11px #6e46201f, 0 5px 12px #5c493226; }   /* 나무 진열장 틀(시안 03-1 · parity C set 2) */
.st-pack::after { content: ""; position: absolute; z-index: 2; left: 9px; right: 9px; bottom: 7px; height: 15px; border-radius: 2px; background: linear-gradient(#ffffff52, #b1c0b712); box-shadow: inset 0 0 0 1px #ffffffbf, 1px 1px 1px #514b3c1f; }   /* 팩을 잡는 투명 아크릴 앞턱 */
.st-pack__img { position: relative; z-index: 1; display: block; width: 175px; height: auto; max-height: 232px; margin-bottom: 18px; object-fit: contain; border-radius: 5px; filter: drop-shadow(0 2px 2px #50463333); }
.st-pack__none { width: 175px; height: 232px; margin-bottom: 18px; border-radius: 5px; background: #f3e6cf; }
@media (min-width: 1024px) {   /* PC = 틀이 옆 판 높이만큼 늘어나도(머리 판 같은 높이) 팩은 틀 가운데 — 바닥에 붙어 위 2/3 가 비던 것(git-2e 11-18 · 배포 9 전부터 있던 모양) */
  .st-pack { align-items: center; }
  .st-pack__img, .st-pack__none { margin-bottom: 0; }
  .rv .st-pack:not(.rv-on) { background-position: 50% 50%, 50% 0, 0 0; }
}
.st-plate { position: relative; flex: none; display: flex; flex-direction: column; justify-content: center; gap: 12px; width: 264px; min-height: 280px; padding: 20px; border-radius: 5.5px; background:
    radial-gradient(circle at 5.5px 5.5px, #b08752 0 1px, #fae0b0 1.2px 1.6px, transparent 1.8px),
    radial-gradient(circle at calc(100% - 5.5px) 5.5px, #b08752 0 1px, #fae0b0 1.2px 1.6px, transparent 1.8px),
    radial-gradient(circle at 5.5px calc(100% - 5.5px), #b08752 0 1px, #fae0b0 1.2px 1.6px, transparent 1.8px),
    radial-gradient(circle at calc(100% - 5.5px) calc(100% - 5.5px), #b08752 0 1px, #fae0b0 1.2px 1.6px, transparent 1.8px),
    linear-gradient(#ffffff66, #ffffff14 32%, #a6733814), #ffedcf;
  box-shadow: inset 0 0 0 1.1px #f0d6adcc, inset 0 1px 0 #fffbe6, 0 2px 0 #d1b28ce6, 0 1px 1.5px #5940210f; }   /* 탐색 세트 명패(.xp-plate)와 같은 나무 · 핀 */
.st-name { margin: 0; font: 700 26px/1.308 var(--font-sans); overflow-wrap: anywhere; }
.st-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font: 400 13px/1.462 var(--font-sans); letter-spacing: var(--tracking-sub); }
.st-game { display: inline-flex; align-items: center; gap: 6px; color: var(--color-muted); font-weight: 500; }   /* 게임 = 민트 막대 5×15 + 이름 · 언어판 = 둥근 칩(1.0.27 되살림 DE-18 · 대표 승인 11-18) */
.st-game::before { content: ""; width: 5px; height: 15px; border-radius: 2px; background: var(--color-primary); }
.st-ed { padding: 2px 6px; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-page); color: var(--color-muted); font-weight: 500; }
.st-code { display: inline-flex; align-items: center; height: 26px; padding: 0 16px; border-radius: var(--radius-control); background: var(--base-selected); box-shadow: inset 0 0 0 1px var(--base-border-strong); font: 700 12px/1.5 var(--font-sans); }
.st-facts { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; font: 400 14px/1.5 var(--font-sans); }
.st-facts li { display: flex; align-items: center; gap: 6px; }

/* 시세 상위 3장 — 조명 선반(248) + 나무 앞판(88) · 「시세 상위」 이름표 · 케이스 144 × 200 · 셀로판 라벨 · 노란 메모 · 순위 원(금 · 은 · 동) */
.st-top-panel { flex: 1 1 560px; min-width: 0; }   /* 시세 상위 = 공용 종이 판 + 판 머리 · 소개 판 옆(PC 1440 = 641) · 머리 판 셋 높이 같게(stretch) */
.st-top { position: relative; height: 316px; border-radius: 12px; background: var(--st-wood); box-shadow: inset 0 0 0 1px #c49c68, inset 0 0 0 10px #e9cc9c, inset 0 0 0 11px #b98d57, inset 2px 3px 8px 11px #6e46201f, 0 5px 12px #5c493226; }   /* 가장자리 = 탐색 진열장 · 팩 판과 같은 둥근 모서리 · 그림자(대표 핀 203432) */
.st-top::before { content: none; }   /* 조명 선반 그림 뺌 — 틀은 .st-top 안쪽 그림자 */
.st-top::after { content: ""; position: absolute; inset: 244px 11px 11px; border-radius: 0 0 3px 3px; background: linear-gradient(#fff1d563, #ffedd01c 17%, #d1a06721 77%, #9f6e3845), #ffedcf; box-shadow: inset 0 1px 0 #fffbe6, 0 3px 5px #5c401f33; }
.st-top__list { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(var(--cols, 3), 174px); justify-content: start; gap: 24px; margin: 0; padding: 22px 12px 0; list-style: none; }   /* 칸 174 고정 · 열 = 폭에 들어가는 만큼(data-fit) — 넓으면 칸이 늘어난다(관제 11-17) */
.st-top__card { position: relative; display: flex; flex-direction: column; align-items: center; height: 278px; color: inherit; text-decoration: none; }
.st-top__card .xp-case { width: 144px; height: 200px; margin-top: 22px; padding: 7px 5px 6px; }
.st-top__card strong { display: block; align-self: stretch; height: 40px; margin: 0 2px; padding-top: 0; overflow: hidden; border-radius: 2px; background: linear-gradient(#ffffff29, #ffffff0d 14%, #ffffff00 82%, #ffffff1a), #fffdf561; box-shadow: inset 0 0 0 .5px #ffffff80; font: 500 15px/1.4 var(--font-sans); text-align: center; white-space: nowrap; text-overflow: ellipsis; }
.st-top__card .xp-memo { position: absolute; inset-inline: 0; top: 250px; width: fit-content; margin: 0 auto; }   /* 가운데 = 좌우 0 + auto(transform 은 공용 기울기 몫) */
.st-top__card:focus-visible { outline: 3px solid var(--color-ink); outline-offset: 2px; border-radius: 8px; }
.st-rank { position: absolute; z-index: 3; left: 2px; top: 8px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--st-fill, #f6e3a6); box-shadow: inset 0 0 0 1px var(--st-ring, #c9aa52), 0 1px 2px #5c40201f; font: 700 14px/1 var(--font-sans); }   /* 1 금 · 2 은 · 3 동(시안 03-1) */
.st-rank--2 { --st-ring: #acb5af; --st-fill: #e8ece9; }
.st-rank--3 { --st-ring: #bea387; --st-fill: #efd9c2; }
.st-rank--n { --st-ring: #d8c8a8; --st-fill: #fffdf5; }   /* 4위부터 = 종이 배지(금 · 은 · 동은 1 · 2 · 3위만) */

/* ── 수록 카드 — 조건 줄(검색 · 필터 · 정렬 · 타일/리스트) · 레일 · 리스트 ─────────── */
.st-bar { margin: 0; }
.st-cards .xp-chips { margin: 0; }
.st-sorts { display: flex; gap: 6px; }   /* 정렬 칩 4 = 한 줄 같은 폭 · 둥근 테 · 고른 칩 R2 색 테 + 링크색(DE-35) */
.st-sorts button { position: relative; flex: 1; min-width: 0; min-height: 32px; padding: 0 8px; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-page); color: var(--color-ink); font: 400 13px/18px var(--font-sans); cursor: pointer; }
.st-dir:not(:empty) { margin-left: 2px; }   /* 가격 방향 ↓ 높은 순 · ↑ 낮은 순 */
.st-sorts button::after { content: ""; position: absolute; inset: -6px 0; }   /* 누름 칸 44 */
.st-sorts button[aria-checked="true"] { border-color: var(--color-primary); color: var(--color-ink); font-weight: 500; }
.st-sorts button:focus-visible { outline: 3px solid var(--color-ink); outline-offset: 1px; }
.st-rail { --cols: 6; display: flex; flex-direction: column; gap: 16px; padding: 8px 12px 10px; border-radius: 12px; background: var(--st-wood); box-shadow: 0 5px 12px #5c493226; }   /* 가장자리 = 탐색 진열장과 같게(대표 핀 11-16) */
.st-rail:empty { display: none; }
.st-rail.is-list { gap: 0; padding: 0; border-radius: var(--radius-control); background: var(--color-paper); box-shadow: inset 0 0 0 .7px #66664db3; }
.st-rail a { color: inherit; text-decoration: none; }
.st-rail .xp-card:focus-visible { outline: 3px solid var(--color-ink); outline-offset: 2px; border-radius: 8px; }
/* 리스트 — 열 제목 28 · 줄 72(그림 36 × 50 · 이름 · 번호 · 희귀도 | 시세 | 30일 변동 + 추이 | 관심) */
.st-lhead, .st-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) 140px 112px 32px; align-items: center; column-gap: 14px; padding: 0 14px; }
.st-lhead { height: 28px; color: var(--color-muted); font: 400 12px/1.333 var(--font-sans); letter-spacing: var(--tracking-sub); }
.st-lhead span:nth-child(3) { text-align: right; }
.st-row { position: relative; min-height: 72px; border-top: 1px solid #59634d1f; }
.st-row__card { position: absolute; inset: 0; z-index: 1; border-radius: 4px; }
.st-row__card:focus-visible { outline: 3px solid var(--color-ink); outline-offset: -3px; }
.st-row img, .st-row .st-thumb { display: block; width: 36px; height: 50px; border-radius: 2px; background: var(--base-line); object-fit: cover; }
.st-row__name { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.st-row__name strong { overflow: hidden; font: 500 15px/1.333 var(--font-sans); white-space: nowrap; text-overflow: ellipsis; }
.st-row__name span { color: var(--color-muted); font: 400 12px/1.45 var(--font-sans); letter-spacing: var(--tracking-sub); }
.st-row__price { font: 700 18px/1.3 var(--font-sans); text-align: right; white-space: nowrap; }
.st-row__price.is-none { color: var(--color-muted); font: 400 12px/1.45 var(--font-sans); letter-spacing: var(--tracking-sub); }
.st-trend { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; color: var(--color-muted); font: 400 12px/1.333 var(--font-sans); letter-spacing: var(--tracking-sub); }
.st-trend.is-down { color: var(--color-fall); }
.st-trend.is-up { color: var(--color-rise); }
.st-trend svg { width: 112px; height: 16px; overflow: visible; }
.st-trend path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.st-save { position: relative; z-index: 2; display: grid; place-items: center; width: 32px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.st-save svg { width: 20px; height: 20px; fill: none; stroke: var(--color-ink); }
.st-save[aria-pressed="true"] svg { fill: var(--color-rise); stroke: var(--color-rise); }
.st-save:focus-visible { outline: 3px solid var(--color-ink); outline-offset: -2px; border-radius: 6px; }
.st-table .chart-table { padding: 0 12px 12px; overflow-x: auto; }
.st-table table { width: 100%; border-collapse: collapse; font: 400 13px/1.45 var(--font-sans); letter-spacing: var(--tracking-sub); }
.st-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.st-table th, .st-table td { padding: 6px 8px; border-bottom: 1px solid var(--color-border); text-align: left; }
.st-table a { color: var(--color-ink); }
.st-toast { position: fixed; z-index: 70; left: 50%; bottom: 24px; padding: 10px 16px; border-radius: var(--radius-control); background: var(--color-ink); color: #fff; font: var(--text-body); opacity: 0; transform: translateX(-50%); pointer-events: none; transition: opacity .15s ease-out; }
.st-toast.is-on { opacity: 1; }
.st-filter-saved { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 12px 0 14px; border: 0; border-radius: var(--radius-control); background: var(--color-paper); box-shadow: inset 0 0 0 1px var(--base-line); color: var(--color-ink); font: 500 15px/1.467 var(--font-sans); text-align: left; cursor: pointer; }
.st-filter-saved[aria-pressed="true"] { background: var(--base-selected); box-shadow: inset 0 0 0 1.2px var(--color-selected-line); }
.st-filter-saved svg { width: 18px; height: 18px; }

/* ── 모바일 390 ──────────────────────────────────────────── */
@media (max-width: 1023.98px) {
  .st-head { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 12px; }   /* PC 의 줄바꿈(wrap)을 이어받으면 줄 폭 = 가장 넓은 칸(378)이라 본문 366 밖으로 12 넘쳤다(감사 ⑥ 11-17) */
  .st-intro { width: auto; gap: 12px; }
  .st-pack { width: 112px; height: 160px; min-height: 0; padding: 0 2px 1px; border-radius: 8px; }   /* 틀 키워 팩 약 96×132(1.0.27 되살림 DE-17) */
  .st-pack::after { left: 4px; right: 4px; bottom: 3px; height: 7px; }
  .st-pack__img, .st-pack__none { width: 96px; max-height: 132px; margin-bottom: 11px; border-radius: 3px; }   /* 팩 79×105 → 96×132(DE-17) */
  .st-plate { flex: 1; width: auto; min-height: 124px; gap: 6px; padding: 4px 0; background: none; box-shadow: none; }   /* 판 없는 글자(시안 03-1 모바일 · 코멘트 2010784823 · parity C set 7) */   /* 긴 세트 이름이 잘리지 않게 높이는 최소값 */
  .st-name { font: 700 24px/1.333 var(--font-sans); }   /* 세트 이름 20 → 24(DE-16) */
  .st-tags { font: 400 12px/1.333 var(--font-sans); letter-spacing: var(--tracking-sub); }
  .st-facts { flex-direction: row; gap: 14px; font: 400 12px/1.417 var(--font-sans); letter-spacing: var(--tracking-sub); }
  .st-top-panel { flex: none; }
  .st-top { height: 260px; border-radius: 8px; }   /* 메모 아래 받침 여유(parity C set 9) */
  .st-top::after { inset: 174px 11px 11px; }   /* 받침 윗선 = 케이스 아래 끝(PC 244 · 폰 174 = 목록 위 22 + 케이스 위 20 + 132) — 228 · 152 면 밝은 선이 케이스 유리 가장자리 위로 비쳤다(대표 「카드 위를 지나는 선 0」 11-18) */
  .st-top__list { grid-template-columns: repeat(3, minmax(0, 110px)); justify-content: center; gap: 8px; padding-inline: 0; }
  .st-top__card { height: 194px; }
  .st-top__card .xp-case { width: 94px; height: 132px; margin-top: 20px; padding: 6px 4px 5px; }
  .st-top__card strong { height: 20px; font: 500 12px/1.667 var(--font-sans); }   /* 한 줄 — 두 줄이면 아래 줄이 메모에 가렸다(parity C set 8) */
  .st-top__card .xp-memo { top: 176px; }
  .st-rank { width: 24px; height: 24px; font-size: 12px; }
  .st-bar { gap: 6px; }
  .st-rail { --cols: 3; gap: 10px; padding: 8px; border-radius: 8px; }
  .st-lhead { display: none; }
  .st-lhead, .st-row { grid-template-columns: 32px minmax(0, 1fr) auto 32px; column-gap: 10px; padding: 0 10px; }
  .st-row img, .st-row .st-thumb { width: 32px; height: 45px; }
  .st-row__name strong { font-size: 14px; }
  .st-row__price { font-size: 15px; }
  .st-trend { display: none; }
}

/* 불러오는 중 · 차례 기다림(대표 11-16) — 팩 · 시세 상위 카드는 그림 자리만 심볼 판(--ph-pack · --ph-card)으로 시작해 차례로(r2-motion-fx.js). 진열 판 · 이름 · 가격 글은 처음부터 */
.rv .st-pack:not(.rv-on) img, .rv .st-top__card:not(.rv-on) .xp-case img, .rv .st-top__card:not(.rv-on) .xp-memo { visibility: hidden; }
.rv .st-pack:not(.rv-on) { background: var(--ph-pack) 50% calc(100% - 3px) / 78% 86% no-repeat, url(/css/img/explore-shelf-char-pc.webp) 50% 0 / auto 100%, var(--st-wood); }
.rv .st-top__card:not(.rv-on) .xp-case { background: var(--ph-card) 5px 7px / calc(100% - 10px) calc(100% - 13px) no-repeat; }

.st-view { flex: none; }
.st-view > button { width: 44px; padding: 0; }   /* 아이콘 두 칸(타일 · 리스트) — 모양은 공용 .r2-seg */

