:root{--paper:#fffdf7;--ink:#184b43;--muted:#687c76;--line:#e5d5b8;--green:#4e9870;--coral:#df735f;--gold:#efbd54;--blue:#68a6b5;--shadow:0 18px 42px rgba(70,62,39,.14)}
*{box-sizing:border-box}html{background:#f0f5e9}body{margin:0;color:var(--ink);font-family:"Trebuchet MS","Segoe UI",sans-serif;background:radial-gradient(circle at 12px 12px,rgba(77,119,83,.08) 1px,transparent 1.5px) 0 0/24px 24px,#f0f5e9;overflow-x:hidden}.app{width:min(1120px,calc(100% - 32px));margin:42px auto 58px;background:var(--paper);border:1px solid var(--line);border-radius:34px;box-shadow:var(--shadow);overflow:hidden}button,a{font:inherit}.game-bar{min-height:92px;padding:16px 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(255,255,255,.8)}.game-brand{display:flex;align-items:center;gap:13px;color:var(--ink);text-decoration:none;border-radius:18px;padding:5px 7px;transition:.2s}.game-brand:hover{background:#f5eedb}.game-brand:focus-visible,button:focus-visible{outline:4px solid rgba(239,189,84,.58);outline-offset:3px}.game-brand>span:last-child{display:grid;gap:2px}.game-brand strong{font-size:22px}.game-brand small{color:var(--muted)}.game-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:#f8e4aa}.game-icon svg{width:42px;height:36px;fill:none;stroke:#8a6b31;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round}.age-pill,.counter{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border:1px solid var(--line);border-radius:999px;background:white;font-weight:900;white-space:nowrap}.screen{display:none}.screen.is-active{display:grid}.home-screen{grid-template-columns:1.04fr .96fr;background:linear-gradient(113deg,#fff3d8 0 49%,#e6f2df 49%)}.hero-copy{padding:58px 34px 34px}.eyebrow{margin:0 0 7px;font-size:12px;font-weight:900;letter-spacing:.12em;color:#438168}.hero-copy h1,.section-title h2,.task-head h2,.result-screen h2{margin:0;line-height:1.04;font-size:45px;letter-spacing:-.03em}.hero-copy>p:not(.eyebrow){font-size:19px;line-height:1.5;color:var(--muted);max-width:550px}.hero-facts{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 26px}.hero-facts span{padding:9px 15px;border:1px solid var(--line);border-radius:999px;background:white;font-weight:900}.primary-button,.secondary-button,.check-button,.next-button,.hint-button,.restart-button{border:0;border-radius:15px;min-height:52px;padding:0 22px;font-weight:900;cursor:pointer;transition:.18s}.primary-button,.check-button,.next-button{color:white;background:var(--green);box-shadow:0 5px 0 #287954}.primary-button:hover,.check-button:hover:not(:disabled),.next-button:hover{filter:brightness(1.05);transform:translateY(-1px)}button:disabled{cursor:default}.hero-scene{min-height:410px;padding:48px 30px 30px;display:grid;place-items:center}.hero-scene img{width:100%;max-height:330px;aspect-ratio:3/2;object-fit:cover;border-radius:30px;box-shadow:0 15px 30px rgba(44,72,51,.18)}.how-strip{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:4px 34px 30px}.how-strip article{min-height:100px;padding:17px;display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.91)}.how-strip article>b{flex:0 0 52px;width:52px;height:52px;border-radius:16px;background:var(--coral);color:white;display:grid;place-items:center;font-size:22px}.how-strip span{display:grid;gap:4px}.how-strip strong{font-size:18px}.how-strip small{color:var(--muted)}
.routes-screen,.play-screen{padding:40px 32px 42px}.section-title,.task-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-title h2,.task-head h2{font-size:38px}.section-title>p{color:var(--muted);font-weight:900}.route-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:26px 0}.route-card{display:flex;flex-direction:column;min-width:0;padding:11px;border:1px solid var(--line);border-radius:26px;background:#fff;box-shadow:0 10px 20px rgba(63,68,46,.1)}.route-art{height:170px;display:grid;place-items:center;border-radius:20px;background:#f2f4df}.route-art img{width:145px;height:135px;object-fit:contain}.route-card>p{margin:14px 5px 5px;color:var(--route);font-size:12px;font-weight:900}.route-card h3{margin:0 5px 8px;font-size:23px}.route-card>span{height:72px;min-height:72px;margin:0 5px;color:var(--muted);line-height:1.4}.route-meta{display:flex;justify-content:space-between;margin:10px 5px 5px;color:var(--muted);font-weight:900}.route-bar{height:7px;border-radius:9px;background:#ece9df;overflow:hidden;margin:0 5px 13px}.route-bar i{display:block;height:100%;background:var(--route)}.route-card button{margin-top:auto;min-height:50px;border:0;border-radius:14px;color:white;background:var(--route);font-weight:900;display:flex;align-items:center;justify-content:space-between;padding:0 17px;cursor:pointer}.back-link{border:0;background:none;color:#398764;font-weight:900;cursor:pointer}.task-head{display:grid;grid-template-columns:auto 1fr auto}.round-button{width:50px;height:50px;border-radius:50%;border:1px solid var(--line);background:white;color:var(--ink);font-size:22px;cursor:pointer}.progress-line{height:8px;margin:20px 0;border-radius:8px;background:#e8e5dc;overflow:hidden}.progress-line i{display:block;height:100%;background:var(--green);transition:width .25s}.board-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 22px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(120deg,#fff5db,#edf6e5)}.board-head h3{margin:0;font-size:26px}.board-head>span{padding:10px 15px;border:1px solid var(--line);border-radius:999px;background:white;font-weight:900;white-space:nowrap}
.match-zone{display:grid;grid-template-columns:1.12fr .88fr;gap:15px;margin-top:15px}.clue-column,.answer-column{padding:16px;border:1px solid var(--line);border-radius:25px;background:#fff}.clue-column>header,.answer-column>header{display:flex;align-items:center;justify-content:space-between;margin:0 3px 12px}.clue-column>header b,.answer-column>header b{font-size:20px}.clue-column>header span,.answer-column>header span{color:var(--muted);font-weight:800}.clue-list,.answer-list{display:grid;gap:10px}.clue-card{position:relative;width:100%;min-height:110px;padding:14px 14px 14px 65px;border:3px solid #e8deca;border-radius:20px;background:#fffaf0;color:var(--ink);text-align:left;cursor:pointer;display:grid;align-content:center;gap:8px}.clue-card:hover:not(:disabled){border-color:#c3d8b7}.clue-card>.clue-number{position:absolute;left:13px;top:16px;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;color:white;background:var(--pair);font-weight:900;font-size:19px}.clue-card>span:last-child{line-height:1.38;font-size:17px}.clue-card small{display:flex;align-items:center;gap:7px;color:var(--muted);font-weight:900}.clue-card small img{width:34px;height:34px;object-fit:contain}.clue-card.is-active{border-color:var(--pair);background:#fff7d9;box-shadow:0 5px 0 color-mix(in srgb,var(--pair) 55%,#fff)}.clue-card.is-linked{background:#eef7e9}.clue-card.is-confirmed{border-color:#4e9870;background:#e6f5df}.answer-card{position:relative;min-height:110px;padding:9px 12px;border:3px solid #e8deca;border-radius:20px;background:#fff;color:var(--ink);cursor:pointer;display:grid;grid-template-columns:105px 1fr;align-items:center;gap:10px;text-align:left}.answer-card:hover:not(:disabled){border-color:#c3d8b7}.answer-card img{width:105px;height:90px;object-fit:contain}.answer-card strong{font-size:18px}.answer-card .answer-marker{position:absolute;right:10px;top:9px;min-width:30px;height:30px;padding:0 8px;border-radius:999px;display:none;place-items:center;background:var(--pair);color:white;font-weight:900}.answer-card.is-linked{border-color:var(--pair);background:#fff8dd}.answer-card.is-linked .answer-marker{display:grid}.answer-card.is-eliminated{opacity:.3;filter:grayscale(1);cursor:default}.answer-card.is-correct{border-color:#4e9870;background:#e4f4de}.check-button{display:block;min-width:280px;margin:18px auto 0}.check-button:disabled{background:#acd2bd;box-shadow:none}.control-card{margin-top:16px;padding:18px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px;border:1px solid var(--line);border-radius:24px;background:#fff9eb}.feedback{display:grid;gap:4px;padding-left:12px;border-left:4px solid #6ea77b}.feedback[data-tone=error]{border-color:var(--coral)}.feedback[data-tone=hint]{border-color:var(--gold)}.feedback[data-tone=success]{border-color:var(--green)}.feedback span{color:var(--muted)}.actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px}.hint-button{background:#ffe4a3;color:#76501b}.restart-button,.secondary-button{background:white;color:var(--ink);border:2px solid #86b89a}.task-tabs{grid-column:1/-1;display:flex;justify-content:center;gap:7px}.task-tabs button{width:38px;height:38px;border:1px solid var(--line);border-radius:12px;background:white;color:var(--ink);font-weight:900;cursor:pointer}.task-tabs button.is-active{border-color:var(--green)}.task-tabs button.is-done{color:white;background:var(--green)}
.result-screen{grid-template-columns:.9fr 1.1fr;align-items:center;gap:42px;padding:64px 48px}.result-scene{position:relative;min-height:340px;border-radius:30px;background:linear-gradient(#def0d2 0 58%,#d8bd89 58%);display:grid;place-items:center;overflow:hidden}.result-scene>span{position:absolute;width:100px;height:100px;border-radius:50%;background:#ffd25d;right:45px;top:35px}.result-scene>img:not(.reward-art){width:190px;height:190px;object-fit:contain;z-index:1}.reward-art{position:absolute;width:105px;height:105px;object-fit:contain;right:24px;bottom:20px}.result-screen>div:last-child>p:not(.eyebrow){font-size:19px;line-height:1.5;color:var(--muted)}.result-actions{display:flex;flex-wrap:wrap;gap:12px}.secondary-button{min-height:52px;cursor:pointer}
@media(max-width:850px){.app{width:min(1120px,calc(100% - 24px));margin-top:22px}.home-screen{grid-template-columns:1fr;background:linear-gradient(#fff3d8 0 48%,#e6f2df 48%)}.hero-copy{padding:42px 26px 16px}.hero-scene{min-height:300px;padding:20px 26px 30px}.hero-scene img{max-height:300px}.route-grid{grid-template-columns:1fr}.route-card>span{height:auto;min-height:0}.match-zone{grid-template-columns:1fr}.answer-list{grid-template-columns:repeat(3,1fr)}.answer-card{min-height:160px;grid-template-columns:1fr;place-items:center;text-align:center}.answer-card img{width:100%;height:100px}.result-screen{grid-template-columns:1fr;padding:38px 24px}.result-scene{min-height:300px}}
@media(max-width:620px){.app{width:min(1120px,calc(100% - 16px));border-radius:26px}.game-bar{padding:12px 14px}.game-brand{gap:9px}.game-brand strong{font-size:15px}.game-brand small{display:none}.game-icon{width:46px;height:46px}.age-pill{display:none}.hero-copy h1{font-size:36px}.hero-copy>p:not(.eyebrow){font-size:17px}.how-strip{grid-template-columns:1fr;padding:4px 18px 26px}.how-strip article{min-height:84px}.routes-screen,.play-screen{padding:26px 10px 32px}.section-title{align-items:flex-start;flex-direction:column;gap:7px}.section-title h2,.task-head h2{font-size:29px}.task-head{grid-template-columns:auto 1fr}.task-head .counter{grid-column:2;justify-self:start}.board-head{align-items:flex-start;flex-direction:column;gap:9px;padding:16px}.board-head h3{font-size:23px}.match-zone{gap:10px}.clue-column,.answer-column{padding:11px 8px}.clue-card{min-height:112px;padding:12px 9px 12px 53px;border-width:2px}.clue-card>.clue-number{left:8px;top:12px;width:34px;height:34px}.clue-card>span:last-child{font-size:15px}.answer-list{gap:6px}.answer-card{min-height:137px;padding:7px 3px;border-width:2px}.answer-card img{height:84px}.answer-card strong{font-size:13px}.answer-card .answer-marker{right:4px;top:4px;min-width:25px;height:25px;padding:0 5px}.check-button{width:100%;min-width:0}.control-card{grid-template-columns:1fr;padding:15px 11px}.actions{justify-content:stretch}.actions>button{flex:1 1 145px}.result-screen{padding:28px 16px}.result-scene{min-height:280px}}
@media(max-width:390px){.hero-copy h1{font-size:33px}.game-brand strong{font-size:14px}.clue-card>span:last-child{font-size:14px}.answer-card img{height:78px}.task-tabs button{width:37px;height:37px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
[hidden]{display:none!important}
