@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Lilita+One&family=Nunito:wght@400;600;700;800&family=Space+Mono:wght@700&display=swap");

:root {
  color-scheme: dark;
  --ll-ink: #f8e8bf;
  --ll-muted: #cdbb96;
  --ll-gold: #e5b550;
  --ll-gold-pale: #f4d58d;
  --ll-green: #225b4c;
  --ll-green-light: #347461;
  --ll-deep: #0f2d28;
  --ll-correct: #548b62;
  --ll-present: #bb8837;
  --ll-absent: #344b45;
  --ll-empty: rgba(11, 43, 37, .82);
  font-family: "Nunito", sans-serif;
  color: var(--ll-ink);
  background: #0f2d28;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100dvh;
  margin: 0;
  background: #0f2d28;
  overflow-x: hidden;
}
button, a { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible {
  outline: 3px solid var(--ll-gold-pale);
  outline-offset: 3px;
  z-index: 2;
}
.ll-art-backdrop {
  position: fixed;
  z-index: 0;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0f2d28;
}
.ll-art-backdrop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ll-art-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 25, 23, .12), rgba(7, 25, 23, .20) 52%, rgba(7, 25, 23, .44));
  pointer-events: none;
}
.letterlock {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  min-height: 100dvh;
  margin-inline: auto;
  padding: max(16px, env(safe-area-inset-top)) clamp(14px, 4vw, 40px) max(24px, env(safe-area-inset-bottom));
}
.ll-topbar {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 14px;
  min-height: 48px;
}
.ll-town-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--ll-ink);
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}
.ll-town-link span { color: var(--ll-gold); font-size: 1.3rem; }
.ll-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ll-gold-pale);
  font: 1.25rem "Lilita One", Georgia, serif;
  letter-spacing: .025em;
}
.ll-brand img { width: 35px; height: 35px; object-fit: contain; }
.ll-top-actions { display: flex; justify-content: end; gap: 8px; }
.ll-player-actions { display: flex; align-items: center; justify-content: end; gap: 8px; }
.ll-wallet-label { color: #e8d5ab; font-size: .74rem; font-weight: 800; }
.ll-player-quirkie {
  position: fixed;
  z-index: 4;
  bottom: max(8px, env(safe-area-inset-bottom));
  left: max(8px, env(safe-area-inset-left));
  display: flex;
  width: clamp(54px, 7vw, 92px);
  height: clamp(66px, 13vh, 116px);
  align-items: flex-end;
  justify-content: center;
  text-decoration: none;
}
.ll-player-quirkie[hidden] { display: none; }
.ll-player-quirkie img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.ll-player-quirkie:focus-visible { outline: 3px solid var(--ll-gold-pale); outline-offset: 2px; border-radius: 8px; }
.ll-back-town {
  display: inline-block;
  margin-top: 12px;
  color: #e8d5ab;
  font-size: .75rem;
  font-weight: 800;
  text-decoration-color: rgba(229, 181, 80, .6);
  text-underline-offset: 3px;
}
.ll-icon-button {
  display: inline-grid;
  min-width: 40px;
  min-height: 40px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid rgba(229, 181, 80, .5);
  border-radius: 999px;
  background: rgba(13, 43, 38, .86);
  color: #f6e2b7;
  cursor: pointer;
  font-size: .77rem;
  font-weight: 800;
}
.ll-icon-button:hover { background: #235344; }
.ll-icon-button[hidden], .ll-action[hidden] { display: none; }
.ll-main {
  width: min(570px, 100%);
  margin: 0 auto;
  padding: 8px 0 20px;
  text-align: center;
}
.ll-heading {
  margin: 4px 0 2px;
  color: #f2cc75;
  font: clamp(2.3rem, 7vw, 3.55rem)/1 "Lilita One", Georgia, serif;
  text-shadow: 0 3px 0 rgba(71, 41, 18, .8);
}
.ll-intro { margin: 5px 0 14px; color: #eadbb9; font-size: .9rem; }
.ll-host-stage { display: flex; min-height: 58px; align-items: center; justify-content: center; gap: 8px; margin: 0 0 8px; color: var(--ll-gold-pale); font: .8rem "Lilita One", Georgia, serif; }
.ll-host-art { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0,0,0,.34)); }
.ll-host-art { animation: ll-locky-float 3.8s ease-in-out infinite; transform-origin: center bottom; }
.ll-host-art.is-winning { animation: ll-locky-bounce 680ms cubic-bezier(.2,.8,.2,1); }
.ll-host-art.is-losing { animation: ll-locky-droop 900ms ease-in-out; }
@keyframes ll-locky-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes ll-locky-bounce { 0%,100% { transform: translateY(0) rotate(0); } 35% { transform: translateY(-13px) rotate(-5deg); } 65% { transform: translateY(-4px) rotate(4deg); } }
@keyframes ll-locky-droop { 0% { transform: rotate(0); } 25% { transform: rotate(8deg) translateY(2px); } 55%,100% { transform: rotate(13deg) translateY(5px); opacity: .82; } }
.ll-mode-switch {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(229, 181, 80, .42);
  border-radius: 999px;
  background: rgba(10, 37, 33, .9);
}
.ll-mode-button {
  min-width: 72px;
  min-height: 34px;
  padding: 6px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #cdbb96;
  cursor: pointer;
  font-size: .77rem;
  font-weight: 800;
}
.ll-mode-button[aria-pressed="true"] {
  background: linear-gradient(#edc96e, #c7943e);
  color: #392814;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .26);
}
.ll-state-switch {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 12px 0 7px;
}
.ll-state-button {
  padding: 4px 2px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #cdbb96;
  cursor: pointer;
  font-size: .73rem;
  font-weight: 800;
}
.ll-state-button[aria-pressed="true"] { border-color: var(--ll-gold); color: var(--ll-gold-pale); }
.ll-game-status {
  min-height: 24px;
  margin: 0 0 7px;
  color: #f2d997;
  font-size: .8rem;
  font-weight: 800;
}
.ll-lock-card {
  width: min(410px, 100%);
  margin: 0 auto 8px;
  padding: 8px 12px;
  border: 1px solid rgba(229, 181, 80, .62);
  border-radius: 10px;
  background: rgba(10, 37, 33, .94);
  color: #eadbb9;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.ll-lock-card strong { display: block; color: var(--ll-gold-pale); font: .92rem "Lilita One", Georgia, serif; }
.ll-lock-card p { margin: 3px 0 0; font-size: .72rem; line-height: 1.35; }
.ll-how-to {
  width: min(410px, 100%);
  margin: 0 auto 8px;
  color: #f2d997;
  text-align: left;
}
.ll-how-to summary { width: fit-content; margin: 0 auto; cursor: pointer; font-size: .75rem; font-weight: 800; }
.ll-how-to p {
  margin: 6px 0 0;
  padding: 8px 11px;
  border: 1px solid rgba(229, 181, 80, .38);
  border-radius: 8px;
  background: rgba(10, 37, 33, .94);
  color: #eadbb9;
  font-size: .72rem;
  line-height: 1.4;
}
.ll-board {
  display: grid;
  width: min(316px, 88vw);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(5px, 1.5vw, 8px);
  margin: 0 auto 14px;
}
.ll-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: inherit;
}
.ll-tile {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(244, 213, 141, .68);
  border-radius: 8px 3px 8px 3px;
  background: var(--ll-empty);
  color: #fbebc9;
  font: clamp(1.22rem, 6vw, 1.85rem)/1 "Space Mono", monospace;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 2px rgba(229, 181, 80, .08), 0 3px 8px rgba(0, 0, 0, .16);
}
.ll-tile-lock { position: absolute; top: 2px; right: 3px; color: #fff0b2; font: 9px/1 system-ui, sans-serif; }
.ll-tile.is-locked { border-color: #f4d58d; box-shadow: inset 0 0 0 2px rgba(244, 213, 141, .24), 0 0 9px rgba(229, 181, 80, .34); }
.ll-locked-prefill { color: #fff5d8; font-weight: 700; text-shadow: 0 0 8px rgba(244, 213, 141, .62); }
.ll-locked-ghost { color: var(--ll-gold-pale); opacity: .4; text-shadow: 0 0 6px rgba(229, 181, 80, .35); }
.ll-tile[data-state="correct"] { border-color: #86b17b; background: var(--ll-correct); }
.ll-tile[data-state="present"] { border-color: #e3b957; background: var(--ll-present); }
.ll-tile[data-state="absent"] { border-color: #82918a; background: var(--ll-absent); }
.ll-tile.is-pop { animation: ll-tile-pop 130ms ease-out; }
.ll-tile.is-flipping { animation: ll-tile-flip 240ms ease-in-out; }
.ll-row.is-shaking { animation: ll-row-shake 400ms ease-in-out; }
.ll-row.is-winning .ll-tile { animation: ll-tile-bounce 420ms ease-in-out; animation-delay: calc(var(--tile-index, 0) * 55ms); }
@keyframes ll-tile-pop { 0% { transform: scale(1); } 55% { transform: scale(1.13); } 100% { transform: scale(1); } }
@keyframes ll-tile-flip { 0% { transform: rotateX(0); } 48% { transform: rotateX(90deg); } 52% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }
@keyframes ll-row-shake { 0%,100% { transform: translateX(0); } 20%,60% { transform: translateX(-7px); } 40%,80% { transform: translateX(7px); } }
@keyframes ll-tile-bounce { 0%,100% { transform: translateY(0); } 45% { transform: translateY(-7px); } }
.ll-keyboard {
  display: grid;
  gap: 6px;
  width: min(530px, 100%);
  margin-inline: auto;
}
.ll-key-row { display: flex; justify-content: center; gap: clamp(3px, .8vw, 6px); }
.ll-key {
  display: grid;
  min-width: 0;
  flex: 1 1 0;
  min-height: 47px;
  place-items: center;
  padding: 4px 0;
  border: 1px solid rgba(229, 181, 80, .28);
  border-radius: 6px;
  background: linear-gradient(160deg, rgba(38, 78, 65, .98), rgba(22, 54, 47, .98));
  color: #f5e6c5;
  cursor: pointer;
  font: 700 .95rem "Fredoka", sans-serif;
  text-transform: uppercase;
  box-shadow: 0 3px 0 rgba(4, 20, 16, .5);
}
.ll-key:hover { background: #36715c; }
.ll-key[data-state="correct"] { background: var(--ll-correct); }
.ll-key[data-state="present"] { background: var(--ll-present); }
.ll-key[data-state="absent"] { background: var(--ll-absent); color: #deded2; }
.ll-key[data-key="ENTER"], .ll-key[data-key="BACKSPACE"] {
  flex: 1.55 1 0;
  font-size: .67rem;
  letter-spacing: -.025em;
}
.ll-below-board {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}
.ll-action {
  min-height: 38px;
  padding: 7px 15px;
  border: 1px solid rgba(229, 181, 80, .52);
  border-radius: 999px;
  background: rgba(11, 43, 37, .91);
  color: var(--ll-ink);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 800;
}
.ll-action:hover { background: #245a49; }
.ll-action-primary {
  border-color: #f0ca70;
  background: linear-gradient(#e7bd61, #c38e3b);
  color: #362613;
}
.ll-action[disabled] { opacity: .5; cursor: not-allowed; }
.ll-hint-panel {
  width: min(400px, 100%);
  margin: 10px auto 0;
  padding: 12px 15px;
  border: 1px solid rgba(229, 181, 80, .38);
  border-radius: 10px;
  background: rgba(10, 37, 33, .92);
  color: #eadbb9;
  text-align: left;
}
.ll-hint-panel[hidden], .ll-dialog[hidden] { display: none; }
.ll-hint-panel h2 { margin: 0 0 4px; color: var(--ll-gold-pale); font: 1rem "Lilita One", Georgia, serif; }
.ll-hint-panel p { margin: 0; font-size: .82rem; line-height: 1.45; }
.ll-share-grid {
  display: grid;
  grid-template-columns: repeat(5, 14px);
  justify-content: center;
  gap: 3px;
  margin: 8px auto;
}
.ll-share-grid span { display: block; width: 14px; height: 14px; border-radius: 2px; background: var(--ll-absent); }
.ll-share-grid span[data-state="correct"] { background: var(--ll-correct); }
.ll-share-grid span[data-state="present"] { background: var(--ll-present); }
.ll-result-actions { display: flex; justify-content: center; gap: 8px; }
.ll-countdown { margin: 6px 0; color: var(--ll-gold-pale); font-size: .8rem; font-weight: 800; }

.ll-dialog {
  position: fixed;
  z-index: 5;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow-y: auto;
  background: rgba(4, 17, 15, .78);
}
.ll-dialog-card {
  width: min(420px, 100%);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid rgba(229, 181, 80, .72);
  border-radius: 16px 6px 16px 6px;
  background: #153b33;
  box-shadow: 0 22px 65px rgba(0, 0, 0, .45);
}
.ll-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ll-dialog-head h2 { margin: 0; color: var(--ll-gold-pale); font: 1.65rem "Lilita One", Georgia, serif; }
.ll-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(229, 181, 80, .45);
  border-radius: 50%;
  background: transparent;
  color: var(--ll-ink);
  cursor: pointer;
  font-size: 1.2rem;
}
.ll-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 20px 0;
}
.ll-guess-chart { display: grid; gap: 5px; margin: 12px 0; }
.ll-chart-row { display: grid; grid-template-columns: 20px 1fr 24px; gap: 7px; align-items: center; color: #ebd9b5; font: 700 .72rem "Space Mono", monospace; }
.ll-chart-bar { min-width: 2px; height: 15px; border-radius: 3px; background: linear-gradient(90deg, #b98737, #efd17b); }
.ll-chart-row.is-today .ll-chart-bar { background: linear-gradient(90deg, #f5793a, #ffdc82); box-shadow: 0 0 0 2px rgba(255, 225, 142, .45); }
.ll-stat { padding: 10px 3px; border-radius: 8px; background: rgba(10, 37, 33, .72); text-align: center; }
.ll-stat strong { display: block; color: var(--ll-gold-pale); font: 1.5rem "Lilita One", Georgia, serif; }
.ll-stat span { display: block; margin-top: 2px; color: var(--ll-muted); font-size: .62rem; font-weight: 800; }
.ll-dialog-card > p { margin: 10px 0 0; color: #e5d6b3; font-size: .83rem; line-height: 1.5; }
.ll-result-card { width: min(500px, 100%); text-align: center; }
.ll-result-card .ll-dialog-head { text-align: left; }
.ll-result-card .ll-stats { margin: 12px 0; }
.ll-result-card .ll-stat { padding: 7px 2px; }
.ll-result-card .ll-stat strong { font-size: 1.28rem; }
.ll-result-card .ll-stat span { font-size: .58rem; }
.ll-result-card > p { margin: 6px 0; }
.ll-help-card { width: min(460px, 100%); }
.ll-example-set { display: grid; gap: 5px; margin: 10px auto; width: min(280px, 100%); }
.ll-example-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.ll-example-row .ll-tile { width: 100%; font-size: 1rem; border-radius: 5px; }
.ll-example-row .ll-tile-lock { top: 1px; right: 2px; font-size: 7px; }
.ll-help-detail { margin-top: 6px !important; font-weight: 800; }
.ll-setting-option { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: .95rem; font-weight: 800; cursor: pointer; }
.ll-setting-option input { width: 20px; height: 20px; accent-color: var(--ll-gold); }
.ll-settings-card > p { margin-top: 10px; }
.ll-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ll-colorblind { --ll-correct: #f5793a; --ll-present: #85c0f9; --ll-absent: #263b38; --ll-empty: rgba(13, 48, 42, .82); }
.ll-colorblind .ll-tile[data-state="correct"] { border-color: #ffd4b5; color: #1d130d; }
.ll-colorblind .ll-tile[data-state="present"] { border-color: #e6f3ff; color: #071c2d; }
.ll-tile.is-locked[data-state="correct"],
.ll-colorblind .ll-tile.is-locked[data-state="correct"] { border-color: #f4d58d; }
.ll-colorblind .ll-key[data-state="correct"] { color: #21140c; }
.ll-colorblind .ll-key[data-state="present"] { color: #081b2b; }
.ll-colorblind .ll-share-grid span[data-state="correct"] { background: #f5793a; }
.ll-colorblind .ll-share-grid span[data-state="present"] { background: #85c0f9; }
.ll-mode-button[aria-disabled="true"] { opacity: .58; }
.ll-toast {
  position: fixed;
  z-index: 8;
  left: 50%;
  top: 0;
  bottom: auto;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 28px);
  padding: 10px 16px;
  border: 1px solid var(--ll-gold);
  border-radius: 999px;
  background: #f0d28c;
  color: #382817;
  font-size: .8rem;
  font-weight: 800;
  text-align: center;
}
.ll-toast[hidden] { display: none; }
@media (max-width: 540px) {
  .letterlock { padding: max(4px, env(safe-area-inset-top)) 8px max(5px, env(safe-area-inset-bottom)); }
  .ll-topbar { display: flex; min-height: 36px; gap: 5px; }
  .ll-town-link { gap: 3px; white-space: nowrap; font-size: .68rem; }
  .ll-town-link span { font-size: 1rem; }
  .ll-brand { flex: 1 1 auto; justify-content: center; gap: 4px; font-size: .9rem; white-space: nowrap; }
  .ll-brand img { width: 25px; height: 25px; }
  .ll-top-actions { flex: 0 0 auto; gap: 3px; }
  .ll-player-actions { flex: 0 0 auto; gap: 3px; }
  .ll-wallet-label { max-width: 32px; overflow: hidden; font-size: .58rem; white-space: nowrap; }
  .ll-icon-button { min-width: 30px; min-height: 31px; padding-inline: 6px; font-size: .65rem; }
  .ll-help-button, .ll-settings-button { width: 30px; padding-inline: 0; }
  .ll-settings-button { font-size: .85rem; }
  .ll-main { width: 100%; padding: 0 0 4px; }
  .ll-heading, .ll-intro, .ll-host-stage { display: none; }
  .ll-mode-switch { padding: 2px; }
  .ll-mode-button { min-width: 66px; min-height: 29px; padding: 3px 8px; font-size: .7rem; }
  .ll-state-switch { gap: 12px; margin: 3px 0 1px; }
  .ll-state-button { padding: 3px 1px; font-size: .68rem; }
  .ll-game-status { min-height: 16px; margin: 0 0 3px; font-size: .68rem; }
  .ll-lock-card { width: min(410px, 100%); margin-bottom: 4px; padding: 4px 8px; text-align: center; }
  .ll-lock-card strong { font-size: .78rem; white-space: nowrap; }
  .ll-board { width: min(260px, 68vw); gap: 4px; margin-bottom: 5px; }
  .ll-tile { border-radius: 6px 3px 6px 3px; font-size: clamp(1.05rem, 5vw, 1.5rem); }
  .ll-keyboard { gap: 4px; }
  .ll-key { min-height: 37px; border-radius: 5px; font-size: .8rem; }
  .ll-key[data-key="ENTER"], .ll-key[data-key="BACKSPACE"] { font-size: .58rem; }
  .ll-below-board { gap: 6px; margin-top: 5px; }
  .ll-action { min-height: 31px; padding: 5px 11px; font-size: .7rem; }
  .ll-back-town { margin-top: 5px; font-size: .68rem; }
  html.has-player-quirkie .ll-keyboard { padding-left: 54px; }
  .ll-dialog { padding: 10px; }
  .ll-dialog-card { max-height: calc(100dvh - 20px); padding: 16px; }
  .ll-result-card .ll-stats { gap: 4px; }
  .ll-result-card .ll-stat strong { font-size: 1.12rem; }
  .ll-result-card .ll-stat span { font-size: .52rem; }
}
@media (max-width: 360px) {
  .ll-topbar { gap: 3px; }
  .ll-town-link { font-size: .62rem; }
  .ll-brand { font-size: .82rem; }
  .ll-brand img { width: 22px; height: 22px; }
  .ll-player-actions { gap: 2px; }
  .ll-wallet-label { display: none; }
  .ll-key { min-height: 34px; font-size: .74rem; }
  .ll-key[data-key="ENTER"], .ll-key[data-key="BACKSPACE"] { font-size: .52rem; }
  .ll-state-switch { gap: 9px; }
}
@media (min-width: 541px) and (max-height: 860px) {
  .letterlock { padding-top: max(5px, env(safe-area-inset-top)); padding-bottom: max(6px, env(safe-area-inset-bottom)); }
  .ll-topbar { min-height: 36px; }
  .ll-main { padding-top: 0; padding-bottom: 5px; }
  .ll-heading, .ll-intro, .ll-host-stage { display: none; }
  .ll-state-switch { gap: 14px; margin: 4px 0 2px; }
  .ll-state-button { padding-block: 2px; }
  .ll-game-status { min-height: 17px; margin-bottom: 3px; font-size: .72rem; }
  .ll-lock-card { margin-bottom: 5px; padding: 5px 10px; }
  .ll-board { width: min(280px, 64vw); gap: 4px; margin-bottom: 6px; }
  .ll-keyboard { gap: 4px; }
  .ll-key { min-height: 39px; }
  .ll-below-board { margin-top: 5px; }
  .ll-action { min-height: 33px; }
  .ll-back-town { margin-top: 5px; }
}

/* Play next: big cross-promo cards for In10 City and Quirky Word (board + result popup) */
.ll-play-next { width: min(570px, 100%); margin: 12px auto 0; }
.ll-play-next-title { margin: 0 0 6px; color: var(--ll-gold-pale); font: 1.2rem/1.1 "Lilita One", Georgia, serif; letter-spacing: .02em; text-shadow: 0 2px 0 rgba(71, 41, 18, .8); }
.ll-play-next-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ll-play-next-card {
  display: flex;
  min-height: 96px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 2px solid #f0ca70;
  border-radius: 16px 6px 16px 6px;
  background: linear-gradient(180deg, #1f5446, #0f2d28);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 225, 142, .18);
  color: var(--ll-ink);
  text-align: left;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ll-play-next-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 225, 142, .35); }
.ll-play-next-art { flex: 0 0 auto; display: block; }
.ll-play-next-art-city { width: 91px; height: 80px; border-radius: 10px; object-fit: contain; }
.ll-play-next-art-host { width: 64px; height: 78px; object-fit: contain; object-position: bottom; }
.ll-play-next-text { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 3px; }
.ll-play-next-text strong { color: var(--ll-gold-pale); font: 1.35rem/1 "Lilita One", Georgia, serif; white-space: nowrap; }
.ll-play-next-text small { color: #e5d6b3; font-size: .72rem; font-weight: 700; line-height: 1.2; }
.ll-play-next-cta {
  margin-top: 2px;
  padding: 4px 12px;
  border: 1px solid #f0ca70;
  border-radius: 999px;
  background: linear-gradient(#e7bd61, #c38e3b);
  color: #362613;
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}
.ll-result-card .ll-play-next { margin-top: 16px; }
@media (min-width: 541px) and (max-height: 860px) {
  .ll-play-next { margin-top: 7px; }
  .ll-play-next-title { margin-bottom: 4px; font-size: 1.05rem; }
  .ll-play-next-card { min-height: 82px; padding: 6px 10px; }
  .ll-play-next-art-city { width: 79px; height: 70px; }
  .ll-play-next-art-host { width: 56px; height: 68px; }
}
@media (max-width: 540px) {
  .ll-play-next { margin-top: 7px; }
  .ll-play-next-title { margin-bottom: 4px; font-size: 1rem; }
  .ll-play-next-cards { gap: 6px; }
  .ll-play-next-card { min-height: 70px; gap: 6px; padding: 5px 7px; border-radius: 13px 5px 13px 5px; }
  .ll-play-next-art-city { width: 66px; height: 58px; border-radius: 8px; }
  .ll-play-next-art-host { width: 42px; height: 58px; }
  .ll-play-next-text { gap: 2px; }
  .ll-play-next-text strong { font-size: 1.02rem; }
  .ll-play-next-text small { display: none; }
  .ll-play-next-cta { padding: 3px 9px; font-size: .68rem; }
  .ll-result-card .ll-play-next { margin-top: 12px; }
}
@media (max-width: 540px) and (max-height: 760px) {
  html.has-player-quirkie .ll-play-next { padding-left: 54px; }
  .ll-play-next-art-city { width: 54px; height: 48px; }
  .ll-play-next-art-host { width: 32px; height: 50px; }
  .ll-play-next-text strong { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .ll-host-art { animation: none !important; }
  .ll-play-next-card { transition: none !important; }
  .ll-tile.is-pop, .ll-tile.is-flipping, .ll-row.is-shaking, .ll-row.is-winning .ll-tile { animation: none !important; }
}
