/* Shared arcade HUD: all participating games use the same boxes and icons. */
:is(.zh-stars,.zh-islands).zh-game-active .zh-game-stats.zh-game-stats{position:absolute;z-index:3;top:calc(78px + env(safe-area-inset-top));left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));display:flex;align-items:center;justify-content:flex-start;gap:8px;width:auto;min-height:40px;font-size:14px;font-weight:800;color:#deedff;pointer-events:none;text-shadow:0 1px 3px #092943}
:is(.zh-stars,.zh-islands).zh-game-active .zh-game-stats.zh-game-stats>span,:is(.zh-stars,.zh-islands).zh-game-active .zh-game-stats.zh-game-stats>strong{display:inline-flex;align-items:center;gap:6px;min-height:38px;box-sizing:border-box;padding:8px 12px;border:1px solid #b6dcff40;border-radius:14px;background:#0b304bd9;box-shadow:0 4px 16px #061e3422;white-space:nowrap;font-size:inherit}
.zh-game-stats [data-score],.zh-game-stats [data-coins],.zh-game-stats [data-island-stars],.zh-game-stats [data-island-coins]{color:#ffdc65}
.zh-game-stats [data-hearts],.zh-game-stats [data-island-hearts]{margin-left:auto}
.zh-island-icon{display:inline-block;width:24px;height:24px;flex:none;vertical-align:middle}
.zh-game-stats .zh-island-icon.is-empty{opacity:.25;filter:grayscale(1)}
:is(.zh-stars,.zh-islands) [data-streak] .zh-island-icon{width:18px;height:18px;margin-right:4px}
.zh-island-effects{position:absolute;inset:0;z-index:4;overflow:hidden;pointer-events:none}
.zh-island-pickup{position:absolute;left:0;top:0;width:0;height:0;will-change:transform,opacity;filter:drop-shadow(0 0 8px #ffe38a)}
.zh-island-pickup>.zh-island-icon{position:absolute;width:32px;height:32px;left:-16px;top:-16px}
.zh-island-pickup-ring{position:absolute;left:-20px;top:-20px;width:40px;height:40px;border:2px solid #fff0a6;border-radius:50%}
@media(max-width:600px){
 :is(.zh-stars,.zh-islands).zh-game-active .zh-game-stats.zh-game-stats{gap:5px;left:10px;right:10px;font-size:11px}
 :is(.zh-stars,.zh-islands).zh-game-active .zh-game-stats.zh-game-stats>span,:is(.zh-stars,.zh-islands).zh-game-active .zh-game-stats.zh-game-stats>strong{padding:6px 8px;gap:3px;min-height:32px}
 .zh-game-stats .zh-island-icon{width:19px;height:19px}
}
@media(max-height:550px){:is(.zh-stars,.zh-islands).zh-game-active .zh-game-stats.zh-game-stats{top:calc(60px + env(safe-area-inset-top));min-height:26px}}
@media(max-width:360px){
 :is(.zh-stars,.zh-islands).zh-game-active .zh-game-stats.zh-game-stats{font-size:10px;gap:4px}
 :is(.zh-stars,.zh-islands).zh-game-active .zh-game-stats.zh-game-stats>span,:is(.zh-stars,.zh-islands).zh-game-active .zh-game-stats.zh-game-stats>strong{padding:5px 6px;gap:2px}
 .zh-game-stats .zh-island-icon{width:16px;height:16px}
}

/* Shared adventure toolbar. */
:is(.zh-stars,.zh-islands) .zh-shell-toolbar>[data-streak]{display:none!important}
:is(.zh-stars,.zh-islands) .zh-shell-toolbar>[data-clock]{font-size:20px;font-weight:800;color:#fff0bd;padding:5px 10px;border-radius:12px;background:#08283e88;white-space:nowrap}
:is(.zh-stars,.zh-islands) .zh-shell-toolbar>button{border:1px solid #8dc9dd80;background:linear-gradient(#427894,#1c435e);box-shadow:inset 0 2px 0 #d0efff44,0 3px 0 #092c44}
:is(.zh-stars,.zh-islands) .zh-shell-toolbar>button:hover{background:linear-gradient(#5397ad,#285b78);transform:translateY(-1px)}
:is(.zh-stars,.zh-islands) .zh-shell-toolbar>button:active{transform:translateY(2px)}
:is(.zh-stars,.zh-islands) .zh-shell-toolbar>button .zh-island-icon{width:32px;height:32px;filter:drop-shadow(0 2px 1px #06223666)}
.zh-islands .zh-arcade-title{display:block;min-width:0;max-width:44%;text-align:center;line-height:1.15}
@media(max-width:700px){
 .zh-islands.zh-game-active .zh-shell-toolbar{flex-wrap:wrap}
 .zh-islands .zh-arcade-title{order:-1;flex:0 0 100%;max-width:100%;font-size:13px;margin:0;text-align:center}
 .zh-islands.zh-game-active .zh-game-stats.zh-game-stats{top:calc(100px + env(safe-area-inset-top))}
 :is(.zh-stars,.zh-islands) .zh-shell-toolbar>[data-clock]{font-size:16px;padding:4px 5px}
 :is(.zh-stars,.zh-islands) .zh-shell-toolbar>button{width:38px;height:38px;min-height:38px;border-radius:12px}
}