/* Web radio page around the desktop radio's own screen (radio.css). Clearwater colours. */
body.web {
  height: auto;
  min-height: 100dvh;
  overflow: auto;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(47, 128, 255, 0.18), transparent 60%), radial-gradient(900px 500px at -10% 30%, rgba(63, 182, 255, 0.10), transparent 60%), #050b18;
  color: #eaf2ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: env(safe-area-inset-top) 0 calc(env(safe-area-inset-bottom) + 8px);
  -webkit-tap-highlight-color: transparent;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body.web .radio { -webkit-app-region: none; }

.web-top { flex: none; }

.web-stage { position: relative; flex: none; }
/* Tucked-away phone: the arrow tab sits on the right edge of the page. */
body.web.on-bubble .web-stage { align-self: flex-end; margin: auto -8px auto 0; }
.web-frame {
  position: absolute;
  left: 0;
  top: 0;
  width: 232px;
  height: 652px;
  transform-origin: top left;
}

.web-ptt {
  flex: none;
  width: min(100% - 16px, 420px);
  min-height: 64px;
  border-radius: 14px;
  background: #2f80ff;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .08em;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .3);
}
.web-ptt.held { background: #b3261e; }

.web-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(5, 11, 24, .9);
}
.web-gate[hidden] { display: none; }
.web-card {
  width: min(100%, 400px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #0d1d3a;
  border: 1px solid #1d3460;
  border-radius: 16px;
  padding: 22px 18px;
}
.web-card h1 { margin: 0; font-size: 22px; }
.web-card p { margin: 0; color: #9db0cf; line-height: 1.45; }
.web-discord, .web-power {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.web-discord { background: #5865f2; color: #fff; }
.web-discord svg { width: 22px; height: 22px; }
.web-power { background: #2f80ff; color: #fff; }
.web-card .web-fine { font-size: 12px; }
.web-fine a { color: #2f80ff; }

/* Clearwater Roleplay site header (same as cwrpvc.com). */
.cw-nav { position: relative; z-index: 60; width: 100%; background: rgba(5, 11, 24, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(120, 170, 255, 0.16); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
.cw-nav-inner { width: min(100% - 32px, 1180px); margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 18px; }
.cw-brand { display: flex; align-items: center; gap: 10px; color: #eaf2ff; text-decoration: none; font-family: 'Outfit', 'Inter', sans-serif; font-weight: 700; font-size: 1.05rem; white-space: nowrap; min-width: 0; }
.cw-brand img { width: 36px; height: 36px; flex: none; }
.cw-brand b { color: #3fb6ff; font-weight: 700; }
.cw-who { color: #9db0cf; font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cw-links { display: flex; gap: 4px; margin-left: auto; }
.cw-links a { padding: 7px 13px; border-radius: 999px; color: #9db0cf; text-decoration: none; font-weight: 500; font-size: 0.92rem; }
.cw-links a:hover, .cw-links a.on { color: #eaf2ff; background: rgba(47, 128, 255, 0.14); }
.cw-discord { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; background: linear-gradient(135deg, #2f80ff, #3fb6ff); color: #fff; font-weight: 600; font-size: 0.88rem; text-decoration: none; white-space: nowrap; box-shadow: 0 0 30px rgba(47, 128, 255, 0.35); }
@media (max-width: 760px) {
  .cw-nav-inner { height: 56px; gap: 10px; }
  .cw-links a:not(.on):not(.cw-home) { display: none; }
  .cw-discord, .cw-brand span { display: none; }
  .cw-links a { padding: 6px 10px; font-size: 0.85rem; }
}
