:root {
  --orange: #f07a1a;
  --orange-hot: #d9650a;
  --navy: #1e3a5f;
  --ink: #1a1a1a;
  --paper: #e5decf;
  --mute: #5a6570;
  --line: #d7dee6;
  --card: #ffffff;
  --font: "Segoe UI", system-ui, sans-serif;
}

@font-face {
  font-family: "Loki Cola";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/loki-cola.ttf") format("truetype");
}
@font-face {
  font-family: "Lobster";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/lobster-latin.woff2") format("woff2");
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); font-family: var(--font); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.site img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.site { min-height: 100vh; display: flex; flex-direction: column; }
.main { flex: 1; padding-bottom: 6rem; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }

.header { background: #fff; border-bottom: 1px solid var(--line); }
.brand-header { display: block; background: #fff; padding: 0; line-height: 0; }
.brand-header img { margin: 0 auto; width: 100%; max-width: 72rem; height: auto; }
.nav-bar { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: #e5decf; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.nav-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem 1rem; max-width: 72rem; margin: 0 auto; }
.nav-links { display: none; gap: 1rem; font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); }
.nav-links a:hover { color: var(--orange); }
.phone-link { font-weight: 600; color: var(--navy); }
.phone-link:hover { color: var(--orange); }
.menu-btn { border: 1px solid rgba(30,58,95,.2); background: #fff; padding: .5rem .75rem; font-weight: 600; color: var(--navy); cursor: pointer; }
.mobile-menu { display: none; flex-direction: column; gap: .5rem; border-top: 1px solid var(--line); background: #fff; padding: .75rem 1rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: .9rem; font-weight: 600; text-transform: uppercase; color: var(--navy); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: .25rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .7rem 1.15rem; border: none; cursor: pointer;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-hot); }
.btn-ghost { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-sm { font-size: .75rem; padding: .55rem .9rem; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: .35rem;
  box-shadow: 0 2px 10px rgba(30,58,95,.06); overflow: hidden;
}
.card-pad { padding: 1.25rem; }
.contact-map { margin-top: 1rem; }
.contact-map iframe { display: block; width: 100%; height: 20rem; border: 0; }
.flash-card { border-bottom: 4px solid var(--orange); }
.muted { color: var(--mute); }
.navy { color: var(--navy); }
.orange { color: var(--orange); }
.grid-home { display: grid; gap: 1.25rem; padding: 2rem 1rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 1024px) {
  .grid-home { grid-template-columns: minmax(0,1fr) 20rem; }
}
.stack { display: flex; flex-direction: column; gap: 1.25rem; }
.h1 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 700; color: var(--navy); line-height: 1.25; margin: .5rem 0 0; }
.h2 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: 0; }
.eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--orange); margin: 0; }
.date { font-size: .75rem; color: var(--mute); margin: .5rem 0 0; }
.banner {
  position: relative; display: block; overflow: hidden; border-radius: .2rem;
  box-shadow: 0 2px 10px rgba(30,58,95,.08);
}
.banner img { width: 100%; height: 7rem; object-fit: cover; }
.banner span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(26,26,26,.55); color: #fff; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; text-align: center; padding: .5rem;
}
.banner.navy-overlay span { background: rgba(30,58,95,.7); }
button.banner {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: center;
  -webkit-appearance: none;
  appearance: none;
}
.app-install-banner { display: none; }
@media (max-width: 56rem) {
  .app-install-banner:not([hidden]) { display: block; }
}
@media (display-mode: standalone) {
  .app-install-banner { display: none !important; }
}
.ad-stack { display: flex; flex-direction: column; gap: .75rem; }
.ad-banner {
  display: block; overflow: hidden; border-radius: .2rem; background: #fff;
  box-shadow: 0 2px 10px rgba(30,58,95,.08);
}
.ad-banner img { width: 100%; height: auto; }

.schedule-list { list-style: none; margin: 0; padding: 0; }
.schedule-list li { display: flex; gap: .75rem; padding: .45rem 0; border-top: 1px solid var(--line); font-size: .9rem; }
.schedule-list .time { width: 5rem; font-weight: 700; flex-shrink: 0; }
.schedule-list a:hover { color: var(--orange); }

.footer { margin-top: auto; border-top: 1px solid var(--line); background: #fff; padding: 2.5rem 0 7rem; }
.footer-stack { max-width: 72rem; margin: 0 auto; padding: 0 1rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 100%; color: var(--navy); }
.footer-brand img { width: 17.5rem; max-width: 100%; height: auto; margin: 0; }
.footer-brand strong { margin: .14em 0 0; font-family: "Loki Cola", cursive; font-size: 4.2rem; font-style: normal; font-weight: 400; white-space: nowrap; text-align: center; line-height: 1; color: #fff; -webkit-text-stroke: 0.09em #f86000; paint-order: stroke fill; }
.listen-since {
  margin: -1.85rem 0 .15rem;
  text-align: center;
  font-family: "Lobster", cursive;
  font-size: 1.76rem;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  -webkit-text-stroke: 0.1em #f86000;
  paint-order: stroke fill;
}
.footer-since { margin: -.55rem 0 0; }
@media (max-width: 56rem) {
  .footer-brand strong { font-size: 6.6vw; }
}
@media (max-width: 36rem) {
  .footer-brand strong { font-size: 1.7rem; white-space: normal; max-width: 20rem; }
}
.footer-contacts { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: .85rem; row-gap: .25rem; }
.footer-contacts > * { white-space: nowrap; }
.footer-contacts > :not(:last-child)::after { content: "·"; margin-left: .85rem; }
.footer-legal { margin: -.35rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: .85rem; row-gap: .25rem; font-size: .75rem; color: #666; }
.footer-legal > * { white-space: nowrap; }
.footer-legal > :not(:last-child)::after { content: "·"; margin-left: .85rem; }
.footer-credit { margin: -.15rem 0 0; max-width: 36rem; font-size: .75rem; line-height: 1.45; color: #666; }
.footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.onair-frame { margin: 1.25rem auto 0; max-width: 22rem; padding: 1rem 1.15rem; background: #000; border: 3px solid #f86000; border-radius: .35rem; }
.onair-home { margin: .85rem 0 0; max-width: none; text-align: left; }
.onair-home .onair-title { margin-top: .35rem; }
.onair-title { margin: 0; font-size: 1.25rem; font-weight: 700; color: #fff; letter-spacing: .03em; }
.onair-artist { margin: .4rem 0 0; color: #fff; }
.onair-slot { margin: .55rem 0 0; color: #fff; font-size: .9rem; }
.footer-links { margin: .35rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.footer-links .btn { min-width: 11.5rem; }
.site-credits { max-width: 72rem; margin: .15rem auto 0; padding: 0 1rem; text-align: right; font-size: .8rem; }
.site-credits a { color: #666; text-decoration: none; }
.site-credits a:hover { color: var(--navy); }

.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: #111; color: #fff; border-top: 3px solid var(--orange);
  padding: .75rem 1rem;
}
.player-inner { max-width: 72rem; margin: 0 auto; display: flex; align-items: center; gap: .9rem; }
.player-art { width: 3.25rem; height: 3.25rem; border-radius: .35rem; object-fit: cover; background: #222; }
.player-art-logo { width: 3.25rem; height: 3.25rem; object-fit: contain; background: #fff; border-radius: .25rem; }
.player-meta { min-width: 0; flex: 1; }
.player-meta strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-meta span { display: block; font-size: .8rem; color: #bbb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-btn {
  width: 3.25rem; height: 3.25rem; border-radius: 999px; border: none; background: var(--orange);
  color: #111; font-size: 1.25rem; font-weight: 700; cursor: pointer; flex-shrink: 0;
}
.player-skip {
  flex-shrink: 0; border: 1px solid #666; background: transparent; color: #fff;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .45rem .7rem; border-radius: .25rem; cursor: pointer;
}
.player-skip:hover { border-color: var(--orange); color: var(--orange); }
.player.player-ad { border-top-color: #ffd089; }
.player.player-ad .player-meta span { color: var(--orange); }
.player.player-ad-link .player-meta { cursor: pointer; }

.page { max-width: 72rem; margin: 0 auto; padding: 2rem 1rem; }
.page h1 { color: var(--navy); margin-top: 0; }
.market-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.market-nav a { border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; font-size: .8rem; font-weight: 700; background: #fff; }
.market-nav a:hover { border-color: var(--orange); color: var(--orange); }
.prose { white-space: pre-wrap; line-height: 1.6; }
.video-frame { aspect-ratio: 16/9; width: 100%; border: 0; border-radius: .5rem; background: #000; }
.alert { padding: .75rem 1rem; border-radius: .25rem; margin-bottom: 1rem; }
.alert-error { background: #fde8e8; color: #8a1f1f; }
.alert-success { background: #e7f6ec; color: #1b5e2a; }

.gallery-grid {
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
}
.gallery-grid-home {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .gallery-grid-home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: .3rem;
  background: #ddd;
  aspect-ratio: 4 / 3;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  color: inherit;
  font: inherit;
  text-align: left;
}
a.gallery-item { cursor: pointer; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform .35s ease;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: .45rem .55rem;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  pointer-events: none;
}
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.82); padding: 1.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(96vw, 72rem);
  max-height: 86vh;
  width: auto; height: auto;
  pointer-events: none;
  border-radius: .35rem;
  box-shadow: 0 8px 40px rgba(0,0,0,.45);
}
.lightbox-actions {
  position: absolute; top: 1rem; right: 1rem;
  display: flex; gap: .5rem;
}
.lightbox-close,
.lightbox-open {
  border: 1px solid #666; background: #111; color: #fff;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: .45rem .75rem;
  border-radius: .25rem; cursor: pointer;
}
.lightbox-open { border-color: var(--orange); color: var(--orange); }
.lightbox-open[hidden] { display: none; }
.lightbox-close:hover,
.lightbox-open:hover { border-color: var(--orange); color: var(--orange); }

/* Admin */
.admin-shell { min-height: 100vh; background: #111; color: #eee; }
.admin-top { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding: .85rem 1rem; border-bottom: 1px solid #2a2a2a; }
.admin-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.admin-nav a { color: #bbb; }
.admin-nav a:hover, .admin-nav a.active { color: var(--orange); }
.admin-menu { position: relative; }
.admin-menu summary {
  list-style: none; cursor: pointer; color: #bbb;
}
.admin-menu summary::-webkit-details-marker { display: none; }
.admin-menu summary::after {
  content: ""; display: inline-block; margin-left: .35rem;
  border: 4px solid transparent; border-top-color: currentColor; vertical-align: .12em;
}
.admin-menu[open] > summary,
.admin-menu.is-current > summary,
.admin-menu summary:hover { color: var(--orange); }
.admin-menu-panel {
  position: absolute; top: calc(100% + .55rem); left: 0; z-index: 20;
  min-width: 12.5rem; display: flex; flex-direction: column; gap: .1rem;
  padding: .35rem; background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: .35rem;
}
.admin-menu-panel a {
  text-transform: none; letter-spacing: 0; padding: .45rem .6rem; border-radius: .25rem;
}
.admin-menu-panel a:hover,
.admin-menu-panel a.active { background: #242424; }
.admin-main { max-width: 72rem; margin: 0 auto; padding: 1.5rem 1rem; }
.admin-card { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: .5rem; padding: 1rem; }
.field { width: 100%; border: 1px solid #2a2a2a; background: #161616; color: #fff; border-radius: .5rem; padding: .75rem .9rem; margin-top: .35rem; }
label { display: block; margin-top: .9rem; font-size: .85rem; color: #bbb; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: .65rem .4rem; border-bottom: 1px solid #2a2a2a; vertical-align: top; font-size: .9rem; }
.days { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.days label { margin: 0; display: flex; align-items: center; gap: .25rem; border: 1px solid #333; padding: .25rem .5rem; border-radius: 999px; font-size: .75rem; color: #ddd; }
.login-box { max-width: 24rem; margin: 4rem auto; }
.login-logo { overflow: hidden; width: calc(100% + 2rem); margin: -1rem -1rem .75rem; aspect-ratio: 390 / 100; border-radius: .5rem .5rem 0 0; }
.login-logo img { display: block; width: 100%; height: auto; margin-top: calc(-108 / 390 * 100%); }
.row-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.stat { background: #1a1a1a; border: 1px solid #2a2a2a; padding: 1rem; border-radius: .5rem; }
.stat strong { display: block; font-size: 1.75rem; color: var(--orange); }
.banner-editor {
  position: relative;
  width: 100%;
  max-width: 36rem;
  aspect-ratio: 1200 / 480;
  overflow: hidden;
  border-radius: .35rem;
  background: #000;
  touch-action: none;
  user-select: none;
}
.banner-editor img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.banner-editor.is-overlay::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 48%;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  border-top: 3px solid #f86000;
  pointer-events: none;
}
.banner-layer {
  position: absolute;
  transform: translate(-50%, -50%);
  max-width: 90%;
  text-align: center;
  line-height: 1.15;
  font-weight: 700;
  cursor: grab;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0,0,0,.45);
  padding: .15rem .35rem;
  border: 1px dashed transparent;
}
.banner-layer.is-dragging,
.banner-layer:hover { border-color: rgba(248,96,0,.8); cursor: grabbing; }
.banner-editor-card[data-color="white"] .banner-layer { color: #fff; }
.banner-editor-card[data-color="black"] .banner-layer { color: #141414; text-shadow: 0 1px 2px rgba(255,255,255,.35); }
.banner-editor-card[data-color="orange"] .banner-layer { color: #f86000; }
.banner-editor-tools { display: grid; gap: .75rem; margin-top: 1rem; max-width: 36rem; }
.banner-editor-tools input[type="range"] { width: 100%; margin-top: .45rem; }
.banner-editor-check { display: flex; align-items: center; gap: .5rem; margin-top: .25rem; color: #ddd; }
