/* CHIKARA Halo (Standards 5). Sibling of the app frame, never inside a transformed ancestor. Stacking: halo 90, petals 94, scrim 91; header 80, modal backdrop 120, Island 200. */
.halo-root{--halo-size:75px;--petal-size:60px;--radius-inner:120px}
.halo-scrim{position:fixed;inset:0;z-index:91;background:rgba(7,61,62,.18);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.halo-scrim[hidden]{display:none}
.halo{position:fixed;z-index:90;width:var(--halo-size);height:var(--halo-size);border-radius:50%;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:none;filter:drop-shadow(0 6px 10px rgba(7,61,62,.28)) drop-shadow(0 0 10px rgba(212,160,23,.35));animation:halo-breathe 3.6s ease-in-out infinite}
.halo.dragging,.halo-root.open .halo{animation:none}
.halo-core{all:unset;box-sizing:border-box;position:relative;display:block;width:100%;height:100%;border-radius:50%;cursor:grab;touch-action:none;-webkit-tap-highlight-color:transparent}
.halo.dragging .halo-core{cursor:grabbing}
.halo-ring{position:absolute;inset:-2px;border-radius:50%;background:conic-gradient(from 0deg,#d4a017,#0d7377,#f0c75e,#0d7377,#d4a017);animation:halo-spin 3.4s linear infinite}
.halo-root.open .halo-ring{animation-duration:.7s}
.halo-core img{position:absolute;inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);border-radius:50%;object-fit:cover;background:#fffdf7;pointer-events:none}
.halo-core:focus-visible{outline:3px solid #073d3e;outline-offset:4px}
.halo-petals{position:fixed;inset:0;z-index:94;pointer-events:none}
.halo-petal{position:fixed;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:0;border-radius:50%;border:1px solid rgba(7,61,62,.22);color:#073d3e;cursor:pointer;
 background:linear-gradient(160deg,rgba(255,255,255,.92),rgba(247,243,232,.78));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 8px 18px rgba(7,61,62,.22);
 font:700 10.5px/1 'Plus Jakarta Sans',system-ui,sans-serif;letter-spacing:.02em;pointer-events:auto;
 opacity:0;transform:translate(var(--ox),var(--oy)) scale(.3);transition:transform .42s cubic-bezier(.34,1.56,.64,1),opacity .2s ease}
.halo-petal svg{width:22px;height:22px}
.halo-petals.show .halo-petal{opacity:1;transform:translate(0,0) scale(1)}
.halo-petal.arming{pointer-events:none}
.halo-petal:focus-visible{outline:3px solid #073d3e;outline-offset:2px}
.halo-petal[aria-current="page"]{background:linear-gradient(160deg,#fff6d8,#f0c75e);border-color:#073d3e;border-width:2px}
.halo-badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#a83434;color:#fff;font:800 10px/20px system-ui,sans-serif;font-style:normal;text-align:center}
@keyframes halo-spin{to{transform:rotate(360deg)}}
@keyframes halo-breathe{0%,100%{filter:drop-shadow(0 6px 10px rgba(7,61,62,.28)) drop-shadow(0 0 8px rgba(212,160,23,.25))}50%{filter:drop-shadow(0 6px 10px rgba(7,61,62,.28)) drop-shadow(0 0 18px rgba(212,160,23,.6))}}
html[data-fx="off"] .halo,html[data-fx="off"] .halo-ring{animation:none!important}
html[data-fx="off"] .halo-petal{transition:opacity .12s linear!important;transform:none!important}
@media (prefers-reduced-motion:reduce){.halo,.halo-ring{animation:none!important}.halo-petal{transition:opacity .12s linear!important;transform:none!important}}
/* content must clear the Halo's home position */
.main{padding-bottom:calc(var(--halo-size,75px) + 56px + env(safe-area-inset-bottom,0px))}
/* Halo size stepper inside the logo menu (reference pattern: Soliloquy) */
.halo-stepper{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 14px 4px}
.halo-stepper b{font:700 12px 'Plus Jakarta Sans',system-ui,sans-serif;color:#073d3e}
.halo-stepper .st-ctl{display:flex;align-items:center;gap:6px}
.halo-stepper button{width:44px!important;min-height:44px!important;padding:0!important;text-align:center!important;border:1px solid rgba(7,61,62,.22)!important;border-radius:10px!important;background:#fff!important;font:700 18px system-ui,sans-serif!important}
.halo-stepper output{min-width:46px;text-align:center;font:600 13px 'Plus Jakarta Sans',system-ui,sans-serif;color:#182320}
.logo-menu .menu-sep{margin:6px 10px 2px;padding:0;font:700 10.5px 'Plus Jakarta Sans',system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#4b5a55}
/* Release (hold, then Fracture) */
.hold-btn{position:relative;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.hold-btn::after{content:"";position:absolute;left:0;bottom:0;height:4px;width:calc(var(--hold,0)*100%);background:currentColor;opacity:.7}
.rel-cracks path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.rel-cracks .c-dark path{stroke:rgba(7,40,40,.75);stroke-width:1.1}.rel-cracks .c-light path{stroke:rgba(255,255,255,.85);stroke-width:.8}
.rel-shards{position:fixed;inset:0;z-index:160;pointer-events:none}
.rel-shard{position:fixed;overflow:hidden;pointer-events:none;will-change:transform,opacity}
.rel-shard>*{pointer-events:none}.rel-bevel{position:absolute;inset:0;pointer-events:none}
/* user-gated update bar (TB-01) */
.update-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:10px 14px 0;padding:12px 14px;border:1px solid rgba(7,61,62,.25);border-radius:14px;background:#fff6d8;color:#073d3e;font:600 13px/1.4 'Plus Jakarta Sans',system-ui,sans-serif}
.update-bar[hidden]{display:none}.update-bar .ub-act{display:flex;gap:8px}.update-bar .btn{min-height:44px}
