@font-face {
  font-family: Inter;
  src: url(inter-greek-wght-normal.woff2) format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0370-03FF;
}
@font-face {
  font-family: Inter;
  src: url(inter-latin-wght-normal.woff2) format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F,U+2190-2199;
}

:root {
  color-scheme: dark;
  --bg: #070d1b;
  --panel: #101b31;
  --line: #253a59;
  --ink: #f1f7ff;
  --muted: #a9bfdf;
  --accent: #56aaff;
  --accent-bg: #193761;
  --radius: 20px;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 100% 54rem at 50% -12rem, #173463, transparent 74%),
    linear-gradient(180deg, #091224, var(--bg) 65rem);
}
button, input { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }

.shell { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.masthead {
  padding-block: 22px;
  border-bottom: 1px solid #305582;
  background: linear-gradient(90deg, #0c1930, #081224);
  box-shadow: 0 1px 22px #0484dc20;
}
.masthead h1 { font-size: clamp(1.2rem, 2.3vw, 1.65rem); font-weight: 850; letter-spacing: -.065em; }
.masthead a { display: inline-block; text-decoration: none; }
.masthead span { color: var(--accent); }
.main { padding-block: 33px 66px; }
h2 { font-size: clamp(1.65rem, 3.7vw, 2.9rem); font-weight: 760; letter-spacing: -.06em; line-height: 1.12; }
.broadcast {
  overflow: hidden;
  border: 1px solid #315280;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 24px 55px #030914a0, 0 0 28px #1684f313;
}

.gallery-grid a {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.stage { position: relative; isolation: isolate; aspect-ratio: 16 / 9; background: #040914; overflow: hidden; }
.player-start, .media { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-badge {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #8bcfff5c;
  border-radius: 6px;
  background: #102748e6;
  font-size: .69rem;
  font-weight: 780;
  letter-spacing: .13em;
}
.live-badge span, .channel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.live-badge span { box-shadow: 0 0 10px #56aaff80; }
.play {
  position: absolute;
  z-index: 1;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: clamp(56px, 7vw, 86px);
  aspect-ratio: 1;
  border: 1px solid #a9dbff;
  border-radius: 50%;
  background: linear-gradient(145deg, #92dcff, #4e9eff);
  box-shadow: 0 4px 30px #0613268c, 0 0 0 8px #132e5250;
  transition: background .18s, box-shadow .18s;
}
.play:hover { background: #8dceff; box-shadow: 0 4px 30px #0613268c, 0 0 0 12px #132e5270; }
.play:focus-visible { outline-color: white; }
.play span {
  width: 0;
  height: 0;
  margin-left: 4px;
  border: 11px solid transparent;
  border-left: 17px solid #061529;
  border-right: 0;
}
.player-message:not(:empty) {
  position: absolute;
  z-index: 1;
  inset: auto 12px 12px;
  padding: 10px;
  border-radius: 8px;
  background: #070d1beb;
  text-align: center;
}
.media > .clappr-host { position: absolute; inset: 0; }
.player-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  min-height: 66px;
  padding: 10px 20px;
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, #101f38, #0d182d);
}
.current-channel { letter-spacing: -.025em; font-size: 1.05rem; }
.stop-playback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #13243f;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 650;
  text-decoration: none;
}
.stop-playback::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}
.stop-playback:hover { border-color: var(--accent); }
.channels {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 13px 20px;
  border-bottom: 1px solid #315280;
  background: linear-gradient(90deg, #142947, #0e1b32);
}
.channels h3 { color: var(--muted); font-size: .84rem; }
.channel-list { display: grid; grid-template-columns: repeat(2, minmax(0, 155px)); gap: 8px; width: 100%; }
.channel {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 14px;
  gap: 8px;
  align-items: center;
  text-align: left;
  min-height: 48px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #13243f;
  font-size: .84rem;
  font-weight: 680;
}
.channel:hover { border-color: #5889c7; }
.channel[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-bg); box-shadow: inset 0 0 18px #56aaff18; }
.channel-dot { justify-self: center; visibility: hidden; }
.channel[aria-pressed="true"] .channel-dot { visibility: visible; }

.gallery { margin-top: clamp(38px, 5.5vw, 72px); }
.gallery h2 { display: flex; align-items: center; gap: 18px; font-size: clamp(1.55rem, 3vw, 2.3rem); }
.gallery h2::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, #315280, transparent); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; padding: 0; margin: 20px 0 0; list-style: none; }
.gallery-grid a { display: block; position: relative; border-radius: 14px; box-shadow: 0 10px 26px #02081755; transition: border-color .18s; }
.gallery-grid a:hover { border-color: var(--accent); }
.gallery-grid img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s; }
.gallery-grid a:hover img { transform: scale(1.025); }
.gallery-grid a::after {
  content: "↗";
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #070d1be0;
  color: #fff;
  opacity: 0;
  transition: opacity .2s;
}
.gallery-grid a:hover::after, .gallery-grid a:focus-visible::after { opacity: 1; }
.lightbox { padding: 14px; width: min(1060px, calc(100% - 26px)); max-height: calc(100% - 24px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--ink); }
.lightbox::backdrop { background: #020819e8; }
.lightbox-bar, .lightbox-actions { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.lightbox-bar { margin-bottom: 10px; padding-left: 8px; }
.lightbox-position { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .85rem; }
.lightbox-image { background: #060d1d; border-radius: 9px; width: 100%; height: auto; max-height: min(70vh, calc(100vh - 150px)); object-fit: contain; }
.lightbox-actions { justify-content: center; margin-top: 10px; }
.icon-button { display: grid; place-items: center; min-width: 42px; min-height: 42px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: #13243f; font-size: 1.3rem; }
.icon-button:hover { background: var(--accent-bg); border-color: var(--accent); }

.site-footer { border-top: 1px solid var(--line); padding: 25px 0 32px; }
.footer-content { display: flex; flex-wrap: wrap; gap: 17px 28px; align-items: start; }
.footer-content form { display: flex; gap: 7px; max-width: 100%; }
.footer-content input { min-width: 0; width: min(46vw, 220px); }
.footer-content input, .footer-content button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--panel);
  color: var(--ink);
  font-size: .83rem;
}
.footer-content button:hover { border-color: var(--accent); }
.feeds, .visitor-counts { color: var(--muted); font-size: .82rem; }
.feeds { display: flex; gap: 14px; margin-left: auto; padding-block: 11px; }
.feeds a { text-decoration: none; }
.feeds a:hover { text-decoration: underline; }
.visitor-counts { padding: 11px 0; }
.visitor-counts iframe { display: block; max-width: 100%; margin-top: 10px; border: 0; }
.search-view { min-height: 55vh; }
.search-view p { color: var(--muted); margin: 19px 0; line-height: 1.6; }
.search-view b { overflow-wrap: anywhere; color: var(--ink); }
.search-view a { color: var(--accent); }
.counter-frame { min-height: auto; padding: 7px; border-radius: 8px; background: var(--panel); font-size: .78rem; }
.counter-frame a { color: var(--muted); }
.counter-group { display: flex; gap: 14px; }
.counter-group img { max-width: 130px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 900px) {
  .shell { width: calc(100% - 48px); }
}
@media (max-width: 700px) {
  .masthead { padding-block: 17px; }
  .shell { width: calc(100% - 32px); }
  .main { padding-block: 20px 44px; }
  .broadcast { border-radius: 15px; }
  .player-bar { padding: 10px 13px; }
  .live-badge { top: 12px; left: 12px; }
  .channels { grid-template-columns: 1fr; gap: 8px; padding: 11px; }
  .channel-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .channel { font-size: .83rem; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 14px; }
  .gallery-grid a { border-radius: 9px; }
  .feeds { margin-left: 0; }
}
@media (orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
  .masthead { padding-block: 10px; }
  .main { padding-top: 12px; }
  .channels { padding-block: 7px; }
  .broadcast {
    width: min(100%, max(290px, calc((100svh - 138px) * 1.77778)));
    margin-inline: auto;
  }
}
@media (hover: none) {
  .gallery-grid a::after { opacity: 1; width: 24px; height: 24px; bottom: 6px; right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}


.masthead h1 {
  font-size: clamp(1rem, 2.4vw, 1.65rem);
  letter-spacing: -.025em;
  line-height: 1.35;
  text-wrap: pretty;
}
.masthead h1 a { color: var(--accent); white-space: nowrap; }
.masthead h1 a:hover { text-decoration: underline; }
.radio-embed { width: 100%; max-width: 640px; }
.radio-embed crystal-player { display: block; }
.radio-section { margin-top: clamp(28px, 5vw, 54px); }
.radio-section h2 { margin-bottom: 16px; font-size: clamp(1.4rem, 3vw, 2rem); }
.station-links { flex-wrap: wrap; justify-content: start; }
