body{margin:0;min-height:100svh}header{display:flex;align-items:center;justify-content:space-between;padding:max(22px,env(safe-area-inset-top)) 5vw 18px;gap:20px}.native-back{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:9px 16px;box-sizing:border-box;border:1px solid var(--app-line);border-radius:100px;color:var(--app-ink);text-decoration:none;font:600 15px/1.4 system-ui;flex-shrink:0;transition:background .15s ease,border-color .15s ease}.native-back svg{width:20px;height:20px;flex:none}.native-back:hover,.native-back:active{background:var(--app-panel);border-color:var(--app-accent)}main{max-width:840px;margin:0 auto;padding:24px 24px max(28px,env(safe-area-inset-bottom));text-align:center}.eyebrow{font-size:11px;letter-spacing:.18em;color:var(--app-accent)}h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(34px,6vw,60px);line-height:1.08;letter-spacing:-.025em;margin:20px 0}.lead{font-size:16px;line-height:1.65;color:var(--app-muted)}figure{margin:28px 0 22px;overflow:hidden;border-radius:var(--app-radius);aspect-ratio:2.2}figure img{display:block;width:100%;height:100%;object-fit:cover}.actions{max-width:420px;margin:auto}#nativeLaunch{position:relative;display:flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center;min-height:54px;border-radius:100px;text-decoration:none;background:var(--app-accent);color:var(--app-on-accent);font-size:16px}#nativeLaunch::after{content:'Открыть системный AR'}#nativeLaunch img{position:absolute;width:1px;height:1px;opacity:0}#nativeLaunch[hidden]{display:none}.interactive{display:inline-block;padding:14px;min-height:48px;box-sizing:border-box;color:var(--app-ink);text-underline-offset:5px}#nativeHint,.caption{font-size:13px;line-height:1.6;color:var(--app-muted);margin:14px 0}.caption{font-size:12px;max-width:360px;margin:8px auto}a:focus-visible{outline:2px solid var(--app-accent);outline-offset:5px}@media(max-height:650px){main{padding-top:5px}h1{font-size:32px}figure{max-height:150px;margin:16px 0}.lead{font-size:14px}}@media(min-width:800px){main{padding-top:35px}figure{max-height:330px}}
body[data-app=native-ar] #nativeLaunch::after{content:'Открыть AR · ' attr(data-quality)}
.native-quality{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.native-quality button{min-height:76px;background:none;color:var(--app-ink);border:1px solid var(--app-line);border-radius:14px;padding:12px;font:inherit;cursor:pointer}
.native-quality button[aria-pressed=true]{border-color:var(--app-accent);background:var(--app-accent);color:var(--app-on-accent)}
.native-quality button b{display:block;font-size:20px;font-weight:500;line-height:1.4}
.native-quality button small{display:block;font-size:11px;margin-top:4px;line-height:1.5}
.native-quality button:focus-visible{outline:2px solid var(--app-accent);outline-offset:4px}
#nativeQualityDescription{font-size:12px;line-height:1.6;color:var(--app-muted);min-height:40px;margin:14px 0}
.native-progress{text-align:left;padding:28px 0 24px;border-top:1px solid var(--app-line)}
.native-progress h2{font:400 clamp(32px,7vw,48px)/1.1 Georgia,serif;letter-spacing:-.025em;margin:10px 0 16px;text-wrap:balance;color:var(--app-ink)}
#nativeFileSize{display:block;font-size:clamp(30px,6vw,42px);font-weight:400;color:var(--app-accent);margin-bottom:24px}
.native-progress-meta{display:flex;justify-content:space-between;gap:14px;font-size:13px;color:var(--app-muted)}
#nativePercent{color:var(--app-ink);font-variant-numeric:tabular-nums}
#nativeProgressBar{display:block;width:100%;height:6px;margin-top:12px;accent-color:var(--app-accent);border:0;border-radius:9px;overflow:hidden;background:var(--app-line)}
#nativeProgressBar::-webkit-progress-bar{background:var(--app-line)}
#nativeProgressBar::-webkit-progress-value{background:var(--app-accent)}
#nativeDownload{width:100%;border:0;border-radius:100px;padding:17px;min-height:54px;font:600 16px/1.4 system-ui;background:var(--app-accent);color:var(--app-on-accent);cursor:pointer}
#nativeCancel{display:block;margin:8px auto;min-height:44px;padding:10px 18px;border:0;background:transparent;color:var(--app-muted);font:inherit;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
#nativeError{color:var(--app-ink);font-size:14px;line-height:1.5}
#nativeError:empty{display:none}
:is(#nativeProgress,#nativeDownload,#nativeCancel)[hidden]{display:none}
body[data-app=native-ar]:has(#nativeProgress:not([hidden])) figure{display:none}
button:focus-visible{outline:2px solid var(--app-accent);outline-offset:4px}
#nativeDesktop img{border-radius:14px}#nativeDesktop[hidden]{display:none}
body[data-app=native-ar] figure{max-height:220px}
@media(max-width:600px){body[data-app=native-ar] main{padding-top:0}body[data-app=native-ar] h1{font-size:34px;margin:16px 0}body[data-app=native-ar] .lead{font-size:14px}body[data-app=native-ar] figure{max-height:145px;margin:20px 0}body[data-app=native-ar] header{padding-top:max(16px,env(safe-area-inset-top));padding-bottom:8px}}

/* Native preparation mirrors the light entry and always offers High. */
body[data-app=native-ar]{--app-ink:#172129;--app-muted:#606c79;--app-accent:#967247;--app-on-accent:#fff;--app-line:#dfe2e4;--app-panel:#eeece7;--app-solid:#f8f8f7;--app-radius:24px;background:#f8f8f7;color:#172129;color-scheme:light;font-family:Manrope,Arial,sans-serif}
body[data-app=native-ar] h1{font-family:Manrope,Arial,sans-serif;font-weight:500;letter-spacing:-.05em;font-size:clamp(34px,5vw,56px)}
body[data-app=native-ar] header{max-width:1280px;margin:auto}
body[data-app=native-ar] main{max-width:820px}
body[data-app=native-ar] figure{margin-inline:auto;width:100%;max-height:250px;border:1px solid #e3e4e4;box-shadow:0 12px 36px #26322b0d}
body[data-app=native-ar] .native-high{display:flex;align-items:center;justify-content:center;gap:12px;color:#46515c;font-size:12px;margin-top:24px}
body[data-app=native-ar] .native-high>span{padding:7px 10px;border-radius:6px;letter-spacing:.13em;font-size:11px;background:#242e35;color:#f4e6d2}
body[data-app=native-ar] #nativeQualityDescription{font-size:13px;min-height:0;margin:15px 0 24px}
body[data-app=native-ar] #nativeDesktop img{width:256px;height:256px;max-width:100%;border:1px solid #e0e3e5;box-shadow:0 7px 22px #15202709;border-radius:18px;background:white}
body[data-app=native-ar] .native-progress h2{font-family:Manrope,Arial,sans-serif;font-weight:500}
body[data-app=native-ar] :is(#nativeDownload,#nativeLaunch){background:#202b33;color:white;box-shadow:0 5px 16px #17212914}
body[data-app=native-ar] .wordmark b{color:#967247}
@media(max-width:600px){body[data-app=native-ar] figure{max-height:180px}body[data-app=native-ar] .wordmark{font-size:13px;letter-spacing:.1em}body[data-app=native-ar] header{gap:12px}body[data-app=native-ar] .native-back{padding:8px 12px}body[data-app=native-ar] .lead br{display:none}}
body[data-app=native-ar] .wordmark .neovex-logo{display:block;width:158px;height:auto;filter:brightness(0) saturate(100%);opacity:.86}
@media(max-width:600px){body[data-app=native-ar] .wordmark .neovex-logo{width:122px}}
.native-size{display:grid;grid-template-columns:1fr 1fr;gap:12px;border:0;padding:0;margin:0 0 14px;text-align:left}
.native-size legend{font-size:14px;font-weight:600;padding:0 0 12px}
.native-size label{display:flex;align-items:center;gap:10px;min-height:76px;padding:12px;border:1px solid var(--app-line);border-radius:14px;cursor:pointer}
.native-size label:has(input:checked){border-color:var(--app-accent);background:var(--app-panel)}
.native-size label:has(input:focus-visible){outline:2px solid var(--app-accent);outline-offset:3px}
.native-size input{accent-color:var(--app-accent);width:18px;height:18px;margin:0;flex:none}
.native-size b{display:block;font-size:15px;font-weight:600}
.native-size small{display:block;font-size:12px;color:var(--app-muted);margin-top:5px}
#nativeSizeDescription{margin-bottom:22px;text-wrap:pretty}

/* WebKit must receive a real tap on the link's visible image. */
body[data-app=native-ar] #nativeLaunch{min-height:64px;overflow:hidden;touch-action:manipulation}
body[data-app=native-ar] #nativeLaunch img{position:static;display:block;width:100%;height:64px;object-fit:cover;opacity:.24;border-radius:inherit}
body[data-app=native-ar] #nativeLaunch::after{content:attr(data-label);position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;font-weight:600}
.native-fallback{padding:16px;border:1px solid var(--app-line);border-radius:16px;margin:16px 0;font-size:13px;line-height:1.6}
.native-fallback[hidden]{display:none}
.native-fallback a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 16px;color:var(--app-ink);font-weight:600;text-underline-offset:4px}
