:root {
  color-scheme: light;
  --ink: #102a2b;
  --muted: #617273;
  --paper: #f5f0e6;
  --surface: #fffdf8;
  --teal: #087f78;
  --teal-dark: #075d59;
  --lime: #d8f45b;
  --orange: #ff8552;
  --violet: #7967ff;
  --line: rgba(16, 42, 43, .14);
  --shadow: 0 22px 60px rgba(20, 48, 47, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.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; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--ink); color: white; padding: .75rem 1rem; border-radius: .7rem; }
.skip-link:focus { top: 1rem; }

.site-header { min-height: 74px; padding: 12px clamp(18px, 4vw, 58px); display: flex; align-items: center; gap: 28px; background: rgba(255, 253, 248, .92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.05rem; letter-spacing: -.03em; }
.brand small { color: var(--muted); font-size: .7rem; }
.brand-mark { width: 42px; height: 42px; border-radius: 14px; background: var(--ink); display: grid; grid-template-columns: repeat(3, 7px); align-items: end; justify-content: center; gap: 3px; padding-bottom: 10px; transform: rotate(-3deg); box-shadow: 4px 5px 0 var(--lime); }
.brand-mark i { display: block; background: white; border-radius: 5px 5px 2px 2px; }
.brand-mark i:nth-child(1) { height: 9px; }.brand-mark i:nth-child(2) { height: 17px; background: var(--lime); }.brand-mark i:nth-child(3) { height: 13px; background: var(--orange); }
.site-header nav { display: flex; gap: 5px; }
.site-header nav a { text-decoration: none; padding: .58rem .8rem; border-radius: .75rem; color: var(--muted); font-weight: 700; font-size: .9rem; }
.site-header nav a.active, .site-header nav a:hover { background: var(--ink); color: white; }
.language-picker select { border: 1px solid var(--line); background: white; border-radius: .7rem; padding: .55rem .65rem; font-weight: 800; color: var(--ink); }

main { min-height: calc(100vh - 150px); }
.shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.hero { padding: clamp(58px, 8vw, 108px) 0 54px; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; background: rgba(216, 244, 91, .45); filter: blur(2px); top: -210px; right: -100px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); gap: clamp(32px, 6vw, 82px); align-items: center; }
.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 900; color: var(--teal); margin: 0 0 1rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3rem, 7vw, 6.2rem); line-height: .92; letter-spacing: -.07em; max-width: 760px; margin-bottom: 1.4rem; }
h1 em { font-style: normal; color: var(--teal); }
.lead { font-size: clamp(1.04rem, 2vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 650px; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.btn { border: 0; padding: .82rem 1.15rem; border-radius: .85rem; font-weight: 850; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; background: var(--ink); color: white; box-shadow: 0 6px 0 rgba(16, 42, 43, .18); }
.btn:hover { transform: translateY(-1px); }
.btn.accent { background: var(--lime); color: var(--ink); }
.btn.soft { background: white; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.danger { background: #b63d3d; }

.lab-visual { min-height: 390px; background: var(--ink); border-radius: 36px; padding: 28px; position: relative; box-shadow: var(--shadow); overflow: hidden; transform: rotate(1.2deg); }
.lab-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 32px 32px; }
.visual-card { position: absolute; background: white; border-radius: 18px; padding: 17px; box-shadow: 0 15px 30px rgba(0,0,0,.22); width: 185px; }
.visual-card strong { display: block; font-size: 1.25rem; }.visual-card span { color: var(--muted); font-size: .85rem; }
.visual-card.one { top: 48px; left: 28px; transform: rotate(-5deg); }.visual-card.two { top: 144px; right: 24px; transform: rotate(7deg); }.visual-card.three { bottom: 34px; left: 70px; transform: rotate(-1deg); }
.visual-orb { position: absolute; width: 82px; height: 82px; border-radius: 50%; background: var(--orange); right: 42px; bottom: 35px; box-shadow: inset -12px -12px 0 rgba(0,0,0,.12); }
.visual-orb::before, .visual-orb::after { content: ""; position: absolute; width: 10px; height: 14px; border-radius: 50%; background: var(--ink); top: 28px; }.visual-orb::before { left: 22px; }.visual-orb::after { right: 22px; }

.section { padding: 62px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.05em; margin-bottom: .35rem; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mode-card { border: 1px solid var(--line); border-radius: 24px; background: var(--surface); padding: 28px; box-shadow: 0 12px 32px rgba(20, 48, 47, .07); }
.mode-card .number { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--lime); font-weight: 950; font-size: 1.35rem; margin-bottom: 42px; }
.mode-card:nth-child(2) .number { background: var(--orange); }
.mode-card:nth-child(3) .number { background: #c9c1ff; }
.mode-card:nth-child(4) .number { background: #ffb9cf; }
.mode-card:nth-child(5) .number { background: #a8e6ff; }
.mode-card h3 { font-size: 1.7rem; letter-spacing: -.04em; margin-bottom: .6rem; }.mode-card p { color: var(--muted); line-height: 1.6; }
.published-section { background: #ebe5d8; }.published-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }.published-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; text-decoration: none; box-shadow: 0 10px 25px rgba(20,48,47,.06); }.published-card:hover { transform: translateY(-2px); }.published-card h3 { margin: 20px 0 8px; font-size: 1.35rem; }.published-card p { color: var(--muted); }.published-card strong { color: var(--teal); }.seo-static { width: min(860px, calc(100% - 36px)); margin: 70px auto; background: var(--surface); border-radius: 24px; padding: 32px; }

.studio-hero { padding: 48px 0 24px; }
.studio-hero h1 { font-size: clamp(2.5rem, 6vw, 4.7rem); }
.analytics-panel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }.metric-card { background: var(--ink); color: white; border-radius: 16px; padding: 16px; }.metric-card small, .metric-card strong { display: block; }.metric-card small { opacity: .7; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }.metric-card strong { font-size: 1.7rem; margin-top: 5px; }.analytics-detail { grid-column: 1 / -1; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 14px; }.analytics-detail summary { cursor: pointer; font-weight: 850; }.analytics-detail p { display: flex; justify-content: space-between; gap: 16px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }.analytics-detail p strong { color: var(--teal); }.analytics-error { grid-column: 1 / -1; }
.source-health { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0 0 22px; }.source-health > small { color: var(--muted); margin-left: auto; }.source-pill { border: 1px solid var(--line); border-radius: 999px; padding: .38rem .65rem; background: white; font-size: .75rem; }.source-pill.ready { background: #effaf7; color: var(--teal-dark); }.source-pill.error, .source-warning { background: #fff0e8; color: #9c3f1e; }.source-warning { border-radius: 9px; padding: .38rem .65rem; font-size: .75rem; }
.studio-grid { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(440px, 1.22fr); gap: 22px; padding-bottom: 70px; }
.studio-hero-grid { display: flex; align-items: end; justify-content: space-between; gap: 30px; }.studio-primary-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 8px; }
.creator-panel { grid-column: 1 / -1; grid-row: 1; padding: clamp(20px, 4vw, 34px); }.catalog-importer { grid-column: 1 / -1; grid-row: 2; padding: 0; overflow: hidden; }.catalog-importer > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 20px; }.catalog-importer > summary::-webkit-details-marker { display: none; }.catalog-importer > summary span:first-child { display: grid; gap: 3px; }.catalog-importer > summary small { color: var(--muted); font-weight: 500; }.catalog-importer[open] > summary { border-bottom: 1px solid var(--line); }.catalog-importer .filters, .catalog-importer .catalog-list, .catalog-importer .selected-items { margin: 18px 20px; }
.step-kicker { margin: 0 0 4px; color: var(--teal); font-size: .7rem; letter-spacing: .14em; font-weight: 950; }.draft-status { border-radius: 999px; padding: .4rem .7rem; background: #eee8db; color: var(--muted); font-weight: 850; font-size: .75rem; }.moles-creator { display: grid; gap: 15px; padding-top: 18px; border-top: 1px solid var(--line); }.creator-step { display: flex; align-items: center; gap: 11px; }.creator-step > span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: white; font-weight: 950; }.creator-step div { display: grid; gap: 2px; }.creator-step small, .answer-box small { color: var(--muted); }.answer-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.answer-box { border: 1px solid var(--line); border-radius: 16px; padding: 15px; background: white; }.answer-box.correct { box-shadow: inset 4px 0 0 #42a66d; }.answer-box.distractor { box-shadow: inset 4px 0 0 var(--orange); }.answer-box textarea { min-height: 190px; resize: vertical; line-height: 1.55; }.compact-field { max-width: 230px; }.public-link { color: var(--teal-dark); font-weight: 900; text-decoration: none; }.public-link:hover { text-decoration: underline; }
.quiz-editor-list { display: grid; gap: 14px; }.quiz-editor-row { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fbfaf6; }.quiz-row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.quiz-row-head strong small { color: var(--muted); font-weight: 750; }.quiz-editor-row .answer-box textarea { min-height: 86px; }.quiz-creator > .btn { justify-self: start; }.quiz-answer-set { display: grid; gap: 9px; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: white; }.quiz-answer-set legend { padding: 0 7px; font-weight: 900; }.quiz-answer-set legend small { margin-left: 6px; color: var(--muted); font-weight: 650; }.quiz-answer-option { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 8px; border: 1px solid transparent; border-radius: 12px; background: #f7f4ed; }.quiz-answer-option.is-correct { border-color: #70bd8a; background: #edf8f0; }.quiz-answer-option [data-option-correct] { width: 18px; height: 18px; accent-color: var(--teal); }.quiz-answer-option [data-option-value] { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: .55rem .3rem; outline: none; }.quiz-answer-option [data-option-value]:focus { border-color: var(--teal); }.correct-indicator { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #dfe5df; color: #607068; font-weight: 950; }.is-correct .correct-indicator { background: #42a66d; color: white; }.remove-option { font-size: 1.1rem; }.add-option { justify-self: start; margin-top: 3px; }.quiz-editor-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }.quiz-editor-footer > strong { color: var(--muted); }
.quiz-transfer { margin: 18px 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fbfaf6; }.quiz-transfer summary { cursor: pointer; font-weight: 900; }.quiz-transfer textarea { width: 100%; margin: 12px 0; resize: vertical; font: .8rem/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; }.transfer-target { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }.transfer-report { margin-top: 12px; padding: 12px; border-radius: 12px; }.transfer-report.valid { background: #e8f7ee; color: #21633d; }.transfer-report.invalid { background: #fff0ed; color: #8c3328; }.transfer-report ul { margin: 8px 0 0; padding-left: 20px; }.transfer-report code { overflow-wrap: anywhere; }
.mini-select { max-width: 130px; border: 1px solid var(--line); border-radius: 10px; padding: .42rem .55rem; background: white; color: var(--ink); font-weight: 750; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 13px 34px rgba(20, 48, 47, .06); }
.panel h2 { font-size: 1.35rem; letter-spacing: -.03em; }.panel-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 18px; }
.panel-head h2 { margin-bottom: 0; }.count { font-size: .78rem; background: var(--ink); color: white; padding: .28rem .56rem; border-radius: 999px; font-weight: 800; }
.filters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.field { display: grid; gap: 6px; }.field.wide { grid-column: 1 / -1; }.field span { font-size: .75rem; font-weight: 850; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: .75rem; background: white; padding: .72rem .78rem; color: var(--ink); outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,127,120,.12); }
.catalog-list { display: grid; gap: 8px; margin-top: 18px; max-height: 550px; overflow: auto; padding-right: 4px; }
.catalog-item { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: white; }
.catalog-item:has(input:checked) { border-color: var(--teal); background: #effaf7; }
.catalog-item input { margin-top: 4px; accent-color: var(--teal); }.catalog-item strong, .catalog-item small { display: block; }.catalog-item small { color: var(--muted); margin-top: 3px; line-height: 1.35; }
.tag { font-size: .7rem; padding: .25rem .45rem; border-radius: 999px; background: #ece8ff; color: #4938b8; white-space: nowrap; font-weight: 800; }
.builder { display: grid; gap: 18px; }.builder-fields { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }.selected-items { min-height: 150px; display: grid; gap: 8px; }
.selected-row { display: flex; align-items: center; gap: 10px; background: #f1eee6; padding: 10px 12px; border-radius: 12px; }.selected-row strong { margin-right: auto; }.selected-row button { border: 0; background: transparent; color: #a33; font-weight: 900; }
.empty { border: 1px dashed rgba(16,42,43,.3); border-radius: 15px; padding: 28px; text-align: center; color: var(--muted); }
.builder-actions { display: flex; gap: 9px; flex-wrap: wrap; }.notice { padding: .8rem 1rem; background: #effaf7; color: var(--teal-dark); border-radius: .8rem; font-weight: 700; }
.login-panel { width: min(480px, 100%); margin-bottom: 70px; display: grid; gap: 16px; }
.seo-editor { border: 1px solid var(--line); border-radius: 15px; padding: 13px; }.seo-editor summary { cursor: pointer; font-weight: 850; }.seo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }.seo-grid fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 11px; min-width: 0; }.seo-grid legend { font-size: .72rem; font-weight: 900; color: var(--teal); }.seo-grid textarea { resize: vertical; }
.editorial-assistant { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }.editorial-assistant small { color: var(--muted); }
.destination-list { display: grid; gap: 10px; margin: 14px 0 10px; }.destination-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; align-items: end; border: 1px solid var(--line); border-radius: 12px; padding: 11px; min-width: 0; }.destination-row legend { font-size: .72rem; font-weight: 900; color: var(--teal); }.destination-row .destination-url { grid-column: span 2; }.destination-row .mini-btn { margin-bottom: 2px; justify-self: start; }
.activity-manager { padding-bottom: 72px; }.manager-help { color: var(--muted); }.library-filters { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(110px, 1fr)); gap: 10px; align-items: end; padding: 14px; margin: 16px 0; border: 1px solid var(--line); border-radius: 14px; background: #faf9f5; }.library-filters .field { margin: 0; }.activity-list { display: grid; gap: 10px; }.activity-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; border: 1px solid var(--line); background: white; border-radius: 15px; padding: 15px; }.activity-row.archived { background: #f4f3ef; border-style: dashed; }.activity-row h3 { margin: 8px 0 4px; }.activity-row small, .activity-state time { color: var(--muted); display: block; }.activity-state { text-align: right; display: grid; gap: 4px; }.change-badge { color: #a24924; }.row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-top: 5px; }.mini-btn { border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); padding: .38rem .55rem; font-weight: 800; font-size: .75rem; }.version-list { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 10px; }.version-list > div { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 7px 0; }.version-list time { color: var(--muted); font-size: .78rem; }.version-list code { font-size: .72rem; }

.game-page { padding: 48px 0 80px; }.game-shell { width: min(860px, calc(100% - 30px)); margin: 0 auto; }.game-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }.game-top h1 { font-size: clamp(2rem, 5vw, 3.8rem); margin-bottom: .4rem; }.game-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.game-controls { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }.timer-toggle { font-size: .78rem; }
.game-meta span { background: white; border: 1px solid var(--line); padding: .38rem .65rem; border-radius: 999px; font-size: .76rem; font-weight: 800; }
.scoreboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 12px; }.score-tile { background: var(--ink); color: white; border-radius: 14px; padding: 12px; text-align: center; }.score-tile small, .score-tile strong { display: block; }.score-tile small { opacity: .7; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }.score-tile strong { font-size: 1.35rem; margin-top: 3px; }
.game-card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 5vw, 42px); box-shadow: var(--shadow); min-height: 440px; }
.progress { height: 8px; background: #e6e1d6; border-radius: 999px; overflow: hidden; margin-bottom: 32px; }.progress span { display: block; height: 100%; background: var(--lime); transition: width .3s ease; }
.prompt { text-align: center; margin-bottom: 30px; }.prompt small { color: var(--muted); }.prompt h2 { font-size: clamp(2.3rem, 7vw, 4.7rem); letter-spacing: -.06em; margin: .25rem 0 .6rem; }.prompt p { color: var(--muted); font-style: italic; }
.quiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }.option { min-height: 82px; border: 2px solid var(--line); background: white; color: var(--ink); border-radius: 17px; padding: 14px; font-weight: 850; font-size: 1.02rem; }.option:hover, .option:focus-visible { border-color: var(--teal); background: #effaf7; }
.feedback { margin-top: 18px; text-align: center; min-height: 26px; font-weight: 850; }.feedback.good { color: var(--teal); }.feedback.bad { color: #b63d3d; }
.mole-field { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 660px; margin: 0 auto; }.mole-hole { min-height: 122px; border: 0; background: #d8cfb8; border-radius: 50% 50% 42% 42%; padding: 8px; position: relative; overflow: hidden; box-shadow: inset 0 17px 0 rgba(16,42,43,.18); }.mole { position: absolute; inset: 16px 8px -5px; border-radius: 44% 44% 20% 20%; background: var(--orange); display: grid; place-items: center; padding: 15px 7px; font-weight: 950; color: var(--ink); transform: translateY(90%); animation: pop .35s cubic-bezier(.2,.9,.2,1) forwards; }.mole::before { content: "••"; position: absolute; top: 12px; letter-spacing: 16px; padding-left: 16px; font-size: .85rem; }.mole span { margin-top: 22px; line-height: 1.05; }
.mole-timer { height: 28px; max-width: 660px; margin: -10px auto 20px; border-radius: 999px; background: #e6e1d6; position: relative; overflow: hidden; }.mole-timer span { position: absolute; inset: 0 auto 0 0; background: var(--orange); transition: width .1s linear; }.mole-timer strong { position: relative; z-index: 1; display: block; text-align: center; line-height: 28px; font-size: .75rem; }
.mole-timer.timer-disabled { background: #effaf7; border: 1px solid rgba(8,127,120,.22); }.mole-timer.timer-disabled strong { color: var(--teal-dark); }
.balloon-prompt, .conveyor-prompt { margin-bottom: 16px; }.balloon-field { min-height: 290px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; overflow: hidden; padding: 10px; border-radius: 20px; background: linear-gradient(#dff5ff, #fffdf8); }.balloon { min-height: 118px; border: 0; border-radius: 52% 48% 48% 52%; background: var(--violet); color: white; padding: 18px 10px; font-weight: 900; position: relative; box-shadow: inset -9px -10px 0 rgba(0,0,0,.12), 0 8px 15px rgba(16,42,43,.12); animation: float-balloon 1.8s ease-in-out var(--delay) infinite alternate; }.balloon:nth-child(2n) { background: var(--orange); }.balloon:nth-child(3n) { background: var(--teal); }.balloon::after { content: ""; position: absolute; width: 2px; height: 38px; background: var(--muted); left: 50%; top: 100%; }.balloon:focus-visible { outline: 4px solid var(--lime); outline-offset: 3px; }
.conveyor-window { min-height: 190px; overflow: hidden; border: 12px solid var(--ink); border-radius: 22px; background: repeating-linear-gradient(90deg, #d8cfb8 0 42px, #c7bda5 42px 84px); display: flex; align-items: center; }.conveyor-track { display: flex; gap: 18px; width: max-content; padding: 24px; animation: conveyor-move 6s ease-in-out infinite alternate; }.conveyor-box { width: 180px; min-height: 92px; flex: 0 0 auto; border: 2px solid var(--line); border-radius: 15px; background: white; color: var(--ink); padding: 12px; font-weight: 900; box-shadow: 0 7px 0 rgba(16,42,43,.18); }.conveyor-box:hover, .conveyor-box:focus-visible { border-color: var(--teal); background: #effaf7; }
.translation-prompt { font-size: clamp(1.8rem, 5vw, 3.2rem) !important; }.sentence-tray, .word-bank { min-height: 86px; border-radius: 17px; padding: 15px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 9px; }.sentence-tray { border: 2px dashed rgba(8,127,120,.35); background: #effaf7; }.sentence-tray > span { color: var(--muted); align-self: center; }.word-bank { margin-top: 14px; background: #f1eee6; }.word-chip { border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 11px; padding: .72rem .9rem; font-weight: 850; box-shadow: 0 3px 0 rgba(16,42,43,.12); }.word-chip.selected { background: var(--lime); }.order-actions { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
@keyframes pop { to { transform: translateY(0); } }
@keyframes float-balloon { from { transform: translate(var(--drift), 24px) rotate(-2deg); } to { transform: translate(var(--drift), -18px) rotate(2deg); } }
@keyframes conveyor-move { from { transform: translateX(0); } to { transform: translateX(min(-38vw, -280px)); } }
.result { text-align: center; display: grid; place-items: center; min-height: 350px; }.result-icon { width: 95px; height: 95px; border-radius: 30px; background: var(--lime); display: grid; place-items: center; font-size: 2.3rem; transform: rotate(-5deg); }.result h2 { font-size: 2.7rem; margin: 1.4rem 0 .6rem; letter-spacing: -.05em; }.result p { color: var(--muted); }.result .actions { justify-content: center; }
.recommendations { width: min(680px, 100%); margin-top: 28px; text-align: left; }.recommendations > h3 { text-align: center; }.recommendation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }.recommendation-grid a { display: grid; gap: 5px; min-width: 0; border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #effaf7; text-decoration: none; }.recommendation-grid a:hover { border-color: var(--teal); transform: translateY(-2px); }.recommendation-grid span, .recommendation-grid small { color: var(--muted); font-size: .72rem; }.recommendation-grid strong { line-height: 1.2; }
.next-steps { width: min(520px, 100%); border-top: 1px solid var(--line); margin-top: 28px; padding-top: 22px; text-align: left; }.next-steps h3 { text-align: center; }.next-link { display: flex; justify-content: space-between; gap: 14px; padding: 13px 15px; margin-top: 8px; border-radius: 13px; background: #f1eee6; text-decoration: none; font-weight: 800; }.next-link:hover { background: #e8f5d0; }

footer { border-top: 1px solid var(--line); padding: 24px clamp(18px, 4vw, 58px); display: flex; gap: 18px; align-items: center; color: var(--muted); font-size: .82rem; } footer span { margin-right: auto; } footer a { font-weight: 750; }

.checkbox-field > span:last-child { min-height: 48px; display: flex; align-items: center; gap: .65rem; }
.checkbox-field input { width: 1.15rem; height: 1.15rem; }
.wordsearch-intro { max-width: 680px; margin: 2rem auto; text-align: center; }
.player-name { max-width: 360px; margin: 1.5rem auto; text-align: left; }
.wordsearch-scoreboard { margin-bottom: 1rem; }
.wordsearch-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, .34fr); gap: clamp(1rem, 3vw, 2rem); align-items: start; }
.wordsearch-board { display: grid; grid-template-columns: repeat(var(--wordsearch-size), minmax(0, 1fr)); gap: clamp(2px, .45vw, 7px); width: min(100%, 720px); aspect-ratio: 1; margin: auto; }
.wordsearch-cell { border: 0; border-radius: clamp(4px, .65vw, 10px); background: #f3f0e9; color: var(--ink); font: 800 clamp(.62rem, 2.1vw, 1.2rem)/1 var(--font-display); cursor: pointer; transition: transform .14s ease, background .14s ease, color .14s ease, box-shadow .14s ease; }
.wordsearch-cell:hover, .wordsearch-cell.selected { transform: translateY(-2px); background: var(--lime); box-shadow: 0 5px 0 rgba(30, 28, 24, .14); }
.wordsearch-cell.found { background: var(--teal); color: white; }
.wordsearch-list { position: sticky; top: 1rem; padding: 1.25rem; border-radius: 22px; background: #f7f5ef; }
.wordsearch-list h2 { margin: 0 0 .35rem; font-size: 1.15rem; }
.wordsearch-list p { margin: 0 0 1rem; color: var(--muted); font-size: .88rem; }
.wordsearch-word { padding: .7rem .8rem; margin-top: .45rem; border-radius: 12px; background: white; font-weight: 750; }
.wordsearch-word.found { color: #19734c; background: #e6f8ef; text-decoration: line-through; }
.result-words { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin: 1.4rem 0; }
.result-words span { padding: .55rem .8rem; border-radius: 999px; background: #f0eee8; }
.result-words .found { color: #19734c; background: #e6f8ef; }
.local-leaderboard { width: min(620px, 100%); margin: 1.6rem auto; padding: 1.15rem; border: 1px solid var(--line); border-radius: 20px; background: #f8f6f0; text-align: left; }
.local-leaderboard-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.local-leaderboard-head small { color: var(--teal); font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.local-leaderboard-head h3 { margin: .25rem 0 .8rem; }
.local-leaderboard-head > span { padding: .38rem .55rem; border-radius: 999px; background: white; color: var(--muted); font-size: .68rem; font-weight: 800; }
.local-leaderboard ol { margin: 0 0 1rem; padding: 0; list-style: none; }
.local-leaderboard li { display: grid; grid-template-columns: 2rem 1fr auto; gap: .7rem; align-items: center; padding: .62rem .2rem; border-bottom: 1px solid var(--line); }
.local-leaderboard li > span { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: white; color: var(--teal); font-weight: 900; }
.local-leaderboard li > b { font-variant-numeric: tabular-nums; }
.local-leaderboard .leaderboard-empty { display: block; color: var(--muted); font-size: .86rem; }
.leaderboard-save { display: grid; grid-template-columns: 1fr auto; gap: .7rem; align-items: end; }
.leaderboard-save .field { margin: 0; }
.leaderboard-privacy, .leaderboard-notice { margin: .55rem 0 0; color: var(--muted); font-size: .72rem; }
.leaderboard-notice { min-height: 1em; color: #19734c; font-weight: 800; }

@media (max-width: 840px) {
  .hero-grid, .studio-grid { grid-template-columns: 1fr; }
  .analytics-panel { grid-template-columns: repeat(2, 1fr); }
  .lab-visual { min-height: 330px; }
  .studio-grid { gap: 14px; }
  .catalog-list { max-height: 420px; }
  .library-filters { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .site-header { gap: 8px; padding: 10px 14px; }.site-header nav a { padding: .5rem; }.brand small { display: none; }.brand-mark { width: 36px; height: 36px; }.language-picker select { padding: .45rem; }
  .hero { padding-top: 48px; }.hero-grid { gap: 28px; }.lab-visual { min-height: 290px; padding: 18px; }.visual-card { width: 150px; padding: 12px; }.visual-card.two { top: 130px; }.visual-card.three { left: 30px; }.visual-orb { width: 64px; height: 64px; right: 25px; }
  .mode-grid, .quiz-options { grid-template-columns: 1fr; }.mode-card .number { margin-bottom: 25px; }.section { padding: 42px 0; }
  .published-grid { grid-template-columns: 1fr; }
  .filters, .builder-fields { grid-template-columns: 1fr; }.field.wide { grid-column: auto; }.studio-hero { padding-top: 35px; }
  .studio-hero-grid { display: grid; align-items: start; }.answer-columns { grid-template-columns: 1fr; }.creator-panel { padding: 18px; }.studio-primary-actions .btn { flex: 1 1 auto; }
  .seo-grid { grid-template-columns: 1fr; }
  .destination-row { grid-template-columns: 1fr; }.destination-row .mini-btn { justify-self: start; }
  .analytics-panel { grid-template-columns: 1fr 1fr; }.analytics-detail p { display: grid; gap: 4px; }
  .activity-row { grid-template-columns: 1fr; }.activity-state { text-align: left; }.row-actions { justify-content: flex-start; }
  .library-filters { grid-template-columns: 1fr; }
  .game-top { display: block; }.game-controls { justify-content: flex-start; margin-top: 12px; }.game-card { padding: 19px; min-height: 410px; }.mole-field { gap: 8px; }.mole-hole { min-height: 104px; }.mole { font-size: .8rem; }.scoreboard { position: sticky; top: 68px; z-index: 10; }
  .balloon-field { grid-template-columns: repeat(2, 1fr); }.balloon { min-height: 96px; font-size: .78rem; }.conveyor-box { width: 145px; }.recommendation-grid { grid-template-columns: 1fr; }
  .wordsearch-layout { grid-template-columns: 1fr; }.wordsearch-list { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }.wordsearch-list h2, .wordsearch-list p { grid-column: 1 / -1; }.wordsearch-word { font-size: .84rem; }.leaderboard-save { grid-template-columns: 1fr; }.local-leaderboard-head { align-items: center; }
  footer { align-items: flex-start; flex-wrap: wrap; } footer span { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
