/* Benium's dock: bottom-right on every page of Cece's space. Self-contained colors so it reads the same on her home and study page. */
.bn-dock{position:fixed;right:18px;bottom:18px;z-index:60;display:flex;flex-direction:column;align-items:flex-end;gap:10px;font:14px/1.45 'Segoe UI Variable Text','Segoe UI',system-ui,-apple-system,sans-serif;color:#1d2f52}
.bn-face{all:unset;box-sizing:border-box;cursor:pointer;position:relative;width:72px;height:72px;border-radius:50%;background:#ffffffee;border:2px solid #c9dcf3;box-shadow:0 10px 26px -10px #1d3f7a88;display:grid;place-items:center;transition:transform .15s}
.bn-face svg{width:58px;height:58px;animation:bn-bob 3.2s ease-in-out infinite}
.bn-face:hover{transform:translateY(-2px)}
.bn-face:focus-visible{outline:3px solid #ff8fb8;outline-offset:3px}
.bn-mini{position:absolute;bottom:-8px;left:50%;transform:translateX(-50%);font:700 11px/1 Consolas,ui-monospace,monospace;background:#1d3f7a;color:#fff;padding:4px 7px;border-radius:999px;white-space:nowrap}
.bn-mini:empty{display:none}
.bn-dock.busy .bn-face{border-color:#ff8fb8}
.bn-bubble{margin:0;max-width:270px;padding:11px 14px;background:#fff;border:1.5px solid #c9dcf3;border-radius:16px 16px 4px 16px;box-shadow:0 10px 24px -14px #1d3f7a99;font-weight:500}
.bn-bubble.pop{animation:bn-pop .3s ease-out}
.bn-panel{width:min(330px,calc(100vw - 36px));max-height:calc(100vh - 120px);overflow:auto;background:#fffffff5;border:1.5px solid #c9dcf3;border-radius:20px;box-shadow:0 24px 50px -20px #1d3f7aaa;padding:14px}
.bn-panel header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10px}
.bn-panel header b{display:block;font-size:17px}
.bn-panel header small{color:#6a7f9e;font-size:12px}
.bn-x{all:unset;cursor:pointer;font-size:22px;line-height:1;padding:2px 8px;border-radius:8px;color:#6a7f9e}
.bn-x:hover,.bn-x:focus-visible{background:#eef4fc;color:#1d2f52}
.bn-scene svg{display:block;width:100%;height:auto;border-radius:14px}
.bn-body{animation:bn-bob 3.2s ease-in-out infinite}
.bn-tabs{display:flex;gap:6px;margin:12px 0 10px}
.bn-tabs button{all:unset;cursor:pointer;flex:1;text-align:center;padding:7px 8px;border-radius:10px;font-size:13px;font-weight:600;color:#56708f;background:#f1f6fd}
.bn-tabs button[aria-selected=true]{background:#1d3f7a;color:#fff}
.bn-tabs button:focus-visible{outline:2px solid #ff8fb8;outline-offset:2px}
.bn-mode{margin:0;text-align:center;color:#56708f;font-size:13px}
.bn-time{text-align:center;font:600 46px/1.1 'Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:-.02em;margin:2px 0}
.bn-block{margin:0 0 8px;text-align:center;font-size:13px;color:#a2456a;min-height:1em}
.bn-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.bn-actions button,.bn-small button,.bn-style .bn-go{all:unset;box-sizing:border-box;cursor:pointer;padding:9px 14px;border-radius:999px;font-weight:600;font-size:13.5px;border:1.5px solid #c9dcf3;color:#1d3f7a;background:#fff;text-align:center}
.bn-actions .bn-go,.bn-style .bn-go{background:#ff8fb8;border-color:#ff8fb8;color:#3b0f22}
.bn-actions button:hover,.bn-small button:hover{border-color:#1d3f7a}
.bn-actions button:focus-visible,.bn-small button:focus-visible,.bn-style .bn-go:focus-visible{outline:3px solid #1d3f7a;outline-offset:2px}
.bn-stats{margin:12px 0 4px;text-align:center;font-size:12.5px;color:#3d5576}
.bn-how{margin:0 0 10px;text-align:center;font-size:11.5px;color:#6a7f9e}
.bn-small{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}
.bn-small button{padding:5px 10px;font-size:11.5px;font-weight:500}
.bn-style{display:grid;gap:10px}
.bn-namefield{display:grid;gap:4px;font-size:12.5px;font-weight:600;color:#3d5576}
.bn-namefield input{font:inherit;padding:8px 10px;border:1.5px solid #c9dcf3;border-radius:10px;background:#fff;color:#1d2f52}
.bn-style fieldset{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px}
.bn-style legend{font-size:12.5px;font-weight:600;color:#3d5576;margin-bottom:4px;width:100%}
.bn-chip{cursor:pointer}
.bn-chip input{position:absolute;opacity:0;pointer-events:none}
.bn-chip span{display:inline-block;padding:5px 10px;border-radius:999px;border:1.5px solid #c9dcf3;font-size:12.5px;text-transform:capitalize;background:#fff}
.bn-chip input:checked+span{background:#1d3f7a;border-color:#1d3f7a;color:#fff}
.bn-chip input:focus-visible+span{outline:2px solid #ff8fb8;outline-offset:2px}
@keyframes bn-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes bn-pop{0%{transform:scale(.9);opacity:.3}100%{transform:scale(1);opacity:1}}
@media(prefers-reduced-motion:reduce){.bn-face svg,.bn-body,.bn-bubble.pop{animation:none}}
@media(max-width:600px){.bn-dock{right:10px;bottom:10px}.bn-face{width:60px;height:60px}.bn-face svg{width:48px;height:48px}}
.bn-chip.locked{cursor:not-allowed;opacity:.55}
.bn-chip em{display:none;font-style:normal;font-size:11px}
.bn-chip.locked em{display:inline}
.bn-shoplink{margin:0;font-size:12.5px;color:#3d5576}
.bn-shoplink a{color:#1d3f7a;font-weight:700}
/* On iPhone, 100vh is the height with Safari's toolbar hidden, so the panel's bottom could sit under the toolbar.
   dvh is the height actually visible right now; on desktop the two are equal. */
@supports (height:100dvh){.bn-panel{max-height:calc(100dvh - 120px)}}
@supports (-webkit-touch-callout:none){.bn-dock :is(input,textarea,select){font-size:max(16px,1em)!important}}
