
    :root {
      --ink: #191724;
      --muted: #5f5b6b;
      --line: rgba(25, 23, 36, 0.12);
      --surface: rgba(255, 255, 255, 0.9);
      --surface-strong: #ffffff;
      --brand: #6f2cff;
      --brand-dark: #4d1aba;
      --accent: #00a8a8;
      --warm: #ffb000;
      --danger: #c62828;
      --shadow: 0 24px 70px rgba(25, 23, 36, 0.14);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background:
        linear-gradient(135deg, rgba(111, 44, 255, 0.16), transparent 34%),
        linear-gradient(225deg, rgba(0, 168, 168, 0.14), transparent 32%),
        #f7f3ee;
    }

    a {
      color: inherit;
    }

    .page-shell {
      width: min(1120px, calc(100% - 2rem));
      min-height: 100vh;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 0.65rem 1rem;
      border-radius: 999px;
      border: 1px solid transparent;
      text-decoration: none;
      font-size: 0.94rem;
      font-weight: 800;
      box-shadow: 0 12px 28px rgba(25, 23, 36, 0.12);
      transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    }

    .button:hover {
      transform: translateY(-1px);
      box-shadow: 0 16px 34px rgba(25, 23, 36, 0.16);
    }

    .logout-button {
      background: var(--danger);
      color: #fff;
    }

    .hero {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.8fr);
      align-items: center;
      gap: clamp(1.5rem, 4vw, 3.5rem);
      padding: clamp(2.2rem, 6vw, 5rem) 0 clamp(1.8rem, 5vw, 3.5rem);
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      margin: 0 0 1rem;
      color: var(--brand-dark);
      font-size: 0.82rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0;
    }

    .eyebrow::before {
      content: "";
      width: 0.72rem;
      height: 0.72rem;
      border-radius: 50%;
      background: var(--warm);
      box-shadow: 0 0 0 5px rgba(255, 176, 0, 0.18);
    }

    h1 {
      margin: 0;
      max-width: 10ch;
      font-size: clamp(3.1rem, 8vw, 6.8rem);
      line-height: 0.92;
      letter-spacing: 0;
    }

    .lead {
      max-width: 58ch;
      margin: 1.25rem 0 0;
      color: var(--muted);
      font-size: clamp(1.05rem, 1.6vw, 1.25rem);
      line-height: 1.65;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-top: 1.6rem;
    }

    .primary-link,
    .secondary-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0.8rem 1.1rem;
      border-radius: 999px;
      font-weight: 900;
      text-decoration: none;
    }

    .primary-link {
      background: var(--ink);
      color: #fff;
    }

    .secondary-link {
      border: 1px solid var(--line);
      background: rgba(255, 255, 255, 0.55);
      color: var(--ink);
    }

    .stage-card {
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.72);
      border-radius: 8px;
      background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.68));
      box-shadow: var(--shadow);
      padding: clamp(0.65rem, 1.6vw, 1rem);
    }

    .logo-frame {
      display: grid;
      place-items: center;
      aspect-ratio: 4 / 3;
      border-radius: 8px;
      background: #120a0d;
      overflow: hidden;
    }

    .logo-frame img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }

    .stage-meta {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      margin-top: 1rem;
      color: var(--muted);
      font-size: 0.9rem;
      font-weight: 700;
    }

    .admin-hint {
      margin: 0 0 1.25rem;
      padding: 0.8rem 1rem;
      border: 1px solid rgba(111, 44, 255, 0.18);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.7);
      color: var(--muted);
      font-size: 0.92rem;
      text-align: center;
    }

    .admin-hint a {
      color: var(--brand-dark);
      font-weight: 900;
      text-decoration: none;
    }

    .countdown-feature {
      display: grid;
      grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
      gap: clamp(1rem, 3vw, 2rem);
      align-items: center;
      margin: 0 0 clamp(1.8rem, 5vw, 3rem);
      padding: clamp(0.75rem, 2vw, 1rem);
      border: 1px solid rgba(255, 255, 255, 0.72);
      border-radius: 8px;
      background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.68));
      box-shadow: var(--shadow);
    }

    .countdown-feature-image {
      display: block;
      width: 100%;
      aspect-ratio: 1200 / 630;
      object-fit: cover;
      border-radius: 8px;
      background: #120a0d;
      box-shadow: 0 18px 42px rgba(25, 23, 36, 0.16);
    }

    .countdown-feature-body {
      min-width: 0;
      padding: clamp(0.25rem, 1vw, 0.75rem);
    }

    .countdown-feature-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
    }

    .countdown-feature-label {
      margin: 0 0 0.65rem;
      color: var(--brand-dark);
      font-size: 0.82rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0;
    }

    .countdown-feature-title {
      margin: 0;
      font-size: clamp(1.8rem, 4vw, 3.2rem);
      line-height: 1;
      letter-spacing: 0;
    }

    .countdown-feature-description {
      margin: 0.9rem 0 0;
      color: var(--muted);
      font-size: clamp(1rem, 1.4vw, 1.15rem);
      line-height: 1.55;
      font-weight: 650;
    }

    .countdown-feature-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-top: 1.25rem;
    }

    .share-link {
      border: 1px solid var(--line);
      background: rgba(255, 255, 255, 0.55);
      color: var(--ink);
      cursor: pointer;
      font-family: inherit;
      font-size: 1rem;
    }

    .share-status {
      flex-basis: 100%;
      min-height: 1.1rem;
      color: var(--muted);
      font-size: 0.86rem;
      font-weight: 800;
    }

    .section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 1rem;
      margin: 0 0 1rem;
    }

    .section-head h2 {
      margin: 0;
      font-size: clamp(1.45rem, 2.4vw, 2rem);
      letter-spacing: 0;
    }

    .section-count {
      color: var(--muted);
      font-size: 0.92rem;
      font-weight: 800;
      white-space: nowrap;
    }

    .section-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 0.85rem;
      padding: 0;
      margin: 0 0 clamp(2.5rem, 6vw, 4rem);
      list-style: none;
    }

    .section-block {
      margin: 0 0 clamp(2rem, 5vw, 3.5rem);
    }

    .section-block > .section-head:first-child {
      display: none;
    }

    .section-card a {
      display: flex;
      min-height: 122px;
      flex-direction: column;
      justify-content: space-between;
      gap: 1rem;
      padding: 1rem;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--surface);
      color: var(--ink);
      text-decoration: none;
      box-shadow: 0 12px 32px rgba(25, 23, 36, 0.08);
      transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    }

    .section-card a:hover {
      transform: translateY(-3px);
      border-color: rgba(111, 44, 255, 0.35);
      box-shadow: 0 20px 45px rgba(25, 23, 36, 0.14);
    }

    .section-title {
      font-size: 1.18rem;
      line-height: 1.25;
      font-weight: 900;
    }

    .section-kicker {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      color: var(--muted);
      font-size: 0.86rem;
      font-weight: 800;
    }

    .links-hub {
      margin: 0 0 clamp(2rem, 5vw, 3.5rem);
      padding: clamp(1rem, 2.4vw, 1.35rem);
      border: 1px solid rgba(255, 255, 255, 0.72);
      border-radius: 8px;
      background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.68));
      box-shadow: var(--shadow);
    }

    .links-hub-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .round-kicker {
      margin: 0;
      color: var(--brand-dark);
      font-size: 0.82rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0;
    }

    .links-hub-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 0.85rem;
    }

    .links-group {
      border: 1px solid var(--line);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.78);
      overflow: hidden;
    }

    .links-group h3 {
      margin: 0;
      padding: 0.85rem 1rem;
      background: #073763;
      color: #fff;
      font-size: 0.95rem;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .link-list {
      display: grid;
      gap: 0.45rem;
      margin: 0;
      padding: 0.8rem;
      list-style: none;
    }

    .link-list a,
    .round-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      min-height: 42px;
      padding: 0.62rem 0.72rem;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
      color: var(--ink);
      text-decoration: none;
      font-weight: 850;
    }

    .link-list a::after,
    .round-link::after {
      content: "›";
      display: grid;
      place-items: center;
      width: 1.65rem;
      height: 1.65rem;
      flex: 0 0 auto;
      border-radius: 50%;
      background: rgba(111, 44, 255, 0.1);
      color: var(--brand-dark);
      font-size: 1.05rem;
    }

    .rounds-public {
      display: grid;
      gap: 1rem;
      margin-top: 0.85rem;
    }

    .rounds-public table {
      display: none;
    }

    .round-card-public {
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.72);
      border-radius: 8px;
      background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.68));
      box-shadow: var(--shadow);
    }

    .round-card-public-head {
      display: grid;
      gap: 0.45rem;
      padding: clamp(1.1rem, 2.4vw, 1.45rem) clamp(1rem, 2.2vw, 1.25rem) 0.5rem;
    }

    .round-card-public-headline {
      display: grid;
      gap: 0.35rem;
    }

    .round-card-public-title-row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 0.75rem;
    }

    .round-card-public-head .round-kicker {
      margin: 0;
      color: var(--brand-dark);
      font-size: 0.82rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.02em;
    }

    .round-card-public-head .countdown-feature-title {
      margin: 0;
      max-width: 18ch;
      font-size: clamp(2rem, 4.6vw, 3.2rem);
      line-height: 0.95;
      letter-spacing: 0;
      white-space: nowrap;
    }

    .round-card-public-summary {
      margin: 0.1rem 0 0;
      color: var(--muted);
      font-size: 0.98rem;
      line-height: 1.55;
      font-weight: 650;
    }

    .round-card-public-edit {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
      min-height: 30px;
      padding: 0.28rem 0.65rem;
      border-radius: 999px;
      background: var(--danger);
      color: #fff;
      font-size: 0.74rem;
      font-weight: 900;
      text-decoration: none;
      white-space: nowrap;
    }

    .round-card-public-edit:hover {
      background: #b71c1c;
    }

    .round-card-public-body {
      padding: 1.35rem 1rem 1rem;
      display: grid;
      gap: 0.8rem;
    }

    .round-card-public-links {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
    }

    .round-card-public-empty {
      color: var(--muted);
      line-height: 1.55;
    }

    .round-docs {
      display: grid;
      gap: 0.9rem;
      margin-top: 1rem;
    }

    .round-doc {
      margin-top: 0.2rem;
    }

    .round-doc-title {
      margin: 0;
      padding: 0 0 0.35rem;
      color: var(--ink);
      font-size: 1rem;
      line-height: 1.2;
      font-weight: 850;
      letter-spacing: 0;
    }

    .round-doc-title::before {
      content: "Content";
      display: block;
      margin-bottom: 0.35rem;
      color: var(--brand-dark);
      font-size: 0.78rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .round-doc-body {
      padding: 0;
      color: var(--muted);
      font-size: 1rem;
      line-height: 1.65;
      font-weight: 500;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    .round-doc-body > *:first-child {
      margin-top: 0;
    }

    .round-doc-body > *:last-child {
      margin-bottom: 0;
    }

    .round-doc-body p {
      margin: 0 0 0.95rem;
    }

    .round-doc-body h4,
    .round-doc-body h5,
    .round-doc-body h6 {
      margin: 1.15rem 0 0.55rem;
      color: var(--ink);
      line-height: 1.25;
      font-weight: 950;
      letter-spacing: -0.01em;
    }

    .round-doc-body h4 {
      font-size: 1rem;
    }

    .round-doc-body h4:first-child {
      margin-top: 0;
    }

    .round-doc-body ul,
    .round-doc-body ol {
      margin: 0 0 1rem;
      padding-left: 1.2rem;
    }

    .round-doc-body li {
      margin: 0 0 0.45rem;
    }

    .round-doc-body a {
      color: var(--brand-dark);
      font-weight: 900;
      text-decoration-thickness: 2px;
      text-underline-offset: 0.14em;
      overflow-wrap: anywhere;
    }

    .round-doc-empty {
      color: var(--muted);
    }

    .round-doc-note {
      margin: 0;
      padding: 0.4rem 0 0;
      color: var(--muted);
      line-height: 1.6;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    .round-doc-actions {
      margin-top: 1rem;
      padding-top: 0.9rem;
      border-top: 1px solid rgba(25, 23, 36, 0.08);
    }

    .round-doc-actions-title {
      margin: 0 0 0.65rem;
      color: var(--brand-dark);
      font-size: 0.82rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .round-doc-actions-list {
      display: flex;
      flex-wrap: wrap;
      gap: 0.7rem;
    }

    .round-doc-action-button {
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      min-height: 44px;
      padding: 0.72rem 1rem;
      border: 1px solid rgba(111, 44, 255, 0.18);
      border-color: rgba(111, 44, 255, 0.18);
      border-radius: 999px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 241, 255, 0.94));
      color: var(--ink);
      text-decoration: none;
      font-weight: 850;
      box-shadow: 0 10px 24px rgba(25, 23, 36, 0.06);
    }

    .round-doc-action-button::after {
      content: "›";
      display: grid;
      place-items: center;
      width: 1.65rem;
      height: 1.65rem;
      flex: 0 0 auto;
      border-radius: 50%;
      background: rgba(111, 44, 255, 0.14);
      color: var(--brand-dark);
      font-size: 1.05rem;
    }

    .round-doc-action-button:hover {
      border-color: rgba(111, 44, 255, 0.3);
      box-shadow: 0 14px 28px rgba(25, 23, 36, 0.08);
      transform: translateY(-1px);
    }

    .round-doc-action-button:focus-visible {
      outline: 2px solid rgba(111, 44, 255, 0.35);
      outline-offset: 2px;
    }

    .round-doc-actions-list .round-link {
      min-height: 44px;
      padding: 0.72rem 1rem;
      border-color: rgba(111, 44, 255, 0.18);
      border-radius: 999px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 241, 255, 0.94));
      box-shadow: 0 10px 24px rgba(25, 23, 36, 0.06);
    }

    .links-hub-head {
      display: grid;
      gap: 0.35rem;
      align-items: start;
    }

    .links-hub-head .round-kicker {
      margin: 0;
      color: var(--brand-dark);
      font-size: 0.82rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.02em;
    }

    .competition-hub {
      margin: 0 0 clamp(2rem, 5vw, 3.5rem);
      padding: clamp(1rem, 2.4vw, 1.35rem);
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--surface);
      box-shadow: var(--shadow);
    }

    .competition-hub-head {
      display: grid;
      gap: 0.35rem;
      align-items: start;
      margin-bottom: 1rem;
    }

    .competition-hub-head h2 {
      margin: 0;
      font-size: clamp(1.9rem, 3.6vw, 3rem);
      line-height: 1.05;
      letter-spacing: 0;
    }

    .competition-hub-description {
      max-width: 64ch;
      margin: 0.35rem 0 0;
      color: var(--muted);
      font-size: clamp(1rem, 1.4vw, 1.15rem);
      line-height: 1.55;
      font-weight: 650;
    }

    .competition-hub-head .round-kicker {
      margin: 0;
      color: var(--brand-dark);
      font-size: 0.82rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.02em;
    }

    .competition-button-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 0.85rem;
    }

    .competition-button {
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 0.85rem;
      min-height: 138px;
      padding: 1rem;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--surface);
      color: var(--ink);
      text-decoration: none;
      box-shadow: 0 16px 40px rgba(25, 23, 36, 0.08);
      transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    }

    .competition-button:hover {
      transform: translateY(-3px);
      border-color: rgba(111, 44, 255, 0.35);
      box-shadow: 0 22px 50px rgba(25, 23, 36, 0.14);
    }

    .competition-button-kicker {
      color: var(--brand-dark);
      font-size: 0.78rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      z-index: 1;
    }

    .competition-button-top,
    .competition-button-footer {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
    }

    .competition-button-badge {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 0.2rem 0.6rem;
      border-radius: 999px;
      background: rgba(255, 176, 0, 0.16);
      color: var(--brand-dark);
      font-size: 0.76rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .competition-button-title {
      position: relative;
      z-index: 1;
      max-width: 14ch;
      font-size: 1.25rem;
      line-height: 1.15;
      font-weight: 900;
      white-space: nowrap;
    }

    .competition-button-arrow {
      display: grid;
      place-items: center;
      width: 2.15rem;
      height: 2.15rem;
      border-radius: 50%;
      background: rgba(111, 44, 255, 0.12);
      color: var(--brand-dark);
      font-size: 1.2rem;
      font-weight: 900;
      flex: 0 0 auto;
    }

    .competition-button:focus-visible {
      outline: 2px solid rgba(111, 44, 255, 0.38);
      outline-offset: 2px;
    }

    .competition-button:hover .competition-button-arrow {
      background: rgba(111, 44, 255, 0.18);
    }

    .competition-card-action {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      justify-self: start;
      padding: 0.42rem 0.7rem;
      border-radius: 999px;
      background: rgba(111, 44, 255, 0.11);
      color: var(--brand-dark);
      font-size: 0.86rem;
      font-weight: 850;
      z-index: 1;
    }

    .arrow {
      display: grid;
      place-items: center;
      width: 2rem;
      height: 2rem;
      flex: 0 0 auto;
      border-radius: 50%;
      background: rgba(111, 44, 255, 0.1);
      color: var(--brand-dark);
      font-size: 1.1rem;
    }

    .empty-state {
      margin: 0 0 3rem;
      padding: 1rem;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--surface);
      color: var(--muted);
    }

    footer {
      margin-top: auto;
      padding: 1rem 0 1.35rem;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 0.9rem;
      text-align: center;
    }

    footer a {
      color: var(--brand-dark);
      font-weight: 800;
      text-decoration: none;
    }

    @media (max-width: 760px) {
      .page-shell {
        width: min(100% - 1rem, 1120px);
      }

      .topbar {
        justify-content: center;
      }

      .hero {
        grid-template-columns: 1fr;
        gap: 0.9rem;
        padding-top: 0.75rem;
        padding-bottom: 1.5rem;
      }

      .lead {
        margin-top: 0.85rem;
        line-height: 1.5;
      }

      h1 {
        max-width: 9ch;
        font-size: clamp(2.75rem, 16vw, 3.7rem);
      }

      .stage-card {
        order: -1;
        padding: 0.55rem;
      }

      .countdown-feature {
        grid-template-columns: 1fr;
      }

      .section-head {
        align-items: start;
        flex-direction: column;
      }

      .links-hub-head {
        align-items: start;
        flex-direction: column;
      }

      .section-count {
        white-space: normal;
      }

      .primary-link,
      .secondary-link,
      .button {
        width: 100%;
      }
    }
  
