:root {
  color-scheme: light;
  --ink: #172b36;
  --ink-2: #334b56;
  --muted: #657a83;
  --teal: #578e9e;
  --teal-dark: #326b7b;
  --orange: #ff7b16;
  --orange-dark: #cf5c08;
  --action-orange: #c65300;
  --paper: #ffffff;
  --canvas: #f5f7f7;
  --soft: #edf2f3;
  --line: #dce4e6;
  --danger: #a33d3d;
  --success: #2f735d;
  --shadow: 0 18px 44px rgba(23, 43, 54, .09);
  --page-gutter: clamp(22px, 5vw, 76px);
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--canvas); }
body { margin: 0; background: var(--canvas); color: var(--ink); font-size: 16px; line-height: 1.55; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; display: block; }
#app:focus { outline: none; }
.player-visible main { padding-bottom: 180px; }

.site-header { position: sticky; z-index: 15; top: 0; border-bottom: 1px solid rgba(220, 228, 230, .85); background: rgba(255, 255, 255, .95); backdrop-filter: blur(14px); }
.header-inner { width: 100%; min-height: 74px; margin: 0; padding-inline: var(--page-gutter); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { display: block; width: 118px; height: 47px; object-fit: contain; }
.brand > span { margin-left: -4px; color: var(--orange-dark); font-size: .82rem; font-weight: 700; letter-spacing: .08em; }
.site-header nav { display: flex; align-items: center; gap: 24px; }
.site-header nav a { color: var(--ink-2); text-decoration: none; font-size: .91rem; font-weight: 550; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--orange-dark); }
.site-header nav .header-cta { min-height: 40px; padding: 0 15px; border-radius: 9px; background: var(--ink); color: white; display: inline-flex; align-items: center; }
.site-header nav .header-cta:hover { color: white; background: #223e4a; }

main { width: 100%; margin: 0; padding: 34px var(--page-gutter) 115px; }
.hero { min-height: 430px; padding: clamp(34px, 5vw, 64px); border: 1px solid #284753; border-radius: 22px; background: #173640; color: white; display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .86fr); gap: clamp(38px, 7vw, 82px); align-items: center; box-shadow: var(--shadow); }
.hero-copy { max-width: 610px; }
.eyebrow, .section-kicker { margin: 0 0 11px; color: var(--orange-dark); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero .eyebrow { color: #ffaf73; }
.hero h1 { margin: 0; max-width: 630px; font-size: clamp(2.45rem, 5.4vw, 4.6rem); font-weight: 580; line-height: 1; letter-spacing: -.047em; }
.hero-lead { max-width: 540px; margin: 23px 0; color: #c9d8dc; font-size: 1.08rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-weight: 600; }
.text-link span { color: var(--orange); }

.search-panel { padding: 24px; border: 1px solid #d9e2e4; border-radius: 16px; background: white; color: var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; box-shadow: 0 12px 32px rgba(9, 31, 39, .18); }
.search-panel-heading, .search-main, .search-panel button { grid-column: 1 / -1; }
.search-panel-heading { display: grid; margin-bottom: 4px; }
.search-panel-heading strong { font-size: 1.18rem; font-weight: 650; }
.search-panel-heading span { color: var(--muted); font-size: .88rem; }
.search-panel label, .lead-form label, .form-grid > label, .form-field > label { display: grid; gap: 6px; color: var(--ink-2); font-size: .84rem; font-weight: 600; }
input, textarea, select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #ccd8db; border-radius: 9px; background: #fbfcfc; color: var(--ink); outline: none; }
textarea { min-height: 98px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(87, 142, 158, .14); }
.search-panel button, .primary-button, .secondary-button { min-height: 46px; padding: 0 17px; border-radius: 9px; border: 1px solid transparent; display: inline-flex; justify-content: center; align-items: center; text-decoration: none; font-weight: 650; cursor: pointer; }
.search-panel button, .primary-button { background: var(--action-orange); color: white; }
.search-panel button:hover, .primary-button:hover { background: #b94f05; color: white; }
.secondary-button { border-color: var(--line); background: white; color: var(--ink); }
button:disabled { opacity: .5; cursor: not-allowed; }

.stations-section, .plans-section { padding-top: 72px; }
.section-heading { margin-bottom: 24px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2, .publisher-section h2 { margin: 0; max-width: 720px; font-size: clamp(1.75rem, 3vw, 2.55rem); font-weight: 610; line-height: 1.1; letter-spacing: -.035em; }
.section-heading > p { max-width: 430px; margin: 0 0 5px; color: var(--muted); text-align: right; }
.station-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.station-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); transition: transform .18s ease, box-shadow .18s ease; }
.station-card:hover { transform: translateY(-2px); box-shadow: 0 13px 30px rgba(23, 43, 54, .08); }
.station-cover { height: 122px; position: relative; background: #dce7e9; background-position: center; background-size: cover; }
.station-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(23, 43, 54, .28), transparent 62%); }
.live-pill { position: absolute; z-index: 1; top: 12px; right: 12px; padding: 5px 9px; border-radius: 999px; background: rgba(23, 43, 54, .9); color: white; font-size: .7rem; font-weight: 650; }
.live-pill::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--orange); }
.station-body { padding: 0 17px 17px; }
.station-logo { width: 62px; height: 62px; margin-top: -31px; position: relative; z-index: 1; border: 4px solid white; border-radius: 14px; background: var(--ink); background-position: center; background-size: cover; color: white; display: grid; place-items: center; font-weight: 650; }
.station-title-row { margin-top: 12px; display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.station-title-row h3 { min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.05rem; font-weight: 650; }
.station-title-row span { flex: 0 0 auto; color: var(--orange-dark); font-size: .8rem; font-weight: 650; }
.station-meta { min-height: 22px; margin: 5px 0 13px; color: var(--muted); font-size: .87rem; }
.station-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.station-actions button, .station-actions a { min-height: 40px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 7px; text-decoration: none; font-size: .88rem; font-weight: 600; cursor: pointer; }
.station-actions .icon { width: 17px; height: 17px; }
.station-actions .listen { border-color: var(--ink); background: var(--ink); color: white; }

.empty-state, .loading-state, .error-state { grid-column: 1 / -1; padding: 48px 24px; border: 1px dashed #bdcdd1; border-radius: 14px; background: rgba(255,255,255,.64); color: var(--muted); text-align: center; }
.empty-state strong, .error-state strong { display: block; margin-bottom: 5px; color: var(--ink); font-weight: 650; }
.standalone { margin: 70px 0; }

.publisher-section { margin-top: 78px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; display: grid; grid-template-columns: 1.15fr .85fr; }
.publisher-copy, .publisher-note { padding: clamp(30px, 5vw, 58px); }
.publisher-copy > p:not(.section-kicker) { max-width: 650px; color: var(--muted); }
.benefit-list { margin: 28px 0 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.benefit-list li { display: flex; align-items: start; gap: 10px; color: var(--ink-2); }
.benefit-list li::before { content: "✓"; color: var(--success); font-weight: 700; }
.publisher-note { background: var(--soft); display: flex; flex-direction: column; justify-content: center; }
.publisher-note > span { color: var(--orange-dark); font-size: .77rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.publisher-note > strong { margin: 10px 0; font-size: 1.42rem; font-weight: 620; line-height: 1.18; }
.publisher-note p { margin: 0 0 23px; color: var(--muted); }
.publisher-note .primary-button { align-self: start; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; align-items: stretch; }
.plan-card { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: white; display: flex; flex-direction: column; }
.plan-card.featured { border-color: #e4aa7e; box-shadow: 0 12px 32px rgba(207, 92, 8, .09); }
.plan-label { position: absolute; right: 18px; top: 18px; padding: 4px 8px; border-radius: 999px; background: #fff1e6; color: var(--orange-dark); font-size: .68rem; font-weight: 700; }
.plan-card h3 { margin: 0 0 8px; font-size: 1.24rem; font-weight: 650; }
.plan-card > p { margin: 0; min-height: 50px; color: var(--muted); }
.plan-price { margin-top: 24px; display: flex; align-items: baseline; gap: 7px; }
.plan-price strong { font-size: 1.8rem; font-weight: 620; letter-spacing: -.035em; }
.plan-price small, .annual-price { color: var(--muted); font-size: .8rem; }
.plan-card .annual-price { min-height: auto; margin: 1px 0 19px; }
.plan-card ul { min-height: 176px; margin: 0 0 24px; padding: 0; display: grid; align-content: start; gap: 9px; list-style: none; }
.plan-card li { color: var(--ink-2); font-size: .9rem; }
.plan-card li::before { content: "✓"; margin-right: 8px; color: var(--teal-dark); }
.plan-card > a { margin-top: auto; }
.plans-footnote { max-width: 820px; margin: 18px auto 0; color: var(--muted); font-size: .82rem; text-align: center; }

.detail-shell { padding-bottom: 18px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 20px; color: var(--teal-dark); text-decoration: none; font-weight: 620; }
.back-link span { font-size: 1.2rem; }
.station-hero { min-height: 340px; position: relative; overflow: hidden; border-radius: 26px; background-color: #112f39; background-position: center; background-size: cover; box-shadow: 0 24px 60px rgba(17,47,57,.16); }
.station-hero:not(.has-cover)::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 18%, rgba(87,142,158,.4), transparent 29%), radial-gradient(circle at 13% 0%, rgba(255,123,22,.18), transparent 25%), linear-gradient(125deg, transparent 45%, rgba(255,255,255,.045) 45% 46%, transparent 46% 58%, rgba(255,255,255,.03) 58% 59%, transparent 59%); }
.station-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,27,35,.97), rgba(7,27,35,.13) 78%); }
.station-hero-content { position: absolute; z-index: 1; inset: auto 0 0; padding: clamp(25px, 4vw, 42px); color: white; display: flex; justify-content: space-between; align-items: end; gap: 28px; }
.station-hero-copy { min-width: 0; display: flex; align-items: center; gap: 21px; }
.station-hero-logo { width: 104px; height: 104px; flex: 0 0 auto; border: 4px solid rgba(255,255,255,.9); border-radius: 24px; background: white; background-position: center; background-size: cover; color: var(--ink); display: grid; place-items: center; font-size: 1.35rem; font-weight: 650; box-shadow: 0 15px 34px rgba(7,24,31,.28); }
.station-hero h1 { margin: 4px 0 0; font-size: clamp(2.2rem, 4vw, 3.55rem); font-weight: 590; line-height: 1; letter-spacing: -.045em; }
.station-hero p { margin: 0; color: #d0dee1; }
.station-live-status { display: flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 730; letter-spacing: .1em; }
.station-live-status i { width: 8px; height: 8px; border-radius: 50%; background: #ff9b50; box-shadow: 0 0 0 5px rgba(255,155,80,.14); }
.station-meta-chips { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 7px; }
.station-meta-chips span { padding: 5px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); color: #dce8eb; font-size: .75rem; }
.listen-large { min-width: 178px; min-height: 52px; padding: 0 20px; border: 0; border-radius: 13px; background: var(--action-orange); color: white; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 680; cursor: pointer; box-shadow: 0 12px 28px rgba(112,47,0,.25); }
.listen-large .icon { width: 21px; height: 21px; fill: currentColor; }

.profile-layout { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 22px; align-items: start; }
.profile-main, .profile-sidebar { min-width: 0; display: grid; gap: 22px; }
.profile-sidebar { position: sticky; top: 96px; }
.detail-card { min-width: 0; padding: clamp(22px, 2.5vw, 32px); border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 10px 30px rgba(23,43,54,.045); }
.detail-card h2 { margin: 4px 0 14px; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 660; letter-spacing: -.025em; }
.detail-card p { color: var(--muted); }
.card-kicker, .detail-heading > div > span { color: var(--orange-dark); font-size: .69rem; font-weight: 750; letter-spacing: .1em; }
.about-card { overflow: hidden; position: relative; background: linear-gradient(145deg, #fff 58%, #f0f6f7); }
.about-card::after { content: ""; width: 180px; height: 180px; position: absolute; right: -70px; bottom: -95px; border: 28px solid rgba(87,142,158,.08); border-radius: 50%; }
.about-card > p { max-width: 850px; margin-bottom: 26px; position: relative; z-index: 1; color: var(--ink-2); font-size: 1.04rem; line-height: 1.78; }
.about-signature { position: relative; z-index: 1; display: grid; }
.about-signature span { font-weight: 680; }
.about-signature small { color: var(--muted); }
.detail-heading { margin-bottom: 20px; display: flex; justify-content: space-between; align-items: end; gap: 22px; }
.detail-heading h2 { margin: 3px 0 0; }
.detail-heading > p { max-width: 390px; margin: 0; text-align: right; font-size: .84rem; }

.connect-card > p { margin: 0 0 20px; font-size: .9rem; }
.social-links { display: flex; flex-wrap: wrap; gap: 13px; }
.social-link { min-width: 50px; color: var(--ink-2); display: grid; justify-items: center; gap: 5px; text-decoration: none; }
.social-link > span { width: 46px; height: 46px; border-radius: 14px; background: var(--soft); color: var(--ink); display: grid; place-items: center; transition: transform .16s ease, box-shadow .16s ease; }
.social-link:hover > span, .social-link:focus-visible > span { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(23,43,54,.14); }
.social-link small { max-width: 62px; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: .66rem; white-space: nowrap; }
.social-icon { width: 23px; height: 23px; }
.social-instagram > span { background: linear-gradient(145deg, #833ab4, #e1306c 58%, #f77737); color: white; }
.social-facebook > span { background: #1877f2; color: white; }
.social-youtube > span { background: #ff0033; color: white; }
.social-whatsapp > span { background: #20b85a; color: white; }
.social-website > span { background: #e7f1f3; color: var(--teal-dark); }
.station-address { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: center; }
.station-address > span { grid-column: 1 / -1; color: var(--muted); font-size: .7rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.station-address > a { min-width: 0; overflow: hidden; color: var(--teal-dark); text-overflow: ellipsis; font-size: .86rem; font-weight: 680; text-decoration: none; white-space: nowrap; }
.station-address > button { min-height: 34px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); display: inline-flex; align-items: center; gap: 5px; font-size: .73rem; font-weight: 640; cursor: pointer; }
.station-address > button .icon { width: 15px; height: 15px; }
.commercial-card h2 { font-size: 1.25rem; }
.commercial-card .lead-form input, .commercial-card .lead-form textarea { background: white; }

.public-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 320px)); justify-content: start; gap: 13px; }
.public-team-card { min-width: 0; min-height: 102px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: #fbfcfc; display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 13px; align-items: center; }
.public-team-photo { width: 70px; height: 70px; overflow: hidden; border-radius: 20px; background: linear-gradient(135deg, #dce9eb, #eef3f4); color: var(--teal-dark); display: grid; place-items: center; font-weight: 700; }
.public-team-photo img { width: 100%; height: 100%; object-fit: cover; }
.public-team-card > div:last-child { min-width: 0; }
.public-team-card > div:last-child > span { color: var(--orange-dark); font-size: .66rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.public-team-card h3 { margin: 2px 0 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .98rem; }
.public-team-card p { margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: .76rem; }

.schedule-browser { min-width: 0; }
.schedule-tabs { margin: 0 0 20px; padding: 5px; border-radius: 14px; background: var(--soft); display: grid; grid-template-columns: repeat(7, minmax(64px, 1fr)); gap: 5px; }
.schedule-tabs button { min-width: 0; min-height: 54px; padding: 7px 5px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--muted); display: grid; place-items: center; align-content: center; cursor: pointer; }
.schedule-tabs button span { font-size: .79rem; font-weight: 680; }
.schedule-tabs button small { font-size: .62rem; }
.schedule-tabs button.active { border-color: #c4d8dc; background: white; color: var(--ink); box-shadow: 0 4px 12px rgba(23,43,54,.07); }
.schedule-tabs button:disabled { opacity: .42; cursor: default; }
.schedule-day-heading { margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; }
.schedule-day-heading strong { font-size: .94rem; }
.schedule-day-heading span { color: var(--muted); font-size: .75rem; }
.program-list { display: grid; gap: 10px; }
.program-row { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fbfcfc; display: grid; grid-template-columns: 68px minmax(0, 1fr) minmax(170px, .34fr); gap: 15px; align-items: center; }
.program-row.on-now { border-color: #e3a16e; background: linear-gradient(90deg, #fff8f2, #fff); box-shadow: inset 4px 0 var(--action-orange); }
.program-art { width: 68px; height: 68px; overflow: hidden; border-radius: 17px; background: linear-gradient(145deg, var(--ink), #376978); color: white; display: grid; place-items: center; }
.program-art img { width: 100%; height: 100%; object-fit: cover; }
.program-art .icon { width: 29px; height: 29px; }
.program-copy { min-width: 0; }
.program-title-line { display: flex; align-items: center; gap: 8px; }
.program-title-line > strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; }
.program-title-line > span { flex: 0 0 auto; padding: 3px 7px; border-radius: 999px; background: #fff0e4; color: var(--orange-dark); font-size: .6rem; font-weight: 760; letter-spacing: .05em; }
.program-copy > p { margin: 4px 0 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: .8rem; }
.program-time { display: grid; justify-items: start; color: var(--muted); }
.program-time > strong { color: var(--ink); font-size: 1rem; }
.program-time > strong i { padding: 0 3px; color: var(--muted); font-style: normal; font-weight: 400; }
.program-time > small { margin-top: 5px; color: var(--muted); font-size: .67rem; }
.program-host { margin-top: 7px; display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .77rem; }
.program-host img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.program-host span { min-width: 0; display: grid; }
.program-host small { color: var(--muted); font-size: .62rem; }
.empty-copy { margin: 0; color: var(--muted); }
.lead-form { display: grid; gap: 12px; }
.honeypot { position: absolute !important; left: -10000px !important; }
.consent { display: flex !important; gap: 9px; align-items: start; color: var(--muted) !important; font-weight: 400 !important; }
.consent input { width: 18px; min-height: 18px; margin-top: 3px; }
.consent a { color: var(--teal-dark); font-weight: 600; }

.legal-shell { width: 100%; margin: 0; padding: 20px 0 60px; }
.legal-shell h1 { margin: 0; font-size: clamp(2.15rem, 5vw, 3.8rem); font-weight: 580; line-height: 1.04; letter-spacing: -.045em; }
.legal-shell .legal-intro { margin: 20px 0 38px; color: var(--muted); font-size: 1.07rem; }
.legal-shell h2 { margin: 29px 0 7px; font-size: 1.2rem; font-weight: 640; }
.legal-shell p { max-width: 1120px; color: var(--ink-2); }

.signup-shell { width: 100%; margin: 0; }
.signup-heading { max-width: 720px; margin: 6px 0 32px; }
.signup-heading h1, .success-shell h1 { margin: 0; font-size: clamp(2.1rem, 4.6vw, 3.7rem); font-weight: 580; line-height: 1.04; letter-spacing: -.045em; }
.signup-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.signup-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; align-items: start; }
.signup-form-card, .signup-summary-card { border: 1px solid var(--line); border-radius: 16px; background: white; }
.form-section { padding: 28px; border-bottom: 1px solid var(--line); }
.form-section:last-child { border-bottom: 0; }
.form-section-title { margin-bottom: 21px; display: flex; gap: 12px; align-items: start; }
.form-section-title > span { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%; background: var(--soft); color: var(--teal-dark); display: grid; place-items: center; font-size: .82rem; font-weight: 700; }
.form-section-title h2 { margin: 0; font-size: 1.14rem; font-weight: 650; }
.form-section-title p { margin: 2px 0 0; color: var(--muted); font-size: .87rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; align-items: start; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid.nested { padding: 16px; border-radius: 11px; background: var(--soft); }
.form-grid label small, .form-field small { color: var(--muted); font-size: .75rem; font-weight: 400; }
.form-field { min-width: 0; display: flex; flex-direction: column; align-self: start; gap: 6px; }
.form-field > label { min-height: 20px; align-content: end; }
.input-action-row { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: stretch; }
.input-action-row.compact-action { grid-template-columns: minmax(0, 1fr) 112px; }
.field-action { min-height: 46px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 9px; background: var(--ink); color: white; font-size: .82rem; font-weight: 650; white-space: nowrap; cursor: pointer; }
.field-action:hover:not(:disabled) { border-color: #284753; background: #284753; }
.field-feedback { display: block; min-height: 18px; color: var(--muted) !important; font-size: .76rem !important; line-height: 1.35; }
.field-feedback:empty { display: none; min-height: 0; }
.field-feedback.loading { color: var(--teal-dark) !important; }
.field-feedback.success { color: var(--success) !important; font-weight: 600 !important; }
.field-feedback.warning { color: #8a560f !important; font-weight: 600 !important; }
.field-feedback.error { color: var(--danger) !important; }
.signup-plan-list { display: grid; gap: 9px; }
.signup-plan { padding: 14px; border: 1px solid var(--line); border-radius: 11px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; cursor: pointer; }
.signup-plan.selected { border-color: var(--teal); background: #f3f8f9; box-shadow: 0 0 0 2px rgba(87,142,158,.1); }
.signup-plan input { width: 18px; min-height: 18px; }
.signup-plan span { display: grid; }
.signup-plan strong { font-size: .94rem; font-weight: 650; }
.signup-plan small { color: var(--muted); font-weight: 400; }
.signup-plan b { color: var(--ink-2); font-size: .85rem; font-weight: 650; }
.billing-cycle { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
.billing-cycle > span { margin-right: 3px; color: var(--muted); font-size: .82rem; }
.billing-cycle label { display: flex; align-items: center; gap: 6px; font-size: .86rem; }
.billing-cycle input { width: 17px; min-height: 17px; }
.signup-summary-card { position: sticky; top: 94px; padding: 23px; }
.signup-summary-card > img { width: 114px; height: 46px; object-fit: contain; object-position: left center; }
#signup-summary { margin: 20px 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); display: grid; }
#signup-summary > span { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
#signup-summary > strong { margin-top: 2px; font-size: 1.22rem; font-weight: 650; }
.summary-price { margin-top: 14px; font-size: 1.45rem; font-weight: 620; }
.summary-price small { color: var(--muted); font-size: .78rem; font-weight: 400; }
#signup-summary p { margin: 11px 0 0; color: var(--muted); font-size: .8rem; }
.signup-summary-card ul { padding: 0; display: grid; gap: 8px; list-style: none; color: var(--ink-2); font-size: .85rem; }
.signup-summary-card li::before { content: "✓"; margin-right: 7px; color: var(--success); }
.signup-summary-card .primary-button { width: 100%; margin-top: 15px; }
.signup-summary-card > small { display: block; margin-top: 10px; color: var(--muted); text-align: center; }
.success-shell { max-width: 680px; margin: 60px auto; padding: clamp(30px, 6vw, 60px); border: 1px solid var(--line); border-radius: 18px; background: white; text-align: center; }
.success-shell > img { width: 72px; height: 72px; object-fit: contain; }
.success-shell > p:not(.section-kicker) { color: var(--muted); }
.success-summary { max-width: 360px; margin: 24px auto; padding: 15px; border-radius: 11px; background: var(--soft); display: grid; grid-template-columns: 1fr 1fr; gap: 7px; text-align: left; }
.success-summary span { color: var(--muted); }
.success-summary strong { text-align: right; font-weight: 650; }
.success-shell > .primary-button { margin: 0 auto 16px; }
.success-shell > .text-link { display: flex; justify-content: center; color: var(--teal-dark); }

.site-footer { min-height: 210px; padding: 42px var(--page-gutter); background: var(--ink); color: white; display: flex; justify-content: space-between; gap: 36px; }
.footer-brand img { width: 120px; }
.footer-brand > span { color: #ff9b50; }
.site-footer p { max-width: 430px; margin: 7px 0 0; color: #b8c9ce; }
.footer-links { display: flex; align-items: start; gap: 25px; }
.footer-links a { color: #d4e0e3; text-decoration: none; font-size: .9rem; }

.player { position: fixed; z-index: 20; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(780px, calc(100% - 28px)); min-height: 82px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.09); border-radius: 17px; background: rgba(18,43,52,.98); color: white; box-shadow: 0 20px 58px rgba(11,32,41,.35); display: grid; grid-template-columns: 58px minmax(0, 1fr) auto 48px; align-items: center; gap: 14px; backdrop-filter: blur(14px); }
.player-art { width: 58px; height: 58px; border-radius: 12px; background: linear-gradient(135deg, var(--teal), #315d69); background-position: center; background-size: cover; color: white; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.player-copy { min-width: 0; display: grid; }
.player-state { color: #ffaf73; display: flex; align-items: center; gap: 6px; font-size: .62rem; letter-spacing: .08em; }
.player-state i { width: 6px; height: 6px; border-radius: 50%; background: #ff9b50; box-shadow: 0 0 0 4px rgba(255,155,80,.12); }
.player-state b { font-weight: 750; }
.player-copy strong, .player-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-copy strong { margin-top: 1px; font-size: .98rem; }
.player-copy small { color: #bdd0d5; }
.player-volume { display: flex; align-items: center; gap: 7px; }
.player-volume button { width: 34px; height: 34px; padding: 0; border: 0; background: transparent; color: #d5e2e5; display: grid; place-items: center; cursor: pointer; }
.player-volume button .icon { width: 19px; height: 19px; }
.player-volume input { width: 84px; min-height: auto; padding: 0; accent-color: #ff9b50; box-shadow: none; }
.player-toggle { width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: white; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.player-toggle .icon { width: 21px; height: 21px; }
.player-toggle.loading { position: relative; color: transparent; }
.player-toggle.loading .icon { opacity: 0; }
.player-toggle.loading::after { content: ""; width: 18px; height: 18px; position: absolute; border: 2px solid #d1dcdf; border-top-color: var(--action-orange); border-radius: 50%; animation: player-spin .75s linear infinite; }
@keyframes player-spin { to { transform: rotate(360deg); } }
.toast { position: fixed; z-index: 30; top: 20px; right: 20px; max-width: 390px; padding: 13px 16px; border-radius: 10px; background: var(--ink); color: white; box-shadow: var(--shadow); }
.toast.error { background: var(--danger); }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .station-grid, .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card:last-child { grid-column: 1 / -1; }
  .publisher-section, .profile-layout { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signup-layout { grid-template-columns: 1fr; }
  .signup-summary-card { position: static; }
  .public-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1500px) {
  .station-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .profile-layout { grid-template-columns: minmax(0, 1fr) minmax(330px, 400px); }
}

@media (max-width: 700px) {
  :root { --page-gutter: 16px; }
  .header-inner, main { width: 100%; }
  .header-inner { min-height: 66px; }
  .brand img { width: 105px; height: 42px; }
  .site-header nav { gap: 12px; }
  .site-header nav a { display: none; }
  .site-header nav .header-cta { display: inline-flex; }
  main { padding-top: 18px; }
  .hero { padding: 29px 20px; border-radius: 16px; gap: 29px; }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 3.1rem); }
  .search-panel, .form-grid { grid-template-columns: 1fr; }
  .search-panel-heading, .search-main, .search-panel button, .form-grid .full { grid-column: auto; }
  .input-action-row, .input-action-row.compact-action { grid-template-columns: 1fr; }
  .field-action { width: 100%; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; }
  .section-heading > p { text-align: left; }
  .station-grid, .plan-grid { grid-template-columns: 1fr; }
  .plan-card:last-child { grid-column: auto; }
  .publisher-section { margin-top: 58px; }
  .publisher-copy, .publisher-note { padding: 27px 21px; }
  .detail-shell { padding-bottom: 18px; }
  .station-hero { min-height: 345px; border-radius: 17px; }
  .station-hero-content { padding: 21px; align-items: stretch; flex-direction: column; }
  .station-hero-copy { align-items: center; }
  .station-hero-logo { width: 76px; height: 76px; border-radius: 17px; }
  .station-hero h1 { font-size: clamp(1.8rem, 9vw, 2.55rem); }
  .station-meta-chips { gap: 5px; }
  .listen-large { width: 100%; }
  .profile-layout { margin-top: 16px; gap: 16px; }
  .profile-main, .profile-sidebar { gap: 16px; }
  .profile-sidebar { grid-template-columns: 1fr; }
  .detail-card { padding: 19px; }
  .detail-heading { align-items: start; flex-direction: column; gap: 3px; }
  .detail-heading > p { text-align: left; }
  .public-team-grid { grid-template-columns: 1fr; }
  .schedule-tabs { margin-inline: -4px; padding: 4px; display: flex; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; }
  .schedule-tabs::-webkit-scrollbar { display: none; }
  .schedule-tabs button { flex: 0 0 70px; }
  .program-row { grid-template-columns: 54px minmax(0, 1fr); gap: 11px; align-items: start; }
  .program-art { width: 54px; height: 54px; border-radius: 12px; }
  .program-time { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid var(--line); grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
  .program-host { margin-top: 0; }
  .form-section { padding: 22px 18px; }
  .signup-plan { grid-template-columns: auto 1fr; }
  .signup-plan b { grid-column: 2; }
  .site-footer { flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
  .player-visible main { padding-bottom: 165px; }
  .player { bottom: 0; width: 100%; min-height: 78px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-width: 1px 0 0; border-radius: 17px 17px 0 0; grid-template-columns: 48px minmax(0, 1fr) 36px 44px; gap: 10px; }
  .player-art { width: 48px; height: 48px; border-radius: 10px; }
  .player-copy strong { font-size: .9rem; }
  .player-copy small { font-size: .72rem; }
  .player-volume { display: flex; }
  .player-volume input { display: none; }
  .player-volume button { width: 36px; height: 36px; }
  .player-toggle { width: 43px; height: 43px; }
}

@media (max-width: 430px) {
  .station-hero { min-height: 375px; }
  .station-hero-copy { align-items: start; flex-direction: column; gap: 12px; }
  .station-meta-chips span { font-size: .69rem; }
  .social-links { gap: 10px; }
  .social-link { min-width: 45px; }
  .social-link > span { width: 43px; height: 43px; border-radius: 12px; }
  .public-team-card { grid-template-columns: 56px minmax(0, 1fr); padding: 11px; }
  .public-team-photo { width: 56px; height: 56px; border-radius: 14px; }
  .program-title-line { align-items: start; flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
