      :root {
        --bg: #030409;
        --ink: #f4f7ff;
        --muted: #98a6c9;
        --panel: #080b18;
        --line: rgba(47, 99, 230, 0.26);
        --accent: #2f63e6;
        --accent-dark: #c72b73;
        --warn: #ff4d98;
      }

      * {
        box-sizing: border-box;
      }

      [hidden] {
        display: none !important;
      }

      body {
        margin: 0;
        min-height: 100vh;
        background:
          linear-gradient(135deg, rgba(22, 116, 95, 0.14), transparent 34%),
          radial-gradient(circle at 80% 8%, rgba(204, 116, 49, 0.16), transparent 30%),
          var(--bg);
        color: var(--ink);
        font-family: Georgia, "Times New Roman", serif;
      }

      main {
        width: min(1120px, calc(100vw - 32px));
        margin: 0 auto;
        padding: 42px 0 64px;
      }

      h1 {
        margin: 0 0 10px;
        max-width: 780px;
        font-size: clamp(2.1rem, 5vw, 4.3rem);
        line-height: 0.96;
        font-weight: 700;
      }

      .app-header {
        position: relative;
        display: grid;
        gap: 18px;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
      }

      .brand-lockup {
        position: relative;
        display: grid;
        justify-items: center;
        width: 100%;
      }

      .home-link {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        margin: 0 0 8px;
        padding: 10px 14px;
        border-radius: 12px;
        font-family: "Segoe UI", sans-serif;
        font-size: 0.95rem;
        font-weight: 700;
        text-decoration: none;
      }

      .brand-logo {
        display: block;
        width: min(330px, 55vw);
        max-height: 350px;
        object-fit: contain;
      }

      .dartfieber-logo-link {
        position: absolute;
        left: 50%;
        bottom: 0;
        width: min(230px, 54vw);
        height: clamp(42px, 12vw, 64px);
        transform: translateX(-50%);
        border-radius: 0 0 999px 999px;
        cursor: pointer;
      }

      .dartfieber-logo-link:focus-visible {
        outline: 2px solid var(--udc-pink-bright, #ef3f91);
        outline-offset: 4px;
      }

      .lead {
        max-width: 720px;
        margin: 0 0 30px;
        color: var(--muted);
        font-family: "Segoe UI", sans-serif;
        font-size: 1.05rem;
        line-height: 1.55;
      }

      .session-actions {
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: flex-end;
        min-width: 220px;
        padding-top: 4px;
        font-family: "Segoe UI", sans-serif;
      }

      .session-actions[hidden] {
        display: none;
      }

      .session-pill {
        max-width: 240px;
        overflow: hidden;
        color: var(--muted);
        font-size: 0.92rem;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .session-actions button {
        width: auto;
        margin: 0;
        padding: 10px 14px;
      }

      .auth-actions {
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: flex-end;
        min-width: 220px;
        padding-top: 4px;
        font-family: "Segoe UI", sans-serif;
      }

      .auth-actions[hidden] {
        display: none;
      }

      .auth-actions button {
        width: auto;
        margin: 0;
        padding: 10px 14px;
      }

      .auth-dialog {
        width: min(94vw, 760px);
        border: 0;
        border-radius: 8px;
        padding: 0;
        background: transparent;
        color: var(--ink);
      }

      .auth-dialog::backdrop {
        background: rgba(23, 33, 28, 0.42);
      }

      .auth-dialog-frame {
        position: relative;
        background: rgba(255, 253, 248, 0.98);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: 0 28px 72px rgba(23, 33, 28, 0.28);
      }

      .auth-close {
        position: absolute;
        inset: 12px 12px auto auto;
        display: grid;
        place-items: center;
        width: 32px;
        height: 32px;
        margin: 0;
        border-radius: 50%;
        padding: 0;
        background: rgba(23, 33, 28, 0.9);
        color: white;
        font: 700 1rem/1 "Segoe UI", sans-serif;
      }

      .app-nav {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin: 0 0 22px;
        font-family: "Segoe UI", sans-serif;
      }

      .nav-button {
        width: auto;
        margin: 0;
        border: 1px solid var(--line);
        padding: 10px 14px;
        background: rgba(255, 253, 248, 0.78);
        color: var(--accent-dark);
      }

      .nav-button.active {
        border-color: var(--accent);
        background: var(--accent);
        color: white;
      }

      .view[hidden] {
        display: none;
      }

      .league-dashboard {
        display: grid;
        gap: 20px;
        grid-template-columns: minmax(280px, 420px) 1fr;
        align-items: start;
      }

      .league-panel {
        padding: 22px;
        font-family: "Segoe UI", sans-serif;
      }

      .league-panel h2,
      .league-panel h3 {
        margin: 0 0 12px;
        font-family: Georgia, "Times New Roman", serif;
      }

      .league-panel p {
        color: var(--muted);
        line-height: 1.45;
      }

      .auth-grid {
        display: grid;
        gap: 14px;
      }

      .auth-form {
        display: grid;
        gap: 10px;
        padding: 0;
      }

      .auth-form + .auth-form {
        margin-top: 0;
      }

      .auth-form[hidden] {
        display: none;
      }

      .auth-form label {
        display: grid;
        gap: 5px;
        color: var(--accent-dark);
        font-weight: 700;
      }

      .auth-form input,
      .auth-form select,
      .auth-form textarea {
        width: 100%;
        border: 1px solid var(--line);
        border-radius: 6px;
        padding: 10px 12px;
        background: #fffdf8;
        color: var(--ink);
        font: 1rem "Segoe UI", sans-serif;
      }

      .auth-form textarea {
        min-height: 74px;
        resize: vertical;
      }

      .profile-email-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        align-items: end;
      }

      .profile-email-row button {
        width: auto;
        margin: 0;
        white-space: nowrap;
      }

      .profile-actions {
        justify-content: flex-start;
        gap: 10px;
      }

      .compact-list {
        margin-top: 10px;
      }

      .account-message-actions {
        display: flex;
        justify-content: flex-start;
        margin-top: 10px;
      }

      .account-message-actions button {
        width: auto;
        margin: 0;
        padding-inline: 14px;
      }

      .admin-user-header {
        display: flex;
        gap: 14px;
        justify-content: space-between;
        align-items: flex-start;
      }

      .admin-user-item {
        display: grid;
        gap: 12px;
      }

      .admin-user-rename-form {
        margin-top: 14px;
      }

      .admin-user-action-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        align-items: end;
      }

      .admin-user-rename-form textarea,
      .admin-account-message-controls textarea {
        min-height: 76px;
        resize: vertical;
      }

      .admin-account-message-controls {
        display: grid;
        gap: 10px;
        margin-top: 4px;
      }

      .admin-account-message-controls label {
        color: var(--accent-dark);
        font-weight: 700;
      }

      .admin-account-message-controls textarea {
        width: 100%;
        border: 1px solid var(--line);
        border-radius: 6px;
        padding: 10px 12px;
        background: #fffdf8;
        color: var(--ink);
        font: 1rem "Segoe UI", sans-serif;
      }

      .admin-message-action-row {
        align-items: stretch;
      }

      .admin-message-action-row button {
        align-self: start;
      }

      .admin-user-actions {
        display: flex;
        gap: 10px;
        justify-content: flex-start;
      }

      .admin-user-action-row button,
      .admin-user-actions button,
      .role-actions button {
        width: auto;
        min-width: 190px;
        margin: 0;
        padding-inline: 18px;
      }

      .account-dialog {
        width: min(94vw, 560px);
      }

      .account-dialog-frame {
        padding: 24px;
      }

      .account-dialog-frame h2 {
        margin-top: 0;
      }

      .password-strength {
        display: grid;
        gap: 6px;
        margin-top: -2px;
      }

      .password-strength-track {
        height: 7px;
        overflow: hidden;
        border-radius: 999px;
        background: rgba(47, 99, 230, 0.16);
      }

      .password-strength-track span {
        display: block;
        width: 0;
        height: 100%;
        border-radius: inherit;
        background: #b93d5d;
        transition: width 160ms ease, background 160ms ease;
      }

      .password-strength[data-strength="1"] .password-strength-track span,
      .password-strength[data-strength="2"] .password-strength-track span {
        width: 35%;
        background: #b93d5d;
      }

      .password-strength[data-strength="3"] .password-strength-track span,
      .password-strength[data-strength="4"] .password-strength-track span {
        width: 72%;
        background: #cc7431;
      }

      .password-strength[data-strength="5"] .password-strength-track span {
        width: 100%;
        background: #2f8f6b;
      }

      .secondary-button {
        background: #31584f;
      }

      .ghost-button {
        border: 1px solid var(--line);
        background: #fffdf8;
        color: var(--accent-dark);
      }

      .dev-reset-button {
        display: inline-grid;
        position: relative;
        width: 38px;
        min-width: 38px;
        height: 38px;
        place-items: center;
        border: 1px solid rgba(168, 66, 40, 0.42);
        border-radius: 999px;
        background: #fff7f3;
        color: var(--warn);
      }

      .dev-reset-button::before {
        content: "";
        width: 15px;
        height: 15px;
        border: 2px solid currentColor;
        border-right-color: transparent;
        border-radius: 50%;
      }

      .dev-reset-button::after {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
        border-left: 6px solid currentColor;
        transform: translate(4px, -8px) rotate(-28deg);
      }

      .dev-reset-button:hover {
        border-color: rgba(168, 66, 40, 0.72);
        background: #ffe9df;
      }

      .league-status-list {
        display: grid;
        gap: 10px;
        margin-top: 16px;
      }

      .league-item {
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 12px;
        background: #fbf8f1;
      }

      details.league-item > summary,
      details.submission-review > summary {
        display: flex;
        gap: 10px;
        align-items: center;
        list-style: none;
        cursor: pointer;
      }

      details.league-item > summary::-webkit-details-marker,
      details.submission-review > summary::-webkit-details-marker {
        display: none;
      }

      details.league-item > summary::before,
      details.submission-review > summary::before {
        content: "";
        display: block;
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
        border: 1px solid currentColor;
        border-radius: 50%;
        color: var(--accent);
        background:
          linear-gradient(currentColor 0 0) center / 10px 2px no-repeat,
          linear-gradient(currentColor 0 0) center / 2px 10px no-repeat;
      }

      details.league-item[open] > summary::before,
      details.submission-review[open] > summary::before {
        background: linear-gradient(currentColor 0 0) center / 10px 2px no-repeat;
      }

      .admin-player-tools {
        display: grid;
        gap: 10px;
        grid-template-columns: minmax(240px, 1fr) minmax(170px, 240px);
        margin-bottom: 14px;
        font-family: "Segoe UI", sans-serif;
      }

      .application-filter-tools {
        grid-template-columns: minmax(180px, 260px);
        justify-content: start;
      }

      .admin-player-tools label {
        display: grid;
        gap: 6px;
        color: var(--accent-dark);
        font-weight: 700;
      }

      .admin-player-tools input,
      .admin-player-tools select {
        width: 100%;
        border: 1px solid var(--line);
        border-radius: 6px;
        padding: 10px 12px;
        background: #fffdf8;
        color: var(--ink);
        font: 1rem "Segoe UI", sans-serif;
      }

      .admin-player-tools select option {
        color: var(--ink);
      }

      .admin-player-item summary {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        justify-content: normal;
        align-items: center;
      }

      .admin-player-item summary strong {
        min-width: 0;
        text-align: left;
      }

      .admin-player-card {
        display: grid;
        gap: 14px;
      }

      .admin-player-card h3 {
        margin-bottom: 0;
      }

      .admin-player-item {
        padding: 12px 14px;
      }

      .admin-player-details {
        display: grid;
        gap: 12px;
        padding-top: 12px;
      }

      .admin-player-meta {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        margin: 0;
      }

      .admin-player-meta div {
        min-width: 0;
        border: 1px solid rgba(126, 247, 231, 0.16);
        border-radius: 6px;
        padding: 9px 10px;
        background: rgba(5, 11, 22, 0.72);
      }

      .admin-player-meta dt {
        margin: 0 0 4px;
        color: #ff4d98;
        font: 700 0.72rem/1.2 "Segoe UI", sans-serif;
        text-transform: uppercase;
      }

      .admin-player-meta dd {
        margin: 0;
        color: #eef6ff;
        overflow-wrap: anywhere;
      }

      .admin-player-chip-row {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
      }

      .assignment-badge,
      .division-chip,
      .season-chip {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        margin: 0;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 4px 9px;
        font: 700 0.78rem/1 "Segoe UI", sans-serif;
      }

      .assignment-badge.assigned {
        border-color: rgba(0, 230, 208, 0.42);
        color: var(--accent);
        background: rgba(0, 230, 208, 0.08);
      }

      .assignment-badge.unassigned {
        border-color: rgba(255, 199, 44, 0.48);
        color: #ffc72c;
        background: rgba(255, 199, 44, 0.08);
      }

      .division-chip.muted {
        color: var(--muted);
      }

      .season-chip.active {
        border-color: rgba(0, 230, 208, 0.42);
        color: var(--accent);
        background: rgba(0, 230, 208, 0.08);
      }

      .season-chip.paused {
        border-color: rgba(255, 119, 92, 0.48);
        color: #ffb5a5;
        background: rgba(255, 119, 92, 0.08);
      }

      .season-chip.muted {
        color: var(--muted);
      }

      .role-actions {
        display: flex;
        justify-content: flex-end;
        margin: 0;
      }

      .league-item strong {
        display: block;
        margin-bottom: 4px;
        color: var(--accent-dark);
      }

      .application-actions {
        display: grid;
        gap: 8px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 12px;
      }

      .proposal-actions {
        grid-template-columns: minmax(0, 1fr);
      }

      .application-actions button {
        margin-top: 0;
        padding: 10px 8px;
        font-size: 0.9rem;
      }

      .admin-tabs {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin: 18px 0 20px;
      }

      .admin-tab {
        width: auto;
        margin: 0;
        border: 1px solid var(--line);
        padding: 10px 14px;
        background: #fffdf8;
        color: var(--accent-dark);
      }

      .admin-tab.active {
        border-color: var(--accent);
        background: var(--accent);
        color: white;
      }

      .admin-section[hidden] {
        display: none;
      }

      .admin-grid {
        display: grid;
        gap: 16px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
      }

      .admin-card {
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 16px;
        background: #fbf8f1;
      }

      .admin-card h3 {
        margin-top: 0;
      }

      .admin-wide-card {
        margin-top: 16px;
      }

      .admin-edit-form {
        display: grid;
        gap: 10px;
        grid-template-columns: minmax(180px, 1fr) minmax(160px, 220px) auto auto;
        align-items: end;
      }

      .admin-division-edit-form {
        grid-template-columns: minmax(180px, 1fr) minmax(160px, 220px) auto auto;
      }

      .admin-edit-form label {
        display: grid;
        gap: 5px;
        color: var(--accent-dark);
        font-weight: 700;
      }

      .admin-edit-form button {
        margin-top: 0;
      }

      .admin-edit-form input,
      .admin-edit-form select {
        width: 100%;
        border: 1px solid var(--line);
        border-radius: 6px;
        padding: 10px 12px;
        background: #fffdf8;
        color: var(--ink);
        font: 1rem "Segoe UI", sans-serif;
      }

      .scoring-settings-grid {
        display: grid;
        grid-template-columns: repeat(5, minmax(96px, 1fr));
        gap: 10px;
        grid-column: 1 / -1;
      }

      .scoring-settings-grid label {
        min-width: 0;
      }

      .scoring-settings-grid input {
        min-width: 0;
      }

      .danger-button {
        border-color: rgba(255, 119, 92, 0.42);
        color: #ffd4ca;
      }

      .proposal-response {
        display: grid;
        gap: 10px;
        margin-top: 12px;
        font-family: "Segoe UI", sans-serif;
      }

      .proposal-response label {
        display: block;
        color: var(--accent-dark);
        font-weight: 700;
      }

      .proposal-response input,
      .proposal-response textarea {
        width: 100%;
        border: 1px solid var(--line);
        border-radius: 6px;
        padding: 10px 12px;
        background: #fffdf8;
        color: var(--ink);
        font: 1rem "Segoe UI", sans-serif;
      }

      .proposal-response textarea {
        min-height: 43px;
        resize: vertical;
      }

      .proposal-counter-controls {
        display: grid;
        gap: 10px;
        grid-template-columns: minmax(150px, 180px) 118px minmax(0, 1fr) auto;
        align-items: center;
      }

      .proposal-counter-controls button {
        width: auto;
        min-width: 170px;
        margin-top: 0;
        white-space: nowrap;
      }

      .fixture-toolbar {
        display: flex;
        justify-content: flex-end;
        margin: 12px 0 0;
      }

      .fixture-toolbar button {
        width: auto;
        margin: 0;
        padding: 10px 14px;
      }

      .fixture-top-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        margin: 12px 0 0;
      }

      .fixture-top-actions strong {
        margin-right: auto;
      }

      .fixture-top-actions button {
        width: auto;
        margin: 0;
        padding: 10px 14px;
      }

      .ocr-dialog {
        width: min(94vw, 900px);
        border: 0;
        border-radius: 8px;
        padding: 0;
        background: transparent;
        color: var(--ink);
      }

      .ocr-dialog::backdrop {
        background: rgba(23, 33, 28, 0.48);
      }

      .ocr-dialog-frame {
        position: relative;
        background: rgba(255, 253, 248, 0.98);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: 0 28px 72px rgba(23, 33, 28, 0.32);
      }

      label.ocr-dropzone {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 120px;
        padding: 10px 14px;
      }

      .ocr-dropzone .drop-title {
        margin-bottom: 2px;
        font-size: 1rem;
      }

      .ocr-progress {
        display: grid;
        gap: 10px;
        margin-top: 14px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fbf8f1;
        font-family: "Segoe UI", sans-serif;
      }

      .ocr-progress[hidden] {
        display: none;
      }

      .ocr-progress-header {
        display: flex;
        gap: 12px;
        align-items: center;
      }

      .ocr-progress-header .loading-orbit {
        width: 34px;
        height: 34px;
        margin: 0;
      }

      .ocr-progress-header .loading-orbit::after {
        inset: 5px;
      }

      .ocr-progress.done .loading-orbit {
        animation: none;
        background: var(--accent);
      }

      .ocr-progress.done .loading-orbit::before {
        content: "";
        position: absolute;
        inset: 9px 7px 11px 11px;
        border: solid #fffdf8;
        border-width: 0 3px 3px 0;
        transform: rotate(45deg);
        z-index: 1;
      }

      .ocr-progress-track {
        height: 10px;
        border-radius: 999px;
        background: #e7dfd2;
        overflow: hidden;
      }

      .ocr-progress-fill {
        width: 0%;
        height: 100%;
        border-radius: inherit;
        background: var(--accent);
        transition: width 0.25s ease;
      }

      .ocr-result {
        margin-top: 18px;
      }

      .tool {
        display: grid;
        gap: 20px;
        grid-template-columns: minmax(280px, 380px) 1fr;
        align-items: start;
      }

      .panel {
        background: rgba(255, 253, 248, 0.92);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: 0 20px 48px rgba(23, 33, 28, 0.09);
      }

      form {
        padding: 22px;
      }

      label.dropzone {
        display: grid;
        place-items: center;
        min-height: 130px;
        border: 2px dashed #a9a091;
        border-radius: 8px;
        padding: 22px;
        text-align: center;
        cursor: pointer;
        background: #fbf7ee;
        font-family: "Segoe UI", sans-serif;
      }

      input[type="file"] {
        position: absolute;
        inline-size: 1px;
        block-size: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
      }

      .drop-title {
        display: block;
        margin-bottom: 8px;
        font-size: 1.1rem;
        font-weight: 700;
      }

      .drop-copy,
      .status {
        color: var(--muted);
        font-family: "Segoe UI", sans-serif;
        line-height: 1.45;
      }

      button {
        width: 100%;
        margin-top: 18px;
        border: 0;
        border-radius: 6px;
        padding: 14px 18px;
        background: var(--accent);
        color: white;
        font: 700 1rem "Segoe UI", sans-serif;
        cursor: pointer;
      }

      button:disabled {
        cursor: wait;
        background: #78948b;
      }

      .status {
        min-height: 24px;
        margin-top: 14px;
      }

      .field-row {
        margin-top: 14px;
        font-family: "Segoe UI", sans-serif;
      }

      .field-row label {
        display: block;
        margin-bottom: 6px;
        color: var(--accent-dark);
        font-weight: 700;
      }

      .field-row input:not([type="file"]),
      .field-row select,
      .field-row textarea {
        width: 100%;
        border: 1px solid var(--line);
        border-radius: 6px;
        padding: 10px 12px;
        background: #fffdf8;
        color: var(--ink);
        font: 1rem "Segoe UI", sans-serif;
      }

      .field-row textarea {
        min-height: 43px;
        overflow: hidden;
        resize: vertical;
      }

      textarea[data-message-input] {
        height: 43px;
        resize: none;
      }

      .field-row button {
        margin-top: 10px;
      }

      .fixture-message-controls,
      .fixture-schedule-controls {
        display: grid;
        gap: 10px;
      }

      .fixture-message-controls {
        grid-template-columns: 150px minmax(0, 1fr) auto;
        align-items: start;
      }

      .fixture-message-controls button,
      .fixture-schedule-controls button {
        width: auto;
        min-width: 170px;
        margin-top: 0;
        white-space: nowrap;
      }

      .fixture-schedule-controls {
        grid-template-columns: 150px 118px minmax(220px, 1fr) auto;
        align-items: center;
      }

      .field-hint {
        display: block;
        margin-top: 5px;
        color: var(--muted);
        font-size: 0.86rem;
        line-height: 1.35;
      }

      .file-preview-list {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
        margin-top: 14px;
      }

      .file-preview {
        position: relative;
        min-width: 0;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fffaf0;
        overflow: hidden;
      }

      .preview-open {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: inherit;
        cursor: zoom-in;
        font: inherit;
        text-align: left;
      }

      .file-preview img {
        display: block;
        width: 100%;
        aspect-ratio: 4 / 5;
        object-fit: cover;
        background: #eee8dc;
      }

      .file-name {
        display: block;
        padding: 7px 8px 8px;
        overflow: hidden;
        color: var(--muted);
        font: 0.78rem/1.25 "Segoe UI", sans-serif;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .submission-review {
        display: grid;
        gap: 12px;
        margin: 16px 0;
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 14px;
        background: rgba(255, 253, 248, 0.72);
        font-family: "Segoe UI", sans-serif;
      }

      .submission-review p {
        margin: 0;
      }

      .submission-mapping {
        color: var(--muted);
        font-size: 0.92rem;
      }

      .submission-screenshots {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
      }

      .submission-screenshot {
        display: block;
        width: 100%;
        margin: 0;
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 0;
        overflow: hidden;
        background: #fffaf0;
        cursor: zoom-in;
      }

      .submission-screenshot img {
        display: block;
        width: 100%;
        aspect-ratio: 4 / 5;
        object-fit: cover;
      }

      .icon-button {
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 7px 10px;
        white-space: nowrap;
      }

      .table-action-button {
        width: auto;
        min-width: 0;
        margin: 0;
        border: 1px solid rgba(0, 230, 208, 0.42);
        border-radius: 999px;
        padding: 6px 11px;
        background: rgba(0, 230, 208, 0.08);
        color: var(--accent);
        font: 700 0.78rem/1 "Segoe UI", sans-serif;
        white-space: nowrap;
      }

      .dispute-status {
        position: relative;
        display: inline-flex;
        align-items: center;
        width: fit-content;
        border: 1px solid rgba(239, 63, 145, 0.5);
        border-radius: 999px;
        padding: 5px 10px;
        background: rgba(199, 43, 115, 0.12);
        color: #ff9bc7;
        font: 800 0.78rem/1 "Segoe UI", sans-serif;
      }

      .dispute-tooltip {
        position: absolute;
        left: 0;
        bottom: calc(100% + 8px);
        z-index: 20;
        display: none;
        width: min(320px, 72vw);
        border: 1px solid rgba(239, 63, 145, 0.48);
        border-radius: 8px;
        padding: 10px 12px;
        background: rgba(5, 7, 18, 0.98);
        color: #f5f7ff;
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
        font: 0.86rem/1.4 "Segoe UI", sans-serif;
        white-space: normal;
      }

      .dispute-status:hover .dispute-tooltip,
      .dispute-status:focus-visible .dispute-tooltip {
        display: block;
      }

      .dispute-reason {
        border: 1px solid rgba(239, 63, 145, 0.34);
        border-radius: 8px;
        padding: 10px 12px;
        background: rgba(199, 43, 115, 0.1);
      }

      .bare-icon-button {
        appearance: none;
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 2px 4px;
        border: 0;
        background: transparent;
        color: inherit;
        font: inherit;
        line-height: 1;
        cursor: pointer;
      }

      .bare-icon-button:hover,
      .bare-icon-button:focus-visible {
        color: var(--accent);
        outline: none;
      }

      .table-icon-button,
      .table-icon-button:hover,
      .table-icon-button:focus-visible {
        width: auto;
        min-width: 0;
        margin: 0;
        border: 0;
        border-radius: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
      }

      .result-dialog {
        width: min(94vw, 1080px);
      }

      .result-dialog-frame {
        max-height: 88vh;
        overflow: auto;
        padding: 22px;
      }

      .result-dialog-frame h2 {
        margin-top: 0;
      }

      .mail-preview-frame {
        width: 100%;
        min-height: 68vh;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #020308;
      }

      .remove-file,
      .modal-close {
        width: auto;
        margin: 0;
        border: 0;
        border-radius: 999px;
        padding: 0;
        background: rgba(23, 33, 28, 0.9);
        color: white;
        font: 700 1rem/1 "Segoe UI", sans-serif;
        cursor: pointer;
      }

      .remove-file {
        position: absolute;
        inset: 6px auto auto 6px;
        display: grid;
        place-items: center;
        width: 26px;
        height: 26px;
        box-shadow: 0 2px 10px rgba(23, 33, 28, 0.24);
      }

      .preview-dialog {
        width: min(92vw, 860px);
        max-height: 90vh;
        border: 0;
        border-radius: 8px;
        padding: 0;
        background: #fffdf8;
        color: var(--ink);
        box-shadow: 0 28px 72px rgba(23, 33, 28, 0.38);
      }

      .preview-dialog::backdrop {
        background: rgba(23, 33, 28, 0.54);
      }

      .modal-frame {
        position: relative;
        padding: 44px 16px 16px;
      }

      .modal-close {
        position: absolute;
        inset: 10px 10px auto auto;
        width: 30px;
        height: 30px;
      }

      .modal-image {
        display: block;
        width: 100%;
        max-height: 72vh;
        object-fit: contain;
        border-radius: 6px;
        background: #eee8dc;
      }

      .modal-title {
        margin: 10px 4px 0;
        color: var(--muted);
        font: 0.92rem "Segoe UI", sans-serif;
        overflow-wrap: anywhere;
      }

      .log-button {
        position: fixed;
        right: 18px;
        bottom: 18px;
        z-index: 10;
        display: grid;
        place-items: center;
        width: 52px;
        height: 52px;
        margin: 0;
        border: 1px solid rgba(255, 253, 248, 0.35);
        border-radius: 50%;
        padding: 0;
        background: var(--accent-dark);
        color: #fffdf8;
        box-shadow: 0 14px 36px rgba(23, 33, 28, 0.28);
        font: 700 1.55rem Georgia, "Times New Roman", serif;
      }

      .log-dialog {
        width: min(94vw, 960px);
        max-height: 86vh;
      }

      .log-frame {
        padding: 18px;
      }

      .log-header {
        display: flex;
        gap: 12px;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
      }

      .log-header h2 {
        margin: 0;
      }

      .log-status {
        color: var(--muted);
        font: 0.86rem "Segoe UI", sans-serif;
      }

      .log-output {
        min-height: 360px;
        max-height: 62vh;
        margin: 0;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
        font-size: 0.84rem;
      }

      .error {
        color: var(--warn);
      }

      .results {
        padding: 22px;
        min-height: 380px;
      }

      .section-title {
        margin: 30px 0 12px;
        font: 700 1.05rem "Segoe UI", sans-serif;
        color: var(--accent-dark);
        text-transform: uppercase;
        letter-spacing: 0.08em;
      }

      .placeholder {
        color: var(--muted);
        font-family: "Segoe UI", sans-serif;
      }

      .loading-panel {
        display: grid;
        place-items: center;
        min-height: 300px;
        text-align: center;
        font-family: "Segoe UI", sans-serif;
      }

      .loading-orbit {
        position: relative;
        width: 72px;
        height: 72px;
        margin: 0 auto 18px;
        border-radius: 50%;
        background: conic-gradient(from 0deg, var(--accent), rgba(22, 116, 95, 0.12), #cc7431, var(--accent));
        animation: spin 0.9s linear infinite;
        will-change: transform;
      }

      .loading-orbit::after {
        content: "";
        position: absolute;
        inset: 9px;
        border-radius: 50%;
        background: var(--panel);
      }

      .loading-title {
        margin: 0 0 7px;
        color: var(--accent-dark);
        font-weight: 700;
      }

      .loading-copy {
        max-width: 360px;
        margin: 0 auto;
        color: var(--muted);
        line-height: 1.45;
      }

      @keyframes spin {
        to {
          transform: rotate(360deg);
        }
      }

      .check-panel {
        margin-bottom: 24px;
        border: 1px solid #b8d0c7;
        border-radius: 8px;
        padding: 14px;
        background: #f0faf4;
        font-family: "Segoe UI", sans-serif;
      }

      .check-panel.warning {
        border-color: #ddb39f;
        background: #fff4ed;
      }

      .check-panel h2 {
        margin: 0 0 8px;
        font-family: Georgia, "Times New Roman", serif;
      }

      .check-panel ul {
        margin: 10px 0 0;
        padding-left: 20px;
      }

      .status-pill {
        display: inline-block;
        border-radius: 999px;
        padding: 2px 9px;
        background: #d8eee4;
        color: var(--accent-dark);
        font-weight: 700;
      }

      .status-pill.warning {
        background: #f7d8c8;
        color: var(--warn);
      }

      .final-grid {
        display: grid;
        gap: 12px;
        grid-template-columns: minmax(150px, 180px) minmax(110px, 130px) minmax(0, 1fr) auto;
        margin-bottom: 18px;
        font-family: "Segoe UI", sans-serif;
      }

      .final-card {
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 12px;
        background: #fbf8f1;
      }

      .final-card strong {
        display: block;
        margin-bottom: 6px;
        color: var(--accent-dark);
      }

      .player {
        padding: 0 0 22px;
        margin: 0 0 24px;
        border-bottom: 1px solid var(--line);
      }

      .player:last-child {
        border-bottom: 0;
        margin-bottom: 0;
      }

      h2 {
        margin: 0 0 10px;
        font-size: 1.8rem;
      }

      .totals {
        display: grid;
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0 0 14px;
        font-family: "Segoe UI", sans-serif;
      }

      .total-box {
        border: 1px solid var(--line);
        border-radius: 6px;
        padding: 10px;
        background: #fbf8f1;
      }

      .total-box strong {
        display: block;
        margin-bottom: 4px;
        color: var(--accent-dark);
      }

      table {
        width: 100%;
        border-collapse: collapse;
        font-family: "Segoe UI", sans-serif;
        font-size: 0.95rem;
      }

      th,
      td {
        padding: 9px 8px;
        border-bottom: 1px solid var(--line);
        text-align: left;
        vertical-align: top;
      }

      th {
        color: var(--accent-dark);
      }

      details {
        margin-top: 18px;
        font-family: "Segoe UI", sans-serif;
      }

      .admin-thread-details > summary {
        cursor: pointer;
        margin: 24px 0 12px;
        color: var(--accent-dark);
        font: 700 1.05rem "Segoe UI", sans-serif;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      details + details {
        margin-top: 10px;
      }

      pre {
        overflow: auto;
        max-height: 320px;
        padding: 14px;
        border-radius: 6px;
        background: #20241f;
        color: #f8f3e8;
      }

      body {
        background:
          radial-gradient(circle at 12% 10%, rgba(0, 230, 208, 0.18), transparent 28%),
          radial-gradient(circle at 86% 6%, rgba(255, 199, 44, 0.18), transparent 30%),
          linear-gradient(180deg, #070b14 0%, #10172a 48%, #070b14 100%);
        color: #eef6ff;
        font-family: "Segoe UI", sans-serif;
      }

      main {
        width: min(1240px, calc(100vw - 28px));
      }

      h1 {
        max-width: 900px;
        color: #ffffff;
        font-family: "Segoe UI", sans-serif;
        font-size: clamp(2.35rem, 6vw, 5.4rem);
        font-weight: 900;
        letter-spacing: 0;
        text-transform: uppercase;
        text-shadow: 0 0 28px rgba(0, 230, 208, 0.2);
      }

      h2,
      .league-panel h2,
      .league-panel h3 {
        color: #ffffff;
        font-family: "Segoe UI", sans-serif;
        letter-spacing: 0;
      }

      .lead,
      .league-panel p,
      .placeholder,
      .drop-copy,
      .status,
      .field-hint,
      .file-name,
      .modal-title,
      .loading-copy {
        color: #aebbd4;
      }

      .app-header {
        align-items: center;
        margin-bottom: 22px;
      }

      .app-nav {
        position: sticky;
        top: 0;
        z-index: 4;
        margin: 0 0 24px;
        border: 1px solid rgba(126, 247, 231, 0.18);
        border-radius: 999px;
        padding: 8px;
        background: rgba(8, 13, 25, 0.78);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
        backdrop-filter: blur(18px);
      }

      .nav-button,
      .admin-tab,
      .ghost-button {
        border: 1px solid rgba(126, 247, 231, 0.22);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.06);
        color: #d8f9f5;
        box-shadow: none;
      }

      .nav-button.active,
      .admin-tab.active,
      button,
      .secondary-button {
        background: linear-gradient(135deg, #00e6d0, #ffc72c);
        color: #071018;
        box-shadow: 0 12px 28px rgba(0, 230, 208, 0.18);
      }

      button:disabled {
        background: #5b6678;
        color: #d7deea;
      }

      .admin-tab:not(.active) {
        background: rgba(255, 255, 255, 0.06);
        color: #d8f9f5;
        box-shadow: none;
      }

      .panel,
      .admin-card,
      .league-item,
      .final-card,
      .total-box,
      .check-panel,
      .ocr-progress,
      .submission-review,
      .auth-dialog-frame,
      .ocr-dialog-frame,
      .preview-dialog {
        border-color: rgba(126, 247, 231, 0.16);
        background: rgba(12, 19, 35, 0.9);
        color: #eef6ff;
        box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24);
      }

      .league-item,
      .admin-card,
      .final-card,
      .total-box,
      .file-preview,
      .submission-screenshot {
        background: rgba(255, 255, 255, 0.045);
      }

      .league-item strong,
      .field-row label,
      .auth-form label,
      .proposal-response label,
      .admin-edit-form label,
      th,
      .status-pill,
      .loading-title,
      .section-title {
        color: #7ef7e7;
      }

      .section-title {
        letter-spacing: 0.1em;
      }

      label.dropzone {
        border-color: rgba(126, 247, 231, 0.42);
        background: rgba(4, 10, 20, 0.48);
        color: #ffffff;
      }

      .auth-form input,
      .auth-form select,
      .auth-form textarea,
      .field-row input:not([type="file"]),
      .field-row select,
      .field-row textarea,
      .proposal-response input,
      .proposal-response textarea,
      .admin-player-tools input,
      .admin-player-tools select,
      .admin-account-message-controls textarea,
      .admin-edit-form input,
      .admin-edit-form select {
        border-color: rgba(126, 247, 231, 0.2);
        background: rgba(5, 11, 22, 0.82);
        color: #eef6ff;
      }

      .admin-player-tools select option {
        background: #071018;
        color: #eef6ff;
      }

      .danger-button {
        border-color: rgba(255, 119, 92, 0.48);
        background: rgba(255, 119, 92, 0.08);
        color: #ffd4ca;
      }

      table {
        color: #eaf3ff;
      }

      td,
      th {
        border-bottom-color: rgba(126, 247, 231, 0.13);
      }

      .auth-dialog::backdrop,
      .ocr-dialog::backdrop,
      .preview-dialog::backdrop {
        background: rgba(1, 5, 12, 0.72);
      }

      .auth-close,
      .remove-file,
      .modal-close {
        background: #ffc72c;
        color: #071018;
      }

      :root {
        --udc-black: #020308;
        --udc-bg: #070915;
        --udc-bg-deep: #010208;
        --udc-panel: rgba(8, 11, 24, 0.9);
        --udc-panel-strong: rgba(5, 7, 18, 0.96);
        --udc-blue: #2f63e6;
        --udc-blue-bright: #3d79ff;
        --udc-pink: #c72b73;
        --udc-pink-bright: #ef3f91;
        --udc-text: #f5f7ff;
        --udc-muted: #9ca9cc;
      }

      body {
        background:
          radial-gradient(circle at 50% 10%, rgba(47, 99, 230, 0.34), transparent 21rem),
          radial-gradient(circle at 45% 24%, rgba(199, 43, 115, 0.18), transparent 17rem),
          linear-gradient(180deg, #0a0d1b 0%, var(--udc-bg) 42%, var(--udc-bg-deep) 100%);
        color: var(--udc-text);
      }

      main {
        padding-top: 34px;
      }

      .app-header {
        grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
        justify-items: center;
        text-align: center;
        min-height: 0;
        margin-bottom: 18px;
        padding-top: 4px;
      }

      .app-header > div:first-child {
        display: grid;
        justify-items: center;
      }

      .brand-lockup {
        width: 100%;
        justify-items: center;
      }

      .brand-logo {
        width: min(330px, 55vw);
        max-height: 350px;
        filter:
          drop-shadow(0 0 18px rgba(47, 99, 230, 0.5))
          drop-shadow(0 0 16px rgba(199, 43, 115, 0.22))
          drop-shadow(0 14px 30px rgba(0, 0, 0, 0.45));
      }

      h1 {
        max-width: 980px;
        font-size: clamp(2.1rem, 5vw, 4.7rem);
        line-height: 0.95;
        text-shadow:
          0 0 18px rgba(47, 99, 230, 0.42),
          0 0 34px rgba(199, 43, 115, 0.24);
      }

      .lead {
        margin-bottom: 18px;
        color: var(--udc-muted);
      }

      .session-actions,
      .auth-actions {
        min-width: 0;
        justify-content: flex-end;
        padding-top: 0;
      }

      .session-actions,
      .auth-actions {
        position: absolute;
        inset: 0 0 auto auto;
        justify-self: auto;
        align-self: auto;
      }


      .session-pill {
        border: 1px solid rgba(47, 99, 230, 0.38);
        border-radius: 999px;
        padding: 8px 12px;
        background: rgba(2, 3, 9, 0.78);
        color: var(--udc-blue-bright);
      }

      .app-nav {
        width: fit-content;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        border-color: rgba(47, 99, 230, 0.42);
        background: rgba(4, 5, 14, 0.82);
        box-shadow:
          0 0 0 1px rgba(199, 43, 115, 0.1),
          0 18px 54px rgba(0, 0, 0, 0.34),
          0 0 36px rgba(47, 99, 230, 0.16);
      }

      .nav-button,
      .admin-tab,
      .ghost-button {
        border-color: rgba(47, 99, 230, 0.4);
        background: rgba(6, 8, 20, 0.78);
        color: #e2e8ff;
      }

      .nav-button.active,
      .admin-tab.active,
      button,
      .secondary-button {
        background: linear-gradient(135deg, var(--udc-blue), var(--udc-pink));
        color: #ffffff;
        box-shadow:
          0 0 0 1px rgba(255, 255, 255, 0.08) inset,
          0 12px 30px rgba(199, 43, 115, 0.24),
          0 0 24px rgba(47, 99, 230, 0.22);
      }

      .panel,
      .admin-card,
      .league-item,
      .final-card,
      .total-box,
      .check-panel,
      .ocr-progress,
      .submission-review,
      .auth-dialog-frame,
      .ocr-dialog-frame,
      .preview-dialog {
        border-color: rgba(47, 99, 230, 0.28);
        background:
          linear-gradient(160deg, rgba(47, 99, 230, 0.12), rgba(199, 43, 115, 0.04)),
          var(--udc-panel);
        box-shadow:
          0 22px 54px rgba(0, 0, 0, 0.38),
          0 0 0 1px rgba(199, 43, 115, 0.08) inset;
      }

      .league-item strong,
      .field-row label,
      .auth-form label,
      .proposal-response label,
      .admin-edit-form label,
      th,
      .status-pill,
      .loading-title,
      .section-title {
        color: var(--udc-blue-bright);
      }

      a {
        color: var(--udc-blue-bright);
      }

      .auth-form input,
      .auth-form select,
      .auth-form textarea,
      .field-row input:not([type="file"]),
      .field-row select,
      .field-row textarea,
      .proposal-response input,
      .proposal-response textarea,
      .admin-edit-form input,
      .admin-edit-form select {
        border-color: rgba(47, 99, 230, 0.34);
        background: rgba(3, 5, 14, 0.9);
        color: var(--udc-text);
      }

      .auth-close,
      .remove-file,
      .modal-close {
        background: linear-gradient(135deg, var(--udc-blue), var(--udc-pink));
        color: #ffffff;
      }

      .public-season-card {
        display: grid;
        gap: 18px;
      }

      .public-season-header,
      .public-division-header {
        display: flex;
        gap: 14px;
        align-items: center;
        justify-content: space-between;
      }

      .public-season-header strong {
        margin: 0;
        color: #ffffff;
        font-size: 1.15rem;
      }

      .public-division-card {
        display: grid;
        gap: 14px;
        border: 1px solid rgba(47, 99, 230, 0.22);
        border-radius: 8px;
        padding: 16px;
        background:
          linear-gradient(145deg, rgba(47, 99, 230, 0.1), rgba(199, 43, 115, 0.045)),
          rgba(2, 3, 10, 0.34);
      }

      .public-division-header h3 {
        margin: 0;
        color: #ffffff;
        font-size: 1.3rem;
      }

      .public-division-header span {
        flex: 0 0 auto;
        color: var(--udc-muted);
        font: 700 0.88rem "Segoe UI", sans-serif;
      }

      .standings-table,
      .fixture-mini-table {
        overflow: hidden;
        border: 1px solid rgba(47, 99, 230, 0.18);
        border-radius: 8px;
        background: rgba(1, 2, 8, 0.38);
      }

      .standings-table thead,
      .fixture-mini-table thead {
        background: rgba(47, 99, 230, 0.15);
      }

      .standings-table th,
      .fixture-mini-table th {
        color: #b9caff;
        font-size: 0.78rem;
        text-transform: uppercase;
      }

      .standings-table td,
      .standings-table th {
        padding: 11px 10px;
      }

      .standings-table tbody tr:first-child {
        background: linear-gradient(90deg, rgba(47, 99, 230, 0.16), rgba(199, 43, 115, 0.09));
      }

      .standings-table tbody tr:hover,
      .fixture-mini-table tbody tr:hover {
        background: rgba(47, 99, 230, 0.09);
      }

      .rank-badge {
        display: inline-grid;
        width: 28px;
        height: 28px;
        place-items: center;
        border: 1px solid rgba(47, 99, 230, 0.5);
        border-radius: 999px;
        background: rgba(47, 99, 230, 0.14);
        color: #ffffff;
        font: 800 0.82rem "Segoe UI", sans-serif;
      }

      .standings-table tbody tr:first-child .rank-badge {
        border-color: rgba(239, 63, 145, 0.7);
        background: linear-gradient(135deg, var(--udc-blue), var(--udc-pink));
        box-shadow: 0 0 18px rgba(47, 99, 230, 0.22);
      }

      .fixture-mini-table {
        margin-top: 2px;
        font-size: 0.9rem;
        table-layout: fixed;
        width: 100%;
      }

      .fixture-round-column {
        width: 74px;
      }

      .fixture-player-column {
        width: 26%;
      }

      .fixture-status-column {
        width: 168px;
      }

      .fixture-result-column {
        width: 92px;
      }

      .fixture-mini-table td,
      .fixture-mini-table th {
        padding: 8px 10px;
        overflow-wrap: anywhere;
      }

      .fixture-mini-table td:first-child,
      .fixture-mini-table th:first-child,
      .fixture-mini-table td:last-child,
      .fixture-mini-table th:last-child {
        text-align: center;
      }

      .assignment-badge.assigned,
      .season-chip.active,
      .table-action-button {
        border-color: rgba(47, 99, 230, 0.46);
        background: rgba(47, 99, 230, 0.13);
        color: #a8c0ff;
      }

      .assignment-badge.unassigned {
        border-color: rgba(199, 43, 115, 0.48);
        background: rgba(199, 43, 115, 0.12);
        color: #ff9bc7;
      }

      .season-chip.paused,
      .danger-button,
      .dev-reset-button {
        border-color: rgba(239, 63, 145, 0.5);
        background: rgba(199, 43, 115, 0.12);
        color: #ff9bc7;
      }

      .dev-reset-button:hover {
        border-color: rgba(239, 63, 145, 0.78);
        background: rgba(199, 43, 115, 0.22);
      }

      label.dropzone {
        border-color: rgba(47, 99, 230, 0.48);
        background:
          linear-gradient(145deg, rgba(47, 99, 230, 0.12), rgba(199, 43, 115, 0.08)),
          rgba(2, 3, 10, 0.72);
      }

      .loading-orbit {
        background: conic-gradient(from 0deg, var(--udc-blue), rgba(47, 99, 230, 0.16), var(--udc-pink), var(--udc-blue));
      }

      .ocr-progress.done .loading-orbit,
      .ocr-progress-fill,
      .status-pill {
        background: linear-gradient(135deg, rgba(47, 99, 230, 0.85), rgba(199, 43, 115, 0.72));
        color: #ffffff;
      }

      .check-panel.warning,
      .status-pill.warning {
        border-color: rgba(239, 63, 145, 0.42);
        background: rgba(199, 43, 115, 0.13);
        color: #ffb7d5;
      }

      @media (max-width: 820px) {
        .public-season-header,
        .public-division-header {
          align-items: flex-start;
          flex-direction: column;
        }

        .standings-table,
        .fixture-mini-table {
          display: block;
          overflow-x: auto;
        }

        .app-header {
          grid-template-columns: 1fr;
        }

        .session-actions {
          justify-content: stretch;
        }

        .auth-actions,
        .session-actions {
          justify-content: stretch;
        }

        .auth-actions button,
        .session-actions button {
          width: 100%;
        }

        .fixture-toolbar button,
        .fixture-top-actions button {
          width: 100%;
        }

        .tool,
        .admin-grid,
        .league-dashboard,
        .totals,
        .final-grid,
        .admin-user-action-row,
        .admin-player-meta,
        .application-actions,
        .admin-edit-form,
        .admin-division-edit-form,
        .scoring-settings-grid,
        .fixture-message-controls,
        .fixture-schedule-controls,
        .proposal-counter-controls {
          grid-template-columns: 1fr;
        }

        .fixture-message-controls button,
        .fixture-schedule-controls button,
        .admin-user-action-row button,
        .proposal-counter-controls button {
          width: 100%;
        }

      }

      .app-header {
        position: relative;
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
      }

      .app-header > div:first-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: 100%;
      }

      .app-header .auth-actions,
      .app-header .session-actions {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 5;
        justify-content: flex-end;
      }

      .app-header .brand-lockup {
        justify-self: center;
      }

      @media (max-width: 820px) {
        .app-header .auth-actions,
        .app-header .session-actions {
          position: static;
          justify-content: center;
          width: 100%;
        }
      }
    