/* A shared wallet and navigation surround five independent game pages. */
.game-nav { display: flex; gap: 7px; padding-top: 20px; }
.game-nav a { display: flex; align-items: center; gap: 9px; min-width: 107px; padding: 11px 19px; border: 1px solid transparent; border-radius: 12px; color: #9b896b; font-size: 13px; }
.game-nav a:hover { background: #f1ebd9; }
.game-nav a[aria-current="page"] { background: #f4e8bf; border-color: #e5d4a4; color: #80632e; font-weight: 600; }
.nav-symbol { font-size: 22px; width: 23px; height: 24px; line-height: 24px; text-align: center; color: #c4a360; }
.nav-bee { width: 25px; height: 25px; object-fit: contain; }
.game-nav small { color: #b69c6b; font-size: 9px; margin-left: 3px; }
.intro { padding-top: 25px; padding-bottom: 26px; }
#page-title:focus { outline: none; }
.game-page { min-height: 370px; }
.forage-help { margin-top: 10px; justify-content: center; font-size: 11px; padding: 10px 8px; background: #eef1df; border-color: #d6dfbd; color: #71834e; }
.garden-shortcuts { display: grid; gap: 9px; }
.garden-shortcuts a { display: flex; gap: 12px; align-items: center; background: #f4f2e5; border: 1px solid var(--border); border-radius: 14px; padding: 13px 16px; }
.garden-shortcuts a:hover { background: #edecd9; }
.garden-shortcuts a > span { color: #c1a164; font-size: 27px; width: 29px; text-align: center; }
.garden-shortcuts a > div { flex: 1; }
.garden-shortcuts strong { display: block; font-size: 11px; font-weight: 600; }
.garden-shortcuts small { display: block; font-size: 9px; color: #ab9a7d; margin-top: 5px; }
.garden-shortcuts b { color: #b5a37b; font-size: 16px; font-weight: 400; }
.shop-page .bottom-cards { margin-top: 0; }
.shop-supply { margin-top: 20px; padding: 24px; max-width: 640px; background: #f0f2e2; }
.shop-supply h3 { font-size: 15px; }
.shop-supply p { font-size: 11px; line-height: 1.7; }
.shop-supply .nectar-illustration { font-size: 49px; width: 60px; }
.shop-supply button { padding: 12px 18px; }
.colony-page-heading { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.page-tip { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 16px 20px; color: #a19070; font-size: 11px; }
.page-tip > span { color: #c1a465; font-size: 24px; }
.page-tip p { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; line-height: 1.8; }
.page-tip a { color: #849366; text-decoration: underline; text-underline-offset: 4px; }
.bed-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.bed-overview button { border: 1px solid #e5e4cd; background: linear-gradient(150deg, #f4f5e6, #fffdf4); border-radius: 19px; padding: 18px 15px; color: var(--ink); }
.bed-overview button[aria-pressed="true"] { border-color: #ddc684; background: linear-gradient(150deg, #f5edcb, #fff9e4); box-shadow: 0 0 0 2px #f0e2b66b; }
.bed-preview { height: 110px; display: grid; place-items: center; margin-bottom: 12px; }
.bed-preview img { width: 110px; height: 110px; object-fit: contain; filter: drop-shadow(2px 5px 4px #8b9a542b); }
.bed-preview i { width: 85px; height: 69px; border: 1px dashed #b6bd90; border-radius: 50%; display: grid; place-items: center; color: #a8b27f; font-size: 30px; font-style: normal; }
.bed-overview strong { display: block; font-size: 13px; }
.bed-overview small { display: block; font-size: 10px; color: #9b9978; margin-top: 8px; }
.bed-overview button.growing img { transform: scale(.7); }
.bed-overview button.depleted img { filter: saturate(.55) drop-shadow(2px 5px 4px #8b9a542b); }

@media (max-width: 920px) {
  .game-nav { gap: 4px; }
  .game-nav a { min-width: 90px; padding: 10px 13px; font-size: 12px; }
}
@media (max-width: 760px) {
  .page { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .game-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 7px max(8px, calc((100vw - 590px) / 2)) calc(7px + env(safe-area-inset-bottom)); gap: 3px; border-top: 1px solid #e6dcc2; background: #fffdf4f5; box-shadow: 0 -5px 24px #78633810; backdrop-filter: blur(10px); }
  .game-nav a { flex-direction: column; justify-content: center; min-width: 0; padding: 5px 4px; gap: 3px; border-radius: 11px; font-size: 10px; position: relative; }
  .game-nav small { position: absolute; top: 5px; right: 3px; font-size: 7px; background: #f8edd4; border-radius: 5px; padding: 1px 3px; }
  .nav-symbol { font-size: 21px; height: 24px; }
  .nav-bee { width: 24px; height: 24px; }
  .intro { padding-top: 22px; padding-bottom: 22px; }
  .intro-copy { max-width: 100%; }
  .game-page { min-height: 300px; }
  .garden-shortcuts { grid-template-columns: 1fr 1fr; gap: 9px; }
  .garden-shortcuts a { gap: 8px; padding: 12px 10px; }
  .garden-shortcuts a > span { width: 22px; font-size: 23px; }
  .garden-shortcuts strong { font-size: 10px; }
  .garden-shortcuts small { font-size: 8px; line-height: 1.6; }
  .garden-shortcuts b { display: none; }
  .bed-overview { gap: 8px; margin-bottom: 17px; }
  .bed-overview button { padding: 12px 5px; border-radius: 14px; }
  .bed-preview { height: 67px; margin-bottom: 8px; }
  .bed-preview img { width: 69px; height: 67px; }
  .bed-preview i { width: 53px; height: 43px; font-size: 23px; }
  .bed-overview strong { font-size: 10px; }
  .bed-overview small { font-size: 8px; margin-top: 6px; line-height: 1.7; }
  .nursery-intro { align-items: center; flex-wrap: nowrap; gap: 10px; }
  .nursery-intro > div:first-child { flex-basis: auto; }
  .nursery-intro h3 { font-size: 13px; }
  .water-button { font-size: 9px; padding: 9px 8px; }
  .water-button small { margin-left: 4px; }
  .page-tip { padding: 10px 8px; gap: 10px; font-size: 10px; margin-top: 15px; }
  .page-tip p { gap: 8px; }
  .shop-supply { margin-top: 15px; padding: 19px 16px; gap: 10px; }
  .shop-supply h3 { font-size: 13px; }
  .shop-supply p { font-size: 9px; }
  .shop-supply .nectar-illustration { width: 33px; font-size: 32px; }
  .shop-supply button { flex-direction: column; padding: 10px 13px; gap: 5px; }
  .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .colony-page-heading { justify-content: flex-start; }
}
