/* EAGLE V100 — canonical viewport-fit registration layout. Replace account.css, do not append. */
.eac-screen{position:relative;box-sizing:border-box;width:100%;max-width:720px;margin:0 auto;padding:0 10px 0;color:#f5faff;font-family:inherit;isolation:isolate}
.eac-screen *{box-sizing:border-box}
.eac-hero{position:relative;min-height:128px;margin:0 0 4px;padding:55px 12px 7px;overflow:visible;background:linear-gradient(90deg,#03101ed9 0%,#03101e3d 65%,#03101e05),url('/assets/EAGLE_V096_registration_hero.webp') center center/cover no-repeat;border-radius:0 0 10px 10px}
.eac-back{position:absolute;top:3px;left:10px;z-index:4;border:1.5px solid #3cf3ff;border-radius:24px;background:#041521ed;color:#fff;padding:5px 13px;box-shadow:0 0 11px #00eaff;font-size:13px;line-height:1.15;cursor:pointer}
.eac-hero h1{position:relative;font:700 clamp(24px,5.7vw,34px)/1.07 Georgia,serif;margin:0;white-space:nowrap;text-shadow:0 2px 8px #000}
.eac-hero h1 em{color:#ffd16b;font-style:normal}
.eac-hero h1:after{content:'';display:block;width:68%;height:2px;margin:4px 0;background:linear-gradient(90deg,transparent,#ffd575,#fff0a2,transparent);box-shadow:0 0 8px #ffba35}
.eac-hero p{max-width:235px;font-size:11px;line-height:1.32;margin:0;text-shadow:0 2px 6px #000}
.eac-form{display:block;border:0;background:none;padding:0;box-shadow:none;margin:0}
.eac-field{display:flex;align-items:center;gap:9px;min-height:36px;padding:3px 9px;margin:0 0 4px;border:1.5px solid #36efff;border-radius:14px;background:linear-gradient(110deg,#020d18,#041c26 82%,#062c34);box-shadow:0 0 10px #00eaff75,inset 0 0 9px #00ddff12}
.eac-glyph{display:flex;align-items:center;justify-content:center;color:#2fefff;width:34px;min-width:34px;height:27px;border-right:1px solid #78eefa;padding-right:8px}
.eac-glyph svg{display:block;width:22px;height:22px}
.eac-input-wrap{display:flex;flex-direction:column;flex:1;min-width:0}
.eac-input-wrap b{font-size:11px;line-height:1.12}
.eac-input-wrap input{border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;font:inherit;font-size:12px!important;line-height:1.2!important;width:100%;min-width:0;min-height:19px!important;height:19px!important;padding:1px 0!important;margin:0!important;border-radius:0!important}
.eac-input-wrap input::placeholder{color:#b4c7d2;opacity:1}
.eac-eye{display:flex;align-items:center;justify-content:center;flex:none;width:29px;height:30px;border:0;background:none;color:#f8ffff;padding:3px;cursor:pointer}
.eac-eye svg{width:23px;height:23px}
.eac-valid{width:23px;height:23px;flex:none;color:#8dff82;filter:drop-shadow(0 0 5px #69ff54)}
.eac-valid svg{width:100%;height:100%}
.eac-valid[hidden]{display:none}
.eac-valid.is-invalid{color:#ff606b;filter:drop-shadow(0 0 5px #ff344b)}
.eac-valid.is-invalid{position:relative}
.eac-valid.is-invalid svg path:last-child{display:none}
.eac-valid.is-invalid:after{content:'×';position:absolute;inset:0;display:grid;place-items:center;color:#ff5c68;font:700 19px/1 Arial,sans-serif}
.eac-field-error{border-color:#ff5369;box-shadow:0 0 9px #ff345866,inset 0 0 9px #ff34581c}
.eac-submit:disabled{cursor:not-allowed;opacity:.62;filter:saturate(.72);box-shadow:0 0 5px #b17a3580,inset 0 0 7px #ffd36e55}
.eac-gold-mark{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center}
.eac-gold-mark svg{width:22px;height:22px;filter:drop-shadow(0 0 4px #ffbe4d)}

.eac-strength,.eac-rules{border:1.5px solid #32eaf9;border-radius:13px;background:linear-gradient(110deg,#031522,#04232b);box-shadow:0 0 9px #00eaff55}
.eac-strength{display:flex;align-items:center;gap:7px;min-height:32px;padding:4px 9px;margin:2px 0 4px;font-size:10px;white-space:nowrap}
.eac-strength strong{font-size:10px;color:#b0c6d0}
.eac-bars{display:flex;gap:4px;flex:1;min-width:40px}
.eac-bars i{height:6px;border-radius:5px;flex:1;background:#536b78}
.eac-bars i.lit{background:#75ff56;box-shadow:0 0 7px #77ff52}
.eac-rules{list-style:none;margin:0 0 4px;padding:4px 10px 4px 42px;font-size:11px;line-height:1.48}
.eac-rules li{position:relative;min-height:15px}
.eac-rules li::before{content:'';position:absolute;left:-23px;top:2px;width:12px;height:12px;border:1.5px solid #66899b;border-radius:50%}
.eac-rules li.ok{color:#a0ff98}
.eac-rules li.ok::before{content:'✓';font:700 10px/12px Arial,sans-serif;color:#88ff78;text-align:center;border-color:#88ff78;box-shadow:0 0 5px #66ff5c}
.eac-terms{display:flex;align-items:center;gap:5px;font-size:10px;line-height:1.2;margin:3px 0 5px;white-space:nowrap}
.eac-terms input{width:17px;height:17px;flex:none;accent-color:#72ff75}
.eac-terms button{border:1px solid #ffcf55;border-radius:14px;background:#1c160b;color:#ffe080;padding:4px 5px;font:inherit;white-space:nowrap}
.eac-error{color:#ffabab;font-size:11px;margin:2px 0}.eac-error:empty{display:none}
.eac-submit{display:block;width:100%;min-height:39px;border:2px solid #ffe184;border-radius:20px;background:linear-gradient(#56310a,#100b0c 58%,#653808);box-shadow:0 0 14px #ffab22,inset 0 0 12px #ffd36e;color:#fff;font-size:15px;font-weight:800;cursor:pointer}
.eac-gold-mark{color:#ffcc59;margin-right:14px}
.eac-existing{display:flex;align-items:center;justify-content:center;gap:10px;margin:5px 0;font-size:11px}
.eac-signin{border:1px solid #35eeff;border-radius:20px;background:#061522;color:#fff;padding:5px 15px;box-shadow:0 0 9px #2ceaff}
.eac-status{border:1px solid #2ee9f7;border-radius:12px;background:#061b29;color:#c1d6e2;font-size:10px;line-height:1.3;padding:5px 9px;margin:0}
.eac-form:after{content:'';display:block;height:30px;margin-top:5px;background:url('/assets/EAGLE_V085_gold_wave_clean.webp') center center/100% 100% no-repeat;filter:drop-shadow(0 0 4px #ffb02a)}
.eac-forgot{display:block;margin:5px 0 12px auto;border:0;background:none;color:#ffd16b}
@media(max-width:375px){.eac-screen{padding-left:7px;padding-right:7px}.eac-hero{min-height:124px;padding-top:53px}.eac-hero h1{font-size:23px}.eac-terms{gap:3px;font-size:9px}.eac-terms button{padding:3px}.eac-strength{gap:5px;font-size:9px}.eac-strength strong{font-size:9px}}
@media(max-height:760px){.eac-hero{min-height:120px;padding-top:51px}.eac-field{min-height:37px;margin-bottom:4px}.eac-rules{line-height:1.35;padding-top:5px;padding-bottom:5px}.eac-strength{min-height:33px}.eac-submit{min-height:39px}.eac-form:after{height:24px}}

/* Keep the registration controls clear of the fixed bottom navigation. */
@media(max-height:720px){.eac-hero{min-height:116px;padding-top:49px}.eac-field{min-height:34px}.eac-form:after{height:20px}}

/* V132.1 — shared locked-page actions only. */
.eac-locked-actions > .eac-submit + .eac-submit{margin-top:12px}
.eac-access-note{display:flex;flex-direction:column;align-items:center;gap:5px;margin:20px auto 8px;padding:0 12px;text-align:center;color:#51d8e5}
.eac-access-note svg{width:24px;height:24px;flex:none}
.eac-access-note strong{font-size:13px;line-height:1.3}
.eac-access-note p{max-width:300px;margin:0;color:#b3c2ce;font-size:12px;line-height:1.45}

/* V132.2 — welcome screen only */
.eaw-screen{padding:0 10px 8px}
.eaw-hero{position:relative;display:flex;align-items:flex-end;min-height:clamp(150px,46vw,250px);padding:38px 8px 10px;background:linear-gradient(0deg,#030e16 0%,#030e1600 55%),url('/assets/eagle-welcome-v1323.webp') center top/100% auto no-repeat}
.eaw-hero h1{font:700 clamp(24px,6.3vw,40px)/1.06 Georgia,serif;margin:0;text-shadow:0 2px 8px #000;color:white}
.eaw-hero h1:after{content:'';display:block;height:2px;margin-top:8px;background:linear-gradient(90deg,#c17b26,#ffe49a,transparent);box-shadow:0 0 8px #ffb52c}
.eaw-features{display:grid;gap:7px;margin:4px 4px 14px}
.eaw-card{display:flex;align-items:center;gap:12px;min-height:56px;padding:7px 10px;border:1px solid #55cbdc;border-radius:14px;background:linear-gradient(145deg,#12485a,#04121e 45%,#062e3c);box-shadow:inset 0 0 12px #27d8ee33,0 0 6px #20d8e933}
.eaw-icon{display:grid;place-items:center;flex:0 0 56px;min-height:40px;border-right:1px solid #d6a64f;color:#ffd16b;padding-right:10px}
.eaw-icon svg{width:32px;height:32px;filter:drop-shadow(0 0 4px #e9a32c)}
.eaw-card h2{font:700 clamp(16px,4.4vw,23px)/1.1 Georgia,serif;color:#ffd16b;margin:0 0 3px}
.eaw-card p{font-size:clamp(11px,3.2vw,15px);line-height:1.25;color:#f5faff;margin:0}
.eaw-screen .eac-submit{min-height:44px}.eaw-screen .eac-access-note{margin-top:15px}.eaw-screen .eac-form:after{height:24px}
@media(max-height:760px){.eaw-hero{min-height:145px}.eaw-features{gap:5px;margin-bottom:10px}.eaw-card{min-height:48px;padding:5px 8px}.eaw-screen .eac-access-note{margin-top:10px}.eaw-screen .eac-form:after{height:18px}}

/* V132.3 — full-width artwork, continuous fade and dimensional icons */
.eaw-hero{min-height:0;aspect-ratio:1.92;box-sizing:content-box;padding:0 8px 8px;background:linear-gradient(0deg,#030e16 0%,#030e1600 38%),url('/assets/eagle-welcome-v1323.webp') center top/100% auto no-repeat;align-items:flex-end}
.eaw-hero h1{position:relative;margin-top:35%;font-size:clamp(23px,6vw,38px);text-shadow:0 2px 6px #000,0 0 12px #030e16}
.eaw-hero h1:after{background:linear-gradient(90deg,#ffb52c,#fff0a0,transparent);height:2px}
.eaw-icon{position:relative;isolation:isolate;padding-bottom:6px}
.eaw-icon:after{content:'';position:absolute;bottom:2px;left:2px;right:12px;height:9px;border:1.5px solid #58edff;border-radius:50%;box-shadow:0 0 7px #00d9ff,inset 0 0 5px #00d9ff;z-index:-1}
.eaw-icon svg{filter:drop-shadow(0 1px 0 #a76a17) drop-shadow(0 0 4px #ffc54d);stroke:#ffe39a;fill:#c68a252b}
.eaw-card{background:radial-gradient(ellipse at 0 0,#1c6677 0%,transparent 42%),linear-gradient(145deg,#092c3b,#04121e 55%,#06313e);box-shadow:inset 0 0 10px #27d8ee55,0 0 5px #20d8e933}
@media(max-height:760px){.eaw-hero{min-height:0}.eaw-hero h1{font-size:clamp(21px,5.7vw,34px)}}

/* V143 — premium welcome artwork; account forms untouched. */
.eaw-screen .eaw-hero{display:block;min-height:0;aspect-ratio:852/564;box-sizing:border-box;padding:0;margin:0 -10px 4px;background:url('/assets/eagle-welcome-premium-v143.webp') center/100% 100% no-repeat;}
.eaw-screen .eaw-hero h1{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.eaw-screen .eaw-hero h1:after{display:none;}
@media(max-width:375px){.eaw-screen .eaw-hero{margin-left:-7px;margin-right:-7px;}}

/* V144 — compact welcome only; preserve artwork proportions and all account forms. */
.eaw-screen .eaw-hero{position:relative;background-image:linear-gradient(to bottom,transparent 92%,#030b13 100%),linear-gradient(to right,#030b13 0%,transparent 2%,transparent 98%,#030b13 100%),url('/assets/eagle-welcome-premium-v143.webp');background-size:100% 100%;margin-bottom:2px}
.eaw-screen .eaw-features{gap:5px;margin:2px 4px 9px}
.eaw-screen .eaw-card{min-height:48px;padding:4px 10px;gap:10px}
.eaw-screen .eaw-icon{min-height:35px;flex-basis:52px}
.eaw-screen .eaw-icon svg{width:29px;height:29px}
.eaw-screen .eaw-card h2{margin-bottom:2px;font-size:clamp(15px,4.2vw,22px)}
.eaw-screen .eaw-card p{font-size:clamp(11px,3.1vw,14px);line-height:1.2}
.eaw-screen .eac-submit{min-height:40px;padding:5px 8px}
.eaw-screen .eac-locked-actions > .eac-submit + .eac-submit{margin-top:8px}
.eaw-screen .eac-access-note{margin:9px auto 3px;gap:3px;padding:0 6px}
.eaw-screen .eac-access-note svg{width:20px;height:20px}
.eaw-screen .eac-access-note strong{font-size:12px}
.eaw-screen .eac-access-note p{font-size:11px;line-height:1.25;max-width:340px}
.eaw-screen .eac-form:after{height:19px;margin-top:3px}
.eaw-screen{padding-bottom:4px}

/* V145: premium authentication artwork, scoped to the two forms. */
.eac-premium .eac-hero{padding:0;min-height:0;margin:0 -10px 6px;border-radius:0;aspect-ratio:709/329;background:linear-gradient(0deg,#030b13,transparent 5%),url('/assets/eagle-register-v145.webp') center/100% 100% no-repeat}
.eac-login .eac-hero{aspect-ratio:709/488;background-image:linear-gradient(0deg,#030b13,transparent 5%),url('/assets/eagle-signin-v145.webp')}
.eac-premium .eac-hero h1,.eac-premium .eac-hero p{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0;padding:0}
.eac-premium .eac-hero h1:after{display:none}
.eac-premium .eac-glyph{color:#ffd16b;filter:drop-shadow(0 0 3px #ffb32b66)}
.eac-premium .eac-field{min-height:42px;border-radius:20px;margin-bottom:5px;box-shadow:0 0 7px #00eaff55,inset 0 0 9px #00ddff22}
.eac-premium .eac-field-error{border-color:#ff5369;box-shadow:0 0 9px #ff345866}
.eac-premium .eac-input-wrap input{font-size:16px!important;height:21px!important;min-height:21px!important}
.eac-premium .eac-submit{min-height:42px}
.eac-premium .eac-existing{flex-wrap:wrap;margin:8px 0;gap:5px}
.eac-premium .eac-signin{min-height:34px;min-width:65%}
.eac-premium .eac-terms{white-space:normal;flex-wrap:wrap}
.eac-premium .eac-form:after{height:auto;aspect-ratio:709/116;background:url('/assets/eagle-register-mountains-v145.webp') center/100% 100% no-repeat;filter:none}
.eac-login .eac-form:after{background-image:url('/assets/eagle-signin-mountains-v145.webp')}
@media(max-width:375px){.eac-premium .eac-hero{margin-left:-7px;margin-right:-7px}}

/* V146 — authentication only; preserve approved hero assets and shared shell. */
body:has(.eac-premium) .site-header{position:sticky;top:env(safe-area-inset-top,0px);z-index:16}
.eac-premium .eac-field{min-height:40px;margin-bottom:4px}
.eac-premium .eac-input-wrap{position:relative;justify-content:center}
.eac-premium .eac-input-wrap b{position:absolute;left:0;pointer-events:none;font-size:13px;font-weight:500}
.eac-premium .eac-input-wrap:focus-within b,.eac-premium .eac-input-wrap:has(input:not(:placeholder-shown)) b{position:static;font-size:10px;font-weight:700}
.eac-premium .eac-input-wrap input{min-height:20px!important;height:20px!important}
.eac-premium .eac-existing{flex-direction:column;gap:4px;margin:5px 0}
.eac-premium .eac-signin{min-height:32px;width:80%}
.eac-register .eac-rules{display:none}
.eac-register.eac-rules-open .eac-rules{display:block}
.eac-register .eac-strength{min-height:24px;padding:3px 7px;margin:2px 0 4px;gap:5px}
.eac-rule-toggle{border:0;background:none;padding:3px 0;color:inherit;font:inherit;text-align:left}
.eac-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:5px 0;color:#f4faff;text-align:center;font-size:9px;line-height:1.15}
.eac-benefits span{display:grid;justify-items:center;gap:3px;padding:2px 3px}
.eac-benefits span+span{border-left:1px solid #b88c4b55}
.eac-benefits svg{width:23px;height:23px;color:#ffd16b;filter:drop-shadow(0 0 4px #ffb52c88)}
.eac-premium .eac-status{border:0;background:none;text-align:center;padding:3px 5px;font-size:10px;line-height:1.25}
.eac-login .eac-status{display:grid;justify-items:center;gap:4px}
.eac-login .eac-status svg{width:21px;height:21px;color:#ffd16b}
.eac-premium .eac-form:after,.eac-mountains{margin:3px -10px 0;aspect-ratio:709/116;height:auto;background-size:100% 100%;mask-image:linear-gradient(to bottom,transparent,#000 18%,#000 77%,transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 18%,#000 77%,transparent)}
.eac-register .eac-form:after{display:none}
.eac-mountains{background:url('/assets/eagle-register-mountains-v145.webp') center/100% 100% no-repeat}
.eac-register .eac-mountains{aspect-ratio:709/85;background-size:cover}
.eac-premium .eac-terms{margin:3px 0;gap:4px}
.eac-premium .eac-terms button{padding:2px 3px}
.eac-premium .eac-forgot{margin:3px 0 7px auto}
.eac-premium .eac-hero{background-image:linear-gradient(0deg,#030b13,transparent 5%),linear-gradient(90deg,#030b13,transparent 2%,transparent 98%,#030b13),url('/assets/eagle-register-v145.webp')}
.eac-login .eac-hero{background-image:linear-gradient(0deg,#030b13,transparent 5%),linear-gradient(90deg,#030b13,transparent 2%,transparent 98%,#030b13),url('/assets/eagle-signin-v145.webp')}

/* V147 — explicitly size every background layer after V146 added a third layer. */
.eac-premium .eac-hero{background-size:100% 100%,100% 100%,100% 100%;background-position:center,center,center;background-repeat:no-repeat,no-repeat,no-repeat}
.eac-premium .eac-form:after,.eac-premium .eac-mountains{mask-image:linear-gradient(to bottom,transparent,#000 25%,#000 65%,transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 25%,#000 65%,transparent)}
.eac-register .eac-status{font-size:9px;line-height:1.2;padding:2px 5px;margin-bottom:6px}
.eac-register .eac-existing{margin:3px 0}
.eac-register .eac-mountains{aspect-ratio:709/72;background-size:100% 100%}
.eac-register .eac-form{padding-bottom:12px}
