.earn-est {
    --earn-accent: #9ed93f;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 5.5rem) var(--layout-gutter);
    border-block: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(120% 85% at 88% -12%, rgba(158, 217, 63, 0.12), transparent 58%),
        radial-gradient(85% 70% at -5% 112%, rgba(158, 217, 63, 0.07), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0) 22%),
        #050505;
}

.earn-est::after {
    content: "";
    position: absolute;
    top: -14%;
    right: -8%;
    width: min(44rem, 62%);
    aspect-ratio: 1;
    z-index: -1;
    background: radial-gradient(circle, rgba(158, 217, 63, 0.17), transparent 68%);
    filter: blur(22px);
    pointer-events: none;
}

.earn-est__inner {
    position: relative;
    z-index: 1;
    max-width: var(--layout-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(1.75rem, 4vw, 2.75rem);
}

.earn-est__intro {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 40rem;
}

.earn-est__intro h2 {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.earn-est__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: clamp(1rem, 3vw, 2rem);
    align-items: stretch;
}

.earn-est__pane {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding: clamp(1.15rem, 2.5vw, 1.5rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(12, 14, 10, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
    cursor: pointer;
    transition:
        border-color 0.3s var(--ease-out-expo),
        background 0.3s var(--ease-out-expo),
        opacity 0.3s var(--ease-out-expo),
        box-shadow 0.3s var(--ease-out-expo);
}

.earn-est__pane:not(.is-active) {
    opacity: 0.55;
}

.earn-est__pane.is-active {
    border-color: rgba(158, 217, 63, 0.42);
    background: rgba(158, 217, 63, 0.06);
    box-shadow:
        0 24px 60px -30px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(158, 217, 63, 0.12);
    opacity: 1;
    cursor: default;
}

.earn-est__pane-head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.earn-est__radio {
    flex-shrink: 0;
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.15rem;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: transparent;
    position: relative;
}

.earn-est__pane.is-active .earn-est__radio {
    border-color: var(--earn-accent);
}

.earn-est__pane.is-active .earn-est__radio::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--earn-accent);
}

.earn-est__pane-title {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--color-white);
}

.earn-est__pane-desc {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.45);
}

.earn-est__controls {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.earn-est__scenarios {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}

.earn-est__scenario {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.25s var(--ease-out-expo), background 0.25s var(--ease-out-expo);
}

.earn-est__scenario:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.05);
}

.earn-est__scenario.is-selected {
    border-color: rgba(158, 217, 63, 0.45);
    background: rgba(158, 217, 63, 0.08);
}

.earn-est__scenario strong {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-white);
}

.earn-est__scenario span {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.5);
}

.earn-est__field {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.earn-est__label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    font-family: var(--font-meta);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.earn-est__label b {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--color-white);
}

.earn-est__select {
    width: 100%;
    min-height: 3rem;
    padding: 0 2.5rem 0 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--color-white);
    text-align: left;
    background-color: rgba(255, 255, 255, 0.04);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' stroke='rgba(255,255,255,0.6)' stroke-width='1.2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 100px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.35s var(--ease-out-expo), border-radius 0.2s ease;
}

.earn-est__select:focus-visible {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.earn-est__select--multi {
    display: flex;
    align-items: center;
}

#est-model-field {
    z-index: 5;
}

.earn-est__multi {
    position: relative;
}

#est-model-field.is-open .earn-est__select {
    border-color: rgba(255, 255, 255, 0.45);
    border-radius: 18px 18px 0 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 7.5L6 4l3.5 3.5' stroke='rgba(255,255,255,0.6)' stroke-width='1.2'/%3E%3C/svg%3E");
}

.earn-est__dropdown {
    position: absolute;
    z-index: 20;
    top: 100%;
    left: 0;
    right: 0;
    max-height: min(18rem, 50vh);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: none;
    border-radius: 0 0 18px 18px;
    background: #10120e;
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.85);
}

.earn-est__option {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    cursor: pointer;
}

.earn-est__option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.earn-est__option:has(input:checked) {
    background: rgba(158, 217, 63, 0.08);
}

.earn-est__option input {
    margin-top: 0.15rem;
    accent-color: var(--earn-accent);
}

.earn-est__option strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-white);
}

.earn-est__option em {
    display: block;
    margin-top: 0.15rem;
    font-style: normal;
    font-size: 0.72rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.45);
}

.earn-est__demand {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
}

.earn-est__demand--low {
    color: rgba(255, 255, 255, 0.5);
}

.earn-est__demand--medium {
    color: rgba(200, 210, 140, 0.9);
}

.earn-est__demand--high {
    color: var(--earn-accent);
}

.earn-est__demand--very-high {
    color: #c8f26a;
}

.earn-est__gpus {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: stretch;
}

.earn-est__cards {
    display: contents;
}

.earn-est__card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.35rem;
    width: 8.5rem;
    aspect-ratio: 1;
    padding: 0.75rem 0.7rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    overflow: visible;
}

.earn-est__card:hover,
.earn-est__card:focus-within {
    z-index: 6;
}

.earn-est__card-index {
    font-family: var(--font-meta);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

.earn-est__card-name {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--color-white);
}

.earn-est__card-examples {
    display: block;
    margin-top: -0.1rem;
    font-size: 0.625rem;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.42);
    cursor: help;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.earn-est__card-meta {
    font-size: 0.6875rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.45);
}

.earn-est__card-remove {
    position: absolute;
    top: 0.2rem;
    right: 0.25rem;
    appearance: none;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.15rem 0.3rem;
}

.earn-est__card-remove:hover:not(:disabled) {
    color: var(--color-white);
}

.earn-est__card-remove:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.earn-est__add-card {
    width: 8.5rem;
    aspect-ratio: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    appearance: none;
    border: 1px dashed rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    background: transparent;
    color: rgba(255, 255, 255, 0.62);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    line-height: 1.25;
    padding: 0.5rem;
    cursor: pointer;
    transition: border-color 0.3s var(--ease-out-expo), color 0.3s var(--ease-out-expo);
}

.earn-est__add-card:hover:not(:disabled) {
    border-color: rgba(158, 217, 63, 0.5);
    color: var(--color-white);
}

.earn-est__add-card:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.earn-est__gate {
    margin: 0;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 170, 80, 0.35);
    background: rgba(255, 140, 40, 0.1);
    color: rgba(255, 220, 180, 0.92);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.earn-est__slider {
    display: flex;
    align-items: center;
    min-height: 1.75rem;
}

.earn-est__card .earn-est__slider {
    min-height: 1.1rem;
}

.earn-est__range {
    width: 100%;
    height: 1.75rem;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

.earn-est__range--card {
    height: 1.1rem;
}

.earn-est__range::-webkit-slider-runnable-track {
    height: 2px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 2px;
}

.earn-est__range::-moz-range-track {
    height: 2px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 2px;
}

.earn-est__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    margin-top: -9px;
    border-radius: 50%;
    background: var(--color-white);
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.earn-est__range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-white);
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.earn-est__range--card::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    margin-top: -5px;
}

.earn-est__range--card::-moz-range-thumb {
    width: 12px;
    height: 12px;
}

.earn-est__hint {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.42);
}

.earn-est__result {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(12, 14, 10, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
    justify-content: center;
    text-align: left;
    background: rgba(158, 217, 63, 0.06);
    border-color: rgba(158, 217, 63, 0.22);
}

.earn-est__result--ghost {
    min-height: 12rem;
    pointer-events: none;
}

.earn-est__result--summary {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding: 0.7rem 1rem 0.7rem 1.15rem;
    text-align: left;
    overflow: visible;
}

.earn-est__summary-slot {
    display: none;
}

.earn-est__result--summary.is-docked {
    position: fixed;
    z-index: 60;
    left: 50%;
    bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
    width: min(calc(100% - (2 * var(--layout-gutter))), var(--layout-max));
    margin: 0;
    transform: translateX(-50%) translateY(110%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    box-shadow:
        0 18px 50px -20px rgba(0, 0, 0, 0.85),
        0 0 0 1px rgba(158, 217, 63, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(12, 16, 8, 0.92);
    transition:
        transform 0.4s var(--ease-out-expo),
        opacity 0.3s ease,
        visibility 0.3s;
}

.earn-est__result--summary.is-docked.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}


.earn-est__summary-main {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.65rem 1rem;
    min-width: 0;
    flex: 1;
    overflow: visible;
}

.earn-est__summary-figure {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    flex-shrink: 0;
    overflow: visible;
    padding-top: 0.35rem;
    margin-top: -0.35rem;
}

.earn-est__result--summary .earn-est__result-label {
    font-size: 0.625rem;
    letter-spacing: 0.05em;
    line-height: 1;
}

.earn-est__result--summary .earn-est__result-value {
    display: inline-block;
    flex-shrink: 0;
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    line-height: 1;
    text-shadow: none;
    transform-origin: 50% 50%;
    will-change: transform, opacity, color;
}

.earn-est__result--summary .earn-est__result-value.is-updating {
    animation: earn-est-value-tick 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes earn-est-value-tick {
    0% {
        opacity: 0.2;
        transform: translateY(-0.4em);
        color: #f0ffb0;
    }
    55% {
        opacity: 1;
        transform: translateY(0);
        color: #e8ff9a;
        text-shadow: 0 0 16px rgba(158, 217, 63, 0.45);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        color: var(--earn-accent);
        text-shadow: none;
    }
}


.earn-est__result--summary .earn-est__result-sub {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8125rem;
}

.earn-est__summary-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.65rem;
    flex-shrink: 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
}

.earn-est__summary-meta span:not(:last-child)::after {
    content: "·";
    margin-left: 0.65rem;
    color: rgba(255, 255, 255, 0.28);
}

.earn-est__result--summary .earn-est__cta {
    flex-shrink: 0;
    align-self: center;
    margin-top: 0;
}

.earn-est__result-label {
    font-family: var(--font-meta);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.earn-est__result-value {
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    line-height: 1;
    letter-spacing: -0.045em;
    color: var(--earn-accent);
    text-shadow: 0 0 36px rgba(158, 217, 63, 0.2);
}

.earn-est__result-sub {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
}

.earn-est__breakdown {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.earn-est__breakdown div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.earn-est__breakdown span:first-child {
    font-family: var(--font-meta);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

.earn-est__breakdown span:last-child {
    font-size: 1.0625rem;
    letter-spacing: -0.02em;
    color: var(--color-white);
}

.earn-est__cta {
    margin-top: 0.5rem;
    align-self: flex-start;
}

.earn-est__disclaimer {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    text-align: left;
    font-size: 0.75rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.4);
}

@media screen and (max-width: 768px) {
    .earn-est__grid {
        grid-template-columns: 1fr;
    }

    .earn-est__result--summary {
        flex-wrap: wrap;
        padding: 0.85rem 1rem;
    }

    .earn-est__summary-main {
        flex-wrap: wrap;
        width: 100%;
    }

    .earn-est__result--summary .earn-est__result-sub {
        flex-basis: 100%;
        white-space: normal;
    }

    .earn-est__summary-meta {
        flex-wrap: wrap;
    }

    .earn-est__label {
        flex-wrap: wrap;
        gap: 0.35rem 0.75rem;
    }

    .earn-est__cta,
    .earn-est__result--summary .earn-est__cta {
        align-self: stretch;
        width: 100%;
        justify-content: center;
    }
}
