:root {
  --night: #1b1a2b;
  --night-2: #232139;
  --plum: #2c2944;
  --plum-2: #36324f;
  --cream: #f3e7d3;
  --cream-2: #d9ccb6;
  --muted: #a59fba;
  --dim: #6f6a88;
  --line: rgba(243, 231, 211, .12);
  --peach: #ffb37a;
  --pink: #f4a6b8;
  --mint: #9fd3c1;
  --lilac: #b9a8f2;
  --wood: #5b4334;
  --wood-2: #6e5240;

  --lcd: #efe1c5;
  --lcd-2: #e2d0ae;
  --lcd-ink: #3b3150;
  --lcd-dim: #b9a27f;
  --lcd-hot: #ff8a65;

  --display: "Fraunces", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
  --pixel: "VT323", ui-monospace, monospace;
  --hand: "Caveat", cursive;

  --wrap: 1180px;
  --gutter: clamp(16px, 5vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --hue: var(--peach);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body {
  margin: 0;
  background: linear-gradient(180deg, var(--night) 0%, #211e35 30%, #2a2340 62%, #241f38 82%, var(--night) 100%);
  background-color: var(--night);
  color: var(--cream);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.intro-open { overflow: hidden; }
body.game-on { overscroll-behavior: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--peach); color: var(--night); }
:focus-visible { outline: 2px dashed var(--peach); outline-offset: 4px; }

.pixel { font-family: var(--pixel); font-size: 19px; line-height: 1; letter-spacing: .02em; }
.hand { font-family: var(--hand); font-weight: 500; }
.warm { color: var(--peach); }
em { font-style: italic; font-weight: 300; color: var(--lilac); }

/* ---------- Atmósfera ---------- */
.glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60vmax 45vmax at 8% -6%, rgba(255, 179, 122, .16), transparent 60%),
    radial-gradient(50vmax 40vmax at 100% 40%, rgba(185, 168, 242, .08), transparent 60%);
}
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
main, .floor { position: relative; z-index: 1; }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; cursor: pointer;
  font: 600 15px var(--sans); text-decoration: none;
  border: 1px solid transparent;
  transition: transform .3s var(--spring), background .2s, color .2s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:active { transform: translateY(1px) scale(.97); }
.btn-warm { background: var(--peach); color: var(--night); box-shadow: 0 10px 30px -12px var(--peach); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream-2); }
.btn-pill { padding: 6px 14px; font-size: 13px; background: transparent; border-color: var(--line); }
.btn-pill[aria-pressed="true"] { background: var(--cream); color: var(--night); }
.link { text-decoration: none; color: var(--cream); background: linear-gradient(var(--hue), var(--hue)) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease), color .2s; font-weight: 500; }
.link:hover { color: var(--hue); background-size: 100% 2px; }
.play-tri { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.next-tri { width: 10px; height: 10px; position: relative; }
.next-tri::before { content: ""; position: absolute; left: 0; top: 0; border-left: 7px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.next-tri::after { content: ""; position: absolute; right: 0; top: 0; width: 2px; height: 10px; background: currentColor; }

/* ---------- Casete (componente) ---------- */
.cassette {
  position: relative; display: block; width: 100%; max-width: 320px; aspect-ratio: 1.58;
  padding: 7% 7% 6%; border-radius: 14px; text-decoration: none; color: var(--night);
  background: linear-gradient(160deg, #3b3758, #2b2843);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 -8px 0 rgba(0,0,0,.18), 0 24px 40px -24px rgba(0,0,0,.8);
  transition: transform .45s var(--spring);
}
.cassette::before, .cassette::after { content: ""; position: absolute; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: rgba(0,0,0,.35); box-shadow: inset 0 1px rgba(255,255,255,.1); }
.cassette::before { left: 8px; } .cassette::after { right: 8px; }
a.cassette:hover { transform: rotate(-3deg) translateY(-4px); }
.cassette-label {
  display: flex; flex-direction: column; justify-content: space-between;
  height: 44%; padding: 6px 12px 8px; border-radius: 6px;
  background: linear-gradient(var(--hue) 0 7px, var(--cream) 7px);
}
.cassette-label .hand { font-size: clamp(26px, 3vw, 34px); line-height: 1; margin-top: 4px; }
.cassette-label .pixel { font-size: 15px; color: #6b5e55; }
.cassette-window {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  width: 72%; height: 30%; margin: 7% auto 0; padding: 0 9%;
  border-radius: 999px; background: #17162499; box-shadow: inset 0 2px 6px rgba(0,0,0,.5);
}
.reel {
  flex: none; width: clamp(20px, 2.4vw, 28px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #17162a 0 22%, transparent 23%), conic-gradient(from 0deg, var(--cream-2) 0 12%, transparent 12% 33%, var(--cream-2) 33% 45%, transparent 45% 66%, var(--cream-2) 66% 78%, transparent 78%);
  border: 2px solid var(--cream-2);
}
.tape-line { flex: 1; height: 46%; border-radius: 4px; background: linear-gradient(#6a4a3a, #4d3529); opacity: .8; }
body.is-playing .reel, a.cassette:hover .reel, .cassette-intro .reel { animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Entrada ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(circle at 50% 40%, rgba(255,179,122,.12), transparent 55%), rgba(17, 16, 28, .94);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: opacity .6s var(--ease), visibility .6s;
}
.intro.is-gone { opacity: 0; visibility: hidden; }
.intro-card { max-width: 460px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cassette-intro { max-width: 260px; margin-bottom: 36px; transform: rotate(-4deg); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(-2deg) translateY(-8px); } }
.intro-title { margin: 0 0 10px; font: 400 clamp(34px, 6vw, 48px)/1.05 var(--display); font-variation-settings: "SOFT" 100; }
.intro-text { margin: 0 0 28px; color: var(--muted); }
.intro-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.intro-hint { margin: 22px 0 0; font-size: 22px; color: var(--pink); transform: rotate(-2deg); }

/* ---------- Barra superior ---------- */
.top {
  position: fixed; inset: 12px var(--gutter) auto; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 8px 10px 8px 20px; border-radius: 999px;
  background: rgba(35, 33, 57, .72); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.brand { justify-self: start; font: 500 22px/1 var(--display); font-variation-settings: "SOFT" 100; text-decoration: none; }
.brand span { color: var(--peach); margin-left: 4px; font-style: italic; }
.nav { display: flex; gap: 6px; }
.nav a { padding: 6px 12px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s, background .2s; }
.nav a:hover, .nav a.is-active { color: var(--cream); background: rgba(243,231,211,.07); }
.hud { justify-self: end; display: flex; align-items: center; gap: 12px; }
.hud-bananas { display: inline-flex; align-items: center; gap: 6px; font-size: 20px; color: var(--muted); }
.hud-bananas b { color: var(--peach); font-weight: 400; }
.hud-bananas.bump .banana-mini { animation: bump .6s var(--spring); }
@keyframes bump { 40% { transform: scale(1.8) rotate(-25deg); } }

/* Plátano (forma) */
.banana-mini, .banana::before {
  background: var(--peach);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6c1 7 6 12 14 12 1 0 2 0 2-1s-1-1-2-1c-5 0-9-3-11-9L6 4C5 3 4 4 4 6z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6c1 7 6 12 14 12 1 0 2 0 2-1s-1-1-2-1c-5 0-9-3-11-9L6 4C5 3 4 4 4 6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.banana-mini { display: inline-block; width: 16px; height: 16px; }

/* ---------- Reproductor ---------- */
.deck {
  position: fixed; left: var(--gutter); bottom: 16px; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px 8px 8px; border-radius: 16px;
  background: rgba(35, 33, 57, .82); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.7);
}
.deck-tape { display: flex; align-items: center; justify-content: space-around; width: 58px; height: 36px; border-radius: 8px; background: var(--cream); padding: 0 6px; box-shadow: inset 0 -5px 0 var(--peach); }
.deck-tape .reel { width: 18px; border-width: 2px; border-color: var(--night); background: radial-gradient(circle, var(--cream) 0 22%, transparent 23%), conic-gradient(var(--night) 0 12%, transparent 12% 33%, var(--night) 33% 45%, transparent 45% 66%, var(--night) 66% 78%, transparent 78%); }
.deck-info { display: flex; flex-direction: column; min-width: 132px; }
.deck-now { font-size: 15px; color: var(--muted); }
body.is-playing .deck-now { color: var(--peach); }
.deck-track { font: 500 14px/1.3 var(--sans); white-space: nowrap; }
.deck-eq { display: flex; align-items: flex-end; gap: 2px; width: 22px; height: 16px; }
.deck-eq i { flex: 1; height: 15%; background: var(--peach); border-radius: 1px; transition: height .08s; }
.deck-btn {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: rgba(243,231,211,.05); color: var(--cream);
  transition: background .2s, transform .2s var(--spring);
}
.deck-btn:hover { background: rgba(243,231,211,.12); }
.deck-btn:active { transform: scale(.9); }
#deck-play .play-tri { margin-left: 2px; }
body.is-playing #deck-play .play-tri { width: 10px; height: 12px; margin: 0; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.deck-vol { width: 70px; accent-color: var(--peach); }

/* ---------- Layout ---------- */
main, .floor { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { position: relative; padding: clamp(120px, 16vw, 200px) 0 0; }
.section-head { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 16px 32px; align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head .kicker { grid-column: 1 / -1; }
.kicker { margin: 0 0 6px; color: var(--peach); font-size: 20px; }
.kicker::before { content: "▶ "; font-size: 14px; vertical-align: 2px; }
.section-title { margin: 0; font: 300 clamp(46px, 7.4vw, 100px)/.98 var(--display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -.02em; }
.section-note { margin: 0; font-size: 26px; color: var(--pink); transform: rotate(-3deg); justify-self: start; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: 130px 0 120px; }
.hello { margin: 0 0 -6px 6px; font-size: 34px; color: var(--peach); transform: rotate(-4deg); transform-origin: left; }
.hero-name { margin: 0; font: 400 clamp(72px, 11.5vw, 168px)/.9 var(--display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -.035em; white-space: nowrap; }
.hero-lead { margin: 26px 0 22px; max-width: 520px; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.45; color: var(--cream-2); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; }
.chips li { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--cream-2); background: rgba(243,231,211,.03); }
.chips-small li { font-size: 13px; padding: 3px 10px; }
.status { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font-size: 15px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(159,211,193,.15); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 8px rgba(159,211,193,0); } }

.sticky {
  position: relative; width: min(300px, 100%); margin-top: 72px; padding: 22px 22px 18px;
  background: linear-gradient(#f1d98e, #ecd07f); color: #4a3b2a;
  transform: rotate(-2.5deg); border-radius: 3px 3px 18px 3px;
  box-shadow: 0 18px 30px -18px rgba(0,0,0,.7), inset 0 -10px 20px rgba(150,110,40,.12);
}
.tape-strip { position: absolute; left: 50%; top: -12px; width: 90px; height: 24px; margin-left: -45px; background: rgba(243,231,211,.45); transform: rotate(3deg); backdrop-filter: blur(1px); }
.sticky-title { margin: 0 0 8px; font-size: 28px; line-height: 1; font-weight: 700; }
.sticky-keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; font-weight: 500; }
.sticky-keys .hand { font-size: 18px; }
.sticky-touch { display: none; }
kbd {
  display: inline-grid; place-items: center; min-width: 26px; height: 24px; margin-right: 4px; padding: 0 6px;
  border-radius: 6px; background: #fbefc4; border: 1px solid #b89b55; border-bottom-width: 3px;
  font: 400 18px var(--pixel); color: #4a3b2a; transition: transform .06s;
}
kbd.is-down { transform: translateY(2px); border-bottom-width: 1px; background: #4a3b2a; color: #f1d98e; }
.sticky .banana { right: 18px; top: -6px; }

/* Ventana con lluvia */
.window-wrap { position: relative; }
.window {
  position: relative; aspect-ratio: 560 / 640; border-radius: 14px 14px 6px 6px; overflow: hidden;
  border: 12px solid var(--wood); box-shadow: inset 0 0 0 2px rgba(0,0,0,.3), 0 30px 60px -30px rgba(0,0,0,.8), 0 0 80px -20px rgba(185,168,242,.25);
}
.window canvas { display: block; width: 100%; height: 100%; }
.mullion { position: absolute; background: var(--wood); }
.mullion-v { left: 50%; top: 0; bottom: 0; width: 10px; margin-left: -5px; }
.mullion-h { top: 46%; left: 0; right: 0; height: 10px; }
.curtain { position: absolute; top: 0; width: 22%; height: 78%; background: linear-gradient(90deg, rgba(185,168,242,.35), rgba(185,168,242,.12)); }
.curtain-l { left: 0; border-bottom-right-radius: 70% 30%; }
.curtain-r { right: 0; transform: scaleX(-1); border-bottom-right-radius: 70% 30%; }
.sill { position: relative; height: 18px; margin: 0 -26px; border-radius: 4px; background: linear-gradient(var(--wood-2), var(--wood)); box-shadow: 0 10px 20px -10px rgba(0,0,0,.7); }
.plant { position: absolute; left: 34px; bottom: 18px; width: 34px; height: 30px; border-radius: 0 0 8px 8px; background: #c97b5a; }
.plant i { position: absolute; bottom: 24px; width: 16px; height: 30px; border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%; background: #7fae8c; transform-origin: bottom center; }
.plant i:nth-child(1) { left: -2px; transform: rotate(-28deg); }
.plant i:nth-child(2) { left: 9px; height: 40px; background: #8fc19b; }
.plant i:nth-child(3) { left: 20px; transform: rotate(26deg); }
.mug { position: absolute; right: 44px; bottom: 18px; width: 32px; height: 30px; border-radius: 3px 3px 9px 9px; background: var(--cream); box-shadow: inset 0 5px 0 #8a5a3c, inset 0 7px 0 #a8744f; }
.mug b { position: absolute; left: 0; right: 0; top: 11px; text-align: center; font-size: 11px; line-height: 1; font-weight: 700; color: #8a5a3c; transform: rotate(-4deg); }
.mug::after { content: ""; position: absolute; right: -9px; top: 6px; width: 10px; height: 12px; border: 3px solid var(--cream); border-left: 0; border-radius: 0 8px 8px 0; }
.mug i, .mug i::before { position: absolute; bottom: 28px; left: 8px; width: 3px; height: 18px; border-radius: 3px; background: rgba(243,231,211,.35); animation: steam 2.6s ease-in-out infinite; }
.mug i::before { content: ""; left: 7px; bottom: 0; animation-delay: -1.2s; }
@keyframes steam { 0% { transform: translateY(6px) scaleY(.6); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-14px) translateX(3px) scaleY(1.1); opacity: 0; } }
.window-note { margin: 22px 0 0; text-align: right; font-size: 22px; color: var(--muted); transform: rotate(-2deg); }

/* ---------- Cara A ---------- */
.track { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.track + .track { margin-top: clamp(96px, 12vw, 160px); }
.track-reverse .track-info { order: 2; }
.track[data-hue="peach"] { --hue: var(--peach); }
.track[data-hue="lilac"] { --hue: var(--lilac); }
.track[data-hue="mint"] { --hue: var(--mint); }
.track-info .cassette { max-width: 260px; margin-bottom: 28px; transform: rotate(-2deg); }
.track-reverse .track-info .cassette { transform: rotate(2deg); }
.track-name { margin: 0; font: 400 clamp(40px, 5vw, 64px)/1 var(--display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -.02em; }
.track-quote { margin: 8px 0 18px; font: italic 300 22px/1.3 var(--display); color: var(--hue); }
.track-info > p:not(.track-quote) { margin: 0 0 20px; color: var(--cream-2); }

/* Consola de bolsillo */
.console {
  position: relative; margin: 0; padding: 16px 18px 18px;
  border-radius: 24px 24px 24px 56px;
  background: linear-gradient(170deg, #413c63, #2f2b4a 60%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), inset 0 -6px 0 rgba(0,0,0,.2), 0 40px 70px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.04);
}
.console-top { display: flex; align-items: center; gap: 10px; margin: 0 4px 12px; color: var(--muted); }
.console-top .pixel { font-size: 16px; }
.console-score { margin-left: auto; }
.console-score b { color: var(--cream); font-weight: 400; }
.led { width: 8px; height: 8px; border-radius: 50%; background: #5a5470; transition: background .3s, box-shadow .3s; }
.console.is-on .led { background: var(--lcd-hot); box-shadow: 0 0 10px var(--lcd-hot); }
.screen {
  position: relative; overflow: hidden; border-radius: 10px;
  border: 10px solid #1d1b2f; background: var(--lcd); color: var(--lcd-ink);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.05);
}
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(transparent 0 2px, rgba(59,49,80,.05) 2px 3px), radial-gradient(ellipse at 50% 40%, transparent 55%, rgba(59,49,80,.18)); }
.game-canvas { display: block; width: 100%; height: auto; aspect-ratio: 480 / 320; cursor: pointer; touch-action: manipulation; image-rendering: pixelated; }
.console-pad { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 8px 0; }
.console-title { color: var(--muted); font-size: 17px; text-align: center; }
.dpad { position: relative; width: 46px; height: 46px; flex: none; }
.dpad i { position: absolute; background: #1d1b2f; border-radius: 4px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.4); }
.dpad i:first-child { left: 15px; top: 0; width: 16px; height: 46px; }
.dpad i:last-child { top: 15px; left: 0; width: 46px; height: 16px; }
.ab { display: flex; gap: 10px; transform: rotate(-18deg); flex: none; }
.btn-a, .btn-b {
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  font: 400 18px var(--pixel); color: var(--night);
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.25), 0 4px 10px -4px rgba(0,0,0,.6);
  transition: transform .08s, box-shadow .08s;
}
.btn-a { background: var(--peach); }
.btn-b { background: var(--lilac); margin-top: 14px; }
.btn-a:active, .btn-b:active, .btn-a.is-down { transform: translateY(2px); box-shadow: inset 0 -1px 0 rgba(0,0,0,.25); }
.btn-a:disabled, .btn-b:disabled { opacity: .45; cursor: default; }
.console-help { display: block; margin: 12px 8px 0; font-size: 20px; color: var(--muted); text-align: right; }

/* Memoria (en pantalla LCD) */
.memory { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 8px; aspect-ratio: 480 / 320; }
.mcard { position: relative; border: 0; padding: 0; cursor: pointer; background: none; perspective: 600px; }
.mcard-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .5s var(--ease); }
.mcard.is-open .mcard-inner, .mcard.is-done .mcard-inner { transform: rotateY(180deg); }
.mface { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 6px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.mback { background: repeating-linear-gradient(45deg, var(--lcd-2) 0 4px, var(--lcd) 4px 8px); border: 2px solid var(--lcd-ink); }
.mback::after { content: "?"; font: 400 28px var(--pixel); color: var(--lcd-ink); opacity: .55; }
.mcard:hover .mback { transform: translateY(-2px); }
.mfront { transform: rotateY(180deg); background: var(--lcd); border: 2px solid var(--lcd-ink); align-content: center; gap: 0; }
.mfront .mglyph { font: 400 clamp(22px, 2.8vw, 34px)/1 var(--display); }
.mfront .mname { font: 400 14px var(--pixel); }
.mcard.is-done .mfront { background: var(--lcd-ink); color: var(--lcd); }
.mcard.just .mfront { animation: matched .5s var(--ease); }
.mcard.is-wrong .mfront { animation: shake .35s; }
@keyframes matched { 0% { background: var(--lcd-hot); } }
@keyframes shake { 25% { transform: rotateY(180deg) translateX(-4px); } 75% { transform: rotateY(180deg) translateX(4px); } }
.memory.is-won .mcard.is-done .mfront { animation: wave .6s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes wave { 40% { background: var(--lcd-hot); transform: rotateY(180deg) translateY(-4px); } }

/* Duelo (en pantalla LCD) */
.duel {
  position: relative; width: 100%; aspect-ratio: 480 / 320; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 18px; border: 0; background: transparent; color: var(--lcd-ink); cursor: crosshair; text-align: center;
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.duel-vs { position: absolute; top: 12px; left: 14px; right: 14px; display: flex; justify-content: space-between; font-size: 20px; }
.duel-big { font-size: clamp(56px, 8vw, 96px); line-height: .9; }
.duel-small { max-width: 320px; font: 500 14px/1.5 var(--sans); }
.duel-small b { color: var(--lcd-hot); }
.duel[data-state="wait"] .duel-big { animation: blinky 1s steps(2) infinite; }
@keyframes blinky { 50% { opacity: .3; } }
.duel[data-state="go"] { background: var(--lcd-hot); color: var(--night); }
.duel[data-state="go"] .duel-small b { color: var(--night); }
.duel[data-state="early"] { background: var(--lcd-ink); color: var(--lcd); }
.duel[data-state="lose"] .duel-big { opacity: .5; text-decoration: line-through; }
.duel-meter { display: block; position: relative; width: min(300px, 70vw); height: 2px; background: var(--lcd-ink); margin: 12px auto 20px; }
.duel-meter i { position: absolute; top: -4px; width: 2px; height: 10px; background: var(--lcd-ink); }
.duel-meter i.you, .duel-meter i.rival { width: 6px; height: 14px; top: -6px; margin-left: -3px; border-radius: 2px; }
.duel-meter i.you { background: var(--lcd-hot); }
.duel-meter i.rival { background: var(--lcd-dim); }
.duel-meter span { position: absolute; top: 10px; transform: translateX(-50%); font: 400 14px var(--pixel); white-space: nowrap; }

/* ---------- Estudio ---------- */
.banana-title { position: absolute; left: 44%; top: 34px; }
.studio-aside p { margin: 0 0 14px; color: var(--cream-2); font-size: 18px; }
.studio-aside .link { --hue: var(--peach); }
.pick-note { margin: 0 0 22px; font-size: 26px; color: var(--pink); transform: rotate(-2deg); transform-origin: left; }
.party { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); }
.member {
  position: relative; display: flex; flex-direction: column;
  padding: 12px 12px 16px; border-radius: 4px; background: var(--cream); color: var(--night);
  box-shadow: 0 24px 40px -24px rgba(0,0,0,.9);
  transition: transform .45s var(--spring), box-shadow .3s;
}
.member:nth-child(1) { transform: rotate(-2deg); }
.member:nth-child(2) { transform: rotate(1.5deg) translateY(10px); }
.member:nth-child(3) { transform: rotate(-1deg); }
.member:hover { transform: rotate(0) translateY(-6px); }
.member.is-selected::before { content: ""; position: absolute; left: 50%; top: -12px; width: 86px; height: 24px; margin-left: -43px; background: rgba(255,179,122,.7); transform: rotate(-3deg); z-index: 2; }
.member-pick { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: inherit; }
.member-room {
  position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1.15; margin-bottom: 14px; border-radius: 2px; overflow: hidden;
  background: radial-gradient(circle at 70% 20%, rgba(255,179,122,.35), transparent 45%), linear-gradient(#2c2944, #1d1b2f);
}
.member-room::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(#3a2f2a, #2b2320); }
.member-room .avatar { position: relative; z-index: 1; transform: scale(2.1); margin-top: 18%; }
.member-slot { color: #8a7c6c; font-size: 17px; width: 100%; display: flex; justify-content: space-between; }
.member-state::after { content: "elegir"; }
.member.is-selected .member-state::after { content: "♪ jugando"; color: #d96a3e; }
.member-name { font: 400 30px/1.05 var(--display); font-variation-settings: "SOFT" 100; }
.member-role { font-size: 14px; color: #6b5e55; }
.member-link { margin-top: 10px; font: 500 14px var(--sans); color: #6b5e55; text-decoration: none; }
.member-link:hover { color: #d96a3e; }
.member:hover .avatar { animation: hop .7s var(--ease); }
@keyframes hop { 0%, 100% { transform: scale(2.1); } 35% { transform: scale(2.1) translateY(-10px) scale(.92, 1.1); } 70% { transform: scale(2.1) scale(1.15, .86); } }
.banana-member { right: 18px; top: -40px; }

.shelf { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: 96px; padding-bottom: 30px; }
.shelf .kicker { margin-bottom: 12px; font-size: 18px; }
.shelf-item { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 4px; border-bottom: 1px dashed var(--line); text-decoration: none; transition: padding .3s var(--ease); }
.shelf-item > span:first-child { font: 400 28px/1.1 var(--display); font-variation-settings: "SOFT" 100; }
.shelf-item .pixel { color: var(--muted); font-size: 17px; }
.shelf-item .warm { color: var(--peach); }
.shelf-item:hover { padding-left: 12px; }
.shelf-board { position: absolute; left: -20px; right: -20px; bottom: 0; height: 14px; border-radius: 3px; background: linear-gradient(var(--wood-2), var(--wood)); box-shadow: 0 12px 20px -10px rgba(0,0,0,.7); }
.redacted { background: var(--cream); color: var(--cream); border-radius: 3px; padding: 0 .15em; user-select: none; }

/* ---------- Tracklist ---------- */
.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tl {
  display: grid; grid-template-columns: 44px 24px minmax(0, 1fr) minmax(0, 1.4fr) auto; align-items: center; gap: 16px;
  padding: 18px 12px; border-bottom: 1px solid var(--line); border-radius: 10px;
  transition: background .3s;
}
.tl:hover { background: rgba(243,231,211,.04); }
.tl-num { color: var(--dim); font-size: 22px; }
.tl-eq { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.tl-eq i { width: 3px; background: var(--peach); border-radius: 1px; animation: eq 1s ease-in-out infinite; }
.tl-eq i:nth-child(2) { animation-delay: -.4s; } .tl-eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
body:not(.is-playing) .tl-eq i { animation-play-state: paused; }
.tl-name { font: 400 28px/1.1 var(--display); font-variation-settings: "SOFT" 100; }
.tl-role { color: var(--muted); font-size: 15px; }
.tl-time { color: var(--cream-2); font-size: 19px; white-space: nowrap; }
.tl.is-now .tl-num, .tl.is-now .tl-time { color: var(--peach); }

.instruments { margin-top: 72px; }
.instruments > .hand { margin: 0 0 10px; font-size: 30px; color: var(--pink); transform: rotate(-2deg); transform-origin: left; }
.instruments dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.instruments dl div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 12px 0; border-top: 1px dashed var(--line); }
.instruments dt { color: var(--peach); font-size: 18px; }
.instruments dd { margin: 0; color: var(--cream-2); font-size: 15px; }

/* ---------- Cara B ---------- */
.side-b-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.side-b-lead { margin: 0; font-size: clamp(20px, 2.1vw, 25px); line-height: 1.4; }
.specs { margin: 28px 0; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.specs dt { color: var(--muted); font-size: 18px; }
.specs dd { margin: 0; }
.secret-msg { margin: 0; color: var(--cream-2); }
.secret-msg b { color: var(--peach); font-weight: 600; }
.pips { list-style: none; display: flex; gap: 8px; margin: 18px 0 0; padding: 0; }
.pips li { width: 30px; height: 8px; border-radius: 4px; background: rgba(243,231,211,.12); transition: background .4s, box-shadow .4s; }
.pips li.on { background: var(--peach); box-shadow: 0 0 12px rgba(255,179,122,.6); }

.case-wrap { position: relative; display: flex; justify-content: center; padding-top: 90px; }
.case-wrap .ledge { position: absolute; left: 4%; top: 30px; width: 96px; height: 10px; border-radius: 3px; background: linear-gradient(var(--wood-2), var(--wood)); }
.case-wrap .ledge .banana { left: 36px; }
.case {
  position: relative; width: min(360px, 100%); aspect-ratio: 1.12;
  border-radius: 10px; background: rgba(243,231,211,.04);
  border: 1px solid rgba(243,231,211,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 40px 70px -40px rgba(0,0,0,.9);
}
.case-tape { position: absolute; inset: 14%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.cassette-secret { --hue: var(--pink); max-width: 230px; transition: transform 1.2s var(--spring); }
.case-reveal { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; opacity: 0; transform: translateY(10px); transition: opacity .8s .6s, transform .8s .6s var(--ease); text-align: center; }
.case-reveal .pixel { color: var(--peach); font-size: 20px; }
.case-reveal .hand { font-size: 30px; }
.case-lid {
  position: absolute; inset: 0; border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(130deg, rgba(255,255,255,.14), rgba(255,255,255,.03) 40%, rgba(255,255,255,.08)), rgba(44,41,68,.88);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  transform-origin: 50% 0; transition: transform 1.2s var(--ease), opacity 1.2s;
}
.case-lid::before { content: ""; position: absolute; left: -10%; right: -10%; top: 46%; height: 34px; background: rgba(255,179,122,.78); transform: rotate(-8deg); }
.case-seal { position: relative; z-index: 1; padding: 6px 14px; border-radius: 4px; background: var(--night); color: var(--peach); font-size: 22px; }
.case-scribble { position: relative; z-index: 1; margin: 0; font-size: 26px; line-height: 1; text-align: center; color: var(--cream); transform: rotate(-4deg); }
.case.is-shake { animation: shake-case .45s; }
@keyframes shake-case { 20%, 60% { transform: rotate(-1.5deg); } 40%, 80% { transform: rotate(1.5deg); } }
.side-b.is-open .case-lid { transform: perspective(900px) rotateX(-100deg); opacity: 0; }
.side-b.is-open .cassette-secret { transform: rotate(-6deg) translateY(-6px); }
.side-b.is-open .case-reveal { opacity: 1; transform: none; }
.side-b.is-open .secret-msg { color: var(--peach); }

/* ---------- Fin ---------- */
.fin { padding-bottom: clamp(100px, 12vw, 160px); }
.contact-title { margin: 10px 0 40px; font: 300 clamp(56px, 10vw, 148px)/.92 var(--display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -.03em; }
.contact-title em { color: var(--peach); }
.contact { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin: 0; padding: 0; }
.end-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 80px); margin-top: clamp(96px, 12vw, 150px); }
.stickers-wrap > .hand, .credits > .hand { margin: 0 0 18px; font-size: 30px; color: var(--pink); }
.stickers-wrap .pixel { font-size: 20px; color: var(--muted); margin-left: 8px; }
.stickers-wrap .pixel b { color: var(--peach); font-weight: 400; }
.stickers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 18px 12px; }
.sticker { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.sticker-face {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  border: 2px dashed rgba(243,231,211,.2); color: rgba(243,231,211,.25);
  font: 400 30px var(--pixel); transition: transform .5s var(--spring);
}
.sticker-name { font: 600 13px/1.2 var(--sans); color: var(--dim); }
.sticker-desc { font-size: 12px; color: var(--dim); line-height: 1.3; }
.sticker.is-on .sticker-face { border: 3px solid var(--cream); background: var(--c, var(--peach)); color: var(--night); box-shadow: 0 10px 20px -10px rgba(0,0,0,.8); transform: rotate(var(--r, -6deg)); }
.sticker.is-on .sticker-name { color: var(--cream); }
.sticker.is-on .sticker-desc { color: var(--muted); }
.sticker.is-new .sticker-face { animation: stick .7s var(--spring); }
@keyframes stick { 0% { transform: scale(1.8) rotate(-30deg); opacity: 0; } }
.credits dl { margin: 0; }
.credits dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.credits dt { color: var(--muted); font-size: 17px; }
.credits dd { margin: 0; text-align: right; font-size: 15px; }
.thanks { margin: 24px 0 0; font: italic 300 30px var(--display); color: var(--peach); }

.floor {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  padding-top: 20px; padding-bottom: 100px;
  border-top: 14px solid var(--wood);
  box-shadow: 0 -1px 0 var(--wood-2);
  color: var(--muted);
}
.floor .hand { font-size: 22px; }
.floor a { text-decoration: none; }
.floor a:hover { color: var(--peach); }

/* ---------- Personaje y avatares ---------- */
.world { position: absolute; inset: 0 0 auto 0; height: 0; z-index: 30; pointer-events: none; }
.player, .avatar { position: relative; display: block; width: 24px; height: 24px; }
.player {
  position: absolute; left: 0; top: 0; transform-origin: 50% 100%; will-change: transform;
  opacity: 0; transition: opacity .4s;
  pointer-events: auto; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
}
.player.is-visible { opacity: 1; }
.player.is-held { cursor: grabbing; transform-origin: 50% 0; }
/* El SVG es 36x36: el cuerpo (24x24) queda alineado con la caja física y los cascos sobresalen arriba. */
.char { position: absolute; left: -6px; top: -12px; width: 36px; height: 36px; overflow: visible; }
.avatar .char { left: -6px; top: -12px; }
.char-eyes, .char-phones { transform-box: view-box; transform-origin: 18px 22px; transition: transform .12s; }
.player.look-left .char-eyes { transform: translateX(-1.5px); }
.player.look-right .char-eyes { transform: translateX(1.5px); }
.player.is-air .char-eyes { transform: translateY(-1.5px); }
.player.is-blink .char-eyes { transform: scaleY(.15); }
.player.is-idle-look .char-eyes { transform: translate(var(--lx, 0), var(--ly, 0)); }
.player.is-held .char-eyes { transform: scale(1.15, .5); }
body.is-playing .player:not(.is-air):not(.is-held) .char-phones { animation: nod calc(60s / var(--bpm, 74)) ease-in-out infinite; }
@keyframes nod { 50% { transform: translateY(1px); } }

/* Paracaídas */
.chute {
  position: absolute; left: 50%; bottom: 20px; width: 60px; height: 44px; margin-left: -30px;
  transform-origin: 50% 100%; transform: scale(0, .2); opacity: 0; pointer-events: none;
  transition: transform .35s var(--spring), opacity .2s;
}
.chute svg { width: 100%; height: 100%; overflow: visible; }
.chute-canopy { fill: var(--peach); }
.chute-stripe { fill: var(--cream); }
.chute-lines { fill: none; stroke: var(--cream-2); stroke-width: 1; opacity: .8; }
.player.has-chute .chute { transform: none; opacity: 1; }

/* Efectos */
.dust { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--cream-2); pointer-events: none; animation: dust .5s var(--ease) forwards; }
@keyframes dust { to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
.ring { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 2px solid var(--peach); border-radius: 50%; pointer-events: none; animation: ring .45s var(--ease) forwards; }
@keyframes ring { from { transform: scale(.3); } to { transform: scale(1.5); opacity: 0; } }
.note-fx { position: absolute; font: 400 20px var(--sans); color: var(--peach); pointer-events: none; animation: notefx 1.2s var(--ease) forwards; }
@keyframes notefx { to { transform: translate(var(--dx, 10px), -46px) rotate(18deg); opacity: 0; } }
.plus { position: absolute; font: 400 22px var(--pixel); color: var(--peach); pointer-events: none; animation: plus .9s var(--ease) forwards; }
@keyframes plus { to { transform: translateY(-40px); opacity: 0; } }

/* Plátanos */
.banana { position: absolute; z-index: 3; width: 24px; height: 24px; margin-top: -34px; pointer-events: none; animation: float 2.4s ease-in-out infinite; filter: drop-shadow(0 0 8px rgba(255,179,122,.7)); }
.banana::before { content: ""; position: absolute; inset: 0; }
.banana.is-got { animation: got .55s var(--ease) forwards; }
.banana.is-got.was-got { animation: none; opacity: 0; }
@keyframes float { 50% { transform: translateY(-6px) rotate(-8deg); } }
@keyframes got { to { transform: translateY(-44px) scale(1.8) rotate(-30deg); opacity: 0; } }
.cassette .banana { right: 16px; top: 0; }

/* ---------- Controles táctiles ---------- */
.touch { position: fixed; left: 0; right: 0; bottom: 84px; z-index: 45; display: none; justify-content: space-between; align-items: flex-end; padding: 0 14px; pointer-events: none; }
body.game-on.is-touch .touch { display: flex; }
.touch-pad { display: flex; gap: 10px; align-items: flex-end; }
.touch button {
  pointer-events: auto; width: 58px; height: 58px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(35,33,57,.82); color: var(--cream);
  font: 400 24px var(--pixel); touch-action: none; user-select: none; -webkit-user-select: none;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.touch button.is-down { background: var(--peach); color: var(--night); }
.touch .touch-jump { width: 72px; height: 72px; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; left: 50%; top: 80px; z-index: 50; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 8px 16px;
  border-radius: 6px; background: var(--cream); color: var(--night);
  font: 400 20px var(--pixel); box-shadow: 0 14px 30px -12px rgba(0,0,0,.8), inset 0 4px 0 var(--peach);
  max-width: calc(100vw - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  animation: toast-in .45s var(--spring) both;
}
.toast b { color: #d96a3e; font-weight: 400; }
.toast.out { animation: toast-out .3s var(--ease) forwards; }
@keyframes toast-in { from { transform: translateY(-12px) rotate(-3deg); opacity: 0; } }
@keyframes toast-out { to { transform: translateY(-10px); opacity: 0; } }

/* ---------- Aparición ---------- */
[data-reveal] { opacity: 0; translate: 0 28px; transition: opacity 1.1s var(--ease), translate 1.1s var(--ease); }
[data-reveal].in { opacity: 1; translate: 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 6px 8px; }
}
@media (max-width: 960px) {
  .top { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 120px; min-height: 0; }
  .window-wrap { max-width: 440px; width: 100%; justify-self: center; }
  .section-head, .end-grid, .side-b-grid, .shelf, .instruments dl { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr; }
  .track-reverse .track-info { order: 0; }
  .party { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .tl { grid-template-columns: 34px 18px 1fr; row-gap: 2px; }
  .tl-role, .tl-time { grid-column: 3; }
}
@media (max-width: 720px) {
  .deck { left: 12px; right: 12px; bottom: 12px; }
  .deck-info { min-width: 0; flex: 1; overflow: hidden; }
  .deck-vol { display: none; }
  .sticky-keys li:not(.sticky-touch) { display: none; }
  .sticky-touch { display: block !important; }
  .hero-name { font-size: clamp(64px, 18vw, 120px); }
  .console { padding: 12px 12px 14px; border-radius: 20px 20px 20px 40px; }
  .screen { border-width: 7px; }
  .banana-title { left: auto; right: 10%; }
  .floor { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; translate: none; }
}

/* ---------- Ajustes ---------- */
.kbd-wide { min-width: 58px; font-size: 16px; }
.sticky-drag { font-size: 19px; color: #7a5f3a; margin-top: 2px; }
.touch .touch-chute { width: 50px; height: 50px; font-size: 20px; }
.hint-word { font-size: 40px !important; color: var(--peach); }

/* Sello de Baboon Studios en el casete de Gearfy */
.stamp {
  position: absolute; right: -14px; bottom: -16px; z-index: 2;
  display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%;
  font-size: 13px; line-height: .95; text-align: center; color: var(--mint);
  border: 2px dashed var(--mint); background: rgba(27, 26, 43, .92);
  transform: rotate(-14deg); box-shadow: 0 8px 16px -8px rgba(0,0,0,.8);
}
a.cassette:hover .stamp { transform: rotate(-4deg) scale(1.05); transition: transform .4s var(--spring); }

/* Pegatina que se despega para descubrir la plataforma */
.peel { position: relative; display: inline-block; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.peel-under { font-weight: 600; color: var(--cream); letter-spacing: .02em; opacity: 0; transition: opacity .3s .2s; }
.peel-sticker {
  position: absolute; inset: -4px -10px; display: grid; place-items: center;
  border-radius: 3px; background: var(--cream); color: #8a7c6c;
  box-shadow: 0 2px 0 rgba(0,0,0,.15);
  transform-origin: 0 50%;
  clip-path: polygon(0 0, calc(100% - var(--curl, 0px)) 0, 100% var(--curl, 0px), 100% 100%, 0 100%);
  transition: clip-path .15s;
}
.peel-sticker::after {
  content: ""; position: absolute; right: 0; top: 0; width: var(--curl, 0px); height: var(--curl, 0px);
  background: linear-gradient(225deg, transparent 50%, #cbbda5 50%); border-radius: 0 0 0 3px;
}
.peel-sticker .hand { font-size: 16px; line-height: 1; }
.peel:hover .peel-sticker { --curl: 9px; }
.peel.is-peeled { cursor: default; }
/* Pegatinas que no se pueden despegar (título y género): misma forma, sin esquina levantada. */
.peel.is-locked { cursor: not-allowed; }
.peel.is-locked .peel-under { visibility: hidden; }
.peel.is-locked:hover .peel-sticker { --curl: 0px; }
.peel.is-locked.is-nope .peel-sticker { animation: nope .35s; }
@keyframes nope { 25% { transform: translateX(-3px) rotate(-2deg); } 75% { transform: translateX(3px) rotate(2deg); } }
.peel.is-peeled .peel-under { opacity: 1; }
.peel.is-peeled .peel-sticker { animation: peel-off .8s var(--ease) forwards; pointer-events: none; }
@keyframes peel-off {
  30% { transform: rotate(-8deg) translate(6px, -8px) scaleX(.85); }
  100% { transform: rotate(38deg) translate(70px, 60px) scale(.7); opacity: 0; }
}
