iframe.gptbd-section-frame {
    max-width: none;
    background: #fff;
    border-radius: 0;
}

.gptbd-section-panel {
    display: flow-root;
    font: 400 14px/1.4 system-ui, sans-serif;
    color: #62696f;
    background: #fff;
}

.gptbd-section-panel [hidden] { display: none !important; }

.gptbd-panel-dates {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    margin: 5px 0 10px;
    padding: 0 4px 2px;
}

.gptbd-panel-dates button,
.gptbd-panel-tabs button {
    min-height: 40px;
    margin: 0;
    padding: 3px 2px;
    border: 0;
    color: inherit;
    font: inherit;
    text-transform: none;
}

.gptbd-panel-dates button {
    border-radius: 50px;
    background: #f0f0f0;
    box-shadow: 0 1px 3px #0003;
    line-height: 1.15;
}

.gptbd-panel-dates button small { display: block; font-size: 12px; }
.gptbd-panel-dates button[aria-pressed="true"] { color: #fff; background: #0b3059; }

.gptbd-panel-tools {
    margin: 0 4px 8px;
    padding: 0 10px 12px;
    border: 1px dashed #e5e5e5;
}

.gptbd-panel-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 9px; }
.gptbd-panel-tabs button { color: #151515; font-weight: 700; background: #fff; text-transform: uppercase; }
.gptbd-panel-tabs button[aria-pressed="true"] { color: #0b3059; box-shadow: inset 0 -2px #0b3059; }
.gptbd-panel-tabs button[data-state="live"]::before { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #e41525; content: ""; }
.gptbd-panel-searchbar { display: flex; align-items: center; gap: 9px; }
.gptbd-panel-tools input[type="search"] { flex: 1; min-width: 0; height: 38px; margin: 0; color: #20262a; }
.gptbd-panel-settings { flex: none; }
.gptbd-panel-settings summary { padding: 7px 2px; cursor: pointer; list-style: none; }
.gptbd-panel-settings summary::-webkit-details-marker { display: none; }
.gptbd-panel-settings > div { position: absolute; z-index: 2; right: 14px; width: min(300px, calc(100% - 28px)); padding: 10px 12px; border: 1px solid #dfdfdf; background: #fff; box-shadow: 0 4px 16px #14141422; }
.gptbd-section-panel:has(.gptbd-panel-settings[open]) { min-height: 270px; }
.gptbd-panel-settings fieldset { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 0; }
.gptbd-panel-settings fieldset + fieldset { margin-top: 9px; }
.gptbd-panel-settings legend { padding-bottom: 3px; font-weight: 700; }
.gptbd-panel-settings label { display: flex; align-items: center; gap: 4px; margin: 0; font-size: 12px; font-weight: 400; white-space: nowrap; }
.gptbd-panel-settings input { margin: 0; }

.gptbd-panel-league-name {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    margin: 0;
    padding: 4px 7px;
    border-bottom: 1px dashed #e8e8e8;
}

.gptbd-panel-league-name img,
.gptbd-panel-rank img { width: 18px; height: 18px; object-fit: contain; }

.gptbd-panel-match {
    display: grid;
    grid-template-columns: minmax(62px, 15%) minmax(0, 1fr) minmax(54px, 11%) minmax(0, 1fr);
    align-items: center;
    gap: 5px;
    min-height: 72px;
    padding: 9px 8px;
    border-bottom: 1px dashed #e9e9e9;
}

.gptbd-panel-kickoff,
.gptbd-panel-score { display: grid; gap: 3px; }
.gptbd-panel-score { text-align: center; }
.gptbd-panel-score small { font-size: 11px; }
.gptbd-panel-kickoff strong { color: #cc1024; font-size: 13px; }
.gptbd-panel-match[data-gptbd-state="live"] .gptbd-panel-score small { color: #a84200; }
.gptbd-panel-team { overflow-wrap: anywhere; }
.gptbd-panel-team-home { text-align: right; }
.gptbd-panel-quotes:not(:has([data-gptbd-quote-market]:not([hidden]))) { display: none; }
.gptbd-panel-quotes { display: flex; flex-wrap: wrap; grid-column: 2 / -1; justify-content: center; gap: 2px 12px; color: #5d6471; font-size: 12px; }
.gptbd-panel-match:has(.gptbd-panel-quotes [data-gptbd-quote-market]:not([hidden])) .gptbd-panel-kickoff { grid-row: 1 / span 2; }
.gptbd-panel-quote-line { display: inline-flex; align-items: center; gap: 4px; margin-inline: 3px; white-space: nowrap; }
.gptbd-panel-quote-line abbr { padding: 0 3px; color: #fff; background: #354764; text-decoration: none; font-size: 10px; }
.gptbd-panel-quote-line b { color: #3668ac; font-weight: 600; }
.gptbd-panel-status { margin: 0; padding: 14px 8px; }

.gptbd-panel-accordion { margin: 0 0 10px; }
.gptbd-panel-accordion > summary { display: flex; align-items: center; gap: 8px; min-height: 41px; padding: 9px 12px; background: #e7e3d0; border-radius: 4px 4px 0 0; list-style: none; cursor: pointer; }
.gptbd-panel-accordion summary::-webkit-details-marker { display: none; }
.gptbd-panel-accordion > summary::before { width: 6px; height: 6px; border: solid currentColor; border-width: 1px 1px 0 0; transform: rotate(45deg); content: ""; }
.gptbd-panel-accordion[open] > summary::before { transform: rotate(135deg); }
.gptbd-panel-round { margin: 0; padding: 8px 11px; background: #eff0f1; font-weight: 650; }

.gptbd-panel-rank { margin: 0; color: #52698e; }
.gptbd-panel-rank th,
.gptbd-panel-rank td { padding: 9px 7px; border: 0; font-size: inherit; letter-spacing: 0; line-height: 1.55; text-align: center; text-transform: none; }
.gptbd-panel-rank thead { background: #d5d8db; }
.gptbd-panel-rank th:nth-child(2), .gptbd-panel-rank tbody th { width: 64%; text-align: left; font-weight: 400; }
.gptbd-panel-rank tbody th img { display: inline-block; margin-right: 7px; vertical-align: middle; }
.gptbd-panel-rank tbody tr:nth-child(even) { background: #f0f0f0; }
.gptbd-panel-rank td:last-child { color: #344664; font-weight: 700; }

.gptbd-panel-articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gptbd-panel-articles article { border: 1px solid #e4e9e6; }
.gptbd-panel-articles a { color: #075b51; }
.gptbd-panel-articles img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gptbd-panel-articles article div { padding: 10px 12px; }
.gptbd-panel-articles h4 { margin: 0 0 5px; color: inherit; font-size: 17px; }
.gptbd-panel-articles p { margin: 0; color: #4b575d; }
.gptbd-panel-articles .gptbd-panel-article-meta { margin-bottom: 5px; font-size: 0.875em; }
.gptbd-panel-analysis-group + .gptbd-panel-analysis-group { margin-top: 16px; }
.gptbd-panel-analysis-group > p, .gptbd-panel-analysis-group summary h3 { margin: 0; }
.gptbd-panel-analysis-group[open] .gptbd-panel-articles { margin-top: 8px; }

.gptbd-section-page .gptbd-section-title:first-child { min-height: 0; margin-bottom: 14px; }
.gptbd-section-page .gptbd-section-title:first-child h1 { display: flex; margin: 0; min-height: 0; color: #006058; text-transform: none; }
.gptbd-section-page .gptbd-section-title b { display: none; }
.gptbd-section-page .gptbd-section-title h1 .section-title-main { margin: 0; white-space: normal; text-transform: none; }
.gptbd-section-page .gptbd-section-title .section-title { justify-content: center; }
.gptbd-section-page .gptbd-section-chapter { margin-top: 20px; }
.gptbd-section-page .gptbd-section-illustration { max-width: 800px; margin: 10px auto 16px; }
.gptbd-section-illustration img { display: block; width: 100%; height: auto; }
.gptbd-section-chapter h2 { margin-bottom: 8px; color: #005c52; }
.gptbd-section-page .gptbd-section-reader { width: min(100%, 920px); margin-inline: auto; }
.gptbd-section-reader .gptbd-section-lead > p:first-child, .gptbd-section-reader .gptbd-section-chapter h2 { text-align: center; }
.gptbd-section-page .gptbd-section-toc { width: fit-content; max-width: 100%; margin: 10px 0 14px; padding: 10px 14px; border-left: 3px solid #006159; background: #f2f5f4; }
.gptbd-section-toc ol { margin: 5px 0 0 16px; }

@media (max-width: 549px) {
    .gptbd-panel-dates { gap: 3px; padding-inline: 1px; }
    .gptbd-panel-dates button, .gptbd-panel-tabs button { font-size: 10px; }
    .gptbd-panel-dates button { min-height: 43px; border-radius: 20px; }
    .gptbd-panel-dates button small { font-size: 10px; }
    .gptbd-panel-tools { margin-inline: 1px; padding-inline: 5px; }
    .gptbd-panel-match { grid-template-columns: 40px minmax(0, 1fr) 47px minmax(0, 1fr); font-size: 12px; }
    .gptbd-panel-quotes { gap: 2px 5px; font-size: 10px; }
    .gptbd-panel-quote-line { gap: 3px; }
    .gptbd-panel-settings summary { font-size: 12px; }
    .gptbd-panel-rank th, .gptbd-panel-rank td { padding: 8px 3px; font-size: 11px; }
    .gptbd-panel-rank th:nth-child(2), .gptbd-panel-rank tbody th { width: 42%; }
    .gptbd-panel-rank tbody th img { width: 14px; height: 14px; margin-right: 4px; }
    .gptbd-panel-articles { grid-template-columns: 1fr; }
}
