/* Five - kicsi, ki-be kapcsolható kabalafigura. Önálló, névtérhez kötött CSS. */
:root{--five-ink:#322c44;--five-muted:#79718e;--five-accent:#9177c4;--five-lav:#eee6ff;--five-mint:#b9f1d6}
.five-mascot-root,.five-mascot-root *{box-sizing:border-box}
.five-mascot-root[hidden],.five-mascot-panel[hidden]{display:none!important}
.five-mascot-root{position:fixed;z-index:2147482000;right:max(14px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--five-ink);line-height:1.45}
.five-mascot-launch{position:relative;display:grid;place-items:center;width:92px;height:92px;border:0;border-radius:32px;background:radial-gradient(circle at 50% 42%,#f3ecff 0%,#f6f3ff 66%,#ede5ff 100%);box-shadow:0 6px 26px rgba(116,85,172,.19),inset 0 1px 0 rgba(255,255,255,.95);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease;padding:3px;isolation:isolate}
.five-mascot-launch:after{content:'';position:absolute;right:7px;top:7px;width:12px;height:12px;background:#9eecc9;border:3px solid white;border-radius:50%}
.five-mascot-launch:hover{transform:translateY(-3px);box-shadow:0 9px 27px rgba(116,85,172,.26)}
.five-mascot-launch:focus-visible,.five-mascot-root button:focus-visible{outline:3px solid #7b55d7;outline-offset:3px}
.five-mascot-launch img{width:84px;height:84px;object-fit:contain;display:block;pointer-events:none}
.five-mascot-panel{position:absolute;right:0;bottom:106px;width:min(336px,calc(100vw - 24px));background:#fff;border:1px solid #e8e1f6;border-radius:24px;box-shadow:0 18px 65px rgba(66,40,110,.20);overflow:hidden;transform-origin:bottom right;animation:five-pop .18s ease-out}
@keyframes five-pop{from{opacity:0;transform:translateY(8px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}
.five-mascot-head{display:flex;align-items:center;gap:9px;padding:15px 16px 12px;border-bottom:1px solid #f2edf9}
.five-mascot-dot{width:32px;height:32px;display:grid;place-items:center;border-radius:12px;background:#efe6ff;color:#7e56bf;font-weight:900;font-size:20px}
.five-mascot-title{display:flex;flex-direction:column;flex:1;min-width:0;line-height:1.2}
.five-mascot-title strong{font-size:15px;font-weight:750}
.five-mascot-title small{font-size:11px;color:#867e98;margin-top:3px}
.five-mascot-icon{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:50%;background:#f7f3ff;color:#6c6187;cursor:pointer;font-size:22px}
.five-mascot-center{text-align:center;padding:8px 18px 12px;background:radial-gradient(ellipse at 50% 50%,#faf7ff,white 73%)}
.five-mascot-stage{width:123px;height:123px;display:grid;place-items:center;margin:0 auto}
.five-mascot-stage img{display:block;width:100%;height:100%;object-fit:contain}
.five-mascot-message{min-height:36px;margin:3px auto 1px;max-width:280px;font-weight:650;font-size:13px}
.five-mascot-sub{color:var(--five-muted);font-size:11px;margin:0}
.five-mascot-section{padding:12px 16px 15px;border-top:1px solid #f2edf9}
.five-mascot-row{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:8px 0;font-size:12px}
.five-mascot-row span{flex:1;text-align:left}
.five-mascot-row small{display:block;color:#827990;font-size:10px;margin-top:2px}
.five-mascot-switch{appearance:none;width:37px;height:22px;flex:none;border:0;border-radius:99px;background:#dbd6e6;position:relative;cursor:pointer;transition:background .2s}
.five-mascot-switch:after{content:'';position:absolute;left:3px;top:3px;width:16px;height:16px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .2s}
.five-mascot-switch:checked{background:#846bc2}
.five-mascot-switch:checked:after{transform:translateX(15px)}
.five-mascot-exit{width:100%;background:#f7f4fc;color:#685c82;padding:10px;border:0;border-radius:12px;font-size:12px;font-weight:650;cursor:pointer;margin-top:7px}
.five-mascot-exit:hover{background:#eee7fa}
@media(max-width:600px){.five-mascot-root{bottom:max(12px,env(safe-area-inset-bottom));right:max(12px,env(safe-area-inset-right))}.five-mascot-launch{width:69px;height:69px;border-radius:24px}.five-mascot-launch img{width:64px;height:64px}.five-mascot-panel{bottom:82px}}
@media(prefers-reduced-motion:reduce){.five-mascot-panel,.five-mascot-launch{animation:none!important;transition:none!important}}

nav a[aria-current="page"]{--nav-control-fill:#30283a}
.five-mascot-root{z-index:5;bottom:calc(79px + env(safe-area-inset-bottom))}
.five-mascot-launch{width:56px;height:56px;border-radius:19px}
.five-mascot-launch img{width:50px;height:50px}
.five-mascot-launch:after{display:none}
.five-mascot-panel{bottom:66px;max-height:calc(100dvh - 159px);overflow-y:auto;overscroll-behavior:contain}
.five-mascot-icon{padding:0}
.five-mascot-stage{width:65px;height:65px}
.five-mascot-center{padding:4px 12px}
.five-mascot-message{min-height:0}
.five-chat-log{max-height:min(24dvh,190px);overflow:auto;overscroll-behavior:contain}
.five-chat-message{padding:8px 10px;background:#f4edff;border-radius:12px;margin:0 0 8px;white-space:pre-wrap;overflow-wrap:anywhere}
.five-chat-message.user{background:#e7f5ed;margin-left:20px}
.five-chat-form textarea{width:100%;padding:8px;border:1px solid #ddd2ea;border-radius:10px;font:inherit;resize:vertical}
.five-chat-form button{margin:6px 0}
.five-chat-form small{display:block;color:#625970;font-size:12px}
.five-settings-link{display:inline-block;margin-top:8px;color:#65479a;font-weight:650}
.five-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;margin:0}
.five-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px}
.five-setting input{width:20px;height:20px}
.five-setting select{font:inherit}
@media(max-width:360px){nav{gap:3px}nav a{width:49px}}
