/* SUNCORE V2.6.3 — approved homepage replacement + app-first mobile polish.
   Photographic section scenes are illustrative concepts, NOT photographs of confirmed operational facilities.
   The only approved homepage base photo is suncore-home-v263.png (byte-exact copy of upload). */
:root{--sc263-blue:#0385FE;--sc263-green:#00A102;--sc263-orange:#F58220}
/* The approved photo forms the daytime base. Sunrise/sunset/night crossfade over the *same location concept*.
   Generated time variants are approximations and may differ slightly in individual truck positions. */
.bg .sc263-time-layers{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.bg .sc263-time-image{position:absolute;inset:-1.5%;background-position:center center;background-size:cover;opacity:0;transform:scale(1.025);transition:opacity 2.25s cubic-bezier(.21,.78,.24,1),transform 24s linear;will-change:opacity;}
.bg .sc263-dawn{background-image:url('./suncore-time-sunrise.webp')}
.bg .sc263-dusk{background-image:url('./suncore-time-sunset.webp')}
.bg .sc263-dark{background-image:url('./suncore-time-night.webp')}
body[data-view="home"][data-mode="sunrise"] .bg .sc263-dawn{opacity:1}
body[data-view="home"][data-mode="sunset"] .bg .sc263-dusk{opacity:1}
body[data-view="home"][data-mode="night"] .bg .sc263-dark{opacity:1}
body[data-view="home"] .bg .hero-image{filter:none!important;opacity:1!important;transform:scale(1.012)}
body[data-view="home"] .bg .lighting-image{opacity:0!important;display:none!important}
body[data-view="home"] .bg .sky-grade,body[data-view="home"] .bg .night-stars,body[data-view="home"] .bg .horizon-glow,body[data-view="home"] .bg .sky-radiance,body[data-view="home"] .bg .forecourt-illumination,body[data-view="home"] .bg .celestial-sun,body[data-view="home"] .bg .celestial-moon{opacity:0!important;display:none!important}
body:not([data-view="home"]) .bg .sc263-time-layers{display:none!important}
/* Premium page-background contrasts preserve the distinct photo for every route. */
body[data-view="carwash"] .sc-section-scene{background-image:url('./sc-carwash.webp')!important;filter:saturate(1.17)}
body[data-view="accommodation"] .sc-section-scene{background-image:url('./sc-accommodation.webp')!important;filter:saturate(1.04)}
body[data-view="store"] .sc-section-scene{background-image:url('./sc-store.webp')!important;filter:saturate(1.12)}
body[data-view="rewards"] .sc-section-scene{background-image:url('./sc-rewards.webp')!important;filter:saturate(1.14)}
body[data-view="register"] .sc-section-scene{background-image:url('./sc-register.webp')!important;background-position:center 40%}
body[data-view="account"] .sc-section-scene{background-image:url('./sc-account.webp')!important}
body[data-view="about"] .sc-section-scene{background-image:url('./sc-about.webp')!important}
body[data-view="contact"] .sc-section-scene{background-image:url('./sc-contact.webp')!important}
body[data-view="locations"] .sc-section-scene{background-image:url('./sc-locations.webp')!important}
body[data-view="bays"] .sc-section-scene{background-image:url('./sc-parking.webp')!important}
body[data-view="fuel"] .sc-section-scene{background-image:url('./sc-fuel.webp')!important}
body[data-view="workshop"] .sc-section-scene{background-image:url('./sc-workshop.webp')!important}
body[data-view="restaurant"] .sc-section-scene{background-image:url('./sc-restaurant.webp')!important}
/* Filmic transition: brief dark glass veil, light sweep and layered content entrance. */
.sc263-transition-veil{position:absolute;inset:0;z-index:16;pointer-events:none;opacity:0;transform:translateX(-7%);background:linear-gradient(108deg,transparent 15%,rgba(10,63,91,.18) 35%,rgba(8,30,57,.69) 51%,rgba(3,133,254,.13) 62%,transparent 83%);backdrop-filter:blur(0px);transition:opacity .35s ease,transform .52s cubic-bezier(.18,1,.29,1)}
body.sc263-exit .sc263-transition-veil{opacity:.85;transform:translateX(6%)}
body.sc263-exit .screen.active .content,body.sc263-exit .screen.active .home-layout{opacity:0!important;transform:translateY(-12px) scale(.976)!important;transition:opacity .19s ease,transform .2s ease!important}
body.sc263-enter .screen.active .content{animation:sc263-panel-in .66s cubic-bezier(.14,1,.23,1) both}
body.sc263-enter .screen.active .home-layout{animation:sc263-panel-in .65s cubic-bezier(.14,1,.23,1) both}
@keyframes sc263-panel-in{from{opacity:0;transform:translateY(28px) scale(.973);filter:blur(7px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}
/* Keep the desktop hero legible without overtaking the photographic art. */
@media(min-width:701px){
 body[data-view="home"] .home-fuel-board{backdrop-filter:blur(19px);background:linear-gradient(145deg,rgba(5,24,48,.92),rgba(5,28,49,.89));border:1px solid rgba(171,227,250,.31);box-shadow:0 24px 72px rgba(1,13,29,.55),inset 0 1px 0 rgba(255,255,255,.1)!important}
 .screen:not([data-screen="home"]) .content{box-shadow:0 25px 90px #010c1f85,inset 0 1px #e3f6ff19}
}
/* Mobile: genuine app-first hierarchy, no hero headings, no particles, compact verified pricing widget. */
@media(max-width:700px){
 body .ambient-canvas,body #ambient-canvas,body .v26-atmospheric-haze,body .weather-clouds,body .night-stars{display:none!important;visibility:hidden!important;opacity:0!important}
 .topbar{height:68px!important;padding:7px 16px!important;align-items:center;background:linear-gradient(180deg,rgba(2,16,34,.92),rgba(3,21,43,.35))}
 .topbar .brand-logo{width:148px!important;max-height:52px!important}
 .topbar .navbtn{min-height:42px!important;padding:9px 13px!important;border-radius:14px!important}
 .screen[data-screen="home"]{padding:73px 13px calc(var(--sc-bottom-nav) + 8px)!important;align-items:flex-start!important}
 .home-layout{max-width:470px!important;margin:0 auto!important;gap:12px!important;padding:3px 0 9px!important;overflow-y:auto!important;overscroll-behavior:contain}
 .home-layout .homecopy{display:none!important}
 .home-fuel-board{width:100%!important;max-width:100%!important;padding:15px!important;border-radius:20px!important;background:linear-gradient(148deg,rgba(4,25,50,.95),rgba(7,37,61,.93))!important;border:1px solid rgba(161,224,251,.4)!important;box-shadow:0 15px 40px rgba(0,6,24,.64)!important;margin:0!important}
 .fuel-board-heading{display:flex;align-items:center;gap:10px}
 .fuel-board-heading h2{font-size:22px!important;font-weight:700!important;margin:1px 0 0}
 .fuel-board-kicker{font-size:8px!important;letter-spacing:.09em}
 .fuel-detail{font-size:10px!important;min-height:37px;padding:7px 11px;white-space:nowrap}
 .fuel-grade-picker{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0!important}
 .fuel-grade-picker button{min-height:39px!important;font-size:12px!important}
 .home-fuel-rows{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important}
 .home-fuel-row{min-height:81px!important;padding:12px 11px!important;gap:8px!important;border:1px solid rgba(135,203,237,.22)!important;background:#102f4cd9!important}
 .home-fuel-row .home-fuel-label{font-size:9px!important;letter-spacing:.03em!important}
 .home-fuel-row small{font-size:9px!important}
 .home-fuel-row strong{font-size:21px!important;line-height:1.1}
 .home-fuel-own{grid-column:1/-1;min-height:65px!important;flex-direction:row!important;padding:12px!important;background:linear-gradient(110deg,rgba(0,161,2,.28),rgba(8,81,76,.54))!important;border:1px solid #43e67889!important}
 .home-fuel-own strong{font-size:clamp(23px,6vw,28px)!important;white-space:nowrap}
 .fuel-board-bottom{font-size:9px!important;padding-top:9px;margin-top:8px;display:flex;align-items:flex-start}
 .fuel-disclaimer{display:none!important}
 .sc-mobile-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;margin-top:1px}
 .sc-service-shortcut{min-height:81px;max-height:98px;padding:13px 6px!important;background:linear-gradient(147deg,#123b5ceb,#092740ee);border:1px solid #a6ddfa45;border-radius:17px;gap:7px;box-shadow:0 5px 20px #0610207a,inset 0 1px #cbefff27}
 .sc-service-shortcut .sc-svg-icon{width:25px;height:25px;color:#9ef7ba}
 .sc-service-shortcut b{font-size:10px!important;font-weight:600;white-space:normal;text-align:center;line-height:1.3}
 .sc-mobile-tabbar{box-shadow:0 -10px 32px rgba(0,10,24,.77)!important;border-top:1px solid #b0eaff38!important}
 /* Mobile menu resembles an app settings/launcher drawer, with compact rows rather than tiles. */
 .overlay{background:linear-gradient(165deg,#04152bf9,#062b42f9);backdrop-filter:blur(20px)}
 .menu{padding:18px 15px calc(var(--sc-bottom-nav) + 22px)!important;overflow-y:auto;overscroll-behavior:contain}
 .sc262-menu-intro{position:relative!important;display:flex!important;flex-direction:column;align-items:center;gap:3px!important;padding:8px 50px 11px!important;margin:0 0 12px!important;text-align:center}
 .sc262-menu-logo{width:135px!important;max-height:54px!important;margin:0 auto}
 .sc262-menu-intro .eyebrow{font-size:8px!important;letter-spacing:.14em}
 .sc262-menu-intro h2{font-size:17px!important;line-height:1.15!important;letter-spacing:-.03em!important;margin:1px auto!important}
 .sc262-menu-intro p{display:none!important}
 .menu .close{top:19px!important;right:16px!important;position:fixed!important;z-index:3;border-radius:50%;width:39px;height:39px;min-height:39px;padding:0!important;display:grid;place-items:center;font-size:17px!important}
 .menu .close span{display:none}
 .menu-grid{display:block!important}
 .sc-menu-group{margin:0 0 14px!important;border:1px solid rgba(178,225,249,.14)!important;border-radius:19px!important;padding:11px!important;background:rgba(16,43,65,.48)!important;box-shadow:0 5px 20px #0003!important}
 .sc-menu-group h3{margin:0 5px 9px!important;color:#a5dfff;font-size:9px!important;letter-spacing:.13em!important}
 .sc-menu-group-items{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
 .menu-grid .sc-menu-group-items button{display:grid!important;grid-template-columns:38px minmax(0,1fr) 13px!important;grid-template-rows:auto auto;align-items:center!important;justify-content:start!important;text-align:left;min-height:51px!important;gap:0 9px!important;border-radius:12px!important;padding:7px 11px!important;background:rgba(14,52,80,.85)!important;box-shadow:inset 0 1px #bce8ff15!important}
 .menu-grid .sc-menu-group-items button .sc-menu-icon{grid-column:1;grid-row:1/3;display:flex!important;width:34px!important;height:34px!important;align-items:center!important;justify-content:center!important;border:1px solid #b4e9ff23!important;border-radius:10px!important;background:rgba(3,133,254,.13)!important}
 .menu-grid .sc-menu-group-items button .sc-svg-icon{width:19px;height:19px;color:#94deff}
 .menu-grid .sc-menu-group-items button b{grid-column:2;grid-row:1;font-size:11px!important;font-weight:600;line-height:1.2}
 .menu-grid .sc-menu-group-items button small{grid-column:2;grid-row:2;display:block!important;font-size:8px;color:#9fbecf;line-height:1.2}
 .menu-grid .sc-menu-group-items button::after{content:'›';font-weight:500;color:#abd9e9;font-size:17px;grid-column:3;grid-row:1/3}
 .sc-menu-group:nth-child(1) button .sc-menu-icon{background:rgba(3,133,254,.19)!important}
 .sc-menu-group:nth-child(2) button .sc-menu-icon{background:rgba(245,130,32,.15)!important}
 .sc-menu-group:nth-child(3) button .sc-menu-icon{background:rgba(0,161,2,.15)!important}
 .sc-menu-group:nth-child(4) button .sc-menu-icon{background:rgba(134,173,255,.15)!important}
 .screen:not([data-screen="home"]){padding:72px 9px calc(var(--sc-bottom-nav) + 8px)!important}
 .screen:not([data-screen="home"]) .content{padding:19px 17px!important;border-radius:19px!important;box-shadow:0 10px 30px rgba(0,8,21,.69)!important;background:linear-gradient(160deg,rgba(4,22,41,.96),rgba(7,28,50,.94))!important}
 body:not([data-view="home"]) .bg .sc-section-scene{filter:blur(4px) saturate(.75) brightness(.55)!important;transform:scale(1.08)!important}
 body:not([data-view="home"]) .bg::after{background:linear-gradient(180deg,rgba(1,12,26,.48),rgba(2,16,31,.63))!important}
 body.sc263-enter .screen.active .content{animation:sc263-mobile-enter .42s cubic-bezier(.15,1,.24,1) both}
 @keyframes sc263-mobile-enter{from{opacity:.1;transform:translateX(28px)}to{opacity:1;transform:translateX(0)}}
}
@media(max-width:375px){.home-fuel-board{padding:12px!important}.home-fuel-row{padding:9px!important;min-height:69px!important}.home-fuel-row strong{font-size:19px!important}.home-fuel-own strong{font-size:22px!important}.sc-service-shortcut{min-height:73px!important}}
@media(max-height:760px) and (max-width:700px){.sc-service-shortcut{min-height:70px}.home-layout{gap:8px!important}.home-fuel-row{min-height:70px!important}}
@media(prefers-reduced-motion:reduce){.sc263-time-image,.sc263-transition-veil,body.sc263-enter .screen.active .content,body.sc263-enter .screen.active .home-layout{animation:none!important;transition:none!important}}
