@font-face{font-family:OpenSansHebrew;src:url(assets/open-sans-hebrew.woff2) format('woff2');font-display:swap}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:OpenSansHebrew,Arial,sans-serif;background:#251c1b;color:#fff}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}#game{position:relative;width:100%;height:100dvh;min-height:420px;overflow:hidden;background:#bba993}#world,#world canvas,#fallback{position:absolute;inset:0;width:100%;height:100%}#world canvas{display:block;touch-action:none}#fallback{background:linear-gradient(180deg,rgba(20,14,12,.1),rgba(20,14,12,.15)),url(assets/atelier-small.webp) center/cover}#world:not(.no-webgl) #fallback{display:none}.shade-vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(22,16,15,.74) 0%,transparent 20%,transparent 52%,rgba(30,19,17,.25) 69%,rgba(22,14,13,.56) 100%)}.hud{position:absolute;z-index:5;top:0;left:0;right:0;padding:max(15px,env(safe-area-inset-top)) 17px 8px;display:flex;align-items:center;justify-content:space-between;direction:ltr}.brand{font-size:19px;font-weight:850;letter-spacing:.055em;color:white;line-height:1}.brand span{font-weight:350;letter-spacing:.11em}.brand small{display:block;font-size:8px;letter-spacing:.32em;text-align:center;margin-top:6px;color:#e7cba6}.hud-actions{display:flex;gap:9px}.hud button{width:39px;height:39px;border:1px solid rgba(255,255,255,.28);border-radius:50%;background:rgba(29,20,18,.52);backdrop-filter:blur(10px);color:#fff;font-size:15px}.hud #bag{position:relative}.hud #bag span{font-size:16px;filter:grayscale(1)}#bag-count{position:absolute;top:-3px;right:-3px;background:#6d294f;border-radius:50%;min-width:17px;height:17px;line-height:17px;font-size:10px}.chapter{position:absolute;z-index:3;top:171px;right:19px;display:flex;flex-direction:column;gap:2px;color:#34251f;text-shadow:0 1px 1px #fff8}.chapter small{font-size:10px;letter-spacing:.12em;color:#866447}.chapter strong{font-size:18px;font-weight:600}.guide{position:absolute;z-index:4;left:12px;transform:translateY(10px);opacity:0;top:168px;bottom:auto;width:min(56vw,220px);background:rgba(251,246,236,.95);color:#2b211d;backdrop-filter:blur(8px);border:1px solid rgba(167,129,83,.7);border-radius:13px 13px 3px 13px;padding:10px 12px;box-shadow:0 8px 24px #1a12104c;transition:opacity .25s,transform .25s;pointer-events:none}.guide.visible{opacity:1;transform:none;pointer-events:auto}.guide.on-right{left:auto;right:12px;border-radius:13px 13px 13px 3px}.guide:after{content:'';position:absolute;right:-9px;bottom:13px;border-top:9px solid transparent;border-bottom:9px solid transparent;border-left:9px solid rgba(251,246,236,.95)}.guide.on-right:after{right:auto;left:-9px;border-left:0;border-right:9px solid rgba(251,246,236,.95)}.guide-name{display:block;font-size:11px;color:#815737}.guide.speaking .guide-name:after{content:'  ●';color:#ab773e;animation:pulse 1s infinite}.guide p{font-size:14px;line-height:1.45;margin:2px 0 5px}.ask{padding:0;border:0;background:none;color:#663b34;font-size:12px;text-decoration:underline;text-underline-offset:3px}.hint{position:absolute;z-index:3;bottom:calc(83px + min(42vw, 235px) + env(safe-area-inset-bottom));left:8px;right:8px;text-align:center;color:#fff;font-size:12px;text-shadow:0 1px 5px #1b100e}.controls{position:absolute;z-index:5;bottom:calc(18px + env(safe-area-inset-bottom));left:16px;right:16px;display:flex;justify-content:center}.main-action{height:52px;min-width:min(100%,300px);border:none;border-radius:13px;padding:0 23px;background:#251a1a;color:#fff;font-weight:700;font-size:16px;box-shadow:0 7px 24px #291d1b80, inset 0 0 0 1px #cba979}.main-action span{padding-right:11px;color:#ebc38a}#cart-pov{position:absolute;z-index:2;pointer-events:none;left:50%;bottom:calc(69px + env(safe-area-inset-bottom));width:min(100vw,690px);height:min(42vw,235px);transform:translateX(-50%);transition:transform .25s}#cart-pov.moving{animation:bob .7s linear infinite}#cart-pov .hands{width:100%;height:100%;object-fit:contain;object-position:bottom;filter:drop-shadow(0 8px 14px #241c1680)}#basket-item{position:absolute;z-index:1;width:54px;height:54px;object-fit:contain;bottom:4px;left:calc(50% - 27px);transform:rotate(-9deg);opacity:0;filter:drop-shadow(0 4px 3px #231b1777)}.start{position:absolute;z-index:20;inset:0;display:grid;place-items:end center;background:linear-gradient(180deg,rgba(25,18,17,.14),rgba(23,15,15,.55) 35%,rgba(17,11,12,.96) 100%)}.start-card{width:min(100%,540px);padding:22px 28px calc(36px + env(safe-area-inset-bottom));text-align:right}.start-brand{display:inline-block;font-size:24px}.eyebrow{color:#e8c79c;font-size:12px;letter-spacing:.08em;margin:30px 0 7px}.start h1{font-size:clamp(38px,10vw,58px);line-height:1.04;letter-spacing:-.04em;margin:0 0 12px;font-weight:680}.start p:not(.eyebrow){font-size:17px;line-height:1.55;max-width:430px;color:#f4e9df;margin:0 0 22px}.start button#enter{display:block;width:100%;height:54px;background:#f0d1a0;color:#251b1b;border:0;border-radius:10px;font-size:17px;font-weight:750}.quiet{display:block;margin:10px auto 15px;background:none;border:0;color:#f4e4d7;text-decoration:underline;font-size:13px}.start-note{display:block;color:#c7b5a5;font-size:10px;text-align:center}dialog{border:0;max-width:none;padding:0;margin:0;background:transparent;color:#2c221e}dialog::backdrop{background:#17100e88;backdrop-filter:blur(3px)}#sheet,#talk{position:fixed;inset:auto 0 0;width:100%;max-height:min(78dvh,660px);overflow:auto;background:#faf5ec;border-radius:22px 22px 0 0;box-shadow:0 -10px 38px #1d110d5e}body.sheet-open #cart-pov,body.sheet-open .guide{opacity:0}.sheet-inner{max-width:720px;margin:0 auto;padding:19px 19px calc(24px + env(safe-area-inset-bottom))}.sheet-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:8px}.sheet-head small{font-size:10px;color:#8b654e;letter-spacing:.1em}.sheet-head h2{font-size:25px;line-height:1.2;margin:3px 0 0}.close{width:35px;height:35px;border:1px solid #d2c3ad;background:transparent;border-radius:50%;font-size:25px;line-height:1}#sheet-body>p,#talk-answer p{font-size:14px;line-height:1.6;color:#4b3b33;margin:10px 0 15px}.shade-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.shade-choice{border:1px solid #e2d6c8;background:#fffaf3;border-radius:11px;padding:5px 3px 7px;color:#34251e}.shade-choice img{display:block;width:100%;height:60px;object-fit:cover;border-radius:6px}.shade-choice span{display:block;font-size:11px;line-height:1.2;margin-top:5px;min-height:28px}.chosen{outline:2px solid #7b4a41!important;background:#f4e2cc!important}.selected{margin-top:11px;padding:11px;background:#f1e6d8;border-radius:10px;font-size:13px}.selected b{margin-right:4px}.second{display:block;margin-top:10px}.second input{accent-color:#6d294f}.selected select{display:block;width:100%;padding:9px;margin-top:8px;border:1px solid #c4ab90;background:white;border-radius:7px}.minor,.text-link{background:none;border:0;color:#673c37;text-decoration:underline;font-size:13px;padding:10px 0}.sheet-primary{display:block;width:100%;text-align:center;margin-top:15px;padding:13px;border:0;background:#2e211e;color:#fff;text-decoration:none;border-radius:10px;font-size:15px;font-weight:700}.sheet-primary:disabled{background:#a99486}.pack-list{display:grid;gap:8px}.pack-choice{display:flex;align-items:center;justify-content:space-between;width:100%;border:1px solid #ddcbb7;background:#fffaf3;border-radius:10px;padding:13px;color:#30231e;text-align:right}.pack-choice>span{font-size:16px;font-weight:650}.pack-choice small{font-size:10px;color:#946a50;margin-right:8px}.pack-choice b{font-size:17px}.fine{font-size:12px!important;color:#67564b!important}.demo-visual{position:relative;text-align:center;background:#e7d7c6;border-radius:12px;overflow:hidden}.demo-visual img{display:block;margin:auto;height:132px;max-width:100%;object-fit:contain}.demo-visual button{position:absolute;inset:auto 0 0;width:100%;padding:9px;border:0;background:#2a211eeb;color:white}#demo-slot video{width:100%;margin-top:9px;border-radius:8px}details{font-size:13px;margin-top:10px}details p{line-height:1.55}.receipt{border:1px solid #e0d0be;border-radius:12px;background:#fffaf4;padding:8px 14px}.receipt>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #e8dacb;font-size:13px}.receipt>div:last-child{border:0}.receipt small{font-size:11px;color:#766257}.receipt .sum{font-size:17px}.addon{display:flex;align-items:center;gap:7px;background:#efe3d3;border-radius:10px;margin-top:10px;padding:8px}.addon img{width:44px;height:44px;object-fit:contain}.addon span{flex:1;font-size:12px}.addon small{display:block;color:#745f52;font-size:10px}.addon button{border:1px solid #9b7963;background:#fffaf4;border-radius:7px;padding:7px;font-size:11px;white-space:nowrap}#talk-answer{min-height:75px}.question{font-weight:700;color:#332720!important}#talk-answer>a,#talk-answer>button{color:#673c37;font-size:13px}.question-picks{display:flex;gap:6px;flex-wrap:wrap}.question-picks button{border:1px solid #d4bda6;background:#fff9f0;padding:8px;border-radius:20px;color:#3b2d26;font-size:12px}#talk-form{display:flex;margin-top:15px;gap:7px}#talk-input{flex:1;min-width:0;padding:11px;border:1px solid #c9b59f;border-radius:8px;background:white}#talk-form button{padding:8px 16px;border:0;border-radius:8px;background:#34241f;color:white}@keyframes bob{50%{transform:translateX(-50%) translateY(4px)}}@keyframes pulse{50%{opacity:.3}}@media(max-width:359px){.shade-grid{grid-template-columns:repeat(3,1fr)}.guide{top:158px;bottom:auto}.guide p{font-size:13px}.hint{font-size:10px}}@media(min-width:760px){.start{place-items:center}.start-card{background:#211917e8;border:1px solid #9b795c;border-radius:18px;padding:35px 40px;text-align:center}.start p:not(.eyebrow){margin-left:auto;margin-right:auto}.chapter{right:35px;color:#f6eadb;text-shadow:0 1px 5px #1d1110}.chapter small{color:#ecd9c1}.guide{top:165px;bottom:auto}.hint{bottom:120px}#cart-pov{bottom:60px;height:235px}#sheet,#talk{max-width:600px;left:50%;transform:translateX(-50%);border-radius:22px 22px 0 0}}
.hud button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.hud button.muted svg{opacity:.45}.hint{transition:opacity .3s}.hint.gone{opacity:0}
