/* Local component styles; native buttons retain keyboard and disabled semantics. */
.amok-subscription-tools :is(.amok-copy-calendar, .amok-copy-feed),
.amok-push-controls button {
    appearance: none;
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    margin: 0 0 10px;
    padding: 11px 14px;
    border: 1px solid #ae579b;
    border-radius: 3px;
    background: #793069;
    color: #fff;
    font: inherit;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
}
.amok-subscription-tools :is(.amok-copy-calendar, .amok-copy-feed),
.amok-push-controls .amok-push-unsubscribe {
    background: transparent;
    border-color: currentColor;
    color: inherit;
    font-weight: 400;
}
.amok-subscription-tools :is(.amok-copy-calendar, .amok-copy-feed):hover:not(:disabled),
.amok-push-controls button:hover:not(:disabled) {
    background: #923d80;
    border-color: #923d80;
    color: #fff;
}
.amok-subscription-tools :is(.amok-copy-calendar, .amok-copy-feed):active:not(:disabled),
.amok-push-controls button:active:not(:disabled) {
    background: #642557;
    color: #fff;
}
.amok-subscription-tools :is(.amok-copy-calendar, .amok-copy-feed):focus-visible,
.amok-push-controls button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px #171717;
}
.amok-subscription-tools button:disabled,
.amok-push-controls button:disabled {
    background: #414141;
    border-color: #999;
    color: #ddd;
    cursor: not-allowed;
}
.amok-push-controls { margin: 18px 0; }
.amok-push-status, .amok-copy-status { line-height: 1.5; overflow-wrap: anywhere; }
.amok-copy-status:empty { display: none; }
.amok-copy-status input { box-sizing: border-box; width: 100%; margin-top: 8px; padding: 8px; }
@media (forced-colors: active) {
    .amok-subscription-tools :is(.amok-copy-calendar, .amok-copy-feed), .amok-push-controls button {
        border: 1px solid ButtonText;
        background: ButtonFace;
        color: ButtonText;
    }
}

.amok-film-subscriptions, .amok-film-share { margin-top: 24px; padding-top: 16px; border-top: 1px dashed #ae579b; }
.amok-film-subscriptions > h3, .amok-film-share > h3 { margin-top: 0; }
.amok-share-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.amok-share-actions a, .amok-share-actions button { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px; padding: 9px 8px; border: 1px solid currentColor; border-radius: 3px; background: transparent; color: inherit; font: inherit; text-align: center; overflow-wrap: anywhere; cursor: pointer; }
.amok-share-actions a:hover, .amok-share-actions button:hover { background: #793069; color: #fff; }
.amok-share-actions [hidden] { display: none !important; }
.amok-share-status { overflow-wrap: anywhere; }
.amok-share-status input { width: 100%; box-sizing: border-box; padding: 8px; }
