/* Explicitly reset only anniversary controls, independent of the shared button styles. */
.ucd-anniversary-hero button.ucd-anniversary-control,
.ucd-anniversary-banner button.ucd-anniversary-control {
    all: unset;
    box-sizing: border-box;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
    user-select: none;
    box-shadow: none;
    transform: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.ucd-anniversary-control::before,
.ucd-anniversary-control::after { content: none; }

.ucd-anniversary-control svg {
    display: block;
    flex: 0 0 auto;
    transition: transform 160ms ease;
}

.ucd-anniversary-hero button.ucd-anniversary-hero__celebrate {
    min-height: 48px;
    padding: 0 23px;
    gap: 12px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f5f2ea;
    color: #172232;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.ucd-anniversary-hero button.ucd-anniversary-hero__celebrate:hover { background: #fff; }
.ucd-anniversary-hero button.ucd-anniversary-hero__celebrate:hover svg { transform: translateX(3px); }
.ucd-anniversary-hero button.ucd-anniversary-hero__celebrate:active { background: #e3dfd5; }

.ucd-anniversary-banner button.ucd-anniversary-banner__celebrate {
    min-height: 36px;
    padding: 5px 8px;
    gap: 7px;
    border-radius: 4px;
    color: #e7d5b3;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.ucd-anniversary-banner button.ucd-anniversary-banner__celebrate:hover { color: #fff; background: #ffffff08; }

.ucd-anniversary-banner button.ucd-anniversary-banner__dismiss {
    position: absolute;
    right: 20px;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    color: #b8c2d0;
}

.ucd-anniversary-banner button.ucd-anniversary-banner__dismiss:hover { color: #fff; background: #ffffff0c; }

.ucd-anniversary-hero button.ucd-anniversary-control:focus-visible,
.ucd-anniversary-banner button.ucd-anniversary-control:focus-visible {
    outline: 2px solid #f5f2ea;
    outline-offset: 4px;
}

.ucd-anniversary-hero--compact button.ucd-anniversary-hero__celebrate {
    min-height: 44px;
    padding: 0 19px;
    gap: 10px;
    font-size: 13px;
}

@media (max-width: 640px) {
    .ucd-anniversary-hero button.ucd-anniversary-hero__celebrate { min-height: 46px; padding: 0 19px; gap: 10px; font-size: 13px; }
    .ucd-anniversary-banner button.ucd-anniversary-banner__celebrate { min-height: 40px; padding: 4px 5px; gap: 4px; font-size: 12px; }
    .ucd-anniversary-banner button.ucd-anniversary-banner__dismiss { position: static; width: 36px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    .ucd-anniversary-hero button.ucd-anniversary-control,
    .ucd-anniversary-banner button.ucd-anniversary-control,
    .ucd-anniversary-control svg { transition: none; }
    .ucd-anniversary-hero button.ucd-anniversary-hero__celebrate:hover svg { transform: none; }
}
