.ml-save-ui { font: 16px/1.5 system-ui, sans-serif; color: #243c3a; touch-action: manipulation; }
.ml-save-ui [hidden] { display: none; }
.ml-save-ui button { min-width: 44px; min-height: 44px; padding: 10px 16px; margin: 4px; border: 1px solid #426f68; border-radius: 10px; background: #e7f1e5; color: #243c3a; font: inherit; cursor: pointer; touch-action: manipulation; }
.ml-save-ui button:disabled { opacity: .55; cursor: default; }
.ml-save-ui button:focus-visible { outline: 3px solid #b56320; outline-offset: 3px; }
.ml-save-card { position: fixed; z-index: 100; left: 50%; top: max(72px, env(safe-area-inset-top)); transform: translateX(-50%); width: min(540px, calc(100vw - 56px)); box-sizing: border-box; padding: 20px; background: #fff9e9; border: 2px solid #b56320; border-radius: 16px; box-shadow: 0 8px 32px #19383255; }
.ml-save-panel { width: min(680px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); box-sizing: border-box; padding: 24px; color: #243c3a; background: #fff9e9; border: 2px solid #426f68; border-radius: 16px; overflow: auto; overscroll-behavior: contain; }
.ml-save-panel::backdrop { background: #19383299; }
.ml-save-ui h2 { margin: 0 0 12px; font-size: 1.4rem; }
.ml-save-snapshot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #426f6844; }
.ml-save-snapshot span { overflow-wrap: anywhere; }
.ml-save-storage { margin-top: 16px; padding: 12px; background: #e7f1e5; border-radius: 12px; }
@media (max-width: 600px) { .ml-save-panel { padding: 16px; } .ml-save-snapshot { flex-wrap: wrap; } }

.ml-save-panel p { margin: 8px 0; }
.ml-save-storage h3 { margin: 8px 0; }
.ml-save-snapshots { max-height: min(180px, 24dvh); overflow-y: auto; overscroll-behavior: contain; }
.ml-save-transfer { display: flex; flex-wrap: wrap; gap: 8px; }
.ml-save-transfer button { margin: 0; }
