:root {
  color-scheme: dark;
  --bg: #101319;
  --panel: #191e26;
  --line: #2e343e;
  --ink: #f8f0e4;
  --muted: #adb0ba;
  --accent: #f1c67b;
  --lime: #a9d8b8;
  --shell: min(1320px,calc(100% - 80px));
  font: 15px/1.55 "Segoe UI","Malgun Gothic",system-ui,sans-serif;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
}

[hidden] {
  display: none!important;
}

a {
  color: inherit;
  text-decoration: none;
}

button,input,select {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

button:disabled {
  opacity: .46;
  cursor: not-allowed;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1,h2,h3,p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 20;
  background: #f1c67b;
  color: #171318;
  padding: 10px;
}

.skip-link:focus {
  top: 12px;
}

.top {
  min-height: 75px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  width: var(--shell);
  margin: auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 750;
  white-space: nowrap;
}

.brand img {
  width: 40px;
}

.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: .19em;
  color: var(--accent);
}

nav {
  display: flex;
  gap: clamp(16px,3vw,42px);
  font-weight: 600;
  color: var(--muted);
}

nav a {
  padding: 9px 0;
  white-space: nowrap;
}

nav a:hover,nav a[aria-current=page] {
  color: var(--accent);
}

.pill,.icon,.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: #222731;
  border-radius: 11px;
  padding: 9px 13px;
  transition: background .18s,border-color .18s,transform .18s;
  white-space: nowrap;
}

.pill:hover,.icon:hover,.button:hover {
  background: #303743;
  border-color: #717987;
}

.account span,.ghost b {
  color: var(--accent);
}

.account img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.button {
  padding: 12px 17px;
  font-weight: 700;
}

.primary {
  background: var(--accent);
  color: #221a11;
  border-color: var(--accent);
}

.primary:hover {
  background: #ffdc9d;
  border-color: #ffdc9d;
  transform: translateY(-2px);
}

.ghost {
  background: #ffffff05;
}

.icon {
  min-width: 39px;
  min-height: 39px;
  padding: 4px 8px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.hero {
  isolation: isolate;
  position: relative;
  width: var(--shell);
  margin: auto;
  min-height: 590px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 36px;
  padding: 62px 0 68px;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 73% 48%,#463329 0%,#1a1d27 34%,transparent 68%);
}

.hero-copy {
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 800;
  color: var(--accent);
}

.eyebrow i,.sample-top i,.stage-note i,.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  box-shadow: 0 0 12px currentColor;
  flex: none;
}

.hero h1 {
  font-size: clamp(46px,6vw,95px);
  line-height: 1.10;
  letter-spacing: -.085em;
  margin: 20px 0;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-copy>p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(14px,1.5vw,18px);
  margin: 0 0 27px;
}

.hero-stage {
  position: relative;
  overflow: clip;
  min-height: 451px;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.preview-deck {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(0, 1.4fr);
  gap: 18px;
  margin-top: 14px;
}

.preview-deck .choices {
  margin: 13px 0 0;
}

.preview-content {
  padding: 15px;
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #12161e;
}

.preview-content > div {
  animation: preview-in .24s ease-out;
}

@keyframes preview-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 680px) {
  .preview-deck { grid-template-columns: 1fr; }
}

.orbit {
  position: absolute;
  inset: 9% 9%;
  border: 1px solid #e8b6742e;
  border-radius: 50%;
  transform: rotate(-20deg);
  pointer-events: none;
}

.orbit-a {
  inset: 5% 5%;
}

.orbit-b {
  inset: 13% 2%;
  transform: rotate(32deg);
  border-style: dashed;
}

.orbit-c {
  inset: 1% 19%;
  transform: rotate(55deg);
  border-color: #e8b67424;
}

.coordinates {
  position: absolute;
  top: 3%;
  left: 2%;
  right: 2%;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  color: #ae987f;
  font: 9px/1.4 ui-monospace,monospace;
  letter-spacing: .16em;
}

.glass {
  background: linear-gradient(145deg,#282b35,#171b22 60%);
  border: 1px solid #f3cf942b;
  border-radius: 23px;
  box-shadow: 0 28px 70px #0008,0 0 70px #c79e6c15;
}

.sample {
  --tone: #d69d55;
  width: min(78%,350px);
  padding: 17px;
  transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
  transition: transform .24s,box-shadow .35s;
  z-index: 1;
}

.sample-top,.sample-time {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}

.sample-top i {
  color: var(--lime);
  margin-right: 5px;
}

.cover {
  margin: 15px 0;
  aspect-ratio: 1.53;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #ffffff25;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 50% 41%,var(--tone),#262028 71%);
  transition: background .4s;
}

.cover img {
  width: 44%;
  filter: drop-shadow(0 8px 22px #111b);
  animation: float 7s ease-in-out infinite;
}

.cover-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(120deg,transparent 0 20px,#f9dfb216 20px 21px);
  mask-image: radial-gradient(ellipse,transparent,black);
}

.cover>span {
  position: absolute;
  bottom: 9px;
  left: 12px;
  font: 9px/1.35 ui-monospace,monospace;
  letter-spacing: .13em;
}

.cover>span b {
  font-size: 8px;
  opacity: .65;
}

.sample-track {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.sample-track strong,.sample-track span {
  display: block;
}

.sample-track span,.muted {
  color: var(--muted);
  font-size: 13px;
}

.meter {
  height: 5px;
  border-radius: 12px;
  overflow: hidden;
  background: #343844;
  margin: 14px 0 7px;
}

.meter span {
  display: block;
  height: 100%;
  width: var(--progress,38%);
  border-radius: inherit;
  background: var(--accent);
  transition: width .3s;
}

.stage-note {
  position: absolute;
  bottom: 1%;
  right: 4%;
  color: #d2b291;
  font-size: 11px;
}

.stage-note i {
  margin-right: 6px;
}

@keyframes float {
  50% {
    transform: translateY(-6px) rotate(3deg);
  }
}

.feature-section,.workspace {
  width: var(--shell);
  margin: 0 auto;
  padding: 45px 0 70px;
}

.feature-section {
  border-top: 1px solid var(--line);
}

h2 {
  font-size: clamp(29px,4vw,55px);
  line-height: 1.12;
  letter-spacing: -.07em;
  margin: 9px 0 19px;
}

.feature-grid,.stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 13px;
}

.feature,.panel,.stat {
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(145deg,#20242c,#171b22);
  padding: 19px;
  min-width: 0;
}

.feature {
  position: relative;
  transition: transform .22s,background .22s,border-color .22s;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: #ac8755;
  background: #292a30;
}

.feature>span {
  font: 10px/1.4 ui-monospace,monospace;
  color: #d2b291;
  letter-spacing: .09em;
}

.feature>b {
  font-size: 26px;
  color: var(--accent);
  display: block;
  margin: 14px 0 2px;
}

.feature h3 {
  font-size: 18px;
}

.feature p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.feature i {
  position: absolute;
  right: 16px;
  top: 18px;
  color: var(--accent);
}

footer {
  width: var(--shell);
  margin: 0 auto;
  padding: 23px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

footer span:first-child {
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--ink);
}

footer i {
  color: var(--accent);
}

.workspace {
  min-height: 70vh;
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 15px;
  margin: 0 0 20px;
}

.page-head h2 {
  margin-bottom: 0;
}

.panel h3 {
  margin: 0 0 10px;
}

.panel+.panel {
  margin-top: 14px;
}

.grid,.music-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  margin-top: 15px;
}

.grid>.panel,.music-grid>.panel {
  margin: 0;
}

.music-grid {
  grid-template-columns: minmax(0,1.55fr) minmax(0,1fr);
  margin-top: 0;
}

.stack>*+* {
  margin-top: 13px;
}

.stat small {
  display: block;
  color: var(--muted);
  margin-bottom: 3px;
}

.stat strong {
  color: var(--accent);
  font-size: clamp(19px,3vw,29px);
  font-variant-numeric: tabular-nums;
}

.quiet {
  padding: 24px 12px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 13px;
}

.quiet .actions {
  justify-content: center;
  margin-top: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border-radius: 99px;
  background: #2b3039;
  color: var(--muted);
  font-size: 12px;
}

.tag.on {
  color: var(--lime);
}

.search-wrap {
  position: relative;
}

.search-wrap input,.text-input {
  background: #10141a;
  border: 1px solid #424954;
  border-radius: 11px;
  padding: 12px 14px;
  color: var(--ink);
  width: 100%;
  outline-offset: 1px;
}

.search-wrap input {
  padding-left: 39px;
}

.search-wrap>i {
  position: absolute;
  left: 13px;
  top: 8px;
  font-size: 21px;
  font-style: normal;
  color: var(--accent);
}

.results {
  margin-top: 9px;
  max-height: 500px;
  overflow: auto;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #ffffff12;
  min-width: 0;
}

.row:last-child {
  border-bottom: 0;
}

.row .row-main {
  flex: 1;
  min-width: 0;
}

.row strong,.row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row small {
  color: var(--muted);
}

.row img {
  width: 59px;
  height: 37px;
  object-fit: cover;
  border-radius: 6px;
  background: #111820;
  flex: none;
}

.row.active {
  background: #f2c77b17;
}

.number {
  font: 11px ui-monospace,monospace;
  color: var(--muted);
  min-width: 14px;
}

.player-art {
  display: grid;
  grid-template-columns: minmax(85px,32%) minmax(0,1fr);
  gap: 17px;
  align-items: center;
}

.player-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: #25232a;
}

.player-art h3 {
  font-size: clamp(17px,2.4vw,27px);
  line-height: 1.23;
  overflow-wrap: anywhere;
}

.controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 13px;
}

.timeline {
  width: 100%;
  accent-color: var(--accent);
  display: block;
  margin: 14px 0 0;
}

.timeline-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.inline-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.inline-label input {
  width: 69px;
  accent-color: var(--accent);
}

.player-bar {
  position: sticky;
  bottom: 0;
  z-index: 3;
  margin-top: 15px;
  background: #1b2028f4;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 8px 32px #0008;
}

.player-bar strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-bar .controls {
  flex: none;
  margin: 0;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 15px;
}

.profile-head img {
  width: 64px;
  border-radius: 16px;
}

.profile-head h3 {
  margin: 0;
}

.choices {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.choices .selected {
  border-color: var(--accent);
  color: var(--accent);
}

.status-line {
  min-height: 25px;
  margin-bottom: 7px;
  color: var(--muted);
}

.row img.video {
  width: 92px;
  height: auto;
  aspect-ratio: 16/9;
}

.role-color {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--role,var(--accent));
  flex: none;
}

.feature:active,.button:active,.icon:active {
  transform: translateY(1px);
}

dialog {
  color: var(--ink);
  background: #1b212b;
  border: 1px solid #58515b;
  border-radius: 18px;
  padding: 26px;
  width: min(92%,500px);
  box-shadow: 0 20px 80px #000a;
}

dialog::backdrop {
  background: #0a0b0dbd;
  backdrop-filter: blur(6px);
}

dialog .close {
  position: absolute;
  right: 10px;
  top: 10px;
}

dialog h3 {
  margin-right: 35px;
  font-size: 23px;
}

dialog p {
  margin: 10px 0;
  color: var(--muted);
}

dialog code {
  display: block;
  padding: 12px;
  background: #10141a;
  border-radius: 10px;
  color: var(--accent);
  font-size: 15px;
  user-select: all;
  overflow-wrap: anywhere;
}

dialog .actions {
  margin-top: 16px;
}

#toast {
  position: fixed;
  z-index: 10;
  right: 20px;
  bottom: 20px;
  max-width: min(460px,90%);
  color: var(--ink);
  background: #242c35;
  border: 1px solid #655441;
  border-radius: 12px;
  padding: 11px 14px;
  box-shadow: 0 8px 24px #0008;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .2s,transform .2s;
}

#toast.visible {
  opacity: 1;
  transform: none;
}

@media(max-width:900px) {
  :root {
    --shell: calc(100% - 38px);
  }
  .hero {
    min-height: 475px;
    gap: 17px;
  }
  .hero-stage {
    min-height: 365px;
  }
  .sample {
    width: 85%;
  }
  .feature-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width:680px) {
  :root {
    --shell: calc(100% - 26px);
  }
  .top {
    min-height: 106px;
    position: relative;
    align-items: flex-start;
    padding: 12px 0 47px;
  }
  .brand img {
    width: 34px;
  }
  .account {
    font-size: 12px;
    padding: 7px 9px;
  }
  nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: space-between;
    gap: 5px;
    font-size: 13px;
  }
  nav a {
    padding: 7px 0 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 38px 0 26px;
    gap: 10px;
  }
  .hero h1 {
    margin: 12px 0;
  }
  .hero-stage {
    min-height: 352px;
  }
  .sample {
    max-width: 300px;
  }
  .stage-note {
    bottom: 0;
  }
  .coordinates {
    top: 3px;
  }
  .desktop {
    display: none;
  }
  .feature-section,.workspace {
    padding: 27px 0 50px;
  }
  .grid,.music-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .feature,.stat,.panel {
    padding: 13px;
  }
  .feature>b {
    margin-top: 10px;
  }
  .page-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .row {
    gap: 7px;
  }
  .row img {
    width: 43px;
    height: 32px;
  }
  .row .pill {
    padding: 6px 8px;
    font-size: 12px;
  }
  .row .icon {
    min-width: 32px;
  }
  .player-bar {
    bottom: max(0px,env(safe-area-inset-bottom));
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }
  .sample {
    transform: none!important;
  }
}

body {
  overflow-x: clip;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: 4px;
  margin: 13px 0;
  color: var(--muted);
}

.calendar span {
  border-radius: 5px;
  background: #252b35;
  text-align: center;
  padding: 3px 0;
  font: 11px/1.45 ui-monospace,monospace;
}

.calendar .done {
  background: #284134;
  color: #c3ecd0;
}

.calendar .today {
  outline: 1px solid var(--accent);
  outline-offset: -1px;
}

.row [aria-pressed=true],.choices [aria-pressed=true] {
  color: var(--accent);
  border-color: #a88b5c;
}
