.bee-shell { max-width: 1020px; }
.bee-main { margin-top: 32px; }
.bee-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.bee-heading h1 { font-size: clamp(1.85rem, 5vw, 3rem); margin: 10px 0 0; }
.bee-tag { font-weight: 800; color: #23747c; font-size: .9rem; }
.bee-title-icon { font-size: 3.5rem; }
.bee-card { padding: clamp(20px, 4vw, 34px); border: 1px solid #b5d0d5; border-radius: 22px; background: #fff; box-shadow: 0 12px 34px #102c490a; }
.bee-card p { line-height: 1.5; }
.bee-card h2 { font-size: 1.45rem; }
.bee-card[hidden], .bee-shell [hidden] { display: none !important; }
.bee-help { color: #496b78; margin: 6px 0 20px; }
.bee-small { font-size: .9rem; color: #456575; }
.bee-pickers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0; }
.bee-shell label { display: grid; gap: 8px; font-weight: 750; }
.bee-shell select, .bee-shell input { font: inherit; color: #102c49; background: white; border: 2px solid #9cc1c8; border-radius: 12px; min-height: 50px; padding: 10px 12px; min-width: 0; width: 100%; }
.bee-shell button { font: inherit; font-weight: 800; border-radius: 12px; padding: 12px 18px; min-height: 48px; cursor: pointer; }
.bee-primary { color: #fff; background: #102c49; border: 2px solid #102c49; }
.bee-primary:hover:not(:disabled) { background: #245371; }
.bee-secondary { color: #102c49; background: #fff4c4; border: 2px solid #d0a72e; }
.bee-text-button { color: #23556c; background: transparent; border: 0; text-decoration: underline; text-underline-offset: 4px; }
.bee-shell button:disabled { opacity: .55; cursor: default; }
.bee-shell :is(button, input, select, summary):focus-visible { outline: 3px solid #0069a6; outline-offset: 3px; }
.bee-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.bee-hud { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.bee-hud span { display: flex; align-items: baseline; gap: 8px; color: #456575; }
.bee-hud strong { font-size: 1.35rem; color: #102c49; }
.bee-hud button { margin-left: auto; padding: 8px; }
.bee-journey { position: relative; height: 86px; margin: 8px 12px 0; }
.bee-track { position: absolute; left: 0; right: 16px; top: 48px; border-top: 6px dotted #d0a72e; }
.bee-avatar { position: absolute; left: 0; top: 17px; transform: translateX(-15%); transition: left .65s ease; font-size: 2.5rem; line-height: 1; }
.bee-avatar span { display: block; animation: bee-hover 2s ease-in-out infinite; }
.bee-goal { position: absolute; top: 28px; right: -12px; font-size: 2rem; }
.bee-pop { position: absolute; right: 28px; top: 10px; font-size: 1.2rem; font-weight: 900; color: #176653; }
.bee-pop.celebrate { animation: bee-pop 1.2s ease both; }
.bee-round-progress { display: flex; align-items: center; gap: 20px; font-weight: 750; font-size: .94rem; }
.bee-round-progress progress { flex: 1; min-width: 0; width: 100%; height: 10px; accent-color: #218e9a; }
.bee-prompt { margin: 26px 0 20px; padding: 22px; border-radius: 16px; background: #fff6d7; border-left: 5px solid #d0a72e; }
.bee-prompt #bee-instruction { margin: 7px 0 0; font-weight: 700; }
.bee-prompt .bee-help { margin: 3px 0 16px; }
.bee-prompt h2 { margin: 0; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.4; overflow-wrap: anywhere; }
.bee-answer-row { display: flex; gap: 12px; margin-top: 8px; }
.bee-answer-row input { flex: 1; font-size: 1.2rem; }
.bee-hint-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.bee-hint-row .bee-text-button { padding-left: 0; }
.bee-hint-row p { margin: 0; color: #456575; }
.bee-feedback:not(:empty) { padding: 16px 18px; border-radius: 14px; line-height: 1.5; }
.bee-feedback[data-kind=wrong] { background: #fff1e9; color: #763b20; }
.bee-feedback[data-kind=correct] { background: #eaf8e9; color: #174e39; }
.bee-feedback strong { display: block; margin-bottom: 4px; }
.bee-feedback p { margin: 5px 0 0; }
.bee-feedback .bee-example { font-size: 1.2rem; }
.bee-finish { text-align: center; }
.bee-medal { display: block; font-size: 4rem; margin-bottom: 12px; }
.bee-finish .bee-actions { justify-content: center; }
.bee-word-summary { margin-top: 26px; text-align: left; border-top: 1px solid #c8dbe0; padding-top: 20px; }
.bee-word-summary summary { cursor: pointer; font-weight: 750; min-height: 44px; }
.bee-word-summary ul { padding: 0; list-style: none; }
.bee-word-summary li { border-top: 1px solid #dce9ec; padding: 12px 0; line-height: 1.5; }
.bee-word-summary li span { display: block; color: #456575; }
.bee-session-note { margin-top: 16px; color: #456575; font-size: .9rem; }
.games-category { margin-top: 32px; padding-top: 26px; border-top: 1px solid #c8dbe0; }
.games-category > h2 { margin: 0 0 18px; font-size: 1.75rem; }
.games-category > h2 .menu-support { font-size: 1rem; }
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.theme-choice.bee-overview-link { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: center; gap: 24px; margin: 0; padding: 24px; border-radius: 20px; border-color: #9cc1c8; background: linear-gradient(120deg, #f2f8fa, #dff2f3); box-shadow: 0 10px 25px #102c4908; transition: transform .18s, box-shadow .18s; }
.theme-choice.bee-overview-link:hover { transform: translateY(-3px); border-color: #218e9a; box-shadow: 0 14px 28px #102c4914; }
.bee-game-art { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.bee-game-copy { min-width: 0; }
.bee-overview-link strong { display: block; font-size: clamp(1.3rem, 3vw, 1.65rem); line-height: 1.3; }
.bee-overview-link .bee-link-description { display: block; margin-top: 8px; font-weight: 400; color: #456575; }
.bee-overview-link .bee-link-end { display: inline-block; margin-top: 16px; padding: 10px 16px; border-radius: 11px; background: #102c49; color: #fff; font-weight: 800; }
.bee-link-end .menu-support { color: #d9edf0; }
.bee-menu-link { display: block; padding: 15px 18px; border-bottom: 1px solid #c8dbe0; color: #102c49; font-weight: 750; }
@keyframes bee-hover { 50% { transform: translateY(-5px) rotate(-6deg); } }
@keyframes bee-pop { 0% { opacity: 0; transform: translateY(15px) scale(.7); } 20%,75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-12px); } }
@media (max-width: 540px) { .bee-pickers { grid-template-columns: 1fr; gap: 14px; } .bee-answer-row { flex-wrap: wrap; } .bee-answer-row input { flex-basis: 100%; } .bee-answer-row button { flex: 1; } .bee-heading { align-items: flex-start; } .bee-title-icon { font-size: 2.5rem; } .bee-hud { gap: 8px 16px; } .bee-hud button { margin-left: 0; } .bee-main { margin-top: 25px; } .bee-prompt { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .bee-avatar { transition: none; } .bee-avatar span, .bee-pop.celebrate { animation: none; } }
@media (max-width: 540px) { .theme-choice.bee-overview-link { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px; } .bee-game-art { width: 120px; justify-self: center; } }
@media (prefers-reduced-motion: reduce) { .theme-choice.bee-overview-link { transition: none; } .theme-choice.bee-overview-link:hover { transform: none; } }

.bee-help[dir], #bee-word[dir], .bee-word-summary span[dir] { text-align: start; }

.bee-button-support { display: block; margin-top: 4px; font-size: .875rem; line-height: 1.4; font-weight: 500; text-align: start; }
.bee-hint-row p { flex-basis: 100%; overflow-wrap: anywhere; }
