/* CHIEL HOME · depth and interaction layer (lightweight, touch safe) */
:root{--home-glow:rgba(109,199,255,.18);--home-depth-shadow:0 23px 58px rgba(0,3,16,.48),inset 0 1px rgba(255,255,255,.075)}
.wrap{perspective:1800px}
.hero{box-shadow:0 32px 90px rgba(0,3,13,.58),0 0 0 1px rgba(114,211,255,.085),inset 0 1px rgba(238,251,255,.12);background-position:center 52%}
.hero .hero-content{filter:drop-shadow(0 10px 22px rgba(0,0,0,.18))}
.hero-console{border-color:rgba(150,218,246,.28);box-shadow:0 27px 70px rgba(0,3,14,.52),inset 0 1px rgba(255,255,255,.14)}
.pulse-cell{box-shadow:0 13px 30px rgba(0,5,19,.23),inset 0 1px rgba(255,255,255,.075);border-color:rgba(121,186,222,.22)}
.portal-group{border-color:rgba(138,194,231,.23);box-shadow:0 24px 64px rgba(0,4,18,.28),inset 0 1px rgba(255,255,255,.06)}
.group-symbol{box-shadow:inset 0 1px rgba(255,255,255,.1),0 8px 22px rgba(0,0,0,.23)}
.tile-shell{position:relative;min-width:0;perspective:950px}
.tile-shell>.card{height:100%;transform-style:preserve-3d;box-shadow:var(--home-depth-shadow);backface-visibility:hidden}
.tile-shell>.card .icon,.tile-shell>.card h3,.tile-shell>.card .go{transform:translateZ(13px)}
.tile-shell>.card .icon{transition:transform .18s ease,box-shadow .18s ease}
.tile-shell>.card .status{transform:translateZ(12px)}
.tile-shell>.card:hover,.tile-shell>.card:focus-visible{border-color:rgba(136,220,255,.63);box-shadow:0 27px 64px rgba(0,3,18,.65),0 0 0 1px rgba(106,206,255,.12),inset 0 1px rgba(255,255,255,.13)}
.portal-group[data-group="home"] .group-grid>.tile-shell:first-child{grid-column:span 2}
.portal-group[data-group="home"] .group-grid>.tile-shell:first-child>.card{min-height:210px;background:radial-gradient(circle at 80% 20%,rgba(105,169,255,.14),transparent 35%),linear-gradient(145deg,#132a44e8,#091827ed)}
.portal-group[data-group="home"] .group-grid>.tile-shell:not(:first-child)>.card{min-height:170px;background:linear-gradient(145deg,rgba(15,34,54,.93),rgba(7,18,31,.94))}
@media(min-width:821px){.tile-shell:nth-child(2)>.card,.tile-shell:nth-child(7)>.card{--accent:#72e7ae;--accent-soft:#72e7ae1c}.tile-shell:nth-child(3)>.card,.tile-shell:nth-child(5)>.card{--accent:#b99cff;--accent-soft:#b99cff1c}.tile-shell:nth-child(4)>.card,.tile-shell:nth-child(8)>.card{--accent:#ffd27c;--accent-soft:#ffd27c1c}}
.favorite-toggle{position:absolute;z-index:5;top:53px;right:15px;display:grid;place-items:center;width:37px;height:37px;padding:0;border:1px solid rgba(134,184,217,.29);border-radius:12px;background:rgba(5,18,33,.79);color:#a1b4c8;box-shadow:0 5px 14px rgba(0,0,0,.23);cursor:pointer;font-size:21px;line-height:1;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;touch-action:manipulation}
.favorite-toggle:hover,.favorite-toggle:focus-visible{outline:2px solid transparent;border-color:rgba(255,217,139,.78);color:#ffe2a6;background:#223044;transform:translateY(-2px)}
.favorite-toggle[aria-pressed="true"]{color:#ffe2a6;border-color:rgba(255,217,139,.46);background:rgba(116,78,19,.29)}
.favorite-toggle:focus-visible{outline:2px solid #a8eaff;outline-offset:3px}
.module-tools{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:14px;margin:0 0 18px;border:1px solid rgba(136,193,223,.23);border-radius:20px;background:linear-gradient(138deg,rgba(16,37,58,.91),rgba(7,19,34,.91));box-shadow:inset 0 1px rgba(255,255,255,.07),0 14px 36px rgba(0,0,0,.22)}
.module-search-wrap{position:relative;flex:1 1 230px;max-width:440px}
.module-search-wrap:before{content:"⌕";position:absolute;left:13px;top:50%;transform:translateY(-52%);color:#96cfff;font-size:24px;pointer-events:none}
#moduleSearch{width:100%;min-height:46px;padding:10px 54px 10px 42px;border:1px solid rgba(113,181,222,.31);border-radius:13px;outline:0;background:#061524;color:#e8f6ff;font:inherit;font-size:15px;box-shadow:inset 0 2px 8px rgba(0,0,0,.18)}
#moduleSearch::placeholder{color:#8fa6bb}
#moduleSearch:focus{border-color:#8bcfff;box-shadow:0 0 0 3px rgba(103,193,255,.14),inset 0 2px 8px rgba(0,0,0,.18)}
.module-search-wrap kbd{position:absolute;right:12px;top:50%;transform:translateY(-50%);padding:3px 8px;border:1px solid rgba(132,183,218,.25);border-radius:7px;color:#9ab5cb;font-size:12px;font-family:inherit;pointer-events:none}
.module-filters{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.module-filter{min-height:41px;padding:9px 13px;border:1px solid rgba(113,181,222,.23);border-radius:12px;background:rgba(255,255,255,.035);color:#a6bed1;font:inherit;font-size:13px;font-weight:800;cursor:pointer;transition:background .16s ease,color .16s ease,border-color .16s ease}
.module-filter:hover,.module-filter:focus-visible{color:#fff;background:rgba(105,183,255,.12);border-color:rgba(145,215,248,.47);outline:0}
.module-filter[aria-pressed="true"]{color:#e8f9ff;border-color:rgba(101,214,244,.58);background:linear-gradient(145deg,rgba(31,127,164,.35),rgba(36,83,136,.27));box-shadow:inset 0 1px rgba(255,255,255,.08)}
.module-filter:focus-visible{outline:2px solid #a8eaff;outline-offset:2px}
.module-empty{padding:25px 18px;border:1px dashed rgba(140,205,235,.32);border-radius:18px;color:#afc8dc;text-align:center;background:rgba(10,30,45,.55)}
.tile-shell[hidden],.portal-group[hidden],.module-empty[hidden]{display:none!important}
.card .status{pointer-events:none}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .tile-shell>.card:not(.disabled):hover{transform:perspective(950px) translateY(-5px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg))}
 .tile-shell>.card:focus-visible{transform:translateY(-3px)}
 .tile-shell>.card:not(.disabled):active{transform:translateY(-1px) scale(.99)}
 .portal-group:after,.hero:before,body:before{animation-play-state:paused}
 .portal-group:hover:after,.hero:hover:before{animation-play-state:running}
}
@media(max-width:1100px){.portal-group[data-group="home"] .group-grid>.tile-shell:first-child{grid-column:auto}}
@media(max-width:760px){.module-tools{padding:10px;gap:10px}.module-search-wrap{max-width:none;flex-basis:100%}.module-filters{width:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.module-filter{min-width:0;padding:9px 5px;font-size:11px}.tile-shell>.card{transform:none!important}.favorite-toggle{width:44px;height:44px;top:51px;right:12px}}
@media(max-width:390px){.module-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.tile-shell>.card,.favorite-toggle,.module-filter{transition:none!important;animation:none!important}.tile-shell>.card:hover,.tile-shell>.card:active{transform:none!important}}
body.page-paused *,body.page-paused *:before,body.page-paused *:after{animation-play-state:paused!important}

/* CHIEL_HOME_FAST_NAV_20261030: lightweight scrolling and visual hierarchy */
.portal-group[data-group="media"]:before{background:#c49dff}
.portal-group[data-group="extra"]:before{background:#91a5bd}
.portal-group[data-group="extra"] .card{min-height:124px}
.portal-group[data-group="extra"] .card p{font-size:.86rem}
.portal-group{content-visibility:auto;contain-intrinsic-size:auto 560px}
@media(max-width:760px){
 .module-filters{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
 .module-filter{flex:0 0 auto;padding:10px 13px}
 .hero:before,body:before,.portal-group:after,.console-orbit:before,.console-orbit:after,.promo-video:before,.promo-play,.promo-play:after{animation:none!important}
 .hero{min-height:clamp(340px,62dvh,460px)}
 .portal-group{contain-intrinsic-size:auto 820px}
}


/* CHIEL_HOME_STATUS_CLARITY_20261030: links are not uptime checks */
.card .status.info{color:#a9bbcc}
.card .status.info:before{display:none}
.card:focus-visible{outline:2px solid #9deaff;outline-offset:3px}
@media (max-width:760px){
 .card .status{font-size:.73rem;max-width:48%}
}
