/*
 * Container parity derived from Twilight Tomes:
 * - wp-content/plugins/lwl-lexicon-grove/assets/css/twilight-tomes.css
 * - wp-content/plugins/lwl-lexicon-grove/assets/js/twilight-tomes.js
 */
.lwl-runic-honeycomb,
.lwl-spelling-bee {
  --lwl-bg: linear-gradient(180deg, #f9f5ec 0%, #f3ebdc 100%);
  --lwl-surface: linear-gradient(
    150deg,
    rgba(255, 253, 248, 0.94),
    rgba(248, 240, 226, 0.9) 44%,
    rgba(242, 231, 209, 0.94)
  );
  --lwl-border: rgba(188, 146, 62, 0.35);
  --lwl-text: #2f271d;
  --lwl-muted: #6e6150;
  --lwl-accent: #c99b2f;
  --lwl-accent-2: #e4c170;
  --lwl-glow: rgba(214, 171, 80, 0.34);

  --lwl-success: #2f7f51;
  --lwl-warn: #9f6123;
  --lwl-error: #b35a4e;

  color: var(--lwl-text);
  font-family: "Avenir Next", "Segoe UI", Tahoma, sans-serif;
  margin: 1rem 0;
  position: relative;
}

.lwl-bee-shell {
  width: min(1220px, calc(100% - 24px));
  margin-inline: auto;
  min-height: 0;
  height: 100%;
}

.lwl-bee-panel {
  position: relative;
  overflow: hidden;
  min-height: clamp(540px, 74vh, 860px);
  max-height: min(90vh, 900px);
  height: min(90vh, 900px);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid var(--lwl-border);
  background: linear-gradient(180deg, var(--bg-1, #f9f5ec), var(--bg-2, #f3ebdc));
  box-shadow: 0 24px 54px rgba(54, 38, 12, 0.21), 0 0 28px rgba(233, 200, 123, 0.15);
  animation: lwl_bee_panel_in 260ms cubic-bezier(0.23, 0.83, 0.2, 1);
}

.lwl-bee-panel.lwl-runic-stage {
  --bg-1: #f9f5ec;
  --bg-2: #f3ebdc;
  --bg-3: rgba(226, 185, 104, 0.28);
  --bg-4: rgba(159, 198, 250, 0.2);
  --bg-vignette: rgba(77, 54, 16, 0.16);
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.lwl-bee-panel.lwl-runic-stage.lwl-bg--dawn {
  --bg-1: #f9f5ec;
  --bg-2: #f3ebdc;
  --bg-3: rgba(226, 185, 104, 0.28);
  --bg-4: rgba(159, 198, 250, 0.2);
  --bg-vignette: rgba(77, 54, 16, 0.16);
}

.lwl-bee-panel.lwl-runic-stage.lwl-bg--night {
  --bg-1: #161d31;
  --bg-2: #101528;
  --bg-3: rgba(129, 104, 228, 0.26);
  --bg-4: rgba(95, 179, 228, 0.2);
  --bg-vignette: rgba(8, 10, 16, 0.5);
}

.lwl-bee-panel.lwl-runic-stage.lwl-bg--aurora {
  --bg-1: #112533;
  --bg-2: #0f1b2e;
  --bg-3: rgba(84, 221, 195, 0.22);
  --bg-4: rgba(135, 102, 236, 0.2);
  --bg-vignette: rgba(8, 14, 24, 0.44);
}

.lwl-lexicongrove__rh-body .lwl-bee-shell {
  width: min(1180px, 100%);
}

.lwl-lexicongrove__rh-body .lwl-bee-panel {
  min-height: 0;
  max-height: 100%;
  height: 100%;
}

.lwl-bee-panel::before,
.lwl-bee-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.lwl-bee-panel::before {
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(140% 120% at 14% 12%, var(--bg-3, rgba(226, 185, 104, 0.28)), transparent 58%),
    radial-gradient(130% 115% at 86% 84%, var(--bg-4, rgba(159, 198, 250, 0.2)), transparent 62%),
    radial-gradient(110% 90% at 54% -8%, rgba(255, 255, 255, 0.2), transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 34%),
    radial-gradient(180% 140% at 50% 50%, transparent 58%, var(--bg-vignette, rgba(77, 54, 16, 0.16)) 100%),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.012) 0px,
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px,
      transparent 3px
    );
  opacity: 0.74;
  transform: scale(1.03);
  transform-origin: center;
  animation: lwl_bee_liquid_shift 52s ease-in-out infinite alternate;
}

.lwl-bee-panel::after {
  inset: 1px;
  border-radius: 19px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 38%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.lwl-bee-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 0;
}

.lwl-bee-head-spacer {
  width: 44px;
  height: 40px;
}

.lwl-bee-title-inline {
  width: min(920px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 88px;
  align-items: center;
  justify-items: center;
  gap: 10px;
}

.lwl-bee-title-inline h3 {
  position: relative;
  margin: 0;
  padding: 6px 20px;
  border-radius: 999px;
  border: 1px solid rgba(194, 151, 66, 0.38);
  background:
    radial-gradient(130% 100% at 50% 0, rgba(255, 255, 255, 0.5), transparent 62%),
    linear-gradient(180deg, rgba(255, 252, 245, 0.9), rgba(247, 236, 211, 0.9));
  box-shadow:
    0 8px 20px rgba(94, 68, 21, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -8px 12px rgba(200, 161, 78, 0.08);
  overflow: hidden;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 650;
  letter-spacing: 0.03em;
  color: rgba(49, 38, 24, 0.98);
  text-shadow: 0 0 14px rgba(235, 206, 141, 0.3);
  text-align: center;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}

.lwl-bee-title-inline .lwl-bee-title-nav:first-child {
  justify-self: start;
}

.lwl-bee-title-inline .lwl-bee-title-nav:last-child {
  justify-self: end;
}

.lwl-grove-gameframe .lwl-runic-stage {
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0;
  overflow: hidden;
}

.lwl-bee-title-inline h3::before,
.lwl-bee-title-inline h3::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lwl-bee-title-inline h3::before {
  background:
    radial-gradient(130% 90% at 50% -10%, rgba(255, 255, 255, 0.45), transparent 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 54%);
}

.lwl-bee-title-inline h3::after {
  width: 36%;
  left: -44%;
  background: linear-gradient(112deg, transparent 10%, rgba(255, 255, 255, 0.45) 48%, transparent 88%);
  mix-blend-mode: screen;
  opacity: 0.28;
  transform: skewX(-18deg);
  animation: lwl_bee_title_glimmer 8.2s ease-in-out infinite;
}

.lwl-bee-title-date {
  position: relative;
  z-index: 1;
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--lwl-muted);
  white-space: nowrap;
}

.lwl-bee-title-nav {
  border: 1px solid rgba(193, 153, 74, 0.38);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(249, 236, 211, 0.94));
  color: var(--lwl-text);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  min-width: 74px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, opacity 140ms ease;
}

.lwl-bee-title-nav:hover,
.lwl-bee-title-nav:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(181, 135, 42, 0.65);
  box-shadow: 0 0 14px var(--lwl-glow), 0 0 10px rgba(255, 244, 220, 0.22);
  outline: none;
}

.lwl-bee-title-nav[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.lwl-bee-body {
  position: relative;
  z-index: 2;
  padding: 14px 18px 16px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
}

.lwl-bee-top-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  min-height: 32px;
  flex-wrap: wrap;
}

.lwl-bee-action-btn {
  border: 1px solid rgba(193, 153, 74, 0.38);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(249, 236, 211, 0.94));
  color: var(--lwl-text);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.lwl-bee-action-btn:hover,
.lwl-bee-action-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(181, 135, 42, 0.65);
  box-shadow: 0 0 14px var(--lwl-glow), 0 0 10px rgba(255, 244, 220, 0.22);
  outline: none;
}

.lwl-bee-more-wrap {
  position: relative;
}

.lwl-bee-more-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  display: none;
  z-index: 6;
  border-radius: 12px;
  border: 1px solid rgba(188, 146, 62, 0.32);
  background:
    radial-gradient(120% 120% at 100% 0, rgba(236, 204, 140, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(255, 253, 247, 0.94), rgba(249, 240, 223, 0.96));
  box-shadow: 0 12px 24px rgba(64, 45, 13, 0.16);
  padding: 6px;
}

.lwl-bee-more-menu.is-open {
  display: grid;
  gap: 4px;
}

.lwl-bee-more-menu button {
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--lwl-text);
  text-align: left;
  font-size: 13px;
  padding: 8px 10px;
  cursor: pointer;
}

.lwl-bee-more-menu button:hover,
.lwl-bee-more-menu button:focus-visible {
  border-color: rgba(186, 144, 60, 0.42);
  background: rgba(242, 220, 174, 0.2);
  outline: none;
}

.lwl-bee-main {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 420px);
  gap: 12px;
  min-height: 0;
  align-items: stretch;
}

.lwl-bee-play,
.lwl-bee-progress-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(190, 150, 69, 0.35);
  border-radius: 14px;
  background:
    radial-gradient(120% 100% at 100% 0, rgba(234, 205, 146, 0.26), transparent 58%),
    linear-gradient(180deg, rgba(255, 252, 245, 0.92), rgba(247, 238, 221, 0.93));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -12px 16px rgba(216, 178, 97, 0.08),
    0 10px 24px rgba(64, 45, 13, 0.1);
  backdrop-filter: blur(4px) saturate(112%);
  -webkit-backdrop-filter: blur(4px) saturate(112%);
}

.lwl-bee-play::before,
.lwl-bee-progress-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(255, 255, 255, 0.2), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 55%);
  opacity: 0.75;
  animation: lwl_bee_drift 16s linear infinite;
}

.lwl-bee-play > *,
.lwl-bee-progress-panel > * {
  position: relative;
  z-index: 1;
}

.lwl-bee-play {
  position: relative;
  padding: 14px;
  display: grid;
  gap: 10px;
  align-content: center;
  justify-items: center;
}

.lwl-bee-status {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translate(-50%, -8px);
  max-width: calc(100% - 24px);
  font-size: 12px;
  line-height: 1.35;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(41, 33, 21, 0.08);
  border: 1px solid rgba(186, 148, 69, 0.28);
  color: var(--lwl-muted);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 180ms ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lwl-bee-status.is-hidden {
  opacity: 0;
}

.lwl-bee-status.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.lwl-bee-status.is-success {
  color: var(--lwl-success);
  background: rgba(46, 127, 80, 0.08);
  border-color: rgba(46, 127, 80, 0.26);
}

.lwl-bee-status.is-warn {
  color: var(--lwl-warn);
  background: rgba(187, 130, 52, 0.12);
  border-color: rgba(173, 115, 40, 0.34);
}

.lwl-bee-status.is-error {
  color: var(--lwl-error);
  background: rgba(179, 90, 78, 0.12);
  border-color: rgba(179, 90, 78, 0.32);
}

.lwl-bee-honeycomb-wrap {
  padding: 0;
  width: 100%;
  display: grid;
  place-items: center;
}

.lwl-bee-honeycomb {
  --hex-w: clamp(82px, 9.6vw, 98px);
  --hex-h: calc(var(--hex-w) * 0.8660254);
  --hex-x-step: calc(var(--hex-w) * 0.75);
  --hex-y-half: calc(var(--hex-h) * 0.5);
  --hex-y-full: var(--hex-h);
  position: relative;
  width: calc(var(--hex-w) * 2.5);
  height: calc(var(--hex-h) * 3);
  margin: 0 auto;
  isolation: isolate;
}

.lwl-bee-honeycomb::after {
  content: "";
  position: absolute;
  inset: 18% 20%;
  pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 236, 190, 0.7), rgba(255, 236, 190, 0) 68%);
  opacity: 0;
  transform: scale(0.86);
}

.lwl-bee-honeycomb.is-accept-wave::after {
  animation: lwl_bee_honey_sparkle 540ms ease-out;
}

.lwl-bee-honeycomb .lwl-bee-hex:nth-child(1) {
  left: 50%;
  top: calc(50% - var(--hex-y-full));
}

.lwl-bee-honeycomb .lwl-bee-hex:nth-child(2) {
  left: calc(50% + var(--hex-x-step));
  top: calc(50% - var(--hex-y-half));
}

.lwl-bee-honeycomb .lwl-bee-hex:nth-child(3) {
  left: calc(50% + var(--hex-x-step));
  top: calc(50% + var(--hex-y-half));
}

.lwl-bee-honeycomb .lwl-bee-hex:nth-child(4) {
  left: 50%;
  top: 50%;
}

.lwl-bee-honeycomb .lwl-bee-hex:nth-child(5) {
  left: 50%;
  top: calc(50% + var(--hex-y-full));
}

.lwl-bee-honeycomb .lwl-bee-hex:nth-child(6) {
  left: calc(50% - var(--hex-x-step));
  top: calc(50% - var(--hex-y-half));
}

.lwl-bee-honeycomb .lwl-bee-hex:nth-child(7) {
  left: calc(50% - var(--hex-x-step));
  top: calc(50% + var(--hex-y-half));
}

.lwl-bee-hex {
  position: absolute;
  margin-left: calc(var(--hex-w) * -0.5);
  margin-top: calc(var(--hex-h) * -0.5);
  width: var(--hex-w);
  height: var(--hex-h);
  border: 1px solid rgba(190, 150, 70, 0.45);
  background:
    radial-gradient(140% 110% at 28% 8%, rgba(255, 255, 255, 0.55), transparent 58%),
    radial-gradient(120% 90% at 80% 92%, rgba(228, 191, 112, 0.22), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 252, 0.74), rgba(243, 230, 201, 0.74));
  color: #3f3223;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
  cursor: pointer;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px) saturate(118%);
  -webkit-backdrop-filter: blur(4px) saturate(118%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -12px 16px rgba(196, 157, 83, 0.09),
    0 8px 14px rgba(99, 68, 16, 0.14),
    0 0 12px rgba(221, 179, 87, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, filter 160ms ease, background 180ms ease;
}

.lwl-bee-hex::before,
.lwl-bee-hex::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: inherit;
  pointer-events: none;
}

.lwl-bee-hex::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
  mix-blend-mode: screen;
}

.lwl-bee-hex::after {
  border: 1px solid rgba(255, 236, 196, 0.34);
  border-radius: 2px;
  opacity: 0.72;
}

.lwl-bee-hex:hover,
.lwl-bee-hex:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(187, 145, 61, 0.7);
  box-shadow: 0 8px 14px rgba(99, 68, 16, 0.16), 0 0 12px rgba(221, 179, 87, 0.25);
  outline: none;
}

.lwl-bee-hex:active {
  transform: scale(0.98);
}

.lwl-bee-hex.is-center {
  border-color: rgba(180, 131, 33, 0.74);
  background:
    radial-gradient(120% 110% at 30% 8%, rgba(255, 255, 255, 0.62), transparent 58%),
    radial-gradient(120% 120% at 82% 88%, rgba(255, 206, 118, 0.38), transparent 58%),
    linear-gradient(180deg, rgba(250, 213, 126, 0.92), rgba(217, 162, 50, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 219, 0.64),
    0 10px 16px rgba(158, 113, 24, 0.24),
    0 0 18px rgba(232, 188, 89, 0.4);
}

.lwl-bee-hex.is-shuffling {
  animation: lwl_bee_hex_shuffle 190ms cubic-bezier(0.25, 0.8, 0.25, 1) var(--shuffle-delay, 0ms);
}

.lwl-bee-hex.is-used {
  animation: lwl_bee_hex_use 320ms ease-out;
}

.lwl-bee-honeycomb.is-accept-wave .lwl-bee-hex {
  animation: lwl_bee_hex_accept_wave 560ms cubic-bezier(0.25, 0.78, 0.2, 1) var(--accept-delay, 0ms);
}

.lwl-bee-honeycomb.is-accept-wave .lwl-bee-hex.is-center {
  animation:
    lwl_bee_hex_center_bloom 640ms cubic-bezier(0.2, 0.8, 0.2, 1),
    lwl_bee_hex_accept_wave 560ms cubic-bezier(0.25, 0.78, 0.2, 1) var(--accept-delay, 0ms);
}

.lwl-bee-honeycomb.is-reject-wave .lwl-bee-hex {
  animation: lwl_bee_hex_reject_wave 340ms ease-out var(--reject-delay, 0ms);
}

.lwl-bee-guess-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 2px;
  border: 1px solid rgba(192, 152, 70, 0.36);
  border-radius: 12px;
  min-width: min(100%, 360px);
  background:
    radial-gradient(130% 120% at 50% -20%, rgba(255, 255, 255, 0.48), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(249, 239, 221, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), inset 0 -10px 16px rgba(218, 183, 105, 0.08);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.lwl-bee-guess-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -42%;
  width: 38%;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 10%, rgba(255, 255, 255, 0.32) 48%, transparent 88%);
  mix-blend-mode: screen;
  opacity: 0.2;
  transform: skewX(-18deg);
  animation: lwl_bee_guess_sheen 11s ease-in-out infinite;
}

.lwl-bee-guess-wrap.is-accept {
  animation: lwl_bee_guess_pulse 520ms ease;
}

.lwl-bee-guess-wrap.is-reject {
  animation: lwl_bee_guess_shake 420ms ease;
  border-color: rgba(180, 133, 57, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -10px 16px rgba(218, 183, 105, 0.16),
    0 0 0 1px rgba(200, 162, 90, 0.2),
    0 0 14px rgba(200, 162, 90, 0.18);
}

.lwl-bee-guess {
  min-height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.06rem;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: var(--lwl-text);
  text-transform: uppercase;
}

.lwl-bee-guess.is-empty {
  font-weight: 500;
  color: var(--lwl-muted);
  letter-spacing: 0.03em;
  text-transform: none;
}

.lwl-bee-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.72rem;
}

.lwl-bee-btn {
  border: 1px solid rgba(193, 153, 74, 0.45);
  border-radius: 999px;
  color: var(--lwl-text);
  cursor: pointer;
  padding: 0.45rem 0.9rem;
  min-height: 40px;
  min-width: 74px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lwl-bee-btn:hover,
.lwl-bee-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 14px var(--lwl-glow), 0 0 12px rgba(255, 244, 220, 0.22);
  outline: none;
}

.lwl-bee-btn:active {
  transform: translateY(1px);
}

.lwl-bee-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.lwl-bee-btn--primary {
  border-color: rgba(170, 124, 27, 0.78);
  background: linear-gradient(180deg, rgba(240, 193, 88, 0.95), rgba(196, 145, 41, 0.96));
  color: #36260d;
  box-shadow: 0 6px 14px rgba(170, 124, 27, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.lwl-bee-btn--secondary {
  background:
    radial-gradient(130% 120% at 50% -20%, rgba(255, 255, 255, 0.38), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 238, 222, 0.94));
}

.lwl-bee-btn--utility {
  background:
    radial-gradient(130% 120% at 50% -20%, rgba(255, 255, 255, 0.34), transparent 60%),
    linear-gradient(180deg, rgba(251, 245, 232, 0.94), rgba(239, 223, 191, 0.95));
}

.lwl-bee-btn--icon {
  width: 44px;
  min-width: 44px;
  padding: 0;
  font-size: 18px;
}

.lwl-bee-progress-panel {
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
}

.lwl-bee-progress-head {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(190, 150, 69, 0.24);
  border-radius: 12px;
  padding: 8px 10px;
  background:
    radial-gradient(120% 110% at 100% 0, rgba(238, 207, 141, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(255, 253, 247, 0.9), rgba(249, 240, 223, 0.94));
}

.lwl-bee-rank-trigger {
  border: 0;
  background: transparent;
  color: #5e4515;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  padding: 0;
}

.lwl-bee-score-pill {
  border: 1px solid rgba(187, 145, 60, 0.55);
  border-radius: 999px;
  background: rgba(255, 236, 174, 0.82);
  color: #59410f;
  min-width: 34px;
  min-height: 30px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lwl-bee-rank-trigger:hover,
.lwl-bee-rank-trigger:focus-visible,
.lwl-bee-score-pill:hover,
.lwl-bee-score-pill:focus-visible {
  box-shadow: 0 0 10px rgba(210, 164, 68, 0.26);
  outline: none;
}

.lwl-bee-rank-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 18px;
  justify-content: flex-end;
}

.lwl-bee-rank-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(149, 131, 100, 0.25);
  box-shadow: inset 0 0 0 1px rgba(166, 138, 82, 0.22);
}

.lwl-bee-rank-dot.is-active {
  background: linear-gradient(180deg, var(--lwl-accent-2), var(--lwl-accent));
  box-shadow: 0 0 8px rgba(206, 160, 65, 0.36);
}

.lwl-bee-progress-summary {
  border: 1px solid rgba(190, 150, 69, 0.2);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255, 251, 241, 0.72);
  font-size: 14px;
}

.lwl-bee-found-wrap {
  min-height: 0;
  border: 1px solid rgba(190, 150, 69, 0.25);
  border-radius: 12px;
  background:
    radial-gradient(120% 110% at 100% 0, rgba(238, 207, 141, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(255, 253, 247, 0.9), rgba(249, 240, 223, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54), 0 8px 18px rgba(70, 50, 13, 0.08);
  overflow: hidden;
}

.lwl-bee-found-list {
  list-style: none;
  margin: 0;
  padding: 10px;
  min-height: 0;
  max-height: 100%;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.28rem 0.55rem;
}

.lwl-bee-found-list li {
  font-size: 0.81rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(190, 150, 69, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(120% 100% at 0 0, rgba(255, 255, 255, 0.46), transparent 62%),
    rgba(255, 251, 241, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
  padding: 5px 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.lwl-bee-found-list li:hover {
  transform: translateY(-1px);
  border-color: rgba(187, 145, 61, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), 0 6px 14px rgba(82, 58, 14, 0.12);
}

.lwl-bee-lexicon-badge {
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(188, 146, 62, 0.35);
  background: linear-gradient(180deg, rgba(255, 239, 188, 0.92), rgba(245, 221, 154, 0.92));
  color: #5e4413;
  padding: 3px 6px;
  white-space: nowrap;
}

.lwl-bee-found-list .is-empty {
  color: var(--lwl-muted);
  text-transform: none;
  letter-spacing: 0;
  grid-column: 1 / -1;
}

.lwl-bee-found-list::-webkit-scrollbar {
  width: 8px;
}

.lwl-bee-found-list::-webkit-scrollbar-track {
  background: rgba(223, 198, 147, 0.3);
  border-radius: 999px;
}

.lwl-bee-found-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(214, 170, 79, 0.75), rgba(179, 135, 45, 0.68));
}

.lwl-bee-modal {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 12px;
}

.lwl-bee-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 3, 0.48);
  backdrop-filter: blur(4px);
}

.lwl-bee-modal-panel {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100% - 24px);
  overflow: auto;
  scrollbar-gutter: stable both-edges;
  border-radius: 14px;
  border: 1px solid rgba(188, 146, 62, 0.32);
  background:
    radial-gradient(120% 120% at 100% 0, rgba(236, 204, 140, 0.24), transparent 58%),
    radial-gradient(120% 120% at 0 100%, rgba(247, 226, 171, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(255, 253, 247, 0.97), rgba(249, 240, 223, 0.99));
  box-shadow:
    0 24px 54px rgba(54, 38, 12, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  contain: paint;
}

.lwl-bee-modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(190, 150, 69, 0.24);
  background: linear-gradient(180deg, rgba(255, 252, 243, 0.96), rgba(255, 252, 243, 0.82));
}

.lwl-bee-modal-head h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 42px);
  line-height: 1.05;
  font-family: "Times New Roman", Georgia, serif;
  color: #23170a;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.lwl-bee-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(190, 150, 69, 0.4);
  background: rgba(255, 250, 240, 0.9);
  color: #4a3511;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.lwl-bee-modal-close:hover,
.lwl-bee-modal-close:focus-visible {
  box-shadow: 0 0 12px rgba(205, 166, 81, 0.32);
  outline: none;
}

.lwl-bee-modal-body {
  padding: 14px 16px 16px;
}

.lwl-bee-modal-sub {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--lwl-muted);
}

.lwl-bee-rank-table {
  border: 1px solid rgba(190, 150, 69, 0.24);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 252, 244, 0.78);
}

.lwl-bee-rank-head {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #654b18;
  border-bottom: 1px solid rgba(190, 150, 69, 0.2);
}

.lwl-bee-rank-head span:first-child {
  visibility: hidden;
}

.lwl-bee-rank-rows {
  position: relative;
}

.lwl-bee-rank-rows::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 21px;
  width: 2px;
  background: linear-gradient(180deg, rgba(207, 171, 90, 0.24), rgba(187, 147, 61, 0.18));
}

.lwl-bee-rank-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-bottom: 1px solid rgba(190, 150, 69, 0.14);
}

.lwl-bee-rank-row:last-child {
  border-bottom: 0;
}

.lwl-bee-rank-row.is-current {
  background: linear-gradient(90deg, rgba(245, 215, 102, 0.84), rgba(249, 234, 188, 0.74));
}

.lwl-bee-rank-rail-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-left: 5px;
  background: rgba(170, 143, 89, 0.28);
  box-shadow: inset 0 0 0 1px rgba(168, 136, 67, 0.22);
}

.lwl-bee-rank-row.is-current .lwl-bee-rank-rail-dot {
  background: linear-gradient(180deg, var(--lwl-accent-2), var(--lwl-accent));
  box-shadow: 0 0 10px rgba(209, 166, 71, 0.35);
}

.lwl-bee-rank-name {
  font-size: 14px;
}

.lwl-bee-rank-min {
  font-size: 14px;
  font-weight: 700;
}

.lwl-bee-rank-foot {
  margin-top: 10px;
  border-radius: 999px;
  border: 1px solid rgba(188, 146, 62, 0.32);
  background: linear-gradient(180deg, rgba(255, 237, 175, 0.84), rgba(249, 227, 159, 0.84));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
}

.lwl-bee-rank-foot strong {
  font-size: 16px;
}

.lwl-bee-rank-foot span {
  font-size: 13px;
}

.lwl-bee-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.lwl-bee-stat-grid div {
  border: 1px solid rgba(190, 150, 69, 0.2);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255, 251, 241, 0.74);
  display: grid;
  gap: 3px;
}

.lwl-bee-stat-grid span {
  font-size: 12px;
  color: var(--lwl-muted);
}

.lwl-bee-stat-grid strong {
  font-size: 14px;
  word-break: break-word;
}

.lwl-bee-leaderboard {
  border: 1px solid rgba(190, 150, 69, 0.22);
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(150% 120% at 100% 0, rgba(241, 214, 153, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(255, 252, 244, 0.9), rgba(250, 242, 226, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 10px 24px rgba(72, 52, 16, 0.12);
}

.lwl-bee-lb-flip {
  display: grid;
  gap: 10px;
}

.lwl-bee-lb-card {
  position: relative;
  border-radius: 14px;
  perspective: 1200px;
  height: clamp(320px, 62vh, 520px);
  cursor: pointer;
  outline: none;
}

.lwl-bee-lb-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(196, 151, 65, 0.45);
}

.lwl-bee-lb-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(0.22, 0.64, 0.34, 1);
}

.lwl-bee-lb-card.is-flipped .lwl-bee-lb-card-inner {
  transform: rotateY(180deg);
}

.lwl-bee-lb-face {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 1px solid rgba(190, 150, 69, 0.24);
  background:
    radial-gradient(140% 120% at 100% 0, rgba(243, 216, 158, 0.26), transparent 60%),
    linear-gradient(180deg, rgba(255, 252, 244, 0.96), rgba(250, 243, 227, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 10px 22px rgba(70, 49, 13, 0.12);
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  min-height: 0;
}

.lwl-bee-lb-face--back {
  transform: rotateY(180deg);
}

.lwl-bee-lb-face-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.lwl-bee-lb-face-head h4 {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 20px);
  color: #2f220e;
}

.lwl-bee-lb-face-tag {
  border-radius: 999px;
  border: 1px solid rgba(190, 150, 69, 0.34);
  background: rgba(255, 251, 241, 0.84);
  color: #614613;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
}

.lwl-bee-lb-face-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.lwl-bee-leaderboard-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-gutter: stable;
  padding-right: 2px;
}

.lwl-bee-lb-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.lwl-bee-lb-hint {
  font-size: 12px;
  color: #6c5120;
}

.lwl-bee-lb-flip-btn {
  border: 1px solid rgba(190, 150, 69, 0.42);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 249, 233, 0.98), rgba(250, 234, 190, 0.96));
  color: #3f2d0f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 7px 12px;
  cursor: pointer;
}

.lwl-bee-lb-flip-btn:hover,
.lwl-bee-lb-flip-btn:focus-visible {
  box-shadow: 0 0 10px rgba(203, 159, 72, 0.28);
  outline: none;
}

.lwl-bee-leaderboard-head {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(190, 150, 69, 0.18);
  font-size: 11px;
  font-weight: 700;
  color: #6a4f17;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, rgba(255, 250, 239, 0.84), rgba(252, 244, 225, 0.8));
}

.lwl-bee-leaderboard-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lwl-bee-leaderboard-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(190, 150, 69, 0.14);
  background: rgba(255, 252, 243, 0.62);
  transition: box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
  transform: translateZ(0);
}

.lwl-bee-leaderboard-row:last-child {
  border-bottom: 0;
}

.lwl-bee-leaderboard-row:hover {
  background: linear-gradient(90deg, rgba(255, 250, 234, 0.94), rgba(255, 245, 214, 0.78));
  box-shadow: inset 0 0 0 1px rgba(197, 154, 67, 0.26);
}

.lwl-bee-leaderboard-rank {
  font-weight: 800;
  color: #5f4311;
  font-variant-numeric: tabular-nums;
}

.lwl-bee-leaderboard-name {
  font-weight: 700;
  color: #2c1e0d;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lwl-bee-leaderboard-score {
  font-weight: 800;
  color: #6f4d12;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.lwl-bee-leaderboard-row.runic-rank--1 {
  background: linear-gradient(90deg, rgba(255, 233, 167, 0.98), rgba(255, 245, 212, 0.95));
  box-shadow: inset 0 0 0 1px rgba(212, 171, 81, 0.38), 0 0 14px rgba(214, 170, 79, 0.26);
  border-left: 3px solid rgba(213, 168, 73, 0.86);
}

.lwl-bee-leaderboard-row.runic-rank--2 {
  background: linear-gradient(90deg, rgba(237, 240, 246, 0.96), rgba(251, 252, 255, 0.94));
  box-shadow: inset 0 0 0 1px rgba(166, 175, 192, 0.42), 0 0 12px rgba(178, 186, 201, 0.24);
  border-left: 3px solid rgba(166, 175, 192, 0.88);
}

.lwl-bee-leaderboard-row.runic-rank--3 {
  background: linear-gradient(90deg, rgba(245, 220, 192, 0.96), rgba(252, 239, 223, 0.94));
  box-shadow: inset 0 0 0 1px rgba(175, 116, 73, 0.4), 0 0 12px rgba(182, 124, 84, 0.22);
  border-left: 3px solid rgba(176, 116, 73, 0.82);
}

.lwl-bee-modal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.lwl-bee-modal-list li {
  border: 1px solid rgba(190, 150, 69, 0.2);
  border-radius: 10px;
  background: rgba(255, 251, 241, 0.74);
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.lwl-bee-modal-list li span {
  color: var(--lwl-muted);
}

.lwl-bee-modal-list--rules li {
  display: block;
  color: var(--lwl-text);
}

.lwl-bee-modal-list--pangrams li {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lwl-bee-modal-section {
  margin-top: 12px;
}

.lwl-bee-modal-section-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #684d16;
  margin-bottom: 6px;
}

.lwl-bee-first-letter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.lwl-bee-first-letter-list li {
  border: 1px solid rgba(190, 150, 69, 0.2);
  border-radius: 10px;
  background: rgba(255, 251, 241, 0.74);
  padding: 6px 8px;
  display: flex;
  justify-content: space-between;
}

.lwl-bee-enrichment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.lwl-bee-enrichment-list li {
  border: 1px solid rgba(190, 150, 69, 0.2);
  border-radius: 10px;
  background: rgba(255, 251, 241, 0.74);
  padding: 8px 10px;
  display: grid;
  gap: 5px;
}

.lwl-bee-enrichment-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.lwl-bee-enrichment-head strong {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
}

.lwl-bee-enrichment-source {
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(188, 146, 62, 0.35);
  background: rgba(255, 249, 229, 0.95);
  color: #654b18;
  padding: 3px 6px;
}

.lwl-bee-enrichment-body {
  font-size: 12px;
  color: var(--lwl-muted);
}

.lwl-bee-modal-attribution {
  margin-top: 8px;
  color: var(--lwl-muted);
  font-size: 12px;
}

.lwl-bee-loading,
.lwl-bee-error {
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--lwl-muted);
  font-size: 0.98rem;
}

.lwl-bee-card {
  border-radius: 14px;
  border: 1px solid rgba(190, 150, 69, 0.25);
  background: var(--lwl-surface);
  padding: 1rem;
}

.lwl-bee-login-card {
  width: min(760px, calc(100% - 24px));
  margin-inline: auto;
  border: 1px solid rgba(190, 150, 69, 0.32);
  border-radius: 14px;
  background: var(--lwl-surface);
  box-shadow: 0 14px 28px rgba(74, 51, 20, 0.08);
  padding: 1rem;
}

.lwl-bee-login-card h3 {
  margin-top: 0;
}

.lwl-runic-honeycomb :is(button, [role="button"]),
.lwl-spelling-bee :is(button, [role="button"]),
.lwl-runic-honeycomb :is(button, [role="button"]):focus-visible,
.lwl-spelling-bee :is(button, [role="button"]):focus-visible {
  outline-color: rgba(188, 145, 62, 0.68);
}

@keyframes lwl_bee_panel_in {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(0.985);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes lwl_bee_title_glimmer {
  0%,
  65%,
  100% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }

  72% {
    opacity: 0.25;
  }

  84% {
    transform: translateX(440%) skewX(-18deg);
    opacity: 0.16;
  }
}

@keyframes lwl_bee_pangram_sweep {
  0% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }

  16% {
    opacity: 0.44;
  }

  100% {
    transform: translateX(460%) skewX(-18deg);
    opacity: 0;
  }
}

@keyframes lwl_bee_drift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-10px, 6px, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes lwl_bee_liquid_shift {
  0% {
    background-position: 0% 0%, 100% 100%, 50% 0%, 0% 0%, 50% 50%, 0 0;
    transform: scale(1.03) translate3d(0, 0, 0);
  }

  50% {
    background-position: 8% 10%, 92% 90%, 52% -4%, 0% 0%, 50% 50%, 0 1px;
    transform: scale(1.04) translate3d(-4px, 2px, 0);
  }

  100% {
    background-position: 12% 14%, 88% 86%, 54% -8%, 0% 0%, 50% 50%, 0 0;
    transform: scale(1.05) translate3d(3px, -2px, 0);
  }
}

@keyframes lwl_bee_hex_shuffle {
  0% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1);
  }

  50% {
    transform: translateY(-4px) scale(1.03) rotate(7deg);
    filter: brightness(1.08);
  }

  100% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1);
  }
}

@keyframes lwl_bee_hex_use {
  0% {
    filter: brightness(1);
  }

  40% {
    filter: brightness(1.11);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.58),
      0 0 0 1px rgba(233, 196, 119, 0.3),
      0 0 16px rgba(233, 196, 119, 0.24);
  }

  100% {
    filter: brightness(1);
  }
}

@keyframes lwl_bee_hex_accept_wave {
  0% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.13);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.62),
      0 0 0 1px rgba(237, 200, 121, 0.36),
      0 0 18px rgba(237, 200, 121, 0.26);
  }

  100% {
    filter: brightness(1);
  }
}

@keyframes lwl_bee_hex_center_bloom {
  0% {
    transform: scale(1);
  }

  48% {
    transform: scale(1.055);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes lwl_bee_hex_reject_wave {
  0% {
    filter: brightness(1);
  }

  45% {
    filter: brightness(1.04) saturate(0.9);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.58),
      0 0 0 1px rgba(213, 175, 104, 0.24),
      0 0 10px rgba(193, 157, 92, 0.2);
  }

  100% {
    filter: brightness(1);
  }
}

@keyframes lwl_bee_honey_sparkle {
  0% {
    opacity: 0;
    transform: scale(0.86);
  }

  36% {
    opacity: 0.46;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes lwl_bee_guess_pulse {
  0% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), inset 0 -10px 16px rgba(218, 183, 105, 0.08);
  }

  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.64),
      inset 0 -10px 16px rgba(218, 183, 105, 0.12),
      0 0 0 1px rgba(211, 168, 74, 0.32),
      0 0 16px rgba(211, 168, 74, 0.28);
  }

  100% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), inset 0 -10px 16px rgba(218, 183, 105, 0.08);
  }
}

@keyframes lwl_bee_guess_shake {
  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-2px);
  }

  40% {
    transform: translateX(2px);
  }

  60% {
    transform: translateX(-1px);
  }

  80% {
    transform: translateX(1px);
  }
}

@keyframes lwl_bee_guess_sheen {
  0%,
  68%,
  100% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }

  74% {
    opacity: 0.26;
  }

  86% {
    transform: translateX(430%) skewX(-18deg);
    opacity: 0.16;
  }
}

@media (max-width: 900px) {
  .lwl-bee-shell {
    width: min(1220px, calc(100% - 12px));
  }

  .lwl-bee-header {
    padding: 10px 12px 0;
  }

  .lwl-bee-title-inline {
    width: min(100%, calc(100% - 8px));
    gap: 8px;
    grid-template-columns: 80px minmax(0, 1fr) 80px;
  }

  .lwl-bee-title-inline h3 {
    gap: 7px;
    font-size: clamp(18px, 4vw, 24px);
  }

  .lwl-bee-title-date {
    font-size: 12px;
  }

  .lwl-bee-body {
    padding: 10px 12px 12px;
  }

  .lwl-bee-top-actions {
    justify-content: center;
  }

  .lwl-bee-main {
    grid-template-columns: 1fr;
  }

  .lwl-bee-progress-panel {
    min-height: 320px;
  }

  .lwl-bee-panel {
    min-height: clamp(520px, 82vh, 860px);
    max-height: 90vh;
    height: min(90vh, 860px);
  }
}

@media (max-width: 640px) {
  .lwl-bee-head-spacer {
    display: none;
  }

  .lwl-bee-header {
    grid-template-columns: 1fr;
  }

  .lwl-bee-title-inline {
    grid-template-columns: 72px minmax(0, 1fr) 72px;
  }

  .lwl-bee-title-inline h3 {
    flex-direction: column;
    gap: 2px;
  }

  .lwl-bee-title-nav {
    min-width: 66px;
    padding: 5px 9px;
    font-size: 11px;
  }

  .lwl-bee-honeycomb {
    --hex-w: clamp(66px, 20vw, 78px);
  }

  .lwl-bee-found-list {
    grid-template-columns: 1fr;
  }

  .lwl-bee-first-letter-list {
    grid-template-columns: 1fr;
  }

  .lwl-bee-stat-grid {
    grid-template-columns: 1fr;
  }

  .lwl-bee-leaderboard-head,
  .lwl-bee-leaderboard-row {
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 6px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .lwl-bee-lb-card {
    height: clamp(290px, 58vh, 440px);
  }

  .lwl-bee-lb-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .lwl-bee-lb-flip-btn {
    width: 100%;
  }
}

@media (max-height: 820px) {
  .lwl-bee-header {
    padding-top: 8px;
  }

  .lwl-bee-body {
    padding-top: 8px;
    gap: 8px;
  }

  .lwl-bee-play {
    padding: 10px;
    gap: 8px;
  }

  .lwl-bee-honeycomb {
    --hex-w: clamp(68px, 8.6vh, 80px);
  }

  .lwl-bee-controls {
    margin-top: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lwl-bee-title-inline h3::after,
  .lwl-bee-guess-wrap::after,
  .lwl-bee-panel,
  .lwl-bee-panel::before,
  .lwl-bee-hex,
  .lwl-bee-guess-wrap,
  .lwl-bee-btn,
  .lwl-bee-status,
  .lwl-bee-action-btn,
  .lwl-bee-title-nav {
    animation-duration: 120ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 80ms !important;
  }

  .lwl-bee-lb-card {
    height: auto;
    cursor: default;
  }

  .lwl-bee-lb-card-inner {
    transform: none !important;
    transition: none !important;
  }

  .lwl-bee-lb-face {
    position: relative;
    transform: none !important;
    backface-visibility: visible;
    display: none;
    min-height: clamp(260px, 52vh, 420px);
  }

  .lwl-bee-lb-card .lwl-bee-lb-face--front {
    display: flex;
  }

  .lwl-bee-lb-card.is-flipped .lwl-bee-lb-face--front {
    display: none;
  }

  .lwl-bee-lb-card.is-flipped .lwl-bee-lb-face--back {
    display: flex;
  }
}
