:root {
  --bg: #151b2b;
  --bg2: #101522;
  --panel: #1b2233;
  --line: #2a3348;
  --text: #f4f6fb;
  --muted: #9aa3b5;
  --mint: #C9A227;
  --mint-dim: #1d4f46;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  /* the system font first: Helvetica Neue's tall ascender makes text sit visibly high in
     vertically centred boxes on iPhone and Mac; SF, Segoe UI and Roboto centre as drawn */
  font-family: Inter, -apple-system, system-ui, ui-sans-serif, "Helvetica Neue", sans-serif;
}
a { color: var(--mint); text-decoration: none; }
button, input { font: inherit; }
.logo { font-weight: 700; letter-spacing: -0.04em; }
.logo span { font-size: 1em; font-weight: inherit; }
.logo span { color: var(--mint); font-weight: 500; }
.auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 16px;
}
.auth-box { width: min(440px, 100%); text-align: center; }
.auth h1 { font-size: 42px; margin: 18px 0 8px; letter-spacing: -0.04em; }
.auth .sub { color: var(--muted); margin-bottom: 28px; }
.line-input {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #4a5568;
  color: var(--text);
  padding: 14px 0;
  margin: 18px 0;
  outline: none;
}
.btn {
  border: 0;
  border-radius: 10px;
  padding: 14px 18px;
  cursor: pointer;
  background: #2a3348;
  color: var(--text);
}
.btn-mint {
  background: var(--mint);
  color: #102018;
  font-weight: 700;
  width: 100%;
  border-radius: 10px;
}
.add-loc-screen {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #151b2b;
  color: #f4f6fb;
  display: grid;
  place-items: center;
  padding: 80px 24px 40px;
  overflow: auto;
}
.add-loc-x {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #2a3348;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.add-loc-card { width: min(560px, 100%); text-align: center; }
.add-loc-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 22px;
}
.add-loc-logo img { width: 28px; height: 28px; border-radius: 6px; }
.add-loc-logo span span { color: #C9A227; }
.add-loc-card h1 {
  font-family: Inter, -apple-system, system-ui, sans-serif !important;
  font-size: 40px !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.add-loc-card .sub {
  color: #9aa3b5;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 auto 36px;
  max-width: 440px;
}
.add-loc-card form { text-align: left; }
.add-loc-card label { display: block; margin: 0 0 26px; }
.add-loc-card label span { display: block; font-size: 14px; color: #8e98aa; margin-bottom: 4px; }
.add-loc-card label.is-on span { color: #C9A227; }
.add-loc-card input,
.add-loc-card select {
  width: 100%;
  background: transparent;
  color: #fff;
  border: 0;
  border-bottom: 1px solid #3a4458;
  border-radius: 0;
  padding: 8px 28px 10px 0;
  font-size: 16px;
  outline: none;
  appearance: none;
  box-shadow: none;
}
.add-loc-card input:focus,
.add-loc-card select:focus { border-bottom-color: #C9A227; }
.add-loc-card select {
  background-image: linear-gradient(45deg, transparent 50%, #d5dbe6 50%), linear-gradient(135deg, #d5dbe6 50%, transparent 50%);
  background-position: calc(100% - 14px) 14px, calc(100% - 8px) 14px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.add-loc-card option { color: #111; }
.add-loc-card button[type="submit"] {
  width: 100%;
  height: 52px;
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  background: #C9A227;
  color: #102018;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 15px;
  cursor: pointer;
}
.add-loc-card .err { color: #ff8a80; min-height: 1.2em; margin-top: 12px; text-align: center; }
.settings-page .loc-sub {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 18px !important;
  margin-top: 36px;
  padding-bottom: 22px;
  border-bottom: 1px solid #2a3348;
}
.settings-page .loc-sub img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex: none;
}
.settings-page .loc-sub-copy {
  flex: 0 1 auto;
  min-width: 0;
  text-align: left;
}
.settings-page .loc-sub-copy b {
  display: block !important;
  white-space: nowrap !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2;
}
.settings-page .loc-sub .ok,
.settings-page .loc-sub .no-sub {
  margin-top: 4px;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2;
}
.settings-page .loc-sub .ok { color: #C9A227 !important; }
.settings-page .loc-sub .no-sub { color: #e35d5d !important; }
.settings-page .loc-sub-act {
  margin-left: auto !important;
  flex: none !important;
  display: flex !important;
  align-items: center !important;
  align-self: center !important;
}
.settings-page .loc-sub .set-change {
  white-space: nowrap !important;
  padding: 0 !important;
}
.loc-sub .sub-btn {
  background: #C9A227;
  color: #102018;
  border: 0;
  border-radius: 8px;
  min-width: 148px;
  height: 44px;
  padding: 0 22px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
.or {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  margin: 22px 0;
}
.or:before, .or:after { content: ""; flex: 1; height: 1px; background: #2a3348; }
.check { display: flex; gap: 10px; text-align: left; color: var(--muted); font-size: 13px; margin: 22px 0; }
.err { color: #ff8b8b; min-height: 1.2em; }
.shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; background: var(--bg); }
.side {
  background: var(--bg2);
  padding: 16px 12px 120px;
  border-right: 1px solid #1e2636;
}
.side .nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  background: none;
  border: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.side .nav-item.active, .side .nav-item:hover { background: #243044; color: var(--text); }
.place {
  color: var(--muted);
  padding: 16px 12px 20px;
  font-size: 14px;
}
.top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px 0;
}
.search {
  flex: 1;
  background: #1c2436;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--text);
}
.main { padding: 12px 28px 130px; }
.trial {
  background: #1a2430;
  color: var(--muted);
  padding: 10px 16px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid #243044;
}
.trial b { color: var(--mint); }
.row-title { display: flex; justify-content: space-between; align-items: baseline; margin: 8px 0 14px; }
.row-title h2 { margin: 0; font-size: 22px; }
.viewall { color: var(--mint); font-size: 13px; }
.station-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.station {
  cursor: pointer;
}
.cover {
  aspect-ratio: 1;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35)),
    linear-gradient(135deg, #3a4d6a, #1b2838);
  position: relative;
  overflow: hidden;
}
.cover b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.tag {
  position: absolute;
  top: 8px; right: 8px;
  background: #1118;
  font-size: 10px;
  letter-spacing: .08em;
  padding: 3px 6px;
  border-radius: 3px;
}
.strip {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: var(--mint);
  color: #102018;
  font-size: 10px;
  letter-spacing: .08em;
  padding: 4px 8px;
}
.station p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.station h3 { margin: 10px 0 0; font-size: 15px; }
.player {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 74px;
  background: #121826;
  border-top: 1px solid #243044;
  display: grid;
  grid-template-columns: 1.3fr 1.4fr 1.1fr;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}
.now { display: flex; gap: 10px; align-items: center; min-width: 0; }
.thumb {
  width: 46px; height: 46px; border-radius: 4px;
  background: linear-gradient(135deg, #C9A227, #1b2838);
  flex: 0 0 46px;
}
.now strong, .now small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now small { color: var(--muted); font-size: 12px; }
.controls { display: flex; justify-content: center; align-items: center; gap: 14px; }
.controls button {
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: transparent; color: var(--text); cursor: pointer;
}
.controls .play { background: var(--mint); color: #102018; }
.times { color: var(--muted); font-size: 12px; }
.right { display: flex; justify-content: flex-end; align-items: center; gap: 10px; color: var(--muted); }
.pricing { max-width: 980px; margin: 40px auto; padding: 20px; text-align: center; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0; }
.plan {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  text-align: left;
  background: #121826;
  cursor: pointer;
}
.plan.on { border-color: var(--mint); }
.plan .price { font-size: 22px; margin: 10px 0; }
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { display: none; }
  .plans { grid-template-columns: 1fr; }
  .player { grid-template-columns: 1fr; height: auto; padding: 10px; }
}

.player {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 78px;
  background: #1a2230;
  border-top: 1px solid #2a3348;
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) auto minmax(180px, 1fr);
  align-items: center;
  padding: 0 16px;
  gap: 24px;
}
.now { display: flex; gap: 12px; align-items: center; min-width: 0; }
.thumb {
  width: 52px; height: 52px; border-radius: 3px;
  background: linear-gradient(135deg, #C9A227, #1b2838);
  flex: 0 0 52px;
  overflow: hidden;
}
.now .meta { min-width: 0; }
.now strong { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now small { display: block; color: #9aa3b5; font-size: 12px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.transport { display: flex; align-items: center; gap: 16px; }
.controls { display: flex; align-items: center; gap: 14px; }
.controls button {
  width: 40px; height: 40px; border: 0; background: transparent;
  color: #e8edf5; cursor: pointer; font-size: 18px; display: grid; place-items: center;
}
.controls .play {
  width: 44px; height: 44px; border-radius: 50%;
  background: #C9A227; color: #102018; font-size: 16px;
}
.times { color: #9aa3b5; font-size: 13px; letter-spacing: 0.02em; white-space: nowrap; }
.right { display: flex; justify-content: flex-end; align-items: center; gap: 12px; color: #9aa3b5; }
.right input[type=range] { width: 110px; accent-color: #fff; height: 4px; padding: 0; background: transparent; }
@media (max-width: 860px) {
  .player { grid-template-columns: 1fr; height: auto; padding: 10px 12px 12px; }
  .right { display: none; }
}
.controls button {
  width: 46px !important;
  height: 46px !important;
  font-size: 22px !important;
}
.controls .play {
  width: 48px !important;
  height: 48px !important;
  font-size: 18px !important;
}
.icon-btn {
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: #e8edf5;
  cursor: pointer;
  font-size: 22px;
  display: grid;
  place-items: center;
}
.right { position: relative; }
.device-pop {
  position: absolute;
  right: 8px;
  bottom: 64px;
  width: 340px;
  background: #243044;
  border-radius: 14px;
  padding: 18px 18px 16px;
  text-align: left;
  color: #f4f6fb;
  box-shadow: 0 12px 40px #0006;
  z-index: 40;
}
.device-pop p { color: #9aa3b5; font-size: 13px; margin: 8px 0 16px; line-height: 1.4; }
.device-row { display: flex; gap: 12px; align-items: center; }
.device-row small { display: block; color: #9aa3b5; font-size: 12px; margin-top: 3px; }
.controls { gap: 12px; }
.controls button,
.controls .play {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  padding: 0 !important;
  border-radius: 50%;
  display: grid !important;
  place-items: center;
  font-size: 0 !important;
}
.controls button { background: transparent; color: #e8edf5; }
.controls .play { background: #C9A227; color: #102018; }
.controls button svg { display: block; }
.place-wrap { position: relative; margin: 12px 0 16px; }
.place {
  width: 100%;
  background: none;
  border: 0;
  color: #c5cddb;
  text-align: left;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 8px;
}
.place:hover { background: #1c2436; }
.place-menu {
  position: absolute;
  left: 0; right: 0; top: 42px;
  background: #243044;
  border-radius: 12px;
  padding: 8px;
  z-index: 30;
  box-shadow: 0 10px 30px #0006;
}
.place-menu button, .place-menu a {
  display: flex; width: 100%;
  background: none; border: 0;
  color: #f4f6fb; text-align: left;
  padding: 10px 10px; border-radius: 8px;
  cursor: pointer; font: inherit;
}
.place-menu button:hover, .place-menu a:hover { background: #2d3a52; }
.place-menu .add { color: #c5cddb; border-top: 1px solid #3a455c; margin-top: 6px; padding-top: 12px; }
.side {
  display: flex;
  flex-direction: column;
  padding: 18px 14px 16px;
}
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side .nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  color: #c5cddb;
  font-size: 15px;
}
.side .nav-item.active {
  background: #243044;
  color: #fff;
}
.side-rule {
  height: 1px;
  background: #2a3348;
  margin: 14px 8px;
}
.side-foot { margin-top: auto; padding-top: 12px; }

.controls button,
.controls button.play,
.controls .play {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
}
.controls button svg,
.controls .play svg {
  width: 20px !important;
  height: 20px !important;
}
.times { font-size: 13px !important; }

.side a.logo,.side .logo{text-decoration:none;color:inherit;cursor:pointer;display:block}
.side a.logo:hover{opacity:.9}



.acct-loc-name {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.acct-loc-name:hover { color: #C9A227; }


.shell > section { min-height: 0; overflow: hidden; }
.main, #main {
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}
