@charset "UTF-8";
/* ==========================================================================
   REWARD WORKS — Base / Design System
   Mobile-first · breakpoints: md 768 / lg 1024 / xl 1280
   Tokens extracted from Figma "리워드 웍스 디자인" (Color/*, Heading/*)
   ========================================================================== */
:root {
  /* color */
  --c-primary: #3182f6;
  --c-primary-hover: #2271e3;
  --c-primary-disabled: #acceff;
  --c-primary-sub: #f2f8ff;
  --c-primary-line: #c9defc;
  --c-text: #191f28;
  --c-text-2: #4e5968;
  --c-text-3: #8b95a1;
  --c-text-4: #b0b8c1;
  --c-gray-100: #f2f4f6;
  --c-gray-200: #e5e8eb;
  --c-gray-300: #d1d6db;
  --c-bg: #f9fbfa;
  --c-bg-sub: #f2f4f6;
  --c-bg-sub2: #e4eaef;
  --c-white: #fff;
  --c-success: #04c09e;
  --c-success-bg: #e6faf6;
  --c-success-text: #03a586;
  --c-warning: #f04452;
  --c-warning-strong: #e01c2c;
  --c-warning-soft: #ff9da5;
  --c-warning-bg: #fff0f1;
  --c-dim: rgba(30, 41, 59, .6);
  --c-naver: #03c75a;
  --c-coupang: #e52528;
  --brand-grad: linear-gradient(90deg, #3182f6 0%, #6b5cff 40%, #c844f5 70%, #3182f6 100%);

  /* type */
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Noto Sans CJK KR', 'Malgun Gothic', system-ui, sans-serif;
  --fs-h1: 24px; --lh-h1: 32px;   /* Heading/H1 MO 24 → PC 28 */
  --fs-h2: 18px; --lh-h2: 27px;
  --fs-sec: 24px;                 /* landing section title MO 24 → PC 28 */

  /* shape */
  --r-xs: 6px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px; --r-2xl: 24px; --r-full: 999px;
  --shadow-sm: 0 1px 2px rgba(0, 27, 55, .04);
  --shadow-md: 0 4px 16px rgba(0, 27, 55, .06);
  --shadow-lg: 0 16px 40px rgba(0, 27, 55, .12);
  --shadow-pop: 0 24px 60px rgba(0, 27, 55, .18);

  /* layout */
  --gutter: 16px;
  --container: 1200px;
  --header-h: 56px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
}
@media (min-width: 768px) { :root { --gutter: 24px; --fs-sec: 28px; } }
@media (min-width: 1024px) { :root { --fs-h1: 28px; --header-h: 64px; --gutter: 40px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--c-text);
  background: var(--c-white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  word-break: keep-all; overflow-wrap: anywhere; letter-spacing: -.01em;
  -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.is-locked { overflow: hidden; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.req { color: var(--c-warning); margin-left: 2px; font-weight: 700; }
.t-primary { color: var(--c-primary); }
.t-success { color: var(--c-success); }
.t-warning { color: var(--c-warning); }
.t-sub { color: var(--c-text-2); }
.t-muted { color: var(--c-text-3); }
.only-pc { display: none !important; }
@media (min-width: 1024px) { .only-pc { display: revert !important; } .only-mo { display: none !important; } }

/* ---------- buttons ---------- */
.btn {
  --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: var(--h); padding: 0 20px; border-radius: var(--r-md); font-weight: 700; font-size: 16px;
  white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s, transform .15s var(--ease);
  user-select: none;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-hover); }
.btn--primary:disabled, .btn--primary.is-disabled { background: var(--c-primary-disabled); cursor: not-allowed; transform: none; }
.btn--gray { background: var(--c-gray-100); color: var(--c-text-2); }
.btn--gray:hover { background: var(--c-gray-200); }
.btn--line { background: #fff; color: var(--c-primary); box-shadow: inset 0 0 0 1px var(--c-primary); }
.btn--line:hover { background: var(--c-primary-sub); }
.btn--ghost { background: #fff; color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-gray-200); }
.btn--ghost:hover { background: var(--c-gray-100); }
.btn--white { background: #fff; color: var(--c-text); }
.btn--danger { background: var(--c-warning); color: #fff; }
.btn--lg { --h: 56px; font-size: 17px; border-radius: var(--r-lg); }
.btn--sm { --h: 36px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn--xs { --h: 28px; padding: 0 10px; font-size: 12px; border-radius: var(--r-sm); }
.btn--block { width: 100%; }
.btn .ico { width: 16px; height: 16px; flex: none; }
.link-more { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--c-gray-200); font-size: 13px; font-weight: 600; color: var(--c-text-2); }
.link-more:hover { background: var(--c-gray-100); }

/* ---------- form ---------- */
.field + .field { margin-top: 28px; }
.field__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.field__label { font-size: 17px; font-weight: 700; line-height: 1.4; }
.field__desc { font-size: 13px; font-weight: 500; color: var(--c-text-2); margin-top: 4px; }
.field__hint { font-size: 13px; color: var(--c-text-2); margin-top: 8px; font-weight: 500; }
.field__err { font-size: 13px; color: var(--c-warning); margin-top: 8px; font-weight: 500; }
@media (min-width: 1024px) { .field__label { font-size: 18px; } }

.input, .textarea, .select {
  width: 100%; height: 52px; padding: 0 16px; border-radius: var(--r-md); border: 1px solid transparent;
  background: var(--c-bg-sub); font-size: 16px; /* ≥16px: prevents iOS zoom */
  transition: border-color .2s, background .2s, box-shadow .2s; outline: none; -webkit-appearance: none; appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--c-text-3); }
.input:focus, .textarea:focus, .select:focus { border-color: var(--c-primary); background: #fff; box-shadow: 0 0 0 3px rgba(49, 130, 246, .12); }
.input.is-error { border-color: var(--c-warning); background: #fff; }
.input:disabled { color: var(--c-text-3); }
.textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.6; }
.select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23191f28' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
@media (min-width: 1024px) { .input, .textarea, .select { font-size: 15px; } }

.input-group { display: flex; gap: 8px; }
.input-group > .input-wrap, .input-group > .input { flex: 1; min-width: 0; }
.input-group > .btn { flex: none; height: 52px; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .input { padding-left: 44px; }
.input-wrap > .ico-l { position: absolute; left: 16px; width: 18px; height: 18px; color: var(--c-text-2); pointer-events: none; }
.input-wrap > .clear { position: absolute; right: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--c-gray-200); display: grid; place-items: center; color: var(--c-text-2); }
.input-wrap > .clear svg { width: 12px; height: 12px; }
.input-wrap.has-ico-r .input { padding-right: 48px; padding-left: 16px; }
.input-wrap > .ico-r { position: absolute; right: 14px; width: 22px; height: 22px; color: var(--c-text); pointer-events: none; }
.date-range { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.date-range > * { min-width: 0; }
input[type=date].input { min-width: 0; display: block; }

/* chip / tag */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 14px; border-radius: var(--r-full); background: var(--c-gray-100); font-size: 13px; font-weight: 600; color: var(--c-text-2); animation: chipIn .35s var(--ease-back); }
.chip button { width: 18px; height: 18px; display: grid; place-items: center; color: var(--c-text-3); border-radius: 50%; }
.chip button:hover { background: var(--c-gray-200); color: var(--c-text); }
.chip button svg { width: 12px; height: 12px; }
@keyframes chipIn { from { opacity: 0; transform: scale(.8); } }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-xs); font-size: 11px; font-weight: 700; background: var(--c-primary-sub); color: var(--c-primary); white-space: nowrap; }
.tag--green { background: var(--c-success-bg); color: var(--c-success-text); }
.tag--red { background: var(--c-warning-bg); color: var(--c-warning); }
.tag--gray { background: var(--c-gray-100); color: var(--c-text-2); }
.tag--line { background: #fff; box-shadow: inset 0 0 0 1px var(--c-gray-200); color: var(--c-text-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* radio / checkbox */
.radio-dot { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1.5px solid var(--c-gray-300); background: #fff; transition: all .2s var(--ease); position: relative; }
input:checked + * .radio-dot, .is-selected .radio-dot, input:checked ~ .radio-dot { border-color: var(--c-primary); border-width: 6px; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 32px; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { width: 22px; height: 22px; flex: none; border-radius: 6px; border: 1.5px solid var(--c-text-2); display: grid; place-items: center; transition: all .15s; background: #fff; }
.check .box svg { width: 14px; height: 14px; color: #fff; opacity: 0; transform: scale(.6); transition: all .2s var(--ease-back); }
.check input:checked + .box { background: var(--c-primary); border-color: var(--c-primary); }
.check input:checked + .box svg { opacity: 1; transform: none; }
.check input:focus-visible + .box { outline: 2px solid var(--c-primary); outline-offset: 2px; }

/* option card (radio card) */
.opt-grid { display: grid; gap: 12px; }
@media (min-width: 768px) { .opt-grid--2 { grid-template-columns: repeat(2, 1fr); } .opt-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.opt { position: relative; display: block; cursor: pointer; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--c-gray-200); padding: 18px 18px 20px; transition: box-shadow .2s, transform .2s var(--ease), background .2s; }
.opt:hover { box-shadow: inset 0 0 0 1px var(--c-gray-300), var(--shadow-md); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked), .opt.is-selected { box-shadow: inset 0 0 0 2px var(--c-primary), 0 6px 20px rgba(49, 130, 246, .12); }
.opt:has(input:checked) .radio-dot { border-color: var(--c-primary); border-width: 6px; }
.opt:has(input:focus-visible) { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.opt__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.opt__title { font-size: 17px; font-weight: 700; margin-top: 12px; letter-spacing: -.02em; }
.opt__desc { font-size: 13px; color: var(--c-text-3); margin-top: 6px; line-height: 1.55; font-weight: 500; }
.opt--sm { padding: 14px 16px; }
.opt--sm .opt__title { margin-top: 10px; font-size: 16px; }

/* segmented / pill toggle */
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--c-text-2); box-shadow: inset 0 0 0 1px var(--c-gray-200); background: #fff; transition: all .2s; }
.seg input:checked + span { color: var(--c-primary); box-shadow: inset 0 0 0 1.5px var(--c-primary); background: var(--c-primary-sub); }
.seg input:focus-visible + span { outline: 2px solid var(--c-primary); outline-offset: 2px; }

/* switch */
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track { width: 44px; height: 26px; border-radius: 13px; background: var(--c-gray-300); position: relative; transition: background .2s; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .25s var(--ease-back); }
.switch input:checked + .track { background: var(--c-primary); }
.switch input:checked + .track::after { transform: translateX(18px); }

/* stepper (− 100 +) */
.stepper { display: inline-flex; align-items: center; height: 32px; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--c-gray-200); }
.stepper button { width: 32px; height: 32px; display: grid; place-items: center; color: var(--c-text-2); border-radius: var(--r-sm); }
.stepper button:hover { background: var(--c-gray-100); color: var(--c-text); }
.stepper button svg { width: 14px; height: 14px; }
.stepper input { width: 52px; height: 32px; text-align: center; border: 0; background: transparent; font-weight: 700; font-size: 15px; outline: none; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* key-value rows box */
.kv { background: var(--c-bg-sub); border-radius: var(--r-md); padding: 6px 16px; }
.kv__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; font-size: 14px; }
.kv__row dt { color: var(--c-text-2); font-weight: 500; }
.kv__row dd { font-weight: 700; text-align: right; }
.kv__row small { display: block; color: var(--c-text-3); font-weight: 500; font-size: 12px; }

/* notice box */
.notice { border-radius: var(--r-md); background: var(--c-bg-sub); padding: 16px 18px; font-size: 13px; color: var(--c-text-2); line-height: 1.65; font-weight: 500; }
.notice strong { display: block; color: var(--c-text); font-size: 14px; margin-bottom: 4px; }
.notice ul li { position: relative; padding-left: 10px; }
.notice ul li::before { content: ''; position: absolute; left: 0; top: .75em; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

/* upload dropzone */
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 96px; padding: 20px; border-radius: var(--r-md); border: 1.5px dashed #9cc3fb; background: var(--c-primary-sub); color: var(--c-primary); font-size: 14px; font-weight: 600; text-align: center; cursor: pointer; transition: background .2s, border-color .2s; }
.drop:hover, .drop.is-over { background: #e6f0ff; border-color: var(--c-primary); }
.drop svg { width: 22px; height: 22px; }
.drop input { display: none; }
.drop--sq { width: 92px; min-height: 92px; padding: 10px; }

/* tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--c-gray-200); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a, .tabs button { position: relative; flex: none; height: 48px; padding: 0 12px; font-size: 16px; font-weight: 700; color: var(--c-text-3); transition: color .2s; display: inline-flex; align-items: center; }
.tabs .is-active { color: var(--c-text); }
.tabs .is-active::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; background: var(--c-text); border-radius: 2px; }
@media (min-width: 1024px) { .tabs a, .tabs button { font-size: 17px; } }

/* card */
.card { background: #fff; border-radius: var(--r-xl); padding: 24px 20px; }
@media (min-width: 1024px) { .card { padding: 32px; border-radius: var(--r-2xl); } }

/* store mini card */
.store { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: var(--r-md); background: var(--c-bg-sub); position: relative; }
.store__thumb { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; flex: none; }
.store__name { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; flex-wrap: wrap; }
.store__addr { font-size: 12px; color: var(--c-text-2); margin-top: 4px; font-weight: 500; }
.store__id { font-size: 12px; color: var(--c-text-3); margin-top: 2px; }
.store__id b { color: var(--c-text); font-weight: 600; }
.store__ok { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--c-success-text); }
.store__ok svg { width: 16px; height: 16px; }
@media (max-width: 767px) { .store__ok { position: static; margin-top: 6px; } }

/* progress */
.bar { height: 6px; border-radius: 3px; background: var(--c-gray-200); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: inherit; background: var(--c-primary); width: 0; transition: width 1.2s var(--ease); }

/* ---------- modal / bottom sheet ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__dim { position: absolute; inset: 0; background: var(--c-dim); opacity: 0; transition: opacity .3s; }
.modal.is-open .modal__dim { opacity: 1; }
.modal__panel {
  position: relative; width: 100%; max-height: calc(100dvh - 40px - var(--safe-t)); display: flex; flex-direction: column;
  background: #fff; border-radius: 24px 24px 0 0; box-shadow: var(--shadow-pop);
  transform: translateY(100%); transition: transform .4s var(--ease); padding-bottom: var(--safe-b);
}
.modal.is-open .modal__panel { transform: none; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 20px 16px; border-bottom: 1px solid var(--c-gray-100); flex: none; }
.modal__head h2 { font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.modal__close { width: 32px; height: 32px; border-radius: 50%; background: var(--c-gray-100); display: grid; place-items: center; color: var(--c-text-2); flex: none; }
.modal__close svg { width: 16px; height: 16px; }
.modal__body { padding: 20px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; flex: 1; }
.modal__foot { display: flex; gap: 8px; padding: 14px 20px 18px; border-top: 1px solid var(--c-gray-100); flex: none; }
.modal__foot .btn { flex: 1; }
.modal__foot .btn--gray { flex: 0 0 auto; }
.modal__grip { position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--c-gray-300); }
@media (min-width: 768px) {
  .modal { align-items: center; padding: 24px; }
  .modal__panel { max-width: 560px; max-height: calc(100dvh - 48px); border-radius: 28px; transform: translateY(24px) scale(.97); opacity: 0; transition: transform .35s var(--ease), opacity .25s; }
  .modal.is-open .modal__panel { transform: none; opacity: 1; }
  .modal__panel--lg { max-width: 720px; }
  .modal__panel--sm { max-width: 420px; }
  .modal__head { padding: 28px 28px 18px; }
  .modal__head h2 { font-size: 24px; }
  .modal__body { padding: 24px 28px; }
  .modal__foot { padding: 16px 28px 24px; }
  .modal__grip { display: none; }
}

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--safe-b)); z-index: 1100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 14px 20px; border-radius: 14px; background: rgba(25, 31, 40, .92); color: #fff; font-size: 14px; font-weight: 600; transition: all .3s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* reveal (떠오르는 인터랙션) */
.rv { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- drawer (site + app 공통) ---------- */
.side-menu { position: fixed; inset: 0; z-index: 900; visibility: hidden; pointer-events: none; }
.side-menu.is-open { visibility: visible; pointer-events: auto; }
.side-menu__dim { position: absolute; inset: 0; background: var(--c-dim); opacity: 0; transition: opacity .3s; }
.side-menu.is-open .side-menu__dim { opacity: 1; }
.side-menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 420px); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s var(--ease); padding-top: var(--safe-t); padding-bottom: var(--safe-b); }
.side-menu.is-open .side-menu__panel { transform: none; }
.side-menu__head { height: var(--header-h); display: flex; align-items: center; justify-content: flex-end; padding: 0 12px; flex: none; }
.side-menu__head button { width: 40px; height: 40px; display: grid; place-items: center; }
.side-menu__head svg { width: 24px; height: 24px; }
.side-menu__body { flex: 1; overflow-y: auto; padding: 8px 20px 24px; }
.side-menu__nav a { display: flex; align-items: center; justify-content: space-between; height: 56px; font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--c-gray-100); }
.side-menu__nav a svg { width: 18px; height: 18px; color: var(--c-text-3); }
.side-menu__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }

.modal__panel:focus { outline: none; }
body.is-locked .toast { bottom: calc(110px + var(--safe-b)); }

/* ---------- 모바일 전용 메뉴(main_v3 side-menu) — 계정 카드 · 아이콘 목록 · 하위 메뉴 펼침 ---------- */
.mnav-head { justify-content: space-between; padding: 0 12px 0 20px; border-bottom: 1px solid var(--c-gray-100); }
.mnav-head__logo img { display: block; height: 26px; width: auto; }
.mnav { padding: 16px 16px 28px; background: #fff; }
.mnav-account { border-radius: 18px; background: var(--c-bg-sub, #f2f4f6); padding: 18px 16px 16px; margin-bottom: 8px; }
.mnav-account__hi { font-size: 15px; font-weight: 500; color: var(--c-text-2); line-height: 1.5; margin: 0 0 14px; letter-spacing: -.01em; }
.mnav-account__hi b { color: var(--c-text); font-weight: 700; }
.mnav-account__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mnav-account .btn { height: 44px; font-size: 15px; }
.mnav__label { font-size: 13px; font-weight: 600; color: var(--c-text-3); margin: 22px 4px 6px; letter-spacing: -.01em; }
.mnav__list { list-style: none; margin: 0; padding: 0; }
.mnav__row { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 6px; border-radius: 14px; background: none; border: 0; text-align: left; color: var(--c-text); font: inherit; cursor: pointer; transition: background .2s; -webkit-tap-highlight-color: transparent; }
.mnav__row:active { background: var(--c-gray-100); }
.mnav__ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.mnav__ic .rw-menu-svg, .mnav__ic svg { display: block; width: 22px; height: 22px; }
.mnav__ic.is-blue { background: #e8f3ff; color: #3182f6; }
.mnav__ic.is-green { background: #e6f8ef; color: #03b26c; }
.mnav__ic.is-orange { background: #fff3e6; color: #f08c00; }
.mnav__ic.is-red { background: #ffeeee; color: #f04452; }
.mnav__ic.is-purple { background: #f1ecff; color: #7b5cf5; }
.mnav__ic.is-gray { background: #f2f4f6; color: #4e5968; }
.mnav__txt { flex: 1; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.mnav__badge, .mnav__sub em { flex: none; font-style: normal; font-size: 11px; font-weight: 700; color: #3182f6; background: #e8f3ff; padding: 3px 8px; border-radius: 999px; }
.mnav__caret { flex: none; width: 20px; height: 20px; color: var(--c-text-3); transition: transform .3s var(--ease); }
.mnav__item.is-open .mnav__caret { transform: rotate(180deg); }
.mnav__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.mnav__item.is-open .mnav__sub { grid-template-rows: 1fr; }
.mnav__sub > div { overflow: hidden; }
.mnav__sub a { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px 0 58px; border-radius: 12px; font-size: 16px; font-weight: 500; color: var(--c-text-2); }
.mnav__sub a:active { background: var(--c-gray-100); }
.mnav__item.is-open .mnav__sub > div { padding-bottom: 6px; }
.mnav-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding: 18px 4px 0; border-top: 1px solid var(--c-gray-100); }
.mnav-foot__kakao { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; background: #fee500; color: #191919; font-size: 14px; font-weight: 600; }
.mnav-foot__kakao svg { width: 18px; height: 18px; }
.mnav-foot__out { font-size: 14px; font-weight: 500; color: var(--c-text-3); text-decoration: underline; text-underline-offset: 3px; }
.mnav-account .btn--gray { background: #fff; box-shadow: inset 0 0 0 1px var(--c-gray-200); }
