:root {
  color-scheme: light;
  --game-bg-image: url("assets/garden-background.webp?v=20260702-12");
  --sky-top: #69d7ff;
  --sky-bottom: #c7f8ff;
  --grass-a: #75db5f;
  --grass-b: #35ad4c;
  --leaf: #36c85f;
  --leaf-dark: #1f9b4b;
  --accent: #f9cf43;
  --trunk: #9a6535;
  --ink: #23402d;
  --muted: #5d795f;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --shadow: 0 18px 42px rgba(30, 101, 48, 0.22);
  --shadow-soft: 0 10px 24px rgba(30, 101, 48, 0.16);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.seed-card-gratis,
.chest-seed-item-gratis,
.tree-gratis {
  --leaf: #8bea49;
  --leaf-dark: #31a946;
  --accent: #fff36d;
  --trunk: #a8682f;
}

.seed-card-verde,
.chest-seed-item-verde,
.tree-verde {
  --leaf: #39cf62;
  --leaf-dark: #19964a;
  --accent: #fff06a;
  --trunk: #9b6334;
}

.seed-card-azul,
.chest-seed-item-azul,
.tree-azul {
  --leaf: #47b8ff;
  --leaf-dark: #1d69d4;
  --accent: #baf3ff;
  --trunk: #8a6a43;
}

.seed-card-dourada,
.chest-seed-item-dourada,
.tree-dourada {
  --leaf: #ffd84f;
  --leaf-dark: #e09118;
  --accent: #fff8a6;
  --trunk: #9a6734;
}

.seed-card-rosa,
.chest-seed-item-rosa,
.tree-rosa {
  --leaf: #ff86bb;
  --leaf-dark: #d9488e;
  --accent: #fff0f8;
  --trunk: #93603d;
}

.seed-card-cristal,
.chest-seed-item-cristal,
.tree-cristal {
  --leaf: #8cf2df;
  --leaf-dark: #20a9bc;
  --accent: #e7ffff;
  --trunk: #7876a7;
}

.seed-card-fogo,
.chest-seed-item-fogo,
.tree-fogo {
  --leaf: #ff7a35;
  --leaf-dark: #d53421;
  --accent: #ffe058;
  --trunk: #74381f;
}

.seed-card-gelo,
.chest-seed-item-gelo,
.tree-gelo {
  --leaf: #bff5ff;
  --leaf-dark: #58aee7;
  --accent: #ffffff;
  --trunk: #6e8bb0;
}

.seed-card-magica,
.chest-seed-item-magica,
.tree-magica {
  --leaf: #8c6cff;
  --leaf-dark: #4d33c7;
  --accent: #ffddff;
  --trunk: #7a4e8c;
}

.seed-card-lunar,
.chest-seed-item-lunar,
.tree-lunar {
  --leaf: #6e7dff;
  --leaf-dark: #343b8f;
  --accent: #f5f0b8;
  --trunk: #61567c;
}

.seed-card-real,
.chest-seed-item-real,
.tree-real {
  --leaf: #2fc783;
  --leaf-dark: #146342;
  --accent: #ffd95c;
  --trunk: #8d552c;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  background:
    linear-gradient(180deg, rgba(12, 105, 179, 0.06), rgba(24, 127, 55, 0.12)),
    var(--game-bg-image) center center / cover no-repeat,
    linear-gradient(180deg, #75dfff 0%, #c9f8ff 50%, #6bd65c 100%);
  background-attachment: fixed, fixed, fixed;
}

body::before {
  display: none;
}

body::after {
  display: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:focus-visible {
  outline: 4px solid rgba(255, 221, 64, 0.85);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, #8de25f, #44bd62);
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}

.loading-screen.is-hidden {
  display: none;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.loading-card {
  width: min(300px, 82vw);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(18px);
}

.loading-tree {
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  border-radius: 50% 50% 46% 46%;
  background:
    radial-gradient(circle at 31% 28%, #dfffc6 0 13%, transparent 14%),
    radial-gradient(circle at 60% 22%, #baff79 0 19%, transparent 20%),
    radial-gradient(circle at 49% 55%, #27b85d 0 45%, transparent 46%);
  filter: drop-shadow(0 13px 14px rgba(39, 119, 43, 0.2));
  animation: bob 1.4s var(--ease) infinite alternate;
}

.loading-title {
  height: 22px;
  border-radius: 999px;
  color: transparent;
  background: rgba(255, 255, 255, 0.65);
}

.loading-bar {
  height: 12px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(52, 132, 50, 0.16);
}

.loading-bar span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffe971, #ffbc2d);
  animation: loadingSlide 1s ease-in-out infinite;
}

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: shimmer 1.35s infinite;
}

.world-decor {
  display: none;
}

.cloud,
.mini-cloud,
.stage-cloud {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    22px 2px 0 rgba(255, 255, 255, 0.78),
    46px 11px 0 rgba(255, 255, 255, 0.7),
    13px 15px 0 rgba(255, 255, 255, 0.66);
}

.cloud-one {
  top: 12svh;
  left: 6vw;
  width: 70px;
  height: 24px;
  animation: drift 20s linear infinite;
}

.cloud-two {
  top: 19svh;
  right: 13vw;
  width: 92px;
  height: 28px;
  animation: drift 28s linear infinite reverse;
}

.cloud-three {
  top: 7svh;
  right: 38vw;
  width: 52px;
  height: 18px;
  opacity: 0.72;
  animation: drift 24s linear infinite;
}

.hill {
  position: absolute;
  bottom: 24svh;
  width: 52vw;
  height: 18svh;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, rgba(139, 226, 105, 0.7), rgba(69, 180, 77, 0.68));
}

.hill-one {
  left: -18vw;
}

.hill-two {
  right: -18vw;
  bottom: 22svh;
}

.game-shell {
  width: min(1180px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: 14px 14px 28px;
}

.topbar {
  position: sticky;
  top: 10px;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.52)),
    rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 38px rgba(28, 105, 65, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.brand-button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.brand-mark {
  display: grid;
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 16px;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.85), transparent 24%),
    linear-gradient(135deg, #efffd9, #7deb67);
  box-shadow: inset 0 -5px 0 rgba(25, 132, 47, 0.12), 0 10px 18px rgba(34, 119, 44, 0.16), 0 0 0 5px rgba(114, 225, 90, 0.12);
}

.brand-tree-icon,
.button-seed-icon {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 30px;
}

.brand-tree-icon::before,
.button-seed-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 9px;
  height: 18px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(90deg, #7a461e, #bc7a34 52%, #6d3c1b);
  transform: translateX(-50%);
}

.brand-tree-icon::after,
.button-seed-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 30px;
  height: 24px;
  border-radius: 48% 52% 46% 54%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.58), transparent 18%),
    radial-gradient(circle at 35% 62%, #2aa84e 0 18%, transparent 19%),
    linear-gradient(135deg, #9cff55, #28bd58 62%, #168a3c);
  box-shadow: inset 0 -5px 0 rgba(20, 95, 37, 0.12), 0 6px 10px rgba(27, 103, 42, 0.18);
  transform: translateX(-50%);
}

.brand-tree-icon {
  width: 38px;
  height: 38px;
  background: url("assets/brand-tree-real-v2.webp?v=20260703-3") center bottom / contain no-repeat;
  filter: drop-shadow(0 7px 7px rgba(26, 101, 37, 0.24));
}

.brand-tree-icon::before,
.brand-tree-icon::after {
  display: none;
}

.button-seed-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: url("assets/seed-verde.png?v=20260703-3") center / contain no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 5px 5px rgba(32, 103, 23, 0.22));
  transform: rotate(-7deg);
}

.button-seed-icon::before,
.button-seed-icon::after {
  display: none;
}

.brand-button strong,
.brand-button small {
  display: block;
  line-height: 1.02;
}

.brand-button strong {
  font-size: 1rem;
}

.brand-button small {
  color: var(--muted);
  font-size: 0.72rem;
}

.coin-wallet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 86px;
  min-height: 45px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 225, 91, 0.72);
  border-radius: 999px;
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.86), transparent 20%),
    linear-gradient(180deg, #fff8a7, #ffd54b);
  box-shadow: inset 0 -4px 0 rgba(204, 138, 0, 0.16), 0 12px 20px rgba(191, 143, 23, 0.18), 0 0 18px rgba(255, 218, 73, 0.34);
  color: #67450b;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), filter 0.18s var(--ease);
}

.coin-wallet:hover {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.08);
  box-shadow: inset 0 -4px 0 rgba(204, 138, 0, 0.16), 0 16px 24px rgba(191, 143, 23, 0.22), 0 0 22px rgba(255, 218, 73, 0.44);
}

.wallet-copy {
  display: grid;
  gap: 1px;
  line-height: 1;
  text-align: left;
}

.wallet-copy small {
  color: rgba(103, 69, 11, 0.72);
  font-size: 0.62rem;
  font-weight: 900;
}

.wallet-copy strong {
  font-size: 0.94rem;
}

.settings-glyph {
  position: relative;
  display: block;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 22%, transparent 23%),
    conic-gradient(from 0deg, #2f8742 0 12%, transparent 12% 20%, #2f8742 20% 32%, transparent 32% 40%, #2f8742 40% 52%, transparent 52% 60%, #2f8742 60% 72%, transparent 72% 80%, #2f8742 80% 92%, transparent 92%);
  filter: drop-shadow(0 2px 0 rgba(31, 92, 41, 0.12));
}

.settings-glyph::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 3px solid #2f8742;
  border-radius: 50%;
}

.account-button {
  display: inline-flex;
  width: auto;
  min-width: 86px;
  gap: 7px;
  padding: 0 12px;
  color: #184f2a;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.95), transparent 24%),
    linear-gradient(180deg, #ffffff, #eaffdf 58%, #b8f49e);
  box-shadow:
    inset 0 -4px 0 rgba(35, 128, 47, 0.1),
    0 12px 22px rgba(25, 105, 44, 0.16),
    0 0 0 4px rgba(119, 230, 98, 0.1);
}

.account-glyph {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 0;
  background: url("assets/ui-account-icon-v3.webp?v=20260702-12") center / contain no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 5px 6px rgba(26, 104, 44, 0.2));
}

.account-glyph::after {
  display: none;
}

.account-button-copy {
  position: relative;
  z-index: 1;
  line-height: 1;
}

.treasure-button {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 24;
  display: grid;
  width: 74px;
  height: 74px;
  gap: 2px;
  place-items: center;
  padding: 7px 5px 6px;
  border: 2px solid rgba(255, 235, 111, 0.82);
  border-radius: 24px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.9), transparent 22%),
    linear-gradient(145deg, #fff06d, #ffb12f 55%, #e17422);
  box-shadow:
    inset 0 -6px 0 rgba(133, 75, 8, 0.18),
    0 16px 28px rgba(116, 76, 14, 0.22),
    0 0 26px rgba(255, 223, 70, 0.36);
  color: #6d3d06;
  font-size: 0.72rem;
  font-weight: 1000;
  animation: treasurePulse 2.8s ease-in-out infinite;
}

.treasure-glyph {
  position: relative;
  display: block;
  width: 43px;
  height: 34px;
}

.treasure-lid,
.treasure-body,
.treasure-lock {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.treasure-lid {
  top: 0;
  width: 38px;
  height: 14px;
  border: 2px solid #7c4709;
  border-bottom: 0;
  border-radius: 14px 14px 5px 5px;
  background: linear-gradient(180deg, #fff178, #ffbd35);
}

.treasure-body {
  bottom: 0;
  width: 43px;
  height: 24px;
  border: 2px solid #7c4709;
  border-radius: 8px 8px 12px 12px;
  background:
    linear-gradient(90deg, transparent 46%, rgba(124, 71, 9, 0.22) 47% 53%, transparent 54%),
    linear-gradient(180deg, #d88925, #8f4d19);
}

.treasure-lock {
  bottom: 7px;
  width: 12px;
  height: 13px;
  border-radius: 4px;
  background: linear-gradient(180deg, #fff8a8, #f2bd25);
  box-shadow: 0 0 0 2px rgba(108, 64, 8, 0.26);
}

.treasure-copy {
  line-height: 1;
}

.coin-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 0;
  background: url("assets/ui-coin-icon-v3.webp?v=20260702-12") center / contain no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 4px 5px rgba(138, 86, 0, 0.22));
}

.tiny-coin::after,
.preview-coin::after,
.tree .fruit::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  border: 2px solid rgba(128, 83, 8, 0.28);
}

.tiny-coin::before,
.preview-coin::before,
.tree .fruit::before {
  content: "";
  position: absolute;
  inset: 22% 48% 22% 22%;
  z-index: 1;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 242, 139, 0.16));
  transform: rotate(18deg);
}

.coin-icon-inline {
  width: 25px;
  height: 25px;
}

.tiny-coin {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.72) 0 16%, transparent 17%),
    linear-gradient(180deg, #fff476, #f6af22);
  box-shadow: inset 0 -2px 0 rgba(143, 91, 8, 0.14);
}

.icon-button {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 -4px 0 rgba(38, 118, 45, 0.08);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.icon-button.account-button {
  display: inline-flex;
  width: auto;
  min-width: 86px;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.95), transparent 24%),
    linear-gradient(180deg, #ffffff, #eaffdf 58%, #b8f49e);
  box-shadow:
    inset 0 -4px 0 rgba(35, 128, 47, 0.1),
    0 12px 22px rgba(25, 105, 44, 0.16),
    0 0 0 4px rgba(119, 230, 98, 0.1);
}

main {
  padding-top: 20px;
}

.view {
  animation: viewIn 0.42s var(--ease) both;
}

.home-view {
  display: grid;
  align-content: start;
  gap: 22px;
  min-height: calc(100svh - 120px);
  padding: 8px 0 24px;
  text-align: center;
}

.hero-scene {
  position: relative;
  min-height: clamp(300px, 52svh, 470px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(27, 130, 58, 0.08)),
    var(--game-bg-image) center center / cover no-repeat;
  box-shadow: 0 24px 58px rgba(25, 106, 56, 0.23), inset 0 1px 0 rgba(255, 255, 255, 0.74);
  isolation: isolate;
}

.hero-scene::before {
  display: none;
}

.hero-scene::after {
  display: none;
}

.sun,
.stage-sun {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff7ad 0 19%, #ffcf47 20% 60%, rgba(255, 166, 46, 0.7) 61%);
  box-shadow: 0 0 36px rgba(255, 226, 92, 0.7);
}

.sun {
  top: 25px;
  right: 24px;
  width: 72px;
  height: 72px;
}

.hero-scene .sun,
.hero-scene .mini-cloud {
  display: none;
}

.mini-cloud-left {
  top: 58px;
  left: 16%;
  width: 58px;
  height: 19px;
}

.mini-cloud-right {
  top: 112px;
  right: 26%;
  width: 80px;
  height: 23px;
}

.preview-tree {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: min(82vw, 430px);
  height: min(82vw, 430px);
  background: url("assets/tree-money-v3.webp?v=20260702-12") center bottom / contain no-repeat;
  filter: drop-shadow(0 24px 20px rgba(18, 77, 34, 0.26));
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  animation: sway 3.6s var(--ease) infinite;
}

.preview-tree::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2%;
  width: 68%;
  height: 14%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(22, 95, 37, 0.23), transparent 68%);
  filter: blur(3px);
  transform: translateX(-50%);
}

.preview-trunk,
.preview-leaf,
.preview-coin {
  display: none;
}

.preview-trunk {
  position: absolute;
  left: 50%;
  bottom: 25px;
  width: 17%;
  height: 45%;
  transform: translateX(-50%);
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(90deg, #875126, #c48745 48%, #7b4422);
  box-shadow: inset -8px 0 0 rgba(80, 43, 21, 0.15);
}

.preview-leaf {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 33% 28%, rgba(255, 255, 255, 0.35), transparent 25%),
    linear-gradient(140deg, #96f45e, #25b857);
  box-shadow: inset 0 -12px 0 rgba(28, 129, 49, 0.16), 0 15px 22px rgba(21, 107, 43, 0.18);
}

.leaf-a {
  left: 18%;
  top: 18%;
  width: 46%;
  height: 48%;
}

.leaf-b {
  right: 13%;
  top: 14%;
  width: 52%;
  height: 52%;
}

.leaf-c {
  left: 27%;
  top: 0;
  width: 48%;
  height: 47%;
}

.preview-coin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffe778;
  box-shadow: inset 0 -4px 0 rgba(189, 126, 8, 0.16), 0 8px 13px rgba(145, 106, 22, 0.18);
  animation: coinBob 1.6s var(--ease) infinite alternate;
}

.coin-a {
  left: 20%;
  top: 26%;
}

.coin-b {
  right: 19%;
  top: 38%;
  animation-delay: 0.35s;
}

.flower-field {
  display: none;
}

.flower-field span {
  display: none;
}

.garden-flower {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #ffd947 0 20%, transparent 21%),
    radial-gradient(circle at 50% 0, #ff7eb1 0 29%, transparent 30%),
    radial-gradient(circle at 100% 50%, #ff7eb1 0 29%, transparent 30%),
    radial-gradient(circle at 50% 100%, #ff7eb1 0 29%, transparent 30%),
    radial-gradient(circle at 0 50%, #ff7eb1 0 29%, transparent 30%);
  filter: drop-shadow(0 5px 0 rgba(42, 129, 52, 0.16));
}

.home-copy {
  width: min(680px, 100%);
  margin: 0 auto;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  color: #184f2a;
  font-size: clamp(2.4rem, 12vw, 5.6rem);
  line-height: 0.9;
  text-shadow: 0 4px 0 rgba(255, 255, 255, 0.46);
}

#mainTitle {
  width: min(760px, 100%);
  margin: 0 auto 12px;
  color: #1f512c;
  -webkit-text-fill-color: #1f512c;
  text-shadow:
    0 2px 0 #fff7b8,
    0 5px 0 rgba(107, 169, 55, 0.48),
    0 10px 18px rgba(18, 76, 37, 0.32);
  -webkit-text-stroke: 1px rgba(255, 250, 198, 0.72);
  paint-order: stroke fill;
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 5vw, 2.2rem);
  line-height: 1.05;
}

p {
  color: #426446;
  font-size: 1rem;
  line-height: 1.5;
}

.home-copy p,
.section-heading p {
  margin-bottom: 0;
}

.home-actions,
.action-stack,
.modal-actions {
  display: grid;
  gap: 12px;
}

.bank-panel {
  display: grid;
  gap: 14px;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 28px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(237, 255, 228, 0.72)),
    rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 42px rgba(26, 105, 49, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  text-align: left;
  backdrop-filter: blur(18px);
}

.access-panel {
  display: grid;
  gap: 14px;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 240, 112, 0.42), transparent 28%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(222, 255, 244, 0.76)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(26, 105, 49, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  text-align: left;
  backdrop-filter: blur(18px);
}

.access-copy h2 {
  margin-bottom: 6px;
  font-size: clamp(1.28rem, 5vw, 1.82rem);
}

.access-copy p {
  margin-bottom: 0;
}

.login-form,
.withdraw-form {
  display: grid;
  gap: 11px;
}

.login-form .field-group,
.account-form .field-group {
  display: grid;
  gap: 6px;
}

.login-form label,
.withdraw-form label {
  display: grid;
  gap: 6px;
  color: #3b6d43;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.login-form input,
.withdraw-form input {
  min-height: 52px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(59, 153, 70, 0.26);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 3px 8px rgba(42, 110, 48, 0.08);
  color: #24462c;
  font-weight: 900;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.password-control {
  position: relative;
  display: block;
}

.password-control input {
  padding-right: 92px;
}

.visibility-toggle,
.text-action {
  color: #1f7a36;
  font-weight: 900;
}

.visibility-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  min-width: 74px;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(231, 255, 218, 0.96), rgba(121, 225, 100, 0.76));
  box-shadow: inset 0 -3px 0 rgba(24, 101, 39, 0.1), 0 8px 14px rgba(40, 112, 49, 0.12);
  font-size: 0.74rem;
  transform: translateY(-50%);
}

.text-action {
  padding: 0;
  background: transparent;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.pix-change-button {
  justify-self: start;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(222, 255, 218, 0.84);
  text-decoration: none;
}

.field-edit-button {
  font-size: 0.72rem;
}

.form-feedback {
  display: none;
  width: 100%;
  max-width: 100%;
  margin: 0 0 2px;
  padding: 10px 12px;
  border: 1px solid rgba(66, 167, 73, 0.2);
  border-radius: 14px;
  background: rgba(230, 255, 222, 0.72);
  color: #2c6938;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
}

.form-feedback.is-visible {
  display: block;
  animation: slideUpFade 0.22s var(--ease) both;
}

.auth-backdrop:not([hidden]) .auth-modal .form-feedback.is-visible {
  position: static;
  width: 100%;
  margin: 2px 0 4px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 227, 89, 0.78);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.72), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 246, 0.98), rgba(220, 255, 210, 0.96));
  box-shadow:
    0 18px 28px rgba(27, 82, 36, 0.2),
    0 0 0 5px rgba(255, 230, 81, 0.18);
  color: #285c31;
  font-size: clamp(0.82rem, 3.2vw, 0.94rem);
  text-align: left;
  transform: none;
}

.login-form input:focus,
.withdraw-form input:focus {
  outline: 3px solid rgba(255, 219, 70, 0.52);
  border-color: rgba(65, 170, 76, 0.5);
}

.login-actions {
  display: grid;
  gap: 10px;
}

.bank-heading {
  display: grid;
  gap: 12px;
}

.bank-heading h2 {
  margin-bottom: 6px;
  font-size: clamp(1.28rem, 5vw, 1.82rem);
}

.bank-heading p {
  margin-bottom: 0;
}

.edge-badge {
  display: grid;
  place-items: center;
  justify-self: start;
  min-width: 104px;
  min-height: 78px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 217, 78, 0.76);
  border-radius: 22px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.74), transparent 22%),
    linear-gradient(150deg, #fff7a6, #ffd74a 58%, #ffac32);
  box-shadow: inset 0 -6px 0 rgba(140, 88, 7, 0.12), 0 12px 24px rgba(177, 119, 23, 0.18);
  color: #68430a;
  text-align: center;
}

.edge-badge span {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 0.95;
}

.edge-badge small {
  max-width: 82px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.05;
}

.deposit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.deposit-chip {
  position: relative;
  min-height: 52px;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.76), transparent 18%),
    linear-gradient(135deg, #defbd2, #7ee36f 58%, #35bd5b);
  box-shadow: inset 0 -5px 0 rgba(28, 114, 45, 0.12), 0 11px 20px rgba(39, 121, 46, 0.14);
  color: #175627;
  font-weight: 900;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  animation: ctaGlow 2.5s var(--ease) infinite;
}

.deposit-form {
  display: grid;
  gap: 7px;
}

.deposit-hint {
  margin: 0;
  color: #34703d;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.deposit-form label {
  color: #3b6d43;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.deposit-input-row {
  display: grid;
  gap: 10px;
}

.deposit-input-row input {
  min-height: 52px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(59, 153, 70, 0.26);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 3px 8px rgba(42, 110, 48, 0.08);
  color: #24462c;
  font-weight: 900;
}

.deposit-input-row input:focus {
  outline: 3px solid rgba(255, 219, 70, 0.52);
  border-color: rgba(65, 170, 76, 0.5);
}

.withdraw-form {
  margin-top: 2px;
  padding: 14px;
  border: 1px solid rgba(0, 188, 169, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.78), transparent 20%),
    linear-gradient(145deg, rgba(230, 255, 244, 0.92), rgba(187, 244, 220, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 14px 28px rgba(20, 129, 85, 0.14);
}

.withdraw-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.withdraw-heading h3 {
  margin: 0 0 3px;
  color: #185933;
  font-size: 1.06rem;
}

.withdraw-heading p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 800;
}

.pix-mark {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.78), transparent 20%),
    linear-gradient(135deg, #8ff7e2, #26c8a5 58%, #159c82);
  box-shadow: inset 0 -5px 0 rgba(9, 92, 73, 0.16), 0 12px 20px rgba(16, 116, 91, 0.2);
}

.pix-mark::before,
.pix-mark::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  transform: rotate(45deg);
}

.pix-mark::after {
  inset: 17px;
  background: #22bfa1;
}

.withdraw-status {
  margin: 0;
  color: #2f6d50;
  font-size: 0.86rem;
  font-weight: 900;
}

.withdraw-history {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.withdraw-history h4,
.withdraw-history p {
  margin: 0;
}

.withdraw-history h4 {
  color: #23572f;
  font-size: 0.92rem;
}

.withdraw-history p {
  color: #5d8564;
  font-size: 0.82rem;
  font-weight: 800;
}

.withdraw-history ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.withdraw-history li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 10px;
  padding: 9px 10px;
  border: 1px solid rgba(45, 183, 119, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #2e6240;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.withdraw-history li strong {
  font-size: 0.92rem;
}

.withdraw-history li span,
.withdraw-history li em {
  color: #5b8360;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 850;
}

.withdraw-history li em {
  justify-self: end;
  padding: 3px 7px;
  border-radius: 999px;
  background: #dcf8d9;
  color: #257239;
  text-transform: capitalize;
}

.withdraw-history li .withdraw-timeline {
  grid-column: 1 / -1;
  overflow-wrap: anywhere;
}

.withdraw-history li.is-processing em {
  background: #fff3bd;
  color: #8a5a00;
}

.withdraw-history li.is-completed em {
  background: #d8f8df;
  color: #1d7135;
}

.bank-summary {
  display: grid;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  color: #436a48;
  font-size: 0.86rem;
  font-weight: 800;
}

.bank-summary strong {
  color: #23572f;
  font-weight: 900;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  overflow: hidden;
  padding: 13px 18px;
  border-radius: 18px;
  color: #174221;
  font-weight: 900;
  line-height: 1;
  box-shadow: var(--shadow-soft), inset 0 -5px 0 rgba(23, 90, 35, 0.11);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease);
  user-select: none;
}

.button-xl {
  min-height: 74px;
  border-radius: 24px;
  font-size: clamp(1.28rem, 6vw, 2rem);
  animation: ctaGlow 2.2s var(--ease) infinite;
}

.button.is-muted {
  filter: grayscale(0.25) opacity(0.78);
}

.button-primary {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.78), transparent 18%),
    linear-gradient(135deg, #fff36f 0%, #ffca34 38%, #ff912e 68%, #ff6f3a 100%);
  color: #5a3600;
  box-shadow: 0 16px 30px rgba(199, 128, 23, 0.28), 0 0 28px rgba(255, 214, 71, 0.44), inset 0 -5px 0 rgba(129, 75, 0, 0.14);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.button-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: translateX(-110%);
}

.button-soft {
  background: rgba(255, 255, 255, 0.76);
  color: #1f6b36;
}

.button-ghost {
  min-height: 44px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.55);
  color: #2c6d3a;
  box-shadow: inset 0 -4px 0 rgba(34, 125, 44, 0.08);
}

.button-danger {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.7), transparent 18%),
    linear-gradient(135deg, #ffd3b6, #ff875f 48%, #e74d3d);
  color: #682115;
  box-shadow: 0 14px 28px rgba(174, 68, 42, 0.2), inset 0 -5px 0 rgba(112, 37, 19, 0.14);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  filter: saturate(0.76);
}

.button .ripple,
.helper-card .ripple,
.deposit-chip .ripple {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 0.58s ease-out;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 26px;
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.seed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.seed-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  min-height: 166px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(247, 255, 239, 0.66)),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 15px 34px rgba(25, 103, 57, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  animation: slideUpFade 0.48s var(--ease) both;
  isolation: isolate;
}

.seed-card::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 42%, color-mix(in srgb, var(--accent), transparent 42%), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.seed-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--leaf), var(--accent));
}

.seed-card.is-owned {
  border-color: color-mix(in srgb, var(--leaf), #fff 42%);
}

.seed-card.is-current {
  box-shadow:
    0 18px 42px rgba(25, 103, 57, 0.2),
    0 0 0 3px color-mix(in srgb, var(--accent), transparent 44%),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.seed-card:nth-child(1) { animation-delay: 0ms; }
.seed-card:nth-child(2) { animation-delay: 45ms; }
.seed-card:nth-child(3) { animation-delay: 90ms; }
.seed-card:nth-child(4) { animation-delay: 135ms; }
.seed-card:nth-child(5) { animation-delay: 180ms; }
.seed-card:nth-child(6) { animation-delay: 225ms; }
.seed-card:nth-child(7) { animation-delay: 270ms; }
.seed-card:nth-child(8) { animation-delay: 315ms; }
.seed-card:nth-child(9) { animation-delay: 360ms; }
.seed-card:nth-child(10) { animation-delay: 405ms; }
.seed-card:nth-child(11) { animation-delay: 450ms; }

.seed-icon {
  position: relative;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--leaf), #b7ff8a 12%), var(--leaf-dark));
  box-shadow: inset 0 -7px 0 rgba(33, 74, 36, 0.12), 0 12px 18px rgba(34, 103, 44, 0.16);
  z-index: 2;
}

.seed-icon::after {
  display: none;
}

.seed-sprout {
  display: block;
  width: 84px;
  height: 84px;
  background: url("assets/seed-verde.png?v=20260703-3") center center / contain no-repeat;
  filter: drop-shadow(0 10px 9px rgba(58, 33, 12, 0.24));
  transform: translateY(0) scale(1);
}

.seed-sprout-gratis { background-image: url("assets/seed-gratis.png?v=20260703-3"); }
.seed-sprout-verde { background-image: url("assets/seed-verde.png?v=20260703-3"); }
.seed-sprout-azul { background-image: url("assets/seed-azul.png?v=20260703-3"); }
.seed-sprout-dourada { background-image: url("assets/seed-dourada.png?v=20260703-3"); }
.seed-sprout-rosa { background-image: url("assets/seed-rosa.png?v=20260703-3"); }
.seed-sprout-cristal { background-image: url("assets/seed-cristal.png?v=20260703-3"); }
.seed-sprout-fogo { background-image: url("assets/seed-fogo.png?v=20260703-3"); }
.seed-sprout-gelo { background-image: url("assets/seed-gelo.png?v=20260703-3"); }
.seed-sprout-magica { background-image: url("assets/seed-magica.png?v=20260703-3"); }
.seed-sprout-lunar { background-image: url("assets/seed-lunar.png?v=20260703-3"); }
.seed-sprout-real { background-image: url("assets/seed-real.png?v=20260703-3"); }

.seed-art {
  position: absolute;
  right: 10px;
  bottom: 56px;
  z-index: 0;
  width: min(36vw, 142px);
  height: min(36vw, 142px);
  background: url("assets/seed-verde.png?v=20260703-3") center center / contain no-repeat;
  filter: drop-shadow(0 18px 16px rgba(66, 42, 14, 0.18));
  opacity: 0.18;
  transform: rotate(2deg);
  pointer-events: none;
}

.seed-art-gratis { background-image: url("assets/seed-gratis.png?v=20260703-3"); }
.seed-art-verde { background-image: url("assets/seed-verde.png?v=20260703-3"); }
.seed-art-azul { background-image: url("assets/seed-azul.png?v=20260703-3"); }
.seed-art-dourada { background-image: url("assets/seed-dourada.png?v=20260703-3"); }
.seed-art-rosa { background-image: url("assets/seed-rosa.png?v=20260703-3"); }
.seed-art-cristal { background-image: url("assets/seed-cristal.png?v=20260703-3"); }
.seed-art-fogo { background-image: url("assets/seed-fogo.png?v=20260703-3"); }
.seed-art-gelo { background-image: url("assets/seed-gelo.png?v=20260703-3"); }
.seed-art-magica { background-image: url("assets/seed-magica.png?v=20260703-3"); }
.seed-art-lunar { background-image: url("assets/seed-lunar.png?v=20260703-3"); }
.seed-art-real { background-image: url("assets/seed-real.png?v=20260703-3"); }

.seed-content {
  min-width: 0;
  z-index: 2;
}

.seed-content h3 {
  margin: 2px 0 8px;
  font-size: 1.15rem;
}

.seed-meta {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  color: #507057;
  font-size: 0.92rem;
}

.seed-meta li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.meta-icon,
.benefit-token {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.meta-clock {
  border: 2px solid #48a45a;
  border-radius: 50%;
  background: #f5fff0;
}

.meta-clock::before,
.meta-clock::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  border-radius: 999px;
  background: #2f7d3d;
  transform-origin: 50% 0;
}

.meta-clock::before {
  height: 6px;
  transform: rotate(180deg);
}

.meta-clock::after {
  height: 5px;
  transform: rotate(125deg);
}

.meta-tree::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 6px;
  height: 11px;
  border-radius: 999px 999px 3px 3px;
  background: #9a6535;
  transform: translateX(-50%);
}

.meta-tree::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 1px;
  width: 20px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, #94f15d, #2fb857);
  box-shadow: inset 0 -4px 0 rgba(29, 113, 44, 0.13);
  transform: translateX(-50%);
}

.meta-edge {
  border-radius: 6px 6px 10px 10px;
  background: linear-gradient(180deg, #fff07a, #f4b733);
  box-shadow: inset 0 -4px 0 rgba(144, 88, 7, 0.12);
}

.meta-edge::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid rgba(126, 76, 7, 0.24);
  border-radius: 50%;
}

.meta-risk {
  clip-path: polygon(50% 4%, 98% 92%, 2% 92%);
  background: linear-gradient(180deg, #ffdf72, #ff7b5c);
  box-shadow: 0 4px 9px rgba(162, 72, 38, 0.16);
}

.meta-risk::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: #7a351f;
  transform: translateX(-50%);
}

.benefit-token,
.helper-benefit-icon {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background:
    var(--benefit-image, radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.92), transparent 26%)),
    linear-gradient(135deg, #9cffdc, #45c6ff);
  background-position: center;
  background-size: cover;
  box-shadow:
    inset 0 -4px 0 rgba(38, 112, 128, 0.14),
    0 7px 12px rgba(30, 103, 70, 0.16);
  transform: translateZ(0);
}

.benefit-token::before,
.helper-benefit-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.66), transparent 19%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 42%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.benefit-token::after,
.helper-benefit-icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.36);
  pointer-events: none;
}

.benefit-token-gratis {
  --benefit-image: url("assets/benefit-gratis-v1.webp?v=20260706-6");
}

.benefit-token-verde {
  --benefit-image: url("assets/benefit-verde-v1.webp?v=20260706-6");
}

.benefit-token-azul {
  --benefit-image: url("assets/benefit-azul-v1.webp?v=20260706-6");
}

.benefit-token-dourada {
  --benefit-image: url("assets/benefit-dourada-v1.webp?v=20260706-6");
}

.benefit-token-rosa {
  --benefit-image: url("assets/benefit-rosa-v1.webp?v=20260706-6");
}

.benefit-token-cristal {
  --benefit-image: url("assets/benefit-cristal-v1.webp?v=20260706-6");
}

.benefit-token-fogo {
  --benefit-image: url("assets/benefit-fogo-v1.webp?v=20260706-6");
}

.benefit-token-gelo {
  --benefit-image: url("assets/benefit-gelo-v1.webp?v=20260706-6");
}

.benefit-token-magica {
  --benefit-image: url("assets/benefit-magica-v1.webp?v=20260706-6");
}

.benefit-token-lunar {
  --benefit-image: url("assets/benefit-lunar-v1.webp?v=20260706-6");
}

.benefit-token-real {
  --benefit-image: url("assets/benefit-real-v1.webp?v=20260706-6");
}

.benefit-token-empty {
  --benefit-image: none;
}

.seed-card .button {
  grid-column: 1 / -1;
  z-index: 2;
}

.shop-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.shop-toolbar span {
  display: grid;
  min-height: 62px;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 20px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.78), transparent 22%),
    linear-gradient(145deg, rgba(250, 255, 238, 0.9), rgba(183, 246, 119, 0.74));
  box-shadow: 0 12px 24px rgba(26, 104, 49, 0.14), inset 0 -4px 0 rgba(41, 133, 48, 0.08);
  color: #255d30;
  font-size: 0.92rem;
  font-weight: 900;
  text-align: center;
}

.shop-toolbar strong {
  color: #6a4505;
  font-size: 1.25rem;
  line-height: 1;
}

.seed-card {
  grid-template-columns: 116px 1fr;
  min-height: 250px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 16%, color-mix(in srgb, var(--accent), transparent 44%), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 255, 230, 0.74)),
    rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 42px rgba(25, 103, 57, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.seed-card::before {
  height: 10px;
  background: linear-gradient(90deg, var(--leaf), var(--accent), #fff478);
}

.seed-card-glow {
  position: absolute;
  right: -32px;
  top: -34px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent), #fff 20%), transparent 68%);
  opacity: 0.56;
  pointer-events: none;
  z-index: -1;
}

.seed-card.is-ready {
  border-color: color-mix(in srgb, var(--accent), #fff 22%);
}

.seed-card.is-locked {
  filter: saturate(0.92);
}

.seed-visual {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  min-width: 0;
  z-index: 2;
}

.seed-icon-large {
  width: 106px;
  height: 106px;
  border-radius: 30px;
  box-shadow:
    inset 0 -9px 0 rgba(33, 74, 36, 0.13),
    0 18px 28px rgba(34, 103, 44, 0.22);
}

.seed-icon-large .seed-sprout {
  width: 112px;
  height: 112px;
  transform: translateY(0) scale(1);
}

.seed-tier {
  display: inline-grid;
  min-height: 30px;
  place-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fffbe2, #ffe36c);
  box-shadow: inset 0 -3px 0 rgba(151, 93, 8, 0.12), 0 8px 15px rgba(117, 88, 18, 0.14);
  color: #6b4708;
  font-size: 0.86rem;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.seed-title-row {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.seed-content h3 {
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  color: #1d542c;
  font-size: clamp(1.08rem, 4.1vw, 1.42rem);
  line-height: 1;
  text-overflow: ellipsis;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.seed-status {
  justify-self: start;
  padding: 7px 11px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.62), transparent 24%),
    linear-gradient(135deg, #fff7a5, #ffd24b);
  box-shadow: inset 0 -3px 0 rgba(142, 90, 8, 0.12);
  color: #67450b;
  font-size: 0.95rem;
  font-weight: 1000;
  line-height: 1;
}

.seed-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-bottom: 10px;
  min-width: 0;
}

.stat-pill {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-areas:
    "icon value"
    "icon label";
  gap: 2px 8px;
  align-items: center;
  min-width: 0;
  min-height: 50px;
  overflow: hidden;
  padding: 8px 10px;
  border: 1px solid rgba(82, 168, 76, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.stat-pill .meta-icon,
.stat-pill .tiny-coin {
  grid-area: icon;
  justify-self: center;
  width: 23px;
  height: 23px;
}

.stat-pill strong {
  grid-area: value;
  min-width: 0;
  color: #244c2e;
  font-size: clamp(0.9rem, 2.3vw, 1rem);
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
}

.stat-pill em {
  grid-area: label;
  min-width: 0;
  color: #5d795f;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.seed-benefit-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.54);
  color: #325d39;
  font-size: 0.96rem;
  font-weight: 900;
}

.seed-benefit-row .benefit-token {
  width: 38px;
  height: 38px;
  border-radius: 14px;
}

.seed-benefit-row {
  margin-bottom: 0;
}

.seed-benefit-row span:last-child {
  margin-left: auto;
  color: #5f7b61;
}

.seed-cta {
  min-height: 58px;
  border-radius: 20px;
  font-size: 1.02rem;
  letter-spacing: 0;
}

.seed-cta.button-primary {
  animation: ctaGlow 1.9s var(--ease) infinite;
}

.garden-layout {
  display: grid;
  gap: 16px;
}

.garden-stage {
  position: relative;
  min-height: min(68svh, 560px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(25, 121, 53, 0.08)),
    var(--game-bg-image) center center / cover no-repeat;
  box-shadow:
    0 30px 74px rgba(18, 103, 63, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -34px 64px rgba(21, 137, 56, 0.16);
  isolation: isolate;
}

.garden-stage::before {
  display: none;
}

.garden-stage .stage-cloud {
  display: none;
}

.garden-stage .stage-sun {
  display: none;
}

.garden-stage::after {
  display: none;
}

.stage-sun {
  top: 24px;
  right: 24px;
  width: 74px;
  height: 74px;
}

.stage-cloud-a {
  top: 74px;
  left: 14%;
  width: 72px;
  height: 22px;
}

.stage-cloud-b {
  top: 130px;
  right: 24%;
  width: 86px;
  height: 25px;
  opacity: 0.76;
}

.tree-coins {
  position: absolute;
  top: 115px;
  left: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 42px;
  padding: 9px 15px;
  border: 2px solid rgba(255, 222, 83, 0.8);
  border-radius: 999px;
  background:
    radial-gradient(circle at 26% 24%, rgba(255, 255, 255, 0.82), transparent 24%),
    rgba(255, 248, 181, 0.9);
  box-shadow: 0 12px 22px rgba(118, 96, 21, 0.18), 0 0 22px rgba(255, 226, 74, 0.28);
  color: #715006;
  font-weight: 900;
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.tree-coins::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-right: 6px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.74) 0 16%, transparent 17%),
    linear-gradient(180deg, #fff476, #f6af22);
  box-shadow: inset 0 -2px 0 rgba(143, 91, 8, 0.16);
}

.tree-spot {
  position: absolute;
  left: 50%;
  bottom: 13%;
  z-index: 3;
  display: grid;
  width: min(76vw, 390px);
  height: min(76vw, 390px);
  place-items: end center;
  transform: translateX(-50%);
}

.tree-spot::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5%;
  width: 60%;
  height: 22%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(255, 241, 124, 0.34), rgba(91, 201, 75, 0.18) 46%, transparent 70%);
  transform: translateX(-50%);
  filter: blur(1px);
  pointer-events: none;
}

.tree-spot::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: -1;
  width: 78%;
  height: 24%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(30, 88, 35, 0.24), rgba(30, 88, 35, 0.08) 48%, transparent 72%);
  transform: translateX(-50%);
  filter: blur(5px);
  pointer-events: none;
}

.tree-render {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  touch-action: manipulation;
  filter: drop-shadow(0 24px 18px rgba(23, 81, 37, 0.16));
  transform-origin: 50% 100%;
  animation: treeSway 4s var(--ease) infinite;
}

.tree-render::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: 88%;
  height: 80%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 235, 91, 0.18), transparent 42%),
    radial-gradient(circle at 50% 70%, rgba(89, 239, 105, 0.16), transparent 48%);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  animation: magicAura 3.2s var(--ease) infinite alternate;
}

.tree-render[aria-disabled="true"] {
  cursor: default;
}

.tree-render:focus-visible {
  outline: 0;
  border-radius: 34px;
}

.tree-render:focus-visible .tree {
  filter: drop-shadow(0 0 18px rgba(255, 223, 63, 0.65));
}

.tree-render.is-empty::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 44% 42%, #7deb67 0 12%, transparent 13%),
    radial-gradient(ellipse at 58% 38%, #4fcb54 0 12%, transparent 13%),
    linear-gradient(90deg, transparent 47%, #2e9d48 48% 52%, transparent 53%),
    radial-gradient(ellipse at 50% 70%, #a66a32 0 22%, #724019 23% 38%, transparent 39%),
    rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-soft);
  transform: translateX(-50%);
}

.garden-ground {
  display: none;
}

.garden-ground::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14%;
  width: min(62vw, 340px);
  height: 70px;
  border-radius: 50%;
  background: rgba(77, 74, 39, 0.12);
  transform: translateX(-50%);
  filter: blur(5px);
}

.garden-ground::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(16, 95, 44, 0.22));
  pointer-events: none;
}

.garden-flower {
  display: none;
}

.flower-a {
  left: 16%;
  top: 40%;
}

.flower-b {
  left: 29%;
  top: 23%;
  transform: scale(0.82);
}

.flower-c {
  right: 19%;
  top: 33%;
}

.flower-d {
  right: 34%;
  top: 52%;
  transform: scale(0.72);
}

.coin-float-layer {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.floating-coin {
  position: absolute;
  left: 50%;
  bottom: 43%;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 237, 110, 0.95);
  box-shadow: 0 9px 15px rgba(120, 92, 18, 0.18);
  color: #6e4b06;
  font-weight: 900;
  animation: floatCoin 1.15s var(--ease) forwards;
}

.reward-coin {
  position: absolute;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 25%, #fff9b8 0 18%, transparent 19%),
    radial-gradient(circle at 50% 55%, #ffd94f 0 58%, #f3a919 59% 100%);
  box-shadow: 0 12px 22px rgba(135, 95, 12, 0.22), inset 0 -7px 0 rgba(143, 88, 9, 0.14), 0 0 0 0 rgba(255, 224, 84, 0.42);
  color: #805405;
  font-size: 1rem;
  font-weight: 1000;
  line-height: 1;
  transform: translate(-50%, 0) scale(0.75);
  animation: rewardCoinIn 0.28s var(--ease) forwards;
  cursor: pointer;
  pointer-events: auto;
}

.reward-coin:hover {
  filter: brightness(1.05);
  transform: translate(-50%, 0) scale(1.06);
}

.reward-coin:focus-visible {
  outline: 4px solid rgba(255, 255, 255, 0.94);
  outline-offset: 4px;
}

.reward-coin.is-leaving {
  pointer-events: none;
  animation: rewardCoinOut 0.22s var(--ease) forwards;
}

.garden-panel {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 28px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.95), rgba(243, 255, 235, 0.78)),
    var(--glass-strong);
  box-shadow: 0 24px 58px rgba(24, 88, 47, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.tree-title-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.eyebrow {
  margin-bottom: 4px;
  color: #2d8e42;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.seed-badge {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.74), transparent 22%),
    linear-gradient(135deg, #f0ffd9, #72df65);
  box-shadow: inset 0 -5px 0 rgba(30, 100, 38, 0.11), 0 12px 20px rgba(38, 124, 51, 0.14);
}

.seed-badge::before {
  content: "";
  width: 82px;
  height: 82px;
  background: url("assets/tree-money-v3.webp?v=20260702-12") center bottom / contain no-repeat;
  filter: drop-shadow(0 8px 7px rgba(24, 80, 36, 0.2));
  transform: translateY(12px) scale(1.08);
}

.seed-badge-empty::before {
  width: 28px;
  height: 36px;
  border-radius: 70% 30% 64% 36%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.5), transparent 22%),
    linear-gradient(135deg, #a36a38, #70411f);
  transform: rotate(-13deg);
}

.seed-badge-gratis::before {
  background-image: url("assets/tree-money-v3.webp?v=20260702-12");
  filter: hue-rotate(18deg) saturate(1.18) drop-shadow(0 7px 6px rgba(24, 80, 36, 0.18));
}
.seed-badge-verde::before { background-image: url("assets/tree-money-v3.webp?v=20260702-12"); }
.seed-badge-azul::before { background-image: url("assets/tree-azul.webp?v=20260629-12"); }
.seed-badge-dourada::before { background-image: url("assets/tree-dourada.webp?v=20260629-12"); }
.seed-badge-rosa::before { background-image: url("assets/tree-rosa.webp?v=20260629-12"); }
.seed-badge-cristal::before { background-image: url("assets/tree-cristal.webp?v=20260629-12"); }
.seed-badge-fogo::before { background-image: url("assets/tree-fogo.webp?v=20260629-12"); }
.seed-badge-gelo::before { background-image: url("assets/tree-gelo.webp?v=20260629-12"); }
.seed-badge-magica::before { background-image: url("assets/tree-magica.webp?v=20260629-12"); }
.seed-badge-lunar::before { background-image: url("assets/tree-lunar.webp?v=20260629-12"); }
.seed-badge-real::before { background-image: url("assets/tree-real.webp?v=20260629-12"); }

.seed-badge-azul,
.seed-badge-gelo,
.seed-badge-cristal {
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.78), transparent 22%),
    linear-gradient(135deg, #e9fbff, #74d9ff);
}

.seed-badge-dourada,
.seed-badge-real {
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.78), transparent 22%),
    linear-gradient(135deg, #fff7bd, #ffc83f);
}

.seed-badge-rosa {
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.78), transparent 22%),
    linear-gradient(135deg, #ffe9f5, #ff8ac2);
}

.seed-badge-fogo {
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.72), transparent 22%),
    linear-gradient(135deg, #ffe8a9, #ff7441);
}

.seed-badge-magica,
.seed-badge-lunar {
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.72), transparent 22%),
    linear-gradient(135deg, #f3e6ff, #9675ff);
}

.progress-wrap {
  display: grid;
  gap: 9px;
  margin-bottom: 16px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  color: #3b6841;
  font-weight: 900;
}

.progress-track {
  height: 20px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(37, 124, 47, 0.12);
  box-shadow: inset 0 4px 8px rgba(33, 104, 42, 0.12);
}

.progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #69e457, #ffdd4d, #ffa33d);
  box-shadow: 0 0 18px rgba(255, 213, 79, 0.5);
  transition: width 0.45s var(--ease);
  position: relative;
  overflow: hidden;
}

.progress-track[data-progress="0"] span { width: 0%; }
.progress-track[data-progress="1"] span { width: 1%; }
.progress-track[data-progress="2"] span { width: 2%; }
.progress-track[data-progress="3"] span { width: 3%; }
.progress-track[data-progress="4"] span { width: 4%; }
.progress-track[data-progress="5"] span { width: 5%; }
.progress-track[data-progress="6"] span { width: 6%; }
.progress-track[data-progress="7"] span { width: 7%; }
.progress-track[data-progress="8"] span { width: 8%; }
.progress-track[data-progress="9"] span { width: 9%; }
.progress-track[data-progress="10"] span { width: 10%; }
.progress-track[data-progress="11"] span { width: 11%; }
.progress-track[data-progress="12"] span { width: 12%; }
.progress-track[data-progress="13"] span { width: 13%; }
.progress-track[data-progress="14"] span { width: 14%; }
.progress-track[data-progress="15"] span { width: 15%; }
.progress-track[data-progress="16"] span { width: 16%; }
.progress-track[data-progress="17"] span { width: 17%; }
.progress-track[data-progress="18"] span { width: 18%; }
.progress-track[data-progress="19"] span { width: 19%; }
.progress-track[data-progress="20"] span { width: 20%; }
.progress-track[data-progress="21"] span { width: 21%; }
.progress-track[data-progress="22"] span { width: 22%; }
.progress-track[data-progress="23"] span { width: 23%; }
.progress-track[data-progress="24"] span { width: 24%; }
.progress-track[data-progress="25"] span { width: 25%; }
.progress-track[data-progress="26"] span { width: 26%; }
.progress-track[data-progress="27"] span { width: 27%; }
.progress-track[data-progress="28"] span { width: 28%; }
.progress-track[data-progress="29"] span { width: 29%; }
.progress-track[data-progress="30"] span { width: 30%; }
.progress-track[data-progress="31"] span { width: 31%; }
.progress-track[data-progress="32"] span { width: 32%; }
.progress-track[data-progress="33"] span { width: 33%; }
.progress-track[data-progress="34"] span { width: 34%; }
.progress-track[data-progress="35"] span { width: 35%; }
.progress-track[data-progress="36"] span { width: 36%; }
.progress-track[data-progress="37"] span { width: 37%; }
.progress-track[data-progress="38"] span { width: 38%; }
.progress-track[data-progress="39"] span { width: 39%; }
.progress-track[data-progress="40"] span { width: 40%; }
.progress-track[data-progress="41"] span { width: 41%; }
.progress-track[data-progress="42"] span { width: 42%; }
.progress-track[data-progress="43"] span { width: 43%; }
.progress-track[data-progress="44"] span { width: 44%; }
.progress-track[data-progress="45"] span { width: 45%; }
.progress-track[data-progress="46"] span { width: 46%; }
.progress-track[data-progress="47"] span { width: 47%; }
.progress-track[data-progress="48"] span { width: 48%; }
.progress-track[data-progress="49"] span { width: 49%; }
.progress-track[data-progress="50"] span { width: 50%; }
.progress-track[data-progress="51"] span { width: 51%; }
.progress-track[data-progress="52"] span { width: 52%; }
.progress-track[data-progress="53"] span { width: 53%; }
.progress-track[data-progress="54"] span { width: 54%; }
.progress-track[data-progress="55"] span { width: 55%; }
.progress-track[data-progress="56"] span { width: 56%; }
.progress-track[data-progress="57"] span { width: 57%; }
.progress-track[data-progress="58"] span { width: 58%; }
.progress-track[data-progress="59"] span { width: 59%; }
.progress-track[data-progress="60"] span { width: 60%; }
.progress-track[data-progress="61"] span { width: 61%; }
.progress-track[data-progress="62"] span { width: 62%; }
.progress-track[data-progress="63"] span { width: 63%; }
.progress-track[data-progress="64"] span { width: 64%; }
.progress-track[data-progress="65"] span { width: 65%; }
.progress-track[data-progress="66"] span { width: 66%; }
.progress-track[data-progress="67"] span { width: 67%; }
.progress-track[data-progress="68"] span { width: 68%; }
.progress-track[data-progress="69"] span { width: 69%; }
.progress-track[data-progress="70"] span { width: 70%; }
.progress-track[data-progress="71"] span { width: 71%; }
.progress-track[data-progress="72"] span { width: 72%; }
.progress-track[data-progress="73"] span { width: 73%; }
.progress-track[data-progress="74"] span { width: 74%; }
.progress-track[data-progress="75"] span { width: 75%; }
.progress-track[data-progress="76"] span { width: 76%; }
.progress-track[data-progress="77"] span { width: 77%; }
.progress-track[data-progress="78"] span { width: 78%; }
.progress-track[data-progress="79"] span { width: 79%; }
.progress-track[data-progress="80"] span { width: 80%; }
.progress-track[data-progress="81"] span { width: 81%; }
.progress-track[data-progress="82"] span { width: 82%; }
.progress-track[data-progress="83"] span { width: 83%; }
.progress-track[data-progress="84"] span { width: 84%; }
.progress-track[data-progress="85"] span { width: 85%; }
.progress-track[data-progress="86"] span { width: 86%; }
.progress-track[data-progress="87"] span { width: 87%; }
.progress-track[data-progress="88"] span { width: 88%; }
.progress-track[data-progress="89"] span { width: 89%; }
.progress-track[data-progress="90"] span { width: 90%; }
.progress-track[data-progress="91"] span { width: 91%; }
.progress-track[data-progress="92"] span { width: 92%; }
.progress-track[data-progress="93"] span { width: 93%; }
.progress-track[data-progress="94"] span { width: 94%; }
.progress-track[data-progress="95"] span { width: 95%; }
.progress-track[data-progress="96"] span { width: 96%; }
.progress-track[data-progress="97"] span { width: 97%; }
.progress-track[data-progress="98"] span { width: 98%; }
.progress-track[data-progress="99"] span { width: 99%; }
.progress-track[data-progress="100"] span { width: 100%; }

.progress-track span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transform: translateX(-100%);
  animation: progressShine 2.1s ease-in-out infinite;
}

.stats-list {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.stats-list div {
  display: grid;
  grid-template-columns: minmax(116px, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(82, 168, 76, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.48)),
    rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.stats-list dt {
  color: #5b765b;
  font-size: 0.84rem;
  font-weight: 800;
}

.stats-list dd {
  margin: 0;
  color: #244c2e;
  font-weight: 900;
  text-align: right;
}

.helper-panel {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 240, 122, 0.32), transparent 30%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.72), rgba(231, 255, 223, 0.56));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 16px 30px rgba(35, 112, 53, 0.12);
}

.helper-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.helper-heading h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1;
}

.helper-heading span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 238, 122, 0.7);
  box-shadow: inset 0 -3px 0 rgba(155, 111, 12, 0.12);
  color: #6d4a06;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.helper-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.helper-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon title"
    "icon meta";
  gap: 3px 10px;
  align-items: center;
  min-height: 72px;
  padding: 11px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.55)),
    rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 22px rgba(37, 115, 51, 0.13), inset 0 -4px 0 rgba(54, 134, 55, 0.07);
  color: #21472b;
  text-align: left;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease), opacity 0.2s var(--ease);
}

.helper-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: translateX(-110%);
}

.helper-icon {
  grid-area: icon;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  box-shadow: inset 0 -5px 0 rgba(24, 75, 39, 0.11), 0 8px 14px rgba(42, 95, 43, 0.13);
  font-size: 1.45rem;
}

.helper-water {
  background: linear-gradient(135deg, #d9fbff, #54c7ff);
}

.helper-card strong {
  grid-area: title;
  font-size: 0.98rem;
  line-height: 1.1;
}

.helper-card small {
  grid-area: meta;
  color: #5e765f;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.helper-card.is-disabled {
  cursor: not-allowed;
  opacity: 0.62;
  filter: saturate(0.78);
}

.helper-card:not(.is-disabled):hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 28px rgba(37, 115, 51, 0.18), inset 0 -4px 0 rgba(54, 134, 55, 0.07);
}

.helper-card:not(.is-disabled):hover::after {
  animation: shine 0.8s ease;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(28, 85, 43, 0.28);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.24s ease both;
}

body.is-auth-locked {
  overflow: hidden;
}

body.is-auth-locked .treasure-button,
body.is-auth-locked .help-button {
  display: none !important;
}

.auth-backdrop {
  z-index: 50;
  background:
    linear-gradient(180deg, rgba(95, 213, 245, 0.38), rgba(62, 169, 77, 0.42)),
    rgba(24, 84, 42, 0.34);
  backdrop-filter: blur(16px);
}

.modal {
  width: min(430px, 100%);
  max-height: calc(100svh - 36px);
  padding: 22px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(22, 75, 39, 0.26);
  animation: modalIn 0.28s var(--ease) both;
}

.chest-backdrop {
  z-index: 42;
}

.chest-modal {
  display: grid;
  gap: 14px;
  width: min(460px, 100%);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 237, 91, 0.38), transparent 34%),
    linear-gradient(155deg, rgba(255, 255, 246, 0.96), rgba(233, 255, 210, 0.92));
}

.chest-modal h2 {
  margin-bottom: 0;
  color: #71440b;
}

.chest-copy,
.chest-result {
  margin: 0;
  color: #365d2e;
  font-weight: 850;
}

.chest-result {
  min-height: 24px;
  color: #865405;
}

.chest-result.is-win {
  color: #1c883d;
  animation: popIn 0.32s var(--ease) both;
}

.chest-hero {
  display: grid;
  min-height: 118px;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 236, 95, 0.55), transparent 34%),
    linear-gradient(180deg, rgba(125, 227, 255, 0.45), rgba(106, 214, 86, 0.35));
}

.chest-art {
  position: relative;
  display: block;
  width: 142px;
  height: 102px;
  filter: drop-shadow(0 18px 18px rgba(116, 66, 9, 0.22));
}

.chest-art-lid,
.chest-art-body,
.chest-art-lock {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.chest-art-lid {
  top: 4px;
  width: 118px;
  height: 42px;
  border: 5px solid #74420b;
  border-bottom: 0;
  border-radius: 34px 34px 10px 10px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.82), transparent 18%),
    linear-gradient(180deg, #fff178, #ffb834);
}

.chest-art-body {
  bottom: 2px;
  width: 136px;
  height: 66px;
  border: 5px solid #74420b;
  border-radius: 16px 16px 28px 28px;
  background:
    linear-gradient(90deg, transparent 47%, rgba(255, 231, 94, 0.62) 48% 52%, transparent 53%),
    linear-gradient(180deg, #d78928, #8c4919);
}

.chest-art-lock {
  bottom: 22px;
  width: 31px;
  height: 35px;
  border-radius: 9px;
  background: linear-gradient(180deg, #fff8a8, #edb71d);
  box-shadow: 0 0 0 5px rgba(105, 62, 9, 0.24), inset 0 -4px 0 rgba(129, 84, 8, 0.18);
}

.chest-wheel {
  position: relative;
  overflow: hidden;
  min-height: 116px;
  padding: 12px 0;
  border: 1px solid rgba(255, 211, 66, 0.58);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 194, 0.65), rgba(255, 255, 255, 0.92)),
    rgba(255, 248, 184, 0.6);
  box-shadow: inset 0 -5px 0 rgba(129, 84, 8, 0.08);
}

.chest-seed-strip {
  display: flex;
  width: max-content;
  gap: 10px;
  padding: 0 50%;
  transform: translateX(0);
}

.chest-wheel.is-spinning .chest-seed-strip {
  animation: chestSpin 2.4s cubic-bezier(0.16, 0.84, 0.28, 1) both;
}

.chest-wheel.is-complete {
  border-color: rgba(255, 190, 30, 0.9);
  box-shadow: inset 0 -5px 0 rgba(129, 84, 8, 0.08), 0 0 28px rgba(255, 214, 65, 0.36);
}

.chest-seed-item {
  display: grid;
  width: 86px;
  flex: 0 0 86px;
  justify-items: center;
  gap: 6px;
  color: #31582c;
  font-size: 0.68rem;
  font-weight: 1000;
  line-height: 1.05;
}

.chest-seed-item .seed-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
}

.chest-seed-item .seed-sprout {
  width: 72px;
  height: 72px;
}

.chest-seed-item.is-prize .seed-icon {
  box-shadow:
    inset 0 -7px 0 rgba(33, 74, 36, 0.12),
    0 12px 18px rgba(34, 103, 44, 0.16),
    0 0 0 4px rgba(255, 213, 46, 0.42),
    0 0 24px rgba(255, 206, 35, 0.48);
}

.chest-pointer {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 28px;
  height: 28px;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 8px 8px 4px 8px;
  background: linear-gradient(135deg, #fff05d, #ff9d25);
  box-shadow: 0 5px 10px rgba(128, 77, 9, 0.2);
}

.auth-modal {
  width: min(470px, 100%);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 237, 107, 0.42), transparent 28%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(226, 255, 231, 0.9));
  box-shadow: 0 30px 90px rgba(12, 78, 42, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.auth-hero {
  position: relative;
  min-height: 210px;
  margin: -6px -6px 16px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 241, 111, 0.72), transparent 13%),
    linear-gradient(180deg, #8ee9ff 0%, #cbffe7 55%, #8ee26b 56%, #46bf57 100%);
  box-shadow: inset 0 -8px 0 rgba(28, 112, 50, 0.08), 0 15px 28px rgba(33, 111, 48, 0.14);
}

.auth-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background:
    radial-gradient(ellipse at 50% 95%, rgba(41, 139, 50, 0.2), transparent 55%),
    linear-gradient(180deg, rgba(107, 221, 87, 0), rgba(40, 170, 58, 0.38));
  pointer-events: none;
}

.auth-tree-image {
  position: absolute;
  left: 50%;
  bottom: -52px;
  z-index: 3;
  width: min(96%, 380px);
  max-height: 280px;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 16px 14px rgba(24, 96, 38, 0.23));
  user-select: none;
  pointer-events: none;
}

.auth-tree {
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 304px;
  height: 166px;
  transform: translateX(-50%);
}

.auth-tree::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 8;
  width: 58px;
  height: 118px;
  border-radius: 22px 22px 12px 12px;
  background:
    radial-gradient(ellipse at 52% 56%, rgba(95, 49, 18, 0.42) 0 10%, transparent 11%),
    linear-gradient(90deg, rgba(99, 49, 20, 0.5), transparent 22% 78%, rgba(91, 45, 18, 0.46)),
    repeating-linear-gradient(105deg, transparent 0 10px, rgba(255, 206, 98, 0.2) 11px 13px),
    linear-gradient(90deg, #7a421f, #d28a34 47%, #8a4c21);
  box-shadow: inset 8px 0 0 rgba(255, 212, 126, 0.16), 0 6px 0 rgba(74, 55, 25, 0.13);
  clip-path: polygon(34% 0, 68% 0, 83% 100%, 13% 100%);
  transform: translateX(-50%);
}

.auth-tree::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 5;
  width: 254px;
  height: 114px;
  border-radius: 46% 54% 45% 48% / 56% 60% 42% 44%;
  background:
    radial-gradient(ellipse at 18% 58%, #7ed41e 0 16%, transparent 17%),
    radial-gradient(ellipse at 31% 22%, #d7f83a 0 18%, transparent 19%),
    radial-gradient(ellipse at 48% 35%, #a7e92f 0 23%, transparent 24%),
    radial-gradient(ellipse at 67% 28%, #ddfa45 0 17%, transparent 18%),
    radial-gradient(ellipse at 82% 56%, #73c71d 0 16%, transparent 17%),
    radial-gradient(ellipse at 54% 70%, #65bd1f 0 19%, transparent 20%),
    linear-gradient(145deg, #bee832 0%, #6fc326 48%, #2c8f32 100%);
  box-shadow: inset 0 -14px 0 rgba(34, 116, 34, 0.17), 0 12px 0 rgba(20, 121, 54, 0.12);
  transform: translateX(-50%);
}

.auth-branch {
  position: absolute;
  z-index: 9;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4c270f, #8d551f 62%, rgba(141, 85, 31, 0));
  box-shadow: 0 2px 0 rgba(67, 37, 18, 0.18);
  transform-origin: left center;
}

.auth-branch-left {
  left: 126px;
  top: 83px;
  width: 104px;
  transform: rotate(-156deg);
}

.auth-branch-right {
  left: 156px;
  top: 82px;
  width: 104px;
  transform: rotate(-24deg);
}

.auth-branch-center {
  left: 152px;
  top: 77px;
  width: 72px;
  transform: rotate(-94deg);
}

.auth-leaf {
  position: absolute;
  z-index: 6;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 34% 26%, rgba(255, 255, 138, 0.62), transparent 24%),
    linear-gradient(145deg, #d3f63c, #6cc521 54%, #298d30);
  box-shadow: inset 0 -8px 0 rgba(29, 118, 37, 0.12), 0 5px 0 rgba(26, 112, 39, 0.08);
}

.auth-leaf-a { left: 12px; top: 58px; width: 96px; height: 54px; }
.auth-leaf-b { left: 54px; top: 22px; width: 110px; height: 64px; }
.auth-leaf-c { left: 126px; top: 16px; width: 112px; height: 68px; }
.auth-leaf-d { right: 12px; top: 58px; width: 96px; height: 54px; }
.auth-leaf-e { left: 42px; top: 88px; width: 108px; height: 50px; }
.auth-leaf-f { right: 42px; top: 88px; width: 108px; height: 50px; }
.auth-leaf-g { left: 96px; top: 62px; width: 110px; height: 62px; }
.auth-leaf-h { left: 164px; top: 60px; width: 94px; height: 56px; }

.auth-coin {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.86), transparent 22%),
    linear-gradient(135deg, #fff171, #ffc437 62%, #e59618);
  box-shadow: inset 0 -4px 0 rgba(148, 92, 7, 0.16), 0 9px 15px rgba(166, 109, 15, 0.18);
  animation: floatCoin 2.7s var(--ease) infinite;
}

.auth-coin-a {
  left: 20%;
  top: 26px;
}

.auth-coin-b {
  right: 18%;
  top: 44px;
  animation-delay: 0.45s;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 14px;
  padding: 5px;
  border-radius: 18px;
  background: rgba(75, 180, 83, 0.12);
}

.auth-tab {
  min-height: 42px;
  border-radius: 14px;
  color: #2b6534;
  font-weight: 1000;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.auth-tab.is-active {
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.75), transparent 20%),
    linear-gradient(135deg, #fff483, #7de36a 62%, #32bd5a);
  box-shadow: inset 0 -4px 0 rgba(36, 121, 48, 0.12), 0 10px 18px rgba(36, 121, 48, 0.14);
}

.auth-panel[hidden] {
  display: none;
}

.auth-modal .login-form {
  grid-template-columns: 1fr;
}

.auth-modal .button-xl {
  width: 100%;
}

.auth-alt {
  margin: 0;
  color: #426446;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 900;
}

.auth-alt button {
  color: #0d873e;
  font-weight: 1000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.terms-panel {
  margin-top: 14px;
  border: 1px solid rgba(73, 172, 86, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.terms-panel summary {
  cursor: pointer;
  padding: 13px 15px;
  color: #1f7137;
  font-size: 0.96rem;
  font-weight: 1000;
  list-style: none;
}

.terms-panel summary::-webkit-details-marker {
  display: none;
}

.terms-panel summary::after {
  content: "+";
  float: right;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eaff82, #57d45f);
  color: #1c6531;
  text-align: center;
  line-height: 24px;
  box-shadow: 0 8px 14px rgba(48, 145, 67, 0.18);
}

.terms-panel[open] summary::after {
  content: "-";
}

.terms-list {
  max-height: 210px;
  margin: 0;
  padding: 0 18px 16px 34px;
  overflow: auto;
  color: #315c38;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
}

.terms-list li + li {
  margin-top: 7px;
}

.modal p {
  margin-bottom: 18px;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 18px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(97, 206, 94, 0.12);
  color: #315b36;
  font-weight: 800;
}

.account-form {
  display: grid;
  gap: 11px;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid rgba(91, 181, 86, 0.24);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(235, 255, 228, 0.72)),
    rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 14px 30px rgba(35, 112, 53, 0.12);
}

.account-form h3 {
  margin: 0;
  color: #23572f;
  font-size: 1.02rem;
}

.account-form label {
  display: grid;
  gap: 6px;
  color: #416b47;
  font-size: 0.84rem;
  font-weight: 900;
}

.account-form input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(59, 153, 70, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 3px 8px rgba(42, 110, 48, 0.08);
  color: #223f2b;
  font-weight: 800;
}

.account-form input:focus {
  outline: 3px solid rgba(255, 219, 70, 0.52);
  border-color: rgba(65, 170, 76, 0.5);
}

.account-status {
  margin: 0;
  color: #47724c;
  font-size: 0.84rem;
  font-weight: 800;
}

.support-open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.support-open-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: url("assets/support-monica-v1.webp?v=20260703-3") center 28% / 190% auto no-repeat, linear-gradient(135deg, #dfffe8, #74e783);
  box-shadow: 0 8px 14px rgba(21, 122, 57, 0.18), inset 0 0 0 2px rgba(255, 255, 255, 0.78);
}

.support-widget {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 38;
  display: grid;
  grid-template-rows: auto minmax(210px, 1fr) auto;
  width: min(390px, calc(100vw - 28px));
  max-height: min(640px, calc(100vh - 28px));
  overflow: hidden;
  border: 1px solid rgba(96, 205, 103, 0.46);
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.9), transparent 24%),
    linear-gradient(155deg, rgba(253, 255, 242, 0.98), rgba(212, 255, 224, 0.96) 58%, rgba(185, 248, 237, 0.94));
  box-shadow: 0 24px 58px rgba(25, 89, 48, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  animation: modalIn 0.2s var(--ease) both;
}

.support-widget[hidden] {
  display: none;
}

.support-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border-bottom: 1px solid rgba(78, 176, 92, 0.18);
  background: rgba(255, 255, 255, 0.48);
}

.support-avatar {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 18px;
  object-fit: cover;
  object-position: 50% 18%;
  background: linear-gradient(135deg, #d9ffe2, #62d977);
  box-shadow: 0 12px 22px rgba(20, 111, 58, 0.22), inset 0 0 0 2px rgba(255, 255, 255, 0.82);
}

.support-header h2,
.support-header p {
  margin: 0;
}

.support-header h2 {
  color: #1f5130;
  font-size: 1.08rem;
}

.support-header p {
  color: #4f7d58;
  font-size: 0.82rem;
  font-weight: 850;
}

.support-window-actions {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.support-window-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: #285d37;
  box-shadow: inset 0 -2px 0 rgba(34, 97, 48, 0.08), 0 7px 13px rgba(25, 103, 57, 0.12);
  cursor: pointer;
  font-weight: 1000;
}

.support-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 230px;
  max-height: 410px;
  overflow-y: auto;
  padding: 14px;
}

.support-message {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.support-message.is-user {
  justify-content: flex-end;
}

.support-message-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  background: #dfffe6;
}

.support-bubble {
  max-width: min(285px, 78vw);
  padding: 11px 12px;
  border-radius: 18px 18px 18px 6px;
  background: #ffffff;
  color: #294d34;
  box-shadow: 0 10px 20px rgba(24, 100, 55, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.35;
}

.support-message.is-user .support-bubble {
  border-radius: 18px 18px 6px 18px;
  background: linear-gradient(135deg, #ffe963, #ff8830);
  color: #5d3300;
}

.support-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(78, 176, 92, 0.18);
  background: rgba(255, 255, 255, 0.44);
}

.support-form[hidden] {
  display: none;
}

.support-form input {
  min-width: 0;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid rgba(59, 153, 70, 0.24);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: #223f2b;
  font-weight: 850;
  box-shadow: inset 0 3px 8px rgba(42, 110, 48, 0.08);
}

.support-form .button {
  min-height: 46px;
  padding-inline: 16px;
}

.toast-host {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 96;
  display: grid;
  gap: 10px;
  width: min(340px, calc(100vw - 28px));
  pointer-events: none;
}

body.is-auth-locked .toast-host {
  top: max(78px, calc(env(safe-area-inset-top) + 78px));
  right: auto;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
}

.toast {
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  color: #244d2c;
  font-weight: 900;
  animation: toastIn 0.3s var(--ease) both;
  backdrop-filter: blur(14px);
}

.tree {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 1;
  width: 100%;
  height: 100%;
  transform: translateX(-50%);
}

.tree::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 11%;
  z-index: 1;
  width: 72%;
  height: 66%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--accent), transparent 54%), transparent 64%);
  filter: blur(16px);
  opacity: 0;
  transform: translateX(-50%) scale(0.35);
  pointer-events: none;
}

.tree.stage-1::before,
.tree.stage-2::before,
.tree.stage-3::before,
.tree.stage-4::before {
  opacity: 0.46;
}

.tree.stage-1::before { transform: translateX(-50%) scale(0.48); }
.tree.stage-2::before { transform: translateX(-50%) scale(0.66); }
.tree.stage-3::before { transform: translateX(-50%) scale(0.84); }
.tree.stage-4::before { transform: translateX(-50%) scale(1); }

.tree-render.is-tapping .tree,
.tree.is-click-pop {
  animation: treePress 0.28s var(--ease) both;
}

.tree .trunk,
.tree .branch,
.tree .canopy,
.tree .fruit,
.tree .tree-image,
.tree .seed-shell,
.tree .sprout,
.tree .spark {
  position: absolute;
}

.tree .tree-image {
  display: none;
  left: 50%;
  bottom: -2px;
  width: min(130%, 540px);
  height: 118%;
  background: url("assets/tree-money-v3.webp?v=20260702-12") center bottom / contain no-repeat;
  filter:
    drop-shadow(0 27px 22px var(--tree-shadow, rgba(16, 72, 31, 0.24)))
    drop-shadow(0 0 12px color-mix(in srgb, var(--accent), transparent 52%));
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  z-index: 2;
}

.tree .trunk {
  left: 50%;
  bottom: 54px;
  width: 13%;
  min-width: 28px;
  height: 38%;
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--trunk), #000 16%), var(--trunk), color-mix(in srgb, var(--trunk), #fff 16%));
  box-shadow: inset -8px 0 0 rgba(75, 39, 20, 0.13);
  transform: translateX(-50%) scaleY(0.2);
  transform-origin: 50% 100%;
}

.tree .trunk::before,
.tree .trunk::after {
  content: "";
  position: absolute;
  top: 16%;
  bottom: 12%;
  width: 22%;
  border-radius: 999px;
  background: rgba(255, 225, 166, 0.22);
}

.tree .trunk::before {
  left: 26%;
  transform: rotate(5deg);
}

.tree .trunk::after {
  right: 22%;
  background: rgba(80, 40, 17, 0.14);
  transform: rotate(-7deg);
}

.tree .branch {
  left: 50%;
  bottom: 165px;
  width: 24%;
  min-width: 58px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--trunk), #000 18%), var(--trunk));
  box-shadow: inset 0 -5px 0 rgba(72, 38, 20, 0.12);
  transform-origin: 8% 50%;
  transform: scaleX(0);
}

.tree .branch::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 30px;
  height: 18px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, var(--leaf), var(--leaf-dark));
  box-shadow: 0 4px 8px rgba(23, 95, 41, 0.14);
  transform: translateY(-50%) rotate(24deg);
}

.tree .branch-a {
  transform: rotate(-28deg) scaleX(0);
}

.tree .branch-b {
  bottom: 178px;
  transform: rotate(208deg) scaleX(0);
}

.tree .branch-c {
  bottom: 216px;
  width: 20%;
  transform: rotate(-48deg) scaleX(0);
}

.tree .branch-d {
  bottom: 229px;
  width: 19%;
  transform: rotate(225deg) scaleX(0);
}

.tree .canopy {
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 27%, rgba(255, 255, 255, 0.36), transparent 24%),
    linear-gradient(135deg, var(--leaf), var(--leaf-dark));
  box-shadow:
    inset 0 -14px 0 rgba(23, 79, 32, 0.13),
    0 15px 22px rgba(20, 92, 42, 0.17);
  transform: scale(0);
  transform-origin: 50% 80%;
}

.tree .canopy::before,
.tree .canopy::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.tree .canopy::before {
  inset: 12% 18% auto auto;
  width: 22%;
  height: 18%;
  background: rgba(255, 255, 255, 0.32);
  filter: blur(0.5px);
}

.tree .canopy::after {
  left: 18%;
  right: 18%;
  bottom: 15%;
  height: 16%;
  background: rgba(21, 102, 39, 0.12);
}

.tree .canopy-a {
  left: 25%;
  top: 27%;
  width: 34%;
  height: 34%;
}

.tree .canopy-b {
  right: 24%;
  top: 25%;
  width: 38%;
  height: 37%;
}

.tree .canopy-c {
  left: 34%;
  top: 14%;
  width: 35%;
  height: 34%;
}

.tree .canopy-d {
  left: 18%;
  top: 39%;
  width: 34%;
  height: 32%;
}

.tree .canopy-e {
  right: 17%;
  top: 40%;
  width: 35%;
  height: 33%;
}

.tree .canopy-f {
  left: 12%;
  top: 30%;
  width: 32%;
  height: 31%;
}

.tree .canopy-g {
  right: 10%;
  top: 31%;
  width: 33%;
  height: 32%;
}

.tree .canopy-h {
  left: 37%;
  top: 3%;
  width: 29%;
  height: 29%;
}

.tree .seed-shell {
  left: 50%;
  bottom: 54px;
  width: 68px;
  height: 78px;
  border-radius: 62% 38% 58% 42%;
  background:
    radial-gradient(circle at 35% 27%, rgba(255, 255, 255, 0.38), transparent 20%),
    linear-gradient(135deg, color-mix(in srgb, var(--trunk), #fff 18%), var(--trunk));
  box-shadow: inset -8px -10px 0 rgba(91, 45, 17, 0.14), 0 16px 18px rgba(66, 87, 28, 0.18);
  transform: translateX(-50%) rotate(-13deg);
}

.tree .sprout {
  left: 50%;
  bottom: 118px;
  width: 18px;
  height: 58px;
  border-radius: 999px;
  background: #2db653;
  transform: translateX(-50%);
}

.tree .sprout::before,
.tree .sprout::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 44px;
  height: 24px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, var(--leaf), var(--leaf-dark));
}

.tree .sprout::before {
  right: 8px;
  transform: rotate(-22deg);
}

.tree .sprout::after {
  left: 8px;
  transform: scaleX(-1) rotate(-22deg);
}

.tree .fruit {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff479, #ffbe35);
  box-shadow: inset 0 -4px 0 rgba(157, 102, 6, 0.14), 0 7px 10px rgba(122, 91, 19, 0.16);
  transform: scale(0);
}

.tree .fruit-a {
  left: 33%;
  top: 34%;
}

.tree .fruit-b {
  right: 33%;
  top: 36%;
}

.tree .fruit-c {
  left: 47%;
  top: 22%;
}

.tree .fruit-d {
  left: 23%;
  top: 48%;
}

.tree .fruit-e {
  right: 21%;
  top: 49%;
}

.tree .spark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  opacity: 0.84;
  animation: sparkle 1.8s ease-in-out infinite;
}

.tree .spark-a {
  left: 22%;
  top: 30%;
}

.tree .spark-b {
  right: 21%;
  top: 25%;
  animation-delay: 0.45s;
}

.tree .spark-c {
  right: 30%;
  top: 62%;
  animation-delay: 0.9s;
}

.tree .spark-d {
  left: 43%;
  top: 8%;
  animation-delay: 1.2s;
}

.tree.stage-0 .seed-shell,
.tree.stage-0 .sprout {
  display: block;
}

.tree.stage-0 .tree-image {
  display: none;
}

.tree.stage-0 .seed-shell,
.tree.stage-0 .sprout {
  z-index: 2;
}

.tree.stage-0 .trunk,
.tree.stage-0 .branch,
.tree.stage-0 .canopy,
.tree.stage-0 .fruit {
  display: none;
}

.tree.stage-1 .seed-shell,
.tree.stage-2 .seed-shell,
.tree.stage-3 .seed-shell,
.tree.stage-4 .seed-shell,
.tree.stage-1 .sprout,
.tree.stage-2 .sprout,
.tree.stage-3 .sprout,
.tree.stage-4 .sprout {
  display: none;
}

.tree.stage-1 .tree-image,
.tree.stage-2 .tree-image,
.tree.stage-3 .tree-image,
.tree.stage-4 .tree-image {
  display: block;
  animation: leafBreath 3.1s var(--ease) infinite alternate;
}

.tree.stage-1 .tree-image {
  opacity: 0.86;
  transform: translateX(-50%) scale(0.48);
}

.tree.stage-2 .tree-image {
  opacity: 0.92;
  transform: translateX(-50%) scale(0.66);
}

.tree.stage-3 .tree-image {
  opacity: 0.98;
  transform: translateX(-50%) scale(0.84);
}

.tree.stage-4 .tree-image {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.tree.stage-1 .trunk,
.tree.stage-1 .branch,
.tree.stage-1 .canopy,
.tree.stage-1 .fruit,
.tree.stage-1 .spark,
.tree.stage-2 .trunk,
.tree.stage-2 .branch,
.tree.stage-2 .canopy,
.tree.stage-2 .fruit,
.tree.stage-2 .spark,
.tree.stage-3 .trunk,
.tree.stage-3 .branch,
.tree.stage-3 .canopy,
.tree.stage-3 .fruit,
.tree.stage-3 .spark,
.tree.stage-4 .trunk,
.tree.stage-4 .branch,
.tree.stage-4 .canopy,
.tree.stage-4 .fruit,
.tree.stage-4 .spark {
  display: none;
}

.tree.stage-0 .spark,
.tree.stage-1 .spark,
.tree.stage-2 .spark {
  display: none;
}

.tree-gratis .tree-image {
  --tree-shadow: rgba(31, 112, 34, 0.23);
  background-image: url("assets/tree-money-v3.webp?v=20260702-12");
  filter: hue-rotate(18deg) saturate(1.16) drop-shadow(0 18px 14px var(--tree-shadow));
}

.tree-verde .tree-image {
  --tree-shadow: rgba(16, 72, 31, 0.24);
  background-image: url("assets/tree-money-v3.webp?v=20260702-12");
}

.tree-azul .tree-image {
  --tree-shadow: rgba(19, 83, 111, 0.24);
  background-image: url("assets/tree-azul.webp?v=20260629-12");
}

.tree-dourada .tree-image {
  --tree-shadow: rgba(135, 91, 13, 0.24);
  background-image: url("assets/tree-dourada.webp?v=20260629-12");
}

.tree-rosa .tree-image {
  --tree-shadow: rgba(132, 39, 91, 0.22);
  background-image: url("assets/tree-rosa.webp?v=20260629-12");
}

.tree-cristal .tree-image {
  --tree-shadow: rgba(74, 151, 161, 0.24);
  background-image: url("assets/tree-cristal.webp?v=20260629-12");
}

.tree-fogo .tree-image {
  --tree-shadow: rgba(142, 62, 14, 0.26);
  background-image: url("assets/tree-fogo.webp?v=20260629-12");
}

.tree-gelo .tree-image {
  --tree-shadow: rgba(66, 148, 181, 0.22);
  background-image: url("assets/tree-gelo.webp?v=20260629-12");
}

.tree-magica .tree-image {
  --tree-shadow: rgba(70, 45, 146, 0.25);
  background-image: url("assets/tree-magica.webp?v=20260629-12");
}

.tree-lunar .tree-image {
  --tree-shadow: rgba(69, 74, 128, 0.25);
  background-image: url("assets/tree-lunar.webp?v=20260629-12");
}

.tree-real .tree-image {
  --tree-shadow: rgba(121, 82, 11, 0.28);
  background-image: url("assets/tree-real.webp?v=20260629-12");
}

.tree-dourada::before,
.tree-real::before {
  background: radial-gradient(circle at 50% 46%, rgba(255, 222, 69, 0.44), transparent 64%);
}

.tree-fogo::before {
  background:
    radial-gradient(circle at 50% 56%, rgba(255, 99, 30, 0.38), transparent 62%),
    radial-gradient(circle at 48% 28%, rgba(255, 223, 63, 0.28), transparent 34%);
}

.tree-gelo::before,
.tree-cristal::before {
  background:
    radial-gradient(circle at 50% 52%, rgba(204, 255, 255, 0.44), transparent 64%),
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.34), transparent 28%);
}

.tree-magica::before,
.tree-lunar::before {
  background:
    radial-gradient(circle at 50% 52%, rgba(165, 104, 255, 0.38), transparent 64%),
    radial-gradient(circle at 56% 28%, rgba(255, 220, 255, 0.26), transparent 32%);
}

.tree-azul .canopy {
  border-radius: 58% 42% 62% 38%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.5), transparent 24%),
    linear-gradient(150deg, #8be5ff, var(--leaf), var(--leaf-dark));
}

.tree-dourada .canopy,
.tree-real .canopy {
  box-shadow:
    inset 0 -14px 0 rgba(143, 91, 8, 0.12),
    0 17px 25px rgba(189, 135, 20, 0.22),
    0 0 20px rgba(255, 221, 83, 0.28);
}

.tree-rosa .canopy {
  border-radius: 65% 35% 60% 40%;
  background:
    radial-gradient(circle at 34% 27%, rgba(255, 255, 255, 0.5), transparent 24%),
    radial-gradient(circle at 70% 68%, rgba(255, 219, 237, 0.46), transparent 28%),
    linear-gradient(135deg, var(--leaf), var(--leaf-dark));
}

.tree-cristal .canopy {
  border-radius: 28% 72% 34% 66%;
  clip-path: polygon(50% 0, 92% 24%, 82% 78%, 50% 100%, 16% 78%, 8% 24%);
  background:
    radial-gradient(circle at 35% 27%, rgba(255, 255, 255, 0.68), transparent 22%),
    linear-gradient(145deg, #e8ffff, var(--leaf), var(--leaf-dark));
}

.tree-fogo .canopy {
  border-radius: 74% 26% 68% 32% / 84% 38% 62% 16%;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 247, 152, 0.65), transparent 20%),
    linear-gradient(150deg, #ffe45c, var(--leaf), var(--leaf-dark));
}

.tree-gelo .canopy {
  border-radius: 44% 56% 45% 55%;
  filter: saturate(0.95) brightness(1.08);
  box-shadow:
    inset 0 -14px 0 rgba(70, 137, 180, 0.13),
    0 15px 22px rgba(82, 166, 214, 0.18),
    0 0 22px rgba(223, 255, 255, 0.45);
}

.tree-magica .canopy,
.tree-lunar .canopy {
  box-shadow:
    inset 0 -14px 0 rgba(33, 21, 86, 0.14),
    0 15px 24px rgba(88, 56, 168, 0.2),
    0 0 24px color-mix(in srgb, var(--accent), transparent 35%);
}

.tree-lunar .fruit {
  background: linear-gradient(180deg, #fffad1, #d8dcff);
}

.tree-real .canopy-h::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -12px;
  width: 54px;
  height: 28px;
  border-radius: 10px 10px 18px 18px;
  background:
    linear-gradient(135deg, transparent 0 14%, #ffe66f 15% 33%, transparent 34% 40%, #ffd239 41% 60%, transparent 61% 66%, #ffe66f 67% 86%, transparent 87%),
    linear-gradient(180deg, #fff489, #e3a920);
  box-shadow: 0 5px 10px rgba(127, 87, 10, 0.18);
  transform: translateX(-50%);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  animation: slideUpFade 0.58s var(--ease) both;
}

@media (max-width: 560px) {
  body {
    background:
      linear-gradient(180deg, rgba(12, 105, 179, 0.04), rgba(24, 127, 55, 0.1)),
      var(--game-bg-image) center center / cover no-repeat,
      linear-gradient(180deg, #75dfff 0%, #c9f8ff 50%, #6bd65c 100%);
    background-attachment: fixed, fixed, fixed;
  }

  .hero-scene,
  .garden-stage {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(25, 121, 53, 0.06)),
      var(--game-bg-image) center center / cover no-repeat;
  }

  .section-heading {
    padding: 16px;
    border-radius: 22px;
  }

  .shop-toolbar {
    grid-template-columns: 1fr;
  }

  .shop-toolbar span {
    min-height: 50px;
  }

  .seed-card {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 15px;
  }

  .seed-art {
    right: -10px;
    bottom: 74px;
    width: 180px;
    height: 180px;
    opacity: 0.14;
  }

  .seed-icon-large {
    width: 130px;
    height: 130px;
  }

  .seed-icon-large .seed-sprout {
    width: 126px;
    height: 126px;
  }

  .seed-title-row {
    justify-items: center;
    text-align: center;
  }

  .seed-status {
    justify-self: center;
  }

  .seed-stats {
    grid-template-columns: 1fr;
  }

  .stat-pill {
    grid-template-columns: 28px minmax(0, 1fr);
    grid-template-areas:
      "icon value"
      "icon label";
    justify-content: start;
    min-height: 50px;
    padding: 8px 10px;
  }

  .stat-pill em {
    font-size: 0.9rem;
  }

  .seed-benefit-row {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .seed-benefit-row span:last-child {
    width: 100%;
    margin-left: 0;
  }

  .tree-spot {
    width: min(88vw, 380px);
    height: min(88vw, 380px);
    bottom: 12%;
  }

  .tree-coins {
    top: 90px;
  }
}

@media (hover: hover) {
  .button:hover,
  .icon-button:hover,
  .deposit-chip:hover,
  .seed-card:hover,
  .helper-card:not(.is-disabled):hover {
    transform: translateY(-2px) scale(1.015);
    box-shadow: 0 20px 40px rgba(30, 101, 48, 0.24);
  }

  .helper-card:not(.is-disabled):hover::after {
    animation: shine 0.75s ease;
  }

  .button-primary:hover::before {
    animation: shine 0.75s ease;
  }

  .tree-render:not([aria-disabled="true"]):hover {
    filter: drop-shadow(0 28px 21px rgba(23, 81, 37, 0.2)) drop-shadow(0 0 20px rgba(255, 222, 67, 0.32));
  }

  .tree-render:not([aria-disabled="true"]):hover .tree .canopy {
    filter: saturate(1.1) brightness(1.04);
  }
}

@media (min-width: 650px) {
  .game-shell {
    padding: 20px 24px 36px;
  }

  .topbar {
    top: 16px;
  }

  .home-view {
    gap: 26px;
  }

  .home-actions {
    width: min(520px, 100%);
    margin: 0 auto;
    grid-template-columns: 1.2fr 0.8fr;
  }

  .access-panel {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: center;
  }

  .login-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
    align-items: end;
  }

  .auth-modal .login-form {
    grid-template-columns: 1fr;
  }

  .login-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr auto;
  }

  .bank-heading {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .deposit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .deposit-input-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .button-xl {
    min-height: 66px;
  }

  .section-heading {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .seed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 930px) {
  .garden-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
    align-items: stretch;
  }

  .garden-stage {
    min-height: 640px;
  }

  .garden-panel {
    align-self: center;
  }

  .seed-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 390px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 6px;
    padding: 8px;
  }

  .icon-button:not(.account-button):not(.treasure-button) {
    display: none;
  }

  .brand-mark {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .brand-button {
    gap: 7px;
  }

  .brand-button strong {
    font-size: 0.88rem;
  }

  .brand-button small {
    font-size: 0.62rem;
  }

  .icon-button.account-button {
    min-width: 44px;
    width: 44px;
    padding: 0;
  }

  .account-button-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .coin-wallet {
    min-width: 76px;
    padding-inline: 10px;
  }

  .stats-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .stats-list dd {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes treasurePulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
  50% {
    transform: translateY(-3px) scale(1.035);
    filter: brightness(1.06);
  }
}

@keyframes chestSpin {
  0% {
    transform: translateX(0);
  }
  72% {
    transform: translateX(-2820px);
  }
  100% {
    transform: translateX(-3210px);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ctaGlow {
  0%,
  100% {
    filter: brightness(1);
    box-shadow: 0 16px 30px rgba(199, 128, 23, 0.25), 0 0 18px rgba(255, 214, 71, 0.28), inset 0 -5px 0 rgba(129, 75, 0, 0.14);
  }
  50% {
    filter: brightness(1.04);
    box-shadow: 0 20px 38px rgba(199, 128, 23, 0.34), 0 0 34px rgba(255, 221, 77, 0.52), inset 0 -5px 0 rgba(129, 75, 0, 0.14);
  }
}

@keyframes magicAura {
  from {
    opacity: 0.52;
    transform: translateX(-50%) scale(0.95);
  }
  to {
    opacity: 0.88;
    transform: translateX(-50%) scale(1.04);
  }
}

@keyframes shimmer {
  to {
    transform: translateX(110%);
  }
}

@keyframes progressShine {
  0%,
  35% {
    transform: translateX(-100%);
  }
  75%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes loadingSlide {
  0% {
    transform: translateX(-70%);
  }
  100% {
    transform: translateX(150%);
  }
}

@keyframes sway {
  0%,
  100% {
    transform: translateX(-50%) rotate(-1deg);
  }
  50% {
    transform: translateX(-50%) rotate(1.4deg);
  }
}

@keyframes treeSway {
  0%,
  100% {
    transform: rotate(-1deg);
  }
  50% {
    transform: rotate(1.4deg);
  }
}

@keyframes leafBreath {
  from {
    filter: saturate(1) brightness(1);
  }
  to {
    filter: saturate(1.08) brightness(1.04);
  }
}

@keyframes treePress {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  45% {
    transform: translateX(-50%) scale(0.94, 1.04);
  }
}

@keyframes bob {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

@keyframes coinBob {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-7px) scale(1.04);
  }
}

@keyframes drift {
  0% {
    transform: translateX(-16px);
  }
  50% {
    transform: translateX(18px);
  }
  100% {
    transform: translateX(-16px);
  }
}

@keyframes shine {
  to {
    transform: translateX(110%);
  }
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(16);
  }
}

@keyframes floatCoin {
  0% {
    opacity: 0;
    transform: translate(-50%, 24px) scale(0.8);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--float-x, 0px)), -105px) scale(1.08);
  }
}

@keyframes rewardCoinIn {
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes rewardCoinOut {
  to {
    opacity: 0;
    transform: translate(-50%, -82px) scale(0.78);
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.72);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.treasure-button {
  right: 18px;
  bottom: 22px;
  width: 94px;
  height: 94px;
  border-radius: 30px;
  border-color: rgba(255, 244, 112, 0.95);
  background:
    radial-gradient(circle at 24% 16%, rgba(255, 255, 255, 0.95), transparent 20%),
    radial-gradient(circle at 76% 18%, rgba(255, 255, 176, 0.76), transparent 18%),
    linear-gradient(145deg, #fff15d 0%, #ffc034 46%, #ff7b2e 100%);
  box-shadow:
    inset 0 -8px 0 rgba(123, 65, 7, 0.18),
    0 18px 32px rgba(104, 65, 9, 0.26),
    0 0 0 6px rgba(255, 230, 66, 0.18),
    0 0 42px rgba(255, 214, 43, 0.58);
  isolation: isolate;
  animation: treasurePulseStrong 2.35s ease-in-out infinite;
}

.treasure-button::before,
.treasure-button::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: inherit;
  pointer-events: none;
}

.treasure-button::before {
  background: conic-gradient(from 15deg, transparent, rgba(255, 255, 180, 0.78), transparent 34%);
  filter: blur(2px);
  opacity: 0.75;
  z-index: -1;
  animation: treasureHaloSpin 3.8s linear infinite;
}

.treasure-button::after {
  inset: 6px;
  background: linear-gradient(115deg, transparent 0 30%, rgba(255, 255, 255, 0.65) 44%, transparent 58% 100%);
  transform: translateX(-120%);
  animation: treasureSweep 2.8s ease-in-out infinite;
}

.treasure-glyph {
  width: 58px;
  height: 45px;
  filter: drop-shadow(0 7px 5px rgba(108, 58, 5, 0.22));
}

.treasure-copy {
  margin-top: -2px;
  font-size: 0.8rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.46);
}

.treasure-lid {
  width: 52px;
  height: 19px;
}

.treasure-body {
  width: 58px;
  height: 30px;
}

.treasure-lock {
  width: 17px;
  height: 18px;
}

.chest-modal {
  width: min(500px, 100%);
  background:
    radial-gradient(circle at 50% 4%, rgba(255, 235, 80, 0.5), transparent 34%),
    radial-gradient(circle at 10% 18%, rgba(109, 232, 129, 0.24), transparent 30%),
    linear-gradient(155deg, rgba(255, 255, 246, 0.97), rgba(226, 255, 211, 0.94));
}

.chest-modal h2 {
  font-size: clamp(2rem, 7vw, 2.7rem);
  letter-spacing: 0;
}

.chest-copy {
  max-width: 340px;
  justify-self: center;
  font-size: 1rem;
}

.chest-result:empty {
  display: none;
}

.chest-hero {
  min-height: 152px;
  border: 1px solid rgba(255, 239, 116, 0.65);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 239, 93, 0.72), transparent 32%),
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.62), transparent 13%),
    linear-gradient(180deg, rgba(125, 227, 255, 0.5), rgba(106, 214, 86, 0.42));
}

.chest-art {
  width: 176px;
  height: 126px;
  animation: chestFloatGlow 2.5s ease-in-out infinite alternate;
}

.chest-art::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 233, 64, 0.45), transparent 60%);
  filter: blur(4px);
  z-index: -1;
  animation: chestAura 1.9s ease-in-out infinite alternate;
}

.chest-art::after {
  content: "";
  position: absolute;
  inset: 6px 10px;
  border-radius: 36px;
  background: linear-gradient(120deg, transparent 0 36%, rgba(255, 255, 255, 0.68) 46%, transparent 58% 100%);
  transform: translateX(-135%);
  animation: chestShineSweep 2.2s ease-in-out infinite;
}

.chest-art-lid {
  width: 150px;
  height: 52px;
}

.chest-art-body {
  width: 166px;
  height: 82px;
}

.chest-art-lock {
  bottom: 28px;
  width: 38px;
  height: 42px;
}

.checkout-backdrop,
.tutorial-backdrop {
  z-index: 48;
}

.checkout-modal,
.tutorial-modal {
  display: grid;
  gap: 16px;
  text-align: center;
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 241, 110, 0.46), transparent 30%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.97), rgba(223, 255, 230, 0.94));
}

.checkout-icon {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  justify-self: center;
  border-radius: 24px;
  background: linear-gradient(145deg, #f7fff4, #c6ffb7);
  box-shadow: inset 0 -5px 0 rgba(38, 120, 49, 0.12), 0 16px 22px rgba(43, 123, 48, 0.16);
}

.checkout-icon .coin-icon {
  width: 48px;
  height: 48px;
}

.checkout-modal h2,
.tutorial-modal h2 {
  margin: 0;
  color: #244a31;
  font-size: clamp(1.9rem, 8vw, 2.5rem);
}

.checkout-modal p,
.tutorial-page p {
  margin: 0;
  color: #345f3a;
  font-size: 1.03rem;
  line-height: 1.45;
}

.checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkout-chip {
  min-height: 58px;
  font-size: 1.1rem;
}

.tutorial-pages {
  min-height: 318px;
}

.tutorial-page {
  display: grid;
  gap: 12px;
  justify-items: center;
  animation: tutorialPageIn 0.28s var(--ease) both;
}

.tutorial-page[hidden] {
  display: none;
}

.tutorial-visual {
  position: relative;
  display: block;
  width: min(250px, 78vw);
  height: 162px;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 19%, rgba(255, 243, 108, 0.76), transparent 12%),
    linear-gradient(180deg, #88e7ff 0 54%, #87df62 55% 100%);
  box-shadow: inset 0 -8px 0 rgba(26, 114, 46, 0.1), 0 18px 36px rgba(36, 104, 50, 0.18);
}

.tutorial-image {
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: none;
  box-shadow: 0 18px 36px rgba(36, 104, 50, 0.2);
}

.tutorial-page h2 {
  max-width: 360px;
  line-height: 1.02;
}

.tutorial-tree-visual::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 34px;
  height: 86px;
  transform: translateX(-50%);
  border-radius: 18px 18px 10px 10px;
  background: linear-gradient(90deg, #8b4315, #e1902d 52%, #6f3711);
}

.tutorial-tree-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 66px;
  width: 164px;
  height: 112px;
  transform: translateX(-50%);
  border-radius: 48% 52% 42% 44%;
  background:
    radial-gradient(circle at 28% 30%, #dbff46 0 9%, transparent 10%),
    radial-gradient(circle at 66% 28%, #f0ff62 0 8%, transparent 9%),
    radial-gradient(circle at 51% 58%, #ffe052 0 7%, transparent 8%),
    linear-gradient(145deg, #7ce64b, #1c9d42 70%);
  box-shadow: inset 0 -18px 0 rgba(18, 105, 50, 0.14), 0 11px 18px rgba(25, 96, 39, 0.18);
}

.tutorial-wallet-visual::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 152px;
  height: 96px;
  transform: translate(-50%, -38%);
  border-radius: 24px;
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.75), transparent 16%),
    linear-gradient(145deg, #fff05c, #ff972b);
  box-shadow: inset 0 -8px 0 rgba(122, 73, 6, 0.16), 0 18px 24px rgba(110, 67, 9, 0.18);
}

.tutorial-wallet-visual::after {
  content: "R$";
  position: absolute;
  left: 50%;
  top: 52%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 5px solid rgba(142, 88, 5, 0.68);
  color: #8a5408;
  background: linear-gradient(145deg, #fff784, #ffc322);
  font-weight: 1000;
}

.tutorial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.tutorial-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(44, 115, 52, 0.22);
  transition: width 0.2s var(--ease), background 0.2s var(--ease);
}

.tutorial-dots span.is-active {
  width: 28px;
  background: linear-gradient(90deg, #fff15d, #4fd65a);
}

.tutorial-actions .button[hidden] {
  display: none;
}

@keyframes treasurePulseStrong {
  0%,
  100% {
    box-shadow:
      inset 0 -8px 0 rgba(123, 65, 7, 0.18),
      0 18px 32px rgba(104, 65, 9, 0.26),
      0 0 0 6px rgba(255, 230, 66, 0.18),
      0 0 42px rgba(255, 214, 43, 0.58);
  }
  50% {
    box-shadow:
      inset 0 -8px 0 rgba(123, 65, 7, 0.18),
      0 20px 36px rgba(104, 65, 9, 0.3),
      0 0 0 9px rgba(255, 230, 66, 0.26),
      0 0 58px rgba(255, 214, 43, 0.78);
  }
}

@keyframes treasureHaloSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes treasureSweep {
  0%,
  35% {
    transform: translateX(-130%);
  }
  70%,
  100% {
    transform: translateX(130%);
  }
}

@keyframes chestFloatGlow {
  from {
    transform: translateY(0) rotate(-1deg);
    filter: drop-shadow(0 18px 18px rgba(116, 66, 9, 0.22));
  }
  to {
    transform: translateY(-7px) rotate(1deg);
    filter: drop-shadow(0 22px 20px rgba(116, 66, 9, 0.3));
  }
}

@keyframes chestAura {
  from {
    opacity: 0.55;
    transform: scale(0.94);
  }
  to {
    opacity: 0.95;
    transform: scale(1.08);
  }
}

@keyframes chestShineSweep {
  0%,
  34% {
    transform: translateX(-135%);
  }
  74%,
  100% {
    transform: translateX(135%);
  }
}

@keyframes tutorialPageIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 520px) {
  .treasure-button {
    right: 12px;
    bottom: 16px;
    width: 86px;
    height: 86px;
    border-radius: 28px;
  }

  .checkout-grid {
    gap: 10px;
  }

  .tutorial-pages {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .treasure-button,
  .treasure-button::before,
  .treasure-button::after,
  .chest-art,
  .chest-art::before,
  .chest-art::after,
  .tutorial-page {
    animation: none !important;
  }
}

.chest-hero {
  min-height: 214px;
  background-color: #8bdc7a;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(40, 150, 62, 0.05)),
    url("assets/chest-hero-v1.webp?v=20260705-5");
  background-position: center, center;
  background-size: auto, cover;
  background-repeat: no-repeat, no-repeat;
}

.chest-art {
  display: none;
}

.chest-wheel.is-complete .chest-seed-strip {
  transform: translateX(calc(var(--spin-start-offset, -48px) + var(--spin-distance, -3200px)));
}

@media (max-width: 520px) {
  .chest-hero {
    min-height: 198px;
  }
}

/* Final generated asset layer. Keep this at the absolute end so it wins over legacy chest CSS. */
.button-seed-icon {
  width: 48px;
  height: 48px;
  background: url("assets/ui-seed-icon-v4.webp?v=20260705-10") center center / contain no-repeat;
  filter:
    drop-shadow(0 7px 8px rgba(71, 42, 10, 0.24))
    drop-shadow(0 0 10px rgba(171, 255, 75, 0.3));
  transform: rotate(-3deg) scale(1.02);
}

.button-seed-icon::before,
.button-seed-icon::after {
  display: none;
}

#openSeedsButton .button-seed-icon {
  width: 54px;
  height: 54px;
  margin-left: -4px;
  margin-right: 2px;
}

.treasure-button {
  width: 104px;
  height: 104px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.treasure-button::before {
  inset: 8px 12px 10px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 240, 95, 0.74), rgba(255, 177, 30, 0.22) 46%, transparent 70%);
  filter: blur(6px);
  opacity: 0.92;
}

.treasure-button::after,
.treasure-copy {
  display: none;
}

.treasure-glyph {
  width: 96px;
  height: 84px;
  background: url("assets/chest-realistic-4k.webp?v=20260705-10") center center / contain no-repeat;
  filter:
    drop-shadow(0 13px 12px rgba(82, 47, 8, 0.34))
    drop-shadow(0 0 14px rgba(255, 219, 54, 0.5));
}

.treasure-glyph > span {
  display: none;
}

.chest-hero {
  min-height: 232px;
  background:
    radial-gradient(circle at 50% 52%, rgba(255, 226, 74, 0.4), transparent 34%),
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.62), transparent 12%),
    radial-gradient(circle at 75% 22%, rgba(133, 255, 159, 0.34), transparent 20%),
    linear-gradient(180deg, #98edff 0%, #d9fff0 54%, #80dd66 55%, #46b95b 100%);
  background-position: center;
  background-size: auto;
  background-repeat: no-repeat;
}

.chest-art {
  display: block;
  width: min(86%, 420px);
  height: min(42vw, 220px);
  min-height: 164px;
  background: url("assets/chest-realistic-4k.webp?v=20260705-10") center center / contain no-repeat;
  filter:
    drop-shadow(0 26px 20px rgba(91, 50, 8, 0.27))
    drop-shadow(0 0 24px rgba(255, 216, 58, 0.36));
}

.chest-art::before,
.chest-art::after,
.chest-art-lid,
.chest-art-body,
.chest-art-lock {
  display: none;
}

@media (max-width: 520px) {
  .treasure-button {
    width: 90px;
    height: 90px;
  }

  .treasure-glyph {
    width: 84px;
    height: 72px;
  }

  .chest-hero {
    min-height: 206px;
  }

  .chest-art {
    width: 94%;
    min-height: 150px;
  }
}

/* Absolute final seed/chest fix 20260707-6: real seed silhouettes, no square tiles. */
.seed-icon,
.seed-icon-large,
.chest-seed-item .seed-icon {
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.seed-icon-large {
  width: 118px;
  height: 128px;
}

.seed-card:hover .seed-icon-large {
  box-shadow: none !important;
}

.seed-sprout {
  --seed-main: #a8642d;
  --seed-dark: #5c3219;
  --seed-mid: #d99142;
  --seed-hi: #ffe39a;
  --sprout-a: #68e54d;
  --sprout-b: #169447;
  --sprout-hi: #e9ff6b;
  position: relative;
  display: block;
  width: 88px;
  height: 106px;
  overflow: visible !important;
  border-radius: 0 !important;
  background: none !important;
  background-image: none !important;
  filter:
    drop-shadow(0 15px 12px rgba(61, 38, 18, 0.22))
    drop-shadow(0 0 9px rgba(255, 246, 132, 0.22));
}

.seed-icon-large .seed-sprout {
  width: 106px;
  height: 128px;
}

.chest-seed-item .seed-sprout {
  width: 78px;
  height: 94px;
}

.seed-sprout::before {
  content: "";
  position: absolute;
  left: 20%;
  right: 17%;
  bottom: 2%;
  height: 67%;
  border-radius: 50% 48% 54% 50% / 58% 55% 47% 43%;
  background:
    radial-gradient(ellipse at 30% 18%, rgba(255, 255, 255, 0.68), transparent 23%),
    radial-gradient(ellipse at 38% 30%, var(--seed-hi) 0 7%, transparent 8%),
    linear-gradient(140deg, transparent 48%, rgba(74, 34, 12, 0.34) 50%, transparent 55%),
    radial-gradient(ellipse at 72% 78%, rgba(55, 24, 10, 0.25), transparent 34%),
    linear-gradient(145deg, var(--seed-mid), var(--seed-main) 54%, var(--seed-dark));
  box-shadow:
    inset -10px -13px 15px rgba(58, 24, 10, 0.29),
    inset 9px 11px 15px rgba(255, 246, 176, 0.23),
    0 3px 0 rgba(101, 57, 23, 0.18);
  transform: rotate(-7deg);
}

.seed-sprout::after {
  content: "";
  position: absolute;
  left: 11%;
  top: -1%;
  width: 78%;
  height: 49%;
  background:
    radial-gradient(ellipse at 25% 42%, var(--sprout-hi) 0 9%, transparent 10%),
    radial-gradient(ellipse at 27% 47%, var(--sprout-a) 0 40%, transparent 42%),
    radial-gradient(ellipse at 75% 42%, var(--sprout-hi) 0 9%, transparent 10%),
    radial-gradient(ellipse at 73% 47%, var(--sprout-a) 0 40%, transparent 42%),
    linear-gradient(180deg, var(--sprout-hi), var(--sprout-b)) 50% 58% / 10% 54% no-repeat;
  filter: drop-shadow(0 10px 10px rgba(29, 87, 33, 0.17));
}

.seed-sprout-gratis,
.seed-art-gratis { --seed-main: #70e14e; --seed-mid: #b8ff68; --seed-dark: #168d42; --seed-hi: #f4ff9b; --sprout-a: #6aec5c; --sprout-b: #1e9a49; --sprout-hi: #edff7e; }
.seed-sprout-verde,
.seed-art-verde { --seed-main: #a56732; --seed-mid: #dc9347; --seed-dark: #653417; --seed-hi: #ffd481; --sprout-a: #5de554; --sprout-b: #179746; --sprout-hi: #d8ff59; }
.seed-sprout-azul,
.seed-art-azul { --seed-main: #3aa5ff; --seed-mid: #7ee5ff; --seed-dark: #1757b8; --seed-hi: #e4fbff; --sprout-a: #80efff; --sprout-b: #2474d8; --sprout-hi: #ffffff; }
.seed-sprout-dourada,
.seed-art-dourada { --seed-main: #f0b21c; --seed-mid: #ffd95c; --seed-dark: #9b6400; --seed-hi: #fff6a8; --sprout-a: #b8ff45; --sprout-b: #40ac36; --sprout-hi: #ffff72; }
.seed-sprout-rosa,
.seed-art-rosa { --seed-main: #f675bd; --seed-mid: #ffacd9; --seed-dark: #b42b78; --seed-hi: #ffe1f3; --sprout-a: #ff9ed7; --sprout-b: #cf3d92; --sprout-hi: #ffffff; }
.seed-sprout-cristal,
.seed-art-cristal { --seed-main: #7cecff; --seed-mid: #c6fbff; --seed-dark: #1797b2; --seed-hi: #ffffff; --sprout-a: #ccffff; --sprout-b: #3dbdd6; --sprout-hi: #ffffff; }
.seed-sprout-fogo,
.seed-art-fogo { --seed-main: #ff6c19; --seed-mid: #ffbd3d; --seed-dark: #aa2510; --seed-hi: #fff06c; --sprout-a: #ffcc31; --sprout-b: #e2471c; --sprout-hi: #fff96a; }
.seed-sprout-gelo,
.seed-art-gelo { --seed-main: #94e9ff; --seed-mid: #e3fbff; --seed-dark: #4b92e8; --seed-hi: #ffffff; --sprout-a: #e2feff; --sprout-b: #77b9ff; --sprout-hi: #ffffff; }
.seed-sprout-magica,
.seed-art-magica { --seed-main: #8c6cff; --seed-mid: #d9b7ff; --seed-dark: #5430b3; --seed-hi: #fff1ff; --sprout-a: #d9b7ff; --sprout-b: #7258ff; --sprout-hi: #ffffff; }
.seed-sprout-lunar,
.seed-art-lunar { --seed-main: #7584ff; --seed-mid: #cfd6ff; --seed-dark: #3c438f; --seed-hi: #fffbd4; --sprout-a: #f7f1c4; --sprout-b: #6f79f5; --sprout-hi: #ffffff; }
.seed-sprout-real,
.seed-art-real { --seed-main: #35c985; --seed-mid: #7effbe; --seed-dark: #146e52; --seed-hi: #fff07a; --sprout-a: #49e99b; --sprout-b: #187653; --sprout-hi: #fff97d; }

.seed-art {
  overflow: visible !important;
  border-radius: 0 !important;
  background: none !important;
  background-image: none !important;
  filter: drop-shadow(0 18px 18px rgba(66, 42, 14, 0.16));
  opacity: 0.22;
}

.seed-art::before,
.seed-art::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.seed-art::before {
  left: 22%;
  right: 18%;
  bottom: 8%;
  height: 62%;
  border-radius: 50% 48% 54% 50% / 58% 55% 47% 43%;
  background:
    radial-gradient(ellipse at 30% 18%, rgba(255, 255, 255, 0.58), transparent 22%),
    linear-gradient(140deg, transparent 48%, rgba(74, 34, 12, 0.24) 51%, transparent 55%),
    linear-gradient(145deg, var(--seed-mid), var(--seed-main) 54%, var(--seed-dark));
  box-shadow: inset -14px -15px 18px rgba(58, 24, 10, 0.22);
  transform: rotate(-7deg);
}

.seed-art::after {
  left: 13%;
  top: 3%;
  width: 74%;
  height: 44%;
  background:
    radial-gradient(ellipse at 27% 46%, var(--sprout-a) 0 39%, transparent 41%),
    radial-gradient(ellipse at 73% 46%, var(--sprout-a) 0 39%, transparent 41%),
    linear-gradient(180deg, var(--sprout-hi), var(--sprout-b)) 50% 57% / 10% 54% no-repeat;
}

.chest-seed-frame {
  width: 80px !important;
  height: 96px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.chest-seed-item {
  overflow: visible;
}

.chest-seed-item .seed-icon {
  width: 80px !important;
  height: 96px !important;
}

.chest-seed-item.is-prize .seed-icon {
  filter:
    drop-shadow(0 0 12px rgba(255, 217, 55, 0.86))
    drop-shadow(0 15px 14px rgba(147, 101, 14, 0.24));
}

.chest-wheel.is-complete .chest-seed-strip {
  transform: translateX(var(--spin-distance, -3200px));
}

/* Absolute mobile guard 20260710-4. This must remain the final responsive layer. */
@media (max-width: 620px) {
  .reveal,
  .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .modal,
  .auth-modal,
  .checkout-modal,
  .tutorial-modal,
  .chest-modal,
  .affiliate-modal,
  .help-modal,
  .seed-hint-modal {
    width: min(100%, 430px) !important;
    max-height: none !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }

  .help-button {
    right: max(8px, env(safe-area-inset-right)) !important;
    bottom: calc(76px + env(safe-area-inset-bottom)) !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    padding: 8px !important;
    border-radius: 18px !important;
    animation: none !important;
  }

  .help-button > span:last-child {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
  }

  .treasure-button {
    right: max(8px, env(safe-area-inset-right)) !important;
    bottom: calc(8px + env(safe-area-inset-bottom)) !important;
    width: 62px !important;
    min-width: 62px !important;
    height: 62px !important;
    animation: none !important;
  }

  .treasure-button::before,
  .treasure-button::after {
    animation: none !important;
  }

  .treasure-glyph {
    width: 60px !important;
    height: 54px !important;
    filter: drop-shadow(0 8px 8px rgba(82, 47, 8, 0.28)) !important;
  }

  body.has-open-overlay .help-button,
  body.has-open-overlay .treasure-button {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(12px) scale(0.86) !important;
  }
}

/* Mobile stability layer 20260710-4: compact controls, single modal scroll and cheaper painting. */
@media (max-width: 620px) {
  html {
    scroll-padding-top: 82px;
  }

  body {
    background-attachment: scroll, scroll, scroll !important;
    overscroll-behavior-x: none;
  }

  body.has-open-overlay {
    overflow: hidden;
  }

  .world-decor {
    display: none;
  }

  .game-shell {
    width: 100%;
    padding: 8px max(8px, env(safe-area-inset-right)) calc(106px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    overflow: clip;
  }

  .topbar {
    top: max(6px, env(safe-area-inset-top));
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 4px;
    min-height: 58px;
    padding: 6px;
    border-radius: 18px;
    backdrop-filter: none;
  }

  .brand-button {
    min-width: 0;
    gap: 6px;
    overflow: hidden;
  }

  .brand-mark {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .brand-tree-icon {
    width: 31px;
    height: 31px;
  }

  .brand-button > span:last-child {
    min-width: 0;
  }

  .brand-button strong {
    overflow: hidden;
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-button small {
    font-size: 0.58rem;
    white-space: nowrap;
  }

  .coin-wallet {
    min-width: 76px;
    min-height: 42px;
    padding: 6px 8px;
  }

  .coin-icon {
    width: 25px;
    height: 25px;
  }

  .wallet-copy small {
    font-size: 0.55rem;
  }

  .wallet-copy strong {
    font-size: 0.78rem;
  }

  .topbar .affiliate-button,
  .topbar .account-button {
    display: grid !important;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    place-items: center;
    padding: 0;
    border-radius: 14px;
  }

  .affiliate-glyph,
  .account-glyph {
    width: 29px;
    height: 29px;
  }

  .affiliate-button-copy,
  .account-button-copy {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
  }

  button,
  input,
  textarea {
    touch-action: manipulation;
  }

  .modal-backdrop {
    align-items: start;
    justify-items: center;
    padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    overflow-y: auto;
    overscroll-behavior: contain;
    backdrop-filter: none;
  }

  .modal,
  .auth-modal,
  .checkout-modal,
  .tutorial-modal,
  .chest-modal,
  .affiliate-modal,
  .help-modal,
  .seed-hint-modal {
    width: min(100%, 430px);
    max-height: none !important;
    margin: 0 auto;
    padding: 16px;
    overflow: visible !important;
    border-radius: 22px;
    backdrop-filter: none;
  }

  .auth-hero {
    min-height: 180px;
    margin: -2px -2px 14px;
    border-radius: 19px;
  }

  .modal-actions,
  .checkout-actions,
  .tutorial-actions,
  .chest-actions {
    grid-template-columns: 1fr !important;
  }

  .modal input,
  .modal textarea,
  .support-widget input {
    min-width: 0;
    max-width: 100%;
    font-size: 16px;
  }

  .section-heading,
  .seed-card,
  .garden-panel,
  .bank-panel,
  .access-panel {
    backdrop-filter: none;
  }

  .seed-grid {
    gap: 12px;
  }

  .seed-card {
    content-visibility: auto;
    contain: layout paint style;
    contain-intrinsic-size: 570px;
    animation: none !important;
  }

  .seed-card .seed-cta {
    width: 100%;
    min-width: 0;
  }

  .garden-layout,
  .garden-stage,
  .garden-panel,
  .tree-title-row,
  .seed-content {
    min-width: 0;
  }

  .garden-stage {
    height: clamp(420px, 132vw, 560px);
    min-height: 0;
    border-radius: 24px;
  }

  .garden-panel {
    padding: 14px;
    border-radius: 22px;
  }

  .tree-title-row {
    gap: 8px;
  }

  .help-button,
  .treasure-button {
    right: max(8px, env(safe-area-inset-right));
    z-index: 24;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s step-end;
  }

  .help-button {
    bottom: calc(76px + env(safe-area-inset-bottom));
    display: grid !important;
    grid-template-columns: 1fr;
    width: 52px;
    min-width: 52px;
    height: 52px;
    padding: 8px;
    border-radius: 18px;
  }

  .help-button > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .help-glyph {
    width: 34px;
    height: 34px;
  }

  .treasure-button {
    bottom: calc(8px + env(safe-area-inset-bottom));
    width: 62px;
    height: 62px;
    animation: none !important;
  }

  .treasure-button::before,
  .treasure-button::after {
    animation: none !important;
  }

  .treasure-glyph {
    width: 60px;
    height: 54px;
    filter: drop-shadow(0 8px 8px rgba(82, 47, 8, 0.28));
  }

  body.has-open-overlay .help-button,
  body.has-open-overlay .treasure-button {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(0.86);
  }

  .support-widget {
    inset: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: auto;
    max-height: none;
    border-radius: 22px;
    animation: none;
  }

  .support-header {
    padding: 10px;
  }

  .support-avatar {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .support-messages {
    min-height: 0;
    max-height: none;
    padding: 12px;
  }

  .support-form {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    padding: 10px;
  }

  .support-form .button {
    min-width: 72px;
    padding-inline: 12px;
  }

  .preview-tree,
  .cloud,
  .mini-cloud,
  .seed-cta,
  .deposit-chip,
  .view,
  .reveal {
    animation: none !important;
  }

  .toast-host {
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 8px;
  }
}

@media (max-width: 350px) {
  .game-shell {
    padding-inline: 6px;
  }

  .topbar {
    gap: 3px;
    padding: 5px;
  }

  .brand-mark {
    flex-basis: 33px;
    width: 33px;
    height: 33px;
  }

  .brand-tree-icon {
    width: 29px;
    height: 29px;
  }

  .brand-button strong {
    font-size: 0.75rem;
  }

  .brand-button small {
    display: none;
  }

  .coin-wallet {
    min-width: 70px;
    padding-inline: 6px;
  }

  .topbar .affiliate-button,
  .topbar .account-button {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .modal,
  .auth-modal,
  .checkout-modal,
  .tutorial-modal,
  .chest-modal,
  .affiliate-modal,
  .help-modal,
  .seed-hint-modal {
    padding: 14px;
  }

  .deposit-grid,
  .checkout-grid {
    gap: 8px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .modal-backdrop {
    padding-block: 6px;
  }

  .modal {
    width: min(620px, 100%);
  }

  .game-shell {
    padding-bottom: 82px;
  }

  .help-button {
    bottom: 70px;
  }

  .treasure-button {
    bottom: 6px;
  }
}

/* Planted seed realistic cutout 20260708-5 */
.tree.stage-0 .seed-shell {
  left: 50% !important;
  bottom: 26px !important;
  width: clamp(176px, 34vw, 278px) !important;
  height: clamp(176px, 34vw, 278px) !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: url("assets/seed-planted-realistic-v1.webp?v=20260708-5") center bottom / contain no-repeat !important;
  background-image: url("assets/seed-planted-realistic-v1.webp?v=20260708-5") !important;
  box-shadow: none !important;
  filter:
    drop-shadow(0 18px 16px rgba(54, 42, 18, 0.22))
    drop-shadow(0 0 14px color-mix(in srgb, var(--accent), transparent 72%));
  transform: translateX(-50%) rotate(-1deg) !important;
  animation: plantedSeedFloat 3.6s ease-in-out infinite alternate !important;
}

.tree.stage-0 .seed-shell::before,
.tree.stage-0 .seed-shell::after {
  content: none !important;
  display: none !important;
}

.tree.stage-0 .sprout {
  display: none !important;
}

.tree.stage-0 .tree-image {
  display: none !important;
}

@keyframes plantedSeedFloat {
  from {
    transform: translateX(-50%) translateY(1px) rotate(-2deg) scale(0.985);
  }
  to {
    transform: translateX(-50%) translateY(-6px) rotate(1deg) scale(1.018);
  }
}

/* Absolute last chest performance override 20260708-3 */
body .chest-seed-strip {
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  contain: layout paint style;
}

body .chest-wheel.is-spinning .chest-seed-strip {
  animation: chestSpinNoStutter 2.8s cubic-bezier(0.08, 0.74, 0.12, 1) both !important;
}

body .chest-wheel.is-spinning .chest-seed-item,
body .chest-wheel.is-spinning .chest-seed-item::before {
  animation: none !important;
}

body .chest-wheel.is-complete .chest-seed-strip {
  transform: translate3d(var(--spin-distance, -2600px), 0, 0) !important;
}

/* Absolute last chest performance override 20260708-3 */
body .chest-seed-strip {
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  contain: layout paint style;
}

body .chest-wheel.is-spinning .chest-seed-strip {
  animation: chestSpinNoStutter 2.8s cubic-bezier(0.08, 0.74, 0.12, 1) both !important;
}

body .chest-wheel.is-spinning .chest-seed-item,
body .chest-wheel.is-spinning .chest-seed-item::before {
  animation: none !important;
}

body .chest-wheel.is-complete .chest-seed-strip {
  transform: translate3d(var(--spin-distance, -2600px), 0, 0) !important;
}

/* Final affiliate and smoother chest layer 20260708-3 */
.topbar {
  grid-template-columns: 1fr auto auto auto;
}

.affiliate-button {
  display: inline-flex;
  width: auto;
  min-width: 92px;
  gap: 7px;
  padding: 0 12px;
  color: #174b2a;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.92), transparent 24%),
    linear-gradient(180deg, #fff9b4, #87ef78 62%, #44cf6b);
  box-shadow:
    inset 0 -4px 0 rgba(35, 128, 47, 0.11),
    0 12px 22px rgba(25, 105, 44, 0.16),
    0 0 0 4px rgba(255, 223, 82, 0.12);
}

.affiliate-glyph {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 31% 26%, rgba(255, 255, 255, 0.95), transparent 20%),
    linear-gradient(145deg, #fff269, #ffb82e 58%, #3acb66 59% 100%);
  box-shadow:
    inset 0 -4px 0 rgba(78, 70, 8, 0.12),
    0 8px 12px rgba(73, 112, 21, 0.16);
}

.affiliate-glyph::before,
.affiliate-glyph::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: #1f7b3d;
}

.affiliate-glyph::before {
  left: 8px;
  top: 8px;
  width: 8px;
  height: 8px;
  box-shadow: 10px 0 0 #1f7b3d;
}

.affiliate-glyph::after {
  left: 9px;
  right: 9px;
  bottom: 8px;
  height: 8px;
  border-radius: 12px 12px 7px 7px;
}

.affiliate-modal {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.95), transparent 23%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(233, 255, 226, 0.9) 54%, rgba(255, 246, 181, 0.88));
}

.affiliate-hero {
  position: relative;
  display: grid;
  min-height: 142px;
  margin-bottom: 12px;
  place-items: center;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 246, 126, 0.86), transparent 18%),
    linear-gradient(180deg, #7fdcff, #c9f8d6 52%, #67d85c);
  box-shadow:
    inset 0 -9px 0 rgba(34, 132, 43, 0.1),
    0 18px 28px rgba(48, 123, 55, 0.14);
}

.affiliate-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  filter: blur(1px);
}

.affiliate-orb-a {
  width: 118px;
  height: 118px;
  left: -34px;
  bottom: -42px;
}

.affiliate-orb-b {
  width: 92px;
  height: 92px;
  right: -26px;
  top: -30px;
}

.affiliate-medal {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.92), transparent 18%),
    radial-gradient(circle at 50% 46%, #fff9a4 0 24%, #ffca36 25% 42%, transparent 43%),
    linear-gradient(145deg, #32cd66, #bfff57);
  box-shadow:
    inset 0 -8px 0 rgba(26, 105, 42, 0.12),
    0 18px 24px rgba(39, 101, 45, 0.2),
    0 0 0 7px rgba(255, 255, 255, 0.28);
}

.affiliate-medal::before,
.affiliate-medal::after {
  content: "";
  position: absolute;
  background: #1e7d3a;
}

.affiliate-medal::before {
  left: 30px;
  top: 64px;
  width: 44px;
  height: 16px;
  border-radius: 18px 18px 9px 9px;
}

.affiliate-medal::after {
  left: 38px;
  top: 50px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: -20px -3px 0 -9px #1e7d3a, 20px -3px 0 -9px #1e7d3a;
}

.affiliate-copy {
  color: #32633d;
  font-size: 1rem;
  line-height: 1.45;
}

.affiliate-link-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(98, 211, 111, 0.35);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.affiliate-link-card label {
  color: #267340;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.affiliate-link-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.affiliate-link-row input {
  min-width: 0;
  padding: 14px 14px;
  border: 1px solid rgba(90, 203, 104, 0.38);
  border-radius: 16px;
  color: #254832;
  background: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.affiliate-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 12px 0;
}

.affiliate-stats div {
  display: grid;
  gap: 4px;
  min-height: 74px;
  place-items: center;
  padding: 10px 8px;
  border: 1px solid rgba(255, 214, 54, 0.48);
  border-radius: 20px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.82), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(227, 255, 203, 0.74));
}

.affiliate-stats span {
  color: #3c7444;
  font-size: 0.72rem;
  font-weight: 900;
}

.affiliate-stats strong {
  color: #7c5105;
  font-size: 1.02rem;
  font-weight: 1000;
}

.affiliate-status {
  min-height: 24px;
  color: #315b37;
  font-weight: 800;
}

body .chest-seed-strip {
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  contain: layout paint style;
}

body .chest-seed-item {
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: layout paint;
}

body .chest-wheel.is-spinning .chest-seed-strip {
  animation: chestSpinNoStutter 2.8s cubic-bezier(0.08, 0.74, 0.12, 1) both !important;
}

body .chest-wheel.is-spinning .chest-seed-item,
body .chest-wheel.is-spinning .chest-seed-item::before {
  animation: none !important;
}

body .chest-wheel.is-complete .chest-seed-strip {
  transform: translate3d(var(--spin-distance, -2600px), 0, 0) !important;
}

@keyframes chestSpinNoStutter {
  0% {
    transform: translate3d(0, 0, 0);
  }
  46% {
    transform: translate3d(calc(var(--spin-distance) + 720px), 0, 0);
  }
  74% {
    transform: translate3d(calc(var(--spin-distance) + 220px), 0, 0);
  }
  90% {
    transform: translate3d(calc(var(--spin-distance) + 54px), 0, 0);
  }
  100% {
    transform: translate3d(var(--spin-distance), 0, 0);
  }
}

@media (max-width: 620px) {
  .topbar {
    grid-template-columns: 1fr auto auto auto;
    gap: 6px;
    padding: 8px;
  }

  .affiliate-button,
  .account-button {
    min-width: 48px;
    padding: 0 8px;
  }

  .affiliate-button-copy,
  .account-button-copy {
    display: none;
  }

  .affiliate-glyph,
  .account-glyph {
    width: 30px;
    height: 30px;
  }

  .affiliate-link-row {
    grid-template-columns: 1fr;
  }

  .affiliate-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .chest-wheel.is-spinning .chest-seed-strip {
    animation: none !important;
    transform: translate3d(var(--spin-distance, -2600px), 0, 0) !important;
  }
}

/* Absolute final wheel/seed layer 20260708-2. */
@keyframes chestSpinPremium {
  0% {
    transform: translateX(0);
  }
  48% {
    transform: translateX(calc(var(--spin-distance) + 980px));
  }
  72% {
    transform: translateX(calc(var(--spin-distance) + 420px));
  }
  88% {
    transform: translateX(calc(var(--spin-distance) + 120px));
  }
  100% {
    transform: translateX(var(--spin-distance));
  }
}

body .chest-wheel.is-spinning .chest-seed-strip {
  animation: chestSpinNoStutter 2.8s cubic-bezier(0.08, 0.74, 0.12, 1) both !important;
}

body .chest-wheel.is-complete .chest-seed-strip {
  transform: translate3d(var(--spin-distance, -2600px), 0, 0) !important;
}

body .seed-icon {
  overflow: hidden !important;
  border: 2px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 26px !important;
  background: transparent !important;
  box-shadow:
    0 14px 20px rgba(37, 102, 44, 0.18),
    0 0 0 4px color-mix(in srgb, var(--leaf), transparent 78%) !important;
}

body .seed-icon-large {
  width: 116px !important;
  height: 116px !important;
  border-radius: 31px !important;
}

body .seed-sprout {
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: url("assets/seed-verde-v4.webp?v=20260708-2") center center / cover no-repeat !important;
  filter: none !important;
  transform: none !important;
}

body .seed-sprout::before,
body .seed-sprout::after {
  display: none !important;
  content: none !important;
}

body .seed-sprout-gratis { background-image: url("assets/seed-gratis-v4.webp?v=20260708-2") !important; }
body .seed-sprout-verde { background-image: url("assets/seed-verde-v4.webp?v=20260708-2") !important; }
body .seed-sprout-azul { background-image: url("assets/seed-azul-v4.webp?v=20260708-2") !important; }
body .seed-sprout-dourada { background-image: url("assets/seed-dourada-v4.webp?v=20260708-2") !important; }
body .seed-sprout-rosa { background-image: url("assets/seed-rosa-v4.webp?v=20260708-2") !important; }
body .seed-sprout-cristal { background-image: url("assets/seed-cristal-v4.webp?v=20260708-2") !important; }
body .seed-sprout-fogo { background-image: url("assets/seed-fogo-v4.webp?v=20260708-2") !important; }
body .seed-sprout-gelo { background-image: url("assets/seed-gelo-v4.webp?v=20260708-2") !important; }
body .seed-sprout-magica { background-image: url("assets/seed-magica-v4.webp?v=20260708-2") !important; }
body .seed-sprout-lunar { background-image: url("assets/seed-lunar-v4.webp?v=20260708-2") !important; }
body .seed-sprout-real { background-image: url("assets/seed-real-v4.webp?v=20260708-2") !important; }

body .seed-icon-large .seed-sprout,
body .chest-seed-item .seed-sprout {
  width: 100% !important;
  height: 100% !important;
}

body .seed-art {
  overflow: hidden !important;
  border-radius: 34px !important;
  background: url("assets/seed-verde-v4.webp?v=20260708-2") center center / cover no-repeat !important;
  filter: saturate(1.06) drop-shadow(0 18px 18px rgba(66, 42, 14, 0.18)) !important;
  opacity: 0.2;
}

body .seed-art::before,
body .seed-art::after {
  display: none !important;
  content: none !important;
}

body .seed-art-gratis { background-image: url("assets/seed-gratis-v4.webp?v=20260708-2") !important; }
body .seed-art-verde { background-image: url("assets/seed-verde-v4.webp?v=20260708-2") !important; }
body .seed-art-azul { background-image: url("assets/seed-azul-v4.webp?v=20260708-2") !important; }
body .seed-art-dourada { background-image: url("assets/seed-dourada-v4.webp?v=20260708-2") !important; }
body .seed-art-rosa { background-image: url("assets/seed-rosa-v4.webp?v=20260708-2") !important; }
body .seed-art-cristal { background-image: url("assets/seed-cristal-v4.webp?v=20260708-2") !important; }
body .seed-art-fogo { background-image: url("assets/seed-fogo-v4.webp?v=20260708-2") !important; }
body .seed-art-gelo { background-image: url("assets/seed-gelo-v4.webp?v=20260708-2") !important; }
body .seed-art-magica { background-image: url("assets/seed-magica-v4.webp?v=20260708-2") !important; }
body .seed-art-lunar { background-image: url("assets/seed-lunar-v4.webp?v=20260708-2") !important; }
body .seed-art-real { background-image: url("assets/seed-real-v4.webp?v=20260708-2") !important; }

body .chest-seed-frame {
  width: 82px !important;
  height: 82px !important;
  border-radius: 24px !important;
  background: transparent !important;
  box-shadow: none !important;
}

body .chest-seed-item .seed-icon {
  width: 76px !important;
  height: 76px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.76) !important;
}

/* Absolute final restore: old PNG seed images 20260708-1. */
.seed-icon {
  overflow: hidden !important;
  border: 2px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 26px !important;
  background: transparent !important;
  box-shadow:
    0 14px 20px rgba(37, 102, 44, 0.18),
    0 0 0 4px color-mix(in srgb, var(--leaf), transparent 78%) !important;
}

.seed-icon-large {
  width: 116px !important;
  height: 116px !important;
  border-radius: 31px !important;
  transform: translateZ(0);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.seed-card:hover .seed-icon-large {
  transform: translateY(-4px) scale(1.035);
  box-shadow:
    0 22px 34px rgba(37, 102, 44, 0.22),
    0 0 0 5px color-mix(in srgb, var(--accent), transparent 72%) !important;
}

.seed-sprout {
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: url("assets/seed-verde-v4.webp?v=20260708-1") center center / cover no-repeat !important;
  filter: none !important;
  transform: none !important;
}

.seed-sprout::before,
.seed-sprout::after {
  display: none !important;
  content: none !important;
}

.seed-sprout-gratis { background-image: url("assets/seed-gratis-v4.webp?v=20260708-1") !important; }
.seed-sprout-verde { background-image: url("assets/seed-verde-v4.webp?v=20260708-1") !important; }
.seed-sprout-azul { background-image: url("assets/seed-azul-v4.webp?v=20260708-1") !important; }
.seed-sprout-dourada { background-image: url("assets/seed-dourada-v4.webp?v=20260708-1") !important; }
.seed-sprout-rosa { background-image: url("assets/seed-rosa-v4.webp?v=20260708-1") !important; }
.seed-sprout-cristal { background-image: url("assets/seed-cristal-v4.webp?v=20260708-1") !important; }
.seed-sprout-fogo { background-image: url("assets/seed-fogo-v4.webp?v=20260708-1") !important; }
.seed-sprout-gelo { background-image: url("assets/seed-gelo-v4.webp?v=20260708-1") !important; }
.seed-sprout-magica { background-image: url("assets/seed-magica-v4.webp?v=20260708-1") !important; }
.seed-sprout-lunar { background-image: url("assets/seed-lunar-v4.webp?v=20260708-1") !important; }
.seed-sprout-real { background-image: url("assets/seed-real-v4.webp?v=20260708-1") !important; }

.seed-icon-large .seed-sprout,
.chest-seed-item .seed-sprout {
  width: 100% !important;
  height: 100% !important;
}

.seed-art {
  overflow: hidden !important;
  border-radius: 34px !important;
  background: url("assets/seed-verde-v4.webp?v=20260708-1") center center / cover no-repeat !important;
  filter: saturate(1.06) drop-shadow(0 18px 18px rgba(66, 42, 14, 0.18)) !important;
  opacity: 0.2;
}

.seed-art::before,
.seed-art::after {
  display: none !important;
  content: none !important;
}

.seed-art-gratis { background-image: url("assets/seed-gratis-v4.webp?v=20260708-1") !important; }
.seed-art-verde { background-image: url("assets/seed-verde-v4.webp?v=20260708-1") !important; }
.seed-art-azul { background-image: url("assets/seed-azul-v4.webp?v=20260708-1") !important; }
.seed-art-dourada { background-image: url("assets/seed-dourada-v4.webp?v=20260708-1") !important; }
.seed-art-rosa { background-image: url("assets/seed-rosa-v4.webp?v=20260708-1") !important; }
.seed-art-cristal { background-image: url("assets/seed-cristal-v4.webp?v=20260708-1") !important; }
.seed-art-fogo { background-image: url("assets/seed-fogo-v4.webp?v=20260708-1") !important; }
.seed-art-gelo { background-image: url("assets/seed-gelo-v4.webp?v=20260708-1") !important; }
.seed-art-magica { background-image: url("assets/seed-magica-v4.webp?v=20260708-1") !important; }
.seed-art-lunar { background-image: url("assets/seed-lunar-v4.webp?v=20260708-1") !important; }
.seed-art-real { background-image: url("assets/seed-real-v4.webp?v=20260708-1") !important; }

.chest-seed-frame {
  width: 82px !important;
  height: 82px !important;
  border-radius: 24px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.chest-seed-item .seed-icon {
  width: 76px !important;
  height: 76px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.76) !important;
}

/* Restore old seed image assets 20260708-1. */
body .seed-icon {
  overflow: hidden !important;
  border: 2px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 26px !important;
  background: transparent !important;
  box-shadow:
    0 14px 20px rgba(37, 102, 44, 0.18),
    0 0 0 4px color-mix(in srgb, var(--leaf), transparent 78%) !important;
}

body .seed-icon-large {
  width: 116px !important;
  height: 116px !important;
  border-radius: 31px !important;
}

body .seed-card:hover .seed-icon-large {
  transform: translateY(-4px) scale(1.035);
  box-shadow:
    0 22px 34px rgba(37, 102, 44, 0.22),
    0 0 0 5px color-mix(in srgb, var(--accent), transparent 72%) !important;
}

body .seed-sprout {
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: url("assets/seed-verde-v4.webp?v=20260708-1") center center / cover no-repeat !important;
  filter: none !important;
  transform: none !important;
}

body .seed-sprout::before,
body .seed-sprout::after {
  display: none !important;
  content: none !important;
}

body .seed-sprout-gratis { background-image: url("assets/seed-gratis-v4.webp?v=20260708-1") !important; }
body .seed-sprout-verde { background-image: url("assets/seed-verde-v4.webp?v=20260708-1") !important; }
body .seed-sprout-azul { background-image: url("assets/seed-azul-v4.webp?v=20260708-1") !important; }
body .seed-sprout-dourada { background-image: url("assets/seed-dourada-v4.webp?v=20260708-1") !important; }
body .seed-sprout-rosa { background-image: url("assets/seed-rosa-v4.webp?v=20260708-1") !important; }
body .seed-sprout-cristal { background-image: url("assets/seed-cristal-v4.webp?v=20260708-1") !important; }
body .seed-sprout-fogo { background-image: url("assets/seed-fogo-v4.webp?v=20260708-1") !important; }
body .seed-sprout-gelo { background-image: url("assets/seed-gelo-v4.webp?v=20260708-1") !important; }
body .seed-sprout-magica { background-image: url("assets/seed-magica-v4.webp?v=20260708-1") !important; }
body .seed-sprout-lunar { background-image: url("assets/seed-lunar-v4.webp?v=20260708-1") !important; }
body .seed-sprout-real { background-image: url("assets/seed-real-v4.webp?v=20260708-1") !important; }

body .seed-icon-large .seed-sprout,
body .chest-seed-item .seed-sprout {
  width: 100% !important;
  height: 100% !important;
}

body .seed-art {
  overflow: hidden !important;
  border-radius: 34px !important;
  background: url("assets/seed-verde-v4.webp?v=20260708-1") center center / cover no-repeat !important;
  filter: saturate(1.06) drop-shadow(0 18px 18px rgba(66, 42, 14, 0.18)) !important;
  opacity: 0.2;
}

body .seed-art::before,
body .seed-art::after {
  display: none !important;
  content: none !important;
}

body .seed-art-gratis { background-image: url("assets/seed-gratis-v4.webp?v=20260708-1") !important; }
body .seed-art-verde { background-image: url("assets/seed-verde-v4.webp?v=20260708-1") !important; }
body .seed-art-azul { background-image: url("assets/seed-azul-v4.webp?v=20260708-1") !important; }
body .seed-art-dourada { background-image: url("assets/seed-dourada-v4.webp?v=20260708-1") !important; }
body .seed-art-rosa { background-image: url("assets/seed-rosa-v4.webp?v=20260708-1") !important; }
body .seed-art-cristal { background-image: url("assets/seed-cristal-v4.webp?v=20260708-1") !important; }
body .seed-art-fogo { background-image: url("assets/seed-fogo-v4.webp?v=20260708-1") !important; }
body .seed-art-gelo { background-image: url("assets/seed-gelo-v4.webp?v=20260708-1") !important; }
body .seed-art-magica { background-image: url("assets/seed-magica-v4.webp?v=20260708-1") !important; }
body .seed-art-lunar { background-image: url("assets/seed-lunar-v4.webp?v=20260708-1") !important; }
body .seed-art-real { background-image: url("assets/seed-real-v4.webp?v=20260708-1") !important; }

body .chest-seed-frame {
  width: 82px !important;
  height: 82px !important;
  border-radius: 24px !important;
  background: transparent !important;
  box-shadow: none !important;
}

body .chest-seed-item .seed-icon {
  width: 76px !important;
  height: 76px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.76) !important;
}

.seed-icon {
  overflow: hidden !important;
  border: 2px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 26px !important;
  background: transparent !important;
  box-shadow:
    0 14px 20px rgba(37, 102, 44, 0.18),
    0 0 0 4px color-mix(in srgb, var(--leaf), transparent 78%) !important;
}

.seed-icon-large {
  width: 116px !important;
  height: 116px !important;
  border-radius: 31px !important;
  transform: translateZ(0);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.seed-card:hover .seed-icon-large {
  transform: translateY(-4px) scale(1.035);
  box-shadow:
    0 22px 34px rgba(37, 102, 44, 0.22),
    0 0 0 5px color-mix(in srgb, var(--accent), transparent 72%) !important;
}

.seed-sprout {
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: url("assets/seed-verde-v4.webp?v=20260708-1") center center / cover no-repeat !important;
  filter: none !important;
  transform: none !important;
}

.seed-sprout::before,
.seed-sprout::after {
  display: none !important;
  content: none !important;
}

.seed-sprout-gratis { background-image: url("assets/seed-gratis-v4.webp?v=20260708-1") !important; }
.seed-sprout-verde { background-image: url("assets/seed-verde-v4.webp?v=20260708-1") !important; }
.seed-sprout-azul { background-image: url("assets/seed-azul-v4.webp?v=20260708-1") !important; }
.seed-sprout-dourada { background-image: url("assets/seed-dourada-v4.webp?v=20260708-1") !important; }
.seed-sprout-rosa { background-image: url("assets/seed-rosa-v4.webp?v=20260708-1") !important; }
.seed-sprout-cristal { background-image: url("assets/seed-cristal-v4.webp?v=20260708-1") !important; }
.seed-sprout-fogo { background-image: url("assets/seed-fogo-v4.webp?v=20260708-1") !important; }
.seed-sprout-gelo { background-image: url("assets/seed-gelo-v4.webp?v=20260708-1") !important; }
.seed-sprout-magica { background-image: url("assets/seed-magica-v4.webp?v=20260708-1") !important; }
.seed-sprout-lunar { background-image: url("assets/seed-lunar-v4.webp?v=20260708-1") !important; }
.seed-sprout-real { background-image: url("assets/seed-real-v4.webp?v=20260708-1") !important; }

.seed-icon-large .seed-sprout,
.chest-seed-item .seed-sprout {
  width: 100% !important;
  height: 100% !important;
}

.seed-art {
  overflow: hidden !important;
  border-radius: 34px !important;
  background: url("assets/seed-verde-v4.webp?v=20260708-1") center center / cover no-repeat !important;
  filter: saturate(1.06) drop-shadow(0 18px 18px rgba(66, 42, 14, 0.18)) !important;
  opacity: 0.2;
}

.seed-art::before,
.seed-art::after {
  display: none !important;
  content: none !important;
}

.seed-art-gratis { background-image: url("assets/seed-gratis-v4.webp?v=20260708-1") !important; }
.seed-art-verde { background-image: url("assets/seed-verde-v4.webp?v=20260708-1") !important; }
.seed-art-azul { background-image: url("assets/seed-azul-v4.webp?v=20260708-1") !important; }
.seed-art-dourada { background-image: url("assets/seed-dourada-v4.webp?v=20260708-1") !important; }
.seed-art-rosa { background-image: url("assets/seed-rosa-v4.webp?v=20260708-1") !important; }
.seed-art-cristal { background-image: url("assets/seed-cristal-v4.webp?v=20260708-1") !important; }
.seed-art-fogo { background-image: url("assets/seed-fogo-v4.webp?v=20260708-1") !important; }
.seed-art-gelo { background-image: url("assets/seed-gelo-v4.webp?v=20260708-1") !important; }
.seed-art-magica { background-image: url("assets/seed-magica-v4.webp?v=20260708-1") !important; }
.seed-art-lunar { background-image: url("assets/seed-lunar-v4.webp?v=20260708-1") !important; }
.seed-art-real { background-image: url("assets/seed-real-v4.webp?v=20260708-1") !important; }

.chest-seed-frame {
  width: 82px !important;
  height: 82px !important;
  border-radius: 24px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.chest-seed-item .seed-icon {
  width: 76px !important;
  height: 76px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.76) !important;
}

.chest-seed-item.is-prize .seed-icon {
  filter:
    drop-shadow(0 0 12px rgba(255, 217, 55, 0.86))
    drop-shadow(0 15px 14px rgba(147, 101, 14, 0.24));
}

/* Absolute final seed/chest fix 20260707-6: real seed silhouettes, no square tiles. */
.seed-icon,
.seed-icon-large,
.chest-seed-item .seed-icon {
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.seed-icon-large {
  width: 118px;
  height: 128px;
}

.seed-card:hover .seed-icon-large {
  box-shadow: none !important;
}

.seed-sprout {
  --seed-main: #a8642d;
  --seed-dark: #5c3219;
  --seed-mid: #d99142;
  --seed-hi: #ffe39a;
  --sprout-a: #68e54d;
  --sprout-b: #169447;
  --sprout-hi: #e9ff6b;
  position: relative;
  display: block;
  width: 88px;
  height: 106px;
  overflow: visible !important;
  border-radius: 0 !important;
  background: none !important;
  background-image: none !important;
  filter:
    drop-shadow(0 15px 12px rgba(61, 38, 18, 0.22))
    drop-shadow(0 0 9px rgba(255, 246, 132, 0.22));
}

.seed-icon-large .seed-sprout {
  width: 106px;
  height: 128px;
}

.chest-seed-item .seed-sprout {
  width: 78px;
  height: 94px;
}

.seed-sprout::before {
  content: "";
  position: absolute;
  left: 20%;
  right: 17%;
  bottom: 2%;
  height: 67%;
  border-radius: 50% 48% 54% 50% / 58% 55% 47% 43%;
  background:
    radial-gradient(ellipse at 30% 18%, rgba(255, 255, 255, 0.68), transparent 23%),
    radial-gradient(ellipse at 38% 30%, var(--seed-hi) 0 7%, transparent 8%),
    linear-gradient(140deg, transparent 48%, rgba(74, 34, 12, 0.34) 50%, transparent 55%),
    radial-gradient(ellipse at 72% 78%, rgba(55, 24, 10, 0.25), transparent 34%),
    linear-gradient(145deg, var(--seed-mid), var(--seed-main) 54%, var(--seed-dark));
  box-shadow:
    inset -10px -13px 15px rgba(58, 24, 10, 0.29),
    inset 9px 11px 15px rgba(255, 246, 176, 0.23),
    0 3px 0 rgba(101, 57, 23, 0.18);
  transform: rotate(-7deg);
}

.seed-sprout::after {
  content: "";
  position: absolute;
  left: 11%;
  top: -1%;
  width: 78%;
  height: 49%;
  background:
    radial-gradient(ellipse at 25% 42%, var(--sprout-hi) 0 9%, transparent 10%),
    radial-gradient(ellipse at 27% 47%, var(--sprout-a) 0 40%, transparent 42%),
    radial-gradient(ellipse at 75% 42%, var(--sprout-hi) 0 9%, transparent 10%),
    radial-gradient(ellipse at 73% 47%, var(--sprout-a) 0 40%, transparent 42%),
    linear-gradient(180deg, var(--sprout-hi), var(--sprout-b)) 50% 58% / 10% 54% no-repeat;
  filter: drop-shadow(0 10px 10px rgba(29, 87, 33, 0.17));
}

.seed-sprout-gratis,
.seed-art-gratis { --seed-main: #70e14e; --seed-mid: #b8ff68; --seed-dark: #168d42; --seed-hi: #f4ff9b; --sprout-a: #6aec5c; --sprout-b: #1e9a49; --sprout-hi: #edff7e; }
.seed-sprout-verde,
.seed-art-verde { --seed-main: #a56732; --seed-mid: #dc9347; --seed-dark: #653417; --seed-hi: #ffd481; --sprout-a: #5de554; --sprout-b: #179746; --sprout-hi: #d8ff59; }
.seed-sprout-azul,
.seed-art-azul { --seed-main: #3aa5ff; --seed-mid: #7ee5ff; --seed-dark: #1757b8; --seed-hi: #e4fbff; --sprout-a: #80efff; --sprout-b: #2474d8; --sprout-hi: #ffffff; }
.seed-sprout-dourada,
.seed-art-dourada { --seed-main: #f0b21c; --seed-mid: #ffd95c; --seed-dark: #9b6400; --seed-hi: #fff6a8; --sprout-a: #b8ff45; --sprout-b: #40ac36; --sprout-hi: #ffff72; }
.seed-sprout-rosa,
.seed-art-rosa { --seed-main: #f675bd; --seed-mid: #ffacd9; --seed-dark: #b42b78; --seed-hi: #ffe1f3; --sprout-a: #ff9ed7; --sprout-b: #cf3d92; --sprout-hi: #ffffff; }
.seed-sprout-cristal,
.seed-art-cristal { --seed-main: #7cecff; --seed-mid: #c6fbff; --seed-dark: #1797b2; --seed-hi: #ffffff; --sprout-a: #ccffff; --sprout-b: #3dbdd6; --sprout-hi: #ffffff; }
.seed-sprout-fogo,
.seed-art-fogo { --seed-main: #ff6c19; --seed-mid: #ffbd3d; --seed-dark: #aa2510; --seed-hi: #fff06c; --sprout-a: #ffcc31; --sprout-b: #e2471c; --sprout-hi: #fff96a; }
.seed-sprout-gelo,
.seed-art-gelo { --seed-main: #94e9ff; --seed-mid: #e3fbff; --seed-dark: #4b92e8; --seed-hi: #ffffff; --sprout-a: #e2feff; --sprout-b: #77b9ff; --sprout-hi: #ffffff; }
.seed-sprout-magica,
.seed-art-magica { --seed-main: #8c6cff; --seed-mid: #d9b7ff; --seed-dark: #5430b3; --seed-hi: #fff1ff; --sprout-a: #d9b7ff; --sprout-b: #7258ff; --sprout-hi: #ffffff; }
.seed-sprout-lunar,
.seed-art-lunar { --seed-main: #7584ff; --seed-mid: #cfd6ff; --seed-dark: #3c438f; --seed-hi: #fffbd4; --sprout-a: #f7f1c4; --sprout-b: #6f79f5; --sprout-hi: #ffffff; }
.seed-sprout-real,
.seed-art-real { --seed-main: #35c985; --seed-mid: #7effbe; --seed-dark: #146e52; --seed-hi: #fff07a; --sprout-a: #49e99b; --sprout-b: #187653; --sprout-hi: #fff97d; }

.seed-art {
  overflow: visible !important;
  border-radius: 0 !important;
  background: none !important;
  background-image: none !important;
  filter: drop-shadow(0 18px 18px rgba(66, 42, 14, 0.16));
  opacity: 0.22;
}

.seed-art::before,
.seed-art::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.seed-art::before {
  left: 22%;
  right: 18%;
  bottom: 8%;
  height: 62%;
  border-radius: 50% 48% 54% 50% / 58% 55% 47% 43%;
  background:
    radial-gradient(ellipse at 30% 18%, rgba(255, 255, 255, 0.58), transparent 22%),
    linear-gradient(140deg, transparent 48%, rgba(74, 34, 12, 0.24) 51%, transparent 55%),
    linear-gradient(145deg, var(--seed-mid), var(--seed-main) 54%, var(--seed-dark));
  box-shadow: inset -14px -15px 18px rgba(58, 24, 10, 0.22);
  transform: rotate(-7deg);
}

.seed-art::after {
  left: 13%;
  top: 3%;
  width: 74%;
  height: 44%;
  background:
    radial-gradient(ellipse at 27% 46%, var(--sprout-a) 0 39%, transparent 41%),
    radial-gradient(ellipse at 73% 46%, var(--sprout-a) 0 39%, transparent 41%),
    linear-gradient(180deg, var(--sprout-hi), var(--sprout-b)) 50% 57% / 10% 54% no-repeat;
}

.chest-seed-frame {
  width: 80px !important;
  height: 96px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.chest-seed-item {
  overflow: visible;
}

.chest-seed-item .seed-icon {
  width: 80px !important;
  height: 96px !important;
}

.chest-seed-item.is-prize .seed-icon {
  filter:
    drop-shadow(0 0 12px rgba(255, 217, 55, 0.86))
    drop-shadow(0 15px 14px rgba(147, 101, 14, 0.24));
}

.chest-wheel.is-complete .chest-seed-strip {
  transform: translateX(var(--spin-distance, -3200px));
}

/* Final seed shape layer: use drawn seed silhouettes instead of square image tiles. */
.seed-icon,
.seed-icon-large,
.chest-seed-item .seed-icon {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.seed-icon-large {
  width: 118px;
  height: 126px;
}

.seed-card:hover .seed-icon-large {
  box-shadow: none;
}

.seed-sprout {
  --seed-main: #a8642d;
  --seed-dark: #5c3219;
  --seed-mid: #d99142;
  --seed-hi: #ffd27d;
  --seed-gem: rgba(255, 255, 255, 0.72);
  --sprout-a: #65df3f;
  --sprout-b: #1e9f43;
  --sprout-hi: #ceff64;
  position: relative;
  display: block;
  width: 86px;
  height: 104px;
  overflow: visible;
  border-radius: 0;
  background: none !important;
  filter: drop-shadow(0 16px 13px rgba(61, 38, 18, 0.22));
}

.seed-icon-large .seed-sprout {
  width: 104px;
  height: 126px;
}

.chest-seed-item .seed-sprout {
  width: 76px;
  height: 92px;
}

.seed-sprout::before {
  content: "";
  position: absolute;
  left: 20%;
  right: 17%;
  bottom: 2%;
  height: 67%;
  border-radius: 50% 48% 54% 50% / 58% 55% 47% 43%;
  background:
    radial-gradient(ellipse at 32% 24%, var(--seed-hi) 0 10%, transparent 11%),
    radial-gradient(ellipse at 28% 20%, rgba(255, 255, 255, 0.45), transparent 24%),
    linear-gradient(140deg, transparent 48%, rgba(74, 34, 12, 0.32) 50%, transparent 54%),
    radial-gradient(ellipse at 72% 78%, rgba(55, 24, 10, 0.24), transparent 32%),
    linear-gradient(145deg, var(--seed-mid), var(--seed-main) 52%, var(--seed-dark));
  box-shadow:
    inset -10px -12px 14px rgba(58, 24, 10, 0.28),
    inset 8px 10px 14px rgba(255, 246, 176, 0.22),
    0 3px 0 rgba(101, 57, 23, 0.18);
  transform: rotate(-7deg);
}

.seed-sprout::after {
  content: "";
  position: absolute;
  left: 12%;
  top: -1%;
  width: 76%;
  height: 47%;
  background:
    radial-gradient(ellipse at 25% 43%, var(--sprout-hi) 0 8%, transparent 9%),
    radial-gradient(ellipse at 27% 46%, var(--sprout-a) 0 39%, transparent 41%),
    radial-gradient(ellipse at 75% 43%, var(--sprout-hi) 0 8%, transparent 9%),
    radial-gradient(ellipse at 73% 46%, var(--sprout-a) 0 39%, transparent 41%),
    linear-gradient(180deg, var(--sprout-hi), var(--sprout-b)) 50% 57% / 10% 54% no-repeat;
  filter:
    drop-shadow(0 4px 0 color-mix(in srgb, var(--sprout-b), transparent 76%))
    drop-shadow(0 10px 10px rgba(29, 87, 33, 0.16));
}

.seed-sprout-gratis,
.seed-art-gratis {
  --seed-main: #70e14e;
  --seed-mid: #b4ff63;
  --seed-dark: #178f44;
  --seed-hi: #f4ff9b;
  --sprout-a: #69e85b;
  --sprout-b: #1e9a49;
  --sprout-hi: #e9ff76;
}

.seed-sprout-verde,
.seed-art-verde {
  --seed-main: #a56732;
  --seed-mid: #da9144;
  --seed-dark: #653417;
  --seed-hi: #ffd481;
  --sprout-a: #5de554;
  --sprout-b: #179746;
  --sprout-hi: #d8ff59;
}

.seed-sprout-azul,
.seed-art-azul {
  --seed-main: #3aa5ff;
  --seed-mid: #7ee5ff;
  --seed-dark: #1757b8;
  --seed-hi: #e4fbff;
  --sprout-a: #79e8ff;
  --sprout-b: #2474d8;
  --sprout-hi: #ffffff;
}

.seed-sprout-dourada,
.seed-art-dourada {
  --seed-main: #f0b21c;
  --seed-mid: #ffd95c;
  --seed-dark: #9b6400;
  --seed-hi: #fff6a8;
  --sprout-a: #b8ff45;
  --sprout-b: #40ac36;
  --sprout-hi: #ffff72;
}

.seed-sprout-rosa,
.seed-art-rosa {
  --seed-main: #f675bd;
  --seed-mid: #ffacd9;
  --seed-dark: #b42b78;
  --seed-hi: #ffe1f3;
  --sprout-a: #ff9ed7;
  --sprout-b: #cf3d92;
  --sprout-hi: #ffffff;
}

.seed-sprout-cristal,
.seed-art-cristal {
  --seed-main: #7cecff;
  --seed-mid: #c6fbff;
  --seed-dark: #1797b2;
  --seed-hi: #ffffff;
  --sprout-a: #ccffff;
  --sprout-b: #3dbdd6;
  --sprout-hi: #ffffff;
}

.seed-sprout-fogo,
.seed-art-fogo {
  --seed-main: #ff6c19;
  --seed-mid: #ffbd3d;
  --seed-dark: #aa2510;
  --seed-hi: #fff06c;
  --sprout-a: #ffcc31;
  --sprout-b: #e2471c;
  --sprout-hi: #fff96a;
}

.seed-sprout-gelo,
.seed-art-gelo {
  --seed-main: #94e9ff;
  --seed-mid: #e3fbff;
  --seed-dark: #4b92e8;
  --seed-hi: #ffffff;
  --sprout-a: #e2feff;
  --sprout-b: #77b9ff;
  --sprout-hi: #ffffff;
}

.seed-sprout-magica,
.seed-art-magica {
  --seed-main: #8c6cff;
  --seed-mid: #d9b7ff;
  --seed-dark: #5430b3;
  --seed-hi: #fff1ff;
  --sprout-a: #d9b7ff;
  --sprout-b: #7258ff;
  --sprout-hi: #ffffff;
}

.seed-sprout-lunar,
.seed-art-lunar {
  --seed-main: #7584ff;
  --seed-mid: #cfd6ff;
  --seed-dark: #3c438f;
  --seed-hi: #fffbd4;
  --sprout-a: #f7f1c4;
  --sprout-b: #6f79f5;
  --sprout-hi: #ffffff;
}

.seed-sprout-real,
.seed-art-real {
  --seed-main: #35c985;
  --seed-mid: #7effbe;
  --seed-dark: #146e52;
  --seed-hi: #fff07a;
  --sprout-a: #49e99b;
  --sprout-b: #187653;
  --sprout-hi: #fff97d;
}

.seed-art {
  overflow: visible;
  border-radius: 0;
  background: none !important;
  filter: drop-shadow(0 18px 18px rgba(66, 42, 14, 0.16));
  opacity: 0.22;
}

.seed-art::before,
.seed-art::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.seed-art::before {
  left: 22%;
  right: 18%;
  bottom: 8%;
  height: 62%;
  border-radius: 50% 48% 54% 50% / 58% 55% 47% 43%;
  background:
    radial-gradient(ellipse at 30% 18%, rgba(255, 255, 255, 0.58), transparent 22%),
    linear-gradient(140deg, transparent 48%, rgba(74, 34, 12, 0.24) 51%, transparent 55%),
    linear-gradient(145deg, var(--seed-mid), var(--seed-main) 54%, var(--seed-dark));
  box-shadow: inset -14px -15px 18px rgba(58, 24, 10, 0.22);
  transform: rotate(-7deg);
}

.seed-art::after {
  left: 13%;
  top: 3%;
  width: 74%;
  height: 44%;
  background:
    radial-gradient(ellipse at 27% 46%, var(--sprout-a) 0 39%, transparent 41%),
    radial-gradient(ellipse at 73% 46%, var(--sprout-a) 0 39%, transparent 41%),
    linear-gradient(180deg, var(--sprout-hi), var(--sprout-b)) 50% 57% / 10% 54% no-repeat;
}

.chest-seed-frame {
  width: 78px;
  height: 92px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.chest-seed-item {
  overflow: visible;
}

.chest-seed-item .seed-icon {
  width: 78px;
  height: 92px;
}

.chest-seed-item.is-prize .seed-icon {
  filter:
    drop-shadow(0 0 10px rgba(255, 217, 55, 0.75))
    drop-shadow(0 14px 14px rgba(147, 101, 14, 0.22));
}

/* Final polish layer 20260706-2 */
.help-button {
  position: fixed;
  right: 22px;
  bottom: 126px;
  z-index: 45;
  display: grid;
  grid-template-columns: 34px auto;
  gap: 7px;
  align-items: center;
  min-width: 116px;
  height: 52px;
  padding: 8px 14px 8px 9px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  color: #174c2a;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.88), transparent 25%),
    linear-gradient(145deg, rgba(239, 255, 230, 0.94), rgba(108, 222, 91, 0.92));
  box-shadow: 0 14px 26px rgba(34, 110, 43, 0.22), 0 0 0 5px rgba(255, 255, 255, 0.28);
  font-weight: 950;
}

.help-glyph {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 16px 16px 16px 6px;
  color: #7b4d03;
  background:
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.92), transparent 22%),
    linear-gradient(145deg, #fff86b 0%, #ffd43b 48%, #ff982f 100%);
  box-shadow: inset 0 -4px 0 rgba(150, 84, 0, 0.18), 0 8px 16px rgba(160, 99, 8, 0.25), 0 0 14px rgba(255, 230, 91, 0.42);
}

.help-glyph::before {
  content: "?";
  color: #7b4d03;
  font-size: 1.24rem;
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
}

.help-glyph::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: -5px;
  width: 10px;
  height: 10px;
  border-radius: 0 0 10px 0;
  background: #ff982f;
  transform: rotate(35deg);
  box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.42);
}

.checkout-custom-amount {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(99, 210, 96, 0.26);
}

.checkout-custom-amount[hidden] {
  display: none;
}

.checkout-custom-amount label {
  color: #285d31;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.checkout-amount-row,
.phone-split-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.checkout-amount-row input,
.phone-split-row input {
  min-height: 50px;
  width: 100%;
  border: 1px solid rgba(83, 197, 94, 0.36);
  border-radius: 16px;
  padding: 0 14px;
  color: #24452c;
  background: rgba(255, 255, 255, 0.96);
  font: inherit;
  font-weight: 850;
  box-shadow: inset 0 2px 8px rgba(36, 91, 42, 0.08);
}

.phone-split-row {
  grid-template-columns: 76px minmax(0, 1fr);
}

.phone-ddd-input {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.pix-result-panel {
  display: grid;
  gap: 12px;
  text-align: center;
}

.pix-result-panel[hidden] {
  display: none;
}

.pix-qr-card {
  display: grid;
  width: min(250px, 74vw);
  min-height: min(250px, 74vw);
  place-items: center;
  justify-self: center;
  padding: 14px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.95), transparent 25%),
    linear-gradient(145deg, #ffffff, #ddffd8);
  box-shadow: inset 0 -7px 0 rgba(62, 150, 62, 0.1), 0 20px 34px rgba(39, 105, 52, 0.18);
}

.pix-qr-card svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.chest-ad-panel {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 22px;
  color: #285126;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.78), transparent 26%),
    linear-gradient(145deg, rgba(255, 250, 183, 0.9), rgba(210, 255, 197, 0.88));
  border: 1px solid rgba(255, 212, 48, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 14px 28px rgba(52, 130, 47, 0.13);
}

.chest-ad-panel strong {
  color: #84570d;
  font-size: 1.05rem;
}

.chest-ad-panel p {
  margin: 0;
  font-weight: 750;
  line-height: 1.35;
}

.help-modal,
.seed-hint-modal {
  display: grid;
  gap: 14px;
  text-align: center;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 244, 105, 0.46), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(222, 255, 226, 0.95));
}

.help-steps {
  display: grid;
  gap: 10px;
  text-align: left;
}

.help-steps div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  color: #2c5534;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(91, 197, 91, 0.24);
}

.help-steps strong {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  color: #795006;
  background: linear-gradient(145deg, #fff56e, #ffaf26);
}

.seed-hint-image {
  width: min(280px, 78vw);
  aspect-ratio: 1;
  justify-self: center;
  object-fit: cover;
  border-radius: 28px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 34px rgba(38, 100, 47, 0.24);
}

.tree-render.is-dead .tree {
  filter: grayscale(0.52) saturate(0.72) brightness(0.88);
  animation: none;
}

.tree-render.is-dead::after {
  content: "Árvore morreu";
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  padding: 9px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(68, 61, 47, 0.78);
  box-shadow: 0 10px 24px rgba(40, 31, 22, 0.22);
  font-weight: 950;
}

.seed-card .seed-art {
  display: none;
}

.is-no-seeds-account .home-actions {
  justify-content: center;
  text-align: center;
}

.is-no-seeds-account #openSeedsButton {
  margin-inline: auto;
}

@media (max-width: 520px) {
  .help-button {
    right: 16px;
    bottom: 110px;
    min-width: 104px;
    height: 48px;
    border-radius: 18px;
    font-size: 0.9rem;
  }

  .checkout-amount-row {
    grid-template-columns: 1fr;
  }

  .pix-qr-card {
    width: min(232px, 82vw);
    min-height: min(232px, 82vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .help-button,
  .seed-hint-modal,
  .help-modal {
    animation: none !important;
    transition: none !important;
  }
}

/* Pix checkout layer 20260706-1 */
.pix-checkout-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(83, 197, 94, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.78), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(210, 255, 216, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 16px 36px rgba(40, 125, 64, 0.14);
}

.pix-checkout-form[hidden] {
  display: none;
}

.pix-checkout-amount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #31501f;
  font-weight: 900;
  background: linear-gradient(135deg, #fff36b, #5ed75e);
  box-shadow: 0 10px 20px rgba(91, 170, 70, 0.22);
}

.pix-checkout-form label {
  margin-top: 2px;
  color: #285d31;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pix-checkout-form input,
.pix-result-panel textarea {
  width: 100%;
  border: 1px solid rgba(83, 197, 94, 0.34);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: #25442a;
  font: inherit;
  font-weight: 750;
  box-shadow: inset 0 2px 8px rgba(36, 91, 42, 0.07);
}

.pix-checkout-form input {
  min-height: 48px;
  padding: 0 14px;
}

.pix-checkout-form input:focus,
.pix-result-panel textarea:focus {
  border-color: rgba(42, 178, 70, 0.74);
  outline: 3px solid rgba(98, 226, 96, 0.22);
}

.pix-result-panel {
  margin-top: 14px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(236, 255, 220, 0.94), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(83, 197, 94, 0.26);
  box-shadow: 0 18px 36px rgba(40, 125, 64, 0.14);
}

.pix-status {
  margin: 0 0 10px;
  color: #2e6a35;
  font-weight: 850;
}

.pix-result-panel textarea {
  min-height: 108px;
  padding: 12px;
  resize: vertical;
  font-size: 0.84rem;
  line-height: 1.45;
  word-break: break-all;
}

/* Final generated asset layer. Keep this at the end so it wins over legacy chest CSS. */
.button-seed-icon {
  width: 48px;
  height: 48px;
  background: url("assets/ui-seed-icon-v4.webp?v=20260705-10") center center / contain no-repeat;
  filter:
    drop-shadow(0 7px 8px rgba(71, 42, 10, 0.24))
    drop-shadow(0 0 10px rgba(171, 255, 75, 0.3));
  transform: rotate(-3deg) scale(1.02);
}

.button-seed-icon::before,
.button-seed-icon::after {
  display: none;
}

#openSeedsButton .button-seed-icon {
  width: 54px;
  height: 54px;
  margin-left: -4px;
  margin-right: 2px;
}

.treasure-button {
  width: 104px;
  height: 104px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.treasure-button::before {
  inset: 8px 12px 10px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 240, 95, 0.74), rgba(255, 177, 30, 0.22) 46%, transparent 70%);
  filter: blur(6px);
  opacity: 0.92;
}

.treasure-button::after,
.treasure-copy {
  display: none;
}

.treasure-glyph {
  width: 96px;
  height: 84px;
  background: url("assets/chest-realistic-4k.webp?v=20260705-10") center center / contain no-repeat;
  filter:
    drop-shadow(0 13px 12px rgba(82, 47, 8, 0.34))
    drop-shadow(0 0 14px rgba(255, 219, 54, 0.5));
}

.treasure-glyph > span {
  display: none;
}

.chest-hero {
  min-height: 232px;
  background:
    radial-gradient(circle at 50% 52%, rgba(255, 226, 74, 0.4), transparent 34%),
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.62), transparent 12%),
    radial-gradient(circle at 75% 22%, rgba(133, 255, 159, 0.34), transparent 20%),
    linear-gradient(180deg, #98edff 0%, #d9fff0 54%, #80dd66 55%, #46b95b 100%);
  background-position: center;
  background-size: auto;
  background-repeat: no-repeat;
}

.chest-art {
  display: block;
  width: min(86%, 420px);
  height: min(42vw, 220px);
  min-height: 164px;
  background: url("assets/chest-realistic-4k.webp?v=20260705-10") center center / contain no-repeat;
  filter:
    drop-shadow(0 26px 20px rgba(91, 50, 8, 0.27))
    drop-shadow(0 0 24px rgba(255, 216, 58, 0.36));
}

.chest-art::before,
.chest-art::after,
.chest-art-lid,
.chest-art-body,
.chest-art-lock {
  display: none;
}

@media (max-width: 520px) {
  .treasure-button {
    width: 90px;
    height: 90px;
  }

  .treasure-glyph {
    width: 84px;
    height: 72px;
  }

  .chest-hero {
    min-height: 206px;
  }

  .chest-art {
    width: 94%;
    min-height: 150px;
  }
}

/* High-detail generated UI assets: seed CTA icon and realistic treasure chest. */
.button-seed-icon {
  width: 48px;
  height: 48px;
  background: url("assets/ui-seed-icon-v4.webp?v=20260705-10") center center / contain no-repeat;
  filter:
    drop-shadow(0 7px 8px rgba(71, 42, 10, 0.24))
    drop-shadow(0 0 10px rgba(171, 255, 75, 0.3));
  transform: rotate(-3deg) scale(1.02);
}

.button-seed-icon::before,
.button-seed-icon::after {
  display: none;
}

#openSeedsButton .button-seed-icon {
  width: 54px;
  height: 54px;
  margin-left: -4px;
  margin-right: 2px;
}

.treasure-button {
  width: 104px;
  height: 104px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.treasure-button::before {
  inset: 8px 12px 10px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 240, 95, 0.74), rgba(255, 177, 30, 0.22) 46%, transparent 70%);
  filter: blur(6px);
  opacity: 0.92;
}

.treasure-button::after,
.treasure-copy {
  display: none;
}

.treasure-glyph {
  width: 96px;
  height: 84px;
  background: url("assets/chest-realistic-4k.webp?v=20260705-10") center center / contain no-repeat;
  filter:
    drop-shadow(0 13px 12px rgba(82, 47, 8, 0.34))
    drop-shadow(0 0 14px rgba(255, 219, 54, 0.5));
}

.treasure-glyph > span {
  display: none;
}

.chest-hero {
  min-height: 232px;
  background:
    radial-gradient(circle at 50% 52%, rgba(255, 226, 74, 0.4), transparent 34%),
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.62), transparent 12%),
    radial-gradient(circle at 75% 22%, rgba(133, 255, 159, 0.34), transparent 20%),
    linear-gradient(180deg, #98edff 0%, #d9fff0 54%, #80dd66 55%, #46b95b 100%);
}

.chest-art {
  display: block;
  width: min(86%, 420px);
  height: min(42vw, 220px);
  min-height: 164px;
  background: url("assets/chest-realistic-4k.webp?v=20260705-10") center center / contain no-repeat;
  filter:
    drop-shadow(0 26px 20px rgba(91, 50, 8, 0.27))
    drop-shadow(0 0 24px rgba(255, 216, 58, 0.36));
}

.chest-art::before,
.chest-art::after,
.chest-art-lid,
.chest-art-body,
.chest-art-lock {
  display: none;
}

@media (max-width: 520px) {
  .treasure-button {
    width: 90px;
    height: 90px;
  }

  .treasure-glyph {
    width: 84px;
    height: 72px;
  }

  .chest-hero {
    min-height: 206px;
  }

  .chest-art {
    width: 94%;
    min-height: 150px;
  }
}

/* Seed asset refresh: high-detail v4 art used in cards, chest wheel and planted seed stage. */
.seed-icon {
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: transparent;
  box-shadow:
    0 14px 20px rgba(37, 102, 44, 0.18),
    0 0 0 4px color-mix(in srgb, var(--leaf), transparent 78%);
}

.seed-sprout {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: url("assets/seed-verde-v4.webp?v=20260705-6") center center / cover no-repeat;
  filter: none;
  transform: none;
}

.seed-sprout-gratis { background-image: url("assets/seed-gratis-v4.webp?v=20260705-6"); }
.seed-sprout-verde { background-image: url("assets/seed-verde-v4.webp?v=20260705-6"); }
.seed-sprout-azul { background-image: url("assets/seed-azul-v4.webp?v=20260705-6"); }
.seed-sprout-dourada { background-image: url("assets/seed-dourada-v4.webp?v=20260705-6"); }
.seed-sprout-rosa { background-image: url("assets/seed-rosa-v4.webp?v=20260705-6"); }
.seed-sprout-cristal { background-image: url("assets/seed-cristal-v4.webp?v=20260705-6"); }
.seed-sprout-fogo { background-image: url("assets/seed-fogo-v4.webp?v=20260705-6"); }
.seed-sprout-gelo { background-image: url("assets/seed-gelo-v4.webp?v=20260705-6"); }
.seed-sprout-magica { background-image: url("assets/seed-magica-v4.webp?v=20260705-6"); }
.seed-sprout-lunar { background-image: url("assets/seed-lunar-v4.webp?v=20260705-6"); }
.seed-sprout-real { background-image: url("assets/seed-real-v4.webp?v=20260705-6"); }

.seed-icon-large {
  width: 116px;
  height: 116px;
  border-radius: 31px;
  transform: translateZ(0);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.seed-card:hover .seed-icon-large {
  transform: translateY(-4px) scale(1.035);
  box-shadow:
    0 22px 34px rgba(37, 102, 44, 0.22),
    0 0 0 5px color-mix(in srgb, var(--accent), transparent 72%);
}

.seed-icon-large .seed-sprout {
  width: 100%;
  height: 100%;
  transform: none;
}

.seed-art {
  border-radius: 34px;
  background: url("assets/seed-verde-v4.webp?v=20260705-6") center center / cover no-repeat;
  filter: saturate(1.06) drop-shadow(0 18px 18px rgba(66, 42, 14, 0.18));
  opacity: 0.2;
}

.seed-art-gratis { background-image: url("assets/seed-gratis-v4.webp?v=20260705-6"); }
.seed-art-verde { background-image: url("assets/seed-verde-v4.webp?v=20260705-6"); }
.seed-art-azul { background-image: url("assets/seed-azul-v4.webp?v=20260705-6"); }
.seed-art-dourada { background-image: url("assets/seed-dourada-v4.webp?v=20260705-6"); }
.seed-art-rosa { background-image: url("assets/seed-rosa-v4.webp?v=20260705-6"); }
.seed-art-cristal { background-image: url("assets/seed-cristal-v4.webp?v=20260705-6"); }
.seed-art-fogo { background-image: url("assets/seed-fogo-v4.webp?v=20260705-6"); }
.seed-art-gelo { background-image: url("assets/seed-gelo-v4.webp?v=20260705-6"); }
.seed-art-magica { background-image: url("assets/seed-magica-v4.webp?v=20260705-6"); }
.seed-art-lunar { background-image: url("assets/seed-lunar-v4.webp?v=20260705-6"); }
.seed-art-real { background-image: url("assets/seed-real-v4.webp?v=20260705-6"); }

.seed-badge {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(216, 255, 204, 0.82));
}

.seed-badge::before {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: url("assets/seed-verde-v4.webp?v=20260705-6") center center / cover no-repeat;
  filter: drop-shadow(0 7px 7px rgba(24, 80, 36, 0.2));
  transform: none;
}

.seed-badge-gratis::before { background-image: url("assets/seed-gratis-v4.webp?v=20260705-6"); }
.seed-badge-verde::before { background-image: url("assets/seed-verde-v4.webp?v=20260705-6"); }
.seed-badge-azul::before { background-image: url("assets/seed-azul-v4.webp?v=20260705-6"); }
.seed-badge-dourada::before { background-image: url("assets/seed-dourada-v4.webp?v=20260705-6"); }
.seed-badge-rosa::before { background-image: url("assets/seed-rosa-v4.webp?v=20260705-6"); }
.seed-badge-cristal::before { background-image: url("assets/seed-cristal-v4.webp?v=20260705-6"); }
.seed-badge-fogo::before { background-image: url("assets/seed-fogo-v4.webp?v=20260705-6"); }
.seed-badge-gelo::before { background-image: url("assets/seed-gelo-v4.webp?v=20260705-6"); }
.seed-badge-magica::before { background-image: url("assets/seed-magica-v4.webp?v=20260705-6"); }
.seed-badge-lunar::before { background-image: url("assets/seed-lunar-v4.webp?v=20260705-6"); }
.seed-badge-real::before { background-image: url("assets/seed-real-v4.webp?v=20260705-6"); }

.tree.stage-0 .seed-shell {
  left: 50%;
  bottom: 38px;
  width: min(58vw, 250px);
  height: min(58vw, 250px);
  border-radius: 38px;
  background: url("assets/seed-verde-v4.webp?v=20260705-6") center center / cover no-repeat;
  box-shadow:
    0 22px 28px rgba(48, 93, 35, 0.23),
    0 0 0 4px rgba(255, 255, 255, 0.34);
  transform: translateX(-50%);
  animation: seedStageFloat 3.4s ease-in-out infinite alternate;
}

.tree.stage-0 .sprout {
  display: none;
}

.tree-gratis .seed-shell { background-image: url("assets/seed-gratis-v4.webp?v=20260705-6"); }
.tree-verde .seed-shell { background-image: url("assets/seed-verde-v4.webp?v=20260705-6"); }
.tree-azul .seed-shell { background-image: url("assets/seed-azul-v4.webp?v=20260705-6"); }
.tree-dourada .seed-shell { background-image: url("assets/seed-dourada-v4.webp?v=20260705-6"); }
.tree-rosa .seed-shell { background-image: url("assets/seed-rosa-v4.webp?v=20260705-6"); }
.tree-cristal .seed-shell { background-image: url("assets/seed-cristal-v4.webp?v=20260705-6"); }
.tree-fogo .seed-shell { background-image: url("assets/seed-fogo-v4.webp?v=20260705-6"); }
.tree-gelo .seed-shell { background-image: url("assets/seed-gelo-v4.webp?v=20260705-6"); }
.tree-magica .seed-shell { background-image: url("assets/seed-magica-v4.webp?v=20260705-6"); }
.tree-lunar .seed-shell { background-image: url("assets/seed-lunar-v4.webp?v=20260705-6"); }
.tree-real .seed-shell { background-image: url("assets/seed-real-v4.webp?v=20260705-6"); }

.chest-seed-frame {
  background: transparent;
  box-shadow: none;
}

.chest-seed-item .seed-icon {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.76);
}

.chest-seed-item .seed-sprout {
  width: 100%;
  height: 100%;
}

.treasure-button {
  width: 84px;
  height: 84px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  animation: treasureIconOnlyPulse 3.8s ease-in-out infinite;
}

.treasure-button::before {
  inset: 4px 8px 10px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 219, 55, 0.52), rgba(255, 188, 34, 0.18) 42%, transparent 66%);
  filter: blur(4px);
  opacity: 0.9;
  animation: treasureSlowGlow 5.2s ease-in-out infinite;
}

.treasure-button::after,
.treasure-copy {
  display: none;
}

.treasure-glyph {
  width: 74px;
  height: 56px;
  filter:
    drop-shadow(0 12px 10px rgba(82, 47, 8, 0.32))
    drop-shadow(0 0 12px rgba(255, 219, 54, 0.42));
}

.treasure-lid {
  width: 66px;
  height: 24px;
}

.treasure-body {
  width: 74px;
  height: 38px;
}

.treasure-lock {
  width: 20px;
  height: 21px;
}

@keyframes seedStageFloat {
  from { transform: translateX(-50%) translateY(2px) scale(0.98); }
  to { transform: translateX(-50%) translateY(-6px) scale(1.015); }
}

@keyframes treasureIconOnlyPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tree.stage-0 .seed-shell,
  .treasure-button {
    animation: none !important;
  }
}

.chest-hero {
  min-height: 214px;
  background-color: #8bdc7a;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(40, 150, 62, 0.05)),
    url("assets/chest-hero-v1.webp?v=20260705-5");
  background-position: center, center;
  background-size: auto, cover;
  background-repeat: no-repeat, no-repeat;
}

.chest-art {
  display: none;
}

.chest-wheel.is-complete .chest-seed-strip {
  transform: translateX(calc(var(--spin-start-offset, -48px) + var(--spin-distance, -3200px)));
}

.chest-modal.is-opening .chest-hero {
  animation: chestHeroEntrance 0.48s cubic-bezier(0.16, 0.9, 0.2, 1.05) both;
}

.chest-modal.is-spin-active .chest-hero {
  animation: chestHeroCharge 1.15s ease-in-out infinite alternate;
}

@media (max-width: 520px) {
  .chest-hero {
    min-height: 198px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chest-modal.is-opening .chest-hero,
  .chest-modal.is-spin-active .chest-hero {
    animation: none !important;
  }
}

.chest-hero {
  min-height: 214px;
  background-color: #8bdc7a;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(40, 150, 62, 0.05)),
    url("assets/chest-hero-v1.webp?v=20260705-5");
  background-position: center, center;
  background-size: auto, cover;
  background-repeat: no-repeat, no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    inset 0 -12px 0 rgba(23, 119, 48, 0.06),
    0 18px 34px rgba(43, 119, 52, 0.18);
}

.chest-modal.is-opening .chest-hero {
  animation: chestHeroEntrance 0.48s cubic-bezier(0.16, 0.9, 0.2, 1.05) both;
}

.chest-modal.is-spin-active .chest-hero {
  animation: chestHeroCharge 1.15s ease-in-out infinite alternate;
}

.chest-hero::before {
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 26% 24%, rgba(255, 255, 255, 0.5) 0 3px, transparent 4px),
    radial-gradient(circle at 72% 22%, rgba(255, 242, 104, 0.76) 0 4px, transparent 5px),
    radial-gradient(circle at 82% 62%, rgba(255, 255, 255, 0.44) 0 3px, transparent 4px),
    linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.2) 48%, transparent 62% 100%);
  mix-blend-mode: screen;
  animation: chestHeroShimmer 6.2s ease-in-out infinite;
}

.chest-hero::after {
  display: none;
}

.chest-art {
  display: none;
}

.chest-seed-strip {
  transform: translateX(var(--spin-start-offset, -48px));
}

.chest-wheel.is-spinning .chest-seed-strip {
  animation-name: chestSpinAligned;
}

.chest-wheel.is-complete .chest-seed-strip {
  transform: translateX(calc(var(--spin-start-offset, -48px) + var(--spin-distance, -3200px)));
}

@keyframes chestSpinAligned {
  0% {
    transform: translateX(var(--spin-start-offset, -48px));
  }
  62% {
    transform: translateX(calc(var(--spin-start-offset, -48px) + var(--spin-distance, -3200px) + 250px));
  }
  82% {
    transform: translateX(calc(var(--spin-start-offset, -48px) + var(--spin-distance, -3200px) - 32px));
  }
  100% {
    transform: translateX(calc(var(--spin-start-offset, -48px) + var(--spin-distance, -3200px)));
  }
}

@keyframes chestHeroEntrance {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    filter: saturate(0.9) brightness(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(1.04) brightness(1);
  }
}

@keyframes chestHeroCharge {
  from {
    filter: saturate(1) brightness(1);
  }
  to {
    filter: saturate(1.12) brightness(1.08);
  }
}

@keyframes chestHeroShimmer {
  0%,
  40% {
    opacity: 0.42;
    transform: translateX(-8%);
  }
  70% {
    opacity: 0.78;
  }
  100% {
    opacity: 0.42;
    transform: translateX(8%);
  }
}

@media (max-width: 520px) {
  .chest-hero {
    min-height: 198px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chest-modal.is-opening .chest-hero,
  .chest-modal.is-spin-active .chest-hero,
  .chest-hero::before,
  .chest-wheel.is-spinning .chest-seed-strip {
    animation: none !important;
  }
}

.treasure-button {
  animation: treasureSoftBeacon 4.8s ease-in-out infinite;
}

.treasure-button::before {
  background:
    radial-gradient(circle, rgba(255, 247, 147, 0.38), transparent 62%),
    conic-gradient(from 20deg, transparent, rgba(255, 255, 180, 0.56), transparent 30%);
  animation: treasureSlowGlow 6.4s ease-in-out infinite;
}

.treasure-button::after {
  animation: treasureSweep 5.2s ease-in-out infinite;
}

.chest-modal {
  width: min(520px, 100%);
  gap: 16px;
  border-color: rgba(255, 243, 141, 0.8);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 245, 128, 0.34), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(83, 210, 103, 0.23), transparent 27%),
    linear-gradient(155deg, rgba(255, 255, 249, 0.98), rgba(228, 255, 224, 0.95));
}

.chest-hero {
  position: relative;
  min-height: 190px;
  border: 2px solid rgba(255, 238, 106, 0.76);
  border-radius: 32px;
  background:
    radial-gradient(circle at 22% 23%, rgba(255, 255, 255, 0.75), transparent 12%),
    radial-gradient(circle at 62% 45%, rgba(255, 230, 71, 0.68), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(130, 255, 155, 0.42), transparent 20%),
    linear-gradient(180deg, #9feeff 0%, #ccffe3 55%, #7ada63 56%, #41bb56 100%);
  box-shadow:
    inset 0 -10px 0 rgba(38, 129, 48, 0.09),
    0 16px 34px rgba(44, 120, 52, 0.16);
}

.chest-hero::before,
.chest-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.chest-hero::before {
  inset: 16px 18px;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.72) 0 5px, transparent 6px),
    radial-gradient(circle at 76% 30%, rgba(255, 241, 90, 0.9) 0 4px, transparent 5px),
    radial-gradient(circle at 66% 76%, rgba(255, 255, 255, 0.62) 0 4px, transparent 5px),
    radial-gradient(circle at 36% 72%, rgba(255, 225, 55, 0.72) 0 3px, transparent 4px);
  opacity: 0.86;
  animation: treasureSparkleDrift 5.6s ease-in-out infinite;
}

.chest-hero::after {
  left: 18%;
  right: 18%;
  bottom: 16px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(93, 70, 17, 0.18), transparent 68%);
}

.chest-art {
  width: 210px;
  height: 142px;
  transform: perspective(420px) rotateX(3deg);
  animation: none;
  filter: drop-shadow(0 24px 18px rgba(91, 50, 8, 0.24));
  z-index: 1;
}

.chest-modal.is-opening .chest-art {
  animation: chestSettle 0.58s cubic-bezier(0.2, 0.9, 0.25, 1.1) both;
}

.chest-modal.is-spin-active .chest-art {
  animation: chestCharge 1.25s ease-in-out infinite;
}

.chest-art::before {
  inset: -32px;
  background:
    radial-gradient(circle, rgba(255, 227, 66, 0.44), transparent 60%),
    radial-gradient(circle at 35% 60%, rgba(255, 255, 255, 0.26), transparent 24%);
  opacity: 0.85;
  animation: none;
}

.chest-modal.is-spin-active .chest-art::before {
  animation: chestAuraPremium 1.2s ease-in-out infinite alternate;
}

.chest-art::after {
  inset: 4px 12px;
  border-radius: 36px;
  background: linear-gradient(112deg, transparent 0 42%, rgba(255, 255, 255, 0.58) 50%, transparent 59% 100%);
  animation: chestShineSweep 4.8s ease-in-out infinite;
}

.chest-art-lid {
  top: 8px;
  width: 174px;
  height: 58px;
  border-width: 6px;
  border-color: #6d3d08;
  border-radius: 38px 38px 12px 12px;
  transform-origin: 50% 100%;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.8), transparent 16%),
    linear-gradient(180deg, #fff18a 0%, #ffc94a 48%, #e99522 100%);
  box-shadow:
    inset 0 8px 0 rgba(255, 255, 255, 0.28),
    inset 0 -8px 0 rgba(115, 64, 7, 0.14);
}

.chest-art-lid::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 9px;
  height: 6px;
  border-radius: 999px;
  background: rgba(112, 64, 8, 0.2);
}

.chest-modal.is-opening .chest-art-lid {
  animation: chestLidPeek 0.78s cubic-bezier(0.16, 0.9, 0.2, 1.18) both;
}

.chest-modal.is-spin-active .chest-art-lid {
  animation: chestLidGlow 1.25s ease-in-out infinite alternate;
}

.chest-art-body {
  bottom: 0;
  width: 196px;
  height: 86px;
  border-width: 6px;
  border-color: #6d3d08;
  border-radius: 18px 18px 32px 32px;
  background:
    linear-gradient(90deg, transparent 0 16%, rgba(255, 220, 77, 0.28) 16% 20%, transparent 21% 79%, rgba(255, 220, 77, 0.28) 80% 84%, transparent 85%),
    linear-gradient(90deg, transparent 47%, rgba(255, 233, 92, 0.82) 48% 52%, transparent 53%),
    radial-gradient(circle at 28% 24%, rgba(255, 204, 85, 0.36), transparent 28%),
    linear-gradient(180deg, #cf7925 0%, #a75618 58%, #733810 100%);
  box-shadow:
    inset 0 7px 0 rgba(255, 211, 102, 0.32),
    inset 0 -12px 0 rgba(65, 31, 7, 0.18);
}

.chest-art-body::before,
.chest-art-body::after {
  content: "";
  position: absolute;
  top: 13px;
  width: 12px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe66b, #d6871a);
  box-shadow: inset 0 -4px 0 rgba(92, 52, 7, 0.16);
}

.chest-art-body::before {
  left: 22px;
}

.chest-art-body::after {
  right: 22px;
}

.chest-art-lock {
  bottom: 29px;
  width: 42px;
  height: 46px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.78), transparent 17%),
    linear-gradient(180deg, #fff685, #f0b821 72%, #c97809);
  box-shadow:
    0 0 0 6px rgba(102, 59, 8, 0.28),
    inset 0 -6px 0 rgba(129, 84, 8, 0.18),
    0 7px 12px rgba(71, 40, 5, 0.2);
}

.chest-modal.is-spin-active .chest-art-lock {
  animation: lockGemPulse 0.9s ease-in-out infinite alternate;
}

.chest-wheel {
  min-height: 156px;
  padding: 16px 0 14px;
  border: 2px solid rgba(255, 211, 66, 0.78);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 196, 0.54), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 50% 50%, rgba(255, 221, 64, 0.32), transparent 62%),
    linear-gradient(180deg, rgba(102, 220, 117, 0.14), rgba(255, 231, 97, 0.2));
  box-shadow:
    inset 0 0 0 6px rgba(255, 255, 255, 0.38),
    inset 0 -7px 0 rgba(129, 84, 8, 0.08),
    0 12px 24px rgba(102, 83, 11, 0.12);
}

.chest-wheel::before,
.chest-wheel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 76px;
  z-index: 4;
  pointer-events: none;
}

.chest-wheel::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 249, 0.96), transparent);
}

.chest-wheel::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 255, 249, 0.96), transparent);
}

.chest-seed-strip {
  align-items: center;
  gap: 12px;
  padding: 0 50%;
}

.chest-wheel.is-spinning .chest-seed-strip {
  animation: chestSpinPremium 2.85s cubic-bezier(0.12, 0.78, 0.18, 1) both;
}

.chest-wheel.is-spinning .chest-seed-item {
  animation: seedCardSpeed 0.38s ease-in-out infinite alternate;
  animation-delay: calc(var(--item-index, 0) * -0.025s);
}

.chest-seed-item:nth-child(1) { --item-index: 0; }
.chest-seed-item:nth-child(2) { --item-index: 1; }
.chest-seed-item:nth-child(3) { --item-index: 2; }
.chest-seed-item:nth-child(4) { --item-index: 3; }
.chest-seed-item:nth-child(5) { --item-index: 4; }
.chest-seed-item:nth-child(6) { --item-index: 5; }
.chest-seed-item:nth-child(7) { --item-index: 6; }
.chest-seed-item:nth-child(8) { --item-index: 7; }
.chest-seed-item:nth-child(9) { --item-index: 8; }
.chest-seed-item:nth-child(10) { --item-index: 9; }
.chest-seed-item:nth-child(11) { --item-index: 10; }
.chest-seed-item:nth-child(12) { --item-index: 11; }
.chest-seed-item:nth-child(13) { --item-index: 12; }
.chest-seed-item:nth-child(14) { --item-index: 13; }
.chest-seed-item:nth-child(15) { --item-index: 14; }
.chest-seed-item:nth-child(16) { --item-index: 15; }
.chest-seed-item:nth-child(17) { --item-index: 16; }
.chest-seed-item:nth-child(18) { --item-index: 17; }
.chest-seed-item:nth-child(19) { --item-index: 18; }
.chest-seed-item:nth-child(20) { --item-index: 19; }
.chest-seed-item:nth-child(21) { --item-index: 20; }
.chest-seed-item:nth-child(22) { --item-index: 21; }
.chest-seed-item:nth-child(23) { --item-index: 22; }
.chest-seed-item:nth-child(24) { --item-index: 23; }
.chest-seed-item:nth-child(25) { --item-index: 24; }
.chest-seed-item:nth-child(26) { --item-index: 25; }
.chest-seed-item:nth-child(27) { --item-index: 26; }
.chest-seed-item:nth-child(28) { --item-index: 27; }
.chest-seed-item:nth-child(29) { --item-index: 28; }
.chest-seed-item:nth-child(30) { --item-index: 29; }
.chest-seed-item:nth-child(31) { --item-index: 30; }
.chest-seed-item:nth-child(32) { --item-index: 31; }
.chest-seed-item:nth-child(33) { --item-index: 32; }
.chest-seed-item:nth-child(34) { --item-index: 33; }

.chest-seed-item {
  position: relative;
  width: 96px;
  min-height: 122px;
  flex-basis: 96px;
  padding: 9px 6px 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.82), transparent 19%),
    linear-gradient(160deg, color-mix(in srgb, var(--leaf) 22%, white), rgba(255, 255, 255, 0.9) 58%, color-mix(in srgb, var(--accent) 18%, white));
  box-shadow:
    inset 0 -6px 0 rgba(31, 110, 45, 0.08),
    0 12px 18px rgba(35, 112, 49, 0.12);
}

.chest-seed-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.46) 45%, transparent 58% 100%);
  transform: translateX(-130%);
}

.chest-wheel.is-spinning .chest-seed-item::before {
  animation: seedTileSweep 0.9s ease-in-out infinite;
}

.chest-seed-frame {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 24px;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.72), transparent 19%),
    linear-gradient(145deg, color-mix(in srgb, var(--leaf) 72%, white), var(--leaf-dark));
  box-shadow:
    inset 0 -7px 0 rgba(28, 78, 37, 0.15),
    0 8px 14px rgba(29, 100, 43, 0.14);
}

.chest-seed-item .seed-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  box-shadow: none;
}

.chest-seed-item .seed-sprout {
  width: 72px;
  height: 72px;
}

.chest-seed-name {
  position: relative;
  z-index: 1;
  max-width: 84px;
  color: #27522f;
  font-size: 0.7rem;
  font-weight: 1000;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.78);
}

.chest-seed-item.is-prize {
  border-color: rgba(255, 211, 46, 0.95);
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.92), transparent 20%),
    linear-gradient(160deg, #fff8aa, #dcff9a 58%, #ffd969);
  box-shadow:
    inset 0 -7px 0 rgba(121, 83, 9, 0.1),
    0 16px 22px rgba(169, 113, 13, 0.18),
    0 0 0 4px rgba(255, 216, 49, 0.26);
}

.chest-seed-item.is-prize .seed-icon {
  box-shadow: none;
}

.chest-pointer {
  top: 10px;
  bottom: 10px;
  width: 88px;
  height: auto;
  z-index: 5;
  transform: translateX(-50%);
  border: 2px solid rgba(255, 186, 31, 0.96);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 249, 169, 0.22), rgba(255, 163, 39, 0.08)),
    transparent;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.46),
    0 0 22px rgba(255, 208, 45, 0.42);
}

.chest-pointer::before,
.chest-pointer::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.chest-pointer::before {
  top: -14px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff25d, #ff9d25);
  box-shadow: 0 6px 10px rgba(128, 77, 9, 0.2);
  transform: translateX(-50%) rotate(45deg);
}

.chest-pointer::after {
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(255, 198, 35, 0.78), transparent);
}

.chest-wheel.is-complete .chest-pointer {
  border-color: rgba(255, 211, 46, 1);
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.56),
    0 0 32px rgba(255, 210, 36, 0.58);
}

@keyframes treasureSoftBeacon {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.06);
  }
}

@keyframes treasureSlowGlow {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.04);
  }
}

@keyframes treasureSparkleDrift {
  0%,
  100% {
    opacity: 0.56;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes chestSettle {
  from {
    opacity: 0;
    transform: perspective(420px) rotateX(8deg) translateY(14px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: perspective(420px) rotateX(3deg) translateY(0) scale(1);
  }
}

@keyframes chestCharge {
  0%,
  100% {
    filter: drop-shadow(0 24px 18px rgba(91, 50, 8, 0.24));
  }
  50% {
    filter: drop-shadow(0 24px 18px rgba(91, 50, 8, 0.24)) drop-shadow(0 0 16px rgba(255, 215, 46, 0.48));
  }
}

@keyframes chestLidPeek {
  0% {
    transform: translateX(-50%) translateY(12px) rotate(0deg);
  }
  42% {
    transform: translateX(-50%) translateY(-12px) rotate(-5deg);
  }
  100% {
    transform: translateX(-50%) translateY(0) rotate(0deg);
  }
}

@keyframes chestLidGlow {
  from {
    transform: translateX(-50%) translateY(0);
  }
  to {
    transform: translateX(-50%) translateY(-4px);
  }
}

@keyframes chestAuraPremium {
  from {
    opacity: 0.55;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes lockGemPulse {
  from {
    filter: brightness(1);
  }
  to {
    filter: brightness(1.18);
  }
}

@keyframes chestSpinPremium {
  0% {
    transform: translateX(0);
  }
  48% {
    transform: translateX(calc(var(--spin-distance) + 980px));
  }
  72% {
    transform: translateX(calc(var(--spin-distance) + 420px));
  }
  88% {
    transform: translateX(calc(var(--spin-distance) + 120px));
  }
  100% {
    transform: translateX(var(--spin-distance));
  }
}

@keyframes seedCardSpeed {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-3px) scale(1.02);
  }
}

@keyframes seedTileSweep {
  0%,
  35% {
    transform: translateX(-130%);
  }
  80%,
  100% {
    transform: translateX(130%);
  }
}

@media (max-width: 520px) {
  .chest-hero {
    min-height: 178px;
  }

  .chest-art {
    width: 190px;
    height: 132px;
  }

  .chest-art-lid {
    width: 156px;
  }

  .chest-art-body {
    width: 178px;
    height: 80px;
  }

  .chest-wheel {
    min-height: 148px;
  }

  .chest-seed-item {
    width: 96px;
    flex-basis: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .treasure-button,
  .treasure-button::before,
  .treasure-button::after,
  .chest-hero::before,
  .chest-modal.is-opening .chest-art,
  .chest-modal.is-spin-active .chest-art,
  .chest-art::after,
  .chest-modal.is-opening .chest-art-lid,
  .chest-modal.is-spin-active .chest-art-lid,
  .chest-modal.is-spin-active .chest-art::before,
  .chest-modal.is-spin-active .chest-art-lock,
  .chest-wheel.is-spinning .chest-seed-strip,
  .chest-wheel.is-spinning .chest-seed-item,
  .chest-wheel.is-spinning .chest-seed-item::before {
    animation: none !important;
  }
}

.chest-hero {
  min-height: 214px;
  background-color: #8bdc7a;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(40, 150, 62, 0.05)),
    url("assets/chest-hero-v1.webp?v=20260705-5");
  background-position: center, center;
  background-size: auto, cover;
  background-repeat: no-repeat, no-repeat;
}

.chest-art {
  display: none;
}

.chest-wheel.is-complete .chest-seed-strip {
  transform: translateX(calc(var(--spin-start-offset, -48px) + var(--spin-distance, -3200px)));
}

@media (max-width: 520px) {
  .chest-hero {
    min-height: 198px;
  }
}



/* ABSOLUTE FINAL GENERATED ASSET LAYER 20260705-10 */
.button-seed-icon {
  width: 48px;
  height: 48px;
  background: url("assets/ui-seed-icon-v4.webp?v=20260705-10") center center / contain no-repeat;
  filter:
    drop-shadow(0 7px 8px rgba(71, 42, 10, 0.24))
    drop-shadow(0 0 10px rgba(171, 255, 75, 0.3));
  transform: rotate(-3deg) scale(1.02);
}

.button-seed-icon::before,
.button-seed-icon::after {
  display: none;
}

#openSeedsButton .button-seed-icon {
  width: 54px;
  height: 54px;
  margin-left: -4px;
  margin-right: 2px;
}

.treasure-button {
  width: 104px;
  height: 104px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.treasure-button::before {
  inset: 8px 12px 10px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 240, 95, 0.74), rgba(255, 177, 30, 0.22) 46%, transparent 70%);
  filter: blur(6px);
  opacity: 0.92;
}

.treasure-button::after,
.treasure-copy {
  display: none;
}

.treasure-glyph {
  width: 96px;
  height: 84px;
  background: url("assets/chest-realistic-4k.webp?v=20260705-10") center center / contain no-repeat;
  filter:
    drop-shadow(0 13px 12px rgba(82, 47, 8, 0.34))
    drop-shadow(0 0 14px rgba(255, 219, 54, 0.5));
}

.treasure-glyph > span {
  display: none;
}

.chest-hero {
  min-height: 232px;
  background:
    radial-gradient(circle at 50% 52%, rgba(255, 226, 74, 0.4), transparent 34%),
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.62), transparent 12%),
    radial-gradient(circle at 75% 22%, rgba(133, 255, 159, 0.34), transparent 20%),
    linear-gradient(180deg, #98edff 0%, #d9fff0 54%, #80dd66 55%, #46b95b 100%);
  background-position: center;
  background-size: auto;
  background-repeat: no-repeat;
}

.chest-art {
  display: block;
  width: min(86%, 420px);
  height: min(42vw, 220px);
  min-height: 164px;
  background: url("assets/chest-realistic-4k.webp?v=20260705-10") center center / contain no-repeat;
  filter:
    drop-shadow(0 26px 20px rgba(91, 50, 8, 0.27))
    drop-shadow(0 0 24px rgba(255, 216, 58, 0.36));
}

.chest-art::before,
.chest-art::after,
.chest-art-lid,
.chest-art-body,
.chest-art-lock {
  display: none;
}

@media (max-width: 520px) {
  .treasure-button {
    width: 90px;
    height: 90px;
  }

  .treasure-glyph {
    width: 84px;
    height: 72px;
  }

  .chest-hero {
    min-height: 206px;
  }

  .chest-art {
    width: 94%;
    min-height: 150px;
  }
}

/* Absolute final seed/chest fix 20260707-6: real seed silhouettes, no square tiles. */
.seed-icon,
.seed-icon-large,
.chest-seed-item .seed-icon {
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.seed-icon-large {
  width: 118px;
  height: 128px;
}

.seed-card:hover .seed-icon-large {
  box-shadow: none !important;
}

.seed-sprout {
  --seed-main: #a8642d;
  --seed-dark: #5c3219;
  --seed-mid: #d99142;
  --seed-hi: #ffe39a;
  --sprout-a: #68e54d;
  --sprout-b: #169447;
  --sprout-hi: #e9ff6b;
  position: relative;
  display: block;
  width: 88px;
  height: 106px;
  overflow: visible !important;
  border-radius: 0 !important;
  background: none !important;
  background-image: none !important;
  filter:
    drop-shadow(0 15px 12px rgba(61, 38, 18, 0.22))
    drop-shadow(0 0 9px rgba(255, 246, 132, 0.22));
}

.seed-icon-large .seed-sprout {
  width: 106px;
  height: 128px;
}

.chest-seed-item .seed-sprout {
  width: 78px;
  height: 94px;
}

.seed-sprout::before {
  content: "";
  position: absolute;
  left: 20%;
  right: 17%;
  bottom: 2%;
  height: 67%;
  border-radius: 50% 48% 54% 50% / 58% 55% 47% 43%;
  background:
    radial-gradient(ellipse at 30% 18%, rgba(255, 255, 255, 0.68), transparent 23%),
    radial-gradient(ellipse at 38% 30%, var(--seed-hi) 0 7%, transparent 8%),
    linear-gradient(140deg, transparent 48%, rgba(74, 34, 12, 0.34) 50%, transparent 55%),
    radial-gradient(ellipse at 72% 78%, rgba(55, 24, 10, 0.25), transparent 34%),
    linear-gradient(145deg, var(--seed-mid), var(--seed-main) 54%, var(--seed-dark));
  box-shadow:
    inset -10px -13px 15px rgba(58, 24, 10, 0.29),
    inset 9px 11px 15px rgba(255, 246, 176, 0.23),
    0 3px 0 rgba(101, 57, 23, 0.18);
  transform: rotate(-7deg);
}

.seed-sprout::after {
  content: "";
  position: absolute;
  left: 11%;
  top: -1%;
  width: 78%;
  height: 49%;
  background:
    radial-gradient(ellipse at 25% 42%, var(--sprout-hi) 0 9%, transparent 10%),
    radial-gradient(ellipse at 27% 47%, var(--sprout-a) 0 40%, transparent 42%),
    radial-gradient(ellipse at 75% 42%, var(--sprout-hi) 0 9%, transparent 10%),
    radial-gradient(ellipse at 73% 47%, var(--sprout-a) 0 40%, transparent 42%),
    linear-gradient(180deg, var(--sprout-hi), var(--sprout-b)) 50% 58% / 10% 54% no-repeat;
  filter: drop-shadow(0 10px 10px rgba(29, 87, 33, 0.17));
}

.seed-sprout-gratis,
.seed-art-gratis { --seed-main: #70e14e; --seed-mid: #b8ff68; --seed-dark: #168d42; --seed-hi: #f4ff9b; --sprout-a: #6aec5c; --sprout-b: #1e9a49; --sprout-hi: #edff7e; }
.seed-sprout-verde,
.seed-art-verde { --seed-main: #a56732; --seed-mid: #dc9347; --seed-dark: #653417; --seed-hi: #ffd481; --sprout-a: #5de554; --sprout-b: #179746; --sprout-hi: #d8ff59; }
.seed-sprout-azul,
.seed-art-azul { --seed-main: #3aa5ff; --seed-mid: #7ee5ff; --seed-dark: #1757b8; --seed-hi: #e4fbff; --sprout-a: #80efff; --sprout-b: #2474d8; --sprout-hi: #ffffff; }
.seed-sprout-dourada,
.seed-art-dourada { --seed-main: #f0b21c; --seed-mid: #ffd95c; --seed-dark: #9b6400; --seed-hi: #fff6a8; --sprout-a: #b8ff45; --sprout-b: #40ac36; --sprout-hi: #ffff72; }
.seed-sprout-rosa,
.seed-art-rosa { --seed-main: #f675bd; --seed-mid: #ffacd9; --seed-dark: #b42b78; --seed-hi: #ffe1f3; --sprout-a: #ff9ed7; --sprout-b: #cf3d92; --sprout-hi: #ffffff; }
.seed-sprout-cristal,
.seed-art-cristal { --seed-main: #7cecff; --seed-mid: #c6fbff; --seed-dark: #1797b2; --seed-hi: #ffffff; --sprout-a: #ccffff; --sprout-b: #3dbdd6; --sprout-hi: #ffffff; }
.seed-sprout-fogo,
.seed-art-fogo { --seed-main: #ff6c19; --seed-mid: #ffbd3d; --seed-dark: #aa2510; --seed-hi: #fff06c; --sprout-a: #ffcc31; --sprout-b: #e2471c; --sprout-hi: #fff96a; }
.seed-sprout-gelo,
.seed-art-gelo { --seed-main: #94e9ff; --seed-mid: #e3fbff; --seed-dark: #4b92e8; --seed-hi: #ffffff; --sprout-a: #e2feff; --sprout-b: #77b9ff; --sprout-hi: #ffffff; }
.seed-sprout-magica,
.seed-art-magica { --seed-main: #8c6cff; --seed-mid: #d9b7ff; --seed-dark: #5430b3; --seed-hi: #fff1ff; --sprout-a: #d9b7ff; --sprout-b: #7258ff; --sprout-hi: #ffffff; }
.seed-sprout-lunar,
.seed-art-lunar { --seed-main: #7584ff; --seed-mid: #cfd6ff; --seed-dark: #3c438f; --seed-hi: #fffbd4; --sprout-a: #f7f1c4; --sprout-b: #6f79f5; --sprout-hi: #ffffff; }
.seed-sprout-real,
.seed-art-real { --seed-main: #35c985; --seed-mid: #7effbe; --seed-dark: #146e52; --seed-hi: #fff07a; --sprout-a: #49e99b; --sprout-b: #187653; --sprout-hi: #fff97d; }

.seed-art {
  overflow: visible !important;
  border-radius: 0 !important;
  background: none !important;
  background-image: none !important;
  filter: drop-shadow(0 18px 18px rgba(66, 42, 14, 0.16));
  opacity: 0.22;
}

.seed-art::before,
.seed-art::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.seed-art::before {
  left: 22%;
  right: 18%;
  bottom: 8%;
  height: 62%;
  border-radius: 50% 48% 54% 50% / 58% 55% 47% 43%;
  background:
    radial-gradient(ellipse at 30% 18%, rgba(255, 255, 255, 0.58), transparent 22%),
    linear-gradient(140deg, transparent 48%, rgba(74, 34, 12, 0.24) 51%, transparent 55%),
    linear-gradient(145deg, var(--seed-mid), var(--seed-main) 54%, var(--seed-dark));
  box-shadow: inset -14px -15px 18px rgba(58, 24, 10, 0.22);
  transform: rotate(-7deg);
}

.seed-art::after {
  left: 13%;
  top: 3%;
  width: 74%;
  height: 44%;
  background:
    radial-gradient(ellipse at 27% 46%, var(--sprout-a) 0 39%, transparent 41%),
    radial-gradient(ellipse at 73% 46%, var(--sprout-a) 0 39%, transparent 41%),
    linear-gradient(180deg, var(--sprout-hi), var(--sprout-b)) 50% 57% / 10% 54% no-repeat;
}

.chest-seed-frame {
  width: 80px !important;
  height: 96px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.chest-seed-item {
  overflow: visible;
}

.chest-seed-item .seed-icon {
  width: 80px !important;
  height: 96px !important;
}

.chest-seed-item.is-prize .seed-icon {
  filter:
    drop-shadow(0 0 12px rgba(255, 217, 55, 0.86))
    drop-shadow(0 15px 14px rgba(147, 101, 14, 0.24));
}

.chest-wheel.is-complete .chest-seed-strip {
  transform: translateX(var(--spin-distance, -3200px));
}

