/* Ghostlight app shell. Colours, spacing, radii and fonts come from tokens.css only. */

*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: dark; }
html[data-theme="matinee"] { color-scheme: light; }
html[data-theme="system"] { color-scheme: dark light; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 22px;
}

a { color: var(--link); }
a:hover { color: var(--curtain-ink); }

:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

h1, h2, h3 { margin: 0; }

/* Theme-dependent logos: each SVG has fixed inks, so show the one for the ground. */
.on-light { display: none; }
[data-theme="matinee"] .on-dark { display: none; }
[data-theme="matinee"] .on-light { display: inline-block; }
@media (prefers-color-scheme: light) {
  [data-theme="system"] .on-dark { display: none; }
  [data-theme="system"] .on-light { display: inline-block; }
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: calc(-1 * var(--space-8));
  z-index: 10;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--glow);
  color: var(--on-glow);
  font-weight: 600;
}
.skip-link:focus { top: var(--space-4); color: var(--on-glow); }

.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Button (from design/components). */
.gl-btn {
  font: 600 14px/20px var(--font-sans);
  min-height: 44px;
  padding: 0 var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  white-space: nowrap;
}
.gl-btn:hover { background: var(--surface-raised); color: var(--ink); }
.gl-btn-primary { background: var(--glow); border-color: var(--glow); color: var(--on-glow); }
.gl-btn-primary:hover { background: var(--glow); color: var(--on-glow); filter: brightness(1.06); }

/* Phone layout: single column, bottom tab bar. */
.shell { min-height: 100vh; }
.sidebar { display: none; }
.main-column { min-width: 0; }

.phone-header {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: var(--space-3) var(--space-4) 0;
}
.phone-header { justify-content: space-between; }
.phone-header a { display: inline-flex; align-items: center; min-height: 44px; }
.phone-header .bell { position: relative; justify-content: center; min-width: 44px; color: var(--ink); text-decoration: none; }
.bell-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--glow);
  color: var(--on-glow);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}
.bell .bell-count { position: absolute; top: 4px; right: 0; }
.phone-header .wordmark { width: 112px; height: auto; }

.main {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-4) calc(var(--space-8) + var(--space-6) + env(safe-area-inset-bottom));
}
.main:focus { outline: none; }

.placeholder { margin: 0; color: var(--ink-muted); }

.tab-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 5;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding: var(--space-2) var(--space-2) calc(var(--space-2) + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--surface-raised);
}
.tab-bar a {
  min-width: 60px;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  border-radius: var(--radius-md);
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  text-decoration: none;
}
.tab-bar a[aria-current="page"] { color: var(--glow-ink); }
.tab-bar .tab-bar-log { color: var(--ink); }
.tab-bar .mark { width: 28px; height: 28px; }

/* Desktop layout from about 900px: 248px sidebar, content up to 1180px. */
@media (min-width: 900px) {
  .shell { display: flex; }

  .sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 248px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    padding: var(--space-6) var(--space-4) var(--space-5);
    border-right: 1px solid var(--line);
    background: var(--surface-raised);
  }
  .sidebar-home { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-2); }
  .sidebar .wordmark { width: 132px; height: auto; }

  .sidebar-nav { display: flex; flex-direction: column; gap: var(--space-1); }
  .sidebar-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-height: 44px;
    padding: 0 var(--space-3);
    border-radius: var(--radius-md);
    color: var(--ink-muted);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
  }
  .sidebar-nav a:hover { color: var(--ink); background: var(--surface); }
  .sidebar-nav a[aria-current="page"] { color: var(--glow-ink); background: var(--glow-soft); }
  .sidebar-nav .icon { width: 22px; height: 22px; }

  .sidebar-log { justify-content: center; min-height: 48px; font-size: 15px; }
  .sidebar-bell {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-height: 44px;
    padding: 0 var(--space-3);
    border-radius: var(--radius-md);
    color: var(--ink-muted);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
  }
  .sidebar-bell:hover { color: var(--ink); background: var(--surface); }
  .sidebar-bell[aria-current="page"] { color: var(--glow-ink); background: var(--glow-soft); }
  .sidebar-bell .icon { width: 22px; height: 22px; }
  .sidebar-bell .bell-count { margin-left: auto; }
  .sidebar-bell + .sidebar-member { margin-top: 0; }
  .sidebar-member {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: var(--space-2);
    border-radius: var(--radius-md);
    color: var(--ink);
    text-decoration: none;
  }
  .sidebar-member:hover { background: var(--surface); }
  .sidebar-member-text { display: flex; flex-direction: column; min-width: 0; }
  .sidebar-member-name { font-size: 14px; line-height: 18px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sidebar-member-handle { font-size: 12px; line-height: 16px; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sidebar-log .mark { width: 22px; height: 22px; margin-left: calc(-1 * var(--space-1)); }

  .main-column { flex: 1; }
  .phone-header { display: none; }
  .main { max-width: 1180px; margin: 0 auto; padding: var(--space-6) var(--space-6) var(--space-7); }

  .tab-bar { display: none; }
}

/* Theme picker (placeholder settings). */
.theme-form { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.theme-form fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.segmented {
  display: inline-flex;
  padding: var(--space-1);
  gap: var(--space-1);
  border-radius: var(--radius-md);
  background: var(--surface-sunken);
  border: 1px solid var(--line);
}
.segmented label { position: relative; display: flex; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-sm);
  color: var(--ink-muted);
  font-weight: 600;
}
.segmented input:checked + span { background: var(--surface-raised); color: var(--ink); }
.segmented input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* Forms: sign in, sign up, password reset, edit profile. */
.main-narrow { max-width: 480px; }
@media (min-width: 900px) { .main.main-narrow { margin: 0; } }
.main p { margin: 0; }
.gl-form { display: flex; flex-direction: column; gap: var(--space-4); }
.gl-field { display: flex; flex-direction: column; gap: var(--space-1); }
.gl-field input:not([type="checkbox"]):not([type="radio"]), .gl-field textarea {
  font: 400 15px/22px var(--font-sans);
  min-height: 44px;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: var(--surface-sunken);
  color: var(--ink);
}
.gl-field textarea { resize: vertical; }
.gl-field.has-error input, .gl-field.has-error textarea { border-color: var(--critical); }
.gl-check { display: flex; align-items: center; gap: var(--space-2); min-height: 44px; }
.gl-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--glow); }
.optional { color: var(--ink-muted); font-weight: 400; }
.help { color: var(--ink-muted); font-size: 13px; line-height: 18px; }
.help ul { margin: 0; padding-left: var(--space-5); }
.error { color: var(--critical); font-size: 13px; line-height: 18px; }
.gl-form-actions, .profile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }

/* Continue with Google / Apple, below the sign-in and sign-up forms. */
.provider-divider { display: flex; align-items: center; gap: var(--space-3); color: var(--ink-muted); }
.provider-divider::before, .provider-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.provider-list { display: flex; flex-direction: column; gap: var(--space-3); }
.provider-list form { margin: 0; }
.provider-list .gl-btn { width: 100%; justify-content: center; }

.messages {
  margin: 0;
  padding: var(--space-3) var(--space-4);
  list-style: none;
  border-radius: var(--radius-md);
  background: var(--glow-soft);
  color: var(--ink);
}

.profile-header { display: flex; flex-direction: column; gap: var(--space-2); }
.profile-identity { display: flex; align-items: center; gap: var(--space-4); }
.profile-name { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }

/* A member's avatar, or their initials. Performers' headshots use .avatar alone, so
   these are doubled up to win over it. */
.avatar.avatar-profile, .avatar.avatar-small {
  flex-shrink: 0;
  background: var(--curtain);
  color: var(--on-curtain);
  font-family: var(--font-display);
  font-weight: 500;
}
.avatar.avatar-profile { width: 80px; height: 80px; font-size: 30px; }
.avatar.avatar-small { width: 36px; height: 36px; font-size: 14px; font-weight: 600; }
@media (min-width: 900px) {
  .avatar.avatar-profile { width: 104px; height: 104px; font-size: 38px; }
}

.avatar-field { border: 0; margin: 0; padding: 0; }
.avatar-field-row { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.avatar-field-controls { display: flex; flex-direction: column; gap: var(--space-3); flex: 1; min-width: 200px; }
.handle { color: var(--ink-muted); font-family: var(--font-mono); font-size: 14px; }

/* Badge (from design/components). */
.gl-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font: 600 12px/20px var(--font-sans);
  padding: 0 var(--space-2);
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  color: var(--ink-muted);
  border: 1px solid var(--line);
}
.gl-badge-glow { background: var(--glow-soft); color: var(--glow-ink); border-color: transparent; }
.gl-badge-curtain { background: var(--curtain-soft); color: var(--curtain-ink); border-color: transparent; }
.gl-badge-positive { background: transparent; color: var(--positive); border-color: currentColor; }
.gl-badge-critical { background: transparent; color: var(--critical); border-color: currentColor; }

/* Pages whose header runs edge to edge, such as the production page. */
.main.main-bleed { padding-left: 0; padding-right: 0; padding-top: 0; gap: 0; }
.main.main-bleed > .messages { margin: var(--space-4); }

/* Production page. Phone: one column. Desktop: a 340px right-hand column. */
.production-header { background: var(--curtain); color: var(--on-curtain); }
.production-header-inner { padding: var(--space-6) var(--space-4) var(--space-5); }
.poster { display: none; }
.production-heading { display: flex; flex-direction: column; gap: var(--space-2); }
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.production-title {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 46px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.production-venue { font-size: 17px; line-height: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--space-1) 0 0; padding: 0; list-style: none; }
.chip {
  display: flex;
  align-items: center;
  min-height: 28px;
  padding: 0 var(--space-3);
  border: 1px solid var(--on-curtain);
  border-radius: var(--radius-pill);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}
.chip-filled { background: var(--on-curtain); color: var(--curtain); }

.production-body { display: flex; flex-direction: column; gap: var(--space-6); padding: var(--space-5) var(--space-4) 0; }
.production-main, .production-aside { display: contents; }
.production-status { order: 1; display: flex; justify-content: flex-end; }
.production-description { order: 2; font-size: 17px; line-height: 26px; max-width: 620px; }
.key-facts { order: 3; }
.people { order: 4; }
.production-body h2 { font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 600; }
.production-body section { display: flex; flex-direction: column; gap: var(--space-3); }

.card { padding: var(--space-5); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.key-facts dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.key-facts dt {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.key-facts dd { margin: 0; }

/* Cast and creative rows scroll sideways, snapping, edge to edge so the next person peeks in. */
.people-row {
  display: flex;
  gap: var(--space-4);
  margin: 0 calc(-1 * var(--space-4));
  padding: 0 var(--space-4) var(--space-2);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--space-4);
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
.person {
  width: 88px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  scroll-snap-align: start;
}
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--curtain-soft);
  color: var(--curtain-ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}
.person-name { font-size: 13px; line-height: 17px; font-weight: 600; }
.person-billing { font-size: 12px; line-height: 16px; color: var(--ink-muted); }

@media (min-width: 900px) {
  .main.main-bleed { max-width: none; padding: 0 0 var(--space-7); }

  .production-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: var(--space-6);
    display: flex;
    align-items: flex-end;
    gap: var(--space-6);
  }
  .poster {
    display: flex;
    width: 148px;
    aspect-ratio: 2 / 3;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    object-fit: cover;
  }
  .poster-blank {
    align-items: flex-end;
    padding: var(--space-3);
    background: var(--stage-floor);
    color: var(--on-curtain);
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
  }
  .production-title { font-size: 56px; line-height: 60px; letter-spacing: -0.02em; }

  .production-body {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: var(--space-6) var(--space-6) 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: var(--space-7);
    align-items: start;
  }
  .production-main, .production-aside { display: flex; flex-direction: column; min-width: 0; }
  .production-main { gap: var(--space-6); }
  .production-aside { gap: var(--space-5); }
  .production-status { justify-content: flex-start; }
  .production-main h2 { font-size: 24px; line-height: 30px; }
  .production-aside h2 { font-size: 20px; line-height: 26px; }

  .people-row { margin: 0; padding: 0 0 var(--space-2); scroll-padding: 0; }
  .avatar { width: 72px; height: 72px; font-size: 22px; }
}

.production-actions { order: 1; display: flex; flex-wrap: wrap; gap: var(--space-3); }
.production-actions .gl-btn { justify-content: center; flex: 1; }
.production-actions .want-to-see-form { display: flex; flex: 1; }
.production-actions .want-to-see-form .gl-btn { flex: 1; }
@media (min-width: 900px) { .production-actions .gl-btn, .production-actions .want-to-see-form { flex: 0 1 auto; } }
/* Want to see: lit once it's on the list, quiet once it's done. */
.want-to-see-on { background: var(--glow-soft); border-color: transparent; color: var(--glow-ink); }
.want-to-see-done { border-color: transparent; color: var(--ink-muted); cursor: default; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.gl-btn-quiet { border-color: transparent; color: var(--glow-ink); padding: 0 var(--space-3); }
.gl-btn-quiet:hover { background: transparent; color: var(--glow-ink); text-decoration: underline; }

/* Motion: house lights, not fireworks. Reduced motion keeps only plain fades. */
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(var(--space-3)); } }

/* The Log a show sheet: full screen on phones, an overlay from 900px. */
.sheet {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  overscroll-behavior: contain;
}
.sheet[open] { display: flex; flex-direction: column; animation: rise-in 240ms ease-out; }
#log-sheet-body { flex: 1; display: flex; flex-direction: column; }
#log-sheet-body > .log-sheet { flex: 1; }
.sheet::backdrop { background: color-mix(in srgb, var(--surface-sunken) 80%, transparent); }
@media (min-width: 900px) {
  .sheet {
    width: min(560px, calc(100vw - 2 * var(--space-6)));
    height: auto;
    max-height: calc(100vh - 2 * var(--space-7));
    margin: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sheet[open] { animation-name: fade-in; }
}

.log-sheet {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 560px;
  min-height: 100%;
}
.sheet .log-sheet { padding: var(--space-5) var(--space-4) calc(var(--space-6) + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .sheet .log-sheet { padding: var(--space-6); } }

.sheet-header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); }
.sheet-title { font-family: var(--font-display); font-size: 36px; line-height: 42px; font-weight: 500; letter-spacing: -0.015em; }
.sheet-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin-right: calc(-1 * var(--space-2));
  border-radius: var(--radius-md);
  color: var(--ink);
}
.sheet-close:hover { color: var(--ink); background: var(--surface-raised); }
.label { font-weight: 600; }

/* Find */
.find-form { display: flex; flex-direction: column; gap: var(--space-2); }
.search-field { position: relative; display: flex; align-items: center; }
.search-field .icon { position: absolute; left: var(--space-3); color: var(--ink-muted); pointer-events: none; }
.search-field input {
  width: 100%;
  min-height: 48px;
  padding: var(--space-2) var(--space-3) var(--space-2) calc(var(--space-3) + 24px + var(--space-3));
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: var(--surface-sunken);
  color: var(--ink);
  font: 400 17px/24px var(--font-sans);
}
.find-results { display: flex; flex-direction: column; gap: var(--space-6); }
.find-group { display: flex; flex-direction: column; gap: var(--space-3); }
.find-group-heading { display: flex; flex-direction: column; gap: var(--space-1); }
.find-show { font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 600; }
.find-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
}
.find-list li:first-child .find-production { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.find-list li:last-child .find-production { border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); }
.find-list li + li { border-top: 1px solid var(--line); }
.find-production {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 64px;
  padding: var(--space-3) var(--space-4);
  color: var(--ink);
  text-decoration: none;
}
.find-production:hover { color: var(--ink); background: var(--surface); }
.find-production-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.find-venue { font-size: 16px; line-height: 22px; font-weight: 600; }
.find-dates { color: var(--ink-muted); }
.find-seen { color: var(--positive); font-size: 14px; line-height: 20px; }
.not-listed { margin: 0; color: var(--ink-muted); }
.not-listed a { color: var(--ink); text-decoration: underline; }
.notice { margin: 0; padding: var(--space-3) var(--space-5); background: var(--surface-raised); color: var(--ink-muted); font-size: 14px; line-height: 20px; }
.find-production .icon { color: var(--ink-muted); }

/* Details */
.log-production {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.log-poster {
  width: 56px;
  aspect-ratio: 2 / 3;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.log-poster-blank {
  display: flex;
  align-items: flex-end;
  padding: var(--space-1);
  overflow: hidden;
  background: var(--curtain);
  color: var(--on-curtain);
  font-family: var(--font-display);
  font-size: 11px;
  line-height: 13px;
  font-weight: 500;
}
.log-production-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.log-production-text .gl-badge { align-self: flex-start; margin-top: var(--space-1); }
.log-production-title { font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 500; }

.log-form { gap: var(--space-5); }
fieldset.gl-field { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.gl-field legend { padding: 0; margin-bottom: var(--space-1); }
.performance-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.performance-row .segmented { flex: 1; }
.performance-row .segmented label { flex: 1; }
.performance-row .segmented span { flex: 1; justify-content: center; }
.performance-row .segmented input:checked + span { background: var(--glow); color: var(--on-glow); }
.performance-row input[type="time"] { width: 9.5em; font-family: var(--font-mono); }

.review-input { font-family: var(--font-display); font-style: italic; font-size: 17px; line-height: 26px; }
.gl-field textarea.review-input { font: italic 400 17px/26px var(--font-display); min-height: 120px; }

.log-save { justify-content: center; min-height: 52px; font-size: 16px; }

/* Genre: read-only, from the production. The main type is filled. */
.genre { display: flex; flex-direction: column; gap: var(--space-2); }
.genre .kicker { color: var(--ink-muted); }
.genre-chips { margin: 0; }
.genre-chips .chip { min-height: 32px; border-color: var(--line-strong); color: var(--ink); }
.genre-chips .chip-main { background: var(--curtain-soft); border-color: transparent; color: var(--curtain-ink); }

/* Add more details: vibes, quick questions, tags, private details. */
.more-details { border-top: 1px solid var(--line); padding-top: var(--space-4); }
.more-details-summary {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  color: var(--glow-ink);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.more-details-summary::-webkit-details-marker { display: none; }
.more-details-summary::before { content: "+"; font-size: 20px; line-height: 1; width: 1em; text-align: center; }
.more-details[open] .more-details-summary::before { content: "\2212"; }
.more-details-summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: var(--radius-sm); }
.more-details-body { display: flex; flex-direction: column; gap: var(--space-5); padding-top: var(--space-4); }
.field-heading { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); }
.field-heading legend { float: left; margin: 0; }

.chip-picker { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip-toggle { position: relative; display: flex; }
.chip-toggle input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-toggle span {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.chip-toggle input:checked + span { background: var(--glow-soft); border-color: transparent; color: var(--glow-ink); }
.chip-toggle input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.chip-toggle input:disabled + span { opacity: 0.5; }
.chip-toggle input:disabled { cursor: not-allowed; }
.chip-rewatch span { background: var(--curtain-soft); border-color: transparent; color: var(--curtain-ink); }

.quick-questions { display: flex; flex-direction: column; gap: var(--space-4); }
.segmented-fill { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.segmented-fill span { flex: 1; justify-content: center; padding: 0 var(--space-2); }
.segmented-fill input:checked + span { background: var(--glow); color: var(--on-glow); }

/* Who was on? The usual cast, with a choice where a role has covers. */
.who-was-on { display: flex; flex-direction: column; gap: var(--space-2); }
.cast-list {
  display: flex;
  flex-direction: column;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cast-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.cast-avatar { width: 40px; height: 40px; flex-shrink: 0; font-size: 14px; }
.cast-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cast-name { font-size: 15px; line-height: 20px; font-weight: 600; }
.cast-role { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.cast-row select {
  width: 100%;
  min-height: 44px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: var(--surface-sunken);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
}
.cast-row select:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.cast-more > summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--glow-ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.cast-more > summary::-webkit-details-marker { display: none; }
.cast-more > summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.cast-more:not([open]) .cast-more-open, .cast-more[open] .cast-more-closed { display: none; }
.cast-more[open] > summary { border-bottom: 1px solid var(--line); }
.cast-list > .cast-row:last-child, .cast-more > .cast-row:last-child { border-bottom: 0; }

.private-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.private-heading { display: flex; align-items: center; gap: 6px; color: var(--ink-muted); }
.private-heading .icon { width: 14px; height: 14px; stroke-width: 2; }
.price-row { display: flex; gap: var(--space-2); }
.price-row select {
  min-height: 48px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: var(--surface-sunken);
  color: var(--ink);
  font: inherit;
  font-family: var(--font-mono);
}
.gl-field .price-row input { flex: 1; min-width: 0; font-family: var(--font-mono); }
.gl-field.has-error .price-row select { border-color: var(--critical); }

.delete-stub { display: flex; justify-content: center; }
.gl-btn-danger, .gl-btn-danger:hover { color: var(--critical); }

/* Lit ghosts, not stars (design/components/docs/Rating.md). */
.ghost { display: block; width: 14px; height: 18px; }
.ghost-body { fill: none; stroke: var(--line-strong); stroke-width: 2.6; stroke-linejoin: round; }
.ghost-half { display: none; fill: var(--glow); }
.ghost[data-fill="0.5"] .ghost-half { display: inline; }
.ghost[data-fill="1"] .ghost-body { fill: var(--glow); stroke: var(--glow-ink); }
.rating { display: inline-flex; align-items: center; gap: 3px; }

.rating-input {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
}
.rating-input.has-error { border-color: var(--critical); }
.rating-input-heading { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); }
.rating-input-value { color: var(--glow-ink); }
.rating-input-ghosts { display: flex; gap: var(--space-2); }
.rating-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 56px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  cursor: pointer;
}
.rating-ghost .ghost { width: 40px; height: 50px; transition: transform 200ms ease-out; }
.rating-ghost .ghost-body { stroke-width: 2; }
.rating-ghost:active .ghost { transform: scale(0.94); }
.rating-input-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.rating-input-foot .gl-btn-quiet { margin-right: calc(-1 * var(--space-3)); }
.rating-clear[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .rating-ghost .ghost { transition: none; }
  .rating-ghost:active .ghost { transform: none; }
}

/* TicketStub (design/components/docs/TicketStub.md): the member's own night. */
.gl-stub {
  --stub-ground: var(--surface);
  display: flex;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  max-width: 560px;
  position: relative;
  text-align: left;
}
.gl-stub-main { flex: 1; min-width: 0; padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-1); }
.gl-stub-side { width: 112px; flex-shrink: 0; padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); justify-content: space-between; }
.gl-stub-tear { width: 0; border-left: 2px dashed var(--line-strong); margin: var(--space-3) 0; position: relative; }
.gl-stub-tear::before, .gl-stub-tear::after {
  content: "";
  position: absolute;
  left: -11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--stub-ground);
  border: 1px solid var(--line);
}
.gl-stub-tear::before { top: calc(-1 * var(--space-3) - 11px); clip-path: inset(50% 0 0 0); }
.gl-stub-tear::after { bottom: calc(-1 * var(--space-3) - 11px); clip-path: inset(0 0 50% 0); }
.gl-ticket { margin: 0; font: 500 12px/16px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); overflow-wrap: anywhere; }
.gl-stub-title { font: 600 20px/26px var(--font-display); color: var(--ink); }
.gl-stub-venue { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.gl-stub-with { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.gl-stub-with a { color: inherit; }
.gl-stub-quote { margin: var(--space-2) 0 0; font: italic 400 16px/24px var(--font-display); color: var(--ink); }
.gl-stub-side .rating { margin-top: auto; }

/* Logged: the stage floor, and the bulb warming up (glow from 0 to full over 400ms). */
.log-sheet.logged {
  justify-content: space-between;
  background: var(--stage-floor);
  color: var(--ink);
}
.main .log-sheet.logged { margin: 0 auto; width: 100%; padding: var(--space-5) var(--space-4) var(--space-6); }
.logged .sheet-close { align-self: flex-end; }
.logged-body { display: flex; flex-direction: column; align-items: center; gap: var(--space-5); text-align: center; }
.logged-body .gl-stub { width: 100%; --stub-ground: var(--stage-floor); }
.logged-mark { position: relative; display: block; width: 88px; height: 88px; }
.logged-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 37.5%; /* the bulb, on the mark's 64 grid */
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 45%, transparent), transparent);
  animation: fade-in 400ms ease-out both;
}
.logged-mark img { position: relative; display: block; width: 88px; height: 88px; animation: bulb-warm 400ms ease-out both; }
@keyframes bulb-warm { from { filter: saturate(0) brightness(0.55); } }
@media (prefers-reduced-motion: reduce) {
  .logged-mark img { animation: fade-in 400ms ease-out both; }
}
.logged-heading { display: flex; flex-direction: column; gap: var(--space-2); }
.logged-title { font-family: var(--font-display); font-style: italic; font-size: 44px; line-height: 50px; font-weight: 500; }
.logged-summary { color: var(--ink-muted); }
.logged-visibility { display: flex; align-items: center; gap: 6px; color: var(--ink-muted); font-size: 13px; line-height: 18px; }
.logged-visibility .icon { width: 14px; height: 14px; stroke-width: 2; }
.logged-actions { display: flex; flex-direction: column; gap: var(--space-3); }
.logged-actions .gl-btn { justify-content: center; min-height: 52px; font-size: 16px; }

/* Stubs: Seen */
.stub-views { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.stub-view {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.stub-view[aria-current="page"] { background: var(--glow-soft); border-color: transparent; color: var(--glow-ink); }
.year-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  max-width: 560px;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--stage-floor);
  color: var(--ink);
}
.year-card .kicker { color: var(--ink-muted); }
.year-card-counts { font-family: var(--font-display); font-size: 28px; line-height: 34px; font-weight: 500; margin-top: var(--space-1); }
.stub-month { display: flex; flex-direction: column; gap: var(--space-3); }
.stub-month-heading { color: var(--ink-muted); margin-top: var(--space-3); }
.stub-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-4); }

/* Stubs: Coming up. Phone: Next up, then the rest. Desktop: Next up in a 340px right-hand column. */
.coming-up { display: flex; flex-direction: column; gap: var(--space-5); }
.next-up {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  max-width: 560px;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--stage-floor);
  color: var(--ink);
}
.next-up-text { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.next-up-kicker, .next-up-where { color: var(--ink-muted); }
.next-up-title { font-family: var(--font-display); font-size: 28px; line-height: 34px; font-weight: 500; }
.next-up-title a, .booking-card-title a { color: inherit; text-decoration: none; }
.next-up-title a:hover, .booking-card-title a:hover { text-decoration: underline; }
.next-up-where { font-size: 14px; line-height: 20px; }

.countdown { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.countdown-count { font-family: var(--font-display); font-weight: 500; color: var(--glow-ink); }
.countdown-unit {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.next-up-countdown .countdown-count { font-size: 48px; line-height: 50px; color: var(--glow); }
.next-up-countdown .countdown-unit { font-size: 12px; line-height: 16px; }

.booked { display: flex; flex-direction: column; gap: var(--space-3); max-width: 560px; }
.booked-heading { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.booked-heading .kicker { color: var(--ink-muted); }
.lock-label { display: flex; align-items: center; gap: var(--space-1); color: var(--ink-muted); font-size: 13px; line-height: 18px; }
.lock-label .icon { width: 14px; height: 14px; stroke-width: 2; }
.booking-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.booking-card {
  display: flex;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.booking-countdown {
  width: 76px;
  justify-content: center;
  padding: var(--space-4) 0;
  border-right: 2px dashed var(--line-strong);
}
.booking-countdown .countdown-count { font-size: 32px; line-height: 36px; }
.booking-card-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-4);
}
.booking-card-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.booking-card-title { font: 600 20px/26px var(--font-display); }
.booking-card-venue { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.booking-actions { display: flex; margin-top: var(--space-2); }

/* Stubs: Want to see */
.want-to-see { display: flex; flex-direction: column; gap: var(--space-3); max-width: 560px; }
.want-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.want-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.want-card-main { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.want-card-title { font: 600 20px/26px var(--font-display); }
.want-running { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 20px; }
.want-running-dates, .want-none { color: var(--ink-muted); font-size: 14px; line-height: 20px; }

@media (min-width: 900px) {
  .coming-up {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    grid-template-areas: "booked next-up";
    gap: var(--space-7);
    align-items: start;
  }
  .next-up { grid-area: next-up; align-items: flex-end; }
  .next-up-title { font-size: 24px; line-height: 30px; }
  .booked { grid-area: booked; max-width: none; }
  .booking-countdown { width: 96px; }
  .booking-countdown .countdown-count { font-size: 36px; line-height: 40px; }
  .booking-card-main { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-5); }
  .booking-card-seat { flex-shrink: 0; }
}

/* Home: the Tonight card, when the member has a booking today. */
.tonight { display: flex; flex-direction: column; gap: var(--space-4); }
.tonight-heading { display: flex; flex-direction: column; gap: var(--space-2); }
.tonight-kicker { color: var(--ink-muted); }
.tonight-title { font-family: var(--font-display); font-size: 32px; line-height: 38px; font-weight: 500; letter-spacing: -0.015em; }
@media (min-width: 900px) { .tonight-title { font-size: 40px; line-height: 46px; } }

/* Log a show: bookings waiting to be logged, on the stage floor. */
.from-bookings { display: flex; flex-direction: column; gap: var(--space-3); }
.from-bookings-heading { color: var(--ink-muted); }
.from-bookings-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.from-booking {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--stage-floor);
  color: var(--ink);
}
.from-booking-text { flex: 1 1 160px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.from-booking p { margin: 0; }
.from-booking-when, .from-booking-where { color: var(--ink-muted); }
.from-booking-where { font-size: 14px; line-height: 20px; }
.from-booking-title { font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 500; }
.from-booking-actions { display: flex; align-items: center; gap: var(--space-2); }
.from-booking-actions form { margin: 0; display: flex; }
.from-booking-actions .gl-btn-quiet { color: var(--ink-muted); }
.from-booking-actions .gl-btn-quiet:hover { color: var(--ink); }

/* Photos on a stub: 96px tiles, each removable, then a dashed tile to add more. */
.photos-field { border: 0; margin: 0; padding: 0; }
.photo-tiles { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.photo-previews { display: contents; }
.photo-tile { position: relative; width: 96px; height: 96px; }
.photo-tile-link { display: block; width: 100%; height: 100%; border-radius: var(--radius-md); }
.photo-tile-link:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.photo-tile-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--surface-sunken);
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 16px;
  text-align: center;
}
.photo-tile-new { outline: 2px solid var(--glow); outline-offset: -2px; }
.photo-remove { position: absolute; right: 4px; bottom: 4px; display: flex; }
.photo-remove input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.photo-remove > span {
  min-height: 28px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-pill);
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
button.photo-remove { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
button.photo-remove:focus-visible > span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.photo-remove input:checked + span { background: var(--curtain); border-color: transparent; color: var(--on-curtain); }
.photo-remove input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.photo-tile:has(.photo-remove input:checked) .photo-tile-image { opacity: 0.4; }
.photo-add {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px dashed var(--line-strong);
  background: var(--surface-sunken);
  color: var(--glow-ink);
  cursor: pointer;
}
.photo-add input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.photo-add:focus-within { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.photo-add .icon { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }
.photo-hint { flex: 1 1 140px; }

/* Profiles: a member's header, then Stubs and Reviews tabs showing what the viewer may see. */
.profile { display: flex; flex-direction: column; gap: var(--space-5); }
.profile-actions .gl-btn .icon { width: 18px; height: 18px; }
.profile-tabs { display: flex; gap: var(--space-6); border-bottom: 1px solid var(--line); }
.profile-tabs a {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  min-height: 44px;
  border-bottom: 2px solid transparent;
  color: var(--ink-muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.profile-tabs a[aria-current="page"] { border-bottom-color: var(--glow-ink); color: var(--ink); }
.profile-tabs a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.profile-tabs .icon { width: 14px; height: 14px; stroke-width: 2; }
.profile-note { color: var(--ink-muted); font-size: 14px; line-height: 20px; }
/* Taste match: a stage-floor card with both avatars, the percentage in amber and the story. */
.taste-match {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: 560px;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--stage-floor);
  color: var(--on-curtain);
}
.taste-match-people { display: flex; flex: none; }
.taste-match-people .avatar + .avatar { margin-left: calc(var(--space-2) * -1); box-shadow: 0 0 0 2px var(--stage-floor); }
.taste-match-body { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.taste-match-title { margin: 0; font: 500 12px/16px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.taste-match-score { margin: 0; font: 500 40px/44px var(--font-display); color: var(--glow); }
.taste-match-story { margin: 0; font-size: 15px; line-height: 22px; }
.taste-match-story em { font-family: var(--font-display); }
.viewer-status { margin: 0; font: 500 12px/16px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.viewer-status-booked { color: var(--glow-ink); }
.seen-stub, .stub-details { display: flex; flex-direction: column; gap: var(--space-2); max-width: 560px; }
.stub-details-chips { margin: 0; }
.stub-details-chips .chip { border-color: var(--line-strong); color: var(--ink); }
.stub-details-photos { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.stub-details-photos a { display: block; border-radius: var(--radius-md); }
.stub-details-photos a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.stub-details-photos .photo-tile-image { width: 72px; height: 72px; }
/* A ticket stub that opens the full stub: the title's link stretches over the whole card. */
.gl-stub-open { color: inherit; text-decoration: none; }
.gl-stub-open::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-md); }
.gl-stub-open:focus-visible { outline: none; }
.gl-stub:has(.gl-stub-open:hover) { border-color: var(--line-strong); }
.gl-stub:has(.gl-stub-open:focus-visible) { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.review-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-4); max-width: 640px; }
.review-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.review-card-title { font: 600 20px/26px var(--font-display); }
.review-card-title a { color: inherit; text-decoration: none; }
.review-card-title a:hover { text-decoration: underline; }
.review-card .rating { margin-top: var(--space-1); }
.review-card-text { margin: var(--space-2) 0 0; font: italic 400 16px/24px var(--font-display); }

/* Follows: counts in the profile header, the Follow toggle and the more menu, follow
   requests, and lists of members. */
.follow-counts { color: var(--ink-muted); font-size: 14px; line-height: 20px; }
.follow-counts strong { color: var(--ink); font-weight: 600; }
.follow-counts a { color: inherit; text-decoration: none; }
.follow-counts a:hover { text-decoration: underline; }
.follow-counts a:focus-visible, .follow-requests-link:focus-visible, .member-link:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: var(--radius-sm); }
.profile-name .handle .gl-badge { margin-left: var(--space-1); font-family: var(--font-sans); }
.follow-requests-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.follow-actions { flex-wrap: nowrap; margin-top: var(--space-2); }
.follow-actions > form:first-child, .follow-actions > .follow-button { flex: 1; }
.follow-button { width: 100%; justify-content: center; min-width: 120px; }
@media (min-width: 900px) {
  .follow-actions > form:first-child, .follow-actions > .follow-button { flex: 0 1 auto; }
}
.profile-more { position: relative; }
.profile-more summary { list-style: none; padding: 0 var(--space-3); }
.profile-more summary::-webkit-details-marker { display: none; }
.profile-more summary .icon { width: 20px; height: 20px; stroke-width: 2.5; }
.profile-more summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.profile-more-menu {
  position: absolute;
  right: 0;
  top: calc(100% + var(--space-1));
  z-index: 10;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  padding: var(--space-1);
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
}
.profile-more-menu form { margin: 0; }
.profile-more-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0 var(--space-3);
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font: 600 14px/20px var(--font-sans);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.profile-more-item:hover { background: var(--surface-sunken); }
.profile-more-item:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.profile-more-danger { color: var(--critical); }

.follows, .block-confirm { display: flex; flex-direction: column; gap: var(--space-4); max-width: 640px; }
.follows-lede { color: var(--ink-muted); }
.member-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}
.member-link { display: flex; align-items: center; gap: var(--space-3); min-width: 0; min-height: 44px; color: inherit; text-decoration: none; }
.member-link-text { display: flex; flex-direction: column; min-width: 0; }
.member-link-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-link .handle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-row-actions { display: flex; gap: var(--space-2); flex-shrink: 0; }
.member-row-actions form { margin: 0; }
.member-row-actions .gl-btn { padding: 0 var(--space-3); }
.member-link { flex: 1 1 auto; }
.block-card { display: flex; flex-direction: column; gap: var(--space-4); }
.block-effects { margin: 0; padding-left: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); color: var(--ink-muted); }
.privacy-blocked { display: flex; flex-direction: column; gap: var(--space-2); max-width: 640px; margin-top: var(--space-6); }
.privacy-blocked .label { font-size: 16px; line-height: 22px; }

/* Privacy: a segmented control per kind of information, the taste match switch, and the
   locked card for bookings. Rows sit beside their controls on desktop. */
.back-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-left: calc(-1 * var(--space-2));
  padding: 0 var(--space-2);
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.back-link .icon { width: 18px; height: 18px; }
.privacy { display: flex; flex-direction: column; gap: var(--space-2); }
.privacy-layout { display: flex; flex-wrap: wrap; gap: var(--space-6) var(--space-7); align-items: flex-start; }
.privacy-form { flex: 1 1 520px; max-width: 640px; gap: var(--space-6); min-width: 0; }
.privacy-intro { display: flex; flex-direction: column; gap: var(--space-2); }
.privacy-lede { color: var(--ink-muted); }
.privacy-row { margin: 0; padding: 0; border: 0; display: grid; gap: var(--space-1); min-width: 0; }
/* Floated, the legend lays out like any other child of the grid. */
.privacy-row legend { float: left; padding: 0; font-size: 16px; line-height: 22px; }
.privacy-row .segmented { margin-top: var(--space-2); }
.privacy-row-text { display: flex; flex-direction: column; gap: var(--space-1); }
.privacy-switch .label { font-size: 16px; line-height: 22px; }
.privacy-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.privacy-save { align-self: flex-start; }
.privacy-locked { flex: 1 1 300px; display: flex; gap: var(--space-3); padding: var(--space-4); }
.privacy-locked > .icon { color: var(--glow-ink); }
.privacy-locked-text { display: flex; flex-direction: column; gap: var(--space-1); }
.privacy-locked-heading { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.privacy-locked-heading .label { font-size: 16px; line-height: 22px; }
@media (min-width: 900px) {
  .privacy-row {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
    align-items: center;
    column-gap: var(--space-5);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--line);
  }
  .privacy-row legend { grid-column: 1; align-self: end; }
  .privacy-row .help { grid-column: 1; align-self: start; }
  .privacy-row .segmented { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .privacy-row .error { grid-column: 1 / -1; }
  .privacy-switch { padding-top: 0; border-top: 0; }
  .privacy-locked { max-width: 340px; margin-top: var(--space-2); padding: var(--space-5); }
}

/* Switch: a checkbox with role="switch", drawn as a pill with a thumb. */
.switch { position: relative; flex-shrink: 0; width: 52px; height: 32px; }
.switch input {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  inset: 0;
  /* A checkbox is a replaced element: Safari keeps its intrinsic size, so inset alone won't stretch it. */
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  margin: 0;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface-sunken);
  cursor: pointer;
}
.switch input:checked { background: var(--glow); border-color: transparent; }
.switch input:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.switch-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--line-strong);
  pointer-events: none;
  transition: transform 150ms ease-out;
}
.switch input:checked + .switch-thumb { transform: translateX(20px); background: var(--on-glow); }
@media (prefers-reduced-motion: reduce) { .switch-thumb { transition: none; } }
.search-names { display: flex; flex-direction: column; gap: var(--space-3); font-size: 16px; line-height: 22px; }

/* Home: Friends were there */
.feed { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-6); }
.feed-heading { margin: 0 0 var(--space-1); font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 600; }
@media (min-width: 900px) { .feed-heading { font-size: 24px; line-height: 30px; } }
.feed-list { margin: 0; padding: 0; list-style: none; max-width: 640px; }
.feed-item { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.feed-item .avatar { flex-shrink: 0; }
.feed-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--space-1); }
.feed-line { margin: 0; font-size: 15px; line-height: 22px; overflow-wrap: anywhere; }
.feed-member { font-weight: 600; color: inherit; text-decoration: none; }
.feed-show { font-family: var(--font-display); font-weight: 600; color: inherit; text-decoration: none; }
.feed-member:hover, .feed-show:hover { text-decoration: underline; }
.feed-member:focus-visible, .feed-show:focus-visible, .feed-more a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.feed-quote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 15px; line-height: 22px; overflow-wrap: anywhere; }
.feed-ago { font-family: var(--font-mono); font-size: 12px; line-height: 22px; letter-spacing: 0.08em; color: var(--ink-muted); }
.feed-more { padding: var(--space-4) 0; list-style: none; }

/* Notifications: the inbox, newest first, unread marked with a glow dot. */
.notifications { display: flex; flex-direction: column; gap: var(--space-4); max-width: 640px; }
.notifications-heading { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.notification-list { margin: 0; padding: 0; list-style: none; }
.notification { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.notification .avatar { flex-shrink: 0; }
.notification-mark { background: var(--glow-soft); }
.notification-mark .ghost { width: 16px; height: 20px; }
.notification-text { flex: 1 1 auto; min-width: 0; min-height: 44px; display: flex; align-items: center; color: var(--ink); text-decoration: none; }
.notification-unread .notification-text { font-weight: 600; }
.notification-unread::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--glow); }

/* Ratings: the average on the production page, the distribution and the reviews. */
.production-status { align-items: center; justify-content: space-between; gap: var(--space-3); }
.production-rating { display: flex; flex-direction: column; gap: var(--space-1); }
.production-rating-ghosts { display: flex; align-items: center; gap: var(--space-2); }
.rating-large .ghost { width: 24px; height: 30px; }
.rating-large .rating { gap: 4px; }
.production-rating-value { font: 500 14px/20px var(--font-mono); color: var(--ink-muted); }
.reviews { order: 5; gap: var(--space-4); }
.review-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.review-chip { min-height: 40px; padding: 0 var(--space-4); color: var(--ink); border-color: var(--line-strong); text-decoration: none; }
.review-chip.chip-filled { background: var(--glow-soft); border-color: transparent; color: var(--glow-ink); }
.review-chip:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.rating-distribution {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
  padding: var(--space-4);
  list-style: none;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.rating-distribution-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 3ch; align-items: center; gap: var(--space-3); }
.rating-distribution-bar { height: 8px; border-radius: var(--radius-pill); background: var(--surface-sunken); overflow: hidden; }
.rating-distribution-bar span { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--glow); }
.rating-distribution-count { text-align: right; font: 500 12px/16px var(--font-mono); color: var(--ink-muted); }
.review-card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.review-card-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-1); }
.review-helpful { margin: 0; color: var(--ink-muted); font-size: 14px; line-height: 20px; }
.reviews-all, .reviews-paging .gl-btn { align-self: flex-start; }
.reviews-paging { display: flex; gap: var(--space-2); }
.reviews-page { display: flex; flex-direction: column; gap: var(--space-4); max-width: 640px; }
@media (min-width: 900px) { .production-status { justify-content: flex-start; } }
/* Profile stats: the year filter, summary card, top rated, calendar, types and performers. */
.stats { display: flex; flex-direction: column; gap: var(--space-5); max-width: 640px; }
.stats-years { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.stats-years .chip { min-height: 44px; padding: 0 var(--space-5); display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); font-weight: 600; border-color: var(--line-strong); }
.stats-years .chip[aria-current="true"] { background: var(--glow-soft); color: var(--glow-ink); border-color: var(--glow-ink); }
.stats-years .chip:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.stats-hint { display: flex; align-items: center; gap: var(--space-2); margin: 0; color: var(--ink-muted); font-size: 14px; }
.stats-hint a { color: var(--link); font-weight: 600; }
.stats-hint .icon { width: 16px; height: 16px; }
.stats-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); margin: 0; padding: var(--space-5); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: center; }
.stats-summary div { display: flex; flex-direction: column; }
.stats-summary dt { order: 2; color: var(--ink-muted); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.stats-summary dd { margin: 0; font: 400 36px/44px var(--font-display); }
.stats-section { display: flex; flex-direction: column; gap: var(--space-3); }
.stats-heading { margin: 0; font: 600 22px/28px var(--font-display); }
.show-cards { display: flex; gap: var(--space-4); margin: 0; padding: 0 0 var(--space-2); list-style: none; overflow-x: auto; scroll-snap-type: x proximity; }
.show-card { flex: none; display: flex; flex-direction: column; gap: 4px; width: 140px; scroll-snap-align: start; }
.show-card-link { display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; }
.show-card-link:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: var(--radius-md); }
.show-card-poster { width: 140px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius-md); background: var(--curtain); }
.show-card-poster-blank { display: flex; align-items: flex-end; padding: var(--space-3); box-sizing: border-box; color: var(--on-curtain); font: 400 18px/22px var(--font-display); overflow: hidden; }
.show-card-title { font: 600 16px/20px var(--font-display); }
.show-card-venue { color: var(--ink-muted); font-size: 13px; line-height: 18px; }
.stats-calendar-header { display: flex; align-items: center; justify-content: space-between; }
.stats-calendar-nav { display: flex; gap: var(--space-2); }
.stats-calendar { display: flex; flex-direction: column; gap: 4px; padding: var(--space-3); }
.stats-calendar-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.stats-calendar-days span { padding: var(--space-1) 0; color: var(--ink-muted); font-size: 11px; letter-spacing: 0.1em; text-align: center; text-transform: uppercase; }
.stats-day { position: relative; display: flex; flex-direction: column; aspect-ratio: 1 / 1.15; min-width: 0; padding: 4px 6px; box-sizing: border-box; background: var(--surface-sunken); border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 13px; overflow: hidden; }
.stats-day-blank { background: none; }
.stats-day-seen { background: var(--curtain); color: var(--on-curtain); }
.stats-day-today { border-color: var(--glow); box-shadow: 0 0 0 1px var(--glow); font-weight: 700; }
.stats-day-number { position: relative; z-index: 1; }
.stats-day-seen .stats-day-number { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.stats-nights { position: absolute; inset: 0; display: flex; }
.stats-night { flex: 1; min-width: 0; display: flex; align-items: flex-end; padding: 4px; background-size: cover; background-position: center; color: inherit; text-decoration: none; }
.stats-night:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.stats-night-title { font: 400 11px/13px var(--font-display); overflow: hidden; }
.stats-types { margin: 0; padding: var(--space-4) var(--space-5); list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.stats-types li { display: grid; grid-template-columns: 6.5em 1fr 2em; align-items: center; gap: var(--space-3); }
.stats-bar { height: 10px; background: var(--surface-sunken); border-radius: var(--radius-pill); overflow: hidden; }
.stats-bar-fill { display: block; height: 100%; background: var(--glow); border-radius: var(--radius-pill); }
.stats-type-count { color: var(--ink-muted); text-align: right; font-variant-numeric: tabular-nums; }
.stats-performers { display: flex; gap: var(--space-4); margin: 0; padding: 0 0 var(--space-2); list-style: none; overflow-x: auto; }
.stats-performers li { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 88px; text-align: center; }
.stats-performer-avatar { position: relative; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: var(--space-1); background: var(--curtain); color: var(--on-curtain); border-radius: 50%; font: 400 22px/1 var(--font-display); }
.stats-times { position: absolute; right: -6px; bottom: -2px; }
.stats-performer-name { font-weight: 600; font-size: 14px; line-height: 18px; }
.stats-performer-last { color: var(--ink-muted); font-size: 13px; }
.stats-locked { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); text-align: center; max-width: 480px; }
.stats-locked .icon { width: 28px; height: 28px; color: var(--ink-muted); }
.stats-locked-title { margin: 0; font: 600 20px/26px var(--font-display); }

/* Your data and account: download, and the delete confirmation dialog. */
.account-data { display: flex; flex-direction: column; gap: var(--space-4); max-width: 640px; }
.account-card { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.confirm-dialog {
  max-width: min(480px, calc(100vw - 2 * var(--space-4)));
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  color: var(--ink);
}
.confirm-dialog::backdrop { background: color-mix(in srgb, var(--surface-sunken) 80%, transparent); }
.confirm-dialog .gl-form-actions { margin-top: var(--space-4); }
/* Empty states: what's missing and the one next step, from web/empty_state.html. */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  max-width: 480px;
  margin: var(--space-5) auto;
  padding: var(--space-6) var(--space-5);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  animation: empty-state-in 280ms ease-out both;
}
.empty-state-ghost { display: inline-flex; margin-bottom: var(--space-1); }
.empty-state-ghost .mark { width: 48px; height: 48px; }
.empty-state-title { margin: 0; }
.empty-state-text { margin: 0; color: var(--ink-muted); text-wrap: pretty; }
.empty-state-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-2); }
.empty-state-quiet { padding: var(--space-5); margin: var(--space-3) auto; }
@keyframes empty-state-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes empty-state-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .empty-state { animation-name: empty-state-fade; }
}

/* Welcome: the first-run flow. Phone: one column. Desktop: the same, centred in the page. */
.welcome { display: flex; flex-direction: column; gap: var(--space-5); max-width: 640px; width: 100%; margin: 0 auto; }
.welcome-header { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.welcome-heading { display: flex; flex-direction: column; gap: var(--space-2); }
.welcome-lede { color: var(--ink-muted); }
.welcome-header .gl-btn-quiet { margin-left: calc(-1 * var(--space-3)); }
.welcome-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-4); }
.welcome-step { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.welcome-step[data-done] { border-color: var(--positive); }
.welcome-step-kicker { margin: 0; }
.welcome-step[data-done] .welcome-step-kicker { color: var(--positive); }
.welcome-step .title-s { margin: 0; }
.welcome-step-text { color: var(--ink-muted); }
.welcome-step-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.welcome-step .find-form { width: 100%; }
.welcome-people { width: 100%; }
.welcome-people-heading { margin: var(--space-2) 0 0; }
.welcome-people .empty-state { background: transparent; border-style: dashed; }
.welcome-finish { display: flex; }
@media (min-width: 900px) {
  .welcome-header { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: var(--space-5); }
  .welcome-header .gl-btn { flex-shrink: 0; }
  .welcome-header .gl-btn-quiet { margin-left: 0; }
}

/* Show and person pages: a list of productions, and the person's header. */
.production-list { display: flex; flex-direction: column; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.production-item { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4); }
.production-item-link { display: flex; flex-direction: column; justify-content: center; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; }
.production-item-link:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.production-item-city { font-weight: 400; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.production-item-dates { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.production-item-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }
.production-item-rating { display: inline-flex; align-items: center; gap: var(--space-2); }
.person-credits { margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 20px; }
.person-header { display: flex; align-items: center; gap: var(--space-4); }
.person-headshot { width: 88px; height: 88px; flex-shrink: 0; font-size: 28px; }
a.person-name { color: inherit; text-decoration: none; }
a.person-name:hover { text-decoration: underline; }
.show-productions { order: 3; }
