*{box-sizing:border-box} :root{color-scheme:dark;--gold:#cbb88b;--muted:#98a695;--cream:#eeefe5}
html,body{margin:0;width:100%;min-height:100%}body{background:#eef0ed;color:#30383d;font:12px/1.5 'Segoe UI',Arial,sans-serif;min-height:100vh;display:grid;place-items:center}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}[hidden]{display:none!important}
.installer{position:relative;isolation:isolate;width:min(720px,100vw);height:400px;display:grid;grid-template-rows:34px 180px minmax(0,1fr) 24px;overflow:hidden;background:#fff;border:1px solid #dce3d6;box-shadow:0 24px 90px #0008}
.art{position:absolute;inset:0 0 auto;height:214px;z-index:-3;background:#14271d url('assets/install-hero.png') center top/cover no-repeat}.vignette{position:absolute;inset:0 0 auto;height:214px;z-index:-2;background:linear-gradient(90deg,#08170ff5,#08170fd9 30%,#08170f45 60%,transparent),linear-gradient(0deg,#0a1811,transparent 35%);pointer-events:none}
.topbar{display:flex;align-items:center;justify-content:space-between;padding:0 17px;user-select:none;min-width:0}.edition{display:flex;align-items:center;gap:7px;font-size:8px;letter-spacing:1.4px;color:#b0bca8}.edition i{width:4px;height:4px;border-radius:50%;background:var(--gold)}.edition>span{color:#66775d;margin:0 3px}.window-controls{display:flex;gap:3px}.window-controls button{width:28px;height:25px;display:grid;place-items:center;color:#c3cebb;border:0;background:#09170d55;border-radius:3px}.window-controls button:hover{background:#b3cb9b25}.window-controls #close:hover{background:#963b38b0}.window-controls svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.3}.site-link{font-size:9px;color:#c4ccb8;text-decoration:none}.site-link span{color:var(--gold);margin-left:6px}
.welcome{color:#f0eee4;padding:0 24px;min-height:0;overflow:hidden;width:60%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.logo{width:116px;height:83px;object-fit:contain;flex-shrink:0;margin:-3px 0 0 -7px;filter:drop-shadow(0 4px 10px #0007)}.welcome>.eyebrow,.intro,.art-caption,.destination-note{display:none}h1{font:400 25px/1.12 Georgia,'Times New Roman',serif;letter-spacing:-.3px;margin:0 0 10px;text-shadow:0 2px 15px #0009}h1 em{font-style:normal;color:var(--gold)}.destination{display:flex;gap:7px;align-items:center;color:#a1b097;white-space:nowrap}.folder{height:17px}.folder svg{width:17px;height:17px;stroke:#91a582;stroke-width:1.2;fill:none}.destination>div{display:flex;align-items:baseline;gap:7px}.destination small{font-size:7px;letter-spacing:.7px}.destination strong{font-size:10px;font-weight:500;color:#d4dbc9}
.installation{min-height:0;overflow:hidden;display:grid;grid-template-rows:25px 4px 16px 36px;align-content:space-between;gap:8px;padding:12px 24px;border-top:1px solid #dde5d6;background:#fff}.install-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.install-heading>div{min-width:0}.install-heading .eyebrow{display:none}h2{margin:0;font-size:12px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.percent{font-size:18px;color:#687f2b;white-space:nowrap}.percent span{font-size:10px;margin-left:3px;color:#83916f}progress{appearance:none;display:block;width:100%;height:4px;border:0;border-radius:3px;overflow:hidden;background:#e7eddc}progress::-webkit-progress-bar{background:#e7eddc}progress::-webkit-progress-value{background:linear-gradient(90deg,#5a7e43,#b2c881);transition:width .15s}progress::-moz-progress-bar{background:#a5bd77}.file-row{display:flex;justify-content:space-between;gap:12px;min-width:0;min-height:0;font-size:9px;color:#6b785d}#file{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#size{flex-shrink:0;font-size:8px;color:#7c8770}.feedback-space{min-height:0;overflow:hidden}.error-detail{height:100%;margin:0;padding:7px 10px;background:#fff5ed;border-left:2px solid #ba7e4d;color:#885530;font-size:10px;line-height:1.5;overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap}
.actions{display:flex;align-items:center;gap:12px;min-width:0}.install-note{display:flex;align-items:center;gap:7px;margin-right:auto;color:#758168}.install-note p{font-size:8px;line-height:1.5;margin:0;white-space:pre-line}.check{width:17px;height:17px;display:grid;place-items:center;border:1px solid #779b5755;border-radius:50%;font-size:9px;color:#a7c58d}.primary{height:36px;min-width:186px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #a9bc7255;border-radius:4px;background:linear-gradient(#3b5728,#2b421f);color:#edf0de;text-decoration:none;font-size:10px;font-weight:600}.primary:hover{filter:brightness(1.15)}.primary:disabled{opacity:.55;cursor:wait;filter:none}.arrow{font-size:17px;font-weight:400;color:#c5d5a3}.cancel{border:0;padding:7px;background:none;color:#667556;font-size:10px}.cancel:hover{color:#35491e}
footer{min-height:0;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-top:1px solid #e0e6d9;background:#f3f6ee;font-size:6px;letter-spacing:1px;color:#718368}footer>span b{font-weight:400;color:#bba675;margin:0 5px}.steps{display:flex;align-items:center;gap:8px;font-size:6px;letter-spacing:.4px}.steps b{font-weight:400;margin-left:3px}.steps span{color:#586c4c}.steps .current{color:#687f2b}.steps .done{color:#718c40}.steps i{width:13px;height:1px;background:#52644866}
body.native{height:100vh;min-height:0;overflow:hidden}.native .installer{width:100vw;height:100vh;border:0;box-shadow:none}
@media(max-width:500px){.installer{height:480px;grid-template-rows:34px 190px minmax(0,1fr) 24px}.welcome{width:80%;padding-left:20px}.art,.vignette{height:224px}.art{background-position:58% top}.vignette{background:linear-gradient(90deg,#08170ff0,#08170fa8 55%,#08170f15),linear-gradient(0deg,#0a1811,transparent 45%)}.installation{padding-left:20px;padding-right:20px}.install-note{display:none}.actions{justify-content:flex-end}.primary{min-width:0;flex:1}footer{padding:0 20px}footer>span{display:none}.steps{width:100%;justify-content:space-between}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.has-error .installation{grid-template-rows:25px 4px minmax(0,1fr) 36px;align-content:normal}.has-error .file-row{display:none}

/* Destination is selected natively; the installer always adds MUV2. */
.welcome{width:84%}.destination{width:100%;min-width:0;gap:9px}.destination>div{min-width:0;flex:0 1 auto}.destination strong{max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#choose-folder{border:1px solid #a5bb7e66;border-radius:4px;background:#102015a6;color:#d9e7c4;font-size:9px;padding:4px 9px;white-space:nowrap;cursor:pointer}#choose-folder:hover{background:#547436aa}#choose-folder:disabled{opacity:.5;cursor:wait}@media(max-width:500px){.destination strong{max-width:145px}.destination small{display:none}}
