.home-music-controls{pointer-events:auto;color:#536d47;background:#fffdf1f5;border:1px solid #d1d8bd;border-radius:12px;flex-shrink:0;gap:2px;padding:3px;display:flex;position:relative}.home-music-controls>button{border-radius:8px;justify-content:center;align-items:center;gap:6px;min-width:42px;min-height:42px;padding:8px;font-size:12px;font-weight:700;display:flex}.home-music-controls button:hover{background:#e9efdd}.home-music-controls button:focus-visible,.home-music-controls select:focus-visible,.home-music-controls input:focus-visible{outline-offset:2px;outline:3px solid #416b54}.home-music-panel{z-index:8;color:#485b3f;background:#fffdf3;border:1px solid #cbd3b7;border-radius:14px;width:min(310px,100vw - 30px);max-height:calc(100dvh - 100px);padding:16px;font-size:12px;position:absolute;top:calc(100% + 9px);right:0;overflow-y:auto;box-shadow:0 12px 36px #3f4c2c30}.home-music-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.home-music-heading strong{font-size:14px}.home-music-heading button{border-radius:8px;place-items:center;min-width:36px;min-height:36px;display:grid}.home-music-choice{gap:6px;font-weight:700;display:grid}.home-music-choice select{color:#354e37;background:#fff;border:1px solid #bdc9ab;border-radius:8px;width:100%;min-height:44px;padding:8px}.home-music-description{margin:8px 0 16px;line-height:1.5}.home-music-volume{flex-wrap:wrap;justify-content:space-between;gap:5px;font-weight:700;display:flex}.home-music-volume input{accent-color:#527452;width:100%;min-height:32px}.home-music-name{font-weight:700}.home-music-name small{margin-top:5px;font-weight:400;display:block}.home-music-status{margin:10px 0;line-height:1.45}.home-music-note{color:#657458;line-height:1.5;display:block}.home-music-play{background:#e0ead4;border-radius:9px;min-height:40px;margin-bottom:10px;padding:8px 12px;font-weight:700}@media (max-width:760px){.home-music-controls{gap:0;padding:1px}.home-music-controls>button{min-width:39px;min-height:42px;padding:8px}.home-music-open>span{display:none}.home-music-panel{--music-panel-top:max(74px, calc(env(safe-area-inset-top) + 64px));top:var(--music-panel-top);right:max(15px, env(safe-area-inset-right));width:min(310px, calc(100vw - 30px - env(safe-area-inset-left) - env(safe-area-inset-right)));max-height:calc(100dvh - var(--music-panel-top) - max(16px, env(safe-area-inset-bottom)));overscroll-behavior:contain;position:fixed;overflow-y:auto}}.game-shell .home-music-panel{font-size:var(--game-control-size,.875rem);overflow-wrap:anywhere;scroll-padding-block:1rem;line-height:1.45}.game-shell .home-music-description,.game-shell .home-music-status,.game-shell .home-music-note,.game-shell .home-music-name small,.game-shell .home-music-panel>p[role]{font-size:var(--game-reading-size,1rem);line-height:var(--game-reading-line-height,1.6);color:var(--game-reading-color,#4f604b)}.game-shell .home-music-note{margin-top:.75rem}.game-shell .home-music-choice select{min-width:0;max-width:100%;font:inherit;font-size:1rem}.game-shell .home-music-heading button,.game-shell .home-music-play{min-width:44px;min-height:44px}.game-shell .home-music-heading strong{min-width:0;font-size:1rem;line-height:1.45}.game-shell .home-sound-dialog.modal{color:#485b3f;width:min(460px,100vw - 32px);max-height:calc(100dvh - 32px)}.game-shell .home-sound-dialog .home-music-panel{width:auto;max-height:none;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;font-size:14px;line-height:1.5;position:static;inset:auto;overflow:visible}.game-shell .home-sound-dialog .home-music-description,.game-shell .home-sound-dialog .home-music-status,.game-shell .home-sound-dialog .home-music-note,.game-shell .home-sound-dialog .home-music-name small{font-size:16px;line-height:1.6}.game-shell .home-music-controls>button{touch-action:manipulation;min-width:44px;min-height:44px}.game-shell .home-sound-dialog .home-music-volume input{min-height:44px}.game-shell .home-sound-dialog :is(button,select,input):focus-visible{outline-offset:3px;outline:3px solid #416b54}
