/* Shared in-game art and result presentation. */
.scene-reward{display:block;width:clamp(130px,23dvh,220px);height:clamp(130px,23dvh,220px);flex:none;margin:0 auto;background:url('../images/game-rewards-v1.webp') no-repeat;background-size:200% 200%;filter:drop-shadow(0 12px 17px #071c3777);animation:reward-float 3s ease-in-out infinite;pointer-events:none}.reward-nautical{background-position:0 0}.reward-quiz{background-position:100% 0}.reward-golf{background-position:0 100%}.reward-retry{background-position:100% 100%}
.scene-icon,.scene-star{display:inline-block;flex:none;width:29px;height:29px;background:url('../../oyunlar/mini-golf/assets/ui-icons-v1.webp') no-repeat;background-size:400% 400%;vertical-align:middle;pointer-events:none}.scene-icon.icon-home{background-position:0 0}.scene-icon.icon-map{background-position:33.333333% 0}.scene-icon.icon-sound-on{background-position:66.666667% 0}.scene-icon.icon-sound-off{background-position:100% 0}.scene-icon.icon-pause{background-position:66.666667% 33.333333%}.scene-icon.icon-play{background-position:100% 33.333333%}.scene-icon.icon-star,.scene-star{background-position:100% 100%}.scene-star{width:48px;height:48px;filter:grayscale(1);opacity:.25}.scene-star.earned{filter:drop-shadow(0 4px 8px #eabc3d66);opacity:1;animation:star-arrive .55s backwards}.scene-star:nth-child(2){animation-delay:.15s;transform:translateY(-7px);width:58px;height:58px}.scene-star:nth-child(3){animation-delay:.3s}.scene-rank,.result-rank{color:#ffe8a1;font-size:10px;letter-spacing:.25em;font-weight:900}.scene-scores{display:flex;gap:14px;justify-content:center;align-items:center;margin:20px auto;color:#fff6ce}.scene-scores>div{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:105px;min-height:100px;padding:13px 20px;border-radius:24px;border:1px solid #ffe6a172;background:linear-gradient(#173e54e0,#092c42e0);box-shadow:0 5px 0 #061f35,0 9px 25px #061e3538}.scene-scores b{font-size:39px;font-weight:1000;color:#ffe199;font-variant-numeric:tabular-nums}.scene-scores small{font-size:9px;letter-spacing:.1em;font-weight:800;color:#b9d7d7}.scene-score{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:118px;height:118px;margin:12px auto;border:2px solid #ffefb5;border-radius:50%;color:#294b31;background:linear-gradient(145deg,#fff7d1,#efc665);box-shadow:0 5px 0 #aa883c,0 10px 30px #143f3244}.scene-score>span{font-size:9px;letter-spacing:.13em;font-weight:900}.scene-score strong{font-size:56px;line-height:1.05;letter-spacing:-3px;font-weight:1000}.scene-score small{font-size:9px;font-weight:900}
.scene-result{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:24px;border:0;border-radius:0;box-shadow:none;background:radial-gradient(ellipse at 50% 30%,#417277c9,transparent 65%),#072b40f2;color:#fff8dc;overflow:auto;text-align:center;flex-direction:column;align-items:center;justify-content:safe center;gap:4px;isolation:isolate}.scene-result[open]{display:flex}.scene-result::backdrop{background:#06283fe8;backdrop-filter:blur(12px)}.scene-result::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 19% 20%,#ffe89d80 0 2px,transparent 3px),radial-gradient(circle at 80% 15%,#ffe89d70 0 3px,transparent 4px),radial-gradient(circle at 12% 60%,#b1efd360 0 2px,transparent 3px),radial-gradient(circle at 85% 65%,#ffe89d50 0 3px,transparent 4px),radial-gradient(ellipse at 50% 35%,#ffdf8624,transparent 53%);background-size:100% 100%}.scene-result h2{margin:6px 0 9px;color:#fff2b8;font-size:clamp(32px,5.7vw,59px);letter-spacing:-2px;line-height:1.05;text-shadow:0 4px #204331}.scene-result p{max-width:450px;color:#c4dcdf;font-size:13px;line-height:1.6}.scene-result .primary{min-height:56px;font-size:16px;border-radius:17px;box-shadow:0 5px 0 #9f7926}.result-home{display:inline-block;margin:20px auto 0;padding:7px 13px;border:0;background:transparent;color:#bcd3df;font-size:12px;font-weight:800;cursor:pointer}.result-constellation{display:flex;justify-content:center;align-items:center;gap:4px;margin:10px 0}.scene-result.defeat{background:radial-gradient(ellipse at 50% 25%,#31586ba8,transparent 60%),#08283ff5}@keyframes reward-float{50%{transform:translateY(-7px) rotate(2deg)}}@keyframes star-arrive{from{opacity:0;scale:.2;rotate:-22deg}to{opacity:1;scale:1;rotate:0deg}}
@media(max-width:650px){.scene-result{padding:20px 14px}.scene-result h2{font-size:36px}.scene-scores{gap:8px;margin:15px auto}.scene-scores>div{min-width:85px;min-height:83px;padding:12px;border-radius:18px}.scene-scores b{font-size:30px}.scene-scores small{font-size:8px}.scene-result .primary{min-height:51px;font-size:14px}.scene-result p{font-size:12px;max-width:310px}.scene-reward{width:clamp(110px,22dvh,175px);height:clamp(110px,22dvh,175px)}}
@media(max-height:540px){.scene-reward{width:95px;height:95px}.scene-result{justify-content:flex-start;padding:12px}.scene-result h2{font-size:31px}.scene-scores{margin:8px auto}.scene-scores>div{min-height:64px;padding:7px 15px}.scene-scores b{font-size:28px}.scene-result p{margin:7px}.scene-result .primary{min-height:43px}.scene-star{width:30px;height:30px}.scene-star:nth-child(2){width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.scene-reward,.scene-star{animation:none!important}}
