@import url("../home-animation/home-eagle.css");
@import url("./home-carousel.css");
@import url("./home-inline-features.css");
@import url("./home-art.css");
@import url("./membership.css");
@import url("./golfer-profile.css");
@import url("./home-tips.css");
.native-home .home-account-status .home-membership-panel {
    padding: 12px;
}
.native-home .home-handicap-status {
    margin-top: 12px;
}
.native-home .home-qualifying {
    border: 0;
    padding: 0;
    min-height: 32px;
    background: transparent;
    color: var(--ps-text-secondary, #9ca3af);
    font: inherit;
    font-size: 14px;
    line-height: 20px;
    text-decoration: underline dotted;
    text-underline-offset: 4px;
    cursor: pointer;
}
.native-home .home-handicap-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.native-home .home-handicap-heading h4 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--ps-text-secondary, #9ca3af);
}
.native-home .home-handicap-heading .ps-icon {
    width: 16px;
    height: 16px;
    color: #10b981;
}
.native-home .home-handicap-heading strong {
    font-size: 12px;
    line-height: 1.5;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.native-home [data-home-handicap-message] {
    flex: 1 1 160px;
    margin: 0;
    color: var(--ps-text-secondary, #9ca3af);
    font-size: 12px;
    line-height: 1.5;
}
.native-home .home-handicap-track {
    margin-top: 8px;
}
.native-home .home-handicap-track > span {
    width: 0;
    background: #10b981;
}
.native-home .home-handicap-pending,
.native-home .home-tier-remaining {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--ps-text-secondary, #9ca3af);
}
.native-home .home-status-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    margin-top: 4px;
}
.native-home .home-status-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 32px;
    font-size: 12px;
    font-weight: 600;
}
.native-home .home-status-retry {
    padding: 0 10px;
    border: 1px solid var(--ps-border, #374151);
    border-radius: 8px;
    color: inherit;
    background: transparent;
    cursor: pointer;
}
.native-home .home-status-actions :focus-visible,
.native-home .home-qualifying:focus-visible,
.native-home.home-handicap-rules button:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 3px;
}
.native-home .home-coins-status .home-lifetime {
    display: flex;
    margin-top: 12px !important;
    gap: 8px;
    font-size: 12px;
    color: var(--ps-text-secondary, #9ca3af);
}
.native-home .home-coins-status .home-tier-track > span {
    background: #f59e0b;
}
.native-home.home-handicap-rules {
    max-width: 480px;
    max-height: 80vh;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.native-home.home-handicap-rules > .home-between {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    text-align: left;
}
.native-home.home-handicap-rules [data-action="close-handicap-rules"] {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.native-home.home-handicap-rules > p,
.native-home .home-handicap-rule-list {
    font-size: 13px;
    line-height: 1.6;
    color: var(--ps-text-secondary, #9ca3af);
}
.native-home .home-handicap-rule-list {
    display: grid;
    gap: 14px;
    margin: 16px 0 0;
    padding-left: 20px;
}
.native-home .home-handicap-rule-list strong {
    color: var(--ps-text-primary, #f8fafc);
}
.native-home .home-handicap-rule-list p {
    margin-top: 4px;
}
.native-home [hidden] {
    display: none !important;
}
.native-home-page {
    min-height: 100vh;
    padding: 10px 0;
    background: var(--ps-bg-base, #111);
    color: var(--ps-text-primary, #fff);
}
.native-home-page:has([data-home-premium]:not([hidden])) {
    min-height: 0;
    padding-bottom: 0;
}
.native-home-loading {
    min-height: 60vh;
    display: grid;
    place-items: center;
}
.native-home h2,
.native-home h3,
.native-home h4,
.native-home p {
    margin: 0;
}
.native-home h2 {
    font-size: 18px;
    font-weight: 600;
}
.native-home h3 {
    font-size: 16px;
    font-weight: 600;
}
.native-home button,
.native-home a {
    -webkit-tap-highlight-color: transparent;
}
.native-home .ps-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    flex-shrink: 0;
}
.native-home a {
    text-decoration: none;
    color: inherit;
}
.home-max {
    max-width: 512px;
    margin-left: auto;
    margin-right: auto;
}
.native-premium-header {
    display: none;
    padding: 24px 16px 32px;
}
.native-new-header {
    padding: 16px 16px 24px;
}
.home-section {
    padding: 16px;
    padding-top: 0;
}

.home-buy-coins-panel {
    display: none;
}

.home-between {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    text-align: center;
}
.home-between > span {
    font-size: 18px;
    font-weight: 700;
}

.home-green {
    color: #34d399;
}
.home-gold {
    color: #fbbf24;
}
.home-purple {
    color: #c084fc;
}
.home-open-carousel {
    width: 100%;
    min-height: 56px;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    box-shadow: 0 0 30px #10b98126;
    font-weight: 500;
}
.home-round-tips {
    padding: 12px;
    border: 1px solid var(--ps-border, #374151);
    border-radius: 12px;
}
.home-round-tips .ps-home-tip-row {
    /* display: flex; */
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    flex-wrap: wrap;
}
.home-round-tips .ps-icon {
    width: 16px;
    height: 16px;
}
.home-divider {
    color: #4b5563;
}
.home-round-tips p {
    font-size: 12px;
    color: #6b7280;
}
.home-round-tips strong {
    color: #9ca3af;
}
.home-status-panel {
    border: 1px solid var(--ps-border, #374151);
    border-radius: 16px;
    padding: 20px;
}
.home-membership-panel {
    padding: 12px;
}
.home-membership-panel > .home-between {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-align: left;
}
.native-home .home-membership-panel h3 {
    font-size: 14px;
    line-height: 20px;
}
.home-membership-panel [data-home-tier] {
    line-height: 20px;
    white-space: nowrap;
}
.home-membership-panel .home-tier-labels {
    margin-top: 8px;
}
.home-membership-panel .home-tier-track {
    height: 6px;
}
@media (max-width: 767px) and (max-height: 650px) {
    .native-home-page:has([data-home-premium]:not([hidden])) {
        padding-top: 4px;
    }
    [data-home-premium] > .home-section {
        padding-bottom: 4px;
    }
    [data-home-premium] .home-round-tips {
        padding: 6px;
    }
    [data-home-premium] .home-membership-panel {
        padding: 8px;
    }
    [data-home-premium] .home-membership-panel .home-tier-labels {
        margin-top: 6px;
    }
}
.home-buy-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.home-buy-row > div {
    flex: 1;
    min-width: 0;
}
.home-buy-row p {
    font-size: 14px;
    color: #9ca3af;
    margin-top: 2px;
}
.home-icon-disc {
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f59e0b33;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}
.home-icon-disc .ps-icon {
    width: 24px;
    height: 24px;
}
.home-buy-button {
    padding: 8px 16px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
}
.home-lifetime {
    /* display: flex; */
    display: none;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #9ca3af;
    margin-top: 12px !important;
}
.home-lifetime .ps-icon {
    width: 16px;
    height: 16px;
    color: #34d399;
}
.home-tier-labels {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-align: left;
    font-size: 12px;
    color: #6b7280;
    margin: 12px 0 4px;
}
.home-next-tier {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    white-space: nowrap;
    color: var(--ps-text-secondary);
}
.home-next-tier-badge {
    font-size: 12px;
    line-height: 1;
}
.home-tier-track {
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    background: #1f2937;
}
.home-tier-track > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #10b981);
    border-radius: inherit;
    transition: width 0.2s;
}
.native-home [data-home-tier] {
    color: #9ca3af;
}
.home-new-top {
    margin-bottom: 24px;
}
.home-phase,
.home-coins {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #10b9814d;
    background: #10b98133;
    color: #34d399;
}
.home-phase {
    font-size: 14px;
    font-weight: 500;
}
.home-coins {
    color: #fbbf24 !important;
    background: #f59e0b1a;
    border-color: #f59e0b4d;
}
.home-phase .ps-icon,
.home-coins .ps-icon {
    width: 16px;
    height: 16px;
}
.home-handicap {
    text-align: center;
    margin-bottom: 24px;
}
.home-handicap-value {
    font-size: 60px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.home-handicap-value.is-placeholder {
    font-size: 72px;
    color: #374151;
    letter-spacing: -0.025em;
    position: relative;
}
.home-handicap-value.is-placeholder:after {
    content: "";
    position: absolute;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 2px dashed #10b9814d;
    left: calc(50% - 48px);
    top: calc(50% - 48px);
    animation: home-spin 20s linear infinite;
}
.home-handicap-message {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 8px !important;
}
.home-handicap-description {
    color: #9ca3af;
    margin-bottom: 16px !important;
}
.home-qualified {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #34d399;
    font-size: 14px;
    margin-top: 8px !important;
}
.home-steps {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}
.home-step {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.home-step > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 2px solid #374151;
    background: #1f293780;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    color: #6b7280;
}
.home-step > small {
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
}
.home-step.is-complete > span {
    background: #10b981;
    border-color: #10b981;
    color: white;
}
.home-step.is-complete > small {
    color: #34d399;
}
.home-step.is-next > span {
    border-color: #10b981;
    border-style: dashed;
    background: transparent;
    color: #34d399;
    animation: home-pulse 2s infinite;
}
.home-step .ps-icon {
    width: 24px;
    height: 24px;
}
.home-primary-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 56px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(90deg, #10b981, #059669);
    color: white !important;
    box-shadow: 0 10px 15px #0002;
    transition: transform 0.2s;
}
.home-primary-cta:hover {
    transform: scale(1.02);
}
.home-primary-cta:active {
    transform: scale(0.98);
}
.home-quick-tips {
    padding: 16px;
    margin-top: 16px;
    border: 1px solid #10b98133;
    border-radius: 12px;
    background: linear-gradient(90deg, #064e3b4d, #065f461a);
}
.home-tip-copy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.home-small-disc {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #10b98133;
    color: #34d399;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.home-tip-copy h4 {
    font-size: 16px;
    color: white;
    font-weight: 600;
    margin-bottom: 4px;
}
.home-tip-copy ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: #9ca3af;
}
.home-tip-copy li {
    margin-top: 4px;
    position: relative;
    padding-left: 14px;
}
.home-tip-copy li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #34d399;
}
.home-tip-copy strong {
    color: white;
}
.home-quick-reward {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid #10b98133;
    margin-top: 12px;
}
.home-quick-reward strong {
    color: #fbbf24;
    font-size: 14px;
}
.home-quick-reward .ps-icon {
    width: 16px;
    height: 16px;
}
.home-quick-reward > span {
    font-size: 14px;
    color: #6b7280;
}
.home-earned-section {
    padding-top: 8px;
    padding-bottom: 8px;
}
.home-earned-card {
    position: relative;
    overflow: hidden;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #f59e0b4d;
    background: linear-gradient(135deg, #f59e0b1a, #d977060d, #eab3081a);
    transition: all 0.7s ease-out;
}
.home-earned-card[data-coin-animation="hidden"] {
    opacity: 0;
    transform: translateY(80px) scale(0.5);
}
.home-earned-card[data-coin-animation="flying"] {
    transform: scale(1.1);
}
.home-earned-card[data-coin-animation="spinning"] {
    transform: scale(1.05);
    box-shadow:
        0 0 30px #f59e0b66,
        0 0 60px #f59e0b33;
}
.home-earned-card[data-coin-animation="settled"] {
    transform: scale(1);
    box-shadow: 0 4px 20px #f59e0b26;
}
.home-earned-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.025em;
    color: white;
    margin-bottom: 12px;
}
.home-earned-card h3 .ps-icon {
    color: #fbbf24;
}
.home-earned-card[data-coin-animation="spinning"] h3 .ps-icon {
    animation: home-spin 0.3s linear infinite;
}
.home-earn-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
}
.home-earn-row > span:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d1d5db;
}
.home-earn-row .ps-icon {
    width: 16px;
    height: 16px;
    color: #f59e0bb3;
}
.home-earn-row strong {
    color: #fbbf24;
}
.home-earned-card .home-earn-row {
    opacity: 0;
    transform: translateX(16px);
    transition:
        opacity 0.5s,
        transform 0.5s;
}
.home-earned-card[data-coin-animation="settled"] .home-earn-row {
    opacity: 1;
    transform: translateX(0);
}
.home-earned-actions {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.5s 0.5s,
        transform 0.5s 0.5s;
}
.home-earned-card[data-coin-animation="settled"] .home-earned-actions {
    opacity: 1;
    transform: translateY(0);
}
.home-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    border: 1px solid #f59e0b66;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    background: transparent;
}
.home-outline.home-purple {
    border-color: #a855f766;
    color: #c084fc;
}
.home-flying-coins {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.home-earned-card[data-coin-animation="spinning"] .home-flying-coins {
    opacity: 1;
}
.home-flying-coins > span {
    position: absolute;
    font-size: 24px;
    animation: home-coin-bounce 0.5s infinite;
}
.home-feature-categories {
    display: grid;
    gap: 24px;
}
.home-feature-categories h2 {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
}
.home-feature-categories h2 > small {
    font-size: 12px;
    font-weight: 400;
    padding: 2px 8px;
    background: #1f2937;
    border-radius: 999px;
    color: #6b7280;
}
.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.home-feature {
    padding: 16px;
    border: 1px solid #1f293780;
    border-radius: 12px;
    background: #1118274d;
    text-align: left;
    transition:
        background-color 0.2s,
        border-color 0.2s;
}
.home-feature.is-unlocked {
    background: #1f293780;
    border-color: #374151;
}
.home-feature.is-unlocked:hover {
    background: #1f2937;
    border-color: #4b5563;
}
.home-feature-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 8px;
}
.home-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #1f2937;
    color: #6b7280;
}
.home-feature.is-unlocked .home-feature-icon {
    background: #10b98133;
    color: #34d399;
}
.home-feature-cost {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fbbf24b3;
    font-size: 12px;
    font-weight: 500;
}
.home-feature-cost .ps-icon {
    width: 12px;
    height: 12px;
}
.home-feature-name {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}
.home-feature.is-unlocked .home-feature-name {
    color: white;
}
.home-feature-description {
    font-size: 12px;
    margin-top: 4px;
    color: #4b5563;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-feature.is-unlocked .home-feature-description {
    color: #9ca3af;
}
.home-journey {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-top: 12px;
}
.home-journey-item {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #1f29374d;
    background: #1118274d;
    opacity: 0.5;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
}
.home-journey-item.is-current {
    opacity: 1;
    background: color-mix(in srgb, var(--phase-color) 10%, transparent);
    border-color: color-mix(in srgb, var(--phase-color) 30%, transparent);
    color: white;
}
.home-journey-item.is-complete {
    opacity: 1;
    background: #1f29374d;
    border-color: #37415180;
    color: #9ca3af;
}
.home-journey-item > span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #1f2937;
    color: #6b7280;
}
.home-journey-item.is-current > span {
    background: color-mix(in srgb, var(--phase-color) 20%, transparent);
    color: var(--phase-color);
}
.home-journey-item.is-complete > span {
    background: #10b98133;
    color: #34d399;
}
.home-journey-item .ps-icon {
    width: 16px;
    height: 16px;
}
.home-view-all {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #9ca3af !important;
    font-size: 14px;
    min-height: 36px;
}
.home-view-all .ps-icon {
    width: 16px;
    height: 16px;
}
.home-recent {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}
.home-recent-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #1f293780;
    border: 1px solid #37415180;
    border-radius: 8px;
}
.home-recent-row h4 {
    font-size: 14px;
    font-weight: 500;
    color: white;
}
.home-recent-row time {
    font-size: 12px;
    color: #6b7280;
}
.home-recent-row > div:last-child {
    text-align: right;
}
.home-recent-row strong {
    font-size: 18px;
    color: white;
}
.home-recent-diff {
    display: block;
    font-size: 12px;
    color: #9ca3af;
}
.home-recent-diff.is-over {
    color: #f87171;
}
.home-recent-diff.is-under {
    color: #34d399;
}
.native-home .home-membership-panel .home-drafts {
    margin: 16px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--ps-border);
}
.native-home .home-membership-panel .home-draft {
    padding: 12px;
    background: color-mix(in srgb, var(--ps-primary) 6%, transparent);
    border: 1px solid color-mix(in srgb, var(--ps-primary) 18%, var(--ps-border));
    border-radius: 12px;
    box-shadow: none;
}
.native-home .home-membership-panel .home-draft > div { min-width: 0; }
.native-home .home-membership-panel .home-draft strong { overflow-wrap: anywhere; }
.native-home .home-membership-panel .home-draft-progress { flex-shrink: 0; font-size: 12px; }
.home-drafts {
    padding: 16px 16px 0;
}
.home-draft {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    background: #064e3b66;
    border: 1px solid #10b98166;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 8px;
}
.home-draft small {
    display: block;
    color: #34d399;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}
.home-draft strong {
    display: block;
    font-size: 14px;
}
.home-draft-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #34d399;
    white-space: nowrap;
    font-size: 14px;
}
dialog.home-carousel {
    margin: 0;
    padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
    border: 0;
    width: 100%;
    max-width: none;
    max-height: none;
    color: white;
}
.home-carousel::backdrop {
    background: transparent;
}
.home-carousel:not([open]) {
    display: none;
}
.home-loop-track {
    position: relative;
    height: 238px;
}
.home-loop-slide {
    position: absolute;
    width: 82%;
    left: 9%;
    top: 0;
    padding: 0 12px;
    transform: translateX(calc(var(--offset) * 100%));
    transition: transform 0.22s ease;
}
.home-loop-slide .looping-slide-inner {
    opacity: 0.3;
    transform: scale(0.86);
}
.home-loop-slide.is-active .looping-slide-inner {
    opacity: 1;
    transform: scale(1);
}
.home-loop-slide.is-active .carousel-action-content {
    animation: home-float 4s ease-in-out infinite;
}
.home-deck-viewport.is-dragging .carousel-action-content {
    animation: none;
}
.home-deck-viewport.is-dragging .home-loop-slide {
    transition: none;
}
.home-card-body {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}
.home-card-icon {
    width: 64px;
    height: 64px;
    background: #0005;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--card-color);
}
.home-card-icon .ps-icon {
    width: 48px;
    height: 48px;
}
.home-card-title-row {
    padding: 8px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.home-card-title-row h3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
}
.home-card-badge {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: color-mix(in srgb, var(--card-color) 40%, transparent);
    color: var(--card-color);
}
.home-card-badge.tasks-badge {
    background: #fef3c7;
    color: #451a03;
}
.home-card-body > p {
    flex-grow: 1;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #d1d5db;
}
.home-card-cost {
    font-size: 14px;
    color: #fbbf24;
}
.native-home .carousel-action-card {
    border-style: solid;
    border-color: color-mix(in srgb, var(--card-color) 60%, transparent);
    background: linear-gradient(135deg, var(--card-from), var(--card-to));
}
.native-home .home-left-chevron {
    display: inline-flex;
    transform: rotate(180deg);
}
.home-small-dialog {
    margin: auto;
    width: calc(100% - 32px);
    max-width: 384px;
    border: 1px solid #10b9814d;
    border-radius: 16px;
    padding: 20px;
    background: var(--ps-bg-surface, #1a1a1a);
    color: var(--ps-text-primary, #fff);
    box-shadow: 0 0 60px #0009;
}
.home-small-dialog::backdrop,
.home-unlock-dialog::backdrop {
    background: #000c;
}
.home-small-dialog > .home-between {
    margin-bottom: 16px;
}
.home-tip-list {
    font-size: 14px;
    line-height: 1.5;
    display: grid;
    gap: 8px;
    color: #d1d5db;
    list-style: none;
    padding: 0;
    margin: 0;
}
.home-tip-list strong {
    color: white;
}
.home-tip-reward {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #374151;
}
.home-tip-reward > strong {
    color: #fbbf24;
}
.home-tip-reward > span {
    font-size: 14px;
    color: #6b7280;
}
.home-unlock-dialog {
    margin: auto;
    width: calc(100% - 32px);
    max-width: 384px;
    max-height: calc(100dvh - 32px);
    overflow: auto;
    border: 1px solid #1f2937;
    border-radius: 16px;
    padding: 0;
    background: #1a1a1a;
    color: white;
    box-shadow: 0 25px 50px #0008;
}
.home-unlock-dialog::backdrop {
    backdrop-filter: blur(4px);
}
.home-unlock-dialog header {
    position: relative;
    padding: 24px 24px 16px;
    text-align: center;
    background: linear-gradient(#1f293780, transparent);
}
.home-unlock-close {
    position: absolute;
    right: 16px;
    top: 16px;
    padding: 8px;
    border-radius: 50%;
    background: #1f2937;
    color: #9ca3af;
}
.home-unlock-lock {
    width: 64px;
    height: 64px;
    border: 1px solid #f59e0b4d;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 32px;
    background: linear-gradient(135deg, #f59e0b33, #d977061a);
    margin: 0 auto 16px;
}
.home-unlock-dialog h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}
.home-unlock-dialog header p {
    font-size: 14px;
    color: #9ca3af;
}
.home-unlock-body {
    padding: 0 24px 24px;
}
.home-unlock-description {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    background: #1f293780;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.625;
}
.home-unlock-description > span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #10b98133;
    color: #34d399;
    flex-shrink: 0;
}
.home-unlock-cost {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f59e0b1a;
    border: 1px solid #f59e0b33;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}
.home-unlock-cost > span {
    display: flex;
    gap: 8px;
    align-items: center;
    font-weight: 500;
}
.home-unlock-cost .ps-icon {
    color: #fbbf24;
}
.home-unlock-cost > strong {
    color: #fbbf24;
    font-size: 24px;
}
.home-unlock-cost small {
    font-size: 14px;
    font-weight: 400;
    color: #fbbf24b3;
}
.home-unlock-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1f29374d;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #9ca3af;
}
.home-free-unlock {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 16px !important;
}
.home-free-unlock strong {
    font-weight: 500;
    color: #34d399;
}
.home-unlock-primary {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    color: white;
    font-weight: 700;
    margin-bottom: 12px;
}
.home-unlock-body .home-primary-cta {
    min-height: 48px;
    border-radius: 12px;
    font-size: 16px;
    margin-bottom: 12px;
}
.home-unlock-body .home-outline {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    border-color: #374151;
    color: #d1d5db;
}
.home-unlock-body .home-outline .ps-icon:first-child {
    color: #34d399;
}
.home-unlock-body .home-outline .ps-icon:last-child {
    margin-left: auto;
}
.home-unlock-earn {
    margin-top: 16px;
    background: #1f293780;
    border-radius: 12px;
    padding: 16px;
}
.home-unlock-earn > p {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 12px;
}
.home-celebration {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.home-celebration-message {
    border: 2px solid #34d3994d;
    background: linear-gradient(135deg, #059669, #047857);
    border-radius: 24px;
    padding: 32px;
    color: white;
    text-align: center;
    box-shadow: 0 25px 50px #10b98180;
    animation: home-bounce-in 0.5s ease-out;
    pointer-events: auto;
}
.home-celebration-message > span {
    display: block;
    font-size: 48px;
    margin-bottom: 12px;
}
.home-celebration-message h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}
.home-celebration-message p {
    font-size: 18px;
    color: #d1fae5;
}
.home-celebration-particles > span {
    position: absolute;
    top: -20px;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    animation: home-confetti linear forwards;
}
@keyframes home-spin {
    to {
        transform: rotate(360deg);
    }
}
@keyframes home-pulse {
    50% {
        opacity: 0.5;
    }
}
@keyframes home-float {
    50% {
        transform: translateY(-3px);
    }
}
@keyframes home-coin-bounce {
    50% {
        translate: 0 -12px;
    }
}
@keyframes home-confetti {
    to {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}
@keyframes home-bounce-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
@media (max-height: 560px) {
    .home-loop-track {
        height: 206px;
    }
}
@media (max-width: 390px) {
    .home-buy-row {
        gap: 10px;
    }
    .home-buy-button {
        padding: 8px 10px;
    }
    .home-buy-row > .home-icon-disc {
        width: 40px;
        height: 40px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-handicap-value.is-placeholder:after,
    .home-step.is-next > span,
    .home-loop-slide.is-active .carousel-action-content,
    .home-flying-coins > span,
    .home-earned-card[data-coin-animation="spinning"] h3 .ps-icon {
        animation: none;
    }
    .home-earned-card,
    .home-earned-card .home-earn-row,
    .home-earned-actions,
    .home-loop-slide {
        transition: none;
    }
    .home-primary-cta:hover,
    .home-primary-cta:active {
        transform: none;
    }
}

/* Equivalent line boxes and light palette from source Tailwind/page-themes. */
.native-home .ps-icon {
    display: inline-block;
}
.native-home [data-icon] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}
.native-home .home-buy-row > .home-icon-disc {
    width: 48px;
    height: 48px;
}
.home-round-tips .ps-home-tip-row {
    justify-content: flex-start;
    gap: 8px 12px;
    line-height: 20px;
}
.home-round-tips .home-green {
    font-weight: 500;
}
.home-round-tips .home-divider {
    font-size: 16px;
    line-height: 24px;
}
.native-home
    :is(
        .home-round-tips p,
        .home-tier-labels,
        .home-feature-cost,
        .home-feature-description,
        .home-step > small,
        .home-recent-row time,
        .home-recent-diff,
        .home-free-unlock,
        .home-card-badge
    ) {
    line-height: 16px;
}
.native-home
    :is(
        .home-buy-row p,
        .home-lifetime,
        .home-phase,
        .home-qualified,
        .home-tip-copy ul,
        .home-quick-reward,
        .home-earn-row,
        .home-outline,
        .home-feature-name,
        .home-journey-item,
        .home-view-all,
        .home-draft,
        .home-card-body > p,
        .home-card-cost,
        .home-tip-list,
        .home-tip-reward > span,
        .home-unlock-balance
    ) {
    line-height: 20px;
}
.native-home
    :is(
        .home-feature-categories h2,
        .home-card-title-row h3,
        .home-earned-card h3,
        .home-primary-cta,
        .home-recent-row strong
    ) {
    line-height: 28px;
}
.native-home .home-card-title-row h3 {
    line-height: 28px;
}
.native-home .home-loop-track {
    height: 208px;
}
.native-home .home-loop-track.is-moving {
    transition: transform 220ms cubic-bezier(0.32, 0.72, 0, 1);
}
.native-home .home-loop-slide .looping-slide-inner {
    transition:
        opacity 220ms ease,
        transform 220ms ease;
}
.theme-light
    .native-home
    :is(
        .home-green,
        .home-qualified,
        .home-step.is-complete > small,
        .home-draft small,
        .home-draft-progress
    ) {
    color: #047857;
}
.theme-light
    .native-home
    :is(
        .home-gold,
        .home-quick-reward strong,
        .home-earn-row strong,
        .home-earned-card h3 .ps-icon,
        .home-earn-row .ps-icon,
        .home-feature-cost,
        .home-card-cost,
        .home-tip-reward > strong
    ) {
    color: #92400e;
}
.theme-light .native-home .home-coins {
    color: #92400e !important;
}
.theme-light .native-home .home-purple,
.theme-light .native-home .home-outline.home-purple {
    color: #a21caf;
}
.theme-light
    .native-home
    :is(
        .home-round-tips p,
        .home-round-tips strong,
        .home-divider,
        .home-buy-row p,
        .home-lifetime,
        .home-tier-labels,
        [data-home-tier],
        .home-handicap-description,
        .home-tip-copy ul,
        .home-quick-reward > span,
        .home-earn-row > span:first-child,
        .home-feature-description,
        .home-feature-name,
        .home-recent-row time,
        .home-recent-diff,
        .home-card-body > p,
        .home-tip-list,
        .home-tip-reward > span
    ) {
    color: var(--ps-text-secondary);
}
.theme-light .native-home .home-view-all {
    color: var(--ps-text-secondary) !important;
}
.theme-light
    .native-home
    :is(
        .home-handicap-value,
        .home-handicap-message,
        .home-tip-copy h4,
        .home-tip-copy strong,
        .home-earned-card h3,
        .home-feature.is-unlocked .home-feature-name,
        .home-recent-row h4,
        .home-recent-row strong,
        .home-card-title-row h3,
        .home-tip-list strong
    ) {
    color: var(--ps-text-primary);
}
.theme-light
    .native-home
    :is(
        .home-feature.is-unlocked,
        .home-feature-icon,
        .home-step > span,
        .home-feature-categories h2 > small,
        .home-recent-row,
        .home-tier-track
    ) {
    background-color: var(--ps-bg-elevated);
    border-color: var(--ps-border-light);
}
.theme-light .native-home .home-feature.is-unlocked:hover {
    background-color: var(--ps-bg-hover);
}
.theme-light .native-home .home-feature.is-unlocked .home-feature-icon {
    background: #10b98133;
    color: #047857;
}
.theme-light .native-home .home-step.is-complete > span {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}
.theme-light .native-home .home-step.is-next > span {
    background: transparent;
    color: #047857;
    border-color: #10b981;
}
.theme-light .native-home .home-card-icon {
    background: var(--ps-primary-light);
    color: #047857;
}
.theme-light .native-home [data-home-card="tasks"] .home-card-icon,
.theme-light .native-home [data-home-card="leaderboard"] .home-card-icon {
    color: #92400e;
}
.theme-light
    .native-home
    :is([data-home-card="compete"], [data-home-card="earn-coins"])
    .home-card-icon {
    color: #92400e;
}
.theme-light .native-home [data-home-card="events"] .home-card-icon {
    color: #7e22ce;
}
.theme-light
    .native-home
    :is([data-home-card="social"], [data-home-card="quick-tips"])
    .home-card-icon {
    color: #0e7490;
}
.theme-light .native-home .home-card-badge {
    color: #92400e;
}
.theme-light .native-home .home-card-badge.tasks-badge {
    color: #451a03;
}
@media (max-height: 560px) {
    .native-home .home-loop-track {
        height: 176px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .native-home .home-loop-track.is-moving {
        transition: none;
    }
}

.native-home a.home-gold {
    color: #fbbf24;
}
.native-home a.home-purple {
    color: #c084fc;
}
.theme-light .native-home a.home-gold {
    color: #92400e;
}
.theme-light .native-home a.home-purple {
    color: #a21caf;
}
