@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap");
:root {
  --yellow: #f9e8a8;
  --ink: #244b40;
  --paper: #faf9f6;
  --line: #dfe6e1;
  --green: #285d50;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 0;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #5d8762;
  outline-offset: 4px;
}
header {
  max-width: 1320px;
  margin: auto;
  padding: 23px 40px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.identity {
  padding: 0;
  border-radius: 50%;
  background: none;
}
.identity img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: block;
}
.brand {
  font-family: Outfit, sans-serif;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand span {
  display: block;
  font:
    10px "DM Sans",
    sans-serif;
  letter-spacing: 1.2px;
  margin-top: 2px;
}
.pollen {
  margin-left: auto;
  border: 1px solid #dfd09c;
  border-radius: 30px;
  background: #fff0c5;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.pollen span {
  font-size: 12px;
}
#menu {
  display: none;
}
nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  border-block: 1px solid var(--line);
  padding: 0 24px;
}
nav a {
  font-size: 12px;
  padding: 17px 0;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
nav a.active {
  border-color: var(--ink);
  font-weight: 700;
}
nav a:after {
  content: "⌄";
  margin-left: 7px;
  font-size: 10px;
}
main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 28px 65px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
}
.welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 22px;
}
.welcome p {
  font-size: 13px;
  color: #64716d;
}
.mode {
  font-size: 11px;
  background: #d8eeea;
  padding: 9px 13px;
  border-radius: 30px;
  color: var(--green);
}
h1,
h2,
h3 {
  font-family: Outfit, sans-serif;
}
h1 {
  font-size: 52px;
  line-height: 1.03;
  letter-spacing: -1.6px;
  margin: 18px 0;
}
h2 {
  font-size: 26px;
  letter-spacing: -0.7px;
  margin: 0 0 12px;
}
h3 {
  font-size: 19px;
  margin: 0 0 9px;
}
p {
  line-height: 1.65;
}
.hero {
  background: var(--yellow);
  border-radius: 20px;
  min-height: 348px;
  padding: 40px 45px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.hero p {
  max-width: 370px;
  font-size: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--ink);
  color: white;
  padding: 13px 20px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
}
.btn.light {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.yellow {
  background: var(--yellow);
  color: var(--ink);
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art > img {
  width: 252px;
  height: 252px;
  border-radius: 50%;
  box-shadow:
    0 0 0 23px #fceac2,
    0 0 0 24px #e4c5b3;
  transform: rotate(-10deg);
}
.float-label {
  position: absolute;
  bottom: 15px;
  right: 0;
  padding: 13px 18px;
  background: var(--paper);
  border-radius: 12px;
  box-shadow: 0 6px 15px #735f1815;
  font-size: 11px;
  transform: rotate(5deg);
}
.dots {
  display: flex;
  gap: 7px;
  position: absolute;
  bottom: 22px;
  left: 45px;
}
.dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  background: #b49c87;
}
.dots button.active {
  width: 23px;
  border-radius: 10px;
  background: var(--ink);
}
.home-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 23px;
  margin-top: 24px;
}
.upload {
  border: 1.5px dashed #85b7af;
  border-radius: 16px;
  background: #edf7f4;
  text-align: center;
  padding: 25px;
  cursor: pointer;
}
.upload.drag {
  background: #dfefea;
}
.upload .camera {
  font-size: 29px;
}
.upload h3 {
  margin: 10px 0 4px;
}
.upload p {
  font-size: 12px;
  color: #62746c;
  margin: 0 0 14px;
}
.tiny {
  font-size: 11px;
  color: #64716d;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 28px 0 15px;
}
.section-head h2 {
  font-size: 22px;
  margin: 0;
}
.text-link {
  background: none;
  font-size: 12px;
  border-bottom: 1px solid;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.card .visual {
  height: 150px;
  background: #dceee6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual img {
  height: 125px;
  width: 125px;
  border-radius: 50%;
  object-fit: cover;
}
.card-body {
  padding: 15px;
}
.card-body p {
  font-size: 12px;
  color: #64716d;
  margin: 5px 0;
}
.card-body h3 {
  font-size: 15px;
}
.tag {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
}
.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 23px;
  background: white;
  margin-bottom: 18px;
}
.dark {
  background: #244b40;
  color: white;
  border: 0;
}
.dark .tiny {
  color: #d5e6df;
}
.goal-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #ffffff25;
  font-size: 12px;
}
.goal-row:last-child {
  border-bottom: 0;
}
.goal-row span {
  flex: 1;
}
.goal-row small {
  color: #f9e8a8;
}
progress {
  width: 100%;
  height: 6px;
  accent-color: #f9e8a8;
  margin: 12px 0;
}
.fact {
  background: #f9e4e9;
}
.fact p {
  font-size: 13px;
}
.titlebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 27px;
}
.titlebar h1 {
  font-size: 38px;
  margin: 10px 0;
}
.titlebar p {
  color: #64716d;
  font-size: 14px;
}
.two {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 25px;
}
.collection {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}
.flower {
  text-align: center;
  padding: 15px 4px;
  border-radius: 12px;
  background: #f0f2f1;
}
.flower .bloom {
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #f7dfe7;
  font-size: 40px;
}
.flower b {
  display: block;
  font-size: 11px;
  min-height: 30px;
}
.flower button {
  font-size: 11px;
  background: transparent;
  padding: 8px;
  border-radius: 7px;
}
.flower.selected {
  outline: 2px solid #4e8e80;
}
.bouquet {
  min-height: 350px;
  background: #244b40;
  border-radius: 16px;
  padding: 25px;
  color: white;
  text-align: center;
}
.bouquet img {
  height: 220px;
  max-width: 100%;
  object-fit: contain;
}
.bouquet .flowers {
  font-size: 30px;
  min-height: 45px;
}
.list-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.list-row img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}
.list-row .grow {
  flex: 1;
}
.list-row p {
  margin: 4px 0;
  font-size: 12px;
  color: #64716d;
}
.list-row .btn {
  padding: 10px 13px;
}
.avatars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.avatars button {
  background: none;
  padding: 4px;
  border: 2px solid transparent;
  border-radius: 50%;
}
.avatars button.selected {
  border-color: #3d887a;
}
.avatars img {
  width: 100%;
  display: block;
  border-radius: 50%;
}
label {
  display: block;
  font-size: 12px;
  margin: 18px 0 7px;
}
input,
select {
  padding: 12px;
  border: 1px solid #cedbd5;
  border-radius: 8px;
  width: 100%;
  background: white;
}
input[type="checkbox"] {
  width: auto;
}
.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 600px;
  margin: 20px auto;
}
.room {
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: #f7e5a9;
  min-height: 150px;
  padding: 25px 12px;
  text-align: center;
}
.room.chosen {
  background: #a8d8cd;
}
.room b {
  display: block;
  font-size: 12px;
}
.room span {
  display: block;
  font-size: 26px;
  margin: 10px;
}
.notice {
  background: #edf0ef;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.map {
  height: 290px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      35deg,
      transparent 0 60px,
      #fff9 62px 69px,
      transparent 71px 120px
    ),
    repeating-linear-gradient(
      125deg,
      #deeee7 0 80px,
      #f8f9f7 82px 90px,
      #deeee7 92px 170px
    );
}
.map button {
  position: absolute;
  border-radius: 50%;
  background: #f8dda9;
  width: 32px;
  height: 32px;
  box-shadow: 0 3px 9px #0002;
}
.chart {
  height: 150px;
  display: flex;
  align-items: end;
  gap: 20px;
  margin: 20px 0 30px;
}
.bar {
  flex: 1;
  background: #8fc3b5;
  border-radius: 7px 7px 0 0;
  position: relative;
  min-width: 20px;
}
.bar span {
  position: absolute;
  bottom: -22px;
  font-size: 10px;
  width: 100%;
  text-align: center;
}
.stats {
  display: flex;
  gap: 30px;
  margin: 20px 0;
}
.stats b {
  font: 800 30px Outfit;
  display: block;
}
.stats small {
  font-size: 11px;
  color: #64716d;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
td,
th {
  text-align: left;
  padding: 13px;
  border-bottom: 1px solid var(--line);
}
.table-wrap {
  overflow: auto;
}
footer {
  border-top: 1px solid var(--line);
  max-width: 1240px;
  margin: auto;
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  font-size: 11px;
  color: #64716d;
}
footer small {
  width: 100%;
  font-size: 10px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 22px;
  background: #244b40;
  color: white;
  border-radius: 10px;
  font-size: 13px;
  display: none;
  z-index: 50;
  max-width: 90vw;
}
dialog {
  border: 0;
  border-radius: 18px;
  padding: 30px;
  width: 480px;
  max-width: 92vw;
  box-shadow: 0 20px 80px #0003;
}
dialog::backdrop {
  background: #10180b77;
}
.close {
  float: right;
  background: none;
  font-size: 25px;
}
.preview {
  max-height: 220px;
  width: 100%;
  object-fit: contain;
  border-radius: 12px;
}
.empty {
  text-align: center;
  padding: 40px;
}
.hidden {
  display: none !important;
}
@media (min-width: 1400px) {
  main {
    padding-top: 40px;
  }
}
@media (max-width: 1000px) {
  nav {
    gap: 15px;
  }
  nav a {
    font-size: 10px;
  }
  .home-grid {
    grid-template-columns: 1fr 270px;
  }
  .hero {
    padding: 32px;
  }
  .hero-art > img {
    width: 205px;
    height: 205px;
  }
  .collection {
    gap: 8px;
  }
}
@media (max-width: 760px) {
  header {
    padding: 18px 20px;
  }
  .brand {
    font-size: 24px;
  }
  .brand span {
    font-size: 8px;
  }
  .identity img {
    width: 39px;
    height: 39px;
  }
  .pollen {
    padding: 10px;
    font-size: 12px;
  }
  .pollen span {
    display: none;
  }
  #menu {
    display: block;
    background: none;
    font-size: 22px;
  }
  nav {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 10px 22px;
  }
  nav.open {
    display: grid;
  }
  nav a {
    font-size: 12px;
    padding: 12px;
  }
  main {
    padding: 24px 18px 40px;
  }
  .welcome p {
    font-size: 11px;
  }
  .hero {
    padding: 28px 24px 40px;
    grid-template-columns: 1fr;
    min-height: 510px;
  }
  .hero h1 {
    font-size: 40px;
    max-width: 280px;
  }
  .hero p {
    font-size: 13px;
  }
  .hero-art {
    height: 190px;
  }
  .hero-art > img {
    width: 145px;
    height: 145px;
    position: absolute;
    right: 30px;
    bottom: 5px;
  }
  .float-label {
    right: 0;
    bottom: -8px;
  }
  .dots {
    left: 24px;
    bottom: 20px;
  }
  .home-grid,
  .two {
    grid-template-columns: 1fr;
  }
  .cards {
    gap: 8px;
  }
  .card .visual {
    height: 105px;
  }
  .visual img {
    height: 85px;
    width: 85px;
  }
  .card-body {
    padding: 10px;
  }
  .card-body h3 {
    font-size: 12px;
  }
  .card-body p {
    font-size: 10px;
  }
  .titlebar {
    align-items: start;
  }
  .titlebar h1 {
    font-size: 30px;
  }
  .collection {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }
  .flower {
    padding: 10px 2px;
  }
  .flower .bloom {
    width: 45px;
    height: 45px;
    font-size: 28px;
  }
  .flower b,
  .flower button {
    font-size: 9px;
  }
  .panel {
    padding: 18px;
  }
  .list-row {
    gap: 10px;
  }
  .list-row img {
    width: 40px;
    height: 40px;
  }
  .list-row .btn {
    font-size: 10px;
    padding: 10px;
  }
  .room {
    min-height: 115px;
    padding: 18px 8px;
  }
  .room span {
    font-size: 20px;
  }
  footer {
    padding-bottom: 30px;
  }
  .hero .btn {
    position: relative;
    z-index: 1;
  }
  .titlebar .mode {
    white-space: nowrap;
  }
  .stats {
    gap: 20px;
  }
}

/* Soft meadow palette: blush, butter, teal, forest, and mist. */
header {
  background: #faf9f6;
}
nav {
  background: #f2f5f3;
  border-color: #e0e7e2;
}
nav a.active {
  color: #285d50;
  border-color: #77ad9e;
}
.hero {
  background: linear-gradient(115deg, #fbebbd 0%, #f9e9bc 55%, #f5dfe4 100%);
  border: 1px solid #eee1c7;
  border-radius: 26px;
}
.float-label {
  background: #fff8f9;
  color: #365d50;
  border: 1px solid #f0d8df;
  border-radius: 18px;
}
.btn {
  border-radius: 14px;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
}
.btn:hover {
  box-shadow: 0 3px 10px #244b4018;
}
.btn.light {
  background: #f7faf8;
  border-color: #dce7e1;
}
.btn.yellow {
  background: #f9e8a8;
  color: #244b40;
}
.panel,
.card {
  border-radius: 20px;
}
.upload {
  border-radius: 22px;
  background: #e7f3f0;
}
.upload .camera {
  color: #377f72;
}
.fact {
  background: #f9e4e9;
  border-color: #eed6df;
}
.dark {
  background: #2d5749;
  color: #fffdf5;
}
.bouquet {
  background: #2d5749;
  border-radius: 22px;
}
.bouquet img {
  mix-blend-mode: screen;
}
.flower:nth-child(3n + 1) {
  background: #f9e9ed;
}
.flower:nth-child(3n + 2) {
  background: #e5f1ed;
}
.flower:nth-child(3n) {
  background: #f7efd5;
}
.flower:nth-child(2n) .bloom {
  background: #d3e8e4;
}
.flower.selected {
  outline-color: #528d7e;
}
.avatars button.selected {
  background: #e2f1eb;
}
input:focus,
select:focus {
  outline: 2px solid #7baea2;
  outline-offset: 2px;
}
progress {
  accent-color: #b5d9c7;
}
footer {
  background: #f0f3f1;
  border-radius: 22px 22px 0 0;
}
dialog {
  background: #fffaf8;
}
/* Honeycomb house: room-scale decorating, with touch-friendly furniture. */
.hive-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.hive-sidebar {
  background: #eef3f2;
  padding: 18px;
  border-radius: 24px;
}
.hive-sidebar > .eyebrow {
  font-size: 9px;
  letter-spacing: 1.3px;
}
.hive-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 20px 0;
}
.room-tab {
  position: relative;
  min-width: 0;
  min-height: 126px;
  border: 2px solid transparent;
  background: #fff5d9;
  border-radius: 18px;
  padding: 12px 5px 8px;
  overflow: hidden;
}
.room-tab.active {
  border-color: #568c8e;
  background: #ffe1a6;
  box-shadow: 0 3px 0 #c7d8d5;
}
.room-tab b {
  display: block;
  font-size: 10px;
  line-height: 1.3;
  position: relative;
}
.room-tab small {
  display: block;
  font-size: 9px;
  margin-top: 4px;
  color: #716653;
}
.mini-window {
  position: absolute;
  color: #92bdc5;
  top: 0;
  left: 0;
  right: 0;
  font-size: 50px;
  opacity: 0.65;
}
.mini-furniture {
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: end;
  position: relative;
}
.mini-furniture svg {
  width: 42px;
  min-width: 0;
  height: 55px;
  margin-inline: -4px;
}
.mini-furniture > span {
  font-size: 24px;
  color: #bba578;
  padding-bottom: 15px;
}
.resident-card {
  padding-top: 12px;
  border-top: 1px solid #d8e2de;
}
.resident-card > .eyebrow {
  font-size: 9px;
}
.resident-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 15px 0;
}
.resident-list button {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #fffaf0;
  border-radius: 14px;
  padding: 10px;
  font-size: 12px;
}
.resident-list button span {
  font-size: 23px;
}
.resident-list button small {
  margin-left: auto;
}
.resident-card > .btn {
  font-size: 10px;
  padding: 10px;
  width: 100%;
}
.room-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.room-heading h2 {
  margin: 7px 0 0;
  font-size: 29px;
}
.room-saved {
  font-size: 10px;
  color: #618479;
}
.hive-interior {
  aspect-ratio: 1.5;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 32px;
  border: 8px solid #edc194;
  background: #fff0ca;
  box-shadow:
    0 6px 0 #d6ad86,
    0 12px 25px #715d4110;
}
.room-wall {
  position: absolute;
  inset: 0 0 35%;
  background:
    radial-gradient(circle at 8px 8px, #e7c99755 2px, transparent 3px) 0 0/24px
      24px,
    linear-gradient(110deg, #ffefca, #fff7df 55%, #ffe5b4);
  box-shadow:
    inset 26px 0 35px #c48d4920,
    inset -26px 0 35px #c48d4920;
}
.room-floor {
  position: absolute;
  inset: 64% 0 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 36px, #b5815e38 37px 39px),
    repeating-linear-gradient(
      90deg,
      #e8b883 0 95px,
      #f1c794 96px 193px,
      #c38f622b 194px 196px
    );
  transform-origin: top;
  box-shadow: inset 0 16px 30px #865c3422;
}
.baseboard {
  position: absolute;
  top: 62%;
  left: 0;
  right: 0;
  height: 3%;
  background: #e5ac76;
  border-block: 2px solid #ca9868;
}
.hex-window {
  position: absolute;
  top: 12%;
  width: 21%;
  height: 32%;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: #edb77d;
  padding: 9px;
  filter: drop-shadow(0 5px 0 #c18a56);
}
.window-left {
  left: 16%;
}
.window-right {
  right: 16%;
}
.window-landscape {
  height: 100%;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background:
    radial-gradient(ellipse at 30% 90%, #93bcb0 0 28%, transparent 29%),
    radial-gradient(ellipse at 90% 105%, #b3cdb6 0 40%, transparent 41%),
    radial-gradient(ellipse at 40% 28%, #fffdf4 0 12%, transparent 13%),
    linear-gradient(#bedfe6, #e5f2ed);
}
.hex-window:before {
  content: "";
  position: absolute;
  left: 47%;
  width: 6%;
  top: 0;
  bottom: 0;
  background: #ffe0a7;
  z-index: 1;
}
.hex-window:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 48%;
  height: 5%;
  background: #ffe0a7;
}
.wall-garland {
  position: absolute;
  top: 3%;
  width: 100%;
  text-align: center;
  color: #b48555;
  font-size: clamp(12px, 2vw, 23px);
  letter-spacing: 6px;
}
.room-sign {
  position: absolute;
  top: 49%;
  left: 35%;
  width: 30%;
  padding: 8px 4px;
  background: #fffaf0;
  border: 2px solid #e9bf92;
  border-radius: 30px;
  transform: rotate(-3deg);
  text-align: center;
  font-family: Outfit, sans-serif;
  font-size: clamp(9px, 1.4vw, 16px);
  color: #9b704d;
}
.placed-furniture {
  position: absolute;
  width: 25%;
  height: auto;
  aspect-ratio: 160/140;
  padding: 0;
  background: transparent;
  transform: translate(-50%, -90%);
  touch-action: none;
  user-select: none;
  cursor: grab;
  border-radius: 22%;
  outline: 2px solid transparent;
  outline-offset: 0;
}
.placed-furniture svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: scaleX(var(--flip, 1));
  pointer-events: none;
  filter: drop-shadow(0 3px 2px #73543612);
}
.placed-furniture.picked {
  outline: 2px dashed #588d95;
  background: #fff7d52b;
}
.placed-furniture:active {
  cursor: grabbing;
}
.placed-furniture:focus-visible {
  outline: 3px dashed #477f87;
}
.placed-furniture.is-rug {
  width: 34%;
}
.room-empty {
  position: absolute;
  top: 73%;
  width: 100%;
  text-align: center;
  color: #74573e;
  font-size: 14px;
  pointer-events: none;
}
.room-empty span {
  display: block;
  font-size: 11px;
  margin-top: 8px;
}
.decorate-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
  background: #e7efef;
  border-radius: 15px;
  padding: 12px 15px;
}
.decorate-toolbar > span {
  font-size: 12px;
}
.decorate-toolbar > div {
  display: flex;
  gap: 7px;
}
.decorate-toolbar .btn {
  font-size: 11px;
  padding: 9px 12px;
  white-space: nowrap;
}
button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  box-shadow: none;
}
.room-tip {
  margin: 12px 0 25px;
  line-height: 1.6;
}
.furniture-shop .section-head {
  align-items: center;
}
.furniture-shop .section-head h2 {
  margin: 7px 0 0;
}
.furniture-catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.furniture-product {
  padding: 12px;
  border: 1px solid #e7ddd0;
  border-radius: 20px;
  background: #fffaf0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.furniture-product:nth-child(3n + 2) {
  background: #edf3f3;
  border-color: #d9e5e5;
}
.product-art {
  height: 120px;
  display: flex;
  justify-content: center;
  background: radial-gradient(ellipse at center, #fce3b5 0, transparent 70%);
  margin-bottom: 5px;
}
.product-art svg {
  width: 135px;
  max-width: 100%;
  height: 100%;
}
.furniture-product h3 {
  font-size: 13px;
  line-height: 1.3;
  margin: 3px 0;
}
.furniture-product p {
  font-size: 10px;
  color: #77766d;
  margin: 5px 0 12px;
  flex: 1;
}
.furniture-product .btn {
  padding: 10px 4px;
  font-size: 10px;
}
@media (max-width: 1000px) {
  .hive-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
  }
  .hive-sidebar {
    padding: 12px;
  }
  .furniture-catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .decorate-toolbar {
    flex-wrap: wrap;
  }
  .room-sign {
    padding: 5px;
  }
  .product-art {
    height: 105px;
  }
}
@media (max-width: 760px) {
  .hive-layout {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .hive-sidebar {
    width: 100%;
    padding: 14px;
  }
  .hive-selector {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 12px 0;
  }
  .room-tab {
    min-height: 100px;
    padding-top: 5px;
  }
  .mini-furniture {
    height: 50px;
  }
  .room-tab b {
    font-size: 10px;
  }
  .resident-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  .resident-card > .eyebrow {
    width: 100%;
  }
  .resident-list {
    flex-direction: row;
    flex-wrap: wrap;
    margin: 5px 0;
    flex: 1;
  }
  .resident-card > .btn {
    width: auto;
  }
  .resident-list button {
    padding: 6px 10px;
    font-size: 10px;
  }
  .room-workspace {
    width: 100%;
    min-width: 0;
  }
  .room-heading h2 {
    font-size: 25px;
  }
  .room-saved {
    font-size: 9px;
    max-width: 85px;
    text-align: right;
  }
  .hive-interior {
    aspect-ratio: 1.18;
    border-width: 5px;
    border-radius: 24px;
  }
  .hex-window {
    width: 25%;
    height: 29%;
    padding: 6px;
    top: 14%;
  }
  .window-left {
    left: 12%;
  }
  .window-right {
    right: 12%;
  }
  .wall-garland {
    font-size: 14px;
    letter-spacing: 3px;
  }
  .placed-furniture {
    width: 29%;
  }
  .placed-furniture.is-rug {
    width: 38%;
  }
  .room-sign {
    width: 40%;
    left: 30%;
    font-size: 11px;
  }
  .room-empty {
    font-size: 12px;
  }
  .room-empty span {
    font-size: 10px;
    padding: 0 12px;
  }
  .decorate-toolbar {
    padding: 10px;
    margin-top: 17px;
  }
  .decorate-toolbar > span {
    font-size: 11px;
  }
  .furniture-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .product-art {
    height: 125px;
  }
  .furniture-product h3 {
    font-size: 14px;
  }
  .furniture-product .btn {
    font-size: 11px;
  }
  .furniture-shop .section-head {
    gap: 10px;
  }
  .furniture-shop .section-head h2 {
    font-size: 22px;
  }
  .furniture-shop .section-head > .tiny {
    white-space: nowrap;
  }
}
/* Community growth, field review, and the expanded honeycomb house. */
.mission-block {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px;
  background: #e6efea;
  border: 1px solid #d7e5dc;
  border-radius: 24px;
  padding: 30px;
  margin: 25px 0;
}
.mission-block h2 {
  margin-top: 13px;
  font-size: 29px;
}
.mission-block p {
  font-size: 13px;
  margin-bottom: 0;
}
.mission-points {
  display: grid;
  gap: 15px;
}
.mission-points article {
  border-left: 3px solid #a5c9b5;
  padding-left: 15px;
}
.mission-points b {
  font-size: 13px;
}
.mission-points p {
  margin: 5px 0;
  font-size: 12px;
}
.streak-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  background: #fff2d0;
  border: 1px solid #eadebf;
  border-radius: 24px;
  padding: 26px;
  margin: 24px 0;
}
.streak-panel h2 {
  margin-top: 12px;
}
.streak-panel p {
  font-size: 13px;
}
.streak-panel small {
  font-size: 10px;
  line-height: 1.6;
}
.login-track > small {
  display: block;
  margin-top: 10px;
  color: #68766c;
}
.login-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin: 13px 0;
}
.login-day {
  background: #fffaf0;
  border: 1px solid #e7dfcd;
  border-radius: 12px;
  text-align: center;
  padding: 8px 3px;
  color: #627467;
}
.login-day.current {
  background: #dfede6;
  border: 2px solid #709d8d;
}
.login-day b {
  display: block;
  font-size: 22px;
  margin: 6px 0;
}
.login-day span {
  display: block;
  font-size: 9px;
  line-height: 1.3;
  min-height: 24px;
}
.grow-banner {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 35px;
  border-radius: 24px;
  padding: 30px;
  background: #e7f1eb;
  align-items: center;
}
.grow-banner h2 {
  margin-top: 12px;
}
.grow-banner p {
  font-size: 13px;
  max-width: 550px;
}
.grow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0;
}
.grow-steps span {
  border: 1px solid #d5dfd7;
  border-radius: 20px;
  padding: 9px 12px;
  font-size: 10px;
  background: #fffdf5;
}
.grow-steps .done {
  background: #c8dfcf;
  border-color: #94b39d;
}
.seed-packet-art {
  width: 180px;
  max-width: 100%;
  background: #fff6dd;
  border: 2px solid #d7b78c;
  border-radius: 8px 8px 15px 15px;
  box-shadow: 7px 8px 0 #244b4010;
  padding: 17px;
  text-align: center;
  transform: rotate(5deg);
  margin: auto;
}
.seed-packet-art > span {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
}
.seed-packet-art svg {
  width: 100%;
  height: 140px;
}
.seed-packet-art > b {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  border-top: 1px dashed #bea482;
  padding-top: 10px;
}
.seed-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.seed-slot {
  padding: 20px 12px;
  background: #f2f3f0;
  border: 1px dashed #c7cfc7;
  border-radius: 18px;
  text-align: center;
}
.seed-slot h3 {
  font-size: 14px;
}
.seed-slot p {
  font-size: 11px;
  color: #6c776d;
}
.seed-slot .btn {
  font-size: 10px;
  padding: 10px;
}
.lock-glyph {
  font-size: 30px;
  color: #7c9888;
  display: block;
  margin-bottom: 10px;
}
.botanical-collection .flower {
  padding: 8px 4px;
}
.botanical-thumb {
  height: 110px;
  margin: auto;
}
.botanical-thumb svg {
  height: 100%;
  max-width: 100%;
}
.botanical-bouquet {
  position: relative;
  overflow: hidden;
}
.botanical-bouquet h2 {
  margin-top: 15px;
}
.live-bouquet {
  height: 300px;
  position: relative;
  margin: 0 0 20px;
}
.live-bouquet > div {
  position: absolute;
  width: 145px;
  height: 250px;
  left: calc(50% - 72px);
  bottom: 0;
  transform-origin: 50% 95%;
  transform: translateX(var(--shift)) rotate(var(--angle));
}
.live-bouquet svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(2px 2px 2px #132d2030);
}
.bouquet-bow {
  position: absolute;
  bottom: -13px;
  left: calc(50% - 35px);
  font-size: 70px;
  color: #ffe69b;
  line-height: 1;
}
.seed-collection-token {
  display: inline-flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  background: #fff2ce;
  color: #345747;
  border-radius: 9px;
  padding: 6px 10px;
  font-size: 12px;
  margin: 8px;
}
.seed-collection-token small {
  font-size: 9px;
}
.fact-flower {
  float: right;
  width: 110px;
}
.fact-flower svg {
  width: 100%;
}
.review-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 24px;
}
.review-overview article {
  background: #e8f0ec;
  border-radius: 18px;
  padding: 20px;
}
.review-overview b {
  font-size: 13px;
}
.review-overview p {
  font-size: 12px;
  margin-bottom: 0;
}
.review-checks {
  list-style: none;
  margin: 18px 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.6;
}
.review-checks li {
  margin: 8px 0;
  color: #397255;
}
.review-checks .pending {
  color: #886b35;
}
.review-state {
  color: #486f62 !important;
  font-weight: 700;
}
.demo-tools {
  border: 1px dashed #b7c4bb;
  border-radius: 16px;
  padding: 18px;
  margin: 20px 0;
  background: #f6f7f1;
  font-size: 12px;
}
.demo-tools summary {
  cursor: pointer;
  font-weight: 700;
}
.demo-tools .btn {
  margin-top: 8px;
}
.gift-history {
  margin-top: 18px;
  font-size: 12px;
}
.gift-history p {
  border-bottom: 1px solid #e0e8e0;
  padding-bottom: 10px;
}
.gift-history small {
  display: block;
  color: #728078;
}
.avatar-queue {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.avatar-queue > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}
.avatar-queue img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 50%;
}
.room-locked {
  background: #e9eeeb;
}
.room-locked .mini-window {
  opacity: 0.3;
}
.room-locked .mini-furniture span {
  font-size: 13px;
  font-weight: 700;
}
.starter-note {
  font-size: 10px;
  padding: 12px;
}
.locked-room-preview {
  background: linear-gradient(135deg, #fff0d2, #e7f0ee);
  border: 2px dashed #c3cfc3;
  border-radius: 30px;
  text-align: center;
  padding: 45px 25px;
  min-height: 480px;
}
.locked-room-preview p {
  font-size: 13px;
}
.locked-room-art {
  width: 200px;
  margin: 25px auto;
}
.locked-room-art svg {
  width: 100%;
}
.room-heading .btn {
  font-size: 10px;
  padding: 10px 12px;
}
.rarity {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: capitalize;
  border-radius: 20px;
  padding: 5px 9px;
  font-size: 9px;
  font-weight: 700;
  width: fit-content;
}
.rarity:before {
  content: "●";
  font-size: 7px;
}
.rarity.common {
  background: #e8eaea;
  color: #515d60;
}
.rarity.uncommon {
  background: #deedda;
  color: #35653b;
}
.rarity.rare {
  background: #dbeaf7;
  color: #2e5f8b;
}
.rarity.mythic {
  background: #f6dfe0;
  color: #9c3c44;
}
.rarity.legendary {
  background: #fff0b5;
  color: #7a5d19;
}
.rarity-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 15px 0;
}
.rarity-card-legendary {
  border: 2px solid #e4c45d !important;
}
.rarity-card-mythic {
  border-color: #d8a4a6;
}
.shop-tabs {
  display: flex;
  gap: 5px;
  padding: 5px;
  background: #e9efea;
  border-radius: 14px;
  margin: 14px 0;
}
.shop-tabs button {
  flex: 1;
  background: transparent;
  font-size: 12px;
  padding: 10px;
  border-radius: 10px;
}
.shop-tabs button.active {
  background: #fffdf6;
  box-shadow: 0 2px 4px #234c3b0d;
}
.wallpaper-shop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.wallpaper-shop article {
  border: 1px solid #dce6de;
  border-radius: 16px;
  padding: 12px;
  background: #fffdf6;
}
.wallpaper-shop h3 {
  font-size: 13px;
  margin-top: 12px;
}
.wallpaper-shop .btn {
  width: 100%;
  font-size: 10px;
  padding: 10px 5px;
}
.wallpaper-swatch {
  height: 100px;
  border-radius: 10px;
}
.wallpaper-swatch.wall-honey {
  background: #fff0ca;
}
.wallpaper-swatch.wall-daisy,
.wall-daisy .room-wall {
  background:
    radial-gradient(
        circle at 12px 12px,
        #edc77b 0 3px,
        #fffdf4 4px 8px,
        transparent 9px
      )
      0 0/38px 38px,
    #f7e1df;
}
.wallpaper-swatch.wall-teal,
.wall-teal .room-wall {
  background: repeating-linear-gradient(
    90deg,
    #c8dfdc 0 25px,
    #dcece5 25px 50px
  );
}
.wallpaper-swatch.wall-pink,
.wall-pink .room-wall {
  background:
    radial-gradient(ellipse at 12px 14px, #fff5ec 0 4px, transparent 5px) 0
      0/28px 28px,
    #efd4d6;
}
.wallpaper-swatch.wall-moon,
.wall-moon .room-wall {
  background:
    radial-gradient(circle at 20px 15px, #fae8ac 0 2px, transparent 3px) 0
      0/43px 37px,
    #6d879b;
}
.wall-moon .wall-garland {
  color: #fff2c5;
}
.outdoor-room .hex-window {
  display: none;
}
.outdoor-room .room-wall {
  background:
    radial-gradient(ellipse at 85% 12%, #fff6d6 0 9%, transparent 10%),
    linear-gradient(#cce8e9, #e6f2e6);
}
.outdoor-room .baseboard {
  height: 12%;
  top: 52%;
  background: repeating-linear-gradient(
    90deg,
    #e4c39c 0 18px,
    #f0dab7 19px 21px,
    transparent 22px 26px
  );
  border: 0;
}
.room-backyard .room-floor {
  background:
    radial-gradient(ellipse at 8px 8px, #c9dcb5 0 2px, transparent 3px) 0 0/21px
      17px,
    #adc79b;
}
.outdoor-room.wall-teal .room-wall {
  background: linear-gradient(#9bc8d8, #d8eade);
}
.outdoor-room.wall-pink .room-wall,
.outdoor-room.wall-daisy .room-wall {
  background: linear-gradient(#efc8d5, #fff0d4);
}
.outdoor-room.wall-moon .room-wall {
  background:
    radial-gradient(circle at 20px 15px, #fae8ac 0 2px, transparent 3px) 0
      0/43px 37px,
    #6d879b;
}
.room-bee {
  position: absolute;
  width: 16%;
  background: none;
  padding: 0;
  z-index: 50;
  filter: drop-shadow(0 6px 3px #42574718);
}
.room-bee svg {
  width: 100%;
}
.room-mate {
  position: absolute;
  top: 8%;
  right: 4%;
  width: 65px;
  padding: 5px;
  border-radius: 15px;
  background: #fffaf1e8;
  z-index: 10;
}
.room-mate img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}
.room-mate span {
  display: block;
  font-size: 8px;
}
.bee-roster {
  border: 1px solid #dde7df;
  border-radius: 24px;
  padding: 24px;
  background: #f0f5ee;
  margin-top: 30px;
}
.bee-roster .section-head {
  margin-top: 0;
}
.pet-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.pet-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fffaf0;
  border-radius: 18px;
  padding: 12px;
}
.pet-portrait {
  width: 95px;
  flex-shrink: 0;
}
.pet-portrait svg {
  width: 100%;
}
.pet-card h3 {
  font-size: 15px;
}
.pet-card small {
  font-size: 9px;
  color: #63776a;
}
.pet-card .btn {
  font-size: 9px;
  padding: 7px 9px;
  margin-top: 4px;
}
.pet-card progress {
  margin: 6px 0;
}
.food-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 18px;
  font-size: 12px;
}
.adopt-art {
  width: 70px;
}
.adopt-art svg {
  width: 100%;
}
.new-bee-art {
  width: 160px;
  margin: auto;
}
.new-bee-art svg {
  width: 100%;
}
.kit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.kit-scene {
  min-height: 440px;
  background:
    radial-gradient(ellipse at 40% 30%, #fff8df, transparent 60%), #e4ede3;
  border-radius: 30px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.kit-scene .seed-packet-art {
  width: 210px;
  margin: 0;
  transform: rotate(-9deg) translate(-25px, -30px);
}
.kit-scene .seed-packet-art svg {
  height: 180px;
}
.kit-pot {
  position: absolute;
  width: 190px;
  bottom: 30px;
  right: 15px;
}
.kit-pot svg {
  width: 100%;
}
.kit-price-bubble {
  position: absolute;
  right: 25px;
  top: 24px;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f7dfe4;
  border: 2px solid #e7c7ce;
  border-radius: 50%;
  font: 700 28px Outfit;
}
.kit-price-bubble small {
  font: 11px "DM Sans";
}
.kit-details {
  margin-bottom: 0;
}
.kit-details h2 {
  margin-top: 15px;
  font-size: 32px;
}
.kit-details p {
  font-size: 13px;
}
.kit-price {
  font: 700 32px Outfit !important;
}
.kit-price small {
  font: 12px "DM Sans";
  color: #6e7b71;
}
.kit-includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding-left: 18px;
  font-size: 12px;
}
.kit-details input {
  max-width: 110px;
  display: block;
}
.basket-panel {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.basket-panel p {
  font-size: 13px;
}
.basket-panel .tiny {
  font-size: 11px;
}
nav {
  gap: 19px;
}
nav a {
  font-size: 11px;
}
@media (max-width: 1050px) {
  .pet-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .streak-panel {
    grid-template-columns: 1fr;
  }
  .mission-block {
    gap: 20px;
  }
  nav {
    gap: 12px;
  }
  nav a {
    font-size: 10px;
  }
  .wallpaper-shop {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .mission-block,
  .kit-layout {
    grid-template-columns: 1fr;
  }
  .mission-block {
    padding: 22px;
    gap: 20px;
  }
  .mission-block h2 {
    font-size: 26px;
  }
  .streak-panel {
    padding: 20px;
    gap: 24px;
  }
  .login-days {
    gap: 4px;
  }
  .login-day {
    padding: 7px 2px;
  }
  .login-day small {
    font-size: 8px;
  }
  .login-day span {
    font-size: 8px;
  }
  .grow-banner {
    padding: 22px;
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .grow-banner > .seed-packet-art {
    display: none;
  }
  .seed-slots {
    grid-template-columns: repeat(2, 1fr);
  }
  .seed-slot {
    padding: 14px 10px;
  }
  .botanical-thumb {
    height: 82px;
  }
  .review-overview {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .review-overview article {
    padding: 15px;
  }
  .review-overview p {
    margin-top: 7px;
  }
  .pet-cards {
    grid-template-columns: 1fr;
  }
  .bee-roster {
    padding: 17px;
  }
  .bee-roster .section-head {
    gap: 10px;
  }
  .bee-roster h2 {
    font-size: 22px;
  }
  .bee-roster .section-head .btn {
    font-size: 10px;
    padding: 10px;
  }
  .pet-portrait {
    width: 90px;
  }
  .pet-card > div:last-child {
    flex: 1;
  }
  .pet-card .btn {
    font-size: 11px;
  }
  .food-row {
    flex-wrap: wrap;
  }
  .room-mate {
    width: 50px;
    right: 2%;
    top: 3%;
  }
  .room-mate img {
    width: 28px;
    height: 28px;
  }
  .room-heading {
    gap: 10px;
  }
  .room-heading .eyebrow {
    font-size: 8px;
  }
  .room-heading .btn {
    max-width: 135px;
  }
  .kit-scene {
    min-height: 350px;
  }
  .kit-scene .seed-packet-art {
    width: 170px;
  }
  .kit-pot {
    width: 150px;
  }
  .kit-price-bubble {
    width: 82px;
    height: 82px;
    font-size: 23px;
  }
  .kit-details h2 {
    font-size: 27px;
  }
  .basket-panel {
    align-items: start;
    gap: 20px;
    flex-direction: column;
  }
  nav a {
    font-size: 12px;
  }
  .locked-room-preview {
    min-height: 380px;
    padding: 28px 20px;
  }
  .room-sign {
    font-size: 10px;
  }
  .live-bouquet {
    height: 270px;
  }
}
.placed-furniture[data-pool] {
  width: 54%;
}
@media (prefers-reduced-motion: no-preference) {
  .room-bee {
    animation: bumble-hover 4s ease-in-out infinite;
  }
  .room-bee:nth-last-child(2) {
    animation-delay: -1.5s;
  }
  @keyframes bumble-hover {
    0%,
    100% {
      transform: translateY(0) rotate(-3deg);
    }
    50% {
      transform: translateY(-6px) rotate(2deg);
    }
  }
}
/* Selected sketch characters keep their original silhouettes and accessories. */
.drawn-bee {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.room-bee {
  width: 19%;
  aspect-ratio: 1.15;
}
.pet-portrait {
  height: 95px;
}
.new-bee-art {
  height: 160px;
  width: 190px;
}
.drawn-bee-shop {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.drawn-bee-shop article {
  padding: 10px 7px;
  border: 1px solid #dfdfd0;
  background: #fff8e8;
  border-radius: 16px;
  text-align: center;
}
.drawn-bee-shop article:nth-child(3n + 2) {
  background: #eaf3f0;
}
.drawn-bee-shop article:nth-child(3n) {
  background: #f9e9ec;
}
.drawn-bee-shop .adopt-art {
  width: 100%;
  height: 98px;
  margin: auto;
}
.drawn-bee-shop h3 {
  font-size: 12px;
  margin: 7px 0 2px;
}
.drawn-bee-shop p {
  font-size: 10px;
  margin: 5px 0 10px;
}
.drawn-bee-shop .btn {
  font-size: 10px;
  padding: 8px 12px;
}
@media (max-width: 450px) {
  .drawn-bee-shop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .room-bee {
    width: 22%;
  }
}
/* A living hive and its little food shop. */
.food-shop {
  margin-top: 24px;
  padding: 26px;
  border: 1px solid #d9e5df;
  background: #fcf8ed;
  border-radius: 25px;
}
.food-shop .section-head {
  margin-top: 0;
}
.food-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.food-products article {
  padding: 16px 12px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e8dfd0;
  text-align: center;
}
.food-products article:nth-child(2n) {
  background: #edf4ef;
}
.food-products h3 {
  font-size: 15px;
}
.food-products p {
  font-size: 12px;
}
.food-products small {
  font-size: 11px;
  color: #596c61;
}
.food-products .btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px 5px;
  font-size: 11px;
}
.food-art {
  width: 95px;
  height: 95px;
  margin: auto;
}
.food-art svg {
  width: 100%;
  height: 100%;
}
.food-count {
  color: #5e6e60;
}
.feed-preview {
  width: 120px;
  height: 120px;
}
.open-nectar-fridge {
  background: #e6f1ed;
  border: 12px solid #a7cecb;
  border-right: 22px solid #89b7b4;
  border-radius: 25px;
  box-shadow: inset 0 0 18px #4b857133;
  padding: 18px 12px;
  margin: 20px 0;
}
.fridge-light {
  width: 45px;
  height: 12px;
  margin: 0 auto 12px;
  background: #fff6c8;
  border-radius: 20px;
  box-shadow: 0 0 20px #ffde8d;
}
.fridge-shelf {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 7px solid #fffdf1;
  padding: 12px 0;
}
.fridge-shelf .food-art {
  width: 75px;
  height: 75px;
  flex-shrink: 0;
}
.fridge-shelf > div:last-child {
  flex: 1;
}
.fridge-shelf p {
  font-size: 12px;
}
.fridge-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.fridge-actions .btn {
  font-size: 10px;
  padding: 9px;
}
.feeding-choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.feed-pet-choice {
  padding: 12px;
  background: #fff0cf;
  border-radius: 18px;
}
.feed-pet-choice span {
  display: block;
  height: 85px;
}
.feed-pet-choice b,
.feed-pet-choice small {
  display: block;
  margin-top: 5px;
}
.feed-pet-choice:disabled {
  opacity: 0.5;
}
.wandering-bee {
  left: var(--bee-start);
  top: var(--bee-low);
  z-index: 100;
  animation: bee-wander var(--bee-duration) ease-in-out var(--bee-delay)
    infinite !important;
}
.wandering-bee:hover,
.wandering-bee:focus-visible {
  animation-play-state: paused !important;
}
.bee-eating {
  animation-play-state: paused !important;
}
.bee-eating > .drawn-bee {
  animation: bee-nibble 0.35s ease-in-out 12;
}
.bee-meal {
  position: absolute;
  width: 55%;
  left: 65%;
  top: 50%;
  pointer-events: none;
}
.bee-meal svg {
  width: 100%;
  filter: drop-shadow(0 3px 2px #4a4a3920);
}
.bee-meal b {
  display: block;
  background: #fff8da;
  border-radius: 12px;
  padding: 3px;
  font-size: 12px;
  color: #486e5e;
}
.room-bee:focus-visible {
  outline: 3px solid #488f85;
  border-radius: 50%;
}
@keyframes bee-wander {
  0%,
  100% {
    left: var(--bee-start);
    top: var(--bee-low);
    transform: rotate(-4deg);
  }
  30% {
    left: var(--bee-mid);
    top: var(--bee-high);
    transform: rotate(4deg);
  }
  60% {
    left: var(--bee-end);
    top: 43%;
    transform: rotate(-3deg);
  }
  80% {
    left: 40%;
    top: 52%;
    transform: rotate(3deg);
  }
}
@keyframes bee-nibble {
  50% {
    transform: translateY(3px) rotate(5deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .wandering-bee,
  .bee-eating > .drawn-bee {
    animation: none !important;
  }
}
@media (max-width: 760px) {
  .food-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .food-shop {
    padding: 17px;
  }
  .food-shop .section-head {
    flex-wrap: wrap;
  }
  .fridge-shelf .food-art {
    width: 54px;
    height: 54px;
  }
  .feeding-choices {
    grid-template-columns: repeat(2, 1fr);
  }
}
.food-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.food-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.food-products .food-art {
  width: 130px;
  height: 130px;
  max-width: 100%;
}
.bee-meal img {
  width: 100%;
  display: block;
}
.open-nectar-fridge {
  animation: fridge-open 0.2s ease-out;
}
@keyframes fridge-open {
  from {
    opacity: 0.5;
    transform: perspective(800px) rotateY(-8deg);
  }
  to {
    opacity: 1;
    transform: perspective(800px) rotateY(0);
  }
}
@media (max-width: 760px) {
  .food-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .open-nectar-fridge {
    animation: none;
  }
}
/* Bees move only when the player places them. */
.room-bee.manual-bee {
  animation: none !important;
  transform: none;
  touch-action: none;
  cursor: grab;
  z-index: 100;
  user-select: none;
}
.room-bee.manual-bee.bee-dragging {
  cursor: grabbing;
  z-index: 150;
  filter: drop-shadow(0 8px 5px #34564440);
}
/* Open appliance interior: recessed cabinet, glass shelves, crisper and door bins. */
dialog:has(.fridge-view) {
  width: 650px;
  max-height: 92dvh;
  overflow: auto;
  padding: 25px;
  background: #fffaf1;
}
.fridge-view h2 {
  margin: 8px 0;
}
.fridge-scene {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 5px;
  margin: 20px 0 24px;
  filter: drop-shadow(0 12px 10px #385c4520);
  align-items: stretch;
}
.fridge-cabinet {
  border: 13px solid #b8d7d1;
  border-right-width: 10px;
  border-radius: 25px 8px 8px 25px;
  background: #d5e5df;
  box-shadow:
    inset 0 0 0 3px #70968b,
    0 0 0 2px #8caf9f;
  padding: 6px;
}
.fridge-ceiling {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: linear-gradient(#becfc9, #eff5e8);
  border-radius: 8px 8px 0 0;
}
.fridge-bulb {
  display: block;
  width: 40px;
  height: 12px;
  background: #ffedab;
  border: 2px solid #fff6d8;
  border-radius: 10px;
  box-shadow: 0 0 20px 8px #fff2b877;
}
.fridge-dial {
  font-size: 9px;
  letter-spacing: 1px;
  color: #6f8b7e;
}
.fridge-back {
  padding: 5px 10px 12px;
  background: linear-gradient(
    90deg,
    #b6cbc3,
    #f5f7eb 13%,
    #f5f7eb 85%,
    #bed2ca
  );
  box-shadow: inset 0 10px 16px #779f8b25;
  border-radius: 0 0 12px 12px;
}
.glass-shelf {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-around;
  min-height: 126px;
  margin: 0 0 18px;
  border-bottom: 9px solid #e8f7ef;
  box-shadow:
    0 3px 0 #85b4a6,
    0 12px 10px -7px #53766f75;
}
.glass-shelf:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: #fffdf2;
}
.cold-food {
  position: relative;
  background: transparent;
  border: 0;
  padding: 6px 3px 2px;
  border-radius: 12px;
  min-width: 0;
  width: 47%;
  height: 119px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  cursor: pointer;
  transition: background 0.15s;
}
.cold-food img {
  height: 85px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 2px #405b3f30);
  display: block;
}
.cold-food-label {
  font-size: 9px;
  color: #466354;
  line-height: 1.2;
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cold-food.selected {
  background: #fff4c788;
  outline: 2px solid #e7c46c;
  outline-offset: -2px;
}
.cold-food:hover {
  background: #fff9dfaa;
}
.cold-food:focus-visible {
  outline: 3px solid #3d8577;
}
.cold-count {
  position: absolute;
  top: 5px;
  right: 2px;
  min-width: 20px;
  height: 20px;
  background: #ffe9ac;
  color: #365243;
  border: 1px solid #c6ae72;
  border-radius: 50%;
  font-size: 10px;
  display: grid;
  place-items: center;
}
.empty-food-place {
  width: 52px;
  height: 65px;
  border: 1px dashed #94b1a1;
  border-radius: 15px;
  color: #88a394;
  display: grid;
  place-items: center;
  font-size: 25px;
  margin: 10px 0 5px;
}
.crisper-drawer {
  height: 58px;
  border: 2px solid #b2cec1;
  border-top: 6px solid #f5fff5;
  background: linear-gradient(#dae9d8aa, #b6d6cacc);
  border-radius: 3px 3px 12px 12px;
  text-align: center;
  box-shadow: 0 5px 5px #54746420;
}
.crisper-drawer span {
  font-size: 8px;
  letter-spacing: 1px;
  color: #6f8f78;
  display: block;
  margin-top: 12px;
}
.crisper-drawer i {
  display: block;
  width: 45%;
  height: 7px;
  background: #a5c5b6;
  border: 2px solid #e3f2e2;
  border-radius: 6px;
  margin: 6px auto;
}
.fridge-open-door {
  border: 10px solid #b1d1c8;
  border-left: 7px solid #8fb5a7;
  border-radius: 7px 23px 23px 7px;
  background: #e6eee2;
  box-shadow:
    inset -4px 0 7px #7fa18a44,
    2px 0 0 #81a796;
  transform: perspective(900px) rotateY(-9deg);
  transform-origin: left center;
}
.door-seal {
  margin: 6px;
  padding: 12px 7px 15px;
  border: 3px solid #cbdcce;
  border-radius: 4px 12px 12px 4px;
  min-height: 100%;
  box-sizing: border-box;
}
.door-note {
  display: block;
  text-align: center;
  font: italic 12px Georgia;
  color: #8a7255;
  line-height: 1.4;
  margin: 0 0 15px;
}
.door-bin {
  position: relative;
  border-bottom: 20px solid #cadfd5;
  border-radius: 0 0 9px 9px;
  margin: 0 0 22px;
  box-shadow:
    0 3px 0 #8eb4a5,
    inset 0 -9px 6px #c7dbce;
}
.door-bin:after {
  content: "";
  position: absolute;
  bottom: -13px;
  left: 3px;
  right: 3px;
  height: 2px;
  background: #eaffed;
}
.door-bin .cold-food {
  width: 100%;
  height: 115px;
}
.door-bin .cold-food img {
  height: 83px;
}
.fridge-selection {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  background: #f4e9d7;
  border-radius: 20px;
}
.fridge-selection > .food-art {
  width: 65px;
  height: 75px;
  margin: 0;
  flex-shrink: 0;
}
.fridge-selection p {
  font-size: 12px;
  margin: 7px 0;
}
.fridge-selection .fridge-actions {
  margin-top: 10px;
}
.fridge-selection .btn {
  font-size: 11px;
}
.fridge-view > .tiny {
  line-height: 1.5;
}
@media (max-width: 450px) {
  dialog:has(.fridge-view) {
    padding: 20px 13px;
  }
  .fridge-cabinet {
    border-width: 8px;
    padding: 3px;
  }
  .fridge-back {
    padding: 3px 5px 8px;
  }
  .fridge-open-door {
    border-width: 6px;
  }
  .door-seal {
    margin: 3px;
    padding: 10px 3px;
  }
  .cold-food img {
    height: 68px;
  }
  .cold-food {
    height: 105px;
  }
  .glass-shelf {
    min-height: 110px;
  }
  .door-bin .cold-food img {
    height: 66px;
  }
  .door-bin .cold-food {
    height: 101px;
  }
  .cold-food-label {
    font-size: 8px;
  }
  .fridge-selection {
    padding: 10px;
    gap: 8px;
  }
  .fridge-selection > .food-art {
    width: 48px;
  }
  .fridge-actions .btn {
    font-size: 10px;
    padding: 8px;
  }
  .empty-food-place {
    width: 38px;
    height: 52px;
  }
}
.bee-sleep-label {
  position: absolute;
  right: -6%;
  top: -14%;
  display: block;
  background: #fff7dc;
  color: #557c83;
  border: 1px solid #bfd6d0;
  border-radius: 15px 15px 15px 3px;
  padding: 6px 10px;
  font: 700 20px Georgia;
  box-shadow: 0 3px 6px #35544418;
  pointer-events: none;
}
.bee-sleep-label span {
  display: block;
  font:
    10px "DM Sans",
    sans-serif;
  margin-top: 2px;
}
.bee-sleeping > .drawn-bee {
  filter: saturate(0.8);
  transform: rotate(-8deg);
}
.bee-dragging > .drawn-bee {
  transform: none;
}
/* A tucked-in bee sits behind the bed's cover; scenery follows sleeping residents. */
.sleep-bed-cover {
  position: absolute;
  width: 29%;
  aspect-ratio: 160/140;
  transform: translate(-50%, -90%);
  pointer-events: none;
  z-index: 101;
}
.sleep-bed-cover svg {
  display: block;
  width: 100%;
  height: 100%;
}
.bee-sleeping > .drawn-bee {
  transform: none;
  filter: saturate(0.85);
}
.sleepy-night .window-landscape {
  background:
    radial-gradient(circle at 72% 23%, #fff3bf 0 8%, transparent 9%),
    radial-gradient(circle at 25% 24%, #fff9dc 0 1.1%, transparent 2%),
    radial-gradient(circle at 48% 46%, #fff9dc 0 1%, transparent 1.8%),
    radial-gradient(circle at 82% 53%, #fff9dc 0 1.2%, transparent 2%),
    radial-gradient(circle at 37% 12%, #fff9dc 0 0.9%, transparent 1.8%),
    radial-gradient(ellipse at 30% 100%, #385f69 0 29%, transparent 30%),
    radial-gradient(ellipse at 90% 108%, #4a6d70 0 40%, transparent 41%),
    linear-gradient(#1e304f, #526487);
}
.sleepy-night .hex-window {
  filter: drop-shadow(0 0 8px #a8b9d333);
}
.room-energy {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 170px;
  max-width: 40%;
  z-index: 170;
  background: #fffdf0ed;
  border: 1px solid #cedccc;
  border-radius: 15px;
  padding: 10px 12px;
  box-shadow: 0 4px 10px #31543b16;
  backdrop-filter: blur(4px);
  color: #385c49;
}
.room-energy label {
  font-size: 8px;
  letter-spacing: 1px;
  margin: 0 0 3px;
  display: block;
}
.room-energy > b {
  font-size: 12px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.room-energy select {
  padding: 3px;
  font-size: 11px;
  margin: 0;
  background: #fffaf0;
}
.energy-meter {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 6px 0 2px;
}
.energy-meter progress {
  height: 8px;
  margin: 0;
  flex: 1;
  min-width: 0;
  accent-color: #76a990;
}
.energy-meter span {
  font-size: 10px;
}
.room-energy small {
  font-size: 9px;
}
.room-energy .energy-reminder {
  font-size: 10px;
  line-height: 1.35;
  margin: 6px 0 0;
  padding-top: 5px;
  border-top: 1px solid #e7dbb8;
  color: #806b3e;
}
.hive-interior .room-mate {
  right: auto;
  left: 5px;
}
@media (max-width: 450px) {
  .room-energy {
    width: 140px;
    padding: 7px 8px;
    top: 6px;
    right: 6px;
  }
  .room-energy .energy-reminder {
    font-size: 9px;
  }
}
/* Compact phone-style energy indicator. */
.hive-interior .room-energy {
  top: 9px;
  right: 12px;
  width: auto;
  max-width: 70px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  text-align: right;
}
.phone-battery-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 4px 5px 4px 3px;
  min-height: 30px;
  cursor: pointer;
}
.phone-battery {
  display: block;
  position: relative;
  width: 34px;
  height: 17px;
  border: 1.5px solid #426450;
  border-radius: 5px;
  padding: 2px;
  background: #fffdf1;
  box-sizing: border-box;
  isolation: isolate;
}
.phone-battery:after {
  content: "";
  position: absolute;
  right: -4px;
  top: 4px;
  width: 2px;
  height: 6px;
  background: #426450;
  border-radius: 0 2px 2px 0;
}
.battery-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: #9bc9a4;
  border-radius: 3px;
  z-index: -1;
}
.battery-low .battery-fill {
  background: #efbd7d;
}
.battery-charging .battery-fill {
  background: #a7d8cd;
}
.battery-number {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #284333;
  font: bold 10px/1 system-ui;
}
.battery-bee-name {
  display: block;
  font-size: 8px;
  max-width: 65px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #385c49;
}
.battery-nap {
  display: block;
  font-size: 9px;
  color: #806b3e;
  background: #fff3d6de;
  padding: 2px 5px;
  border-radius: 7px;
  white-space: nowrap;
}
.phone-battery-button:focus-visible {
  outline: 2px solid #508f7e;
  border-radius: 7px;
}
.hive-interior .room-energy {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 9px 12px;
  max-width: calc(100% - 24px);
  max-height: 125px;
  overflow: auto;
  padding: 4px 5px;
  right: 9px;
  top: 7px;
}
.bee-battery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 61px;
  flex-shrink: 0;
}
.bee-battery-item .phone-battery {
  width: 45px;
  height: 22px;
  border-radius: 6px;
}
.bee-battery-item .phone-battery:after {
  top: 6px;
  height: 8px;
}
.bee-battery-item .battery-number {
  font-size: 12px;
}
.bee-battery-item .battery-bee-name {
  font-size: 9px;
  width: 61px;
  text-align: center;
  text-shadow:
    0 1px 3px #fffdf3,
    0 -1px 3px #fffdf3;
}
.bee-battery-item .battery-nap {
  font-size: 8px;
  padding: 1px 4px;
}
.bee-battery-item .phone-battery:focus-visible {
  outline: 2px solid #508f7e;
  outline-offset: 3px;
}
.phone-battery.battery-low .battery-fill {
  background: #f3d260;
}
.phone-battery.battery-critical .battery-fill {
  background: #ed7772;
}
.bee-profile-editor {
  position: relative;
}
.bee-profile-delete {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: transparent;
  color: #935e55;
  font-size: 25px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
}
.bee-profile-delete:hover {
  background: #f6e1db;
}
.bee-profile-delete:focus-visible {
  outline: 2px solid #935e55;
  outline-offset: 2px;
}
dialog:has(.bee-profile-editor) > .close {
  display: none;
}
.pet-card {
  position: relative;
  padding-right: 29px;
}
.pet-card-delete {
  position: absolute;
  top: 4px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  color: #935e55;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}
.pet-card-delete:hover {
  background: #f4dfd9;
}
.pet-card-delete:focus-visible {
  outline: 2px solid #935e55;
  outline-offset: 2px;
}
.hive-back {
  margin-bottom: 16px;
}
.hive-home {
  background: #f1f5ed;
  border: 1px solid #dce6d9;
  border-radius: 26px;
  padding: 24px;
  margin-bottom: 25px;
}
.overview-tip {
  font-size: 12px;
  color: #526d5d;
  margin-bottom: 18px;
}
.hive-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}
.hive-home-room {
  border: 2px solid #d2dfd4;
  border-radius: 22px;
  background: #fffaf0;
  overflow: hidden;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.overview-open {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.overview-room-preview {
  height: 140px;
  position: relative;
  background: linear-gradient(#f7e8bf 0 65%, #d9bc91 65%);
  overflow: hidden;
}
.room-preview-kitchen {
  background: linear-gradient(#dbebe5 0 65%, #c4d1c5 65%);
}
.room-preview-living {
  background: linear-gradient(#f2dfe2 0 65%, #d8c4ad 65%);
}
.room-preview-patio,
.room-preview-backyard {
  background: linear-gradient(#cfe6eb 0 60%, #b6cea1 60%);
}
.overview-window {
  position: absolute;
  left: 18px;
  top: 4px;
  font-size: 62px;
  color: #a0c7c5;
  text-shadow: 2px 2px #fff4cf;
}
.overview-furnishings {
  position: absolute;
  bottom: 5px;
  left: 12px;
  right: 12px;
  height: 90px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.overview-furnishings svg {
  width: 32%;
  max-height: 90px;
}
.overview-room-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 15px;
  gap: 8px;
}
.overview-room-title h2 {
  font-size: 17px;
  margin: 0;
}
.overview-room-title > span {
  font-size: 10px;
  color: #5d816e;
}
.overview-residents {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 85px;
  padding: 3px 12px 12px;
}
.overview-bee {
  width: 71px;
  background: #f9eed7;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 4px;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.overview-bee img {
  height: 52px;
  pointer-events: none;
}
.overview-bee span {
  display: block;
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}
.overview-bee.selected {
  border-color: #5f9989;
  background: #dceee4;
}
.overview-empty {
  font-size: 11px;
  color: #829184;
  margin: auto;
}
.overview-move {
  margin: 0 12px 12px;
  font-size: 11px;
}
.overview-lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #edf0e4b8;
  font-size: 13px;
  color: #546c5b;
}
.room-drop-ready {
  border-color: #529e83;
  box-shadow: 0 0 0 4px #a7d8bc80;
}
.overview-drag-ghost {
  position: fixed;
  z-index: 9999;
  width: 84px;
  height: 84px;
  padding: 6px;
  background: #fff3d4dd;
  border-radius: 18px;
  pointer-events: none;
  box-shadow: 0 5px 16px #294e4033;
}
.overview-drag-ghost img {
  height: 58px;
}
.overview-drag-ghost span {
  display: block;
  font-size: 9px;
  overflow: hidden;
  white-space: nowrap;
}
.overview-bee:focus-visible,
.overview-open:focus-visible {
  outline: 3px solid #508f7e;
  outline-offset: -3px;
}
@media (max-width: 760px) {
  .hive-home {
    padding: 14px;
  }
  .hive-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .overview-room-preview {
    height: 110px;
  }
  .overview-room-title {
    padding: 10px;
  }
  .overview-room-title h2 {
    font-size: 14px;
  }
  .overview-room-title > span {
    font-size: 9px;
  }
  .overview-residents {
    padding: 0 6px 8px;
    gap: 4px;
  }
  .overview-bee {
    width: 61px;
  }
  .overview-bee img {
    height: 44px;
  }
  .overview-furnishings {
    height: 75px;
  }
  .overview-furnishings svg {
    max-height: 75px;
  }
}

.dining-treat {
  position: absolute;
  width: 13%;
  aspect-ratio: 1;
  border: 0;
  background: transparent;
  padding: 0;
  transform: translate(-50%, -50%);
  z-index: 110;
  cursor: grab;
  touch-action: none;
}
.dining-treat img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 4px 3px #58452b33);
}
.dining-treat:focus-visible {
  outline: 3px solid #32877b;
  border-radius: 16px;
}
.dining-treat:active {
  cursor: grabbing;
}
.placed-furniture {
  width: calc(25% * var(--item-scale, 1));
}
.placed-furniture.is-rug {
  width: calc(34% * var(--item-scale, 1));
}
.placed-furniture[data-pool] {
  width: calc(54% * var(--item-scale, 1));
}
.item-size-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 12px 0;
}
.item-size-controls > span {
  min-width: 44px;
  text-align: center;
  font-weight: 700;
}
@media (max-width: 700px) {
  .placed-furniture {
    width: calc(29% * var(--item-scale, 1));
  }
  .placed-furniture.is-rug {
    width: calc(38% * var(--item-scale, 1));
  }
  .placed-furniture[data-pool] {
    width: calc(54% * var(--item-scale, 1));
  }
}
.placed-furniture.lamp-on::before {
  content: "";
  position: absolute;
  inset: -40% -55% -15%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    #fff6b5aa 0%,
    #ffdc7855 35%,
    transparent 70%
  );
  pointer-events: none;
}
.placed-furniture.lamp-on svg {
  filter: drop-shadow(0 0 9px #ffe49c);
}
.hive-interior.lamp-lit .room-wall {
  box-shadow: inset 0 0 100px #ffe59966;
}
.hive-interior.lamp-lit .room-floor {
  box-shadow: inset 0 0 70px #ffdb7844;
}
.room-bee.bee-swimming > .drawn-bee {
  clip-path: inset(0 0 22% 0);
}
.bee-swim-label {
  position: absolute;
  top: 86%;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 7px;
  border-radius: 12px;
  background: #e5fbf7;
  color: #267578;
  font-size: 10px;
  white-space: nowrap;
  pointer-events: none;
}
.hive-night .overview-room-preview {
  background: linear-gradient(#34496a, #667b8e);
  border-color: #8496af;
}
.hive-night .overview-window {
  color: #fff2bc;
}
.hive-night .overview-room-preview::after {
  content: "☾ · ✦";
  position: absolute;
  top: 8px;
  right: 12px;
  color: #fff3c3;
  font-size: 20px;
  pointer-events: none;
}
.outdoor-room.sleepy-night .room-wall {
  background:
    radial-gradient(circle at 80% 20%, #fff4c9 0 5%, transparent 5.5%),
    radial-gradient(circle at 20% 23%, #f9f1ce 0 1px, transparent 2px),
    radial-gradient(circle at 58% 12%, #f9f1ce 0 1px, transparent 2px),
    linear-gradient(#253553, #526880);
}
.outdoor-room.sleepy-night .room-floor {
  filter: brightness(0.65) saturate(0.8);
}
.room-time-label {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 160;
  pointer-events: none;
  padding: 5px 9px;
  border-radius: 12px;
  background: #fff8dfeb;
  color: #665332;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 5px #26384b15;
}
.sleepy-night .room-time-label {
  background: #293b58ed;
  color: #fff0bc;
}

/* Let the pool sit low on the ground instead of using the upright furniture anchor. */
.placed-furniture[data-pool] {
  transform: translate(-50%, -72%);
}

.food-quantity {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  margin: 10px 0;
}
.food-quantity input {
  width: 76px;
  margin: 0;
  padding: 8px;
}
.dining-quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.dining-serving-count {
  position: absolute;
  right: 0;
  bottom: 0;
  background: #fff1b8;
  color: #244b40;
  border-radius: 12px;
  padding: 2px 6px;
  font-size: 12px;
  pointer-events: none;
}

.food-select-bar {
  width: 100%;
  margin: 10px 0;
}
.food-select-bar label {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
}
.food-select-bar > div {
  display: flex;
  gap: 10px;
  align-items: center;
}
.food-select-bar select {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 8px 10px;
  accent-color: #43877b;
}
.food-select-bar .btn {
  padding: 7px 12px;
}
.food-select-bar output {
  font-weight: 700;
}

.freezer-compartment {
  padding: 10px;
  margin: 6px 2px 15px;
  border: 4px solid #b2d5dd;
  border-radius: 15px;
  background: linear-gradient(135deg, #edfaff, #d8edf2);
  box-shadow:
    inset 0 3px 12px #759dac33,
    0 5px 0 #a3c6ce;
}
.freezer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #3b7384;
  font-size: 11px;
}
.freezer-heading span {
  font-size: 9px;
}
.freezer-shelf {
  display: flex;
  justify-content: center;
  padding: 8px 0;
  border-bottom: 5px solid #f5ffff;
}
.freezer-shelf .cold-food {
  width: 130px;
  max-width: 100%;
}
.freezer-shelf .cold-food img {
  height: 85px;
  object-fit: contain;
}
.oven-view {
  max-width: 530px;
  margin: auto;
}
.oven-appliance {
  max-width: 370px;
  margin: 20px auto;
  padding: 12px 15px;
  background: #f7cd98;
  border: 4px solid #6e6255;
  border-radius: 20px;
  box-shadow: 0 7px 0 #c4956d;
}
.oven-controls {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0 15px;
  font-size: 11px;
  color: #506a67;
}
.oven-controls i {
  width: 22px;
  height: 22px;
  border: 3px solid #6e6255;
  border-radius: 50%;
  background: #fff3ce;
}
.oven-cavity {
  height: 205px;
  position: relative;
  background: linear-gradient(#353d42, #586569);
  border: 8px solid #718b8d;
  border-radius: 12px;
  overflow: hidden;
}
.oven-cavity.oven-warm {
  background: radial-gradient(ellipse at 50% 40%, #d28b4c, #5b4841 75%);
}
.oven-bulb {
  position: absolute;
  right: 10px;
  top: 14px;
  width: 10px;
  height: 22px;
  border-radius: 8px;
  background: #ffeac0;
  box-shadow: 0 0 20px #ffdc89;
}
.oven-rack {
  position: absolute;
  inset: 62% 5% 22%;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 17px,
    #c3cdd0 18px 20px
  );
  border-block: 3px solid #b5c5ca;
  transform: skewX(-12deg);
}
.oven-pizza {
  position: absolute;
  inset: 7% 14% 10%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.oven-pizza img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.oven-empty {
  position: absolute;
  top: 38%;
  width: 100%;
  text-align: center;
  color: #e3e8dc;
  font-size: 13px;
}
.oven-open-door {
  height: 60px;
  margin-top: 8px;
  border: 5px solid #718b8d;
  border-radius: 10px;
  background: #aac9cd;
  transform: perspective(250px) rotateX(30deg);
  box-shadow: inset 0 0 0 7px #f5deb9;
}
.oven-open-door span {
  display: block;
  width: 55%;
  height: 7px;
  background: #6e6255;
  border-radius: 6px;
  margin: 32px auto 0;
}
.oven-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 15px 0;
}

.oven-door-closed {
  border: 12px solid #aac9cd;
  box-shadow: 0 0 0 4px #718b8d;
}
.oven-door-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, #d8f5ff44, #263a4655);
  border: 7px solid #f5deb9;
  z-index: 2;
}
.oven-door-glass:before {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  top: 7px;
  height: 10px;
  border-radius: 7px;
  background: #6e6255;
  box-shadow: 0 2px 0 #ffffff88;
}
.oven-door-closed .oven-pizza {
  opacity: 0.75;
}

.battery-empty-reminder {
  max-width: 125px;
  white-space: normal;
  text-align: center;
  color: #ad3e38;
  line-height: 1.25;
}

.pantry-view {
  max-width: 680px;
  margin: auto;
}
.pantry-cupboard {
  border: 9px solid #92bdbb;
  border-radius: 24px;
  background: #fff2ce;
  box-shadow: inset 0 0 0 4px #dfb686;
  padding: 12px;
}
.pantry-crown {
  text-align: center;
  padding: 10px;
  background: #7eabb1;
  border-radius: 12px;
  color: #fffdf3;
  font-weight: 700;
}
.pantry-shelves {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px 0;
}
.pantry-food {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border-bottom: 9px solid #e4b27b;
  background: #fff8e7;
  border-radius: 10px;
}
.pantry-food .food-art {
  width: 100px;
  height: 85px;
}
.pantry-food .btn {
  font-size: 12px;
  padding: 8px;
}
.pantry-food .food-quantity {
  max-width: 100%;
}
.pantry-empty {
  grid-column: 1/-1;
  padding: 30px;
  text-align: center;
}
.pantry-shortcut {
  margin-bottom: 12px;
}
@media (max-width: 420px) {
  .pantry-shelves {
    grid-template-columns: 1fr;
  }
}

/* Buttery-yellow pantry cabinet and shelves. */
.pantry-cupboard {
  border-color: #f0c45d;
  background: #fff0b5;
  box-shadow: inset 0 0 0 4px #e4b652;
}
.pantry-crown {
  background: #ffdc78;
  color: #57482d;
}
.pantry-food {
  border-bottom-color: #ebc365;
  background: #fff8db;
}

.room-bathroom .room-floor,
.room-preview-bathroom {
  background-color: #d8ece7;
  background-image:
    linear-gradient(#ffffff90 2px, transparent 2px),
    linear-gradient(90deg, #ffffff90 2px, transparent 2px);
  background-size: 36px 36px;
}
.room-bathroom .baseboard {
  background: #f5d47e;
}

/* Botanical wallpaper replaces the dotted patterns, keeping owned wallpaper IDs. */
.wall-daisy,
.hive-interior.wall-daisy .room-wall {
  background: url("assets/library/daisy.svg") repeat;
  background-size: 140px 140px;
}
.wall-teal,
.hive-interior.wall-teal .room-wall {
  background: url("assets/library/ivy.svg") repeat;
  background-size: 140px 140px;
}
.wall-pink,
.hive-interior.wall-pink .room-wall {
  background: url("assets/library/wildflower.svg") repeat;
  background-size: 140px 140px;
}
.wall-moon,
.hive-interior.wall-moon .room-wall {
  background: url("assets/library/moonflowers.svg") repeat;
  background-size: 140px 140px;
}
.wall-woodland,
.hive-interior.wall-woodland .room-wall {
  background: url("assets/library/woodland.svg") repeat;
  background-size: 140px 140px;
}
.room-preview-library {
  background: #e4ecd4 url("assets/library/ivy.svg") center/100px;
}
.room-library .room-floor {
  background: repeating-linear-gradient(
    90deg,
    #d8ad7c 0 38px,
    #c69a6c 39px 41px
  );
}
.room-library .baseboard {
  background: #99734d;
}

/* Only the flames flicker; the fireplace and mantel stay still. */
.hearth-flame {
  transform-box: view-box;
  transform-origin: 79px 114px;
  animation: hearth-flicker 1.4s ease-in-out infinite alternate;
}
.hearth-flame-inner {
  animation: hearth-flicker-inner 0.95s ease-in-out infinite alternate;
}
.hearth-glow {
  animation: hearth-glow 2.1s ease-in-out infinite alternate;
}
@keyframes hearth-flicker {
  0% {
    transform: scale(0.97, 0.94) skewX(-2deg);
  }
  50% {
    transform: scale(1.02, 1.03) skewX(1deg);
  }
  100% {
    transform: scale(0.99, 0.98) skewX(2deg);
  }
}
@keyframes hearth-flicker-inner {
  from {
    transform: scale(0.96, 0.93) skewX(2deg);
  }
  to {
    transform: scale(1.03, 1.04) skewX(-2deg);
  }
}
@keyframes hearth-glow {
  from {
    opacity: 0.12;
  }
  to {
    opacity: 0.3;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hearth-flame,
  .hearth-flame-inner,
  .hearth-glow {
    animation: none;
  }
}

.inventory-open {
  margin: 20px 0;
}
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.inventory-piece {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px;
  background: #fff4d4;
  border: 1px solid #e5cf92;
  border-radius: 16px;
  color: #35483d;
}
.inventory-art {
  display: block;
  width: 130px;
  max-width: 100%;
  margin: 0 auto;
}
.inventory-art svg {
  display: block;
  width: 100%;
  height: 115px;
}
.inventory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.bee-bathing > .drawn-bee {
  clip-path: inset(0 0 24% 0);
}
.bath-bubbles {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 15%;
  height: 24%;
  pointer-events: none;
  display: flex;
  align-items: end;
  justify-content: center;
}
.bath-bubbles i {
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #92cad1;
  background: #eefcffdc;
  margin-left: -5%;
  box-shadow: inset 2px 2px #fff;
  animation: bath-bob 2.6s ease-in-out infinite alternate;
}
.bath-bubbles i:nth-child(2n) {
  width: 32%;
  animation-delay: -1.2s;
}
.bath-bubbles i:nth-child(3) {
  align-self: start;
  animation-delay: -0.6s;
}
@keyframes bath-bob {
  to {
    translate: 0 -3px;
  }
}
.placed-furniture.cozy-fire-glow:before {
  content: "";
  position: absolute;
  inset: 15% -35% -20%;
  background: radial-gradient(
    ellipse at 50% 65%,
    #ffc55c85 0%,
    #ffbf4440 38%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: cozy-firelight 3s ease-in-out infinite alternate;
}
.hearth-lit .room-floor {
  box-shadow: inset 0 0 70px #ffc26738;
}
.hearth-fire {
  filter: drop-shadow(0 0 3px #ffb739);
}
@keyframes cozy-firelight {
  from {
    opacity: 0.65;
  }
  to {
    opacity: 0.95;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bath-bubbles i,
  .placed-furniture.cozy-fire-glow:before {
    animation: none;
  }
}
.wall-lavender,
.hive-interior.wall-lavender .room-wall {
  background: url("assets/library/lavender.svg") repeat;
  background-size: 140px 140px;
}
.wall-sunflowers,
.hive-interior.wall-sunflowers .room-wall {
  background: url("assets/library/sunflowers.svg") repeat;
  background-size: 140px 140px;
}
.wall-rose-garden,
.hive-interior.wall-rose-garden .room-wall {
  background: url("assets/library/rose-garden.svg") repeat;
  background-size: 140px 140px;
}

/* Bee fact card: shown after each purchase (bee-facts.js) */
.bee-fact {
  position: fixed;
  inset: auto auto 88px 20px;
  margin: 0;
  width: min(380px, calc(100vw - 40px));
  padding: 18px 44px 16px 18px;
  background: #fffdf3;
  color: var(--ink);
  border: 2px solid #f1d27a;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(36, 75, 64, 0.18);
  z-index: 60;
  animation: bee-fact-in 0.35s ease-out;
}
.bee-fact[hidden] {
  display: none;
}
.bee-fact-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.bee-fact-icon {
  font-size: 22px;
}
.bee-fact-eyebrow {
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #8a6a12;
}
.bee-fact-text {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.5;
}
.bee-fact-source {
  font-size: 12px;
  color: var(--green);
  text-decoration: underline;
}
.bee-fact-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  font-size: 22px;
  line-height: 1;
}
.bee-fact-close:hover {
  background: var(--yellow);
}
@keyframes bee-fact-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bee-fact {
    animation: none;
  }
}
@media (max-width: 600px) {
  .bee-fact {
    inset: auto 12px 84px 12px;
    width: auto;
  }
}
.bee-fact.bee-fact-inline {
  position: static;
  width: auto;
  margin: 20px 0 0;
  padding: 16px 18px 14px;
  box-shadow: none;
}
