:root {
  --bg: #0b0d0a;
  --surface: rgba(19, 22, 18, 0.92);
  --raised: rgba(240, 243, 236, 0.06);
  --raised-hover: rgba(240, 243, 236, 0.12);
  --line: rgba(240, 243, 236, 0.1);
  --hairline: rgba(240, 243, 236, 0.08);
  --track: rgba(240, 243, 236, 0.12);
  --text: #f0f3ec;
  --secondary: #aab3a4;
  --muted: #848e7e;
  --live: #e5484d;
  --sunset: linear-gradient(100deg, #e4f7a8 0%, #9fe07a 34%, #4fbf6a 68%, #2b9a5a 100%);
  --on-sunset: #0c2a16;
  --st-bg: #0b0b0b;
  --st-ink: #ffffff;
  --st-accent: #4fbf6a;
  --dial: min(calc(100vw - 32px), 62vh, 640px);
  --chip: calc(var(--dial) * 0.1);
  --r: calc(var(--dial) / 2 - var(--chip) / 2 - 4px);
  --hub: calc(var(--dial) - var(--chip) * 2 - 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 160ms;
  --move: 480ms;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: "Barlow", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
svg { display: block; }

.backdrop { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.bg-layer {
  position: absolute; inset: -4%;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 800ms var(--ease);
  animation: drift 22s ease-in-out infinite alternate;
}
.bg-layer.on { opacity: 1; }
@keyframes drift { from { transform: scale(1.06) translate3d(-2.5%, 1%, 0); } to { transform: scale(1.16) translate3d(2.5%, -2%, 0); } }
.shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(11, 13, 10, 0.2) 0%, rgba(11, 13, 10, 0.62) 60%, rgba(7, 9, 7, 0.92) 100%),
    linear-gradient(180deg, rgba(11, 13, 10, 0.5), rgba(11, 13, 10, 0.8));
}

.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(16px, env(safe-area-inset-top)) 16px 12px;
  border-bottom: 1px solid transparent;
  transition: background-color var(--move) var(--ease), border-color var(--move) var(--ease), backdrop-filter var(--move) var(--ease);
}
.top.scrolled {
  background: rgba(11, 13, 10, 0.78);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom-color: var(--hairline);
}
.brand {
  font-family: "Anton", sans-serif; font-size: 26px; line-height: 1; letter-spacing: 0.02em;
  display: flex; align-items: baseline; gap: 8px;
}
.brand-mark { background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sub { font-family: "Barlow Condensed", sans-serif; font-weight: 500; font-size: 16px; letter-spacing: 0; color: var(--secondary); }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--raised);
  border: 1px solid var(--line);
  color: var(--secondary);
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.icon-btn:hover { background: var(--raised-hover); color: var(--text); }
.icon-btn:active { transform: scale(0.97); }
.icon-btn svg, .search-box > svg, .vol svg {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.stage {
  position: relative; z-index: 1;
  min-height: 100dvh;
  display: grid; justify-items: center; align-content: start; gap: 32px;
  padding: calc(max(16px, env(safe-area-inset-top)) + 64px) 16px 40px;
}

.deck { display: grid; justify-items: center; gap: 24px; width: 100%; max-width: 640px; }
.deck-top { display: grid; justify-items: center; gap: 16px; width: 100%; }
.deck-controls { display: grid; justify-items: center; gap: 16px; width: 100%; }
.deck-meter { display: grid; gap: 8px; width: min(100%, 460px); }

.dial {
  position: relative; width: var(--dial); height: var(--dial);
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.dial::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 13, 10, 0.62) 0 62%, rgba(11, 13, 10, 0.38) 74%, rgba(11, 13, 10, 0) 75%);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

.ring { position: absolute; inset: 0; }
.chip {
  position: absolute; left: 50%; top: 50%;
  width: var(--chip); height: var(--chip); margin: calc(var(--chip) / -2) 0 0 calc(var(--chip) / -2);
  border-radius: 50%;
  transition: transform var(--move) var(--ease);
}
.chip-face {
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center;
  background: var(--chip-bg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  opacity: 0.72; transform: scale(0.88);
  transition: transform var(--fast) var(--ease), opacity var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.chip:hover .chip-face { opacity: 1; transform: scale(0.96); }
.chip.on .chip-face {
  opacity: 1; transform: scale(1.14);
  box-shadow: 0 0 0 2px var(--text), 0 8px 22px rgba(0, 0, 0, 0.5);
}
.logo-img { width: 78%; height: 78%; object-fit: contain; pointer-events: none; }
.cover .logo-img { width: 100%; height: 100%; object-fit: cover; }
.emblem { display: block; width: 92%; height: 92%; pointer-events: none; }
.emblem svg { width: 100%; height: 100%; }

.hub {
  position: absolute; left: 50%; top: 50%;
  width: var(--hub); height: var(--hub); margin: calc(var(--hub) / -2) 0 0 calc(var(--hub) / -2);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4%;
  padding: 11%;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 55%),
    var(--st-bg);
  color: var(--st-ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 24px 60px rgba(0, 0, 0, 0.5);
  transition: background-color var(--move) var(--ease), color var(--move) var(--ease), transform var(--fast) var(--ease);
  overflow: hidden;
}
.hub:active { transform: scale(0.98); }
.hub-logo { position: relative; width: calc(var(--hub) * 0.6); height: calc(var(--hub) * 0.4); flex: none; }
.hub-logo > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-logo.cover { width: calc(var(--hub) * 0.42); height: calc(var(--hub) * 0.42); }
.hub-logo.cover .logo-img { border-radius: 50%; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.hub-meta { display: grid; gap: 4px; text-align: center; max-width: 100%; min-height: 2.6em; }
.hub-artist {
  font-family: "Barlow Condensed", sans-serif; font-weight: 600;
  font-size: clamp(15px, calc(var(--dial) * 0.036), 23px); line-height: 1.1;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hub-title {
  font-size: clamp(13px, calc(var(--dial) * 0.028), 17px); line-height: 1.2; opacity: 0.72;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hub-start {
  position: absolute; left: 50%; bottom: 13%; transform: translateX(-50%);
  white-space: nowrap;
  font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: clamp(15px, calc(var(--dial) * 0.032), 19px);
  height: 40px; padding: 0 16px; border-radius: 20px;
  display: flex; align-items: center;
  background: var(--text); color: #0c120d;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: translateX(-50%) scale(1.05); } }
body.started .hub-start { display: none; }
body:not(.started) .hub-meta { visibility: hidden; }

.tuner { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; width: min(100%, 460px); }
.tuner-name { display: grid; justify-items: center; gap: 4px; text-align: center; min-width: 0; }
.tuner-name strong {
  font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(24px, 6vw, 32px); line-height: 1.12; letter-spacing: 0.01em;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tuner-name span { color: var(--secondary); font-size: 14px; line-height: 20px; }

.transport { display: flex; align-items: center; gap: 24px; }
.play {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sunset); color: var(--on-sunset);
  transition: transform var(--fast) var(--ease);
}
.play:active { transform: scale(0.97); }
.play svg { width: 24px; height: 24px; fill: currentColor; }
.play .i-pause, body.playing .play .i-play { display: none; }
body.playing .play .i-pause { display: block; }

.progress {
  display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 12px;
  font-variant-numeric: tabular-nums; font-size: 13px; line-height: 16px; color: var(--muted);
}
.progress span:last-child { text-align: right; }
.bar { height: 24px; display: flex; align-items: center; cursor: pointer; position: relative; }
.bar::before { content: ""; position: absolute; left: 0; right: 0; height: 4px; border-radius: 2px; background: var(--track); }
.fill-bar {
  position: relative; height: 4px; width: 100%; border-radius: 2px;
  background: var(--st-accent);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 500ms linear, background-color var(--move) var(--ease);
}

.extras { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.live {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 12px; border-radius: 16px;
  font-family: "Barlow Condensed", sans-serif; font-weight: 500; font-size: 15px;
  border: 1px solid var(--line); color: var(--secondary);
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.live:hover { background: var(--raised); color: var(--text); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.live.on::before { background: var(--live); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.35; } }

.vol { display: flex; align-items: center; gap: 8px; flex: 0 1 200px; color: var(--secondary); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 0; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, rgba(240, 243, 236, 0.72) var(--v, 80%), var(--track) var(--v, 80%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--track); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: rgba(240, 243, 236, 0.72); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: var(--text); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--text); }

.screen {
  width: 100%; max-width: 520px;
  display: grid; gap: 12px;
  padding: 12px; border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--hairline);
}
.tv { width: 100%; aspect-ratio: 16 / 9; min-height: 200px; border-radius: 8px; overflow: hidden; background: #000; }
.tv iframe, .tv #yt { width: 100%; height: 100%; display: block; border: 0; }
.screen-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding: 0 4px; font-size: 14px; line-height: 20px; }
.screen-row a { color: var(--text); font-weight: 500; text-decoration: none; white-space: nowrap; }
.screen-row a:hover { text-decoration: underline; }
.notice { color: var(--live); font-size: 13px; text-align: right; }
.upnext { padding: 0 4px; }
.upnext h2 { margin: 0 0 4px; font-family: "Barlow", sans-serif; font-weight: 500; font-size: 13px; line-height: 20px; color: var(--muted); }
.upnext ol { list-style: none; margin: 0; padding: 0; display: grid; }
.upnext li { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hairline); font-size: 14px; line-height: 20px; }
.upnext li b { font-weight: 500; }
.upnext li span { color: var(--secondary); }
.upnext li em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.upnext .row-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ads {
  width: min(100%, 520px);
  display: grid; gap: 12px; padding: 10px 10px 12px;
  border-radius: 20px; background: var(--surface); border: 1px solid var(--hairline);
}
.ads[hidden] { display: none; }
.ads-view { display: grid; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ad {
  grid-area: 1 / 1; display: grid; gap: 10px;
  color: var(--text); text-decoration: none;
  opacity: 0; transition: opacity 700ms var(--ease);
}
.ad.on { opacity: 1; }
.ad-img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #0f140f; }
.ad-img img { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.ad.on .ad-img img { animation: adzoom calc(var(--ad-ms) + 1200ms) var(--ease) both; }
@keyframes adzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.ad-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 4px; min-width: 0; }
.ad-meta b { min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-weight: 600; font-size: 15px; line-height: 20px; }
.ad-cta { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; line-height: 20px; color: var(--secondary); transition: color var(--fast) var(--ease); }
.ad-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ad:hover .ad-cta, .ad:focus-visible .ad-cta { color: var(--text); }
.ad:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; border-radius: 12px; }
.ads-dots { display: flex; justify-content: center; }
.ads-dots button { display: grid; place-items: center; width: 22px; height: 20px; padding: 0; border: 0; background: none; }
.ads-dots i { position: relative; display: block; width: 6px; height: 6px; border-radius: 3px; overflow: hidden; background: var(--track); transition: width 400ms var(--ease); }
.ads-dots button.on { width: 38px; }
.ads-dots button.on i { width: 28px; }
.ads-dots button.on i::after { content: ""; position: absolute; inset: 0; background: var(--sunset); transform-origin: left; animation: adfill var(--ad-ms) linear both; }
.ads.paused .ads-dots button.on i::after, .ads.paused .ad.on .ad-img img { animation-play-state: paused; }
@keyframes adfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ads-fine { margin: 0; text-align: center; font-size: 11px; line-height: 16px; color: var(--muted); }

.search {
  position: fixed; inset: 0; z-index: 20;
  background: rgba(7, 9, 7, 0.8);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  display: flex; justify-content: center; align-items: flex-start;
  padding: max(16px, env(safe-area-inset-top)) 16px 16px;
}
.search[hidden] { display: none; }
.search-panel { width: min(100%, 680px); max-height: 100%; display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.search-box {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 4px 4px 16px; border-radius: 12px;
  background: var(--raised); border: 1px solid var(--line);
  color: var(--secondary);
}
.search-box .icon-btn { width: 40px; height: 40px; border-radius: 8px; border-color: transparent; background: transparent; }
.search-box input {
  flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent;
  color: var(--text); font: 400 18px "Barlow", sans-serif;
}
.search-box input::placeholder { color: var(--muted); }
.search-box input::-webkit-search-cancel-button { display: none; }
.results { overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 20px; align-content: start; padding-bottom: 24px; }
.results h3 { margin: 0 0 8px; font-family: "Barlow", sans-serif; font-weight: 500; font-size: 13px; line-height: 20px; color: var(--muted); }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.st-card {
  display: grid; justify-items: center; gap: 8px; padding: 16px 8px 12px; border-radius: 12px;
  background: var(--raised); border: 1px solid transparent; text-align: center;
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.st-card:hover, .st-card.on { border-color: var(--line); background: var(--raised-hover); }
.st-card .chip-face { width: 64px; height: 64px; opacity: 1; transform: none; }
.st-card b { font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 16px; line-height: 20px; }
.st-card span { color: var(--secondary); font-size: 13px; line-height: 16px; }
.song-list { display: grid; gap: 4px; }
.song-row {
  display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 12px;
  padding: 8px; border-radius: 8px; text-align: left;
  transition: background-color var(--fast) var(--ease);
}
.song-row:hover { background: var(--raised-hover); }
.song-row .chip-face { width: 40px; height: 40px; opacity: 1; transform: none; }
.song-row b { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-row span { display: block; color: var(--secondary); font-size: 13px; line-height: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-row > div { min-width: 0; }
.empty { color: var(--secondary); padding: 8px 4px; }

.top-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.top .brand { flex: none; }
a.brand { color: inherit; text-decoration: none; }
.support-link {
  height: 44px; padding: 0 16px; border-radius: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--raised); border: 1px solid var(--line);
  color: var(--secondary); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.support-link:hover { background: var(--raised-hover); color: var(--text); }
.support-link[hidden] { display: none; }
.support-link svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lang-btn { font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 15px; line-height: 1; }
.game-link {
  height: 44px; padding: 0 6px;
  display: inline-flex; align-items: center; gap: 3px;
  color: var(--muted); text-decoration: none; white-space: nowrap;
  font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 15px; line-height: 1; letter-spacing: 0.02em;
  transition: color var(--fast) var(--ease);
}
.game-link:hover { color: var(--text); }
.game-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.page-apoie #bgA { background-image: url("bg/1.jpg"); }
.apoie {
  position: relative; z-index: 1;
  width: min(100%, 960px); margin: 0 auto;
  padding: calc(max(16px, env(safe-area-inset-top)) + 96px) 16px 64px;
  display: grid; gap: 32px;
}
.apoie-intro h1 { margin: 0 0 8px; font-family: "Anton", sans-serif; font-weight: 400; font-size: 40px; line-height: 1.08; letter-spacing: 0.01em; }
.apoie-intro p { margin: 0; max-width: 36rem; color: var(--secondary); font-size: 18px; line-height: 28px; }
.apoie-grid { display: grid; gap: 16px; align-items: start; }
.apoie-col { display: grid; gap: 16px; }
.apoie-col[hidden] { display: none; }
.card { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--hairline); display: grid; gap: 16px; align-content: start; }
.card[hidden] { display: none; }
.card h2 { margin: 0; font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 22px; line-height: 28px; }
.card p { margin: 0; color: var(--secondary); font-size: 15px; line-height: 22px; }
.card p.fine { color: var(--muted); font-size: 13px; line-height: 20px; }
.pix { display: grid; grid-template-columns: 184px 1fr; gap: 24px; align-items: center; }
.qr { width: 184px; height: 184px; border-radius: 8px; overflow: hidden; background: #fff; }
.qr[hidden] { display: none; }
.qr svg { width: 100%; height: 100%; }
.pix-info { display: grid; gap: 16px; min-width: 0; }
.pix-info dl { margin: 0; display: grid; gap: 8px; }
.pix-info dl div { display: grid; gap: 4px; }
.pix-info dt { color: var(--muted); font-size: 13px; line-height: 16px; }
.pix-info dd { margin: 0; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.btn {
  height: 44px; padding: 0 20px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--raised); border: 1px solid var(--line); color: var(--text);
  font-family: "Barlow", sans-serif; font-weight: 500; font-size: 15px; text-decoration: none;
  transition: background-color var(--fast) var(--ease), opacity var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn:hover { background: var(--raised-hover); }
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--sunset); border-color: transparent; color: var(--on-sunset); font-weight: 600; }
.btn.primary:hover { opacity: 0.92; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-col { display: grid; gap: 8px; }
.empty-config { margin: 0; color: var(--secondary); }
.fan-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 20px; }
.foot {
  position: relative; z-index: 1;
  display: grid; justify-items: center; gap: 4px;
  padding: 0 16px max(32px, env(safe-area-inset-bottom));
  text-align: center; color: var(--muted); font-size: 13px; line-height: 20px;
}
.foot p { margin: 0; max-width: 36rem; }
.foot a { color: var(--secondary); text-underline-offset: 3px; }
.foot a:hover { color: var(--text); }

@media (min-width: 880px) {
  .apoie-grid { grid-template-columns: 1.4fr 1fr; }
  .apoie-grid.solo { grid-template-columns: minmax(0, 540px); }
  .apoie-intro h1 { font-size: 56px; }
}

@media (max-width: 560px) {
  .pix { grid-template-columns: 1fr; }
  .qr { width: 200px; height: 200px; }
}

@media (max-width: 420px) {
  .top .support-link { padding: 0 12px; }
}

@media (max-width: 399px) {
  .brand-sub { display: none; }
}

@media (max-width: 359px) {
  .top .support-link { width: 44px; padding: 0; justify-content: center; }
  .top .support-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

@media (min-width: 1200px) {
  :root { --dial: max(420px, min(calc(100vh - 370px), 720px, calc(100vw - 844px))); }
  .stage {
    grid-template-columns: minmax(0, 1fr) auto 1fr; align-items: center; align-content: center;
    column-gap: 40px; padding: 72px 32px 32px;
  }
  .deck { grid-column: 2; max-width: none; }
  .screen { grid-column: 3; justify-self: start; width: 380px; }
  .ads { grid-column: 1; grid-row: 1; justify-self: end; width: min(100%, 320px); }
  .brand { font-size: 28px; }
  .top { padding: 24px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
