:root {
  --bg: #f3f3f3;
  --bg-soft: #fafafa;
  --surface: #ffffff;
  --surface-alt: #0d4266;
  --surface-alt-2: #0a314d;
  --line: #d6e4ef;
  --line-strong: rgba(255, 255, 255, 0.1);
  --text: #111111;
  --text-strong: #111111;
  --text-soft: #666666;
  --text-muted: #8a8a8a;
  --text-on-dark: #ffffff;
  --brand: #1e89c8;
  --brand-dark: #116ea7;
  --brand-soft: #e7f5fd;
  --accent: #db1f2f;
  --accent-dark: #ad1420;
  --success: #9ef58a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --button-radius: 999px;
  --content-width: 1280px;
  --mobile-content-width: 720px;
  --section-spacing: 3rem;
  --mobile-section-spacing: 1.6rem;
  --card-padding: 1.25rem;
  --mobile-card-padding: 1rem;
  --grid-gap: 1rem;
  --partner-photo-width: 235px;
  --partner-copy-width: 860px;
  --partner-card-padding: 1.3rem;
  --partner-surface-start: #122646;
  --partner-surface-end: #0d1c34;
  --hero-title-size: 5.8rem;
  --hero-copy-size: 1.2rem;
  --player-title-size: 2.7rem;
  --display-font: "Avenir Next Condensed", "Arial Black", "Segoe UI", sans-serif;
  --body-font: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(217, 21, 27, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  color: var(--text);
  font-family: var(--body-font);
  line-height: 1.5;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell,
.site-header,
.site-footer {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.page-shell {
  padding-bottom: 3rem;
}

.page-flow {
  padding-top: 1rem;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-shell {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.brand-logo,
.hero-heading-row h1,
.player-head h2,
.section-head h2,
.masthead h1,
.site-footer strong {
  font-family: var(--display-font);
}

.brand-logo {
  width: 24rem;
  max-width: min(44vw, 24rem);
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 14px 22px rgba(17, 110, 167, 0.18));
}

.brand-decoration {
  position: absolute;
  display: block;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.brand-decoration--easter {
  left: -1.7rem;
  top: 0.45rem;
  width: 5.6rem;
  z-index: 1;
}

.brand-decoration--christmas {
  right: 1.05rem;
  top: -0.7rem;
  width: 6.2rem;
  z-index: 3;
  transform: rotate(8deg);
}

.brand-decoration--newyear {
  right: -0.3rem;
  top: -1.2rem;
  width: 7.3rem;
  z-index: 1;
}

.brand-decoration--labourday {
  left: -1.1rem;
  top: -0.55rem;
  width: 6.5rem;
  z-index: 1;
}

.brand-decoration--ascension {
  right: 1rem;
  top: -0.45rem;
  width: 6rem;
  z-index: 1;
}

.brand-decoration--pentecost {
  left: -1.4rem;
  top: 0.2rem;
  width: 6rem;
  z-index: 1;
}

.brand-decoration--unity {
  right: 0.35rem;
  top: -0.15rem;
  width: 6.25rem;
  z-index: 1;
}

.brand-decoration--epiphany {
  right: 0.75rem;
  top: -0.45rem;
  width: 6rem;
  z-index: 1;
}

.brand-decoration--corpuschristi {
  left: -0.95rem;
  top: -0.25rem;
  width: 5.75rem;
  z-index: 1;
}

.brand-decoration--allsaints {
  right: 1rem;
  top: -0.45rem;
  width: 4.6rem;
  z-index: 1;
}

.brand-decoration--reformation {
  left: -1.1rem;
  top: 0.25rem;
  width: 5.6rem;
  z-index: 1;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.15rem;
}

.site-nav-link {
  color: var(--text-soft);
  font-weight: 600;
  transition: color 160ms ease;
}

.site-nav-link:hover,
.site-nav-link:focus-visible,
.site-nav-link.is-active {
  color: var(--brand-dark);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: var(--text-on-dark);
  font-weight: 700;
  box-shadow: 0 12px 22px rgba(219, 31, 47, 0.22);
}

.header-weather {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 3.3rem;
  min-width: 15.5rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(17, 110, 167, 0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 245, 252, 0.96));
  box-shadow: 0 14px 28px rgba(17, 110, 167, 0.12);
  justify-self: end;
}

.header-weather.is-loading {
  opacity: 0.88;
}

.header-weather-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(30, 137, 200, 0.14), rgba(17, 110, 167, 0.18));
  color: var(--brand-dark);
  box-shadow: inset 0 0 0 1px rgba(17, 110, 167, 0.08);
  flex-shrink: 0;
}

.header-weather-icon.weather-sun {
  color: #f59d17;
  background: linear-gradient(180deg, rgba(245, 157, 23, 0.16), rgba(255, 196, 69, 0.2));
}

.header-weather-icon.weather-partly {
  color: #d88712;
}

.header-weather-icon.weather-cloud,
.header-weather-icon.weather-fog {
  color: #5f7b92;
}

.header-weather-icon.weather-rain,
.header-weather-icon.weather-storm,
.header-weather-icon.weather-snow {
  color: #1d6aa0;
}

.header-weather-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-weather-copy {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.header-weather-copy strong {
  font-size: 0.97rem;
  line-height: 1.1;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-weather-copy span {
  font-size: 0.82rem;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chatbot-shell {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 70;
  display: grid;
  justify-items: end;
  gap: 0.85rem;
}

.chatbot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 4.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(17, 110, 167, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 38, 70, 0.97), rgba(13, 28, 52, 0.98));
  color: var(--text-on-dark);
  box-shadow: 0 24px 52px rgba(10, 22, 40, 0.28);
  cursor: pointer;
}

.chatbot-toggle-icon,
.chatbot-input-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
  color: var(--text-on-dark);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.chatbot-toggle-icon svg,
.chatbot-input-icon svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chatbot-toggle-copy {
  display: grid;
  gap: 0.15rem;
  text-align: left;
}

.chatbot-toggle-copy strong {
  font-family: var(--display-font);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.chatbot-toggle-copy span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.chatbot-panel {
  width: min(420px, calc(100vw - 1.5rem));
  border-radius: 28px;
  border: 1px solid rgba(17, 110, 167, 0.12);
  background:
    radial-gradient(circle at top right, rgba(30, 137, 200, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 252, 0.98));
  box-shadow: 0 28px 70px rgba(10, 22, 40, 0.18);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.chatbot-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.25rem 0.8rem;
}

.chatbot-kicker {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
}

.chatbot-panel-head h2 {
  margin: 0.35rem 0 0;
  font-family: var(--display-font);
  font-size: 1.5rem;
  line-height: 1.02;
}

.chatbot-panel-head p {
  margin: 0.45rem 0 0;
  color: var(--text-soft);
  line-height: 1.5;
}

.chatbot-close {
  width: 2.3rem;
  height: 2.3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 110, 167, 0.08);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.chatbot-message-list {
  display: grid;
  gap: 0.8rem;
  max-height: 360px;
  padding: 0.25rem 1.25rem 0.2rem;
  overflow: auto;
}

.chatbot-message {
  display: flex;
}

.chatbot-message.is-user {
  justify-content: end;
}

.chatbot-message-bubble {
  max-width: min(88%, 320px);
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 110, 167, 0.1);
  box-shadow: 0 10px 24px rgba(12, 24, 39, 0.06);
}

.chatbot-message.is-user .chatbot-message-bubble {
  background: linear-gradient(180deg, rgba(30, 137, 200, 0.12), rgba(17, 110, 167, 0.16));
}

.chatbot-message.is-pending .chatbot-message-bubble {
  background: rgba(238, 245, 249, 0.95);
}

.chatbot-message-bubble p {
  margin: 0;
  line-height: 1.55;
}

.chatbot-message-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.chatbot-message-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.88rem;
}

.chatbot-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 1rem 1.25rem 0.2rem;
}

.chatbot-chip {
  min-height: 2.25rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(17, 110, 167, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  padding: 1rem 1.25rem 1.25rem;
}

.chatbot-input-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem;
  border-radius: 18px;
  border: 1px solid rgba(17, 110, 167, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.chatbot-input-shell input {
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--text);
}

.chatbot-input-shell input:focus {
  outline: none;
}

.chatbot-submit {
  min-width: 7.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 430px) minmax(240px, 0.8fr);
  gap: 1rem;
  padding-top: 0.4rem;
}

body[data-page="home"] .hero-grid {
  grid-template-columns: minmax(0, 1.38fr) minmax(280px, 0.78fr);
  align-items: start;
}

body[data-page="home"] .hero-grid.is-player-only {
  grid-template-columns: minmax(0, 1fr);
}

.hero-main-column {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.hero-panel,
.ticker-card,
.content-card,
.host-card,
.rail-panel,
.app-promo,
.schedule-card,
.newsletter-card,
.contact-form-card,
.editor-card,
.editor-preview-card,
.preview-link-card,
.stream-layout .receive-panel,
.social-showcase {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-panel {
  border-radius: var(--radius-xl);
}

.hero-panel-primary {
  padding: 2rem;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 24%),
    radial-gradient(circle at bottom right, rgba(219, 31, 47, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(30, 137, 200, 0.98), rgba(17, 110, 167, 0.98));
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.hero-panel-primary::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}

.hero-heading-row,
.player-head,
.section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.stacked {
  display: block;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 800;
}

.hero-panel-primary .eyebrow,
.app-kicker,
.rail-kicker {
  color: #ffffff;
}

.hero-heading-row h1,
.masthead h1 {
  margin: 1rem 0 0;
  font-size: clamp(3rem, 6vw, var(--hero-title-size));
  line-height: 0.92;
  letter-spacing: 0.01em;
}

.hero-heading-row h1 {
  max-width: 10ch;
}

.hero-copy,
.section-copy,
.muted-copy,
.status-subtle,
.site-footer p,
.content-card p,
.host-card p,
.masthead-copy {
  line-height: 1.7;
}

.hero-copy,
.hero-panel-primary .section-copy {
  margin: 1rem 0 0;
  font-size: var(--hero-copy-size);
  color: rgba(255, 255, 255, 0.84);
  max-width: 60ch;
}

.hero-actions,
.player-actions,
.app-promo-actions,
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions {
  margin-top: 1.8rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.hero-metrics article {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-metrics span,
.ticker-card span,
.mini-label,
.card-meta {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-metrics strong,
.ticker-card strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.05rem;
}

.button,
.file-button {
  border: 0;
  border-radius: var(--button-radius);
  padding: 0.95rem 1.25rem;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:hover,
.button:focus-visible,
.file-button:hover,
.file-button:focus-visible {
  transform: translateY(-1px);
}

.button-brand {
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
  color: var(--text-on-dark);
  box-shadow: 0 12px 22px rgba(30, 137, 200, 0.22);
}

.button-dark {
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: var(--text-on-dark);
  box-shadow: 0 12px 22px rgba(219, 31, 47, 0.18);
}

.button-ghost-dark,
.button-light-dark {
  background: #eef6fb;
  color: var(--brand-dark);
}

.button-light {
  background: var(--text-on-dark);
  color: var(--brand-dark);
}

.button-soft {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.button-primary {
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
  color: var(--text-on-dark);
  box-shadow: 0 12px 22px rgba(30, 137, 200, 0.22);
}

.button-outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-on-dark);
}

.section-link {
  color: var(--brand-dark);
  font-weight: 700;
}

.live-pill,
.player-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-pill {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-on-dark);
}

.player-badge {
  background: #efefef;
  color: var(--text);
}

.live-pill.is-live,
.player-badge.is-live {
  background: var(--success);
  color: #153900;
}

.player-panel {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(30, 137, 200, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff, #f8fbfd);
}

.hero-grid > .player-panel {
  grid-column: 2 / 4;
}

.hero-side-grid {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-page="home"] .hero-grid > .player-panel {
  grid-column: auto;
}

body[data-page="home"] .hero-side-grid {
  grid-column: auto;
  grid-template-columns: 1fr;
  align-content: start;
}

.hero-top-votes-block {
  padding-top: 1.15rem;
}

.tiktok-feed-section {
  overflow: hidden;
}

.tiktok-feed-shell {
  display: grid;
  gap: 1rem;
  align-items: stretch;
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(30, 137, 200, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff, #f8fbfd);
}

.tiktok-feed-head {
  display: grid;
  gap: 0.3rem;
}

.tiktok-feed-head h2 {
  margin: 0.16rem 0 0;
  font-size: clamp(2rem, 4.2vw, 3.55rem);
  line-height: 0.96;
  color: var(--text-strong);
  max-width: 48rem;
}

.tiktok-feed-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.tiktok-feed-main.is-embed-only {
  gap: 0;
}

.tiktok-feed-copy {
  display: grid;
  align-content: start;
}

.tiktok-feed-copy .section-copy {
  max-width: 56rem;
  margin-top: 0;
  font-size: 1rem;
  line-height: 1.68;
  color: var(--text-soft);
}

.tiktok-feed-actions {
  display: none;
}

.tiktok-feed-handle {
  display: none;
}

.tiktok-feed-embed-card {
  justify-self: stretch;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(30, 137, 200, 0.08), transparent 22%),
    linear-gradient(180deg, #f7fbfe, #edf6fc);
  box-shadow: none;
  padding: 0.9rem 0.9rem 0.45rem;
  min-height: 22.2rem;
  overflow: hidden;
}

.tiktok-feed-embed-card .tiktok-embed {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 20rem;
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
}

.tiktok-feed-embed-card section,
.tiktok-feed-embed-card a {
  color: var(--text);
}

.player-head h2 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.9rem, 4vw, var(--player-title-size));
  line-height: 0.96;
}

.player-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.player-now {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 100%;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.player-artwork {
  position: relative;
  width: 5.8rem;
  aspect-ratio: 1;
  border-radius: 1.2rem;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(17, 110, 167, 0.18), rgba(30, 137, 200, 0.08));
  border: 1px solid rgba(17, 110, 167, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.player-artwork img,
.player-artwork-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.player-artwork img {
  display: block;
  object-fit: cover;
}

.player-artwork-fallback {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.22), transparent 48%),
    linear-gradient(160deg, #244370, #132744 70%, #0e1b31);
  color: #ffffff;
}

.player-artwork-fallback span {
  font-family: var(--display-font);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
}

.player-artwork.has-image .player-artwork-fallback {
  display: none;
}

.player-track-copy {
  min-width: 0;
}

.player-controls-panel {
  display: grid;
  grid-template-columns: auto minmax(15rem, 1fr);
  align-items: center;
  gap: 0.95rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f7fbfe, #edf6fc);
  border: 1px solid var(--line);
}

.player-controls-panel .field {
  min-width: 0;
}

.equalizer {
  display: flex;
  align-items: end;
  gap: 0.24rem;
  min-height: 3rem;
}

.equalizer span {
  width: 0.36rem;
  height: 0.95rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--brand));
  transform-origin: bottom;
  animation: idleBars 1.4s ease-in-out infinite;
}

.equalizer span:nth-child(2) {
  animation-delay: 0.12s;
}

.equalizer span:nth-child(3) {
  animation-delay: 0.24s;
}

.equalizer span:nth-child(4) {
  animation-delay: 0.36s;
}

.equalizer span:nth-child(5) {
  animation-delay: 0.48s;
}

body.is-playing .equalizer span {
  animation: activeBars 0.85s ease-in-out infinite;
}

.muted-copy {
  margin: 0.4rem 0 0;
  color: var(--text-soft);
}

#playerShowTitle {
  display: block;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1.06;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

#playerShowMeta {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.field {
  display: grid;
  gap: 0.45rem;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

body[data-hero-align="center"] .hero-panel-primary {
  text-align: center;
}

body[data-hero-align="center"] .hero-heading-row,
body[data-hero-align="center"] .hero-actions {
  justify-content: center;
}

body[data-hero-align="center"] .hero-heading-row h1,
body[data-hero-align="center"] .hero-copy {
  margin-inline: auto;
}

body[data-player-align="center"] .player-panel {
  text-align: center;
}

body[data-player-align="center"] .player-head,
body[data-player-align="center"] .player-actions {
  justify-content: center;
}

body[data-player-align="center"] .player-main {
  grid-template-columns: 1fr;
}

body[data-player-align="center"] .player-now {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

body[data-player-align="center"] .player-controls-panel {
  justify-items: center;
}

body[data-player-align="center"] .equalizer {
  justify-content: center;
}

.field input[type="range"] {
  padding: 0;
  accent-color: var(--brand);
}

.status-text,
.status-subtle {
  margin: 0;
}

.status-text {
  margin-top: 1rem;
  font-weight: 700;
}

.status-subtle {
  margin-top: 0.35rem;
  color: var(--text-soft);
}

.hero-side-grid,
.card-grid,
.host-grid,
.ticker-grid,
.stack-grid,
.schedule-grid {
  display: grid;
  gap: var(--grid-gap);
}

.hero-side-grid {
  align-content: start;
}

.hero-card {
  min-height: 11.5rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.82)),
    linear-gradient(135deg, #363636, #111111);
  color: var(--text-on-dark);
  display: flex;
  flex-direction: column;
  justify-content: end;
  box-shadow: var(--shadow);
}

.hero-card h3,
.content-card h3,
.host-card h3,
.schedule-card h3,
.newsletter-card h2,
.contact-form-card h2,
.editor-card h2,
.editor-preview-card h2,
.social-showcase h2 {
  margin: 0.85rem 0 0;
}

.hero-card p {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.hero-card-cta,
.content-card.dark .card-cta {
  color: #ffffff;
}

.hero-chip {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
}

.ticker-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1rem 0 0;
}

.ticker-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
}

.content-block {
  padding-top: var(--section-spacing);
}

.subpage-back-nav {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0.55rem;
}

.consent-trigger {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font: inherit;
  cursor: pointer;
}

.consent-trigger:hover,
.consent-trigger:focus-visible {
  color: var(--brand-dark);
  text-decoration: underline;
  transform: none;
}

.custom-section {
  padding-top: 0;
}

.custom-section-shell {
  display: grid;
  gap: 1.2rem;
  padding: var(--card-padding);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f8fbfd);
  box-shadow: var(--shadow-soft);
}

.custom-section.is-dark .custom-section-shell {
  background: linear-gradient(135deg, var(--partner-surface-start), var(--partner-surface-end));
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-on-dark);
}

.custom-section.is-dark .section-copy,
.custom-section.is-dark .custom-section-meta {
  color: rgba(255, 255, 255, 0.74);
}

.custom-section-split .custom-section-shell {
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
}

.custom-section-compact .custom-section-shell {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.custom-section-copy {
  display: grid;
  gap: 0.85rem;
}

.custom-section-copy h2,
.custom-section-copy .section-copy {
  margin: 0;
}

.custom-section-media {
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 6px);
  min-height: 14rem;
  background: linear-gradient(180deg, #eef6fc, #dcecf8);
}

.custom-section-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-section-meta {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.custom-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.15rem;
}

.section-head {
  margin-bottom: 1.35rem;
}

.section-head h2,
.newsletter-card h2,
.contact-form-card h2,
.editor-card h2,
.editor-preview-card h2,
.social-showcase h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.96;
}

.section-copy {
  max-width: 34rem;
  margin: 0;
  color: var(--text-soft);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.8fr);
  gap: var(--grid-gap);
}

.split-layout.is-single-column {
  grid-template-columns: 1fr;
}

.about-main-stack,
.form-stack {
  display: grid;
  gap: 1rem;
}

.card-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-card {
  padding: var(--card-padding);
  border-radius: var(--radius-lg);
}

.content-card-link,
.hero-card-link {
  display: block;
}

#newsGrid {
  grid-auto-rows: 1fr;
  align-items: stretch;
}

#newsGrid .content-card-link,
#newsGrid > .content-card {
  height: 100%;
}

#newsGrid .content-card {
  display: flex;
  flex-direction: column;
  min-height: 21.5rem;
}

#newsGrid .content-card p {
  flex: 1 1 auto;
}

#newsGrid .card-meta,
#newsGrid .card-cta {
  margin-top: auto;
}

#newsGrid .card-cta {
  padding-top: 1rem;
}

.card-media,
.hero-card-media {
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 4px);
  background: var(--bg-soft);
}

.card-media img,
.hero-card-media img {
  width: 100%;
  min-height: 12rem;
  object-fit: cover;
}

body[data-page="empfang"] #receptionPlatformGrid .card-media {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 5.25rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, rgba(243, 248, 255, 0.96), rgba(234, 243, 255, 0.9));
}

body[data-page="empfang"] #receptionPlatformGrid .card-media img {
  width: auto;
  max-width: min(16rem, 100%);
  min-height: 0;
  max-height: 2.8rem;
  object-fit: contain;
}

body[data-page="empfang"] #receptionPlatformGrid .content-card {
  padding: 1.35rem;
}

body[data-page="empfang"] #receptionPlatformGrid .content-card h3 {
  margin-bottom: 0.45rem;
}

body[data-page="empfang"] #receptionPlatformGrid .content-card p {
  margin-bottom: 0.85rem;
  max-width: 28rem;
  color: var(--text-soft);
}

body[data-page="empfang"] #receptionPlatformGrid .card-cta {
  margin-top: 0.2rem;
}

body[data-page="empfang"] #receptionPlatformGrid {
  gap: 1.4rem;
}

.reception-logo-link {
  display: block;
}

.reception-logo-link.is-static {
  cursor: default;
}

.reception-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 11.5rem;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.reception-logo-link:hover .reception-logo-card,
.reception-logo-link:focus-visible .reception-logo-card {
  transform: translateY(-2px);
  border-color: rgba(30, 137, 200, 0.28);
  box-shadow: 0 22px 48px rgba(17, 31, 48, 0.12);
}

.reception-logo-link.is-static:hover .reception-logo-card,
.reception-logo-link.is-static:focus-visible .reception-logo-card {
  transform: none;
}

.reception-logo-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 7.8rem;
  padding: 1.2rem;
  border-radius: calc(var(--radius-lg) - 4px);
  background: linear-gradient(180deg, rgba(243, 248, 255, 0.96), rgba(234, 243, 255, 0.9));
}

.reception-logo-media img {
  width: auto;
  max-width: min(16rem, 100%);
  max-height: 3.8rem;
  object-fit: contain;
}

.reception-logo-card.has-caption .reception-logo-media img {
  max-height: 4.4rem;
}

.reception-logo-caption {
  margin: 1rem 0 0;
  text-align: center;
  color: var(--brand-dark);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.reception-logo-fallback {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.content-card.dark {
  background: var(--surface-alt);
  color: var(--text-on-dark);
  border-color: transparent;
}

.content-card.dark p,
.content-card.dark .card-meta {
  color: rgba(255, 255, 255, 0.76);
}

.tag-chip {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-card.dark .tag-chip,
.rail-panel .tag-chip {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.content-card h3,
.host-card h3 {
  font-size: 1.35rem;
  line-height: 1.08;
}

.content-card p,
.host-card p {
  margin: 0.6rem 0 0;
  color: var(--text-soft);
}

.card-meta {
  margin-top: 1rem;
  color: var(--text-muted);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 1rem;
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.card-action-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.2rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 110, 167, 0.12);
  background: rgba(17, 110, 167, 0.06);
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.card-action-chip svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-action-chip .fill-dot {
  fill: currentColor;
  stroke: none;
}

.content-card.dark .card-action-chip {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.rail-panel,
.newsletter-card {
  padding: var(--card-padding);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--surface-alt), var(--surface-alt-2));
  color: var(--text-on-dark);
}

.rail-panel .section-copy,
.newsletter-card .section-copy {
  color: rgba(255, 255, 255, 0.76);
}

.rail-panel .content-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark);
}

.rail-panel .content-card p,
.rail-panel .card-meta {
  color: rgba(255, 255, 255, 0.74);
}

.host-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.host-card {
  padding: var(--card-padding);
  border-radius: var(--radius-lg);
  text-align: center;
}

.host-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
  color: var(--text-on-dark);
  font-family: var(--display-font);
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
  box-shadow: 0 12px 22px rgba(30, 137, 200, 0.22);
}

.host-card strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--accent);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.6rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 24%),
    radial-gradient(circle at bottom right, rgba(219, 31, 47, 0.18), transparent 24%),
    linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: var(--text-on-dark);
}

.app-promo .section-copy {
  color: rgba(255, 255, 255, 0.78);
}

.masthead {
  padding-top: 1rem;
}

.masthead h1 {
  max-width: 11.5ch;
  line-height: 0.94;
  text-wrap: balance;
}

body[data-page="about"] .masthead h1 {
  max-width: 14ch;
  text-transform: none;
  letter-spacing: 0;
  line-height: 0.95;
}

.masthead-copy {
  max-width: 58ch;
  margin: 1rem 0 0;
  color: var(--text-soft);
}

.masthead-copy:empty {
  display: none;
}

.schedule-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.schedule-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
}

.schedule-card.is-active {
  border-color: var(--brand-dark);
}

.schedule-slot {
  padding: 0.9rem 0.95rem;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--bg-soft);
}

.schedule-slot.is-current {
  border-color: rgba(30, 137, 200, 0.35);
  background: var(--brand-soft);
}

.schedule-slot time {
  display: block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.schedule-slot strong {
  display: block;
  margin-top: 0.4rem;
}

.schedule-slot span {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-soft);
}

.stream-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  gap: 1rem;
}

body[data-page="empfang"] .stream-layout {
  grid-template-columns: minmax(0, 1fr);
}

body[data-page="empfang"] #receptionPlatformGrid {
  align-items: stretch;
}

.playlist-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.25fr);
  gap: 1rem;
}

.playlist-live-card,
.playlist-history-card {
  padding: 1.35rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.playlist-live-card {
  background:
    radial-gradient(circle at top right, rgba(30, 137, 200, 0.16), transparent 24%),
    linear-gradient(135deg, #f6fbff, #edf6fc);
}

.playlist-live-card h3,
.playlist-history-card h3 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  line-height: 0.98;
}

.playlist-live-title {
  margin: 1rem 0 0;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.playlist-note {
  margin: 1rem 0 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.playlist-history-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.playlist-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.playlist-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.playlist-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid rgba(17, 110, 167, 0.08);
}

.playlist-position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
  color: var(--text-on-dark);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.playlist-copy {
  min-width: 0;
}

.playlist-copy strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.playlist-copy p {
  margin: 0.3rem 0 0;
  color: var(--text-soft);
  line-height: 1.45;
}

.playlist-item time {
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.playlist-link-button {
  margin-top: 1rem;
  width: fit-content;
}

.playlist-explorer-shell,
.playlist-results-shell {
  padding: 1.6rem;
}

.playlist-page-shell {
  display: grid;
  grid-template-columns: minmax(21rem, 25rem) minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
}

.playlist-page-shell .masthead {
  grid-column: 1 / -1;
}

:root {
  --playlist-card-height: 40rem;
  --playlist-scroll-height: 31rem;
}

.playlist-explorer-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: var(--playlist-card-height);
  height: var(--playlist-card-height);
  max-height: var(--playlist-card-height);
  overflow: hidden;
  position: sticky;
  top: 7.2rem;
}

.playlist-results-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: var(--playlist-card-height);
  height: var(--playlist-card-height);
  max-height: var(--playlist-card-height);
  overflow: hidden;
  position: sticky;
  top: 7.2rem;
}

.playlist-calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: 1rem;
  margin-top: 1.25rem;
  min-height: 0;
}

.playlist-calendar-layout.is-hours-only {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 0;
  min-height: 100%;
}

.playlist-calendar-column {
  display: grid;
  gap: 1rem;
  min-height: 0;
}

.playlist-calendar-panel,
.playlist-month-card {
  border-radius: 26px;
  border: 1px solid rgba(17, 110, 167, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.94));
  box-shadow: 0 10px 24px rgba(17, 31, 48, 0.04);
}

.playlist-calendar-panel {
  min-height: 0;
}

.playlist-month-card {
  display: grid;
  gap: 0.3rem;
  padding: 1.2rem 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(30, 137, 200, 0.18), transparent 40%),
    linear-gradient(135deg, #f4fbff, #edf5fc);
}

.playlist-month-label,
.playlist-inline-label {
  margin: 0;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.playlist-month-card strong {
  font-size: 1.55rem;
  line-height: 1.05;
  text-transform: capitalize;
}

.playlist-month-card span,
.playlist-inline-copy {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.playlist-calendar-panel {
  padding: 1rem;
}

.playlist-hour-panel {
  min-height: 100%;
  height: 100%;
  max-height: none;
  overflow: hidden;
}

.playlist-inline-head {
  display: grid;
  gap: 0.18rem;
  margin-bottom: 0.8rem;
}

.playlist-day-calendar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.playlist-day-button,
.playlist-hour-button {
  appearance: none;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.playlist-day-button {
  display: grid;
  gap: 0.3rem;
  justify-items: start;
  padding: 1rem 1rem 0.95rem;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.playlist-day-button.is-recent {
  background:
    linear-gradient(180deg, rgba(30, 137, 200, 0.08), rgba(30, 137, 200, 0.03)),
    var(--surface);
}

.playlist-day-button strong {
  font-size: 1.2rem;
  line-height: 1;
}

.playlist-day-weekday {
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.playlist-day-button.is-active,
.playlist-hour-button.is-active,
.playlist-day-button:hover,
.playlist-hour-button:hover {
  border-color: rgba(17, 110, 167, 0.28);
  box-shadow: 0 18px 36px rgba(17, 110, 167, 0.12);
  transform: translateY(-1px);
}

.playlist-day-button.is-active {
  background:
    radial-gradient(circle at top right, rgba(30, 137, 200, 0.18), transparent 34%),
    linear-gradient(135deg, #f5fbff, #eef6fc);
}

.playlist-hour-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  height: var(--playlist-scroll-height);
  max-height: var(--playlist-scroll-height);
  overflow-y: auto;
  background: transparent;
  padding: 0.35rem 0.45rem 0.7rem 0.2rem;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 110, 167, 0.24) transparent;
}

.playlist-hour-grid::-webkit-scrollbar {
  width: 8px;
}

.playlist-hour-grid::-webkit-scrollbar-thumb {
  background: rgba(17, 110, 167, 0.24);
  border-radius: 999px;
}

.playlist-hour-grid::-webkit-scrollbar-track {
  background: transparent;
}

.playlist-hour-button {
  display: grid;
  gap: 0.2rem;
  justify-items: start;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  min-width: 0;
  text-align: left;
}

.playlist-hour-button strong {
  font-size: 1rem;
}

.playlist-hour-button span {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.playlist-results-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
  height: var(--playlist-scroll-height);
  max-height: var(--playlist-scroll-height);
  min-height: 0;
  overflow-y: auto;
  background: transparent;
  padding: 0.35rem 0.45rem 0.7rem 0.2rem;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 110, 167, 0.24) transparent;
}

.playlist-results-list::-webkit-scrollbar {
  width: 8px;
}

.playlist-results-list::-webkit-scrollbar-thumb {
  background: rgba(17, 110, 167, 0.24);
  border-radius: 999px;
}

.playlist-results-list::-webkit-scrollbar-track {
  background: transparent;
}

.playlist-results-shell .section-head {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(17, 110, 167, 0.08);
}

.playlist-result-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(17, 110, 167, 0.06);
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(17, 31, 48, 0.04);
  background-clip: padding-box;
}

.playlist-result-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-width: 0;
}

.playlist-result-media {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  min-width: 0;
}

.playlist-result-cover {
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #eff6ff, #dce9f8);
  border: 1px solid rgba(17, 110, 167, 0.1);
  flex-shrink: 0;
}

.playlist-result-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.playlist-result-cover-fallback {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.playlist-result-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.4rem;
  padding: 0.7rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
  color: var(--text-on-dark);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.playlist-result-copy strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.2;
}

.playlist-result-copy p {
  margin: 0.28rem 0 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.playlist-vote-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 5.2rem;
  justify-content: center;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(224, 53, 92, 0.14);
  background: rgba(255, 240, 244, 0.9);
  color: #cf2c59;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-shadow: 0 10px 22px rgba(224, 53, 92, 0.08);
}

.playlist-vote-button svg,
.home-top-vote-count svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.playlist-vote-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(224, 53, 92, 0.14);
}

.playlist-vote-button.is-liked {
  background: linear-gradient(180deg, #e0355c, #bf2347);
  color: #fff;
  border-color: transparent;
}

.playlist-vote-button.is-disabled {
  opacity: 0.72;
  cursor: default;
}

.playlist-vote-count {
  font-size: 0.92rem;
  font-weight: 800;
}

.home-top-votes-list {
  display: grid;
  gap: 0.85rem;
  max-height: 34rem;
  overflow-y: auto;
  background: transparent;
  padding: 0.35rem 0.45rem 0.7rem 0.2rem;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 110, 167, 0.24) transparent;
}

.home-top-votes-list::-webkit-scrollbar {
  width: 8px;
}

.home-top-votes-list::-webkit-scrollbar-thumb {
  background: rgba(17, 110, 167, 0.24);
  border-radius: 999px;
}

.home-top-votes-list::-webkit-scrollbar-track {
  background: transparent;
}

.home-top-vote-card {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(17, 110, 167, 0.06);
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(17, 31, 48, 0.04);
  background-clip: padding-box;
}

.home-top-vote-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.6rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
  color: var(--text-on-dark);
  font-size: 0.85rem;
  font-weight: 900;
}

.home-top-vote-cover {
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #eff6ff, #dce9f8);
  border: 1px solid rgba(17, 110, 167, 0.1);
}

.consent-shell {
  position: fixed;
  right: 1rem;
  left: 1rem;
  bottom: 1rem;
  z-index: 120;
  display: none;
  pointer-events: none;
  opacity: 0;
}

.consent-shell.is-visible {
  display: block;
  pointer-events: auto;
  opacity: 1;
}

.consent-card {
  width: min(980px, calc(100vw - 2rem));
  margin: 0 auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(30, 137, 200, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 254, 0.99));
  box-shadow: 0 22px 48px rgba(10, 22, 40, 0.22);
  padding: 1.15rem 1.2rem 1.1rem;
}

.consent-head {
  display: grid;
  gap: 0.35rem;
}

.consent-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 0.98;
}

.consent-head p {
  margin: 0;
  color: var(--text-soft);
}

.consent-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.consent-category {
  display: grid;
  gap: 0.45rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.consent-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.consent-category h3 {
  margin: 0;
  font-size: 1rem;
}

.consent-category p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.consent-category input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--brand);
}

.consent-category.is-required {
  background: rgba(231, 245, 253, 0.72);
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.home-top-vote-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-top-vote-cover-fallback {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.home-top-vote-copy {
  min-width: 0;
}

.home-top-vote-copy strong {
  display: block;
  line-height: 1.2;
}

.home-top-vote-copy p {
  margin: 0.28rem 0 0;
  color: var(--text-soft);
}

.home-top-vote-count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 240, 244, 0.9);
  color: #cf2c59;
  font-weight: 800;
}

.playlist-empty-note {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: var(--bg-soft);
  color: var(--text-soft);
  line-height: 1.65;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 1rem;
}

.about-layout.is-single-column {
  grid-template-columns: minmax(0, 1fr);
  max-width: 980px;
  margin-inline: auto;
}

.about-card {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.about-prose {
  display: grid;
  gap: 1rem;
}

.about-prose p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

body[data-page="about"] .about-prose p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  text-align: justify;
}

body[data-page="about"] .about-prose.is-blockschrift p {
  font-size: clamp(1.02rem, 1.55vw, 1.16rem);
  line-height: 1.75;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-align: left;
}

.legal-section-grid {
  display: grid;
  gap: 1.4rem;
}

.legal-section {
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-section h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
}

.legal-copy {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.legal-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.legal-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
  display: grid;
  gap: 0.55rem;
  line-height: 1.7;
}

.about-side {
  display: grid;
  gap: 1rem;
}

body[data-page="custom"] .about-layout.is-single-column .about-card {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: calc(var(--radius-xl) + 6px);
}

body[data-page="custom"] .about-layout.is-single-column .about-prose {
  gap: 1.15rem;
}

body[data-page="custom"] .about-layout.is-single-column .about-prose p {
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.85;
}

body[data-page="custom"] .about-layout.is-single-column .form-stack {
  max-width: 980px;
}

.about-platforms,
.about-facts {
  display: grid;
  gap: 0.85rem;
}

.about-platform,
.about-fact {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid rgba(17, 110, 167, 0.08);
}

.about-platform span,
.about-fact span {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-platform strong,
.about-fact strong {
  color: var(--text-strong);
  font-size: 1rem;
  line-height: 1.4;
}

.receive-panel {
  padding: 1.25rem;
  border-radius: var(--radius-xl);
}

.contact-form-card,
.editor-card,
.editor-preview-card {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.generated-form-block {
  display: grid;
  gap: 0.55rem;
}

.generated-form-block h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.generated-form-block .section-copy {
  max-width: 44rem;
}

.player-request-block {
  padding-top: 1rem;
}

.compact-form-card {
  padding: 1.2rem 1.25rem;
}

.compact-form-card .generated-form-block h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.02;
}

.compact-form-card .section-copy {
  max-width: 52rem;
}

.contact-guard {
  margin-top: 0.35rem;
  display: grid;
  gap: 0.75rem;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-note {
  margin: 0.15rem 0 0;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.5;
}

.contact-side-mail {
  margin: 0.25rem 0 0;
}

.contact-side-mail a {
  color: var(--brand-dark);
  font-weight: 700;
}

.contact-side-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.status-subtle.is-error {
  color: var(--accent);
}

.status-subtle.is-success {
  color: var(--brand-dark);
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.7fr);
  gap: 1rem;
}

.application-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.68fr);
  gap: 1rem;
  align-items: start;
}

.application-copy {
  display: grid;
  gap: 1.35rem;
  padding: 1.7rem 1.8rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f9fbfe);
  box-shadow: var(--shadow-soft);
}

.application-copy,
.application-panel,
.application-side-note {
  border-radius: var(--radius-xl);
}

.application-intro {
  max-width: 43rem;
  margin: 0;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.78;
}

.application-intro-band {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.1rem;
  border-radius: calc(var(--radius-lg) + 2px);
  border: 1px solid rgba(17, 110, 167, 0.12);
  background:
    radial-gradient(circle at top right, rgba(30, 137, 200, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.application-intro-band .eyebrow {
  margin: 0;
}

.application-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.artist-form-block {
  display: flex;
  justify-content: center;
}

.songrequest-form-block {
  display: flex;
  justify-content: center;
}

.contact-form-card-wide {
  width: 100%;
  max-width: min(58rem, 100%);
  padding: 1.95rem 2rem;
}

.songrequest-form-card {
  max-width: min(48rem, 100%);
  padding: 1.85rem 1.9rem;
  background:
    radial-gradient(circle at top right, rgba(30, 137, 200, 0.1), transparent 24%),
    linear-gradient(180deg, #ffffff, #f9fbfe);
}

body[data-page="songrequest"] .songrequest-form-card .generated-form-block {
  gap: 0.6rem;
}

body[data-page="songrequest"] .songrequest-form-card .section-copy {
  max-width: 40rem;
}

body[data-page="songrequest"] .songrequest-form-card .contact-form {
  gap: 0.8rem;
}

body[data-page="songrequest"] .songrequest-form-card .field input,
body[data-page="songrequest"] .songrequest-form-card .field textarea,
body[data-page="songrequest"] .songrequest-form-card .field select {
  padding: 1rem 1.05rem;
  border-radius: 16px;
}

body[data-page="songrequest"] .songrequest-form-card textarea {
  min-height: 10rem;
}

body[data-page="songrequest"] .songrequest-form-card .button {
  width: fit-content;
  min-width: 14rem;
}

.songrequest-side-note {
  max-width: min(28rem, 100%);
}

body[data-page="artists"] .contact-form-card-wide .generated-form-block {
  gap: 0.55rem;
}

body[data-page="artists"] .contact-form-card-wide .section-copy {
  max-width: 42rem;
}

body[data-page="artists"] .contact-form-card-wide .contact-form {
  gap: 0.8rem;
}

body[data-page="artists"] .contact-form-card-wide .field {
  gap: 0.5rem;
}

body[data-page="artists"] .contact-form-card-wide .field input,
body[data-page="artists"] .contact-form-card-wide .field textarea,
body[data-page="artists"] .contact-form-card-wide .field select {
  padding: 1rem 1.05rem;
  border-radius: 16px;
}

body[data-page="artists"] .contact-form-card-wide textarea {
  min-height: 11rem;
}

body[data-page="artists"] .contact-form-card-wide .button {
  width: fit-content;
  min-width: 15rem;
}

.promo-link-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(30, 137, 200, 0.14), transparent 26%),
    linear-gradient(180deg, #ffffff, #f8fbfd);
  box-shadow: var(--shadow);
}

.promo-link-copy {
  max-width: 42rem;
}

.promo-link-actions {
  display: flex;
  align-items: center;
  justify-content: end;
}

body[data-page="kontakt"] .page-flow {
  gap: 1.35rem;
}

.contact-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1.15rem;
  align-items: stretch;
}

.contact-masthead .masthead-copy {
  max-width: 40rem;
}

.contact-masthead-panel {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: 1.35rem;
  border-radius: calc(var(--radius-xl) - 4px);
  border: 1px solid rgba(17, 110, 167, 0.12);
  background:
    radial-gradient(circle at top right, rgba(30, 137, 200, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff, #f8fbfe);
  box-shadow: var(--shadow-soft);
}

.contact-masthead-panel h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.02;
}

.contact-quick-grid {
  display: grid;
  gap: 0.75rem;
}

.contact-quick-link {
  display: grid;
  gap: 0.22rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(17, 110, 167, 0.1);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.contact-quick-link:hover,
.contact-quick-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(17, 110, 167, 0.24);
  box-shadow: 0 14px 26px rgba(17, 110, 167, 0.1);
  background: #ffffff;
}

.contact-quick-label {
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-quick-link strong {
  font-size: 1.02rem;
  line-height: 1.28;
}

.contact-quick-meta {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.contact-overview-shell {
  display: grid;
  gap: 0.9rem;
  max-width: 1320px;
  margin: 0 auto;
}

.contact-overview-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.contact-overview-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 0.96;
  max-width: 18ch;
}

body[data-page="kontakt"] #contactGrid .content-card {
  min-height: 100%;
  padding: 1.35rem 1.45rem 1.4rem;
  background:
    radial-gradient(circle at top right, rgba(30, 137, 200, 0.08), transparent 22%),
    linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: var(--shadow-soft);
}

body[data-page="kontakt"] #contactGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

body[data-page="kontakt"] #contactGrid .tag-chip {
  margin-bottom: 0.7rem;
}

body[data-page="kontakt"] #contactGrid h3 {
  font-size: clamp(1.3rem, 1.6vw, 1.75rem);
  line-height: 1.05;
  margin-bottom: 0.4rem;
  overflow-wrap: anywhere;
}

body[data-page="kontakt"] #contactGrid p {
  font-size: 0.96rem;
  line-height: 1.5;
  max-width: 28ch;
  overflow-wrap: anywhere;
}

body[data-page="kontakt"] #contactGrid .card-meta {
  margin-top: 0.7rem;
  padding-top: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

body[data-page="kontakt"] #contactGrid .content-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

body[data-page="kontakt"] #contactGrid .content-card-link:hover .content-card,
body[data-page="kontakt"] #contactGrid .content-card-link:focus-visible .content-card {
  transform: translateY(-2px);
  border-color: rgba(17, 110, 167, 0.22);
  box-shadow: 0 18px 34px rgba(17, 110, 167, 0.1);
}

@media (max-width: 1180px) {
  body[data-page="kontakt"] #contactGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-service-layout {
  align-items: stretch;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.78fr);
}

.contact-form-card-emphasis {
  margin-inline: auto;
  padding: 1.7rem;
  background:
    radial-gradient(circle at top right, rgba(30, 137, 200, 0.11), transparent 24%),
    linear-gradient(180deg, #ffffff, #f9fbfe);
  box-shadow: var(--shadow);
}

.contact-form-intro {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.contact-form-intro h2 {
  margin: 0;
  font-size: clamp(1.9rem, 2.8vw, 2.8rem);
  line-height: 0.95;
  max-width: 15ch;
}

.contact-side-card {
  position: relative;
  overflow: hidden;
  justify-content: start;
  gap: 0.95rem;
}

.contact-side-card::after {
  content: "";
  position: absolute;
  right: -2.5rem;
  bottom: -3rem;
  width: 11rem;
  height: 11rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 72%);
  pointer-events: none;
}

body[data-page="kontakt"] .contact-side-card h2 {
  max-width: 12ch;
  line-height: 0.96;
}

body[data-page="kontakt"] .contact-side-card .contact-side-actions {
  margin-top: 1.2rem;
}

.contact-side-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.contact-side-list li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.58;
}

.contact-side-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.advertising-page-head {
  padding-top: 0.2rem;
}

.advertising-page-head h1:empty {
  display: none;
}

.advertising-page-head h1 {
  max-width: none;
}

.partner-stack {
  display: grid;
  gap: 1.1rem;
  justify-content: start;
}

body[data-page="werbung"] .content-block {
  padding-top: 1rem;
}

.partner-card {
  display: grid;
  grid-template-columns: minmax(190px, var(--partner-photo-width)) minmax(420px, var(--partner-copy-width));
  gap: 0.9rem;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
}

.partner-card-photo-shell,
.partner-card-copy {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  align-self: stretch;
}

.partner-card-photo-shell {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  height: 100%;
  width: 100%;
  background:
    radial-gradient(circle at top center, rgba(82, 148, 255, 0.14), transparent 32%),
    linear-gradient(160deg, #f0f5f8, #cfd8de);
}

.partner-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.partner-card-copy {
  padding: var(--partner-card-padding);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(145deg, var(--partner-surface-start), #17345f 54%, var(--partner-surface-end) 100%);
  color: var(--text-on-dark);
}

.partner-card-copy h2 {
  margin: 0.35rem 0 0;
  font-family: var(--display-font);
  font-size: clamp(1.85rem, 3vw, 2.95rem);
  line-height: 0.96;
}

.partner-card-role,
.partner-card-subtitle,
.partner-card-claim,
.partner-card-lead {
  margin: 0;
}

.partner-card-role {
  margin-top: 1rem;
  font-size: clamp(1.15rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.05;
}

.partner-card-subtitle {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partner-card-claim {
  margin-top: 0.85rem;
  font-size: clamp(1rem, 1.8vw, 1.65rem);
  line-height: 1.16;
  font-weight: 500;
}

.partner-card-lead {
  margin-top: 0.75rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.partner-card-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.15rem;
  flex-wrap: wrap;
}

.partner-social-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.partner-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 24px rgba(8, 14, 26, 0.18);
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.partner-social-link:hover,
.partner-social-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 18px 32px rgba(8, 14, 26, 0.24);
}

.partner-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  color: #ffffff;
}

.partner-social-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.partner-social-link.social-facebook .partner-social-icon svg,
.partner-social-link.social-tiktok .partner-social-icon svg,
.partner-social-link.social-xing .partner-social-icon svg,
.partner-social-icon svg .fill-dot {
  fill: currentColor;
  stroke: none;
}

.partner-social-link.social-mail {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(145deg, #4da7f5, #256fcb);
  border-color: rgba(144, 201, 255, 0.45);
}

.partner-social-link.social-instagram {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 195, 113, 0.42), transparent 22%),
    linear-gradient(145deg, #833ab4, #fd1d1d 62%, #fcb045);
  border-color: rgba(255, 212, 157, 0.34);
}

.partner-social-link.social-tiktok {
  background:
    radial-gradient(circle at 30% 20%, rgba(83, 255, 242, 0.24), transparent 24%),
    linear-gradient(145deg, #121212, #101820 58%, #1a3b42);
  border-color: rgba(123, 255, 242, 0.22);
}

.partner-social-link.social-xing {
  background:
    radial-gradient(circle at top right, rgba(26, 198, 178, 0.2), transparent 32%),
    linear-gradient(145deg, #0b7d67, #0f4c44);
  border-color: rgba(95, 221, 196, 0.28);
}

.partner-social-link.social-facebook {
  background:
    radial-gradient(circle at top right, rgba(145, 183, 255, 0.25), transparent 32%),
    linear-gradient(145deg, #2f6fe4, #1f4ca8);
  border-color: rgba(157, 191, 255, 0.3);
}

.partner-social-link.social-link,
.partner-social-link.social-website,
.partner-social-link.social-web {
  background:
    radial-gradient(circle at top right, rgba(197, 225, 255, 0.2), transparent 34%),
    linear-gradient(145deg, #4e647f, #1f3550);
  border-color: rgba(199, 220, 244, 0.28);
}

.partner-social-link.social-linkedin {
  background:
    radial-gradient(circle at top right, rgba(118, 196, 255, 0.24), transparent 34%),
    linear-gradient(145deg, #2c85c9, #175b90);
  border-color: rgba(145, 214, 255, 0.28);
}

.partner-social-link.social-youtube {
  background:
    radial-gradient(circle at top right, rgba(255, 196, 196, 0.2), transparent 34%),
    linear-gradient(145deg, #ff3d3d, #b81616);
  border-color: rgba(255, 186, 186, 0.28);
}

.partner-social-link.social-whatsapp {
  background:
    radial-gradient(circle at top right, rgba(171, 255, 204, 0.2), transparent 34%),
    linear-gradient(145deg, #2ebc66, #18864a);
  border-color: rgba(180, 255, 209, 0.28);
}

.social-xing {
  background:
    radial-gradient(circle at top right, rgba(26, 198, 178, 0.18), transparent 32%),
    linear-gradient(160deg, rgba(0, 126, 101, 0.32), rgba(7, 23, 28, 0.96));
}

.social-xing .social-icon {
  background: linear-gradient(135deg, #0b7d67, #11685b);
}

.application-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
  padding: 1.45rem 1.5rem 1.55rem;
  border: 1px solid rgba(17, 110, 167, 0.12);
  background:
    radial-gradient(circle at top right, rgba(30, 137, 200, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff, #f9fbfe);
  box-shadow: 0 18px 34px rgba(17, 31, 48, 0.06);
}

.application-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(219, 31, 47, 0.9), rgba(30, 137, 200, 0.35));
}

.application-panel .eyebrow {
  margin: 0;
}

.application-panel h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.02;
}

.application-side {
  position: relative;
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1.55rem 1.55rem 1.7rem;
  min-height: 100%;
  border: 1px solid rgba(17, 110, 167, 0.16);
  background:
    radial-gradient(circle at top right, rgba(30, 137, 200, 0.16), transparent 28%),
    linear-gradient(160deg, rgba(28, 58, 103, 0.98), rgba(18, 40, 77, 0.96));
  box-shadow: 0 24px 42px rgba(17, 31, 48, 0.18);
}

.application-side::after {
  content: "";
  position: absolute;
  inset: auto 1.55rem 0.95rem 1.55rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
  pointer-events: none;
}

.application-side .eyebrow,
.application-side h2,
.application-side .section-copy {
  position: relative;
  z-index: 1;
}

.application-side h2 {
  margin: 0;
  max-width: 12ch;
  color: #ffffff;
  font-size: clamp(2rem, 3.3vw, 2.95rem);
  line-height: 0.96;
}

.application-side .section-copy {
  margin: 0;
  color: rgba(232, 240, 250, 0.9);
  line-height: 1.7;
}

.application-side .button {
  position: relative;
  z-index: 1;
  width: fit-content;
  min-width: 18rem;
  justify-content: center;
  border-radius: 999px;
  box-shadow: 0 16px 30px rgba(219, 31, 47, 0.22);
}

.feature-list {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  color: var(--text);
  display: grid;
  gap: 0.95rem;
  line-height: 1.58;
}

.feature-list li {
  position: relative;
  display: grid;
  grid-template-columns: 1.2rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.feature-list li::before {
  content: "";
  width: 0.72rem;
  height: 0.72rem;
  margin-top: 0.48rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  box-shadow: 0 0 0 5px rgba(30, 137, 200, 0.08);
}

.feature-list.compact {
  margin-top: 0.8rem;
  gap: 0.55rem;
}

.editor-layout-wide {
  grid-template-columns: minmax(0, 1.6fr) minmax(290px, 0.68fr);
}

.editor-page-switcher {
  display: grid;
  gap: 0.9rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff, #f8fbfd);
}

.editor-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.editor-page-button {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  border-radius: 999px;
  padding: 0.8rem 1.05rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.editor-page-button:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 110, 167, 0.28);
}

.editor-page-button.is-active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 12px 26px rgba(17, 110, 167, 0.18);
}

.editor-page-summary {
  margin: 0;
}

.editor-form {
  display: grid;
  gap: 1rem;
}

.editor-section {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.editor-section[hidden],
.editor-advanced-block[hidden] {
  display: none;
}

.editor-section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.editor-subhead {
  margin-bottom: 1rem;
}

.editor-subhead h3 {
  margin: 0.35rem 0 0;
  font-family: var(--display-font);
  font-size: 1.55rem;
  line-height: 1;
}

.editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.editor-check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.editor-span-2 {
  grid-column: span 2;
}

.editor-json-head {
  margin-top: 1.6rem;
}

.editor-page-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.editor-page-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.25fr);
  gap: 1rem;
  align-items: start;
}

.editor-builder-column {
  display: grid;
  gap: 0.85rem;
}

.editor-page-list {
  display: grid;
  gap: 0.75rem;
}

.editor-builder-tip {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(17, 110, 167, 0.14);
  background: linear-gradient(180deg, #f9fcff, #eef7fd);
  color: var(--text-soft);
  line-height: 1.55;
}

.editor-builder-tip strong {
  color: var(--text);
}

.editor-page-item,
.editor-empty-note {
  width: 100%;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.editor-page-item {
  display: grid;
  gap: 0.28rem;
  text-align: left;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.editor-page-item:hover,
.editor-page-item:focus-visible,
.editor-page-item.is-active {
  transform: translateY(-1px);
  border-color: rgba(17, 110, 167, 0.28);
  background: linear-gradient(180deg, #ffffff, #eef7fd);
  box-shadow: 0 14px 28px rgba(17, 110, 167, 0.12);
}

.editor-sortable-item {
  position: relative;
}

.editor-sortable-item[draggable="true"] {
  cursor: grab;
}

.editor-sortable-item.is-dragging {
  opacity: 0.45;
  transform: scale(0.985);
}

.editor-sortable-item.is-drop-before {
  box-shadow: inset 0 3px 0 rgba(30, 137, 200, 0.88);
}

.editor-sortable-item.is-drop-after {
  box-shadow: inset 0 -3px 0 rgba(30, 137, 200, 0.88);
}

.editor-page-item strong {
  color: var(--text);
  font-size: 1rem;
}

.editor-page-item span,
.editor-page-item small,
.editor-empty-note {
  color: var(--text-soft);
}

.editor-page-item span {
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 0.84rem;
}

.editor-page-item small {
  font-size: 0.8rem;
}

.editor-page-item.is-muted {
  opacity: 0.72;
}

.editor-page-item-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(17, 110, 167, 0.09);
  color: var(--brand-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editor-page-item.is-muted .editor-page-item-status {
  background: rgba(17, 17, 17, 0.06);
  color: var(--text-soft);
}

.live-editor-shell {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
}

.live-builder-dock {
  position: fixed;
  top: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: auto minmax(180px, 220px) auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(17, 110, 167, 0.14);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
  z-index: 91;
}

.live-builder-dock__title {
  display: grid;
  gap: 0.18rem;
}

.live-builder-dock__title strong {
  color: var(--text);
  font-family: var(--display-font);
  font-size: 1.08rem;
  line-height: 1;
}

.live-builder-dock__field {
  min-width: 0;
}

.live-builder-dock__field span {
  font-size: 0.76rem;
}

.live-builder-dock__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.live-editor-fab,
.live-editor-panel,
.live-editor-backdrop {
  pointer-events: auto;
}

.live-editor-fab {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  min-height: 3.1rem;
  padding: 0.9rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
  color: var(--text-on-dark);
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(17, 110, 167, 0.24);
  cursor: pointer;
}

.live-editor-backdrop {
  position: fixed;
  inset: 0;
  border: 0;
  background: rgba(8, 18, 31, 0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.live-editor-panel {
  position: fixed;
  top: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  width: min(30rem, calc(100vw - 1.2rem));
  padding: 1rem;
  border-radius: 1.4rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  overflow: auto;
  transform: translateX(calc(100% + 1rem));
  transition: transform 220ms ease;
  backdrop-filter: blur(18px);
}

.live-editor-shell.is-open .live-editor-backdrop {
  opacity: 1;
  visibility: visible;
}

.live-editor-shell.is-open .live-editor-panel {
  transform: translateX(0);
}

.live-editor-head,
.live-editor-head-actions,
.live-editor-toolbar,
.live-editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.live-editor-head {
  align-items: start;
}

.live-editor-head h2 {
  margin: 0.45rem 0 0;
  font-family: var(--display-font);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 0.98;
}

.live-editor-close {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.live-editor-status {
  margin: 0.9rem 0 0;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.95rem;
  line-height: 1.55;
}

.live-selection-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(17, 110, 167, 0.16);
  background: linear-gradient(180deg, #f8fbff, #eef7fd);
}

.live-selection-bar__copy {
  display: grid;
  gap: 0.18rem;
}

.live-selection-bar__copy span {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-selection-bar__copy strong {
  color: var(--text);
  font-size: 1rem;
}

.live-selection-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.live-editor-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.live-editor-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.live-editor-span-2 {
  grid-column: span 2;
}

.live-editor-toolbar {
  flex-wrap: wrap;
  margin: 0.8rem 0;
}

.live-editor-collection-picker {
  min-width: 100%;
}

.live-editor-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.live-editor-list-item {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
}

.live-editor-list-item strong,
.live-editor-list-item span {
  display: block;
}

.live-editor-list-item strong {
  font-size: 0.98rem;
}

.live-editor-list-item span {
  margin-top: 0.3rem;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.45;
}

.live-editor-list-item.is-active {
  border-color: rgba(17, 110, 167, 0.34);
  background: linear-gradient(180deg, rgba(231, 245, 253, 0.9), #ffffff);
  box-shadow: 0 10px 22px rgba(17, 110, 167, 0.1);
}

.live-editor-list-item[draggable="true"] {
  cursor: grab;
}

.live-editor-empty {
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: 1rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.live-editor-module-visibility,
.live-editor-checkbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.live-editor-module-visibility input,
.live-editor-checkbox input {
  width: 1.1rem;
  height: 1.1rem;
}

.live-editor-footer {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.builder-live-target {
  position: relative;
  cursor: pointer;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.builder-module-target {
  position: relative;
  cursor: pointer;
  transition: box-shadow 160ms ease, transform 160ms ease, outline-color 160ms ease;
}

.builder-live-target:hover {
  box-shadow: 0 18px 34px rgba(17, 110, 167, 0.14);
  transform: translateY(-2px);
}

.builder-module-target:hover {
  box-shadow: 0 16px 28px rgba(17, 110, 167, 0.08);
}

.builder-live-target.is-selected {
  outline: 3px solid rgba(17, 110, 167, 0.36);
  outline-offset: 4px;
}

.builder-module-target.is-selected {
  outline: 3px solid rgba(17, 110, 167, 0.3);
  outline-offset: 6px;
}

.builder-live-target.is-drop-before::before,
.builder-live-target.is-drop-after::after,
.builder-module-target.is-drop-before::before,
.builder-module-target.is-drop-after::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  z-index: 2;
}

.builder-live-target.is-drop-before::before {
  top: -0.35rem;
}

.builder-live-target.is-drop-after::after {
  bottom: -0.35rem;
}

.builder-live-target.is-dragging {
  opacity: 0.72;
}

.builder-module-target.is-dragging {
  opacity: 0.72;
}

.editor-empty-note {
  line-height: 1.6;
}

.editor-page-fields {
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f8fbfd);
}

.admin-page {
  width: min(calc(100% - 2rem), 1320px);
  margin: 1.2rem auto 4rem;
  display: grid;
  gap: 1rem;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: start;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, #10233f, #173763 56%, #21558c);
  color: var(--text-on-dark);
  box-shadow: 0 30px 70px rgba(9, 26, 46, 0.24);
}

.admin-hero-copy,
.admin-login-card,
.admin-dashboard,
.admin-country-panel {
  display: grid;
  gap: 0.9rem;
}

.admin-hero-copy,
.admin-login-card {
  align-content: start;
}

.admin-dashboard[hidden],
#adminLoginPanel[hidden],
#adminAccountPanel[hidden] {
  display: none !important;
}

.admin-hero-copy h1,
.admin-card h2,
.admin-card h3,
.admin-country-panel h3 {
  margin: 0;
}

.admin-hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.admin-card,
.admin-login-card,
.admin-country-panel {
  padding: 1.1rem;
  border-radius: 1.6rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f8fbfd);
  box-shadow: 0 18px 44px rgba(17, 26, 38, 0.08);
}

.admin-status {
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: #eef7fd;
  color: var(--brand-dark);
  font-size: 0.95rem;
  line-height: 1.55;
}

.admin-status[hidden] {
  display: none !important;
}

.admin-status.is-error {
  background: #fff0f1;
  color: #a31624;
}

.admin-status.is-success {
  background: #eefaf3;
  color: #0d7a40;
}

.admin-login-card .form-stack,
.admin-country-panel .admin-city-list {
  margin-top: 0.2rem;
}

.admin-login-card .section-copy {
  margin: 0;
}

.admin-login-card h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.admin-auth-field {
  gap: 0.55rem;
}

.admin-auth-label {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.admin-auth-input {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  min-height: 62px;
  border-radius: 18px;
  border: 1px solid rgba(17, 110, 167, 0.16);
  background: linear-gradient(180deg, #ffffff, #f6fbff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 14px 28px rgba(17, 26, 38, 0.06);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.admin-auth-input:focus-within {
  border-color: rgba(17, 110, 167, 0.44);
  box-shadow: 0 0 0 4px rgba(30, 137, 200, 0.12), 0 18px 36px rgba(17, 26, 38, 0.1);
  transform: translateY(-1px);
}

.admin-auth-icon {
  display: grid;
  place-items: center;
  align-self: stretch;
  color: var(--brand-dark);
  background: linear-gradient(180deg, rgba(18, 110, 167, 0.14), rgba(18, 110, 167, 0.05));
  border-right: 1px solid rgba(17, 110, 167, 0.12);
}

.admin-auth-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.admin-auth-input input {
  width: 100%;
  min-width: 0;
  padding: 1rem 1rem 1rem 0.95rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  outline: none;
  box-shadow: none;
}

.admin-auth-input input::placeholder {
  color: #9aa8b5;
  font-weight: 500;
}

.admin-actions .button {
  min-width: 180px;
  padding-inline: 1.4rem;
  background: linear-gradient(135deg, #0f6faf, #1e89c8);
  color: #ffffff;
  border: 0;
  box-shadow: 0 16px 32px rgba(17, 110, 167, 0.22);
}

.admin-actions .button:hover,
.admin-actions .button:focus-visible {
  background: linear-gradient(135deg, #0d6299, #167ab2);
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: 1rem;
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-metric {
  padding: 0.95rem 1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(17, 110, 167, 0.12);
  background: linear-gradient(180deg, #f7fbff, #edf5fb);
}

.admin-metric span {
  display: block;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.admin-metric strong {
  display: block;
  margin-top: 0.32rem;
  font-family: var(--display-font);
  font-size: 1.8rem;
  line-height: 0.96;
}

.admin-toolbar,
.admin-actions,
.admin-inline-actions,
.admin-country-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-toolbar {
  align-items: center;
  justify-content: space-between;
}

.admin-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-end;
}

.admin-country-chip {
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-map-shell {
  position: relative;
  overflow: hidden;
  min-height: 25rem;
  border-radius: 1.45rem;
  background:
    radial-gradient(circle at 20% 35%, rgba(64, 122, 201, 0.2), transparent 20rem),
    linear-gradient(180deg, #0d223c, #112a47 52%, #173257);
}

.admin-map-svg {
  width: 100%;
  height: 100%;
}

.admin-map-svg .continent {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 2;
}

.admin-map-markers {
  position: absolute;
  inset: 0;
}

.admin-map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 0.95rem;
  height: 0.95rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff6b73, #db1f2f);
  box-shadow: 0 0 0 6px rgba(219, 31, 47, 0.16);
  cursor: pointer;
}

.admin-map-marker.is-active {
  background: linear-gradient(180deg, #7be3ff, #1e89c8);
  box-shadow: 0 0 0 8px rgba(30, 137, 200, 0.18);
}

.admin-map-hint {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.admin-country-list,
.admin-source-list,
.admin-page-list,
.admin-session-list,
.admin-city-list,
.admin-trend-list {
  display: grid;
  gap: 0.7rem;
  max-height: min(34rem, 62vh);
  overflow: auto;
  padding-right: 0.45rem;
  scrollbar-gutter: stable both-edges;
}

.admin-trends-card {
  gap: 1rem;
}

.admin-chart-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1.3rem;
  border: 1px solid rgba(17, 110, 167, 0.1);
  background: linear-gradient(180deg, #fcfeff, #f1f8fd);
}

.admin-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.admin-chart-head h3 {
  margin: 0;
}

.admin-chart-head .section-copy {
  margin: 0.35rem 0 0;
}

.admin-chart-filter {
  min-width: 14rem;
}

.admin-segment-card {
  display: grid;
  gap: 1rem;
}

.admin-segment-chart {
  display: grid;
  gap: 0.95rem;
}

.admin-segment-bar {
  display: flex;
  overflow: hidden;
  min-height: 1rem;
  border-radius: 999px;
  background: #e8f0f6;
}

.admin-segment-fill {
  min-width: 0;
}

.admin-segment-fill-new {
  background: linear-gradient(90deg, #0f6faf, #56b3f4);
}

.admin-segment-fill-returning {
  background: linear-gradient(90deg, #0e7b58, #4cbf8d);
}

.admin-segment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.admin-segment-item {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 26, 38, 0.05);
}

.admin-segment-item strong {
  font-family: var(--display-font);
  font-size: 2rem;
  line-height: 0.95;
}

.admin-segment-item span {
  color: var(--text);
  font-weight: 700;
}

.admin-segment-item small {
  color: var(--text-soft);
}

.admin-chart-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.admin-chart-stage {
  overflow-x: auto;
  padding: 0.5rem 0.35rem 0.15rem;
  scrollbar-gutter: stable both-edges;
}

.admin-chart-svg {
  display: block;
  width: 100%;
  min-width: 52rem;
  height: auto;
}

.admin-chart-axis {
  stroke: rgba(17, 110, 167, 0.22);
  stroke-width: 1.5;
}

.admin-chart-axis-soft {
  stroke: rgba(17, 110, 167, 0.08);
  stroke-dasharray: 6 8;
}

.admin-chart-bar {
  fill: url(#adminChartFill);
  filter: drop-shadow(0 10px 18px rgba(17, 110, 167, 0.18));
}

.admin-chart-value,
.admin-chart-label {
  fill: #31516f;
  font-family: var(--body-font);
}

.admin-chart-value {
  font-size: 0.88rem;
  font-weight: 700;
}

.admin-chart-label {
  font-size: 0.84rem;
  font-weight: 600;
}

.admin-filter-card {
  gap: 1rem;
}

.admin-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: end;
}

.admin-filter-actions {
  display: flex;
  justify-content: flex-end;
  align-items: end;
  min-height: 100%;
}

.admin-trend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.admin-trend-panel {
  display: grid;
  gap: 0.75rem;
  padding: 0.9rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(17, 110, 167, 0.1);
  background: linear-gradient(180deg, #fcfeff, #f4f9fc);
}

.admin-trend-row {
  display: grid;
  gap: 0.45rem;
  padding: 0.8rem 0.85rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #fff;
}

.admin-trend-copy {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
}

.admin-trend-copy strong {
  font-size: 0.94rem;
}

.admin-trend-copy span {
  color: var(--text-soft);
  font-size: 0.82rem;
  text-align: right;
}

.admin-trend-bar {
  overflow: hidden;
  height: 0.52rem;
  border-radius: 999px;
  background: #e8f0f6;
}

.admin-trend-fill {
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f6faf, #53a6df);
}

.admin-device-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
}

.admin-device-head span {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.admin-country-row,
.admin-data-row,
.admin-city-row {
  width: 100%;
  padding: 0.9rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #fff;
  text-align: left;
  box-shadow: 0 12px 28px rgba(17, 26, 38, 0.05);
}

.admin-country-row.is-active {
  border-color: rgba(17, 110, 167, 0.28);
  background: linear-gradient(180deg, #ffffff, #eef7fd);
}

.admin-country-row strong,
.admin-data-row strong,
.admin-city-row strong {
  display: block;
}

.admin-country-row span,
.admin-data-row span,
.admin-city-row span {
  display: block;
  margin-top: 0.28rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.admin-data-row small,
.admin-city-row small,
.analytics-row small {
  display: block;
  margin-top: 0.18rem;
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.45;
}

.editor-tile-canvas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.85rem;
}

.editor-tile-preview {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(17, 110, 167, 0.12);
  background: linear-gradient(180deg, #ffffff, #f7fbfe);
  text-align: left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.editor-tile-preview:hover,
.editor-tile-preview:focus-visible,
.editor-tile-preview.is-active {
  transform: translateY(-1px);
  border-color: rgba(17, 110, 167, 0.28);
  box-shadow: 0 16px 28px rgba(17, 110, 167, 0.12);
}

.editor-tile-preview.is-dark {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(15, 28, 49, 0.98), rgba(20, 42, 77, 0.98));
  color: #fff;
}

.editor-tile-preview.is-dark .editor-tile-preview-text,
.editor-tile-preview.is-dark .editor-tile-preview-meta {
  color: rgba(255, 255, 255, 0.72);
}

.editor-tile-preview.is-dark .editor-tile-preview-actions a {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.editor-tile-preview-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5rem;
  padding: 0.8rem;
  border-radius: 18px;
  background: #edf5fd;
  overflow: hidden;
}

.editor-tile-preview-media img {
  max-width: 100%;
  max-height: 3rem;
  object-fit: contain;
}

.editor-tile-preview-copy {
  display: grid;
  gap: 0.55rem;
}

.editor-tile-preview-copy h4 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 1.2rem;
  line-height: 1.02;
}

.editor-tile-preview-text,
.editor-tile-preview-meta {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
  font-size: 0.96rem;
}

.editor-tile-preview-meta {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editor-tile-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.editor-tile-preview-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 110, 167, 0.15);
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 10px 22px rgba(17, 110, 167, 0.08);
}

.editor-tile-preview-actions svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.editor-tile-preview-actions .fill-dot {
  fill: currentColor;
  stroke: none;
}

.editor-tile-preview-actions .social-instagram {
  background: linear-gradient(135deg, #7638fa, #ff5a34);
  color: #fff;
}

.editor-tile-preview-actions .social-facebook {
  background: linear-gradient(135deg, #4b79ff, #2753c8);
  color: #fff;
}

.editor-tile-preview-actions .social-tiktok {
  background: linear-gradient(135deg, #111111, #0d3e43);
  color: #fff;
}

.editor-tile-preview-actions .social-xing {
  background: linear-gradient(135deg, #1d3d46, #2f735e);
  color: #fff;
}

.editor-tile-preview-actions .social-mail,
.editor-tile-preview-actions .social-email {
  background: linear-gradient(135deg, #5ca7ff, #4a7dff);
  color: #fff;
}

.field-inline {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.6rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.field-inline input {
  width: auto;
}

.field-inline input[type="checkbox"] {
  min-width: 1.1rem;
  min-height: 1.1rem;
  padding: 0;
  accent-color: var(--brand);
}

.editor-json {
  width: 100%;
  min-height: 28rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #0f1115;
  color: #f8f8f8;
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  resize: vertical;
}

.preview-link-card {
  display: block;
  padding: 1rem;
  border-radius: 16px;
  color: var(--text);
  font-weight: 700;
}

.preview-link-card:hover,
.preview-link-card:focus-visible {
  border-color: var(--brand);
}

.editor-hint {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.analytics-dashboard {
  display: grid;
  gap: 1rem;
}

.analytics-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.analytics-metric-card,
.analytics-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.analytics-metric-card {
  padding: 1rem 1.1rem;
}

.analytics-metric-card span {
  display: block;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.analytics-metric-card strong {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--display-font);
  font-size: 1.85rem;
  line-height: 1;
}

.analytics-detail-grid {
  align-items: start;
}

.analytics-panel {
  padding: 1rem 1.1rem;
}

.analytics-panel-head {
  margin-bottom: 0.7rem;
}

.analytics-panel-head h4 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 1.2rem;
}

.analytics-list {
  display: grid;
  gap: 0.7rem;
  max-height: min(28rem, 56vh);
  overflow: auto;
  padding-right: 0.35rem;
}

.analytics-row {
  display: grid;
  gap: 0.15rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
}

.analytics-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}

.analytics-row strong {
  font-size: 1rem;
}

.analytics-row span,
.analytics-row small {
  color: var(--text-soft);
}

.analytics-row small {
  font-size: 0.86rem;
}

.social-showcase {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(30, 137, 200, 0.2), transparent 26%),
    radial-gradient(circle at bottom left, rgba(219, 31, 47, 0.18), transparent 28%),
    linear-gradient(145deg, #09131c, #0d1d2a 52%, #05080c 100%);
  color: var(--text-on-dark);
}

.social-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 42%);
  pointer-events: none;
}

.social-showcase.is-compact {
  min-height: 100%;
  padding: 1.2rem;
}

.social-showcase-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.45fr);
  gap: 1.6rem;
  align-items: start;
}

.social-showcase .section-copy,
.social-showcase .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.social-showcase-head {
  max-width: 30rem;
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  align-content: start;
}

.social-link {
  display: grid;
  align-content: space-between;
  gap: 1.1rem;
  min-height: 12.6rem;
  padding: 1.25rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-on-dark);
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.24);
}

.social-link-featured {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  min-height: 0;
  padding: 1rem 1.05rem;
  border-radius: 22px;
}

.social-link-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.social-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.social-copy {
  display: grid;
  gap: 0.36rem;
  text-align: left;
}

.social-link-featured .social-copy {
  gap: 0.14rem;
}

.social-link strong {
  color: var(--text-on-dark);
  font-size: 1.45rem;
  line-height: 1;
}

.social-link-featured strong {
  font-size: 1.18rem;
  line-height: 1.05;
}

.social-handle,
.social-cta {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.96rem;
}

.social-link-featured .social-handle {
  font-size: 0.86rem;
}

.social-cta {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.social-link-arrow {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.1rem;
  line-height: 1;
}

.social-instagram {
  background:
    radial-gradient(circle at top right, rgba(252, 175, 69, 0.22), transparent 34%),
    linear-gradient(160deg, rgba(131, 58, 180, 0.34), rgba(225, 48, 108, 0.24), rgba(17, 20, 24, 0.96));
}

.social-tiktok {
  background:
    radial-gradient(circle at top right, rgba(37, 244, 238, 0.16), transparent 32%),
    radial-gradient(circle at bottom left, rgba(254, 44, 85, 0.18), transparent 28%),
    linear-gradient(160deg, rgba(15, 18, 20, 0.98), rgba(7, 11, 15, 0.98));
}

.social-facebook {
  background:
    radial-gradient(circle at top right, rgba(87, 149, 255, 0.2), transparent 34%),
    linear-gradient(155deg, rgba(24, 119, 242, 0.34), rgba(8, 21, 38, 0.96));
}

.social-link.is-compact {
  min-height: auto;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  padding: 0.58rem 0.8rem;
  border-radius: 18px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.social-icon svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-instagram .social-icon {
  background: linear-gradient(135deg, #833ab4, #fd1d1d 58%, #fcb045);
}

.social-tiktok .social-icon {
  background: linear-gradient(135deg, #25f4ee, #0d0d0d 48%, #fe2c55);
}

.social-facebook .social-icon {
  background: linear-gradient(135deg, #1877f2, #0f5ecc);
}

.social-link-featured.social-instagram {
  background:
    radial-gradient(circle at top right, rgba(252, 175, 69, 0.15), transparent 40%),
    linear-gradient(160deg, rgba(131, 58, 180, 0.18), rgba(225, 48, 108, 0.14), rgba(14, 22, 36, 0.92));
}

.social-link-featured.social-tiktok {
  background:
    radial-gradient(circle at top right, rgba(37, 244, 238, 0.1), transparent 34%),
    radial-gradient(circle at bottom left, rgba(254, 44, 85, 0.12), transparent 30%),
    linear-gradient(160deg, rgba(10, 16, 22, 0.95), rgba(8, 12, 18, 0.96));
}

.social-link-featured.social-facebook {
  background:
    radial-gradient(circle at top right, rgba(87, 149, 255, 0.13), transparent 36%),
    linear-gradient(155deg, rgba(24, 119, 242, 0.2), rgba(14, 28, 55, 0.95));
}

.social-icon svg .fill-dot,
.social-facebook svg,
.social-tiktok svg {
  fill: currentColor;
  stroke: none;
}

.social-link.is-compact .social-link-top {
  display: contents;
}

.social-link.is-compact .social-badge,
.social-link.is-compact .social-handle,
.social-link.is-compact .social-cta {
  display: none;
}

.social-link.is-compact .social-copy {
  gap: 0;
}

.social-link.is-compact strong {
  font-size: 0.84rem;
  line-height: 1.05;
}

.social-link.is-compact .social-icon {
  width: 2rem;
  height: 2rem;
}

.social-link.is-compact .social-icon svg {
  width: 0.94rem;
  height: 0.94rem;
}

.social-showcase.is-compact .social-showcase-head {
  max-width: none;
}

.social-showcase.is-compact .social-showcase-layout {
  display: block;
}

.social-showcase.is-compact h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.social-showcase.is-compact .section-copy {
  font-size: 0.92rem;
  line-height: 1.55;
}

.social-showcase.is-compact .social-grid {
  gap: 0.7rem;
  margin-top: 1rem;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: end;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.footer-link-row {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-link-row-primary {
  align-items: center;
  gap: 1rem 1.15rem;
}

.footer-link {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 160ms ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--brand-dark);
}

.footer-admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(15, 38, 67, 0.09);
  background: rgba(15, 38, 67, 0.04);
}

.footer-admin-link:hover,
.footer-admin-link:focus-visible {
  color: var(--brand-dark);
  background: rgba(17, 110, 167, 0.08);
  border-color: rgba(17, 110, 167, 0.18);
}

.footer-admin-icon {
  width: 1rem;
  height: 1rem;
  display: inline-flex;
}

.footer-admin-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social .partner-social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(15, 38, 67, 0.05);
  border: 1px solid rgba(15, 38, 67, 0.08);
}

.footer-social .partner-social-link:hover,
.footer-social .partner-social-link:focus-visible {
  background: rgba(15, 38, 67, 0.1);
  border-color: rgba(15, 38, 67, 0.14);
}

.footer-social .partner-social-icon {
  width: 1rem;
  height: 1rem;
  color: var(--text);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 2.2rem 0 1.8rem;
  border-top: 1px solid rgba(15, 38, 67, 0.08);
}

.whatsapp-chat-float {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.05rem;
  border-radius: 999px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(145deg, #2ecb6b, #179654);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 42px rgba(23, 150, 84, 0.28);
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.whatsapp-chat-float:hover,
.whatsapp-chat-float:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 26px 48px rgba(23, 150, 84, 0.34);
  filter: saturate(1.05);
}

.whatsapp-chat-float__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.whatsapp-chat-float__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
  stroke: none;
}

.whatsapp-chat-float__copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  line-height: 1.15;
}

.whatsapp-chat-float__copy strong {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.whatsapp-chat-float__copy span {
  font-size: 0.78rem;
  opacity: 0.92;
}

.footer-meta p {
  margin: 0;
  color: var(--text-muted);
}

.footer-meta-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-copy {
  font-size: 0.96rem;
  letter-spacing: 0.03em;
}

.footer-links {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  text-align: right;
}

.footer-links-minimal:empty,
.footer-social-minimal:empty {
  display: none;
}

@keyframes idleBars {
  0%,
  100% {
    transform: scaleY(0.45);
  }
  50% {
    transform: scaleY(0.92);
  }
}

@keyframes activeBars {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  25% {
    transform: scaleY(1.35);
  }
  50% {
    transform: scaleY(0.55);
  }
  75% {
    transform: scaleY(1.1);
  }
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-main-column {
    grid-column: 1 / -1;
  }

  .hero-side-grid {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .player-main {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.75fr);
  }

  .player-controls-panel {
    grid-template-columns: 1fr;
  }

  .tiktok-feed-shell {
    grid-template-columns: 1fr;
  }

  .social-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .host-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-header,
  .split-layout,
  .about-layout,
  .stream-layout,
  .partner-card,
  .application-grid,
  .editor-layout,
  .editor-page-grid,
  .app-promo,
  .hero-grid,
  .ticker-grid,
  .card-grid-4,
  .card-grid-3,
  .card-grid-2,
  .schedule-grid,
  .playlist-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .playlist-page-shell {
    grid-template-columns: 1fr;
  }

  .playlist-explorer-shell {
    position: static;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .playlist-results-shell {
    position: static;
    min-height: 0;
    height: auto;
    max-height: none;
  }

  .playlist-calendar-layout {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  .site-nav {
    justify-content: start;
  }

  .hero-main-column,
  .hero-grid > .player-panel {
    grid-column: auto;
  }

  .hero-side-grid {
    grid-template-columns: 1fr;
  }

  .consent-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-main {
    grid-template-columns: 1fr;
  }

  .player-now {
    grid-template-columns: auto 1fr;
  }

  .player-controls-panel {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .tiktok-feed-embed-card {
    justify-self: stretch;
    width: 100%;
    max-width: none;
    min-height: 19rem;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .editor-page-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .social-showcase-layout {
    grid-template-columns: 1fr;
  }

  .social-showcase-head {
    max-width: none;
  }

  .contact-masthead {
    grid-template-columns: 1fr;
  }

  .contact-overview-head {
    flex-direction: column;
    align-items: start;
  }

  .contact-overview-head h2 {
    max-width: none;
  }

  body[data-page="kontakt"] #contactGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editor-tile-canvas {
    grid-template-columns: 1fr;
  }

  .live-editor-panel {
    top: auto;
    right: 0.5rem;
    left: 0.5rem;
    bottom: 0.5rem;
    width: auto;
    max-height: calc(100vh - 1rem);
  }

  .live-builder-dock {
    left: 0.8rem;
    right: 0.8rem;
    top: auto;
    bottom: 5rem;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .live-builder-dock__actions,
  .live-selection-bar__actions {
    justify-content: stretch;
  }

  .live-builder-dock__actions .button,
  .live-selection-bar__actions .button {
    flex: 1 1 9rem;
  }

  .live-selection-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .live-editor-form-grid {
    grid-template-columns: 1fr;
  }

  .live-editor-span-2 {
    grid-column: auto;
  }

  .hero-metrics,
  .editor-grid,
  .host-grid,
  .application-columns,
  .admin-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-hero,
  .admin-dashboard-grid,
  .admin-grid-2,
  .admin-grid-3,
  .admin-filter-grid,
  .admin-trend-grid {
    grid-template-columns: 1fr;
  }

  .admin-chart-head {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-toolbar-actions {
    justify-content: flex-start;
  }

  .admin-map-shell {
    min-height: 22rem;
  }

  .footer-links {
    text-align: left;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .footer-social {
    justify-content: start;
  }

  .promo-link-panel {
    display: grid;
  }

  .promo-link-actions {
    justify-content: start;
  }
}

@media (max-width: 720px) {
  .page-shell,
  .site-header,
  .site-footer {
    width: min(calc(100% - 1rem), var(--mobile-content-width));
  }

  .content-block {
    padding-top: var(--mobile-section-spacing);
  }

  .site-footer {
    align-items: flex-start;
  }

  .whatsapp-chat-float {
    right: 1rem;
    bottom: 1rem;
  }

  .footer-meta-inline {
    align-items: center;
    gap: 0.7rem;
  }

  .hero-heading-row h1,
  .masthead h1,
  .section-head h2,
  .newsletter-card h2,
  .contact-form-card h2,
  .editor-card h2,
  .editor-preview-card h2 {
    font-size: clamp(2.1rem, 11vw, 3.4rem);
  }

  .hero-heading-row,
  .player-head,
  .section-head,
  .player-now {
    display: block;
  }

  .player-artwork {
    width: 5rem;
    margin-bottom: 0.8rem;
  }

  .player-controls-panel {
    grid-template-columns: 1fr;
  }

  .playlist-history-head,
  .playlist-item {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .playlist-position {
    width: 2.2rem;
    height: 2.2rem;
  }

  .whatsapp-chat-float {
    padding: 0.82rem;
  }

  .whatsapp-chat-float__copy {
    display: none;
  }

  .hero-metrics,
  .editor-grid,
  .editor-check-grid,
  .host-grid,
  .application-columns,
  .admin-metric-grid,
  .admin-grid-2,
  .admin-grid-3,
  .admin-filter-grid,
  .admin-trend-grid {
    grid-template-columns: 1fr;
  }

  .admin-filter-actions {
    justify-content: stretch;
  }

  .admin-filter-actions .button {
    width: 100%;
  }

  .admin-chart-filter {
    min-width: 0;
  }

  .admin-chart-svg {
    min-width: 42rem;
  }

  .admin-segment-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .content-card,
  .generated-form-block,
  .editor-page-fields,
  .analytics-panel {
    padding: var(--mobile-card-padding);
  }

  .button,
  .file-button,
  .header-action,
  .header-weather {
    width: 100%;
    text-align: center;
  }

  .header-weather {
    justify-self: stretch;
  }

  .header-weather-copy {
    justify-items: start;
  }

  .brand-logo {
    width: min(80vw, 19rem);
  }

  .brand-decoration--easter {
    left: -1rem;
    top: 0.35rem;
    width: 4.4rem;
  }

  .brand-decoration--christmas {
    right: 0.45rem;
    top: -0.5rem;
    width: 4.8rem;
  }

  .brand-decoration--newyear {
    right: -0.1rem;
    top: -0.8rem;
    width: 5.4rem;
  }

  .brand-decoration--labourday {
    left: -0.7rem;
    top: -0.3rem;
    width: 5rem;
  }

  .brand-decoration--ascension {
    right: 0.45rem;
    top: -0.2rem;
    width: 4.7rem;
  }

  .brand-decoration--pentecost {
    left: -0.85rem;
    top: 0.15rem;
    width: 4.9rem;
  }

  .brand-decoration--unity {
    right: 0.15rem;
    top: 0;
    width: 4.9rem;
  }

  .brand-decoration--epiphany {
    right: 0.35rem;
    top: -0.15rem;
    width: 4.7rem;
  }

  .brand-decoration--corpuschristi {
    left: -0.5rem;
    top: -0.1rem;
    width: 4.5rem;
  }

  .brand-decoration--allsaints {
    right: 0.4rem;
    top: -0.1rem;
    width: 3.8rem;
  }

  .brand-decoration--reformation {
    left: -0.55rem;
    top: 0.2rem;
    width: 4.5rem;
  }

  .promo-link-panel {
    padding: 1.2rem;
  }

  .contact-masthead-panel,
  .contact-form-card-emphasis,
  .contact-side-card {
    padding: 1.15rem;
  }

  .contact-form-intro h2,
  .contact-overview-head h2 {
    max-width: none;
  }

  body[data-page="kontakt"] #contactGrid {
    grid-template-columns: 1fr;
  }

  body[data-page="kontakt"] #contactGrid p {
    max-width: none;
  }

  .consent-shell {
    right: 0.7rem;
    left: 0.7rem;
    bottom: 0.7rem;
  }

  .consent-card {
    width: auto;
    padding: 1rem;
  }

  .consent-categories {
    grid-template-columns: 1fr;
  }

  .consent-actions {
    justify-content: stretch;
  }

  .consent-actions .button {
    width: 100%;
  }

  .partner-card {
    gap: 0.85rem;
  }

  .partner-card-photo-shell {
    min-height: 18rem;
    max-height: none;
  }

  .admin-page {
    width: min(calc(100% - 1rem), var(--mobile-content-width));
  }

  .admin-hero,
  .admin-login-card,
  .admin-card,
  .admin-country-panel {
    padding: var(--mobile-card-padding);
  }

  .admin-map-shell {
    min-height: 18rem;
  }

  .player-actions,
  .hero-actions,
  .app-promo-actions,
  .editor-toolbar,
  .live-editor-toolbar,
  .live-editor-head-actions,
  .live-editor-footer,
  .admin-actions,
  .admin-toolbar {
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .tiktok-feed-head h2 {
    font-size: clamp(1.7rem, 11vw, 2.5rem);
  }

  .tiktok-feed-embed-card {
    min-height: 16.5rem;
    padding: 0.55rem;
  }

  .playlist-day-calendar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .playlist-hour-grid {
    grid-template-columns: 1fr;
  }

  .playlist-hour-button {
    width: 100%;
  }

  .playlist-result-card {
    grid-template-columns: 1fr;
  }

  .playlist-result-main {
    grid-template-columns: 1fr;
  }

  .playlist-result-time {
    width: fit-content;
  }

  .playlist-vote-button {
    width: fit-content;
  }

  .playlist-results-list {
    max-height: 28rem;
  }

  .home-top-vote-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .home-top-vote-count {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .chatbot-shell {
    right: 0.8rem;
    left: 0.8rem;
    bottom: 0.8rem;
    justify-items: stretch;
  }

  .chatbot-toggle {
    width: 100%;
    justify-content: center;
  }

  .chatbot-panel {
    width: 100%;
  }

  .chatbot-form {
    grid-template-columns: 1fr;
  }

  .chatbot-submit {
    width: 100%;
  }
}
