.header-bg {
      background: linear-gradient(to right, #900 0%, #700 100%);
      border-bottom: 4px solid #000;
      min-height: 140px;
      display: flex;
      align-items: center;
      padding: 15px 0;
    }

    .uc-header-inner {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 14px;
      width: 100%;
      text-align: center;
    }

    .urban-logo {
      font-family: "Permanent Marker", cursive;
      color: #000;
      text-shadow: 2px 2px 0 #fff;
      line-height: 0.8;
      letter-spacing: -2px;
    }

    .uc-logo-sticker {
      flex-shrink: 0;
      width: 180px;
      height: 110px;
      filter: drop-shadow(4px 4px 0 rgba(0,0,0,0.45));
    }

    .uc-logo-svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .uc-logo-svg .uc-skyline-windows rect {
      fill: #ffdf00;
      opacity: 0.12;
    }

    .uc-logo-svg .uc-skyline-windows rect:nth-child(9n+2),
    .uc-logo-svg .uc-skyline-windows rect:nth-child(13n+4),
    .uc-logo-svg .uc-skyline-windows rect:nth-child(17n+7) {
      animation: uc-window-twinkle 9s steps(1, end) infinite;
    }

    .uc-logo-svg .uc-skyline-windows rect:nth-child(13n+4) {
      animation-delay: 1.4s;
    }

    .uc-logo-svg .uc-skyline-windows rect:nth-child(17n+7) {
      animation-delay: 3.1s;
    }

    @keyframes uc-window-twinkle {
      0%, 70%, 100% { opacity: 0.12; }
      72%, 74% { opacity: 0.02; }
      76%, 84% { opacity: 0.16; }
      86%, 88% { opacity: 0.03; }
      90%, 92% { opacity: 0.15; }
    }

    .uc-slogan-box {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .uc-slogan-main {
      font-family: Impact, "Arial Black", sans-serif;
      font-size: 22px;
      color: #ffdf00;
      text-transform: uppercase;
      letter-spacing: 0.01em;
      font-style: italic;
      font-weight: 900;
      line-height: 1;
      text-shadow: 2px 2px 0 #000;
    }

    .uc-slogan-sub {
      margin-top: 6px;
      color: #fff;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .login-bar {
      background-color: #333;
      color: #fff;
      font-size: 12px;
    }

    .uc-primary-nav {
      background: #fdfdfd !important;
      border-bottom: 2px solid #ccc !important;
      padding: 10px 0;
    }

    .uc-primary-nav-row {
      display: flex;
      flex-wrap: nowrap;
      gap: 8px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      padding-bottom: 1px;
    }

    .uc-primary-nav-row::-webkit-scrollbar {
      display: none;
    }

    .nav-tab {
      background: var(--uc-dna-header-red);
      color: #fff;
      padding: 10px 16px;
      border-radius: 4px;
      font-size: 13px;
      font-weight: 900;
      border: 2px solid var(--uc-dna-border-strong);
      box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.42);
      cursor: pointer;
      user-select: none;
      white-space: nowrap;
      flex: 0 0 auto;
      text-transform: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .nav-tab:hover {
      background: #b72a16;
      color: #ffdf00;
      transform: translate(-1px, -1px);
      box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.42);
    }

    .nav-tab:active {
      transform: translate(2px, 2px);
      box-shadow: 0 0 0 rgba(0, 0, 0, 0.42);
    }

    .nav-tab-active {
      background: #8f1f11;
      color: #fff;
    }

    @media (min-width: 768px) {
      .header-bg {
        min-height: 160px;
        padding: 20px 0;
      }

      .uc-header-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
      }

      .uc-logo-sticker {
        width: 260px;
        height: 140px;
      }

      .uc-slogan-box {
        align-items: flex-end;
        text-align: right;
      }

      .uc-slogan-main {
        font-size: 36px;
      }
    }

    @media (min-width: 1440px) {
      .header-bg {
        min-height: 180px;
        padding: 24px 0;
      }

      .uc-logo-sticker {
        width: 320px;
        height: 170px;
      }

      .uc-slogan-main {
        font-size: 42px;
      }

      .uc-slogan-sub {
        font-size: 13px;
      }

      .login-bar {
        font-size: 14px;
      }

      .nav-tab {
        font-size: 15px;
        padding: 12px 20px;
      }
    }

    @media (min-width: 1920px) {
      .header-bg {
        min-height: 200px;
        padding: 28px 0;
      }

      .uc-logo-sticker {
        width: 380px;
        height: 200px;
      }

      .uc-slogan-main {
        font-size: 50px;
      }

      .uc-slogan-sub {
        font-size: 15px;
      }

      .login-bar {
        font-size: 15px;
      }

      .nav-tab {
        font-size: 16px;
        padding: 14px 24px;
      }
    }

    @media (min-width: 3840px) {
      .header-bg {
        min-height: 240px;
        padding: 32px 0;
      }

      .uc-logo-sticker {
        width: 460px;
        height: 240px;
      }

      .uc-slogan-main {
        font-size: 60px;
      }

      .uc-slogan-sub {
        font-size: 18px;
      }

      .login-bar {
        font-size: 18px;
      }

      .nav-tab {
        font-size: 19px;
        padding: 16px 28px;
      }
    }

    .main-card {
      background: var(--uc-dna-card-surface);
      border: 2px solid var(--uc-dna-border-strong);
      border-radius: var(--uc-dna-card-radius);
      box-shadow: var(--uc-dna-shadow-soft);
      overflow: hidden;
      transition: transform 120ms ease, box-shadow 120ms ease;
    }

    .uc-card-trippy {
      background: var(--uc-dna-card-surface);
      border: 2px solid var(--uc-dna-border-strong);
      border-radius: var(--uc-dna-card-radius);
      box-shadow: var(--uc-dna-shadow-hard), 0 0 0 1px rgba(255, 223, 0, 0.22);
      overflow: hidden;
      transition: transform 120ms ease, box-shadow 120ms ease;
    }

    .uc-card-trippy > .section-header {
      box-shadow: inset 0 -2px 0 #ffdf00;
    }

    @media (hover: hover) and (pointer: fine) {
      .main-card:hover {
        transform: translateY(-1px);
        box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.26);
      }

      .uc-card-trippy:hover {
        transform: translateY(-2px);
        box-shadow: var(--uc-dna-shadow-hard), 0 0 0 1px rgba(255, 223, 0, 0.34);
      }
    }

    .uc-gold-border {
      border-color: #ffdf00;
      box-shadow: var(--uc-dna-shadow-hard);
    }

    .uc-signature-border {
      position: relative;
      border-width: 3px;
      box-shadow: var(--uc-dna-shadow-hard);
    }

    .uc-signature-border::after {
      content: "";
      position: absolute;
      inset: 6px;
      border: 1px solid rgba(0, 0, 0, 0.14);
      border-radius: calc(var(--uc-dna-card-radius) - 2px);
      pointer-events: none;
    }

    .main-card > .section-header {
      box-shadow: inset 0 -2px 0 #ffdf00;
    }

    .uc-card-bottom-banner {
      min-height: 19px;
      padding: 1px 10px;
      display: flex;
      align-items: center;
      border-top: 2px solid #ffdf00;
      background: var(--uc-dna-header-red);
      color: #fff;
      font-size: 9px;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .uc-link-gold {
      color: #ffdf00;
      text-decoration: underline;
      text-underline-offset: 2px;
      letter-spacing: 0.06em;
      font-weight: 900;
    }

    .uc-link-gold:hover {
      color: #fff3a0;
    }

    .uc-btn-gold {
      background: #ffdf00;
      color: #111;
      border: 2px solid #111;
      box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
    }

    .uc-btn-gold:hover {
      filter: brightness(1.05);
    }

    .uc-badge-gold {
      border: 1px solid #ffdf00;
      box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
    }

    .uc-online-gold {
      padding: 1px 6px;
      border: 1px solid #ffdf00;
      border-radius: 999px;
      box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
    }

    .section-header {
      background: var(--uc-dna-header-red);
      color: #fff;
      padding: 7.5px 12px;
      font-weight: bold;
      font-size: 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      border-bottom: 2px solid var(--uc-dna-border-strong);
    }

    .wire-item {
      border-bottom: 1px solid #eee;
      padding: 8px 0;
    }

    .wire-item:last-child {
      border-bottom: none;
    }

    .spotlight-img {
      border: 3px solid #eee;
      box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    }

    .user-thumb {
      width: 50px;
      height: 50px;
      background-color: #ddd;
      border: 1px solid #ccc;
      margin: 0 auto 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .online-count {
      background: #008000;
      color: #fff;
      padding: 2px 6px;
      border-radius: 10px;
      font-size: 10px;
      border: 1px solid rgba(0, 0, 0, 0.35);
    }

    .uc-live-count {
      display: inline-block;
    }

    .uc-live-count.is-live-bump {
      animation: uc-live-count-bump 260ms ease;
    }

    @keyframes uc-live-count-bump {
      0% { transform: scale(1); }
      40% { transform: scale(1.08); }
      100% { transform: scale(1); }
    }

    .hidden-page {
      display: none;
    }

    /* ── 80/20 modern polish (CSS-only, vendorless) ─────────────── */
    .uc-texture-dots {
      background-image: radial-gradient(rgba(0, 0, 0, 0.07) 1px, transparent 1px);
      background-size: 10px 10px;
    }

    .uc-texture-grid {
      background-image:
        linear-gradient(rgba(0, 0, 0, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.045) 1px, transparent 1px);
      background-size: 18px 18px;
    }

    /* Shared DNA primitives for all surfaces */
    .uc-dna-btn {
      border: 2px solid var(--uc-dna-border-strong);
      border-radius: 6px;
      box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
      padding: 8px 14px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      font-size: 11px;
      cursor: pointer;
      transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.12s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
    }

    .uc-dna-btn:hover {
      transform: translate(-1px, -1px);
      box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.4);
      filter: brightness(1.04);
    }

    .uc-dna-btn:active {
      transform: translate(2px, 2px);
      box-shadow: 0 0 0 rgba(0, 0, 0, 0.4);
    }

    .uc-dna-btn-primary {
      background: var(--uc-dna-header-red);
      color: #fff;
    }

    .uc-dna-btn-secondary {
      background: var(--urban-navy);
      color: #fff;
    }

    .uc-dna-btn-neutral {
      background: #fff;
      color: #111;
    }

    .uc-dna-chip {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      border: 2px solid var(--uc-dna-border-strong);
      border-radius: var(--uc-dna-chip-radius);
      padding: 3px 8px;
      font-size: 10px;
      font-weight: 800;
      background: var(--uc-dna-card-surface-soft);
      color: #111;
    }

    .uc-dna-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 4px;
      padding: 4px 9px;
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      background: #111;
      color: #fff;
    }

    /* ── Games (modern-retro, resilient without Tailwind classes) ── */
    .uc-games-layout {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
    }

    @media (min-width: 1024px) {
      .uc-games-layout {
        grid-template-columns: 1fr 2fr 1fr;
        align-items: start;
      }
    }

    .uc-panel-red {
      background: var(--uc-games-panel);
      border: 1px solid rgba(0, 0, 0, 0.45);
      box-shadow:
        0 10px 18px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
      overflow: hidden;
    }

    .uc-panel-red .section-header {
      background: var(--uc-games-header);
      border-bottom: 1px solid rgba(0, 0, 0, 0.45);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 12px;
      padding: 6px 10px;
    }

    .uc-games-profile-body {
      padding: 16px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      color: #fff;
      /* CSS-only “carbon fibre / portal texture” vibe */
      background-color: rgba(0, 0, 0, 0.10);
      background-image:
        repeating-linear-gradient(45deg, rgba(0,0,0,0.18) 0 6px, rgba(255,255,255,0.05) 6px 12px),
        radial-gradient(rgba(0,0,0,0.28) 1px, transparent 1px);
      background-size: 18px 18px, 12px 12px;
      background-position: 0 0, 6px 6px;
    }

    .uc-avatar-circle {
      width: 132px;
      height: 132px;
      border-radius: 999px;
      background: #fff;
      border: 4px solid #ffcc00;
      overflow: hidden;
      box-shadow: 0 8px 14px rgba(0, 0, 0, 0.35);
    }

    .uc-avatar-circle img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .uc-games-name {
      font-weight: 900;
      font-style: italic;
      text-transform: uppercase;
      color: #ffcc00;
      font-size: 20px;
      line-height: 1;
      text-shadow: 1px 1px 0 rgba(0,0,0,0.65);
    }

    .uc-games-role {
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.2em;
      opacity: 0.85;
    }

    .uc-btn-yellow {
      width: 100%;
      padding: 10px 12px;
      background: #ffcc00;
      color: #000;
      font-weight: 900;
      text-transform: uppercase;
      font-size: 11px;
      border-radius: 3px;
      border: none;
      box-shadow: inset 0 -4px 0 rgba(0,0,0,0.25);
      cursor: pointer;
    }

    .uc-btn-yellow:active {
      box-shadow: none;
      transform: translateY(1px);
    }

    .uc-games-grid {
      padding: 20px;
      background-color: var(--uc-games-base);
      background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
      background-size: 20px 20px;
      color: #fff;
    }

    .uc-games-grid h3 {
      margin: 0;
      font-weight: 900;
      font-style: italic;
      text-transform: uppercase;
      font-size: 28px;
      text-shadow: 2px 2px 0 rgba(0,0,0,0.45);
    }

    .uc-games-grid p {
      margin: 6px 0 0;
      color: rgba(255,255,255,0.75);
      font-size: 14px;
    }

    .uc-games-headline {
      display: grid;
      gap: 4px;
    }

    .uc-games-hero {
      margin-top: 16px;
      border: 1px solid rgba(255, 255, 255, 0.20);
      border-radius: 8px;
      padding: 14px;
      background:
        linear-gradient(120deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.18)),
        radial-gradient(circle at 14% 20%, rgba(255, 204, 0, 0.34), transparent 38%),
        linear-gradient(145deg, #1f4d34, #15283f);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 10px 20px rgba(0,0,0,0.28);
    }

    .uc-games-hero-kicker {
      display: inline-flex;
      width: fit-content;
      padding: 3px 8px;
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      border-radius: 999px;
      color: #111;
      background: #ffcc00;
    }

    .uc-games-hero-title {
      margin-top: 9px;
      font-size: 30px;
      line-height: 1;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.01em;
      text-shadow: 2px 2px 0 rgba(0,0,0,0.35);
    }

    .uc-games-hero-copy {
      margin-top: 8px;
      max-width: 64ch;
      font-size: 13px;
      color: rgba(255,255,255,0.9);
    }

    .uc-games-hero-topline {
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 10px;
    }

    .uc-games-arrow {
      width: 34px;
      height: 34px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.3);
      background: rgba(0,0,0,0.28);
      color: #fff;
      font-size: 21px;
      line-height: 1;
      cursor: pointer;
    }

    .uc-games-hero-chips {
      margin-top: 10px;
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .uc-games-chip {
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      padding: 4px 8px;
      border-radius: 3px;
      border: 1px solid rgba(255,255,255,0.28);
      background: rgba(0,0,0,0.32);
      color: #fff;
    }

    .uc-games-hero-actions {
      margin-top: 12px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .uc-games-hero-btn {
      border: none;
      border-radius: 4px;
      padding: 9px 12px;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      cursor: pointer;
      color: #111;
      background: #ffcc00;
      box-shadow: inset 0 -3px 0 rgba(0,0,0,0.25);
    }

    .uc-games-hero-btn.is-alt {
      color: #fff;
      background: #111;
      border: 1px solid rgba(255,255,255,0.22);
      box-shadow: none;
    }

    .uc-games-dots {
      margin-top: 10px;
      display: flex;
      gap: 7px;
      align-items: center;
      flex-wrap: wrap;
    }

    .uc-games-dot {
      width: 9px;
      height: 9px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.4);
      background: rgba(255,255,255,0.22);
      cursor: pointer;
      padding: 0;
    }

    .uc-games-dot.is-active {
      background: #ffcc00;
      border-color: #ffcc00;
    }

    .uc-game-cards {
      margin-top: 18px;
      display: grid;
      grid-template-columns: 1fr;
      gap: 14px;
    }

    @media (min-width: 640px) {
      .uc-game-cards { grid-template-columns: 1fr 1fr; }
    }

    .uc-game-card {
      background: rgba(0,0,0,0.22);
      border: 1px solid rgba(255,255,255,0.12);
      padding: 16px;
      transition: transform 120ms ease, background 120ms ease, color 120ms ease;
      border-radius: 6px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    }

    .uc-game-card:hover {
      background: #ffcc00;
      color: #000;
      transform: translateY(-2px);
    }

    .uc-game-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 26px;
    }

    .uc-game-mode {
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      border: 1px solid rgba(255,255,255,0.28);
      border-radius: 3px;
      padding: 3px 6px;
      background: rgba(0,0,0,0.22);
    }

    .uc-game-card-title {
      margin-top: 8px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      font-size: 15px;
    }

    .uc-game-card-copy {
      margin-top: 5px;
      font-size: 11px;
      opacity: 0.85;
      min-height: 30px;
    }

    .uc-game-card .uc-invite-btn {
      margin-top: 12px;
      width: 100%;
      padding: 6px 8px;
      background: rgba(255,255,255,0.10);
      border: 1px solid rgba(255,255,255,0.20);
      color: inherit;
      font-weight: 800;
      font-size: 10px;
      text-transform: uppercase;
      cursor: pointer;
      border-radius: 3px;
    }

    .uc-game-card:hover .uc-invite-btn {
      background: #000;
      color: #fff;
      border-color: rgba(0,0,0,0.35);
    }

    .uc-games-arena {
      margin-top: 16px;
      border: 1px solid rgba(255,255,255,0.24);
      border-radius: 8px;
      background: rgba(0,0,0,0.28);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 12px 22px rgba(0,0,0,0.22);
      overflow: hidden;
    }

    .uc-games-arena-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      padding: 10px 12px;
      border-bottom: 1px solid rgba(255,255,255,0.14);
      background: linear-gradient(90deg, rgba(0,0,0,0.40), rgba(0,0,0,0.16));
    }

    .uc-games-arena-title {
      font-size: 12px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #fff;
    }

    .uc-games-arena-tools {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .uc-games-arena-status {
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.03em;
      color: #fde68a;
      padding: 4px 8px;
      border: 1px solid rgba(255,255,255,0.20);
      border-radius: 999px;
      background: rgba(0,0,0,0.35);
    }

    .uc-games-arena-status[data-tone="success"] {
      color: #86efac;
      border-color: rgba(134,239,172,0.45);
    }

    .uc-games-arena-status[data-tone="error"] {
      color: #fca5a5;
      border-color: rgba(252,165,165,0.45);
    }

    .uc-games-arena-leave {
      background: #1e293b;
      color: #fff;
      border: 1px solid rgba(255,255,255,0.16);
      font-weight: 900;
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      border-radius: 6px;
      padding: 7px 10px;
      cursor: pointer;
    }

    .uc-games-arena-stage {
      padding: 12px;
      background:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
        radial-gradient(circle at 30% 18%, rgba(255, 204, 0, 0.10), transparent 38%),
        rgba(0,0,0,0.18);
      background-size: 24px 24px, 24px 24px, auto, auto;
    }

    .uc-games-arena-hint {
      margin-top: 16px;
      font-size: 11px;
      font-weight: 800;
      color: rgba(255,255,255,0.76);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .uc-games-overlay {
      position: fixed;
      inset: 0;
      z-index: 65;
      background: rgba(0,0,0,0.68);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .uc-games-overlay.hidden {
      display: none;
    }

    .uc-games-overlay-card {
      width: min(1120px, 96vw);
      max-height: 88vh;
      overflow: auto;
      border: 2px solid rgba(255,255,255,0.3);
      border-radius: 10px;
      background: linear-gradient(160deg, rgba(126,30,18,0.96), rgba(75,15,9,0.96));
      box-shadow: 0 18px 38px rgba(0,0,0,0.45);
    }

    .uc-games-arena-leave.is-close {
      background: #7f1d1d;
    }

    .uc-players-list {
      background: rgba(0,0,0,0.10);
      padding: 10px;
      overflow: auto;
      flex: 1;
    }

    .uc-player-row {
      display: flex;
      gap: 12px;
      align-items: center;
      padding: 10px;
      background: var(--uc-games-row);
      border: 1px solid rgba(255,255,255,.06);
      margin-bottom: 10px;
      cursor: pointer;
      border-radius: 3px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
    }

    .uc-player-row:hover { background: var(--uc-games-accent); }

    .uc-player-avatar {
      width: 40px;
      height: 40px;
      background: #fff;
      border-radius: 999px;
      border: 1px solid #ffcc00;
      overflow: hidden;
      flex-shrink: 0;
    }

    .uc-player-avatar img { width: 100%; height: 100%; object-fit: cover; display:block; }

    @keyframes uc-bounce-in {
      0% { transform: scale(0.6); opacity: 0; }
      65% { transform: scale(1.06); opacity: 1; }
      100% { transform: scale(1); }
    }

    .uc-anim-bounce-in { animation: uc-bounce-in 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

    /* ── Profile page extras ──────────────────────────── */
    .profile-banner-strip {
      background: linear-gradient(135deg, #1a1a1a 0%, #2c0000 60%, #8b0000 100%);
      border-bottom: 3px solid #b22222;
      padding: 12px 16px;
      position: relative;
      overflow: hidden;
    }
    .profile-banner-strip::before {
      content: "";
      position: absolute; inset: 0;
      background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(178,34,34,.07) 10px, rgba(178,34,34,.07) 11px);
    }
    .profile-username-lg {
      font-family: "Permanent Marker", cursive;
      font-size: 26px; color: #fff;
      text-shadow: 2px 2px 4px #000, 0 0 10px rgba(255, 80, 80, 0.32);
      line-height: 1;
    }

    .uc-profile-status-chip {
      box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
      border-radius: 999px;
      padding: 2px 10px;
    }
    .avatar-frame-lg {
      border: 3px solid #b22222;
      box-shadow: 0 0 0 2px #000, 3px 3px 8px rgba(0,0,0,.5);
      background: #111;
      display: block; overflow: hidden;
      width: 110px; height: 110px; flex-shrink: 0;
    }
    .avatar-frame-lg img { width: 100%; height: 100%; object-fit: cover; }
    .profile-contact-btn {
      display: block; width: 100%;
      background: linear-gradient(to bottom, #e8e8e8, #c8c8c8);
      border: 1px solid #888; border-bottom: 2px solid #555;
      color: #000; font-weight: bold; font-size: 11px; text-align: left;
      padding: 4px 8px; margin-bottom: 3px; cursor: pointer;
      border-radius: 2px; text-decoration: none;
    }
    .profile-contact-btn:hover { background: linear-gradient(to bottom, #fff, #e0e0e0); }
    .profile-contact-btn.p-red {
      background: linear-gradient(to bottom, #cc2222, #8b0000);
      color: #fff; border-color: #500;
    }
    .profile-contact-btn.p-red:hover { background: linear-gradient(to bottom, #ff3333, #aa0000); }
    .profile-contact-btn.p-dark {
      background: linear-gradient(to bottom, #555, #333);
      color: #ccc; border-color: #222;
    }
    .profile-info-table { width: 100%; border-collapse: collapse; }
    .profile-info-table td { padding: 3px 6px; border-bottom: 1px solid #eee; font-size: 11px; }
    .profile-info-table td:first-child { font-weight: bold; color: #8b0000; width: 40%; }
    .profile-counter {
      font-family: monospace; background: #000; color: #0f0;
      font-size: 17px; letter-spacing: 4px;
      padding: 3px 10px; border: 2px inset #333; display: inline-block;
    }
    .profile-player-box {
      background: #111; border: 1px solid #333;
      padding: 6px; border-radius: 2px;
    }
    .profile-player-bar {
      height: 4px; background: #333; border-radius: 2px; margin-top: 5px; overflow: hidden;
    }
    .profile-player-fill { height: 100%; width: 62%; background: linear-gradient(to right, #b22222, #ff5555); }
    .profile-badge-pill {
      display: inline-flex; align-items: center; gap: 4px;
      background: linear-gradient(to bottom, #222, #111);
      border: 1px solid #b22222; color: #ffcc00;
      font-size: 10px; font-weight: bold;
      padding: 3px 8px; margin: 2px; border-radius: 2px;
    }
    .profile-interest-tag {
      display: inline-block;
      background: #e8e8e8; border: 1px solid #bbb;
      color: #333; font-size: 10px;
      padding: 2px 7px; margin: 2px; border-radius: 2px;
    }
    .profile-neighborhood-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; }
    .profile-neighborhood-thumb {
      width: 54px; height: 54px;
      border: 2px solid #b22222;
      overflow: hidden; margin: 0 auto 2px;
      background: #ddd;
    }
    .profile-neighborhood-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .profile-comment-block { border-bottom: 1px dotted #ccc; padding: 6px 0; }
    .profile-comment-block:last-child { border-bottom: none; }
    .profile-comment-thumb {
      width: 34px; height: 34px; border: 1px solid #aaa;
      overflow: hidden; flex-shrink: 0;
    }
    .profile-comment-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .profile-section-ul {
      border-bottom: 2px solid #b22222;
      color: #8b0000; font-weight: bold; font-size: 11px;
      margin-bottom: 5px; padding-bottom: 2px;
    }
    .online-dot-sm { width: 7px; height: 7px; border-radius: 50%; background: #00ee00; box-shadow: 0 0 4px #0f0; display:inline-block; }

    @media (max-width: 640px) {
      .profile-neighborhood-grid { grid-template-columns: repeat(2, 1fr); }
      .profile-neighborhood-thumb { width: 64px; height: 64px; }
    }

    .login-bar {
      position: relative;
      background: #141820;
      border-bottom: 2px solid #000;
      padding-right: 188px;
    }

    .uc-notify-dock {
      z-index: 12000;
      width: min(420px, calc(100vw - 20px));
    }

    .uc-notify-dock.is-in-topbar {
      position: absolute;
      top: 4px;
      right: 10px;
      width: min(360px, calc(100vw - 20px));
    }

    .uc-notify-dock.is-floating {
      position: fixed;
      right: 16px;
      bottom: 16px;
    }

    .uc-notify-toast {
      margin-bottom: 10px;
      border-radius: 10px;
      border: 2px solid #111;
      background: linear-gradient(145deg, #be123c, #991b1b);
      color: #fff;
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
      padding: 10px;
    }

    .uc-notify-toast-text {
      font-size: 12px;
      line-height: 1.35;
      font-weight: 800;
    }

    .uc-notify-toast-action {
      margin-top: 8px;
      border: 1px solid #111;
      border-radius: 6px;
      background: #facc15;
      color: #111;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 6px 10px;
      cursor: pointer;
    }

    .uc-notify-toggle {
      width: 100%;
      border: 2px solid #111;
      border-radius: 10px;
      background: #111827;
      color: #f9fafb;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
      padding: 11px 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      cursor: pointer;
    }

    .uc-notify-toggle-title {
      font-size: 11px;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #facc15;
    }

    .uc-notify-unread {
      font-size: 10px;
      font-weight: 900;
      border-radius: 999px;
      background: #be123c;
      color: #fff;
      padding: 2px 9px;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .uc-notify-panel {
      margin-top: 8px;
      border-radius: 10px;
      border: 2px solid #111;
      background: linear-gradient(150deg, #f3f4f6, #e5e7eb);
      color: #111827;
      box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
      overflow: hidden;
    }

    .uc-notify-panel-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 10px 12px;
      border-bottom: 1px solid #d1d5db;
      background: rgba(17, 24, 39, 0.03);
    }

    .uc-notify-panel-title {
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #991b1b;
    }

    .uc-notify-filter-group {
      display: inline-flex;
      gap: 4px;
    }

    .uc-notify-filter-btn {
      border: 1px solid #9ca3af;
      background: #fff;
      color: #111827;
      border-radius: 6px;
      padding: 5px 8px;
      font-size: 10px;
      font-weight: 800;
      cursor: pointer;
    }

    .uc-notify-filter-btn.is-active {
      background: #111827;
      color: #facc15;
      border-color: #111827;
    }

    .uc-notify-list {
      padding: 10px;
      max-height: 360px;
      overflow: auto;
      display: grid;
      gap: 8px;
    }

    .uc-notify-empty {
      padding: 12px;
      font-size: 12px;
      color: #4b5563;
    }

    .uc-notify-item {
      border: 1px solid #d1d5db;
      border-radius: 8px;
      background: #fff;
      padding: 10px;
    }

    .uc-notify-item-sender {
      color: #991b1b;
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .uc-notify-item-title {
      font-size: 13px;
      font-weight: 800;
      color: #111827;
      margin-top: 2px;
    }

    .uc-notify-item-message {
      font-size: 12px;
      color: #374151;
      margin-top: 4px;
      line-height: 1.35;
    }

    .uc-notify-item-status {
      margin-top: 4px;
      color: #6b7280;
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .uc-notify-item-actions {
      margin-top: 8px;
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .uc-notify-action-btn {
      border: 1px solid #9ca3af;
      background: #fff;
      color: #111827;
      border-radius: 6px;
      padding: 6px 10px;
      font-size: 10px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      cursor: pointer;
    }

    .uc-notify-action-btn.is-primary {
      border-color: #b91c1c;
      background: #b91c1c;
      color: #fff;
    }

    .uc-global-footer-bar {
      background: #141820;
      border-top: 2px solid #000;
      color: #f9fafb;
      margin-top: 24px;
    }

    .uc-global-footer-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 14px 16px;
      text-align: center;
    }

    .uc-global-footer-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px 10px;
      margin-bottom: 6px;
    }

    .uc-global-footer-links a {
      color: #facc15;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      text-decoration: none;
      border: 1px solid rgba(250, 204, 21, 0.28);
      padding: 3px 8px;
      border-radius: 4px;
    }

    .uc-global-footer-copy {
      font-size: 11px;
      color: #e5e7eb;
      margin: 0;
    }

    @media (max-width: 640px) {
      .login-bar {
        padding-right: 12px;
        padding-top: 62px;
      }
      .uc-notify-dock.is-in-topbar,
      .uc-notify-dock.is-floating {
        left: 8px;
        right: 8px;
        top: 6px;
        width: auto;
      }
      .uc-notify-toggle-title {
        font-size: 10px;
      }
    }
