/* 옷갈피 v2 — Gen-Z · 글래스모피즘 · 오로라 컬러 · 스티커. feels like. 가이드 토큰(lime/sky/lavender/pink) 기반 */
:root {
  color-scheme: light;
  --canvas: #f2f2f7;
  --ink: #1c1c1e;
  --secondary: #5d626b;
  --muted: #858a93;
  --line: rgba(16, 17, 18, .1);
  --lime: #e8e8ed;
  --sky: #e6e9ee;
  --lav: #ececf1;
  --pink: #ececf1;
  --hot: #1c1c1e;
  --radius-card: 22px;
  --radius-hero: 30px;
  --page: 20px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Pretendard Variable", Pretendard, Inter, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: #ececf1; font-family: var(--font); color: var(--ink); -webkit-text-size-adjust: 100%; overflow: hidden; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .35s var(--spring), background .2s, box-shadow .2s; }
button:active:not(:disabled) { transform: scale(.94); transition-duration: .08s; }
button:disabled { cursor: default; opacity: .4; }
button, h1, h2, h3, h4, p, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
p { line-height: 1.5; word-break: keep-all; }
img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
:focus-visible { outline: 2px solid #3155ff; outline-offset: 3px; }
h1:focus, h2:focus, .view:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── glass ─────────────────────────────── */
.glass {
  background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: 0 10px 34px rgba(60, 60, 120, .12), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.glass.dark { background: rgba(20, 20, 24, .5); border-color: rgba(255, 255, 255, .14); box-shadow: 0 10px 34px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .18); color: #fff; }
.app[data-style="calendar"] .glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); box-shadow: 0 10px 34px rgba(0, 0, 0, .35); color: #fafafc; }

/* ── shell ─────────────────────────────── */
.app {
  --screen-ink: var(--ink); --screen-secondary: var(--secondary);
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  width: min(100%, 430px); height: 100dvh; margin-inline: auto; overflow: clip;
  background: var(--canvas); color: var(--screen-ink);
}
@media (min-width: 431px) { .app { box-shadow: 0 0 0 1px rgba(16, 17, 18, .06), 0 30px 80px rgba(60, 60, 120, .2); } }
.app[data-style="calendar"] { --canvas: #151515; --screen-ink: #fafafc; --screen-secondary: #b7b7b2; }
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; filter: blur(46px); opacity: .85; transition: transform .8s var(--ease); animation: drift 14s ease-in-out infinite alternate; }
.aurora .b1 { left: -20%; top: -8%; background: var(--lime); }
.aurora .b2 { right: -26%; top: 14%; background: var(--sky); animation-delay: -4s; }
.aurora .b3 { left: -10%; bottom: 8%; background: var(--pink); animation-delay: -8s; }
.aurora .b4 { right: -18%; bottom: -10%; background: var(--lav); animation-delay: -2s; }
@keyframes drift { to { margin: 40px 0 0 30px; } }
.app[data-style="calendar"] .aurora i { opacity: .12; }
.app[data-mood="lime"] .aurora .b1 { transform: scale(1.5) translate(10%, 10%); }
.app[data-mood="pink"] .aurora .b3 { transform: scale(1.6) translate(10%, -20%); }
.app[data-mood="sky"] .aurora .b2 { transform: scale(1.5) translate(-10%, 10%); }

.top { flex: none; position: relative; z-index: 5; display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; min-height: 56px; padding: 6px 8px; padding-top: max(6px, env(safe-area-inset-top)); }
.top.home { grid-template-columns: minmax(0, 1fr) auto; padding-inline: var(--page) 10px; }
.brand { font-size: 26px; font-weight: 800; letter-spacing: -.07em; display: inline-flex; align-items: center; gap: 6px; }
.brand i { width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(16, 17, 18, .9) inset; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.35); } }
.top-title { text-align: center; font-size: 16px; font-weight: 700; overflow-wrap: anywhere; letter-spacing: -.03em; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; border-radius: 50%; color: inherit; }
.icon-btn.g { background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .8); }
.icon-btn svg, .tab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.view { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.view::-webkit-scrollbar { display: none; }
.view.full { overflow: hidden; }
.page { padding: 4px var(--page) 120px; }

/* floating glass tabbar */
.tabbar { position: absolute; z-index: 20; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 4px; padding: 6px; border-radius: 999px; }
.tabbar[hidden] { display: none; }
.tab { position: relative; display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--secondary); font-size: 14px; font-weight: 700; letter-spacing: -.03em; }
.tab span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .45s var(--spring); }
.tab[aria-current="page"] { background: var(--ink); color: #fff; padding: 0 20px; }
.app[data-style="calendar"] .tab[aria-current="page"] { background: var(--lime); color: var(--ink); }
.tab[aria-current="page"] span { max-width: 80px; }
.tab .count { position: absolute; top: 2px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 1.5px solid var(--ink); animation: pop .5s var(--spring); }
@keyframes pop { from { transform: scale(0); } }
.bar { position: absolute; z-index: 15; left: 12px; right: 12px; bottom: calc(max(14px, env(safe-area-inset-bottom)) + 66px); display: grid; gap: 8px; }
.bar[hidden] { display: none; }
.bar.solid { bottom: max(14px, env(safe-area-inset-bottom)); }

/* ── type ─────────────────────────────── */
.hero-title { font-size: 38px; line-height: 1.04; font-weight: 800; letter-spacing: -.06em; word-break: keep-all; }
.page-title { font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -.055em; word-break: keep-all; }
.lead { margin-top: 8px; font-size: 14px; color: var(--screen-secondary); font-weight: 500; }
.head { padding: 10px 0 16px; }
.section { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 28px 0 12px; }
.section h3 { font-size: 20px; font-weight: 750; letter-spacing: -.045em; }
.section span { font-size: 13px; color: var(--screen-secondary); font-weight: 600; }
.caption { font-size: 12px; color: var(--screen-secondary); line-height: 1.5; font-weight: 500; }
.num { font-variant-numeric: tabular-nums; }
.sticker { position: absolute; z-index: 3; display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: -.02em; box-shadow: 0 3px 0 rgba(16, 17, 18, .9); border: 2px solid var(--ink); transform: rotate(var(--r, -6deg)); white-space: nowrap; pointer-events: none; }
.sticker.pink { background: var(--pink); } .sticker.sky { background: var(--sky); } .sticker.lav { background: var(--lav); } .sticker.hot { background: var(--hot); color: #fff; }

/* ── buttons ──────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 24px; border: 0; border-radius: 999px; font-size: 15px; font-weight: 700; letter-spacing: -.03em; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn.primary { background: var(--lime); color: var(--ink); box-shadow: 0 4px 0 var(--ink), 0 0 0 2px var(--ink) inset; }
.btn.primary:active:not(:disabled) { box-shadow: 0 1px 0 var(--ink), 0 0 0 2px var(--ink) inset; transform: translateY(3px) scale(.99); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.secondary { background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .85); color: var(--ink); box-shadow: 0 6px 20px rgba(60, 60, 120, .1); }
.app[data-style="calendar"] .btn.secondary { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fafafc; }
.btn.soft { background: rgba(16, 17, 18, .07); color: var(--ink); }
.btn.block { width: 100%; }
.btn.small { min-height: 44px; padding: 0 16px; font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--page) * -1); padding: 4px var(--page); scrollbar-width: none; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 17px; border: 1px solid rgba(255, 255, 255, .85); border-radius: 999px; background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 14px; font-weight: 700; white-space: nowrap; letter-spacing: -.03em; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.04); }
.app[data-style="calendar"] .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fafafc; }
.app[data-style="calendar"] .chip[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 999px; }
.seg button { min-height: 44px; border: 0; border-radius: 999px; background: none; color: var(--secondary); font-size: 14px; font-weight: 700; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > span, .label { font-size: 13px; font-weight: 700; }
.input { width: 100%; min-height: 54px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 18px; background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 16px; font-weight: 600; }
.input::placeholder { color: var(--muted); font-weight: 500; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23101112' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.note { padding: 14px 16px; border-radius: 18px; font-size: 13px; color: var(--secondary); }
.note strong { color: var(--ink); }
.note .btn { margin-top: 10px; }
.empty { padding: 28px 16px; border-radius: var(--radius-card); text-align: center; color: var(--secondary); font-size: 14px; font-weight: 600; }
.empty .btn { margin-top: 14px; }
.badge { display: inline-flex; align-items: center; min-height: 22px; padding: 0 9px; border-radius: 999px; background: var(--lav); font-size: 11px; font-weight: 750; }
.badge.sold { background: var(--pink); } .badge.dark { background: var(--ink); color: #fff; } .badge.lime { background: var(--lime); }

/* ── photos ───────────────────────────── */
.photo { position: relative; display: block; overflow: hidden; background: rgba(255, 255, 255, .5); }
.photo img { transition: transform .6s var(--ease); }
.garment { position: relative; width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 6px; background: var(--g-bg, #e5e5ea); color: var(--g-fg, #101112); text-align: center; }
.garment svg { width: 34%; max-width: 56px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.garment b { font-size: 12px; font-weight: 700; } .garment small { font-size: 11px; opacity: .72; }
/* 무채색 원본 사진은 파스텔 위에 multiply 해서 컬러 사진처럼 보이게 한다 */
img.lg { mix-blend-mode: multiply; filter: contrast(1.08); }
img.lg.lum { mix-blend-mode: luminosity; filter: contrast(1.25) brightness(1.05); }
:is(.photo,.ball,.sun,.sat button):has(> img.t0) { background: #d8f65b; } :is(.photo,.ball,.sun,.sat button):has(> img.t1) { background: #f5d8e3; } :is(.photo,.ball,.sun,.sat button):has(> img.t2) { background: #a9c9f4; }
:is(.photo,.ball,.sun,.sat button):has(> img.t3) { background: #dcd8fa; } :is(.photo,.ball,.sun,.sat button):has(> img.t4) { background: #b9f0d4; }

/* stack (사진 더미) */
.stack-btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: center; }
.photo-stack { display: block; position: relative; isolation: isolate; inline-size: min(72%, 240px); aspect-ratio: 6 / 5; margin: 14px auto 22px; }
.photo-stack > .photo { position: absolute; inset: 0; border-radius: 16px; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(40, 40, 90, .18); transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0deg)); transition: transform .5s var(--spring); }
.photo-stack.mini { inline-size: 74%; margin: 10px auto 16px; }
.stack-title { display: block; margin-top: 14px; font-size: 17px; font-weight: 750; letter-spacing: -.045em; }
.stack-sub { display: block; margin-top: 3px; font-size: 13px; color: var(--secondary); font-weight: 600; }
.stack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.stack-card { padding: 4px 4px 14px; border-radius: var(--radius-card); }
.stack-card[aria-pressed="true"] { outline: 2px solid var(--ink); }
.stack-card .stack-title { font-size: 15px; margin-top: 10px; }

/* collage */
.collage { position: relative; aspect-ratio: 1 / 1.02; border-radius: var(--radius-hero); overflow: hidden; background: linear-gradient(145deg, rgba(220, 216, 250, .7), rgba(169, 201, 244, .55)); border: 1px solid rgba(255, 255, 255, .8); }
.collage .piece { position: absolute; border-radius: 16px; overflow: hidden; border: 3px solid #fff; background: #fff; box-shadow: 0 8px 20px rgba(40, 40, 90, .16); transform: rotate(var(--r, 0deg)); }
.collage .piece[data-slot="top"] { left: 5%; top: 5%; width: 50%; height: 47%; --r: -3deg; }
.collage .piece[data-slot="bottom"] { left: 53%; top: 4%; width: 42%; height: 56%; --r: 2deg; }
.collage .piece[data-slot="shoes"] { left: 6%; top: 58%; width: 38%; height: 37%; --r: 2deg; }
.collage .piece[data-slot="bag"] { left: 49%; top: 64%; width: 44%; height: 31%; --r: -3deg; }
.collage.compact { aspect-ratio: 1 / .72; }
.collage.compact .piece[data-slot="top"] { left: 5%; top: 6%; width: 44%; height: 50%; }
.collage.compact .piece[data-slot="bottom"] { left: 51%; top: 5%; width: 44%; height: 58%; }
.collage.compact .piece[data-slot="shoes"] { left: 6%; top: 58%; width: 34%; height: 34%; }
.collage.compact .piece[data-slot="bag"] { left: 44%; top: 66%; width: 50%; height: 28%; }
.collage .tag { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: 10px; font-weight: 700; }
.collage .garment b, .collage .garment small { display: none; }

/* ── onboarding ───────────────────────── */
.onb { padding: 0 var(--page) 130px; }
.onb-dots { display: flex; gap: 6px; padding: 8px 0 4px; }
.onb-dots i { height: 6px; flex: 1; border-radius: 6px; background: rgba(16, 17, 18, .12); overflow: hidden; position: relative; }
.onb-dots i::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.onb-dots i.on::after { transform: scaleX(1); }
.step { animation: stepIn .6s var(--spring) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(46px) scale(.96); } }
.mood-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mood { position: relative; padding: 0; border: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: #fff; text-align: left; box-shadow: 0 8px 22px rgba(60, 60, 120, .12); }
.mood .photo { position: absolute; inset: 0; }
.mood b { position: absolute; left: 10px; bottom: 10px; padding: 7px 13px; border-radius: 999px; font-size: 14px; font-weight: 750; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mood .check { position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); display: grid; place-items: center; transform: scale(0) rotate(-40deg); transition: transform .45s var(--spring); }
.mood .check svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mood[aria-pressed="true"] { transform: scale(.96) rotate(-1.2deg); outline: 3px solid var(--ink); }
.mood[aria-pressed="true"] .check { transform: scale(1) rotate(0); }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; }
.swatch { display: grid; justify-items: center; gap: 8px; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 700; }
.swatch i { width: 86px; height: 86px; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 10px 24px rgba(60, 60, 120, .2), inset 0 -10px 20px rgba(255, 255, 255, .35); transition: transform .5s var(--spring); }
.swatch[aria-pressed="true"] i { transform: scale(1.14); outline: 3px solid var(--ink); outline-offset: 3px; }
.tuning { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.tuning .orbit-demo { position: relative; width: 220px; height: 220px; margin: 0 auto 26px; }
.tuning .orbit-demo .photo { position: absolute; width: 84px; height: 112px; border-radius: 18px; border: 3px solid #fff; left: calc(50% - 42px); top: calc(50% - 56px); animation: converge 1.6s var(--spring) both; animation-delay: calc(var(--i) * 120ms); }
@keyframes converge { 0% { transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1.3); opacity: 0; } 55% { opacity: 1; } 100% { transform: translate(calc(var(--i) * 28px - 28px), 0) rotate(calc(var(--i) * 8deg - 8deg)) scale(1); } }

/* ── explore: universe / core / closet ─── */
.stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; }
.marquee { position: absolute; left: 0; right: 0; top: 4px; z-index: 2; overflow: hidden; white-space: nowrap; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--ink); }
.marquee div { display: inline-flex; gap: 22px; animation: marq 18s linear infinite; padding: 6px 0; }
@keyframes marq { to { transform: translateX(-50%); } }
.stage-copy { position: absolute; left: var(--page); right: var(--page); top: 40px; z-index: 2; pointer-events: none; }
.rings { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.rings ellipse { fill: none; stroke: rgba(16, 17, 18, .22); stroke-width: 1.2; stroke-dasharray: 3 7; transform-origin: 50% 50%; animation: spin 90s linear infinite; }
.rings ellipse:nth-child(2) { animation-direction: reverse; animation-duration: 120s; }
@keyframes spin { to { transform: rotate(360deg); } }
.planet { position: absolute; z-index: 3; left: calc(var(--x) - var(--s) / 2); top: calc(var(--y) - var(--s) / 2); width: var(--s); height: var(--s); padding: 0; border: 0; background: none; animation: bob 5s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes bob { 50% { margin-top: -12px; } }
.planet .ball { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: 0 16px 36px rgba(60, 60, 120, .28); }
.planet .ball::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .55), transparent 45%); }
.planet .name { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; white-space: nowrap; letter-spacing: -.04em; }
.planet .sticker { right: -8px; top: 4px; }
.hint { position: absolute; z-index: 3; left: 50%; bottom: 96px; transform: translateX(-50%); padding: 9px 16px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; pointer-events: none; }
/* core orbit */
.sun { position: absolute; z-index: 2; left: 50%; top: 44%; width: 130px; height: 130px; margin: -65px 0 0 -65px; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, .35), 0 20px 50px rgba(60, 60, 120, .3); }
.sun-name { position: absolute; z-index: 3; left: 50%; top: calc(44% + 78px); transform: translateX(-50%); text-align: center; pointer-events: none; }
.sun-name h2 { font-size: 24px; font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
.sun-name p { font-size: 13px; color: var(--secondary); font-weight: 600; margin-top: 2px; }
.orbit { position: absolute; z-index: 3; left: 50%; top: 44%; width: 0; height: 0; animation: spin var(--t, 26s) linear infinite; }
.orbit.rev { animation-direction: reverse; }
.sat { position: absolute; left: 0; top: 0; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a))); }
.sat .face { position: absolute; left: calc(var(--z) / -2); top: calc(var(--z) / -2); width: var(--z); animation: spin var(--t, 26s) linear infinite reverse; display: grid; justify-items: center; }
.orbit.rev .sat .face { animation-direction: normal; }
.sat button { display: block; width: var(--z); height: var(--z); padding: 0; border-radius: 50%; overflow: hidden; background: #fff; border: 3px solid #fff; box-shadow: 0 10px 24px rgba(60, 60, 120, .28); position: relative; }
.sat.piece button { border-radius: 18px; }
.sat .lab { display: block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
/* closet scene */
.closet { position: absolute; inset: 0; perspective: 1200px; }
.closet-in { position: absolute; inset: 8px 12px 150px; border-radius: 30px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(220, 216, 250, .65)); border: 1px solid rgba(255, 255, 255, .85); box-shadow: inset 0 0 60px rgba(255, 255, 255, .6), 0 20px 50px rgba(60, 60, 120, .2); display: grid; grid-template-rows: auto 1fr auto; }
.closet-head { padding: 14px 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.closet-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.055em; }
.closet-head p { font-size: 12px; color: var(--secondary); font-weight: 600; }
.rail { position: relative; padding-top: 22px; min-height: 0; }
.rail::before { content: ''; position: absolute; left: 0; right: 0; top: 14px; height: 8px; border-radius: 8px; background: linear-gradient(180deg, #fff, #b9bcc8 60%, #8e92a3); box-shadow: 0 4px 10px rgba(40, 40, 80, .25); z-index: 2; }
.hangers { display: flex; gap: 6px; overflow-x: auto; padding: 0 18px 12px; scrollbar-width: none; touch-action: pan-x; height: 100%; align-items: flex-start; }
.hangers::-webkit-scrollbar { display: none; }
.hanger { position: relative; flex: none; width: 158px; padding: 22px 0 0; border: 0; background: none; text-align: center; transform-origin: 50% 0; transform: rotate(var(--sw, 0deg)); transition: none; touch-action: pan-x; }
.hanger:active:not(:disabled) { transform: rotate(var(--sw, 0deg)); }
.hanger .hook { position: absolute; left: 50%; top: -4px; width: 44px; height: 34px; margin-left: -22px; fill: none; stroke: #6e7384; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; z-index: 3; }
.hanger .hcard { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; border: 3px solid #fff; box-shadow: 0 12px 24px rgba(40, 40, 90, .22); }
.hanger b { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: -.03em; overflow-wrap: anywhere; }
.hanger i { display: block; font-style: normal; font-size: 12px; color: var(--secondary); font-weight: 600; }
.hanger .sold-stamp { position: absolute; z-index: 4; left: 8px; top: 38px; }
.lookbook { padding: 4px 18px 18px; }
.lookbook h3 { font-size: 13px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.02em; }
.polas { display: flex; gap: 12px; overflow-x: auto; padding: 10px 4px 10px; margin: 0 -4px; scrollbar-width: none; }
.polas::-webkit-scrollbar { display: none; }
.pola { position: relative; flex: none; width: 120px; padding: 6px 6px 22px; border: 0; background: #fff; border-radius: 6px; box-shadow: 0 8px 18px rgba(40, 40, 90, .22); transform: rotate(var(--r, -3deg)); text-align: left; }
.pola:nth-child(even) { --r: 3deg; }
.pola .photo { aspect-ratio: 4 / 5; }
.pola b { position: absolute; left: 8px; right: 8px; bottom: 4px; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pola::before { content: ''; position: absolute; left: 50%; top: -8px; width: 38px; height: 14px; margin-left: -19px; background: rgba(216, 246, 91, .85); transform: rotate(-3deg); z-index: 2; }
.door { position: absolute; z-index: 6; top: 8px; bottom: 150px; width: calc(50% - 12px); border-radius: 30px; overflow: hidden; backface-visibility: hidden; pointer-events: none; }
.door.l { left: 12px; transform-origin: 0 50%; border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
.door.r { right: 12px; transform-origin: 100% 50%; border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
.door::after { content: ''; position: absolute; top: 46%; width: 6px; height: 56px; border-radius: 6px; background: var(--ink); opacity: .85; }
.door.l::after { right: 14px; } .door.r::after { left: 14px; }
.door .photo { position: absolute; inset: 0; opacity: .9; }
.door .shine { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .55), transparent 40%); }
.door-name { position: absolute; z-index: 7; left: 50%; top: 40%; transform: translateX(-50%) rotate(-5deg); font-size: 14px; pointer-events: none; }
.closet-open .door.l { transform: rotateY(-112deg); transition: transform 1.05s var(--spring) .15s; }
.closet-open .door.r { transform: rotateY(112deg); transition: transform 1.05s var(--spring) .15s; }
.closet-open .door-name { opacity: 0; transition: opacity .3s; }

/* ── feed / my ────────────────────────── */
.my-top .btn { white-space: nowrap; flex: none; }
.my-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 6px 0 14px; }
.me-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.me-chips span { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .9); }
.seeds { display: flex; gap: 10px; overflow-x: auto; margin: 0 calc(var(--page) * -1); padding: 12px var(--page) 12px; scrollbar-width: none; }
.seeds::-webkit-scrollbar { display: none; }
.seed { position: relative; flex: none; width: 58px; padding: 0; border: 0; background: none; text-align: center; font-size: 10px; font-weight: 700; }
.seed .photo { width: 58px; height: 58px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(60, 60, 120, .2); }
.seed .garment b, .seed .garment small, .seed .garment svg { display: none; }
.seed[aria-pressed="true"] .photo { outline: 3px solid var(--ink); outline-offset: 2px; transform: scale(1.1); }
.seed span.n { display: block; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.today { position: relative; display: flex; align-items: center; gap: 12px; margin: 6px 0 18px; padding: 12px; border-radius: 26px; }
.today .t-thumbs { display: flex; flex: none; }
.today .t-thumbs .photo { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; margin-right: -10px; }
.today .t-thumbs .garment b, .today .t-thumbs .garment small { display: none; }
.today .t-txt { flex: 1; min-width: 0; padding-left: 10px; }
.today h3 { font-size: 15px; font-weight: 800; letter-spacing: -.045em; }
.today p.s { margin: 2px 0 0; font-size: 11px; color: var(--secondary); font-weight: 600; }
.feed { position: relative; }
.fcard { position: absolute; left: 0; top: 0; display: block; padding: 0; border: 0; background: none; text-align: left; transition: transform .8s var(--spring), opacity .3s; transition-delay: var(--dl, 0ms); will-change: transform; }
.fcard .photo { width: 100%; border-radius: 22px; box-shadow: 0 10px 26px rgba(60, 60, 120, .18); }
.fcard .meta { display: block; padding: 8px 4px 0; }
.fcard .meta b { display: block; font-size: 13px; font-weight: 750; letter-spacing: -.035em; line-height: 1.3; }
.fcard .why { display: inline-flex; margin-top: 5px; padding: 3px 9px; border-radius: 12px; background: var(--lime); font-size: 11px; font-weight: 750; line-height: 1.35; border: 1.5px solid var(--ink); text-align: left; }
.fcard .why.plain { background: rgba(255, 255, 255, .7); border-color: transparent; font-weight: 700; }
.fcard .mini-strip { position: absolute; left: 8px; bottom: 8px; display: flex; }
.fcard .mini-strip span { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; margin-right: -8px; background: #fff; }
.fcard .mini-strip .garment b, .fcard .mini-strip .garment small { display: none; }
.fcard .mini-strip .garment svg, .today .t-thumbs .garment svg { width: 60%; }

/* ── cards ─────────────────────────────── */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.item { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.item .photo { aspect-ratio: 1 / 1.12; border-radius: 20px; box-shadow: 0 8px 22px rgba(60, 60, 120, .14); }
.item .flag { position: absolute; top: 10px; left: 10px; }
.item .mark { position: absolute; top: 10px; right: 10px; }
.item strong { display: block; margin-top: 8px; font-size: 14px; font-weight: 700; letter-spacing: -.035em; line-height: 1.35; overflow-wrap: anywhere; }
.item small { display: block; margin-top: 2px; font-size: 12px; color: var(--secondary); font-weight: 600; }
.mini-actions { display: flex; gap: 6px; margin-top: 8px; }
.mini-actions .btn { flex: 1; min-height: 40px; padding: 0 8px; font-size: 12px; }
.fab { width: 100%; margin-top: 16px; }

/* ── look view ─────────────────────────── */
.scene { position: relative; aspect-ratio: 4 / 3.5; border-radius: 34px; overflow: hidden; transition: transform .35s var(--ease); touch-action: pan-y; box-shadow: 0 24px 50px rgba(60, 60, 120, .3); border: 3px solid #fff; }
.scene .glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .5), transparent 50%); mix-blend-mode: soft-light; }
.scene .who { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 13px; font-weight: 750; z-index: 3; }
.scene .who .photo { width: 30px; height: 30px; border-radius: 50%; }
.scene .sticker { right: 14px; top: 16px; }
.look-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 16px 2px 12px; }
.look-title h2 { font-size: 24px; font-weight: 800; letter-spacing: -.055em; }
.look-title span { font-size: 13px; color: var(--secondary); font-weight: 700; }
.pieces { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pc { position: relative; padding: 8px; border-radius: 24px; touch-action: pan-y; user-select: none; }
.pc .photo { aspect-ratio: 1 / 1.05; border-radius: 17px; }
.pc small.sl { display: block; margin-top: 8px; font-size: 11px; font-weight: 800; color: var(--secondary); letter-spacing: .02em; }
.pc strong { display: block; font-size: 14px; font-weight: 750; letter-spacing: -.035em; line-height: 1.3; overflow-wrap: anywhere; }
.pc .price { font-size: 12px; color: var(--secondary); font-weight: 700; }
.pc .whisper { display: block; margin-top: 6px; padding: 6px 9px; border-radius: 12px; background: rgba(216, 246, 91, .6); font-size: 11px; font-weight: 700; line-height: 1.4; }
.pc .acts { display: flex; gap: 6px; margin-top: 8px; }
.pc .acts .btn { flex: 1; min-height: 44px; padding: 0 8px; font-size: 13px; }
.pc .acts .btn.alt { flex: none; width: 44px; padding: 0; }
.pc .stamp { position: absolute; z-index: 4; left: 14px; top: 14px; }
.pc.got { box-shadow: 0 0 0 2px var(--ink), 0 10px 34px rgba(60, 60, 120, .12); }
.pc.got .photo { opacity: .8; }
.pc.flip { animation: flipc .5s var(--ease); }
@keyframes flipc { 0% { transform: rotateY(0); } 50% { transform: rotateY(90deg); } 100% { transform: rotateY(0); } }
.pc.sold .photo img { filter: grayscale(1) blur(1px); }
.dock { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 999px; }
.dock .slots { display: flex; gap: 6px; flex: 1; }
.dock .sl { position: relative; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 2px dashed rgba(16, 17, 18, .3); background: rgba(255, 255, 255, .5); display: grid; place-items: center; }
.dock .sl svg { width: 20px; height: 20px; fill: none; stroke: rgba(16, 17, 18, .45); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dock .sl.on { border: 2px solid var(--ink); }
.dock .sl .garment b, .dock .sl .garment small, .dock .sl .garment svg { display: none; }
.dock .sl.bump { animation: bump .6s var(--spring); }
@keyframes bump { 30% { transform: scale(1.45); } }
.dock .btn { min-height: 46px; padding: 0 16px; font-size: 13px; }

/* ── bench (studio) ───────────────────── */
.totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 0 12px; }
.totals div { padding: 12px 12px 10px; border-radius: 18px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.totals div.cur { background: var(--lime); border: 2px solid var(--ink); }
.totals dt { font-size: 11px; color: var(--secondary); font-weight: 700; }
.totals .cur dt { color: var(--ink); }
.totals dd { margin-top: 4px; font-size: 16px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.slot-list { display: grid; gap: 10px; margin-top: 16px; }
.slot { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 10px; border-radius: 24px; }
.slot[data-locked="true"] { outline: 2px solid var(--ink); }
.slot .photo { width: 92px; height: 112px; border-radius: 17px; }
.slot[data-settled="true"] .photo { animation: settle .3s var(--spring); }
@keyframes settle { from { transform: scale(.85) rotate(-4deg); } }
.slot-body { display: grid; align-content: start; gap: 3px; min-width: 0; }
.slot-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.slot-head span { font-size: 12px; font-weight: 800; color: var(--secondary); }
.lock { display: flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 11px; border: 0; border-radius: 999px; background: rgba(16, 17, 18, .08); font-size: 12px; font-weight: 700; }
.lock svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lock[aria-pressed="true"] { background: var(--ink); color: #fff; }
.slot strong { font-size: 14px; font-weight: 750; letter-spacing: -.035em; line-height: 1.35; overflow-wrap: anywhere; }
.slot .price { font-size: 13px; color: var(--secondary); font-weight: 700; }
.src { font-size: 11px; font-weight: 750; color: var(--secondary); }
.src.owned { color: #2f7a4b; } .src.sold { color: #c2336f; }
.buy { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; font-weight: 700; }
.buy input { width: 22px; height: 22px; accent-color: var(--ink); flex: none; }
.slot-actions { grid-column: 1 / -1; display: flex; gap: 8px; }
.slot-actions .btn { flex: 1; min-height: 44px; padding: 0 10px; font-size: 13px; }
.slot .whisper-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 16px; background: rgba(216, 246, 91, .55); font-size: 12px; font-weight: 700; line-height: 1.4; animation: stepIn .5s var(--spring); }
.slot .whisper-row span { flex: 1; }
.slot .whisper-row .btn { min-height: 38px; padding: 0 12px; font-size: 12px; flex: none; }
.slot .alts { grid-column: 1 / -1; padding: 10px; border-radius: 18px; background: rgba(245, 216, 227, .65); }
.slot .alts p { font-size: 12px; font-weight: 750; margin-bottom: 8px; }
.alt-rail { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.alt-rail::-webkit-scrollbar { display: none; }
.alt { flex: none; width: 92px; padding: 0; border: 0; background: none; text-align: left; font-size: 11px; font-weight: 700; line-height: 1.3; }
.alt .photo { aspect-ratio: 1; border-radius: 14px; margin-bottom: 4px; }
.alt .garment b, .alt .garment small { display: none; }
.alt small { display: block; color: var(--secondary); font-weight: 650; }
.row2 { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.row2 .btn { width: 100%; }
.bench-empty { text-align: center; padding: 30px 10px 0; }
.bench-empty .slots-ghost { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 20px 0; }
.bench-empty .slots-ghost span { aspect-ratio: 3 / 4; border-radius: 18px; border: 2px dashed rgba(16, 17, 18, .25); display: grid; place-items: center; animation: bob 3s ease-in-out infinite; }
.bench-empty .slots-ghost svg { width: 26px; fill: none; stroke: rgba(16, 17, 18, .4); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.outfit-rail { display: flex; gap: 12px; overflow-x: auto; margin-inline: calc(var(--page) * -1); padding: 4px var(--page) 8px; scrollbar-width: none; }
.outfit-rail::-webkit-scrollbar { display: none; }
.outfit-mini { flex: none; width: 164px; padding: 0; border: 0; background: none; text-align: left; }
.outfit-mini strong { display: block; margin-top: 8px; font-size: 14px; font-weight: 750; letter-spacing: -.03em; }
.outfit-mini small { font-size: 12px; color: var(--secondary); font-weight: 600; }

/* ── archive calendar ─────────────────── */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 12px; }
.cal-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.045em; }
.cal-head .icon-btn { background: rgba(255, 255, 255, .1); }
.cal-hero { position: relative; height: 176px; margin-bottom: 14px; }
.cal-hero .photo { position: absolute; top: 0; height: 100%; width: 38%; border-radius: 16px; background: #232323; border: 2px solid #151515; }
.cal-hero .photo:nth-child(1) { left: 0; z-index: 3; width: 44%; } .cal-hero .photo:nth-child(2) { left: 32%; z-index: 2; } .cal-hero .photo:nth-child(3) { left: 60%; z-index: 1; }
.cal-hero .none { height: 100%; display: grid; place-items: center; border-radius: 16px; background: rgba(255, 255, 255, .06); color: var(--screen-secondary); font-size: 14px; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-week span { text-align: center; font-size: 11px; font-weight: 700; color: var(--screen-secondary); padding: 6px 0; }
.cal-cell { position: relative; min-height: 46px; padding: 0; border: 1px solid transparent; border-radius: 12px; background: rgba(255, 255, 255, .07); color: #fafafc; font-size: 13px; font-weight: 700; overflow: hidden; }
.cal-cell.blank { background: none; pointer-events: none; }
.cal-cell .photo { position: absolute; inset: 0; background: #232323; }
.cal-cell .d { position: absolute; left: 4px; top: 3px; z-index: 1; min-width: 18px; padding: 0 4px; border-radius: 6px; background: rgba(21, 21, 21, .86); font-size: 11px; line-height: 17px; }
.cal-cell[aria-pressed="true"] { border: 2px solid var(--lime); }
.cal-cell.today::after { content: ''; position: absolute; right: 5px; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); z-index: 1; }
.cal-log { margin-top: 20px; }
.cal-log h3 { font-size: 17px; font-weight: 800; letter-spacing: -.04em; }
.cal-log .meta { margin-top: 4px; font-size: 13px; color: var(--screen-secondary); }
.cal-items { display: flex; gap: 8px; margin: 14px 0; }
.cal-items .photo { width: 64px; height: 64px; border-radius: 14px; background: #232323; }
.cal-items .garment small, .cal-items .garment b { display: none; }
.years { display: flex; gap: 8px; margin: 18px 0 0; }

/* ── sheet / toast / fx ───────────────── */
.sheet-layer { position: absolute; inset: 0; z-index: 30; display: flex; align-items: flex-end; background: rgba(16, 17, 30, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.sheet-layer[hidden] { display: none; }
.sheet { width: 100%; max-height: 92%; overflow-y: auto; overscroll-behavior: contain; padding: 10px var(--page) max(22px, env(safe-area-inset-bottom)); border-radius: 32px 32px 0 0; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8); border: 1px solid rgba(255, 255, 255, .9); color: var(--ink); animation: rise .5s var(--spring); }
@keyframes rise { from { transform: translateY(80px); opacity: .4; } }
.sheet .handle { width: 38px; height: 5px; margin: 0 auto 6px; border-radius: 5px; background: rgba(16, 17, 18, .2); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0 6px; }
.sheet-head h3 { font-size: 21px; font-weight: 800; letter-spacing: -.05em; }
.sheet p.sub { margin: 0 0 14px; font-size: 14px; color: var(--secondary); font-weight: 600; }
.sheet .hero-photo { aspect-ratio: 1 / .8; border-radius: 22px; margin-bottom: 14px; }
.opt-list { display: grid; gap: 8px; margin-bottom: 16px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 18px; background: rgba(255, 255, 255, .6); font-size: 15px; font-weight: 700; text-align: left; }
.opt small { font-size: 12px; color: var(--secondary); font-weight: 600; }
.opt[aria-pressed="true"] { background: var(--lime); border-color: var(--ink); }
label.opt input { width: 22px; height: 22px; accent-color: var(--ink); flex: none; }
.sheet .btn + .btn { margin-top: 8px; }
.sheet .whisper { display: block; margin: 0 0 12px; padding: 10px 12px; border-radius: 14px; background: rgba(216, 246, 91, .6); font-size: 13px; font-weight: 700; }
.sheet .alts { padding: 12px; border-radius: 20px; background: rgba(245, 216, 227, .65); margin-bottom: 14px; }
.sheet .alts p { font-size: 13px; font-weight: 750; margin-bottom: 10px; }
.toast { position: absolute; left: 50%; bottom: 150px; z-index: 40; width: max-content; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; text-align: center; transform: translate(-50%, 16px) scale(.9); opacity: 0; pointer-events: none; transition: opacity .25s, transform .45s var(--spring); }
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.fx { position: fixed; inset: 0; z-index: 100; pointer-events: none; overflow: hidden; }
.ghost { position: fixed; z-index: 101; border-radius: 18px; overflow: hidden; border: 3px solid #fff; box-shadow: 0 16px 34px rgba(40, 40, 90, .35); pointer-events: none; }
.confetti { position: fixed; width: 10px; height: 10px; border-radius: 3px; pointer-events: none; }

@media (max-width: 340px) {
  :root { --page: 16px; }
  .hero-title { font-size: 31px; }
  .totals dd { font-size: 13px; } .totals div { padding: 10px 8px; }
  .slot { grid-template-columns: 76px minmax(0, 1fr); } .slot .photo { width: 76px; height: 96px; }
  .tab { padding: 0 13px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.slot .whisper-row small { font-weight: 650; color: var(--secondary); }

/* ═══ v3 calm layer — Pinterest 보드(오프화이트·세이지 그레이·잉크)·Apple 톤. 강한 색/하드 섀도/틴트 제거 ═══ */
:root { --sage: #e8e8ed; --stone: #d1d1d6; --mist: #f2f2f7; --accent: #636366; --radius-card: 24px; --radius-hero: 32px; }
.aurora { display: none; }
.glass { background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4); border: 1px solid rgba(33,29,32,.05); box-shadow: 0 8px 30px rgba(33,29,32,.08); }
.glass.dark { background: rgba(33,29,32,.72); color: #fff; border-color: rgba(255,255,255,.1); }
.brand { font-weight: 700; letter-spacing: -.05em; }
.brand i { background: var(--ink); box-shadow: none; animation: none; width: 8px; height: 8px; }
.sticker { background: rgba(255,255,255,.88); color: var(--ink); border: 0; box-shadow: 0 2px 10px rgba(33,29,32,.1); transform: none; font-weight: 700; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sticker.pink, .sticker.sky, .sticker.lav { background: rgba(255,255,255,.88); } .sticker.hot { background: var(--ink); color: #fff; }
.btn.primary { background: var(--ink); color: #fff; box-shadow: none; }
.btn.primary:active:not(:disabled) { box-shadow: none; transform: scale(.97); }
.btn.secondary { background: #fff; border: 1px solid rgba(33,29,32,.08); box-shadow: none; }
.btn.soft { background: rgba(33,29,32,.06); }
.chip { background: #fff; border: 1px solid rgba(33,29,32,.08); -webkit-backdrop-filter: none; backdrop-filter: none; font-weight: 600; }
.chip[aria-pressed="true"] { transform: none; }
.input { background: #fff; border: 1px solid rgba(33,29,32,.08); -webkit-backdrop-filter: none; backdrop-filter: none; }
.tab[aria-current="page"], .app[data-style="calendar"] .tab[aria-current="page"] { background: var(--ink); color: #fff; }
.tab .count { background: var(--ink); color: #fff; border: 0; }
.app[data-style="calendar"] .chip[aria-pressed="true"] { background: #fff; color: var(--ink); }
.badge, .badge.sold, .badge.lime { background: var(--sage); color: var(--ink); font-weight: 700; } .badge.dark { background: var(--ink); color: #fff; }
.fcard .why { background: var(--sage); border: 0; font-weight: 600; }
.mood .check { background: var(--ink); border: 0; color: #fff; }
.mood .check svg { stroke: #fff; }
.totals div.cur { background: var(--sage); border: 0; }
.dock .sl.on { border: 2px solid var(--ink); }
.cal-cell[aria-pressed="true"] { border-color: var(--ink); } .cal-cell.today::after { background: var(--ink); }
.opt[aria-pressed="true"] { background: var(--sage); border-color: var(--ink); }
/* 틴트 제거: 사진은 있는 그대로, 배경은 중립 */
img.lg, img.lg.lum { mix-blend-mode: normal; filter: none; }
:is(.photo,.ball,.sun,.sat button):has(> img) { background: var(--mist); }
.photo { background: var(--mist); }
.photo-stack > .photo { border: 0; box-shadow: 0 8px 24px rgba(33,29,32,.12); }
.hero-title, .page-title { font-weight: 700; letter-spacing: -.05em; }

/* ═══ v3 typography — 얇고 맑게. 헤드라인 신문체 제거 ═══ */
body { font-weight: 450; -webkit-font-smoothing: antialiased; letter-spacing: -.011em; }
.hero-title, .page-title { font-weight: 650; letter-spacing: -.035em; line-height: 1.18; }
.hero-title { font-size: 30px; } .page-title { font-size: 26px; }
.section h3 { font-weight: 650; font-size: 18px; letter-spacing: -.025em; }
.section span, .caption, .lead { font-weight: 450; }
.brand { font-weight: 650; font-size: 22px; letter-spacing: -.04em; }
.top-title, .stack-title { font-weight: 600; letter-spacing: -.02em; }
.btn, .tab, .chip, .seg button, .sticker, .badge, .field > span, .label { font-weight: 560; letter-spacing: -.015em; }
.marquee { display: none; }
.sticker { font-size: 11.5px; min-height: 24px; }

/* ═══ v4 simplistic layer — 평평한 면 · 얇은 선 · 정지한 궤도 · 손가락 크기 ═══ */
:root { --hair: rgba(28, 28, 30, .08); --soft: 0 1px 2px rgba(28, 28, 30, .04), 0 6px 20px rgba(28, 28, 30, .06); }
/* 면: 카드는 유리가 아니라 흰 종이 한 장 */
.slot, .pc, .stack-card, .today, .empty, .note, .seg, .closet-in, .totals div { background: #fff; border: 0; box-shadow: 0 0 0 1px var(--hair); -webkit-backdrop-filter: none; backdrop-filter: none; }
.seg button { color: var(--muted); }
.seg button[aria-pressed="true"] { color: #fff; }
.photo, .fcard .photo, .item .photo { box-shadow: none; }
.fcard .photo { border-radius: 16px; }
.item .photo, .pc .photo { border-radius: 14px; }
.photo-stack > .photo { box-shadow: 0 0 0 1px var(--hair); border: 2px solid #fff; }
.hint { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--muted); font-weight: 500; font-size: 13px; }
.sticker { font-size: 11px; min-height: 22px; padding: 0 9px; box-shadow: 0 0 0 1px var(--hair); }
.pc.got { box-shadow: 0 0 0 1.5px var(--ink); }
.pola { transform: none; box-shadow: 0 0 0 1px var(--hair); border-radius: 12px; }
.pola::before { display: none; }
.hanger .hcard { border: 0; box-shadow: 0 0 0 1px var(--hair); }
.rail::before { background: #cfd1d6; box-shadow: none; height: 4px; }
.seed .photo { border: 0; box-shadow: 0 0 0 1px var(--hair); }
.seed[aria-pressed="true"] .photo { transform: none; outline: 2px solid var(--ink); }

/* 궤도: 돌지 않는다. 눌러야 할 것은 제자리에 가만히 있는다 */
.planet { animation: none; transition: transform .35s var(--spring); }
.planet:active { transform: scale(.95); }
.planet .ball { border: 0; box-shadow: var(--soft); }
.planet .ball::after { display: none; }
.planet .name { background: rgba(255, 255, 255, .92); border: 0; box-shadow: 0 0 0 1px var(--hair); font-weight: 600; }
.rings ellipse, .rings ellipse:nth-child(2) { animation: none; stroke: rgba(28, 28, 30, .12); stroke-dasharray: 2 6; }
.orbit, .orbit.rev { animation: none; }
.sat .face, .orbit.rev .sat .face { animation: settle-in .6s var(--spring) both; }
.sat:nth-child(2) .face { animation-delay: .08s; } .sat:nth-child(3) .face { animation-delay: .16s; } .sat:nth-child(4) .face { animation-delay: .24s; }
@keyframes settle-in { from { opacity: 0; transform: scale(.6); } }
.sat button { width: calc(var(--z) + 8px); height: calc(var(--z) + 8px); margin: -4px; border: 0; box-shadow: var(--soft); }
.sat .lab { background: rgba(255, 255, 255, .92); border: 0; box-shadow: 0 0 0 1px var(--hair); font-weight: 600; }
.sun { border: 0; box-shadow: 0 0 0 10px rgba(255, 255, 255, .6), var(--soft); }
.sun-name h2 { font-weight: 650; letter-spacing: -.035em; }

/* 체크박스: 크고 둥근 동그라미 */
input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border-radius: 50%; border: 1.5px solid rgba(28, 28, 30, .28); background: #fff center / 14px no-repeat; flex: none; transition: background-color .2s, border-color .2s, transform .3s var(--spring); }
input[type="checkbox"]:checked { background-color: var(--ink); border-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E"); transform: scale(1.06); }
input[type="checkbox"]:disabled { opacity: .35; }
label.opt { min-height: 58px; cursor: pointer; }
.opt, label.opt { border: 0; box-shadow: 0 0 0 1px var(--hair); background: #fff; }
.opt[aria-pressed="true"] { background: #fff; box-shadow: 0 0 0 1.5px var(--ink); }

/* ── 조합 페이지: 한 줄 안내 → 한눈에 보는 합계 → 큰 버튼의 행 → 하단 구매 바 ── */
.top.bench-top { grid-template-columns: 76px minmax(0, 1fr) 76px; }
.save-top { min-height: 40px; padding: 0 14px; justify-self: end; font-size: 13px; }
.page.bench { padding-bottom: 214px; }
.how { list-style: none; display: grid; gap: 10px; margin: 6px 0 22px; padding: 0; }
.how li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--hair); }
.how li > b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 650; }
.how strong { display: block; font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
.how span { display: block; margin-top: 2px; font-size: 13px; color: var(--secondary); line-height: 1.45; word-break: keep-all; }
.cta-stack { display: grid; gap: 10px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0 12px; padding: 0; }
.steps li { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; border-radius: 999px; background: rgba(28, 28, 30, .05); color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.steps li b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(28, 28, 30, .12); font-size: 11px; font-weight: 650; color: var(--secondary); }
.steps li.done { color: var(--ink); } .steps li.done b { background: var(--ink); color: #fff; }
.steps li.now { background: var(--ink); color: #fff; } .steps li.now b { background: rgba(255, 255, 255, .22); color: #fff; }
.collage { border: 0; background: var(--mist); border-radius: 24px; }
.collage .piece { border: 0; box-shadow: 0 0 0 1px var(--hair); transform: none; border-radius: 14px; }
.totals { grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; }
.totals div { padding: 12px 14px; border-radius: 18px; }
.totals div.cur { grid-column: 1 / -1; background: var(--ink); box-shadow: none; display: flex; align-items: baseline; justify-content: space-between; padding: 16px 18px; }
.totals .cur dt { color: rgba(255, 255, 255, .7); font-size: 13px; }
.totals .cur dd { color: #fff; font-size: 24px; margin: 0; letter-spacing: -.03em; }
.slot-list { gap: 12px; margin-top: 4px; }
.slot { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 14px; border-radius: 22px; }
.slot[data-locked="true"] { box-shadow: 0 0 0 1.5px var(--ink); }
.slot-top { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; }
.slot .photo { width: 76px; height: 92px; border-radius: 14px; }
.slot-body { display: grid; align-content: center; gap: 3px; min-width: 0; }
.slot-label { font-size: 12px; font-weight: 600; color: var(--muted); }
.slot-label .src { font-style: normal; color: var(--secondary); }
.slot strong { font-size: 15px; font-weight: 650; letter-spacing: -.02em; line-height: 1.35; }
.slot .price { font-size: 14px; color: var(--secondary); font-weight: 500; }
.slot-tools { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 8px; }
.slot-tools.one { grid-template-columns: 1fr; }
.tool { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 8px; border: 0; border-radius: 14px; background: rgba(28, 28, 30, .06); color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: -.015em; white-space: nowrap; }
.tool svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tool[aria-pressed="true"] { background: var(--ink); color: #fff; }
.tool.buy[aria-pressed="false"] { background: #fff; box-shadow: inset 0 0 0 1.5px rgba(28, 28, 30, .18); color: var(--secondary); }
.tool.buy[aria-pressed="false"] svg { opacity: .35; }
.tool.static { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--hair); }
.tool.wide { grid-column: 1 / -1; }
.slot-sub { display: flex; gap: 4px 14px; flex-wrap: wrap; margin: -4px 0 -2px; }
.link { min-height: 40px; padding: 0 2px; border: 0; background: none; font-size: 13px; font-weight: 600; color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(28, 28, 30, .25); }
.slot .whisper-row, .pc .whisper, .sheet .whisper { background: var(--sage); border-radius: 14px; }
.slot .alts, .sheet .alts { background: var(--mist); }
.buybar { padding: 12px; border-radius: 28px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4); box-shadow: 0 0 0 1px var(--hair), 0 12px 36px rgba(28, 28, 30, .12); }
.bb-sum { display: flex; align-items: baseline; justify-content: space-between; padding: 2px 8px 10px; font-size: 13px; font-weight: 500; color: var(--secondary); }
.bb-sum b { font-size: 20px; font-weight: 650; color: var(--ink); letter-spacing: -.03em; }
.bb-act { display: grid; grid-template-columns: 1fr 1.7fr; gap: 8px; }
.bb-act .btn { min-height: 52px; padding: 0 12px; }
.buy-group { margin-bottom: 14px; padding: 14px; border-radius: 20px; box-shadow: 0 0 0 1px var(--hair); }
.buy-group header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.buy-group header b { font-size: 16px; font-weight: 650; }
.buy-group header span { font-size: 13px; color: var(--secondary); }
.buy-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; }
.buy-row .photo { width: 52px; height: 62px; border-radius: 10px; }
.buy-row strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.buy-row small { color: var(--muted); font-size: 12px; }
.buy-row > b { font-size: 14px; font-weight: 600; }
.buy-group .btn { margin-top: 8px; }
.buy-total { display: flex; align-items: baseline; justify-content: space-between; padding: 6px 4px 12px; font-size: 14px; font-weight: 600; }
.buy-total b { font-size: 22px; font-weight: 650; letter-spacing: -.03em; }
.buy-notes { list-style: none; display: grid; gap: 4px; margin-bottom: 10px; padding: 0 4px; font-size: 13px; color: var(--secondary); }
.buy-notes li::before { content: '· '; }
.page.bench { padding-bottom: 170px; } .collage.compact { aspect-ratio: 1 / .62; } .bb-act { grid-template-columns: 1fr 2.2fr; } .buybar { padding: 8px; border-radius: 999px; }
.slot-list { grid-template-columns: minmax(0, 1fr); } .slot { min-width: 0; } .slot > * { min-width: 0; } .alt-rail { max-width: 100%; }

/* ═══ v5 — 조합: 옷 4칸을 누르면 바뀐다. 이것이 전부 ═══ */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.tile { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; min-width: 0; }
.tile .ph { position: relative; display: block; }
.tile .photo { aspect-ratio: 3 / 4; border-radius: 22px; box-shadow: 0 0 0 1px var(--hair); }
.tile.empty .photo { background: transparent; box-shadow: none; border: 1.5px dashed rgba(28, 28, 30, .25); }
.tile .tl, .tile .tb, .tile .ts { position: absolute; display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .92); color: var(--ink); border-radius: 999px; box-shadow: 0 0 0 1px var(--hair); }
.tile .tl { left: 10px; top: 10px; padding: 0 11px; min-height: 26px; }
.tile .tl svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tile .tb { right: 10px; top: 10px; padding: 0 10px; min-height: 26px; color: var(--secondary); }
.tile .tb.warn { background: var(--ink); color: #fff; box-shadow: none; }
.tile .ts { right: 10px; bottom: 10px; width: 40px; height: 40px; justify-content: center; }
.tile .ts svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile b { display: block; margin-top: 10px; font-size: 14px; font-weight: 650; letter-spacing: -.02em; line-height: 1.35; }
.tile small { display: block; margin-top: 2px; font-size: 13px; color: var(--secondary); font-weight: 500; }
.tile[data-settled="true"] .photo { animation: settle .3s var(--spring); }
.tile[data-rolling="true"] .photo { opacity: .85; }
.tiles-sum { margin: 20px 2px 0; text-align: center; font-size: 14px; color: var(--secondary); font-weight: 500; }
.tiles-sum span { color: var(--ink); font-weight: 650; }
.page.bench { padding-bottom: 150px; }
.pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; margin-bottom: 16px; }
.pick { display: block; padding: 0; border: 0; background: none; text-align: left; min-width: 0; }
.pick .photo { aspect-ratio: 3 / 4; border-radius: 14px; box-shadow: 0 0 0 1px var(--hair); }
.pick[aria-pressed="true"] .photo { box-shadow: 0 0 0 2.5px var(--ink); }
.pick b { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.pick small { display: block; font-size: 12px; color: var(--secondary); }
.buy-row { width: 100%; padding: 10px 0; border: 0; background: none; text-align: left; grid-template-columns: 28px 52px minmax(0, 1fr) auto; }
.buy-row .chk { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(28, 28, 30, .28); background: #fff; }
.buy-row .chk svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.buy-row[aria-pressed="true"] .chk { background: var(--ink); border-color: var(--ink); }
.buy-row[aria-pressed="true"] .chk svg { opacity: 1; }
.buy-row[aria-pressed="false"] > :not(.chk) { opacity: .4; }
.tile .photo { aspect-ratio: 1 / 1.12; } .tiles { gap: 14px 12px; }

/* ═══ v6 — 궤도: 검색 + 밀어서 넘기는 캐러셀 ═══ */
.sheet .opt { width: 100%; margin-bottom: 12px; }
.stage[data-level="universe"] { display: flex; flex-direction: column; touch-action: auto; }
.uni-top { flex: none; position: relative; z-index: 6; padding: 6px var(--page) 0; }
.search { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--hair); transition: box-shadow .2s; }
.search:focus-within { box-shadow: 0 0 0 2px var(--ink); }
.search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 16px; font-weight: 500; color: var(--ink); -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { height: 18px; width: 18px; }
.sugg { display: none; gap: 8px; padding: 10px 0 2px; overflow-x: auto; scrollbar-width: none; }
.sugg::-webkit-scrollbar { display: none; }
.stage:focus-within .sugg { display: flex; }
.stage.searching .sugg { display: none; }
.cstage { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.cstage:active { cursor: grabbing; }
.car { position: relative; flex: 1 1 auto; min-height: 250px; outline: none; }
.cplanet { position: absolute; left: 50%; top: 46%; width: 190px; height: 190px; margin: 0; padding: 0; border: 0; background: none; transition: none; will-change: transform, opacity; touch-action: none; }
.cplanet:active:not(:disabled) { transform: none; }
.cplanet .ball { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 1px 2px rgba(28, 28, 30, .06), 0 14px 38px rgba(28, 28, 30, .16); pointer-events: none; }
.cplanet img { pointer-events: none; }
.car-arrow { position: absolute; z-index: 120; top: 38%; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 1px var(--hair); color: var(--ink); }
.car-arrow.l { left: 10px; } .car-arrow.r { right: 10px; }
.car-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cinfo { flex: none; text-align: center; padding: 0 24px; }
.cinfo h2 { font-size: 28px; font-weight: 650; letter-spacing: -.04em; }
.cinfo p { margin-top: 4px; font-size: 15px; color: var(--secondary); }
.ccount { display: inline-block; margin-top: 10px; padding: 5px 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--hair); font-size: 12px; font-weight: 600; color: var(--secondary); }
.cdots { display: flex; justify-content: center; gap: 6px; margin: 16px 0 14px; }
.cdots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(28, 28, 30, .18); transition: width .3s var(--spring), background .2s; }
.cdots i.on { width: 20px; background: var(--ink); }
.cgo { flex: none; margin: 0 var(--page) 104px; }
.results { display: none; flex: 1; min-height: 0; overflow-y: auto; padding: 8px var(--page) 110px; overscroll-behavior: contain; scrollbar-width: none; }
.results::-webkit-scrollbar { display: none; }
.stage.searching .results { display: block; }
.stage.searching .cstage { display: none; }
.res-list { list-style: none; display: grid; gap: 2px; padding: 0; }
.res { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; width: 100%; min-height: 72px; padding: 8px 4px; border: 0; background: none; text-align: left; border-radius: 16px; }
.res:active { background: rgba(28, 28, 30, .05); }
.rimg { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; background: var(--mist); box-shadow: 0 0 0 1px var(--hair); }
.rimg .garment b, .rimg .garment small { display: none; }
.rimg .garment svg { width: 50%; }
.rt b { display: block; font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
.rt small { display: block; margin-top: 2px; font-size: 13px; color: var(--secondary); }
.rk { font-style: normal; font-size: 11px; font-weight: 600; color: var(--secondary); padding: 4px 9px; border-radius: 999px; background: rgba(28, 28, 30, .06); }
.res-empty { padding: 40px 8px; text-align: center; }
.res-empty b { font-size: 16px; font-weight: 650; }
.res-empty p { margin: 6px 0 16px; color: var(--secondary); font-size: 14px; }
.res-empty .chips { justify-content: center; }
.cpager { position: absolute; z-index: 5; left: 20px; right: 20px; bottom: 150px; display: flex; align-items: center; justify-content: space-between; }
.cpager .cdots { margin: 0; }
.cpager .icon-btn:disabled { opacity: .25; }

/* ═══ v7 — 첫 화면: 끌어서 둘러보는 작고 뽀용한 우주 ═══ */
.app { transition: background-color .5s; }
.app[data-style="space"] { --canvas: #151214; --screen-ink: #f2f2f7; --screen-secondary: #b9b4b8; --secondary: #b9b4b8; --muted: #8f898d; --hair: rgba(255, 255, 255, .12); }
.app[data-style="space"] .glass { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 10px 34px rgba(0, 0, 0, .35); color: #f2f2f7; -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); }
.app[data-style="space"] .brand i { background: #fff; }
.app[data-style="space"] .tab { color: rgba(255, 255, 255, .7); }
.app[data-style="space"] .tab[aria-current="page"] { background: #fff; color: #1c1c1e; }
.app[data-style="space"] .tab .count { background: #fff; color: #1c1c1e; }
.app[data-style="space"] .btn.primary { background: #fff; color: #1c1c1e; }
.app[data-style="space"] .search { background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.app[data-style="space"] .search:focus-within { box-shadow: 0 0 0 2px #fff; }
.app[data-style="space"] .search input { color: #fff; }
.app[data-style="space"] .search svg { stroke: rgba(255, 255, 255, .6); }
.app[data-style="space"] .rt b { color: #fff; }
.app[data-style="space"] .rimg { background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.app[data-style="space"] .rk { background: rgba(255, 255, 255, .12); color: #ddd; }
.app[data-style="space"] .res:active { background: rgba(255, 255, 255, .08); }
.app[data-style="space"] .res-empty b { color: #fff; }

.stage[data-level="universe"] { display: block; touch-action: none; background: radial-gradient(120% 75% at 50% 38%, #2b2528 0%, #181416 55%, #0f0d0e 100%); }
.sp { position: absolute; inset: -120px; pointer-events: none; will-change: transform, background-position; }
.sp-neb i { position: absolute; border-radius: 50%; filter: blur(80px); }
.sp-neb .n1 { width: 320px; height: 320px; left: 4%; top: 10%; background: #cfd8cb; opacity: .16; }
.sp-neb .n2 { width: 360px; height: 360px; right: -2%; bottom: 14%; background: #d9c9c5; opacity: .14; }
.sp-neb .n3 { width: 260px; height: 260px; right: 18%; top: 4%; background: #c4ccd6; opacity: .14; }
.sp-s1 { background-image: radial-gradient(1px 1px at 20px 40px, #fff, transparent 100%), radial-gradient(1px 1px at 110px 90px, #fff, transparent 100%), radial-gradient(1px 1px at 170px 150px, #fff, transparent 100%), radial-gradient(1px 1px at 60px 170px, #fff, transparent 100%); background-size: 200px 200px; opacity: .45; }
.sp-s2 { background-image: radial-gradient(1.6px 1.6px at 30px 60px, #fff, transparent 100%), radial-gradient(1.4px 1.4px at 210px 140px, #fff, transparent 100%), radial-gradient(1.6px 1.6px at 120px 260px, #fff, transparent 100%), radial-gradient(1.2px 1.2px at 270px 30px, #fff, transparent 100%); background-size: 320px 320px; opacity: .6; animation: twinkle 5s ease-in-out infinite alternate; }
.sp-s3 { background-image: radial-gradient(2.4px 2.4px at 90px 120px, #f2f2f7, transparent 100%), radial-gradient(2.2px 2.2px at 380px 300px, #f2f2f7, transparent 100%), radial-gradient(2.6px 2.6px at 240px 440px, #f2f2f7, transparent 100%); background-size: 520px 520px; opacity: .8; animation: twinkle 7s ease-in-out -2s infinite alternate; }
@keyframes twinkle { to { opacity: .25; } }

.stage > .field { position: absolute; inset: 0; z-index: 2; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; overflow: hidden; }
.stage > .field.dragging { cursor: grabbing; }
.pl { position: absolute; left: 0; top: 0; width: var(--sz); height: var(--sz); margin: 0; padding: 0; border: 0; background: none; transition: none; will-change: transform; outline-offset: 8px; }
.pl:active:not(:disabled) { transform: inherit; }
.pl .in, .pl .bob { position: absolute; inset: 0; display: block; }
.pl .bob { animation: floaty 6s ease-in-out var(--d, 0s) infinite alternate; }
.field.dragging .bob { animation-play-state: paused; }
@keyframes floaty { from { transform: translateY(-3px); } to { transform: translateY(3px); } }
.pl .ball { position: absolute; inset: 0; z-index: 1; border-radius: 50%; overflow: hidden; background: #2a2528; box-shadow: 0 0 0 2px rgba(255, 255, 255, .16), 0 0 70px 6px color-mix(in srgb, var(--g) 38%, transparent), 0 24px 40px rgba(0, 0, 0, .45); pointer-events: none; }
.pl .ball img { filter: saturate(1.06) contrast(1.03); }
.pl .ball::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .6) 0, rgba(255, 255, 255, .12) 22%, transparent 42%), radial-gradient(circle at 72% 82%, rgba(0, 0, 0, .38), transparent 55%); box-shadow: inset -10px -14px 26px rgba(0, 0, 0, .3), inset 6px 8px 16px rgba(255, 255, 255, .22); }
.pl .ring { position: absolute; z-index: 0; left: -34%; right: -34%; top: 50%; height: 62%; margin-top: -31%; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); transform: rotate(-18deg); pointer-events: none; }
.pl .moon { position: absolute; z-index: 2; width: 14%; height: 14%; left: -26%; top: 70%; border-radius: 50%; background: var(--g); box-shadow: inset -3px -3px 6px rgba(0, 0, 0, .25), 0 0 14px color-mix(in srgb, var(--g) 70%, transparent); pointer-events: none; }
.pl .pn { position: absolute; z-index: 3; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: rgba(255, 255, 255, .72); font-size: 13px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; transition: background .25s, color .25s; pointer-events: none; }
.pl.on .pn { background: #fff; color: #1c1c1e; }
.ptr { position: absolute; left: 0; top: 0; z-index: 30; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; opacity: 0; pointer-events: none; transition: opacity .25s; }
.ptr.show { opacity: .9; pointer-events: auto; }
.ptr .ph2 { position: absolute; inset: 4px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px rgba(255, 255, 255, .55), 0 6px 18px rgba(0, 0, 0, .4); }
.ptr i { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: #fff; transform: rotate(var(--a, 0rad)) translateX(30px); }
.uni-top { position: absolute; left: 0; right: 0; top: 0; z-index: 40; padding: 6px var(--page) 0; }
.results { position: absolute; z-index: 35; left: 0; right: 0; top: 66px; bottom: 0; padding: 8px var(--page) 110px; }
.stage.searching .field, .stage.searching .uinfo, .stage.searching .uhint { display: none; }
.stage.searching { background: radial-gradient(120% 75% at 50% 38%, #2b2528 0%, #181416 60%, #0f0d0e 100%); }
.uhint { position: absolute; z-index: 6; left: 0; right: 0; top: 84px; text-align: center; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .6); pointer-events: none; transition: opacity .5s; }
.uhint.gone { opacity: 0; }
.uinfo { position: absolute; z-index: 20; left: var(--page); right: var(--page); bottom: 104px; display: grid; gap: 12px; text-align: center; pointer-events: none; }
.uinfo .btn { pointer-events: auto; }
.utxt h2 { font-size: 26px; font-weight: 650; letter-spacing: -.04em; color: #fff; }
.utxt p { margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .66); }
.uinfo .cgo { margin: 0; }
.stage[data-level="universe"], .stage.searching { background: radial-gradient(110% 70% at 50% 42%, #2a2427 0%, #1a1618 50%, #151214 80%); }

/* v7.1 — 어두운 우주에서 칩 가독성, 테두리 얇게 */
.app[data-style="space"] .chip { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .2); font-weight: 500; }
.app[data-style="space"] .chip:active { background: rgba(255, 255, 255, .22); }
.app[data-style="space"] .search:focus-within { box-shadow: 0 0 0 1px rgba(255, 255, 255, .85); }
.search:focus-within { box-shadow: 0 0 0 1px var(--ink); }
.app[data-style="space"] .search { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.input:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 2px; }
.app[data-style="space"] :focus-visible { outline-color: #fff; }
.pick[aria-pressed="true"] .photo { box-shadow: 0 0 0 2px var(--ink); }
.opt[aria-pressed="true"], .buy-group { box-shadow: 0 0 0 1px var(--ink); }
.buy-group { box-shadow: 0 0 0 1px var(--hair); }
.ccount, #ccount { display: block; margin-top: 6px; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .5); }
.stage:focus-within .uhint { opacity: 0; } .app[data-style="space"] .stage:focus-within .uni-top { background: linear-gradient(#151214 78%, rgba(21,18,20,0)); padding-bottom: 18px; }
.pl.on .pn { opacity: 0; } .uinfo { gap: 14px; } .utxt h2 { margin-bottom: 2px; }
.sun-name { top: calc(44% + 96px); } .sun-name h2 { font-size: 22px; } .sun-name p { margin-top: 4px; }

/* ═══ v8 — 핀터레스트처럼: 구획된 페이지, 한 화면 한 역할 ═══ */
.tile { position: relative; }
.tmain { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; min-width: 0; }
.tmain b { display: block; margin-top: 10px; font-size: 14px; font-weight: 650; letter-spacing: -.02em; line-height: 1.35; }
.tmain small { display: block; margin-top: 2px; font-size: 13px; color: var(--secondary); }
.tile .tb { right: auto; left: 10px; top: auto; bottom: 10px; }
.tlock { position: absolute; z-index: 3; right: 10px; top: 10px; display: flex; align-items: center; gap: 5px; min-width: 40px; min-height: 40px; justify-content: center; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 1px var(--hair); color: var(--secondary); font-size: 12px; font-weight: 600; }
.tlock svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tlock[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.tiles-hint { margin: 16px 2px 0; text-align: center; font-size: 12px; color: var(--muted); }
.tiles-sum { margin-top: 6px; }
.save-btn { margin-top: 14px; }
.save-cap { margin-top: 8px; text-align: center; color: var(--muted); }

.core-page { padding-bottom: 130px; }
.core-head { display: flex; align-items: center; gap: 16px; padding: 4px 0 8px; }
.core-ball { flex: none; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--mist); box-shadow: 0 0 0 1px var(--hair); }
.eyebrow { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.core-head .page-title { font-size: 24px; margin-top: 2px; }
.core-head .lead { margin-top: 4px; font-size: 14px; }
.ccount2 { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 500; color: var(--secondary); }
.core-page .section { margin: 26px 0 12px; }
.core-page .section h3 { font-size: 17px; }
.people-row { display: flex; gap: 12px; overflow-x: auto; margin-inline: calc(var(--page) * -1); padding: 2px var(--page) 4px; scrollbar-width: none; }
.people-row::-webkit-scrollbar { display: none; }
.person { flex: none; width: 128px; padding: 0; border: 0; background: none; text-align: left; }
.person .pimg { display: block; width: 128px; height: 128px; border-radius: 22px; overflow: hidden; background: var(--mist); }
.person b { display: block; margin-top: 8px; font-size: 14px; font-weight: 650; letter-spacing: -.02em; }
.person small { display: block; margin-top: 1px; font-size: 12px; color: var(--secondary); line-height: 1.35; }
.look-grid { column-count: 2; column-gap: 12px; }
.lk { display: block; width: 100%; padding: 0; margin: 0 0 16px; border: 0; background: none; text-align: left; break-inside: avoid; }
.lk .photo { border-radius: 18px; box-shadow: none; }
.lk b { display: block; margin-top: 8px; font-size: 13px; font-weight: 650; letter-spacing: -.02em; line-height: 1.3; }
.lk small { display: block; font-size: 12px; color: var(--secondary); }
.piece-row { display: flex; gap: 12px; overflow-x: auto; margin-inline: calc(var(--page) * -1); padding: 2px var(--page) 4px; scrollbar-width: none; }
.piece-row::-webkit-scrollbar { display: none; }
.pc2 { flex: none; width: 112px; padding: 0; border: 0; background: none; text-align: left; }
.pc2 .photo { aspect-ratio: 3 / 4; border-radius: 16px; box-shadow: 0 0 0 1px var(--hair); }
.pc2 b { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; line-height: 1.3; }
.pc2 small { font-size: 12px; color: var(--secondary); }

/* ═══ v9 — 저장 이유 · 코디 지도 · 저장 안내 ═══ */
.tab .count.dot { min-width: 8px; width: 8px; height: 8px; padding: 0; top: 8px; right: 10px; border: 0; background: #ff3b30; }
.app[data-style="space"] .tab .count.dot { background: #ff3b30; }
.link.center { display: block; margin: 6px auto 0; }
.saved-prev { margin-bottom: 14px; }
.saved-prev .collage { border-radius: 20px; }
.tmain .tw { display: block; margin-top: 6px; padding: 5px 9px; border-radius: 10px; background: var(--sage); font-style: normal; font-size: 11px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.fitb { position: absolute; left: 6px; top: 6px; z-index: 2; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-style: normal; font-size: 10px; font-weight: 600; }
.my-btns { display: flex; gap: 6px; flex: none; }
.lp-pop { animation: lppop .4s var(--spring); }
@keyframes lppop { 40% { transform: scale(.94); } }
.fit .me-chips { margin-top: 4px; }
.swatch-row { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--hair); font-size: 13px; font-weight: 600; }
.sw i { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(28, 28, 30, .12); }
.tip { padding: 14px 16px; border-radius: 16px; background: var(--sage); font-size: 14px; line-height: 1.5; word-break: keep-all; }
.fmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fcol { display: grid; align-content: start; gap: 10px; }
.fcol > b { text-align: center; font-size: 12px; font-weight: 650; color: var(--secondary); }
.fm { position: relative; display: grid; justify-items: center; gap: 4px; padding: 0; border: 0; background: none; }
.fm .photo { width: 100%; aspect-ratio: 3 / 4; border-radius: 14px; box-shadow: 0 0 0 1px var(--hair); }
.fm.good .photo { box-shadow: 0 0 0 2px var(--ink); }
.fm.got .photo { opacity: .45; }
.fm small { font-size: 11px; color: var(--secondary); }
.fm .garment b, .fm .garment small { display: none; }

/* ═══ v10 — LOOK: 옷마다 정한다 (살래요 · 보류 · 이미 있어요). 태그·스티커 걷어내기 ═══ */
.fcard .why, .fcard .why.plain { background: none; padding: 0; border: 0; margin-top: 3px; border-radius: 0; color: var(--secondary); font-weight: 500; font-size: 12px; }
.fcard .mini-strip, .item .mark, .tile .tl, .fitb { display: none; }
.pc .photo { border-radius: 14px; }
.pc.got { box-shadow: 0 0 0 1px var(--hair); }
.pc.got .photo { opacity: 1; }

.sumcard { margin: 4px 0 14px; padding: 18px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--hair); }
.sum-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.sum-top small { display: block; font-size: 13px; font-weight: 500; color: var(--secondary); }
.sum-top b { display: block; margin-top: 2px; font-size: 32px; font-weight: 650; letter-spacing: -.04em; }
.budget-btn { display: inline-flex; align-items: center; gap: 2px; min-height: 40px; padding: 0 8px 0 14px; border: 0; border-radius: 999px; background: rgba(28, 28, 30, .06); font-size: 13px; font-weight: 600; color: var(--ink); }
.budget-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bar-track { height: 6px; margin-top: 14px; border-radius: 3px; background: rgba(28, 28, 30, .08); overflow: hidden; }
.bar-track i { display: block; height: 100%; border-radius: 3px; background: var(--ink); transition: width .5s var(--ease); }
.bar-track i.over { background: #e5483d; }
.sum-note { margin-top: 10px; font-size: 13px; color: var(--secondary); line-height: 1.45; }
.sum-note.over { color: #d8362b; font-weight: 600; }

.dlist { display: grid; gap: 12px; }
.drow { display: grid; gap: 12px; padding: 14px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--hair); }
.dmain { display: grid; grid-template-columns: 72px minmax(0, 1fr) 18px; gap: 14px; align-items: center; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.dmain .photo { width: 72px; height: 88px; border-radius: 14px; }
.dtxt b { display: block; font-size: 15px; font-weight: 650; letter-spacing: -.02em; line-height: 1.35; }
.dtxt small { display: block; margin-top: 3px; font-size: 13px; color: var(--secondary); }
.dmain > svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.drow[data-st="hold"] .dmain .photo, .drow[data-st="have"] .dmain .photo { opacity: .6; }
.seg3 { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 3px; padding: 3px; border-radius: 14px; background: rgba(28, 28, 30, .06); }
.seg3 button { min-height: 44px; padding: 0 6px; border: 0; border-radius: 11px; background: none; font-size: 14px; font-weight: 600; color: var(--secondary); letter-spacing: -.02em; white-space: nowrap; }
.seg3 button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px rgba(28, 28, 30, .18); }
.seg-one { width: 100%; min-height: 48px; border: 0; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.dnote { margin: 0; font-size: 13px; color: var(--secondary); line-height: 1.45; word-break: keep-all; }
.why-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip.sm { min-height: 38px; padding: 0 13px; font-size: 13px; }
.revisit { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; margin-bottom: 14px; border-radius: 20px; background: var(--sage); }
.revisit .photo { width: 56px; height: 68px; border-radius: 12px; }
.revisit b { display: block; font-size: 14px; font-weight: 650; }
.revisit small { display: block; margin-top: 2px; font-size: 12px; color: var(--secondary); line-height: 1.4; }
.revisit small i { font-style: normal; color: var(--muted); }
.facts { display: grid; margin: 0 0 14px; border-radius: 16px; box-shadow: 0 0 0 1px var(--hair); background: #fff; overflow: hidden; }
.facts > div { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.4; }
.facts > div + div { border-top: 1px solid var(--hair); }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; }
.recall { margin-bottom: 12px; padding: 12px 14px; border-radius: 14px; background: var(--sage); font-size: 14px; font-weight: 600; }
.recall b { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--secondary); }
.dupnote { margin-bottom: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(28, 28, 30, .06); font-size: 14px; font-weight: 500; }
.buybar.one { padding: 8px; border-radius: 999px; }
.buybar.one .btn { min-height: 54px; }
.buy-row.plain { grid-template-columns: 52px minmax(0, 1fr) auto; }
.revisit { margin-top: 16px; margin-bottom: 0; } .cta-stack + .revisit { margin-top: 16px; }

/* ═══ v11 — 갈피: 폴더 · 4칸 · 내 옷장에서 바꾸기 · 살지 정하기 · 기억 ═══ */
.page.gal, .page.bench { padding-bottom: 170px; }
.folder { position: relative; height: 214px; margin: 6px 0 18px; }
.fan { position: absolute; left: 50%; bottom: 62px; width: 118px; height: 148px; margin-left: -59px; transform-origin: 50% 100%; transition: transform .8s var(--spring); }
.fan .photo { width: 100%; height: 100%; border-radius: 16px; box-shadow: 0 0 0 3px #fff, 0 10px 24px rgba(28, 28, 30, .16); }
.fan.f1 { transform: translate(-82px, 0) rotate(-12deg); }
.fan.f2 { transform: translate(0, -14px) rotate(0); z-index: 1; }
.fan.f3 { transform: translate(82px, 0) rotate(12deg); }
.ffront { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 104px; padding: 20px 22px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px var(--hair), 0 14px 34px rgba(28, 28, 30, .1); }
.ft { font-size: 21px; font-weight: 650; letter-spacing: -.035em; padding-right: 54px; }
.fs { margin-top: 5px; font-size: 13px; color: var(--secondary); }
.ffront .go { position: absolute; right: 18px; top: 50%; width: 44px; height: 44px; margin-top: -22px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ink); color: #fff; }
.ffront .go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.slots2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.slot2 { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; min-width: 0; }
.slot2 .photo { aspect-ratio: 1 / 1.1; border-radius: 20px; box-shadow: 0 0 0 1px var(--hair); }
.slot2.active .photo { box-shadow: 0 0 0 2px var(--ink); }
.slot2 b { display: block; margin-top: 9px; font-size: 14px; font-weight: 650; letter-spacing: -.02em; line-height: 1.35; }
.slot2 small { display: block; margin-top: 2px; font-size: 13px; color: var(--secondary); }
.hint2 { display: block; margin-top: 4px; font-style: normal; font-size: 12px; font-weight: 500; color: var(--muted); }
.hint2.dup { color: var(--ink); font-weight: 650; }
.hint2.dup::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #3bb273; vertical-align: 1px; }
.slot2.flip .photo { animation: settle .4s var(--spring); }
.slot2.add .addph { display: grid; place-items: center; background: transparent; border: 1.5px dashed rgba(28, 28, 30, .25); box-shadow: none; }
.slot2.add svg { width: 28px; height: 28px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.strip { margin-top: 18px; padding: 16px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--hair); animation: stepIn .45s var(--spring); }
.strip > p { margin-bottom: 12px; font-size: 14px; font-weight: 650; }
.strip .opts { display: flex; align-items: flex-start; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.strip .opts::-webkit-scrollbar { display: none; }
.opt2 { flex: none; width: 92px; padding: 0; border: 0; background: none; text-align: left; }
.opt2 .photo { aspect-ratio: 3 / 4; border-radius: 14px; box-shadow: 0 0 0 1px var(--hair); }
.opt2 b { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; line-height: 1.3; }
.opt2 small { font-size: 12px; color: var(--secondary); }
.strip .keep { flex: none; align-self: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: 14px; background: rgba(28, 28, 30, .06); font-size: 13px; font-weight: 600; }
.strip-empty { align-self: center; font-size: 13px; color: var(--secondary); }
.page.gal .note { margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: var(--sage); font-size: 13px; line-height: 1.5; color: var(--ink); word-break: keep-all; }
.buybar.two { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 22px; border-radius: 999px; }
.buybar.two .bb-sum { display: block; padding: 0; }
.buybar.two .bb-sum small { display: block; font-size: 12px; color: var(--secondary); }
.buybar.two .bb-sum b { font-size: 20px; font-weight: 650; letter-spacing: -.03em; }
.buybar.two .btn { min-height: 52px; padding: 0 24px; }

.checklist { display: grid; gap: 12px; margin-bottom: 14px; }
.crow { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; }
.crow .photo { width: 52px; height: 64px; border-radius: 12px; }
.crow b { display: block; font-size: 14px; font-weight: 650; line-height: 1.3; }
.crow small { display: block; margin-top: 2px; font-size: 12px; color: var(--secondary); }
.toggle2 { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border-radius: 14px; background: rgba(28, 28, 30, .06); }
.toggle2 button { min-height: 44px; border: 0; border-radius: 11px; background: none; font-size: 14px; font-weight: 600; color: var(--secondary); }
.toggle2 button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px rgba(28, 28, 30, .18); }
.fit { margin: 14px 0; padding: 14px 16px; border-radius: 18px; background: rgba(28, 28, 30, .045); font-size: 13px; }
.fit p { margin: 0 0 10px; }
.bars { display: grid; gap: 8px; }
.fbar { display: grid; grid-template-columns: 84px 1fr 44px; gap: 8px; align-items: center; font-size: 12px; }
.fbar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--secondary); }
.fbar em { font-style: normal; font-weight: 650; text-align: right; }
.track { height: 8px; border-radius: 4px; background: rgba(28, 28, 30, .08); overflow: hidden; }
.fill { height: 100%; border-radius: 4px; background: var(--ink); }
.fill.light { background: rgba(28, 28, 30, .35); }
.fitcap { margin: 10px 0 0 !important; font-size: 12px; color: var(--secondary); }
.watch { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--sage); font-size: 13px; line-height: 1.55; }
.watch b { display: block; margin-bottom: 2px; }

.tl { margin-top: 6px; }
.entry { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--hair); background: none; text-align: left; }
.estack { position: relative; width: 84px; height: 70px; }
.estack .photo { position: absolute; top: 0; width: 52px; height: 66px; border-radius: 12px; box-shadow: 0 0 0 2px #fff, 0 4px 12px rgba(28, 28, 30, .14); }
.entry small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.entry b { display: block; margin-top: 2px; font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
.entry span.t, .entry div > span { display: block; margin-top: 3px; font-size: 13px; color: var(--secondary); line-height: 1.45; }
.revisit { margin: 0 0 8px; }
.bar > .buybar { width: 100%; box-sizing: border-box; } .buybar.two .btn { white-space: nowrap; flex: none; }
.bar { grid-template-columns: minmax(0, 1fr); }


/* ═══════════════════════════════════════════════════════════════════════
   v12 — 디자인 시스템 확정 (LOCKED) · "Calm Glass" (Apple Liquid Glass 결)
   이 블록이 위의 모든 규칙보다 우선한다. 규칙: docs/product/design-system.md
   색은 거의 없다: 웜화이트 바탕 + 먼지 파랑→웜그레이 그라데이션 하나 + 흰 유리 + 검정 알약.
   금지: 알록달록한 파스텔(핑크·라임·보라·피치 동시 사용), 흑백 사진 단독, 어두운 배경, 굵은 검정 테두리·하드 섀도, 세리프.
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  --canvas: #f2f2f7; --ink: #1c1c1e; --secondary: #6a6b72; --muted: #9a9ba3; --hair: rgba(17, 17, 20, .07); --line: rgba(17, 17, 20, .09); --mist: #ecedf0;
  --dust: #9db4cc; --dust-2: #c5ccd8; --warm: #d1d1d6;
  --lime: #e8e8ed; --sky: #d3dde9; --lav: #e1e2ea; --pink: #ececf1; --peach: #e5e5ea; --mint: #e5e5ea; --hot: #1c1c1e;
  --shadow-soft: 0 12px 36px rgba(60, 70, 90, .10); --shadow-pop: 0 14px 30px rgba(17, 17, 20, .22);
}
body { background: #e5e5ea; }
.app { background: var(--canvas); }
/* 오로라: 먼지 파랑 + 아주 옅은 웜그레이 두 덩이만 */
.aurora i { filter: blur(70px); opacity: .55; }
.aurora .b1 { background: var(--dust); } .aurora .b2 { background: var(--dust-2); } .aurora .b3 { background: var(--warm); } .aurora .b4 { background: #e6e0dc; }
.aurora::after { display: none; }
/* 유리: 블러 + 얇은 하이라이트 테두리 */
.glass { background: rgba(255, 255, 255, .52); -webkit-backdrop-filter: blur(26px) saturate(1.3); backdrop-filter: blur(26px) saturate(1.3); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 8px 28px rgba(60, 70, 90, .08), inset 0 1px 0 rgba(255, 255, 255, .9); }
.garment { --g-bg: #e9ebef; }
.brand i { background: var(--ink); box-shadow: none; }

.btn.primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-pop); }
.btn.primary:active:not(:disabled) { box-shadow: 0 4px 10px rgba(17, 17, 20, .2); transform: scale(.97); }
.btn.secondary { background: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .8); box-shadow: none; }
.btn.soft { background: rgba(17, 17, 20, .06); }
.sticker { background: rgba(255, 255, 255, .8); border: 1px solid #fff; box-shadow: 0 4px 12px rgba(60, 70, 90, .12); font-weight: 700; }
.sticker.hot { background: var(--ink); }
.fcard .why { border: 0; background: rgba(255, 255, 255, .75); font-weight: 700; }
.tab .count { background: var(--ink); color: #fff; border: 1.5px solid #fff; }
.pola::before { background: rgba(255, 255, 255, .8); }
.chip { background: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .8); }
.collage { background: linear-gradient(145deg, var(--dust-2), var(--warm)); }

.hero-title { font-size: 34px; line-height: 1.2; font-weight: 700; letter-spacing: -.045em; }
.page-title { font-size: 28px; line-height: 1.22; font-weight: 700; letter-spacing: -.045em; }
.lead { margin-top: 10px; line-height: 1.55; }
.head { padding: 14px 0 18px; }
.bar.solid { left: 0; right: 0; bottom: 0; padding: 28px 16px max(16px, env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--canvas) 55%, rgba(242, 242, 247, 0)); }
.top { background: linear-gradient(to bottom, rgba(242, 242, 247, .85), rgba(242, 242, 247, 0)); }

/* 온보딩: 흰 유리 카드 + 은은한 블러 한 덩이 */
.onb-dots i { background: rgba(17, 17, 20, .08); }
.mood-grid { gap: 12px; }
.mood { aspect-ratio: 1 / 1.08; border: 1px solid rgba(255, 255, 255, .9); border-radius: 28px; background: linear-gradient(160deg, #fff 10%, var(--a)); box-shadow: var(--shadow-soft); display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; overflow: hidden; }
.mood .orb { position: absolute; right: -18%; top: -14%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, var(--c) 40%, var(--b) 100%); filter: blur(14px); opacity: .9; transition: transform .6s var(--spring); }
.mood-txt { position: relative; z-index: 1; display: grid; gap: 3px; padding: 10px 14px; border-radius: 20px; background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .85); }
.mood b { position: static; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 16px; font-weight: 700; letter-spacing: -.035em; line-height: 1.2; }
.mood small { font-size: 12px; font-weight: 500; color: var(--secondary); line-height: 1.3; word-break: keep-all; }
.mood[aria-pressed="true"] { transform: scale(.975); outline: 2px solid var(--ink); }
.mood[aria-pressed="true"] .orb { transform: scale(1.1); }
.mood .check { z-index: 2; background: var(--ink); border: 2px solid #fff; }
.mood .check svg { stroke: #fff; }
.swatch i { box-shadow: 0 10px 22px rgba(60, 70, 90, .14), inset 0 2px 6px rgba(255, 255, 255, .6); }
.swatch[aria-pressed="true"] i { outline-color: var(--ink); }
.tune-orb { position: absolute; left: calc(50% - 44px); top: calc(50% - 44px); width: 88px; height: 88px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, var(--c) 70%); box-shadow: 0 12px 28px rgba(60, 70, 90, .16); animation: converge 1.6s var(--spring) both; animation-delay: calc(var(--i) * 120ms); }

/* 탐색(행성): 밝은 먼지 파랑→웜그레이 하늘 (레퍼런스 1) */
.stage[data-level="universe"], .stage.searching { background: radial-gradient(90% 60% at 20% 8%, rgba(143, 176, 208, .75), transparent 70%), radial-gradient(80% 50% at 90% 30%, rgba(197, 204, 216, .8), transparent 70%), linear-gradient(180deg, transparent 50%, rgba(214, 208, 205, .8)), #eceef2; }
.sp-neb i { opacity: .35; filter: blur(70px); }
.sp-neb .n1, .sp-neb .n3 { background: #fff; } .sp-neb .n2 { background: var(--warm); }
.sp-s1, .sp-s2, .sp-s3 { filter: drop-shadow(0 0 2px rgba(255, 255, 255, .9)); }
.sp-s1 { opacity: .6; }
.pl .ball { background: var(--g); border: 3px solid rgba(255, 255, 255, .9); box-shadow: 0 22px 40px rgba(60, 70, 90, .22); }
.pl .ball img { filter: saturate(1.05) brightness(1.04); }
.pl .ball img.lg { mix-blend-mode: luminosity; filter: contrast(1.05) brightness(1.15); opacity: .9; }
.pl .ball::after { background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .7) 0, rgba(255, 255, 255, .15) 26%, transparent 46%); box-shadow: inset -6px -10px 20px rgba(255, 255, 255, .25); }
.pl .ring { border: 1.5px solid rgba(255, 255, 255, .85); }
.pl .moon { background: radial-gradient(circle at 32% 28%, #fff, var(--g)); box-shadow: 0 4px 10px rgba(60, 70, 90, .2); }
.pl .pn { background: rgba(255, 255, 255, .6); color: var(--ink); border: 1px solid rgba(255, 255, 255, .85); font-weight: 600; box-shadow: none; }
.pl.on .pn { background: var(--ink); color: #fff; }
.ptr .ph2 { box-shadow: 0 0 0 2px #fff, 0 6px 14px rgba(60, 70, 90, .25); }
.ptr i { background: var(--ink); }
.uhint { color: var(--secondary); font-weight: 500; }
.utxt h2 { color: var(--ink); font-weight: 700; }
.utxt p { color: var(--secondary); }
.ccount, #ccount { color: var(--muted); }
.search { background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.search:focus-within { box-shadow: 0 0 0 1.5px var(--ink); }
.app[data-style="sky"] .stage:focus-within .uni-top { background: none; padding-bottom: 0; }
.sun { border-color: rgba(255, 255, 255, .9); box-shadow: 0 0 0 10px rgba(255, 255, 255, .4), 0 20px 44px rgba(60, 70, 90, .22); }
.closet-in { background: linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(197, 204, 216, .55)); }
.mood { background: linear-gradient(160deg, #fff 0%, var(--a) 55%, var(--b) 100%); }
.mood .orb { filter: blur(18px); opacity: 1; width: 78%; right: -22%; top: -18%; background: radial-gradient(circle at 40% 40%, var(--b), transparent 70%); }
:is(.photo,.ball,.sun,.sat button):has(> img.t0) { background: #e4e8e2; } :is(.photo,.ball,.sun,.sat button):has(> img.t1) { background: #e8e0e2; } :is(.photo,.ball,.sun,.sat button):has(> img.t2) { background: #cfdbe8; }
:is(.photo,.ball,.sun,.sat button):has(> img.t3) { background: #dcdde8; } :is(.photo,.ball,.sun,.sat button):has(> img.t4) { background: #e5e5ea; }

/* ── 지난 기록: 우주 안의 달 버튼 + 밝은 달력 (v12) ───────── */
.past { position: absolute; z-index: 41; right: var(--page); top: 128px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 8px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); animation: floaty 6s ease-in-out infinite alternate; }
.past .moon-ico { width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 70% 30%, #fff 0 36%, transparent 37%), radial-gradient(circle at 35% 35%, #fff, var(--dust-2) 70%); box-shadow: inset -4px -5px 8px rgba(60, 70, 90, .22), 0 4px 10px rgba(60, 70, 90, .18); }
.view:has(.cal-head) { background: radial-gradient(90% 40% at 20% 0, rgba(143, 176, 208, .5), transparent 70%), linear-gradient(180deg, transparent 60%, rgba(214, 208, 205, .6)); }
.cal-head .icon-btn { background: rgba(255, 255, 255, .6); }
.cal-hero .photo, .cal-cell .photo, .cal-items .photo { background: #e9ebef; }
.cal-cell { background: rgba(255, 255, 255, .55); }
.cal-cell[aria-pressed="true"] { border: 2px solid var(--ink); }
.cal-cell.today::after { background: var(--ink); }
.cal-cell { color: var(--ink); }
.cal-cell .d { background: rgba(255, 255, 255, .85); color: var(--ink); }
.cal-hero .photo { border-color: #fff; }
.cal-hero .none { background: rgba(255, 255, 255, .55); }

/* ── 갈피: 폴더 보드 + 상세 (v12 Calm Glass) ───────────── */
.board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; padding-top: 6px; }
.fold { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; min-width: 0; }
.fold .fbody { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 6px; aspect-ratio: 1 / .94; margin-top: 14px; padding: 10px; border-radius: 8px 24px 24px 24px; background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, .85); box-shadow: var(--shadow-soft), inset 0 1px 0 #fff; }
.fold .fbody::before { content: ''; position: absolute; left: -1px; top: -13px; width: 44%; height: 15px; border-radius: 10px 10px 0 0; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .85); border-bottom: 0; }
.fold .fbody .photo { border-radius: 12px; aspect-ratio: auto; min-height: 0; }
.fold .garment b, .fold .garment small, .fold .garment svg { display: none; }
.fold b { display: block; margin-top: 10px; font-size: 15px; font-weight: 700; letter-spacing: -.03em; line-height: 1.3; overflow-wrap: anywhere; }
.fold small { display: block; margin-top: 2px; font-size: 12px; color: var(--secondary); font-weight: 500; line-height: 1.4; }
.fold .fstate { position: absolute; right: 8px; top: 22px; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; }
.fold.add .fbody { display: grid; place-items: center; background: transparent; border: 1.5px dashed rgba(17, 17, 20, .2); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.fold.add .fbody::before { border-color: rgba(17, 17, 20, .2); background: transparent; }
.fold.add .plus svg { width: 30px; height: 30px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.board-empty { margin-top: 18px; text-align: center; }

.gal-head { padding: 6px 0 14px; }
.link-btn { margin-top: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.advice { margin-bottom: 18px; padding: 16px 18px; border-radius: 24px; }
.advice header { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.advice b { font-size: 15px; font-weight: 700; letter-spacing: -.03em; }
.advice p { margin: 6px 0 12px; font-size: 13px; color: var(--secondary); }
.advice ul { display: grid; gap: 8px; margin-top: 12px; }
.advice li { display: flex; gap: 10px; align-items: baseline; font-size: 13px; line-height: 1.5; color: var(--ink); word-break: keep-all; }
.advice li em { flex: none; min-width: 44px; padding: 2px 8px; border-radius: 999px; background: rgba(17, 17, 20, .06); font-style: normal; font-size: 11px; font-weight: 700; text-align: center; }
.me-chips2 { display: flex; gap: 6px; }
.me-chips2 span { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid #fff; font-size: 11px; font-weight: 700; }
.strip { background: rgba(255, 255, 255, .7); }
.strip > p { display: flex; align-items: center; justify-content: space-between; }
.strip-x { width: 44px; height: 44px; margin: -10px -10px -10px 0; display: grid; place-items: center; border: 0; background: none; }
.strip-x svg { width: 18px; height: 18px; fill: none; stroke: var(--secondary); stroke-width: 2; stroke-linecap: round; }
.buybar.two .bb-sum small { max-width: 190px; line-height: 1.35; }
.page.gal { padding-bottom: 170px; }

/* ── v13: 헤더 · 겹침 해결 · 카드 속 조언 · 예산 · 정리 시트 (Calm Glass 유지) ───────── */
.top { background: none; }
.brand { font-size: 20px; font-weight: 700; letter-spacing: -.05em; gap: 0; }
.brand i { display: none; }
/* 탐색(우주): 헤더를 화면 위에 띄워 회색 띠 제거 */
.app[data-style="sky"] .top { position: absolute; left: 0; right: 0; top: 0; z-index: 50; }
.app[data-style="sky"] .uni-top { padding-top: 58px; }
.app[data-style="sky"] .uhint { top: 150px; }
.uni-chips { position: absolute; z-index: 41; left: var(--page); right: var(--page); top: 192px; display: flex; justify-content: space-between; gap: 8px; pointer-events: none; }
.uni-chips > * { pointer-events: auto; }
.budget-pill, .past { position: static; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 8px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); animation: none; }
.budget-pill .coin { width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--dust) 75%); box-shadow: inset -4px -5px 8px rgba(60, 70, 90, .2), 0 4px 10px rgba(60, 70, 90, .16); }
.budget-pill[aria-pressed="true"] { background: var(--ink); color: #fff; }
/* 하단 정보 영역과 행성이 겹치지 않도록 아래를 페이드로 덮는다 */
.stage[data-level="universe"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 300px; z-index: 15; pointer-events: none; background: linear-gradient(to top, #e5e5ea 38%, rgba(233, 232, 232, .85) 62%, rgba(233, 232, 232, 0)); }
.uinfo { z-index: 25; }
.utxt h2 { text-shadow: none; }

/* 룩북: 폴라로이드 → 얇은 유리 카드 */
.lookbook h3 { font-size: 14px; font-weight: 700; }
.pola { background: rgba(255, 255, 255, .7); border-radius: 18px; padding: 6px 6px 30px; box-shadow: var(--shadow-soft); transform: none; border: 1px solid #fff; }
.pola:nth-child(even) { --r: 0deg; }
.pola::before { display: none; }
.pola .photo { border-radius: 13px; }
.pola b { left: 12px; bottom: 7px; font-weight: 600; }

/* 카드 속 조언 */
.slots2 { gap: 18px 12px; }
.slot2w { min-width: 0; }
.slot2w .slot2 .photo { box-shadow: var(--shadow-soft); }
.meline { display: flex; align-items: center; gap: 8px; width: 100%; margin: 0 0 16px; padding: 10px 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .85); font-size: 13px; font-weight: 600; color: var(--ink); text-align: left; }
.meline i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--dust); box-shadow: 0 0 0 4px rgba(157, 180, 204, .3); }
.meline b { margin-left: auto; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; }
.tip { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 6px 6px 10px; border-radius: 12px; background: rgba(255, 255, 255, .65); border: 1px solid rgba(255, 255, 255, .9); font-size: 12px; line-height: 1.35; font-weight: 500; color: var(--secondary); word-break: keep-all; }
.tip span { flex: 1; min-width: 0; }
.tip.swap { background: var(--ink); color: #fff; border-color: var(--ink); }
.tip button { flex: none; min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; }
.tip.warn { color: var(--ink); }

/* 정리(이대로 살까요) 시트 */
.plan-total { margin: 4px 0 14px; padding: 16px 18px; border-radius: 22px; background: rgba(255, 255, 255, .7); border: 1px solid #fff; }
.plan-total small { display: block; font-size: 12px; color: var(--secondary); font-weight: 600; }
.plan-total b { display: block; margin-top: 2px; font-size: 28px; font-weight: 700; letter-spacing: -.04em; }
.plan-total em { display: block; margin-top: 4px; font-style: normal; font-size: 12px; font-weight: 600; color: var(--secondary); }
.crow { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; }
.crow small { display: block; margin-top: 2px; font-size: 12px; color: var(--secondary); line-height: 1.4; word-break: keep-all; }
.pstate { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pstate.buy { background: var(--ink); color: #fff; }
.pstate.later { background: rgba(17, 17, 20, .07); color: var(--secondary); }
.pstate.off { background: none; color: var(--muted); padding: 0; }
.watch2 { margin-top: 8px; font-size: 12px; color: var(--secondary); }
.switch-row { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; padding: 0 4px; border: 0; background: none; font-size: 15px; text-align: left; }
.switch-row .sw { position: relative; width: 46px; height: 28px; border-radius: 999px; background: rgba(17, 17, 20, .14); transition: background .25s; }
.switch-row .sw::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .3s var(--spring); }
.switch-row[aria-pressed="true"] .sw { background: var(--ink); }
.switch-row[aria-pressed="true"] .sw::after { transform: translateX(18px); }

/* ── v13b: 조용한 팁 · 사진 모서리 스왑 · 즐거운 시트 ───────── */
.slot2w .slot2 { position: relative; }
.tip { display: flex; align-items: flex-start; gap: 6px; margin: 6px 0 0; padding: 0; background: none; border: 0; border-radius: 0; font-size: 12px; font-weight: 500; color: var(--secondary); line-height: 1.4; }
.tip i { flex: none; width: 6px; height: 6px; margin-top: 6px; border-radius: 50%; background: var(--dust); }
.tip.warn i { background: #aeaeb2; } .tip.swap { background: none; color: var(--ink); border: 0; } .tip.swap i { background: var(--ink); }
.swapdot { position: absolute; right: 8px; bottom: 8px; z-index: 3; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 4px 12px rgba(60, 70, 90, .18); color: var(--ink); transition: transform .3s var(--spring); }
.swapdot:active { transform: scale(.9); }
.swapdot svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.plan-total { margin: 2px 0 12px; padding: 4px 2px 8px; background: none; border: 0; }
.plan-total b { font-size: 34px; }
.plan-total small { margin-top: 4px; font-size: 13px; color: var(--secondary); }
.crow { position: relative; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 6px 0; align-items: center; }
.crow-main { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; padding: 0; border: 0; background: none; text-align: left; min-width: 0; }
.crow-main .photo { width: 56px; height: 64px; border-radius: 14px; }
.crow-main .ct b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
.crow-main .ct small { display: block; margin-top: 2px; }
.ptoggle { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(17, 17, 20, .2); background: transparent; }
.ptoggle i { display: grid; place-items: center; opacity: 0; transform: scale(.4); transition: transform .35s var(--spring), opacity .2s; }
.ptoggle svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ptoggle.buy { background: var(--ink); border-color: var(--ink); } .ptoggle.buy i { opacity: 1; transform: scale(1); }
.pstate.off { font-size: 12px; font-weight: 600; }
.palts { grid-column: 1 / -1; display: flex; gap: 10px; overflow-x: auto; padding: 8px 0 4px; scrollbar-width: none; animation: stepIn .35s var(--spring) both; }
.palts::-webkit-scrollbar { display: none; }
.palts button { flex: none; width: 72px; padding: 0; border: 0; background: none; text-align: center; }
.palts .photo { aspect-ratio: 3 / 4; border-radius: 14px; box-shadow: var(--shadow-soft); }
.palts small { display: block; margin-top: 5px; font-size: 11px; font-weight: 600; color: var(--secondary); }

/* ═══ v14: 옷장 지도 · 단순한 룩 보기 · 핀터레스트식 남의 옷장 (Calm Glass) ═══ */
.icon-btn svg, .tab svg, .btn svg { stroke-width: 1.8; }
/* 코어: 사람 줄 · 룩 카드 정렬 */
.people-row { display: flex; gap: 18px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
.people-row::-webkit-scrollbar { display: none; }
.person { flex: none; width: 84px; padding: 0; border: 0; background: none; text-align: center; }
.person .pimg { display: block; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; box-shadow: var(--shadow-soft); }
.person b { display: block; margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.person small { display: none; }
.lk b { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
.lk small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); font-weight: 500; }
.lk .photo { border-radius: 18px; box-shadow: var(--shadow-soft); }
.chips.scroll { margin-bottom: 14px; }

/* 남의 옷장: 박스·옷걸이 없이 사진만 */
.ucl { padding-top: 6px; }
.uhead { display: flex; align-items: center; gap: 14px; padding: 6px 0 4px; }
.uhead .av { flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; box-shadow: var(--shadow-soft); }
.uhead h1 { font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.uhead p { margin-top: 2px; font-size: 13px; color: var(--secondary); }
.mason { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.mi { display: block; padding: 0; border: 0; background: none; text-align: left; min-width: 0; }
.mi .photo { aspect-ratio: 1 / 1.15; border-radius: 18px; box-shadow: var(--shadow-soft); }
.mi b { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
.mi small { display: block; margin-top: 1px; font-size: 12px; color: var(--muted); font-weight: 500; }

/* 룩 보기: 핀 상세처럼 */
.lookp { padding-bottom: 130px; }
.lookp .scene { border: 0; border-radius: 28px; box-shadow: var(--shadow-soft); aspect-ratio: 4 / 4.6; }
.byline { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 14px; padding: 0; border: 0; background: none; text-align: left; min-height: 44px; }
.byline .photo { flex: none; width: 34px; height: 34px; border-radius: 50%; }
.byline b { flex: 1; font-size: 14px; font-weight: 600; }
.byline i svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.look-h { margin: 6px 0 14px; font-size: 24px; font-weight: 700; letter-spacing: -.04em; line-height: 1.25; }
.tiles4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.t4 { display: block; padding: 0; border: 0; background: none; text-align: left; min-width: 0; }
.t4 .photo { aspect-ratio: 1 / 1.1; border-radius: 14px; box-shadow: var(--shadow-soft); }
.t4 b { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t4 small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.cta-fix { position: fixed; z-index: 20; left: 50%; bottom: calc(max(14px, env(safe-area-inset-bottom)) + 74px); width: min(calc(100% - 40px), 390px); transform: translateX(-50%); }
.app:not([data-style]) .cta-fix { display: none; }

/* 옷장 지도 (Obsidian식) */
.ghead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 6px 0 10px; }
.ghead .lead { margin-top: 6px; font-size: 13px; }
.mixbtn { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid #fff; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-soft); }
.mixbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gmap { position: relative; width: 100%; aspect-ratio: 390 / 500; border-radius: 30px; background: radial-gradient(70% 50% at 30% 10%, rgba(157, 180, 204, .35), transparent 70%), rgba(255, 255, 255, .45); border: 1px solid rgba(255, 255, 255, .85); box-shadow: var(--shadow-soft); overflow: hidden; }
.gmap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gmap line { stroke: rgba(17, 17, 20, .22); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.gmap line.sim { stroke-dasharray: 3 4; stroke: rgba(17, 17, 20, .3); }
.gn { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; padding: 0; border: 0; border-radius: 50%; background: none; transition: transform .3s var(--spring); }
.gn .photo { width: 100%; height: 100%; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 6px 16px rgba(60, 70, 90, .22); }
.gn.mine { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
.gn.mine .photo { border-width: 3px; box-shadow: 0 0 0 1.5px var(--ink), 0 8px 18px rgba(60, 70, 90, .25); }
.gn.ghost .photo { opacity: .85; border: 2px dashed rgba(17, 17, 20, .35); background: #fff; }
.gn .garment b, .gn .garment small, .gn .garment svg { display: none; }
.gn:active { transform: scale(.92); }
.gh { position: absolute; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px; margin: -16px 0 0 0; transform: translateX(-50%); border: 1px solid #fff; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-pop); }
.gh i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.glegend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 12px 4px 0; font-size: 12px; color: var(--secondary); font-weight: 500; }
.glegend span { width: 9px; height: 9px; border-radius: 50%; margin-left: 6px; }
.glegend .l1 { background: #fff; box-shadow: 0 0 0 1.5px var(--ink); } .glegend .l2 { border: 1.5px dashed rgba(17, 17, 20, .4); } .glegend .l3 { background: var(--ink); }
.glegend em { margin-left: auto; font-style: normal; color: var(--muted); }
.people-row { margin: 0; padding-left: 0; padding-right: 0; }
/* 지도 노드가 시트 위로 비치지 않도록 레이어를 가둔다 */
.view { z-index: 1; isolation: isolate; }
.gmap { isolation: isolate; contain: paint; z-index: 0; }
.gn.ghost .photo { opacity: 1; background: #fff; }
.gn.ghost .photo img { opacity: .8; }
.sheet-layer { z-index: 60; }

/* ═══ v16: 취향 지도(홈) · 스티커 카드 옷장 (핀터레스트 레퍼런스: Pool / catalog re-shot / Muzli map) ═══ */
.uhint { display: none; }
.mode-seg { position: absolute; z-index: 41; left: 50%; top: 134px; transform: translateX(-50%); display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; pointer-events: auto; }
.mode-seg button { min-height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font-size: 13px; font-weight: 600; color: var(--secondary); }
.mode-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.stage.searching .mode-seg, .stage.searching .uni-chips, .stage.searching .mapsc { display: none; }
.stage[data-home="map"] { overflow: hidden; }
.mapsc { position: absolute; inset: 0; overflow: auto; scrollbar-width: none; overscroll-behavior: contain; touch-action: pan-x pan-y; cursor: grab; }
.mapsc::-webkit-scrollbar { display: none; }
.mapcv { position: relative; width: 1250px; height: 1000px; }
.mc { position: absolute; display: block; padding: 0; border: 0; background: none; rotate: var(--r, 0deg); translate: -50% -50%; animation: mcfloat 7s ease-in-out var(--d, 0s) infinite alternate; }
@keyframes mcfloat { from { translate: -50% calc(-50% - 4px); } to { translate: -50% calc(-50% + 4px); } }
.mc .photo { width: 100%; height: 100%; border: 4px solid #fff; border-radius: 18px; box-shadow: 0 12px 28px rgba(60, 70, 90, .22); }
.mc.s { width: 104px; height: 132px; } .mc.i { width: 76px; height: 92px; } .mc.f { width: 66px; height: 66px; }
.mc.f .photo { border-radius: 50%; }
.mc:active { transform: scale(.94); }
.cl-name { position: absolute; translate: -50% 0; display: inline-flex; align-items: baseline; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; align-items: center; }
.cl-name small { font-size: 11px; font-weight: 500; color: var(--secondary); }
.stage[data-home="map"] .uni-top { z-index: 45; }

/* 옷장 지도: 둥근 노드 → 스티커 카드 */
.gn { width: 44px; height: 56px; margin: -28px 0 0 -22px; border-radius: 12px; rotate: var(--r, 0deg); }
.gn .photo, .gn.mine .photo, .gn.ghost .photo { border-radius: 12px; border: 3px solid #fff; box-shadow: 0 8px 18px rgba(60, 70, 90, .22); }
.gn.mine { width: 50px; height: 64px; margin: -32px 0 0 -25px; }
.gn.mine::after { content: ''; position: absolute; right: -4px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid #fff; }
.gn.ghost .photo { border: 3px dashed rgba(17, 17, 20, .35); }
.gmap line { stroke: rgba(17, 17, 20, .16); }
.stage[data-home="map"]::after { display: none; }
.mapcv { height: 1200px; }

/* ═══ v17: 실제 지도 홈 (레퍼런스: Beauty search map — 회색 지도 + 사진 핀 + 하단 카드 시트) ═══ */
.geomap { position: absolute; inset: 0; z-index: 0; touch-action: none; background: #e8e9ec; }
.geomap .leaflet-tile-pane { filter: saturate(.55) contrast(.96) brightness(1.02); }
.leaflet-container { font-family: var(--font); background: #e8e9ec; }
.leaflet-control-attribution { background: rgba(255, 255, 255, .6) !important; font-size: 9px; color: var(--muted); border-radius: 8px 0 0 0; backdrop-filter: blur(6px); }
.leaflet-control-attribution a { color: inherit; }
.gpin-wrap { background: none; border: 0; }
.gpin { position: relative; display: block; width: var(--s); height: var(--s); border-radius: 16px; border: 3px solid #fff; background: #fff; box-shadow: 0 8px 20px rgba(60, 70, 90, .3); transition: transform .35s var(--spring); cursor: pointer; }
.gpin img { border-radius: 13px; }
.gpin::after { content: ''; position: absolute; left: 50%; bottom: -9px; width: 10px; height: 10px; margin-left: -5px; background: #fff; transform: rotate(45deg); border-radius: 2px; box-shadow: 4px 4px 8px rgba(60, 70, 90, .18); z-index: -1; }
.gpin.main { border-radius: 20px; }
.gpin.on { transform: translateY(-4px) scale(1.14); z-index: 5; }
.stage.geo.searching .mapsheet, .stage.geo.searching .geo-chips { display: none; }
.geo .uni-top { z-index: 45; }
.geo-chips { position: absolute; z-index: 41; left: var(--page); right: var(--page); top: 126px; pointer-events: none; }
.geo-chips .uni-chips { position: static; display: flex; justify-content: space-between; gap: 8px; }
.geo-chips .uni-chips > * { pointer-events: auto; }
.mapsheet { position: absolute; z-index: 42; left: 0; right: 0; bottom: 0; padding: 8px 0 100px; border-radius: 30px 30px 0 0; background: rgba(249, 249, 251, .94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 -10px 36px rgba(60, 70, 90, .14); }
.mapsheet .grip { display: block; width: 38px; height: 5px; margin: 0 auto 10px; border-radius: 5px; background: rgba(17, 17, 20, .16); }
.mapsheet header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 var(--page) 12px; }
.mapsheet h3 { font-size: 20px; font-weight: 700; letter-spacing: -.04em; }
.mapsheet h3 small { margin-left: 4px; font-size: 12px; font-weight: 500; color: var(--muted); vertical-align: super; }
.mapsheet .mode-seg { position: static; transform: none; background: rgba(17, 17, 20, .06); box-shadow: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.mapsheet .mode-seg button { min-height: 32px; padding: 0 12px; font-size: 12px; }
.gcards { display: flex; gap: 12px; overflow-x: auto; padding: 0 var(--page); scroll-snap-type: x proximity; scrollbar-width: none; }
.gcards::-webkit-scrollbar { display: none; }
.gcard { flex: none; width: 250px; padding: 0; border: 0; background: none; text-align: left; scroll-snap-align: center; }
.gimg { position: relative; display: block; height: 142px; border-radius: 22px; overflow: hidden; background: #e8ecf3; box-shadow: var(--shadow-soft); }
.gimg img { object-position: 50% 28%; }
.gtag { position: absolute; left: 10px; top: 10px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-style: normal; font-size: 12px; font-weight: 600; color: var(--ink); }
.gfaces { position: absolute; left: 10px; bottom: 10px; display: flex; }
.gav { width: 26px; height: 26px; margin-right: -8px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; }
.gcard b { display: block; margin-top: 8px; font-size: 15px; font-weight: 700; letter-spacing: -.03em; }
.gcard small { display: block; margin-top: 1px; font-size: 12px; color: var(--secondary); font-weight: 500; }
.gcard.on .gimg { box-shadow: 0 0 0 2.5px var(--ink), var(--shadow-soft); }
.stage[data-home="map"] .uni-chips .past span, .stage[data-home="map"] .uni-chips .budget-pill span { white-space: nowrap; }
.geomap .leaflet-tile-pane { filter: grayscale(1) contrast(.78) brightness(1.2); }
.geomap .leaflet-tile-pane { filter: grayscale(1) contrast(.62) brightness(1.27); }
.stage.geo::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 200px; z-index: 40; pointer-events: none; background: linear-gradient(to bottom, rgba(242, 242, 247, .96) 28%, rgba(242, 242, 247, 0)); }
.geo-chips { z-index: 46; } .geo .uni-top { z-index: 47; }

/* ═══ v18: 티셔츠 나라 지도 · 옷장 카드 · 다크 알약 탭 (레퍼런스: Pop-up map / Photos map / Trip cards / Journal / Growl) ═══ */
.tee .mapcv.tcv { width: 480px; height: 840px; background: none; }
.tee .mapsc { background: #f2f2f7; }
.tee .mapcv::before { content: ''; position: absolute; inset: -400px; z-index: 0; background-image: linear-gradient(rgba(17, 17, 20, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 17, 20, .045) 1px, transparent 1px); background-size: 48px 48px; }
.tblob { position: absolute; z-index: 0; border-radius: 50%; filter: blur(46px); background: #b6d0ea; opacity: .75; }
.tblob.b1 { left: -140px; top: 90px; width: 420px; height: 380px; }
.tblob.b2 { right: -150px; top: 560px; width: 440px; height: 360px; opacity: .6; }
.tsvg { position: absolute; z-index: 1; left: 0; top: 170px; width: 480px; height: 600px; filter: drop-shadow(0 18px 30px rgba(110, 140, 175, .22)); }
.tname { position: absolute; z-index: 2; left: 0; width: 100%; top: 806px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .18em; color: #9db4cc; }
.tp { position: absolute; z-index: 3; width: var(--s); height: var(--s); padding: 0; border: 0; background: none; translate: -50% -100%; rotate: var(--r, 0deg); transition: transform .35s var(--spring); }
.tp .ph { display: block; width: 100%; height: 100%; padding: 3px; border-radius: 12px; background: #fff; box-shadow: 0 8px 20px rgba(60, 70, 90, .22); }
.tp .ph > * { border-radius: 9px; }
.tp::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px; background: #fff; transform: rotate(45deg); border-radius: 2px; z-index: -1; box-shadow: 3px 3px 6px rgba(60, 70, 90, .12); }
.tp em { position: absolute; z-index: 2; right: -10px; top: -10px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: #1a7cf0; color: #fff; font-style: normal; font-size: 12px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.tp.sm { z-index: 2; }
.tp.main.on { transform: translateY(-4px) scale(1.12); z-index: 6; }
.tp.main.on .ph { box-shadow: 0 0 0 2.5px var(--ink), 0 10px 24px rgba(60, 70, 90, .3); }
.tp:active { transform: scale(.94); }
.tp .tl { position: absolute; z-index: 3; translate: -50% 0; padding: 4px 11px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; letter-spacing: -.02em; pointer-events: none; }
.td { position: absolute; z-index: 2; width: 12px; height: 12px; translate: -50% -50%; border-radius: 50%; background: #8fb0d4; box-shadow: 0 0 0 4px rgba(143, 176, 212, .22); }
.tdl { position: absolute; z-index: 2; translate: -50% 0; font-size: 11px; font-weight: 600; color: #3a4452; white-space: nowrap; letter-spacing: -.02em; }

/* 옷장: 룩 카드 + 미니 관계도 */
.bseg { display: inline-flex; gap: 2px; margin: 4px 0 16px; padding: 3px; border-radius: 12px; background: rgba(17, 17, 20, .06); }
.bseg button { min-height: 34px; padding: 0 22px; border: 0; border-radius: 9px; background: none; font-size: 13px; font-weight: 600; color: var(--secondary); }
.bseg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(17, 17, 20, .12); }
.lcards { display: grid; gap: 12px; }
.lcard { display: flex; align-items: stretch; gap: 10px; width: 100%; padding: 14px; border: 0; border-radius: 24px; background: #fff; text-align: left; box-shadow: var(--shadow-soft); }
.lc-t { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.lc-t b { font-size: 16px; font-weight: 700; letter-spacing: -.03em; line-height: 1.3; }
.lc-t small { margin-top: 2px; font-size: 12px; color: var(--muted); font-weight: 500; }
.lc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.lc-tags i { padding: 4px 10px; border-radius: 999px; background: #eef3f8; font-style: normal; font-size: 11px; font-weight: 600; color: #4d6580; }
.lc-tags i.ok { background: var(--ink); color: #fff; }
.lc-g { position: relative; flex: none; width: 168px; height: 112px; border-radius: 16px; background: #f1f4f7; }
.lc-g svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lc-g line { stroke: #9db4cc; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.lc-h { position: absolute; left: 22%; top: 50%; width: 9px; height: 9px; translate: -50% -50%; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 20, .12); }
.lcth { position: absolute; width: 36px; height: 36px; translate: -50% -50%; border-radius: 10px; overflow: hidden; border: 2px solid #fff; background: #fff; box-shadow: 0 4px 10px rgba(60, 70, 90, .2); }
.lcth.mine { box-shadow: 0 0 0 1.5px var(--ink), 0 4px 10px rgba(60, 70, 90, .2); }
.sec-h { margin: 26px 0 12px; font-size: 17px; font-weight: 700; letter-spacing: -.03em; }
.sec-h small { margin-left: 4px; font-size: 12px; font-weight: 500; color: var(--muted); }
.cutgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
.cut { display: block; padding: 0; border: 0; background: none; text-align: left; min-width: 0; }
.cut .photo { display: block; aspect-ratio: 1 / 1.15; border-radius: 16px; background: #fff; box-shadow: var(--shadow-soft); }
.cut b { display: block; margin-top: 6px; font-size: 11px; font-weight: 600; color: var(--secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 하단 탭: 다크 알약 */
.tabbar { background: rgba(20, 22, 28, .92) !important; border: 0 !important; box-shadow: 0 14px 34px rgba(20, 22, 28, .3) !important; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.tab { color: rgba(255, 255, 255, .62) !important; }
.tab[aria-current="page"], .app[data-style="calendar"] .tab[aria-current="page"] { background: #fff !important; color: var(--ink) !important; }
.tab .count { background: #1a7cf0 !important; color: #fff !important; border-color: transparent !important; }

.tee .mapcv.tcv { zoom: .82; }

/* v18b: 검색 결과가 검색창 아래에서 깔끔히 */
.stage.geo .results { top: 128px; z-index: 44; padding-top: 4px; }
.stage.geo.searching::before { display: none; }
.stage.geo.searching { background: #f2f2f7; }

/* v18c: 검색 추천칩과 예산·지난기록 칩이 겹치지 않게 */
.stage.geo:focus-within .geo-chips { visibility: hidden; pointer-events: none; }
.stage.geo .sugg { z-index: 48; }

/* ═══ v19: 바텀시트 디테일 — 검은 선 제거 · 사진/텍스트 여백 · 잘림 방지 ═══ */
.gcards { padding: 10px var(--page) 12px; margin: -10px 0 -12px; scroll-padding: 0 var(--page); }
.gcard { width: 250px; transition: transform .3s var(--spring); }
.gimg { height: 150px; box-shadow: 0 6px 18px rgba(60, 70, 90, .12); }
.gcard b { margin-top: 14px; font-size: 16px; line-height: 1.3; }
.gcard small { margin-top: 4px; font-size: 12.5px; }
.gcard.on .gimg { box-shadow: 0 10px 26px rgba(60, 70, 90, .22); }
.gcard.on { transform: translateY(-2px); }
.gcard.on .gtag { background: #fff; box-shadow: 0 2px 8px rgba(60, 70, 90, .16); }
.mapsheet header { padding-bottom: 14px; }
.mapsheet .grip { background: rgba(17, 17, 20, .14); }
/* v19: 행성 필드 가장자리 페이드(이름표 잘림 완화) · 선택 이름표 검정 채움 제거 */
.stage > .field { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); }
.pl.on .pn { background: #fff; color: var(--ink); box-shadow: 0 4px 12px rgba(60, 70, 90, .16); }

/* v19b: 예산은 기본 숨김 — 최종 결정 시트에만 작은 체크박스 */
.budget-check { display: flex; align-items: center; gap: 8px; margin: 14px auto 2px; padding: 6px 4px; border: 0; background: none; font-size: 13px; font-weight: 500; color: var(--secondary); }
.budget-check i { width: 18px; height: 18px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px rgba(17, 17, 20, .22); background: #fff; display: grid; place-items: center; transition: background .2s, box-shadow .2s; }
.budget-check[aria-checked="true"] { color: var(--ink); }
.budget-check[aria-checked="true"] i { background: var(--ink); box-shadow: none; }
.budget-check[aria-checked="true"] i::after { content: ''; width: 9px; height: 5px; margin-top: -2px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* v19c: 금액은 조용하게 · 체크박스 비율 고정 */
.plan-total { padding: 2px 2px 6px; }
.plan-total b { font-size: 22px; font-weight: 650; letter-spacing: -.035em; }
.plan-total small { margin-top: 4px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.budget-check { width: auto; min-height: 0; height: auto; margin: 10px auto 4px; padding: 6px 4px; gap: 7px; font-size: 12.5px; color: var(--muted); }
.budget-check i { flex: none; box-sizing: border-box; width: 16px; min-width: 16px; max-width: 16px; height: 16px; min-height: 16px; max-height: 16px; aspect-ratio: 1; border-radius: 5px; }
.budget-check[aria-checked="true"] i::after { width: 8px; height: 4px; margin-top: -2px; }

/* v20: Ionic(iOS) 컨트롤 — 직접 만든 체크박스/입력창 대체 */
ion-checkbox.budget-check { display: flex; width: auto; margin: 10px auto 4px; font-size: 13px; color: var(--muted); --size: 18px; --checkbox-background-checked: var(--ink); --border-color-checked: var(--ink); --border-color: rgba(17, 17, 20, .28); --checkmark-color: #fff; }
ion-input { --highlight-color-focused: var(--ink); --border-color: rgba(17, 17, 20, .14); --border-radius: 14px; --padding-start: 14px; font-size: 16px; }
.two ion-input { min-height: 56px; }

/* v20b: 홈 "지난 기록" 클릭 겹침 — 검색 영역이 빈 공간 클릭을 가로채지 않게 */
.geo .uni-top { pointer-events: none; }
.geo .uni-top > * { pointer-events: none; }
.geo .uni-top .search, .geo .uni-top .sugg, .geo .uni-top .sugg * { pointer-events: auto; }
.geo-chips { top: 132px; }
.geo-chips .uni-chips > *, .geo-chips .past { position: relative; z-index: 2; pointer-events: auto; }
.stage.geo:focus-within .geo-chips { opacity: 0; pointer-events: none; transition: opacity .15s; }

/* v22: 썸네일 꾹 누르기 이모지 툴팁 */
#emoji-tip { position: fixed; z-index: 9999; display: flex; gap: 2px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 0 0 1px rgba(17, 17, 20, .06), 0 10px 28px rgba(60, 70, 90, .22); animation: emojiPop .22s var(--spring); }
#emoji-tip button { flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; font-size: 22px; line-height: 1; display: grid; place-items: center; }
#emoji-tip button:active { transform: scale(1.25); }
#emoji-tip button[aria-pressed="true"] { background: rgba(17, 17, 20, .08); }
@keyframes emojiPop { from { opacity: 0; transform: translateY(6px) scale(.9); } to { opacity: 1; transform: none; } }

/* v26: 옷장 룩 카드 — 관계도 대신 사진 4장 */
.lcard { flex-direction: column; gap: 12px; }
.lc-t small { margin-top: 3px; font-size: 13px; }
.lc-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lcth { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #f1f4f7; }
.lcth.mine { box-shadow: none; outline: 0; }
.lcth em { position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--ink); }
.lcth { width: auto; height: auto; translate: none; border: 0; box-shadow: none; }
.lcth img { width: 100%; height: 100%; object-fit: cover; }

/* v27: 믹스 결과 시트 (가격·구매 없음) */
.mixlist { display: grid; gap: 8px; margin: 14px 0 16px; }
.mixrow { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; }
.mixrow .photo { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; background: #f1f4f7; }
.mixrow b { font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.mixrow small { font-size: 12px; color: var(--muted); font-weight: 500; }

/* v31: 담은 옷 개수 배지 · 정리 */
.tab { position: relative; }
.tbadge { position: absolute; top: 2px; right: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #ff3b30; color: #fff; font-style: normal; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px rgba(20, 22, 28, .92); }
.tidy-row { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 4px 0 14px; padding: 14px 18px; border: 0; border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); font-size: 15px; font-weight: 500; text-align: left; }
.tidy-row b { font-weight: 700; }
.tidy-go { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; color: var(--secondary); }
.tidy-go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.tidy-ai { display: grid; gap: 4px; margin: 4px 0 14px; padding: 16px; border-radius: 20px; background: #f1f4f7; }
.tidy-ai b { font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
.tidy-ai small { font-size: 12.5px; color: var(--secondary); margin-bottom: 8px; }
.mixrow .tcol { display: grid; gap: 2px; min-width: 0; }
.mixrow .tw { font-size: 11.5px; color: #ff3b30; font-weight: 500; }
.mixrow .link { font-size: 13px; color: var(--secondary); }

/* v32: 3개월 자동 정리 안내 */
.swept { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 12px; padding: 12px 16px; border-radius: 16px; background: #f1f4f7; font-size: 13px; color: var(--secondary); }
.swept b { color: var(--ink); font-weight: 650; }
.swept .link { margin-left: 10px; font-size: 13px; font-weight: 600; color: var(--ink); }
.tidy-go.warn { color: #ff3b30; font-weight: 600; }

/* v35: 코디 이름(연필) · 예산 체크박스(기본 모양) */
.plan-total .namerow { display: flex; align-items: center; gap: 6px; }
.plan-total .namerow b { font-size: 20px; font-weight: 650; letter-spacing: -.03em; }
.pencil { display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: rgba(17, 17, 20, .06); color: var(--secondary); }
.pencil svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.name-input { width: 100%; padding: 6px 10px; border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); font: inherit; font-size: 18px; font-weight: 650; outline: 0; }
.budget-row { display: flex; align-items: center; gap: 10px; margin: 2px 0 16px; padding: 12px 4px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-size: 14px; color: var(--ink); cursor: pointer; }
.budget-row input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }

/* v36: 결제 요약 — 쇼핑몰 표준(왼쪽 라벨, 오른쪽 금액) */
.plan-total { padding: 0 0 4px; margin: 0 0 10px; }
.sum-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 14px; color: var(--secondary); }
.sum-row b { font-size: 20px; font-weight: 650; letter-spacing: -.02em; color: var(--ink); }
.sum-note { margin: 4px 0 0; text-align: right; font-size: 12.5px; color: var(--muted); }


/* v38: 애플식 중성 팔레트 — 누런기 제거 (최종 토큰) */
:root {
  --canvas: #f2f2f7; --ink: #1c1c1e; --secondary: #6c6c70; --muted: #8e8e93;
  --hair: rgba(60, 60, 67, .12); --line: rgba(60, 60, 67, .14);
  --lime: #e8e8ed; --sky: #e5e8ee; --lav: #e8e8ed; --pink: #ececf1; --peach: #e5e5ea; --mint: #e5e8e6; --warm: #d1d1d6;
  --hot: #1c1c1e; --accent: #636366;
}
body { background: #ececf1; }

/* v39: "지난 기록" — 클릭이 취소되던 문제 수정 + 헤더 오른쪽으로 이동 */
.stage.geo:focus-within .geo-chips { opacity: 1; pointer-events: none; }
.stage.geo:has(#q:focus) .geo-chips { visibility: hidden; }
.geo-chips { top: 14px; left: auto; right: var(--page); z-index: 48; }
.geo-chips .uni-chips { justify-content: flex-end; }
.geo-chips .past { min-height: 36px; padding: 0 14px 0 10px; font-size: 13px; gap: 6px; }
.geo-chips .past, .geo-chips .uni-chips .past { position: static; top: auto; left: auto; right: auto; bottom: auto; margin: 0; translate: none; }
/* v40: 홈 상단 헤더가 오른쪽 칩 클릭을 가로채지 않게 */
header.top.home { pointer-events: none; }
header.top.home > * { pointer-events: auto; }
header.top.home .brand { pointer-events: none; }
/* v41: 포커스가 있다고 칩을 숨기던 옛 규칙 무력화 (검색창 포커스 때만 숨김) */
.stage.geo:focus-within .geo-chips { visibility: visible; opacity: 1; }
.stage.geo:has(#q:focus) .geo-chips { visibility: hidden; opacity: 0; }

/* v45: 검색 — 그룹·탭·강조, 얇은 테두리 */
.search:focus-within { box-shadow: 0 0 0 1px rgba(60, 60, 67, .28) !important; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%238e8e93'/%3E%3Cpath d='M8.5 8.5l7 7M15.5 8.5l-7 7' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.res-head { margin: 4px 2px 12px; font-size: 20px; font-weight: 600; letter-spacing: -.03em; line-height: 1.35; color: var(--ink); }
.res-head b { font-weight: 700; }
.res-head .n { color: var(--secondary); font-weight: 600; }
.res-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 -2px 6px; padding: 2px; scrollbar-width: none; }
.res-tabs::-webkit-scrollbar { display: none; }
.res-tabs button { flex: none; min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(60, 60, 67, .08); color: var(--secondary); font-size: 14px; font-weight: 600; }
.res-tabs button i { margin-left: 3px; font-style: normal; font-weight: 500; opacity: .7; }
.res-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.res-sec { margin-top: 14px; }
.res-sec header { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px; margin-bottom: 2px; }
.res-sec h3 { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.res-sec .more { border: 0; background: none; font-size: 13px; font-weight: 500; color: var(--secondary); }
.res .rt mark { background: none; color: var(--ink); font-weight: 800; text-decoration: underline; text-decoration-color: rgba(60, 60, 67, .3); text-underline-offset: 3px; }
.res { grid-template-columns: 56px minmax(0, 1fr); }
.chip.recent { background: #fff; box-shadow: 0 0 0 1px var(--hair); }

/* v49: 기억 탭 — 큰 사진 카드 스와이프 + 담은 옷 3열 */
.mem-rail { display: flex; gap: 12px; margin: 0 calc(var(--page) * -1) 6px; padding: 4px var(--page) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--page); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mem-rail::-webkit-scrollbar { display: none; }
.mem { position: relative; flex: none; width: 76%; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 28px; overflow: hidden; scroll-snap-align: start; background: #dfe3ea; text-align: left; box-shadow: 0 14px 34px rgba(28, 28, 30, .16); }
.mem-img, .mem-fallback { position: absolute; inset: 0; display: block; }
.mem-img img, .mem-fallback img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.mem::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .66) 100%); pointer-events: none; }
.mem-count { position: absolute; z-index: 2; right: 14px; top: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .32); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 12px; font-weight: 600; }
.mem-meta { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; display: grid; gap: 2px; color: #fff; }
.mem-meta small { font-size: 12px; font-weight: 500; opacity: .85; }
.mem-meta b { font-size: 22px; font-weight: 700; letter-spacing: -.035em; line-height: 1.25; }
.mem-meta em { font-style: normal; font-size: 13px; opacity: .85; }
.mem-th { display: flex; gap: 6px; margin-top: 10px; }
.mem-th i { width: 38px; height: 38px; border-radius: 11px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9); }
.mem-th i .garment b, .mem-th i .garment small, .mem-th i .garment svg { display: none; }
.mem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; margin: 2px 0 8px; }
.mem-item { padding: 0; border: 0; background: none; text-align: left; min-width: 0; }
.mem-item .photo { position: relative; display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #eceef2; box-shadow: 0 0 0 1px var(--hair); }
.mem-item .rx { position: absolute; left: 6px; bottom: 6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .94); display: grid; place-items: center; font-style: normal; font-size: 15px; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.mem-item .soon { position: absolute; right: 6px; top: 6px; padding: 2px 7px; border-radius: 999px; background: #ff3b30; color: #fff; font-style: normal; font-size: 10.5px; font-weight: 700; }
.mem-item b { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mem-item small { display: block; margin-top: 2px; font-size: 12px; color: var(--secondary); }

/* v51: 선택된(가운데) 행성에도 추구미 이름을 크게 보여 준다 */
.pl.on .pn { opacity: 1 !important; }
.pl .pn { font-size: 14px; font-weight: 700; padding: 6px 14px; }
.pl.on .pn { font-size: 16px; background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(60, 70, 90, .22); }

/* v52: 체크박스 하나로 통일 — 24px 원형 선택 표시 */
.ptoggle { width: 24px; height: 24px; border-radius: 50%; border-width: 1.5px; }
.ptoggle svg { width: 14px; height: 14px; }
.budget-row { gap: 12px; }

/* v52: 기억 탭 안의 실제 옷장 */
.wardrobe { margin: 26px 0 8px; }
.wr-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.wr-top h3 { font-size: 18px; font-weight: 700; letter-spacing: -.03em; }
.wr-top h3 small { margin-left: 4px; font-size: 13px; font-weight: 500; color: var(--secondary); }
.wr-cab { position: relative; padding: 18px 12px 0; border-radius: 22px; background: linear-gradient(180deg, #e9ebef 0%, #dfe2e8 100%); box-shadow: inset 0 3px 14px rgba(28, 28, 30, .1), 0 0 0 1px var(--hair); overflow: hidden; }
.wr-rail { position: relative; padding-top: 14px; }
.wr-rail .rod { position: absolute; left: -12px; right: -12px; top: 8px; height: 5px; border-radius: 3px; background: linear-gradient(180deg, #c9cdd4, #8d929b); box-shadow: 0 2px 4px rgba(28, 28, 30, .18); }
.wr-hang { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 0 2px 12px; }
.wr-hang::-webkit-scrollbar { display: none; }
.hg { position: relative; flex: none; width: 96px; padding: 0; border: 0; background: none; text-align: center; }
.hg svg { display: block; width: 44px; height: 22px; margin: -14px auto -2px; fill: none; stroke: #6c6c70; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; position: relative; z-index: 2; }
.hg .photo { display: block; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 8px 14px rgba(28, 28, 30, .16); }
.hg .garment b, .hg .garment small { display: none; }
.wr-shelf { position: relative; padding-top: 10px; }
.wr-things { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 0 2px; align-items: flex-end; }
.wr-things::-webkit-scrollbar { display: none; }
.st { flex: none; width: 78px; padding: 0; border: 0; background: none; }
.st .photo { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 6px 10px rgba(28, 28, 30, .14); }
.plank { display: block; height: 12px; margin: 0 -12px; background: linear-gradient(180deg, #d4d7de, #bfc3cb); box-shadow: 0 -1px 0 rgba(255, 255, 255, .7) inset, 0 3px 6px rgba(28, 28, 30, .12); }

/* v54: 기억 탭 — 나의 추구미 카드 · 영역별 한 줄 설명 */
.taste { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; margin: 10px 0 8px; padding: 0; border: 0; border-radius: 30px; overflow: hidden; text-align: left; background: #dfe3ea; box-shadow: 0 16px 36px rgba(28, 28, 30, .18); }
.taste-img { position: absolute; inset: 0; display: block; }
.taste-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.taste::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .7) 100%); pointer-events: none; }
.taste-meta { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; display: grid; gap: 3px; color: #fff; }
.taste-meta small { font-size: 12px; font-weight: 600; letter-spacing: .02em; opacity: .85; }
.taste-meta b { font-size: 32px; font-weight: 750; letter-spacing: -.04em; line-height: 1.15; }
.taste-meta em { font-style: normal; font-size: 13px; opacity: .88; }
.taste-bars { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.taste-bars i { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-style: normal; font-size: 12px; font-weight: 600; }
.taste.empty { aspect-ratio: auto; display: grid; gap: 6px; padding: 22px; background: #fff; box-shadow: 0 0 0 1px var(--hair); }
.taste.empty::after { display: none; }
.taste.empty small { font-size: 12px; font-weight: 600; color: var(--secondary); }
.taste.empty b { font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.taste.empty p { margin: 0 0 8px; font-size: 14px; color: var(--secondary); line-height: 1.45; }
.sec-note { margin: -4px 2px 12px; font-size: 13px; color: var(--secondary); line-height: 1.45; }
.sec-note .link { margin-left: 4px; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* v55: 행성에 모인 사람들 · 살까 말까 */
.pl .pf { position: absolute; z-index: 3; left: 50%; top: calc(100% + 52px); transform: translateX(-50%); display: flex; align-items: center; white-space: nowrap; pointer-events: none; }
.pl .pfa { display: block; width: 26px; height: 26px; margin-left: -9px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; background: #e5e8ee; box-shadow: 0 2px 6px rgba(60, 70, 90, .22); }
.pl .pfa:first-child { margin-left: 0; }
.pl .pfa img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.pl .pf em { margin-left: 8px; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--ink); text-shadow: 0 1px 6px rgba(255, 255, 255, .9); }
.pl.on .pfa { width: 30px; height: 30px; }
.gfaces .gav { width: 24px; height: 24px; }
.hold-list { list-style: none; display: grid; gap: 10px; padding: 0; margin: 0 0 6px; }
.hold { display: grid; grid-template-columns: 64px minmax(0, 1fr) 18px; gap: 14px; align-items: center; width: 100%; padding: 10px 12px 10px 10px; border: 0; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--hair), 0 8px 20px rgba(28, 28, 30, .06); text-align: left; }
.hold .photo { position: relative; display: block; width: 64px; height: 64px; border-radius: 16px; overflow: hidden; background: #eceef2; }
.hold .rx { position: absolute; left: 4px; bottom: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; font-style: normal; font-size: 13px; }
.hold .ht { display: grid; gap: 3px; min-width: 0; }
.hold .ht b { font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
.hold .ht small { font-size: 12.5px; color: var(--secondary); }
.hold .hc { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }
.hold .hc i { padding: 3px 9px; border-radius: 999px; background: rgba(60, 60, 67, .08); color: var(--secondary); font-style: normal; font-size: 11.5px; font-weight: 600; }
.hold .hc i.good { background: rgba(52, 199, 89, .14); color: #1f8f3f; }
.hold .hc i.warn { background: rgba(255, 149, 0, .14); color: #b36200; }
.hold .hc i.bad { background: rgba(255, 59, 48, .12); color: #d62b20; }
.hold .hgo { color: var(--muted); display: grid; place-items: center; }
.hold .hgo svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* v55b: 얼굴 줄은 행성 아래쪽 가장자리에 걸치고, 이름표는 그 밑에 */
.pl .pf { top: calc(100% - 15px); z-index: 4; }
.pl .pn { top: calc(100% + 24px); }
.pl .pf em { background: rgba(255, 255, 255, .78); padding: 2px 8px; border-radius: 999px; text-shadow: none; margin-left: 6px; }

/* v57: 얼굴 3개, 행성 아래 글씨 작게 */
.pl .pn { font-size: 12.5px; font-weight: 650; padding: 4px 11px; }
.pl.on .pn { font-size: 13.5px; font-weight: 700; padding: 5px 13px; }
.pl .pfa { width: 24px; height: 24px; margin-left: -8px; }
.pl.on .pfa { width: 26px; height: 26px; }
.pl .pf em { font-size: 11.5px; }
.pl .pn { top: calc(100% + 20px); }

/* v58: 사기 전 확인 한 줄 · 이번 주 입은 옷 */
.crow .chk { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.crow .chk i { padding: 3px 9px; border-radius: 999px; background: rgba(60, 60, 67, .08); color: var(--secondary); font-style: normal; font-size: 11.5px; font-weight: 500; line-height: 1.3; }
.crow .chk i.warn { background: rgba(255, 149, 0, .14); color: #b36200; font-weight: 600; }
.week-cta { position: relative; display: block; width: 100%; margin: 0 0 12px; padding: 16px 44px 16px 18px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--hair); text-align: left; }
.week-cta b { display: block; font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
.week-cta small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--secondary); }
.week-cta i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.week-cta i svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.week-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.wk { position: relative; padding: 0; border: 0; background: none; text-align: center; }
.wk .photo { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #eceef2; box-shadow: 0 0 0 1px var(--hair); transition: transform .2s; }
.wk .garment b, .wk .garment small { display: none; }
.wk b { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; }
.wk .wkc { position: absolute; right: 6px; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1.5px rgba(28, 28, 30, .25); display: grid; place-items: center; }
.wk .wkc svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.wk[aria-checked="true"] .photo { transform: scale(.94); box-shadow: 0 0 0 2px var(--ink); }
.wk[aria-checked="true"] .wkc { background: var(--ink); box-shadow: none; }
.wk[aria-checked="true"] .wkc svg { opacity: 1; }
.week-res { display: grid; gap: 4px; padding: 18px; border-radius: 22px; background: #f1f4f7; }
.week-res small { font-size: 12.5px; color: var(--secondary); font-weight: 600; }
.week-res b { font-size: 28px; font-weight: 750; letter-spacing: -.04em; }
.week-res p { margin: 0; font-size: 14px; color: var(--secondary); }
.week-res .wk-note { margin-top: 8px; font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.wk-h { margin: 18px 2px 10px; font-size: 15px; font-weight: 700; }
.wk-recs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wk-rec { padding: 0; border: 0; background: none; text-align: left; }
.wk-rec .photo { display: block; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: #eceef2; }
.wk-rec b { display: block; margin-top: 8px; font-size: 14px; font-weight: 650; }
.wk-rec small { display: block; margin-top: 1px; font-size: 12px; color: var(--secondary); }

/* v59: 오늘 확인할 옷 — 결론 먼저, 버튼 둘 */
.ask { margin: 10px 0 18px; padding: 18px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px var(--hair), 0 18px 40px rgba(28, 28, 30, .1); }
.ask header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ask header small { font-size: 12.5px; font-weight: 700; letter-spacing: .01em; color: var(--ink); }
.ask header span { font-size: 12.5px; color: var(--secondary); }
.ask-body { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: center; }
.ask-body .photo { display: block; width: 92px; height: 92px; border-radius: 20px; overflow: hidden; background: #eceef2; box-shadow: 0 0 0 1px var(--hair); }
.ask-body b { display: block; font-size: 19px; font-weight: 750; letter-spacing: -.035em; line-height: 1.25; }
.ask-body p { margin: 4px 0 0; font-size: 13px; color: var(--secondary); font-weight: 600; }
.ask-body small { display: block; margin-top: 6px; font-size: 13.5px; color: var(--ink); line-height: 1.45; }
.ask-acts { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; margin-top: 16px; }
.ask-acts .btn { min-height: 52px; border-radius: 999px; font-size: 15px; font-weight: 650; }
.ask.done { text-align: center; padding: 22px; }
.ask.done b { font-size: 17px; font-weight: 700; }
.ask.done p { margin: 6px 0 0; font-size: 13px; color: var(--secondary); }

/* v60: 첫 화면은 AI가 골라 준 카드 한 장 + 버튼 둘만 */
.ask { display: block; }
.ask header, .ask-body, .ask-acts { width: 100%; }
.ask-body { display: grid; }
.ask-acts .btn { width: 100%; }

/* v62: 옷장 하나 — 내 옷(실선)과 담아 둔 옷(점선)이 한 옷장 안에 */
.wishy .photo { border: 1.5px dashed rgba(28, 28, 30, .4); box-sizing: border-box; }
.hg .rx, .st .rx { position: absolute; left: 4px; bottom: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; font-style: normal; font-size: 13px; z-index: 2; }
.hg .soon, .st .soon { position: absolute; right: 4px; top: 4px; padding: 2px 6px; border-radius: 999px; background: #ff3b30; color: #fff; font-style: normal; font-size: 10px; font-weight: 700; z-index: 2; }
.hg .photo, .st .photo { position: relative; }
.wr-wish { margin-top: 6px; padding-top: 10px; border-top: 1.5px dashed rgba(28, 28, 30, .18); }
.wr-wh { display: flex; align-items: baseline; gap: 8px; padding: 0 2px 10px; }
.wr-wh b { font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.wr-wh span { font-size: 12px; color: var(--secondary); flex: 1; }
.wr-wh .link { font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.gh2 { flex: none; width: 78px; padding: 0; border: 0; background: none; }
.gh2 .photo { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #fff; border: 1.5px dashed rgba(28, 28, 30, .35); }
.gh2 .photo img { opacity: .9; }
.gh2 .rx { position: absolute; left: 4px; bottom: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; font-style: normal; font-size: 13px; }
.gh2 .soon { position: absolute; right: 4px; top: 4px; padding: 2px 6px; border-radius: 999px; background: #ff3b30; color: #fff; font-style: normal; font-size: 10px; font-weight: 700; }
.wardrobe .week-cta { margin-top: 12px; }

/* v65: 옷장 가격 필터 */
.wr-filter { margin: 0 0 8px; }
.pill { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(60, 60, 67, .08); color: var(--secondary); font-size: 13.5px; font-weight: 600; }
.pill.on { background: var(--ink); color: #fff; }

/* v68: 코디판 */
.fit { position: relative; aspect-ratio: 4 / 5; margin: 6px 0 4px; border-radius: 28px; background: radial-gradient(120% 90% at 50% 20%, #f7f8fb 0%, #eceff5 70%, #e4e8f0 100%); overflow: hidden; }
.ft { position: absolute; padding: 0; border: 0; background: none; filter: drop-shadow(0 14px 14px rgba(28, 28, 30, .16)); }
.ft img { width: 100%; height: 100%; object-fit: contain; -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); }
.ft .garment { width: 100%; height: 100%; }
.ft.top { left: 18%; top: 2%; width: 64%; height: 38%; }
.ft.bot { left: 22%; top: 34%; width: 56%; height: 46%; }
.ft.shoe { left: 6%; bottom: 2%; width: 42%; height: 22%; }
.ft.bag { right: 4%; top: 40%; width: 34%; height: 28%; }
.ft .mine { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.fit-note { margin: 10px 2px 14px; text-align: center; font-size: 12.5px; color: var(--secondary); }

/* v68: 지난 기록 노트 */
.page.nb { padding-top: 6px; }
.nb-wheels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.wheel { position: relative; height: 188px; overflow: hidden; touch-action: none; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); }
.wi { position: absolute; left: 0; right: 0; top: 50%; height: 48px; margin-top: -24px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--ink); transform: translateY(calc(var(--d) * 48px)) translateX(calc(var(--d) * var(--d) * 3px)) rotate(calc(var(--d) * 5deg)) scale(calc(1 - var(--d) * var(--d) * .04)); transition: transform .35s var(--spring), opacity .25s; opacity: calc(1 - var(--d) * var(--d) * .22); }
.wi b { font-size: 17px; font-weight: 650; letter-spacing: -.03em; color: var(--secondary); }
.wi small { font-size: 12px; color: var(--muted); }
.wi.d0 { background: #fff; box-shadow: 0 0 0 1px var(--hair), 0 10px 24px rgba(28, 28, 30, .1); }
.wi.d0 b { font-size: 19px; font-weight: 750; color: var(--ink); }
.nb-book { position: relative; padding: 14px 14px 14px 26px; border-radius: 26px; background: #1c1c1e; box-shadow: 0 20px 44px rgba(28, 28, 30, .26); }
.nb-book::before { content: ''; position: absolute; left: 8px; top: 22px; bottom: 22px; width: 18px; background: radial-gradient(ellipse 9px 4px at 50% 50%, #d1d1d6 0 70%, transparent 72%) 0 0 / 18px 26px repeat-y; z-index: 3; }
.nb-page { position: relative; min-height: 420px; padding: 18px 14px 20px; border-radius: 14px 20px 20px 14px; background: #fafafc; background-image: linear-gradient(180deg, rgba(60, 60, 67, .035) 1px, transparent 1px); background-size: 100% 26px; overflow: hidden; }
.nb-strings { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; }
.nb-strings line { stroke: #6f5bd6; stroke-width: 2; stroke-linecap: round; opacity: .85; }
.nb-strings circle { fill: #6f5bd6; stroke: #fff; stroke-width: 2; }
.nb-label { display: flex; justify-content: center; margin-bottom: 14px; position: relative; z-index: 2; }
.nb-label span { padding: 5px 16px; background: #ececf1; font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 15px; letter-spacing: .02em; color: #3a3a3c; transform: rotate(-1deg); box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
.nb-sec { position: relative; z-index: 2; margin-top: 8px; }
.nb-sec h3 { margin: 0 0 8px 4px; font-size: 13px; font-weight: 700; color: var(--secondary); letter-spacing: .02em; }
.nb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 14px; padding: 4px 4px 10px; }
.pol { position: relative; z-index: 2; padding: 8px 8px 6px; border: 0; background: #fff; text-align: center; box-shadow: 0 6px 16px rgba(28, 28, 30, .16), 0 0 0 1px rgba(60, 60, 67, .06); transform: rotate(var(--r)); transition: transform .3s var(--spring); }
.pol:nth-child(even) { margin-top: 16px; }
.pol:active { transform: rotate(0) scale(1.03); }
.pol .ph { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #e8eaf0; }
.pol .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.pol em { display: block; margin-top: 6px; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.pol small { display: block; font-size: 10.5px; color: var(--muted); }
.nb-mood { position: relative; z-index: 2; margin: 14px 0 0; text-align: center; font-size: 12px; color: var(--secondary); }

/* v68: 정리 카드 — 경고색 없이 가볍게 */
.tidy-ai { background: linear-gradient(135deg, #eef2ff 0%, #f4effc 100%); box-shadow: 0 0 0 1px rgba(111, 91, 214, .12); }
.tidy-ai b { font-size: 16px; }
.mixrow .tw { color: var(--secondary); font-weight: 500; }
/* v68b: 코디판 안의 옷 사진 틀을 꽉 채운다 */
.ft > .photo, .ft > span:not(.mine), .ft > picture { display: block; width: 100%; height: 100%; aspect-ratio: auto; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.ft > .photo img, .ft > span img { width: 100%; height: 100%; object-fit: contain; }
.ft .mine { z-index: 2; }
.ft.top { left: 16%; top: 3%; width: 68%; height: 36%; }
.ft.bot { left: 20%; top: 36%; width: 60%; height: 46%; }
/* v68c: 윗옷은 세로로 크게, 하의와 살짝 겹쳐 사람 모양으로 */
.ft.top { left: 20%; top: 1%; width: 60%; height: 50%; z-index: 2; }
.ft.bot { left: 24%; top: 38%; width: 52%; height: 52%; z-index: 1; }
.ft.shoe { z-index: 3; left: 4%; bottom: 3%; width: 38%; height: 22%; }
.ft.bag { z-index: 3; right: 3%; top: 34%; width: 32%; height: 26%; }

/* v73: 사람의 옷장에서 들어온 OOTD는 위쪽 프로필이 이동하지 않는다 */
.byline.static { cursor: default; pointer-events: none; }

/* v75: 일주일 OOTD · 팔로우 · 활용 조언 */
.wk-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.wk-btn { display: grid; gap: 3px; padding: 18px 14px; border-radius: 20px; background: #f1f4f7; text-align: center; cursor: pointer; }
.wk-btn b { font-size: 15px; font-weight: 700; }
.wk-btn small { font-size: 12px; color: var(--secondary); }
.wk-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 14px; max-height: 190px; overflow-y: auto; }
.wkt { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #e8eaf0; }
.wkt img { width: 100%; height: 100%; object-fit: cover; }
.wkt button { position: absolute; right: 3px; top: 3px; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 14px; line-height: 20px; }
.wk-busy { display: grid; place-items: center; gap: 14px; padding: 40px 0; text-align: center; }
.wk-busy p { margin: 0; font-size: 14px; color: var(--secondary); }
.wk-dots { display: flex; gap: 8px; }
.wk-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); animation: wkdot 1s ease-in-out infinite; }
.wk-dots i:nth-child(2) { animation-delay: .15s; } .wk-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes wkdot { 0%, 100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(-8px); opacity: 1; } }
.wk-follow { display: grid; gap: 10px; }
.wk-fc { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px 10px 10px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--hair); }
.wk-fc .ph { display: block; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: #e8eaf0; }
.wk-fc .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.wk-fc b { display: block; font-size: 15px; font-weight: 700; }
.wk-fc small { display: block; font-size: 12px; color: var(--secondary); line-height: 1.35; }
.pill.follow { margin-left: auto; align-self: flex-start; }
.core-head { align-items: center; }
.gfol { position: absolute; right: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(28, 28, 30, .82); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; }
.pairline { margin: 10px 0 2px; padding: 12px 14px; border-radius: 16px; background: #f1f4f7; font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.pairline b { font-weight: 700; }

/* v76: 폴더 스킨 — 행성 대신 사진이 꽂힌 폴더, 가운데 큰 영어 제목 */
.stage[data-skin="planet"] .fold, .stage[data-skin="planet"] .desk-title { display: none; }
.stage[data-skin="desk"] { background: #f7f7f7 !important; }
.stage[data-skin="desk"] .sp, .stage[data-skin="desk"]::before { display: none; }
.stage[data-skin="desk"] .pl .ball, .stage[data-skin="desk"] .pl .ring, .stage[data-skin="desk"] .pl .moon, .stage[data-skin="desk"] .pl .pf { display: none; }
.stage[data-skin="desk"] .pl .bob { animation-duration: 8s; }
.desk-title { position: absolute; z-index: 5; left: 0; right: 0; top: 104px; display: grid; justify-items: center; gap: 2px; pointer-events: none; text-align: center; }
.desk-title small { font-size: 22px; font-weight: 300; letter-spacing: -.03em; color: #1c1c1e; }
.desk-title b { font-size: 46px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: #1c1c1e; transition: opacity .3s; }
.desk-title em { margin-top: 10px; padding: 5px 14px; border-radius: 999px; background: #ececf0; font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; color: var(--secondary); }
.stage[data-skin="desk"] .fold { position: absolute; inset: -8%; display: block; }
.fold .fc { position: absolute; display: block; width: 46%; height: 62%; border: 5px solid #fff; border-radius: 16px; overflow: hidden; background: #ddd; box-shadow: 0 8px 18px rgba(28, 28, 30, .16); }
.fold .fc img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.fold .fc.a { left: 4%; top: 6%; transform: rotate(-9deg); }
.fold .fc.b { left: 27%; top: 0; transform: rotate(0); z-index: 2; }
.fold .fc.c { right: 4%; top: 8%; transform: rotate(9deg); }
.fold .ff { position: absolute; z-index: 3; left: 12%; right: 12%; bottom: 8%; height: 46%; padding: 12px 14px; border-radius: 6px 22px 22px 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .94)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 14px 28px rgba(28, 28, 30, .18); }
.fold .ff small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: #3a3a3c; }
.fold .ff em { position: absolute; left: 14px; bottom: 10px; font-style: normal; font-size: 11px; font-weight: 700; color: #6c6c70; }
.fold .ff u { position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%; background: #1c1c1e; color: #fff; text-decoration: none; display: grid; place-items: center; font-size: 16px; font-weight: 700; box-shadow: 0 0 0 3px #fff; }
.stage[data-skin="desk"] .pl .pn { font-size: 12.5px; background: #fff; box-shadow: 0 2px 8px rgba(28, 28, 30, .1); }

/* v79: 레퍼런스처럼 — 큰 폴더, 그 밑에 굵은 대문자 제목, 날짜 알약 */
.desk-title { top: auto; bottom: 378px; gap: 0; }
.desk-title b { font-size: 40px; font-weight: 650; letter-spacing: -.035em; text-transform: uppercase; color: #333; line-height: 1.05; }
.desk-title em { margin-top: 10px; padding: 6px 20px; font-size: 13px; letter-spacing: .04em; background: #e9e9ec; color: #7a7a80; }
.stage[data-skin="desk"] .pl .pn { display: none; }
.stage[data-skin="desk"] .fold { inset: -26% -46% -14% -46%; }
.fold .fc { width: 38%; height: 66%; border-width: 6px; border-radius: 20px; }
.fold .fc.a { left: 6%; top: 8%; } .fold .fc.b { left: 31%; top: 0; } .fold .fc.c { right: 6%; top: 10%; }
.fold .ff { left: 9%; right: 9%; height: 52%; padding: 16px 18px; border-radius: 8px 28px 28px 28px; }
.fold .ff small { font-size: 12px; }
.fold .ff u { width: 38px; height: 38px; font-size: 20px; }
/* v80: 폴더를 행성 버튼 가운데에 맞춘다 (치우침 보정) */
.stage[data-skin="desk"] .fold { inset: -26% -46% -14% -46%; left: 50%; right: auto; width: 192%; transform: translateX(-50%); }

/* v82: 레퍼런스 그대로 — 작은 글라스 폴더 + 파일 이름이 붙은 사진, 가운데에 내 추구미 */
.stage[data-skin="desk"] { background-color: #f7f7f7 !important; background-image: linear-gradient(rgba(28, 28, 30, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 28, 30, .05) 1px, transparent 1px) !important; background-size: 38px 38px !important; }
.stage[data-skin="desk"] .fold { inset: 0; left: 0; right: 0; width: 100%; transform: none; }
.stage[data-skin="desk"] .fold .fc { border-width: 3px; border-radius: 10px; width: 40%; height: 64%; box-shadow: 0 4px 10px rgba(28, 28, 30, .18); }
.stage[data-skin="desk"] .fold .ff { left: 4%; right: 4%; bottom: 6%; height: 50%; padding: 6px 8px; border-radius: 4px 14px 14px 14px; }
.stage[data-skin="desk"] .fold .ff small, .stage[data-skin="desk"] .fold .ff em { display: none; }
.stage[data-skin="desk"] .fold .ff u { width: 22px; height: 22px; right: 6px; bottom: 6px; font-size: 12px; box-shadow: 0 0 0 2px #fff; }
.stage[data-skin="desk"] .pl .pn { display: block; top: calc(100% + 4px); padding: 0; background: none; box-shadow: none; font-size: 11px; font-weight: 500; color: #3a3a3c; text-shadow: 0 0 6px #f7f7f7; }
.stage[data-skin="desk"] .pl.on .pn { background: none; box-shadow: none; color: #1c1c1e; font-size: 11px; font-weight: 700; }
.dp { position: absolute; left: 0; top: 0; z-index: 4; width: var(--w); pointer-events: none; will-change: transform; }
.dp .dpi { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #e8eaf0; box-shadow: 0 3px 10px rgba(28, 28, 30, .16); }
.dp .dpi img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.dp em { display: block; margin-top: 4px; font-style: normal; font-size: 9px; color: #3a3a3c; text-align: center; white-space: nowrap; }
.stage[data-skin="planet"] .dp { display: none; }
.desk-title { top: 188px; bottom: auto; gap: 0; z-index: 8; }
.desk-title small { font-size: 34px; font-weight: 300; letter-spacing: -.04em; color: #1c1c1e; line-height: 1.1; }
.desk-title b { position: relative; display: inline-block; margin: 2px 0 0; padding: 4px 16px 6px; border: 1px solid rgba(28, 28, 30, .55); font-size: 40px; font-weight: 500; letter-spacing: -.04em; text-transform: none; color: #1c1c1e; line-height: 1.1; }
.desk-title b .h { position: absolute; width: 7px; height: 7px; background: #fff; border: 1px solid rgba(28, 28, 30, .7); }
.desk-title b .h1 { left: -4px; top: -4px; } .desk-title b .h2 { right: -4px; top: -4px; } .desk-title b .h3 { left: -4px; bottom: -4px; } .desk-title b .h4 { right: -4px; bottom: -4px; }
.desk-title b .cur { position: absolute; right: -16px; bottom: -22px; width: 26px; height: 26px; fill: #1c1c1e; stroke: #fff; stroke-width: 1.5; }
.desk-title .sub { margin-top: 18px; font-size: 13px; line-height: 1.35; color: #1c1c1e; max-width: 240px; }
.desk-title em { margin-top: 8px; padding: 0; background: none; font-size: 11px; letter-spacing: .08em; color: #7a7a80; }

/* v82b: 제목을 위쪽에 두고, 폴더들은 그 아래 영역에서 돌아다닌다 */
.desk-title { top: 92px; }
.desk-title small { font-size: 28px; }
.desk-title b { font-size: 34px; padding: 3px 14px 5px; }
.desk-title .sub { margin-top: 14px; }

/* v85: 무드 목록은 원할 때만 — 기본은 깨끗한 화면 */
.stage[data-skin="desk"] .mapsheet { transform: translateY(104%); transition: transform .45s var(--spring); pointer-events: none; }
.stage[data-skin="desk"].sheet-open .mapsheet { transform: none; pointer-events: auto; }
.stage[data-skin="planet"] .sheet-fab { display: none; }
.sheet-fab { position: absolute; z-index: 44; left: 50%; bottom: 96px; transform: translateX(-50%); min-height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--hair), 0 8px 20px rgba(28, 28, 30, .12); font-size: 13.5px; font-weight: 650; color: var(--ink); transition: opacity .25s, transform .35s var(--spring); }
.stage.sheet-open .sheet-fab { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(10px); }
.mapsheet .grip { display: block; width: 44px; height: 24px; margin: 0 auto 4px; padding: 0; border: 0; background: none; position: relative; }
.mapsheet .grip::after { content: ''; position: absolute; left: 3px; right: 3px; top: 9px; height: 5px; border-radius: 5px; background: rgba(17, 17, 20, .18); }

/* v86: 앱을 열면 레퍼런스처럼 여백 많고 단순하게 */
.stage[data-skin="desk"] { background-image: none !important; background-color: #fff !important; }
.stage[data-skin="desk"] .ptr, .stage[data-skin="desk"] .uhint { display: none !important; }
.desk-title .sub, .desk-title em { display: none; }
.desk-title { top: 120px; }
.search { box-shadow: 0 0 0 1px var(--hair) !important; background: #fff !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* v91 — 온보딩 룩 위젯 (벤토 · 칸마다 따로 스와이프) + FULL 휠 탐색 */
.bk-step { padding-top: 4px; }
.bk { --ac: #4f6bff; display: flex; flex-direction: column; gap: 14px; }
.bk-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 14px; color: #3a3a40; }
.bk-top b { font-weight: 700; }
.bk-badge { width: 52px; height: 52px; border-radius: 50%; background: #ececee; display: grid; place-items: center; font-size: 23px; font-style: normal; }
.bk-from { margin: 0; text-align: center; font-size: 17px; color: #3a3a40; }
.bk-from b { font-weight: 700; color: #111; }
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; aspect-ratio: 1 / 1.22; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; cursor: grab; }
.bk-r { display: grid; grid-template-rows: 1.2fr .9fr 1fr; gap: 12px; min-height: 0; }
.bk-rb { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12px; min-height: 0; }
.bx { position: relative; margin: 0; border-radius: 26px; overflow: hidden; will-change: transform, opacity; min-width: 0; min-height: 0; }
.bx-photo, .bx-fav, .bx-th { container-type: size; }
.bx img { position: absolute; max-width: none; max-height: none; height: auto; object-fit: fill; pointer-events: none; -webkit-user-drag: none; width: calc(var(--z) * 100cqw); left: calc(50cqw - var(--cx) * var(--z) * 100cqw); top: calc(50cqh - var(--cy) * var(--z) * var(--ir, 1.3333) * 100cqw); }
.bx-photo { background: #dcdce0; }
.bx-fav { background: #dcdce0; }
.bx-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18), transparent 28%, transparent 62%, rgba(0,0,0,.4)); pointer-events: none; }
.bx-heart { position: absolute; top: 14px; left: 14px; width: 30px; height: 30px; padding: 0; border: 0; background: none; color: #fff; display: grid; place-items: center; }
.bx-heart svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); transition: transform .35s cubic-bezier(.3,1.6,.5,1), fill .2s; }
.bx-heart[aria-pressed="true"] svg { fill: #fff; transform: scale(1.18); }
.bx-tag { position: absolute; font-size: 12px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.bx-tag.tr { top: 16px; right: 14px; } .bx-tag.bl { left: 14px; bottom: 14px; right: 12px; }
.bx-tag b { font-weight: 700; }
.bx-note { background: var(--ac); color: #fff; padding: 15px 16px; font-size: 12.5px; line-height: 1.55; transition: background .4s; }
.bx-note p { margin: 0 0 6px; } .bx-note small { opacity: .85; font-size: 12.5px; } .bx-note b { font-weight: 800; }
.bx-star { position: absolute; top: 12px; right: 13px; width: 13px; height: 13px; }
.bx-star svg { width: 100%; height: 100%; fill: #fff; }
.bx-fit { background: #ececee; display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.bx-th { position: relative; flex: 0 0 46px; height: 46px; border-radius: 12px; overflow: hidden; background: #dcdce0; }
.bx-ft { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 11px; color: #5b5b63; }
.bx-ft b { font-size: 14px; line-height: 1.2; color: #111; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.bx-play { flex: 0 0 32px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.bx-play svg { width: 14px; height: 14px; fill: #111; margin-left: 2px; }
.bx-stk { background: #ececee; border-radius: 999px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; font-size: 10px; color: #5b5b63; }
.bx-stk > span { font-size: 46px; line-height: 1; }
.bx-stk b { color: var(--ac); font-weight: 700; }
.bx-fav > span { position: absolute; left: 10px; bottom: 9px; font-size: 11px; color: #fff; }
.bk-credit { margin: 2px 0 0; text-align: center; font-size: 12px; letter-spacing: .12em; color: #3a3a40; line-height: 1.5; }
.bk-credit b { font-weight: 800; letter-spacing: .06em; color: #111; }
.bk-dots { display: flex; justify-content: center; gap: 8px; }
.bk-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(60,64,80,.22); transition: width .25s, background .25s; }
.bk-dots button[aria-current="true"] { width: 22px; background: #111; }
.bk-dots button.on:not([aria-current="true"]) { background: var(--ac); }
.bk-hint { margin: 0; text-align: center; font-size: 12px; color: #8a8a92; }

/* v99 — 로고: 이전 버전의 OTGALPI 영문 워드마크 */
.brand, header.top .brand { font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 700; letter-spacing: -.065em; white-space: nowrap; }

/* v100 — 초초 심플 라이트 글래스 (Apple Liquid Glass 결) */
.bk { position: relative; isolation: isolate; gap: 16px; }
.bk::before { content: ""; position: absolute; inset: 40px -28px -10px; z-index: -1; pointer-events: none; background: radial-gradient(60% 40% at 18% 20%, rgba(170,196,255,.55), transparent 70%), radial-gradient(55% 40% at 88% 55%, rgba(255,214,200,.5), transparent 70%), radial-gradient(60% 35% at 40% 98%, rgba(206,226,255,.55), transparent 70%); filter: blur(18px); }
.bk-badge { display: none; }
.bk-top { grid-template-columns: 1fr; justify-items: center; font-size: 13px; color: #6b6f7a; letter-spacing: .04em; }
.bk-from { font-size: 20px; letter-spacing: -.02em; }
.bx-note, .bx-fit, .bx-stk { background: rgba(255,255,255,.52); color: #1d1d1f; -webkit-backdrop-filter: blur(26px) saturate(1.7); backdrop-filter: blur(26px) saturate(1.7); border: 1px solid rgba(255,255,255,.75); box-shadow: 0 10px 32px rgba(40,52,96,.1), inset 0 1px 0 rgba(255,255,255,.95); transition: none; }
.bx-note small { opacity: .55; }
.bx-star svg { fill: #1d1d1f; opacity: .35; }
.bx-ft { color: #70747f; }
.bx-stk { color: #70747f; } .bx-stk b { color: #1d1d1f; }
.bx-photo, .bx-fav { box-shadow: 0 12px 34px rgba(40,52,96,.16); border: 1px solid rgba(255,255,255,.7); }
.bx-heart { top: 12px; left: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.28); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.bx-heart svg { width: 19px; height: 19px; }
.bx-tag { padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.24); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); text-shadow: none; }
.bx-tag.tr { top: 14px; right: 12px; } .bx-tag.bl { left: 12px; bottom: 12px; right: auto; }
.bk-nav { display: flex; justify-content: center; gap: 14px; }
.bk-nav button { width: 52px; height: 52px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.55); color: #1d1d1f; display: grid; place-items: center; -webkit-backdrop-filter: blur(24px) saturate(1.7); backdrop-filter: blur(24px) saturate(1.7); box-shadow: 0 8px 24px rgba(40,52,96,.12), inset 0 1px 0 rgba(255,255,255,.95); transition: transform .2s; }
.bk-nav button:active { transform: scale(.92); }
.bk-nav svg { width: 22px; height: 22px; }

/* v103 — 박스는 고정, 안의 내용만 스와이프 */
.trk { display: flex; height: 100%; width: calc(var(--n) * 100%); will-change: transform; }
.sl { position: relative; flex: 0 0 calc(100% / var(--n)); height: 100%; min-width: 0; overflow: hidden; }
.bx-note { padding: 0; } .bx-note .sl { padding: 15px 16px; }
.bx-star { z-index: 2; }
.bx-fit { display: block; padding: 0; } .bx-fit .sl { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.bx-stk { display: block; } .bx-stk .sl { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; font-size: 10px; color: #70747f; }
.bx-stk .sl > span { font-size: 46px; line-height: 1; }
.bx-photo .sl, .bx-fav .sl { overflow: hidden; }
.bx-heart { z-index: 3; }
.bk-top { display: flex; align-items: baseline; justify-content: space-between; padding: 2px 4px 0; }
.bk-title { font-size: 26px; font-weight: 800; letter-spacing: -.04em; color: #1d1d1f; }
.bk-count { font-size: 13px; color: #8a8f9a; letter-spacing: .04em; } .bk-count b { color: #1d1d1f; font-weight: 700; }
.bk-nav button:disabled { opacity: .35; pointer-events: none; }
/* 토스처럼 한 화면에 한 질문 */
.ob-head { padding: 22px 2px 20px; }
.ob-q { margin: 0; font-size: 31px; line-height: 1.28; font-weight: 800; letter-spacing: -.045em; word-break: keep-all; color: #1d1d1f; }
.ob-head .lead { margin: 10px 0 0; font-size: 15px; color: #7a7f8a; }
.ob-rows { display: flex; flex-direction: column; gap: 10px; }
.ob-rows.ob-grid { display: grid; grid-template-columns: 1fr 1fr; }
.ob-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 62px; padding: 0 20px; border-radius: 20px; border: 1px solid rgba(255,255,255,.85); background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); box-shadow: 0 6px 22px rgba(40,52,96,.07), inset 0 1px 0 rgba(255,255,255,.95); text-align: left; transition: transform .2s, background .2s, color .2s; }
.ob-row:active { transform: scale(.98); }
.ob-row b { font-size: 17px; font-weight: 700; letter-spacing: -.03em; display: block; }
.ob-row small { display: block; margin-top: 2px; font-size: 12.5px; color: #8a8f9a; font-weight: 500; }
.ob-grid .ob-row { min-height: 54px; padding: 0 16px; } .ob-grid .ob-row b { font-size: 15px; }
.ob-check { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(60,64,80,.1); color: transparent; flex: none; transition: background .2s, color .2s; }
.ob-check svg { width: 14px; height: 14px; }
.ob-row[aria-pressed="true"] { background: #111; border-color: #111; color: #fff; }
.ob-row[aria-pressed="true"] small { color: rgba(255,255,255,.65); }
.ob-row[aria-pressed="true"] .ob-check { background: #fff; color: #111; }
.ob-two { margin-top: 16px; }
.step.ob .swatches { margin-top: 2px; }
.ob-check svg { opacity: 0; transition: opacity .2s; }
.ob-row[aria-pressed="true"] .ob-check svg { opacity: 1; }

/* v107 — 폴더 안에서 입력받기 */
.ob-folder { margin-top: 10px; padding: 6px; border-radius: 38px; background: #ececf0; box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 24px 60px rgba(40,52,96,.1); }
.ob-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 214px; padding: 24px 24px 22px; border-radius: 32px; background: #fff; box-shadow: 0 2px 10px rgba(30,34,60,.05); }
.ob-tags { position: absolute; top: 22px; left: 24px; right: 24px; margin: 0; font-size: 14px; color: #a4a7af; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; }
.ob-tags i { margin: 0 6px; font-style: normal; } .ob-tags .on { color: #1d1d1f; font-weight: 600; }
.ob-title { margin: 0; font-size: 40px; line-height: 1.04; font-weight: 600; letter-spacing: -.055em; color: #111; }
.ob-sub { margin: 10px 0 0; font-size: 17px; letter-spacing: -.03em; line-height: 1.35; }
.ob-sub b { color: #111; font-weight: 600; } .ob-sub span { display: inline-block; margin-left: 8px; color: #a4a7af; font-size: 15px; }
.ob-tap { margin: 16px 0 6px; text-align: center; font-size: 14px; color: #b3b6bd; letter-spacing: -.01em; }
.ob-panel { position: relative; min-height: 372px; padding: 14px 18px 26px; border-radius: 32px; overflow: hidden; background: radial-gradient(75% 52% at 50% 122%, rgba(104,104,120,.6), transparent 72%), linear-gradient(#f1f1f4, #e2e2e7); }
.ob-opts { position: relative; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px; }
.ob-pill { height: 52px; padding: 0 24px; border: 0; border-radius: 99px; background: rgba(255,255,255,.92); color: #1d1d1f; font-size: 16px; font-weight: 600; letter-spacing: -.03em; box-shadow: 0 3px 12px rgba(30,34,60,.07); transition: transform .2s, background .2s, color .2s; }
.ob-pill:active { transform: scale(.96); }
.ob-pill[aria-pressed="true"] { background: #111; color: #fff; }
.ob-opts .ob-two { flex: 1 0 100%; margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ob-opts .field > span { color: #5b5f69; }
.ob-opts .input { background: rgba(255,255,255,.92); border-color: transparent; }
.ob-opts .swatch { background: rgba(255,255,255,.92); }
.ob-opts .swatch { background: transparent; box-shadow: none; border: 0; }
.ob-panel { min-height: 336px; }

/* v110 — 폴더 하나: 안에서 입력받고, 항목은 수직으로 사라진다 */
.ob-folder { padding: 6px; border-radius: 38px; background: #e9e9ee; }
.ob-card { justify-content: flex-start; min-height: 468px; padding: 22px 24px 26px; border-radius: 32px; }
.ob-card .ob-tags { position: static; margin: 0 0 6px; font-size: 13px; color: #a4a7af; letter-spacing: -.005em; }
.ob-card .ob-sub { margin: 0 0 auto; font-size: 15px; line-height: 1.4; }
.ob-card .ob-sub span { margin-left: 8px; font-size: 14px; }
.ob-card .ob-opts { margin-top: 28px; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 0; }
.ob-card .ob-pill { height: auto; padding: 3px 0; border-radius: 0; background: transparent; box-shadow: none; color: #1d1d1f; text-align: left; font-size: 36px; line-height: 1.22; font-weight: 500; letter-spacing: -.055em; transition: opacity .25s; }
.ob-card .ob-pill.sm { font-size: 27px; }
.ob-card .ob-pill:active { transform: none; opacity: .6; }
.ob-card .ob-pill[aria-pressed="true"] { background: transparent; color: #1d1d1f; }
.ob-card .ob-pill[aria-pressed="true"]::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 12px; border-radius: 50%; background: #1d1d1f; vertical-align: middle; }
.ob-card .ob-opts:has(.ob-pill[aria-pressed="true"]) .ob-pill:not([aria-pressed="true"]) { opacity: .26; }
.ob-card .ob-two { align-self: stretch; margin-top: 14px; }
.ob-card .ob-opts .input { background: #f1f1f4; border-color: transparent; }
.ob-card .ob-opts .swatches, .ob-card .swatch { }
.ob-base { position: relative; min-height: 138px; padding-top: 16px; border-radius: 0 0 32px 32px; overflow: hidden; background: radial-gradient(70% 70% at 50% 128%, rgba(104,104,120,.55), transparent 72%), linear-gradient(#efeff2, #e6e6eb); }
.ob-base .ob-tap { margin: 0; text-align: center; }
.ob-card .ob-sub span { display: block; margin: 2px 0 0; }

/* 퍼스널 컬러: 작은 동그라미를 한 줄에 */
.ob-card .ob-sw { align-self: stretch; display: flex; justify-content: space-between; gap: 4px; margin-top: 6px; }
.ob-card .swatch { flex: 1 1 0; min-width: 0; display: grid; justify-items: center; gap: 8px; padding: 0; background: none; border: 0; box-shadow: none; font-size: 11.5px; font-weight: 600; letter-spacing: -.02em; color: #8a8f9a; white-space: nowrap; transition: color .25s; }
.ob-card .swatch i { width: 42px; height: 42px; border-width: 2px; box-shadow: 0 5px 12px rgba(40,50,80,.16), inset 0 -6px 12px rgba(255,255,255,.35); transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
.ob-card .swatch[aria-pressed="true"] { color: #1d1d1f; }
.ob-card .swatch[aria-pressed="true"] i { transform: scale(1.1); outline: 2px solid #1d1d1f; outline-offset: 3px; }
.ob-card .ob-opts:has(.swatch[aria-pressed="true"]) .swatch:not([aria-pressed="true"]) { opacity: .55; }
.ob-card .ob-opts:has(.ob-sw) { flex: 1; justify-content: center; margin-top: 0; padding-bottom: 36px; }
.ob-card .ob-sw { margin-top: 0; }

/* v115 — 큰 사진 칸을 레퍼런스 비율(약 0.55~0.6)로: 확대 없이 사진 거의 전체가 보인다 */
.bk-grid { grid-template-columns: 1.08fr 1fr; aspect-ratio: 1 / .9; }
.bk-r { grid-template-rows: 1.3fr .85fr 1fr; }
/* v116 — 그리드 높이를 고정해 큰 사진 칸 비율을 약 0.57로 */
.bk-grid { aspect-ratio: 1 / .86; }
.bk-grid, .bk-r { min-height: 0; }
.bk-r { grid-template-rows: minmax(0, 1.3fr) minmax(0, .85fr) minmax(0, 1fr); }
.bx-note .sl { padding: 13px 15px; } .bx-note .sl p { margin: 0 0 4px; }
.ob-card .swatch { gap: 17px; }
/* v119 — 위에 붙지 않게: 룩 화면 위쪽 여백 */
.bk-step { padding-top: 26px; }
.bk-top { padding-top: 6px; margin-bottom: 4px; }
/* v120 — 검색창을 누르면 추천어 줄이 나오므로 'Today is' 제목은 잠시 숨긴다(겹침 방지) */
.desk-title { transition: opacity .25s ease; }
.stage:focus-within .desk-title, .stage.searching .desk-title { opacity: 0; pointer-events: none; }
/* v122 — 룩 위젯을 화면 가운데쯤에 */
.bk-step { display: flex; flex-direction: column; justify-content: center; min-height: calc(100dvh - 215px); padding-top: 0; padding-bottom: 24px; }

/* v127 — 검색: 동그란 글래스 아이콘 + 가운데에 뜨는 뽀얀 검색창 */
.home-dock { position: absolute; z-index: 44; left: 50%; bottom: 96px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; transition: opacity .25s, transform .35s var(--spring); }
.home-dock .sheet-fab { position: static; transform: none; min-height: 44px; padding: 0 20px; touch-action: manipulation; }
.stage.sheet-open .home-dock { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(10px); }
.stage[data-skin="planet"] .home-dock { display: none; }
.srch-fab { flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; color: #1d1d1f; border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7); box-shadow: 0 8px 22px rgba(40,52,96,.14), inset 0 1px 0 rgba(255,255,255,.95); touch-action: manipulation; transition: transform .25s var(--spring); }
.srch-fab:active { transform: scale(.9); }
.srch-fab svg { width: 20px; height: 20px; }
.geo-chips .uni-chips { gap: 8px; align-items: center; }
.srch { position: absolute; inset: 0; z-index: 90; display: grid; align-items: start; padding: 0 18px; pointer-events: none; }
.srch[hidden] { display: none; }
.srch-bg { position: absolute; inset: 0; pointer-events: auto; background: rgba(247,248,252,.5); -webkit-backdrop-filter: blur(0px); backdrop-filter: blur(0px); opacity: 0; transition: opacity .3s ease, backdrop-filter .35s ease, -webkit-backdrop-filter .35s ease; }
.srch.on .srch-bg { opacity: 1; -webkit-backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: blur(26px) saturate(1.5); }
.srch-wrap { position: relative; width: min(100%, 392px); margin: 0 auto; padding-top: 22vh; pointer-events: none; transition: padding-top .45s var(--spring); }
.srch.searching .srch-wrap { padding-top: 76px; }
.srch-bar { position: relative; pointer-events: auto; display: flex; align-items: center; gap: 8px; height: 58px; padding: 0 9px 0 20px; border-radius: 999px; background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 16px 44px rgba(40,52,96,.16), inset 0 1px 0 #fff; transform: translateY(26px) scale(.82); transform-origin: 85% 100%; opacity: 0; transition: transform .5s var(--spring), opacity .25s ease; }
.srch.on .srch-bar { transform: none; opacity: 1; }
.srch-ic { flex: none; display: grid; color: #8c909b; } .srch-ic svg { width: 21px; height: 21px; }
.srch-bar input[type="search"] { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 17px; letter-spacing: -.02em; color: #1d1d1f; -webkit-appearance: none; appearance: none; }
.srch-bar input::placeholder { color: #a3a7b1; } .srch-bar input::-webkit-search-cancel-button { display: none; }
.srch-btn { flex: none; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: #f1f2f6; color: #1d1d1f; touch-action: manipulation; transition: transform .2s var(--spring), background .2s; }
.srch-btn:active { transform: scale(.9); } .srch-btn svg { width: 20px; height: 20px; }
.srch-photo { background: #111; color: #fff; }
.srch-x { display: none; }
.srch.typed .srch-x, .srch.has-photo .srch-x { display: grid; }
.srch-card { pointer-events: auto; margin-top: 12px; border-radius: 30px; background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 18px 50px rgba(40,52,96,.14), inset 0 1px 0 #fff; max-height: min(54vh, 460px); overflow-y: auto; overscroll-behavior: contain; padding: 8px; opacity: 0; transform: translateY(18px) scale(.97); transform-origin: 50% 0; transition: transform .5s var(--spring) .05s, opacity .3s ease .05s; }
.srch.searching .srch-card { max-height: calc(100% - 156px); }
.srch.on .srch-card { opacity: 1; transform: none; }
.srch-sugg { display: flex; flex-direction: column; }
.srch.searching .srch-sugg { display: none; }
.srch-row { display: flex; align-items: center; gap: 14px; height: 50px; padding: 0 14px; border: 0; background: transparent; border-radius: 16px; text-align: left; font-size: 16px; letter-spacing: -.02em; color: #4b4f5a; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .45s var(--spring), background .2s; transition-delay: calc(var(--i) * 35ms + 120ms); }
.srch.on .srch-row { opacity: 1; transform: none; }
.srch-row svg { width: 18px; height: 18px; flex: none; color: #b1b5be; } .srch-row.recent { color: #1d1d1f; font-weight: 600; } .srch-row:active { background: #f1f2f6; }
.srch .results { display: none; position: static; padding: 4px 6px 10px; background: none; max-height: none; overflow: visible; }
.srch.searching .results { display: block; }
.srch-photo-res { display: none; padding: 8px 8px 0; } .srch.has-photo .srch-photo-res { display: block; } .srch.has-photo .srch-sugg { display: none; }
.sp-head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 10px; }
.sp-head > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .sp-head b { font-size: 16px; letter-spacing: -.02em; } .sp-head small { font-size: 12.5px; color: #8c909b; }
.sp-th { flex: none; width: 54px; height: 54px; border-radius: 16px; overflow: hidden; background: #e8e9ee; box-shadow: 0 4px 12px rgba(40,52,96,.14); } .sp-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-x { flex: none; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: #f1f2f6; color: #555; display: grid; place-items: center; } .sp-x svg { width: 14px; height: 14px; }
.sp-shimmer { display: grid; gap: 8px; padding: 2px 4px 10px; } .sp-shimmer i { height: 46px; border-radius: 14px; background: linear-gradient(100deg, #eef0f5 30%, #f9fafc 50%, #eef0f5 70%); background-size: 220% 100%; animation: spShim 1.1s linear infinite; }
@keyframes spShim { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .sp-shimmer i { animation: none; } .srch-bar, .srch-card, .srch-row { transition: none; } }
.stage:focus-within .desk-title { opacity: 0; }

/* v131 — 지난 기록: 월별 룩 휠 (홈 상단의 [ ] 제목이 월에 따라 바뀐다) */
.hist { position: absolute; inset: 0; padding: 0; overflow: hidden; background: radial-gradient(90% 55% at 50% 0%, #eef2fb, transparent 70%), linear-gradient(#f7f8fc, #f3f4f9); }
.ht { display: grid; justify-items: center; text-align: center; padding: 20px 20px 0; position: relative; z-index: 5; }
.ht small { font-size: 30px; font-weight: 300; letter-spacing: -.04em; color: #1c1c1e; line-height: 1.12; }
.ht .hb { position: relative; display: inline-block; margin-top: 4px; padding: 4px 16px 6px; border: 1px solid rgba(28,28,30,.55); font-size: 38px; font-weight: 500; letter-spacing: -.04em; color: #1c1c1e; line-height: 1.1; }
.ht .hb .h { position: absolute; width: 7px; height: 7px; background: #fff; border: 1px solid rgba(28,28,30,.7); }
.ht .hb .h1 { left: -4px; top: -4px; } .ht .hb .h2 { right: -4px; top: -4px; } .ht .hb .h3 { left: -4px; bottom: -4px; } .ht .hb .h4 { right: -4px; bottom: -4px; }
.ht .hb .cur { position: absolute; right: -16px; bottom: -22px; width: 26px; height: 26px; fill: #1c1c1e; stroke: #fff; stroke-width: 1.5; }
.ht .ht-sub { display: block; margin-top: 16px; font-size: 13px; line-height: 1.35; color: #5f636e; max-width: 280px; letter-spacing: -.02em; }
.hwheel { position: absolute; left: 0; right: 0; top: 190px; bottom: 44px; overflow: hidden; touch-action: none; cursor: grab; outline: none; user-select: none; -webkit-user-select: none; }
.hrow { position: absolute; left: 0; top: 50%; display: flex; align-items: center; gap: 14px; transform-origin: left center; will-change: transform, opacity; }
.hfan { position: relative; flex: none; width: 214px; height: 112px; padding: 0; border: 0; background: none; touch-action: none; }
.hc { position: absolute; top: 50%; left: calc(var(--k) * 44px); width: 84px; height: 106px; margin-top: -53px; border-radius: 16px; background: #fff; padding: 3px; box-shadow: 0 10px 24px rgba(40,52,96,.2), 0 0 0 1px rgba(255,255,255,.9); transform: rotate(var(--r)); }
.hc img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; border-radius: 13px; pointer-events: none; -webkit-user-drag: none; }
.hlab { flex: none; display: flex; align-items: baseline; gap: 6px; height: 42px; padding: 0 18px; align-items: center; border-radius: 999px; background: #fff; box-shadow: 0 8px 22px rgba(40,52,96,.12); }
.hlab b { font-size: 21px; font-weight: 700; letter-spacing: -.03em; color: #1c1c1e; } .hlab small { font-size: 11.5px; color: #9a9ea8; }
.hrow.on .hlab { background: #111; } .hrow.on .hlab b { color: #fff; } .hrow.on .hlab small { color: rgba(255,255,255,.6); }
.hist-note { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; font-size: 11.5px; color: #a4a7af; z-index: 5; }
.hm-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.hm-it { display: flex; align-items: center; gap: 14px; }
.hm-ph { flex: none; width: 64px; height: 80px; border-radius: 14px; overflow: hidden; background: #e8e9ee; } .hm-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; }
.hm-tx { display: flex; flex-direction: column; gap: 3px; } .hm-tx b { font-size: 16px; letter-spacing: -.02em; } .hm-tx small { font-size: 12.5px; color: #8c909b; }

.hwheel { top: 176px; bottom: 124px; }
.hist-note { bottom: 98px; }

/* v140 — 이모지 폴더 · 알림 · 품절 · 코디 보드 */
#emoji-tip { border-radius: 28px; padding: 8px; gap: 4px; }
#emoji-tip button { width: 64px; height: 62px; border-radius: 20px; flex-direction: column; gap: 3px; align-content: center; }
#emoji-tip button b { font-size: 24px; font-weight: 400; line-height: 1; } #emoji-tip button small { font-size: 10.5px; font-weight: 600; color: #6b6f7a; letter-spacing: -.02em; }
.wr-acts { display: flex; align-items: center; gap: 8px; }
.askchip { height: 44px; padding: 0 14px; border: 1px solid rgba(255,255,255,.9); border-radius: 999px; background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 6px 18px rgba(40,52,96,.1); font-size: 14px; display: inline-flex; align-items: center; gap: 4px; touch-action: manipulation; }
.askchip b { font-size: 13.5px; font-weight: 800; }
.wf { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; } .wf::-webkit-scrollbar { display: none; }
.wf-c { flex: none; height: 36px; padding: 0 14px; border: 1px solid rgba(255,255,255,.9); border-radius: 999px; background: rgba(255,255,255,.7); font-size: 13.5px; font-weight: 700; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 3px 10px rgba(40,52,96,.06); transition: background .2s, color .2s; }
.wf-c b { font-size: 16px; font-weight: 400; } .wf-c i { font-style: normal; font-size: 12px; opacity: .55; }
.wf-c[aria-pressed="true"] { background: #111; color: #fff; border-color: #111; } .wf-c[aria-pressed="true"] i { opacity: .7; }
.own { position: absolute; left: 4px; top: 4px; z-index: 2; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.94); font-style: normal; font-size: 10px; font-weight: 700; color: #1c1c1e; }
.soldtag { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 4px 11px; border-radius: 999px; background: rgba(28,28,30,.84); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.is-sold .photo img, .is-sold .photo .garment, .is-sold .ftc-ph img { filter: grayscale(.75) opacity(.5); }
.hero-photo { position: relative; } .hero-photo.sm { max-height: 210px; overflow: hidden; border-radius: 22px; }
.hero-photo.soldout img, .hero-photo.soldout .garment { filter: grayscale(.75) opacity(.5); }
.so-tag { position: absolute; z-index: 3; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px; background: #1c1c1e; color: #fff; font-size: 12px; font-weight: 700; }
.soldbtn { background: #e7e8ed; color: #8a8f9a; opacity: 1; }
.pf { display: flex; align-items: center; gap: 8px; margin: 12px 0 4px; } .pf small { font-size: 12px; color: #8a8f9a; margin-right: 2px; } .pf > span { font-size: 12.5px; color: #6b6f7a; margin-left: 4px; }
.pf-c { width: 40px; height: 40px; padding: 0; border: 1px solid rgba(60,64,80,.12); border-radius: 50%; background: #fff; font-size: 20px; line-height: 1; display: grid; place-items: center; transition: transform .2s var(--spring), background .2s; }
.pf-c:active { transform: scale(.9); } .pf-c[aria-pressed="true"] { background: #111; border-color: #111; transform: scale(1.06); }
/* 코디 보드: 마스크·후광 없이 또렷한 카드 4장 */
.fitboard { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 8px; }
.ftc { position: relative; display: flex; flex-direction: column; padding: 0; border: 0; border-radius: 24px; overflow: hidden; text-align: left; background: #fff; box-shadow: 0 10px 28px rgba(40,52,96,.1), inset 0 0 0 1px rgba(255,255,255,.9); transition: transform .25s var(--spring); }
.ftc:active { transform: scale(.97); }
.ftc-ph { display: block; aspect-ratio: 1; background: linear-gradient(#f5f7fb, #e9edf5); } .ftc-ph > * { width: 100%; height: 100%; display: block; } .ftc-ph img { object-fit: cover; }
.ftc-meta { display: grid; gap: 2px; padding: 10px 12px 13px; } .ftc-meta small { font-size: 11.5px; color: #8a8f9a; } .ftc-meta b { font-size: 14px; letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ftc-b { position: absolute; z-index: 2; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.9); color: #1c1c1e; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ftc.mine .ftc-b { background: #111; color: #fff; } .ftc.rec .ftc-b { background: rgba(255,255,255,.7); color: #6b6f7a; }
.fit-note { margin: 4px 2px 14px; text-align: center; font-size: 13px; color: #8a8f9a; }
/* 오늘 확인할 옷: 밑에서 올라오는 애플 알림 */
.ask-n { position: absolute; z-index: 60; left: 12px; right: 12px; bottom: 102px; padding: 12px 14px 14px; border-radius: 26px; background: rgba(255,255,255,.74); border: 1px solid rgba(255,255,255,.85); -webkit-backdrop-filter: blur(32px) saturate(1.9); backdrop-filter: blur(32px) saturate(1.9); box-shadow: 0 20px 56px rgba(30,40,80,.26), inset 0 1px 0 #fff; touch-action: none; user-select: none; -webkit-user-select: none; }
.an-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.an-ic { width: 22px; height: 22px; border-radius: 7px; background: #111; color: #fff; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; }
.an-top b { font-size: 12.5px; letter-spacing: .01em; color: #3a3d46; } .an-top small { margin-left: auto; font-size: 12px; color: #8a8f9a; }
.an-x { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: rgba(60,64,80,.1); color: #555; display: grid; place-items: center; touch-action: manipulation; } .an-x svg { width: 12px; height: 12px; }
.an-body { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.an-ph { flex: none; width: 54px; height: 54px; border-radius: 14px; overflow: hidden; background: #e8e9ee; } .an-ph > * { width: 100%; height: 100%; display: block; } .an-ph img { object-fit: cover; }
.an-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; } .an-tx b { font-size: 15.5px; letter-spacing: -.02em; color: #1c1c1e; } .an-tx small { font-size: 13px; color: #5f636e; line-height: 1.35; }
.an-acts { display: flex; gap: 8px; margin-top: 12px; }
.an-a { flex: 1; height: 38px; border: 0; border-radius: 999px; background: rgba(60,64,80,.1); color: #1c1c1e; font-size: 14px; font-weight: 700; touch-action: manipulation; } .an-a.pri { background: #111; color: #fff; }

/* v150 — 상단 iMessage 말풍선 + Now playing 위젯 */
.bk-top { position: relative; justify-content: center; padding: 6px 4px 0; }
.bk-bubble { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px 11px; border-radius: 24px; background: linear-gradient(180deg, #3aa1ff, #0a7cff); color: #fff; font-size: 19px; font-weight: 600; letter-spacing: -.02em; box-shadow: 0 10px 26px rgba(10,124,255,.28); }
.bk-bubble::after { content: ''; position: absolute; right: -7px; bottom: 0; width: 15px; height: 19px; background: #0a7cff; clip-path: path('M0 0 L0 19 C6 19 12 16.500 15 13 C9 12 5 8 5 0 Z'); }
.bk-bubble #bk-title { font-size: 19px; }
.bk-count { position: absolute; right: 6px; top: 14px; }
.bx-fit .sl { padding-right: 58px; }
.bx-ft small .eq { display: none; margin-left: 6px; height: 9px; vertical-align: baseline; gap: 2px; }
.bx-fit.playing .bx-ft small .eq { display: inline-flex; align-items: flex-end; }
.eq i { width: 2.500px; height: 100%; background: #0a7cff; border-radius: 2px; transform-origin: bottom; animation: eqb .8s ease-in-out infinite; } .eq i:nth-child(2) { animation-delay: .15s; } .eq i:nth-child(3) { animation-delay: .3s; }
@keyframes eqb { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.bx-fit .bx-play { position: absolute; z-index: 3; right: 12px; top: 50%; translate: 0 -50%; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 3px 10px rgba(30,34,60,.12); display: grid; place-items: center; touch-action: manipulation; transition: transform .2s var(--spring); }
.bx-play:active { transform: scale(.9); } .bx-play svg { width: 16px; height: 16px; fill: #111; grid-area: 1 / 1; } .bx-play .i-play { margin-left: 2px; } .bx-play .i-pause { display: none; }
.bx-play[aria-pressed="true"] .i-play { display: none; } .bx-play[aria-pressed="true"] .i-pause { display: block; }
@media (prefers-reduced-motion: reduce) { .eq i { animation: none; } }
/* Now playing: 재생 버튼을 앨범 커버 위로 */
.bx-fit .sl { padding: 10px 12px; gap: 10px; }
.bx-fit .bx-th { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px; }
.bx-fit .bx-ft { flex: 1; min-width: 0; gap: 1px; }
.bx-fit .bx-ft b { display: block; font-size: 14.5px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: unset; -webkit-box-orient: unset; }
.bx-fit .bx-ft small { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.bx-fit .bx-play { left: 12px; right: auto; width: 52px; height: 52px; border-radius: 14px; background: rgba(20,22,30,.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: none; }
.bx-fit .bx-play svg { fill: #fff; width: 20px; height: 20px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
.bx-fit.playing .bx-play { background: rgba(20,22,30,.42); }

/* v160 — 코디 보드: 누끼 상품을 흰 종이 위에 콜라주처럼 */
.fitpaper { position: relative; aspect-ratio: 5 / 7.4; margin: 6px 0 8px; border-radius: 28px; background: #fff; border: 1px solid rgba(60,64,80,.09); box-shadow: 0 12px 34px rgba(40,52,96,.1); overflow: hidden; }
.fp-brand { position: absolute; top: 4.200%; left: 0; right: 0; margin: 0; text-align: center; font: 500 19px/1 Georgia, 'Times New Roman', serif; letter-spacing: .02em; color: #1c1c1e; }
.fp-bubble { position: absolute; top: 11.500%; left: 50%; transform: translateX(-50%); padding: 8px 17px 9px; border-radius: 20px; background: linear-gradient(180deg, #3aa1ff, #0a7cff); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; box-shadow: 0 8px 20px rgba(10,124,255,.25); }
.fp-bubble::after { content: ''; position: absolute; right: -5px; bottom: 0; width: 12px; height: 15px; background: #0a7cff; clip-path: path('M0 0 L0 15 C5 15 9.500 13 12 10.500 C7 9.500 4 6 4 0 Z'); }
.fp-it { position: absolute; display: flex; flex-direction: column; align-items: center; padding: 0; border: 0; background: none; transform: rotate(var(--r)); transition: transform .3s var(--spring); }
.fp-it:active { transform: rotate(var(--r)) scale(.96); }
.fp-ph { position: relative; flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.fp-ph img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(30,34,60,.14)); }
.fp-fallback { display: block; width: 78%; aspect-ratio: 1; border-radius: 18px; overflow: hidden; } .fp-fallback > * { width: 100%; height: 100%; display: block; }
.fp-it em { margin-top: 4px; font: italic 400 11.5px/1.25 Georgia, 'Times New Roman', serif; color: #3a3d46; text-align: center; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-top { left: 5%; top: 23%; width: 42%; height: 25%; }
.fp-bottom { left: 19%; top: 45%; width: 34%; height: 46%; }
.fp-bag { left: 59%; top: 28%; width: 35%; height: 20%; }
.fp-shoes { left: 55%; top: 71%; width: 40%; height: 17%; }
.d { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; vertical-align: middle; } .d.mine { background: #111; } .d.wish { background: #0a7cff; } .d.rec { background: #b3b7c2; }
.fit-note { display: flex; justify-content: center; align-items: center; gap: 4px; margin: 4px 2px 14px; font-size: 13px; color: #6b6f7a; } .fit-note .d { margin-left: 10px; }
.fp-it.is-sold .fp-ph img { filter: grayscale(.8) opacity(.45); }

/* v170 — 일주일 OOTD 시트: 떠 있는 컬러 칩 + 큰 제목 + 통계 + 선택 카드 */
.sheet:has(.wkx) .sheet-head h3 { visibility: hidden; }
.wkx { display: flex; flex-direction: column; align-items: stretch; padding-bottom: 6px; }
.wk-chips { display: flex; flex-wrap: wrap; justify-content: center; max-width: 330px; margin: -4px auto 0; padding: 0 6px; }
.wk-chip { display: inline-flex; align-items: center; gap: 8px; margin: -3px -5px; padding: 11px 19px 12px; border-radius: 15px; background: var(--bg); color: #1c1c1e; font-size: 19px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; transform: rotate(var(--r)); box-shadow: 0 5px 14px rgba(40,52,96,.08); animation: wkFloat 4.200s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); }
.wk-chip i { width: 15px; height: 15px; border-radius: 50%; background: var(--dot); flex: none; }
@keyframes wkFloat { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(-4px); } }
.wk-title { margin: 26px 0 0; text-align: center; font-size: 30px; line-height: 1.18; font-weight: 800; letter-spacing: -.045em; color: #111; }
.wk-date { margin: 12px 0 0; text-align: center; font-size: 15px; color: #8d919b; letter-spacing: -.01em; }
.wk-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0 8px; }
.wk-stats > div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 0; } .wk-stats > div + div { border-left: 1px solid #e7e9ee; }
.wk-stats b { font-size: 30px; font-weight: 800; letter-spacing: -.04em; color: #111; line-height: 1.1; } .wk-stats small { font-size: 13px; color: #8d919b; }
.wk-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.wkc { position: relative; display: flex; flex-direction: column; gap: 3px; min-height: 142px; padding: 16px; border-radius: 24px; background: #f6f7f9; border: 1.500px solid #e6e8ec; text-align: left; transition: border-color .2s, transform .2s var(--spring), background .2s; touch-action: manipulation; }
.wkc:active { transform: scale(.97); border-color: #111; background: #fff; }
.wkc i { display: block; width: 26px; height: 26px; color: #111; margin-bottom: auto; } .wkc i svg { width: 100%; height: 100%; }
.wkc b { font-size: 20px; line-height: 1.12; font-weight: 800; letter-spacing: -.04em; color: #111; } .wkc small { font-size: 12.5px; color: #8d919b; }
.wk-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 14px 2px 2px; scrollbar-width: none; } .wk-thumbs::-webkit-scrollbar { display: none; }
.wkt { position: relative; flex: none; width: 58px; height: 58px; border-radius: 16px; overflow: hidden; background: #e8e9ee; } .wkt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wkt button { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 13px; line-height: 1; display: grid; place-items: center; }
.wk-go { margin-top: 18px; height: 58px; font-size: 17px; border-radius: 999px; }
.wk-go[disabled] { background: #e4e6eb; color: #9a9ea8; }
.wk-priv { margin: 12px 0 2px; text-align: center; font-size: 12.5px; color: #a4a7af; }
.wkx.busy { padding: 18px 0 30px; } .wkx.busy .wk-dots { justify-content: center; margin-top: 26px; }
.wkx .wk-h { margin: 22px 2px 10px; font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .wk-chip { animation: none; } }

/* 카운터는 화면 아래 중앙에 흐리게 */
.bk-top { padding: 6px 4px 0; }
.bk-nav { align-items: center; gap: 18px; }
.bk-nav .bk-count { position: static; min-width: 58px; text-align: center; font-size: 13px; letter-spacing: .04em; color: #1d1d1f; opacity: .38; }
.bk-nav .bk-count b { color: inherit; font-weight: 700; }

.wf { padding: 6px 0 12px; } .wf-tidy { margin-left: auto; color: #8a8f9a; background: transparent; box-shadow: none; border-color: transparent; }
.fp-top { top: 22%; height: 24%; }
.fp-bottom { top: 50%; height: 41%; left: 20%; }
.fp-bag { top: 27%; }
.fp-shoes { top: 72%; height: 16%; }

/* v180 — 옷장: 우하단 미니 스위치 + 이모지 폴더 캡슐 */
.wr-cab { position: relative; }
.wfd { display: inline-flex; gap: 2px; padding: 5px; margin: 2px 0 14px; border-radius: 999px; background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.9); -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7); box-shadow: 0 8px 24px rgba(40,52,96,.1), inset 0 1px 0 #fff; }
.wfd-b { position: relative; width: 50px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: transparent; display: grid; place-items: center; touch-action: manipulation; transition: background .25s, transform .35s var(--spring), box-shadow .25s; }
.wfd-b b { font-size: 23px; font-weight: 400; line-height: 1; transition: transform .3s var(--spring); }
.wfd-b i { position: absolute; right: 4px; top: 1px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: #111; color: #fff; font-style: normal; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.wfd-b[aria-pressed="true"] { background: #fff; box-shadow: 0 5px 14px rgba(40,52,96,.18); } .wfd-b[aria-pressed="true"] b { transform: scale(1.14); }
.wfd-b:active { transform: scale(.92); }
.wsw { position: absolute; right: 12px; bottom: 11px; z-index: 6; display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.74); border: 1px solid rgba(255,255,255,.9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 4px 14px rgba(40,52,96,.14); transition: opacity .25s; }
.wsw.off { opacity: .4; pointer-events: none; }
.wsw-b { height: 26px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; font-size: 11.5px; font-weight: 700; color: #9a9ea8; letter-spacing: -.01em; touch-action: manipulation; transition: background .25s, color .25s; } .wsw-b[aria-pressed="true"] { background: #111; color: #fff; }
.wtidy { position: absolute; left: 16px; bottom: 15px; z-index: 6; padding: 0; border: 0; background: none; font-size: 11.5px; font-weight: 600; color: #8a8f9a; text-decoration: underline; text-underline-offset: 3px; touch-action: manipulation; }
/* v181 — 말풍선 꼬리: SVG로 정석 모양(몸통 오른쪽 가장자리에서 부드럽게 빠져나오는 꼬리) */
.bk-bubble::after, .fp-bubble::after { clip-path: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M0 0H12C12 11 16 19 22 22H0Z' fill='%230a7cff'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.bk-bubble::after { width: 22px; height: 22px; right: -10px; bottom: 0; }
.fp-bubble::after { width: 16px; height: 16px; right: -7px; bottom: 0; }
/* v182 — 꼬리 이음새: 오른쪽 아래 모서리를 줄이고, 꼬리는 몸통 안으로 2px만 겹치게 */
.bk-bubble { border-bottom-right-radius: 8px; }
.fp-bubble { border-bottom-right-radius: 6px; }
.bk-bubble::after, .fp-bubble::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='10 0 12 22'%3E%3Cpath d='M10 0H12C12 11 16 19 22 22H10Z' fill='%230a7cff'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.bk-bubble::after { width: 12px; height: 22px; right: -10px; bottom: 0; }
.fp-bubble::after { width: 9px; height: 16px; right: -7px; bottom: 0; }

/* v190 — 말풍선 꼬리: 몸통과 같은 그라데이션을 같은 높이 기준으로 입혀 이음새 제거 */
.bk-bubble { height: 48px; padding-top: 0; padding-bottom: 0; }
.fp-bubble { height: 36px; padding-top: 0; padding-bottom: 0; display: inline-flex; align-items: center; }
.bk-bubble::after, .fp-bubble::after { background: linear-gradient(180deg, #3aa1ff, #0a7cff) 0 100% / 100% 48px no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='10 0 12 22'%3E%3Cpath d='M10 0H12C12 11 16 19 22 22H10Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='10 0 12 22'%3E%3Cpath d='M10 0H12C12 11 16 19 22 22H10Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.fp-bubble::after { background-size: 100% 36px; }
/* v190 — 코디 보드: 종이 질감, 손그림 번호 화살표, 타자기체 범례 */
.fitpaper { aspect-ratio: 5 / 8.4; border-radius: 22px; background-color: #f3f3f1; background-image: repeating-linear-gradient(0deg, rgba(60,60,50,.035) 0, rgba(60,60,50,.035) 1px, transparent 1px, transparent 6px), radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.95), rgba(236,236,231,.5)); border: 1px solid rgba(60,64,80,.09); }
.fp-brand { top: 3.200%; left: 7%; right: auto; text-align: left; font: 600 25px/1 'Caveat', 'Nanum Pen Script', cursive; letter-spacing: .01em; color: #2a2a2a; }
.fp-it em { display: none; }
.fp-top { left: 16%; top: 10%; width: 38%; height: 19%; }
.fp-bottom { left: 11%; top: 35%; width: 33%; height: 31%; }
.fp-bag { left: 58%; top: 13%; width: 33%; height: 17%; }
.fp-shoes { left: 58%; top: 48%; width: 24%; height: 14%; }
.fp-mark { position: absolute; width: 58px; height: 36px; color: #3a3a3a; pointer-events: none; font-family: 'Caveat', 'Nanum Pen Script', cursive; overflow: visible; }
.fp-mark text { fill: currentColor; font-weight: 600; }
.fp-mark.fp-top-m { left: 7%; top: 5.500%; } .fp-mark.fp-bottom-m { left: 3%; top: 31%; transform: rotate(-4deg); }
.fp-mark.fp-shoes-m { left: 46%; top: 43%; transform: rotate(8deg); } .fp-mark.fp-bag-m { left: 69%; top: 6%; transform: scaleX(-1) rotate(-3deg); } .fp-mark.fp-bag-m text { transform-box: fill-box; transform-origin: center; transform: scaleX(-1); }
.fp-legend { position: absolute; left: 8%; right: 7%; bottom: 4.500%; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; font-family: 'Courier Prime', 'Courier New', monospace; }
.fp-legend li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fp-legend b { font-size: 14.5px; font-weight: 700; line-height: 1.2; color: #1c1c1e; letter-spacing: -.01em; }
.fp-legend small { font-size: 10.5px; line-height: 1.3; color: #6f727b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fp-legend small.mine { color: #1c1c1e; } .fp-legend small.wish { color: #0a7cff; }

/* v200 — iMessage 입력창 카드 + 가상 모델이 입은 코디 */
.imc { padding: 14px; border-radius: 34px; background: #fff; box-shadow: 0 18px 50px rgba(40,52,96,.14), inset 0 0 0 1px rgba(60,64,80,.06); margin: 4px 0 6px; }
.imc-bar { display: flex; align-items: center; gap: 10px; }
.imc-plus, .imc-send { flex: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; touch-action: manipulation; transition: transform .2s var(--spring); }
.imc-plus:active, .imc-send:active { transform: scale(.9); }
.imc-plus { background: #f0f1f4; color: #1c1c1e; } .imc-send { background: #0a84ff; color: #fff; box-shadow: 0 6px 16px rgba(10,132,255,.3); }
.imc-plus svg, .imc-send svg { width: 22px; height: 22px; }
.imc-input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border-radius: 999px; background: #f4f5f8; display: flex; align-items: center; font-size: 16px; letter-spacing: -.02em; color: #1c1c1e; white-space: nowrap; overflow: hidden; }
.imc-input span { overflow: hidden; text-overflow: ellipsis; } .imc-input i { flex: none; width: 2px; height: 21px; margin-left: 3px; background: #0a84ff; animation: imcBlink 1s steps(1) infinite; }
@keyframes imcBlink { 50% { opacity: 0; } }
.imc-panel { position: relative; margin-top: 12px; padding: 10px 6px 12px; border-radius: 26px; background: #f8f8fa; box-shadow: inset 0 0 0 1px rgba(60,64,80,.05); }
.imc-grip { display: block; width: 44px; height: 5px; margin: 0 auto 4px; border-radius: 5px; background: rgba(60,64,80,.16); }
.imc-grid { display: grid; grid-template-columns: .82fr 1.5fr .82fr; align-items: stretch; min-height: 372px; }
.imc-col { display: flex; flex-direction: column; justify-content: space-around; align-items: center; gap: 12px; position: relative; z-index: 1; }
.imc-it { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 128px; padding: 0; border: 0; background: none; transition: transform .25s var(--spring); } .imc-it:active { transform: scale(.94); }
.imc-it .fp-ph { width: 100%; height: 100%; } .imc-it .fp-ph img { filter: drop-shadow(0 4px 6px rgba(30,34,60,.1)); }
.imc-it.is-sold .fp-ph img { filter: grayscale(.8) opacity(.45); }
.imc-model { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.imc-model img { width: 126%; max-width: none; height: auto; max-height: 340px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 14px 14px rgba(30,34,60,.22)); animation: imcRise .7s var(--spring) both; }
@keyframes imcRise { from { transform: translateY(26px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.imc-model small { font-size: 11px; color: #8a8f9a; letter-spacing: -.01em; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .imc-input i, .imc-model img { animation: none; } }
/* v201 — 꼬리가 모서리를 대신하도록 오른쪽 아래를 직각으로 */
.bk-bubble, .fp-bubble { border-bottom-right-radius: 0; }

/* v210 — 옷장: 슬라이딩 보기 스위치(전체·내 옷·찜), 하트 핀, 폴더 줄 오른쪽 '정리' */
.wrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 14px; } .wrow .wfd { margin: 0; }
.wrow .wtidy { position: static; padding: 8px 4px; font-size: 12.5px; color: #8a8f9a; text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.wsw { position: relative; right: auto; bottom: auto; display: grid; grid-template-columns: repeat(3, 1fr); width: 186px; margin: -17px 14px 14px auto; padding: 3px; gap: 0; z-index: 6; }
.wsw-th { position: absolute; left: 3px; top: 3px; bottom: 3px; width: calc((100% - 6px) / 3); border-radius: 999px; background: #111; box-shadow: 0 3px 10px rgba(0,0,0,.22); transition: transform .38s var(--spring); pointer-events: none; }
.wsw[data-v="mine"] .wsw-th { transform: translateX(100%); } .wsw[data-v="wish"] .wsw-th { transform: translateX(200%); }
.wsw-b { position: relative; z-index: 1; padding: 0; height: 28px; background: transparent !important; color: #8a8f9a; font-size: 12px; font-weight: 700; transition: color .25s; } .wsw-b[aria-checked="true"] { color: #fff; }
.wh { position: absolute; z-index: 3; left: 4px; top: 4px; width: 19px; height: 19px; border-radius: 50%; background: rgba(255,255,255,.95); color: #ff3b6b; font-style: normal; font-size: 11px; line-height: 1; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(40,52,96,.18); }

/* v220 — 코디 시트: 제목 숨김(입력창이 제목), 하트 핀, 작은 안내 */
.sheet:has(.imc) .sheet-head h3 { visibility: hidden; }
.imc-it .wh { left: 12%; top: 2px; }
.imc-note { margin: 10px 4px 2px; text-align: center; font-size: 11px; line-height: 1.4; color: #a4a7af; letter-spacing: -.01em; }

/* v230 — 시트 닫기 버튼, 제품 상세, 옷장(미니멀), 코디 시트, OOTD 시트 */
.sheet-head .icon-btn { width: 32px; height: 32px; min-width: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(60,64,67,.12); color: #6b6f78; box-shadow: none; display: grid; place-items: center; }
.sheet-head .icon-btn svg { width: 14px; height: 14px; stroke-width: 1.600; }
.sheet-head .icon-btn:active { background: rgba(60,64,67,.2); }

.pd { display: flex; flex-direction: column; padding: 0 2px 8px; }
.pd-meta { margin: 0 0 14px; font-size: 13px; color: #8d919b; }
.pd-hero { position: relative; border-radius: 24px; overflow: hidden; background: #f2f3f6; aspect-ratio: 1 / 1; }
.pd-hero > * { width: 100%; height: 100%; } .pd-hero img { width: 100%; height: 100%; object-fit: cover; }
.pd-hero.soldout img { filter: grayscale(.8) opacity(.6); }
.pd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 22px 0 0; }
.pd-price b { font-size: 30px; font-weight: 800; letter-spacing: -.04em; color: #111; } .pd-price b.gray { color: #9a9ea8; }
.pd-price s { font-size: 15px; color: #a4a7af; }
.pd-low { padding: 3px 8px; border-radius: 999px; background: #e8f1ff; color: #0a6cf0; font-size: 12px; font-weight: 700; }
.pd-price small { flex-basis: 100%; font-size: 13px; color: #8d919b; }
.pd-cta { display: grid; gap: 10px; margin-top: 20px; }
.pd-h { margin: 30px 2px 10px; font-size: 17px; font-weight: 700; letter-spacing: -.03em; color: #111; }
.pd-list { margin: 0; border-radius: 18px; background: #f4f5f8; overflow: hidden; }
.pd-row { display: flex; align-items: center; gap: 8px; width: 100%; padding: 15px 16px; border: 0; background: none; font-size: 15px; color: #111; text-align: left; }
.pd-row + .pd-row, .pd-facts > div + div { border-top: 1px solid rgba(60,64,80,.08); }
.pd-row span { flex: 1; } .pd-row i { font-style: normal; font-size: 11px; font-weight: 700; color: #0a6cf0; } .pd-row b { font-weight: 650; }
.pd-row svg { width: 16px; height: 16px; color: #b0b4bd; }
.pd-facts > div { display: flex; gap: 14px; padding: 14px 16px; font-size: 14px; } .pd-facts dt { width: 36px; color: #8d919b; } .pd-facts dd { margin: 0; flex: 1; color: #111; line-height: 1.4; }
.pd-ctx { margin: 0; padding: 0 2px; list-style: none; display: grid; gap: 8px; font-size: 14px; line-height: 1.45; color: #5b5f69; }
.pd-foot { margin: 24px 2px 0; font-size: 12px; color: #a4a7af; }

/* 옷장 */
.wardrobe { padding-bottom: 96px; }
.wardrobe .wr-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.wardrobe .wr-top h3 { font-size: 30px; font-weight: 800; letter-spacing: -.05em; }
.wr-acts { display: flex; gap: 8px; }
.wpill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(60,64,80,.18); background: #fff; color: #111; font-size: 14px; font-weight: 600; }
.wpill svg { width: 17px; height: 17px; } .wpill b { font-size: 13px; }
.wsec { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 2px 12px; }
.wsec h4 { margin: 0; font-size: 20px; font-weight: 750; letter-spacing: -.04em; color: #111; }
.wsec h4 small { font-size: 17px; font-weight: 500; color: #9a9ea8; }
.wtidy { height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(60,64,80,.22); background: #fff; color: #111; font-size: 15px; font-weight: 600; }
.wtabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 -2px 14px; padding: 0 2px; scrollbar-width: none; } .wtabs::-webkit-scrollbar { display: none; }
.wt { flex: none; height: 32px; padding: 0 13px; border: 0; border-radius: 999px; background: transparent; color: #8d919b; font-size: 15px; font-weight: 600; }
.wt small { font-size: 12px; margin-left: 2px; } .wt.on { background: #111; color: #fff; }
.wgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.wc { display: flex; flex-direction: column; padding: 8px 8px 10px; border: 1px solid rgba(60,64,80,.14); border-radius: 12px; background: #fff; text-align: left; transform: rotate(var(--r)); transition: transform .25s cubic-bezier(.2,.9,.25,1.2); }
.wc:active { transform: rotate(0) scale(.97); }
.wc-ph { position: relative; display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 8px; }
.wc-ph img, .wc-ph .fp-fallback { width: 100%; height: 100%; object-fit: contain; } .wc.is-sold .wc-ph img { filter: grayscale(.8) opacity(.5); }
.wc b { font-size: 13px; font-weight: 650; letter-spacing: -.02em; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc small { margin-top: 1px; font-size: 11.500px; color: #9a9ea8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wempty { grid-column: 1 / -1; margin: 8px 0; font-size: 14px; color: #9a9ea8; text-align: center; }
.wardrobe .wsw { position: fixed; right: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 20; box-shadow: 0 8px 24px rgba(30,34,60,.16); }
.wardrobe .week-cta { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; margin-top: 34px; padding: 16px; border: 1px solid rgba(60,64,80,.16); border-radius: 18px; background: #fff; box-shadow: none; }
.wardrobe .week-cta b { font-size: 15px; font-weight: 700; } .wardrobe .week-cta small { font-size: 12.500px; color: #9a9ea8; }

/* 코디 시트: 바깥 유리 상자 제거 + 타이핑 느낌 */
.sheet:has(.imc) { background: #f7f8fb; }
.imc { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.imc-input { background: #fff; box-shadow: 0 1px 0 rgba(60,64,80,.06), inset 0 0 0 1px rgba(60,64,80,.08); }
.imc-panel { padding: 6px 0 4px; background: none; box-shadow: none; border-radius: 0; }
.imc-grip { display: none; }
.imc-input i { animation: imcblink 1s steps(2) infinite; } .imc-input.typing i { animation: none; opacity: 1; }
@keyframes imcblink { 50% { opacity: 0; } }
.imc-send.ready { animation: imcpulse 1.4s ease-in-out infinite; }
@keyframes imcpulse { 50% { transform: scale(1.08); } }
.imc-it { animation: imcin .5s cubic-bezier(.2,.9,.25,1) both; animation-delay: var(--d, 0ms); }
@keyframes imcin { from { opacity: 0; transform: translateY(14px) scale(.94); } }
.imc-model img { animation: imcrise .7s cubic-bezier(.2,.9,.25,1) both .15s; }
@keyframes imcrise { from { opacity: 0; transform: translateY(24px); } }

/* OOTD 시트: 세로 줄이기 */
.wkx { padding-bottom: 0; }
.wk-chip { padding: 8px 15px 9px; font-size: 14px; } .wk-chip i { width: 12px; height: 12px; }
.wk-title { margin-top: 16px; font-size: 26px; } .wk-date { margin-top: 6px; font-size: 14px; }
.wk-stats { margin: 16px 0 2px; } .wk-stats b { font-size: 26px; }
.wk-pick { margin-top: 12px; gap: 8px; } .wk-pick .wk-btn { padding: 14px 12px; min-height: 104px; }
.wk-go { margin-top: 12px; height: 54px; }
.wk-priv { margin: 8px 0 0; font-size: 12px; }
.wgrid { align-items: start; }
.wardrobe .wr-top h3 { display: none; } .wardrobe .wr-top { justify-content: flex-end; margin-bottom: 0; }
.wc-ph img, .wc-ph .fp-fallback { aspect-ratio: 1; }
.wsec .wtidy { position: static; inset: auto; transform: none; margin: 0; flex: none; }
.wardrobe .wr-top { margin: 18px 0 16px; justify-content: space-between; }
.wardrobe .wr-top h3 { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.05em; }
.wardrobe .wr-top h3 small { font-size: 18px; font-weight: 500; color: #9a9ea8; }
.wr-acts { align-items: center; }
.wr-acts .wtidy { height: 34px; }
.wr-acts .wtidy, .wardrobe .wtidy { position: static !important; inset: auto !important; transform: none !important; margin: 0 !important; height: 34px; padding: 0 16px; font-size: 15px; font-weight: 600; color: #111; border: 1px solid rgba(60,64,80,.22); background: #fff; }
.wgrid { align-items: stretch; }
.wc { height: 100%; } .wc-ph { flex: 1; }
.wardrobe .wr-top h3 { font-size: 0; } .wardrobe .wr-top h3 small { font-size: 22px; font-weight: 700; color: #111; }

/* v240 — 한 옷장, 네 층 */
.wardrobe .wr-top h3 { font-size: 22px; }
.wardrobe .wr-top h3 small { font-size: 0; }
.wseg { display: flex; gap: 4px; margin: 0 0 14px; }
.wseg button { height: 32px; padding: 0 15px; border: 0; border-radius: 999px; background: transparent; color: #8d919b; font-size: 15px; font-weight: 600; }
.wseg button.on { background: #111; color: #fff; }
.wr-floors { padding: 6px 12px 0; display: flex; flex-direction: column; gap: 0; }
.wfl { padding: 12px 0 4px; } .wfl + .wfl { border-top: 1px solid rgba(60,64,80,.1); }
.wfl-h { margin: 0 0 4px; font-size: 13px; font-weight: 650; color: #6b6f78; letter-spacing: -.01em; } .wfl-h small { margin-left: 5px; font-weight: 500; color: #a4a7af; }
.wfl-empty { margin: 8px 0 14px; font-size: 13px; color: #b0b4bd; }
.wfl .wr-rail { padding-top: 18px; } .wfl .wr-shelf { padding-top: 4px; }
.wfl .wr-hang, .wfl .wr-things { padding-bottom: 12px; }
.hg.is-wish .photo, .st.is-wish .photo { outline: 1.5px dashed rgba(60,64,80,.35); outline-offset: -1.5px; }
.hg.is-sold .photo img, .st.is-sold .photo img { filter: grayscale(.8) opacity(.55); }
.wr-floors .plank { margin: 0 -12px; }
.imc-input { height: auto; min-height: 56px; padding: 11px 18px; align-items: center; border-radius: 28px; }
.imc-input span { overflow: visible; white-space: normal; font-size: 15.5px; line-height: 1.4; letter-spacing: -.02em; }
.wfl .hg { width: 74px; } .wfl .hg .photo { aspect-ratio: 1; border-radius: 10px; }
.wfl .hg svg { width: 36px; height: 18px; margin: -10px auto 0; }
.wfl .st { width: 66px; }
.wfl .wr-rail { padding-top: 12px; } .wfl .wr-rail .rod { top: 6px; }
.wfl .wr-hang, .wfl .wr-things { gap: 10px; padding-bottom: 8px; }
.wfl { padding: 8px 0 2px; } .wfl-h { margin-bottom: 2px; }
.top:empty { display: block; min-height: 0; height: max(8px, env(safe-area-inset-top)); padding: 0; background: none; }
.wardrobe .wr-top { margin: 4px 0 12px; }
.wardrobe .wr-top h3 { font-size: 26px; font-weight: 800; letter-spacing: -.05em; }
.wardrobe .wr-top h3 small { font-size: 17px; font-weight: 500; color: #9a9ea8; margin-left: 4px; }
.wfl .hg { width: 108px; scroll-snap-align: start; } .wfl .hg .photo { aspect-ratio: 4 / 5; border-radius: 12px; }
.wfl .hg svg { width: 42px; height: 21px; margin: -12px auto 0; }
.wfl .st { width: 96px; scroll-snap-align: start; } .wfl .st .photo { aspect-ratio: 1; }
.wfl .wr-hang, .wfl .wr-things { gap: 12px; padding: 0 12px 12px 2px; margin-right: -12px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.wfl .wr-rail { padding-top: 14px; }

/* v245 — 시트는 비치지 않는 순백 */
.sheet-layer { background: rgba(0, 0, 0, .3); -webkit-backdrop-filter: none; backdrop-filter: none; }
.sheet, .sheet:has(.imc) { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: 0 -8px 40px rgba(0, 0, 0, .12); }
.sheet .handle { background: rgba(60, 60, 67, .18); }
.sheet-head .icon-btn { background: #f0f0f3; }
.sheet .pd-list { background: #f6f6f8; } .sheet .imc-it, .sheet .imc-panel { background: none; }
.sheet .hero-photo.sm { display: block; width: 100%; aspect-ratio: 16 / 10; margin: 4px 0 12px; overflow: hidden; } .sheet .hero-photo.sm img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* v250 — 옷장: 애플 메모 같은 카드 / 정리 시트 / 일주일 OOTD 알림 */
.wardrobe { padding-bottom: 150px; }
.wn-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 6px 2px 16px; }
.wn-head h2 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -.05em; color: #111; }
.wn-head h2 small { margin-left: 6px; font-size: 16px; font-weight: 500; color: #9a9ea8; letter-spacing: -.02em; }
.wn-fbtn { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #111; box-shadow: 0 0 0 1px rgba(60,64,80,.06), 0 6px 18px rgba(30,34,60,.08); }
.wn-fbtn svg { width: 22px; height: 22px; } .wn-fbtn.on { background: #111; color: #fff; }
.wn-scrim { position: fixed; inset: 0; z-index: 14; border: 0; background: transparent; }
.wn-menu { position: absolute; z-index: 15; right: var(--page, 16px); top: 64px; width: 220px; padding: 8px; border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 0 0 1px rgba(60,64,80,.06), 0 18px 50px rgba(30,34,60,.2); animation: wnpop .22s cubic-bezier(.2,.9,.25,1.2); transform-origin: 90% 0; }
@keyframes wnpop { from { opacity: 0; transform: scale(.9); } }
.wn-menu p { margin: 8px 12px 4px; font-size: 12px; font-weight: 600; color: #9a9ea8; }
.wn-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 40px; padding: 0 12px; border: 0; border-radius: 12px; background: none; font-size: 16px; color: #111; text-align: left; }
.wn-menu button:active { background: #f0f0f3; } .wn-menu svg { width: 18px; height: 18px; color: #0a84ff; }
.wn-grid { column-count: 2; column-gap: 12px; }
.nc { display: flex; flex-direction: column; width: 100%; margin: 0 0 12px; padding: 16px 16px 14px; break-inside: avoid; border: 0; border-radius: 30px; background: #fff; text-align: left; box-shadow: 0 0 0 1px rgba(60,64,80,.05), 0 8px 22px rgba(30,34,60,.06); transition: transform .2s cubic-bezier(.2,.9,.25,1.2); }
.nc:active { transform: scale(.97); }
.nc-l { font-size: 12px; color: #9a9ea8; letter-spacing: -.01em; }
.nc-n { margin: 3px 0 10px; font-size: 16px; line-height: 1.25; font-weight: 750; letter-spacing: -.035em; color: #111; }
.nc-ph { display: block; aspect-ratio: var(--ar, 1 / 1); }
.nc-ph img, .nc-ph .fp-fallback { width: 100%; height: 100%; object-fit: contain; display: block; } .nc.is-sold .nc-ph { opacity: .45; filter: grayscale(.8); }
.wn-fab { position: sticky; bottom: 98px; display: flex; justify-content: space-between; margin-top: 8px; pointer-events: none; z-index: 10; }
.wn-pill { pointer-events: auto; display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 0 0 1px rgba(60,64,80,.06), 0 10px 28px rgba(30,34,60,.16); color: #111; font-size: 16px; font-weight: 650; }
.wn-pill.dark { background: #111; color: #fff; } .wn-pill svg { width: 18px; height: 18px; }
.wn-pill:active { transform: scale(.95); }

.sheet .mixlist { max-height: 316px; overflow-y: auto; padding-right: 2px; margin: 10px 0 12px; }
.sheet .mixrow { min-height: 56px; }
.tidy-ai { background: #f4f5f8 !important; box-shadow: none !important; border-radius: 18px; }
.tidy-ai b { font-size: 16px; }

/* v251 — 옷장: 사진첩 같은 촘촘한 격자 + 선택 모드 + 핀치 줌 */
.wardrobe.ph { position: relative; padding-bottom: 150px; }
.ph-head { position: sticky; top: 0; z-index: 12; display: flex; align-items: flex-end; justify-content: space-between; margin: 0 -2px; padding: 8px 2px 12px; background: linear-gradient(180deg, #f2f2f7 72%, rgba(242,242,247,0)); }
.ph-t h2 { margin: 0; font-size: 34px; line-height: 1.05; font-weight: 800; letter-spacing: -.055em; color: #111; }
.ph-t small { display: block; margin-top: 2px; font-size: 14px; color: #8d919b; letter-spacing: -.01em; }
.wn-tools { display: flex; gap: 8px; align-items: center; }
.ph-sel { height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: #fff; color: #111; font-size: 16px; font-weight: 600; box-shadow: 0 0 0 1px rgba(60,64,80,.06), 0 6px 18px rgba(30,34,60,.08); }
.ph-sel.on { background: #0a84ff; color: #fff; }
.wardrobe.ph .wn-menu { top: 70px; }
.ph-grid { display: grid; grid-template-columns: repeat(var(--c, 3), 1fr); gap: 2px; border-radius: 24px; overflow: hidden; background: #e4e5ea; transition: grid-template-columns .3s cubic-bezier(.2,.9,.25,1); }
.gc { position: relative; display: block; padding: 0; border: 0; border-radius: 0; background: linear-gradient(180deg, #fff, #f6f7fa); aspect-ratio: 1; overflow: hidden; }
.ph-grid[data-cols="2"] .gc { aspect-ratio: 4 / 5; }
.gc-ph { position: absolute; inset: 12%; display: grid; place-items: center; transition: transform .3s cubic-bezier(.2,.9,.25,1.2); }
.ph-grid[data-cols="2"] .gc-ph { inset: 10% 10% 22%; } .ph-grid[data-cols="4"] .gc-ph, .ph-grid[data-cols="5"] .gc-ph { inset: 8%; }
.gc-ph img, .gc-ph .fp-fallback { width: 100%; height: 100%; object-fit: contain; display: block; }
.gc-n { position: absolute; left: 12px; right: 12px; bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: -.03em; color: #111; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .25s; }
.gc-n small { display: block; margin-top: 1px; font-size: 11.500px; font-weight: 500; color: #9a9ea8; }
.ph-grid[data-cols="2"] .gc-n { opacity: 1; }
.gc.is-sold .gc-ph { opacity: .4; filter: grayscale(.8); }
.gc-so { position: absolute; left: 8px; top: 8px; padding: 2px 7px; border-radius: 999px; background: rgba(60,64,80,.8); color: #fff; font-style: normal; font-size: 10.500px; font-weight: 600; }
.gc.pre { opacity: 0; transform: scale(.88); }
.gc.in { opacity: 1; transform: none; transition: opacity .35s ease, transform .55s cubic-bezier(.2,1.3,.4,1); transition-delay: calc(var(--i, 0) * 35ms); }
.gc:active .gc-ph { transform: scale(.94); }
.gc.lift { z-index: 6; transform: scale(1.07); border-radius: 14px; box-shadow: 0 18px 40px rgba(30,34,60,.28); transition: transform .3s cubic-bezier(.2,1.3,.4,1), box-shadow .3s; transition-delay: 0s; }
.gc-ck { position: absolute; right: 8px; top: 8px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1.500px rgba(60,64,80,.35); font-style: normal; font-size: 13px; font-weight: 700; color: #fff; transition: all .2s cubic-bezier(.2,1.3,.4,1); }
.gc.sel .gc-ck { background: #0a84ff; box-shadow: none; transform: scale(1.1); }
.gc.sel .gc-ph { transform: scale(.86); } .gc.sel::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px #0a84ff; pointer-events: none; }
.wn-pill:disabled { opacity: .5; }
.wn-pop { position: absolute; z-index: 40; width: 200px; padding: 6px; border-radius: 18px; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 0 0 1px rgba(60,64,80,.06), 0 18px 50px rgba(30,34,60,.28); animation: wnpop .22s cubic-bezier(.2,.9,.25,1.2); }
.wn-pop button { display: block; width: 100%; height: 42px; padding: 0 12px; border: 0; border-radius: 12px; background: none; font-size: 16px; color: #111; text-align: left; } .wn-pop button:active { background: #f0f0f3; } .wn-pop .red { color: #ff3b30; }
#wn-pop-s { z-index: 39; }
.wn-fab:has(.wn-pill:only-child) { justify-content: center; }
.ph-grid[data-cols="2"] .gc-ph { inset: 8% 8% 30%; }

/* v256 — 칸마다 이름·가격·판매처 */
.gc { aspect-ratio: 3 / 4; }
.gc-ph, .ph-grid[data-cols="2"] .gc-ph { inset: 8% 8% 36%; }
.gc-n { opacity: 1 !important; left: 10px; right: 8px; bottom: 9px; display: flex; flex-direction: column; gap: 1px; white-space: normal; }
.gc-n b { font-size: 12.500px; font-weight: 700; letter-spacing: -.03em; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-n em { font-style: normal; font-size: 13px; font-weight: 800; letter-spacing: -.03em; color: #111; }
.gc-n small { display: block; margin: 0; font-size: 11px; font-weight: 500; color: #8d919b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-grid[data-cols="2"] .gc { aspect-ratio: 1 / 1.1; } .ph-grid[data-cols="2"] .gc-n b { font-size: 14px; } .ph-grid[data-cols="2"] .gc-n em { font-size: 15px; } .ph-grid[data-cols="2"] .gc-n small { font-size: 12px; }
.ph-grid[data-cols="4"] .gc, .ph-grid[data-cols="5"] .gc { aspect-ratio: 1; } .ph-grid[data-cols="4"] .gc-n, .ph-grid[data-cols="5"] .gc-n { display: none; } .ph-grid[data-cols="4"] .gc-ph, .ph-grid[data-cols="5"] .gc-ph { inset: 10%; }
.gc-ph { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gc-ph img, .gc-ph .fp-fallback { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.gc-ph .fp-fallback { width: 100%; height: 100%; }
.ph-sw { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 18px; border: 0; border-radius: 999px; background: #fff; color: #111; font-size: 16px; font-weight: 600; box-shadow: 0 0 0 1px rgba(60,64,80,.06), 0 6px 18px rgba(30,34,60,.08); }
.ph-sw i { position: relative; width: 50px; height: 30px; border-radius: 999px; background: #e3e3e8; transition: background .25s; }
.ph-sw i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .3s cubic-bezier(.2,1.3,.4,1); }
.ph-sw[aria-checked="true"] i { background: #34c759; } .ph-sw[aria-checked="true"] i::after { transform: translateX(20px); }

/* v260 — 옷장: Finder 창 (폴더 사이드바 + 액자 격자) */
.fx-win { border-radius: 16px; overflow: hidden; background: #fbfbfc; box-shadow: 0 0 0 1px rgba(60,64,80,.08), 0 24px 60px rgba(30,34,60,.18); margin-top: 6px; }
.fx-bar { position: relative; display: flex; align-items: center; justify-content: center; height: 46px; background: #f2f2f4; border-bottom: 1px solid rgba(60,64,80,.1); }
.fx-bar b { font-size: 14px; font-weight: 650; color: #3a3d46; letter-spacing: -.01em; }
.fx-dots { position: absolute; left: 14px; display: flex; gap: 7px; } .fx-dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; } .fx-dots i:nth-child(2) { background: #febc2e; } .fx-dots i:nth-child(3) { background: #28c840; }
.fx-bar .ph-sel { position: absolute; right: 10px; height: 30px; padding: 0 14px; font-size: 14px; box-shadow: none; background: transparent; color: #0a84ff; }
.fx-bar .ph-sel.on { background: #0a84ff; color: #fff; }
.fx-body { display: flex; min-height: 440px; }
.fx-side { flex: none; width: 82px; padding: 14px 6px; display: flex; flex-direction: column; gap: 14px; background: #fff; border-right: 1px solid rgba(60,64,80,.1); }
.fx-f { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; border: 0; background: none; }
.fx-f svg { width: 52px; height: 42px; transition: transform .25s cubic-bezier(.2,1.3,.4,1); } .fx-f:active svg { transform: scale(.92); }
.fx-f span { padding: 2px 9px; border-radius: 7px; font-size: 12.500px; font-weight: 650; color: #111; }
.fx-f small { font-size: 11px; color: #9a9ea8; }
.fx-f.on span { background: #0a6cf0; color: #fff; }
.fx-grid { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(var(--c, 2), 1fr); gap: 20px 12px; padding: 16px 14px 20px; align-content: start; background: #fff; }
.fx-grid .gc { aspect-ratio: auto; background: none; overflow: visible; display: flex; flex-direction: column; align-items: center; text-align: center; }
.fx-grid .gc-ph { position: relative; inset: auto; width: 100%; aspect-ratio: 1; padding: 10%; background: #fff; box-shadow: 0 0 0 5px #e4e4e7, 0 0 0 6px rgba(60,64,80,.06); box-sizing: border-box; }
.fx-grid .gc-n { position: static; margin-top: 12px; width: 100%; align-items: center; left: auto; right: auto; bottom: auto; }
.fx-grid .gc-n b { max-width: 100%; font-size: 13px; }
.fx-grid[data-cols="3"] .gc-n b { font-size: 11.500px; } .fx-grid[data-cols="3"] .gc-n em { font-size: 12px; } .fx-grid[data-cols="3"] .gc-n small { font-size: 10.500px; }
.fx-grid[data-cols="4"] .gc-n, .fx-grid[data-cols="5"] .gc-n { display: none; }
.fx-grid .gc.lift { transform: scale(1.06); box-shadow: none; } .fx-grid .gc.lift .gc-ph { box-shadow: 0 0 0 5px #e4e4e7, 0 18px 36px rgba(30,34,60,.3); }
.fx-grid .gc.sel::after { display: none; } .fx-grid .gc.sel .gc-ph { box-shadow: 0 0 0 5px #0a84ff; transform: none; }
.fx-grid .gc-ck { top: 8px; right: 8px; } .fx-grid .gc-so { left: 6px; top: 6px; }
.fx-grid .wempty { grid-column: 1 / -1; }
.fx-foot { height: 34px; display: grid; place-items: center; background: #f2f2f4; border-top: 1px solid rgba(60,64,80,.1); font-size: 12px; color: #8d919b; }
.fx-grid { grid-template-columns: repeat(var(--c, 2), minmax(0, 1fr)); gap: 24px 20px; padding: 18px 16px 22px; }
.fx-grid .gc-n b { overflow: hidden; text-overflow: ellipsis; }

/* v262 — 옷장: 화면 가득, 얇은 액자, 흐트러진 배치, 폴더 칩, 정리 플로팅 */
.page:has(.fx-win) { padding: 0; min-height: 100%; display: flex; flex-direction: column; }
.wardrobe.ph { flex: 1; display: flex; flex-direction: column; padding: 0; }
.fx-win { flex: 1; display: flex; flex-direction: column; margin: 0; border-radius: 0; box-shadow: none; background: #fff; }
.fx-bar { padding-top: env(safe-area-inset-top); height: calc(46px + env(safe-area-inset-top)); }
.fx-body { flex: 1; min-height: 0; }
.fx-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; }
.fx-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 14px 0; scrollbar-width: none; } .fx-chips::-webkit-scrollbar { display: none; }
.fx-c { flex: none; display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 6px; height: 36px; padding: 0 12px 0 10px; border: 0; border-radius: 12px; background: #f3f4f7; color: #111; }
.fx-c b { font-size: 16px; line-height: 1; font-weight: 400; } .fx-c span { font-size: 13px; font-weight: 650; letter-spacing: -.02em; } .fx-c small { display: none; }
.fx-c.on { background: #0a6cf0; color: #fff; box-shadow: none; }
.fx-grid { flex: 1; padding-top: 18px; padding-bottom: 28px; }
.fx-grid .gc { rotate: var(--r, 0deg); translate: 0 var(--dy, 0px); }
.fx-grid .gc-ph { box-shadow: 0 0 0 3px #e6e6e9, 0 0 0 4px rgba(60,64,80,.05); }
.fx-grid .gc.lift .gc-ph { box-shadow: 0 0 0 3px #e6e6e9, 0 18px 36px rgba(30,34,60,.3); } .fx-grid .gc.sel .gc-ph { box-shadow: 0 0 0 3px #0a84ff; }
.fx-foot { height: auto; padding: 10px 0 104px; }
.fx-side { justify-content: flex-start; } .fx-me { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 90px; border: 0; background: none; color: #8d919b; font-size: 11.500px; font-weight: 600; } .fx-me svg { width: 26px; height: 26px; }
.wn-fab { height: 0; margin: 0; padding: 0 16px; overflow: visible; justify-content: flex-end; align-items: flex-end; position: sticky; bottom: 100px; z-index: 10; pointer-events: none; }
.wn-fab > * { transform: translateY(-100%); pointer-events: auto; } .wn-fab.mid { justify-content: center; }
.wn-round { width: 52px; height: 52px; padding: 0; border-radius: 50%; display: grid; place-items: center; color: #1d1d1f; border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7); box-shadow: 0 8px 22px rgba(40,52,96,.18), inset 0 1px 0 rgba(255,255,255,.95); }
.wn-round:active { transform: translateY(-100%) scale(.9); } .wn-round svg { width: 24px; height: 24px; }
.fx-bar .ph-sel { font-size: 15px; font-weight: 650; }

/* v263 */
.wardrobe.ph { margin: 0; }
.fx-pen { position: absolute; left: 6px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; display: grid; place-items: center; color: #0a84ff; } .fx-pen svg { width: 22px; height: 22px; } .fx-pen:active { background: rgba(10,132,255,.12); }
.fx-bar { height: 44px; } .fx-bar { padding-top: 0; }
.wn-fab { bottom: 38px; }
.wn-round svg { width: 26px; height: 26px; }

/* v264 — 옷장 이름 + 내 정보 라벨 */
.fx-pen { width: auto; height: 36px; padding: 0 10px 0 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; left: 8px; font-size: 14px; font-weight: 600; } .fx-pen svg { width: 18px; height: 18px; } .fx-pen span { letter-spacing: -.02em; }
.fx-title { display: inline-flex; align-items: center; gap: 5px; max-width: 46%; padding: 4px 8px; border: 0; border-radius: 10px; background: none; color: #3a3d46; font-size: 15px; font-weight: 700; letter-spacing: -.03em; }
.fx-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fx-title svg { flex: none; width: 12px; height: 12px; color: #b4b8c2; transition: color .2s; } .fx-title:active { background: rgba(60,64,80,.08); } .fx-title:active svg { color: #0a84ff; }
.fx-title-in { width: 46%; height: 32px; padding: 0 10px; border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1.500px #0a84ff; text-align: center; font: inherit; font-size: 15px; font-weight: 700; letter-spacing: -.03em; color: #111; outline: none; }
.fx-bar .ph-sel { font-size: 14px; }

/* v265 — 이름 아래 점선 */
.fx-title span { border-bottom: 1.500px dashed rgba(60,64,80,.38); padding-bottom: 1px; transition: border-color .2s; }
.fx-title:active span { border-bottom-color: #0a84ff; }

/* v266 — 칸 정보: 브랜드 / 이름 / 가격 */
.fx-grid .gc { align-items: stretch; text-align: left; }
.fx-grid .gc-n { align-items: flex-start; gap: 2px; margin-top: 11px; padding: 0 2px; }
.fx-grid .gc-b { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: -.02em; color: #111; }
.fx-grid .gc-t { max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; font-size: 12.500px; font-weight: 400; line-height: 1.3; letter-spacing: -.02em; color: #6b6f78; }
.fx-grid .gc-c { margin-top: 1px; font-size: 11.500px; color: #a4a7af; }
.fx-grid .gc-p { display: flex; align-items: baseline; gap: 5px; margin-top: 3px; }
.fx-grid .gc-p i { font-style: normal; font-size: 14px; font-weight: 800; color: #ff3b30; letter-spacing: -.02em; }
.fx-grid .gc-p em { font-style: normal; font-size: 14px; font-weight: 800; color: #111; letter-spacing: -.03em; }
.fx-grid .gc-p.sold s { font-size: 13px; font-weight: 500; color: #b0b4bd; }
.fx-grid .gc-m { font-size: 11px; color: #0a6cf0; font-weight: 600; letter-spacing: -.01em; }
.fx-grid[data-cols="3"] .gc-t { -webkit-line-clamp: 1; font-size: 11px; } .fx-grid[data-cols="3"] .gc-b { font-size: 11px; } .fx-grid[data-cols="3"] .gc-p i, .fx-grid[data-cols="3"] .gc-p em { font-size: 12px; } .fx-grid[data-cols="3"] .gc-m { display: none; }

/* v267 — 칸 정보는 한 톤으로 조용하게, 정리 버튼은 변형 없이 */
.fx-grid .gc-b { font-size: 11.500px; font-weight: 600; color: #9a9ea8; letter-spacing: -.01em; }
.fx-grid .gc-t { font-size: 13.500px; font-weight: 650; line-height: 1.3; letter-spacing: -.03em; color: #111; }
.fx-grid .gc-p { margin-top: 4px; gap: 0; }
.fx-grid .gc-p i { display: none; }
.fx-grid .gc-p em { font-size: 13.500px; font-weight: 600; color: #111; letter-spacing: -.02em; }
.fx-grid .gc-p.sold s { color: #b0b4bd; font-weight: 500; }
.fx-grid .gc-m { margin-top: 1px; font-size: 11.500px; font-weight: 500; color: #9a9ea8; }
.fx-grid .gc-c { color: #9a9ea8; }
.wn-fab { height: 52px; margin-top: -52px; bottom: 38px; }
.wn-fab > * { transform: none; } .wn-fab .wn-pill { transform: none; }
.wn-round { transform: none; } .wn-round:active { transform: scale(.9); }
.wn-fab.mid > .wn-pill { align-self: flex-end; }
.fx-grid { row-gap: 40px; }

/* v269 — AI 코디네이터 시트 */
.rc-h { margin: 20px 2px 10px; font-size: 17px; font-weight: 750; letter-spacing: -.03em; color: #111; } .rc-h small { margin-left: 4px; font-size: 14px; font-weight: 500; color: #9a9ea8; }
.rc-list { display: grid; gap: 10px; }
.rc { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px; border: 0; border-radius: 22px; background: #f6f6f8; text-align: left; }
.rc:active { transform: scale(.98); }
.rc-ph { flex: none; width: 76px; height: 76px; border-radius: 16px; background: #fff; display: grid; place-items: center; padding: 6px; box-sizing: border-box; } .rc-ph img, .rc-ph .fp-fallback { max-width: 100%; max-height: 100%; object-fit: contain; }
.rc-t { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rc-t small { font-size: 11.500px; font-weight: 600; color: #9a9ea8; } .rc-t b { font-size: 15px; font-weight: 700; letter-spacing: -.03em; color: #111; }
.rc-t em { font-style: normal; font-size: 12.500px; line-height: 1.4; color: #6b6f78; }
.sheet .mixlist { margin-bottom: 12px; }
.rc-ph { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rc-ph img, .rc-ph .fp-fallback { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; } .rc-ph .fp-fallback { width: 100%; height: 100%; }
.tidy-btn { height: 52px; border: 0; border-radius: 999px; background: #f0f0f3; color: #111; font-size: 16px; font-weight: 650; }
.tidy-btn:active { background: #e4e4e8; }
.wn-fab.mid { bottom: 116px; }
.imc-mg { padding: 0; border: 0; background: none; font: inherit; color: #0a6cf0; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.wn-fab.mid { bottom: 126px; }
.rc { position: relative; padding-right: 64px; }
.rc-go { position: absolute; right: 14px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; display: grid; place-items: center; color: #1d1d1f; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.95); -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); box-shadow: 0 6px 16px rgba(40,52,96,.14), inset 0 1px 0 rgba(255,255,255,.95); transition: transform .2s cubic-bezier(.2,1.3,.4,1); }
.rc-go svg { width: 18px; height: 18px; } .rc:active .rc-go { transform: translateX(3px); }
.rc-t em { font-size: 13px; }
.wn-pill svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* v276 — 모델 성별 세그먼트, 안내 한 줄 */
.imc-seg { display: flex; width: fit-content; margin: 10px auto 0; padding: 3px; border-radius: 999px; background: rgba(120,120,128,.12); }
.imc-seg button { min-width: 64px; height: 30px; padding: 0 14px; border: 0; border-radius: 999px; background: none; font-size: 14px; font-weight: 600; letter-spacing: -.02em; color: #6b6f78; transition: background .25s, color .25s, box-shadow .25s; }
.imc-seg button.on { background: #fff; color: #111; box-shadow: 0 2px 8px rgba(0,0,0,.14), 0 0 0 .5px rgba(0,0,0,.04); }
.imc-note { margin: 6px 0 0; font-size: 12px; color: #b0b4bd; }
.imc-it .wh { display: none; }

/* v277 — 상세 시트: 검은 원 수정, 버튼 평평하게, 포커스 링 */
.pd-hero > .photo, .pd-hero > .garment, .pd-hero > img { width: 100%; height: 100%; }
.pd-hero > .so-tag { width: auto; height: auto; }
.pd-hero .photo { display: block; } .pd-hero .photo img { width: 100%; height: 100%; object-fit: cover; }
.sheet-head .icon-btn, .sheet-head .icon-btn:focus { outline: none; }
.sheet-head .icon-btn:focus-visible { box-shadow: 0 0 0 3px rgba(10,132,255,.35); }
.pd-cta .btn { height: 54px; border: 0; border-radius: 999px; box-shadow: none; font-size: 16px; font-weight: 650; letter-spacing: -.02em; margin: 0; }
.pd-cta .btn.primary { background: #111; color: #fff; }
.pd-cta .btn.secondary, .pd-cta .btn:not(.primary):not(.soldbtn) { background: #f0f0f3; color: #111; }
.pd-cta .btn:active { transform: scale(.98); }
.pd-cta .btn + .btn { margin-top: 0; }

/* v279 — 지난 기록 여백 */
.hrow { top: clamp(250px, 36%, 340px); }

/* v279 — 상품 상세: 내 옷장 기준 카드 */
.pd2 { display: flex; flex-direction: column; gap: 14px; padding: 2px 0 10px; }
.pd2-hero { position: relative; border-radius: 30px; overflow: hidden; background: linear-gradient(160deg, #eef0f8, #f7f7fb); aspect-ratio: 1 / 1; }
.pd2-hero > .photo, .pd2-hero > .garment { display: block; width: 100%; height: 100%; } .pd2-hero img { width: 100%; height: 100%; object-fit: cover; }
.pd2-hero.soldout > .photo { opacity: .5; filter: grayscale(.8); }
.pd2-brand { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 12.500px; font-weight: 700; letter-spacing: -.01em; color: #111; box-shadow: 0 4px 14px rgba(40,52,96,.12); }
.pd2-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pd2-chips span { height: 30px; padding: 0 13px; display: inline-flex; align-items: center; border-radius: 999px; background: #f3f4f7; box-shadow: inset 0 0 0 1px rgba(60,64,80,.06); font-size: 13px; font-weight: 600; color: #4a4d57; }
.pd2-card { padding: 20px 20px 18px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px rgba(60,64,80,.06), 0 14px 36px rgba(40,52,96,.08); }
.pd2-card h4 { margin: 0 0 12px; font-size: 15px; font-weight: 700; letter-spacing: -.02em; color: #111; }
.pd2-ai { background: linear-gradient(180deg, #f4f5ff 0%, #fff 62%); }
.pd2-pill { display: inline-flex; height: 28px; padding: 0 12px; align-items: center; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(60,64,80,.08); font-size: 12.500px; font-weight: 700; color: #4a4d57; }
.pd2-ai h3 { margin: 14px 0 6px; font-family: "AppleMyungjo", "Noto Serif KR", Georgia, serif; font-size: 25px; line-height: 1.28; font-weight: 700; letter-spacing: -.04em; color: #111; }
.pd2-ai p { margin: 0; font-size: 15px; line-height: 1.5; color: #5b5f69; }
.pd2-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 16px; padding: 14px 0 0; border: 0; border-top: 1px solid rgba(60,64,80,.08); background: none; text-align: left; }
.pd2-row b { display: block; font-size: 15px; font-weight: 700; color: #111; letter-spacing: -.02em; } .pd2-row small { display: block; margin-top: 2px; font-size: 12.500px; color: #8d919b; }
.pd2-row .rc-go { position: static; margin: 0; flex: none; }
.pd2-fact { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 12px 0; } .pd2-fact + .pd2-fact { border-top: 1px solid rgba(60,64,80,.07); }
.pd2-fact em { font-style: normal; font-size: 13px; font-weight: 700; color: #9a9ea8; padding-top: 2px; }
.pd2-fact b { display: block; font-size: 15px; line-height: 1.4; font-weight: 600; letter-spacing: -.02em; color: #111; } .pd2-fact small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; color: #8d919b; }
.pd2-trio { display: flex; justify-content: center; align-items: center; gap: 0; padding: 8px 0 6px; }
.pd2-ph { flex: none; width: 31%; aspect-ratio: 1; margin: 0 -2%; padding: 8%; border-radius: 22px; background: #fff; box-shadow: 0 0 0 4px #f1f2f5, 0 12px 26px rgba(40,52,96,.16); rotate: var(--r, 0deg); box-sizing: border-box; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pd2-ph.me { z-index: 2; width: 36%; box-shadow: 0 0 0 4px #e8ecf9, 0 16px 32px rgba(40,52,96,.2); }
.pd2-ph img, .pd2-ph .fp-fallback { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; } .pd2-ph .fp-fallback { width: 100%; height: 100%; }
.pd2-cap { margin: 10px 0 0; text-align: center; font-size: 12.500px; color: #8d919b; }
.pd2-buy .pd-price { margin: 0 0 12px; } .pd2-buy .pd-price b { font-size: 26px; }
.pd2-buy .pd-list { background: #f6f6f8; }
.pd2 .pd-cta { margin-top: 2px; }
.imc-eyebrow { display: inline-flex; align-items: center; height: 26px; margin: 0 0 8px 2px; padding: 0 11px; border-radius: 999px; background: #f3f4f7; font-size: 12px; font-weight: 700; letter-spacing: -.01em; color: #6b6f78; }
.sheet .btn.secondary { background: #f0f0f3; color: #111; border: 0; box-shadow: none; }
.sheet .btn.secondary:active { background: #e4e4e8; }

/* v282 — 코디 총액 */
.imc-cost { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 0; padding: 14px 18px; border-radius: 22px; background: #f5f6f9; }
.ic-main small { display: block; font-size: 12px; font-weight: 600; color: #8d919b; }
.ic-main b { font-size: 24px; font-weight: 800; letter-spacing: -.04em; color: #111; } .ic-main s { margin-left: 6px; font-size: 13px; color: #b0b4bd; }
.ic-sub { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 12.500px; color: #6b6f78; }
.imc-pr { position: absolute; left: 0; right: 0; bottom: -2px; text-align: center; font-size: 12px; font-weight: 600; color: #6b6f78; letter-spacing: -.01em; }
.imc-it { padding-bottom: 14px; }

/* v283 — 코디 시트: iMessage 같은 가운데 제목, 상단 여백 줄이기 */
.sheet:has(.imc) .sheet-head h3 { visibility: visible; position: absolute; left: 56px; right: 56px; top: 50%; transform: translateY(-50%); text-align: center; font-size: 15px; font-weight: 650; letter-spacing: -.02em; color: #111; pointer-events: none; }
.sheet:has(.imc) .sheet-head { position: relative; padding: 0; min-height: 40px; margin-bottom: 6px; }
.sheet:has(.imc) .sheet-head .icon-btn { position: relative; z-index: 2; margin-left: auto; }
.sheet:has(.imc) { padding-top: 8px; }
.imc-eyebrow { display: none; }

/* v284 — 상세 시트: AI 티 나는 장식 제거, 평평하고 조용하게 */
.pd2-card { background: #f6f6f8; box-shadow: none; border-radius: 24px; }
.pd2-ai { background: none; padding: 6px 2px 0; }
.pd2-ai h3 { margin: 4px 0 6px; font-family: inherit; font-size: 22px; line-height: 1.3; font-weight: 750; letter-spacing: -.04em; }
.pd2-ai p { font-size: 14.500px; color: #6b6f78; }
.pd2-ai .pd2-row { margin-top: 14px; padding: 12px 12px 12px 16px; border: 0; border-radius: 18px; background: #f6f6f8; }
.pd2-ph { box-shadow: 0 0 0 3px #eceef2; } .pd2-ph.me { box-shadow: 0 0 0 3px #dfe3ee; }
.pd2-buy .pd-list { background: #fff; }

/* v287 — 상세 시트: iOS 설정 앱 같은 촘촘한 그룹 목록 */
.pd2 { gap: 0; padding: 0 0 8px; }
.pd2-hero { border-radius: 22px; margin-bottom: 14px; }
.pd2-lead { margin: 0 2px 12px; font-size: 20px; line-height: 1.3; font-weight: 750; letter-spacing: -.04em; color: #111; }
.pd2-sec { margin: 20px 6px 7px; font-size: 13px; font-weight: 600; letter-spacing: -.01em; color: #8d919b; }
.pd2-list { border-radius: 14px; background: #f6f6f8; overflow: hidden; }
.pd2-link, .pd2-offer { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 0 16px; border: 0; background: none; font-size: 16px; color: #111; text-align: left; }
.pd2-link span, .pd2-offer span { flex: 1; } .pd2-link svg, .pd2-offer svg { width: 16px; height: 16px; color: #c1c4cc; flex: none; }
.pd2-link:active, .pd2-offer:active { background: #ececf0; }
.pd2-offer b { font-weight: 600; } .pd2-offer, .pd2-fact, .pd2-price { border-top: 1px solid rgba(60,64,80,.08); } .pd2-list > :first-child { border-top: 0; }
.pd2-fact { display: grid; grid-template-columns: 42px 1fr; gap: 8px; padding: 11px 16px; }
.pd2-fact em { padding-top: 1px; font-size: 14px; color: #8d919b; } .pd2-fact b { font-size: 15px; line-height: 1.35; font-weight: 600; } .pd2-fact small { margin-top: 2px; font-size: 13px; color: #8d919b; }
.pd2-trio { display: flex; justify-content: flex-start; gap: 10px; padding: 0 2px; }
.pd2-ph, .pd2-ph.me { width: 76px; margin: 0; padding: 8px; border-radius: 16px; box-shadow: 0 0 0 1px rgba(60,64,80,.1); rotate: none; background: #fff; } .pd2-ph.me { box-shadow: 0 0 0 1.500px #111; }
.pd2-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 12px 16px; border-top: 0; } .pd2-price b { font-size: 24px; font-weight: 800; letter-spacing: -.04em; } .pd2-price s { font-size: 13px; color: #b0b4bd; } .pd2-price small { flex-basis: 100%; font-size: 13px; color: #8d919b; }
.pd2 .pd-cta { margin-top: 16px; } .pd2 .pd-h { margin: 22px 6px 8px; font-size: 13px; font-weight: 600; color: #8d919b; letter-spacing: -.01em; }
.pd2-card, .pd2-chips { display: none; }

/* v288 — 코디 총액: 짧은 라벨, 오른쪽 정렬 숫자 */
.imc-cost { display: block; margin: 8px 0 0; padding: 2px 4px; background: none; border-radius: 0; }
.imc-cost > div { display: flex; align-items: baseline; justify-content: space-between; padding: 9px 2px; border-top: 1px solid rgba(60,64,80,.08); font-size: 15px; color: #111; }
.imc-cost > div:first-child { border-top: 0; }
.imc-cost span { color: #6b6f78; } .imc-cost small { color: #a4a7af; font-size: inherit; }
.imc-cost b { font-weight: 500; letter-spacing: -.01em; }
.imc-cost .ic-total span { color: #111; font-weight: 700; } .imc-cost .ic-total b { font-size: 17px; font-weight: 800; }
.ic-main, .ic-sub { display: none; }

/* v289 — 상세 시트 하단 구매 바 */
.pd2-bar { position: sticky; bottom: calc(-1 * max(22px, env(safe-area-inset-bottom))); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 18px calc(-1 * var(--page)) calc(-1 * max(22px, env(safe-area-inset-bottom))); padding: 12px var(--page) max(18px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); border-top: 1px solid rgba(60,64,80,.08); }
.pd2-bp b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.03em; color: #111; } .pd2-bp b.gray { color: #9a9ea8; }
.pd2-bp small { display: block; margin-top: 1px; font-size: 12px; color: #8d919b; }
.pd2-go { flex: none; min-width: 132px; height: 46px; padding: 0 26px; border: 0; border-radius: 999px; background: #111; color: #fff; font-size: 16px; font-weight: 650; letter-spacing: -.02em; }
.pd2-go:active { transform: scale(.96); }
.pd2-link + .pd2-link { border-top: 1px solid rgba(60,64,80,.08); }
.pd2 .pd-foot { margin: 18px 6px 0; }

/* v290 — 고른 옷은 체크로 고정 표시 */
.imc-fx { position: absolute; top: 2px; right: 8%; z-index: 3; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #0a84ff; color: #fff; box-shadow: 0 3px 8px rgba(10,132,255,.4); animation: imcfx .45s cubic-bezier(.2,1.5,.4,1) both .5s; }
.imc-fx svg { width: 14px; height: 14px; }
@keyframes imcfx { from { transform: scale(0); } }
.imc-it.fixed .fp-ph { outline: 2px solid #0a84ff; outline-offset: 4px; border-radius: 16px; }
.imc-it.fixed .imc-pr { color: #0a6cf0; }
.imc-bar { display: block; }
.imc-input { width: 100%; box-sizing: border-box; border-radius: 22px; }

/* v293 — 고정 표시는 유리 체크만, 코디 폴더, 기록 여백, 버튼 */
.imc-it.fixed .fp-ph { outline: none; }
.imc-it.fixed .imc-pr { color: #6b6f78; }
.imc-fx { background: rgba(255,255,255,.55); color: #0a84ff; -webkit-backdrop-filter: blur(12px) saturate(1.6); backdrop-filter: blur(12px) saturate(1.6); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 4px 12px rgba(40,52,96,.18), inset 0 1px 0 rgba(255,255,255,.9); }
.imc-fx svg { width: 13px; height: 13px; }
.imc-two { display: flex; gap: 10px; margin-top: 10px; } .imc-two .btn { flex: 1; min-width: 0; height: 50px; margin: 0; font-size: 15px; padding: 0 8px; }
.sheet .btn + .btn { margin-top: 10px; }
.fo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; padding: 16px; }
.fo { display: flex; flex-direction: column; gap: 10px; padding: 0; border: 0; background: none; text-align: left; }
.fo-ph { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; aspect-ratio: 1; padding: 6px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(60,64,80,.1); }
.fo-ph span { display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 12px; background: #f6f6f8; padding: 8%; }
.fo-ph img, .fo-ph .fp-fallback { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; } .fo-ph .fp-fallback { width: 100%; height: 100%; }
.fo-n b { display: block; font-size: 14px; font-weight: 650; color: #111; letter-spacing: -.02em; } .fo-n small { display: block; margin-top: 1px; font-size: 12.500px; color: #8d919b; }
.fo:active .fo-ph { transform: scale(.97); }
.hrow { top: 150px; }

/* v296 — 큰 버튼은 담기/다른 조합, 저장은 작은 아이콘 */
.imc-ctl { position: relative; display: flex; justify-content: center; align-items: center; margin-top: 10px; }
.imc-ctl .imc-seg { margin: 0; }
.imc-sv { position: absolute; right: 2px; top: 50%; margin-top: -19px; width: 38px; height: 38px; padding: 0; border-radius: 50%; display: grid; place-items: center; color: #1d1d1f; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.95); -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); box-shadow: 0 4px 12px rgba(40,52,96,.16), inset 0 1px 0 rgba(255,255,255,.95); transition: transform .2s cubic-bezier(.2,1.3,.4,1); }
.imc-sv svg { width: 18px; height: 18px; } .imc-sv:active { transform: scale(.88); } .imc-sv.on { color: #0a84ff; }
.imc-two { display: none; }

/* v297 — 액자·기울임 없이, 파일명 이름표 */
.fx-grid .gc { rotate: none; translate: none; }
.fx-grid .gc-ph, .fx-grid .gc.lift .gc-ph, .fx-grid .gc.sel .gc-ph { box-shadow: none; background: none; padding: 6%; }
.fx-grid .gc.lift { transform: scale(1.04); }
.fx-grid .gc.lift .gc-ph { filter: drop-shadow(0 14px 22px rgba(30,34,60,.28)); }
.fx-grid .gc.sel .gc-ph { transform: scale(.9); }
.fx-grid { row-gap: 26px; column-gap: 8px; }
.fx-grid .gc-n { margin-top: 6px; align-items: center; }
.fx-grid .gc-f { max-width: 100%; font-size: 12.500px; font-weight: 400; letter-spacing: -.01em; color: #3a3d46; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.fx-grid[data-cols="3"] .gc-f { font-size: 11px; }
.fx-grid .gc-f { font-size: 11.500px; }
.fx-grid[data-cols="3"] .gc-f { font-size: 10px; }

/* v299 — 폴더 선택: iMessage 탭백 말풍선 (회색 글리프, 선택하면 파란 원) */
#emoji-tip { gap: 4px; padding: 6px 8px; background: rgba(244,244,247,.96); box-shadow: 0 0 0 1px rgba(17,17,20,.05), 0 10px 28px rgba(60,70,90,.2); }
#emoji-tip::before, #emoji-tip::after { content: ''; position: absolute; border-radius: 50%; background: rgba(244,244,247,.96); box-shadow: 0 0 0 1px rgba(17,17,20,.05); }
#emoji-tip::before { width: 11px; height: 11px; left: 8px; bottom: -11px; } #emoji-tip::after { width: 6px; height: 6px; left: 0; bottom: -18px; }
#emoji-tip button { width: 44px; height: 44px; border-radius: 50%; color: #8e8e93; }
#emoji-tip button .tb { display: grid; place-items: center; width: 100%; height: 100%; font-style: normal; }
#emoji-tip button svg { width: 25px; height: 25px; }
#emoji-tip .gl-t { font-size: 21px; font-weight: 900; letter-spacing: -.04em; line-height: 1; font-family: -apple-system, "SF Pro Rounded", system-ui, sans-serif; }
#emoji-tip button[aria-pressed="true"] { background: #0a84ff; color: #fff; }
#emoji-tip button small { display: none; }
.fx-c b svg { width: 15px; height: 15px; color: currentColor; } .fx-c b .gl-t { font-size: 13px; font-weight: 900; }
.fx-c b { display: inline-flex; align-items: center; }

/* v300 — 자주 나오는 옷 필터: 글자 탭 */
.pcseg { display: flex; gap: 2px; margin: -2px 0 10px; padding: 0 2px; overflow-x: auto; scrollbar-width: none; } .pcseg::-webkit-scrollbar { display: none; }
.pcseg button { flex: none; height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: none; font-size: 14px; font-weight: 600; letter-spacing: -.02em; color: #9a9ea8; }
.pcseg button.on { background: #111; color: #fff; }
.pc2[hidden] { display: none; }

/* v301 — 채팅창 오른쪽 저장 버튼(디스크), 탐색 제목/날씨/지구본 */
.imc-bar { display: flex; align-items: center; gap: 10px; }
.imc-bar .imc-input { flex: 1; width: auto; min-width: 0; }
.imc-send { flex: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: #0a84ff; color: #fff; box-shadow: 0 6px 16px rgba(10,132,255,.3); transition: transform .2s cubic-bezier(.2,1.3,.4,1), background .25s; }
.imc-send svg { width: 22px; height: 22px; } .imc-send:active { transform: scale(.9); } .imc-send.saved { background: #34c759; box-shadow: 0 6px 16px rgba(52,199,89,.3); }
.imc-ctl .imc-sv { display: none; }

.desk-title small { font-size: 36px; } .desk-title b { font-size: 48px; padding: 4px 16px 6px; }
.desk-title .wx { margin: 14px 0 0; font-size: 12px; font-weight: 500; letter-spacing: .02em; color: #8d919b; text-align: center; }
.globe-btn { position: absolute; z-index: 25; top: max(14px, env(safe-area-inset-top)); right: 16px; width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; color: #1d1d1f; border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7); box-shadow: 0 8px 22px rgba(40,52,96,.14), inset 0 1px 0 rgba(255,255,255,.95); }
.globe-btn svg { width: 22px; height: 22px; } .globe-btn:active { transform: scale(.9); }

.globe { position: absolute; inset: 0; z-index: 80; display: flex; flex-direction: column; background: radial-gradient(80% 50% at 50% 38%, #fff, #eef0f6 70%), #f2f2f7; touch-action: none; }
.gl-x { position: absolute; z-index: 5; top: max(14px, env(safe-area-inset-top)); left: 16px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(60,64,80,.1); color: #3a3d46; } .gl-x svg { width: 18px; height: 18px; }
.gl-t { position: absolute; top: max(24px, calc(env(safe-area-inset-top) + 10px)); left: 0; right: 0; margin: 0; text-align: center; font-size: 15px; font-weight: 650; letter-spacing: -.02em; color: #111; pointer-events: none; }
.gl-stage { position: relative; flex: 1; min-height: 0; cursor: grab; overflow: hidden; user-select: none; -webkit-user-select: none; }
.gl-ball { position: absolute; border-radius: 50%; background: radial-gradient(circle at 36% 30%, #ffffff, #eceef4 62%, #e1e4ee); box-shadow: inset 0 0 0 1px rgba(60,64,80,.08), 0 30px 60px rgba(40,52,96,.12); pointer-events: none; }
.gl-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; } .gl-lines line { stroke: #8d919b; stroke-width: 1; } .gl-lines line.hot { stroke: #111; stroke-width: 1.5; }
.gn { position: absolute; left: 0; top: 0; padding: 0; border: 0; background: none; will-change: transform, opacity; }
.gn.core span { display: block; padding: 6px 12px; border-radius: 999px; background: #111; color: #fff; font-size: 12.500px; font-weight: 650; letter-spacing: -.02em; white-space: nowrap; box-shadow: 0 6px 16px rgba(30,34,60,.25); }
.gn.look .gi { display: block; width: 54px; height: 54px; border-radius: 50%; overflow: hidden; background: #e8eaf0; box-shadow: 0 0 0 3px #fff, 0 8px 18px rgba(30,34,60,.22); } .gn.look .gi img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.gn.look.sel .gi { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #0a84ff, 0 10px 22px rgba(30,34,60,.28); }
.gl-card { position: absolute; left: 16px; right: 16px; bottom: calc(110px + env(safe-area-inset-bottom)); z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 18px; border-radius: 24px; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7); box-shadow: 0 0 0 1px rgba(60,64,80,.06), 0 16px 40px rgba(30,34,60,.16); animation: wnpop .3s cubic-bezier(.2,.9,.25,1.2); }
.gl-card[hidden] { display: none; } .gl-card b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.03em; color: #111; } .gl-card small { display: block; margin-top: 2px; font-size: 12.500px; color: #8d919b; }
.gl-go { flex: none; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: #111; color: #fff; font-size: 14px; font-weight: 650; }
.gl-hint { position: absolute; left: 0; right: 0; bottom: calc(86px + env(safe-area-inset-bottom)); margin: 0; text-align: center; font-size: 12.500px; color: #9a9ea8; pointer-events: none; }
.gl-hint[hidden] { display: none; }
.stage .geo-chips { right: 68px; }
.gn { width: max-content; }
.gn.core span { display: inline-block; white-space: nowrap; }

/* v304 — OOTD 상세: 전체 사진 + 윤곽 상자 + 아래 상품 카드 */
.top.lk-hide { display: none; }
.page.lookp { position: absolute; inset: 0; padding: 0; overflow: hidden; background: #000; color: #fff; }
.lk-photo { position: absolute; inset: 0; } .lk-photo > *, .lk-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; } .lk-photo .photo { display: block; height: 100%; }
.lk-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 48%, rgba(0,0,0,.72) 100%); }
.lk-back { position: absolute; z-index: 5; top: max(14px, env(safe-area-inset-top)); left: 14px; height: 38px; padding: 0 14px 0 8px; display: inline-flex; align-items: center; gap: 2px; border: 0; border-radius: 999px; background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; font-size: 15px; font-weight: 600; }
.lk-back svg { width: 20px; height: 20px; }
.lk-box { position: absolute; z-index: 2; border: 1.500px solid rgba(255,255,255,.85); border-radius: 12px; pointer-events: none; animation: lkbox .7s cubic-bezier(.2,.9,.25,1) both .25s; }
@keyframes lkbox { from { opacity: 0; transform: scale(1.12); } }
.lk-rail { position: absolute; z-index: 5; right: 10px; bottom: 318px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lk-r { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0; border: 0; background: none; color: #fff; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.lk-r svg { width: 30px; height: 30px; } .lk-r b { font-size: 12.500px; font-weight: 600; } .lk-r.on svg { color: #ff3b5c; } .lk-r:active svg { transform: scale(1.2); } .lk-r svg { transition: transform .2s cubic-bezier(.2,1.5,.4,1); }
.lk-card { position: absolute; z-index: 5; left: 14px; right: 14px; bottom: 112px; padding: 12px 12px 12px; border-radius: 22px; background: rgba(250,249,249,.95); color: #111; box-shadow: 0 10px 40px rgba(0,0,0,.35); animation: lkcard .55s cubic-bezier(.2,.9,.25,1) both .2s; }
@keyframes lkcard { from { opacity: 0; transform: translateY(24px); } }
.lk-card header { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 10px; } .lk-card header b { font-size: 15px; font-weight: 800; letter-spacing: -.03em; }
.lk-save { height: 28px; padding: 0 13px; border: 0; border-radius: 999px; background: #111; color: #fff; font-size: 12.500px; font-weight: 650; }
.lk-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lk-it { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 6px 6px 8px; border: 0; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(60,64,80,.07); text-align: left; min-width: 0; }
.lk-ph { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; overflow: hidden; margin-bottom: 4px; } .lk-ph img, .lk-ph .fp-fallback { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; } .lk-ph .fp-fallback { width: 100%; height: 100%; }
.lk-it small { max-width: 100%; font-size: 10.500px; font-weight: 800; letter-spacing: -.02em; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-it b { max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 10.500px; font-weight: 400; line-height: 1.25; letter-spacing: -.02em; color: #6b6f78; min-height: 2.5em; }
.lk-pr { width: 100%; display: flex; align-items: center; justify-content: space-between; margin-top: 4px; } .lk-pr em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: -.03em; } .lk-pr i { display: grid; width: 12px; height: 12px; } .lk-pr svg { width: 12px; height: 12px; }
.lk-it:active { transform: scale(.96); }
.lk-dots { position: absolute; z-index: 5; left: 0; right: 0; bottom: 92px; display: flex; justify-content: center; gap: 8px; } .lk-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.4); } .lk-dots button.on { background: #fff; }
.lk-cap { position: absolute; z-index: 5; left: 18px; right: 70px; bottom: 22px; }
.lk-cap p { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; } .lk-cap p b { font-size: 17px; font-weight: 800; } .lk-cap p span { padding: 2px 9px; border-radius: 8px; background: rgba(255,255,255,.18); font-size: 12px; font-weight: 600; }
.lk-cap h2 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.03em; } .lk-cap small { display: block; margin-top: 2px; font-size: 13px; color: rgba(255,255,255,.7); }

/* v305 — 홈: 추구미끼리 이어진 아주 연한 선 */
.field { position: relative; }
.ulines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.ulines line { stroke: rgba(60,64,80,.1); stroke-width: 1; stroke-linecap: round; transition: stroke .3s; }
.ulines line.hot { stroke: rgba(60,64,80,.22); }

/* v306 — 제목 뒤 블러: 행성이 지나가도 글자가 읽히게 */
.desk-title { z-index: 30; padding: 14px 30px 12px; border-radius: 34px; background: rgba(255,255,255,.5); -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3); -webkit-mask-image: radial-gradient(120% 120% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(120% 120% at 50% 50%, #000 62%, transparent 100%); }
.desk-title { padding: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; -webkit-mask-image: none; mask-image: none; isolation: isolate; }
.desk-title::before { content: ''; position: absolute; z-index: -1; left: 50%; top: -16px; bottom: -14px; width: min(100%, 340px); transform: translateX(-50%); border-radius: 44px; background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); }

/* v308 — 점 지구본 아이콘, 더 연한 연결선 */
.gb-c { width: 34px; height: 34px; display: block; }
.globe-btn svg { display: none; }
.ulines line { stroke: rgba(60,64,80,.06); } .ulines line.hot { stroke: rgba(60,64,80,.13); }
.geo-chips .past { width: 44px; height: 44px; min-height: 44px; padding: 0; gap: 0; border-radius: 50%; display: grid; place-items: center; color: #1d1d1f; }
.geo-chips .past .hist-ico { width: 22px; height: 22px; } .geo-chips .past .moon-ico, .geo-chips .past span { display: none; }
.stage .geo-chips { right: 68px; }

/* v310 — 지난 기록: 음악 고르듯 대표 이미지 한 장, 제목은 스크롤하면 사라짐, 여백 줄이기 */
.hist .ht { padding-top: 4px; will-change: transform, opacity; }
.hwheel { top: 140px; bottom: 110px; }
.hrow { top: 118px; gap: 14px; align-items: center; padding: 6px 12px 6px 6px; border-radius: 999px; transition: background .3s, box-shadow .3s; }
.hrow.on { background: #fff; box-shadow: 0 10px 28px rgba(40,52,96,.14), 0 0 0 1px rgba(60,64,80,.05); }
.hfan { padding: 0; border: 0; background: none; display: block; }
.hc1 { display: block; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: #e8eaf0; box-shadow: 0 6px 16px rgba(40,52,96,.2); } .hc1 img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; pointer-events: none; -webkit-user-drag: none; }
.hrow .hlab { height: auto; padding: 0; background: none; box-shadow: none; display: block; min-width: 118px; }
.hrow .hlab b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.04em; color: #1c1c1e; } .hrow .hlab small { display: block; margin-top: 1px; font-size: 13px; color: #9a9ea8; letter-spacing: -.01em; }
.hrow.on .hlab b { color: #111; } .hrow.on .hlab small { color: #8d919b; }
.hgo { display: none; height: 34px; padding: 0 16px; margin-left: 6px; border-radius: 999px; background: #f1f2f6; box-shadow: 0 0 0 1px rgba(60,64,80,.06); align-items: center; font-size: 14px; font-weight: 650; color: #111; }
.hrow.on .hgo { display: inline-flex; }
.hc { display: none; }
.hfan { width: 72px; height: 72px; flex: none; }
.hrow.on .hlab, .hrow .hlab { background: none; box-shadow: none; }
.hrow.on .hlab b { color: #111; } .hrow.on .hlab small { color: #8d919b; }
.ht #ht-s, .ht span[id="ht-s"], .hist .ht > span { display: none; }

/* v312 — 지난 기록: 연도 드롭다운 */
.top-yr { justify-self: center; display: inline-flex; align-items: center; gap: 2px; height: 36px; padding: 0 8px 0 14px; border: 0; border-radius: 999px; background: none; font-size: 17px; font-weight: 700; letter-spacing: -.03em; color: #111; }
.top-yr svg { width: 16px; height: 16px; color: #8d919b; transition: transform .25s cubic-bezier(.2,.9,.25,1.2); } .top-yr[aria-expanded="true"] svg { transform: rotate(180deg); } .top-yr:active { background: rgba(60,64,80,.08); }
.yr-menu { position: absolute; z-index: 40; left: 50%; top: 4px; transform: translateX(-50%); min-width: 150px; padding: 6px; border-radius: 18px; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 0 0 1px rgba(60,64,80,.06), 0 18px 44px rgba(30,34,60,.2); animation: wnpop .22s cubic-bezier(.2,.9,.25,1.2); transform-origin: 50% 0; }
.yr-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 42px; padding: 0 14px; border: 0; border-radius: 12px; background: none; font-size: 17px; color: #111; } .yr-menu button:active { background: #f0f0f3; } .yr-menu svg { width: 18px; height: 18px; color: #0a84ff; }
.hrow { top: 92px; }
.hwheel { top: 124px; }

/* v320 — 픽셀 지구본 */
.globe-btn { width: 52px; height: 52px; } .gb-c { width: 42px; height: 42px; }

/* v320 — 지난 기록: 월간 달력 / 주간 */
.page.cal2 { padding: 6px 16px 130px; background: #ececf0; min-height: 100%; position: relative; }
.cal2-paper { position: relative; margin-top: 18px; padding: 34px 12px 16px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px rgba(30,34,60,.16); }
.cal2-pin { position: absolute; left: 50%; top: -16px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #ff8a8a 0, #d62b2b 42%, #8f1414 100%); box-shadow: 4px 8px 8px rgba(0,0,0,.28); z-index: 2; }
.cal2-head { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 4px 0 16px; }
.cal2-head h2 { margin: 0; min-width: 190px; text-align: center; font-family: "Courier Prime", "Courier New", monospace; font-size: 38px; font-weight: 700; letter-spacing: -.04em; color: #111; }
.cal2-head button, .wk-nav button { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: none; color: #8d919b; display: grid; place-items: center; } .cal2-head svg, .wk-nav svg { width: 18px; height: 18px; } .cal2-head button:active, .wk-nav button:active { background: rgba(60,64,80,.08); }
.cal2-dow { display: grid; grid-template-columns: repeat(7, 1fr); background: #e6e6e8; border: 1px solid #111; border-bottom: 0; }
.cal2-dow span { padding: 9px 0 8px 6px; font-size: 10.500px; font-weight: 800; letter-spacing: .02em; color: #111; }
.cal2-grid { display: grid; grid-template-columns: repeat(7, 1fr); border-left: 1px solid #111; border-top: 1px solid #111; }
.c2d { position: relative; aspect-ratio: 1 / 1.05; padding: 0; border: 0; border-right: 1px solid #111; border-bottom: 1px solid #111; background: #fff; overflow: hidden; text-align: left; }
.c2d.blank { background: #fff; } .c2d img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.c2d span { position: absolute; left: 4px; top: 3px; font-size: 10.500px; font-weight: 600; color: #222; } .c2d.has span { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.c2d:active { opacity: .8; }
.cal2-mode { display: block; margin: 22px auto 0; height: 44px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 650; letter-spacing: -.01em; color: #111; border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7); box-shadow: 0 8px 22px rgba(40,52,96,.14), inset 0 1px 0 rgba(255,255,255,.95); }
.cal2-mode:active { transform: scale(.96); }
.cal2-foot { margin: 20px 0 0; text-align: center; font-family: "Courier Prime", monospace; font-size: 11px; letter-spacing: .14em; color: #9a9ea8; }
.cal2.wk { background: #fff; }
.wk-top { display: flex; align-items: center; justify-content: space-between; margin: 8px 2px 14px; }
.wk-month { font-size: 22px; font-weight: 700; letter-spacing: -.03em; color: #111; }
.wk-nav { display: flex; gap: 4px; }
.wk-strip { display: grid; grid-template-columns: repeat(7, 1fr); padding-bottom: 12px; border-bottom: 1px solid rgba(60,64,80,.1); }
.wk-d { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; }
.wk-d small { font-size: 12px; font-weight: 500; color: #6b6f78; }
.wk-d b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-size: 20px; font-weight: 400; letter-spacing: -.02em; color: #111; }
.wk-d.on b { background: #0a84ff; color: #fff; font-weight: 600; } .wk-d.today:not(.on) b { color: #0a84ff; }
.wk-d i { position: absolute; bottom: -8px; width: 4px; height: 4px; border-radius: 50%; background: #c1c4cc; } .wk-d.on i { background: #0a84ff; }
.wk-body { position: relative; min-height: 600px; margin-left: 54px; border-left: 1px solid rgba(60,64,80,.1); padding: 6px 0 0 12px; }
.wk-h { position: absolute; left: -54px; right: -16px; height: 1px; background: rgba(60,64,80,.08); } .wk-h em { position: absolute; left: 0; top: -9px; width: 48px; text-align: right; font-style: normal; font-size: 12px; color: #8d919b; }
.wk-ev { position: relative; display: flex; align-items: flex-start; gap: 12px; width: calc(100% - 6px); margin-top: 30px; padding: 14px 14px 140px; border: 0; border-radius: 10px; background: var(--c, #f2e6e6); text-align: left; overflow: visible; }
.wk-ev .bar { flex: none; width: 4px; align-self: stretch; margin: 2px 0 2px 0; border-radius: 3px; background: #a05cc7; }
.wk-ev h3 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.04em; color: #1c1c1e; } .wk-ev p { margin: 4px 0 0; font-size: 13px; color: #8f5eb5; }
.wk-ph { position: absolute; right: 8px; bottom: -64px; width: 62%; aspect-ratio: 4 / 5; border-radius: 26px 26px 26px 26px; overflow: hidden; transform: rotate(3deg); box-shadow: 0 14px 30px rgba(30,34,60,.28); background: #ddd; } .wk-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.wk-star { position: absolute; right: -6px; top: 60px; font-style: normal; font-size: 28px; color: #111; transform: rotate(14deg); }
.wk-none { margin: 40px 0 0; font-size: 14px; color: #9a9ea8; }

/* v322 — 홈에서는 시계 버튼 숨김(지구본 화면 안에 있음) */
.stage .geo-chips .past { display: none; }
.gl-h { position: absolute; z-index: 5; top: max(14px, env(safe-area-inset-top)); right: 16px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(60,64,80,.1); color: #3a3d46; } .gl-h svg { width: 21px; height: 21px; } .gl-h:active { background: rgba(60,64,80,.18); }

/* v323 — 퍼스널 최적화 시트: 더 가볍고 애플스럽게 (카드 없이 얇은 구분선 목록) */
.sheet .rc-h { margin: 20px 4px 4px; font-size: 13px; font-weight: 600; letter-spacing: -.01em; color: #8d919b; } .sheet .rc-h small { font-size: 13px; color: #b0b4bd; }
.rc-list { gap: 0; }
.rc { padding: 10px 44px 10px 2px; border-radius: 0; background: none; border-bottom: 1px solid rgba(60,64,80,.08); gap: 12px; }
.rc:last-child { border-bottom: 0; }
.rc-ph { width: 56px; height: 56px; padding: 4px; border-radius: 12px; background: #f6f6f8; }
.rc-t small { font-size: 11.500px; } .rc-t b { font-size: 15px; font-weight: 600; letter-spacing: -.02em; } .rc-t em { font-size: 12.500px; color: #8d919b; }
.rc-go { right: 2px; width: 28px; height: 28px; margin-top: -14px; box-shadow: 0 3px 10px rgba(40,52,96,.1), inset 0 1px 0 rgba(255,255,255,.95); } .rc-go svg { width: 15px; height: 15px; }
.sheet .mixrow { padding: 8px 2px; border-bottom: 1px solid rgba(60,64,80,.08); grid-template-columns: 44px 1fr auto; } .sheet .mixrow:last-child { border-bottom: 0; }
.sheet .mixrow .photo { width: 44px; height: 44px; border-radius: 10px; }
.sheet .mixlist { gap: 0; margin: 4px 0 12px; }
.sheet .mixrow b { font-size: 15px; font-weight: 600; } .sheet .mixrow small { font-size: 12.500px; }
.sheet .mixrow .link { font-size: 14px; color: #0a84ff; text-decoration: none; font-weight: 500; }
.tidy-btn { height: 46px; font-size: 15px; font-weight: 600; background: #f4f4f7; }
.sheet p.sub { font-size: 13px; font-weight: 400; color: #8d919b; margin-bottom: 6px; }

/* v324 — OOTD 상세: 하트와 공유만, Details 유리 카드 (SF 글자 크기) */
.lk-box, .lk-save { display: none; }
.lk-shade { background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 52%, rgba(0,0,0,.55) 100%); }
.lk-back { width: 40px; height: 40px; padding: 0; justify-content: center; background: rgba(255,255,255,.22); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); border: 1px solid rgba(255,255,255,.28); } .lk-back span { display: none; }
.lk-rail { right: 14px; bottom: 296px; gap: 12px; }
.lk-r { width: 46px; height: 46px; border-radius: 50%; justify-content: center; background: rgba(255,255,255,.22); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); border: 1px solid rgba(255,255,255,.28); filter: none; }
.lk-r svg { width: 22px; height: 22px; } .lk-r b { display: none; } .lk-r.like.on svg { color: #ff453a; }
.lk-card { left: 12px; right: 12px; bottom: 104px; padding: 16px 14px 14px; border-radius: 28px; background: rgba(250,250,252,.74); -webkit-backdrop-filter: blur(34px) saturate(1.8); backdrop-filter: blur(34px) saturate(1.8); border: 1px solid rgba(255,255,255,.55); box-shadow: 0 12px 40px rgba(0,0,0,.22); color: #1d1d1f; }
.lk-card h4 { margin: 0 4px 12px; font-size: 17px; font-weight: 600; letter-spacing: -.022em; }
.lk-items { gap: 6px; }
.lk-it { padding: 0; background: none; box-shadow: none; border-radius: 0; gap: 2px; }
.lk-ph { aspect-ratio: 1; margin-bottom: 8px; border-radius: 16px; background: rgba(255,255,255,.7); padding: 8px; box-sizing: border-box; }
.lk-it small { font-size: 11px; font-weight: 400; letter-spacing: -.01em; color: #6e6e73; }
.lk-it b { font-size: 13px; font-weight: 500; line-height: 1.25; letter-spacing: -.016em; color: #1d1d1f; min-height: 2.5em; -webkit-line-clamp: 2; }
.lk-it em { margin-top: 2px; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: -.016em; color: #1d1d1f; }
.lk-dots { bottom: 82px; gap: 6px; } .lk-dots button { width: 6px; height: 6px; }
.lk-cap { left: 20px; right: 20px; bottom: 26px; display: flex; flex-direction: column; gap: 1px; }
.lk-cap b { font-size: 15px; font-weight: 600; letter-spacing: -.02em; color: #fff; } .lk-cap span { font-size: 13px; color: rgba(255,255,255,.72); letter-spacing: -.01em; }
.lk-cap p, .lk-cap h2, .lk-cap small { display: none; }
.lk-rail { bottom: 350px; }
.lk-card { background: rgba(255,255,255,.8); }
.lk-it b { word-break: keep-all; overflow-wrap: break-word; }

/* v326 — Details: 옷장과 같은 Finder 창 문법, 순백 */
.lk-card.lk-win { padding: 0; overflow: hidden; border-radius: 16px; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border: 0; box-shadow: 0 14px 44px rgba(0,0,0,.28); }
.lk-bar { position: relative; display: flex; align-items: center; justify-content: center; height: 38px; background: #f2f2f4; border-bottom: 1px solid rgba(60,64,80,.1); }
.lk-bar b { font-size: 13px; font-weight: 600; letter-spacing: -.01em; color: #3a3d46; }
.lk-bar .fx-dots { left: 12px; gap: 6px; } .lk-bar .fx-dots i { width: 11px; height: 11px; }
.lk-win .lk-items { gap: 2px; padding: 12px 10px 12px; background: #fff; }
.lk-win .lk-it { align-items: center; gap: 0; background: none; }
.lk-win .lk-ph { width: 100%; aspect-ratio: 1; margin: 0 0 4px; padding: 6%; border-radius: 0; background: none; }
.lk-win .lk-f { max-width: 100%; font-size: 10.500px; font-weight: 400; letter-spacing: -.01em; color: #3a3d46; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.lk-card h4, .lk-win .lk-it small, .lk-win .lk-it b, .lk-win .lk-it em { display: none; }
.lk-rail { bottom: 322px; }
.lk-win .lk-f { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; word-break: break-all; min-height: 2.6em; }
.lk-win .lk-f { word-break: normal; overflow-wrap: anywhere; }

/* v330 — 옷장 첫 화면: 찜한 옷 캐러셀 + 대표 폴더 3개, Finder 얇은 헤더 */
.page:has(.wh-home) { padding: 0; min-height: 100%; display: flex; flex-direction: column; background: #fff; }
.wardrobe.wh-home { flex: 1; display: flex; flex-direction: column; padding: 0; margin: 0; }
.fx-bar.thin { height: 38px; flex: none; }
.fx-bar.thin .fx-dots { left: 12px; gap: 6px; } .fx-bar.thin .fx-dots i { width: 11px; height: 11px; }
.wh-me { position: absolute; right: 12px; height: 28px; padding: 0 8px; border: 0; background: none; font-size: 14px; font-weight: 500; color: #0a84ff; }
.wh-car { flex: 0 0 56%; display: flex; gap: 12px; padding: 18px 15% 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: stretch; }
.wh-car::-webkit-scrollbar { display: none; }
.wh-card { position: relative; flex: none; width: 70%; padding: 0; border: 0; border-radius: 28px; overflow: hidden; background: #e8eaf0; scroll-snap-align: center; transform: scale(.92); opacity: .72; transition: transform .35s cubic-bezier(.2,.9,.25,1), opacity .35s; box-shadow: 0 10px 30px rgba(30,34,60,.14); text-align: left; }
.wh-card.on { transform: none; opacity: 1; }
.wh-img { position: absolute; inset: 0; display: block; } .wh-img > * { display: block; width: 100%; height: 100%; } .wh-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.wh-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 52%, rgba(0,0,0,.5) 100%); }
.wh-cap { position: absolute; left: 16px; right: 56px; bottom: 16px; font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; color: #fff; word-break: keep-all; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.wh-ck { position: absolute; right: 14px; bottom: 14px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,.95); display: grid; place-items: center; color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.2); } .wh-ck svg { width: 15px; height: 15px; opacity: 0; }
.wh-card.on .wh-ck { background: #0a84ff; border-color: #fff; } .wh-card.on .wh-ck svg { opacity: 1; }
.wh-dock { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); align-content: start; gap: 6px; padding: 24px 22px calc(104px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(60,64,80,.1); background: #fff; }
.wh-f { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: none; }
.wh-ic { position: relative; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 19px; background: linear-gradient(180deg, #fff, #f3f4f8); box-shadow: 0 0 0 1px rgba(60,64,80,.09), 0 6px 16px rgba(30,34,60,.1); transition: transform .2s cubic-bezier(.2,1.3,.4,1); }
.wh-ic svg { width: 46px; height: 38px; } .wh-f:active .wh-ic { transform: scale(.92); }
.wh-bd { position: absolute; right: -8px; top: -8px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; display: grid; place-items: center; background: #ff3b30; color: #fff; font-style: normal; font-size: 13px; font-weight: 600; box-shadow: 0 2px 6px rgba(255,59,48,.35), 0 0 0 2px #fff; }
.wh-f b { font-size: 13px; font-weight: 500; letter-spacing: -.01em; color: #1d1d1f; }
.fx-dots .fx-dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: #ff5f57; position: relative; } .fx-dots .fx-dot::after { content: ''; position: absolute; inset: -9px; }
.fx-bar:not(.thin) .fx-dots { left: 14px; }
.page:has(.wh-home) { height: 100%; }
.wh-car { flex: 0 0 54%; min-height: 300px; }
/* 탐색 제목 15% 아래로 */
.desk-title { top: calc(120px + 15vh); }
.desk-title { top: calc(120px + 9vh); }
.desk-title { top: calc(120px + 5.5vh); }

/* v335 — 옷장 첫 화면: 모델 사진 캐러셀 (가로 넓게) */
.wh-car { flex: 0 0 auto; min-height: 0; padding: 22px 13% 20px; align-items: center; }
.wh-card { width: 100%; aspect-ratio: 3 / 4; background: var(--bg, #e8ecf4); }
.wh-card { flex: 0 0 100%; }
.wh-model { position: absolute; left: 50%; bottom: 0; height: 96%; width: auto; max-width: none; transform: translateX(-50%); object-fit: contain; filter: drop-shadow(0 12px 18px rgba(30,34,60,.18)); pointer-events: none; }
.wh-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; pointer-events: none; }
.wh-chip { position: absolute; left: 12px; top: 12px; width: 54px; height: 54px; padding: 5px; border-radius: 16px; background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 4px 14px rgba(30,34,60,.16); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.wh-chip img, .wh-chip .fp-fallback { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; } .wh-chip .fp-fallback { width: 100%; height: 100%; }
.wh-shade { background: linear-gradient(180deg, rgba(0,0,0,0) 56%, rgba(0,0,0,.5) 100%); }
.wh-img { display: none; }
.wh-car { padding: 22px 8% 20px; }

/* v337 — 캐러셀 체크 제거, 인기 있는 찜 제품 */
.wh-ck { display: none; }
.wh-card { aspect-ratio: 4 / 5; }
.wh-car { padding: 18px 8% 14px; }
.wh-pop { padding: 8px 0 4px; }
.wh-pop h3 { margin: 0 20px 10px; font-size: 17px; font-weight: 600; letter-spacing: -.022em; color: #1d1d1f; }
.wh-pop-row { display: flex; gap: 12px; padding: 0 20px 6px; overflow-x: auto; scrollbar-width: none; } .wh-pop-row::-webkit-scrollbar { display: none; }
.wh-pi { flex: none; width: 116px; padding: 0; border: 0; background: none; text-align: left; display: flex; flex-direction: column; gap: 1px; }
.wh-pt { display: flex; align-items: center; justify-content: center; width: 116px; height: 116px; margin-bottom: 7px; padding: 10px; border-radius: 18px; background: #f6f6f8; box-sizing: border-box; overflow: hidden; } .wh-pt img, .wh-pt .fp-fallback { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; } .wh-pt .fp-fallback { width: 100%; height: 100%; }
.wh-pi small { font-size: 11px; color: #6e6e73; letter-spacing: -.01em; } .wh-pi b { font-size: 13px; font-weight: 500; line-height: 1.25; letter-spacing: -.016em; color: #1d1d1f; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; } .wh-pi em { font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: -.016em; color: #1d1d1f; }
.wh-pi:active .wh-pt { transform: scale(.96); }
.wh-dock { flex: none; border-top: 0; padding-top: 14px; }
.page:has(.wh-home) { height: auto; min-height: 100%; }
.wh-card { aspect-ratio: 10 / 11; }
.wh-car { padding: 14px 8% 8px; }
.wh-pop { padding-top: 4px; } .wh-pop h3 { margin-bottom: 8px; font-size: 16px; }
.wh-pi, .wh-pt { width: 100px; } .wh-pt { height: 100px; margin-bottom: 5px; padding: 8px; }
.wh-dock { padding: 8px 22px calc(96px + env(safe-area-inset-bottom)); gap: 4px; }
.wh-ic { width: 64px; height: 64px; border-radius: 17px; } .wh-ic svg { width: 40px; height: 33px; }
.wh-bd { min-width: 22px; height: 22px; font-size: 12px; right: -7px; top: -7px; }
.wh-f { gap: 6px; }

/* v340 — 옷장 첫 화면: 대표 추구미 배경 + Photo Booth 창 + 흩어진 폴더 */
.page:has(.wh-home) { padding: 0; height: 100%; min-height: 0; overflow: hidden; background: #000; }
.wardrobe.wh-home { position: relative; flex: 1; height: 100%; margin: 0; padding: 0; overflow: hidden; display: block; }
.wh-wall { position: absolute; inset: 0; background: var(--wall) center 30% / cover no-repeat; }
.wh-wall::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.04) 40%, rgba(0,0,0,.18)); }
.wh-menu { position: absolute; left: 0; right: 0; top: 0; z-index: 6; background: rgba(250,250,252,.72); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); border-bottom: 1px solid rgba(255,255,255,.5); }
.wh-menu .fx-title { color: #1d1d1f; }
.wh-desk { position: absolute; inset: 38px 0 0 0; }
.wh-win { position: absolute; left: 50%; top: 12%; width: 84%; transform: translateX(-50%); background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.34), 0 0 0 1px rgba(0,0,0,.06); z-index: 3; }
.wh-win .fx-bar.thin { background: #f6f6f8; position: relative; height: 34px; } .wh-wt { font-size: 13px; font-weight: 600; color: #3a3d46; }
.wh-win .wh-car { padding: 0; gap: 0; flex: none; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; align-items: stretch; }
.wh-win .wh-card { flex: 0 0 100%; width: 100%; aspect-ratio: 1 / 1.08; border-radius: 0; transform: none; opacity: 1; box-shadow: none; background: #e8ecf4; scroll-snap-align: center; }
.wh-win .wh-card.on { transform: none; }
.wh-win .wh-photo { object-position: 50% 28%; }
.wh-win .wh-shade, .wh-win .wh-cap, .wh-win .wh-ck { display: none; }
.wh-win .wh-chip { left: 10px; top: 10px; width: 46px; height: 46px; border-radius: 13px; padding: 4px; }
.wh-bubble { position: absolute; left: 14px; bottom: 82px; z-index: 4; max-width: 72%; padding: 9px 14px; border-radius: 19px; background: #e9e9eb; color: #1c1c1e; font-size: 15px; line-height: 1.3; letter-spacing: -.01em; word-break: keep-all; box-shadow: 0 4px 14px rgba(0,0,0,.14); animation: whbub .5s cubic-bezier(.2,1.2,.4,1) both .3s; }
.wh-bubble::before, .wh-bubble::after { content: ''; position: absolute; bottom: 0; }
.wh-bubble::before { left: -7px; width: 18px; height: 18px; background: #e9e9eb; border-bottom-right-radius: 16px 14px; }
.wh-bubble::after { left: -26px; width: 26px; height: 20px; background: #fff; border-bottom-right-radius: 10px; }
@keyframes whbub { from { opacity: 0; transform: translateY(8px) scale(.9); transform-origin: 0 100%; } }
.wh-booth { position: relative; display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 16px; background: #fff; border-top: 1px solid rgba(60,64,80,.08); }
.wh-last { width: 42px; height: 42px; border-radius: 9px; overflow: hidden; background: #f0f1f5; display: flex; align-items: center; justify-content: center; } .wh-last img { width: 100%; height: 100%; object-fit: cover; display: block; } .wh-last .fp-fallback, .wh-last svg { width: 80%; height: 80%; }
.wh-shot { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; padding: 0; border: 0; border-radius: 50%; background: #e24a56; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(226,74,86,.4); transition: transform .2s cubic-bezier(.2,1.3,.4,1); } .wh-shot svg { width: 24px; height: 24px; } .wh-shot:active { transform: scale(.9); }
.wh-tag { height: 24px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; border: 1px solid rgba(60,64,80,.5); font-size: 12px; color: #3a3d46; }
.wh-fd { position: absolute; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; border: 0; background: none; }
.wh-fd.a { left: 7%; top: 1.5%; } .wh-fd.b { left: 9%; bottom: 128px; } .wh-fd.c { right: 9%; bottom: 128px; }
.wh-fd .wh-ic { width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; } .wh-fd .wh-ic svg { width: 68px; height: 56px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.28)); }
.wh-fd b, .wh-pt2 b { font-size: 12px; font-weight: 500; letter-spacing: -.01em; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wh-pt2 { position: absolute; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; border: 0; background: none; }
.wh-pt2 > span { width: 62px; height: 62px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.28); display: flex; align-items: center; justify-content: center; box-sizing: border-box; overflow: hidden; } .wh-pt2 img, .wh-pt2 .fp-fallback { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; } .wh-pt2 .fp-fallback { width: 100%; height: 100%; }
.wh-pt2.p0 { right: 7%; top: 1.5%; } .wh-pt2.p1 { left: 50%; margin-left: -36px; bottom: 128px; }
.wh-bd { background: #ff3b30; }

/* OOTD 올리기 시트 */
.oo-photo { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 4.6; margin: 4px 0 0; border-radius: 22px; background: #f2f2f6; overflow: hidden; cursor: pointer; }
.oo-photo img { width: 100%; height: 100%; object-fit: cover; display: block; } .oo-cam { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #6e6e73; } .oo-cam svg { width: 34px; height: 34px; } .oo-cam b { font-size: 16px; font-weight: 600; color: #1d1d1f; } .oo-cam small { font-size: 13px; }
.oo-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 6px; margin-bottom: 16px; }
.oo-it { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0; border: 0; background: none; }
.oo-it > span { width: 100%; aspect-ratio: 1; padding: 8px; border-radius: 14px; background: #f6f6f8; display: flex; align-items: center; justify-content: center; box-sizing: border-box; overflow: hidden; } .oo-it img, .oo-it .fp-fallback { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; } .oo-it .fp-fallback { width: 100%; height: 100%; }
.oo-it small { max-width: 100%; font-size: 10px; color: #3a3d46; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oo-it i { position: absolute; right: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(60,64,80,.3); background: rgba(255,255,255,.7); } .oo-it.on i { background: #0a84ff; border-color: #fff; box-shadow: 0 2px 6px rgba(10,132,255,.4); } .oo-it.on > span { box-shadow: inset 0 0 0 2px #0a84ff; }
.ob-got { flex-basis: 100%; margin-top: 18px; text-align: center; } .ob-got p { margin: 0 0 10px; font-size: 15px; font-weight: 600; color: #1d1d1f; letter-spacing: -.02em; } .ob-got small { display: block; margin-top: 8px; font-size: 12px; color: #8d919b; }
.ob-got-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; } .ob-got-row span { width: 46px; height: 46px; padding: 4px; border-radius: 12px; background: #f4f5f8; display: flex; align-items: center; justify-content: center; box-sizing: border-box; overflow: hidden; } .ob-got-row img, .ob-got-row .fp-fallback { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; } .ob-got-row .fp-fallback { width: 100%; height: 100%; }
.lkimg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; }
.look-grid .lk .photo { overflow: hidden; }
.top.home:empty { display: none; }
.wh-menu { padding-top: env(safe-area-inset-top); height: calc(38px + env(safe-area-inset-top)); } .wh-desk { top: calc(38px + env(safe-area-inset-top)); }
.wh-last { padding: 0; border: 0; color: #3a3d46; background: #f0f1f5; cursor: pointer; } .wh-last svg { width: 24px; height: 24px; } .wh-last:active { background: #e4e6ec; }
