

:root {
  --theme-page:#f7f4f5;
  --theme-shell:#ffffff;
  --theme-surface:#ffffff;
  --theme-surface-raised:#ffffff;
  --theme-surface-soft:#faf6f7;
  --theme-surface-muted:#f2ecee;
  --theme-input:#ffffff;
  --theme-text:#24191b;
  --theme-text-soft:#54484b;
  --theme-muted:#776b6e;
  --theme-faint:#95898c;
  --theme-border:#e5dcde;
  --theme-border-strong:#cdbfc2;
  --theme-accent:#c9151c;
  --theme-accent-hover:#ad1017;
  --theme-on-accent:#ffffff;
  --theme-success:#177a3f;
  --theme-warning:#a86205;
  --theme-danger:#b81723;
  --theme-info:#1769aa;
  --theme-reserved:#a86e08;
  --theme-focus:0 0 0 3px rgba(201,21,28,.18);
  --theme-shadow-sm:0 8px 24px rgba(56,31,36,.08);
  --theme-shadow-lg:0 24px 68px rgba(56,31,36,.14);
}


html[data-theme="dark"] body .scrim-roster-lock-state{border-color:#493b40;background:#211b1d;color:#f4edef}
html[data-theme="dark"] body .scrim-roster-lock-state small{color:#b8aaaf}
html[data-theme="dark"] body .scrim-roster-lock-panel.is-locked .scrim-roster-lock-state{border-color:#75474c;background:#2b1c20}
html[data-theme="dark"] body :is(.tournament-application-closed-notice,.tournament-roster-locked-notice){border-color:#684047;background:#291c20;color:#f4dfe2}
html[data-theme="dark"] body :is(.tournament-application-closed-notice,.tournament-roster-locked-notice) small{color:#c1adb1}
html[data-theme="dark"] body .join-reserve-capacity-notice{border-color:#6b592e;background:#292318;color:#f0d48b}
html[data-theme="dark"] body .join-reserve-capacity-notice p{color:#c9b47f}

html[data-theme="dark"] {
  color-scheme:dark;
  --theme-page:#0d0b0c;
  --theme-shell:#100d0e;
  --theme-surface:#181416;
  --theme-surface-raised:#1d181a;
  --theme-surface-soft:#211b1d;
  --theme-surface-muted:#292225;
  --theme-input:#141112;
  --theme-text:#f5f1f2;
  --theme-text-soft:#d9d0d2;
  --theme-muted:#b8adb0;
  --theme-faint:#918589;
  --theme-border:#403639;
  --theme-border-strong:#5a484c;
  --theme-accent:#e12a33;
  --theme-accent-hover:#f0444c;
  --theme-on-accent:#ffffff;
  --theme-success:#56d889;
  --theme-warning:#f1b45f;
  --theme-danger:#ff737c;
  --theme-info:#75b7ff;
  --theme-reserved:#f4d17a;
  --theme-focus:0 0 0 3px rgba(240,68,76,.24);
  --theme-shadow-sm:0 10px 28px rgba(0,0,0,.25);
  --theme-shadow-lg:0 28px 74px rgba(0,0,0,.42);
}

html[data-theme="dark"] body {
  --vh-dark-canvas:var(--theme-page);
  --vh-dark-shell:var(--theme-shell);
  --vh-dark-surface:var(--theme-surface);
  --vh-dark-surface-2:var(--theme-surface-soft);
  --vh-dark-surface-3:var(--theme-surface-muted);
  --vh-dark-input:var(--theme-input);
  --vh-dark-text:var(--theme-text);
  --vh-dark-text-2:var(--theme-text-soft);
  --vh-dark-muted:var(--theme-muted);
  --vh-dark-subtle:var(--theme-faint);
  --vh-dark-line:var(--theme-border);
  --vh-dark-line-soft:var(--theme-border);
  --vh-dark-line-strong:var(--theme-border-strong);
  --vh-dark-red:#ff939a;
  --vh-dark-red-soft:#351c21;
  --vh-dark-shadow:var(--theme-shadow-lg);
  --ink:var(--theme-text);
  --ink-2:var(--theme-text-soft);
  --muted:var(--theme-muted);
  --line:var(--theme-border);
  --line-strong:var(--theme-border-strong);
  --surface:var(--theme-surface);
  --surface-2:var(--theme-surface-soft);
  --surface-3:var(--theme-surface-muted);
  --bg:var(--theme-shell);
  --card:var(--theme-surface);
  --ui-ink:var(--theme-text);
  --ui-muted:var(--theme-muted);
  --ui-line:var(--theme-border);
  --ui-soft:var(--theme-surface-soft);
  --site-ink:var(--theme-text);
  --site-muted:var(--theme-muted);
  --site-line:var(--theme-border);
  --site-soft:var(--theme-surface-soft);
  --site-soft-2:var(--theme-surface-muted);
  --site-canvas:var(--theme-page);
  --site-card:var(--theme-surface);
  --guide-ink:var(--theme-text);
  --guide-muted:var(--theme-muted);
  --guide-line:var(--theme-border);
  --guide-soft:var(--theme-surface-soft);
  background:var(--theme-page)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body .site-shell,
html[data-theme="dark"] body:not(.admin-mode) main {
  background:var(--theme-shell)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body :where(a,button,input,select,textarea,summary) {
  -webkit-tap-highlight-color:transparent;
}

html[data-theme="dark"] body :where(input,select,textarea,[contenteditable="true"]) {
  border-color:var(--theme-border-strong)!important;
  background:var(--theme-input)!important;
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
  caret-color:var(--theme-accent)!important;
  color-scheme:dark;
}

html[data-theme="dark"] body :where(input,textarea)::placeholder {
  color:var(--theme-faint)!important;
  -webkit-text-fill-color:var(--theme-faint)!important;
  opacity:1!important;
}

html[data-theme="dark"] body :where(input,select,textarea,button,a,summary):focus-visible {
  outline:0!important;
  box-shadow:var(--theme-focus)!important;
}

html[data-theme="dark"] body :where(hr,.panel-sep,.forum-sep) {
  border-color:var(--theme-border)!important;
  color:var(--theme-faint)!important;
}

html[data-theme="dark"] body :where(.btn-primary,.publish-button,.danger-btn,.btn-danger) {
  border-color:var(--theme-accent)!important;
  background:linear-gradient(135deg,#b8131d,var(--theme-accent))!important;
  color:var(--theme-on-accent)!important;
  -webkit-text-fill-color:var(--theme-on-accent)!important;
}

html[data-theme="dark"] body :where(.btn-primary,.publish-button):hover {
  border-color:var(--theme-accent-hover)!important;
  background:linear-gradient(135deg,#cf1722,var(--theme-accent-hover))!important;
}

html[data-theme="dark"] body :where(.btn-secondary,.btn-dark,.mini-btn,.quiet-action,.secondary-action-disclosure) {
  border-color:var(--theme-border-strong)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text-soft)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body :where(.btn-secondary,.btn-dark,.mini-btn,.quiet-action):hover {
  border-color:#765b61!important;
  background:var(--theme-surface-muted)!important;
  color:var(--theme-text)!important;
}


html[data-theme="dark"] body :where(.topbar,.bottom-nav,.site-footer) {
  border-color:var(--theme-border)!important;
  background:rgba(16,13,14,.97)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body :where(.topbar .icon-btn,.topbar .settings-top-btn,.mobile-menu-btn) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body :where(.brand-logo,.drawer-brand-logo) {
  opacity:.97!important;
  filter:brightness(0) invert(1) drop-shadow(0 2px 8px rgba(255,255,255,.05))!important;
}

html[data-theme="dark"] body .app-install-strip {
  border-color:var(--theme-border)!important;
  background:linear-gradient(135deg,#1d1719,#25191c)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body .app-install-strip-copy :where(strong,small) {
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .app-install-strip-copy small {color:var(--theme-muted)!important}

html[data-theme="dark"] body .search-panel {
  border-color:var(--theme-border)!important;
  background:rgba(16,13,14,.985)!important;
  box-shadow:var(--theme-shadow-lg)!important;
}

html[data-theme="dark"] body .search-panel form {
  border-color:var(--theme-border-strong)!important;
  background:var(--theme-input)!important;
  color:var(--theme-accent-hover)!important;
}

html[data-theme="dark"] body .drawer {
  border-left:1px solid var(--theme-border)!important;
  background:linear-gradient(180deg,#181416 0%,#100d0e 100%)!important;
  color:var(--theme-text)!important;
  box-shadow:-28px 0 72px rgba(0,0,0,.56)!important;
  scrollbar-color:#60484e transparent;
}

html[data-theme="dark"] body .drawer-head {
  border-bottom:1px solid var(--theme-border)!important;
  background:#181416!important;
}

html[data-theme="dark"] body .drawer-head button {
  border:1px solid var(--theme-border-strong)!important;
  background:var(--theme-surface-muted)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body .drawer-user {
  border:1px solid var(--theme-border)!important;
  background:linear-gradient(145deg,var(--theme-surface-soft),var(--theme-surface))!important;
  color:var(--theme-text)!important;
  box-shadow:var(--theme-shadow-sm)!important;
}

html[data-theme="dark"] body :where(.drawer-user-main,.drawer-user-copy strong) {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .drawer-user-copy small {color:var(--theme-muted)!important}

html[data-theme="dark"] body .drawer>a {
  border-color:transparent!important;
  background:transparent!important;
  color:var(--theme-text-soft)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .drawer>a:is(:hover,:focus-visible) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body .drawer-admin-priority {
  border-color:#6e3940!important;
  background:linear-gradient(135deg,#35191e,#21171a)!important;
  color:#ffabb0!important;
}

html[data-theme="dark"] body .drawer-admin-priority small {color:var(--theme-muted)!important}


html[data-theme="dark"] body :where(
  .panel,.section,.form-card,.form-wrap,.interior-panel,.content-disclosure,
  .clean-section,.empty-panel,.empty-state,.empty-card,.notice-card,.info-card,
  .warning-card,.settings-card,.settings-section,.team-control-panel,
  .team-application-panel,.team-public-roster,.profile-xp-card,
  .profile-metric-strip,.profile-content-tabs,.profile-history-disclosure,
  .notification-hub,.notification-center-list,.message-conversation-panel,
  .message-thread-panel,.forum-panel,.forum-feed,.forum-compose,
  .chat-shell,.chat-feed,.chat-compose,.forum-chat-panel,
  .tournament-summary-panel,.tournament-action-list,.tournament-countdown-card,
  .tournament-slot-public-section,.scrim-checkin-public-card,
  .announcement-studio,.announcement-feed,.announcement-editor,
  .scrim-operation-panel,.scrim-manual-checkin,.scrim-lobby-status,
  .manage-overview-panel,.tournament-control-panel,.tournament-result-share-panel,
  .tournament-slot-manager-panel,.league-manager-panel,.tournament-communication-panel,
  .tournament-share-manage-panel,.tournament-manager-panel,.tournament-settings-panel,
  .tournament-danger-panel,.manager-permission-guide,.registrations-panel,
  .registration-card,.applications-filter-shell,.admin-result-center
) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body :where(
  .interior-segment-nav,.notification-hub-summary,.notification-toolbar,
  .notification-segments,.notification-row-modern,.inbox-push-card,
  .message-conversation-row,.message-thread-head,.message-privacy-note,
  .forum-panel-head,.forum-message,.chat-message,.forum-chat-message,
  .profile-metric-strip>div,.profile-history-row,.profile-organizer-disclosure,
  .profile-organizer-body,.organizer-inline-stats>div,.organizer-path,
  .tournament-action-card-modern,.tournament-fact-grid>div,.tournament-countdown-units>span,
  .scrim-checkin-window,.scrim-checkin-window>div,.public-slot-card,
  .announcement-card,.announcement-room-fields,.announcement-room-credentials>div,
  .scrim-kpi-grid>div,.scrim-health-metrics>div,.scrim-manual-checkin-list>article,
  .manage-overview-action,.communication-action,.slot-generator-form,
  .slot-generator-summary>span,.slot-reserve-save-card,.slot-reserve-save-fields>label,
  .slot-distribution-actions,.slot-initial-form,.slot-initial-ready-note,
  .league-builder-head,.league-builder-body,.league-builder-help,.league-group-row,
  .manager-owner-row,.manager-user-row,.manager-autocomplete-form,.manager-search-box,
  .manager-search-results,.result-share-manager-grid,.result-share-published-head,
  .result-share-upload-form,.manage-cover-form,.manage-cover-preview,.manage-cover-help,
  .manage-cover-locked,.tournament-details-form,.tournament-date-edit-grid,
  .tournament-cover-picker,.registration-card-head,.registration-meta-grid,
  .registration-card-actions,.registration-status-form,.registration-roster-block,
  .application-note-card,.registration-rejection-card,.approved-roster-change-warning,
  .applications-summary-bar>div,.applications-summary-bar>a
) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body :where(
  .panel,.section,.form-card,.interior-panel,.notification-hub,.notification-center-list,
  .message-conversation-panel,.message-thread-panel,.forum-panel,.chat-shell,
  .tournament-summary-panel,.tournament-slot-public-section,.announcement-studio,
  .scrim-operation-panel,.manage-overview-panel,.tournament-control-panel,
  .tournament-result-share-panel,.tournament-slot-manager-panel,.league-manager-panel,
  .tournament-communication-panel,.tournament-share-manage-panel,
  .tournament-manager-panel,.tournament-settings-panel,.registrations-panel,
  .registration-card,.admin-result-center
) :where(h1,h2,h3,h4,h5,strong,b,label,.panel-title,.action-title) {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body :where(
  .panel,.section,.form-card,.interior-panel,.notification-hub,.notification-center-list,
  .message-conversation-panel,.message-thread-panel,.forum-panel,.chat-shell,
  .tournament-summary-panel,.tournament-slot-public-section,.announcement-studio,
  .scrim-operation-panel,.manage-overview-panel,.tournament-control-panel,
  .tournament-result-share-panel,.tournament-slot-manager-panel,.league-manager-panel,
  .tournament-communication-panel,.tournament-share-manage-panel,
  .tournament-manager-panel,.tournament-settings-panel,.registrations-panel,
  .registration-card,.admin-result-center
) :where(p,small,.muted,.small-muted,.muted-copy,.helper-text,.action-copy) {
  color:var(--theme-muted)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body :where(.interior-page-head,.page-title,.section-head,.clean-section-head) :where(h1,h2,h3) {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body :where(.interior-page-head,.page-title,.section-head,.clean-section-head) :where(p,small,span:not(.interior-eyebrow)) {
  color:var(--theme-muted)!important;
}

html[data-theme="dark"] body :where(.interior-eyebrow,.eyebrow,.team-profile-kicker,.admin-pro-kicker) {
  color:#ff8f97!important;
  -webkit-text-fill-color:currentColor!important;
}


html[data-theme="dark"] body :where(
  .field,.inline-stack,.forum-role-badge,.organizer-status-card,.scrim-stack-form,
  .start-tournament-form,.live-stream-editor,.game-info-item,.search-user-card,
  .tournament-overview-strip,.voice-person,.result-entry-card,.mini-match,
  .bracket-match,.player-role-choice,.announcement-room-card,.team-hero,.room-hero,
  .settings-profile-panel,.settings-coming-panel,.feature-field,.team-stat-deck,
  .premium-member-row,.team-showcase-preview,.manager-search-result,
  .team-voice-live-top,.team-control-card,.admin-broadcast-preview,.share-modal-card,
  .organizer-profile-stats,.join-summary-logo,.tournament-overview-logo,
  .voice-live-shell,.voice-secondary-control,.badge-guide-card,.team-lifecycle-empty,
  .delete-card,.admin-member-actions,.voice-navigation-frame,.voice-browser-actions,
  .tournament-action-panel,.tournament-prize-card,.tournament-capacity-summary,
  .share-cover-segmented,.share-more-actions,.result-public-card,.joined-tournament-row,
  .app-install-browser-card,.inbox-overview,.inbox-title-icon,.forum-message-card,
  .age-restricted-card,.broadcast-format-options,.broadcast-active-form
) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body :where(
  .organizer-status-card,.game-info-item,.search-user-card,.tournament-overview-strip,
  .voice-person,.result-entry-card,.announcement-room-card,.settings-profile-panel,
  .team-stat-deck,.premium-member-row,.manager-search-result,.team-control-card,
  .organizer-profile-stats,.voice-live-shell,.badge-guide-card,.joined-tournament-row,
  .inbox-overview,.forum-message-card
) :where(h2,h3,h4,strong,b,label) {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body :where(
  .organizer-status-card,.game-info-item,.search-user-card,.tournament-overview-strip,
  .voice-person,.result-entry-card,.announcement-room-card,.settings-profile-panel,
  .team-stat-deck,.premium-member-row,.manager-search-result,.team-control-card,
  .organizer-profile-stats,.voice-live-shell,.badge-guide-card,.joined-tournament-row,
  .inbox-overview,.forum-message-card
) :where(p,small,.muted) {
  color:var(--theme-muted)!important;
  -webkit-text-fill-color:currentColor!important;
}


html[data-theme="dark"] body :where(.forum-hero,.forum-community-strip,.chat-room-hero,.message-panel-head,.notification-hub-head) {
  border-color:var(--theme-border)!important;
  background:linear-gradient(145deg,#25191c,#181416)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body :where(.forum-message,.chat-message,.forum-chat-message,.direct-message-bubble) {
  border:1px solid var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text-soft)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body :where(.forum-message.mine,.chat-message.mine,.forum-chat-message.mine,.direct-message-bubble.mine) {
  border-color:#713840!important;
  background:linear-gradient(145deg,#2f1b20,#21171a)!important;
}

html[data-theme="dark"] body :where(.forum-message,.chat-message,.forum-chat-message,.direct-message-bubble)>p {
  color:var(--theme-text-soft)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body :where(.forum-message-head,.chat-forum-head,.announcement-forum-head,.direct-message-meta) time {
  color:var(--theme-faint)!important;
}

html[data-theme="dark"] body :where(.forum-level-badge,.forum-team-tag,.message-conversation-identity em) {
  border:1px solid var(--theme-border-strong)!important;
  background:var(--theme-surface-muted)!important;
  color:var(--theme-text-soft)!important;
  -webkit-text-fill-color:currentColor!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body .forum-level-badge {
  border-color:#744149!important;
  background:#351c21!important;
  color:#ffc3c7!important;
}

html[data-theme="dark"] body :where(.forum-compose-field,.message-conversation-search,.inbox-search-bar) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
}

html[data-theme="dark"] body :where(.forum-user-action-sheet,.forum-mod-sheet,.message-thread-shell) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-raised)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body .message-conversation-item {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body .message-conversation-copy :where(strong,p) {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .message-conversation-copy p {color:var(--theme-muted)!important}

html[data-theme="dark"] body.voice-dock-page {
  background:transparent!important;
}

html[data-theme="dark"] body :where(.voice-dock-shell,.voice-dock-locked) {
  border-color:var(--theme-border)!important;
  background:linear-gradient(135deg,#21181b,#151113)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body :where(.voice-dock-room-copy,.voice-dock-status) :where(strong,b) {color:var(--theme-text)!important}
html[data-theme="dark"] body :where(.voice-dock-room-copy,.voice-dock-status) :where(small,em) {color:var(--theme-muted)!important}

html[data-theme="dark"] body :where(.voice-dock-return,.voice-dock-leave) {
  border-color:var(--theme-border-strong)!important;
  background:var(--theme-surface-muted)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body :where(.inbox-primary-tab,.notification-segments a) {
  border-color:transparent!important;
  background:transparent!important;
  color:var(--theme-muted)!important;
}

html[data-theme="dark"] body :where(.inbox-primary-tab.is-active,.inbox-primary-tab.is-primary,.notification-segments a.active) {
  border-color:var(--theme-border-strong)!important;
  background:var(--theme-surface-muted)!important;
  color:var(--theme-text)!important;
}


html[data-theme="dark"] body .notification-row-modern {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body .notification-row-modern:has(.notification-unread-dot) {
  border-left-color:var(--theme-accent)!important;
  background:linear-gradient(90deg,#2a171b,var(--theme-surface))!important;
}

html[data-theme="dark"] body .notification-body-modern :where(h3,strong) {color:var(--theme-text)!important}
html[data-theme="dark"] body .notification-body-modern :where(p,small) {color:var(--theme-muted)!important}


html[data-theme="dark"] body :where(.tournament-detail-main-modern,.tournament-detail-modern-grid,.tournament-disclosure-stack) {
  background:transparent!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body :where(.tournament-action-card-modern,.scrim-checkin-card,.scrim-checkin-public-card) {
  border-color:var(--theme-border)!important;
  background:linear-gradient(145deg,var(--theme-surface-soft),var(--theme-surface))!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body :where(.tournament-action-card-modern,.scrim-checkin-card,.scrim-checkin-public-card) :where(h2,h3,strong,b) {color:var(--theme-text)!important}
html[data-theme="dark"] body :where(.tournament-action-card-modern,.scrim-checkin-card,.scrim-checkin-public-card) :where(p,small) {color:var(--theme-muted)!important}

html[data-theme="dark"] body :where(.announcement-type-switch,.announcement-group-filters) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface)!important;
}

html[data-theme="dark"] body :where(.announcement-type-switch button,.announcement-group-filters a) {
  background:transparent!important;
  color:var(--theme-muted)!important;
}

html[data-theme="dark"] body :where(.announcement-type-switch button.is-active,.announcement-group-filters a.is-active) {
  background:#421f25!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body .announcement-card {
  border-left-color:var(--theme-accent)!important;
  background:var(--theme-surface)!important;
}

html[data-theme="dark"] body .announcement-room-map-banner {
  border-color:var(--theme-border)!important;
  background:#111012!important;
}

html[data-theme="dark"] body .announcement-room-credentials>div {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
}

html[data-theme="dark"] body .announcement-room-credentials small {
  color:var(--theme-muted)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .announcement-room-credentials strong {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .announcement-room-description {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text-soft)!important;
}

html[data-theme="dark"] body .announcement-room-description-label :where(b,svg) {color:#ff939a!important}
html[data-theme="dark"] body .announcement-room-description>p {color:var(--theme-text-soft)!important}

html[data-theme="dark"] body .public-slot-group-heading {
  border:1px solid #e0525a!important;
  background:linear-gradient(135deg,#8f111a,#c91a24)!important;
  color:#fff!important;
  box-shadow:0 12px 30px rgba(150,17,27,.2)!important;
}

html[data-theme="dark"] body .public-slot-group-heading :where(strong,small,svg) {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

html[data-theme="dark"] body .public-slot-group-heading small {opacity:.9!important}

html[data-theme="dark"] body .public-slot-card:not(.reserved) {
  border-color:var(--theme-border-strong)!important;
  background:linear-gradient(145deg,var(--theme-surface-soft),var(--theme-surface))!important;
  box-shadow:var(--theme-shadow-sm)!important;
}

html[data-theme="dark"] body .public-slot-number {
  color:#ff949b!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .slot-group-chip.is-league {
  border:1px solid #b84b53!important;
  background:#64151c!important;
  color:#fff1f2!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .public-slot-team-line>strong {color:var(--theme-text)!important}
html[data-theme="dark"] body .public-slot-roster {border-color:var(--theme-border)!important}
html[data-theme="dark"] body :where(.public-slot-roster>span,.public-slot-main-tags>span,.manager-slot-main-tags>b) {color:#ff9ca2!important}
html[data-theme="dark"] body .public-slot-roster>p {color:var(--theme-muted)!important}

html[data-theme="dark"] body .public-slot-card.reserved {
  border:2px dashed #d5a74e!important;
  background:linear-gradient(135deg,#342912,#211c14)!important;
  box-shadow:inset 5px 0 0 #d5a74e,0 10px 28px rgba(0,0,0,.28)!important;
}

html[data-theme="dark"] body .public-slot-card.reserved :where(.public-slot-number,.public-slot-team-line>strong) {
  color:var(--theme-reserved)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .public-slot-card.reserved .slot-group-chip.is-league {
  border-color:#f0d58f!important;
  background:#e1b653!important;
  color:#251b08!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .public-slot-card.reserved>small {color:#e4cf99!important}


html[data-theme="dark"] body .scrim-manual-checkin {
  border-color:#6e3c43!important;
  background:linear-gradient(145deg,#25191c,var(--theme-surface))!important;
  box-shadow:var(--theme-shadow-sm)!important;
}

html[data-theme="dark"] body .scrim-manual-checkin-head :where(h2,h3,strong) {color:var(--theme-text)!important}
html[data-theme="dark"] body .scrim-manual-checkin-head :where(p,small) {color:var(--theme-muted)!important}

html[data-theme="dark"] body .scrim-manual-checkin-list>article {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
}

html[data-theme="dark"] body .scrim-manual-checkin-list>article :where(strong,b) {color:var(--theme-text)!important}
html[data-theme="dark"] body .scrim-manual-checkin-list>article :where(small,p,span:not(.btn)) {color:var(--theme-muted)!important}

html[data-theme="dark"] body :where(.scrim-system-state,.scrim-checkin-default-note,.scrim-history-feed>article,.scrim-issue-list>article) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text)!important;
}


html[data-theme="dark"] body :where(
  .registration-card-head,.registration-meta-grid,.registration-card-actions,
  .registration-status-form,.registration-roster-block,.application-note-card,
  .registration-rejection-card,.approved-roster-change-warning,.applications-summary-bar
) :where(h2,h3,h4,strong,b,label,.registration-team-name,.registration-roster-title) {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body :where(
  .registration-card-head,.registration-meta-grid,.registration-card-actions,
  .registration-status-form,.registration-roster-block,.application-note-card,
  .registration-rejection-card,.approved-roster-change-warning,.applications-summary-bar
) :where(p,small,.registration-meta,.registration-birth,.muted) {
  color:var(--theme-muted)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .applications-status-filters a {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text-soft)!important;
}

html[data-theme="dark"] body .applications-status-filters a:is(.active,[aria-current="page"]) {
  border-color:#ee5961!important;
  background:linear-gradient(135deg,#a80f1a,#d71927)!important;
  color:#fff!important;
}

html[data-theme="dark"] body :where(.manage-jump-nav,.manage-jump-nav-inner) {
  border-color:var(--theme-border)!important;
  background:rgba(16,13,14,.97)!important;
}

html[data-theme="dark"] body .manage-jump-nav a {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text-soft)!important;
}

html[data-theme="dark"] body :where(
  .manage-roster-change-alert,.slot-generator-form,.slot-reserve-save-card,
  .slot-initial-form,.league-builder-head,.league-builder-body,
  .manager-permission-guide,.manager-owner-row,.manager-user-row,
  .manager-autocomplete-form,.result-share-manager-grid,.result-share-upload-form,
  .manage-cover-form,.tournament-details-form,.tournament-cover-picker
) :where(strong,b,h3,h4,label) {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body :where(
  .manage-roster-change-alert,.slot-generator-form,.slot-reserve-save-card,
  .slot-initial-form,.league-builder-head,.league-builder-body,
  .manager-permission-guide,.manager-owner-row,.manager-user-row,
  .manager-autocomplete-form,.result-share-manager-grid,.result-share-upload-form,
  .manage-cover-form,.tournament-details-form,.tournament-cover-picker
) :where(small,p,span:not(.slot-group-chip):not(.status-pill)) {
  color:var(--theme-muted)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .tournament-danger-panel {
  border-color:rgba(255,115,124,.44)!important;
  background:linear-gradient(145deg,#281417,#180f11)!important;
}


html[data-theme="dark"] body :where(.create-page-shell,.wizard-card,.wizard-pane,.cover-builder-toolbar,.schedule-preview-card,.publish-summary,.organizer-responsibility-check) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body :where(.cover-builder-canvas,.premium-field,.type-card,.access-type-picker>label,.registration-type-picker>label,.publish-summary-grid>div) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body :where(.create-page-shell,.wizard-card,.wizard-pane,.publish-summary,.organizer-responsibility-check) :where(h1,h2,h3,strong,b,label) {color:var(--theme-text)!important}
html[data-theme="dark"] body :where(.create-page-shell,.wizard-card,.wizard-pane,.publish-summary,.organizer-responsibility-check) :where(p,small,.subtle) {color:var(--theme-muted)!important}


html[data-theme="dark"] body .profile-identity-card:not(.profile-theme-legendary) {
  border-color:var(--theme-border)!important;
  background:linear-gradient(145deg,#25191c,var(--theme-surface))!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body .profile-identity-card:not(.profile-theme-legendary) :where(h2,strong,b) {color:var(--theme-text)!important}
html[data-theme="dark"] body .profile-identity-card:not(.profile-theme-legendary) :where(p,small) {color:var(--theme-muted)!important}

html[data-theme="dark"] body :where(.profile-metric-strip,.profile-metric-strip>div,.organizer-inline-stats,.organizer-inline-stats>div,.profile-content-tabs,.profile-history-disclosure,.profile-history-row) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body :where(.profile-metric-strip,.organizer-inline-stats,.profile-history-row) :where(strong,b,.metric-value) {color:var(--theme-text)!important}
html[data-theme="dark"] body :where(.profile-metric-strip,.organizer-inline-stats,.profile-history-row) :where(small,p,.metric-label) {color:var(--theme-muted)!important}

html[data-theme="dark"] body .profile-content-tabs a {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text-soft)!important;
}

html[data-theme="dark"] body .profile-content-tabs a:is(.active,[aria-current="page"]) {
  background:#b51220!important;
  color:#fff!important;
}


html[data-theme="dark"] body.admin-mode {
  background:var(--theme-page)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body.admin-mode :where(.admin-ui-sidebar,.admin-ui-topbar,.admin-ui-mobile-dock) {
  border-color:var(--theme-border)!important;
  background:rgba(20,17,18,.98)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body.admin-mode :where(.admin-ui-brand img,.admin-ui-mobile-brand img) {
  filter:brightness(0) invert(1)!important;
}

html[data-theme="dark"] body.admin-mode :where(.admin-ui-side-search,.admin-ui-command-button,.admin-ui-icon-button,.admin-ui-top-account,.admin-ui-account) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body.admin-mode .admin-ui-nav-group h2 {color:var(--theme-faint)!important}

html[data-theme="dark"] body.admin-mode .admin-ui-nav-link {
  border-color:transparent!important;
  background:transparent!important;
  color:var(--theme-text-soft)!important;
}

html[data-theme="dark"] body.admin-mode .admin-ui-nav-link:is(:hover,.is-active) {
  border-color:#663a41!important;
  background:#321c21!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body.admin-mode :where(.admin-ui-command-dialog,.admin-ui-command-input,.admin-ui-command-results>a) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-raised)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body.admin-mode :where(
  .admin-card,.admin-section,.admin-panel,.admin-pro-list-hero,.admin-pro-user-stats>div,
  .admin-pro-user-filter-shell,.admin-pro-user-search,.admin-user-detail,
  .admin-user-detail-head,.admin-control-details,.admin-control-detail-body,
  .admin-action-group,.admin-action-group-body,.admin-permission-card,
  .admin-permission-center,.admin-permission-summary-mini,.admin-user-permission-strip,
  .admin-team-chat-panel,.admin-table-wrap,.admin-filter-bar,
  .result-ui-card,.result-ui-control,.result-ui-review,.result-ui-preview
) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body.admin-mode :where(
  .admin-stats>div,.admin-hub-nav,.admin-kpi,.admin-command-grid,
  .admin-inline-grid,.admin-dashboard-hero,.admin-row,.admin-menu,
  .admin-user-search,.admin-user-search-modern,.admin-user-card,
  .admin-control-form,.founder-admin-card,.founder-admin-row,
  .admin-user-overview,.admin-hub-links,.admin-ad-txt-status,.admin-ad-master,
  .moderator-ban-form,.admin-full-editor-form,.admin-sidebar-foot-actions,
  .admin-global-search-form,.admin-dashboard-search,.admin-user-quick-filters,
  .admin-search-type-tabs,.admin-pro-hero-actions,.admin-pro-command-search,
  .admin-pro-panel,.admin-pro-notice,.admin-ui-kpi,.result-ui-upload-card,
  .arc-toolbar,.arc-ai-key-panel,.arc-ai-upload-panel,.arc-ai-saved-panel,
  .arc-output-panel,.arc-upload-card,.arc-team-card,.arc-preview,.arc-lightbox,
  .arc-ai-key-form,.arc-ai-drop,.arc-ai-progress,.arc-selector-form,.arc-match-tabs
) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body.admin-mode :where(
  .admin-stats>div,.admin-hub-nav,.admin-kpi,.admin-command-grid,
  .admin-dashboard-hero,.admin-user-card,.admin-user-overview,
  .admin-pro-panel,.admin-pro-notice,.admin-ui-kpi,.result-ui-upload-card,
  .arc-ai-key-panel,.arc-ai-upload-panel,.arc-ai-saved-panel,.arc-output-panel
) :where(h1,h2,h3,h4,strong,b,label) {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body.admin-mode :where(
  .admin-stats>div,.admin-hub-nav,.admin-kpi,.admin-command-grid,
  .admin-dashboard-hero,.admin-user-card,.admin-user-overview,
  .admin-pro-panel,.admin-pro-notice,.admin-ui-kpi,.result-ui-upload-card,
  .arc-ai-key-panel,.arc-ai-upload-panel,.arc-ai-saved-panel,.arc-output-panel
) :where(p,small,.muted) {
  color:var(--theme-muted)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body.admin-mode :where(
  .admin-user-detail-head,.admin-control-detail-body,.admin-action-group-body,
  .admin-permission-card,.admin-permission-summary-mini,.admin-user-permission-strip,
  .admin-user-quick-meta>span,.admin-badge-checkboxes>label,
  .result-ui-kpis>article,.result-ui-matchrail>a,.result-ui-drop,.result-ui-tip,
  .result-ui-check,.result-ui-message,.result-ui-compare,.result-ui-issues>*,
  .result-ui-attendance>section,.result-ui-accordion details,.result-ui-history-grid details,
  .result-ui-finalist-grid>label,.result-ui-output-btn,.result-ui-saved-list>a
) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body.admin-mode :where(
  .admin-card,.admin-section,.admin-panel,.admin-pro-list-hero,.admin-user-detail,
  .admin-control-details,.admin-action-group,.admin-permission-card,
  .admin-team-chat-panel,.result-ui-card,.result-ui-control,.result-ui-review,.result-ui-preview
) :where(h1,h2,h3,h4,strong,b,label) {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body.admin-mode :where(
  .admin-card,.admin-section,.admin-panel,.admin-pro-list-hero,.admin-user-detail,
  .admin-control-details,.admin-action-group,.admin-permission-card,
  .admin-team-chat-panel,.result-ui-card,.result-ui-control,.result-ui-review,.result-ui-preview
) :where(p,small,.muted,.admin-control-detail) {
  color:var(--theme-muted)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body.admin-mode :where(table,.admin-ip-table,.analytics-ui-visit-table,.result-ui-table-wrap) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body.admin-mode :where(th,thead td) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-muted)!important;
  color:var(--theme-text-soft)!important;
}

html[data-theme="dark"] body.admin-mode :where(td,tr) {border-color:var(--theme-border)!important}

html[data-theme="dark"] body.admin-mode .admin-pro-user-search>* {
  min-width:0!important;
  border-color:var(--theme-border-strong)!important;
  background:var(--theme-input)!important;
  color:var(--theme-text)!important;
}


html[data-theme="dark"] body.admin-mode :where(.result-ui-issue-legend,.result-ui-validation,.result-ui-issues) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface)!important;
}

html[data-theme="dark"] body.admin-mode :where(.result-ui-message.critical,.result-ui-issues .critical,.notice.critical) {
  border-color:#d07cff!important;
  background:#2d1736!important;
  color:#efc9ff!important;
}

html[data-theme="dark"] body.admin-mode :where(.result-ui-message.error,.result-ui-issues .error,.notice.error) {
  border-color:#ff737c!important;
  background:#35171b!important;
  color:#ffc1c5!important;
}

html[data-theme="dark"] body.admin-mode :where(.result-ui-message.warning,.result-ui-message.warn,.result-ui-issues .warning,.notice.warn) {
  border-color:#d99031!important;
  background:#322513!important;
  color:#ffd79e!important;
}

html[data-theme="dark"] body.admin-mode :where(.result-ui-message.info,.result-ui-issues .info,.notice.info) {
  border-color:#4d9eea!important;
  background:#142639!important;
  color:#badcff!important;
}

html[data-theme="dark"] body.admin-mode :where(.result-ui-message.success,.result-ui-message.ok,.result-ui-issues .success,.notice.success) {
  border-color:#46b878!important;
  background:#142a1e!important;
  color:#baf0d0!important;
}


body .username-tone-member {color:#177a3f!important;-webkit-text-fill-color:currentColor!important}
body .username-tone-elite {color:#1769aa!important;-webkit-text-fill-color:currentColor!important}
body .username-tone-moderator {color:#9a6500!important;-webkit-text-fill-color:currentColor!important}
body .username-tone-organizer {color:#7748ad!important;-webkit-text-fill-color:currentColor!important}
body .username-tone-manager {color:#a34c09!important;-webkit-text-fill-color:currentColor!important}
body .username-tone-founder {color:#b81723!important;-webkit-text-fill-color:currentColor!important}

html[data-theme="dark"] body :where(.forum-user-link,.profile-username,.message-conversation-identity small,.message-thread-identity small):not([class*="username-tone-"]) {
  color:#d8d0d2!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
}

html[data-theme="dark"] body .username-tone-member {color:#56d889!important;text-shadow:0 0 10px rgba(86,216,137,.2)!important}
html[data-theme="dark"] body .username-tone-elite {color:#75b7ff!important;text-shadow:0 0 10px rgba(117,183,255,.2)!important}
html[data-theme="dark"] body .username-tone-moderator {color:#f2d466!important;text-shadow:0 0 10px rgba(242,212,102,.18)!important}
html[data-theme="dark"] body .username-tone-organizer {color:#c9a1ff!important;text-shadow:0 0 11px rgba(201,161,255,.22)!important}
html[data-theme="dark"] body .username-tone-manager {color:#ffad58!important;text-shadow:0 0 10px rgba(255,173,88,.2)!important}
html[data-theme="dark"] body .username-tone-founder {color:#ff5f69!important;text-shadow:0 0 12px rgba(255,95,105,.24)!important}

html[data-theme="dark"] body :where(
  .username-tone-member,.username-tone-elite,.username-tone-moderator,
  .username-tone-organizer,.username-tone-manager,.username-tone-founder
) {
  font-weight:900!important;
  -webkit-text-fill-color:currentColor!important;
}


html[data-theme="dark"] body :where(.notice,.page-flash) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text-soft)!important;
}

html[data-theme="dark"] body :where(.notice.warn,.page-flash.warn) {border-color:#9b6a2e!important;background:#2c2114!important;color:#ffd89f!important}
html[data-theme="dark"] body :where(.notice.error,.page-flash.error) {border-color:#9f4650!important;background:#30171b!important;color:#ffc5c8!important}
html[data-theme="dark"] body :where(.notice.success,.page-flash.success) {border-color:#377a55!important;background:#14271c!important;color:#bdebcf!important}
html[data-theme="dark"] body :where(.notice.info,.page-flash.info) {border-color:#3f719e!important;background:#142331!important;color:#c4e0ff!important}


html[data-theme="dark"] body :where(
  .join-summary-card,.selected-team,.team-tag-rule-warning,
  .application-privacy-note,.manual-roster-panel,.partial-roster-note,
  .join-confirm-check,.substitute-picker-panel,.registration-main-picker
) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body :where(
  .join-summary-card,.selected-team,.team-tag-rule-warning,
  .application-privacy-note,.manual-roster-panel,.partial-roster-note,
  .join-confirm-check,.substitute-picker-panel,.registration-main-picker
) :where(h2,h3,strong,b,label) {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body :where(
  .join-summary-card,.selected-team,.team-tag-rule-warning,
  .application-privacy-note,.manual-roster-panel,.partial-roster-note,
  .substitute-picker-panel,.registration-main-picker
) :where(p,small,span:not(.roster-ios-switch):not(.mini-avatar):not(.team-avatar)) {
  color:var(--theme-muted)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .join-summary-card>div:nth-child(2)>strong,
html[data-theme="dark"] body .selected-team>div:last-child>strong,
html[data-theme="dark"] body .roster-head strong,
html[data-theme="dark"] body .roster-person>strong,
html[data-theme="dark"] body .manual-roster-head strong,
html[data-theme="dark"] body .registration-main-head strong {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
}

html[data-theme="dark"] body .join-summary-card>b {
  border:1px solid #78454b!important;
  background:#3a2025!important;
  color:#ffd9dc!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body :where(.join-summary-logo,.selected-team .team-avatar) {
  border-color:var(--theme-border-strong)!important;
  background:#f7f3f4!important;
}

html[data-theme="dark"] body .team-tag-rule-warning>svg,
html[data-theme="dark"] body .application-privacy-note>svg {color:#ff9299!important}

html[data-theme="dark"] body .roster-head {color:var(--theme-text)!important}

html[data-theme="dark"] body .roster-head small,
html[data-theme="dark"] body .roster-person>small:not(.game-id-chip):not(.birth-date-chip),
html[data-theme="dark"] body .manual-roster-head small {
  color:var(--theme-muted)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .roster-head>b,
html[data-theme="dark"] body .manual-roster-head>b,
html[data-theme="dark"] body .registration-main-head>b,
html[data-theme="dark"] body .registration-main-editor-note>b {
  border:1px solid #704047!important;
  background:#3a2025!important;
  color:#ffabb0!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .roster-option,
html[data-theme="dark"] body .substitute-roster-option {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body .roster-option:hover {
  border-color:var(--theme-border-strong)!important;
  background:var(--theme-surface-raised)!important;
}

html[data-theme="dark"] body .roster-option.selected {
  border-color:#d45a63!important;
  background:linear-gradient(135deg,#2b1a1e,#351c21)!important;
  box-shadow:0 0 0 2px rgba(212,90,99,.10)!important;
}

html[data-theme="dark"] body .roster-option.identity-missing {
  border-color:#9b642e!important;
  background:#2b2116!important;
}

html[data-theme="dark"] body .roster-option.identity-missing .game-id-chip:first-of-type {
  color:#ffd394!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body :where(.game-id-chip,.birth-date-chip) {
  border:1px solid #59484d!important;
  background:#30272a!important;
  color:#e6dce0!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
}

html[data-theme="dark"] body .birth-date-chip {
  border-color:#4b4144!important;
  background:#262123!important;
  color:#cfc4c7!important;
}

html[data-theme="dark"] body .roster-ios-switch {
  border:1px solid #675a5e!important;
  background:#4b4245!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)!important;
}

html[data-theme="dark"] body .roster-ios-switch>i {background:#f7f3f4!important}

html[data-theme="dark"] body .roster-option.selected .roster-ios-switch {
  border-color:#e15d66!important;
  background:#c8202b!important;
  box-shadow:0 0 0 3px rgba(225,93,102,.12)!important;
}

html[data-theme="dark"] body :where(.manual-player-add-button,.substitute-player-add-button,.registration-main-add) {
  border-color:#735057!important;
  background:var(--theme-surface-raised)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body :where(.manual-player-add-button,.substitute-player-add-button,.registration-main-add) :where(strong,span) {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body :where(.manual-player-add-button,.substitute-player-add-button,.registration-main-add) small {
  color:var(--theme-muted)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .substitute-picker-panel>header {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
}

html[data-theme="dark"] body .substitute-picker-panel>header>button,
html[data-theme="dark"] body .manual-player-title>button,
html[data-theme="dark"] body .registration-main-field>div>button {
  border-color:#70434a!important;
  background:#3b2126!important;
  color:#ffabb1!important;
}

html[data-theme="dark"] body .registration-main-head>span {
  border:1px solid #724047!important;
  background:#3a2025!important;
  color:#ff9299!important;
}

html[data-theme="dark"] body .registration-main-head strong>em,
html[data-theme="dark"] body .registration-main-field>span {
  color:#cdbfc2!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body :where(
  .registration-main-field input,.manual-player-field input,.partial-roster-note textarea
) {
  border-color:var(--theme-border-strong)!important;
  background:var(--theme-input)!important;
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body :where(
  .registration-main-field input,.manual-player-field input,.partial-roster-note textarea
)::placeholder {
  color:#8f8286!important;
  -webkit-text-fill-color:currentColor!important;
  opacity:1!important;
}

html[data-theme="dark"] body .manual-player-field {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body .join-confirm-check>span {
  color:var(--theme-text-soft)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .join-confirm-check>input {accent-color:#d82430!important}

html[data-theme="dark"] body .btn[data-roster-submit]:disabled {
  border-color:#74353d!important;
  background:#652730!important;
  color:#dac5c9!important;
  -webkit-text-fill-color:currentColor!important;
  opacity:.86!important;
}

html[data-theme="dark"] body .btn[data-roster-submit]:not(:disabled) {
  background:linear-gradient(135deg,#d9232e,#a70f18)!important;
  color:#fff!important;
  -webkit-text-fill-color:currentColor!important;
}


html[data-theme="dark"] body :where(
  .auth-card,.organizer-progress-card,.action-card,.voice-create-card,
  .join-type-card,.registration-success,.notification-card,
  .public-stats>a,.public-stats>div,.people-list>a,
  .announcement-compose,.voice-room-card,.broadcast-history-card,
  .moment-card,.moment-compose,.forum-community-strip>article,
  .guide-card,.guide-index-side>section,.guide-empty,.guide-not-found,
  .guide-article,.guide-article-aside>section,.guide-article-aside>nav,
  .home-steps>article,.home-public-link-grid>a,.guide-admin-table,
  .guide-editor-panel,.league-group-row,.tournament-lobby-card,
  .scrim-history-list>article,.scrim-quick-nav>a,.scrim-kpi-grid>article,
  .readiness-summary-grid>article,.analytics-kpi-grid>article,
  .tournament-cover-builder,.team-showcase-card,.team-search-bar,
  .leader-team-list,.leader-player-list,.leader-team-card,.leader-player-card,
  .registration-roster-block,.team-control-card,.live-tournament-card,
  .registered-tournament-row,.legal-card,.chat-bubble,.search-team-row,
  .search-user-card,.voice-password-gate,.team-lifecycle-empty,
  .tournament-capacity-summary,.settings-disclosure,.settings-info-row,
  .settings-session-row,.settings-legal-links-modern>a,
  .profile-organizer-disclosure,.profile-history-disclosure,
  .team-metric-strip,.team-organizer-disclosure,.team-founder-strip,
  .team-application-modern,.team-chat-modern,.team-control-list>a,
  .team-control-voice,.history-disclosure,.invite-code-modern,
  .danger-action-block,.seo-info-card,.seo-faq-section,.seo-related-links>a,
  .tournament-applications-link,.home-apply-guide-action,
  .home-game-card,.home-forum-hub,.home-forum-preview,.home-forum-preview-row,
  .team-public-roster-grid>a,.rank-legend>article,.rank-system-panel,
  .profile-complete-progress>article,.applications-search-form>label,
  .applications-search-form>a,.scrim-checkin-state-pill
) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body :where(
  .filter-chip,.member-tools button,.member-action button,.row-actions button,
  .guide-index-hero form>div,.guide-category-tabs>a,
  .guide-article-head>a,.guide-article-head>div>a,
  .guide-admin-actions>a,.guide-admin-actions>button,
  .guide-editor-toolbar>button,.league-builder-help code,.league-add-btn,
  .announcement-viewer-scope,.announcement-audience-picker label>span,
  .announcement-group-select select,.voice-type-picker span,
  .voice-privacy-picker span,.search-tabs>a,.notification-filter-tabs>a,
  .profile-xp-sources>span,.username-color-choice,.username-effect-choice,
  .forum-color-toggle,.forum-style-toggles>button,.forum-color-popover,
  .forum-style-color,.profile-level-rewards-btn,
  .level-reward-row,.result-intro-card>strong,.result-file-picker>b,
  .result-remove-cover,.share-more-actions>button,
  .forum-mod-actions>button,.forum-user-action-buttons>a,
  .forum-user-action-buttons>button,.member-actions-menu>div,
  .text-btn,.cover-action-btn.subtle,.home-moment-create,
  .home-forum-action,.site-theme-preview>article,
  .inbox-search-empty,.app-device-section,.app-install-guide
) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text-soft)!important;
  -webkit-text-fill-color:currentColor!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body :where(
  .active-broadcast-modal>section,.active-broadcast-modal>footer,
  .active-broadcast-list>article,.share-modal-card,.forum-user-action-sheet,
  .forum-mod-sheet,.level-rewards-dialog,.member-actions-menu>div
) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-raised)!important;
  color:var(--theme-text)!important;
  box-shadow:var(--theme-shadow-lg)!important;
}

html[data-theme="dark"] body :where(
  .auth-card,.organizer-progress-card,.action-card,.voice-create-card,
  .join-type-card,.registration-success,.notification-card,.people-list>a,
  .announcement-compose,.voice-room-card,.broadcast-history-card,
  .moment-card,.moment-compose,.guide-card,.guide-article,
  .guide-index-side>section,.home-steps>article,.home-public-link-grid>a,
  .guide-editor-panel,.league-group-row,.tournament-lobby-card,
  .scrim-history-list>article,.scrim-kpi-grid>article,.readiness-summary-grid>article,
  .analytics-kpi-grid>article,.tournament-cover-builder,.team-showcase-card,
  .leader-team-card,.leader-player-card,.registration-roster-block,
  .team-control-card,.live-tournament-card,.registered-tournament-row,
  .legal-card,.search-team-row,.search-user-card,.team-lifecycle-empty,
  .settings-disclosure,.settings-info-row,.settings-session-row,
  .profile-organizer-disclosure,.profile-history-disclosure,
  .team-organizer-disclosure,.team-founder-strip,.team-application-modern,
  .team-chat-modern,.history-disclosure,.invite-code-modern,
  .danger-action-block,.seo-info-card,.seo-faq-section,
  .home-game-card,.home-forum-hub,.home-forum-preview,
  .rank-system-panel,.profile-complete-progress>article,
  .active-broadcast-modal>section,.active-broadcast-list>article,
  .share-modal-card,.level-rewards-dialog
) :where(h1,h2,h3,h4,h5,strong,b,label) {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
}

html[data-theme="dark"] body :where(
  .auth-card,.organizer-progress-card,.action-card,.voice-create-card,
  .join-type-card,.registration-success,.notification-card,.people-list>a,
  .announcement-compose,.voice-room-card,.broadcast-history-card,
  .moment-card,.moment-compose,.guide-card,.guide-article,
  .guide-index-side>section,.home-steps>article,.home-public-link-grid>a,
  .guide-editor-panel,.league-group-row,.tournament-lobby-card,
  .scrim-history-list>article,.scrim-kpi-grid>article,.readiness-summary-grid>article,
  .analytics-kpi-grid>article,.tournament-cover-builder,.team-showcase-card,
  .leader-team-card,.leader-player-card,.registration-roster-block,
  .team-control-card,.live-tournament-card,.registered-tournament-row,
  .legal-card,.search-team-row,.search-user-card,.team-lifecycle-empty,
  .settings-disclosure,.settings-info-row,.settings-session-row,
  .profile-organizer-disclosure,.profile-history-disclosure,
  .team-organizer-disclosure,.team-founder-strip,.team-application-modern,
  .team-chat-modern,.history-disclosure,.invite-code-modern,
  .danger-action-block,.seo-info-card,.seo-faq-section,
  .home-game-card,.home-forum-hub,.home-forum-preview,
  .rank-system-panel,.profile-complete-progress>article,
  .active-broadcast-modal>section,.active-broadcast-list>article,
  .share-modal-card,.level-rewards-dialog
) :where(p,small,.muted,.subtle,.help-text,.meta) {
  color:var(--theme-muted)!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
}


html[data-theme="dark"] body :where(
  .guide-category-tabs>a.active,.search-tabs>a.active,
  .notification-filter-tabs>a.active,.profile-content-tabs>button.active,
  .announcement-group-filters>button.is-active,.interior-segment-nav>a.active,
  .share-cover-segmented input:checked+span
) {
  border-color:#e34e58!important;
  background:#9f121d!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}


html[data-theme="dark"] body.admin-mode :where(
  .admin-layout-card,.admin-layout-kpis>a,.admin-layout-quick-grid>a,.admin-ui-card,
  .admin-ui-action-grid>a,.admin-ui-queue-list>a,.admin-ui-health-list>span,
  .admin-ui-history-list>article,.analytics-ui-panel,.analytics-ui-stat-grid>div,
  .analytics-ui-stat-grid>a,.admin-team-card,.admin-tournament-card,
  .admin-pro-team-card,.admin-pro-tournament-card,.moderator-user-card,
  .admin-registration-copy,.admin-voice-card,.admin-security-overview>div,
  .admin-check-card,.admin-operation-card,.admin-settings-panel,
  .admin-readiness-hero,.admin-recent-panel,.admin-registration-list>article,
  .admin-team-chat-threads,.admin-team-chat-message,.admin-team-chat-note,
  .admin-pro-result-group,.guide-admin-table
) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body.admin-mode :where(
  .admin-layout-btn,.admin-layout-icon-btn,.admin-ui-button,.admin-ui-date,
  .admin-pro-count,.admin-count-chip,.admin-pagination>a,.admin-pagination>span,
  .admin-pro-pagination>a,.admin-pro-filter-tabs>a,.admin-pro-toolbar-link,
  .admin-pro-card-actions>a,.admin-user-detail-actions,
  .admin-pro-inline-control>button,.admin-pro-empty,.admin-pro-search-guide,
  .admin-registration-list select,.admin-registration-list button,
  .admin-tournament-actions select,.admin-tournament-actions button,
  .admin-member-role-form select,.admin-member-role-form button,
  .admin-permission-current>span,.admin-user-quick-filters>a,
  .admin-search-type-tabs>span,.admin-sidebar-foot-actions>a
) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text-soft)!important;
  -webkit-text-fill-color:currentColor!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body.admin-mode :where(
  .admin-layout-card,.admin-layout-kpis>a,.admin-layout-quick-grid>a,.admin-ui-card,
  .admin-ui-action-grid>a,.admin-ui-queue-list>a,.admin-ui-health-list>span,
  .admin-ui-history-list>article,.analytics-ui-panel,.analytics-ui-stat-grid>div,
  .admin-team-card,.admin-tournament-card,.admin-pro-team-card,
  .admin-pro-tournament-card,.moderator-user-card,.admin-registration-copy,
  .admin-voice-card,.admin-security-overview>div,.admin-check-card,
  .admin-operation-card,.admin-settings-panel,.admin-registration-list>article,
  .admin-team-chat-message,.admin-pro-result-group
) :where(h1,h2,h3,h4,strong,b,label) {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body.admin-mode :where(
  .admin-layout-card,.admin-layout-kpis>a,.admin-layout-quick-grid>a,.admin-ui-card,
  .admin-ui-action-grid>a,.admin-ui-queue-list>a,.admin-ui-health-list>span,
  .admin-ui-history-list>article,.analytics-ui-panel,.analytics-ui-stat-grid>div,
  .admin-team-card,.admin-tournament-card,.admin-pro-team-card,
  .admin-pro-tournament-card,.moderator-user-card,.admin-registration-copy,
  .admin-voice-card,.admin-security-overview>div,.admin-check-card,
  .admin-operation-card,.admin-settings-panel,.admin-registration-list>article,
  .admin-team-chat-message,.admin-pro-result-group
) :where(p,small,.muted,.meta) {
  color:var(--theme-muted)!important;
  -webkit-text-fill-color:currentColor!important;
}


html[data-theme="dark"] body :where(
  .form-card,.panel,.interior-panel,.content-disclosure,.settings-disclosure,
  .tournament-manager-panel,.registrations-panel,.admin-card,.admin-panel
) :where(
  [style*="background:#fff"],[style*="background: #fff"],
  [style*="background:#ffffff"],[style*="background: #ffffff"],
  [style*="background-color:#fff"],[style*="background-color: #fff"]
):not(img):not(canvas):not(.team-avatar):not(.mini-avatar):not(.join-summary-logo) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text)!important;
}


html[data-theme="dark"] body :where(
  .category,.tournament-card,.calendar-card,.stat-card,.team-stats,
  .profile-summary,.profile-card,.team-card,.recent-finished-card,
  .direct-message-form,.message-inbox-layout,.announcement-forum-card,
  .forum-compose-wrap,.forum-chat-bubble,.forum-online-note,
  .global-search-form,.settings-disclosure-body,.site-theme-toggle-row,
  .profile-theme-choice,.arc-team-card.is-playing,
  .arc-ai-mini-table>div:not(.arc-ai-mini-head),
  .tournament-slot-highlight-section,.tournament-room-participant-slot,
  .home-game-art
) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body :where(
  .category,.tournament-card,.calendar-card,.stat-card,.team-stats,
  .profile-summary,.profile-card,.team-card,.recent-finished-card,
  .direct-message-form,.message-inbox-layout,.announcement-forum-card,
  .forum-compose-wrap,.forum-chat-bubble,.forum-online-note,
  .global-search-form,.settings-disclosure-body,.site-theme-toggle-row,
  .profile-theme-choice,.arc-team-card.is-playing,
  .tournament-slot-highlight-section,.tournament-room-participant-slot
) :where(h1,h2,h3,h4,strong,b,label) {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body :where(
  .category,.tournament-card,.calendar-card,.stat-card,.team-stats,
  .profile-summary,.profile-card,.team-card,.recent-finished-card,
  .direct-message-form,.message-inbox-layout,.announcement-forum-card,
  .forum-compose-wrap,.forum-chat-bubble,.forum-online-note,
  .global-search-form,.settings-disclosure-body,.site-theme-toggle-row,
  .profile-theme-choice,.arc-team-card.is-playing,
  .tournament-slot-highlight-section,.tournament-room-participant-slot
) :where(p,small,.muted,.meta) {
  color:var(--theme-muted)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body :where(
  .inbox-push-action,.settings-logout-btn,.message-conversation-delete,
  .announcement-format-dot,.announcement-format-text,.profile-nav-icon,
  .voice-leave-control
) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text-soft)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .team-delete-button {
  border-color:#8f4149!important;
  background:#30171b!important;
  color:#ff9ba2!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body :where(.announcement-format-dot,.announcement-format-text).is-active {
  border-color:#e34e58!important;
  background:#3b2025!important;
  color:#ffb4b9!important;
}

html[data-theme="dark"] body .desktop-account {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body.admin-mode :where(
  .admin-pro-list-toolbar,.admin-pro-search-box,.admin-empty-state,
  .admin-user-filter-modern,.admin-pro-kpi-grid>a,
  .admin-pro-priority-grid>a,.admin-pro-module-grid>a,
  .admin-pro-search-input,.admin-pro-search-tabs,
  .admin-tournament-slot-center,.admin-tournament-slot-card,
  .admin-tournament-slot-form,.admin-log-row
) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body.admin-mode :where(
  .admin-pro-list-toolbar,.admin-pro-search-box,.admin-empty-state,
  .admin-user-filter-modern,.admin-pro-kpi-grid>a,
  .admin-pro-priority-grid>a,.admin-pro-module-grid>a,
  .admin-tournament-slot-center,.admin-tournament-slot-card,
  .admin-tournament-slot-form,.admin-log-row
) :where(h1,h2,h3,h4,strong,b,label) {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body.admin-mode :where(
  .admin-pro-list-toolbar,.admin-pro-search-box,.admin-empty-state,
  .admin-user-filter-modern,.admin-pro-kpi-grid>a,
  .admin-pro-priority-grid>a,.admin-pro-module-grid>a,
  .admin-tournament-slot-center,.admin-tournament-slot-card,
  .admin-tournament-slot-form,.admin-log-row
) :where(p,small,.muted,.meta) {
  color:var(--theme-muted)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body.admin-mode :where(.admin-layout-sidebar,.admin-mobile-topbar,.admin-mobile-dock) {
  border-color:var(--theme-border)!important;
  background:#151113!important;
  color:var(--theme-text)!important;
}

html[data-theme="dark"] body.admin-mode :where(.admin-ui-nav-icon,.admin-sidebar-collapse) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text-soft)!important;
}

html[data-theme="dark"] body.admin-mode :where(
  .result-ui-head-status,.result-ui-review-include,.analytics-ui-period,
  .admin-ui-period,.admin-filter-search,.announcement-studio-head>span
) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text-soft)!important;
  -webkit-text-fill-color:currentColor!important;
}


html[data-theme="dark"] body .substitute-player-add-button>[data-substitute-counter] {
  border:1px solid #714047!important;
  background:#3a2025!important;
  color:#ffb0b5!important;
  -webkit-text-fill-color:currentColor!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body .substitute-player-add-button.has-selection>[data-substitute-counter] {
  border-color:#e55d66!important;
  background:#a9131d!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

html[data-theme="dark"] body .profile-content-tabs>button {
  border:1px solid transparent!important;
  background:transparent!important;
  color:var(--theme-text-soft)!important;
  -webkit-text-fill-color:currentColor!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body .profile-content-tabs>button>b {
  border:1px solid var(--theme-border)!important;
  background:#30282b!important;
  color:#ddd3d6!important;
  -webkit-text-fill-color:currentColor!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body .profile-content-tabs>button.active {
  border-color:#e34e58!important;
  background:#a91420!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

html[data-theme="dark"] body .profile-content-tabs>button.active>b {
  border-color:rgba(255,255,255,.24)!important;
  background:#6f0d16!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

html[data-theme="dark"] body :where(
  [data-manual-count],[data-main-count],[data-roster-counter],
  .registration-count-pill,.team-count-pill,.count-chip,.search-result-count,
  .admin-count-chip,.admin-pro-count,.admin-private-badge,.roster-warning-count,
  .team-control-count,.message-unread-badge,.voice-room-count,
  .notification-hub .inbox-primary-tab:not(.active)>b,
  .notification-toolbar .notification-segments a:not(.active)>b,
  .manual-roster-head>b,.registration-main-head>b,
  .settings-owner-pill,.drawer-team-badge,.chat-private-chip,
  .result-match-count-field,.detail-section-heading>span,
  .tournament-prize-card>span,.team-application-head>span
) {
  border-color:var(--theme-border)!important;
  background:#30272a!important;
  color:#ded4d7!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body :where(
  .notification-hub .inbox-primary-tab.active>b,
  .notification-toolbar .notification-segments a.active>b,
  .home-forum-unread-badge,.tournament-result-unread-badge,
  .tournament-room-unread-badge
) {
  border-color:#e65a63!important;
  background:#9e131d!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:none!important;
}


html[data-theme="dark"] body .tournament-slot-public-section.is-empty {
  border-color:var(--theme-border)!important;
  background:linear-gradient(160deg,#181416,#201619)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body .public-slot-empty-state {
  border-color:#5b4146!important;
  background:linear-gradient(135deg,#211b1d,#291d20)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body .public-slot-empty-state>span {
  border:1px solid #744049!important;
  background:#3c2026!important;
  color:#ff7881!important;
}

html[data-theme="dark"] body .public-slot-empty-state strong {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .public-slot-empty-state p {
  color:var(--theme-muted)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .seo-related-links {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body .seo-related-links :where(strong) {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .seo-related-links :where(small) {
  color:var(--theme-muted)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .seo-related-links nav>a {
  border:1px solid #594147!important;
  background:#292124!important;
  color:#f0e7e9!important;
  -webkit-text-fill-color:currentColor!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body .seo-related-links nav>a:is(:hover,:focus-visible) {
  border-color:#df4b55!important;
  background:#3a2025!important;
  color:#fff!important;
}


html[data-theme="dark"] body :where(
  .cover-locked-pill,.organizer-inline-note>span,.publish-summary-head>span,
  .publish-consent>span,.authority-card>span,.self-chip,
  .registration-roster-chips>span,.voice-muted-badge,.badge-requirement>span,
  .standalone-state>span,.tournament-content-blocks>section>span,
  .settings-list-link>span,.danger-action-block>div:first-child>span,
  .tournament-fact-grid>div>span,.result-step-head>span,
  .home-guide-step>b,.guide-index-side a>b,.home-public-link-grid>a>span,
  .site-theme-intro>span
) {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-muted)!important;
  color:var(--theme-text-soft)!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
  box-shadow:none!important;
}


html[data-theme="dark"] body .share-editor-setting {
  border-color:var(--theme-border)!important;
  background:linear-gradient(135deg,#211b1d,#281e21)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body .share-editor-setting strong {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .share-editor-setting small {
  color:var(--theme-muted)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .share-cover-segmented {
  border:1px solid var(--theme-border)!important;
  background:#151213!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body .share-cover-segmented input+span {
  border:1px solid transparent!important;
  background:transparent!important;
  color:#bfb4b7!important;
  -webkit-text-fill-color:currentColor!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body .share-cover-segmented input:checked+span {
  border-color:#e75b64!important;
  background:linear-gradient(135deg,#a70f19,#d41b28)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 0 0 2px rgba(231,91,100,.12)!important;
}

html[data-theme="dark"] body .share-modal-close {
  border:1px solid var(--theme-border)!important;
  background:#30272a!important;
  color:#f4edef!important;
  -webkit-text-fill-color:currentColor!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body .applications-status-filters a>b {
  border:1px solid var(--theme-border)!important;
  background:#30272a!important;
  color:#ded4d7!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body .applications-status-filters a:is(.active,[aria-current="page"])>b {
  border-color:rgba(255,255,255,.24)!important;
  background:#6f0d16!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

html[data-theme="dark"] body .applications-summary-bar>div {
  border-color:var(--theme-border)!important;
  background:var(--theme-surface-soft)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body .applications-summary-bar>div>small {
  color:var(--theme-muted)!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .applications-summary-bar>div>strong {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
}


html[data-theme="dark"] body .registration-state-modern {
  border:1px solid var(--theme-border)!important;
  background:linear-gradient(135deg,#211b1d,#281e21)!important;
  color:var(--theme-text)!important;
  box-shadow:none!important;
}

html[data-theme="dark"] body .registration-state-modern small {
  color:var(--theme-muted)!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
}

html[data-theme="dark"] body .registration-state-modern strong {
  color:var(--theme-text)!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
}

html[data-theme="dark"] body .registration-state-modern.status-approved {
  border-color:#37604a!important;
  background:linear-gradient(135deg,#17241d,#1d3024)!important;
}

html[data-theme="dark"] body .registration-state-modern.status-approved strong {
  color:#78e4a2!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .registration-state-modern.status-reserve {
  border-color:#6c5730!important;
  background:linear-gradient(135deg,#251f16,#302719)!important;
}

html[data-theme="dark"] body .registration-state-modern.status-reserve strong {
  color:#f4d17a!important;
  -webkit-text-fill-color:currentColor!important;
}

html[data-theme="dark"] body .registration-state-modern:is(.status-rejected,.status-withdrawn,.status-removed) {
  border-color:#733b43!important;
  background:linear-gradient(135deg,#28191c,#321c21)!important;
}

html[data-theme="dark"] body .registration-state-modern:is(.status-rejected,.status-withdrawn,.status-removed) strong {
  color:#ff929a!important;
  -webkit-text-fill-color:currentColor!important;
}


@media (max-width:900px) {
  html[data-theme="dark"] body.admin-mode .admin-ui-sidebar {
    border-right-color:var(--theme-border)!important;
    background:#151113!important;
    box-shadow:26px 0 68px rgba(0,0,0,.58)!important;
  }

  html[data-theme="dark"] body.admin-mode .admin-ui-overlay {background:rgba(0,0,0,.76)!important}
}

@media (max-width:760px) {
  html[data-theme="dark"] body .drawer {background:linear-gradient(180deg,#181416,#0f0c0d)!important}
  html[data-theme="dark"] body :where(.message-conversation-panel,.message-thread-panel) {background:#131011!important}

  html[data-theme="dark"] body :where(.public-slot-grid,.scrim-control-grid,.tournament-detail-modern-grid) {
    min-width:0!important;
  }
}

@media (prefers-reduced-motion:reduce) {
  body *,body *::before,body *::after {
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}


.room-result-hub {
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;
  max-width:1180px;margin:18px auto;padding:20px;border:1px solid #eadde0;border-radius:24px;
  background:linear-gradient(135deg,#fff 0%,#fff8f9 100%);box-shadow:0 18px 45px rgba(75,17,27,.08)
}
.room-result-hub-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#c81022;color:#fff;box-shadow:0 12px 28px rgba(200,16,34,.24)}
.room-result-hub-copy{min-width:0}.room-result-hub-copy small{display:block;color:#b20e20;font-size:.72rem;font-weight:900;letter-spacing:.13em}.room-result-hub-copy strong{display:block;margin-top:3px;color:#1e181a;font-size:1.12rem}.room-result-hub-copy p{margin:5px 0 0;color:#73686c;font-size:.9rem;line-height:1.45}
.room-result-hub-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.room-result-hub-actions .btn{white-space:nowrap}
.room-result-hub.is-pending{border-style:dashed;background:linear-gradient(135deg,#fff,#faf7f8)}.room-result-hub.is-pending .room-result-hub-icon{background:#eee7e9;color:#8e7d82;box-shadow:none}
.room-result-pending-label{display:inline-flex;align-items:center;min-height:42px;padding:0 15px;border:1px solid #e4dade;border-radius:13px;background:#f5f0f2;color:#786b70;font-size:.82rem;font-weight:800}
.tournament-general-results,.tournament-results-public-section{max-width:1180px;margin-inline:auto}
.result-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}.result-section-heading h2{margin:4px 0 0;color:#1b1718;font-size:clamp(1.5rem,3vw,2.2rem)}.result-section-heading p{margin:6px 0 0;color:#766b6f}.result-live-source{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid #cce8d7;border-radius:999px;background:#effaf3;color:#247846;font-size:.78rem;font-weight:900}.result-live-source i{width:8px;height:8px;border-radius:50%;background:#32b76b;box-shadow:0 0 0 5px rgba(50,183,107,.13)}
.result-general-section{overflow:hidden;margin-bottom:18px;border:1px solid #e4d9dc;border-radius:24px;background:#fff;box-shadow:0 16px 40px rgba(54,17,25,.07)}
.result-general-section>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;border-bottom:1px solid #eee4e6;background:linear-gradient(135deg,#fff8f9,#fff)}.result-general-section>header small{display:block;color:#b31324;font-size:.69rem;font-weight:900;letter-spacing:.12em}.result-general-section>header strong{display:block;margin-top:3px;color:#20191b;font-size:1.08rem}.result-general-section>header>span{padding:7px 11px;border-radius:999px;background:#f4ecee;color:#6d5e63;font-size:.76rem;font-weight:800}
.result-general-table{width:100%}.result-general-row{display:grid;grid-template-columns:52px minmax(180px,1fr) repeat(3,minmax(68px,90px)) minmax(78px,100px);align-items:center;gap:10px;min-height:58px;padding:10px 18px;border-top:1px solid #f0e8ea;color:#63585c}.result-general-row:first-child{border-top:0}.result-general-row>strong{overflow:hidden;color:#211a1c;text-overflow:ellipsis;white-space:nowrap}.result-general-row>b{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#f4edef;color:#8d1a28}.result-general-row>span{text-align:center}.result-general-row>em{text-align:center;color:#b40e20;font-size:1.08rem;font-style:normal;font-weight:900}.result-general-head{min-height:42px;background:#faf6f7;color:#8a7d81;font-size:.69rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.result-general-head>span:nth-child(2){text-align:left}.result-general-row.is-podium{background:linear-gradient(90deg,rgba(200,16,34,.04),transparent)}.result-general-row.is-rank-1>b{background:#fae8b6;color:#755211}.result-general-row.is-rank-2>b{background:#e9edf1;color:#59636d}.result-general-row.is-rank-3>b{background:#f0dbce;color:#81533c}
.result-expiry-note{display:flex;align-items:flex-start;gap:11px;margin-top:14px;padding:13px 15px;border:1px solid #ead6af;border-radius:15px;background:#fff9eb;color:#765722}.result-expiry-note>svg{flex:0 0 auto;width:20px;height:20px}.result-expiry-note span{display:grid;gap:2px}.result-expiry-note strong{font-size:.86rem}.result-expiry-note small{color:#856e46;line-height:1.4}.result-expiry-note.public{max-width:780px;margin:0 0 16px}
html[data-theme="dark"] body .room-result-hub{border-color:#49383e;background:linear-gradient(135deg,#211a1d,#181416);box-shadow:0 20px 50px rgba(0,0,0,.28)}
html[data-theme="dark"] body .room-result-hub-copy strong{color:#f8f2f4}html[data-theme="dark"] body .room-result-hub-copy p{color:#b8aaaf}
html[data-theme="dark"] body .room-result-hub.is-pending{border-color:#51434a;background:#1a1618}html[data-theme="dark"] body .room-result-hub.is-pending .room-result-hub-icon{background:#30272b;color:#b9a9ae}
html[data-theme="dark"] body .room-result-pending-label{border-color:#4b3e43;background:#292226;color:#cbbdc1}
html[data-theme="dark"] body .result-section-heading h2{color:#f8f3f4}html[data-theme="dark"] body .result-section-heading p{color:#b7a9ae}
html[data-theme="dark"] body .result-live-source{border-color:#315f43;background:#17261d;color:#78dea0}
html[data-theme="dark"] body .result-general-section{border-color:#47383d;background:#1b1719;box-shadow:none}
html[data-theme="dark"] body .result-general-section>header{border-color:#47383d;background:linear-gradient(135deg,#251c20,#1c1719)}html[data-theme="dark"] body .result-general-section>header strong{color:#f7f1f3}html[data-theme="dark"] body .result-general-section>header>span{background:#32272b;color:#c9bbc0}
html[data-theme="dark"] body .result-general-row{border-color:#382e32;color:#c4b7bc}html[data-theme="dark"] body .result-general-row>strong{color:#f3edef}html[data-theme="dark"] body .result-general-row>b{background:#33272c;color:#ff8995}html[data-theme="dark"] body .result-general-row>em{color:#ff7785}html[data-theme="dark"] body .result-general-head{background:#221b1e;color:#a99ba0}html[data-theme="dark"] body .result-general-row.is-podium{background:linear-gradient(90deg,rgba(239,65,82,.08),transparent)}
html[data-theme="dark"] body .result-expiry-note{border-color:#63502c;background:#292318;color:#e7c979}html[data-theme="dark"] body .result-expiry-note small{color:#c7b07d}
@media(max-width:760px){
  .room-result-hub{grid-template-columns:auto minmax(0,1fr);margin:14px 16px;padding:16px;border-radius:19px}.room-result-hub-actions{grid-column:1/-1;justify-content:stretch}.room-result-hub-actions>*{flex:1}.room-result-hub-actions .btn{justify-content:center}.room-result-hub-icon{width:50px;height:50px;border-radius:15px}
  .result-section-heading{align-items:flex-start;flex-direction:column}.result-general-section{border-radius:18px}.result-general-section>header{padding:15px}.result-general-head{display:none}.result-general-row{grid-template-columns:38px minmax(0,1fr) repeat(3,48px);gap:5px;padding:12px;min-height:70px}.result-general-row>strong{grid-column:2/6;align-self:end}.result-general-row>b{grid-row:1/3}.result-general-row>span,.result-general-row>em{position:relative;padding-top:15px;font-size:.82rem}.result-general-row>span::before,.result-general-row>em::before{content:attr(data-label);position:absolute;inset:0 0 auto;color:#9b8d92;font-size:.52rem;font-style:normal;font-weight:800;text-transform:uppercase}.result-general-row>span:nth-of-type(1){grid-column:2}.result-general-row>span:nth-of-type(2){grid-column:3}.result-general-row>span:nth-of-type(3){grid-column:4}.result-general-row>em{grid-column:5}.result-general-row.is-podium>strong{font-size:.94rem}
}


.tournament-format-field .tournament-format-toolbar{margin:8px 0 9px;flex-wrap:wrap}
.tournament-format-editor{display:block;position:relative}
.tournament-format-editor textarea{width:100%;transition:border-color .18s ease,box-shadow .18s ease,color .18s ease;background:#fff;color:#342828}
.tournament-format-editor textarea.forum-text-default{color:#342828!important}
.tournament-format-editor textarea.forum-text-green{color:#7f0e10!important}
.tournament-format-editor textarea.forum-text-blue{color:#155f9f!important}
.tournament-format-editor textarea.forum-text-purple{color:#69369f!important}
.tournament-format-editor textarea.forum-text-gold{color:#9b6100!important}
.tournament-format-editor textarea.forum-text-teal{color:#087178!important}
.tournament-format-editor textarea.forum-text-red{color:#b7222f!important}
.tournament-format-editor textarea.is-bold{font-weight:850!important}
.tournament-format-editor textarea.is-italic{font-style:italic!important}
.tournament-formatted-text{white-space:normal;overflow-wrap:anywhere}
.tournament-formatted-text.forum-text-default{color:inherit!important}
.tournament-formatted-text.forum-text-green{color:#7f0e10!important}
.tournament-formatted-text.forum-text-blue{color:#155f9f!important}
.tournament-formatted-text.forum-text-purple{color:#69369f!important}
.tournament-formatted-text.forum-text-gold{color:#9b6100!important}
.tournament-formatted-text.forum-text-teal{color:#087178!important}
.tournament-formatted-text.forum-text-red{color:#b7222f!important}
.tournament-formatted-text.is-bold{font-weight:850!important}
.tournament-formatted-text.is-italic{font-style:italic!important}

.content-disclosure.tournament-management-rules{
  border:2px dashed #e5c878!important;
  background:linear-gradient(135deg,#fffaf0,#fffdf8)!important;
  box-shadow:inset 5px 0 0 #e5c878,0 12px 30px rgba(113,79,17,.08)!important;
}
.content-disclosure.tournament-management-rules>summary,.content-disclosure.tournament-management-rules>.content-disclosure-body{background:transparent!important}
.content-disclosure.tournament-management-rules>summary strong{color:#795500!important}
.content-disclosure.tournament-management-rules>summary small{color:#8a6b27!important}
.content-disclosure.tournament-management-rules>summary>span:first-child>svg{color:#b98515!important}

.scrim-result-noshow-panel{grid-column:1/-1}
.scrim-result-noshow-state{display:flex;align-items:center;gap:11px;padding:15px 16px;border:1px solid #eadfdf;border-radius:16px;background:#faf7f7;color:#66595b}
.scrim-result-noshow-state>svg{width:21px;height:21px;flex:0 0 auto;color:#8e787c}
.scrim-result-noshow-state>span{display:grid;gap:2px}
.scrim-result-noshow-state strong{color:#302224}
.scrim-result-noshow-state small{color:#887a7d;line-height:1.4}
.scrim-result-noshow-state.is-warning{border-color:#ead09a;background:#fff8e7}.scrim-result-noshow-state.is-warning>svg,.scrim-result-noshow-state.is-warning strong{color:#916313}
.scrim-result-noshow-state.is-success{border-color:#dfb9ba;background:#fcf2f2}.scrim-result-noshow-state.is-success>svg,.scrim-result-noshow-state.is-success strong{color:#8d1012}
.scrim-result-noshow-list{display:grid;gap:10px}
.scrim-result-noshow-list>article{display:grid;grid-template-columns:minmax(240px,1fr) auto;align-items:center;gap:14px;padding:14px;border:1px solid #eadfdf;border-radius:17px;background:linear-gradient(135deg,#fff,#fcf8f8)}
.scrim-result-noshow-team{display:flex;align-items:center;gap:11px;min-width:0}
.scrim-result-noshow-team>span{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;border-radius:12px;background:#f5e8e8;color:#981014}
.scrim-result-noshow-team>span svg{width:19px;height:19px}
.scrim-result-noshow-team>div{min-width:0}.scrim-result-noshow-team strong,.scrim-result-noshow-team small{display:block}
.scrim-result-noshow-team strong{overflow:hidden;color:#2a1d1f;text-overflow:ellipsis;white-space:nowrap}
.scrim-result-noshow-team small{margin-top:2px;color:#887a7d;font-size:11px;line-height:1.4}
.scrim-result-noshow-penalty-form{display:grid;grid-template-columns:minmax(110px,auto) minmax(145px,auto) auto;align-items:center;gap:8px}
.scrim-result-noshow-penalty-form select{min-height:40px;padding:0 10px;border:1px solid #dfd1d3;border-radius:11px;background:#fff;color:#4e3c3f;font-size:12px;font-weight:750}
.scrim-result-noshow-penalty-form .btn{min-height:40px;white-space:nowrap}
.scrim-result-noshow-penalty-active{display:grid;gap:2px;justify-items:end;padding:8px 11px;border:1px solid #e4b9ba;border-radius:12px;background:#fbefef}
.scrim-result-noshow-penalty-active strong{color:#931013;font-size:11px}.scrim-result-noshow-penalty-active small{color:#8a6c6e;font-size:10px}

html[data-theme="dark"] .tournament-format-editor textarea{border-color:#4b3d41!important;background:#1b1618!important;color:#f5eff0!important}
html[data-theme="dark"] .tournament-format-editor textarea.forum-text-default{color:#f5eff0!important}
html[data-theme="dark"] .tournament-format-editor textarea.forum-text-green{color:#ff959c!important}
html[data-theme="dark"] .tournament-format-editor textarea.forum-text-blue{color:#7fc3ff!important}
html[data-theme="dark"] .tournament-format-editor textarea.forum-text-purple{color:#c7a0ff!important}
html[data-theme="dark"] .tournament-format-editor textarea.forum-text-gold{color:#f1cc72!important}
html[data-theme="dark"] .tournament-format-editor textarea.forum-text-teal{color:#72d7db!important}
html[data-theme="dark"] .tournament-format-editor textarea.forum-text-red{color:#ff929a!important}
html[data-theme="dark"] .tournament-formatted-text.forum-text-green{color:#ff959c!important}
html[data-theme="dark"] .tournament-formatted-text.forum-text-blue{color:#7fc3ff!important}
html[data-theme="dark"] .tournament-formatted-text.forum-text-purple{color:#c7a0ff!important}
html[data-theme="dark"] .tournament-formatted-text.forum-text-gold{color:#f1cc72!important}
html[data-theme="dark"] .tournament-formatted-text.forum-text-teal{color:#72d7db!important}
html[data-theme="dark"] .tournament-formatted-text.forum-text-red{color:#ff929a!important}
html[data-theme="dark"] .content-disclosure.tournament-management-rules{
  border:2px dashed #d5a74e!important;
  background:linear-gradient(135deg,#342912,#211c14)!important;
  box-shadow:inset 5px 0 0 #d5a74e,0 10px 28px rgba(0,0,0,.28)!important;
}
html[data-theme="dark"] .content-disclosure.tournament-management-rules>summary,html[data-theme="dark"] .content-disclosure.tournament-management-rules>.content-disclosure-body{background:transparent!important}
html[data-theme="dark"] .content-disclosure.tournament-management-rules>summary strong{color:#f1cf75!important;-webkit-text-fill-color:currentColor!important}
html[data-theme="dark"] .content-disclosure.tournament-management-rules>summary small{color:#e4cf99!important}
html[data-theme="dark"] .content-disclosure.tournament-management-rules>summary>span:first-child>svg{color:#e0b651!important}
html[data-theme="dark"] .scrim-result-noshow-state{border-color:#493a3e;background:#1d181a;color:#c4b7ba}
html[data-theme="dark"] .scrim-result-noshow-state strong{color:#f3edef}html[data-theme="dark"] .scrim-result-noshow-state small{color:#b5a6aa}
html[data-theme="dark"] .scrim-result-noshow-state.is-warning{border-color:#64522e;background:#292318}html[data-theme="dark"] .scrim-result-noshow-state.is-warning>svg,html[data-theme="dark"] .scrim-result-noshow-state.is-warning strong{color:#e4c16d}
html[data-theme="dark"] .scrim-result-noshow-state.is-success{border-color:#65353a;background:#27191c}html[data-theme="dark"] .scrim-result-noshow-state.is-success>svg,html[data-theme="dark"] .scrim-result-noshow-state.is-success strong{color:#ff8b94}
html[data-theme="dark"] .scrim-result-noshow-list>article{border-color:#493a3e;background:linear-gradient(135deg,#201a1c,#191517)}
html[data-theme="dark"] .scrim-result-noshow-team>span{background:#351f23;color:#ff8993}html[data-theme="dark"] .scrim-result-noshow-team strong{color:#f4eef0}html[data-theme="dark"] .scrim-result-noshow-team small{color:#b4a5a9}
html[data-theme="dark"] .scrim-result-noshow-penalty-form select{border-color:#4c3d41;background:#231d1f;color:#f0e8eb}
html[data-theme="dark"] .scrim-result-noshow-penalty-active{border-color:#66363b;background:#2a1b1e}html[data-theme="dark"] .scrim-result-noshow-penalty-active strong{color:#ff929a}html[data-theme="dark"] .scrim-result-noshow-penalty-active small{color:#c6aaae}

@media(max-width:800px){
  .scrim-result-noshow-list>article{grid-template-columns:1fr;align-items:stretch}
  .scrim-result-noshow-penalty-form{grid-template-columns:1fr 1fr}.scrim-result-noshow-penalty-form .btn{grid-column:1/-1;width:100%}
  .scrim-result-noshow-penalty-active{justify-items:start}
}
@media(max-width:520px){
  .tournament-format-field .tournament-format-toolbar{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}
  .tournament-format-field .announcement-format-dot,.tournament-format-field .announcement-format-text{flex:0 0 auto}
  .scrim-result-noshow-penalty-form{grid-template-columns:1fr}.scrim-result-noshow-penalty-form .btn{grid-column:auto}
}
.scrim-result-noshow-coverage-note{display:flex;align-items:flex-start;gap:9px;margin-top:10px;padding:11px 13px;border:1px solid #ead09a;border-radius:13px;background:#fff8e7;color:#7e6227}.scrim-result-noshow-coverage-note>svg{width:17px;height:17px;flex:0 0 auto}.scrim-result-noshow-coverage-note>span{display:grid;gap:2px}.scrim-result-noshow-coverage-note strong{font-size:11px}.scrim-result-noshow-coverage-note small{font-size:10px;line-height:1.4}html[data-theme="dark"] .scrim-result-noshow-coverage-note{border-color:#64522e;background:#292318;color:#ddc17b}
