:root {
  color-scheme: dark;
  --bg: #070809;
  --panel: #101214;
  --panel-2: #15181b;
  --text: #f5f6f7;
  --muted: #aeb5bd;
  --accent: #f6c339;
  --accent-dark: #1a1710;
  --red: #e81e4d;
  --line: rgba(255,255,255,.09);
  --radius: 22px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); overflow-x: hidden; }
body { padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
button, input { font: inherit; }
button, a { -webkit-touch-callout: none; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.app-shell { min-height: 100vh; max-width: 760px; margin: 0 auto; padding-bottom: 94px; background: radial-gradient(circle at 50% 0%, rgba(246,195,57,.08), transparent 34%), var(--bg); }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: rgba(7,8,9,.92); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 0; text-align: left; }
.brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px rgba(246,195,57,.5); }
.brand span { display: flex; flex-direction: column; }
.brand strong { font-size: 16px; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 2px; }

main { padding: 18px 16px 26px; }
.screen { display: none; animation: fade .18s ease; }
.screen.active { display: block; }
@keyframes fade { from { opacity: .45; transform: translateY(3px); } to { opacity: 1; transform: none; } }

.card { background: linear-gradient(145deg, rgba(22,24,27,.96), rgba(11,13,15,.98)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 38px rgba(0,0,0,.24); }
.hero { padding: 22px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; overflow: hidden; }
.hero h1 { margin: 5px 0 8px; font-size: clamp(30px, 9vw, 48px); line-height: .98; letter-spacing: -.035em; }
.hero p, .section-title p, .note, .contact-card p, .prose p, .chat-card p { color: var(--muted); line-height: 1.55; }
.hero-logo { width: 118px; height: 118px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(246,195,57,.25), 0 0 45px rgba(246,195,57,.09); }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.primary, .secondary, .ghost, .mini-button { border: 1px solid transparent; border-radius: 14px; min-height: 44px; padding: 11px 16px; font-weight: 800; cursor: pointer; }
.primary { background: var(--accent); color: #17120a; }
.secondary { background: #171a1d; border-color: var(--line); color: var(--text); }
.ghost { background: transparent; border-color: var(--line); }
.full { width: 100%; display: block; text-align: center; margin-top: 10px; }
.share-header { white-space: nowrap; font-size: 13px; }

.live-strip { margin-top: 14px; display: flex; align-items: center; gap: 12px; padding: 15px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff315c; box-shadow: 0 0 0 5px rgba(232,30,77,.13); }
.grow { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.grow strong { margin: 2px 0; }
.grow small { color: var(--muted); }
.round { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--accent); color: #111; font-size: 18px; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 14px; }
.feature { border: 1px solid var(--line); color: var(--text); text-align: left; padding: 17px; min-height: 122px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.feature > span { font-size: 25px; }
.feature strong { margin-top: 9px; font-size: 16px; }
.feature small { margin-top: 3px; color: var(--muted); }
.action-card { cursor: pointer; }
.public-link { margin-top: 14px; padding: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.public-link div { display: flex; flex-direction: column; min-width: 0; }
.public-link strong { overflow-wrap: anywhere; margin: 3px 0; }
.public-link small { color: var(--muted); }

.section-title { margin: 12px 3px 18px; }
.section-title h2 { margin: 5px 0 4px; font-size: 34px; letter-spacing: -.03em; }
.section-title p { margin: 0; }
.player { padding: 20px; text-align: center; overflow: hidden; }
.player-logo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.live-pill { width: fit-content; margin: 12px auto 16px; padding: 7px 10px; border-radius: 999px; background: rgba(232,30,77,.1); color: #ff6683; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.live-pill i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #ff315c; }
.caster-wrap { width: 100%; min-height: 150px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.caster-wrap > * { max-width: 100%; }
.note { font-size: 13px; }

.stack { display: grid; gap: 12px; }
.show { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 16px; }
.show > div:last-child { display: flex; flex-direction: column; gap: 4px; }
.show small, .show p { color: var(--muted); margin: 0; line-height: 1.45; }
.badge { height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--accent-dark); color: var(--accent); font-weight: 900; font-size: 11px; }
.mini-button { width: fit-content; margin-top: 7px; background: #202326; border-color: var(--line); font-size: 12px; min-height: 36px; padding: 7px 10px; }

.schedule-card { padding: 6px 16px; }
.schedule-row { padding: 15px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 95px 1fr; gap: 3px 12px; }
.schedule-row:last-child { border-bottom: 0; }
.schedule-row span { color: var(--accent); font-size: 12px; font-weight: 800; }
.schedule-row small { grid-column: 2; color: var(--muted); }

.prose, .contact-card, .chat-card, .interview-card { padding: 20px; }
.prose img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 16px; }
.chat-card { text-align: center; }
.chat-card h3 { font-size: 25px; margin: 7px 0; }
.chat-icon { font-size: 48px; }
.interview-card { display: grid; gap: 14px; }
.interview-card label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 700; }
.interview-card input { width: 100%; background: #0d0f11; color: var(--text); border: 1px solid var(--line); border-radius: 14px; min-height: 48px; padding: 12px 13px; outline: none; }
.interview-card input:focus { border-color: rgba(246,195,57,.65); box-shadow: 0 0 0 3px rgba(246,195,57,.08); }

.bottom-nav { position: fixed; z-index: 40; left: 50%; bottom: 0; transform: translateX(-50%); width: min(760px,100%); display: grid; grid-template-columns: repeat(5,1fr); gap: 0; padding: 7px 6px calc(7px + env(safe-area-inset-bottom)); background: rgba(8,9,10,.95); backdrop-filter: blur(22px); border-top: 1px solid var(--line); }
.bottom-nav button { border: 0; background: transparent; color: #848b92; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; }
.bottom-nav button span { font-size: 19px; }
.bottom-nav button small { font-size: 10px; font-weight: 800; }
.bottom-nav button.active { color: var(--accent); }

.toast { position: fixed; left: 50%; bottom: calc(82px + env(safe-area-inset-bottom)); transform: translate(-50%, 14px); opacity: 0; pointer-events: none; background: #f5f6f7; color: #111; padding: 10px 14px; border-radius: 999px; font-size: 12px; font-weight: 800; z-index: 80; transition: .2s ease; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.hidden { display: none !important; }

@media (max-width: 470px) {
  .hero { grid-template-columns: 1fr; }
  .hero-logo { width: 104px; height: 104px; grid-row: 1; justify-self: end; margin-bottom: -64px; opacity: .98; }
  .hero-copy { position: relative; z-index: 1; padding-top: 3px; }
  .hero-copy p { padding-right: 56px; }
  .feature { min-height: 112px; }
}
