:root {
  --rr-bg0: #060708;
  --rr-bg1: #0e1014;
  --rr-surface: #141820;
  --rr-elev: #1c212c;
  --rr-line: rgba(255, 255, 255, 0.07);
  --rr-line2: rgba(255, 255, 255, 0.12);
  --rr-text: #eef0f4;
  --rr-muted: #8f96a3;
  --rr-faint: #5c6370;
  --rr-amber: #e9a23b;
  --rr-amber-dim: #b87a28;
  --rr-coral: #f06543;
  --rr-safe: #3dd9a5;
  --rr-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --rr-radius: 18px;
  --rr-radius-sm: 12px;
  --rr-font: "Onest", system-ui, "Segoe UI", sans-serif;
  --rr-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.rr-body {
  margin: 0;
  min-height: 100vh;
  padding-bottom: 6.25rem;
  font-family: var(--rr-font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--rr-text);
  background: var(--rr-bg0);
  color-scheme: dark;
}

.rr-noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.rr-glow {
  pointer-events: none;
  position: fixed;
  top: -20%;
  right: -10%;
  width: 55vmin;
  height: 55vmin;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 162, 59, 0.22) 0%, transparent 65%);
  z-index: 0;
}

.rr-glow--2 {
  top: auto;
  bottom: -25%;
  left: -15%;
  right: auto;
  width: 70vmin;
  height: 70vmin;
  background: radial-gradient(circle, rgba(240, 101, 67, 0.12) 0%, transparent 60%);
}

.rr-shell {
  position: relative;
  z-index: 1;
}

.rr-container {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2rem;
}

@media (min-width: 640px) {
  .rr-container {
    padding: 2rem 1.75rem 2.5rem;
  }
}

.rr-hero {
  margin-bottom: 1.75rem;
}

.rr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0.28rem 0.65rem 0.32rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rr-amber);
  background: rgba(233, 162, 59, 0.1);
  border: 1px solid rgba(233, 162, 59, 0.28);
  border-radius: 999px;
}

.rr-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rr-safe);
  box-shadow: 0 0 10px var(--rr-safe);
  animation: rr-pulse 2.2s ease-in-out infinite;
}

@keyframes rr-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.85);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rr-eyebrow::before {
    animation: none;
  }

  .card {
    transition: none;
  }

  .card:hover,
  .card:focus {
    transform: none;
  }
}

.rr-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  background: linear-gradient(120deg, #fff 12%, #fde6c3 42%, var(--rr-amber) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rr-lead {
  margin: 0;
  max-width: 40rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--rr-muted);
}

.empty {
  padding: 1.35rem 1.25rem;
  border-radius: var(--rr-radius);
  border: 1px dashed var(--rr-line2);
  background: rgba(20, 24, 32, 0.65);
  color: var(--rr-muted);
  font-size: 0.9rem;
  text-align: center;
}

.search-wrap {
  position: relative;
  margin-bottom: 1.35rem;
  z-index: 40;
}

.search-lbl {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rr-faint);
}

.search-wrap input[type="search"] {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.65rem;
  border: 1px solid var(--rr-line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--rr-text);
  background: var(--rr-surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%238f96a3' stroke-width='2' stroke-linecap='round' d='M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z'/%3E%3Cpath stroke='%238f96a3' stroke-width='2' stroke-linecap='round' d='M16.5 16.5 21 21'/%3E%3C/svg%3E")
    1rem 50% no-repeat;
  background-size: 18px 18px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.search-wrap input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

.search-wrap input[type="search"]::placeholder {
  color: var(--rr-faint);
}

.search-wrap input[type="search"]:focus {
  outline: none;
  border-color: rgba(233, 162, 59, 0.45);
  box-shadow: 0 0 0 3px rgba(233, 162, 59, 0.12), 0 12px 40px rgba(0, 0, 0, 0.35);
  background-color: var(--rr-elev);
}

.search-dd {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0.35rem;
  position: absolute;
  left: 0;
  right: 0;
  max-height: 14rem;
  overflow-y: auto;
  background: var(--rr-elev);
  border: 1px solid var(--rr-line2);
  border-radius: var(--rr-radius-sm);
  box-shadow: var(--rr-shadow);
}

.search-dd[hidden] {
  display: none !important;
}

.search-dd button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  color: var(--rr-text);
  cursor: pointer;
  transition: background 0.15s;
}

.search-dd button:hover,
.search-dd button:focus {
  background: rgba(233, 162, 59, 0.1);
  outline: none;
}

.search-dd button.on {
  background: rgba(233, 162, 59, 0.18);
}

.search-dd .search-empty {
  padding: 0.65rem 0.75rem;
  font-size: 0.875rem;
  color: var(--rr-muted);
  pointer-events: none;
}

.grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 540px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 900px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  padding: 1rem 1rem 1rem 1.15rem;
  border: 1px solid var(--rr-line);
  border-radius: var(--rr-radius);
  background: linear-gradient(155deg, rgba(28, 33, 44, 0.95), rgba(18, 20, 26, 0.98));
  color: var(--rr-text);
  transition: transform 0.2s ease, border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--rr-amber), var(--rr-coral));
  opacity: 0.35;
  transition: opacity 0.2s;
}

.card:hover,
.card:focus {
  outline: none;
  border-color: rgba(233, 162, 59, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.card:hover::before,
.card:focus::before {
  opacity: 1;
}

.card.on {
  border-color: rgba(233, 162, 59, 0.55);
  box-shadow: 0 0 0 1px rgba(233, 162, 59, 0.2), 0 20px 50px rgba(0, 0, 0, 0.45);
}

.card.on::before {
  opacity: 1;
}

.card .nm {
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.card .meta {
  margin-top: 0.35rem;
  font-family: var(--rr-mono);
  font-size: 0.6875rem;
  font-weight: 450;
  color: var(--rr-muted);
  line-height: 1.45;
}

.foot {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.foot a {
  color: var(--rr-muted);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.foot a:hover {
  color: var(--rr-amber);
  border-bottom-color: rgba(233, 162, 59, 0.45);
}

.player-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--rr-line);
  background: rgba(8, 9, 11, 0.78);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45);
}

@supports (backdrop-filter: blur(12px)) {
  .player-bar {
    backdrop-filter: blur(18px) saturate(1.3);
  }
}

.player-inner {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.player-inner .now {
  flex: 1;
  min-width: 10rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--rr-text);
}

.player-audio-wrap {
  flex: 2;
  min-width: 12rem;
  max-width: 100%;
  padding: 0.2rem 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rr-line);
}

.player-audio-wrap audio {
  display: block;
  width: 100%;
  height: 2.5rem;
  vertical-align: middle;
}

.modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(4, 5, 8, 0.72);
}

.modal-bg.open {
  display: flex;
}

.modal {
  position: relative;
  max-width: 24rem;
  width: 100%;
  padding: 1.5rem 1.5rem 1.35rem;
  border-radius: var(--rr-radius);
  border: 1px solid var(--rr-line2);
  background: linear-gradient(165deg, #1e232e, #12151c);
  box-shadow: var(--rr-shadow);
}

.modal h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.modal p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--rr-muted);
}

.modal a.dl {
  display: block;
  text-align: center;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #0a0b0d !important;
  text-decoration: none;
  background: linear-gradient(110deg, var(--rr-amber), #ffd089);
  box-shadow: 0 8px 28px rgba(233, 162, 59, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.modal a.dl:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(233, 162, 59, 0.45);
}

.modal a.dl:active {
  transform: translateY(0);
}

.modal .intent-line {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  color: var(--rr-muted);
  text-align: center;
  line-height: 1.4;
}

.modal .intent-line a {
  color: var(--rr-amber);
  font-weight: 600;
}

.modal .auth-wrap {
  margin: 1rem 0 0;
  text-align: center;
}

.modal .auth-cta {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff !important;
  text-decoration: none;
  background: linear-gradient(120deg, #5b41ff, #00b4d8);
  box-shadow: 0 6px 24px rgba(91, 65, 255, 0.35);
}

.modal .micro {
  margin: 0.65rem 0 0;
  font-size: 0.72rem;
  color: var(--rr-faint);
  text-align: center;
}

.modal .micro--tight {
  margin-top: 0.4rem;
}

.modal button.cl {
  margin-top: 1rem;
  width: 100%;
  padding: 0.55rem;
  border: 1px solid var(--rr-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--rr-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  transition: background 0.15s, color 0.15s;
}

.modal button.cl:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--rr-text);
}

.modal-phone {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(4, 5, 8, 0.82);
}

.modal-phone.active {
  display: flex;
}

.modal-box {
  width: min(92vw, 320px);
  padding: 1.35rem;
  border-radius: var(--rr-radius);
  border: 1px solid var(--rr-line2);
  text-align: center;
  background: linear-gradient(165deg, #222831, #14171f);
  box-shadow: var(--rr-shadow);
}

.modal-box h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
}

.modal-box input {
  width: 100%;
  padding: 10px 12px;
  margin: 8px 0;
  border-radius: 10px;
  border: 1px solid var(--rr-line);
  background: var(--rr-surface);
  color: var(--rr-text);
  font: inherit;
}

.modal-box input:focus {
  outline: none;
  border-color: rgba(233, 162, 59, 0.45);
  box-shadow: 0 0 0 2px rgba(233, 162, 59, 0.12);
}

.modal-box button {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(110deg, var(--rr-amber), #f0c56b);
  color: #141008;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.stream-mini-bg {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 85;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(4, 5, 8, 0.65);
}

.stream-mini-bg.open {
  display: flex;
}

.stream-mini {
  display: flex;
  flex-direction: column;
  max-width: 22rem;
  width: 100%;
  max-height: min(72vh, 28rem);
  overflow: hidden;
  border-radius: var(--rr-radius);
  border: 1px solid var(--rr-line2);
  background: linear-gradient(170deg, #1f242f, #12151c);
  box-shadow: var(--rr-shadow);
}

.stream-mini-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 1.1rem 1.1rem 0;
}

.stream-mini-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.stream-mini-x {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--rr-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--rr-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.stream-mini-x:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--rr-text);
}

.stream-mini-hint {
  margin: 0;
  padding: 0 1.1rem 0.5rem;
  font-size: 0.75rem;
  color: var(--rr-faint);
}

.stream-mini-list {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0.55rem 1rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.stream-mini-list li {
  margin: 0 0 0.4rem;
}

.stream-mini-row {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--rr-line);
  border-radius: var(--rr-radius-sm);
  background: rgba(255, 255, 255, 0.03);
  font: inherit;
  color: var(--rr-text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.stream-mini-row:hover,
.stream-mini-row:focus {
  outline: none;
  border-color: rgba(233, 162, 59, 0.4);
  background: rgba(233, 162, 59, 0.08);
}

.stream-mini-row.playing {
  border-color: rgba(233, 162, 59, 0.65);
  background: rgba(233, 162, 59, 0.14);
  font-weight: 600;
}

.stream-mini-row .sn {
  display: block;
  font-size: 0.875rem;
}

.stream-mini-row .su {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--rr-mono);
  font-size: 0.65rem;
  color: var(--rr-muted);
  word-break: break-all;
}

.stream-mini-app {
  margin: 0;
  padding: 0.85rem 1.1rem 1.1rem;
  border-top: 1px solid var(--rr-line);
  background: rgba(0, 0, 0, 0.25);
}

.stream-mini-app-txt {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--rr-muted);
}

.stream-mini-app-btn {
  display: block;
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  color: #0d0e10 !important;
  text-decoration: none;
  background: linear-gradient(110deg, var(--rr-amber), #ffe0a8);
}

.stream-mini-app-btn:active {
  opacity: 0.92;
}
