:root {
  color-scheme: dark;
  background: #193725;
  color: #fff4d1;
  font: 16px/1.35 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
main { position: relative; width: min(100% - 32px, 840px); margin: clamp(24px, 5vh, 64px) auto; text-align: center; }
h1 { margin: 0 0 16px; font-size: clamp(2.5rem, 8vw, 4.5rem); letter-spacing: -.06em; line-height: .96; text-wrap: balance; }
body:has(.sound) h1 { margin-inline: 52px; }
.frame { overflow: hidden; border-radius: 24px; border: 2px solid #a7c78c; background: #315a3d; aspect-ratio: 16/9; }
video, canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
.action, .choices button {
  min-height: 60px; padding: 8px 24px; border: 2px solid #25331c; border-radius: 16px;
  background: #ffda7c; color: #20351f; box-shadow: 0 5px 0 #111e13;
  font: 750 1.15rem/1.1 system-ui, sans-serif; text-decoration: none; cursor: pointer;
}
.action { margin-top: 16px; display: inline-flex; gap: 12px; align-items: center; justify-content: center; min-width: 180px; }
.play { width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid currentColor; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: min(100%, 440px); margin: 16px auto 0; }
.choices button { display: grid; place-items: center; gap: 8px; padding-inline: 8px; min-height: 104px; background: #fff1bd; }
.choices button:first-child { background: #d3eee2; }
.river-icon { color: #246477; font-size: 3.5rem; line-height: .72; }
.bin-icon { width: 30px; height: 33px; border: 3px solid #235139; border-radius: 4px 4px 9px 9px; background: #99c785; position: relative; }
.bin-icon::after { content: ''; position: absolute; background: #235139; border-radius: 9px; width: 13px; height: 4px; top: 5px; left: 6px; }
.sound { position: absolute; right: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff4d1; background: #2b5034; border: 1px solid #a9bd95; cursor: pointer; }
.speaker { width: 23px; height: 20px; position: relative; background: currentColor; clip-path: polygon(0 28%, 32% 28%, 65% 0, 65% 100%, 32% 72%, 0 72%, 0 28%, 75% 15%, 92% 37%, 92% 63%, 75% 85%, 100% 68%, 100% 32%, 75% 15%); }
.sound[aria-pressed=false] .speaker { clip-path: polygon(0 28%, 32% 28%, 65% 0, 65% 100%, 32% 72%, 0 72%); opacity: .7; }
a:focus-visible, button:focus-visible, video:focus-visible { outline: 3px solid #fff9d8; outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 560px) {
  h1 { font-size: clamp(2rem, 9.3vw, 3.1rem); }
  .frame { border-radius: 16px; }
}
