/* Approved result/stats presentation. All rules are scoped to these dialogs. */
.release-result .win-panel{width:min(720px,94vw)!important;padding:16px!important;border-radius:21px!important;background:linear-gradient(110deg,#fffaf1,#fff7eb)!important;box-shadow:0 22px 90px #001b15aa;isolation:isolate}
#lossOverlay.release-result .win-panel{background:radial-gradient(ellipse at 85% 100%,#06493b,#002e25 75%)!important;border:1px solid #8ba796}
.release-result .result-hero{grid-template-columns:42% 58%;height:198px;margin:0 0 12px;position:relative;z-index:1}
.release-result .win-pets{height:190px!important;margin:0!important}
.release-result .win-pets:not(.multiple) .win-pet-photo{width:192px!important;height:192px!important;aspect-ratio:1!important;border:4px solid #fff!important;border-radius:17px!important;box-shadow:0 3px 12px #543a2250}
.release-result .result-heading{padding:8px 6px 0 10px}
.release-result .result-heading>small{font-size:12px;font-weight:750;letter-spacing:.015em}
.release-result .result-heading h2{font:700 47px/1.01 Georgia,serif!important;margin:6px 0 15px!important;letter-spacing:-1px}
#lossOverlay .result-heading h2{font-size:39px!important;margin-bottom:13px!important}
.release-result .win-message{position:relative;min-height:84px;padding:10px 12px!important;border-radius:15px!important;background:linear-gradient(130deg,#f7eddb,#faf1e3)!important;border:1px solid #e2cbaa}
.release-result .win-message::before{content:"";position:absolute;left:-13px;bottom:19px;width:23px;height:15px;background:#f8eedc;clip-path:polygon(0 0,100% 0,100% 100%);border-top:1px solid #e2cbaa}
.release-result .win-message b{font:700 18px/1.1 Georgia,serif!important;color:#87420e}.release-result .win-message p{font:italic 16px/1.25 Georgia,serif!important;color:#0a3029;margin:5px 0 0!important}
.release-result .result-close{width:34px;height:34px;top:12px;right:12px;font-size:26px;font-weight:400;background:#eee3cf}
.result-paws{position:absolute;inset:0;pointer-events:none;z-index:0;color:#c9a450;opacity:.32}
.result-paws .release-icon{position:absolute;width:37px;height:37px;transform:rotate(-20deg)}
.result-paws .release-icon:nth-child(1){left:13px;top:56px}.result-paws .release-icon:nth-child(2){left:20px;top:140px;transform:rotate(16deg)}
.result-paws .release-icon:nth-child(3){left:45%;top:70px;transform:rotate(12deg)}.result-paws .release-icon:nth-child(4){right:20px;top:85px;transform:rotate(22deg)}.result-paws .release-icon:nth-child(5){left:38%;top:155px;transform:rotate(-15deg)}
.release-icon{display:inline-block;width:24px;height:24px;flex:none;vertical-align:middle}
.release-result .win-stats{gap:6px!important;margin:0 0 7px!important;position:relative;z-index:1}
.release-result .win-stats>div{display:grid!important;grid-template-columns:37px 1fr;grid-template-rows:auto auto auto;align-content:center;column-gap:4px;padding:9px 6px!important;min-height:77px;border-radius:11px!important;text-align:center;background:linear-gradient(#fff,#fffaf0)!important}
.release-result .win-stats .release-icon{grid-row:1/4;width:33px;height:33px;align-self:center;color:#edaa00;margin-left:2px}
#lossOverlay .win-stats .release-icon{color:#4c6c45}
.release-result .win-stats b{font-size:21px!important;color:#042d27;line-height:1.2!important}
.release-result .win-stats span,.release-result .win-stats small{font-size:10px!important;font-weight:400;line-height:1.25!important;color:#355c70;letter-spacing:0}
.release-result .win-stats .win-pb{grid-column:2;font-size:9px!important;line-height:1.2;background:#ffcb61;padding:4px 5px;border-radius:18px;margin:3px 0 0!important;letter-spacing:0;color:#012c24}
.release-result .result-points{height:69px;padding:10px 13px;gap:12px;grid-template-columns:1fr 1fr 1.4fr;border-width:1.5px;background:linear-gradient(115deg,#04392d,#002e26);border-radius:12px;position:relative;z-index:1}
.release-result .result-points>div{display:grid;grid-template-columns:45px 1fr;grid-template-rows:auto auto;column-gap:6px;text-align:left;align-items:center}
.result-points>div>.release-icon{grid-row:1/3;width:40px;height:40px;color:#ffcf65;filter:drop-shadow(0 2px 1px #ba810b)}
.release-result .result-points b{font-size:23px;line-height:1.15}.release-result .result-points>div>span{font-size:10px;font-weight:400;white-space:nowrap}
.release-result .result-points>button{display:flex;align-items:center;justify-content:center;gap:7px;padding:11px 8px;font-size:12px;border-radius:10px;white-space:nowrap;font-weight:700}
.result-points>button .release-icon{width:19px;height:19px}.result-points>button>span:last-child{font-size:26px;font-weight:400;line-height:.8;margin-left:auto}
.release-result .end-actions{gap:15px!important;margin:12px 0 0!important;flex-direction:row!important}
.release-result .end-actions button{min-width:34%;font-size:16px!important;padding:9px 20px!important;border-radius:26px!important;line-height:1.25!important}
#lossOverlay .end-actions button:not(.secondary-end){border:1.7px solid #fff8e8!important;background:transparent!important}
.release-result .end-feedback-link{display:block;position:absolute;bottom:5px;left:23px;font-size:9px!important;margin:0!important;opacity:.65}
.release-result .record-line:empty{display:none}.release-result .record-line{font-size:11px;font-weight:400!important;line-height:1.3;margin:6px 0 0!important}
.release-result .win-pets.multiple{height:190px!important;background:radial-gradient(ellipse at 45% 60%,#d2d9bc88,transparent 70%);border-radius:48%}
.release-result .win-pets.multiple .win-pet-photo{width:110px!important;height:110px!important;border:3px solid white!important;border-radius:50%!important;transform:none!important}
.release-result .win-pets.multiple .win-pet-photo:nth-child(1){left:2px;bottom:0;z-index:3;width:123px!important;height:123px!important}
.release-result .win-pets.multiple .win-pet-photo:nth-child(2){left:69px;top:0;z-index:2}
.release-result .win-pets.multiple .win-pet-photo:nth-child(3){left:157px;top:0;z-index:1}
.release-result .win-pets.multiple .win-pet-photo:nth-child(4){right:0;bottom:12px;z-index:4;width:106px!important;height:106px!important}
#detailedStats{width:min(920px,96vw)!important;max-width:min(920px,96vw)!important;padding:27px 19px 20px!important;border-radius:24px;background:radial-gradient(ellipse at 5% 0,#fffdf7,#fff8ed);color:#082e2a}
.detailed-stats h2{font:700 45px/1.04 Georgia,serif!important;letter-spacing:-1px;display:flex;align-items:center;gap:15px;margin:0 0 4px!important}
.detailed-stats h2>.release-icon{width:43px;height:43px;color:#90601e}
.detailed-stats>p{font-size:14px;margin:3px 0 11px 58px!important;line-height:1.2}
.detailed-stats .stats-tabs{margin:15px auto 10px;max-width:470px;padding:2px;background:#f5ecdf}.stats-tabs button{font-size:18px;padding:9px;display:flex;justify-content:center;align-items:center;gap:14px;font-weight:650}.stats-tabs .release-icon{width:25px;height:25px}
.stats-history-details{font-size:11px;color:#5b6d65;margin:3px 0 6px;text-align:right}.stats-history-details>summary{cursor:pointer;text-decoration:underline}.stats-history-details>p{text-align:left;margin:5px 0 0!important;line-height:1.35}
.detailed-stats .detail-section{padding:10px 15px;margin-top:8px;border-radius:14px;border-color:#e5d4b9;background:#fffdf72a}
.detailed-stats .detail-section h3{font:700 22px/1.05 Georgia,serif!important;letter-spacing:-.4px;margin:0 0 3px!important}
.detailed-stats .detail-section>p{font-size:12px;line-height:1.2;margin:0 0 8px!important;color:#42616c}
.detailed-stats .stats-grid{gap:9px}.detailed-stats .stats-tile{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:13px;min-height:89px;padding:9px 7px;text-align:left;background:linear-gradient(115deg,#edf1e4,#eff2e7);border:1px solid #d2ddc6;border-radius:11px}
.detailed-stats .stats-tile>div{display:flex;flex-direction:column;min-width:0}.detailed-stats .stats-tile>.release-icon{width:35px;height:35px;color:#0b3c32}
.detailed-stats .stats-tile.gold{background:linear-gradient(110deg,#fff7e3,#ffe6b0);border-color:#f4cc7f}.detailed-stats .stats-tile.gold>.release-icon{color:#dfa02b}
.detailed-stats .stats-tile b{font-size:27px;line-height:1.1;color:#071d1b;font-weight:750;letter-spacing:-.3px}.detailed-stats .stats-tile span{font-size:10px;font-weight:400;margin:4px 0 0;line-height:1.1;letter-spacing:0}.detailed-stats .stats-tile small{font-size:11px;font-weight:400!important;line-height:1.2;letter-spacing:0;margin-top:5px;color:#48646c}
.detailed-stats .secondary{margin-top:8px}.detailed-stats .secondary .stats-tile{min-height:58px;background:#fffdf9;border-color:#e9dbc6;gap:9px;padding:8px}.detailed-stats .secondary .stats-tile b{font-size:21px}.detailed-stats .secondary .stats-tile>.release-icon{width:29px;height:29px;color:#898b88}.detailed-stats .secondary .tile-crown>.release-icon{color:#dfa02b}
.detailed-stats .three .stats-tile{min-height:94px;gap:18px}.detailed-stats .three .release-icon{width:43px;height:43px}
.detailed-stats .stats-halves{gap:9px}.detailed-stats .stats-halves dl{margin:8px 0 0}.detailed-stats .stats-halves dl>div{padding:6px 8px;min-height:32px;font-size:12px;align-items:center;gap:6px}.detailed-stats dt{display:flex;align-items:center;gap:14px}.detailed-stats dt .release-icon{width:18px;height:18px}.detailed-stats dd{font-size:14px;font-weight:650}
.detailed-stats table{font-size:12px}.detailed-stats th,.detailed-stats td{padding:8px 5px;font-weight:400}.detailed-stats thead th{font-size:11px;font-weight:650}.detailed-stats tbody th{font-weight:650}.stats-halves tbody th{color:#007844;border-radius:6px}.stats-halves tbody tr:nth-child(2) th{color:#0086d5}.stats-halves tbody tr:nth-child(3) th{color:#8e41c2}.stats-halves tbody .release-icon{width:21px;height:21px;margin-right:6px}
.detailed-stats .detail-section:has(.tile-coins) .stats-tile:first-child{background:linear-gradient(130deg,#0d493e,#002f28);border-color:#1d5546}.detailed-stats .detail-section:has(.tile-coins) .stats-tile:first-child b,.detailed-stats .detail-section:has(.tile-coins) .stats-tile:first-child span,.detailed-stats .detail-section:has(.tile-coins) .stats-tile:first-child small{color:#fffaf1}.detailed-stats .detail-section:has(.tile-coins) .stats-tile:first-child .release-icon{color:#ffcb5f;width:40px;height:40px}.detailed-stats .tile-coins>.release-icon{color:#d89421}
.detailed-stats .stats-view-all{position:absolute;top:13px;right:17px;font-size:11px;margin:0}.detailed-stats .game-result .release-icon{width:17px;height:17px;margin-right:6px}.detailed-stats .game-result.win{color:#007744}.detailed-stats .game-result.loss{color:#718079}.detailed-stats .stats-done{font-size:17px;margin-top:15px;padding:12px 60px}
@media(max-width:650px){
 .release-result .win-panel{padding:13px!important}.release-result .result-hero{grid-template-columns:37% 63%;height:165px}.release-result .win-pets{height:150px!important}.release-result .win-pets:not(.multiple) .win-pet-photo{width:115px!important;height:140px!important}
 .release-result .result-heading{padding:8px 0 0 8px}.release-result .result-heading h2{font-size:33px!important;margin:4px 0 10px!important}#lossOverlay .result-heading h2{font-size:29px!important}.release-result .result-heading>small{font-size:9px}.release-result .win-message{padding:8px!important;min-height:70px}.release-result .win-message b{font-size:15px!important}.release-result .win-message p{font-size:13px!important}
 .release-result .win-stats>div{min-height:64px;grid-template-columns:27px 1fr}.release-result .win-stats .release-icon{width:24px;height:24px}.release-result .win-stats b{font-size:18px!important}
 .release-result .result-points{height:auto;grid-template-columns:1fr 1fr;padding:10px;gap:9px}.release-result .result-points>button{grid-column:1/3;justify-content:center}.release-result .result-points>div:nth-child(2){border:0}.result-points>div>.release-icon{width:30px;height:30px}.release-result .result-points>div{grid-template-columns:32px 1fr}.release-result .result-points b{font-size:21px}.result-points>button>span:last-child{margin-left:5px}.release-result .end-feedback-link{position:static;margin:5px auto 0!important;font-size:9px!important}.release-result .end-actions{gap:7px!important}.release-result .end-actions button{padding:9px 12px!important;font-size:14px!important;min-width:0;flex:1}
 .release-result .win-pets.multiple{height:148px!important}.release-result .win-pets.multiple .win-pet-photo{width:67px!important;height:67px!important}.release-result .win-pets.multiple .win-pet-photo:nth-child(1){width:72px!important;height:72px!important;bottom:12px}.release-result .win-pets.multiple .win-pet-photo:nth-child(2){left:20px;top:9px}.release-result .win-pets.multiple .win-pet-photo:nth-child(3){left:66px;top:9px}.release-result .win-pets.multiple .win-pet-photo:nth-child(4){width:64px!important;height:64px!important;right:-2px;bottom:23px}
 #detailedStats{padding:23px 12px!important}.detailed-stats h2{font-size:33px!important;gap:8px}.detailed-stats h2>.release-icon{width:30px;height:30px}.detailed-stats>p{margin-left:38px!important;font-size:12px}.detailed-stats .detail-section{padding:10px}.detailed-stats .stats-tile{min-height:82px;gap:9px}.detailed-stats .stats-tile b{font-size:24px}.detailed-stats .stats-tile>.release-icon{width:27px;height:27px}.detailed-stats .stats-view-all{position:static;margin:0 0 7px auto}
}
@media(max-height:540px) and (min-width:651px){.release-result .result-hero{height:148px}.release-result .win-pets{height:145px!important}.release-result .win-pets:not(.multiple) .win-pet-photo{width:144px!important;height:144px!important}.release-result .win-stats>div{min-height:66px}.release-result .win-pets.multiple{height:145px!important}.release-result .win-pets.multiple .win-pet-photo{width:85px!important;height:85px!important}.release-result .win-pets.multiple .win-pet-photo:nth-child(1){width:95px!important;height:95px!important}.release-result .win-pets.multiple .win-pet-photo:nth-child(4){width:85px!important;height:85px!important}}

.release-result .win-stats .win-pb span,.release-result .win-stats .win-pb strong{display:block;color:inherit!important;font-size:8px!important;line-height:1.2!important;font-weight:800}.release-result .win-stats>div:nth-child(2) .release-icon,.release-result .win-stats>div:nth-child(3) .release-icon{color:#09392f}
.stats-paws{position:absolute;right:60px;top:12px;width:200px;height:105px;pointer-events:none;color:#d6bd92;opacity:.32}.stats-paws .release-icon{position:absolute;width:35px;height:35px}.stats-paws .release-icon:nth-child(1){left:0;top:33px;transform:rotate(-20deg)}.stats-paws .release-icon:nth-child(2){right:67px;top:0;width:50px;height:50px;transform:rotate(18deg)}.stats-paws .release-icon:nth-child(3){right:0;top:60px;transform:rotate(15deg)}@media(max-width:650px){.stats-paws{display:none}}

.release-result .result-hero{margin-bottom:16px}#lossOverlay .result-heading h2::after{content:"";display:block;width:170px;height:5px;border-top:2px solid #c9a54f;border-radius:50%;margin:6px auto 0;opacity:.8}.release-result .win-pets.multiple::before{content:"";position:absolute;left:-12px;right:-12px;top:85px;height:52px;border-top:22px solid #a5ba8c55;border-bottom:13px solid #8a9f7777;border-radius:50%;transform:rotate(20deg)}.detailed-stats .stats-halves tbody tr:nth-child(1) th{background:#e7f1e7}.detailed-stats .stats-halves tbody tr:nth-child(2) th{background:#e8f2fa}.detailed-stats .stats-halves tbody tr:nth-child(3) th{background:#f2eafa}

@media(max-height:540px) and (min-width:651px){.release-result .result-heading h2{font-size:36px!important;margin:4px 0 8px!important}#lossOverlay .result-heading h2{font-size:29px!important;margin-bottom:7px!important}.release-result .win-message{min-height:60px!important;padding:7px!important}.release-result .win-message p{font-size:13px!important}.release-result .win-message b{font-size:15px!important}.release-result .result-heading>small{font-size:9px}.release-result .result-hero{margin-bottom:10px}.release-result .result-points{height:60px}.release-result .end-actions{margin-top:9px!important}}

#lossOverlay.release-result .result-hero{height:212px}@media(max-width:650px){#lossOverlay.release-result .result-hero{height:185px}}@media(max-height:540px) and (min-width:651px){#lossOverlay.release-result .result-hero{height:148px}}

.release-result .result-hero{height:auto!important;min-height:198px}@media(max-width:650px){.release-result .result-hero{min-height:165px}#lossOverlay.release-result .result-hero{min-height:185px}}@media(max-height:540px) and (min-width:651px){.release-result .result-hero,#lossOverlay.release-result .result-hero{min-height:140px}}
