:root {
  --ink: #192b30;
  --muted: #697b7e;
  --paper: #f5f6f3;
  --line: #dfe5df;
  --green: #256e59;
  --green-soft: #e3eee7;
  --sidebar: #15242a;
  --white: #fff;
  --red: #b14141;
  --radius: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    15px/1.55 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 16px;
  background: white;
  color: var(--ink);
  font-weight: 600;
  transition:
    background 0.15s,
    transform 0.15s;
}
button:hover {
  background: var(--green-soft);
}
button:active {
  transform: translateY(1px);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
button.primary:hover {
  background: #1c5948;
}
button.ghost {
  background: transparent;
  border-color: transparent;
}
button.danger {
  color: var(--red);
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #74b9a4;
  outline-offset: 3px;
}
input,
textarea,
select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #ccd6cf;
  border-radius: 9px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}
textarea {
  resize: vertical;
  min-height: 100px;
}
label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin: 15px 0 7px;
}
label input,
label textarea,
label select {
  display: block;
  margin-top: 7px;
  font-weight: 400;
  font-size: 15px;
}
input[type="checkbox"] {
  width: 20px;
  min-height: 20px;
  display: inline-block;
  vertical-align: middle;
}
input[type="range"] {
  accent-color: var(--green);
  padding: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 36px;
  font-weight: 650;
  letter-spacing: -1.2px;
  line-height: 1.2;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  line-height: 1.3;
}
h3 {
  font-size: 17px;
  letter-spacing: -0.2px;
}
p {
  color: var(--muted);
  margin-top: 9px;
}
small,
.small {
  font-size: 12px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 750;
  color: var(--muted);
}
.brand {
  font-size: 19px;
  letter-spacing: 3px;
  font-weight: 800;
  color: white;
}
.brand span {
  font-weight: 350;
  margin-left: 5px;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 234px;
  background: var(--sidebar);
  color: #c0d0cd;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  z-index: 3;
}
.sidebar > .brand {
  margin: 0 12px 54px;
}
.sidebar-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  margin: 0 12px 17px;
  color: #7d9697;
}
nav {
  display: grid;
  gap: 6px;
}
nav a {
  padding: 13px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 550;
  min-height: 46px;
}
nav a span {
  font-size: 10px;
  margin-right: 15px;
  opacity: 0.45;
  font-variant-numeric: tabular-nums;
}
nav a:hover {
  background: #20343b;
}
nav a.active {
  background: #31483f;
  color: #ebf6ed;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 20px 12px 0;
  border-top: 1px solid #2d3d42;
  display: grid;
  gap: 7px;
}
.sidebar-bottom strong {
  font-size: 11px;
}
.sidebar-bottom small {
  font-size: 11px;
  color: #94aaa7;
}
.sidebar-bottom button {
  color: #b6c8c4;
  padding-left: 0;
  text-align: left;
  font-size: 12px;
}
.device-light {
  width: 7px;
  height: 7px;
  background: #86948c;
  border-radius: 50%;
}
main {
  margin-left: 234px;
  padding-bottom: 112px;
  min-height: 100vh;
}
.topbar {
  height: 78px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  font-size: 12px;
  background: #ffffff80;
}
.breadcrumb {
  color: var(--muted);
}
.breadcrumb span {
  margin: 0 12px;
  color: #b5c2ba;
}
.breadcrumb b {
  color: var(--ink);
  font-weight: 500;
}
.account {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}
.content {
  max-width: 1300px;
  margin: auto;
  padding: 39px 44px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.page-heading h1 {
  margin-top: 8px;
}
.page-heading p {
  font-size: 13px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 7px 12px;
  font-size: 11px;
  white-space: nowrap;
  background: white;
  color: var(--muted);
}
.badge.online {
  background: var(--green-soft);
  color: var(--green);
  border-color: #cfdfd1;
}
.badge.online:before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}
.music-hero {
  border: 1px solid #dfe5d8;
  background: #e9eddf;
  border-radius: var(--radius);
  padding: 32px 36px;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  min-height: 270px;
}
.music-hero h2 {
  font-size: 30px;
  margin-top: 11px;
}
.music-hero p {
  font-size: 13px;
  color: #637164;
}
.music-hero button {
  margin-top: 20px;
}
.music-hero .small {
  font-size: 10px;
  margin-top: 10px;
}
.record-art {
  width: 216px;
  height: 216px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #253831 0 2px, #1b2b26 3px 5px);
  display: grid;
  place-items: center;
  box-shadow: 7px 13px 24px #17251c22;
  align-self: center;
  transform: rotate(-18deg);
  margin: 0 25px;
}
.record-center {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  background: #ceaa72;
  display: grid;
  place-items: center;
  border: 5px solid #1d3027;
  color: #354339;
  font-size: 18px;
  letter-spacing: 3px;
}
.record-center:after {
  content: "";
  width: 8px;
  height: 8px;
  background: #21342b;
  border-radius: 50%;
  position: absolute;
}
.record-center span {
  transform: translateY(-22px);
  font-size: 10px;
  font-weight: 700;
}
.section-heading {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 17px;
}
.section-heading h2 {
  font-size: 20px;
}
.section-heading p {
  font-size: 13px;
}
.section-heading > input {
  max-width: 230px;
  background: transparent;
  font-size: 12px;
}
.count {
  font-size: 12px;
  background: #e5eae3;
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: 7px;
  vertical-align: middle;
}
.track-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}
.track {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 50px auto;
  gap: 14px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #edf0ea;
}
.track:last-child {
  border: 0;
}
.track-number {
  color: #9ba9a0;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.track-title {
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.track-subtitle {
  font-size: 10px;
  color: #8a9990;
}
.track .duration {
  font-size: 11px;
  color: var(--muted);
}
.track-actions {
  display: flex;
  gap: 5px;
}
.track-actions button {
  font-size: 11px;
  padding: 7px 10px;
  min-height: 38px;
}
.bluetooth-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
}
.bluetooth-card h3 {
  margin-top: 4px;
}
.bluetooth-card p {
  font-size: 11px;
  max-width: 330px;
}
.bluetooth-card form {
  display: flex;
  gap: 8px;
  max-width: 420px;
}
.bluetooth-card form button {
  font-size: 12px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.card,
.panel,
.result-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
  background: white;
  min-width: 0;
}
.card h3 {
  overflow-wrap: anywhere;
}
.card p {
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.card .actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.card .actions button {
  font-size: 11px;
  padding: 8px 11px;
}
.tag {
  font:
    10px ui-monospace,
    monospace;
  color: var(--green);
  background: var(--green-soft);
  padding: 4px 7px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 12px;
}
.empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
  grid-column: 1/-1;
}
.empty h3 {
  color: var(--ink);
  margin-bottom: 8px;
}
.empty p {
  font-size: 13px;
}
.empty button {
  margin-top: 16px;
}
.result-card {
  margin: 24px 0;
}
.result-card .section-heading {
  margin: 0 0 15px;
}
.result-card pre,
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    12px/1.7 ui-monospace,
    monospace;
  max-height: 350px;
  overflow: auto;
  margin: 0;
  padding: 16px;
  background: #f3f6f2;
  border-radius: 10px;
}
.command {
  padding: 13px 16px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-size: 12px;
}
.command small {
  margin-left: auto;
}
.note {
  padding: 18px;
  border-left: 3px solid #7d9b89;
  margin-top: 25px;
  color: var(--muted);
  font-size: 13px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
.panel h2 {
  margin-top: 10px;
}
.panel p {
  font-size: 13px;
}
.input-action {
  display: flex;
  gap: 7px;
}
.input-action input {
  margin: 0;
}
.panel small {
  display: block;
  margin-top: 14px;
}
dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  font-size: 13px;
  margin-top: 24px;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 20px 44px;
  font-size: 10px;
  color: #8d9c93;
}
.player-bar {
  position: fixed;
  bottom: 0;
  left: 234px;
  right: 0;
  min-height: 94px;
  padding: 18px 30px;
  border-top: 1px solid var(--line);
  background: #ffffffef;
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 4;
}
.now-playing {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.now-playing strong {
  font-size: 12px;
  display: block;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.now-playing small {
  display: block;
  font-size: 10px;
  margin-top: 3px;
}
.album-mini {
  display: grid;
  place-items: center;
  background: #e7ecd9;
  color: #57745d;
  min-width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 10px;
  letter-spacing: 2px;
}
.playback-controls {
  display: flex;
  gap: 5px;
}
.playback-controls button {
  font-size: 11px;
  padding: 9px 12px;
}
.volume {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0;
  font-size: 10px;
  font-weight: 500;
}
.volume input {
  width: 100px;
  min-height: 30px;
}
.volume output {
  min-width: 30px;
  font-variant-numeric: tabular-nums;
}
dialog {
  width: min(900px, calc(100% - 32px));
  max-height: 90dvh;
  padding: 28px;
  border: 0;
  border-radius: 18px;
  color: var(--ink);
  box-shadow: 0 25px 100px #061a2633;
}
dialog::backdrop {
  background: #132b3473;
  backdrop-filter: blur(4px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}
.dialog-heading h2 {
  margin-top: 4px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.span-2 {
  grid-column: 1/-1;
}
.form-section {
  margin-top: 25px;
}
.form-section .section-heading {
  margin: 0 0 10px;
}
.form-section h3 {
  font-size: 14px;
}
.pair-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr 44px;
  gap: 8px;
  margin-top: 9px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 100px 1fr 70px 44px;
  gap: 8px;
  margin-top: 10px;
  align-items: center;
}
.field-row input,
.field-row select {
  font-size: 12px;
  padding: 9px;
}
.field-row label {
  margin: 0;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
}
.field-row input[type="checkbox"] {
  margin: 0;
}
.form-help {
  color: var(--muted);
  font-size: 12px;
  margin: 8px 0;
}
.mono {
  font-family: ui-monospace, monospace;
  font-size: 12px;
}
.error {
  color: var(--red);
  font-size: 13px;
  min-height: 0;
  margin-top: 12px;
}
#template-preview {
  margin-top: 20px;
}
#toast {
  position: fixed;
  bottom: 115px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  background: var(--sidebar);
  color: white;
  border-radius: 11px;
  padding: 13px 20px;
  box-shadow: 0 8px 25px #0002;
  z-index: 20;
  font-size: 13px;
}
.login-screen {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.login-art {
  background: #152b28;
  color: #f6f6ee;
  padding: 65px 12%;
  position: relative;
  overflow: hidden;
}
.login-art h1 {
  font-size: 40px;
  margin-top: 65px;
  letter-spacing: -1.5px;
}
.login-art > p {
  color: #9db4a6;
  font-size: 14px;
  max-width: 340px;
}
.login-art .art-note {
  display: block;
  color: #849e90;
  margin-top: 38px;
  font-size: 11px;
}
.login-form {
  max-width: 420px;
  width: 100%;
  margin: auto;
  padding: 44px;
}
.login-form h2 {
  font-size: 30px;
  margin-top: 12px;
}
.login-form > p {
  font-size: 13px;
  margin: 12px 0 26px;
}
.login-form button {
  width: 100%;
  margin-top: 19px;
}
.login-form > small {
  display: block;
  margin-top: 19px;
  text-align: center;
  font-size: 11px;
}
.device-art {
  width: 218px;
  height: 254px;
  margin: 46px auto 0;
  background: #cbd8be;
  border-radius: 25px;
  box-shadow: 12px 22px 0 #09251b55;
  transform: rotate(-9deg);
  padding: 21px;
}
.device-display {
  height: 136px;
  background: #132720;
  border: 7px solid #84977b;
  border-radius: 10px;
  color: #a8c99d;
  text-align: center;
  padding: 10px 0;
  font:
    9px ui-monospace,
    monospace;
  letter-spacing: 2px;
}
.device-display small {
  color: #91ac87;
  font-size: 7px;
  letter-spacing: 0;
}
.wave {
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.wave i {
  display: block;
  width: 5px;
  height: 15px;
  background: #a1c38f;
}
.wave i:nth-child(2n) {
  height: 30px;
}
.wave i:nth-child(3n) {
  height: 40px;
}
.device-controls {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 20px;
}
.device-controls b {
  font-size: 43px;
  line-height: 40px;
  color: #456448;
}
.device-controls > span {
  width: 18px;
  height: 18px;
  background: #49694b;
  border-radius: 50%;
  box-shadow: 2px 3px #1c391c44;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1550px) {
  .content {
    padding-top: 50px;
  }
  .music-hero {
    min-height: 300px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 200px;
    padding-left: 12px;
    padding-right: 12px;
  }
  main {
    margin-left: 200px;
  }
  .player-bar {
    left: 200px;
    gap: 12px;
    padding: 15px;
  }
  .content {
    padding: 30px 26px;
  }
  .topbar {
    padding: 0 26px;
  }
  .volume {
    font-size: 0;
  }
  .volume output {
    font-size: 11px;
  }
  .volume input {
    width: 70px;
  }
  .playback-controls button {
    padding: 8px;
  }
  .record-art {
    width: 180px;
    height: 180px;
    margin-right: 0;
  }
  .music-hero {
    padding: 28px;
  }
  .field-row {
    grid-template-columns: 1fr 1fr 85px;
  }
  .field-row > label {
    grid-column: 2;
  }
  .field-row > button {
    grid-column: 3;
    justify-self: end;
  }
  .bluetooth-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .bluetooth-card form {
    width: 100%;
    max-width: none;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 14px;
  }
  .sidebar {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 69px;
    padding: 0;
    background: #15242af7;
    z-index: 6;
  }
  .sidebar > .brand,
  .sidebar-label,
  .sidebar-bottom {
    display: none;
  }
  nav {
    height: 100%;
    display: flex;
    gap: 0;
    justify-content: space-around;
    padding-bottom: env(safe-area-inset-bottom);
  }
  nav a {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    padding: 9px 3px;
    border-radius: 0;
    text-align: center;
    line-height: 1.2;
  }
  nav a span {
    display: none;
  }
  main {
    margin: 0;
    padding-bottom: 230px;
  }
  .topbar {
    height: 62px;
    padding: 0 20px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .account {
    font-size: 10px;
  }
  .content {
    padding: 26px 18px;
  }
  .page-heading {
    display: block;
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .page-heading > .badge {
    margin-top: 14px;
  }
  .music-hero {
    min-height: 245px;
    padding: 23px;
    position: relative;
  }
  .music-hero > div:first-child {
    position: relative;
    z-index: 1;
  }
  .music-hero h2 {
    font-size: 26px;
    max-width: 190px;
  }
  .music-hero p {
    font-size: 11px;
  }
  .record-art {
    position: absolute;
    right: -67px;
    top: 33px;
    width: 180px;
    height: 180px;
    opacity: 0.5;
  }
  .music-hero .small {
    max-width: 210px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }
  .section-heading h2 {
    font-size: 19px;
  }
  .section-heading > input {
    max-width: none;
    width: 100%;
  }
  .section-heading > button {
    width: 100%;
  }
  .card-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .track {
    grid-template-columns: 22px minmax(0, 1fr) auto;
    padding: 13px 12px;
    gap: 9px;
  }
  .track .duration {
    display: none;
  }
  .track-actions button {
    font-size: 11px;
    padding: 7px;
    min-height: 44px;
  }
  .track-actions .delete-track {
    display: none;
  }
  .track-title {
    font-size: 12px;
  }
  .track-actions {
    gap: 0;
  }
  .track-actions .preview-track {
    display: none;
  }
  .bluetooth-card {
    padding-top: 25px;
  }
  .bluetooth-card form {
    flex-wrap: wrap;
  }
  .bluetooth-card input {
    flex: 1;
    min-width: 150px;
  }
  .player-bar {
    bottom: 69px;
    left: 0;
    min-height: 128px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 12px 16px;
  }
  .now-playing {
    grid-column: 1/-1;
  }
  .album-mini {
    min-width: 30px;
    height: 30px;
    border-radius: 6px;
  }
  .now-playing strong {
    font-size: 11px;
    max-width: 80vw;
  }
  .now-playing small {
    font-size: 9px;
  }
  .playback-controls {
    gap: 0;
  }
  .playback-controls button {
    min-height: 40px;
    font-size: 10px;
    padding: 7px 9px;
  }
  .volume input {
    width: 64px;
  }
  .volume output {
    font-size: 10px;
  }
  .site-footer {
    padding: 18px;
    font-size: 9px;
  }
  dialog {
    padding: 20px 16px;
    width: calc(100% - 16px);
    max-height: 94dvh;
    border-radius: 14px;
  }
  .dialog-heading h2 {
    font-size: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: auto;
  }
  .pair-row {
    grid-template-columns: 1fr 1fr 40px;
    gap: 5px;
  }
  .pair-row input {
    font-size: 12px;
    padding: 8px;
  }
  .field-row {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    grid-template-columns: 1fr 1fr;
  }
  .field-row > label,
  .field-row > button {
    grid-column: auto;
  }
  .dialog-actions {
    flex-wrap: wrap;
  }
  .dialog-actions button {
    flex: 1;
  }
  .login-screen {
    grid-template-columns: 1fr;
  }
  .login-art {
    padding: 25px 25px 30px;
    min-height: 230px;
  }
  .login-art h1 {
    font-size: 27px;
    margin-top: 28px;
    max-width: 290px;
  }
  .login-art > p {
    max-width: 240px;
    font-size: 12px;
  }
  .login-art .brand {
    font-size: 15px;
  }
  .device-art {
    display: none;
  }
  .login-art .art-note {
    display: none;
  }
  .login-form {
    padding: 34px 27px;
    max-width: 460px;
  }
  .login-form h2 {
    font-size: 27px;
  }
  .login-form .eyebrow {
    display: none;
  }
  #toast {
    bottom: 215px;
    left: 16px;
    right: 16px;
    transform: none;
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* Larger touch targets on phones. */
@media (max-width: 760px) {
  nav a {
    font-size: 11px;
  }
  .playback-controls button {
    min-height: 44px;
    font-size: 11px;
  }
  .volume input {
    min-height: 44px;
  }
  .pair-row {
    grid-template-columns: 1fr 1fr 44px;
  }
  .pair-row button {
    padding: 0;
    width: 44px;
    min-width: 44px;
  }
  .field-row > label {
    min-height: 44px;
  }
}
