:root {
      --mew-accent: #0b7f8f;
      --mew-accent-strong: #075f79;
      --mew-gold: #d6b166;
      --mew-deep: #08273a;
      --mew-ink: #173042;
      --mew-muted: #688094;
      --mew-surface: rgba(255, 255, 255, 0.9);
      --mew-surface-strong: #ffffff;
      --mew-border: rgba(19, 68, 97, 0.12);
      --mew-shadow: 0 18px 44px rgba(12, 44, 69, 0.09);
      --mew-radius: 24px;
    }
    html[lang="ar"] {
      --font-body: "Tajawal", sans-serif;
      --font-display: "Tajawal", sans-serif;
    }
    html[lang="en"] {
      --font-body: "Space Grotesk", sans-serif;
      --font-display: "Space Grotesk", sans-serif;
    }
    html[data-theme="dark"] {
      --mew-accent: #58c6cc;
      --mew-accent-strong: #9de8ed;
      --mew-gold: #d7b66b;
      --mew-deep: #f7fcfc;
      --mew-ink: #eef7f8;
      --mew-muted: #c2d5d9;
      --mew-surface: rgba(13, 25, 31, 0.94);
      --mew-surface-strong: #0f1c22;
      --mew-border: rgba(88, 198, 204, 0.12);
      --mew-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
    }
    body {
      padding-top: 10.9rem;
      color: var(--mew-ink);
      font-family: var(--font-body);
      background:
        linear-gradient(180deg, rgba(11, 127, 143, 0.06), transparent 24%),
        radial-gradient(circle at top right, rgba(214, 177, 102, 0.14), transparent 20%),
        linear-gradient(180deg, #eff4f4 0, #f8faf7 240px, #fefefe 100%);
      min-height: 100vh;
      overflow-x: hidden;
    }
    html[data-theme="dark"] body {
      background:
        linear-gradient(180deg, rgba(88, 198, 204, 0.08), transparent 24%),
        radial-gradient(circle at top right, rgba(213, 177, 108, 0.1), transparent 18%),
        linear-gradient(180deg, #091216 0, #0d181d 220px, #111e25 100%);
    }
    body::before,
    body::after {
      content: "";
      position: fixed;
      inset: auto;
      pointer-events: none;
      z-index: -1;
      filter: blur(30px);
      opacity: 0.65;
    }
    body::before {
      width: 18rem;
      height: 18rem;
      top: 5rem;
      left: -4rem;
      background: rgba(11, 127, 143, 0.12);
      border-radius: 50%;
    }
    body::after {
      width: 16rem;
      height: 16rem;
      bottom: 5rem;
      right: -2rem;
      background: rgba(214, 177, 102, 0.12);
      border-radius: 50%;
    }
    html[data-theme="dark"] body::before {
      background: rgba(88, 198, 204, 0.14);
    }
    html[data-theme="dark"] body::after {
      background: rgba(213, 177, 108, 0.1);
    }
    h1, h2, h3, h4, h5, h6, .btn, .badge, .navbar-brand {
      font-family: var(--font-display);
    }
    h1, h2, h3, h4 {
      letter-spacing: -0.03em;
    }
    a {
      color: var(--mew-accent-strong);
    }
    a:hover {
      color: var(--mew-accent);
    }
    .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
    .site-chrome {
      z-index: 1030;
      box-shadow: 0 14px 30px rgba(8, 39, 58, 0.06);
    }
    .official-topbar {
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 253, 0.94));
      border-bottom: 1px solid rgba(19, 68, 97, 0.08);
      backdrop-filter: blur(14px);
      position: relative;
    }
    html[data-theme="dark"] .official-topbar {
      background: linear-gradient(180deg, rgba(10, 20, 25, 0.96), rgba(14, 27, 33, 0.92));
      border-bottom-color: rgba(88, 198, 204, 0.12);
    }
    .official-topbar::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 4px;
      background: linear-gradient(90deg, var(--mew-accent) 0, #1592a0 45%, var(--mew-gold) 100%);
    }
    .official-topbar-inner {
      min-height: 6.65rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
    .official-actions {
      display: inline-flex;
      align-items: center;
      gap: 0.65rem;
      order: 1;
    }
    .topbar-action-form {
      display: contents;
    }
    .inline-action-form {
      display: inline-flex;
      margin: 0;
      margin-inline-start: 0.35rem;
    }
    .topbar-action-form .topbar-btn,
    .inline-action-form .btn {
      white-space: nowrap;
    }
    .official-logo-link {
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      text-decoration: none;
      order: 2;
      padding-top: 0.22rem;
      position: relative;
      isolation: isolate;
      transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
    }
    .official-logo {
      height: 4.35rem;
      width: auto;
      display: block;
    }
    .topbar-btn {
      border-radius: 999px;
      padding: 0.6rem 0.95rem;
      font-size: 0.92rem;
      font-weight: 700;
      line-height: 1;
      box-shadow: none;
    }
    .topbar-btn.btn-outline-secondary {
      background: rgba(255, 255, 255, 0.78);
    }
    .navbar {
      background: transparent !important;
      border-bottom: 0;
      backdrop-filter: none;
      box-shadow: none;
      padding-top: 0.55rem;
      padding-bottom: 0.9rem;
    }
    .navbar .container {
      gap: 1rem;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 250, 250, 0.88));
      border: 1px solid rgba(19, 68, 97, 0.09);
      border-radius: 24px;
      box-shadow: 0 16px 34px rgba(12, 44, 69, 0.06);
      padding: 0.75rem 1rem;
      backdrop-filter: blur(14px);
    }
    html[data-theme="dark"] .navbar .container {
      background: linear-gradient(180deg, rgba(14, 27, 33, 0.94), rgba(16, 30, 37, 0.9));
      border-color: rgba(88, 198, 204, 0.12);
      box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
    }
    .navbar-toggler {
      border: 1px solid rgba(19, 68, 97, 0.14);
      border-radius: 16px;
      padding: 0.55rem 0.7rem;
      box-shadow: none;
    }
    .navbar-toggler:focus {
      box-shadow: 0 0 0 0.22rem rgba(11, 127, 143, 0.12);
    }
    html[data-theme="dark"] .navbar-toggler {
      border-color: rgba(88, 198, 204, 0.2);
      background: rgba(255, 255, 255, 0.04);
    }
    html[data-theme="dark"] .navbar-toggler-icon {
      filter: invert(1) brightness(2);
    }
    .navbar-collapse {
      align-items: center;
      justify-content: flex-start;
      gap: 1rem;
    }
    .navbar-nav,
    .primary-nav {
      gap: 0.3rem;
    }
    .page-shell {
      max-width: 1260px;
      padding-top: 1.7rem;
      padding-bottom: 4rem;
      animation: page-rise 0.55s ease;
    }
    .hero-surface {
      background: linear-gradient(135deg, #0b5c8d 0, #0f7ca8 55%, #1597b0 100%);
      color: #fff;
      border: 0;
      border-radius: 30px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 24px 54px rgba(11, 92, 141, 0.18);
    }
    .hero-surface::before {
      content: "";
      position: absolute;
      inset: -20% auto auto -10%;
      width: 24rem;
      height: 24rem;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 60%);
      pointer-events: none;
    }
    .hero-ribbon {
      min-height: 8.2rem;
      background:
        linear-gradient(135deg, #0b5875 0, #0d6987 38%, #0f7a93 70%, #1592a0 100%);
    }
    .hero-ribbon::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(120deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 42% 52%, transparent 52% 100%),
        linear-gradient(120deg, transparent 0 60%, rgba(255, 255, 255, 0.08) 60% 70%, transparent 70% 100%);
      pointer-events: none;
    }
    .hero-surface .badge {
      background: rgba(255, 255, 255, 0.16);
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.18);
    }
    .card {
      background: var(--mew-surface);
      border: 1px solid var(--mew-border);
      border-radius: var(--mew-radius);
      box-shadow: 0 18px 40px rgba(12, 44, 69, 0.06);
      overflow: hidden;
    }
    .surface-card {
      background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(247,251,252,0.92));
    }
    html[data-theme="dark"] .card {
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
    }
    html[data-theme="dark"] .surface-card {
      background: linear-gradient(180deg, rgba(15, 27, 33, 0.97), rgba(17, 31, 38, 0.94));
    }
    .navbar .nav-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 3rem;
      min-width: 10.5rem;
      padding: 0.68rem 1rem !important;
      border-radius: 16px;
      color: var(--mew-ink) !important;
      font-weight: 600;
      text-align: center;
      border: 1px solid transparent;
      transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }
    html[data-theme="dark"] .navbar .nav-link {
      color: var(--mew-ink) !important;
    }
    .navbar .nav-link:hover,
    .navbar .nav-link:focus {
      background: rgba(255, 255, 255, 0.86);
      color: var(--mew-accent-strong) !important;
      border-color: rgba(19, 68, 97, 0.1);
    }
    html[data-theme="dark"] .navbar .nav-link:hover,
    html[data-theme="dark"] .navbar .nav-link:focus {
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(88, 198, 204, 0.12);
    }
    .navbar .nav-link.is-active {
      background: linear-gradient(135deg, var(--mew-deep) 0, #11465a 100%);
      color: #fff !important;
      border-color: rgba(8, 39, 58, 0.2);
      box-shadow: 0 14px 28px rgba(8, 39, 58, 0.14);
    }
    html[data-theme="dark"] .navbar .nav-link.is-active {
      background: linear-gradient(135deg, #58c6cc 0, #2f8f96 100%);
      color: #f7fcfd !important;
      border-color: rgba(88, 198, 204, 0.18);
      box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    }
    .nav-utility {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      margin-left: auto;
    }
    .nav-utility .btn {
      min-width: 6.4rem;
    }
    .nav-utility .theme-toggle {
      min-width: 0;
    }
    .theme-toggle {
      min-width: 6.2rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding-inline: 0.95rem;
      border-radius: 999px;
      border-color: rgba(11, 127, 143, 0.2);
      background: rgba(255, 255, 255, 0.84);
      color: var(--mew-deep);
      box-shadow: none;
      transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
    }
    .theme-toggle:hover,
    .theme-toggle:focus {
      border-color: rgba(11, 127, 143, 0.3);
      color: var(--mew-deep);
      background: rgba(255, 255, 255, 0.94);
    }
    .theme-toggle:focus-visible {
      box-shadow: 0 0 0 0.22rem rgba(11, 127, 143, 0.16);
    }
    .theme-toggle-label {
      line-height: 1;
      white-space: nowrap;
      font-weight: 800;
      letter-spacing: -0.01em;
    }
    html[data-theme="dark"] .theme-toggle {
      background: rgba(18, 31, 37, 0.9);
      border-color: rgba(88, 198, 204, 0.2);
      color: #f2fbfb;
    }
    html[data-theme="dark"] .theme-toggle:hover,
    html[data-theme="dark"] .theme-toggle:focus {
      border-color: rgba(88, 198, 204, 0.34);
      background: rgba(22, 38, 45, 0.96);
      color: #f8fcfd;
    }
    html[data-theme="dark"] .theme-toggle:focus-visible {
      box-shadow: 0 0 0 0.22rem rgba(88, 198, 204, 0.16);
    }
    .hero-copy {
      max-width: 48rem;
    }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.4rem 0.8rem;
      border-radius: 999px;
      background: rgba(11, 127, 143, 0.1);
      color: var(--mew-accent-strong);
      font-size: 0.86rem;
      font-weight: 700;
      margin-bottom: 0.85rem;
    }
    .page-banner {
      padding: 1.55rem 1.65rem;
      position: relative;
      overflow: hidden;
      border-radius: 30px;
      border: 1px solid rgba(19, 68, 97, 0.08);
      box-shadow: 0 24px 46px rgba(12, 44, 69, 0.07);
      background:
        radial-gradient(circle at top right, rgba(11, 127, 143, 0.09), transparent 32%),
        radial-gradient(circle at bottom left, rgba(214, 177, 102, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,249,250,0.92));
    }
    html[data-theme="dark"] .page-banner {
      border-color: rgba(88, 198, 204, 0.12);
      box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
      background:
        radial-gradient(circle at top right, rgba(88, 198, 204, 0.14), transparent 34%),
        radial-gradient(circle at bottom left, rgba(214, 177, 102, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(15, 27, 33, 0.98), rgba(18, 33, 40, 0.94));
    }
    .page-banner::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 4px;
      background: linear-gradient(90deg, var(--mew-accent), var(--mew-gold));
    }
    .page-banner::after {
      content: "";
      position: absolute;
      inset: auto -4rem -5rem auto;
      width: 15rem;
      height: 15rem;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(11, 127, 143, 0.14), transparent 68%);
      opacity: 0.9;
      pointer-events: none;
    }
    html[data-theme="dark"] .page-banner::after {
      background: radial-gradient(circle, rgba(88, 198, 204, 0.16), transparent 68%);
    }
    .page-banner > * {
      position: relative;
      z-index: 1;
    }
    .page-banner h1,
    .page-banner h2 {
      margin: 0;
      font-size: clamp(1.85rem, 3vw, 2.45rem);
      line-height: 1.2;
      color: var(--mew-deep);
    }
    .page-banner .subtitle {
      margin: 0.75rem 0 0;
      max-width: 43rem;
      font-size: 1rem;
      line-height: 1.85;
      color: var(--mew-muted);
    }
    .status-page-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 1.5rem;
      align-items: center;
    }
    .status-page-copy h1 {
      margin: 0 0 0.85rem;
      color: var(--mew-deep);
    }
    .status-page-code-wrap {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .status-page-code {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 6.6rem;
      min-height: 6.6rem;
      padding: 1rem;
      border-radius: 28px;
      background: linear-gradient(135deg, rgba(11, 127, 143, 0.12), rgba(214, 177, 102, 0.18));
      border: 1px solid rgba(11, 127, 143, 0.12);
      color: var(--mew-deep);
      font-family: var(--font-display);
      font-size: clamp(2rem, 4vw, 2.85rem);
      font-weight: 800;
      line-height: 1;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
    }
    .status-page-body {
      display: grid;
      gap: 1.1rem;
      max-width: 42rem;
    }
    .status-page-note {
      margin: 0;
      color: var(--mew-muted);
      line-height: 1.9;
      font-size: 1rem;
    }
    .status-page-actions {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-wrap: wrap;
    }
    .status-page-actions .btn {
      min-width: 9.5rem;
    }
    html[data-theme="dark"] .page-banner .subtitle,
    html[data-theme="dark"] .home-track-summary,
    html[data-theme="dark"] .home-feature-copy,
    html[data-theme="dark"] .form-text,
    html[data-theme="dark"] .text-muted,
    html[data-theme="dark"] small.text-muted,
    html[data-theme="dark"] .text-body-secondary {
      color: #d2e2e5 !important;
    }
    html[data-theme="dark"] p,
    html[data-theme="dark"] li,
    html[data-theme="dark"] .card-body,
    html[data-theme="dark"] .card-text,
    html[data-theme="dark"] .form-label,
    html[data-theme="dark"] label,
    html[data-theme="dark"] .subtitle,
    html[data-theme="dark"] .profile-metric-label,
    html[data-theme="dark"] .home-copy,
    html[data-theme="dark"] .home-lead,
    html[data-theme="dark"] .home-copy-lead {
      color: var(--mew-ink);
    }
    html[data-theme="dark"] .status-page-code {
      background: linear-gradient(135deg, rgba(88, 198, 204, 0.16), rgba(214, 177, 102, 0.16));
      border-color: rgba(88, 198, 204, 0.16);
      color: #f7fcfd;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
    .detail-chip {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.5rem 0.8rem;
      border-radius: 999px;
      background: rgba(11, 127, 143, 0.08);
      color: var(--mew-accent-strong);
      font-weight: 700;
      border: 1px solid rgba(11, 127, 143, 0.12);
    }
    html[data-theme="dark"] .detail-chip {
      background: rgba(88, 198, 204, 0.12);
      border-color: rgba(88, 198, 204, 0.16);
    }
    .category-card,
    .challenge-row {
      transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    }
    .category-card {
      position: relative;
      overflow: hidden;
    }
    .category-card::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 4px;
      background: linear-gradient(90deg, var(--mew-accent), rgba(214, 177, 102, 0.9));
    }
    .category-card .card-body,
    .challenge-row {
      position: relative;
    }
    .category-card:hover,
    .challenge-row:hover {
      transform: translateY(-4px);
      box-shadow: 0 22px 40px rgba(12, 44, 69, 0.11);
      border-color: rgba(11, 127, 143, 0.18);
    }
    .category-mark {
      width: 3rem;
      height: 3rem;
      border-radius: 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, rgba(11,127,143,0.14), rgba(214,177,102,0.16));
      color: var(--mew-deep);
      font-size: 1.2rem;
      font-weight: 800;
      margin-bottom: 1rem;
    }
    .category-card .card-body {
      padding: 1.65rem;
      gap: 1.25rem;
    }
    .category-total {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 3rem;
      height: 3rem;
      padding: 0 1rem;
      border-radius: 999px;
      background: rgba(11, 127, 143, 0.12);
      color: var(--mew-accent-strong);
      font-weight: 700;
      border: 1px solid rgba(11, 127, 143, 0.12);
    }
    html[data-theme="dark"] .category-total,
    html[data-theme="dark"] .home-track-tag {
      background: rgba(88, 198, 204, 0.12);
      border-color: rgba(88, 198, 204, 0.16);
    }
    .challenge-row {
      border: 1px solid rgba(19, 68, 97, 0.08);
      border-radius: 20px;
      padding: 1.1rem 1.1rem;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 252, 0.9));
      margin-bottom: 0.85rem;
    }
    html[data-theme="dark"] .challenge-row {
      background: linear-gradient(180deg, rgba(18, 33, 40, 0.98), rgba(15, 27, 33, 0.95));
      border-color: rgba(88, 198, 204, 0.1);
    }
    .challenge-row::before {
      content: "";
      position: absolute;
      inset: 1rem auto 1rem 0;
      width: 4px;
      border-radius: 999px;
      background: linear-gradient(180deg, var(--mew-accent), rgba(214, 177, 102, 0.9));
      opacity: 0.75;
    }
    .challenge-row:last-child {
      margin-bottom: 0;
    }
    .challenge-row .badge {
      white-space: nowrap;
    }
    .challenge-side-card {
      position: sticky;
      top: 11.6rem;
    }
    .auth-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-top: 1rem;
    }
    .rank-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2.35rem;
      height: 2.35rem;
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(11, 127, 143, 0.16), rgba(214, 177, 102, 0.24));
      color: var(--mew-deep);
      font-weight: 800;
      border: 1px solid rgba(11, 127, 143, 0.08);
    }
    .profile-metrics {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
    }
    .profile-metric {
      padding: 1.2rem 1.25rem;
      border-radius: 20px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(243, 249, 250, 0.9));
      border: 1px solid rgba(19, 68, 97, 0.08);
    }
    html[data-theme="dark"] .profile-metric {
      background: linear-gradient(180deg, rgba(18, 33, 40, 0.98), rgba(15, 27, 33, 0.95));
      border-color: rgba(88, 198, 204, 0.1);
    }
    .profile-metric-label {
      color: var(--mew-muted);
      margin-bottom: 0.35rem;
      font-size: 0.92rem;
    }
    .home-shell {
      display: grid;
      gap: 1.9rem;
      width: 100%;
      max-width: 1220px;
      margin: 0 auto;
    }
    .home-intro-panel,
    .home-track-panel {
      position: relative;
      overflow: hidden;
      border-radius: 34px;
      border: 1px solid rgba(19, 68, 97, 0.08);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 249, 0.92));
      box-shadow: 0 26px 54px rgba(12, 44, 69, 0.07);
    }
    html[data-theme="dark"] .home-intro-panel,
    html[data-theme="dark"] .home-track-panel {
      border-color: rgba(88, 198, 204, 0.12);
      background: linear-gradient(180deg, rgba(15, 27, 33, 0.97), rgba(18, 33, 40, 0.94));
      box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
    }
    .home-intro-panel {
      padding: 2.45rem 2.7rem;
      min-height: 22rem;
      display: flex;
      align-items: center;
    }
    .home-track-panel {
      padding: 2.2rem 2.25rem;
    }
    .home-intro-panel::before,
    .home-track-panel::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 5px;
      background: linear-gradient(90deg, var(--mew-accent), rgba(214, 177, 102, 0.95));
    }
    .home-intro-panel::after {
      content: "";
      position: absolute;
      inset: auto auto -5rem -4rem;
      width: 20rem;
      height: 20rem;
      border-radius: 40px;
      transform: rotate(18deg);
      background: linear-gradient(135deg, rgba(11, 127, 143, 0.08), rgba(214, 177, 102, 0.05));
      pointer-events: none;
    }
    .home-track-panel::after {
      content: "";
      position: absolute;
      inset: -4rem -4rem auto auto;
      width: 14rem;
      height: 14rem;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(214, 177, 102, 0.12), transparent 68%);
      pointer-events: none;
    }
    .home-intro-copy,
    .home-track-header,
    .home-track-list {
      position: relative;
      z-index: 1;
    }
    .home-intro-copy {
      max-width: 62rem;
    }
    .home-kicker {
      display: inline-flex;
      align-items: center;
      padding: 0.46rem 0.88rem;
      border-radius: 999px;
      background: rgba(11, 127, 143, 0.1);
      color: var(--mew-accent-strong);
      font-size: 0.84rem;
      font-weight: 800;
      margin-bottom: 0.95rem;
      border: 1px solid rgba(11, 127, 143, 0.1);
    }
    html[data-theme="dark"] .home-kicker {
      background: rgba(88, 198, 204, 0.14);
      border-color: rgba(88, 198, 204, 0.16);
    }
    .home-display-title {
      margin: 0 0 1.1rem;
      font-size: clamp(2.35rem, 3.8vw, 3.35rem);
      line-height: 1.18;
      color: var(--mew-deep);
      max-width: 42rem;
    }
    html[data-theme="dark"] .home-display-title,
    html[data-theme="dark"] .home-section-title,
    html[data-theme="dark"] .home-feature-title {
      color: var(--mew-deep);
    }
    .home-section-title {
      margin: 0 0 0.75rem;
      font-size: 1.5rem;
      line-height: 1.32;
      color: var(--mew-deep);
    }
    .home-lead {
      font-size: 1.15rem;
      line-height: 2;
      margin: 0 0 1.1rem;
      color: var(--mew-ink);
      max-width: 50rem;
    }
    .home-lead-main {
      font-size: clamp(1.2rem, 2vw, 1.35rem);
      line-height: 2.05;
      font-weight: 700;
      margin: 0;
    }
    .home-copy-lead {
      font-size: 1.05rem;
      line-height: 1.9;
    }
    .home-copy {
      font-size: 1.08rem;
      line-height: 1.95;
      color: var(--mew-ink);
      max-width: 58rem;
    }
    .home-track-header {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 1rem;
      flex-wrap: wrap;
      margin-bottom: 1.5rem;
    }
    .home-track-summary {
      margin: 0;
      max-width: 28rem;
      color: var(--mew-muted);
      line-height: 1.8;
      font-size: 0.98rem;
    }
    .home-track-list {
      display: grid;
      gap: 1.15rem;
    }
    .home-track-row {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 1.15rem;
      align-items: center;
      padding: 1.3rem 1.35rem;
      border: 1px solid rgba(19, 68, 97, 0.08);
      border-radius: 26px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 250, 249, 0.8));
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }
    html[data-theme="dark"] .home-track-row {
      background: linear-gradient(180deg, rgba(20, 35, 43, 0.98), rgba(16, 29, 36, 0.95));
      border-color: rgba(88, 198, 204, 0.1);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }
    .home-track-row:hover {
      transform: translateY(-2px);
      border-color: rgba(11, 127, 143, 0.14);
      box-shadow: 0 14px 28px rgba(12, 44, 69, 0.05);
    }
    .home-track-index {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 3rem;
      height: 3rem;
      border-radius: 20px;
      background: linear-gradient(135deg, rgba(11, 127, 143, 0.12), rgba(214, 177, 102, 0.16));
      color: var(--mew-accent-strong);
      font-weight: 800;
      border: 1px solid rgba(11, 127, 143, 0.08);
      flex: 0 0 auto;
    }
    .home-track-body {
      min-width: 0;
      display: grid;
      gap: 0.15rem;
    }
    .home-track-tag {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 5rem;
      padding: 0.5rem 0.8rem;
      border-radius: 999px;
      background: rgba(11, 127, 143, 0.08);
      color: var(--mew-accent-strong);
      font-size: 0.84rem;
      font-weight: 700;
      border: 1px solid rgba(11, 127, 143, 0.1);
      white-space: nowrap;
    }
    .home-feature-title {
      margin: 0 0 0.45rem;
      font-size: 1.28rem;
      line-height: 1.45;
    }
    .home-feature-copy {
      margin: 0;
      color: var(--mew-muted);
      line-height: 1.9;
    }
    .table-shell .card-body {
      padding: 1.25rem 1.35rem;
    }
    .table tbody tr:first-child td {
      border-top: 0;
    }
    .scoreboard-table tbody td:nth-child(2) {
      color: var(--mew-deep);
    }
    .scoreboard-table tbody td:last-child {
      color: var(--mew-muted);
      font-size: 0.95rem;
    }
    .auth-card {
      max-width: 34rem;
      margin: 0 auto;
      position: relative;
      overflow: hidden;
      border-radius: 30px;
      border: 1px solid rgba(19, 68, 97, 0.08);
      box-shadow: 0 24px 48px rgba(12, 44, 69, 0.08);
      background:
        radial-gradient(circle at top right, rgba(11, 127, 143, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 250, 0.94));
    }
    .auth-card::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 4px;
      background: linear-gradient(90deg, var(--mew-accent), var(--mew-gold));
    }
    .auth-card::after {
      content: "";
      position: absolute;
      inset: auto -4rem -5rem auto;
      width: 13rem;
      height: 13rem;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(214, 177, 102, 0.12), transparent 70%);
      pointer-events: none;
    }
    .auth-card .card-body {
      position: relative;
      z-index: 1;
    }
    .auth-card h2 {
      color: var(--mew-deep);
      font-size: clamp(1.85rem, 3vw, 2.25rem);
      line-height: 1.2;
    }
    .auth-card .text-muted {
      max-width: 25rem;
      line-height: 1.85;
      color: var(--mew-muted) !important;
    }
    html[data-theme="dark"] .auth-card {
      border-color: rgba(88, 198, 204, 0.12);
      box-shadow: 0 24px 48px rgba(0, 0, 0, 0.26);
      background:
        radial-gradient(circle at top right, rgba(88, 198, 204, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(18, 33, 40, 0.98), rgba(15, 27, 33, 0.95));
    }
    html[data-theme="dark"] .auth-card::after {
      background: radial-gradient(circle, rgba(214, 177, 102, 0.14), transparent 70%);
    }
    html[data-theme="dark"] .official-logo-link {
      padding: 0.26rem 0.4rem 0.22rem;
      border-radius: 18px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 250, 250, 0.92));
      border: 1px solid rgba(19, 68, 97, 0.1);
      box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
      backdrop-filter: blur(8px);
      transform: translateY(0);
    }
    html[data-theme="dark"] .official-logo-link::before {
      content: none;
    }
    html[data-theme="dark"] .official-logo-link::after {
      content: none;
    }
    html[data-theme="dark"] .official-logo {
      filter:
        drop-shadow(0 6px 14px rgba(8, 39, 58, 0.12));
    }
    .auth-actions .btn {
      min-width: 9rem;
    }
    .table-shell {
      overflow: hidden;
    }
    .table {
      margin-bottom: 0;
    }
    html[data-theme="dark"] .table {
      --bs-table-color: var(--mew-ink);
      --bs-table-bg: transparent;
      --bs-table-striped-color: var(--mew-ink);
      --bs-table-striped-bg: rgba(255, 255, 255, 0.035);
      --bs-table-active-color: var(--mew-ink);
      --bs-table-active-bg: rgba(88, 198, 204, 0.08);
      --bs-table-hover-color: var(--mew-ink);
      --bs-table-hover-bg: rgba(88, 198, 204, 0.07);
      --bs-table-border-color: rgba(88, 198, 204, 0.12);
    }
    .table thead th {
      color: var(--mew-muted);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      font-size: 0.78rem;
      border-bottom-color: rgba(19, 68, 97, 0.1);
    }
    html[data-theme="dark"] .table thead th {
      color: #dcedf0;
      border-bottom-color: rgba(88, 198, 204, 0.12);
    }
    .table td,
    .table th {
      padding-top: 0.95rem;
      padding-bottom: 0.95rem;
      vertical-align: middle;
    }
    .table tbody tr {
      transition: background-color 0.18s ease;
    }
    .table tbody tr:hover {
      background: rgba(11, 127, 143, 0.04);
    }
    html[data-theme="dark"] .table tbody tr:hover {
      background: rgba(88, 198, 204, 0.06);
    }
    .form-control,
    .form-select {
      border-radius: 16px;
      border-color: rgba(19, 68, 97, 0.12);
      padding: 0.85rem 1rem;
      background: rgba(255, 255, 255, 0.96);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }
    html[data-theme="dark"] .form-control,
    html[data-theme="dark"] .form-select {
      background: #14242c;
      border-color: rgba(88, 198, 204, 0.2);
      color: #f2fbfc;
      box-shadow: none;
      color-scheme: dark;
    }
    html[data-theme="dark"] .form-select option,
    html[data-theme="dark"] .form-select optgroup {
      background: #14242c;
      color: #eef9fa;
    }
    html[data-theme="dark"] .form-control::placeholder {
      color: #9eb8bd;
      opacity: 1;
    }
    html[data-theme="dark"] .form-control:disabled,
    html[data-theme="dark"] .form-select:disabled,
    html[data-theme="dark"] .form-control[readonly] {
      background: rgba(255, 255, 255, 0.07);
      color: #e8f2f4;
      opacity: 1;
    }
    .form-control:focus,
    .form-select:focus {
      border-color: rgba(11, 127, 143, 0.36);
      box-shadow: 0 0 0 0.25rem rgba(11, 127, 143, 0.12);
    }
    .btn {
      border-radius: 14px;
      font-weight: 700;
      padding: 0.78rem 1.05rem;
    }
    .btn-sm {
      padding: 0.55rem 0.8rem;
      border-radius: 12px;
    }
    .btn-primary {
      border: 0;
      color: #fff;
      background: linear-gradient(135deg, var(--mew-accent) 0, var(--mew-accent-strong) 100%);
      box-shadow: 0 14px 26px rgba(11, 127, 143, 0.24);
    }
    .btn-primary:hover,
    .btn-primary:focus {
      color: #fff;
      background: linear-gradient(135deg, #0c8fa1 0, #0a6880 100%);
    }
    .btn-outline-primary {
      color: var(--mew-accent-strong);
      border-color: rgba(11, 127, 143, 0.18);
      background: rgba(11, 127, 143, 0.04);
    }
    .btn-outline-primary:hover,
    .btn-outline-primary:focus {
      background: rgba(11, 127, 143, 0.1);
      color: var(--mew-accent-strong);
      border-color: rgba(11, 127, 143, 0.28);
    }
    .btn-outline-secondary {
      color: var(--mew-ink);
      border-color: rgba(19, 68, 97, 0.14);
      background: rgba(255, 255, 255, 0.7);
    }
    html[data-theme="dark"] .topbar-btn.btn-outline-secondary,
    html[data-theme="dark"] .btn-outline-secondary {
      background: rgba(255, 255, 255, 0.07);
      border-color: rgba(88, 198, 204, 0.18);
      color: #eef7f8;
    }
    html[data-theme="dark"] .btn-outline-secondary:hover,
    html[data-theme="dark"] .btn-outline-secondary:focus {
      background: rgba(88, 198, 204, 0.14);
      border-color: rgba(88, 198, 204, 0.28);
      color: #ffffff;
    }
    .badge {
      border-radius: 999px;
      padding: 0.55rem 0.78rem;
      font-weight: 700;
    }
    html[data-theme="dark"] .badge.text-bg-dark {
      background: #19343c !important;
      color: #f4fbfc !important;
    }
    html[data-theme="dark"] .badge.text-bg-secondary {
      background: #29434b !important;
      color: #eff7f8 !important;
    }
    .list-group-item {
      border-color: rgba(19, 68, 97, 0.08);
    }
    html[data-theme="dark"] .list-group-item {
      background: rgba(255, 255, 255, 0.03);
      border-color: rgba(88, 198, 204, 0.1);
      color: var(--mew-ink);
    }
    .alert {
      border: 1px solid transparent;
      border-radius: 18px;
      box-shadow: 0 10px 22px rgba(12, 44, 69, 0.07);
    }
    .alert-success {
      border-color: rgba(25, 135, 84, 0.14);
      background: rgba(25, 135, 84, 0.08);
    }
    .alert-danger {
      border-color: rgba(220, 53, 69, 0.14);
      background: rgba(220, 53, 69, 0.08);
    }
    html[data-theme="dark"] .alert-success {
      border-color: rgba(25, 135, 84, 0.18);
      background: rgba(25, 135, 84, 0.2);
      color: #effcf4;
    }
    html[data-theme="dark"] .alert-danger {
      border-color: rgba(220, 53, 69, 0.18);
      background: rgba(220, 53, 69, 0.18);
      color: #fff1f3;
    }
    html[data-theme="dark"] .alert-secondary {
      border-color: rgba(88, 198, 204, 0.14);
      background: rgba(255, 255, 255, 0.05);
      color: var(--mew-ink);
    }
    html[data-theme="dark"] .alert-link {
      color: #ffffff;
    }
    .lang-switch .btn {
      border-color: rgba(19, 68, 97, 0.12);
      color: var(--mew-ink);
      background: rgba(255, 255, 255, 0.75);
    }
    .lang-switch .btn.active {
      background: var(--mew-accent);
      border-color: var(--mew-accent);
      color: #fff;
    }
    [dir="rtl"] body {
      text-align: right;
    }
    [dir="rtl"] .home-shell {
      margin-right: 0;
      margin-left: auto;
    }
    [dir="ltr"] .home-shell {
      margin-left: 0;
      margin-right: auto;
    }
    [dir="rtl"] .page-banner .ms-auto,
    [dir="rtl"] .d-flex .ms-auto {
      margin-left: 0 !important;
      margin-right: auto !important;
    }
    [dir="rtl"] .challenge-row::before {
      inset: 1rem 0 1rem auto;
    }
    [dir="rtl"] .official-actions {
      order: 2;
    }
    [dir="rtl"] .official-logo-link {
      order: 1;
    }
    [dir="rtl"] .home-track-row {
      grid-template-columns: auto minmax(0, 1fr) auto;
    }
    @keyframes page-rise {
      from {
        opacity: 0;
        transform: translateY(14px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    @media (max-width: 991.98px) {
      body {
        padding-top: 10.15rem;
      }
      .official-topbar-inner {
        min-height: 5.6rem;
        flex-wrap: wrap;
        gap: 0.85rem;
      }
      .official-actions {
        width: 100%;
        flex-wrap: wrap;
        gap: 0.5rem;
      }
      .official-actions .topbar-btn {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 0;
        text-align: center;
        justify-content: center;
      }
      .official-logo-link {
        width: 100%;
        justify-content: center;
        padding-top: 0.15rem;
      }
      .official-logo {
        height: 3.5rem;
      }
      html[data-theme="dark"] .official-logo-link {
        width: auto;
        max-width: fit-content;
        margin-inline: auto;
        padding: 0.22rem 0.32rem 0.18rem;
      }
      .page-shell {
        padding-top: 1rem;
        padding-bottom: 2.5rem;
      }
      .nav-utility {
        margin-top: 0.75rem;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
      }
      .nav-utility .btn,
      .nav-utility .theme-toggle {
        width: 100%;
        min-width: 0;
        justify-content: center;
      }
      .challenge-side-card {
        position: static;
      }
      .navbar .container {
        border-radius: 22px;
        padding: 0.75rem 0.9rem;
      }
      .navbar-toggler {
        margin-inline-start: auto;
      }
      .navbar-collapse {
        width: 100%;
        align-items: stretch;
        gap: 0.85rem;
        margin-top: 0.75rem;
        padding-top: 0.85rem;
        border-top: 1px solid rgba(19, 68, 97, 0.09);
      }
      html[data-theme="dark"] .navbar-collapse {
        border-top-color: rgba(88, 198, 204, 0.12);
      }
      .navbar-nav,
      .primary-nav {
        width: 100%;
        gap: 0.45rem;
      }
      .navbar .nav-link {
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
        text-align: start;
      }
      [dir="rtl"] .navbar .nav-link {
        text-align: right;
      }
      .page-banner {
        padding: 1.2rem 1rem;
      }
      .challenge-row {
        padding: 1rem 0.95rem;
      }
      .challenge-row .text-md-end {
        width: 100%;
        text-align: start !important;
      }
      .challenge-side-card .d-flex.gap-2.flex-wrap {
        width: 100%;
      }
      .challenge-side-card .d-flex.gap-2.flex-wrap form {
        flex: 1 1 100%;
      }
      .challenge-side-card .d-flex.gap-2.flex-wrap .btn {
        width: 100%;
      }
      .auth-actions .btn {
        flex: 1 1 100%;
      }
      .home-intro-panel,
      .home-track-panel {
        padding: 1.45rem 1.25rem;
        min-height: auto;
      }
      .home-track-row {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
      }
      .home-track-tag {
        grid-column: 2;
        justify-self: start;
      }
    }
    @media (min-width: 992px) {
      .navbar-collapse {
        display: flex !important;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        direction: ltr;
      }
      [dir="ltr"] .primary-nav {
        order: 1;
        margin: 0 auto 0 0 !important;
        justify-content: flex-start;
        direction: ltr;
      }
      [dir="ltr"] .nav-utility {
        order: 2;
        margin: 0 0 0 auto !important;
      }
      [dir="rtl"] .primary-nav {
        order: 2;
        margin: 0 0 0 auto !important;
        justify-content: flex-end;
        direction: rtl;
      }
      [dir="rtl"] .nav-utility {
        order: 1;
        margin: 0 !important;
      }
    }
    @media (max-width: 767.98px) {
      .status-page-grid {
        grid-template-columns: 1fr;
      }
      .status-page-code-wrap {
        justify-content: flex-start;
      }
      .status-page-code {
        min-width: 5.3rem;
        min-height: 5.3rem;
        border-radius: 22px;
      }
      .status-page-actions {
        width: 100%;
      }
      .status-page-actions .btn {
        width: 100%;
      }
      body {
        padding-top: 11.35rem;
      }
      .official-topbar-inner {
        gap: 0.75rem;
      }
      .official-actions {
        width: 100%;
        justify-content: flex-start;
      }
      .official-actions .topbar-btn {
        flex-basis: 100%;
        width: 100%;
      }
      .nav-utility {
        grid-template-columns: 1fr;
      }
      .navbar .container {
        padding: 0.7rem 0.75rem;
      }
      .profile-metrics {
        grid-template-columns: 1fr;
      }
      .home-lead,
      .home-copy,
      .home-copy-lead {
        font-size: 1rem;
        line-height: 1.8;
      }
      .home-track-row {
        grid-template-columns: 1fr;
        gap: 0.95rem;
      }
      .home-track-index {
        width: 2.75rem;
        height: 2.75rem;
      }
      .home-track-tag {
        grid-column: auto;
        justify-self: start;
      }
      .home-feature-title {
        font-size: 1.1rem;
      }
      .page-banner h2 {
        font-size: 1.55rem;
      }
      .hero-ribbon {
        min-height: 6.6rem;
      }
    }
    .site-chrome {
      box-shadow: none;
    }
    .official-topbar {
      box-shadow: 0 10px 24px rgba(8, 39, 58, 0.04);
    }
    .official-topbar::after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(11, 127, 143, 0.18), transparent);
    }
    .official-topbar-inner {
      min-height: 5.2rem;
      gap: 1rem;
    }
    .official-actions {
      gap: 0.55rem;
      flex-wrap: wrap;
    }
    .official-logo-link {
      padding: 0.22rem 0.18rem 0.12rem;
    }
    .official-logo {
      height: 4.05rem;
    }
    .topbar-btn {
      min-height: 2.85rem;
      min-width: 6.2rem;
      padding: 0.72rem 1rem;
      font-size: 0.9rem;
      letter-spacing: -0.01em;
      border: 1px solid rgba(19, 68, 97, 0.11);
      background: rgba(255, 255, 255, 0.82);
      box-shadow: 0 10px 22px rgba(12, 44, 69, 0.05);
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    }
    .topbar-btn:hover,
    .topbar-btn:focus {
      transform: translateY(-1px);
      box-shadow: 0 14px 24px rgba(12, 44, 69, 0.08);
      border-color: rgba(11, 127, 143, 0.18);
    }
    .topbar-btn.btn-primary {
      color: #fff !important;
      text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
      background: linear-gradient(135deg, #0a6f88 0, #084e67 100%);
      box-shadow: 0 14px 24px rgba(11, 127, 143, 0.2);
    }
    .topbar-btn.btn-primary:hover,
    .topbar-btn.btn-primary:focus {
      color: #fff !important;
      background: linear-gradient(135deg, #0c7b96 0, #09607c 100%);
    }
    html[data-theme="dark"] .topbar-btn {
      background: rgba(18, 31, 37, 0.88);
      border-color: rgba(88, 198, 204, 0.16);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
    }
    html[data-theme="dark"] .topbar-btn:hover,
    html[data-theme="dark"] .topbar-btn:focus {
      border-color: rgba(88, 198, 204, 0.26);
    }
    .navbar {
      padding-top: 0.42rem;
      padding-bottom: 0.75rem;
    }
    .navbar .container {
      gap: 1.15rem;
      min-height: 4.2rem;
      padding: 0.72rem 1rem;
      border-radius: 22px;
      border-color: rgba(19, 68, 97, 0.08);
      box-shadow: 0 18px 34px rgba(12, 44, 69, 0.06);
    }
    .navbar-collapse {
      gap: 1rem;
    }
    .primary-nav,
    .navbar-nav {
      gap: 0.42rem;
      align-items: center;
    }
    .navbar .nav-link {
      min-width: auto;
      min-height: 2.95rem;
      padding: 0.74rem 1.12rem !important;
      border-radius: 15px;
      font-size: 0.95rem;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }
    .navbar .nav-link:hover,
    .navbar .nav-link:focus {
      background: rgba(255, 255, 255, 0.88);
      border-color: rgba(19, 68, 97, 0.1);
      box-shadow: 0 10px 22px rgba(12, 44, 69, 0.04);
    }
    .navbar .nav-link.is-active {
      background: linear-gradient(135deg, #08273a 0, #0e566a 100%);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 26px rgba(8, 39, 58, 0.12);
    }
    .nav-utility {
      gap: 0.55rem;
      padding-inline-start: 0.85rem;
      border-inline-start: 1px solid rgba(19, 68, 97, 0.08);
    }
    [dir="ltr"] .nav-utility {
      margin-left: auto;
      margin-right: 0;
    }
    [dir="rtl"] .nav-utility {
      margin-left: 0;
      margin-right: auto;
      padding-inline-start: 0;
      padding-inline-end: 0.85rem;
      border-inline-start: 0;
      border-inline-end: 1px solid rgba(19, 68, 97, 0.08);
    }
    html[data-theme="dark"] .nav-utility {
      border-color: rgba(88, 198, 204, 0.12);
    }
    .nav-utility .btn,
    .nav-utility .theme-toggle {
      min-height: 2.85rem;
      min-width: 6rem;
    }
    .theme-toggle {
      min-width: 6.45rem;
    }
    .home-hero-stage,
    .home-overview-panel,
    .home-summary-panel {
      position: relative;
      overflow: hidden;
      border-radius: 34px;
      border: 1px solid rgba(19, 68, 97, 0.08);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 250, 249, 0.93));
      box-shadow: 0 28px 56px rgba(12, 44, 69, 0.07);
    }
    .home-hero-stage::before,
    .home-overview-panel::before,
    .home-summary-panel::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 5px;
      background: linear-gradient(90deg, var(--mew-accent), rgba(214, 177, 102, 0.95));
    }
    .home-hero-stage::after {
      content: "";
      position: absolute;
      inset: auto auto -7rem -5rem;
      width: 22rem;
      height: 22rem;
      border-radius: 42px;
      transform: rotate(16deg);
      background: linear-gradient(135deg, rgba(11, 127, 143, 0.09), rgba(214, 177, 102, 0.06));
      pointer-events: none;
    }
    .home-overview-panel::after {
      content: "";
      position: absolute;
      inset: -4rem -4rem auto auto;
      width: 16rem;
      height: 16rem;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(214, 177, 102, 0.14), transparent 70%);
      pointer-events: none;
    }
    .home-hero-stage {
      padding: 2.4rem 2.5rem;
    }
    .home-summary-panel {
      padding: 1.8rem 2.1rem;
    }
    .home-hero-grid,
    .home-overview-header,
    .home-overview-grid,
    .home-summary-panel > * {
      position: relative;
      z-index: 1;
    }
    .home-hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.5rem;
      align-items: stretch;
    }
    .home-hero-copy {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }
    .home-hero-summary {
      max-width: 43rem;
      margin: 0 0 1.35rem;
      font-size: clamp(1.02rem, 1.8vw, 1.18rem);
      line-height: 1.9;
      color: var(--mew-muted);
    }
    .home-hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-bottom: 0.95rem;
    }
    .home-hero-actions .btn {
      min-width: 10.75rem;
      min-height: 3.2rem;
      padding: 0.85rem 1.2rem;
      border-radius: 16px;
    }
    .home-hero-note {
      margin: 0 0 1.3rem;
      color: var(--mew-muted);
      font-size: 0.94rem;
    }
    .home-stats-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.9rem;
      width: 100%;
      max-width: 42rem;
    }
    .home-stat-card {
      position: relative;
      overflow: hidden;
      padding: 1rem 1.05rem;
      border-radius: 22px;
      border: 1px solid rgba(19, 68, 97, 0.08);
      background: rgba(255, 255, 255, 0.76);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    }
    .home-stat-card::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: 4px;
      background: linear-gradient(180deg, var(--mew-accent), rgba(214, 177, 102, 0.9));
      opacity: 0.9;
    }
    .home-stat-value {
      font-size: clamp(1.45rem, 3vw, 1.85rem);
      font-weight: 800;
      line-height: 1.1;
      color: var(--mew-deep);
      margin-bottom: 0.25rem;
    }
    .home-stat-label {
      color: var(--mew-muted);
      font-size: 0.92rem;
    }
    .home-brief-card {
      position: relative;
      height: 100%;
      overflow: hidden;
      padding: 1.5rem;
      border-radius: 30px;
      background: linear-gradient(150deg, #08273a 0, #0d5f77 52%, #1395ab 100%);
      box-shadow: 0 28px 48px rgba(11, 92, 141, 0.18);
      color: #fff;
    }
    .home-brief-card::before {
      content: "";
      position: absolute;
      inset: -12% auto auto -10%;
      width: 16rem;
      height: 16rem;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.24), transparent 65%);
      pointer-events: none;
    }
    .home-panel-top,
    .home-panel-title,
    .home-panel-summary,
    .home-brief-list {
      position: relative;
      z-index: 1;
    }
    .home-panel-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      flex-wrap: wrap;
      margin-bottom: 1rem;
    }
    .home-panel-kicker,
    .home-panel-status {
      display: inline-flex;
      align-items: center;
      padding: 0.45rem 0.78rem;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      background: rgba(255, 255, 255, 0.12);
      font-size: 0.84rem;
      font-weight: 700;
    }
    .home-panel-title {
      margin: 0 0 0.65rem;
      color: #fff;
      font-size: 1.5rem;
      line-height: 1.45;
    }
    .home-panel-summary {
      margin: 0 0 1.1rem;
      color: rgba(255, 255, 255, 0.84);
      line-height: 1.85;
    }
    .home-brief-list {
      display: grid;
      gap: 0.8rem;
    }
    .home-brief-item {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 0.85rem;
      padding: 0.9rem 1rem;
      border-radius: 20px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(12px);
    }
    .home-brief-icon {
      width: 2.8rem;
      height: 2.8rem;
      border-radius: 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.14);
      color: #fff;
    }
    .home-brief-icon svg {
      width: 1.3rem;
      height: 1.3rem;
    }
    .home-brief-copy {
      display: grid;
      gap: 0.1rem;
      min-width: 0;
    }
    .home-brief-copy strong {
      font-size: 1rem;
    }
    .home-brief-copy span {
      color: rgba(255, 255, 255, 0.78);
      font-size: 0.9rem;
    }
    .home-brief-count {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 3rem;
      padding: 0.45rem 0.78rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.16);
      color: #fff;
      font-weight: 800;
    }
    .home-overview-panel {
      padding: 2rem 2.1rem;
    }
    .home-overview-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
      margin-bottom: 1.35rem;
    }
    .home-overview-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1rem;
    }
    .home-overview-footer {
      margin-top: 1.25rem;
      padding-top: 1.15rem;
      border-top: 1px solid rgba(19, 68, 97, 0.08);
      position: relative;
      z-index: 1;
    }
    .home-overview-card {
      display: block;
      position: relative;
      overflow: hidden;
      padding: 1.35rem;
      border-radius: 26px;
      border: 1px solid rgba(19, 68, 97, 0.09);
      background: rgba(255, 255, 255, 0.8);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
      transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
      color: inherit;
      text-decoration: none;
      cursor: pointer;
    }
    .home-overview-card::after {
      content: "";
      position: absolute;
      inset: auto -3rem -4rem auto;
      width: 11rem;
      height: 11rem;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(11, 127, 143, 0.12), transparent 70%);
      opacity: 0.88;
      pointer-events: none;
    }
    .home-overview-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 36px rgba(12, 44, 69, 0.1);
      border-color: rgba(11, 127, 143, 0.18);
    }
    .home-overview-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      margin-bottom: 1rem;
      position: relative;
      z-index: 1;
    }
    .home-overview-icon {
      width: 3.25rem;
      height: 3.25rem;
      border-radius: 22px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, rgba(11, 127, 143, 0.12), rgba(214, 177, 102, 0.16));
      color: var(--mew-accent-strong);
      border: 1px solid rgba(11, 127, 143, 0.09);
    }
    .home-overview-icon svg {
      width: 1.45rem;
      height: 1.45rem;
    }
    .home-overview-count {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.46rem 0.8rem;
      border-radius: 999px;
      background: rgba(11, 127, 143, 0.08);
      border: 1px solid rgba(11, 127, 143, 0.1);
      color: var(--mew-accent-strong);
      font-size: 0.84rem;
      font-weight: 700;
    }
    .home-overview-card .home-track-body {
      position: relative;
      z-index: 1;
      display: grid;
      gap: 0.2rem;
    }
    .home-overview-card .home-feature-title {
      margin: 0 0 0.45rem;
      font-size: 1.24rem;
    }
    .home-overview-card .home-feature-copy {
      margin: 0;
      line-height: 1.85;
    }
    .home-overview-card--forensic .home-overview-icon,
    .category-card--forensic .category-mark {
      background: linear-gradient(135deg, rgba(214, 177, 102, 0.15), rgba(11, 127, 143, 0.12));
    }
    .home-overview-card--machines .home-overview-icon,
    .category-card--machines .category-mark {
      background: linear-gradient(135deg, rgba(11, 127, 143, 0.16), rgba(20, 151, 176, 0.18));
    }
    .home-overview-card--other .home-overview-icon,
    .category-card--other .category-mark {
      background: linear-gradient(135deg, rgba(104, 128, 148, 0.14), rgba(214, 177, 102, 0.15));
    }
    .home-kicker--link {
      text-decoration: none;
      transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    }
    .home-kicker--link:hover {
      transform: translateY(-1px);
      box-shadow: 0 10px 22px rgba(12, 44, 69, 0.08);
    }
    html[data-theme="dark"] .home-hero-stage,
    html[data-theme="dark"] .home-overview-panel,
    html[data-theme="dark"] .home-summary-panel {
      border-color: rgba(88, 198, 204, 0.12);
      background: linear-gradient(180deg, rgba(15, 27, 33, 0.98), rgba(18, 33, 40, 0.95));
      box-shadow: 0 22px 50px rgba(0, 0, 0, 0.26);
    }
    html[data-theme="dark"] .home-overview-footer {
      border-top-color: rgba(88, 198, 204, 0.12);
    }
    html[data-theme="dark"] .home-kicker,
    html[data-theme="dark"] .home-kicker--link {
      color: #f1fbfc;
      background: rgba(88, 198, 204, 0.18);
      border-color: rgba(88, 198, 204, 0.22);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    }
    html[data-theme="dark"] .home-hero-summary,
    html[data-theme="dark"] .home-hero-note {
      color: #e2eef0;
    }
    html[data-theme="dark"] .home-stat-card,
    html[data-theme="dark"] .home-overview-card {
      background: rgba(18, 33, 40, 0.92);
      border-color: rgba(88, 198, 204, 0.1);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }
    html[data-theme="dark"] .home-stat-value,
    html[data-theme="dark"] .home-overview-card .home-feature-title {
      color: #f1fbfc;
    }
    html[data-theme="dark"] .home-stat-label,
    html[data-theme="dark"] .home-overview-card .home-feature-copy {
      color: #dcebed;
    }
    html[data-theme="dark"] .home-overview-count {
      background: rgba(88, 198, 204, 0.12);
      border-color: rgba(88, 198, 204, 0.16);
      color: #effafb;
    }
    .category-card {
      --category-glow: rgba(11, 127, 143, 0.16);
      position: relative;
      isolation: isolate;
      overflow: hidden;
      border-radius: 28px;
      border: 1px solid rgba(19, 68, 97, 0.1);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 251, 252, 0.93));
      box-shadow: 0 20px 38px rgba(12, 44, 69, 0.08);
      transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    }
    .category-card::before {
      height: 5px;
      background: linear-gradient(90deg, var(--mew-accent), rgba(214, 177, 102, 0.92));
    }
    .category-card::after {
      content: "";
      position: absolute;
      inset: auto -3rem -4rem auto;
      width: 12rem;
      height: 12rem;
      border-radius: 50%;
      background: radial-gradient(circle, var(--category-glow), transparent 70%);
      opacity: 0.9;
      transition: transform 0.3s ease, opacity 0.3s ease;
      z-index: 0;
    }
    .category-card .card-body {
      position: relative;
      z-index: 1;
      padding: 1.55rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      min-height: 100%;
    }
    .category-card-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
    }
    .category-card-copy {
      display: grid;
      gap: 0.45rem;
    }
    .category-card-desc {
      margin: 0;
      color: var(--mew-muted);
      line-height: 1.82;
    }
    .category-card-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      margin-top: auto;
      padding-top: 0.4rem;
    }
    .category-mark {
      width: 3.65rem;
      height: 3.65rem;
      margin: 0;
      border-radius: 22px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--mew-accent-strong);
      border: 1px solid rgba(11, 127, 143, 0.1);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    }
    .category-mark svg {
      width: 1.55rem;
      height: 1.55rem;
    }
    .category-total {
      min-width: auto;
      height: auto;
      padding: 0.48rem 0.8rem;
      border-radius: 999px;
      font-size: 0.85rem;
    }
    .category-card-count {
      display: inline-flex;
      align-items: center;
      padding: 0.55rem 0.85rem;
      border-radius: 999px;
      background: rgba(11, 127, 143, 0.08);
      border: 1px solid rgba(11, 127, 143, 0.1);
      color: var(--mew-accent-strong);
      font-size: 0.84rem;
      font-weight: 700;
    }
    .category-card-cta {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      color: var(--mew-accent-strong);
      font-weight: 800;
    }
    .category-card-cta::after {
      content: "\2190";
      font-size: 1rem;
      transition: transform 0.22s ease;
    }
    [dir="ltr"] .category-card-cta::after {
      content: "\2192";
    }
    .category-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 28px 50px rgba(12, 44, 69, 0.12);
      border-color: rgba(11, 127, 143, 0.2);
    }
    .category-card:hover::after {
      transform: scale(1.08);
      opacity: 1;
    }
    .category-card:hover .category-card-cta::after {
      transform: translateX(-3px);
    }
    [dir="ltr"] .category-card:hover .category-card-cta::after {
      transform: translateX(3px);
    }
    .category-card--web {
      --category-glow: rgba(11, 127, 143, 0.18);
    }
    .category-card--forensic {
      --category-glow: rgba(214, 177, 102, 0.2);
    }
    .category-card--machines {
      --category-glow: rgba(15, 151, 176, 0.18);
    }
    .category-card--other {
      --category-glow: rgba(104, 128, 148, 0.18);
    }
    html[data-theme="dark"] .category-card {
      background: linear-gradient(180deg, rgba(18, 33, 40, 0.98), rgba(15, 27, 33, 0.95));
      border-color: rgba(88, 198, 204, 0.1);
      box-shadow: 0 20px 38px rgba(0, 0, 0, 0.24);
    }
    html[data-theme="dark"] .category-card-desc {
      color: #d7e6e9;
    }
    html[data-theme="dark"] .category-card-count,
    html[data-theme="dark"] .category-total {
      background: rgba(88, 198, 204, 0.12);
      border-color: rgba(88, 198, 204, 0.16);
    }
    @media (max-width: 1199.98px) {
      .home-hero-grid {
        grid-template-columns: 1fr;
      }
      .home-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
      }
      .home-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
    @media (max-width: 991.98px) {
      .official-topbar-inner {
        min-height: 4.8rem;
        gap: 0.9rem;
      }
      .official-actions {
        width: 100%;
      }
      .official-logo {
        height: 3.6rem;
      }
      .navbar .container {
        border-radius: 20px;
        padding: 0.8rem 0.9rem;
      }
      .nav-utility {
        width: 100%;
        margin: 0;
        padding: 0.8rem 0 0;
        border: 0;
        border-top: 1px solid rgba(19, 68, 97, 0.09);
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
      }
      html[data-theme="dark"] .nav-utility {
        border-top-color: rgba(88, 198, 204, 0.12);
      }
      [dir="rtl"] .nav-utility {
        padding-inline-end: 0;
        border-inline-end: 0;
      }
      .home-hero-stage,
      .home-overview-panel,
      .home-summary-panel {
        padding: 1.65rem 1.3rem;
        border-radius: 28px;
      }
      .home-hero-actions .btn {
        flex: 1 1 calc(50% - 0.4rem);
        min-width: 0;
      }
      .home-overview-header {
        align-items: flex-start;
      }
    }
    @media (max-width: 767.98px) {
      .official-actions .topbar-btn {
        flex-basis: 100%;
        width: 100%;
      }
      .official-logo {
        height: 3.3rem;
      }
      .nav-utility {
        grid-template-columns: 1fr;
      }
      .home-display-title {
        font-size: clamp(2.05rem, 10vw, 2.75rem);
      }
      .home-hero-summary {
        font-size: 1rem;
        line-height: 1.82;
      }
      .home-stats-grid,
      .home-overview-grid {
        grid-template-columns: 1fr;
      }
      .home-hero-actions {
        width: 100%;
      }
      .home-hero-actions .btn {
        width: 100%;
        flex-basis: 100%;
      }
      .home-brief-item {
        grid-template-columns: auto minmax(0, 1fr);
      }
      .home-brief-count {
        grid-column: 2;
        justify-self: start;
      }
      .category-card .card-body {
        padding: 1.35rem;
      }
      .category-card-meta {
        flex-direction: column;
        align-items: flex-start;
      }
    }
    :root {
      --mew-muted: #5c7385;
      --mew-border: rgba(19, 68, 97, 0.14);
      --mew-shadow: 0 20px 44px rgba(8, 39, 58, 0.1);
      --mew-surface: rgba(255, 255, 255, 0.94);
    }
    html[data-theme="dark"] {
      --mew-muted: #d5e4e7;
      --mew-border: rgba(88, 198, 204, 0.14);
    }
    body {
      background:
        linear-gradient(180deg, rgba(11, 127, 143, 0.05), transparent 22%),
        radial-gradient(circle at top right, rgba(214, 177, 102, 0.1), transparent 18%),
        linear-gradient(180deg, #eef4f5 0, #f7faf9 220px, #fcfdfd 100%);
    }
    h1 {
      font-size: clamp(2.4rem, 4.4vw, 3.55rem);
      line-height: 1.12;
      letter-spacing: -0.04em;
    }
    h2 {
      font-size: clamp(1.7rem, 2.8vw, 2.3rem);
      line-height: 1.2;
    }
    h3 {
      font-size: clamp(1.2rem, 2vw, 1.5rem);
      line-height: 1.35;
    }
    p,
    li {
      color: var(--mew-ink);
    }
    .page-shell > .alert {
      margin-bottom: 1.25rem;
    }
    .card,
    .surface-card {
      border-color: var(--mew-border);
      box-shadow: var(--mew-shadow);
    }
    .btn {
      min-height: 2.95rem;
      border-radius: 15px;
    }
    .btn-lg {
      min-height: 3.2rem;
      padding: 0.9rem 1.2rem;
      border-radius: 16px;
    }
    .alert {
      position: relative;
      overflow: hidden;
      border-radius: 22px;
      padding: 1rem 1.1rem;
      border-width: 1px;
    }
    .alert::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: 4px;
      border-radius: 999px;
      opacity: 0.95;
    }
    .alert-success::before {
      background: linear-gradient(180deg, #1f9d61, #6ad999);
    }
    .alert-danger::before {
      background: linear-gradient(180deg, #c94056, #ff8d98);
    }
    .alert-secondary::before {
      background: linear-gradient(180deg, var(--mew-accent), var(--mew-gold));
    }
    .status-badge,
    .meta-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.35rem;
      padding: 0.5rem 0.78rem;
      border-radius: 999px;
      border: 1px solid rgba(19, 68, 97, 0.1);
      font-size: 0.82rem;
      font-weight: 800;
      line-height: 1;
      white-space: nowrap;
    }
    .meta-badge {
      background: rgba(11, 127, 143, 0.07);
      color: var(--mew-accent-strong);
    }
    .status-badge--success {
      background: rgba(25, 135, 84, 0.12);
      border-color: rgba(25, 135, 84, 0.18);
      color: #157347;
    }
    .status-badge--warning {
      background: rgba(214, 177, 102, 0.18);
      border-color: rgba(214, 177, 102, 0.24);
      color: #8b6220;
    }
    .status-badge--info {
      background: rgba(11, 127, 143, 0.12);
      border-color: rgba(11, 127, 143, 0.16);
      color: var(--mew-accent-strong);
    }
    .status-badge--muted {
      background: rgba(104, 128, 148, 0.12);
      border-color: rgba(104, 128, 148, 0.16);
      color: #54697a;
    }
    .status-badge--danger {
      background: rgba(220, 53, 69, 0.12);
      border-color: rgba(220, 53, 69, 0.18);
      color: #b4233b;
    }
    .difficulty-easy {
      background: rgba(25, 135, 84, 0.1);
      border-color: rgba(25, 135, 84, 0.16);
      color: #157347;
    }
    .difficulty-medium {
      background: rgba(11, 127, 143, 0.1);
      border-color: rgba(11, 127, 143, 0.16);
      color: var(--mew-accent-strong);
    }
    .difficulty-hard {
      background: rgba(214, 177, 102, 0.18);
      border-color: rgba(214, 177, 102, 0.24);
      color: #946b25;
    }
    .difficulty-elite {
      background: rgba(161, 60, 84, 0.12);
      border-color: rgba(161, 60, 84, 0.18);
      color: #8c2746;
    }
    html[data-theme="dark"] .meta-badge,
    html[data-theme="dark"] .status-badge--info {
      background: rgba(88, 198, 204, 0.12);
      border-color: rgba(88, 198, 204, 0.16);
      color: #eff9fa;
    }
    html[data-theme="dark"] .status-badge--success,
    html[data-theme="dark"] .difficulty-easy {
      background: rgba(25, 135, 84, 0.16);
      border-color: rgba(25, 135, 84, 0.24);
      color: #bff3d8;
    }
    html[data-theme="dark"] .status-badge--warning,
    html[data-theme="dark"] .difficulty-hard {
      background: rgba(214, 177, 102, 0.16);
      border-color: rgba(214, 177, 102, 0.22);
      color: #ffe4b2;
    }
    html[data-theme="dark"] .status-badge--muted,
    html[data-theme="dark"] .difficulty-medium {
      background: rgba(104, 128, 148, 0.16);
      border-color: rgba(104, 128, 148, 0.2);
      color: #d8e5e8;
    }
    html[data-theme="dark"] .difficulty-elite {
      background: rgba(161, 60, 84, 0.18);
      border-color: rgba(161, 60, 84, 0.24);
      color: #ffcad7;
    }
    .copy-field {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      flex-wrap: wrap;
    }
    .copy-value {
      display: inline-flex;
      align-items: center;
      min-height: 3rem;
      padding: 0.75rem 0.95rem;
      border-radius: 16px;
      border: 1px solid rgba(19, 68, 97, 0.12);
      background: rgba(248, 251, 252, 0.95);
      color: var(--mew-deep);
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      font-size: 0.93rem;
      line-height: 1.6;
      word-break: break-word;
    }
    .copy-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 2.7rem;
      padding: 0.65rem 0.9rem;
      border-radius: 14px;
      border: 1px solid rgba(19, 68, 97, 0.12);
      background: rgba(255, 255, 255, 0.84);
      color: var(--mew-accent-strong);
      font-weight: 800;
      transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    }
    .copy-btn:hover,
    .copy-btn:focus {
      transform: translateY(-1px);
      border-color: rgba(11, 127, 143, 0.18);
      background: rgba(255, 255, 255, 0.96);
    }
    .copy-btn.is-copied {
      background: rgba(25, 135, 84, 0.12);
      border-color: rgba(25, 135, 84, 0.18);
      color: #157347;
    }
    html[data-theme="dark"] .copy-value {
      background: rgba(18, 33, 40, 0.94);
      border-color: rgba(88, 198, 204, 0.12);
      color: #f0f7f8;
    }
    html[data-theme="dark"] .copy-btn {
      background: rgba(18, 31, 37, 0.92);
      border-color: rgba(88, 198, 204, 0.16);
      color: #eef9fa;
    }
    html[data-theme="dark"] .copy-btn.is-copied {
      background: rgba(25, 135, 84, 0.2);
      border-color: rgba(25, 135, 84, 0.28);
    }
    .leaderboard-summary-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1rem;
    }
    .scoreboard-banner > .d-flex {
      flex-wrap: nowrap !important;
      align-items: center !important;
    }
    .scoreboard-banner > .d-flex > :first-child {
      flex: 1 1 auto;
      min-width: 0;
    }
    .scoreboard-banner > .d-flex > :last-child {
      flex: 0 0 auto;
    }
    .scoreboard-banner .subtitle {
      max-width: none;
      white-space: nowrap;
      font-size: 0.96rem;
    }
    .leaderboard-podium {
      position: relative;
      overflow: hidden;
      padding: 1.3rem;
      border-radius: 28px;
      border: 1px solid rgba(19, 68, 97, 0.1);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 252, 0.92));
      box-shadow: 0 22px 44px rgba(12, 44, 69, 0.08);
    }
    .leaderboard-podium::after {
      content: "";
      position: absolute;
      inset: auto -3rem -4rem auto;
      width: 12rem;
      height: 12rem;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(11, 127, 143, 0.12), transparent 70%);
      pointer-events: none;
    }
    .leaderboard-podium--rank-1 {
      background: linear-gradient(160deg, #08273a 0, #0f677f 58%, #14a1b5 100%);
      color: #fff;
      box-shadow: 0 26px 48px rgba(8, 39, 58, 0.18);
    }
    .leaderboard-podium--rank-1::after {
      background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
    }
    .leaderboard-podium--rank-2 {
      background: linear-gradient(180deg, rgba(250, 252, 253, 0.98), rgba(241, 246, 248, 0.92));
    }
    .leaderboard-podium--rank-3 {
      background: linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(248, 242, 236, 0.92));
    }
    .leaderboard-podium--current {
      border-style: dashed;
      border-color: rgba(11, 127, 143, 0.26);
    }
    .leaderboard-podium-head,
    .leaderboard-podium-title,
    .leaderboard-podium-score,
    .leaderboard-podium-meta {
      position: relative;
      z-index: 1;
    }
    .leaderboard-podium-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      margin-bottom: 1rem;
    }
    .leaderboard-medal,
    .leaderboard-rank-chip {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2.55rem;
      height: 2.55rem;
      border-radius: 999px;
      font-weight: 800;
      font-size: 0.95rem;
      border: 1px solid transparent;
      font-variant-numeric: tabular-nums;
      letter-spacing: -0.01em;
    }
    .leaderboard-medal--wide {
      width: auto;
      min-width: 3.35rem;
      padding-inline: 0.7rem;
    }
    .leaderboard-medal--1 {
      background: linear-gradient(135deg, #f2cc76, #d9a53e);
      color: #5e3b00;
    }
    .leaderboard-medal--2 {
      background: linear-gradient(135deg, #e5edf2, #bbc9d3);
      color: #405361;
    }
    .leaderboard-medal--3 {
      background: linear-gradient(135deg, #e7c0a1, #c88d57);
      color: #5f3821;
    }
    .leaderboard-medal--neutral {
      background: rgba(11, 127, 143, 0.1);
      color: var(--mew-accent-strong);
      border-color: rgba(11, 127, 143, 0.12);
    }
    .leaderboard-you-tag {
      display: inline-flex;
      align-items: center;
      padding: 0.42rem 0.72rem;
      border-radius: 999px;
      background: rgba(11, 127, 143, 0.1);
      border: 1px solid rgba(11, 127, 143, 0.12);
      color: var(--mew-accent-strong);
      font-size: 0.78rem;
      font-weight: 800;
    }
    .leaderboard-podium--rank-1 .leaderboard-you-tag {
      background: rgba(255, 255, 255, 0.14);
      border-color: rgba(255, 255, 255, 0.18);
      color: #fff;
    }
    .leaderboard-podium-title {
      display: grid;
      gap: 0.2rem;
      margin-bottom: 0.8rem;
    }
    .leaderboard-podium-title span {
      font-size: 1.18rem;
      font-weight: 800;
    }
    .leaderboard-podium-title small {
      color: inherit;
      opacity: 0.72;
    }
    .leaderboard-podium-score {
      font-size: clamp(1.5rem, 2.2vw, 1.95rem);
      font-weight: 900;
      margin-bottom: 0.85rem;
    }
    .leaderboard-podium-meta {
      display: grid;
      gap: 0.3rem;
      color: inherit;
      opacity: 0.8;
      font-size: 0.9rem;
    }
    .leaderboard-shell .card-body {
      padding: 1rem 1rem 0.35rem;
    }
    .leaderboard-row {
      transition: background-color 0.2s ease, transform 0.2s ease;
    }
    .leaderboard-row td {
      padding-top: 1rem;
      padding-bottom: 1rem;
      border-top-color: rgba(19, 68, 97, 0.08);
    }
    .leaderboard-row:hover {
      background: rgba(11, 127, 143, 0.05);
      transform: translateY(-1px);
    }
    .leaderboard-row--current {
      background: rgba(11, 127, 143, 0.06);
    }
    .leaderboard-row--top-1 {
      background: linear-gradient(90deg, rgba(11, 127, 143, 0.08), transparent 80%);
    }
    .leaderboard-row--top-2 {
      background: linear-gradient(90deg, rgba(196, 210, 219, 0.14), transparent 80%);
    }
    .leaderboard-row--top-3 {
      background: linear-gradient(90deg, rgba(214, 177, 102, 0.12), transparent 80%);
    }
    .leaderboard-rank-wrap {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-wrap: nowrap;
    }
    .leaderboard-user {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-wrap: wrap;
    }
    .leaderboard-rank-number {
      font-size: 1rem;
      color: var(--mew-deep);
      font-variant-numeric: tabular-nums;
      min-width: 2.5ch;
    }
    .leaderboard-score-pill,
    .leaderboard-solve-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 5rem;
      min-height: 2.6rem;
      padding: 0.55rem 0.9rem;
      border-radius: 999px;
      font-weight: 800;
    }
    .leaderboard-score-pill {
      background: linear-gradient(135deg, #08273a 0, #0d6077 100%);
      color: #fff;
      box-shadow: 0 14px 24px rgba(8, 39, 58, 0.14);
    }
    .leaderboard-solve-pill {
      background: rgba(11, 127, 143, 0.08);
      border: 1px solid rgba(11, 127, 143, 0.12);
      color: var(--mew-accent-strong);
    }
    html[data-theme="dark"] .leaderboard-podium {
      background: linear-gradient(180deg, rgba(18, 33, 40, 0.98), rgba(15, 27, 33, 0.95));
      border-color: rgba(88, 198, 204, 0.12);
      box-shadow: 0 22px 42px rgba(0, 0, 0, 0.26);
    }
    html[data-theme="dark"] .leaderboard-podium--rank-1 {
      background: linear-gradient(160deg, #0a202d 0, #0b5365 58%, #118296 100%);
    }
    html[data-theme="dark"] .leaderboard-row td {
      border-top-color: rgba(88, 198, 204, 0.1);
    }
    html[data-theme="dark"] .leaderboard-row:hover,
    html[data-theme="dark"] .leaderboard-row--current {
      background: rgba(88, 198, 204, 0.08);
    }
    html[data-theme="dark"] .leaderboard-solve-pill {
      background: rgba(88, 198, 204, 0.12);
      border-color: rgba(88, 198, 204, 0.18);
      color: #eef9fa;
    }
    .vpn-page-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
    }
    .vpn-section-card {
      position: relative;
      overflow: hidden;
      padding: 1.45rem;
      border-radius: 28px;
      border: 1px solid rgba(19, 68, 97, 0.1);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 252, 0.94));
      box-shadow: 0 22px 42px rgba(12, 44, 69, 0.08);
    }
    .vpn-section-card::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 4px;
      background: linear-gradient(90deg, var(--mew-accent), rgba(214, 177, 102, 0.9));
    }
    .vpn-section-card--wide {
      grid-column: 1 / -1;
    }
    .vpn-card-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1rem;
    }
    .vpn-card-head > div {
      display: grid;
      gap: 0.35rem;
    }
    .vpn-card-head .eyebrow,
    .challenge-section-head .eyebrow {
      margin-bottom: 0;
    }
    .vpn-card-title {
      margin: 0;
      color: var(--mew-deep);
      font-size: 1.2rem;
    }
    .vpn-card-copy {
      margin: 0 0 1rem;
      color: var(--mew-muted);
      line-height: 1.85;
    }
    .vpn-status-grid,
    .vpn-detail-stack {
      display: grid;
      gap: 0.85rem;
    }
    .vpn-status-item,
    .vpn-detail-row {
      display: grid;
      gap: 0.45rem;
      padding: 0.95rem 1rem;
      border-radius: 20px;
      border: 1px solid rgba(19, 68, 97, 0.08);
      background: rgba(255, 255, 255, 0.76);
    }
    .vpn-status-label,
    .vpn-detail-label {
      color: var(--mew-muted);
      font-size: 0.88rem;
      font-weight: 700;
    }
    .vpn-inline-note {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px solid rgba(19, 68, 97, 0.08);
    }
    .vpn-download-btn {
      margin-top: 1rem;
      width: 100%;
    }
    .vpn-steps-list {
      margin: 0 0 1rem;
      display: grid;
      gap: 0.75rem;
    }
    .vpn-steps-list > * {
      padding: 0.1rem 0 0.1rem 0.25rem;
      line-height: 1.85;
    }
    html[data-theme="dark"] .vpn-section-card {
      background: linear-gradient(180deg, rgba(18, 33, 40, 0.98), rgba(15, 27, 33, 0.95));
      border-color: rgba(88, 198, 204, 0.12);
      box-shadow: 0 22px 42px rgba(0, 0, 0, 0.26);
    }
    html[data-theme="dark"] .vpn-status-item,
    html[data-theme="dark"] .vpn-detail-row {
      background: rgba(18, 33, 40, 0.94);
      border-color: rgba(88, 198, 204, 0.1);
    }
    html[data-theme="dark"] .status-badge--danger {
      background: rgba(220, 53, 69, 0.18);
      border-color: rgba(220, 53, 69, 0.24);
      color: #ffd3da;
    }
    .challenge-list-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .challenge-list-title {
      font-size: 1.35rem;
      color: var(--mew-deep);
    }
    .challenge-list-subtitle {
      color: var(--mew-muted);
      margin-top: 0.35rem;
      max-width: 38rem;
    }
    .challenge-list-stack {
      display: grid;
      gap: 1rem;
    }
    .challenge-list-stack--grid {
      grid-template-columns: repeat(5, minmax(0, 1fr));
      align-items: stretch;
    }
    .challenge-row {
      padding: 1.15rem 1.2rem 1.15rem 1.35rem;
      border-radius: 24px;
      border: 1px solid rgba(19, 68, 97, 0.1);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 252, 0.94));
      box-shadow: 0 18px 34px rgba(12, 44, 69, 0.06);
    }
    .challenge-row--grid {
      height: 100%;
      padding: 1rem;
      overflow: hidden;
      border-color: rgba(11, 127, 143, 0.12);
      background:
        radial-gradient(circle at top right, rgba(214, 177, 102, 0.14), transparent 34%),
        radial-gradient(circle at bottom left, rgba(11, 127, 143, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 249, 251, 0.96));
      box-shadow: 0 20px 36px rgba(12, 44, 69, 0.08);
    }
    .challenge-row--grid:hover {
      transform: translateY(-6px);
      box-shadow: 0 26px 46px rgba(12, 44, 69, 0.12);
      border-color: rgba(11, 127, 143, 0.22);
    }
    .challenge-row::before {
      width: 5px;
    }
    .challenge-row--grid::before {
      inset: 0 1rem auto 1rem;
      width: auto;
      height: 4px;
      opacity: 1;
    }
    .challenge-row--grid::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 38%);
      pointer-events: none;
    }
    .challenge-row-main {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 1rem;
      align-items: center;
    }
    .challenge-row-copy {
      min-width: 0;
      display: grid;
      gap: 0.6rem;
    }
    .challenge-row-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      flex-wrap: wrap;
    }
    .challenge-row-topline {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      flex-wrap: wrap;
    }
    .challenge-row-topline-meta {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.45rem;
      flex-wrap: wrap;
    }
    .challenge-row-eyebrow {
      display: inline-flex;
      align-items: center;
      min-height: 2rem;
      padding: 0.38rem 0.72rem;
      border-radius: 999px;
      border: 1px solid rgba(11, 127, 143, 0.12);
      background: rgba(11, 127, 143, 0.08);
      color: var(--mew-accent-strong);
      font-size: 0.74rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .challenge-row-title {
      color: var(--mew-deep);
      font-size: 1.18rem;
      line-height: 1.35;
    }
    .challenge-row-badges {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      flex-wrap: wrap;
    }
    .challenge-row-description {
      margin: 0;
      color: var(--mew-muted);
      line-height: 1.8;
      max-width: 46rem;
    }
    .challenge-row-solvers {
      display: grid;
      gap: 0.55rem;
    }
    .challenge-solvers-label {
      color: var(--mew-muted);
      font-size: 0.84rem;
      font-weight: 800;
    }
    .challenge-solver-list {
      display: flex;
      align-items: center;
      gap: 0.45rem;
      flex-wrap: wrap;
    }
    .solver-chip {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.45rem 0.72rem;
      border-radius: 999px;
      border: 1px solid rgba(11, 127, 143, 0.12);
      background: rgba(11, 127, 143, 0.08);
      color: var(--mew-accent-strong);
      font-size: 0.83rem;
      font-weight: 700;
      line-height: 1;
    }
    .challenge-solvers-panel {
      padding: 1rem 1.05rem;
      border-radius: 22px;
      border: 1px solid rgba(19, 68, 97, 0.08);
      background: rgba(255, 255, 255, 0.76);
    }
    .challenge-row-side {
      display: grid;
      gap: 0.75rem;
      justify-items: end;
    }
    .challenge-row-side--grid {
      margin-top: auto;
      align-self: end;
      justify-items: stretch;
      padding-top: 0.9rem;
      border-top: 1px solid rgba(19, 68, 97, 0.08);
    }
    .challenge-card-state {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 2rem;
      padding: 0.38rem 0.72rem;
      border-radius: 999px;
      border: 1px solid rgba(25, 135, 84, 0.18);
      background: rgba(25, 135, 84, 0.12);
      color: #157347;
      font-size: 0.74rem;
      font-weight: 900;
      letter-spacing: 0.04em;
      white-space: nowrap;
    }
    .challenge-row--grid .challenge-row-main {
      height: 100%;
      grid-template-columns: minmax(0, 1fr);
      align-content: start;
    }
    .challenge-row--grid .challenge-row-copy {
      height: 100%;
      gap: 0.9rem;
    }
    .challenge-row--grid .challenge-row-head {
      display: block;
    }
    .challenge-row--grid .challenge-row-title {
      display: -webkit-box;
      min-height: 3.1rem;
      overflow: hidden;
      font-size: 1.08rem;
      font-weight: 800;
      line-height: 1.45;
      letter-spacing: -0.01em;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }
    .challenge-row--grid .challenge-row-badges {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.5rem;
    }
    .challenge-row--grid .meta-badge {
      min-height: 2.45rem;
      min-width: 0;
      padding: 0.48rem 0.62rem;
      font-size: 0.76rem;
      line-height: 1.2;
      text-align: center;
      white-space: normal;
    }
    .challenge-row--grid .challenge-points-badge {
      justify-self: start;
      min-width: 0;
      box-shadow: none;
    }
    .challenge-points-badge--grid {
      min-height: 2rem;
      padding: 0.4rem 0.72rem;
      border-radius: 999px;
      font-size: 0.75rem;
      letter-spacing: 0.01em;
      background: linear-gradient(135deg, #08344a 0, #0c7388 100%);
    }
    .challenge-grid-action {
      width: 100%;
      min-height: 3.05rem;
      border-radius: 15px;
      font-weight: 800;
      font-size: 0.92rem;
      letter-spacing: 0.01em;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    }
    .challenge-row--grid .btn-outline-primary.challenge-grid-action {
      color: #fff;
      background: linear-gradient(135deg, #0b7f8f 0, #0a6679 100%);
      border-color: rgba(11, 127, 143, 0.24);
      box-shadow: 0 14px 24px rgba(11, 127, 143, 0.22);
    }
    .challenge-row--grid .btn-outline-primary.challenge-grid-action:hover,
    .challenge-row--grid .btn-outline-primary.challenge-grid-action:focus {
      color: #fff;
      background: linear-gradient(135deg, #0d90a1 0, #0b7084 100%);
      border-color: rgba(11, 127, 143, 0.32);
    }
    .challenge-row--grid .btn-success.challenge-grid-action {
      border-color: rgba(25, 135, 84, 0.24);
      background: linear-gradient(135deg, #198754 0, #2ca36b 100%);
      box-shadow: 0 14px 24px rgba(25, 135, 84, 0.2);
    }
    .challenge-points-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 7rem;
      min-height: 2.9rem;
      padding: 0.7rem 0.95rem;
      border-radius: 18px;
      background: linear-gradient(135deg, #08273a 0, #0d6077 100%);
      color: #fff;
      font-weight: 800;
      box-shadow: 0 14px 24px rgba(8, 39, 58, 0.14);
    }
    html[data-theme="dark"] .challenge-row {
      background: linear-gradient(180deg, rgba(18, 33, 40, 0.98), rgba(15, 27, 33, 0.95));
      border-color: rgba(88, 198, 204, 0.1);
    }
    html[data-theme="dark"] .challenge-row--grid {
      border-color: rgba(88, 198, 204, 0.16);
      background:
        radial-gradient(circle at top right, rgba(214, 177, 102, 0.08), transparent 34%),
        radial-gradient(circle at bottom left, rgba(88, 198, 204, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(18, 34, 40, 0.98), rgba(13, 24, 30, 0.96));
      box-shadow: 0 22px 42px rgba(0, 0, 0, 0.24);
    }
    html[data-theme="dark"] .challenge-row--grid:hover {
      box-shadow: 0 26px 48px rgba(0, 0, 0, 0.3);
      border-color: rgba(88, 198, 204, 0.24);
    }
    html[data-theme="dark"] .challenge-row--grid::after {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 42%);
    }
    html[data-theme="dark"] .challenge-solvers-panel {
      background: rgba(18, 33, 40, 0.94);
      border-color: rgba(88, 198, 204, 0.1);
    }
    html[data-theme="dark"] .challenge-row-eyebrow {
      background: rgba(88, 198, 204, 0.12);
      border-color: rgba(88, 198, 204, 0.18);
      color: #eef9fa;
    }
    html[data-theme="dark"] .challenge-card-state {
      background: rgba(25, 135, 84, 0.18);
      border-color: rgba(25, 135, 84, 0.28);
      color: #c8f0db;
    }
    html[data-theme="dark"] .challenge-row-side--grid {
      border-top-color: rgba(88, 198, 204, 0.12);
    }
    html[data-theme="dark"] .challenge-row--grid .btn-outline-primary.challenge-grid-action {
      color: #eff9fa;
      background: linear-gradient(135deg, #138a97 0, #0e6f82 100%);
      border-color: rgba(88, 198, 204, 0.22);
    }
    html[data-theme="dark"] .challenge-row--grid .btn-outline-primary.challenge-grid-action:hover,
    html[data-theme="dark"] .challenge-row--grid .btn-outline-primary.challenge-grid-action:focus {
      background: linear-gradient(135deg, #1a9fad 0, #118194 100%);
      border-color: rgba(88, 198, 204, 0.28);
    }
    .challenge-page-banner {
      min-height: 16rem;
      padding: 1.7rem 2.1rem 1.9rem;
      display: grid;
      grid-template-rows: auto 1fr;
      gap: 0.45rem;
    }
    .challenge-page-banner .challenge-hero-title {
      margin: 0;
      color: var(--mew-deep);
      font-size: clamp(2.15rem, 4.1vw, 3.45rem);
      line-height: 1.05;
      letter-spacing: -0.04em;
    }
    .challenge-banner-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .challenge-banner-back {
      min-width: 5.35rem;
      min-height: 3.95rem;
      padding-inline: 1.15rem;
      border-radius: 22px;
      flex: 0 0 auto;
      font-size: 0.95rem;
    }
    .challenge-banner-eyebrow {
      margin-bottom: 0;
      align-self: flex-start;
      min-height: 2.6rem;
      padding-inline: 1.15rem;
      font-size: 0.9rem;
    }
    .challenge-page-banner .challenge-hero-copy {
      width: 100%;
      max-width: 100%;
      display: grid;
      justify-items: center;
      align-content: start;
      gap: 0.8rem;
      margin: 0 auto;
      text-align: center;
    }
    .challenge-hero-badges {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.65rem;
      flex-wrap: wrap;
    }
    .challenge-hero-badges .detail-chip {
      min-height: 2.8rem;
      padding: 0.62rem 0.98rem;
      font-size: 0.94rem;
    }
    [dir="rtl"] .challenge-page-banner .challenge-hero-copy {
      width: min(38rem, 100%);
      margin-right: 0;
      margin-left: auto;
      justify-items: end;
      text-align: right;
    }
    [dir="rtl"] .challenge-page-banner .challenge-hero-title {
      width: 100%;
      text-align: right;
    }
    [dir="rtl"] .challenge-hero-badges {
      width: 100%;
      justify-content: flex-start;
      direction: rtl;
    }
    [dir="ltr"] .challenge-page-banner .challenge-hero-copy {
      margin-left: auto;
      margin-right: auto;
    }
    .challenge-section-head {
      display: grid;
      gap: 0.35rem;
      margin-bottom: 1rem;
    }
    .challenge-section-title {
      margin: 0;
      color: var(--mew-deep);
    }
    .challenge-state-panel {
      display: grid;
      gap: 0.9rem;
      padding: 1.1rem 1.15rem;
      border-radius: 24px;
      border: 1px solid rgba(19, 68, 97, 0.08);
      background: rgba(255, 255, 255, 0.74);
      margin-bottom: 1rem;
    }
    .challenge-state-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      flex-wrap: wrap;
    }
    .challenge-state-time {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      flex-wrap: wrap;
      color: var(--mew-muted);
      font-weight: 700;
    }
    .challenge-state-time .copy-value {
      min-width: 0;
      padding: 0.22rem 0.5rem;
      font-size: 0.8rem;
    }
    .challenge-state-copy {
      line-height: 1.9;
      color: var(--mew-ink);
    }
    .machine-global-notice {
      position: fixed;
      bottom: 0.95rem;
      z-index: 1080;
      width: min(15rem, calc(100vw - 1.5rem));
      padding: 0;
      border-radius: 999px;
      border: 1px solid rgba(25, 135, 84, 0.18);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 251, 246, 0.93));
      box-shadow: 0 18px 36px rgba(12, 44, 69, 0.12);
      backdrop-filter: blur(10px);
      overflow: hidden;
      transition: width 0.2s ease, border-radius 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }
    .machine-global-notice[open] {
      width: min(19.5rem, calc(100vw - 1.5rem));
      padding: 0.8rem 0.85rem;
      border-radius: 18px;
    }
    .machine-global-trigger {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.55rem;
      width: 100%;
      padding: 0.45rem 0.6rem;
      cursor: pointer;
      list-style: none;
      user-select: none;
    }
    .machine-global-trigger::-webkit-details-marker {
      display: none;
    }
    .machine-global-trigger-main {
      display: flex;
      align-items: center;
      gap: 0.45rem;
      min-width: 0;
    }
    .machine-global-trigger-label {
      min-width: 0;
      color: var(--mew-deep);
      font-size: 0.9rem;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .machine-global-trigger-icon {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 1.6rem;
      height: 1.6rem;
      border-radius: 50%;
      background: rgba(25, 135, 84, 0.1);
      color: #146c43;
      font-size: 1rem;
      font-weight: 800;
      line-height: 1;
      transition: transform 0.2s ease, background 0.2s ease;
    }
    .machine-global-notice[open] .machine-global-trigger {
      padding: 0;
      margin-bottom: 0.55rem;
    }
    .machine-global-notice[open] .machine-global-trigger-icon {
      transform: none;
    }
    .machine-global-notice[open] .machine-global-title,
    .machine-global-notice[open] .machine-global-copy {
      display: block;
      -webkit-line-clamp: unset;
      -webkit-box-orient: initial;
      overflow: visible;
    }
    .machine-global-panel {
      display: grid;
      gap: 0;
    }
    .machine-global-notice:not([open]) .machine-global-panel {
      display: none;
    }
    [dir="rtl"] .machine-global-notice {
      right: 1rem;
      left: auto;
    }
    [dir="ltr"] .machine-global-notice {
      left: 1rem;
      right: auto;
    }
    .machine-global-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      margin-bottom: 0.45rem;
    }
    .machine-global-state {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.32rem 0.6rem;
      border-radius: 999px;
      background: rgba(25, 135, 84, 0.11);
      color: #146c43;
      font-size: 0.74rem;
      font-weight: 800;
    }
    .machine-global-dot {
      width: 0.42rem;
      height: 0.42rem;
      border-radius: 50%;
      background: #198754;
      box-shadow: 0 0 0 0.16rem rgba(25, 135, 84, 0.12);
    }
    .machine-global-title {
      margin: 0 0 0.2rem;
      color: var(--mew-deep);
      font-size: 0.92rem;
      line-height: 1.4;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .machine-global-copy {
      margin: 0;
      color: var(--mew-muted);
      line-height: 1.45;
      font-size: 0.82rem;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .machine-global-footer {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 0.55rem;
      margin-top: 0.65rem;
    }
    .machine-global-time {
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.35rem;
      color: var(--mew-muted);
      font-weight: 700;
      font-size: 0.78rem;
    }
    .machine-global-time .copy-value {
      min-width: 0;
      padding: 0.18rem 0.45rem;
      font-size: 0.75rem;
    }
    .machine-global-notice .btn {
      min-height: 2rem;
      padding: 0.42rem 0.72rem;
      border-radius: 999px;
      font-size: 0.78rem;
      font-weight: 700;
    }
    .machine-global-footer .btn {
      width: 100%;
      justify-content: center;
    }
    .challenge-state-grid,
    .challenge-connection-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.85rem;
    }
    .challenge-state-item,
    .challenge-connection-item {
      display: grid;
      gap: 0.45rem;
      padding: 0.95rem 1rem;
      border-radius: 20px;
      border: 1px solid rgba(19, 68, 97, 0.08);
      background: rgba(255, 255, 255, 0.78);
    }
    .challenge-state-item span,
    .challenge-connection-label {
      color: var(--mew-muted);
      font-size: 0.88rem;
      font-weight: 700;
    }
    .challenge-state-item strong {
      color: var(--mew-deep);
      font-size: 1.08rem;
    }
    .challenge-description-copy {
      line-height: 2;
    }
    .challenge-description-copy p:last-child {
      margin-bottom: 0;
    }
    .challenge-control-card .challenge-control-copy {
      color: var(--mew-muted);
      line-height: 1.86;
      margin-bottom: 1rem;
    }
    .challenge-control-status {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      flex-wrap: wrap;
      margin-bottom: 1rem;
    }
    .challenge-action-grid {
      display: grid;
      gap: 0.75rem;
    }
    .challenge-connection-card {
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px solid rgba(19, 68, 97, 0.08);
    }
    .challenge-connection-head h4 {
      font-size: 1rem;
      margin: 0 0 0.85rem;
    }
    .challenge-connection-item--wide {
      grid-column: 1 / -1;
    }
    .flag-submit-card {
      position: relative;
      overflow: hidden;
    }
    .flag-submit-form {
      display: grid;
      gap: 0.9rem;
    }
    .flag-input-wrap {
      position: relative;
    }
    .flag-input {
      min-height: 3.5rem;
      padding: 0.95rem 1rem;
      font-size: 1rem;
      border-radius: 18px;
    }
    .flag-submit-meta {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      flex-wrap: wrap;
      margin-top: 0.9rem;
    }
    .flag-submit-success {
      display: grid;
      gap: 0.8rem;
      padding: 1rem;
      border-radius: 22px;
      border: 1px solid rgba(25, 135, 84, 0.16);
      background: rgba(25, 135, 84, 0.08);
    }
    .resource-download-list {
      display: grid;
      gap: 0.85rem;
    }
    .resource-download-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
      padding: 1rem 1.05rem;
      border-radius: 22px;
      border: 1px solid rgba(19, 68, 97, 0.08);
      background: rgba(255, 255, 255, 0.76);
      text-decoration: none;
      color: inherit;
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }
    .resource-download-item:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 28px rgba(12, 44, 69, 0.06);
      border-color: rgba(11, 127, 143, 0.16);
    }
    .resource-download-item strong {
      display: block;
      color: var(--mew-deep);
    }
    .resource-download-item span {
      color: var(--mew-muted);
    }
    .resource-download-action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.55rem 0.85rem;
      border-radius: 999px;
      background: rgba(11, 127, 143, 0.08);
      border: 1px solid rgba(11, 127, 143, 0.1);
      color: var(--mew-accent-strong);
      font-weight: 800;
    }
    html[data-theme="dark"] .challenge-state-panel,
    html[data-theme="dark"] .challenge-state-item,
    html[data-theme="dark"] .challenge-connection-item,
    html[data-theme="dark"] .resource-download-item,
    html[data-theme="dark"] .flag-submit-success {
      background: rgba(18, 33, 40, 0.94);
      border-color: rgba(88, 198, 204, 0.1);
    }
    html[data-theme="dark"] .solver-chip {
      background: rgba(88, 198, 204, 0.12);
      border-color: rgba(88, 198, 204, 0.16);
      color: #eef9fa;
    }
    html[data-theme="dark"] .machine-global-notice {
      background: linear-gradient(180deg, rgba(15, 27, 33, 0.96), rgba(18, 34, 40, 0.93));
      border-color: rgba(88, 198, 204, 0.12);
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
    }
    html[data-theme="dark"] .machine-global-trigger-label {
      color: #eef7f8;
    }
    html[data-theme="dark"] .machine-global-trigger-icon {
      background: rgba(88, 198, 204, 0.12);
      color: #d6f5f6;
    }
    html[data-theme="dark"] .machine-global-state {
      background: rgba(25, 135, 84, 0.18);
      color: #c7f1dd;
    }
    html[data-theme="dark"] .machine-global-dot {
      box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.18);
    }
    html[data-theme="dark"] .machine-global-copy,
    html[data-theme="dark"] .machine-global-time {
      color: #d7e7ea;
    }
    html[data-theme="dark"] .challenge-control-card .challenge-connection-card {
      border-top-color: rgba(88, 198, 204, 0.12);
    }
    html[data-theme="dark"] .challenge-state-grid,
    html[data-theme="dark"] .challenge-connection-grid,
    html[data-theme="dark"] .challenge-row-description,
    html[data-theme="dark"] .challenge-list-subtitle,
    html[data-theme="dark"] .vpn-card-copy {
      color: #d8e7ea;
    }
    @media (max-width: 1199.98px) {
      .challenge-list-stack--grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
      .leaderboard-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .vpn-page-grid {
        grid-template-columns: 1fr;
      }
      .scoreboard-banner > .d-flex {
        flex-wrap: wrap !important;
        align-items: flex-start !important;
      }
      .scoreboard-banner .subtitle {
        white-space: normal;
      }
    }
    @media (max-width: 991.98px) {
      .challenge-list-stack--grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
      .challenge-row-main {
        grid-template-columns: 1fr;
      }
      .challenge-row-side {
        justify-items: stretch;
      }
      .challenge-points-badge {
        justify-self: start;
      }
      .challenge-state-grid,
      .challenge-connection-grid {
        grid-template-columns: 1fr;
      }
      .challenge-page-banner {
        min-height: 14rem;
        padding: 1.35rem 1.35rem 1.5rem;
      }
      .challenge-page-banner .challenge-hero-copy {
        width: 100%;
        gap: 0.75rem;
      }
    }
    @media (max-width: 767.98px) {
      .challenge-list-stack--grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .machine-global-notice {
        width: min(13rem, calc(100vw - 1rem));
        bottom: 0.5rem;
      }
      [dir="rtl"] .machine-global-notice {
        right: 0.5rem !important;
        left: auto !important;
      }
      [dir="ltr"] .machine-global-notice {
        left: 0.5rem !important;
        right: auto !important;
      }
      .machine-global-notice[open] {
        width: calc(100vw - 1rem);
        left: 0.5rem !important;
        right: 0.5rem !important;
        padding: 0.75rem 0.8rem;
      }
      .leaderboard-summary-grid {
        grid-template-columns: 1fr;
      }
      .leaderboard-user,
      .challenge-row-head,
      .challenge-state-top,
      .vpn-card-head,
      .vpn-inline-note {
        align-items: flex-start;
      }
      .leaderboard-score-pill,
      .leaderboard-solve-pill {
        min-width: 0;
      }
      .challenge-hero-badges,
      .challenge-row-badges,
      .flag-submit-meta {
        gap: 0.45rem;
      }
      .challenge-banner-top {
        align-items: center;
      }
      .challenge-banner-back {
        min-height: 3.45rem;
        border-radius: 18px;
      }
      .challenge-page-banner {
        min-height: 0;
        padding: 1.1rem 1rem 1.25rem;
      }
      .challenge-page-banner .challenge-hero-title {
        font-size: clamp(1.8rem, 10vw, 2.55rem);
      }
      .challenge-hero-badges .detail-chip {
        min-height: 2.55rem;
        padding: 0.55rem 0.82rem;
        font-size: 0.88rem;
      }
      .copy-field {
        align-items: stretch;
      }
      .copy-value,
      .copy-btn {
        width: 100%;
      }
    }
    @media (max-width: 575.98px) {
      .challenge-list-stack--grid {
        grid-template-columns: 1fr;
      }
    }
    .competition-home-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 1.25rem;
      align-items: center;
      margin: 1.25rem 0 1.5rem;
      padding: 1.3rem 1.4rem;
      border-radius: 28px;
      background:
        linear-gradient(135deg, rgba(7, 20, 31, 0.96), rgba(14, 53, 63, 0.95)),
        radial-gradient(circle at top right, rgba(247, 168, 80, 0.22), transparent 34%);
      color: #edf7f8;
      border: 1px solid rgba(88, 198, 204, 0.16);
      box-shadow: 0 24px 42px rgba(7, 20, 31, 0.18);
      position: relative;
      overflow: hidden;
    }
    .competition-home-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.06) 48% 49%, transparent 49% 100%),
        linear-gradient(0deg, transparent 0 86%, rgba(255, 255, 255, 0.04) 86% 87%, transparent 87% 100%);
      pointer-events: none;
      opacity: 0.7;
    }
    .competition-home-card > * {
      position: relative;
      z-index: 1;
    }
    .competition-home-copy {
      display: grid;
      gap: 0.55rem;
    }
    .competition-home-label {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: fit-content;
      padding: 0.4rem 0.82rem;
      border-radius: 999px;
      background: rgba(88, 198, 204, 0.16);
      border: 1px solid rgba(88, 198, 204, 0.22);
      color: #cbfbff;
      font-size: 0.82rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }
    .competition-home-title {
      margin: 0;
      color: #f7fbfb;
      font-size: clamp(1.35rem, 2vw, 1.85rem);
    }
    .competition-home-summary,
    .competition-home-admin-note {
      margin: 0;
      color: rgba(237, 247, 248, 0.82);
      line-height: 1.8;
    }
    .competition-home-admin-note {
      font-size: 0.88rem;
      color: #ffd59d;
    }
    .competition-home-side {
      display: grid;
      justify-items: end;
      gap: 0.65rem;
      min-width: 10rem;
    }
    .competition-home-timer {
      display: grid;
      gap: 0.4rem;
      justify-items: end;
      color: rgba(237, 247, 248, 0.78);
      font-size: 0.82rem;
      font-weight: 700;
    }
    .competition-home-countdown {
      background: rgba(3, 12, 19, 0.7);
      color: #bffcff;
      border: 1px solid rgba(88, 198, 204, 0.18);
      padding: 0.45rem 0.7rem;
      border-radius: 14px;
      font-size: 0.95rem;
    }
    .competition-home-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.62rem 0.95rem;
      border-radius: 999px;
      background: linear-gradient(135deg, #f4af58, #f7d18c);
      color: #1b2e39;
      font-weight: 900;
    }
    .competition-shell {
      display: grid;
      gap: 1.5rem;
    }
    .competition-stage {
      display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
      gap: 1.4rem;
      padding: 1.55rem;
      border-radius: 32px;
      background:
        radial-gradient(circle at top right, rgba(247, 168, 80, 0.18), transparent 24%),
        linear-gradient(135deg, #07131d 0, #0c2631 42%, #0d3d49 100%);
      border: 1px solid rgba(88, 198, 204, 0.16);
      box-shadow: 0 28px 54px rgba(7, 20, 31, 0.18);
      color: #eaf6f7;
      position: relative;
      overflow: hidden;
    }
    .competition-stage::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, transparent 0 49.3%, rgba(255, 255, 255, 0.05) 49.3% 50%, transparent 50% 100%),
        linear-gradient(0deg, transparent 0 92%, rgba(255, 255, 255, 0.04) 92% 93%, transparent 93% 100%);
      pointer-events: none;
      opacity: 0.72;
    }
    .competition-stage > * {
      position: relative;
      z-index: 1;
    }
    .competition-stage-copy {
      display: grid;
      gap: 0.8rem;
      align-content: start;
    }
    .competition-stage-label {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: fit-content;
      min-height: 2.45rem;
      padding: 0.45rem 0.92rem;
      border-radius: 999px;
      background: rgba(88, 198, 204, 0.18);
      border: 1px solid rgba(88, 198, 204, 0.22);
      color: #cbfbff;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      font-size: 0.83rem;
    }
    .competition-stage-status {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-wrap: wrap;
    }
    .competition-status-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 2.2rem;
      padding: 0.42rem 0.82rem;
      border-radius: 999px;
      background: rgba(244, 175, 88, 0.2);
      border: 1px solid rgba(244, 175, 88, 0.26);
      color: #ffe7bd;
      font-size: 0.78rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .competition-status-copy {
      color: rgba(234, 246, 247, 0.8);
      font-weight: 700;
    }
    .competition-stage-title {
      margin: 0;
      color: #fbfeff;
      font-size: clamp(2rem, 4.2vw, 3.5rem);
      line-height: 1.03;
      letter-spacing: -0.04em;
    }
    .competition-stage-summary,
    .competition-stage-hint {
      margin: 0;
      max-width: 44rem;
      line-height: 1.9;
      color: rgba(234, 246, 247, 0.84);
    }
    .competition-stage-hint {
      color: #ffd9a7;
      font-weight: 700;
    }
    .competition-stage-meter {
      display: grid;
      gap: 1rem;
      align-content: start;
    }
    .competition-countdown-card,
    .competition-stage-stat,
    .competition-admin-card,
    .competition-console-card,
    .competition-results-card,
    .competition-side-card {
      background: linear-gradient(180deg, rgba(11, 22, 31, 0.92), rgba(10, 28, 36, 0.9));
      border-color: rgba(88, 198, 204, 0.14);
      box-shadow: 0 20px 36px rgba(3, 10, 16, 0.2);
    }
    .competition-countdown-card {
      display: grid;
      gap: 0.65rem;
      padding: 1.1rem 1.15rem;
      border-radius: 24px;
      border: 1px solid rgba(88, 198, 204, 0.14);
    }
    .competition-countdown-label {
      color: rgba(234, 246, 247, 0.76);
      font-size: 0.82rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .competition-countdown-value {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: fit-content;
      min-height: 3.4rem;
      padding: 0.55rem 0.95rem;
      border-radius: 18px;
      border: 1px solid rgba(88, 198, 204, 0.18);
      background: rgba(2, 10, 15, 0.7);
      color: #bffcff;
      font-size: clamp(1.3rem, 2.3vw, 1.8rem);
      font-weight: 900;
    }
    .competition-countdown-note {
      margin: 0;
      color: rgba(234, 246, 247, 0.74);
      line-height: 1.75;
      font-size: 0.92rem;
    }
    .competition-stage-stats {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.9rem;
    }
    .competition-stage-stat {
      display: grid;
      gap: 0.28rem;
      padding: 1rem 1.05rem;
      border-radius: 22px;
      border: 1px solid rgba(88, 198, 204, 0.14);
    }
    .competition-stage-stat strong {
      color: #fbfeff;
      font-size: 1.7rem;
      line-height: 1;
    }
    .competition-stage-stat span {
      color: rgba(234, 246, 247, 0.74);
      font-weight: 700;
    }
    .competition-admin-grid,
    .competition-grid {
      display: grid;
      gap: 1.2rem;
    }
    .competition-admin-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .competition-grid {
      grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
      align-items: start;
    }
    .competition-main-column,
    .competition-side-column {
      display: grid;
      gap: 1rem;
    }
    .competition-panel-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1rem;
    }
    .competition-panel-title {
      margin: 0;
      color: #f8fdff;
      font-size: 1.35rem;
    }
    .competition-admin-card .eyebrow,
    .competition-console-card .eyebrow,
    .competition-results-card .eyebrow,
    .competition-side-card .eyebrow {
      background: rgba(88, 198, 204, 0.14);
      color: #c4fbff;
      margin-bottom: 0.5rem;
    }
    .competition-admin-form,
    .competition-flag-form {
      display: grid;
      gap: 0.9rem;
    }
    .competition-admin-form .form-label,
    .competition-console-form .form-label,
    .competition-flag-form .form-label,
    .competition-toggle-row {
      color: #d9edef;
    }
    .competition-toggle-row {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      font-weight: 700;
    }
    .competition-admin-inline {
      margin-top: 0.85rem;
    }
    .competition-admin-card .form-control,
    .competition-console-input,
    .competition-flag-form .form-control {
      min-height: 3.2rem;
      border-radius: 18px;
      border-color: rgba(88, 198, 204, 0.14);
      background: rgba(3, 12, 19, 0.7);
      color: #effbfc;
    }
    .competition-admin-card .form-control:focus,
    .competition-console-input:focus,
    .competition-flag-form .form-control:focus {
      border-color: rgba(88, 198, 204, 0.28);
      box-shadow: 0 0 0 0.2rem rgba(88, 198, 204, 0.12);
      background: rgba(4, 14, 21, 0.84);
      color: #f6fdff;
    }
    .competition-admin-card .form-control::placeholder,
    .competition-console-input::placeholder,
    .competition-flag-form .form-control::placeholder {
      color: rgba(239, 251, 252, 0.48);
    }
    .competition-terminal-note,
    .competition-standby-note,
    .competition-empty-panel,
    .competition-waiting-panel {
      padding: 0.95rem 1rem;
      border-radius: 20px;
      border: 1px solid rgba(88, 198, 204, 0.12);
      background: rgba(4, 16, 24, 0.62);
      color: rgba(234, 246, 247, 0.82);
      line-height: 1.8;
    }
    .competition-console-form {
      display: grid;
      gap: 0.7rem;
    }
    .competition-console-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 0.75rem;
    }
    .competition-error-panel {
      margin-top: 1rem;
      padding: 1rem;
      border-radius: 20px;
      border: 1px solid rgba(220, 53, 69, 0.24);
      background: rgba(85, 14, 24, 0.46);
      color: #ffd7de;
    }
    .competition-error-panel code {
      display: block;
      margin-top: 0.7rem;
      white-space: pre-wrap;
      word-break: break-word;
      padding: 0.8rem 0.9rem;
      border-radius: 14px;
      background: rgba(26, 3, 8, 0.72);
      color: #fff0f3;
    }
    .competition-results-grid,
    .competition-attempt-list {
      display: grid;
      gap: 0.9rem;
    }
    .competition-result-card,
    .competition-attempt-item,
    .competition-solved-panel {
      padding: 1rem 1.05rem;
      border-radius: 22px;
      border: 1px solid rgba(88, 198, 204, 0.14);
      background: rgba(4, 16, 24, 0.72);
    }
    .competition-result-kicker {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 2rem;
      padding: 0.32rem 0.72rem;
      border-radius: 999px;
      background: rgba(244, 175, 88, 0.18);
      border: 1px solid rgba(244, 175, 88, 0.22);
      color: #ffe7be;
      font-size: 0.75rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .competition-result-card h3,
    .competition-attempt-item strong {
      margin: 0.75rem 0 0.35rem;
      color: #f6fdff;
      font-size: 1.15rem;
    }
    .competition-result-band {
      color: #a5eef2;
      font-size: 0.9rem;
      font-weight: 800;
      margin-bottom: 0.6rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .competition-result-card p,
    .competition-attempt-time {
      margin: 0;
      color: rgba(234, 246, 247, 0.8);
      line-height: 1.8;
    }
    .competition-side-card .card-body {
      color: #f1fbfc;
    }
    .competition-solved-panel {
      display: grid;
      gap: 0.3rem;
      margin-bottom: 0.95rem;
      background: rgba(10, 63, 44, 0.52);
      border-color: rgba(48, 188, 125, 0.24);
      color: #dbffee;
    }
    .competition-flag-form .btn {
      min-height: 3.1rem;
      border-radius: 18px;
    }
    .competition-rule-list {
      display: grid;
      gap: 0.75rem;
      padding: 0;
      margin: 0;
      list-style: none;
    }
    .competition-rule-list li {
      padding: 0.88rem 0.95rem;
      border-radius: 18px;
      background: rgba(4, 16, 24, 0.62);
      border: 1px solid rgba(88, 198, 204, 0.12);
      color: rgba(234, 246, 247, 0.82);
      line-height: 1.75;
    }
    .competition-attempt-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      margin-bottom: 0.65rem;
    }
    .competition-attempt-state {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 2rem;
      padding: 0.3rem 0.72rem;
      border-radius: 999px;
      background: rgba(220, 53, 69, 0.16);
      border: 1px solid rgba(220, 53, 69, 0.2);
      color: #ffcad3;
      font-size: 0.76rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }
    .competition-attempt-state.is-correct {
      background: rgba(48, 188, 125, 0.16);
      border-color: rgba(48, 188, 125, 0.22);
      color: #cffff1;
    }
    .competition-attempt-item code {
      display: block;
      margin-bottom: 0.55rem;
      white-space: pre-wrap;
      word-break: break-word;
      color: #bffcff;
    }
    @media (max-width: 991.98px) {
      .competition-stage,
      .competition-grid,
      .competition-admin-grid {
        grid-template-columns: 1fr;
      }
      .competition-home-card {
        grid-template-columns: 1fr;
      }
      .competition-home-side,
      .competition-home-timer {
        justify-items: start;
      }
    }
    @media (max-width: 767.98px) {
      .competition-stage,
      .competition-home-card {
        padding: 1.05rem;
      }
      .competition-console-row {
        grid-template-columns: 1fr;
      }
      .competition-stage-stats {
        grid-template-columns: 1fr;
      }
      .competition-stage-title {
        font-size: clamp(1.7rem, 10vw, 2.4rem);
      }
      .competition-countdown-value {
        width: 100%;
        justify-content: center;
      }
    }
    .competition-shell--trust {
      gap: 1.75rem;
    }
    .competition-stage--trust {
      background:
        radial-gradient(circle at top left, rgba(253, 190, 133, 0.2), transparent 24%),
        radial-gradient(circle at bottom right, rgba(129, 211, 255, 0.2), transparent 26%),
        linear-gradient(145deg, #081725 0%, #10273a 42%, #15314b 100%);
      border-color: rgba(149, 214, 255, 0.18);
      box-shadow: 0 30px 64px rgba(5, 12, 20, 0.22);
    }
    .competition-stage--trust::before {
      background:
        linear-gradient(90deg, transparent 0 46%, rgba(255, 255, 255, 0.05) 46% 46.4%, transparent 46.4% 100%),
        linear-gradient(0deg, transparent 0 90%, rgba(255, 255, 255, 0.05) 90% 90.5%, transparent 90.5% 100%);
      opacity: 0.82;
    }
    .competition-stage--trust .competition-stage-title {
      font-size: clamp(2.3rem, 5vw, 4rem);
      text-transform: lowercase;
      letter-spacing: -0.06em;
    }
    .competition-stage--trust .competition-stage-summary {
      max-width: 46rem;
      color: rgba(236, 244, 250, 0.86);
    }
    .competition-stage-chips {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      flex-wrap: wrap;
    }
    .competition-trust-chip {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 2.1rem;
      padding: 0.34rem 0.78rem;
      border-radius: 999px;
      background: rgba(253, 190, 133, 0.18);
      border: 1px solid rgba(253, 190, 133, 0.24);
      color: #ffe7c8;
      font-size: 0.78rem;
      font-weight: 900;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .competition-trust-chip--soft {
      background: rgba(149, 214, 255, 0.12);
      border-color: rgba(149, 214, 255, 0.18);
      color: #d5f0ff;
    }
    .competition-stage--trust .competition-countdown-card,
    .competition-admin-card--trust,
    .competition-console-card--trust,
    .competition-results-card--trust,
    .competition-side-card--trust {
      background:
        linear-gradient(180deg, rgba(12, 23, 35, 0.94), rgba(14, 31, 46, 0.92));
      border-color: rgba(149, 214, 255, 0.14);
      box-shadow: 0 22px 44px rgba(6, 13, 22, 0.22);
    }
    .competition-stage--trust .competition-stage-stat {
      background: rgba(7, 18, 28, 0.7);
      border-color: rgba(149, 214, 255, 0.12);
    }
    .competition-stage--trust .competition-stage-stat strong {
      color: #ffffff;
    }
    .competition-stage--trust .competition-stage-stat span,
    .competition-stage--trust .competition-countdown-note {
      color: rgba(230, 240, 248, 0.74);
    }
    .competition-stage--trust .competition-countdown-value {
      background: rgba(4, 10, 18, 0.78);
      border-color: rgba(149, 214, 255, 0.18);
      color: #e8f7ff;
      letter-spacing: 0.04em;
    }
    .competition-admin-card--trust .eyebrow,
    .competition-console-card--trust .eyebrow,
    .competition-results-card--trust .eyebrow,
    .competition-side-card--trust .eyebrow {
      background: rgba(149, 214, 255, 0.12);
      color: #d4efff;
    }
    .competition-console-card--trust .card-body,
    .competition-results-card--trust .card-body,
    .competition-side-card--trust .card-body {
      color: #f2f7fb;
    }
    .competition-console-intro {
      margin: 0 0 1rem;
      color: rgba(225, 236, 245, 0.84);
      line-height: 1.85;
    }
    .competition-console-form--trust {
      gap: 0.75rem;
    }
    .competition-console-card--trust .competition-console-input,
    .competition-side-card--trust .form-control,
    .competition-admin-card--trust .form-control {
      background: rgba(8, 18, 28, 0.86);
      border-color: rgba(149, 214, 255, 0.15);
      color: #f3f8fc;
    }
    .competition-console-card--trust .competition-console-input:focus,
    .competition-side-card--trust .form-control:focus,
    .competition-admin-card--trust .form-control:focus {
      background: rgba(9, 22, 35, 0.95);
      border-color: rgba(149, 214, 255, 0.32);
      box-shadow: 0 0 0 0.22rem rgba(149, 214, 255, 0.1);
      color: #ffffff;
    }
    .competition-standby-note,
    .competition-empty-panel--trust,
    .competition-waiting-panel,
    .competition-solved-panel {
      background: rgba(7, 18, 28, 0.74);
      border-color: rgba(149, 214, 255, 0.14);
    }
    .competition-empty-panel--trust {
      color: rgba(227, 237, 244, 0.78);
    }
    .competition-error-panel--trust {
      background: rgba(66, 16, 26, 0.52);
      border-color: rgba(246, 137, 154, 0.24);
      color: #ffd5dd;
    }
    .competition-error-panel--trust code {
      background: rgba(26, 6, 11, 0.9);
      color: #fff0f3;
      border: 1px solid rgba(246, 137, 154, 0.14);
    }
    .competition-trust-feature {
      display: grid;
      gap: 1rem;
      padding: 1.4rem;
      border-radius: 28px;
      border: 1px solid rgba(149, 214, 255, 0.14);
      background:
        radial-gradient(circle at top right, rgba(253, 190, 133, 0.16), transparent 28%),
        linear-gradient(160deg, rgba(18, 37, 54, 0.95), rgba(10, 22, 34, 0.92));
      margin-bottom: 1.15rem;
      overflow: hidden;
      position: relative;
    }
    .competition-trust-feature::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, transparent 0 63%, rgba(255, 255, 255, 0.04) 63% 63.4%, transparent 63.4% 100%);
      pointer-events: none;
    }
    .competition-trust-feature-copy,
    .competition-trust-card,
    .competition-trust-article {
      position: relative;
      z-index: 1;
    }
    .competition-trust-feature h3,
    .competition-trust-card h3,
    .competition-trust-article h3 {
      margin: 0;
      color: #ffffff;
      letter-spacing: -0.03em;
      line-height: 1.15;
    }
    .competition-trust-feature h3 {
      font-size: clamp(1.8rem, 3vw, 2.7rem);
      max-width: 46rem;
    }
    .competition-trust-feature p,
    .competition-trust-card p,
    .competition-trust-body {
      margin: 0;
      color: rgba(228, 237, 244, 0.82);
      line-height: 1.85;
    }
    .competition-trust-meta {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-wrap: wrap;
      color: rgba(200, 221, 237, 0.72);
      font-size: 0.9rem;
      font-weight: 700;
    }
    .competition-trust-meta span {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
    }
    .competition-trust-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
    }
    .competition-trust-card,
    .competition-trust-article {
      display: grid;
      gap: 0.9rem;
      padding: 1.2rem 1.15rem;
      border-radius: 24px;
      border: 1px solid rgba(149, 214, 255, 0.12);
      background: rgba(9, 21, 33, 0.78);
    }
    .competition-trust-card-top,
    .competition-trust-article-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      flex-wrap: wrap;
    }
    .competition-trust-reference {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 2rem;
      padding: 0.32rem 0.72rem;
      border-radius: 999px;
      border: 1px solid rgba(149, 214, 255, 0.14);
      background: rgba(149, 214, 255, 0.08);
      color: #d5efff;
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .competition-trust-action,
    .competition-trust-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: fit-content;
      min-height: 2.45rem;
      padding: 0.45rem 0.9rem;
      border-radius: 999px;
      text-decoration: none;
      background: linear-gradient(135deg, #f7ba7f, #ffd9a7);
      color: #11253a;
      font-weight: 900;
      border: 0;
      box-shadow: 0 14px 24px rgba(253, 190, 133, 0.18);
    }
    .competition-trust-action--muted,
    .competition-trust-link--muted {
      background: rgba(149, 214, 255, 0.08);
      color: #d5efff;
      box-shadow: none;
      border: 1px solid rgba(149, 214, 255, 0.14);
    }
    .competition-trust-records {
      display: grid;
      gap: 1rem;
    }
    .competition-trust-article h3 {
      font-size: clamp(1.45rem, 2.5vw, 2.1rem);
    }
    .competition-trust-body {
      white-space: normal;
      font-size: 1rem;
    }
    .competition-side-card--trust .competition-solved-panel {
      background: rgba(20, 73, 52, 0.54);
      border-color: rgba(89, 214, 150, 0.24);
      color: #dbffee;
    }
    .competition-side-card--trust .competition-waiting-panel {
      color: rgba(226, 236, 245, 0.8);
    }
    .competition-side-card--trust .competition-flag-form .btn,
    .competition-console-card--trust .btn,
    .competition-admin-card--trust .btn {
      border-radius: 18px;
      min-height: 3.15rem;
    }
    .competition-side-card--trust .competition-panel-title,
    .competition-console-card--trust .competition-panel-title,
    .competition-results-card--trust .competition-panel-title,
    .competition-admin-card--trust .competition-panel-title {
      color: #f8fbff;
    }
    @media (max-width: 991.98px) {
      .competition-trust-grid {
        grid-template-columns: 1fr;
      }
    }
    @media (max-width: 767.98px) {
      .competition-stage-chips,
      .competition-trust-meta,
      .competition-trust-card-top,
      .competition-trust-article-top {
        gap: 0.55rem;
      }
      .competition-trust-feature,
      .competition-trust-card,
      .competition-trust-article {
        padding: 1rem;
        border-radius: 22px;
      }
      .competition-trust-feature h3 {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
      }
    }
    .competition-mini-shell {
      display: grid;
      place-items: center;
      padding: 1rem 0 0.5rem;
    }
    .competition-mini-stage {
      width: min(760px, 100%);
      display: grid;
      gap: 1rem;
      padding: 1.5rem;
      border-radius: 28px;
      background:
        radial-gradient(circle at top left, rgba(243, 187, 130, 0.18), transparent 24%),
        linear-gradient(145deg, #081725 0%, #11263a 45%, #15314a 100%);
      border: 1px solid rgba(149, 214, 255, 0.14);
      box-shadow: 0 28px 56px rgba(6, 12, 22, 0.2);
    }
    .competition-mini-heading {
      display: grid;
      gap: 0.45rem;
    }
    .competition-mini-heading h1 {
      margin: 0;
      color: #ffffff;
      font-size: clamp(2rem, 4vw, 3rem);
      line-height: 1;
      letter-spacing: -0.06em;
      text-transform: lowercase;
    }
    .competition-mini-label {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: fit-content;
      min-height: 2.1rem;
      padding: 0.35rem 0.8rem;
      border-radius: 999px;
      background: rgba(149, 214, 255, 0.12);
      border: 1px solid rgba(149, 214, 255, 0.18);
      color: #d8efff;
      font-size: 0.8rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .competition-mini-timer {
      display: grid;
      gap: 0.5rem;
      padding: 1rem;
      border-radius: 22px;
      border: 1px solid rgba(149, 214, 255, 0.12);
      background: rgba(8, 18, 28, 0.74);
    }
    .competition-mini-timer span {
      color: rgba(231, 241, 248, 0.72);
      font-size: 0.82rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .competition-mini-timer code {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: fit-content;
      min-height: 3.35rem;
      padding: 0.55rem 0.95rem;
      border-radius: 18px;
      background: rgba(5, 12, 20, 0.8);
      border: 1px solid rgba(149, 214, 255, 0.16);
      color: #f4fbff;
      font-size: clamp(1.25rem, 3vw, 1.8rem);
      font-weight: 900;
    }
    .competition-mini-admin {
      display: grid;
      gap: 0.9rem;
      padding: 1rem;
      border-radius: 22px;
      border: 1px solid rgba(149, 214, 255, 0.12);
      background: rgba(8, 18, 28, 0.7);
    }
    .competition-mini-form,
    .competition-mini-time-form {
      display: grid;
      gap: 0.75rem;
    }
    .competition-mini-toggle {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      color: #edf6fb;
      font-weight: 700;
    }
    .competition-mini-time-form {
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
    }
    .competition-mini-time-form .form-control {
      min-height: 3rem;
      border-radius: 16px;
      border-color: rgba(149, 214, 255, 0.14);
      background: rgba(5, 12, 20, 0.82);
      color: #f3f8fc;
    }
    .competition-mini-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: fit-content;
      min-height: 3rem;
      padding: 0.65rem 1rem;
      border-radius: 999px;
      text-decoration: none;
      background: linear-gradient(135deg, #f3bb82, #ffd9af);
      color: #11283b;
      font-weight: 900;
      font-size: 1rem;
      text-transform: lowercase;
      box-shadow: 0 18px 28px rgba(243, 187, 130, 0.18);
    }
    @media (max-width: 767.98px) {
      .competition-mini-stage {
        padding: 1rem;
      }
      .competition-mini-time-form {
        grid-template-columns: 1fr;
      }
      .competition-mini-timer code,
      .competition-mini-link {
        width: 100%;
      }
    }
    .competition-event-shell {
      display: grid;
      gap: 1.5rem;
    }
    .competition-event-hero {
      display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
      gap: 1.25rem;
      align-items: stretch;
      overflow: hidden;
      background:
        radial-gradient(circle at top left, rgba(11, 127, 143, 0.12), transparent 30%),
        radial-gradient(circle at bottom right, rgba(214, 177, 102, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,249,250,0.92));
    }
    html[data-theme="dark"] .competition-event-hero {
      background:
        radial-gradient(circle at top left, rgba(88, 198, 204, 0.12), transparent 30%),
        radial-gradient(circle at bottom right, rgba(214, 177, 102, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(15, 27, 33, 0.98), rgba(18, 33, 40, 0.94));
    }
    .competition-event-hero-copy,
    .competition-event-timer-card {
      position: relative;
      z-index: 1;
    }
    .competition-event-hero-copy {
      display: grid;
      align-content: start;
      gap: 0.9rem;
    }
    .competition-event-hero-copy h1 {
      margin: 0;
      font-size: clamp(2.1rem, 4vw, 3.2rem);
      line-height: 1;
      letter-spacing: -0.06em;
      color: var(--mew-deep);
    }
    .competition-event-chips {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      flex-wrap: wrap;
    }
    .competition-event-timer-card {
      display: grid;
      gap: 0.75rem;
      align-content: start;
      padding: 1.25rem;
      border-radius: 24px;
      background:
        radial-gradient(circle at top right, rgba(214, 177, 102, 0.14), transparent 30%),
        linear-gradient(165deg, #0c2131 0%, #14314a 100%);
      border: 1px solid rgba(88, 198, 204, 0.14);
      box-shadow: 0 22px 44px rgba(8, 28, 45, 0.16);
    }
    .competition-event-panel-kicker {
      font-size: 0.78rem;
      font-weight: 900;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(217, 239, 241, 0.76);
    }
    .competition-event-timer-value {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: fit-content;
      min-height: 4.3rem;
      padding: 0.7rem 1rem;
      border-radius: 20px;
      background: rgba(3, 10, 16, 0.58);
      border: 1px solid rgba(149, 214, 255, 0.16);
      color: #f5fbff;
      font-size: clamp(1.45rem, 3vw, 2rem);
      font-weight: 900;
      letter-spacing: 0.04em;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    }
    .competition-event-timer-note {
      margin: 0;
      color: rgba(231, 241, 248, 0.8);
      line-height: 1.8;
    }
    .competition-event-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.68fr);
      gap: 1.25rem;
      align-items: start;
    }
    .competition-event-main,
    .competition-event-side {
      display: grid;
      gap: 1.25rem;
    }
    .competition-event-challenge-card,
    .competition-event-scoreboard-card,
    .competition-event-stats-card,
    .competition-event-admin-card {
      overflow: hidden;
    }
    .competition-event-challenge-card .card-body,
    .competition-event-scoreboard-card .card-body,
    .competition-event-stats-card .card-body,
    .competition-event-admin-card .card-body {
      display: grid;
      gap: 1rem;
      padding: 1.35rem;
    }
    .competition-event-card-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .competition-event-card-head h2,
    .competition-event-side-title {
      margin: 0;
      color: var(--mew-deep);
      font-size: clamp(1.35rem, 2.3vw, 1.9rem);
      line-height: 1.15;
    }
    .competition-event-state,
    .competition-event-substat,
    .competition-event-score-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 2.15rem;
      padding: 0.38rem 0.82rem;
      border-radius: 999px;
      font-size: 0.78rem;
      font-weight: 900;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .competition-event-state.is-live,
    .competition-event-score-pill {
      background: rgba(11, 127, 143, 0.1);
      color: var(--mew-accent-strong);
      border: 1px solid rgba(11, 127, 143, 0.16);
    }
    .competition-event-state.is-locked,
    .competition-event-substat {
      background: rgba(214, 177, 102, 0.12);
      color: #8d6b2b;
      border: 1px solid rgba(214, 177, 102, 0.18);
    }
    html[data-theme="dark"] .competition-event-state.is-locked,
    html[data-theme="dark"] .competition-event-substat {
      color: #f3d897;
    }
    .competition-event-meta {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      flex-wrap: wrap;
    }
    .competition-event-challenge-copy p,
    .competition-event-scoreboard-copy,
    .competition-event-empty-board,
    .competition-event-waiting-panel p {
      margin: 0;
      color: var(--mew-muted);
      line-height: 1.85;
    }
    .competition-event-waiting-panel {
      padding: 1rem 1.05rem;
      border-radius: 22px;
      border: 1px dashed rgba(11, 127, 143, 0.2);
      background: rgba(11, 127, 143, 0.04);
    }
    html[data-theme="dark"] .competition-event-waiting-panel {
      background: rgba(88, 198, 204, 0.08);
      border-color: rgba(88, 198, 204, 0.2);
    }
    .competition-event-challenge-button {
      width: fit-content;
      min-width: 12rem;
      min-height: 3.2rem;
      border-radius: 18px;
      font-weight: 800;
    }
    .competition-event-scoreboard-table thead th {
      white-space: nowrap;
    }
    .competition-event-scoreboard-table td {
      vertical-align: middle;
    }
    .competition-event-stat-list {
      display: grid;
      gap: 0.85rem;
    }
    .competition-event-stat {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.95rem 1rem;
      border-radius: 20px;
      background: rgba(11, 127, 143, 0.05);
      border: 1px solid rgba(11, 127, 143, 0.1);
    }
    html[data-theme="dark"] .competition-event-stat {
      background: rgba(88, 198, 204, 0.08);
      border-color: rgba(88, 198, 204, 0.12);
    }
    .competition-event-stat span {
      color: var(--mew-muted);
      font-weight: 700;
    }
    .competition-event-stat strong {
      color: var(--mew-deep);
      font-size: 1.08rem;
    }
    .competition-event-admin-form,
    .competition-event-time-form {
      display: grid;
      gap: 0.85rem;
    }
    .competition-event-time-form .form-control {
      min-height: 3.1rem;
      border-radius: 18px;
    }
    .competition-event-toggle {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      font-weight: 700;
      color: var(--mew-ink);
    }
    .competition-event-admin-card .btn {
      min-height: 3.05rem;
      border-radius: 18px;
      font-weight: 800;
    }
    @media (max-width: 991.98px) {
      .competition-event-hero,
      .competition-event-grid {
        grid-template-columns: 1fr;
      }
    }
    @media (max-width: 767.98px) {
      .competition-event-hero,
      .competition-event-challenge-card .card-body,
      .competition-event-scoreboard-card .card-body,
      .competition-event-stats-card .card-body,
      .competition-event-admin-card .card-body {
        gap: 0.9rem;
      }
      .competition-event-hero-copy h1 {
        font-size: clamp(1.9rem, 9vw, 2.5rem);
      }
      .competition-event-timer-value,
      .competition-event-challenge-button {
        width: 100%;
      }
      .competition-event-card-head,
      .competition-event-meta,
      .competition-event-chips {
        gap: 0.55rem;
      }
      .competition-event-scoreboard-table th,
      .competition-event-scoreboard-table td {
        white-space: nowrap;
      }
    }
    .competition-event-shell--clean {
      gap: 1.25rem;
    }
    .competition-event-top {
      display: grid;
      grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
      gap: 1.25rem;
      align-items: start;
    }
    .competition-event-top.is-single {
      grid-template-columns: 1fr;
    }
    .competition-event-timer-panel,
    .competition-event-admin-card,
    .competition-event-challenge-card,
    .competition-event-scoreboard-card {
      overflow: hidden;
    }
    .competition-event-timer-panel .card-body,
    .competition-event-admin-card .card-body,
    .competition-event-challenge-card .card-body,
    .competition-event-scoreboard-card .card-body {
      display: grid;
      gap: 1rem;
      padding: 1.35rem;
    }
    .competition-event-timer-panel {
      background:
        radial-gradient(circle at top right, rgba(214, 177, 102, 0.16), transparent 30%),
        linear-gradient(160deg, #0c2131 0%, #15334c 100%);
      border: 1px solid rgba(88, 198, 204, 0.14);
      box-shadow: 0 22px 44px rgba(8, 28, 45, 0.16);
    }
    .competition-event-timer-panel .eyebrow {
      background: rgba(255, 255, 255, 0.08);
      color: #e9f8ff;
      margin-bottom: 0;
    }
    .competition-event-clean-title {
      margin: 0;
      color: #ffffff;
      font-size: clamp(2rem, 4vw, 2.9rem);
      line-height: 1;
      letter-spacing: -0.06em;
      text-transform: lowercase;
    }
    .competition-event-panel-copy,
    .competition-event-challenge-copy,
    .competition-event-empty-board,
    .competition-event-waiting-panel p {
      margin: 0;
      line-height: 1.85;
    }
    .competition-event-panel-copy {
      color: rgba(233, 248, 255, 0.8);
    }
    .competition-event-admin-label {
      color: var(--mew-muted);
      font-size: 0.92rem;
      font-weight: 700;
    }
    .competition-event-card-head--clean {
      justify-content: flex-start;
    }
    .competition-event-card-head--clean h2 {
      margin: 0;
      color: var(--mew-deep);
      font-size: clamp(1.35rem, 2.3vw, 1.9rem);
      line-height: 1.15;
    }
    .competition-event-challenge-copy,
    .competition-event-empty-board,
    .competition-event-waiting-panel p {
      color: var(--mew-muted);
    }
    .competition-event-scoreboard-table--clean thead th {
      color: var(--mew-muted);
      font-weight: 800;
      white-space: nowrap;
    }
    .competition-event-scoreboard-table--clean td {
      vertical-align: middle;
      white-space: nowrap;
    }
    .competition-event-scoreboard-table--clean tbody tr.is-current td {
      background: rgba(11, 127, 143, 0.05);
    }
    html[data-theme="dark"] .competition-event-scoreboard-table--clean tbody tr.is-current td {
      background: rgba(88, 198, 204, 0.08);
    }
    .competition-event-user-name {
      color: var(--mew-deep);
      font-weight: 800;
    }
    .competition-event-challenge-name {
      color: var(--mew-accent-strong);
      font-weight: 800;
      text-transform: lowercase;
    }
    @media (max-width: 991.98px) {
      .competition-event-top {
        grid-template-columns: 1fr;
      }
    }
    @media (max-width: 767.98px) {
      .competition-event-timer-value,
      .competition-event-challenge-button {
        width: 100%;
      }
      .competition-event-scoreboard-table--clean th,
      .competition-event-scoreboard-table--clean td {
        white-space: nowrap;
      }
    }
    .competition-event-shell--refined {
      gap: 1.35rem;
    }
    .competition-event-stage {
      display: grid;
      grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
      gap: 1.25rem;
      align-items: start;
    }
    .competition-event-feature-card,
    .competition-event-scoreboard-card--refined {
      overflow: hidden;
    }
    .competition-event-feature-card .card-body,
    .competition-event-scoreboard-card--refined .card-body {
      display: grid;
      gap: 1rem;
      padding: 1.45rem;
    }
    .competition-event-feature-card {
      background:
        radial-gradient(circle at top right, rgba(214, 177, 102, 0.16), transparent 28%),
        radial-gradient(circle at bottom left, rgba(11, 127, 143, 0.1), transparent 24%),
        linear-gradient(155deg, rgba(255,255,255,0.98), rgba(245,250,251,0.93));
      border: 1px solid rgba(19, 68, 97, 0.08);
      box-shadow: 0 24px 46px rgba(12, 44, 69, 0.08);
    }
    html[data-theme="dark"] .competition-event-feature-card {
      background:
        radial-gradient(circle at top right, rgba(214, 177, 102, 0.1), transparent 28%),
        radial-gradient(circle at bottom left, rgba(88, 198, 204, 0.12), transparent 24%),
        linear-gradient(155deg, rgba(15, 27, 33, 0.98), rgba(18, 33, 40, 0.94));
      border-color: rgba(88, 198, 204, 0.12);
      box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
    }
    .competition-event-feature-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .competition-event-feature-title {
      margin: 0;
      color: var(--mew-deep);
      font-size: clamp(2.2rem, 4vw, 3.2rem);
      line-height: 0.95;
      letter-spacing: -0.07em;
      text-transform: lowercase;
    }
    .competition-event-status-chip {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 2.3rem;
      padding: 0.4rem 0.9rem;
      border-radius: 999px;
      background: rgba(11, 127, 143, 0.1);
      border: 1px solid rgba(11, 127, 143, 0.16);
      color: var(--mew-accent-strong);
      font-size: 0.82rem;
      font-weight: 900;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .competition-event-feature-side {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      flex-wrap: wrap;
      justify-content: flex-end;
    }
    .competition-event-inline-form {
      display: inline-flex;
      margin: 0;
    }
    .competition-event-inline-button {
      min-height: 2.3rem;
      border-radius: 999px;
      padding-inline: 0.95rem;
      font-weight: 800;
      white-space: nowrap;
    }
    .competition-event-feature-copy {
      margin: 0;
      max-width: 44rem;
      color: var(--mew-muted);
      line-height: 1.95;
      font-size: 1rem;
    }
    .competition-event-feature-meta {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      flex-wrap: wrap;
    }
    .competition-event-meta-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 2.1rem;
      padding: 0.34rem 0.82rem;
      border-radius: 999px;
      background: rgba(214, 177, 102, 0.1);
      border: 1px solid rgba(214, 177, 102, 0.16);
      color: #8a6b30;
      font-size: 0.8rem;
      font-weight: 800;
    }
    html[data-theme="dark"] .competition-event-meta-pill {
      color: #f0d693;
      background: rgba(214, 177, 102, 0.12);
      border-color: rgba(214, 177, 102, 0.18);
    }
    .competition-event-feature-actions {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      flex-wrap: wrap;
      padding-top: 0.2rem;
    }
    .competition-event-side-stack {
      display: grid;
      gap: 1.25rem;
    }
    .competition-event-scoreboard-card--refined .card-body {
      gap: 1.1rem;
    }
    .competition-event-scoreboard-card--refined .competition-event-card-head--clean {
      padding-bottom: 0.15rem;
      border-bottom: 1px solid rgba(19, 68, 97, 0.08);
    }
    html[data-theme="dark"] .competition-event-scoreboard-card--refined .competition-event-card-head--clean {
      border-bottom-color: rgba(88, 198, 204, 0.12);
    }
    .competition-event-scoreboard-table--clean thead th {
      padding-top: 0.9rem;
      padding-bottom: 0.9rem;
      border-bottom-color: rgba(19, 68, 97, 0.08);
    }
    .competition-event-scoreboard-table--clean tbody td {
      padding-top: 1rem;
      padding-bottom: 1rem;
      border-bottom-color: rgba(19, 68, 97, 0.06);
    }
    html[data-theme="dark"] .competition-event-scoreboard-table--clean thead th,
    html[data-theme="dark"] .competition-event-scoreboard-table--clean tbody td {
      border-bottom-color: rgba(88, 198, 204, 0.08);
    }
    .competition-event-scoreboard-table--clean tbody tr:hover td {
      background: rgba(11, 127, 143, 0.03);
    }
    html[data-theme="dark"] .competition-event-scoreboard-table--clean tbody tr:hover td {
      background: rgba(88, 198, 204, 0.05);
    }
    .competition-event-action-head,
    .competition-event-action-cell {
      width: 110px;
      text-align: end;
      white-space: nowrap;
    }
    .competition-event-delete-form {
      display: inline-flex;
      margin: 0;
    }
    @media (max-width: 991.98px) {
      .competition-event-stage {
        grid-template-columns: 1fr;
      }
    }
    @media (max-width: 767.98px) {
      .competition-event-feature-card .card-body,
      .competition-event-scoreboard-card--refined .card-body {
        padding: 1.1rem;
      }
      .competition-event-feature-head,
      .competition-event-feature-meta {
        gap: 0.6rem;
      }
      .competition-event-feature-title {
        font-size: clamp(1.9rem, 10vw, 2.6rem);
      }
      .competition-event-status-chip {
        width: 100%;
        justify-content: center;
      }
      .competition-event-feature-side {
        width: 100%;
        justify-content: flex-start;
      }
    }
    .competition-event-shell--stacked {
      display: grid;
      gap: 1.25rem;
      max-width: 1040px;
      margin: 0 auto;
    }
    .competition-event-admin-card--top .card-body,
    .competition-event-timer-panel--wide .card-body,
    .competition-event-feature-card--stacked .card-body {
      padding: 1.4rem;
    }
    .competition-event-admin-card--top {
      overflow: hidden;
    }
    .competition-event-admin-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.95rem;
      align-items: end;
    }
    .competition-event-stop-form {
      display: grid;
      align-items: end;
    }
    .competition-event-timer-panel--wide {
      background:
        radial-gradient(circle at top right, rgba(214, 177, 102, 0.16), transparent 30%),
        linear-gradient(160deg, #0c2131 0%, #15334c 100%);
      border: 1px solid rgba(88, 198, 204, 0.14);
      box-shadow: 0 22px 44px rgba(8, 28, 45, 0.16);
      overflow: hidden;
    }
    .competition-event-timer-panel--wide .card-body {
      gap: 1.1rem;
      justify-items: start;
    }
    .competition-event-timer-panel--wide .eyebrow {
      background: rgba(255, 255, 255, 0.08);
      color: #e9f8ff;
      margin-bottom: 0;
    }
    .competition-event-timer-panel--wide h2 {
      margin: 0;
      color: #ffffff;
      font-size: clamp(1.6rem, 3vw, 2.3rem);
      line-height: 1.05;
      letter-spacing: -0.05em;
    }
    .competition-event-feature-card--stacked .card-body {
      gap: 1.1rem;
    }
    .competition-event-feature-card--stacked .competition-event-feature-copy {
      max-width: 52rem;
    }
    .competition-event-scoreboard-card--refined {
      position: relative;
    }
    .competition-event-scoreboard-card--refined::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 4px;
      background: linear-gradient(90deg, var(--mew-accent), var(--mew-gold));
    }
    .competition-event-scoreboard-card--refined .card-body {
      padding-top: 1.55rem;
    }
    @media (max-width: 991.98px) {
      .competition-event-admin-grid {
        grid-template-columns: 1fr;
      }
    }
    @media (max-width: 767.98px) {
      .competition-event-admin-card--top .card-body,
      .competition-event-timer-panel--wide .card-body,
      .competition-event-feature-card--stacked .card-body {
        padding: 1.1rem;
      }
    }
