/* Kisure Sports Frontend v854 — shared shell bundle B
 * FE854 cascade-preserving canonical consolidation.
 * Original source order is retained exactly; no selector/rule removal.
 */

/* ===== SOURCE: /css/kisure-v437-football-entity-integrity.css ===== */
/*
 * Kisure Sports frontend v437
 * Public football entity routing, squad identity labels and uniform icon frames.
 */

/* Competition navigation: every crest owns the same visual box even when the
 * provider PNG contains transparent padding or uses a wide source canvas. */
.football-link-list--logos > a > img,
.football-link-list--logos a img {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    flex: 0 0 32px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    object-position: center !important;
    box-sizing: border-box !important;
    padding: 3px !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    border-radius: 50% !important;
    background: #fff !important;
    vertical-align: middle !important;
}

/* Small team marks and flags share one fixed frame across fixtures, tables,
 * Sports Desk cards, standing rows and compact match components. */
.ks-desk-table-card__row strong img,
.ks-desk-table-card__row .team-logo,
.football-table-team img,
.football-mini-table img,
.football-standings-table .team-logo,
.football-standing-team img,
.football-schedule-row__team img,
.football-fixture-tile__teams img,
.football-match-card__team img,
.football-team-name img,
.football-team-inline img,
.football-club-table img,
.football-live-strip img,
.ks-desk-match img,
.ks-desk-team img {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    flex: 0 0 28px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center !important;
    box-sizing: border-box !important;
    padding: 1px !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    border-radius: 50% !important;
    background: #fff !important;
    vertical-align: middle !important;
}

/* Provider crests that should remain fully visible can opt into containment. */
.football-logo-contain,
img[data-kisure-logo-fit="contain"] {
    object-fit: contain !important;
    padding: 3px !important;
}

/* Prevent image dimensions declared by API markup from stretching the rows. */
.ks-desk-table-card__row strong,
.football-table-team,
.football-schedule-row__team,
.football-match-card__team,
.football-team-name,
.football-team-inline {
    min-width: 0;
}

.ks-desk-table-card__row strong img + span,
.football-table-team img + span,
.football-schedule-row__team img + span,
.football-match-card__team img + span {
    min-width: 0;
}

:is(html[data-theme="dark"], body.dark-mode, .is-dark) .football-link-list--logos a img,
:is(html[data-theme="dark"], body.dark-mode, .is-dark) .ks-desk-table-card__row strong img,
:is(html[data-theme="dark"], body.dark-mode, .is-dark) .football-table-team img,
:is(html[data-theme="dark"], body.dark-mode, .is-dark) .football-mini-table img,
:is(html[data-theme="dark"], body.dark-mode, .is-dark) .football-schedule-row__team img,
:is(html[data-theme="dark"], body.dark-mode, .is-dark) .football-match-card__team img {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
}

/* v438 mobile performance containment */
@media (max-width: 767.98px) {
    .site-main .news-grid > article:nth-child(n+5),
    .site-main .video-showcase,
    .site-main .home-gallery-showcase,
    .site-main .sidebar-stack {
        content-visibility: auto;
        contain-intrinsic-size: 1px 720px;
    }

    .site-skeleton-loader {
        transition-duration: 120ms !important;
    }
}

@media (max-width: 767.98px) {
    html .site-skeleton-loader {
        display: none !important;
    }
}


/* v464 universal football search */
.global-search-suggestions{max-height:min(62vh,560px);overflow:auto;margin-top:.75rem;border:1px solid var(--border-color,#d9dee8);border-radius:16px;background:var(--surface,#fff);box-shadow:0 18px 45px rgba(15,23,42,.16)}
.global-search-suggestion,.global-search-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:.8rem;padding:.72rem .85rem;color:inherit;text-decoration:none;border-bottom:1px solid var(--border-color,#e5e7eb)}
.global-search-suggestion:last-child,.global-search-card:last-child{border-bottom:0}.global-search-suggestion:hover,.global-search-card:hover{background:var(--surface-muted,#f6f8fb)}
.global-search-suggestion__media,.global-search-card__media{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--surface-muted,#eef2f7);overflow:hidden}.global-search-suggestion__media img,.global-search-card__media img{width:100%;height:100%;object-fit:contain}.global-search-suggestion strong,.global-search-card strong{display:block}.global-search-suggestion small,.global-search-card small{display:block;color:var(--text-soft,#64748b);margin-top:.12rem}.global-search-suggestion em{font-style:normal;text-transform:uppercase;font-size:.65rem;letter-spacing:.08em;color:var(--text-soft,#64748b)}.global-search-suggestions__loading{padding:1rem;color:var(--text-soft,#64748b)}
.global-search-page__form{display:flex;gap:.7rem;margin:1rem 0 1.5rem}.global-search-page__form input{flex:1;min-width:0;padding:.9rem 1rem;border:1px solid var(--border-color,#d9dee8);border-radius:14px;background:var(--surface,#fff);color:inherit}.global-search-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.global-search-card{border:1px solid var(--border-color,#e5e7eb);border-radius:14px;background:var(--surface,#fff)}
.football-performance-chart{display:grid;gap:.7rem}.football-performance-chart__row{display:grid;grid-template-columns:minmax(90px,1.3fr) minmax(120px,3fr) auto;align-items:center;gap:.75rem}.football-performance-chart__bar{height:12px;border-radius:999px;background:var(--surface-muted,#e9eef5);overflow:hidden}.football-performance-chart__bar i{display:block;height:100%;border-radius:inherit;background: #f97316}.football-momentum{display:grid;grid-template-columns:repeat(90,minmax(1px,1fr));height:96px;align-items:center;gap:1px;padding:.75rem;border-radius:14px;background:var(--surface-muted,#f5f7fa)}.football-momentum span{display:block;min-height:4px;border-radius:3px;background:#94a3b8}.football-momentum span.is-home{align-self:end;background:#dc2626}.football-momentum span.is-away{align-self:start;background:#2563eb}.football-coach-career-chart{display:flex;align-items:flex-end;gap:.6rem;min-height:150px;overflow-x:auto;padding:.5rem}.football-coach-career-chart__bar{min-width:82px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:.4rem}.football-coach-career-chart__bar i{width:32px;min-height:16px;border-radius:8px 8px 3px 3px;background: #7f1d1d}.football-coach-career-chart__bar small{text-align:center}
@media(max-width:700px){.global-search-grid{grid-template-columns:1fr}.global-search-page__form{flex-direction:column}.global-search-suggestion,.global-search-card{grid-template-columns:42px minmax(0,1fr) auto}.football-performance-chart__row{grid-template-columns:90px minmax(90px,1fr) auto}}

/* ===== SOURCE: /css/kisure-v467-search-redesign.css ===== */
/*
 * Kisure Sports v467
 * Universal search modal and complete search results redesign.
 */

:root {
    --ks-search-accent: #0797a5;
    --ks-search-accent-strong: #047783;
    --ks-search-accent-soft: rgba(7, 151, 165, 0.10);
    --ks-search-accent-ring: rgba(7, 151, 165, 0.16);
    --ks-search-ink: #111c33;
    --ks-search-muted: #66738a;
    --ks-search-faint: #8c98aa;
    --ks-search-line: rgba(17, 28, 51, 0.10);
    --ks-search-panel: #ffffff;
    --ks-search-soft: #f4f8f9;
    --ks-search-elevated: #ffffff;
    --ks-search-shadow: 0 24px 70px rgba(12, 25, 45, 0.22);
    --ks-search-card-shadow: 0 10px 28px rgba(12, 25, 45, 0.06);
}

html[data-theme="dark"] {
    --ks-search-accent: #22b9c6;
    --ks-search-accent-strong: #63d7df;
    --ks-search-accent-soft: rgba(34, 185, 198, 0.13);
    --ks-search-accent-ring: rgba(34, 185, 198, 0.18);
    --ks-search-ink: #f3f7fd;
    --ks-search-muted: #a8b4c7;
    --ks-search-faint: #7f8ba0;
    --ks-search-line: rgba(255, 255, 255, 0.10);
    --ks-search-panel:#1c1c1c;
    --ks-search-soft: #172132;
    --ks-search-elevated: #151f2f;
    --ks-search-shadow:none;
    --ks-search-card-shadow:none;
}

.search-modal,
.search-modal *,
.global-search-page,
.global-search-page * {
    box-sizing: border-box;
}

/* =========================================================
   UNIVERSAL SEARCH MODAL
   ========================================================= */

.search-modal {
    display: grid;
    align-items: start;
    justify-items: center;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(5.25rem, 9vh, 7.25rem) 1rem 1rem;
    background: rgba(8, 17, 31, 0.58);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.search-modal__card {
    width: min(820px, 100%);
    max-width: 820px;
    max-height: min(78dvh, 760px);
    margin: 0;
    padding: clamp(1rem, 2.5vw, 1.4rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ks-search-line);
    border-radius: 26px;
    background: var(--ks-search-panel);
    box-shadow: var(--ks-search-shadow);
}

.search-modal__top {
    margin: 0 0 0.95rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.search-modal__heading {
    min-width: 0;
}

.search-modal__label {
    margin: 0;
    color: var(--ks-search-ink);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.search-modal__hint {
    margin: 0.3rem 0 0;
    color: var(--ks-search-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.search-modal__top .site-icon-button {
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--ks-search-line);
    border-radius: 50%;
    background: var(--ks-search-elevated);
    color: var(--ks-search-ink);
    cursor: pointer;
    box-shadow: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.search-modal__top .site-icon-button:hover,
.search-modal__top .site-icon-button:focus-visible {
    transform: rotate(4deg);
    border-color: rgba(7, 151, 165, 0.38);
    background: var(--ks-search-accent-soft);
}

.search-modal__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0.75rem;
}

.search-modal__input-wrap {
    min-width: 0;
    position: relative;
    display: block;
}

.search-modal__input-wrap > i {
    position: absolute;
    left: 1rem;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    color: var(--ks-search-accent-strong);
    font-size: 0.92rem;
    pointer-events: none;
}

.search-modal__form input[type="search"] {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    margin: 0;
    padding: 0.85rem 1rem 0.85rem 2.8rem;
    border: 1px solid rgba(7, 151, 165, 0.24);
    border-radius: 17px;
    outline: 0;
    background: var(--ks-search-soft);
    color: var(--ks-search-ink);
    font: inherit;
    font-size: 0.98rem;
    box-shadow: none;
    appearance: none;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.search-modal__form input[type="search"]::placeholder {
    color: var(--ks-search-faint);
}

.search-modal__form input[type="search"]:focus {
    border-color: var(--ks-search-accent);
    background: var(--ks-search-elevated);
    box-shadow: 0 0 0 4px var(--ks-search-accent-ring);
}

.search-modal__form .site-button {
    min-width: 126px;
    min-height: 56px;
    margin: 0;
    padding: 0 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 0;
    border-radius: 17px;
    background: var(--ks-search-accent);
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(7, 151, 165, 0.22);
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.search-modal__form .site-button:hover,
.search-modal__form .site-button:focus-visible {
    transform: translateY(-1px);
    background: var(--ks-search-accent-strong);
    box-shadow: 0 15px 30px rgba(7, 151, 165, 0.28);
}

.global-search-suggestions {
    min-height: 0;
    max-height: calc(min(78dvh, 760px) - 205px);
    margin-top: 0.8rem;
    padding: 0.15rem 0.35rem 0.2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(7, 151, 165, 0.36) transparent;
}

.global-search-suggestions[hidden],
.global-search-suggestions:empty {
    display: none;
}

.global-search-suggestions::-webkit-scrollbar {
    width: 7px;
}

.global-search-suggestions::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(7, 151, 165, 0.30);
}

.global-search-suggestions__header {
    padding: 0.2rem 0.2rem 0.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--ks-search-muted);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.global-search-suggestions__header small {
    color: var(--ks-search-faint);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.global-search-suggestions__loading,
.global-search-suggestions__empty {
    min-height: 92px;
    padding: 1rem;
    display: grid;
    place-items: center;
    border: 1px dashed var(--ks-search-line);
    border-radius: 16px;
    background: var(--ks-search-soft);
    color: var(--ks-search-muted);
    font-size: 0.9rem;
    text-align: center;
}

.global-search-suggestion {
    width: 100%;
    min-width: 0;
    min-height: 74px;
    margin: 0;
    padding: 0.58rem;
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.72rem;
    overflow: hidden;
    border: 1px solid var(--ks-search-line);
    border-radius: 16px;
    background: var(--ks-search-elevated);
    color: var(--ks-search-ink);
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(12, 25, 45, 0.025);
    transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.global-search-suggestion:hover,
.global-search-suggestion:focus-visible,
.global-search-suggestion.is-active {
    transform: translateY(-1px);
    border-color: rgba(7, 151, 165, 0.38);
    background: color-mix(in srgb, var(--ks-search-accent-soft) 55%, var(--ks-search-elevated));
    color: var(--ks-search-ink);
    box-shadow: 0 9px 22px rgba(12, 25, 45, 0.08);
    outline: none;
}

.global-search-suggestion__media {
    width: 60px;
    height: 58px;
    min-width: 60px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--ks-search-line);
    border-radius: 12px;
    background: var(--ks-search-soft);
    color: var(--ks-search-accent-strong);
}

.global-search-suggestion__media img {
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.global-search-suggestion[data-type="team"] .global-search-suggestion__media img,
.global-search-suggestion[data-type="competition"] .global-search-suggestion__media img,
.global-search-suggestion[data-type="match"] .global-search-suggestion__media img {
    padding: 0.35rem;
    object-fit: contain;
    object-position: center;
}

.global-search-suggestion__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.27rem;
}

.global-search-suggestion strong {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--ks-search-ink);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.32;
    letter-spacing: -0.012em;
}

.global-search-suggestion small {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: var(--ks-search-muted);
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.global-search-suggestion__type {
    min-width: 66px;
    max-width: 92px;
    margin: 0;
    padding: 0.42rem 0.58rem;
    justify-self: end;
    overflow: hidden;
    border: 1px solid rgba(7, 151, 165, 0.15);
    border-radius: 999px;
    background: var(--ks-search-accent-soft);
    color: var(--ks-search-accent-strong);
    font-size: 0.61rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.065em;
    line-height: 1;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.global-search-suggestion[data-type="article"] .global-search-suggestion__type {
    border-color: var(--ks-search-line);
    background: var(--ks-search-soft);
    color: var(--ks-search-muted);
}

/* =========================================================
   FULL SEARCH PAGE
   ========================================================= */

.global-search-page {
    width: min(1240px, calc(100% - 24px));
    margin-inline: auto;
    padding-bottom: clamp(2rem, 5vw, 4rem);
}

.global-search-hero {
    margin: 0 0 1rem;
    padding: clamp(1.5rem, 4vw, 2.65rem);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(7, 151, 165, 0.16);
    border-radius: 26px;
    background: var(--ks-search-panel) rgba(248, 169, 115, 0.15);
    box-shadow: var(--ks-search-card-shadow);
}

.global-search-hero::after {
    content: "";
    width: 210px;
    height: 210px;
    position: absolute;
    right: -90px;
    top: -115px;
    border: 1px solid rgba(7, 151, 165, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(7, 151, 165, 0.035), 0 0 0 68px rgba(7, 151, 165, 0.025);
    pointer-events: none;
}

.global-search-hero__copy {
    max-width: 850px;
    position: relative;
    z-index: 1;
}

.global-search-hero .site-kicker {
    margin: 0 0 0.8rem;
    color: var(--ks-search-accent-strong);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.global-search-hero h1 {
    max-width: 920px;
    margin: 0;
    color: var(--ks-search-ink);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: clamp(2rem, 4.2vw, 3.45rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.global-search-hero p {
    max-width: 760px;
    margin: 1rem 0 0;
    color: var(--ks-search-muted);
    font-size: clamp(0.92rem, 1.4vw, 1.02rem);
    line-height: 1.65;
}

.global-search-page__form {
    width: min(900px, 100%);
    margin: clamp(1.25rem, 3vw, 1.8rem) 0 0;
    padding: 0.55rem;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--ks-search-line);
    border-radius: 20px;
    background: var(--ks-search-elevated);
    box-shadow: 0 10px 30px rgba(12, 25, 45, 0.07);
}

.global-search-page__input-wrap {
    min-width: 0;
    position: relative;
    display: block;
}

.global-search-page__input-wrap > i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ks-search-accent-strong);
    font-size: 0.92rem;
    pointer-events: none;
}

.global-search-page__form input[type="search"] {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    margin: 0;
    padding: 0.8rem 1rem 0.8rem 2.75rem;
    border: 1px solid transparent;
    border-radius: 14px;
    outline: 0;
    background: var(--ks-search-soft);
    color: var(--ks-search-ink);
    font: inherit;
    font-size: 0.96rem;
    box-shadow: none;
    appearance: none;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.global-search-page__form input[type="search"]:focus {
    border-color: var(--ks-search-accent);
    background: var(--ks-search-elevated);
    box-shadow: 0 0 0 4px var(--ks-search-accent-ring);
}

.global-search-page__form .site-button {
    min-width: 128px;
    min-height: 54px;
    margin: 0;
    padding: 0 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 0;
    border-radius: 14px;
    background: var(--ks-search-accent);
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(7, 151, 165, 0.20);
}

.global-search-hero__summary {
    margin-top: 0.95rem;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: baseline;
    gap: 0.42rem;
    color: var(--ks-search-muted);
    font-size: 0.82rem;
}

.global-search-hero__summary strong {
    color: var(--ks-search-ink);
    font-size: 1rem;
    font-weight: 900;
}

.global-search-page__groups {
    display: grid;
    gap: 1rem;
}

.global-search-section {
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: clamp(1rem, 2.5vw, 1.45rem);
    overflow: hidden;
    border: 1px solid var(--ks-search-line);
    border-radius: 22px;
    background: var(--ks-search-panel);
    box-shadow: var(--ks-search-card-shadow);
}

.global-search-section__header {
    margin: 0 0 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.global-search-section__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(7, 151, 165, 0.15);
    border-radius: 13px;
    background: var(--ks-search-accent-soft);
    color: var(--ks-search-accent-strong);
    font-size: 0.95rem;
}

.global-search-section__title {
    min-width: 0;
}

.global-search-section__header .site-kicker {
    display: block;
    margin: 0 0 0.18rem;
    color: var(--ks-search-accent-strong);
    font-size: 0.63rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.global-search-section__header h2 {
    margin: 0;
    color: var(--ks-search-ink);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: clamp(1.22rem, 2.2vw, 1.65rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.global-search-grid {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    align-items: stretch;
    gap: 0.7rem;
}

.global-search-card {
    width: 100%;
    min-width: 0;
    min-height: 96px;
    margin: 0;
    padding: 0.62rem;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--ks-search-line);
    border-radius: 16px;
    background: var(--ks-search-elevated);
    color: var(--ks-search-ink);
    text-decoration: none;
    box-shadow: none;
    transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.global-search-card:hover,
.global-search-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(7, 151, 165, 0.38);
    background: color-mix(in srgb, var(--ks-search-accent-soft) 45%, var(--ks-search-elevated));
    color: var(--ks-search-ink);
    box-shadow: 0 10px 24px rgba(12, 25, 45, 0.075);
    outline: none;
}

.global-search-card__media {
    width: 74px;
    height: 74px;
    min-width: 74px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--ks-search-line);
    border-radius: 13px;
    background: var(--ks-search-soft);
    color: var(--ks-search-accent-strong);
}

.global-search-card__media img {
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
}

.global-search-card__media.is-cover img {
    object-fit: cover;
    object-position: center top;
}

.global-search-card__media.is-contain img {
    padding: 0.42rem;
    object-fit: contain;
    object-position: center;
}

.global-search-card__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.23rem;
}

.global-search-card__type {
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    color: var(--ks-search-accent-strong);
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.global-search-card strong {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--ks-search-ink);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.34;
    letter-spacing: -0.012em;
}

.global-search-card small {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: var(--ks-search-muted);
    font-size: 0.73rem;
    font-weight: 600;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.global-search-card__arrow {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    justify-self: end;
    border-radius: 50%;
    background: var(--ks-search-accent-soft);
    color: var(--ks-search-accent-strong);
    font-size: 0.66rem;
    transition: transform 150ms ease, background 150ms ease;
}

.global-search-card:hover .global-search-card__arrow,
.global-search-card:focus-visible .global-search-card__arrow {
    transform: translateX(2px);
    background: rgba(7, 151, 165, 0.17);
}

.global-search-card--article .global-search-card__type {
    color: var(--ks-search-muted);
}

.global-search-empty {
    min-height: 260px;
    padding: 2rem;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.55rem;
    border: 1px dashed var(--ks-search-line);
    border-radius: 22px;
    background: var(--ks-search-panel);
    color: var(--ks-search-muted);
    text-align: center;
}

.global-search-empty__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--ks-search-accent-soft);
    color: var(--ks-search-accent-strong);
    font-size: 1.15rem;
}

.global-search-empty h2 {
    margin: 0.35rem 0 0;
    color: var(--ks-search-ink);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1.55rem;
}

.global-search-empty p {
    max-width: 520px;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 720px) {
    .search-modal {
        padding: 0.6rem;
        align-items: end;
    }

    .search-modal__card {
        width: 100%;
        max-height: 90dvh;
        padding: 0.95rem;
        border-radius: 22px;
    }

    .search-modal__top {
        margin-bottom: 0.75rem;
    }

    .search-modal__hint {
        display: none;
    }

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

    .search-modal__form input[type="search"],
    .search-modal__form .site-button {
        min-height: 52px;
        width: 100%;
    }

    .global-search-suggestions {
        max-height: calc(90dvh - 238px);
        margin-top: 0.6rem;
    }

    .global-search-suggestion {
        min-height: 68px;
        grid-template-columns: 52px minmax(0, 1fr) auto;
        gap: 0.6rem;
        border-radius: 14px;
    }

    .global-search-suggestion__media {
        width: 52px;
        height: 52px;
        min-width: 52px;
        border-radius: 11px;
    }

    .global-search-suggestion__type {
        min-width: 0;
        max-width: 70px;
        padding: 0.34rem 0.42rem;
        font-size: 0.54rem;
    }

    .global-search-page {
        width: calc(100% - 16px);
    }

    .global-search-hero {
        padding: 1.35rem 1rem;
        border-radius: 20px;
    }

    .global-search-hero h1 {
        font-size: clamp(1.85rem, 9vw, 2.55rem);
    }

    .global-search-page__form {
        padding: 0.48rem;
        grid-template-columns: 1fr;
        border-radius: 17px;
    }

    .global-search-page__form .site-button {
        width: 100%;
        min-height: 50px;
    }

    .global-search-section {
        padding: 0.9rem;
        border-radius: 18px;
    }

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

    .global-search-card {
        min-height: 88px;
        grid-template-columns: 64px minmax(0, 1fr) 28px;
        gap: 0.65rem;
        border-radius: 14px;
    }

    .global-search-card__media {
        width: 64px;
        height: 64px;
        min-width: 64px;
        border-radius: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .search-modal__top .site-icon-button,
    .search-modal__form .site-button,
    .global-search-suggestion,
    .global-search-card,
    .global-search-card__arrow {
        transition: none;
    }
}


/* =========================================================
   v467 SEARCH CATEGORY SELECTORS
   ========================================================= */

.global-search-filters {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.62rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.global-search-filters::-webkit-scrollbar {
    display: none;
}

.global-search-filters--modal {
    margin-top: 0.85rem;
    padding: 0.78rem 0 0.85rem;
    border-top: 1px solid var(--ks-search-line);
    border-bottom: 1px solid var(--ks-search-line);
}

.global-search-filters--page {
    width: min(1040px, 100%);
    margin-top: 1rem;
    padding: 0.3rem 0 0.12rem;
    position: relative;
    z-index: 1;
}

.global-search-filter {
    min-width: max-content;
    min-height: 44px;
    margin: 0;
    padding: 0.68rem 1.24rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ks-search-line);
    border-radius: 999px;
    background: var(--ks-search-elevated);
    color: var(--ks-search-ink);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none;
    transition:
        transform 150ms ease,
        border-color 150ms ease,
        background 150ms ease,
        color 150ms ease,
        box-shadow 150ms ease;
}

.global-search-filter:hover,
.global-search-filter:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(7, 151, 165, 0.35);
    background: var(--ks-search-accent-soft);
    color: var(--ks-search-accent-strong);
    outline: none;
}

.global-search-filter.is-active,
.global-search-filter[aria-selected="true"] {
    border-color: #17191d;
    background: #17191d;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(12, 25, 45, 0.16);
}

html[data-theme="dark"] .global-search-filter.is-active,
html[data-theme="dark"] .global-search-filter[aria-selected="true"] {
    border-color: var(--ks-search-accent);
    background: var(--ks-search-accent);
    color: #07141b;
}

.global-search-suggestions__filter-empty {
    min-height: 235px;
    padding: 2rem 1rem;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.7rem;
    color: var(--ks-search-muted);
    text-align: center;
}

.global-search-suggestions__filter-empty > i {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: var(--ks-search-soft);
    color: var(--ks-search-faint);
    font-size: 2rem;
}

.global-search-suggestions__filter-empty strong {
    color: var(--ks-search-muted);
    font-size: 0.98rem;
    font-weight: 800;
}

.global-search-filter-empty {
    min-height: 330px;
    margin: 0;
    padding: 2.4rem 1.2rem;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.7rem;
    border: 1px solid var(--ks-search-line);
    border-radius: 22px;
    background: var(--ks-search-panel);
    box-shadow: var(--ks-search-card-shadow);
    color: var(--ks-search-muted);
    text-align: center;
}

.global-search-filter-empty[hidden],
.global-search-section[hidden] {
    display: none !important;
}

.global-search-filter-empty__icon {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 26px;
    background: var(--ks-search-soft);
    color: var(--ks-search-faint);
    font-size: 2rem;
}

.global-search-filter-empty h2 {
    margin: 0.45rem 0 0;
    color: var(--ks-search-ink);
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    letter-spacing: -0.03em;
}

.global-search-filter-empty p {
    max-width: 540px;
    margin: 0;
    line-height: 1.55;
}

@media (max-width: 720px) {
    .global-search-filters {
        gap: 0.5rem;
    }

    .global-search-filters--modal {
        margin-top: 0.65rem;
        padding: 0.65rem 0 0.72rem;
    }

    .global-search-filter {
        min-height: 40px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .global-search-suggestions__filter-empty {
        min-height: 205px;
    }

    .global-search-filter-empty {
        min-height: 260px;
        border-radius: 18px;
    }
}

/* ===== SOURCE: /css/kisure-v468-performance-video.css ===== */
.video-watch-page{padding-block:24px 56px}.video-watch-breadcrumbs{display:flex;align-items:center;gap:10px;margin:0 0 18px;color:#66758b;font-size:13px}.video-watch-breadcrumbs a{color:inherit;text-decoration:none}.video-watch-card{overflow:hidden;border:1px solid rgba(15,35,60,.1);border-radius:26px;background:#fff;box-shadow:0 18px 50px rgba(15,35,60,.08)}.video-watch-header{padding:clamp(22px,4vw,44px)}.video-watch-header h1{max-width:980px;margin:8px 0 14px;color:#111b31;font-size:clamp(30px,5vw,54px);line-height:1.04;letter-spacing:-.045em}.video-watch-header p{max-width:850px;margin:0;color:#5d6a7f;font-size:17px;line-height:1.65}.video-watch-meta{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:18px;color:#718096;font-size:13px;font-weight:700}.video-watch-player{position:relative;width:100%;aspect-ratio:16/9;background:#05080d}.video-watch-player iframe,.video-watch-player video{width:100%;height:100%;border:0;display:block}.video-watch-external{width:100%;height:100%;display:grid;place-content:center;gap:12px;color:#fff;text-align:center;text-decoration:none}.video-watch-external i{font-size:52px}.video-watch-footer{display:flex;flex-wrap:wrap;gap:12px;padding:20px clamp(20px,4vw,38px)}.video-watch-related{margin-top:28px}.video-watch-related__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:15px}.video-watch-related__card{display:grid;gap:12px;color:#111b31;text-decoration:none}.video-watch-related__media{position:relative;overflow:hidden;aspect-ratio:16/9;border-radius:16px;background:#e8eef1}.video-watch-related__media img{width:100%;height:100%;object-fit:cover}.video-watch-related__media i{position:absolute;inset:50% auto auto 50%;width:44px;height:44px;display:grid;place-items:center;transform:translate(-50%,-50%);border-radius:50%;background:rgba(0,0,0,.72);color:#fff}.video-watch-related__card strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:15px;line-height:1.35}.video-watch-related__card small{color:#718096}html[data-theme=dark] .video-watch-card{background:#111827;border-color:rgba(255,255,255,.1)}html[data-theme=dark] .video-watch-header h1,html[data-theme=dark] .video-watch-related__card{color:#f4f7fb}html[data-theme=dark] .video-watch-header p{color:#b0bbca}@media(max-width:720px){.video-watch-page{padding-top:14px}.video-watch-card{border-radius:19px}.video-watch-header{padding:22px 18px}.video-watch-footer{padding:16px}.video-watch-footer .site-button{width:100%;justify-content:center}}

.article-video-watch-cta {
    margin-top: 18px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.article-video-watch-cta .site-button {
    min-height: 44px;
    padding-inline: 18px;
}

.article-video-watch-cta small {
    color: var(--muted, #667085);
    font-size: 12px;
    font-weight: 700;
}

/* ===== SOURCE: /css/kisure-v472-match-live-polish.css ===== */
/* Kisure v472: one live-clock surface, hidden empty red cards, compact forecast. */
[data-live-red-cards][hidden] { display: none !important; }
.football-match-forecast { padding: 18px 20px !important; }
.football-match-forecast__heading { align-items: center !important; margin-bottom: 12px !important; }
.football-match-forecast__heading h2 { font-size: clamp(20px,2vw,27px) !important; margin: 2px 0 3px !important; }
.football-match-forecast__heading p { font-size: 13px !important; margin: 0 !important; max-width: 650px !important; }
.football-match-forecast__summary { min-height: 0 !important; padding: 12px 14px !important; margin-bottom: 10px !important; }
.football-match-forecast__summary strong { font-size: 17px !important; }
.football-match-forecast__markets { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 8px !important; }
.football-match-forecast__markets article { min-height: 0 !important; padding: 11px 12px !important; }
.football-match-forecast__markets article strong { font-size: 16px !important; }
.football-match-forecast__markets article em { font-size: 11px !important; }
.football-match-forecast__note { font-size: 11px !important; margin: 10px 0 0 !important; line-height: 1.45 !important; }
@media (max-width: 720px) {
  .football-match-forecast { padding: 15px !important; }
  .football-match-forecast__markets { grid-template-columns: 1fr !important; }
  .football-match-forecast__heading { align-items: flex-start !important; }
}
