/* Action buttons (Oct 2026 button audit, agreed with Adam)
 *
 * One look for every main and secondary action button, in two sizes:
 *   main      = green pearl (a darker green pearl in dark theme)
 *   secondary = cream pearl, like the Print/Share pills (dark pearl in dark theme)
 *   standard  = 11px 20px, 1rem, 600, 12px corners (43px tall)
 *   small     = inline/toolbar/card buttons, modelled on the messages "Add link"
 * Hover/press: the same gentle lift for all, no colour change.
 * The chord check pop-up's Fix it (main) / Save anyway (secondary) follow it too (8 Oct).
 *
 * Loaded LAST on every page, and everything is !important, so the many older
 * per-page button rules (and their !important ones) can't override it. Those
 * older rules still set layout (margins, display); only the look lives here.
 * Not covered on purpose: icon buttons, filters/tabs, player controls, the
 * purple Inject/Add Backing, Share/Print pills, See Pricing gold, the limit
 * pop-up's pricing buttons (Adam's 2 Aug look), cookie/install banners.
 */

/* ---- sizes ------------------------------------------------------------- */
.btn-primary:not(.btn-icon):not(#limitReachedModal *), .btn-secondary, .shared-cta-btn,
.btn-send-message, .btn-send, .btn-cancel, .btn-msg-reply, .request-notification-btn, .btn-become-contributor,
.fit-popup-actions .fit-popup-fix, .fit-popup-actions .fit-popup-anyway {
    padding: 11px 20px !important;
    line-height: 1.2 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    min-height: 0 !important;
}

.btn-msg-addlink, .btn-small.btn-secondary, .create-set-btn, .my-sets-btn, .btn-new-message,
.btn-clear-all-messages, .trending-view-btn, .view-btn, .add-chords-btn, .tcp-done {
    padding: 4px 12px !important;
    line-height: 1.3 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    min-height: 0 !important;
}

.btn-clear-all-messages { text-decoration: none !important; }

/* The tune page's Add your chords button: the size of the old add-chords panel's button */
.arrangements-header .add-your-chords-btn {
    padding: 11px 20px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
}

/* ---- light theme ------------------------------------------------------- */
.btn-primary:not(.btn-icon):not(#limitReachedModal *), .shared-cta-btn, .btn-send-message, .btn-send,
.btn-msg-reply, .trending-view-btn, .view-btn, .tcp-done, .pricing-cta-filled, .request-notification-btn,
.btn-become-contributor, .add-chords-btn, .fit-popup-actions .fit-popup-fix {
    background: linear-gradient(180deg, #3fb872 0%, #239a55 50%, #1d6b3e 100%) !important;
    color: #F4FAF5 !important;
    border: 1.5px solid #1d6b3e !important; /* = the gradient bottom, so no visible rim */
    box-shadow: 0 3px 8px rgba(30, 100, 60, 0.28), inset 0 -3px 6px rgba(10, 50, 25, 0.25),
        inset 0 2px 3px rgba(220, 255, 230, 0.45) !important;
}

.btn-secondary, .btn-cancel, .btn-msg-addlink, .btn-small.btn-secondary, .btn-new-message,
.btn-clear-all-messages, .pp-free-card .pricing-cta-outline, .fit-popup-actions .fit-popup-anyway {
    background: linear-gradient(180deg, #fffcf3 0%, #f8f1e0 50%, #e6dcc0 100%) !important;
    color: #2a5434 !important;
    border: 1.5px solid rgba(42, 84, 52, 0.4) !important; /* soft, so cream doesn't vanish on white */
    box-shadow: 0 3px 8px rgba(42, 84, 52, 0.2), inset 0 -3px 6px rgba(120, 100, 50, 0.16),
        inset 0 2px 3px rgba(255, 253, 245, 0.95) !important;
}

.pricing-cta-filled, .pp-free-card .pricing-cta-outline {
    border-radius: 12px !important;
    font-weight: 600 !important;
}

/* ---- dark theme -------------------------------------------------------- */
.dark-theme .btn-primary:not(.btn-icon):not(#limitReachedModal *), .dark-theme .shared-cta-btn,
.dark-theme .btn-send-message, .dark-theme .btn-send, .dark-theme .btn-msg-reply,
.dark-theme .trending-view-btn, .dark-theme .view-btn, .dark-theme .tcp-done,
.dark-theme .pricing-cta-filled, .dark-theme .request-notification-btn, .dark-theme .btn-become-contributor,
.dark-theme .add-chords-btn, .dark-theme .fit-popup-actions .fit-popup-fix {
    background: linear-gradient(180deg, #2f7a4b 0%, #1f5c37 50%, #143f26 100%) !important;
    color: #f4e4bc !important; /* cream, like the dark pearl buttons (Adam, 8 Oct: not white) */
    border: 1.5px solid #143f26 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.25),
        inset 0 2px 3px rgba(200, 255, 210, 0.22) !important;
}

.dark-theme .btn-secondary, .dark-theme .btn-cancel, .dark-theme .btn-msg-addlink,
.dark-theme .btn-small.btn-secondary, .dark-theme .btn-new-message, .dark-theme .btn-clear-all-messages,
.dark-theme .pp-free-card .pricing-cta-outline, .dark-theme .fit-popup-actions .fit-popup-anyway {
    background: linear-gradient(180deg, #6e5226 0%, #553d1b 55%, #3f2c13 100%) !important;
    color: #f4e4bc !important;
    border: 1.5px solid #3f2c13 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.25),
        inset 0 2px 3px rgba(255, 220, 150, 0.18) !important;
}

/* ---- hover / press: a gentle lift, same colours ------------------------ */
@media (hover: hover) and (pointer: fine) {
    .btn-primary:not(.btn-icon):not(#limitReachedModal *):hover, .shared-cta-btn:hover,
    .btn-send-message:hover, .btn-send:hover, .btn-msg-reply:hover, .pricing-cta-filled:hover,
    .btn-secondary:hover, .btn-cancel:hover, .btn-msg-addlink:hover, .btn-small.btn-secondary:hover,
    .btn-new-message:hover, .btn-clear-all-messages:hover,
    .request-notification-btn:hover, .btn-become-contributor:hover {
        transform: translateY(-1px) !important;
        filter: none !important;
        opacity: 1 !important;
    }
    .btn-primary:not(.btn-icon):not(#limitReachedModal *):hover, .shared-cta-btn:hover,
    .btn-send-message:hover, .btn-send:hover, .btn-msg-reply:hover, .pricing-cta-filled:hover,
    .request-notification-btn:hover, .btn-become-contributor:hover {
        box-shadow: 0 6px 14px rgba(30, 100, 60, 0.38), inset 0 -3px 6px rgba(10, 50, 25, 0.25),
            inset 0 2px 3px rgba(220, 255, 230, 0.45) !important;
    }
    .btn-secondary:hover, .btn-cancel:hover, .btn-msg-addlink:hover, .btn-small.btn-secondary:hover,
    .btn-new-message:hover, .btn-clear-all-messages:hover {
        box-shadow: 0 6px 14px rgba(42, 84, 52, 0.3), inset 0 -3px 6px rgba(120, 100, 50, 0.16),
            inset 0 2px 3px rgba(255, 253, 245, 0.95) !important;
    }
    .dark-theme .btn-primary:not(.btn-icon):not(#limitReachedModal *):hover, .dark-theme .shared-cta-btn:hover,
    .dark-theme .btn-send-message:hover, .dark-theme .btn-send:hover, .dark-theme .btn-msg-reply:hover,
    .dark-theme .pricing-cta-filled:hover,
    .dark-theme .request-notification-btn:hover, .dark-theme .btn-become-contributor:hover {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55), inset 0 -3px 6px rgba(0, 0, 0, 0.25),
            inset 0 2px 3px rgba(200, 255, 210, 0.22) !important;
    }
    .dark-theme .btn-secondary:hover, .dark-theme .btn-cancel:hover, .dark-theme .btn-msg-addlink:hover,
    .dark-theme .btn-small.btn-secondary:hover, .dark-theme .btn-new-message:hover,
    .dark-theme .btn-clear-all-messages:hover {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55), inset 0 -3px 6px rgba(0, 0, 0, 0.25),
            inset 0 2px 3px rgba(255, 220, 150, 0.18) !important;
    }
}

/* ---- filters and tabs (8 Oct 2026) -------------------------------------
 * The selected one is the green pearl, like the main buttons. Unselected
 * chips in dark theme contrast with what they sit on (Adam): calm dark brown
 * on the Tune Book's lighter filter panel, lifted (lighter, faint gold edge)
 * on the dark Browse page, home tabs and pop-ups.
 */
.filter-btn.active, .fakebook-filter-section .filter-btn.active, .trending-tab.active, .message-tab.active,
#messagesModalHeader .message-tab.active, .theme-choice button[aria-checked="true"] {
    background: linear-gradient(180deg, #3fb872 0%, #239a55 50%, #1d6b3e 100%) !important;
    color: #F4FAF5 !important;
    border-color: #1d6b3e !important;
    box-shadow: 0 3px 8px rgba(30, 100, 60, 0.28), inset 0 -3px 6px rgba(10, 50, 25, 0.25),
        inset 0 2px 3px rgba(220, 255, 230, 0.45) !important;
}

.dark-theme .filter-btn.active, .dark-theme .fakebook-filter-section .filter-btn.active,
.dark-theme .trending-tab.active, .dark-theme .message-tab.active,
.dark-theme #messagesModalHeader .message-tab.active, .dark-theme .theme-choice button[aria-checked="true"] {
    background: linear-gradient(180deg, #2f7a4b 0%, #1f5c37 50%, #143f26 100%) !important;
    color: #f4e4bc !important;
    border-color: #143f26 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.25),
        inset 0 2px 3px rgba(200, 255, 210, 0.22) !important;
}

.dark-theme .filter-btn:not(.active), .dark-theme .trending-tab:not(.active) {
    background: linear-gradient(180deg, #5c3f24 0%, #4a3019 100%) !important;
    color: #f4e4bc !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
}

.dark-theme .fakebook-filter-section .filter-btn:not(.active) {
    background: var(--bg-accent) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color) !important;
}

/* Filter chips trimmed (Adam, 8 Oct): ~30px tall instead of 34px, so the rows
   take less room (Browse's tune types fit in fewer lines) */
.filter-btn, .fakebook-filter-section .filter-btn {
    padding: 5px 13px !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
}

/* Tune controls + the control panel's Tune Book button (Adam chose "soft pearl", 8 Oct):
   their own colours, with the pearl's top shine and soft bottom shading. Add Backing keeps
   its purple; the play-from/to-here colours (#playButton.play-*) still win */
.ctrl-toggle:not(.btn-add-backing) {
    background: linear-gradient(180deg, #fbfdfb 0%, #eef6ee 50%, #dcebdc 100%) !important;
    border: 1.5px solid rgba(42, 84, 52, 0.28) !important;
    box-shadow: 0 3px 8px rgba(42, 84, 52, 0.18), inset 0 -3px 6px rgba(42, 84, 52, 0.1),
        inset 0 2px 3px rgba(255, 255, 255, 0.95) !important;
}

.ctrl-toggle:not(.btn-add-backing):hover {
    box-shadow: 0 5px 12px rgba(42, 84, 52, 0.24), inset 0 -3px 6px rgba(42, 84, 52, 0.1),
        inset 0 2px 3px rgba(255, 255, 255, 0.95) !important;
}

.dark-theme .ctrl-toggle:not(.btn-add-backing) {
    background: linear-gradient(180deg, #76603a 0%, #5c4a2a 55%, #47391f 100%) !important;
    border: 1.5px solid #47391f !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.25),
        inset 0 2px 3px rgba(255, 220, 150, 0.18) !important;
}

.dark-theme .ctrl-toggle:not(.btn-add-backing):hover {
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.5), inset 0 -3px 6px rgba(0, 0, 0, 0.25),
        inset 0 2px 3px rgba(255, 220, 150, 0.18) !important;
}

/* The home page's Bluegrass Collection button (index.html .browse-section, under Browse): Browse's own size and shape, in the
   collection's dusk-blue pearl. The id beats the btn-primary rules (their :not(#limitReachedModal *) counts as an id) */
.browse-section #bgCollectionBtn.btn-primary:not(.btn-icon) {
    background: linear-gradient(180deg, #6a87aa 0%, #4f6b8d 55%, #3d5879 100%) !important;   /* the dark mode's blue in both (Adam, 8 Nov) */
    color: #ffffff !important; text-shadow: 0 1px 1px rgba(27, 42, 63, 0.35);
    border: 1.5px solid #2c4463 !important;
    box-shadow: 0 3px 8px rgba(31, 53, 80, 0.26), inset 0 -3px 6px rgba(31, 53, 80, 0.16),
        inset 0 2px 3px rgba(220, 232, 255, 0.3) !important;
}
.browse-section #bgCollectionBtn.btn-primary:not(.btn-icon):hover {
    box-shadow: 0 6px 14px rgba(31, 53, 80, 0.34), inset 0 -3px 6px rgba(31, 53, 80, 0.16),
        inset 0 2px 3px rgba(220, 232, 255, 0.3) !important;
}
.dark-theme .browse-section #bgCollectionBtn.btn-primary:not(.btn-icon) {
    background: linear-gradient(180deg, #6a87aa 0%, #4f6b8d 55%, #3d5879 100%) !important;
    color: #f6ead0 !important; border-color: #2c4463 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.25), inset 0 2px 3px rgba(220, 232, 255, 0.2) !important;
}

/* The home page's Session Standards button (collections.js, first in the stack): the site's cream pearl, so it reads as
   ours and apart from Browse's green (9 Nov 2026) */
.browse-section #ssCollectionBtn.btn-primary:not(.btn-icon) {
    background: linear-gradient(180deg, #fffcf3 0%, #f8f1e0 50%, #e6dcc0 100%) !important;
    color: #2a5434 !important;
    border: 1.5px solid rgba(42, 84, 52, 0.4) !important;
    box-shadow: 0 3px 8px rgba(42, 84, 52, 0.2), inset 0 -3px 6px rgba(120, 100, 50, 0.16),
        inset 0 2px 3px rgba(255, 253, 245, 0.95) !important;
}
.browse-section #ssCollectionBtn.btn-primary:not(.btn-icon):hover {
    box-shadow: 0 6px 14px rgba(42, 84, 52, 0.28), inset 0 -3px 6px rgba(120, 100, 50, 0.16),
        inset 0 2px 3px rgba(255, 253, 245, 0.95) !important;
}
.dark-theme .browse-section #ssCollectionBtn.btn-primary:not(.btn-icon) {
    background: linear-gradient(180deg, #6e5226 0%, #553d1b 55%, #3f2c13 100%) !important;
    color: #f4e4bc !important; border-color: #3f2c13 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.25), inset 0 2px 3px rgba(255, 220, 150, 0.18) !important;
}

/* The home page's Christmas Collection button (collections.js, first in the stack): Christmas red, white lettering, in
   both themes; shown only in season, when the first-paint script puts tc-xmas on <html> (1 Nov - 6 Jan) (Adam, 10 Nov 2026) */
#xmCollectionBtn { display: none !important; }
html.tc-xmas #xmCollectionBtn { display: inline-flex !important; }
.browse-section #xmCollectionBtn.btn-primary:not(.btn-icon) {
    background: linear-gradient(180deg, #e0384b 0%, #c21f33 55%, #9e1828 100%) !important;
    color: #ffffff !important; text-shadow: 0 1px 1px rgba(60, 5, 12, 0.4);
    border: 1.5px solid #7d1220 !important;
    box-shadow: 0 3px 8px rgba(90, 10, 20, 0.3), inset 0 -3px 6px rgba(70, 8, 16, 0.22),
        inset 0 2px 3px rgba(255, 220, 220, 0.35) !important;
}
.browse-section #xmCollectionBtn.btn-primary:not(.btn-icon):hover {
    box-shadow: 0 6px 14px rgba(90, 10, 20, 0.38), inset 0 -3px 6px rgba(70, 8, 16, 0.22),
        inset 0 2px 3px rgba(255, 220, 220, 0.35) !important;
}
.dark-theme .browse-section #xmCollectionBtn.btn-primary:not(.btn-icon) {
    background: linear-gradient(180deg, #e0384b 0%, #c21f33 55%, #9e1828 100%) !important;
    color: #ffffff !important; border-color: #7d1220 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.25), inset 0 2px 3px rgba(255, 220, 220, 0.25) !important;
}

/* (the Hymn Collection button was Adam's devices only from 10 Nov 2026 while the hymn bugs were fixed; everyone's since the same day) */

/* The home page's Hymn Collection button (collections.js): the collection page's hymnbook burgundy, cream lettering,
   in both themes (Nov 2026) */
.browse-section #hyCollectionBtn.btn-primary:not(.btn-icon) {
    background: linear-gradient(180deg, #8a3a42 0%, #6a2a30 55%, #531f26 100%) !important;
    color: #fbf1dc !important; text-shadow: 0 1px 1px rgba(43, 15, 21, 0.4);
    border: 1.5px solid #45161d !important;
    box-shadow: 0 3px 8px rgba(74, 26, 35, 0.26), inset 0 -3px 6px rgba(43, 15, 21, 0.2),
        inset 0 2px 3px rgba(255, 226, 190, 0.28) !important;
}
.browse-section #hyCollectionBtn.btn-primary:not(.btn-icon):hover {
    box-shadow: 0 6px 14px rgba(74, 26, 35, 0.34), inset 0 -3px 6px rgba(43, 15, 21, 0.2),
        inset 0 2px 3px rgba(255, 226, 190, 0.28) !important;
}
.dark-theme .browse-section #hyCollectionBtn.btn-primary:not(.btn-icon) {
    background: linear-gradient(180deg, #7c343b 0%, #5e252b 55%, #481a20 100%) !important;
    color: #f6ead0 !important; border-color: #3a1218 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.25), inset 0 2px 3px rgba(255, 226, 190, 0.18) !important;
}

/* The Bluegrass Collection button (app.js tcBluegrassLink, in Edit ABC's place on the collection's 100 tunes): the same soft
   pearl in the collection page's dusk blue, so it stands out without being dark (Adam, 8 Nov 2026) */
.ctrl-toggle.tc-bg-link:not(.btn-add-backing) {
    background: linear-gradient(180deg, #6a87aa 0%, #4f6b8d 55%, #3d5879 100%) !important;   /* the dark mode's blue in both (Adam, 8 Nov) */
    border: 1.5px solid #2c4463 !important;
    color: #ffffff !important; text-shadow: 0 1px 1px rgba(27, 42, 63, 0.35);
    box-shadow: 0 3px 8px rgba(31, 53, 80, 0.22), inset 0 -3px 6px rgba(31, 53, 80, 0.14),
        inset 0 2px 3px rgba(220, 232, 255, 0.3) !important;
}
.ctrl-toggle.tc-bg-link:not(.btn-add-backing):hover {
    box-shadow: 0 5px 12px rgba(31, 53, 80, 0.3), inset 0 -3px 6px rgba(31, 53, 80, 0.14),
        inset 0 2px 3px rgba(220, 232, 255, 0.3) !important;
}
.dark-theme .ctrl-toggle.tc-bg-link:not(.btn-add-backing) {
    background: linear-gradient(180deg, #6a87aa 0%, #4f6b8d 55%, #3d5879 100%) !important;
    border: 1.5px solid #2c4463 !important;
    color: #f6ead0 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.25),
        inset 0 2px 3px rgba(220, 232, 255, 0.2) !important;
}

/* The other collections' buttons in the same place (app.js tcCollectionLink, 14 Nov 2026: every collection tune), each in its
   homepage button's colours (above): Session Standards cream (brown in dark), Hymns burgundy, Christmas red */
.ctrl-toggle.tc-bg-link.tc-col-session:not(.btn-add-backing) {
    background: linear-gradient(180deg, #fffcf3 0%, #f8f1e0 50%, #e6dcc0 100%) !important;
    color: #2a5434 !important; text-shadow: none;
    border: 1.5px solid rgba(42, 84, 52, 0.4) !important;
    box-shadow: 0 3px 8px rgba(42, 84, 52, 0.2), inset 0 -3px 6px rgba(120, 100, 50, 0.16),
        inset 0 2px 3px rgba(255, 253, 245, 0.95) !important;
}
.dark-theme .ctrl-toggle.tc-bg-link.tc-col-session:not(.btn-add-backing) {
    background: linear-gradient(180deg, #6e5226 0%, #553d1b 55%, #3f2c13 100%) !important;
    color: #f4e4bc !important; border-color: #3f2c13 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.25), inset 0 2px 3px rgba(255, 220, 150, 0.18) !important;
}
.ctrl-toggle.tc-bg-link.tc-col-hymns:not(.btn-add-backing) {
    background: linear-gradient(180deg, #8a3a42 0%, #6a2a30 55%, #531f26 100%) !important;
    color: #fbf1dc !important; text-shadow: 0 1px 1px rgba(43, 15, 21, 0.4);
    border: 1.5px solid #45161d !important;
    box-shadow: 0 3px 8px rgba(74, 26, 35, 0.26), inset 0 -3px 6px rgba(43, 15, 21, 0.2),
        inset 0 2px 3px rgba(255, 226, 190, 0.28) !important;
}
.dark-theme .ctrl-toggle.tc-bg-link.tc-col-hymns:not(.btn-add-backing) {
    background: linear-gradient(180deg, #7c343b 0%, #5e252b 55%, #481a20 100%) !important;
    color: #f6ead0 !important; border-color: #3a1218 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.25), inset 0 2px 3px rgba(255, 226, 190, 0.18) !important;
}
.ctrl-toggle.tc-bg-link.tc-col-christmas:not(.btn-add-backing),
.dark-theme .ctrl-toggle.tc-bg-link.tc-col-christmas:not(.btn-add-backing) {
    background: linear-gradient(180deg, #e0384b 0%, #c21f33 55%, #9e1828 100%) !important;
    color: #ffffff !important; text-shadow: 0 1px 1px rgba(60, 5, 12, 0.4);
    border: 1.5px solid #7d1220 !important;
    box-shadow: 0 3px 8px rgba(90, 10, 20, 0.3), inset 0 -3px 6px rgba(70, 8, 16, 0.22),
        inset 0 2px 3px rgba(255, 220, 220, 0.35) !important;
}

/* Arrangement card icons (eye, like, share, Tune Book) match the tune controls' soft pearl.
   A like you've given shows green in light, gold in dark (.voted was meant to stand out, but the later card rules hid it) */
body:not(.dark-theme) .progression-actions button:not(.btn-inject-play):not(.voted) {
    background: linear-gradient(180deg, #fbfdfb 0%, #eef6ee 50%, #dcebdc 100%) !important;
    border: 1.5px solid rgba(42, 84, 52, 0.28) !important;
    box-shadow: 0 3px 8px rgba(42, 84, 52, 0.18), inset 0 -3px 6px rgba(42, 84, 52, 0.1),
        inset 0 2px 3px rgba(255, 255, 255, 0.95) !important;
}

.dark-theme .progression-actions button:not(.btn-inject-play):not(.voted) {
    background: linear-gradient(180deg, #76603a 0%, #5c4a2a 55%, #47391f 100%) !important;
    border: 1.5px solid #47391f !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.25),
        inset 0 2px 3px rgba(255, 220, 150, 0.18) !important;
}

body:not(.dark-theme) .progression-actions button.voted:not(.btn-inject-play) {
    background: linear-gradient(180deg, #3fb872 0%, #239a55 50%, #1d6b3e 100%) !important;
    color: #F4FAF5 !important;
    border: 1.5px solid #1d6b3e !important;
    box-shadow: 0 3px 8px rgba(30, 100, 60, 0.28), inset 0 -3px 6px rgba(10, 50, 25, 0.25),
        inset 0 2px 3px rgba(220, 255, 230, 0.45) !important;
}

.dark-theme .progression-actions button.voted:not(.btn-inject-play) {
    background: linear-gradient(180deg, #f3d873 0%, #d4af37 55%, #b8932a 100%) !important;
    color: #2c1810 !important;
    border: 1.5px solid #b8932a !important;
    box-shadow: 0 3px 8px rgba(120, 90, 20, 0.3), inset 0 -3px 6px rgba(90, 60, 10, 0.2),
        inset 0 2px 3px rgba(255, 248, 220, 0.7) !important;
}

/* Header pricing button ("See Pricing" / "Get Unlimited Access"): gold pearl, the same bright
   gold with the pearl's shine and shading (Adam chose B, 8 Oct). The shimmer stays */
.btn-go-premium {
    background: linear-gradient(180deg, #ffe27a 0%, #f5ca30 50%, #d6a516 100%) !important;
    border: 1.5px solid #d6a516 !important;
    box-shadow: 0 3px 8px rgba(160, 115, 10, 0.32), inset 0 -3px 6px rgba(120, 80, 0, 0.2),
        inset 0 2px 3px rgba(255, 250, 220, 0.75) !important;
}

.btn-go-premium:hover {
    box-shadow: 0 5px 12px rgba(160, 115, 10, 0.4), inset 0 -3px 6px rgba(120, 80, 0, 0.2),
        inset 0 2px 3px rgba(255, 250, 220, 0.75) !important;
}

.dark-theme .btn-go-premium {
    background: linear-gradient(180deg, #efc54d 0%, #d4a017 50%, #a67b0d 100%) !important;
    border: 1.5px solid #a67b0d !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 -3px 6px rgba(90, 55, 0, 0.25),
        inset 0 2px 3px rgba(255, 240, 190, 0.5) !important;
}

.dark-theme .btn-go-premium:hover {
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.5), inset 0 -3px 6px rgba(90, 55, 0, 0.25),
        inset 0 2px 3px rgba(255, 240, 190, 0.5) !important;
}

/* Header Login / Sign Up keep their compact phone size (8px 16px, 0.9rem, as before 8 Oct):
   the standard size made "Sign Up" wrap onto two lines on ~360px phones */
.auth-buttons .btn-primary:not(.btn-icon):not(#limitReachedModal *), .auth-buttons .btn-secondary {
    white-space: nowrap !important;
}

@media (max-width: 600px) {
    .auth-buttons .btn-primary:not(.btn-icon):not(#limitReachedModal *), .auth-buttons .btn-secondary {
        padding: 8px 16px !important;
        font-size: 0.9rem !important;
        min-height: 44px !important;
    }
}

/* Logo + Login/Sign Up the same distance from the screen edges on every page (Adam, 8 Oct).
   On Pricing, Browse and Tutorials they sit inside the header card, whose margin and border
   pushed them ~11px further in than on Home: subtract the card's inset (container padding + border) */
header .auth-section-top {
    left: 19px;
    right: 19px;
}

@media (max-width: 768px) {
    header .auth-section-top {
        left: 9px;
        right: 9px;
    }
}

/* Phones: every standard button a touch smaller and never wrapping (Adam, 8 Oct): the 11px 20px / 1rem size
   wrapped "Send Message", "Sign Up Free" and "Build set & add to Tune Book" onto two lines on 360px phones */
@media (max-width: 480px) {
    /* not the Tune Book's small New Set / My Sets pills (fixed 26px height): the padding pushed their text down */
    .btn-primary:not(.btn-icon):not(#limitReachedModal *), .btn-secondary:not(.create-set-btn):not(.my-sets-btn), .shared-cta-btn,
    .btn-send-message, .btn-send, .btn-cancel, .btn-msg-reply, .request-notification-btn, .btn-become-contributor,
    .fit-popup-actions .fit-popup-fix, .fit-popup-actions .fit-popup-anyway {
        padding: 10px 14px !important;
        font-size: 0.9rem !important;
        white-space: nowrap !important;
    }
}
