@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#f7f8f2;--ink:#24382d;--muted:#81867d;--line:#e2e6dc;--green:#224f37;--lime:#ddedb8}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #89aa53;outline-offset:3px}button{transition:background .15s,transform .15s}button:hover:not(:disabled){filter:brightness(.96)}header{max-width:1120px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:27px 24px;border-bottom:1px solid var(--line)}.brand{font-family:Manrope,sans-serif;font-weight:800;font-size:27px;letter-spacing:-1.5px;color:var(--ink);text-decoration:none;display:flex;align-items:center}.brand>span:not(.brand-icon){color:#6b8c57}.brand-icon{background:var(--green);color:var(--lime);font-size:26px;border-radius:10px;width:38px;height:38px;text-align:center;margin-right:10px}.brand small{letter-spacing:1.8px;font-size:8px;color:var(--muted);margin-left:18px;font-weight:600}nav{display:flex;gap:8px}.icon{background:transparent;border:1px solid var(--line);border-radius:50%;width:35px;height:35px;font-size:18px;color:var(--ink)}main{max-width:760px;margin:auto;padding:0 24px}.intro{text-align:center;padding:46px 0 30px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:#768071}.live{display:inline-block;background:#6b8c57;width:6px;height:6px;border-radius:100%;margin:0 7px 1px 0}h1{font-family:Manrope,sans-serif;font-size:54px;line-height:1.13;letter-spacing:-2.9px;font-weight:800;margin:19px 0 16px}h1 span{color:#839776}.intro p{color:#7a8177;font-size:13px}.toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.segmented{display:flex;background:#e9ede2;padding:4px;border-radius:9px}.segmented button,.levels button{border:0;background:none;padding:9px 17px;border-radius:6px;font-size:12px;color:#7b8475}.segmented button.active{background:white;color:var(--ink);box-shadow:0 2px 5px #233e2d0b;font-weight:700}.levels{display:flex;gap:3px}.levels button.active{background:var(--green);color:white}.game{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px 30px;box-shadow:0 8px 28px #273d2b04}.game-top{display:flex;align-items:center;justify-content:space-between}.game-top .eyebrow{font-size:9px}h2{font-family:Manrope,sans-serif;font-size:19px;letter-spacing:-.6px;margin:8px 0 0}.score{text-align:right}.score strong{display:block;font-size:27px;letter-spacing:-1px}.score small{font-size:8px;letter-spacing:1.2px;color:var(--muted)}.progress{display:flex;gap:7px;margin:22px 0}.progress span{height:5px;flex:1;background:#e9ede4;border-radius:5px}.progress .current{background:#a7bd85}.progress .won{background:var(--green)}.progress .lost{background:#c28d76}.arena{background:#f5f7ef;position:relative;border:1px solid #e9eddf;border-radius:12px;overflow:hidden;background-image:radial-gradient(#cdd5c1 0.7px,transparent .7px);background-size:17px 17px}.arena-label{display:flex;justify-content:space-between;padding:16px 18px;font-size:9px;letter-spacing:1.5px;color:#7b8673}.arena-label span:first-child{background:#e9eedd;padding:5px 8px;border-radius:4px}.arena-label span:last-child{padding:5px;font-variant-numeric:tabular-nums}.crest-wrap{height:236px;position:relative;display:flex;align-items:center;justify-content:center}canvas{height:230px;width:230px;object-fit:contain}.start{position:absolute;background:var(--green);color:white;border:0;border-radius:9px;padding:16px 25px;font-weight:600;box-shadow:0 5px 20px #244b3720}.start span{margin-left:20px;color:var(--lime)}.stage{text-align:center;font-size:11px;color:#89917e;padding:15px}.under-arena{display:flex;justify-content:space-between;align-items:center;margin:16px 0 23px;font-size:10px;color:#8a9083}.lives{display:flex;gap:5px;align-items:center}.lives i{width:8px;height:8px;border-radius:50%;background:#a8bf88}.lives i.used{background:#e7e9e2}.lives span{margin-left:6px}label{display:block;font-size:12px;font-weight:600;margin-bottom:9px}.input-row{display:flex;gap:8px}input{width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;padding:14px;background:#fbfcf9;color:var(--ink);font-size:13px}.primary{border:0;background:var(--green);color:white;border-radius:8px;padding:13px 19px;white-space:nowrap;font-size:12px;font-weight:600}.primary span{margin-left:16px;color:#bccda8}.hint{background:#eff4e7;padding:10px 13px;border-radius:6px;margin-bottom:15px;font-size:12px}.game-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0e7;padding-top:16px;margin-top:20px;gap:10px}.game-bottom>span{font-size:10px;color:#909587}.text-btn{background:none;border:0;color:#79846e;font-size:11px;padding:5px}.history{display:flex;gap:5px;flex-wrap:wrap}.history span{font-size:10px;padding:5px 9px;background:#f5eeea;border-radius:4px;color:#987564}#feedback{font-size:12px;line-height:1.5;margin:10px 0}.below{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:30px 8px 35px}.below>div+div{border-left:1px solid var(--line);padding-left:26px}.below span{font-size:9px;letter-spacing:1.5px;color:#819071;font-weight:700}.below p{font-size:11px;line-height:1.8;color:#939a8b}footer{border-top:1px solid var(--line);padding:25px 0 30px;display:flex;align-items:center;justify-content:space-between}footer .brand{font-size:18px}footer .brand small{font-size:7px;letter-spacing:1px}dialog{border:1px solid var(--line);border-radius:18px;padding:32px;max-width:480px;width:calc(100% - 32px);color:var(--ink);background:var(--bg)}dialog::backdrop{background:#20372666;backdrop-filter:blur(4px)}dialog h2{font-size:25px;margin:0 0 20px}dialog p,dialog li{font-size:13px;line-height:1.8}dialog ul{padding-left:18px}.close{position:absolute;right:15px;top:12px;border:0;background:none;font-size:24px;color:#87917e}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0}.stat-grid div{background:#e9eedd;padding:17px 8px;text-align:center;border-radius:8px}.stat-grid strong{display:block;font-size:24px}.stat-grid small{font-size:10px;color:#75806b}#results{text-align:center;padding:20px 0}#results h2{font-size:30px}#results .big-score{font-size:64px;font-family:Manrope,sans-serif;letter-spacing:-3px;margin:15px 0}.result-list{margin:20px 0;text-align:left}.result-row{display:flex;gap:12px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px}.result-row img{width:25px;height:28px;object-fit:contain}.result-row strong{margin-left:auto}.result-row small{color:#87917e}.share-text{width:100%;height:135px;margin:12px 0;border:1px solid var(--line);padding:10px}.notice{font-size:11px;color:#939a8b} [hidden]{display:none!important}@media(max-width:600px){header{padding:18px 20px}.brand small{display:none}main{padding:0 15px}.intro{padding:32px 0 22px}h1{font-size:44px}.intro p{font-size:11px}.game{padding:20px 18px}.crest-wrap{height:210px}canvas{height:210px;width:210px}.levels button,.segmented button{padding:9px 12px}.below{gap:10px}.below>div+div{padding-left:12px}.below p{font-size:10px}.primary{padding:13px 14px}.primary span{display:none}footer .brand small{display:none}.game-top h2{font-size:17px}}

.hint-controls{display:flex;align-items:center;justify-content:space-between;margin:-8px 0 14px;gap:8px}.hint-controls button{padding:8px 10px;background:#eff3e7;border-radius:5px;color:#42603b}.hint-controls span{font-size:9px;color:#8a9481}.learn{font-size:10px;color:#4b6b3c;white-space:nowrap}.result-row{flex-wrap:wrap}
