/* Spike & Suzy Games — lit-farm wave kit look (colours and fonts match the site's band kits). */
:root {
  --sky: #8fd3ff; --sky-2: #dff3ff; --grass: #6dbb5a; --grass-2: #3e8e3a;
  --barn: #c43d2c; --barn-2: #a8321f; --straw: #ffcf4a; --straw-2: #fff3c7;
  --ink: #1d2733; --ink-2: #4a5663; --paper: #fffdf7; --line: #e4dccb;
  --spike: #2b2622; --spike-tan: #c98a45; --suzy: #7a4a1e; --suzy-amber: #f2b705;
  --green: #2e8b3e; --red: #b3261e; --focus: #0b5fff;
  --radius: 20px; --tap: 48px;
  --shadow: 0 6px 0 rgba(29, 39, 51, .12), 0 10px 24px rgba(29, 39, 51, .10);
}
body.band-a { --tap: 64px; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); overflow-x: hidden;
  font-family: ui-rounded, "Nunito", "Quicksand", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px; line-height: 1.45;
  background:
    radial-gradient(120% 40% at 20% 104%, var(--grass) 0 60%, transparent 61%),
    radial-gradient(120% 36% at 90% 106%, var(--grass-2) 0 60%, transparent 61%),
    linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 45%, #eaf8e3 100%);
  background-attachment: fixed;
}
:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }

.ssg-shell { max-width: 760px; margin: 0 auto; padding: 0 14px 56px; }
.ssg-top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 0 12px; background: linear-gradient(180deg, rgba(143, 211, 255, .97) 72%, rgba(143, 211, 255, 0));
}
.ssg-back {
  display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 14px; border-radius: 999px;
  background: var(--paper); border: 3px solid #fff; box-shadow: 0 3px 0 rgba(29, 39, 51, .15);
  color: var(--ink); font-weight: 900; font-size: 16px; text-decoration: none; white-space: nowrap;
}
.ssg-top__right { display: flex; align-items: center; gap: 8px; }
.ssg-brand { text-align: right; line-height: 1.05; font-weight: 900; color: var(--barn); font-size: 18px; letter-spacing: .03em; text-shadow: 0 2px 0 #fff; }
.ssg-brand small { display: block; font-size: 11px; color: var(--ink); letter-spacing: .1em; text-shadow: none; text-transform: uppercase; }
.ssg-mute {
  min-width: var(--tap); min-height: var(--tap); border-radius: 999px; border: 3px solid #fff; background: var(--paper);
  box-shadow: 0 3px 0 rgba(29, 39, 51, .15); font-size: 22px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px;
}
.ssg-mute[aria-pressed="true"] { background: #eee6d6; }
@media (max-width: 440px) { .ssg-brand { font-size: 15px; white-space: nowrap; } .ssg-brand small { font-size: 10px; } }
@media (max-width: 370px) { .ssg-back { padding: 0 10px; font-size: 15px; } .ssg-brand { font-size: 13px; } }
@media (max-width: 440px) { body.band-a .ssg-back { padding: 0 10px; font-size: 15px; } body.band-a .ssg-brand { font-size: 13px; } body.band-a .ssg-top { gap: 6px; } body.band-a .ssg-top__right { gap: 6px; } }
.ssg-main { display: flex; flex-direction: column; gap: 16px; outline: none; }
.ssg-footer { margin-top: 24px; text-align: center; font-size: 14px; color: var(--ink-2); font-weight: 700; }
.ssg-text { font-size: 17px; color: var(--ink-2); }

.lf-screen { display: flex; flex-direction: column; gap: 14px; animation: lf-in .25s ease-out; min-width: 0; }
@keyframes lf-in { from { opacity: 0; transform: translateY(6px); } }
.lf-eyebrow { align-self: flex-start; font-size: 14px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #7a4a12; background: var(--straw); border-radius: 999px; padding: 6px 14px; border: 2px solid #fff; }
.lf-h1 { font-size: clamp(30px, 8.5vw, 48px); font-weight: 900; line-height: 1.05; color: var(--ink); text-shadow: 0 3px 0 #fff; outline: none; overflow-wrap: anywhere; }
.lf-lead { font-size: 19px; font-weight: 600; }
.lf-card { background: var(--paper); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lf-kicker { font-size: 14px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--barn); }
.lf-small { font-size: 15px; color: var(--ink-2); font-weight: 700; }
.lf-how { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 4px; font-size: 17px; }

.lf-host { display: flex; align-items: flex-start; gap: 10px; border-radius: 18px; padding: 10px 12px; border: 3px solid; }
.lf-host--spike { background: #f1eee9; border-color: #cfc6b8; }
.lf-host--suzy { background: #fff3dc; border-color: #ecc98a; }
.lf-host__badge { flex: none; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; border: 3px solid #fff; box-shadow: 0 2px 0 rgba(0,0,0,.12); }
.lf-host--spike .lf-host__badge { background: linear-gradient(135deg, var(--spike) 55%, var(--spike-tan) 56%); }
.lf-host--suzy .lf-host__badge { background: linear-gradient(135deg, var(--suzy) 55%, var(--suzy-amber) 56%); }
.lf-host__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lf-host__who { font-weight: 900; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }
.lf-host__text { font-size: 18px; font-weight: 700; }
.lf-hear { flex: none; min-width: var(--tap); min-height: var(--tap); border-radius: 999px; border: 3px solid #fff; background: #fff; box-shadow: 0 3px 0 rgba(29, 39, 51, .15); font-size: 22px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; }
.lf-hear[disabled] { opacity: .45; }

.lf-btn { min-height: max(56px, var(--tap)); display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; text-align: center; border-radius: 999px; border: 3px solid rgba(0, 0, 0, .06); padding: 10px 22px; font-weight: 900; font-size: 19px; color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.lf-btn:active:not([disabled]) { transform: translateY(3px); box-shadow: 0 2px 0 rgba(29, 39, 51, .15); }
.lf-btn[disabled] { opacity: .5; }
.lf-btn--primary { background: var(--barn); color: #fff; }
.lf-btn--cta { background: linear-gradient(180deg, #ffd84d, #f4b400); color: #3b2500; border-color: #fff; }
.lf-btn--ghost { background: rgba(255, 255, 255, .94); }
.lf-btn--small { min-height: var(--tap); font-size: 16px; padding: 6px 16px; }
.lf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lf-actions > * { flex: 1 1 150px; }
.lf-tools { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.lf-levels { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .lf-levels { grid-template-columns: repeat(2, 1fr); } }
.lf-level { min-height: 88px; border-radius: 18px; border: 3px solid #d8cfbd; background: #fff; text-align: left; display: flex; align-items: center; gap: 12px; padding: 10px 14px; box-shadow: 0 3px 0 rgba(29, 39, 51, .12); }
@media (hover: hover) { .lf-level:hover { border-color: var(--barn); } }
.lf-level__num { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--straw); color: #5a3500; font-weight: 900; font-size: 24px; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; box-shadow: 0 2px 0 rgba(0,0,0,.1); }
.lf-level__body { display: flex; flex-direction: column; min-width: 0; }
.lf-level__name { font-weight: 900; font-size: 19px; line-height: 1.15; }
.lf-level__desc { font-size: 15px; color: var(--ink-2); font-weight: 700; }
.lf-level__stars { font-size: 15px; letter-spacing: .1em; }
.lf-level.is-done { border-color: var(--green); background: #f3fbef; }
.lf-progress { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-weight: 800; font-size: 15px; color: var(--ink-2); }
.lf-pill { display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px; padding: 6px 12px; border: 2px solid var(--line); }

.lf-hud { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lf-hud__count { font-size: 16px; font-weight: 900; background: #fff; border-radius: 999px; padding: 8px 14px; flex: 1 1 auto; min-width: 0; }
.lf-dots { display: flex; gap: 5px; flex-wrap: wrap; width: 100%; }
.lf-dot { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2px solid #cfc6b8; }
.lf-dot.is-done { background: var(--green); border-color: var(--green); }
.lf-dot.is-now { background: var(--straw); border-color: #e0a800; }
.lf-feedback { min-height: 28px; text-align: center; font-weight: 800; font-size: 18px; color: var(--ink-2); }
.lf-feedback.is-good { color: var(--green); }
.lf-feedback.is-try { color: #8a4b0f; }

.lf-win { background: #fff8dc; border: 4px solid var(--straw); text-align: center; align-items: center; position: relative; overflow: hidden; }
.lf-win__art { font-size: 72px; line-height: 1; animation: lf-bounce 1s ease-in-out infinite alternate; }
.lf-win__stars { font-size: 34px; letter-spacing: .1em; }
.lf-win__reward { font-weight: 900; font-size: 18px; background: #fff; border-radius: 999px; padding: 8px 16px; border: 2px solid var(--straw); }
.lf-win .lf-actions { width: 100%; }
.lf-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.lf-confetti span { position: absolute; top: -30px; font-size: 24px; animation: lf-fall 2.6s linear forwards; }
@keyframes lf-fall { to { transform: translateY(520px) rotate(300deg); opacity: 0; } }
@keyframes lf-bounce { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@keyframes lf-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@keyframes lf-pop { 0% { transform: scale(.7); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
.is-shake { animation: lf-shake .35s ease-in-out 2; }
.is-pop { animation: lf-pop .35s ease-out; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* pictures */
.lf-pic { display: inline-flex; align-items: center; justify-content: center; line-height: 1; font-size: 40px; }
.lf-pic--svg svg { width: 1.3em; height: 1.3em; display: block; }
.lf-pic.is-big { font-size: 1.5em; } .lf-pic.is-small { font-size: .6em; }

/* prompt */
.lf-prompt { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.lf-prompt__pic { width: 120px; height: 120px; border-radius: 24px; background: linear-gradient(180deg, #fff3c7, #eaf7e6); border: 3px solid #fff; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; }
.lf-prompt__pic .lf-pic { font-size: 76px; }
.lf-prompt__big { font-size: clamp(40px, 12vw, 64px); font-weight: 900; line-height: 1.05; color: var(--barn); letter-spacing: .03em; }
.lf-prompt__q { font-size: 21px; font-weight: 800; flex: 1 1 220px; min-width: 0; }
:not(.lf-prompt) > .lf-prompt__q { flex: none; }
.lf-passage { background: #fff; border: 2px dashed var(--line); border-radius: 14px; padding: 12px; font-size: 18px; }

/* choice */
.lf-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lf-opts.is-pics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lf-opts.is-row { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.lf-opts--story, .lf-opts--rules { grid-template-columns: 1fr; }
@media (min-width: 640px) { .lf-opts--rules { grid-template-columns: repeat(2, 1fr); } }
.lf-opt { min-height: max(64px, var(--tap)); border-radius: 18px; border: 3px solid #d8cfbd; background: #fff; box-shadow: 0 4px 0 rgba(29, 39, 51, .12); display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 10px; font-weight: 800; font-size: 19px; text-align: center; min-width: 0; overflow-wrap: anywhere; }
.lf-opt.is-pic { min-height: 104px; }
.lf-opt.is-pic .lf-pic { font-size: 60px; }
.lf-opt.has-pic { flex-direction: column; gap: 4px; }
.lf-opt.has-pic .lf-pic { font-size: 42px; }
.lf-opt--story { justify-content: flex-start; text-align: left; font-size: 18px; }
.lf-opt.is-right { border-color: var(--green); background: #e6f6e3; }
.lf-opt.is-wrong { border-color: #d9a441; background: #fbefdc; opacity: .6; }
.lf-opt.is-on { border-color: var(--focus); background: #e6efff; box-shadow: 0 0 0 3px #b9cffd; }
.lf-opt:disabled { cursor: default; }

/* pop-up catch */
.lf-field { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lf-hole { position: relative; height: 124px; border-radius: 18px; background: linear-gradient(180deg, #bfe6ff 0 45%, #7ccc63 45%); overflow: hidden; border: 3px solid #fff; }
.lf-hole__bale { position: absolute; left: 8%; right: 8%; bottom: 4px; height: 28px; border-radius: 10px; background: repeating-linear-gradient(90deg, #f5c542 0 8px, #e2ab2a 8px 11px); box-shadow: inset 0 -4px 0 rgba(0,0,0,.12); z-index: 2; }
.lf-popper { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 1; min-width: 84px; min-height: 84px; border: 0; background: rgba(255,255,255,.85); border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; animation: lf-up .25s ease-out; padding: 2px 4px; }
.lf-popper__e { font-size: 44px; line-height: 1; }
.lf-popper__w { font-size: 14px; font-weight: 900; }
.lf-popper.is-caught { background: #c9f0c0; }
.lf-popper.is-wrong { background: #ffe1c2; }
@keyframes lf-up { from { transform: translate(-50%, 70px); } }
.lf-basket { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.lf-basket__slot { width: 56px; height: 56px; border-radius: 50%; border: 3px dashed #c8bda6; display: flex; align-items: center; justify-content: center; font-size: 32px; background: #fff; }
.lf-basket__slot.is-full { border-style: solid; border-color: var(--green); animation: lf-pop .35s; }

/* memory */
.lf-mem { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lf-mem--8, .lf-mem--12, .lf-mem--16 { grid-template-columns: repeat(4, 1fr); }
.lf-memcard { position: relative; min-height: 110px; border-radius: 16px; border: 3px solid #8f2a1c; background: #c43d2c; padding: 0; overflow: hidden; }
.lf-memcard__back { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(90deg, #c43d2c 0 14px, #b3321f 14px 16px); }
.lf-memcard__back span { font-size: 28px; background: #fff3c7; border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.lf-memcard__face { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; background: #fffdf7; gap: 2px; }
.lf-memcard__face .lf-pic { font-size: 46px; }
.lf-memcard__t { font-size: 16px; font-weight: 900; }
.lf-memcard.is-open .lf-memcard__face, .lf-memcard.is-done .lf-memcard__face { display: flex; }
.lf-memcard.is-done { border-color: var(--green); }
.lf-memcard.is-done .lf-memcard__face { background: #e6f6e3; }

/* pairs */
.lf-pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lf-paircol { display: flex; flex-direction: column; gap: 10px; }
.lf-pair { min-height: max(72px, var(--tap)); border-radius: 16px; border: 3px solid #d8cfbd; background: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 8px; font-weight: 800; font-size: 18px; box-shadow: 0 3px 0 rgba(29,39,51,.12); overflow-wrap: anywhere; }
.lf-pair .lf-pic { font-size: 40px; }
.lf-pair.is-sel { border-color: var(--focus); box-shadow: 0 0 0 4px #b9cffd; }
.lf-pair.is-done { border-color: var(--green); }
.lf-pair__t { min-width: 0; }

/* order */
.lf-ends { display: flex; justify-content: space-between; font-weight: 900; color: var(--barn); font-size: 15px; }
.lf-slots { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.lf-slots.is-text { grid-auto-flow: row; }
.lf-slot { min-height: 86px; border: 3px dashed #c8bda6; border-radius: 14px; background: #fffef9; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 4px; min-width: 0; }
.lf-slots.is-text .lf-slot { flex-direction: row; min-height: 52px; gap: 8px; align-items: center; }
.lf-slot__lab { font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.lf-slots.is-text .lf-slot__lab { width: 28px; height: 28px; border-radius: 50%; background: var(--straw); display: flex; align-items: center; justify-content: center; color: #5a3500; flex: none; }
.lf-slot__in { display: flex; flex-direction: column; align-items: center; font-weight: 800; font-size: 16px; text-align: center; overflow-wrap: anywhere; min-width: 0; }
.lf-slots.is-text .lf-slot__in { align-items: flex-start; text-align: left; font-size: 17px; }
.lf-slot__in .lf-pic { font-size: 44px; }
.lf-slot.is-full { border-style: solid; border-color: var(--green); background: #eaf7e6; animation: lf-pop .3s; }
.lf-pool { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 10px; }
.lf-pool.is-text { grid-template-columns: 1fr; }
.lf-card-btn { min-height: max(92px, var(--tap)); border-radius: 16px; border: 3px solid #e0a800; background: linear-gradient(180deg, #fff6cf, #ffe68a); box-shadow: 0 4px 0 #c88f00; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px; font-weight: 800; font-size: 17px; overflow-wrap: anywhere; }
.lf-pool.is-text .lf-card-btn { min-height: 60px; flex-direction: row; justify-content: flex-start; text-align: left; font-size: 18px; padding: 8px 12px; }
.lf-card-btn .lf-pic { font-size: 50px; }
.lf-card-btn.is-used { visibility: hidden; }
.lf-pool.is-text .lf-card-btn.is-used { display: none; }

/* sort */
.lf-sortcount { text-align: center; font-weight: 900; color: var(--ink-2); font-size: 15px; }
.lf-sortcard { align-self: center; min-width: 200px; max-width: 100%; min-height: 110px; border-radius: 20px; background: #fff; border: 3px solid var(--straw); box-shadow: var(--shadow); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding: 10px 14px; text-align: center; }
.lf-sortcard.is-in { animation: lf-pop .3s; }
.lf-sortcard__pic { font-size: 70px; }
.lf-sortcard__t { font-size: 26px; font-weight: 900; }
.lf-sortcard__ctx { font-size: 21px; font-weight: 700; flex: 1 1 100%; }
.lf-mark { background: #ffe066; border-radius: 6px; padding: 0 4px; font-weight: 900; }
.lf-bins { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.lf-bins--3 { grid-template-columns: repeat(3, 1fr); }
.lf-bins--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .lf-bins--4 { grid-template-columns: repeat(4, 1fr); } }
.lf-bin { position: relative; min-height: max(96px, var(--tap)); border-radius: 18px; border: 3px solid #a0703f; background: linear-gradient(180deg, #fff, #f3e7d3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px 4px; font-weight: 900; font-size: 17px; box-shadow: 0 4px 0 rgba(0,0,0,.12); min-width: 0; overflow-wrap: anywhere; }
.lf-bin .lf-pic { font-size: 44px; }
.lf-bin__n { position: absolute; top: 4px; right: 6px; background: var(--straw); border-radius: 999px; font-size: 13px; padding: 0 7px; }

/* trace */
.lf-trace__head { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.lf-trace__letter { font-size: 64px; font-weight: 900; color: var(--barn); line-height: 1; }
.lf-trace__word { font-size: 26px; font-weight: 900; }
.lf-trace__head .lf-pic { font-size: 56px; }
.lf-trace__wrap { display: flex; justify-content: center; }
.lf-trace { width: min(340px, 84vw); height: min(340px, 84vw); background: linear-gradient(180deg, #d9b98a, #b98d58); border-radius: 24px; border: 4px solid #fff; box-shadow: var(--shadow); touch-action: none; user-select: none; -webkit-user-select: none; }
.lf-trace__rule { stroke: rgba(255,255,255,.5); stroke-width: .6; stroke-dasharray: 2 2; }
.lf-trace__base { stroke: rgba(255,255,255,.8); stroke-width: .8; }
.lf-trace__guide { fill: none; stroke: #f6e7c8; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.lf-trace__dash { fill: none; stroke: #b98d58; stroke-width: 1.2; stroke-dasharray: 2 3; stroke-linecap: round; }
.lf-trace__dotguide { fill: #f6e7c8; }
.lf-trace__mud { fill: none; stroke: #5b3a1e; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.lf-trace__muddot { fill: #5b3a1e; }
.lf-trace__start circle { fill: #2e8b3e; stroke: #fff; stroke-width: 1.5; }
.lf-trace__start text { fill: #fff; font-size: 7px; font-weight: 900; font-family: system-ui, sans-serif; }
.lf-trace.is-done { box-shadow: 0 0 0 6px #c9f0c0, var(--shadow); }

/* place */
.lf-scene { position: relative; height: 300px; border-radius: 20px; background: linear-gradient(180deg, #dff3ff 0 62%, #8fd07a 62%); border: 3px solid #fff; overflow: hidden; }
.lf-scene__obj { position: absolute; left: 50%; top: 30%; transform: translateX(-50%); font-size: 120px; line-height: 1; }
.lf-scene.has-two .lf-scene__obj { font-size: 96px; top: 34%; }
.lf-scene__obj.is-left { left: 20%; } .lf-scene__obj.is-right { left: 80%; }
.lf-scene__mover { position: absolute; font-size: 54px; line-height: 1; transition: left .3s, top .3s; }
.lf-scene__mover.is-peek { filter: drop-shadow(0 2px 0 rgba(0,0,0,.15)); }
.lf-zone { position: absolute; transform: translate(-50%, 0); width: 70px; height: 70px; border-radius: 50%; border: 4px dashed #0b5fff; background: rgba(255,255,255,.72); font-size: 28px; font-weight: 900; color: #0b5fff; }

/* clap */
.lf-clap { align-self: center; width: 160px; height: 160px; border-radius: 50%; border: 6px solid #fff; background: radial-gradient(circle at 40% 35%, #ffe68a, #f4b400); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 900; font-size: 20px; }
.lf-clap span:first-child { font-size: 64px; line-height: 1; }
.lf-tally { display: flex; gap: 6px; justify-content: center; min-height: 44px; font-size: 32px; flex-wrap: wrap; }

/* marks + proof */
.lf-sent { font-size: 23px; line-height: 2.2; font-weight: 700; text-align: center; overflow-wrap: anywhere; }
.lf-word { min-height: var(--tap); min-width: var(--tap); border-radius: 12px; border: 2px solid #d8cfbd; background: #fff; padding: 2px 8px; font-weight: 800; font-size: 21px; margin: 2px 0; }
.lf-word.is-fixed { border-color: var(--green); background: #e6f6e3; color: #1d5c28; }
.lf-gap { width: 30px; min-height: var(--tap); border-radius: 10px; border: 2px dashed #b9cffd; background: #f4f8ff; vertical-align: middle; font-size: 26px; font-weight: 900; color: var(--barn); padding: 0; margin: 0 1px; min-width: var(--tap); }
.lf-gap.is-fixed { border-color: var(--green); background: #e6f6e3; }
.lf-plain { white-space: nowrap; }
.lf-notice { background: #fffbe6; border: 3px solid #e0c97a; border-radius: 10px; padding: 14px; box-shadow: 0 6px 12px rgba(0,0,0,.08); transform: rotate(-.6deg); }
.lf-notice__title { font-weight: 900; font-size: 20px; margin-bottom: 6px; }
.lf-notice__body { line-height: 2.1; }
.lf-word--proof { font-size: 19px; border-color: transparent; background: transparent; padding: 2px 5px; min-width: var(--tap); text-align: center; }
.lf-word--proof:hover { border-color: #d8cfbd; background: #fff; }
.lf-fixbox { background: #eef5ff; border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }

/* toggle (magic e) */
.lf-toggle__word { display: flex; justify-content: center; gap: 6px; }
.lf-tile { width: 60px; height: 70px; border-radius: 14px; border: 3px solid #e0a800; background: linear-gradient(180deg, #fff6cf, #ffd84d); font-size: 40px; font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 0 #c88f00; }
.lf-tile--e { border-style: dashed; background: #fff; border-color: #b58ee8; color: #6b35c9; box-shadow: none; }
.lf-tile--e.is-on { border-style: solid; background: #efe4ff; animation: lf-pop .3s; }
.lf-wand { min-height: max(56px, var(--tap)); border-radius: 999px; border: 3px solid #b58ee8; background: #f4ecff; font-weight: 900; font-size: 19px; color: #4b2391; padding: 8px 18px; }
.lf-wand[aria-pressed="true"] { background: #6b35c9; color: #fff; }

/* spin */
.lf-millrow { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.lf-mill { width: 96px; height: 96px; border-radius: 50%; background: #fff; border: 4px solid #a0703f; display: flex; align-items: center; justify-content: center; }
.lf-mill__blades { font-size: 70px; line-height: 1; color: #a0703f; display: inline-block; }
.lf-mill.is-spin .lf-mill__blades { animation: lf-spin .7s ease-out; }
@keyframes lf-spin { to { transform: rotate(720deg); } }
.lf-spinword { font-size: 56px; font-weight: 900; display: flex; }
.lf-spinword__on { color: var(--barn); min-width: .8em; text-align: right; }
.lf-found { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lf-found__w { background: #e6f6e3; border: 2px solid var(--green); border-radius: 999px; padding: 4px 10px; font-weight: 900; }

/* route */
.lf-trail { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; position: relative; }
.lf-trail__stop { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 14px; background: #fff; border: 2px solid var(--line); font-weight: 700; }
.lf-trail__stop.is-done { background: #eaf7e6; border-color: #9fd394; }
.lf-trail__stop.is-now { border: 3px dashed var(--barn); background: #fff8e8; }
.lf-trail__e { font-size: 28px; width: 36px; text-align: center; flex: none; }
.lf-trail__end { font-size: 22px; font-weight: 900; text-align: center; }
.lf-signs { display: grid; gap: 10px; }
.lf-sign { min-height: max(64px, var(--tap)); border-radius: 12px; border: 3px solid #8a5a2b; background: linear-gradient(180deg, #f3d9a4, #e3b86a); display: flex; align-items: center; gap: 10px; padding: 8px 12px; font-weight: 800; font-size: 18px; text-align: left; box-shadow: 0 4px 0 #8a5a2b; }
.lf-sign__e { font-size: 30px; flex: none; }
.lf-sign.is-wrong { opacity: .5; }

/* type / reel */
.lf-eq { font-size: clamp(26px, 7vw, 36px); font-weight: 900; text-align: center; overflow-wrap: anywhere; }
.lf-eq__s { color: #6b35c9; } .lf-eq__a { color: var(--green); }
.lf-typebox { display: flex; flex-direction: column; gap: 8px; }
.lf-input { min-height: 60px; border-radius: 14px; border: 3px solid #b9cffd; padding: 8px 14px; font-size: 26px; font-weight: 800; width: 100%; background: #fff; }
.lf-input.is-right { border-color: var(--green); background: #e6f6e3; }
.lf-reels { display: flex; justify-content: center; gap: 12px; }
.lf-reel { display: flex; flex-direction: column; align-items: center; gap: 6px; background: #3b2a1e; border-radius: 16px; padding: 8px; min-width: 128px; }
.lf-reel.is-locked { opacity: .85; }
.lf-reel__v { background: #fff; border-radius: 10px; min-width: 110px; text-align: center; font-size: 26px; font-weight: 900; padding: 8px 6px; }
.lf-reel__btn { width: 100%; min-height: var(--tap); border-radius: 10px; border: 0; background: var(--straw); font-size: 20px; font-weight: 900; }
.lf-reelword { text-align: center; font-size: 36px; font-weight: 900; color: var(--barn); overflow-wrap: anywhere; }

/* evidence */
.lf-question { background: #eef5ff; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.lf-doc { background: #fff; border-radius: 12px; border: 2px solid var(--line); padding: 12px; display: flex; flex-direction: column; gap: 4px; background-image: repeating-linear-gradient(180deg, transparent 0 31px, #eef2f6 31px 32px); }
.lf-doc__kind { font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.lf-doc__title { font-size: 21px; font-weight: 900; }
.lf-sentence { min-height: var(--tap); text-align: left; border: 2px solid transparent; background: transparent; border-radius: 10px; padding: 6px 8px; font-size: 18px; line-height: 1.4; }
.lf-sentence:hover { background: #fff8e0; border-color: #f1d98a; }
.lf-sentence.is-right { background: #e6f6e3; border-color: var(--green); }
.lf-sentence.is-wrong { background: #fbefdc; border-color: #d9a441; }

/* insert */
.lf-alist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; align-items: stretch; max-width: 420px; width: 100%; align-self: center; }
.lf-aword { background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 8px 14px; font-size: 22px; font-weight: 800; text-align: center; }
.lf-aword.is-new { border-color: var(--green); background: #e6f6e3; animation: lf-pop .3s; }
.lf-agap { min-height: var(--tap); border: 2px dashed #b9cffd; border-radius: 12px; background: #f4f8ff; color: #0b5fff; font-weight: 900; font-size: 16px; }

/* story */
.lf-story { display: flex; flex-direction: column; gap: 10px; }
.lf-story__step { font-size: 14px; font-weight: 900; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; }
.lf-story__scene { display: flex; gap: 12px; align-items: flex-start; background: #fff8e8; border-radius: 16px; padding: 12px; }
.lf-story__e { font-size: 54px; line-height: 1; flex: none; }
.lf-story__text { font-size: 19px; font-weight: 600; }
.lf-storyfb { display: flex; flex-direction: column; gap: 8px; }
.lf-storyfb__good { background: #e6f6e3; border-radius: 12px; padding: 10px; font-weight: 700; }
.lf-storyfb__try { background: #fbefdc; border-radius: 12px; padding: 10px; font-weight: 700; }

/* band A: bigger everything */
body.band-a .lf-opt { min-height: 96px; font-size: 22px; }
body.band-a .lf-opt.is-pic { min-height: 116px; }
body.band-a .lf-prompt__q { font-size: 24px; }
body.band-a .lf-level { min-height: 96px; }
body.band-a .lf-popper { min-width: 88px; min-height: 88px; }
@media (max-width: 400px) {
  .lf-prompt__pic { width: 100px; height: 100px; } .lf-prompt__pic .lf-pic { font-size: 64px; }
  .lf-scene { height: 270px; } .lf-scene__obj { font-size: 100px; }
  .lf-hole { height: 108px; }
  .lf-tile { width: 52px; height: 62px; font-size: 34px; }
  .lf-reel { min-width: 0; flex: 1 1 0; } .lf-reel__v { min-width: 0; font-size: 21px; }
  .lf-memcard { min-height: 96px; }
}

/* ---- flagship additions ---- */
.lf-host__badge { overflow: hidden; background: #fff !important; padding: 0; }
.lf-host__art { width: 118%; height: 118%; margin-top: 6%; }
.lf-bandswitch { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; background: var(--paper); border-radius: 18px; padding: 6px; box-shadow: var(--shadow); }
.lf-bandswitch__btn { min-height: var(--tap); border-radius: 14px; border: 3px solid transparent; background: #f3efe6; font-weight: 900; font-size: 16px; padding: 6px 10px; }
.lf-bandswitch__btn[aria-pressed="true"] { background: var(--straw); border-color: #c98f00; }

/* canon guide portrait (crop of the character bible art, shared/cast) */
.lf-host__badge { width: 60px; height: 60px; }
.lf-host__img { width: 100%; height: 100%; object-fit: cover; display: block; }
