:root{font-family:system-ui,-apple-system,sans-serif;color:#3d2841;background:#faf4ef;font-size:16px}*{box-sizing:border-box}body{margin:0}header{padding:18px 6%;display:flex;align-items:center;justify-content:space-between;background:#fffaf4}a{color:#5c3457;text-decoration:none}.brand{font:700 1.3rem Georgia,serif}.back{font-size:.9rem}main{max-width:1120px;margin:auto;padding:38px 24px 60px}.heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.eyebrow,.speaker,.control-label{font-size:.67rem;letter-spacing:.19em;font-weight:800;color:#a26d55}.heading h1,h2{font-family:Georgia,serif}.heading h1{font-size:clamp(2rem,5vw,3.6rem);margin:.35em 0 .2em}.heading p{margin:0;color:#765f72}.badge{border-radius:30px;padding:11px 17px;background:#f7e8d2;white-space:nowrap;font-size:.85rem}.game-card,.save-card{background:white;border:1px solid #eadbe3;border-radius:22px;overflow:hidden;box-shadow:0 12px 40px #6c436013}.scene{height:clamp(240px,49vw,485px);position:relative;overflow:hidden;background:#543658 url('assets/udvar.webp') center 57% / cover}.scene-gradient{position:absolute;inset:0;background:linear-gradient(0deg,#2b153977,transparent 47%)}.cloud{position:absolute;top:12%;left:9%;font-size:2rem;color:#fff2ba}.archie{position:absolute;bottom:5%;left:12%;height:43%;width:20%;transform:translateX(-50%);filter:drop-shadow(1px 8px 5px #20122880);transition:left .22s ease}.archie img{width:100%;height:100%;object-fit:contain;object-position:bottom}.place{position:absolute;bottom:11%;left:76%;border:0;background:transparent;font-size:clamp(2.5rem,8vw,5rem);cursor:pointer;filter:drop-shadow(0 3px 5px #2e193e);animation:bob 2s ease-in-out infinite}.place span{display:block;font-size:.75rem;font-weight:800;color:#fff;background:#5a315c;border:2px solid #fff4;border-radius:20px;padding:5px 10px;white-space:nowrap}.dialogue{display:flex;gap:14px;padding:22px 25px 12px;align-items:start}.portrait{display:grid;place-items:center;background:#f8e5d9;border-radius:50%;width:44px;height:44px;flex:none;font-size:1.3rem}.dialogue p{margin:5px 0 0;line-height:1.5}.controls{padding:10px 24px;display:flex;align-items:end;justify-content:space-between;gap:15px}.walk{display:flex;gap:8px;margin-top:6px}button,select{font:inherit}button{cursor:pointer}.walk button{font-size:1.35rem;width:55px;height:48px;background:#f8e7d2;border:0;border-radius:12px;color:#482b4d}.actions,.challenge-actions{display:flex;gap:9px;flex-wrap:wrap}.primary,.secondary{border-radius:12px;padding:12px 17px;font-weight:700;min-height:46px}.primary{border:1px solid #d2a264;background:#f1c983;color:#412c3e}.secondary{border:1px solid #dfcce0;background:white;color:#5b3b61}.tip{padding:0 25px 19px;color:#887386;font-size:.8rem;margin:0}.save-card{padding:24px;margin-top:22px;display:flex;justify-content:space-between;gap:20px}.save-card h2{font-size:1.3rem;margin:8px 0}.save-card p{color:#756277;margin:0;line-height:1.5}.save-card label{display:block;font-size:.8rem;font-weight:700;margin-bottom:5px}.save-card select{padding:11px;border:1px solid #d9c8d8;border-radius:10px;max-width:180px;background:#fff}.save-card a{display:block;margin-top:10px;font-size:.8rem}.future{display:flex;gap:12px;color:#806b7b;line-height:1.5;margin:20px 4px}.future span{margin-top:1em}dialog{width:min(90vw,620px);border:0;border-radius:22px;padding:28px;color:#432c46;box-shadow:0 20px 80px #24152880}dialog::backdrop{background:#28152dc9}.modal-head{display:flex;justify-content:space-between;gap:10px}.modal-head h2{font-size:1.8rem;margin:8px 0}.close{border:0;border-radius:50%;background:#f3e8ef;font-size:1.8rem;width:44px;height:44px;flex:none}.arena{height:210px;background:linear-gradient(#e7c2cb,#f6d4a5);border-radius:15px;position:relative;overflow:hidden}.target-line{position:absolute;left:50%;top:0;bottom:0;border-left:2px dashed #9b739177}.target-line span{position:absolute;top:8px;left:-10px;color:#fff5ba;font-size:1.4rem}.cauldron{position:absolute;left:0;bottom:20px;width:96px;height:95px;transform:translateX(-50%)}.rim{height:20px;background:#302037;border:5px solid #75517a;border-radius:50%;position:relative;z-index:2}.pot{margin:-7px 5px 0;height:67px;border-radius:10% 10% 45% 45%;background:linear-gradient(100deg,#35243f,#6c4371,#282039);border:3px solid #75517a;color:#f8ce79;text-align:center;font-size:2.5rem}.feet{width:62px;height:10px;margin:-3px auto;background:#322039;border-radius:0 0 8px 8px}.beanbag{position:absolute;bottom:12px;left:12%;font-size:2.1rem}.result{min-height:3em;line-height:1.5}.help{background:#f8eddc;padding:12px;border-radius:10px;margin-top:12px;line-height:1.5}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #875195;outline-offset:3px}@keyframes bob{50%{transform:translateY(-5px)}}@media(max-width:620px){main{padding:26px 14px 40px}.heading{display:block}.badge{display:inline-block;margin-top:16px}.controls{align-items:flex-start}.actions{justify-content:flex-end}.actions button{font-size:.85rem}.save-card{display:block}.save-card>div+div{margin-top:20px}.back{font-size:.75rem}.dialogue{padding:18px 16px 10px}.controls{padding:10px 16px}.tip{padding:0 16px 18px}.scene{height:270px}.archie{height:42%;width:28%}dialog{padding:20px}.arena{height:175px}.challenge-actions button{flex:1;min-width:120px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.badge-list{display:grid;gap:8px}.badge-list .badge{white-space:normal}.candy-card{margin-top:24px;background:#fff;border:1px solid #eadbe3;border-radius:22px;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;box-shadow:0 12px 40px #6c436013}.candy-art{min-height:260px;background:#6c4661 url('../assets/candy-new.webp') center/cover}.candy-copy{padding:30px;align-self:center}.candy-copy h2{font-size:1.7rem;margin:10px 0}.candy-copy p{line-height:1.6;color:#765f72;margin:0 0 20px}.candy-scene{height:180px;position:relative;overflow:hidden;border-radius:14px;background:#875c78 url('assets/cukros-osveny.webp') center 60% / cover}.candy-scene:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#28132f99,transparent 60%);pointer-events:none}.candy-avatar{position:absolute;bottom:10px;left:8%;width:68px;height:130px;z-index:2;transform:translateX(-50%);transition:left .3s}.candy-avatar img{width:100%;height:100%;object-fit:contain;object-position:bottom;filter:drop-shadow(0 3px 3px #281a2f)}.candy-goal{position:absolute;bottom:22px;right:8%;z-index:2;font-size:2rem}.candy-path{position:absolute;z-index:1;bottom:13px;left:8%;right:8%;border-bottom:3px dashed #ffedcbaa}.path-label,.balance-title{display:flex;justify-content:space-between;gap:10px;font-size:.8rem;color:#745b72;margin:10px 0 6px}.balance-title{font-weight:700;margin-top:14px}#candyProgress{width:100%;height:10px;accent-color:#b979aa}.balance-track{position:relative;height:30px;margin:4px 14px;background:#f7e4d3;border-radius:30px;border:2px solid #ddbd9f}.balance-center{position:absolute;left:50%;height:100%;border-left:2px dashed #bb8b9e}.balance-track #candyMarker{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:1.7rem;transition:left .2s}.candy-result{min-height:3em;line-height:1.5}.candy-controls{display:flex;gap:8px;flex-wrap:wrap}.balance-buttons{display:flex;gap:7px}.balance-buttons button{min-width:50px;font-size:1.2rem}.candy-hint{background:#f8eddc;padding:12px;border-radius:10px;line-height:1.5}dialog{max-height:92vh;overflow:auto}button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:620px){.candy-card{grid-template-columns:1fr}.candy-art{min-height:210px}.candy-copy{padding:23px}.candy-scene{height:145px}.candy-avatar{height:112px}.candy-controls>button{flex:1;min-width:120px}.badge-list{margin-top:14px;grid-template-columns:1fr 1fr}.badge-list .badge{font-size:.75rem;padding:10px}}
.pumpkin-card{margin-top:0}.pumpkin-art{min-height:260px;background:#683c59 url('assets/tokos-proba-kep.webp') center 50%/cover}.pumpkin-dialog{width:min(94vw,900px);padding:22px}.pumpkin-dialog>.modal-head{margin-bottom:14px}.pumpkin-dialog>.modal-head h2{font-size:1.7rem}.pumpkin-dialog .game-card{box-shadow:none}.pumpkin-dialog .scene{height:clamp(220px,36vw,380px)}#challenge[hidden],#pumpkinWalkView[hidden]{display:none}#challenge>.modal-head h2{font-size:1.35rem}#challenge>.modal-head .secondary{font-size:.82rem;align-self:start}#challenge .arena{margin-top:15px}@media(max-width:620px){.pumpkin-art{min-height:210px}.pumpkin-dialog{padding:16px}.pumpkin-dialog>.modal-head h2{font-size:1.35rem}.pumpkin-dialog .scene{height:235px}.pumpkin-dialog .controls{flex-wrap:wrap}.pumpkin-dialog .actions{justify-content:flex-start}.pumpkin-dialog .tip{line-height:1.5}#challenge>.modal-head{flex-wrap:wrap}}
.dice-art{min-height:260px;background:#633a69 url('../assets/dice-new.webp') center/cover}.dice-stage{height:190px;position:relative;display:grid;place-items:center;overflow:hidden;border-radius:15px;margin-top:16px;background:radial-gradient(ellipse at 50% 42%,#b779c8,#6c417f 65%,#442852)}.dice-stage:before,.dice-stage:after{content:'✧';position:absolute;color:#f7d493;font-size:2rem;top:30%;left:20%}.dice-stage:after{content:'✦';left:auto;right:20%;top:46%;font-size:1.3rem}.dice-sparkles{position:absolute;top:10px;left:0;right:0;text-align:center;color:#f3cd8b;letter-spacing:1em}.dice-face{display:grid;place-items:center;position:relative;z-index:1;width:100px;height:100px;border:3px solid #e3b878;border-radius:23px;background:linear-gradient(145deg,#a76db0,#5a2a67);box-shadow:0 8px 0 #412449,0 10px 25px #2b113e88;font-size:3rem;transform:rotate(-6deg)}.dice-stage-caption{position:absolute;bottom:9px;color:#fcebdc;font:italic .8rem Georgia,serif}.dice-message{margin:16px 0;min-height:3.2em;line-height:1.55;color:#523956;font-weight:600}.dice-actions{display:flex;gap:9px;flex-wrap:wrap}.dice-note{font-size:.8rem;color:#816d7f;line-height:1.5;margin:15px 0 0}@media(max-width:620px){.dice-art{min-height:210px}.dice-stage{height:165px}.dice-actions button{flex:1;min-width:125px}.badge-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
[hidden]{display:none!important}.secret-locked{margin-top:24px;padding:32px;display:grid;grid-template-columns:170px 1fr;align-items:center;gap:28px;border:1px dashed #cab4ca;border-radius:22px;background:linear-gradient(110deg,#eee1eb,#fcf5ef)}.secret-locked h2{font-size:1.7rem;line-height:1.2;margin:10px 0}.secret-locked p{line-height:1.6;color:#765f72;margin:0 0 14px}.secret-lock-icon{display:flex;justify-content:center;align-items:center;gap:10px;font-size:1.8rem;color:#b18cab}.secret-lock-icon span{display:grid;place-items:center;border-radius:50%;width:86px;height:86px;background:#e3cddd;font-size:2.1rem}.secret-count,.sticker-badge{display:inline-block;background:#f7e5cf;color:#714e53;border-radius:20px;padding:8px 12px;font-size:.85rem;font-weight:700}.house-art{min-height:260px;background:#67425d url('assets/kacajhaz.webp') center/cover}.house-card .sticker-badge{display:block;width:fit-content;margin:14px 0 0}.house-dialog{width:min(94vw,800px)}.house-intro{line-height:1.55}.house-scene{height:clamp(210px,38vw,340px);border-radius:14px;background:#604165 url('assets/kacajhaz.webp') center/cover}.house-explore{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.house-explore button{flex:1;min-width:120px}.house-message{min-height:3em;line-height:1.5;padding:12px 14px;border-radius:12px;background:#f8edf5;color:#543b55}.house-save{font-size:.85rem;color:#6b596b;line-height:1.5;min-height:1.3em}@media(max-width:620px){.secret-locked{padding:22px;grid-template-columns:1fr;gap:8px}.secret-lock-icon{justify-content:flex-start}.secret-lock-icon span{width:62px;height:62px;font-size:1.7rem}.secret-locked h2{font-size:1.4rem}.house-art{min-height:210px}.house-scene{height:210px}.house-dialog{padding:18px}.house-explore button{min-width:calc(50% - 8px);font-size:.85rem}.house-message{font-size:.9rem}}
