/* ============================================================================
   Shared gold "gloss pill" buttons (Reel Fuutbull)
   Self-contained — link this LAST so .css-pill overrides each page's own
   button classes (continent-button, difficulty-btn, format-button, etc.).
   Size comes from the host class; .css-pill only provides the gold look.
   ============================================================================ */

.css-pill {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(165deg, #e8d4a8 0%, #dcbf87 45%, #bc9c6d 100%);
    border: 2px solid #bc9c6d;
    border-radius: 26px;
    cursor: pointer;
    color: #161310;
}

.css-pill > span {
    position: relative;
    z-index: 2;                       /* lift label above the gloss */
    font-family: "gamay-variable", sans-serif;
    font-weight: 700;
    font-variation-settings: 'wght' 700, 'wdth' 100;
    font-style: italic;               /* forward-leaning, matching the Hub */
    font-size: 12.5px;
    line-height: 1.05;
    letter-spacing: 0.5px;
    color: #161310;
    text-align: center;
    transform: translateY(1px);       /* optical centering of all-caps */
}

/* Cut-line reflection: clear for the first ~10px, soft ramp to 30% white at
   the cut line, then drop off */
.css-pill::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: linear-gradient(140deg,
        rgba(255, 255, 255, 0) 10px,
        rgba(255, 255, 255, 0.30) 50%,
        rgba(255, 255, 255, 0) 50.5%);
    pointer-events: none;
}

.css-pill:hover  { filter: brightness(1.08); }
.css-pill:active { filter: brightness(0.94); }

/* Selected / active state for pickers (continent, level, format) */
.css-pill.selected,
.css-pill.active {
    filter: brightness(1.12);
    box-shadow: inset 0 0 0 2px #fff4dc;
}

/* Shared 93x50 footprint for the admin pills */
.save-pill,
.export-pill {
    width: 93px;
    height: 50px;
    margin: 5px;
}
