:root{color:#243c36;font-synthesis:none;background:#f5f4ed;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:400;line-height:1.55}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-underline-offset:4px}button,input,select,textarea{font:inherit}button{cursor:pointer;color:#234638;background:#fff;border:1px solid #bac9bf;border-radius:12px;min-height:46px;padding:10px 18px;transition:background .15s}button:hover:not(:disabled){background:#e9f2e8}button:disabled{opacity:.5;cursor:not-allowed}button.primary{color:#fff;background:#244c3d;border-color:#244c3d;font-weight:650}button.primary:hover:not(:disabled){background:#163728}:focus-visible{outline-offset:4px;outline:3px solid #b56529}.header{border-bottom:1px solid #d8ded5;justify-content:space-between;align-items:center;max-width:1200px;margin:auto;padding:26px 32px;display:flex}.brand{letter-spacing:-1px;font-size:25px;font-weight:850;text-decoration:none}.brand>span:first-child{color:#739344}.version{letter-spacing:0;vertical-align:top;background:#e3ebda;border-radius:5px;margin-left:7px;padding:3px 6px;font-size:11px}.header nav{gap:24px;font-size:14px;display:flex}.header nav a{text-decoration:none}main{max-width:1060px;min-height:78vh;margin:auto;padding:48px 24px 64px}.hero{max-width:740px;padding:8px 0 40px}.eyebrow{text-transform:uppercase;letter-spacing:2px;color:#657c55;margin:0 0 12px;font-size:12px;font-weight:750}h1{letter-spacing:-2px;margin:12px 0 24px;font-size:clamp(32px,5.5vw,60px);font-weight:780;line-height:1.08}h1 em{color:#668347;font-family:Georgia,serif;font-weight:400}h2{letter-spacing:-.5px;margin:0 0 18px;font-size:23px}h3{margin:24px 0 6px;font-size:16px}.hero>p:not(.eyebrow){color:#647268;max-width:610px;font-size:18px}.tags{flex-wrap:wrap;gap:10px;margin-top:24px;display:flex}.tags span{border:1px solid #d4dfcc;border-radius:30px;padding:5px 12px;font-size:12px}.panel{background:#fff;border:1px solid #e1e5dc;border-radius:22px;margin-bottom:24px;padding:32px;box-shadow:0 12px 40px #334b3510}.section-top{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.step{color:#76816e;white-space:nowrap;font-size:12px}.selection{border:0;margin:0;padding:0}.selection legend{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.style-options{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.style-choice{cursor:pointer;border:1px solid #dae1d5;border-radius:12px;align-items:flex-start;gap:10px;padding:14px;font-size:15px;font-weight:650;display:flex}.style-choice.selected{background:#eef3e9;border-color:#8ca37c}.style-choice input{accent-color:#456b41;width:17px;height:17px;margin:4px 0}.style-choice small{color:#65735e;font-size:11px;font-weight:400;display:block}.muted{color:#647268;font-size:13px}.fields{flex-wrap:wrap;gap:16px;margin:24px 0;display:flex}.fields label{flex:1;min-width:100px}label{font-size:13px;font-weight:600;display:block}input:not([type=checkbox]),select,textarea{color:#263c31;background:#fafbf8;border:1px solid #cdd7c6;border-radius:8px;width:100%;margin-top:6px;padding:11px 12px;display:block}textarea{resize:vertical;min-height:100px}input[type=checkbox]{accent-color:#365d42}figure{margin:24px 0}figure img{object-fit:contain;background:#f4f4ee;border-radius:14px;width:100%;height:min(51vh,460px)}figcaption,.credits{color:#637164;margin-top:12px;font-size:12px}.answers{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.answers button{padding:17px;font-size:18px;font-weight:650}.unknown{color:#627060;background:0 0;border-color:#0000;margin:18px auto 0;display:block}.question h1{margin-bottom:16px;font-size:36px}progress{accent-color:#6f8e54;border:0;width:100%;height:5px}.reveal-grid{grid-template-columns:1fr 1fr;gap:32px;margin:24px 0;display:grid}.reveal-grid img{object-fit:contain;background:#f5f5ef;border-radius:14px;width:100%;max-height:440px}.reveal li{margin-bottom:10px}.object-title{color:#647268}.credits{border-top:1px solid #e2e6dd;padding:12px 0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;margin:12px 0 26px;font-size:14px}th,td{text-align:left;border-bottom:1px solid #dce3d6;padding:12px}caption{text-align:left;margin:12px 0;font-weight:650}footer{color:#6b7868;border-top:1px solid #d8ded5;justify-content:space-between;gap:20px;max-width:1200px;margin:auto;padding:24px 32px;font-size:12px;display:flex}.error{color:#843914;background:#fff0e8;border:1px solid #dfb397;border-radius:10px;margin-bottom:20px;padding:14px 18px}.notice{background:#edf5e9;border-radius:10px;margin:14px 0;padding:14px}.admin-nav{flex-wrap:wrap;gap:8px;margin:24px 0;display:flex}.admin-nav button[aria-pressed=true]{color:#fff;background:#294f3e}.admin-layout{grid-template-columns:250px minmax(0,1fr);gap:22px;display:grid}.record-list{flex-direction:column;gap:6px;max-height:75vh;display:flex;overflow:auto}.record-list button{text-align:left;overflow-wrap:anywhere;font-size:12px}.record-list small{color:#7b846f;display:block}.editor-field{margin:16px 0}.editor-field textarea{font-size:13px;line-height:1.6}.toolbar{flex-wrap:wrap;gap:10px;margin:18px 0;display:flex}.quality-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;display:grid}.quality-card{border:1px solid #dce3d6;border-radius:14px;padding:20px}.quality-card h3{margin-top:0}.quality-card dl{font-size:13px}.quality-card dt{font-weight:650}.quality-card dd{overflow-wrap:anywhere;margin:0 0 10px}.review-check{align-items:start;gap:12px;margin:12px 0;display:flex}.admin-image{object-fit:contain;max-width:100%;height:330px}.qr{background:#fff;max-width:180px;padding:10px}.qr svg{width:100%;height:auto;display:block}.preset-link{overflow-wrap:anywhere}.login{max-width:480px;margin:40px auto}.login label{margin:18px 0}.status-badge{background:#edf0e7;border-radius:7px;padding:4px 8px;font-size:11px;display:inline-block}.import-report{white-space:pre-wrap;max-height:400px;font-size:12px;overflow:auto}code,pre{overflow-wrap:anywhere}.sr-only{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=700px){.header{padding:20px}.header nav{gap:14px}main{padding:28px 16px 40px}.panel{border-radius:16px;padding:20px}.style-options{grid-template-columns:1fr 1fr}.reveal-grid,.admin-layout{grid-template-columns:1fr}.record-list{max-height:240px}.section-top{align-items:flex-start}footer{flex-direction:column;padding:20px}h1{letter-spacing:-1px}.fields{gap:10px}.hero{padding-bottom:24px}.answers button{font-size:16px}.table-wrap{margin:0 -10px}.version{display:none}}.mode-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem 0;display:grid}.mode-card{text-align:left;background:var(--paper,#f7f3e9);border-radius:16px;flex-direction:column;gap:.9rem;min-height:200px;padding:1.4rem;display:flex}.mode-card strong{font-size:1.3rem}.mode-card span:last-child{font-size:.95rem;line-height:1.5}.mode-icon{color:#a45e38;font-size:1.7rem}.mode-card:hover{border-color:#a45e38;transform:translateY(-3px)}.mode-card:focus-visible{outline-offset:4px;outline:3px solid #a45e38}.test-banner{background:#ffebc5;border:2px solid #ac6515;border-radius:10px;padding:1rem;font-weight:700;line-height:1.5}dialog{box-sizing:border-box;color:#243d38;background:#fbf8f0;border:1px solid #c8bfb0;border-radius:20px;width:min(620px,100vw - 2rem);max-height:calc(100dvh - 2rem);padding:1.5rem;overflow:auto;box-shadow:0 24px 90px #14251e55}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#10292099}dialog h2{margin:0}dialog .fields{grid-template-columns:repeat(2,minmax(0,1fr))}dialog .fields label:last-child:nth-child(3){grid-column:1/-1}dialog input,dialog select{width:100%;min-width:0}.room-code{letter-spacing:.12em;font-size:1.7rem}.room-link{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.room-link a{overflow-wrap:anywhere}.room-link [role=img]{max-width:150px}.participants{flex-wrap:wrap;gap:.6rem 1.5rem;padding-left:1.2rem;display:flex}.classroom figure img{object-fit:contain;max-width:100%;max-height:520px;margin:auto;display:block}.classroom figcaption{margin-top:.5rem;font-size:.85rem}.classroom details{margin:1rem 0}.join-panel{margin-top:1.5rem}@media (width<=700px){.mode-grid{grid-template-columns:1fr}.mode-card{min-height:0;padding:1rem}.mode-card .mode-icon{display:none}dialog .fields{grid-template-columns:1fr}.room-code{font-size:1.35rem}}.room-link [role=img]{flex:0 0 150px;width:150px}.room-link svg{width:100%;height:auto;display:block}.join-panel .fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:20px;display:grid}.join-panel .fields label{min-width:0}.join-panel input{min-height:48px;font-size:16px}.guess-controls fieldset{border:0;min-width:0;margin:0;padding:0}.guess-controls legend{margin-bottom:12px;font-weight:650}.guess-top,.timeline-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.guess-top h2{margin:0}.guess-top{margin-bottom:20px}.chances{color:#668347;align-items:center;gap:5px;display:flex}.chances .used{color:#bfc7bd}.chances span:last-child{color:#516650;margin-left:6px;font-size:12px}.answers button[aria-pressed=true]{color:#fff;background:#244c3d;border-color:#244c3d;box-shadow:inset 0 0 0 2px #fff}.answers button.rejected{color:#85452e;opacity:1;background:#f7eeea;border-color:#c9947b;text-decoration:line-through}.answers button.locked{opacity:1;color:#234638;box-shadow:none;background:#e6f2dd;border-color:#69834d}.choice-mark{text-decoration:none;display:inline-block}.timeline-control{background:#f5f4ed;border:1px solid #e1e5dc;border-radius:16px;margin:28px 0;padding:22px}.timeline-heading label{font-size:16px}.timeline-heading output{font-variant-numeric:tabular-nums;color:#244c3d;font-size:28px;font-weight:750}input[type=range]{accent-color:#244c3d;cursor:pointer;touch-action:pan-y;background:0 0;border:0;min-height:44px;margin:16px 0 0;padding:0}input[type=range]:disabled{opacity:.75;cursor:default}.timeline-ticks{color:#596d57;justify-content:space-between;font-size:12px;display:flex}.timeline-control .muted{margin-bottom:0}.guess-feedback{background:#f0f5ea;border-left:4px solid #8ca37c;border-radius:6px;margin:20px 0;padding:6px 18px;animation:.25s ease-out feedback-in}.guess-feedback p{margin:8px 0}.check-guess{width:100%;margin-top:18px}.game-result{text-align:center;padding:20px 0}.game-result h1{font-size:clamp(30px,5vw,52px)}.result-celebration{width:220px;height:190px;margin:0 auto 20px;position:relative}.result-medal{width:140px;height:160px;animation:.7s cubic-bezier(.2,.8,.3,1.2) both medal-in;position:absolute;top:12px;left:40px}.result-celebration i{width:8px;height:14px;transform:rotate(calc(var(--particle) * 30deg)) translateY(-90px);animation:1.1s ease-out both celebrate;animation-delay:calc(var(--particle) * 25ms);background:#a85c39;border-radius:2px;position:absolute;top:85px;left:108px}.result-celebration i:nth-child(3n){background:#739344}.result-celebration i:nth-child(3n+1){background:#d5ac52}.result-score{margin:14px 0;font-size:22px}.result-score strong{color:#244c3d;font-size:44px}.result-message{color:#647268;max-width:550px;margin:0 auto 30px}.result-details{text-align:left;border:1px solid #dce3d6;border-radius:12px;padding:16px}.result-details summary{cursor:pointer;min-height:30px;font-weight:650}.result-again{margin:0 auto;display:block}.environment-note{font-size:11px}@keyframes medal-in{0%{opacity:0;transform:translateY(24px)scale(.7)rotate(-12deg)}to{opacity:1;transform:none}}@keyframes celebrate{0%{opacity:0;transform:rotate(calc(var(--particle) * 30deg)) translateY(-30px) scale(.2)}45%{opacity:1}to{opacity:.7;transform:rotate(calc(var(--particle) * 30deg)) translateY(-95px)}}@keyframes feedback-in{0%{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}@media (width<=600px){.join-panel .fields{grid-template-columns:minmax(0,1fr)}.join-panel .primary{width:100%}.timeline-control{padding:16px}.timeline-heading{align-items:flex-start}.timeline-heading label{max-width:180px}.guess-top{flex-wrap:wrap;gap:8px}.header{flex-wrap:wrap;gap:12px}.answers{gap:8px}.answers button{overflow-wrap:anywhere;padding:14px 8px}.section-top{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.mode-card:hover{transform:none}}.timeline-heading output{white-space:nowrap;flex-shrink:0}
