/* ==========================================================================
   PLAYGROUND PAGE — "A Little World Outside Design"
   Creative Scrapbook Design System & Component Styles
   ========================================================================== */

/* Scrapbook Board Container */
.playground-canvas {
  position: relative;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 108px 24px 140px;
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--token-4f4ed186-9023-4858-830a-5202d69249c1, #111212);
  z-index: 2;
  background-color: #ffffff;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
}

.playground-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

/* --------------------------------------------------------------------------
   Header / Intro
   -------------------------------------------------------------------------- */
.playground-hero {
  margin-bottom: 56px;
  max-width: 840px;
}

.playground-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6e6f71;
  margin-bottom: 14px;
}

.playground-eyebrow .eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #2eb67d;
  display: inline-block;
  box-shadow: 0 0 8px rgba(46, 182, 125, 0.6);
  animation: pulse-dot 2.5s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.playground-title {
  font-size: clamp(40px, 6.5vw, 76px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin: 0 0 16px 0;
  color: var(--token-4f4ed186-9023-4858-830a-5202d69249c1, #111212);
}

.playground-title em {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  color: #36c5f0;
}

.playground-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #55575a;
  max-width: 620px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Scrapbook Motifs: Washi Tape, Sticky Notes & Badges
   -------------------------------------------------------------------------- */
.scrapbook-tape {
  position: absolute;
  width: 88px;
  height: 22px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(2px);
  border-left: 2px dashed rgba(0, 0, 0, 0.12);
  border-right: 2px dashed rgba(0, 0, 0, 0.12);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  z-index: 10;
}

.tape-top-center {
  top: -11px;
  left: 50%;
  transform: translateX(-50%) rotate(-1deg);
}

.tape-top-left {
  top: -10px;
  left: 18px;
  transform: rotate(-3deg);
}

.tape-top-right {
  top: -10px;
  right: 18px;
  transform: rotate(4deg);
}

.sticky-label {
  position: absolute;
  z-index: 12;
  padding: 6px 14px;
  font-family: 'Just Me Again Down Here', cursive, sans-serif;
  font-size: 26px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  pointer-events: none;
  user-select: none;
  transition: transform 0.25s ease;
  max-width: calc(100% - 24px);
  box-sizing: border-box;
}

.sticky-mint {
  background-color: #a1dfc5;
  color: #0d2c1f;
}

.sticky-yellow {
  background-color: #f5dda1;
  color: #2e240a;
}

.sticky-pink {
  background-color: #fabed1;
  color: #38121f;
}

.sticky-blue {
  background-color: #a4e5f8;
  color: #0b2b38;
}

.sticky-lavender {
  background-color: #ebe4fa;
  color: #281a42;
}

/* Base Card Styling */
.scrapbook-card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.07), 0 2px 8px -2px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  box-sizing: border-box;
}

.scrapbook-card:hover {
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.06);
}

/* --------------------------------------------------------------------------
   CLUSTER 01 — Music & Mountain Scenery + Handwritten Intro
   -------------------------------------------------------------------------- */
.cluster-one {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 72px;
  position: relative;
}

/* Component 01: On Repeat (Music) Card */
.music-card {
  background: #18191f;
  color: #ffffff;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transform: rotate(-1.5deg);
  overflow: visible;
}

.music-card:hover {
  transform: rotate(0deg) translateY(-4px);
}

.music-card .sticky-label {
  top: -18px;
  right: -14px;
  transform: rotate(6deg);
}

.music-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.music-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.music-brand-tag {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #a1dfc5;
}

.music-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #444752;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.music-led.is-active {
  background: #2eb67d;
  box-shadow: 0 0 10px #2eb67d;
}

.music-format-badge {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: #9da1b2;
  letter-spacing: 0.04em;
}

/* Vinyl Showcase Stage */
.music-stage {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 24px;
}

.vinyl-record-wrap {
  position: relative;
  width: 168px;
  height: 168px;
  flex-shrink: 0;
}

.vinyl-record {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    #2c2d36 0px,
    #2c2d36 2px,
    #17181f 3px,
    #17181f 5px
  );
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin-vinyl 8s linear infinite;
  animation-play-state: paused;
}

.vinyl-record.is-spinning {
  animation-play-state: running;
}

@keyframes spin-vinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .vinyl-record {
    animation: none !important;
  }
}

.vinyl-label {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #14151a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #a1dfc5;
}

.vinyl-label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: opacity 0.3s ease;
}

.vinyl-spindle-hole {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #14151a;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  z-index: 2;
}

.music-loading-spinner {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(161, 223, 197, 0.3);
  border-top-color: #a1dfc5;
  border-radius: 50%;
  animation: spin-vinyl 0.75s linear infinite;
  margin-left: 6px;
}

.music-track-album {
  font-size: 12px;
  font-family: 'Geist Mono', monospace;
  color: #9da1b2;
  font-weight: normal;
}

.music-error-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
  color: #ff9b9b;
  background: rgba(255, 75, 75, 0.12);
  border: 1px solid rgba(255, 75, 75, 0.25);
  padding: 4px 8px;
  border-radius: 8px;
  margin-top: 4px;
}

.music-track-meta {
  flex: 1;
  min-width: 0;
}

.music-track-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 6px 0;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-track-artist {
  font-size: 13px;
  font-family: 'Geist Mono', monospace;
  color: #a4a7b5;
  margin: 0 0 14px 0;
}

/* Soundwave Equalizer */
.music-wave {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 24px;
}

.music-wave-bar {
  width: 3px;
  height: 4px;
  background: #a1dfc5;
  border-radius: 2px;
  transition: height 0.2s ease;
}

.music-wave.is-playing .music-wave-bar {
  animation: soundwave 1.1s ease-in-out infinite alternate;
}

.music-wave.is-playing .music-wave-bar:nth-child(1) { animation-delay: 0.1s; height: 16px; }
.music-wave.is-playing .music-wave-bar:nth-child(2) { animation-delay: 0.3s; height: 22px; }
.music-wave.is-playing .music-wave-bar:nth-child(3) { animation-delay: 0.15s; height: 10px; }
.music-wave.is-playing .music-wave-bar:nth-child(4) { animation-delay: 0.45s; height: 24px; }
.music-wave.is-playing .music-wave-bar:nth-child(5) { animation-delay: 0.2s; height: 14px; }
.music-wave.is-playing .music-wave-bar:nth-child(6) { animation-delay: 0.5s; height: 19px; }
.music-wave.is-playing .music-wave-bar:nth-child(7) { animation-delay: 0.35s; height: 8px; }
.music-wave.is-playing .music-wave-bar:nth-child(8) { animation-delay: 0.25s; height: 17px; }

@keyframes soundwave {
  0% { transform: scaleY(0.25); }
  50% { transform: scaleY(0.9); }
  100% { transform: scaleY(0.4); }
}

/* Seek Bar */
.music-progress-wrap {
  margin-bottom: 20px;
}

.music-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.music-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #a1dfc5;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(161, 223, 197, 0.8);
  transition: transform 0.15s ease;
}

.music-range::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

.music-timestamps {
  display: flex;
  justify-content: space-between;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: #9da1b2;
  margin-top: 6px;
}

/* Music Controls */
.music-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.music-playback-btns {
  display: flex;
  align-items: center;
  gap: 12px;
}

.music-ctrl-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.music-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.music-ctrl-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.music-play-btn {
  background: #a1dfc5;
  border-color: #a1dfc5;
  color: #111212;
  font-weight: 600;
  padding: 10px 22px;
  font-size: 13px;
  box-shadow: 0 4px 14px rgba(161, 223, 197, 0.35);
}

.music-play-btn:hover {
  background: #b5eed7;
  color: #000000;
  box-shadow: 0 6px 18px rgba(161, 223, 197, 0.5);
}

.music-vol-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.music-vol-wrap input[type="range"] {
  width: 64px;
}

.music-ctrl-btn:focus-visible,
.vinyl-record-wrap:focus-visible,
.music-range:focus-visible {
  outline: 2px solid #a1dfc5;
  outline-offset: 2px;
}

.music-attribution-wrap {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: #8b92a5;
  text-align: center;
  line-height: 1.4;
}

.music-attribution-wrap a {
  color: #a1dfc5;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.music-attribution-wrap a:hover {
  color: #b5eed7;
}

.music-attribution-wrap.is-flagged {
  color: #f6c87e;
  font-size: 9.5px;
}

/* Component 02: Mountain Polaroid */
.mountain-card-wrap {
  position: relative;
  align-self: start;
}

.mountain-polaroid {
  background: #ffffff;
  padding: 14px 14px 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  box-shadow: 0 16px 38px -10px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.04);
  transform: rotate(2.2deg);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  cursor: pointer;
}

.mountain-polaroid:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.18);
}

.mountain-polaroid .sticky-label {
  top: -16px;
  left: -12px;
  transform: rotate(-6deg);
}

.mountain-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef1f3;
  border-radius: 2px;
}

.mountain-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.4s ease;
}

.mountain-polaroid:hover .mountain-photo-frame img {
  transform: scale(1.04);
}

.mountain-toggle-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 12px;
  pointer-events: none;
}

.mountain-caption {
  margin-top: 14px;
  padding: 0 4px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.mountain-caption-text {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: #2b2c30;
  margin: 0;
}

.mountain-caption-loc {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: #8c8f9c;
}

/* Intro Paper Note */
.intro-paper-note {
  margin-top: 24px;
  background: #fffcf0;
  border: 1px dashed #e3dbb8;
  padding: 18px 22px;
  border-radius: 6px;
  transform: rotate(-1.2deg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.intro-paper-note p {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: #4a4538;
  margin: 0;
}

.intro-paper-note strong {
  display: block;
  margin-top: 8px;
  font-family: 'Just Me Again Down Here', cursive;
  font-size: 24px;
  color: #7860cd;
}

/* --------------------------------------------------------------------------
   CLUSTER 02 — Long Drives, Mini Garage & Workout
   -------------------------------------------------------------------------- */
.cluster-two {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 72px;
}

/* Component 03: No Destination (Long Drive) Card */
.drive-card {
  position: relative;
  border-radius: 14px;
  overflow: visible;
  background: #ffffff;
  padding: 14px 14px 20px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.1);
  transform: rotate(-1.8deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.drive-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 22px 48px -12px rgba(0, 0, 0, 0.15);
}

.drive-card .sticky-label {
  top: -16px;
  right: -12px;
  transform: rotate(4deg);
}

.drive-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #191b22;
}

.drive-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.drive-card:hover .drive-photo-wrap img {
  transform: scale(1.03);
}

.drive-overlay-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}

.drive-card-footer {
  margin-top: 14px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drive-route-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drive-route-svg {
  width: 32px;
  height: 14px;
  color: #111212;
}

.drive-route-text {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #55575a;
}

.drive-compass-coord {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: #475569;
}

/* Component 04: Mini Garage (Hot Wheels) */
.garage-card {
  position: relative;
  background: #ffffff;
  padding: 26px 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  transform: rotate(1.2deg);
  box-shadow: 0 14px 36px -10px rgba(0, 0, 0, 0.09);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.garage-card:hover {
  transform: rotate(0deg);
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.14);
}

.garage-card .sticky-label {
  top: -16px;
  left: 20px;
  transform: rotate(-4deg);
}

.garage-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ededed;
}

.garage-title-text {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111212;
}

.garage-count-pill {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  background: #f1f1f1;
  padding: 3px 8px;
  border-radius: 10px;
  color: #666;
}

/* Car Showcase Shelf */
.garage-shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.diecast-item {
  position: relative;
  background: #f9f9f9;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.diecast-item:hover {
  transform: translateY(-8px) scale(1.04);
  background: #ffffff;
  box-shadow: 0 14px 26px -6px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  border-color: #36c5f0;
}

.diecast-item.is-selected {
  border-color: #111212;
  background: #ffffff;
  box-shadow: 0 8px 22px -4px rgba(0, 0, 0, 0.15);
}

.diecast-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  margin-bottom: 8px;
}

.diecast-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.diecast-item:hover .diecast-img-box img {
  transform: scale(1.06);
}

.diecast-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #111212;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.diecast-scale-tag {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: #475569;
  display: block;
  margin-top: 2px;
}

/* Collector Detail Spec Card */
.collector-spec-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 16px;
  animation: spec-fade 0.3s ease;
}

@keyframes spec-fade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.collector-spec-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.collector-model-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.collector-series-pill {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  background: #e2e8f0;
  color: #334155;
  padding: 2px 6px;
  border-radius: 4px;
}

.collector-lore-text {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
  margin: 0;
}

/* Component 05: Workout (One More Rep) */
.workout-card {
  grid-column: span 2;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: center;
  position: relative;
}

.workout-card .sticky-label {
  top: -14px;
  right: 32px;
  transform: rotate(3deg);
}

.workout-photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #111212;
}

.workout-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workout-counter-stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.workout-eyebrow-tag {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #767777;
  margin-bottom: 6px;
}

.workout-headline {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #111212;
  margin: 0 0 16px 0;
}

.workout-rep-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.rep-display-box {
  background: #111212;
  color: #ffffff;
  border-radius: 10px;
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
}

.rep-number {
  font-family: 'Geist Mono', monospace;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.15s ease;
}

.rep-number.rep-bump {
  transform: scale(1.2);
  color: #a1dfc5;
}

.rep-unit {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8c8f9c;
  margin-top: 4px;
}

.rep-btn {
  background: #111212;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 14px 26px;
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.rep-btn:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.rep-btn:active {
  transform: translateY(0);
}

.rep-feedback-toast {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: #2eb67d;
  min-height: 20px;
  margin: 0 0 10px 0;
  transition: opacity 0.3s ease;
}

.rep-streak-badge {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: #767777;
}

/* --------------------------------------------------------------------------
   CLUSTER 03 — Peace Mode & Advice for Yug
   -------------------------------------------------------------------------- */
.cluster-three {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 50px;
}

/* Component 06: Peace Mode Card */
.peace-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 16px 16px 22px;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.08);
  transform: rotate(-1.4deg);
  transition: all 0.4s ease;
}

.peace-card:hover {
  transform: rotate(0deg);
}

.peace-card.is-active-peace {
  background: #fdfbf7;
  border-color: #cbd5e1;
  box-shadow: 0 24px 60px -15px rgba(148, 163, 184, 0.35);
}

.peace-card .sticky-label {
  top: -16px;
  left: 20px;
  transform: rotate(-3deg);
}

.peace-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #eef2f6;
}

.peace-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.8s ease, transform 0.8s ease;
}

.peace-card.is-active-peace .peace-photo-wrap img {
  filter: contrast(0.9) brightness(1.05) saturate(0.9);
}

/* Breathing Ring Overlay */
.breathing-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.peace-card.is-active-peace .breathing-overlay {
  opacity: 1;
}

.breathing-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  animation: breath 8s infinite ease-in-out;
}

@keyframes breath {
  0%, 100% { transform: scale(0.65); opacity: 0.5; }
  50% { transform: scale(1.4); opacity: 0.95; }
}

.breathing-text {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  margin-top: 14px;
  animation: breath-text 8s infinite ease-in-out;
}

@keyframes breath-text {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.peace-card-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.peace-toggle-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  border-radius: 20px;
  padding: 6px 14px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  position: relative;
}

.peace-toggle-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 44px;
}

.peace-toggle-btn:hover {
  background: #e2e8f0;
}

.peace-toggle-btn.is-toggled {
  background: #a1dfc5;
  color: #0d2c1f;
  border-color: #a1dfc5;
  box-shadow: 0 2px 8px rgba(161, 223, 197, 0.4);
}

.peace-sound-btn {
  background: transparent;
  border: 1px dashed #cbd5e1;
  color: #64748b;
  border-radius: 20px;
  padding: 6px 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  position: relative;
}

.peace-sound-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 44px;
}

.peace-sound-btn:hover {
  border-color: #94a3b8;
  color: #1e293b;
}

.peace-sound-btn.is-active-sound {
  background: #ebe4fa;
  border-color: #c7b6fc;
  color: #2e1065;
}

/* Component 07: Advice for Yug */
.advice-station {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 14px 38px -10px rgba(0, 0, 0, 0.09);
  transform: rotate(1.4deg);
  transition: transform 0.35s ease;
}

.advice-station:hover {
  transform: rotate(0deg);
}

.advice-heading {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 6px 0;
  color: #111212;
}

.advice-subtext {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

.advice-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.advice-textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 90px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  background: #fbfbfc;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.advice-textarea:focus {
  outline: none;
  border-color: #111212;
  background: #ffffff;
}

.advice-row-inputs {
  display: flex;
  gap: 12px;
}

.advice-name-input {
  flex: 1;
  box-sizing: border-box;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  background: #fbfbfc;
}

.advice-name-input:focus {
  outline: none;
  border-color: #111212;
  background: #ffffff;
}

/* Color picker row */
.advice-palette-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.color-swatches {
  display: flex;
  align-items: center;
  gap: 8px;
}

.color-swatch-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, border-color 0.15s ease;
  position: relative;
}

.color-swatch-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 44px;
  min-height: 44px;
}

.color-swatch-btn:hover {
  transform: scale(1.15);
}

.color-swatch-btn.is-selected {
  border-color: #111212;
  transform: scale(1.15);
}

.advice-submit-btn {
  background: #111212;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.advice-submit-btn:hover {
  background: #000000;
  transform: translateY(-1px);
}

.advice-notice {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: #475569;
  line-height: 1.5;
  margin-top: 14px;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 6px;
  border-left: 2px solid #cbd5e1;
}

/* User Pinned Notes Corkboard */
.pinned-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.user-pinned-note {
  padding: 14px 16px;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 13px;
  line-height: 1.5;
  position: relative;
  transition: transform 0.2s ease;
}

.user-pinned-note:hover {
  transform: translateY(-2px);
}

.user-pinned-note strong {
  display: block;
  font-family: 'Geist Mono', monospace;
  font-style: normal;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 8px;
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   Responsive Design: Tablet (641px to 1024px)
   Reorganize cards into a balanced layout with intentional spacing.
   Maintain subtle scrapbook rotations (-1.2deg to 1.2deg).
   -------------------------------------------------------------------------- */
@media (min-width: 641px) and (max-width: 1024px) {
  .playground-canvas {
    padding: 96px 24px 120px;
  }

  .playground-hero {
    margin-bottom: 44px;
    max-width: 100%;
  }

  .playground-title {
    font-size: clamp(38px, 5.5vw, 56px);
  }

  /* Balanced 2-column layouts for all 3 clusters */
  .cluster-one {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 48px;
  }

  .music-card {
    transform: rotate(-1.2deg);
    padding: 24px 20px;
  }

  .mountain-polaroid {
    transform: rotate(1.2deg) !important;
  }

  .cluster-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: start;
    margin-bottom: 48px;
  }

  .drive-card {
    grid-column: 1 / -1;
    transform: rotate(-0.8deg) !important;
  }

  .garage-card {
    grid-column: 1;
    transform: rotate(0.9deg) !important;
    padding: 24px 20px;
  }

  .garage-shelf {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .diecast-name {
    font-size: 11px;
    line-height: 1.25;
  }

  .workout-card {
    grid-column: 2;
    transform: rotate(-0.6deg) !important;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .cluster-three {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
  }

  .peace-card {
    transform: rotate(-0.9deg) !important;
    padding: 24px 20px;
  }

  .advice-station {
    transform: rotate(0.8deg) !important;
    padding: 24px 20px;
  }
}

/* --------------------------------------------------------------------------
   Responsive Design: Mobile (<= 640px)
   Editorial single-column scrapbook layout with varied visual compositions.
   Maintains slight card rotations, polaroids, sticky-notes, touch usability.
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .playground-canvas {
    padding: 84px 14px 110px;
  }

  .playground-hero {
    margin-bottom: 32px;
  }

  .playground-eyebrow {
    font-size: 11px;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
  }

  .playground-title {
    font-size: clamp(30px, 8.5vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
  }

  .playground-subtitle {
    font-size: 14px;
    line-height: 1.55;
    color: #63666a;
  }

  /* Single-column editorial scrapbook flow */
  .cluster-one,
  .cluster-two,
  .cluster-three {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 36px;
  }

  /* Sticky labels safe placement on mobile: never clip */
  .sticky-label {
    font-size: 20px;
    padding: 4px 10px;
    line-height: 1;
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Component 01: Music Player */
  .music-card {
    transform: rotate(-0.8deg);
    padding: 20px 14px;
    border-radius: 14px;
  }

  .music-card .sticky-label {
    top: -14px;
    right: 12px;
    transform: rotate(4deg);
  }

  .music-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-bottom: 20px;
  }

  .vinyl-record-wrap {
    width: 136px;
    height: 136px;
  }

  .vinyl-label {
    width: 72px;
    height: 72px;
  }

  .music-track-title {
    font-size: 17px;
  }

  .music-wave {
    justify-content: center;
  }

  .music-controls {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .music-playback-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
  }

  .music-ctrl-btn {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .music-play-btn {
    min-height: 44px;
    padding: 0 20px;
  }

  .music-vol-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .music-vol-wrap input[type="range"] {
    width: 130px;
  }

  /* Component 02: Mountain Polaroid */
  .mountain-card-wrap {
    width: 100%;
  }

  .mountain-polaroid {
    transform: rotate(1.2deg) !important;
    padding: 10px 10px 16px;
    border-radius: 4px;
  }

  .mountain-polaroid .sticky-label {
    top: -14px;
    left: 8px;
    transform: rotate(-3deg);
  }

  .mountain-photo-frame {
    aspect-ratio: 4 / 3;
  }

  .mountain-caption {
    padding-top: 10px;
  }

  .mountain-caption-text {
    font-size: 18px;
  }

  .mountain-caption-loc {
    font-size: 11px;
  }

  /* Component 03: Intro Note */
  .intro-sticky-note {
    transform: rotate(-1.2deg) !important;
    padding: 18px 16px;
  }

  /* Component 04: Long Drive Card */
  .drive-card {
    transform: rotate(-0.9deg) !important;
    padding: 16px;
    border-radius: 12px;
  }

  .drive-card .sticky-label {
    top: -14px;
    right: 12px;
    transform: rotate(3deg);
  }

  .drive-photo-wrap {
    aspect-ratio: 16 / 9;
  }

  .drive-card-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 12px;
  }

  .drive-route-text {
    font-size: 11px;
  }

  .drive-compass-coord {
    font-size: 10px;
  }

  /* Component 05: Mini Garage Card */
  .garage-card {
    transform: rotate(0.8deg) !important;
    padding: 18px 14px;
    border-radius: 12px;
  }

  .garage-card .sticky-label {
    top: -14px;
    left: 12px;
    transform: rotate(-3deg);
  }

  .garage-header {
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  .garage-title-text {
    font-size: 11px;
  }

  .garage-count-pill {
    font-size: 9px;
    padding: 3px 6px;
  }

  .garage-shelf {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
  }

  .diecast-item {
    padding: 6px 4px;
    border-radius: 6px;
    min-height: 44px;
  }

  .diecast-name {
    font-size: 10px;
    line-height: 1.2;
    margin: 4px 0 2px;
    white-space: normal;
    word-break: break-word;
  }

  .diecast-scale-tag {
    font-size: 7.5px;
    letter-spacing: 0.02em;
  }

  .collector-spec-card {
    padding: 12px 14px;
  }

  .collector-model-title {
    font-size: 12px;
  }

  .collector-lore-text {
    font-size: 12px;
    line-height: 1.45;
  }

  /* Component 06: Workout Card */
  .workout-card {
    transform: rotate(-0.5deg) !important;
    padding: 18px 14px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .workout-card .sticky-label {
    top: -14px;
    right: 12px;
    transform: rotate(2.5deg);
  }

  .workout-counter-stage {
    padding: 0;
  }

  .workout-rep-row {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .rep-btn {
    min-height: 48px;
    padding: 0 18px;
  }

  /* Component 07: Peace Mode Card */
  .peace-card {
    transform: rotate(-0.7deg) !important;
    padding: 18px 14px;
    border-radius: 12px;
  }

  .peace-card .sticky-label {
    top: -14px;
    left: 12px;
    transform: rotate(-2.5deg);
  }

  .peace-card-footer {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 14px;
  }

  .peace-toggle-btn,
  .peace-sound-btn {
    flex: 1;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 11px;
    justify-content: center;
  }

  /* Component 08: Advice Station */
  .advice-station {
    transform: rotate(0.6deg) !important;
    padding: 20px 14px;
    border-radius: 12px;
  }

  .advice-station .sticky-label {
    top: -14px;
    right: 12px;
    transform: rotate(3deg);
  }

  .advice-row-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .advice-palette-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .color-swatches {
    gap: 12px;
  }

  .color-swatch-btn {
    width: 28px;
    height: 28px;
  }

  .advice-submit-btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .pinned-notes-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Extra small screens (320px to 360px) */
@media (max-width: 360px) {
  .playground-canvas {
    padding: 76px 10px 96px;
  }

  .playground-title {
    font-size: 28px;
  }

  .sticky-label {
    font-size: 18px;
    padding: 3px 8px;
  }

  .diecast-name {
    font-size: 9px;
  }

  .diecast-scale-tag {
    display: none;
  }

  .peace-card-footer {
    flex-direction: column;
  }
}

/* Accessibility: respect user preference for reduced motion while maintaining visual tilt */
@media (prefers-reduced-motion: reduce) {
  .scrapbook-card,
  .music-card,
  .mountain-polaroid,
  .drive-card,
  .garage-card,
  .peace-card,
  .advice-station {
    transition: none !important;
  }
}

