@import url("https://fonts.googleapis.com/css2?family=Nanum+Pen+Script&display=swap&text=%EB%86%93%EC%B9%98%EC%A7%80%20%EB%A7%88%EC%84%B8%EC%9A%94!");   /* 메인 이치방쿠지 손글씨 '놓치지 마세요!' 글자만 */
/* 피규어 발매 리스트: 모리스(바탕) + 힌스 + 해지스 참고 */
/* 글꼴: 페이퍼로지(눈누 배포, jsDelivr). 사이트에서 쓰는 굵기만 등록하고, 브라우저는 화면에 쓰인 굵기만 내려받는다 */
@font-face { font-family: "Paperlogy"; src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Paperlogy"; src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Paperlogy"; src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Paperlogy"; src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Paperlogy"; src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Paperlogy"; src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
:root {
  --bg: #e5e5e3;
  --tile: #f1f1f1;
  --ink: #1c1c1e;
  --ink-2: #4a4a4f;
  --ink-3: #75757b;
  --line: #c9c9c6;
  --red: #e0312b;
  --navy: #14162a;
  --orange: #f28a2a;
  --band: #a7a7a5;
  --st-now: #e0312b;
  --st-up: #3a55c8;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Paperlogy", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 15px; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; letter-spacing: 0;
}
::selection { background: var(--ink); color: var(--bg); }
/* 스크롤바: 화살표 없이 얇고 둥근 막대. 막대 둘레를 바탕색으로 칠해 트랙 안에 떠 보이게 한다 */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #b8b8b4; border: 3px solid var(--bg); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #8f8f8b; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
::-webkit-scrollbar-corner { background: transparent; }
/* 흰 드롭다운 목록 안: 흰 바탕에 맞추고 위아래 둥근 모서리만큼 비운다 */
.sel-list::-webkit-scrollbar { width: 14px; }
.sel-list::-webkit-scrollbar-track { background: transparent; margin: 8px 0; }
.sel-list::-webkit-scrollbar-thumb { background: #d6d6d3; border: 4px solid #fff; }
.sel-list::-webkit-scrollbar-thumb:hover { background: #a9a9a5; }
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-width: thin; scrollbar-color: #b8b8b4 var(--bg); }
  .sel-list { scrollbar-width: thin; scrollbar-color: #d6d6d3 transparent; }
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[hidden] { display: none !important; }
.muted { color: var(--ink-3); }
.skip { position: absolute; left: 8px; top: -48px; z-index: 60; padding: 8px 12px; background: #fff; }
.skip:focus { top: 8px; }
svg { width: 100%; height: 100%; }

/* ---------- 공통 조각 ---------- */
.label { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-2); }
.pill-link {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px 0 18px; border: 1px solid var(--ink); border-radius: 999px;
  background: transparent; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s;
}
.pill-link svg { width: 16px; height: 16px; }
.pill-link:hover { background: var(--ink); color: var(--bg); }

/* 메인 섹션 버튼: 흰 알약 + 오른쪽 사선 주황 칸(화살표) + 아래 옅은 그림자 줄. 마우스를 올리면 칸이 남색으로 */
body[data-page="home"] .s-head .pill-link { position: relative; overflow: hidden; isolation: isolate; height: 34px; padding: 0 46px 0 15px; border: 0; font-size: 13px; background: #fff; color: var(--navy); box-shadow: 0 3px 0 rgba(20, 22, 42, .12); font-weight: 700; letter-spacing: -0.01em; }
body[data-page="home"] .s-head .pill-link::after { content: ""; position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 38px; background: var(--orange); clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%); transition: background-color .2s; }
body[data-page="home"] .s-head .pill-link svg { position: absolute; top: 50%; right: 9px; width: 14px; height: 14px; margin-top: -7px; color: #fff; }
@media (hover: hover) { body[data-page="home"] .s-head .pill-link:hover { background: #fff; color: var(--navy); } body[data-page="home"] .s-head .pill-link:hover::after { background: var(--navy); } }
@media (max-width: 767px) {
  body[data-page="home"] .s-head .pill-link { height: 30px; padding: 0 38px 0 12px; font-size: 12px; }
  body[data-page="home"] .s-head .pill-link::after { width: 32px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%); }
  body[data-page="home"] .s-head .pill-link svg { right: 8px; width: 12px; height: 12px; margin-top: -6px; }
}
.noimg { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 100%; padding: 16px; text-align: center; background: var(--tile); }
.noimg b { font-size: 18px; letter-spacing: -0.01em; }
.noimg span { font-size: 12px; color: var(--ink-3); }

/* ---------- 헤더 ---------- */
.hd { position: sticky; top: 0; z-index: 30; background: rgba(229, 229, 227, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hd-row { display: flex; align-items: center; gap: 40px; max-width: 1440px; height: 72px; margin: 0 auto; padding: 0 44px; }
/* 로고 이미지: logo/ 원본을 assets/img/에 투명 배경·3배 크기로 저장해 쓴다 */
.logo { flex-shrink: 0; }
.logo img { display: block; width: auto; height: 48px; }
/* 메인 메뉴(PC): 글자 메뉴. 지금 페이지는 남색 굵은 글자 + 아래 짧은 주황 막대, 마우스를 올리면 옅은 막대가 가운데서 펼쳐진다 */
.gnb { display: flex; align-items: stretch; justify-content: center; gap: 8px; flex: 1; height: 72px; }
/* 메뉴는 화면 정가운데, 오른쪽 검색 · 찜 · 내 계정은 한 묶음으로 촘촘하게 */
@media (min-width: 1024px) {
  .hd-row { display: grid; grid-template-columns: 1fr auto 1fr; }
  .logo { justify-self: start; }
  .gnb { flex: none; }
}
.hd-tools { display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-width: 0; }
.hd-tools .hd-search { margin-right: 6px; }
.gnb a { position: relative; display: inline-flex; align-items: center; padding: 0 18px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; color: #5a5a60; white-space: nowrap; transition: color .2s; }
.gnb a::after { content: ""; position: absolute; left: 50%; bottom: 13px; width: 20px; height: 4px; border-radius: 4px; background: rgba(20, 22, 42, .2); transform: translateX(-50%) scaleX(0); transition: transform .28s cubic-bezier(.22, 1, .36, 1), background-color .2s; }
@media (hover: hover) { .gnb a:hover { color: var(--ink); } .gnb a:hover::after { transform: translateX(-50%) scaleX(1); } }
.gnb a[aria-current="page"] { color: var(--navy); font-weight: 800; }
/* 지금 메뉴의 주황 막대: 진짜 요소(.gnb-bar)라서 페이지를 옮길 때 옆 메뉴로 스윽 미끄러진다 */
.gnb-bar { position: absolute; left: 50%; bottom: 13px; width: 20px; height: 4px; margin-left: -10px; border-radius: 4px; background: var(--orange); }
.gnb a[aria-current="page"]::after { display: none; }
@media (max-width: 1180px) and (min-width: 768px) { .gnb { gap: 28px; } .gnb a { font-size: 15px; } }
.hd-search { position: relative; width: 220px; }
.hd-fav { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; padding: 6px; color: var(--ink); }
.hd-fav:hover { color: var(--red); }
.hd-fav b { position: absolute; top: 0; right: -2px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.hd-search input { width: 100%; height: 36px; padding: 0 30px 0 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-size: 14px; border-radius: 0; }
.hd-search input::placeholder { color: var(--ink-3); }
.hd-search input:focus-visible { outline: none; border-bottom-width: 2px; }
.hd-search > button { position: absolute; right: 0; top: 7px; width: 22px; height: 22px; padding: 0; border: 0; background: none; }
.menu-btn { display: none; width: 34px; height: 34px; padding: 4px; border: 0; background: none; }
@media (max-width: 1023px) {
  .hd-row { height: 60px; padding: 0 20px; gap: 16px; }
  .logo img { height: 40px; }
  .hd-tools { flex: 1; gap: 12px; }
  .hd-search { width: auto; flex: 1; }
  .hd-tools .hd-search { margin-right: 0; }
  .menu-btn { display: block; }
  /* 폰: 메뉴 버튼을 누르면 헤더 아래 흰 카드로 펼친다 */
  .gnb { display: none; position: absolute; top: 64px; left: 12px; right: 12px; z-index: 50; flex-direction: column; align-items: stretch; gap: 4px; margin: 0; padding: 8px; border-radius: 22px;
    box-shadow: 0 20px 40px -18px rgba(20, 22, 42, .45); }
  .gnb.is-open { display: flex; animation: gnb-in .2s cubic-bezier(.22, 1, .36, 1); }
  @keyframes gnb-in { from { opacity: 0; transform: translateY(-6px); } }
  .gnb a { height: 52px; padding: 0 18px; border-radius: 16px; font-size: 17px; }
  .gnb { height: auto; justify-content: flex-start; background: #fff; }
  .gnb a::after, .gnb-bar { display: none; }
  .gnb a[aria-current="page"] { background: #fff1e2; color: var(--navy); }
  .gnb a[aria-current="page"]::before { content: ""; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--orange); }
}

/* ---------- 메인 배너: 배경 그림(assets/img/banner/main.webp, 원본 img/banner/main/) + 왼쪽 글자. 메뉴 아래에 화면 폭 가득 ---------- */
.kv { position: relative; overflow: hidden; height: max(420px, calc(100vw * 763 / 2061)); background: #2c2c4c; }   /* 넓은 모니터에서도 그림 비율 그대로(높이를 막으면 위아래가 잘린다) */   /* 그림 비율대로, 좁은 화면은 420px 이상(양옆은 잘린다) */
.kv-bg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
/* 글자를 로고 줄에 맞추면 좁은 PC 화면에서 그림 왼쪽 아래 왕관 · 캐릭터(그림 폭의 왼쪽 11%)와 겹친다. 그만큼만 그림을 왼쪽으로 밀어 낸다(넓은 화면은 0) */
@media (min-width: 768px) {
  .kv-bg { --kv-shift: max(0px, calc(11.4vw - max(0px, (100vw - 1440px) / 2) - 20px)); inset: 0 auto 0 calc(-1 * var(--kv-shift)); width: calc(100% + var(--kv-shift)); max-width: none; }
}
.kv-in { position: relative; z-index: 2; display: flex; align-items: center; max-width: 1440px; height: 100%; margin: 0 auto; padding: 0 44px 2.5%; box-sizing: border-box; }   /* 글자는 위 메뉴 로고 · 아래 섹션 제목과 같은 세로줄에서 시작 */
.kv-text { max-width: 44%; color: #fff; }
/* 어두운 배경 위 로고: 흰 테두리를 둘러 남색 머리가 묻히지 않게 */
.kv-logo { display: block; width: auto; height: clamp(40px, 4.4vw, 92px); margin-left: -0.3em;
  filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff) drop-shadow(0 6px 14px rgba(0, 0, 0, .35));
  animation: kv-in .9s cubic-bezier(.22, 1, .36, 1) .1s both; }
.kv-title { margin: clamp(18px, 3.4vw, 64px) 0 0; font-size: clamp(28px, 3.35vw, 66px); font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; color: #fff;
  text-shadow: 0 2px 18px rgba(10, 10, 30, .35); animation: kv-in 1s cubic-bezier(.22, 1, .36, 1) .25s both; }
.kv-title em { font-style: normal; color: #ff8a1f; }
.kv-bar { display: block; width: clamp(44px, 3.9vw, 80px); height: clamp(4px, .35vw, 7px); margin: clamp(16px, 2vw, 38px) 0 clamp(14px, 1.6vw, 30px); border-radius: 4px; background: #ff8a1f;
  animation: kv-bar .8s cubic-bezier(.22, 1, .36, 1) .5s both; transform-origin: left center; }
.kv-desc { margin: 0; font-size: clamp(14px, 1.15vw, 23px); line-height: 1.65; color: rgba(255, 255, 255, .9); animation: kv-in 1s cubic-bezier(.22, 1, .36, 1) .45s both; }
/* 배너 아래쪽은 둘러보기 띠의 복숭아빛으로 녹아든다(배너 바닥 → 둘러보기 바탕이 한 장면처럼 이어지게) */
.kv::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; height: 46%; pointer-events: none;   /* -1px: 띠와 사이에 틈이 생기지 않게 */
  background: linear-gradient(180deg, rgba(255, 246, 238, 0) 0, rgba(255, 246, 238, .12) 22%, rgba(255, 246, 238, .38) 45%, rgba(255, 246, 238, .7) 68%, rgba(255, 246, 238, .92) 86%, #fff6ee 100%); }
@keyframes kv-in { from { opacity: 0; transform: translateY(24px); } }
@keyframes kv-bar { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .kv-logo, .kv-title, .kv-bar, .kv-desc { animation: none; } }
@media (max-width: 767px) {
  /* 폰: 피규어는 위쪽에 크게 보이고, 글자는 아래쪽에 남색 그늘을 깔아 읽히게(글자가 피규어를 가리지 않게) */
  .kv { height: 500px; }
  .kv-bg { object-position: 74% 0; }
  .kv::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(0deg, rgba(30, 30, 62, .94) 0, rgba(30, 30, 62, .78) 30%, rgba(30, 30, 62, 0) 58%); }
  .kv-in { align-items: flex-end; padding: 0 20px 56px; }
  .kv::before { height: 64px; }   /* 폰: 아래 글자 밑으로 짧게만 녹아든다 */
  .kv-text { max-width: 100%; }
  .kv-logo { height: 38px; }
  .kv-title { margin-top: 18px; font-size: 26px; line-height: 1.32; }
  .kv-bar { width: 40px; height: 4px; margin: 14px 0 12px; }
  .kv-desc { font-size: 13px; }
}

/* ---------- 시리즈 카드 줄 ---------- */
.lines-row { list-style: none; margin: -10px 0 -20px; padding: 14px 0 28px;  /* 마우스를 올려 카드가 떠오를 때 위 테두리 · 아래 그림자가 잘리지 않게 여유 */ display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 14px) / 6); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lines-row::-webkit-scrollbar { display: none; }
.browse-rail[hidden] { display: none; }
.browse-rail .rail-ctl { margin-top: 18px; }
/* 마우스로 잡아 끌어서 옆으로 넘기기(site.js) */
.is-drag-scroll { cursor: grab; }
.is-dragging { cursor: grabbing; scroll-snap-type: none !important; user-select: none; }
.is-dragging a { pointer-events: none; }
.sc { scroll-snap-align: start; }
.sc a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; isolation: isolate;
  background: var(--bg);
  background: radial-gradient(130% 80% at 50% 0%, color-mix(in srgb, var(--bg) 55%, #fff) 0%, var(--bg) 55%, color-mix(in srgb, var(--bg) 82%, var(--ink)) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s; }
.sc-top { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 18px 16px 0 18px; }
.sc-name { font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: -0.015em; color: color-mix(in srgb, var(--ink) 35%, #1c1c1e); overflow-wrap: normal; word-break: keep-all; }
/* 무대: 피규어 뒤 원형 조명 + 발밑 그림자 */
.sc-stage { position: absolute; left: 50%; bottom: 10%; width: 92%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); }
.sc-stage::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: -2%; height: 9%; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ink) 38%, transparent), transparent); }
.sc-figs { position: absolute; inset: 30% 0 6% 0; }
.bf { position: absolute; bottom: 0; height: 100%; aspect-ratio: 1; mix-blend-mode: multiply; transition: transform .55s cubic-bezier(.22, 1, .36, 1);
  /* 사진 가장자리(제조사 로고 · 저작권 글씨 · '監修中' 표시)를 흐리게 지운다 */
  -webkit-mask-image: radial-gradient(ellipse 62% 64% at 50% 46%, #000 78%, transparent 100%); mask-image: radial-gradient(ellipse 62% 64% at 50% 46%, #000 78%, transparent 100%); }
.bf img, .bf .noimg { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; background: transparent; }
.bf0 { left: 50%; z-index: 2; transform: translateX(-50%); }
.bf1 { left: 50%; height: 74%; transform: translateX(-104%); }
.bf2 { left: 50%; height: 74%; transform: translateX(4%); }
.sc a:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 18px 34px -18px color-mix(in srgb, var(--ink) 60%, transparent); }
.sc a:hover .bf0 { transform: translate(-50%, -8px) scale(1.05); }
.sc a:hover .bf1 { transform: translate(-114%, -2px) rotate(-4deg); }
.sc a:hover .bf2 { transform: translate(14%, -2px) rotate(4deg); }
@media (prefers-reduced-motion: reduce) { .sc a, .bf { transition: none; } }
@media (max-width: 1023px) { .lines-row { grid-auto-columns: calc((100% - 3 * 12px) / 3.4); gap: 12px; } }
@media (max-width: 767px) {
  .lines-row { grid-auto-columns: 44%; gap: 10px; }
  .sc-top { padding: 14px 12px 0 14px; }
  .sc-name { font-size: 15px; }
}

/* ---------- 섹션 ---------- */
.sec { max-width: 1440px; margin: 0 auto; padding: 96px 44px 0; }
.s-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.s-head h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
@media (max-width: 767px) {
  .sec { padding: 80px 20px 0; }
  .s-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .s-head h2 { font-size: 30px; }
}

/* ---------- 타일 ---------- */
li.card { position: relative; }
li.card > a { display: block; }
/* 찜 하트: 사진 오른쪽 위. 마우스가 있는 기기에서는 카드에 올렸을 때(또는 찜한 상품)만 보인다 */
.fav { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; padding: 8px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .88); color: var(--ink-2); box-shadow: 0 2px 8px rgba(20, 22, 42, .08); transition: opacity .2s, color .2s, background .2s; }
.fav:hover { background: #fff; color: var(--ink); }
.fav[aria-pressed="true"] { color: var(--red); --heart-fill: currentColor; }
.fav-btn[aria-pressed="true"] { --heart-fill: currentColor; }
.fav.is-pop svg, .fav-btn.is-pop svg { animation: heart-pop .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes heart-pop { 40% { transform: scale(1.32); } }
@media (hover: hover) {
  .card .fav[aria-pressed="false"] { opacity: 0; }
  .card:hover .fav, .card .fav:focus-visible { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .fav.is-pop svg, .fav-btn.is-pop svg { animation: none; } }
.ph { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 16px; background: var(--tile); }
.ph img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
/* bnkrmall photos sit on light grey (240), which the multiply blend darkens to almost the page colour. Lift that grey to white so the tile colour shows */
.ph img[src*="bnkrmall.co.kr"] { filter: brightness(1.0625); }
/* 상품 카드에 마우스를 올리면: 사진 칸이 살짝 진해지고 피규어가 커지며 떠오르고, 이름에 밑줄, 화살표 버튼이 칠해지며 화살표가 튀어나간다.
   손을 떼도 남지 않도록 마우스가 있는 기기에서만. 키보드로 카드에 오면 같은 모습 */
.ph { transition: background-color .35s cubic-bezier(.22, 1, .36, 1); }
.nm { text-decoration: underline 1.5px transparent; text-underline-offset: 4px; transition: text-decoration-color .25s; }
@media (hover: hover) {
  .card a:hover .ph { background-color: #e8e8e6; }
  .card a:hover .ph img { transform: scale(1.06) translateY(-2px); }
}
/* 피규어 · 이치방쿠지 카드: 작품 페이지처럼 화살표 없이, 마우스를 올리면 작품 고유 색 테두리(없으면 주황) */
.card .ph, .kj-card .kj-ph { transition: background-color .35s cubic-bezier(.22, 1, .36, 1), box-shadow .2s, transform .25s cubic-bezier(.22, 1, .36, 1); }
.card .nm, .kj-card .nm { transition: color .2s; }
.card .fav, .kj-card .fav { transition: opacity .2s, color .2s, background .2s, transform .25s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) {
  .card:hover .ph, .kj-card:hover .kj-ph { box-shadow: 0 0 0 2px var(--wk, var(--orange)), 0 14px 28px -16px rgba(20, 22, 42, .35); transform: translateY(-3px); }
  .card:hover .fav, .kj-card:hover .fav { transform: translateY(-3px); }
  .card:hover .nm, .kj-card:hover .nm { color: var(--wk, var(--orange)); }
}
.card a:focus-visible .ph, .kj-card a:focus-visible .kj-ph { box-shadow: 0 0 0 2px var(--wk, var(--orange)); }
@media (prefers-reduced-motion: reduce) { .card:hover .ph, .kj-card:hover .kj-ph, .card:hover .fav, .kj-card:hover .fav { transform: none; } }
.card a:focus-visible .ph { background-color: #e8e8e6; }
@media (prefers-reduced-motion: reduce) {
  .card a:hover .ph img { transform: none; }
}
.tl { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 18px; }
.nm-wrap { min-width: 0; }
/* 시리즈: 상품명 위에 작게. 상품명과 구분되도록 회색·자간 넓게 */
.nm-series { display: block; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); }
.nm { font-size: 17px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sub { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.grid4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 64px 24px; }
@media (max-width: 1023px) { .grid4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .nm { font-size: 15px; }
  /* 피규어 카드 글자: 카드 높이를 줄인다 */
  .card .nm { font-size: 14px; }
  .card .nm-series, .card .sub { font-size: 12px; }
  .tl { margin-top: 12px; }
}

/* 작품 특집: 큰 사진 1 + 2×2 (힌스) */
.s-note { margin: 10px 0 0; font-size: 14px; color: var(--ink-3); }

/* 가로 레일 (모리스 신제품 줄) */
.rail { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > li { scroll-snap-align: start; }
.rail-ctl { display: flex; align-items: center; gap: 8px; margin-top: 28px; }
.rail-bar { position: relative; flex: 1; height: 2px; background: var(--line); margin-right: 16px; }
.rail-bar i { position: absolute; left: 0; top: 0; height: 100%; background: var(--ink); transition: left .3s, width .3s; }
.rail-ctl button { width: 34px; height: 34px; padding: 6px; border: 0; background: none; color: var(--ink-2); }
.rail-ctl button:hover { color: var(--ink); }
.rail-ctl button:disabled { opacity: .3; cursor: default; }
@media (max-width: 767px) { .rail { grid-auto-columns: 78%; gap: 12px; } .rail-ctl { margin-top: 18px; } }

/* ---------- 알약 탭 (홈 둘러보기) ---------- */
.pills-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; }
.pills-row button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.pills-row button:hover { border-color: var(--ink); color: var(--ink); }
.pills-row button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 767px) {
  .pills-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; }
}

/* ---------- 목록 페이지 ---------- */
.pg { max-width: 1440px; margin: 0 auto; padding: 40px 44px 0;   /* 아래 여백은 바닥글 위 여백(.ft margin-top)만 쓴다 */ }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; font-size: 13px; color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.crumbs b, .crumbs a:last-child { color: var(--ink); font-weight: 600; }  /* 마지막 칸은 링크여도(상품 상세의 시리즈) 굵게 */
.pg-head { margin-bottom: 56px; }
.pg-head h1 { margin: 0; font-size: clamp(36px, 4.4vw, 60px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }

/* 화면에는 안 보이고 화면 읽기 프로그램·검색엔진만 읽는 글자(페이지 제목 등) */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.tabs { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }

.tabs::-webkit-scrollbar { display: none; }
.tabs button { padding: 4px 0; border: 0; background: none; font-size: 16px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.tabs button[aria-pressed="true"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--ink); }

.lp-count { margin: 0; font-size: 14px; color: var(--ink-2); }
.lp-count b { color: var(--ink); }
.mf select { height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; }

.mf select { padding-right: 28px; }

.empty { padding: 96px 0; text-align: center; color: var(--ink-2); }
.empty p { margin: 0 0 20px; font-size: 17px; }
.more-btn { display: block; margin: 80px auto 0; height: 46px; padding: 0 36px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; font-size: 14px; font-weight: 600; }
.more-btn:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 767px) {
  .pg { padding: 24px 20px 0; }
  .crumbs { margin-bottom: 28px; }
  /* 위치 표시는 한 줄로. 마지막 칸(제목)이 길면 … 으로 줄인다 */
  .crumbs { flex-wrap: nowrap; }
  .crumbs > * { flex-shrink: 0; white-space: nowrap; }
  .crumbs > b, .crumbs > a:last-child { flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .pg-head { margin-bottom: 32px; }
  .pg-head h1 { font-size: 34px; }

  .lp-count { margin-right: auto; }
}

/* ---------- 색인 (모리스 제품군 목록) ---------- */
/* 작품·시리즈·제조사 목록: 카드 격자(대표 사진 · 이름 · 상품 수). 한 줄에 넓은 PC 8 · PC 6 · 태블릿 4 · 폰 3 */
.ixlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 28px 14px; }
.ixlist a { position: relative; display: flex; flex-direction: column; }
.ixlist li, .my-works li { position: relative; }
.my-works .fav { top: 8px; right: 8px; width: 32px; height: 32px; padding: 7px; }
.ixlist .fav { transition: opacity .2s, color .2s, background .2s, transform .25s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) {
  .ixlist .fav[aria-pressed="false"], .my-works .fav[aria-pressed="false"] { opacity: 0; }
  .ixlist li:hover .fav, .my-works li:hover .fav, .ixlist .fav:focus-visible { opacity: 1; }
  .ixlist li:hover .fav { transform: translateY(-3px); }
}
/* ---------- 시리즈 목록(series.php .ixlist.ix-series): 한 줄 6칸, 연한 복숭아 카드 + 위 대표 피규어 사진(흰 바탕은 카드 색에 녹임)
   + 아래 옅은 흰 이름 띠(가운데 · 한 줄) ---------- */
.ixlist.ix-series { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 16px; }
.ixlist.ix-series > li { position: relative; overflow: hidden; isolation: isolate; border: 1px solid rgba(240, 160, 110, .2); border-radius: 16px;
  background: linear-gradient(160deg, #fffaf6 0, #fdf0e6 55%, #fbe6d8 100%); box-shadow: 0 2px 6px rgba(150, 80, 30, .05), 0 14px 26px -22px rgba(150, 80, 30, .45);
  transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s, border-color .25s; }
.ixlist.ix-series a { position: relative; color: inherit; text-decoration: none; }
.ixlist.ix-series .ix-img { aspect-ratio: 16 / 10; margin: 8px 8px 0; border-radius: 10px; background: none; box-shadow: none; }
.ixlist.ix-series .ix-img img { mix-blend-mode: multiply; }
.ixlist.ix-series .ix-name { display: block; margin: 6px 0 0; padding: 8px 10px 9px; overflow: hidden; border-top: 1px solid rgba(240, 160, 110, .14); background: rgba(255, 255, 255, .62);
  text-align: center; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; color: #1c2140; }   /* 이름은 한 줄(넘치면 …) */
.ixlist.ix-series .ix-sub { display: none; }
.ixlist.ix-series .fav { top: 10px; right: 10px; width: 34px; height: 34px; background: #fff; box-shadow: 0 2px 8px rgba(20, 22, 42, .12); }
@media (hover: hover) {
  .ixlist.ix-series > li:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 0 0 2px var(--wk, #f7861f), 0 20px 32px -20px rgba(150, 80, 30, .5); }
  .ixlist.ix-series a:hover .ix-img { transform: none; box-shadow: none; }
  .ixlist.ix-series a:hover .ix-img img { transform: scale(1.05); }
  .ixlist.ix-series a:hover .ix-name { color: #1c2140; }
}
@media (max-width: 1023px) { .ixlist.ix-series { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .ixlist.ix-series { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; }
  .ixlist.ix-series > li { border-radius: 12px; }
  .ixlist.ix-series .ix-img { margin: 5px 5px 0; border-radius: 8px; }
  .ixlist.ix-series .ix-name { margin-top: 4px; padding: 5px 6px 6px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .ixlist.ix-series > li { transition: none; } }
/* ---------- 제조사 목록(makers.php .ixlist.ix-maker): 한 줄 5칸. 위 = 제조사 색을 아주 연하게 깐 바탕 + 빛줄기 + 가운데 로고,
   아래 = 흰 이름 띠(가운데), 오른쪽 아래 모서리 = 제조사 색 삼각형. 색은 makers.php 에서(없으면 차례대로 빨강 · 파랑 · 노랑 · 회색 · 하늘) ---------- */
.ixlist.ix-maker { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 20px; }
.ixlist.ix-maker > li:nth-child(5n+1) { --pc: #ff5a5a; } .ixlist.ix-maker > li:nth-child(5n+2) { --pc: #2f8cf0; }
.ixlist.ix-maker > li:nth-child(5n+3) { --pc: #f5c518; } .ixlist.ix-maker > li:nth-child(5n+4) { --pc: #9a9a9a; }
.ixlist.ix-maker > li:nth-child(5n+5) { --pc: #38bdf8; }
.ixlist.ix-maker > li { position: relative; overflow: hidden; isolation: isolate; border-radius: 18px; background: #fff;
  box-shadow: 0 2px 6px rgba(20, 22, 42, .05), 0 16px 28px -22px rgba(20, 22, 42, .45); transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s; }
.ixlist.ix-maker > li::after { content: ""; position: absolute; right: 0; bottom: 0; z-index: 2; width: 34px; height: 34px; pointer-events: none;
  background: var(--wk, var(--pc)); clip-path: polygon(100% 0, 100% 100%, 0 100%); }   /* 오른쪽 아래 색 삼각형 */
.ixlist.ix-maker a { position: relative; color: inherit; text-decoration: none; }
.ixlist.ix-maker .ix-img { aspect-ratio: 16 / 9; border-radius: 0; box-shadow: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, .55) 58%, rgba(255, 255, 255, 0) 66%),
              linear-gradient(118deg, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .4) 75%, rgba(255, 255, 255, 0) 82%),
              linear-gradient(160deg, color-mix(in srgb, var(--wk, var(--pc)) 7%, #fff) 0, color-mix(in srgb, var(--wk, var(--pc)) 20%, #fff) 100%); }
.ixlist.ix-maker .ix-logo img { width: 66%; height: 52%; object-fit: contain; mix-blend-mode: multiply; }   /* 로고 파일의 흰 바탕은 연한 색에 녹인다 */
.ixlist.ix-maker .ix-logo b { font-size: 24px; }
.ixlist.ix-maker .ix-name { display: block; margin: 0; padding: 12px 30px 13px; overflow: hidden; background: #fff; text-align: center; white-space: nowrap; text-overflow: ellipsis;
  font-size: 16px; font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; color: #1c2140; }
.ixlist.ix-maker .ix-sub { display: none; }
.ixlist.ix-maker .fav { top: 10px; right: 10px; width: 34px; height: 34px; background: #fff; box-shadow: 0 2px 8px rgba(20, 22, 42, .12); }
@media (hover: hover) {
  .ixlist.ix-maker > li:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--wk, var(--pc)), 0 20px 32px -20px rgba(20, 22, 42, .45); }
  .ixlist.ix-maker a:hover .ix-img { transform: none; box-shadow: none; }
  .ixlist.ix-maker a:hover .ix-logo img { transform: scale(1.05); }
  .ixlist.ix-maker a:hover .ix-name { color: #1c2140; }
}
@media (max-width: 1023px) { .ixlist.ix-maker { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .ixlist.ix-maker { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
  .ixlist.ix-maker > li { border-radius: 14px; }
  .ixlist.ix-maker > li::after { width: 24px; height: 24px; }
  .ixlist.ix-maker .ix-name { padding: 8px 22px 9px; font-size: 13.5px; }
  .ixlist.ix-maker .ix-logo b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .ixlist.ix-maker > li { transition: none; } }
/* 꽉 찬 배너(피규어 · 제조사, .is-full): 화면이 아무리 넓어도 그림이 가로를 꽉 채운다(양옆 흐림 · 주황 사선 장식 없이). 아주 넓은 화면은 위아래가 조금 잘린다 */
@media (min-width: 768px) {
  .pg-banner.is-full:not(.is-kuji) > img { left: 0; right: 0; width: 100%; max-width: none; transform: none; object-fit: cover; object-position: center; -webkit-mask-image: none; mask-image: none; }
  .pg-banner.is-full:not(.is-kuji)::after { content: none; }
}
@media (min-width: 1600px) {
  .pg-banner.is-figurine:not(.is-kuji) > img { width: 107%; }   /* 피규어 그림은 오른쪽 끝 5% 가 어두운 남색: 조금 넓게 깔아 그 부분을 화면 밖으로(주황이 오른쪽 끝까지 이어지게) */
}
/* 제조사 위 배너(그림 3840×920, 아래가 남색): 피규어 배너 틀 그대로, 바탕색만 그림에 맞추고 폰은 오른쪽 상자 그림이 보이게 */
.pg-banner.is-makers { background-color: rgb(13, 26, 47); }
@media (max-width: 767px) { .pg-banner.is-makers > img { object-position: 78% center; } }
.my-works li { transition: opacity .25s, transform .25s; }
.my-works li.is-out, .fv-figs > li.is-out, #fv-kuji .kj-grid > li.is-out { opacity: 0; transform: scale(.94); }
.fv-figs > li, #fv-kuji .kj-grid > li { transition: opacity .25s, transform .25s; }
.ix-img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 18px; background: var(--tile); box-shadow: 0 0 0 0 rgba(242, 138, 42, 0); transition: box-shadow .2s, transform .25s cubic-bezier(.22, 1, .36, 1); }
.ix-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.ix-img img[src*="bnkrmall.co.kr"] { filter: brightness(1.0625); }
.ix-img .noimg b { font-size: 12px; } .ix-img .noimg span { display: none; }
/* 제조사 목록: 사진 대신 흰 바탕에 로고(없으면 이름 글자) */
.ix-logo { display: grid; place-items: center; background: #fff; }
.ix-logo img { width: 78%; height: 52%; object-fit: contain; mix-blend-mode: normal; }
.ix-logo b { padding: 0 10px; font-size: 22px; font-weight: 900; letter-spacing: -0.02em; color: var(--ink); text-align: center; word-break: keep-all; }
.ix-name { margin-top: 12px; font-size: 16px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; word-break: keep-all; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.ix-sub { margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--ink-3); }
@media (hover: hover) {
  .ixlist a:hover .ix-img img { transform: scale(1.06); }
  .ixlist a:hover .ix-img { box-shadow: 0 0 0 2px var(--wk, var(--orange)), 0 14px 28px -16px rgba(20, 22, 42, .35); transform: translateY(-3px); }
  .ixlist a:hover .ix-name { color: var(--wk, var(--orange)); }
}
@media (max-width: 1279px) { .ixlist { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .ixlist { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) { .ixlist { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 8px; } .ix-img { border-radius: 12px; } .ix-name { margin-top: 8px; font-size: 13.5px; } .ix-sub { font-size: 11.5px; } }

/* 가챠 목록: 이치방쿠지 카드와 같은 열 수(PC 3열 · 태블릿 2열 · 폰 1열). 사진 칸은 사진 비율에 맞춘다 */
.ixlist.is-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; }
.ixlist.is-wide { align-items: start; }
.ixlist.is-wide .ix-img { aspect-ratio: auto; background: none; border-radius: 14px; isolation: auto; }   /* 사진 비율 그대로, 칸 자체의 바탕색은 없앤다 */
.ixlist.is-wide .ix-img img { height: auto; mix-blend-mode: multiply; }   /* 사진 파일 가장자리의 흰 여백이 페이지 바탕색에 녹아든다 */
/* 사진 파일은 정사각형 도화지 가운데에 포스터가 놓여 있어 좌우에만 흰 여백이 있다(위아래는 거의 꽉 참).
   그래서 칸을 포스터 비율(가로 : 세로 = 21 : 25)로 만들어 좌우 여백만 잘라 내고, 위아래는 그대로 둔다 → 포스터 왼쪽 끝이 이름의 시작선과 맞는다 */
.ixlist.is-wide .ix-img { overflow: hidden; aspect-ratio: 21 / 25; }
.ixlist.is-wide .ix-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* 자음을 바꾸면 카드가 스르륵 나오는 효과(opacity · transform)가 카드를 독립된 층으로 만들어 곱하기 합성이 풀린다.
   카드 자체에 페이지 바탕색을 깔아 두면 층이 달라져도 사진의 흰 여백이 같은 회색으로 바뀐다 */
.ixlist.is-wide > li { background: var(--bg); }
/* 마우스를 올려도 칸을 위로 띄우지 않는다: 칸에 transform 이 걸리면 곱하기 합성이 풀려 흰 여백이 다시 보인다 */
@media (hover: hover) { .ixlist.is-wide a:hover .ix-img { transform: none; } }
.ixlist.is-wide .ix-name { margin-top: 12px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.ixlist.is-wide .ix-sub { margin-top: 3px; font-size: 12.5px; }
@media (max-width: 1279px) { .ixlist.is-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .ixlist.is-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; } .ixlist.is-wide .ix-img { border-radius: 12px; } .ixlist.is-wide .ix-name { margin-top: 8px; font-size: 14px; } }

/* 목록 위: 왼쪽 첫 자음 바 · 오른쪽 작품 찾기 상자(작품 페이지만). 폰은 자음 아래에 검색 */
.crumbs:has(~ .ix-bar) { margin-bottom: 28px; }
.ix-bar .ix-find { flex-shrink: 0; height: 42px; margin-left: auto; }  /* 자음 버튼과 같은 높이로 줄 오른쪽 끝 */
/* 한 줄에 안 들어가는 폭에서는 자음 아래에 검색을 꽉 차게 */
@media (max-width: 1279px) { .ix-bar.ix-bar { flex-direction: column; align-items: stretch; gap: 10px; } .ix-bar .ix-find { align-self: stretch; width: auto; margin-left: 0; } }
.ix-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 28px; }
.ix-cho { display: flex; flex-wrap: wrap; gap: 8px; }
.ix-cho button { min-width: 42px; height: 42px; padding: 0 12px; border: 0; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; transition: background-color .15s, color .15s; }
@media (hover: hover) { .ix-cho button:not(:disabled):not([aria-pressed="true"]):hover { background: rgba(242, 138, 42, .15); } }
.ix-cho button[aria-pressed="true"] { background: var(--orange); color: #fff; }
.ix-cho button:disabled { background: transparent; color: #c9c9c6; cursor: default; }
@media (max-width: 767px) {
  .ix-bar { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 20px; }
  .ix-bar .ix-find { flex: 0 0 auto; width: auto; height: 42px; margin-left: 0; }
  /* 폰: 옆으로 밀지 않게 두 줄 격자(한 줄 9칸)로 한눈에 */
  .ix-cho { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 5px; }
  .ix-cho button { min-width: 0; height: 38px; padding: 0; border-radius: 10px; font-size: 14px; }
  .ix-cho button[data-cho=""], .ix-cho button[data-cho="A"], .ix-cho button[data-cho="#"] { font-size: 12px; letter-spacing: -0.02em; }
}

/* ---------- 피규어 연·월 선택 ---------- */
/* 흰 판 한 줄: 남색 해 칸 [‹ 2026 ›] · 전체 · 1월 … 12월 · 미정(고른 칸 뒤로 주황 알약이 미끄러진다) */
/* 이 페이지는 위치 표시·제목·선택 칸·목록 사이를 좁게 */
.crumbs:has(~ .ym) { margin-bottom: 28px; }
.pg-head:has(+ .ym) { margin-bottom: 28px; }
.ym { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; padding: 8px; border-radius: 20px; background: #fff;
  box-shadow: 0 1px 2px rgba(20, 22, 42, .04), 0 14px 32px -18px rgba(20, 22, 42, .22); }
.ym-y { flex: 0 0 auto; display: flex; align-items: center; height: 48px; padding: 0 4px; border-radius: 14px; background: var(--navy); color: #fff; }
.ym-y { position: relative; }
.ym-yl { display: inline-flex; align-items: center; justify-content: center; min-width: 80px; height: 36px; padding: 0 10px; border: 0; border-radius: 12px; background: none; color: #fff; font: inherit; line-height: 1; cursor: pointer; transition: background-color .15s; }
.ym-yl b { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@media (hover: hover) { .ym-yl:hover { background: rgba(255, 255, 255, .12); } }
.ym-yl[aria-expanded="true"] { background: rgba(255, 255, 255, .14); }
/* 해 목록: 해 칸 아래 흰 판, 3칸씩. 보고 있는 해는 남색, 올해는 주황 점 */
.ym-ypop { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; --ym-pop-x: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; width: 248px; padding: 8px; transform: translateX(var(--ym-pop-x));
  border-radius: 16px; background: #fff; border: 1px solid rgba(20, 22, 42, .06); box-shadow: 0 16px 36px rgba(20, 22, 42, .18), 0 2px 6px rgba(20, 22, 42, .06); animation: ym-pop .18s cubic-bezier(.22, 1, .36, 1); }
.ym-ypop[hidden] { display: none; }
@keyframes ym-pop { from { opacity: 0; transform: translate(var(--ym-pop-x), -4px); } }
@media (max-width: 1023px) { .ym-ypop { left: 50%; --ym-pop-x: -50%; } }
.ym-ypop button { position: relative; height: 44px; border: 0; border-radius: 10px; background: #f4f4f2; color: var(--ink); font: inherit; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .15s; }
@media (hover: hover) { .ym-ypop button:not([aria-pressed="true"]):hover { background: #e9e9e6; } }
.ym-ypop button[aria-pressed="true"] { background: #ffe8d1; color: #b45a0a; box-shadow: inset 0 0 0 1.5px rgba(242, 138, 42, .45); }
.ym-ypop button.is-now::after { content: ""; position: absolute; top: 9px; right: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
@media (prefers-reduced-motion: reduce) { .ym-ypop { animation: none; } }
.ym-step { display: grid; place-items: center; width: 36px; height: 36px; padding: 10px; border: 0; border-radius: 10px; background: none; color: rgba(255, 255, 255, .7); cursor: pointer; transition: background-color .15s, color .15s, opacity .15s; }
.ym-step svg { width: 100%; height: 100%; }
@media (hover: hover) { .ym-step:not(:disabled):hover { background: rgba(255, 255, 255, .12); color: #fff; } }
.ym-step:disabled { opacity: .25; cursor: default; }
.ym-m { position: relative; flex: 1; display: grid; grid-template-columns: 1.2fr repeat(12, minmax(0, 1fr)) 1.2fr; gap: 2px; }
.ym-m .ym-tba b { font-size: 17px; letter-spacing: -0.02em; }
/* 그 해 전체: 옅은 남색 바탕 + 남색 글자로 달 칸과 구분. 고르면 다른 칸처럼 주황 알약 */
.ym-m .ym-all { background: rgba(20, 22, 42, .07); }
.ym-m .ym-all b { color: var(--navy); }
@media (hover: hover) { .ym-m .ym-all:not([aria-current]):hover { background: rgba(20, 22, 42, .12); } }
.ym-m .ym-all[aria-current="page"] b { color: #fff; }
.ym-m > a, .ym-m > span { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; height: 48px; border-radius: 14px; line-height: 1; transition: background-color .2s; }
.ym-m b { position: relative; display: flex; align-items: baseline; font-size: 21px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; transition: color .3s; }
.ym-m b small { margin-left: 1px; font-size: 12px; font-weight: 700; letter-spacing: 0; color: var(--ink-3); transition: color .3s; }
.ym-m em { display: none; }  /* figure page: no counts in the selector (counts stay in aria-label) */
.ym-m .is-empty b, .ym-m .is-empty b small, .ym-m .is-empty em { color: #d0d0cd; }
.ym-m .is-now b::after { content: ""; position: absolute; top: -2px; right: -8px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); transition: background-color .3s; }
@media (hover: hover) { .ym-m a:not([aria-current]):hover { background: #f3f3f1; } }
.ym-m a[aria-current="page"] b, .ym-m a[aria-current="page"] b small { color: #fff; }
.ym-m a[aria-current="page"] em { color: rgba(255, 255, 255, .78); }
.ym-m a[aria-current="page"].is-now b::after { background: #fff; }
/* 알약: 스크립트가 고른 달 뒤로 옮긴다. 스크립트가 없으면 고른 달 칸에 바로 칠한다 */
.ym-m a[aria-current="page"] { background: var(--orange); }
.ym-m:has(.ym-ink) a[aria-current="page"] { background: none; }
.ym-ink { position: absolute; top: 0; left: 0; z-index: 0; border-radius: 14px; background: var(--orange); box-shadow: 0 8px 18px -8px rgba(242, 138, 42, .75); opacity: 0; pointer-events: none;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), width .45s cubic-bezier(.22, 1, .36, 1), height .45s cubic-bezier(.22, 1, .36, 1), opacity .25s; }
.ym-ink.is-on { opacity: 1; }
/* 좁은 화면: 위 줄 [‹ 2026 ›], 아래 줄 전체 · 1~12월 · 미정(7칸씩 두 줄) */
@media (max-width: 1023px) {
  .ym { flex-wrap: wrap; gap: 10px; }
  .ym-m { order: 3; flex: 1 0 100%; grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .ym-y { flex: 1 0 100%; justify-content: space-between; height: 46px; }
}
@media (max-width: 767px) {
  .ym { margin-bottom: 32px; padding: 8px; border-radius: 20px; }
  .ym-yl b { font-size: 21px; }
  .ym-yl { min-width: 68px; }
  .ym-m > a, .ym-m > span { height: 44px; border-radius: 12px; }
  .ym-ink { border-radius: 12px; }
  .ym-m b { font-size: 19px; }
  .ym-m em { display: none; }  /* 폰에서는 상품 수를 빼고 연·월만 */
}
@media (prefers-reduced-motion: reduce) { .ym-ink { transition: none; } }
/* 폰: 해 칸·달 칸 대신 셀렉트 두 개 */
.ym-mob { display: none; }
@media (max-width: 767px) {
  .ym { display: block; margin-bottom: 16px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .ym-y, .ym-m { display: none; }
  .ym-mob { display: block; }
}
/* 폰 연·월: 버튼 하나 → 바로 아래 펼쳐지는 판(‹ 해 › + 달 칸 + 그 해 전체 · 미정) */
.ym-mob-btn { display: flex; align-items: center; gap: 10px; width: 100%; height: 46px; padding: 0 14px 0 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; font-weight: 800; text-align: left; cursor: pointer; }
.ym-mob-btn span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ym-mob-btn svg { width: 20px; height: 20px; color: var(--ink-3); }
/* 판은 버튼 바로 아래에 펼쳐진다(바깥을 누르면 닫히도록 투명 막이 화면을 덮는다) */
.ym-mob { position: relative; }
.ysheet { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 300; }
.ysheet[hidden] { display: none; }
.ysheet-bg { position: fixed; inset: 0; background: transparent; }
.ysheet-in { position: relative; padding: 14px; border: 1px solid rgba(20, 22, 42, .08); border-radius: 18px; background: #fff; box-shadow: 0 18px 40px -12px rgba(20, 22, 42, .3); transform-origin: top center; animation: ysDrop .22s cubic-bezier(.22, 1, .36, 1); }
.ysheet.is-out .ysheet-in { animation: ysDrop .15s ease-in reverse forwards; }
@keyframes ysDrop { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.ym-mob-btn[aria-expanded=true] { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.ym-mob-btn[aria-expanded=true] svg { transform: rotate(180deg); }
.ym-mob-btn svg { transition: transform .2s; }
.ysheet-hd { display: none; }
.ys-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ys-head b { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: var(--navy); font-variant-numeric: tabular-nums; }
.ys-step { display: grid; place-items: center; width: 38px; height: 38px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink-2); cursor: pointer; }
.ys-step:disabled { opacity: .35; cursor: default; }
.ys-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.ys-grid > a, .ys-grid > span { position: relative; display: grid; place-items: center; height: 48px; border-radius: 14px; color: var(--ink); font-size: 15px; font-weight: 800; }
.ys-grid .is-empty { color: #c4c4c0; }
.ys-grid .is-now::after { content: ""; position: absolute; top: 9px; right: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.ys-grid [aria-current] { background: var(--orange); color: #fff; }
.ys-grid > a[aria-current] { box-shadow: 0 8px 18px -8px rgba(242, 138, 42, .75); }
.ys-grid [aria-current].is-now::after { background: #fff; }
.ys-foot { grid-column: 1 / -1; display: flex; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(20, 22, 42, .08); }
.ys-foot a { flex: 1; display: grid; place-items: center; height: 40px; border-radius: 12px; background: var(--tile); color: var(--navy); font-size: 14px; font-weight: 700; }
.ys-foot a[aria-current] { background: var(--orange); color: #fff; }
.ys-grid a:active, .ys-step:not(:disabled):active { transform: scale(.96); }
@media (prefers-reduced-motion: reduce) { .ysheet-bg, .ysheet-in { animation: none !important; } }
/* 이치방쿠지 상세 오른쪽: 티켓(왼쪽 매장 발매일 · 점선 절취선 · 오른쪽 정보) + 남색 버튼 */
.kt-ticket { position: relative; display: grid; grid-template-columns: 168px minmax(0, 1fr); margin-bottom: 16px; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(20, 22, 42, .04), 0 14px 30px -20px rgba(20, 22, 42, .3); }
.kt-ticket::before, .kt-ticket::after { content: ""; position: absolute; left: 160px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); }
.kt-ticket::before { top: -8px; } .kt-ticket::after { bottom: -8px; }
.kt-stub { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 22px 20px; border-right: 2px dashed rgba(20, 22, 42, .14); }
.kt-stub small { font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.kt-stub b { font-size: 56px; font-weight: 900; line-height: 1; letter-spacing: -0.05em; color: var(--navy); font-variant-numeric: tabular-nums; }
.kt-stub b.is-tba { color: #c9c9c6; }
.kt-stub span { font-size: 14px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.kt-stub em { align-self: flex-start; margin-top: 8px; padding: 3px 9px; border-radius: 999px; background: var(--orange); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; }
.kt-stub em.is-on { background: var(--navy); }
.kt-info { display: grid; align-content: center; gap: 10px; margin: 0; padding: 20px 24px; }
.kt-info > div { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 10px; font-size: 14.5px; }
.kt-info dt { color: var(--ink-3); font-size: 13px; padding-top: 1px; white-space: nowrap; }
.kt-info dd { margin: 0; font-weight: 700; word-break: keep-all; }
.kt-buy { display: flex; align-items: center; justify-content: center; gap: 10px; height: 60px; border-radius: 18px; background: var(--orange); color: #fff; font-size: 16.5px; font-weight: 800; transition: filter .15s; }
.kt-buy svg { width: 20px; height: 20px; }
@media (hover: hover) { .kt-buy:hover { filter: brightness(.96); } }
@media (max-width: 767px) {
  .kt-ticket { grid-template-columns: 104px minmax(0, 1fr); }
  .kt-ticket::before, .kt-ticket::after { left: 96px; }
  .kt-stub { padding: 18px 10px; } .kt-stub b { font-size: 40px; } .kt-stub span { font-size: 12px; letter-spacing: 0; }
  /* 좁은 칸: 이름(한 줄 고정, 라스트원상이 들어가는 폭) | 값. 긴 경품명은 값 칸 안에서만 줄바꿈 */
  .kt-info { gap: 9px; padding: 14px 12px; } .kt-info > div { grid-template-columns: 58px minmax(0, 1fr); gap: 6px; font-size: 13.5px; }
  .kt-info dt { padding-top: 1px; font-size: 12px; letter-spacing: -0.04em; }
  .kt-info dd { line-height: 1.4; }
  /* 공식 페이지 버튼: 상품 상세의 판매처 버튼과 같은 주황, 낮고 작게 */
  .kt-buy { height: 44px; border-radius: 12px; background: var(--orange); font-size: 15px; }
}
/* ---------- 이치방쿠지 연·월 선택(피규어와 같은 모양으로 시작한 별도 복사본) ---------- */
/* 이 페이지는 위치 표시·제목·선택 칸·목록 사이를 좁게 */
.crumbs:has(~ .kym) { margin-bottom: 28px; }
.pg-head:has(+ .kym) { margin-bottom: 28px; }
.kym { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; padding: 8px; border-radius: 20px; background: #fff;
  box-shadow: 0 1px 2px rgba(20, 22, 42, .04), 0 14px 32px -18px rgba(20, 22, 42, .22); }
.kym-y { flex: 0 0 auto; display: flex; align-items: center; height: 48px; padding: 0 4px; border-radius: 14px; background: var(--navy); color: #fff; }
.kym-y { position: relative; }
.kym-yl { display: inline-flex; align-items: center; justify-content: center; min-width: 80px; height: 36px; padding: 0 10px; border: 0; border-radius: 12px; background: none; color: #fff; font: inherit; line-height: 1; cursor: pointer; transition: background-color .15s; }
.kym-yl b { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@media (hover: hover) { .kym-yl:hover { background: rgba(255, 255, 255, .12); } }
.kym-yl[aria-expanded="true"] { background: rgba(255, 255, 255, .14); }
/* 해 목록: 해 칸 아래 흰 판, 3칸씩. 보고 있는 해는 남색, 올해는 주황 점 */
.kym-ypop { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; --kym-pop-x: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; width: 248px; padding: 8px; transform: translateX(var(--kym-pop-x));
  border-radius: 16px; background: #fff; border: 1px solid rgba(20, 22, 42, .06); box-shadow: 0 16px 36px rgba(20, 22, 42, .18), 0 2px 6px rgba(20, 22, 42, .06); animation: kym-pop .18s cubic-bezier(.22, 1, .36, 1); }
.kym-ypop[hidden] { display: none; }
@keyframes kym-pop { from { opacity: 0; transform: translate(var(--kym-pop-x), -4px); } }
@media (max-width: 1023px) { .kym-ypop { left: 50%; --kym-pop-x: -50%; } }
.kym-ypop button { position: relative; height: 44px; border: 0; border-radius: 10px; background: #f4f4f2; color: var(--ink); font: inherit; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .15s; }
@media (hover: hover) { .kym-ypop button:not([aria-pressed="true"]):hover { background: #e9e9e6; } }
.kym-ypop button[aria-pressed="true"] { background: #ffe8d1; color: #b45a0a; box-shadow: inset 0 0 0 1.5px rgba(242, 138, 42, .45); }
.kym-ypop button.is-now::after { content: ""; position: absolute; top: 9px; right: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
@media (prefers-reduced-motion: reduce) { .kym-ypop { animation: none; } }
.kym-step { display: grid; place-items: center; width: 36px; height: 36px; padding: 10px; border: 0; border-radius: 10px; background: none; color: rgba(255, 255, 255, .7); cursor: pointer; transition: background-color .15s, color .15s, opacity .15s; }
.kym-step svg { width: 100%; height: 100%; }
@media (hover: hover) { .kym-step:not(:disabled):hover { background: rgba(255, 255, 255, .12); color: #fff; } }
.kym-step:disabled { opacity: .25; cursor: default; }
.kym-m { position: relative; flex: 1; display: grid; grid-template-columns: 1.2fr repeat(12, minmax(0, 1fr)) 1.2fr; gap: 2px; }
.kym-m .kym-tba b { font-size: 17px; letter-spacing: -0.02em; }
/* 그 해 전체: 옅은 남색 바탕 + 남색 글자로 달 칸과 구분. 고르면 다른 칸처럼 주황 알약 */
.kym-m .kym-all { background: rgba(20, 22, 42, .07); }
.kym-m .kym-all b { color: var(--navy); }
@media (hover: hover) { .kym-m .kym-all:not([aria-current]):hover { background: rgba(20, 22, 42, .12); } }
.kym-m .kym-all[aria-current="page"] b { color: #fff; }
.kym-m > a, .kym-m > span { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; height: 48px; border-radius: 14px; line-height: 1; transition: background-color .2s; }
.kym-m b { position: relative; display: flex; align-items: baseline; font-size: 21px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; transition: color .3s; }
.kym-m b small { margin-left: 1px; font-size: 12px; font-weight: 700; letter-spacing: 0; color: var(--ink-3); transition: color .3s; }
.kym-m em { display: none; }  /* kuji page: no counts in the selector (counts stay in aria-label) */
.kym-m .is-empty b, .kym-m .is-empty b small, .kym-m .is-empty em { color: #d0d0cd; }
.kym-m .is-now b::after { content: ""; position: absolute; top: -2px; right: -8px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); transition: background-color .3s; }
@media (hover: hover) { .kym-m a:not([aria-current]):hover { background: #f3f3f1; } }
.kym-m a[aria-current="page"] b, .kym-m a[aria-current="page"] b small { color: #fff; }
.kym-m a[aria-current="page"] em { color: rgba(255, 255, 255, .78); }
.kym-m a[aria-current="page"].is-now b::after { background: #fff; }
/* 알약: 스크립트가 고른 달 뒤로 옮긴다. 스크립트가 없으면 고른 달 칸에 바로 칠한다 */
.kym-m a[aria-current="page"] { background: var(--orange); }
.kym-m:has(.kym-ink) a[aria-current="page"] { background: none; }
.kym-ink { position: absolute; top: 0; left: 0; z-index: 0; border-radius: 14px; background: var(--orange); box-shadow: 0 8px 18px -8px rgba(242, 138, 42, .75); opacity: 0; pointer-events: none;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), width .45s cubic-bezier(.22, 1, .36, 1), height .45s cubic-bezier(.22, 1, .36, 1), opacity .25s; }
.kym-ink.is-on { opacity: 1; }
/* 좁은 화면: 위 줄 [‹ 2026 ›], 아래 줄 전체 · 1~12월 · 미정(7칸씩 두 줄) */
@media (max-width: 1023px) {
  .kym { flex-wrap: wrap; gap: 10px; }
  .kym-m { order: 3; flex: 1 0 100%; grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .kym-y { flex: 1 0 100%; justify-content: space-between; height: 46px; }
}
@media (max-width: 767px) {
  .kym { margin-bottom: 32px; padding: 8px; border-radius: 20px; }
  .kym-yl b { font-size: 21px; }
  .kym-yl { min-width: 68px; }
  .kym-m > a, .kym-m > span { height: 44px; border-radius: 12px; }
  .kym-ink { border-radius: 12px; }
  .kym-m b { font-size: 19px; }
  .kym-m em { display: none; }  /* 폰에서는 상품 수를 빼고 연·월만 */
}
@media (prefers-reduced-motion: reduce) { .kym-ink { transition: none; } }
/* 폰: 해 칸·달 칸 대신 피규어와 같은 버튼 + 펼침 판(.ym-mob) */
@media (max-width: 767px) {
  .kym { display: block; margin-bottom: 16px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .kym-y, .kym-m { display: none; }
}
/* 달을 바꾸는 동안 목록을 흐리게 두었다가, 새 목록은 살짝 아래에서 떠오른다 */
/* 상품 상세: 제목 오른쪽에 하트만 있는 둥근 찜하기 버튼 */

/* 바탕에 묻히는 옅은 동그라미 + 빨간 선 하트. 찜하면 빨간 동그라미 + 흰 꽉 찬 하트 */
.fav-btn { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: #f6e2df; color: var(--red); cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .15s; }
@media (hover: hover) { .fav-btn:hover { background: #f2d2ce; } }
.fav-btn:active { transform: scale(.94); }
.fav-btn svg { width: 24px; height: 24px; }
.fav-btn svg path { stroke-width: 2; }
.fav-btn[aria-pressed="true"] { background: var(--red); color: #fff; box-shadow: 0 8px 18px -8px rgba(224, 49, 43, .7); }
@media (hover: hover) { .fav-btn[aria-pressed="true"]:hover { background: #c92a25; } }

/* 작품 페이지: 월별 발매 막대. 지난달까지 회색, 다가올 달 남색, 이번 달 주황 */

/* 셀렉트 박스: 둥근 흰 버튼 + 체크 상자 목록(site.js가 기본 select를 감싼다) */
.sel { position: relative; display: inline-block; vertical-align: middle; }
/* site.js 가 꾸미기 전(새로고침 직후) 맨 select 도 꾸민 칸과 같은 모양 · 폭으로 보이게 */
main select:not(.sel select) { height: 40px; padding: 0 38px 0 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2375757b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 18px; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; -webkit-appearance: none; appearance: none; field-sizing: content; }
.sel select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.sel-btn { display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 10px 0 16px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; text-align: left; transition: border-color .15s, box-shadow .15s; }
.sel-btn span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sel-btn svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--ink-3); transition: transform .2s cubic-bezier(.22, 1, .36, 1); }
.sel-btn:hover { border-color: var(--ink-3); }
.sel.is-open .sel-btn { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.sel.is-open .sel-btn svg { transform: rotate(180deg); color: var(--ink); }
.sel-list { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; min-width: 100%; width: max-content; max-width: min(340px, calc(100vw - 40px)); max-height: 320px;
  overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid rgba(20, 22, 42, .06); border-radius: 14px;
  box-shadow: 0 14px 32px rgba(20, 22, 42, .14), 0 2px 6px rgba(20, 22, 42, .06); animation: sel-in .16s cubic-bezier(.22, 1, .36, 1); }

.sel-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ink); cursor: pointer; }
.sel-list li + li { margin-top: 2px; }
.sel-list li.is-active { background: #f4f4f3; }
.sel-list li[aria-selected="true"] { background: #ededec; font-weight: 700; }
.sel-box { flex-shrink: 0; display: grid; place-items: center; width: 20px; height: 20px; border: 1.5px solid #c9c9c6; border-radius: 5px; background: #fff; color: transparent; }
.sel-box svg { width: 14px; height: 14px; }
[aria-selected="true"] > .sel-box { background: var(--orange); border-color: var(--orange); color: #fff; }
@keyframes sel-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .sel-list { animation: none; } .sel-btn svg { transition: none; } }

/* 달 목록 거르기: 작품·제조사 */
.mf { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 40px; }
.mf .sel { max-width: 280px; }
/* 이 달에서 이름으로 찾기 */
.mf-q { display: flex; align-items: center; gap: 8px; width: 260px; min-width: 0; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.mf-q svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--ink-3); }
.mf-q input { flex: 1; width: 100%; min-width: 0; height: 100%;  /* 폰 브라우저의 입력칸 기본 폭이 바깥 칸을 밀어내지 않게 */ border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; }
.mf-q input::placeholder { color: var(--ink-3); }
.mf-q:focus-within { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.mf .lp-count { margin-left: auto; }
@media (max-width: 767px) {
  .mf { gap: 8px; margin-bottom: 28px; }
  .mf .sel { flex: 1 1 0; min-width: 0; max-width: none; }
  /* 검색: 작품 | 제조사 한 줄, 시리즈는 아래 줄에 전체 폭 */
  body[data-page="search"] .mf .sel { flex: 1 1 calc(50% - 4px); }
  .mf-q { flex-basis: 100%; width: auto; }
  .mf .lp-count { flex-basis: 100%; margin: 4px 0 0; }
}
/* 달을 바꾸는 동안 목록만 흐려진다(위 거르기 줄 .mf 는 그대로). 새 카드는 아래에서 살짝 떠오르며 하나씩 차례로 스르륵 나온다(site.js 가 .is-reveal · --i 를 붙인다) */
.mt-body > :not(.mf) { transition: opacity .25s ease; }
.mt-body.is-loading > :not(.mf) { opacity: .3; }
.mt-body.is-entering > :not(.mf) { transition: none; }
@keyframes card-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
[data-month-grid].is-reveal > li { animation: card-in .55s cubic-bezier(.22, 1, .36, 1) backwards; animation-delay: calc(min(var(--i, 0), 11) * 45ms); }
@media (prefers-reduced-motion: reduce) { .mt-body > :not(.mf) { transition: none; } [data-month-grid].is-reveal > li { animation: none; } }

/* ---------- 상품 상세(더쿠모 모양: 둥근 흰 무대 · 남색 발매 카드 · 정보 칸 · 주황 버튼) ---------- */
.it { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.it-media { position: sticky; top: 24px; }
.it-stage { margin: 0; overflow: hidden; border-radius: 28px; background: var(--tile);   /* 목록 카드와 같은 옅은 회색 */ box-shadow: 0 1px 2px rgba(20, 22, 42, .04), 0 18px 40px -24px rgba(20, 22, 42, .28); }
.it-stage img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }   /* 사진의 흰 바탕이 회색에 녹아든다 */
.it-stage .noimg { width: 100%; aspect-ratio: 1; }
.it-stage img[src*="bnkrmall.co.kr"] { filter: brightness(1.0625); }
.it-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.it-thumbs button { width: 68px; height: 68px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #fff; cursor: pointer; opacity: .6; transition: opacity .15s, box-shadow .15s; }
.it-thumbs img { width: 100%; height: 100%; object-fit: contain; }
@media (hover: hover) { .it-thumbs button:hover { opacity: 1; } }
.it-thumbs button[aria-current] { opacity: 1; box-shadow: 0 0 0 2px var(--orange); }
.it-body { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; min-width: 0; }
.it-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.it-work { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13.5px; font-weight: 700; transition: background-color .15s; }
@media (hover: hover) { .it-work:hover { background: #262a48; } }
.it-work-logo { display: inline-flex; align-items: center; height: 46px; transition: opacity .15s; }
/* 예약 중 표시: 로고 옆 주황 그라데이션 알약. 알약 전체가 은은한 빛과 함께 천천히 깜빡인다 */
.it-rs { display: inline-flex; align-items: center; gap: 7px; height: 30px; margin-right: auto; padding: 0 13px 0 11px; border-radius: 999px; background: linear-gradient(135deg, #f99b3a, #ec7410); color: #fff; box-shadow: 0 4px 12px -3px rgba(236, 116, 16, .6); font-size: 13px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; animation: itRs 1.6s ease-in-out infinite; }
.it-rs i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
@keyframes itRs { 50% { opacity: .5; box-shadow: 0 2px 6px -3px rgba(236, 116, 16, .3); } }
@media (prefers-reduced-motion: reduce) { .it-rs { animation: none; } }
.it-work-logo img { display: block; max-width: 165px; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (hover: hover) { .it-work-logo:hover { opacity: .8; } }
@media (max-width: 767px) { .it-work-logo { height: 32px; } .it-work-logo img { max-width: 120px; } }
.it-name { margin: 0; font-size: clamp(24px, 3vw, 44px); font-weight: 800; line-height: 1.25; letter-spacing: -0.025em; min-width: 0; max-width: 100%; }  /* 이치방쿠지 제목(.kj-title h1)과 같은 크기 · 줄바꿈 */
.it-ja { margin: -12px 0 0; color: var(--ink-3); }
.it-none { margin: 0; padding: 16px 18px; border-radius: 16px; background: rgba(20, 22, 42, .05); font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 1023px) { .it { grid-template-columns: minmax(0, 1fr); gap: 28px; } .it-media { position: static; } }
@media (max-width: 767px) {
  .it-stage { border-radius: 22px; }
  .it-thumbs button { width: 56px; height: 56px; }
  /* 폰: 사진 아래 ~ 로고 줄 간격과 로고 · 예약 중 · 찜 크기를 줄인다 */
  .it { gap: 14px; }
  .it-body { gap: 14px; padding-top: 0; }
  .it-ja { margin-top: -8px; }
  .it-top { gap: 8px; }
  .it-work { height: 30px; padding: 0 12px; font-size: 13px; }
  .it-rs { gap: 5px; height: 24px; padding: 0 9px 0 8px; font-size: 11.5px; }
  .it-rs i { width: 6px; height: 6px; }
  .it-top .fav-btn { flex-shrink: 0; width: 38px; height: 38px; }
  .it-top .fav-btn svg { width: 19px; height: 19px; }
}

/* 상품 상세 오른쪽: 흰 카드 한 장(발매월·정보·판매처 버튼) */
.vc-card { padding: 8px 24px 22px; border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgba(20, 22, 42, .04), 0 16px 36px -24px rgba(20, 22, 42, .3); }
.vc-card dl { margin: 0 0 18px; }
.vc-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 15px 0; border-bottom: 1px dotted rgba(20, 22, 42, .2); }
.vc-row dt { padding-top: 2px; font-size: 13px; color: var(--ink-3); }
.vc-row dd { margin: 0; font-size: 15.5px; font-weight: 700; word-break: keep-all; }
.vc-rel dd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.vc-ym { font-weight: 700; }  /* b 태그 기본값(바깥보다 더 굵게)을 막아 다른 값과 같은 굵기로 */
@media (min-width: 768px) { .vc-row dt { font-size: 14px; } .vc-row dd { font-size: 17px; } }
/* 일정: 예약 → 발매 단계(이름표 색: 예약 주황 테두리, 발매 주황 채움) */
.vc-steps { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.vs-step { display: inline-flex; align-items: center; gap: 7px; }
.vs-step i { font-style: normal; font-size: 11.5px; font-weight: 700; line-height: 1; padding: 4px 7px; border-radius: 999px; }
.vs-res i { color: #b85d0c; background: #fff; box-shadow: inset 0 0 0 1px var(--orange); }
.vs-out i { color: #fff; background: var(--orange); }
.vs-to { color: var(--ink-3); font-weight: 400; font-size: 17px; line-height: 1; }
.vc-rel small { flex-basis: 100%; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }

.vc-buy { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 16px; background: var(--orange); color: #fff; font-size: 16px; font-weight: 800; transition: filter .15s; }
.vc-buy svg { width: 20px; height: 20px; }
/* 판매처 여러 곳: '판매처 N곳' 아래에 이름만 적은 주황 버튼 격자(칸 폭 140px 이상, 곳이 늘면 줄이 늘어난다) */
.vc-shops-t { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.vc-shops-t b { color: var(--orange); }
.vc-shops ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.vc-shop { display: grid; place-items: center; height: 48px; padding: 0 12px; border-radius: 14px; background: var(--orange); color: #fff; font-size: 15px; font-weight: 800; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: filter .15s; }
.vc-shop.is-off { background: #ececea; color: var(--ink-3); }
@media (hover: hover) { a.vc-shop:hover { filter: brightness(.96); } }
@media (hover: hover) { .vc-buy:hover { filter: brightness(.96); } }

@media (max-width: 767px) {
  .vc-card { padding: 4px 18px 18px; }
  /* 일정: 예약 · 발매를 한 줄로. 이름표가 순서를 보여 주니 화살표는 뺀다. 칸이 모자라는 아주 좁은 폰이나 단계가 3개면 다음 줄로 내려간다 */
  .vc-rel { display: block; padding: 11px 0 12px; }
  .vc-rel dt { padding-top: 0; font-size: 11.5px; line-height: 1.3; white-space: nowrap; }
  .vc-rel dd { margin-top: 3px; }
  .vc-steps { gap: 4px 10px; }
  .vs-to { display: none; }
  .vs-step { gap: 4px; }
  .vs-step i { padding: 3px 6px; font-size: 10.5px; }
  .vs-step .vc-ym { font-size: 14px; white-space: nowrap; }
  /* 정보 칸: 2열. 일정은 위에 전체 폭, 나머지는 한 칸에 이름(작게) 위 · 값 아래. 짝이 없는 마지막 칸은 전체 폭 */
  .vc-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .vc-rel { grid-column: 1 / -1; }
  .vc-row:not(.vc-rel) { display: block; padding: 11px 0 12px; }
  .vc-row:not(.vc-rel) dt { padding-top: 0; font-size: 11.5px; line-height: 1.3; white-space: nowrap; }
  .vc-row:not(.vc-rel) dd { margin-top: 3px; font-size: 15.5px; line-height: 1.4; }
  .vc-row:last-child:nth-child(even) { grid-column: 1 / -1; }
  .vc-buy { gap: 8px; height: 44px; border-radius: 12px; font-size: 15px; }
  .vc-shop { height: 42px; border-radius: 12px; font-size: 14px; }
  .vc-shops ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vc-buy svg { width: 18px; height: 18px; }
}

/* 상품 상세: 큰 사진 누르면 크게 보기 */
.it-zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.it-zoom img { transition: transform .25s cubic-bezier(.22, 1, .36, 1); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.it-zoom.is-hover img { transform: scale(2); transition-duration: .12s; }
.it-zoom.is-hover .it-zoom-ico { opacity: 0; }
.it-zoom-ico { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(20, 22, 42, .72); color: #fff; opacity: .85; transition: opacity .2s, transform .2s; }
.it-zoom-ico svg { width: 18px; height: 18px; }
@media (hover: hover) { .it-zoom:hover .it-zoom-ico { opacity: 1; transform: scale(1.06); } }
.zv-lock, .zv-lock body { overflow: hidden; }
/* 크게 보기: 위 제목 줄(등급 · 이름 | 몇 번째 | 닫기) · 가운데 큰 사진(좌우 화살표) · 아래 작은 사진 줄 */
.zv { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-rows: 76px minmax(0, 1fr) auto; background: rgba(10, 11, 22, .97); animation: zv-in .2s ease-out; }
@supports (backdrop-filter: blur(1px)) { .zv { background: rgba(10, 11, 22, .9); backdrop-filter: blur(14px); } }
.zv[hidden] { display: none; }
@keyframes zv-in { from { opacity: 0; } }
.zv-cap { grid-area: 1 / 1; align-self: center; justify-self: start; display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; margin: 0; padding: 0 24px; color: #fff; font-size: 16px; font-weight: 700; }
.zv-cap span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.zv-cap b { flex: 0 0 auto; display: grid; place-items: center; height: 28px; padding: 0 10px; border-radius: 9px; background: #fff; color: var(--navy); font-size: 13.5px; font-weight: 800; }
.zv-count { grid-area: 1 / 2; align-self: center; margin: 0; color: rgba(255, 255, 255, .7); font-size: 14px; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.zv-count em { font-style: normal; color: #fff; }
.zv-close { grid-area: 1 / 3; align-self: center; justify-self: end; margin-right: 20px; }
.zv-stage { grid-area: 2 / 1 / 3 / 4; position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; padding: 4px 104px 24px; }
.zv-stage img { max-width: 100%; max-height: calc(100vh - 106px); max-height: calc(100dvh - 106px); border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); object-fit: contain; }
.zv.is-zoomed .zv-stage { position: fixed; inset: 0; z-index: 2; place-items: start; padding: 0; overflow: auto; }
.zv.is-zoomed .zv-stage img { max-width: none; max-height: none; border-radius: 0; cursor: zoom-out; }
.zv-close, .zv-prev, .zv-next { z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; padding: 12px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background-color .15s, transform .15s; }
.zv-close svg, .zv-prev svg, .zv-next svg { width: 100%; height: 100%; }
.zv-prev, .zv-next { position: absolute; top: calc(50% + 38px); width: 56px; height: 56px; margin-top: -28px; padding: 15px; background: #fff; color: var(--navy); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.zv-prev { left: var(--zv-l, 28px); } .zv-next { right: var(--zv-r, 28px); }
.zv-close { position: absolute; top: var(--zv-ct, 14px); right: var(--zv-cr, 20px); margin: 0; }
.zv .zv-close { margin-right: 0; }
.zv .zv-close { background: rgba(20, 22, 42, .7); }
@media (hover: hover) { .zv .zv-close:hover { background: rgba(20, 22, 42, .9); } }
@media (max-width: 767px) { .zv .zv-close { width: 40px; height: 40px; padding: 10px; } }
@media (hover: hover) { .zv-close:hover { background: rgba(255, 255, 255, .22); } .zv-prev:hover, .zv-next:hover { transform: scale(1.06); } }
.zv-prev[hidden], .zv-next[hidden], .zv-count[hidden], .zv-cap[hidden] { display: none; }
.zv.is-zoomed .zv-prev, .zv.is-zoomed .zv-next, .zv.is-zoomed .zv-cap, .zv.is-zoomed .zv-count, .zv.is-zoomed .zv-thumbs { display: none; }
/* 작은 사진 줄(한 경품의 사진들) */
.zv-thumbs { grid-area: 3 / 1 / 4 / 4; justify-self: center; display: flex; gap: 10px; max-width: calc(100% - 32px); margin: 0 0 24px; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .06); overflow-x: auto; scrollbar-width: none; }
.zv-thumbs[hidden] { display: none; }
.zv.has-thumbs .zv-stage img { max-height: calc(100vh - 220px); max-height: calc(100dvh - 220px); }
.zv-thumbs button { flex: 0 0 auto; width: 68px; height: 68px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #fff; opacity: .4; cursor: pointer; transition: opacity .15s, box-shadow .15s, transform .15s; }
.zv-thumbs button img { display: block; width: 100%; height: 100%; object-fit: contain; }
.zv-thumbs button.is-on { opacity: 1; box-shadow: 0 0 0 3px var(--orange); }
@media (hover: hover) { .zv-thumbs button:not(.is-on):hover { opacity: .8; transform: translateY(-2px); } }
@media (max-width: 767px) {
  .zv { grid-template-rows: 64px minmax(0, 1fr) auto; }
  .zv-cap { padding: 0 12px 0 16px; font-size: 14px; } .zv-cap b { height: 24px; font-size: 12px; }
  .zv-close { margin-right: 10px; width: 44px; height: 44px; }
  .zv-count { font-size: 13px; }
  .zv-stage { padding: 4px 12px 16px; }
  .zv-stage img { max-height: calc(100dvh - 88px); } .zv.has-thumbs .zv-stage img { max-height: calc(100dvh - 176px); }
  .zv-prev, .zv-next { width: 40px; height: 40px; margin-top: -20px; padding: 10px; top: calc(50% + 32px); }
  .zv-prev { left: 16px; } .zv-next { right: 16px; }
  .zv-thumbs { gap: 8px; margin-bottom: 16px; padding: 8px; } .zv-thumbs button { width: 52px; height: 52px; }
  .it-zoom-ico { right: 12px; bottom: 12px; width: 36px; height: 36px; }
}
/* 폰 사진 크게 보기: 사진은 그림자 없이 둥글게, 화살표는 사진 위에 반투명 작은 원, 몇 번째는 알약, 작은 사진 줄은 배경 없이 */
@media (max-width: 767px) {
  .zv { background: #0c0d1a; backdrop-filter: none; }  .zv-stage img { border-radius: 14px; box-shadow: none; }
  .zv-prev, .zv-next { width: 36px; height: 36px; margin-top: -18px; padding: 9px; background: rgba(20, 22, 42, .55); color: #fff; box-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .zv-prev { left: 20px; } .zv-next { right: 20px; }
  .zv-count { padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 12.5px; }
  .zv-thumbs { gap: 8px; padding: 0 4px; background: none; }
  .zv-thumbs button { width: 48px; height: 48px; border-radius: 10px; }
  .zv-thumbs button.is-on { box-shadow: 0 0 0 2px var(--orange); }
}
@media (prefers-reduced-motion: reduce) { .zv { animation: none; } .it-zoom img { transition: none; } }
/* 메인: 이번 달 이치방쿠지(배너 카드 + D-day) */
.hk-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hk-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: var(--tile); }
.hk-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
@media (max-width: 1023px) { .hk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .hk-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
  .hk-grid::-webkit-scrollbar { display: none; }
  .hk-grid li { flex: 0 0 78%; scroll-snap-align: start; }
}
/* 오른쪽 아래 플로팅 버튼(최근 본 상품 · 찜한 상품) + 오른쪽 패널 */
.fb { position: fixed; right: 20px; bottom: 24px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.fb-btn { position: relative; display: grid; place-items: center; width: 52px; height: 52px; padding: 14px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer;
  box-shadow: 0 2px 6px rgba(20, 22, 42, .08), 0 12px 24px -10px rgba(20, 22, 42, .35); transition: transform .15s, background-color .15s, color .15s; }
.fb-btn svg { width: 100%; height: 100%; }
.fb-btn[data-fb="fav"] { color: var(--red); }
@media (hover: hover) { .fb-btn:hover { transform: translateY(-2px); } }
.fb-btn b { position: absolute; top: -2px; right: -2px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
.fb-btn b[hidden] { display: none; }
.fb-panel { position: fixed; inset: 0; z-index: 90; }
.fb-panel[hidden] { display: none; }
.fb-dim { position: absolute; inset: 0; background: rgba(12, 13, 26, .4); backdrop-filter: blur(2px); animation: zv-in .2s ease-out; }
/* PC: 오른쪽 흰 서랍 */
.fb-sheet { position: absolute; top: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; width: min(400px, calc(100% - 24px)); overflow: hidden; border-radius: 24px; background: #fff;
  box-shadow: 0 24px 60px -20px rgba(20, 22, 42, .45); animation: fb-in .3s cubic-bezier(.22, 1, .36, 1); }
@keyframes fb-in { from { transform: translateX(calc(100% + 24px)); } }
.fb-grip { display: none; }
.fb-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 14px 20px; border-bottom: 1px solid rgba(20, 22, 42, .08); }
.fb-title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 20px; font-weight: 900; letter-spacing: -0.02em; }
.fb-title b { font-size: 17px; font-weight: 800; color: var(--orange); font-variant-numeric: tabular-nums; }
.fb-title b:empty { display: none; }
.fb-title-ico { display: grid; place-items: center; width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: rgba(20, 22, 42, .06); color: var(--navy); }
.fb-title-ico.fb-title-fav { background: rgba(224, 49, 43, .08); color: var(--red); }
.fb-title-ico svg { width: 100%; height: 100%; }
.fb-x { display: grid; place-items: center; width: 38px; height: 38px; padding: 10px; border: 0; border-radius: 50%; background: #f2f2f0; color: var(--ink-2); cursor: pointer; transition: background-color .15s; }
@media (hover: hover) { .fb-x:hover { background: #e7e7e4; } }
.fb-x svg { width: 100%; height: 100%; }
.fb-body { flex: 1; overflow-y: auto; padding: 14px 16px 20px; }
/* 목록 */
.fb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fb-list a { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px; border-radius: 16px; transition: background-color .15s; }
@media (hover: hover) { .fb-list a:hover { background: #f4f4f2; } }
.fb-list.is-recent li { position: relative; }
.fb-list.is-recent a { padding-right: 44px; }
.fb-del { position: absolute; top: 50%; right: 8px; display: grid; place-items: center; width: 30px; height: 30px; margin-top: -15px; padding: 7px; border: 0; border-radius: 50%; background: none; color: var(--ink-3); cursor: pointer; transition: background-color .15s, color .15s; }
.fb-del svg { width: 100%; height: 100%; }
@media (hover: hover) { .fb-del:hover { background: #ececea; color: var(--ink); } }
.fb-ph { width: 68px; height: 68px; overflow: hidden; border-radius: 14px; background: var(--tile); }
.fb-ph img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.fb-ph img[src*="bnkrmall.co.kr"] { filter: brightness(1.0625); }
.fb-tx { display: grid; gap: 2px; min-width: 0; }
.fb-tx small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.fb-tx b { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.fb-tx em { font-style: normal; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* 빈 화면 */
.fb-empty { display: flex; flex-direction: column; align-items: center; padding: 56px 24px 32px; text-align: center; }
.fb-empty-ico { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 18px; padding: 20px; border-radius: 50%; background: rgba(20, 22, 42, .06); color: var(--navy); }
.fb-empty-ico.fb-empty-fav { background: rgba(224, 49, 43, .08); color: var(--red); }
.fb-empty-ico svg { width: 100%; height: 100%; }
.fb-empty b { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.fb-empty p { margin: 6px 0 22px; font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
.fb-cta { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 800; transition: background-color .15s; }
@media (hover: hover) { .fb-cta:hover { background: #262a48; } }
.fb-note { margin: 32px 8px; text-align: center; font-size: 13.5px; color: var(--ink-3); }
.fb-note a { text-decoration: underline; }
.fb-clear, .fb-more { display: block; width: 100%; margin-top: 12px; padding: 13px; border: 0; border-radius: 14px; background: #f2f2f0; color: var(--ink-2); font: inherit; font-size: 13.5px; font-weight: 700; text-align: center; cursor: pointer; transition: background-color .15s; }
@media (hover: hover) { .fb-clear:hover, .fb-more:hover { background: #e7e7e4; } }
/* 폰: 아래에서 올라오는 둥근 시트 */
@media (max-width: 767px) {
  .fb-sheet { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 82vh; max-height: 78dvh; border-radius: 24px 24px 0 0; animation-name: fb-up; padding-bottom: env(safe-area-inset-bottom); }
  @keyframes fb-up { from { transform: translateY(100%); } }
  .fb-grip { display: block; width: 40px; height: 4px; margin: 10px auto 0; border-radius: 2px; background: rgba(20, 22, 42, .15); }
  .fb-head { padding: 8px 14px 12px 16px; }
  .fb-body { padding: 10px 12px 18px; }
  .fb-empty { padding: 36px 20px 24px; }
}
@media (max-width: 767px) { .fb { right: 14px; bottom: 16px; gap: 8px; } .fb-btn { width: 46px; height: 46px; padding: 12px; } }
@media (prefers-reduced-motion: reduce) { .fb-sheet, .fb-dim { animation: none; } }
/* ---------- 헤더: 로그인 / 내 계정 ---------- */
.hd-login { flex-shrink: 0; display: grid; place-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 999px; font-size: 13.5px; font-weight: 700; transition: background-color .15s, color .15s; }
@media (hover: hover) { .hd-login:hover { background: var(--ink); color: var(--bg); } }
.hd-me { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; overflow: hidden; border-radius: 50%; background: var(--navy); color: #fff; font-size: 15px; font-weight: 800; transition: box-shadow .15s; }
@media (hover: hover) { .hd-me:hover { box-shadow: 0 0 0 3px rgba(242, 138, 42, .45); } }
@media (max-width: 767px) { .hd-login { height: 30px; padding: 0 10px; font-size: 12.5px; } .hd-me { width: 32px; height: 32px; font-size: 14px; } }

/* ---------- 회원가입 · 로그인 ---------- */
.au { display: grid; grid-template-columns: minmax(0, 1fr); place-items: start center; padding-top: 56px; }   /* 칸이 입력칸의 기본 폭에 밀려 화면 밖으로 늘어나지 않게 */
.au-card { width: min(440px, 100%); padding: 36px 32px 28px; border-radius: 28px; background: #fff; box-shadow: 0 1px 2px rgba(20, 22, 42, .04), 0 24px 48px -28px rgba(20, 22, 42, .35); }
.au-title { margin: 0; font-size: 28px; font-weight: 900; letter-spacing: -0.03em; }
.au-sub { margin: 8px 0 24px; font-size: 14px; color: var(--ink-3); }
.au-alert { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: rgba(224, 49, 43, .08); color: var(--red); font-size: 13.5px; font-weight: 600; }
.au-f { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-bottom: 14px; }
.au-f input { min-width: 0; width: 100%; }
.au-f label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.au-f input { height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: #fafaf9; color: var(--ink); font: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.au-f input::placeholder { color: #b4b4b0; }
.au-f input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); background: #fff; }
.au-f.is-bad input { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.au-err { margin: -6px 0 12px; font-size: 12.5px; color: var(--red); }
.au-f + .au-err { margin-top: -8px; }
.au-agree { margin: 6px 0 18px; padding: 14px; border-radius: 14px; background: #f6f6f4; font-size: 13.5px; }
.au-agree label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.au-agree input { width: 18px; height: 18px; accent-color: var(--navy); }
.au-agree b { color: var(--orange); }
.au-agree details { margin-top: 8px; padding-left: 26px; color: var(--ink-3); font-size: 12.5px; }
.au-agree summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.au-agree details p { margin: 6px 0 0; line-height: 1.6; }
.au-agree.is-bad { box-shadow: 0 0 0 1px var(--red); }
.au-agree .au-err { margin: 8px 0 0; }
.au-btn { display: grid; place-items: center; width: 100%; height: 52px; margin-top: 6px; border: 0; border-radius: 16px; background: var(--navy); color: #fff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; transition: background-color .15s; }
@media (hover: hover) { .au-btn:hover { background: #262a48; } }

.au-btn.is-danger { width: auto; height: 44px; padding: 0 20px; background: var(--red); font-size: 14.5px; }
.au-code { margin: -12px 0 20px; padding: 10px 12px; border-radius: 10px; background: #f4f4f2; color: var(--ink-3); font-size: 12px; word-break: break-all; }
.au-alt { margin: 18px 0 0; text-align: center; font-size: 13.5px; color: var(--ink-3); }
.au-alt a { color: var(--navy); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .au { padding-top: 16px; } .au-card { padding: 28px 20px 22px; border-radius: 22px; } .au-title { font-size: 24px; } }

/* 소셜 로그인 버튼(각 회사 색) + '또는 이메일로' 구분선 */
.au-social { display: grid; gap: 8px; margin-bottom: 4px; }
.au-so { position: relative; display: flex; align-items: center; justify-content: center; height: 50px; border-radius: 14px; font-size: 15px; font-weight: 700; transition: filter .15s; }
.au-so svg { position: absolute; left: 16px; width: 20px; height: 20px; }
@media (hover: hover) { .au-so:hover { filter: brightness(.96); } }
.au-so-google { border: 1px solid #dadce0; background: #fff; color: #1f1f1f; }
.au-so-kakao { background: #FEE500; color: rgba(0, 0, 0, .85); }
.au-so-naver { background: #03C75A; color: #fff; }
.au-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; font-size: 12.5px; color: var(--ink-3); }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
/* ---------- 마이페이지 ---------- */
.my-flash { margin: 0 0 16px; padding: 12px 16px; border-radius: 14px; background: rgba(20, 22, 42, .07); font-size: 14px; font-weight: 700; }
/* ---- 마이페이지: 왼쪽 프로필 카드(따라 내려온다) + 바로가기, 오른쪽 칸들 ---- */
.my-lay { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.my-side { position: sticky; top: 96px; display: grid; gap: 12px; }

.hd-me > img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff; }

.my-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: #f2f2f0; color: var(--ink-2); font-size: 11.5px; font-weight: 800; }
.my-tag-google { background: #fff; box-shadow: inset 0 0 0 1px #dadce0; color: #1f1f1f; }
.my-tag-kakao { background: #FEE500; color: rgba(0, 0, 0, .85); }
.my-tag-naver { background: #03C75A; color: #fff; }

.my-nav { display: grid; gap: 2px; padding: 8px; border-radius: 22px; background: #fff; }
.my-nav a { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 10px 0 8px; border-radius: 16px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); transition: background-color .2s, color .2s; }
.my-nav-ico { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; padding: 8px; border-radius: 12px; transition: background-color .2s, color .2s; }
.my-nav-ico svg { width: 100%; height: 100%; }
.my-nav-fav .my-nav-ico { background: rgba(224, 49, 43, .09); color: var(--red); }
.my-nav-kuji .my-nav-ico { background: rgba(242, 138, 42, .14); color: var(--orange); }
.my-nav-gacha .my-nav-ico { background: rgba(14, 143, 160, .1); color: #0e8fa0; }

.my-nav-works .my-nav-ico { background: rgba(3, 150, 90, .1); color: #0a8a55; }
.my-nav-series .my-nav-ico { background: rgba(88, 48, 165, .1); color: #5830a5; }
.my-nav-makers .my-nav-ico { background: rgba(0, 98, 177, .1); color: #0062b1; }
.my-nav-t { flex: 1; min-width: 0; }
.my-nav-go { width: 16px; height: 16px; color: #c4c4c0; transition: transform .2s, color .2s; }
@media (hover: hover) { .my-nav a:not(.is-on):hover { background: #f6f6f4; color: var(--ink); } .my-nav a:hover .my-nav-go { transform: translateX(2px); } }
.my-nav a.is-on { background: #fff1e2; color: var(--navy); box-shadow: inset 0 0 0 1.5px rgba(242, 138, 42, .3); }
.my-nav a.is-on .my-nav-ico { background: #fff; }
.my-nav a.is-on .my-nav-go { color: var(--orange); }
/* 오른쪽 칸 */
.my-main { display: grid; gap: 18px; min-width: 0; }
.my .my-main .my-sec { margin: 0; padding: 24px 24px 26px; border-radius: 26px; background: #fff; scroll-margin-top: 96px; }
.my .my-sec-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.my .my-sec-h h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.my-sub { margin: 0; font-size: 12.5px; color: var(--ink-3); }
.my-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.my-more svg { width: 15px; height: 15px; transition: transform .2s; }
@media (hover: hover) { .my-more:hover { color: var(--ink); } .my-more:hover svg { transform: translate(2px, -2px); } }
.my-empty { display: grid; justify-items: center; gap: 4px; padding: 32px 16px; border: 1.5px dashed rgba(20, 22, 42, .12); border-radius: 18px; text-align: center; }
.my-empty b { font-size: 15px; font-weight: 800; }
.my-empty p { margin: 0 0 8px; font-size: 13px; color: var(--ink-3); }
.my .my-main .grid4 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 16px; }

.my .my-main .fv-figs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 14px; }
.my .grid4 .nm { font-size: 15px; }
.my .ph { background: #f4f4f2; }
.my .kj-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 14px; }
.my .kj-card .nm { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; line-height: 1.4; }
.my .kj-card .tl { margin-top: 12px; }
.my .kj-ban { border-radius: 16px; }

.my-works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.my-works a { display: grid; gap: 8px; text-align: center; }
.my-wk-logo { display: flex; align-items: center; justify-content: center; height: 96px; min-width: 0; overflow: hidden; padding: 16px 38px; border-radius: 16px; background: #f6f6f4; transition: box-shadow .15s, background-color .15s; }
.my-wk-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.my-works.is-photo .my-wk-logo { height: auto; aspect-ratio: 1; padding: 0; }
.my-works.is-photo .my-wk-logo img { width: 100%; height: 100%; max-height: none; object-fit: cover; mix-blend-mode: multiply; }
.my-works.is-photo .noimg span { display: none; }
.my-wk-logo b { font-size: 14px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink); word-break: keep-all; }
.my-wk-name { overflow: hidden; font-size: 12.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; text-overflow: ellipsis; }
@media (hover: hover) { .my-works a:hover .my-wk-logo { background: #fff; box-shadow: 0 0 0 2px var(--wk, var(--orange)); } .my-works a:hover .my-wk-name { color: var(--wk, var(--orange)); } }
@media (max-width: 767px) { .my-works { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; } }
.my-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.my-links li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #f6f6f4; }
.my-links .my-tag { flex-shrink: 0; justify-content: center; width: 64px; padding: 0; }
.my-ln-st { flex: 1; font-size: 13.5px; color: var(--ink-2); }
.my-ln-note { font-size: 12px; color: var(--ink-3); }
@media (max-width: 1023px) {
  .my-lay { grid-template-columns: 1fr; }
  .my-side { position: static; grid-template-columns: minmax(0, 1fr); }
  .my-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 6px; }
  .my-nav a { flex-direction: column; justify-content: center; gap: 6px; height: auto; padding: 10px 4px; font-size: 12px; text-align: center; word-break: keep-all; }
  .my-nav-t { flex: 0 0 auto; }
  .my-nav-go { display: none; }
}
@media (max-width: 767px) {
  .my .my-main .my-sec { padding: 18px 16px 20px; border-radius: 22px; }
  .my .my-main .grid4, .my .kj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .my .my-main .fv-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
   
  .my .grid4 .nm, .my .kj-card .nm { font-size: 14px; }
}

/* 내 정보 창 */

.my-lv .au-f input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242, 138, 42, .16); }

.my-link { padding: 0; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.my-lv { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 20px; }
.my-lv[hidden] { display: none; }
.my-lv-dim { position: absolute; inset: 0; background: rgba(20, 22, 42, .45); animation: zv-in .2s ease-out; }
.my-lv-box { position: relative; display: grid; width: min(360px, 100%); margin: 0; padding: 24px 22px 20px; border-radius: 22px; background: #fff; box-shadow: 0 24px 48px -16px rgba(20, 22, 42, .4); animation: my-lv-in .22s cubic-bezier(.22, 1, .36, 1); }
@keyframes my-lv-in { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.my-lv-box h3 { margin: 0 0 8px; font-size: 18px; font-weight: 900; color: var(--red); text-align: center; }
.my-lv-box p { margin: 0 0 14px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; text-align: center; word-break: keep-all; }
.my-lv-box .my-sure { justify-content: center; }
.my-lv-acts { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin-top: 4px; }
.my-lv-no { height: 44px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink-2); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
@media (hover: hover) { .my-lv-no:hover { border-color: var(--ink-3); color: var(--ink); } }
.my-lv .au-btn.is-danger { width: 100%; height: 44px; margin: 0; }
@media (prefers-reduced-motion: reduce) { .my-lv-box, .my-lv-dim { animation: none; } }
.my-sure { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13.5px; }
.my-sure input { width: 18px; height: 18px; accent-color: var(--red); }

/* ---------- 이치방쿠지 ---------- */
/* 이치방쿠지 찜: 카드 오른쪽 위 하트(마우스 올리면 보임), 상세 제목 옆 하트 */
.kj-card { position: relative; }
@media (hover: hover) { .kj-card .fav[aria-pressed="false"] { opacity: 0; } .kj-card:hover .fav, .kj-card .fav:focus-visible { opacity: 1; } }

.kj-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; }
.kj-card a { display: block; }
.kj-ph { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--tile); }
.kj-ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.kj-ban { aspect-ratio: 16 / 9; }
@media (hover: hover) { .kj-card a:hover .kj-ph img { transform: scale(1.04); } }
.kj-card .sub + .sub { margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kj-dday { display: inline-grid; place-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .02em; font-variant-numeric: tabular-nums; vertical-align: 1px; }
.kj-dday.is-on { background: var(--navy); }
.kj-ban .kj-dday { position: absolute; top: 12px; left: 12px; }
.label .kj-dday { margin-left: 8px; height: 20px; padding: 0 8px; font-size: 11px; }
/* 위 줄: ICHIBAN KUJI + 월 발매 딱지 | 찜 하트(오른쪽 끝), 그 아래 제목 */
.kj-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.kj-top .label { margin: 0; }
.kj-top .fav-btn { flex-shrink: 0; width: 40px; height: 40px; }
.kj-top .fav-btn svg { width: 20px; height: 20px; }

/* 검색 칸: 목록 위 왼쪽, 결과 수는 오른쪽 */
.kj-q { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 40px; }  /* 검색칸 크기는 피규어 페이지(.mf-q)와 같다 */
.kj-q .lp-count { margin: 0 0 0 auto; }
.kj-q .lp-count a { margin-left: 10px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .kj-q { gap: 8px; margin-bottom: 28px; } .kj-q .mf-q { flex-basis: 100%; width: auto; } .kj-q .lp-count { flex-basis: 100%; margin: 4px 0 0; } }
/* 상세: 위에 대표 이미지, 제목과 정보, 아래 등급별 경품 */
.kj-hero { margin: 0; overflow: hidden; border-radius: 20px; background: var(--tile); }
.kj-hero img { display: block; width: 100%; height: auto; }
.kj-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
/* 제목은 위에 한 줄, 그 아래 대표 이미지 | 티켓·버튼 */
.kj-title { margin-bottom: 28px; }
.kj-title h1 { margin: 0; font-size: clamp(24px, 3vw, 44px); font-weight: 800; line-height: 1.25; letter-spacing: -0.025em; }
.kj-sec { margin-top: 88px; }
.kj-sec h2 { margin: 0 0 28px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.kj-prizes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; }
.kj-prize .kj-ph { aspect-ratio: 1; }
.kj-prize .kj-ph img { object-fit: contain; }
/* 경품 사진: 마우스를 올리면 커서 자리를 확대, 누르면 크게 보기 */
.kj-zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.kj-zoom img { transition: transform .25s cubic-bezier(.22, 1, .36, 1); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.kj-zoom.is-hover img { transform: scale(2); transition-duration: .12s; }
.kj-prize:has(.kj-zoom.is-hover) .kj-rank { opacity: 0; }
.kj-rank { transition: opacity .15s; }
@media (prefers-reduced-motion: reduce) { .kj-zoom img { transition: none; } }
.kj-rank { position: absolute; top: 8px; left: 8px; display: grid; place-items: center; min-width: 32px; height: 24px; padding: 0 8px; border-radius: 8px; background: var(--orange); color: #fff; font-size: 12.5px; font-weight: 800; }
.kj-prize.is-last .kj-rank { background: var(--navy); }   /* 라스트원상은 남색, 나머지는 주황 */
.kj-kinds { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: inset 0 0 0 1px rgba(20, 22, 42, .12); color: var(--ink-2, #4a4d63); font-size: 11.5px; font-weight: 700; pointer-events: none; transition: opacity .15s; }
.kj-prize:has(.kj-zoom.is-hover) .kj-kinds { opacity: 0; }
.kj-shots { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 8px; border-radius: 999px; background: rgba(20, 22, 42, .62); color: #fff; font-size: 11.5px; font-weight: 700; pointer-events: none; transition: opacity .15s; }
.kj-shots svg { width: 12px; height: 12px; }
.kj-prize:has(.kj-zoom.is-hover) .kj-shots { opacity: 0; }
.kj-pn { display: block; margin: 14px 0 0; font-size: 15.5px; font-weight: 600; line-height: 1.4; }   /* h3 기본 여백 · 굵기를 쓰지 않고 기존 모양 그대로 */
@media (max-width: 1023px) { .kj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kj-head { grid-template-columns: 1fr; gap: 28px; } .kj-prizes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .kj-grid { grid-template-columns: 1fr; gap: 40px; }
  .kj-hero { border-radius: 14px; }
  .kj-title { margin-bottom: 20px; }
  .kj-sec { margin-top: 56px; }
  .kj-prizes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .kj-pn { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .kj-ph img { transition: none; } }

/* ---------- 푸터 (해지스·힌스) ---------- */
.ft { margin-top: 160px; background: var(--navy); color: rgba(255, 255, 255, .72); overflow: hidden; }
.ft-in { max-width: 1440px; margin: 0 auto; padding: 56px 44px 0; }
.ft-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; font-size: 13px; line-height: 1.7; }
.ft-cols b { display: block; margin-bottom: 8px; color: #fff; font-size: 13.5px; }
.ft-cols p { margin: 0; max-width: 40ch; }
.ft-mark { margin: 40px 0 0; padding: 24px 0 36px; border-top: 1px solid rgba(255, 255, 255, .12); }
.ft-mark img { display: block; width: auto; height: 64px; }
@media (max-width: 767px) { .ft { margin-top: 96px; } .ft-in { padding: 40px 20px 0; } .ft-cols { grid-template-columns: 1fr; gap: 20px; } .ft-mark { margin-top: 28px; padding-bottom: 28px; } .ft-mark img { height: 52px; } }

.browse .s-head { margin-bottom: 20px; }
.browse-tabs { margin-bottom: 20px; }
.browse-tabs button { height: 40px; padding: 0 20px; font-size: 15px; }

/* 제조사 카드: 로고 칩 */

/* 제조사 카드: 로고만 */
.mc { position: relative; scroll-snap-align: start; }
.mc a { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 20px; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(28, 28, 30, .06); transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s; }
.mc-logo { display: grid; place-items: center; width: 72%; height: 30%; }
.mc-logo img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.mc-logo b { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; color: #1c1c1e; white-space: nowrap; }
.mc a:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(28, 28, 30, .06), 0 18px 34px -20px rgba(28, 28, 30, .45); }
.mc[style*="--wk"] a:hover { box-shadow: inset 0 0 0 2px var(--wk), 0 18px 34px -20px rgba(28, 28, 30, .45); }
.mc-logo b { white-space: normal; text-align: center; word-break: keep-all; line-height: 1.25; }
.mc a:hover .mc-logo img { transform: scale(1.06); }
@media (max-width: 767px) { .mc-logo b { font-size: 20px; } }

/* 메뉴 · 페이지를 옮길 때 스르륵: 헤더는 그대로 두고 본문만 살짝 위로 사라졌다 아래에서 떠오른다(지원하는 브라우저만) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .hd { view-transition-name: hd; }
  .fb { view-transition-name: fb; }
  ::view-transition-old(root) { animation: vt-out .2s cubic-bezier(.4, 0, 1, 1) both; }
  ::view-transition-new(root) { animation: vt-in .38s cubic-bezier(.22, 1, .36, 1) both; }
  ::view-transition-group(hd), ::view-transition-group(fb) { animation-duration: 0s; }
  .gnb-bar { view-transition-name: gnb-bar; }
  ::view-transition-group(gnb-bar) { animation-duration: .45s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
  ::view-transition-old(gnb-bar), ::view-transition-new(gnb-bar) { animation: none; mix-blend-mode: normal; }
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* 내 정보 페이지(팝업이 아닌 페이지): 위 프로필 띠 + 설정 카드(왼쪽 제목·설명 / 오른쪽 입력) */
.mi { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 880px; margin: 0 auto; }
.mi-hero { display: flex; align-items: center; gap: 22px; padding: 26px 28px; border-radius: 26px; background: #fff; }
.mi-av { position: relative; flex-shrink: 0; display: grid; place-items: center; width: 88px; height: 88px; padding: 0; border: 0; border-radius: 50%; background: var(--navy); color: #fff; font: inherit; font-size: 34px; font-weight: 900; cursor: pointer; }
.mi-av > img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff; }
.mi-av-cam { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 30px; height: 30px; padding: 6px; border: 3px solid #fff; border-radius: 50%; background: var(--orange); color: #fff; transition: transform .2s; }
.mi-av-cam svg { width: 100%; height: 100%; }
@media (hover: hover) { .mi-av:hover .mi-av-cam { transform: scale(1.1); } }
.mi-av:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.mi-who { flex: 1; min-width: 0; }
.mi-name { margin: 0; font-size: 24px; font-weight: 900; letter-spacing: -0.03em; }
.mi-mail { margin: 4px 0 0; overflow: hidden; font-size: 14px; color: var(--ink-2); text-overflow: ellipsis; white-space: nowrap; }
.mi-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; }
.mi-since { margin-left: 4px; font-size: 12.5px; color: var(--ink-3); }
.mi-av-acts { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mi-av-acts form { margin: 0; }

.mi-link { padding: 0; border: 0; background: none; color: var(--ink-3); font: inherit; font-size: 13px; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(20, 22, 42, .25); text-underline-offset: 3px; cursor: pointer; }
@media (hover: hover) { .mi-link:hover { color: var(--ink-2); } .mi-link.is-quiet:hover { color: var(--red); } }

.mi-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; margin: 0; padding: 26px 28px; border-radius: 26px; background: #fff; }
.mi-h { align-self: center; }
.mi-h h2 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.mi-h p { margin: 6px 0 0; font-size: 13px; line-height: 1.55; color: var(--ink-3); word-break: keep-all; }
.mi-b { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; min-width: 0; }
.mi-b .au-f { margin-bottom: 10px; }
.mi-b .au-f input { height: 46px; }
.mi-b .au-f input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242, 138, 42, .16); }
.mi-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.mi-info { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 6px; padding-bottom: 6px; }
.mi-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding: 20px 0; }
.mi-row + .mi-row { border-top: 1px solid rgba(20, 22, 42, .08); }
.mi-row .au-f:last-child { margin-bottom: 0; }
.mi-info .mi-row:first-of-type .au-f { max-width: calc(50% - 6px); }

.mi-save { height: 44px; padding: 0 24px; border: 0; border-radius: 13px; background: var(--orange); color: #fff; font: inherit; font-size: 14.5px; font-weight: 800; cursor: pointer; transition: background-color .15s; }
@media (hover: hover) { .mi-save:hover { background: #e07a1c; } }
.mi-save-all { width: 100%; height: 52px; margin-top: 4px; border-radius: 16px; font-size: 16px; }
.mi .my-links .my-tag { flex-shrink: 0; justify-content: center; width: 64px; padding: 0; }
.mi-out { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 10px 0 0; color: var(--ink-3); font-size: 12px; }
.mi-out form { margin: 0; }
.mi .my-lv { position: fixed; z-index: 95; }
.mi .my-lv .au-f input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242, 138, 42, .16); }
@media (max-width: 767px) {
  .mi-hero { flex-wrap: wrap; gap: 16px; padding: 22px 20px; border-radius: 22px; }
  .mi-av { width: 72px; height: 72px; font-size: 28px; }
  .mi-name { font-size: 20px; }
  .mi-av-acts { width: 100%; flex-direction: row; gap: 12px; }
  .mi-card { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px 20px; border-radius: 22px; }
  .mi-two { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mi-row { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px 0; }
  .mi-h { align-self: start; }
  .mi-info .mi-row:first-of-type .au-f { max-width: none; }
  .mi-save { width: 100%; }
}

/* 노트북 폭: 메뉴 간격을 조금 줄여 검색창이 눌리지 않게 */
@media (min-width: 1024px) and (max-width: 1279px) { .gnb { gap: 0; } .gnb a { padding: 0 12px; } .hd-search { width: 180px; } }

/* 메인: 섹션 배경을 번갈아(남색 띠 · 흰 띠) */
[data-page="home"] .ft { margin-top: 0; }  /* 메인은 흰 띠 바로 아래가 푸터 */


/* 메인: 스크롤하면 섹션 제목 · 카드가 아래에서 차례로 떠오른다(site.js가 .rv를 붙인다. 스크립트가 없으면 그대로 보인다) */
.rv { opacity: 0; transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1), clip-path 1s cubic-bezier(.77, 0, .18, 1); transition-delay: var(--rv-d, 0s); }
.rv.is-in { opacity: 1; transform: none; }
/* 잘라내기 틀(clip-path)은 걷히는 효과에만. 다른 카드에 남으면 떠오를 때 윗부분이 잘린다 */
.rv-wipe.is-in { clip-path: inset(-20% -10% -20% -10%); }
.rv-curtain.is-in { clip-path: inset(-20px -20px -40px -20px round 18px); }
.rv.is-done { transition: none; clip-path: none; }
/* 섹션마다 다른 등장 */
.rv-up { transform: translateY(40px); }                                   /* 기본: 아래에서 */
.rv-left { transform: translateX(-32px); }                                /* 작은 영문: 왼쪽에서 */
.rv-wipe { opacity: 1; clip-path: inset(0 0 100% 0); transform: translateY(24px); }   /* 큰 제목: 아래에서 걷혀 올라오듯 */
.rv-fade { transform: none; transition-duration: 1.2s; }
.rv-pop { transform: scale(.82); transition-timing-function: cubic-bezier(.22, 1, .36, 1), cubic-bezier(.34, 1.56, .64, 1), linear; }   /* 로고 카드: 톡 튀어나오듯 */
.rv-curtain { opacity: 1; clip-path: inset(0 0 100% 0 round 18px); transition-duration: .5s, .5s, .6s; }      /* 이치방쿠지: 커튼이 걷히듯(빠르게) */
.rv-right { transform: translateX(120px); transition-duration: .9s, 1.1s, 1s; }   /* 발매 예정 줄: 오른쪽에서 밀려 들어옴 */
.rv-zoom { transform: scale(.92); transition-duration: 1s, 1.4s, 1s; }    /* 인기 1위: 크게 */
.rv-rank { transform: scale(0) rotate(-20deg); transition-timing-function: ease-out, cubic-bezier(.34, 1.8, .64, 1), linear; transition-duration: .4s, .7s, 0s; }   /* 순위 숫자: 사진 뒤에 통! */
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; clip-path: none; transition: none; } }

/* 헤더 검색 자동완성 */
.hd-search .sg { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: 380px; max-height: min(70vh, 560px); overflow-y: auto; padding: 8px; border-radius: 18px; background: #fff;
  box-shadow: 0 24px 48px -18px rgba(20, 22, 42, .35), 0 0 0 1px rgba(20, 22, 42, .06); animation: sel-in .18s cubic-bezier(.22, 1, .36, 1); }
.sg-h { margin: 8px 10px 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; color: var(--ink-3); }
.sg-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px 8px; border-radius: 12px; transition: background-color .12s; }
.sg-row.is-on, .sg-row:hover { background: #fff1e2; }
.sg-ph { display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; border-radius: 10px; background: #f4f4f2; }
.sg-ph img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.sg-ph.is-logo { background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 22, 42, .08); }
.sg-ph.is-logo img { object-fit: contain; padding: 4px; mix-blend-mode: normal; }
.sg-ph b { font-size: 16px; font-weight: 900; color: var(--ink-2); }
.sg-tx { min-width: 0; }
.sg-tx b { display: block; overflow: hidden; font-size: 14px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.sg-tx b mark { background: none; color: var(--orange); }
.sg-tx small { display: block; overflow: hidden; margin-top: 2px; font-size: 12px; color: var(--ink-3); white-space: nowrap; text-overflow: ellipsis; }
.sg-all { display: block; margin-top: 6px; padding: 11px; border-radius: 12px; background: #f4f4f2; font-size: 13px; font-weight: 700; text-align: center; color: var(--ink-2); }
.sg-all.is-on, .sg-all:hover { background: #e9e9e6; color: var(--ink); }
.sg-none { margin: 0; padding: 18px 12px; font-size: 13px; color: var(--ink-3); text-align: center; }
@media (max-width: 1023px) { .hd-search .sg { position: fixed; top: 64px; left: 12px; right: 12px; width: auto; } }

/* 찜한 피규어 이번 달 발매 알림 띠: 남색 바탕 + 피규어 사진 + 주황 버튼(눈에 잘 띄게) */
.fav-note { background: var(--navy); color: #fff; transition: opacity .25s, transform .25s; animation: fav-note-in .5s cubic-bezier(.22, 1, .36, 1); }
@keyframes fav-note-in { from { opacity: 0; transform: translateY(-10px); } }
.fav-note.is-out { opacity: 0; transform: translateY(-8px); }
.fav-note-in { display: flex; align-items: center; gap: 16px; max-width: 1440px; margin: 0 auto; padding: 12px 44px 14px; }
.fav-note-link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 16px; color: inherit; }
.fav-note-phs { flex-shrink: 0; display: flex; }
.fav-note-ph { display: block; width: 44px; height: 44px; overflow: hidden; border: 2px solid var(--navy); border-radius: 50%; background: #fff; }
.fav-note-ph + .fav-note-ph { margin-left: -14px; }
.fav-note-ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transform: scale(1.5); transform-origin: 50% 20%; }
.fav-note-in p { flex: 1; min-width: 0; margin: 0; font-size: 16px; line-height: 1.35; }
.fav-note-in p b { color: var(--orange); font-weight: 900; }
.fn-short { display: none; }  /* 폰에서만 짧은 문구 */
.fav-note-in p small { display: block; overflow: hidden; margin-top: 2px; font-size: 13px; color: rgba(255, 255, 255, .65); white-space: nowrap; text-overflow: ellipsis; }
.fav-note-tag { display: inline-flex; align-items: center; gap: 4px; margin-right: 8px; padding: 3px 9px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; vertical-align: 2px; }
.fav-note-tag svg { width: 12px; height: 12px; --heart-fill: currentColor; }
.fav-note-go { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px; border-radius: 12px; background: var(--orange); color: #fff; font-size: 14px; font-weight: 800; transition: background-color .15s; }
@media (hover: hover) { .fav-note-go:hover, .fav-note-link:hover ~ .fav-note-go { background: #ff9c40; } .fav-note-link:hover p { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .45); } }
.fav-note-in button { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; padding: 8px; border: 0; border-radius: 50%; background: none; color: rgba(255, 255, 255, .7); cursor: pointer; }
.fav-note-in button svg { width: 100%; height: 100%; }
@media (hover: hover) { .fav-note-in button:hover { background: rgba(255, 255, 255, .12); color: #fff; } }
@media (max-width: 767px) {
  /* 한 줄로: 사진 1장, 짧은 문구. 아주 좁은 폰에서는 문구 끝이 … 으로 줄어든다 */
  .fav-note-in { gap: 8px; padding: 8px 8px 8px 16px; }
  .fav-note-link { gap: 8px; }
  .fav-note-ph { width: 32px; height: 32px; }
  .fav-note-ph:nth-child(n+2) { display: none; }
  .fav-note-in p { overflow: hidden; font-size: 13px; letter-spacing: -0.02em; white-space: nowrap; text-overflow: ellipsis; } .fav-note-tag { display: none; }
  .fn-long { display: none; } .fn-short { display: inline; }
  .fav-note-go { height: 32px; padding: 0 10px; border-radius: 10px; font-size: 12.5px; }
  .fav-note-in button { width: 28px; height: 28px; padding: 6px; }
}
@media (prefers-reduced-motion: reduce) { .fav-note { animation: none; } }

/* 없는 페이지 */
.nf-hero { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 40px 0 8px; text-align: center; }  /* 칸이 글자 길이만큼 늘어나 화면 밖으로 밀지 않게 */
.nf-hero > * { max-width: 100%; }
.nf-hero > p:not(.nf-code) { text-wrap: balance; }
.nf-code { display: flex; align-items: center; gap: 8px; margin: 0; font-size: clamp(110px, 16vw, 200px); font-weight: 900; line-height: 1; letter-spacing: -0.06em; color: var(--navy); }
.nf-code img { width: auto; height: .78em; animation: nf-bob 2.6s ease-in-out infinite; }
@keyframes nf-bob { 50% { transform: translateY(-10px) rotate(-4deg); } }
.nf-hero h1 { margin: 18px 0 8px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; letter-spacing: -0.02em; }
.nf-hero > p:not(.nf-code) { margin: 0; font-size: 15px; color: var(--ink-2); }
.nf-q { position: relative; display: flex; align-items: center; gap: 10px; width: min(440px, 100%); height: 52px; margin: 28px 0 0; padding: 0 18px; border-radius: 16px; background: #fff; }
.nf-q svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--ink-3); }
.nf-q input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 15px; outline: none; }
.nf-q:focus-within { box-shadow: 0 0 0 2px var(--orange); }
.nf-links { display: flex; gap: 8px; margin-top: 18px; }
/* 404 버튼: 화살표 없이 필터 칸과 같은 12px 모서리. 홈으로는 주황, 나머지는 흰 칸 */
.nf-btn { display: grid; place-items: center; height: 44px; padding: 0 22px; border-radius: 12px; background: #fff; color: var(--navy); box-shadow: 0 3px 0 rgba(20, 22, 42, .1); font-size: 14px; font-weight: 800; white-space: nowrap; transition: transform .12s, box-shadow .12s; }
.nf-btn.is-main { background: var(--orange); color: #fff; box-shadow: 0 3px 0 rgba(176, 90, 10, .35); }
.nf-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(20, 22, 42, .1); }
@media (hover: hover) { .nf-btn:not(.is-main):hover { background: var(--navy); color: #fff; } .nf-btn.is-main:hover { background: #f59a40; } }
.nf-more { margin-top: 88px; }
.nf-more h2 { margin: 0 0 24px; font-size: 22px; font-weight: 800; }
.nf-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1023px) { .nf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .nf-grid > li:nth-child(n+4) { display: none; } }
@media (prefers-reduced-motion: reduce) { .nf-code img { animation: none; } }

/* 약관 · 개인정보 처리방침 */
.lg-doc { max-width: 820px; margin: 0 auto; padding: 48px 56px 56px; border-radius: 26px; background: #fff; }
.lg-head h1 { margin: 0; font-size: clamp(26px, 2.6vw, 34px); font-weight: 900; letter-spacing: -0.02em; }
.lg-head p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.lg-head a, .lg-sec a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.lg-toc { margin: 28px 0 8px; padding: 18px 22px; border-radius: 16px; background: #f6f6f4; }
.lg-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; margin: 0; padding-left: 20px; font-size: 13.5px; }
.lg-toc a { color: var(--ink-2); }
@media (hover: hover) { .lg-toc a:hover { color: var(--orange); } }
.lg-sec { padding: 28px 0 4px; border-top: 1px solid rgba(20, 22, 42, .08); scroll-margin-top: 96px; }
.lg-sec + .lg-sec { margin-top: 24px; }
.lg-toc + .lg-sec { border-top: 0; }
.lg-sec h2 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; font-size: 18px; font-weight: 800; }
.lg-sec h2 span { font-size: 13px; font-weight: 800; color: var(--orange); }
.lg-sec p, .lg-sec li { font-size: 14.5px; line-height: 1.8; color: var(--ink-2); word-break: keep-all; }
.lg-sec p { margin: 8px 0; }
.lg-sec ul { margin: 8px 0; padding-left: 20px; }
.lg-tbl { width: 100%; margin: 10px 0; border-collapse: collapse; font-size: 13.5px; line-height: 1.6; }
.lg-tbl th, .lg-tbl td { padding: 10px 12px; border-bottom: 1px solid rgba(20, 22, 42, .08); text-align: left; vertical-align: top; word-break: keep-all; }
.lg-tbl thead th { background: #f6f6f4; font-weight: 800; color: var(--ink); }
.lg-tbl tbody th { width: 120px; color: var(--ink-3); font-weight: 700; }
@media (max-width: 767px) { .lg-doc { padding: 28px 20px 32px; border-radius: 22px; } .lg-toc ol { grid-template-columns: 1fr; } }

/* 푸터: 약관 링크 */
.ft-bot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .12); }
.ft-bot .ft-mark { margin: 0; border-top: 0; }
.ft-links { display: flex; gap: 18px; font-size: 13px; }
.ft-links a { color: rgba(255, 255, 255, .72); }
.ft-links b { color: #fff; }
@media (hover: hover) { .ft-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; } }
@media (max-width: 767px) { .ft-bot { flex-direction: column; align-items: flex-start; gap: 0; } .ft-links { padding-bottom: 28px; } }

/* 가입 이메일 확인 안내 */
.au-mail { text-align: center; }
.au-mail-ico { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; padding: 14px; border-radius: 50%; background: #fff1e2; color: var(--orange); }
.au-mail-ico svg { width: 100%; height: 100%; }
.au-mail .au-sub { line-height: 1.7; word-break: keep-all; }
.au-mail .au-sub b { color: var(--ink); }
.au-tips { margin: 0 0 20px; padding: 14px 18px; border-radius: 14px; background: #f6f6f4; list-style: none; font-size: 13px; line-height: 1.8; color: var(--ink-2); text-align: left; }
.au-tips li { position: relative; padding-left: 14px; word-break: keep-all; }   /* 두 줄이 돼도 글머리 점 뒤로 맞춘다 */
.au-tips li::before { content: ""; position: absolute; left: 2px; top: .9em; width: 5px; height: 5px; margin-top: -3px; border-radius: 50%; background: var(--orange); }
.au-addr { display: inline-block; max-width: 100%; margin: 0 0 10px; padding: 6px 14px; border-radius: 999px; background: #f4f4f2; font-size: 15px; font-weight: 800; color: var(--ink); overflow-wrap: anywhere; }
.au-mail .au-sub { margin-top: 0; }
.au-dev { text-align: center; }
.au-btn.is-sub2 { border: 1px solid rgba(242, 138, 42, .35); background: #fff1e2; color: var(--navy); }
@media (hover: hover) { .au-btn.is-sub2:hover { background: #ffe6cc; } }
.au-alert.is-info { background: #fff1e2; color: #b45a0a; }
.au-dev { margin: 0 0 16px; padding: 10px 12px; border: 1px dashed var(--orange); border-radius: 12px; font-size: 12.5px; color: var(--ink-2); }
.au-dev a { color: var(--orange); font-weight: 800; text-decoration: underline; }

/* 이메일 칸 자동완성 */
.em-wrap { position: relative; }
.em-ac { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; margin: 0; padding: 6px; list-style: none; border-radius: 14px; background: #fff;
  box-shadow: 0 18px 36px -16px rgba(20, 22, 42, .35), 0 0 0 1px rgba(20, 22, 42, .07); animation: sel-in .16s cubic-bezier(.22, 1, .36, 1); }
.em-ac li { padding: 10px 12px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.em-ac li b { font-weight: 700; color: var(--ink); }
.em-ac li.is-on, .em-ac li:hover { background: #fff1e2; }

/* 로고 카드 바탕: 새하얀 대신 작품 고유 색(--wk)을 아주 연하게 섞은 바탕. 고유 색이 없으면 따뜻한 연회색 */
.mc a, .ix-logo, .my-works:not(.is-photo) .my-wk-logo {
  background: #eeede8;
  background: radial-gradient(120% 95% at 50% 30%, color-mix(in srgb, var(--wk, #b3ad9f) 8%, #fbfaf6) 0%, color-mix(in srgb, var(--wk, #b3ad9f) 18%, #ecebe5) 100%);
}
@media (hover: hover) { .my-works:not(.is-photo) a:hover .my-wk-logo { background: radial-gradient(120% 95% at 50% 30%, color-mix(in srgb, var(--wk, #b3ad9f) 5%, #ffffff) 0%, color-mix(in srgb, var(--wk, #b3ad9f) 13%, #f3f2ed) 100%); } }

/* 홈 둘러보기 카드(작품 · 제조사 · 시리즈): 모두 흰 카드. 작품 · 제조사는 로고 + 이름, 시리즈는 피규어 사진 세 개 */
/* 작품 · 제조사 카드: 위에 분류 딱지, 가운데 로고, 아래 왼쪽 이름 · 오른쪽 하트(테두리 있는 흰 카드, 마우스를 올리면 테두리만 작품 색으로) */
.mc a { display: flex; flex-direction: column; align-items: stretch; gap: 10px; aspect-ratio: auto; min-height: 170px; padding: 14px 16px; border-radius: 20px; background: #fff; border: 2px solid #cfcfcb; box-shadow: 4px 4px 0 #cfcfcb; transition: transform .12s, box-shadow .12s, border-color .15s; }
/* 굵은 검은 테두리 + 오른쪽 아래로 딱 떨어지는 그림자 카드(작품 · 제조사 · 시리즈 공통). 마우스를 올리면 테두리와 그림자가 작품 색으로 */
.lines-row:has(.mc, .sc) { padding-right: 8px; }   /* 마지막 카드의 그림자가 잘리지 않게 */
.sc a { border: 2px solid #cfcfcb; box-shadow: 4px 4px 0 #cfcfcb; background: #fff0c6; transition: transform .12s, box-shadow .12s, border-color .15s; }   /* 테두리 · 그림자는 연한 회색, 시리즈 바탕은 크림 */
/* 카드 바탕: 작품 고유 색을 연하게 섞은 파스텔(고유 색이 없는 작품 · 제조사는 주황 기운), 시리즈는 연한 남색 */
.mc a { background: #fff3e4; background: color-mix(in srgb, var(--wk, #f28a2a) 14%, #fff); }
.mc.is-maker a { background: #e3f0fb; }   /* 제조사 바탕은 연한 하늘색 */
.mc a:active, .sc a:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #cfcfcb; }
.mc-logo { flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; height: auto; min-height: 56px; }
.mc-logo img { width: auto; height: auto; max-width: 100%; max-height: 64px; object-fit: contain; }
.mc-name { display: block; overflow: hidden; font-size: 14.5px; font-weight: 800; color: #4a4a50; white-space: nowrap; text-overflow: ellipsis; }
.sc-name { color: #4a4a50; }   /* 카드 제목: 진한 회색(작품 · 제조사 · 시리즈 공통) */
/* 시리즈 카드도 작품 · 제조사 카드와 같은 구조: 카드 비율 5:4, 위에 사진(피규어 셋), 아래 왼쪽에 이름 */
.sc a { aspect-ratio: 5 / 4; }
.sc-top { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 16px 14px; }
.sc-name { font-size: 14.5px; }
.sc-stage { bottom: 16%; width: 80%; }
.sc-figs { inset: 8% 2% 24% 2%; }
@media (max-width: 767px) { .sc-top { padding: 0 14px 12px; } .sc-name { font-size: 13px; } }
.mc-logo:not(:has(img)) + .mc-name { display: none; }   /* 로고가 없어 이름이 글자 로고로 나오면 이름을 또 쓰지 않는다 */
.mc a:hover, .mc[style*="--wk"] a:hover { transform: none; border-color: var(--wk, var(--orange)); box-shadow: 4px 4px 0 var(--wk, var(--orange)); }
.sc a:hover { transform: none; border-color: var(--orange); box-shadow: 4px 4px 0 var(--orange); }
.mc a:hover .mc-logo img { transform: scale(1.05); }
@media (max-width: 767px) { .mc a { min-height: 150px; padding: 12px 14px; } .mc-logo img { max-height: 54px; } }
/* 찜 목록의 작품 · 제조사: 배경 없이 로고만 크게(로고가 있으면 이름 글자는 숨긴다. 로고가 없으면 이름이 글자 로고로 나온다) */
.my-works:not(.is-photo) .my-wk-logo { height: 110px; padding: 6px; background: none; box-shadow: none; }
.my-works:not(.is-photo) .my-wk-logo img { width: 100%; height: 100%; max-height: none; object-fit: contain; transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
.my-works:not(.is-photo) .my-wk-logo b { font-size: 17px; }
.my-works:not(.is-photo) li:has(.my-wk-logo img) .my-wk-name { display: none; }
@media (hover: hover) { .my-works:not(.is-photo) a:hover .my-wk-logo { background: none; box-shadow: none; } .my-works:not(.is-photo) a:hover .my-wk-logo img { transform: scale(1.06); } }
@media (max-width: 767px) { .my-works:not(.is-photo) .my-wk-logo { height: 84px; padding: 4px; } .my-works:not(.is-photo) .my-wk-logo b { font-size: 15px; } }

/* 로그인: 비밀번호 찾기 · 내 정보: 이메일 변경 중 */
.au-forgot { margin: -4px 0 14px; text-align: right; font-size: 13px; }
.au-forgot a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .au-forgot a:hover { color: var(--orange); } }
.mi-pend { color: #b45a0a !important; font-weight: 600; }

/* 비밀번호 칸: 눈 아이콘으로 입력한 글자 보기(site.js) */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 46px !important; }
.pw-eye { position: absolute; top: 50%; right: 6px; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -18px; padding: 8px; border: 0; border-radius: 10px; background: none; color: var(--ink-3); cursor: pointer; }
.pw-eye svg { width: 100%; height: 100%; }
@media (hover: hover) { .pw-eye:hover { background: rgba(20, 22, 42, .06); color: var(--ink); } }
.pw-eye[aria-pressed="true"] { color: var(--orange); }

/* 상품 · 쿠지 상세: 공유 버튼 */
/* 위 카드와의 간격은 어디서나 10px(.it-body 는 칸 사이 간격이 이미 있어 그만큼 뺀다: PC 20px, 폰 14px) */
.sh { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.it-body .sh { margin-top: -10px; }

.sh-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 1px solid rgba(20, 22, 42, .12); border-radius: 999px; background: #fff; color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.sh-btn[hidden] { display: none; }
.sh-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
@media (hover: hover) { .sh-btn:hover { border-color: var(--ink-3); color: var(--ink); } }
.sh-btn.is-done { border-color: var(--orange); background: #fff1e2; color: #b45a0a; }
.sh-kakao { border-color: #fee500; background: #fee500; color: rgba(0, 0, 0, .85); }
@media (hover: hover) { .sh-kakao:hover { border-color: #f5dc00; background: #f5dc00; color: #000; } }
/* 폰: 공유 버튼을 작게 */
@media (max-width: 767px) {
  .sh { gap: 6px; }
  .it-body .sh { margin-top: -4px; }
  .sh-btn { gap: 5px; height: 32px; padding: 0 11px; font-size: 12px; }
  .sh-btn svg { width: 14px; height: 14px; }
}

/* ---------- 휴대폰 화면 정리 ---------- */
@media (max-width: 767px) {
  /* 헤더: 검색칸 대신 돋보기 하나. 누르면 헤더 아래 전체 폭 검색줄 */
  .hd-row { padding: 0 16px; gap: 10px; }
  .logo img { height: 36px; }
  .hd-tools { gap: 10px; }
  .hd-tools .hd-search { flex: 0 0 auto; width: 34px; height: 34px; }
  .hd-search input { display: none; }
  .hd-search button[type=submit] { position: static; display: grid; place-items: center; width: 34px; height: 34px; padding: 6px; }
  .hd-search button[type=submit] svg { width: 22px; height: 22px; }
  .hd-search.is-open { position: fixed; top: 60px; left: 0; right: 0; z-index: 55; display: flex; align-items: center; gap: 8px; width: auto; height: 60px; padding: 0 16px;
    background: #fff; box-shadow: 0 12px 24px -16px rgba(20, 22, 42, .35); animation: gnb-in .2s cubic-bezier(.22, 1, .36, 1); }
  .hd-search.is-open input { display: block; flex: 1; height: 42px; padding: 0 14px; border: 0; border-radius: 12px; background: #f4f4f2; font-size: 16px; }
  .hd-search.is-open input:focus-visible { border: 0; box-shadow: 0 0 0 2px var(--orange); }
  .hd-search .sg { top: 120px; }
  .hd-login { height: 32px; padding: 0 12px; }

  /* 가로로 넘기는 줄: 첫 카드가 화면 끝에 붙지 않게 */
  .hk-grid, .rail, .lines-row { scroll-padding-inline: 20px; }

  /* 떠 있는 버튼: 조금 작게, 모서리로 */
  .fb { right: 12px; bottom: 14px; gap: 8px; }
  .fb-btn { width: 44px; height: 44px; padding: 12px; box-shadow: 0 6px 16px -6px rgba(20, 22, 42, .35); }

  /* 카드 하트: 손가락 기기에서는 늘 보여서 작게 */
  .ixlist .fav, .my-works .fav { top: 6px; right: 6px; width: 30px; height: 30px; padding: 7px; }
  .card .fav { top: 8px; right: 8px; width: 32px; height: 32px; padding: 7px; }

  /* 찜 목록 바로가기: 한 줄 6칸(피규어 · 이치방쿠지 · 가챠 · 작품 · 시리즈 · 제조사), 짧은 이름. 지금 보는 칸 표시는 폰에서 끈다(첫 칸이 계속 칠해져 보임) */
  .my-nav { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding: 6px 4px; }
  .my-nav a { padding: 8px 0; font-size: 10.5px; letter-spacing: -0.04em; gap: 5px; white-space: nowrap; }
  .my-nav a.is-on { background: none; box-shadow: none; }
  .my-nav a.is-on.my-nav-fav .my-nav-ico { background: rgba(224, 49, 43, .09); }
  .my-nav a.is-on.my-nav-kuji .my-nav-ico { background: rgba(242, 138, 42, .14); }
  .my-nav a.is-on.my-nav-gacha .my-nav-ico { background: rgba(14, 143, 160, .1); }
  .my-nav a.is-on.my-nav-works .my-nav-ico { background: rgba(3, 150, 90, .1); }
  .my-nav a.is-on.my-nav-series .my-nav-ico { background: rgba(88, 48, 165, .1); }
  .my-nav a.is-on.my-nav-makers .my-nav-ico { background: rgba(0, 98, 177, .1); }
  .my-nav-pre { display: none; }
  .my-nav-ico { width: 30px; height: 30px; padding: 7px; }

  /* 로그인 · 가입 카드: 헤더와 살짝 띄우기 */
  .au { padding-top: 20px; }
}

/* 휴대폰: 섹션 제목 줄을 촘촘하게. 제목은 작게, '전체 보기' 버튼은 제목 오른쪽 한 줄로 */
@media (max-width: 767px) {
  .sec { padding-top: 56px; }
  .s-head { flex-direction: row; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
  .s-head > div { min-width: 0; }
  .s-head .label { margin-bottom: 6px; font-size: 11.5px; }
  .s-head h2 { font-size: 22px; line-height: 1.25; word-break: keep-all; }
  .s-head .s-note { margin-top: 4px; font-size: 12.5px; }
  .s-head .pill-link { flex-shrink: 0; height: 32px; padding: 0 12px; font-size: 12.5px; }
  .s-head .pill-link svg { width: 13px; height: 13px; }
  .browse-tabs { margin-bottom: 14px; }
}

/* 휴대폰 푸터: 세 칸 설명을 작은 글씨로 촘촘하게, 로고 · 약관 링크는 한 줄 */
@media (max-width: 767px) {
  .ft { margin-top: 72px; }
  [data-page="home"] .ft { margin-top: 0; }
  .ft-in { padding: 28px 20px 0; }
  .ft-cols { grid-template-columns: 1fr; gap: 10px; font-size: 11.5px; line-height: 1.55; }
  .ft-cols b { display: inline; margin: 0 6px 0 0; font-size: 12px; }
  .ft-cols p { display: inline; max-width: none; color: rgba(255, 255, 255, .6); }
  .ft-cols > div:first-child p { display: none; }   /* 이름 줄은 제목만 */
  /* 바닥글 아래: 왼쪽부터 한 줄로 로고 · 약관 링크 */
  .ft-bot { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; margin-top: 18px; }
  .ft-bot .ft-mark { flex-shrink: 0; padding: 14px 0 18px; }
  .ft-mark img { height: 40px; }
  .ft-links { gap: 12px; padding-bottom: 0; font-size: 12px; white-space: nowrap; }
}

/* 메인 '곧 만나는 발매 예정': 커버 스케일 줄. 가운데 카드는 크고 밝게, 양옆 카드는 작아지며 바깥으로 기울어 뒤로 겹친다 */
.rail.is-cover { --cv-w: 340px; grid-auto-columns: var(--cv-w); gap: 0; padding: 24px calc(50% - var(--cv-w) / 2) 0; scroll-snap-type: x mandatory; overflow-y: visible; perspective: 1400px; }
.rail.is-cover > li { position: relative; scroll-snap-align: center; perspective: 1400px; }
/* 움직임은 안쪽 링크에만(li 자체를 움직이면 브라우저가 맞춰 멈출 자리를 잘못 잡는다) */
.rail.is-cover > li > a { display: block; transform: translate3d(var(--cv-x, 0), 0, 0) rotateY(var(--cv-r, 0deg)) scale(var(--cv-s, 1)); transform-origin: center 42%; will-change: transform; }
.rail.is-cover > li .ph::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #14162a; opacity: var(--cv-d, 0); pointer-events: none; }
.rail.is-cover > li:not(.is-center) { cursor: pointer; }
.rail.is-cover { scroll-padding-inline: 0 !important; }
.rail.is-cover > li .tl, .rail.is-cover > li .sub, .rail.is-cover > li .nm-series { opacity: var(--cv-t, 1); }
.rail.is-cover > li .ph { box-shadow: 0 24px 40px -26px rgba(20, 22, 42, .55); }
.rail.is-cover > li:not(.is-center) .fav { opacity: 0; pointer-events: none; }
.rail-wrap.is-cover .rail-ctl { margin-top: 8px; }
@media (max-width: 767px) {
  .rail.is-cover { --cv-w: 62vw; }
  .rail-wrap.is-cover .rail-ctl { margin-top: 4px; }
}

/* 넘기기 조작: 점 줄. 지금 카드 점만 주황 알약으로 늘어난다(화살표 · 진행선은 숨김) */
.rail-ctl { justify-content: center; width: auto; margin-left: 0; margin-right: 0; }
.rail-ctl .rail-bar { display: none; }
/* 점 양옆 화살표: 바탕 없이 누르기 쉬운 크기(44px). 마우스를 올리면 주황 */
.rail-ctl { gap: 6px; }
.rail-ctl > button { display: grid; place-items: center; width: 44px; height: 44px; padding: 12px; border: 0; border-radius: 50%; background: none; color: var(--ink-2); cursor: pointer; transition: color .15s, background-color .15s, opacity .15s; }
.rail-ctl > button svg { width: 100%; height: 100%; }
@media (hover: hover) { .rail-ctl > button:not(:disabled):hover { color: var(--orange); background: rgba(242, 138, 42, .1); } }
.rail-ctl > button:not(:disabled):active { background: rgba(242, 138, 42, .18); }
.rail-ctl > button:disabled { opacity: .2; cursor: default; }
.rail-ctl:has(.rail-dots[hidden]) { display: none; }  /* 넘길 게 없으면 화살표도 숨김 */
.rail-dots { display: flex; align-items: center; gap: 6px; padding: 8px 0; }
.rail-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(20, 22, 42, .18); cursor: pointer;
  transition: width .35s cubic-bezier(.22, 1, .36, 1), background-color .25s; }
.rail-dots button.is-on { width: 26px; background: var(--orange); }
@media (hover: hover) { .rail-dots button:not(.is-on):hover { background: rgba(20, 22, 42, .38); } }
.rail-dots button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .rail-dots button { transition: none; } }

.rail, .lines-row { position: relative; }  /* 카드 위치(offsetLeft)를 줄 기준으로 재도록 */
.rail-dots[hidden] { display: none; }

/* ---- 탭 전환 효과(Sliding Pill) ---- */
/* 메인 메뉴: 마우스를 따라 미끄러지는 막대. 있을 때는 원래 막대(.gnb-bar)와 연한 막대(::after)를 숨긴다 */
.gnb { position: relative; }
.gnb-hov { position: absolute; left: 0; bottom: 13px; height: 4px; border-radius: 4px; background: rgba(20, 22, 42, .2); opacity: 0; pointer-events: none;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), width .4s cubic-bezier(.22, 1, .36, 1), background-color .2s, opacity .2s; }
.gnb-hov.is-on { opacity: 1; }
.gnb-hov.is-home { background: var(--orange); }
.gnb.has-hov a::after, .gnb.has-hov .gnb-bar { visibility: hidden; }
@media (max-width: 1023px) { .gnb-hov { display: none; } .gnb.has-hov .gnb-bar { visibility: visible; } }

/* 메인 둘러보기 탭: 글자 탭 + 아래 주황 막대 */
.browse-tabs.is-slide { position: relative; gap: 4px; border-bottom: 1px solid rgba(20, 22, 42, .1); }
.browse-tabs.is-slide button { height: 44px; padding: 0 16px; border: 0; border-radius: 0; background: none; color: var(--ink-3); font-size: 15.5px; font-weight: 700; }
.browse-tabs.is-slide button:hover { color: var(--ink); background: none; }
.browse-tabs.is-slide button[aria-pressed="true"] { background: none; color: var(--navy); font-weight: 800; }
.tab-bar { position: absolute; left: 0; bottom: -1px; height: 3px; border-radius: 3px; background: var(--orange); opacity: 0;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), width .45s cubic-bezier(.22, 1, .36, 1), opacity .2s; }
.tab-bar.is-on { opacity: 1; }

/* 달 고르기: 마우스를 올린 달 미리보기 알약(고른 달 주황 알약 뒤) */
.ym-hov { position: absolute; top: 0; left: 0; z-index: 0; border-radius: 14px; background: rgba(242, 138, 42, .12); opacity: 0; pointer-events: none;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), width .35s cubic-bezier(.22, 1, .36, 1), opacity .2s; }
.ym-hov.is-on { opacity: 1; }
[data-ym-cells] > a { position: relative; z-index: 1; }
@media (hover: hover) { [data-ym-cells] > a:not([aria-current]):hover { background: none !important; } }
@media (prefers-reduced-motion: reduce) { .gnb-hov, .tab-bar, .ym-hov { transition: opacity .2s; } }

/* 달 고르기(PC): 주황 알약 대신 '홈' — 달 칸 아래 가는 선이 고른 달 아래에서 움푹 파이고 점이 들어간다. 고른 달은 주황 글자 */
@media (min-width: 1024px) {
  /* 홈 선은 달 칸 안쪽 아래에 그린다: 칸 · 해 상자 · 전체를 모두 같은 높이(58px)로, 글자는 조금 위로 */
  .ym-y, .kym-y { height: 46px; align-self: flex-start; }   /* 해 상자 · 전체 · 달 글자를 같은 46px 줄에, 그 아래가 홈 선 */
  .ym-m > a, .ym-m > span, .kym-m > a, .kym-m > span { height: 58px; padding-bottom: 12px; }
  .ym-m .ym-all, .kym-m .kym-all { height: 46px; padding-bottom: 0; margin-top: 0; }
  .ym-notch { position: absolute; inset: 0 0 auto 0; z-index: 2; height: 0; color: rgba(20, 22, 42, .22); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .ym-notch svg { position: absolute; left: 0; top: 0; width: auto; height: auto; overflow: visible; }
  .ym-notch b { position: absolute; left: 0; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 2px 6px -1px rgba(242, 138, 42, .7); }
  .ym-notch.is-on { opacity: 1; }
  .ym-ink, .kym-ink { display: none; }
  .ym-m a[aria-current="page"], .kym-m a[aria-current="page"] { background: none; }
  .ym-m a[aria-current="page"] b, .ym-m a[aria-current="page"] b small, .kym-m a[aria-current="page"] b, .kym-m a[aria-current="page"] b small { color: var(--orange); }
  .ym-m .ym-all[aria-current="page"] b, .kym-m .kym-all[aria-current="page"] b { color: var(--orange); }
  .ym-m a[aria-current="page"].is-now b::after, .kym-m a[aria-current="page"].is-now b::after { background: var(--orange); }
}
@media (max-width: 1023px) { .ym-notch { display: none; } }

/* 해 상자(‹ 2026 ›): 짙은 남색 대신 연한 주황 바탕 + 남색 글자 */
.ym-y, .kym-y { background: #fff1e2; color: var(--navy); box-shadow: inset 0 0 0 1.5px rgba(242, 138, 42, .28); }
.ym-y button:not(.ym-step), .kym-y button:not(.kym-step) { color: var(--navy); }
.ym-step, .kym-step { color: rgba(20, 22, 42, .45); }
@media (hover: hover) {
  .ym-step:not(:disabled):hover, .kym-step:not(:disabled):hover { background: rgba(242, 138, 42, .16); color: var(--orange); }
  .ym-y button:not(.ym-step):hover, .kym-y button:not(.kym-step):hover { background: rgba(242, 138, 42, .14); }
}
.ym-yl, .kym-yl { color: var(--navy); }
@media (hover: hover) { .ym-yl:hover, .kym-yl:hover { background: rgba(242, 138, 42, .14); } }
.ym-yl[aria-expanded="true"], .kym-yl[aria-expanded="true"] { background: rgba(242, 138, 42, .18); }

/* '전체' 칸: 회색 바탕 없이 다른 달 칸과 같게(남색 글자로만 구분) */
.ym-m .ym-all, .kym-m .kym-all { background: none; }
@media (hover: hover) { .ym-m .ym-all:not([aria-current]):hover, .kym-m .kym-all:not([aria-current]):hover { background: #f3f3f1; } }

/* 해 상자: 진한 주황 바탕 + 흰 글자 */
.ym-y, .kym-y { background: var(--orange); color: #fff; box-shadow: 0 8px 18px -10px rgba(242, 138, 42, .8); }
.ym-yl, .kym-yl, .ym-y button:not(.ym-step), .kym-y button:not(.kym-step) { color: #fff; }
.ym-step, .kym-step { color: rgba(255, 255, 255, .75); }
@media (hover: hover) {
  .ym-step:not(:disabled):hover, .kym-step:not(:disabled):hover { background: rgba(255, 255, 255, .2); color: #fff; }
  .ym-yl:hover, .kym-yl:hover, .ym-y button:not(.ym-step):hover, .kym-y button:not(.kym-step):hover { background: rgba(255, 255, 255, .18); }
}
.ym-yl[aria-expanded="true"], .kym-yl[aria-expanded="true"] { background: rgba(255, 255, 255, .22); }

/* 해 목록(해 상자 안에 열리는 흰 판)의 해 버튼은 해 상자 글자색(흰색)을 물려받지 않게 */
.ym-y .ym-ypop button, .kym-y .kym-ypop button { color: var(--ink); }
@media (hover: hover) { .ym-ypop button:not([aria-pressed="true"]):hover, .kym-ypop button:not([aria-pressed="true"]):hover { background: #e9e9e6; } }
.ym-y .ym-ypop button[aria-pressed="true"], .kym-y .kym-ypop button[aria-pressed="true"] { background: var(--orange); color: #fff; box-shadow: none; }
.ym-ypop button[aria-pressed="true"].is-now::after, .kym-ypop button[aria-pressed="true"].is-now::after { background: #fff; }

/* 작품 · 시리즈 · 제조사 자음 바: 주황 알약이 고른 자음으로 미끄러진다 + 카드가 차례로 다시 나온다 */
.ix-cho { position: relative; }
.ix-cho button { position: relative; z-index: 1; transition: color .25s, background-color .2s; }
.ix-cho.has-ink button[aria-pressed="true"] { background: transparent; }
.cho-ink { position: absolute; top: 0; left: 0; z-index: 0; border-radius: 12px; background: var(--orange); box-shadow: 0 8px 16px -8px rgba(242, 138, 42, .8); pointer-events: none;
  transition: transform .45s cubic-bezier(.34, 1.25, .64, 1), width .45s cubic-bezier(.22, 1, .36, 1), height .45s, opacity .2s; }
.ixlist > li.is-pop { animation: ix-in .45s cubic-bezier(.22, 1, .36, 1) var(--d, 0s) both; }
@keyframes ix-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@media (prefers-reduced-motion: reduce) { .cho-ink { transition: none; } .ixlist > li.is-pop { animation: none; } }

/* ---------- 휴대폰 메뉴(다시 디자인): 헤더 아래로 내려오는 전체 폭 판 ---------- */
.gnb-ico, .gnb-go, .gnb-dim { display: none; }
.menu-btn .mb-l { display: block; width: 20px; height: 1.8px; margin: 0 auto; border-radius: 2px; background: currentColor; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.menu-btn .mb-l + .mb-l { margin-top: 6px; }
@media (max-width: 1023px) {
  .menu-btn { display: grid; align-content: center; width: 38px; height: 38px; color: var(--ink); }
  .menu-btn[aria-expanded="true"] .mb-l:first-child { transform: translateY(3.9px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .mb-l:last-child { transform: translateY(-3.9px) rotate(-45deg); }
  .gnb { position: fixed; top: 60px; left: 0; right: 0; bottom: auto; z-index: 58; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 60px); overflow-y: auto;
    padding: 10px 12px 14px; border-radius: 0 0 24px 24px; background: #fff; box-shadow: 0 24px 40px -20px rgba(20, 22, 42, .4);
    /* 판이 헤더 아래에서 위→아래로 스르륵 펼쳐진다(위부터 드러남) */
    visibility: hidden; clip-path: inset(0 0 100% 0 round 0 0 24px 24px); transition: clip-path .45s cubic-bezier(.22, 1, .36, 1), visibility 0s .45s; animation: none; }
  .gnb.is-open { display: flex; visibility: visible; clip-path: inset(0 0 0 0 round 0 0 24px 24px); transition: clip-path .55s cubic-bezier(.22, 1, .36, 1), visibility 0s; animation: none; }
  .gnb > a { display: flex; align-items: center; gap: 14px; height: 58px; padding: 0 12px; border-radius: 16px; font-size: 16.5px; font-weight: 700; color: var(--ink); background: none; }
  .gnb > a[aria-current="page"] { background: #fff1e2; color: var(--navy); }
  .gnb > a[aria-current="page"]::before { display: none; }
  .gnb-ico { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: #f4f4f2; color: var(--ink-2); }
  .gnb-ico svg { width: 100%; height: 100%; }
  .gnb > a[aria-current="page"] .gnb-ico { background: var(--orange); color: #fff; }
  .gnb-t { flex: 1; }
  .gnb-go { display: block; width: 18px; height: 18px; color: #c4c4c0; }
  .gnb > a[aria-current="page"] .gnb-go { color: var(--orange); }
  .gnb.is-open > a { animation: gnb-row .5s cubic-bezier(.22, 1, .36, 1) both; }
  .gnb.is-open > a:nth-child(2) { animation-delay: .05s; } .gnb.is-open > a:nth-child(3) { animation-delay: .1s; }
  .gnb.is-open > a:nth-child(4) { animation-delay: .15s; } .gnb.is-open > a:nth-child(5) { animation-delay: .2s; }
  @keyframes gnb-row { from { opacity: 0; transform: translateY(-14px); } }

  .gnb-dim { display: block; position: fixed; inset: 60px 0 0; z-index: 29; background: rgba(20, 22, 42, .4); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
  .is-menu .gnb-dim { opacity: 1; visibility: visible; transition: opacity .25s; }
  /* 메뉴가 열리면 스크롤 막기: body 가 아니라 html 에 건다. html 에 overflow-x 가 걸려 있어 body 에 걸면 body 가 따로 스크롤 상자가 되고,
     위에 붙은 헤더(sticky)와 그 안의 메뉴판이 페이지 맨 위로 돌아가 화면 밖에 열린다(내려 놓고 메뉴를 누르면 어두운 막만 보이던 문제) */
  html.is-menu { overflow: hidden; }
}
/* 메뉴 판: 한 줄에 4칸(아이콘 위 · 이름 아래) */
@media (max-width: 1023px) {
  .gnb, .gnb.is-open { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 0; padding: 16px 8px 18px; }
  /* 판 · 테두리 없이 아이콘 + 이름만, 칸 사이는 얇은 세로줄. 지금 페이지는 주황 아이콘 · 글자 */
  .gnb > a { min-width: 0; flex-direction: column; justify-content: center; gap: 7px; height: auto; padding: 4px 0; border-radius: 0; font-size: 13px; letter-spacing: -0.02em; white-space: nowrap; }
  .gnb > a:not(:nth-child(4n)):not(:last-child) { border-right: 1px solid rgba(20, 22, 42, .1); }
  .gnb > a[aria-current="page"] { background: none; color: var(--orange); }
  .gnb > a[aria-current="page"] .gnb-ico { background: none; color: var(--orange); }
  .gnb-t { flex: none; }
  .gnb-go { display: none; }
  .gnb-ico { width: 30px; height: 30px; padding: 0; border-radius: 0; background: none; }
  .gnb.is-open > a:nth-child(6) { animation-delay: .25s; }
}
@media (prefers-reduced-motion: reduce) { .gnb, .gnb.is-open > a, .menu-btn .mb-l { transition: none; animation: none; } }

/* 휴대폰: 페이지 끝(전체 보기 · 더 보기 버튼)과 푸터 사이 간격 줄이기 */
@media (max-width: 767px) {
  .ft { margin-top: 40px; }
  .more-btn { margin-top: 32px; }
  main > .pg:last-child, main > .sec:last-child { padding-bottom: 0; }
}

/* 2. 뼈대 화면: 사진이 뜨기 전 칸에 은은한 반짝이 */
.ph:not(.is-loaded):has(img), .kj-ph:not(.is-loaded):has(img), .hk-img:not(.is-loaded):has(img), .ix-img:not(.is-loaded):has(img) {
  background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 70%); background-size: 200% 100%; animation: skel 1.2s linear infinite; }
.ph:has(img) img, .kj-ph:has(img) img, .hk-img:has(img) img { opacity: 0; transition: opacity .18s, transform .6s cubic-bezier(.22, 1, .36, 1); }
.ph.is-loaded img, .kj-ph.is-loaded img, .hk-img.is-loaded img { opacity: 1; }
@keyframes skel { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .ph, .kj-ph, .hk-img, .ix-img { animation: none !important; } }

/* 3. 상품 상세(휴대폰): 사진 넘기기 줄 + 점 */
.it-stage.is-strip { display: block; aspect-ratio: auto; }
.it-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: inherit; }
.it-strip::-webkit-scrollbar { display: none; }
.it-slide { flex: 0 0 100%; scroll-snap-align: center; }
.it-slide img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.it-dots { justify-content: center; padding: 10px 0 6px; }

/* 4. 찜 하트 터짐 */
.hb { position: fixed; z-index: 200; width: 0; height: 0; pointer-events: none; }
.hb i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8-4.9-8-11a4.6 4.6 0 0 1 8-3 4.6 4.6 0 0 1 8 3c0 6.1-8 11-8 11z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8-4.9-8-11a4.6 4.6 0 0 1 8-3 4.6 4.6 0 0 1 8 3c0 6.1-8 11-8 11z'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: hb-fly .75s cubic-bezier(.22, 1, .36, 1) both; }
.hb i:nth-child(3n) { background: var(--orange); }
@keyframes hb-fly { 0% { opacity: 0; transform: translate(0, 0) scale(.2); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(var(--s)); } }

/* 5. 카드 발매 시점 뱃지 */
.ph .dd { position: absolute; left: 10px; top: 10px; z-index: 1; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: -0.01em; }
.ph .dd.is-now { background: var(--orange); }

@media (max-width: 767px) { .ph .dd { left: 8px; top: 8px; height: 22px; padding: 0 8px; font-size: 11px; } }

/* 6. 찜 목록 정렬 · 작품 고르기 */
.fv-tools { display: grid; gap: 10px; margin: -4px 0 18px; }
.fv-sort, .fv-works { display: flex; flex-wrap: wrap; gap: 6px; }
.fv-sort button, .fv-works button { height: 34px; padding: 0 14px; border: 1px solid rgba(20, 22, 42, .1); border-radius: 999px; background: #fff; color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.fv-sort button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.fv-works button[aria-pressed="true"] { border-color: rgba(242, 138, 42, .45); background: #fff1e2; color: #b45a0a; }
@media (hover: hover) { .fv-sort button:not([aria-pressed="true"]):hover, .fv-works button:not([aria-pressed="true"]):hover { border-color: var(--ink-3); color: var(--ink); } }
.fv-figs > li.is-pop { animation: ix-in .45s cubic-bezier(.22, 1, .36, 1) var(--d, 0s) both; }
@media (max-width: 767px) { .fv-sort, .fv-works { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .fv-sort button, .fv-works button { flex-shrink: 0; } }

/* 8. 검색창 최근 검색어 */
.sg-rq-h { display: flex; align-items: center; justify-content: space-between; }
.sg-rq-clear { padding: 4px 8px; border: 0; background: none; color: var(--ink-3); font: inherit; font-size: 12px; cursor: pointer; }
@media (hover: hover) { .sg-rq-clear:hover { color: var(--red); } }
.sg-rq { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 8px 10px; }
.sg-chip { display: inline-flex; align-items: center; height: 32px; padding: 0 4px 0 12px; border-radius: 999px; background: #f4f4f2; font-size: 13px; font-weight: 600; }
.sg-chip a { color: var(--ink); }
.sg-chip button { width: 24px; height: 24px; margin-left: 2px; border: 0; border-radius: 50%; background: none; color: var(--ink-3); font-size: 15px; line-height: 1; cursor: pointer; }
@media (hover: hover) { .sg-chip button:hover { background: #e7e7e4; color: var(--ink); } .sg-chip:hover a { color: var(--orange); } }

.sg-rq-h { gap: 8px; padding-right: 4px; }
.sg-rq-h .sg-h { flex: 1; }
.sg-rq-clear { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 767px) { .vc-rel dd { font-size: 15.5px; } }

/* ---------- 머리의 관리 버튼(관리자만 보임). 관리자 화면 디자인은 admin/admin.css ---------- */
.hd-admin { flex-shrink: 0; display: grid; place-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 800; }

/* 검색: 피규어 페이지 목록과 같은 틀(검색 칸 → 작품 · 제조사 칸 → 카드) */
.sr-box { position: relative; display: flex; align-items: center; gap: 14px; max-width: 760px; height: 64px; margin: 0 0 28px; padding: 0 12px 0 22px; border-radius: 20px; background: #fff;
  box-shadow: 0 1px 2px rgba(20, 22, 42, .04), 0 14px 32px -18px rgba(20, 22, 42, .22); transition: box-shadow .2s; }
.sr-box:focus-within { box-shadow: 0 0 0 2px var(--orange), 0 14px 32px -16px rgba(242, 138, 42, .45); }
.sr-box > svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--orange); }
.sr-box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 18px; font-weight: 600; }
.sr-box input::placeholder { font-weight: 500; color: var(--ink-3); }
.sr-box input::-webkit-search-cancel-button { display: none; }
.sr-clear { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f1ef; color: var(--ink-2); font: inherit; font-size: 20px; line-height: 1; cursor: pointer; transition: background-color .15s; }
.sr-clear[hidden] { display: none; }
@media (hover: hover) { .sr-clear:hover { background: #e6e6e3; color: var(--ink); } }
@media (max-width: 767px) { .sr-box { height: 54px; margin-bottom: 18px; padding: 0 8px 0 16px; gap: 10px; border-radius: 16px; } .sr-box > svg { width: 19px; height: 19px; } .sr-box input { font-size: 16px; } .sr-clear { width: 32px; height: 32px; } }
/* 검색 페이지 큰 칸의 자동완성: 칸 바로 아래, 칸 너비 그대로 */
.sr-box .sg { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60; max-height: min(60vh, 520px); overflow-y: auto; padding: 8px; border-radius: 18px; background: #fff;
  box-shadow: 0 24px 48px -18px rgba(20, 22, 42, .35), 0 0 0 1px rgba(20, 22, 42, .06); animation: sel-in .18s cubic-bezier(.22, 1, .36, 1); }
.sr-box .sg[hidden] { display: none; }
/* 상품 상세: 가격 줄 */
.vc-row dd:has(.vc-price) { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.vc-price { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.vc-price small { font-size: inherit; font-weight: inherit; }
/* 카드 왼쪽 위 표시: NEW(등록 7일 안) + 이번 달 · 다음 달 · N개월 뒤 */
.ph-tags { position: absolute; left: 10px; top: 10px; z-index: 1; display: flex; flex-wrap: wrap; gap: 4px; }
.ph-tags .dd { position: static; }
.rs-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: #fff; color: #b85d0c; box-shadow: inset 0 0 0 1.5px var(--orange); font-size: 11px; font-weight: 900; letter-spacing: .04em; }
/* 피규어 목록 위 발매 · 예약 탭(밑줄 탭) */
/* 알약 모양 세그먼트: 주황 판이 고른 탭으로 미끄러져 간다(site.js 가 위치를 잡는다) */
.mf-tabs { position: relative; display: inline-flex; flex-shrink: 0; gap: 2px; margin: 0; padding: 3px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 22, 42, .08); }
.mf-thumb { position: absolute; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 999px; background: var(--orange); transform: translateX(var(--x, 4px)); width: var(--w, 0); transition: transform .32s cubic-bezier(.3, 1.3, .5, 1), width .32s cubic-bezier(.3, 1.3, .5, 1); }
.mf-tabs.no-anim .mf-thumb { transition: none; }
/* site.js 가 판 위치를 잡기 전(새로고침 직후)에는 고른 탭 자체에 주황 바탕을 칠해 둔다 */
.mf-tabs:not([data-ready]) .mf-thumb { visibility: hidden; }
.mf-tabs:not([data-ready]) button[aria-pressed=true] { background: var(--orange); }
.mf-tabs button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; transition: color .2s, transform .12s; -webkit-tap-highlight-color: transparent; }
.mf-tabs button span { display: none; }   /* 개수는 오른쪽 '총 N개'로 충분해서 숨긴다 */
.mf-tabs button:hover { color: var(--ink); }
.mf-tabs button:active { transform: scale(.95); }
.mf-tabs button[aria-pressed=true] { color: #fff; }
.mf-tabs button:focus { outline: none; }
.mf-tabs button:focus-visible { box-shadow: inset 0 0 0 2px var(--navy); }
/* 모바일: 연·월 버튼 | 탭 한 줄, 그 아래 작품 · 제조사, 이름 찾기, '총 N개' */
@media (max-width: 767px) {
  /* 탭은 위 연·월 버튼 오른쪽으로 올려 한 줄로(연·월 버튼은 그만큼 좁힌다) */
  .mf:has(.mf-tabs) { position: relative; }
  /* 윗줄도 아래 작품 · 제조사 칸처럼 반반, 줄 사이는 8px. 칸 높이는 모두 36px. 탭을 올리는 거리 = 버튼 높이 36 + 줄 사이 8 */
  .pg:has(.mf-tabs) .ym { margin-bottom: 8px; }
  /* 탭도 다른 칸과 같은 모서리 · 테두리, 글자는 모든 칸 14px 700 */
  .mf-tabs { position: absolute; right: 0; top: -44px; width: calc(50% - 4px); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
  .mf-thumb { border-radius: 9px; }
  .pg:has(.mf-tabs) .ym-mob-btn, .kj-list .ym-mob-btn { width: calc(50% - 4px); height: 36px; padding: 0 10px 0 16px; border-radius: 12px; font-size: 14px; font-weight: 700; }
  .pg:has(.mf-tabs) .sel-btn, .kj-list .sel-btn { height: 36px; font-weight: 700; }
  .pg:has(.mf-tabs) .mf > select { height: 36px; }  /* site.js 가 꾸미기 전 맨 select 도 같은 높이 */
  .pg:has(.mf-tabs) .ym-mob-btn svg, .kj-list .ym-mob-btn svg { flex-shrink: 0; width: 18px; height: 18px; }
  .mf-tabs button { flex: 1; justify-content: center; height: 30px; padding: 0; border-radius: 9px; font-size: 14px; font-weight: 700; }
  /* 셋째 줄: 이름 찾기(전체 폭), 그 아래 줄: 총 N개 */
  .mf:has(.mf-tabs) .lp-count { order: 4; flex: 0 0 100%; margin: 4px 0 0; padding-left: 4px; font-size: 14px; }
  .mf:has(.mf-tabs) .sel, .mf > select { order: 2; }
  .mf:has(.mf-tabs) .sel, .mf > select { flex: 1 1 calc(50% - 4px); min-width: 0; }
  .mf:has(.mf-tabs) .mf-q { order: 3; flex: 0 0 100%; height: 36px; }
}
/* 아주 좁은 폰: 반 칸에서도 '2026년 11월'이 잘리지 않게 */
@media (max-width: 359px) {
  .pg:has(.mf-tabs) .ym-mob-btn, .kj-list .ym-mob-btn { gap: 4px; padding: 0 8px 0 12px; }
}
@media (prefers-reduced-motion: reduce) { .mf-thumb, .mf-tabs button { transition: none; } }
.nw-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: #e0312b; color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .04em; }
@media (max-width: 767px) { .ph-tags { left: 8px; top: 8px; } .nw-tag, .rs-tag { height: 22px; padding: 0 8px; font-size: 10.5px; } }

/* 쿠지 상세 위: PC에서 오른쪽(티켓 · 공식 페이지 · 공유)을 왼쪽 큰 그림 높이에 맞춘다 — 티켓이 늘어나 채운다 */
@media (min-width: 1024px) {
  .kj-head { align-items: stretch; }
  .kj-side { display: flex; flex-direction: column; }
  .kj-side .kt-ticket { flex: 1 1 auto; }
  .kj-side > :last-child { margin-bottom: 0; }
  /* 늘어난 티켓을 채운다: 정보 줄은 같은 높이로 나눠 위아래로 펼치고(줄 사이 옅은 선), 왼쪽 날짜는 위 · 가운데 · 아래로 */
  .kj-side .kt-info { align-content: stretch; grid-auto-rows: 1fr; gap: 0; padding: 10px 28px; }
  .kj-side .kt-info > div { align-items: center; font-size: 15px; border-bottom: 1px solid rgba(20, 22, 42, .07); }
  .kj-side .kt-info > div:last-child { border-bottom: 0; }
  .kj-side .kt-info dt { padding-top: 0; white-space: nowrap; }
  .kj-side .kt-info > div { grid-template-columns: 72px minmax(0, 1fr); }
  /* 오른쪽이 더 길어지면 왼쪽 큰 그림도 같은 높이로 채운다(가장자리가 조금 잘릴 수 있다) */
  .kj-head .kj-hero { display: flex; }
  .kj-head .kj-hero img { width: 100%; height: 100%; object-fit: cover; }
  .kj-side .kt-stub { padding: 28px 18px; }
}

/* 쿠지 티켓 왼쪽(발매 월): 연도 · 큰 월 · 영문 월을 가운데 정렬로 */
.kt-stub { align-items: center; text-align: center; }
.kt-stub .kt-y { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--ink-3); }
.kt-stub b { display: flex; align-items: baseline; justify-content: center; gap: 2px; margin: 6px 0 8px; font-size: 60px; letter-spacing: -0.04em; }
.kt-stub b i { font-size: 22px; font-style: normal; font-weight: 800; letter-spacing: 0; }
.kt-stub .kt-en { padding: 3px 10px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
@media (max-width: 767px) { .kt-stub b { font-size: 42px; } .kt-stub b i { font-size: 16px; } .kt-stub .kt-en { font-size: 10px; padding: 2px 8px; letter-spacing: .06em; } }

/* 상품 상세 아래 '비슷한 피규어' */
.it-sim { margin-top: 80px; padding-top: 56px; border-top: 1px solid rgba(20, 22, 42, .12); }
.it-sim .s-head { margin-bottom: 28px; }
.it-sim .s-head h2 { font-size: clamp(24px, 2.2vw, 30px); }
@media (max-width: 767px) { .it-sim { margin-top: 48px; padding-top: 40px; } }

/* 상품 상세(PC) 큰 사진 양옆 화살표: 사진 위에 마우스를 올리면 또렷해진다 */
.it-stage { position: relative; }
.it-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; padding: 13px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: 0 8px 20px -10px rgba(20, 22, 42, .45); cursor: pointer; opacity: .55; transition: opacity .15s, transform .15s; }
.it-nav svg { width: 100%; height: 100%; }
.it-nav-prev { left: 16px; } .it-nav-next { right: 16px; }
.it-stage:hover .it-nav { opacity: 1; }
@media (hover: hover) { .it-nav:hover { transform: scale(1.06); } }
/* 사진을 가리지 않게: 화살표를 작게 줄이고 가장자리로 붙인다. PC는 사진에 마우스를 올렸을 때만 보인다. 폰은 작은 반투명 남색 원 */
.it-nav { width: 40px; height: 40px; margin-top: -20px; padding: 11px; box-shadow: none; }
.it-nav-prev { left: 10px; } .it-nav-next { right: 10px; }
@media (hover: hover) { .it-nav { opacity: 0; } .it-stage:hover .it-nav { opacity: 1; } }
@media (max-width: 767px) {
  .it-nav { width: 30px; height: 30px; margin-top: -15px; padding: 8px; background: rgba(20, 22, 42, .45); color: #fff; opacity: 1; }
  .it-nav-prev { left: 6px; } .it-nav-next { right: 6px; }
}
/* 마우스로 끌어 넘기는 사진: 브라우저가 사진을 끌어 옮기거나 글자를 고르지 않게 */
.zv-stage img, .it-stage img { -webkit-user-drag: none; user-select: none; }

/* 검색 결과 0개: 가운데 흰 카드 — 아이콘 · 제목 · 안내, 아래 점선 너머에 '혹시 이걸 찾으셨나요?' 칩 */
.sr-none { max-width: 560px; margin: 24px auto 0; padding: 44px 32px 36px; border-radius: 24px; background: #fff; text-align: center; box-shadow: 0 1px 2px rgba(20, 22, 42, .04), 0 18px 40px -28px rgba(20, 22, 42, .3); }
.sr-none-ico { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; padding: 15px; border-radius: 50%; background: var(--tile); color: var(--ink-3); }
.sr-none-ico svg { width: 100%; height: 100%; }
.sr-none-t { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.4; word-break: keep-all; }
.sr-none-t b { color: var(--orange); font-weight: 800; }
.sr-none-s { margin: 8px 0 0; color: var(--ink-3); font-size: 14.5px; }
.sr-sugg { margin-top: 28px; padding-top: 24px; border-top: 1px dashed rgba(20, 22, 42, .14); }
.sr-sugg > p { margin: 0 0 12px; color: var(--ink-2); font-size: 14px; font-weight: 800; }
.sr-sugg > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sr-sugg a { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff4ea; color: #c4600f; font-size: 15px; font-weight: 800; transition: background-color .15s, color .15s; }
.sr-sugg a svg { width: 14px; height: 14px; }
@media (hover: hover) { .sr-sugg a:hover { background: var(--orange); color: #fff; } }
@media (max-width: 767px) { .sr-none { margin-top: 8px; padding: 36px 20px 28px; border-radius: 20px; } .sr-none-t { font-size: 17px; } }

/* 이치방쿠지 목록: 작품 칸 + 검색 칸 한 줄 */
.kj-q .kj-mf { margin: 0; }
.kj-q .kj-mf select { min-width: 180px; }
/* 모바일: 피규어 목록과 같은 틀. 첫 줄 연·월 | 작품(반반), 그 아래 찾기(전체 폭), 총 N개. 칸 높이 36px */
@media (max-width: 767px) {
  .kj-list .kym { margin-bottom: 8px; }
  .kj-q { position: relative; }
  .kj-q .kj-mf { flex: 0 0 100%; }
  /* 작품 칸을 윗줄 연·월 버튼 오른쪽으로 올린다: 거리 = 버튼 높이 36 + 줄 사이 8 */
  .kj-q .kj-mf .sel, .kj-q .kj-mf > select { position: absolute; top: -44px; right: 0; width: calc(50% - 4px); }
  .kj-q .kj-mf > select { min-width: 0; height: 36px; }
  .kj-q .kj-mf .sel-list { left: auto; right: 0; }  /* 긴 작품 이름도 화면 오른쪽 밖으로 나가지 않게 */
  .kj-q .mf-q { height: 36px; }
  .kj-q .lp-count { padding-left: 4px; font-size: 14px; }
}

/* 크게 보기(휴대폰): 손가락 확대 — 브라우저 확대 대신 사진만, 확대 중엔 화살표 · 작은 사진 줄 숨김 */
.zv-stage img { touch-action: none; transform-origin: center; will-change: transform; }
.zv.is-pinched .zv-prev, .zv.is-pinched .zv-next, .zv.is-pinched .zv-thumbs { opacity: 0; pointer-events: none; }

/* 맨 위로 버튼(오른쪽 아래 버튼 줄 맨 아래) */
.fb-top[hidden] { display: none; }
.fb-top { padding: 15px; }

/* 터치 기기: iPhone Safari는 글자가 16px보다 작은 입력칸을 누르면 화면을 확대한다. 입력칸 글자만 16px로(손가락 확대는 그대로 둔다). 관리자 화면(.ax-body)은 빼고 */
@media (pointer: coarse) {
  body:not(.ax-body) :is(input, select, textarea) { font-size: 16px !important; }
  .mf-q input::placeholder { font-size: 14px; }  /* 좁은 반 칸에서 안내 문구가 잘리지 않게 */
}

/* ---------- 가챠 상세: 포스터를 가챠 기계 안에 ----------
   크림색 기계 몸통 위쪽의 투명 돔(연보라 플라스틱 너머로 포스터가 비친다), 아래 조작판은 그린 그림(SVG): 코인 라벨 · 손잡이 · 동전 구멍 · 뽑기 나오는 칸 · 주의 스티커.
   사진 영역(.it-media)만 꾸미고 오른쪽 정보 구성은 그대로 둔다 */
.gc-machine .it-media { padding: 14px 14px 146px; border-radius: 32px 32px 20px 20px; background: linear-gradient(180deg, #fbf7ef, #eee8da); box-shadow: 0 0 0 2px #d8d1c2, 0 18px 32px -20px rgba(20, 22, 42, .45); }
.gc-machine .it-stage { position: relative; padding: 0; border-radius: 24px 24px 8px 8px; background: #fff; box-shadow: none; }
/* 사진 파일은 정사각형 도화지 가운데에 포스터가 있고 좌우에 흰 여백이 있다 → 칸을 포스터 비율(21 : 25)로 만들고 칸을 채워 좌우 여백만 잘라 낸다(위아래는 그대로) */
.gc-machine .it-stage img { border-radius: 10px; width: 100%; height: auto; aspect-ratio: 21 / 25; object-fit: cover; object-position: center; }
.gc-machine .it-stage::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(112deg, rgba(255, 255, 255, .32) 0 14%, rgba(255, 255, 255, 0) 14% 100%); }
.gc-machine .it-zoom-ico { z-index: 2; }
.gc-machine .it-thumbs { margin-top: 12px; }
.gc-machine .it-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 134px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 132'%3E%3Crect x='22' y='8' width='58' height='70' rx='5' fill='%231f5fae'/%3E%3Ccircle cx='51' cy='33' r='21' fill='none' stroke='%23fff' stroke-width='2.5'/%3E%3Ctext x='51' y='30' text-anchor='middle' font-family='sans-serif' font-size='8' font-weight='700' fill='%23fff'%3Eコイン%3C/text%3E%3Ctext x='51' y='43' text-anchor='middle' font-family='sans-serif' font-size='13' font-weight='900' fill='%23fff'%3ECOIN%3C/text%3E%3Ctext x='39' y='72' text-anchor='middle' font-family='sans-serif' font-size='20' font-weight='900' fill='%23fff'%3E1%3C/text%3E%3Ctext x='60' y='72' text-anchor='middle' font-family='sans-serif' font-size='7' font-weight='700' fill='%23fff'%3Eまい%3C/text%3E%3Cpath d='M100 11H170L190 25 170 39H100Z' fill='%231f5fae' stroke='%23fff' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='112' cy='25' r='15' fill='%231f5fae' stroke='%23fff' stroke-width='2.5'/%3E%3Ccircle cx='125' cy='25' r='15' fill='%231f5fae' stroke='%23fff' stroke-width='2.5'/%3E%3Ccircle cx='138' cy='25' r='15' fill='%231f5fae' stroke='%23fff' stroke-width='2.5'/%3E%3Ctext x='138' y='22' text-anchor='middle' font-family='sans-serif' font-size='6.5' font-weight='700' fill='%23fff'%3Eコイン%3C/text%3E%3Ctext x='138' y='32' text-anchor='middle' font-family='sans-serif' font-size='9.5' font-weight='900' fill='%23fff'%3ECOIN%3C/text%3E%3Ctext x='164' y='21' text-anchor='middle' font-family='sans-serif' font-size='5' font-weight='700' fill='%23fff'%3Eゆっくり%3C/text%3E%3Ctext x='165' y='34' text-anchor='middle' font-family='sans-serif' font-size='13' font-weight='900' fill='%23fff'%3EIN%3C/text%3E%3Ccircle cx='200' cy='104' r='60' fill='%232a52c9'/%3E%3Ccircle cx='200' cy='104' r='50' fill='%23f7f6f1'/%3E%3Ccircle cx='200' cy='104' r='45' fill='none' stroke='%23f2c230' stroke-width='6'/%3E%3Cpath d='M140 106l-12 12 5-18z' fill='%23e0312b'/%3E%3Cellipse cx='202' cy='112' rx='34' ry='32' fill='%23d8d6cf'/%3E%3Cellipse cx='199' cy='106' rx='34' ry='32' fill='%23fff'/%3E%3Crect x='170' y='91' width='58' height='28' rx='14' transform='rotate(-24 199 106)' fill='%23f1f0ea'/%3E%3Ccircle cx='330' cy='44' r='27' fill='%23f6f5f0' stroke='%23d3d1ca' stroke-width='3'/%3E%3Crect x='328' y='26' width='4' height='36' rx='2' fill='%237c4326'/%3E%3Ccircle cx='330' cy='93' r='8' fill='%23f6f5f0' stroke='%23c9c7c0' stroke-width='2.5'/%3E%3Ccircle cx='330' cy='93' r='3' fill='%23dedcd5'/%3E%3C/svg%3E") center bottom / contain no-repeat; }
@media (max-width: 767px) { .gc-machine .it-media { padding: 10px 10px 136px; border-radius: 26px 26px 18px 18px; } .gc-machine .it-media::after { height: 126px; } }
/* 기계 크기: 너무 길어지지 않게 폭을 제한한다(PC 480px, 폰 346px, 폰은 가운데 정렬) */
.gc-machine .it-media { width: 100%; max-width: 480px; margin-inline: auto; }   /* 어느 화면에서나 사진 칸의 가운데 */
@media (max-width: 767px) { .gc-machine .it-media { max-width: 346px; } }
/* 뽑기 나오는 구멍: 세로로 긴 직사각형 구멍(안쪽이 어둡게 파인 느낌). 조작판 그림을 34px 위로 올리고 그 아래 왼쪽에 둔다 */
.gc-machine .it-media { padding-bottom: 180px; }
.gc-machine .it-media::after { bottom: 40px; }
.gc-machine .it-media::before { content: ""; position: absolute; left: 7.5%; bottom: 14px; width: 26%; height: 80px; border-radius: 8px; pointer-events: none;
  background: linear-gradient(180deg, #8c8374 0, #b9b1a2 16%, #e9e3d7 17%, #f3efe6 100%);
  box-shadow: inset 0 0 0 4px #d8d1c2, inset 0 10px 14px rgba(20, 22, 42, .28), 0 1px 0 #fff; }
@media (max-width: 767px) { .gc-machine .it-media { padding-bottom: 170px; } .gc-machine .it-media::after { bottom: 40px; } .gc-machine .it-media::before { height: 74px; } }
/* 포스터를 돔 칸에 딱 맞춘다: 보라색 바탕 · 여백을 없애고, 포스터가 보라빛으로 물들지 않게 한다(돔의 둥근 모서리는 포스터가 그대로 따라간다) */
.gc-machine .it-stage { overflow: hidden; }
.gc-machine .it-stage img { border-radius: 0; mix-blend-mode: normal; }
/* 조작판 그림을 키 큰 한 장으로: 코인 라벨 · 파인 구멍(세로로 길게, 라벨과 같은 가운데 선, 사이 간격 넉넉히)이 한 그림 안에 있어서 크기가 변해도 정렬이 유지된다. 그림은 흐름 안에 놓고 높이는 폭에 비례한다 */
.gc-machine .it-media { padding-bottom: 16px; }
.gc-machine .it-media::before { display: none; }
.gc-machine .it-media::after { position: static; display: block; left: auto; right: auto; bottom: auto; width: 100%; height: auto; aspect-ratio: 400 / 222; margin-top: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 222'%3E%3Crect x='22' y='8' width='58' height='70' rx='5' fill='%231f5fae'/%3E%3Ccircle cx='51' cy='33' r='21' fill='none' stroke='%23fff' stroke-width='2.5'/%3E%3Ctext x='51' y='30' text-anchor='middle' font-family='sans-serif' font-size='8' font-weight='700' fill='%23fff'%3Eコイン%3C/text%3E%3Ctext x='51' y='43' text-anchor='middle' font-family='sans-serif' font-size='13' font-weight='900' fill='%23fff'%3ECOIN%3C/text%3E%3Ctext x='39' y='72' text-anchor='middle' font-family='sans-serif' font-size='20' font-weight='900' fill='%23fff'%3E1%3C/text%3E%3Ctext x='60' y='72' text-anchor='middle' font-family='sans-serif' font-size='7' font-weight='700' fill='%23fff'%3Eまい%3C/text%3E%3Cpath d='M100 11H170L190 25 170 39H100Z' fill='%231f5fae' stroke='%23fff' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='112' cy='25' r='15' fill='%231f5fae' stroke='%23fff' stroke-width='2.5'/%3E%3Ccircle cx='125' cy='25' r='15' fill='%231f5fae' stroke='%23fff' stroke-width='2.5'/%3E%3Ccircle cx='138' cy='25' r='15' fill='%231f5fae' stroke='%23fff' stroke-width='2.5'/%3E%3Ctext x='138' y='22' text-anchor='middle' font-family='sans-serif' font-size='6.5' font-weight='700' fill='%23fff'%3Eコイン%3C/text%3E%3Ctext x='138' y='32' text-anchor='middle' font-family='sans-serif' font-size='9.5' font-weight='900' fill='%23fff'%3ECOIN%3C/text%3E%3Ctext x='164' y='21' text-anchor='middle' font-family='sans-serif' font-size='5' font-weight='700' fill='%23fff'%3Eゆっくり%3C/text%3E%3Ctext x='165' y='34' text-anchor='middle' font-family='sans-serif' font-size='13' font-weight='900' fill='%23fff'%3EIN%3C/text%3E%3Ccircle cx='200' cy='104' r='60' fill='%232a52c9'/%3E%3Ccircle cx='200' cy='104' r='50' fill='%23f7f6f1'/%3E%3Ccircle cx='200' cy='104' r='45' fill='none' stroke='%23f2c230' stroke-width='6'/%3E%3Cpath d='M140 106l-12 12 5-18z' fill='%23e0312b'/%3E%3Cellipse cx='202' cy='112' rx='34' ry='32' fill='%23d8d6cf'/%3E%3Cellipse cx='199' cy='106' rx='34' ry='32' fill='%23fff'/%3E%3Crect x='170' y='91' width='58' height='28' rx='14' transform='rotate(-24 199 106)' fill='%23f1f0ea'/%3E%3Ccircle cx='330' cy='44' r='27' fill='%23f6f5f0' stroke='%23d3d1ca' stroke-width='3'/%3E%3Crect x='328' y='26' width='4' height='36' rx='2' fill='%237c4326'/%3E%3Ccircle cx='330' cy='93' r='8' fill='%23f6f5f0' stroke='%23c9c7c0' stroke-width='2.5'/%3E%3Ccircle cx='330' cy='93' r='3' fill='%23dedcd5'/%3E%3Crect x='6' y='106' width='90' height='106' rx='8' fill='%23d9d9d5'/%3E%3Crect x='11' y='111' width='80' height='96' rx='5' fill='%23efefec'/%3E%3Crect x='11' y='111' width='80' height='13' rx='5' fill='%23c9c9c4'/%3E%3Crect x='298' y='112' width='64' height='44' rx='3' fill='%23fff' stroke='%23e3c24a' stroke-width='1.5'/%3E%3Crect x='298' y='112' width='64' height='10' rx='3' fill='%23f2c230'/%3E%3Ctext x='330' y='120' text-anchor='middle' font-family='sans-serif' font-size='6.5' font-weight='900' fill='%23222'%3E注意%3C/text%3E%3Crect x='302' y='127' width='56' height='2.5' fill='%23b9b7b0'/%3E%3Crect x='302' y='133' width='48' height='2.5' fill='%23b9b7b0'/%3E%3Crect x='302' y='139' width='56' height='2.5' fill='%23b9b7b0'/%3E%3Crect x='302' y='145' width='42' height='2.5' fill='%23b9b7b0'/%3E%3Crect x='298' y='160' width='64' height='52' rx='5' fill='%23d9d9d5'/%3E%3Crect x='302' y='164' width='56' height='44' rx='3' fill='%23efefec'/%3E%3Crect x='302' y='164' width='56' height='11' rx='3' fill='%23c9c9c4'/%3E%3Crect x='323' y='176' width='14' height='15' fill='%23dcdcd8'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
@media (max-width: 767px) { .gc-machine .it-media { padding-bottom: 12px; } .gc-machine .it-media::after { height: auto; bottom: auto; } }
/* 가챠 기계: 몸통을 흰색으로(사진 속 기계처럼). 테두리 · 파인 구멍은 차가운 회색 계열로, 포스터는 더 크게(몸통 안쪽 여백을 줄이고 기계 폭을 넓힌다) */
.gc-machine .it-media { max-width: 540px; padding: 8px 8px 16px; background: #fff; box-shadow: 0 0 0 2px #d9d9d5, 0 18px 32px -20px rgba(20, 22, 42, .4); }
.gc-machine .it-stage { box-shadow: 0 0 0 2px #e4e4e1; }
@media (max-width: 767px) { .gc-machine .it-media { max-width: 380px; padding: 6px 6px 12px; } }
/* 입체감: 몸통에 왼쪽 → 오른쪽 음영(오른쪽이 살짝 어둡다) + 오른쪽 옆면이 조금 보이게(약간 비스듬한 어두운 면) */
.gc-machine .it-media { background: linear-gradient(100deg, #fff 0%, #fcfcfb 55%, #ececea 100%);
  box-shadow: 0 0 0 2px #d9d9d5, inset -16px 0 20px -12px rgba(20, 22, 42, .14), 0 22px 30px -20px rgba(20, 22, 42, .45); }
.gc-machine .it-media::before { display: block; content: ""; position: absolute; z-index: -1; left: auto; bottom: 8px; top: 16px; right: -15px; width: 17px; height: auto; border-radius: 0 18px 18px 0; pointer-events: none;
  background: linear-gradient(90deg, #dededa, #c4c4bf); box-shadow: none; transform: skewY(-3deg); transform-origin: left center; }
@media (max-width: 767px) { .gc-machine .it-media::before { right: -11px; width: 13px; height: auto; } }
/* 폰: 기계와 아래 내용(작품 로고 · 이름) 사이를 넓힌다(기계 그림자와 옆면이 아래 글자에 닿지 않게) */
@media (max-width: 767px) { .gc-machine { gap: 32px; } }
/* 옆면 다듬기: 비스듬히 기울이던 것을 없애고, 몸통의 둥근 모서리가 끝나는 곳부터 아래 모서리 위까지 오른쪽에 바짝 붙는 곧은 면으로(윗부분이 떠 보이지 않게) */
.gc-machine .it-media::before { top: 32px; bottom: 22px; right: -12px; width: 14px; transform: none; border-radius: 0 10px 10px 0; background: linear-gradient(90deg, #e2e2de, #cfcfca); }
@media (max-width: 767px) { .gc-machine .it-media::before { top: 26px; bottom: 18px; right: -9px; width: 11px; } }
/* 작품 페이지 아래의 이치방쿠지 · 가챠 칸(피규어 목록 아래에 이어 붙는다) */
.wk-more { padding-top: 8px; }
.wk-more h2 { margin: 0 0 24px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
/* 가챠 카드: 시리즈(작품) 이름을 제목 위에 작게(이치방쿠지 · 피규어 카드와 같은 모양) */
.ixlist.is-wide .ix-series { display: block; margin-top: 12px; overflow: hidden; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); white-space: nowrap; text-overflow: ellipsis; }
.ixlist.is-wide .ix-series + .ix-name { margin-top: 3px; }
@media (max-width: 767px) { .ixlist.is-wide .ix-series { margin-top: 8px; font-size: 11.5px; } }
/* 시리즈 고르기(셀렉트): 첫 글자 바와 이름 찾기 사이에 놓는다 */
.ix-bar .ix-work, .ix-bar .sel { flex-shrink: 0; }
.ix-bar .sel-btn { height: 42px; min-width: 200px; }
@media (max-width: 1279px) { .ix-bar .sel, .ix-bar .sel-btn { width: 100%; } }
/* 가챠 목록(시리즈 셀렉트가 있는 바): 어느 화면 폭에서나 첫 글자 줄 아래에 시리즈 셀렉트와 이름 찾기가 왼쪽부터 한 줄로 나란히(넓은 화면에서 이름 찾기가 오른쪽 아래로 떨어지던 것을 바로잡는다) */
.ix-bar.ix-bar:has(.ix-work) { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
.ix-bar:has(.ix-work) .ix-cho { flex: 0 0 100%; }
.ix-bar:has(.ix-work) .sel { flex: 0 1 260px; min-width: 0; width: auto; }
.ix-bar:has(.ix-work) .sel-btn { min-width: 0; width: 100%; }
.ix-bar:has(.ix-work) .ix-find { flex: 1 1 0; min-width: 0; max-width: 360px; width: auto; height: 42px; margin-left: 0; align-self: auto; }
@media (max-width: 1279px) { .ix-bar:has(.ix-work) .sel { flex-basis: 44%; } .ix-bar:has(.ix-work) .ix-find { max-width: none; } }
/* 폰에서 가챠 기계가 옆으로 밀리던 원인: 폰에서는 사진 칸(.it-media)의 위치 기준(position)이 풀려(static) 있어서, 그 안의 옆면(::before)이 칸이 아니라 화면 전체를 기준으로 놓였다.
   칸을 위치 기준으로 되돌려 옆면이 기계 오른쪽에 붙게 한다(PC는 원래 sticky 라 기준이 있다) */
.gc-machine .it-media { position: relative; }
@media (min-width: 1024px) { .gc-machine .it-media { position: sticky; } }
/* 그래도 넘친 부분이 있으면 페이지가 옆으로 밀리지 않게: html 에만 건다(body 에도 걸면 고정 메뉴가 풀린다). 옛 브라우저는 hidden, 새 브라우저는 clip */
html { overflow-x: hidden; overflow-x: clip; }
@media (max-width: 767px) { .gc-machine .it-media { width: calc(100% - 12px); } }
/* 폰: 조작판 그림의 높이를 줄인다. 그림 안의 위아래 간격을 좁혀 다시 그린 것(라벨과 구멍 사이 28px에서 14px, 구멍 높이도 줄임)이라 찌그러지지 않고 전체 높이가 약 14% 낮아진다 */
@media (max-width: 767px) {
  .gc-machine .it-media::after { aspect-ratio: 400 / 190; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 190'%3E%3Crect x='22' y='8' width='58' height='70' rx='5' fill='%231f5fae'/%3E%3Ccircle cx='51' cy='33' r='21' fill='none' stroke='%23fff' stroke-width='2.5'/%3E%3Ctext x='51' y='30' text-anchor='middle' font-family='sans-serif' font-size='8' font-weight='700' fill='%23fff'%3Eコイン%3C/text%3E%3Ctext x='51' y='43' text-anchor='middle' font-family='sans-serif' font-size='13' font-weight='900' fill='%23fff'%3ECOIN%3C/text%3E%3Ctext x='39' y='72' text-anchor='middle' font-family='sans-serif' font-size='20' font-weight='900' fill='%23fff'%3E1%3C/text%3E%3Ctext x='60' y='72' text-anchor='middle' font-family='sans-serif' font-size='7' font-weight='700' fill='%23fff'%3Eまい%3C/text%3E%3Cpath d='M100 11H170L190 25 170 39H100Z' fill='%231f5fae' stroke='%23fff' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='112' cy='25' r='15' fill='%231f5fae' stroke='%23fff' stroke-width='2.5'/%3E%3Ccircle cx='125' cy='25' r='15' fill='%231f5fae' stroke='%23fff' stroke-width='2.5'/%3E%3Ccircle cx='138' cy='25' r='15' fill='%231f5fae' stroke='%23fff' stroke-width='2.5'/%3E%3Ctext x='138' y='22' text-anchor='middle' font-family='sans-serif' font-size='6.5' font-weight='700' fill='%23fff'%3Eコイン%3C/text%3E%3Ctext x='138' y='32' text-anchor='middle' font-family='sans-serif' font-size='9.5' font-weight='900' fill='%23fff'%3ECOIN%3C/text%3E%3Ctext x='164' y='21' text-anchor='middle' font-family='sans-serif' font-size='5' font-weight='700' fill='%23fff'%3Eゆっくり%3C/text%3E%3Ctext x='165' y='34' text-anchor='middle' font-family='sans-serif' font-size='13' font-weight='900' fill='%23fff'%3EIN%3C/text%3E%3Ccircle cx='200' cy='100' r='60' fill='%232a52c9'/%3E%3Ccircle cx='200' cy='100' r='50' fill='%23f7f6f1'/%3E%3Ccircle cx='200' cy='100' r='45' fill='none' stroke='%23f2c230' stroke-width='6'/%3E%3Cpath d='M140 102l-12 12 5-18z' fill='%23e0312b'/%3E%3Cellipse cx='202' cy='108' rx='34' ry='32' fill='%23d8d6cf'/%3E%3Cellipse cx='199' cy='102' rx='34' ry='32' fill='%23fff'/%3E%3Crect x='170' y='87' width='58' height='28' rx='14' transform='rotate(-24 199 102)' fill='%23f1f0ea'/%3E%3Ccircle cx='330' cy='44' r='27' fill='%23f6f5f0' stroke='%23d3d1ca' stroke-width='3'/%3E%3Crect x='328' y='26' width='4' height='36' rx='2' fill='%237c4326'/%3E%3Ccircle cx='330' cy='93' r='8' fill='%23f6f5f0' stroke='%23c9c7c0' stroke-width='2.5'/%3E%3Ccircle cx='330' cy='93' r='3' fill='%23dedcd5'/%3E%3Crect x='6' y='92' width='90' height='90' rx='8' fill='%23d9d9d5'/%3E%3Crect x='11' y='97' width='80' height='80' rx='5' fill='%23efefec'/%3E%3Crect x='11' y='97' width='80' height='13' rx='5' fill='%23c9c9c4'/%3E%3Crect x='298' y='104' width='64' height='40' rx='3' fill='%23fff' stroke='%23e3c24a' stroke-width='1.5'/%3E%3Crect x='298' y='104' width='64' height='10' rx='3' fill='%23f2c230'/%3E%3Ctext x='330' y='112' text-anchor='middle' font-family='sans-serif' font-size='6.5' font-weight='900' fill='%23222'%3E注意%3C/text%3E%3Crect x='302' y='119' width='56' height='2.5' fill='%23b9b7b0'/%3E%3Crect x='302' y='125' width='48' height='2.5' fill='%23b9b7b0'/%3E%3Crect x='302' y='131' width='56' height='2.5' fill='%23b9b7b0'/%3E%3Crect x='302' y='137' width='42' height='2.5' fill='%23b9b7b0'/%3E%3Crect x='298' y='148' width='64' height='40' rx='5' fill='%23d9d9d5'/%3E%3Crect x='302' y='152' width='56' height='32' rx='3' fill='%23efefec'/%3E%3Crect x='302' y='152' width='56' height='11' rx='3' fill='%23c9c9c4'/%3E%3Crect x='323' y='164' width='14' height='12' fill='%23dcdcd8'/%3E%3C/svg%3E"); }
}
/* 폰: 상품 · 가챠 상세의 정보 줄을 이름 | 값이 한 줄로(이름은 왼쪽, 값은 오른쪽). 2열로 나누고 이름을 위에 쌓던 것을 되돌린다 */
@media (max-width: 767px) {
  .vc-card dl { display: block; }
  .vc-row:not(.vc-rel), .vc-rel { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 14px 0; }
  .vc-row:not(.vc-rel) dt, .vc-rel dt { padding-top: 0; font-size: 13px; line-height: 1.4; white-space: nowrap; }
  .vc-row:not(.vc-rel) dd, .vc-rel dd { margin: 0; font-size: 15px; line-height: 1.4; }
  .vc-row:last-child:nth-child(even) { grid-column: auto; }
}
/* 폰: 가챠 기계와 그 아래 작품 로고 · 이름 사이를 더 넓힌다(32px → 52px) */
@media (max-width: 767px) { .gc-machine { gap: 52px; } }
/* 시리즈 카드가 낮아서 아래 이름이 피규어 위에 겹치던 것을 바로잡는다: 카드를 더 높게(정사각형 안팎), 피규어 칸을 이름 자리만큼 위로 올리고, 긴 이름은 두 줄까지 */
.sc a { aspect-ratio: 1 / 1; }
.sc-figs { inset: 6% 2% 30% 2%; }
.sc-stage { bottom: 22%; width: 84%; }
.sc-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.25; }
@media (max-width: 767px) {
  .sc a { aspect-ratio: 1 / 1.12; }
  .sc-figs { inset: 6% 2% 32% 2%; }
  .sc-stage { bottom: 24%; width: 86%; }
}
/* 둘러보기 카드(작품 · 제조사 · 시리즈)는 모두 같은 높이: PC 170px, 폰 150px. 시리즈는 그 높이 안에서 피규어 칸을 위로, 이름을 아래로 둔다 */
.mc a, .sc a { height: 170px; min-height: 0; aspect-ratio: auto; }
.sc-figs { inset: 4% 2% 30% 2%; }
.sc-stage { bottom: 24%; width: 84%; }
@media (max-width: 767px) {
  .mc a, .sc a { height: 150px; }
  .sc-figs { inset: 4% 2% 34% 2%; }
  .sc-stage { bottom: 26%; width: 86%; }
}
/* 마이페이지(폰): 이름 · 이메일은 한 칸('내 정보')으로 합치고, 칸 사이 · 제목과 입력칸 사이 간격을 좁힌다 */
@media (max-width: 767px) {
  .mi-card { gap: 8px; padding: 16px 18px; }
  .mi-row { gap: 8px; padding: 14px 0; }
  .mi-b .au-f { margin-bottom: 8px; }
  .mi-h h2 { margin: 0; font-size: 18px; }
  .mi-pend { margin: 2px 0 0; }
}
/* 마이페이지 프로필: 위에 남색 띠(주황 빛 한 줄기), 그 위에 걸친 큰 동그란 사진, 가운데 정렬한 이름 · 이메일 · 로그인 방식 · 가입일, 아래에 사진 바꾸기 */
.mi-hero { position: relative; flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 0; padding: 0 24px 24px; overflow: hidden; text-align: center; }
.mi-hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 92px; pointer-events: none;
  background: radial-gradient(120px 90px at 88% 0, rgba(242, 138, 42, .55), rgba(242, 138, 42, 0)), linear-gradient(120deg, #14162a, #2a3070); }
.mi-hero .mi-av { z-index: 1; width: 96px; height: 96px; margin-top: 44px; border: 4px solid #fff; box-shadow: 0 8px 20px -8px rgba(20, 22, 42, .45); font-size: 36px; }
.mi-hero .mi-av-cam { right: -4px; bottom: -4px; }
.mi-hero .mi-who { flex: none; width: 100%; margin-top: 14px; }
.mi-hero .mi-name { font-size: 22px; }
.mi-hero .mi-mail { margin-top: 2px; text-align: center; }
.mi-hero .mi-meta { justify-content: center; margin-top: 10px; }
.mi-hero .mi-since { flex-basis: 100%; margin: 2px 0 0; }   /* 가입일 · 지난 로그인은 로그인 방식 표시 아래 줄에 */
.mi-hero .mi-av-acts { flex-direction: row; justify-content: center; width: auto; margin-top: 16px; gap: 14px; }
@media (max-width: 767px) { .mi-hero { gap: 0; padding: 0 18px 20px; } .mi-hero::before { height: 80px; } .mi-hero .mi-av { width: 84px; height: 84px; margin-top: 38px; font-size: 32px; } .mi-hero .mi-av-acts { width: auto; } }
/* 이름 · 이메일을 한 줄 두 칸(.mi-two)으로 합치면서, 예전에 '첫 줄 입력칸은 절반 폭' 이던 제한이 남아 칸이 1/4 폭이 되었다 → 제한을 푼다 */
.mi-info .mi-row:first-of-type .au-f { max-width: none; }

/* 홈 작품 · 제조사 카드 로고: 원래 크기와 비율이 제각각이어도 같은 크기의 틀에 맞춰 넣는다(비율 유지, 잘리지 않게) */
.mc-logo { flex: none; align-self: stretch; height: 76px; min-height: 0; padding: 0; }
.mc-logo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; object-position: center; }
.mc.is-maker .mc-logo { padding: 8px 12px; }
.mc.is-maker .mc-logo img { mix-blend-mode: multiply; }   /* 흰 판 없이 카드 바탕 위에. 로고 그림 자체의 흰 바탕은 곱하기로 바탕색에 녹인다 */
.mc a { justify-content: space-between; }
@media (max-width: 767px) { .mc-logo { height: 64px; } .mc.is-maker .mc-logo { padding: 6px 10px; } }
/* 로고 칸이 남는 높이를 모두 쓰고 이름은 바로 아래에 붙는다(로고와 이름 사이가 벌어지지 않게) */
.mc a { justify-content: flex-start; gap: 8px; }
.mc-logo { flex: 1 1 0; height: auto; min-height: 0; position: relative; }
.mc-logo img { position: absolute; inset: 0; }
.mc-logo b { position: static; }
.mc.is-maker .mc-logo { padding: 0; }
.mc.is-maker .mc-logo img { inset: 8px 12px; width: calc(100% - 24px); height: calc(100% - 16px); }
@media (max-width: 767px) { .mc-logo { height: auto; } .mc.is-maker .mc-logo { padding: 0; } .mc.is-maker .mc-logo img { inset: 6px 10px; width: calc(100% - 20px); height: calc(100% - 12px); } }
/* 피규어 카드 가격: 발매 줄 아래, 진하게 */
.card .pr { display: block; margin-top: 3px; font-size: 15px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
@media (max-width: 767px) { .card .pr { font-size: 14px; } }



/* 하트 옆 '내 컬렉션에 담기' 피규어 아이콘 */
.it-acts { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.own-ic { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: #e4e7f3; color: var(--navy); cursor: pointer; transition: background .15s, transform .12s; -webkit-tap-highlight-color: transparent; }
.own-ic svg { width: 24px; height: 24px; }
@media (hover: hover) { .own-ic:hover { background: #d3d8ee; } }
.own-ic:active { transform: scale(.94); }
.own-ic[aria-pressed="true"] { --own-fill: currentColor; background: var(--navy); color: #fff; box-shadow: 0 8px 18px -8px rgba(20, 22, 42, .6); }
.own-ic.is-pop svg { animation: heart-pop .45s cubic-bezier(.34, 1.56, .64, 1); }
@media (max-width: 767px) { .own-ic { width: 38px; height: 38px; } .own-ic svg { width: 19px; height: 19px; } .it-acts { gap: 6px; } }
@media (prefers-reduced-motion: reduce) { .own-ic.is-pop svg { animation: none; } }

/* 헤더 계정 메뉴(동그라미를 누르면 설정 · 내 컬렉션) */
.hd-acct { position: relative; flex-shrink: 0; display: inline-flex; }
button.hd-me { padding: 0; border: 0; cursor: pointer; font-family: inherit; }
.hd-pop { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; min-width: 168px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(20, 22, 42, .08), 0 16px 36px -12px rgba(20, 22, 42, .35); }
.hd-pop[hidden] { display: none; }
.hd-pop a { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 11px; color: var(--ink); font-size: 14.5px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.hd-pop a svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--navy); }
@media (hover: hover) { .hd-pop a:hover { background: #f1f2f8; } }
.hd-pop a:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }

/* 컬렉션 아이콘 색: 보라(하트의 빨강 · 사이트 주황과 구분) + 담을 때 별 모양 반짝이 */
.own-ic { background: #def3ec; color: #10a878; }
@media (hover: hover) { .own-ic:hover { background: #c8eadd; } }
.own-ic[aria-pressed="true"] { background: #10a878; color: #fff; box-shadow: 0 8px 18px -8px rgba(16, 168, 120, .75); }
@media (hover: hover) { .own-ic[aria-pressed="true"]:hover { background: #0c8c63; } }
.hd-pop a svg { color: var(--ink-2); }
.hb.is-own i { background: #10a878;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l2.9 7.1 7.6.6-5.8 4.9 1.8 7.4L12 17.5l-6.5 4 1.8-7.4-5.8-4.9 7.6-.6z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l2.9 7.1 7.6.6-5.8 4.9 1.8 7.4L12 17.5l-6.5 4 1.8-7.4-5.8-4.9 7.6-.6z'/%3E%3C/svg%3E") center / contain no-repeat; }
.hb.is-own i:nth-child(3n) { background: #8fe0c3; }








/* ===== 내 컬렉션: 장식장(검은 금속 틀 + 칸마다 따뜻한 LED 조명 + 유리 선반) ===== */
.dc-title { margin: 0 0 16px; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; }

/* 목록 카드의 '내 컬렉션에 담기' 아이콘(하트 왼쪽). 마우스가 되는 기기에서는 하트처럼 카드에 올릴 때만 보인다 */
.own-mini { position: absolute; z-index: 2; top: 10px; right: 52px; display: grid; place-items: center; width: 36px; height: 36px; padding: 7px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .88); color: #10a878; box-shadow: 0 2px 8px rgba(20, 22, 42, .08); cursor: pointer; transition: opacity .2s, color .2s, background .2s, transform .25s cubic-bezier(.22, 1, .36, 1); -webkit-tap-highlight-color: transparent; }
.own-mini svg { width: 100%; height: 100%; }
.own-mini:hover { background: #fff; }
.own-mini[aria-pressed="true"] { --own-fill: currentColor; background: #10a878; color: #fff; }
.own-mini.is-pop svg { animation: heart-pop .45s cubic-bezier(.34, 1.56, .64, 1); }
@media (hover: hover) {
  .card .own-mini[aria-pressed="false"] { opacity: 0; }
  .card:hover .own-mini, .card .own-mini:focus-visible { opacity: 1; transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) { .own-mini.is-pop svg { animation: none; } .card:hover .own-mini { transform: none; } }
@media (max-width: 767px) { .own-mini { top: 8px; right: 46px; width: 32px; height: 32px; padding: 6px; } }

/* 컬렉션 아이콘: 동그라미 바탕은 그대로(연한 회색), 아이콘만 보라. 담으면 아이콘이 채워진다 */
.own-ic, .own-mini { background: #f1f2f6; color: #10a878; box-shadow: none; }
.own-mini { background: rgba(255, 255, 255, .92); box-shadow: 0 2px 8px rgba(20, 22, 42, .08); }
@media (hover: hover) { .own-ic:hover { background: #e6e8f0; } }
.own-ic[aria-pressed="true"], .own-mini[aria-pressed="true"] { --own-fill: currentColor; color: #10a878; box-shadow: none; }
.own-ic[aria-pressed="true"] { background: #f1f2f6; }
.own-mini[aria-pressed="true"] { background: rgba(255, 255, 255, .92); box-shadow: 0 2px 8px rgba(20, 22, 42, .08); }
@media (hover: hover) { .own-ic[aria-pressed="true"]:hover { background: #e6e8f0; } }

/* 컬렉션 아이콘도 하트처럼: 평소엔 흰 바탕에 회색, 담으면 보라로 칠해진다(서랍 몸통이 채워지고 손잡이는 흰색) */
.own-ic, .own-mini { color: var(--ink-2); }
.own-mini { background: rgba(255, 255, 255, .88); }
.own-ic { background: #f1f2f6; }
.own-ic[aria-pressed="true"], .own-mini[aria-pressed="true"] { color: #10a878; }
.own-ic[aria-pressed="true"] svg rect, .own-mini[aria-pressed="true"] svg rect { fill-opacity: 1; }
.own-ic[aria-pressed="true"] svg path:nth-of-type(1), .own-ic[aria-pressed="true"] svg path:nth-of-type(2),
.own-mini[aria-pressed="true"] svg path:nth-of-type(1), .own-mini[aria-pressed="true"] svg path:nth-of-type(2) { stroke: #fff; }

/* 컬렉션 버튼도 찜과 똑같이: 상세 화면은 연한 바탕 -> 담으면 꽉 찬 색 바탕 + 흰 아이콘 + 그림자, 목록 카드는 흰 바탕 회색 -> 아이콘이 색으로 칠해짐 */
.own-ic { background: #def3ec; color: #10a878; box-shadow: none; }
@media (hover: hover) { .own-ic:hover { background: #c8eadd; } }
.own-ic[aria-pressed="true"] { background: #10a878; color: #fff; box-shadow: 0 8px 18px -8px rgba(16, 168, 120, .7); }
@media (hover: hover) { .own-ic[aria-pressed="true"]:hover { background: #0c8c63; } }
.own-ic[aria-pressed="true"] svg rect { fill-opacity: .35; }
.own-ic[aria-pressed="true"] svg path:nth-of-type(1), .own-ic[aria-pressed="true"] svg path:nth-of-type(2) { stroke: currentColor; }
.own-ic, .own-mini { transition: background .15s, color .15s, transform .12s, opacity .2s; }
.own-mini:hover { background: #fff; color: var(--ink); }
.own-mini[aria-pressed="true"]:hover { color: #10a878; }

/* 새 장식장 아이콘: 담으면(카드) 몸통이 보라로 채워지고 가운데 선 · 손잡이는 흰색, 다리는 보라 그대로 */
.own-mini[aria-pressed="true"] svg path:nth-of-type(2) { stroke: currentColor; }
.own-mini[aria-pressed="true"] svg circle { fill: #fff; stroke: #fff; }

.own-mini[aria-pressed="true"] svg path:nth-of-type(3) { stroke: #fff; }   /* 담으면 선반 선도 흰색 */

/* 카드의 찜 · 컬렉션 버튼: 나란히 두면 사진 가운데를 가려서, 오른쪽 가장자리에 위아래로 쌓는다 */
@media (max-width: 767px) { .card .own-mini { top: 44px; right: 8px; } }   /* 위아래로 쌓기는 모바일만. PC 는 하트 왼쪽에 나란히 */

/* 내 컬렉션 페이지 위쪽 간격 좁히기 */
.dc-title { margin: 0 0 10px; line-height: 1.15; }
.crumbs:has(+ .dc-title) { margin-bottom: 14px; }
@media (max-width: 767px) { .crumbs:has(+ .dc-title) { margin-bottom: 10px; } .dc-title { margin-bottom: 8px; } }

/* 내 컬렉션: 상품 바로 추가(제목줄 버튼 · 선반 끝 + 칸 · 찾기 창) */
.dc-titlebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.dc-titlebar .dc-title { margin: 0; }

.dc-dlg { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; }
.dc-dlg[hidden] { display: none; }
.dc-dlg-dim { position: absolute; inset: 0; background: rgba(20, 22, 42, .5); animation: zv-in .2s ease-out; }
.dc-dlg-box { position: relative; display: flex; flex-direction: column; width: min(520px, 100%); max-height: min(640px, 100%); padding: 20px 18px 14px; border-radius: 22px; background: #fff; box-shadow: 0 24px 60px -20px rgba(20, 22, 42, .5); animation: my-lv-in .22s cubic-bezier(.22, 1, .36, 1); }
.dc-dlg-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dc-dlg-h b { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.dc-dlg-h button { display: grid; place-items: center; width: 34px; height: 34px; padding: 8px; border: 0; border-radius: 50%; background: #f2f2f0; color: var(--ink-2); cursor: pointer; }
.dc-dlg-h button svg { width: 100%; height: 100%; }

.dc-dlg-list { flex: 1; min-height: 0; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.dc-dlg-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 4px; border-bottom: 1px solid rgba(20, 22, 42, .06); }
.dc-r-ph { display: block; width: 52px; height: 52px; overflow: hidden; border-radius: 12px; background: var(--tile); }
.dc-r-ph img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.dc-r-tx { display: grid; gap: 1px; min-width: 0; }
.dc-r-tx small { overflow: hidden; font-size: 11.5px; font-weight: 700; color: var(--ink-3); white-space: nowrap; text-overflow: ellipsis; }
.dc-r-tx b { display: -webkit-box; overflow: hidden; font-size: 14px; font-weight: 700; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.dc-r-tx em { font-style: normal; font-size: 12px; color: var(--ink-3); }
.dc-r-btn { height: 34px; min-width: 62px; padding: 0 14px; border: 0; border-radius: 10px; background: #10a878; color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; transition: background-color .15s; }
.dc-r-btn.is-on { background: #e3e6ee; color: var(--ink-2); }
@media (hover: hover) { .dc-r-btn:not(.is-on):hover { background: #0c8c63; } }
.dc-dlg-note { margin: 0; padding: 28px 8px; font-size: 13.5px; text-align: center; color: var(--ink-3); }
.dc-dlg-note[hidden] { display: none; }
@media (max-width: 767px) { .dc-dlg { place-items: end center; padding: 0; } .dc-dlg-box { width: 100%; max-height: 82dvh; border-radius: 22px 22px 0 0; padding-bottom: calc(14px + env(safe-area-inset-bottom)); } }

/* ===== 상품 추가 창 다시 디자인: 위쪽에 가까운 가운데 카드(어느 화면에서나), 둥근 검색칸, 카드 목록, 아래 완료 버튼 ===== */
.dc-dlg { place-items: start center; padding: 9vh 16px 16px; }
.dc-dlg-dim { background: rgba(20, 22, 42, .45); }
.dc-dlg-box { width: min(540px, 100%); max-height: calc(100dvh - 9vh - 28px); padding: 22px 20px 18px; border-radius: 26px; box-shadow: 0 30px 70px -24px rgba(20, 22, 42, .55), 0 0 0 1px rgba(20, 22, 42, .05); }
.dc-dlg-h { align-items: flex-start; margin-bottom: 14px; }
.dc-dlg-h b { display: block; font-size: 21px; font-weight: 900; letter-spacing: -0.03em; }
.dc-dlg-h p { margin: 4px 0 0; font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.dc-dlg-h p em { font-style: normal; font-weight: 800; color: #10a878; }
.dc-dlg-h button { flex-shrink: 0; width: 36px; height: 36px; }
@media (hover: hover) { .dc-dlg-h button:hover { background: #e6e6e3; color: var(--ink); } }

/* 목록: 한 줄이 한 장의 카드 */
.dc-dlg-list { display: grid; align-content: start; gap: 8px; padding: 2px 2px 8px; }
.dc-dlg-list li { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; padding: 10px 12px 10px 10px; border: 0; border-radius: 18px; background: #f8f8f6; transition: background-color .15s; }
@media (hover: hover) { .dc-dlg-list li:hover { background: #f1f1ee; } }
.dc-r-ph { width: 60px; height: 60px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 22, 42, .06); }
.dc-r-tx small { font-size: 11.5px; color: #0c8c63; }
.dc-r-tx b { font-size: 14.5px; }
.dc-r-btn { height: 38px; min-width: 76px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; box-shadow: 0 6px 14px -8px rgba(16, 168, 120, .8); }
.dc-r-btn.is-on { background: #def3ec; color: #0c8c63; box-shadow: none; }
.dc-dlg-note { padding: 36px 8px 28px; }
/* 아래 완료 버튼 */
.dc-dlg-done { flex-shrink: 0; width: 100%; height: 50px; margin-top: 10px; border: 0; border-radius: 16px; background: var(--navy); color: #fff; font: inherit; font-size: 15.5px; font-weight: 800; cursor: pointer; transition: background-color .15s; }
@media (hover: hover) { .dc-dlg-done:hover { background: #262a48; } }
/* 폰: 아래 시트가 아니라 위쪽의 가운데 카드(키보드가 올라와도 가려지지 않게) */
@media (max-width: 767px) {
  .dc-dlg { place-items: start center; padding: 7vh 12px 12px; }
  .dc-dlg-box { width: 100%; max-height: calc(100dvh - 7vh - 20px); padding: 18px 14px 14px; border-radius: 24px; }
  .dc-dlg-h b { font-size: 19px; }
}
/* 작품 추가: 작품 고르기 줄(로고 칸) · 뒤로 버튼 */
.dc-r-ph.is-logo { display: grid; place-items: center; padding: 8px; background: #fff; }
.dc-r-ph.is-logo img { mix-blend-mode: normal; object-fit: contain; }
.dc-r-ph.is-logo i { font-style: normal; font-size: 15px; font-weight: 900; color: var(--ink-2); }

/* 상품 추가 창: 버튼은 배경 없이 + / ✓ 만, 창은 더 낮게, 줄은 더 촘촘하게 */
.dc-r-btn { display: grid; place-items: center; width: 38px; height: 38px; min-width: 0; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: none; color: #10a878; font-size: 28px; font-weight: 400; line-height: 1; }
@media (hover: hover) { .dc-r-btn:not(:disabled):hover { background: rgba(16, 168, 120, .12); } }
.dc-r-btn.is-on { background: none; color: #10a878; font-size: 22px; font-weight: 900; }
.dc-dlg-box { max-height: min(600px, calc(100dvh - 9vh - 28px)); padding: 20px 18px 16px; }
.dc-dlg-list li { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; padding: 8px 8px 8px 8px; }
.dc-r-ph { width: 52px; height: 52px; border-radius: 12px; }
.dc-dlg-note { padding: 26px 8px 18px; }
.dc-dlg-done { height: 46px; }
@media (max-width: 767px) { .dc-dlg-box { max-height: min(560px, calc(100dvh - 7vh - 20px)); padding: 16px 12px 12px; } }

/* 상품 추가 창 '완료' 버튼: 남색 대신 컬렉션 초록 */
.dc-dlg-done { background: #10a878; box-shadow: 0 8px 16px -10px rgba(16, 168, 120, .8); }
@media (hover: hover) { .dc-dlg-done:hover { background: #0c8c63; } }

/* 상품 추가 창을 더 길게: 위쪽 여백을 줄이고 높이 한도를 늘려 목록 칸을 넉넉히 */
.dc-dlg { padding-top: 5vh; padding-bottom: 12px; }
.dc-dlg-box { max-height: min(760px, calc(100dvh - 5vh - 16px)); }
.dc-dlg-list { min-height: min(360px, 38dvh); }
@media (max-width: 767px) { .dc-dlg { padding-top: 4vh; } .dc-dlg-box { max-height: min(760px, calc(100dvh - 4vh - 12px)); } }

/* 창이 화면 높이에 가득 찰 때(낮은 화면): 안내 문구를 숨기고 머리글 · 아래 버튼을 줄여 목록 칸을 더 길게 */
@media (max-height: 760px) {
  .dc-dlg { padding-top: 2vh; padding-bottom: 8px; }
  .dc-dlg-box { max-height: calc(100dvh - 2vh - 12px); padding-top: 14px; }
  .dc-dlg-h { margin-bottom: 8px; }
  .dc-dlg-h p { display: none; }
  .dc-dlg-h b { font-size: 18px; }
  .dc-dlg-h button { width: 32px; height: 32px; }

  .dc-dlg-done { height: 42px; margin-top: 6px; }
  .dc-dlg-list { min-height: 0; }
}

/* 상품 · 작품 추가 창 검색칸(새 이름 .dc-search): 예전 규칙과 겹치지 않게 처음부터 정의. 가챠 · 작품 목록 검색칸과 같은 모양 */
.dc-search { display: flex; align-items: center; gap: 8px; box-sizing: border-box; width: 100%; height: 42px; margin: 0 0 12px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: text; transition: border-color .15s, box-shadow .15s; }
.dc-search svg { flex: 0 0 16px; width: 16px; height: 16px; color: var(--ink-3); }
.dc-search .dc-search-in { -webkit-appearance: none; appearance: none; flex: 1 1 auto; box-sizing: border-box; width: 100%; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0 !important; border-radius: 0; outline: 0 !important; box-shadow: none !important; background: transparent; color: var(--ink); font: inherit; font-size: 14px; }
.dc-search .dc-search-in::placeholder { color: var(--ink-3); }
.dc-search .dc-search-in::-webkit-search-cancel-button, .dc-search .dc-search-in::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.dc-search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
@media (max-height: 760px) { .dc-search { margin-bottom: 8px; } }

/* 검색칸이 다른 규칙에 덮이지 않게 핵심 값은 강제로(모서리 · 테두리 · 높이 · 배경) */
.dc-dlg .dc-search { height: 42px !important; border: 1px solid var(--line) !important; border-radius: 12px !important; background: #fff !important; padding: 0 14px !important; box-shadow: none !important; }
.dc-dlg .dc-search:focus-within { border-color: var(--navy) !important; box-shadow: 0 0 0 1px var(--navy) !important; }

/* 검색칸이 납작해지던 원인: 창(세로 flex)에 자리가 모자라면 높이가 정해진 칸도 같이 줄어든다(검색칸이 42px -> 21px 알약 모양).
   머리글 · 셀렉트 · 검색칸 · 뒤로 버튼은 줄어들지 않게 하고, 줄어드는 것은 목록 칸만 */
.dc-dlg-h, .dc-search, .dc-dlg-note, .dc-dlg-done { flex-shrink: 0; }
.dc-dlg-list { flex: 1 1 auto; min-height: 0; }

/* 상품 추가 창: 줄 전체가 눌린다 */
.dc-dlg-list > li { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dc-dlg-list > li:active { background: #efefec; }

/* 상품 · 작품 추가 창 위치: 위에 붙이지 않고 화면 가운데로(높이는 화면 안에서) */
.dc-dlg, .dc-dlg-box { }
.dc-dlg { place-items: center; padding: 20px 16px; }
.dc-dlg-box { max-height: min(760px, calc(100dvh - 40px)); }
@media (max-height: 760px) { .dc-dlg { padding: 14px 16px; } .dc-dlg-box { max-height: calc(100dvh - 28px); } }
@media (max-width: 767px) { .dc-dlg { padding: 16px 12px; } .dc-dlg-box { max-height: min(760px, calc(100dvh - 32px)); } }

/* 상품 · 작품 추가 창: + 버튼은 없애고, 고른 줄 전체를 초록으로 칠한다 */
.dc-dlg-list > li .dc-r-btn { display: none; }
.dc-dlg-list > li { outline: none; transition: background-color .15s, color .15s; }
.dc-dlg-list > li:focus-visible { box-shadow: 0 0 0 2px #10a878; }

.dc-dlg-list > li .dc-r-btn { display: none !important; }

/* ===== 내 컬렉션: 보기 전환(선반 · 장식장) ===== */
.dc-titlebar .dc-title { margin-right: auto; }

@media (max-width: 767px) { .dc-titlebar { flex-wrap: wrap; } }

/* ===== 내 컬렉션: 장식장 보기(끌어다 놓아 꾸미기) ===== */
.cab { max-width: none; }   /* 장식장은 본문 폭을 가득 채운다 */
.cab-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.cab-btn:disabled { opacity: .45; cursor: default; }
@media (hover: hover) { .cab-btn:not(:disabled):hover { border-color: var(--ink-3); } }
.cab-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* 장식장 판: 그림(cabinet.webp)을 장식장 틀에 맞춰 잘라 두었다. 배경은 투명, 좌표는 그림 대비 % */
.cab-stage { position: relative; width: 100%; aspect-ratio: 1250 / 1052; overflow: hidden; user-select: none; -webkit-user-select: none; transition: box-shadow .15s; }
.cab-stage.is-drop { box-shadow: 0 0 0 3px var(--orange); }
.cab-world { position: absolute; inset: 0; }
.cab-bg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.cab-figs { position: absolute; inset: 0; z-index: 1; }
.cab-fig { position: absolute; transform: translate(-50%, -100%); touch-action: none; cursor: grab; outline: none; -webkit-tap-highlight-color: transparent; }
.cab-fig img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .28)); transition: filter .15s; }
.cab-fig.is-flip img { transform: scaleX(-1); }
.cab-fig.is-card img { box-sizing: border-box; padding: 5%; border-radius: 7%; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 8px 18px -8px rgba(0, 0, 0, .55); filter: none; }   /* 오리지 못한 사진은 사진 카드로 */
.cab-shadow { position: absolute; left: 50%; bottom: 0; width: 115%; aspect-ratio: 360 / 100; transform: translate(-50%, 42%); background: url("img/showcase/cabinet-shadow.png") center / 100% 100% no-repeat; opacity: .9; pointer-events: none; }
@media (hover: hover) { .cab-fig:hover img { filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .28)) brightness(1.07); } .cab-fig.is-card:hover img { filter: brightness(1.04); } }
.cab-fig.is-sel::before { content: ""; position: absolute; inset: -5px; z-index: 2; border: 1.5px dashed rgba(255, 255, 255, .92); border-radius: 6px; box-shadow: 0 0 0 1px rgba(20, 22, 42, .35); pointer-events: none; }
.cab-fig:focus-visible::before { content: ""; position: absolute; inset: -5px; z-index: 2; border: 2px solid var(--orange); border-radius: 6px; pointer-events: none; }
.cab-rs { position: absolute; top: -12px; right: -12px; z-index: 3; display: none; width: 22px; height: 22px; border: 2px solid var(--navy); border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); cursor: nesw-resize; }
.cab-fig.is-sel .cab-rs { display: block; }
html.cab-dragging, html.cab-dragging * { cursor: grabbing !important; user-select: none; -webkit-user-select: none; }

/* 고른 피규어 도구 줄 */
.cab-tools { position: absolute; z-index: 5; display: flex; gap: 2px; padding: 4px; border-radius: 12px; background: rgba(20, 22, 42, .92); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); transform: translate(-50%, calc(-100% - 14px)); white-space: nowrap; }
.cab-tools.is-below { transform: translate(-50%, 10px); }
.cab-tools[hidden] { display: none; }
.cab-tools button, .cab-tools a { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 9px; border: 0; border-radius: 8px; background: none; color: #fff; font: inherit; font-size: 12.5px; font-weight: 700; text-decoration: none; cursor: pointer; }
.cab-tools svg { width: 16px; height: 16px; flex-shrink: 0; }
.cab-tools [aria-pressed="true"] { background: rgba(255, 255, 255, .16); }
@media (hover: hover) { .cab-tools button:hover, .cab-tools a:hover { background: rgba(255, 255, 255, .14); } .cab-tools .is-quiet:hover { background: #c43a31; } }
.cab-tools button:focus-visible, .cab-tools a:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.cab-empty { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; text-align: center; background: rgba(20, 22, 30, .55); color: #fff; }
.cab-empty b { font-size: 18px; font-weight: 800; }
.cab-empty p { margin: 0 0 10px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .85); }

/* 보관함: 아직 진열 안 한 피규어(끌어다 놓거나 눌러서 진열, 장식장에서 여기로 끌어 오면 내려진다) */
.cab-tray { margin-top: 14px; padding: 14px 16px 12px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background .15s, box-shadow .15s; }
.cab-tray.is-drop { background: #fff6ec; box-shadow: inset 0 0 0 2px var(--orange); }
.cab-tray-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.cab-tray-h b { font-size: 15px; font-weight: 800; }
.cab-tray-h small { margin-left: 4px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.cab-tray-msg { font-size: 13px; color: var(--ink-3); }
.cab-tray-msg.is-err { color: #c2410c; font-weight: 700; }
.cab-tray-h .cab-btn { height: 32px; font-size: 13px; }
.cab-tray-h [data-sc-auto] { margin-left: auto; }
.cab-btn.is-add { gap: 5px; padding: 0 13px 0 10px; border-color: #10a878; background: #10a878; color: #fff; }
.cab-btn.is-add svg { width: 15px; height: 15px; }
@media (hover: hover) { .cab-btn.is-add:hover { border-color: #0c8c63; background: #0c8c63; } }
.cab-tray-list { display: flex; gap: 10px; margin: 10px 0 0; padding: 2px 2px 8px; overflow-x: auto; list-style: none; scrollbar-width: thin; }
.cab-tray-list > li { flex-shrink: 0; }
.cab-ti { position: relative; display: grid; place-items: center; width: 84px; height: 104px; padding: 8px; border: 0; border-radius: 12px; background: radial-gradient(120% 90% at 50% 10%, #4a5163, #2a2e3a); cursor: grab; touch-action: pan-x; -webkit-touch-callout: none; transition: transform .15s; }
.cab-ti img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; pointer-events: none; }
.cab-ti.is-card img { padding: 3px; border-radius: 6px; background: #fff; box-sizing: border-box; }
@media (hover: hover) { .cab-ti:hover { transform: translateY(-3px); } }
.cab-ti:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.cab-noimg { width: 60%; height: 60%; border-radius: 8px; background: rgba(255, 255, 255, .15); }
.cab-tray-list > .cab-tray-empty { flex: 1 1 100%; padding: 18px 4px; white-space: normal; font-size: 13.5px; color: var(--ink-3); }
.cab-ghost { position: fixed; z-index: 9999; pointer-events: none; transform: translate(-50%, -85%); opacity: .92; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35)); }
.cab-ghost img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cab-ghost.is-card img { padding: 5%; border-radius: 7%; background: #fff; box-sizing: border-box; }
@media (max-width: 767px) {
  .cab-tools span:not(.sr-only) { display: none; }
  .cab-tools button, .cab-tools a { padding: 0 7px; }
  .cab-ti { width: 68px; height: 86px; padding: 6px; }
}
/* 보관함을 장식장 왼쪽 세로 칸으로(태블릿 · PC). 보관함 높이는 장식장 높이에 맞추고, 넘치면 보관함 안에서 스크롤 */
@media (min-width: 768px) {
  .cab { display: grid; grid-template-columns: clamp(170px, 17vw, 240px) minmax(0, 1fr); grid-template-areas: "tray stage"; gap: 16px; align-items: stretch; }
  .cab-stage { grid-area: stage; }
  .cab-tray { grid-area: tray; display: flex; flex-direction: column; height: 0; min-height: 100%; margin-top: 0; padding: 14px 12px 12px; box-sizing: border-box; overflow: hidden; }
  .cab-tray-h { gap: 8px; }
  .cab-tray-h b { flex: 1 1 100%; }
  .cab-tray-msg:empty { display: none; }
  .cab-tray-msg { flex: 1 1 100%; }
  .cab-tray-h .cab-btn, .cab-tray-h [data-sc-auto] { flex: 1 1 100%; justify-content: center; margin-left: 0; }
  .cab-tray-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); align-content: start; gap: 8px; flex: 1 1 auto; min-height: 0; margin-top: 12px; padding: 2px 2px 4px; overflow-x: hidden; overflow-y: auto; }
  .cab-ti { display: block; width: 100%; height: auto; aspect-ratio: 84 / 104; overflow: hidden; touch-action: pan-y; }
  .cab-ti img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); max-width: none; max-height: none; object-fit: contain; }
  .cab-ti.is-card img { inset: 12px 8px; height: auto; max-height: calc(100% - 24px); margin: auto; }
  .cab-tray-list > .cab-tray-empty { grid-column: 1 / -1; padding: 12px 2px; }
}
/* 보관함 칸의 × (컬렉션에서 빼기): 마우스를 올리면 보이고, 터치 화면에서는 늘 보인다 */
.cab-tray-list > li { position: relative; }
.cab-tx { position: absolute; top: 4px; right: 4px; z-index: 2; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink-2); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); cursor: pointer; opacity: 0; transition: opacity .15s, color .15s; }
.cab-tx svg { width: 12px; height: 12px; }
.cab-tray-list > li:hover .cab-tx, .cab-tx:focus-visible { opacity: 1; }
@media (hover: none) { .cab-tx { opacity: 1; } }
@media (hover: hover) { .cab-tx:hover { color: #d62d20; background: #fff; } }
.cab-tx:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.cab-tx:disabled { opacity: .5; cursor: progress; }
/* 배경을 지우는 중: 원본 사진 대신 빛이 지나가는 빈 칸(보관함 칸 · 장식장 피규어 자리) */
.cab-wait { position: absolute; inset: 14% 22%; border-radius: 40% 40% 12px 12px; background: linear-gradient(100deg, rgba(255, 255, 255, .08) 30%, rgba(255, 255, 255, .28) 50%, rgba(255, 255, 255, .08) 70%) 0 0 / 250% 100%; animation: cab-wait 1.3s linear infinite; }
.cab-ti.is-wait { cursor: progress; }
.cab-fig.is-wait img { visibility: hidden; }
.cab-fig.is-wait::after { content: ""; position: absolute; inset: 6% 18% 0; border-radius: 40% 40% 10px 10px; background: linear-gradient(100deg, rgba(255, 255, 255, .08) 30%, rgba(255, 255, 255, .3) 50%, rgba(255, 255, 255, .08) 70%) 0 0 / 250% 100%; animation: cab-wait 1.3s linear infinite; pointer-events: none; }
@keyframes cab-wait { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) { .cab-ti, .cab-fig img { transition: none; } .cab-wait, .cab-fig.is-wait::after { animation: none; } }

/* ===== 사이트 확인 창(tkConfirm): 브라우저 기본 확인창 대신. 상품 추가 창과 같은 둥근 흰 카드 ===== */
.tkc { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.tkc-dim { position: absolute; inset: 0; background: rgba(20, 22, 42, .5); animation: tkc-fade .16s ease-out; }
.tkc-box { position: relative; display: flex; flex-direction: column; align-items: center; width: min(340px, 100%); padding: 24px 20px 18px; box-sizing: border-box; border-radius: 24px; background: #fff; box-shadow: 0 30px 70px -24px rgba(20, 22, 42, .55), 0 0 0 1px rgba(20, 22, 42, .05); text-align: center; animation: tkc-pop .2s cubic-bezier(.22, 1, .36, 1); }
.tkc.is-out .tkc-dim, .tkc.is-out .tkc-box { opacity: 0; transition: opacity .14s; }
.tkc-ph { display: block; width: 92px; height: 112px; margin-bottom: 14px; padding: 8px; box-sizing: border-box; border-radius: 16px; background: radial-gradient(120% 90% at 50% 10%, #4a5163, #2a2e3a); }
.tkc-ph img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tkc-t { font-size: 17px; font-weight: 800; color: var(--ink); }
.tkc-p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); word-break: keep-all; overflow-wrap: anywhere; }
.tkc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 20px; }
.tkc-btns button { height: 46px; border: 0; border-radius: 14px; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; transition: background-color .15s; }
.tkc-no { background: #f0f0ee; color: var(--ink-2); }
.tkc-ok { background: var(--navy); color: #fff; }
.tkc-ok.is-danger { background: #d9362c; }
@media (hover: hover) { .tkc-no:hover { background: #e5e5e2; } .tkc-ok:hover { background: #262a48; } .tkc-ok.is-danger:hover { background: #bf2c23; } }
.tkc-btns button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
@keyframes tkc-fade { from { opacity: 0; } }
@keyframes tkc-pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@media (prefers-reduced-motion: reduce) { .tkc-dim, .tkc-box { animation: none; } }

/* 상품 추가 창의 셀렉트 박스 줄(작품 · 제조사 · 시리즈): 피규어 목록 페이지와 같은 셀렉트 모양 */
.dc-dlg-f { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 10px; }
.dc-dlg-f[hidden] { display: none; }
.dc-dlg-f .sel { display: block; min-width: 0; }
.dc-dlg-f .sel-list { z-index: 5; min-width: 100%; max-width: min(320px, calc(100vw - 32px)); }
@media (max-width: 480px) { .dc-dlg-f { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .dc-dlg-f .sel:first-child { grid-column: 1 / -1; } }

/* 상품 추가 창: 고른 상품(담긴 것)은 줄 전체를 초록으로 강조하고 오른쪽에 ✓ */
.dc-dlg-list > li.is-on { background: #10a878; box-shadow: none; }
.dc-dlg-list > li.is-on .dc-r-tx small { color: rgba(255, 255, 255, .85); }
.dc-dlg-list > li.is-on .dc-r-tx b { color: #fff; }
.dc-dlg-list > li.is-on .dc-r-tx em { color: rgba(255, 255, 255, .82); }
.dc-dlg-list > li.is-on .dc-r-ph { box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
.dc-dlg-list > li.is-on::after { content: "✓"; align-self: center; margin-right: 6px; color: #fff; font-size: 22px; font-weight: 900; line-height: 1; }
@media (hover: hover) { .dc-dlg-list > li.is-on:hover { background: #0e9a6d; } }
.dc-dlg-list > li.is-on:active { background: #0c8c63; }
.dc-dlg-list > li.is-on:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #10a878; }
.dc-dlg-done:disabled { opacity: .7; cursor: progress; }

/* ===== 메인 둘러보기(새 디자인): 복숭아빛 띠 + 주황 구름, 주황 알약 탭, 작품색 파스텔 카드, 양옆 동그란 화살표 · 아래 점 ===== */
.browse-band { position: relative; overflow: hidden; margin-top: 0; padding: 48px 0 96px; isolation: isolate;   /* 맨 위는 배너가 녹아든 색(#fff6ee)과 똑같이 시작한다(줄이 보이지 않게) */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 46C220 18 470 8 720 30S1220 74 1440 34V80H0z' fill='%2312152b'/%3E%3C/svg%3E") bottom / 100% 64px no-repeat,   /* 아래: 이치방쿠지 남색 물결 */
    radial-gradient(110% 70% at 85% 75%, rgba(255, 228, 204, .9) 0, rgba(255, 233, 214, 0) 60%), linear-gradient(180deg, #fff6ee 0, #fff6ee 90px, #fdf0e6 62%, #fbe8da 100%); }
/* 구름: 오른쪽 위 큰 구름 · 왼쪽 아래 · 오른쪽 아래(주황, 가장자리는 흰빛). 글자 · 카드 뒤에 깔린다 */
.browse-band::before, .browse-band::after { content: ""; position: absolute; z-index: -1; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }
.browse-band::before { top: -40px; right: -60px; width: min(980px, 70vw); height: 330px; opacity: .9;
  -webkit-mask-image: linear-gradient(180deg, transparent 4%, #000 34%, #000 52%, transparent 96%); mask-image: linear-gradient(180deg, transparent 4%, #000 34%, #000 52%, transparent 96%);   /* 구름 위(배너와 맞닿는 곳) · 아래는 바탕으로 녹아들게 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 980 330'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='1' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23ffb873'/%3E%3Cstop offset='.55' stop-color='%23ff9a3d'/%3E%3Cstop offset='1' stop-color='%23f7861f'/%3E%3C/linearGradient%3E%3ClinearGradient id='h' x1='0' y1='1' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23ffd9b3'/%3E%3Cstop offset='1' stop-color='%23ffc58f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M120 330c-14-34 10-72 50-74 22-1 38 8 42 22 18-44 74-60 112-34 26-52 92-66 134-28 30-58 112-70 156-20 30-34 92-38 120 4 34-18 80-6 96 28 30-6 60 12 66 40H120z' fill='url(%23h)' opacity='.75'/%3E%3Cpath d='M360 330c4-40 40-66 80-60 16-46 72-66 112-40 22-60 100-80 150-36 26-58 108-70 146-14 52-14 98 22 104 66 8 40-20 84-20 84z' fill='url(%23g)'/%3E%3C/svg%3E"); }
.browse-band::after { left: 0; right: 0; bottom: 30px; height: 150px; opacity: .85;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 150' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='o' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffb36b'/%3E%3Cstop offset='1' stop-color='%23f7861f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 40c40-10 84 0 108 30 30-20 78-14 98 18 26-6 54 8 64 30c10 12 14 22 14 32H0z' fill='url(%23o)' opacity='.85'/%3E%3Cpath d='M1440 20c-60 0-110 30-130 76-40-10-86 10-100 54h230z' fill='url(%23o)'/%3E%3C/svg%3E"); }
.browse-band > .sec { position: relative; padding-top: 0; }
.browse-band .s-head { align-items: flex-end; margin-bottom: 22px; }
.browse-band .s-head .label { margin-bottom: 8px; font-size: 15px; font-weight: 800; letter-spacing: .02em; color: #f07a12; }
.browse-band .s-head h2 { position: relative; display: inline-block; color: #1c2140; font-size: clamp(32px, 3.4vw, 48px); }
.browse-band .s-head h2::after { content: ""; position: absolute; top: -18px; right: -34px; width: 30px; height: 30px; pointer-events: none;   /* 반짝 표시 세 줄 */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='none' stroke='%23f7861f' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M5 4v9M13 9l-4 8M25 13l-11 5'/%3E%3C/svg%3E") center / contain no-repeat; }
/* 탭: 고른 탭 뒤로 주황 알약이 미끄러진다(site.js 의 .tab-bar 를 알약으로) */
.browse-band .browse-tabs.is-slide { gap: 6px; padding-bottom: 14px; margin-bottom: 26px; border-bottom: 1px solid rgba(160, 100, 50, .16); }
.browse-band .browse-tabs.is-slide button { position: relative; z-index: 1; height: 46px; padding: 0 26px; border-radius: 999px; color: #2a2f4f; font-size: 16px; font-weight: 700; transition: color .25s; }
.browse-band .browse-tabs.is-slide button:hover { color: #f07a12; }
.browse-band .browse-tabs.is-slide button[aria-pressed="true"] { color: #fff; font-weight: 800; }
.browse-band .browse-tabs .tab-bar { top: 0; bottom: auto; z-index: 0; height: 46px; border-radius: 999px; background: linear-gradient(180deg, #ff9636, #ec6f0e); box-shadow: 0 8px 18px -8px rgba(236, 111, 14, .75); }
/* 카드: 작품 고유 색을 연하게 깐 파스텔 + 위쪽 빛, 로고는 가운데, 이름은 아래 어두운 알약 */
.browse-band .lines-row { padding: 18px 4px 30px; margin: -14px -4px -22px; }
.browse-band .mc a { position: relative; box-sizing: border-box; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; aspect-ratio: 1 / .95; min-height: 0; padding: 18px 16px 58px; overflow: hidden;
  border: 3px solid #fff; border-radius: 28px;
  background: radial-gradient(120% 80% at 50% 0, rgba(255, 255, 255, .85) 0, rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, color-mix(in srgb, var(--wk, #f28a2a) 16%, #fff) 0, color-mix(in srgb, var(--wk, #f28a2a) 32%, #fff) 100%);
  box-shadow: 0 14px 28px -16px rgba(150, 80, 20, .45), 0 2px 0 rgba(255, 255, 255, .6) inset;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s, border-color .2s; }
.browse-band .mc.is-maker a { background: radial-gradient(120% 80% at 50% 0, rgba(255, 255, 255, .9) 0, rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #eef5fd 0, #d9e9f9 100%); }
.browse-band .mc-logo { position: relative; flex: 1; align-self: stretch; display: flex; align-items: center; justify-content: center; width: auto; height: auto; min-height: 0; }
.browse-band .mc-logo img { position: absolute; inset: 8% 6%; width: 88%; height: 84%; max-width: none; max-height: none; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .12)); }   /* 로고는 카드 가운데 칸 안에 맞춘다 */
.browse-band .mc-logo b { font-size: clamp(20px, 1.8vw, 26px); color: #2a2f4f; }
.browse-band .mc-name { position: absolute; left: 50%; bottom: 16px; max-width: calc(100% - 28px); padding: 6px 16px; transform: translateX(-50%); border-radius: 999px; background: rgba(40, 42, 64, .74);
  color: #fff; font-size: 14px; font-weight: 700; text-align: center; box-sizing: border-box; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.browse-band .mc-logo:not(:has(img)) + .mc-name { display: inline-flex; }   /* 글자 로고여도 이름 알약은 같은 자리에 */
@media (hover: hover) {
  .browse-band .mc a:hover, .browse-band .mc[style*="--wk"] a:hover { transform: translateY(-6px); border-color: #ff8a1f; box-shadow: 0 0 0 3px rgba(255, 138, 31, .25), 0 22px 34px -16px rgba(236, 111, 14, .55); }
}
.browse-band .mc a:focus-visible { outline: none; border-color: #ff8a1f; box-shadow: 0 0 0 4px rgba(255, 138, 31, .35); }
.browse-band .mc a:active, .browse-band .sc a:active { transform: translateY(-2px); box-shadow: 0 10px 20px -14px rgba(150, 80, 20, .5); }
/* 화살표: 카드 줄 양옆 가운데의 흰 동그라미(주황 꺾쇠), 점은 아래 가운데 */
.browse-band .rail-wrap { position: relative; }
.browse-band .rail-ctl { position: static; justify-content: center; margin-top: 14px; }
.browse-band .rail-ctl > button { position: absolute; top: calc(50% - 42px); z-index: 3; width: 52px; height: 52px; padding: 15px; border-radius: 50%; background: #fff; color: #f07a12;
  box-shadow: 0 8px 20px -8px rgba(150, 80, 20, .45); transform: translateY(-50%); }
.browse-band .rail-ctl > button[data-rail-prev] { left: -26px; }
.browse-band .rail-ctl > button[data-rail-next] { right: -26px; }
@media (hover: hover) { .browse-band .rail-ctl > button:not(:disabled):hover { background: #f7861f; color: #fff; } }
.browse-band .rail-dots { gap: 10px; }
.browse-band .rail-dots button { width: 12px; height: 12px; background: rgba(120, 110, 100, .28); }
.browse-band .rail-dots button.is-on { width: 34px; background: linear-gradient(180deg, #ff9636, #ec6f0e); }
.browse-band .pill-link { box-shadow: 0 8px 18px -10px rgba(150, 80, 20, .5); }
@media (max-width: 1023px) {
  .browse-band .rail-ctl > button[data-rail-prev] { left: -8px; }
  .browse-band .rail-ctl > button[data-rail-next] { right: -8px; }
}
@media (max-width: 767px) {
  .browse-band { padding: 44px 0 40px; }
  .browse-band::before { top: -20px; right: -80px; width: 120vw; height: 180px; opacity: .7; }
  .browse-band::after { height: 80px; }
  .browse-band .s-head h2 { font-size: 28px; }
  .browse-band .s-head h2::after { top: -12px; right: -26px; width: 22px; height: 22px; }
  .browse-band .browse-tabs.is-slide { padding-bottom: 10px; margin-bottom: 18px; }
  .browse-band .browse-tabs.is-slide button, .browse-band .browse-tabs .tab-bar { height: 40px; }
  .browse-band .browse-tabs.is-slide button { padding: 0 18px; font-size: 15px; }
  .browse-band .mc a { border-radius: 22px; padding-bottom: 50px; }
  .browse-band .mc-name { bottom: 12px; font-size: 12.5px; padding: 5px 12px; }
  .browse-band .rail-ctl > button { display: none; }   /* 폰은 밀어서 넘기고 점으로 위치를 본다 */
}
/* 작품 이름표: 작품 고유 색 알약(위는 밝게) + 흰 테두리 + 굵은 흰 글자, 아이콘이 있으면 왼쪽 동그라미에. 제조사 카드는 남색 */
.browse-band .mc .mc-name { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 6px 18px; border: 2px solid rgba(255, 255, 255, .9);
  background: linear-gradient(180deg, color-mix(in srgb, var(--wk, #f28a2a) 72%, #fff) 0, var(--wk, #f28a2a) 55%, color-mix(in srgb, var(--wk, #f28a2a) 82%, #000) 100%);
  font-size: 15px; font-weight: 800; letter-spacing: -0.01em; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--wk, #f28a2a) 70%, #000); -webkit-backdrop-filter: none; backdrop-filter: none; }
.browse-band .mc .mc-name > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.browse-band .mc .mc-name:has(.mc-ic) { padding-left: 5px; }
.browse-band .mc-ic { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.browse-band .mc-ic img { width: 76%; height: 76%; object-fit: contain; }
.browse-band .mc.is-maker .mc-name { background: rgba(40, 42, 64, .78); box-shadow: none; text-shadow: none; }
@media (max-width: 767px) { .browse-band .mc .mc-name { font-size: 13px; padding: 5px 13px; } .browse-band .mc-ic { width: 22px; height: 22px; } }
/* 시리즈 카드도 같은 둥근 흰 테두리 · 부드러운 그림자(안의 피규어 진열은 그대로) */
.browse-band .sc a { border: 3px solid #fff; border-radius: 28px; background: radial-gradient(120% 80% at 50% 0, rgba(255, 255, 255, .85) 0, rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #fff6e2 0, #ffe9c4 100%);
  box-shadow: 0 14px 28px -16px rgba(150, 80, 20, .45); transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s, border-color .2s; }
@media (hover: hover) { .browse-band .sc a:hover { transform: translateY(-6px); border-color: #ff8a1f; box-shadow: 0 0 0 3px rgba(255, 138, 31, .25), 0 22px 34px -16px rgba(236, 111, 14, .55); } }
@media (max-width: 767px) { .browse-band .sc a { border-radius: 22px; } }
@media (prefers-reduced-motion: reduce) { .browse-band .mc a, .browse-band .sc a { transition: none; } }

/* ===== 둘러보기 작품 카드 · 시안 맞추기: 정사각형에 가까운 카드, 큰 로고, 카드 폭 대부분을 차지하는 작품 색 이름 막대 ===== */
.browse-band .mc a { height: auto; aspect-ratio: 1 / .94; padding: 0; border-width: 3px; border-radius: 26px; }   /* 예전 카드 높이 170px 고정(.mc a)을 푼다 */
.browse-band .mc-logo { position: absolute; left: 6%; right: 6%; top: 9%; bottom: 30%; flex: none; }
.browse-band .mc-logo img { inset: 0; width: 100%; height: 100%; }
.browse-band .mc-logo b { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(20px, 1.9vw, 28px); }
.browse-band .mc .mc-name { left: 9%; right: 9%; bottom: 7%; max-width: none; height: clamp(34px, 2.9vw, 42px); padding: 0 14px; transform: none; justify-content: center; border-radius: 15px;
  border: 1.5px solid rgba(255, 255, 255, .8);
  background: linear-gradient(180deg, color-mix(in srgb, var(--wk, #f28a2a) 62%, #fff) 0, color-mix(in srgb, var(--wk, #f28a2a) 92%, #fff) 46%, var(--wk, #f28a2a) 54%, color-mix(in srgb, var(--wk, #f28a2a) 78%, #000) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 8px 16px -8px color-mix(in srgb, var(--wk, #f28a2a) 75%, #000);
  font-size: clamp(14px, 1.15vw, 18px); font-weight: 800; letter-spacing: -0.01em; }
.browse-band .mc .mc-name:has(.mc-ic) { padding-left: 46px; }
.browse-band .mc .mc-name .mc-ic { position: absolute; left: 7px; top: 50%; width: 30px; height: 30px; margin-top: -15px; }
.browse-band .mc.is-maker .mc-name { background: linear-gradient(180deg, #4b5070 0, #2c3050 100%); }
@media (max-width: 767px) {
  .browse-band .mc a { border-radius: 20px; }
  .browse-band .mc .mc-name { left: 7%; right: 7%; height: 32px; border-radius: 12px; font-size: 13px; padding: 0 8px; }
  .browse-band .mc .mc-name:has(.mc-ic) { padding-left: 34px; }
  .browse-band .mc .mc-name .mc-ic { left: 5px; width: 24px; height: 24px; margin-top: -12px; }
}
.browse-band .sc a { height: auto; aspect-ratio: 1 / .94; border-radius: 26px; }   /* 시리즈 카드도 작품 카드와 같은 크기 */
@media (max-width: 767px) { .browse-band .sc a { border-radius: 20px; } }

/* ===== 둘러보기 작품 카드: 세로형 둥근 카드(배경 · 로고 · 배지 3겹), 첫 카드 주황 강조, 마우스를 올리면 살짝 커지고 그림자 =====
   한 화면에 PC 6개 · 태블릿 3개 · 모바일 2개(좌우 이동은 기존 캐러셀 그대로) */
.browse-band .lines-row { gap: 16px; grid-auto-columns: calc((100% - 5 * 16px) / 6); padding: 20px 8px 32px; margin: -16px -8px -24px; scroll-padding-inline: 8px; }
@media (max-width: 1023px) { .browse-band .lines-row { gap: 14px; grid-auto-columns: calc((100% - 2 * 14px) / 3); } }
@media (max-width: 767px) { .browse-band .lines-row { gap: 12px; grid-auto-columns: calc((100% - 12px) / 2); } }
.browse-band .mc.is-work a { aspect-ratio: 4 / 5; isolation: isolate; overflow: hidden; border: 3px solid #fff; border-radius: 28px; background: #fff;
  box-shadow: 0 12px 26px -16px rgba(120, 60, 20, .45); transform-origin: 50% 60%;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s, border-color .2s; }
/* ① 배경: 올린 그림을 꽉 채운다. 없으면 작품 색 파스텔 + 위쪽 빛 */
.browse-band .mc-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 70% at 50% 0, rgba(255, 255, 255, .9) 0, rgba(255, 255, 255, 0) 62%),
  linear-gradient(180deg, color-mix(in srgb, var(--wk, #f28a2a) 14%, #fff) 0, color-mix(in srgb, var(--wk, #f28a2a) 34%, #fff) 100%); }
.browse-band .mc-bg.has-img { background-position: center; background-size: cover; background-repeat: no-repeat; }
.browse-band .mc-bg.has-img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 45% at 50% 42%, rgba(255, 255, 255, .32) 0, rgba(255, 255, 255, 0) 72%); }   /* 로고 뒤만 살짝 밝게 */
/* ② 로고: 배경 위 가운데(배지 위쪽 공간의 한가운데) */
.browse-band .mc.is-work .mc-logo { position: absolute; z-index: 1; left: 7%; right: 7%; top: 12%; bottom: 30%; }
.browse-band .mc.is-work .mc-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .16)); transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
/* ③ 배지: 아래쪽 작품 색 라벨(아이콘 + 이름) */
.browse-band .mc.is-work .mc-name { z-index: 2; bottom: 7%; }
/* 첫 카드: 주황 테두리 + 주황 빛 */
.browse-band .mc.is-work:first-child a { border-color: #ff8a1f; box-shadow: 0 0 0 4px rgba(255, 138, 31, .22), 0 18px 32px -14px rgba(236, 111, 14, .6); }
/* 마우스를 올리면 살짝 커지고 그림자가 깊어진다(떠오르기 대신 확대) */
@media (hover: hover) {
  .browse-band .mc.is-work a:hover { transform: scale(1.045); border-color: #ff8a1f; box-shadow: 0 0 0 4px rgba(255, 138, 31, .25), 0 24px 38px -16px rgba(236, 111, 14, .55); }
  /* 다른 카드에 마우스를 올리면 첫 카드 강조는 잠시 끈다(주황 테두리가 마우스를 따라 한 장에만) */
  .browse-band .lines-row:has(.mc.is-work a:hover) .mc.is-work:first-child a:not(:hover) { border-color: #fff; box-shadow: 0 12px 26px -16px rgba(120, 60, 20, .45); }
  .browse-band .mc.is-work:first-child a:hover { border-color: #ff8a1f; box-shadow: 0 0 0 4px rgba(255, 138, 31, .25), 0 26px 40px -14px rgba(236, 111, 14, .65); }
  .browse-band .mc.is-work a:hover .mc-logo img { transform: scale(1.04); }
}
.browse-band .mc.is-work a:focus-visible { outline: none; border-color: #ff8a1f; box-shadow: 0 0 0 4px rgba(255, 138, 31, .4); }
.browse-band .mc.is-work a:active { transform: scale(1.02); }
@media (max-width: 767px) { .browse-band .mc.is-work a { border-radius: 22px; } }
@media (prefers-reduced-motion: reduce) { .browse-band .mc.is-work a, .browse-band .mc.is-work .mc-logo img { transition: none; } }

/* 작품 배지(시안): 볼록한 광택 대신 평평한 둥근 알약. 작품 색을 조금 진하게, 위아래로 아주 약하게만 변하고 흰 테두리 · 반사광 없음 */
.browse-band .mc .mc-name { border: 0; border-radius: 999px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--wk, #f28a2a) 92%, #000) 0, color-mix(in srgb, var(--wk, #f28a2a) 76%, #000) 100%);
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .35); text-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
.browse-band .mc.is-maker .mc-name { background: linear-gradient(180deg, #3d4262 0, #2b2f4c 100%); }
.browse-band .mc .mc-name .mc-ic { background: none; box-shadow: none; }   /* 아이콘은 동그라미 없이 그림 그대로 */
.browse-band .mc .mc-name .mc-ic img { width: 100%; height: 100%; }

/* 카드 배경 그림에 흰 테두리(둥근 액자)가 그려져 있어도 보이지 않게 가장자리를 8% 잘라 깐다. 카드 높이는 조금 낮게(4:5 → 1:1.12) */
.browse-band .mc-bg.has-img { inset: -8%; }
.browse-band .mc.is-work a { aspect-ratio: 1 / .95; }
.browse-band .mc.is-work .mc-logo { top: 10%; bottom: 31%; }

/* 작품 배지(시안 '나루토' 느낌): 작품 색 그대로 채우고, 바깥은 진한 같은 색 얇은 테두리 + 안쪽 밝은 얇은 고리 + 은은한 색 빛. 위쪽 반사 띠는 없다 */
.browse-band .mc .mc-name { border: 2px solid color-mix(in srgb, var(--wk, #f28a2a) 62%, #000);
  background: linear-gradient(180deg, color-mix(in srgb, var(--wk, #f28a2a) 90%, #fff) 0, var(--wk, #f28a2a) 60%, color-mix(in srgb, var(--wk, #f28a2a) 92%, #000) 100%);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--wk, #f28a2a) 55%, #fff), 0 0 10px 1px color-mix(in srgb, var(--wk, #f28a2a) 55%, transparent);
  text-shadow: 0 1px 0 color-mix(in srgb, var(--wk, #f28a2a) 55%, #000), 0 0 3px color-mix(in srgb, var(--wk, #f28a2a) 40%, #000);
  -webkit-backdrop-filter: none; backdrop-filter: none; }
.browse-band .mc.is-maker .mc-name { --wk: #3a3f63; }
/* 작품 배지 글자 크기(조금 작게) */
.browse-band .mc .mc-name { font-size: clamp(12.5px, .95vw, 15.5px); }
@media (max-width: 767px) { .browse-band .mc .mc-name { font-size: 12px; } }
/* 작품 배지 크기(더 작게): 높이 · 좌우 폭을 줄이고 아이콘도 맞춘다 */
.browse-band .mc .mc-name { left: 14%; right: 14%; bottom: 8%; height: clamp(28px, 2.15vw, 34px); padding: 0 10px; }
.browse-band .mc .mc-name:has(.mc-ic) { padding-left: 34px; }
.browse-band .mc .mc-name .mc-ic { left: 6px; width: 22px; height: 22px; margin-top: -11px; }
@media (max-width: 767px) {
  .browse-band .mc .mc-name { left: 10%; right: 10%; height: 27px; padding: 0 6px; }
  .browse-band .mc .mc-name:has(.mc-ic) { padding-left: 28px; }
  .browse-band .mc .mc-name .mc-ic { left: 5px; width: 18px; height: 18px; margin-top: -9px; }
}

/* 작품 배지: 볼록한 효과 모두 없앰 — 작품 색 단색, 테두리 · 안쪽 고리 · 바깥 빛 · 그라데이션 · 글자 그림자 없음 */
.browse-band .mc .mc-name { border: 0; background: var(--wk, #f28a2a); background-image: none; box-shadow: none; text-shadow: none; }

/* 둘러보기 넘기기 버튼: 카드 양옆 대신 아래 점 줄 양옆에(‹ ● ● ›), 점과 어울리는 작은 납작한 동그라미 */
.browse-band .rail-ctl { gap: 14px; margin-top: 16px; }
.browse-band .rail-ctl > button { position: static; display: grid; width: 30px; height: 30px; padding: 8px; transform: none; border-radius: 50%; background: #fbe3cf; color: #f07a12; box-shadow: none; }
.browse-band .rail-ctl > button[data-rail-prev], .browse-band .rail-ctl > button[data-rail-next] { left: auto; right: auto; }
@media (hover: hover) { .browse-band .rail-ctl > button:not(:disabled):hover { background: #f7861f; color: #fff; } }
.browse-band .rail-ctl > button:not(:disabled):active { background: #ec6f0e; color: #fff; }
.browse-band .rail-ctl > button:focus-visible { outline: 2px solid #f07a12; outline-offset: 2px; }
@media (max-width: 767px) { .browse-band .rail-ctl > button { display: grid; width: 28px; height: 28px; padding: 7px; } }   /* 폰에서도 점 옆에 보인다 */

/* ===== 둘러보기 시리즈 카드(시안): 카드마다 다른 파스텔 바탕 + 흰 테두리, 피규어 3개 가운데, 아래 반투명 회색 이름 알약. 크기는 작품 카드와 같다 ===== */
.browse-band .sc:nth-child(6n+1) { --pc: #ffdf9e; }   /* 노랑 */
.browse-band .sc:nth-child(6n+2) { --pc: #bfdcff; }   /* 하늘 */
.browse-band .sc:nth-child(6n+3) { --pc: #ffc9de; }   /* 분홍 */
.browse-band .sc:nth-child(6n+4) { --pc: #c4efce; }   /* 연두 */
.browse-band .sc:nth-child(6n+5) { --pc: #d9cbff; }   /* 보라 */
.browse-band .sc:nth-child(6n+6) { --pc: #ffd2b3; }   /* 복숭아 */
.browse-band .sc a { height: auto; aspect-ratio: 1 / 1.12; border: 3px solid #fff; border-radius: 28px;
  background: radial-gradient(110% 70% at 50% 0, rgba(255, 255, 255, .85) 0, rgba(255, 255, 255, 0) 62%), linear-gradient(180deg, color-mix(in srgb, var(--pc, #ffdf9e) 45%, #fff) 0, var(--pc, #ffdf9e) 100%);
  box-shadow: 0 12px 26px -16px rgba(120, 60, 20, .4); transform-origin: 50% 60%; transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s, border-color .2s; }
.browse-band .sc-figs { inset: 9% 3% 25% 3%; }
.browse-band .sc-stage { bottom: 22%; width: 82%; }
.browse-band .sc-top { position: absolute; left: 0; right: 0; bottom: 8%; z-index: 3; display: flex; justify-content: center; padding: 0; }
.browse-band .sc-name { display: block; max-width: 84%; padding: 6px 16px; overflow: hidden; border-radius: 999px; background: rgba(66, 66, 78, .74); color: #fff;
  font-size: clamp(12.5px, .95vw, 15px); font-weight: 700; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; -webkit-line-clamp: unset; }
@media (hover: hover) {
  .browse-band .sc a:hover { transform: scale(1.045); border-color: #ff8a1f; box-shadow: 0 0 0 4px rgba(255, 138, 31, .25), 0 24px 38px -16px rgba(236, 111, 14, .5); }
}
.browse-band .sc a:active { transform: scale(1.02); }
@media (max-width: 767px) { .browse-band .sc a { border-radius: 22px; } .browse-band .sc-name { font-size: 12px; padding: 5px 12px; } }

/* ===== 메인 이치방쿠지(시안): 짙은 남색 띠 + 흐린 큰 글자 · 주황 붓 터치, 주황 'EVENT & NEWS' · 손글씨, 3열 카드(그림 + 남색 정보 칸) ===== */
.kj-band { position: relative; overflow: hidden; isolation: isolate; padding: 64px 0 72px; color: #fff;
  background: linear-gradient(180deg, #12152b 0, rgba(18, 21, 43, 0) 140px, rgba(18, 21, 43, 0) calc(100% - 140px), #12152b 100%),   /* 위아래 끝은 이웃 물결과 같은 남색 단색(경계 줄이 안 보이게) */
    radial-gradient(60% 70% at 85% 30%, rgba(242, 138, 42, .14) 0, rgba(242, 138, 42, 0) 60%), radial-gradient(70% 80% at 10% 80%, rgba(70, 90, 200, .18) 0, rgba(70, 90, 200, 0) 60%), #12152b; }
.kj-band::before { content: "ICHIBAN"; position: absolute; z-index: -1; top: -10px; left: 50%; transform: translateX(-50%) skewX(-8deg); font-size: clamp(120px, 17vw, 300px); font-weight: 900; font-style: italic; letter-spacing: -0.03em; line-height: 1;
  color: rgba(255, 255, 255, .035); white-space: nowrap; pointer-events: none; }   /* 뒤에 흐린 큰 글자 */
.kj-band::after { content: ""; position: absolute; z-index: -1; top: 70px; right: -40px; width: min(720px, 55vw); height: 220px; pointer-events: none; opacity: .55;   /* 주황 붓 터치 */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 220'%3E%3Cpath d='M20 190C180 150 360 100 700 20' stroke='%23f7861f' stroke-width='26' stroke-linecap='round' fill='none' opacity='.55'/%3E%3Cpath d='M120 200C300 160 470 120 690 70' stroke='%23f7861f' stroke-width='8' stroke-linecap='round' fill='none' opacity='.5'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.kj-band > .sec { padding-top: 0; }
.kjb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.kjb-tag { display: inline-block; height: 30px; padding: 0 16px; border-radius: 999px; background: #f7861f; color: #fff; font-size: 14px; font-weight: 800; line-height: 30px; letter-spacing: .02em; }
.kjb-title h2 { margin: 12px 0 10px; font-size: clamp(32px, 3.6vw, 52px); font-weight: 900; line-height: 1.15; letter-spacing: -0.03em; color: #fff; }
.kjb-title h2 em { font-style: normal; color: #ff8a1f; }
.kjb-title p { margin: 0; font-size: clamp(14px, 1.1vw, 17px); color: rgba(255, 255, 255, .78); }
.kjb-side { display: flex; align-items: center; gap: 28px; }
.kjb-deco { display: flex; align-items: flex-end; gap: 10px; margin-right: clamp(40px, 6vw, 110px); color: #f7861f; transform: rotate(-8deg); }   /* 버튼과 사이를 띄워 왼쪽으로 */
.kjb-crown { width: 64px; height: 52px; }
.kjb-hand { font-family: "Nanum Pen Script", cursive; font-size: clamp(26px, 2.2vw, 36px); line-height: 1; color: #fff; border-bottom: 3px solid #f7861f; padding-bottom: 2px; }
.kjb-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.kjc { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; background: #1a1e38; color: #fff; text-decoration: none;
  transition: border-color .2s, transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s; }
.kjc-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: rgba(255, 255, 255, .06); }
.kjc-img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.kjc-body { position: relative; display: block; padding: 16px 20px 18px; }
.kjc-name { display: block; overflow: hidden; font-size: clamp(15px, 1.2vw, 18px); font-weight: 800; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
.kjc-sub { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13.5px; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.kjc-sub i { width: 1px; height: 12px; background: rgba(255, 255, 255, .3); }
@media (hover: hover) {
  .kjc:hover { border-color: #f7861f; transform: translateY(-4px); box-shadow: 0 18px 34px -18px rgba(247, 134, 31, .55); }
  .kjc:hover .kjc-img img { transform: scale(1.05); }
}
.kjc:focus-visible { outline: 2px solid #f7861f; outline-offset: 3px; }
@media (max-width: 1023px) { .kjb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kjb-deco { display: none; } }
@media (max-width: 767px) {
  .kj-band { padding: 44px 0 48px; }
  .kj-band::after { top: 40px; height: 140px; width: 90vw; }
  .kjb-head { position: relative; align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 20px; }
  .kjb-side { position: absolute; top: -3px; right: 0; }   /* 폰: '전체 보기'는 EVENT & NEWS 줄 오른쪽 끝 */
  .kjb-title h2 { font-size: 28px; }
  .kjb-title p { font-size: 13px; }
  .kjb-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
  .kjb-grid::-webkit-scrollbar { display: none; }
  .kjb-grid > li { flex: 0 0 84%; min-width: 0; scroll-snap-align: start; }   /* min-width: 0 → 긴 상품명(한 줄)이 카드 폭을 넓히지 않게. 폭이 같아야 사진 칸 높이도 같다 */
  .kjc-body { padding: 14px 16px 16px; }
}
@media (prefers-reduced-motion: reduce) { .kjc, .kjc-img img { transition: none; } }

/* ===== 메인 발매 예정(시안): 이치방쿠지 남색 물결 아래 복숭아빛 띠, 가운데 카드 크게(주황 테두리 · 빛) · 양옆은 기울어 겹침 · 바닥 반사,
   가운데 카드 아래 제조사 알약 · 이름 · 발매월, 양옆 큰 동그라미 화살표 + 아래 ← 점 → ===== */
.up-band { position: relative; overflow: hidden; isolation: isolate; padding: 92px 0 70px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V30C1210 66 960 70 720 46S230 10 0 38z' fill='%2312152b'/%3E%3C/svg%3E") top / 100% 64px no-repeat,
    radial-gradient(80% 60% at 50% 55%, rgba(255, 255, 255, .7) 0, rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #fbefe6 0, #fdf3ec 50%, #fbe6d6 100%); }
.up-band::before, .up-band::after { content: ""; position: absolute; z-index: -1; bottom: -2px; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }
.up-band::before { left: 0; width: min(560px, 42vw); height: 170px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 170'%3E%3Cdefs%3E%3ClinearGradient id='o' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffd2a8'/%3E%3Cstop offset='1' stop-color='%23ffb26b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 70c40-30 96-26 120 8 30-30 92-26 110 18 30-10 66 6 74 36 40-8 80 14 90 38H0z' fill='url(%23o)' opacity='.75'/%3E%3C/svg%3E"); }
.up-band::after { right: 0; width: min(760px, 58vw); height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 760 200'%3E%3Cdefs%3E%3ClinearGradient id='o' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ffc38a'/%3E%3Cstop offset='1' stop-color='%23f7861f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 200C220 170 470 110 760 40V200z' fill='url(%23o)'/%3E%3C/svg%3E"); }
.up-band > .sec { padding-top: 0; }
.up-band .s-head { align-items: flex-start; margin-bottom: 18px; }
.up-band .s-head .label { margin-bottom: 8px; font-size: 15px; font-weight: 800; letter-spacing: .02em; color: #f07a12; }
.up-band .s-head h2 { position: relative; display: inline-block; color: #1c2140; font-size: clamp(32px, 3.4vw, 48px); }
.up-band .s-head h2 em { font-style: normal; color: #f07a12; }
.up-band .s-head h2::after { content: ""; position: absolute; top: -20px; right: -40px; width: 36px; height: 36px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='none' stroke='%23f7861f' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M5 4v9M13 9l-4 8M25 13l-11 5'/%3E%3C/svg%3E") center / contain no-repeat; }
.up-lead { margin: 10px 0 0; font-size: clamp(14px, 1.1vw, 17px); color: #4a4a55; }
.up-band .pill-link { margin-top: 30px; box-shadow: 0 8px 18px -10px rgba(150, 80, 20, .5); }
/* 카드: 흰 테두리 둥근 사진 칸(연회색 바탕에 사진), 가운데만 주황 테두리 + 빛. 바닥에 반사 */
.up-band .rail.is-cover { --cv-w: 380px; padding-top: 30px; padding-bottom: 8px; }
.up-band .up-card > a { display: block; color: inherit; text-decoration: none; }
.up-ph { position: relative; display: block; aspect-ratio: 1 / 1.04; overflow: hidden; border: 4px solid #fff; border-radius: 24px; background: #eceef2;
  box-shadow: 0 22px 40px -24px rgba(40, 30, 60, .55); transition: border-color .3s, box-shadow .3s;
  -webkit-box-reflect: below 10px linear-gradient(transparent 72%, rgba(255, 255, 255, .22)); }
.up-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }   /* 칸에 꽉 채운다(위아래 · 양옆 빈 띠 없이) */
.up-ph::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #1c2140; opacity: var(--cv-d, 0); pointer-events: none; }   /* 뒤쪽 카드는 살짝 어둡게 */
.up-card.is-center .up-ph { border-color: #ff8a1f; box-shadow: 0 0 0 4px rgba(255, 138, 31, .2), 0 0 30px 2px rgba(255, 138, 31, .35), 0 26px 44px -22px rgba(236, 111, 14, .6); }
.up-new { position: absolute; top: 14px; left: 14px; z-index: 1; height: 26px; padding: 0 11px; border-radius: 999px; background: #e8382e; color: #fff; font-size: 12.5px; font-weight: 900; line-height: 26px; letter-spacing: .03em; }
/* 가운데 카드 아래 글자(옆 카드는 커버 효과가 흐리게 → 안 보이게) */
.up-info { display: block; margin-top: 64px; opacity: var(--cv-t, 1); transition: opacity .2s; }
.up-card:not(.is-center) .up-info { visibility: hidden; }
.up-maker { display: inline-block; height: 26px; padding: 0 12px; border: 1.5px solid #8d8f9c; border-radius: 999px; color: #3a3d50; font-size: 12.5px; font-weight: 700; line-height: 23px; }
.up-name { display: block; margin-top: 10px; overflow: hidden; color: #1c2140; font-size: clamp(20px, 1.8vw, 27px); font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; white-space: nowrap; text-overflow: ellipsis; }
.up-when { display: block; margin-top: 8px; color: #6b6d7a; font-size: clamp(14px, 1.05vw, 16px); }
/* 양옆 큰 동그라미 화살표(가운데 카드 높이) */
.up-band .rail-wrap { position: relative; }
.up-side { position: absolute; top: calc(30px + 380px * 1.04 / 2); z-index: 120; display: grid; place-items: center; width: 60px; height: 60px; padding: 18px; border: 0; border-radius: 50%; background: #fff; color: #f07a12; cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(150, 80, 20, .5); transform: translateY(-50%); transition: background-color .2s, color .2s; }
.up-side svg { width: 100%; height: 100%; }
.up-side.is-prev { left: 0; }
.up-side.is-next { right: 0; }
@media (hover: hover) { .up-side:hover { background: #f7861f; color: #fff; } }
.up-side:focus-visible { outline: 2px solid #f07a12; outline-offset: 3px; }
/* 아래 ← 점 → : 화살표는 그냥 남색 선 */
/* ← 점 → : 위 둘러보기(.browse-band)와 같은 모양 */
.up-band .rail-ctl { margin-top: 16px; gap: 14px; }
.up-band .rail-ctl > button { width: 30px; height: 30px; padding: 8px; background: #fbe3cf; color: #f07a12; }
.up-band .rail-ctl > button:not(:disabled):active { background: #ec6f0e; color: #fff; }
@media (max-width: 767px) { .up-band .rail-ctl > button { width: 28px; height: 28px; padding: 7px; } }
@media (hover: hover) { .up-band .rail-ctl > button:not(:disabled):hover { background: #f7861f; color: #fff; } }
.up-band .rail-dots { gap: 10px; }
.up-band .rail-dots button { width: 12px; height: 12px; background: rgba(120, 110, 100, .28); }
.up-band .rail-dots button.is-on { width: 34px; background: linear-gradient(180deg, #ff9636, #ec6f0e); }
@media (max-width: 1023px) { .up-side { width: 48px; height: 48px; padding: 14px; } }
@media (max-width: 767px) {
  .up-band { padding: 70px 0 56px; }   /* ← 점 → 이 아래 구름 · 비탈 위에 겹치지 않게 */
  /* 구름 · 비탈 그림은 상자에 비율대로 맞춰져, 상자가 좁으면 세로 가운데에 작게 놓여 아래가 공중에서 곧게 끊긴다 → 상자를 그림 비율로 */
  .up-band::before { width: 64vw; height: auto; aspect-ratio: 560 / 170; }
  .up-band::after { width: 82vw; height: auto; aspect-ratio: 760 / 200; }
  .up-band .rail.is-cover { --cv-w: 64vw; }
  .up-side { display: none; }   /* 폰: 밀어서 넘기기 + 아래 ← 점 → */
  .up-band .s-head h2 { font-size: 28px; }
  .up-band .s-head h2::after { top: -12px; right: -26px; width: 22px; height: 22px; }
  .up-band .pill-link { margin-top: 18px; }
  .up-lead { font-size: 13px; }
  .up-info { margin-top: 40px; }
  .up-ph { border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) { .up-ph, .up-info { transition: none; } }
/* 작품 배지 글자: 밝은 이름표 색이면 진한 갈색(inc/site.php work_color_style 이 --wk-ink 를 준다), 아니면 흰색 */
.browse-band .mc .mc-name { color: var(--wk-ink, #fff); }
/* 정사각형 · 세로로 긴 로고(예: 은혼)는 가운데 작은 칸에. 가로로 긴 로고 칸을 그대로 쓰면 높이를 꽉 채워 이름표까지 내려온다 */
.browse-band .mc.is-work.is-tall-logo .mc-logo { top: 8%; bottom: 33%; left: 22%; right: 22%; }

/* ---------- 메인 둘러보기: 제조사 카드(기울어진 흰 판 + 오른쪽 흐린 피규어 + 아래 남색 이름 띠) ---------- */
/* 카드 높이는 작품 카드와 같다(같은 칸 폭 · 같은 비율). 판만 기울이고 로고 · 피규어 · 글자는 반대로 세워 똑바로 보이게 */
.browse-band .mc.is-maker { --mk-skew: -6deg; }
.browse-band .mc.is-maker a { aspect-ratio: 1 / .95; padding: 0; overflow: hidden; isolation: isolate; transform: skewX(var(--mk-skew));
  border: 1.5px solid #fff; border-radius: 14px; background: linear-gradient(160deg, #ffffff 0, #f1f3f8 55%, #e3e7ef 100%);
  box-shadow: 0 0 0 1px rgba(28, 33, 64, .08), 0 14px 26px -18px rgba(20, 24, 50, .55); transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s; }
.browse-band .mc.is-maker .mc-fig { position: absolute; z-index: 0; top: 0; right: -6%; bottom: 0; width: 62%; transform: skewX(calc(-1 * var(--mk-skew)));
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }   /* 왼쪽(로고 쪽)으로 갈수록 사라진다 */
.browse-band .mc.is-maker .mc-fig img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(1) contrast(.95) brightness(1.08); opacity: .55; mix-blend-mode: multiply; }
.browse-band .mc.is-maker .mc-logo { z-index: 1; left: 5%; right: 26%; top: 8%; bottom: 34%; transform: skewX(calc(-1 * var(--mk-skew))); }
.browse-band .mc.is-maker .mc-logo img { mix-blend-mode: multiply; filter: none; }
.browse-band .mc.is-maker .mc-logo b { color: #1c2140; font-size: clamp(17px, 1.5vw, 22px); text-align: left; place-items: center start; }
/* 이름 띠: 남색 판(기울어진 채) + 왼쪽 주황 막대 + 이름 › */
.browse-band .mc.is-maker .mc-name { z-index: 2; left: 6%; right: 6%; bottom: 9%; height: clamp(32px, 2.6vw, 40px); padding: 0 12px 0 22px; justify-content: flex-start; gap: 6px;
  border: 0; border-radius: 4px; background: linear-gradient(90deg, #1c2244 0, #262d55 70%, rgba(38, 45, 85, .82) 100%); box-shadow: 0 6px 14px -8px rgba(15, 18, 40, .7); text-shadow: none; color: #fff; }
.browse-band .mc.is-maker .mc-name::before { content: ""; position: absolute; left: 9px; top: 22%; bottom: 22%; width: 4px; border-radius: 1px; background: #f7861f; }
.browse-band .mc.is-maker .mc-name > span { transform: skewX(calc(-1 * var(--mk-skew))); }
.browse-band .mc.is-maker .mc-logo:not(:has(img)) + .mc-name { display: inline-flex; }
@media (hover: hover) {
  .browse-band .mc.is-maker a:hover { transform: skewX(var(--mk-skew)) translateY(-5px); border-color: #ff8a1f; box-shadow: 0 0 0 3px rgba(255, 138, 31, .25), 0 22px 34px -16px rgba(20, 24, 50, .5); }
  .browse-band .mc.is-maker a:hover .mc-fig img { opacity: .7; }
  .browse-band .mc.is-maker a:hover .mc-name::before { background: #ffa04a; }
}
.browse-band .mc.is-maker a:active { transform: skewX(var(--mk-skew)) translateY(-2px); }
.browse-band .mc.is-maker a:focus-visible { outline: none; border-color: #ff8a1f; box-shadow: 0 0 0 4px rgba(255, 138, 31, .4); }
@media (max-width: 767px) {
  .browse-band .mc.is-maker .mc-name { left: 5%; right: 5%; height: 28px; padding: 0 8px 0 16px; font-size: 12px; }
  .browse-band .mc.is-maker .mc-name::before { left: 6px; width: 3px; }
}
@media (prefers-reduced-motion: reduce) { .browse-band .mc.is-maker a { transition: none; } }

/* ---------- 메인 둘러보기: 시리즈 카드(제조사 카드와 같은 틀: 기울어진 흰 판 + 아래 남색 이름 띠). 피규어는 컬러 그대로 ---------- */
.browse-band .sc { --mk-skew: -6deg; }
.browse-band .sc a { aspect-ratio: 1 / .95; overflow: hidden; isolation: isolate; transform: skewX(var(--mk-skew)); transform-origin: 50% 50%;
  border: 1.5px solid #fff; border-radius: 14px; background: linear-gradient(160deg, #ffffff 0, #f1f3f8 55%, #e3e7ef 100%);
  box-shadow: 0 0 0 1px rgba(28, 33, 64, .08), 0 14px 26px -18px rgba(20, 24, 50, .55); }
.browse-band .sc-stage, .browse-band .sc-figs { transform: skewX(calc(-1 * var(--mk-skew))); }
.browse-band .sc-stage { left: 9%; bottom: 27%; width: 82%; }
.browse-band .sc-figs { inset: 5% 4% 31% 4%; }   /* 발끝이 이름 띠에 가리지 않게 띠 위에서 끝낸다 */
.browse-band .sc-top { left: 6%; right: 6%; bottom: 9%; z-index: 3; display: flex; align-items: center; justify-content: flex-start; gap: 6px; height: clamp(32px, 2.6vw, 40px); padding: 0 12px 0 22px;
  border-radius: 4px; background: linear-gradient(90deg, #1c2244 0, #262d55 70%, rgba(38, 45, 85, .82) 100%); box-shadow: 0 6px 14px -8px rgba(15, 18, 40, .7); }
.browse-band .sc-top::before { content: ""; position: absolute; left: 9px; top: 22%; bottom: 22%; width: 4px; border-radius: 1px; background: #f7861f; }
.browse-band .sc-name { flex: 0 1 auto; min-width: 0; max-width: none; padding: 0; border-radius: 0; background: none; color: #fff; font-size: clamp(12.5px, .95vw, 15px); font-weight: 800; transform: skewX(calc(-1 * var(--mk-skew))); }
@media (hover: hover) {
  .browse-band .sc a:hover { transform: skewX(var(--mk-skew)) translateY(-5px); border-color: #ff8a1f; box-shadow: 0 0 0 3px rgba(255, 138, 31, .25), 0 22px 34px -16px rgba(20, 24, 50, .5); }
  .browse-band .sc a:hover .sc-top::before { background: #ffa04a; }
}
.browse-band .sc a:active { transform: skewX(var(--mk-skew)) translateY(-2px); }
@media (max-width: 767px) {
  .browse-band .sc a { border-radius: 14px; }
  .browse-band .sc-top { left: 5%; right: 5%; height: 28px; padding: 0 8px 0 16px; }
  .browse-band .sc-top::before { left: 6px; width: 3px; }
  .browse-band .sc-name { font-size: 12px; }
}

/* 피규어 · 로고를 똑바로 세운 반대 기울기(transform)가 따로 층을 만들어, 안쪽 사진의 곱하기 합성이 카드 바탕까지 닿지 않고 흰 바탕이 보였다
   → 곱하기를 그 층 자체에 건다. 피규어 뒤 흰 조명 원도 뺀다 */
.browse-band .sc-figs, .browse-band .mc.is-maker .mc-fig, .browse-band .mc.is-maker .mc-logo { mix-blend-mode: multiply; }
.browse-band .sc-stage { display: none; }
/* ---------- 메인 둘러보기: 카드별 바탕색(제조사 · 시리즈) + 작품 카드도 같은 기울어진 판 ---------- */
.browse-band .mc.is-maker:nth-child(6n+1) { --pc: #ffdf9e; }   /* 노랑 */
.browse-band .mc.is-maker:nth-child(6n+2) { --pc: #bfdcff; }   /* 하늘 */
.browse-band .mc.is-maker:nth-child(6n+3) { --pc: #ffc9de; }   /* 분홍 */
.browse-band .mc.is-maker:nth-child(6n+4) { --pc: #c4efce; }   /* 연두 */
.browse-band .mc.is-maker:nth-child(6n+5) { --pc: #d9cbff; }   /* 보라 */
.browse-band .mc.is-maker:nth-child(6n+6) { --pc: #ffd2b3; }   /* 복숭아 */
.browse-band .mc.is-maker a, .browse-band .sc a {
  background: radial-gradient(110% 70% at 30% 0, rgba(255, 255, 255, .85) 0, rgba(255, 255, 255, 0) 60%), linear-gradient(160deg, color-mix(in srgb, var(--pc, #e3e7ef) 35%, #fff) 0, color-mix(in srgb, var(--pc, #e3e7ef) 85%, #fff) 100%); }
/* 작품 카드: 판을 기울이고 배경 그림 · 로고 · 이름 글자는 똑바로 */
.browse-band .mc.is-work { --mk-skew: -6deg; }
.browse-band .mc.is-work a { transform: skewX(var(--mk-skew)); border-width: 1.5px; border-radius: 14px; }
.browse-band .mc.is-work .mc-bg { inset: -6%; transform: skewX(calc(-1 * var(--mk-skew))); }   /* 바로 세우면 모서리가 비므로 조금 크게 */
.browse-band .mc.is-work .mc-logo { transform: skewX(calc(-1 * var(--mk-skew))); }
.browse-band .mc.is-work .mc-name { left: 6%; right: 6%; bottom: 9%; height: clamp(32px, 2.6vw, 40px); border-radius: 4px; }
.browse-band .mc.is-work .mc-name > span, .browse-band .mc.is-work .mc-name .mc-ic { transform: skewX(calc(-1 * var(--mk-skew))); }
@media (hover: hover) {
  .browse-band .mc.is-work a:hover { transform: skewX(var(--mk-skew)) translateY(-5px); }
}
.browse-band .mc.is-work a:active { transform: skewX(var(--mk-skew)) translateY(-2px); }
@media (max-width: 767px) {
  .browse-band .mc.is-work a { border-radius: 14px; }
  .browse-band .mc.is-work .mc-name { left: 5%; right: 5%; height: 28px; }
}

/* ---------- 메인: 인기 피규어(순위) ---------- */
/* 띠: 위는 발매 예정 띠 바닥색에서 이어지고, 바닥 양옆에 주황 구름 */
/* 위: 발매 예정 띠 바닥 위로 70px 겹쳐 올라가 물결로 덮는다(그 띠의 주황 구름 · 비탈이 곧은 줄에서 끊기지 않고 물결 뒤로 들어가게) */
.rk-band { --rk-bg: #fdf6f1; position: relative; overflow: hidden; isolation: isolate; margin-top: -70px; padding: 140px 0 150px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0 30C230 6 470 2 720 22S1210 64 1440 26V72H0z' fill='%23fbe6d6'/%3E%3C/svg%3E") top / 100% 72px no-repeat,
    linear-gradient(180deg, transparent 0, transparent 70px, #fbe6d6 70px, #fdf3ec 160px, var(--rk-bg) 290px, var(--rk-bg) 100%); }
.rk-band::before, .rk-band::after { content: ""; position: absolute; z-index: -1; bottom: -2px; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }
.rk-band::before { left: 0; width: min(620px, 46vw); height: 120px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 620 120' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='o' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffcf9f'/%3E%3Cstop offset='1' stop-color='%23ffad5e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 40c34-26 86-24 110 6 26-26 84-26 106 8 30-14 74-4 88 24 36-10 82 4 100 30 34-6 70 2 92 12H0z' fill='url(%23o)' opacity='.85'/%3E%3C/svg%3E"); }
.rk-band::after { right: 0; width: min(560px, 42vw); height: 140px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 140' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='o' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffc58c'/%3E%3Cstop offset='1' stop-color='%23f99a3e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 140c20-34 66-46 98-28 18-38 72-52 106-26 20-44 86-58 120-22 26-30 80-32 104 2 24-26 70-30 92-6 18-6 32-4 40 0V140z' fill='url(%23o)' opacity='.85'/%3E%3C/svg%3E"); }
.rk-band > .sec { padding-top: 0; }
.rk-band .s-head { align-items: flex-start; margin-bottom: 34px; }
.rk-band .s-head .label { margin-bottom: 8px; font-size: 15px; font-weight: 800; letter-spacing: .02em; color: #f07a12; }
.rk-band .s-head h2 { position: relative; display: inline-block; color: #1c2140; font-size: clamp(32px, 3.4vw, 48px); }
.rk-band .s-head h2::after { content: ""; position: absolute; top: -26px; right: -66px; width: 58px; height: 44px; pointer-events: none; transform: rotate(14deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 50' fill='none' stroke='%23f7861f' stroke-width='3.6' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M8 16l12 12L32 8l12 20 12-12-5 24H13z'/%3E%3Cpath d='M14 46h36'/%3E%3Ccircle cx='8' cy='13' r='3' fill='%23f7861f'/%3E%3Ccircle cx='32' cy='5' r='3' fill='%23f7861f'/%3E%3Ccircle cx='56' cy='13' r='3' fill='%23f7861f'/%3E%3C/svg%3E") center / contain no-repeat; }
.rk-band .s-note { margin-top: 12px; font-size: clamp(14px, 1.1vw, 17px); color: #5a5b66; }
.rk-band .pill-link { margin-top: 30px; box-shadow: 0 8px 18px -10px rgba(150, 80, 20, .5); }

.rk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.rk-side { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.rk-side > li { display: flex; }

/* 카드 공통: 연한 복숭아 바탕 + 대각선 빛줄기, 둥근 모서리 */
.rk-card { position: relative; display: flex; flex-direction: column; width: 100%; border: 1px solid rgba(240, 160, 110, .22); border-radius: 22px; color: inherit; text-decoration: none; isolation: isolate;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .7) 44%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(120deg, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, .55) 66%, rgba(255, 255, 255, 0) 74%),
    linear-gradient(160deg, #fffdfb 0, #fff3ea 50%, #ffe8d6 100%);
  box-shadow: 0 18px 34px -24px rgba(150, 80, 30, .45); transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s, border-color .3s; }
@media (hover: hover) {
  .rk-card:hover { transform: translateY(-5px); border-color: rgba(255, 138, 31, .55); box-shadow: 0 26px 40px -24px rgba(236, 111, 14, .55); }
  .rk-card:hover .rk-ph img { transform: scale(1.04); }
  .rk-card:hover .rk-name { color: #e2690a; }
}
.rk-card:focus-visible { outline: 3px solid #f07a12; outline-offset: 3px; }

/* 사진: 흰 바탕 사진은 카드 바탕에 곱하기로 섞는다. 오린 그림(is-cut)은 그대로, 카드 위로 조금 튀어나오게 */
.rk-ph { position: relative; display: block; flex: 1 1 auto; min-height: 0; aspect-ratio: 1 / .72; margin: 22px 14px 0; }
.rk-ph img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; transition: transform .45s cubic-bezier(.22, 1, .36, 1); transform-origin: 50% 100%; }
.rk-ph.is-cut img { mix-blend-mode: normal; filter: drop-shadow(0 10px 14px rgba(120, 60, 20, .18)); }

/* 글자 */
.rk-tx { position: relative; z-index: 2; display: block; padding: 12px 18px 18px; }
.rk-work { display: block; overflow: hidden; color: #6b6d7a; font-size: 13px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.rk-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; color: #1c2140; font-size: clamp(15px, 1.2vw, 18px); font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; transition: color .2s; }
.rk-when { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: #5a5b66; font-size: 14px; font-variant-numeric: tabular-nums; }
.rk-when svg { flex: none; width: 18px; height: 18px; color: #f7861f; }

/* 순위 탭(2~5위): 띠 바탕색으로 왼쪽 위 모서리를 파낸 모양 + 남색 굵은 숫자 */
.rk-no { position: absolute; top: -1px; left: -1px; z-index: 3; display: grid; place-items: center; width: 70px; height: 60px; border-radius: 22px 0 24px 0; background: var(--rk-bg);
  color: #1c2140; font-size: 38px; font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -0.04em; }
.rk-no::before, .rk-no::after { content: ""; position: absolute; width: 22px; height: 22px; background: radial-gradient(circle at 100% 100%, transparent 21px, var(--rk-bg) 22px); }
.rk-no::before { top: 0; left: 100%; }
.rk-no::after { top: 100%; left: 0; }

/* 1위 큰 카드: 주황 테두리 + 빛, 바닥 구름, 왼쪽 위 주황 탭에 왕관 */
.rk-card.is-big { border: 3px solid #ff8a1f; border-radius: 30px; overflow: hidden; min-height: 560px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 200' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='c' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffd5ac'/%3E%3Cstop offset='1' stop-color='%23ffb870'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 120c30-36 90-40 120-8 24-30 82-34 108 0 18-10 40-8 52 4V200H0z' fill='%23fff1e4'/%3E%3Cpath d='M400 120c20-40 80-52 112-22 22-30 80-30 104 8 14 0 22 4 24 6V200H380c-6-30 0-60 20-80z' fill='url(%23c)'/%3E%3Cpath d='M0 150c40-24 110-22 150 4 40-20 120-16 160 10 30-6 70 0 90 14H0z' fill='%23ffe3c8'/%3E%3C/svg%3E") bottom / 100% 34% no-repeat,
    linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .6) 38%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(120deg, rgba(255, 255, 255, 0) 56%, rgba(255, 255, 255, .45) 63%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(160deg, #fffaf4 0, #fff0e2 45%, #ffe2c6 100%);
  box-shadow: 0 0 0 5px rgba(255, 138, 31, .14), 0 26px 46px -26px rgba(236, 111, 14, .6); }
.rk-card.is-big .rk-ph { aspect-ratio: auto; margin: 26px 26px 0; }
.rk-card.is-big .rk-tx { padding: 0 30px 28px; }
.rk-card.is-big .rk-work { font-size: clamp(14px, 1.1vw, 17px); }
.rk-card.is-big .rk-name { margin-top: 6px; font-size: clamp(22px, 2.2vw, 32px); }
.rk-card.is-big .rk-when { margin-top: 12px; font-size: clamp(14px, 1.15vw, 17px); }
.rk-card.is-big .rk-when svg { width: 21px; height: 21px; }
.rk-card.is-big .rk-no { top: 0; left: 0; width: 130px; height: 96px; border-radius: 0 0 46px 0; background: linear-gradient(140deg, #ffa043 0, #f07a12 100%); }
.rk-card.is-big .rk-no::before, .rk-card.is-big .rk-no::after { width: 30px; height: 30px; background: radial-gradient(circle at 100% 100%, transparent 29px, #f58a2a 30px); }
.rk-card.is-big .rk-no svg { width: 70px; height: auto; margin: -4px 6px 0 0; filter: drop-shadow(0 3px 4px rgba(150, 60, 0, .3)); }

@media (max-width: 1023px) {
  .rk-grid { grid-template-columns: 1fr; gap: 32px; }
  .rk-card.is-big { min-height: 0; }
  .rk-card.is-big .rk-ph { aspect-ratio: 1 / .78; flex: none; }
}
@media (max-width: 767px) {
  .rk-band { margin-top: -44px; padding: 52px 0 110px; background-size: 100% 46px, auto; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0 30C230 6 470 2 720 22S1210 64 1440 26V72H0z' fill='%23fbe6d6'/%3E%3C/svg%3E"), linear-gradient(180deg, transparent 0, transparent 44px, #fbe6d6 44px, #fdf3ec 130px, var(--rk-bg) 250px, var(--rk-bg) 100%); }
  .rk-band::before { height: 80px; width: 60vw; }
  .rk-band::after { height: 90px; width: 56vw; }
  .rk-band .s-head h2 { font-size: 28px; }
  .rk-band .s-head h2::after { top: -16px; right: -42px; width: 36px; height: 28px; }
  .rk-band .pill-link { margin-top: 18px; }
  .rk-band .s-note { font-size: 13px; }
  .rk-side { gap: 24px 12px; }
  .rk-card { border-radius: 18px; }
  .rk-ph { margin: 10px 10px 0; }
  .rk-tx { padding: 8px 12px 14px; }
  .rk-work { font-size: 11.5px; }
  .rk-name { font-size: 14px; }
  .rk-when { margin-top: 6px; font-size: 12px; gap: 4px; }
  .rk-when svg { width: 15px; height: 15px; }
  .rk-no { width: 48px; height: 42px; border-radius: 18px 0 18px 0; font-size: 26px; }
  .rk-no::before, .rk-no::after { width: 16px; height: 16px; background: radial-gradient(circle at 100% 100%, transparent 15px, var(--rk-bg) 16px); }
  .rk-card.is-big { border-radius: 24px; }
  .rk-card.is-big .rk-ph { margin: 18px 16px 0; }
  .rk-card.is-big .rk-tx { padding: 0 20px 22px; }
  .rk-card.is-big .rk-no { width: 92px; height: 70px; border-radius: 0 0 34px 0; }
  .rk-card.is-big .rk-no::before, .rk-card.is-big .rk-no::after { width: 22px; height: 22px; background: radial-gradient(circle at 100% 100%, transparent 21px, #f58a2a 22px); }
  .rk-card.is-big .rk-no svg { width: 50px; }
}
@media (prefers-reduced-motion: reduce) { .rk-card, .rk-ph img { transition: none; } }

/* ---------- 상단 메뉴바(다시 디자인): 흰 → 복숭아 판, 모서리는 조금만 둥글게. 지금 메뉴는 흰 판 + 주황 글자 + 아래 주황 점 ---------- */
.hd { background: linear-gradient(180deg, #fffdfb 0, #fff3e8 100%); box-shadow: 0 1px 0 rgba(240, 150, 90, .18), 0 10px 24px -20px rgba(230, 110, 20, .5); }
.hd-admin { height: 36px; padding: 0 14px; border-radius: 10px; font-size: 13.5px; }
.hd-fav b { top: -2px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--orange); box-shadow: 0 0 0 2px #fff; font-size: 10.5px; font-weight: 800; }
@media (min-width: 1024px) {
  /* 바탕은 화면 양끝까지 꽉 차게(흰 → 복숭아), 메뉴 내용은 가운데 폭 그대로 */
  .hd { background: linear-gradient(180deg, rgba(255, 255, 255, .96) 0, rgba(255, 243, 232, .96) 100%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(240, 150, 90, .22), 0 14px 30px -22px rgba(230, 110, 20, .55); }
  .hd-row { position: relative; }
  /* 화면 양쪽 끝 아래에 옅은 주황 물결 */
  .hd::before, .hd::after { content: ""; position: absolute; bottom: 0; z-index: -1; width: min(220px, 16vw); height: 34px; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; opacity: .55; }
  .hd::before { left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 30' preserveAspectRatio='none'%3E%3Cpath d='M0 6c26 4 44 14 70 18 26 4 54 2 80 6H0z' fill='%23ffb470'/%3E%3C/svg%3E"); }
  .hd::after { right: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 30' preserveAspectRatio='none'%3E%3Cpath d='M150 4c-22 6-38 16-64 20-28 4-58 2-86 6h150z' fill='%23ffb470'/%3E%3C/svg%3E"); }
  .logo img { height: 46px; }
  .gnb { gap: 2px; }
  .gnb a { z-index: 1; padding: 0 20px; color: #1c2140; font-size: 16px; font-weight: 800; }
  .gnb a[aria-current="page"] { color: #f07a12; }
  /* 메뉴 사이 옅은 빗금 */
  .gnb a + a::before { content: "/"; position: absolute; left: -3px; top: 50%; transform: translateY(-50%); color: rgba(28, 33, 64, .18); font-weight: 400; pointer-events: none; }
  /* 마우스를 따라가는 판(.gnb-hov, site.js): 지금 메뉴에서는 흰 판 + 주황 점, 다른 메뉴 위에서는 옅은 판 */
  .gnb-hov { top: 50%; bottom: auto; z-index: 0; height: 40px; margin-top: -20px; border-radius: 12px; background: rgba(255, 138, 31, .09); }
  .gnb-hov.is-home { background: linear-gradient(180deg, #fff 0, #fff2e4 100%); box-shadow: inset 0 0 0 1px rgba(255, 160, 90, .35), 0 6px 14px -8px rgba(230, 110, 20, .55); }
  .gnb-hov.is-home::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 2px #fff; }
  /* 검색: 흰 칸 */
  .hd-search { width: 280px; }
  .hd-tools .hd-search { margin-right: 4px; }
  .hd-search input { height: 40px; padding: 0 42px 0 16px; border: 0; border-radius: 12px; background: #fff; font-size: 14px;
    box-shadow: 0 0 0 1px rgba(240, 150, 90, .25), 0 6px 14px -10px rgba(150, 80, 20, .4); transition: box-shadow .2s; }
  .hd-search input:focus-visible { border: 0; box-shadow: 0 0 0 2px var(--orange), 0 6px 14px -10px rgba(150, 80, 20, .4); }
  .hd-search > button { right: 12px; top: 9px; }
  .hd-fav { width: 40px; height: 40px; padding: 7px; }
  .hd-admin { height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14px; }
  .hd-login { height: 40px; padding: 0 16px; border-radius: 12px; background: #fff; font-size: 14px; }
  .hd-me { width: 40px; height: 40px; box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(255, 138, 31, .5); }
  @media (hover: hover) { .hd-me:hover { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--orange); } }
}
@media (min-width: 1024px) and (max-width: 1279px) { .gnb a { padding: 0 13px; } .hd-search { width: 190px; } }

/* ---------- 피규어 페이지(figurine.php): 화면 가로 끝까지 배너 + 제목 줄 + 흰 카드 ---------- */
.pg-banner { position: relative; overflow: hidden; isolation: isolate; width: 100%; aspect-ratio: 3 / 1; min-height: 260px; max-height: 460px; background: #12192b; }
/* 피규어 배너(그림 3840×920: 왼쪽 빈 남색 · 가운데~오른쪽 인물): 쿠지 배너와 같이 그림을 확대하지 않고 높이에 맞춰 가운데에.
   좁은 화면은 좌우가 똑같이 잘리고, 넓은 화면은 좌우 끝이 바탕 남색으로 녹아들며 양옆에 주황 사선 · 빛 장식(아래 ::after) */
.pg-banner:not(.is-kuji) { background-color: rgb(14, 30, 50); }
@media (min-width: 768px) {
  .pg-banner:not(.is-kuji) > img { left: 50%; right: auto; width: auto; max-width: none; transform: translateX(-50%); object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
  .pg-banner:not(.is-kuji)::after { content: ""; position: absolute; inset: 0; z-index: -3; pointer-events: none;
    background:
      linear-gradient(118deg, transparent 0 7%, rgba(247, 134, 31, .5) 7.4% 9.2%, transparent 9.6% 12%, rgba(255, 170, 80, .3) 12.3% 12.9%, transparent 13.2%),
      linear-gradient(118deg, transparent 0 86.5%, rgba(255, 170, 80, .3) 86.8% 87.4%, transparent 87.7% 89.6%, rgba(247, 134, 31, .5) 90% 92%, transparent 92.4%),
      radial-gradient(36% 90% at 0 100%, rgba(247, 134, 31, .22), transparent 70%),
      radial-gradient(36% 90% at 100% 0, rgba(247, 134, 31, .2), transparent 70%);
    -webkit-mask-image: linear-gradient(90deg, #000 0, rgba(0, 0, 0, .5) 14%, transparent 24%, transparent 76%, rgba(0, 0, 0, .5) 86%, #000 100%);
            mask-image: linear-gradient(90deg, #000 0, rgba(0, 0, 0, .5) 14%, transparent 24%, transparent 76%, rgba(0, 0, 0, .5) 86%, #000 100%);
    opacity: .8; }
}
.pg-banner > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.pg-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 20, 36, .75) 0, rgba(14, 20, 36, .35) 32%, rgba(14, 20, 36, 0) 50%); }   /* 제목 자리만 조금 더 어둡게 */
.pg-banner-in { box-sizing: border-box; display: flex; align-items: center; max-width: 1440px; height: 100%; margin: 0 auto; padding: 0 44px; }
.pg-banner-txt { max-width: 46%; color: #fff; }
.pg-banner-tag { display: block; font-size: clamp(18px, 1.7vw, 26px); font-weight: 900; line-height: 1; letter-spacing: -0.01em; color: #ff8a1f; }
.pg-banner-name { margin: 10px 0 22px; font-size: clamp(52px, 6.4vw, 100px); font-weight: 900; line-height: 1; letter-spacing: -0.03em; color: #fff; }
.pg-banner-lead { margin: 0; padding-left: clamp(14px, 1.3vw, 20px); border-left: 4px solid #f7861f; font-size: clamp(16px, 1.6vw, 24px); font-weight: 500; line-height: 1.55; color: #fff; word-break: keep-all; }   /* 왼쪽 주황 막대 */
.pg-banner + .pg { padding-top: 22px; }
.pg-banner + .pg .crumbs { margin-bottom: 26px; }
@media (max-width: 1023px) { .pg-banner-in { padding: 0 28px; } .pg-banner-txt { max-width: 60%; } }
@media (max-width: 767px) {
  .pg-banner { aspect-ratio: auto; height: 300px; min-height: 0; }
  .pg-banner > img, .pg-banner:not(.is-kuji) > img { left: 0; width: 100%; min-width: 0; object-position: 64% center; -webkit-mask-image: none; mask-image: none; }   /* 폰: 꽉 채우고 오른쪽에 모인 인물이 보이게 */
  .pg-banner::before { background: linear-gradient(90deg, rgba(14, 20, 36, .92) 0, rgba(14, 20, 36, .72) 50%, rgba(14, 20, 36, .15) 100%); }
  .pg-banner-in { padding: 0 20px; }
  .pg-banner-txt { max-width: 100%; }
  .pg-banner-tag { font-size: 17px; }
  .pg-banner-name { font-size: 52px; margin: 8px 0 14px; }
  .pg-banner-lead { font-size: 15px; padding-left: 12px; border-left-width: 3px; }
}
/* 제목 줄: 왼쪽 제목 + 총 개수, 오른쪽 탭 · 거르기 · 찾기 */
.is-fig .mf { gap: 10px 12px; margin-bottom: 28px; }
.is-fig .fig-h { display: flex; align-items: baseline; gap: 14px; margin-right: auto; }
.is-fig .fig-h h1 { margin: 0; font-size: clamp(24px, 2.2vw, 32px); font-weight: 900; letter-spacing: -0.025em; color: #1c2140; }
.is-fig .fig-h .lp-count { margin: 0; font-size: 15px; }
.is-fig .mf-tabs { border-radius: 10px; padding: 0; gap: 0; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 22, 42, .12); overflow: hidden; }
.is-fig .mf-thumb { top: 0; bottom: 0; border-radius: 9px; }
.is-fig .mf-tabs button { height: 42px; padding: 0 22px; border-radius: 0; font-weight: 700; }
.is-fig .mf select, .is-fig .mf .sel > button { height: 42px; border-radius: 10px; background-color: #fff; }
.is-fig .mf-q { height: 42px; border-radius: 10px; }
/* 폰: PC용으로 키운 탭 · 선택 칸을 원래 폰 배치(연·월 버튼 | 탭 한 줄)로 되돌리고 촘촘하게.
   1줄 연·월 | 전체·발매·예약, 2줄 작품 · 제조사 · 시리즈 세 칸, 3줄 이름 찾기, 4줄 총 N개. 칸 높이 모두 36px */
@media (max-width: 767px) {
  .is-fig .mf { gap: 8px; margin-bottom: 20px; }
  .is-fig .fig-h { order: 4; flex: 0 0 100%; margin: 2px 0 0; padding-left: 4px; }
  .is-fig .fig-h .lp-count { font-size: 13.5px; }
  .is-fig .mf-tabs { padding: 3px; gap: 2px; border-radius: 12px; overflow: visible; box-shadow: inset 0 0 0 1px var(--line); }
  .is-fig .mf-thumb { top: 3px; bottom: 3px; border-radius: 9px; }
  .is-fig .mf-tabs button { height: 30px; padding: 0; border-radius: 9px; box-shadow: none; font-size: 14px; }
  .is-fig .mf:has(.mf-tabs) .sel, .is-fig .mf > select { flex: 1 1 0; min-width: 0; }
  .is-fig .mf select, .is-fig .mf .sel > button, .is-fig .mf .sel-btn { height: 36px; border-radius: 10px; font-size: 13px; }
  .is-fig .mf .sel-btn { padding: 0 8px 0 10px; gap: 2px; }
  .is-fig .mf-q { height: 36px; border-radius: 10px; }
}
/* 카드: 흰 판 + 위 사진(1:1), 아래 작품 · 이름 · 날짜(달력 아이콘) | 분류, 찜은 이름 오른쪽 */
.is-fig .grid4 { gap: 26px 20px; }
.is-fig .grid4 > .card { container-type: inline-size; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 1px 3px rgba(20, 22, 42, .06), 0 14px 28px -20px rgba(20, 22, 42, .4); transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s; }
.is-fig .card > a { display: block; padding-bottom: 12px; color: inherit; }
.is-fig .card .ph { aspect-ratio: 1; border-radius: 0; }   /* 상품 사진은 거의 정사각형: 잘리지 않고 다 보이게 */
.is-fig .card .ph img { object-fit: cover; }
.is-fig .card .ph-tags { top: 12px; left: 12px; }
.is-fig .card .tl { display: block; margin-top: 0; padding: 13px 18px 0; }   /* 상품명은 카드 폭 끝까지(컬렉션 · 찜 버튼은 사진 오른쪽 아래) */   /* 상품명은 카드 폭 끝까지(컬렉션 · 찜 버튼은 오른쪽 아래) */
.is-fig .card .nm { font-size: 16.5px; font-weight: 800; line-height: 1.3; letter-spacing: -0.015em; }
.is-fig .card .nm-series { margin-bottom: 1px; }
.is-fig .card .sub { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 0 18px; font-size: 14px; color: var(--ink-2); }
.is-fig .card .sub::before { content: ""; flex-shrink: 0; width: 17px; height: 17px; margin-right: -2px; background: #f7861f;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M3.5 10h17M8 3v4m8-4v4' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M3.5 10h17M8 3v4m8-4v4' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.is-fig .card .sub > i { width: 1px; height: 13px; background: var(--line); }
.is-fig .card .pr { padding: 0 18px; margin-top: 3px; }
.is-fig .card .fav { top: calc(100cqw - 48px); bottom: auto; right: 14px; width: 38px; height: 38px; border: 1px solid rgba(20, 22, 42, .12); background: #fff; opacity: 1; }
.is-fig .card .own-mini { top: calc(100cqw - 48px); bottom: auto; right: 60px; width: 38px; height: 38px; border: 1px solid rgba(20, 22, 42, .12); background: #fff; box-shadow: none; opacity: 1; }   /* 찜 하트 왼쪽에 나란히 */
.is-fig .card .own-mini[aria-pressed="false"] { opacity: 1; }
@media (hover: hover) {
  .is-fig .grid4 > .card:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--wk, var(--orange)), 0 22px 34px -20px rgba(20, 22, 42, .45); }
  .is-fig .card:hover .ph { transform: none; box-shadow: none; }
  .is-fig .card:hover .fav, .is-fig .card:hover .own-mini { transform: none; }
}
@media (max-width: 767px) {
  .is-fig .grid4 { gap: 14px 10px; }
  .is-fig .card > a { padding-bottom: 9px; }
  .is-fig .card .ph-tags { top: 8px; left: 8px; }
  .is-fig .card .tl { padding: 9px 12px 0; }
  .is-fig .card .nm { font-size: 14px; }
  .is-fig .card .sub { gap: 6px; margin-top: 4px; padding: 0 12px; font-size: 11.5px; }
  .is-fig .card .sub::before { width: 13px; height: 13px; }
  .is-fig .card .pr { padding: 0 12px; }
  .is-fig .card .fav { top: calc(100cqw - 38px); bottom: auto; right: 8px; width: 30px; height: 30px; padding: 6px; }
  .is-fig .card .own-mini { top: calc(100cqw - 38px); bottom: auto; right: 42px; width: 30px; height: 30px; padding: 6px; }
}
@media (prefers-reduced-motion: reduce) { .is-fig .grid4 > .card { transition: none; } }
/* 목록 바탕(홈 · 관리자 말고 모든 페이지 main.has-bg, 피규어 페이지는 배너 아래 .fig-bg): 위는 주황 곡선 그림, 아래 끝은 주황 구름 그림. 사이는 같은 바탕색으로 이어진다(목록 길이와 상관없이) */
.fig-bg, main.has-bg { background: url("img/figurine-bg-bottom.webp") center bottom / 100% auto no-repeat, url("img/figurine-bg-top.webp") center top / 100% auto no-repeat, #fcf2ee; padding-bottom: clamp(90px, 9vw, 170px); }
body:has(.fig-bg) .ft, body:has(main.has-bg) .ft { margin-top: 0; }   /* 바탕이 바닥글까지 이어지게 */

/* 이치방쿠지 위 배너(kuji.php, 그림 3840×920): 왼쪽 빈 남색 · 가운데~오른쪽 인물. 덮개 없이 피규어 배너처럼 왼쪽 문구 + 一番くじ 로고.
   PC: 그림을 확대하지 않고 높이에 맞춰 가운데에(좁은 화면은 좌우가 똑같이 잘림, 넓은 화면은 좌우를 같은 남색으로 잇는다). 폰: 꽉 채우고 인물 쪽 */
.pg-banner.is-kuji { background-color: rgb(10, 17, 30); }
.pg-banner.is-kuji::before { content: none; }
@media (min-width: 768px) {
  .pg-banner.is-kuji > img { left: 50%; right: auto; width: auto; max-width: none; transform: translateX(-50%); object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }   /* 넓은 화면: 그림 좌우 끝이 바탕 남색으로 녹아든다 */
}
@media (max-width: 767px) {
  .pg-banner.is-kuji > img { object-position: 72% center; }
  .pg-banner.is-kuji::before { content: ""; background: linear-gradient(90deg, rgba(10, 17, 30, .55) 0, rgba(10, 17, 30, 0) 60%); }
  .pg-banner.is-kuji .pg-banner-txt { text-shadow: 0 2px 10px rgba(0, 0, 0, .6), 0 0 2px rgba(0, 0, 0, .45); }   /* 폰: 글자가 인물 위에 놓여 그림자로 읽히게 */
}

/* ---------- 연·월 선택 줄(피규어 · 가챠 · 작품 .ym / 이치방쿠지 .kym): 흰 판 + 주황 해 칸 + 칸 사이 가는 세로줄,
   고른 달은 칠하지 않고 주황 글자 + 아래 주황 괄호선과 점. 둥근 정도는 줄여 알약처럼 보이지 않게 ---------- */
@media (min-width: 768px) { .ym, .kym { gap: 10px; padding: 8px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(20, 22, 42, .05), 0 10px 26px -18px rgba(20, 22, 42, .35); } }   /* 폰은 버튼 하나(.ym-mob)라 판 없이 */
.ym-y, .kym-y { height: 50px; padding: 0 6px; border-radius: 10px; background: linear-gradient(180deg, #ff9a3d 0, #f07a12 100%); color: #fff; box-shadow: 0 6px 14px -8px rgba(240, 122, 18, .8); }
.ym-yl, .kym-yl { border-radius: 8px; }
.ym-yl b, .kym-yl b { font-size: 24px; font-weight: 900; }
.ym-step, .kym-step { border-radius: 8px; color: rgba(255, 255, 255, .9); }
.ym-m, .kym-m { gap: 0; margin-left: 4px; padding-left: 10px; box-shadow: inset 1px 0 0 rgba(20, 22, 42, .12); }   /* 해 칸과 달 칸 사이 세로줄 */
.ym-m > a, .ym-m > span, .kym-m > a, .kym-m > span { height: 50px; border-radius: 8px; }
.ym-m > * + *, .kym-m > * + * { background-image: linear-gradient(rgba(20, 22, 42, .1), rgba(20, 22, 42, .1)); background-position: left center; background-size: 1px 30%; background-repeat: no-repeat; }   /* 칸 사이 가는 세로줄 */
.ym-ink, .kym-ink { display: none; }
.ym-hov, .kym-hov { border-radius: 8px; }
.ym-m a[aria-current="page"], .kym-m a[aria-current="page"], .ym-m .ym-all[aria-current="page"], .kym-m .kym-all[aria-current="page"] { background-color: transparent; box-shadow: none; }
.ym-m a[aria-current="page"] b, .ym-m a[aria-current="page"] b small, .kym-m a[aria-current="page"] b, .kym-m a[aria-current="page"] b small { color: #f07a12; }
.ym-m a[aria-current="page"].is-now b::after, .kym-m a[aria-current="page"].is-now b::after { display: none; }   /* 고른 달은 아래 괄호선 점으로 충분 */
.ym-m > a[aria-current="page"]:not(:first-child), .kym-m > a[aria-current="page"]:not(:first-child) { background: linear-gradient(rgba(20, 22, 42, .1), rgba(20, 22, 42, .1)) left center / 1px 30% no-repeat; }   /* 고른 칸도 세로줄은 남긴다 */
/* 고른 칸 아래 주황 괄호선 */
.ym-m a[aria-current="page"]::after, .kym-m a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 54px; height: 10px; margin-left: -27px; pointer-events: none;   /* 괄호선만(점 없음) */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 9'%3E%3Cpath d='M1 1.5c0 2.5 2 3.5 5 3.5h12c2.5 0 4 .8 5 3 1-2.2 2.5-3 5-3h12c3 0 5-1 5-3.5' fill='none' stroke='%23f07a12' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.ym-m .ym-all b, .kym-m .kym-all b { color: var(--ink); }
.ym-m .ym-all[aria-current="page"] b, .kym-m .kym-all[aria-current="page"] b { color: #f07a12; }
/* 위 새 연·월 줄과 겹치던 PC 전용 '홈 선'(site.js 가 그리는 .ym-notch: 달 칸 아래 가로선 + 고른 달 아래 파임)은 끄고, 칸 높이도 다시 한 줄(50px)로 */
@media (min-width: 1024px) {
  .ym-notch { display: none; }
  .ym-y, .kym-y { height: 50px; align-self: center; }
  .ym-m > a, .ym-m > span, .kym-m > a, .kym-m > span, .ym-m .ym-all, .kym-m .kym-all { height: 50px; padding-bottom: 0; }
}
.ym-m a[aria-current="page"] b, .kym-m a[aria-current="page"] b { transform: translateY(-2px); }   /* 아래 괄호선과 글자 사이를 띄운다 */
@media (max-width: 767px) { .crumbs:has(~ .ym), .crumbs:has(~ .kym) { margin-bottom: 14px; } }   /* 폰: 위치 표시와 연·월 줄 사이를 좁게 */
/* 이치방쿠지 배너 양옆(넓은 화면에서 그림 밖으로 남는 자리) 장식: 먹 질감 · 금색 구름 · 물결무늬 그림(kuji-side-l, 오른쪽은 좌우를 뒤집은 kuji-side-r).
   그림 뒤(z-index -3)에 깔고 안쪽 끝은 배너 그림 쪽으로 녹아든다 */
@media (min-width: 768px) {
  .pg-banner.is-kuji::after { content: ""; position: absolute; inset: 0; z-index: -3; pointer-events: none;
    background: url("img/kuji-side-l.webp") left bottom / auto 125% no-repeat, url("img/kuji-side-r.webp") right bottom / auto 125% no-repeat;   /* 125%: 아래 물결무늬 자리를 넓게 */
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 280px, transparent 460px, transparent calc(100% - 460px), #000 calc(100% - 280px), #000 100%);
            mask-image: linear-gradient(90deg, #000 0, #000 280px, transparent 460px, transparent calc(100% - 460px), #000 calc(100% - 280px), #000 100%); }
}
/* 쿠지 배너도 꽉 차게(.is-full): 위의 가운데 맞춤 · 양옆 흐림 · 먹 질감 장식을 끈다 */
@media (min-width: 768px) {
  .pg-banner.is-kuji.is-full > img { left: 0; right: 0; width: 100%; max-width: none; transform: none; object-fit: cover; object-position: center; -webkit-mask-image: none; mask-image: none; }
  .pg-banner.is-kuji.is-full::after { content: none; }
}
/* 가챠 위 배너(gacha.php, 그림 2172×724): 피규어 배너 규칙(.pg-banner:not(.is-kuji): 가운데 · 좌우 녹임 · 주황 사선 장식)을 그대로 쓰고 바탕색만 그림 남색에 맞춘다 */
.pg-banner.is-gacha { background-color: rgb(12, 26, 62); }
@media (max-width: 767px) { .pg-banner.is-gacha > img { object-position: 64% center; } }
/* 목록 위 배너(작품 · 시리즈 …, inc/site.php list_banner, 그림 2172×724): 글자는 가챠 · 피규어 배너와 같은 규칙(.pg-banner-tag · -name · -lead). 여기는 그림 바탕색 · 어둡게 · 그림 위치만 */
.pg-banner.is-wb { --wb: 15, 40, 91; --wb-d: 12, 30, 70; background-color: rgb(var(--wb)); }   /* --wb: 그림 바탕색, --wb-d: 왼쪽 어둡게 하는 색 */
.pg-banner.is-works { --wb: 47, 14, 91; --wb-d: 34, 10, 68; }   /* 작품: 보라 바탕(시리즈 남색과 구분) */
.pg-banner.is-wb::before { background: linear-gradient(90deg, rgba(var(--wb-d), .7) 0, rgba(var(--wb-d), .3) 34%, rgba(var(--wb-d), 0) 52%); }
.pg-banner.is-wb::before { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 66%, transparent 84%); mask-image: linear-gradient(180deg, #000 0, #000 66%, transparent 84%); }   /* 글자 쪽 어둡게는 위쪽만: 아래 크림색 물결이 회색으로 바래지 않게 */
.pg-banner.is-wb .pg-banner-txt { text-shadow: 0 2px 12px rgba(5, 15, 40, .45); }   /* 글자가 인물 위에 걸쳐도 읽히게 */
@media (max-width: 767px) {
  .pg-banner.is-wb > img { object-position: 62% center; }
  .pg-banner.is-wb::before { background: linear-gradient(90deg, rgba(var(--wb-d), .9) 0, rgba(var(--wb-d), .65) 55%, rgba(var(--wb-d), .1) 100%); }
}

/* 목록 배너 양옆(넓은 화면에서 그림 밖으로 보이는 곳): 피규어 배너의 주황 사선 대신 그림과 같은 재료로 이어 붙인다
   — 위 모서리 주황 점무늬 · 주황 별 · 아래 크림색 물결 + 주황 선(그림 아래 물결이 양옆으로 이어지게) */
@media (min-width: 768px) {
  .pg-banner.is-wb::after { opacity: 1; -webkit-mask-image: none; mask-image: none;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.9 8.2 15.8 11.1 24 12 15.8 12.9 12.9 15.8 12 24 11.1 15.8 8.2 12.9 0 12 8.2 11.1 11.1 8.2 12 0Z' fill='%23ffa53a'/%3E%3C/svg%3E") left 7% top 26% / 30px 30px no-repeat,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.9 8.2 15.8 11.1 24 12 15.8 12.9 12.9 15.8 12 24 11.1 15.8 8.2 12.9 0 12 8.2 11.1 11.1 8.2 12 0Z' fill='%23ffa53a'/%3E%3C/svg%3E") left 13% top 52% / 18px 18px no-repeat,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.9 8.2 15.8 11.1 24 12 15.8 12.9 12.9 15.8 12 24 11.1 15.8 8.2 12.9 0 12 8.2 11.1 11.1 8.2 12 0Z' fill='%23ffa53a'/%3E%3C/svg%3E") right 8% top 22% / 26px 26px no-repeat,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.9 8.2 15.8 11.1 24 12 15.8 12.9 12.9 15.8 12 24 11.1 15.8 8.2 12.9 0 12 8.2 11.1 11.1 8.2 12 0Z' fill='%23ffa53a'/%3E%3C/svg%3E") right 14% top 48% / 16px 16px no-repeat,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 170'%3E%3Cdefs%3E%3Cpattern id='p' width='11' height='11' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='5.5' cy='5.5' r='2.3' fill='%23ff9a2e'/%3E%3C/pattern%3E%3CradialGradient id='g' cx='.3' cy='.3' r='.75'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.55' stop-color='%23fff' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cmask id='m'%3E%3Crect width='240' height='170' fill='url(%23g)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='240' height='170' fill='url(%23p)' mask='url(%23m)'/%3E%3C/svg%3E") left top / 240px 170px no-repeat,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 170'%3E%3Cdefs%3E%3Cpattern id='p' width='11' height='11' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='5.5' cy='5.5' r='2.3' fill='%23ff9a2e'/%3E%3C/pattern%3E%3CradialGradient id='g' cx='.7' cy='.3' r='.75'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.55' stop-color='%23fff' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cmask id='m'%3E%3Crect width='240' height='170' fill='url(%23g)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='240' height='170' fill='url(%23p)' mask='url(%23m)'/%3E%3C/svg%3E") right top / 240px 170px no-repeat,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 34C240 14 480 54 720 30S1200 10 1440 34V100H0Z' fill='%23fcf2ee'/%3E%3Cpath d='M0 34C240 14 480 54 720 30S1200 10 1440 34' fill='none' stroke='%23f7931e' stroke-width='5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center bottom / 100% 20% no-repeat; }
}

/* ---------- 가챠 목록(gacha.php .gc-page): 둥근 알약 첫 글자 버튼 · 둥근 시리즈 선택 · 찾기, 흰 카드(사진 + 연주황 시리즈 칩 + 굵은 이름 + 주황 가격 + 오른쪽 아래 주황 곡선) ---------- */
.gc-page .sel-btn, .gc-page .ix-work { height: 42px; border-radius: 12px; background: #fff; font-weight: 700; }   /* 자음 버튼 · 찾기 칸과 같은 높이 · 곡선 */
.gc-page .ix-bar { margin-bottom: 32px; }
.ixlist.gc-list { gap: 26px 22px; }
.ixlist.gc-list > li { position: relative; overflow: hidden; isolation: isolate; border-radius: 20px; background: #fff; box-shadow: 0 2px 6px rgba(20, 22, 42, .05), 0 16px 30px -22px rgba(20, 22, 42, .45); transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s; }
.ixlist.gc-list > li > a { display: block; padding-bottom: 20px; color: inherit; text-decoration: none; }
.ixlist.gc-list .ix-img { aspect-ratio: 21 / 25; border-radius: 0; background: #fff; }   /* 사진 파일은 정사각형 도화지 가운데에 세로 포스터: 포스터 비율로 잘라 좌우 흰 여백 없이 딱 맞게 */
.ixlist.gc-list .ix-img img { mix-blend-mode: normal; }
.ixlist.gc-list .ix-series { display: inline-block; max-width: calc(100% - 36px); margin: 14px 18px 0; padding: 3px 10px; border-radius: 7px; background: #fff1e3; color: #ea730d; font-size: 13px; font-weight: 800; letter-spacing: 0; vertical-align: top; }
.ixlist.gc-list .ix-name { display: -webkit-box; margin: 9px 18px 0; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 17px; font-weight: 800; line-height: 1.35; letter-spacing: -0.02em; color: #1c2140; }
.ixlist.gc-list > li > a { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; }   /* 가격 줄은 카드 맨 아래: 제목 줄 수가 달라도 같은 줄 카드의 가격 위치가 맞고, 제목 바로 밑은 빈칸 없이 붙는다 */
.ixlist.gc-list .ix-series { align-self: flex-start; }
.ixlist.gc-list .ix-series + .ix-name { margin-top: 8px; }
.ixlist.gc-list .ix-sub { position: relative; z-index: 1; display: block; margin: auto 18px 0; padding-top: 8px; overflow: visible; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.ixlist.gc-list .ix-sub b { font-size: 21px; font-weight: 900; letter-spacing: -0.02em; color: #f07a12; }
/* 오른쪽 아래 주황 곡선 + 가챠 손잡이(파란 테 · 노란 테 · 흰 판 위 막대 손잡이 · 왼쪽 빨간 화살표) */
.ixlist.gc-list > li::after { content: ""; position: absolute; right: 0; bottom: 0; z-index: 0; width: 96px; height: 72px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 72'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ffb36b'/%3E%3Cstop offset='1' stop-color='%23f07a12'/%3E%3C/linearGradient%3E%3CradialGradient id='w' cx='.42' cy='.38' r='.7'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23e6e3dc'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M96 14C86 40 60 62 22 72h74z' fill='url(%23g)'/%3E%3Ccircle cx='44' cy='33.5' r='20' fill='%231c2140' opacity='.14'/%3E%3Ccircle cx='44' cy='32' r='20' fill='%232f5bd0'/%3E%3Ccircle cx='44' cy='32' r='15.5' fill='%23f6c233'/%3E%3Ccircle cx='44' cy='32' r='13' fill='%23fff'/%3E%3Ccircle cx='44' cy='32' r='11.5' fill='url(%23w)'/%3E%3Crect x='35' y='28.4' width='18' height='8' rx='4' fill='%23cfcbc2' transform='rotate(-22 44 33)'/%3E%3Crect x='35' y='27' width='18' height='8' rx='4' fill='%23f4f2ee' transform='rotate(-22 44 31)'/%3E%3Cpath d='M19.5 27.5 25 32l-5.5 4.5z' fill='%23e2362b'/%3E%3C/svg%3E") right bottom / 100% 100% no-repeat; }
.ixlist.gc-list .fav { z-index: 2; }
@media (hover: hover) {
  .ixlist.gc-list > li:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px #f7861f, 0 22px 34px -20px rgba(20, 22, 42, .45); }
  .ixlist.gc-list > li:hover .ix-name { color: #f07a12; }
}
@media (max-width: 767px) {
  .gc-page .sel-btn, .gc-page .ix-work { height: 38px; border-radius: 10px; }
  .ixlist.gc-list { gap: 14px 10px; }
  .ixlist.gc-list > li { border-radius: 16px; }
  .ixlist.gc-list > li > a { padding-bottom: 14px; }
  .ixlist.gc-list .ix-series { margin: 10px 12px 0; padding: 2px 7px; font-size: 11px; }
  .ixlist.gc-list .ix-name { display: block; min-height: 0; margin: 7px 12px 0; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; }   /* 폰: 이름은 한 줄, 길면 … */
  .ixlist.gc-list .ix-sub { margin: auto 12px 0; padding-top: 5px; font-size: 12.5px; }
  .ixlist.gc-list .ix-sub b { font-size: 17px; }
  .ixlist.gc-list > li::after { width: 64px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .ixlist.gc-list > li { transition: none; } }

/* ---------- 이치방쿠지 목록 카드(kuji.php .kj-list): 흰 카드 + 위 배너 사진 + 작품 · 굵은 제목 · '발매 | 1회 가격 | 경품 N등급' + 오른쪽 주황 동그라미 화살표 ---------- */
.kj-list .kj-grid { gap: 26px 24px; }
.kj-list .kj-card { overflow: hidden; isolation: isolate; border-radius: 22px; background: #fff; box-shadow: 0 2px 6px rgba(20, 22, 42, .05), 0 16px 30px -22px rgba(20, 22, 42, .45); transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s; }
.kj-list .kj-card > a { position: relative; display: block; padding-bottom: 20px; color: inherit; text-decoration: none; }
.kj-list .kj-card .kj-ph { border-radius: 0; }
.kj-list .kj-card .tl { display: block; margin: 0; padding: 16px 70px 0 24px; }
.kj-list .kj-card .nm-wrap { display: block; }
.kj-list .kj-card .nm-series { margin-bottom: 4px; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.kj-list .kj-card .nm { display: block; overflow: hidden; font-size: 19px; font-weight: 800; line-height: 1.35; letter-spacing: -0.02em; color: #1c2140; white-space: nowrap; text-overflow: ellipsis; }
.kj-list .kj-card .sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 8px; padding: 0 24px; font-size: 15px; color: var(--ink-3); }
.kj-list .kj-card .sub > i { width: 1px; height: 13px; background: var(--line); }
.kj-go { display: none; }
.kj-list .kj-card .kj-go { position: absolute; right: 22px; }
.kj-list .kj-card { container-type: inline-size; }
.kj-list .kj-card .kj-go { display: grid; place-items: center; top: calc(100cqw * 9 / 16 + 34px); width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(180deg, #ff9a3d 0, #f07a12 100%); color: #fff; box-shadow: 0 6px 14px -6px rgba(240, 122, 18, .7); transition: transform .2s; }
.kj-list .kj-card .kj-go svg { width: 18px; height: 18px; }
@media (hover: hover) {
  .kj-list .kj-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px #f7861f, 0 22px 34px -20px rgba(20, 22, 42, .45); }
  .kj-list .kj-card:hover .kj-ph { transform: none; box-shadow: none; }
  .kj-list .kj-card:hover .kj-go { transform: translateX(3px); }
}
@media (max-width: 767px) {
  .kj-list .kj-grid { gap: 16px; }
  .kj-list .kj-card { border-radius: 18px; }
  .kj-list .kj-card > a { padding-bottom: 16px; }
  .kj-list .kj-card .tl { padding: 12px 58px 0 16px; }
  .kj-list .kj-card .nm-series { font-size: 12.5px; }
  .kj-list .kj-card .nm { font-size: 16px; }
  .kj-list .kj-card .sub { gap: 4px 9px; padding: 0 16px; font-size: 13px; }
  .kj-list .kj-card .kj-go { right: 16px; top: calc(100cqw * 9 / 16 + 26px); width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) { .kj-list .kj-card, .kj-list .kj-card .kj-go { transition: none; } }

/* ---------- 작품 목록(works.php .ixlist.ix-work): 흰 카드 + 위 카드 그림(관리자 > 작품 > 목록 카드 그림, 없으면 파스텔 바탕 + 로고)
   + 아래 흰 이름 띠(그림 위로 살짝 겹침) + 오른쪽 주황 동그라미 화살표 ---------- */
.ix-go { display: none; }
.ixlist.ix-work { gap: 22px 16px; }
.ixlist.ix-work > li:nth-child(8n+1) { --pc: #a9cdfb; } .ixlist.ix-work > li:nth-child(8n+2) { --pc: #ffcf96; }
.ixlist.ix-work > li:nth-child(8n+3) { --pc: #ffc0a8; } .ixlist.ix-work > li:nth-child(8n+4) { --pc: #ffbfc9; }
.ixlist.ix-work > li:nth-child(8n+5) { --pc: #a8e3c4; } .ixlist.ix-work > li:nth-child(8n+6) { --pc: #d4c4fb; }
.ixlist.ix-work > li:nth-child(8n+7) { --pc: #f6b8b8; } .ixlist.ix-work > li:nth-child(8n+8) { --pc: #ffe39a; }
.ixlist.ix-work > li { position: relative; overflow: hidden; isolation: isolate; border-radius: 18px; background: #fff; box-shadow: 0 2px 6px rgba(20, 22, 42, .05), 0 14px 26px -20px rgba(20, 22, 42, .4); transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s; }
.ixlist.ix-work a { position: relative; color: inherit; text-decoration: none; }
.ixlist.ix-work .ix-img { aspect-ratio: 16 / 10; border-radius: 0; box-shadow: none; }
.ixlist.ix-work .ix-card { background: #eee; }
.ixlist.ix-work .ix-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; mix-blend-mode: normal; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.ixlist.ix-work .ix-img.ix-logo {
  background: radial-gradient(90% 70% at 30% 20%, rgba(255, 255, 255, .75) 0, rgba(255, 255, 255, 0) 60%),
              linear-gradient(140deg, color-mix(in srgb, var(--wk, var(--pc)) 26%, #fff) 0, color-mix(in srgb, var(--wk, var(--pc)) 48%, #fff) 100%); }
.ixlist.ix-work .ix-logo img { width: 80%; height: 60%; mix-blend-mode: multiply; }   /* 로고 파일의 흰 바탕은 파스텔에 녹인다 */
.ixlist.ix-work .ix-logo b { font-size: 20px; }
/* 이름 줄: 그림 바로 아래 평평한 흰 줄(겹치거나 둥근 모서리 없이) */
.ixlist.ix-work .ix-name { position: relative; z-index: 1; display: flex; align-items: center; min-height: 34px; margin: 0; padding: 5px 40px 6px 13px; border-radius: 0; background: #fff;
  overflow: hidden; font-size: 15px; font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; color: #1c2140; word-break: keep-all; }
.ixlist.ix-work .ix-go { position: absolute; z-index: 2; right: 11px; bottom: 7px; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: linear-gradient(180deg, #ff9a3d 0, #f07a12 100%); color: #fff; box-shadow: 0 4px 10px -4px rgba(240, 122, 18, .7); transition: transform .2s; }
.ixlist.ix-work .ix-go svg { width: 12px; height: 12px; }
.ixlist.ix-work .ix-go { display: none; }   /* 화살표는 빼기로(2026-11-09) */
/* 이름 줄: 얇게, 글자는 가운데 */
.ixlist.ix-work .ix-name { display: block; min-height: 0; padding: 7px 10px 8px; overflow: hidden; text-align: center; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; line-height: 1.3; }   /* 이름은 한 줄(넘치면 …): 긴 이름 때문에 같은 줄 카드가 두꺼워지지 않게 */
/* 이름 줄 바탕: 작품 고유색(관리자 > 작품 > 색). 글자색은 색 밝기에 따라 남색/흰색(--wk-ink, inc/site.php wk_ink). 고유색이 없으면 흰 띠 그대로 */
.ixlist.ix-work > li[style*="--wk"] .ix-name { background: var(--wk); color: var(--wk-ink, #1c2140); }
.ixlist.ix-work .fav { top: 10px; right: 10px; width: 36px; height: 36px; background: #fff; box-shadow: 0 2px 8px rgba(20, 22, 42, .12); }
@media (hover: hover) {
  .ixlist.ix-work > li:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--wk, #f7861f), 0 20px 32px -20px rgba(20, 22, 42, .45); }
  .ixlist.ix-work a:hover .ix-img { transform: none; box-shadow: none; }
  .ixlist.ix-work a:hover .ix-card img, .ixlist.ix-work a:hover .ix-logo img { transform: scale(1.05); }
  .ixlist.ix-work a:hover .ix-go { transform: translateX(2px); }
}
@media (max-width: 1279px) { .ixlist.ix-work { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .ixlist.ix-work { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .ixlist.ix-work { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
  .ixlist.ix-work > li { border-radius: 14px; }
  .ixlist.ix-work .ix-name { min-height: 0; margin-top: 0; padding: 5px 6px 6px; border-radius: 0; font-size: 12px; }
  .ixlist.ix-work .ix-go { right: 6px; bottom: 6px; width: 17px; height: 17px; }
  .ixlist.ix-work .ix-go svg { width: 11px; height: 11px; }
  .ixlist.ix-work .ix-logo b { font-size: 15px; }
  .ixlist.ix-work .fav { top: 6px; right: 6px; width: 28px; height: 28px; padding: 6px; }
}
@media (prefers-reduced-motion: reduce) { .ixlist.ix-work > li, .ixlist.ix-work .ix-card img, .ixlist.ix-work .ix-go { transition: none; } }
/* 찜 목록 > 내가 좋아하는 작품(favorites.php .fv-wklist): 작품 목록 카드 모양 그대로, 그림 칸만 카드 배경 + 로고. 하트를 빼면 사라진다(site.js) */
.ixlist.ix-work.fv-wklist { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px 14px; }
.ixlist.ix-work.fv-wklist > li.is-out { opacity: 0; transform: scale(.94); }
.ixlist.ix-work .ix-wbg { display: grid; place-items: center; background-color: #eee; background-position: center; background-size: cover; background-repeat: no-repeat; }
.ixlist.ix-work .ix-wbg img { width: 80%; height: 62%; object-fit: contain; mix-blend-mode: normal; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .18)); transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.ixlist.ix-work .ix-wbg b { font-size: 20px; font-weight: 900; color: #fff; text-align: center; text-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
@media (hover: hover) { .ixlist.ix-work a:hover .ix-wbg img { transform: scale(1.05); } }
@media (max-width: 1023px) { .ixlist.ix-work.fv-wklist { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) { .ixlist.ix-work.fv-wklist { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; } .ixlist.ix-work .ix-wbg b { font-size: 14px; } }

/* 내 컬렉션 > AI 배경 지우기 진행 창(site.js aiShow): 화면 한가운데, 제목 · 퍼센트 · 설명 · 막대. × 는 창만 닫는다 */
.ai-pop { position: fixed; left: 50%; top: 50%; z-index: 1200; width: min(360px, calc(100% - 32px)); padding: 16px 18px 16px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(28, 33, 64, .06), 0 18px 40px -12px rgba(28, 33, 64, .35); transform: translate(-50%, -50%); animation: ai-pop-in .3s cubic-bezier(.22, 1, .36, 1); }
.ai-pop[hidden] { display: none; }
@keyframes ai-pop-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.94); } }
.ai-pop-h { display: flex; align-items: center; gap: 9px; padding-right: 26px; }
.ai-pop-h b { flex: 1; min-width: 0; font-size: 15px; font-weight: 800; color: #1c2140; }
.ai-pop-h em { font-style: normal; font-size: 18px; font-weight: 900; color: #f28a2a; font-variant-numeric: tabular-nums; }
.ai-pop-spin { flex-shrink: 0; width: 16px; height: 16px; border: 2.5px solid #ffe2c6; border-top-color: #f28a2a; border-radius: 50%; animation: ai-spin .8s linear infinite; }
@keyframes ai-spin { to { transform: rotate(360deg); } }
.ai-pop p { margin: 6px 0 12px; overflow: hidden; font-size: 13px; color: #6b6f80; white-space: nowrap; text-overflow: ellipsis; }
.ai-pop-bar { position: relative; height: 8px; overflow: hidden; border-radius: 999px; background: #f3efe9; }
.ai-pop-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 2%; border-radius: inherit; background: linear-gradient(90deg, #ffb066, #f28a2a); transition: width .35s ease; }
.ai-pop.is-flow .ai-pop-bar i { width: 34%; animation: ai-flow 1.2s ease-in-out infinite; }
@keyframes ai-flow { from { left: -34%; } to { left: 100%; } }
.ai-pop.is-done .ai-pop-spin { border-color: #2fb36b; animation: none; background: #2fb36b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ai-pop.is-done .ai-pop-h em { color: #2fb36b; }
.ai-pop.is-done .ai-pop-bar i { background: #2fb36b; }
.ai-pop-x { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: none; color: #9a9caa; font-size: 20px; line-height: 1; cursor: pointer; }
@media (hover: hover) { .ai-pop-x:hover { background: #f3f3f6; color: #1c2140; } }
@media (max-width: 767px) { .ai-pop { padding: 14px 16px; } }
@media (prefers-reduced-motion: reduce) { .ai-pop, .ai-pop-spin, .ai-pop.is-flow .ai-pop-bar i { animation: none; } }

/* 내 컬렉션 보기 바꾸기(장식장 · 리스트): 제목 오른쪽 알약 두 개 */
.dc-views { display: inline-flex; flex-shrink: 0; gap: 2px; padding: 3px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(28, 33, 64, .08); }
.dc-views a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: #6b6f80; text-decoration: none; transition: background-color .15s, color .15s; }
.dc-views a svg { width: 16px; height: 16px; }
.dc-views a[aria-selected="true"] { background: #f28a2a; color: #fff; }
@media (hover: hover) { .dc-views a[aria-selected="false"]:hover { color: #1c2140; background: #fff4ea; } }

/* 내 컬렉션 > 리스트 보기(collection.php?view=list, 시안): 위 요약 · 정렬 · 찾기, 아래 작품 묶음(남색 띠 제목 + 카드) */
.cl-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 18px; }
.cl-sum { margin: 0; font-size: 14px; color: #6b6f80; }
.cl-sum b { color: #1c2140; font-weight: 800; }
.cl-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cl-sort { height: 38px; padding: 0 30px 0 12px; border: 1px solid #e6e2da; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%236b6f80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 10px center / 14px no-repeat; font: inherit; font-size: 13px; font-weight: 700; color: #1c2140; -webkit-appearance: none; appearance: none; cursor: pointer; }
.cl-find { width: 260px; height: 38px; }
.cl-none { margin: 30px 0; text-align: center; color: #8a8d9a; }

/* 작품 묶음: 남색 띠 제목(로고 · 흰 글자 이름 · 주황 개수 · 오른쪽 끝 주황 사선) */
.cl-groups { display: grid; gap: 30px; }
.cl-grp[hidden] { display: none; }
.cl-grp-h { position: relative; display: flex; align-items: center; gap: 12px; min-height: 50px; margin-bottom: 16px; padding: 7px 18px 7px 14px; overflow: hidden; border-radius: 16px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--wk, #1b2c64) 82%, #000) 0, var(--wk, #1b2c64) 75%, color-mix(in srgb, var(--wk, #1b2c64) 88%, #fff) 100%); box-shadow: 0 10px 22px -16px color-mix(in srgb, var(--wk, #13204a) 80%, #000); }   /* 띠 색 = 작품 고유 색(없으면 남색) */
.cl-grp-h::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 210px; pointer-events: none;
  background: repeating-linear-gradient(-58deg, transparent 0 16px, rgba(255, 255, 255, .34) 16px 30px, transparent 30px 40px, rgba(255, 255, 255, .18) 40px 46px);   /* 어떤 작품 색 위에서도 보이게 흰 사선 */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 70%); mask-image: linear-gradient(90deg, transparent 0, #000 70%); }
.cl-grp-lg { position: relative; z-index: 1; display: flex; align-items: center; max-width: 140px; height: 36px; flex-shrink: 0; }
.cl-grp-lg img { width: auto; height: 100%; }
.cl-grp-lg img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.cl-grp-dot { position: relative; z-index: 1; width: 12px; height: 12px; flex-shrink: 0; margin-left: 4px; border-radius: 50%; background: var(--wk, #f7861f); box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.cl-grp-h h2 { position: relative; z-index: 1; margin: 0; min-width: 0; overflow: hidden; font-size: 20px; font-weight: 900; letter-spacing: -0.02em; white-space: nowrap; text-overflow: ellipsis; color: var(--wk-ink, #fff); }
.cl-grp-h h2 a { color: inherit; text-decoration: none; }
@media (hover: hover) { .cl-grp-h h2 a:hover { opacity: .8; } }
.cl-grp-n { position: relative; z-index: 1; flex-shrink: 0; display: inline-flex; align-items: center; gap: 2px; height: 30px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(0, 0, 0, .22); font-size: 12.5px; font-weight: 700; color: var(--wk-ink, #fff); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }   /* 개수: 띠보다 어두운 반투명 알약 + 피규어 아이콘 + 'n개' */
.cl-grp-n svg { width: 14px; height: 14px; opacity: .85; }
.cl-grp-n b { font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; }

/* 카드: 위 연한 색 바탕 + 피규어, 아래 흰 판(사진 위로 살짝 올라온다): 제조사 칩 · 이름 · 달력 발매월 · 북마크(빼기) · 가격 */
.cl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 14px; }
.cl-row { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 2px 6px rgba(20, 22, 42, .05), 0 14px 26px -18px rgba(120, 60, 20, .35); transition: opacity .25s, transform .25s, box-shadow .2s; }
.cl-row[hidden] { display: none; }
.cl-row.is-out { opacity: 0; transform: scale(.94); }
.cl-ph { position: relative; display: block; width: 100%; aspect-ratio: 1 / .86; overflow: hidden;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 62%), linear-gradient(160deg, color-mix(in srgb, var(--wk, #f7861f) 9%, #fff) 0, color-mix(in srgb, var(--wk, #f7861f) 16%, #f6eee6) 100%); }
.cl-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s cubic-bezier(.22, 1, .36, 1); }   /* 칸에 고정: 세로로 긴 그림도 칸 안에 다 들어간다 */
.cl-row.is-cut .cl-ph img { inset: 3% 4% 10%; width: 92%; height: 87%; mix-blend-mode: normal; filter: drop-shadow(0 8px 8px rgba(40, 20, 0, .2)); }
.cl-noimg { position: absolute; inset: 32% 38% 40%; border-radius: 50%; background: rgba(255, 255, 255, .7); }
.cl-main { position: relative; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; margin-top: -16px; padding: 14px 14px 13px; border-radius: 18px 18px 0 0; background: #fff; }
.cl-mk { align-self: flex-start; max-width: 100%; overflow: hidden; padding: 2px 8px; border-radius: 999px; background: #ffe9ea; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; color: #e0464b; white-space: nowrap; text-overflow: ellipsis; }
.cl-name { display: -webkit-box; overflow: hidden; font-size: 14.5px; font-weight: 800; line-height: 1.3; color: #1c2140; text-decoration: none; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: keep-all; overflow-wrap: anywhere; }
.cl-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 2px; }
.cl-rel { display: inline-flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; font-size: 12.5px; font-weight: 600; color: #5d6070; white-space: nowrap; text-overflow: ellipsis; }
.cl-rel svg { width: 15px; height: 15px; flex-shrink: 0; color: #7c7f8e; }
.cl-pr { font-size: 16px; font-weight: 900; color: #f27a14; font-variant-numeric: tabular-nums; }
.cl-del { position: absolute; top: 6px; right: 6px; z-index: 2; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; background: none; color: #3a3d4e; cursor: pointer; filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 3px rgba(255, 255, 255, .9)); transition: color .15s, opacity .15s; }   /* 사진 오른쪽 위 × (동그라미 없이): 내 컬렉션에서 빼기. 마우스를 올린 카드에만 보인다(폰은 늘 보인다) */
.cl-del svg { width: 18px; height: 18px; }
.cl-del:disabled { opacity: .4; cursor: default; }
@media (hover: hover) {
  .cl-row:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px #f7861f, 0 22px 32px -20px rgba(150, 80, 30, .55); }
  .cl-row:hover .cl-ph img { transform: scale(1.04); }
  .cl-name:hover { color: #e0700f; }
  .cl-del { opacity: 0; }
  .cl-row:hover .cl-del, .cl-del:focus-visible { opacity: 1; }
  .cl-del:hover { color: #e0464b; }
}
@media (max-width: 1279px) { .cl-list { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .cl-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .dc-views a { height: 32px; padding: 0 11px; font-size: 12.5px; }
  .cl-ctl { width: 100%; }
  .cl-find { flex: 1 1 0; width: auto; min-width: 0; }
  .cl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; }
  .cl-row { border-radius: 14px; }
  .cl-main { margin-top: -12px; padding: 11px 10px 10px; gap: 5px; border-radius: 14px 14px 0 0; }
  .cl-name { font-size: 13px; }
  .cl-rel { font-size: 11.5px; }
  .cl-pr { font-size: 14px; }
  .cl-grp-h { min-height: 44px; padding: 6px 12px 6px 10px; border-radius: 13px; }
  .cl-grp-h::after { width: 120px; }
  .cl-grp-lg { width: 68px; height: 28px; }
  .cl-grp-h h2 { font-size: 16.5px; }
  .cl-grp-n { height: 26px; padding: 0 10px; font-size: 11.5px; }
  .cl-grp-n b { font-size: 14px; }
  .cl-del { top: 4px; right: 4px; width: 28px; height: 28px; }
}

/* 작품 · 시리즈 새 배너(3840×920, 꽉 찬 배너 .is-full): 왼쪽 어둡게는 위쪽에만(아래 크림색 물결이 회색으로 탁해지지 않게), 글자는 인물 위에서도 읽히게 그림자 */
.pg-banner.is-full.is-works::before, .pg-banner.is-full.is-series::before { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 58%, transparent 76%); mask-image: linear-gradient(180deg, #000 0, #000 58%, transparent 76%); }
.pg-banner.is-full.is-works .pg-banner-txt, .pg-banner.is-full.is-series .pg-banner-txt { text-shadow: 0 2px 12px rgba(5, 15, 40, .5); }

/* 내 컬렉션 리스트 > 작품 순서 바꾸기: [작품 순서] 버튼 · 안내 줄(취소 · 저장) · 순서 바꾸는 동안 카드는 접고 띠만, 띠 오른쪽에 ▲▼ */
.cl-ord-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 1px solid #e6e2da; border-radius: 999px; background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: #1c2140; cursor: pointer; }
.cl-ord-btn svg { width: 16px; height: 16px; }
.cl-ord-btn[aria-pressed="true"] { border-color: #1c2140; background: #1c2140; color: #fff; }
.cl-ord-bar { position: sticky; top: 76px; z-index: 5; display: flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 10px 10px 10px 18px; border-radius: 16px; background: #1c2140; color: #fff; box-shadow: 0 12px 26px -14px rgba(28, 33, 64, .6); }
.cl-ord-bar[hidden] { display: none; }
.cl-ord-bar p { flex: 1; min-width: 0; margin: 0; font-size: 13px; color: rgba(255, 255, 255, .78); }
.cl-ord-bar p b { margin-right: 8px; font-size: 14px; color: #fff; }
.cl-ord-bar button { flex-shrink: 0; height: 36px; padding: 0 16px; border: 0; border-radius: 999px; font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; }
.cl-ord-cancel { background: rgba(255, 255, 255, .14); color: #fff; }
.cl-ord-save { background: #f7861f; color: #fff; }
.cl-ord-save:disabled { opacity: .6; cursor: default; }
.cl-grp-mv { display: none; position: relative; z-index: 1; gap: 4px; margin-left: auto; }
.cl-grp-mv button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .92); color: #1c2140; cursor: pointer; }
.cl-grp-mv svg { width: 17px; height: 17px; }
.cl-grp:first-child .cl-grp-mv button[data-cl-mv="-1"], .cl-grp:last-child .cl-grp-mv button[data-cl-mv="1"] { opacity: .35; pointer-events: none; }
.cl.is-ord .cl-groups { gap: 10px; }
.cl.is-ord .cl-list, .cl.is-ord .cl-ctl > :not(.cl-ord-btn) { display: none; }
.cl.is-ord .cl-grp-h { margin-bottom: 0; cursor: grab; }
.cl.is-ord .cl-grp-h::after { display: none; }   /* 사선 자리에 ▲▼ */
.cl.is-ord .cl-grp-mv { display: inline-flex; }
.cl.is-ord .cl-grp.is-drag { opacity: .45; }
.cl-grp.is-moved .cl-grp-h { animation: cl-moved .45s ease; }
@keyframes cl-moved { from { box-shadow: 0 0 0 3px #f7861f; } }
@media (max-width: 767px) {
  .cl-ord-btn { height: 38px; padding: 0 12px; }
  .cl-ord-bar { top: 64px; flex-wrap: wrap; padding: 10px 10px 10px 14px; }
  .cl-ord-bar p { flex-basis: 100%; }
  .cl-ord-bar p b { display: block; margin: 0 0 2px; }
  .cl-ord-bar button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .cl-grp.is-moved .cl-grp-h { animation: none; } }

/* 사이트 알림 창(site.js tkAlert): 확인 창과 같은 틀, 위에 주황 느낌표 동그라미 · 버튼은 '확인' 하나(가로 꽉) */
.tkc-ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 50%; background: #fff1e3; color: #f27a14; box-shadow: 0 0 0 6px #fff8f1; }
.tkc-ic svg { width: 26px; height: 26px; }
.tkc.is-alert .tkc-t, .tkc.is-alert .tkc-p { text-align: center; }
.tkc.is-alert .tkc-btns { grid-template-columns: 1fr; }
.tkc.is-alert .tkc-ok { background: #f7861f; }
@media (hover: hover) { .tkc.is-alert .tkc-ok:hover { background: #e9740b; } }

/* 휴대폰 메뉴(시안): 떠 있는 둥근 흰 판 · 연한 주황 타일 4칸 · 두 가지 색 아이콘 + 반짝 표시 · 오른쪽 아래 주황 물결과 점 · 닫기는 주황 테두리 네모 */
.gnb-spark { display: none; }
@media (max-width: 767px) {
  .gnb, .gnb.is-open { top: 66px; left: 10px; right: 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 16px 14px 18px; border-radius: 24px; background: #fff; box-shadow: 0 18px 40px -18px rgba(120, 60, 20, .45), 0 0 0 1px rgba(242, 138, 42, .08); overflow: hidden; isolation: isolate; }
  .gnb.is-open { clip-path: inset(0 0 0 0 round 24px); }
  .gnb::before, .gnb::after { content: ""; position: absolute; right: 0; bottom: 0; z-index: -1; pointer-events: none; }
  .gnb::before { width: 62%; height: 46%; background: radial-gradient(circle, rgba(247, 134, 31, .38) 1.6px, transparent 2.2px) 0 0 / 11px 11px;
    -webkit-mask-image: radial-gradient(90% 90% at 100% 100%, #000 0, transparent 70%); mask-image: radial-gradient(90% 90% at 100% 100%, #000 0, transparent 70%); }
  .gnb::after { width: 64%; height: 92px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 110' preserveAspectRatio='none'%3E%3Cpath d='M0 110C70 104 120 84 175 62S265 22 300 4V110z' fill='%23ffd9b8' opacity='.75'/%3E%3Cpath d='M60 110C130 104 175 88 220 66S280 34 300 26V110z' fill='%23f7861f'/%3E%3C/svg%3E") right bottom / 100% 100% no-repeat; }   /* 오른쪽 아래 두 겹 주황 물결 */
  .gnb > a { position: relative; flex-direction: column; justify-content: center; gap: 7px; width: auto; min-width: 0; height: 86px; min-height: 0; aspect-ratio: auto; padding: 6px 2px; border: 0; border-radius: 16px; background: #fff3ea; font-size: 13.5px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
  .gnb > a:not(:nth-child(4n)):not(:last-child) { border-right: 0; }
  .gnb > a[aria-current="page"] { background: #ffe7d2; color: var(--ink); box-shadow: inset 0 0 0 2px #f7861f; }
  .gnb-ico, .gnb > a[aria-current="page"] .gnb-ico { position: relative; display: block; width: 38px; height: 38px; padding: 0; border-radius: 0; background: none; color: #1c2140; }
  .gnb-ico > svg:first-child { width: 100%; height: 100%; }
  .gnb-ico .gnb-spark { display: block; position: absolute; top: -5px; right: -11px; width: 12px; height: 12px; }
  .menu-btn[aria-expanded="true"] { border: 2px solid #f7861f; border-radius: 12px; background: #fff1e3; }
}
@media (max-width: 360px) { .gnb > a { height: 76px; font-size: 12px; } .gnb-ico, .gnb > a[aria-current="page"] .gnb-ico { width: 32px; height: 32px; } }

/* 계정 메뉴(헤더 동그라미, 시안): 따뜻한 크림색 둥근 판 · 항목 사이 구분선 · 지금 페이지는 연한 주황 바탕 + 왼쪽 주황 막대 */
.hd-pop { min-width: 200px; padding: 10px; border-radius: 22px; background: #fffaf5; box-shadow: 0 0 0 1px rgba(242, 138, 42, .1), 0 18px 40px -14px rgba(160, 80, 20, .35); }
.hd-pop a { position: relative; gap: 12px; height: 50px; padding: 0 16px; border-radius: 14px; font-size: 15.5px; font-weight: 900; color: #1c2140; }
.hd-pop a + a { margin-top: 9px; }
.hd-pop a + a::before { content: ""; position: absolute; top: -5px; left: 8px; right: 8px; height: 1px; background: #f0e2d4; pointer-events: none; }
.hd-pop a svg { width: 24px; height: 24px; color: inherit; }
.hd-pop a[aria-current="page"] { background: #fdeee0; }
.hd-pop a[aria-current="page"]::after { content: ""; position: absolute; left: -10px; top: 50%; width: 4px; height: 26px; margin-top: -13px; border-radius: 0 3px 3px 0; background: #f7861f; }
@media (hover: hover) { .hd-pop a:hover { background: #fdf0e4; } }

/* 작품 순서 바꾸기(시안): 남색 안내 줄(아이콘 · 큰 제목 · 구분선 · 안내 · 취소 · 저장) + 띠마다 끌기 손잡이 · 로고 옆 구분선 · 상자 아이콘 개수 · 물결 광택 · 흰 ▲▼ */
.cl-grp-grip, .cl-grp-bar, .cl-grp-box { display: none; }
.cl-ord-bar { gap: 14px; min-height: 64px; padding: 10px 12px 10px 20px; border-radius: 22px; background: linear-gradient(90deg, #172150 0, #1c2756 100%); box-shadow: 0 14px 30px -16px rgba(23, 33, 80, .7); }
.cl-ord-ic { flex-shrink: 0; display: block; width: 34px; height: 34px; }
.cl-ord-ic svg { width: 100%; height: 100%; }
.cl-ord-t { flex-shrink: 0; padding-right: 14px; border-right: 1px solid rgba(255, 255, 255, .22); font-size: 19px; font-weight: 900; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
.cl-ord-bar p { font-size: 14px; color: rgba(255, 255, 255, .82); }
.cl-ord-bar button { height: 42px; padding: 0 26px; font-size: 15px; }
.cl-ord-cancel { background: rgba(255, 255, 255, .16); }
.cl-ord-save { background: linear-gradient(180deg, #ff9a3d 0, #f27a14 100%); box-shadow: 0 4px 12px -4px rgba(242, 122, 20, .8); }
.cl.is-ord .cl-groups { gap: 8px; }
.cl.is-ord .cl-grp-h { min-height: 56px; padding: 6px 16px 6px 12px; gap: 14px; border-radius: 18px; box-shadow: 0 6px 14px -10px rgba(20, 22, 42, .5), inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.cl.is-ord .cl-grp-h::after { display: block; top: 0; left: 0; right: 0; bottom: 0; width: auto;   /* 사선 대신 은은한 물결 광택 */
  background: radial-gradient(60% 140% at 40% -40%, rgba(255, 255, 255, .22) 0, transparent 60%), radial-gradient(50% 160% at 75% 150%, rgba(255, 255, 255, .14) 0, transparent 60%);
  -webkit-mask-image: none; mask-image: none; }
.cl.is-ord .cl-grp-grip { position: relative; z-index: 1; display: block; flex-shrink: 0; width: 12px; height: 18px; margin: 0 6px 0 4px; color: rgba(255, 255, 255, .9); cursor: grab; }
.cl.is-ord .cl-grp-grip svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.cl.is-ord .cl-grp-bar { position: relative; z-index: 1; display: block; flex-shrink: 0; width: 1px; height: 26px; background: rgba(255, 255, 255, .35); }
.cl.is-ord .cl-grp-box { display: block; width: 15px; height: 15px; }
.cl.is-ord .cl-grp-n { gap: 6px; padding: 0 14px 0 11px; height: 32px; background: rgba(0, 0, 0, .28); }
.cl.is-ord .cl-grp-mv { gap: 10px; }
.cl.is-ord .cl-grp-mv button { width: 40px; height: 36px; border-radius: 11px; background: #fff; box-shadow: 0 3px 8px -2px rgba(0, 0, 0, .3); }
.cl.is-ord .cl-grp-mv svg { width: 18px; height: 18px; }
@media (hover: hover) { .cl.is-ord .cl-grp-mv button:hover { background: #fff3e8; color: #e0700f; } .cl-ord-cancel:hover { background: rgba(255, 255, 255, .24); } }
@media (max-width: 767px) {
  .cl-ord-bar { flex-wrap: wrap; gap: 8px 10px; padding: 12px 12px 12px 14px; border-radius: 18px; }
  .cl-ord-ic { width: 28px; height: 28px; }
  .cl-ord-t { padding-right: 0; border-right: 0; font-size: 16px; }
  .cl-ord-bar p { flex-basis: 100%; order: 3; font-size: 12.5px; }
  .cl-ord-bar button { order: 4; height: 40px; }
  .cl.is-ord .cl-grp-h { min-height: 50px; gap: 10px; padding: 6px 10px 6px 8px; }
  .cl.is-ord .cl-grp-grip { margin: 0 2px; }
  .cl.is-ord .cl-grp-bar { display: none; }
  .cl.is-ord .cl-grp-mv { gap: 6px; }
  .cl.is-ord .cl-grp-mv button { width: 34px; height: 32px; }
}

/* 쿠지 상세 > 등급별 경품(시안): 제목(주황 막대 · PRIZE LINEUP · 오른쪽 사선) + 흰 카드(위 사진 · 등급 · 종 수 · 사진 수, 아래 이름 · 크기) */
.kj-sec h2.kj-h { position: relative; display: flex; align-items: baseline; gap: 14px; margin: 0 0 22px; padding-left: 0; font-size: 25px; font-weight: 900; }
.kj-h small { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; color: #9aa0b8; }
.kj-prizes { gap: 22px 20px; }
.kj-prize { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 2px 6px rgba(20, 22, 42, .05), 0 16px 30px -20px rgba(20, 22, 42, .35); }
.kj-prize .kj-ph { aspect-ratio: 1 / .86; border-radius: 0; background: radial-gradient(80% 70% at 50% 40%, #fff 0, #f2f2f4 70%, #e9e9ee 100%); }
.kj-prize .kj-ph img { padding: 8% 6% 6%; mix-blend-mode: multiply; }   /* 사진 파일의 흰 바탕을 회색 바탕에 녹인다 */
.kj-rank { top: 12px; left: 12px; height: 28px; min-width: 44px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 900; background: linear-gradient(180deg, #ff9a3d 0, #f27a14 100%); box-shadow: 0 3px 8px -3px rgba(242, 122, 20, .7); }
.kj-prize.is-last .kj-rank { background: linear-gradient(180deg, #2b3566 0, #1c2140 100%); box-shadow: 0 3px 8px -3px rgba(28, 33, 64, .7); }
.kj-kinds { top: 12px; right: 12px; height: 28px; min-width: 40px; padding: 0 11px; font-size: 13px; font-weight: 800; color: #1c2140; background: #fff; box-shadow: 0 2px 6px rgba(20, 22, 42, .12); }
.kj-shots { right: 12px; bottom: 12px; gap: 5px; height: 26px; padding: 0 10px; font-size: 13px; font-weight: 800; background: rgba(28, 33, 64, .78); }
.kj-shots svg { width: 14px; height: 14px; }
.kj-pb { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px 20px 18px; }
.kj-pn { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.4; color: #1c2140; word-break: keep-all; overflow-wrap: anywhere; }
.kj-size { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 13.5px; font-weight: 600; color: #5d6070; }
.kj-size svg { width: 16px; height: 16px; flex-shrink: 0; color: #7c7f8e; }
@media (hover: hover) { .kj-prize { transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .2s; } .kj-prize:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px #f7861f, 0 20px 32px -20px rgba(150, 80, 30, .5); } }
@media (max-width: 767px) {
  .kj-sec h2.kj-h { font-size: 20px; padding-left: 0; gap: 10px; }
  .kj-h small { font-size: 11px; }
  .kj-prizes { gap: 12px 10px; }
  .kj-prize { border-radius: 16px; }
  .kj-rank { top: 8px; left: 8px; height: 24px; min-width: 36px; padding: 0 9px; font-size: 12.5px; }
  .kj-kinds { top: 8px; right: 8px; height: 24px; min-width: 34px; padding: 0 8px; font-size: 12px; }
  .kj-shots { right: 8px; bottom: 8px; height: 22px; padding: 0 8px; font-size: 12px; }
  .kj-pb { gap: 8px; padding: 12px 12px 13px; }
  .kj-pn { font-size: 14px; }
  .kj-size { font-size: 12.5px; }
}

/* 쿠지 목록 카드: 오른쪽 주황 화살표 동그라미 버튼은 빼기로(2026-11-10). 카드 전체를 누르면 상세로 간다 */
.kj-list .kj-card .kj-go { display: none; }

/* 상품 상세 정보 표: 누르면 목록으로 가는 값(발매월 · 제조사 · 시리즈 · 캐릭터). 글자 색은 그대로, 마우스를 올리면 주황 + 밑줄 */
.vc-link { color: inherit; text-decoration: none; text-underline-offset: 3px; transition: color .15s; }
@media (hover: hover) { .vc-link:hover { color: #e0700f; text-decoration: underline; } }
.vc-link:focus-visible { outline: 2px solid #f7861f; outline-offset: 2px; border-radius: 4px; }

/* 상품 상세: 작품 로고 줄과 제목 사이를 좁게(다른 칸 사이 간격은 그대로) */
.it-top + .it-name { margin-top: -10px; }
@media (max-width: 767px) { .it-top + .it-name { margin-top: 0; } .it-name ~ .vc-card { margin-top: 4px; } }   /* 폰은 로고 줄 · 제목 · 정보 카드 사이를 조금 띄운다 */

/* 찜 목록 > 찜한 피규어 · 가챠: 피규어 목록 카드(.is-fig)는 글자가 커서 넓은 화면에서도 한 줄에 4개(폰은 2개 그대로) */
@media (min-width: 768px) { .is-fig .grid4.fv-figs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 찜 목록 > 내가 좋아하는 시리즈 · 제조사(.fv-ixlist): 각 목록 페이지 카드 그대로, 찜 목록 폭에 맞춰 한 줄 4개(폰 2개) · 하트를 빼면 사라진다 */
.ixlist.fv-ixlist { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 14px; }
.ixlist.fv-ixlist > li { transition: opacity .25s, transform .25s; }
.ixlist.fv-ixlist > li.is-out { opacity: 0; transform: scale(.94); }
@media (max-width: 767px) { .ixlist.fv-ixlist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; } }

/* 쿠지 카드: 오른쪽 화살표 버튼을 뺐으니 제목 오른쪽 빈자리도 없앤다(쿠지 목록 · 찜 목록 같이) */
.kj-list .kj-card .tl { padding-right: 24px; }
@media (max-width: 767px) { .kj-list .kj-card .tl { padding-right: 16px; } }
/* 찜 목록 > 찜한 이치방쿠지(.fv-kjlist): 쿠지 목록 카드 그대로, 한 줄 3개(폰 1개) */
.fv-kjlist .kj-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; }
@media (max-width: 1023px) { .fv-kjlist .kj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .fv-kjlist .kj-grid { grid-template-columns: 1fr; gap: 12px; } }

/* 찜 목록 > 내가 좋아하는 작품 카드: 볼록 효과(위쪽 광택 · 흰 안쪽 테두리 · 깊은 그림자, 마우스를 올리면 살짝 커지며 떠오른다) */
.ixlist.ix-work.fv-wklist > li { border-radius: 20px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55), 0 3px 0 rgba(20, 22, 42, .06), 0 16px 26px -14px rgba(20, 22, 42, .55); transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .25s; }
.ixlist.ix-work.fv-wklist > li::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 70% at 30% 0, rgba(255, 255, 255, .42) 0, rgba(255, 255, 255, .12) 38%, rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, rgba(0, 0, 0, .1) 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5), inset 0 -3px 0 rgba(0, 0, 0, .08); }
.ixlist.ix-work.fv-wklist .ix-name { position: relative; z-index: 1; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28); }
.ixlist.ix-work.fv-wklist .fav { z-index: 3; }
@media (hover: hover) {
  .ixlist.ix-work.fv-wklist > li:hover { transform: translateY(-5px) scale(1.03); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55), 0 0 0 2px var(--wk, #f7861f), 0 24px 34px -16px rgba(20, 22, 42, .6); }
}
@media (prefers-reduced-motion: reduce) { .ixlist.ix-work.fv-wklist > li { transition: none; } }

/* 홈 둘러보기 > 시리즈 카드 이름표(C안, 2026-11-10): 카드 아래를 꽉 채운 흰 판 + 남색 굵은 이름 + 가운데 짧은 주황 밑줄. 피규어는 판 위에서 끝난다 */
.browse-band .sc-top { left: 0; right: 0; bottom: 0; height: clamp(40px, 3.2vw, 48px); justify-content: center; padding: 0 12px; border-radius: 0; background: rgba(255, 255, 255, .94); box-shadow: 0 -1px 0 rgba(28, 33, 64, .06); }
.browse-band .sc-top::before { left: 50%; top: auto; bottom: 7px; width: 26px; height: 3px; margin-left: -13px; border-radius: 2px; background: #f7861f; }
.browse-band .sc-name { color: #1c2140; font-weight: 900; }
.browse-band .sc-figs { inset: 5% 4% 24% 4%; }
@media (hover: hover) { .browse-band .sc a:hover .sc-top::before { background: #f7861f; width: 40px; margin-left: -20px; } .browse-band .sc a:hover .sc-name { color: #e0700f; } }
@media (max-width: 767px) { .browse-band .sc-top { left: 0; right: 0; height: 36px; padding: 0 8px; } .browse-band .sc-top::before { left: 50%; bottom: 5px; width: 20px; margin-left: -10px; } }

/* 배너 설명 첫 줄(한 줄 소개)은 굵게, 둘째 줄은 보통 굵기 */
.pg-banner-lead b { font-weight: 800; }

/* 홈 둘러보기 > 제조사 카드 이름표: 시리즈 카드와 같은 C안(카드 아래 꽉 찬 흰 판 + 남색 굵은 이름 + 가운데 짧은 주황 밑줄) */
.browse-band .mc.is-maker .mc-name { left: 0; right: 0; bottom: 0; height: clamp(40px, 3.2vw, 48px); justify-content: center; padding: 0 12px; border: 0; border-radius: 0; background: rgba(255, 255, 255, .94); box-shadow: 0 -1px 0 rgba(28, 33, 64, .06); color: #1c2140; text-shadow: none; }
.browse-band .mc.is-maker .mc-name::before { left: 50%; top: auto; bottom: 7px; width: 26px; height: 3px; margin-left: -13px; border-radius: 2px; background: #f7861f; }
.browse-band .mc.is-maker .mc-name > span { font-weight: 900; color: #1c2140; }
@media (hover: hover) { .browse-band .mc.is-maker a:hover .mc-name::before { background: #f7861f; width: 40px; margin-left: -20px; } .browse-band .mc.is-maker a:hover .mc-name > span { color: #e0700f; } }
@media (max-width: 767px) { .browse-band .mc.is-maker .mc-name { left: 0; right: 0; height: 36px; padding: 0 8px; font-size: 12.5px; } .browse-band .mc.is-maker .mc-name::before { left: 50%; bottom: 5px; width: 20px; margin-left: -10px; } }

/* 가챠 페이지 필터: 넓은 화면(1400px 이상)에서는 자음 버튼 줄 오른쪽에 시리즈 고르기 · 이름 찾기를 한 줄로(좁으면 자음 줄 아래로) */
@media (min-width: 1400px) {
  .ix-bar.ix-bar:has(.ix-work) { flex-wrap: nowrap; }
  .ix-bar:has(.ix-work) .ix-cho { flex: 0 1 auto; min-width: 0; }
  .ix-bar:has(.ix-work) .sel { flex: 0 0 180px; }
  .ix-bar:has(.ix-work) .ix-find { flex: 1 1 0; min-width: 150px; max-width: none; }
}

/* 검색창 > 인기 작품(시안): 크림색 판 · 오른쪽 위 남색 · 주황 곡선 장식 · 큰 제목 + 왕관 · 줄마다 흰 카드(흰 로고 상자 · 세로 구분선 · 이름 · 상품 수) */
.hd-search .sg:has(.sg-pop), .sr-box .sg:has(.sg-pop) { padding: 14px; border-radius: 24px; background: #fdf8f2; }
.sg-pop { position: relative; display: grid; gap: 8px; }
.sg-pop::before { content: ""; position: absolute; top: -14px; right: -14px; width: 80px; height: 56px; border-top-right-radius: 24px; overflow: hidden; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 56'%3E%3Cpath d='M40 0H80V40C72 20 60 7 40 0Z' fill='%23f7861f'/%3E%3Cpath d='M14 0C46 3 70 22 80 50' fill='none' stroke='%231c2140' stroke-width='7'/%3E%3C/svg%3E") right top / 100% 100% no-repeat; }   /* 오른쪽 위 남색 곡선 띠 + 주황 모서리 */
.sg-pop-h { display: flex; align-items: center; justify-content: space-between; padding: 2px 52px 4px 6px; }
.sg-pop-h .sg-h { margin: 0; font-size: 19px; font-weight: 900; letter-spacing: -0.02em; color: #1c2140; }
.sg-crown { width: 38px; height: 26px; flex-shrink: 0; }
.sg-row.is-pop { grid-template-columns: 92px minmax(0, 1fr); gap: 0; padding: 7px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(242, 138, 42, .1), 0 2px 6px rgba(120, 60, 20, .05); }
.sg-row.is-pop .sg-ph.is-logo { width: 92px; height: 54px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(20, 22, 42, .07), 0 2px 5px rgba(20, 22, 42, .06); }
.sg-row.is-pop .sg-ph.is-logo img { padding: 6px 8px; }
.sg-row.is-pop .sg-tx { position: relative; padding-left: 28px; }
.sg-row.is-pop .sg-tx::before { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 1px; background: #ecdcc8; }
.sg-row.is-pop .sg-tx b { font-size: 16px; font-weight: 900; color: #1c2140; }
.sg-row.is-pop .sg-tx small { margin-top: 3px; font-size: 13px; color: #8a8d9a; }
.sg-row.is-pop.is-on, .sg-row.is-pop:hover { background: #fff; box-shadow: 0 0 0 2px #f7861f, 0 6px 14px -8px rgba(160, 80, 20, .4); }
@media (max-width: 767px) { .sg-row.is-pop { grid-template-columns: 76px minmax(0, 1fr); } .sg-row.is-pop .sg-ph.is-logo { width: 76px; height: 46px; } .sg-row.is-pop .sg-tx { padding-left: 22px; } .sg-row.is-pop .sg-tx::before { left: 11px; } .sg-row.is-pop .sg-tx b { font-size: 15px; } }

/* 카드 사진 위 '예약 중' 표시: 크게 · 앞의 주황 점이 깜빡이고 표시 테두리도 은은하게 빛난다(움직임 줄이기면 멈춤) */
.rs-tag { gap: 5px; height: 28px; padding: 0 11px 0 9px; font-size: 13px; font-weight: 900; animation: rs-glow 1.6s ease-in-out infinite; }
.rs-tag i { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #f7861f; animation: rs-blink 1s steps(2, jump-none) infinite; }
@keyframes rs-blink { 0% { opacity: 1; } 100% { opacity: .15; } }
@keyframes rs-glow { 0%, 100% { box-shadow: inset 0 0 0 1.5px #f7861f, 0 0 0 0 rgba(247, 134, 31, 0); } 50% { box-shadow: inset 0 0 0 1.5px #f7861f, 0 0 0 4px rgba(247, 134, 31, .28); } }
.nw-tag { height: 28px; padding: 0 11px; font-size: 13px; }   /* 옆의 NEW 도 같은 높이로 */
@media (max-width: 767px) { .rs-tag, .nw-tag { height: 24px; font-size: 11.5px; } .rs-tag { gap: 4px; padding: 0 9px 0 7px; } .nw-tag { padding: 0 9px; } .rs-tag i { width: 6px; height: 6px; } }
@media (prefers-reduced-motion: reduce) { .rs-tag, .rs-tag i { animation: none; } }

/* 하단(시안): 남색 바탕 · 왼쪽 위 / 오른쪽 아래 주황 곡선 · 위 3칸(아이콘 타일 + 제목 + 설명, 칸 사이 세로선) · 아래 로고 | 문구 | 약관 */
.ft { position: relative; isolation: isolate; background: linear-gradient(180deg, #16204a 0, #1a2554 55%, #151e44 100%); color: rgba(255, 255, 255, .78); }
.ft::before, .ft::after { content: ""; position: absolute; z-index: -1; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }
.ft::before { left: 0; top: 0; width: min(300px, 26vw); height: 90px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 90' preserveAspectRatio='none'%3E%3Cpath d='M0 0H300C200 6 90 30 0 78Z' fill='%23f7861f'/%3E%3Cpath d='M0 90C70 52 150 28 250 16 160 34 80 60 0 90Z' fill='%23f7861f' opacity='.55'/%3E%3C/svg%3E"); }
.ft::after { right: 0; bottom: 0; width: min(380px, 32vw); height: 110px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 380 110' preserveAspectRatio='none'%3E%3Cpath d='M380 0V110H60C170 100 290 60 380 0Z' fill='%23f7861f'/%3E%3Cpath d='M380 30C300 70 210 92 110 104 230 96 320 66 380 30Z' fill='%23ffb070' opacity='.6'/%3E%3C/svg%3E"); }
.ft-in { padding: 72px 44px 0; }
.ft-cols { gap: 0; font-size: 14px; line-height: 1.75; }
.ft-col { display: flex; align-items: flex-start; gap: 22px; padding: 4px 32px; }
.ft-col + .ft-col { border-left: 1px solid rgba(255, 255, 255, .14); }
.ft-col:first-child { padding-left: 0; }
.ft-ic { display: grid; place-items: center; flex-shrink: 0; width: 78px; height: 78px; border-radius: 22px; background: linear-gradient(160deg, #26336a 0, #1b2656 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 10px 22px -12px rgba(0, 0, 0, .6); }
.ft-ic img { width: 56px; height: auto; }
.ft-ic svg { width: 50px; height: 50px; }
.ft-cols b { margin-bottom: 8px; font-size: 19px; font-weight: 900; letter-spacing: -0.02em; color: #fff; }
.ft-cols p { max-width: none; color: rgba(255, 255, 255, .78); word-break: keep-all; }
.ft-bot { gap: 28px; margin-top: 48px; padding: 22px 0 30px; border-top: 1px solid rgba(110, 150, 230, .45); }
.ft-bot .ft-mark { padding: 0; flex-shrink: 0; }
.ft-mark img { height: 60px; }
.ft-copy { flex: 1; min-width: 0; margin: 0; padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .16); font-size: 16px; line-height: 1.6; color: #fff; }
.ft-copy b { font-weight: 900; color: #f7861f; }
.ft-links { align-items: center; gap: 16px; padding-right: min(160px, 12vw); font-size: 14.5px; }
.ft-links i { width: 1px; height: 16px; background: rgba(255, 255, 255, .35); }
@media (max-width: 1023px) {
  .ft-cols { grid-template-columns: 1fr; gap: 22px; }
  .ft-col { padding: 0; }
  .ft-col + .ft-col { border-left: 0; }
  .ft-bot { flex-wrap: wrap; gap: 14px 20px; }
  .ft-copy { flex-basis: 100%; order: 3; padding-left: 0; border-left: 0; }
  .ft-links { padding-right: 0; }
}
@media (max-width: 767px) {
  .ft-in { padding: 52px 20px 0; }
  .ft-col { gap: 14px; }
  .ft-ic { width: 56px; height: 56px; border-radius: 16px; }
  .ft-ic img { width: 40px; } .ft-ic svg { width: 36px; height: 36px; }
  .ft-cols { font-size: 13px; }
  .ft-cols b { display: block; margin: 0 0 4px; font-size: 16px; }
  .ft-cols p, .ft-cols > div:first-child p { display: block; font-size: 13px; line-height: 1.65; color: rgba(255, 255, 255, .72); }   /* 예전 폰 규칙(첫 칸 설명 숨김 · 제목과 한 줄) 덮어쓰기 */
  .ft-mark img { height: 46px; }
  .ft-copy { font-size: 14px; }
  .ft-links { font-size: 13px; }
  .ft::after { width: 200px; height: 60px; }
}

/* 헤더 검색 결과 창: 검색칸 오른쪽 끝보다 150px 더 오른쪽으로(검색칸 오른쪽은 어느 화면 폭에서도 187px 이상 여유가 있다) */
@media (min-width: 1024px) { .hd-search .sg { right: -150px; } }

/* 검색 후보(글자를 입력했을 때, 시안): 크림색 판 · 굵은 제목(작품 · 캐릭터 · 상품) · 줄마다 흰 카드(큰 둥근 사진 · 굵은 이름 · 회색 설명) · 회색 '전체 검색 결과 보기' 버튼. 가로줄 · 막대 · 화살표 없음 */
.hd-search .sg, .sr-box .sg { padding: 14px; border-radius: 24px; background: #fdf8f2; }
.sg > .sg-h { margin: 10px 6px 8px; font-size: 17px; font-weight: 900; letter-spacing: -0.02em; color: #1c2140; }
.sg > .sg-h:first-child { margin-top: 2px; }
.sg > .sg-row:not(.is-pop) { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; margin-bottom: 8px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(242, 138, 42, .1), 0 2px 6px rgba(120, 60, 20, .05); }
.sg > .sg-row:not(.is-pop) .sg-ph { width: 64px; height: 64px; border-radius: 14px; background: #f6f3ef; }
.sg > .sg-row:not(.is-pop) .sg-ph.is-logo { background: #fff; box-shadow: 0 0 0 1px rgba(20, 22, 42, .07), 0 2px 5px rgba(20, 22, 42, .06); }
.sg > .sg-row:not(.is-pop) .sg-tx b { font-size: 15.5px; font-weight: 900; color: #1c2140; }
.sg > .sg-row:not(.is-pop) .sg-tx b mark { color: #f27a14; }
.sg > .sg-row:not(.is-pop) .sg-tx small { margin-top: 3px; font-size: 13px; color: #8a8d9a; }
.sg > .sg-row:not(.is-pop).is-on, .sg > .sg-row:not(.is-pop):hover { background: #fff; box-shadow: 0 0 0 2px #f7861f, 0 6px 14px -8px rgba(160, 80, 20, .4); }
.sg .sg-all { margin-top: 6px; padding: 14px; border-radius: 16px; background: #ece9e4; font-size: 14.5px; font-weight: 900; color: #1c2140; }
.sg .sg-all.is-on, .sg .sg-all:hover { background: #e2ded7; color: #1c2140; }
.sg .sg-none { color: #8a8d9a; }
@media (max-width: 767px) {
  .sg > .sg-row:not(.is-pop) { grid-template-columns: 54px minmax(0, 1fr); gap: 12px; }
  .sg > .sg-row:not(.is-pop) .sg-ph { width: 54px; height: 54px; }
  .sg > .sg-row:not(.is-pop) .sg-tx b { font-size: 14.5px; }
}

/* 하단 줄이기(2026-11-10): 위 여백 · 아이콘 · 글자 · 줄 간격을 작게, 칸 여백을 줄여 설명이 덜 접히게 */
@media (min-width: 768px) {
  .ft { margin-top: 110px; }
  .ft-in { padding-top: 40px; }
  .ft-cols { font-size: 12.5px; line-height: 1.6; }
  .ft-col { gap: 14px; padding: 2px 22px; }
  .ft-ic { width: 50px; height: 50px; border-radius: 14px; }
  .ft-ic img { width: 36px; } .ft-ic svg { width: 32px; height: 32px; }
  .ft-cols b { margin-bottom: 4px; font-size: 15px; }
  .ft-bot { margin-top: 28px; padding: 16px 0 20px; }
  .ft-mark img { height: 46px; }
  .ft-copy { font-size: 14px; line-height: 1.5; padding-left: 22px; }
  .ft-links { font-size: 13px; }
  .ft::before { height: 64px; } .ft::after { height: 80px; }
}

/* 쿠지 경품 카드: 사진 위 표시(등급 · 종 수 · 사진 수)를 크게 */
.kj-rank { top: 12px; left: 12px; height: 34px; min-width: 52px; padding: 0 15px; font-size: 17px; }
.kj-kinds { height: 32px; min-width: 46px; padding: 0 13px; font-size: 15px; }
.kj-shots { height: 30px; gap: 6px; padding: 0 12px; font-size: 14px; }
.kj-shots svg { width: 16px; height: 16px; }
@media (max-width: 767px) {
  .kj-rank { top: 8px; left: 8px; height: 28px; min-width: 42px; padding: 0 11px; font-size: 14px; }
  .kj-kinds { height: 26px; min-width: 38px; padding: 0 10px; font-size: 13px; }
  .kj-shots { height: 26px; padding: 0 9px; font-size: 13px; }
  .kj-shots svg { width: 14px; height: 14px; }
}
