/* Approved Daily Rewards shell; all reward text, progress and claims remain live.
   The 935 × 1681 art sections keep their aspect ratio inside the native viewport. */
#panel[data-front="daily"]{--daily-height:calc(100vw * 1681 / 935);--daily-top:0px;position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:100dvh!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:#00132d!important;box-shadow:none!important;touch-action:manipulation}
#panel[data-front="daily"] #panelbody{position:absolute;inset:0;width:100%!important;height:100dvh!important;min-height:0!important;max-width:none!important;margin:0!important;padding:0!important;overflow:hidden!important;background:none!important}
.daily-screen{position:relative;isolation:isolate;width:100%;height:100%;max-width:none;margin:0;padding:0;border:0;box-sizing:border-box;overflow:hidden;background:url('menu-night-background.png') center/cover no-repeat;color:#eef7ff;font-family:GameText,system-ui,sans-serif}
/* Keep the approved composition intact; scenery fills the taller native display. */
.daily-composition{position:absolute;top:0;left:0;width:100%;height:var(--daily-height);container-type:inline-size}
.daily-composition::before{content:'';position:absolute;inset:0;pointer-events:none;background:url('daily-rewards-approved.png') center/100% 100% no-repeat;mask-image:linear-gradient(#000 86.6%,transparent 88%)}
/* Static headings and illustrations are supplied by the unchanged approved art. */
.daily-heading,.daily-gift header,.challenge-heading,.challenge-reward>small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.daily-gift,.daily-challenge{position:absolute;inset:0;width:100%;height:100%;min-height:0;display:block;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;pointer-events:none}
.daily-gift-value{position:absolute;left:60.2%;top:39.3%;width:26%;height:11.5%;display:grid;place-items:center;padding:0;background:radial-gradient(ellipse at 50% 34%,#5c4219,#172128 70%,#071b29);border-radius:15%;}
.daily-gift-value .gem-illustration,.challenge-reward .gem-illustration{display:none}
.daily-gift-value strong{margin:0;text-align:center;color:#ffe951;font:1000 14cqw/.9 SkyArcade,system-ui;text-shadow:0 2px #cf7c16,0 0 9px #ffb900;letter-spacing:-.04em}
.daily-gift-value small{display:block;margin-top:4%;color:#eefaff;font:1000 6.4cqw/1 SkyArcade,system-ui;text-shadow:0 2px #007dcb;letter-spacing:0}
#panel[data-front="daily"] :is(#claim-delivery,#claim-challenge){position:absolute;left:8.6%;width:82.8%;margin:0;padding:0 2%;min-height:0;border:1.5px solid #8effac;border-radius:2.7cqw;background:linear-gradient(105deg,#008339,#00672a,#006d35);box-shadow:inset 0 0 10px #28ff6e77,0 0 8px #16c93955;color:#e2fff7;font:900 4.2cqw/1.1 GameText,system-ui;letter-spacing:.01em;pointer-events:auto}
#panel[data-front="daily"] #claim-delivery{top:52.45%;height:5.65%}
#panel[data-front="daily"] #claim-challenge{top:79.6%;height:5.25%}
#panel[data-front="daily"] :is(#claim-delivery,#claim-challenge):disabled{opacity:1;border-color:#45f1c8;background:linear-gradient(110deg,#004b48,#006054,#004b48);box-shadow:inset 0 0 8px #06d9b522;color:#a1f5ec}
.challenge-summary>div:first-child{position:absolute;left:8.65%;top:66.45%;width:48.5%;height:9.45%;box-sizing:border-box;padding:.7% 0;background:linear-gradient(100deg,#001733,#001630);}
.daily-challenge h2{margin:0 0 3%;color:#f1f4ff;font:900 5.4cqw/1.08 GameText,system-ui;letter-spacing:-.02em}
.daily-challenge p{margin:0;color:#94d9ff;font:500 3.05cqw/1.36 GameText,system-ui}
.challenge-reward{position:absolute;left:75%;top:67.35%;width:15.8%;height:7.25%;display:grid;place-items:center;min-height:0;padding:0;border:0;border-radius:0;box-shadow:none;background:linear-gradient(120deg,#00224c,#002044);text-align:center}
.challenge-reward strong{color:#ffe64e;font:1000 9cqw/.95 SkyArcade,system-ui;text-shadow:0 2px #bb7418,0 0 4px #f5a832}
.challenge-reward strong>span{display:block;color:#f0fbff;font:900 4.2cqw/1 SkyArcade,system-ui;text-shadow:0 2px #007cc0}
.challenge-progress{position:absolute;left:8.6%;top:75.95%;width:82.5%;height:2.8%;display:flex;align-items:center;gap:2%;background:#001936}
.challenge-progress strong{color:#e2f7ff;font:900 3.4cqw/1 GameText,system-ui;white-space:nowrap}
.challenge-progress progress{flex:1;min-width:0;width:100%;height:58%;margin:0;border:1px solid #25ffc8;border-radius:20px;overflow:hidden;background:#001b3e}
.challenge-progress progress::-webkit-progress-bar{background:#001b3e}
.challenge-progress progress::-webkit-progress-value{border-radius:20px;background:linear-gradient(90deg,#00d3a4,#63ffb4)}
/* Transparent accessible hit targets align with the approved close/info artwork. */
#panel[data-front="daily"] .panelhead{position:absolute;z-index:20;top:calc(var(--daily-top) + var(--daily-height)*.027);right:3.7%;left:auto;width:10%;height:calc(var(--daily-height)*.05);pointer-events:none}
#panel[data-front="daily"] #closepanel{pointer-events:auto;width:100%!important;height:100%!important;min-width:44px!important;min-height:44px!important;margin:0;padding:0!important;border:0!important;border-radius:12px!important;background:transparent!important;box-shadow:none!important;color:transparent!important;font-size:0!important}
#panel[data-front="daily"] #daily-info{position:absolute;top:87.9%;right:3.8%;z-index:8;width:9%!important;height:4.6%!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:1.5px solid #31bfff!important;border-radius:50%!important;background:#00214b!important;box-shadow:0 0 8px #009dff88!important;color:#95edff!important;text-shadow:none!important;font:700 26px/1 Georgia,serif!important}
#daily-note:empty{display:none}
#panel[data-front="daily"] #daily-note{position:absolute;left:8%;right:18%;top:87%;z-index:8;margin:0;padding:6px 8px;border-radius:8px;background:#001b35ee;color:#d7f8ff;font:600 11px/1.2 GameText,system-ui}
#daily-info-copy{position:absolute;top:83%;right:6%;z-index:9;width:72%;box-sizing:border-box;margin:0;padding:10px 12px;border:1px solid #30d6ff;border-radius:12px;background:#00152cf5;box-shadow:0 5px 18px #00102699;color:#d6faff;font:500 12px/1.35 GameText,system-ui}
#daily-info-copy[hidden]{display:none!important}
#panel[data-front="daily"] :is(#claim-delivery,#claim-challenge,#daily-info,#closepanel){touch-action:manipulation;-webkit-tap-highlight-color:transparent}
#panel[data-front="daily"] :is(#claim-delivery,#claim-challenge,#daily-info,#closepanel):focus-visible{outline:2px solid #fff5be;outline-offset:2px}

/* Show the approved numeric/CTA artwork only when it exactly matches live state.
   Other amounts and claim states use the same accessible live DOM above. */
.daily-composition[data-gift="40"] .daily-gift-value,
.daily-composition[data-challenge-reward="60"] .challenge-reward{opacity:0}
#panel[data-front="daily"] .daily-composition[data-gift="40"][data-gift-claimed="false"] #claim-delivery,
#panel[data-front="daily"] .daily-composition[data-challenge-claimed="true"] #claim-challenge{color:transparent;text-shadow:none;-webkit-text-stroke:0;background:transparent;border-color:transparent;box-shadow:none}
.challenge-summary>div:first-child{box-shadow:0 0 9px 3px #001733;border-radius:5px}
