/* ============================================================
   Main stylesheet: colour variables (:root), layout, nav, Home, Radio, Rules, request form, sound controls.
   ============================================================ */

:root {
  --bg: #140f43;
  --card: rgba(34, 28, 112, 0.5);
  --line: rgba(150, 160, 255, 0.2);
  --ink: #f4f7ff;
  --soft: #c6ccf5;
  --mute: #9ea5dc;
  --coral: #7f1fea;
  --coral2: #4f6bf0;
  --lav: #bfc0f8;
  --cyan: #2bc8d7;
  --ice: #c9f6fe;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
html {
  scroll-padding-top: env(safe-area-inset-top, 0px);
  scroll-behavior: smooth;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Figtree", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background-image:
    radial-gradient(
      800px 500px at 85% -5%,
      rgba(127, 31, 234, 0.32),
      transparent 60%
    ),
    radial-gradient(
      700px 600px at -5% 30%,
      rgba(102, 92, 255, 0.28),
      transparent 60%
    ),
    radial-gradient(
      600px 500px at 60% 105%,
      rgba(43, 200, 215, 0.16),
      transparent 60%
    ),
    linear-gradient(180deg, #140f43 0%, #201b68 45%, #2b2590 100%);
  background-attachment: fixed;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.75;
  background-image:
    radial-gradient(1.2px 1.2px at 24px 38px, #fff, transparent),
    radial-gradient(1px 1px at 120px 90px, #c9f6fe, transparent),
    radial-gradient(1.6px 1.6px at 190px 160px, #fff, transparent),
    radial-gradient(1px 1px at 70px 190px, #bfc0f8, transparent),
    radial-gradient(1.2px 1.2px at 230px 20px, #fff, transparent);
  background-size: 260px 230px;
}
h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  text-wrap: balance;
  margin: 0;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--lav);
  outline-offset: 3px;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.view {
  display: none;
  position: relative;
  overflow: hidden;
  padding-top: 82px;
}
.view.on {
  display: block;
  animation: swap 0.32s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.top {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  z-index: 10;
}
.top::before {
  content: "";
  position: absolute;
  inset: 0 0 -22px;
  background: linear-gradient(
    180deg,
    rgba(20, 15, 67, 0.92),
    rgba(20, 15, 67, 0)
  );
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
  z-index: -1;
}
.top.sc::before {
  opacity: 1;
}
.pill {
  position: relative;
  flex-wrap: nowrap;
}
.bubble {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #7f1fea, #4f6bf0);
  box-shadow: 0 8px 22px -8px rgba(127, 31, 234, 0.8);
  transition:
    left 0.4s cubic-bezier(0.65, 0, 0.2, 1),
    width 0.4s cubic-bezier(0.65, 0, 0.2, 1);
}
.bubble.nt0 {
  transition: none;
}
.navlink {
  position: relative;
  z-index: 1;
}
.navlink.act {
  color: #fff;
  font-weight: 600;
}
.navlink.act:hover {
  background: none;
  color: #fff;
}
#navLogo {
  display: block;
  width: 180px;
  max-width: 100%;
  aspect-ratio: 1400/613;
}
#heroLogo {
  width: min(520px, 100%);
  aspect-ratio: 1400/613;
  align-self: flex-start;
}
#logo {
  position: fixed;
  left: 0;
  top: 0;
  width: 180px;
  z-index: 12;
  display: block;
  transition:
    left 0.28s cubic-bezier(0.25, 0.8, 0.25, 1),
    top 0.28s cubic-bezier(0.25, 0.8, 0.25, 1),
    width 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}
#logo.nt0 {
  transition: none;
}
#logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(43, 200, 215, 0.32));
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
}
.nav img {
  width: 180px;
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(43, 200, 215, 0.3));
}
.pill {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.navlink {
  text-decoration: none;
  color: var(--soft);
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  transition: 0.2s;
}
.navlink:hover {
  background: rgba(150, 160, 255, 0.2);
  color: #fff;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: 0.25s;
}
.btn-primary {
  background: linear-gradient(135deg, #7f1fea, #4f6bf0);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(127, 31, 234, 0.7);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(127, 31, 234, 0.85);
}
.btn-ghost {
  border-color: rgba(150, 160, 255, 0.4);
  color: var(--ink);
  background: rgba(20, 15, 67, 0.5);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(150, 160, 255, 0.16);
  border-color: var(--lav);
  transform: translateY(-2px);
}
.badge {
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(43, 200, 215, 0.12);
  border: 1px solid rgba(43, 200, 215, 0.32);
  color: var(--ice);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.eq i {
  width: 3px;
  background: var(--cyan);
  border-radius: 2px;
  animation: eq 1s ease-in-out infinite alternate;
}
.eq i:nth-child(2) {
  animation-delay: -0.4s;
}
.eq i:nth-child(3) {
  animation-delay: -0.8s;
}
@keyframes eq {
  from {
    height: 3px;
  }
  to {
    height: 12px;
  }
}
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding: 72px 24px 96px;
}
.col {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.lede {
  font-size: 20px;
  line-height: 1.6;
  color: var(--soft);
  max-width: 34em;
}
.grad {
  background: linear-gradient(100deg, #2bc8d7 0%, #8d9bff 50%, #b678ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.socials {
  flex: 1 1 320px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  backdrop-filter: blur(14px);
  box-shadow:
    0 20px 50px -24px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: 0.3s;
}
a.card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  gap: 22px;
  text-decoration: none;
  overflow: hidden;
}
a.card::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(43, 200, 215, 0.28),
    transparent 70%
  );
  transition: 0.3s;
}
a.card:hover {
  transform: translateY(-6px);
  border-color: rgba(43, 200, 215, 0.55);
  background: rgba(54, 50, 160, 0.5);
}
a.card:hover::after {
  transform: scale(1.6);
}
.ico {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--coral), var(--coral2));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(127, 31, 234, 0.6);
}
.sico {
  height: 72px;
  max-width: 80%;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: 0.3s;
}
a.card:hover .sico {
  transform: scale(1.08);
}
.cname {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 24px;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--mute);
  font-size: 15px;
  padding: 28px 24px 48px;
  border-top: 1px solid var(--line);
}
.foot a {
  color: var(--ice);
  font-weight: 600;
  text-decoration: none;
}
.foot a:hover {
  color: #fff;
}
.mosaic {
  position: absolute;
  inset: 0 0 -40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  grid-auto-rows: min-content;
  gap: 10px;
  opacity: 0.55;
  animation: drift 30s ease-in-out infinite alternate;
}
.mosaic div {
  aspect-ratio: 1;
  border-radius: 14px;
}
@keyframes drift {
  to {
    transform: translateY(-40px);
  }
}
.veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 15, 67, 0.78),
    rgba(20, 15, 67, 0.92) 55%,
    #201b68
  );
}
.up {
  position: relative;
  z-index: 1;
}
.form {
  flex: 1 1 400px;
  min-width: 0;
  background: linear-gradient(160deg, #f6feff, #d9e0ff);
  color: #140f43;
  border-radius: 32px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.7),
    0 0 0 6px rgba(150, 160, 255, 0.16);
}
.form h3 {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.form p {
  color: #42478a;
  line-height: 1.5;
}
.fg {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fg label {
  font-weight: 600;
  font-size: 15px;
}
.field {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 2px solid #c5cdf5;
  background: #fff;
  color: #140f43;
  padding: 0 18px;
  font-family: inherit;
  font-size: 16px;
  transition: 0.2s;
}
.field::placeholder {
  color: #838ab8;
}
.field:focus {
  border-color: #6653e4;
  outline: none;
  box-shadow: 0 0 0 4px rgba(102, 83, 228, 0.2);
}
.sub {
  align-self: flex-start;
  background: linear-gradient(135deg, #7f1fea, #4f6bf0);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(127, 31, 234, 0.8);
}
.sub:hover {
  transform: translateY(-2px);
}
.rhead {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 88px 24px 56px;
}
.rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 48px 24px 72px;
}
.rule {
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.rule:hover {
  transform: translateY(-4px);
  border-color: rgba(150, 160, 255, 0.4);
}
.num {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(127, 31, 234, 0.4),
    rgba(43, 200, 215, 0.28)
  );
  border: 1px solid var(--line);
  color: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: 22px;
}
.rt {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 24px;
}
.rb {
  color: var(--mute);
  line-height: 1.55;
}
.zt {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 24px 96px;
}
.chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.nt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(43, 200, 215, 0.08);
  border: 1px solid rgba(43, 200, 215, 0.26);
  font-weight: 500;
  transition: 0.25s;
}
.nt {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.nt:hover {
  background: rgba(43, 200, 215, 0.16);
  transform: translateY(-2px);
}
.nt::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(43, 200, 215, 0.22);
}
#home .hero {
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  min-height: calc(100vh - 82px);
  padding-top: 24px;
  padding-bottom: 56px;
}
#home .col {
  flex: none;
  width: min(520px, 100%);
  align-items: center;
}
#heroLogo {
  align-self: center;
}
#home .socials {
  flex: none;
  width: min(720px, 100%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
#home a.card {
  min-height: 140px;
  padding: 20px;
}
@media (max-width: 560px) {
  #home .socials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
#radio .hero {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
#radio .col {
  flex: none;
  width: min(760px, 100%);
  align-items: center;
  text-align: center;
}
#radio .col .lede {
  margin: 0 auto;
}
#radio .col .badge {
  align-self: center;
}
#radio .col .row {
  justify-content: center;
}
#radio .form {
  flex: none;
  width: min(560px, 100%);
}
.rules {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.rule {
  flex: 0 1 calc(50% - 10px);
  min-width: 300px;
}
.zt {
  align-items: center;
  text-align: center;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.chips .nt {
  flex: 0 1 240px;
  justify-content: center;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---- v1.1 visual polish ---- */
.pill {
  background: rgba(28, 22, 96, 0.62);
  box-shadow:
    0 14px 40px -18px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.btn-primary {
  box-shadow:
    0 10px 30px -8px rgba(127, 31, 234, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-ghost {
  background: rgba(32, 27, 104, 0.55);
}
.card {
  border-radius: 28px;
  background: linear-gradient(
    160deg,
    rgba(66, 58, 180, 0.42),
    rgba(28, 23, 96, 0.55)
  );
  box-shadow:
    0 24px 54px -26px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
a.card:hover {
  background: linear-gradient(
    160deg,
    rgba(84, 74, 205, 0.55),
    rgba(36, 30, 112, 0.6)
  );
  box-shadow:
    0 28px 60px -24px rgba(43, 200, 215, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
#home.on .socials .card {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
#home.on .socials .card:nth-child(1) {
  animation-delay: 0.25s;
}
#home.on .socials .card:nth-child(2) {
  animation-delay: 0.35s;
}
#home.on .socials .card:nth-child(3) {
  animation-delay: 0.45s;
}
#home.on .socials .card:nth-child(4) {
  animation-delay: 0.55s;
}
#home .hero {
  position: relative;
  min-height: calc(100vh - 82px - 100px);
}
#home .hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(760px, 120vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(127, 31, 234, 0.38),
    rgba(79, 107, 240, 0.16) 45%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}
#home .col,
#home .socials {
  position: relative;
}
.mosaic {
  opacity: 0.4;
}
.veil {
  background: linear-gradient(
    180deg,
    rgba(20, 15, 67, 0.7),
    rgba(20, 15, 67, 0.9) 50%,
    #201b68
  );
}
.form {
  background: linear-gradient(160deg, #faffff, #d6deff);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.75),
    0 0 0 6px rgba(150, 160, 255, 0.16),
    0 0 90px -20px rgba(127, 31, 234, 0.55);
}
.field {
  border-color: #bcc6f3;
  background: #fbfcff;
}
.field:hover {
  border-color: #8f9ce6;
}
.rhead {
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 96px 24px 8px;
}
.rhead .lede {
  margin: 0 auto;
}
.rules {
  padding-top: 40px;
}
.rule {
  padding: 30px 30px 30px 34px;
  gap: 22px;
  border-radius: 28px;
  overflow: hidden;
  align-items: center;
}
.rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--coral), var(--cyan));
}
.num {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #7f1fea, #4f6bf0);
  box-shadow:
    0 10px 24px -8px rgba(127, 31, 234, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.rb {
  font-size: 17px;
}
.rule {
  text-align: left;
}
.zt {
  padding-top: 8px;
}
.nt {
  background: rgba(255, 92, 138, 0.08);
  border-color: rgba(255, 92, 138, 0.3);
}
.nt:hover {
  background: rgba(255, 92, 138, 0.17);
  border-color: rgba(255, 92, 138, 0.55);
}
.nt::before {
  background: #ff5c8a;
  box-shadow: 0 0 0 4px rgba(255, 92, 138, 0.2);
}
.foot {
  max-width: 1120px;
  margin: 0 auto;
  align-items: center;
}
@media (max-width: 560px) {
  .rule {
    min-width: 0;
    flex-basis: 100%;
  }
  .form {
    padding: 28px;
  }
}
/* v1.3: borderless social cards */
#socials a.card,
#socials a.card:hover {
  border: 0;
  box-shadow: 0 24px 54px -26px rgba(0, 0, 0, 0.7);
}
#socials a.card:hover {
  box-shadow: 0 28px 60px -24px rgba(43, 200, 215, 0.35);
}
/* v1.4: logo-only social links */
#socials a.card,
#socials a.card:hover {
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none;
  overflow: visible;
}
#socials a.card::after {
  display: none;
}
#socials .sico {
  transition:
    transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.3s;
}
#socials a.card:hover .sico,
#socials a.card:focus-visible .sico {
  transform: scale(1.28);
  filter: drop-shadow(0 0 12px rgba(201, 246, 254, 0.8))
    drop-shadow(0 0 30px rgba(127, 31, 234, 0.75));
}
/* v1.8: tighter social logos, slower zoom */
#home .socials {
  width: min(480px, 100%);
  gap: 4px;
}
#socials a.card {
  min-height: 0;
  width: min(110px, 100%);
  aspect-ratio: 1;
  justify-self: center;
  padding: 0;
  border-radius: 50%;
}
#socials .sico {
  transition:
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.8s ease;
}
/* v1.9: per-logo glow colors, softer */
/* twinkling stars: each star is its own dot with its own timing, so they flash at random instead of washing across the sky */
#stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
#stars i {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
  animation: twk var(--d, 4s) ease-in-out var(--l, 0s) infinite;
}
@keyframes twk {
  0%,
  50%,
  100% {
    opacity: 0.18;
    transform: scale(0.7);
  }
  72% {
    opacity: 1;
    transform: scale(1.35);
  }
}
/* the Furrest logo keeps its movement animations even with reduced motion on */
@media (prefers-reduced-motion: reduce) {
  #logo:not(.nt0) {
    transition:
      left 0.28s cubic-bezier(0.25, 0.8, 0.25, 1),
      top 0.28s cubic-bezier(0.25, 0.8, 0.25, 1),
      width 0.28s cubic-bezier(0.25, 0.8, 0.25, 1),
      transform 0.4s cubic-bezier(0.3, 1.3, 0.5, 1) !important;
  }
  #logo img {
    transition: filter 0.2s !important;
  }
}
#socials a.card:nth-child(1) {
  --g: 70, 65, 220;
}
#socials a.card:nth-child(2) {
  --g: 17, 133, 254;
}
#socials a.card:nth-child(3) {
  --g: 255, 255, 255;
}
#socials a.card:nth-child(4) {
  --g: 29, 155, 240;
}
#socials a.card:hover .sico,
#socials a.card:focus-visible .sico {
  filter: drop-shadow(0 0 7px rgba(var(--g), 0.5))
    drop-shadow(0 0 16px rgba(var(--g), 0.28));
}
/* v2.0: draggable nav, bottom nav on mobile */
.pill {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.pill.drag {
  cursor: grabbing;
}
.bubble {
  transition:
    left 0.4s cubic-bezier(0.65, 0, 0.2, 1),
    width 0.4s cubic-bezier(0.65, 0, 0.2, 1),
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.pill.drag .bubble.nt0 {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  transform: scale(1.08);
  box-shadow:
    0 10px 28px -6px rgba(127, 31, 234, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.navlink {
  -webkit-user-drag: none;
}
@media (max-width: 640px) {
  .pill {
    flex-wrap: nowrap;
    width: max-content;
    max-width: calc(100vw - 24px);
    position: fixed;
    left: 50%;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 28px);
    transform: translateX(-50%);
    z-index: 20;
    gap: 2px;
    padding: 6px;
    background: rgba(22, 17, 82, 0.72);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    backdrop-filter: blur(22px) saturate(1.5);
    box-shadow:
      0 18px 44px -12px rgba(0, 0, 0, 0.8),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
  .navlink {
    min-width: 92px;
    text-align: center;
    padding: 14px 22px;
  }
  .foot {
    padding-bottom: 140px;
  }
}
/* v2.2: footer removed */
#home .hero {
  min-height: calc(100vh - 82px);
}
@media (max-width: 640px) {
  .view {
    padding-bottom: 110px;
  }
  #home .hero {
    min-height: calc(100vh - 82px - 110px);
  }
}
/* v2.4: Furry Radio background built from the playlist's album art */
.mosaic div {
  overflow: hidden;
  background: #201b68;
}
.mosaic .mc {
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat; /* the sheet and the window onto it are set per cover by js/cover-mosaic.js */
}
/* a cover that is fading in over the one it replaces */
.mosaic .mc.mf {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}
.mosaic {
  opacity: 0 !important;
  transition: opacity 0.6s ease;
}
/* radio background: the grid re-flows as the window resizes (tile count and size adapt), and tiles glide to their new spots instead of snapping */
.mosaic div {
  transform-origin: 0 0;
}
/* theme consistency: Radio ends in the same deep purple as Home and Rules (no stars on this page) */
.veil {
  background: linear-gradient(
    180deg,
    rgba(20, 15, 67, 0.48),
    rgba(22, 17, 78, 0.66) 50%,
    rgba(38, 32, 126, 0.88)
  );
}
.mosaic.rdy {
  opacity: 0.5 !important;
}
@media (prefers-reduced-motion: reduce) {
  .mosaic {
    transition-duration: 0.01s;
  }
}
/* v2.6: Radio background always fills the full screen */
#radio {
  min-height: 100vh;
  min-height: 100dvh;
}
/* v2.8: line the FURREST wordmark (not the fox's ears) up with the nav pill's centre */
#navLogo {
  position: relative;
  top: 2px;
}
/* v3.0: "Request a track" themed to match the site (dark glass instead of a white card) */
/* v4.0: smoothness. On Radio the glass panels (nav pill, request form, outline buttons) no longer use backdrop-filter blur: the covers drift underneath them, so the blur had to be recomputed every frame. They get a slightly more solid fill instead, which looks nearly the same. Other pages keep the blur. */
body:has(#radio.on) .pill {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: rgba(22, 17, 82, 0.92);
}
body:has(#radio.on) #radio .form {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: linear-gradient(
    160deg,
    rgba(52, 45, 150, 0.93),
    rgba(26, 21, 90, 0.95)
  );
}
body:has(#radio.on) #radio .btn-ghost {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: rgba(32, 27, 104, 0.88);
}
body:has(#radio.on) #radio .btn-ghost:hover {
  background: rgba(66, 68, 168, 0.92);
}
/* v3.9: drifting rows are driven by browser (compositor) animations instead of a JS frame loop, so the motion stays smooth even when the page is busy */
/* v3.8: back to the original 140px tiles / row count (360 covers now, so no repeats on screen), and the original resize feel: everything holds still while the window is being resized, then new tiles ease in as a soft wave from the top-left */
/* v3.7: Radio background is now slow drifting rows (alternating directions); covers enter at the edges and the same cover is never on screen twice */
/* v3.6: freeze uses the grid width from before the drag started (the first resize event already arrives after the layout changed) */
/* v3.5: fixed the freeze (measure the grid before pinning it, otherwise it collapsed to one column while scaling) */
/* v3.4: tiles stay put while the window is being resized and only re-flow once resizing has stopped */
/* v3.3: tile glide is staggered in a soft wave from the top-left and only covers tiles on screen, so fewer tiles move at the same moment */
/* v3.2: Radio album-art tiles keep a fixed size (no more stretching/squashing as the window changes) but still re-flow and glide to their new spots when the column count changes */
#radio .mosaic {
  display: block;
  animation: none;
}
.mosaic .mrow {
  display: none;
}
.mosaic .mtile {
  position: absolute;
  top: 0;
  margin: 0;
}
.form {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(
    160deg,
    rgba(62, 54, 178, 0.55),
    rgba(24, 19, 88, 0.78)
  );
  border: 1px solid rgba(150, 160, 255, 0.28);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.75),
    0 0 80px -28px rgba(127, 31, 234, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.form::before {
  content: "";
  position: absolute;
  left: 38px;
  right: 38px;
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #7f1fea, #4f6bf0 50%, #2bc8d7);
}
.form h3 {
  color: #fff;
}
.form p {
  color: var(--soft);
}
.fg label {
  color: var(--ice);
}
.field {
  background: rgba(14, 10, 52, 0.55);
  border: 1.5px solid rgba(150, 160, 255, 0.28);
  color: var(--ink);
  caret-color: var(--cyan);
}
.field::placeholder {
  color: var(--mute);
}
.field:hover {
  border-color: rgba(191, 192, 248, 0.55);
}
.field:focus {
  border-color: var(--cyan);
  background: rgba(14, 10, 52, 0.75);
  box-shadow: 0 0 0 4px rgba(43, 200, 215, 0.2);
}
.field:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px #1a1560 inset;
  caret-color: var(--ink);
}
.sub {
  align-self: stretch;
  min-height: 56px;
  box-shadow:
    0 12px 30px -10px rgba(127, 31, 234, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
@media (max-width: 640px) {
  .form::before {
    left: 28px;
    right: 28px;
  }
}
/* v3.1: request panel brought fully in line with the site's cards, badges and gradients */
.form {
  border-radius: 28px;
  padding: 40px 40px 40px 44px;
  gap: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(
    160deg,
    rgba(66, 58, 180, 0.42),
    rgba(28, 23, 96, 0.6)
  );
  box-shadow:
    0 24px 54px -26px rgba(0, 0, 0, 0.7),
    0 0 90px -34px rgba(127, 31, 234, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.form::before {
  left: 0;
  right: auto;
  top: 26px;
  bottom: 26px;
  height: auto;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--coral), var(--cyan));
}
.form::after {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(43, 200, 215, 0.22),
    transparent 70%
  );
  pointer-events: none;
}
.form > * {
  position: relative;
  z-index: 1;
}
.form .badge {
  padding: 6px 14px;
  font-size: 12px;
}
.form h3 {
  font-size: clamp(30px, 4vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.form p {
  font-size: 16px;
  color: var(--soft);
}
.fg {
  gap: 8px;
}
.fg label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice);
}
.field {
  min-height: 54px;
  border-radius: 18px;
  background: rgba(14, 10, 52, 0.5);
  border: 1px solid rgba(150, 160, 255, 0.26);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.25);
  padding: 0 20px;
}
.field:focus {
  border-color: var(--cyan);
  box-shadow:
    0 0 0 4px rgba(43, 200, 215, 0.18),
    inset 0 2px 8px rgba(0, 0, 0, 0.25);
}
.fg .hint {
  font-size: 13px;
  color: var(--mute);
}
.form .sub {
  margin-top: 6px;
  min-height: 56px;
  gap: 10px;
  box-shadow:
    0 10px 30px -8px rgba(127, 31, 234, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.form .sub:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 36px -8px rgba(127, 31, 234, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
@media (max-width: 640px) {
  .form {
    padding: 30px 26px 30px 32px;
  }
  .form::before {
    left: 0;
    right: auto;
  }
}
/* v3.2: big logo can be picked up and thrown */
#logo {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition:
    left 0.28s cubic-bezier(0.25, 0.8, 0.25, 1),
    top 0.28s cubic-bezier(0.25, 0.8, 0.25, 1),
    width 0.28s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.4s cubic-bezier(0.3, 1.3, 0.5, 1);
}
#logo.nt0 {
  transition: none;
}
#logo,
#logo * {
  pointer-events: none;
}
html.lh,
html.lh * {
  cursor: grab !important;
}
html.lg,
html.lg * {
  cursor: grabbing !important;
}
#logo img {
  -webkit-user-drag: none;
  transition: filter 0.2s;
}
#logo.held img {
  filter: drop-shadow(0 26px 32px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 30px rgba(43, 200, 215, 0.5));
}
/* v3.3: rule cards shrink to fit their text */
.rule {
  flex: 0 0 auto;
  min-width: 0;
  width: auto;
  padding-right: 40px;
}
.rules {
  justify-content: center;
  align-items: center;
}
@media (max-width: 560px) {
  .rule {
    flex-basis: auto;
  }
}
/* v3.4: Digitalt (SIL OFL) for headings */
@font-face {
  font-family: "Digitalt";
  src: url(../assets/fonts/Digitalt.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
h1,
h2,
h3,
.rt,
.num,
.cname {
  font-family:
    "Digitalt", "Bricolage Grotesque", "Figtree", system-ui, sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
}
h1 {
  line-height: 1 !important;
}
.rt {
  font-size: 30px;
}
.num {
  font-size: 26px;
}
.form h3 {
  font-size: clamp(34px, 4.4vw, 44px);
}
/* v3.5: Digitalt on every page (nav, buttons, labels, chips) */
.navlink,
.btn,
.nt,
.fg label,
.badge {
  font-family: "Digitalt", "Figtree", system-ui, sans-serif !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em !important;
}
.navlink {
  font-size: 20px;
  padding-top: 9px;
  padding-bottom: 7px;
}
.navlink.act {
  font-weight: 400 !important;
}
.btn {
  font-size: 21px;
  padding-top: 3px;
}
.nt {
  font-size: 21px;
}
.fg label {
  font-size: 17px;
}
@media (max-width: 640px) {
  .navlink {
    font-size: 19px;
  }
}
/* v3.3: every page fits the screen (no scrollbar); Radio is two columns */
html {
  scrollbar-width: none;
}
html::-webkit-scrollbar {
  display: none;
}
.view {
  min-height: 100vh;
  min-height: 100dvh;
}
.view.on {
  display: flex;
  flex-direction: column;
}
.view > .wrap {
  width: 100%;
}
#home .hero {
  min-height: 0;
  flex: 1;
  padding-top: 16px;
  padding-bottom: 40px;
  gap: clamp(16px, 4vh, 40px);
}
#home .col {
  width: min(520px, 100%, max(200px, calc((100dvh - 320px) * 2.284)));
}
#heroLogo {
  width: 100%;
}
#radio .hero {
  flex: 1;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  max-width: 1240px;
  padding: 16px 24px 48px;
}
#radio .col {
  flex: 1 1 0;
  width: auto;
  align-items: center;
  text-align: center;
}
#radio .col .badge {
  align-self: center;
}
#radio .col .row {
  justify-content: center;
}
#listen h1 {
  font-size: clamp(44px, min(6.5vw, 12vh), 96px) !important;
}
#radio .form {
  flex: 0 1 480px;
  width: auto;
  min-width: 0;
  padding: clamp(20px, 4vh, 40px) clamp(24px, 3vw, 40px) clamp(20px, 4vh, 40px)
    clamp(28px, 3.4vw, 44px);
  gap: clamp(10px, 2vh, 22px);
}
.form h3 {
  font-size: clamp(28px, 5.2vh, 44px);
}
.fg {
  gap: clamp(4px, 1vh, 8px);
}
.field {
  min-height: clamp(44px, 6vh, 54px);
}
.form .sub {
  min-height: clamp(46px, 6.5vh, 56px);
}
#rules {
  justify-content: center;
}
.rhead {
  padding: 8px 24px 0;
}
.rhead h1 {
  font-size: clamp(40px, min(7vw, 9vh), 88px) !important;
}
.rules {
  padding: clamp(14px, 3vh, 40px) 24px clamp(10px, 2vh, 16px);
  gap: clamp(10px, 1.8vh, 20px);
}
.rule {
  padding: clamp(12px, 2.2vh, 30px) 36px clamp(12px, 2.2vh, 30px) 30px;
}
.num {
  width: clamp(40px, 6.5vh, 56px);
  height: clamp(40px, 6.5vh, 56px);
}
.zt {
  padding-top: 0;
  padding-bottom: clamp(16px, 3vh, 32px);
  gap: clamp(10px, 2vh, 20px);
}
.nt {
  padding: clamp(10px, 1.8vh, 16px) 20px;
}
@media (max-width: 860px) {
  #radio .hero {
    flex-direction: column;
    gap: 24px;
  }
  #radio .col {
    flex: none;
    width: 100%;
    align-items: center;
    text-align: center;
  }
  #radio .col .badge {
    align-self: center;
  }
  #radio .col .row {
    justify-content: center;
  }
  #radio .form {
    flex: none;
    width: min(520px, 100%);
  }
}
@media (max-width: 560px) {
  .rule {
    padding: 10px 18px 10px 14px;
    gap: 14px;
  }
  .num {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }
  .rt {
    font-size: 19px;
  }
  .chips .nt {
    flex: 1 1 44%;
    padding: 10px 12px;
    font-size: 17px;
  }
}
#radio .up {
  flex: 1;
  display: flex;
  flex-direction: column;
}
#radio .up > .wrap {
  width: 100%;
}
@media (max-width: 860px) {
  #radio .hero {
    padding: 8px 20px 12px;
    gap: 14px;
  }
  #radio .col {
    gap: 12px;
  }
  #listen h1 {
    font-size: clamp(36px, 9vw, 56px) !important;
  }
  #radio .col .row {
    gap: 8px;
  }
  #radio .col .btn {
    min-height: 42px;
    padding: 0 16px;
    font-size: 17px;
  }
  #radio .form {
    padding: 16px 20px 16px 24px;
    gap: 8px;
  }
  .form h3 {
    font-size: clamp(24px, 4.4vh, 32px);
  }
  .field {
    min-height: 42px;
  }
  .fg label {
    font-size: 14px;
  }
  .form .sub {
    min-height: 44px;
    margin-top: 2px;
  }
}
@media (max-width: 640px) {
  .view {
    padding-top: 70px;
    padding-bottom: 84px;
  }
  .nav {
    padding-top: 14px;
  }
  #rules {
    justify-content: flex-start;
  }
  .rhead h1 {
    font-size: clamp(34px, 10vw, 46px) !important;
  }
  .zt h2 {
    font-size: 24px !important;
  }
  .rules {
    gap: 8px;
    padding-top: 10px;
  }
  .rule {
    padding: 8px 16px 8px 12px;
  }
  .num {
    width: 34px;
    height: 34px;
  }
  .rt {
    font-size: 18px;
  }
  .nt {
    font-size: 16px;
  }
  .chips {
    gap: 8px;
  }
  .chips .nt {
    padding: 8px 10px;
  }
}
.chips .nt {
  flex: 0 0 auto;
  width: auto;
  white-space: nowrap;
}
.zt h2 {
  color: #fff !important;
}
/* rules page on phones: one full-width card per rule, bigger numbers and text, and the zero-tolerance chips in a tidy two-column grid */
@media (max-width: 640px) {
  .rhead h1 {
    font-size: clamp(38px, 12.5vw, 54px) !important;
  }
  .rhead {
    padding-bottom: 4px;
  }
  .rules {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    padding: 22px 18px 6px;
  }
  .rule {
    flex: none;
    width: 100%;
    min-height: 72px;
    padding: 14px 22px 14px 24px;
    gap: 18px;
    border-radius: 24px;
  }
  .rule::before {
    top: 18px;
    bottom: 18px;
  }
  .num {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    font-size: 24px;
  }
  .rt {
    font-size: clamp(20px, 6.4vw, 26px);
    line-height: 1.05;
  }
  .zt {
    padding: 22px 18px 28px;
    gap: 16px;
  }
  .zt h2 {
    font-size: 28px !important;
  }
  .chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }
  .chips .nt {
    width: auto;
    min-width: 0;
    white-space: normal;
    justify-content: flex-start;
    text-align: left;
    padding: 13px 14px;
    font-size: 17px;
    line-height: 1.1;
    min-height: 54px;
    gap: 10px;
  }
}
#rules,
#rules * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
/* bottom nav on phones sits higher (about where it feels natural for a thumb) and pages leave room for it */
@media (max-width: 640px) {
  :root {
    --navb: calc(env(safe-area-inset-bottom, 0px) + clamp(56px, 7.8dvh, 104px));
    --navclear: calc(var(--navb) + 51px + 14px);
  }
  .pill {
    bottom: var(--navb);
  }
  #radio.view {
    padding-bottom: var(--navclear);
  }
}
/* rules on phones: sit centered between the logo and the nav (like desktop) and scale card sizes and spacing with screen height so there is no dead gap at the bottom */
@media (max-width: 640px) {
  #rules.view {
    box-sizing: border-box;
    justify-content: center;
    padding-top: calc(
      clamp(102px, 11.6dvh, 120px) + env(safe-area-inset-top, 0px)
    );
    padding-bottom: var(--navclear);
  }
  #rules .rhead {
    padding: 0 18px;
  }
  #rules .rhead h1 {
    font-size: clamp(34px, 10vw, 52px) !important;
    white-space: nowrap;
    text-align: center;
  }
  #rules .rules {
    gap: clamp(7px, 1dvh, 14px);
    padding: clamp(8px, 1.4dvh, 22px) 18px clamp(2px, 0.4dvh, 6px);
  }
  #rules .rule {
    min-height: clamp(44px, 5.2dvh, 76px);
    padding: 4px 20px 4px 22px;
    gap: 16px;
    border-radius: 20px;
  }
  #rules .num {
    width: clamp(32px, 4.2dvh, 48px);
    height: clamp(32px, 4.2dvh, 48px);
    font-size: clamp(17px, 2.3dvh, 24px);
    border-radius: 12px;
  }
  #rules .rt {
    font-size: clamp(17px, 2.4dvh, 24px);
  }
  #rules .zt {
    padding: clamp(10px, 1.8dvh, 26px) 18px clamp(4px, 1dvh, 16px);
    gap: clamp(6px, 1.2dvh, 14px);
  }
  #rules .zt h2 {
    font-size: clamp(19px, 2.6dvh, 26px) !important;
  }
  #rules .chips {
    gap: clamp(7px, 0.9dvh, 11px);
  }
  #rules .chips .nt {
    min-height: clamp(38px, 4.2dvh, 52px);
    padding: 4px 12px;
    font-size: clamp(14px, 1.8dvh, 17px);
  }
}
#radio,
#radio * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
#radio input {
  -webkit-user-select: text;
  user-select: text;
}
/* radio on phones: clear the logo and bottom nav, tidy button grid, comfy touch targets */
@media (max-width: 640px) {
  #radio.view {
    box-sizing: border-box;
    padding-top: calc(100px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  }
  #radio .hero {
    justify-content: center;
    gap: 14px;
    padding: 4px 18px 8px;
  }
  #radio .col {
    gap: 12px;
    align-items: stretch;
  }
  #listen h1 {
    font-size: clamp(44px, 13vw, 60px) !important;
    text-align: center;
    line-height: 0.95;
  }
  #radio .col .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }
  #radio .col .btn {
    min-height: 50px;
    padding: 0 12px;
    font-size: 16px;
    width: 100%;
    text-align: center;
    line-height: 1.1;
  }
  #radio .col .row .btn:nth-child(3) {
    grid-column: 1 / -1;
  }
  #radio .form {
    width: 100%;
    padding: 18px 20px 18px 26px;
    gap: 10px;
    border-radius: 26px;
  }
  #radio .form h3 {
    font-size: clamp(28px, 8.4vw, 34px);
  }
  #radio .field {
    min-height: 46px;
    font-size: 16px;
  }
  #radio .form .sub {
    min-height: 50px;
    margin-top: 2px;
  }
  #radio .form .hint {
    font-size: 13.5px;
    line-height: 1.3;
  }
}
@media (max-width: 640px) and (max-height: 700px) {
  #radio.view {
    padding-top: calc(118px + env(safe-area-inset-top, 0px));
  }
  #listen h1 {
    font-size: clamp(38px, 11vw, 48px) !important;
  }
  #radio .hero {
    gap: 14px;
  }
}
.mosaic,
.mosaic *,
.veil {
  pointer-events: none;
}
.mosaic .mc {
  -webkit-user-drag: none;
  user-drag: none;
}
#home,
#home *,
#logo,
#logo * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
#home .sico,
#logo img {
  -webkit-user-drag: none;
  user-drag: none;
}
.thr-t {
  cursor: grab;
  touch-action: none;
  -webkit-user-drag: none;
}
.thr-free {
  pointer-events: auto;
  will-change: transform;
}
/* v4.1: smoother Radio background with many tiles. The old build faded the whole mosaic with opacity:.5 (forcing every row to be re-blended through an offscreen surface each frame) and clipped every tile with overflow:hidden + rounded corners (one mask per tile). Now: no group opacity (a single dim layer fades instead) and the rounding is on the image itself, so the rows are plain moving textures. */
#radio .mosaic,
#radio .mosaic.rdy {
  opacity: 1 !important;
  transition: none;
}
.mosaic .mtile.mv {
  transition:
    left 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
    top 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
    width 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
    height 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mosaic .mtile {
  overflow: visible;
  background: none;
  contain: layout style;
  border-radius: 14px;
}

.mosaic .mtile .mc {
  border-radius: 14px;
  background-color: #201b68;
  transform: translateZ(0);
}
.mdim {
  position: absolute;
  inset: 0;
  background: #1d1862;
  opacity: 1;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.mosaic.rdy ~ .mdim {
  opacity: 0.36;
}
@media (prefers-reduced-motion: reduce) {
  .mdim {
    transition-duration: 0.01s;
  }
}
/* v4.2: Radio album covers can be picked up. Held / flying / returning covers sit above the purple veil. */
#radio {
  isolation: isolate;
  -webkit-touch-callout: none;
}
.mosaic .mtile.tlift {
  box-shadow:
    0 22px 46px -12px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.14);
}
.mosaic .mtile.tlift:not(.mclone) {
  animation: tshadow 1.8s ease-out both;
}
.mosaic .mtile.tlift:not(.mclone)::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: var(--tc, #1a1560);
  pointer-events: none;
  animation: tveil 1.8s cubic-bezier(0.3, 0.1, 0.3, 1) both;
}
@keyframes tveil {
  from {
    opacity: var(--ta, 0.78);
  }
  to {
    opacity: 0;
  }
}
.mosaic .mtile.tlift.tnov:not(.mclone)::after {
  display: none;
}
.mosaic .mtile.tlift.tback:not(.mclone)::after {
  animation: tvback var(--td, 0.3s) ease-in both;
}
@keyframes tvback {
  from {
    opacity: var(--t0, 0);
  }
  to {
    opacity: var(--ta, 0.78);
  }
}
@keyframes tshadow {
  from {
    box-shadow:
      0 22px 46px -12px rgba(0, 0, 0, 0),
      0 0 0 1px rgba(255, 255, 255, 0);
  }
  to {
    box-shadow:
      0 22px 46px -12px rgba(0, 0, 0, 0.72),
      0 0 0 1px rgba(255, 255, 255, 0.14);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mosaic .mtile.tlift:not(.mclone),
  .mosaic .mtile.tlift:not(.mclone)::after {
    animation-duration: 0.01s;
  }
}
.mosaic .mtile.thr-free {
  touch-action: none;
}
html.lg,
html.lg * {
  -webkit-user-select: none;
  user-select: none;
}
/* v5.9: dragging a cover that has not unlocked yet removes the purple background in step with the drag: no movement = fully tinted, and it is completely clear right before it unlocks. */
.mosaic .mtile.tlift.tdrag:not(.mclone) {
  animation: none;
  box-shadow:
    0 22px 46px -12px rgba(0, 0, 0, calc(0.72 * var(--tq, 0))),
    0 0 0 1px rgba(255, 255, 255, calc(0.14 * var(--tq, 0)));
}
.mosaic .mtile.tlift.tdrag:not(.mclone)::after {
  animation: none;
  opacity: var(--tp, 0.78);
}
.mosaic .mtile.tlift.tdret:not(.mclone),
.mosaic .mtile.tlift.tdret:not(.mclone)::after {
  transition:
    opacity 0.5s ease,
    box-shadow 0.5s ease;
}
/* v5.6: the overlay crack is quicker (lines draw in about 0.04 s, pieces let go after about 0.23 s and fall faster) and no longer uses white lines: the cracks are thicker dark fissures with a soft violet glow so they stand out against the overlay. */
/* v5.5: (1) covers that are lifted above the purple veil (dropped covers, and covers fading back to purple) now sit just above the veil but UNDER the page UI (z-index 1 = the same level as the UI wrapper, which comes later), so the text, buttons and form never get hidden behind them. (2) The cracks now appear the instant the button is pressed: the real overlay is switched off at the same moment the shards take over (before, both were stacked and the covers vanished for a moment), and the crack lines draw in with almost no delay. */
/* v5.1: when a cover is let go it now fades back to purple (the veil tint comes back) before it drops under the overlay. The fade is only as long as the cover had been out: let go early (before it had fully come out) and it is quick, let go after a full 1.8 s and it takes about 0.4 s. */
/* v5.0: a cover that is picked up no longer jumps out in front of the purple veil the instant you drag it. It is lifted, but wears a copy of the veil colour that slowly fades away (and its shadow slowly fades in), so it appears to come out from behind the overlay gradually. */
/* v4.9: covers that are going back home no longer ride above the purple veil (or the form and buttons): the moment they start the trip home they drop back under the veil, and the bright fade-out copy is skipped, so they never overlap the purple on the way back or when they land at full size. */
/* v4.6: reverted the v4.5 faster lag detection. Starting the watcher during page load made slow load frames look like lag, which switched on low-fx mode, and low-fx mode (by design) pauses the random cover swaps on Radio. Timings are back to the v4.4 values. */
/* v4.4: performance pass. Digitalt font subset to the characters the page uses (116 KB -> ~32 KB), Google Fonts CSS no longer blocks first paint (+ preconnect to the font host), and the resize handlers for the nav pill and page-height check run at most once per frame and no longer visit the cover tiles. */
/* v4.3: low-effects mode (no hardware acceleration, or the page is lagging) */
html.lowfx *,
html.lowfx *::before,
html.lowfx *::after {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html.lowfx .pill {
  background: rgba(22, 17, 82, 0.92);
}
html.lowfx .btn-ghost {
  background: rgba(32, 27, 104, 0.88);
}
html.lowfx .thr-t {
  cursor: auto;
  touch-action: auto;
}
html.lowfx #stars i {
  animation: none;
  opacity: 0.6;
}
html.lowfx .view.on,
html.lowfx #home.on .socials .card,
html.lowfx .eq i {
  animation: none;
}
html.lowfx #socials a.card:hover .sico,
html.lowfx #socials a.card:focus-visible .sico {
  filter: none;
}
html.lowfx .mosaic .mtile .mc {
  transform: none;
}
html.lowfx *:not(:focus):not(:focus-visible) {
  box-shadow: none !important;
  text-shadow: none !important;
}
html.lowfx #logo img,
html.lowfx #logo.held img {
  filter: none !important;
}
html.lowfx #home .hero::before {
  display: none;
}
html.lowfx #stars i:nth-child(n + 25) {
  display: none;
}
html.lowfx *:not(.bubble) {
  transition-duration: 0.15s !important;
}
/* low-effects mode: no CSS keyframe animation of any kind (background drift, spinning ring, entrances, lift/veil effects, track-info slide-in). Anything that matters is already at its final state without them. */
html.lowfx *,
html.lowfx *::before,
html.lowfx *::after {
  animation: none !important;
  will-change: auto !important;
}
/* the Furrest logo no longer glides between the hero and the nav: it just snaps to its place */
html.lowfx #logo,
html.lowfx #logo.nt0,
html.lowfx #logo:not(.nt0),
html.lowfx #logo img {
  transition: none !important;
}
/* mobile social icons: one tidy 2x2 cluster, every glyph the same visual size, soft colour glow, comfy tap targets */
@media (max-width: 560px) {
  #home .socials {
    width: min(264px, 78vw);
    gap: 14px 18px;
    margin-left: auto;
    margin-right: auto;
  }
  #home #socials a.card {
    width: 100%;
    max-width: 120px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
  }
  #home #socials .sico {
    width: 60%;
    height: 60%;
    max-width: none;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(var(--g), 0.38));
  }
  #home #socials a.card:active .sico {
    transform: scale(0.92);
    transition-duration: 0.12s;
  }
  html.lowfx #home #socials .sico {
    filter: none;
  }
}

#request textarea.field {
  display: block;
  resize: none;
  height: calc(3 * clamp(44px, 6vh, 54px) + 2 * 16px);
  min-height: 0;
  padding-top: 16px;
  padding-bottom: 16px;
  line-height: 1.4;
  font-family: inherit;
}

#rrModal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 5, 32, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
#rrModal.on {
  display: flex;
}
#rrModal.show {
  opacity: 1;
}
#rrModal .box {
  width: min(460px, 100%);
  padding: 34px 30px 28px;
  border-radius: 28px;
  text-align: center;
  color: var(--ink, #fff);
  background: linear-gradient(
    160deg,
    rgba(66, 58, 180, 0.96),
    rgba(26, 21, 90, 0.98)
  );
  border: 1px solid rgba(150, 160, 255, 0.32);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.8),
    0 0 90px -20px rgba(127, 31, 234, 0.6);
  transform: translateY(14px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1);
}
#rrModal.show .box {
  transform: none;
}
#rrModal h3 {
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
#rrModal p {
  color: var(--soft, #d8daff);
  line-height: 1.5;
  margin-bottom: 22px;
}
#rrModal .acts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
#rrModal .acts .btn {
  flex: 1 1 150px;
}
@media (prefers-reduced-motion: reduce) {
  #rrModal,
  #rrModal .box {
    transition-duration: 0.01s;
  }
}

/* throw sounds toggle */
#sfxBtn {
  position: fixed;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(150, 160, 255, 0.35);
  background: rgba(20, 15, 67, 0.7);
  color: #bfc0f8;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s,
    border-color 0.2s;
}
#sfxBtn:hover {
  background: rgba(150, 160, 255, 0.2);
  transform: translateY(-2px);
}
#sfxBtn.on {
  color: #fff;
  border-color: #2bc8d7;
  box-shadow: 0 0 0 3px rgba(43, 200, 215, 0.18);
}
#sfxBtn .on,
#sfxBtn.on .off {
  display: none;
}
#sfxBtn.on .on {
  display: block;
}
#sfxBtn .off {
  display: block;
}
@media (max-width: 640px) {
  #sfxBtn {
    left: 12px;
    bottom: calc(100px + env(safe-area-inset-bottom, 0px));
    width: 38px;
    height: 38px;
  }
}

/* volume slider (appears beside the speaker button while sounds are on) */
#volBox {
  position: fixed;
  left: 66px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  height: 34px;
  width: 176px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-radius: 17px;
  border: 1px solid rgba(150, 160, 255, 0.35);
  background: rgba(20, 15, 67, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateX(-6px);
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#volBox.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
#volPct {
  flex: none;
  min-width: 34px;
  margin-left: 10px;
  text-align: right;
  font:
    600 12px/1 Figtree,
    system-ui,
    sans-serif;
  color: #bfc0f8;
  font-variant-numeric: tabular-nums;
}
#volRng {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 20px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  --p: 10%;
}
#volRng::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    #2bc8d7 var(--p),
    rgba(150, 160, 255, 0.3) var(--p)
  );
}
#volRng::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: rgba(150, 160, 255, 0.3);
}
#volRng::-moz-range-progress {
  height: 4px;
  border-radius: 2px;
  background: #2bc8d7;
}
#volRng::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  box-shadow: 0 0 0 3px rgba(43, 200, 215, 0.25);
}
#volRng::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  box-shadow: 0 0 0 3px rgba(43, 200, 215, 0.25);
}
/* mobile: the slider stands up (vertical), centred right above the speaker button (button: 12px from the left, 100px up, 38px wide) */
@media (max-width: 640px) {
  #volBox {
    left: 11px;
    bottom: calc(146px + env(safe-area-inset-bottom, 0px));
    width: 40px;
    height: 180px;
    padding: 11px 0 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border-radius: 20px;
    transform: translateY(6px);
    touch-action: none;
  }
  #volBox.show {
    transform: none;
  }
  #volPct {
    min-width: 0;
    margin: 0;
    text-align: center;
    font-size: 11px;
  }
  #volRng {
    position: absolute;
    left: 50%;
    top: 101px;
    width: 130px;
    height: 24px;
    margin: -12px 0 0 -65px;
    transform: rotate(-90deg);
    touch-action: none;
  }
  #volRng::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    margin-top: -7px;
  }
  #volRng::-moz-range-thumb {
    width: 18px;
    height: 18px;
  }
}
/* now playing + skip (Radio page, while music plays) */
#npBox {
  --sh: 0px;
  position: fixed;
  left: 66px;
  bottom: calc(15px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: max(150px, min(320px, calc(100vw - 84px - var(--sh))));
  padding: 5px 6px 5px 14px;
  border-radius: 22px;
  border: 1px solid rgba(150, 160, 255, 0.35);
  background: rgba(20, 15, 67, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #f4f7ff;
  opacity: 0;
  transform: translateX(calc(var(--sh) - 8px));
  pointer-events: none;
  transition:
    opacity 0.25s,
    transform 0.35s cubic-bezier(0.3, 0.9, 0.3, 1),
    max-width 0.35s,
    width 0.35s cubic-bezier(0.3, 0.9, 0.3, 1);
}
#npBox.show {
  opacity: 1;
  transform: translateX(var(--sh));
  pointer-events: auto;
}
#npBox.shift {
  --sh: 188px;
}
#npTxt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  font:
    600 12px/1.15 Figtree,
    system-ui,
    sans-serif;
}
#npTxt b {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#npTxt span {
  color: #bfc0f8;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#npTxt:empty {
  display: none;
}
#npCopy,
#npSkip {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(150, 160, 255, 0.18);
  color: #fff;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
#npCopy:hover,
#npSkip:hover {
  background: rgba(43, 200, 215, 0.35);
  transform: scale(1.06);
}
#npCopy.ok {
  background: rgba(43, 200, 215, 0.45);
}
/* mobile: track info lives inside #listen, right above the Furry Radio heading. It only takes room while a track is showing,
   and the request box's text area gives back the same height so the page still fits above the nav. */
@keyframes npIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 640px) {
  #npBox,
  #npBox.shift {
    --sh: 0px;
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    display: none;
    align-self: center;
    width: auto;
    max-width: min(100%, 340px);
    margin: 0;
    transform: none;
  }
  #npBox.show {
    display: flex;
    transform: none;
    animation: npIn 0.3s ease both;
  }
  #radio:has(#npBox.show) #request textarea.field {
    height: calc(3 * clamp(44px, 6vh, 54px) + 2 * 16px - 54px);
  }
}
