/* 0.10.2zzp N-119 appearance access (approved mockups builds/mock_appearance_access/, Abhi "Yes" 11:24 UTC+7 31 Oct). No flashes, fades >= 400 ms, small text 70% white. */
/* picker: fade in and out (was an instant show), sits above sheets so "Change look" works from Orb profile */
#lpick{display:block!important;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .45s ease,visibility 0s linear .45s;z-index:260}
#lpick.open{visibility:visible;opacity:1;pointer-events:auto;transition:opacity .45s ease,visibility 0s}
#lpick .lgb.acarb{left:50%!important;top:auto!important;bottom:calc(76px + env(safe-area-inset-bottom,0px));transform:translateX(-50%)!important;width:min(380px,92vw)}
#lpick .lgs{color:rgba(255,255,255,.7)}
#lpick .acar{display:flex!important;gap:4px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:10px -14px 0;padding:6px 28%;box-sizing:border-box;overscroll-behavior-x:contain}
#lpick .acar::-webkit-scrollbar{display:none}
#lpick .acar .ob.it{flex:0 0 44%;scroll-snap-align:center;gap:8px;font-size:13px;color:#fff;padding:4px 0 2px;transition:opacity .45s ease}
#lpick .acar .ob.it i,#lpick .acar .ob.it canvas{width:min(150px,36vw);height:min(150px,36vw);box-shadow:none;animation-duration:3.2s}
#lpick .acar .ob.it.on i,#lpick .acar .ob.it.on canvas{box-shadow:0 0 0 2px rgba(255,255,255,.85),0 0 18px 4px rgba(255,255,255,.22)}
#lpick .acar .ob.it::after{content:'';font-size:11px;color:rgba(255,255,255,.7);min-height:14px}
#lpick .acar .ob.it.on::after{content:'\2713  Current'}
#lpick .adots{display:flex;justify-content:center;gap:6px;margin-top:6px;min-height:6px}
#lpick .adots i{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.3);transition:background .45s ease}
#lpick .adots i.on{background:rgba(255,255,255,.95)}
#lpick .alink{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:10px;padding:10px 0 0;border:0;border-top:1px solid rgba(255,255,255,.12);background:transparent;color:rgba(255,255,255,.7);font:inherit;font-size:12px;cursor:pointer}
#lpick .alink span:last-child{color:#fff}
/* one-time hold hint */
#holdHint{position:fixed;left:50%;transform:translateX(-50%);top:64%;z-index:6;display:flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);color:rgba(255,255,255,.7);font-size:12px;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .6s ease}
#holdHint.on{opacity:1}
#holdHint b{width:14px;height:14px;border-radius:50%;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.7);display:inline-block;position:relative}
#holdHint b::after{content:'';position:absolute;inset:4px;border-radius:50%;background:rgba(255,255,255,.8)}
/* Settings: Orb profile first with a live mini orb */
#panel .srow[data-sheet="aiprof"] .ic.amini{width:44px;height:44px;flex:0 0 44px;display:flex;align-items:center;justify-content:center;font-size:0;background:transparent}
.amini i,.apBig i,.apRow i{display:block;border-radius:50%;background-size:cover;background-position:center;background-color:#000}
.amini i{width:40px;height:40px;animation:br 3.2s ease-in-out infinite}
.aiorbph{background-image:radial-gradient(circle at 40% 35%,rgba(160,190,255,.9),rgba(120,90,220,.5) 45%,rgba(0,0,0,0) 70%)!important}
/* Orb profile: Appearance at the top */
#apTop{display:flex;flex-direction:column;gap:10px}
#apTop .sec{margin-top:2px}
.apCard{display:flex;align-items:center;gap:14px;padding:12px;border-radius:16px;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
.apBig i{width:84px;height:84px;animation:br 3.2s ease-in-out infinite;transition:opacity .45s ease}
.apCard b{font-size:16px;display:block}.apCard small{display:block;font-size:12px;color:rgba(255,255,255,.7);margin:2px 0 8px}
.apCard button{border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;border-radius:999px;padding:6px 14px;font:inherit;font-size:12.5px;cursor:pointer}
.apRow{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;padding:2px 2px 4px}
.apRow::-webkit-scrollbar{display:none}
.apRow button{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:4px;border:0;background:transparent;color:rgba(255,255,255,.7);font:inherit;font-size:11px;padding:0;cursor:pointer;width:54px}
.apRow i{width:46px;height:46px;box-shadow:0 0 0 1px rgba(255,255,255,.18);transition:box-shadow .45s ease}
.apRow button.on{color:#fff}.apRow button.on i{box-shadow:0 0 0 2px #fff,0 0 12px 2px rgba(255,255,255,.3)}
#apAutoRow{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:12px;border-radius:14px;background:rgba(255,255,255,.04);border:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);color:#fff;font:inherit;cursor:pointer}
#apAutoRow .tx{flex:1}#apAutoRow .tt{font-size:13.5px}#apAutoRow .ss{font-size:11.5px;color:rgba(255,255,255,.7)}
.apNew{font-size:9.5px;letter-spacing:.04em;padding:1px 6px;border-radius:999px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.4);color:rgba(255,255,255,.85);margin-left:6px;vertical-align:1px}
.apTg{position:relative;width:42px;height:24px;flex:0 0 42px;border-radius:999px;background:rgba(255,255,255,.18);transition:background .45s ease}
.apTg::after{content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .45s ease}
.apTg.on{background:rgba(255,255,255,.85)}.apTg.on::after{transform:translateX(18px);background:#000}
/* Auto by time of day sheet (cfm layer) */
#autoSh .box{max-height:86dvh;overflow-y:auto;gap:10px;background:#0b0c0f}
#autoSh .row{display:flex;justify-content:space-between;align-items:center;gap:8px}
#autoSh .lx2{border:0;background:rgba(255,255,255,.08);color:#fff;width:30px;height:30px;border-radius:50%;cursor:pointer}
#autoSh .sm{font-size:11.5px;color:rgba(255,255,255,.7);line-height:1.4}
#autoSh .band{display:flex;align-items:center;gap:12px;padding:10px;border-radius:14px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
#autoSh .band.now{box-shadow:inset 0 0 0 1px rgba(255,255,255,.4);background:rgba(255,255,255,.04)}
#autoSh .band i{width:38px;height:38px;flex:0 0 38px;border-radius:50%;background-size:cover;background-position:center}
#autoSh .band b{font-size:13.5px;font-weight:500}#autoSh .band small{display:block;font-size:11.5px;color:rgba(255,255,255,.7)}
#autoSh .nowtag{font-size:9.5px;padding:1px 6px;border-radius:999px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.4);margin-left:6px}
/* Auto switch: the orb fades out and back in, 0.4 s + 0.4 s = 0.8 s, opacity only */
body.aswap #orb,body.aswap #irisG,body.aswap #irisP,body.aswap #aquaG,body.aswap #marbleG,body.aswap #vorb,body.aswap #halo,body.aswap #rip{opacity:0!important}
body.aswap0 #orb,body.aswap0 #irisG,body.aswap0 #irisP,body.aswap0 #aquaG,body.aswap0 #marbleG,body.aswap0 #vorb,body.aswap0 #halo,body.aswap0 #rip{transition:opacity .4s ease-in-out!important}
@media (prefers-reduced-motion: reduce){
 #lpick,#lpick.open,#holdHint,#lpick .adots i,.apTg,.apTg::after{transition-duration:.4s!important;transition-timing-function:linear!important}
 #lpick .acar{scroll-behavior:auto}
 .amini i,.apBig i,#lpick .acar .ob.it i{animation:none!important}
 body.aswap0 #orb,body.aswap0 #irisG,body.aswap0 #irisP,body.aswap0 #aquaG,body.aswap0 #marbleG,body.aswap0 #vorb,body.aswap0 #halo,body.aswap0 #rip{transition:opacity .4s linear!important}
}

/* 0.10.2zzp no-flash rule (fades at least 400 ms): the Orb profile and Language sheets (and their dim backdrop) fade in over 450 ms instead of popping in; the Settings panel slides in over 450 ms (was 250 ms). Reduced motion: 400 ms linear fade, no slide. */
@keyframes aShIn{from{opacity:0}to{opacity:1}}
#sh-aiprof.open,#sh-lang.open,body:has(#sh-aiprof.open,#sh-lang.open) #sheetBg.open{animation:aShIn .45s ease both}
#panel{transition:transform .45s ease}
@media (prefers-reduced-motion:reduce){html body #sh-aiprof.open,html body #sh-lang.open,html body:has(#sh-aiprof.open,#sh-lang.open) #sheetBg.open{animation:aShIn .4s linear both!important}}
