.tpwb {
    --wb-red: #ad1029;
    --wb-ink: #19202a;
    --wb-muted: #535d69;
    --wb-border: #dce1e6;
    --wb-surface: #fff;
    --wb-heading: "Avenir Next Condensed", "Arial Narrow", Impact, system-ui, sans-serif;
    color: var(--wb-ink);
    background: #f7f8f9;
    font: 16px/1.5 system-ui, sans-serif;
}
.tpwb *, .tpwb *::before, .tpwb *::after { box-sizing: border-box; }
.tpwb [hidden] { display: none !important; }
.tpwb .tpwb-shell { width: min(1200px, calc(100% - 52px)); margin-inline: auto; }
.tpwb h1, .tpwb h2, .tpwb h3, .tpwb p, .tpwb ol, .tpwb dl, .tpwb dd { margin: 0; }
.tpwb a:focus-visible, .tpwb button:focus-visible { outline: 3px solid #176cba; outline-offset: 4px; }
.tpwb-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tpwb .tpwb-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 32px 0 28px;
    color: #f7f9fc;
    background:
        radial-gradient(ellipse at 0% 0%, #3d4650 0%, transparent 49%),
        radial-gradient(ellipse at 100% 0%, #3b4651 0%, transparent 43%),
        linear-gradient(128deg, #202832, #11151b 50%, #1f252e);
}
.tpwb .tpwb-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: repeating-linear-gradient(125deg, transparent 0 24px, #ffffff08 25px 26px),
        linear-gradient(175deg, transparent 60%, #ffffff12 60.3%, transparent 61% 71%, #ffffff12 71.2%, transparent 72%);
    pointer-events: none;
}
.tpwb .tpwb-hero-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.tpwb .tpwb-hero-top > div { border-left: 8px solid #f02d4c; padding-left: 19px; }
.tpwb .tpwb-hero h1 {
    color: #fff;
    font: italic 900 clamp(40px, 6.2vw, 87px)/.88 var(--wb-heading);
    text-transform: uppercase;
    letter-spacing: -.035em;
}
.tpwb #tpwb-phase { color: #d0d7e1; margin-top: 8px; font-weight: 650; }
.tpwb .tpwb-days { display: flex; padding: 0; gap: 13px; list-style: none; }
.tpwb .tpwb-days li {
    position: relative; display: grid; place-items: center;
    width: 30px; height: 30px; margin: 0; border: 1px solid #8994a3; border-radius: 50%;
    background: #222a35; color: #eff4fb; font-size: 13px; font-weight: 750;
}
.tpwb .tpwb-days li + li::before {
    content: ""; position: absolute; inset-inline-end: 100%; top: calc(50% - .5px);
    width: 14px; height: 1px; background: #8994a3;
}
.tpwb .tpwb-days .tpwb-past { color: #9af1cf; border-color: #85d8b9; background: #163e35; }
.tpwb .tpwb-days [aria-current="step"] { border-color: #fff; background: var(--wb-red); box-shadow: 0 0 0 4px #f754674a; }

.tpwb .tpwb-majka { --wb-team: #a0f0d1; --wb-team-deep: #123f36; }
.tpwb .tpwb-grok-typer { --wb-team: #ffd07a; --wb-team-deep: #452c10; }
.tpwb .tpwb-duel { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(12px, 3.4vw, 58px); align-items: center; padding-block: 29px 23px; }
.tpwb .tpwb-player { display: flex; align-items: center; gap: clamp(14px, 2.3vw, 35px); min-width: 0; }
.tpwb .tpwb-player.tpwb-grok-typer { flex-direction: row-reverse; text-align: right; }
.tpwb .tpwb-avatar {
    position: relative;
    display: grid; place-items: center; flex: 0 0 auto; overflow: hidden;
    width: clamp(85px, 13vw, 180px); aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--wb-team);
    color: var(--wb-team); background: repeating-linear-gradient(138deg, transparent 0 13px, #ffffff10 14px 15px), radial-gradient(ellipse at 56% 25%, var(--wb-team-deep), #11151b 98%);
    box-shadow: 0 0 0 5px #ffffff14, 0 15px 40px #03080b55;
}
.tpwb .tpwb-avatar span { font: italic 900 clamp(36px, 6vw, 85px)/1 var(--wb-heading); padding-right: .1em; }
.tpwb .tpwb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tpwb .tpwb-player-info { min-width: 0; }
.tpwb .tpwb-player h2 {
    display: inline-block; color: #171c23; background: var(--wb-team);
    padding: 5px 17px 6px; clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
    font: italic 850 clamp(16px, 2.4vw, 32px)/1.08 var(--wb-heading);
}
.tpwb .tpwb-score { color: var(--wb-team); margin-block: 4px 0; font: italic 900 clamp(42px, 7vw, 105px)/.97 var(--wb-heading); font-variant-numeric: tabular-nums; letter-spacing: -.045em; white-space: nowrap; }
.tpwb .tpwb-meta { color: #f7f9fc; font-size: clamp(12px, 1.4vw, 16px); font-weight: 650; }
.tpwb .tpwb-series { color: #ccd3dd; font-size: 13px; min-height: 19px; }
.tpwb .tpwb-vs { transform: skew(-9deg); border-block: 1px solid #758092; padding-block: 9px; color: #d1d8e2; font: italic 850 clamp(17px, 2.8vw, 35px)/1 var(--wb-heading); }
.tpwb .tpwb-lead { display: flex; align-items: center; justify-content: center; }
.tpwb .tpwb-lead::before, .tpwb .tpwb-lead::after { content: ""; height: 2px; background: #c4233c; flex: 1; }
.tpwb .tpwb-lead p {
    text-align: center; color: #fff; background: linear-gradient(110deg, #ca1c39, #a00724);
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    padding: 7px clamp(16px, 4vw, 53px);
    font: italic 850 clamp(18px, 2.4vw, 30px)/1.2 var(--wb-heading);
}

.tpwb .tpwb-content { display: grid; gap: 28px; padding-block: 25px 40px; }
.tpwb .tpwb-section-title {
    padding-left: 13px; border-left: 6px solid var(--wb-red); margin-bottom: 14px;
    color: var(--wb-ink); font: italic 900 clamp(27px, 4.1vw, 46px)/1.05 var(--wb-heading);
    letter-spacing: -.025em;
}
.tpwb .tpwb-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.tpwb .tpwb-pick-group { display: grid; align-content: start; gap: 10px; min-width: 0; }
.tpwb .tpwb-pick-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 12px; }
.tpwb .tpwb-pick-group-head h3 { color: var(--wb-ink); font: 750 17px/1.2 system-ui, sans-serif; }
.tpwb .tpwb-pick-group-head span { color: var(--wb-muted); font-size: 13px; }
.tpwb .tpwb-pick { min-width: 0; padding: 15px 17px; background: var(--wb-surface); border: 1px solid var(--wb-border); border-radius: 9px; box-shadow: 0 4px 12px #263d4d0b; }
.tpwb .tpwb-pick-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; column-gap: 14px; row-gap: 6px; margin-bottom: 10px; }
.tpwb .tpwb-tag { display: inline-block; max-width: 100%; overflow-wrap: anywhere; background: var(--wb-team); color: #19202a; font-weight: 850; font-size: 13px; padding: 2px 13px; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.tpwb .tpwb-pick-details { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tpwb .tpwb-event { flex: 1 0 135px; overflow-wrap: anywhere; }
.tpwb .tpwb-event h3 { color: var(--wb-ink); font: 800 clamp(19px, 2.1vw, 27px)/1.12 system-ui, sans-serif; }
.tpwb .tpwb-event p, .tpwb .tpwb-pick-empty p, .tpwb #tpwb-notice { color: var(--wb-muted); }
.tpwb .tpwb-pick-empty p { margin-top: 8px; }
.tpwb .tpwb-pick-odds { border-left: 1px solid var(--wb-border); padding-left: 11px; font-size: 20px; font-variant-numeric: tabular-nums; }
.tpwb .tpwb-pick-stake { border-left: 1px solid var(--wb-border); padding-left: 11px; font-size: 13px; }
.tpwb .tpwb-status { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; border-radius: 99px; background: #e8edf1; color: #354251; padding: 2px 9px; font-size: 12px; font-weight: 750; }
.tpwb .tpwb-status-won { background: #e0f5e9; color: #125839; }
.tpwb .tpwb-status-lost { background: #fbe7eb; color: #9c1326; }
.tpwb .tpwb-status-void { background: #fff1cb; color: #684900; }
.tpwb .tpwb-status-won::before { content: "✓"; }
.tpwb .tpwb-status-lost::before { content: "×"; }
.tpwb .tpwb-table-wrap { border: 1px solid var(--wb-border); border-radius: 8px; overflow: hidden; background: var(--wb-surface); }
.tpwb .tpwb-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; color: var(--wb-ink); font-variant-numeric: tabular-nums; font-size: 14px; }
.tpwb .tpwb-table th, .tpwb .tpwb-table td { text-align: left; border: 0; padding: 10px; overflow-wrap: anywhere; vertical-align: middle; }
.tpwb .tpwb-table th { background: #e8ebef; color: var(--wb-ink); font-weight: 800; }
.tpwb .tpwb-table td { border-top: 1px solid var(--wb-border); }
.tpwb .tpwb-table tbody tr:nth-child(even) { background: #f8fafb; }
.tpwb .tpwb-table td:nth-child(5), .tpwb .tpwb-table td:nth-child(6), .tpwb .tpwb-table td:nth-child(8), .tpwb .tpwb-table td:last-child { white-space: nowrap; }
.tpwb .tpwb-event-sub { display: block; color: var(--wb-muted); font-size: 12px; }
.tpwb .tpwb-positive { color: #146240; }
.tpwb .tpwb-negative { color: #a3132b; }
.tpwb .tpwb-open, .tpwb .tpwb-outbound { color: #a6132b; text-decoration: underline; text-underline-offset: 3px; font-weight: 750; }
.tpwb .tpwb-open { font-size: 13px; }
.tpwb .tpwb-outbound { justify-self: start; }
.tpwb .tpwb-about { border-top: 1px solid var(--wb-border); padding-top: 23px; }
.tpwb .tpwb-about > p { max-width: 86ch; }
.tpwb .tpwb-author-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 15px; }
.tpwb .tpwb-author { min-width: 0; padding: 14px 16px; border: 1px solid var(--wb-border); border-top: 4px solid var(--wb-team); border-radius: 8px; background: var(--wb-surface); }
.tpwb .tpwb-author h3 { color: var(--wb-ink); font: 800 19px/1.2 system-ui, sans-serif; }
.tpwb .tpwb-author p { margin: 7px 0 9px; }
.tpwb .tpwb-rules { border-top: 1px solid var(--wb-border); padding-top: 23px; }
.tpwb .tpwb-rules p, .tpwb .tpwb-rules ol { max-width: 86ch; }
.tpwb .tpwb-rules h3 { color: var(--wb-ink); font: 800 20px/1.3 system-ui, sans-serif; margin-top: 16px; }
.tpwb .tpwb-rules ol { padding-left: 22px; margin: 8px 0 12px; list-style: decimal; }
.tpwb .tpwb-rules li + li { margin-top: 6px; }
.tpwb .tpwb-rules-note { color: var(--wb-muted); font-size: 14px; }
.tpwb .tpwb-open:hover, .tpwb .tpwb-outbound:hover { color: #6e0b1c; }
.tpwb .tpwb-modal {
    width: min(540px, calc(100% - 24px)); max-height: 90dvh; margin: auto; overflow: auto;
    padding: 0; border: 1px solid var(--wb-border); border-radius: 15px;
    color: var(--wb-ink); background: var(--wb-surface); box-shadow: 0 22px 90px #070c17a0;
}
.tpwb .tpwb-modal::backdrop { background: #080e19ae; }
.tpwb .tpwb-modal-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; padding: 18px 21px; background: #202731; }
.tpwb .tpwb-modal-head h2 { color: #fff; margin-top: 8px; font: italic 850 32px/1.07 var(--wb-heading); overflow-wrap: anywhere; }
.tpwb .tpwb-modal-head form { margin: 0; }
.tpwb .tpwb-modal-head button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #9aa5b4; border-radius: 50%; background: transparent; color: #fff; font: 26px/1 system-ui, sans-serif; cursor: pointer; }
.tpwb #tpwb-modal-body { padding: 19px 21px 24px; }
.tpwb .tpwb-modal-selection { font-size: 21px; font-weight: 800; overflow-wrap: anywhere; }
.tpwb .tpwb-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 13px 0 15px; }
.tpwb .tpwb-modal-grid > div { min-width: 0; padding-top: 8px; border-top: 1px solid var(--wb-border); }
.tpwb .tpwb-modal-grid dt { color: var(--wb-muted); font-size: 13px; }
.tpwb .tpwb-modal-grid dd { font-weight: 700; overflow-wrap: anywhere; }
.tpwb .tpwb-rationale { margin-bottom: 14px; padding: 8px 12px; background: #f3f5f7; border-left: 3px solid var(--wb-red); overflow-wrap: anywhere; }
.tpwb .tpwb-modal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

@media (max-width: 830px) {
    .tpwb .tpwb-player, .tpwb .tpwb-player.tpwb-grok-typer { flex-direction: column; text-align: center; gap: 12px; }
    .tpwb .tpwb-vs { align-self: center; }
    .tpwb .tpwb-table-wrap { overflow: visible; border: 0; background: transparent; }
    .tpwb .tpwb-table, .tpwb .tpwb-table tbody { display: block; }
    .tpwb .tpwb-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .tpwb .tpwb-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; padding: 11px; border: 1px solid var(--wb-border); border-radius: 8px; margin-bottom: 8px; background: var(--wb-surface); }
    .tpwb .tpwb-table td { display: block; border: 0; padding: 0; min-width: 0; }
    .tpwb .tpwb-table td::before { display: block; content: attr(data-label); color: var(--wb-muted); font-size: 11px; }
    .tpwb .tpwb-table td:nth-child(4) { grid-column: 1 / -1; }
    .tpwb .tpwb-table td:last-child::before { content: none; }
}
@media (max-width: 595px) {
    .tpwb .tpwb-shell { width: calc(100% - 28px); }
    .tpwb .tpwb-hero { padding-block: 23px 18px; }
    .tpwb .tpwb-hero-top { align-items: start; flex-direction: column; gap: 14px; }
    .tpwb .tpwb-hero-top > div { padding-left: 11px; border-width: 6px; }
    .tpwb .tpwb-hero h1 { font-size: clamp(35px, 10.8vw, 58px); }
    .tpwb .tpwb-duel { padding-block: 21px 16px; gap: 7px; }
    .tpwb .tpwb-player { width: 100%; }
    .tpwb .tpwb-player h2 { font-size: 15px; padding-inline: 10px; min-height: 36px; align-content: center; }
    .tpwb .tpwb-score { font-size: clamp(33px, 10vw, 55px); }
    .tpwb .tpwb-series { font-size: 11px; }
    .tpwb .tpwb-picks { grid-template-columns: 1fr; gap: 10px; }
    .tpwb .tpwb-author-grid { grid-template-columns: 1fr; gap: 10px; }
    .tpwb .tpwb-content { padding-block: 19px 28px; gap: 23px; }
}
