/* ===========================================================================
   K·PARCEL — action-first layout. Distinct from the reference: single slim top
   bar, centered "paste a link" hero, We Buy / You Buy as path cards, stores as a
   quiet strip. Violet + pink identity on a warm paper background. No build.
   =========================================================================== */
:root {
  --violet: #7c3aed; --violet-d: #6d28d9; --violet-dd: #5b21b6; --violet-l: #ede9fe; --violet-ll: #f6f3ff;
  --pink: #ff4d6d; --pink-d: #e23459; --pink-l: #ffe4ea; --pink-text: #c2274a;  /* --pink-text: AA for small text/badges */
  --ink: #17151f; --ink-2: #322c41; --muted: #6c6878; --line: #ece8f2; --line-2: #e2dded;
  --paper: #faf8fc; --bg: #ffffff;
  --hero-grad: linear-gradient(165deg, #f3eefe 0%, #fbeef4 52%, #fef3ec 100%);
  --radius-lg: 22px; --radius: 16px; --radius-sm: 10px; --pill: 999px;
  --wrap: 1140px;
  --shadow-sm: 0 1px 2px rgba(40,20,80,.06), 0 1px 3px rgba(40,20,80,.05);
  --shadow: 0 10px 34px rgba(60,30,110,.10);
  --shadow-lg: 0 20px 56px rgba(60,30,110,.16);
  --shadow-violet: 0 10px 24px rgba(124,58,237,.30);
  --ff: "Pretendard", "Pretendard Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--ff); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
img, svg { display: block; }
/* make the `hidden` attribute reliable even on elements with a component display (e.g. .btn) */
[hidden] { display: none !important; }
em { font-style: normal; color: var(--violet-d); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--violet) 50%, white); outline-offset: 2px; border-radius: 5px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 700; box-shadow: var(--shadow); }
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border: 0; border-radius: var(--pill); font-weight: 700; font-size: 14.5px; white-space: nowrap; transition: transform .12s, box-shadow .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn--violet { background: var(--violet); color: #fff; box-shadow: var(--shadow-violet); }
.btn--violet:hover { background: var(--violet-d); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); height: 38px; padding: 0 16px; font-size: 14px; }
.btn--ghost:hover { border-color: var(--violet); color: var(--violet-d); }

/* ===================== top bar ===================== */
.topbar { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.topbar.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(40,20,80,.06); }
.topbar__inner { display: flex; align-items: center; gap: 20px; height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.brand__mark { display: inline-grid; place-items: center; }
.brand__name { font-weight: 800; font-size: 19px; letter-spacing: -.5px; }
.brand__dot { color: var(--violet); }
.brand__tag { background: var(--violet-l); color: var(--violet-dd); font-weight: 800; font-size: 9.5px; letter-spacing: .5px; padding: 2px 6px; border-radius: 5px; transform: translateY(-7px); }

.topnav { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.topnav a { padding: 8px 12px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); border-radius: 9px; }
.topnav a:hover { background: var(--violet-ll); color: var(--violet-d); }

.topbar__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { background: transparent; border: 0; color: var(--muted); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.lang:hover { color: var(--ink); }

.userchip { display: inline-flex; align-items: center; gap: 8px; }
.userchip[hidden] { display: none; }
.userchip__avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.userchip__name { font-size: 13px; font-weight: 700; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.userchip__out { background: transparent; border: 1.5px solid var(--line-2); color: var(--muted); font-size: 12px; padding: 4px 10px; border-radius: var(--pill); }
.userchip__out:hover { color: var(--ink); border-color: var(--violet); }

.navtoggle { display: none; flex-direction: column; gap: 4px; width: 44px; height: 44px; border: 0; background: transparent; align-items: center; justify-content: center; }
.navtoggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.navtoggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===================== hero ===================== */
.hero { position: relative; background: var(--hero-grad); overflow: hidden; }
.hero:focus { outline: none; }   /* skip-link target (tabindex=-1) — no ring on programmatic focus */
.hero__inner { position: relative; z-index: 1; padding: 76px 22px 64px; max-width: 820px; }
.hero__promo { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.7); border: 1px solid #fff; color: var(--violet-dd); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: var(--pill); box-shadow: var(--shadow-sm); }
.hero__promo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(255,77,109,.18); }
.hero__title { margin-top: 22px; font-size: clamp(36px, 6vw, 62px); line-height: 1.04; font-weight: 800; letter-spacing: -2px; color: #1c1230; }
.hero__sub { margin-top: 18px; font-size: clamp(16px, 1.9vw, 19px); color: #4a4358; max-width: 30em; }

.proxybar { margin-top: 30px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--pill); padding: 7px 7px 7px 18px; max-width: 640px; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.proxybar:focus-within { border-color: var(--violet); box-shadow: 0 0 0 5px var(--violet-l), var(--shadow); }
.proxybar__icon { color: var(--violet); flex-shrink: 0; display: grid; place-items: center; }
.proxybar__input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 15.5px; height: 42px; outline: none; }
.proxybar__btn { flex-shrink: 0; height: 44px; }
.proxybar__hint { margin-top: 12px; font-size: 14px; color: var(--muted); min-height: 20px; }
.proxybar__hint a { color: var(--violet-d); font-weight: 600; }
.proxybar__hint a:hover { text-decoration: underline; }
#proxyOut:not(:empty) { color: var(--ink); font-weight: 600; }
#proxyOut:not(:empty) + #proxyDefault { display: none; }

.paths { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; }
.path { position: relative; display: block; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 24px 24px 20px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s; }
.path:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--violet); }
.path__tag { display: inline-block; background: var(--violet); color: #fff; font-weight: 800; font-size: 12px; padding: 4px 12px; border-radius: var(--pill); }
.path__tag--alt { background: var(--pink-text); }   /* review WEB-2: white text needs AA */
.path__title { margin-top: 14px; font-size: 20px; font-weight: 800; letter-spacing: -.4px; }
.path__desc { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.path__go { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--violet-d); transition: transform .15s; }
.path--ship .path__go { color: var(--pink-text); }   /* review WEB-3: AA on white */
.path:hover .path__go { transform: translateX(4px); }
.paths__foot { margin-top: 20px; font-size: 14px; color: var(--muted); }
.paths__foot a { color: var(--ink-2); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); }
.paths__foot a:hover { text-decoration-color: var(--violet); }

.hero__art { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); z-index: 0; opacity: .96; }
.hero__art svg { filter: drop-shadow(0 18px 30px rgba(80,40,140,.18)); animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .hero__art svg { animation: none; } }

/* ===================== stores strip ===================== */
.stores { padding: 28px 0; border-bottom: 1px solid var(--line); }
.stores__label { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); }
.stores__row { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); padding: 7px 14px; border-radius: var(--pill); }
.store::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, #888); }

/* ===================== section heads ===================== */
.head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.head__kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--violet); }
.head__kicker--light { text-align: left; }
.head__title { margin-top: 10px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.8px; }

/* ===================== how it works (stepper) ===================== */
.how { padding: 84px 0; }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.stepper::before { content: ""; position: absolute; top: 19px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--violet-l) 0 10px, transparent 10px 18px); z-index: 0; }
.stepper__item { position: relative; z-index: 1; text-align: center; }
.stepper__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--violet); color: #fff; font-weight: 800; font-size: 16px; box-shadow: var(--shadow-violet); }
.stepper__item h3 { margin-top: 16px; font-size: 16.5px; font-weight: 700; }
.stepper__item p { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ===================== why ===================== */
.why { padding: 84px 0; background: var(--paper); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.feature__ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; font-size: 24px; background: color-mix(in srgb, var(--c) 14%, white); margin-bottom: 16px; }
.feature h3 { font-size: 16.5px; font-weight: 700; }
.feature p { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ===================== pricing ===================== */
.pricing { padding: 84px 0; }
.pricing__inner { display: grid; grid-template-columns: 1fr minmax(300px, 460px); gap: 36px; align-items: center; background: linear-gradient(135deg, #f6f3ff, #fdeef4); border: 1.5px solid var(--violet-l); border-radius: var(--radius-lg); padding: 40px; }
.pricing__title { margin-top: 10px; font-size: clamp(23px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.6px; }
.pricing__sub { margin-top: 10px; color: var(--ink-2); }
.pricing__fee { margin-top: 14px; font-size: 13px; color: var(--muted); }
.pricing__fee strong { color: var(--violet-d); }
.calc { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.calc__field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--ink-2); font-weight: 600; }
.calc__input { height: 44px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 0 12px; font-size: 14px; min-width: 140px; background: #fff; color: var(--ink); }
.calc__input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-l); }
.calc__go { height: 44px; }
.calc__out { flex-basis: 100%; font-size: 14px; color: var(--violet-dd); font-weight: 600; min-height: 18px; }
.calc__note { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); font-weight: 500; }

/* ===================== footer ===================== */
.footer { background: #1d1830; color: #b6afca; padding-top: 56px; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 40px; }
.footer .brand__name { color: #fff; }
.footer .brand__dot { color: #c4b5fd; }
.footer__tag { margin-top: 12px; color: #d7d1e6; font-size: 14px; }
.footer__note { margin-top: 8px; font-size: 12px; color: #8a83a3; }
.footer__note code { background: #2c2543; padding: 1px 5px; border-radius: 4px; }
.footer__col h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer__col a { display: block; color: #b6afca; font-size: 13.5px; padding: 5px 0; }
.footer__col a:hover { color: #fff; }
.footer__icons { display: flex; gap: 8px; }
.footer__icons a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #36304e; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #d7d1e6; }
.footer__icons a:hover { background: #2c2543; color: #fff; }
.footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-top: 1px solid #2c2543; font-size: 12.5px; color: #8a83a3; }

/* ===================== floating support + toast ===================== */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--violet); color: #fff; box-shadow: var(--shadow-violet); display: grid; place-items: center; transition: transform .15s; }
.fab:hover { transform: scale(1.06); }
.toast { position: fixed; left: 22px; bottom: 22px; z-index: 71; max-width: 320px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.4; padding: 10px 14px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); display: none; }
.toast:not(:empty) { display: block; }

/* ===================== apply (We-Buy order form) ===================== */
.apply { padding: 100px 22px 80px; }
.apply__head { max-width: 720px; margin-bottom: 28px; }
.apply__title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -1px; margin-top: 10px; }
.apply__sub { margin-top: 12px; color: var(--ink-2); font-size: 16px; }

.gate { max-width: 460px; margin: 40px auto; text-align: center; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 40px 30px; box-shadow: var(--shadow); }
.gate__icon { font-size: 36px; }
.gate h2 { margin-top: 12px; font-size: 22px; font-weight: 800; }
.gate p { margin: 10px 0 22px; color: var(--muted); }

.apply__grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.apply__main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card__title { font-size: 18px; font-weight: 800; }
.card__hint { font-size: 12.5px; color: var(--muted); }
.addrow { height: 38px; margin-top: 6px; }

.item { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr 0.9fr 0.6fr auto; gap: 10px; align-items: end; margin-bottom: 12px; }
.item label { display: flex; flex-direction: column; gap: 5px; font-size: 11.5px; color: var(--ink-2); font-weight: 600; min-width: 0; }
.item input { height: 40px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 0 10px; font-size: 13.5px; min-width: 0; }
.item input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-l); }
.item__rm { width: 34px; height: 40px; border: 1.5px solid var(--line-2); background: #fff; border-radius: var(--radius-sm); color: var(--muted); font-size: 18px; line-height: 1; }
.item__rm:hover { border-color: var(--pink); color: var(--pink-text); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea, .card textarea { border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 14px; font-family: inherit; }
.field input { height: 44px; }
.field input:focus, .field select:focus, .field textarea:focus, .card textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-l); }
.check { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.check input { width: 18px; height: 18px; accent-color: var(--violet); }

.apply__side { position: sticky; top: 84px; }
.summary { background: linear-gradient(135deg, #f6f3ff, #fdeef4); border: 1.5px solid var(--violet-l); border-radius: var(--radius-lg); padding: 24px; }
.summary__title { font-size: 17px; font-weight: 800; margin-bottom: 16px; }
.summary__rows { display: flex; flex-direction: column; gap: 9px; margin: 0; }
.summary__rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; }
.summary__rows dt { color: var(--ink-2); margin: 0; }
.summary__rows dd { margin: 0; font-weight: 700; }
.summary__total { padding-top: 9px; border-top: 1px solid var(--violet-l); }
.summary__total dt, .summary__total dd { font-size: 16px; }
.summary__total dd { color: var(--violet-dd); font-weight: 800; }
.summary__note { margin-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.summary__submit { width: 100%; height: 48px; margin-top: 18px; justify-content: center; }
.summary__out { display: block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--violet-dd); }

/* ===================== account (my-page) ===================== */
.account { padding: 100px 22px 80px; }
.inline-link { color: var(--violet-d); font-weight: 600; }
.inline-link:hover { text-decoration: underline; }
.userchip__name:hover { text-decoration: underline; }
.orders__list { display: grid; gap: 16px; max-width: 760px; }
.orders__empty { max-width: 460px; margin: 30px auto; text-align: center; color: var(--muted); }
.orders__empty .gate__icon { font-size: 34px; }
.orders__empty p { margin: 8px 0 18px; }
.orders__status { display: block; margin-top: 14px; font-size: 13px; color: var(--muted); }
.ocard { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.ocard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ocard__ref { font-weight: 800; font-size: 15px; }
.ocard__status { font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: var(--pill); background: var(--violet-l); color: var(--violet-dd); white-space: nowrap; }
.ocard__status[data-s="SHIPPED"] { background: #dcfce7; color: #166534; }
.ocard__status[data-s="RETURNED"], .ocard__status[data-s="DISPOSED"] { background: #fee2e2; color: #991b1b; }
.ocard__meta { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.ocard__items { margin: 12px 0 0; display: flex; flex-direction: column; gap: 4px; }
.ocard__items li { font-size: 13.5px; color: var(--ink-2); }
.ocard__foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; font-size: 14px; }
a.ocard { display: block; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.ocard:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--violet); }

/* ===================== order detail ===================== */
.detail { padding: 96px 22px 80px; }
.back-link { display: inline-block; margin-bottom: 18px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.back-link:hover { color: var(--violet-d); }
.detail__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.detail__head .apply__title { margin-top: 8px; font-size: clamp(24px, 3vw, 34px); }
.detail__grid { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }
.detail__main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.detail__side { display: flex; flex-direction: column; gap: 20px; }
.ditems { display: flex; flex-direction: column; margin: 0; }
.ditems li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ditems li:last-child { border-bottom: 0; }
.ditems__qty { color: var(--muted); font-size: 12.5px; }
.ditems__total { margin-top: 12px; text-align: right; font-weight: 800; font-size: 15px; color: var(--violet-dd); }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.photos__empty { color: var(--muted); font-size: 13.5px; line-height: 1.6; background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: 20px; text-align: center; }
.timeline { display: flex; flex-direction: column; margin: 0; }
.timeline li { display: flex; gap: 12px; padding-bottom: 18px; position: relative; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: 0; width: 2px; background: var(--line-2); }
.timeline__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--line-2); margin-top: 3px; flex-shrink: 0; z-index: 1; }
.timeline li.is-current .timeline__dot { background: var(--violet); box-shadow: 0 0 0 4px var(--violet-l); }
.timeline li strong { display: block; font-size: 13.5px; }
.timeline__date { font-size: 12px; color: var(--muted); }
.kv { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.kv > div { display: grid; grid-template-columns: 70px 1fr; gap: 8px; font-size: 13.5px; }
.kv dt { color: var(--muted); margin: 0; }
.kv dd { margin: 0; font-weight: 600; word-break: break-word; }

/* ===================== admin (operator console) ===================== */
.admin { padding: 96px 22px 80px; }
.muted { color: var(--muted); }
.notice { max-width: 560px; margin: 30px auto; text-align: center; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.notice .gate__icon { font-size: 32px; }
.notice code { background: var(--paper); padding: 1px 6px; border-radius: 4px; }
.admin__grid { display: grid; grid-template-columns: 360px 1fr; gap: 22px; align-items: start; }
.admin__list-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.admin__list-head .btn { height: 32px; padding: 0 12px; font-size: 12.5px; }
#adminList { max-height: 72vh; overflow-y: auto; }   /* review AF-3: bound the all-orders list */
.arow { display: block; width: 100%; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; cursor: pointer; transition: border-color .12s, box-shadow .12s; }
.arow:hover { border-color: var(--violet); }
.arow.is-sel { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-l); }
.arow__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; font-weight: 700; }
.arow__sub { margin-top: 5px; font-size: 12px; color: var(--muted); }
.admin__detail { min-height: 200px; }
.admin__sub { margin: 0 0 12px; font-size: 13px; }
.admin__actions { margin: 18px 0; padding: 16px; background: var(--violet-ll); border-radius: var(--radius); }
.admin__actions h3, .admin__cols h3 { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--violet-d); margin: 0 0 12px; }
.adv { display: flex; flex-wrap: wrap; gap: 8px; }
.adv .btn { height: 38px; }
.photoadd { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.photoadd input { flex: 1; min-width: 160px; height: 38px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 0 10px; font-size: 13px; }
.photoadd select { height: 38px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 0 8px; }
.admin__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; }

/* ===================== responsive ===================== */
@media (max-width: 980px) {
  .hero__art { display: none; }
  .hero__inner { max-width: none; }
}
@media (max-width: 860px) {
  .topnav { display: none; }
  .navtoggle { display: flex; }
  .stepper { grid-template-columns: repeat(2, 1fr); }
  .stepper::before { display: none; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__inner { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .apply__grid { grid-template-columns: 1fr; }
  .apply__side { position: static; }
  .detail__grid { grid-template-columns: 1fr; }
  .admin__grid { grid-template-columns: 1fr; }
  .admin__cols { grid-template-columns: 1fr; }
  /* mobile drawer */
  .topbar.is-open .topnav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: #fff;
    padding: 12px 22px 18px; box-shadow: var(--shadow); border-top: 1px solid var(--line);
  }
  .topbar.is-open .topnav a { padding: 12px; font-size: 16px; }
}
@media (max-width: 620px) {
  .lang__label { display: none; }   /* keep the globe icon, drop the EN/한 word on narrow phones */
  .hero__inner { padding: 52px 22px 48px; }
  .paths { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; align-items: flex-start; gap: 6px; }
  .proxybar { flex-wrap: wrap; border-radius: var(--radius); padding: 12px; }
  .proxybar__input { flex-basis: 100%; height: 36px; }
  .proxybar__btn { width: 100%; }
  .fields { grid-template-columns: 1fr; }
  .item { grid-template-columns: 1fr 1fr; }
  .item__url, .item__title { grid-column: 1 / -1; }
  .apply { padding-top: 86px; }
}
