/* Say It Like a Drama — Cha Cha's stage, Deng's grading desk. */
.sayit-shell {
  --si-gold: var(--gold, #d5ac58);
  --si-paper: var(--paper, #f3eee5);
  --si-red: #c4483a;
  --si-cream: #fff4e2;
  --si-ink: #2b2420;
  color: var(--si-paper);
  margin: 0 auto;
  max-width: 1000px;
  padding: 0 24px clamp(64px, 9vw, 112px);
}
.sayit-shell :focus-visible { outline: 3px solid var(--si-gold); outline-offset: 4px; }
.sayit-shell [hidden] { display: none !important; }

.sayit-stage {
  background: linear-gradient(135deg, rgba(213, 172, 88, .08), transparent 42%), rgba(13, 32, 47, .92);
  border: 1px solid rgba(213, 172, 88, .38);
  margin: 0 auto;
  max-width: 880px;
  padding: clamp(22px, 5vw, 52px);
}
.sayit-progress {
  align-items: center; color: var(--si-gold); display: flex; gap: 14px;
  font: 700 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em; margin: 0 0 24px; text-transform: uppercase;
}
.sayit-progress::after { background: linear-gradient(90deg, var(--si-gold), rgba(213,172,88,.16)); content: ""; flex: 1; height: 1px; }
.sayit-heading {
  font: 500 clamp(28px, 5vw, 46px)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -.03em; margin: 0 0 16px; text-wrap: balance;
}
.sayit-stage p { color: #c7d1d7; font-size: clamp(16px, 1.8vw, 18px); line-height: 1.7; }

/* Deck picker */
.sayit-decks { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 26px 0 8px; }
.sayit-deck {
  background: rgba(6, 19, 33, .56); border: 1px solid var(--line, rgba(222,228,226,.2)); border-radius: 12px;
  color: var(--si-paper); cursor: pointer; display: grid; gap: 4px; padding: 16px; text-align: left;
}
.sayit-deck:hover, .sayit-deck:focus-visible { border-color: var(--si-gold); background: rgba(213,172,88,.08); }
.sayit-deck b { color: var(--si-gold); font: 700 26px/1 "Noto Serif SC", "Songti SC", serif; }
.sayit-deck strong { font: 600 17px/1.2 Georgia, serif; }
.sayit-deck span { color: var(--mist, #a9bbc8); font-size: 13px; }
.sayit-deck small { color: var(--si-gold); font: 700 10px/1.4 ui-monospace, monospace; letter-spacing: .1em; margin-top: 6px; }

/* Scene */
.sayit-scene { align-items: center; display: grid; gap: 18px; grid-template-columns: 140px 1fr; margin: 4px 0 18px; }
.sayit-scene img { width: 100%; }
.sayit-bubble {
  background: var(--si-cream); border-radius: 18px; color: var(--si-ink); padding: 16px 20px; position: relative;
  font: 500 clamp(17px, 2vw, 20px)/1.45 Georgia, serif;
}
.sayit-bubble::before { border: 12px solid transparent; border-right-color: var(--si-cream); content: ""; left: -22px; position: absolute; top: 28px; }
.sayit-bubble small { color: var(--si-red); display: block; font: 700 10px/1.4 ui-monospace, monospace; letter-spacing: .14em; margin-bottom: 6px; text-transform: uppercase; }
.sayit-ask { color: var(--si-gold) !important; font: 700 11px/1.4 ui-monospace, monospace !important; letter-spacing: .14em; margin: 18px 0 10px; text-transform: uppercase; }
.sayit-toggle { align-items: center; color: var(--mist, #a9bbc8); display: inline-flex; font-size: 14px; gap: 8px; margin-bottom: 12px; }

.sayit-options { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.sayit-option {
  background: rgba(6, 19, 33, .56); border: 1px solid var(--line, rgba(222,228,226,.2)); border-radius: 12px;
  color: var(--si-paper); cursor: pointer; display: grid; gap: 4px; min-height: 92px; padding: 14px 16px; text-align: left; width: 100%;
}
.sayit-option:hover:not(:disabled), .sayit-option:focus-visible { border-color: var(--si-gold); }
.sayit-option .zh { font: 600 clamp(22px, 3vw, 28px)/1.2 "Noto Serif SC", "Songti SC", serif; }
.sayit-option .py { color: var(--si-gold); font-size: 14px; }
.sayit-option .en { color: var(--mist, #a9bbc8); font-size: 14px; }
.sayit-option.is-right { background: rgba(117, 175, 145, .2); border-color: var(--jade, #75af91); }
.sayit-option.is-wrong { background: rgba(217, 106, 98, .16); border-color: var(--coral, #d96a62); }
.sayit-option:disabled { cursor: default; }

/* Deng's verdict + phrase card */
.sayit-verdict { align-items: start; display: grid; gap: 16px; grid-template-columns: 110px 1fr; margin-top: 22px; }
.sayit-verdict img { width: 100%; }
.sayit-verdict h3 { font: 600 20px/1.2 Georgia, serif; margin: 6px 0 10px; }
.sayit-card {
  background: var(--si-cream); border: 2px solid var(--si-red); border-radius: 14px; color: var(--si-ink);
  padding: 16px 18px; position: relative;
}
.sayit-card .deck { color: var(--si-red); font: 700 10px/1.4 ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.sayit-card .zh { font: 700 clamp(28px, 4.4vw, 40px)/1.15 "Noto Serif SC", "Songti SC", serif; margin: 4px 0; }
.sayit-card .py { color: #a05a2c; font-size: 16px; }
.sayit-card .en { font: 600 18px/1.3 Georgia, serif; margin: 6px 0 8px; }
.sayit-card .note { border-top: 1px dotted #d7c3ad; color: #5d524a !important; font: italic 15px/1.5 Georgia, serif !important; margin: 0 !important; padding-top: 8px; }
.sayit-card .note b { color: #a05a2c; font: 700 10px/1 ui-monospace, monospace; font-style: normal; letter-spacing: .14em; margin-right: 6px; text-transform: uppercase; }
.sayit-hear {
  background: transparent; border: 1px solid var(--si-red); border-radius: 30px; color: var(--si-red); cursor: pointer;
  font: 700 11px/1 ui-monospace, monospace; letter-spacing: .08em; padding: 7px 12px; position: absolute; right: 14px; top: 14px;
}
.sayit-hear:hover, .sayit-hear:focus-visible { background: var(--si-red); color: #fff; }

.sayit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.sayit-status { color: var(--mist, #a9bbc8) !important; font-size: 14px !important; min-height: 1em; }

/* Results and deck */
.sayit-score { color: var(--si-gold); font: 600 clamp(40px, 7vw, 64px)/1 Georgia, serif; margin: 6px 0 4px; }
.sayit-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin: 18px 0; }
.sayit-mini {
  background: var(--si-cream); border: 2px solid var(--si-red); border-radius: 10px; color: var(--si-ink);
  min-height: 112px; padding: 10px 12px;
}
.sayit-mini .zh { font: 700 22px/1.2 "Noto Serif SC", "Songti SC", serif; }
.sayit-mini .py { color: #a05a2c; font-size: 12px; }
.sayit-mini .en { font-size: 13px; line-height: 1.3; margin-top: 4px; }
.sayit-mini.is-locked { background: rgba(6,19,33,.5); border: 1px dashed var(--line, rgba(222,228,226,.3)); color: var(--mist, #a9bbc8); display: grid; place-items: center; text-align: center; }
.sayit-mini.is-locked span { font: 700 26px/1 Georgia, serif; }
.sayit-deckhead { color: var(--si-gold); font: 700 11px/1.4 ui-monospace, monospace; letter-spacing: .14em; margin: 22px 0 0; text-transform: uppercase; }
.sayit-shop {
  align-items: center; background: rgba(196, 72, 58, .14); border: 1px solid rgba(196, 72, 58, .55); border-radius: 14px;
  display: grid; gap: 14px; grid-template-columns: 90px 1fr; margin-top: 26px; padding: 16px;
}
.sayit-shop img { width: 100%; }
.sayit-shop p { margin: 0 0 8px !important; }
.sayit-fine { color: var(--mist, #a9bbc8); font-size: 13px; margin: 8px auto 18px; max-width: 880px; }

@media (max-width: 560px) {
  .sayit-options { grid-template-columns: 1fr; }
  .sayit-scene, .sayit-verdict, .sayit-shop { grid-template-columns: 1fr; }
  .sayit-scene img { margin: 0 auto; max-width: 120px; }
  .sayit-verdict img, .sayit-shop img { max-width: 90px; }
  .sayit-bubble::before { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .sayit-card { animation: sayit-pop .35s ease-out; }
  @keyframes sayit-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
}

/* Static guide below the game (crawlable, readable without JavaScript). */
.sayit-guide { margin: clamp(36px, 6vw, 64px) auto 0; max-width: 880px; }
.sayit-guide h2 { font: 500 clamp(24px, 3.6vw, 34px)/1.15 Georgia, serif; margin: 28px 0 12px; }
.sayit-guide ol, .sayit-guide p { color: #c7d1d7; font-size: 17px; line-height: 1.7; }
.sayit-guide li { margin-bottom: 6px; }
.sayit-guide__decks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 16px 0; }
.sayit-guide__decks > div { border: 1px solid var(--line, rgba(222,228,226,.2)); border-radius: 12px; padding: 14px 18px; }
.sayit-guide__decks h3 { color: var(--si-gold); font: 600 18px/1.3 Georgia, serif; margin: 0 0 8px; }
.sayit-guide__decks ul { color: #c7d1d7; font-size: 15px; line-height: 1.6; margin: 0; padding-left: 18px; }
.sayit-guide__decks em { color: var(--si-gold); font-style: normal; }
