/* Ticket Pass: a separate, reversible mobile home concept. */
body:has(.is-home-proposal) { background: #fafafa; }
.shell.is-home-proposal { max-width: 480px; min-height: 100vh; background: #fafafa; }
.is-home-proposal .topbar, .is-home-proposal .footer { display: none; }
.is-home-proposal .main { padding: 0 16px calc(92px + env(safe-area-inset-bottom)); }
.is-home-proposal .bottom-nav { width: min(100%, 480px); }
.pass-home { display: grid; gap: 16px; color: #171717; }

.pass-header { padding-top: calc(16px + env(safe-area-inset-top)); }
.pass-header-top, .pass-header-bottom { display: flex; align-items: center; }
.pass-header-top { gap: 9px; min-height: 32px; }
.pass-logo { color: #171717; font-size: 22px; font-weight: 800; letter-spacing: -.7px; line-height: 1; text-decoration: none; }
.pass-logo span { color: #6b01c2; }
.pass-concept { margin-left: auto; color: #777; font-size: 12px; font-weight: 700; letter-spacing: .6px; white-space: nowrap; }
.pass-compare { flex: none; padding: 6px 8px; border: 1px solid #dfdfdf; border-radius: 7px; background: #fff; color: #555; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pass-header-bottom { justify-content: space-between; gap: 8px; margin-top: 11px; }
.pass-header-bottom p { margin: 0; color: #707070; font-size: 14px; line-height: 1.4; }
.pass-tools { display: flex; align-items: center; gap: 6px; }
.pass-search { position: relative; }
.pass-search summary, .pass-tool-link { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #dfdfdf; border-radius: 9px; background: #fff; color: #171717; cursor: pointer; list-style: none; }
.pass-search summary::-webkit-details-marker { display: none; }
.pass-search svg, .pass-tool-link svg { width: 18px; height: 18px; }
.pass-search form { position: absolute; z-index: 20; top: 42px; right: 0; display: flex; gap: 6px; width: min(310px, calc(100vw - 32px)); padding: 8px; border: 1px solid #dfdfdf; border-radius: 11px; background: #fff; box-shadow: 0 10px 30px rgb(23 23 23 / 13%); }
.pass-search input { min-width: 0; flex: 1; padding: 8px; border: 1px solid #dfdfdf; border-radius: 6px; color: #171717; font-size: 14px; }
.pass-search button { padding: 8px 11px; border: 0; border-radius: 6px; background: #6b01c2; color: #fff; font-size: 14px; font-weight: 700; }

.pass-wallet { display: grid; grid-template-columns: 1.25fr 1fr .9fr .9fr; overflow: hidden; border: 1px solid #e7e7e7; border-radius: 12px; background: #fff; }
.pass-wallet > span { display: grid; align-content: center; justify-items: center; min-width: 0; min-height: 56px; padding: 6px 2px; }
.pass-wallet > span + span { border-left: 1px solid #ededed; }
.pass-wallet small { color: #777; font-size: 12px; line-height: 1.4; white-space: nowrap; }
.pass-wallet strong { color: #171717; font-size: 16px; line-height: 1.4; white-space: nowrap; }
.pass-wallet strong em { margin-left: 1px; font-size: 12px; font-style: normal; }
.pass-wallet .stars-earned, .pass-wallet .stars-available { color: #6b01c2; }

.pass-feature { display: grid; gap: 9px; }
.pass-section-kicker, .pass-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pass-section-kicker > span { color: #6b01c2; font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.pass-section-kicker a, .pass-section-heading > a { color: #707070; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pass-ticket { position: relative; display: grid; grid-template-columns: 69% 31%; min-height: 190px; overflow: hidden; border-radius: 17px; background: #171717; color: #fff; text-decoration: none; animation: pass-rise .3s ease both; }
.pass-ticket::before, .pass-ticket::after { position: absolute; z-index: 2; left: calc(69% - 10px); width: 20px; height: 20px; border-radius: 50%; background: #fafafa; content: ''; }
.pass-ticket::before { top: -10px; }
.pass-ticket::after { bottom: -10px; }
.pass-ticket-main { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 18px 16px 19px; }
.pass-ticket-label { display: inline-flex; align-items: center; gap: 7px; color: #e7d4f8; font-size: 12px; font-weight: 700; }
.pass-ticket-label::before { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; content: ''; }
.pass-ticket-date { margin-top: 10px; font-size: 28px; font-weight: 800; letter-spacing: -1.1px; line-height: 1; }
.pass-ticket-weekday { margin-top: 3px; color: #d8d8d8; font-size: 13px; }
.pass-ticket-title { display: -webkit-box; overflow: hidden; max-width: 100%; margin-top: auto; font-size: 18px; font-weight: 800; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.pass-ticket-venue { overflow: hidden; max-width: 100%; margin-top: 4px; color: #c4c4c4; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.pass-ticket-stub { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 23px 10px 14px 15px; border-left: 1px dashed rgb(255 255 255 / 48%); background: #6b01c2; }
.pass-ticket-stub > span:first-child { color: #e7d4f8; font-size: 12px; font-weight: 700; }
.pass-ticket-stub strong { margin-top: 7px; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.pass-ticket-stub .pass-entry-number { color: #fff; font-size: clamp(18px, 5vw, 24px); font-weight: 800; letter-spacing: 2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pass-ticket-stub small { margin-top: 5px; color: #e7d4f8; font-size: 11px; line-height: 1.3; }
.pass-copy-code { justify-self: end; padding: 3px 2px; border: 0; background: transparent; color: #6b01c2; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.pass-ticket-cta { display: grid; place-items: center; width: 34px; height: 34px; margin-top: auto; border-radius: 50%; background: #4ade80; color: #171717; font-size: 20px; font-weight: 700; }

.pass-now { display: grid; grid-template-columns: 1.15fr 1fr 1fr; align-items: center; gap: 0; min-height: 56px; margin-top: -4px; border: 1px solid #dfdfdf; border-radius: 11px; background: #fff; }
.pass-now > div, .pass-now > a { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 48px; padding: 5px; }
.pass-now > div { flex-direction: column; align-items: flex-start; padding-left: 12px; }
.pass-now > a { gap: 4px; border-left: 1px solid #ededed; color: #555; font-size: 12px; text-decoration: none; white-space: nowrap; }
.pass-now small { color: #6b01c2; font-size: 12px; font-weight: 800; letter-spacing: .7px; }
.pass-now div strong { font-size: 13px; line-height: 1.2; }
.pass-now a strong { color: #171717; font-size: 14px; }
.pass-now-dot, .pass-live-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #6b01c2; }
.pass-now-dot.is-green { background: #28a86a; }

.pass-ranking, .pass-requests { display: grid; gap: 10px; }
.pass-section-heading > div { display: flex; align-items: center; gap: 9px; }
.pass-section-heading h2 { margin: 0; color: #171717; font-size: 18px; font-weight: 800; line-height: 1.3; }
.pass-live-dot { width: 8px; height: 8px; background: #4ade80; box-shadow: 0 0 0 4px #e4f9ec; animation: pass-pulse 2.4s ease-in-out infinite; }
.pass-section-mark { width: 4px; height: 17px; border-radius: 3px; background: #6b01c2; }
.pass-ranking { padding: 17px 15px 4px; border: 1px solid #e4e4e4; border-radius: 16px; background: #fff; }
.pass-ranking .ranking-tabs { gap: 16px; margin: 0; }
.pass-ranking .ranking-tabs button { min-height: 36px; font-size: 14px; }
.pass-ranking-period { margin: -3px 0 0; color: #888; font-size: 12px; text-align: right; }
.pass-rank-list { margin-top: -3px; }
.pass-rank-row { display: flex; align-items: center; gap: 10px; min-height: 50px; border-bottom: 1px solid #ededed; color: #171717; text-decoration: none; }
.pass-rank-row:last-child { border-bottom: 0; }
.pass-rank-index { width: 27px; color: #b2b2b2; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pass-rank-row:nth-child(-n+3) .pass-rank-index { color: #6b01c2; }
.pass-rank-person { display: flex; flex: 1; align-items: baseline; gap: 5px; min-width: 0; }
.pass-rank-person strong { overflow: hidden; font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.pass-rank-person strong i { margin-left: 3px; color: #6b01c2; font-size: 12px; font-style: normal; }
.pass-rank-person small { flex: none; color: #9a9a9a; font-size: 12px; }
.pass-rank-points { color: #6b01c2; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pass-rank-points small { margin-left: 1px; font-size: 12px; }
.pass-rank-row.is-me .pass-rank-person strong { color: #6b01c2; }

.pass-production-list { display: grid; gap: 10px; }
.pass-production { overflow: hidden; border: 1px solid #dfdfdf; border-radius: 14px; background: #fff; }
.pass-production-lead { display: flex; align-items: center; gap: 12px; min-height: 94px; padding: 11px 12px; color: #171717; text-decoration: none; }
.pass-production-poster { display: grid; place-items: center; flex: none; width: 51px; height: 69px; overflow: hidden; border-radius: 6px; background: #171717; color: #4ade80; }
.pass-production-poster img { width: 100%; height: 100%; object-fit: cover; }
.pass-poster-fallback { font-size: 28px; }
.pass-production-copy { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.pass-production-copy small { color: #6b01c2; font-size: 12px; font-weight: 700; }
.pass-production-copy strong { overflow: hidden; font-size: 16px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.pass-production-copy > span { overflow: hidden; color: #707070; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.pass-production-arrow { align-self: flex-start; color: #6b01c2; font-size: 17px; }
.pass-session-strip { display: flex; gap: 6px; overflow-x: auto; padding: 9px 11px 11px; border-top: 1px solid #ededed; scrollbar-width: thin; }
.pass-session-strip a { display: flex; flex: none; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid #dfdfdf; border-radius: 6px; color: #171717; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pass-session-strip a span { color: #218858; font-size: 12px; font-weight: 600; }
.pass-empty { padding: 20px; border: 1px solid #dfdfdf; border-radius: 12px; background: #fff; color: #707070; font-size: 14px; }
.pass-request-cta { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 10px 14px; border-radius: 10px; background: #6b01c2; color: #fff; font-size: 15px; font-weight: 800; text-decoration: none; }
.pass-request-cta span, .pass-request-cta svg { display: grid; place-items: center; width: 18px; height: 18px; }
.pass-request-cta b { margin-left: auto; font-size: 18px; }

@keyframes pass-rise { from { opacity: .7; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pass-pulse { 50% { box-shadow: 0 0 0 6px #e4f9ec; } }
@media (max-width: 360px) {
  .pass-concept { display: none; }
  .pass-compare { margin-left: auto; }
  .pass-ticket-main { padding-inline: 13px; }
  .pass-ticket-stub { padding-left: 11px; }
  .pass-now > div { padding-left: 8px; }
  .pass-now > a { font-size: 11px; }
  .pass-rank-person small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pass-ticket, .pass-live-dot { animation: none; }
}
.entry-board { margin-top: 24px; padding: 18px 12px 14px; border: 1px solid #d9dce5; border-radius: 18px; background: #fff; }
.admin-jumps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.entry-stage { margin: 0 auto 22px; padding: 9px; max-width: 240px; border-bottom: 3px solid #4651ab; color: #4651ab; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-align: center; }
.entry-map { display: grid; gap: 10px; }
.entry-map-row { display: grid; grid-template-columns: 27px minmax(0, 1fr); align-items: center; gap: 5px; }
.entry-row-label { color: #47506a; font-size: 12px; font-weight: 700; white-space: nowrap; }
.entry-map-seats { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; }
.entry-seat { min-width: 0; aspect-ratio: 1; padding: 0; border: 1px solid #cad0e3; border-radius: 6px; background: #f4f6fd; color: #303a59; font-size: 12px; font-weight: 700; cursor: pointer; }
.entry-seat:hover:not(:disabled), .entry-seat:focus-visible { border-color: #5749c8; background: #eae7ff; outline: 2px solid #8b7cf1; outline-offset: 1px; }
.entry-seat-wrong { border-color: #e5b0b6; background: #fbe9ec; color: #a9505e; }
.entry-message { margin: 15px 0 0; color: #4b5470; font-size: 14px; line-height: 1.5; }
.entry-message strong { display: inline-block; padding: 2px 6px; border-radius: 5px; background: #fbe9ec; color: #9b314d; letter-spacing: .08em; }
.entry-admin-hint { margin: 16px 0 0; padding: 12px 14px; border: 1px solid #bce8d1; border-radius: 10px; background: #effaf4; color: #185c3a; font-size: 14px; line-height: 1.5; }
.entry-admin-hint strong { font-weight: 700; }
.entry-seat-admin { border-color: #2ba96b; background: #dff5e9; color: #185c3a; box-shadow: 0 0 0 2px #2ba96b33; }
@media (max-width: 360px) { .entry-board { padding-inline: 8px; } .entry-map-row { grid-template-columns: 24px minmax(0, 1fr); gap: 3px; } .entry-seat { font-size: 11px; } }
