/* CabBee WORLD 8.0 — opt-in, accessible, light UI */
.cbw{position:fixed;right:clamp(12px,2vw,24px);bottom:calc(88px + env(safe-area-inset-bottom,0px));z-index:800;display:flex;align-items:end;gap:8px;font-family:inherit;pointer-events:none}
.cbw>*{pointer-events:auto}.cbw-bee{border:0;background:radial-gradient(circle at 50% 45%,#fff9d6,#ffd63f 70%,#f7b900);border-radius:50%;width:68px;height:68px;padding:6px;box-shadow:0 10px 30px #b18a2455,0 0 0 4px #fff9;cursor:pointer;position:relative;transition:transform .2s ease}.cbw-bee:hover{transform:translateY(-4px)}.cbw-bee:focus-visible,.cbw-action:focus-visible,.cbw-close:focus-visible{outline:3px solid #191919;outline-offset:3px}.cbw-bee img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 3px #765a2440)}.cbw.is-moving .cbw-bee img{animation:cbw-hover 2.6s ease-in-out infinite}.cbw-bubble{max-width:min(290px,calc(100vw - 105px));background:#fff;color:#202020;border:1px solid #eed88a;border-radius:19px 19px 5px 19px;box-shadow:0 12px 38px #19191922;padding:13px 15px;position:relative}.cbw-bubble[hidden],.cbw-panel[hidden]{display:none!important}.cbw-message{font-size:13px;line-height:1.4;font-weight:650;margin:0 0 9px}.cbw-actions{display:flex;flex-wrap:wrap;gap:6px}.cbw-action{background:#ffe45a;color:#171717;border:1px solid #e6c342;border-radius:999px;font-size:12px;font-weight:750;padding:8px 10px;text-decoration:none;cursor:pointer}.cbw-close{position:absolute;top:-11px;right:0;border:1px solid #ddd;border-radius:50%;background:#fff;width:25px;height:25px;cursor:pointer}.cbw-panel{position:absolute;bottom:77px;right:0;width:min(310px,calc(100vw - 24px));background:#fff;border:1px solid #e9d68c;border-radius:22px;padding:17px;box-shadow:0 20px 55px #2223}.cbw-panel h2{font-size:17px;margin:0 0 5px;color:#161616}.cbw-panel p{font-size:13px;margin:0 0 12px;color:#444}.cbw-panel a{display:block;margin:6px 0;padding:11px 12px;border-radius:12px;background:#fff6ce;color:#171717;font-weight:700;text-decoration:none;font-size:13px}.cbw-pause{border:0;background:transparent;text-decoration:underline;color:#444;font-size:12px;padding:8px 0;cursor:pointer}.cbw.is-paused .cbw-bee{box-shadow:0 4px 14px #0002}.cbw-history-active .cbw-bee{box-shadow:0 0 0 5px #fff,0 0 0 9px #ffce32,0 10px 30px #b18a2455}@keyframes cbw-hover{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-7px) rotate(4deg)}}@media(min-width:800px){.cbw{bottom:24px}.cbw-bee{width:82px;height:82px}.cbw-bubble{max-width:330px}.cbw-message{font-size:14px}}@media(max-width:480px){.cbw{right:10px;bottom:calc(78px + env(safe-area-inset-bottom,0px))}.cbw-bee{width:56px;height:56px}.cbw-bubble{padding:10px 12px;max-width:220px}.cbw-message{font-size:12px}}@media(prefers-reduced-motion:reduce){.cbw *{animation:none!important;transition:none!important}}/* WORLD 9: echte szenische Flüge und Interaktion */
.cbw{overflow:visible}.cbw-bee{will-change:transform;transform-origin:center;touch-action:manipulation}.cbw-flying .cbw-bee{filter:drop-shadow(0 10px 14px #d1a40077)}.cbw-flying .cbw-bee img{animation:cbw-wing .18s ease-in-out infinite alternate}.cbw-highlight{animation:cbw-glow 1.5s ease-out 1!important}.cbw-history{--cbw-gold:#f4c523}.cbw-revealed{animation:cbw-reveal .7s ease-out both}@keyframes cbw-wing{from{transform:rotate(-7deg) scale(1.03)}to{transform:rotate(7deg) scale(.98)}}@keyframes cbw-glow{0%{filter:drop-shadow(0 0 0 transparent)}45%{filter:drop-shadow(0 0 15px #f4c523)}100%{filter:drop-shadow(0 0 0 transparent)}}@keyframes cbw-reveal{from{opacity:.55;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.cbw-highlight,.cbw-revealed,.cbw-flying .cbw-bee img{animation:none!important}}

/* WORLD 10 — lebendige Chronik: CabBee hüpft an der Jahreslinie entlang */
.tf-history-track{isolation:isolate;overflow:visible}
.cbw-time-bee{position:absolute;left:0;top:0;width:clamp(43px,5vw,62px);height:clamp(43px,5vw,62px);object-fit:contain;z-index:5;pointer-events:none;opacity:0;transform:translate(calc(var(--time-x,0px) - 50%),calc(var(--time-y,0px) - 50%));transition:transform .75s cubic-bezier(.22,.8,.22,1),opacity .25s;filter:drop-shadow(0 7px 10px #d6a40066)}
.cbw-time-bee.cbw-time-visible{opacity:1}
.cbw-time-bee.cbw-time-hop{animation:cbw-time-bounce .75s ease-out}
.tf-history-item.cbw-time-active .tf-history-year{background:#ffdf43;box-shadow:0 0 0 5px #ffcf1d44,0 8px 26px #bd930055}
.tf-history-item.cbw-time-active .tf-history-card{border-color:#e8c342;box-shadow:0 10px 30px #b88c0022}
.cbw-on-timeline .cbw-bee{opacity:.18;pointer-events:none}
@keyframes cbw-time-bounce{0%,100%{filter:drop-shadow(0 7px 10px #d6a40066)}45%{filter:drop-shadow(0 20px 13px #d6a400aa)}}
@media(max-width:760px){.cbw-time-bee{width:40px;height:40px}.tf-history-track{padding-top:4px}}
@media(prefers-reduced-motion:reduce){.cbw-time-bee{transition:none!important;animation:none!important}}

/* CabBee WORLD 10.2: wiederholte Chronik-Zwischenzeilen sicher ausblenden */
.tf-history-item .tf-history-kicker { display:none !important; }
