/* Bee artwork never receives pointer events; only the flower button opens the lesson. */
.bee-flower-button { position:absolute;right:94px;top:-4px;display:grid;place-items:center;width:44px;height:48px;padding:0;border:0;background:transparent;cursor:pointer; }
.bee-flower-button[hidden] { display:none; }
.bee-flower-button svg { width:40px;height:48px; }
.bee-flower-button:focus-visible { outline:2px solid var(--green);outline-offset:3px;border-radius:10px; }
body[data-season="spring"] .topbar { padding-right:144px; }
.season-bee { position:fixed;left:0;top:0;width:40px;height:32px;z-index:15;pointer-events:none;will-change:transform; }
.season-bee[hidden] { display:none; }
.season-bee .bee-body { display:block;width:100%;height:100%;transform-origin:center; }
.season-bee svg { width:100%;height:100%;overflow:visible; }
.season-bee[data-flight="flying"] .bee-wings { transform-origin:36px 29px;animation:bee-wing-beat .12s ease-in-out infinite alternate; }
@keyframes bee-wing-beat { to { transform:scaleY(.55); } }
body:has(dialog[open]) .season-bee { visibility:hidden; }
dialog.bees-dialog { width:min(1020px,calc(100vw - 24px));max-width:calc(100vw - 24px);padding:28px;border:1px solid #dcc98f;background:#fffdf4;color:#354c38; }
.bees-dialog .bee-dialog-heading { display:flex;align-items:flex-start;gap:18px;justify-content:space-between;padding:0 0 18px;border-bottom:1px solid #e8dcb8; }
.bees-dialog h2 { margin:6px 0 0;font-size:32px;line-height:1.3; }
/* The heading receives initial dialog focus; interactive controls keep their focus rings. */
.bees-dialog #modal-title:focus { outline:none; }
.bee-eyebrow { color:#7c794e;font-size:15px;font-weight:800;letter-spacing:.5px; }
.bee-close { flex:0 0 36px;width:36px;min-height:36px;border:0;border-radius:11px;background:#d94a52;color:white;font:700 27px/1 Arial,sans-serif;cursor:pointer; }
.bee-menu-tools { display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:12px;margin:20px 0; }
.bee-tabs { display:flex;flex-wrap:wrap;gap:7px; }
.bee-tabs button { min-height:42px;padding:10px 14px;border:1px solid #dfd6b9;border-radius:12px;background:#fffdf4;color:#536146;font-size:16px;font-weight:800; }
.bee-tabs [aria-pressed="true"] { background:#f5d77d;border-color:#c5a75f;color:#564622; }
.bee-sound-button { font-size:16px!important;min-height:42px!important;padding:8px 11px!important; }
.bees-dialog .primary,.bees-dialog .pill-button { font-size:18px; }
.bee-menu-content h3 { font-size:26px;line-height:1.4;margin:10px 0; }
.bee-menu-content p { line-height:1.75;font-size:19px; }
.bee-welcome { display:grid;grid-template-columns:1fr 1.2fr;align-items:center;gap:30px;background:linear-gradient(130deg,#e8f2dc,#fcf2c9);border:1px solid #e1e5bc;border-radius:25px;padding:25px; }
.bee-welcome-art { height:230px;position:relative; }
.bee-big-flower { position:absolute;left:5%;bottom:0;width:120px;height:170px;transform:rotate(-9deg); }
.bee-big-flower svg { width:100%;height:100%; }
.bee-hero-friend { position:absolute;left:34%;top:15px;width:145px;transform:rotate(-9deg); }
.bee-hero-friend svg { width:100%;height:auto;filter:drop-shadow(0 10px 6px #92794315); }
.bee-sparkle { position:absolute;right:3%;top:12px;color:#c5a154;font-size:36px; }
.bee-sparkle.second { left:10%;top:10px;font-size:25px; }
.bee-fact-cards { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0; }
.bee-fact-cards article { border:1px solid #e7dbbc;border-radius:18px;padding:20px;background:#fffaf0; }
.bee-fact-cards article:nth-child(2) { background:#fff4d5; }.bee-fact-cards article:nth-child(3){background:#edf3e8}
.bee-fact-icon { font-size:28px;color:#7e9762; }
.bee-fact-cards h3 { font-size:22px; }.bee-fact-cards p { font-size:18px; }
.bee-gentle-note { padding:16px 20px;background:#edf3e7;border-radius:15px;font-size:18px!important; }
.bee-gift { position:relative;text-align:center;margin:25px 0 15px;padding:20px;border-block:1px solid #e8dcb8; }
.bee-gift>span { color:#cfab54;font-size:27px; }.bee-gift p { font-size:21px;font-weight:800; }.bee-gift small { font-size:17px;line-height:1.7; }
.bee-caption { color:#7b8069;font-size:16px!important; }
.bee-step-strip { list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:22px 0; }
.bee-step-strip li { display:flex;align-items:center;gap:9px;padding:11px;background:#f5f1e3;border:1px solid #e3dcc7;border-radius:12px;font-size:16px;min-width:0;overflow-wrap:anywhere; }
.bee-step-strip b { display:grid;place-items:center;flex:0 0 27px;height:27px;border-radius:50%;background:#fffdf4; }
.bee-step-strip [aria-current="step"] { background:#fae8a8;border-color:#d4b969; }.bee-step-strip .done { background:#e6efd9; }
.bee-game-scene { position:relative;height:275px;overflow:hidden;border:1px solid #dce5c9;border-radius:22px;background:radial-gradient(ellipse at 20% 3%,#fff2bf,transparent 35%),linear-gradient(#e6f1f0 65%,#dfeabd 65%); }
.bee-game-scene::after { content:'';position:absolute;bottom:-36px;left:-10%;width:120%;height:85px;border-radius:50%;background:#cbdca4;pointer-events:none; }
.bee-game-flier { position:absolute;top:32px;width:74px;z-index:3;transition:left 1.2s ease-in-out; }.bee-game-flier svg { width:100%; }
.bee-game-flowers { position:absolute;bottom:19px;left:3%;width:65%;display:flex;justify-content:space-around;z-index:2; }
.bee-game-flowers button { position:relative;display:block;width:25%;max-width:100px;height:136px;min-height:44px;border:0;background:transparent;padding:0;cursor:pointer; }
.bee-game-flowers button:disabled { opacity:1;cursor:default; }.bee-game-flowers svg { width:100%;height:100%; }
.bee-game-flowers .visited svg { filter:drop-shadow(0 0 7px #e7be52); }.bee-game-flowers b { position:absolute;top:10px;right:0;color:#48734d;border-radius:50%;background:#fff9db;padding:2px 5px; }
.bee-pollen { position:absolute;left:35%;top:39%;font-size:10px;letter-spacing:2px;color:#ab7e20;pointer-events:none; }
.bee-game-home { position:absolute;right:0;bottom:23px;width:31%;z-index:2; }.bee-game-home svg { width:100%;height:auto; }
.bee-game-instruction { margin:20px 0;max-width:720px; }.bee-game-instruction h3 { font-size:25px; }.bee-count { font-weight:800;font-size:18px!important; }
.bee-game-actions { display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:20px; }.bee-complete-badge { padding:12px 18px;border-radius:30px;background:#deedcf;color:#3e6a43;font-weight:800; }
.bee-hive-explore { display:grid;grid-template-columns:1.1fr 1fr;gap:28px;align-items:center; }.bee-hive-art { max-width:390px;margin:auto; }.bee-hive-art svg { width:100%;height:auto; }
.bee-honey-drop { animation:bee-honey-drip 4s ease-in-out infinite;transform-origin:260px 231px; }
@keyframes bee-honey-drip { 0%,35% { transform:translateY(0) scaleY(.5);opacity:0; } 55% { opacity:1; } 100% { transform:translateY(15px);opacity:0; } }
.bee-job-buttons { display:flex;flex-wrap:wrap;gap:8px; }.bee-job-buttons button { font-size:18px; }.bee-job-buttons [aria-pressed="true"] { background:#f7dea0;border-color:#c4a259; }
.bee-job-card { margin-top:16px;border:1px solid #e7d7a8;border-radius:22px;padding:24px;background:#fff5d8;min-height:220px; }.bee-job-card>span { font-size:35px;color:#ab8043; }
.bee-quiz { max-width:680px;margin:20px auto; }.bee-quiz-options { display:grid;gap:12px;margin:24px 0; }
.bee-quiz-choice { text-align:left;padding:16px 20px;min-height:58px;border:1px solid #d8dfc6;border-radius:15px;background:#f3f6eb;color:#354c38;font-size:20px;font-weight:700; }
.bee-quiz-choice.correct { background:#e0efcf;border:2px solid #80a665; }.bee-quiz-choice.try-again { background:#fff1d9;border-color:#d7b06d; }
.bee-quiz-feedback { min-height:28px; }.bee-quiz-done { text-align:center;padding:45px 15px; }.bee-quiz-done>span { font-size:48px; }
.bee-sources { margin-top:24px;border-top:1px solid #e8dcb8;padding-top:14px;color:#7b8069;font-size:14px; }.bee-sources summary { cursor:pointer; }.bee-sources a { display:block;color:#527351;margin:9px 0; }
.calm .bee-honey-drop { animation:none; }.calm .bee-game-flier { transition:none; }
@media(prefers-reduced-motion:reduce){.bee-honey-drop,.bee-wings{animation:none!important}.bee-game-flier{transition:none}}
@media(max-width:800px){.bee-fact-cards{grid-template-columns:1fr}.bee-fact-cards article{padding:17px}.bee-welcome{gap:15px;padding:20px}.bee-welcome-art{height:190px}.bee-hero-friend{width:118px;left:25%}.bee-big-flower{width:100px;height:140px}.bee-step-strip{grid-template-columns:1fr 1fr}.bee-hive-explore{grid-template-columns:1fr}.bee-job-card{min-height:0}}
@media(max-width:540px){body[data-season="spring"] .topbar{padding-right:0}body[data-season="spring"] .welcome{padding-right:140px}dialog.bees-dialog{padding:18px 14px}.bees-dialog h2{font-size:28px}.bee-eyebrow{font-size:14px}.bee-welcome{grid-template-columns:1fr}.bee-welcome-art{height:180px;max-width:280px;width:100%;margin:auto}.bee-hero-friend{left:40%;width:135px}.bee-welcome h3{font-size:24px}.bee-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.bee-tabs button{padding:9px 10px;font-size:16px;overflow-wrap:anywhere}.bee-menu-tools{margin:15px 0}.bee-menu-content h3{font-size:24px}.bee-game-scene{height:220px}.bee-game-flier{width:49px;top:31px}.bee-game-flowers button{height:104px}.bee-step-strip li{font-size:15px;padding:8px}.bee-job-card{padding:20px}.bee-quiz-choice{font-size:19px}}

.bees-dialog .bee-dialog-heading { position:sticky;top:-28px;z-index:5;background:#fffdf4; }
.bee-dialog-heading>div { min-width:0; }
.bee-game-flier.moving .bee-wings { transform-origin:36px 29px;animation:bee-wing-beat .12s ease-in-out infinite alternate; }
@media(max-width:540px) { .bees-dialog .bee-dialog-heading { top:-18px; } }
