/* Shared highlighted-action surface, loaded after theme and responsive styles.
   Home navigation stays neutral and is excluded from every highlight state.
   Legacy screens have their own paint overrides (including mobile !important
   backgrounds). Keep these paint properties authoritative without changing
   screen layout, button dimensions, visibility, position, or click behavior. */
body {
    --action-highlight-background: var(--color-gold, #e8be55);
    --action-highlight-text: #182a30;
    --action-highlight-shadow: 0 3px 8px rgba(0, 0, 0, .16);
}

:root body :is(.btn-modal-primary, .action-highlight, .share-picker-btn-primary,
    .btn-hint.accept, .journey-resume-btn, .daily-reward-claim:not(.claimed),
    .shop-buy-btn, .jb-unlock-btn:not(.jb-unlock-btn--poor), .btn-ad-reward,
    .boot-retry-btn):not(.landing-page *) {
    background: var(--action-highlight-background) !important;
    border: 1px solid var(--action-highlight-background) !important;
    border-radius: 14px !important;
    font-weight: 600 !important;
    color: var(--action-highlight-text) !important;
    text-shadow: none !important;
    box-shadow: var(--action-highlight-shadow) !important;
    filter: none !important;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, opacity .15s ease, transform .15s ease !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

:root body :is(.btn-modal-primary, .action-highlight, .share-picker-btn-primary,
    .btn-hint.accept, .journey-resume-btn, .daily-reward-claim:not(.claimed),
    .shop-buy-btn, .jb-unlock-btn:not(.jb-unlock-btn--poor), .btn-ad-reward,
    .boot-retry-btn):not(.landing-page *)::before {
    display: none !important;
}

:root body :is(.btn-modal-primary, .action-highlight, .share-picker-btn-primary,
    .btn-hint.accept, .journey-resume-btn, .daily-reward-claim:not(.claimed),
    .shop-buy-btn, .jb-unlock-btn:not(.jb-unlock-btn--poor), .btn-ad-reward,
    .boot-retry-btn):not(.landing-page *):active:not(:disabled) {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .16) !important;
}

:root body :is(.btn-modal-primary, .action-highlight, .share-picker-btn-primary,
    .btn-hint.accept, .journey-resume-btn, .daily-reward-claim:not(.claimed),
    .shop-buy-btn, .jb-unlock-btn:not(.jb-unlock-btn--poor), .btn-ad-reward,
    .boot-retry-btn):not(.landing-page *):focus-visible {
    outline: 2px solid var(--title-color, #f3f6f4);
    outline-offset: 3px;
}

:root body :is(.btn-modal-primary, .action-highlight, .share-picker-btn-primary,
    .btn-hint.accept, .journey-resume-btn, .daily-reward-claim:not(.claimed),
    .shop-buy-btn, .jb-unlock-btn:not(.jb-unlock-btn--poor), .btn-ad-reward,
    .boot-retry-btn):not(.landing-page *):disabled {
    opacity: .45 !important;
    cursor: default;
}
