@font-face {
  font-family: 'InterVar';
  src:
    url('assets/fonts/InterVariable.woff2') format('woff2'),
    url('assets/fonts/Inter-Variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'CormorantVar';
  src: url('assets/fonts/Cormorant-Variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: 'CormorantVar';
  src: url('assets/fonts/Cormorant-Italic-Variable.ttf') format('truetype');
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: 'InterVar', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #0f3d3e;
  color: #ffffff;
}

body {
  font-family: 'InterVar', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

button {
  font: inherit;
}

.screen {
  width: 100%;
  height: 100%;
}

.screen--loading,
.screen--pairing {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f3d3e;
}

.loading-card,
.offline-card,
.pairing-card {
  width: min(72vw, 980px);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.loading-card__spinner {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.2);
  border-top-color: #d5b04e;
  animation: spin 1s linear infinite;
}

.loading-card__title,
.offline-card__title,
.pairing-card__title {
  font-size: 38px;
  font-weight: 700;
}

.loading-card__message,
.offline-card__message {
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.pairing-card {
  width: min(72vw, 980px);
  max-height: calc(100vh - 40px);
  overflow: auto;
}

.pairing-card__qr {
  display: flex;
  justify-content: center;
  margin: 28px 0 20px;
}

.pairing-card__qr img {
  width: min(38vw, 340px);
  height: auto;
  background: #ffffff;
  padding: 14px;
}

.pairing-card__code {
  font-size: 54px;
  font-weight: 700;
  letter-spacing: 10px;
}

.pairing-card__tv-id {
  margin-top: 12px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.pairing-card__button {
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 26px;
  margin-top: 18px;
  cursor: pointer;
}

.unlink-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.unlink-actions__button {
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 22px;
  cursor: pointer;
  background: #d5b04e;
  color: #0f3d3e;
  font-weight: 700;
}

.unlink-actions__button--secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.unlink-actions__button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.screen--home {
  --font-ui: 'InterVar', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-serif: 'CormorantVar', 'Times New Roman', serif;
  background: var(--theme-base, var(--tint, #0f3d3e));
  color: var(--theme-text, #ffffff);
  font-family: var(--font-ui);
}

.screen--font-classic,
.screen--font-modern,
.screen--font-neo {
  --font-ui: 'InterVar', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-serif: 'CormorantVar', 'Times New Roman', serif;
}

.screen--font-editorial {
  --font-ui: 'InterVar', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-serif: 'CormorantVar', 'Times New Roman', serif;
}

.home-shell {
  position: relative;
  width: 100%;
  height: 100%;
}

.home-shell--rotated {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vh;
  height: 100vw;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center center;
}

.home-bg,
.home-overlay {
  position: absolute;
  inset: 0;
}

.home-bg {
  background-color: var(--theme-base, #0f3d3e);
  background-image: var(--theme-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: normal;
}

.home-overlay {
  opacity: var(--theme-overlay-opacity, 0.12);
  background-image: var(--theme-overlay-image), var(--theme-ornament-image);
  background-size: cover;
  background-position: center;
  mix-blend-mode: normal;
}

.home-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: calc(20px * var(--scale, 1));
}

.top-header {
  display: flex;
  align-items: center;
  gap: calc(16px * var(--scale, 1));
  padding: calc(14px * var(--scale, 1)) calc(18px * var(--scale, 1));
  border-radius: calc(12px * var(--scale, 1));
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--theme-panel-soft, rgba(255, 255, 255, 0.12));
}

.classic-topline {
  display: grid;
  grid-template-columns: 1fr minmax(0, 2fr) 1fr;
  gap: calc(12px * var(--scale, 1));
  align-items: center;
  padding:
    calc(16px * var(--scale, 1))
    calc(18px * var(--scale, 1));
  border-radius: calc(20px * var(--scale, 1));
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(19, 37, 48, 0.35);
}

.classic-topline__title {
  font-size: calc(30px * var(--scale, 1));
  font-weight: 700;
  text-align: center;
}

.classic-topline__cell {
  font-size: calc(20px * var(--scale, 1));
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.classic-topline__cell--hijri {
  text-align: right;
}

.home-content--classic {
  display: flex;
  flex-direction: column;
  gap: calc(18px * var(--scale, 1));
}

.classic-layout {
  display: grid;
  gap: calc(18px * var(--scale, 1));
}

.classic-layout--split {
  grid-template-columns: 12fr 11fr;
}

.classic-layout--stacked,
.classic-layout--basic {
  grid-template-columns: 1fr;
}

.classic-layout--portrait,
.classic-layout--aux {
  display: flex;
  flex-direction: column;
  gap: calc(16px * var(--scale, 1));
}

.classic-table {
  border-radius: calc(20px * var(--scale, 1));
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(14, 30, 41, 0.55);
  padding: calc(22px * var(--scale, 1));
  display: flex;
  flex-direction: column;
  gap: calc(14px * var(--scale, 1));
}

.classic-table__header {
  font-size: calc(24px * var(--scale, 1));
  font-weight: 700;
  color: var(--theme-accent, #ffd670);
  letter-spacing: 0.1em;
  text-align: center;
}

.classic-clock-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(6px * var(--scale, 1));
  padding: calc(18px * var(--scale, 1));
  border-radius: calc(18px * var(--scale, 1));
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.classic-clock-card__time {
  font-size: calc(70px * var(--scale, 1));
  font-weight: 700;
}

.classic-clock-card__meta {
  font-size: calc(20px * var(--scale, 1));
  letter-spacing: 0.04em;
}

.classic-clock-card__next {
  margin-top: calc(6px * var(--scale, 1));
  font-size: calc(22px * var(--scale, 1));
  font-weight: 700;
  color: var(--theme-highlight, #ffe5a4);
  text-transform: uppercase;
}

.classic-aux-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(12px * var(--scale, 1));
  border-radius: calc(16px * var(--scale, 1));
  padding: calc(12px * var(--scale, 1)) calc(16px * var(--scale, 1));
  background: rgba(255, 255, 255, 0.06);
  text-transform: uppercase;
  font-size: calc(16px * var(--scale, 1));
}

.classic-aux-strip strong {
  display: block;
  margin-top: calc(4px * var(--scale, 1));
  font-size: calc(26px * var(--scale, 1));
  font-weight: 700;
}

.classic-table__rows {
  display: flex;
  flex-direction: column;
  gap: calc(10px * var(--scale, 1));
}

.classic-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: calc(12px * var(--scale, 1));
  align-items: center;
  padding: calc(10px * var(--scale, 1)) calc(18px * var(--scale, 1));
  border-radius: calc(14px * var(--scale, 1));
  background: rgba(255, 255, 255, 0.02);
}

.classic-row__accent {
  width: 6px;
  height: calc(32px * var(--scale, 1));
  border-radius: 999px;
  background: transparent;
}

.classic-row__label {
  font-size: calc(36px * var(--scale, 1));
  font-weight: 700;
  text-transform: uppercase;
}

.classic-row__time {
  font-size: calc(46px * var(--scale, 1));
  font-weight: 700;
  letter-spacing: 0.04em;
}

.classic-row--active {
  background: rgba(255, 255, 255, 0.12);
}

.classic-row--active .classic-row__accent {
  background: var(--theme-highlight, #ffe5a4);
}

.classic-row--active .classic-row__label,
.classic-row--active .classic-row__time {
  color: var(--theme-highlight, #ffe5a4);
}

.classic-table__countdown {
  margin-top: calc(10px * var(--scale, 1));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: calc(12px * var(--scale, 1));
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
}

.classic-table__countdown-label {
  font-size: calc(20px * var(--scale, 1));
  letter-spacing: 0.04em;
  color: var(--theme-muted, rgba(255, 255, 255, 0.78));
}

.classic-table__countdown-value {
  font-size: calc(42px * var(--scale, 1));
  font-weight: 700;
  color: var(--theme-highlight, #ffe5a4);
}

.classic-media-card {
  position: relative;
  border-radius: calc(20px * var(--scale, 1));
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--theme-panel, rgba(255, 255, 255, 0.06));
  padding: calc(28px * var(--scale, 1));
  min-height: 0;
  overflow: hidden;
}

.classic-media-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: var(--theme-accent-image), url('assets/overlays/laterna.png');
  background-size: cover;
  background-position: center;
}

.classic-media-card > * {
  position: relative;
  z-index: 1;
}

.media-card__image-wrap,
.media-card__text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: calc(12px * var(--scale, 1));
}

.media-card__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.media-card__title {
  font-size: calc(32px * var(--scale, 1));
  font-weight: 700;
  color: var(--theme-accent, #d5b04e);
  text-transform: uppercase;
}

.media-card__body {
  font-family: var(--font-serif);
  font-size: calc(28px * var(--scale, 1));
  line-height: 1.3;
  color: var(--theme-serif, #f4f7f2);
}

.media-card__source {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: calc(24px * var(--scale, 1));
  color: var(--theme-accent, #d5b04e);
}


.classic-aux-card {
  border-radius: calc(14px * var(--scale, 1));
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--theme-panel-soft, rgba(255, 255, 255, 0.1));
  padding: calc(10px * var(--scale, 1)) calc(16px * var(--scale, 1));
}

.classic-aux-card__row {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto;
  align-items: center;
  justify-content: space-between;
  column-gap: calc(10px * var(--scale, 1));
  row-gap: calc(6px * var(--scale, 1));
  text-transform: uppercase;
  font-size: calc(16px * var(--scale, 1));
  letter-spacing: 0.6px;
}

.classic-aux-card__row span:nth-child(2n) {
  font-size: calc(24px * var(--scale, 1));
  font-weight: 700;
}

.home-overlay--light {
  opacity: 0.23;
  background-image:
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.36), transparent 44%),
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.18), transparent 40%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
}

.home-overlay--soft {
  opacity: 0.3;
  background-image:
    radial-gradient(circle at 15% 32%, rgba(255, 255, 255, 0.14), transparent 30%),
    radial-gradient(circle at 82% 60%, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.06));
}

.home-overlay--grain {
  opacity: 0.34;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 18% 80%, rgba(255, 255, 255, 0.2), transparent 42%),
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.22), transparent 38%);
}

/* Shared stage styles across theme families */
.theme-stage {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: calc(22px * var(--scale, 1));
  border-radius: calc(18px * var(--scale, 1));
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--theme-panel-soft, rgba(9, 29, 32, 0.34));
  backdrop-filter: blur(3px);
}

.theme-stage--hero,
.theme-stage--neo {
  display: flex;
  flex-direction: column;
  gap: calc(18px * var(--scale, 1));
}

.hero-pill {
  text-align: center;
  border-radius: calc(40px * var(--scale, 1));
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: calc(12px * var(--scale, 1));
  font-size: calc(30px * var(--scale, 1));
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-clock-card {
  border-radius: calc(28px * var(--scale, 1));
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(12, 26, 37, 0.35));
  padding: calc(24px * var(--scale, 1));
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: calc(8px * var(--scale, 1));
}

.hero-clock-card__label {
  font-size: calc(18px * var(--scale, 1));
  letter-spacing: 0.08em;
  color: var(--theme-accent, #ffd670);
}

.hero-clock-card__time {
  font-size: calc(92px * var(--scale, 1));
  font-weight: 700;
}

.hero-clock-card__meta {
  font-size: calc(22px * var(--scale, 1));
  letter-spacing: 0.04em;
}

.hero-clock-card__next {
  font-size: calc(22px * var(--scale, 1));
  font-weight: 700;
  text-transform: uppercase;
  color: var(--theme-highlight, #ffe5a4);
}

.hero-meta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(16px * var(--scale, 1));
}

.hero-meta-card {
  border-radius: calc(20px * var(--scale, 1));
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  padding: calc(16px * var(--scale, 1));
  text-align: center;
  text-transform: uppercase;
}

.hero-meta-card__label {
  font-size: calc(18px * var(--scale, 1));
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.hero-meta-card__time {
  margin-top: calc(6px * var(--scale, 1));
  font-size: calc(38px * var(--scale, 1));
  font-weight: 700;
}

.prayer-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: calc(12px * var(--scale, 1));
}

.prayer-pill {
  border-radius: calc(18px * var(--scale, 1));
  padding: calc(12px * var(--scale, 1));
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.prayer-pill--selected {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--theme-highlight, #ffe5a4);
  transform: translateY(calc(-4px * var(--scale, 1)));
}

.prayer-pill__label {
  font-size: calc(18px * var(--scale, 1));
  text-transform: uppercase;
  opacity: 0.85;
}

.prayer-pill__time {
  margin-top: calc(6px * var(--scale, 1));
  font-size: calc(32px * var(--scale, 1));
  font-weight: 700;
}

.prayer-pill__meta {
  margin-top: calc(4px * var(--scale, 1));
  font-size: calc(16px * var(--scale, 1));
  opacity: 0.8;
}

/* Radial family (TV-17) */
.theme-stage--radial {
  border: 0;
  background: transparent;
  backdrop-filter: none;
  padding:
    clamp(24px, 2vw, 56px)
    clamp(20px, 1.9vw, 44px)
    clamp(18px, 1.8vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1vw, 24px);
}

.radial-title-pill {
  width: min(76%, 1240px);
  margin: clamp(8px, 0.8vw, 18px) auto 0;
  padding: clamp(10px, 1vw, 24px) clamp(24px, 2.4vw, 50px);
  border-radius: 999px;
  border: 0;
  background: rgba(170, 204, 219, 0.28);
  text-align: center;
}

.radial-title-pill__text {
  font-size: clamp(30px, 3.2vw, 76px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--theme-accent, #e6c38a);
}

.radial-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(420px, 33vw, 720px) minmax(0, 1fr);
  gap: clamp(26px, 2.6vw, 64px);
  align-items: center;
  max-width: min(94%, 1640px);
  margin: clamp(22px, 2.2vw, 48px) auto 0;
}

.radial-overview > * {
  min-width: 0;
}

.radial-meta {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.5vw, 12px);
  min-height: clamp(136px, 12vw, 286px);
  justify-content: center;
}

.radial-meta--left {
  align-items: flex-start;
  padding-left: clamp(6px, 0.6vw, 16px);
}

.radial-meta--right {
  align-items: flex-start;
}

.radial-meta__small {
  font-size: clamp(20px, 1.6vw, 42px);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--theme-accent, #e6c38a);
}

.radial-meta__big {
  font-size: clamp(42px, 4vw, 102px);
  font-weight: 700;
  line-height: 1.04;
  color: var(--theme-accent, #e6c38a);
}

.radial-meta__big--countdown {
  letter-spacing: 0.01em;
}

.radial-clock-card {
  min-height: clamp(132px, 12.5vw, 300px);
  width: 100%;
  border-radius: 999px;
  border: 0;
  background: rgba(171, 206, 222, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.radial-clock-card__clock {
  font-size: clamp(72px, 7vw, 174px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #f0f7fb;
}

.radial-next-prayer {
  margin-top: clamp(6px, 1vw, 24px);
  text-align: center;
  text-transform: uppercase;
}

.radial-next-prayer__label {
  font-size: clamp(40px, 3.2vw, 84px);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(226, 237, 245, 0.86);
}

.radial-next-prayer__time {
  font-size: clamp(62px, 5vw, 126px);
  font-weight: 700;
  line-height: 1.05;
  color: #f0f7fb;
}

.radial-prayer-cloud {
  position: relative;
  flex: 1;
  min-height: clamp(250px, 33vh, 520px);
  width: min(92%, 1500px);
  margin: clamp(26px, 2.6vw, 54px) auto 0;
}

.radial-prayer {
  position: absolute;
  text-transform: uppercase;
  text-align: center;
  transform: translate(-50%, -50%);
}

.radial-prayer__label {
  font-size: clamp(22px, 2.05vw, 52px);
  font-weight: 300;
  line-height: 1.08;
  color: rgba(226, 237, 245, 0.84);
  max-width: clamp(130px, 16vw, 360px);
  margin: 0 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.radial-prayer__time {
  font-size: clamp(40px, 3.8vw, 94px);
  font-weight: 700;
  line-height: 1.04;
  color: #f0f7fb;
}

.radial-prayer--ellipsis .radial-prayer__label,
.radial-prayer--sunrise .radial-prayer__label {
  max-width: clamp(120px, 12vw, 250px);
}

/* Neo family */
.neo-topbar {
  display: grid;
  grid-template-columns: 1fr minmax(0, 2fr) auto;
  gap: calc(18px * var(--scale, 1));
  align-items: center;
  border-radius: calc(18px * var(--scale, 1));
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: calc(14px * var(--scale, 1)) calc(18px * var(--scale, 1));
  background: rgba(13, 24, 32, 0.5);
  text-transform: uppercase;
}

.neo-topbar__title {
  text-align: center;
  font-size: calc(30px * var(--scale, 1));
  font-weight: 700;
  letter-spacing: 0.08em;
}

.neo-topbar__weather {
  font-size: calc(26px * var(--scale, 1));
  font-weight: 700;
  justify-self: end;
}

.neo-clock {
  display: grid;
  grid-template-columns: 1fr minmax(0, 2fr) 1fr;
  gap: calc(18px * var(--scale, 1));
  align-items: center;
}

.neo-clock__side {
  border-radius: calc(18px * var(--scale, 1));
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  padding: calc(18px * var(--scale, 1));
  text-align: center;
  text-transform: uppercase;
  font-size: calc(18px * var(--scale, 1));
}

.neo-clock__side strong {
  display: block;
  margin-top: calc(6px * var(--scale, 1));
  font-size: calc(40px * var(--scale, 1));
  font-weight: 700;
}

.neo-clock__center {
  border-radius: calc(28px * var(--scale, 1));
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 19, 31, 0.4);
  padding: calc(24px * var(--scale, 1));
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: calc(8px * var(--scale, 1));
}

.neo-clock__time {
  font-size: calc(96px * var(--scale, 1));
  font-weight: 700;
}

.neo-clock__next {
  font-size: calc(24px * var(--scale, 1));
  font-weight: 700;
  text-transform: uppercase;
  color: var(--theme-highlight, #c8fff0);
}

.neo-clock__hijri {
  font-size: calc(20px * var(--scale, 1));
  letter-spacing: 0.05em;
}

.neo-quote {
  border-radius: calc(22px * var(--scale, 1));
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  padding: calc(20px * var(--scale, 1));
  text-align: center;
  font-family: var(--font-serif);
}

.neo-quote__title {
  font-size: calc(22px * var(--scale, 1));
  text-transform: uppercase;
  font-weight: 700;
  color: var(--theme-highlight, #c8fff0);
}

.neo-quote__body {
  margin-top: calc(10px * var(--scale, 1));
  font-size: calc(28px * var(--scale, 1));
  line-height: 1.35;
  color: var(--theme-serif, #f4f7f2);
}

.neo-quote__source {
  margin-top: calc(10px * var(--scale, 1));
  font-size: calc(22px * var(--scale, 1));
  opacity: 0.84;
  color: var(--theme-accent, #9de6d3);
}

.internet-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 26, 27, 0.93);
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.35;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
