/* A spacious aquarium within the portfolio's quiet, monochrome frame. */
.pond-playground { background: #080a0b; color: #f0f0ed; }
.playground-main { width: min(1440px, calc(100% - 80px)); margin: 0 auto; padding-bottom: 32px; }
.playground-intro { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding: 52px 0 35px; }
.playground-eyebrow { color: #a6adb2; text-transform: uppercase; margin-bottom: 16px; font-size: 10px; letter-spacing: .14em; }
.playground-intro h1 { font: 500 clamp(48px, 6.7vw, 96px)/1.02 var(--pond-face, sans-serif); letter-spacing: -.065em; }
.playground-intro h1 em { font-family: Georgia, serif; font-weight: 400; }
.playground-intro > p { flex-shrink: 0; color: #b6bec3; font-size: 14px; line-height: 1.8; padding-bottom: 3px; }
.playground-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; }
.playground-views { display: flex; padding: 4px; border: 1px solid #ffffff25; border-radius: 999px; background: #101416; }
.pond-playground button, .pond-playground select { font: inherit; font-size: 13px; min-height: 44px; cursor: pointer; color: #eceeeb; }
.playground-views button { border-radius: 999px; padding: 0 20px; background: transparent; border: 0; color: #b3bbc0; }
.playground-views button[aria-pressed="true"] { background: #e6e9e5; color: #101415; }
.playground-feed { display: flex; align-items: center; gap: 22px; border: 1px solid #ffffff35; border-radius: 999px; padding: 0 20px; background: #ffffff08; }
.playground-feed span { font-size: 22px; font-weight: 300; }
.playground-feed:disabled { opacity: .5; cursor: default; }
.playground-water { position: relative; isolation: isolate; height: clamp(460px, 64svh, 760px); overflow: hidden; border: 1px solid #ffffff26; border-radius: 22px; background: #020405; touch-action: pan-y pinch-zoom; }
.pond-playground .playground-water > .koi-background { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 1; pointer-events: none; }
.pond-playground .playground-water canvas { display: block; filter: none; }
.playground-water-top { position: absolute; inset: 22px 26px auto; display: flex; justify-content: space-between; gap: 20px; font-size: 9px; letter-spacing: .12em; color: #9ca9ac; pointer-events: none; }
.playground-water-hint { position: absolute; bottom: 22px; left: 26px; right: 26px; margin: 0; font-size: 12px; line-height: 1.7; color: #bcc3c5; pointer-events: none; text-shadow: 0 1px 8px #000; }
.playground-water-hint span { display: block; color: #8e9b9f; font-size: 11px; }
.playground-settings { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; padding: 23px 0; border-bottom: 1px solid #ffffff26; }
.playground-setting { display: flex; align-items: center; gap: 14px; color: #b3bec0; font-size: 12px; }
.playground-setting select, .playground-invite select { border: 1px solid #ffffff2b; border-radius: 9px; background: #13191b; padding: 0 35px 0 12px; color-scheme: dark; }
.playground-pace { flex: 1; min-width: 180px; max-width: 330px; }
.playground-pace > span { display: flex; flex-direction: column; gap: 4px; min-width: 68px; }
.playground-pace output { color: #e0e5e1; font-size: 10px; }
.playground-pace input { min-width: 0; flex: 1; width: 0; height: 44px; accent-color: #d0e3d4; cursor: pointer; }
.playground-settings > button { padding: 0 14px; border: 1px solid #ffffff26; border-radius: 9px; background: #ffffff04; white-space: nowrap; }
.playground-settings > button span { margin-left: 12px; }
.playground-settings > button:last-child { margin-left: auto; }
.playground-invite { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0 12px; }
.playground-invite h2 { font-size: 18px; letter-spacing: -.035em; margin: 0 0 8px; line-height: 1.3; }
.playground-invite p { font-size: 12px; line-height: 1.65; color: #a4b0b3; }
.playground-invite form { display: flex; gap: 10px; }
.playground-invite button { padding: 0 18px; border: 1px solid #ffffff3b; border-radius: 9px; background: #ffffff08; }
.playground-invite button span { margin-left: 12px; }
.playground-status { font-size: 12px; line-height: 1.7; color: #b6c3bd; min-height: 21px; padding: 10px 0 22px; }
.playground-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid #ffffff25; padding-top: 20px; color: #9ca8ac; font-size: 11px; line-height: 1.7; }
.playground-footer a { display: inline-flex; align-items: center; min-height: 44px; color: #e0e5e1; }
.playground-footer a span { margin-left: 14px; }
.playground-static { position: absolute; inset: 0; display: grid; place-content: center; gap: 20px; text-align: center; padding: 24px; }
.playground-static p { font-size: 16px; line-height: 1.7; }
.pond-playground [hidden] { display: none !important; }
.pond-playground .sr-only { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
@media (max-width: 700px) {
  .playground-main { width: calc(100% - 36px); }
  .playground-intro { display: block; padding: 28px 0 23px; }
  .playground-intro h1 { font-size: clamp(43px, 9.8vw, 66px); }
  .playground-eyebrow { font-size: 8px; margin-bottom: 12px; }
  .playground-intro > p { margin-top: 16px; font-size: 13px; line-height: 1.7; }
  .playground-intro > p br { display: none; }
  .playground-toolbar { gap: 8px; }
  .playground-views { padding: 3px; }
  .playground-views button { padding: 0 12px; font-size: 11px; }
  .playground-feed { padding: 0 12px; gap: 9px; font-size: 11px !important; }
  .playground-water { border-radius: 16px; height: clamp(450px, 62svh, 620px); }
  .playground-water-top { inset: 18px 17px auto; font-size: 8px; }
  .playground-water-hint { left: 17px; right: 17px; bottom: 18px; font-size: 11px; }
  .playground-water-hint span { font-size: 10px; }
  .playground-settings { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; padding: 19px 0; }
  .playground-setting { gap: 8px; font-size: 11px; }
  .playground-setting select { padding-right: 20px; }
  .playground-pace { min-width: 0; }
  .playground-pace > span { min-width: 55px; }
  .playground-settings > button:last-child { margin-left: 0; }
  .playground-settings > button { padding-inline: 8px; font-size: 12px; }
  .playground-invite { display: block; padding-top: 23px; }
  .playground-invite form { margin-top: 16px; }
  .playground-invite select { flex: 1; min-width: 0; width: 0; }
  .playground-footer { display: block; }
  .playground-footer > span { display: block; font-size: 10px; }
}
@media (forced-colors: active) {
  .playground-water, .playground-views, .pond-playground :is(button, select) { border-color: CanvasText; }
  .playground-views button[aria-pressed="true"] { background: Highlight; color: HighlightText; }
}
