/* Approved Ticketlog mobile system, shared by the authenticated screens. */
:root {
  --canvas-alt: #f7f8f7;
  --canvas: #f7f8f7;
  --surface: #fff;
  --ink: #171b19;
  --onyx: #171b19;
  --muted: #6b756f;
  --line: #dde3df;
  --line-soft: #dde3df;
  --primary: #644fc1;
  --primary-deep: #5439ab;
  --primary-soft: #eaf8d5;
  --green: #3ecf8e;
  --accent-ink: #167c55;
  --link: #644fc1;
  --type-heading: 22px;
  --type-body-lg: 18px;
  --type-body: 15px;
  --type-caption: 13px;
  --type-micro: 12px;
}
body { color: var(--ink); font-size: 15px; line-height: 1.53; }
.shell:not(.is-request-page) { color: var(--ink); background: var(--canvas-alt); }
.shell:not(.is-request-page) .main { padding-top: 20px; }
.shell:not(.is-request-page) .site-pass-header {
  padding-top: calc(12px + env(safe-area-inset-top));
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.site-pass-header .pass-logo { font-size: 20px; }
.site-pass-header .pass-logo span { color: var(--primary); }
.site-pass-header .pass-concept { color: #3d4841; font-size: 13px; }
.site-pass-header .pass-compare, .site-pass-header .pass-view-toggle {
  min-height: 36px; padding: 6px 8px; border-color: var(--line);
  border-radius: 8px; color: var(--primary); font-size: 12px;
}
.site-pass-header .pass-header-caption { display: none; }
.site-pass-header .site-pass-tools { margin-top: 12px; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; }
.site-pass-header .site-pass-tools.has-admin { grid-template-columns: minmax(0, 1fr) 44px 44px; }
.site-pass-header .site-pass-search { min-height: 48px; border-color: var(--line); background: #fff; }
.site-pass-header .site-pass-search input { height: 46px; color: var(--ink); font-size: 15px; }
.site-pass-header .site-pass-search input::placeholder { color: var(--muted); }
.site-pass-header .site-pass-search button { min-width: 53px; background: var(--primary); font-size: 14px; }
.site-pass-header .pass-tool-link, .site-pass-header .pass-menu-button {
  min-height: 48px; border-color: var(--line); color: var(--ink); font-size: 13px;
}
.site-pass-header .mobile-menu { border-color: var(--line); box-shadow: 0 6px 20px rgb(23 27 25 / 8%); }
.site-pass-header .mobile-menu .nav-link { min-height: 44px; font-size: 15px; }
.site-pass-header .mobile-menu .nav-link.active { background: #f1eefb; color: var(--primary); }
.shell.is-home-proposal .site-pass-header .pass-wallet { margin-top: 14px; }
.shell.is-home-proposal .site-pass-header .pass-wallet {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.shell.is-home-proposal .pass-wallet > span { position: relative; min-height: 46px; padding: 2px; }
.shell.is-home-proposal .pass-wallet > span + span { border-left: 0; }
.shell.is-home-proposal .pass-wallet > span + span::before {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 1px; background: var(--line); content: '';
}
.shell.is-home-proposal .pass-wallet small { color: var(--muted); font-size: 11px; line-height: 16px; }
.shell.is-home-proposal .pass-wallet strong { color: var(--ink); font-size: 17px; line-height: 22px; }
.shell.is-home-proposal .pass-wallet .stars-earned { color: var(--primary); }
.shell.is-home-proposal .pass-wallet .stars-available { color: var(--ink); }

/* Type and surfaces: 22 / 18 / 16 / 15 / 13. */
.shell:not(.is-request-page) .main .page-intro,
.shell:not(.is-request-page) .main .ranking-intro,
.shell:not(.is-request-page) .main .calendar-intro,
.shell:not(.is-request-page) .main .production-head { padding: 0 0 16px; }
.shell:not(.is-request-page) .main .page-intro > .eyebrow,
.shell:not(.is-request-page) .main .ranking-intro > .eyebrow,
.shell:not(.is-request-page) .main .calendar-intro > .eyebrow,
.shell:not(.is-request-page) .main .production-head > .eyebrow { display: none; }
.shell:not(.is-request-page) .main .page-intro h1,
.shell:not(.is-request-page) .main .ranking-intro h1,
.shell:not(.is-request-page) .main .calendar-intro h1,
.shell:not(.is-request-page) .main .production-head h1,
.shell:not(.is-request-page) .main .request-head h1,
.shell:not(.is-request-page) .main .search-page h1 {
  margin: 0 0 6px; font-size: 22px; font-weight: 700; line-height: 28px; letter-spacing: -.02em;
}
.shell:not(.is-request-page) .main .page-intro .lead,
.shell:not(.is-request-page) .main .ranking-intro > p,
.shell:not(.is-request-page) .main .calendar-intro > p,
.shell:not(.is-request-page) .main .production-head > p { margin: 0 0 10px; color: #3d4841; font-size: 15px; line-height: 23px; }
.shell:not(.is-request-page) .main .section { margin-top: 24px; }
.shell:not(.is-request-page) .main .section-head h2,
.shell:not(.is-request-page) .main .section.card > h2,
.shell:not(.is-request-page) .main .ranking-card-head h2,
.shell:not(.is-request-page) .main .calendar-details h2,
.shell:not(.is-request-page) .main .search-group h2 { font-size: 18px; font-weight: 700; line-height: 25px; }
.shell:not(.is-request-page) .main .card,
.shell:not(.is-request-page) .main .event-card,
.shell:not(.is-request-page) .main .session-card,
.shell:not(.is-request-page) .main .calendar-card,
.shell:not(.is-request-page) .main .calendar-details,
.shell:not(.is-request-page) .main .ticketing-item,
.shell:not(.is-request-page) .main .search-group {
  border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: none;
}
.shell:not(.is-request-page) .main .small,
.shell:not(.is-request-page) .main small,
.shell:not(.is-request-page) .main .muted,
.shell:not(.is-request-page) .main .event-venue,
.shell:not(.is-request-page) .main .event-card-foot,
.shell:not(.is-request-page) .main .ticketing-meta,
.shell:not(.is-request-page) .main .ticketing-deadline { font-size: 13px; line-height: 19px; }
.shell:not(.is-request-page) .main .button { min-height: 48px; border-radius: 9px; font-size: 15px; transform: none; }
.shell:not(.is-request-page) .main .button:hover:not(:disabled) { transform: none; }
.shell:not(.is-request-page) .main .button-small { min-height: 44px; font-size: 13px; }
.shell:not(.is-request-page) .main .button-primary { border-color: var(--primary); background: var(--primary); color: #fff; }
.shell:not(.is-request-page) .main .button-green { border-color: var(--green); background: var(--green); color: var(--ink); }
.shell:not(.is-request-page) .main .button-ghost,
.shell:not(.is-request-page) .main .button-white { border-color: var(--line); background: #fff; color: var(--primary); }
.shell:not(.is-request-page) .main input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.shell:not(.is-request-page) .main select,
.shell:not(.is-request-page) .main textarea { min-height: 48px; border-color: var(--line); border-radius: 9px; background: #fff; color: var(--ink); font-size: 15px; }
.shell:not(.is-request-page) .main .field > span,
.shell:not(.is-request-page) .main .field > label { font-size: 14px; font-weight: 600; }
.shell:not(.is-request-page) .main :focus-visible { outline-color: var(--primary); }

/* Home retains the ticket shape and the requested line-separated ranking. */
.pass-wallet, .pass-now, .pass-ranking, .pass-production, .pass-empty { border-color: var(--line); border-radius: 12px; }
.pass-wallet small, .pass-ranking-period, .pass-rank-person small,
.pass-rank-stars, .pass-production-copy > span { color: var(--muted); font-size: 13px; }
.pass-wallet .stars-earned, .pass-wallet .stars-available,
.pass-section-kicker > span, .pass-section-heading > a,
.pass-rank-points, .pass-rank-row.is-me .pass-rank-person strong { color: var(--primary); }
.pass-section-kicker > span { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.pass-ticket { border-radius: 12px; background: var(--ink); animation: none; }
.pass-ticket-stub { background: var(--primary); }
.pass-ticket-label::before, .pass-ticket-cta { background: var(--green); }
.shell.is-home-proposal .pass-now { display: block; min-height: 0; margin-top: 0; border: 0; border-radius: 0; background: transparent; }
.shell.is-home-proposal .pass-now > .pass-now-head {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  min-height: 24px; padding: 0 2px;
}
.shell.is-home-proposal .pass-now-head > strong { color: var(--ink); font-size: 14px; line-height: 20px; }
.pass-now-head > a { color: var(--muted); font-size: 11px; text-decoration: none; }
.shell.is-home-proposal .pass-now > .pass-now-links {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center; min-height: 38px; padding: 3px 0 0;
}
.pass-now-links > a { display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 36px; padding: 3px 2px; color: #3d4841; font-size: 11px; text-decoration: none; white-space: nowrap; }
.pass-now-links > a + a { padding-left: 8px; }
.pass-now-links svg { flex: none; width: 18px; height: 18px; color: var(--green); }
.pass-now-links > a + a svg { color: var(--primary); }
.shell.is-home-proposal .pass-now-links strong { font-size: inherit; font-weight: 700; line-height: inherit; }
.pass-now-arrow { margin-left: auto; color: #9ca7a0; font-size: 16px; }
.pass-now-label-short { display: none; }
@media (max-width: 420px) {
  .pass-now-label-full { display: none; }
  .pass-now-label-short { display: inline; }
}
.pass-now-dot, .pass-section-mark { background: var(--primary); }
.pass-live-dot { background: var(--green); box-shadow: 0 0 0 4px #eaf8d5; animation: none; }
.pass-section-heading h2 { font-size: 18px; font-weight: 700; }
.pass-rank-row { min-height: 58px; border-bottom-color: var(--line); }
.pass-rank-index { color: var(--muted); }
.pass-rank-row:nth-child(-n+3) .pass-rank-index { color: var(--primary); }
.pass-production-lead { min-height: 88px; }
.pass-production-copy strong { font-size: 16px; }
.pass-production-copy small { color: var(--primary); font-size: 13px; }
.pass-session-strip { border-top-color: var(--line); }
.pass-session-strip a { border-color: var(--line); font-size: 13px; }
.pass-session-strip a span { color: #167c55; }
.pass-request-cta { border-radius: 9px; background: var(--primary); }
.ticket-open-art { border-color: var(--line); border-radius: 12px; }
.ticket-open-art img { border-radius: 8px; box-shadow: none; }
.ticket-open-ribbon { background: var(--primary); }
.ticket-open-card.is-today .ticket-open-ribbon { background: #b8ff3b; color: var(--ink); }
.ticket-open-clock, .ticket-open-card-footer a, .ticket-open-card-footer button { color: var(--primary); }
.ticket-open-title { font-size: 16px; font-weight: 700; }
.ticket-open-pill { border-color: var(--line); background: #f2f5f1; font-size: 12px; }
.ticket-open-card-status, .ticket-open-card-footer { color: var(--muted); font-size: 13px; }
.ticket-open-view-all { border-color: var(--line); border-radius: 9px; }

/* Ranking: no stacked rank cards; each member stays on a hairline row. */
.ranking-intro .ranking-live { color: #167c55; font-size: 13px; letter-spacing: 0; }
.shell .ranking-card { padding: 14px 16px 8px; }
.ranking-card .ranking-tabs, .pass-ranking .ranking-tabs { border-bottom-color: var(--line); }
.ranking-card .ranking-tabs button, .pass-ranking .ranking-tabs button { min-height: 44px; color: var(--muted); font-size: 14px; }
.ranking-card .ranking-tabs button.active, .pass-ranking .ranking-tabs button.active { color: var(--ink); }
.ranking-card .ranking-tabs button.active::after, .pass-ranking .ranking-tabs button.active::after { background: var(--primary); }
.ranking-card .ranking-self { border-bottom-color: var(--line); }
.ranking-card .ranking-self-position, .ranking-card .ranking-self-score { color: var(--primary); font-size: 16px; }
.ranking-card .ranking-star-wallet { border-bottom-color: var(--line); }
.ranking-card .pass-rank-row { min-height: 62px; }
.ranking-card .ranking-member-count { color: var(--muted); font-size: 13px; }
.ranking-note, .rank-refreshed { color: var(--muted); font-size: 13px; }
.rank-star-symbol { color: #ffdb13; }

/* Calendar follows the date picker: a full-cell target with a circular date. */
.shell .calendar-card { padding: 14px 10px 16px; }
.calendar-head { margin: 0 2px 12px; }
.shell .calendar-head h2 { font-size: 18px; font-weight: 700; }
.calendar-head button { width: 44px; height: 44px; border: 0; border-radius: 9px; background: #fff; color: var(--primary); font-size: 28px; }
.calendar-grid { gap: 0; }
.calendar-weekday { min-height: 32px; padding: 5px 0; color: var(--muted); font-size: 13px; }
.shell .calendar-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; min-height: 48px; padding: 2px 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); font-size: 14px; }
.calendar-day > span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid transparent; border-radius: 50%; }
.calendar-day.today > span { border-color: var(--primary); }
.calendar-day.selected > span, .calendar-day.selected.today > span { border-color: var(--primary); background: var(--primary); color: #fff; }
.calendar-day.has-events, .calendar-day.has-events.selected { border: 0; background: transparent; color: var(--ink); }
.calendar-day.has-events.selected > span { color: #fff; }
.calendar-day small { width: 5px; height: 5px; overflow: hidden; border-radius: 50%; background: var(--green); color: transparent; font-size: 0; }
.calendar-day.selected small { background: var(--green); color: transparent; }
.calendar-event { border-bottom-color: var(--line); font-size: 15px; }
.calendar-event strong { font-size: 16px; }
.calendar-event-status { color: #167c55; }
.calendar-details .text-link { color: var(--primary); font-size: 13px; }

/* Request lists, request detail, records and administrative forms. */
.event-list, .session-list, .ticketing-list, .notice-feed { gap: 12px; }
.event-card .event-title, .session-card-top strong, .ticketing-title { font-size: 16px; line-height: 23px; }
.event-genre, .request-genre { color: var(--primary); font-size: 12px; }
.ticketing-item { border-left: 3px solid var(--primary); }
.ticketing-item-top { color: var(--primary); font-size: 13px; }
.ticketing-time { color: var(--ink); font-size: 18px; }
.ticketing-actions button { min-height: 44px; color: var(--primary); font-size: 13px; }
.ticketing-delete-reason { color: var(--muted); font-size: 13px; }
.ticketing-schedule { min-width: 0; }
.ticketing-schedule .ticketing-intro { padding-bottom: 12px; }
.ticketing-daybar { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; min-height: 54px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ticketing-daybar > button { height: 52px; border: 0; background: transparent; color: var(--ink); font-size: 27px; line-height: 1; cursor: pointer; }
.ticketing-daybar > button:focus-visible, .ticketing-day-picker:focus-within { outline: 2px solid var(--primary); outline-offset: -3px; }
.ticketing-day-picker { position: relative; display: grid; place-items: center; min-width: 0; min-height: 52px; cursor: pointer; }
.ticketing-day-picker strong { overflow: hidden; max-width: 100%; color: var(--ink); font-size: 16px; font-weight: 700; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.ticketing-day-picker input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ticketing-day-summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 38px; color: var(--muted); font-size: 13px; }
.ticketing-day-summary button { min-height: 36px; padding: 0 7px; border: 0; background: transparent; color: var(--primary); font-size: 13px; font-weight: 700; cursor: pointer; }
.ticketing-timeline { display: grid; gap: 12px; margin-top: 4px; }
.ticketing-slot { display: grid; grid-template-columns: 49px minmax(0, 1fr); align-items: start; gap: 8px; min-width: 0; }
.ticketing-slot-time { padding-top: 13px; color: var(--ink); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.35; }
.ticketing-schedule .ticketing-entry { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ticketing-card { min-width: 0; padding: 12px; }
.ticketing-card-main { display: grid; grid-template-columns: 56px minmax(0, 1fr) 9px; align-items: start; gap: 9px; min-width: 0; color: var(--ink); text-decoration: none; }
.ticketing-card-poster { display: grid; place-items: center; width: 56px; height: 74px; overflow: hidden; border-radius: 7px; background: #f1eefb; color: var(--primary); font-size: 23px; }
.ticketing-card-poster img { width: 100%; height: 100%; object-fit: cover; }
.ticketing-card-poster svg { width: 25px; height: 25px; }
.ticketing-card-copy { display: grid; gap: 3px; min-width: 0; }
.ticketing-card-copy strong { color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.36; overflow-wrap: anywhere; }
.ticketing-card-copy span { color: #3d4841; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.ticketing-card-copy small { color: var(--muted); font-size: 12px; line-height: 1.38; }
.ticketing-card-arrow { color: var(--primary); font-size: 20px; line-height: 1; }
.ticketing-card-session { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 7px; margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line); color: #3d4841; font-size: 12px; line-height: 1.4; }
.ticketing-card-status { padding: 3px 7px; border-radius: 5px; background: #f2f5f1; color: var(--muted); font-size: 11px; font-weight: 700; white-space: nowrap; }
.ticketing-card-status.is-open { background: #eaf8d5; color: #167c55; }
.ticketing-card-sites { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ticketing-card-sites a, .ticketing-card-sites span { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--primary); font-size: 12px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.ticketing-card-sites span { color: var(--muted); }
.ticketing-card-media { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.ticketing-card-media button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; max-width: 100%; padding: 4px 8px 4px 4px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.25; text-align: left; cursor: pointer; }
.ticketing-card-media button img { width: 32px; height: 32px; border-radius: 4px; object-fit: cover; }
.ticketing-card-media a { display: inline-flex; align-items: center; min-height: 40px; color: var(--primary); font-size: 12px; font-weight: 700; text-decoration: none; }
.ticketing-card-deadline { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.45; }
.ticketing-card-deadline .registration-clock { margin-top: 2px; color: var(--primary); }
.ticketing-schedule .ticketing-actions { padding: 0 10px 5px; }
.ticketing-schedule .ticketing-edit-form { margin: 6px 10px 10px; }
.ticketing-day-empty { padding: 20px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ticketing-day-empty strong { display: block; color: var(--ink); font-size: 16px; }
.ticketing-day-empty p { margin: 5px 0 12px; color: var(--muted); font-size: 13px; }
.ticketing-day-empty > div { display: flex; flex-wrap: wrap; gap: 7px; }
.ticketing-day-empty button { min-height: 40px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--primary); font-size: 13px; font-weight: 700; cursor: pointer; }
@media (max-width: 350px) { .ticketing-slot { grid-template-columns: 43px minmax(0, 1fr); gap: 6px; } .ticketing-card { padding: 10px; } .ticketing-card-main { grid-template-columns: 48px minmax(0, 1fr) 8px; gap: 7px; } .ticketing-card-poster { width: 48px; height: 65px; } .ticketing-card-copy strong { font-size: 14px; } }
.production-overview span, .session-card-stats span, .request-overview span {
  border: 1px solid var(--line); border-radius: 9px; background: #f2f5f1; color: #3d4841; font-size: 13px;
}
.session-card-progress, .session-card-link { color: #167c55; font-size: 13px; }
.request-head { padding: 16px; }
.request-head .request-meta { color: var(--muted); font-size: 13px; }
.request-ticketing { border-radius: 8px; background: #f1eefb; color: var(--primary); font-size: 13px; }
.request-overview strong { font-size: 17px; }
.request-stage { border-color: #ded4f2; border-left-color: var(--primary); border-radius: 12px; background: #f1eefb; }
.request-stage-active, .request-my-status { border-color: #bde9d0; border-left-color: var(--green); background: #eaf8d5; }
.request-stage-label, .request-stage-next, .request-stage p { color: #3d4841; font-size: 13px; }
.join-panel > summary { background: #eaf8d5; color: #167c55; }
.join-panel > summary span { color: #3d4841; font-size: 13px; }
.priority-panel > summary, .request-info-panel > summary, .seeya-picker > summary { min-height: 48px; font-size: 15px; }
.priority-panel > summary span, .request-info-panel > summary span, .seeya-picker > summary span { color: var(--muted); font-size: 13px; }
.request-info-card { border-color: var(--line); background: #fff; }
.request-info-image-button { background: #f2f5f1; }
.notice-green { border-color: #bde9d0; background: #eaf8d5; color: #167c55; }
.notice-magenta { border-color: #ded4f2; background: #f1eefb; color: var(--primary); }
.notice-empty { min-height: 0; padding: 24px 16px; text-align: left; justify-items: start; }
.notice-empty > span, .empty > .icon { display: none; }
.notice-empty h2 { font-size: 16px; }
.notice-empty p, .notice-post p { color: #3d4841; font-size: 15px; line-height: 23px; }
.notice-post h2 { font-size: 16px; }
.star-wallet, .ranking-star-wallet { border-color: var(--line); background: #fff; }
.mine-score { margin-top: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.mine-score .stat-number { color: var(--primary); font-size: 22px; }
.mine-score .stat-symbol { color: #ffdb13; font-size: 22px; }
.activity-row, .history-row, .admin-member-row { border-bottom-color: var(--line); }
.activity-row-main strong, .history-row strong, .admin-member-row strong { color: var(--ink); font-size: 15px; }
.activity-seat, .score-kind { border-radius: 7px; background: #f1eefb; color: var(--primary); }
.history-row .point.positive { color: #167c55; }
.search-result { border-bottom-color: var(--line); }
.search-result strong { font-size: 15px; }
.search-result span { color: var(--muted); font-size: 13px; }
.admin-jumps { gap: 8px; margin: 0 0 20px; }
.shell .admin-jumps button { min-height: 44px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--primary); font-size: 13px; font-weight: 700; }
.admin-edit-item { border-top-color: var(--line); }
.admin-edit-item summary { min-height: 48px; align-content: center; }
.admin-edit-item summary span, .admin-member-row span { color: var(--muted); font-size: 13px; }
.admin-form { gap: 12px; }

@media (max-width: 350px) {
  html:has(.shell) { scrollbar-width: none; }
  html:has(.shell)::-webkit-scrollbar { display: none; }
  .site-pass-header .site-pass-tools { grid-template-columns: minmax(0, 1fr) 44px; }
  .site-pass-header .site-pass-tools.has-admin { grid-template-columns: minmax(0, 1fr) 44px 44px; }
  .site-pass-header .site-pass-search input { font-size: 13px; }
  .shell:not(.is-request-page) .calendar-card {
    width: calc(100% + 32px); margin-left: -16px; padding-right: 4px; padding-left: 4px;
    border-right: 0; border-left: 0; border-radius: 0;
  }
  .pass-rank-person small { display: none; }
  .pass-now > a { font-size: 12px; }
}
/* Progressive opening registration; retain the shared mobile frame. */
.shell.is-request-page .site-pass-header { display: block; padding-top: calc(12px + env(safe-area-inset-top)); padding-bottom: 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.shell.is-request-page .bottom-nav { display: grid; }
.shell.is-request-page .main { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
.shell.is-request-page .request-flow-header { background: var(--surface); }
.opening-registration { padding: 18px; }
.opening-registration form, .opening-sites { display: grid; gap: 18px; }
.opening-step + .opening-step { padding-top: 18px; border-top: 1px solid var(--line); }
.opening-step .field { margin-bottom: 0; }
.opening-registration [hidden], .ticket-quick-form [hidden] { display: none !important; }
.opening-date-picker, .session-date-picker { border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.opening-date-picker > summary, .session-date-picker > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 10px 12px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.opening-date-picker > summary::-webkit-details-marker, .session-date-picker > summary::-webkit-details-marker { display: none; }
.opening-date-picker > summary > span:last-child, .session-date-picker > summary > span:last-child { color: var(--primary); }
.opening-date-picker .ticket-calendar, .session-date-picker .ticket-calendar { padding: 10px; border-top: 1px solid var(--line); }
.opening-site { display: grid; gap: 12px; }
.opening-site + .opening-site { padding-top: 18px; border-top: 1px solid var(--line); }
.opening-site-name { display: flex; align-items: end; gap: 8px; }
.opening-site-name .field { flex: 1; min-width: 0; }
.opening-site-confirm { min-height: 48px; padding: 0 12px; border: 1px solid var(--primary); background: #f1eefb; color: var(--primary); white-space: nowrap; }
.opening-site[data-confirmed=true] .opening-site-confirm { border-color: #a3dfbd; background: #eaf8d5; color: #167c55; }
.opening-site-remove { width: 44px; min-height: 48px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--muted); font-size: 22px; }
.opening-site-map { display: grid; gap: 10px; padding: 14px; background: #f7f8f7; border: 1px solid var(--line); border-radius: 10px; }
.opening-site-map .request-upload-preview img { max-width: 100%; max-height: 180px; object-fit: contain; border-radius: 6px; }
.opening-finish .ticket-quick-confirm { margin-bottom: 16px; }
.ticket-quick-form .request-sticky-action { position: static; width: 100%; margin: 16px 0 0; padding: 0; border: 0; }
.ticket-quick-form .ticket-session-remove { min-width: 40px; color: var(--primary); font-size: 22px; }
.ticket-quick-form .ticket-time-hint { display: none; }
.ticket-quick-form .ticket-session-time-count { grid-template-columns: minmax(0,1fr) 90px; }
.ticket-quick-form .ticket-calendar-hint { padding: 0 10px 10px; }
.ticket-quick-form .ticket-session-date { white-space: normal; font-size: 12px; }
.registration-clock { font-variant-numeric: tabular-nums; }
@media(max-width:350px) { .opening-registration { padding: 14px; } .opening-site-name { gap: 6px; } .opening-site-confirm { padding: 0 9px; } }
