@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root {
  color-scheme: light;
  --ink: #1b2440;
  --muted: #777b82;
  --paper: #f5f1e8;
  --card: #fffdf8;
  --lime: #c7f36b;
  --lime-dark: #25411c;
  --line: #e7e2d8;
  --red: #c76455;
  --mono: 'DM Mono',monospace;
  --sans: 'DM Sans',system-ui,-apple-system,sans-serif
}
* {
  box-sizing: border-box
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  min-height: 100vh;
  background-image: radial-gradient(rgba(27,36,64,.065) .7px,transparent .7px);
  background-size: 6px 6px
}
button,input {
  font: inherit
}
button {
  cursor: pointer
}
button:focus-visible,input:focus-visible,a:focus-visible {
  outline: 3px solid #678f27;
  outline-offset: 3px
}
.shell {
  width: min(100% - 36px,660px);
  margin: 0 auto;
  padding: 24px 0 30px
}
.topbar {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px
}
.brand {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1.8px;
  color: var(--ink);
  text-decoration: none
}
.brand-note {
  font-size: 23px;
  color: #789e36;
  vertical-align: 1px;
  margin-right: 2px
}
.brand-period {
  color: #789e36
}
.icon-button {
  border: 1px solid #d8d3c9;
  color: var(--ink);
  background: #fffdf8;
  border-radius: 50%;
  height: 34px;
  width: 34px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 2px 0 rgba(27,36,64,.07)
}
.game-card {
  background: var(--card);
  border: 1px solid #e8e2d8;
  border-radius: 16px;
  padding: 33px 40px 30px;
  box-shadow: 0 12px 35px rgba(37,37,27,.055)
}
.eyebrow,.listen-kicker,.next-puzzle span {
  font: 500 10px var(--mono);
  letter-spacing: 1.25px
}
.eyebrow {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #6c7178
}
.live-dot {
  width: 7px;
  height: 7px;
  background: #8ebd43;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #edf6dc
}
.eyebrow-separator {
  color: #b5ada0
}
h1 {
  margin: 16px 0 3px;
  font-size: clamp(34px,7vw,47px);
  line-height: 1.07;
  letter-spacing: -2.1px
}
.subhead {
  margin: 8px 0 25px;
  color: var(--muted);
  font-size: 14px
}
.listen-panel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f3f0e7;
  border: 1px solid #e7e2d8;
  border-radius: 12px;
  min-height: 91px;
  overflow: hidden
}
.record-art {
  height: 54px;
  width: 54px;
  flex: 0 0 54px;
  background: #1e2949;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: inset 0 0 0 4px #293654,inset 0 0 0 5px #17203a
}
.record-grooves {
  height: 37px;
  width: 37px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: grid;
  place-items: center
}
.record-grooves span {
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%
}
.record-label {
  position: absolute;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  height: 15px;
  width: 15px;
  border-radius: 50%
}
.listen-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0
}
.listen-kicker {
  font-size: 9px;
  color: #6e7676
}
.listen-copy strong {
  font-size: 16px;
  letter-spacing: -.25px
}
.listen-hint {
  font-size: 11px;
  color: #777b82
}
.listen-hint:empty {
  display: none
}
.play-button {
  margin-left: auto;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 9px;
  padding: 12px 14px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 3px 0 #12182c;
  transition: transform .12s,background .12s
}
.play-button:hover:not(:disabled) {
  background: #2b385c;
  transform: translateY(-1px)
}
.play-button:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #12182c
}
.play-button:disabled {
  opacity: .58;
  cursor: wait
}
.play-button.is-playing {
  background: #52752c
}
.play-label {
  white-space: nowrap
}
.player-host {
  position: absolute;
  width: 1px;
  height: 1px;
  left: -5px;
  top: 0;
  overflow: hidden;
  opacity: .001;
  pointer-events: none
}
.attempts {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 8px;
  margin: 18px 0 20px
}
.attempt {
  height: 35px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #faf8f2;
  display: grid;
  place-items: center;
  color: #b1aca3;
  font: 500 11px var(--mono);
  transition: all .18s
}
.attempt.used-wrong {
  background: #eeeae2;
  border-color: #e4dfd4;
  color: #8a8881
}
.attempt.used-skip {
  background: #f7f2da;
  border-color: #e6dca9;
  color: #93844f
}
.attempt.used-correct {
  background: #d9f1b3;
  border-color: #b9df88;
  color: #456921
}
.attempt.current {
  background: var(--guess-color);
  border-color: var(--guess-shadow);
  color: #26371a;
  box-shadow: 0 0 0 2px #f0f5e6
}
.guess-area {
  position: relative
}
.guess-form {
  display: flex;
  gap: 9px
}
.guess-form input {
  height: 49px;
  min-width: 0;
  flex: 1;
  border: 1px solid #dcd7cc;
  border-radius: 9px;
  background: #fff;
  padding: 0 14px;
  color: var(--ink);
  font-size: 14px;
  box-shadow: inset 0 1px 2px rgba(30,30,20,.03)
}
.guess-form input::placeholder {
  color: #aaa69f
}
.guess-form input:disabled {
  background: #f6f4ed;
  color: #767676
}
.submit-button {
  height: 49px;
  border: 0;
  border-radius: 9px;
  padding: 0 17px;
  background: var(--guess-color, var(--lime));
  color: #26371a;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 3px 0 var(--guess-shadow, #9cc34e);
  transition: transform .1s
}
.submit-button:hover:not(:disabled) {
  transform: translateY(-1px)
}
.submit-button:disabled {
  opacity: .55;
  cursor: default
}
.submit-button span {
  font-size: 17px;
  margin-left: 5px
}
.suggestions {
  margin-top: 5px;
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid #dcd7cc;
  border-radius: 9px;
  background: #fffdf8;
  box-shadow: 0 8px 22px rgba(27,36,64,.12)
}
.suggestions[hidden] {
  display: none
}
.suggestion-option {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid #eee9df;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 13px
}
.suggestion-option:last-child {
  border-bottom: 0
}
.suggestion-option:hover,.suggestion-option[aria-selected=true] {
  background: #edf5dc;
  color: #354c20
}
.form-footer {
  min-height: 25px;
  padding: 9px 2px 0;
  display: flex;
  justify-content: space-between;
  color: #8c8a83;
  font-size: 11px
}
.skip-button {
  border: 0;
  background: transparent;
  color: #74776f;
  font-size: 11px;
  padding: 0 1px
}
.skip-button:hover:not(:disabled) {
  color: var(--ink)
}
.skip-button:disabled {
  opacity: .4;
  cursor: default
}
.message {
  min-height: 22px;
  margin-top: 7px;
  color: var(--red);
  font-size: 12px;
  font-weight: 600
}
.result-panel {
  margin-top: 7px;
  border-top: 1px solid var(--line);
  padding-top: 17px
}
.result-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px
}
.result-identity {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0
}
.result-artwork {
  height: 36px;
  width: 36px;
  flex: 0 0 36px;
  object-fit: cover;
  border-radius: 6px;
  background: #e6f3d1
}
.result-mute {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffdf8;
  color: var(--ink);
  padding: 7px 9px;
  font-size: 11px;
  font-weight: 700
}
.result-mute:hover {
  background: #f4f1e8
}
.result-line h2 {
  font-size: 18px;
  letter-spacing: -.5px;
  margin: 3px 0 0
}
.answer-link {
  color: inherit;
  text-decoration: none
}
.answer-link:hover {
  text-decoration: underline
}
.result-line p {
  font-size: 12px;
  color: var(--muted);
  margin: 2px 0 0
}
.result-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  align-items: center;
  margin: 16px 0
}
.result-actions a {
  font-size: 11px;
  color: #526e30;
  text-decoration: none;
  font-weight: 700
}
.result-actions a:hover {
  text-decoration: underline
}
.result-actions button {
  font-size: 11px;
  font-weight: 700;
  padding: 8px 11px;
  border-radius: 7px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fffdf8
}
.next-puzzle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed #ddd7cb;
  padding-top: 12px;
  color: #86847d
}
.next-puzzle span {
  font-size: 9px
}
.next-puzzle strong {
  font: 500 13px var(--mono);
  color: var(--ink)
}
.footer {
  display: flex;
  justify-content: space-between;
  padding: 18px 5px;
  color: #89877f;
  font-size: 10px;
  letter-spacing: .1px
}
.audio-credit {
  color: #77786f;
  text-decoration: none
}
.audio-credit-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px
}
.big-mike {
  color: #77786f;
  font-size: 10px
}
.audio-credit:hover {
  text-decoration: underline
}
.audio-credit span {
  color: #789e36;
  font-size: 15px;
  vertical-align: -2px;
  margin-left: 2px
}
.help-dialog {
  position: relative;
  width: min(100% - 32px,400px);
  border: 1px solid #e8e2d8;
  border-radius: 15px;
  padding: 30px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 25px 90px rgba(16,24,37,.25)
}
.help-dialog::backdrop {
  background: rgba(23,30,46,.45);
  backdrop-filter: blur(3px)
}
.dialog-close {
  position: absolute;
  right: 14px;
  top: 11px;
  border: 0;
  background: transparent;
  font-size: 25px;
  color: #82847e
}
.dialog-note {
  font-size: 25px;
  color: #789e36
}
.help-dialog h2 {
  font-size: 24px;
  letter-spacing: -.8px;
  margin: 8px 0 12px
}
.help-dialog p {
  font-size: 13px;
  line-height: 1.6;
  color: #6e7277
}
.got-it {
  width: 100%;
  margin-top: 8px;
  height: 43px;
  border: 0;
  border-radius: 8px;
  background: var(--lime);
  color: #26371a;
  font-weight: 800
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%,12px);
  padding: 10px 15px;
  background: #202a45;
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: all .2s;
  box-shadow: 0 7px 25px rgba(15,20,33,.2)
}
.toast.show {
  opacity: 1;
  transform: translate(-50%,0)
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0
}
.playing .record-art {
  animation: spin 3.4s linear infinite
}
.playing .record-label {
  background: #f3ac76
}
@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}
@media(max-width:540px) {
  .shell {
    width: min(100% - 22px,660px);
    padding-top: 13px
  }
  .game-card {
    padding: 26px 19px 23px;
    border-radius: 13px
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: .95px
  }
  .listen-panel {
    gap: 10px;
    padding: 12px;
    min-height: 80px
  }
  .record-art {
    height: 44px;
    width: 44px;
    flex-basis: 44px
  }
  .record-grooves {
    height: 31px;
    width: 31px
  }
  .record-grooves span {
    height: 20px;
    width: 20px
  }
  .record-label {
    height: 13px;
    width: 13px
  }
  .listen-copy strong {
    font-size: 14px
  }
  .listen-hint {
    font-size: 10px
  }
  .play-button {
    padding: 11px 12px;
    gap: 6px
  }
  .play-label {
    font-size: 12px
  }
  .attempts {
    gap: 5px
  }
  .attempt {
    height: 33px
  }
  .footer {
    padding-inline: 3px;
    font-size: 9px
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 3px
}
.brand-note {
  height: 24px;
  width: 24px;
  color: var(--ink);
  flex: 0 0 24px
}
.footer {
  align-items: center;
  gap: 14px
}
.donate-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none
}
.donate-link:hover {
  text-decoration: underline
}
