/* ZEN-TECH™ v3.1 — Premium human-layer polish, additive only.
   Does not alter audio authorization, entitlement, checkout or the Guide API.
   The mascot uses CSS depth effects on the EXISTING approved MICRO HAUS asset,
   not a true 3D mesh or 3D renderer. */
:root { --zen-orb-glow:#3b82f6; --zen-orb-hue:0deg; }

/* Softer, high-end invitation, with clear hierarchy and restrained motion */
.intro-panel { position:relative; isolation:isolate; overflow:hidden; }
.intro-panel::after { content:""; position:absolute; width:min(40vw,520px); aspect-ratio:1;
 right:-8%; top:-18%; z-index:-1; pointer-events:none;
 background:radial-gradient(circle,rgba(57,184,231,.15),rgba(125,89,239,.065) 48%,transparent 71%);
 filter:blur(13px); }
.zen-premium-human-line { max-width:780px; font:500 clamp(20px,2.65vw,34px)/1.3 Georgia,serif;
 color:#f7f5ec; letter-spacing:-.015em; margin:14px 0 13px; text-wrap:balance; }
.intro-panel .intro-actions a:first-child {box-shadow:0 10px 30px rgba(235,188,103,.13)}
.intro-panel .intro-actions a:focus-visible {outline:3px solid #e9ba5b;outline-offset:3px}

/* Existing mascot: depth illusion with golden orbit accent; same approved asset */
.guide-hero-orb, #zen-companion-root .zen-guide-mascot,
#zen-premium-home-companion img {filter:hue-rotate(var(--zen-orb-hue)) drop-shadow(0 14px 23px rgba(0,0,0,.6))
 drop-shadow(0 0 14px var(--zen-orb-glow));transform:perspective(620px) rotateY(-7deg) rotateX(5deg);
 transform-origin:center; transition:filter .28s ease, transform .36s ease; }
.guide-identity-card {position:relative;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 16px 60px rgba(0,0,0,.32)}
.guide-identity-card::after {content:"";position:absolute;right:0;top:0;width:70%;height:1px;
 background:linear-gradient(90deg,transparent,rgba(205,234,255,.35),transparent);pointer-events:none}
.guide-identity-card:hover .guide-hero-orb{transform:perspective(620px) rotateY(4deg) rotateX(-3deg) translateY(-5px)}

/* Compact accessible floating gateway on the public home, NOT a new chatbot */
#zen-premium-home-companion {position:fixed;z-index:1050;right:max(16px,env(safe-area-inset-right));
 bottom:max(16px,env(safe-area-inset-bottom));font-family:system-ui,-apple-system,'Segoe UI',sans-serif;}
#zen-premium-home-companion button{display:flex;align-items:center;gap:10px;max-width:min(330px,calc(100vw - 32px));
 min-height:60px;border:1px solid rgba(242,190,99,.75);border-radius:99px;background:linear-gradient(125deg,#12243d,#07111e 73%);
 color:#faf7ef;padding:7px 16px 7px 8px;box-shadow:0 16px 44px #000b, inset 0 1px 0 #ffffff22;
 cursor:pointer;font-size:13px;font-weight:780;letter-spacing:.01em;}
#zen-premium-home-companion button:hover{border-color:#f9d48b;box-shadow:0 18px 52px #000d,0 0 20px #3b82f628}
#zen-premium-home-companion button:focus-visible{outline:3px solid #f6c76c;outline-offset:3px}
#zen-premium-home-companion img{width:46px;height:46px;object-fit:contain;flex:none}
#zen-premium-home-companion span{line-height:1.35;text-align:left}
#zen-premium-home-companion small{font-size:11px;font-weight:480;color:#c7d5e7;display:block;margin-top:1px}

/* Both public and paid palette selectors — user-controlled purely visual skin */
.zen-orb-palette{margin:14px 0;padding:12px 12px 11px;border:1px solid #536682;
 border-radius:12px;background:linear-gradient(150deg,#102039,#071323);color:#f1f5fa}
.zen-orb-palette-label{margin:0 0 8px!important;font-size:12px!important;font-weight:700!important;color:#d7e2f1!important}
.zen-orb-palette-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.zen-orb-palette button{width:34px;height:34px;min-width:34px;border-radius:50%;padding:0;
 cursor:pointer;border:2px solid rgba(255,255,255,.44);background:var(--zen-swatch);
 box-shadow:inset 0 1px 3px #fff7,0 2px 7px #0008;}
.zen-orb-palette button[aria-pressed="true"]{outline:2px solid #faf8f2;outline-offset:3px}
.zen-orb-palette button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.zen-orb-palette-note{font-size:11px;color:#afc1d5;margin-top:8px}
#zen-companion-panel .zen-orb-palette{margin:8px 10px}
#zen-companion-panel .zen-orb-palette button{min-width:30px;width:30px;height:30px}
#zen-companion-trigger .zen-guide-mascot{width:42px;height:42px}
#zen-companion-trigger{background:linear-gradient(130deg,#142842,#080e1b);box-shadow:0 12px 38px #000c,inset 0 1px 0 #ffffff2b}

/* Let the already-defined participant color reach the Begin button. */
#dashboard .zen-begin-experience{
 background:var(--primary-color,#e9ba5b)!important;
 color:var(--btn-text-color,#091422)!important;
 border-color:var(--primary-color,#e9ba5b)!important;
 box-shadow:0 10px 30px color-mix(in srgb,var(--primary-color,#e9ba5b) 19%,transparent);
 transition:background-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
#dashboard .zen-begin-experience:hover{transform:translateY(-2px)}
#dashboard .zen-step-card{box-shadow:inset 0 1px 0 #ffffff0b,0 9px 26px #0003}
#dashboard #color-btns .sel-btn.active{border-color:var(--primary-color,#e9ba5b)!important}

@media(max-width:620px){
 .zen-premium-human-line{font-size:clamp(19px,6vw,28px)}
 #zen-premium-home-companion button{max-width:calc(100vw - 28px);min-height:52px;padding:5px 12px 5px 6px;font-size:12px}
 #zen-premium-home-companion img{width:39px;height:39px}
 .zen-orb-palette{padding:10px}
}
@media(prefers-reduced-motion:reduce){
 .guide-hero-orb,#zen-companion-root .zen-guide-mascot,#zen-premium-home-companion img,
 #dashboard .zen-begin-experience{transition:none!important;animation:none!important;transform:none!important}
 #dashboard .zen-begin-experience:hover{transform:none!important}
}
