/* ------------------------------------------------------------------
   Sukesha's Mixtape — standalone stylesheet
   Extracted from the React build; no framework, no build step.
   ------------------------------------------------------------------ */

@import url("fonts.css");

/* --- minimal reset (replaces the Tailwind preflight the build relied on) --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Several of these elements are flex containers, which would otherwise
   win over the user-agent [hidden] rule. */
[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #070912;
}

h1,
h2,
p,
figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
}

/* Visually hidden, still announced by screen readers. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- page --- */
.sukeshaRoot {
  --bg-1:#060a1a;
  --bg-2:#1c2a4a;
  --cream:#e7ecf7;
  --paper:#e9edf6;
  --ink:#070912;
  --ink-soft:#4a5568;
  --accent:#9db8ff;
  --chrome-1:#dfe4ee;
  --chrome-2:#a7b0c2;
  --chrome-3:#666f85;
  --shadow-hard:0 10px 30px #00000080;
  --radius-lg:22px;
  --radius-md:14px;
  --font-display:"VT323", monospace;
  --font-body:"Space Grotesk", system-ui, sans-serif;
  background:var(--ink);
  min-height:100dvh;
  color:var(--cream);
  font-family:var(--font-body);
  -webkit-tap-highlight-color:transparent
}
.sukeshaRoot button {
  cursor:pointer;
  font-family:inherit
}
.sukeshaRoot :focus-visible {
  outline-offset:3px;
  outline:3px solid #9db8ff
}
.intro {
  text-align:center;
  background:radial-gradient(circle at 50% 118%,#16224a 0%,#0000 55%),linear-gradient(#05060f 0%,#0c1330 40%,#16234a 72%,#223462 100%);
  justify-content:center;
  align-items:center;
  min-height:100dvh;
  padding:24px;
  display:flex;
  position:relative;
  overflow:hidden
}
.intro:before {
  content:"";
  transform-origin:bottom;
  opacity:.3;
  pointer-events:none;
  background-image:linear-gradient(#9db8ff4d 1px,#0000 1px),linear-gradient(90deg,#9db8ff4d 1px,#0000 1px);
  background-size:40px 40px;
  height:45%;
  position:absolute;
  bottom:-10%;
  left:-20%;
  right:-20%;
  transform:perspective(300px)rotateX(55deg)
}
.intro:after {
  content:"";
  opacity:.95;
  pointer-events:none;
  background:radial-gradient(circle at 32% 28%,#ffffffe6 0%,#0000 3%),radial-gradient(circle at 62% 40%,#b4c3dc8c 0%,#0000 9%),radial-gradient(circle at 45% 62%,#b4c3dc80 0%,#0000 12%),radial-gradient(circle at 70% 70%,#b4c3dc73 0%,#0000 7%),linear-gradient(160deg,#fbfcff 0%,#e4e9f5 45%,#b9c3dd 100%);
  border-radius:50%;
  width:min(40vw,280px);
  height:min(40vw,280px);
  position:absolute;
  top:12%;
  left:50%;
  transform:translate(-50%);
  box-shadow:0 0 70px #d2dcff8c,0 0 140px #8ca5ff4d
}
.introNoise {
  opacity:.8;
  pointer-events:none;
  background-image:radial-gradient(1.5px 1.5px at 10% 18%,#fff,#0000),radial-gradient(1.5px 1.5px at 22% 62%,#fff,#0000),radial-gradient(1px 1px at 35% 12%,#fff,#0000),radial-gradient(1px 1px at 48% 78%,#fff,#0000),radial-gradient(1.5px 1.5px at 62% 22%,#fff,#0000),radial-gradient(1px 1px at 78% 55%,#fff,#0000),radial-gradient(1.5px 1.5px at 85% 15%,#fff,#0000),radial-gradient(1px 1px at 92% 68%,#fff,#0000),radial-gradient(1px 1px at 15% 85%,#fff,#0000),radial-gradient(1.5px 1.5px at 70% 88%,#fff,#0000),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  position:absolute;
  inset:0
}
.introContent {
  z-index:1;
  max-width:520px;
  position:relative
}
.introEyebrow {
  font-family:var(--font-display);
  letter-spacing:.35em;
  color:#c7d4f7;
  text-shadow:0 0 6px #05060fe6,0 1px 3px #05060fe6;
  margin:0 0 8px;
  font-size:clamp(18px,4.4vw,24px)
}
.introTitle {
  font-family:var(--font-display);
  color:#fff;
  text-shadow:3px 3px #6f8fe8,6px 6px #080c1eb3;
  margin:0 0 14px;
  font-size:clamp(56px,16vw,110px);
  line-height:.95
}
.introSub {
  color:#e6ebfb;
  opacity:.92;
  margin:0 0 34px;
  font-size:clamp(15px,3.4vw,18px);
  line-height:1.5
}
.btnEnter {
  font-family:var(--font-display);
  letter-spacing:.06em;
  color:#2c4592;
  background:linear-gradient(#fff 0%,#dce6ff 100%);
  border:none;
  border-radius:999px;
  align-items:center;
  gap:10px;
  padding:16px 30px;
  font-size:22px;
  transition:transform .12s,box-shadow .12s;
  display:inline-flex;
  transform:translateY(0);
  box-shadow:0 10px #2c4592,0 16px 24px #00000073
}
.btnEnter:hover {
  transform:translateY(-2px)
}
.btnEnter:active {
  transform:translateY(6px);
  box-shadow:0 4px #2c4592,0 8px 14px #0006
}
.btnEnterIcon {
  font-size:16px
}
.introHint {
  color:#c7d4f7;
  opacity:.75;
  margin:22px 0 0;
  font-size:13px;
  font-style:italic
}
.app {
  min-height:100dvh;
  color:var(--cream);
  background:radial-gradient(circle at 15% 0,#26356b 0%,#0000 45%),radial-gradient(circle at 85% 100%,#1c2c58 0%,#0000 45%),linear-gradient(#070a17 0%,#101a35 100%);
  padding:28px 16px 60px
}
.appHeader {
  text-align:center;
  max-width:640px;
  margin:0 auto 20px
}
.appTitle {
  font-family:var(--font-display);
  color:#d7e2ff;
  text-shadow:2px 2px #00000080;
  margin:0 0 6px;
  font-size:clamp(34px,8vw,48px)
}
.appSubtitle {
  color:#c3cdec;
  opacity:.85;
  margin:0;
  font-size:14px
}
.messageBox {
  background:var(--paper);
  max-width:480px;
  color:var(--ink);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-hard);
  border:2px dashed #cbb98d;
  flex-direction:column;
  justify-content:center;
  min-height:66px;
  margin:0 auto 26px;
  padding:14px 18px;
  display:flex;
  position:relative
}
.messageBoxLabel {
  font-family:var(--font-display);
  letter-spacing:.12em;
  color:#3a4d8f;
  text-transform:uppercase;
  margin-bottom:4px;
  font-size:13px
}
.messageText {
  white-space:pre-line;
  margin:0;
  font-size:16px;
  font-weight:500;
  line-height:1.4;
  transition:opacity .35s,transform .35s
}
.messageText.isSwapping {
  opacity:0;
  transform:translateY(4px)
}
.playerWrap {
  justify-content:center;
  margin-bottom:40px;
  display:flex
}
.player {
  background:linear-gradient(155deg, var(--chrome-1) 0%, var(--chrome-2) 55%, var(--chrome-3) 100%);
  border-radius:var(--radius-lg);
  width:min(94vw,380px);
  box-shadow:var(--shadow-hard), inset 0 1px 0 #fff9;
  border:1px solid #9aa3ab;
  padding:18px
}
.playerTop {
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
  padding:0 4px;
  display:flex
}
.brand {
  font-family:var(--font-display);
  letter-spacing:.08em;
  color:#4a5560;
  align-items:center;
  gap:6px;
  font-size:16px;
  display:flex
}
.brandDot {
  background:#ff5f6d;
  border-radius:50%;
  width:8px;
  height:8px;
  box-shadow:0 0 6px #ff5f6d
}
.powerLed {
  background:#7d8890;
  border-radius:50%;
  width:10px;
  height:10px;
  transition:background .2s,box-shadow .2s;
  box-shadow:inset 0 1px 2px #0006
}
.powerLed.on {
  background:#6dff8f;
  box-shadow:0 0 8px #6dff8f,inset 0 0 2px #0000004d
}
.deck {
  border-radius:var(--radius-md);
  background:linear-gradient(155deg,#3a3f45 0%,#22252a 100%);
  margin-bottom:14px;
  padding:14px;
  box-shadow:inset 0 2px 8px #0009
}
.deckWindow {
  background:repeating-linear-gradient(45deg,#14161a,#14161a 8px,#191c21 8px 16px);
  border:3px solid #0e1013;
  border-radius:10px;
  justify-content:center;
  align-items:center;
  height:168px;
  transition:box-shadow .2s;
  display:flex;
  position:relative;
  overflow:hidden
}
.deckWindow.dragOver {
  box-shadow:inset 0 0 0 3px #9db8ff
}
.deckWindowGlass {
  pointer-events:none;
  background:linear-gradient(160deg,#ffffff14 0%,#0000 40%);
  position:absolute;
  inset:0
}
.deckEmpty {
  font-family:var(--font-display);
  letter-spacing:.1em;
  color:#6a7480;
  margin:0;
  font-size:20px
}
.cassetteInDeck {
  background:linear-gradient(160deg,#f4f4f4 0%,#d8dade 100%);
  border-radius:8px;
  justify-content:space-between;
  align-items:center;
  width:92%;
  height:128px;
  padding:0 20px;
  animation:.4s cubic-bezier(.2,.9,.3,1.2) cassetteDrop;
  display:flex;
  position:relative;
  box-shadow:0 6px 14px #00000080
}
@keyframes cassetteDrop {
  0% {
    opacity:0;
    transform:translateY(-40px)scale(.9)
  }
  to {
    opacity:1;
    transform:translateY(0)scale(1)
  }
}
.reel {
  background:repeating-conic-gradient(#2b2e33 0deg 6deg,#454952 6deg 12deg);
  border:3px solid #1a1c1f;
  border-radius:50%;
  flex:none;
  justify-content:center;
  align-items:center;
  width:40px;
  height:40px;
  display:flex
}
.reelHub {
  background:#e8e8e8;
  border-radius:50%;
  width:14px;
  height:14px;
  box-shadow:inset 0 0 0 3px #999
}
.reel.spinning {
  animation:1.4s linear infinite spin
}
.reelRight.spinning {
  animation-direction:reverse
}
.reel.spinning.fastMotion {
  animation-duration:.4s
}
.reel.spinning.reverseMotion {
  animation-direction:reverse
}
.reelRight.spinning.reverseMotion {
  animation-direction:normal
}
@keyframes spin {
  to {
    transform:rotate(360deg)
  }
}
.tapeWindow {
  background:#111;
  border-radius:3px;
  width:60%;
  height:14px;
  position:absolute;
  top:8px;
  left:50%;
  overflow:hidden;
  transform:translate(-50%)
}
.tapeStrip {
  background:repeating-linear-gradient(90deg,#3a2b20 0 3px,#6b503a 3px 5px,#5a4230 5px 8px,#6b503a 8px 10px,#3a2b20 10px 16px);
  width:calc(100% + 16px);
  position:absolute;
  inset:-1px
}
.tapeStrip.tapeMoving {
  animation:.7s linear infinite tapeScroll
}
.tapeStrip.tapeMoving.fastMotion {
  animation-duration:.22s
}
.tapeStrip.tapeMoving.reverseMotion {
  animation-direction:reverse
}
@keyframes tapeScroll {
  0% {
    background-position:0 0
  }
  to {
    background-position:-32px 0
  }
}
.loaderOverlay {
  z-index:2;
  text-align:center;
  background:#070a14d1;
  border-radius:8px;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:10px;
  padding:10px;
  display:flex;
  position:absolute;
  inset:0
}
.loaderSpinner {
  border:4px solid #9db8ff40;
  border-top-color:#9db8ff;
  border-radius:50%;
  width:32px;
  height:32px;
  animation:.8s linear infinite loaderSpin
}
@keyframes loaderSpin {
  to {
    transform:rotate(360deg)
  }
}
.loaderText {
  max-width:200px;
  font-family:var(--font-display);
  letter-spacing:.03em;
  color:#e7ecf7;
  margin:0;
  font-size:14px;
  line-height:1.3
}
.cassetteLabel {
  text-align:center;
  background:#fff;
  border:1px solid #ccc;
  border-radius:4px;
  padding:4px 8px;
  position:absolute;
  bottom:10px;
  left:12px;
  right:12px;
  box-shadow:0 1px 2px #0003
}
.cassetteLabelTitle {
  font-family:var(--font-display);
  color:#222;
  font-size:15px;
  line-height:1.1;
  display:block
}
.cassetteLabelArtist {
  color:#777;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:10px;
  display:block
}
.progressRow {
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  padding:0 4px;
  display:flex
}
.time {
  font-family:var(--font-display);
  color:#4a5560;
  text-align:center;
  min-width:42px;
  font-size:15px
}
.progressTrack {
  cursor:pointer;
  background:#cfd4d9;
  border-radius:999px;
  flex:1;
  height:6px;
  overflow:hidden;
  box-shadow:inset 0 1px 2px #0000004d
}
.progressFill {
  background:linear-gradient(90deg,#6f8fe8,#cdd9ff);
  width:0%;
  height:100%;
  transition:width .1s linear
}
.controls {
  justify-content:center;
  align-items:center;
  gap:10px;
  display:flex
}
.ctrlBtn {
  background:linear-gradient(#fdfdfd 0%,#c7ccd1 100%);
  border:1px solid #8b939b;
  border-radius:12px;
  justify-content:center;
  align-items:center;
  width:52px;
  height:44px;
  transition:transform 80ms,box-shadow 80ms;
  display:flex;
  box-shadow:0 3px #7d858c,0 5px 8px #0000004d
}
.ctrlBtn svg {
  fill:#3a4048;
  width:20px;
  height:20px
}
.ctrlBtn:active {
  transform:translateY(3px);
  box-shadow:0 0 #7d858c,0 2px 4px #0000004d
}
.ctrlBtn:disabled {
  opacity:.4;
  pointer-events:none
}
.ctrlBtnPlay {
  background:linear-gradient(#eef2ff 0%,#9db8ff 100%);
  border-color:#5470c4;
  width:64px;
  box-shadow:0 3px #3d5aa8,0 5px 8px #0000004d
}
.ctrlBtnPlay svg {
  fill:#223061
}
.ctrlBtnPlay:active {
  box-shadow:0 0 #3d5aa8,0 2px 4px #0000004d
}
.ctrlBtnStop svg {
  fill:#a83232
}
.shelfWrap {
  max-width:720px;
  margin:0 auto
}
.shelfTitle {
  font-family:var(--font-display);
  text-align:center;
  color:#d7e2ff;
  letter-spacing:.04em;
  margin:0 0 16px;
  font-size:24px
}
.shelf {
  grid-template-columns:repeat(auto-fill,minmax(140px,1fr));
  gap:14px;
  padding:4px;
  display:grid
}
.cassette {
  aspect-ratio:3/2;
  color:#fff;
  text-align:left;
  touch-action:none;
  -webkit-user-select:none;
  user-select:none;
  border:none;
  border-radius:10px;
  flex-direction:column;
  justify-content:space-between;
  padding:10px;
  transition:transform .15s,box-shadow .15s;
  display:flex;
  position:relative;
  box-shadow:0 6px 14px #00000059,inset 0 0 0 2px #ffffff40
}
.cassette:hover {
  transform:translateY(-3px);
  box-shadow:0 10px 18px #0006,inset 0 0 0 2px #ffffff59
}
.cassette.dragging {
  opacity:.35
}
.cassette.selected {
  box-shadow:0 0 0 3px #9db8ff,0 10px 18px #0006
}
.cassetteWindow {
  background:#00000059;
  border-radius:6px;
  justify-content:space-around;
  align-items:center;
  height:34%;
  padding:0 10px;
  display:flex
}
.cassetteWindow .miniReel {
  background:repeating-conic-gradient(#1a1c1f 0deg 8deg,#3a3d42 8deg 16deg);
  border:2px solid #111;
  border-radius:50%;
  width:16px;
  height:16px
}
.cassetteNumber {
  font-family:var(--font-display);
  opacity:.8;
  font-size:13px;
  position:absolute;
  top:6px;
  right:8px
}
.cassetteTitle {
  font-family:var(--font-display);
  margin:0;
  font-size:17px;
  line-height:1.1
}
.cassetteArtist {
  text-transform:uppercase;
  letter-spacing:.05em;
  opacity:.85;
  margin:2px 0 0;
  font-size:10px
}
.dragGhost {
  z-index:999;
  pointer-events:none;
  aspect-ratio:3/2;
  opacity:.95;
  border-radius:10px;
  width:140px;
  position:fixed;
  transform:translate(-50%,-50%)rotate(-4deg)scale(1.05);
  box-shadow:0 14px 30px #00000080
}
.appFooter {
  text-align:center;
  color:#a8b8e6;
  opacity:.7;
  margin-top:40px;
  font-size:12px;
  font-style:italic
}
@media (max-width: 420px) {
  .shelf {
    grid-template-columns:repeat(2,1fr)
  }
  .ctrlBtn {
    width:46px
  }
  .ctrlBtnPlay {
    width:58px
  }
}
@media (prefers-reduced-motion:reduce) {
  .reel.spinning,.tapeStrip.tapeMoving,.loaderSpinner,.cassetteInDeck,.btnEnter,.messageText {
    transition:none!important;
    animation:none!important
  }
}
