/* Hairline Cool palette from DESIGN-supabase.md. */
:root {
  --canvas: #ededed;
  --primary: #644fc1;
  --green: #4ade80;
  --magenta: #6b01c2;
  --link: #5a43b8;
  --surface: #ffffff;
  --onyx: #171717;
  --ink: #171717;
  --muted: #707070;
  --accent-ink: #28764c;
  --line: #d4d4d4;
  --radius: 12px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 300px;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
body::before {
  content: none;
}
@keyframes drift { to { transform: translate3d(5%, 5%, 0) scale(1.08); } }
a { color: inherit; text-decoration: none; }
.text-link { color: var(--link); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .45; cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
img { max-width: 100%; }
.boot { min-height: 100dvh; display: grid; place-items: center; font-weight: 800; letter-spacing: -.03em; }
.shell { min-height: 100dvh; }
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { max-width: 1200px; margin: auto; padding: 12px 20px; display: flex; align-items: center; gap: 22px; min-height: 68px; }
.logo { display: inline-flex; gap: 10px; align-items: center; font-size: 20px; font-weight: 900; letter-spacing: -.06em; white-space: nowrap; }
.logo-mark { position: relative; display: grid; place-items: center; width: 36px; height: 36px; background: var(--primary); color: white; border-radius: 10px; transform: rotate(-9deg); font-size: 19px; }
.logo-mark span { transform: rotate(9deg); }
.desktop-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 12px; color: var(--muted); font-weight: 700; }
.nav-link.active, .nav-link:hover { color: var(--primary); background: #edf0ff; }
.score-chip { white-space: nowrap; background: var(--surface); border: 1px solid var(--line); padding: 8px 13px; border-radius: 50px; font-size: 14px; font-weight: 800; }
.score-chip b { color: var(--accent-ink); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--surface); font-size: 22px; }
.mobile-menu { display: none; padding: 4px 20px 20px; border-top: 1px solid var(--line); }
.mobile-menu.open { display: grid; }
.mobile-menu .nav-link { padding: 12px; }
.main { max-width: 1200px; margin: 0 auto; padding: 30px 20px 92px; }
.eyebrow { margin: 0 0 10px; color: var(--accent-ink); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.055em; line-height: 1.1; }
h1 { font-size: clamp(30px, 7vw, 38px); font-weight: 900; }
h2 { font-size: clamp(22px, 5vw, 28px); font-weight: 900; }
h3 { font-size: 19px; font-weight: 800; }
.lead { color: #3f4964; font-size: clamp(16px, 2vw, 19px); line-height: 1.55; max-width: 620px; }
.muted, .meta { color: var(--muted); }
.small { font-size: 14px; }
.hero { position: relative; overflow: hidden; padding: clamp(30px, 6vw, 60px); background: #ffffff; color: var(--ink); border-radius: 40px; min-height: 340px; }
.hero .lead { color: #f3f2ff; }
.hero::before { content: ""; position: absolute; width: 350px; height: 350px; right: -80px; bottom: -170px; border: 54px solid rgba(255,255,255,.12); border-radius: 120px; transform: rotate(-25deg); }
.hero > * { position: relative; }
.hero h1 { max-width: 750px; margin-bottom: 18px; }
.hero .lead { margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { border: 0; min-height: 48px; border-radius: 12px; padding: 11px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center; font-weight: 800; transition: transform .15s ease, filter .15s ease; }
.button:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.08); }
.button-primary { background: var(--primary); color: white; }
.button-green { background: var(--green); color: #000; }
.button-ghost { background: #eef0ff; color: #26367d; border: 1px solid #d9def7; }
.button-white { background: white; color: #20243a; border: 1px solid var(--line); }
.button-danger { background: #fff0f8; color: #a51e68; border: 1px solid rgba(236,72,189,.45); }
.button-small { min-height: 42px; padding: 8px 14px; font-size: 14px; }
.button-block { width: 100%; }
.section { margin-top: 38px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-head h2 { margin-bottom: 0; }
.section-head a { color: var(--link); font-weight: 800; white-space: nowrap; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: 0 8px 24px rgba(32,43,94,.045); }
.card-soft { background: #f7f8ff; }
.card-magenta { background: #1c1c1c; color: white; }
.card-magenta .eyebrow { color: white; }
.stat { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 40px; padding: 28px; background: var(--primary); }
.stat-number { display: block; font-size: clamp(48px, 7vw, 72px); font-weight: 900; letter-spacing: -.07em; line-height: 1; }
.stat-label { font-weight: 800; }
.stat-symbol { font-size: 60px; opacity: .65; }
.event-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.event-card { display: block; min-height: 206px; padding: 24px; background: var(--surface); border-radius: 24px; border: 1px solid var(--line); transition: transform .15s ease, border-color .15s ease; }
.event-card:hover { transform: translateY(-3px); border-color: rgba(88,101,242,.9); }
.event-card h3 { margin: 16px 0 8px; font-size: 25px; }
.event-card .arrow { float: right; font-size: 24px; font-weight: 800; }
.event-foot { margin-top: 20px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: #d1d3f1; }
.priority-tag { margin-top: 14px; color: var(--accent-ink); font-weight: 850; font-size: 13px; }
.badge { display: inline-flex; align-items: center; border-radius: 16px; background: var(--magenta); color: white; padding: 4px 11px; font-size: 12px; font-weight: 900; white-space: nowrap; }
.badge-open { background: var(--green); color: #000; }
.badge-selection { background: var(--primary); }
.badge-closed { background: #434671; }
.page-intro { padding: 14px 2px 25px; }
.page-intro h1 { font-size: clamp(36px, 6vw, 58px); margin-bottom: 12px; }
.page-intro p:last-child { margin-bottom: 0; }
.stack { display: grid; gap: 16px; }
.request-head { background: #ffffff; color: var(--ink); border-radius: 40px; padding: clamp(26px,5vw,44px); }
.request-head h1 { font-size: clamp(34px, 6vw, 58px); margin: 12px 0; }
.request-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #f2edff; font-size: 14px; }
.request-rule { margin: 22px 0 0; padding: 13px 16px; border-radius: 14px; background: rgba(10,13,58,.3); font-weight: 800; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(280px,.8fr); gap: 20px; align-items: start; }
.side-stack { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; margin: 0 0 18px; }
.field label { font-weight: 800; font-size: 15px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #ccd2e8; border-radius: 12px; color: var(--ink); background: #f8f9ff; min-height: 50px; padding: 12px 14px; outline: none; }
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); }
.field input::placeholder, .field textarea::placeholder { color: #707b96; }
.field-note { margin: -8px 0 16px; color: var(--muted); font-size: 13px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.site-field { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.site-field legend { padding: 0; margin-bottom: 10px; font-weight: 800; font-size: 14px; }
.site-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.site-choice { position: relative; display: inline-flex; cursor: pointer; max-width: 100%; }
.site-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.site-choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line); background: #f8f9ff; font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }
.site-choice input:checked + span { background: #e6faed; border-color: #48b77c; color: var(--accent-ink); }
.site-choice input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 3px; }
.upload-attestation { display: flex; width: 100%; margin-top: 8px; }
.upload-attestation span { width: 100%; }
.site-add { display: flex; gap: 8px; margin-top: 10px; }
.site-add input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #f8f9ff; color: var(--ink); padding: 10px 13px; }
.field-hint { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.performance-time[hidden], #venue-info[hidden] { display: none; }
.venue-info { margin: -3px 0 18px; }
.venue-info p { margin: 4px 0 12px; }
.venue-info > a:not(.button) { color: var(--link); font-weight: 800; }
.venue-info .button { width: 100%; }
.priority-panel { border-color: rgba(53,237,126,.28); }
.priority-header { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.priority-header h2 { margin-bottom: 8px; }
.priority-header p.muted { margin-bottom: 18px; }
.priority-count { flex: none; padding: 8px 12px; border-radius: 30px; background: #e6faed; color: var(--accent-ink); font-size: 13px; font-weight: 900; }
.priority-list { display: grid; gap: 8px; }
.priority-person { display: grid; grid-template-columns: 66px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.045); }
.priority-person.me { background: rgba(88,101,242,.17); border-color: rgba(88,101,242,.7); }
.priority-person.current { border-color: var(--green); box-shadow: inset 4px 0 var(--green); }
.priority-position { color: var(--accent-ink); font-size: 13px; font-weight: 900; }
.priority-person-info { display: grid; min-width: 0; }
.priority-person-info strong { overflow-wrap: anywhere; }
.priority-person-info span { color: var(--muted); font-size: 13px; }
.priority-person > b { white-space: nowrap; font-size: 16px; }
.venue-add { display: flex; align-items: end; gap: 10px; }
.venue-add .field { flex: 1; min-width: 0; margin-bottom: 0; }
.venue-list { display: grid; gap: 8px; margin-top: 18px; }
.venue-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 13px; background: rgba(255,255,255,.045); }
.venue-linked { color: var(--accent-ink); }
.notice { padding: 16px 18px; border-radius: 16px; background: #eef0ff; border: 1px solid #cdd3fa; color: var(--ink); }
.notice-green { background: rgba(53,237,126,.12); border-color: rgba(53,237,126,.34); }
.notice-magenta { background: rgba(236,72,189,.12); border-color: rgba(236,72,189,.34); }
.turn-time { margin-top: 10px; font-size: clamp(20px, 5vw, 27px); font-weight: 900; font-variant-numeric: tabular-nums; color: var(--accent-ink); }
.turn-time.urgent { color: #ff87cf; }
.rank-list { display: grid; gap: 8px; }
.rank-row { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.045); border-radius: 14px; padding: 12px 14px; min-height: 56px; }
.rank-row strong { min-width: 30px; font-size: 18px; color: var(--accent-ink); }
.rank-row .name { flex: 1; font-weight: 750; }
.rank-row .point { font-weight: 900; }
.rank-row.me { outline: 1px solid var(--primary); background: rgba(88,101,242,.17); }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.offer-card { padding: 0; overflow: hidden; }
.offer-image { display: block; width: 100%; height: 280px; object-fit: cover; object-position: top; background: #070929; cursor: zoom-in; }
.offer-content { padding: 18px; }
.offer-content h3 { margin: 12px 0 5px; }
.offer-group-head { display: grid; gap: 5px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px 14px 0 0; }
.offer-group-head strong { font-size: 18px; }
.offer-group-head span { color: var(--muted); font-size: 13px; }
.offer-group-seats { display: grid; gap: 8px; padding: 10px 0; }
.offer-group-seats .offer-detail { background: var(--surface); }
.offer-group-detail > .offer-photo-wrap .offer-image { object-fit: contain; }
.offer-group-detail > .offer-photo-wrap .seat-picked-cover { aspect-ratio: 2 / 1; }
.offer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.upload-box { border: 2px dashed rgba(255,255,255,.25); border-radius: 20px; min-height: 150px; padding: 20px; display: grid; place-items: center; text-align: center; background: rgba(255,255,255,.035); cursor: pointer; }
.upload-box:hover { border-color: var(--green); }
.upload-box input { width: 100%; margin-top: 12px; }
.offer-preview-panel { margin: 14px 0 22px; }
.offer-preview-panel[hidden] { display: none; }
.offer-preview-button { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: #070929; cursor: zoom-in; overflow: hidden; }
.offer-preview-button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.upload-preview { display: block; width: 100%; max-height: min(48dvh, 360px); object-fit: contain; }
.offer-seat-entry { margin-top: 22px; }
.offer-seat-entry h4 { margin: 0 0 16px; font-size: 17px; }
.offer-upload-zoom { min-height: 0; overflow: auto; display: grid; place-items: center; }
.offer-upload-zoom img { display: block; width: 100%; max-width: 100%; max-height: calc(100dvh - 90px); object-fit: contain; }
.offer-upload-zoom.is-zoomed { display: block; }
.offer-upload-zoom.is-zoomed img { width: 200%; max-width: none; max-height: none; }
.split-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.empty { text-align: center; padding: 45px 22px; border: 1px dashed rgba(255,255,255,.22); border-radius: 24px; background: rgba(30,35,83,.55); }
.empty .icon { font-size: 48px; display: block; margin-bottom: 10px; }
.history-row { display: flex; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); padding: 16px 0; }
.history-row:last-child { border-bottom: 0; }
.history-row .point { margin-left: auto; font-weight: 900; font-size: 20px; white-space: nowrap; }
.history-row .positive { color: var(--green); }
.history-row .negative { color: #ff87cf; }
.login-wrap { max-width: 1040px; min-height: 100dvh; padding: 24px; display: grid; align-items: center; margin: auto; }
.login-card { padding: clamp(26px, 6vw, 60px); border-radius: 40px; background: #ffffff; box-shadow: 0 3px 68px rgba(69,42,124,.1); overflow: hidden; }
.login-card h1 { max-width: 720px; margin: 30px 0 16px; }
.login-card .lead { max-width: 650px; }
.login-card .button { margin-top: 16px; }
.dev-logins { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.3); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dev-logins span { width: 100%; font-size: 13px; opacity: .85; }
.top-space { margin-top: 16px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: min(92vw,440px); background: #fff; color: #0a0d3a; border-radius: 16px; padding: 13px 18px; box-shadow: 0 18px 50px rgba(0,0,0,.32); font-weight: 800; }
.lightbox { position: fixed; z-index: 80; inset: 0; background: rgba(0,0,0,.93); display: grid; grid-template-rows: auto minmax(0,1fr); padding: 12px; }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 50px; }
.lightbox img { display: block; max-width: 100%; max-height: calc(100dvh - 90px); margin: auto; object-fit: contain; }
.footer { padding: 32px 20px 45px; text-align: center; color: var(--muted); font-size: 13px; }
@media (max-width: 850px) {
  .detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .topbar-inner { min-height: 62px; padding: 9px 16px; gap: 10px; }
  .desktop-nav { display: none; }
  .score-chip { margin-left: auto; }
  .menu-button { display: grid; place-items: center; }
  .main { padding: 18px 16px 75px; }
  .hero { border-radius: 32px; min-height: auto; padding: 32px 25px; }
  .hero h1 { font-size: clamp(39px, 10vw, 58px); }
  .hero::before { width: 240px; height: 240px; right: -110px; bottom: -140px; }
  .section { margin-top: 30px; }
  .grid, .event-list, .offer-grid { grid-template-columns: 1fr; }
  .card { padding: 21px; }
  .event-card { min-height: 185px; }
  .request-head { border-radius: 30px; }
  .offer-image { height: auto; max-height: none; object-fit: contain; }
  .hero-actions .button { flex: 1; min-width: 140px; }
  .login-wrap { padding: 16px; }
  .login-card { border-radius: 32px; min-height: 500px; }
}
@media (max-width: 480px) {
  .score-chip { padding: 7px 10px; font-size: 12px; }
  .logo { font-size: 18px; }
  .logo-mark { width: 32px; height: 32px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .split-actions .button { flex: 1 1 100%; }
  .section-head { align-items: start; }
  .section-head h2 { font-size: 27px; }
  .priority-header { display: block; }
  .priority-count { display: inline-flex; margin-bottom: 15px; }
  .priority-person { grid-template-columns: 54px minmax(0,1fr) auto; gap: 7px; padding: 10px; }
  .priority-person > b { font-size: 14px; }
  .site-add { flex-wrap: wrap; }
  .site-add input { flex-basis: 100%; }
  .venue-add { display: block; }
  .venue-add .button { width: 100%; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* The product always uses its phone layout, including on wide screens. */
.shell, .login-wrap { width: 100%; max-width: 430px; margin-inline: auto; }
.topbar-inner { max-width: none; min-height: 62px; padding: 9px 16px; gap: 10px; }
.desktop-nav { display: none; }
.score-chip { margin-left: auto; padding: 7px 10px; font-size: 12px; }
.menu-button { display: grid; place-items: center; }
.main { max-width: none; padding: 18px 16px 75px; }
.grid, .event-list, .offer-grid, .detail-layout, .field-row { grid-template-columns: 1fr; }
.hero { border-radius: 32px; min-height: auto; padding: 32px 25px; }
.hero h1 { font-size: clamp(39px, 10vw, 58px); }
.hero::before { width: 240px; height: 240px; right: -110px; bottom: -140px; }
.login-wrap { padding: 16px; }
.login-card { border-radius: 32px; min-height: 500px; padding: 26px; }
.section { margin-top: 30px; }
.card { padding: 21px; }
.offer-card { padding: 0; }
.offer-image { height: auto; max-height: none; object-fit: contain; }
.request-head { border-radius: 30px; }
.priority-header { display: block; }
.priority-count { display: inline-flex; margin-bottom: 15px; }
.priority-person { grid-template-columns: 54px minmax(0,1fr) auto; gap: 7px; padding: 10px; }
.priority-person > b { font-size: 14px; }
.field-row { gap: 0; }
.split-actions .button { flex: 1 1 100%; }
.site-add { flex-wrap: wrap; }
.site-add input { flex-basis: 100%; }
.section-head { align-items: start; }
.section-head h2 { font-size: 27px; }
.venue-add { display: block; }
.venue-add .button { width: 100%; margin-top: 10px; }
.lightbox { left: 50%; right: auto; width: min(100%, 430px); transform: translateX(-50%); }
.demo-strip { border: 1px solid rgba(236,72,189,.4); background: rgba(236,72,189,.12); border-radius: 20px; padding: 15px; margin-bottom: 18px; }
.demo-strip-head { display: flex; justify-content: space-between; align-items: start; gap: 10px; font-size: 13px; }
.demo-strip-head strong { display: block; font-size: 16px; }
.demo-strip-head span { display: block; color: var(--muted); }
.demo-strip-head a { color: white; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; font-weight: 800; }
.demo-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 12px; }
.demo-switch .button { min-width: 0; padding: 8px 6px; font-size: 12px; }
.demo-switch .current { border-color: var(--green); color: var(--green); }

.offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seat-tile { min-width: 0; padding: 0 0 8px; text-align: left; color: var(--ink); border: 1px solid var(--line); border-radius: 13px; background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.seat-tile:hover, .seat-tile:focus-visible { border-color: var(--green); }
.seat-tile-covered, .seat-tile-covered:hover { border-color: var(--line); cursor: default; }
.seat-tile img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; background: var(--canvas); }
.seat-picked-cover { display: grid; align-content: center; justify-items: center; gap: 7px; width: 100%; aspect-ratio: 1 / 1; padding: 12px; background: #1c1c1c; color: white; text-align: center; font-size: 13px; line-height: 1.3; font-weight: 900; }
.seat-picked-cover span { font-size: 23px; color: var(--green); }
.seat-picked-cover b { font: inherit; }
.seat-tile-status { align-self: flex-start; margin: 7px 6px 2px; padding: 2px 5px; border-radius: 5px; background: rgba(53,237,126,.15); color: var(--green); font-size: 10px; font-weight: 800; line-height: 1.25; }
.seat-tile strong, .seat-relation { display: block; width: 100%; padding: 0 6px; overflow-wrap: anywhere; }
.seat-tile strong { font-size: 11px; line-height: 1.3; }
.seat-relation { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.pick-ledger h3 { margin-bottom: 6px; }
.pick-ledger > p { margin: 0 0 12px; }
.pick-ledger-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.pick-ledger-row > span { color: var(--green); font-weight: 900; }
.pick-ledger-row small { flex-basis: 100%; color: var(--muted); font-size: 12px; }
.seat-no-image { display: grid; place-items: center; min-height: 90px; padding: 8px; text-align: center; color: var(--muted); font-size: 12px; }
.lightbox { background: rgba(10,13,58,.98); }
.lightbox-top { padding: 2px 4px 9px; }
.lightbox-top strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lightbox-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.offer-detail { border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: var(--surface); }
.offer-photo-wrap { background: #070929; }
.offer-detail .offer-image { width: 100%; height: auto; max-height: none; object-fit: contain; cursor: default; }
.offer-detail .seat-picked-cover { min-height: 260px; aspect-ratio: auto; }
.offer-detail .offer-content { padding: 16px; }
.offer-detail .offer-actions .button { flex: 1 1 100%; }
.rank-member { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 3px; }
.rank-member .name { font-weight: 800; }
.rank-member .small { font-size: 11px; line-height: 1.35; }
.rank-row { align-items: flex-start; gap: 8px; padding: 11px 9px; }
.rank-row .point { margin-left: auto; white-space: nowrap; font-size: 14px; }
.activity-row { display: grid; gap: 9px; border-bottom: 1px solid var(--line); padding: 14px 0; }
.activity-row:last-child { border-bottom: 0; }
.activity-row-main { display: grid; gap: 3px; }
.activity-row-actions { display: flex; gap: 7px; }
.activity-row-actions .button { flex: 1; }
.demo-guide { margin: 0 0 18px; }
.demo-guide p { margin: 8px 0 12px; }
#seat-offers { scroll-margin-top: 78px; }

.certification-section { display: grid; gap: 12px; }
.certification-summary, .certification-slot { display: grid; gap: 7px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.certification-summary strong, .certification-slot strong { font-size: 16px; }
.certification-summary > span:nth-child(2) { color: var(--green); font-weight: 800; }
.certification-summary .button, .certification-slot .button { justify-self: start; }
.seat-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin: 8px 0; }
.seat-fields input { min-width: 0; width: 100%; padding: 8px 5px; border: 1px solid var(--line); border-radius: 8px; }
.public-certification-grid { display: grid; gap: 9px; margin-top: 8px; }
.public-certification-grid article { display: grid; gap: 4px; padding: 10px; border-radius: 10px; background: var(--canvas); }
.public-certification-grid img { display: block; width: 100%; border-radius: 8px; }
.certification-camera { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 12px; background: rgba(3,5,25,.96); }
.camera-panel { width: min(100%,430px); max-height: 96vh; overflow-y: auto; padding: 16px; border-radius: 18px; background: var(--surface); }
.camera-panel h2 { margin: 10px 0; }
.camera-instruction { padding: 12px; border-radius: 10px; background: var(--canvas); font-weight: 800; }
.camera-live, .camera-preview img, .camera-preview video { display: block; width: 100%; max-height: 55vh; object-fit: contain; border-radius: 10px; background: #000; }
.certification-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.admin-evidence { padding: 10px; border: 1px solid var(--line); border-radius: 10px; margin: 8px 0; }
.admin-evidence video { width: 100%; max-height: 40vh; }
.admin-evidence h4 { margin: 0 0 5px; }
.mask-surface { position: relative; width: 100%; touch-action: none; cursor: crosshair; }
.mask-surface img { display: block; width: 100%; height: auto; pointer-events: none; }
.mask-overlay { position: absolute; inset: 0; pointer-events: none; }
.mask-rect { position: absolute; background: #080808; border: 1px solid white; }

/* Main mobile navigation and date based dashboards. */
.main { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
.footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.bottom-nav {
  position: fixed; left: 50%; bottom: 0; z-index: 55; transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch;
  width: min(100%, 430px); min-height: calc(74px + env(safe-area-inset-bottom));
  padding: 7px 7px calc(7px + env(safe-area-inset-bottom));
  background: rgba(20, 25, 66, .97); border: 1px solid rgba(255,255,255,.14);
  border-bottom: 0; border-radius: 21px 21px 0 0; box-shadow: 0 -15px 38px rgba(2,4,26,.42);
  backdrop-filter: blur(16px);
}
.bottom-nav.admin-bottom-nav { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.admin-bottom-nav .bottom-tab { font-size: 10px; }
.admin-bottom-nav .bottom-tab-icon { width: 27px; height: 27px; }
.admin-bottom-nav .bottom-tab-icon svg { width: 21px; height: 21px; }
.bottom-tab { min-width: 0; display: grid; justify-items: center; align-content: center; gap: 3px; border-radius: 13px; color: var(--muted); font-size: 11px; font-weight: 800; line-height: 1.2; text-align: center; white-space: nowrap; }
.bottom-tab-icon { display: grid; place-items: center; width: 30px; height: 30px; }
.bottom-tab-icon svg { width: 23px; height: 23px; }
.bottom-tab.active { color: var(--green); background: rgba(53,237,126,.1); }
.bottom-tab-request { color: #fff; }
.bottom-tab-request .bottom-tab-icon { width: 37px; height: 37px; border-radius: 12px; color: #07182b; background: var(--green); }
.bottom-tab-request.active { background: transparent; }
.bottom-tab-request.active .bottom-tab-icon { box-shadow: 0 0 0 3px rgba(53,237,126,.28); }
.toast { bottom: calc(86px + env(safe-area-inset-bottom)); }
.demo-strip { margin-bottom: 16px; }
.demo-strip summary { display: flex; justify-content: space-between; gap: 8px; cursor: pointer; color: #fff; font-size: 13px; font-weight: 800; list-style: none; }
.demo-strip summary::-webkit-details-marker { display: none; }
.demo-strip summary span { color: var(--green); }
.demo-strip[open] summary { margin-bottom: 14px; }
.home-welcome { padding: 8px 2px 15px; }
.home-welcome .eyebrow { margin-bottom: 7px; }
.home-welcome h1 { margin-bottom: 8px; font-size: clamp(28px, 7vw, 34px); line-height: 1.18; }
.home-welcome p:last-child { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.home-request-action { display: flex; align-items: center; gap: 13px; min-height: 86px; padding: 15px; border-radius: 21px; color: #061a20; background: var(--green); box-shadow: 0 12px 30px rgba(53,237,126,.12); }
.home-request-action > span:nth-child(2) { display: grid; flex: 1; min-width: 0; gap: 1px; }
.home-request-action strong { font-size: 19px; letter-spacing: -.04em; }
.home-request-action small { font-size: 11px; font-weight: 700; }
.home-request-plus { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 14px; color: var(--green); background: #071c2a; font-size: 32px; font-weight: 400; line-height: 1; }
.home-request-action > span:last-child { font-size: 22px; font-weight: 800; }
.home-shortcuts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.home-shortcut { display: grid; justify-items: start; gap: 2px; min-width: 0; min-height: 141px; padding: 14px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); }
.home-shortcut-icon { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 3px; border-radius: 9px; color: var(--green); background: rgba(53,237,126,.12); font-size: 18px; font-weight: 900; }
.home-shortcut strong { font-size: 18px; line-height: 1.2; letter-spacing: -.04em; }
.home-shortcut > span:last-child { color: var(--green); font-weight: 800; }
.home-notice { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.04); }
.home-notice > span:first-child { display: grid; gap: 2px; }
.home-notice strong { font-size: 14px; }
.home-notice small { color: var(--muted); font-size: 11px; }
.home-notice-status { white-space: nowrap; color: var(--green); font-size: 11px; font-weight: 800; }
.home-admin-action { display: grid; gap: 2px; margin-top: 12px; padding: 15px; border: 1px solid rgba(53,237,126,.35); border-radius: 16px; background: rgba(53,237,126,.1); }
.home-admin-action strong { color: var(--green); }
.home-admin-action span { font-size: 12px; color: var(--muted); }
.notice-feed { display: grid; gap: 12px; }
.notice-post h2 { margin: 7px 0 12px; font-size: 23px; }
.notice-post p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-jumps { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 5px; margin: 16px 0 24px; }
.admin-jumps button { min-width: 0; padding: 10px 2px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: white; font-size: 12px; font-weight: 800; }
.admin-jumps button:hover { border-color: var(--green); }
.admin-form { display: grid; gap: 12px; margin-top: 15px; }
.admin-edit-item { padding: 14px 0; border-top: 1px solid var(--line); }
.admin-edit-item summary { display: grid; gap: 3px; cursor: pointer; }
.admin-edit-item summary span { color: var(--muted); font-size: 12px; }
.admin-member-row { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 11px 0; border-top: 1px solid var(--line); }
.admin-member-row > div { min-width: 0; display: grid; gap: 2px; }
.admin-member-row strong { overflow-wrap: anywhere; }
.admin-member-row span { color: var(--muted); font-size: 12px; }
.admin-member-row .button { min-height: 36px; padding: 7px 10px; flex-shrink: 0; }
.danger-form { padding-top: 17px; border-top: 1px solid var(--line); }
.moderation-row { padding: 14px 0; border-top: 1px solid var(--line); }
.moderation-row p { margin: 6px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.moderation-row > span { color: var(--muted); font-size: 12px; }
#admin-notices,#admin-members,#admin-venues,#admin-scores,#admin-reviews { scroll-margin-top: 82px; }
.ranking-intro { padding: 8px 2px 14px; }
.ranking-intro h1 { margin-bottom: 8px; font-size: 36px; }
.ranking-intro > p:not(.eyebrow) { margin-bottom: 10px; color: var(--muted); font-size: 14px; }
.ranking-live { color: var(--green); font-size: 12px; font-weight: 800; }
.ranking-self { display: flex; align-items: baseline; gap: 9px; padding: 16px 18px; border-radius: 18px; background: var(--primary); }
.ranking-self > span:first-child { margin-right: auto; font-size: 13px; font-weight: 800; }
.ranking-self-position { font-size: 27px; line-height: 1; }
.ranking-self-score { font-size: 15px; font-weight: 800; }
.ranking-card { margin-top: 13px; }
.ranking-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.ranking-card-head h2 { margin: 0; font-size: 23px; }
.ranking-member-count { color: var(--green); font-size: 13px; font-weight: 800; }
.rank-row.rank-top { background: rgba(53,237,126,.08); }
.rank-row.rank-top:first-child { outline: 1px solid rgba(53,237,126,.45); }
.rank-refreshed { margin: 13px 0 0; color: var(--muted); font-size: 11px; text-align: right; }
.ranking-note { margin: 15px 4px 0; }
.calendar-intro { padding: 8px 2px 14px; }
.calendar-intro h1 { margin-bottom: 8px; font-size: 35px; }
.calendar-intro p:last-child { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.calendar-card { padding: 15px 11px 17px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.calendar-head { display: flex; align-items: center; justify-content: space-between; margin: 0 4px 13px; }
.calendar-head h2 { margin: 0; font-size: 22px; }
.calendar-head button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 11px; color: white; background: rgba(255,255,255,.05); font-size: 27px; line-height: 1; }
.calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; }
.calendar-weekday { padding: 5px 0; color: var(--muted); font-size: 11px; text-align: center; }
.calendar-day { display: grid; align-content: start; justify-items: center; gap: 1px; min-width: 0; min-height: 49px; padding: 5px 0; border: 1px solid transparent; border-radius: 10px; color: #fff; background: rgba(255,255,255,.035); font-size: 13px; font-weight: 800; }
.calendar-day small { color: var(--green); font-size: 10px; line-height: 1.1; }
.calendar-day.today { border-color: rgba(53,237,126,.48); }
.calendar-day.selected { background: var(--primary); border-color: var(--primary); }
.calendar-day.selected small { color: white; }
.calendar-details h2 { margin-bottom: 10px; font-size: 22px; }
.calendar-details .text-link { display: inline-block; margin-top: 13px; font-size: 13px; }
.calendar-event { display: grid; gap: 4px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.calendar-event strong { font-size: 16px; }
.calendar-event > span:nth-child(2) { color: var(--muted); }
.calendar-event-status, .calendar-event > span:last-child { color: var(--green); font-weight: 800; }
.notice-empty { display: grid; justify-items: center; gap: 7px; padding: 48px 20px; text-align: center; }
.notice-empty > span { color: var(--green); font-size: 34px; }
.notice-empty h2 { margin: 0; font-size: 22px; }
.notice-empty p { margin: 0; color: var(--muted); font-size: 13px; }

/* Compact request cards and production selection. */
.event-list { gap: 10px; }
.event-card { display: grid; grid-template-columns: 82px minmax(0,1fr) 12px; gap: 12px; align-items: center; min-height: 132px; padding: 12px; border-radius: 18px; }
.event-poster, .production-poster { display: grid; place-items: center; overflow: hidden; color: var(--green); background: #1c1c1c; }
.event-poster { width: 82px; aspect-ratio: 2/3; border-radius: 11px; }
.event-poster img, .production-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.event-poster-empty { display: grid; justify-items: center; gap: 6px; text-align: center; }
.event-poster-empty > span { font-size: 29px; }
.event-poster-empty small { padding: 0 3px; color: #fff; font-size: 11px; font-weight: 800; }
.event-card-body { display: grid; align-content: center; min-width: 0; gap: 3px; }
.event-card-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.event-genre { color: var(--green); font-size: 11px; font-weight: 900; }
.event-card .badge { padding: 3px 7px; font-size: 10px; }
.event-title { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 4px 0 1px; font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
.event-date { color: #fff; font-size: 13px; font-weight: 800; }
.event-venue, .event-card-foot { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.event-card-foot { margin-top: 4px; color: #cdd3f6; }
.event-arrow { color: var(--green); font-size: 26px; }
.production-search-button { margin: -5px 0 12px; }
.production-results { margin-bottom: 17px; }
.production-results .field-hint { margin: 0 0 9px; }
.production-result, .production-selected { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; align-items: center; gap: 10px; width: 100%; margin: 8px 0; padding: 9px; border: 1px solid var(--line); border-radius: 13px; color: #fff; background: #111641; text-align: left; }
.production-result { cursor: pointer; }
.production-result:hover { border-color: var(--green); }
.production-poster { width: 54px; height: 73px; border-radius: 7px; font-size: 23px; }
.production-result > span:nth-child(2), .production-selected > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.production-result strong, .production-selected strong { overflow-wrap: anywhere; font-size: 14px; }
.production-result small, .production-selected small { color: var(--muted); font-size: 11px; }
.production-result b { color: var(--green); font-size: 12px; }
.production-selected { border-color: var(--green); }
.production-selected button { border: 0; color: #fff; background: transparent; font-size: 20px; }
.request-head { overflow: hidden; }
.request-head .request-poster { float: right; width: 76px; aspect-ratio: 2/3; margin: 0 0 12px 12px; border-radius: 9px; object-fit: cover; }
.request-genre { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 800; }
.new-request-intro { padding: 5px 2px 16px; }
.new-request-intro .eyebrow { margin-bottom: 5px; }
.new-request-intro h1 { margin-bottom: 5px; font-size: 30px; line-height: 1.2; }
.new-request-intro .lead { margin-bottom: 11px; font-size: 13px; line-height: 1.45; }
.request-info-upload { margin: 20px 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; }
.request-info-upload legend { padding: 0 6px; font-weight: 850; }
.request-info-site-files { display: grid; gap: 10px; }
.request-info-file { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.035); }
.request-info-file span { font-size: 14px; font-weight: 800; }
.request-info-file input { width: 100%; }
.request-info-panel { margin-bottom: 16px; }
.request-info-panel .section-head { margin-bottom: 4px; }
.request-info-panel h2 { font-size: 22px; }
.request-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 16px; }
.request-info-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.04); }
.request-info-image-button { display: block; width: 100%; padding: 0; border: 0; background: #090b2b; cursor: zoom-in; }
.request-info-image-button img { display: block; width: 100%; height: 180px; object-fit: contain; }
.request-info-card-body { display: grid; gap: 3px; padding: 10px; }
.request-info-card-body strong { font-size: 13px; overflow-wrap: anywhere; }
.request-info-card-body span { color: var(--muted); font-size: 11px; }
.request-info-delete { width: max-content; margin-top: 3px; padding: 0; border: 0; background: transparent; color: #ff9ad1; font-size: 11px; text-decoration: underline; }
.request-info-add { margin-top: 16px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; }
.request-info-add summary { cursor: pointer; font-weight: 800; }
.request-info-add form { display: grid; gap: 12px; margin-top: 13px; }
.production-head { padding: 5px 0 2px; }
.production-head .text-link, .request-back { display: inline-block; margin-bottom: 13px; color: var(--green); font-size: 13px; font-weight: 800; }
.production-head-main { display: flex; align-items: center; gap: 14px; }
.production-head-main > img, .production-head-placeholder { width: 82px; height: 116px; flex: none; border-radius: 11px; object-fit: cover; }
.production-head-placeholder { display: grid; place-items: center; color: var(--green); background: #1c1c1c; font-size: 32px; }
.production-head-main > div { min-width: 0; }
.production-head h1 { margin: 6px 0; font-size: 28px; line-height: 1.15; overflow-wrap: anywhere; }
.production-head p { margin: 0; color: var(--muted); font-size: 13px; }
.session-list { display: grid; gap: 11px; }
.session-card { display: grid; gap: 7px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.session-card:hover { border-color: var(--green); }
.session-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.session-card-top strong { font-size: 16px; }
.session-card-venue, .session-card-schedule, .session-card-people { color: var(--muted); font-size: 12px; line-height: 1.4; }
.session-card-count { margin-top: 4px; color: #fff; font-size: 13px; font-weight: 850; }
.session-seat-preview { display: flex; gap: 7px; margin-top: 4px; }
.session-seat-preview img { width: 55px; height: 75px; border-radius: 7px; object-fit: cover; background: #080b2d; }
.session-picked-cover { display: grid; place-items: center; width: 55px; height: 75px; border-radius: 7px; background: #171c50; color: var(--green); text-align: center; font-size: 10px; font-weight: 900; }
.session-empty { margin-top: 4px; padding: 12px; border-radius: 10px; color: var(--muted); background: rgba(255,255,255,.04); font-size: 12px; }
.session-card-link { color: var(--green); font-size: 12px; font-weight: 850; text-align: right; }
.request-ticketing { clear: both; margin: 15px 0 0; padding: 11px; border-radius: 11px; color: #fff; background: rgba(7,12,60,.28); font-size: 12px; font-weight: 800; }
.ticketing-admin-form { display: grid; gap: 8px; margin: 16px 0; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.05); }
.ticketing-admin-form label { font-size: 13px; font-weight: 800; }
.ticketing-admin-form input { width: 100%; min-height: 45px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; color: #fff; background: #111641; }

/* Light surfaces and a steadier reading scale for the phone layout. */
.topbar { box-shadow: 0 3px 16px rgba(31,41,91,.05); }
.stat, .ranking-self { color: white; }
.badge-open { background: #d8f9e5; color: #12663b; }
.badge-closed { background: #e6e8f3; color: #4d5671; }
.event-foot, .event-date, .session-card-count { color: var(--ink); }
.event-genre, .event-arrow, .production-result b, .production-head .text-link, .request-back,
.session-card-link, .ranking-live, .ranking-member-count, .calendar-event-status, .calendar-event > span:last-child,
.home-notice-status, .home-shortcut > span:last-child, .home-admin-action strong { color: var(--accent-ink); }
.rank-row, .priority-person, .venue-row, .home-notice, .session-empty, .request-info-file { background: #f7f8ff; }
.rank-row.rank-top { background: #e9faef; }
.rank-row.rank-top:first-child { outline-color: #9adcb5; }
.rank-row .point, .priority-person > b { color: #2e3bb5; }
.priority-person.me { background: #edf0ff; }
.priority-panel { border-color: #b9dcc8; }
.notice-green { background: #e8faef; border-color: #b3e7c8; }
.notice-magenta { background: #fff0f9; border-color: #f4c2e1; }
.empty { background: #fbfcff; border-color: var(--line); }
.login-card { background: #ffffff; }
.login-card .lead { color: #3f4964; }
.demo-strip { background: #fff1fa; border-color: #f0bfdc; }
.demo-strip summary, .demo-strip-head a { color: var(--ink); }
.demo-strip summary span, .demo-switch .current { color: var(--accent-ink); }
.seat-tile-status { background: #e6faed; color: var(--accent-ink); }
.seat-tile strong { font-size: 13px; line-height: 1.35; }
.seat-relation { font-size: 12px; line-height: 1.35; }
.seat-tile-status { font-size: 11px; }
.offer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.rank-member .small { font-size: 13px; line-height: 1.4; }
.rank-row .point { font-size: 15px; }
.bottom-nav { background: rgba(255,255,255,.98); border-color: var(--line); box-shadow: 0 -10px 28px rgba(28,38,84,.12); }
.bottom-tab { color: #59647c; font-size: 12px; }
.bottom-tab.active { color: #3544c6; background: #eef0ff; }
.bottom-tab-request { color: var(--ink); }
.bottom-tab-request .bottom-tab-icon { color: #113222; }
.admin-bottom-nav .bottom-tab { font-size: 11px; }
.home-welcome p:last-child, .new-request-intro .lead { font-size: 15px; }
.home-request-action small { font-size: 13px; }
.home-request-plus { color: var(--green); }
.home-shortcut-icon { color: var(--accent-ink); background: #e4f8ed; }
.home-notice small { font-size: 13px; }
.home-admin-action { background: #eaf9f0; border-color: #b6e1c5; }
.home-admin-action span { font-size: 13px; }
.admin-jumps button { color: var(--ink); font-size: 13px; }
.ranking-intro h1, .calendar-intro h1 { font-size: 31px; }
.ranking-intro > p:not(.eyebrow), .calendar-intro p:last-child { font-size: 15px; }
.rank-refreshed { font-size: 12px; }
.calendar-head button { color: var(--ink); background: #f5f6ff; }
.calendar-weekday { font-size: 12px; }
.calendar-day { color: var(--ink); background: #f7f8ff; font-size: 14px; }
.calendar-day small { color: var(--accent-ink); font-size: 11px; }
.calendar-day.selected { color: white; }
.calendar-event { font-size: 14px; }
.notice-empty p { font-size: 14px; }
.event-genre { font-size: 12px; }
.event-card .badge { font-size: 11px; }
.event-venue, .event-card-foot, .session-card-venue, .session-card-schedule, .session-card-people { font-size: 13px; }
.event-card-foot { color: var(--muted); }
.production-result, .production-selected { color: var(--ink); background: #f8f9ff; }
.production-result small, .production-selected small { font-size: 12px; }
.production-selected button { color: var(--ink); }
.new-request-intro h1 { font-size: 29px; }
.page-intro h1, .request-head h1 { font-size: 30px; line-height: 1.18; overflow-wrap: anywhere; }
.hero h1 { font-size: 34px; line-height: 1.16; }
.stat-number { font-size: 46px; }
.section-head h2 { font-size: 24px; }
.field-hint, .field-note { font-size: 14px; }
.request-info-panel h2 { font-size: 21px; }
.request-info-card { background: #f8f9ff; }
.request-info-image-button { background: #eef0fa; }
.request-info-card-body strong { font-size: 14px; }
.request-info-card-body span, .request-info-delete { font-size: 12px; }
.request-info-delete { color: #a8236a; }
.ticketing-admin-form { background: #f7f8ff; }
.ticketing-admin-form input { color: var(--ink); background: white; }
.toast { color: var(--ink); border: 1px solid var(--line); box-shadow: 0 12px 35px rgba(24,36,78,.18); }
.rank-row { color: var(--ink); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.rank-row:hover { box-shadow: 0 4px 14px rgba(43,55,130,.12); transform: translateY(-1px); }
.rank-row:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.rank-row .name { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.member-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin: 18px 0 4px; }
.member-stats > div { display: grid; gap: 3px; padding: 15px 9px; text-align: center; background: white; border: 1px solid var(--line); border-radius: 14px; }
.member-stats strong { color: var(--link); font-size: 25px; line-height: 1.15; }
.member-stats span { color: var(--muted); font-size: 12px; }
.activity-seat { width: fit-content; padding: 3px 8px; color: #173d2a; background: #e6f8ed; border-radius: 7px; font-size: 13px; font-weight: 800; }
.score-kind { display: inline-block; margin-bottom: 4px; padding: 2px 7px; border-radius: 6px; color: var(--link); background: #ebedff; font-size: 12px; font-weight: 800; }
.history-row > div { min-width: 0; }
.history-row > div > strong { display: block; overflow-wrap: anywhere; }
.history-row .small { overflow-wrap: anywhere; }
.history-row .small a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }

/* Compact phone rhythm based on DESIGN-discord.md's 8/12/16px spacing and 22px headings. */
.topbar-inner { min-height: 54px; padding: 6px 14px; }
.logo { font-size: 18px; }
.logo-mark { width: 32px; height: 32px; }
.menu-button { width: 40px; height: 40px; }
.main { padding: 10px 14px calc(94px + env(safe-area-inset-bottom)); }
.section { margin-top: 20px; }
.section-head { gap: 10px; margin-bottom: 10px; }
.section-head h2 { font-size: 22px; }
.card { border-radius: 16px; padding: 16px; }
.eyebrow { margin-bottom: 5px; font-size: 11px; }
.page-intro { padding: 3px 2px 15px; }
.page-intro h1 { margin-bottom: 7px; font-size: 26px; }
.page-intro .lead { margin-bottom: 10px; font-size: 14px; line-height: 1.4; }
.demo-strip { margin-bottom: 10px; padding: 9px 12px; border-radius: 12px; }
.demo-strip summary { font-size: 12px; }
.demo-strip[open] summary { margin-bottom: 10px; }
.bottom-nav { min-height: calc(64px + env(safe-area-inset-bottom)); padding: 4px 6px calc(4px + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; }
.bottom-tab { gap: 1px; font-size: 11px; }
.bottom-tab-icon { width: 27px; height: 27px; }
.bottom-tab-icon svg { width: 21px; height: 21px; }
.bottom-tab-request .bottom-tab-icon { width: 34px; height: 34px; }
.toast { bottom: calc(73px + env(safe-area-inset-bottom)); }

.home-welcome { padding: 1px 2px 10px; }
.home-welcome .eyebrow { margin-bottom: 4px; }
.home-welcome h1 { margin-bottom: 5px; font-size: 26px; line-height: 1.13; }
.home-welcome p:last-child { font-size: 13px; line-height: 1.4; }
.home-request-action { min-height: 64px; gap: 10px; padding: 10px 12px; border-radius: 14px; }
.home-request-action strong { font-size: 17px; }
.home-request-action small { font-size: 12px; }
.home-request-plus { width: 36px; height: 36px; border-radius: 10px; font-size: 27px; }
.home-shortcuts { gap: 8px; margin-top: 8px; }
.home-shortcut { min-height: 90px; gap: 1px; padding: 9px 10px; border-radius: 14px; }
.home-shortcut-icon { width: 23px; height: 23px; margin-bottom: 1px; border-radius: 7px; font-size: 15px; }
.home-shortcut strong { font-size: 16px; }
.home-shortcut .small { font-size: 12px; line-height: 1.25; }
.home-notice { min-height: 48px; gap: 8px; margin-top: 8px; padding: 8px 11px; border-radius: 12px; }
.home-notice small { font-size: 12px; }
.home-admin-action { margin-top: 8px; padding: 10px 12px; border-radius: 12px; }
.home-welcome ~ .section { margin-top: 15px; }
.event-list { gap: 8px; }
.event-card { grid-template-columns: 64px minmax(0,1fr) 10px; gap: 10px; min-height: 108px; padding: 9px; border-radius: 14px; }
.event-poster { width: 64px; border-radius: 8px; }
.event-card-body { gap: 2px; }
.event-title { margin: 2px 0 0; font-size: 16px; }
.event-date { font-size: 12px; }
.event-venue, .event-card-foot { font-size: 12px; }
.event-card-foot { margin-top: 2px; }
.event-arrow { font-size: 21px; }

.ranking-intro { padding: 2px 2px 9px; }
.ranking-intro h1 { margin-bottom: 4px; font-size: 27px; }
.ranking-intro > p:not(.eyebrow) { margin-bottom: 5px; font-size: 13px; line-height: 1.4; }
.ranking-live { font-size: 11px; }
.ranking-self { gap: 7px; padding: 10px 13px; border-radius: 12px; }
.ranking-self-position { font-size: 23px; }
.ranking-card { margin-top: 9px; }
.ranking-card-head { margin-bottom: 9px; }
.ranking-card-head h2 { font-size: 21px; }
.rank-list { gap: 6px; }
.rank-row { min-height: 56px; gap: 7px; padding: 8px 9px; border-radius: 10px; }
.rank-row strong { min-width: 22px; font-size: 16px; }
.rank-member { gap: 1px; }
.rank-member .small { font-size: 12px; line-height: 1.3; }
.rank-row .point { font-size: 14px; }
.rank-refreshed { margin-top: 9px; }
.member-stats { gap: 6px; margin: 7px 0 0; }
.member-stats > div { gap: 2px; padding: 10px 5px; border-radius: 10px; }
.member-stats strong { font-size: 21px; }
.member-stats span { font-size: 11px; line-height: 1.2; }
.activity-row { gap: 5px; padding: 10px 0; }
.activity-row-main { gap: 2px; }
.activity-row-actions .button { min-height: 38px; padding: 6px 10px; }
.history-row { gap: 9px; padding: 11px 0; }
.history-row .point { font-size: 18px; }
.section.card > h2 { margin-bottom: 9px; font-size: 22px; }
.section.card > p:last-child { margin-bottom: 0; }
.field { gap: 5px; margin-bottom: 12px; }
.field label { font-size: 14px; }
.field input, .field textarea, .field select { min-height: 44px; padding: 9px 12px; border-radius: 10px; }
.field textarea { min-height: 86px; }
.field-hint { margin-top: 6px; font-size: 13px; line-height: 1.4; }
.field-note { margin: -4px 0 11px; font-size: 13px; line-height: 1.4; }
.site-field { margin-bottom: 15px; }
.site-field legend { margin-bottom: 7px; }
.button { min-height: 44px; padding: 9px 14px; }
.button-small { min-height: 40px; padding: 7px 11px; }
.notice { padding: 12px 14px; border-radius: 12px; }
.new-request-intro { padding: 2px 2px 11px; }
.new-request-intro h1 { font-size: 26px; }
.new-request-intro .lead { margin-bottom: 8px; font-size: 14px; }
.production-search-button { margin-bottom: 8px; }
.request-info-upload { margin: 14px 0; padding: 13px; }
.request-head { padding: 18px; border-radius: 20px; }
.request-head h1 { font-size: 26px; }
.request-rule { margin-top: 13px; padding: 10px 12px; }
.session-list { gap: 8px; }
.session-card { gap: 5px; padding: 12px; border-radius: 14px; }
.stat { padding: 16px; border-radius: 16px; }
.stat-number { font-size: 38px; }
.stat-symbol { font-size: 42px; }
.calendar-day { min-height: 44px; }

/* Home dashboard: one clear type scale, with the next ticketing date replacing notice. */
.home-welcome { padding: 8px 2px 15px; }
.home-welcome h1 { margin-bottom: 6px; font-size: 24px; line-height: 1.2; overflow-wrap: anywhere; }
.home-welcome p:last-child { font-size: 14px; line-height: 1.45; }
.home-request-action { min-height: 70px; padding: 12px 14px; }
.home-request-action strong { font-size: 17px; }
.home-request-action small { font-size: 14px; }
.home-shortcuts { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.home-shortcut { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 11px; row-gap: 1px; min-height: 66px; padding: 10px 13px; border: 0; border-radius: 0; background: transparent; }
.home-shortcut + .home-shortcut { border-top: 1px solid var(--line); }
.home-shortcut-icon { grid-column: 1; grid-row: 1 / 3; width: 30px; height: 30px; margin: 0; border-radius: 9px; }
.home-shortcut-label { grid-column: 2; grid-row: 1; color: var(--muted); font-size: 14px; line-height: 1.3; }
.home-shortcut strong { grid-column: 2; grid-row: 2; font-size: 17px; line-height: 1.25; }
.home-shortcut-action, .home-shortcut > span:last-child { grid-column: 3; grid-row: 1 / 3; align-self: center; color: var(--link); font-size: 13px; font-weight: 800; white-space: nowrap; }
.home-ticketing { display: grid; gap: 5px; margin-top: 12px; padding: 13px 15px; border: 1px solid #c9cff7; border-left: 4px solid var(--primary); border-radius: 14px; background: #f0f2ff; }
.home-ticketing-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #3044a9; font-size: 14px; font-weight: 850; }
.home-ticketing-head > span:last-child { font-size: 13px; }
.home-ticketing > strong { font-size: 18px; line-height: 1.3; }
.home-ticketing-title { color: var(--ink); font-size: 14px; line-height: 1.4; }
.home-ticketing-deadline { color: var(--muted); font-size: 13px; line-height: 1.35; }

/* Request pages: show session demand and the live pick turn before supporting material. */
.production-overview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.production-overview span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; background: #f6f8ff; color: var(--muted); font-size: 13px; }
.production-overview strong { color: var(--ink); font-size: 16px; }
.production-overview-note { margin-top: 8px !important; line-height: 1.45; }
.session-card-stats { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.session-card-stats span { padding: 6px 8px; border-radius: 8px; background: #eef1ff; color: #526078; font-size: 12px; }
.session-card-stats strong { color: var(--ink); font-size: 14px; }
.session-card-progress { color: var(--accent-ink); font-size: 13px; font-weight: 800; }
.request-head { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.request-head h1 { margin: 8px 0; font-size: clamp(22px, 4vw, 27px); line-height: 1.2; }
.request-head .request-meta { color: var(--muted); font-size: 13px; line-height: 1.4; }
.request-head .request-genre { color: var(--accent-ink); }
.request-ticketing { margin-top: 12px; padding: 9px 11px; background: #eff2ff; color: #3142a3; font-size: 13px; line-height: 1.4; }
.request-overview { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; margin: 10px 0; }
.request-overview.has-picks { grid-template-columns: repeat(4, minmax(0,1fr)); }
.request-overview span { display: grid; gap: 2px; min-width: 0; padding: 10px 7px; border: 1px solid var(--line); border-radius: 11px; background: #f7f9ff; color: var(--muted); font-size: 12px; text-align: center; }
.request-overview strong { color: var(--ink); font-size: 18px; line-height: 1.2; white-space: nowrap; }
.request-stage { display: grid; gap: 6px; margin: 0 0 10px; padding: 14px 16px; border: 1px solid #c9cff7; border-left: 4px solid var(--primary); border-radius: 14px; background: #f2f4ff; }
.request-stage-active { border-color: #a7dcbc; border-left-color: #249a60; background: #e9f9ef; }
.request-stage-label { color: #526078; font-size: 12px; font-weight: 800; }
.request-stage > strong { color: var(--ink); font-size: 19px; line-height: 1.3; }
.request-stage p { margin: 0; color: #46536d; font-size: 13px; line-height: 1.45; }
.request-stage-next { color: #59657e; font-size: 12px; line-height: 1.4; }
.request-stage .turn-time { margin: 3px 0 5px; font-size: 24px; }
.request-stage .button { width: 100%; }
.join-panel { margin-bottom: 10px; border-color: #a7dcbc; padding: 0; overflow: hidden; }
.join-panel > summary { position: relative; display: grid; gap: 3px; padding: 12px 70px 12px 16px; background: #e9f9ef; color: #12663b; font-size: 16px; font-weight: 850; cursor: pointer; list-style: none; }
.join-panel > summary::-webkit-details-marker, .priority-panel > summary::-webkit-details-marker, .request-info-panel > summary::-webkit-details-marker { display: none; }
.join-panel > summary::after { content: '열기 ↓'; position: absolute; right: 16px; align-self: center; font-size: 12px; }
.join-panel[open] > summary::after { content: '닫기 ↑'; }
.join-panel > summary span { color: #527361; font-size: 12px; font-weight: 650; }
.join-panel > form { padding: 14px 16px; }
.request-my-status { display: grid; gap: 3px; margin-bottom: 10px; padding: 11px 14px; border: 1px solid #b8dfc9; border-radius: 12px; background: #f0fbf4; }
.request-my-status strong { color: #12663b; font-size: 15px; }
.request-my-status span { color: #526078; font-size: 13px; }
.request-disclosures { display: grid; gap: 8px; margin: 10px 0; }
.priority-panel, .request-info-panel { margin: 0; padding: 0; overflow: hidden; }
.priority-panel > summary, .request-info-panel > summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px; padding: 13px 16px; color: var(--ink); font-size: 15px; font-weight: 850; cursor: pointer; list-style: none; }
.priority-panel > summary span, .request-info-panel > summary span { color: var(--muted); font-size: 12px; font-weight: 650; }
.priority-body, .request-info-body { padding: 0 16px 15px; }
.priority-body > p, .request-info-body > p { margin: 0 0 10px; line-height: 1.45; }
.request-info-panel .request-info-grid { margin-top: 10px; }
.request-disclosures + .seeya-picker { margin: 0 0 14px; }
.seeya-picker > summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px; font-size: 15px; font-weight: 850; cursor: pointer; list-style: none; }
.seeya-picker > summary::-webkit-details-marker { display: none; }
.seeya-picker > summary span { color: var(--muted); font-size: 12px; font-weight: 650; }
.seeya-picker-body { margin-top: 12px; }
.seeya-picker-body > p:first-child { margin-bottom: 10px; }
@media (max-width: 390px) {
  .request-overview.has-picks { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .request-head .request-meta { gap: 5px 12px; }
  .session-card-stats span { font-size: 11px; }
}
.home-welcome ~ .section { margin-top: 24px; }
.ticketing-list { display: grid; gap: 10px; }
.ticketing-item { display: grid; gap: 5px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.ticketing-item-top { display: flex; justify-content: space-between; gap: 8px; color: var(--accent-ink); font-size: 13px; font-weight: 800; }
.ticketing-time { color: #2e3bb5; font-size: 20px; line-height: 1.3; }
.ticketing-title { font-size: 16px; line-height: 1.35; }
.ticketing-meta, .ticketing-deadline { color: var(--muted); font-size: 14px; line-height: 1.4; }
.shell { display: flex; flex-direction: column; }
.main { flex: 1; width: 100%; }

/* Hairline Cool home draft from DESIGN-supabase.md. Accent 2 maps to Accent Violet. */
h1, .hero h1, .page-intro h1, .request-head h1, .ranking-intro h1, .calendar-intro h1,
.new-request-intro h1, .production-head h1 { font-size: 28px; }
.stat-number, .stat-symbol, .empty .icon, .notice-empty > span, .production-head-placeholder { font-size: 28px; }
.event-poster-empty > span, .home-welcome h1 { font-size: 28px; }
.topbar { background: #fff; border-bottom-color: #d4d4d4; box-shadow: none; backdrop-filter: none; }
.logo { color: #171717; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: #644fc1; transform: none; font-size: 17px; }
.logo-mark span { transform: none; }
.score-chip { border-color: #d4d4d4; border-radius: 8px; background: #fff; color: #171717; font-weight: 600; }
.score-chip b { color: #644fc1; }
.menu-button { border-color: #d4d4d4; border-radius: 8px; }
.button { border-radius: 8px; }
.badge { border-radius: 9999px; }
.demo-strip { border-color: #d4d4d4; border-radius: 8px; background: #fff; }
.demo-strip summary { color: #171717; font-weight: 600; }
.demo-strip summary span { color: #644fc1; }
.bottom-nav { border-color: #d4d4d4; border-radius: 0; background: #fff; box-shadow: none; }
.bottom-tab { border-radius: 8px; color: #707070; }
.bottom-tab.active { color: #644fc1; background: #f3f0fb; }
.bottom-tab-request .bottom-tab-icon { border-radius: 8px; background: #4ade80; color: #171717; }
.bottom-tab-request.active { background: transparent; }
.bottom-tab-request.active .bottom-tab-icon { box-shadow: 0 0 0 2px #d4f7df; }
.main { padding-top: 12px; }
.home-dashboard { display: grid; gap: 10px; }
.shell:has(.home-dashboard) .footer { display: none; }
.home-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px; }
.home-heading h1 { margin: 0; font-size: 18px; font-weight: 650; line-height: 1.25; letter-spacing: -.025em; overflow-wrap: anywhere; }
.home-admin-link { flex: none; color: #644fc1; font-size: 12px; font-weight: 650; }
.home-request-action { display: flex; align-items: center; gap: 10px; min-height: 50px; margin: 0; padding: 9px 13px; border: 1px solid #3bc96f; border-radius: 8px; background: #4ade80; color: #171717; box-shadow: none; }
.home-request-plus { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: #171717; color: #4ade80; font-size: 21px; font-weight: 400; }
.home-request-action strong { flex: 1; font-size: 15px; font-weight: 700; letter-spacing: 0; }
.home-request-action > span:last-child { font-size: 18px; font-weight: 500; }
.home-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; }
.home-shortcut { display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto; justify-items: start; gap: 2px; min-height: 66px; padding: 10px 12px; border: 1px solid #d4d4d4; border-radius: 10px; background: #fff; }
.home-shortcut + .home-shortcut { border-top: 1px solid #d4d4d4; }
.home-shortcut-label { grid-column: 1; grid-row: 1; color: #707070; font-size: 12px; font-weight: 500; }
.home-shortcut strong { grid-column: 1; grid-row: 2; color: #171717; font-size: 18px; font-weight: 650; line-height: 1.2; letter-spacing: -.02em; }
.home-ticketing { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; margin: 0; padding: 11px 14px; border: 1px solid #d4d4d4; border-left: 3px solid #644fc1; border-radius: 10px; background: #fff; }
.home-ticketing-label { grid-column: 1; color: #644fc1; font-size: 12px; font-weight: 650; }
.home-ticketing > strong { grid-column: 1; color: #171717; font-size: 17px; font-weight: 650; line-height: 1.25; }
.home-ticketing-title { grid-column: 1; min-width: 0; overflow: hidden; color: #707070; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.home-ticketing-arrow { grid-column: 2; grid-row: 1 / 4; align-self: center; color: #644fc1; font-size: 24px; line-height: 1; }
.home-requests { margin-top: 7px; }
.home-requests-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.home-requests-head h2 { margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.home-requests-head a { flex: none; color: #644fc1; font-size: 12px; font-weight: 650; }
.home-event-list { overflow: hidden; border: 1px solid #d4d4d4; border-radius: 10px; background: #fff; }
.home-event + .home-event { border-top: 1px solid #ededed; }
.home-event { display: grid; grid-template-columns: 42px minmax(0,1fr) 12px; align-items: center; gap: 10px; min-height: 64px; padding: 9px 11px; }
.home-event-art { display: grid; place-items: center; overflow: hidden; width: 42px; height: 46px; border-radius: 6px; background: #f3f0fb; color: #644fc1; font-size: 20px; }
.home-event-art img { width: 100%; height: 100%; object-fit: cover; }
.home-event-copy { display: grid; gap: 2px; min-width: 0; }
.home-event-copy strong { overflow: hidden; color: #171717; font-size: 14px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.home-event-copy small { color: #707070; font-size: 12px; }
.home-event-arrow { color: #644fc1; font-size: 20px; }
.home-empty { padding: 16px; border: 1px solid #d4d4d4; border-radius: 10px; background: #fff; color: #707070; font-size: 13px; }
