:root {
  --bg: #090a0f;
  --surface: #12141c;
  --surface-2: #191c26;
  --line: rgba(255,255,255,.09);
  --text: #f7f3eb;
  --muted: #a7a8b0;
  --gold: #e1b56e;
  --gold-2: #f0d6a5;
  --green: #5bd99a;
  --danger: #ff7a7a;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(0,0,0,.32);
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% -5%, rgba(183,125,60,.19), transparent 30rem),
    radial-gradient(circle at 100% 20%, rgba(80,53,130,.13), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.site-shell { width: min(100%, 560px); min-height: 100svh; margin: 0 auto; position: relative; border-inline: 1px solid rgba(255,255,255,.04); }
.topbar {
  height: 70px; padding: 10px 20px; position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(9,10,15,.83); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.055);
}
.brand { border: 0; background: none; padding: 0; display: flex; align-items: center; gap: 10px; cursor: pointer; text-align: left; }
.brand-mark { width: 37px; height: 37px; position: relative; display: grid; place-items: center; border: 1px solid rgba(225,181,110,.55); border-radius: 12px 12px 16px 16px; transform: rotate(45deg); }
.brand-mark::after { content: ""; width: 12px; height: 12px; border: 1px solid var(--gold); border-radius: 50%; }
.brand-mark span { position: absolute; inset: -4px; border: 1px solid rgba(225,181,110,.16); border-radius: inherit; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { color: var(--gold-2); letter-spacing: .16em; font-size: 13px; }
.brand-copy small { color: #eee9df; margin-top: 7px; font-size: 10px; letter-spacing: .05em; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.035); display: grid; place-content: center; gap: 4px; cursor: pointer; }
.icon-button span { width: 17px; height: 1px; background: #e9e2d7; display: block; }

#app { min-height: calc(100svh - 70px); padding: 0 18px 112px; }
.screen { animation: screen-in .22s ease-out; }
@keyframes screen-in { from { opacity: 0; transform: translateY(5px); } }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--gold); font-size: 12px; letter-spacing: .08em; font-weight: 750; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--gold); }
.hero { padding: 30px 2px 24px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 190px; height: 190px; border: 1px solid rgba(225,181,110,.09); border-radius: 50%; top: -86px; right: -68px; box-shadow: 0 0 0 24px rgba(225,181,110,.025), 0 0 0 48px rgba(225,181,110,.015); pointer-events: none; }
.hero h1 { max-width: 450px; margin: 14px 0 12px; font-family: Georgia, "Times New Roman", "Noto Serif KR", serif; font-size: clamp(32px, 9vw, 48px); line-height: 1.14; letter-spacing: -.045em; }
.hero h1 em { color: var(--gold-2); font-style: normal; }
.hero p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.75; }
.search-box { margin-top: 24px; padding: 8px; border: 1px solid rgba(225,181,110,.2); border-radius: 19px; background: rgba(25,28,38,.82); display: flex; gap: 9px; box-shadow: var(--shadow); }
.search-box button { flex: 1; min-height: 52px; border: 0; border-radius: 14px; background: transparent; text-align: left; padding: 0 13px; display: flex; align-items: center; gap: 11px; cursor: pointer; }
.search-box button span { color: var(--muted); font-size: 14px; }
.search-submit { flex: 0 0 52px !important; width: 52px; padding: 0 !important; justify-content: center; border-radius: 14px !important; background: linear-gradient(135deg, var(--gold-2), #b77c36) !important; color: #1b1309 !important; font-size: 21px; font-weight: 800; }
.trust-row { padding: 13px 4px 0; display: flex; gap: 14px; color: #beb9ae; font-size: 11px; }
.trust-row span { display: inline-flex; align-items: center; gap: 5px; }
.trust-row i { color: var(--green); font-style: normal; }

.section { padding: 24px 0 8px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.section-head h2 { margin: 0; font-size: 20px; letter-spacing: -.025em; }
.section-head p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.text-button { border: 0; background: none; color: var(--gold); padding: 8px 0; font-size: 12px; cursor: pointer; }

.region-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 104px; gap: 10px; overflow-x: auto; padding: 2px 1px 8px; scrollbar-width: none; }
.region-scroll::-webkit-scrollbar { display: none; }
.region-pill { min-height: 80px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); padding: 14px 12px; text-align: left; cursor: pointer; }
.region-pill strong { display: block; font-size: 16px; }
.region-pill small { display: block; color: var(--muted); margin-top: 8px; font-size: 10px; line-height: 1.3; }
.region-pill[disabled] { opacity: .44; cursor: not-allowed; }
.region-pill.is-active { border-color: rgba(225,181,110,.46); background: linear-gradient(145deg, rgba(225,181,110,.15), rgba(255,255,255,.025)); }

.waiter-list, .venue-list { display: grid; gap: 12px; }
.waiter-card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); padding: 14px; position: relative; overflow: hidden; }
.waiter-card.premium { border-color: rgba(225,181,110,.38); box-shadow: 0 15px 38px rgba(0,0,0,.18); }
.waiter-card.premium::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(var(--gold-2), #8a5424); }
.waiter-main { display: grid; grid-template-columns: 68px 1fr auto; gap: 12px; align-items: center; cursor: pointer; }
.avatar { width: 68px; aspect-ratio: 1; border-radius: 20px; display: grid; place-items: center; color: rgba(255,255,255,.9); font-family: Georgia, serif; font-size: 26px; background: linear-gradient(145deg, color-mix(in srgb, var(--avatar) 85%, white), color-mix(in srgb, var(--avatar) 72%, black)); position: relative; overflow: hidden; }
.avatar::after { content: ""; position: absolute; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; top: -22px; right: -25px; }
.waiter-copy { min-width: 0; }
.grade-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 99px; font-size: 9px; letter-spacing: .02em; color: #d9d8db; background: rgba(255,255,255,.065); }
.grade-badge.premium { background: rgba(225,181,110,.14); color: var(--gold-2); }
.grade-badge.spotlight { background: rgba(150,123,218,.14); color: #cbbaf2; }
.waiter-copy h3 { margin: 7px 0 4px; font-size: 17px; }
.waiter-copy h3 small { color: var(--muted); font-size: 11px; font-weight: 500; margin-left: 4px; }
.waiter-copy p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; color: var(--muted); font-size: 11px; }
.chevron { color: #8c8c94; font-size: 20px; }
.card-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; margin-top: 13px; }
.card-actions button { min-height: 43px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255,255,255,.035); cursor: pointer; font-weight: 720; font-size: 12px; }
.card-actions .primary { background: #f3ead9; border-color: #f3ead9; color: #17130e; }
.demo-note { margin: 10px 2px 0; color: #85868d; font-size: 10px; line-height: 1.5; }

.page-head { padding: 24px 2px 14px; }
.back-button { border: 0; background: none; padding: 8px 10px 8px 0; color: #d8d4cc; cursor: pointer; font-size: 13px; }
.page-head h1 { margin: 14px 0 7px; font-size: 29px; letter-spacing: -.04em; }
.page-head p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.flow-chips { display: flex; align-items: center; gap: 5px; margin-top: 16px; overflow: hidden; }
.flow-chips span { padding: 6px 9px; border-radius: 99px; background: var(--surface-2); color: #aeadb4; font-size: 10px; white-space: nowrap; }
.flow-chips span.current { background: rgba(225,181,110,.15); color: var(--gold-2); }
.flow-chips i { color: #555761; font-style: normal; font-size: 10px; }
.ad-explain { display: flex; gap: 10px; margin: 5px 0 15px; padding: 12px 13px; border: 1px solid rgba(225,181,110,.15); border-radius: 15px; background: rgba(225,181,110,.055); color: #beb8ad; font-size: 11px; line-height: 1.55; }
.ad-explain strong { color: var(--gold); white-space: nowrap; }
.venue-card { width: 100%; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 0; text-align: left; overflow: hidden; cursor: pointer; }
.venue-visual { height: 102px; padding: 15px; display: flex; justify-content: space-between; align-items: flex-start; background: radial-gradient(circle at 85% 0%, rgba(225,181,110,.2), transparent 45%), linear-gradient(135deg, #24202c, #11141d); }
.venue-visual::after { content: "TONIGHT"; align-self: end; color: rgba(255,255,255,.1); font: 700 29px/1 Georgia, serif; letter-spacing: .08em; }
.venue-index { width: 30px; height: 30px; border-radius: 10px; background: rgba(225,181,110,.16); color: var(--gold-2); display: grid; place-items: center; font-size: 11px; }
.venue-info { padding: 15px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.venue-info h3 { margin: 0 0 6px; font-size: 17px; }
.venue-info p { margin: 0; color: var(--muted); font-size: 11px; }
.venue-count { color: var(--gold); font-size: 11px; }

.empty-state { padding: 48px 24px; text-align: center; border: 1px dashed rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.018); }
.empty-state b { display: block; font-size: 32px; color: var(--gold); margin-bottom: 15px; }
.empty-state h2 { margin: 0 0 9px; font-size: 20px; }
.empty-state p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.profile-hero { margin: 8px 0 15px; border: 1px solid rgba(225,181,110,.24); border-radius: 26px; background: radial-gradient(circle at 100% 0%, rgba(225,181,110,.2), transparent 48%), var(--surface); padding: 22px; text-align: center; }
.profile-avatar { width: 104px; margin: 0 auto 14px; aspect-ratio: 1; border-radius: 32px; display: grid; place-items: center; font: 40px Georgia, serif; color: white; background: linear-gradient(145deg, color-mix(in srgb, var(--avatar) 86%, white), color-mix(in srgb, var(--avatar) 72%, black)); box-shadow: 0 15px 35px rgba(0,0,0,.28); }
.profile-hero h1 { margin: 10px 0 5px; font-size: 27px; }
.profile-hero .venue-name { color: var(--muted); font-size: 12px; }
.verified { color: var(--green); font-size: 11px; margin-left: 4px; }
.profile-intro { margin: 16px 0 0; color: #d4d0c9; font-size: 13px; line-height: 1.7; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.detail-box { min-height: 86px; padding: 14px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.025); }
.detail-box small { color: var(--muted); font-size: 10px; }
.detail-box strong { display: block; margin-top: 8px; font-size: 12px; line-height: 1.5; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.tag-row span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 99px; color: #c7c3bb; font-size: 10px; }
.contact-panel { padding: 17px; border-radius: 20px; background: #f0e6d5; color: #17130e; margin-top: 13px; }
.contact-panel h2 { margin: 0; font-size: 17px; }
.contact-panel p { color: #665c4e; font-size: 11px; line-height: 1.55; }
.contact-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; margin-top: 12px; }
.contact-actions a, .contact-actions button { min-height: 49px; border-radius: 14px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(23,19,14,.16); background: transparent; color: #17130e; text-decoration: none; font-weight: 800; font-size: 13px; cursor: pointer; }
.contact-actions .primary { background: #19140f; color: #fff6e7; border-color: #19140f; }

.grade-stack { display: grid; gap: 11px; margin-top: 17px; }
.grade-card { padding: 19px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.grade-card.premium { border-color: rgba(225,181,110,.38); background: linear-gradient(145deg, rgba(225,181,110,.12), rgba(255,255,255,.025)); }
.grade-card h3 { margin: 9px 0 6px; font-size: 18px; }
.grade-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.grade-number { color: var(--gold); font: 28px Georgia, serif; }
.policy-note { margin-top: 15px; padding: 15px; border-radius: 16px; background: rgba(255,255,255,.035); color: #ada9a2; font-size: 11px; line-height: 1.65; }

.bottom-nav { position: fixed; left: 50%; bottom: 0; z-index: 30; transform: translateX(-50%); width: min(100%, 560px); min-height: 72px; padding: 9px 14px max(9px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.08); background: rgba(12,13,19,.91); backdrop-filter: blur(20px); }
.bottom-nav button { border: 0; background: transparent; color: #747680; display: grid; place-items: center; gap: 2px; cursor: pointer; }
.bottom-nav button span { font-size: 20px; line-height: 1; }
.bottom-nav button small { font-size: 9px; }
.bottom-nav button.is-active { color: var(--gold-2); }

.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.58); backdrop-filter: blur(3px); }
.sheet { position: fixed; z-index: 51; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%,560px); max-height: 82svh; overflow-y: auto; border: 1px solid var(--line); border-bottom: 0; border-radius: 25px 25px 0 0; background: #151720; padding: 13px 20px max(24px, env(safe-area-inset-bottom)); box-shadow: 0 -20px 55px rgba(0,0,0,.5); }
.sheet-handle { width: 40px; height: 4px; margin: 0 auto 20px; border-radius: 99px; background: #40424c; }
.sheet h2 { margin: 0 0 8px; font-size: 21px; }
.sheet p { margin: 0 0 17px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.sheet textarea { width: 100%; min-height: 112px; resize: vertical; border: 1px solid var(--line); border-radius: 15px; background: #0d0e14; color: var(--text); padding: 13px; line-height: 1.6; }
.sheet-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 9px; margin-top: 12px; }
.sheet-actions button, .sheet-actions a { min-height: 50px; border: 1px solid var(--line); border-radius: 14px; background: transparent; color: var(--text); display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 760; font-size: 13px; cursor: pointer; }
.sheet-actions .primary { background: var(--gold-2); color: #1d160d; border-color: var(--gold-2); }
.menu-list { display: grid; gap: 8px; }
.menu-list button { min-height: 52px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); text-align: left; padding: 0 15px; cursor: pointer; }
.sheet-close { width: 100%; min-height: 48px; margin-top: 12px; border: 0; border-radius: 14px; background: rgba(255,255,255,.07); cursor: pointer; }
.toast { position: fixed; left: 50%; bottom: 92px; z-index: 70; transform: translate(-50%,18px); width: max-content; max-width: calc(100% - 38px); padding: 11px 15px; border-radius: 12px; background: #f2eadc; color: #18140f; box-shadow: var(--shadow); font-size: 12px; font-weight: 700; opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

@media (min-width: 700px) {
  body { padding: 24px 0; }
  .site-shell { min-height: calc(100svh - 48px); border-radius: 28px; overflow: hidden; box-shadow: 0 30px 100px rgba(0,0,0,.45); }
  .bottom-nav { bottom: 24px; border-radius: 0 0 28px 28px; }
  .sheet { bottom: 24px; border-radius: 25px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

.public-links{padding-bottom:32px}.public-links p{line-height:1.7;color:var(--muted)}.public-links a{display:block;padding:16px;margin:10px 0;border:1px solid var(--line);border-radius:12px;color:var(--gold);font-size:1rem}

/* Visible representative portrait; the platform navigation and identity stay unchanged. */
.representative-guide{margin:0 0 8px;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--surface)}
.representative-guide>a{display:block}
.representative-guide img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center 28%}
.representative-guide figcaption{padding:16px 18px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.representative-guide a{color:inherit;text-decoration:none}
.representative-guide figcaption span{display:block;color:var(--muted);font-size:14px;line-height:1.5}
.representative-guide figcaption strong{display:block;font-size:24px;line-height:1.5;margin-top:3px}
.representative-guide figcaption small{color:var(--muted);font-weight:500;font-size:14px}
.representative-guide .representative-phone{color:var(--gold-2);font-weight:750;font-size:16px;line-height:1.5;padding-block:6px}
