/* Visual embellishments; no changes to game inputs or their bindings. */
.icon-trophy{--action-icon:url('../images/icon-trophee.png')}
.icon-hourglass{--action-icon:url('../images/icon-sablier.png')}
.icon-shield{--action-icon:url('../images/icon-bouclier.png')}
.trophy-pair{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px;margin:16px 0}
.trophy-pair .world-scene{min-width:0;margin:0}
.trophy-pair .world-scene img{max-height:225px;object-fit:cover}
.trophy-pair figcaption{padding:10px 14px;color:var(--muted);font-size:.9rem}
.trophy-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:10px;margin:14px 0 20px}
.trophy-actions a{min-width:0;box-sizing:border-box}
#restart,#pulse,#again,#next,#close-result,#blocks-pause,#blocks-sound{--game-icon:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;max-width:100%;white-space:normal}
#restart,#again,#blocks-pause{--game-icon:url('../images/icon-sablier.png')}
#pulse{--game-icon:url('../images/item-energy.png')}
#next{--game-icon:url('../images/icon-trophee.png')}
#close-result{--game-icon:url('../images/icon-boussole.png')}
#blocks-sound{--game-icon:url('../images/icon-engrenage.png')}
#restart::before,#pulse::before,#again::before,#next::before,#close-result::before,#blocks-pause::before,#blocks-sound::before{content:"";flex:0 0 24px;width:24px;height:24px;background:var(--game-icon) center/contain no-repeat}
#restart[hidden],#pulse[hidden],#again[hidden],#next[hidden],#close-result[hidden],#blocks-pause[hidden],#blocks-sound[hidden]{display:none!important}
#game .stats small,.blocks-meters dt{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap}
#game .stats small::before,.blocks-meters dt::before{content:"";width:22px;height:22px;flex:0 0 22px;background:var(--stat-icon,none) center/contain no-repeat}
#game .stats>div:first-child small{--stat-icon:url('../images/icon-sablier.png')}
#game .stats>div:nth-child(2) small{--stat-icon:url('../images/icon-trophee.png')}
#blocks-clock dt{--stat-icon:url('../images/icon-sablier.png')}
.blocks-meters dl>div:nth-child(2) dt{--stat-icon:url('../images/icon-medaille.png')}
.blocks-meters dl>div:nth-child(3) dt{--stat-icon:url('../images/icon-trophee.png')}
.blocks-meters dl>div:nth-child(4) dt{--stat-icon:url('../images/icon-bouclier.png')}
#game .game-side .panel:first-of-type h2{display:flex;align-items:center;gap:8px}
#game .game-side .panel:first-of-type h2::before{content:"";flex:0 0 34px;width:34px;height:34px;background:url('../images/icon-bouclier.png') center/contain no-repeat}
#result .dialog-actions{flex-wrap:wrap}
@media(max-width:500px){.trophy-pair .world-scene img{max-height:180px}#restart::before,#pulse::before,#again::before,#next::before,#close-result::before,#blocks-pause::before,#blocks-sound::before{flex-basis:20px;width:20px;height:20px}#game .stats small::before,.blocks-meters dt::before{width:18px;height:18px;flex-basis:18px}}
