/* 구독포켓 — 주머니(포켓)·펠트·박음질.
   귀여운 것(3D 그림·움직임)은 상품 쪽에, 딱딱한 것(표·구분선·등록번호)은 돈·신원 쪽에 둔다.
   글꼴: Noto Sans KR(화면·포스터 공통) + Noto Serif KR(보증서·판매자 정보 머리).
   색: 종이 / 잉크 / 포켓 초록 / 실 노랑 / 경고 주홍 — 다른 색을 들이지 않는다. */
:root {
  --paper: #f2f5ee;
  --card: #ffffff;
  --cream: #fffdf6;
  --ink: #14211a;
  --ink-2: #465249;
  --ink-3: #6a766f;
  --line: #d6ddd3;
  --edge: #dce4d9;
  --field-line: #8a968e;   /* 입력칸 테두리 — 흰 면 대비 약 3:1 (옅은 --line 은 1.4:1 이라 칸이 어디인지 안 보였다) */
  --pocket: #1c6648;
  --pocket-deep: #114330;
  --pocket-tint: #e3efe7;
  --thread: #f1b62c;
  --warn: #b8401c;
  --warn-tint: #fbece6;
  --r-s: 12px;
  --r-m: 18px;
  --r-l: 26px;
  --wrap: 1120px;
  --shadow: 0 0 0 1px var(--edge), 0 22px 44px -26px rgba(17, 67, 48, .55);
  --shadow-sm: 0 0 0 1px var(--edge), 0 10px 22px -14px rgba(17, 67, 48, .45);
  --font: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --serif: "Noto Serif KR", "Batang", "AppleMyungjo", serif;
  /* 진한 면에 까는 천 질감(잔 알갱이) */
  --felt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.65; letter-spacing: -0.02em;
  word-break: keep-all; overflow-wrap: anywhere;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
/* 진한 면(초록·잉크) 위에서는 잉크색 테두리가 묻힌다 */
.strip :focus-visible, .foot :focus-visible, .panel :focus-visible, .band :focus-visible, .buypocket :focus-visible, .endcta .box :focus-visible, .chat-head :focus-visible, .chat-fab:focus-visible { outline-color: var(--thread); }
/* 제목은 줄 길이를 고르게, 본문은 한두 글자만 떨어지는 외톨이 줄을 피한다 */
h1, h2, h3, .lead, .trust b, .steps strong { text-wrap: balance; }
p, li, dd, td { text-wrap: pretty; }
/* 본문으로 건너뛰기(키보드) */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; font-weight: 800; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 8px; }
.num { font-variant-numeric: tabular-nums; }
.nw { white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 박음질(굵고 끝이 둥근 땀) — partials/stitch.blade.php */
.stitch { position: absolute; left: var(--si, 12px); top: var(--si, 12px); width: calc(100% - 2 * var(--si, 12px)); height: calc(100% - 2 * var(--si, 12px)); pointer-events: none; overflow: visible; }
.stitch rect { x: 2px; y: 2px; width: calc(100% - 4px); height: calc(100% - 4px); fill: none; stroke: var(--thread); stroke-width: 3.5; stroke-dasharray: 13 10; stroke-linecap: round; }
.stitch-line { display: block; height: 4px; border: 0; background: repeating-linear-gradient(90deg, var(--thread) 0 13px, transparent 13px 23px); border-radius: 2px; }

/* ── 띠·머리·바닥 ───────────────────────── */
.strip { background: var(--ink); color: #e6ece8; font-size: 13.5px; }
.strip .wrap { display: flex; justify-content: space-between; gap: 16px; min-height: 36px; align-items: center; }
.strip a { color: #fff; text-decoration: none; font-weight: 700; }
.top { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 900; font-size: 23px; letter-spacing: -0.06em; text-decoration: none; }
.logo svg { width: 32px; height: 32px; flex: none; }
.nav { display: flex; align-items: center; gap: 2px; font-size: 16px; font-weight: 700; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--card); }
.nav a.key { margin-left: 6px; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.nav .s { display: none; }

.foot { margin-top: 96px; background: var(--felt), var(--pocket-deep); color: #cfe0d6; font-size: 15px; line-height: 1.75; }
.foot .wrap { padding-top: 44px; padding-bottom: 48px; display: grid; gap: 32px 40px; grid-template-columns: 1.35fr 1fr 1fr; }
.foot h2 { font-size: 15px; font-weight: 900; color: #fff; margin-bottom: 10px; letter-spacing: -0.02em; }
.foot dl { display: grid; grid-template-columns: 7.2em 1fr; gap: 3px 10px; }
.foot dt { color: #9fbcad; }
.foot dd { color: #fff; }
.foot a { color: #fff; text-underline-offset: 3px; }
.foot .tel { font-size: 26px; font-weight: 900; letter-spacing: -0.03em; text-decoration: none; display: block; line-height: 1.3; }
.foot .links { display: grid; gap: 0; }
.foot .links a { padding: 7px 0; }
.foot .fine { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 18px; color: #9fbcad; font-size: 13px; }

/* ── 글자 ───────────────────────────────── */
.h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.2; font-weight: 900; letter-spacing: -0.055em; }
.h2 { font-size: clamp(25px, 3.8vw, 38px); line-height: 1.26; font-weight: 900; letter-spacing: -0.055em; }
.h3 { font-size: 18px; line-height: 1.4; font-weight: 800; letter-spacing: -0.03em; }
.hl { background: linear-gradient(transparent 62%, rgba(241, 182, 44, .6) 62% 96%, transparent 96%); }
.lead { font-size: clamp(16.5px, 2vw, 19px); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.section { padding-top: 96px; }
.sec-head { margin-bottom: 28px; }
.sec-head .lead { margin-top: 10px; max-width: 34em; }
.section > .h2 + * { margin-top: 24px; }
.prose p + p { margin-top: 12px; }
.prose h2 { font-size: 20px; font-weight: 900; letter-spacing: -0.04em; margin: 36px 0 10px; }
.prose ul { list-style: disc; padding-left: 20px; }
.prose ol { list-style: decimal; padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--pocket); font-weight: 700; }

/* ── 버튼 ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 28px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--pocket); color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; letter-spacing: -0.03em;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { background: var(--pocket-deep); }
.btn:active { transform: scale(.98); }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--card); }
.btn.sun { background: var(--thread); color: var(--ink); }
.btn.sun:hover { background: #ffc94a; }
.btn.sm { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn[disabled], .btn.off { background: var(--line); color: var(--ink-3); cursor: not-allowed; box-shadow: none; }
.textlink { color: var(--pocket); font-weight: 800; text-underline-offset: 3px; }

/* ── 포스터 이미지(글자가 박힌 그림) ──────────── */
.art { display: block; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-sm); }
.art img { display: block; width: 100%; height: auto; }

/* ── 펠트 숫자(가격) — partials/felt.blade.php ── */
.felt { display: inline-flex; align-items: flex-end; line-height: 1; white-space: nowrap; }
.felt img { height: 1em; width: auto; margin: 0 -.035em; flex: none; }
.felt img.c { height: .44em; margin: 0 -.02em -.13em; }
.felt b { font-size: .4em; font-weight: 900; color: var(--pocket); margin-left: .1em; padding-bottom: .14em; letter-spacing: -0.04em; }

/* ── 첫 화면 ────────────────────────────── */
.hero { padding: 44px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 44px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 800; color: var(--pocket); }
.kicker img { width: 30px; height: 30px; }
.lockup { margin-top: 10px; }
.lockup .name { display: block; font-size: clamp(27px, 3.6vw, 42px); font-weight: 900; letter-spacing: -0.055em; line-height: 1.25; }
.lockup .felt { font-size: clamp(74px, 10.2vw, 124px); margin: 8px 0 0 -4px; }
.lockup .stitch-line { width: min(100%, 430px); margin-top: 14px; }
.hero .sub { margin-top: 18px; font-size: clamp(16px, 1.9vw, 19px); color: var(--ink-2); font-weight: 500; }
.hero .sub b { color: var(--ink); font-weight: 800; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero .micro { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }

/* 진한 무대 패널: 천 질감 + 박음질 + 옅은 아치 앞에 포켓 */
.panel { position: relative; aspect-ratio: 500 / 520; border-radius: 36px; overflow: hidden; background: var(--felt), radial-gradient(120% 100% at 50% 100%, #2b7d5a 0%, #1c6648 42%, #0f3a2a 100%); --si: 14px; }
.panel .arch { position: absolute; left: 13%; right: 13%; top: 25%; bottom: -3%; background: var(--pocket-tint); border-radius: 999px 999px 0 0; }
.panel .stage { position: absolute; left: 50%; bottom: 5%; width: 66%; margin: 0 0 0 -33%; }
.panel .stage::before { display: none; }
.panel .prop { position: absolute; z-index: 4; animation: float 6.5s ease-in-out infinite; }
.panel .p1 { width: 15%; left: 3.5%; top: 5%; }
.panel .p2 { width: 13%; right: 3.5%; top: 5.5%; animation-delay: -2.2s; }
.panel .p3 { width: 13%; left: 5%; bottom: 20%; animation-delay: -4.1s; }
.panel .p4 { width: 14%; right: 5%; bottom: 24%; animation-delay: -1.2s; }
.panel.wide { aspect-ratio: 16 / 10.4; border-radius: var(--r-l); margin-top: 26px; }
.panel.wide .arch { left: 26%; right: 26%; top: 22%; }
.panel.wide .stage { width: 40%; margin-left: -20%; bottom: 4%; }
.panel.wide .p1 { width: 11%; left: 9%; top: 14%; } .panel.wide .p2 { width: 10%; right: 10%; top: 12%; }
.panel.wide .p3 { width: 9%; left: 13%; bottom: 16%; } .panel.wide .p4 { width: 10%; right: 12%; bottom: 18%; }

/* 포켓 무대: 3D 포켓 이미지 뒤에서 이용권 카드가 올라온다 */
.stage { position: relative; width: min(100%, 440px); aspect-ratio: 1 / 1.3; margin: 0 auto; container-type: inline-size; }
.stage::before { content: ""; position: absolute; left: 4%; right: 4%; top: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--pocket-tint); }
.stage::after { content: ""; position: absolute; left: 16%; right: 16%; bottom: -.5%; height: 5%; border-radius: 50%; background: rgba(8, 40, 28, .4); filter: blur(12px); }
.stage .pocket-img { position: absolute; left: 6%; bottom: 2%; width: 88%; z-index: 3; pointer-events: none; user-select: none; animation: pocketSquash 1.7s ease-out .2s both; transform-origin: 50% 100%; }
.tk {
  position: absolute; z-index: 2; top: 0; left: 5%; width: 44%; aspect-ratio: .72; --r: -8deg; --d: .35s;
  background: var(--cream); border-radius: 16px; padding: 7% 6%; text-decoration: none; color: var(--ink);
  box-shadow: 0 0 0 1px rgba(20, 33, 26, .08), 0 18px 30px -18px rgba(0, 0, 0, .55);
  transform-origin: 50% 100%; transform: rotate(var(--r));
  animation: tkUp 1s cubic-bezier(.2, 1.25, .35, 1) var(--d) both, tkBob 5.5s ease-in-out calc(var(--d) + 1s) infinite;
  display: flex; flex-direction: column; gap: 2px;
}
.tk + .tk { left: 51%; top: -2%; --r: 7deg; --d: .6s; }
.tk > img { width: 28%; margin-bottom: 3%; }
.tk .maker { display: none; }
.tk .name { font-size: 18px; font-size: 5.1cqw; font-weight: 900; letter-spacing: -0.05em; line-height: 1.25; }
.tk .price { font-size: 24px; font-size: 6.9cqw; font-weight: 900; letter-spacing: -0.05em; line-height: 1.2; color: var(--pocket); white-space: nowrap; }
.tk:hover { animation-play-state: running, paused; box-shadow: 0 0 0 2px var(--thread), 0 18px 30px -18px rgba(0, 0, 0, .55); }
.stage.one .tk { left: 28%; --r: -5deg; }
.spk { position: absolute; z-index: 4; width: 10%; top: 1%; left: 44%; animation: twinkle 3.2s ease-in-out infinite; pointer-events: none; }
.spk.b { width: 7%; top: 34%; left: auto; right: 0; animation-delay: 1.1s; }
.stage.one .spk:not(.b) { left: 76%; top: 8%; }
@keyframes tkUp { from { transform: translateY(76%) rotate(0deg); } to { transform: translateY(0) rotate(var(--r)); } }
@keyframes tkBob { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-3.5%) rotate(calc(var(--r) * .8)); } }
@keyframes pocketSquash { 0% { transform: scale(1); } 28% { transform: scale(1.03, .965); } 55% { transform: scale(.99, 1.012); } 100% { transform: scale(1); } }
@keyframes twinkle { 0%, 100% { transform: scale(.55) rotate(-12deg); opacity: .35; } 50% { transform: scale(1) rotate(8deg); opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }

/* 신뢰 4칸 — 패널 아래 끝에 걸친다 */
.trust { position: relative; z-index: 5; margin-top: -30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow); }
.trust li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0 12px; align-items: center; padding: 20px 18px; }
.trust li + li { border-left: 1px solid var(--line); }
.trust img { width: 52px; height: 52px; grid-row: span 2; }
.trust b { font-size: 16.5px; font-weight: 900; letter-spacing: -0.04em; line-height: 1.35; align-self: end; }
.trust span { font-size: 14px; color: var(--ink-2); line-height: 1.45; align-self: start; }
.trust a { color: var(--pocket); font-weight: 700; text-underline-offset: 3px; }

/* ── 가격 막대 (포스터가 없을 때의 글자 구역) ── */
.band { background: var(--felt), var(--pocket-deep); color: #fff; padding: 56px 48px; border-radius: var(--r-l); position: relative; --si: 14px; }
.band .lead { color: #cfe0d6; margin-top: 10px; }
.bars { display: grid; gap: 30px; margin-top: 32px; }
.bars h3 { font-size: 15px; font-weight: 700; color: #a9c2b4; margin-bottom: 10px; }
.bar-row { display: grid; grid-template-columns: 8.5em 1fr; align-items: center; gap: 12px; }
.bar-row + .bar-row { margin-top: 10px; }
.bar-row .who { font-size: 15px; font-weight: 700; color: #cfe0d6; }
.bar-row.ours .who { color: #fff; font-weight: 900; }
.bar-track { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bar { height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .22); width: var(--w); min-width: 6px; flex: none; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.bar-row.ours .bar { background: var(--thread); transition-delay: .5s; }
.in .bar { transform: scaleX(1); }
.bar-track b { font-size: clamp(17px, 2.6vw, 22px); font-weight: 900; letter-spacing: -0.04em; white-space: nowrap; opacity: 0; transition: opacity .5s ease .9s; }
.bar-row.ours .bar-track b { color: var(--thread); transition-delay: 1.3s; }
.in .bar-track b { opacity: 1; }
.band .fine { margin-top: 24px; font-size: 13px; color: #a9c2b4; }
.bars.light { margin-top: 22px; background: var(--card); border-radius: var(--r-m); padding: 24px; box-shadow: var(--shadow-sm); gap: 0; }
.bars.light h3 { color: var(--ink-2); }
.bars.light .who { color: var(--ink-2); }
.bars.light .ours .who { color: var(--ink); }
.bars.light .bar { background: var(--line); }
.bars.light .ours .bar { background: var(--pocket); }
.bars.light .ours .bar-track b { color: var(--pocket); }
.under-art { margin-top: 14px; font-size: 15px; color: var(--ink-2); }

/* ── 판매자 정보 카드 — 이 사이트에서 가장 문서처럼 ── */
.seller { background: var(--cream); border-radius: var(--r-m); box-shadow: var(--shadow-sm); padding: 28px 30px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 28px; align-items: end; }
.seller h2, .seller h3 { grid-column: 1 / -1; font-family: var(--serif); font-size: 24px; font-weight: 700; letter-spacing: -0.03em; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.seller dl { display: grid; grid-template-columns: 8.4em 1fr; }
.seller dt, .seller dd { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.seller dt { color: var(--ink-2); font-size: 14px; display: flex; align-items: center; }
.seller dd { font-weight: 700; }
.seller .act { display: grid; gap: 8px; justify-items: stretch; padding-bottom: 8px; }
.seller .act small { color: var(--ink-2); font-size: 13px; text-align: center; }
.seller.mini { grid-template-columns: minmax(0, 1fr); padding: 22px; }
.seller.mini h3 { font-size: 19px; padding-bottom: 10px; }
.seller.mini dl { grid-template-columns: 6.6em 1fr; }
.seller.mini dt, .seller.mini dd { padding: 8px 0; font-size: 14.5px; }
.seller.mini .act { padding: 6px 0 0; }

/* ── 이용권 카드(티켓) ──────────────────────── */
.goods { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.good { background: var(--card); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-sm); display: grid; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.good:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.good.main { grid-template-columns: 46% 1fr; }
.good .gscene { position: relative; min-height: 230px; background: linear-gradient(160deg, #e3efe7, #cfe6d6); overflow: hidden; }
.good .gscene .big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); font-size: 220px; font-weight: 900; line-height: 1; letter-spacing: -0.08em; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.good .gscene img { position: absolute; }
.good .gscene .a { width: 46%; left: 27%; top: 22%; }
.good .gscene .b { width: 24%; left: 7%; top: 12%; }
.good .gscene .c { width: 22%; right: 8%; top: 14%; }
.good .gscene .d { width: 22%; right: 12%; bottom: 10%; }
.good:not(.main) .gscene { min-height: 190px; }
.good:not(.main) .gscene .a { width: 34%; left: 33%; top: 18%; }
.good:not(.main) .gscene .big { font-size: 190px; }
.good .body { padding: 24px 26px 26px; display: flex; flex-direction: column; position: relative; }
.good.main .body { border-left: 3px dashed var(--thread); }
.good:not(.main) .body { border-top: 3px dashed var(--thread); }
.good .maker { font-size: 14px; font-weight: 700; color: var(--ink-3); }
.good .name { font-size: 24px; font-weight: 900; letter-spacing: -0.05em; line-height: 1.3; }
.good .price { margin-top: 10px; font-size: 40px; font-weight: 900; letter-spacing: -0.055em; line-height: 1.1; }
.good .price small { font-size: 20px; font-weight: 800; margin-left: 1px; }
.good .per { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.good .ticks { margin: 16px 0 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.good .btn { margin-top: auto; }
.good.soldout .price { color: var(--ink-3); }

/* ── 보증: 보증서 + 타임라인 ────────────────── */
.gwrap { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.gside { background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow-sm); padding: 30px 28px; display: flex; flex-direction: column; justify-content: flex-start; }
.wl { --cut: 33.33%; }
.wl-label { font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 50px; }
.wl-bar { position: relative; height: 30px; border-radius: 15px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.wl-bar i { position: absolute; top: 0; bottom: 0; }
.wl-used { left: 0; width: var(--cut); border-radius: 15px 0 0 15px; background: #c3cdc5; transform-origin: 0 50%; transform: scaleX(0); transition: transform .9s ease; }
.wl-rest { left: var(--cut); right: 0; border-radius: 0 15px 15px 0; background: var(--thread); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1s ease 1.2s; }
.wl-pin { position: absolute; left: var(--cut); top: -9px; bottom: -9px; width: 3px; margin-left: -1.5px; background: var(--ink); border-radius: 2px; opacity: 0; transition: opacity .3s ease .9s; }
.wl-pin span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 6px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 9px; border-radius: 8px; white-space: nowrap; }
.wl-ends { display: flex; justify-content: space-between; font-size: 14.5px; font-weight: 700; color: var(--ink-2); margin-top: 8px; }
.wl-key { display: flex; gap: 14px; font-size: 14.5px; color: var(--ink-2); margin-top: 10px; }
.wl-key i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.wl-out { margin-top: 18px; display: grid; gap: 8px; opacity: 0; transform: translateY(8px); transition: opacity .5s ease 2s, transform .5s ease 2s; }
.wl-out > span { display: flex; align-items: center; gap: 10px; background: var(--pocket-tint); border-radius: var(--r-s); padding: 8px 14px 8px 8px; font-weight: 700; font-size: 15.5px; }
.wl-out .t { min-width: 0; }
.wl-out img { width: 48px; height: 48px; flex: none; }
.wl.in .wl-used, .wl.in .wl-rest { transform: scaleX(1); }
.wl.in .wl-pin { opacity: 1; }
.wl.in .wl-out { opacity: 1; transform: none; }

/* 내 보증서(주문 완료·주문 조회) — 주문번호가 찍힌다 */
.mycert { position: relative; background: var(--cream); border-radius: 8px; padding: 30px 28px 26px; margin-top: 18px; box-shadow: inset 0 0 0 6px var(--pocket), inset 0 0 0 8px var(--cream), inset 0 0 0 9.5px var(--thread), var(--shadow-sm); }
.mycert h3 { font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: .4em; margin-right: -.4em; text-align: center; color: var(--pocket-deep); }
.mycert .by { text-align: center; font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.mycert dl { display: grid; grid-template-columns: 6.4em 1fr; margin-top: 16px; border-top: 2px solid var(--pocket); }
.mycert dt, .mycert dd { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.mycert dt { color: var(--pocket); font-weight: 800; font-size: 14px; }
.mycert dd { font-weight: 700; }
.mycert .sign { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.mycert .sign img { width: 64px; height: 64px; flex: none; }

/* 환불 계산기 (보증 안내) */
.calc { background: var(--card); border-radius: var(--r-l); padding: 28px; box-shadow: var(--shadow-sm); }
.calc .tabs { display: inline-flex; background: var(--paper); border-radius: 12px; padding: 4px; gap: 4px; }
.calc .tabs button { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font-weight: 800; font-size: 15px; cursor: pointer; color: var(--ink-2); }
.calc .tabs button[aria-pressed="true"] { background: var(--pocket); color: #fff; }
.calc label { display: block; font-weight: 800; margin: 22px 0 10px; }
.calc input[type=range] { width: 100%; accent-color: var(--pocket); height: 44px; }
.calc .ends { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-2); margin-top: -6px; }
.calc .out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.calc .out div { background: var(--paper); border-radius: 14px; padding: 14px; }
.calc .out div:last-child { background: var(--pocket); color: #fff; }
.calc .out small { display: block; font-size: 13px; font-weight: 700; opacity: .8; }
.calc .out b { font-size: clamp(19px, 3.4vw, 26px); font-weight: 900; letter-spacing: -0.05em; }

/* ── 순서 + 휴대폰 시연 ─────────────────────── */
.how { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 56px; align-items: center; }
/* 상품 상세 본문은 단이 좁아 휴대폰을 위에, 단계를 아래에 둔다 */
.pd-main .how { grid-template-columns: minmax(0, 1fr); gap: 26px; }
.pd-main .art { max-width: 560px; }
.phone { width: 280px; aspect-ratio: 9 / 16.6; margin: 0 auto; border-radius: 42px; background: #0f1a15; padding: 10px; box-shadow: 0 30px 50px -30px rgba(8, 40, 28, .8); position: relative; }
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; width: 86px; height: 22px; margin-left: -43px; background: #0f1a15; border-radius: 0 0 14px 14px; z-index: 5; }
.phone .screen { position: relative; height: 100%; border-radius: 33px; background: #eef2ea; overflow: hidden; }
.phone-note { text-align: center; font-size: 13.5px; color: var(--ink-2); margin-top: 12px; }
.scene { position: absolute; inset: 0; padding: 48px 16px 16px; display: flex; flex-direction: column; opacity: 0; animation: scene 9s linear var(--d, 0s) infinite both; animation-play-state: paused; font-size: 14px; line-height: 1.5; }
/* 음수 지연: 2·3번째 장면이 3초·6초 뒤에 자기 차례를 시작한다(양수 지연은 기다리는 동안 첫 프레임이 비친다) */
.scene:nth-child(2) { --d: -6s; } .scene:nth-child(3) { --d: -3s; }
.in .scene, .in .scene *, .in .sync li { animation-play-state: running; }
.scene .bar-title { font-weight: 900; font-size: 15px; text-align: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.scene .mid { margin: auto 0; padding-bottom: 8%; }
.sms { background: #fff; border-radius: 4px 16px 16px 16px; padding: 11px 13px; box-shadow: 0 2px 8px -4px rgba(0, 0, 0, .25); animation: pop 9s ease var(--d, 0s) infinite both; animation-play-state: paused; }
.sms b { display: block; font-size: 12.5px; color: var(--pocket); margin-bottom: 2px; }
.sms u { color: #1a57c8; word-break: break-all; position: relative; }
.tap { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: rgba(241, 182, 44, .55); box-shadow: 0 0 0 2px var(--thread); left: 30%; top: 50%; margin: -17px 0 0 -17px; opacity: 0; animation: tap 9s ease var(--d, 0s) infinite both; animation-play-state: paused; }
.acct { background: #fff; border-radius: 14px; padding: 12px; display: flex; align-items: center; gap: 10px; box-shadow: inset 0 0 0 1.5px var(--pocket); }
.acct .av { width: 36px; height: 36px; border-radius: 50%; background: var(--pocket); color: #fff; font-weight: 900; display: grid; place-items: center; flex: none; }
.acct small { display: block; color: var(--ink-3); font-size: 12px; }
.fakebtn { margin-top: 12px; background: var(--pocket); color: #fff; text-align: center; font-weight: 800; border-radius: 12px; padding: 12px; position: relative; }
.fakeinput { background: #fff; border-radius: 10px; padding: 9px 12px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 8px; font-size: 13.5px; font-weight: 500; }
.fakeinput small { display: block; color: var(--ink-3); font-size: 11px; }
.okmark { display: block; width: 80px; height: 80px; margin: 0 auto 12px; }
.okmark circle { fill: var(--pocket); transform-origin: 50% 50%; animation: okPop 9s cubic-bezier(.3, 1.5, .5, 1) var(--d, 0s) infinite both; animation-play-state: paused; }
.okmark path { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: okDraw 9s ease var(--d, 0s) infinite both; animation-play-state: paused; }
.scene .done-title { text-align: center; font-weight: 900; font-size: 17px; letter-spacing: -0.04em; }
.scene .done-sub { text-align: center; color: var(--ink-2); margin-top: 2px; }
.probadge { display: inline-block; background: var(--thread); color: var(--ink); font-weight: 900; font-size: 12px; padding: 2px 9px; border-radius: 999px; vertical-align: 2px; }
.scene .rowline { display: flex; justify-content: space-between; background: #fff; border-radius: 10px; padding: 9px 12px; margin-top: 10px; font-size: 13px; }
.scene .rowline b { font-weight: 800; }
@keyframes scene { 0% { opacity: 0; transform: translateX(26px); } 3% { opacity: 1; transform: none; } 31% { opacity: 1; transform: none; } 33.3% { opacity: 0; transform: translateX(-26px); } 100% { opacity: 0; transform: translateX(-26px); } }
@keyframes pop { 0%, 3% { opacity: 0; transform: translateY(14px) scale(.94); } 8% { opacity: 1; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes tap { 0%, 19% { opacity: 0; transform: scale(.4); } 22% { opacity: 1; transform: scale(1); } 27% { opacity: 0; transform: scale(1.7); } 100% { opacity: 0; } }
@keyframes okPop { 0%, 4% { transform: scale(0); } 9% { transform: scale(1); } 100% { transform: scale(1); } }
@keyframes okDraw { 0%, 8% { stroke-dashoffset: 60; } 14% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
@keyframes stepOn { 0% { background: var(--card); box-shadow: var(--shadow-sm); } 31% { background: var(--card); box-shadow: var(--shadow-sm); } 33.3%, 100% { background: transparent; box-shadow: none; } }

.steps { counter-reset: s; display: grid; gap: 6px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 50px 1fr; gap: 2px 14px; padding: 18px 20px; border-radius: var(--r-m); align-items: center; }
.steps li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 13px; background: var(--pocket); color: #fff; display: grid; place-items: center; font-size: 21px; font-weight: 900; }
.steps strong { font-size: 19px; font-weight: 900; letter-spacing: -0.045em; line-height: 1.4; }
.steps span { grid-column: 2; color: var(--ink-2); font-size: 15.5px; }
.sync li { animation: stepOn 9s linear var(--d, 0s) infinite both; animation-play-state: paused; }
.sync li:nth-child(2) { --d: -6s; } .sync li:nth-child(3) { --d: -3s; }

/* 구매 전 확인사항 — 경고 띠 */
.checks { display: grid; gap: 8px; }
.checks li { background: var(--warn-tint); border-left: 4px solid var(--warn); border-radius: 0 10px 10px 0; padding: 12px 14px; font-size: 14.5px; line-height: 1.55; }
.prebuy { margin-top: 14px; }
.prebuy h3 { font-size: 15px; font-weight: 900; margin-bottom: 8px; }

/* ── 핵심 4칸 / 기능 ─────────────────────────── */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.facts li { background: var(--card); border-radius: var(--r-m); padding: 16px 12px; text-align: center; box-shadow: var(--shadow-sm); font-weight: 800; font-size: 15px; letter-spacing: -0.04em; line-height: 1.4; }
.facts img { width: 64px; height: 64px; display: block; margin: 0 auto 8px; }
.feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feat li { background: var(--card); border-radius: var(--r-m); padding: 14px 16px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-sm); font-weight: 800; letter-spacing: -0.04em; }
.feat li:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.feat img { width: 58px; height: 58px; flex: none; }

/* ── 끝 띠 ─────────────────────────────────── */
.endcta { margin-top: 96px; }
.endcta .box { position: relative; background: var(--felt), var(--pocket); color: #fff; border-radius: 30px; padding: 44px 40px; display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 24px 30px; align-items: center; --si: 13px; overflow: hidden; }
.endcta .box > :not(.stitch) { position: relative; }
.endcta .pk { width: 150px; }
.endcta p { color: #d4e6dc; margin-top: 8px; }
.endcta .cta-row { margin-top: 0; }
.endcta .btn.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.endcta .btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.endcta + .foot { margin-top: 64px; }

/* ── 표 ─────────────────────────────────── */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-m); background: var(--card); box-shadow: var(--shadow-sm); }
table.t { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 460px; }
table.t th, table.t td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.t tr:last-child th, table.t tr:last-child td { border-bottom: 0; }
table.t thead th { font-size: 14px; color: var(--ink-2); font-weight: 800; background: var(--pocket-tint); }
table.t thead th.ours { background: var(--pocket); color: #fff; }
table.t tbody th { font-weight: 800; white-space: nowrap; width: 9.5em; }
table.t .ours { background: var(--pocket-tint); font-weight: 800; }

/* ── 목록·질문 ───────────────────────────── */
.ticks { display: grid; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .52em; width: 12px; height: 7px; border-left: 2.5px solid var(--pocket); border-bottom: 2.5px solid var(--pocket); transform: rotate(-45deg); }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--card); border-radius: var(--r-m); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 50px 18px 22px; font-weight: 800; font-size: 17px; letter-spacing: -0.04em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2.5px solid var(--ink-3); border-bottom: 2.5px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 22px 18px; color: var(--ink-2); max-width: 46em; }
.pagehead { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 20px; align-items: center; padding-top: 44px; }
.pagehead img { width: 150px; }
.pagehead .lead { margin-top: 12px; }

/* ── 상품 상세 ───────────────────────────── */
.crumb { padding: 20px 0 0; font-size: 14px; color: var(--ink-2); }
.crumb a { text-underline-offset: 3px; }
.pd { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "head buy" "main buy"; column-gap: 52px; align-items: start; padding-top: 18px; }
.pd-head { grid-area: head; }
.pd-main { grid-area: main; min-width: 0; }
.pd .buy { grid-area: buy; }
.pd-main > .section:first-of-type { padding-top: 64px; }
.pd-head .maker { font-weight: 700; color: var(--ink-2); }
.pd-head .h1 { margin-top: 2px; }
.pd-head .lead { margin-top: 12px; }
.buy { position: sticky; top: 88px; }
.buybox { background: var(--card); border-radius: var(--r-l) var(--r-l) 0 0; padding: 26px 24px 46px; box-shadow: var(--shadow-sm); }
.buybox .name { font-weight: 800; font-size: 16px; }
.buybox .price { font-size: 50px; font-weight: 900; letter-spacing: -0.06em; line-height: 1.1; margin-top: 4px; }
.buybox .price small { font-size: 23px; font-weight: 900; margin-left: 2px; }
.buybox .per { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.buybox .per b { color: var(--pocket); font-weight: 900; }
.info { display: grid; grid-template-columns: 5.4em 1fr; margin-top: 16px; border-top: 1px solid var(--line); }
.info dt, .info dd { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; }
.info dt { color: var(--ink-2); font-size: 13.5px; }
.info dd { font-weight: 700; }
.info a { color: var(--pocket); text-underline-offset: 3px; }
.buypocket { position: relative; margin-top: -26px; background: var(--felt), var(--pocket); border-radius: 6px 6px var(--r-l) var(--r-l); padding: 26px 24px 22px; --si: 9px; }
.buypocket::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--pocket-deep); border-radius: 6px 6px 0 0; }
.buypocket .btn { position: relative; background: var(--thread); color: var(--ink); }
.buypocket .btn:hover { background: #ffc94a; }
.buypocket p { position: relative; color: #d4e6dc; font-size: 14px; margin-top: 10px; text-align: center; }
.buypocket p a { color: #fff; text-underline-offset: 3px; }
.buypocket .closed { color: #fff; font-weight: 800; font-size: 17px; margin: 4px 0 0; }
.stickybuy { display: none; }
.callout { background: var(--card); border-radius: var(--r-m); padding: 20px; box-shadow: var(--shadow-sm); }
.callout.tint { background: var(--pocket-tint); box-shadow: none; }

/* ── 주문서·폼 ───────────────────────────── */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; padding-top: 28px; }
.fieldset { border: 0; padding: 0; margin: 0 0 36px; }
.fieldset legend { font-size: 20px; font-weight: 900; letter-spacing: -0.05em; padding: 0 0 12px; width: 100%; border-bottom: 2px solid var(--ink); margin-bottom: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.field label em { font-style: normal; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 14px; background: var(--card);
  border: 1.5px solid var(--field-line); border-radius: 12px; font-size: 16px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pocket); box-shadow: 0 0 0 3px rgba(28, 102, 72, .32); }
.field .hint { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.err, .err-box { color: var(--warn); font-size: 14px; font-weight: 700; margin-top: 6px; }
.field.bad input, .field.bad textarea { border-color: var(--warn); }
.err-box { background: var(--warn-tint); border-radius: 10px; padding: 12px 14px; margin: 0 0 20px; }
.ok-box { background: var(--pocket-tint); border-radius: 10px; padding: 12px 14px; margin: 0 0 20px; font-weight: 700; color: var(--pocket-deep); }
.payee { background: var(--cream); border-radius: var(--r-s); box-shadow: inset 0 0 0 1px var(--line); padding: 12px 14px; margin-bottom: 16px; font-size: 15px; }
.payee b { font-weight: 900; }
.agree { display: grid; gap: 4px; }
.agree label { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 10px 14px; cursor: pointer; align-items: start; border-radius: 12px; }
.agree .err { margin: -2px 0 6px 48px; }
.agree label.bad { box-shadow: inset 0 0 0 1.5px var(--warn); }
.agree input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--pocket); }
.agree a { color: var(--pocket); font-weight: 700; text-underline-offset: 3px; }
.agree .key { background: var(--pocket-tint); padding: 14px; }
.summary { background: var(--card); border-radius: var(--r-l); padding: 24px; position: sticky; top: 88px; box-shadow: var(--shadow-sm); }
.summary .sumpic { display: flex; align-items: center; gap: 12px; }
.summary .sumpic img { width: 64px; height: 64px; background: var(--pocket-tint); border-radius: 16px; padding: 6px; flex: none; }
.summary .total { margin-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.summary .total b { font-size: 30px; font-weight: 900; letter-spacing: -0.05em; }

/* ── 주문 완료·조회 ──────────────────────── */
.track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 28px 0 28px; position: relative; }
.track::before { content: ""; position: absolute; left: 16.66%; right: 16.66%; top: 36px; border-top: 3px dashed var(--line); }
.track::after { content: ""; position: absolute; left: 16.66%; top: 36px; width: calc(66.66% * var(--p, 0)); border-top: 3px solid var(--pocket); transition: width 1s ease .2s; }
.track li { position: relative; z-index: 1; text-align: center; font-size: 14px; font-weight: 800; color: var(--ink-3); }
.track .dot { width: 72px; height: 72px; margin: 0 auto 8px; border-radius: 50%; background: var(--card); display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--line); }
.track img { width: 46px; height: 46px; filter: grayscale(1); opacity: .5; }
.track .on { color: var(--ink); }
.track .on .dot { box-shadow: inset 0 0 0 3px var(--pocket); }
.track .on img { filter: none; opacity: 1; }
.track .now .dot { animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: inset 0 0 0 3px var(--pocket), 0 0 0 0 rgba(28, 102, 72, .45); } 100% { box-shadow: inset 0 0 0 3px var(--pocket), 0 0 0 16px rgba(28, 102, 72, 0); } }
.slip { background: var(--card); border-radius: var(--r-m); padding: 24px; box-shadow: var(--shadow-sm); }
.slip + .slip { margin-top: 16px; }
.slip > dl { display: grid; grid-template-columns: 7em 1fr; gap: 10px 12px; }
.slip > dl > dt { color: var(--ink-2); font-size: 15px; }
.slip > dl > dd { font-weight: 700; }
.slip .big { font-size: 22px; font-weight: 900; letter-spacing: -0.04em; }
.status { display: inline-block; font-size: 14px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.status.pending { background: #fff6dd; color: #7a5600; box-shadow: none; }
.status.paid { background: var(--pocket-tint); color: var(--pocket-deep); box-shadow: none; }
.status.delivered { background: var(--pocket); color: #fff; box-shadow: none; }
.status.refunded, .status.canceled { background: var(--paper); }
.deliver-box { background: var(--pocket-tint); border: 2px dashed var(--pocket); border-radius: 14px; padding: 16px; margin-top: 14px; }
.deliver-box pre { margin: 0; white-space: pre-wrap; word-break: normal; overflow-wrap: anywhere; font-family: var(--font); font-size: 15px; line-height: 1.6; }
.deliver-box .kind { font-size: 14px; font-weight: 800; color: var(--pocket-deep); margin-bottom: 10px; }
.deliver-box .acts { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.deliver-box .acts .btn { min-height: 52px; }
.deliver-box .url { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.deliver-box dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; }
.deliver-box dt { grid-column: 1 / -1; font-size: 14px; font-weight: 800; color: var(--pocket-deep); margin-top: 10px; }
.deliver-box dt:first-child { margin-top: 0; }
/* 값만 고정폭 글꼴(l·I·1, O·0 을 구분하게). 버튼까지 고정폭이 되면 한글이 벌어진다 */
.deliver-box dd.v { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.deliver-box dd .btn { white-space: nowrap; }
.deliver-box .note { margin-top: 10px; font-size: 14.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.copied { font-size: 13.5px; font-weight: 700; color: var(--pocket-deep); }
.slip .bank { display: block; font-size: 15px; font-weight: 800; }
.slip .acctno { display: block; white-space: nowrap; font-size: clamp(20px, 6.2vw, 24px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.35; }
.slip .holder { display: block; font-weight: 700; }
.slip .copyrow { margin-top: 16px; display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.stack > * + * { margin-top: 14px; }
details.claim { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 14px; }
details.claim > summary { cursor: pointer; font-weight: 800; color: var(--pocket); }
details.claim form { margin-top: 16px; }

/* ── 좁은 화면 ───────────────────────────── */
@media (max-width: 980px) {
  .pd { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "buy" "main"; }
  .pd .buy { position: static; margin-top: 24px; }
  .form-grid { display: flex; flex-direction: column; gap: 0; }
  .form-grid > * { min-width: 0; }
  .form-grid .summary { position: static; order: -1; margin-bottom: 28px; }
  .stickybuy {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--card); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 24px -18px rgba(17, 67, 48, .6);
  }
  .stickybuy b { font-size: 21px; font-weight: 900; letter-spacing: -0.05em; }
  .stickybuy small { display: block; font-size: 12.5px; color: var(--ink-2); line-height: 1.3; }
  .stickybuy .btn { min-height: 48px; }
  /* 아래 고정 구매 띠 높이만큼은 바닥글이 안쪽 여백으로 비운다(body 에 여백을 주면 초록 바닥글 밑에 종이색 띠가 보인다) */
  body.has-stickybuy .foot .wrap { padding-bottom: 172px; }
  .how { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .gwrap { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { display: flex; flex-direction: column; gap: 22px; align-items: stretch; }
  .hero-grid .panel { order: -1; aspect-ratio: 4 / 3; border-radius: var(--r-l); width: 100%; max-width: 620px; margin: 0 auto; }
  .hero-grid .panel .stage { width: 54%; margin-left: -27%; bottom: 3%; }
  .hero-grid .panel .arch { left: 18%; right: 18%; top: 18%; }
  .trust { margin-top: 22px; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 포스터: 이 구간부터 세로형(모바일용)을 쓴다 — 가로형을 줄이면 글자가 10px 까지 내려간다 */
  .art { max-width: 560px; margin-inline: auto; }
  /* 주문서: 요약 카드가 입력칸보다 좁게 줄어들던 것 */
  .form-grid { align-items: stretch; }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .strip .wrap { justify-content: center; }
  .strip .r { display: none; }
  .top .wrap { min-height: 58px; gap: 8px; }
  .logo { font-size: 20px; gap: 7px; }
  .logo svg { width: 27px; height: 27px; }
  .nav { font-size: 14.5px; }
  .nav a { padding: 0 7px; }
  .nav a.key { margin-left: 2px; padding: 0 9px; min-height: 40px; }
  .nav .l { display: none; } .nav .s { display: inline; }
  .nav .pc { display: none; }
  .hero { padding-top: 18px; }
  .panel .p1 { width: 13%; } .panel .p2 { width: 12%; } .panel .p3 { width: 10%; bottom: 14%; } .panel .p4 { width: 11%; bottom: 16%; }
  .cta-row .btn { width: 100%; }
  .trust li { grid-template-columns: 44px minmax(0, 1fr); padding: 14px 12px; gap: 0 10px; }
  .trust img { width: 44px; height: 44px; }
  .trust b { font-size: 14.5px; }
  .trust span { font-size: 13.5px; }
  .section { padding-top: 68px; }
  .band { padding: 40px 24px; }
  .bar-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .bar { height: 34px; }
  .seller { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .seller dl { grid-template-columns: 7em 1fr; }
  .goods { grid-template-columns: minmax(0, 1fr); }
  .good.main { grid-template-columns: minmax(0, 1fr); }
  .good.main .body { border-left: 0; border-top: 3px dashed var(--thread); }
  .good .gscene, .good:not(.main) .gscene { min-height: 170px; }
  .good .gscene .big, .good:not(.main) .gscene .big { font-size: 160px; }
  .good .gscene .a, .good:not(.main) .gscene .a { width: 28%; left: 36%; top: 16%; }
  .good .gscene .b { width: 16%; left: 12%; } .good .gscene .c { width: 15%; right: 12%; } .good .gscene .d { width: 15%; right: 16%; }
  .gside { padding: 24px 20px; }
  .phone { width: 250px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat { grid-template-columns: minmax(0, 1fr); }
  .calc { padding: 22px 18px; }
  .calc .out { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .calc .out div:last-child { grid-column: 1 / -1; }
  .endcta .box { grid-template-columns: minmax(0, 1fr); padding: 36px 26px; }
  .endcta .pk { width: 110px; }
  .pagehead { grid-template-columns: minmax(0, 1fr) 96px; padding-top: 30px; }
  .pagehead img { width: 96px; }
  .panel.wide { aspect-ratio: 4 / 3.3; }
  .panel.wide .stage { width: 52%; margin-left: -26%; }
  .panel.wide .arch { left: 18%; right: 18%; }
  .panel.wide .p3, .panel.wide .p4 { display: none; }
  .foot .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  /* 좁은 화면에서 표를 옆으로 밀지 않는다 — 비교 표의 '구독포켓' 칸이 화면 밖으로 나가면 안 된다 */
  table.t { min-width: 0; font-size: 14.5px; }
  table.t th, table.t td { padding: 12px 10px; }
  table.t tbody th { white-space: normal; width: 38%; }
  /* 상황 → 기준 꼴의 두 칸 표는 쌓는다(첫 칸이 좁아 4줄로 쪼개졌다) */
  table.t.stack thead { display: none; }
  table.t.stack tbody th, table.t.stack tbody td { display: block; width: auto; border-bottom: 0; }
  table.t.stack tbody th { padding-bottom: 2px; font-size: 14px; color: var(--pocket); }
  table.t.stack tbody td { padding-top: 0; border-bottom: 1px solid var(--line); }
  table.t.stack tbody tr:last-child td { border-bottom: 0; }
  .slip { padding: 18px; }
  .slip > dl { grid-template-columns: 6em 1fr; }
  /* 입금 안내: 좁은 화면에서는 이름표를 위에 올려 계좌번호가 한 줄에 들어가게 한다 */
  .slip.pay > dl { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .slip.pay > dl > dt { margin-top: 12px; font-size: 14px; }
  .slip.pay > dl > dt:first-child { margin-top: 0; }
  .mycert { padding: 26px 20px 22px; }
  .track .dot { width: 60px; height: 60px; }
  .track img { width: 38px; height: 38px; }
  .track::before, .track::after { top: 30px; }
}
/* 움직임 줄이기(prefers-reduced-motion) — 2026-10-15 오너 지시 "PC에서 모션이 전혀 없음"으로 전부 끄던 규칙을 없앴다.
   윈도우 '애니메이션 표시' 끔·원격 데스크톱·절전 설정만으로도 이 값이 켜져, PC 방문자 상당수가 정지 화면을 보고 있었다.
   부드러운 화면 이동만 끈다. 다시 전부 끄려면 이 자리에 animation: none 규칙을 되살리고 app.js 의 still 판정을 되돌린다 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* 스크립트가 꺼져 있으면 움직임을 기다리지 않고 끝 상태를 보여 준다 */
html:not(.js) .bar, html:not(.js) .wl-used, html:not(.js) .wl-rest { transform: none; }
html:not(.js) .bar-track b, html:not(.js) .wl-pin, html:not(.js) .wl-out { opacity: 1; transform: none; }
html:not(.js) .scene, html:not(.js) .scene *, html:not(.js) .sync li { animation-play-state: running; }
/* hidden 속성은 display 를 지정한 클래스(.inline-btn, .btn)보다 약하다 — 숨김이 항상 이기게 한다 */
[hidden] { display: none !important; }
/* 회원: 로그인 · 가입 · 내 정보 */
.authbox { max-width: 540px; margin-top: 32px; padding-bottom: 20px; }
.inline-btn { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.inline-btn .btn { min-height: 52px; white-space: nowrap; }
.sms-code { margin-top: 8px; }
.sms-msg { font-size: 14px; font-weight: 700; margin-top: 6px; color: var(--ink-2); }
.sms-msg:empty { display: none; }
.sms-msg.ok { color: var(--pocket-deep); }
.sms-msg.bad { color: var(--warn); }
.field input[readonly] { background: var(--pocket-tint); color: var(--ink-2); }
.authlinks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.btn.danger { background: var(--warn); }
.memberbar { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; background: var(--pocket-tint); border-radius: var(--r-m); padding: 14px 18px; margin-top: 16px; }
.memberbar .acts { display: flex; gap: 16px; align-items: center; }
.memberbar form { display: inline; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
details.more { margin-top: 28px; border-top: 1px dashed var(--line); padding-top: 16px; }
details.more > summary { cursor: pointer; font-weight: 800; color: var(--pocket); }

/* ── 채팅 상담 — partials/chat.blade.php, public/js/chat.js ─────────────
   버튼은 박음질한 포켓 조각, 창 머리는 포켓 초록 천. 대화는 종이 위에 올린다. */
.chat-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 45; display: inline-flex; align-items: center; gap: 8px;
  min-height: 54px; padding: 0 20px 0 15px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--felt), var(--pocket); color: #fff; font-weight: 800; font-size: 15.5px; letter-spacing: -0.03em;
  box-shadow: 0 16px 30px -14px rgba(17, 67, 48, .75);
}
.chat-fab::before { content: ""; position: absolute; inset: 5px; border: 2px dashed var(--thread); border-radius: inherit; opacity: .85; pointer-events: none; }
.chat-fab:hover { background: var(--felt), var(--pocket-deep); }
.chat-fab svg { width: 26px; height: 26px; flex: none; }
.chat-badge { position: absolute; top: -5px; right: -3px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--warn); color: #fff; font-size: 12.5px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--paper); }
.chat.is-open .chat-fab { display: none; }
.chat-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 46; width: 388px; height: min(640px, calc(100vh - 40px)); height: min(640px, calc(100dvh - 40px));
  display: flex; flex-direction: column; overflow: hidden; background: var(--cream); border-radius: var(--r-l);
  box-shadow: 0 0 0 1px var(--edge), 0 32px 64px -26px rgba(17, 67, 48, .65);
}
.chat-head { display: flex; align-items: center; gap: 8px; padding: 6px 6px 4px 16px; background: var(--felt), var(--pocket); color: #fff; flex: none; }
.chat-title { flex: 1; min-width: 0; }
.chat-head strong { display: block; font-size: 16px; font-weight: 900; letter-spacing: -0.035em; line-height: 1.3; }
.chat-head .chat-title span { display: block; font-size: 12px; color: #cfe0d6; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-x { width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; }
.chat-x:hover { background: rgba(255, 255, 255, .12); }
.chat-x svg { width: 22px; height: 22px; }
.chat-panel > .stitch-line { flex: none; margin: 0; height: 8px; border-radius: 0; background: repeating-linear-gradient(90deg, var(--thread) 0 13px, transparent 13px 23px) 12px 1px / calc(100% - 24px) 4px no-repeat, var(--felt), var(--pocket); }
.chat-log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px 10px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { display: grid; gap: 3px; max-width: 86%; }
.chat-msg.me { align-self: flex-end; justify-items: end; }
.chat-msg.them { align-self: flex-start; justify-items: start; }
.chat-who { font-size: 12.5px; font-weight: 800; color: var(--pocket); }
.chat-bubble { padding: 10px 13px; border-radius: 16px; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.chat-bubble p { white-space: pre-wrap; }
.chat-msg.me .chat-bubble { background: var(--pocket); color: #fff; border-bottom-right-radius: 5px; }
.chat-msg.them .chat-bubble { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 5px; }
.chat-bubble a { color: inherit; font-weight: 700; text-underline-offset: 3px; }
.chat-msg.them .chat-bubble a { color: var(--pocket); }
.chat-bubble img { display: block; max-width: 220px; max-height: 260px; border-radius: 10px; }
.chat-bubble video { display: block; width: 240px; max-width: 100%; max-height: 320px; border-radius: 10px; background: #000; }
.chat-bubble a + p { margin-top: 8px; }
.chat-msg time { font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chat-date { align-self: center; font-size: 12.5px; color: var(--ink-3); }
.chat-sys { align-self: center; max-width: 94%; text-align: center; white-space: pre-wrap; background: var(--pocket-tint); color: var(--pocket-deep); border-radius: 12px; padding: 9px 12px; font-size: 13px; font-weight: 700; line-height: 1.5; }
.chat-typing .chat-bubble { display: flex; gap: 5px; padding: 14px; }
.chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: chatDot 1.2s ease-in-out infinite; }
.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-chips { flex: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 14px 10px; }
.chat-chips button { border: 0; cursor: pointer; text-align: left; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--pocket); color: var(--pocket-deep); font-weight: 700; font-size: 14px; line-height: 1.35; min-height: 44px; padding: 8px 14px; border-radius: 22px; }
.chat-chips button:hover { background: var(--pocket-tint); }
.chat-mode { flex: none; display: flex; align-items: center; }
.chat-modebtn { border: 0; cursor: pointer; white-space: nowrap; background: var(--thread); color: var(--ink); font-weight: 800; font-size: 13px; min-height: 34px; padding: 0 12px; border-radius: 999px; }
.chat-modebtn:hover { filter: brightness(1.06); }
.chat-modebtn[disabled] { opacity: .5; cursor: default; }
.chat-form { flex: none; border-top: 1px solid var(--line); background: var(--card); padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); }
.chat-row { display: flex; align-items: flex-end; gap: 6px; }
.chat-row textarea { flex: 1; min-width: 0; min-height: 44px; max-height: 120px; resize: none; border: 1.5px solid var(--field-line); border-radius: 12px; padding: 10px 12px; font-size: 16px; line-height: 1.4; background: var(--cream); }
.chat-row textarea:focus { outline: none; border-color: var(--pocket); box-shadow: 0 0 0 3px rgba(28, 102, 72, .32); }
.chat-clip, .chat-send { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: 12px; cursor: pointer; }
.chat-clip { background: transparent; color: var(--ink-2); }
.chat-clip:hover { background: var(--paper); }
.chat-clip:focus-within { outline: 3px solid var(--thread); outline-offset: 2px; }
.chat-clip svg, .chat-send svg { width: 22px; height: 22px; }
.chat-send { background: var(--pocket); color: #fff; }
.chat-send:hover { background: var(--pocket-deep); }
.chat-send[disabled] { background: var(--line); color: var(--ink-3); cursor: default; }
.chat-attach { display: flex; justify-content: space-between; gap: 10px; padding: 0 4px 8px; font-size: 13.5px; color: var(--ink-2); }
.chat-attach span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-attach button { border: 0; padding: 0; background: none; color: var(--warn); font-weight: 700; cursor: pointer; }
.chat-err { margin-top: 6px; padding: 0 4px; color: var(--warn); font-size: 13.5px; font-weight: 700; }
@media (max-width: 980px) {
  body.has-stickybuy .chat-fab { bottom: calc(88px + env(safe-area-inset-bottom)); }
}
@media (max-width: 720px) {
  .chat-fab { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: 56px; min-height: 56px; padding: 0; justify-content: center; }
  .chat-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .chat-panel { top: var(--chat-top, 0px); left: 0; right: 0; bottom: auto; width: auto; height: 100vh; height: var(--chat-h, 100dvh); border-radius: 0; }
  /* 모바일 채팅: 대화 칸을 넓게 — 빠른 질문은 옆으로 넘기는 한 줄, 키보드가 떠 있으면(.kb) 빠른 질문을 접는다 */
  .chat-log { padding: 12px 12px 8px; }
  .chat-msg { max-width: 90%; }
  .chat-bubble { font-size: 15.5px; }
  .chat-chips { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 4px 12px 8px; -webkit-overflow-scrolling: touch; }
  .chat-chips::-webkit-scrollbar { display: none; }
  .chat-chips button { flex: none; white-space: nowrap; min-height: 38px; padding: 6px 13px; font-size: 13.5px; }
  .chat-form { padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); }
  .chat-panel.kb .chat-chips { display: none; }
  .chat-panel.kb .chat-form { padding-bottom: 8px; }
  html.chat-on, html.chat-on body { overflow: hidden; }
}
@media print { .chat { display: none; } }
/* 채팅 버튼이 화면 맨 아래에 떠 있다 — 바닥글 마지막 줄이 버튼에 가리지 않게 자리를 남긴다 */
.foot .wrap { padding-bottom: 92px; }

/* 주문 완료·주문 조회: 버튼 옆에 놓는 보조 동작(주문 취소) */
.row-acts { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.row-acts form { display: inline; }
/* 환불 계좌 입력(환불로 처리됐는데 계좌를 받지 못한 주문) */
.refund-acct { margin-top: 16px; padding: 18px; border: 1px solid var(--edge); border-radius: var(--r-m); background: var(--pocket-tint); }
.refund-acct > p { margin-bottom: 14px; }
.refund-acct .btn { margin-top: 4px; }

/* ── 2026-10-13 디자인 적대적 검증에서 더한 부품 ─────────────── */
/* 폼 맨 위 오류 요약 — 제출이 실패하면 화면이 맨 위로 돌아오는데 오류는 800px 아래에 있었다 */
.err-sum { background: var(--warn-tint); color: var(--warn); border-radius: 10px; padding: 12px 14px; margin: 0 0 20px; font-size: 14.5px; font-weight: 800; }
/* 비밀번호 보기 버튼 */
.pw { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.pw .btn { min-height: 52px; }
/* 파일 첨부: 브라우저 기본 버튼 대신 사이트 버튼 모양 */
.field input[type=file] { padding: 8px; }
.field input[type=file]::file-selector-button { margin-right: 12px; border: 0; border-radius: 10px; padding: 9px 14px; background: var(--ink); color: #fff; font: inherit; font-weight: 800; font-size: 14.5px; cursor: pointer; }
/* 펼침(교체·환불 신청, 비회원 주문 불러오기): 질문 목록과 같은 화살표 */
details.claim > summary, details.more > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
details.claim > summary::-webkit-details-marker, details.more > summary::-webkit-details-marker { display: none; }
details.claim > summary::after, details.more > summary::after { content: ""; width: 9px; height: 9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .2s ease; flex: none; }
details.claim[open] > summary::after, details.more[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
/* 줄 하나를 차지하는 글자 링크는 누르기 쉽게 */
p > .textlink:only-child { display: inline-block; padding: 9px 0; }
/* 홈 보증 구역 오른쪽 카드 아래: 상황별 기준 두 줄 */
.gside .cases { margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line); display: grid; gap: 12px; }
.gside .cases dt { font-size: 14.5px; font-weight: 800; color: var(--pocket); }
.gside .cases dd { font-size: 15.5px; font-weight: 700; margin-top: 2px; }
.gside .more { margin-top: auto; padding-top: 20px; }

/* ── 입력칸 배치 ─────────────────────────────
   열맞춤: 한 폼의 칸은 모두 같은 양 끝에 맞춘다. 짧은 칸 둘은 한 줄에(.frow — 두 칸 사이 16px), 혼자 서는 칸은 폼 폭 전체.
   열린 칸 하나짜리(입금자명·현금영수증 번호)는 왼쪽 열 폭(.half). 좁은 화면은 한 줄에 하나 */
.frow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; align-items: start; }
@media (max-width: 640px) { .frow { grid-template-columns: minmax(0, 1fr); } }

/* 글자 수(이름 3/10) — 라벨 오른쪽 */
.field label .cnt { float: right; font-weight: 600; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.field label .cnt.full { color: var(--warn); }
/* 맞게 입력한 칸: 초록 테두리 + 체크 */
.field.valid > input, .field.valid > .pw > input, .field.valid .toggle-body > input {
  border-color: var(--pocket);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%231c6648' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px;
}
/* 라벨처럼 보이는 제목(입력칸이 하나가 아닌 묶음) · 화면 읽기 전용 라벨 */
.flabel { display: block; font-weight: 800; font-size: 15px; margin-bottom: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.field label.opt { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; margin: 0; }
.opt input { width: 20px; height: 20px; min-height: 0; accent-color: var(--pocket); }
.toggle-body { margin-top: 10px; }
.half { width: calc(50% - 8px); }
@media (max-width: 640px) { .half { width: 100%; } }
/* 현금영수증 종류 — 세 칸 버튼 */
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border: 1.5px solid var(--field-line); border-radius: 12px; overflow: hidden; background: var(--card); width: 100%; }
.seg label { margin: 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: grid; place-items: center; min-height: 46px; padding: 6px 8px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); text-align: center; line-height: 1.3; }
.seg label + label span { border-left: 1.5px solid var(--field-line); }
.seg input:checked + span { background: var(--pocket); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid rgba(28, 102, 72, .45); outline-offset: -3px; }

/* 회원 비밀번호 조건 — 맞춘 항목은 초록 체크 */
.pwrules { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; padding: 0; margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.pwrules li::before { content: "○"; display: inline-block; width: 1.2em; color: var(--ink-3); }
.pwrules li.ok { color: var(--pocket); font-weight: 700; }
.pwrules li.ok::before { content: "✓"; color: var(--pocket); }
.pwrules + .hint { margin-top: 4px; }

/* ── 약관 팝업(가입·주문서의 이용약관·개인정보·환불 규정 링크) ── */
.policy-modal { border: 0; padding: 0; border-radius: var(--r-l); width: min(720px, calc(100vw - 32px)); max-height: min(80vh, 760px); background: var(--card); box-shadow: 0 24px 60px rgba(0, 0, 0, .28); color: var(--ink); }
.policy-modal::backdrop { background: rgba(16, 32, 24, .55); }
.policy-modal[open] { display: flex; flex-direction: column; }
.policy-modal .pm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.policy-modal .pm-head h2 { font-size: 19px; font-weight: 900; letter-spacing: -0.04em; margin: 0; }
.policy-modal .pm-body { overflow-y: auto; padding: 4px 22px 24px; overscroll-behavior: contain; }
.policy-modal .pm-body .prose { padding: 0 !important; max-width: none; }
.policy-modal .pm-body .prose > h1, .policy-modal .pm-body .prose > .h2:first-child { display: none; }
.policy-modal .pm-foot { padding: 12px 20px 16px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; }
@media (max-width: 640px) { .policy-modal { width: 100vw; max-width: 100vw; max-height: 88vh; margin: auto 0 0; border-radius: var(--r-l) var(--r-l) 0 0; } }

/* ── 서비스 로고(제미나이·캡컷 실제 로고 — public/img/brand) ─────────
   로고는 원본 그대로(색·비율·회전 변경 금지) 흰 타일 위에. 캡컷 로고는 자체 흰 바탕·테두리가 있어 타일 여백을 줄인다 */
.blogo { display: inline-grid; place-items: center; flex: none; background: #fff; border-radius: 22%; box-shadow: 0 0 0 1px rgba(20, 33, 26, .08), 0 6px 14px -8px rgba(0, 0, 0, .35); vertical-align: middle; }
.blogo img { width: 66%; height: 66%; object-fit: contain; }
.blogo.capcut img { width: 100%; height: 100%; }
.blogo.capcut { background: transparent; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .35); }
.blogo.xs { width: 22px; height: 22px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(20, 33, 26, .08); }
.blogo.sm { width: 30px; height: 30px; border-radius: 8px; }
.blogo.md { width: 52px; height: 52px; border-radius: 14px; }
.blogo.lg { width: 64px; height: 64px; border-radius: 16px; }
.maker .blogo, .with-logo .blogo { margin-right: 8px; }
.maker:has(.blogo), .with-logo { display: inline-flex; align-items: center; }
.h3.with-logo { display: flex; }
/* 이용권 카드(포켓에서 올라오는 카드) 위 로고 */
.tk .blogo.ontk { width: 30%; aspect-ratio: 1; height: auto; margin-bottom: 4%; border-radius: 22%; }
/* 떠다니는 소품 자리의 로고 타일 */
.panel .blogo.prop { width: 72px; height: 72px; border-radius: 20px; }
.panel .blogo.prop.capcut { width: 64px; height: 64px; }
/* 상품 카드 장면 왼쪽 위 배지 */
.good .gscene .blogo.badge { position: absolute; left: 16px; top: 16px; z-index: 3; }
.good .gscene .blogo.badge img { position: static; }
.summary .sumpic .blogo { flex: none; }
/* 서비스 띠 */
.brandband { padding: 26px 0 8px; }
.brandband .bb-t { font-size: 14px; font-weight: 800; color: var(--ink-3); margin-bottom: 12px; }
.bb-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bb-item { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--card); border-radius: var(--r-m); padding: 16px 20px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); min-height: 86px; }
.bb-item:hover { box-shadow: 0 0 0 2px var(--pocket), var(--shadow-sm); }
.bb-item .wm { height: 34px; width: auto; }
.bb-item b { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.bb-item span { margin-left: auto; font-size: 14.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.bb-note, .foot .tm { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }
.foot .tm { color: inherit; opacity: .7; }
@media (max-width: 640px) {
  .bb-list { grid-template-columns: minmax(0, 1fr); }
  .bb-item { padding: 14px 16px; min-height: 0; }
  .bb-item .wm { height: 28px; }
  .bb-item span { margin-left: 0; width: 100%; }
  .panel .blogo.prop { width: 54px; height: 54px; border-radius: 15px; }
  .panel .blogo.prop.capcut { width: 50px; height: 50px; }
}

/* ── 실제 서비스 화면(상세 #screens) ─────────────────────── */
.screens .lead { margin: 6px 0 18px; color: var(--ink-2); }
.shot { margin: 0; }
.shot figcaption { font-size: 14.5px; color: var(--ink-2); margin-top: 10px; line-height: 1.55; }
.shot figcaption .fsrc { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.frame { display: block; position: relative; text-decoration: none; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(20, 33, 26, .1), 0 22px 40px -24px rgba(0, 0, 0, .45); cursor: zoom-in; }
.frame img { display: block; width: 100%; height: auto; }
.frame .fbar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #eef1ef; border-bottom: 1px solid rgba(20, 33, 26, .08); }
.frame .fbar i { width: 10px; height: 10px; border-radius: 50%; background: #d4dad6; }
.frame .fbar i:nth-child(1) { background: #f26b5b; } .frame .fbar i:nth-child(2) { background: #f5bf4f; } .frame .fbar i:nth-child(3) { background: #5ac05a; }
.frame .fbar .faddr { margin-left: 10px; flex: 1; max-width: 360px; height: 22px; border-radius: 11px; background: #fff; font-size: 12px; color: var(--ink-2); display: flex; align-items: center; padding: 0 12px; white-space: nowrap; overflow: hidden; }
.shot-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; margin-top: 22px; align-items: start; }
.frame.f-phone { border-radius: 30px; padding: 8px; background: #16211b; max-width: 230px; margin: 0 auto; }
.frame.f-phone img { border-radius: 22px; }
.frame.f-card img { max-height: 420px; object-fit: cover; object-position: top; }
.shots-note { font-size: 12.5px; color: var(--ink-3); margin-top: 16px; }
.h2.with-logo { display: flex; align-items: center; gap: 0; }
.h2.with-logo .blogo { margin-right: 12px; }
/* 크게 보기 */
.zoom-modal { border: 0; padding: 0; background: transparent; max-width: min(1200px, calc(100vw - 24px)); max-height: calc(100vh - 24px); }
.zoom-modal::backdrop { background: rgba(10, 20, 15, .82); }
.zoom-modal img { display: block; max-width: 100%; max-height: calc(100vh - 110px); border-radius: 12px; margin: 0 auto; }
.zoom-modal p { color: #fff; font-size: 14.5px; text-align: center; margin-top: 10px; }
.zoom-modal button { position: absolute; top: 8px; right: 8px; }
.stickybuy .sb-logo { flex: none; }
@media (max-width: 640px) {
  .shot-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .frame .fbar { height: 26px; } .frame .fbar .faddr { height: 18px; font-size: 11px; }
  .frame.f-phone { border-radius: 22px; padding: 6px; } .frame.f-phone img { border-radius: 16px; }
  .frame.f-card img { max-height: 300px; }
}

/* 구매 옵션(보증 기간) 고르기 — 상품 상세 구매 상자·주문서 (2026-10-22) */
.optpick { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 12px 0 4px; }
.optpick > a, .optpick > label { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); text-decoration: none; color: var(--ink); cursor: pointer; transition: box-shadow .15s, background .15s; }
.optpick > a b, .optpick > label b { font-size: 15px; font-weight: 800; }
.optpick > a span, .optpick > label span { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.optpick > a:hover, .optpick > label:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.optpick > a.on, .optpick > label:has(input:checked) { background: var(--pocket-tint); box-shadow: inset 0 0 0 2px var(--pocket); }
.optpick > a.on b, .optpick > label:has(input:checked) b { color: var(--pocket-deep); }
.optpick > label input { position: absolute; opacity: 0; pointer-events: none; }
.optpick > label:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.sb-opt { color: inherit; text-decoration: underline; }

/* 이용 기간 vs 교체 보증 막대(2026-10-22) — partials/usebar */
.optpick > a small, .optpick > label small { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.usebar { margin: 12px 0 6px; padding: 12px 14px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.ub-row { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 10px; font-size: 13px; }
.ub-row + .ub-row { margin-top: 8px; }
.ub-k { color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.ub-track { position: relative; height: 10px; border-radius: 999px; background: #e8ece6; overflow: hidden; }
.ub-track i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; transition: width .35s ease; }
.ub-row.use .ub-track i { background: var(--pocket); }
.ub-row.warr .ub-track i { background: var(--thread); }
.ub-row b { font-variant-numeric: tabular-nums; font-size: 13.5px; min-width: 44px; text-align: right; }
.ub-note { margin: 10px 0 0; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.ub-proof { margin: 6px 0 0; font-size: 13px; line-height: 1.55; color: var(--pocket-deep); font-weight: 600; }
.ub-until { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); }

/* 실시간 주문 (2026-10-22 개편 — 홈 라이브 보드 · 상품 화면 티커 · 새 주문 알림) */
.liveboard { position: relative; background: var(--felt), var(--pocket-deep); color: #fff; border-radius: 28px; padding: 30px 32px 26px; --si: 12px; overflow: hidden; isolation: isolate; }
.liveboard > :not(.stitch) { position: relative; }
.liveboard::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(241, 182, 44, .16), transparent 65%); pointer-events: none; z-index: -1; animation: lb-glow 6s ease-in-out infinite; }
@keyframes lb-glow { 0%, 100% { transform: translate(0, 0) scale(1); opacity: .8; } 50% { transform: translate(-40px, 30px) scale(1.15); opacity: 1; } }
.lb-head { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.lb-title { display: flex; align-items: center; gap: 12px; }
.lb-title h2 { margin: 0; font-size: 28px; font-weight: 900; letter-spacing: -0.04em; color: #fff; }
.lb-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 9px; border-radius: 999px; background: #e5484d; color: #fff; font-size: 12.5px; font-weight: 900; letter-spacing: .08em; box-shadow: 0 0 0 0 rgba(229, 72, 77, .55); animation: lb-ring 1.8s ease-out infinite; }
.lb-badge i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: lb-blink 1s steps(2, start) infinite; }
@keyframes lb-ring { 0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(229, 72, 77, 0); } }
@keyframes lb-blink { to { visibility: hidden; } }
.lb-stats { display: flex; gap: 10px; margin: 0; }
.lb-stats > div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 8px 14px; min-width: 112px; }
.lb-stats dt { font-size: 12px; font-weight: 700; color: #a9cdb9; }
.lb-stats dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap; }
.lb-stats dd b { font-size: 24px; font-weight: 900; color: var(--thread); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; margin-right: 2px; display: inline-block; }
.lb-stats dd b.bump { animation: lb-bump .6s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes lb-bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); color: #fff; } 100% { transform: scale(1); } }
.lb-sync dd { display: flex; align-items: center; gap: 6px; padding-top: 6px; font-size: 13.5px; }
/* 업데이트 라벨은 한 줄 알약(2026-10-22 오너 — 세로 길이 줄임, 모바일도 제목 오른쪽에) */
.lb-stats > .lb-sync { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.lb-sync dt { font-size: 12px; }
.lb-sync dd { margin: 0; padding-top: 0; font-size: 13px; }
.lb-sync dd::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }

.lb-window { --row: 62px; --gap: 8px; height: calc(7 * var(--row) + 6 * var(--gap)); overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 94%, rgba(0,0,0,.35)); mask-image: linear-gradient(180deg, #000 94%, rgba(0,0,0,.35)); }
.liveorders { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--gap, 8px); }
.liveorders.rolling { transition: transform .24s cubic-bezier(.5, 0, .2, 1) !important; }
.lo-row { flex: 0 0 var(--row, 66px); display: grid; grid-template-columns: 44px minmax(0, 220px) minmax(0, 1fr) auto 132px; gap: 16px; align-items: center; padding: 0 16px 0 12px; background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 14px; font-size: 15px; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.lo-row.is-new { animation: lo-in .8s cubic-bezier(.2, .9, .3, 1.2) both, lo-flash 2.4s ease-out .2s; }
/* 발송 완료로 바뀐 줄 — 초록 테두리로 한 번 반짝 */
.lo-row.is-upd { animation: lo-done 2.4s ease-out; }
@keyframes lo-done { 0% { box-shadow: 0 0 0 3px #4ade80, 0 6px 22px rgba(74, 222, 128, .5); } 100% { box-shadow: 0 4px 14px rgba(0, 0, 0, .12); } }
@keyframes lo-in { from { transform: translateY(-24px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lo-flash { 0% { box-shadow: 0 0 0 3px var(--thread), 0 6px 22px rgba(241, 182, 44, .55); } 100% { box-shadow: 0 4px 14px rgba(0, 0, 0, .12); } }
.lo-logo { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.lo-logo img { width: 26px; height: 26px; }
.lo-logo.none { background: var(--pocket-tint); }
.lo-who { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lo-who b { font-weight: 800; font-size: 15.5px; letter-spacing: -0.02em; color: var(--ink); }
.lo-who small { color: var(--ink-3); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.lo-what { font-weight: 700; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lo-st { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.lo-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lo-st.pending { background: #f2f0ea; color: #6b6555; }
.lo-st.paid { background: #fff3d6; color: #9a6b00; }
.lo-st.delivered { background: var(--pocket-tint); color: var(--pocket); }
.lo-when { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; color: var(--ink-3); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lo-at { order: -1; font-size: 14.5px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }   /* 실제 시각이 크게(2026-10-22 오너) */
.lo-ago { font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.lo-row.is-new .lo-ago { color: #e5484d; font-weight: 800; }
.lo-empty { flex: 0 0 var(--row, 66px); display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .08); color: #cfe0d6; font-size: 14px; }

/* 상품 화면 한 줄 티커 — 글이 아래에서 밀려 올라온다 */
.live-ticker { position: relative; margin: 12px 0 0; padding: 0 12px 0 12px; height: 66px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); display: flex; align-items: center; gap: 10px; overflow: hidden; font-size: 13.5px; color: #e3efe7; }
.live-ticker:empty { display: none; }
.lt-badge { position: absolute; top: 0; left: 0; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px 2px 5px; border-radius: 11px 0 8px 0; background: #e5484d; color: #fff; font-size: 9px; font-weight: 900; letter-spacing: .08em; line-height: 1.3; }
.lt-badge i { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: lb-blink 1s steps(2, start) infinite; }
.lt-track { position: relative; flex: 1 1 auto; height: 100%; min-width: 0; }
/* 두 줄 카드: 로고 | 이름·번호 | 상태 / 로고 | 상품 | 시각 */
.lt-line { position: absolute; inset: 0; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 8px; row-gap: 3px; padding-top: 6px; align-content: center; transition: transform .3s cubic-bezier(.5, 0, .2, 1), opacity .3s !important; }
.lt-line.enter { transform: translateY(100%); opacity: 0; }
.lt-line.leave { transform: translateY(-100%); opacity: 0; }
.lt-line .lo-logo { grid-column: 1; grid-row: 1 / 3; width: 30px; height: 30px; border-radius: 9px; border: 0; align-self: center; }
.lt-line .lo-logo img { width: 19px; height: 19px; }
.lt-who { grid-column: 2; grid-row: 1; display: flex; align-items: baseline; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; }
.lt-who b { color: #fff; font-weight: 800; font-size: 13.5px; }
.lt-who small { color: #a9cdb9; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.lt-line .lo-st { grid-column: 3; grid-row: 1; justify-self: end; padding: 2px 8px; font-size: 11px; gap: 4px; }
.lt-line .lo-st::before { width: 5px; height: 5px; }
.lt-what { grid-column: 2; grid-row: 2; color: var(--thread); font-weight: 800; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lt-when { grid-column: 3; grid-row: 2; justify-self: end; display: flex; align-items: baseline; gap: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lt-when time { color: #fff; font-weight: 800; font-size: 11.5px; letter-spacing: -0.01em; }
.lt-when small { color: #a9cdb9; font-size: 10.5px; font-weight: 600; }
@media (max-width: 440px) {
    .live-ticker { padding: 0 9px 0 10px; }
    .lt-line { column-gap: 7px; }
    .lt-line .lo-st { padding: 1px 6px; font-size: 10px; }
    .lt-line .lo-st::before { display: none; }
    .lt-who { gap: 4px; }
    .lt-who b { font-size: 13px; }
    .lt-who small { font-size: 11px; letter-spacing: -0.02em; }
}
@media (max-width: 380px) {
    .lt-when small { display: none; }   /* 아주 좁은 폭: 시각만 */
}

/* 새 주문 알림(왼쪽 아래) */
.lo-toast { position: fixed; left: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 12px; max-width: min(360px, calc(100vw - 110px)); padding: 12px 30px 12px 12px; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 14px 40px rgba(17, 67, 48, .28), 0 0 0 1px rgba(17, 67, 48, .08); font-size: 14px; line-height: 1.45; transform: translateY(140%); opacity: 0; transition: transform .55s cubic-bezier(.2, 1.2, .3, 1), opacity .4s; pointer-events: none; }
.lo-toast.show { transform: none; opacity: 1; pointer-events: auto; }
.lo-toast .lo-logo { flex-shrink: 0; width: 40px; height: 40px; }
.lo-toast p { margin: 0; min-width: 0; }
.lo-toast b { font-weight: 800; }
.lo-toast small { display: block; color: #e5484d; font-size: 12px; font-weight: 800; }
.lo-toast.is-delivered { box-shadow: 0 14px 40px rgba(17, 67, 48, .28), 0 0 0 2px #4ade80; }
.lo-toast.is-delivered small { color: var(--pocket); }
.lo-toast button { position: absolute; top: 4px; right: 6px; border: 0; background: none; color: var(--ink-3); font-size: 18px; line-height: 1; padding: 4px; cursor: pointer; }

@media (max-width: 760px) {
    .liveboard { padding: 22px 16px 18px; border-radius: 22px; --si: 8px; }
    .lb-title h2 { font-size: 22px; }
    .lb-head { flex-wrap: nowrap; gap: 10px; }
    .lb-title { gap: 8px; min-width: 0; }
    .lb-badge { padding: 4px 9px 4px 8px; font-size: 11.5px; }
    .lb-stats { flex-shrink: 0; }
    .lb-stats > .lb-sync { padding: 5px 10px; gap: 6px; }
    .lb-sync dt { font-size: 11px; }
    .lb-sync dd { font-size: 12px; }
    .lb-window { --row: 54px; --gap: 6px; height: calc(7 * var(--row) + 6 * var(--gap)); }
    /* 모바일 한 줄 = 두 줄(이름·번호 | 상태 / 상품 | 주문 시각 n분 전) — 360px 에서도 꺾이지 않게(2026-10-22 오너) */
    .lo-row { grid-template-columns: 34px minmax(0, 1fr) auto auto; grid-template-rows: auto auto; gap: 2px 6px; padding: 0 12px 0 10px; font-size: 13px; align-content: center; }
    .lo-logo { width: 34px; height: 34px; grid-column: 1; grid-row: 1 / 3; border-radius: 10px; }
    .lo-logo img { width: 21px; height: 21px; }
    .lo-who { flex-direction: row; align-items: baseline; gap: 5px; grid-column: 2 / 4; grid-row: 1; white-space: nowrap; overflow: hidden; }
    .lo-who b { font-size: 13.5px; }
    .lo-who small { font-size: 11px; }
    .lo-st { grid-column: 4; grid-row: 1; justify-self: end; padding: 2px 7px; font-size: 11px; gap: 4px; }
    .lo-st::before { width: 5px; height: 5px; }
    .lo-what { grid-column: 2; grid-row: 2; font-size: 11.5px; line-height: 1.35; }
    .lo-when { grid-column: 3 / 5; grid-row: 2; flex-direction: row; align-items: baseline; gap: 4px; justify-self: end; }
    .lo-at { font-size: 11.5px; line-height: 1.3; }
    .lo-ago { font-size: 10px; line-height: 1.3; }
    .lo-toast { left: 12px; bottom: 12px; }
}



/* 긴급 프로모션 띠(2026-10-23 오너 "빠르게 깜빡거리는 연출로 긴급성") — partials/urgent · /js/promo.js.
   깜빡임은 초당 2번(0.5초 주기) — 초당 3번을 넘기면 광과민 발작 기준(WCAG 2.3.1)에 걸린다 */
.urgent {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 14px 0 0; padding: 9px 12px 9px 9px;
  border-radius: 14px; color: #fff; font-size: 14.5px; line-height: 1.35;
  background: linear-gradient(100deg, #c81e1e 0%, #ee3a24 60%, #ff6a2b 100%);
  box-shadow: 0 8px 22px -12px rgba(200, 30, 30, .9); animation: ug-glow 1s ease-in-out infinite;
}
.urgent[hidden] { display: none; }
.ug-flash {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: #fff; color: #d11f1f; font-size: 13px; font-weight: 900; letter-spacing: -.02em; white-space: nowrap;
  animation: ug-blink .5s steps(1, end) infinite;
}
.ug-dot { width: 8px; height: 8px; border-radius: 50%; background: #d11f1f; box-shadow: 0 0 0 0 rgba(209, 31, 31, .6); animation: ug-ping 1s ease-out infinite; }
.ug-txt { font-weight: 600; }
.ug-txt b { font-weight: 900; font-size: 1.08em; }
.ug-tz { font-size: .82em; font-weight: 500; opacity: .75; white-space: nowrap; }
.ug-cd { margin-left: auto; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ug-cd b { display: inline-block; min-width: 7.2em; margin-left: 4px; padding: 3px 8px; border-radius: 8px; background: rgba(0, 0, 0, .28); font-weight: 900; text-align: center; letter-spacing: .02em; }
.urgent.in-hero { max-width: 560px; margin: 18px 0 2px; }
/* 띠가 들어가 왼쪽 칸이 길어지면 아래 신뢰 카드(.trust, 위로 30px 겹침)가 구매 버튼을 덮는다 — 그만큼 비운다 */
.hero-grid > div:first-child:has(.urgent:not([hidden])) { padding-bottom: 36px; }
.urgent.in-end { margin: 10px 0 0; }
.urgent.in-pd { margin: 12px 0 16px; }
.urgent.in-buy { margin: 0 0 12px; font-size: 13.5px; }
.urgent.in-buy .ug-cd { margin-left: 0; }
@keyframes ug-blink { 0% { background: #fff; color: #d11f1f; } 50% { background: #ffe14d; color: #a50f0f; } }
@keyframes ug-glow { 0%, 100% { box-shadow: 0 8px 22px -12px rgba(200, 30, 30, .9); } 50% { box-shadow: 0 8px 30px -8px rgba(255, 70, 40, 1); } }
@keyframes ug-ping { 0% { box-shadow: 0 0 0 0 rgba(209, 31, 31, .6); } 100% { box-shadow: 0 0 0 7px rgba(209, 31, 31, 0); } }
/* 모바일 하단 구매 막대 한 줄 */
.ug-mini { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 12px; font-weight: 800; color: #d11f1f; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ug-mini[hidden] { display: none; }
.ug-mini .ug-flash { padding: 1px 6px; font-size: 11px; background: #d11f1f; color: #fff; animation-name: ug-blink-mini; }
@keyframes ug-blink-mini { 0% { background: #d11f1f; color: #fff; } 50% { background: #ffe14d; color: #a50f0f; } }
@media (max-width: 520px) {
  .urgent { font-size: 13.5px; }
  .ug-cd { margin-left: 0; }
}

/* 보증 등록(2026-10-26) — 제미나이 주문은 받은 뒤 24시간 안에 등록해야 보증 시작 */
.wreg { border-radius: 14px; padding: 18px 16px; margin-top: 14px; }
.wreg .t { font-weight: 900; font-size: 17px; }
.wreg p + p, .wreg ul { margin-top: 8px; }
.wreg.open { background: var(--warn-tint); border: 2px solid var(--warn); }
.wreg.open .t { color: var(--warn); font-size: 18px; }
.wreg.open .left { font-size: 15px; }
.wreg.open .left strong { color: var(--warn); font-size: 17px; }
.wreg.open ul { padding-left: 18px; list-style: disc; font-size: 14.5px; line-height: 1.6; }
.wreg.open form { margin-top: 14px; background: var(--card); border-radius: 10px; padding: 16px; }
.wreg.open .hint { font-size: 13px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.wreg.open .err-box { margin: 10px 0 0; }
.wreg.done { background: var(--pocket-tint); }
.wreg.done .t { color: var(--pocket-deep); }
.wreg.missed { background: var(--warn-tint); }
.wreg.missed .t { color: var(--warn); }
.wreg-banner { display: block; margin-top: 14px; background: var(--warn); color: #fff; border-radius: 10px; padding: 12px 14px; font-size: 14.5px; line-height: 1.5; text-decoration: none; }
.wreg-banner strong { color: #fff; }

/* 발송 지연 팝업(2026-10-27) — 주문 조회 화면, <dialog> */
.delay-pop { width: min(420px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--r-l); background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.delay-pop::backdrop { background: rgba(17, 33, 26, .55); }
.delay-pop .dp-body { padding: 28px 26px 8px; display: grid; gap: 10px; }
.delay-pop .dp-badge { justify-self: start; font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--warn); background: var(--warn-tint); border-radius: 999px; padding: 3px 10px; }
.delay-pop h2 { margin: 2px 0 2px; font-size: 1.3rem; line-height: 1.35; text-wrap: balance; }
.delay-pop p { margin: 0; color: var(--ink-2); line-height: 1.65; word-break: keep-all; }
.delay-pop .dp-acts { padding: 18px 26px 22px; display: grid; gap: 8px; justify-items: center; }
.delay-pop .dp-acts .btn { width: 100%; justify-content: center; }
.delay-pop .dp-acts .linkbtn { color: var(--ink-3); font-size: .9rem; }
/* 띠 남은 수량(2026-10-29 오너 — 설정 promo_stock_enabled) */
.ug-left { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ug-left b { display: inline-block; margin-left: 2px; padding: 2px 8px; border-radius: 8px; background: #fff; color: #c81e1e; font-weight: 900; }
.urgent.is-out { animation: none; background: linear-gradient(100deg, #6b6f76 0%, #8a8f97 100%); box-shadow: none; }
.urgent.is-out .ug-flash, .urgent.is-out .ug-dot { animation: none; }
.urgent.is-out .ug-left b { color: #4b4f56; }
.ug-left-mini { margin-left: 2px; padding: 1px 5px; border-radius: 6px; background: #fff1f0; color: #c81e1e; font-weight: 900; }
a.btn.off { pointer-events: none; }

/* 제품 키 설치·정품 인증 안내(2026-11-13 — partials/officeguide · 탭은 라디오 + 형제 선택자, JS 없음) */
.og { position: relative; margin-top: 14px; border: 1px solid var(--field-line); border-radius: 14px; background: var(--card); padding: 12px; }
.og .og-r { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.og .og-pane { display: none; }
.og .og-r3:checked ~ .og-q1, .og .og-r4:checked ~ .og-q2 { display: block; padding-top: 4px; }
.og .og-sec + .og-sec { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--field-line); }
.og .og-h { margin: 0 0 8px; font-size: 16px; font-weight: 800; }
.og .og-ok { margin: 0 0 12px; padding: 9px 12px; border-radius: 10px; background: var(--pocket-tint); font-size: 14px; }
.og .og-lead { font-size: 14px; font-weight: 700; margin: 0 0 10px; }
.og .og-lead .muted { font-weight: 500; }
.og .og-sub { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; padding: 3px; margin-bottom: 6px; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--edge); max-width: 100%; }
.og .og-sub label { margin: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 32px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--ink-3); white-space: nowrap; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.og .og-sub label:hover { color: var(--ink); }
.og .og-sub label em { font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--pocket); background: var(--pocket-tint); border-radius: 5px; padding: 1px 5px; }
.og .og-r3:checked ~ .og-sub .l3, .og .og-r4:checked ~ .og-sub .l4 { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(17, 67, 48, .12), 0 0 0 1px var(--edge); }
.og .og-r3:focus-visible ~ .og-sub .l3, .og .og-r4:focus-visible ~ .og-sub .l4 { outline: 2px solid var(--pocket); outline-offset: 1px; }
.og .og-act { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px; border: 0; border-radius: 8px; background: var(--pocket); color: #fff; font: inherit; font-size: 13px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; vertical-align: middle; box-shadow: 0 1px 2px rgba(17, 67, 48, .25); transition: background-color .15s ease; }
.og .og-act svg { width: 15px; height: 15px; flex: none; }
.og .og-act:hover { background: var(--pocket-deep); }
.og .og-act.soft { background: var(--pocket-tint); color: var(--pocket-deep); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pocket) 18%, transparent); }
.og .og-act.soft:hover { background: color-mix(in srgb, var(--pocket-tint) 70%, var(--pocket) 12%); }
.og .og-act:focus-visible { outline: 2px solid var(--pocket); outline-offset: 2px; }
.og .og-steps { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: og; display: grid; gap: 10px; font-size: 14px; line-height: 1.55; }
.og .og-steps > li { position: relative; padding-left: 30px; counter-increment: og; }
.og .og-steps > li::before { content: counter(og); position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--pocket-tint); color: var(--pocket-deep); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.og .og-steps .btn.sm { vertical-align: middle; }
.og .og-steps > li:has(> .og-act)::before { top: 6px; }
.og .og-tip { display: block; margin-top: 2px; padding-left: 1.15em; text-indent: -1.15em; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.og .og-tip::before { content: '└ '; color: var(--field-line); }
.og .og-q2 > p.muted { margin: 12px 0 0; }
.og .og-mini { border: 1px solid var(--field-line); background: var(--card); border-radius: 6px; padding: 1px 8px; font-size: 12px; font-weight: 700; color: var(--pocket-deep); cursor: pointer; vertical-align: 1px; margin-left: 4px; }
.og .og-mini:hover { border-color: var(--pocket); }
.og .og-mini.is-copied, .og .btn.is-copied { border-color: var(--pocket); background: var(--pocket-tint); color: var(--pocket-deep); }
.og .og-steps code, .og .og-code { font-size: 12.5px; background: var(--paper, #f6f7f9); border-radius: 6px; padding: 1px 6px; }
.og .og-code { display: block; margin: 6px 0 0; padding: 8px 10px; white-space: pre; overflow-x: auto; line-height: 1.5; }
.og .og-more { margin-top: 10px; font-size: 13px; }
.og .og-more summary { cursor: pointer; color: var(--pocket-deep); font-weight: 700; }
.og .og-more p { margin: 6px 0 0; color: var(--ink-2); }
.og .og-hash { font-size: 11px; overflow-wrap: anywhere; }
.og .og-cid { margin-top: 12px; padding: 12px; border: 2px solid var(--pocket); border-radius: 12px; background: var(--pocket-tint); }
.og .og-cid-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 15px; }
.og .og-cid-grid span { background: #fff; border-radius: 8px; padding: 6px 8px; text-align: center; letter-spacing: .02em; }
.og .og-cid-grid i { font-style: normal; font-size: 11px; color: var(--pocket-deep); margin-right: 6px; }
.og .og-cid-acts { margin: 8px 0 0; }
.og .og-wait { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--pocket-deep); }
.og .og-note { margin: 10px 0 0; }
@media (max-width: 420px) { .og .og-cid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── 주문 조회 리디자인(2026-11-13 오너 "고급스럽고 직관적·신뢰감") — 영수증 카드 + 절취선 + 진행 단계 ── */
.ord-page .ord-sub { margin: 6px 0 0; color: var(--ink-3); font-size: 14.5px; }
.slip.ord { padding: 22px 24px 24px; border-radius: 20px; box-shadow: 0 0 0 1px var(--edge), 0 1px 2px rgba(17, 67, 48, .06), 0 18px 40px -28px rgba(17, 67, 48, .5); }
.slip.ord + .slip.ord { margin-top: 20px; }
.ord-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.ord-head .blogo.md { width: 48px; height: 48px; border-radius: 13px; }
.ord-title h2 { margin: 0; font-size: 18px; line-height: 1.35; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.ord-code { margin: 3px 0 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
.ord-code .num { font-weight: 700; color: var(--ink-2); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.ord-copy { display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--ink-3); cursor: pointer; font-size: 13px; font-weight: 800; }
.ord-copy svg { width: 14px; height: 14px; }
.ord-copy:hover { background: var(--paper); color: var(--pocket-deep); }
.ord-copy.is-copied { color: var(--pocket); }
.ord .status { align-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 4px 11px 4px 9px; }
.ord .status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.ord .status.delivered::before { background: #8fe0b8; opacity: 1; }

/* 진행 단계 */
.ord-track { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.ord-track li { position: relative; display: grid; justify-items: center; gap: 3px; text-align: center; }
.ord-track li + li::before { content: ''; position: absolute; top: 11px; right: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.ord-track li.done + li.done::before { background: var(--pocket); }
.ord-track .dot { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: inset 0 0 0 2px var(--line); color: #fff; }
.ord-track .dot svg { width: 13px; height: 13px; stroke-width: 3; }
.ord-track li.done .dot { background: var(--pocket); box-shadow: none; }
.ord-track li.now .dot { box-shadow: 0 0 0 4px var(--pocket-tint); }
.ord-track b { font-size: 13px; font-weight: 800; color: var(--ink-3); }
.ord-track li.done b { color: var(--ink); }
.ord-track small { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* 절취선 — 카드 양 끝을 반원으로 판 점선(대표 디테일) */
.ord-perf { position: relative; height: 0; margin: 20px -24px 16px; border-top: 1.5px dashed var(--line); }
.ord-perf::before, .ord-perf::after { content: ''; position: absolute; top: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--edge); }
.ord-perf::before { left: -9px; clip-path: inset(0 0 0 50%); }
.ord-perf::after { right: -9px; clip-path: inset(0 50% 0 0); }

/* 영수증 내역 — 왼쪽 항목, 오른쪽 값 */
.slip.ord > dl.ord-meta { grid-template-columns: auto minmax(0, 1fr); gap: 0; font-size: 14.5px; }
.ord-meta dt, .ord-meta dd { padding: 7px 0; margin: 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); }
.ord-meta dt:nth-last-of-type(1), .ord-meta dd:last-of-type { border-bottom: 0; }
.slip.ord > dl.ord-meta > dt { color: var(--ink-3); font-size: 14px; padding-right: 16px; }
.slip.ord > dl.ord-meta > dd { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* 신뢰 띠(교체·환불) */
.ord-trust { background: var(--paper); box-shadow: none; border-radius: 14px; padding: 14px 16px; }
.ord-trust-t { display: flex; align-items: center; gap: 10px; margin: 0; }
.ord-trust-i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--card); color: var(--pocket); box-shadow: 0 0 0 1px var(--edge); }
.ord-trust-i svg { width: 17px; height: 17px; }
.ord-trust .muted { margin-left: 40px; }
.ord-trust .btn { min-height: 42px; font-size: 15px; }
.ord-trust p:last-child { margin-left: 40px; }

/* 받은 이용권 상자 — 점선 대신 면(주문 완료·주문 조회 공통) */
.deliver-box { border: 0; background: linear-gradient(180deg, var(--pocket-tint), color-mix(in srgb, var(--pocket-tint) 55%, #fff)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pocket) 22%, transparent); border-radius: 16px; padding: 16px 18px; }
.deliver-box .kind { font-size: 12.5px; letter-spacing: .04em; color: var(--pocket); }
.deliver-box .key-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--card); border-radius: 12px; padding: 10px 10px 10px 14px; box-shadow: 0 0 0 1px var(--edge), 0 6px 16px -12px rgba(17, 67, 48, .45); }
.deliver-box .key { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: clamp(14.5px, 3.6vw, 18px); font-weight: 700; letter-spacing: .04em; color: var(--ink); overflow-wrap: anywhere; }
.deliver-box .key-row .btn.is-copied { background: var(--pocket-deep); }

@media (max-width: 520px) {
  .slip.ord { padding: 18px 16px 20px; }
  .ord-perf { margin-left: -16px; margin-right: -16px; }
  .ord-head { grid-template-columns: auto minmax(0, 1fr); }
  .ord-head .status { grid-column: 1 / -1; justify-self: start; }
  .ord-title h2 { font-size: 16.5px; }
  .ord-trust .muted, .ord-trust p:last-child { margin-left: 0; }
  .deliver-box .key-row { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .deliver-box .key { white-space: nowrap; font-size: clamp(12.5px, 4.1vw, 17px); letter-spacing: .02em; text-align: center; }
  .deliver-box .key-row .btn { width: 100%; }
}

.og .ms-logo { width: 13px; height: 13px; flex: none; }
.og .ms-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.og .og-sub .l4 .ms-logo { opacity: .9; }

/* 기존 Office 제거 확인 관문(2026-11-13) — 체크 전엔 빨간 강조 + 은은한 맥박, 아래 안내 숨김 */
.og .og-gate-r { position: absolute; opacity: 0; width: 1px; height: 1px; }
.og.og-gated .og-after { display: none; }
.og.og-gated .og-gate-r:checked ~ .og-sec .og-after, .og.og-gated .og-gate-r:checked ~ .og-sec.og-after { display: block; }
.og .og-gate { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; margin: 4px 0 12px; padding: 14px 16px; border-radius: 12px; cursor: pointer; background: var(--warn-tint); box-shadow: inset 0 0 0 1.5px var(--warn); animation: og-pulse 1.8s ease-out infinite; }
.og .og-gate-i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--warn); color: #fff; font-weight: 900; font-size: 15px; margin-top: 1px; }
.og .og-gate-b { display: grid; gap: 4px; }
.og .og-gate-t { color: var(--warn); font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.og .og-gate-d { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.og .og-gate-d b { color: var(--ink); }
.og .og-gate-c { margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 7px 12px 7px 10px; border-radius: 9px; background: var(--card); box-shadow: 0 0 0 1px color-mix(in srgb, var(--warn) 35%, transparent); font-size: 13.5px; font-weight: 800; color: var(--warn); }
.og .og-box { width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 2px var(--warn); background: var(--card); display: grid; place-items: center; flex: none; }
.og .og-gate-on { display: none; }
.og .og-gate:hover .og-gate-c { box-shadow: 0 0 0 1.5px var(--warn); }
.og .og-gate-r:focus-visible ~ .og-sec .og-gate { outline: 3px solid color-mix(in srgb, var(--warn) 45%, transparent); outline-offset: 2px; }
/* 체크 후 — 초록 '제거 완료' */
.og .og-gate-r:checked ~ .og-sec .og-gate { animation: none; background: var(--pocket-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pocket) 30%, transparent); padding: 10px 14px; }
.og .og-gate-r:checked ~ .og-sec .og-gate-i { background: var(--pocket); font-size: 0; }
.og .og-gate-r:checked ~ .og-sec .og-gate-i::after { content: '✓'; font-size: 14px; }
.og .og-gate-r:checked ~ .og-sec .og-gate-t, .og .og-gate-r:checked ~ .og-sec .og-gate-d { display: none; }
.og .og-gate-r:checked ~ .og-sec .og-gate-c { margin-top: 0; padding: 4px 0; background: none; box-shadow: none; color: var(--pocket-deep); }
.og .og-gate-r:checked ~ .og-sec .og-box { background: var(--pocket); box-shadow: none; }
.og .og-gate-r:checked ~ .og-sec .og-box::after { content: ''; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.og .og-gate-r:checked ~ .og-sec .og-gate-off { display: none; }
.og .og-gate-r:checked ~ .og-sec .og-gate-on { display: inline; }
.og .og-gate-r:checked ~ .og-sec .og-gate-i { display: none; }
.og .og-gate-r:checked ~ .og-sec .og-gate { grid-template-columns: minmax(0, 1fr); }
@keyframes og-pulse {
  0% { box-shadow: inset 0 0 0 1.5px var(--warn), 0 0 0 0 color-mix(in srgb, var(--warn) 45%, transparent); }
  70% { box-shadow: inset 0 0 0 1.5px var(--warn), 0 0 0 9px color-mix(in srgb, var(--warn) 0%, transparent); }
  100% { box-shadow: inset 0 0 0 1.5px var(--warn), 0 0 0 0 color-mix(in srgb, var(--warn) 0%, transparent); }
}
@media (prefers-reduced-motion: reduce) { .og .og-gate { animation: none; } }

/* 2026-11-27 D-1060 — 확인 ID 복사 버튼(채팅 답변 · 주문 화면 확인 ID 칸) */
.chat-cid-row { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; flex-wrap: wrap; }
.chat-cid-k { font-weight: 700; }
.chat-cid-v { font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: .02em; overflow-wrap: anywhere; }
.chat-copy { font: inherit; font-size: 12px; font-weight: 700; line-height: 1; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--pocket); background: #fff; color: var(--pocket-deep, var(--pocket)); cursor: pointer; white-space: nowrap; }
.chat-copy:hover { background: var(--pocket-tint, #f3f0ff); }
.chat-copy.is-copied { background: var(--pocket); color: #fff; }
.og .og-cid-grid span { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.og .og-cid-copy { font: inherit; font-size: 11px; font-weight: 700; line-height: 1; padding: 4px 7px; border-radius: 999px; border: 1px solid var(--pocket); background: #fff; color: var(--pocket-deep); cursor: pointer; white-space: nowrap; }
.og .og-cid-copy.is-copied { background: var(--pocket); color: #fff; }

/* 2026-11-27 D-1063 — 듀오링고 링크 경고 팝업 · 복사만 */
dialog.duo-warn { max-width: min(520px, calc(100vw - 32px)); border: 0; border-radius: 16px; padding: 22px 20px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
dialog.duo-warn::backdrop { background: rgba(0,0,0,.45); }
dialog.duo-warn h3 { margin: 0 0 12px; font-size: 19px; color: #b42318; }
dialog.duo-warn ol { margin: 0 0 12px; padding-left: 20px; line-height: 1.6; }
dialog.duo-warn ol li { margin-bottom: 6px; }
dialog.duo-warn .duo-warn-x { background: #fef3f2; border: 1px solid #fecdca; color: #912018; border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; line-height: 1.55; }
.deliver-box .duo-url { user-select: all; cursor: text; }
/* 2026-11-28 대표님 — 듀오링고 링크를 굵고 크게, 링크처럼 보이게(누를 수는 없음) · 복사 버튼은 작게 */
.deliver-box .url.duo-url { margin-top: 12px; padding: 12px 14px; font-size: 16px; font-weight: 700; line-height: 1.5; color: #1d4ed8; text-decoration: underline; text-underline-offset: 3px; background: #eff6ff; border: 1.5px solid #93c5fd; border-radius: 10px; }
.deliver-box .duo-copy { margin-top: 8px; }
.deliver-box .duo-copy .btn.sm { padding: 6px 14px; font-size: 13px; min-height: 0; }
