/* ND Play 0.5.90 — readable scale, restrained surfaces and original player effects.
   Loaded after the legacy layout sheets. !important is limited to visual tokens
   and geometry previously locked by the mobile runtime. */
:root {
  --bg: #080a0f;
  --panel: #11161d;
  --panel-strong: #181f28;
  --text: #edf1f5;
  --muted: #a5afbd;
  --line: #303a47;
  --accent: #80cbc8;
  --accent-rgb: 128, 203, 200;
  --accent-2: #80cbc8;
  --danger: #ef9c9c;
  --radius-xl: 12px;
  --nd-font-min: 12px;
  --nd-body-size: 15px;
  --nd-mini-font: "Segoe UI", Ubuntu, system-ui, sans-serif;
  font-family: "Segoe UI", Ubuntu, system-ui, -apple-system, sans-serif;
}
html.readability-large { --nd-font-min: 14px; --nd-body-size: 17px; }
html#ndplayRoot body { background: radial-gradient(ellipse at 50% -10%, rgba(var(--accent-rgb), .085), transparent 55%), linear-gradient(180deg,#0d121a,var(--bg) 70%); font-size: var(--nd-body-size); line-height: 1.5; }
/* Preserve the original artwork, catalog and playback effects. Readability and
   restrained geometry are independent of animation and signal state. */
html#ndplayRoot body .ambient { opacity: .065; }
html#ndplayRoot body *, html#ndplayRoot body *::before, html#ndplayRoot body *::after { text-shadow: none !important; }
html#ndplayRoot body .auth-card::before { opacity: .22; }
html#ndplayRoot body .artwork-screen-glass { opacity: .34; }
html#ndplayRoot body .artwork-signal-status { border-radius: 4px; opacity: 0; }
html#ndplayRoot body .artwork-signal-status small { display: none; }
html#ndplayRoot body .artwork-signal-status b { font-size: var(--nd-font-min); letter-spacing: .06em; }
html#ndplayRoot body :is(.player-card,.auth-card,.status-strip,[class$="-sheet"],.version-handoff-console,.auth-success-console) {
  background: linear-gradient(155deg, #19232df5, #101720fa 55%, #0d131cfa) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 54px #0005, inset 0 1px #ffffff07 !important;
  backdrop-filter: none !important;
}
/* Keep the compact play glyph; its original light sweep remains active. */
html#ndplayRoot body .play-button::before { display: none; }
html#ndplayRoot body :is(button,input,select,textarea) { letter-spacing: .02em; }
/* Artwork is also a button: preserve its original opacity/transform/filter handoff. */
html#ndplayRoot body button:not(.cover-stage) {
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, opacity 160ms ease, transform 180ms ease, box-shadow 220ms ease;
}
html#ndplayRoot body :is(button,input,select,textarea,a):focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 3px;
}
html#ndplayRoot body button:disabled { cursor: default; }
html#ndplayRoot body :is(.control-button,.control-row-button,.flow-button,.station-options-button,.catalog-flip-button,.mix-card,.radio-card,.archive-launch,.listening-log-launch,.app-diagnostics-button,.app-install-button,.user-button,.layout-mode-button,.readability-mode-button,.search-button,.help-button,.auth-install-button,.auth-update-button) {
  background: linear-gradient(155deg,#ffffff06,transparent 75%), var(--panel-strong) !important;
  border-color: var(--line) !important;
  border-radius: 8px !important;
  color: var(--text);
}
html#ndplayRoot body :is(.control-button,.control-row-button,.flow-button,.station-options-button,.catalog-flip-button,.mix-card,.radio-card,.archive-launch,.listening-log-launch,.app-diagnostics-button,.user-button,.search-button,.help-button):hover:not(:disabled) {
  background: #222c37 !important;
  border-color: #667784 !important;
}
html#ndplayRoot body :is(.flow-button,.mix-card,.radio-card,.control-row-button).is-active,
html#ndplayRoot body :is(.control-row-button,.catalog-flip-button)[aria-expanded="true"],
html#ndplayRoot body .readability-mode-button.is-large {
  border-color: var(--accent) !important;
  background: rgba(var(--accent-rgb),.13) !important;
}
html#ndplayRoot body :is(.replay-gain-button.control-row-button.is-active > strong,.control-row-button > strong) { color: var(--accent); }
html#ndplayRoot body .play-button,
html#ndplayRoot body .login-button { background: var(--accent) !important; border: 1px solid var(--accent); color: #101c20 !important; border-radius: 8px !important; }
html#ndplayRoot body .play-button svg { stroke: #101c20; }
html#ndplayRoot body .play-button .play-icon { fill: #101c20; }
html#ndplayRoot body .transport-play-mark { display: block; }
html#ndplayRoot body .play-button { min-height: 54px; }
html#ndplayRoot body .transport-deck .play-button { display: grid; place-items: center; justify-content: center; align-content: center; padding: 12px; }
html#ndplayRoot body .transport-play-icons { position: relative; inset: auto; width: 28px; height: 28px; background: none; border: 0; box-shadow: none; }
html#ndplayRoot body .transport-key { min-height: 54px; }
html#ndplayRoot body .controls.transport-deck { padding: 0; margin-top: 14px; background: none; border: 0; }
html#ndplayRoot body .player-primary > * { flex-shrink: 0; }
html#ndplayRoot body .nd-wordmark-accent,
html#ndplayRoot body .nd-wordmark-rail,
html#ndplayRoot body .nd-wordmark-signal { fill: var(--accent); }

/* Header: a separate, full-width action row on small screens. */
html#ndplayRoot body .app-shell { width: min(100%, 660px); padding: 20px; }
html#ndplayRoot body .topbar { min-height: 60px; gap: 16px; margin-bottom: 18px; overflow: visible; }
html#ndplayRoot body .topbar-brand-zone { gap: 12px; min-width: 0; }
html#ndplayRoot body .brand-wrap { gap: 10px; }
html#ndplayRoot body .brand-wrap > div:last-child { width: auto; max-width: none; }
html#ndplayRoot body .brand-wrap .nd-brand-wordmark { width: 138px; max-width: 100%; height: 25px; }
html#ndplayRoot body .brand-wrap .company-signature { max-width: none; margin-top: 5px; font-size: var(--nd-font-min); line-height: 1.4; letter-spacing: 0; white-space: normal; color: var(--muted); text-transform: none; }
html#ndplayRoot body .brand-wrap .company-signature::before { display: none; }
html#ndplayRoot body .brand-mark { width: 38px; height: 38px; border-radius: 8px; background: rgba(var(--accent-rgb),.13); box-shadow: none; }
html#ndplayRoot body .topbar-actions { gap: 8px; }
html#ndplayRoot body :is(.readability-mode-button,.search-button,.help-button,.layout-mode-button) { width: 40px; height: 40px; flex: 0 0 40px; }
html#ndplayRoot body .user-button { min-height: 40px; padding: 8px 10px; font-size: 14px; }
html#ndplayRoot body .player-card { padding: 20px; }

/* Cover, volume and a horizontal quality readout share the same geometry
   on phones and desktop portrait; the wide mode uses two columns below. */
html#ndplayRoot body .cover-cluster {
  display: grid !important;
  grid-template-columns: 50px minmax(0, 1fr) !important;
  grid-template-rows: auto auto;
  align-items: stretch; gap: 14px !important; margin: 0 0 20px;
}
html#ndplayRoot body .cover-cluster .volume-rail {
  grid-column: 1; grid-row: 1; width: 50px !important; height: auto !important;
  min-height: 0 !important; padding: 12px 5px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(135deg,rgba(var(--accent-rgb),.04),transparent 55%), #121b25; box-shadow: inset 0 1px #ffffff07;
}
html#ndplayRoot body .volume-label,
html#ndplayRoot body .volume-value { font-size: var(--nd-font-min); color: var(--muted); line-height: 1.4; letter-spacing: 0; }
html#ndplayRoot body .volume-slider-shell { flex: 1; min-height: 80px; }
html#ndplayRoot body .volume-mute { width: 36px; height: 36px; min-height: 36px; }
html#ndplayRoot body .cover-cluster .cover-stage {
  grid-column: 2; grid-row: 1; width: 100% !important; height: auto !important;
  min-width: 0 !important; max-width: 100% !important; aspect-ratio: 1 / 1; align-self: start;
  padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 32px #0006, 0 0 24px rgba(var(--accent-rgb),.10), inset 0 0 0 1px #ffffff0a; background: #070c12;
}
html#ndplayRoot body .cover { border-radius: 9px; box-shadow: none; }
html#ndplayRoot body .album-trigger-label { font-size: var(--nd-font-min); letter-spacing: .06em; padding: 5px 8px; background: #11161de8; border-radius: 4px; }
html#ndplayRoot body .cover-cluster .stream-info {
  grid-column: 1 / -1; grid-row: 2; width: 100% !important; height: auto !important;
  aspect-ratio: auto !important; min-height: 0 !important; padding: 14px !important;
  border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(135deg,rgba(var(--accent-rgb),.04),transparent 55%), #121b25; box-shadow: inset 0 1px #ffffff07; overflow: visible;
}
html#ndplayRoot body .stream-compact { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 10px 16px; align-items: center; padding: 0; }
html#ndplayRoot body .stream-codec { margin: 0 !important; padding: 0 !important; width: auto; font-size: 24px !important; line-height: 1.15; color: var(--text); -webkit-text-fill-color: var(--text); background: none; border: 0; box-shadow: none; letter-spacing: .03em; }
html#ndplayRoot body .stream-mode-line { margin: 0; justify-content: flex-end; flex-wrap: wrap; gap: 5px; }
html#ndplayRoot body .stream-mode-line > span { color: var(--muted); font-size: var(--nd-font-min) !important; letter-spacing: 0; }
html#ndplayRoot body .stream-mode-line > b { font-size: var(--nd-font-min) !important; color: var(--accent); letter-spacing: .02em; }
html#ndplayRoot body .stream-metrics { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px !important; margin-top: 2px; }
html#ndplayRoot body .stream-metric { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; padding: 0; border: 0; }
html#ndplayRoot body .stream-metric > span { font-size: var(--nd-font-min) !important; color: var(--muted); letter-spacing: 0; line-height: 1.3; }
html#ndplayRoot body .stream-metric > b { font-size: max(var(--nd-font-min),14px) !important; color: var(--text); -webkit-text-fill-color: var(--text); line-height: 1.35; letter-spacing: 0; }
html#ndplayRoot body .stream-telemetry-status { display: none; }
html#ndplayRoot body .stream-quality-beacon { box-shadow: 0 0 8px rgba(var(--accent-rgb),.36); }
html#ndplayRoot body .track-copy { margin: 18px 0 12px; }
html#ndplayRoot body .track-context-row.control-row { gap: 8px; margin-bottom: 18px; grid-template-columns: repeat(2,minmax(0,1fr)); }
html#ndplayRoot body .control-row-button { min-height: 54px; height: auto; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 9px 12px; overflow: visible; }
html#ndplayRoot body .control-row-label { color: var(--muted); font-size: var(--nd-font-min); letter-spacing: .04em; }
html#ndplayRoot body .control-row-button > strong { font-size: max(var(--nd-font-min),14px); line-height: 1.25; letter-spacing: 0; text-align: left; }
html#ndplayRoot body .track-copy .vfd-track-title, html#ndplayRoot body .track-copy h1 { font-family: inherit; font-size: clamp(26px,5vw,34px); line-height: 1.2; letter-spacing: -.025em; color: var(--text); -webkit-text-fill-color: var(--text); background: none; filter: none; }
html#ndplayRoot body .track-copy :is(.artist,.album) { font-family: inherit; font-size: var(--nd-body-size); color: var(--muted); line-height: 1.5; letter-spacing: 0; }
html#ndplayRoot body .track-identity-control { padding: 0; }
html#ndplayRoot body .track-identity-display { width: 100%; gap: 12px; padding: 0; border: 0; background: none; box-shadow: none; }
html#ndplayRoot body .track-identity-display::before,
html#ndplayRoot body .track-identity-display::after,
html#ndplayRoot body .track-identity-control::before,
html#ndplayRoot body .track-identity-control::after { display: none; }
/* One identity panel, with independently focusable artist and album rows. */
html#ndplayRoot body .track-identity-meta {
  grid-template-columns: minmax(0,1fr) !important;
  gap: 0; border: 1px solid var(--line); border-radius: 8px;
  background: linear-gradient(135deg,rgba(var(--accent-rgb),.025),transparent 65%), #151d27;
}
html#ndplayRoot body .track-identity-control {
  grid-template-columns: 112px minmax(0,1fr) 16px; grid-template-rows: auto;
  gap: 8px; padding: 10px 12px; height: auto; min-height: 46px;
  border: 0; border-radius: 0; background: transparent; text-align: left; box-shadow: none;
}
html#ndplayRoot body .track-identity-control + .track-identity-control { border-top: 1px solid var(--line); }
html#ndplayRoot body .track-identity-control:first-child { border-radius: 7px 7px 0 0; }
html#ndplayRoot body .track-identity-control:last-child { border-radius: 0 0 7px 7px; }
html#ndplayRoot body .track-identity-control:hover:not(:disabled) { background: rgba(var(--accent-rgb),.065); }
html#ndplayRoot body .track-identity-control:focus-visible { outline-offset: -3px; }
html#ndplayRoot body .track-identity-code { grid-column: 1; grid-row: 1; font-size: var(--nd-font-min); color: var(--muted); letter-spacing: .035em; line-height: 1.3; }
html#ndplayRoot body .track-identity-arrow { grid-column: 3; grid-row: 1; }
html#ndplayRoot body .vfd-line { font-family: inherit !important; font-weight: 600; line-height: 1.4; letter-spacing: 0; max-height: none; }
html#ndplayRoot body .vfd-line-title { font-size: inherit; line-height: 1.2; }
html#ndplayRoot body :is(.vfd-line-artist,.vfd-line-album) { grid-column: 2; grid-row: 1; font-size: var(--nd-body-size); }
html#ndplayRoot body .vfd-glyph { font-family: inherit; color: var(--text) !important; -webkit-text-fill-color: var(--text) !important; -webkit-text-stroke: 0 !important; filter: none !important; text-shadow: none; opacity: 1; transform: none; }
html#ndplayRoot body .vfd-glyph::before,
html#ndplayRoot body .vfd-glyph::after { display: none !important; }
html#ndplayRoot body .time-readout b { font-size: max(var(--nd-font-min),16px); color: var(--muted); letter-spacing: .02em; }
html#ndplayRoot body .time-readout b { background: none; -webkit-text-fill-color: currentColor; filter: none; line-height: 1.4; }
html#ndplayRoot body .timeline .time-row { grid-template-columns: auto minmax(0,1fr) auto; gap: 10px; align-items: center; }
html#ndplayRoot body .track-context-actions { justify-content: center; flex-wrap: wrap; }
html#ndplayRoot body .lyrics-button { min-height: 36px; height: auto; border-radius: 6px; background: var(--panel-strong); border-color: var(--line); }
html#ndplayRoot body .track-quick-actions-button { min-width: 40px; min-height: 40px; }

/* Catalog and dialogs use comfortable body copy, natural height and wrapping. */
html#ndplayRoot body :is(.catalog-flip-side strong,.flow-button strong,.archive-launch-copy strong,.listening-log-launch-copy strong) { font-size: max(var(--nd-font-min),14px); letter-spacing: .04em; line-height: 1.3; }
html#ndplayRoot body .flow-button { min-height: 86px; height: auto; }
html#ndplayRoot body .stream-launch-grid .flow-button { grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 14px; }
html#ndplayRoot body .stream-launch-grid :is(.flow-symbol,.station-symbol) { display: none; }
html#ndplayRoot body .flow-button > span:not([aria-hidden]) { min-width: 0; }
html#ndplayRoot body .stream-launch-grid .flow-button small { font-family: inherit; font-weight: 400; white-space: normal; text-transform: none; overflow: visible; letter-spacing: 0; color: var(--muted); }
html#ndplayRoot body .stream-launch-grid .flow-button strong { white-space: normal; overflow: visible; }
html#ndplayRoot body .station-launch-control { border: 1px solid var(--line); border-radius: 8px; background: var(--panel-strong); box-shadow: none; }
html#ndplayRoot body .station-launch-control .station-button { border: 0 !important; border-radius: 8px 0 0 8px !important; }
html#ndplayRoot body .station-options-button { border-left: 1px solid var(--line); border-radius: 0 8px 8px 0 !important; }
html#ndplayRoot body .catalog-flip-button { grid-template-columns: minmax(0,1fr) 32px minmax(0,1fr); min-height: 54px; height: auto; padding: 6px; }
html#ndplayRoot body .catalog-flip-side { padding: 8px; min-width: 0; border-radius: 5px; }
html#ndplayRoot body .catalog-flip-side strong { white-space: normal; overflow: visible; }
html#ndplayRoot body :is(.flow-button strong,.archive-launch strong,.listening-log-launch strong,.mixes-header h2,.radio-header h2) { font-family: inherit; font-weight: 650; color: var(--text); }
html#ndplayRoot body .personal-launch-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; grid-auto-rows: auto !important; }
html#ndplayRoot body .personal-launch-grid > :is(.archive-launch,.listening-log-launch) { display: flex; justify-content: flex-start; gap: 12px; min-height: 72px !important; height: auto !important; padding: 12px; }
html#ndplayRoot body .personal-launch-grid :is(.archive-launch-mark,.listening-log-launch-mark) { flex: 0 0 32px; width: 32px !important; height: 32px !important; }
html#ndplayRoot body .personal-launch-grid strong { font-size: max(var(--nd-font-min),14px) !important; letter-spacing: .03em; }
html#ndplayRoot body :is(.flow-button small,.mix-card small,.radio-card small,.archive-launch-copy small,.listening-log-launch-copy small) { font-size: var(--nd-font-min); line-height: 1.45; color: var(--muted); letter-spacing: 0; white-space: normal; }
html#ndplayRoot body :is(.mix-card,.radio-card) { min-height: 100px; height: auto; }
html#ndplayRoot body :is(.mixes-header h2,.radio-header h2,.listen-later-header h2) { font-size: 18px; letter-spacing: -.02em; }
html#ndplayRoot body :is(.auth-copy > p,.auth-security p,.login-error,.queue-copy span,.queue-preview-copy span,.release-note-summary,.release-note-category li,.help-section p,.help-section li,.replay-gain-modes button span,.replay-gain-note) { font-size: var(--nd-body-size); line-height: 1.55; color: var(--muted); }
html#ndplayRoot body :is(.login-form label > span,.password-toggle) { font-size: max(var(--nd-font-min),14px); letter-spacing: .025em; }
html#ndplayRoot body .login-form input { min-height: 50px; border-radius: 8px; background: #0c1118; border-color: var(--line); font-size: max(var(--nd-body-size),16px); }
html#ndplayRoot body .password-field input { padding-right: 110px; }
html#ndplayRoot body .login-button { min-height: 52px; font-size: 15px; }
html#ndplayRoot body .password-toggle { min-height: 40px; }
html#ndplayRoot body .auth-card { padding: 28px; }
html#ndplayRoot body .auth-access-title { font-size: 22px; line-height: 1.3; letter-spacing: .025em; }
html#ndplayRoot body .auth-matrix-readout { background: #151c24; border-color: var(--line); border-radius: 8px; box-shadow: none; }
html#ndplayRoot body .auth-matrix-readout { grid-template-columns: minmax(0,1fr) auto; padding: 12px; }
html#ndplayRoot body .auth-matrix-bars { display: none; }
html#ndplayRoot body .auth-matrix-copy { min-width: 0; }
html#ndplayRoot body .auth-matrix-copy :is(small,strong) { white-space: normal; line-height: 1.5; letter-spacing: .02em; }
html#ndplayRoot body :is(.auth-version-console,.auth-install-panel,.auth-update-panel) { background: #151c24; border-color: var(--line); border-radius: 8px; box-shadow: none; }
html#ndplayRoot body .status-strip.status-console.status-console-private { grid-template-columns: 1fr !important; min-height: 0; padding: 0; }
html#ndplayRoot body .status-console-private .status-pane { min-height: 54px; padding: 12px 16px; }
html#ndplayRoot body .status-console-private .status-pane-app { border-left: 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
html#ndplayRoot body .status-service-copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
html#ndplayRoot body :is(.status-service-copy strong,.status-service-copy small) { font-size: var(--nd-font-min); color: var(--muted); line-height: 1.5; letter-spacing: .02em; }
html#ndplayRoot body .app-version-row { gap: 8px; }
html#ndplayRoot body .app-utility-actions { gap: 8px; flex-wrap: wrap; }
html#ndplayRoot body :is(.app-diagnostics-button,.app-install-button) { min-height: 36px; padding: 8px 10px; font-size: var(--nd-font-min); line-height: 1.3; }
html#ndplayRoot body :is(.app-version-label,.app-install-state) { font-size: var(--nd-font-min); line-height: 1.3; color: var(--muted); letter-spacing: 0; }
html#ndplayRoot body .app-version-row strong { font-size: 16px; }
html#ndplayRoot body :is(.release-note-entry,.release-note-category,.help-section) { border-radius: 8px; background: #171e27; border-color: var(--line); }
html#ndplayRoot body :is(.release-note-entry > summary strong,.release-note-entry > summary b) { font-size: 16px; letter-spacing: 0; }
html#ndplayRoot body .release-note-entry > summary > span { min-width: 0; }
html#ndplayRoot body .release-note-category h3 { font-size: var(--nd-font-min); letter-spacing: .04em; }
html#ndplayRoot body .release-note-source { font-size: var(--nd-font-min); color: var(--muted); overflow-wrap: anywhere; }
html#ndplayRoot body :is(.release-notes-notice,.release-notes-count) { font-size: var(--nd-font-min); color: var(--muted); }
html#ndplayRoot body .queue-preview-item { min-height: 70px; }
html#ndplayRoot body :is(.queue-preview-copy strong,.queue-copy strong) { font-size: var(--nd-body-size); line-height: 1.4; }
html#ndplayRoot body :is(.help-sheet,.release-notes-sheet,.archive-sheet,.listening-log-sheet,.queue-preview-sheet,.album-sheet,.artist-sheet,.search-sheet,.track-quick-actions-sheet) { max-height: calc(100dvh - 24px); }
html#ndplayRoot body :is(.sheet-header h2,.help-header h2,.queue-preview-header h2) { font-size: 24px; line-height: 1.25; letter-spacing: -.025em; }
html#ndplayRoot body :is(.icon-button,.close-button) { min-width: 40px; min-height: 40px; }
html#ndplayRoot body .diagnostics-console { width: min(480px,calc(100vw - 24px)); }
html#ndplayRoot body .diagnostics-group dt,
html#ndplayRoot body .diagnostics-group dd { overflow-wrap: anywhere; line-height: 1.45; }
html#ndplayRoot body .diagnostics-close { min-width: 40px; min-height: 40px; }
html#ndplayRoot body :is(.station-signal,.replay-gain-sheet-signal) { display: none; }
html#ndplayRoot body :is(.station-header p,.station-mode-heading > b,.station-modes button > i,.station-modes button > b,.replay-gain-header p,.replay-gain-current small,.replay-gain-current-glyph,.replay-gain-modes button > i) { color: var(--accent); }
html#ndplayRoot body :is(.station-modes button,.replay-gain-modes button,.station-seed-card,.replay-gain-current) { border-radius: 8px; border-color: var(--line); background: var(--panel-strong); }
html#ndplayRoot body :is(.station-modes button,.replay-gain-modes button):hover:not(:disabled) { border-color: var(--accent); background: rgba(var(--accent-rgb),.13); }
html#ndplayRoot body .replay-gain-modes button.is-active { border-color: var(--accent); background: rgba(var(--accent-rgb),.13); }
html#ndplayRoot body .auth-copy .auth-access-title { font-family: inherit; font-size: 20px !important; font-weight: 650; letter-spacing: .02em; }
html#ndplayRoot body .auth-brand .company-signature { font-family: inherit; font-style: normal; color: var(--muted); letter-spacing: 0; font-size: var(--nd-font-min); }

@media (min-width: 900px) {
  html#ndplayRoot body .app-shell.layout-wide { width: min(100%,1280px); }
  html#ndplayRoot body .app-shell.layout-wide .player-card { gap: 28px; padding: 24px; }
  html#ndplayRoot body .app-shell.layout-wide .player-secondary { padding-left: 24px; }
  html#ndplayRoot body .app-shell.layout-wide .cover-cluster { width: 100%; max-width: none; grid-template-columns: 44px minmax(0,clamp(220px,32vh,320px)) minmax(128px,1fr) !important; grid-template-rows: auto; gap: 12px !important; }
  html#ndplayRoot body .app-shell.layout-wide .cover-cluster .volume-rail { width: 44px !important; }
  html#ndplayRoot body .app-shell.layout-wide .cover-cluster .stream-info { container: nd-quality / inline-size; grid-column: 3; grid-row: 1; padding: 12px !important; }
  html#ndplayRoot body .app-shell.layout-wide .cover-cluster { margin-bottom: 0; }
  html#ndplayRoot body .app-shell.layout-wide .track-copy { margin: 10px 0 6px; }
  html#ndplayRoot body .app-shell.layout-wide .track-identity-display { gap: 8px; }
  html#ndplayRoot body .app-shell.layout-wide .controls.transport-deck { margin-top: 8px; }
  html#ndplayRoot body .app-shell.layout-wide .track-context-row.control-row { margin-bottom: 8px; }
  html#ndplayRoot body .app-shell.layout-wide .stream-compact { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  html#ndplayRoot body .app-shell.layout-wide .stream-mode-line { justify-content: flex-start; }
  html#ndplayRoot body .app-shell.layout-wide .stream-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px !important; }
}
@container nd-quality (max-width: 145px) {
  html#ndplayRoot body .app-shell.layout-wide .stream-mode-line > span { display: none; }
  html#ndplayRoot body .app-shell.layout-wide .stream-metrics { grid-template-columns: minmax(0,1fr); gap: 8px !important; }
  html#ndplayRoot body .app-shell.layout-wide .stream-metric { flex-direction: row; align-items: baseline; justify-content: space-between; }
  html#ndplayRoot body .app-shell.layout-wide .stream-metric > b { flex-shrink: 0; }
}
html#ndplayRoot body .track-identity-meta .vfd-word { white-space: normal; }
@media (max-width: 700px) {
  html#ndplayRoot body .app-shell, html#ndplayRoot.nd-mobile-runtime body .app-shell { padding: 14px 12px max(18px,env(safe-area-inset-bottom)); }
  html#ndplayRoot body .topbar, html#ndplayRoot.nd-mobile-runtime body .topbar { display: grid; grid-template-columns: 1fr !important; gap: 12px !important; overflow: visible; }
  html#ndplayRoot body .topbar-actions { justify-content: flex-end; }
  html#ndplayRoot body .topbar-brand-zone { grid-column: 1; grid-row: 1; }
  html#ndplayRoot body .topbar-actions { grid-column: 1; grid-row: 2; }
  html#ndplayRoot body .topbar-brand-zone { justify-content: space-between; }
  html#ndplayRoot body .brand-wrap > div:last-child { width: auto; max-width: none; }
  html#ndplayRoot body .brand-wrap .nd-brand-wordmark { width: 134px; height: 24px; }
  html#ndplayRoot body .brand-wrap .company-signature { max-width: none; font-size: var(--nd-font-min); }
  html#ndplayRoot body .player-card { padding: 14px !important; }
  html#ndplayRoot body .cover-cluster { gap: 10px !important; grid-template-columns: 44px minmax(0,1fr) !important; }
  html#ndplayRoot body .cover-cluster .volume-rail { width: 44px !important; padding: 10px 3px; }
  html#ndplayRoot body .cover-cluster .stream-info { padding: 12px !important; }
  html#ndplayRoot body .stream-metrics { gap: 8px !important; }
  html#ndplayRoot body .stream-codec { font-size: 22px !important; }
  html#ndplayRoot body .control-row-button { padding: 9px; min-height: 56px; height: auto; }
  html#ndplayRoot body .control-row-button > strong { font-size: max(var(--nd-font-min),13px); }
  html#ndplayRoot body .controls.transport-deck { grid-template-columns: minmax(84px,1.4fr) repeat(3,minmax(40px,1fr)); gap: 8px; }
  html#ndplayRoot body .stream-launch-grid .flow-button { grid-template-columns: minmax(0,1fr) auto; padding: 12px; }
  html#ndplayRoot body .stream-launch-grid .flow-symbol { display: none; }
  html#ndplayRoot body .stream-launch-grid .flow-button small { font-size: var(--nd-font-min); }
  html#ndplayRoot body .stream-launch-grid .station-button { grid-template-columns: minmax(0,1fr); }
  html#ndplayRoot body .stream-launch-grid .station-button > svg { display: none; }
  html#ndplayRoot body .personal-launch-grid { grid-auto-rows: auto !important; }
  html#ndplayRoot body .personal-launch-grid > :is(.archive-launch,.listening-log-launch) { min-height: 86px !important; height: auto !important; }
  html#ndplayRoot body :is(.archive-launch-copy,.listening-log-launch-copy) { min-width: 0; }
  html#ndplayRoot body .auth-shell { padding: 16px 12px; }
  html#ndplayRoot body .auth-card { padding: 22px 18px; }
  html#ndplayRoot body .auth-install-panel, html#ndplayRoot body .auth-update-panel { flex-wrap: wrap; height: auto; }
  html#ndplayRoot body .status-console-private .status-pane-app { justify-content: flex-start; }
  html#ndplayRoot body .release-note-entry > summary > span { grid-template-columns: 1fr; }
  html#ndplayRoot body .release-note-content { grid-template-columns: 1fr; }
}
@media (min-width: 700px) {
  html#ndplayRoot body .stream-launch-grid .flow-button { grid-template-columns: 30px minmax(0,1fr) auto; }
  html#ndplayRoot body .stream-launch-grid :is(.flow-symbol,.station-symbol) { display: flex; width: 30px; }
}
@media (max-width: 520px) {
  html#ndplayRoot body .track-identity-control { grid-template-columns: minmax(0,1fr) 16px; grid-template-rows: auto auto; row-gap: 3px; min-height: 57px; padding: 8px 10px; }
  html#ndplayRoot body .track-identity-code { grid-column: 1; grid-row: 1; }
  html#ndplayRoot body :is(.vfd-line-artist,.vfd-line-album) { grid-column: 1; grid-row: 2; }
  html#ndplayRoot body .track-identity-arrow { grid-column: 2; grid-row: 1 / 3; }
}
html#ndplayRoot.readability-large body .track-identity-control { grid-template-columns: minmax(0,1fr) 16px; grid-template-rows: auto auto; row-gap: 4px; }
html#ndplayRoot.readability-large body .track-identity-code { grid-column: 1; grid-row: 1; }
html#ndplayRoot.readability-large body :is(.vfd-line-artist,.vfd-line-album) { grid-column: 1; grid-row: 2; }
html#ndplayRoot.readability-large body .track-identity-arrow { grid-column: 2; grid-row: 1 / 3; }
@media (max-width: 370px) {
  html#ndplayRoot body .app-shell, html#ndplayRoot.nd-mobile-runtime body .app-shell { padding-inline: 8px; }
  html#ndplayRoot body .player-card { padding: 12px !important; }
  html#ndplayRoot body .stream-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px !important; }
  html#ndplayRoot body .personal-launch-grid :is(.archive-launch-mark,.listening-log-launch-mark) { display: none; }
  html#ndplayRoot body .personal-launch-grid > :is(.archive-launch,.listening-log-launch) { justify-content: center; min-height: 60px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html#ndplayRoot body *, html#ndplayRoot body *::before, html#ndplayRoot body *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
