/* Saudi illustrated reaction game: all live controls/objects are independent of the scenery. */
#app>.date-dash-shell,
#app .online-game-panel > .date-dash-shell{position:relative;isolation:isolate;height:100dvh;padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px);background:#eac58b;color:#4c2d18;overflow:hidden;box-sizing:border-box;}
#app .date-dash-shell .site-header{position:relative;height:64px;min-height:64px;padding:8px 14px;background:linear-gradient(#fff4d5,#eed29c);border:0;z-index:10;}
#app .date-dash-shell .brand-button{width:44px;height:44px;min-height:44px;padding:0;font-size:0;border:1px solid #b9914a;background:#fff3ce;border-radius:50%;color:#644017;}
#app .date-dash-shell .brand-button::before{content:'⌂';font:29px Georgia;}
#app .date-dash-shell .brand-mark,#app .date-dash-shell .brand-dot,#app .date-dash-shell .all-games,#app .date-dash-shell .reset-game,#app .date-dash-shell .fullscreen-button,#app .date-dash-shell .scoreboard,#app .date-dash-shell .arcade-controls{display:none;}
#app .date-dash-shell .game-title-row{position:fixed;z-index:11;top:13px;left:65px;right:65px;display:block;text-align:center;margin:0;pointer-events:none;}
#app .date-dash-shell .game-title-row h1{font:700 clamp(23px,4vw,34px)/1 Georgia;letter-spacing:0;color:#623818;text-shadow:0 1px #fff8d4;}
#app .date-dash-shell .eyebrow,#app .date-dash-shell .round-tag,#app .date-dash-shell .purple{display:none;}
#app .date-dash-shell .arcade-main{position:relative;display:block;flex:1;min-height:0;width:100%;padding:0;}
#app .date-dash-shell .arcade-stage{position:absolute;inset:0;min-height:0;width:100%;height:100%;aspect-ratio:auto;border:0;border-radius:0;margin:0;overflow:hidden;box-shadow:none;}
#app .date-dash-shell .arcade-toolbar{position:static;min-height:0;}
#app .date-dash-shell .arcade-status{position:absolute;z-index:7;top:37px;left:50%;transform:translateX(-50%);width:max-content;max-width:90%;font:600 11px system-ui;text-align:center;background:#fff5d9ed;border:1px solid #b98e42;border-radius:16px;padding:5px 12px;pointer-events:none;}
#app .date-dash-shell .pause-game{position:fixed;z-index:12;right:14px;top:calc(env(safe-area-inset-top,0px) + 10px);width:44px;height:44px;min-width:44px;min-height:44px;font-size:0;padding:0;border:1px solid #b9914a;border-radius:50%;background:#fff3ce;color:#644017;}
#app .date-dash-shell .pause-game::before{content:'Ⅱ';font:25px Georgia;}
#app .date-dash-shell .dd-world{position:absolute;inset:0;background:#dbaf6c url('/assets/date-dash/landscape-v2.webp') center/100% 100% no-repeat;}
#app .date-dash-shell .arcade-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:4;pointer-events:none;}
#app .date-dash-shell .dd-basket{position:absolute;z-index:3;width:clamp(130px,23vw,235px);aspect-ratio:1;left:var(--x);top:var(--y);transform:translate(-50%,-50%);padding:0;border:0;border-radius:25%;background:none;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;}
#app .date-dash-shell .dd-basket-art{position:absolute;inset:0;background:url('/assets/date-dash/baskets-v1.webp') var(--bx) var(--by)/200% 200% no-repeat;filter:drop-shadow(0 8px 5px #5b351833);pointer-events:none;}
#app .date-dash-shell .dd-basket:focus-visible{outline:3px solid #fff6c8;outline-offset:0;}
#app .date-dash-shell .dd-front{z-index:5;pointer-events:none;clip-path:inset(44% 0 0 0);}
#app .date-dash-shell .dd-front .dd-basket-art{filter:none;}
#app .date-dash-shell .dd-basket-score{position:absolute;top:84%;left:50%;transform:translateX(-50%);white-space:nowrap;border:2px solid #e9bd66;background:var(--player);border-radius:17px;box-shadow:0 2px 5px #2e160c44;padding:4px 12px;color:#fff8de;font:700 clamp(12px,1.8vw,18px)/1.2 Georgia;text-shadow:0 1px 1px #0008;pointer-events:none;}
#app .date-dash-shell .dd-locked{filter:saturate(.5);}
#app .date-dash-shell .dd-won .dd-basket-art{filter:drop-shadow(0 0 9px #ffed94);}
#app .date-dash-shell .dd-feedback{position:absolute;right:4%;top:13%;font:800 29px Georgia;color:#fff6b0;text-shadow:0 0 7px #f7ba35,1px 2px #2e6b1a;pointer-events:none;}
#app .date-dash-shell .dd-feedback.dd-wrong{color:#ffded1;text-shadow:0 0 6px #ad2e11,1px 2px #8e2718;}
#app .date-dash-shell .dd-progress{position:absolute;z-index:7;top:7px;left:50%;transform:translateX(-50%);border:1px solid #d2a84e;border-radius:15px;background:linear-gradient(#71451e,#44240f);padding:4px 16px;color:#fff0c4;font:700 14px Georgia;}
#app .date-dash-shell .dd-intro{position:absolute;inset:0;z-index:8;overflow:hidden;background:#c59d60;}
#app .date-dash-shell .dd-intro picture{position:absolute;inset:0;}.dd-intro img{width:100%;height:100%;object-fit:contain;transform-origin:58% 78%;}
#app .date-dash-shell .dd-intro>div{position:absolute;top:4%;left:50%;transform:translateX(-50%);width:max-content;max-width:90%;text-align:center;background:#fff4d7ed;border:1px solid #ba9145;border-radius:22px;padding:15px 28px;color:#60401d;}
#app .date-dash-shell .dd-intro small{letter-spacing:2px;font-size:9px;}
#app .date-dash-shell .dd-intro h2{font:700 32px Georgia;letter-spacing:0;margin:3px;}
#app .date-dash-shell .dd-intro p{margin:3px;font-size:12px;}
#app .date-dash-shell .dd-skip{position:absolute;right:15px;bottom:18px;min-height:44px;border:1px solid #bc964d;border-radius:20px;padding:8px 15px;background:#fff6d9;color:#67431c;font:600 13px system-ui;}
#app .date-dash-shell [hidden]{display:none!important;}
#app .date-dash-shell>.arcade-overlay{position:absolute;z-index:20;inset:0;background:#59320e55;backdrop-filter:blur(5px);}
#app .date-dash-shell .arcade-overlay-card{background:linear-gradient(#fff9e6,#f0d6a7);color:#573b20;border:2px solid #c5984e;border-radius:24px;max-height:calc(100dvh - 35px);overflow:auto;}
#app .date-dash-shell .arcade-overlay-card h2{font:700 32px Georgia;letter-spacing:0;color:#5d351b;}
#app .date-dash-shell .arcade-overlay-card p{font:12px/1.65 system-ui;color:#71502d;}
#app .date-dash-shell .primary{background:linear-gradient(#a87932,#6e471c);border:1px solid #9a702f;color:#fff4d4;}
#app .date-dash-shell .text-button{color:#64401f;}
#app .date-dash-shell .results>div{color:#64401f;}
@media(max-aspect-ratio:4/5){#app .date-dash-shell .dd-world{background-image:url('/assets/date-dash/portrait-v2.webp');}}
@media(max-width:500px){#app .date-dash-shell .dd-basket{width:clamp(125px,36vw,175px);}#app .date-dash-shell .dd-basket-score{padding:3px 8px;}}
@media(max-height:500px){#app .date-dash-shell .site-header{height:49px;min-height:49px;}#app .date-dash-shell .game-title-row{top:10px;}#app .date-dash-shell .game-title-row h1{font-size:26px;}#app .date-dash-shell .pause-game{top:5px;min-height:38px;height:38px;width:38px;}#app .date-dash-shell .dd-basket{width:clamp(90px,16vw,145px);}#app .date-dash-shell .arcade-status{top:27px;padding:3px 9px;font-size:10px;}#app .date-dash-shell .dd-progress{top:3px;font-size:12px;padding:3px 12px;}#app .date-dash-shell .dd-basket-score{font-size:11px;top:80%;}}

#app .date-dash-shell .dd-intro::before{content:'';position:absolute;inset:-25px;background:url('/assets/date-dash/intro-madinah-v2.webp') center/cover;filter:blur(20px);opacity:.8;}
#app .date-dash-shell.dd-opening .arcade-status{visibility:hidden;}
@media(max-aspect-ratio:4/5){#app .date-dash-shell .dd-intro::before{background-image:url('/assets/date-dash/intro-madinah-portrait-v2.webp');}}

#app .date-dash-shell .game-title-row>div:first-child{display:block;width:100%;text-align:center;}
#app .date-dash-shell .game-title-row h1{width:100%;max-width:none;margin:0;}

#app .date-dash-shell .dd-sound{position:fixed;z-index:12;right:65px;top:calc(env(safe-area-inset-top,0px) + 12px);width:40px;min-width:40px;height:40px;min-height:40px;border:1px solid #b9914a;border-radius:50%;padding:0;background:#fff3ce;font:18px system-ui;}
#app .date-dash-shell .learning-level{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;margin:14px 0;color:#64401f;}
#app .date-dash-shell .learning-level select{border:1px solid #bb9147;border-radius:12px;min-height:42px;background:#fff7df;color:#64401f;padding:8px;font:600 13px system-ui;}
@media(max-height:500px){#app .date-dash-shell .dd-sound{top:5px;}}

#app .date-dash-shell .dd-locked .dd-basket-art{filter:grayscale(1) brightness(.68);}
#app .date-dash-shell .dd-locked .dd-basket-score{filter:grayscale(1);}
#app .date-dash-shell .dd-lock-label{position:absolute;z-index:2;left:50%;top:63%;transform:translate(-50%,-50%);border:1px solid #fff8;border-radius:9px;background:#282522d9;padding:5px 9px;color:#fff7e6;font:800 11px/1.1 system-ui;pointer-events:none;}
#app .date-dash-shell .dd-lock-label small{font-size:9px;font-weight:500;}
#app .date-dash-shell .dd-tree{position:absolute;z-index:2;left:50%;top:49%;transform:translate(-50%,-50%);width:clamp(65px,14vw,180px);height:28%;border:0;background:transparent;padding:0;touch-action:none;}
#app .date-dash-shell .dd-tree:focus-visible{outline:2px dashed #fff1bb;border-radius:20%;}

#app .date-dash-shell .dd-start-cue{position:absolute;z-index:7;top:64px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);margin:0;padding:12px 16px;border:1px solid #b98e42;border-radius:16px;background:#fff5d9f5;color:#573b20;text-align:center;pointer-events:none;box-shadow:0 3px 12px #59320e33;line-height:1.35}
#app .date-dash-shell .dd-start-cue strong{display:block;font:700 clamp(17px,2.8vw,23px)/1.25 Georgia,serif}
#app .date-dash-shell .dd-start-cue span{display:block;margin-top:4px;font:600 clamp(12px,2vw,15px)/1.3 system-ui;color:#7c4a22}
#app .date-dash-shell.dd-instructing .arcade-status{visibility:hidden}
@media(max-height:500px){#app .date-dash-shell .dd-start-cue{top:28px;padding:7px 12px}#app .date-dash-shell .dd-start-cue strong{font-size:16px}#app .date-dash-shell .dd-start-cue span{font-size:12px;margin-top:3px}}
