/* Store pages: browse rows like an app store, app detail with plans. Builds on style.css. */
.nav .section { font-weight: 600; color: var(--ink); padding-left: 14px; margin-left: -6px; border-left: 1px solid var(--line); }
.nav .section:hover { text-decoration: none; }
.nav .links .btn.primary { color: var(--sky-ink); }
h1 { font-size: 34px; letter-spacing: -.025em; }
h2 { font-size: 22px; letter-spacing: -.02em; margin: 0 0 14px; }
section { padding: 30px 0; border-top: 1px solid var(--line); }
.small { font-size: 13px; }

.store-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 34px 0 20px; flex-wrap: wrap; }
.store-head h1 { margin: 0 0 4px; }
.store-head p { margin: 0; }
.search { display: flex; gap: 8px; width: min(420px, 100%); }
.search input { flex: 1; border-radius: 999px; padding: 0 16px; }
.cats { display: flex; gap: 18px; overflow-x: auto; padding: 4px 0 16px; font-size: 15px; white-space: nowrap; scrollbar-width: none; }
.cats a { color: var(--muted); padding-bottom: 6px; border-bottom: 2px solid transparent; }
.cats a:hover { color: var(--ink); text-decoration: none; }
.cats a.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--sky); }
.cats a span { color: var(--muted); font-weight: 400; font-size: 13px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
.row { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--hair); color: var(--ink); }
.row:hover { text-decoration: none; }
.row:hover b { color: var(--blue); }
.row-text { min-width: 0; display: flex; flex-direction: column; }
.row-text b { font-size: 15.5px; }
.row-text .tag, .row-text .meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-text .tag { color: var(--ink); font-size: 14px; opacity: .8; }
.row-text .meta { color: var(--muted); font-size: 12.5px; }
.btn.get { height: 30px; padding: 0 18px; font-size: 14px; color: var(--blue); }
.icon { display: inline-grid; place-items: center; border-radius: 22.5%; color: #fff; font-weight: 700; object-fit: cover; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }

.crumbs { font-size: 14px; color: var(--muted); margin: 26px 0 18px; }
.crumbs a { color: var(--muted); }
.notice { padding: 12px 16px; border-radius: 10px; background: var(--sky-wash); margin: 0 0 18px; }
.notice.ok { background: #eaf6ee; color: #0b5d2a; }
.app-head { display: flex; gap: 28px; align-items: center; padding-bottom: 28px; }
.app-head h1 { margin: 0 0 4px; }
.app-head .tagline { font-size: 18px; color: var(--muted); margin: 0 0 4px; }
.app-head .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line); }
.facts div { padding: 14px 16px 16px 0; }
.facts div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.facts dt { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.facts dd { margin: 0; font-weight: 600; font-size: 15px; }

.app-body { display: grid; grid-template-columns: 1fr 400px; gap: 48px; border-top: 1px solid var(--line); }
.app-body section { border-top: 0; }
.about p { font-size: 16px; line-height: 1.65; max-width: 38em; }
.buy form { margin: 0; }
.plans { display: grid; gap: 8px; margin-bottom: 18px; }
.plan { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: start; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 400; color: var(--ink); font-size: 15px; }
.plan:has(input:checked) { border-color: var(--sky); box-shadow: inset 0 0 0 1px var(--sky); background: var(--sky-wash); }
.plan input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #0a6fb3; }
.plan-text { display: flex; flex-direction: column; gap: 2px; }
.plan-text span { color: var(--muted); font-size: 13.5px; }
.plan-text .kind { font-size: 12.5px; }
.plan-price { font-weight: 700; font-size: 17px; white-space: nowrap; }
.plan-price small { font-weight: 400; color: var(--muted); font-size: 13px; }
.email-label { color: var(--ink); }
.btn.wide { width: 100%; height: 46px; font-size: 16px; margin-top: 4px; }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 960px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .app-body { grid-template-columns: 1fr; gap: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .nav .links a:not(.btn) { display: none; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .app-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .app-head .icon { width: 96px !important; height: 96px !important; font-size: 44px !important; }
  h1 { font-size: 28px; }
}

/* Store front page */
.feature { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: center; margin: 4px 0 8px; padding: 40px 44px; border-radius: 22px; color: var(--ink);
  background: radial-gradient(120% 140% at 100% 50%, color-mix(in srgb, var(--c) 22%, #fff), color-mix(in srgb, var(--c) 6%, #fff) 60%); border: 1px solid color-mix(in srgb, var(--c) 18%, var(--line)); }
.feature:hover { text-decoration: none; }
.feature:hover h2 { color: var(--blue); }
.kicker { font-size: 13px; font-weight: 600; color: var(--muted); }
.feature h2 { font-size: clamp(32px, 4vw, 46px); letter-spacing: -.03em; margin: 6px 0 4px; }
.feature-tag { font-size: 19px; margin: 0 0 10px; }
.feature-blurb { color: var(--muted); margin: 0 0 22px; max-width: 34em; }
.feature-cta { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.feature-cta .btn { height: 36px; padding: 0 26px; }
.feature-art { display: grid; place-items: center; }
.feature-art .icon { box-shadow: 0 1px 2px rgba(0,0,0,.08), inset 0 0 0 1px rgba(0,0,0,.06); transform: rotate(-4deg); }
.shelf-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.shelf-head h2 { margin: 0; }
.shelf-head p { margin: 0; font-size: 14px; }
.chart { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(5, auto); column-gap: 40px; }
.chart a { display: grid; grid-template-columns: 26px 52px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--hair); color: var(--ink); }
.chart a:hover { text-decoration: none; }
.chart a:hover b { color: var(--blue); }
.rank { font-size: 18px; font-weight: 700; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 10px; }
.tile { display: flex; flex-direction: column; gap: 2px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); }
.tile:hover { text-decoration: none; border-color: var(--sky); background: var(--sky-wash); }
.tile .stack { display: flex; margin-bottom: 12px; }
.tile .stack .icon { border: 2px solid #fff; box-sizing: content-box; }
.tile .stack .icon + .icon { margin-left: -10px; }
.tile .muted { font-size: 13px; }
.dev-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin: 20px 0 10px; padding: 28px 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--sky-wash); }
.dev-cta h2 { margin: 0 0 4px; }
.dev-cta p { margin: 0; }
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; padding: 28px; }
  .feature-art { order: -1; justify-items: start; }
  .feature-art .icon { width: 96px !important; height: 96px !important; font-size: 44px !important; }
  .chart { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
  .tiles { grid-template-columns: 1fr 1fr; }
}
.feature + section { border-top: 0; padding-top: 22px; }

/* Resale */
.nav .section.sub { border-left: 0; padding-left: 4px; margin-left: 0; font-weight: 500; color: var(--muted); }
.nav .section.sub:hover { color: var(--ink); }
.shelf-more { margin-left: auto; font-size: 14px; }
.tickets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 10px; }
.tickets.one { grid-template-columns: 1fr; margin: 10px 0; }
.ticket-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); background: #fff; }
.ticket-card:hover { text-decoration: none; border-color: var(--sky); }
.tk-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 14px; color: #fff; font-size: 13px; }
.tk-top span { font: 12px var(--mono); opacity: .9; }
.tk-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; position: relative; border-top: 2px dashed #fff; }
.tk-body b { font-size: 16px; }
.tk-body .muted { font-size: 13px; }
.tk-price { margin-top: 8px; font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.tk-price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.resale-box { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.resale-box h3 { margin: 0 0 2px; }
.sell { display: grid; grid-template-columns: 1fr 380px; gap: 48px; padding: 6px 0 40px; }
.sell h1 { margin: 0 0 10px; }
.pass-page { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: start; padding-bottom: 40px; }
.pass-art { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); background: #f3efe6; }
.pass-app { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.pass-app span { display: flex; flex-direction: column; line-height: 1.3; }
.pass-app small { font-weight: 400; font-size: 13px; }
.pass-page h1 { margin: 16px 0 6px; font-size: 30px; }
.pass-price { font-size: 32px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 16px; }
.pass-price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.small-facts { grid-template-columns: repeat(3, 1fr); margin-bottom: 20px; }
.split { margin-top: 22px; font-size: 14px; }
.split td { padding: 7px 0; color: var(--muted); }
.split td:last-child { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.cancel-form { margin-top: 10px; }
.linkish { border: 0; background: none; padding: 0; color: var(--muted); font: 13px var(--sans); text-decoration: underline; cursor: pointer; }
.how { margin-top: 10px; }
.how .specs { display: grid; grid-template-columns: 180px 1fr; margin: 0; }
.how .specs dt, .how .specs dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.how .specs dt { font-weight: 600; }
.how .specs dd { color: var(--muted); }
@media (max-width: 960px) {
  .tickets { grid-template-columns: 1fr 1fr; }
  .sell, .pass-page { grid-template-columns: 1fr; gap: 24px; }
  .pass-art { max-width: 320px; }
}
@media (max-width: 640px) { .tickets { grid-template-columns: 1fr; } .how .specs { grid-template-columns: 1fr; } .how .specs dt { border-bottom: 0; padding-bottom: 0; } }

/* Accounts */
.auth-page { max-width: 400px; margin: 56px auto 80px; }
.auth-page h1 { margin: 0 0 8px; }
.auth-page form { margin-top: 18px; }
.auth-page .btn.wide { margin-top: 20px; }
.auth-page .switch { margin-top: 18px; font-size: 14px; color: var(--muted); }
.notice.dev { font-size: 13px; word-break: break-all; margin-top: 16px; }
.acct-head { display: flex; align-items: center; gap: 18px; padding: 36px 0 26px; }
.acct-head h1 { margin: 0 0 2px; }
.acct-head p { margin: 0; }
.acct-out { margin-left: auto; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--sky-wash); color: var(--sky-ink); display: grid; place-items: center; font-size: 28px; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(94,194,247,.5); }
.verify-box { background: var(--sky-wash); border: 1px solid rgba(94,194,247,.45); border-radius: 14px; padding: 20px 22px; margin-bottom: 8px; }
.verify-box h2 { margin: 0 0 4px; }
.acct-table td { vertical-align: middle; }
.acct-table .right { text-align: right; }
.acct-table form { margin: 0; }
.block { display: block; }
.acct-app { display: flex; align-items: center; gap: 12px; }
.acct-app > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.acct-app small { color: var(--muted); font-size: 13px; }
.acct-passes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.acct-pass { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.acct-pass img { border-radius: 10px; background: #f3efe6; }
.acct-pass > div { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.acct-pass .btn, .acct-pass form { margin-top: 8px; }
form.inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 10px 0 0; }
form.inline input, form.inline select { width: auto; flex: 1; min-width: 160px; height: 32px; }
form.inline label { margin: 0; }
.acct-wallets { list-style: none; margin: 0 0 12px; padding: 0; border-top: 1px solid var(--line); }
.acct-wallets li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.acct-wallets form { margin: 0; }
.acct-settings form { max-width: 520px; }
.acct-settings .pw { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; margin-top: 18px; }
.acct-settings .pw label { grid-column: 1 / -1; margin: 0; }
.acct-settings .pw input { height: 32px; }
@media (max-width: 760px) {
  .acct-passes { grid-template-columns: 1fr; }
  .acct-settings .pw { grid-template-columns: 1fr; }
  .acct-table thead { display: none; }
  .acct-table tr { display: grid; grid-template-columns: 1fr auto; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .acct-table td { border: 0; padding: 4px 0; }
}
