#restart-confirmation{box-sizing:border-box;width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:28px;border:1px solid #ffd25a;border-radius:12px;background:#211a15;color:#fff8e7;font:16px/1.5 system-ui,sans-serif;box-shadow:0 24px 80px #0009}
#restart-confirmation::backdrop{background:#000b}
#restart-confirmation h2{margin:0 0 12px;font:600 28px/1.2 Georgia,serif}
#restart-confirmation p{margin:0 0 24px}
.restart-actions{display:flex;flex-wrap:wrap;gap:12px}
.restart-actions button{min-height:44px;padding:10px 16px;border:1px solid #fff8e766;border-radius:6px;background:transparent;color:#fff8e7;font:700 14px/1.3 system-ui;cursor:pointer}
.restart-actions #confirm-restart{background:#ffd25a;border-color:#ffd25a;color:#211a15}
.export-restart{flex-shrink:0;min-height:44px;padding:8px 12px;border:1px solid currentColor;border-radius:5px;background:#211a15;color:#fff8e7;font:700 12px/1.2 system-ui;cursor:pointer}
.export-restart:focus-visible,.restart-actions button:focus-visible{outline:3px solid #e9733a;outline-offset:3px}
.dalat-topbar .export-restart{justify-self:end;width:auto}
.wheelie-page .game-chrome .export-restart{margin-left:auto;margin-right:12px}

.export-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.export-header-actions .export-restart{min-width:44px;min-height:44px;width:auto;height:auto;padding:8px;font:700 12px/1.2 system-ui}.export-restart-inline{margin-top:10px!important}

.export-restart.export-restart{flex-shrink:0;min-width:44px!important;min-height:44px!important;width:auto!important;height:auto!important;padding:8px 10px!important;font:700 12px/1.3 system-ui!important;background:#211a15!important;color:#fff8e7!important;border:1px solid #fff8e766!important;border-radius:5px!important}.export-restart-inline.export-restart{display:block;margin:12px auto 0!important;background:transparent!important;border-color:transparent!important;text-decoration:underline;box-shadow:none!important}

/* iPhone: holding game controls must never select captions or open a callout.
   Preserve text entry and scrolling; touch-action:none belongs only to controls. */
html,body,body *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
input,textarea,[contenteditable="true"],[contenteditable="true"] *{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
img{-webkit-user-drag:none}
