/* Qiuba match day. Shared CMS classes below are scoped to the homepage. */
.qb-home {
    --ink: #282e35; --muted: #58636d; --brand: #b83b29; --line: #dee2e4; --tint: #fcf0ed;
    font-variant-numeric: tabular-nums;
}
body.qb-home {font-family: "Noto Sans SC","Microsoft YaHei","PingFang SC",sans-serif}
.qb-screen-reader {position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap}
.qb-home .qb-ui-wrap {width: min(1400px, calc(100% - 64px)); margin-inline: auto}
.qb-home .qb-ui-header {height: 66px; background: #fff; color: var(--ink); border: 0; border-bottom: 1px solid var(--line); box-shadow: none}
.qb-home .qb-ui-header-inner {gap: 24px}
.qb-home .qb-ui-brand-link {gap: 9px}
.qb-home .qb-ui-header .qb-ui-brand-link {color: var(--ink)!important}
.qb-home .qb-mark {width: 34px; height: 34px; flex: 0 0 auto}
.qb-home .qb-ui-header .qb-ui-nav {gap: 3px}
.qb-home .qb-ui-header .qb-ui-nav a {display: grid; place-items: center; min-height: 44px; padding: 8px 13px; border: 0; border-radius: 0; color: var(--ink); background: transparent; box-shadow: none; font-size: 14px}
.qb-home .qb-ui-header .qb-ui-nav a:is(:hover,[aria-current="page"]) {background: #fff; color: var(--brand); box-shadow: inset 0 -3px var(--brand)}
.qb-home .qb-ui-header-tools :is(a,button) {width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 6px}
.qb-home .qb-ui-nav.qb-is-open {background: white; border: 1px solid var(--line); box-shadow: 0 8px 18px #282e3515}
.qb-home .qb-ui-ad {min-height: 0}
.qb-home :is(.qb-ui-header,.qb-desk,.qb-ui-footer) :is(a,button,summary):focus-visible {outline: 2px solid #ab3828; outline-offset: -2px}
.qb-home .qb-desk {
    display: grid; align-items: start; align-content: start; gap: 18px;
    grid-template-columns: clamp(178px,15vw,210px) minmax(0,1fr) clamp(230px,20vw,290px);
    grid-template-areas: "mast mast mast" "directory center reader";
    padding-block: 18px 32px; color: var(--ink); font-size: 14px; line-height: 1.5;
}
.qb-desk :is(h1,h2,h3,p) {margin: 0}
.qb-mast {grid-area: mast; isolation: isolate; display: flex; align-items: center; position: relative; min-height: 134px; overflow: hidden; border-radius: 9px; background: #252a2d; color: white}
.qb-mast-copy {position: relative; z-index: 1; width: 54%; padding: 23px 30px}
.qb-mast h1 {font-size: clamp(29px,2.9vw,42px); line-height: 1.16; letter-spacing: -.035em; font-weight: 800}
.qb-mast p {margin-top: 10px; color: #e3e4e1; font-size: 14px; line-height: 1.55}
.qb-mast-photo {position: absolute; z-index: -2; inset: 0 0 0 auto; width: 46%; height: 100%; object-fit: cover; object-position: 62% 50%; clip-path: polygon(8% 0,100% 0,100% 100%,0 100%)}
.qb-mast::after {content: ''; position: absolute; inset: 0 auto 0 54%; width: 4.1%; background: #ce5c3d; clip-path: polygon(88% 0,100% 0,12% 100%,0 100%); z-index: -1}
.qb-directory {grid-area: directory}
.qb-center {grid-area: center}
.qb-reader {grid-area: reader}
.qb-directory,.qb-reader,.qb-center,.qb-fixtures {display: grid; gap: 14px; min-width: 0; align-content: start}
.qb-card {min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px}
.qb-cap {display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line)}
.qb-cap h2 {font-size: 17px; font-weight: 750; line-height: 1.35}
.qb-cap>a,.qb-cap>span {font-size: 12px; color: var(--muted); white-space: nowrap}
.qb-cap>a:hover,.qb-story:hover,.qb-lead:hover strong,.qb-textlink:hover {color: var(--brand); text-decoration: underline}
.qb-leagues,.qb-channels {display: grid; padding: 4px 8px}
.qb-leagues>a,.qb-channels>a {display: flex; align-items: center; min-height: 41px; gap: 10px; padding: 5px 8px; border-radius: 4px; font-weight: 600; color: var(--ink)}
.qb-leagues img,.qb-channels img {width: 22px; height: 22px; object-fit: contain; flex: none}
.qb-leagues a:is(:hover,[aria-current="page"]),.qb-channels a:hover {background: var(--tint); color: var(--brand)}
.qb-footlink {display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 42px; padding: 8px 15px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 650}
.qb-footlink span,.qb-footlink:hover {color: var(--brand)}
.qb-controls {padding: 0 16px 6px; border-top: 3px solid var(--ink)}
.qb-datebar,.qb-calendar,.qb-calendar div,.qb-days,.qb-pickers,.qb-sports,.qb-states {display: flex; align-items: center}
.qb-datebar {justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line)}
.qb-calendar {gap: 8px; min-width: 0}
.qb-calendar div {gap: 6px}
.qb-calendar time {font-size: 21px; line-height: 1.3; font-weight: 750; white-space: nowrap}
.qb-calendar div span {color: var(--muted); font-size: 12px; white-space: nowrap}
.qb-arrow {display: grid; place-items: center; width: 36px; height: 40px; border: 1px solid var(--line); border-radius: 5px; font: 23px/1 Arial,sans-serif}
.qb-arrow:hover,.qb-days a:hover {color: var(--brand); background: var(--tint)}
.qb-days {padding: 2px; border: 1px solid var(--line); border-radius: 6px; gap: 2px}
.qb-days a {display: grid; place-items: center; min-height: 34px; padding: 4px 12px; color: var(--muted); border-radius: 4px; font-size: 13px}
.qb-days a[aria-current] {background: var(--tint); color: #922e20; font-weight: 700}
.qb-pickers {justify-content: space-between; gap: 8px; flex-wrap: wrap; padding-block: 8px 3px}
.qb-sports,.qb-states {gap: 4px; flex-wrap: wrap}
.qb-sports a {display: grid; place-items: center; min-height: 35px; padding: 4px 14px; border-radius: 5px; font-weight: 650; color: var(--ink); background: #f2f3f3}
.qb-sports a[aria-current] {background: var(--ink); color: white}
.qb-textlink {display: inline-flex; align-items: center; gap: 5px; min-height: 36px; color: var(--brand); font-size: 13px; font-weight: 600}
.qb-states {gap: 2px 8px}
.qb-states a {display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 4px 2px; color: var(--muted); font-size: 12px}
.qb-states a[aria-current] {color: var(--brand); font-weight: 700}
.qb-states small {font-size: inherit}
.qb-results .qb-cap {border-radius: 7px 7px 0 0; border-bottom: none; background: #30363b; color: white}
.qb-results .qb-cap h2 {font-size: 19px}
.qb-results .qb-results-meta {display: flex; align-items: center; gap: 10px; color: #fff; font-size: 13px}
.qb-results-meta>span {padding-left: 10px; border-left: 1px solid #899095; color: #e0e3e5; font-size: 12px}
.qb-group {display: flex; align-items: center; gap: 8px; padding: 6px 15px; background: #f2f3f4; font-size: 13px; border-bottom: 1px solid var(--line)}
.qb-group img {width: 18px; height: 18px; object-fit: contain}
.qb-group small {margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 500}
.qb-results .qb-ui-match-row {
    display: grid; grid-template-columns: 53px minmax(0,1fr) 40px minmax(0,1fr) 82px 42px;
    align-items: center; gap: 4px; min-height: 54px; padding: 4px 12px; border-bottom: 1px solid var(--line);
}
.qb-results .qb-ui-match-row:hover {background: #faf9f7}
.qb-results .qb-ui-match-league {display: none}
.qb-results .qb-ui-match-time {text-align: left}
.qb-results .qb-ui-match-time time {font-family: Arial,sans-serif; font-size: 16px; color: var(--ink); font-weight: 750}
.qb-results .qb-ui-team {padding: 4px 0; gap: 7px; min-width: 0; font-size: 14px; color: var(--ink)}
.qb-results .qb-ui-team-home {justify-content: flex-end; text-align: right}
.qb-results .qb-ui-team-away {justify-content: flex-start; text-align: left}
.qb-results .qb-ui-team span {white-space: normal; overflow-wrap: anywhere; line-height: 1.4}
.qb-results .qb-ui-team img {width: 23px; height: 23px; flex: 0 0 23px}
.qb-results .qb-ui-team img[src$="placeholder.qb-svg"] {opacity: .7}
.qb-results .qb-ui-team-unparsed {grid-column: 2; justify-content: start; overflow-wrap: anywhere}
.qb-results .qb-ui-match-score {width: auto; min-width: 0; padding: 0; justify-content: center; background: none; color: var(--muted); font-size: 12px}
.qb-results .qb-ui-match-score.qb-has-score {color: var(--ink); font-size: 15px; font-weight: 750}
.qb-results .qb-ui-match-score::before,.qb-results .qb-ui-match-score::after {display: none}
.qb-results .qb-ui-match-action {grid-area: 1 / 6; justify-self: end; margin: 0; padding: 6px 2px; border: 0; background: none; color: var(--brand); font-size: 12px}
.qb-results .qb-ui-match-state {white-space: nowrap; grid-area: 1 / 5; justify-self: center; gap: 4px; margin: 0; padding: 4px 6px; min-height: 24px; border-radius: 4px; font-size: 11px; line-height: 1.4; text-align: center}
.qb-results .qb-ui-match-state i {width: 5px; height: 5px; flex: 0 0 5px; background: currentColor}
.qb-results .qb-is-unknown,.qb-results .qb-is-postponed {color: #76501b; background: #faf1df}
.qb-results .qb-is-upcoming {color: #365466; background: #edf3f6}
.qb-results .qb-ui-row-ads {grid-column: 2/-1; grid-row: 2; padding: 0; gap: 10px}
.qb-results .qb-ui-row-ads>* {flex: 0 1 auto}
.qb-no-matches {text-align: center; padding: 24px 12px; color: var(--muted)}
.qb-no-matches h3 {font-size: 17px; color: var(--ink)}
.qb-no-matches p {margin: 5px 0; font-size: 14px}
.qb-no-matches>a {display: inline-flex; gap: 6px; align-items: center; min-height: 44px; color: var(--brand); font-weight: 650}
.qb-timing,.qb-desk .qb-note {padding: 10px 15px; color: var(--muted); font-size: 12px}
.qb-reader .qb-cap {border-top: 2px solid var(--brand); border-radius: 7px 7px 0 0}
.qb-lead {display: grid; gap: 6px; margin: 10px 12px; padding: 13px; border-inline-start: 3px solid #c75037; background: #faf3ef}
.qb-lead img {width: 100%; aspect-ratio: 16/9; height: auto; object-fit: cover; border-radius: 4px}
.qb-lead small {color: #903622; font-size: 12px; font-weight: 600}
.qb-lead strong {font-size: 16px; line-height: 1.5; font-weight: 750}
.qb-story {display: flex; align-items: center; gap: 8px; margin: 0 14px; padding: 11px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; color: var(--ink)}
.qb-scores .qb-story:first-of-type {border: 0}
.qb-video-section .qb-footlink {border-top: 0; color: var(--brand)}
.qb-video-section+.qb-video-section {border-top: 1px solid var(--line)}
.qb-story img {width: 58px; height: 36px; object-fit: cover; border-radius: 3px}
.qb-home .qb-ui-footer {padding-block: 29px 16px; background: #262b2f; border-top: 3px solid var(--brand)}
.qb-home .qb-ui-footer-grid {grid-template-columns: minmax(0,1.22fr) minmax(0,1fr) minmax(0,.65fr); gap: 32px}
.qb-home .qb-ui-footer-brand h2 {margin: 12px 0 3px; font-size: 14px; color: #fff}
.qb-home .qb-ui-footer-brand p {max-width: 44ch; color: #d6dadd; line-height: 1.75}
.qb-home .qb-ui-footer :is(a,button):focus-visible {outline-color: white}

.qb-faq {
    grid-column: 1 / -1;
    min-width: 0;
    scroll-margin-top: 76px;
    overflow: hidden;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
}
.qb-faq-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
    background: var(--ink);
    color: white;
}
.qb-faq-heading h2 {
    border-inline-start: 4px solid #ef875f;
    padding-inline-start: 12px;
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 750;
    line-height: 1.2;
}
.qb-faq-heading a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: white;
    font-size: 13px;
    white-space: nowrap;
}
.qb-faq-heading a:hover {text-decoration: underline}
.qb-faq-heading a:focus-visible {outline-color: white}
.qb-faq-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 22px 24px 24px;
}
.qb-faq-group {min-width: 0}
.qb-faq-group h3 {
    margin: 0 0 9px;
    font-size: 16px;
    font-weight: 750;
    color: var(--brand);
}
.qb-faq-group details {border-bottom: 1px solid var(--line)}
.qb-faq-group details:first-of-type {border-top: 1px solid var(--line)}
.qb-faq-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 48px;
    padding: 9px 12px;
    list-style: none;
    color: var(--ink);
    cursor: pointer;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.5;
}
.qb-faq-group summary::-webkit-details-marker {display: none}
.qb-faq-group summary::after {
    content: '';
    box-sizing: border-box;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: var(--muted);
    background: linear-gradient(currentColor,currentColor) center / 10px 1.5px no-repeat,
                linear-gradient(currentColor,currentColor) center / 1.5px 10px no-repeat;
}
.qb-faq-group details[open] summary::after {
    color: var(--brand);
    background-size: 10px 1.5px, 0 0;
}
.qb-faq-group details[open] {background: var(--tint)}
.qb-faq-group details[open] summary {color: #862c20}
.qb-faq-group details p {
    margin: 0;
    padding: 0 38px 14px 12px;
    color: #404851;
    font-size: 14px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}
.qb-faq-group summary:focus-visible {outline: 2px solid var(--brand); outline-offset: -2px}
@media (hover: hover) {
    .qb-faq-group summary:hover {color: var(--brand); background-color: var(--tint)}
}
@media (max-width: 700px) {
    .qb-faq-heading {padding: 8px 14px}
    .qb-faq-groups {grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 16px 14px}
    .qb-faq-group summary {padding-inline: 6px; min-height: 48px}
    .qb-faq-group details p {padding-inline: 6px 18px}
}
@media (forced-colors: active) {
    .qb-faq-group summary::after {content: '+'; color: ButtonText; background: none; line-height: 18px; text-align: center}
    .qb-faq-group details[open] summary::after {content: '−'}
}

@media (max-width: 1100px) {
    .qb-home .qb-ui-wrap {width: calc(100% - 32px)}
    .qb-home .qb-desk {grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-areas: "mast mast" "center center" "directory reader"; gap: 14px}
    .qb-home .qb-ui-header .qb-ui-nav a {padding-inline: 8px}
}
@media (max-width: 1040px) {
    .qb-home .qb-ui-header-inner {display: flex; justify-content: space-between}
    .qb-home .qb-ui-header .qb-ui-nav {top: 100%; gap: 6px}
    .qb-home .qb-ui-header .qb-ui-nav a {justify-content: start; padding-inline: 12px}
}
@media (max-width: 820px) {
    .qb-home .qb-ui-footer-grid {grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px}
    .qb-home .qb-ui-footer-brand {grid-column: 1 / -1}
}
@media (max-width: 700px) {
    .qb-home .qb-ui-wrap {width: calc(100% - 20px)}
    .qb-home .qb-ui-header {height: 56px}
    .qb-home .qb-desk {display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding-block: 10px 22px}
    .qb-home .qb-ui-header-tools>a {display: grid}
    .qb-mast {min-height: 100px; border-radius: 7px}
    .qb-mast-copy {width: 68%; padding: 14px}
    .qb-mast h1 {font-size: clamp(22px,5.9vw,30px); letter-spacing: -.025em}
    .qb-mast p {font-size: 12px; margin-top: 5px}
    .qb-mast-photo {width: 32%; object-position: 77% 50%}
    .qb-mast::after {left: 68%; width: 3%}
    .qb-center,.qb-fixtures,.qb-directory,.qb-reader {gap: 10px}
    .qb-controls {padding: 0 10px 5px}
    .qb-datebar {padding: 5px 0; flex-wrap: wrap; gap: 2px 6px}
    .qb-calendar,.qb-calendar div {gap: 4px}
    .qb-calendar time {font-size: 17px}
    .qb-arrow {width: 36px; height: 44px; border: 0}
    .qb-days {gap: 0; padding: 0}
    .qb-days a {min-height: 42px; padding: 4px 7px}
    .qb-days a small {display: none}
    .qb-pickers {padding-block: 4px}
    .qb-sports a,.qb-textlink {min-height: 42px}
    .qb-sports a {padding-inline: 10px}
    .qb-states {flex-wrap: nowrap; overflow-x: auto; gap: 6px; scrollbar-width: thin; overscroll-behavior-x: contain}
    .qb-states a {white-space: nowrap; min-height: 40px; flex: 0 0 auto}
    .qb-cap {padding: 11px 12px}
    .qb-group {padding-inline: 10px}
    .qb-results .qb-ui-match-row {grid-template-columns: 47px minmax(0,1fr) 30px minmax(0,1fr); grid-template-rows: auto auto; min-height: 65px; gap: 0 4px; padding: 5px 9px}
    .qb-results .qb-ui-match-time {grid-area: 1/1}
    .qb-results .qb-ui-team {min-height: 34px; font-size: 13px; gap: 4px; flex-direction: row}
    .qb-results .qb-ui-team img {width: 19px; height: 19px; flex-basis: 19px}
    .qb-results .qb-ui-team-home,.qb-results .qb-ui-team-unparsed {grid-area: 1/2}
    .qb-results .qb-ui-team-home span {order: 0}
    .qb-results .qb-ui-team-home img {order: 1}
    .qb-results .qb-ui-match-score {display: flex; grid-area: 1/3}
    .qb-results .qb-ui-team-away {grid-area: 1/4}
    .qb-results .qb-ui-match-state {grid-area: 2/1/3/4; justify-self: start; min-height: 19px; padding: 1px 5px; white-space: nowrap}
    .qb-results .qb-ui-match-action {grid-area: 2/4; min-height: 22px; padding: 2px}
    .qb-results .qb-ui-row-ads {grid-area: 3/1/4/-1; justify-content: flex-end}
    .qb-leagues,.qb-channels {grid-template-columns: repeat(3,minmax(0,1fr))}
    .qb-leagues>a,.qb-channels>a {min-height: 44px; gap: 6px; padding-inline: 4px}
    .qb-home .qb-ui-footer {padding: 23px 0 14px}
    .qb-home .qb-ui-footer-brand p {max-width: none}
    .qb-home .qb-ui-footer-grid {grid-template-columns: 1fr}
    .qb-home .qb-ui-footer-legal {margin-top: 17px; text-align: left}
}
@media (max-width: 355px) {
    .qb-calendar div span {display: none}
    .qb-leagues,.qb-channels {grid-template-columns: repeat(2,minmax(0,1fr))}
}

.qb-home .qb-mast{gap:18px;border-left:4px solid #b83b29;border-radius:4px;min-height:96px;padding:16px 22px}
.qb-matchday-stamp{position:relative;z-index:1;flex:none;color:white;border-right:1px solid #777e81;padding-right:18px;text-align:center}
.qb-matchday-stamp time{display:grid;line-height:1.05;gap:5px}
.qb-matchday-stamp strong{font:750 32px/1 system-ui,sans-serif}
.qb-matchday-stamp span{font-size:12px;letter-spacing:.06em}
.qb-home .qb-mast-copy{padding:0;min-width:0}
.qb-match-column { display: contents; }
@media (min-width:1101px) {
 .qb-home .qb-desk { grid-template-areas: "directory matchday reader"; row-gap: 12px; }
 .qb-match-column { grid-area: matchday; display: grid; grid-template-columns: minmax(0,1fr); align-content: start; gap: 12px; min-width: 0; }
 .qb-match-column > .qb-mast, .qb-match-column > .qb-center { grid-area: auto; }
 .qb-home .qb-mast-photo{max-width:35%}
 .qb-home .qb-mast-copy{max-width:74%}
}
@media(max-width:650px){.qb-home .qb-mast{gap:10px;min-height:86px;padding:12px}.qb-matchday-stamp{padding-right:10px}.qb-matchday-stamp strong{font-size:25px}.qb-home .qb-mast-copy p{max-width:28em}}
