.release-follow { margin: 1.5rem 0; }
.release-follow__button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 44px; }
.release-follow__button[aria-pressed="true"] { background: var(--color-background-2); }
.release-follow__button[aria-pressed="true"]:hover { background: var(--color-black); }
.release-follow__button[aria-pressed="true"] .release-follow__bell { fill: currentColor; }
.release-follow__message { font-size: .875rem; line-height: 1.5; margin: .65rem 0 0; }
.release-follow__message:empty, .release-notifications__message:empty { display: none; }
.release-follow__actions, .release-notifications__actions { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .875rem; }
.release-follow__text-action { padding: 0; border: 0; background: none; color: var(--color-text); font: inherit; font-weight: 400; line-height: inherit; text-decoration: underline; text-underline-offset: .15em; cursor: pointer; }
.release-follow button:disabled, .release-notifications button:disabled { opacity: .55; cursor: default; }
.release-notifications [hidden] { display: none !important; }
.release-notifications__master { padding: .25rem 0 1.25rem; border-bottom: 2px solid var(--color-line-3); }
/* Pill switch after the reference slider glyph: outlined track, solid knob.
   On = ink (--color-line); Off = grey. Pill radius is a documented exception in DESIGN.md. */
.release-notifications__switch { display: block; box-sizing: border-box; width: 56px; height: 30px; padding: 3px; margin: .5rem 0 .35rem; border: 2px solid var(--color-line-2); border-radius: 15px; background: var(--color-background); color: var(--color-line-2); cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.release-notifications__switch span { display: block; width: 20px; height: 20px; border-radius: 50%; background: currentColor; transition: transform .15s ease; }
.release-notifications__switch[aria-checked="true"] { border-color: var(--color-line); color: var(--color-line); }
.release-notifications__switch[aria-checked="true"] span { transform: translateX(26px); }
.release-notifications__label, .release-notifications__title, .release-notifications__heading { font-family: "Maax Bold"; font-weight: 400; }
.release-notifications__label { display: block; cursor: pointer; }
.release-notifications__hint { font-size: .875rem; line-height: 1.5; color: var(--color-text-2); margin: .5rem 0 .75rem !important; }
.release-notifications__heading { font-size: 1rem; margin: 1.25rem 0 .5rem; }
.release-notifications__heading span { margin-left: .35rem; font-family: "Maax"; color: var(--color-text-2); }
.release-notifications__list { list-style: none; padding: 0; margin: 0; }
.release-notifications__row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; align-items: center; gap: .875rem; padding: 1rem 0; border-bottom: 2px solid var(--color-line-3); }
.release-notifications__cover { width: 40px; height: 60px; background: var(--color-background-2); }
.release-notifications__cover img { width: 40px; height: 60px; object-fit: cover; }
.release-notifications__copy { min-width: 0; }
.release-notifications__title { font-size: 1rem; overflow-wrap: anywhere; line-height: 1.3; }
.release-notifications__title a { color: inherit; text-decoration: none; text-underline-offset: 2px; }
.release-notifications__title a:hover, .release-notifications__title a:focus-visible { color: inherit; text-decoration: underline; text-decoration-color: currentColor; }
.release-notifications__since { display: block; margin-top: .25rem; font-size: .75rem; color: var(--color-text-2); }
.release-notifications__formats { display: flex; padding: 0; margin: 0; border: 0; min-width: 0; }
.release-notifications__format { position: relative; cursor: pointer; }
.release-notifications__format input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.release-notifications__format span { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 48px; padding: .75rem 1rem; font-size: .9375rem; line-height: 1.25; border: 2px solid var(--color-line-3); background: var(--color-background); }
.release-notifications__format + .release-notifications__format span { border-left: 0; }
.release-notifications__format input:checked + span { background: var(--color-text); color: var(--color-background); font-family: "Maax Bold"; font-weight: 400; }
.release-notifications__format input:disabled + span { opacity: .55; cursor: default; }
.release-notifications__format input:focus-visible + span, .release-follow button:focus-visible, .release-notifications button:focus-visible { outline: 2px solid var(--color-text); outline-offset: 3px; }
.release-notifications__remove { box-sizing: border-box; min-height: 48px; }
.release-notifications__message { margin: 0 !important; font-family: "Maax Medium"; font-weight: 400; font-size: .9375rem; line-height: 1.5; }
.release-notifications__actions { margin-top: .35rem; }
.release-notifications__review { margin-top: 2rem; padding: 1.25rem 1rem 1rem 1.25rem; }
.release-notifications__review .release-notifications__heading { margin-top: 0; }
.release-notifications__review-status { font-size: .875rem; margin: .75rem 0 0 !important; }
.release-notifications__review-status:empty { display: none; }
.release-notifications__empty { text-align: center; padding: 2.5rem 1rem; }
.release-notifications__browse { font-size: .875rem; margin-top: 1.25rem !important; }
.release-notifications__skeleton span { display: block; height: 60px; margin: 1rem 0; max-width: 85%; background: var(--color-background-2); }
@media (max-width: 1024px) {
    .release-notifications__row { grid-template-columns: 40px minmax(0, 1fr) auto; }
    .release-notifications__formats { grid-column: 2 / -1; grid-row: 2; }
    .release-notifications__remove { grid-column: 3; grid-row: 1; }
}
@media (max-width: 768px) {
    .release-follow__button { width: 100%; }
}
@media (max-width: 480px) {
    .release-notifications__row { column-gap: .65rem; }
    .release-notifications__title { font-size: .9375rem; }
    .release-notifications__format span { padding: .75rem .85rem; }
}
@media (prefers-reduced-motion: reduce) { .release-notifications__switch span { transition: none; } }
