:root {
    --font-display: "Space Grotesk", "Segoe UI", sans-serif;
    --font-body: "Manrope", "Segoe UI", sans-serif;
    --bg: #f5f7fb;
    --bg-elevated: rgba(255, 255, 255, 0.9);
    --bg-soft: rgba(255, 255, 255, 0.72);
    --bg-contrast: #0f172a;
    --surface: #ffffff;
    --surface-strong: #f8fafc;
    --surface-dark: #111827;
    --text: #122033;
    --text-soft: #5b6b82;
    --text-faint: #8a98ad;
    --border: rgba(15, 23, 42, 0.1);
    --border-strong: rgba(15, 23, 42, 0.18);
    --primary: #0ea5a4;
    --primary-strong: #0b7285;
    --accent: #f97316;
    --accent-soft: rgba(249, 115, 22, 0.12);
    --success: #10b981;
    --danger: #ef4444;
    --shadow-sm: 0 18px 40px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 24px 60px rgba(15, 23, 42, 0.14);
    --shadow-lg: 0 35px 90px rgba(15, 23, 42, 0.18);
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 34px;
    --hero-gradient: radial-gradient(circle at top left, rgba(14, 165, 164, 0.22), transparent 34%), radial-gradient(circle at top right, rgba(249, 115, 22, 0.16), transparent 26%), linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 247, 251, 0.88));
}

html[data-theme="dark"] {
    --bg: #07111f;
    --bg-elevated: rgba(8, 16, 31, 0.88);
    --bg-soft: rgba(15, 23, 42, 0.68);
    --bg-contrast: #eff6ff;
    --surface: #0f172a;
    --surface-strong: #162033;
    --surface-dark: #020817;
    --text: #e5edf8;
    --text-soft: #b3c1d7;
    --text-faint: #7f8da3;
    --border: rgba(148, 163, 184, 0.16);
    --border-strong: rgba(148, 163, 184, 0.26);
    --primary: #4fd1c5;
    --primary-strong: #14b8a6;
    --accent: #fb923c;
    --accent-soft: rgba(251, 146, 60, 0.14);
    --success: #34d399;
    --danger: #f87171;
    --shadow-sm: 0 18px 38px rgba(2, 8, 23, 0.28);
    --shadow-md: 0 24px 60px rgba(2, 8, 23, 0.36);
    --shadow-lg: 0 34px 90px rgba(2, 8, 23, 0.46);
    --hero-gradient: radial-gradient(circle at top left, rgba(79, 209, 197, 0.18), transparent 34%), radial-gradient(circle at top right, rgba(251, 146, 60, 0.14), transparent 26%), linear-gradient(180deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.8));
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.65;
    min-height: 100vh;
    transition: background-color 0.25s ease, color 0.25s ease;
}

body.site-body {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(245, 247, 251, 0));
}

html[data-theme="dark"] body.site-body {
    background-image:
        radial-gradient(circle at 12% -12%, rgba(79, 209, 197, 0.08), transparent 22%),
        radial-gradient(circle at 88% -10%, rgba(251, 146, 60, 0.07), transparent 18%),
        linear-gradient(180deg, transparent, rgba(7, 17, 31, 0));
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-font {
    color: var(--bg-contrast);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
}

.site-main {
    padding: 2rem 0 4rem;
}

.site-shell {
    width: min(1400px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-shell--wide {
    width: min(1540px, calc(100% - 1.5rem));
}

.site-section {
    margin-bottom: 2rem;
}

.surface-card,
.site-panel {
    background: var(--bg-elevated);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.site-panel {
    padding: 1.5rem;
}

.site-panel--tight {
    padding: 1.15rem;
}

.site-panel--hero {
    background: var(--hero-gradient);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.site-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--primary-strong);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.site-kicker::before {
    content: "";
    width: 2.7rem;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.3rem;
}

.section-heading h2,
.section-heading h3,
.section-heading h4 {
    margin: 0;
}

.section-heading p {
    color: var(--text-soft);
    margin: 0.35rem 0 0;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--primary-strong);
    font-size: 0.95rem;
    font-weight: 700;
}

.section-link:hover {
    transform: translateX(3px);
}

.theme-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html[data-theme="dark"] .theme-switcher {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.theme-switcher__button {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-soft);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    font-weight: 700;
    min-height: 2.2rem;
    padding: 0 0.85rem;
}

.theme-switcher__button.is-active {
    background: var(--surface);
    color: var(--bg-contrast);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

html[data-theme="dark"] .theme-switcher__button.is-active {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 30px rgba(2, 8, 23, 0.22);
}

.theme-menu {
    position: relative;
}

.theme-menu__trigger {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
    justify-content: space-between;
    min-width: 10rem;
}

.theme-menu__trigger span {
    font-size: 0.86rem;
    font-weight: 800;
}

.theme-menu__trigger > .fa-circle-half-stroke {
    color: var(--primary-strong);
}

.theme-menu__trigger .small {
    font-size: 0.7rem;
    opacity: 0.7;
}

html[data-theme="dark"] .theme-menu__trigger {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.theme-menu__dropdown {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 0.25rem;
    min-width: 13rem;
    opacity: 0;
    overflow: hidden;
    padding: 0.45rem;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    transform: translateY(0.35rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 40;
}

.theme-menu.is-open .theme-menu__dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.theme-menu__dropdown .theme-switcher__button {
    border-radius: 14px;
    justify-content: flex-start;
    min-height: 2.65rem;
    padding-inline: 0.95rem;
    width: 100%;
}

.theme-menu__dropdown .theme-switcher__button i {
    text-align: center;
    width: 1rem;
}

.site-button,
.btn-site {
    appearance: none;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    border: 1px solid transparent;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-weight: 800;
    gap: 0.55rem;
    justify-content: center;
    min-height: 3rem;
    padding: 0 1.35rem;
    text-align: center;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.site-button:hover,
.btn-site:hover {
    box-shadow: 0 18px 32px rgba(14, 165, 164, 0.22);
    color: #fff;
    transform: translateY(-1px);
}

.site-button--ghost {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--bg-contrast);
}

.site-button--ghost:hover {
    background: rgba(14, 165, 164, 0.08);
    color: var(--bg-contrast);
}

.site-header {
    padding: 1rem 0 0;
    position: sticky;
    top: 0;
    z-index: 1040;
}

.site-header__inner {
    display: grid;
    gap: 1rem;
}

.site-header__bar {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 1rem 1.25rem;
}

.site-header__group {
    align-items: center;
    display: flex;
    gap: 0.85rem;
}

.site-header__brand {
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
    gap: 0.85rem;
    min-width: 0;
}

.site-header__brand img {
    background: transparent !important;
    border-radius: 0;
    display: block;
    filter: none !important;
    height: auto;
    max-height: 3.25rem;
    max-width: min(13rem, 34vw);
    mix-blend-mode: normal !important;
    object-fit: contain;
    width: auto;
}

.footer-panel__brand .site-header__brand img {
    max-height: 3.5rem;
    max-width: min(100%, 15rem);
}

html[data-theme="dark"] .site-header__brand img[src$=".svg"],
html[data-theme="dark"] .footer-panel__brand .site-header__brand img[src$=".svg"] {
    filter: brightness(0) invert(1) !important;
}

.brand-mark {
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    border-radius: 18px;
    color: #fff;
    display: inline-flex;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    height: 3rem;
    justify-content: center;
    width: 3rem;
}

.site-header__title {
    display: block;
    line-height: 1.1;
}

.site-header__title strong {
    color: var(--bg-contrast);
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.site-header__title span {
    color: var(--text-soft);
    font-size: 0.8rem;
}

.site-header__nav {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.3rem;
    justify-content: center;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.site-header__nav::-webkit-scrollbar {
    display: none;
}

.site-header__nav a,
.site-header__nav button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: var(--text-soft);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 700;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0 0.95rem;
    white-space: nowrap;
}

.site-header__nav a:hover,
.site-header__nav button:hover,
.site-header__nav .is-active {
    background: rgba(14, 165, 164, 0.1);
    color: var(--bg-contrast);
}

.header-menu-item {
    position: relative;
    padding-block: 0.25rem 0.45rem;
}

.header-menu-item::after {
    content: "";
    height: 1.25rem;
    left: 0;
    position: absolute;
    right: 0;
    top: calc(100% - 0.35rem);
}

.header-menu-item__dropdown {
    backdrop-filter: blur(18px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 0.25rem;
    min-width: 16rem;
    opacity: 0;
    padding: 0.6rem;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: calc(100% - 0.15rem);
    transform: translateY(0.35rem);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    visibility: hidden;
    z-index: 35;
}

.header-menu-item:hover .header-menu-item__dropdown,
.header-menu-item:focus-within .header-menu-item__dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.header-menu-item__dropdown a {
    border-radius: 14px;
    min-height: 2.5rem;
    width: 100%;
}

.site-icon-button {
    align-items: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--bg-contrast);
    cursor: pointer;
    display: inline-flex;
    height: 3rem;
    justify-content: center;
    width: 3rem;
}

.site-icon-button--label {
    gap: 0.55rem;
    min-width: 10rem;
    padding: 0 1rem;
    width: auto;
}

.site-icon-button:hover {
    background: rgba(14, 165, 164, 0.09);
    color: var(--primary-strong);
}

.site-header__utility {
    align-items: center;
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
}

.header-spotlight {
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.04), rgba(14, 165, 164, 0.05));
    border: 1px solid var(--border);
    border-radius: 22px;
    display: flex;
    gap: 0.75rem;
    padding: 0.7rem 0.95rem;
}

.header-spotlight__value {
    color: var(--bg-contrast);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
}

.header-spotlight__label {
    color: var(--text-soft);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.site-mobile-menu {
    display: none;
    grid-column: 1 / -1;
}

.site-mobile-menu.is-open {
    display: grid;
}

.site-mobile-menu__panel {
    display: grid;
    gap: 0.85rem;
    padding: 0.15rem 1rem 1.1rem;
}

.site-mobile-menu__row {
    align-items: center;
    display: grid;
    gap: 0.45rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.site-mobile-menu__link,
.site-mobile-menu__child {
    align-items: center;
    border-radius: 18px;
    color: var(--bg-contrast);
    display: flex;
    font-weight: 700;
    justify-content: space-between;
    min-height: 3rem;
    padding: 0.85rem 1rem;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-mobile-menu__link {
    background: rgba(14, 165, 164, 0.08);
    border: 1px solid rgba(14, 165, 164, 0.12);
}

.site-mobile-menu__link--single {
    width: 100%;
}

.site-mobile-menu__group {
    background: linear-gradient(180deg, rgba(14, 165, 164, 0.06), rgba(255, 255, 255, 0.92));
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    padding: 0.45rem;
}

html[data-theme="dark"] .site-mobile-menu__group {
    background: linear-gradient(180deg, rgba(79, 209, 197, 0.08), rgba(15, 23, 42, 0.88));
}

.site-mobile-menu__toggle {
    align-items: center;
    background: rgba(14, 165, 164, 0.12);
    border: 0;
    border-radius: 16px;
    color: var(--primary-strong);
    cursor: pointer;
    display: inline-flex;
    height: 3rem;
    justify-content: center;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    width: 3rem;
}

.site-mobile-menu__toggle i {
    transition: transform 0.2s ease;
}

.site-mobile-menu__group.is-open .site-mobile-menu__toggle i {
    transform: rotate(180deg);
}

.site-mobile-menu__children {
    display: grid;
    gap: 0.35rem;
    padding: 0.6rem 0.05rem 0.1rem;
}

.site-mobile-menu__children[hidden] {
    display: none !important;
}

.site-mobile-menu__child {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(148, 163, 184, 0.12);
    color: var(--text-soft);
    padding-block: 0.75rem;
    padding-left: 1.1rem;
}

html[data-theme="dark"] .site-mobile-menu__child {
    background: rgba(15, 23, 42, 0.58);
}

.site-mobile-menu__link:hover,
.site-mobile-menu__child:hover,
.site-mobile-menu__toggle:hover {
    color: var(--bg-contrast);
    transform: translateY(-1px);
}

.site-mobile-menu__child:hover {
    background: rgba(14, 165, 164, 0.12);
}

.search-modal {
    background: rgba(7, 17, 31, 0.45);
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.22s ease;
    z-index: 1100;
}

.search-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.search-modal__card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    margin: 6.5rem auto 0;
    max-width: 52rem;
    padding: 1rem;
    width: min(92vw, 52rem);
}

.search-modal__top {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.search-modal__label {
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 700;
}

.search-modal__form {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 1fr auto;
}

.search-modal__form input,
.newsletter-form input,
.auth-form__control,
.site-form-control {
    background: rgba(14, 165, 164, 0.04);
    border: 1px solid rgba(14, 165, 164, 0.14);
    border-radius: 18px;
    color: var(--bg-contrast);
    min-height: 3.25rem;
    outline: none;
    padding: 0.95rem 1rem;
    width: 100%;
}

.search-modal__form input::placeholder,
.newsletter-form input::placeholder,
.auth-form__control::placeholder,
.site-form-control::placeholder {
    color: var(--text-faint);
}

.search-modal__form input:focus,
.newsletter-form input:focus,
.auth-form__control:focus,
.site-form-control:focus {
    border-color: rgba(14, 165, 164, 0.36);
    box-shadow: 0 0 0 0.28rem rgba(14, 165, 164, 0.12);
}

.live-strip {
    overflow: hidden;
    padding: 0.3rem 0 1.15rem;
}

.live-strip__rail {
    align-items: stretch;
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    scrollbar-width: none;
}

.live-strip__rail::-webkit-scrollbar {
    display: none;
}

.live-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    display: grid;
    flex: 0 0 20rem;
    gap: 0.8rem;
    min-height: 8.8rem;
    padding: 1rem;
}

.live-card__top {
    align-items: center;
    display: flex;
    gap: 0.6rem;
    justify-content: space-between;
}

.live-card__league {
    color: var(--bg-contrast);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.3;
}

.live-card__status {
    align-items: center;
    background: rgba(14, 165, 164, 0.12);
    border-radius: 999px;
    color: var(--primary-strong);
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 800;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
}

.live-card__status::before {
    background: currentColor;
    border-radius: 999px;
    content: "";
    height: 0.42rem;
    width: 0.42rem;
}

.live-card__match {
    display: grid;
    gap: 0.5rem;
}

.live-card__row {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: auto 1fr auto;
}

.live-card__logo {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    height: 2rem;
    object-fit: contain;
    padding: 0.25rem;
    width: 2rem;
}

.live-card__team {
    color: var(--bg-contrast);
    font-weight: 700;
}

.live-card__score {
    color: var(--bg-contrast);
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 800;
}

.hero-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
}

.hero-story {
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    min-height: 33rem;
    overflow: hidden;
}

.hero-story__media,
.news-card__media,
.story-tile__media,
.article-hero__media {
    background: linear-gradient(135deg, rgba(14, 165, 164, 0.08), rgba(249, 115, 22, 0.08));
    overflow: hidden;
    position: relative;
}

.hero-story__media {
    aspect-ratio: 16 / 10;
    border-radius: 26px;
}

.news-card__media,
.story-tile__media {
    aspect-ratio: 4 / 3;
}

.article-hero__media {
    aspect-ratio: 16 / 9;
}

.hero-story__media picture,
.news-card__media picture,
.story-tile__media picture,
.article-hero__media picture {
    display: block;
    height: 100%;
    width: 100%;
}

.hero-story__media img,
.news-card__media img,
.story-tile__media img,
.article-hero__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    width: 100%;
}

.hero-story:hover .hero-story__media img,
.news-card:hover .news-card__media img,
.story-tile:hover .story-tile__media img,
.article-hero:hover .article-hero__media img {
    transform: scale(1.04);
}

.hero-story__content {
    align-content: start;
    display: grid;
    gap: 0.85rem;
    padding: 1.6rem;
}

.story-badge {
    align-items: center;
    background: var(--accent-soft);
    border-radius: 999px;
    color: var(--accent);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    gap: 0.45rem;
    letter-spacing: 0.08em;
    padding: 0.45rem 0.8rem;
    text-transform: uppercase;
}

.story-badge--primary {
    background: rgba(14, 165, 164, 0.12);
    color: var(--primary-strong);
}

.story-meta {
    align-items: center;
    color: var(--text-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.88rem;
}

.story-meta .dot {
    background: var(--border-strong);
    border-radius: 999px;
    height: 0.3rem;
    width: 0.3rem;
}

.story-title {
    color: var(--bg-contrast);
    font-size: clamp(2rem, 3.3vw, 3.25rem);
    line-height: 1.02;
    margin: 0;
}

.story-title--sm {
    font-size: 1.15rem;
    line-height: 1.25;
}

.story-summary {
    color: var(--text-soft);
    font-size: 1rem;
    margin: 0;
}

.story-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: auto;
}

.story-tiles {
    align-content: start;
    display: grid;
    gap: 1rem;
}

.story-tile {
    align-items: center;
    display: grid;
    gap: 0.8rem;
    grid-template-columns: 7rem minmax(0, 1fr);
    padding: 1rem;
}

.story-tile__media {
    border-radius: 20px;
    min-height: 0;
}

.story-tile__content {
    align-content: start;
    display: grid;
    gap: 0.45rem;
}

.content-grid {
    align-items: start;
    display: grid;
    gap: 1.35rem;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 20rem);
}

.content-grid > section,
.content-grid > aside {
    min-width: 0;
}

.content-grid > aside {
    align-self: start;
    width: 100%;
}

.stack-grid {
    display: grid;
    gap: 1rem;
}

.news-card {
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.news-card__media {
    border-bottom: 1px solid var(--border);
    min-height: 0;
}

.news-card__body {
    display: grid;
    gap: 0.75rem;
    padding: 1.2rem 1.25rem 1.25rem;
}

.news-card__title {
    color: var(--bg-contrast);
    font-family: var(--font-display);
    font-size: 1.3rem;
    line-height: 1.18;
    margin: 0;
}

.news-card__excerpt {
    color: var(--text-soft);
    font-size: 0.96rem;
    margin: 0;
}

.news-card__footer {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.news-card__cta {
    color: var(--primary-strong);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 800;
    gap: 0.45rem;
}

.sidebar-stack {
    display: grid;
    gap: 1rem;
}

.sidebar-list {
    display: grid;
    gap: 0.8rem;
}

.sidebar-item {
    align-items: start;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: auto minmax(0, 1fr);
}

.headline-index {
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    border-radius: 16px;
    color: #fff;
    display: inline-flex;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 800;
    height: 2.2rem;
    justify-content: center;
    width: 2.2rem;
}

.headline-title {
    color: var(--bg-contrast);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.3rem;
}

.sidebar-muted {
    color: var(--text-soft);
    font-size: 0.82rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
}

.chip-row::-webkit-scrollbar {
    display: none;
}

.chip,
.tag-chip {
    align-items: center;
    background: rgba(14, 165, 164, 0.08);
    border: 1px solid rgba(14, 165, 164, 0.14);
    border-radius: 999px;
    color: var(--primary-strong);
    display: inline-flex;
    font-size: 0.84rem;
    font-weight: 700;
    min-height: 2rem;
    padding: 0 0.85rem;
}

.chip:hover,
.tag-chip:hover {
    background: rgba(14, 165, 164, 0.14);
    color: var(--primary-strong);
}

.newsletter-card {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
}

.newsletter-card--compact {
    gap: 0.85rem;
    padding: 1.15rem;
}

.newsletter-card--compact .newsletter-card__copy h3,
.newsletter-card--compact .newsletter-card__copy h4 {
    font-size: 1.18rem;
}

.newsletter-card--compact .newsletter-card__copy p {
    max-width: 24rem;
}

.newsletter-card__copy h3,
.newsletter-card__copy h4 {
    margin: 0 0 0.45rem;
}

.newsletter-card__copy p {
    color: var(--text-soft);
    margin: 0;
}

.newsletter-form {
    display: grid;
    gap: 0.8rem;
}

.newsletter-form__row {
    display: grid;
    gap: 0.8rem;
}

.newsletter-feedback {
    border-radius: 18px;
    display: none;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.9rem 1rem;
}

.newsletter-feedback.is-success {
    background: rgba(16, 185, 129, 0.12);
    color: #065f46;
    display: block;
}

.newsletter-feedback.is-error {
    background: rgba(239, 68, 68, 0.12);
    color: #991b1b;
    display: block;
}

html[data-theme="dark"] .newsletter-feedback.is-success {
    color: #b7f7df;
}

html[data-theme="dark"] .newsletter-feedback.is-error {
    color: #fecaca;
}

.league-stack {
    display: grid;
    gap: 0.75rem;
}

.league-card {
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid var(--border);
    border-radius: 22px;
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
}

.league-card__header {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.league-card__title {
    align-items: center;
    color: var(--bg-contrast);
    display: flex;
    font-size: 0.95rem;
    font-weight: 800;
    gap: 0.7rem;
    min-width: 0;
}

.league-card__title img {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    height: 2rem;
    object-fit: contain;
    padding: 0.25rem;
    width: 2rem;
}

.league-card__actions {
    display: flex;
    gap: 0.5rem;
}

.league-card__action {
    align-items: center;
    background: rgba(14, 165, 164, 0.09);
    border-radius: 14px;
    color: var(--primary-strong);
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 800;
    gap: 0.4rem;
    min-height: 2.2rem;
    padding: 0 0.8rem;
}

.league-card__action:hover {
    background: rgba(14, 165, 164, 0.16);
    color: var(--primary-strong);
}

.league-list {
    display: grid;
    gap: 0.55rem;
}

.league-list a {
    align-items: center;
    background: rgba(14, 165, 164, 0.05);
    border-radius: 16px;
    color: var(--bg-contrast);
    display: flex;
    font-weight: 700;
    gap: 0.75rem;
    padding: 0.8rem 0.95rem;
}

.league-list img {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    height: 1.8rem;
    object-fit: contain;
    padding: 0.2rem;
    width: 1.8rem;
}

.news-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-grid--cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.pagination {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    justify-content: center;
    width: max-content;
}

.page-link,
.page-item span {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--bg-contrast);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 700;
    height: 2.85rem;
    justify-content: center;
    min-width: 2.85rem;
    padding: 0 0.95rem;
}

.page-item.active .page-link,
.page-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    border-color: transparent;
    color: #fff;
}

.page-item.disabled .page-link,
.page-item.disabled span {
    color: var(--text-faint);
    opacity: 0.75;
}

.page-hero {
    display: grid;
    gap: 1rem;
    padding: 2rem;
}

.page-hero__title {
    font-size: clamp(2rem, 4vw, 3.15rem);
    margin: 0;
}

.page-hero__summary {
    color: var(--text-soft);
    font-size: 1rem;
    margin: 0;
    max-width: 46rem;
}

.contact-layout {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
}

.contact-card {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
}

.contact-card__list {
    display: grid;
    gap: 0.9rem;
}

.contact-card__list span {
    color: var(--text-soft);
    display: block;
    font-size: 0.82rem;
    margin-bottom: 0.18rem;
    text-transform: uppercase;
}

.contact-card__list strong {
    color: var(--bg-contrast);
    font-size: 0.98rem;
}

.contact-form {
    display: grid;
    gap: 0.85rem;
}

.contact-form__grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form input,
.contact-form textarea {
    background: rgba(14, 165, 164, 0.04);
    border: 1px solid rgba(14, 165, 164, 0.14);
    border-radius: 18px;
    color: var(--bg-contrast);
    outline: none;
    padding: 0.95rem 1rem;
    width: 100%;
}

.contact-form textarea {
    min-height: 11rem;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(14, 165, 164, 0.36);
    box-shadow: 0 0 0 0.28rem rgba(14, 165, 164, 0.12);
}

.contact-feedback {
    border-radius: 16px;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.9rem 1rem;
}

.contact-feedback--success {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.contact-feedback--error {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

.search-summary {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
}

.result-count {
    align-items: center;
    background: rgba(14, 165, 164, 0.08);
    border-radius: 999px;
    color: var(--primary-strong);
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 800;
    gap: 0.45rem;
    min-height: 2.4rem;
    padding: 0 0.9rem;
}

.empty-state {
    display: grid;
    gap: 0.7rem;
    justify-items: start;
    padding: 2rem;
}

.empty-state__icon {
    align-items: center;
    background: rgba(14, 165, 164, 0.1);
    border-radius: 22px;
    color: var(--primary-strong);
    display: inline-flex;
    font-size: 1.4rem;
    height: 3.6rem;
    justify-content: center;
    width: 3.6rem;
}

.article-shell {
    display: grid;
    gap: 1.35rem;
    grid-template-columns: minmax(0, 1.45fr) 20rem;
}

.article-hero {
    display: grid;
    gap: 1.25rem;
    padding: 1.25rem;
}

.article-hero__media {
    border-radius: 28px;
    min-height: 0;
}

.article-hero__content {
    display: grid;
    gap: 0.85rem;
}

.article-hero__title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
    margin: 0;
}

.article-hero__dek {
    color: var(--text-soft);
    font-size: 1.08rem;
    margin: 0;
}

.article-rail {
    display: grid;
    gap: 1rem;
    height: fit-content;
    position: sticky;
    top: 7.5rem;
}

.share-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.share-chip {
    align-items: center;
    background: rgba(14, 165, 164, 0.08);
    border: 1px solid rgba(14, 165, 164, 0.14);
    border-radius: 999px;
    color: var(--primary-strong);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 800;
    gap: 0.45rem;
    height: 2.5rem;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0;
    width: 2.5rem;
}

.share-chip:hover {
    background: rgba(14, 165, 164, 0.16);
    color: var(--primary-strong);
}

.share-chip i {
    line-height: 1;
}

.social-icon-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.social-icon-link {
    align-items: center;
    background: rgba(14, 165, 164, 0.08);
    border: 1px solid rgba(14, 165, 164, 0.14);
    border-radius: 999px;
    color: var(--primary-strong);
    display: inline-flex;
    font-size: 1rem;
    height: 2.55rem;
    justify-content: center;
    width: 2.55rem;
}

.social-icon-link:hover {
    background: rgba(14, 165, 164, 0.16);
    color: var(--primary-strong);
}

.article-content-card {
    padding: 0 1.25rem 1.25rem;
}

.article-prose {
    color: var(--text);
    font-size: 1.04rem;
    line-height: 1.88;
}

.article-prose > * + * {
    margin-top: 1.25rem;
}

.article-prose h2,
.article-prose h3,
.article-prose h4 {
    margin-top: 2rem;
}

.article-prose a {
    color: var(--primary-strong);
    font-weight: 700;
}

.article-prose blockquote {
    background: rgba(14, 165, 164, 0.06);
    border-left: 4px solid var(--primary);
    border-radius: 0 22px 22px 0;
    margin-inline: 0;
    padding: 1.3rem 1.4rem;
}

.article-prose img,
.article-prose iframe,
.article-prose video,
.article-prose table {
    border-radius: 24px;
    max-width: 100%;
}

.article-prose iframe,
.article-prose video {
    min-height: 18rem;
    width: 100%;
}

.article-prose table {
    background: var(--surface);
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
    width: 100%;
}

.article-prose table th,
.article-prose table td {
    border: 1px solid var(--border);
    padding: 0.75rem;
}

.article-prose .video-embed-wrap,
.article-prose .social-embed-wrap {
    overflow: hidden;
}

.article-prose .video-embed-wrap {
    aspect-ratio: 16 / 9;
}

.article-prose .video-embed-wrap iframe {
    border: 0;
    height: 100%;
    min-height: 100%;
    width: 100%;
}

.article-author {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 1.3rem;
}

.article-author__avatar {
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    border-radius: 22px;
    color: #fff;
    display: inline-flex;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    height: 4rem;
    justify-content: center;
    width: 4rem;
}

.article-nav-grid,
.related-grid,
.more-grid {
    display: grid;
    gap: 1rem;
}

.article-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-nav-card {
    align-items: center;
    display: grid;
    gap: 0.8rem;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 1rem 1.1rem;
}

.article-nav-card--reverse {
    grid-template-columns: minmax(0, 1fr) auto;
    text-align: right;
}

.article-nav-card__icon {
    align-items: center;
    background: rgba(14, 165, 164, 0.09);
    border-radius: 18px;
    color: var(--primary-strong);
    display: inline-flex;
    font-size: 1rem;
    height: 3rem;
    justify-content: center;
    width: 3rem;
}

.legal-article {
    padding: 1.6rem 1.65rem;
}

.legal-article .article-prose {
    font-size: 1rem;
}

.footer-shell {
    padding: 0 0 2rem;
}

.site-promo-shell {
    margin-bottom: 1.6rem;
}

.site-promo {
    align-items: center;
    background: linear-gradient(135deg, rgba(14, 165, 164, 0.08), rgba(255, 255, 255, 0.92));
    border-color: var(--border-strong);
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 1.5rem 1.75rem;
}

.site-promo__copy {
    display: grid;
    gap: 0.45rem;
}

.site-promo__copy h2 {
    font-size: clamp(1.3rem, 2.1vw, 1.8rem);
    margin: 0;
}

.site-promo__copy p {
    color: var(--text-soft);
    margin: 0;
    max-width: 36rem;
}

.site-button--youtube {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    min-width: 10.5rem;
}

.site-button--youtube:hover {
    box-shadow: 0 18px 32px rgba(239, 68, 68, 0.22);
}

html[data-theme="dark"] .site-promo {
    background: linear-gradient(135deg, rgba(79, 209, 197, 0.1), rgba(15, 23, 42, 0.92));
}

.footer-panel {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 1.25fr 0.9fr 0.9fr;
    padding: 1.8rem;
}

.footer-panel__brand {
    display: grid;
    gap: 1rem;
}

.footer-panel__brand p,
.footer-panel__group p {
    color: var(--text-soft);
    margin: 0;
}

.footer-links {
    display: grid;
    gap: 0.55rem;
}

.footer-links a {
    color: var(--text-soft);
    font-weight: 700;
}

.footer-status {
    align-items: center;
    background: rgba(14, 165, 164, 0.08);
    border: 1px solid rgba(14, 165, 164, 0.14);
    border-radius: 999px;
    display: inline-flex;
    gap: 0.65rem;
    justify-content: space-between;
    padding: 0.7rem 0.95rem;
}

.footer-status span {
    color: var(--text-soft);
    font-size: 0.85rem;
}

.footer-bottom {
    align-items: center;
    color: var(--text-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: space-between;
    margin-top: 0.95rem;
    padding: 0 0.2rem;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.footer-socials a,
.back-top {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--bg-contrast);
    display: inline-flex;
    height: 2.85rem;
    justify-content: center;
    width: 2.85rem;
}

.footer-socials a:hover,
.back-top:hover {
    background: rgba(14, 165, 164, 0.1);
    color: var(--primary-strong);
}

.auth-body {
    background:
        radial-gradient(circle at top left, rgba(14, 165, 164, 0.18), transparent 32%),
        radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.12), transparent 28%),
        var(--bg);
    min-height: 100vh;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(24rem, 32rem);
    gap: 1.25rem;
    min-height: 100vh;
    padding: 1rem;
}

.auth-showcase {
    align-items: end;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(14, 165, 164, 0.72));
    border-radius: 34px;
    color: #fff;
    display: grid;
    overflow: hidden;
    padding: 2rem;
    position: relative;
}

.auth-showcase::before {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.2), transparent 24%),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 20%);
    content: "";
    inset: 0;
    position: absolute;
}

.auth-showcase__content {
    display: grid;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.auth-showcase__eyebrow {
    letter-spacing: 0.18em;
    opacity: 0.82;
    text-transform: uppercase;
}

.auth-showcase__title {
    color: #fff;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 0.96;
    margin: 0;
}

.auth-showcase__stats {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auth-stat {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 22px;
    padding: 0.95rem;
}

.auth-stat strong {
    color: #fff;
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
}

.auth-card {
    align-items: center;
    display: grid;
    justify-items: stretch;
    padding: 1rem 0;
}

.auth-card__panel {
    display: grid;
    gap: 1.2rem;
    padding: 1.8rem;
    width: min(100%, 32rem);
}

.auth-card__head {
    display: grid;
    gap: 0.5rem;
}

.auth-card__logo {
    align-items: center;
    background: rgba(14, 165, 164, 0.08);
    border: 1px solid rgba(14, 165, 164, 0.14);
    border-radius: 14px;
    display: inline-flex;
    height: 3.2rem;
    justify-content: center;
    margin-bottom: 0.35rem;
    padding: 0.55rem 0.75rem;
    width: fit-content;
}

.auth-card__logo img {
    display: block;
    height: auto;
    max-height: 1.9rem;
    max-width: 8.5rem;
    object-fit: contain;
}

.auth-card__eyebrow {
    color: var(--primary-strong);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.auth-card__title {
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
    margin: 0;
}

.auth-card__text {
    color: var(--text-soft);
    margin: 0;
}

.auth-form {
    display: grid;
    gap: 0.9rem;
}

.auth-form__group {
    display: grid;
    gap: 0.45rem;
}

.auth-form__label {
    color: var(--bg-contrast);
    font-size: 0.88rem;
    font-weight: 800;
}

.auth-form__inline {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
}

.auth-form__checkbox {
    align-items: center;
    display: inline-flex;
    gap: 0.55rem;
}

.auth-form__alert {
    border-radius: 18px;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.95rem 1rem;
}

.auth-form__alert--success {
    background: rgba(16, 185, 129, 0.12);
    color: #065f46;
}

.auth-form__alert--error {
    background: rgba(239, 68, 68, 0.12);
    color: #991b1b;
}

html[data-theme="dark"] .auth-form__alert--success {
    color: #b7f7df;
}

html[data-theme="dark"] .auth-form__alert--error {
    color: #fecaca;
}

.toggle-password {
    background: transparent;
    border: 0;
    color: var(--text-soft);
    cursor: pointer;
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
}

.field-with-icon {
    position: relative;
}

.ad-slot {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.ad-slot::before,
.ad-slot::after {
    color: var(--text-faint);
    content: attr(data-ad-code);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    opacity: 0.72;
    pointer-events: none;
    position: absolute;
    text-transform: uppercase;
    top: 3.4rem;
    writing-mode: vertical-rl;
    z-index: 1;
}

.ad-slot::before {
    left: 0.28rem;
    transform: rotate(180deg);
}

.ad-slot::after {
    right: 0.28rem;
}

.ad-slot-header {
    align-items: center;
    background: rgba(14, 165, 164, 0.06);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: center;
    min-height: 2.8rem;
}

.ad-slot-label {
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ad-slot-content {
    min-height: 6.5rem;
    padding: 1rem 1.7rem;
}

.sticky-sidebar {
    position: sticky;
    top: 7.4rem;
}

.copy-toast {
    background: rgba(16, 185, 129, 0.95);
    border-radius: 999px;
    bottom: 1rem;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    left: 50%;
    opacity: 0;
    padding: 0.8rem 1rem;
    pointer-events: none;
    position: fixed;
    transform: translateX(-50%) translateY(1rem);
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 1200;
}

.copy-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 1499.98px) {
    .news-grid,
    .news-grid--cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1199.98px) {
    .content-grid {
        grid-template-columns: minmax(0, 1fr) 18rem;
    }

    .article-rail {
        position: static;
    }

    .article-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 991.98px) {
    .site-shell,
    .site-shell--wide {
        width: min(100%, calc(100% - 1rem));
    }

    .content-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sticky-sidebar {
        position: static;
    }

    .site-header__bar {
        display: grid;
        gap: 0.9rem;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .site-header__nav {
        display: none;
    }

    .header-spotlight {
        display: none;
    }

    .hero-grid,
    .hero-story,
    .auth-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-story {
        min-height: auto;
    }

    .story-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-main {
        padding-top: 1.4rem;
    }

    .auth-showcase {
        min-height: 22rem;
    }

    .site-promo {
        grid-template-columns: minmax(0, 1fr);
    }

    .news-grid,
    .news-grid--cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .site-header {
        padding-top: 0.6rem;
    }

    .site-header__bar,
    .site-panel,
    .footer-panel,
    .auth-card__panel,
    .auth-showcase {
        padding: 1rem;
    }

    .theme-switcher {
        width: 100%;
    }

    .theme-switcher__button {
        flex: 1 1 0;
        justify-content: center;
        padding-inline: 0.35rem;
    }

    .site-header__utility {
        flex-wrap: nowrap;
        width: auto;
    }

    .site-button {
        width: 100%;
    }

    .search-modal__card {
        margin-top: 5rem;
        padding: 0.8rem;
    }

    .search-modal__form {
        grid-template-columns: 1fr;
    }

    .live-card {
        flex-basis: 16.5rem;
    }

    .story-tiles,
    .news-grid--cards,
    .article-nav-grid,
    .footer-panel,
    .auth-showcase__stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .news-grid,
    .news-grid--cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .story-tile {
        grid-template-columns: minmax(0, 1fr);
    }

    .story-tile__media {
        min-height: 0;
    }

    .contact-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ad-slot::before,
    .ad-slot::after {
        display: none;
    }

    .article-hero__media {
        min-height: 0;
    }

    .page-link,
    .page-item span {
        min-width: 2.45rem;
        padding-inline: 0.7rem;
    }
}

@media (max-width: 575.98px) {
    .news-grid,
    .news-grid--cards {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Final requested polish: desktop dropdowns, single-line chips, captions, embeds, ads and clickable hero */
.site-header,
.site-header__bar,
.site-header__nav,
.header-menu-item {
    overflow: visible !important;
}

.site-header__nav {
    position: relative;
    z-index: 1050;
}

.header-menu-item {
    z-index: 1060;
}

.header-menu-item__dropdown {
    background: var(--surface) !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22) !important;
    color: var(--bg-contrast);
    left: 0;
    max-height: min(70vh, 28rem);
    overflow-y: auto;
    right: auto;
    top: calc(100% + 0.25rem);
    z-index: 5000 !important;
}

.header-menu-item__dropdown a {
    color: var(--bg-contrast) !important;
    justify-content: flex-start;
    white-space: nowrap;
}

html[data-theme="dark"] .header-menu-item__dropdown {
    background: #0f172a !important;
    border-color: rgba(148, 163, 184, 0.28) !important;
}

.chip-row {
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden;
}

.chip-row .chip,
.chip,
.tag-chip {
    flex: 0 0 auto;
    max-width: none;
    white-space: nowrap !important;
}

.hero-story--feature {
    cursor: pointer;
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: auto;
}

.hero-story--feature .hero-story__media {
    border-radius: 26px 26px 0 0;
}

.hero-story--feature .hero-story__content {
    padding: 1.25rem 1.35rem 1.5rem;
}

.hero-story--feature .story-title {
    font-size: clamp(1.85rem, 3vw, 3rem);
}

.image-caption-toggle {
    background: rgba(14, 165, 164, 0.07);
    border: 1px solid rgba(14, 165, 164, 0.16);
    border-radius: 18px;
    color: var(--text-soft);
    margin-top: 0.85rem;
    padding: 0.75rem 0.9rem;
}

.image-caption-toggle summary {
    align-items: center;
    color: var(--bg-contrast);
    cursor: pointer;
    display: flex;
    font-size: 0.82rem;
    font-weight: 900;
    justify-content: space-between;
    letter-spacing: 0.08em;
    list-style: none;
    text-transform: uppercase;
}

.image-caption-toggle summary::-webkit-details-marker {
    display: none;
}

.image-caption-toggle[open] summary i {
    transform: rotate(45deg);
}

.image-caption-toggle p {
    margin: 0.65rem 0 0;
}

.image-caption-toggle--article {
    margin: 0.85rem 1.25rem 0;
}

.image-caption-toggle--form {
    margin-top: 1rem;
}

.video-embed-wrap,
.social-embed-wrap {
    aspect-ratio: 16 / 9;
    background: #020617;
    border-radius: 22px;
    overflow: hidden;
    width: 100%;
}

.video-embed-wrap iframe,
.social-embed-wrap iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}

.video-embed-wrap--hero,
.social-embed-wrap--hero {
    border-radius: inherit;
    height: 100%;
}

.article-prose .video-embed-wrap,
.article-prose .social-embed-wrap,
.article-prose .twitter-tweet,
.article-prose .instagram-media,
.article-prose .tiktok-embed {
    margin: 1.5rem auto;
    max-width: 100%;
    overflow-x: auto;
}

.submission-form {
    display: grid;
    gap: 1rem;
}

.submission-form label {
    color: var(--bg-contrast);
    display: grid;
    font-weight: 800;
    gap: 0.45rem;
}

.submission-form input,
.submission-form textarea {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--bg-contrast);
    padding: 0.85rem 1rem;
    width: 100%;
}

.ad-slot,
.ad-slot-content,
.ad-slot-content ins,
.ad-slot-content iframe {
    max-width: 100%;
}

.ad-slot-content {
    align-items: center;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .ad-slot-content {
        min-height: 4.8rem;
        padding: 0.75rem;
    }

    .hero-story--feature .hero-story__content {
        padding: 1rem;
    }

    .story-actions .site-button {
        width: 100%;
    }
}

/* May 2026 final polish: clean hero, in-image captions, floating video, submissions, tag/404 pages */
.hero-story--feature .hero-story__content .story-title {
    margin: 0;
}

.hero-story--feature .hero-story__content {
    display: block;
}

.article-hero__media {
    position: relative;
    overflow: hidden;
}

.image-caption-toggle--inside-media {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    margin: 0 !important;
    max-height: 55%;
    overflow: auto;
    background: rgba(2, 8, 23, 0.72);
    border-color: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    z-index: 8;
}

.image-caption-toggle--inside-media summary {
    color: #ffffff;
}

.image-caption-toggle--inside-media p {
    color: rgba(255, 255, 255, 0.9);
}

.floating-video-card {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    width: min(430px, calc(100vw - 1.5rem));
    background: #000;
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
    z-index: 7000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px) scale(.98);
    transition: opacity .22s ease, transform .22s ease;
}

.floating-video-card.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.floating-video-card__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.floating-video-card__media .video-embed-wrap,
.floating-video-card__media .social-embed-wrap,
.floating-video-card__media iframe {
    border-radius: 0 !important;
    height: 100% !important;
    width: 100% !important;
}

.floating-video-card__close {
    position: absolute;
    right: .55rem;
    top: .55rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.floating-video-card__actions {
    position: absolute;
    right: .55rem;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    gap: .45rem;
    z-index: 3;
}

.floating-video-card__next,
.floating-video-card__stay {
    border: 2px solid rgba(255,255,255,.75);
    border-radius: 10px;
    background: rgba(0,0,0,.72);
    color: #fff !important;
    font-weight: 900;
    padding: .42rem 1rem;
    min-width: 5.4rem;
    text-align: center;
    box-shadow: 0 0 12px rgba(255,255,255,.35);
}

.floating-video-card__next {
    background: linear-gradient(135deg, #ff4f7c, #ff275f);
}

.submit-article-hero {
    background: radial-gradient(circle at top left, rgba(14,165,164,.2), transparent 36%), linear-gradient(135deg, var(--surface), var(--surface-strong));
}

.submission-form small {
    color: var(--text-soft);
    font-weight: 600;
}

.kisure-empty-state,
.kisure-error-page,
.kisure-tag-hero {
    text-align: center;
}

.kisure-error-code {
    font-size: clamp(5rem, 18vw, 12rem);
    font-weight: 900;
    line-height: .8;
    letter-spacing: -.08em;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
    text-shadow: 0 24px 70px rgba(14,165,164,.24);
}

.kisure-tag-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.kisure-tag-stat {
    padding: 1rem;
    border-radius: 20px;
    background: var(--surface-strong);
    border: 1px solid var(--border);
}

@media (max-width: 767.98px) {
    .floating-video-card {
        right: .75rem;
        bottom: .75rem;
        width: min(360px, calc(100vw - 1.5rem));
    }
    .floating-video-card__actions {
        right: .45rem;
    }
    .floating-video-card__next,
    .floating-video-card__stay {
        min-width: 4.8rem;
        padding: .32rem .7rem;
    }
    .image-caption-toggle--inside-media {
        left: .65rem;
        right: .65rem;
        bottom: .65rem;
        padding: .6rem .7rem;
    }
    .kisure-tag-stat-grid {
        grid-template-columns: 1fr;
    }
}


/* May 2026 follow-up refinement: single submit page, balanced homepage hero, stronger floating player */
.hero-grid {
    align-items: stretch;
    grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.95fr);
}

.hero-story--feature {
    align-content: start;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
}

.hero-story--feature .hero-story__media {
    aspect-ratio: 16 / 9;
    border-radius: 26px 26px 0 0;
}

.hero-story--feature .hero-story__content {
    display: grid;
    gap: 0.75rem;
    padding: 1.2rem 0.2rem 0;
}

.hero-story--feature .story-title {
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.05;
}

.story-tiles {
    grid-auto-rows: minmax(0, 1fr);
}

.story-tile {
    align-items: stretch;
    min-height: 9rem;
}

.floating-video-card {
    border-radius: 18px;
    inset: auto 1rem 1rem auto;
    left: auto !important;
    margin: 0 !important;
    max-height: calc(100vh - 2rem);
    overflow: hidden;
    top: auto !important;
    width: min(420px, calc(100vw - 2rem));
}

.floating-video-card__media {
    background: #000;
}

.floating-video-card__media .video-embed-wrap,
.floating-video-card__media .social-embed-wrap {
    margin: 0 !important;
}

.submission-form {
    display: grid;
    gap: 1rem;
}

.submission-form label {
    display: grid;
    gap: 0.45rem;
    font-weight: 700;
}

.submission-form input,
.submission-form textarea,
.submission-form select {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--bg-contrast);
    min-height: 3rem;
    padding: 0.85rem 1rem;
    width: 100%;
}

.submission-form textarea {
    min-height: 8rem;
    resize: vertical;
}

.submission-form input[type='file'] {
    padding: 0.9rem;
}

@media (max-width: 991.98px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-story--feature .hero-story__content {
        padding-top: 1rem;
    }
}

@media (max-width: 640px) {
    .floating-video-card {
        inset: auto .65rem .65rem .65rem;
        max-height: calc(100vh - 1.3rem);
        width: auto;
    }

    .floating-video-card__actions {
        right: .45rem;
        top: auto;
        bottom: .55rem;
        transform: none;
    }

    .floating-video-card__next,
    .floating-video-card__stay {
        backdrop-filter: blur(6px);
        min-width: 4.45rem;
        padding: .34rem .65rem;
    }
}

/* May 2026 final user-request polish: football.london style drop-down, balanced hero, contact + author pages */
.hero-grid {
    align-items: stretch;
    grid-template-columns: minmax(0, 1.38fr) minmax(20rem, 0.9fr);
}

.hero-story--feature {
    min-height: 0 !important;
    overflow: visible;
}

.hero-story--feature .hero-story__media {
    aspect-ratio: 16 / 9;
    border-radius: 28px 28px 0 0;
}

.hero-story--feature .hero-story__content {
    background: linear-gradient(180deg, var(--surface), var(--surface-strong));
    border-radius: 0 0 28px 28px;
    padding: clamp(1rem, 2vw, 1.55rem);
}

.hero-story--feature .story-title {
    font-size: clamp(2rem, 3.3vw, 3.35rem);
    line-height: 1.02;
    max-width: 18ch;
    overflow-wrap: anywhere;
}

.story-tiles {
    align-content: stretch;
    display: grid;
    gap: 1rem;
    grid-auto-rows: minmax(9.5rem, auto);
}

.story-tile {
    align-items: center;
    grid-template-columns: minmax(8.5rem, 36%) minmax(0, 1fr);
    min-height: 9.5rem;
    overflow: visible;
    padding: 1rem;
}

.story-tile__content {
    min-width: 0;
    overflow: visible;
}

.story-title--sm {
    display: block;
    font-size: clamp(0.98rem, 1.05vw, 1.12rem);
    line-height: 1.22;
    margin: 0;
    overflow-wrap: anywhere;
    white-space: normal;
}

.floating-video-card {
    background: #050505;
    border-radius: 20px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .34), 0 0 0 1px rgba(255,255,255,.14);
    isolation: isolate;
    overflow: visible;
    right: 1.1rem !important;
    bottom: 1.1rem !important;
    top: auto !important;
    left: auto !important;
    transform: translateY(28px) scale(.96);
    width: min(430px, calc(100vw - 2rem));
}

.floating-video-card::before {
    content: "Featured";
    position: absolute;
    left: 1rem;
    top: -2.45rem;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 999px;
    color: #0f172a;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .08em;
    padding: .45rem .85rem;
    text-transform: uppercase;
    box-shadow: 0 10px 28px rgba(0,0,0,.16);
}

.floating-video-card.is-visible {
    transform: translateY(0) scale(1);
}

.floating-video-card__media {
    border-radius: 20px;
    overflow: hidden;
}

.floating-video-card__actions {
    right: .7rem;
}

.floating-video-card__next,
.floating-video-card__stay {
    border-radius: 12px;
    min-width: 5.25rem;
}

.contact-layout {
    align-items: start;
}

.contact-card__list > div {
    align-items: center;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1rem;
}

.contact-card__list span {
    color: var(--text-soft);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .76rem;
}

.contact-card__list strong {
    color: var(--bg-contrast);
    text-align: right;
    overflow-wrap: anywhere;
}

.author-page .author-hero {
    align-items: center;
    display: grid;
    gap: clamp(1.2rem, 3vw, 2rem);
    grid-template-columns: auto minmax(0, 1fr);
}

.author-hero__avatar-wrap {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 32px;
    padding: .4rem;
    box-shadow: var(--shadow-sm);
}

.author-hero__avatar {
    border: 5px solid var(--surface);
    border-radius: 28px;
    display: block;
    height: clamp(8.5rem, 16vw, 13rem);
    object-fit: cover;
    width: clamp(8.5rem, 16vw, 13rem);
}

.author-hero__content {
    display: grid;
    gap: .95rem;
}

.author-meta-grid {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.author-meta-grid > div {
    background: rgba(14, 165, 164, .07);
    border: 1px solid rgba(14, 165, 164, .12);
    border-radius: 18px;
    padding: .9rem 1rem;
}

.author-meta-grid span {
    color: var(--text-soft);
    display: block;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.author-meta-grid strong {
    color: var(--bg-contrast);
    display: block;
    margin-top: .25rem;
}

.author-socials {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.author-socials a {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--primary-strong);
    display: inline-flex;
    height: 2.75rem;
    justify-content: center;
    width: 2.75rem;
}

.author-socials a:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
    transform: translateY(-2px);
}

.author-content-grid .news-grid--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1199.98px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .story-tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .story-tile {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .hero-story--feature .story-title {
        max-width: none;
    }
    .story-tiles,
    .author-content-grid .news-grid--cards {
        grid-template-columns: 1fr;
    }
    .floating-video-card {
        border-radius: 16px;
        bottom: .7rem !important;
        left: .7rem !important;
        right: .7rem !important;
        width: auto;
    }
    .floating-video-card::before {
        left: .8rem;
        top: -2.2rem;
    }
    .floating-video-card__actions {
        bottom: .6rem;
        right: .55rem;
        top: auto;
        transform: none;
    }
    .author-page .author-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .author-hero__avatar-wrap {
        justify-self: center;
    }
    .author-meta-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .author-socials {
        justify-content: center;
    }
    .contact-card__list > div {
        align-items: flex-start;
        flex-direction: column;
    }
    .contact-card__list strong {
        text-align: left;
    }
}


/* May 2026 V4: real fixed bottom-right mini player + smaller article hero */
@media (min-width: 992px) {
    .article-shell {
        grid-template-columns: minmax(0, 1fr) minmax(19rem, 21rem);
        gap: 1.25rem;
    }

    .article-hero {
        align-items: center;
        display: grid;
        gap: clamp(1rem, 2vw, 1.5rem);
        grid-template-columns: minmax(20rem, 0.92fr) minmax(0, 1.08fr);
        padding: clamp(1rem, 1.8vw, 1.35rem);
    }

    .article-hero__media {
        aspect-ratio: 16 / 9;
        border-radius: 24px;
        max-height: 390px;
    }

    .article-hero__content {
        gap: 0.65rem;
        min-width: 0;
    }

    .article-hero__title {
        font-size: clamp(2rem, 3.15vw, 3.15rem) !important;
        line-height: 1.04 !important;
        overflow-wrap: anywhere;
    }

    .article-hero__dek {
        font-size: clamp(1rem, 1.2vw, 1.12rem);
        line-height: 1.65;
    }
}

@media (min-width: 1200px) {
    .article-hero__media {
        max-height: 360px;
    }
}

/* Homepage hero: cleaner cards, no clipping */
.hero-grid {
    grid-template-columns: minmax(0, 1.42fr) minmax(19rem, .88fr) !important;
}

.hero-story--feature .story-title {
    max-width: 100% !important;
    font-size: clamp(1.75rem, 2.55vw, 2.85rem) !important;
    line-height: 1.08 !important;
}

.hero-story--feature .hero-story__media {
    aspect-ratio: 16 / 8.4 !important;
}

.story-tiles {
    grid-auto-rows: minmax(8rem, 1fr) !important;
}

.story-tile {
    border-radius: 24px !important;
    grid-template-columns: minmax(7.8rem, 35%) minmax(0, 1fr) !important;
    min-height: 8rem !important;
    padding: .85rem !important;
}

.story-tile__media {
    border-radius: 18px !important;
}

.story-title--sm {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    display: -webkit-box !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

/* Force the featured mini-player to be viewport-fixed at the bottom-right. */
body > .floating-video-card {
    bottom: 22px !important;
    left: auto !important;
    position: fixed !important;
    right: 22px !important;
    top: auto !important;
    width: min(340px, calc(100vw - 44px)) !important;
    z-index: 2147483000 !important;
    border-radius: 12px !important;
    overflow: visible !important;
    background: #000 !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    box-shadow: 0 12px 38px rgba(0,0,0,.35) !important;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px) scale(.98) !important;
    transition: opacity .2s ease, transform .2s ease !important;
}

body > .floating-video-card.is-visible {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

body > .floating-video-card::before {
    display: none !important;
}

body > .floating-video-card .floating-video-card__media {
    aspect-ratio: 16 / 9 !important;
    border-radius: 12px !important;
    height: auto !important;
    overflow: hidden !important;
    width: 100% !important;
}

body > .floating-video-card .floating-video-card__media > *,
body > .floating-video-card .floating-video-card__media .video-embed-wrap,
body > .floating-video-card .floating-video-card__media .social-embed-wrap,
body > .floating-video-card .floating-video-card__media iframe {
    aspect-ratio: auto !important;
    border-radius: 0 !important;
    display: block !important;
    height: 100% !important;
    margin: 0 !important;
    min-height: 0 !important;
    width: 100% !important;
}

body > .floating-video-card .floating-video-card__close {
    background: #fff !important;
    border: 1px solid rgba(15,23,42,.28) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.26) !important;
    color: #111827 !important;
    right: -10px !important;
    top: -12px !important;
}

body > .floating-video-card .floating-video-card__actions {
    bottom: auto !important;
    display: grid !important;
    gap: .45rem !important;
    position: absolute !important;
    right: .55rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
}

body > .floating-video-card .floating-video-card__next,
body > .floating-video-card .floating-video-card__stay {
    border: 2px solid rgba(255,255,255,.78) !important;
    border-radius: 9px !important;
    box-shadow: 0 0 12px rgba(255,255,255,.28) !important;
    color: #fff !important;
    font-size: .88rem !important;
    font-weight: 900 !important;
    min-width: 4.85rem !important;
    padding: .36rem .7rem !important;
}

body > .floating-video-card .floating-video-card__next {
    background: linear-gradient(135deg, #ff5f8e, #ef174d) !important;
}

body > .floating-video-card .floating-video-card__stay {
    background: rgba(0,0,0,.72) !important;
}

@media (max-width: 991.98px) {
    .hero-grid {
        grid-template-columns: 1fr !important;
    }

    .article-hero {
        padding: 1rem !important;
    }

    .article-hero__media {
        aspect-ratio: 16 / 9 !important;
        max-height: none !important;
    }

    .article-hero__title {
        font-size: clamp(1.85rem, 8vw, 2.65rem) !important;
    }
}

@media (max-width: 560px) {
    body > .floating-video-card {
        bottom: 12px !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
    }

    body > .floating-video-card .floating-video-card__actions {
        right: .45rem !important;
    }

    body > .floating-video-card .floating-video-card__next,
    body > .floating-video-card .floating-video-card__stay {
        min-width: 4.25rem !important;
        padding: .3rem .55rem !important;
    }
}


/* v6 final: restore article hero full-width layout while keeping the fixed bottom-right mini-player. */
.article-shell .article-hero {
    align-items: initial !important;
    display: grid !important;
    gap: 1.25rem !important;
    grid-template-columns: 1fr !important;
    padding: 1.25rem !important;
}

.article-shell .article-hero__media {
    aspect-ratio: 16 / 9 !important;
    border-radius: 28px !important;
    max-height: none !important;
    min-height: 0 !important;
}

.article-shell .article-hero__content {
    display: grid !important;
    gap: 0.85rem !important;
    min-width: 0 !important;
}

.article-shell .article-hero__title {
    font-size: clamp(2rem, 4vw, 3.4rem) !important;
    line-height: 1.02 !important;
    margin: 0 !important;
    overflow-wrap: normal !important;
}

.article-shell .article-hero__dek {
    color: var(--text-soft) !important;
    font-size: 1.08rem !important;
    line-height: inherit !important;
    margin: 0 !important;
}

body > .floating-video-card .floating-video-card__media:empty {
    display: none !important;
}


/* v8 final floating video fix: remove Next/Stay controls and force the same original video outside the article container. */
.floating-video-card__actions,
.floating-video-card__next,
.floating-video-card__stay {
    display: none !important;
}

body > .floating-video-card {
    background: #000 !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 14px !important;
    bottom: 22px !important;
    box-shadow: 0 16px 42px rgba(0,0,0,.38) !important;
    left: auto !important;
    opacity: 0 !important;
    overflow: visible !important;
    pointer-events: none !important;
    position: fixed !important;
    right: 22px !important;
    top: auto !important;
    transform: translate3d(0, 18px, 0) scale(.98) !important;
    transition: opacity .2s ease, transform .2s ease !important;
    width: min(360px, calc(100vw - 44px)) !important;
    z-index: 2147483647 !important;
}

body > .floating-video-card.is-visible {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
}

body > .floating-video-card .floating-video-card__media {
    aspect-ratio: 16 / 9 !important;
    border-radius: 14px !important;
    height: auto !important;
    overflow: hidden !important;
    width: 100% !important;
}

body > .floating-video-card .article-hero__media.is-floating-video-source {
    aspect-ratio: 16 / 9 !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: relative !important;
    width: 100% !important;
}

body > .floating-video-card .article-hero__media.is-floating-video-source::before,
body > .floating-video-card .article-hero__media.is-floating-video-source::after {
    display: none !important;
}

body > .floating-video-card .article-hero__media.is-floating-video-source > *,
body > .floating-video-card .article-hero__media.is-floating-video-source .video-embed-wrap,
body > .floating-video-card .article-hero__media.is-floating-video-source .social-embed-wrap,
body > .floating-video-card .article-hero__media.is-floating-video-source iframe {
    border-radius: 0 !important;
    display: block !important;
    height: 100% !important;
    margin: 0 !important;
    min-height: 0 !important;
    width: 100% !important;
}

body > .floating-video-card .floating-video-card__close {
    align-items: center !important;
    background: #fff !important;
    border: 1px solid rgba(15,23,42,.24) !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.28) !important;
    color: #111827 !important;
    display: inline-flex !important;
    height: 34px !important;
    justify-content: center !important;
    position: absolute !important;
    right: -10px !important;
    top: -12px !important;
    width: 34px !important;
    z-index: 5 !important;
}

.featured-video-placeholder {
    border-radius: 28px !important;
    width: 100% !important;
}

@media (max-width: 560px) {
    body > .floating-video-card {
        bottom: 12px !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
    }
}

/* v10 playback-safe floating video: the iframe is mounted once and only repositioned. */
body > .floating-video-card.is-inline {
    background: transparent !important;
    border: 0 !important;
    border-radius: 28px !important;
    bottom: auto !important;
    box-shadow: none !important;
    left: var(--floating-video-inline-left, 0) !important;
    opacity: 1 !important;
    overflow: hidden !important;
    pointer-events: auto !important;
    position: fixed !important;
    right: auto !important;
    top: var(--floating-video-inline-top, 0) !important;
    transform: none !important;
    transition: none !important;
    width: var(--floating-video-inline-width, 100%) !important;
    z-index: 30 !important;
}

body > .floating-video-card.is-inline .floating-video-card__close {
    display: none !important;
}

body > .floating-video-card.is-inline .floating-video-card__media,
body > .floating-video-card.is-inline .article-hero__media.is-floating-video-source {
    aspect-ratio: 16 / 9 !important;
    border-radius: 28px !important;
    height: auto !important;
    overflow: hidden !important;
    width: 100% !important;
}

body > .floating-video-card.is-inline .article-hero__media.is-floating-video-source > *,
body > .floating-video-card.is-inline .article-hero__media.is-floating-video-source .video-embed-wrap,
body > .floating-video-card.is-inline .article-hero__media.is-floating-video-source .social-embed-wrap,
body > .floating-video-card.is-inline .article-hero__media.is-floating-video-source iframe,
body > .floating-video-card.is-visible .article-hero__media.is-floating-video-source > *,
body > .floating-video-card.is-visible .article-hero__media.is-floating-video-source .video-embed-wrap,
body > .floating-video-card.is-visible .article-hero__media.is-floating-video-source .social-embed-wrap,
body > .floating-video-card.is-visible .article-hero__media.is-floating-video-source iframe {
    display: block !important;
    height: 100% !important;
    margin: 0 !important;
    min-height: 0 !important;
    width: 100% !important;
}

body > .floating-video-card.is-visible {
    bottom: 22px !important;
    left: auto !important;
    position: fixed !important;
    right: 22px !important;
    top: auto !important;
    z-index: 2147483647 !important;
}

@media (max-width: 560px) {
    body > .floating-video-card.is-visible {
        bottom: 12px !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
    }
}

/* v12 mobile/tablet floating video support. */
@media (max-width: 991.98px) {
    .featured-video-placeholder {
        aspect-ratio: 16 / 9 !important;
        min-height: 180px !important;
    }

    body > .floating-video-card.is-inline {
        border-radius: 24px !important;
        width: min(var(--floating-video-inline-width, calc(100vw - 24px)), calc(100vw - 24px)) !important;
        z-index: 60 !important;
    }

    body > .floating-video-card.is-inline .floating-video-card__media,
    body > .floating-video-card.is-inline .article-hero__media.is-floating-video-source {
        border-radius: 24px !important;
        min-height: 180px !important;
    }

    body > .floating-video-card.is-visible {
        bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
        left: auto !important;
        right: 12px !important;
        top: auto !important;
        width: min(340px, calc(100vw - 24px)) !important;
        z-index: 2147483647 !important;
    }

    body > .floating-video-card.is-visible .floating-video-card__media,
    body > .floating-video-card.is-visible .article-hero__media.is-floating-video-source {
        min-height: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .featured-video-placeholder {
        min-height: 170px !important;
    }

    body > .floating-video-card.is-inline {
        left: 12px !important;
        right: 12px !important;
        width: calc(100vw - 24px) !important;
    }

    body > .floating-video-card.is-visible {
        bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
    }
}

/* v17 article readability fixes */
.article-content-card { padding: 1.35rem 1.45rem !important; }
.article-prose { max-width: 860px; margin-inline: auto; white-space: normal; overflow-wrap: anywhere; }
.article-prose p { margin: 0 0 1.15rem; }
.news-card__media img,
.article-hero__media img { object-fit: cover; width: 100%; height: 100%; }
@media (max-width: 767.98px) { .article-content-card { padding: 1rem !important; } }

/* v20 newsroom media formats + notification prompt */
.story-badge-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.story-badge--media {
    background: rgba(2, 8, 23, .08);
    color: var(--bg-contrast);
}

.media-type-chip {
    align-items: center;
    background: rgba(2, 8, 23, .82);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 900;
    gap: .4rem;
    left: .85rem;
    letter-spacing: .01em;
    padding: .45rem .7rem;
    position: absolute;
    top: .85rem;
    z-index: 4;
}

.media-type-chip--sm {
    font-size: .72rem;
    padding: .34rem .55rem;
}

.video-embed-wrap video {
    background: #000;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.article-gallery {
    padding: 1.25rem;
}

.article-gallery__grid {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-gallery__item {
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin: 0;
    overflow: hidden;
}

.article-gallery__item a {
    aspect-ratio: 4 / 3;
    display: block;
}

.article-gallery__item picture,
.article-gallery__item img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.article-gallery__item figcaption {
    color: var(--text-soft);
    font-size: .84rem;
    line-height: 1.45;
    padding: .75rem .85rem;
}

.media-section {
    border-top: 1px solid var(--border);
    margin-top: .5rem;
    padding-top: 1.25rem;
}

.news-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.notification-subscribe-modal {
    align-items: center;
    background: rgba(2, 8, 23, .42);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 1rem;
    pointer-events: none;
    position: fixed;
    transition: opacity .18s ease;
    z-index: 9000;
}

.notification-subscribe-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.notification-subscribe-modal__card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(2, 8, 23, .24);
    color: #0f2238;
    max-width: 720px;
    padding: 2rem;
    transform: translateY(10px);
    transition: transform .18s ease;
    width: min(100%, 720px);
}

.notification-subscribe-modal.is-open .notification-subscribe-modal__card {
    transform: translateY(0);
}

.notification-subscribe-modal__header {
    align-items: center;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 120px minmax(0, 1fr);
}

.notification-subscribe-modal__logo {
    max-height: 82px;
    max-width: 120px;
    object-fit: contain;
}

.notification-subscribe-modal__header h2 {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 500;
    line-height: 1.45;
    margin: 0;
}

.notification-subscribe-modal__grid {
    display: grid;
    gap: 1.35rem 2.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 3rem 0 2.4rem;
}

.notification-topic {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 1rem;
    margin: 0;
}

.notification-topic input {
    position: absolute;
    opacity: 0;
}

.notification-topic span {
    align-items: center;
    background: #0b7fd3;
    border-radius: 5px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 36px;
    font-size: 1.35rem;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.notification-topic input:not(:checked) + span {
    background: #e7eef5;
    color: transparent;
}

.notification-topic strong {
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 500;
}

.notification-subscribe-modal__actions {
    align-items: center;
    display: flex;
    gap: 1.25rem;
    justify-content: flex-end;
}

.notification-link-button {
    background: transparent;
    border: 0;
    color: #0877c7;
    font-size: 1.05rem;
    font-weight: 700;
    padding: .8rem 1rem;
}

@media (max-width: 767.98px) {
    .article-gallery__grid,
    .news-grid--compact,
    .notification-subscribe-modal__grid,
    .notification-subscribe-modal__header {
        grid-template-columns: 1fr;
    }

    .notification-subscribe-modal__card {
        padding: 1.25rem;
    }

    .notification-subscribe-modal__grid {
        margin: 1.6rem 0;
    }
}

/* v23 contact page polish + article mid advert */
.contact-showcase {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: start;
}
.contact-intro-card,
.contact-form-card {
    padding: clamp(1.2rem, 2vw, 1.7rem);
}
.contact-intro-card {
    background:
        radial-gradient(circle at top right, rgba(14,165,164,.16), transparent 32%),
        var(--surface);
}
.contact-intro-card h2 {
    color: var(--bg-contrast);
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    margin: .35rem 0 1rem;
}
.contact-intro-copy {
    margin-bottom: 1.2rem;
}
.contact-quick-grid {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.contact-quick-card {
    background: rgba(14,165,164,.06);
    border: 1px solid rgba(14,165,164,.16);
    border-radius: 20px;
    color: inherit;
    display: grid;
    gap: .28rem;
    min-height: 7.4rem;
    padding: 1rem;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.contact-quick-card:hover {
    background: rgba(14,165,164,.1);
    border-color: rgba(14,165,164,.32);
    color: inherit;
    transform: translateY(-2px);
}
.contact-quick-card i {
    color: var(--primary-strong);
    font-size: 1.15rem;
}
.contact-quick-card span {
    color: var(--text-soft);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.contact-quick-card strong {
    color: var(--bg-contrast);
    font-size: .92rem;
    overflow-wrap: anywhere;
}
.contact-form-card h3 {
    color: var(--bg-contrast);
    font-family: var(--font-display);
    margin: .35rem 0 .45rem;
}
.contact-form-card__lead {
    color: var(--text-soft);
    margin-bottom: 1.15rem;
}
.contact-form label {
    display: grid;
    gap: .38rem;
}
.contact-form label span {
    color: var(--bg-contrast);
    font-size: .82rem;
    font-weight: 800;
}
.contact-form__message {
    margin-top: .85rem;
}
.ad-slot--article-mid {
    margin-block: .1rem;
}
@media (max-width: 991.98px) {
    .contact-showcase {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 767.98px) {
    .contact-quick-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* Continue-reading page shown once after article back navigation */
.continue-reading-intro {
    align-items: center;
    display: flex;
    gap: 1.25rem;
    justify-content: space-between;
    padding: clamp(1.2rem, 2vw, 1.7rem);
}
.continue-reading-intro h1 {
    color: var(--bg-contrast);
    font-size: clamp(1.45rem, 3vw, 2.25rem);
    margin: .2rem 0 .35rem;
}
.continue-reading-intro p {
    color: var(--text-soft);
    margin: 0;
}
.continue-reading-intro__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    justify-content: flex-end;
}
.continue-reading-feature-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.65fr) minmax(18rem, .8fr);
}
.continue-reading-trending {
    min-width: 0;
}
@media (max-width: 991.98px) {
    .continue-reading-intro {
        align-items: flex-start;
        flex-direction: column;
    }
    .continue-reading-intro__actions {
        justify-content: flex-start;
    }
    .continue-reading-feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* Homepage submission card */
.submit-story-card {
    padding: clamp(1.35rem, 2vw, 2rem);
    border-radius: 28px;
}
.submit-story-card .site-kicker {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: .55rem;
}
.submit-story-card .site-kicker::before {
    content: "";
    width: 54px;
    height: 1px;
    background: var(--accent, #0e7d79);
}
.submit-story-card h3 {
    font-size: clamp(1.45rem, 2vw, 2rem);
    margin-bottom: .75rem;
}
.submit-story-card p {
    color: var(--text-soft);
    margin-bottom: 1rem;
}
.submit-story-card a {
    color: var(--accent, #0e7d79);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
}

/* Archive inline adverts */
.archive-inline-ad {
    grid-column: 1 / -1;
    margin-block: .3rem;
}

/* Rebuilt homepage video showcase */
.video-showcase__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
    gap: 1rem;
}
.video-feature {
    overflow: hidden;
}
.video-feature__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.video-feature__media img {
    object-fit: cover;
}
.video-play-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: rgba(14, 125, 121, .95);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 34px rgba(0, 0, 0, .25);
}
.video-feature__body {
    padding: 1.15rem;
}
.video-feature__body h3 {
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    margin: .7rem 0 .45rem;
}
.video-rail {
    display: grid;
    gap: .8rem;
}
.video-rail__item {
    padding: .7rem;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: .8rem;
    align-items: center;
}
.video-rail__media {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}
.video-rail__media img {
    object-fit: cover;
}
.video-rail__media span {
    position: absolute;
    inset: auto auto .5rem .5rem;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(14, 125, 121, .95);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
}
.video-rail__item strong {
    display: block;
    line-height: 1.35;
}
.video-rail__item small {
    display: block;
    color: var(--text-soft);
    margin-top: .35rem;
}

/* Live articles */
.live-story-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: 999px;
    padding: .38rem .72rem;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
}
.live-story-pill.is-live {
    background: rgba(220, 38, 38, .12);
    color: #dc2626;
}
.live-story-pill.is-live i {
    animation: kisure-live-pulse 1.25s infinite;
}
.live-story-pill.is-ended {
    background: rgba(100, 116, 139, .15);
    color: #475569;
}
@keyframes kisure-live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .25; }
}
.live-blog-shell {
    padding: clamp(1rem, 2vw, 1.5rem);
}
.live-blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
}
.live-blog-header h2 {
    margin: .2rem 0 0;
}
.live-updates-feed {
    display: grid;
    gap: 1rem;
}
.live-update {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: .85rem;
}
.live-update__rail {
    position: relative;
}
.live-update__rail::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 0;
    bottom: -1rem;
    width: 2px;
    background: rgba(220, 38, 38, .18);
}
.live-update__rail span {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #dc2626;
    border: 5px solid #fff;
    box-shadow: 0 0 0 1px rgba(220, 38, 38, .15);
}
.live-update__card {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 24px;
    padding: 1rem;
    background: rgba(255, 255, 255, .72);
}
.live-update__meta {
    display: flex;
    gap: .7rem;
    color: var(--text-soft);
    font-size: .82rem;
    margin-bottom: .55rem;
}
.live-update__meta time {
    color: #dc2626;
    font-weight: 800;
}
.live-update__card h3 {
    font-size: 1.12rem;
    margin-bottom: .65rem;
}
.live-update__content > :last-child {
    margin-bottom: 0;
}
.live-update-ad {
    margin-left: 39px;
}
.live-empty-state {
    border-radius: 20px;
    padding: 1rem;
    background: rgba(15, 23, 42, .04);
    color: var(--text-soft);
}
.live-admin-updates {
    display: grid;
    gap: .8rem;
}
.live-admin-update {
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 16px;
    padding: .85rem;
}
.live-admin-update summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
}

/* Dark support */
body[data-theme="dark"] .live-update__card,
.dark .live-update__card {
    background: rgba(15, 23, 42, .72);
    border-color: rgba(255, 255, 255, .12);
}
body[data-theme="dark"] .live-update__rail span,
.dark .live-update__rail span {
    border-color: #0f172a;
}

@media (max-width: 767px) {
    .video-showcase__grid {
        grid-template-columns: 1fr;
    }
    .live-update-ad {
        margin-left: 0;
    }
}

.media-type-chip--live,
.story-badge--live {
    background: rgba(220, 38, 38, .92) !important;
    color: #fff !important;
}
.media-type-chip--live i,
.story-badge--live i {
    font-size: .52rem;
    animation: kisure-live-pulse 1.25s infinite;
}


/* Latest live article non-reloading popup */
.latest-live-toast {
    align-items: center;
    background: rgba(15, 23, 42, .94);
    border: 1px solid rgba(248, 113, 113, .32);
    border-radius: 999px;
    box-shadow: 0 22px 60px rgba(2, 8, 23, .32);
    color: #fff;
    display: flex;
    gap: .8rem;
    left: 50%;
    max-width: min(720px, calc(100vw - 2rem));
    min-width: min(420px, calc(100vw - 2rem));
    padding: .72rem .78rem .72rem .72rem;
    position: fixed;
    top: 1rem;
    transform: translate(-50%, -18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    z-index: 2200;
}
.latest-live-toast.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
.latest-live-toast__pulse {
    align-items: center;
    background: rgba(239, 68, 68, .16);
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 2.35rem;
    height: 2.35rem;
    justify-content: center;
    width: 2.35rem;
}
.latest-live-toast__pulse span {
    background: #ef4444;
    border-radius: 999px;
    height: .72rem;
    width: .72rem;
    animation: kisure-live-pulse 1.25s infinite;
}
.latest-live-toast__copy {
    display: grid;
    line-height: 1.25;
    min-width: 0;
}
.latest-live-toast__copy strong {
    color: #fca5a5;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.latest-live-toast__copy a {
    color: #fff;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.latest-live-toast button {
    align-items: center;
    background: rgba(255, 255, 255, .1);
    border: 0;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 2rem;
    height: 2rem;
    justify-content: center;
    margin-left: auto;
    width: 2rem;
}
.latest-live-toast button:hover {
    background: rgba(255, 255, 255, .18);
}
@media (max-width: 575.98px) {
    .latest-live-toast {
        border-radius: 22px;
        min-width: 0;
        width: calc(100vw - 1rem);
    }
}


/* New live updates appear automatically without reloading the article page */
.live-update.is-fresh .live-update__card {
    animation: live-update-arrived 1.2s ease;
}
@keyframes live-update-arrived {
    0% {
        border-color: rgba(239, 68, 68, .75);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, .3);
        transform: translateY(-4px);
    }
    100% {
        border-color: rgba(15, 23, 42, .08);
        box-shadow: 0 0 0 16px rgba(239, 68, 68, 0);
        transform: translateY(0);
    }
}
html[data-theme="dark"] .live-update.is-fresh .live-update__card {
    animation-name: live-update-arrived-dark;
}
@keyframes live-update-arrived-dark {
    0% {
        border-color: rgba(248, 113, 113, .78);
        box-shadow: 0 0 0 0 rgba(248, 113, 113, .25);
        transform: translateY(-4px);
    }
    100% {
        border-color: rgba(255, 255, 255, .12);
        box-shadow: 0 0 0 16px rgba(248, 113, 113, 0);
        transform: translateY(0);
    }
}


/* v42 homepage video balance */
.video-showcase__grid {
    align-items: stretch;
}
.video-feature {
    display: grid;
    grid-template-rows: auto 1fr;
}
.video-rail {
    grid-template-rows: repeat(3, minmax(0, 1fr));
    height: 100%;
}
.video-rail__item {
    grid-template-columns: minmax(148px, 38%) minmax(0, 1fr);
    gap: 1rem;
    height: 100%;
    min-height: 0;
    padding: .8rem;
}
.video-rail__media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 104px;
}
.video-rail__item strong {
    font-size: clamp(.98rem, 1.15vw, 1.12rem);
}
@media (max-width: 991.98px) {
    .video-rail {
        grid-template-rows: none;
    }
    .video-rail__item {
        min-height: 126px;
    }
}
@media (max-width: 575.98px) {
    .video-rail__item {
        grid-template-columns: 132px minmax(0, 1fr);
        min-height: 110px;
    }
}


/* v46 live article reactions and live-update images */
.live-blog-header__actions {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex-wrap: wrap;
}
.live-reaction-button {
    align-items: center;
    background: rgba(220, 38, 38, .08);
    border: 1px solid rgba(220, 38, 38, .18);
    border-radius: 999px;
    color: #991b1b;
    display: inline-flex;
    font-weight: 800;
    gap: .45rem;
    min-height: 2.35rem;
    padding: .42rem .78rem;
}
.live-reaction-button i {
    color: #dc2626;
}
.live-reaction-button strong {
    background: rgba(220, 38, 38, .13);
    border-radius: 999px;
    min-width: 1.45rem;
    padding: .12rem .42rem;
}
.live-reaction-button.is-reacted {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}
.live-reaction-button.is-reacted i,
.live-reaction-button.is-reacted strong {
    color: #fff;
}
.live-reaction-button.is-reacted strong {
    background: rgba(255,255,255,.2);
}
.live-update__image {
    border-radius: 20px;
    margin: .2rem 0 .85rem;
    overflow: hidden;
}
.live-update__image img {
    display: block;
    max-height: 520px;
    object-fit: cover;
    width: 100%;
}
@media (max-width: 575.98px) {
    .live-blog-header {
        align-items: flex-start;
        flex-direction: column;
    }
}






/* v49 compact live-update reactions with more-reaction popout */
.live-update-reaction-shell {
    margin-top: 1.15rem;
}

.live-update-reaction-counts {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    position: relative;
}

.live-update-reaction-counts > button {
    align-items: center;
    background: #f4f5f7;
    border: 0;
    border-radius: 999px;
    color: #475569;
    display: inline-flex;
    font-weight: 800;
    gap: .46rem;
    min-height: 2.55rem;
    padding: .42rem .85rem;
    transition: background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.live-update-reaction-counts > button span {
    font-size: 1.36rem;
    line-height: 1;
}

.live-update-reaction-counts > button strong {
    font-size: .98rem;
    font-weight: 800;
}

.live-update-reaction-counts > button:hover,
.live-update-reaction-counts > button.is-selected {
    background: rgba(14, 125, 121, .12);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
    color: #0f172a;
    transform: translateY(-1px);
}

.live-update-more-reactions {
    display: inline-flex;
    position: relative;
}

.live-update-more-trigger {
    align-items: center;
    background: #f4f5f7;
    border: 0;
    border-radius: 999px;
    color: #475569;
    display: inline-flex;
    height: 2.55rem;
    justify-content: center;
    padding: 0;
    transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
    width: 2.55rem;
}

.live-update-more-trigger:hover,
.live-update-more-trigger.is-selected,
.live-update-more-trigger[aria-expanded="true"] {
    background: rgba(14, 125, 121, .12);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.live-update-more-icon {
    display: inline-flex;
    height: 1.2rem;
    position: relative;
    width: 1.34rem;
}

.live-update-more-icon i {
    font-size: 1.18rem;
    line-height: 1;
}

.live-update-more-icon b {
    background: #f4f5f7;
    border-radius: 999px;
    bottom: -.18rem;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1;
    padding: .02rem;
    position: absolute;
    right: -.18rem;
}

.live-update-more-menu {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 999px;
    bottom: calc(100% + .65rem);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
    display: flex;
    flex-wrap: wrap;
    gap: .28rem;
    left: 50%;
    padding: .38rem;
    position: absolute;
    transform: translateX(-50%);
    z-index: 8;
}

.live-update-more-menu[hidden] {
    display: none;
}

.live-update-more-menu button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    height: 2.52rem;
    justify-content: center;
    padding: 0;
    transition: background .16s ease, transform .16s ease;
    width: 2.52rem;
}

.live-update-more-menu button span {
    font-size: 1.62rem;
    line-height: 1;
}

.live-update-more-menu button:hover,
.live-update-more-menu button.is-selected {
    background: rgba(14, 125, 121, .12);
    transform: translateY(-2px) scale(1.08);
}

html[data-theme="dark"] .live-update-reaction-counts > button,
html[data-theme="dark"] .live-update-more-trigger {
    background: rgba(255, 255, 255, .07);
    color: #dbe7f7;
}

html[data-theme="dark"] .live-update-reaction-counts > button:hover,
html[data-theme="dark"] .live-update-reaction-counts > button.is-selected,
html[data-theme="dark"] .live-update-more-trigger:hover,
html[data-theme="dark"] .live-update-more-trigger.is-selected,
html[data-theme="dark"] .live-update-more-trigger[aria-expanded="true"] {
    background: rgba(45, 212, 191, .15);
    color: #f8fbff;
}

html[data-theme="dark"] .live-update-more-icon b {
    background: #151f33;
}

html[data-theme="dark"] .live-update-more-menu {
    background: #151f33;
    border-color: rgba(255, 255, 255, .12);
}

html[data-theme="dark"] .live-update-more-menu button:hover,
html[data-theme="dark"] .live-update-more-menu button.is-selected {
    background: rgba(45, 212, 191, .15);
}

@media (max-width: 575.98px) {
    .live-update-reaction-counts > button {
        min-height: 2.34rem;
        padding: .35rem .68rem;
    }

    .live-update-reaction-counts > button span {
        font-size: 1.2rem;
    }

    .live-update-more-trigger {
        height: 2.34rem;
        width: 2.34rem;
    }

    .live-update-more-menu {
        border-radius: 22px;
        max-width: min(280px, calc(100vw - 2.25rem));
    }
}


/* v50 full-page skeleton loader */
.site-skeleton-loader {
    background:
        radial-gradient(circle at 10% -10%, rgba(14, 125, 121, .08), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
    inset: 0;
    opacity: 1;
    overflow: hidden;
    pointer-events: all;
    position: fixed;
    transition: opacity .35s ease, visibility .35s ease;
    visibility: visible;
    z-index: 99999;
}

html[data-theme="dark"] .site-skeleton-loader {
    background:
        radial-gradient(circle at 10% -10%, rgba(45, 212, 191, .12), transparent 24%),
        linear-gradient(180deg, #06101d 0%, #07111f 100%);
}

html:not(.kisure-page-loading) .site-skeleton-loader,
.site-skeleton-loader.is-hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.site-skeleton-loader__top {
    background: #040404;
    height: 4.8rem;
    width: 100%;
}

html[data-theme="dark"] .site-skeleton-loader__top {
    background: #020817;
}

.site-skeleton-loader__shell {
    margin: 0 auto;
    padding: 2rem 1rem 5rem;
    width: min(1180px, calc(100% - 1rem));
}

.shimmer-block {
    background: linear-gradient(90deg, #eff1f4 0%, #e4e7eb 44%, #f4f6f8 72%, #eff1f4 100%);
    background-size: 220% 100%;
    animation: kisure-skeleton-shimmer 1.25s ease-in-out infinite;
}

html[data-theme="dark"] .shimmer-block {
    background: linear-gradient(90deg, rgba(148, 163, 184, .12) 0%, rgba(148, 163, 184, .2) 44%, rgba(148, 163, 184, .1) 72%, rgba(148, 163, 184, .12) 100%);
    background-size: 220% 100%;
}

.site-skeleton-loader__logo {
    border-radius: 12px;
    height: 3.05rem;
    margin-bottom: 2rem;
    width: min(420px, 70vw);
}

.site-skeleton-loader__search {
    border-radius: 999px;
    height: 4.25rem;
    margin: 0 0 2.2rem;
    position: relative;
    width: 100%;
}

.site-skeleton-loader__search::before {
    background: rgba(255, 255, 255, .42);
    border-radius: 50%;
    content: "";
    height: 2.05rem;
    left: 1.6rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.05rem;
}

html[data-theme="dark"] .site-skeleton-loader__search::before {
    background: rgba(255, 255, 255, .08);
}

.site-skeleton-loader__tabs {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 2rem;
}

.site-skeleton-loader__tabs span {
    border-radius: 18px;
    height: 4rem;
}

.site-skeleton-loader__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-skeleton-loader__card {
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(15, 23, 42, .04);
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .05);
    padding: 1.35rem;
}

html[data-theme="dark"] .site-skeleton-loader__card {
    background: rgba(15, 23, 42, .72);
    border-color: rgba(148, 163, 184, .14);
    box-shadow: 0 18px 40px rgba(2, 8, 23, .22);
}

.site-skeleton-loader__media {
    aspect-ratio: 1.15 / 1;
    border-radius: 22px;
    margin-bottom: 1.35rem;
}

.site-skeleton-loader__line {
    border-radius: 12px;
    height: 2rem;
    margin-bottom: 1.25rem;
    width: 82%;
}

.site-skeleton-loader__meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.site-skeleton-loader__meta span:first-child {
    border-radius: 10px;
    height: 2.2rem;
    width: 3.8rem;
}

.site-skeleton-loader__meta span:last-child {
    border-radius: 10px;
    height: 2.2rem;
    width: 52%;
}

.site-skeleton-loader__footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.site-skeleton-loader__footer span {
    border-radius: 10px;
    height: 2rem;
    width: 38%;
}

@keyframes kisure-skeleton-shimmer {
    0% {
        background-position: 120% 0;
    }
    100% {
        background-position: -120% 0;
    }
}

@media (max-width: 767.98px) {
    .site-skeleton-loader__top {
        height: 4.4rem;
    }

    .site-skeleton-loader__shell {
        padding: 1.35rem 1rem 6rem;
    }

    .site-skeleton-loader__logo {
        height: 2.75rem;
        margin-bottom: 1.6rem;
        width: min(360px, 76vw);
    }

    .site-skeleton-loader__search {
        height: 4.6rem;
        margin-bottom: 1.65rem;
    }

    .site-skeleton-loader__tabs {
        gap: 1rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-skeleton-loader__tabs span {
        height: 3.35rem;
    }

    .site-skeleton-loader__grid {
        gap: 1.35rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-skeleton-loader__card {
        border-radius: 22px;
        padding: .85rem;
    }

    .site-skeleton-loader__media {
        border-radius: 18px;
        margin-bottom: 1rem;
    }

    .site-skeleton-loader__line {
        height: 1.55rem;
        width: 86%;
    }

    .site-skeleton-loader__meta,
    .site-skeleton-loader__footer {
        gap: .7rem;
    }
}

@media (max-width: 480px) {
    .site-skeleton-loader__grid {
        grid-template-columns: 1fr;
    }

    .site-skeleton-loader__tabs {
        grid-template-columns: 1fr 1fr;
    }

    .site-skeleton-loader__card:nth-child(n+3) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shimmer-block {
        animation: none;
    }

    .site-skeleton-loader {
        transition: none;
    }
}


/* v52 route-aware Kisure skeleton loader and full-card grid repair */
.site-skeleton-loader {
    background:
        radial-gradient(circle at 18% -12%, rgba(14, 125, 121, .08), transparent 24%),
        linear-gradient(180deg, #f7f9fc 0%, #edf2f7 100%);
    inset: 0;
    opacity: 1;
    overflow: auto;
    pointer-events: all;
    position: fixed;
    transition: opacity .28s ease, visibility .28s ease;
    visibility: visible;
    z-index: 99999;
}

html[data-theme="dark"] .site-skeleton-loader {
    background:
        radial-gradient(circle at 18% -12%, rgba(45, 212, 191, .12), transparent 24%),
        linear-gradient(180deg, #07111f 0%, #0b1424 100%);
}

html:not(.kisure-page-loading) .site-skeleton-loader,
.site-skeleton-loader.is-hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.kisure-skeleton-shell {
    margin: 0 auto;
    padding: .85rem 1rem 3rem;
    width: min(760px, calc(100% - 1rem));
}

.site-skeleton-loader--article .kisure-skeleton-shell {
    width: min(980px, calc(100% - 1rem));
}

.kisure-skeleton-header {
    align-items: center;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 999px;
    display: grid;
    gap: .8rem;
    grid-template-columns: 150px 1fr 92px;
    margin-bottom: .75rem;
    padding: .55rem .75rem;
}

html[data-theme="dark"] .kisure-skeleton-header,
html[data-theme="dark"] .kisure-skeleton-home-hero,
html[data-theme="dark"] .kisure-skeleton-page-hero,
html[data-theme="dark"] .kisure-skeleton-news-card,
html[data-theme="dark"] .kisure-skeleton-feature-card,
html[data-theme="dark"] .kisure-skeleton-article,
html[data-theme="dark"] .kisure-skeleton-rail-item {
    background: rgba(15,23,42,.86);
    border-color: rgba(148,163,184,.18);
}

.kisure-skeleton-logo,
.kisure-skeleton-actions,
.kisure-skeleton-ad,
.kisure-skeleton-media,
.kisure-skeleton-title,
.kisure-skeleton-section-title,
.kisure-skeleton-card-title,
.kisure-skeleton-card-text,
.kisure-skeleton-chip,
.kisure-skeleton-panel,
.kisure-skeleton-kicker,
.kisure-skeleton-page-title,
.kisure-skeleton-page-summary,
.kisure-skeleton-article-title,
.kisure-skeleton-article-meta,
.kisure-skeleton-paragraph,
.kisure-skeleton-chip-row span,
.kisure-skeleton-nav span,
.kisure-skeleton-card-footer span,
.kisure-skeleton-rail-item span,
.kisure-skeleton-rail-item b,
.kisure-skeleton-rail-item small {
    border-radius: 14px;
}

.kisure-skeleton-logo { height: 2.05rem; }
.kisure-skeleton-actions { height: 2rem; }
.kisure-skeleton-nav {
    align-items: center;
    display: flex;
    gap: .55rem;
    justify-content: center;
}
.kisure-skeleton-nav span {
    height: .78rem;
    width: 4.4rem;
}
.kisure-skeleton-ad {
    height: 4.5rem;
    margin-bottom: .75rem;
}

.kisure-skeleton-home-hero,
.kisure-skeleton-page-hero,
.kisure-skeleton-news-card,
.kisure-skeleton-feature-card,
.kisure-skeleton-article,
.kisure-skeleton-rail-item {
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 14px 34px rgba(15,23,42,.05);
}

.kisure-skeleton-home-hero {
    border-radius: 22px;
    display: grid;
    gap: .85rem;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, .95fr);
    margin-bottom: 1.1rem;
    padding: .75rem;
}

.kisure-skeleton-home-main,
.kisure-skeleton-news-card,
.kisure-skeleton-feature-card {
    border-radius: 18px;
    overflow: hidden;
    padding: .65rem;
}

.kisure-skeleton-home-rail {
    display: grid;
    gap: .7rem;
}

.kisure-skeleton-rail-item {
    align-items: center;
    border-radius: 16px;
    display: grid;
    gap: .65rem;
    grid-template-columns: 92px 1fr;
    padding: .65rem;
}

.kisure-skeleton-rail-item > span {
    aspect-ratio: 16 / 10;
}
.kisure-skeleton-rail-item b,
.kisure-skeleton-rail-item small {
    display: block;
    height: .95rem;
    margin-bottom: .55rem;
}
.kisure-skeleton-rail-item b { width: 100%; }
.kisure-skeleton-rail-item small { width: 58%; }

.kisure-skeleton-media { aspect-ratio: 4 / 3; }
.kisure-skeleton-media--hero { aspect-ratio: 16 / 10; margin-bottom: .65rem; }
.kisure-skeleton-media--feature { aspect-ratio: 16 / 9; margin-bottom: .75rem; }
.kisure-skeleton-media--article { aspect-ratio: 16 / 9; margin: 1.2rem 0; }

.kisure-skeleton-title {
    height: 2rem;
    width: 88%;
}
.kisure-skeleton-section-title {
    height: 1.5rem;
    margin: 0 0 .85rem;
    width: 260px;
}
.kisure-skeleton-layout {
    display: grid;
    gap: 1rem;
}
.kisure-skeleton-layout--with-sidebar {
    grid-template-columns: minmax(0, 1fr) 220px;
}
.kisure-skeleton-card-grid {
    display: grid;
    gap: .95rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.kisure-skeleton-card-grid--archive {
    margin-top: .9rem;
}

.kisure-skeleton-news-card {
    min-height: 21rem;
}
.kisure-skeleton-news-card .kisure-skeleton-media {
    margin-bottom: .65rem;
}
.kisure-skeleton-chip {
    height: 1.15rem;
    margin-bottom: .55rem;
    width: 5.5rem;
}
.kisure-skeleton-card-title {
    height: 2.2rem;
    margin-bottom: .55rem;
    width: 94%;
}
.kisure-skeleton-card-text {
    height: 2.6rem;
    margin-bottom: .65rem;
    width: 100%;
}
.kisure-skeleton-card-footer {
    display: flex;
    justify-content: space-between;
    gap: .6rem;
}
.kisure-skeleton-card-footer span {
    height: 1.2rem;
    width: 44%;
}

.kisure-skeleton-sidebar {
    display: grid;
    gap: .9rem;
}
.kisure-skeleton-panel { height: 8.5rem; }
.kisure-skeleton-panel--small { height: 5.8rem; }

.kisure-skeleton-page-hero,
.kisure-skeleton-article {
    border-radius: 28px;
    margin-bottom: 1.1rem;
    padding: 1.25rem;
}
.kisure-skeleton-kicker {
    height: 1rem;
    margin-bottom: .85rem;
    width: 7.5rem;
}
.kisure-skeleton-page-title {
    height: 3rem;
    margin-bottom: .85rem;
    width: 56%;
}
.kisure-skeleton-page-summary {
    height: 1.55rem;
    margin-bottom: 1rem;
    width: 76%;
}
.kisure-skeleton-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.kisure-skeleton-chip-row span {
    height: 2rem;
    width: 6rem;
}
.kisure-skeleton-feature-card {
    margin-bottom: 1rem;
}
.kisure-skeleton-article-title {
    height: 4rem;
    margin-bottom: 1rem;
    width: 86%;
}
.kisure-skeleton-article-meta {
    height: 1.4rem;
    width: 42%;
}
.kisure-skeleton-paragraph {
    height: 4.8rem;
    margin-bottom: .85rem;
    width: 100%;
}
.kisure-skeleton-paragraph--short { width: 70%; }

.shimmer-block {
    background: linear-gradient(90deg, #eff1f4 0%, #e3e7ec 44%, #f5f7fa 72%, #eff1f4 100%);
    background-size: 220% 100%;
    animation: kisure-skeleton-shimmer 1.15s ease-in-out infinite;
}
html[data-theme="dark"] .shimmer-block {
    background: linear-gradient(90deg, rgba(148,163,184,.12) 0%, rgba(148,163,184,.22) 44%, rgba(148,163,184,.1) 72%, rgba(148,163,184,.12) 100%);
    background-size: 220% 100%;
}
@keyframes kisure-skeleton-shimmer {
    0% { background-position: 120% 0; }
    100% { background-position: -120% 0; }
}

/* v53 card grid repair: show more articles, do not squeeze existing cards */
.news-grid,
.news-grid--cards {
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-grid .news-grid,
.content-grid .news-grid--cards,
.stack-grid .news-grid,
.stack-grid .news-grid--cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    width: 100%;
}

.news-card > a {
    display: block;
    flex: 0 0 auto;
}

.news-card__media,
.story-tile__media,
.hero-story__media {
    background:
        radial-gradient(circle at 18% 12%, rgba(255,255,255,.22), transparent 28%),
        linear-gradient(135deg, rgba(14,125,121,.2), rgba(15,23,42,.08), rgba(249,115,22,.15));
}

.news-card__media img,
.story-tile__media img,
.hero-story__media img {
    background-color: var(--surface-strong);
}

.news-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.news-card__excerpt {
    flex: 1 1 auto;
}

.news-card__footer {
    margin-top: auto;
}

.news-card img.kisure-image-fallback,
.story-tile img.kisure-image-fallback,
.hero-story img.kisure-image-fallback {
    object-fit: cover;
}

/* A full-width ad should come after complete rows. The views now insert it after 6 articles. */
.archive-inline-ad {
    grid-column: 1 / -1;
}

@media (max-width: 991.98px) {
    .news-grid,
    .news-grid--cards,
    .content-grid .news-grid,
    .content-grid .news-grid--cards,
    .stack-grid .news-grid,
    .stack-grid .news-grid--cards,
    .news-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .news-grid,
    .news-grid--cards,
    .content-grid .news-grid,
    .content-grid .news-grid--cards,
    .stack-grid .news-grid,
    .stack-grid .news-grid--cards,
    .news-grid--compact {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 991.98px) {
    .kisure-skeleton-layout--with-sidebar {
        grid-template-columns: 1fr;
    }
    .kisure-skeleton-sidebar {
        display: none;
    }
    .kisure-skeleton-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .site-skeleton-loader--article .kisure-skeleton-shell,
    .kisure-skeleton-shell {
        width: min(720px, calc(100% - 1rem));
    }
}

@media (max-width: 767.98px) {
    .kisure-skeleton-header {
        grid-template-columns: 120px 1fr 54px;
    }
    .kisure-skeleton-nav span:nth-child(n+3) {
        display: none;
    }
    .kisure-skeleton-home-hero {
        grid-template-columns: 1fr;
    }
    .kisure-skeleton-page-title,
    .kisure-skeleton-article-title {
        width: 92%;
    }
}

@media (max-width: 520px) {
    .kisure-skeleton-card-grid {
        grid-template-columns: 1fr;
    }
    .kisure-skeleton-news-card:nth-child(n+4) {
        display: none;
    }
    .kisure-skeleton-rail-item {
        grid-template-columns: 86px 1fr;
    }
}

@supports not selector(:has(*)) {
    .news-grid,
    .news-grid--cards {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .shimmer-block {
        animation: none;
    }
    .site-skeleton-loader {
        transition: none;
    }
}


/* v53 final override: never compress homepage/category/tag cards into skinny four-column cards */
@media (min-width: 992px) {
    .news-grid,
    .news-grid--cards,
    .content-grid .news-grid,
    .content-grid .news-grid--cards,
    .stack-grid .news-grid,
    .stack-grid .news-grid--cards,
    .news-grid--compact {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 992px) and (max-width: 1180px) {
    .content-grid .news-grid,
    .content-grid .news-grid--cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767.98px) {
    .news-grid,
    .news-grid--cards,
    .content-grid .news-grid,
    .content-grid .news-grid--cards,
    .stack-grid .news-grid,
    .stack-grid .news-grid--cards,
    .news-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 520px) {
    .news-grid,
    .news-grid--cards,
    .content-grid .news-grid,
    .content-grid .news-grid--cards,
    .stack-grid .news-grid,
    .stack-grid .news-grid--cards,
    .news-grid--compact {
        grid-template-columns: 1fr !important;
    }
}


/* v54 final public layout fixes */

/* Page-aware skeleton loader should use the real site width and not look zoomed inside. */
.kisure-skeleton-shell {
    width: min(1540px, calc(100% - 1.5rem)) !important;
    max-width: 1540px !important;
}
.site-skeleton-loader--article .kisure-skeleton-shell {
    width: min(1180px, calc(100% - 1.5rem)) !important;
}
.kisure-skeleton-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.kisure-skeleton-layout--with-sidebar {
    grid-template-columns: minmax(0, 1fr) 320px !important;
}
@media (max-width: 1180px) {
    .kisure-skeleton-layout--with-sidebar {
        grid-template-columns: 1fr !important;
    }
    .kisure-skeleton-sidebar {
        display: none !important;
    }
}
@media (max-width: 767.98px) {
    .kisure-skeleton-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 520px) {
    .kisure-skeleton-card-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Do not compress news cards. Add more stories in PHP and keep balanced row sizes. */
.news-grid,
.news-grid--cards,
.stack-grid .news-grid,
.stack-grid .news-grid--cards {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
}
.content-grid .news-grid,
.content-grid .news-grid--cards {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.archive-inline-ad {
    grid-column: 1 / -1 !important;
}
.news-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 100% !important;
}
.news-card__body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
}
.news-card__excerpt {
    flex: 1 1 auto !important;
}
.news-card__footer {
    margin-top: auto !important;
}
@media (max-width: 1180px) {
    .content-grid .news-grid,
    .content-grid .news-grid--cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 767.98px) {
    .news-grid,
    .news-grid--cards,
    .stack-grid .news-grid,
    .stack-grid .news-grid--cards,
    .content-grid .news-grid,
    .content-grid .news-grid--cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 520px) {
    .news-grid,
    .news-grid--cards,
    .stack-grid .news-grid,
    .stack-grid .news-grid--cards,
    .content-grid .news-grid,
    .content-grid .news-grid--cards {
        grid-template-columns: 1fr !important;
    }
}

/* Ended live articles should not look like currently live red alerts. */
.media-type-chip--ended,
.story-badge--ended,
.live-story-pill.is-ended {
    background: rgba(15, 23, 42, .08) !important;
    color: #475569 !important;
}
.media-type-chip--ended i,
.story-badge--ended i,
.live-story-pill.is-ended i {
    animation: none !important;
    color: #64748b !important;
}
html[data-theme="dark"] .media-type-chip--ended,
html[data-theme="dark"] .story-badge--ended,
html[data-theme="dark"] .live-story-pill.is-ended {
    background: rgba(148, 163, 184, .16) !important;
    color: #d7e3f4 !important;
}

/* Keep video/gallery indication only on media image, not as a second Watch/Photos badge after category. */
.story-badge-row .story-badge--media {
    display: none !important;
}

/* Homepage video section: better background, balanced image shapes, no prolonged thumbnails. */
.video-showcase {
    background:
        radial-gradient(circle at 12% 12%, rgba(14, 125, 121, .14), transparent 28%),
        radial-gradient(circle at 88% 0%, rgba(249, 115, 22, .10), transparent 24%),
        linear-gradient(135deg, rgba(255,255,255,.92), rgba(239,246,255,.76)) !important;
    border: 1px solid rgba(14, 125, 121, .12) !important;
    border-radius: 28px !important;
    padding: clamp(1rem, 2vw, 1.35rem) !important;
    overflow: hidden;
}
html[data-theme="dark"] .video-showcase {
    background:
        radial-gradient(circle at 12% 12%, rgba(45, 212, 191, .14), transparent 28%),
        radial-gradient(circle at 88% 0%, rgba(251, 146, 60, .10), transparent 24%),
        linear-gradient(135deg, rgba(15, 23, 42, .92), rgba(8, 16, 31, .82)) !important;
}
.video-showcase__grid {
    align-items: stretch !important;
    grid-template-columns: minmax(0, 1.32fr) minmax(320px, .82fr) !important;
    gap: 1rem !important;
}
.video-feature {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08) !important;
}
.video-feature__media {
    aspect-ratio: 16 / 9 !important;
    max-height: 430px !important;
}
.video-feature__media img,
.video-rail__media img {
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    width: 100% !important;
}
.video-rail {
    display: grid !important;
    gap: .9rem !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
}
.video-rail__item {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: 24px !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06) !important;
    display: grid !important;
    grid-template-columns: minmax(128px, 40%) minmax(0, 1fr) !important;
    gap: 1rem !important;
    min-height: 142px !important;
    padding: .85rem !important;
}
.video-rail__media {
    aspect-ratio: 16 / 10 !important;
    height: 100% !important;
    min-height: 112px !important;
}
.video-rail__item strong {
    font-size: clamp(1rem, 1.15vw, 1.2rem) !important;
    line-height: 1.25 !important;
}
@media (max-width: 991.98px) {
    .video-showcase__grid {
        grid-template-columns: 1fr !important;
    }
    .video-rail {
        grid-template-rows: none !important;
    }
    .video-rail__item {
        min-height: 124px !important;
    }
}
@media (max-width: 575.98px) {
    .video-rail__item {
        grid-template-columns: 122px minmax(0, 1fr) !important;
    }
    .video-rail__media {
        min-height: 92px !important;
    }
}


/* v55: loader must never create its own scroll page */
.site-skeleton-loader,
.site-skeleton-loader--home,
.site-skeleton-loader--category,
.site-skeleton-loader--tag,
.site-skeleton-loader--author,
.site-skeleton-loader--search,
.site-skeleton-loader--archive,
.site-skeleton-loader--article {
    height: 100dvh !important;
    max-height: 100dvh !important;
    min-height: 100dvh !important;
    overflow: hidden !important;
}
.site-skeleton-loader .kisure-skeleton-shell {
    height: 100% !important;
    overflow: hidden !important;
    padding-bottom: 1rem !important;
}
.site-skeleton-loader--article .kisure-skeleton-shell {
    width: min(1180px, calc(100% - 1.5rem)) !important;
}
.kisure-skeleton-layout--with-sidebar {
    max-height: calc(100dvh - 15rem) !important;
    overflow: hidden !important;
}

/* v55: video rail cards after the main hero are visual cards only */
.video-rail__item {
    display: block !important;
    min-height: 0 !important;
    padding: .55rem !important;
}
.video-rail__item > div:not(.video-rail__media) {
    display: none !important;
}
.video-rail__media {
    aspect-ratio: 16 / 10 !important;
    border-radius: 20px !important;
    min-height: 0 !important;
    width: 100% !important;
}
.video-rail__media img {
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    width: 100% !important;
}
.video-rail {
    align-content: stretch !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
}

/* v55: ended live status should stay on the image chip, not after category */
.story-badge-row .story-badge--ended {
    display: none !important;
}
.media-type-chip--ended {
    background: rgba(15, 23, 42, .70) !important;
    color: #fff !important;
}
.media-type-chip--ended i {
    color: #cbd5e1 !important;
}

/* Article auto-load */
.article-autoload-trigger {
    display: flex;
    justify-content: center;
    margin: 1.2rem 0 .2rem;
    min-height: 2.5rem;
}
.article-autoload-pill {
    align-items: center;
    background: rgba(14, 125, 121, .10);
    border: 1px solid rgba(14, 125, 121, .18);
    border-radius: 999px;
    color: var(--primary-strong);
    display: inline-flex;
    font-size: .86rem;
    font-weight: 800;
    gap: .5rem;
    padding: .58rem 1rem;
}
html[data-theme="dark"] .article-autoload-pill {
    background: rgba(45, 212, 191, .12);
    border-color: rgba(45, 212, 191, .22);
    color: #99f6e4;
}


/* v56 video feature excerpt */
.video-feature__excerpt {
    color: var(--text-soft);
    font-size: .98rem;
    line-height: 1.6;
    margin: .35rem 0 .8rem;
}

/* v56 full article auto-load */
.full-article-autoload-section {
    margin-top: 1.25rem;
}
.full-article-autoload-feed {
    display: grid;
    gap: 1.35rem;
}
.full-article-card {
    padding: clamp(1rem, 2vw, 1.45rem);
}
.full-article-card__header h2 {
    color: var(--text-strong);
    font-size: clamp(1.45rem, 2.4vw, 2.35rem);
    line-height: 1.08;
    margin: .45rem 0 .55rem;
}
.full-article-card__media {
    border-radius: 24px;
    display: block;
    margin: 1rem 0;
    overflow: hidden;
    position: relative;
}
.full-article-card__media img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}
.full-article-card__content {
    color: var(--text-soft);
    font-size: 1.02rem;
    line-height: 1.8;
    white-space: pre-line;
}
.full-article-card__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

/* v56 push subscriber admin cards */
.admin-stat-card {
    background: var(--admin-surface, rgba(255,255,255,.08));
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 22px;
    padding: 1.1rem;
}
.admin-stat-card span {
    color: var(--text-soft, #64748b);
    display: block;
    font-weight: 800;
    margin-bottom: .35rem;
}
.admin-stat-card strong {
    font-size: 2rem;
}
.notification-subscribe-modal__header p {
    color: var(--text-soft);
    margin: .35rem 0 0;
}


/* v57 redesigned web push popup */
.notification-subscribe-modal {
    align-items: center !important;
    background: rgba(15, 23, 42, .46) !important;
    display: flex !important;
    inset: 0 !important;
    justify-content: center !important;
    padding: 1rem !important;
    position: fixed !important;
    z-index: 99998 !important;
}
.notification-subscribe-modal[hidden] {
    display: none !important;
}
.notification-subscribe-modal__card {
    background: #fff !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    border-radius: 30px !important;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .24) !important;
    display: grid !important;
    gap: 1.2rem !important;
    grid-template-columns: minmax(260px, .78fr) minmax(320px, 1fr) !important;
    max-height: min(86vh, 760px) !important;
    max-width: 940px !important;
    overflow: auto !important;
    padding: clamp(1.1rem, 2.4vw, 1.8rem) !important;
    position: relative !important;
    width: min(940px, calc(100vw - 2rem)) !important;
}
.notification-subscribe-modal__close {
    align-items: center;
    background: rgba(15, 23, 42, .06);
    border: 0;
    border-radius: 999px;
    color: #334155;
    display: inline-flex;
    height: 2.2rem;
    justify-content: center;
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 2.2rem;
}
.notification-subscribe-modal__hero {
    background:
        radial-gradient(circle at 20% 8%, rgba(14, 125, 121, .18), transparent 38%),
        linear-gradient(135deg, #f0fdfa, #eef6ff);
    border-radius: 24px;
    padding: 1.35rem;
}
.notification-subscribe-modal__brand {
    align-items: center;
    display: flex;
    gap: .75rem;
    margin-bottom: 1.2rem;
}
.notification-subscribe-modal__logo {
    height: 42px !important;
    max-width: 150px !important;
    object-fit: contain !important;
}
.notification-subscribe-modal__brand span {
    background: rgba(14, 125, 121, .12);
    border-radius: 999px;
    color: #0e7d79;
    font-size: .76rem;
    font-weight: 900;
    padding: .35rem .65rem;
    text-transform: uppercase;
}
.notification-subscribe-modal__hero h2 {
    color: #0f172a !important;
    font-size: clamp(1.65rem, 3vw, 2.55rem) !important;
    line-height: 1.04 !important;
    margin: 0 0 .8rem !important;
}
.notification-subscribe-modal__hero p {
    color: #64748b !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}
.notification-subscribe-modal__content {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    min-width: 0;
    padding: 1.2rem .6rem .4rem;
}
.notification-subscribe-modal__grid {
    display: grid !important;
    gap: .7rem !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-height: 360px !important;
    overflow: auto !important;
    padding-right: .3rem !important;
}
.notification-topic {
    align-items: center !important;
    background: #f8fafc !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    border-radius: 16px !important;
    display: flex !important;
    gap: .7rem !important;
    padding: .7rem !important;
}
.notification-topic span {
    align-items: center !important;
    background: #0e7d79 !important;
    border-radius: 12px !important;
    color: #fff !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    height: 2.1rem !important;
    justify-content: center !important;
    width: 2.1rem !important;
}
.notification-topic strong {
    color: #0f172a !important;
    font-size: .98rem !important;
    line-height: 1.2 !important;
}
.notification-subscribe-modal__actions {
    align-items: center !important;
    display: flex !important;
    gap: 1rem !important;
    justify-content: flex-end !important;
}
@media (max-width: 760px) {
    .notification-subscribe-modal__card {
        grid-template-columns: 1fr !important;
        max-height: 92vh !important;
    }
    .notification-subscribe-modal__grid {
        grid-template-columns: 1fr !important;
    }
}

/* v57 full article autoload: use article-like design and stop at two */
.full-article-autoload-section {
    margin-top: 2rem !important;
}
.full-article-autoload-section .section-heading {
    display: none !important;
}
.full-article-card {
    margin: 0 auto 1.5rem !important;
    max-width: 980px !important;
}
.full-article-card.article-shell {
    padding: clamp(1rem, 2vw, 1.55rem) !important;
}
.full-article-card__header h1 {
    color: var(--text-strong) !important;
    font-size: clamp(1.85rem, 3vw, 3.35rem) !important;
    letter-spacing: -.04em !important;
    line-height: 1.02 !important;
}
.full-article-card__media img {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    object-fit: cover !important;
    width: 100% !important;
}
.full-article-inline-ad {
    margin: 1.4rem auto !important;
    max-width: 980px !important;
}

/* v57 live-ended should match homepage: image chip only, no body badge */
.story-badge--ended {
    display: none !important;
}
.media-type-chip--ended {
    background: #dc3545 !important;
    color: #fff !important;
}
.media-type-chip--ended i {
    color: rgba(255,255,255,.82) !important;
}


/* v58: web push popup no internal scrollers and buttons work cleanly */
.notification-subscribe-modal {
    overflow: hidden !important;
}
.notification-subscribe-modal__card {
    max-height: none !important;
    overflow: visible !important;
}
.notification-subscribe-modal__grid {
    max-height: none !important;
    overflow: visible !important;
}
@media (max-height: 720px), (max-width: 760px) {
    .notification-subscribe-modal {
        align-items: flex-start !important;
        overflow: auto !important;
        padding: .75rem !important;
    }
    .notification-subscribe-modal__card {
        max-height: none !important;
    }
}

/* v58: live ended must look like media badge only */
.story-badge--ended {
    display: none !important;
}
.media-type-chip--ended {
    background: #dc3545 !important;
    color: #fff !important;
}
.media-type-chip--ended i {
    color: rgba(255,255,255,.82) !important;
}

/* v58: full article auto-load should be invisible until real articles arrive */
.full-article-autoload-section {
    margin-top: 1.5rem !important;
}
.full-article-autoload-section .section-heading {
    display: none !important;
}
.article-autoload-trigger {
    min-height: 0 !important;
}
.article-autoload-trigger .article-autoload-pill {
    opacity: .92;
}
.full-article-autoload-feed:empty + .article-autoload-trigger {
    margin-top: .8rem !important;
}
.full-article-card.article-shell {
    margin: 0 auto 1.5rem !important;
    max-width: 980px !important;
    padding: clamp(1rem, 2vw, 1.55rem) !important;
}
.full-article-card__header h1 {
    color: var(--text-strong) !important;
    font-size: clamp(1.85rem, 3vw, 3.35rem) !important;
    letter-spacing: -.04em !important;
    line-height: 1.02 !important;
}
.full-article-card__media img {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    object-fit: cover !important;
    width: 100% !important;
}
.full-article-inline-ad {
    margin: 1.4rem auto !important;
    max-width: 980px !important;
}


/* v59: readable live badges in dark mode and one wording everywhere */
html[data-theme="dark"] .media-type-chip--live,
html[data-theme="dark"] .story-badge--live {
    background: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(239, 68, 68, .22) !important;
}
html[data-theme="dark"] .media-type-chip--live i,
html[data-theme="dark"] .story-badge--live i {
    color: #ffffff !important;
}
.media-type-chip--ended {
    background: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(239, 68, 68, .18) !important;
}
.media-type-chip--ended i {
    color: #ffffff !important;
}
html[data-theme="dark"] .media-type-chip--ended {
    background: #ef4444 !important;
    color: #ffffff !important;
}

/* Hide ended body badge only; active live in body can still show where intended */
.story-badge--ended {
    display: none !important;
}

/* v59: push popup topic selection works visually */
.notification-subscribe-modal__toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: .65rem;
}
.notification-select-all-button {
    align-items: center;
    background: rgba(14, 125, 121, .10);
    border: 1px solid rgba(14, 125, 121, .18);
    border-radius: 999px;
    color: #0e7d79;
    display: inline-flex;
    font-weight: 900;
    gap: .45rem;
    padding: .55rem .85rem;
}
.notification-topic {
    user-select: none;
}
.notification-topic input:not(:checked) + span,
.notification-topic:not(.is-checked) span {
    background: #e2e8f0 !important;
    color: transparent !important;
}
.notification-topic input:checked + span,
.notification-topic.is-checked span {
    background: #0e7d79 !important;
    color: #fff !important;
}
.notification-topic.is-checked {
    border-color: rgba(14, 125, 121, .30) !important;
    background: rgba(14, 125, 121, .06) !important;
}

/* v59: browser support message styling remains graceful even where Web Push APIs differ */
.notification-subscribe-modal__hero p {
    max-width: 34rem;
}

/* v59: article auto-load failure should not stay stuck */
.article-autoload-trigger.is-loading .article-autoload-pill {
    opacity: 1;
}


/* v60: restore section headings; only news/article category chips get the improved category color */
.news-card__body > .story-badge,
.hero-story__content > .story-badge,
.article-header .article-kicker,
.full-article-card__header .article-kicker {
    background: linear-gradient(135deg, rgba(255, 237, 213, .98), rgba(254, 215, 170, .72)) !important;
    border: 1px solid rgba(249, 115, 22, .14) !important;
    color: #ea580c !important;
}

html[data-theme="dark"] .news-card__body > .story-badge,
html[data-theme="dark"] .hero-story__content > .story-badge,
html[data-theme="dark"] .article-header .article-kicker,
html[data-theme="dark"] .full-article-card__header .article-kicker {
    background: linear-gradient(135deg, rgba(249, 115, 22, .18), rgba(14, 125, 121, .10)) !important;
    border-color: rgba(251, 146, 60, .18) !important;
    color: #fb923c !important;
}

/* v60: keep Live ended ONLY on image/media badges, never after category/body */
.news-card__body .story-badge--live,
.news-card__body .story-badge--ended,
.hero-story__content .story-badge--live,
.hero-story__content .story-badge--ended,
.story-badge-row .story-badge--live,
.story-badge-row .story-badge--ended {
    display: none !important;
}

.media-type-chip--ended,
html[data-theme="dark"] .media-type-chip--ended {
    background: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(239, 68, 68, .24) !important;
}

.media-type-chip--ended i,
html[data-theme="dark"] .media-type-chip--ended i {
    color: #ffffff !important;
}

/* v60: make live badge readable in dark mode */
html[data-theme="dark"] .media-type-chip--live,
html[data-theme="dark"] .story-badge--live {
    background: #ef4444 !important;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(239, 68, 68, .24) !important;
}

/* v60: push popup topic and Allow All placement */
.notification-subscribe-modal__toolbar {
    display: none !important;
}

.notification-subscribe-modal__actions {
    align-items: center !important;
    display: grid !important;
    gap: .75rem !important;
    grid-template-columns: 1fr auto auto !important;
}

.notification-select-all-button {
    align-items: center;
    background: rgba(14, 125, 121, .10);
    border: 1px solid rgba(14, 125, 121, .18);
    border-radius: 999px;
    color: #0e7d79;
    display: inline-flex;
    font-weight: 900;
    gap: .45rem;
    justify-content: center;
    padding: .74rem 1rem;
}

.notification-topic {
    cursor: pointer !important;
    user-select: none !important;
}

.notification-topic input:not(:checked) + span,
.notification-topic:not(.is-checked) span {
    background: #e2e8f0 !important;
    color: transparent !important;
}

.notification-topic input:checked + span,
.notification-topic.is-checked span {
    background: #0e7d79 !important;
    color: #fff !important;
}

.notification-topic.is-checked {
    background: rgba(14, 125, 121, .06) !important;
    border-color: rgba(14, 125, 121, .30) !important;
}

/* v60: full articles loaded below article; no endless spinner */
.full-article-autoload-section {
    margin-top: 1.25rem !important;
}

.full-article-autoload-feed:empty + .article-autoload-trigger {
    display: none !important;
}

.full-article-card.article-shell {
    margin: 0 auto 1.5rem !important;
    max-width: 980px !important;
    padding: clamp(1rem, 2vw, 1.55rem) !important;
}

.full-article-card__header h1 {
    color: var(--text-strong) !important;
    font-size: clamp(1.85rem, 3vw, 3.35rem) !important;
    letter-spacing: -.04em !important;
    line-height: 1.02 !important;
}

.full-article-card__media img {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    object-fit: cover !important;
    width: 100% !important;
}

.full-article-inline-ad {
    margin: 1.4rem auto !important;
    max-width: 980px !important;
}

@media (max-width: 760px) {
    .notification-subscribe-modal__actions {
        grid-template-columns: 1fr !important;
    }
}

/* v61: web push popup category expansion and no-wrap buttons */
.notification-subscribe-modal__content {
    min-width: 0 !important;
}
.notification-subscribe-modal__grid {
    max-height: min(58vh, 520px) !important;
    overflow-y: auto !important;
    padding-right: 6px !important;
    scrollbar-width: thin;
}
.notification-topic,
.notification-select-all-button,
.notification-link-button,
.notification-subscribe-modal .site-button {
    white-space: nowrap !important;
}
.notification-topic strong,
.notification-select-all-button span,
.notification-link-button,
.notification-subscribe-modal .site-button span {
    white-space: nowrap !important;
}
.notification-subscribe-modal__actions {
    align-items: center !important;
    gap: 18px !important;
}
.notification-select-all-button,
.notification-subscribe-modal .site-button {
    min-width: max-content !important;
}
.full-article-autoload-section {
    margin-top: 2rem !important;
}
.full-article-autoload-feed {
    display: grid !important;
    gap: 1.25rem !important;
}
.full-article-autoload-feed:empty + .article-autoload-trigger {
    display: flex !important;
}
.article-autoload-trigger {
    min-height: 64px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
.article-autoload-trigger .article-autoload-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: .6rem !important;
    border-radius: 999px !important;
    padding: .8rem 1.1rem !important;
    background: rgba(14, 125, 121, .10) !important;
    border: 1px solid rgba(14, 125, 121, .22) !important;
    color: #0e7d79 !important;
    font-weight: 900 !important;
}
@media (max-width: 760px) {
    .notification-subscribe-modal__grid {
        max-height: 48vh !important;
    }
    .notification-subscribe-modal__actions {
        grid-template-columns: 1fr !important;
    }
    .notification-select-all-button,
    .notification-link-button,
    .notification-subscribe-modal .site-button {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* v62: auto-load full articles must render like real article pages, not broken summary cards */
.full-article-autoload-section {
    margin-top: clamp(2rem, 5vw, 4rem) !important;
}

.full-article-autoload-feed {
    display: block !important;
}

.auto-loaded-full-article {
    max-width: 1180px !important;
    margin: 0 auto !important;
}

.auto-loaded-full-article + .auto-loaded-full-article,
.auto-loaded-full-article__separator-ad + .auto-loaded-full-article {
    margin-top: clamp(2rem, 5vw, 4rem) !important;
}

.auto-loaded-full-article__permalink {
    display: inline-flex !important;
    align-items: center !important;
    gap: .55rem !important;
    margin: 0 0 1rem !important;
    width: auto !important;
    min-height: 0 !important;
    border-radius: 999px !important;
    padding: .72rem 1rem !important;
    background: rgba(14, 125, 121, .10) !important;
    border: 1px solid rgba(14, 125, 121, .18) !important;
    color: #0e7d79 !important;
    font-size: .86rem !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.auto-loaded-full-article__permalink:hover {
    background: rgba(14, 125, 121, .16) !important;
    color: #075f5b !important;
}

.auto-loaded-full-article__title-link {
    color: inherit !important;
    text-decoration: none !important;
}

.auto-loaded-full-article__hero,
.auto-loaded-full-article__content-card,
.auto-loaded-full-article__author,
.auto-loaded-full-article__tags {
    width: 100% !important;
    max-width: 100% !important;
}

.auto-loaded-full-article .article-hero__media img,
.auto-loaded-full-article .article-hero__media picture,
.auto-loaded-full-article .article-hero__media video,
.auto-loaded-full-article .video-embed-wrap,
.auto-loaded-full-article .social-embed-wrap {
    max-width: 100% !important;
}

.auto-loaded-full-article .article-prose {
    max-width: none !important;
}

.auto-loaded-full-article__separator-ad {
    max-width: 1180px !important;
    margin: clamp(1.6rem, 4vw, 3rem) auto !important;
}

.auto-loaded-full-article__separator-ad .ad-slot-content {
    min-height: 90px !important;
}

.full-article-autoload-feed .site-button {
    width: auto !important;
    min-height: 0 !important;
    padding: .85rem 1rem !important;
    border-radius: 999px !important;
    writing-mode: horizontal-tb !important;
}

@media (max-width: 760px) {
    .auto-loaded-full-article__permalink {
        display: flex !important;
        justify-content: center !important;
        white-space: normal !important;
        text-align: center !important;
    }
}
