:root { color-scheme: dark; --text:#f5e8cc; --line:rgba(224,185,108,.22); --focus:rgba(237,190,103,.85); font-family:ui-rounded,"SF Pro Rounded",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-weight:800; color:var(--text); }
* { box-sizing:border-box; }
html,body { margin:0; background:transparent; }
body { font-size:14px; line-height:1.6; }
[hidden] { display:none !important; }
main { padding:2px; }
p { margin:8px 0 14px; }
.intro { margin-top:8px; }
.muted { color:var(--text); }
.small { font-size:12px; line-height:1.6; }
.field { display:block; margin-bottom:14px; font-size:13px; }
.field input { display:block; width:100%; min-width:0; min-height:44px; margin-top:6px; padding:9px 10px; border:1px solid var(--line); border-radius:9px; color:inherit; background:transparent; font:inherit; }
.field input[type=file] { padding:0; font-size:12px; }
input::file-selector-button { min-height:44px; margin-right:8px; padding:8px 10px; border:0; border-right:1px solid var(--line); color:var(--text); background:transparent; font:inherit; cursor:pointer; }
input::placeholder { color:rgba(245,232,204,.7); font-weight:600; }
#password { font-size:16px; } /* Keep iPhone focus from zooming the page. */
.file-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.actions { display:flex; flex-wrap:wrap; gap:8px; margin:10px 0; }
.actions > * { flex:1 1 140px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 12px; border:1px solid var(--line); border-radius:9px; color:var(--text); background:transparent; font:800 13px/1.3 ui-rounded,"SF Pro Rounded",system-ui,sans-serif; text-decoration:none; text-align:center; cursor:pointer; touch-action:manipulation; user-select:none; -webkit-tap-highlight-color:transparent; box-shadow:inset 0 1px 0 rgba(255,226,175,.09),0 2px 5px rgba(0,0,0,.22); transition:transform .14s cubic-bezier(.2,.8,.2,1),background .14s,border-color .14s,box-shadow .14s; }
.primary { border-color:rgba(224,185,108,.4); }
.button.is-pressed { transform:translateY(3px) scale(.97); background:rgba(232,187,105,.24); border-color:rgba(237,190,103,.55); box-shadow:inset 0 2px 5px rgba(0,0,0,.3); transition-duration:.04s; }
.button:disabled { opacity:.55; cursor:wait; }
:focus-visible { outline:2px solid var(--focus); outline-offset:3px; }
.full { width:100%; margin:12px 0 0; }
#status { margin:14px 0; min-height:0; overflow-wrap:anywhere; }
#status:empty { margin:0; }
progress { width:100%; height:6px; accent-color:#d89a38; }
.footer { padding-top:14px; margin-bottom:0; border-top:1px solid var(--line); }
a { color:inherit; text-underline-offset:3px; }
@media(max-width:400px) { .file-pair { grid-template-columns:minmax(0,1fr); gap:0; } }
@media(hover:hover) { .button:not(:disabled):hover { background:rgba(232,187,105,.10); } }
@media(prefers-reduced-motion:reduce) { .button { transition:none; } .button.is-pressed { transform:translateY(3px); } }
body.standalone { min-height:100svh; padding:24px; background-color:#080707; background-image:radial-gradient(circle,rgba(224,199,151,.10) .5px,rgba(224,199,151,.045) .75px,transparent .95px),linear-gradient(180deg,rgba(190,132,30,.16),rgba(190,132,30,.075) 38%,rgba(190,132,30,.02) 72%,transparent); background-size:3px 3px,100% 100%; }
.standalone main { max-width:520px; margin:0 auto; }
.install-page h1 { font-size:24px; line-height:1.3; }
.clipboard-helper { position:fixed; left:-9999px; top:0; opacity:0; pointer-events:none; }
