/* ============================================================================
   폰민트 — 고객용 시세 조회 앱
   폰트: 나눔스퀘어 네오 / 브랜드 컬러: 민트초록
   디자인 원칙: 박스 최소화 · 여백과 구분선 중심의 깔끔한 모바일 UI
   ============================================================================ */

@font-face { font-family: 'NanumSquareNeo'; font-weight: 300; font-display: swap;
  src: url('https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-aLt.woff2') format('woff2'); }
@font-face { font-family: 'NanumSquareNeo'; font-weight: 400; font-display: swap;
  src: url('https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-bRg.woff2') format('woff2'); }
@font-face { font-family: 'NanumSquareNeo'; font-weight: 700; font-display: swap;
  src: url('https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-cBd.woff2') format('woff2'); }
@font-face { font-family: 'NanumSquareNeo'; font-weight: 800; font-display: swap;
  src: url('https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-dEb.woff2') format('woff2'); }
@font-face { font-family: 'NanumSquareNeo'; font-weight: 900; font-display: swap;
  src: url('https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-eHv.woff2') format('woff2'); }

:root {
  /* 뉴트럴 */
  --bg:        #eef1f3;
  --surface:   #ffffff;
  --surface-2: #f6f8f9;
  --ink:       #14201d;
  --ink-2:     #5a6b66;
  --ink-3:     #9aa8a3;
  --line:      #eaeeec;
  --line-2:    #f1f4f3;

  /* 브랜드 민트 (기본) — Tweaks 에서 --point* 만 교체 */
  --point:      #07c29c;
  --point-600:  #04a082;
  --point-soft: #e6faf4;
  --point-ink:  #07725d;

  /* 의미색 */
  --rose:      #e5484d;
  --rose-soft: #fdf0f0;
  --amber:     #b4690e;
  --amber-soft:#fdf6ec;
  --kakao:     #fee500;

  --r-card: 18px;
  --r-ctrl: 14px;
  --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(20,32,29,.04), 0 8px 20px rgba(20,32,29,.05);
  --shadow-pop:  0 -2px 10px rgba(20,32,29,.04), 0 -18px 48px rgba(20,32,29,.09);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; }
body { background: var(--bg); }
button, input, textarea, select, a { font-family: inherit; letter-spacing: inherit; }

body {
  font-family: 'NanumSquareNeo', sans-serif !important;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.012em;
  word-break: keep-all;
  overflow-wrap: break-word;
  font-synthesis: none;
}

/* 레이아웃 ------------------------------------------------------------------ */
#root { min-height: 100dvh; }
.viewport {
  display: flex; justify-content: center; align-items: stretch;
  min-height: 100dvh;
  background: var(--bg);
}
.app {
  position: relative; width: 100%; max-width: 430px; height: 100dvh;
  background: var(--surface); display: flex; flex-direction: column; overflow: hidden;
}
/* PC: 폰 프레임 없이 길쭉하게, 너비는 조금 더 넓게 */
@media (min-width: 480px) {
  .app { max-width: 560px; }
}

/* ── 공통 골격 ───────────────────────────────────────────────────────────── */
.scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.scroll::-webkit-scrollbar { width: 0; height: 0; }
.muted { color: var(--ink-3); }
.section { padding: 22px 20px; }
.section + .section { border-top: 1px solid var(--line); }
.section.gap { border-top: 9px solid var(--surface-2); }
.label { font-size: 13.5px; font-weight: 800; color: var(--ink-2); margin: 0 0 11px; }
.label .label__sub { font-weight: 700; color: var(--ink-3); margin-left: 6px; }
.h-sec { font-size: 18px; font-weight: 900; letter-spacing: -.02em; margin: 0 0 4px; }

/* ── 상태바 ──────────────────────────────────────────────────────────────── */
.statusbar { flex: none; display: flex; align-items: center; justify-content: space-between;
  height: 40px; padding: 0 24px 0 28px; background: var(--surface); color: var(--ink);
  font-feature-settings: "tnum"; z-index: 25; }
.statusbar__time { font-size: 15px; font-weight: 800; letter-spacing: 0; }
.statusbar__icons { display: flex; align-items: center; gap: 7px; }
.statusbar__batt { width: 24px; height: 12px; border-radius: 3px; border: 1.5px solid currentColor; position: relative; padding: 1.5px; }
.statusbar__batt::after { content: ""; position: absolute; right: -3px; top: 50%; transform: translateY(-50%); width: 1.6px; height: 4px; border-radius: 0 1px 1px 0; background: currentColor; }
.statusbar__batt i { display: block; width: 70%; height: 100%; border-radius: 1px; background: currentColor; }

/* ── 앱바 ────────────────────────────────────────────────────────────────── */
.appbar {
  flex: none; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center;
  height: 54px; padding: 0 8px; background: rgba(255,255,255,.9);
  backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line-2); z-index: 20;
}
.appbar__title { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 16.5px; font-weight: 900; }
.appbar__title svg { color: var(--ink-3); }
.iconbtn { width: 44px; height: 44px; display: grid; place-items: center; border: none; background: none; color: var(--ink); cursor: pointer; border-radius: 12px; }
.iconbtn:active { background: var(--surface-2); }

.notice { flex: none; display: flex; align-items: center; justify-content: center; gap: 6px; height: 34px;
  font-size: 12.5px; font-weight: 700; color: var(--ink-2); background: var(--point-soft); }
.notice b { color: var(--point-ink); font-weight: 800; }
.notice .t { white-space: nowrap; }
.notice--mute { background: var(--surface-2); color: var(--ink-3); }
.notice--mute b { color: var(--ink-2); }

/* ── 브랜드 마크 ─────────────────────────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--point);
  display: grid; place-items: center; box-shadow: 0 4px 10px -2px rgba(7,194,156,.5);
}
.brand__name { font-size: 19px; font-weight: 900; letter-spacing: -.03em; white-space: nowrap; }
.brand__name .m { color: var(--point); }

/* ============================================================================
   로그인 화면
   ============================================================================ */
.login { flex: 1 1 auto; display: flex; flex-direction: column; width: 100%; max-width: 460px; margin: 0 auto;
  padding: 0 28px calc(26px + env(safe-area-inset-bottom)); }
.login__hero { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0; }
.login__logo { display: flex; align-items: center; gap: 11px; margin-bottom: 26px; }
.login__logo .brand__mark { width: 46px; height: 46px; border-radius: 13px; }
.login__logo .brand__name { font-size: 27px; }
.login__title { font-size: 27px; font-weight: 900; line-height: 1.32; letter-spacing: -.03em; margin: 0; }
.login__title .hl { color: var(--point); }
.login__sub { font-size: 15px; font-weight: 600; color: var(--ink-2); line-height: 1.6; margin: 14px 0 0; }
.login__art {
  align-self: stretch; height: 172px; margin: 30px 0 0; border-radius: 22px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--point) 0%, #34d9b6 100%);
  box-shadow: 0 16px 30px -16px rgba(7,194,156,.6);
}
.login__art::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 210px; height: 210px;
  border-radius: 50%; background: rgba(255,255,255,.14); }
.login__art::before { content: ""; position: absolute; right: 44px; top: -40px; width: 110px; height: 110px;
  border-radius: 50%; background: rgba(255,255,255,.10); }
.login__art .tag { position: absolute; left: 24px; top: 26px; color: #fff; font-size: 16px; font-weight: 800; line-height: 1.5; z-index: 1; }
.login__art .tag small { display: block; font-size: 12.5px; font-weight: 700; opacity: .9; margin-top: 7px; }
.login__art .leaf { position: absolute; right: 26px; bottom: 22px; width: 60px; height: 60px; opacity: .92; z-index: 1; }
.login__actions { flex: none; display: grid; gap: 10px; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; border: none; cursor: pointer;
  border-radius: 15px; padding: 16px; font-size: 15.5px; font-weight: 800; font-family: inherit; transition: filter .15s var(--ease), transform .08s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--kakao { background: var(--kakao); color: #191600; }
.btn--mint { background: var(--point); color: #fff; }
.btn--mint:active { filter: brightness(.96); }
.btn--ghost { background: none; color: var(--ink-2); font-weight: 700; }
.btn--ghost u { text-underline-offset: 3px; }
.login__fine { flex: none; text-align: center; font-size: 11.5px; font-weight: 600; color: var(--ink-3); margin: 16px 0 0; line-height: 1.6; }
.login__fine a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }

/* PC(넓은 프레임)에서 여백·크기 보정 */
@media (min-width: 480px) {
  .login { padding-bottom: 36px; }
  .login__title { font-size: 30px; }
  .login__sub { font-size: 15.5px; }
  .login__art { height: 190px; margin-top: 34px; }
  .login__actions { gap: 11px; }
}

/* ── 휴대폰 번호 인증 바텀시트 ─────────────────────────────────────────────── */
.psheet-scrim { position: absolute; inset: 0; z-index: 300; background: rgba(10,18,14,.5);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: pscrimIn .2s ease; }
@keyframes pscrimIn { from { opacity: 0; } to { opacity: 1; } }
.psheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 301; background: var(--surface);
  border-radius: 24px 24px 0 0; padding: 10px 24px calc(26px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 30px -10px rgba(10,18,14,.3); animation: psheetUp .3s cubic-bezier(.22,1,.36,1); }
@keyframes psheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.psheet__grab { width: 40px; height: 4px; border-radius: 999px; background: var(--line); margin: 0 auto 4px; }
.psheet__close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: none;
  background: var(--surface-2); color: var(--ink-2); border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.psheet__close:active { background: var(--line); }
.psheet__body { display: flex; flex-direction: column; padding-top: 16px; }
.psheet__ic { width: 52px; height: 52px; border-radius: 16px; background: var(--point-soft);
  color: var(--point); display: grid; place-items: center; margin-bottom: 16px; }
.psheet__title { font-size: 21px; font-weight: 900; letter-spacing: -.02em; color: var(--ink); }
.psheet__desc { font-size: 14px; font-weight: 600; color: var(--ink-3); line-height: 1.55; margin: 8px 0 22px; }
.psheet__desc b { color: var(--ink); font-weight: 800; }

.pfield { display: flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 14px;
  padding: 0 14px; height: 56px; background: var(--surface-2); transition: border-color .15s, background .15s; }
.pfield[data-on="true"] { border-color: var(--point); background: var(--surface); }
.pfield__in { flex: 1 1 auto; min-width: 0; border: none; background: none; outline: none; font-size: 18px;
  font-weight: 800; letter-spacing: .3px; color: var(--ink); font-family: inherit; }
.pfield__in::placeholder { color: var(--ink-3); font-weight: 600; letter-spacing: normal; }
.pfield__ok { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--point); color: #fff; display: grid; place-items: center; }

.pcode { width: 100%; border: 2px solid var(--line); border-radius: 14px; height: 60px; background: var(--surface-2);
  text-align: center; font-size: 28px; font-weight: 900; letter-spacing: 12px; color: var(--ink);
  font-family: inherit; outline: none; padding-left: 12px; }
.pcode:focus { border-color: var(--point); background: var(--surface); }
.pcode::placeholder { letter-spacing: 10px; color: var(--line); }

.psheet__err { font-size: 13px; font-weight: 700; color: #e0392f; margin-top: 12px; }
.psheet__cta { width: 100%; border: none; border-radius: 14px; height: 54px; margin-top: 22px;
  background: var(--point); color: #fff; font-size: 16px; font-weight: 800; font-family: inherit; cursor: pointer;
  transition: filter .15s, background .15s; }
.psheet__cta:active { filter: brightness(.96); }
.psheet__cta:disabled { background: var(--line); color: var(--ink-3); cursor: default; }
.psheet__fine { font-size: 11.5px; font-weight: 600; color: var(--ink-3); text-align: center; margin-top: 16px; line-height: 1.5; }
.psheet__fine b { color: var(--ink-2); font-weight: 700; }
.psheet__timer { display: flex; align-items: center; justify-content: space-between; margin-top: 14px;
  font-size: 13px; font-weight: 700; color: var(--ink-3); }
.psheet__timer b { color: var(--point-ink); }
.psheet__timeout { color: #e0392f; }
.psheet__resend { border: none; background: none; color: var(--ink-2); font-size: 13px; font-weight: 800;
  cursor: pointer; text-decoration: underline; text-underline-offset: 2px; padding: 4px; font-family: inherit; }
.psheet__resend:disabled { color: var(--ink-3); opacity: .5; cursor: default; text-decoration: none; }
.psheet__back { border: none; background: none; color: var(--ink-3); font-size: 13.5px; font-weight: 700;
  cursor: pointer; margin-top: 14px; padding: 8px; font-family: inherit; }
.pfield__eye { flex: none; border: none; background: none; color: var(--ink-3); font-size: 12.5px;
  font-weight: 800; cursor: pointer; padding: 4px 2px; font-family: inherit; }
.psheet__row { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.psheet__link { border: none; background: none; color: var(--ink-2); font-size: 13px; font-weight: 700;
  cursor: pointer; padding: 6px 2px; font-family: inherit; text-decoration: underline; text-underline-offset: 2px; }
.psheet__link:disabled { opacity: .5; cursor: default; }

/* ============================================================================
   홈 화면
   ============================================================================ */
.home-bar { flex: none; display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 16px;
  background: var(--surface); border-bottom: 1px solid var(--line-2); z-index: 20; }
.home-bar__sp { flex: 1 1 auto; }
.home-hero { margin: 16px 16px 6px; border-radius: 20px; background-image: url('goods-app/assets/banner-default.png');
  background-size: cover; background-position: center; min-height: 168px; box-shadow: 0 10px 26px -12px rgba(7,194,156,.55); }
.home-hero image-slot { display: block; }

.home-banner { margin: 16px 16px 0; border-radius: 20px; padding: 22px 20px; position: relative; overflow: hidden;
  background: linear-gradient(130deg, var(--point) 0%, #2fd3b1 100%); color: #fff; }
.home-banner h2 { font-size: 19px; font-weight: 900; margin: 0; line-height: 1.36; letter-spacing: -.02em; }
.home-banner p { font-size: 12.5px; font-weight: 700; margin: 8px 0 0; opacity: .92; }
.home-banner .go { margin-top: 14px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; background: rgba(255,255,255,.22);
  border-radius: 999px; padding: 8px 15px; font-size: 12.5px; font-weight: 800; }
.home-banner .blob { position: absolute; right: -30px; top: -30px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.13); }

.cats { display: flex; gap: 8px; padding: 16px; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { height: 0; }
.cat { flex: none; display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px;
  background: var(--surface-2); font-size: 13px; font-weight: 800; color: var(--ink-2); cursor: pointer; border: 1.5px solid transparent; white-space: nowrap; }
.cat[data-on="true"] { background: var(--point-soft); color: var(--point-ink); border-color: var(--point); }
.cat img { height: 14px; width: auto; object-fit: contain; }

.home-sec { padding: 8px 16px 4px; }
.home-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 14px 2px 16px; }
.home-sec__title { font-size: 18px; font-weight: 900; letter-spacing: -.02em; line-height: 1.3; flex: 1 1 auto; min-width: 0; }
.home-sec__more { font-size: 12.5px; font-weight: 700; color: var(--ink-3); cursor: pointer; flex: none; white-space: nowrap; }

.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 13px; }
.pcard { cursor: pointer; text-align: left; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; padding: 0; transition: transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s var(--ease); }
.pcard:active { transform: translateY(1px); }
@media (hover: hover) { .pcard:hover { box-shadow: 0 14px 30px -16px rgba(20,32,29,.22); border-color: #dde4e1; transform: translateY(-2px); } }

.pcard__img { position: relative; height: 168px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 100% at 50% 12%, #ffffff 0%, #f4f7f6 78%, #eef2f1 100%);
  display: grid; place-items: center; border-bottom: 1px solid var(--line-2); }

/* 컬러 인식 폰 목업 (뒷면) */
.phone { position: relative; width: 86px; height: 138px; border-radius: 19px; background: var(--phc);
  box-shadow: 0 14px 26px -12px rgba(20,32,29,.45), inset 0 0 0 2px rgba(255,255,255,.10), inset 0 1px 1px rgba(255,255,255,.22); }
.phone__cam { position: absolute; top: 11px; left: 11px; width: 17px; height: 30px; border-radius: 8px;
  background: rgba(0,0,0,.22); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px; }
.phone__cam i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.32); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.phone__gloss { position: absolute; inset: 0; border-radius: 19px; background:
  linear-gradient(125deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 38%); pointer-events: none; }

.pcard__badge { position: absolute; left: 12px; top: 12px; z-index: 3; font-size: 10.5px; font-weight: 800; padding: 4px 9px;
  border-radius: 999px; color: var(--point-ink); background: var(--point-soft); letter-spacing: -.01em; box-shadow: 0 2px 6px rgba(20,32,29,.12); }
.pcard__badge[data-kind="hot"]    { color: #c01747; background: #fdeaf0; }
.pcard__badge[data-kind="free"]   { color: #fff; background: var(--point); }
.pcard__badge[data-kind="pop"]    { color: var(--amber); background: var(--amber-soft); }
.pcard__badge[data-kind="new"]    { color: #2f6df0; background: #ecf2fe; }
.pcard__badge[data-kind="value"]  { color: var(--ink-2); background: var(--surface-2); }
.pcard__badge[data-kind="chabbi"] { color: #fff; background: #ef4444; animation: chabbi-pulse 1.8s ease-in-out infinite; }
.pcard__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 5px; }
.pcard__dots i { width: 6px; height: 6px; border-radius: 50%; background: #d2dad6; box-shadow: 0 0 0 1px rgba(20,32,29,.05); }

.pcard__body { padding: 14px 14px 16px; }
.pcard__cond { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.condlogo { height: 15px; width: auto; max-width: 34px; object-fit: contain; }
.condjoin { font-size: 11.5px; font-weight: 800; color: var(--ink-2); padding-left: 8px; border-left: 1px solid var(--line); line-height: 1; }
.pcard__name { font-size: 17px; font-weight: 900; letter-spacing: -.03em; line-height: 1.25; }
.pcard__plan { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-3);
  margin: 5px 0 0; }
.pcard__price { margin: 13px 0 0; padding-top: 12px; border-top: 1px solid var(--line-2); }
.pcard__msrp { font-size: 11px; font-weight: 700; color: var(--ink-3); }
.pcard__msrp s { color: var(--ink-3); }
.pcard__final { margin-top: 4px; }
.pcard__final-lab { display: block; font-size: 11px; font-weight: 800; color: var(--ink-3); margin-bottom: 2px; }
.pcard__final-num { display: flex; align-items: baseline; gap: 3px; white-space: nowrap; }
.pcard__final-num b { font-size: 20px; font-weight: 900; letter-spacing: -.03em; }
.pcard__final-num .z { color: var(--point); font-size: 14px; font-weight: 900; }
.pcard__final-num[data-neg="true"] b { color: #ef4444; }
.pcard__final-num[data-neg="true"] .z--neg { color: #ef4444; }
/* 당일판매가 미업로드 표시 */
.pcard__noprice { margin: 13px 0 0; padding-top: 12px; border-top: 1px solid var(--line-2);
  display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--ink-3); }
.pcard__noprice-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); opacity: .55; flex: none; }
.rateitem__noprice { font-size: 12.5px !important; font-weight: 800 !important; color: var(--ink-3) !important; }
@keyframes chabbi-pulse { 0%,100% { opacity:1; } 50% { opacity:.7; } }

/* 하단 탭 내비 */
.tabnav { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom);
  background: var(--surface); border-top: 1px solid var(--line); }
.tabnav__it { border: none; background: none; cursor: pointer; padding: 9px 0 10px; display: flex; flex-direction: column;
  align-items: center; gap: 4px; font-size: 11px; font-weight: 800; color: var(--ink-3); }
.tabnav__it[data-on="true"] { color: var(--point); }

/* ============================================================================
   상세 화면 — 히어로 / 옵션
   ============================================================================ */
.hero { position: relative; padding: 16px 20px 4px; }
.hero__stage { position: relative; display: grid; place-items: center; height: 236px; border-radius: 22px;
  background: #ffffff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.hero__brand-logo { position: absolute; top: 16px; left: 18px; height: 16px; width: auto; opacity: .9; }
.hero__swatches { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 11px; }
.swatch { width: 26px; height: 26px; border-radius: 50%; cursor: pointer; border: 2px solid rgba(255,255,255,.95);
  box-shadow: 0 0 0 1px var(--line), 0 2px 5px rgba(20,32,29,.12); transition: transform .18s var(--ease); }
.swatch[data-on="true"] { box-shadow: 0 0 0 2px var(--point), 0 2px 6px rgba(20,32,29,.18); transform: scale(1.1); }
.hero__color { text-align: center; font-size: 14px; font-weight: 800; margin: 14px 0 2px; }
.viewpill { margin: 10px auto 0; width: fit-content; max-width: 100%; display: flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 12px; font-weight: 700; color: var(--amber); background: var(--amber-soft); padding: 7px 13px; border-radius: var(--r-pill); }
.viewpill svg { flex: none; }

/* 셀렉트 / 세그먼트 (기본은 옅은 보더, 선택 시 민트 필) */
.seg { display: grid; gap: 8px; }
.seg--3 { grid-template-columns: repeat(3, 1fr); }
.seg--4 { grid-template-columns: repeat(4, 1fr); }
.seg--2 { grid-template-columns: repeat(2, 1fr); }
.seg__item { position: relative; cursor: pointer; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface);
  padding: 12px 10px; display: flex; flex-direction: column; align-items: center; gap: 5px;
  transition: border-color .16s var(--ease), background .16s var(--ease), box-shadow .16s var(--ease); }
.seg__item[data-on="true"] { border-color: var(--point); background: var(--point-soft); box-shadow: 0 4px 12px -6px rgba(7,194,156,.5); }
.seg__logo { height: 21px; width: auto; max-width: 62px; object-fit: contain; opacity: .42; filter: grayscale(.4); transition: opacity .16s var(--ease), filter .16s var(--ease); }
.seg__item[data-on="true"] .seg__logo { opacity: 1; filter: none; }
.seg__mark { font-size: 19px; font-weight: 900; line-height: 1; }
.seg__lab { font-size: 14.5px; font-weight: 800; white-space: nowrap; color: var(--ink-2); }
.seg__sub { font-size: 11.5px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.seg__item[data-on="true"] .seg__lab { color: var(--point-ink); }
.seg__item[data-on="true"] .seg__sub { color: var(--point-ink); }
/* 비활성(미지원) 세그먼트 — 회색·클릭불가 */
.seg__item[data-disabled="true"] { cursor: not-allowed; background: var(--surface-2); border-color: var(--line-2); opacity: .6; box-shadow: none; }
.seg__item[data-disabled="true"] .seg__lab,
.seg__item[data-disabled="true"] .seg__sub { color: var(--ink-3); }
.seg__na { font-size: 10.5px; font-weight: 800; color: var(--ink-3); }

/* 자동 가입유형 안내 */
.autojoin { display: flex; align-items: center; gap: 9px; margin-top: 11px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.autojoin__badge { flex: none; font-size: 11.5px; font-weight: 800; color: var(--point-ink); background: var(--point-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

.secgap { height: 9px; background: var(--surface-2); }

.planrow { width: 100%; cursor: pointer; text-align: left; border: 1.5px solid var(--line); border-radius: var(--r-ctrl);
  background: var(--surface); padding: 15px 16px; display: flex; align-items: center; gap: 12px; }
.planrow__main { flex: 1 1 auto; min-width: 0; }
.planrow__name { font-size: 15px; font-weight: 800; }
.planrow__meta { font-size: 12.5px; font-weight: 700; color: var(--ink-3); margin-top: 3px; }
.planrow__fee { font-size: 14px; font-weight: 900; color: var(--point); white-space: nowrap; }
.planrow .chev { color: var(--ink-3); }

/* ── 부가서비스 (박스 제거 · 구분선 리스트) ─────────────────────────────── */
.addon-help { font-size: 12.5px; font-weight: 700; color: var(--ink-2); line-height: 1.6; margin: 2px 0 6px; }
.addon-help b { color: var(--rose); font-weight: 800; }
.addon-help b.keep { color: var(--point-ink); }

.addons { display: flex; flex-direction: column; }
.addon-none { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 0 20px; text-align: center; }
.addon-none__ico { color: var(--point); opacity: .85; }
.addon-none__text { font-size: 14.5px; font-weight: 800; color: var(--ink-1); }
.addon-none__sub { font-size: 12px; font-weight: 600; color: var(--ink-3); line-height: 1.5; }
.addon { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.addon__body { flex: 1 1 auto; min-width: 0; }
.addon__name { font-size: 14.5px; font-weight: 800; }
.addon__desc { font-size: 12px; font-weight: 600; color: var(--ink-3); margin-top: 4px; line-height: 1.5; }
.addon__state { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.addon__pen { font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.addon[data-keep="true"] .addon__pen { color: var(--point); }
.addon[data-keep="false"] .addon__pen { color: var(--rose); }

/* 체크박스 스타일 */
.addon--check { gap: 13px; }
.checkbox { flex: none; width: 24px; height: 24px; border-radius: 8px; cursor: pointer; border: 2px solid var(--ink-3);
  background: var(--surface); display: grid; place-items: center; transition: all .16s var(--ease); padding: 0; }
.checkbox[data-on="true"] { background: var(--point); border-color: var(--point); }
.checkbox svg { opacity: 0; transform: scale(.6); transition: all .16s var(--ease); }
.checkbox[data-on="true"] svg { opacity: 1; transform: scale(1); }

/* 토글 스위치 */
.switch { flex: none; width: 46px; height: 28px; border-radius: 999px; cursor: pointer; background: #cdd6d2;
  position: relative; transition: background .2s var(--ease); border: none; padding: 0; }
.switch[data-on="true"] { background: var(--point); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(20,32,29,.28); transition: transform .2s var(--ease); }
.switch[data-on="true"]::after { transform: translateX(18px); }

/* ── 정보 섹션 (탭 고정 + 스크롤 스파이) ───────────────────────────────── */
.info { background: var(--surface); }
.info__tabs { position: sticky; top: 0; z-index: 12; display: flex; gap: 24px; padding: 0 20px;
  background: rgba(255,255,255,.93); backdrop-filter: saturate(1.5) blur(10px); border-bottom: 1px solid var(--line); }
.info__tab { border: none; background: none; cursor: pointer; padding: 15px 0 13px; font-size: 14.5px; font-weight: 800;
  color: var(--ink-3); position: relative; transition: color .14s var(--ease); }
.info__tab[data-on="true"] { color: var(--ink); }
.info__tab[data-on="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2.5px; border-radius: 2px; background: var(--point); }
.info__sec { padding: 22px 20px; border-bottom: 9px solid var(--surface-2); }
.info__sec--last { border-bottom: none; padding-bottom: 22vh; }
.info__h { font-size: 17px; font-weight: 900; margin: 0 0 16px; letter-spacing: -.02em; }

/* 필독사항 하단 토글(지원금 안내 · 교환/환불안내) — 박스 없는 라인 스타일 */
.mustcols { margin-top: 16px; }
.mustcol { border-top: 1px solid var(--line-2); }
.mustcol:last-child { border-bottom: 1px solid var(--line-2); }
.mustcol__btn { width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 15px 2px; border: none; background: none; cursor: pointer; text-align: left; }
.mustcol__title { font-size: 14.5px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.mustcol__chev { color: var(--ink-3); flex: none; transition: transform .2s var(--ease); }
.mustcol[data-open="true"] .mustcol__chev { transform: rotate(180deg); }
.mustcol__body { padding: 0 2px 16px; }
.mustcol__line { margin: 0 0 10px; font-size: 12.5px; font-weight: 500; color: var(--ink-2);
  line-height: 1.7; white-space: pre-wrap; word-break: keep-all; }
.mustcol__line:last-child { margin-bottom: 0; }

/* 통신사별 상품 상세 안내 링크 */
.clinks { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px 14px; padding-top: 14px;
  border-top: 1px dashed var(--line); }
.clinks__a { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 600;
  color: var(--ink-3); text-decoration: none; transition: color .14s var(--ease); }
.clinks__a:hover { color: var(--point); text-decoration: underline; }
.clinks__ext { opacity: .65; flex: none; }

.spec__row { display: flex; gap: 16px; padding: 13px 2px; border-bottom: 1px solid var(--line-2); }
.spec__row:last-child { border-bottom: none; }
.spec__k { width: 92px; flex: none; font-size: 13.5px; font-weight: 700; color: var(--ink-3); }
.spec__v { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.spec__v .pill-day { background: var(--point); color: #fff; padding: 2px 8px; border-radius: 7px; font-size: 12px; margin: 0 3px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 11.5px; font-weight: 700; color: var(--ink-2); background: var(--surface-2); padding: 6px 11px; border-radius: 8px; }

/* ============================================================================
   하단 견적 카드
   ============================================================================ */
.quote { flex: none; position: relative; z-index: 15; background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: var(--shadow-pop); border-radius: 22px 22px 0 0; }
.quote__handle { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%; border: none; background: none; cursor: pointer; padding: 9px 0 6px; }
.quote__grab { display: block; width: 42px; height: 5px; border-radius: 999px; background: #d7ddda; transition: background .15s var(--ease); }
.quote__handle:hover .quote__grab { background: #b8c0bc; }
.quote__hint { display: flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 800; color: var(--ink-3); }
.quote__hintchev { display: inline-flex; transition: transform .2s var(--ease); }
.quote__hintchev[data-up="true"] { transform: rotate(180deg); }
.quote__pad { padding: 2px 20px 4px; }
.quote__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; }
.quote__origin { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.quote__klabel { font-size: 12.5px; font-weight: 800; color: var(--ink-3); margin-bottom: 4px; display: flex; align-items: center; gap: 7px; }
.quote__save { font-size: 11px; font-weight: 800; color: var(--point-ink); background: var(--point-soft); padding: 3px 9px; border-radius: 999px; }
.quote__origin s { color: var(--ink-3); }
.quote__final { display: flex; align-items: baseline; gap: 5px; margin-top: 0; }
.quote__price { font-size: 34px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.quote__won { font-size: 20px; font-weight: 900; }
.installwrap { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; background: var(--surface-2); padding: 9px 13px; border-radius: 13px; }
.install-lab { font-size: 11.5px; font-weight: 800; color: var(--ink-2); }

@keyframes pricePulse { 0% { transform: scale(1); } 30% { transform: scale(1.07); } 100% { transform: scale(1); } }
.pulse { animation: pricePulse .42s var(--ease); transform-origin: left center; }

/* 본문 (핸들로 접기/펼치기 — 조건부 렌더 + 페이드) */
/* 월별 상세 등으로 길어져도 하단 CTA가 가려지지 않도록 내부 스크롤 처리 */
.quote__body { margin-top: 14px; animation: quoteReveal .26s var(--ease);
  max-height: 46vh; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.quote__body::-webkit-scrollbar { width: 0; height: 0; }
@keyframes quoteReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.qsec { border-top: 1px solid var(--line-2); padding-top: 9px; }
.qsec--fee { margin-top: 6px; }
.qsec__h { font-size: 11.5px; font-weight: 800; color: var(--ink-3); margin-bottom: 4px; }
.qrow { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 13.5px; font-weight: 700; }
.qk { color: var(--ink-2); white-space: nowrap; }
.qv { font-weight: 800; }
.qv--base { color: var(--ink); }
.qv--minus { color: var(--point); font-weight: 900; }
.qv--pen { color: var(--rose); font-weight: 900; }
.qrow--total { margin-top: 3px; padding-top: 10px; border-top: 1.5px dashed var(--line); }
.qrow--total .qk { font-weight: 900; color: var(--ink); font-size: 14px; }
.qrow--total .qv { font-weight: 900; color: var(--ink); font-size: 16px; letter-spacing: -.02em; }
.qsec--fee .qrow--total .qv { color: var(--point-ink); }
.choi { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-size: 12px; font-weight: 800; color: var(--ink-2); margin-top: 8px; }
.choi[data-disabled="true"] { color: var(--ink-3); opacity: .6; }
.choi[data-disabled="true"] .switch.sm { cursor: not-allowed; }
.choi__na { font-size: 10.5px; font-weight: 800; color: var(--ink-3); background: var(--surface-2); padding: 2px 7px; border-radius: 999px; }
.switch.sm { width: 40px; height: 24px; }
.switch.sm::after { width: 18px; height: 18px; }
.switch.sm[data-on="true"]::after { transform: translateX(16px); }

/* 월별 상세 내역 — 박스 없는 타임라인 */
.qsched { margin-top: 10px; border-top: 1px solid var(--line-2); padding-top: 10px; }
.qsched__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border: none; background: none; cursor: pointer; padding: 4px 0; font-size: 13.5px; font-weight: 800; color: var(--ink); }
.qsched__hint { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.qsched__body { margin-top: 6px; padding-left: 6px; }
.qseg { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 12px 0 12px 16px; }
.qseg::before { content: ""; position: absolute; left: 4px; top: 17px; bottom: -1px; width: 1.5px; background: var(--line); }
.qseg:last-of-type::before { display: none; }
.qseg__dot { position: absolute; left: 0; top: 15px; width: 9px; height: 9px; border-radius: 50%; background: var(--point); box-shadow: 0 0 0 3px var(--point-soft); }
.qseg__main { flex: 1 1 auto; min-width: 0; }
.qseg__top { display: flex; align-items: center; gap: 7px; }
.qseg__months { font-size: 13.5px; font-weight: 900; color: var(--ink); }
.qseg__note { font-size: 10.5px; font-weight: 800; color: var(--point-ink); background: var(--point-soft); padding: 2px 7px; border-radius: 999px; }
.qseg__lines { display: flex; flex-wrap: wrap; gap: 3px 10px; margin-top: 5px; }
.qseg__line { font-size: 11.5px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.qseg__total { flex: none; font-size: 14px; font-weight: 900; color: var(--ink); white-space: nowrap; padding-top: 1px; }
.qsched__note { font-size: 11px; font-weight: 600; color: var(--ink-3); line-height: 1.55; margin: 6px 2px 2px; }

.ctabar { flex: none; display: flex; align-items: stretch; gap: 9px; padding: 11px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line-2); }
.cta-alarm { flex: none; width: 66px; border: 1.5px solid var(--line); border-radius: 15px; background: var(--surface); cursor: pointer; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px; font-size: 11px; font-weight: 800; color: var(--ink-2);
  transition: background .14s var(--ease), border-color .14s, color .14s; }
.cta-alarm:active { background: var(--surface-2); }
.cta-alarm.is-on { border-color: var(--point); background: var(--point-soft); color: var(--point-ink); }
.cta-alarm.is-on:active { filter: brightness(.96); }
.cta-main { flex: 1 1 auto; border: none; cursor: pointer; border-radius: 15px; background: var(--point); color: #fff;
  font-size: 16px; font-weight: 900; letter-spacing: -.01em; padding: 16px; box-shadow: 0 8px 20px -8px rgba(7,194,156,.7); transition: filter .15s var(--ease), transform .08s var(--ease); }
.cta-main:active { transform: translateY(1px); filter: brightness(.96); }

/* ============================================================================
   바텀시트
   ============================================================================ */
.sheet-scrim { position: absolute; inset: 0; z-index: 40; background: rgba(20,32,29,.42); opacity: 0; pointer-events: none; transition: opacity .26s var(--ease); }
.sheet-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 41; background: var(--surface); border-radius: 24px 24px 0 0;
  transform: translateY(101%); transition: transform .32s var(--ease); max-height: 86%; display: flex; flex-direction: column; box-shadow: var(--shadow-pop); }
.sheet[data-open="true"] { transform: translateY(0); }
.sheet__grab { width: 38px; height: 4px; border-radius: 999px; background: #dfe5e2; margin: 10px auto 2px; }
.sheet__head { display: flex; align-items: center; padding: 8px 20px 12px; }
.sheet__title { font-size: 17px; font-weight: 900; }
.sheet__close { margin-left: auto; }
.sheet__body { overflow-y: auto; padding: 0 16px 20px; scrollbar-width: none; }
.sheet__body::-webkit-scrollbar { width: 0; }

.planopt-help { font-size: 12.5px; font-weight: 700; color: var(--ink-2); line-height: 1.55; margin: 2px 6px 8px; }
.planopt-help b { color: var(--point-ink); font-weight: 800; }
.planopts { display: flex; flex-direction: column; }
.planopt { width: 100%; text-align: left; cursor: pointer; border: none; background: none; display: flex; align-items: center; gap: 13px;
  padding: 15px 12px; border-top: 1px solid var(--line-2); border-radius: 12px; transition: background .14s var(--ease); }
.planopt:first-child { border-top: none; }
.planopt[data-on="true"] { background: var(--point-soft); }
.planopt[data-on="true"] + .planopt { border-top-color: transparent; }
.planopt__radio { flex: none; width: 21px; height: 21px; border-radius: 50%; border: 2px solid #cdd6d2; position: relative; transition: border-color .14s var(--ease); }
.planopt[data-on="true"] .planopt__radio { border-color: var(--point); }
.planopt[data-on="true"] .planopt__radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--point); }
.planopt__main { flex: 1 1 auto; min-width: 0; }
.planopt__name { font-size: 15.5px; font-weight: 800; }
.planopt__meta { font-size: 12px; font-weight: 700; color: var(--ink-3); margin-top: 4px; }
.planopt__fee { flex: none; text-align: right; display: flex; align-items: baseline; gap: 1px; }
.planopt__fee-lab { font-size: 10.5px; font-weight: 800; color: var(--ink-3); margin-right: 5px; }
.planopt__fee b { font-size: 17px; font-weight: 900; letter-spacing: -.02em; }
.planopt__fee-won { font-size: 13px; font-weight: 900; }
.planopt[data-on="true"] .planopt__fee b, .planopt[data-on="true"] .planopt__fee-won { color: var(--point); }

.field { margin-bottom: 15px; }
.field__lab { font-size: 13px; font-weight: 800; color: var(--ink-2); margin: 0 0 8px; display: block; }
.field__lab .req { color: var(--rose); margin-left: 3px; }
.input, .textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 13px; padding: 14px; font-size: 15px; font-weight: 600;
  color: var(--ink); font-family: inherit; background: var(--surface); outline: none; transition: border-color .15s var(--ease); }
.input:focus, .textarea:focus { border-color: var(--point); }
.input::placeholder, .textarea::placeholder { color: var(--ink-3); font-weight: 600; }
.textarea { resize: none; min-height: 80px; }
.timegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.timeopt { cursor: pointer; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 6px; font-size: 13px; font-weight: 800;
  color: var(--ink-2); background: var(--surface); text-align: center; }
.timeopt[data-on="true"] { border-color: var(--point); background: var(--point-soft); color: var(--point-ink); }
.consent { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); line-height: 1.5; margin: 4px 0 16px; }
.consent .checkbox { flex: none; width: 22px; height: 22px; border-radius: 7px; margin-top: 0; }
.consent u { color: var(--ink-3); }

.submit { width: 100%; border: none; cursor: pointer; border-radius: 15px; padding: 16px; background: var(--point); color: #fff;
  font-size: 16px; font-weight: 900; transition: filter .15s var(--ease), opacity .15s var(--ease); }
.submit:disabled { opacity: .4; cursor: not-allowed; }
.submit:not(:disabled):active { filter: brightness(.96); }

/* 간편상담 — 카카오톡 상담 (박스 없는 클린 디자인) */
.consult-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 2px 2px 16px; border-bottom: 1px solid var(--line); }
.consult-sum__dev { font-size: 14px; font-weight: 800; color: var(--ink); }
.consult-sum__meta { font-size: 12.5px; font-weight: 600; color: var(--ink-3); margin-top: 3px; }
.consult-sum__r { text-align: right; flex: none; }
.consult-sum__lab { font-size: 11px; font-weight: 600; color: var(--ink-3); }
.consult-sum__price { font-size: 18px; font-weight: 900; color: var(--point-ink); margin-top: 1px; }

.consult-guide { font-size: 13px; font-weight: 600; color: var(--ink-2); line-height: 1.55; margin: 16px 2px 4px; }
.consult-guide b { font-weight: 800; color: var(--ink); }

.consult-list { display: flex; flex-direction: column; max-height: 52vh; overflow-y: auto; margin-top: 6px; }
.consult-store { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 2px; border-bottom: 1px solid var(--line-2); }
.consult-store:last-child { border-bottom: none; }
.consult-store__info { flex: 1; min-width: 0; }
.consult-store__name { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; color: var(--ink); }
.consult-store__best { background: var(--point-soft); color: var(--point-ink); font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 5px; }
.consult-store__addr { font-size: 12px; color: var(--ink-3); margin-top: 4px; line-height: 1.45; word-break: keep-all; }
.consult-store__soon { font-size: 12px; font-weight: 700; color: var(--ink-3); white-space: nowrap; flex: none; }

.kakao-btn { display: inline-flex; align-items: center; gap: 7px; flex: none; border: none; cursor: pointer;
  background: #fee500; color: #3c1e1e; font-size: 13.5px; font-weight: 800; padding: 10px 16px; border-radius: 12px;
  text-decoration: none; transition: filter .14s var(--ease), transform .12s var(--ease); }
.kakao-btn:hover { filter: brightness(.97); }
.kakao-btn:active { transform: translateY(1px); }
.kakao-btn svg { color: #3c1e1e; flex: none; }

.consult-empty { text-align: center; font-size: 13.5px; font-weight: 700; color: var(--ink-3); padding: 44px 10px; }

.done-wrap { text-align: center; padding: 30px 20px 36px; }
.done-ring { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; background: var(--point-soft); display: grid; place-items: center; }
.done-h { font-size: 20px; font-weight: 900; margin: 0 0 8px; }
.done-p { font-size: 14px; font-weight: 700; color: var(--ink-2); line-height: 1.6; }

/* ── 내 쿠폰 ─────────────────────────────────────────────────────────────── */
.promo-empty { text-align: center; padding: 60px 28px; }
.promo-empty__t { font-size: 16px; font-weight: 900; color: var(--ink); }
.promo-empty__d { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-top: 8px; line-height: 1.5; }
.promo-empty__btn { margin-top: 20px; padding: 12px 26px; border: none; border-radius: 12px; background: var(--point);
  color: #fff; font-size: 14px; font-weight: 900; cursor: pointer; }
.promo-sub { font-size: 12.5px; font-weight: 800; color: var(--ink-3); margin: 22px 2px 10px; }

.coupon { display: flex; align-items: stretch; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; margin-bottom: 12px; position: relative; }
.coupon::before, .coupon::after { content: ""; position: absolute; right: 92px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--surface-2); }
.coupon::before { top: -8px; } .coupon::after { bottom: -8px; }
.coupon__l { flex: 1 1 auto; padding: 16px 18px; min-width: 0; }
.coupon__benefit { font-size: 18px; font-weight: 900; color: var(--point-ink); letter-spacing: -.02em; }
.coupon__title { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-top: 4px; }
.coupon__valid { font-size: 11.5px; font-weight: 600; color: var(--ink-3); margin-top: 8px; font-feature-settings: "tnum"; }
.coupon__r { flex: none; width: 92px; display: grid; place-items: center; border-left: 1.5px dashed var(--line); }
.coupon__chip { font-size: 11.5px; font-weight: 900; color: var(--point-ink); text-align: center; line-height: 1.3; }
.coupon__chip--off { color: var(--ink-3); }
.coupon--off { opacity: .6; }
.coupon--off .coupon__benefit { color: var(--ink-3); }

/* ── 이벤트 ──────────────────────────────────────────────────────────────── */
/* 이벤트 카드 — 이미지 히어로 + 플레이 영역 (대기업형) */
.ev2 { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  margin-bottom: 18px; box-shadow: 0 8px 26px -16px rgba(20,32,29,.3); }
.ev2__hero { position: relative; min-height: 168px; background-size: cover; background-position: center;
  display: flex; align-items: flex-end; }
.ev2__hero--grad { background: linear-gradient(135deg, var(--point), #0a8f76); }
.ev2__hero-ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.62) 100%); }
.ev2__hero-emoji { position: absolute; top: 18px; right: 20px; font-size: 46px; opacity: .9; filter: drop-shadow(0 2px 6px rgba(0,0,0,.2)); }
.ev2__hero-txt { position: relative; padding: 18px 20px; color: #fff; width: 100%; }
.ev2__badge { display: inline-block; font-size: 10.5px; font-weight: 900; padding: 4px 11px; border-radius: 999px;
  background: rgba(255,255,255,.24); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ev2__title { font-size: 20px; font-weight: 900; margin: 9px 0 0; letter-spacing: -.02em; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.ev2__period { font-size: 12px; font-weight: 700; opacity: .92; margin-top: 5px; }
.ev2__body { padding: 22px 20px 24px; }
.ev2__desc { font-size: 13.5px; font-weight: 600; color: var(--ink-2); line-height: 1.6; margin: 0 0 4px; }
.ev2__hint { text-align: center; font-size: 13.5px; font-weight: 800; color: var(--ink-2); margin: 6px 0 2px; }
.ev2__winstat { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.ev2__winstat-h { font-size: 11.5px; font-weight: 800; color: var(--ink-3); margin-bottom: 8px; }
.ev2__winstat-list { display: flex; flex-direction: column; gap: 6px; }
.ev2__winrow { display: flex; align-items: center; gap: 8px; }
.ev2__windot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.ev2__winlabel { font-size: 11.5px; font-weight: 700; color: var(--ink-2); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev2__wincount { font-size: 11px; font-weight: 800; color: var(--point-ink); font-feature-settings: "tnum"; flex: none; }

/* ── 이벤트 목록 카드 (플랫 & 미니멀) ── */
.evlist {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: all 0.2s ease;
}
.evlist:hover {
  transform: translateY(-2px);
  border-color: var(--point);
  box-shadow: 0 6px 16px rgba(7, 194, 156, 0.08);
}
.evlist:active {
  transform: scale(0.99);
}
.evlist__thumb {
  flex: none;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.evlist__thumb--grad {
  background: linear-gradient(135deg, var(--point-soft) 0%, #bbf7d0 100%);
  color: var(--point-ink);
}
.evlist__mark {
  display: grid;
  place-items: center;
}
.evlist__info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.evlist__badge {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--point-ink);
  background: var(--point-soft);
  padding: 3px 9px;
  border-radius: 6px;
}
.evlist__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.evlist__period {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-3);
}
.evlist__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 800;
  color: var(--point);
}

/* ── 이벤트 참여 상세 페이지 ── */
.evd-hero {
  position: relative;
  min-height: 208px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.evd-hero--grad {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}
.evd-hero__ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.85) 100%);
}
.evd-hero__mark {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--point-ink);
  background: var(--point-soft);
  border: 1px solid rgba(7, 194, 156, 0.15);
}
.evd-hero__txt {
  position: relative;
  padding: 20px;
  color: var(--ink);
  width: 100%;
}
.evd-hero__title {
  font-size: 21px;
  font-weight: 800;
  margin: 8px 0 0;
  color: var(--ink);
}
.evd-hero__period {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  margin-top: 4px;
}
.evd-body {
  padding: 20px;
}
.evd-desc {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 12px;
}
.evd-stage {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  padding: 30px 16px;
  margin: 12px 0 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.evd-stage__hint {
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.evd-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  margin-top: 14px;
}
.evd-card__h {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.evd-note {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  line-height: 1.5;
  margin: 14px 2px 0;
}

/* ── 게임사 스타일 Roulette Web UI ── */
.rwheel {
  position: relative;
  --rwheel-size: min(320px, 82vw);
  width: var(--rwheel-size);
  height: var(--rwheel-size);
  margin: 16px auto;
}
.rwheel__pointer-container {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.25));
}
.rwheel__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 14px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #ffe066 0%, #f59e0b 50%, #d97706 100%);
  border: 5px solid #fbbf24;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18), 
              inset 0 2px 4px rgba(255,255,255,0.4), 
              inset 0 -2px 4px rgba(0,0,0,0.15);
}
.rwheel__light {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff, 0 0 14px rgba(255,255,255,0.8);
  margin-top: -4px;
  margin-left: -4px;
  transform: rotate(var(--angle)) translateY(calc(var(--rwheel-size) / -2 + 9.5px));
}
@keyframes light-blink {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}
.rwheel__light:nth-child(even) {
  animation: light-blink 1.2s infinite alternate;
}
.rwheel__light:nth-child(odd) {
  animation: light-blink 1.2s infinite alternate-reverse;
}

.rwheel__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 8;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #2563eb;
  background: #ffffff;
  color: #2563eb;
  font-size: 15px;
  font-weight: 900;
  font-family: 'NanumSquareNeo', sans-serif !important;
  letter-spacing: -0.5px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12), inset 0 2px 3px rgba(255,255,255,0.6);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rwheel__center:hover:not(:disabled) {
  transform: translate(-50%,-50%) scale(1.05);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.rwheel__center:active:not(:disabled) {
  transform: translate(-50%,-50%) scale(0.95);
}
.rwheel__center:disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}

/* 게임 헤더 - Toss/KakaoPay 모던 디자인 */
.evd-game-header {
  position: relative;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  padding: 46px 20px;
  text-align: center;
  overflow: hidden;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
}
.evd-sunrays {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.08) 0deg 15deg, transparent 15deg 30deg);
  pointer-events: none;
  animation: rotate-sunburst 45s linear infinite;
}
@keyframes rotate-sunburst {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.evd-coins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.evd-coin {
  position: absolute;
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3), inset 0 2px 2px rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: #ffffff;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.evd-coin::before {
  content: "Pay";
}
.coin1 {
  top: 15%;
  left: 8%;
  transform: rotate(-15deg);
  animation: float-coin 3s ease-in-out infinite alternate;
}
.coin2 {
  top: 25%;
  right: 6%;
  transform: rotate(20deg);
  animation: float-coin 4s ease-in-out infinite alternate-reverse;
}
.coin3 {
  bottom: 12%;
  right: 12%;
  transform: rotate(-10deg);
  animation: float-coin 3.5s ease-in-out infinite alternate;
}
@keyframes float-coin {
  0% { transform: translateY(0) rotate(-10deg); }
  100% { transform: translateY(-12px) rotate(10deg); }
}
.evd-title-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.evd-badge-yellow {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  letter-spacing: -0.3px;
}
.evd-main-title {
  font-family: 'NanumSquareNeo', sans-serif !important;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 6px 0 0;
  letter-spacing: -0.8px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.evd-main-title .yellow-text {
  color: #facc15;
}

/* 안내 박스 */
.evd-notice-box {
  margin-top: 22px;
  border: 2px dashed var(--point);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--point-soft);
  text-align: center;
}
.evd-notice-box p {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--point-ink);
  margin: 0;
}


.wheel-wrap { position: relative; width: 264px; height: 264px; margin: 22px auto 4px; }
.wheel-pointer { position: absolute; top: -4px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 0; height: 0; border-left: 11px solid transparent; border-right: 11px solid transparent; border-top: 20px solid var(--ink); }
.wheel { position: absolute; inset: 0; border-radius: 50%; border: 6px solid var(--surface);
  box-shadow: 0 8px 26px -8px rgba(20,32,29,.4), inset 0 0 0 2px rgba(0,0,0,.06);
  transition: transform 4s cubic-bezier(.17,.67,.2,1); }
.wheel-lab { position: absolute; inset: 0; pointer-events: none; }
.wheel-lab span { position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  font-size: 11.5px; font-weight: 900; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); max-width: 76px;
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wheel-hub { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; background: var(--surface); box-shadow: 0 2px 8px rgba(20,32,29,.25);
  display: grid; place-items: center; }
.wheel-hub::after { content: "🎯"; font-size: 20px; }

.ev-play { width: 100%; margin-top: 18px; padding: 15px; border: none; border-radius: 14px;
  background: linear-gradient(135deg, #0f766e, #0c5b54); color: #fff; font-size: 15px; font-weight: 800; letter-spacing: -.01em;
  cursor: pointer; box-shadow: 0 8px 20px -10px rgba(15,118,110,.7); transition: filter .14s var(--ease); }
.ev-play:hover { filter: brightness(1.04); } .ev-play:disabled { opacity: .55; cursor: default; box-shadow: none; }

.draw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.draw-box { aspect-ratio: 1; border: 1px solid rgba(255,255,255,.08); border-radius: 16px;
  background: radial-gradient(120% 120% at 70% 10%, #1c3a35, #0d201d); color: rgba(216,199,154,.92);
  cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 20px -14px rgba(10,20,17,.6); transition: transform .14s var(--ease), border-color .14s; }
.draw-box:hover:not(:disabled) { transform: translateY(-3px); border-color: rgba(216,199,154,.4); }
.draw-box[data-open="true"] { background: linear-gradient(135deg, #0f766e, #0c5b54); color: #fff; }
.draw-box__prize { font-size: 13px; font-weight: 800; padding: 6px; line-height: 1.3; }
.draw-box__q svg { width: 30px; height: 30px; }
.draw-box:disabled { cursor: default; }

.ev-modal-scrim { position: absolute; inset: 0; z-index: 9999; background: rgba(10,20,17,.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 24px; animation: epScrimIn .18s ease; }
.ev-modal { background: var(--surface); border-radius: 22px; padding: 30px 24px 20px; width: 100%; max-width: 360px; text-align: center; }
.ev-modal__badge { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 4px; display: grid; place-items: center; }
.ev-modal__badge[data-tone="win"]  { background: var(--point-soft); color: var(--point-ink); }
.ev-modal__badge[data-tone="lose"] { background: var(--surface-2); color: var(--ink-3); }
.ev-modal__badge[data-tone="info"] { background: var(--surface-2); color: var(--ink-2); }
.ev-modal__t { font-size: 20px; font-weight: 900; margin-top: 12px; letter-spacing: -.02em; }
.ev-modal__p { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.ev-modal__p b { color: var(--point-ink); font-weight: 900; }
.ev-modal__close { margin-top: 18px; width: 100%; padding: 13px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--ink-2); font-size: 14px; font-weight: 800; cursor: pointer; }

.ev-claim { margin-top: 18px; text-align: left; border-top: 1px solid var(--line-2); padding-top: 16px; }
.ev-claim__lab { font-size: 13px; font-weight: 900; margin-bottom: 10px; }
.ev-input { width: 100%; border: 1.5px solid var(--line); border-radius: 11px; padding: 12px 13px; font-family: inherit;
  font-size: 14px; font-weight: 600; color: var(--ink); outline: none; margin-bottom: 9px; }
.ev-input:focus { border-color: var(--point); }
.ev-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 11.5px; font-weight: 600; color: var(--ink-2);
  line-height: 1.5; margin: 6px 0 14px; }
.ev-check { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--ink-3); background: var(--surface);
  cursor: pointer; display: grid; place-items: center; padding: 0; }
.ev-check[data-on="true"] { background: var(--point); border-color: var(--point); }
.ev-submit { width: 100%; padding: 14px; border: none; border-radius: 12px; background: var(--point); color: #fff;
  font-size: 14px; font-weight: 900; cursor: pointer; }
.ev-submit:disabled { opacity: .55; cursor: default; }
.ev-claim__done { margin-top: 18px; font-size: 13.5px; font-weight: 800; color: var(--point-ink);
  background: var(--point-soft); border-radius: 12px; padding: 16px; text-align: center; line-height: 1.5; }

/* 결과 확인하기 버튼 */
.evd-reveal-section {
  text-align: center;
  margin: 18px 0;
  animation: fadeUp 0.3s ease;
}
.ev-reveal-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  font-family: 'NanumSquareNeo', sans-serif !important;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.3);
  transition: all 0.2s ease;
}
.ev-reveal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 140, 0, 0.45);
}
.ev-reveal-btn:active {
  transform: translateY(1px);
}


/* 토스트 */
.toast { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 50; background: rgba(20,32,29,.93);
  color: #fff; font-size: 13px; font-weight: 700; padding: 11px 18px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 24px rgba(20,32,29,.3); }

/* 페이지 전환 (transform-only — 타임라인이 멈춰도 항상 보이도록) */
@keyframes fadeUp { from { transform: translateY(9px); } to { transform: none; } }
.screen-enter { animation: fadeUp .3s var(--ease); }

/* ============================================================================
   시세 탭 (현재/희망 통신사 → 모델 검색)
   ============================================================================ */
.ratehead { padding: 22px 20px 6px; }
.ratehead__t { font-size: 22px; font-weight: 900; letter-spacing: -.03em; line-height: 1.35; margin: 0; }
.ratehead__t .hl { color: var(--point); }
.ratehead__s { font-size: 13.5px; font-weight: 700; color: var(--ink-2); margin: 10px 0 0; line-height: 1.55; }

.searchbox { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 50px; border-radius: 14px;
  background: var(--surface-2); color: var(--ink-3); margin-bottom: 14px; }
.searchbox__in { flex: 1 1 auto; min-width: 0; border: none; background: none; outline: none; font-size: 15px; font-weight: 700; color: var(--ink); }
.searchbox__in::placeholder { color: var(--ink-3); font-weight: 600; }
.searchbox__clr { border: none; background: none; cursor: pointer; color: var(--ink-3); display: grid; place-items: center; padding: 4px; }

.ratelist { display: flex; flex-direction: column; }
.rateitem { display: flex; align-items: center; gap: 13px; width: 100%; cursor: pointer; border: none; background: none;
  text-align: left; padding: 14px 2px; border-top: 1px solid var(--line-2); }
.rateitem:first-child { border-top: none; }
.rthumb { flex: none; width: 52px; height: 52px; border-radius: 10px; background: var(--phc); position: relative;
  box-shadow: 0 4px 10px -4px rgba(20,32,29,.4), inset 0 0 0 1.5px rgba(255,255,255,.12); }
.rthumb i { position: absolute; top: 8px; left: 8px; width: 9px; height: 16px; border-radius: 4px; background: rgba(0,0,0,.22); }
.rateitem__main { flex: 1 1 auto; min-width: 0; }
.rateitem__name { display: block; font-size: 15px; font-weight: 800; }
.rateitem__meta { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-3); margin-top: 3px; }
.rateitem__price { flex: none; text-align: right; }
.rateitem__lab { display: block; font-size: 10.5px; font-weight: 800; color: var(--ink-3); }
.rateitem__price b { font-size: 15px; font-weight: 900; color: var(--point-ink); letter-spacing: -.02em; }
.rateitem__chev { color: var(--ink-3); flex: none; }
.rate-empty { text-align: center; font-size: 13.5px; font-weight: 700; color: var(--ink-3); line-height: 1.6; padding: 40px 0; }

/* ============================================================================
   상담 탭
   ============================================================================ */
.consult-hero { margin: 16px 16px 0; border-radius: 20px; padding: 24px 22px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(130deg, var(--point) 0%, #2fd3b1 100%); box-shadow: 0 14px 30px -16px rgba(7,194,156,.6); }
.consult-hero__badge { display: inline-block; font-size: 11.5px; font-weight: 800; background: rgba(255,255,255,.22); padding: 5px 11px; border-radius: 999px; }
.consult-hero__t { font-size: 21px; font-weight: 900; letter-spacing: -.02em; line-height: 1.4; margin: 12px 0 0; }
.consult-hero__cta { margin-top: 18px; display: inline-flex; align-items: center; gap: 4px; border: none; cursor: pointer;
  background: #fff; color: var(--point-ink); font-size: 14px; font-weight: 800; padding: 12px 18px; border-radius: 13px; }

.steps { display: flex; flex-direction: column; gap: 16px; }
.step { display: flex; align-items: center; gap: 13px; }
.step__n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--point-soft); color: var(--point-ink);
  font-size: 14px; font-weight: 900; display: grid; place-items: center; }
.step__h { font-size: 14.5px; font-weight: 800; }
.step__b { font-size: 12.5px; font-weight: 700; color: var(--ink-3); margin-top: 2px; }

.mylist, .menulist { display: flex; flex-direction: column; }
.myitem { display: flex; align-items: center; gap: 12px; padding: 15px 2px; border-top: 1px solid var(--line-2); }
.myitem:first-child { border-top: none; }
.myitem__main { flex: 1 1 auto; min-width: 0; }
.myitem__name { font-size: 14.5px; font-weight: 800; }
.myitem__meta { font-size: 12.5px; font-weight: 700; color: var(--ink-3); margin-top: 3px; }
.myitem__right { flex: none; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.mystat { font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 999px; }
.mystat.is-prog { color: var(--blue, #2f6df0); background: #ecf2fe; }
.mystat.is-done { color: var(--point-ink); background: var(--point-soft); }
.myitem__amt { font-size: 13.5px; font-weight: 900; }

/* ============================================================================
   내정보 탭
   ============================================================================ */
.profile { padding: 18px 20px 6px; }
.profile__row { display: flex; align-items: center; gap: 14px; }
.profile__avatar { flex: none; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, var(--point), #34d9b6);
  color: #fff; font-size: 21px; font-weight: 900; display: grid; place-items: center; box-shadow: 0 6px 14px -5px rgba(7,194,156,.6); }
.profile__id { flex: 1 1 auto; min-width: 0; }
.profile__name { font-size: 18px; font-weight: 900; letter-spacing: -.02em; }
.profile__phone { font-size: 13px; font-weight: 700; color: var(--ink-3); margin-top: 3px; font-feature-settings: "tnum"; }
.profile__edit { flex: none; border: 1px solid var(--line); background: var(--surface); cursor: pointer; border-radius: 999px;
  padding: 8px 13px; font-size: 12px; font-weight: 800; color: var(--ink-2); }
.profile__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 20px; background: var(--surface-2); border-radius: 16px; padding: 16px 0; }
.pstat { text-align: center; position: relative; }
.pstat + .pstat::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 28px; background: var(--line); }
.pstat__v { font-size: 19px; font-weight: 900; }
.pstat__k { font-size: 11.5px; font-weight: 700; color: var(--ink-3); margin-top: 3px; }

.mybanner { display: flex; align-items: center; gap: 12px; cursor: pointer; border-radius: 15px; padding: 16px 18px;
  background: var(--point-soft); color: var(--point-ink); }
.mybanner__t { font-size: 14.5px; font-weight: 900; }
.mybanner__s { font-size: 12px; font-weight: 700; opacity: .85; margin-top: 3px; }
.mybanner svg { margin-left: auto; flex: none; }

/* 내정보 — 내 조건으로 시세 보기 (한 줄 배너) */
.myrate-banner { width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  border-radius: 15px; border: none; cursor: pointer; background: var(--point-soft); text-align: left; }
.myrate-banner__ico { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--point);
  color: #fff; display: grid; place-items: center; }
.myrate-banner__info { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 7px; }
.myrate-banner__cond { font-size: 14px; font-weight: 900; color: var(--point-ink); white-space: nowrap; }
.myrate-banner__badge { font-size: 11px; font-weight: 900; padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.myrate-banner__badge[data-type="move"]   { background: var(--point); color: #fff; }
.myrate-banner__badge[data-type="change"] { background: var(--amber); color: #fff; }
.myrate-banner__right { flex: none; display: flex; align-items: center; gap: 2px;
  font-size: 12px; font-weight: 800; color: var(--point-ink); white-space: nowrap; }

/* 내정보 — 좌(조건 설정) / 우(시세보기) 분리 */
.myrate-split { display: flex; gap: 10px; align-items: stretch; }
.myrate-split__set { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 11px;
  padding: 13px 15px; border-radius: 15px; border: none; cursor: pointer; background: var(--point-soft); text-align: left; }
.myrate-split__ico { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--surface);
  color: var(--point-ink); display: grid; place-items: center; }
.myrate-split__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.myrate-split__lab { font-size: 11.5px; font-weight: 800; color: var(--point-ink); opacity: .8; }
.myrate-split__cond { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 900; color: var(--point-ink); white-space: nowrap; }
.myrate-split__badge { font-size: 10.5px; font-weight: 900; padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.myrate-split__badge[data-type="move"]   { background: var(--point); color: #fff; }
.myrate-split__badge[data-type="change"] { background: var(--amber); color: #fff; }
.myrate-split__view { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  width: 86px; border-radius: 15px; border: none; cursor: pointer; background: var(--point); color: #fff;
  font-size: 12.5px; font-weight: 900; transition: filter .14s var(--ease); }
.myrate-split__view:hover { filter: brightness(.97); }
.myrate-split__view:active { transform: translateY(1px); }

/* 내 조건 설정 팝업 */
.ratepick-scrim { position: absolute; inset: 0; z-index: 9999;
  background: rgba(10,20,17,.52); backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center;
  animation: epScrimIn .18s ease; }
.ratepick { background: var(--surface); border-radius: 24px 24px 0 0; padding: 20px 20px 36px;
  width: 100%; max-width: 480px;
  box-shadow: 0 -12px 48px -8px rgba(10,20,17,.28);
  animation: rpSlideUp .22s cubic-bezier(.32,1.28,.42,1); }
@keyframes rpSlideUp { from { transform: translateY(60px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.ratepick__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.ratepick__title { font-size: 17px; font-weight: 900; letter-spacing: -.02em; }
.ratepick__close { border: none; background: var(--surface-2); color: var(--ink-2); cursor: pointer;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.ratepick__label { font-size: 12px; font-weight: 800; color: var(--ink-3); margin-bottom: 8px; letter-spacing: .02em; }
.ratepick__cars { display: flex; gap: 8px; }
.ratepick__car { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 11px 4px 10px;
  border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface);
  cursor: pointer; transition: border-color .14s, background .14s; }
.ratepick__car img { width: 36px; height: 16px; object-fit: contain; }
.ratepick__car span { font-size: 11px; font-weight: 800; color: var(--ink-2); }
.ratepick__car[data-on="true"] { border-color: var(--point); background: var(--point-soft); }
.ratepick__car[data-on="true"] span { color: var(--point-ink); }
.ratepick__join { font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-top: 14px; padding: 10px 12px;
  border-radius: 10px; background: var(--surface-2); display: flex; align-items: center; gap: 8px; }
.ratepick__join-badge { font-size: 11px; font-weight: 900; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.ratepick__join[data-type="move"]   .ratepick__join-badge { background: var(--point); color: #fff; }
.ratepick__join[data-type="change"] .ratepick__join-badge { background: var(--amber); color: #fff; }
.ratepick__btn { width: 100%; margin-top: 14px; padding: 15px 16px; border-radius: 14px; border: none;
  background: var(--point); color: #fff; font-family: inherit; font-size: 15px; font-weight: 900; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 5px; letter-spacing: -.01em; }

.menulist { padding: 0 20px; }
.menurow { display: flex; align-items: center; gap: 14px; width: 100%; cursor: pointer; border: none; background: none;
  text-align: left; padding: 16px 2px; border-top: 1px solid var(--line-2); }
.menulist .menurow:first-child { border-top: none; }
.menurow__ico { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--surface-2); color: var(--ink-2); display: grid; place-items: center; }
.menurow__main { flex: 1 1 auto; min-width: 0; }
.menurow__t { display: block; font-size: 14.5px; font-weight: 800; }
.menurow__d { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); margin-top: 2px; }
.menurow__chev { color: var(--ink-3); flex: none; }

.logout { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 8px; }
.logout button { border: none; background: none; cursor: pointer; font-size: 13.5px; font-weight: 800; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.logout__v { font-size: 11.5px; font-weight: 700; color: var(--ink-3); }

/* ============================================================================
   홈 배너 캐러셀 (플랫 · 가로 스와이프)
   ============================================================================ */
.bnr { padding: 16px 0 4px; }
.bnr__viewport { overflow: hidden; margin: 0 16px; border-radius: 18px; position: relative; }
.bnr__track { display: flex; transition: transform .32s cubic-bezier(.22,.61,.36,1); }
.bnr__slide { flex: 0 0 100%; }
.bnr__slide image-slot { display: block; }
/* 화살표 — 배너 내부 양쪽, 투명 배경의 얇은 흰색 쉐브론 */
.bnr__arrow { position: absolute; top: 50%; transform: translateY(-50%);
  width: 28px; height: 52px; border: none; cursor: pointer; background: transparent;
  z-index: 2; padding: 0; display: flex; align-items: center; justify-content: center; }
.bnr__arrow::after { content: ''; display: block; width: 9px; height: 9px;
  border-top: 2px solid rgba(255,255,255,.65); border-right: 2px solid rgba(255,255,255,.65);
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.bnr__arrow--prev { left: 6px; }
.bnr__arrow--prev::after { transform: rotate(-135deg) translate(-1px, 1px); }
.bnr__arrow--next { right: 6px; }
.bnr__arrow--next::after { transform: rotate(45deg) translate(-1px, 1px); }
/* 슬라이드 번호 카운터 — 우측 하단 */
.bnr__counter { position: absolute; bottom: 10px; right: 12px; z-index: 2;
  background: rgba(0,0,0,.32); backdrop-filter: blur(4px); color: #fff;
  font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px;
  letter-spacing: .04em; pointer-events: none; }
.bnr__promo { position: relative; height: 150px; border-radius: 18px; padding: 24px 22px; overflow: hidden; color: #fff; }
.bnr__promo--mint { background: linear-gradient(130deg, var(--point) 0%, #2fd3b1 100%); }
.bnr__promo--dark { background: linear-gradient(135deg, #1e2a27 0%, #33433e 100%); }
.bnr__eyebrow { font-size: 11.5px; font-weight: 800; opacity: .9; }
.bnr__title { font-size: 22px; font-weight: 900; letter-spacing: -.03em; line-height: 1.28; margin-top: 8px; }
.bnr__sub { font-size: 12.5px; font-weight: 700; opacity: .9; margin-top: 8px; }
.bnr__deco { position: absolute; right: -34px; top: -34px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.12); }
.bnr__dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.bnr__dot { width: 6px; height: 6px; border-radius: 999px; background: #d2dad6; transition: width .2s var(--ease), background .2s var(--ease); }
.bnr__dot[data-on="true"] { width: 18px; background: var(--point); }

/* ============================================================================
   사전예약
   ============================================================================ */
.po-live { font-size: 11px; font-weight: 800; color: #fff; background: var(--rose); padding: 3px 9px; border-radius: 999px; vertical-align: middle; margin-left: 4px; }
.poscroll { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; }
.poscroll::-webkit-scrollbar { height: 0; }
.pocard { flex: 0 0 158px; cursor: pointer; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); text-align: left; padding: 0; }
.pocard__img { position: relative; height: 130px; display: grid; place-items: center; isolation: isolate;
  background: radial-gradient(120% 100% at 50% 12%, #fff 0%, #f4f7f6 80%); border-bottom: 1px solid var(--line-2); }
.pocard__img .phone { width: 62px; height: 100px; border-radius: 14px; }
.pocard__img .phone__cam { width: 12px; height: 22px; top: 8px; left: 8px; }
.pocard__dday { position: absolute; left: 10px; top: 10px; z-index: 3; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--rose); padding: 4px 8px; border-radius: 7px; }
.pocard__body { padding: 11px 13px 13px; }
.pocard__brand { font-size: 10px; font-weight: 800; color: var(--ink-3); letter-spacing: .08em; }
.pocard__name { font-size: 14.5px; font-weight: 800; margin-top: 3px; }
.pocard__date { font-size: 11.5px; font-weight: 700; color: var(--point-ink); margin-top: 6px; }

.po-ribbon { flex: none; display: flex; align-items: center; justify-content: center; gap: 6px; height: 34px;
  font-size: 12.5px; font-weight: 800; color: #fff; background: linear-gradient(90deg, var(--point), #2fd3b1); }
.phone--lg { width: 150px; height: 215px; border-radius: 26px; }
.phone--lg .phone__cam { width: 22px; height: 38px; top: 14px; left: 14px; }
.po-head { padding: 16px 0 2px; text-align: center; }
.po-head__brand { font-size: 11px; font-weight: 800; color: var(--ink-3); letter-spacing: .1em; }
.po-head__name { font-size: 22px; font-weight: 900; letter-spacing: -.03em; margin: 6px 0 0; }
.po-head__period { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 12.5px; font-weight: 800;
  color: var(--point-ink); background: var(--point-soft); padding: 6px 13px; border-radius: 999px; }
.po-benefit { display: flex; gap: 12px; align-items: flex-start; background: var(--point-soft); border-radius: 14px; padding: 15px 16px; }
.po-benefit__ico { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--point); color: #fff; display: grid; place-items: center; }
.po-benefit__t { font-size: 13.5px; font-weight: 900; color: var(--point-ink); }
.po-benefit__d { font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }
.po-priceinfo { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 14px 2px 0; border-top: 1px solid var(--line-2); }
.po-priceinfo__k { font-size: 13px; font-weight: 800; color: var(--ink-2); }
.po-priceinfo__v { font-size: 17px; font-weight: 900; }
.po-note { font-size: 11.5px; font-weight: 600; color: var(--ink-3); line-height: 1.55; margin: 10px 0 0; }
.po-steps { display: flex; flex-direction: column; gap: 15px; }
.po-step { display: flex; align-items: center; gap: 13px; }
.po-step__n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--point-soft); color: var(--point-ink); font-size: 13px; font-weight: 900; display: grid; place-items: center; }
.po-step__h { font-size: 14px; font-weight: 800; }
.po-step__b { font-size: 12px; font-weight: 700; color: var(--ink-3); margin-top: 2px; }
.po-summary { background: var(--point-soft); border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; }
.po-summary__brand { font-size: 10.5px; font-weight: 800; color: var(--ink-3); letter-spacing: .08em; }
.po-summary__name { font-size: 16px; font-weight: 900; color: var(--point-ink); margin-top: 3px; }
.po-summary__meta { font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-top: 4px; }

.allcount { font-size: 13px; font-weight: 800; color: var(--ink-2); margin: 0 2px 14px; }
.allcount b { color: var(--point); }


/* ============================================================================
   팝업 광고 — 이미지 주도형 컴팩트 바텀시트
   ============================================================================ */
.popad-scrim {
  position: absolute;
  inset: 0;
  z-index: 200;
  background: rgba(10, 18, 14, 0.52);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.popad-scrim[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.popad {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 201;
  width: 100%;
  background: #fff;
  border-radius: 26px 26px 0 0;
  overflow: hidden;
  box-shadow: 0 -2px 24px rgba(10, 18, 14, 0.22);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  font-family: 'NanumSquareNeo', sans-serif;
}
.popad[data-open="true"] {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* 이미지+콘텐츠 카드 영역 — 전체가 클릭 가능 */
.popad__card {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  user-select: none;
}

/* 광고 표시 배지 */
.popad__ad-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.28); /* 연하게 박스처리 */
  color: rgba(255, 255, 255, 0.95);
  font-size: 10px; /* 작게 */
  font-weight: 500; /* 두껍지 않게 */
  padding: 3px 6px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 5;
  letter-spacing: -0.6px; /* 자간 좁혀서 */
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  font-family: 'NanumSquareNeo', sans-serif;
  line-height: 1.1;
}

/* 배너 이미지 — 가로 100% 채우고 세로는 실제 이미지 비율로 자동 조절 */
.popad__banner-img {
  width: 100%;
  height: auto;          /* 이미지 원본 비율 그대로 */
  display: block;
  object-fit: contain;
  background: #f2f4f2;
  /* 너무 긴 이미지 방지: 뷰포트 높이의 60% 초과 시 contain으로 축소 */
  max-height: 60vh;
}
.popad__img-empty {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #f2f4f2 0%, #e4eae4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #b0bab5;
}

/* 제목 (옵션) */
.popad__title {
  padding: 14px 18px 6px;
  font-size: 16px;
  font-weight: 800;
  color: #1a2620;
  line-height: 1.45;
  white-space: pre-wrap;
}

/* CTA 버튼 (옵션) */
.popad__cta-wrap {
  padding: 8px 18px 14px;
}
.popad__cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: none;
  cursor: pointer;
  border-radius: 11px;
  background: var(--point);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 12px;
  font-family: inherit;
  box-shadow: 0 4px 14px -4px rgba(7, 194, 156, 0.45);
  transition: opacity 0.12s, transform 0.1s;
}
.popad__cta:active {
  opacity: 0.85;
  transform: scale(0.98);
}

/* 인디케이터 점 (이미지 위 오버레이) */
.popad__dots {
  position: absolute;
  bottom: 10px;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
}
/* 제목이나 버튼이 있으면 dots가 카드 아래 배치 */
.popad__title ~ .popad__dots,
.popad__cta-wrap ~ .popad__dots {
  position: static;
  padding: 0 0 10px;
}
.popad__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
  pointer-events: auto;
  transition: background 0.2s, transform 0.2s, width 0.2s;
}
.popad__dot[data-on="true"] {
  background: #fff;
  width: 18px;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.22);
}


/* ── 상단 버튼 바 — 이미지 밖, 팝업 최상단 독립 행 ─────────────── */
.popad__top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 10px;
  background: transparent;   /* 팝업 자체 배경(#fff)이 보임 */
  flex: none;
}
.popad__top-btn {
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'NanumSquareNeo', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #8a9e97;
  padding: 4px 2px;
  line-height: 1;
  letter-spacing: -0.2px;
  transition: color 0.12s;
}
.popad__top-btn:hover { color: #3a5048; }
.popad__top-btn:active { opacity: 0.7; }
.popad__top-btn--skip {
  /* 왼쪽: 오늘 하루 보지 않기 — 언더라인으로 클릭 유도 */
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: #c8d4d0;
}
.popad__top-btn--close {
  /* 오른쪽: 닫기 ✕ — 진한 색 */
  color: #3a5048;
  font-weight: 800;
}




/* ── PC 환경 팝업 보정 ─────────────────────────────────────────────────── */
@media (min-width: 480px) {
  /* PC에서는 .app이 560px 고정이므로 팝업도 그 안에 자연스럽게 들어옴 */
  /* 이미지 max-height를 더 제한해서 팝업이 화면을 압도하지 않게 */
  .popad__banner-img {
    max-height: 45vh;
  }
  /* 팝업 하단에 radius 복원 (둥근 모서리, 바닥에서 살짝 위) */
  .popad {
    bottom: 0;
    border-radius: 18px 18px 0 0;
  }
}
/* ============================================================================
   매장안내 (전체화면 지도 + 마커 + 매장 리스트)
   ============================================================================ */
.storewrap { position: relative; flex: 1 1 auto; overflow: hidden; min-height: 0; }
.storemap { position: absolute; inset: 0; overflow: hidden; background: #eef1ee;
  cursor: grab; touch-action: none; user-select: none; z-index: 1; }
.storemap:active { cursor: grabbing; }
.storemap__view { position: absolute; top: 0; left: 0; width: 1400px; height: 1400px; transform-origin: 0 0; will-change: transform; }
.storemap__bg { display: block; }

/* 마커 (네이버 스타일 핀 + 라벨) */
.marker { position: absolute; transform: translate(-50%, -100%); border: none; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; padding: 0; z-index: 2; }
.marker[data-on="true"] { z-index: 5; }
.marker__pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; background: var(--point); transform: rotate(-45deg);
  display: grid; place-items: center; box-shadow: 0 3px 8px rgba(20,32,29,.35); transition: background .15s var(--ease), transform .15s var(--ease); }
.marker__pin svg { transform: rotate(45deg); }
.marker[data-on="true"] .marker__pin { background: var(--point); transform: rotate(-45deg) scale(1.18); }
.marker__label { margin-top: -2px; font-size: 11px; font-weight: 800; color: var(--ink); background: rgba(255,255,255,.94);
  padding: 3px 7px; border-radius: 7px; white-space: nowrap; box-shadow: 0 1px 4px rgba(20,32,29,.2); }
.marker[data-on="true"] .marker__label { color: #fff; background: var(--point); }

/* 지도 컨트롤 */
.mapctrl { position: absolute; right: 14px; top: 14px; display: flex; flex-direction: column; background: #fff;
  border-radius: 12px; box-shadow: 0 4px 14px rgba(20,32,29,.18); overflow: hidden; z-index: 8; }
.mapctrl button { width: 42px; height: 42px; border: none; background: #fff; cursor: pointer; color: var(--ink-2); display: grid; place-items: center; }
.mapctrl button:first-child { border-bottom: 1px solid var(--line); }
.mapctrl button:active { background: var(--surface-2); }
.map-locate { position: absolute; right: 14px; bottom: 16px; width: 44px; height: 44px; border-radius: 12px; border: none;
  background: #fff; box-shadow: 0 4px 14px rgba(20,32,29,.18); cursor: pointer; color: var(--point); display: grid; place-items: center; z-index: 8; }
.map-locate:active { background: var(--surface-2); }

/* 드래그 가능한 바텀시트 */
.storesheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 9; display: flex; flex-direction: column;
  background: var(--surface); border-radius: 20px 20px 0 0; box-shadow: 0 -6px 24px -8px rgba(20,32,29,.18);
  height: auto; max-height: 78%; overflow: hidden;
  transition: max-height .3s var(--ease), height .3s var(--ease); will-change: max-height, height; }
.storesheet__handle { flex: none; cursor: grab; padding: 9px 0 6px; touch-action: none; display: flex; justify-content: center; }
.storesheet__handle:active { cursor: grabbing; }
.storesheet__grab { display: block; width: 42px; height: 5px; border-radius: 999px; background: #dfe5e2; }
.storesheet .storesearch { flex: none; }
.storesheet .storelist__head { flex: none; }
.storesheet .storelist { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.storesheet .storelist::-webkit-scrollbar { width: 0; }
.storesearch { display: flex; align-items: center; gap: 10px; margin: 4px 16px 4px; padding: 0 14px; height: 48px;
  border-radius: 13px; background: var(--surface-2); color: var(--ink-3); }
.storesearch__in { flex: 1 1 auto; min-width: 0; border: none; background: none; outline: none; font-size: 15px; font-weight: 700; color: var(--ink); }
.storesearch__in::placeholder { color: var(--ink-3); font-weight: 600; }
.storesearch__clr { border: none; background: none; cursor: pointer; color: var(--ink-3); display: grid; place-items: center; padding: 4px; }

.storelist__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px 6px; font-size: 13px; font-weight: 800; color: var(--ink-2); }
.storelist__head b { color: var(--point); }
.storelist__sort { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 700; color: var(--ink-3); }

.storelist { padding: 0 12px 14px; }
.storeitem { display: flex; align-items: flex-start; gap: 12px; width: 100%; cursor: pointer; border: none; background: none;
  text-align: left; padding: 14px 8px; border-top: 1px solid var(--line-2); border-radius: 12px; transition: background .14s var(--ease); }
.storeitem:first-child { border-top: none; }
.storeitem[data-on="true"] { background: var(--point-soft); }
.storeitem__pin { flex: none; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; background: var(--point); transform: rotate(-45deg);
  display: grid; place-items: center; margin-top: 2px; }
.storeitem__pin svg { transform: rotate(45deg); }
.storeitem__pin[data-best="true"] { background: var(--point); }
.storeitem[data-on="true"] .storeitem__pin { background: var(--point); }
.storeitem__main { flex: 1 1 auto; min-width: 0; }
.storeitem__name { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; }
.storeitem__badge { font-size: 10px; font-weight: 800; color: var(--point-ink); background: var(--point-soft); padding: 2px 6px; border-radius: 5px; }
.storeitem[data-on="true"] .storeitem__badge { background: #fff; }
.storeitem__addr { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-top: 4px; }
.storeitem__meta { display: block; font-size: 11.5px; font-weight: 700; color: var(--ink-3); margin-top: 4px; }
.storeitem__meta .open { color: var(--point); font-weight: 800; }
.storeitem__meta .open[data-open="false"] { color: var(--ink-3); }
.storeitem__right { flex: none; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.storeitem__dist { font-size: 12px; font-weight: 800; color: var(--ink-2); }
.storeitem__chev { color: var(--ink-3); }
.storeitem__call { width: 38px; height: 38px; border-radius: 11px; background: var(--point-soft); color: var(--point-ink);
  display: grid; place-items: center; text-decoration: none; }
.storeitem__call:active { background: #d6f5ec; }

/* 매장 상세 시트 */
.sd__top { display: flex; align-items: center; gap: 12px; }
.sd__pin { flex: none; width: 40px; height: 40px; border-radius: 50% 50% 50% 0; background: var(--point); transform: rotate(-45deg); display: grid; place-items: center; margin-top: -6px; }
.sd__pin svg { transform: rotate(45deg); }
.sd__id { flex: 1 1 auto; min-width: 0; }
.sd__name { display: flex; align-items: center; gap: 7px; font-size: 18px; font-weight: 900; }
.sd__open { font-size: 12.5px; font-weight: 700; color: var(--ink-3); margin-top: 4px; }
.sd__open .open { color: var(--point); font-weight: 800; }
.sd__open .open[data-open="false"] { color: var(--ink-3); }
.sd__dist { flex: none; font-size: 13px; font-weight: 800; color: var(--ink-2); }
.sd__map { position: relative; height: 124px; border-radius: 14px; margin: 16px 0; overflow: hidden; display: grid; place-items: center; }
.sd__mapbg { position: absolute; inset: 0; background:
  radial-gradient(120% 90% at 50% 20%, #f7f8f6 0%, #eef1ee 70%),
  repeating-linear-gradient(90deg, transparent 0 38px, #fff 38px 42px),
  repeating-linear-gradient(0deg, transparent 0 38px, #fff 38px 42px); }
.sd__mappin { position: relative; width: 42px; height: 42px; border-radius: 50% 50% 50% 0; background: var(--point); transform: rotate(-45deg); display: grid; place-items: center; box-shadow: 0 4px 10px rgba(20,32,29,.3); }
.sd__mappin svg { transform: rotate(45deg); }
.sd__rows { display: flex; flex-direction: column; }
.sd__row { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line-2); }
.sd__row:first-child { border-top: none; }
.sd__k { flex: none; width: 92px; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--ink-3); }
.sd__v { flex: 1 1 auto; font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.sd__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 18px; }
.sd__act { display: flex; align-items: center; justify-content: center; gap: 6px; border: 1.5px solid var(--line); background: var(--surface);
  cursor: pointer; border-radius: 13px; padding: 14px; font-size: 14px; font-weight: 800; color: var(--ink-2); text-decoration: none; }
.sd__act:active { background: var(--surface-2); }
.sd__act--main { grid-column: 1 / -1; border: none; background: var(--point); color: #fff; box-shadow: 0 8px 18px -8px rgba(7,194,156,.7); }

/* 매장 상세 — 사전승낙서 (좌측 설명 + 우측 사전승낙서 아이콘) */
.sd__precon3 { display: flex; align-items: center; gap: 14px; margin-top: 18px;
  padding: 16px 2px 4px; border-top: 1px solid var(--line); }
.sd__precon3-text { flex: 1 1 auto; min-width: 0; }
.sd__precon3-title { font-size: 13.5px; font-weight: 900; color: var(--ink); margin-bottom: 5px; }
.sd__precon3-desc { font-size: 11.5px; font-weight: 600; color: var(--ink-3); line-height: 1.6; }
.sd__precon3-badges { flex: none; display: flex; align-items: center; gap: 8px; }
.sd__precon3-badges img { height: 56px !important; width: auto !important; max-width: 92px;
  object-fit: contain; display: block; cursor: pointer; }

/* 매장 상세 — 액션 (박스 없는 타일형 · 플랫 컬러 칩 + 흰 아이콘, 그림자 없음) */
.sd__quick { display: flex; gap: 6px; margin-top: 20px; }
.sd-q { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 8px 2px; border: none; background: none; text-decoration: none; cursor: pointer; }
.sd-q:active { opacity: .7; }
.sd-q__ic { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #fff; }
.sd-q__ic svg { display: block; }
.sd-q__ic--call  { background: #1bc6a0; }
.sd-q__ic--map   { background: #4b8bf5; }
.sd-q__ic--kakao { background: #fee500; color: #191919; }
.sd-q__ic--book  { background: #ff8a4c; }
.sd-q__lab { font-size: 12.5px; font-weight: 800; color: var(--ink-2); }

/* 매장안내 바텀시트 — 접힘(peek) 바: 선택한 매장 이름만 노출 */
.storesheet__peek { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  border: none; background: none; cursor: grab; padding: 6px 16px 14px;
  touch-action: none; user-select: none; -webkit-user-select: none; }
.storesheet__peek:active { cursor: grabbing; }
.storesheet__peek .storeitem__pin { flex: none; width: 30px; height: 30px; margin-top: 0; }
.storesheet__peek-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.storesheet__peek-name { display: flex; align-items: center; gap: 6px; font-size: 15.5px; font-weight: 800; color: var(--ink); }
.storesheet__peek-hint { font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.storesheet__peek-detail { flex: none; border: 1.5px solid var(--point); color: var(--point);
  background: var(--surface); font-size: 12px; font-weight: 800; padding: 7px 13px; border-radius: 9px; white-space: nowrap; }
.storesheet__peek-detail:active { background: var(--point); color: #fff; }

/* ── 구매후기 ─────────────────────────────────────────────────────────────── */
.review-sec { display: flex; flex-direction: column; gap: 0; }

/* 요약 */
.review-summary { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1.5px solid var(--line); margin-bottom: 14px; }
.review-summary__score { font-size: 44px; font-weight: 900; color: var(--ink); line-height: 1; letter-spacing: -1px; }
.review-summary__count { font-size: 12.5px; font-weight: 700; color: var(--ink-3); margin-top: 5px; }

/* 완료 토스트 */
.review-done { padding: 11px 16px; border-radius: 11px; background: var(--point-soft); color: var(--point-ink); font-size: 13.5px; font-weight: 800; margin-bottom: 14px; text-align: center; }

/* 후기 작성 버튼 (요약 행 우측 인라인) */
.review-write-btn { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px;
  border-radius: 20px; border: 1.5px solid var(--point); color: var(--point); background: transparent;
  font-size: 12.5px; font-weight: 800; cursor: pointer; font-family: inherit; white-space: nowrap; }
.review-write-btn:active { background: var(--point-soft); }

/* ── 후기 작성 모달 ──────────────────────────────────────────────────────────── */
.revmodal-scrim { position: fixed; inset: 0; z-index: 9900; background: rgba(10,20,17,.52);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  display: flex; align-items: flex-end; justify-content: center;
  animation: revFadeIn .18s ease; }
@keyframes revFadeIn { from { opacity:0 } to { opacity:1 } }
.revmodal { position: relative; width: 100%; max-width: 480px;
  background: var(--surface); border-radius: 22px 22px 0 0;
  padding: 32px 22px 36px; max-height: 92dvh; overflow-y: auto;
  animation: revSlideUp .22s cubic-bezier(.32,1.28,.42,1); }
@keyframes revSlideUp { from { transform:translateY(56px); opacity:0 } to { transform:translateY(0); opacity:1 } }
/* 상단 드래그 핸들 느낌 */
.revmodal::before { content:''; display:block; width:40px; height:4px; border-radius:2px;
  background: var(--line); margin: 0 auto 24px; }
.revmodal__close { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px;
  border-radius: 50%; border: none; background: var(--surface-2); color: var(--ink-2);
  cursor: pointer; display: grid; place-items: center; }
.revmodal__close:active { background: var(--line); }
.revmodal__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; margin-bottom: 26px; }
.revmodal__icon { width: 56px; height: 56px; border-radius: 18px; background: var(--point-soft); color: var(--point-ink);
  display: grid; place-items: center; margin-bottom: 2px; }
.revmodal__icon--star { background: #fff6d6; color: #f5b301; }
.revmodal__title { font-size: 19px; font-weight: 900; color: var(--ink); }
.revmodal__sub { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.revmodal__body { display: flex; flex-direction: column; gap: 18px; }
.revmodal__field { display: flex; flex-direction: column; gap: 8px; }
.revmodal__flabel { font-size: 11.5px; font-weight: 800; color: var(--ink-3); letter-spacing: .5px; text-transform: uppercase; }
.revmodal__codeinput { width: 100%; padding: 16px; border: 2px solid var(--line); border-radius: 14px;
  font-size: 22px; font-weight: 900; text-align: center; letter-spacing: 10px; font-family: inherit;
  background: var(--surface-2); color: var(--ink); outline: none; }
.revmodal__codeinput:focus { border-color: var(--point); background: var(--surface); }
.revmodal__input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 14px; font-weight: 700; font-family: inherit; background: var(--surface-2); color: var(--ink); outline: none; }
.revmodal__input:focus { border-color: var(--point); background: var(--surface); }
.revmodal__textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 13.5px; font-weight: 600; font-family: inherit; background: var(--surface-2); color: var(--ink); outline: none;
  resize: none; line-height: 1.65; }
.revmodal__textarea:focus { border-color: var(--point); background: var(--surface); }
.revmodal__char { font-size: 12px; font-weight: 600; color: var(--ink-3); text-align: right; margin-top: -6px; }
.revmodal__stars { display: flex; align-items: center; gap: 0; }
.revmodal__star { border: none; background: none; padding: 1px 3px; cursor: pointer; transition: transform .12s; }
.revmodal__star:active { transform: scale(.82); }
.revmodal__rtxt { margin-left: 10px; font-size: 13px; font-weight: 800; color: var(--ink-2); min-width: 56px; }
.revmodal__error { font-size: 13px; font-weight: 700; color: #e03030; padding: 12px 16px; border-radius: 10px; background: #fff0f0; }
.revmodal__mainbtn { width: 100%; padding: 15px; border-radius: 14px; border: none;
  background: var(--point); font-size: 15.5px; font-weight: 900; color: #fff; cursor: pointer; font-family: inherit;
  box-shadow: 0 8px 20px -8px rgba(7,194,156,.6); margin-top: 2px; }
.revmodal__mainbtn:disabled { opacity: .55; cursor: default; box-shadow: none; }
.revmodal__mainbtn:not(:disabled):active { opacity: .85; }

/* 후기 목록 */
.review-list { display: grid; }
.review-item { padding: 15px 0; border-top: 1px solid var(--line-2); }
.review-item__head { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; flex-wrap: wrap; }
.review-item__name { font-size: 13px; font-weight: 800; color: var(--ink); }
.review-item__date { font-size: 12px; font-weight: 600; color: var(--ink-3); margin-left: auto; }
.review-item__body { font-size: 13.5px; font-weight: 600; color: var(--ink-2); line-height: 1.65; }

/* 더보기 */
.review-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 14px;
  padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--surface); font-size: 14px; font-weight: 800; color: var(--ink-2); cursor: pointer; font-family: inherit; }
.review-more:active { background: var(--surface-2); }
.review-more__cnt { font-size: 12px; font-weight: 700; color: var(--ink-3); padding: 3px 8px;
  background: var(--surface-2); border-radius: 20px; }

/* 상세보기 버튼 */
.storeitem__detail-btn {
  border: 1.5px solid var(--point);
  background: var(--surface);
  color: var(--point);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s ease;
}
.storeitem__detail-btn:active {
  background: var(--point);
  color: #fff;
}

/* ── 앱 나가기 확인 팝업 ─────────────────────────────────────────────────── */
.exitpopup-scrim {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,20,17,.52); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: epScrimIn .18s ease;
}
@keyframes epScrimIn { from { opacity: 0; } to { opacity: 1; } }
.exitpopup {
  background: var(--surface); border-radius: 24px; padding: 30px 24px 22px;
  width: 100%; max-width: 296px; text-align: center;
  box-shadow: 0 24px 60px -12px rgba(10,20,17,.5);
  animation: epCardIn .22s cubic-bezier(.32,1.28,.42,1);
}
@keyframes epCardIn { from { transform: scale(.86); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.exitpopup__icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--point-soft);
  color: var(--point); display: grid; place-items: center; margin: 0 auto 18px;
}
.exitpopup__title { font-size: 18px; font-weight: 900; letter-spacing: -.02em; margin-bottom: 8px; }
.exitpopup__desc  { font-size: 13.5px; font-weight: 700; color: var(--ink-2); line-height: 1.5; margin-bottom: 24px; }
.exitpopup__btns  { display: flex; gap: 8px; }
.exitpopup__btn   { flex: 1; padding: 14px 8px; border-radius: 14px; border: none;
  font-family: inherit; font-size: 14.5px; font-weight: 800; cursor: pointer; }
.exitpopup__stay  { background: var(--surface-2); color: var(--ink-2); }
.exitpopup__leave { background: var(--point); color: #fff; }

/* ============================================================================
   시세 탭 — 벨 알림 버튼
   ============================================================================ */
.rateitem-wrap { position: relative; display: flex; align-items: stretch; }
.rateitem-wrap .rateitem { flex: 1 1 auto; min-width: 0; padding-right: 48px; }
.rateitem__bell { flex: none; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 42px; height: 100%; border: none; background: none; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3); transition: color .18s; }
.rateitem__bell:active { opacity: .7; }
.rateitem__bell.is-on { color: var(--point); }

/* 상세 앱바 벨 */
.detail-bell { color: var(--ink-3); transition: color .18s; }
.detail-bell.is-on { color: var(--point); }

/* ============================================================================
   알림 설정 화면 — al-*
   ============================================================================ */
.al-help { font-size: 12.5px; font-weight: 700; color: var(--ink-3); line-height: 1.7;
  padding: 14px 20px 6px; }

.al-list { display: flex; flex-direction: column; }

.al-empty { display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 0 24px; text-align: center; }
.al-empty__t { font-size: 16px; font-weight: 900; color: var(--ink); margin-top: 2px; }
.al-empty__s { font-size: 13px; font-weight: 700; color: var(--ink-3); line-height: 1.6; }

/* 알람 행 — 플랫 리스트 */
.alrow { display: flex; align-items: center; width: 100%; border: none; background: none;
  padding: 14px 20px; gap: 12px; cursor: pointer; text-align: left;
  border-bottom: 1px solid var(--line-2); }
.alrow:active { background: var(--surface-2); }
.alrow__left { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; }
.alrow__logo { width: 38px; height: 17px; object-fit: contain; flex: none; }
.alrow__logo-ph { flex: none; width: 38px; height: 17px; display: flex; align-items: center;
  justify-content: center; font-size: 11px; font-weight: 800; color: var(--ink-3); }
.alrow__info { min-width: 0; }
.alrow__name { display: block; font-size: 14px; font-weight: 800; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alrow__meta { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.alrow__badge { font-size: 10.5px; font-weight: 800; padding: 1px 7px; border-radius: 5px;
  background: var(--point-soft); color: var(--point-ink); }
.alrow__cur { font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.alrow__right { flex: none; display: flex; align-items: center; gap: 6px; color: var(--ink-3); }
.alrow__target-wrap { text-align: right; }
.alrow__target-lab { display: block; font-size: 10.5px; font-weight: 800; color: var(--ink-3); }
.alrow__target { display: block; font-size: 13.5px; font-weight: 900; color: var(--point-ink); }
.alrow__any { font-size: 12px; font-weight: 700; color: var(--ink-3); }

/* 목표가 설정 팝업 */
.almpop-scrim { position: absolute; inset: 0; z-index: 9999;
  background: rgba(20,32,29,.38); display: flex; align-items: flex-end; }
.almpop { width: 100%; background: var(--surface); border-radius: 24px 24px 0 0;
  padding: 6px 20px calc(28px + env(safe-area-inset-bottom));
  animation: rpSlideUp .26s var(--ease) both; }
.almpop__drag { width: 36px; height: 4px; border-radius: 2px; background: var(--line);
  margin: 0 auto 18px; }
.almpop__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.almpop__title { font-size: 17px; font-weight: 900; letter-spacing: -.02em; }
.almpop__close { border: none; background: var(--surface-2); color: var(--ink-2); cursor: pointer;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }

.almpop__model { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.almpop__logo { width: 44px; height: 20px; object-fit: contain; flex: none; }
.almpop__model-info { min-width: 0; }
.almpop__mname { font-size: 15px; font-weight: 900; }
.almpop__badge { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 6px;
  background: var(--point-soft); color: var(--point-ink); margin-top: 3px; }

.almpop__cur { font-size: 13px; font-weight: 700; color: var(--ink-2); padding: 10px 0 14px;
  border-bottom: 1px solid var(--line-2); }
.almpop__cur b { font-size: 15px; font-weight: 900; color: var(--ink); }

.almpop__field { padding: 16px 0 0; }
.almpop__field-label { font-size: 12px; font-weight: 800; color: var(--ink-3);
  letter-spacing: .02em; margin-bottom: 10px; }
.almpop__input-row { display: flex; align-items: center; gap: 8px;
  border-bottom: 2px solid var(--point); padding-bottom: 8px; }
.almpop__sign { flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--surface-2); cursor: pointer;
  font-size: 18px; font-weight: 900; color: var(--ink-2); display: grid; place-items: center;
  line-height: 1; transition: background .12s, color .12s, border-color .12s; }
.almpop__sign.is-neg { border-color: var(--rose); background: var(--rose-soft); color: var(--rose); }
.almpop__input { flex: 1 1 auto; border: none; background: none; font-family: inherit;
  font-size: 22px; font-weight: 900; color: var(--ink); outline: none; min-width: 0; }
.almpop__input::placeholder { color: var(--ink-3); font-size: 18px; font-weight: 700; }
.almpop__unit { flex: none; font-size: 15px; font-weight: 800; color: var(--ink-2); }
.almpop__err  { margin-top: 7px; font-size: 12px; font-weight: 800; color: var(--rose); }
.almpop__hint { margin-top: 7px; font-size: 12px; font-weight: 700; color: var(--ink-3); }

.almpop__btns { display: flex; gap: 8px; margin-top: 22px; }
.almpop__del { flex: none; border: 1.5px solid var(--line); background: none; border-radius: 13px;
  padding: 13px 16px; font-family: inherit; font-size: 13.5px; font-weight: 800; color: var(--ink-3);
  cursor: pointer; display: flex; align-items: center; gap: 6px; }
.almpop__del:active { background: var(--surface-2); }
.almpop__save { flex: 1 1 auto; border: none; border-radius: 13px; background: var(--point);
  color: #fff; font-family: inherit; font-size: 15px; font-weight: 900; cursor: pointer; padding: 14px; }
.almpop__save:disabled { opacity: .4; cursor: default; }
.almpop__save:not(:disabled):active { filter: brightness(.94); }

/* 앱바 모델 선택 버튼 */
.appbar__modelbtn { border: none; background: none; cursor: pointer; padding: 4px 8px;
  border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 5px;
  color: var(--ink); font-family: inherit; width: 100%; min-width: 0; }
.appbar__modelbtn:active { background: var(--surface-2); }
.appbar__modelbtn-name { font-size: 16px; font-weight: 900; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; letter-spacing: -.02em; min-width: 0; flex-shrink: 1; }

/* 모델 선택 바텀시트 */
.modelpick-scrim { position: absolute; inset: 0; z-index: 9999;
  background: rgba(20,32,29,.38); display: flex; align-items: flex-end; }
.modelpick { width: 100%; background: var(--surface); border-radius: 24px 24px 0 0;
  max-height: 70vh; display: flex; flex-direction: column;
  animation: rpSlideUp .26s var(--ease) both; }
.modelpick__drag { flex: none; width: 36px; height: 4px; border-radius: 2px; background: var(--line);
  margin: 10px auto 0; }
.modelpick__head { flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px 12px; border-bottom: 1px solid var(--line-2); }
.modelpick__title { font-size: 16px; font-weight: 900; letter-spacing: -.02em; }
.modelpick__close { border: none; background: var(--surface-2); color: var(--ink-2); cursor: pointer;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.modelpick__search { flex: none; display: flex; align-items: center; gap: 8px;
  margin: 10px 16px 4px; padding: 9px 12px; border-radius: 12px; background: var(--surface-2);
  color: var(--ink-3); }
.modelpick__searchin { flex: 1 1 auto; border: none; background: none; font-family: inherit;
  font-size: 14px; font-weight: 700; color: var(--ink); outline: none; min-width: 0; }
.modelpick__searchin::placeholder { color: var(--ink-3); }
.modelpick__searchclr { flex: none; border: none; background: none; cursor: pointer;
  color: var(--ink-3); display: grid; place-items: center; padding: 0; }
.modelpick__empty { padding: 24px 20px; font-size: 13.5px; font-weight: 700; color: var(--ink-3); text-align: center; }
.modelpick__list { flex: 1 1 auto; overflow-y: auto; padding: 6px 0 calc(20px + env(safe-area-inset-bottom)); }
.modelpick__row { display: flex; align-items: center; gap: 12px; width: 100%; border: none;
  background: none; padding: 12px 20px; cursor: pointer; text-align: left; }
.modelpick__row:active { background: var(--surface-2); }
.modelpick__row.is-cur { background: var(--point-soft); }
.modelpick__img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px;
  background: var(--surface-2); flex: none; }
.modelpick__dot { flex: none; width: 40px; height: 40px; border-radius: 8px;
  background: var(--surface-2); }
.modelpick__name { flex: 1 1 auto; font-size: 14px; font-weight: 800; color: var(--ink); }
.modelpick__check { flex: none; color: var(--point); }

/* 사전승낙서 배지 공통 레이아웃 및 크기 정리 */
.precon-badges,
.sd__precon3-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px 8px !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.precon-badges > div,
.sd__precon3-badges > div {
  flex: 0 0 calc(25% - 6px) !important;
  width: auto !important;
  max-width: 76px !important;
  min-width: 52px !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 텍스트 노드가 포함된 엘리먼트들 비활성화 (아이콘만 깨끗하게 표시) */
.precon-badges > div > *:not(a):not(iframe),
.sd__precon3-badges > div > *:not(a):not(iframe) {
  display: none !important;
}

/* 위젯 내 모든 엘리먼트 가로 넓이 리셋 */
.precon-badges > div *,
.sd__precon3-badges > div * {
  width: auto !important;
  max-width: 76px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.precon-badges a,
.sd__precon3-badges a {
  display: block !important;
  width: 100% !important;
}

.precon-badges img,
.sd__precon3-badges img {
  width: 100% !important;
  height: auto !important;
  max-width: 76px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  cursor: pointer;
}

/* ============================================================================
   약관 / 정책 모달 및 테이블 스타일
   ============================================================================ */
.legal-scrim {
  position: absolute;
  inset: 0;
  z-index: 400;
  background: rgba(10, 18, 14, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: pscrimIn 0.25s ease;
}

@media (min-width: 480px) {
  .legal-scrim {
    align-items: center;
    padding: 20px;
  }
}

.legal-modal {
  width: 100%;
  max-height: 85vh;
  background: var(--surface);
  border-radius: 24px 24px 0 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -8px 32px rgba(10, 18, 14, 0.15);
  animation: psheetUp 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 480px) {
  .legal-modal {
    max-width: 500px;
    border-radius: 20px;
    max-height: 80vh;
    animation: fadeUp 0.3s ease;
  }
}

.legal-modal__head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line);
}

.legal-modal__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.legal-modal__close {
  border: none;
  background: var(--surface-2);
  color: var(--ink-2);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s;
}

.legal-modal__close:active {
  background: var(--line);
}

.legal-modal__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 24px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.legal__p {
  margin-bottom: 16px;
}

.legal__art {
  margin-top: 24px;
  margin-bottom: 20px;
}

.legal__h {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.legal__ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal__ol li {
  margin-bottom: 8px;
}

.legal__table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 20px;
  font-size: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.legal__table th, .legal__table td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.legal__table th {
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 800;
}

.legal__table td {
  color: var(--ink-2);
}

.legal__table--kv th {
  width: 120px;
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 800;
}

.legal__date {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 24px;
  text-align: right;
}

.legal-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 10px 0;
}
.legal-table-scroll::-webkit-scrollbar {
  height: 4px;
}
.legal-table-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}
.legal-table-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 2px;
}
.legal-table-scroll::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

/* ── 프리미엄 로그인 화면 전면 리디자인 오버라이드 ── */
.login {
  background: radial-gradient(circle at top left, rgba(7, 194, 156, 0.05) 0%, rgba(255, 255, 255, 0) 50%),
              radial-gradient(circle at bottom right, rgba(7, 194, 156, 0.03) 0%, rgba(255, 255, 255, 0) 50%),
              #ffffff !important;
  position: relative;
  overflow: hidden;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  text-align: left;
  padding: 56px 28px calc(24px + env(safe-area-inset-bottom)) !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  height: 100%;
}

.login__hero {
  flex: 1 1 auto !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  justify-content: flex-start;
  margin-top: 16px;
  margin-bottom: 32px;
}

.login__logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  margin: 0 0 28px 0 !important;
  width: 100%;
}

.login__title {
  font-size: 26px !important;
  font-weight: 800;
  line-height: 1.42 !important;
  letter-spacing: -0.025em;
  margin: 0 0 16px !important;
  color: var(--ink);
  word-break: keep-all;
  text-align: left !important;
}

.login__title .hl {
  color: var(--point);
}

.login__sub {
  font-size: 14.5px !important;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 !important;
  word-break: keep-all;
  text-align: left !important;
}

.login__actions {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin: auto 0 20px 0 !important; /* Push actions to the bottom */
}

.btn--kakao {
  box-shadow: 0 4px 14px rgba(254, 229, 0, 0.15);
  transition: filter 0.2s ease, transform 0.1s ease;
  font-weight: 800 !important;
}
.btn--kakao:hover {
  filter: brightness(0.98);
}

.btn--mint {
  box-shadow: 0 4px 14px rgba(7, 194, 156, 0.15);
  transition: filter 0.2s ease, transform 0.1s ease;
  font-weight: 800 !important;
}
.btn--mint:hover {
  filter: brightness(0.98);
}

.login__fine {
  margin: 0 auto !important;
  width: 100%;
  text-align: center;
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.6;
}

.legal-link {
  color: var(--ink-2);
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.legal-link:hover {
  color: var(--point);
}

/* PC screen improvements */
@media (min-width: 480px) {
  body {
    background: #0f172a !important;
  }

  .viewport {
    width: 100% !important;
    max-width: 100% !important;
    background-color: #0f172a !important;
    background-image: radial-gradient(circle at top right, rgba(7, 194, 156, 0.05) 0%, rgba(15, 23, 42, 0) 50%) !important;
  }
  
  .app {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 
                0 0 0 1px rgba(255, 255, 255, 0.08) !important;
    margin: 0 auto !important;
  }

  .login {
    padding: 72px 40px calc(36px + env(safe-area-inset-bottom)) !important;
  }

  .login__hero {
    margin-top: 32px;
  }

  .login__title {
    font-size: 30px !important;
    line-height: 1.4 !important;
  }

  .login__sub {
    font-size: 15.5px !important;
  }

  .login__actions {
    gap: 12px;
    margin-bottom: 24px !important;
  }

}

/* ── 약관 리스트 도트(•) 정렬 개선 스타일 ── */
.legal__li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 6px;
  line-height: 1.6;
}
.legal__li:last-child {
  margin-bottom: 0;
}
.legal__li-dot {
  flex: none;
  color: var(--point);
  font-weight: bold;
}
.legal__li-text {
  flex: 1 1 auto;
  color: var(--ink-2);
}

/* ── 시세 확인 제한 로그인 유도 배지 ───────────────────────────────────────── */
.price-lock-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 13px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--point-ink);
  background-color: var(--point-soft);
  border: 1px dashed var(--point);
  border-radius: var(--r-ctrl);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  animation: badge-pulse 2s infinite ease-in-out;
  box-shadow: 0 2px 6px rgba(7, 194, 156, 0.05);
  white-space: nowrap;
  text-align: center;
}
.price-lock-badge:hover {
  background-color: var(--point);
  color: #ffffff;
  border-color: var(--point-600);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(7, 194, 156, 0.15);
}
.price-lock-badge--sm {
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 8px;
  white-space: nowrap;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.93; transform: scale(0.98); }
}

/* ============================================================================
   사전예약 화면 전용 스타일
   ============================================================================ */

/* ── 큰 폰 목업 (히어로용) ─────────────────────────────────────────────────── */
.phone--xl { width: 118px; height: 190px; border-radius: 28px; }
.phone--xl .phone__cam { width: 22px; height: 40px; border-radius: 10px; top: 14px; left: 14px; }
.phone--xl .phone__cam i { width: 9px; height: 9px; }

/* ── 히어로 영역 ─────────────────────────────────────────────────────────── */
.po-hero { position: relative; }

/* ── 혜택 리스트 ─────────────────────────────────────────────────────────── */
.po-benefit-list { display: flex; flex-direction: column; gap: 10px; }
.po-benefit-item { display: flex; align-items: center; gap: 10px; padding: 8px 4px;
  background: transparent; border-radius: 0; border: none; }
.po-benefit-item__ico { flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--point-soft); color: var(--point); display: inline-flex; align-items: center; justify-content: center; }
.po-benefit-item__ico svg { width: 12px; height: 12px; display: block; }
.po-benefit-item__text { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 20px; }

/* ── 가격 카드 ───────────────────────────────────────────────────────────── */
.po-price-card { background: transparent;
  border: none; border-radius: 0; padding: 12px 4px 16px;
  display: flex; flex-direction: column; gap: 6px; }
.po-price-card__label { font-size: 12px; font-weight: 800; color: var(--ink-3); line-height: 1.2; }
.po-price-card__value { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.3; letter-spacing: -.02em; }
.po-price-card__note { font-size: 11.5px; font-weight: 600; color: var(--ink-3); line-height: 1.5; margin-top: 4px; }

/* ── 실구매가 상세 안내 행 스타일 ── */
.po-price-area { padding: 8px 4px; display: flex; flex-direction: column; gap: 4px; }
.po-info-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }
.po-info-row__label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.po-info-row__value { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.po-info-row--discount .po-info-row__label { color: var(--ink-2); }
.po-info-row--discount .po-info-row__value { color: var(--rose); font-weight: 700; }
.po-info-row--gongsi .po-info-row__label { color: var(--ink-2); }
.po-info-row--gongsi .po-info-row__value { color: #7c3aed; font-weight: 700; }
.po-info-note { font-size: 11.5px; font-weight: 600; color: var(--ink-3); line-height: 1.5; margin-top: 6px; }

/* ── 사전예약 공시/선약 토글 탭 & 모델명 데코 ── */
.po-method-tab {
  display: flex;
  background: var(--surface-2);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 16px;
  border: 1px solid var(--line-2);
}
.po-method-tab__btn {
  flex: 1;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-2);
  padding: 8px 0;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  transition: background .15s, color .15s;
}
.po-method-tab__btn[data-active="true"] {
  background: var(--surface);
  color: var(--point);
  box-shadow: 0 2px 8px rgba(20,32,29,.05);
}
.po-price-area__model {
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 12px;
  border-left: 3.5px solid var(--point);
  padding-left: 8px;
  line-height: 1.2;
}

/* ── 타임라인 ────────────────────────────────────────────────────────────── */
.po-timeline { display: flex; flex-direction: column; gap: 0; }
.po-timeline__item { display: flex; gap: 16px; }
.po-timeline__left { display: flex; flex-direction: column; align-items: center; flex: none; width: 44px; }
.po-timeline__dot { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px -4px rgba(7,194,156,.2); flex: none; }
.po-timeline__line { flex: 1 1 auto; width: 2px; background: var(--line); margin: 6px auto; min-height: 24px; }
.po-timeline__content { flex: 1 1 auto; padding: 2px 0 24px; }
.po-timeline__step-n { font-size: 10.5px; font-weight: 900; color: var(--point); letter-spacing: .06em; margin-bottom: 4px; }
.po-timeline__title { font-size: 15px; font-weight: 900; color: var(--ink); margin-bottom: 5px; }
.po-timeline__desc { font-size: 13px; font-weight: 700; color: var(--ink-3); line-height: 1.55; }

/* ── 홈 화면 사전예약 카드 (모바일: 가로스크롤 / PC: 2컬럼 그리드) ── */
.poscroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.poscroll::-webkit-scrollbar { display: none; }
.pocard { flex: none; width: 152px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 18px; overflow: hidden;
  cursor: pointer; text-align: left; padding: 0; transition: transform .15s, border-color .15s; }
.pocard:active { transform: scale(.97); }
@media (hover: hover) { .pocard:hover { border-color: var(--point); box-shadow: 0 4px 16px -6px rgba(7,194,156,.2); } }
.pocard__img { position: relative; height: 130px; background: linear-gradient(160deg,#f3f7f5 0%,#eaf0ed 100%); display: grid; place-items: center; overflow: hidden; }
.pocard__dday { position: absolute; top: 9px; right: 9px; font-size: 10.5px; font-weight: 900;
  background: var(--point); color: #fff; padding: 2.5px 8px; border-radius: 999px; letter-spacing: -.01em; }
.pocard__body { padding: 11px 12px 13px; }
.pocard__brand { font-size: 10px; font-weight: 800; color: var(--ink-3); letter-spacing: .05em; margin-bottom: 3px; }
.pocard__name { font-size: 13.5px; font-weight: 900; color: var(--ink); line-height: 1.3; margin-bottom: 4px; }
.pocard__date { font-size: 11px; font-weight: 700; color: var(--point-ink); }
/* PC: 2컬럼 그리드 전환 */
@media (min-width: 480px) {
  .poscroll { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; overflow-x: unset; padding-bottom: 0; }
  .pocard { width: auto; border-radius: 16px; }
  .pocard__img { height: 155px; }
  .pocard__img .phone { width: 70px; height: 112px; }
  .pocard__name { font-size: 14px; }
  .pocard__date { font-size: 11.5px; }
}

/* ── 사전예약 카테고리·전체보기 목록 ── */
.po-catlist { display: flex; flex-direction: column; gap: 10px; }
.po-catitem { width: 100%; display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px;
  padding: 14px 16px; cursor: pointer; text-align: left; transition: border-color .15s, box-shadow .15s; }
.po-catitem:active { transform: scale(.99); }
@media (hover: hover) { .po-catitem:hover { border-color: var(--point); box-shadow: 0 4px 14px -6px rgba(7,194,156,.22); } }
@media (min-width: 480px) {
  .po-catlist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .po-catitem { padding: 16px 18px; align-items: flex-start; }
}

/* ── 홈 사전예약 live 배지 ──────────────────────────────────────────────── */
.po-live { display: inline-block; margin-left: 6px; font-size: 10.5px; font-weight: 900;
  background: var(--point); color: #fff; padding: 2px 8px; border-radius: 999px;
  animation: polive-pulse 2s ease-in-out infinite; vertical-align: 2px; }
@keyframes polive-pulse { 0%,100%{opacity:1;}50%{opacity:.7;} }

/* ── 추가 사전예약 예상스펙 및 일정 스타일 ────────────────────────────────────── */
.po-schedule-box {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 4px 18px;
  margin: 10px 20px 20px;
  color: var(--ink);
  box-shadow: none;
  border-bottom: 1px solid var(--line);
}
.po-schedule-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding: 4px 0;
}
.po-schedule-title .badge {
  background: var(--point-soft);
  color: var(--point);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
}
.po-schedule-title .period {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.po-schedule-row {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  margin-top: 8px;
}
.po-schedule-row::before {
  content: "•";
  color: var(--point);
  font-weight: 900;
  margin-right: 8px;
}
.po-schedule-row .val {
  margin-left: auto;
  color: var(--ink);
  font-weight: 800;
}

/* 예상스펙 카드 */
.po-spec-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 20px;
  background: var(--surface);
  border-top: 8px solid var(--surface-2);
}
.po-spec-card {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 130px 1fr;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.po-spec-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--point);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 12px;
  border-bottom-right-radius: 12px;
  z-index: 2;
}
.po-spec-new {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 42px;
  height: 42px;
  background: #ffcc00;
  color: #111;
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(255, 204, 0, 0.4);
  transform: rotate(15deg);
  z-index: 2;
  animation: po-new-bounce 1s infinite alternate;
}
@keyframes po-new-bounce {
  from { transform: rotate(15deg) scale(1); }
  to { transform: rotate(15deg) scale(1.08); }
}
.po-spec-image-box {
  position: relative;
  background: var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
}
.po-spec-image-box::after {
  content: "COMING SOON";
  position: absolute;
  font-size: 10px;
  font-weight: 900;
  color: var(--point);
  letter-spacing: 0.05em;
  background: var(--point-soft);
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid rgba(7, 194, 156, 0.3);
}
.po-spec-image-box img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  opacity: 0.25;
}
.po-spec-content {
  padding: 24px 16px 16px;
  color: var(--ink);
}
.po-spec-name {
  font-size: 16.5px;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--ink);
}
.po-spec-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.po-spec-item {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
}
.po-spec-item::before {
  content: "•";
  margin-right: 6px;
  color: var(--point);
}

/* 예상스펙 테이블 개편 */
.po-spec-table-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.po-spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 13.5px;
}
.po-spec-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 800;
  color: var(--ink);
  background: var(--surface-2);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  width: 30%;
}
.po-spec-table th:last-child {
  border-right: none;
  width: 70%;
}
.po-spec-table td {
  padding: 12px 16px;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.po-spec-table tr:last-child td {
  border-bottom: none;
}
.po-spec-table td.spec-key {
  font-weight: 800;
  color: var(--ink-2);
  background: var(--surface-2);
  border-right: 1px solid var(--line);
}

.po-spec-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  background: var(--surface-2);
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  text-align: center;
}
.po-spec-empty-icon {
  font-size: 26px;
  margin-bottom: 8px;
}
.po-spec-empty-title {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--ink-2);
}
.po-spec-empty-desc {
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 4px;
}

/* ============================================================================
/* ============================================================================
   완벽한 목업 매칭 이벤트 페이지 (룰렛/뽑기/목록) 오버라이드
   ============================================================================ */

/* 1. 이벤트 리스트 (EventScreen) */
.promo-list-header {
  padding: 16px 20px 0;
  background: #ffffff;
}
.promo-search {
  display: flex;
  align-items: center;
  background: #f2f4f6;
  border-radius: 99px;
  height: 40px;
  padding: 0 16px;
  margin-bottom: 20px;
}
.promo-search__in {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  margin-left: 8px;
}
.promo-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.promo-title {
  font-size: 22px;
  font-weight: 900;
  color: #111111;
  letter-spacing: -0.02em;
}
.promo-bell {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #8b95a1;
}
.promo-bell__badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background: #5c7cfa;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid #ffffff;
}
.promo-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: none;
}
.promo-tabs::-webkit-scrollbar { display: none; }
.promo-tab {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.promo-tab__icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: #f2f4f6;
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: all 0.2s ease;
}
.promo-tab[data-active="true"] .promo-tab__icon {
  background: #dbe4ff;
  color: #5c7cfa;
}
.promo-tab__icon .dot {
  width: 16px; height: 16px; background: #5c7cfa; border-radius: 50%;
}
.promo-tab__t {
  font-size: 12px;
  font-weight: 700;
  color: #4e5968;
}
.promo-tab[data-active="true"] .promo-tab__t {
  color: #111111;
  font-weight: 800;
}

.evlist {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: #ffffff;
  border: none;
  border-bottom: 1px solid #f2f4f6;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.evlist:active { background: #f9f9fa; }
.evlist__thumb {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background-color: #f2f4f6;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  margin-right: 16px;
  border: 1px solid rgba(0,0,0,0.04);
}
.evlist__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.evlist__title {
  font-size: 15px;
  font-weight: 800;
  color: #111111;
  line-height: 1.4;
  margin-bottom: 4px;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.evlist__cat {
  color: #f04452; /* 빨간 텍스트 */
  margin-right: 4px;
}
.evlist__cat.purple {
  color: #a044ff; /* 보라색 텍스트 */
}
.evlist__period {
  font-size: 13px;
  font-weight: 600;
  color: #8b95a1;
  margin-bottom: 8px;
}
.evlist__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.evlist__tag {
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}
.evlist__tag.blue { background: #e8f3ff; color: #1b64da; }
.evlist__tag.red { background: #feebe8; color: #f04452; border: 1px solid #f04452; }
.evlist__tag.grey { background: #f2f4f6; color: #4e5968; }

.evlist__cta {
  color: #d1d6db;
  margin-left: 8px;
}

/* 2. 룰렛 영역 스테이지 (evd-stage) 완벽 매칭 */
.evd-hero-toss {
  text-align: center;
  padding: 24px 20px 10px;
}
.evd-hero-toss__title {
  font-size: 20px;
  font-weight: 900;
  color: #111111;
  margin-bottom: 8px;
}
.evd-hero-toss__sub {
  font-size: 14px;
  font-weight: 600;
  color: #4e5968;
}

.evd-stage {
  background: #ffffff;
  padding: 10px 20px 40px;
  position: relative;
}

/* 룰렛 디자인 오버라이드 */
.rwheel {
  max-width: 320px;
  margin: 0 auto 30px;
  position: relative;
}
.rwheel__ring {
  background: #ffffff;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}
.rwheel__inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}
/* 반짝이 아이콘들 (CSS로 대략적 표현) */
.rwheel-sparkle {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 0;
}

/* 중앙 포인터 (흰색원 + 민트원 + 역삼각형) */
.rwheel-custom-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: grid;
  place-items: center;
  z-index: 10;
}
.rwheel-custom-center__inner {
  width: 46px;
  height: 46px;
  background: #73e0c1; /* 민트색 */
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
}
.rwheel-custom-center__arrow {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid #ffffff;
  margin-top: 4px;
}

/* 코랄 핑크 룰렛 버튼 */
.ev-play-toss {
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(90deg, #ff9a9e 0%, #fecfef 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  font-family: 'NanumSquareNeo', sans-serif !important;
  box-shadow: 0 8px 20px rgba(255, 154, 158, 0.3);
  cursor: pointer;
  margin-bottom: 12px;
}
.ev-play-toss:disabled { opacity: 0.6; cursor: default; }

.ev-recharge {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #4e5968;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.ev-history {
  margin-top: 40px;
}
.ev-history__title {
  font-size: 16px;
  font-weight: 900;
  color: #111111;
  margin-bottom: 16px;
}
.ev-history-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.ev-history-list::-webkit-scrollbar { display: none; }
.ev-history-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.ev-history-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f2f4f6;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.ev-history-item__info {
  display: flex;
  flex-direction: column;
}
.ev-history-item__t {
  font-size: 14px;
  font-weight: 800;
  color: #111111;
}
.ev-history-item__d {
  font-size: 12px;
  font-weight: 600;
  color: #8b95a1;
}

.ev-notice-toss {
  background: #f9f9fa;
  padding: 24px 20px;
  border-radius: 20px;
  margin: 20px 16px;
  display: flex;
  gap: 16px;
}
.ev-notice-toss__title {
  font-size: 15px;
  font-weight: 900;
  color: #111111;
  white-space: nowrap;
}
.ev-notice-toss__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #4e5968;
  line-height: 1.6;
}
.ev-notice-toss__list li::before {
  content: '· ';
}

/* 3. 행운의 상자 (Draw) 그리드 디자인 완벽 매칭 */
.draw-banner {
  background: #f2f4f6;
  padding: 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.draw-banner__text {
  font-size: 20px;
  font-weight: 900;
  color: #111111;
  line-height: 1.35;
}
.draw-banner__img {
  width: 80px;
  height: 80px;
  /* 폭죽 박스 이미지는 SVG나 이모지로 대체 */
}

.draw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 20px;
}
.draw-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  border: 1px solid #f2f4f6;
  display: flex;
  flex-direction: column;
}
.draw-card__top {
  height: 100px;
  display: grid;
  place-items: center;
  position: relative;
}
.draw-card__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 800;
  color: rgba(0,0,0,0.5);
}
.draw-card__icon {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-size: 24px;
}
.draw-card__bottom {
  padding: 12px 10px;
}
.draw-card__title {
  font-size: 13px;
  font-weight: 900;
  color: #111111;
  line-height: 1.4;
  margin-bottom: 4px;
}
.draw-card__stock {
  font-size: 11px;
  font-weight: 600;
  color: #8b95a1;
}

.draw-footer {
  padding: 0 20px 30px;
}
.draw-footer__info {
  font-size: 16px;
  font-weight: 900;
  color: #111111;
  margin-bottom: 16px;
}
.draw-btn-toss {
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 16px;
  background: #e98b8b; /* 코랄 핑크 */
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  font-family: 'NanumSquareNeo', sans-serif !important;
}

/* ============================================================================
   EP — 이벤트 / 쿠폰 (screen-promo.jsx)  ·  2026 모던 리뉴얼
   목록 → 상세(룰렛·뽑기) · 클래스 1:1 일치 · 게임사급 그라데이션
   ============================================================================ */
.ep-bg { background: #f4f5fa; }

/* 공용 빈 상태 / 로딩 */
.ep-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 64px 28px; text-align: center;
}
.ep-empty__ico {
  width: 76px; height: 76px; border-radius: 24px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: #fff; color: #c2c8da;
  box-shadow: 0 8px 24px -10px rgba(40,50,90,.18);
}
.ep-empty__t { font-size: 16.5px; font-weight: 900; color: var(--ink); }
.ep-empty__d { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-top: 7px; line-height: 1.6; }
.ep-empty__btn {
  margin-top: 20px; height: 46px; padding: 0 30px; border: none; border-radius: 14px;
  background: linear-gradient(135deg, #6366f1, #4f46e5); color: #fff;
  font-size: 14.5px; font-weight: 900; font-family: inherit; cursor: pointer;
  box-shadow: 0 10px 22px -8px rgba(79,70,229,.55);
}
.ep-empty__btn:active { transform: translateY(1px); }

.ep-loading { display: grid; place-items: center; padding: 80px 0; }
.ep-spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3.5px solid #e3e6f2; border-top-color: #6366f1;
  animation: ep-spin .7s linear infinite;
}
@keyframes ep-spin { to { transform: rotate(360deg); } }

/* ─────────────────── 목록 헤더 (그라데이션 히어로) ─────────────────── */
.ep-hero {
  position: relative; overflow: hidden;
  padding: 26px 22px 30px;
  background: linear-gradient(135deg, #6d5efc 0%, #4f46e5 55%, #7c3aed 100%);
  color: #fff;
}
.ep-hero__back {
  position: relative; z-index: 2;
  width: 40px; height: 40px; margin: 0 0 14px -8px;
  display: grid; place-items: center; border: none; border-radius: 12px;
  background: rgba(255,255,255,.15); color: #fff; cursor: pointer;
  backdrop-filter: blur(4px);
}
.ep-hero__back:active { background: rgba(255,255,255,.28); }
.ep-hero__deco {
  position: absolute; right: -22px; top: -14px; z-index: 0;
  color: rgba(255,255,255,.14);
  animation: ep-rotate 26s linear infinite;
}
@keyframes ep-rotate { to { transform: rotate(360deg); } }
.ep-hero__kicker {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(255,255,255,.18); backdrop-filter: blur(4px);
  font-size: 11px; font-weight: 900; letter-spacing: .12em; margin-bottom: 12px;
}
.ep-hero__h1 { position: relative; z-index: 2; font-size: 24px; font-weight: 900; line-height: 1.32; letter-spacing: -.02em; }
.ep-hero__sub { position: relative; z-index: 2; margin-top: 9px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.82); line-height: 1.5; max-width: 280px; }

/* 필터 탭 (히어로 위로 살짝 겹침) */
.ep-tabs {
  position: relative; z-index: 3; margin-top: -18px;
  display: flex; gap: 8px; padding: 0 16px 14px;
  background: linear-gradient(to bottom, transparent 0, transparent 18px, #f4f5fa 18px);
  overflow-x: auto; scrollbar-width: none;
}
.ep-tabs::-webkit-scrollbar { display: none; }
.ep-tab {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  height: 40px; padding: 0 16px; border: none; border-radius: 14px;
  background: #fff; color: var(--ink-2);
  font-size: 13.5px; font-weight: 800; font-family: inherit; cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(40,50,90,.22);
  transition: transform .12s, color .12s;
}
.ep-tab:active { transform: scale(.96); }
.ep-tab[data-on] { background: linear-gradient(135deg, #6366f1, #4f46e5); color: #fff; box-shadow: 0 10px 22px -8px rgba(79,70,229,.5); }
.ep-tab__ico { display: flex; }
.ep-tab__cnt {
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  display: inline-grid; place-items: center;
  background: #eef0f7; color: var(--ink-3); font-size: 11px; font-weight: 900;
}
.ep-tab[data-on] .ep-tab__cnt { background: rgba(255,255,255,.28); color: #fff; }

/* ─────────────────── 이벤트 카드 ─────────────────── */
.ep-cards { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.ep-card {
  display: block; width: 100%; padding: 0; text-align: left; cursor: pointer;
  border: none; border-radius: 20px; overflow: hidden; background: #fff;
  box-shadow: 0 10px 30px -14px rgba(40,50,90,.28);
  transition: transform .16s var(--ease), box-shadow .16s;
}
.ep-card:active { transform: translateY(2px) scale(.99); box-shadow: 0 6px 18px -12px rgba(40,50,90,.3); }
.ep-card__thumb { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #eef0f7; }
.ep-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-card__ph { width: 100%; height: 100%; display: grid; place-items: center; }
.ep-card__tag {
  position: absolute; left: 12px; top: 12px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 900; color: #fff;
  background: rgba(20,24,45,.42); backdrop-filter: blur(6px);
}
.ep-card__body { padding: 14px 16px 16px; }
.ep-card__title { font-size: 16.5px; font-weight: 900; letter-spacing: -.01em; line-height: 1.35; color: var(--ink); }
.ep-card__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.ep-card__period, .ep-card__prizes {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; color: var(--ink-3);
}
.ep-card__go {
  display: inline-flex; align-items: center; gap: 3px; margin-top: 12px;
  font-size: 13.5px; font-weight: 900;
}

/* ─────────────────── 상세 히어로 ─────────────────── */
.ep-dhero { position: relative; width: 100%; aspect-ratio: 16/10; max-height: 280px; overflow: hidden; }
.ep-dhero__img, .ep-dhero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ep-dhero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,12,30,.74) 0%, rgba(10,12,30,.12) 52%, transparent 100%); }
.ep-dhero__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 20px 22px; color: #fff; }
.ep-dhero__badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 10px;
  background: rgba(255,255,255,.2); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.28);
  font-size: 11.5px; font-weight: 900;
}
.ep-dhero__title { font-size: 22px; font-weight: 900; line-height: 1.3; letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.ep-dhero__period { display: inline-flex; align-items: center; gap: 5px; margin-top: 9px; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.85); }

/* 설명 노트 */
.ep-dnote {
  display: flex; align-items: flex-start; gap: 9px;
  margin: 14px 16px 0; padding: 14px 16px; border-radius: 14px;
  background: var(--accent-soft, #eef0ff);
  font-size: 13px; font-weight: 700; color: var(--ink-2); line-height: 1.55;
}

/* ─────────────────── 게임 스테이지 ─────────────────── */
.ep-stage { padding: 26px 20px 8px; }

/* 룰렛 */
.ep-wheel { position: relative; width: 100%; max-width: 320px; margin: 0 auto; aspect-ratio: 1/1; }
.ep-wheel__glow { position: absolute; inset: -14%; z-index: 0; border-radius: 50%; filter: blur(8px); }
.ep-wheel__plate {
  position: absolute; inset: 0; z-index: 1; border-radius: 50%;
  padding: 10px; background: #fff;
  box-shadow: 0 18px 44px -16px rgba(40,40,90,.4), inset 0 0 0 2px rgba(0,0,0,.03);
}
.ep-wheel__canvas { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.ep-wheel__pointer {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 4;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.25));
}
.ep-wheel__hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  border: 4px solid #fff;
  box-shadow: 0 6px 16px -4px rgba(0,0,0,.3);
}

/* CTA 버튼 */
.ep-cta {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; max-width: 340px; margin: 26px auto 0;
  height: 56px; border: none; border-radius: 18px;
  background: #cfd3e6; color: #fff;
  font-size: 16.5px; font-weight: 900; font-family: inherit; cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(79,70,229,.5);
  transition: transform .1s, opacity .15s;
}
.ep-cta:active:not(:disabled) { transform: translateY(2px) scale(.99); }
.ep-cta:disabled { box-shadow: none; cursor: default; opacity: .85; }
.ep-cta--ghost {
  height: 48px; margin-top: 12px; background: #fff !important;
  color: var(--accent, #4f46e5); border: 1.5px solid #e6e8f2;
  box-shadow: none; font-size: 14.5px;
}
.ep-cta__spin {
  width: 19px; height: 19px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff;
  animation: ep-spin .7s linear infinite;
}

/* 뽑기 */
.ep-draw-tip {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 13.5px; font-weight: 800; color: var(--ink-2); margin-bottom: 18px;
}
.ep-draw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 360px; margin: 0 auto; }
.ep-dcard { background: none; border: none; padding: 0; cursor: pointer; perspective: 1200px; aspect-ratio: 3/4; }
.ep-dcard:disabled { cursor: default; }
.ep-dcard__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .55s var(--ease); }
.ep-dcard[data-open] .ep-dcard__inner { transform: rotateY(180deg); }
.ep-dcard[data-open].is-picked .ep-dcard__inner { transition: none !important; }
.ep-dcard[data-dim] { opacity: .55; transition: opacity .3s; }
.ep-dcard__front, .ep-dcard__back {
  position: absolute; inset: 0; border-radius: 16px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.ep-dcard__front { box-shadow: 0 10px 24px -12px rgba(40,40,90,.45); }
.ep-dcard:not(:disabled):active .ep-dcard__front { transform: scale(.95); transition: transform .1s; }
.ep-dcard__num {
  position: absolute; top: 8px; left: 9px;
  font-size: 11px; font-weight: 900; color: rgba(255,255,255,.85);
}
.ep-dcard__back {
  transform: rotateY(180deg);
  background: #fff; border: 2px solid var(--accent-soft, #eef0ff); padding: 6px;
  box-shadow: 0 10px 24px -12px rgba(40,40,90,.3);
}
.ep-dcard__prize { font-size: 11px; font-weight: 900; color: var(--ink); text-align: center; line-height: 1.3; }
.ep-dcard__q { font-size: 26px; font-weight: 900; color: #d2d6e6; }

/* ─────────────────── 블록 (경품 / 유의사항) ─────────────────── */
.ep-block { margin: 22px 16px 0; padding: 18px; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px -16px rgba(40,50,90,.25); }
.ep-block__head { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 900; color: var(--ink); margin-bottom: 14px; }
.ep-prizes { display: flex; flex-direction: column; gap: 9px; }
.ep-prize { display: flex; align-items: center; gap: 11px; }
.ep-prize__ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.ep-prize__name { flex: 1; font-size: 13.5px; font-weight: 800; color: var(--ink); }
.ep-prize__won { font-size: 11.5px; font-weight: 800; color: var(--ink-3); }
.ep-rules { margin: 0; padding-left: 18px; list-style: none; }
.ep-rules li { position: relative; font-size: 12.5px; font-weight: 600; color: var(--ink-3); line-height: 1.9; }
.ep-rules li::before { content: ''; position: absolute; left: -14px; top: 11px; width: 4px; height: 4px; border-radius: 50%; background: #c2c8da; }

/* ─────────────────── 결과 바텀시트 ─────────────────── */
.ep-sheet-scrim {
  position: absolute; inset: 0; z-index: 200;
  background: rgba(12,14,30,.55); backdrop-filter: blur(3px);
  display: flex; align-items: flex-end; justify-content: center;
  animation: ep-fade .22s ease;
}
@keyframes ep-fade { from { opacity: 0; } to { opacity: 1; } }
.ep-sheet {
  position: relative; width: 100%; background: #fff;
  border-radius: 28px 28px 0 0; padding: 14px 24px 30px;
  display: flex; flex-direction: column; align-items: center;
  animation: ep-rise .34s var(--ease);
}
@keyframes ep-rise { from { transform: translateY(100%); } to { transform: translateY(0); } }
.ep-sheet__grip { width: 40px; height: 4px; border-radius: 999px; background: #e2e5f0; margin-bottom: 18px; }
.ep-sheet__badge { width: 78px; height: 78px; border-radius: 26px; display: grid; place-items: center; margin-bottom: 16px; }
.ep-sheet__badge[data-tone='win']  { background: linear-gradient(135deg, var(--accent, #6366f1), var(--accent2, #4f46e5)); color: #fff; box-shadow: 0 14px 30px -10px rgba(79,70,229,.6); }
.ep-sheet__badge[data-tone='lose'] { background: #f1f2f7; color: #aab0c4; }
.ep-sheet__badge[data-tone='info'] { background: #fff7e6; color: #f59e0b; }
.ep-sheet__title { font-size: 22px; font-weight: 900; letter-spacing: -.02em; color: var(--ink); }
.ep-sheet__msg { font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-top: 7px; text-align: center; line-height: 1.55; }
.ep-sheet__prize {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  padding: 11px 20px; border-radius: 14px;
  background: var(--accent-soft, #eef0ff); color: var(--accent, #4f46e5);
  font-size: 16px; font-weight: 900;
}
.ep-sheet__close {
  width: 100%; max-width: 340px; height: 52px; margin-top: 24px;
  border: none; border-radius: 16px; background: #f1f2f7; color: var(--ink-2);
  font-size: 15px; font-weight: 900; font-family: inherit; cursor: pointer;
}
.ep-sheet__close:active { background: #e8eaf2; }

/* 당첨 정보 입력 */
.ep-claim { width: 100%; max-width: 360px; margin-top: 22px; display: flex; flex-direction: column; gap: 11px; }
.ep-claim__head { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 900; color: var(--ink); }
.ep-field {
  width: 100%; height: 50px; border: 1.5px solid #e6e8f2; border-radius: 14px; padding: 0 16px;
  font-size: 15px; font-weight: 700; font-family: inherit; color: var(--ink); background: #fafbfd;
  transition: border-color .15s, background .15s;
}
.ep-field:focus { outline: none; border-color: var(--accent, #6366f1); background: #fff; }
.ep-agree { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; padding: 2px 0; }
.ep-agree__box {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px;
  border: 1.5px solid #d6d9e6; border-radius: 7px; background: #fff;
  display: grid; place-items: center; cursor: pointer; transition: all .12s;
}
.ep-agree__box[data-on] { background: var(--accent, #6366f1); border-color: var(--accent, #6366f1); }
.ep-agree span { font-size: 11.5px; font-weight: 600; color: var(--ink-2); line-height: 1.5; }
.ep-claim__submit {
  width: 100%; height: 52px; margin-top: 4px; border: none; border-radius: 16px;
  background: #cfd3e6; color: #fff; font-size: 15.5px; font-weight: 900; font-family: inherit; cursor: pointer;
  box-shadow: 0 12px 26px -12px rgba(79,70,229,.5); transition: transform .1s;
}
.ep-claim__submit:active:not(:disabled) { transform: translateY(1px); }
.ep-claim__submit:disabled { box-shadow: none; opacity: .9; cursor: default; }
.ep-claim__done {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; max-width: 360px; margin-top: 20px; padding: 16px;
  border-radius: 14px; background: #ecfdf3; color: #16a34a;
  font-size: 13.5px; font-weight: 800;
}

/* ─────────────────── 내 쿠폰 ─────────────────── */
.ep-cpn-wrap { padding: 18px 16px 0; }
.ep-secline { display: flex; align-items: center; gap: 8px; margin: 18px 2px 12px; }
.ep-secline:first-child { margin-top: 2px; }
.ep-secline span { font-size: 13px; font-weight: 900; color: var(--ink); }
.ep-secline b { font-size: 11px; font-weight: 900; color: #6366f1; background: #eef0ff; padding: 2px 9px; border-radius: 999px; }
.ep-cpn {
  position: relative; display: flex; align-items: stretch; margin-bottom: 12px;
  border-radius: 18px; background: #fff; overflow: hidden;
  box-shadow: 0 8px 24px -16px rgba(40,50,90,.3);
}
.ep-cpn::before { display: none; }
.ep-cpn[data-off] { opacity: .62; }
.ep-cpn[data-off]::before { display: none; }
.ep-cpn__l { flex: 1; min-width: 0; padding: 16px 16px 16px 20px; }
.ep-cpn__benefit { font-size: 18px; font-weight: 900; letter-spacing: -.02em; color: var(--ink); }
.ep-cpn__title { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-top: 3px; }
.ep-cpn__valid { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--ink-3); margin-top: 9px; }
.ep-cpn__perf {
  position: relative; width: 1px; flex-shrink: 0; margin: 12px 0;
  border-left: 2px dashed #e3e6f1;
}
.ep-cpn__r { display: grid; place-items: center; padding: 0 18px; flex-shrink: 0; }
.ep-cpn__stamp { font-size: 12px; font-weight: 900; transform: rotate(0deg); white-space: nowrap; }
.ep-cpn__stamp[data-st='ok']  { color: #6366f1; }
.ep-cpn__stamp[data-st='off'] { color: #9aa3b8; }

/* ============================================================================
   CPA — 실시간 쿠폰 발급 팝업 (coupon-alerts.jsx)
   ============================================================================ */
.cpa-scrim {
  position: fixed; inset: auto 0 0 0; z-index: 9999;
  padding: 16px; display: flex; justify-content: center;
  pointer-events: none;
}
.cpa {
  pointer-events: auto;
  width: 100%; max-width: 380px;
  background: #ffffff; border-radius: 16px;
  border: 1px solid var(--ep-border, #e2e8f0);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.12);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
  animation: cpa-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes cpa-slide-up {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cpa__icon-small {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--ep-chip-bg, #f0fbf8);
  display: grid; place-items: center; flex-shrink: 0;
}
.cpa__body {
  flex-grow: 1; display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.cpa__badge {
  font-size: 10.5px; font-weight: 800; color: var(--ep-primary, #13c79c);
  letter-spacing: 0.2px; text-align: left;
}
.cpa__content {
  font-size: 13px; font-weight: 700; color: var(--ink, #1e293b);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-align: left;
}
.cpa__benefit-text {
  color: var(--ep-primary, #13c79c); font-weight: 800; margin-right: 4px;
}
.cpa__name-text {
  color: var(--ink-2, #64748b); font-weight: 600;
}
.cpa__actions {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.cpa__btn-confirm {
  height: 32px; padding: 0 12px; border: none; border-radius: 8px;
  background: var(--ep-primary, #13c79c); color: #ffffff;
  font-size: 12px; font-weight: 800; cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.cpa__btn-confirm:hover {
  background: var(--ep-accent, #0f766e);
}
.cpa__btn-confirm:active {
  transform: scale(0.96);
}
.cpa__btn-close {
  width: 28px; height: 28px; border: none; border-radius: 6px;
  background: var(--ep-chip-bg, #f0fbf8); color: var(--ep-primary, #13c79c);
  font-size: 13px; font-weight: 700; cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.2s, transform 0.1s;
}
.cpa__btn-close:hover {
  background: var(--ep-border, #e2e8f0);
}
.cpa__btn-close:active {
  transform: scale(0.96);
}

/* ============================================================================
   PM — 관리자 이벤트/쿠폰 관리 (admin-promo.jsx)
   ============================================================================ */
.pm { padding: 0 0 80px; }

.pm-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--line-2, #eee);
}
.pm-top__t  { font-size: 20px; font-weight: 900; }
.pm-top__d  { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-top: 4px; line-height: 1.5; }
.pm-top__sync {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: 10px; color: var(--ink-3); font-size: 12px; font-weight: 700;
}
.pm-top__actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

/* 탭 */
.pm-tabs {
  display: flex; gap: 0; border-bottom: 2px solid var(--line-2, #eee);
  padding: 0 28px;
}
.pm-tab {
  background: none; border: none; padding: 10px 16px;
  font-size: 13.5px; font-weight: 800; color: var(--ink-3);
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px;
  display: flex; align-items: center; gap: 6px;
  font-family: 'NanumSquareNeo', sans-serif;
  transition: color .12s;
}
.pm-tab[data-on] { color: var(--point); border-bottom-color: var(--point); }
.pm-tab__c {
  padding: 1px 7px; border-radius: 999px;
  font-size: 10.5px; font-weight: 900;
  background: var(--line, #eaeeec); color: var(--ink-3);
}
.pm-tab[data-on] .pm-tab__c { background: var(--point-soft); color: var(--point-ink); }

/* 카드 */
.pm-card {
  margin: 18px 28px; border: 1px solid var(--line-2, #eee); border-radius: 14px; overflow: hidden;
}
.pm-card__h {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line-2, #eee);
}
.pm-card__ht { font-size: 14.5px; font-weight: 900; }
.pm-card__hd { font-size: 12px; font-weight: 600; color: var(--ink-3); margin-top: 3px; }
.pm-card__b  { padding: 18px 20px; }

/* 그리드 */
.pm-grid        { display: grid; gap: 14px; }
.pm-grid--2     { grid-template-columns: repeat(2, 1fr); }
.pm-grid--3     { grid-template-columns: repeat(3, 1fr); }
.pm-grid--issue { grid-template-columns: 1fr 1.2fr; }
@media (max-width: 720px) {
  .pm-grid--2, .pm-grid--3, .pm-grid--issue { grid-template-columns: 1fr; }
}

/* 필드 */
.pm-field   { display: flex; flex-direction: column; gap: 5px; }
.pm-flab    { font-size: 12px; font-weight: 800; color: var(--ink-2); }
.pm-flab .req { color: var(--rose, #e5484d); margin-left: 2px; }
.pm-inp {
  width: 100%; height: 38px; border: 1.5px solid var(--line, #eaeeec);
  border-radius: 9px; padding: 0 12px;
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  background: var(--surface, #fff); font-family: 'NanumSquareNeo', sans-serif;
  transition: border-color .12s;
}
.pm-inp:focus { outline: none; border-color: var(--point); }
.pm-inp--r    { text-align: right; }
textarea.pm-inp { height: auto; padding: 10px 12px; resize: vertical; }
.pm-inwrap    { position: relative; display: flex; align-items: center; }
.pm-inwrap .pm-inp { padding-right: 36px; }
.pm-inwrap__suf {
  position: absolute; right: 12px; font-size: 12px;
  font-weight: 800; color: var(--ink-3); pointer-events: none;
}

/* 세그먼트 선택 */
.pm-seg    { display: flex; }
.pm-seg__o {
  flex: 1; height: 36px; border: 1.5px solid var(--line, #eaeeec);
  background: var(--surface, #fff); font-size: 12.5px; font-weight: 800;
  color: var(--ink-2); cursor: pointer; font-family: 'NanumSquareNeo', sans-serif;
  transition: background .1s, color .1s; display: flex; align-items: center; justify-content: center;
  gap: 4px;
}
.pm-seg__o:first-child { border-radius: 9px 0 0 9px; }
.pm-seg__o:last-child  { border-radius: 0 9px 9px 0; }
.pm-seg__o + .pm-seg__o { border-left: none; }
.pm-seg__o[data-on] { background: var(--point-soft); color: var(--point-ink); border-color: var(--point); }

/* 토글 스위치 */
.pm-switch { display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.pm-switch .tg {
  width: 40px; height: 22px; border-radius: 999px; border: none; cursor: pointer;
  background: var(--line, #eaeeec); position: relative; flex-shrink: 0;
  transition: background .15s;
}
.pm-switch .tg::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  transition: left .15s;
}
.pm-switch .tg[data-on] { background: var(--point); }
.pm-switch .tg[data-on]::after { left: 21px; }
.pm-switch__t { font-size: 12.5px; font-weight: 800; color: var(--ink-2); }

/* 버튼 */
.pm-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 16px; height: 36px; border: none; border-radius: 9px;
  font-size: 13px; font-weight: 900; cursor: pointer;
  font-family: 'NanumSquareNeo', sans-serif; white-space: nowrap;
  transition: background .12s, color .12s;
}
.pm-btn--primary { background: var(--point); color: #fff; }
.pm-btn--primary:hover { background: var(--point-600); }
.pm-btn--ghost   {
  background: var(--surface); color: var(--ink-2);
  border: 1.5px solid var(--line, #eaeeec);
}
.pm-btn--ghost:hover { background: var(--surface-2); }
.pm-btn--danger  { background: var(--rose-soft, #fdf0f0); color: var(--rose, #e5484d); border: 1.5px solid #fce0e0; }
.pm-btn--danger:hover { background: #fce0e0; }
.pm-btn--sm { height: 30px; padding: 0 12px; font-size: 12px; border-radius: 7px; }
.pm-btn:disabled { opacity: .5; cursor: not-allowed; }

/* 이벤트 행 (목록) */
.pm-evrow {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; border-bottom: 1px solid var(--line-2, #eee);
}
.pm-evrow:last-child { border-bottom: none; }
.pm-evthumb {
  width: 64px; height: 42px; border-radius: 8px; object-fit: cover;
  flex-shrink: 0; background: var(--surface-2);
}
.pm-evthumb--ph {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4);
}
.pm-evthumb--ph[data-type='roulette'] {
  background: linear-gradient(135deg, var(--ep,#5c7cfa) 0%, #4263eb 100%);
}
.pm-evthumb--ph[data-type='draw'] {
  background: linear-gradient(135deg, #ff922b 0%, #fcc419 100%);
}

/* 이벤트 타입 배지 */
.ev-type-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 900; letter-spacing: .02em;
}
.ev-type-badge[data-type='roulette'] { background: var(--ep-soft,#eef2ff); color: var(--ep-ink,#2c3d8f); }
.ev-type-badge[data-type='draw']     { background: #fff4e6; color: #c06b00; }

/* 상품 행 (편집) */
.pm-prize {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0; border-bottom: 1px solid var(--line-2, #eee);
}
.pm-prize:last-child { border-bottom: none; }
.pm-color {
  width: 30px; height: 30px; border-radius: 6px; border: 1.5px solid var(--line);
  cursor: pointer; padding: 2px; flex-shrink: 0; background: none;
}
.pm-prize__pct { font-size: 12px; font-weight: 900; width: 40px; text-align: right; flex-shrink: 0; }
.pm-prizes-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; font-size: 12px; font-weight: 700; color: var(--ink-3);
}

/* 이미지 업로더 */
.pm-evimg { position: relative; }
.pm-evimg img { width: 100%; border-radius: 10px; display: block; max-height: 220px; object-fit: cover; }
.pm-evimg__acts {
  display: flex; gap: 8px; margin-top: 10px;
}
.pm-uploader {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 28px 20px;
  border: 2px dashed var(--line, #eaeeec); border-radius: 12px;
  cursor: pointer; color: var(--ink-3);
  font-size: 13px; font-weight: 700;
  transition: border-color .12s, background .12s;
  width: 100%;
}
.pm-uploader:hover { border-color: var(--point); background: var(--point-soft); }

/* KPI 통계 */
.pm-stats {
  display: flex; padding: 16px 28px 0; gap: 0;
}
.pm-stat {
  flex: 1; padding: 14px 0;
  border-right: 1px solid var(--line-2, #eee);
  text-align: center;
}
.pm-stat:last-child { border-right: none; }
.pm-stat__v { font-size: 22px; font-weight: 900; line-height: 1; }
.pm-stat__k { font-size: 11.5px; font-weight: 700; color: var(--ink-3); margin-top: 4px; }

/* 당첨 칩 */
.pm-chip-win {
  padding: 4px 12px; border-radius: 999px;
  background: var(--ep-soft,#eef2ff); color: var(--ep-ink,#2c3d8f);
  font-size: 12px; font-weight: 900;
}

/* 회원 목록 */
.pm-mlist {
  max-height: 240px; overflow-y: auto;
  border: 1.5px solid var(--line, #eaeeec); border-radius: 10px;
}
.pm-mrow {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid var(--line-2, #eee); cursor: pointer;
  transition: background .1s;
}
.pm-mrow:last-child { border-bottom: none; }
.pm-mrow:hover, .pm-mrow[data-on] { background: var(--surface-2); }
.pm-mrow__n { font-size: 13.5px; font-weight: 800; }
.pm-mrow__p { font-size: 12px; font-weight: 600; color: var(--ink-3); margin-left: auto; }

/* adm-check 미니 체크박스 */
.adm-check {
  width: 18px; height: 18px; flex-shrink: 0; border: 1.5px solid var(--line);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); cursor: pointer; transition: background .1s, border-color .1s;
}
.adm-check[data-on] { background: var(--point); border-color: var(--point); color: #fff; }

/* 빈 상태 */
.pm-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 52px 24px; color: var(--ink-3); text-align: center;
}
.pm-empty__t { font-size: 15px; font-weight: 900; }
.pm-empty__d { font-size: 12.5px; font-weight: 600; margin-top: 6px; }

/* 모달 */
.pm-modal-scrim {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.52); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.pm-modal {
  background: var(--surface, #fff); border-radius: 18px;
  width: 100%; max-width: 700px; max-height: 88vh;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.pm-modal__h {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 20px 24px; border-bottom: 1px solid var(--line-2, #eee); flex-shrink: 0;
}
.pm-modal__t { font-size: 16px; font-weight: 900; }
.pm-modal__d { font-size: 12px; font-weight: 600; color: var(--ink-3); margin-top: 3px; }
.pm-modal__x {
  background: none; border: none; cursor: pointer;
  color: var(--ink-3); padding: 4px; display: flex; flex-shrink: 0;
  font-size: 18px;
}
.pm-modal__b { flex: 1; overflow-y: auto; padding: 0; }
.pm-modal__f {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 24px; border-top: 1px solid var(--line-2, #eee); flex-shrink: 0;
}

/* ─────────────────── Clean Mint Theme (Flat & Crisp) ─────────────────── */
.ep-bg {
  background: #ffffff !important; /* Flat white screen background */
  --ep-screen-bg: #ffffff;
  --ep-list-bg: #ffffff;
  --ep-surface: #ffffff;
  --ep-tab-bg: #ffffff;
  --ep-primary: #13c79c;
  --ep-primary-grad: #13c79c; /* Flat primary color */
  --ep-primary-soft: #f0fbf8;
  --ep-text: #1e293b;
  --ep-sub: #64748b;
  --ep-border: #e2e8f0;
  --ep-wheel-a: #13c79c;
  --ep-wheel-b: #f0fbf8;
  --ep-wheel-text-a: #ffffff;
  --ep-wheel-text-b: #0f766e;
  --ep-ring: #13c79c;
  --ep-pointer: #0f766e;
  --ep-hub-bg: #ffffff;
  --ep-hub-text: #13c79c;
  --ep-wheel-shadow: none;
  --ep-card-back: #ffffff;
  --ep-card-back-border: #cbd5e1;
  --ep-monogram: #13c79c;
  --ep-chip-bg: #f0fbf8;
  --ep-chip-text: #0f766e;
  --ep-btn-text: #ffffff;
  --ep-accent: #13c79c;
  --ep-shadow: none;
  --ep-overlay: rgba(15, 23, 42, 0.4);
  --ep-modal-bg: #ffffff;
  --ep-result-icon-bg: #f0fbf8;
}

.appbar, .ep-sheet, .ep-bg, .ep-cpn-wrap, .ep-empty, .ep-dnote, .ep-block, .ep-draw-tip, .ep-tabs {
  font-family: 'NanumSquareNeo', sans-serif !important;
}

/* Tab Overrides */
.ep-tabs {
  background: #ffffff !important;
  border-bottom: 1px solid var(--ep-border) !important;
  margin-top: 0 !important;
  padding: 8px 16px 14px !important;
}
.ep-tab {
  border: 1px solid var(--ep-border) !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}
.ep-tab[data-on] {
  background: var(--ep-primary) !important;
  color: #fff !important;
  border-color: var(--ep-primary) !important;
  box-shadow: none !important;
}

/* Card list / block layout */
.ep-cards {
  padding: 0 !important;
}
.ep-block {
  margin: 24px 16px 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
.ep-block__head {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: var(--ep-text) !important;
  margin-bottom: 14px !important;
}
.ep-dnote {
  background: none !important;
  border: none !important;
  border-left: 3px solid var(--ep-primary) !important;
  border-radius: 0 !important;
  margin: 12px 16px 20px !important;
  padding: 4px 0 4px 12px !important;
  color: var(--ep-text) !important;
  font-size: 13.5px !important;
  line-height: 1.52 !important;
}
.ep-draw-tip {
  font-size: 13px !important;
  color: var(--ep-sub) !important;
  margin-bottom: 16px !important;
}

/* Prize styling */
.ep-prize {
  gap: 12px !important;
  padding: 8px 0;
  border-bottom: 1px dashed var(--ep-border);
}
.ep-prize:last-child {
  border-bottom: none;
}
.ep-prize__ico {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
}
.ep-prize__name {
  font-size: 13px !important;
  color: var(--ep-text) !important;
}
.ep-prize__won {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: var(--ep-primary) !important;
  background: var(--ep-primary-soft) !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}

/* Rules / bullet styling */
.ep-rules-wrap {
  background: #f8fafc !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  margin: 20px 16px 0 !important;
}
.ep-rules li {
  font-size: 12px !important;
  color: #64748b !important;
  line-height: 1.8 !important;
  list-style-type: none !important;
  position: relative !important;
  padding-left: 10px !important;
}
.ep-rules li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 9px !important;
  width: 4px !important;
  height: 4px !important;
  border-radius: 50% !important;
  background: #94a3b8 !important;
}

/* Modal Bottom Sheet */
.ep-sheet-scrim {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}
.ep-sheet {
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.16) !important;
  border: 1px solid var(--ep-border) !important;
  width: 100% !important;
  max-width: 360px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  animation: ep-slide-up 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
@keyframes ep-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ── 뽑기 반응형 카드 크기 설정 ── */
.ep-draw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 320px;
  margin: 0 auto;
  transition: max-width 0.2s, gap 0.2s;
}

@media (min-width: 480px) {
  .ep-draw-grid {
    max-width: 460px;
    gap: 16px;
  }
}

/* ── 뽑기 카드 단일 3D 좌우 스피닝 애니메이션 ── */
.ep-dcard.is-spinning .ep-dcard__inner {
  animation: epSingleCardSpin 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes epSingleCardSpin {
  0% { transform: rotateY(0deg) scale(1); }
  50% { transform: rotateY(630deg) scale(1.12); }
  100% { transform: rotateY(1260deg) scale(1); }
}




