:root {
  --hitradio-accent: #d7a72b;
  --hitradio-accent-light: #f3d367;
  --hitradio-accent-dark: #916415;
  --hitradio-player: #d7a72b;
  --hitradio-cyan: #111;
  --hitradio-text: #fff;
  --hitradio-muted: #c8c2b5;
}

body.has-hitradio-player { padding-bottom: 86px; }

.hitradio-toggle {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: .85rem 1.3rem;
  border: 0;
  border-radius: 0;
  background: var(--hitradio-accent);
  box-shadow: 0 12px 34px color-mix(in srgb, var(--hitradio-accent) 28%, transparent);
  color: #080808;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
  line-height: 1;
}
.hitradio-toggle:hover { transform: translateY(-1px); filter: brightness(1.08); }
.hitradio-toggle__icon {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}
.hitradio-toggle.is-playing .hitradio-toggle__icon { width: 11px; height: 14px; border: 0; background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%); }
.hitradio-toggle.is-loading .hitradio-toggle__icon { width: 15px; height: 15px; border: 2px solid rgba(0,0,0,.3); border-top-color: #080808; border-radius: 50%; animation: hitradio-spin .75s linear infinite; }
.hitradio-toggle--compact { min-height: 42px; padding: .68rem 1rem; font-size: .84rem; }
.hitradio-toggle--compact .hitradio-toggle__icon { transform: scale(.82); }
@keyframes hitradio-spin { to { transform: rotate(360deg); } }

.hitradio-hero-player {
  --hero-cover-size: 138px;
  display: grid;
  max-width: 860px;
  min-height: 340px;
  grid-template-columns: 138px minmax(0, 1fr);
  align-content: start;
  column-gap: clamp(26px, 5vw, 54px);
  row-gap: 14px;
  margin: 0 auto;
  padding: 0;
}
.hitradio-hero-player__now { position: relative; width: 108px; margin: 0 0 0 15px; padding: 9px 5px; grid-column: 1; grid-row: 1; color: #080808; background: linear-gradient(135deg, var(--hitradio-accent-light), var(--hitradio-accent)); box-shadow: 0 8px 24px rgba(215,167,43,.22); font-size: .62rem; font-weight: 900; letter-spacing: .025em; text-align: center; text-transform: uppercase; white-space: nowrap; }
.hitradio-hero-player__now::after { position: absolute; bottom: -9px; left: 50%; width: 0; height: 0; border-top: 9px solid var(--hitradio-accent); border-right: 9px solid transparent; border-left: 9px solid transparent; transform: translateX(-50%); content: ""; }
.hitradio-hero-player__main { display: contents; }
.hitradio-hero-player__main > p:empty, .hitradio-hero-player > p:empty { display: none; }
.hitradio-hero-player .hitradio-toggle { width: 138px; min-width: 138px; height: 138px; min-height: 138px; aspect-ratio: 1 / 1; align-self: start; justify-self: start; padding: 0; grid-column: 1; grid-row: 2; border-radius: 50% !important; background: linear-gradient(145deg, var(--hitradio-accent-light), var(--hitradio-accent) 58%, var(--hitradio-accent-dark)); box-shadow: 0 0 0 9px rgba(215,167,43,.09), 0 25px 60px rgba(0,0,0,.56), inset 0 1px 1px rgba(255,255,255,.65); }
.hitradio-hero-player .hitradio-toggle:hover { filter: brightness(1.08); transform: scale(1.04); }
.hitradio-hero-player .hitradio-toggle__label { display: none; }
.hitradio-hero-player .hitradio-toggle__icon { border-top-width: 18px; border-bottom-width: 18px; border-left-width: 29px; transform: translateX(5px); }
.hitradio-hero-player .hitradio-toggle.is-playing .hitradio-toggle__icon { width: 16px; height: 20px; transform: none; }
.hitradio-hero-player .hitradio-toggle.is-loading .hitradio-toggle__icon { width: 22px; height: 22px; transform: none; }
.hitradio-hero-player__body { display: grid; grid-template-columns: var(--hero-cover-size) minmax(0, 1fr); align-items: center; gap: 24px; min-width: 0; align-self: start; grid-column: 2; grid-row: 2; }
.hitradio-hero-player__cover { display: block; width: var(--hero-cover-size); height: var(--hero-cover-size); aspect-ratio: 1; object-fit: cover; border: 1px solid rgba(243,211,103,.3); border-radius: 4px; box-sizing: border-box; }
.hitradio-hero-player__copy { min-width: 0; }
.hitradio-hero-player__body > p:empty { display: none; }
.hitradio-hero-player__station { margin: 0 0 7px; color: var(--hitradio-accent-light); font-size: .8rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hitradio-hero-player__title { overflow: visible; max-width: min(610px, 100%); margin: 0; padding-right: .08em; color: var(--hitradio-text); font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.02; overflow-wrap: anywhere; text-overflow: clip; white-space: normal; }
.hitradio-hero-player__artist { max-width: 100%; margin: 12px 0 0; color: var(--hitradio-muted); font-size: clamp(1.1rem, 2.5vw, 1.7rem); overflow-wrap: anywhere; }
.hitradio-hero-player__history { display: inline-flex; align-items: center; width: max-content; margin: 0; padding: 14px 20px; border: 1px solid var(--hitradio-accent); color: var(--hitradio-accent-light); background: rgba(0,0,0,.38); font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.hitradio-hero-player__history span { margin-left: 10px; font-size: 1.1rem; }
.hitradio-hero-player__history { max-width: 100%; box-sizing: border-box; }
.hitradio-hero-player__history-wrap { grid-column: 2; grid-row: 3; min-width: 0; margin: 8px 0 0 calc(var(--hero-cover-size) + 24px); }
.hitradio-hero-player__history-wrap > p { margin: 0; }
.hitradio-player-status { color: var(--hitradio-muted); }
.hitradio-player-status[data-state="error"] { color: #ff9eae; }
.hitradio-hero-player__artist:empty { display: none; }
.hitradio-preview-note { margin: 12px auto 0; color: #9d9585; font-size: .62rem; letter-spacing: .07em; text-align: center; text-transform: uppercase; }

body.hitradio-app-is-open { overflow: hidden; }
.as-player-popup-status { position: fixed; z-index: 10060; right: 18px; bottom: 104px; max-width: min(420px, calc(100vw - 36px)); padding: 12px 16px; border: 1px solid var(--hitradio-accent); color: #fff; background: #171108; box-shadow: 0 14px 38px rgba(0,0,0,.38); font-size: .82rem; font-weight: 700; line-height: 1.45; }
.as-player-popup-status[hidden] { display: none !important; }
.hitradio-app-modal[hidden] { display: none !important; }
.hitradio-app-modal { position: fixed; z-index: 10050; inset: 0; display: grid; place-items: center; padding: 22px; }
.hitradio-app-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(8px); }
.hitradio-app-dialog { position: relative; overflow: hidden; width: min(430px, 100%); max-height: calc(100vh - 44px); overflow-y: auto; border: 1px solid rgba(243,211,103,.52); background: radial-gradient(circle at 50% 30%, rgba(243,211,103,.17), transparent 33%), linear-gradient(155deg, #181108, #030303 58%); box-shadow: 0 30px 100px rgba(0,0,0,.7); color: #fff; }
.hitradio-app-dialog::before { display: block; height: 6px; background: linear-gradient(90deg, var(--hitradio-accent-dark), var(--hitradio-accent-light), var(--hitradio-accent-dark)); content: ""; }
.hitradio-app-dialog__close { position: absolute; z-index: 2; top: 18px; right: 18px; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(243,211,103,.35); border-radius: 50%; color: var(--hitradio-accent-light); background: rgba(0,0,0,.58); cursor: pointer; font-size: 1.6rem; line-height: 1; }
.hitradio-app-dialog__close:hover,
.hitradio-app-dialog__close:focus-visible { color: #080808; background: var(--hitradio-accent-light); outline: 2px solid #fff; outline-offset: 2px; }
.hitradio-app-dialog__header { display: flex; align-items: center; gap: 13px; padding: 24px 74px 18px 24px; border-bottom: 1px solid rgba(243,211,103,.18); }
.hitradio-app-dialog__header img { width: 56px; height: 56px; border: 1px solid rgba(243,211,103,.4); border-radius: 50%; object-fit: cover; background: #050505; }
.hitradio-app-dialog__header small { display: block; margin-bottom: 3px; color: var(--hitradio-accent-light); font-size: .63rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.hitradio-app-dialog__header h2 { margin: 0; color: #fff; font-size: 1.5rem; font-weight: 900; letter-spacing: -.025em; }
.hitradio-app-dialog__player { display: flex; flex-direction: column; align-items: center; padding: 26px 28px 22px; text-align: center; }
.hitradio-app-dialog__cover { width: min(250px, 68vw); height: min(250px, 68vw); margin-bottom: 22px; border: 1px solid rgba(243,211,103,.35); object-fit: cover; background: #111; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.hitradio-app-dialog__eyebrow { margin: 0 0 7px; color: var(--hitradio-accent-light); font-size: .66rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hitradio-app-dialog__title,
.hitradio-app-dialog__artist { display: block; overflow: hidden; width: 100%; text-overflow: ellipsis; white-space: nowrap; }
.hitradio-app-dialog__title { color: #fff; font-size: clamp(1.45rem, 5vw, 2rem); line-height: 1.1; }
.hitradio-app-dialog__artist { margin: 7px 0 20px; color: #c8c2b5; font-size: 1rem; }
.hitradio-app-dialog__player .hitradio-toggle { width: 82px; min-width: 82px; height: 82px; min-height: 82px; padding: 0; border-radius: 50%; background: linear-gradient(145deg, var(--hitradio-accent-light), var(--hitradio-accent) 58%, var(--hitradio-accent-dark)); box-shadow: 0 0 0 8px rgba(215,167,43,.09), 0 18px 42px rgba(0,0,0,.48); }
.hitradio-app-dialog__player .hitradio-toggle__label { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.hitradio-app-dialog__player .hitradio-toggle__icon { border-top-width: 12px; border-bottom-width: 12px; border-left-width: 20px; transform: translateX(3px); }
.hitradio-app-dialog__player .hitradio-toggle.is-playing .hitradio-toggle__icon,
.hitradio-app-dialog__player .hitradio-toggle.is-loading .hitradio-toggle__icon { transform: none; }
.hitradio-app-dialog__history { display: flex; min-height: 54px; align-items: center; justify-content: space-between; padding: 14px 24px; border-top: 1px solid rgba(243,211,103,.22); color: var(--hitradio-accent-light); background: rgba(0,0,0,.42); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.hitradio-app-dialog__history:hover,
.hitradio-app-dialog__history:focus-visible { color: #080808; background: var(--hitradio-accent-light); outline: 2px solid #fff; outline-offset: -4px; }
.hitradio-app-dialog__history span { font-size: 1.4rem; }

.hitradio-bottom-player {
  position: fixed;
  z-index: 9999;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(255,255,255,.45);
  background: linear-gradient(100deg, var(--hitradio-accent-dark), var(--hitradio-accent) 30%, var(--hitradio-accent-light));
  box-shadow: 0 -12px 40px rgba(0,0,0,.34);
  color: #080808;
}
.hitradio-bottom-player__inner { display: grid; width: min(1180px, calc(100% - 2rem)); min-height: 78px; margin: 0 auto; grid-template-columns: 52px 52px minmax(140px, 1fr) auto auto auto; align-items: center; gap: .85rem; }
.hitradio-bottom-player .hitradio-toggle--compact { width: 52px; min-height: 52px; padding: 0; border-radius: 50%; color: var(--hitradio-accent-light); background: #080808; box-shadow: none; }
.hitradio-bottom-player .hitradio-toggle__label { display: none; }
.hitradio-bottom-player__cover { width: 52px; height: 52px; border-radius: 0; object-fit: cover; background: #17120a; }
.hitradio-bottom-player__track { display: flex; min-width: 0; flex-direction: column; }
.hitradio-bottom-player__track strong,
.hitradio-bottom-player__track span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hitradio-bottom-player__track small { font-size: .58rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hitradio-bottom-player__track strong { font-size: .95rem; }
.hitradio-bottom-player__track span { color: #282014; font-size: .76rem; }
.hitradio-bottom-player__volume { display: flex; align-items: center; gap: .5rem; }
.hitradio-mute { width: 34px; height: 34px; border: 1px solid rgba(0,0,0,.2); border-radius: 50%; background: transparent; color: #080808; cursor: pointer; }
.hitradio-mute { display: grid; place-items: center; }
.hitradio-mute__slash, .hitradio-mute.is-muted .hitradio-mute__waves { display: none; }
.hitradio-mute.is-muted .hitradio-mute__slash { display: block; }
.hitradio-bottom-player input[type="range"] { width: 92px; accent-color: var(--hitradio-accent); }
.hitradio-bottom-player__history { color: #080808; font-size: .78rem; font-weight: 850; text-transform: uppercase; }
.hitradio-bottom-player__status { max-width: 100px; color: #080808; font-size: .66rem; font-weight: 850; line-height: 1.2; text-transform: uppercase; }

.hitradio-history { margin-top: 2rem; color: #171717; }
.hitradio-history__toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; padding: 1rem; border: 1px solid #ddd; background: #f3f3f3; }
.hitradio-history__toolbar label { display: flex; flex-direction: column; gap: .3rem; color: #555; font-size: .76rem; font-weight: 700; }
.hitradio-history__toolbar button,
.hitradio-history__toolbar input { min-height: 44px; border: 1px solid #ccc; border-radius: 0; background: #fff; color: #171717; font: inherit; }
.hitradio-history__toolbar button { padding: .7rem 1rem; cursor: pointer; font-weight: 750; }
.hitradio-history__toolbar button.is-primary { border-color: var(--hitradio-accent); background: var(--hitradio-accent); color: #fff; }
.hitradio-history__toolbar button:disabled { cursor: not-allowed; opacity: .45; }
.hitradio-history__toolbar input { padding: .55rem .7rem; }
.hitradio-history__status { min-height: 1.4em; color: #666; font-size: .85rem; }
.hitradio-history__status[data-state="error"] { color: #b00020; }
.hitradio-history__list { display: grid; gap: .65rem; }
.hitradio-history-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .7rem; border: 1px solid #e1e1e1; background: #fff; }
.hitradio-history-item__cover { width: 72px; height: 72px; object-fit: cover; background: #eee; }
.hitradio-history-item__copy { display: flex; min-width: 0; flex-direction: column; }
.hitradio-history-item__copy strong,
.hitradio-history-item__copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hitradio-history-item__copy span { color: #666; }
.hitradio-history-item__time { padding-right: .6rem; color: var(--hitradio-accent); font-size: .86rem; font-weight: 800; }

.hitradio-history--highlights { max-width: 1080px; margin: 12px auto 0; color: #fff; }
.hitradio-history--highlights .hitradio-history__status { color: var(--hitradio-muted); text-align: center; }
.hitradio-history--highlights .hitradio-history__status[data-state="success"] { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.hitradio-history--highlights .hitradio-history__status[data-state="error"],
.hitradio-history--highlights .hitradio-history__status[data-state="warning"] { color: var(--hitradio-accent-light); }
.hitradio-history--highlights .hitradio-history__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
.hitradio-history--highlights .hitradio-history-item { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1.12; padding: 0; border: 1px solid rgba(243,211,103,.25); background: #15120d; box-shadow: 0 14px 36px rgba(0,0,0,.28); }
.hitradio-history--highlights .hitradio-history-item__cover { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.hitradio-history--highlights .hitradio-history-item:hover .hitradio-history-item__cover { transform: scale(1.035); }
.hitradio-history--highlights .hitradio-history-item::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.88)); content: ""; }
.hitradio-history--highlights .hitradio-history-item__copy { position: absolute; z-index: 1; right: 10px; bottom: 10px; left: 10px; color: #fff; text-align: left; }
.hitradio-history--highlights .hitradio-history-item__copy strong { font-size: .84rem; line-height: 1.05; text-transform: uppercase; }
.hitradio-history--highlights .hitradio-history-item__copy span { color: #fff; font-size: .7rem; }
.hitradio-history--highlights .hitradio-history-item__time { position: absolute; z-index: 2; top: 8px; right: 8px; padding: 4px 6px; color: #080808; background: var(--hitradio-accent-light); font-size: .67rem; }

.hitradio-contact__form { display: grid; gap: 1rem; }
.hitradio-contact__form p { display: grid; gap: .35rem; margin: 0; }
.hitradio-contact__form label { font-weight: 750; }
.hitradio-contact__form input,
.hitradio-contact__form textarea { width: 100%; box-sizing: border-box; border: 1px solid #ccc; border-radius: 0; background: #f5f5f5; color: #171717; font: inherit; padding: .85rem 1rem; }
.hitradio-contact__form button { justify-self: start; border: 0; border-radius: 999px; background: var(--hitradio-accent); color: #fff; cursor: pointer; font: inherit; font-weight: 850; padding: .85rem 1.35rem; }
.hitradio-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.hitradio-form-message { padding: .9rem 1rem; border-radius: .8rem; }
.hitradio-form-message.is-success { background: rgba(185,242,39,.14); color: #dfffa0; }
.hitradio-form-message.is-error { background: rgba(255,61,129,.14); color: #ffc0d5; }

@media (max-width: 820px) {
  body.has-hitradio-player { padding-bottom: 78px; }
  .hitradio-bottom-player__inner { width: calc(100% - 1rem); min-height: 70px; grid-template-columns: 46px 46px minmax(0, 1fr); gap: .55rem; }
  .hitradio-bottom-player__cover { width: 46px; height: 46px; }
  .hitradio-bottom-player__volume,
  .hitradio-bottom-player__history,
  .hitradio-bottom-player__status { display: none; }
  .hitradio-bottom-player .hitradio-toggle--compact { width: 44px; min-height: 44px; padding: 0; }
  .hitradio-history--highlights .hitradio-history__list { grid-template-columns: none; grid-auto-columns: min(56vw, 230px); grid-auto-flow: column; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .hitradio-history--highlights .hitradio-history-item { scroll-snap-align: start; }
}

@media (max-width: 560px) {
	.hitradio-app-modal { padding: 8px; }
	.hitradio-app-dialog { max-height: calc(100vh - 16px); }
	.hitradio-app-dialog__header { padding: 18px 62px 14px 18px; }
	.hitradio-app-dialog__header img { width: 48px; height: 48px; }
	.hitradio-app-dialog__player { padding: 20px 20px 18px; }
	.hitradio-app-dialog__cover { width: min(210px, 62vw); height: min(210px, 62vw); margin-bottom: 18px; }
	.hitradio-app-dialog__player .hitradio-toggle { width: 70px; min-width: 70px; height: 70px; min-height: 70px; }
  .hitradio-hero-player { min-height: 300px; grid-template-columns: 82px minmax(0, 1fr); column-gap: 17px; }
  .hitradio-hero-player__now { width: 92px; margin-left: -5px; padding: 8px 4px; font-size: .5rem; }
  .hitradio-hero-player .hitradio-toggle { width: 82px; min-width: 82px; height: 82px; min-height: 82px; }
  .hitradio-hero-player .hitradio-toggle__icon { border-top-width: 13px; border-bottom-width: 13px; border-left-width: 21px; }
  .hitradio-hero-player__title { max-width: calc(100vw - 140px); font-size: clamp(1.65rem, 8.5vw, 2.5rem); }
  .hitradio-hero-player__artist { max-width: calc(100vw - 140px); margin-top: 8px; font-size: .95rem; }
  .hitradio-hero-player__station { font-size: .62rem; }
  .hitradio-hero-player__history { margin-left: 0; padding: 12px 15px; font-size: .62rem; }
  .hitradio-history__toolbar > * { flex: 1 1 calc(50% - .75rem); }
  .hitradio-history__toolbar label { flex-basis: 100%; }
  .hitradio-history__toolbar input { width: 100%; }
  .hitradio-history-item { grid-template-columns: 58px minmax(0, 1fr) auto; gap: .7rem; }
  .hitradio-history-item__cover { width: 58px; height: 58px; }
}

@media (max-width: 760px) {
  .hitradio-hero-player { --hero-cover-size: 100px; }
  .hitradio-hero-player__body { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hitradio-hero-player__history-wrap { margin-left: 0; }
}

@media (max-width: 560px) {
  .hitradio-hero-player { --hero-cover-size: 82px; }
  .hitradio-hero-player__title, .hitradio-hero-player__artist { max-width: 100%; }
}

@media (max-width: 380px) {
  .hitradio-hero-player__title { font-size: 1.6rem; }
  .hitradio-history-item { grid-template-columns: 50px minmax(0, 1fr); }
  .hitradio-history-item__cover { width: 50px; height: 50px; }
  .hitradio-history-item__time { grid-column: 2; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hitradio-toggle.is-loading .hitradio-toggle__icon { animation-duration: 1.5s; }
}

/* Volledige playlist in de 074Hitradio-huisstijl. */
.hitradio-history--playlist { color: #fff; }
.hitradio-history--playlist .hitradio-history__toolbar { display: grid; padding: 0 0 28px; grid-template-columns: 40px minmax(0, 1fr) 40px max-content; align-items: end; gap: 14px; border: 0; border-bottom: 1px solid rgba(243,211,103,.14); background: transparent; }
.hitradio-history--playlist .hitradio-history__toolbar > p:empty { display: none; }
.hitradio-history__days { min-width: 0; }
.hitradio-history__day-label { display: block; margin: 0 0 8px; color: #a89e8c; font-size: .64rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.hitradio-history__day-tabs { display: flex; overflow-x: auto; align-items: center; gap: clamp(16px, 2.4vw, 34px); scrollbar-width: thin; }
.hitradio-history--playlist .hitradio-history__day-tabs button { min-height: 40px; padding: 8px 2px 9px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: #c8c0b2; background: transparent; cursor: pointer; font: inherit; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.hitradio-history--playlist .hitradio-history__day-tabs button:hover,
.hitradio-history--playlist .hitradio-history__day-tabs button:focus-visible { color: #fff; border-bottom-color: rgba(243,211,103,.6); outline: 2px solid var(--hitradio-accent-light); outline-offset: 2px; }
.hitradio-history--playlist .hitradio-history__day-tabs button.is-active { border-bottom-color: var(--hitradio-accent-light); color: var(--hitradio-accent-light); }
.hitradio-history__day-arrow-control,
.hitradio-history__last24-control { align-self: end; }
.hitradio-history--playlist .hitradio-history__day-arrow { width: 40px; min-height: 40px; padding: 0; border: 1px solid rgba(243,211,103,.2); border-radius: 50%; color: var(--hitradio-accent-light); background: transparent; cursor: pointer; font: inherit; font-size: 1rem; }
.hitradio-history--playlist .hitradio-history__day-arrow:hover,
.hitradio-history--playlist .hitradio-history__day-arrow:focus-visible { border-color: var(--hitradio-accent-light); background: rgba(243,211,103,.08); outline: 2px solid transparent; }
.hitradio-history--playlist .hitradio-history__day-arrow:disabled { cursor: not-allowed; opacity: .3; }
.hitradio-history--playlist .hitradio-history__last24 { min-height: 40px; padding: 8px 2px 9px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: #c8c0b2; background: transparent; cursor: pointer; font: inherit; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.hitradio-history--playlist .hitradio-history__last24:hover,
.hitradio-history--playlist .hitradio-history__last24:focus-visible { color: #fff; border-bottom-color: rgba(243,211,103,.6); outline: 2px solid var(--hitradio-accent-light); outline-offset: 2px; }
.hitradio-history--playlist .hitradio-history__last24[aria-pressed="true"] { border-bottom-color: var(--hitradio-accent-light); color: var(--hitradio-accent-light); }
.hitradio-history--playlist .hitradio-history__title { margin: 48px 0 36px; color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 900; letter-spacing: -.035em; }
.hitradio-history--playlist .hitradio-history__status { min-height: 1.4em; margin: -22px 0 34px; color: #b8ae9d; }
.hitradio-history--playlist .hitradio-history__status[data-state="error"] { color: #ffb1a8; }
.hitradio-history--playlist .hitradio-history__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 38px; padding-top: 8px; }
.hitradio-history--playlist .hitradio-history-item { position: relative; display: grid; min-height: 88px; margin-top: 10px; padding: 10px 16px 10px 10px; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 14px; border: 0; background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.hitradio-history--playlist .hitradio-history-item__cover { width: 72px; height: 72px; object-fit: cover; background: #eee; }
.hitradio-history--playlist .hitradio-history-item__copy strong { color: #17130d; font-size: .9rem; line-height: 1.15; }
.hitradio-history--playlist .hitradio-history-item__copy span { margin-top: 5px; color: #746e64; font-size: .78rem; }
.hitradio-history--playlist .hitradio-history-item__time { position: absolute; top: -23px; right: 0; padding: 0; color: var(--hitradio-accent-light); font-size: .7rem; font-weight: 900; text-transform: lowercase; }
.hitradio-history__pagination { display: flex; max-width: 100%; margin: 58px auto 0; align-items: center; justify-content: center; gap: 7px; overflow-x: auto; }
.hitradio-history__pagination[hidden] { display: none; }
.hitradio-history__pagination button { min-width: 42px; min-height: 42px; padding: 8px 13px; border: 1px solid rgba(243,211,103,.24); border-radius: 0; color: #ddd5c7; background: #0d0b08; cursor: pointer; font: inherit; font-size: .74rem; font-weight: 850; }
.hitradio-history__pagination button:hover,
.hitradio-history__pagination button:focus-visible { border-color: var(--hitradio-accent-light); color: #fff; outline: 2px solid var(--hitradio-accent-light); outline-offset: 2px; }
.hitradio-history__pagination button.is-active { border-color: var(--hitradio-accent-light); color: #080808; background: linear-gradient(135deg, var(--hitradio-accent-light), var(--hitradio-accent)); }
.hitradio-history__pagination button:disabled { cursor: not-allowed; opacity: .35; }
.hitradio-history__page-numbers { display: inline-flex; align-items: center; gap: 7px; }
.hitradio-history__page-ellipsis { min-width: 24px; color: #8e8577; text-align: center; }

@media (max-width: 1000px) {
  .hitradio-history--playlist .hitradio-history__toolbar { grid-template-columns: 38px minmax(0, 1fr) 38px; }
  .hitradio-history__last24-control { grid-column: 1 / -1; justify-self: center; }
  .hitradio-history__day-tabs { padding-bottom: 4px; }
}

@media (max-width: 760px) {
  .hitradio-history--playlist .hitradio-history__list { grid-template-columns: 1fr; }
  .hitradio-history__pagination { justify-content: flex-start; }
  .hitradio-history__pagination button { min-width: 38px; min-height: 38px; padding: 7px 10px; }
  .hitradio-history__page-numbers { gap: 5px; }
}

@media (max-width: 430px) {
  .hitradio-history--playlist .hitradio-history-item { min-height: 76px; grid-template-columns: 58px minmax(0, 1fr); }
  .hitradio-history--playlist .hitradio-history-item__cover { width: 58px; height: 58px; }
  .hitradio-history__pagination [data-history-page-action="first"],
  .hitradio-history__pagination [data-history-page-action="last"] { display: none; }
}

/* Install the existing radio app, with device-specific instructions. */
.hitradio-app-install { position: relative; max-width: 440px; margin: 28px auto 0; padding: 18px 48px 14px 18px; border: 1px solid rgba(243,211,103,.36); border-radius: 12px; background: #171208; color: #fff; }
.hitradio-app-install[hidden] { display: none !important; }
.hitradio-app-install > strong { display: block; font-size: .95rem; }
.hitradio-app-install p { margin: 7px 0 4px; color: #d5ccbb; font-size: .82rem; line-height: 1.5; }
.hitradio-app-install__close { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #f3d367; font-size: 1.5rem; cursor: pointer; }
.hitradio-app-install__link { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; color: #f3d367; font-size: .85rem; font-weight: 800; text-decoration: underline; }

/* Mobile: play and cover together; readable, full-width title underneath. */
@media (max-width: 760px) {
  .hitradio-hero-player { --hero-cover-size: 108px; width: 100%; max-width: 440px; min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; row-gap: 18px; }
  .hitradio-hero-player__now { width: 98px; margin: 0 5px 0 0; padding: 8px 4px; justify-self: end; font-size: .56rem; }
  .hitradio-hero-player .hitradio-toggle { width: 108px; min-width: 108px; height: 108px; min-height: 108px; justify-self: end; }
  .hitradio-hero-player__body { display: contents; }
  .hitradio-hero-player__cover { grid-column: 2; grid-row: 2; justify-self: start; }
  .hitradio-hero-player__copy { grid-column: 1 / -1; grid-row: 3; text-align: center; }
  .hitradio-hero-player__station { margin: 8px 0 10px; font-size: .67rem; }
  .hitradio-hero-player__title { max-width: 100%; padding: 0 0 .08em; font-size: clamp(1.8rem, 7.4vw, 2.5rem); line-height: 1.16; overflow-wrap: anywhere; }
  .hitradio-hero-player__artist { max-width: 100%; margin: 7px 0 0; font-size: 1.1rem; line-height: 1.4; }
  .hitradio-hero-player__history-wrap { grid-column: 1 / -1; grid-row: 4; margin: 2px 0 0; justify-self: center; text-align: center; }
  .hitradio-hero-player__history { min-height: 46px; padding: 12px 14px; font-size: .67rem; letter-spacing: .04em; }
  .hitradio-history--playlist .hitradio-history-item__copy strong,
  .hitradio-history--playlist .hitradio-history-item__copy span { overflow: visible; white-space: normal; overflow-wrap: anywhere; line-height: 1.35; }
  .hitradio-history--playlist .hitradio-history__toolbar { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; }
  .hitradio-history--playlist .hitradio-history__day-arrow { width: 44px; min-height: 44px; }
  .hitradio-history--playlist .hitradio-history__day-tabs button,
  .hitradio-history--playlist .hitradio-history__last24 { min-height: 44px; }
  .hitradio-history__day-tabs { scrollbar-color: #d7a72b #211a0b; }
  .hitradio-history__day-tabs > br, .hitradio-history__pagination > br,
  .hitradio-history__days > p:empty, .hitradio-history__pagination > p:empty { display: none; }
  .hitradio-history__pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; overflow: visible; padding: 3px 0 8px; }
  .hitradio-history__page-numbers { grid-column: 1 / -1; grid-row: 1; flex-wrap: wrap; justify-content: center; }
  .hitradio-history__pagination [data-history-page-action="previous"] { grid-column: 1; grid-row: 2; }
  .hitradio-history__pagination [data-history-page-action="next"] { grid-column: 2; grid-row: 2; }
  .hitradio-history__pagination [data-history-page-action="first"],
  .hitradio-history__pagination [data-history-page-action="last"] { display: none; }
  .hitradio-history__pagination button { min-width: 44px; min-height: 44px; }
  .hitradio-history__pagination > *, .hitradio-history__page-numbers > * { flex-shrink: 0; }
}

@media (max-width: 820px) {
  body.has-hitradio-player { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .hitradio-bottom-player { padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); padding-left: env(safe-area-inset-left, 0px); }
  .hitradio-bottom-player__inner { width: calc(100% - 24px); grid-template-columns: 44px 44px minmax(0, 1fr) 44px; gap: 8px; min-height: 76px; }
  .hitradio-bottom-player .hitradio-toggle--compact { width: 44px; height: 44px; min-height: 44px; }
  .hitradio-bottom-player__cover { width: 44px; height: 44px; }
  .hitradio-bottom-player__volume { display: flex; }
  .hitradio-bottom-player__volume input { display: none; }
  .hitradio-mute { width: 44px; height: 44px; }
  .hitradio-bottom-player__track strong { font-size: .83rem; }
  .hitradio-bottom-player__track small { font-size: .5rem; letter-spacing: .06em; }
  .hitradio-history--highlights .hitradio-history__list { grid-auto-columns: min(44vw, 200px); scroll-padding: 2px; scrollbar-width: thin; scrollbar-color: #d7a72b #211a0b; padding: 2px 2px 12px; }
}

/* A modal navigation menu must not have the fixed audio controls over it. */
html.has-modal-open .hitradio-bottom-player { visibility: hidden; }
