@font-face {
  font-family: system-fallback;
  src: local("Arial");
}
:root {
  color-scheme: dark;
  --bg: #161719;
  --panel: #202124;
  --ink: #f6f3ec;
  --muted: #aaa9a7;
  --line: #ffffff19;
  --orange: #ff784b;
  --mint: #c6e4ac;
  --radius: 18px;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
#route-loading { display: none; }
html[data-initial-view="play"] body > :not(#route-loading):not(dialog) {
  display: none;
}
html[data-initial-view="play"] #route-loading {
  display: flex;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
[hidden] {
  display: none !important;
}
.activity-items {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1080px;
}
.activity-item {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr);
  grid-template-rows: min-content 1fr;
  gap: 6px 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.activity-actor {
  grid-column: 1;
  grid-row: 1;
  color: var(--ink);
  line-height: 1.5;
  font-size: 14px;
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}
.activity-actor .player-link { font-weight: 650; }
.activity-item > time {
  grid-column: 1;
  grid-row: 2;
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.activity-item .card {
  grid-area: 1 / 2 / 3 / 3;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 5px 18px;
  align-content: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.activity-item .cover {
  grid-column: 1;
  grid-row: 1 / 5;
  align-self: start;
}
.activity-item .card h3 {
  grid-column: 2;
  margin: 4px 0 0;
  font-size: 16px;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.activity-item .card .channel {
  grid-column: 2;
  margin: 0;
}
.activity-item .card-meta {
  grid-column: 2;
  align-self: end;
  flex-wrap: wrap;
  margin-top: 5px;
}
.activity-item .challenge-created { grid-column: 2; margin: 0; }
.challenge-created { color: var(--muted); font-size: 12px; margin: 8px 0 0; }
#detail .challenge-created { font-size: 13px; margin: -12px 0 24px; }
.detail-actions { margin: 0 0 24px; }
.detail-actions .primary { display: flex; justify-content: center; width: 100%; }
.detail-actions .preview-note { margin: 12px 0 0; }
@media (max-width: 700px) {
  .activity-item {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 6px;
    padding: 20px 0;
  }
  .activity-item .card {
    grid-area: 3 / 1 / 4 / 2;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 5px 12px;
    margin-top: 6px;
  }
  .activity-item .card h3 { font-size: 14px; margin: 0; }
  .activity-item .cover .duration { right: 5px; bottom: 5px; }
  .activity-item .cover .tag { left: 5px; top: 5px; font-size: 7px; padding: 3px 4px; }
}
#activity, #profile {
  min-height: 65vh;
  padding-top: 70px;
}
.profile-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.player-link { text-decoration: underline; text-underline-offset: 3px; }
#profile-title { overflow-wrap: anywhere; }
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 5px;
}
button {
  color: inherit;
}
button[hidden],
[hidden] {
  display: none !important;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 12px;
  background: var(--mint);
  color: #111;
}
.header,
main,
footer {
  max-width: 1440px;
  margin: auto;
}
.header {
  height: 106px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  gap: 60px;
}
.brand {
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -1.2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-dot {
  font-size: 10px;
  align-self: flex-start;
  margin-top: 6px;
  margin-left: -7px;
}
.brand-mark {
  display: flex;
  gap: 3px;
  transform: rotate(-20deg);
}
.brand-mark i {
  display: block;
  width: 11px;
  height: 21px;
  background: var(--orange);
  border-radius: 6px 6px 4px 4px;
}
.brand-mark i:last-child {
  margin-top: 5px;
}
.header nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
  font-weight: 650;
}
.header nav a:last-child {
  color: var(--muted);
}
.preview {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--mint);
  padding: 9px 12px;
  border: 1px solid #c6e4ac33;
  border-radius: 99px;
  white-space: nowrap;
}
.preview > span {
  width: 5px;
  height: 5px;
  background: var(--mint);
  border-radius: 50%;
}
main {
  padding: 0 6%;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-height: 490px;
  margin-top: 38px;
  align-items: center;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 23px;
  color: var(--muted);
}
h1 {
  font-size: clamp(66px, 7.4vw, 104px);
  letter-spacing: -7px;
  line-height: 0.98;
  font-weight: 800;
  margin: 0 0 27px;
}
h1 em {
  font-style: normal;
  color: var(--orange);
}
.intro {
  color: #c5c2bd;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 28px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  padding: 16px 22px;
  border: 0;
}
.primary {
  background: var(--orange);
  color: #201913;
}
.primary:hover {
  background: #ff926e;
}
.secondary {
  background: transparent;
  border: 1px solid #ffffff35;
}
.secondary:hover {
  background: #ffffff0a;
}
.hero-note {
  font-size: 10px;
  color: var(--muted);
  margin: 17px 0 0;
}
.rhythm-art {
  height: 460px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 50% 70%, #53584299, transparent 62%), #c6e4ac;
  color: #253525;
  transform: rotate(2deg);
  isolation: isolate;
}
.rhythm-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    #12200a04 3px,
    #12200a04 4px
  );
  pointer-events: none;
}
.art-orbit {
  position: absolute;
  border: 1px solid #2f462735;
  border-radius: 50%;
  width: 480px;
  height: 260px;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%) rotate(-48deg);
}
.orbit-two {
  width: 660px;
  height: 365px;
}
.orbit-three {
  width: 840px;
  height: 470px;
}
.glove {
  position: absolute;
  width: 152px;
  height: 168px;
  border-radius: 56% 50% 35% 35%;
  background: linear-gradient(140deg, #ffbc77, #ff7b43 48%, #c6502c);
  box-shadow:
    inset 8px 7px 12px #ffc59366,
    inset -12px -10px 20px #69281055,
    16px 22px 20px #20301c25;
}
.glove:before {
  content: "";
  position: absolute;
  width: 61px;
  height: 95px;
  border-radius: 50% 55% 40% 35%;
  background: linear-gradient(90deg, #d35731, #ff9254);
  right: -28px;
  bottom: 16px;
  transform: rotate(-14deg);
  box-shadow: inset 0 -5px 9px #74311933;
}
.glove:after {
  content: "";
  position: absolute;
  left: 12px;
  right: 3px;
  bottom: -22px;
  height: 45px;
  background: #382b23;
  border-radius: 10px;
  box-shadow: inset 0 9px 8px #604333;
}
.glove i {
  position: absolute;
  z-index: 1;
  left: 66px;
  bottom: -14px;
  height: 25px;
  width: 8px;
  background: #f9ad79;
  transform: rotate(10deg);
}
.glove-left {
  top: 105px;
  left: 18%;
  transform: rotate(-29deg);
}
.glove-right {
  top: 192px;
  right: 14%;
  transform: rotate(155deg) scale(0.85);
  filter: brightness(0.92);
}
.beat {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid #45643c60;
  border-radius: 6px;
  transform: rotate(30deg);
}
.beat-one {
  top: 44px;
  left: 65%;
}
.beat-two {
  top: 86px;
  right: 12%;
  width: 15px;
  height: 15px;
}
.beat-three {
  bottom: 79px;
  left: 17%;
}
.beat-four {
  top: 183px;
  left: 8%;
  width: 11px;
  height: 11px;
}
.art-label {
  position: absolute;
  bottom: 38px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 700;
}
.sound-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}
.sound-bars i {
  width: 3px;
  height: 12px;
  background: #365335;
  border-radius: 2px;
}
.sound-bars i:nth-child(2n) {
  height: 22px;
}
.sound-bars i:nth-child(3) {
  height: 17px;
}
.art-caption {
  position: absolute;
  top: 26px;
  left: 30px;
  font-size: 8px;
  letter-spacing: 2px;
  font-weight: 700;
}
.discover {
  padding-top: 94px;
  scroll-margin-top: 20px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
}
.section-heading .eyebrow {
  margin-bottom: 12px;
}
h2 {
  font-size: 36px;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 0;
  font-weight: 750;
}
#search {
  display: flex;
  align-items: center;
  border: 1px solid #ffffff28;
  border-radius: 8px;
  padding: 10px 13px;
  width: 300px;
  gap: 10px;
  flex-shrink: 0;
}
#search > span {
  font-size: 26px;
  color: var(--muted);
  line-height: 20px;
}
#search input {
  background: none;
  border: 0;
  color: var(--ink);
  min-width: 0;
  width: 100%;
  font-size: 12px;
  padding: 4px 0;
  outline-offset: 8px;
}
#search input::placeholder {
  color: #aaa9a7;
}
#search button {
  background: #ffffff0d;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 14px;
}
.browse-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 28px 0 26px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.feeds {
  display: flex;
  gap: 5px;
}
.feeds button {
  background: none;
  border: 0;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 15px;
  color: var(--muted);
}
.feeds button[aria-pressed="true"] {
  background: var(--ink);
  color: #232323;
}
.browse-bar p {
  font-size: 10px;
  color: var(--muted);
  text-align: right;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 31px 20px;
}
.card {
  display: block;
  min-width: 0;
  border-radius: 10px;
}
.card:focus-visible {
  outline-offset: 8px;
}
.cover {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #303330;
  isolation: isolate;
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.card:hover img {
  transform: scale(1.04);
}
.cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, #0007);
  pointer-events: none;
}
.cover-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 0, #b6d69877, transparent 60%),
    linear-gradient(135deg, #1b3038, #5c3a42);
  font-size: 55px;
  color: #ffffffa0;
}
.card:nth-child(3n + 2) .cover-placeholder {
  background:
    radial-gradient(circle at 60% 40%, #e1a37688, transparent 60%), #493340;
}
.card:nth-child(3n) .cover-placeholder {
  background:
    radial-gradient(circle at 20% 70%, #849dcc88, transparent 60%), #252733;
}
.cover .duration {
  position: absolute;
  z-index: 1;
  bottom: 11px;
  right: 11px;
  background: #141414ad;
  border-radius: 4px;
  padding: 4px 5px;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}
.cover .tag {
  position: absolute;
  z-index: 1;
  top: 11px;
  left: 11px;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.4px;
  background: var(--mint);
  color: #233120;
  border-radius: 3px;
  padding: 5px 6px;
}
.card h3 {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  margin: 13px 0 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.15px;
}
.card .channel {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: #c7c5c0;
}
.creator {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.plays {
  white-space: nowrap;
  color: var(--muted);
}
.status {
  font-size: 14px;
  color: var(--muted);
  padding: 25px 0;
  line-height: 1.6;
}
.status:empty {
  display: none;
}
.more {
  text-align: center;
  margin: 39px 0 0;
}
.how {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  margin: 88px 0 0;
  padding: 50px 0 62px;
  border-top: 1px solid var(--line);
}
.how h2 {
  font-size: 45px;
}
.how ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 27px;
}
.how li {
  display: flex;
  gap: 23px;
}
.how li > span {
  font-size: 10px;
  color: var(--orange);
  padding-top: 4px;
}
.how h3 {
  font-size: 14px;
  margin: 0 0 8px;
  font-weight: 650;
}
.how p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
footer {
  padding: 30px 6%;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 40px;
}
footer .brand {
  font-size: 18px;
}
footer p,
footer > span {
  font-size: 10px;
  color: var(--muted);
}
footer > span {
  margin-left: auto;
}
dialog {
  width: min(760px, 94vw);
  border: 1px solid #ffffff25;
  border-radius: 20px;
  padding: 36px;
  background: #202124;
  color: var(--ink);
  max-height: 90dvh;
}
dialog::backdrop {
  background: #050708c9;
  backdrop-filter: blur(5px);
}
#challenge {
  /* Keep Close in place while the loading state becomes the full challenge. */
  margin-block: 5dvh auto;
}
.close {
  position: absolute;
  top: 14px;
  right: 15px;
  width: 34px;
  height: 34px;
  background: #ffffff0e;
  border: 0;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}
.detail-title {
  font-size: 32px;
  letter-spacing: -1px;
  margin: 18px 30px 10px 0;
}
.detail-channel {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
}
.detail-facts {
  display: flex;
  gap: 23px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.detail-facts strong {
  color: var(--ink);
}
.board-title {
  font-size: 17px;
  margin: 30px 0 8px;
}
.board-note {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 18px;
}
.board {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
.board th {
  font-size: 9px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}
.board td {
  padding: 15px 8px;
  border-bottom: 1px solid var(--line);
}
.board td:last-child,
.board th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.preview-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  background: #ffffff06;
  border-radius: 8px;
  padding: 14px;
  margin-top: 24px;
}
@media (min-width: 1440px) {
  .hero {
    gap: 55px;
  }
  .rhythm-art {
    height: 485px;
  }
  .glove-left {
    left: 22%;
  }
  .glove-right {
    right: 16%;
  }
}
@media (max-width: 1000px) {
  .header {
    gap: 30px;
  }
  .hero {
    min-height: 400px;
    gap: 25px;
  }
  .rhythm-art {
    height: 390px;
  }
  .glove {
    transform-origin: center;
    scale: 0.8;
  }
  .glove-left {
    left: 12%;
    top: 95px;
  }
  .glove-right {
    right: 10%;
    top: 165px;
  }
  h1 {
    letter-spacing: -5px;
  }
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .discover {
    padding-top: 75px;
  }
  .browse-bar p {
    max-width: 190px;
  }
  .section-heading h2 {
    font-size: 30px;
  }
}
@media (max-width: 700px) {
  .header {
    height: 83px;
    padding: 0 6%;
    gap: 20px;
  }
  .header nav {
    margin-left: auto;
    gap: 16px;
    font-size: 11px;
  }
  .header nav a:last-child {
    display: none;
  }
  .preview {
    position: absolute;
    top: 89px;
    left: 6%;
    font-size: 9px;
    padding: 6px 9px;
  }
  .brand {
    font-size: 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    margin-top: 67px;
    gap: 37px;
  }
  .hero-copy {
    position: relative;
  }
  h1 {
    font-size: 78px;
    letter-spacing: -5px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .intro {
    font-size: 14px;
  }
  .hero-note {
    margin-top: 14px;
  }
  .rhythm-art {
    height: 330px;
    transform: rotate(1deg);
  }
  .glove-left {
    left: 25%;
    top: 56px;
  }
  .glove-right {
    right: 21%;
    top: 125px;
  }
  .art-label {
    bottom: 25px;
    left: 23px;
  }
  .discover {
    padding-top: 64px;
  }
  .section-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 23px;
  }
  h2 {
    font-size: 30px;
  }
  .section-heading h2 {
    font-size: 29px;
  }
  #search {
    width: 100%;
  }
  .browse-bar {
    margin-top: 23px;
  }
  .browse-bar p {
    display: none;
  }
  .feeds {
    width: 100%;
    justify-content: space-between;
  }
  .feeds button {
    font-size: 11px;
    padding: 10px 15px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 14px;
  }
  .card h3 {
    font-size: 12px;
  }
  .card .channel {
    font-size: 10px;
  }
  .card-meta {
    font-size: 9px;
    flex-direction: column;
    gap: 5px;
  }
  .cover .tag {
    top: 8px;
    left: 8px;
    font-size: 7px;
  }
  .cover .duration {
    bottom: 8px;
    right: 8px;
    font-size: 8px;
  }
  .more {
    margin-top: 32px;
  }
  .how {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 63px;
    padding-top: 39px;
  }
  .how h2 {
    font-size: 37px;
  }
  footer {
    gap: 12px;
    flex-wrap: wrap;
    padding: 25px 6%;
  }
  footer p {
    width: 100%;
    order: 3;
    margin: 0;
  }
  footer > span {
    font-size: 9px;
  }
  dialog {
    padding: 28px 20px;
  }
  .detail-title {
    font-size: 27px;
  }
  .detail-facts {
    gap: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

#player {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #08080c;
}
body:has(dialog[open]) {
  overflow: hidden;
}
#player[open] {
  display: flex;
  flex-direction: column;
}
.player-heading {
  display: flex;
  align-items: center;
  gap: 25px;
  min-height: 72px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
}
.player-heading .brand {
  font-size: 21px;
}
.player-heading .secondary {
  margin-left: auto;
  padding: 11px 15px;
  font-size: 10px;
}
#player-status {
  font-size: 11px;
  color: var(--muted);
}
#game-frame {
  flex: 1;
  min-height: 0;
  position: relative;
}
#game-frame iframe {
  display: block;
  border: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 700px) {
  .player-heading {
    padding: 10px 14px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .player-heading .brand {
    font-size: 18px;
  }
  #player-status {
    order: 3;
    width: 100%;
    font-size: 10px;
  }
  .player-heading .secondary {
    padding: 10px;
    font-size: 9px;
  }
}

.account-action {
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 11px;
  white-space: nowrap;
}
.provider-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.provider-actions:empty {
  display: none;
}
.account-page {
  max-width: 720px;
  margin: 12vh auto;
  padding: 24px;
}
.pairing-page {
  max-width: 700px;
  margin: 64px auto 100px;
  padding: 24px;
}
.pairing-page h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -.045em; margin: 24px 0; }
.pairing-page h1 em { color: var(--orange); font-style: normal; }
.pair-intro { font-size: 18px; line-height: 1.6; max-width: 520px; }
.pair-account { margin: 32px 0 24px; font-weight: 650; }
#pair-form { display: grid; gap: 14px; max-width: 440px; }
#pair-form label { font-size: 13px; font-weight: 650; }
#pair-code { width: 100%; box-sizing: border-box; padding: 18px; border: 1px solid var(--line); background: var(--panel); color: inherit; border-radius: 8px; font: 650 clamp(22px, 5vw, 32px) monospace; letter-spacing: .12em; text-transform: uppercase; }
#pair-code[aria-invalid="true"] { border-color: var(--orange); }
#pair-submit { justify-content: center; }
#pair-status { max-width: 520px; line-height: 1.6; }
@media (max-width: 700px) { .pairing-page { margin-top: 40px; } }
.account-page h1 {
  font-size: clamp(30px, 5vw, 60px);
  margin-top: 40px;
}
.header {
  gap: 30px;
}
.header .preview {
  margin-left: auto;
}
@media (max-width: 700px) {
  .account-action {
    font-size: 9px;
    padding: 8px;
  }
  .header {
    gap: 12px;
  }
  .header nav {
    gap: 10px;
  }
  .brand {
    font-size: 20px;
  }
  .header { height: auto; min-height: 83px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
  .header .provider-actions { order: 2; flex-wrap: wrap; }
  .header .account-action { font-size: 12px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .header #account-action { order: 2; max-width: 100%; white-space: normal; }
  .header .preview { order: 3; position: static; width: 100%; margin-left: 0; }
}
