#kani-root{--kani-gold:#e5c690;--kani-red:#a82d43;--kani-ink:#230e18;font-family:Inter,Arial,sans-serif;color:#fff6ec;position:fixed;right:26px;bottom:24px;z-index:9000;isolation:isolate}#kani-root *{box-sizing:border-box}#kani-root button,#kani-root input,#kani-root select{font-family:inherit}#kani-root button{cursor:pointer}#kani-root [hidden]{display:none!important}#kani-root button:focus-visible,#kani-root a:focus-visible,#kani-root input:focus-visible,#kani-root select:focus-visible{outline:2px solid var(--kani-gold);outline-offset:4px}#kani-root .kani-launch{display:flex;align-items:center;gap:13px;border:1px solid #e5c69066;background:linear-gradient(130deg,#391522f5,#170d15f5);border-radius:22px;padding:9px 20px 9px 8px;color:#fff5e8;box-shadow:0 15px 45px #0005,0 0 36px #ac2d4322;text-align:left;transition:transform .25s}#kani-root .kani-launch:hover{transform:translateY(-5px)}.kani-mini{width:70px;height:70px;border-radius:18px;background:radial-gradient(ellipse,#bd536333,#0000);position:relative;overflow:hidden}.kani-launch b{display:block;letter-spacing:.16em;font-size:15px}.kani-launch small{display:block;font-size:10px;color:#e3cda9;margin-top:5px}.kani-launch .kani-status-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#badeb2;margin-right:5px}.kani-panel{width:430px;max-height:min(850px,calc(100dvh - 40px));height:min(850px,calc(100dvh - 40px));display:flex;flex-direction:column;overflow:hidden;border:1px solid #d2ac7955;border-radius:24px;background:linear-gradient(155deg,#2d1420,#160e16 65%);box-shadow:0 35px 130px #000a,0 0 70px #9d293527;animation:kani-arrive .5s cubic-bezier(.16,1,.3,1)}@keyframes kani-arrive{from{opacity:0;transform:translateY(30px) scale(.96)}to{opacity:1;transform:none}}.kani-top{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;border-bottom:1px solid #ffffff0e;gap:12px}.kani-top strong{font-size:12px;letter-spacing:.16em}.kani-top small{display:block;font-size:9px;letter-spacing:.06em;color:#c7a995;margin-top:5px}.kani-top-actions{display:flex;align-items:center;gap:8px}.kani-top select{font-size:11px;color:#f1d9b2;background:#27131d;border:1px solid #ffffff22;padding:8px;border-radius:8px}.kani-icon{width:32px;height:32px;display:inline-grid;place-items:center;border:1px solid #ffffff1c;background:#ffffff06;border-radius:9px;color:#e7d3b6;font-size:17px}.kani-icon:hover{background:#ffffff12}.kani-stage{position:relative;height:190px;min-height:150px;flex-shrink:0;background:radial-gradient(ellipse at 50% 95%,#b84b3e66,transparent 65%),linear-gradient(110deg,#37131c,#1c1526 60%,#15121c);overflow:hidden;border-bottom:1px solid #e5c69022}.kani-stage:before,.kani-stage:after{content:'';position:absolute;pointer-events:none;width:220px;height:330px;top:-170px;filter:blur(15px);opacity:.16;background:linear-gradient(180deg,#ffe0ab,transparent);transform:rotate(-35deg);left:-50px}.kani-stage:after{left:auto;right:-90px;transform:rotate(35deg);background:linear-gradient(#b9c7ff,transparent)}.kani-stage-host{position:absolute;inset:0}.kani-stage canvas,.kani-mini canvas{display:block;width:100%;height:100%;touch-action:pan-y}.kani-stage-label{position:absolute;left:18px;bottom:14px;font-size:9px;letter-spacing:.18em;line-height:1.7;color:#e2c69b;pointer-events:none}.kani-mood{position:absolute;right:16px;bottom:14px;background:#120c15aa;border:1px solid #e5c69033;padding:6px 10px;font-size:9px;border-radius:20px;color:#f3d8b2;pointer-events:none}.kani-chat{overflow:auto;overscroll-behavior:contain;flex:1;min-height:90px;padding:20px 18px 10px;scrollbar-width:thin;scrollbar-color:#79515b transparent}.kani-intro h2{font-family:Georgia,serif;font-size:28px;line-height:1.15;font-weight:400;margin:0 0 12px}.kani-intro h2 em{color:var(--kani-gold)}.kani-intro p{font-size:12px;color:#ddcfc9;line-height:1.8;margin:0 0 14px}.kani-chips{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}.kani-chips button{font-size:10px;background:#ffffff06;border:1px solid #c5a88044;padding:9px 11px;border-radius:20px;color:#f3dfbf}.kani-chips button:hover{background:#9e2b3d44}.kani-message{font-size:12px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;padding:13px 15px;border:1px solid #ffffff0d;border-radius:15px;margin:12px 0;background:#ffffff04}.kani-message[data-role="user"]{margin-left:35px;background:#9f2e4044;border-color:#d9968933}.kani-message[data-role="assistant"]{margin-right:12px}.kani-message a{color:#eacb8f;text-decoration:underline;text-underline-offset:3px}.kani-message-label{display:block;color:#cda775;font-size:8px;letter-spacing:.12em;margin-bottom:6px}.kani-message-error{border-color:#e38b8944;background:#8b283422}.kani-compose{padding:12px 16px 14px;flex-shrink:0;background:#160e17;border-top:1px solid #e5c69022}.kani-tools{display:flex;gap:7px;align-items:center;margin-bottom:10px}.kani-tools .kani-icon{font-size:14px;width:29px;height:29px}.kani-book{color:#e7c48b;text-decoration:none;font-size:10px;margin-left:auto}.kani-input-row{display:flex;gap:8px}.kani-input-row input{min-width:0;flex:1;background:#ffffff05;border:1px solid #c5a88055;color:#fff5eb;padding:13px;border-radius:12px;font-size:12px}.kani-input-row input::placeholder{color:#a99494}.kani-send{border:1px solid #b95461;border-radius:12px;background:#9f2c41;color:white;min-width:44px;font-size:19px}.kani-send:disabled{opacity:.5;cursor:wait}.kani-notice{font-size:9px;line-height:1.6;color:#bda9a6;margin:9px 1px 0}.kani-notice a{color:#d1b78c}.kani-live{font-size:10px;line-height:1.5;color:#e7c48b;min-height:15px;margin-bottom:7px}.kani-fallback{display:grid;place-items:center;position:absolute;inset:0;font-size:72px}.kani-mini .kani-fallback{font-size:48px}.kani-speech-active{background:#9c2a43!important;border-color:#efba91!important}html.language-opening #kani-root{visibility:hidden;pointer-events:none}@media(max-width:600px){#kani-root{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}.kani-panel{width:calc(100vw - 40px);height:min(790px,calc(100dvh - 24px - env(safe-area-inset-bottom)));max-height:calc(100dvh - 24px - env(safe-area-inset-bottom))}.kani-stage{height:160px;min-height:120px}.kani-top{padding:13px 15px}.kani-chat{padding:16px 14px 8px}.kani-launch{padding-right:15px!important}.kani-mini{width:56px;height:56px}.kani-launch b{font-size:13px}.kani-launch small{font-size:9px}}@media(prefers-reduced-motion:reduce){.kani-panel{animation:none}.kani-launch{transition:none!important}}

/* A larger portrait brings KANI's eyes, brows and mouth into focus. */
.kani-panel{width:470px}.kani-stage{height:255px;min-height:205px}.kani-mini{width:88px;height:92px}.kani-stage-label{max-width:110px;font-size:8px;bottom:12px}.kani-mood{right:12px;font-size:8px}.kani-message{font-size:13px;line-height:1.8}.kani-message-label{margin-bottom:8px}.kani-retry{display:block;background:#6f273c;color:#ffe9bd;border:1px solid #e5c69055;border-radius:8px;padding:9px 13px;font-size:11px;margin:8px 0 12px}.kani-internal-links{display:flex;gap:14px;margin-top:10px;flex-wrap:wrap}.kani-internal-links a{color:#e5c690;font-size:11px;text-underline-offset:3px}.kani-message p{margin:0 0 10px}.kani-message p:last-child{margin-bottom:0}.kani-message strong{font-weight:600;color:#ffebc8}@media(max-width:600px){.kani-panel{width:calc(100vw - 40px)}.kani-stage{height:205px;min-height:160px}.kani-mini{width:70px;height:74px}.kani-stage-label{font-size:7px;max-width:90px}.kani-chat{min-height:120px}}@media(max-height:700px){.kani-stage{height:175px;min-height:140px}.kani-intro h2{font-size:24px}.kani-chips{margin:10px 0}}

.kani-chat{min-height:0!important;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}.kani-compose{position:relative;z-index:1}.kani-chat:focus-visible{outline:1px solid #e5c69066;outline-offset:-3px}.kani-panel{touch-action:pan-y}
