:root {
  --paper: #f9f7f0;
  --panel: #fffdf9;
  --ink: #242125;
  --muted: #625f60;
  --rule: #d6d0c7;
  --purple: #6845aa;
  --lavender: #dcd0f8;
  --pink: #ffdbc9;
  --gold: #ffe18a;
  --serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: weight style;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%233b3024' opacity='.035' filter='url(%23n)' d='M0 0h160v160H0z'/%3E%3C/svg%3E");
}
a {
  color: inherit;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
a,
button,
textarea {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #8756cf;
  outline-offset: 4px;
}
button {
  color: var(--ink);
}
.icon {
  display: inline-block;
  flex: none;
  vertical-align: middle;
}
.skip {
  position: fixed;
  left: 10px;
  top: -140px;
  z-index: 5;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 8px;
}
.top {
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper);
}
.bar,
.wrap,
.footer {
  width: min(1136px, calc(100% - 96px));
  margin-inline: auto;
}
.bar {
  min-height: 79px;
  display: flex;
  align-items: center;
  gap: 42px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  font: 800 32px/0.95 var(--serif);
  letter-spacing: -2px;
}
.brand img {
  width: 42px;
  height: 42px;
}
.brand-period {
  color: var(--purple);
}
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a,
.help-button {
  font-size: 0.91rem;
  font-weight: 650;
  text-decoration: none;
}
.nav a {
  padding: 9px 15px;
  border-radius: 6px;
}
.nav a[aria-current='page'] {
  background: #e6dbf7;
  color: #392453;
}
.nav a:hover,
.help-button:hover {
  background: #efe9f4;
}
.help-button {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: 7px;
  padding: 9px 13px;
}
.question-icon {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 100%;
  border: 1.5px solid;
  font-size: 0.73rem;
  line-height: 1;
  font-weight: 800;
}
.wrap {
  padding: 39px 0 46px;
  min-height: 72vh;
}
.wrap:focus {
  outline: none;
}
.masthead {
  margin: 0 0 26px;
}
.meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.eyebrow,
.tag,
.meta-date,
.scene-label,
.wordcount,
.mini,
.mode-label {
  font: 650 0.72rem/1.35 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4b316f;
  background: #e7dcf6;
  padding: 5px 9px;
  border-radius: 4px;
}
.tag .icon {
  width: 15px;
  height: 15px;
}
.meta-date {
  color: #58535c;
  letter-spacing: 0.055em;
}
.masthead h1,
.page-title {
  font: 800 clamp(3.15rem, 5.5vw, 5.25rem)/1.04 var(--serif);
  letter-spacing: -0.067em;
  margin: 13px 0 7px;
}
.masthead h1 em,
.page-title em {
  color: var(--purple);
  font-weight: 650;
}
.lede {
  font-size: 1.04rem;
  line-height: 1.55;
  margin: 0;
  color: #545052;
}
.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(245px, 1fr);
  gap: 30px;
  align-items: start;
}
.game-left {
  min-width: 0;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
  margin-bottom: 24px;
}
.scene-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(110px, 1fr) auto;
  justify-items: center;
  height: 236px;
  padding: 14px 16px 17px;
  border: 1.8px solid var(--ink);
  border-radius: 13px;
  box-shadow: 2px 3px 0 var(--ink);
  background: var(--pink);
}
.scene-card:nth-child(2) {
  background: var(--lavender);
}
.scene-card:before {
  content: '';
  z-index: -1;
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#484046 0.7px, transparent 0.9px);
  background-size: 4px 4px;
  opacity: 0.21;
  mask-image: linear-gradient(137deg, #000, transparent 36%, transparent 70%, #000);
}
.scene-label {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  background: #fff9;
  padding: 4px 8px;
  border: 1px solid #655764;
  border-radius: 4px;
  letter-spacing: 0.08em;
}
.scene-art {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  align-self: stretch;
  width: 100%;
}
.scene-art img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: contain;
  padding: 7px 6px;
}
.scene-emoji {
  font-size: 5.5rem;
  line-height: 1;
  filter: drop-shadow(2px 3px 0 #42333d33);
}
.scene-card h2 {
  font: 750 clamp(1.4rem, 2.5vw, 2rem)/1.06 var(--serif);
  letter-spacing: -0.045em;
  margin: 4px 0 0;
  text-align: center;
}
.amp {
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  width: 42px;
  height: 42px;
  background: var(--ink);
  color: #fff8ed;
  border: 2px solid var(--paper);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font:
    italic bold 27px/1 Georgia,
    serif;
}
.editor,
.box,
.result-panel,
.pack-panel,
.challenge-panel {
  background: var(--panel);
  border: 1.5px solid var(--ink);
  border-radius: 12px;
}
.editor {
  padding: 19px 20px 17px;
  box-shadow: 2px 3px 0 #d6cfc6;
}
.editor-head,
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.editor label,
.box h2,
.section-h {
  font: 750 1.55rem/1.15 var(--serif);
  letter-spacing: -0.045em;
}
.editor .wordcount {
  color: #625d65;
  letter-spacing: 0.065em;
  font-size: 0.71rem;
}
.wordcount.over,
.error {
  color: #a02e35;
}
.editor textarea {
  display: block;
  width: 100%;
  min-height: 81px;
  margin: 13px 0 14px;
  border: 1px solid #b8b0b6;
  border-radius: 7px;
  background: #fffefd;
  padding: 12px 13px;
  resize: vertical;
  line-height: 1.5;
  color: var(--ink);
  font-size: 1rem;
}
.editor textarea::placeholder {
  color: #827b80;
}
.editor textarea:focus {
  outline: 2px solid var(--purple);
  outline-offset: 0;
  border-color: transparent;
}
.editor-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.reader-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.77rem;
  color: #655d68;
}
.reader-dot {
  width: 8px;
  height: 8px;
  border: 1.3px solid #624282;
  background: #c7abed;
  border-radius: 50%;
  flex: none;
}
.primary,
.secondary,
.pack-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  border: 1.6px solid var(--ink);
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 720;
  padding: 10px 17px;
  text-decoration: none;
  background: var(--ink);
  color: white;
}
.primary:hover {
  background: #48374f;
}
.secondary {
  background: #fffaf3;
  color: var(--ink);
}
.secondary:hover,
.pack-button:hover {
  background: #f4e9c6;
}
.error {
  margin: 9px 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
}
.error:empty {
  display: none;
}
.aside {
  display: grid;
  gap: 18px;
}
.box {
  padding: 22px 22px 18px;
  background: #fffcf5;
}
.box h2 {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.box h2 .icon {
  color: #674a90;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.steps li {
  display: grid;
  grid-template-columns: 23px 1fr;
  gap: 9px;
  align-items: start;
  font-size: 0.9rem;
  line-height: 1.48;
  color: #4c474a;
}
.step-number {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font: 700 0.72rem var(--mono);
  background: #eee5f7;
  color: #29202c;
}
.steps li:nth-child(2) .step-number {
  background: #ffeac0;
}
.steps li:nth-child(3) .step-number {
  background: #f8dacc;
}
.steps strong {
  color: var(--ink);
}
.pack-ad {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  min-height: 182px;
  padding: 20px 21px;
  background: #fbe6a7;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
}
.pack-ad h2 {
  font: 800 1.88rem/1.1 var(--serif);
  letter-spacing: -0.055em;
  margin: 10px 0 4px;
}
.pack-ad p {
  font-size: 0.87rem;
  line-height: 1.45;
  margin: 0 0 15px;
  max-width: 72%;
}
.eyebrow {
  margin: 0;
  color: #5e5356;
}
.pack-ad .eyebrow {
  color: #514222;
}
.pack-button {
  min-height: 33px;
  padding: 6px 11px;
  background: #fffae8;
  color: var(--ink);
  font-size: 0.82rem;
}
.pack-art {
  position: absolute;
  bottom: 15px;
  right: 9px;
  width: 86px;
  height: 108px;
  z-index: -1;
  transform: rotate(11deg);
}
.pack-art i {
  position: absolute;
  inset: 7px 15px 4px 5px;
  border-radius: 6px;
  border: 1.6px solid var(--ink);
  background: var(--pink);
  transform: rotate(-22deg);
}
.pack-art i:nth-child(2) {
  background: #ace0c8;
  transform: rotate(-9deg);
}
.pack-art i:last-child {
  display: grid;
  place-items: center;
  background: #ad90d9;
  transform: rotate(7deg);
  color: #2d2036;
  box-shadow: 1px 2px 0 var(--ink);
}
.pack-art i:last-child:before,
.pack-art i:last-child:after {
  content: '✦';
  font-size: 10px;
  position: absolute;
  top: 4px;
  left: 5px;
}
.pack-art i:last-child:after {
  top: auto;
  left: auto;
  right: 5px;
  bottom: 4px;
}
.pack-art .icon {
  width: 32px;
  height: 32px;
  fill: #ffe8a0;
}
.footer {
  border-top: 1px solid var(--rule);
  padding: 17px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.79rem;
  color: #736b70;
}
.footer span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 700 1.07rem var(--serif);
  letter-spacing: -0.045em;
  color: #514c51;
}
dialog {
  max-width: min(460px, calc(100% - 28px));
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 5px 6px 0 var(--ink);
}
dialog::backdrop {
  background: #211b2a73;
}
.dialog-inner {
  padding: 29px;
  position: relative;
}
.close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: 0;
  font-size: 1.8rem;
}
.dialog-inner h2,
.challenge-panel h2,
.result-panel h2,
.pack-panel h2 {
  font: 750 2.1rem/1.1 var(--serif);
  letter-spacing: -0.055em;
  margin: 8px 0 16px;
}
.rules {
  padding-left: 24px;
}
.rules li {
  padding: 0 0 13px 4px;
  line-height: 1.5;
}
.loading {
  padding: 36px 0;
}
.result-panel,
.challenge-panel,
.pack-panel {
  padding: 24px;
}
.quote {
  font: italic 650 clamp(1.65rem, 3.1vw, 2.55rem)/1.22 var(--serif);
  letter-spacing: -0.038em;
  margin: 17px 0 22px;
  overflow-wrap: anywhere;
}
.score {
  background: #e4f0da;
  border: 1px solid #6d8660;
  color: #31422c;
  border-radius: 25px;
  padding: 6px 12px;
  white-space: nowrap;
  font: 700 0.8rem/1.2 var(--mono);
}
.score.s0,
.score.s1 {
  background: #fae9d1;
  border-color: #aa8760;
  color: #63451e;
}
.result-text {
  line-height: 1.55;
  margin: 13px 0;
}
.result-panel details {
  margin: 15px 0;
  border-block: 1px solid var(--rule);
  padding: 12px 0;
  font-size: 0.9rem;
}
.round-breakdown {
  margin: 20px 0;
}
.round-breakdown .row h2 {
  font-size: 1.45rem;
  margin: 0;
}
.round-breakdown ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.round-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
}
.round-breakdown li strong {
  font-size: 0.84rem;
  white-space: nowrap;
}
.round-breakdown p {
  color: var(--muted);
  font-size: 0.92rem;
}
.result-panel details summary {
  cursor: pointer;
  font-weight: 600;
}
.result-panel details p {
  font: italic 1.22rem var(--serif);
  margin: 10px 0 0;
}
.actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.share-feedback {
  margin: 9px 0 0;
  font-size: 0.85rem;
  color: #54455e;
}
.share-feedback:empty {
  display: none;
}
.copy-field {
  width: 100%;
  padding: 9px;
  border: 1px solid var(--rule);
  border-radius: 5px;
  margin-top: 8px;
}
.page-title {
  font-size: clamp(2.7rem, 5vw, 4.4rem);
}
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.round-link {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-height: 124px;
  justify-content: space-between;
  gap: 14px;
  padding: 17px;
  border: 1.4px solid var(--ink);
  border-radius: 9px;
  background: var(--panel);
  text-decoration: none;
}
.round-link:hover {
  background: #f0e8fa;
  box-shadow: 2px 3px 0 var(--ink);
}
.round-link b {
  font: 700 1.25rem/1.2 var(--serif);
  letter-spacing: -0.025em;
}
.mini {
  font-size: 0.69rem;
  letter-spacing: 0.05em;
  color: #66566d;
}
.collection-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}
.collection-meta .icon {
  color: var(--purple);
}
.pack-panel {
  position: relative;
  background: #fff0be;
  overflow: hidden;
  margin: 18px 0 26px;
}
.pack-panel h2 {
  font-size: 2.65rem;
  margin-bottom: 6px;
}
.pack-panel p {
  max-width: 72%;
  line-height: 1.5;
}
.pack-panel .pack-art {
  width: 115px;
  height: 145px;
  right: 22px;
  bottom: 24px;
}
.pack-note {
  font-size: 0.83rem;
  color: #5d5151;
}
.challenge-panel {
  max-width: 760px;
}
.guess-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 16px 0;
}
.option {
  background: white;
  border: 1.25px solid #a9a3a9;
  border-radius: 6px;
  min-height: 45px;
  padding: 8px;
  text-align: left;
}
.option[aria-pressed='true'] {
  border: 2px solid var(--purple);
  background: #ede4f8;
}
.option:disabled {
  cursor: default;
  opacity: 1;
}
.guess-hint {
  font-size: 0.86rem;
  color: #6c616b;
}
.back {
  font-size: 0.9rem;
}
.result-panel .reader-note {
  margin-top: 9px;
}
@media (min-width: 1450px) {
  .wrap {
    padding-top: 49px;
  }
  .scene-card {
    height: 260px;
  }
}
@media (max-width: 1000px) {
  .bar,
  .wrap,
  .footer {
    width: calc(100% - 48px);
  }
  .game-layout {
    gap: 20px;
    grid-template-columns: minmax(0, 2fr) minmax(224px, 1fr);
  }
  .scene-card {
    height: 216px;
  }
  .box,
  .pack-ad {
    padding: 16px;
  }
  .pack-art {
    width: 64px;
    height: 90px;
  }
  .bar {
    gap: 24px;
  }
}
@media (max-width: 740px) {
  .bar,
  .wrap,
  .footer {
    width: calc(100% - 32px);
  }
  .bar {
    min-height: 65px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 27px;
    gap: 5px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .nav {
    gap: 0;
    margin-left: auto;
  }
  .nav a {
    font-size: 0.82rem;
    padding: 8px 9px;
  }
  .help-button {
    margin-left: 3px;
    padding: 7px;
    border: 0;
  }
  .help-button span:last-child {
    display: none;
  }
  .help-button .question-icon {
    width: 21px;
    height: 21px;
    font-size: 0.8rem;
  }
  .wrap {
    padding: 26px 0 30px;
  }
  .masthead {
    margin-bottom: 21px;
  }
  .masthead h1 {
    font-size: clamp(2.55rem, 8.6vw, 4.3rem);
  }
  .lede {
    font-size: 0.99rem;
  }
  .game-layout {
    grid-template-columns: 1fr;
  }
  .aside {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .scene-card {
    height: 216px;
  }
  .list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pack-ad {
    min-height: 150px;
  }
  .pack-ad p {
    max-width: 80%;
  }
}
@media (max-width: 490px) {
  .bar,
  .wrap,
  .footer {
    width: calc(100% - 28px);
  }
  .bar {
    gap: 3px;
  }
  .nav a {
    padding: 7px;
    font-size: 0.76rem;
  }
  .brand {
    font-size: 24px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .help-button {
    padding: 4px;
    margin-left: 2px;
  }
  .meta {
    gap: 8px;
  }
  .tag,
  .meta-date {
    font-size: 0.63rem;
  }
  .pair {
    gap: 9px;
    margin-bottom: 16px;
  }
  .scene-card {
    height: 186px;
    padding: 10px 8px 12px;
    grid-template-rows: auto minmax(70px, 1fr) auto;
    border-radius: 9px;
  }
  .scene-card h2 {
    font-size: 1.34rem;
  }
  .scene-label {
    font-size: 0.6rem;
    padding: 3px 5px;
  }
  .amp {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
  .aside {
    grid-template-columns: 1fr;
  }
  .editor,
  .box,
  .result-panel,
  .challenge-panel,
  .pack-panel {
    padding: 16px;
  }
  .editor-bottom {
    gap: 7px;
  }
  .reader-note {
    font-size: 0.72rem;
  }
  .primary,
  .secondary {
    padding: 9px 12px;
  }
  .pack-ad .pack-art {
    width: 90px;
    height: 112px;
  }
  .pack-panel .pack-art {
    width: 65px;
    height: 90px;
    right: 7px;
    bottom: 18px;
  }
  .pack-panel p {
    max-width: 83%;
  }
  .list-grid {
    grid-template-columns: 1fr;
  }
  .round-link {
    min-height: 85px;
  }
  .guess-options {
    grid-template-columns: 1fr;
  }
  .scene-emoji {
    font-size: 4rem;
  }
  .pack-ad {
    min-height: 146px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      background-color 0.13s,
      box-shadow 0.13s;
  }
  .result-panel {
    animation: arrive 0.18s ease-out;
  }
  @keyframes arrive {
    from {
      transform: translateY(4px);
      opacity: 0.35;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}
.history {
  margin-top: 28px;
}
.history ul {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
}
.history a {
  display: inline-block;
  padding: 6px 0;
  text-underline-offset: 4px;
}
.result-panel .guess-hint {
  margin: 14px 0 0;
}
.masthead h1 em {
  white-space: nowrap;
}
.editor-bottom .primary {
  white-space: nowrap;
  flex: none;
}
@media (max-width: 490px) {
  .nav-extra {
    display: none;
  }
  .bar {
    flex-wrap: nowrap;
  }
  .help-button {
    margin-left: auto;
  }
  .nav {
    margin-left: auto;
    gap: 1px;
  }
  .nav a {
    padding: 8px 6px;
  }
  .brand {
    font-size: 23px;
  }
  .brand img {
    width: 27px;
    height: 27px;
  }
  .editor-bottom .reader-note {
    line-height: 1.3;
  }
  .masthead h1 {
    font-size: clamp(2.35rem, 8vw, 3rem);
  }
}
@media (max-width: 350px) {
  .nav a {
    font-size: 0.7rem;
    padding: 7px 4px;
  }
  .brand {
    font-size: 20px;
  }
  .brand img {
    width: 23px;
    height: 23px;
  }
  .bar {
    gap: 0;
  }
  .reader-note {
    max-width: 95px;
  }
}

.clue-card {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  margin: 0 0 20px;
  padding: clamp(20px, 3vw, 35px);
  background: #e7dcf6;
  border: 1.7px solid var(--ink);
  border-radius: 13px;
  box-shadow: 2px 3px 0 var(--ink);
}
.clue-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(#59456d 0.75px, transparent 1px);
  background-size: 5px 5px;
  opacity: 0.22;
  mask-image: linear-gradient(120deg, transparent 45%, black);
}
.clue-card blockquote {
  max-width: 24ch;
  margin: 12px 0 2px;
  font: italic 700 clamp(2rem, 4vw, 3.4rem)/1.12 var(--serif);
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}
.editor-head .section-h {
  margin: 0;
}
.guess-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  padding: 13px;
  min-height: 95px;
  background: #fffcf6;
  border: 1.5px solid #b0a6b1;
  font-size: 0.92rem;
  line-height: 1.25;
  font-weight: 650;
}
.option:hover {
  background: #f3ecfa;
  border-color: var(--purple);
}
.option[aria-pressed='true'] {
  border-width: 1.5px;
  box-shadow: inset 0 0 0 1px var(--purple);
}
.option[aria-pressed='true']::after {
  content: '✓';
  position: absolute;
  top: 7px;
  right: 8px;
  color: #fff;
  background: #6945a5;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  text-align: center;
}
.option-art {
  font-size: 1.75rem;
  line-height: 1.1;
}
.editor-bottom small,
#score-status {
  font-size: 0.83rem;
  color: var(--muted);
}
.duel-panel,
.after-round {
  margin-top: 17px;
}
.duel-panel > p {
  line-height: 1.5;
}
.standings {
  padding-left: 19px;
  line-height: 1.7;
}
.text-button {
  padding: 7px 0;
  margin: 12px 0 0;
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.86rem;
}
@media (max-width: 550px) {
  .guess-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .option {
    min-height: 78px;
    padding: 9px;
  }
  .option-art {
    font-size: 1.4rem;
  }
  .editor-head .section-h {
    font-size: 1.25rem;
  }
}
.rubric,
.judge-marks li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
}
.rubric {
  margin: 1.2rem 0;
  row-gap: 0.75rem;
}
.rubric dd,
.total-mark,
.judge-marks b {
  font-weight: 750;
  color: #5e4894;
}
.judge-marks {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}
.judge-marks li {
  padding: 0.75rem 0;
  border-top: 1px solid #d9d5cc;
}
.judge-marks small {
  grid-column: 1/-1;
  font-size: 0.96rem;
}
.tone-brief {
  margin: 0 0 1rem;
  color: #4f3c79;
}
.tone-brief strong {
  padding: 0.3rem 0.55rem;
  border-radius: 5px;
  background: #e8ddf6;
}
.game-left > .result-panel + .result-panel {
  margin-top: 1rem;
}

.scene-card:has(img[src^="/api/art/"]) .scene-art { mix-blend-mode: multiply; }
.scene-art img[src^="/api/art/"] { padding: 0; filter: brightness(1.18) contrast(1.07); }
.scene-card h2::first-letter { text-transform: uppercase; }
