.seed-token.bonsai::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 8px;
    width: 42px;
    height: 34px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 25% 57%, #167b34 0 18%, transparent 19%),
        radial-gradient(circle at 49% 32%, #39c45a 0 23%, transparent 24%),
        radial-gradient(circle at 75% 56%, #249948 0 19%, transparent 20%);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.18);
}

.seed-token.bonsai::after {
    content: "";
    position: absolute;
    left: 25px;
    top: 34px;
    width: 10px;
    height: 21px;
    border-radius: 7px 7px 4px 4px;
    background: linear-gradient(90deg, #5f351d, #9a6735, #4d2a17);
    box-shadow: -13px 6px 0 -5px #2e9c4a, 13px 5px 0 -5px #2e9c4a;
}

.seed-token.frostfern {
    background: radial-gradient(circle at 38% 26%, #f0ffff 0 9%, transparent 10%), #78dfff;
}

.seed-token.frostfern::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 9px;
    width: 29px;
    height: 40px;
    background:
        linear-gradient(90deg, transparent 0 45%, #f5ffff 46% 54%, transparent 55%),
        radial-gradient(circle at 25% 22%, #e8ffff 0 9%, transparent 10%),
        radial-gradient(circle at 75% 34%, #c7f7ff 0 11%, transparent 12%),
        radial-gradient(circle at 25% 52%, #95e9ff 0 11%, transparent 12%),
        radial-gradient(circle at 75% 70%, #57caff 0 10%, transparent 11%);
    clip-path: polygon(50% 0, 72% 18%, 58% 36%, 88% 46%, 60% 56%, 78% 81%, 50% 68%, 22% 81%, 40% 56%, 12% 46%, 42% 36%, 28% 18%);
    filter: drop-shadow(0 0 11px rgba(197,250,255,0.95));
}

.seed-token.frostfern::after {
    content: "";
    position: absolute;
    left: 26px;
    top: 33px;
    width: 8px;
    height: 23px;
    border-radius: 999px;
    background: #238d5a;
}

.seed-token.cocoa {
    background: radial-gradient(circle at 36% 25%, #ffd492 0 8%, transparent 9%), #a76432;
}

.seed-token.cocoa::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 12px;
    width: 23px;
    height: 37px;
    border-radius: 55% 55% 45% 45%;
    background:
        linear-gradient(90deg, transparent 0 25%, rgba(77,31,12,0.26) 26% 31%, transparent 32% 62%, rgba(77,31,12,0.26) 63% 68%, transparent 69%),
        linear-gradient(135deg, #b86933, #703419);
    transform: rotate(-10deg);
    box-shadow: inset 0 -7px 0 rgba(47,18,7,0.2);
}

.seed-token.cocoa::after {
    content: "";
    position: absolute;
    left: 25px;
    top: 6px;
    width: 12px;
    height: 15px;
    border-radius: 9px 9px 3px 3px;
    background: #2b9448;
    transform: rotate(12deg);
    box-shadow: -9px 7px 0 -5px #45bd61, 9px 9px 0 -5px #45bd61;
}

.seed-token.prismlotus {
    background: radial-gradient(circle at 35% 25%, #fff9bd 0 9%, transparent 10%), #47d4ff;
}

.seed-token.prismlotus::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 9px;
    width: 41px;
    height: 40px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #fffad2 0 13%, transparent 14%),
        conic-gradient(from 18deg, #ff70c8, #ffe56b, #73f077, #63e8ff, #b27cff, #ff70c8);
    clip-path: polygon(50% 3%, 62% 33%, 94% 22%, 75% 51%, 97% 76%, 61% 69%, 50% 97%, 39% 69%, 3% 76%, 25% 51%, 6% 22%, 38% 33%);
    filter: drop-shadow(0 0 15px rgba(114,235,255,0.9));
}

.seed-token.prismlotus::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 36px;
    width: 31px;
    height: 15px;
    border-radius: 50%;
    background: #249d54;
    box-shadow: inset 0 -4px 0 rgba(0,70,28,0.2);
}

.seed-token.honeyvine {
    background: radial-gradient(circle at 36% 25%, #fff0a3 0 9%, transparent 10%), #f4b832;
}

.seed-token.honeyvine::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 15px;
    width: 34px;
    height: 28px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 31% 39%, #fff3a6 0 9%, transparent 10%),
        radial-gradient(circle at 65% 61%, #c97910 0 9%, transparent 10%),
        #f6b42e;
    box-shadow: inset 0 -7px 0 rgba(131,75,5,0.2), 0 0 12px rgba(255,198,53,0.76);
}

.seed-token.honeyvine::after {
    content: "";
    position: absolute;
    left: 25px;
    top: 5px;
    width: 10px;
    height: 50px;
    border-radius: 999px;
    background: #218a42;
    transform: rotate(-18deg);
    box-shadow: -13px 18px 0 -5px #37b85a, 13px 26px 0 -5px #37b85a;
}

.seed-token.obsidianrose {
    background: radial-gradient(circle at 36% 25%, #be8cff 0 8%, transparent 9%), #2a203c;
}

.seed-token.obsidianrose::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 8px;
    width: 41px;
    height: 41px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #ff69cf 0 11%, transparent 12%),
        conic-gradient(#100d18, #5c3277, #17121f, #9a4dff, #100d18);
    clip-path: polygon(50% 0, 62% 28%, 92% 15%, 75% 48%, 100% 70%, 65% 70%, 50% 100%, 35% 70%, 0 70%, 25% 48%, 8% 15%, 38% 28%);
    filter: drop-shadow(0 0 13px rgba(154,77,255,0.86));
}

.seed-token.obsidianrose::after {
    content: "";
    position: absolute;
    left: 26px;
    top: 34px;
    width: 8px;
    height: 23px;
    border-radius: 999px;
    background: #1c7f40;
}

.seed-token.cloudberry {
    background: radial-gradient(circle at 35% 25%, #ffffff 0 9%, transparent 10%), #8fdfff;
}

.seed-token.cloudberry::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 14px;
    width: 43px;
    height: 25px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 29% 59%, #ffcf5a 0 12%, transparent 13%),
        radial-gradient(circle at 51% 45%, #ffc13b 0 13%, transparent 14%),
        radial-gradient(circle at 72% 62%, #e99421 0 11%, transparent 12%),
        #f6fcff;
    box-shadow: 0 -8px 0 -5px #ffffff, inset 0 -5px 0 rgba(73,157,196,0.13), 0 0 17px rgba(189,240,255,0.86);
}

.seed-token.cloudberry::after {
    content: "";
    position: absolute;
    left: 24px;
    top: 36px;
    width: 11px;
    height: 19px;
    border-radius: 999px;
    background: #31a85d;
}

.shop-item-name {
    display: block;
    font-size: 0.98rem;
    line-height: 1;
    color: #351b0b;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.72);
}

.shop-item-meta {
    display: block;
    margin-top: 5px;
    color: #7f4516;
    font-family: "Arial Black", sans-serif;
    font-size: 0.64rem;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

.buy-seed {
    appearance: none;
    grid-area: button;
    width: 100%;
    border: 0;
    border-radius: 13px;
    padding: 11px 12px 12px;
    background: linear-gradient(145deg, #52e667, #1eaa3c);
    color: #ffffff;
    cursor: pointer;
    font-family: "Cooper Black", "Comic Sans MS", "Arial Black", sans-serif;
    font-size: 0.92rem;
    line-height: 1;
    text-shadow: 1px 2px 0 rgba(0,0,0,0.25);
    box-shadow: inset 0 3px 0 rgba(255,255,255,0.45), 0 5px 0 #116828;
}

.buy-seed:hover {
    transform: translateY(-1px);
}

.buy-seed:active {
    transform: translateY(4px);
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.3), 0 1px 0 #116828;
}

.buy-seed:disabled {
    cursor: not-allowed;
    filter: grayscale(0.55);
    opacity: 0.72;
    transform: none;
}

.money-float {
    position: absolute;
    top: 72px;
    right: 36px;
    color: #ffffff;
    font-family: "Cooper Black", "Comic Sans MS", "Arial Black", sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    text-shadow: 2px 2px 0 #d63d20, 3px 4px 0 rgba(0,0,0,0.28);
    pointer-events: none;
    animation: floatSpend 1050ms cubic-bezier(.18,.98,.29,1) forwards;
}

.money-float.gain {
    color: #dfff77;
    text-shadow: 2px 2px 0 #18751f, 3px 4px 0 rgba(0,0,0,0.28);
}

.claim-pop {
    position: absolute;
    color: #ffffff;
    font-family: "Cooper Black", "Comic Sans MS", "Arial Black", sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    text-shadow: 2px 2px 0 #154e16, 3px 4px 0 rgba(0,0,0,0.32);
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: claimPop 850ms ease forwards;
}

#harvest-label-layer {
    position: fixed;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.harvest-tag {
    position: absolute;
    min-width: 86px;
    padding: 7px 12px 8px;
    border: 3px solid #fff6b8;
    border-radius: 999px;
    background: linear-gradient(145deg, #fff36f, #ffb323);
    color: #255414;
    font-family: "Cooper Black", "Comic Sans MS", "Arial Black", sans-serif;
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.75);
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.78), 0 4px 0 #9f6510, 0 8px 14px rgba(0,0,0,0.25);
    transform: translate(-50%, -100%);
    animation: harvestTagBounce 1050ms ease-in-out infinite;
    pointer-events: auto;
    cursor: pointer;
    user-select: none;
}

.harvest-tag:hover { filter: brightness(1.08); }

.harvest-tag:active { transform: translate(-50%, -100%) scale(0.94); }

#water-panel {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: none;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    color: #063457;
    font-family: "Cooper Black", "Comic Sans MS", "Arial Black", sans-serif;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.65);
    pointer-events: auto;
    user-select: none;
    z-index: 4;
}

.water-topline { display: none; }

#water-bucket-hitbox {
    position: fixed;
    width: 138px;
    height: 156px;
    padding: 0;
    border: 0;
    background: rgba(255,255,255,0.01);
    color: transparent;
    pointer-events: auto;
    cursor: pointer;
    z-index: 28;
    transform: translate(-50%, -50%);
    touch-action: manipulation;
}

.water-tank {
    appearance: none;
    position: relative;
    display: none;
    width: 96px;
    height: 200px;
    padding: 0;
    overflow: hidden;
    border: 5px solid #ffffff;
    border-radius: 22px 22px 28px 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.32), rgba(255,255,255,0.04) 30%, rgba(8,80,140,0.08) 100%),
        linear-gradient(90deg, #d9f2fb 0%, #aee0f1 50%, #79b9d4 100%);
    box-shadow:
        inset 0 4px 0 rgba(255,255,255,0.92),
        inset 6px 0 12px rgba(255,255,255,0.55),
        inset -7px 0 12px rgba(0,55,95,0.18),
        inset 0 -10px 0 rgba(0,57,113,0.22),
        0 7px 0 #0b4f87,
        0 14px 22px rgba(0,0,0,0.32);
    cursor: pointer;
}

.water-tank::before {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    top: 6px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.15));
    z-index: 5;
    pointer-events: none;
}

.water-tank::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 18px;
    width: 14px;
    height: 70%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.15));
    z-index: 3;
    pointer-events: none;
}

#water-fill {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 0 0 22px 22px;
    background:
        repeating-linear-gradient(135deg, rgba(255,255,255,0.18) 0 14px, rgba(255,255,255,0.02) 14px 28px),
        linear-gradient(180deg, #7be7ff 0%, #2cb1ee 55%, #126ab4 100%);
    box-shadow:
        inset 0 -10px 0 rgba(0,80,140,0.28),
        inset 0 8px 0 rgba(255,255,255,0.3),
        0 0 16px rgba(79,221,255,0.55);
    transition: height 280ms cubic-bezier(0.4,1.4,0.5,1);
    z-index: 2;
}

#water-fill::before {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    top: -10px;
    height: 16px;
    background:
        radial-gradient(ellipse 22px 10px at 20% 50%, #b8f3ff 0 60%, transparent 70%),
        radial-gradient(ellipse 22px 10px at 55% 50%, #b8f3ff 0 60%, transparent 70%),
        radial-gradient(ellipse 22px 10px at 88% 50%, #b8f3ff 0 60%, transparent 70%);
    opacity: 0.85;
    animation: waterWave 2400ms ease-in-out infinite alternate;
}

#water-fill.low {
    background:
        repeating-linear-gradient(135deg, rgba(255,255,255,0.18) 0 14px, rgba(255,255,255,0.02) 14px 28px),
        linear-gradient(180deg, #ffe184 0%, #ffaa3a 55%, #d96a14 100%);
    box-shadow:
        inset 0 -10px 0 rgba(150,60,0,0.32),
        inset 0 8px 0 rgba(255,255,255,0.35),
        0 0 16px rgba(255,180,80,0.65);
}

#water-fill.low::before {
    background:
        radial-gradient(ellipse 22px 10px at 20% 50%, #fff0b6 0 60%, transparent 70%),
        radial-gradient(ellipse 22px 10px at 55% 50%, #fff0b6 0 60%, transparent 70%),
        radial-gradient(ellipse 22px 10px at 88% 50%, #fff0b6 0 60%, transparent 70%);
}

@keyframes waterWave {
    0% { transform: translateX(-4px); }
    100% { transform: translateX(4px); }
}

.water-button {
    appearance: none;
    border: 0;
    border-radius: 12px;
    padding: 9px 8px 10px;
    background: linear-gradient(145deg, #ffffff, #b7f8ff);
    color: #07406b;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.76rem;
    line-height: 1;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.8), 0 4px 0 #0b5d98;
}

.water-button.selected {
    background: linear-gradient(145deg, #d8ff78, #39d65c);
    color: #0f3d19;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.75), 0 4px 0 #16712f;
}

.water-button:active {
    transform: translateY(3px);
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.6), 0 1px 0 #0b5d98;
}

#water-tool-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 118px;
    height: 48px;
    padding: 8px 14px 9px 10px;
    border: 3px solid #e9fbff;
    border-radius: 999px;
    background: linear-gradient(145deg, #efffff, #7bddff 48%, #31a7e8);
    color: #063457;
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.9),
        inset 0 -5px 0 rgba(0,89,150,0.18),
        0 5px 0 #0d5b93,
        0 10px 15px rgba(0,0,0,0.22);
}

#water-tool-button::before {
    content: "";
    display: inline-block;
    width: 29px;
    height: 25px;
    flex: 0 0 auto;
    border: 4px solid currentColor;
    border-top: 0;
    border-radius: 6px 6px 12px 12px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.65), transparent 42%),
        linear-gradient(180deg, #dffbff 0%, #5edaff 48%, #1b91d0 100%);
    box-shadow: inset 0 -6px 0 rgba(0,75,140,0.22), 0 0 8px rgba(185,250,255,0.82);
}

#water-tool-button::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 6px;
    width: 24px;
    height: 16px;
    border: 4px solid currentColor;
    border-bottom: 0;
    border-radius: 999px 999px 0 0;
    pointer-events: none;
}

#water-tool-button.selected {
    background: linear-gradient(145deg, #d8ff78, #39d65c);
    color: #0f3d19;
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.82),
        inset 0 -5px 0 rgba(15,103,35,0.18),
        0 5px 0 #16712f,
        0 10px 15px rgba(0,0,0,0.22);
}

#water-readout {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    color: #063457;
    font-size: 1.05rem;
    line-height: 1;
    transform: translate(-50%, -50%);
    text-shadow: 1px 1px 0 rgba(255,255,255,0.85), 0 2px 5px rgba(255,255,255,0.55);
    pointer-events: none;
    white-space: nowrap;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,0.42);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

#refill-button:disabled {
    cursor: default;
}

#refill-button.full {
    filter: saturate(1.08) brightness(1.03);
}

#watering-cursor {
    position: fixed;
    left: 0;
    top: 0;
    width: 82px;
    height: 70px;
    pointer-events: none;
    transform: translate(-24px, -18px) rotate(-10deg) scale(0.92);
    opacity: 0;
    z-index: 20;
    transition: opacity 120ms ease, transform 160ms ease;
    filter: drop-shadow(5px 7px 0 rgba(0,0,0,0.24));
}

#watering-cursor.active {
    opacity: 1;
    transform: translate(-24px, -18px) rotate(-10deg) scale(1);
}

#watering-cursor.pouring {
    animation: cursorPourTilt 520ms ease;
}

.bucket-body {
    position: absolute;
    left: 20px;
    top: 24px;
    width: 42px;
    height: 31px;
    border: 4px solid #095c92;
    border-radius: 9px 9px 15px 15px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.75), transparent 42%),
        linear-gradient(145deg, #d7fbff 0%, #41c9ff 52%, #168fd0 100%);
    box-shadow: inset 0 -8px 0 rgba(0,85,155,0.24), inset 4px 0 0 rgba(255,255,255,0.36);
}

.bucket-body::before {
    content: "";
    position: absolute;
    left: 4px;
    top: -19px;
    width: 28px;
    height: 21px;
    border: 4px solid #095c92;
    border-bottom: 0;
    border-radius: 999px 999px 0 0;
}

.bucket-body::after {
    content: "";
    position: absolute;
    right: -25px;
    top: 3px;
    width: 27px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #0c6fa7, #095c92);
    transform: rotate(10deg);
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.32);
}

.cursor-water-stream {
    position: absolute;
    right: -11px;
    top: 38px;
    width: 11px;
    height: 34px;
    border-radius: 999px;
    opacity: 0;
    transform: rotate(17deg) scaleY(0.4);
    transform-origin: top;
    background:
        radial-gradient(circle at 50% 92%, #dffbff 0 4px, transparent 5px),
        radial-gradient(circle at 50% 62%, #83efff 0 4px, transparent 5px),
        linear-gradient(180deg, #dffbff, #1bb8ff);
    box-shadow: 0 0 10px rgba(130,239,255,0.95);
}

#watering-cursor.pouring .cursor-water-stream {
    animation: cursorWaterStream 520ms ease forwards;
}

@keyframes cursorPourTilt {
    0% { transform: translate(-24px, -18px) rotate(-10deg) scale(1); }
    40% { transform: translate(-20px, -14px) rotate(18deg) scale(1.04); }
    100% { transform: translate(-24px, -18px) rotate(-10deg) scale(1); }
}

@keyframes cursorWaterStream {
    0% { opacity: 0; transform: rotate(17deg) scaleY(0.25); }
    20% { opacity: 1; transform: rotate(17deg) scaleY(1); }
    80% { opacity: 1; transform: rotate(17deg) scaleY(1.08); }
    100% { opacity: 0; transform: rotate(17deg) scaleY(0.35) translateY(18px); }
}

.water-drop {
    position: absolute;
    width: 8px;
    height: 12px;
    border-radius: 50% 50% 55% 55%;
    background: #83efff;
    box-shadow: 0 0 8px rgba(160,250,255,0.9);
    animation: dropFall 620ms ease forwards;
}

.water-drop.auto {
    background: #b7fff5;
    box-shadow: 0 0 12px rgba(160,255,235,0.95);
}

.water-splash {
    position: absolute;
    color: #dffbff;
    font-family: "Cooper Black", "Comic Sans MS", "Arial Black", sans-serif;
    font-size: 1.1rem;
    text-shadow: 2px 2px 0 #0b75bd, 3px 4px 0 rgba(0,0,0,0.24);
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: claimPop 850ms ease forwards;
}
