/* .800 Dark Competition: presentation only, scoped to this opt-in body class.
   Keeps routes, native dialogs, role/hidden rules, responsive geometry and all
   official logo, gallery, flyer, video, ball and blue-cloth artwork untouched.
   --red retains its existing operational meaning; brand actions use --dc-cyan. */
html body.pb-dark-competition {
 --dc-bg:#0d141d;--dc-surface:#18222d;--dc-raised:#202e3b;--dc-text:#f3f7fb;
 --dc-muted:#b0bfcd;--dc-cyan:#36d7f0;--dc-blue:#1356cb;--dc-gold:#f4c84a;
 --dc-gold-text:#29220d;--dc-border:#6c8397;--dc-line:#3f5264;
 --dc-selected:#173644;--dc-positive:#65e4b1;--dc-negative:#ff98a4;
 --bg:var(--dc-bg);--panel:var(--dc-surface);--panel2:var(--dc-raised);
 --line:var(--dc-line);--white:var(--dc-text);--muted:var(--dc-muted);--green:var(--dc-positive);
 background:var(--dc-bg);color:var(--dc-text);color-scheme:dark;
}
html body.pb-dark-competition>header {background:var(--dc-surface);border-bottom-color:var(--dc-cyan)}
html body.pb-dark-competition h1,html body.pb-dark-competition h2,html body.pb-dark-competition h3 {color:var(--dc-text)}
html body.pb-dark-competition .brand {font-style:normal;letter-spacing:-.7px}
html body.pb-dark-competition .brand b {color:var(--dc-cyan)}
html body.pb-dark-competition .muted,html body.pb-dark-competition .statusline,html body.pb-dark-competition .footer,html body.pb-dark-competition .field,html body.pb-dark-competition .tag {color:var(--dc-muted)}
html body.pb-dark-competition a {color:var(--dc-cyan)}
html body.pb-dark-competition .card,html body.pb-dark-competition .panel {background:var(--dc-surface);border-color:var(--dc-line)}
html body.pb-dark-competition .hero {background:var(--dc-raised);border-color:var(--dc-line);border-left-color:var(--dc-gold)}
html body.pb-dark-competition .hero p {color:var(--dc-muted)}
html body.pb-dark-competition button,html body.pb-dark-competition .button {background:var(--dc-surface);color:var(--dc-text);border-color:var(--dc-border)}
html body.pb-dark-competition button:hover {filter:none;background:#24394a}
html body.pb-dark-competition button.primary,html body.pb-dark-competition .button.primary {background:var(--dc-cyan);color:var(--dc-bg);border-color:var(--dc-cyan)}
html body.pb-dark-competition button.primary:hover,html body.pb-dark-competition .button.primary:hover {background:#7fe8f7}
html body.pb-dark-competition button.ghost {background:transparent}
html body.pb-dark-competition button.danger {background:#321e28;color:var(--dc-negative);border-color:var(--dc-negative)}
html body.pb-dark-competition button.danger:hover {background:#4b2634}
html body.pb-dark-competition input,html body.pb-dark-competition select,html body.pb-dark-competition textarea {color:var(--dc-text);background:var(--dc-bg);border-color:var(--dc-border);accent-color:var(--dc-cyan)}
html body.pb-dark-competition input::placeholder,html body.pb-dark-competition textarea::placeholder {color:var(--dc-muted);opacity:1}
html body.pb-dark-competition option {color:var(--dc-text);background:var(--dc-bg)}
html body.pb-dark-competition :is(button,.button,input,select,textarea,a,summary):focus-visible {outline:3px solid var(--dc-cyan);outline-offset:3px}
html body.pb-dark-competition button:disabled,html body.pb-dark-competition button.primary:disabled,html body.pb-dark-competition input:disabled,html body.pb-dark-competition select:disabled,html body.pb-dark-competition textarea:disabled {background:var(--dc-surface);color:#91a1b2;border-color:var(--dc-border);opacity:1;cursor:not-allowed;filter:none}
html body.pb-dark-competition nav {border-color:var(--dc-line)}
html body.pb-dark-competition nav button {background:transparent;color:var(--dc-muted)}
html body.pb-dark-competition nav button.active {background:var(--dc-selected);color:var(--dc-cyan)}
html body.pb-dark-competition th {background:var(--dc-raised);color:var(--dc-muted)}
html body.pb-dark-competition td,html body.pb-dark-competition th {border-color:var(--dc-line)}
html body.pb-dark-competition .note {background:#2e2b1d;color:var(--dc-gold);border-color:#a98a35}
html body.pb-dark-competition .pill {background:#321e28;color:var(--dc-negative)}
html body.pb-dark-competition .pill.yes,html body.pb-dark-competition .badge {background:#163b2a;color:var(--dc-positive);border-color:#548e76}
html body.pb-dark-competition .qualified,html body.pb-dark-competition .success {color:var(--dc-positive)}
html body.pb-dark-competition dialog {background:var(--dc-surface);color:var(--dc-text);border-color:var(--dc-border)}
html body.pb-dark-competition dialog::backdrop {background:#000b}
/* Existing operational dispute/cutoff/qualification semantics are not rebranded. */
html body.pb-dark-competition #scoreMatches tr.score-disputed {background:#4b1b20;border-left-color:#ff646a}
html body.pb-dark-competition #scoreMatches tr.score-disputed button {background:#9c2931;border-color:#ff767c;color:white}
html body.pb-dark-competition #liveStandings .cutoff-note td {background:#431d23;color:#ffd6d7}
html body.pb-dark-competition #liveStandings .place-cell {color:var(--dc-text)}
/* Home system: retain its composition, actual media, disclosure and auth routes. */
html body.pb-dark-competition .pb767-root {--home-bg:var(--dc-bg);--home-panel:var(--dc-surface);--home-line:var(--dc-line);--home-muted:var(--dc-muted);--home-red:var(--dc-cyan);color:var(--dc-text)}
html body.pb-dark-competition .pb767-root :is(h1,h2,h3) {color:var(--dc-text);font-style:normal;font-weight:850}
html body.pb-dark-competition .pb767-root .pb767-eyebrow {color:var(--dc-cyan)}
html body.pb-dark-competition .pb767-root .pb767-lead,html body.pb-dark-competition .pb767-heading>span,html body.pb-dark-competition .pb767-root .pb767-event p,html body.pb-dark-competition .pb767-event-date span,html body.pb-dark-competition .pb767-shortcuts span,html body.pb-dark-competition .pb767-root .pb767-food-note {color:var(--dc-muted)}
html body.pb-dark-competition .pb767-root button {background:var(--dc-surface);color:var(--dc-text);border-color:var(--dc-border)}
html body.pb-dark-competition .pb767-root .primary,html body.pb-dark-competition .pb767-root .pb767-action {background:var(--dc-cyan);color:var(--dc-bg);border-color:var(--dc-cyan)}
html body.pb-dark-competition .pb767-root .pb767-action:hover {background:#7fe8f7}
html body.pb-dark-competition .pb767-root .pb767-text-button {background:transparent;color:var(--dc-cyan)}
html body.pb-dark-competition .pb767-root .pb767-feed-status,html body.pb-dark-competition .pb767-root .pb767-empty,html body.pb-dark-competition .pb767-root .pb767-shortcuts button {background:var(--dc-surface);border-color:var(--dc-border);color:var(--dc-text)}
html body.pb-dark-competition .pb767-root .pb767-membership,html body.pb-dark-competition .pb767-root .pb767-priority {background:var(--dc-raised);border-color:var(--dc-line);border-left-color:var(--dc-gold)}
html body.pb-dark-competition .pb767-membership p,html body.pb-dark-competition .pb767-root .pb767-priority p {color:var(--dc-muted)}
html body.pb-dark-competition .pb767-membership-note {color:var(--dc-gold)}
html body.pb-dark-competition .pb767-root summary {color:var(--dc-text)}
html body.pb-dark-competition .pb767-root .pb767-event details,html body.pb-dark-competition .pb767-root .pb767-food {border-color:var(--dc-line)}
html body.pb-dark-competition :is(#pb573GuestPortal,#playerHome,#pb767Category).pb767-root .pb767-categories.pb767-categories button {background:var(--dc-raised);color:var(--dc-text);border-color:var(--dc-border)}
html body.pb-dark-competition :is(#pb573GuestPortal,#playerHome,#pb767Category).pb767-root .pb767-categories.pb767-categories button[data-home-category="pool"] {background:var(--dc-blue);color:white;border-color:#72a9f4}
html body.pb-dark-competition :is(#pb573GuestPortal,#playerHome,#pb767Category).pb767-root .pb767-categories.pb767-categories button[data-home-category="darts"] {background:var(--dc-cyan);color:var(--dc-bg);border-color:var(--dc-cyan)}
html body.pb-dark-competition :is(#pb573GuestPortal,#playerHome,#pb767Category).pb767-root .pb767-categories.pb767-categories button[data-home-category="poker"] {background:var(--dc-gold);color:var(--dc-gold-text);border-color:var(--dc-gold)}
html body.pb-dark-competition .pb767-root .pb767-categories button :is(.pb770-icon-wrap,.pb770-activity-arrow,.pb767-category-mark) {color:inherit}
html body.pb-dark-competition :is(#pb573GuestPortal,#playerHome,#pb767Category).pb767-root .pb767-categories.pb767-categories button:is(:hover,[aria-current="page"]) {outline:2px solid var(--dc-text);outline-offset:2px}
html body.pb-dark-competition :is(#pb573GuestPortal,#pb767Category).pb767-root .pb767-event,html body.pb-dark-competition #pb573GuestPortal.pb767-root .pb767-event.pb770-highlight {background:var(--dc-surface);border-color:var(--dc-line)}
html body.pb-dark-competition .pb767-root .pb770-date-badge {background:var(--dc-gold);color:var(--dc-gold-text);border-color:#a98a35}
html body.pb-dark-competition .pb767-root .pb770-date-badge :is(span,strong) {color:var(--dc-gold-text)}
html body.pb-dark-competition .pb767-root .pb770-highlight-meta {color:var(--dc-muted)}
html body.pb-dark-competition .pb767-root .pb770-highlight-meta .pb770-activity-icon {color:var(--dc-cyan)}
html body.pb-dark-competition #pb573GuestPortal.pb767-root .pb767-event.pb770-highlight summary {background:var(--dc-cyan);border-color:var(--dc-cyan);color:var(--dc-bg)}
html body.pb-dark-competition #pb573GuestPortal.pb767-root .pb767-event.pb770-highlight summary:hover {background:#7fe8f7}
html body.pb-dark-competition .pb767-root .pb770-highlight-details {border-color:var(--dc-line)}
html body.pb-dark-competition #pb767Category {background:var(--dc-bg);color:var(--dc-text)}
html body.pb-dark-competition .pb767-root .pb767-category-header {background:var(--dc-bg);border-color:var(--dc-line)}
html body.pb-dark-competition .pb767-root .pb767-category-header button {background:var(--dc-surface);color:var(--dc-text);border-color:var(--dc-border)}
html body.pb-dark-competition .pb767-root .pb773-hover-tip {background:var(--dc-bg);color:var(--dc-text);border-color:var(--dc-border)}
html body.pb-dark-competition .pb767-root .pb773-detail-gate>p {color:var(--dc-muted)}
html body.pb-dark-competition .pb767-root .pb774-table-teaser {background:var(--dc-selected);color:var(--dc-text);border-color:var(--dc-border);border-left-color:var(--dc-gold)}
html body.pb-dark-competition .pb767-root .pb774-table-teaser>span>span {color:var(--dc-muted)}
html body.pb-dark-competition #pb774TableSample {background:var(--dc-surface);color:var(--dc-text);border-color:var(--dc-border)}
html body.pb-dark-competition #pb774TableSample p {color:var(--dc-muted)}
html body.pb-dark-competition .pb774-sample-header>span {color:var(--dc-gold)}
/* Preserve available/reserved/rented/challenge sample state colors and labels. */
html body.pb-dark-competition #pb772GuestVideo {background:var(--dc-surface);border-color:var(--dc-line)}
html body.pb-dark-competition #pb772GuestVideo .pb772-video-heading button {background:var(--dc-cyan);color:var(--dc-bg);border-color:var(--dc-cyan)}
html body.pb-dark-competition #pb772GuestVideo [role="status"] {background:#321e28;color:var(--dc-negative)}
html body.pb-dark-competition #pb778MemberGallery .pb778-gallery {background:var(--dc-surface);border-color:var(--dc-line)}
html body.pb-dark-competition #pb778MemberGallery [data-gallery-error] {background:var(--dc-surface);color:var(--dc-negative)}
html body.pb-dark-competition #pb778MemberGallery [data-gallery-count] {color:var(--dc-muted)}
/* Justified legacy !important: these exact shell/member rules already use
   !important with repeated IDs in home-redesign-767.css. Only paint is changed. */
html body.pb-dark-competition.pb767-home-active:is(:has(#playerHome.pb767-member),:has(#pb573GuestPortal.pb767-root:not(.hidden))) {background-color:var(--dc-bg)!important}
html body.pb-dark-competition.pb767-home-active:is(:has(#playerHome.pb767-member),:has(#pb573GuestPortal.pb767-root:not(.hidden)))>header {background-color:var(--dc-surface)!important;border-bottom-color:var(--dc-cyan)!important}
html body.pb-dark-competition.pb767-home-active #pb454PlayerHeader {background-color:var(--dc-surface)!important}
html body.pb-dark-competition #playerHome#playerHome#playerHome.pb767-member>#playerWelcome {color:var(--dc-muted)!important}
html body.pb-dark-competition #playerHome#playerHome#playerHome.pb767-member>.columns>.panel {background:var(--dc-surface)!important;border-color:var(--dc-line)!important}
html body.pb-dark-competition #playerHome#playerHome#playerHome.pb767-member>.columns>.panel:first-child,html body.pb-dark-competition #playerHome#playerHome#playerHome.pb767-member.pb767-has-match>.columns>.panel:nth-child(2) {border-left-color:var(--dc-cyan)!important}
html body.pb-dark-competition #playerHome#playerHome#playerHome.pb767-member .cal-listitem p {color:var(--dc-muted)!important}
html body.pb-dark-competition #playerHome#playerHome#playerHome.pb767-member>#playerStats .card {background:var(--dc-surface)!important;border-color:var(--dc-line)!important}
html body.pb-dark-competition #playerHome#playerHome#playerHome.pb767-member.pb767-combined>.columns {background:var(--dc-surface);border-color:var(--dc-line);border-left-color:var(--dc-cyan)}
html body.pb-dark-competition #playerHome#playerHome#playerHome.pb767-member.pb767-combined>.columns>.panel {background:transparent!important}
/* The previous module owns image sizing/contain, video controls, gallery focus,
   member food order and all hidden/class rules. No media filter, SVG fill/stroke,
   positioning, grid, z-index or display declarations appear in this theme. */
/* State rules follow home overrides so disabled actions never look actionable. */
html body.pb-dark-competition .pb767-root button:disabled,
html body.pb-dark-competition .pb767-root button.primary:disabled,
html body.pb-dark-competition .pb767-root button.pb767-action:disabled {background:var(--dc-surface);color:#91a1b2;border-color:var(--dc-border);opacity:1;cursor:not-allowed;filter:none}
html body.pb-dark-competition .pb767-root :is(button,input,select,textarea,a,summary):focus-visible {outline:3px solid var(--dc-cyan);outline-offset:3px}
html body.pb-dark-competition :is(#pb573GuestPortal,#playerHome,#pb767Category).pb767-root .pb767-categories.pb767-categories button:disabled {background:var(--dc-surface);color:#91a1b2;border-color:var(--dc-border);opacity:1;cursor:not-allowed;filter:none;outline:none}
/* Verified td-home-781/782 branding and navigation paint (not score/status red).
   Exact header background uses !important in that source; geometry stays owned there. */
html body.pb-dark-competition.pb781-td-landing>header {background:var(--dc-surface)!important;border-bottom-color:var(--dc-cyan)}
html body.pb-dark-competition.pb781-td-landing main {background:var(--dc-bg)}
html body.pb-dark-competition.pb781-td-landing #mobileTdSummary .card {background:var(--dc-surface);border-color:var(--dc-line)}
html body.pb-dark-competition .pb781-card {background:var(--dc-surface);border-color:var(--dc-line)}
html body.pb-dark-competition .pb781-card.pb781-selected {border-left-color:var(--dc-gold)}
html body.pb-dark-competition .pb781-card button {background:var(--dc-cyan);color:var(--dc-bg);border-color:var(--dc-cyan)}
html body.pb-dark-competition .pb781-date {color:var(--dc-gold)}
html body.pb-dark-competition .pb781-picker-heading p,html body.pb-dark-competition .pb781-card p,html body.pb-dark-competition .pb781-past>summary,html body.pb-dark-competition .pb781-past>summary span,html body.pb-dark-competition #pb781SelectedBar small {color:var(--dc-muted)}
html body.pb-dark-competition .pb782-filters button {background:var(--dc-surface);color:var(--dc-text);border-color:var(--dc-border)}
html body.pb-dark-competition .pb782-filters button[aria-pressed=true] {background:var(--dc-selected);color:var(--dc-cyan);border-color:var(--dc-cyan)}
html body.pb-dark-competition #pb782MenuDock,html body.pb-dark-competition #pb782TournamentMenu,html body.pb-dark-competition #pb782TournamentMenu>header {background:var(--dc-surface);color:var(--dc-text);border-color:var(--dc-line)}
html body.pb-dark-competition #pb782TournamentMenuButton {background:var(--dc-selected);color:var(--dc-cyan);border-color:var(--dc-border)}
html body.pb-dark-competition #pb782TournamentMenu>header button {background:var(--dc-cyan);color:var(--dc-bg);border-color:var(--dc-cyan)}
html body.pb-dark-competition.pb-explicit-td-view:not(.pb-explicit-player-view):not(.pb-kitchen-open) .shell>nav>button,
html body.pb-dark-competition.pb-explicit-td-view:not(.pb-explicit-player-view):not(.pb-kitchen-open) nav #pb363FormatNav button {background:var(--dc-surface);color:var(--dc-text);border-color:var(--dc-border)}
html body.pb-dark-competition.pb-explicit-td-view:not(.pb-explicit-player-view):not(.pb-kitchen-open) .shell>nav>button.active,
html body.pb-dark-competition.pb-explicit-td-view:not(.pb-explicit-player-view):not(.pb-kitchen-open) nav #pb363FormatNav button.active {background:var(--dc-selected);color:var(--dc-cyan);border-color:var(--dc-cyan)}
html body.pb-dark-competition .pb781-card button:disabled,
html body.pb-dark-competition .pb782-filters button:disabled,
html body.pb-dark-competition #pb782TournamentMenu>header button:disabled,
html body.pb-dark-competition.pb-explicit-td-view:not(.pb-explicit-player-view):not(.pb-kitchen-open) .shell>nav>button:disabled,
html body.pb-dark-competition.pb-explicit-td-view:not(.pb-explicit-player-view):not(.pb-kitchen-open) nav #pb363FormatNav button:disabled {background:var(--dc-surface);color:#91a1b2;border-color:var(--dc-border);opacity:1;cursor:not-allowed}
/* Mobile menu moves the existing format hub into this dialog, outside nav. */
html body.pb-dark-competition #pb782TournamentMenu #pb363FormatNav button {background:var(--dc-surface);color:var(--dc-text);border-color:var(--dc-border)}
html body.pb-dark-competition #pb782TournamentMenu #pb363FormatNav button.active {background:var(--dc-selected);color:var(--dc-cyan);border-color:var(--dc-cyan)}
html body.pb-dark-competition #pb782TournamentMenu #pb363FormatNav button:disabled {background:var(--dc-surface);color:#91a1b2;border-color:var(--dc-border);opacity:1;cursor:not-allowed}
html body.pb-dark-competition #pb782TournamentMenu #pb363FormatNav button:focus-visible {outline:3px solid var(--dc-cyan);outline-offset:3px}
