/* Compact, theme-aware return navigation. */
.sn-game-exit{position:sticky;top:0;z-index:10000;display:flex;align-items:center;flex:none;min-height:44px;box-sizing:border-box;background:var(--bg,#eef4f2);color:var(--accent,#01696f)}
.sn-game-exit a{display:inline-flex;align-items:center;gap:8px;min-height:44px;max-width:100%;padding:0 2px;background:none;border:0;border-radius:0;box-shadow:none;color:inherit;text-decoration:none;font:500 13px/1.4 -apple-system,BlinkMacSystemFont,"PingFang TC","Microsoft JhengHei",sans-serif;transition:opacity .15s ease}
.sn-game-exit a:hover{opacity:.72}.sn-game-exit a:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:3px}
.sn-game-exit svg{width:17px;height:17px;flex:none;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.sn-game-exit .sn-exit-en{display:none}.sn-game-exit[data-lang="en"] .sn-exit-en{display:inline}.sn-game-exit[data-lang="en"] .sn-exit-zh{display:none}
.app>.sn-game-exit{margin-bottom:4px;padding-top:env(safe-area-inset-top,0px)}
body.sn-shopping-shell{display:flex;flex-direction:column}
.sn-shopping-shell>.sn-game-exit{width:100%;max-width:480px;margin:0 auto;padding:env(safe-area-inset-top,0px) 18px 0;background:var(--wall,#eef4f2);border-bottom:1px solid rgba(1,74,78,.06)}
.sn-shopping-shell>#app{width:100%;height:auto;min-height:0;flex:1}
#gameExitDialog{width:min(90vw,370px);max-height:90vh;overflow:auto;padding:24px;border:1px solid var(--line,#d9e2e0);border-radius:18px;color:var(--text,#243e40);background:var(--card,#f7f6f2);font-family:-apple-system,BlinkMacSystemFont,"PingFang TC",sans-serif;box-shadow:0 16px 50px rgba(0,0,0,.16)}
#gameExitDialog::backdrop{background:rgba(1,25,28,.64)}#gameExitDialog h2{font-size:21px;line-height:1.5;margin:0 0 10px}#gameExitDialog p{line-height:1.7;font-size:15px;margin:0 0 20px;color:var(--muted,#55706e)}
#gameExitDialog button,#gameExitDialog a{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;padding:10px;margin:10px 0 0;border:1px solid var(--accent,#01696f);border-radius:10px;font-family:inherit;font-size:15px;font-weight:600;line-height:1.4;text-align:center;text-decoration:none;box-sizing:border-box}
#gameExitDialog button{background:var(--accent,#01696f);color:var(--on-accent,#fff);cursor:pointer}#gameExitDialog a{background:transparent;color:var(--accent,#01696f)}
