/* =========================================================
   아뜰리에 롤 — 위시켓 #159973 시연
   UI: Pretendard · 화이트 / 딥차콜 · 1px 라인
   ========================================================= */
:root {
  --ink: #111827;
  --ink-2: #374151;
  --sub: #6B7280;
  --mute: #9CA3AF;
  --line: #E5E7EB;
  --line-2: #EFF1F3;
  --soft: #F8F9FA;
  --warm: #F7F4EF;
  --accent: #1F2937;
  --accent-hover: #111827;
  --danger: #B42318;
  --ok: #15803D;
  --toss: #3182F6;
  --radius: 10px;
  --radius-sm: 7px;
  --shadow-1: 0 1px 2px rgba(17, 24, 39, .04);
  --shadow-2: 0 8px 28px rgba(17, 24, 39, .10);
  --header-h: 64px;
  --demo-h: 34px;
  --bottom-h: 58px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--sub); }
.nowrap { white-space: nowrap; }
:focus-visible { outline: 2px solid #111827; outline-offset: 2px; border-radius: 4px; }

/* ---------- 기본 요소 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 16px; border-radius: var(--radius-sm);
  background: var(--accent); border: 1px solid var(--accent); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: -.01em;
  transition: background .13s, border-color .13s, color .13s;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:active { transform: translateY(.5px); }
.btn svg { width: 15px; height: 15px; }
.btn.ghost { background: #fff; border-color: #D8DCE1; color: var(--ink-2); }
.btn.ghost:hover { background: var(--soft); border-color: #C4C9D0; color: var(--ink); }
.btn.line { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn.line:hover { background: var(--soft); border-color: #C4C9D0; }
.btn.sm { height: 32px; padding: 0 11px; font-size: 12px; border-radius: 6px; }
.btn.xs { height: 27px; padding: 0 9px; font-size: 11.5px; border-radius: 5px; gap: 4px; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 14px; }
.btn.block { width: 100%; }
.btn[disabled] { background: #ECEDEF; border-color: #ECEDEF; color: #A2A7AE; cursor: not-allowed; }
.btn.ghost[disabled], .btn.line[disabled] { background: #fff; color: #B6BBC2; border-color: var(--line); }
.icon-btn {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  border-radius: 7px; color: var(--ink-2); border: 1px solid transparent;
}
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 19px; height: 19px; }
.link { color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.link:hover { border-color: var(--ink); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sub);
}
.eyebrow::before { content: ""; display: block; width: 18px; height: 1px; background: var(--mute); }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  height: 26px; padding: 0 9px; border-radius: 4px;
  background: var(--soft); border: 1px solid var(--line); color: var(--ink-2);
  font-size: 11px; font-weight: 600; white-space: nowrap;
}
.chip.solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip.warm { background: var(--warm); border-color: #EAE3D8; color: #6B5B47; }
.tag {
  display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 3px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .01em;
}
.tag.new { background: #EEF4FF; color: #1D4ED8; }
.tag.best { background: #FFF4E5; color: #B45309; }
.tag.rate { background: var(--accent); color: #fff; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 레이아웃 ---------- */
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.page { min-height: 60vh; padding-bottom: 96px; }

/* ---------- 데모 바 ---------- */
.demo-bar {
  position: sticky; top: 0; z-index: 60;
  height: var(--demo-h); background: #111827; color: rgba(255, 255, 255, .58);
  font-size: 11px; letter-spacing: -.005em;
}
.demo-bar .wrap { height: 100%; display: flex; align-items: center; gap: 14px; }
.demo-label { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .55); white-space: nowrap; }
.demo-label b { color: #fff; font-weight: 600; letter-spacing: .02em; }
.demo-dot { width: 5px; height: 5px; border-radius: 50%; background: #7BD88F; box-shadow: 0 0 0 2px rgba(123, 216, 143, .18); }
.role-seg { display: flex; align-items: center; gap: 2px; padding: 2px; background: rgba(255, 255, 255, .08); border-radius: 6px; }
.role-btn {
  height: 22px; padding: 0 10px; border-radius: 4px;
  font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .6); white-space: nowrap;
  transition: background .12s, color .12s;
}
.role-btn:hover { color: #fff; }
.role-btn[aria-pressed="true"] { background: #fff; color: #111827; }
.demo-right { margin-left: auto; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.demo-reset { color: rgba(255, 255, 255, .55); text-decoration: underline; text-underline-offset: 2px; font-size: 11px; }
.demo-reset:hover { color: #fff; }
.demo-role-note { color: rgba(255, 255, 255, .38); }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: var(--demo-h); z-index: 50;
  height: var(--header-h); background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ink);
  display: grid; place-items: center; font-size: 10px; font-weight: 700; letter-spacing: -.02em;
}
.brand-mark svg { width: 19px; height: 19px; stroke-width: 1.4; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.brand-en { font-size: 8.5px; font-weight: 600; letter-spacing: .22em; color: var(--mute); margin-top: 2px; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; height: 36px; padding: 0 12px;
  font-size: 13px; font-weight: 500; color: var(--ink-2); border-radius: 6px;
}
.nav-link:hover { background: var(--soft); color: var(--ink); }
.nav-link.active { color: var(--ink); font-weight: 600; }
.nav-link.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -14px; height: 2px; background: var(--ink);
}
.nav-link .nav-badge { margin-left: 5px; font-size: 9.5px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 3px; padding: 1px 4px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 2px; position: relative; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 0; right: 0; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--accent); border: 2px solid #fff; color: #fff; font-size: 9.5px; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}
.account-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 8px;
  border: 1px solid var(--line); border-radius: 20px; font-size: 11.5px; font-weight: 600; color: var(--ink-2);
}
.account-pill:hover { border-color: #C9CED5; }
.account-pill .avatar {
  width: 20px; height: 20px; border-radius: 50%; background: var(--warm); color: #6B5B47;
  display: grid; place-items: center; font-size: 10px; font-weight: 700;
}
.account-pill.is-guest { color: var(--sub); }
.header-search { display: none; }
.admin-chip {
  display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 7px;
  background: #111827; color: #fff; border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: .04em;
}

/* ---------- 모바일 하단 탭 ---------- */
.bottom-nav { display: none; }
.mobile-only { display: none; }

/* ---------- 페이지 머리 ---------- */
.page-head { padding: 44px 0 26px; border-bottom: 1px solid var(--line); }
.page-head .eyebrow { margin-bottom: 12px; }
.page-head h1 { font-size: 27px; font-weight: 650; letter-spacing: -.035em; line-height: 1.25; }
.page-head p { margin-top: 9px; color: var(--sub); font-size: 13.5px; max-width: 620px; }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.breadcrumb { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--mute); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb svg { width: 12px; height: 12px; }

/* ---------- 홈 ---------- */
.hero { display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: start; padding: 64px 0 72px; }
.hero-copy { max-width: 500px; padding-top: 26px; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero h1 { font-size: 45px; line-height: 1.19; letter-spacing: -.045em; font-weight: 650; }
.hero h1 em { font-style: normal; display: inline-block; border-bottom: 1px solid #D9D2C6; padding-bottom: 1px; }
.hero-lead { margin-top: 20px; font-size: 14.5px; line-height: 1.75; color: var(--sub); max-width: 430px; }
.hero-actions { display: flex; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 18px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--sub); flex-wrap: wrap; }
.hero-meta b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-media { position: relative; }
.hero-img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: 2px; background: var(--warm); }
.hero-caption {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 2px 0; font-size: 11.5px; color: var(--sub);
}
.hero-caption b { color: var(--ink); font-weight: 600; }
.hero-caption a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); }
.hero-caption svg { width: 13px; height: 13px; }

.section { padding-top: 84px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-head h2 { font-size: 20px; font-weight: 650; letter-spacing: -.03em; margin-top: 10px; }
.section-head p { font-size: 12.5px; color: var(--sub); margin-top: 5px; }
.more-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ink-2); white-space: nowrap; padding-bottom: 2px; }
.more-link:hover { color: var(--ink); }
.more-link svg { width: 14px; height: 14px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.brand-band { margin-top: 88px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.brand-band-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.brand-band-cell { padding: 28px 26px; border-left: 1px solid var(--line); }
.brand-band-cell:first-child { border-left: 0; padding-left: 0; }
.brand-band-cell:last-child { padding-right: 0; }
.brand-band-cell h3 { font-size: 12.5px; font-weight: 650; margin: 12px 0 6px; }
.brand-band-cell p { font-size: 12px; color: var(--sub); line-height: 1.65; }
.brand-band-cell svg { width: 20px; height: 20px; stroke-width: 1.35; color: var(--ink-2); }

/* ---------- 영상 카드 ---------- */
.vcard { display: block; min-width: 0; position: relative; }
.vlink { position: absolute; inset: 0; z-index: 1; }
.vthumb {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: #F1F2F4; border: 1px solid var(--line-2);
}
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.vcard:hover .vthumb img { transform: scale(1.025); }
.vbadge {
  position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px;
  height: 21px; padding: 0 6px; border-radius: 3px; background: rgba(255, 255, 255, .94);
  color: var(--ink-2); font-size: 10px; font-weight: 650; box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.vbadge svg { width: 11px; height: 11px; stroke-width: 1.8; }
.vbadge.new { background: var(--ink); color: #fff; }
.vdur {
  position: absolute; right: 7px; bottom: 7px; height: 19px; padding: 0 5px; border-radius: 3px;
  background: rgba(15, 17, 20, .78); color: #fff; font-size: 10px; font-weight: 600;
  display: inline-flex; align-items: center; font-variant-numeric: tabular-nums;
}
.vfav {
  position: absolute; z-index: 2; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--ink-2);
  box-shadow: 0 1px 2px rgba(0,0,0,.08); transition: background .12s, color .12s;
}
.vfav svg { width: 14px; height: 14px; stroke-width: 1.7; }
.vfav:hover { background: #fff; }
.vfav.on { color: #111827; }
.vfav.on svg { fill: #111827; }
.vbody { padding: 12px 1px 0; }
.vcat { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--sub); margin-bottom: 6px; }
.vcat .dot { width: 2px; height: 2px; border-radius: 50%; background: var(--mute); }
.vtitle { font-size: 13.5px; font-weight: 600; line-height: 1.45; letter-spacing: -.02em; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.vmeta { margin-top: 7px; font-size: 11px; color: var(--sub); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.vmeta .dot { width: 2px; height: 2px; border-radius: 50%; background: var(--mute); }
.vcard.is-locked .vthumb::after { content: ""; position: absolute; inset: 0; background: rgba(17,24,39,.02); }
.vlist-sm { display: flex; flex-direction: column; gap: 12px; }
.vrow { display: grid; grid-template-columns: 108px 1fr; gap: 11px; align-items: start; padding: 2px; }
.vrow .vthumb { border-radius: 6px; }
.vrow-title { font-size: 12px; font-weight: 600; line-height: 1.45; letter-spacing: -.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vrow-meta { font-size: 10.5px; color: var(--sub); margin-top: 4px; }

/* ---------- 허브 컨트롤 ---------- */
.hub-tools { padding: 22px 0 0; }
.tabs { display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 1px;
  font-size: 13px; font-weight: 500; color: var(--sub); white-space: nowrap;
}
.tab:hover { color: var(--ink-2); }
.tab.active { color: var(--ink); font-weight: 650; }
.tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.tab .count { font-size: 10.5px; font-weight: 600; color: var(--mute); background: var(--soft); border: 1px solid var(--line); border-radius: 9px; padding: 1px 6px; }
.tab.active .count { color: var(--ink-2); }
.filter-row { display: flex; align-items: center; gap: 8px; padding: 18px 0; flex-wrap: wrap; }
.chip-group { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fchip {
  height: 30px; padding: 0 11px; border-radius: 16px; border: 1px solid var(--line);
  font-size: 11.5px; font-weight: 500; color: var(--ink-2); background: #fff; white-space: nowrap;
}
.fchip:hover { border-color: #C7CCD3; }
.fchip.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.search-box {
  position: relative; display: flex; align-items: center; height: 36px; width: 230px;
  border: 1px solid var(--line); border-radius: 7px; background: #fff; padding: 0 10px 0 32px;
}
.search-box svg { position: absolute; left: 10px; width: 15px; height: 15px; color: var(--mute); }
.search-box input { border: 0; outline: 0; width: 100%; font-size: 12.5px; background: transparent; }
.search-box input::placeholder { color: var(--mute); }
.search-box:focus-within { border-color: var(--ink); }
.sort-select { height: 30px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 11.5px; color: var(--ink-2); padding: 0 6px; }
.result-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 16px; font-size: 11.5px; color: var(--sub); }
.result-line b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.fav-toggle { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 16px; font-size: 11.5px; color: var(--ink-2); }
.fav-toggle svg { width: 13px; height: 13px; }
.fav-toggle.on { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.fav-toggle.on svg { fill: var(--ink); }

/* ---------- 빈 상태 / 스켈레톤 ---------- */
.empty { border: 1px solid var(--line); border-radius: var(--radius); padding: 64px 24px; text-align: center; background: #fff; }
.empty-ico { width: 42px; height: 42px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; margin: 0 auto 14px; color: var(--mute); }
.empty-ico svg { width: 20px; height: 20px; }
.empty h3 { font-size: 14px; font-weight: 600; }
.empty p { margin: 7px auto 18px; font-size: 12px; color: var(--sub); max-width: 340px; line-height: 1.65; }
.skeleton { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.sk-thumb { aspect-ratio: 16/9; background: #F1F2F4; animation: pulse 1.4s ease-in-out infinite; }
.sk-line { height: 10px; border-radius: 3px; background: #F1F2F4; margin: 12px 14px; animation: pulse 1.4s ease-in-out infinite; }
.sk-line.short { width: 42%; margin-top: 0; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* ---------- 영상 상세 ---------- */
.video-page { padding-top: 26px; }
.video-layout { display: grid; grid-template-columns: minmax(0, 1fr) 322px; gap: 44px; align-items: start; }
.video-main { min-width: 0; }
.player {
  position: relative; background: #0B0C0E; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 9; color: #fff; user-select: none;
}
.player-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; transform-origin: 50% 45%; }
.player.is-playing .player-poster { animation: kenburns 36s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
.player.dim .player-poster { filter: brightness(.62) saturate(.92); }
.player-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,6,8,.9) 0%, rgba(5,6,8,.55) 20%, rgba(5,6,8,.16) 42%, rgba(5,6,8,0) 62%); pointer-events: none; }
.player-top { position: absolute; z-index: 4; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.player-top .pbadge { background: rgba(12,14,17,.78); border: 1px solid rgba(255,255,255,.16); border-radius: 4px; height: 22px; padding: 0 8px; display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; letter-spacing: .01em; }
.player-top .pbadge svg { width: 12px; height: 12px; }
.player-bigplay {
  position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; width: 100%; height: 100%;
  background: transparent; color: #fff;
}
.play-circle {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.94); color: #111827;
  display: grid; place-items: center; box-shadow: 0 4px 22px rgba(0,0,0,.28); transition: transform .16s, background .16s;
}
.player-bigplay:hover .play-circle { transform: scale(1.05); background: #fff; }
.play-circle svg { width: 22px; height: 22px; fill: #111827; stroke: none; margin-left: 2px; }
.player.is-playing .play-circle { opacity: 0; transition: opacity .2s; }
.player-center-note { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 11px; color: rgba(255,255,255,.62); letter-spacing: .02em; }
.player-controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 12px 10px; }
.pbar { position: relative; height: 14px; display: flex; align-items: center; cursor: pointer; }
.pbar-track { position: relative; width: 100%; height: 3px; background: rgba(255,255,255,.3); border-radius: 2px; overflow: visible; }
.pbar-fill { position: absolute; left: 0; top: 0; bottom: 0; background: #fff; border-radius: 2px; width: 0; }
.pbar-knob { position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); left: 0; opacity: 0; transition: opacity .12s; }
.pbar:hover .pbar-track { height: 5px; }
.pbar:hover .pbar-knob { opacity: 1; }
.pcontrol-row { display: flex; align-items: center; gap: 10px; margin-top: 5px; }
.pcontrol-row button { color: rgba(255,255,255,.92); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 4px; }
.pcontrol-row button:hover { background: rgba(255,255,255,.12); }
.pcontrol-row svg { width: 16px; height: 16px; stroke-width: 1.8; }
.ptime { font-size: 11px; color: rgba(255,255,255,.8); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.ptime b { color: #fff; font-weight: 600; }
.pcontrol-right { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.prate { font-size: 10.5px; font-weight: 700; color: rgba(255,255,255,.86); padding: 0 5px; height: 22px; border: 1px solid rgba(255,255,255,.22); border-radius: 3px; display: inline-flex; align-items: center; }

.player-gate[hidden] { display: none; }
.player-gate {
  position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; background: rgba(10, 11, 13, .74); backdrop-filter: blur(2px);
  animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.gate-lock { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); display: grid; place-items: center; margin-bottom: 13px; color: #fff; }
.gate-lock svg { width: 18px; height: 18px; }
.player-gate h3 { font-size: 15px; font-weight: 650; letter-spacing: -.02em; color: #fff; }
.player-gate p { margin: 7px 0 16px; font-size: 11.5px; line-height: 1.65; color: rgba(255,255,255,.66); max-width: 320px; }
.gate-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; }
.gate-actions .btn { height: 36px; font-size: 12px; }
.gate-note { margin-top: 12px; font-size: 10px; color: rgba(255,255,255,.4); }

.video-head { padding: 20px 0 0; }
.video-titlerow { display: flex; align-items: flex-start; gap: 16px; justify-content: space-between; }
.video-head h1 { font-size: 21px; font-weight: 650; letter-spacing: -.03em; line-height: 1.4; max-width: 720px; }
.video-head .vmeta { margin-top: 9px; font-size: 11.5px; }
.video-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.pill-btn { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 11px; border: 1px solid var(--line); border-radius: 6px; font-size: 11.5px; font-weight: 500; color: var(--ink-2); background: #fff; white-space: nowrap; }
.pill-btn:hover { border-color: #C7CCD3; }
.pill-btn svg { width: 14px; height: 14px; }
.pill-btn.on { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.pill-btn.on svg { fill: var(--ink); }
.video-desc { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); line-height: 1.75; max-width: 760px; }
.chapters { margin-top: 22px; border-top: 1px solid var(--line); }
.chapter { display: flex; align-items: center; gap: 14px; width: 100%; padding: 11px 2px; border-bottom: 1px solid var(--line-2); text-align: left; }
.chapter:hover { background: var(--soft); }
.chapter .t { font-size: 11px; color: var(--sub); width: 42px; flex: none; font-variant-numeric: tabular-nums; }
.chapter .n { font-size: 12.5px; color: var(--ink-2); flex: 1; }
.chapter svg { width: 13px; height: 13px; color: var(--mute); }
.aside-block { border-top: 1px solid var(--ink); padding-top: 14px; }
.aside-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.aside-title span.count { font-size: 10.5px; color: var(--mute); font-weight: 600; letter-spacing: 0; }
.aside-product { display: flex; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.aside-product:first-of-type { padding-top: 0; }
.aside-product img { width: 62px; height: 62px; object-fit: cover; background: var(--soft); border-radius: 5px; border: 1px solid var(--line-2); flex: none; }
.aside-product .nm { font-size: 12px; font-weight: 600; line-height: 1.4; }
.aside-product .op { font-size: 10.5px; color: var(--sub); margin-top: 2px; }
.aside-product .pr { font-size: 12px; font-weight: 650; margin-top: 5px; font-variant-numeric: tabular-nums; }
.aside-product .pr s { color: var(--mute); font-weight: 400; font-size: 10.5px; margin-left: 5px; }
.aside-actions { display: flex; gap: 5px; margin-top: 8px; }
.aside-actions .btn { height: 27px; font-size: 10.5px; padding: 0 8px; }
.aside-block + .aside-block { margin-top: 30px; }
.instructor-line { display: flex; align-items: center; gap: 9px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--sub); }
.instructor-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--warm); color: #6B5B47; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }

/* ---------- 스토어 ---------- */
.store-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 26px; flex-wrap: wrap; }
.notice-bar { display: flex; align-items: center; gap: 8px; padding: 10px 0; font-size: 11.5px; color: var(--sub); border-bottom: 1px solid var(--line); }
.notice-bar svg { width: 14px; height: 14px; color: var(--mute); }
.pcard { display: block; min-width: 0; position: relative; }
.pthumb { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line-2); }
.pthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.pcard:hover .pthumb img { transform: scale(1.03); }
.pthumb .pbadge { position: absolute; left: 9px; top: 9px; height: 20px; padding: 0 6px; border-radius: 3px; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.pthumb .pbadge.best { background: #FFF6E9; border-color: #F3E2C7; color: #9A5B12; }
.pthumb .pbadge.new { background: var(--ink); border-color: var(--ink); color: #fff; }
.pbody { padding: 12px 1px 0; }
.pcat { font-size: 10.5px; color: var(--sub); margin-bottom: 5px; }
.pname { font-size: 13px; font-weight: 600; letter-spacing: -.02em; line-height: 1.4; }
.psub { font-size: 11px; color: var(--sub); margin-top: 3px; }
.pprice { margin-top: 8px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pprice .sale { font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pprice .orig { font-size: 11px; color: var(--mute); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.pprice .pct { font-size: 11px; font-weight: 700; color: #B42318; }
.pmeta { margin-top: 5px; font-size: 10.5px; color: var(--sub); display: flex; align-items: center; gap: 5px; }
.pmeta .star { color: var(--ink); font-weight: 600; }
.guest-price-note { margin-top: 4px; font-size: 10px; color: var(--mute); }

/* ---------- 상품 상세 ---------- */
.pd { display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; padding-top: 30px; align-items: start; }
.pd-media { position: sticky; top: calc(var(--demo-h) + var(--header-h) + 20px); }
.pd-main { aspect-ratio: 1 / 1; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: #FCFCFB; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, transform-origin .35s ease; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.pd-thumb { width: 64px; height: 64px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: #FCFCFB; }
.pd-thumb.on { border-color: var(--ink); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-info .pcat { font-size: 11px; }
.pd-info h1 { font-size: 25px; font-weight: 650; letter-spacing: -.035em; line-height: 1.32; margin-top: 4px; }
.pd-sub { color: var(--sub); font-size: 12.5px; margin-top: 7px; }
.pd-rating { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 11.5px; color: var(--sub); flex-wrap: wrap; }
.stars { display: inline-flex; gap: 1px; color: var(--ink); }
.stars svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.stars .off { color: #D8DBDF; }
.pd-price { margin-top: 20px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pd-price .rate-row { display: flex; align-items: baseline; gap: 8px; }
.pd-price .rate { font-size: 11px; font-weight: 700; color: #B42318; }
.pd-price .member { font-size: 24px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pd-price .won { font-size: 15px; font-weight: 600; margin-left: 1px; }
.pd-price .orig { font-size: 12px; color: var(--mute); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.pd-price .note { font-size: 11px; color: var(--sub); margin-top: 5px; }
.pd-price .note b { color: var(--ink-2); font-weight: 600; }
.opt-group { margin-top: 20px; }
.opt-label { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 600; margin-bottom: 8px; }
.opt-label span { color: var(--sub); font-weight: 400; font-size: 10.5px; }
.select {
  width: 100%; height: 40px; border: 1px solid #D8DCE1; border-radius: 6px; background: #fff;
  padding: 0 10px; font-size: 12.5px; color: var(--ink-2); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
}
.select:focus { outline: 0; border-color: var(--ink); }
.qty-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 2px; }
.qty { display: inline-flex; align-items: center; border: 1px solid #D8DCE1; border-radius: 6px; height: 36px; overflow: hidden; }
.qty button { width: 34px; height: 100%; display: grid; place-items: center; color: var(--ink-2); }
.qty button:hover { background: var(--soft); }
.qty button svg { width: 13px; height: 13px; }
.qty span { min-width: 34px; text-align: center; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pd-total { display: flex; align-items: baseline; justify-content: space-between; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--sub); }
.pd-total b { font-size: 18px; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pd-buy { display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; margin-top: 16px; }
.pd-buy-price { display: none; }
.pd-buy .btn { height: 46px; font-size: 13.5px; }
.ship-box { margin-top: 20px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.ship-row { display: flex; gap: 14px; padding: 10px 12px; font-size: 11.5px; border-top: 1px solid var(--line-2); }
.ship-row:first-child { border-top: 0; }
.ship-row .k { width: 64px; flex: none; color: var(--sub); }
.ship-row .v { color: var(--ink-2); }
.pd-benefits { display: flex; gap: 18px; margin-top: 14px; font-size: 10.5px; color: var(--sub); flex-wrap: wrap; }
.pd-benefits span { display: inline-flex; align-items: center; gap: 4px; }
.pd-benefits svg { width: 13px; height: 13px; color: var(--mute); }
.pd-tabs { margin-top: 64px; }
.pd-tab-body { padding: 30px 0 0; }
.detail-copy { max-width: 760px; }
.detail-copy h3 { font-size: 16px; font-weight: 650; letter-spacing: -.02em; }
.detail-copy p { margin-top: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.point-list { margin-top: 18px; border-top: 1px solid var(--line); }
.point-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-2); }
.point-list li span.n { font-size: 10.5px; color: var(--mute); width: 18px; flex: none; padding-top: 2px; }
.spec-table { margin-top: 22px; max-width: 560px; }
.spec-table tr { border-bottom: 1px solid var(--line-2); }
.spec-table th { text-align: left; font-size: 11.5px; font-weight: 500; color: var(--sub); padding: 10px 0; width: 120px; }
.spec-table td { font-size: 12px; color: var(--ink-2); padding: 10px 0; }
.review-list { max-width: 760px; }
.review { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.review-top { display: flex; align-items: center; gap: 8px; font-size: 11.5px; }
.review-top .who { font-weight: 600; }
.review-top .opt { color: var(--sub); font-size: 10.5px; }
.review-top .date { margin-left: auto; color: var(--mute); font-size: 10.5px; }
.review p { margin-top: 7px; font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.related-videos { margin-top: 64px; }

/* ---------- 장바구니 ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; padding-top: 28px; }
.cart-list { border-top: 1px solid var(--ink); }
.cart-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-item img { width: 92px; height: 92px; object-fit: cover; border: 1px solid var(--line-2); border-radius: 7px; background: var(--soft); }
.ci-name { font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.ci-opt { font-size: 11px; color: var(--sub); margin-top: 3px; }
.ci-price { font-size: 12px; font-weight: 600; margin-top: 8px; font-variant-numeric: tabular-nums; }
.ci-price s { color: var(--mute); font-weight: 400; font-size: 10.5px; margin-left: 5px; }
.ci-tools { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.ci-remove { font-size: 10.5px; color: var(--sub); text-decoration: underline; text-underline-offset: 2px; }
.ci-remove:hover { color: var(--danger); }
.ci-right { text-align: right; }
.ci-sum { font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.summary { border: 1px solid var(--line); border-radius: 10px; padding: 18px; position: sticky; top: calc(var(--demo-h) + var(--header-h) + 20px); }
.summary h3 { font-size: 13px; font-weight: 650; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.sum-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 12px; color: var(--ink-2); }
.sum-row .v { font-variant-numeric: tabular-nums; }
.sum-row.discount .v { color: #B42318; }
.sum-total { display: flex; align-items: baseline; justify-content: space-between; padding: 15px 0 0; margin-top: 6px; border-top: 1px solid var(--ink); font-size: 12.5px; font-weight: 600; }
.sum-total b { font-size: 21px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.summary .btn { margin-top: 16px; }
.summary .note { margin-top: 10px; font-size: 10.5px; color: var(--sub); line-height: 1.6; }
.cart-guest-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid #E7E1D6; background: #FCFAF6; border-radius: 8px; font-size: 11.5px; color: #6B5B47; margin-bottom: 16px; }
.cart-guest-note button { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 주문 / 결제 ---------- */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; padding-top: 28px; }
.steps { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--mute); margin-bottom: 24px; }
.steps .on { color: var(--ink); font-weight: 650; }
.steps svg { width: 12px; height: 12px; }
.form-block { border-top: 1px solid var(--ink); padding-top: 16px; margin-bottom: 30px; }
.form-block h3 { font-size: 13px; font-weight: 650; margin-bottom: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; color: var(--sub); }
.field input, .field textarea {
  height: 40px; border: 1px solid #D8DCE1; border-radius: 6px; padding: 0 10px; font-size: 12.5px; background: #fff; outline: 0;
}
.field textarea { height: 74px; padding: 9px 10px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.pay-list { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.pay-opt { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-top: 1px solid var(--line-2); font-size: 12.5px; cursor: pointer; }
.pay-opt:first-child { border-top: 0; }
.pay-opt:hover { background: #FCFCFD; }
.radio { width: 16px; height: 16px; border-radius: 50%; border: 1px solid #C9CED5; display: grid; place-items: center; flex: none; }
.radio.on { border-color: var(--ink); }
.radio.on::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.pay-opt .pay-note { margin-left: auto; font-size: 10.5px; color: var(--sub); }
.toss-mark { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: #1B64DA; font-size: 12px; }
.toss-mark .sq { width: 14px; height: 14px; border-radius: 3px; background: var(--toss); }
.agree { margin-top: 16px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.agree-row { display: flex; align-items: flex-start; gap: 8px; padding: 5px 0; font-size: 11.5px; color: var(--ink-2); cursor: pointer; }
.agree-row.all { font-size: 12.5px; font-weight: 600; padding-bottom: 9px; margin-bottom: 4px; border-bottom: 1px solid var(--line-2); }
.check { width: 15px; height: 15px; border-radius: 3px; border: 1px solid #C9CED5; background: #fff; display: grid; place-items: center; flex: none; margin-top: 1px; }
.check.on { background: var(--ink); border-color: var(--ink); }
.check svg { width: 10px; height: 10px; stroke: #fff; stroke-width: 2.4; display: none; }
.check.on svg { display: block; }
.check.readonly { background: var(--ink); border-color: var(--ink); }
.check.readonly svg { display: block; }
.agree-row .sub { color: var(--mute); font-size: 10.5px; }

/* ---------- 결제 완료 ---------- */
.complete { max-width: 560px; margin: 64px auto 0; text-align: center; }
.done-ico { width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; margin: 0 auto 20px; }
.done-ico svg { width: 24px; height: 24px; stroke-width: 2; }
.complete h1 { font-size: 23px; font-weight: 650; letter-spacing: -.03em; }
.complete > p { margin-top: 8px; font-size: 12.5px; color: var(--sub); }
.receipt { margin-top: 28px; border: 1px solid var(--line); border-radius: 10px; text-align: left; overflow: hidden; }
.receipt-head { padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--sub); background: #FCFCFD; }
.receipt-head b { color: var(--ink); font-size: 12px; }
.receipt-body { padding: 6px 16px 14px; }
.receipt-row { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; font-size: 12px; }
.receipt-row .k { color: var(--sub); }
.receipt-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 650; }
.receipt-row.total b { font-size: 16px; font-variant-numeric: tabular-nums; }
.complete-actions { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }

/* ---------- 토스 시트 ---------- */
.toss-sheet { width: 340px; }
.toss-head { display: flex; align-items: center; gap: 8px; padding: 18px 20px 0; font-size: 13px; font-weight: 700; }
.toss-body { padding: 16px 20px 20px; }
.toss-amount { font-size: 26px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.toss-to { font-size: 11.5px; color: var(--sub); margin-top: 4px; }
.toss-line { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--sub); padding: 7px 0; border-top: 1px solid var(--line-2); margin-top: 14px; }
.toss-pay { width: 100%; height: 46px; border-radius: 7px; background: var(--toss); color: #fff; font-size: 14px; font-weight: 700; margin-top: 16px; }
.toss-pay:hover { background: #2B74E4; }
.toss-note { font-size: 10.5px; color: var(--mute); text-align: center; margin-top: 10px; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 마이페이지 ---------- */
.my-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 28px; }
.profile-card { border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.profile-top { display: flex; align-items: center; gap: 12px; }
.profile-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--warm); color: #6B5B47; display: grid; place-items: center; font-size: 16px; font-weight: 700; }
.profile-name { font-size: 15px; font-weight: 650; }
.profile-id { font-size: 11px; color: var(--sub); margin-top: 2px; }
.profile-grade { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11.5px; }
.grade-badge { display: inline-flex; align-items: center; height: 21px; padding: 0 7px; border-radius: 3px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .03em; }
.profile-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 12px; }
.profile-stats div { padding: 12px 0 4px; }
.profile-stats div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.profile-stats .k { font-size: 10.5px; color: var(--sub); }
.profile-stats .v { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 2px; }
.my-section { margin-bottom: 40px; }
.my-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.my-section-head h2 { font-size: 14px; font-weight: 650; display: flex; align-items: center; gap: 7px; }
.my-section-head .count { font-size: 10.5px; color: var(--mute); font-weight: 600; }
.order-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.order-row img { width: 54px; height: 54px; object-fit: cover; border: 1px solid var(--line-2); border-radius: 5px; }
.order-no { font-size: 11px; color: var(--sub); font-variant-numeric: tabular-nums; }
.order-name { font-size: 12.5px; font-weight: 600; margin-top: 2px; }
.order-status { margin-left: auto; text-align: right; font-size: 11px; }
.order-status .st { display: inline-flex; height: 20px; align-items: center; padding: 0 6px; border-radius: 3px; background: var(--soft); border: 1px solid var(--line); font-weight: 600; color: var(--ink-2); }
.order-status .amt { font-weight: 650; font-variant-numeric: tabular-nums; margin-top: 4px; }
.guest-panel { border: 1px solid var(--line); border-radius: 10px; padding: 48px 24px; text-align: center; }

/* ---------- 관리자 ---------- */
.admin-head { padding: 34px 0 0; }
.admin-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.admin-head h1 { font-size: 24px; font-weight: 650; letter-spacing: -.035em; display: flex; align-items: center; gap: 10px; }
.admin-sub { font-size: 12px; color: var(--sub); margin-top: 6px; }
.admin-stats { display: flex; align-items: center; gap: 0; margin-top: 22px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; flex-wrap: wrap; }
.admin-stat { flex: 1; min-width: 120px; padding: 12px 16px; border-left: 1px solid var(--line); }
.admin-stat:first-child { border-left: 0; }
.admin-stat .k { font-size: 10.5px; color: var(--sub); }
.admin-stat .v { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 1px; letter-spacing: -.02em; }
.admin-stat .v small { font-size: 10.5px; font-weight: 500; color: var(--mute); margin-left: 3px; }
.admin-tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--line); margin-top: 26px; }
.admin-tab { position: relative; height: 42px; display: inline-flex; align-items: center; font-size: 12.5px; color: var(--sub); }
.admin-tab.active { color: var(--ink); font-weight: 650; }
.admin-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.admin-toolbar { display: flex; align-items: center; gap: 8px; padding: 16px 0; flex-wrap: wrap; }
.admin-toolbar .search-box { width: 240px; }
.admin-toolbar .spacer { margin-left: auto; }
.admin-table-wrap { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.admin-table { font-size: 12px; }
.admin-table th { text-align: left; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--sub); background: #FCFCFD; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: #FCFCFD; }
.adm-video { display: flex; align-items: center; gap: 10px; min-width: 0; }
.adm-video img { width: 52px; height: 30px; object-fit: cover; border-radius: 3px; background: var(--soft); flex: none; }
.adm-video .t { font-size: 12px; font-weight: 600; letter-spacing: -.01em; line-height: 1.4; }
.adm-video .s { font-size: 10px; color: var(--sub); margin-top: 2px; }
.adm-badge { display: inline-flex; align-items: center; height: 19px; padding: 0 5px; border-radius: 3px; font-size: 10px; font-weight: 600; background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.adm-badge.on { background: #F1FAF4; border-color: #CDEBD7; color: #15803D; }
.adm-badge.off { background: #FAFAFB; color: var(--mute); }
.adm-badge.private { background: #F5F7FB; border-color: #DFE6F1; color: #35507A; }
.row-actions { display: flex; gap: 4px; justify-content: flex-end; }
.mini-btn { height: 24px; padding: 0 7px; border: 1px solid var(--line); border-radius: 4px; font-size: 10.5px; color: var(--ink-2); background: #fff; white-space: nowrap; }
.mini-btn:hover { border-color: #C7CCD3; }
.mini-btn.danger:hover { color: var(--danger); border-color: #E7C7C3; }
.link-chip-row { display: flex; gap: 5px; flex-wrap: wrap; }
.map-cell { display: flex; gap: 5px; flex-wrap: wrap; max-width: 190px; }
.map-pill { display: inline-flex; align-items: center; height: 19px; padding: 0 5px; border-radius: 3px; background: var(--warm); color: #6B5B47; font-size: 9.5px; white-space: nowrap; }
.mobile-cards { display: none; }

/* ---------- 드로어 / 모달 ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(15, 17, 20, .42);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fadeIn .16s ease;
}
.overlay.drawer { justify-content: flex-end; align-items: stretch; padding: 0; }
.modal { width: 100%; max-width: 400px; background: #fff; border-radius: 12px; box-shadow: 0 24px 64px rgba(0,0,0,.22); animation: popIn .18s cubic-bezier(.2,.8,.3,1); overflow: hidden; }
@keyframes popIn { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 0; }
.modal-head h3 { font-size: 16px; font-weight: 650; letter-spacing: -.02em; }
.modal-head p { margin-top: 4px; font-size: 11.5px; color: var(--sub); }
.modal-body { padding: 16px 20px 20px; }
.modal-x { color: var(--sub); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; flex: none; }
.modal-x:hover { background: var(--soft); color: var(--ink); }
.login-option {
  display: flex; align-items: center; gap: 10px; width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 7px; margin-bottom: 7px; font-size: 12.5px; font-weight: 600;
}
.login-option:hover { border-color: #C7CCD3; background: #FCFCFD; }
.login-option .prov { width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; font-size: 9px; font-weight: 800; color: #fff; flex: none; }
.login-option small { margin-left: auto; font-size: 10px; color: var(--mute); font-weight: 500; }
.login-divider { display: flex; align-items: center; gap: 10px; margin: 14px 0; font-size: 10.5px; color: var(--mute); }
.login-divider::before, .login-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.demo-account { border: 1px solid var(--line); background: #FCFCFD; border-radius: 8px; padding: 12px 14px; }
.demo-account .top { display: flex; align-items: center; gap: 9px; }
.demo-account .av { width: 30px; height: 30px; border-radius: 50%; background: var(--warm); color: #6B5B47; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.demo-account .nm { font-size: 12.5px; font-weight: 650; }
.demo-account .sub { font-size: 10.5px; color: var(--sub); margin-top: 1px; }
.demo-account .meta { display: flex; gap: 12px; margin-top: 9px; font-size: 10.5px; color: var(--sub); }
.demo-account .btn { margin-top: 10px; }
.note-box { margin-top: 12px; font-size: 10.5px; color: var(--sub); line-height: 1.6; display: flex; gap: 6px; }
.note-box svg { width: 13px; height: 13px; margin-top: 1px; color: var(--mute); }

.drawer-panel { width: 520px; max-width: 100%; background: #fff; height: 100%; display: flex; flex-direction: column; box-shadow: -16px 0 48px rgba(0,0,0,.16); animation: slideIn .22s cubic-bezier(.2,.8,.3,1); }
@keyframes slideIn { from { transform: translateX(24px); opacity: .4; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line); flex: none; }
.drawer-head h3 { font-size: 16px; font-weight: 650; letter-spacing: -.02em; }
.drawer-head p { font-size: 11px; color: var(--sub); margin-top: 3px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px 24px 28px; }
.drawer-foot { flex: none; padding: 14px 24px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; background: #fff; }
.form-section { margin-bottom: 24px; }
.form-section > h4 { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--sub); text-transform: uppercase; margin-bottom: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 11px; }
.form-field.full { grid-column: 1 / -1; }
.form-field > label { font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.form-field > label .req { color: #B42318; margin-left: 2px; }
.form-field input[type="text"], .form-field input[type="url"], .form-field input[type="number"], .form-field select, .form-field textarea {
  width: 100%; height: 38px; border: 1px solid #D8DCE1; border-radius: 6px; padding: 0 10px; font-size: 12.5px; background: #fff; outline: 0;
}
.form-field textarea { height: 70px; padding: 9px 10px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--ink); }
.form-field .hint { font-size: 10px; color: var(--mute); line-height: 1.5; }
.form-field .err { font-size: 10.5px; color: var(--danger); display: none; }
.form-field.invalid input, .form-field.invalid select, .form-field.invalid textarea { border-color: var(--danger); }
.form-field.invalid .err { display: block; }
.radio-row { display: flex; gap: 6px; flex-wrap: wrap; }
.radio-pill { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 11.5px; color: var(--ink-2); cursor: pointer; }
.radio-pill.on { border-color: var(--ink); background: #F9FAFB; font-weight: 600; }
.radio-pill input { display: none; }
.thumb-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.thumb-option { position: relative; aspect-ratio: 16/9; border-radius: 5px; overflow: hidden; border: 1px solid var(--line); }
.thumb-option img { width: 100%; height: 100%; object-fit: cover; }
.thumb-option.on { outline: 2px solid var(--ink); outline-offset: 1px; }
.thumb-option .chk { position: absolute; right: 4px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--ink); display: none; place-items: center; }
.thumb-option.on .chk { display: grid; }
.thumb-option .chk svg { width: 9px; height: 9px; stroke: #fff; stroke-width: 3; }
.pick-list { border: 1px solid var(--line); border-radius: 7px; max-height: 156px; overflow-y: auto; }
.pick-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-top: 1px solid var(--line-2); font-size: 11.5px; cursor: pointer; }
.pick-row:first-child { border-top: 0; }
.pick-row:hover { background: #FCFCFD; }
.pick-row img { width: 26px; height: 26px; object-fit: cover; border-radius: 3px; border: 1px solid var(--line-2); }
.pick-row .pr { margin-left: auto; font-size: 10.5px; color: var(--sub); font-variant-numeric: tabular-nums; }
.switch { position: relative; width: 36px; height: 21px; border-radius: 11px; background: #D9DDE3; transition: background .15s; flex: none; }
.switch::after { content: ""; position: absolute; left: 2px; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.15); transition: transform .15s; }
.switch.on { background: var(--ink); }
.switch.on::after { transform: translateX(15px); }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-2); }
.switch-row:first-child { border-top: 0; }
.switch-row .t { font-size: 12px; font-weight: 600; }
.switch-row .s { font-size: 10.5px; color: var(--sub); margin-top: 1px; }

/* ---------- 토스트 ---------- */
.toast-root { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100% - 32px); }
.toast {
  display: flex; align-items: center; gap: 8px; background: #111827; color: #fff; border-radius: 8px;
  padding: 10px 14px; font-size: 12px; box-shadow: 0 8px 28px rgba(0,0,0,.2); animation: toastIn .2s ease;
}
.toast svg { width: 14px; height: 14px; color: #9DE0B0; }
.toast.warn svg { color: #F2C879; }
@keyframes toastIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- 푸터 ---------- */
.site-footer { border-top: 1px solid var(--line); background: #FCFCFD; padding: 44px 0 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.footer-brand { max-width: 320px; }
.footer-brand .brand-name { font-size: 15px; }
.footer-brand p { margin-top: 10px; font-size: 11.5px; color: var(--sub); line-height: 1.7; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--sub); text-transform: uppercase; margin-bottom: 10px; }
.footer-col ul { display: flex; flex-direction: column; gap: 6px; }
.footer-col a, .footer-col span { font-size: 11.5px; color: var(--ink-2); }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 2px; }
.footer-info { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: 10.5px; color: var(--mute); line-height: 1.7; }
.footer-demo { margin-top: 14px; display: flex; align-items: flex-start; gap: 7px; font-size: 10.5px; color: var(--sub); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 9px 11px; }
.footer-demo svg { width: 13px; height: 13px; margin-top: 1px; color: var(--mute); }

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .hero { gap: 40px; }
  .hero h1 { font-size: 40px; }
  .video-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 30px; }
  .pd { gap: 36px; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 58px; }
  .wrap { width: calc(100% - 36px); }
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 36px 0 44px; }
  .hero-copy { max-width: none; padding-top: 0; }
  .hero h1 { font-size: 33px; }
  .hero-media { order: -1; }
  .hero-img { aspect-ratio: 16 / 10; }
  .hero-caption { padding-top: 10px; }
  .video-layout { grid-template-columns: 1fr; gap: 34px; }
  .pd { grid-template-columns: 1fr; gap: 26px; }
  .pd-media { position: static; }
  .pd-main { max-width: 560px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; gap: 26px; }
  .summary { position: static; }
  .my-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .brand-band-grid { grid-template-columns: 1fr; }
  .brand-band-cell { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0; }
  .brand-band-cell:first-child { border-top: 0; }
  .section { padding-top: 56px; }
  .page-head { padding: 30px 0 20px; }
  .page-head h1 { font-size: 23px; }
  .admin-stat { min-width: 100px; }
  .admin-table-wrap { overflow-x: auto; }
  .admin-table { min-width: 720px; }
}
@media (max-width: 640px) {
  body { font-size: 13.5px; }
  .wrap { width: calc(100% - 32px); }
  .demo-bar { position: sticky; }
  .demo-right { display: none; }
  .demo-role-note { display: none; }
  .demo-bar .wrap { gap: 10px; }
  .demo-label span.t { display: none; }
  .demo-label b { font-size: 11px; }
  .role-seg { margin-left: auto; }
  .role-btn { padding: 0 8px; font-size: 10.5px; }
  .site-header .wrap { gap: 10px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 14px; }
  .brand-en { font-size: 7.5px; }
  .header-actions { gap: 0; }
  .header-actions .account-pill { display: none; }
  .page { padding-bottom: calc(var(--bottom-h) + 24px); }
  .bottom-nav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    height: calc(var(--bottom-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
    backdrop-filter: saturate(140%) blur(8px);
  }
  .bottom-link {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    font-size: 10px; color: var(--sub); letter-spacing: -.01em;
  }
  .bottom-link svg { width: 20px; height: 20px; stroke-width: 1.55; }
  .bottom-link.active { color: var(--ink); font-weight: 650; }
  .bottom-link .badge { position: absolute; }
  .hero { padding: 24px 0 36px; }
  .hero h1 { font-size: 28px; letter-spacing: -.04em; }
  .hero-lead { font-size: 13px; margin-top: 14px; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .btn { flex: 1; height: 44px; }
  .hero-meta { margin-top: 24px; gap: 12px; font-size: 10.5px; }
  .hero-img { border-radius: 2px; }
  .section { padding-top: 44px; }
  .section-head { margin-bottom: 16px; }
  .section-head h2 { font-size: 17px; margin-top: 7px; }
  .section-head p { font-size: 11.5px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 18px; }
  .hub-tools { padding-top: 14px; }
  .tabs { gap: 16px; }
  .tab { height: 40px; font-size: 12px; }
  .tab .muted { display: none; }
  .filter-row { gap: 6px; padding: 13px 0; }
  .chip-group { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; padding-bottom: 2px; }
  .chip-group::-webkit-scrollbar { display: none; }
  .search-box { width: 100%; order: 0; margin-top: 14px; }
  .sort-select { margin-left: auto; }
  .result-line { padding-bottom: 12px; }
  .vtitle { font-size: 13px; min-height: auto; }
  .video-page { padding-top: 0; }
  .breadcrumb { padding: 14px 0 10px; margin-bottom: 0; }
  .player { border-radius: 0; margin: 0 -16px; }
  .video-head { padding-top: 16px; }
  .video-head h1 { font-size: 17.5px; }
  .video-titlerow { flex-direction: column; gap: 12px; }
  .video-actions { width: 100%; }
  .video-actions .pill-btn { flex: 1; justify-content: center; }
  .video-desc { font-size: 12.5px; }
  .store-tools { padding: 14px 0 16px; }
  .pd { padding-top: 0; }
  .pd-main { border-radius: 0; border-left: 0; border-right: 0; margin: 0 -16px; width: calc(100% + 32px); max-width: none; }
  .pd-thumbs { padding: 0 0 2px; }
  .pd-info h1 { font-size: 21px; }
  .pd-price .member { font-size: 22px; }
  .pd-buy { position: sticky; bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom)); background: #fff; padding: 9px 0 calc(9px + env(safe-area-inset-bottom)); margin: 16px -16px 0; padding-left: 16px; padding-right: 16px; border-top: 1px solid var(--line); z-index: 20; grid-template-columns: auto 1fr 1.2fr; align-items: center; gap: 8px; }
  .pd-buy .btn { height: 44px; }
  .pd-buy-price { display: flex; flex-direction: column; line-height: 1.25; font-size: 9.5px; color: var(--sub); white-space: nowrap; }
  .pd-buy-price b { font-size: 14.5px; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
  .pd-page { padding-bottom: 92px; }
  .pd-tabs { margin-top: 40px; }
  .related-videos { margin-top: 40px; }
  .cart-item { grid-template-columns: 76px 1fr; gap: 12px; }
  .cart-item img { width: 76px; height: 76px; }
  .ci-right { grid-column: 2; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .ci-tools { margin-top: 8px; }
  .form-grid { grid-template-columns: 1fr; }
  .checkout-layout .summary { position: static; }
  .store-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .store-grid .pname { font-size: 12px; }
  .store-grid .psub { font-size: 10px; }
  .store-grid .pprice .sale { font-size: 12.5px; }
  .store-grid .pmeta { font-size: 10px; }
  .store-grid .guest-price-note { font-size: 9.5px; }
  .complete { margin-top: 36px; }
  .complete h1 { font-size: 20px; }
  .my-section { margin-bottom: 30px; }
  .admin-head { padding-top: 22px; }
  .admin-head h1 { font-size: 20px; }
  .admin-stats { display: grid; grid-template-columns: 1fr 1fr; }
  .admin-stat { min-width: 0; padding: 10px 12px; border-left: 1px solid var(--line); }
  .admin-stat:nth-child(odd) { border-left: 0; }
  .admin-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .admin-toolbar .search-box { width: 100%; }
  .admin-toolbar .spacer { margin-left: 0; }
  .admin-toolbar .btn { flex: 1; }
  .admin-table-wrap { display: none; }
  .mobile-cards { display: block; }
  .mcard { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
  .mcard-main { display: flex; gap: 10px; padding: 11px; }
  .mcard-main img { width: 72px; height: 42px; object-fit: cover; border-radius: 4px; flex: none; }
  .mcard-title { font-size: 12.5px; font-weight: 600; line-height: 1.4; }
  .mcard-sub { font-size: 10.5px; color: var(--sub); margin-top: 3px; }
  .mcard-foot { display: flex; align-items: center; gap: 5px; padding: 8px 11px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
  .mcard-foot .row-actions { margin-left: auto; }
  .overlay { padding: 0; align-items: flex-end; }
  .modal { border-radius: 14px 14px 0 0; max-width: none; animation: sheetUp .2s ease; }
  @keyframes sheetUp { from { transform: translateY(20px); opacity: .5; } to { transform: none; opacity: 1; } }
  .drawer-panel { width: 100%; border-radius: 0; animation: none; }
  .thumb-picker { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .toast-root { bottom: calc(var(--bottom-h) + 16px + env(safe-area-inset-bottom)); }
  .site-footer { padding: 32px 0 28px; }
  .footer-top { gap: 24px; }
  .footer-cols { gap: 32px; }
  .footer-info { gap: 2px 12px; }
}
@media (max-width: 380px) {
  .role-btn { padding: 0 6px; font-size: 10px; }
  .brand-txt { display: none; }
  .hero h1 { font-size: 25px; }
}
