/* Signed-in / member area — uses the standard marketing nav, then a member
   sub-navigation bar, a centered content pane, dashboard, event workspace and
   the edit-form controls. Reusable across every /my page. */

/* ---- member sub-navigation (sits sticky, under the standard .nav) ---- */
.subnav { position: sticky; top: 66px; z-index: 39; background: var(--surface); border-bottom: 1px solid var(--border); }
@media (max-width: 880px) { .subnav { top: 61px; } }
.subnav-inner { display: flex; align-items: center; gap: 12px; }
.subnav-links { display: flex; align-items: center; gap: 2px; min-width: 0; flex: 1; overflow-x: auto; scrollbar-width: none; }
.subnav-links::-webkit-scrollbar { display: none; }
.subnav-right { display: flex; align-items: center; gap: 2px; margin-left: auto; padding-left: 12px; }
.subnav a { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font: 600 0.9rem 'Space Grotesk', sans-serif; letter-spacing: -0.01em; color: var(--ink); padding: 14px 13px; border-bottom: 2.5px solid transparent; margin-bottom: -1px; transition: color 200ms ease-out; }
.subnav a:hover { color: var(--orange-deep); }
.subnav a.active { color: var(--orange-deep); border-bottom-color: var(--orange); }
.subnav svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.subnav .cnt { background: var(--orange); color: #fff; font: 600 0.66rem 'Space Grotesk', sans-serif; font-feature-settings: "tnum"; border-radius: var(--r-pill); padding: 2px 7px; }
.subnav-sub { position: static; top: auto; background: var(--cream); }

.pfp { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; display: flex; align-items: center; justify-content: center; font: 600 0.9rem 'Space Grotesk', sans-serif; border: 2px solid var(--surface); box-shadow: var(--shadow-card); flex: none; overflow: hidden; }
.pfp img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pfp svg { width: 20px; height: 20px; }

/* signed-in nav bell (lives in the shared .nav actions) */
.bell { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); transition: border-color 200ms; }
.bell:hover { border-color: var(--orange); }
.bell svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bell .bcount { position: absolute; top: -5px; right: -6px; background: var(--orange); color: #fff; font: 600 0.6rem 'Space Grotesk', sans-serif; border-radius: 999px; padding: 2px 6px; border: 2px solid var(--cream); }

/* ---- content pane ---- */
.pane { max-width: var(--maxw); margin: 0 auto; padding: 36px var(--gutter) 72px; }
@media (max-width: 600px) {
    .pane { padding: 24px var(--gutter) 56px; }
    .hi-row { align-items: flex-start; }
    .hi-row .btn { width: 100%; }
    .me-stats { margin: 16px 0 22px; }
    .ev-head { align-items: flex-start; gap: 10px; }
    .ev-head .pub { margin-left: 0; width: 100%; }
    .tabrow { margin-top: 16px; padding-bottom: 2px; }
    .ev-grid { margin-top: 18px; gap: 14px; }
}

/* ---- overview dashboard ---- */
.hi-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hi-row h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.hi-row p { color: var(--text-muted); margin-top: 8px; }
.me-stats { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 30px; }
.me-stat { display: flex; align-items: baseline; gap: 8px; background: var(--cream); border-radius: 999px; padding: 8px 18px; font: 500 0.9rem 'Instrument Sans', sans-serif; color: var(--text-muted); }
.me-stat b { font: 600 1.05rem 'Space Grotesk', sans-serif; font-feature-settings: "tnum"; color: var(--ink); }
.dash { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.dash .card { padding: 24px; }
.dash .card .eyebrow { display: block; margin-bottom: 2px; font-size: 0.72rem; }
.dash .card h3 { font-size: 1.18rem; }
.ticket-strip { display: flex; align-items: center; gap: 14px; background: var(--cream); border-radius: var(--r-media); padding: 14px 16px; margin-top: 6px; }
.ticket-strip .qr { width: 52px; height: 52px; border-radius: 10px; background: repeating-linear-gradient(0deg, var(--ink) 0 3px, transparent 3px 7px), repeating-linear-gradient(90deg, var(--ink) 0 3px, var(--surface) 3px 7px); border: 4px solid var(--surface); flex: none; }
.ticket-strip b { display: block; font: 600 0.9rem 'Space Grotesk', sans-serif; }
.ticket-strip span { font-size: 0.8rem; color: var(--text-muted); }
.badge-strip { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 2px; }
.badge-strip img { width: 52px; height: 52px; object-fit: contain; }
.card .go { font: 600 0.9rem 'Instrument Sans', sans-serif; margin-top: auto; }

/* ---- event workspace ---- */
.ev-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.backbtn { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); flex: none; transition: border-color 200ms; }
.backbtn:hover { border-color: var(--orange); }
.backbtn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ev-head h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ev-head .pub { margin-left: auto; }
.tabrow { display: flex; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; margin-top: 22px; }
.tabrow a { font: 600 0.9rem 'Space Grotesk', sans-serif; color: var(--text-muted); padding: 10px 14px 12px; white-space: nowrap; border-bottom: 2.5px solid transparent; margin-bottom: -1px; transition: color 200ms; }
.tabrow a:hover { color: var(--ink); }
.tabrow a.active { color: var(--orange-deep); border-bottom-color: var(--orange); }
.ev-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr); gap: 20px; margin-top: 26px; align-items: start; }
@media (max-width: 900px) { .ev-grid { grid-template-columns: 1fr; } }
.meta-rows { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.meta-row { display: flex; gap: 12px; align-items: center; padding: 9px 0; font-size: 0.95rem; }
.meta-row svg { width: 17px; height: 17px; stroke: var(--text-muted); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.meta-row .tz { font-size: 0.78rem; color: var(--text-muted); margin-left: 4px; }
.bignum { font: 650 2.6rem 'Space Grotesk', sans-serif; font-feature-settings: "tnum"; letter-spacing: -0.02em; }
.access-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.access-row:first-of-type { border-top: none; }
.access-row .pfp { width: 36px; height: 36px; font-size: 0.78rem; }
.access-row b { display: block; font: 600 0.92rem 'Instrument Sans', sans-serif; }
.access-row span.r { font-size: 0.8rem; color: var(--text-muted); }
.access-add { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--text-muted); font: 600 0.88rem 'Instrument Sans', sans-serif; border-top: 1px dashed var(--border); cursor: pointer; }
.access-add .plus { width: 36px; height: 36px; border-radius: 50%; border: 1.5px dashed var(--border); display: flex; align-items: center; justify-content: center; flex: none; }

/* ---- edit form controls ---- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font: 600 0.875rem 'Instrument Sans', sans-serif; }
.field .hint { font-size: 0.78rem; color: var(--text-muted); }
.input { width: 100%; font: 400 1rem 'Instrument Sans', sans-serif; background: var(--surface); color: var(--ink); border: 1.5px solid var(--border); border-radius: var(--r-input); padding: 12px 16px; transition: border-color 200ms ease-out, box-shadow 200ms ease-out; }
.input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-tint); }
textarea.input { resize: vertical; min-height: 120px; line-height: 1.55; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .frow { grid-template-columns: 1fr; } }
.fstack { display: flex; flex-direction: column; gap: 18px; }
.fchip { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600; background: var(--cream); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 6px 8px 6px 14px; }
.fchip .x { width: 18px; height: 18px; border-radius: 50%; background: var(--orange-tint); color: var(--orange-deep); font-size: 0.7rem; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.fchip.add { border-style: dashed; background: transparent; color: var(--text-muted); cursor: pointer; padding: 6px 14px; }
.chip-row2 { display: flex; gap: 8px; flex-wrap: wrap; }
.img-tile { width: 100%; border-radius: var(--r-media); border: 1px solid var(--border); display: block; }
.savebar { display: flex; align-items: center; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.savebar .quiet { font: 600 0.92rem 'Space Grotesk', sans-serif; color: var(--text-muted); padding: 10px 14px; border-radius: var(--r-pill); cursor: pointer; background: none; border: none; }
.savebar .quiet:hover { background: var(--ink-soft); }
.savebar .stamp { font: 500 0.8rem 'Space Grotesk', sans-serif; font-feature-settings: "tnum"; color: var(--text-muted); margin-left: auto; }
.dz { border: 1.5px dashed color-mix(in srgb, var(--orange) 40%, transparent); }
.dz h3 { color: var(--orange-deep); }

/* My area — page wrapper, quick links, block choices, empty states */
.my-page { padding-block: 40px 72px; }
/* Narrow pages keep the full page column (so their left edge lines up with the
   header/tabrow above) and cap the readable content width, left-aligned. */
.my-page.narrow { max-width: var(--maxw); }
.my-page.narrow > * { max-width: 620px; }
/* Standalone claim card stays centered on its own. */
.my-page.narrow.badge-redeem { max-width: 520px; }
.my-page.narrow.badge-redeem > * { max-width: none; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 8px; }
.quick-card { display: flex; align-items: center; gap: 14px; }
.quick-card svg { width: 24px; height: 24px; color: var(--orange); flex: none; }
.quick-card h3 { font-size: 1.05rem; margin: 0; }
.choice-block { align-items: flex-start; }
/* Higher specificity than the base `.choice { align-items: center }` so the box
   reliably tops-aligns with the title, and a small nudge to sit on its cap height. */
.choice.choice-block { align-items: flex-start; }
.choice.choice-block > .box { margin-top: 2px; }
.choice-block .choice-text { display: flex; flex-direction: column; gap: 3px; }
.choice-block .choice-text b { font-weight: 600; }
.choice-block .choice-text span { font-size: 0.875rem; color: var(--text-muted); font-weight: 400; line-height: 1.5; }
.my-empty { text-align: center; padding: 56px 0; margin-inline: auto; }
.my-empty h3 { margin: 8px 0; }
.my-empty p { color: var(--text-muted); max-width: 48ch; margin: 0 auto 18px; }
.my-empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.sec-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.card.is-cancelled, .card.is-past { opacity: 0.7; }
