    :root{
      --bg: #0b0f14;
      --panel: rgba(255,255,255,0.06);
      --line: rgba(255,255,255,0.12);
      --text: rgba(255,255,255,0.92);
      --muted: rgba(255,255,255,0.65);
      --shadow: 0 14px 45px rgba(0,0,0,0.45);
      --radius: 18px;
    }
    *{ box-sizing:border-box; }
    html,body{ height:100%; }

    html, body, button, a, input, [role="button"], canvas, label, .mixer, .clickArea {
      cursor: url("custom_cursor.png") 24 24, auto;
    }

    body{
      margin:0;
      font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      background:
        radial-gradient(1200px 700px at 50% 10%, rgba(255,255,255,0.06), transparent 55%),
        radial-gradient(900px 600px at 15% 80%, rgba(255,255,255,0.05), transparent 60%),
        var(--bg);
      color: var(--text);
      overflow-x:hidden;
    }

    .wrap{
      min-height: 100vh;
      display: grid;
      place-items: center;
      padding: 30px 18px 90px;
    }

    .badge{
      width: min(1200px, 96vw);
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 18px;
      backdrop-filter: blur(10px);
    }

    .badgeTop{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 12px;
      margin-bottom: 10px;
    }

    .brand{
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: lowercase;
      font-size: 18px;
    }

    .pill{
      font-size: 12px;
      padding: 6px 10px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: rgba(0,0,0,0.22);
      color: var(--muted);
      white-space: nowrap;
    }

    .clickArea{
      width: 100%;
      display:block;
      padding: 10px 10px 14px;
      border-radius: 14px;
      border: 1px solid transparent;
      transition: border-color 180ms ease, background 180ms ease;
      user-select:none;
    }
    .clickArea:not(.started){
      cursor: url("custom_cursor.png") 24 24, pointer;
    }
    .clickArea:hover{
      border-color: rgba(255,255,255,0.14);
      background: rgba(255,255,255,0.03);
    }

    .hacker{
      margin: 10px 0 4px;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      font-size: 16px;
      line-height: 1.4;
      color: rgba(255,255,255,0.9);
      display:flex;
      align-items:center;
      gap: 10px;
    }

    .cursorBlock{
      width: 10px;
      height: 18px;
      background: rgba(255,255,255,0.75);
      border-radius: 2px;
      animation: blink 1s steps(2,end) infinite;
      opacity: 0.8;
    }
    @keyframes blink { 50%{ opacity:0; } }

    .hint{
      margin: 10px 0 0;
      font-size: 13px;
      color: var(--muted);
    }

    .grid{
      margin-top: 14px;
      display: none;
      grid-template-columns: 1.2fr 0.8fr 0.6fr;
      gap: 12px;
      align-items: stretch;
    }
    body.started .grid{ display: grid; }
    @media (max-width: 980px){
      .grid{
        grid-template-columns: 1fr;
      }
      .gifPanel{
        display: none;
      }
    }

    @media (max-width: 820px){
      .grid{ grid-template-columns: 1fr; }
      .gifPanel{ display: none; }
    }

    .globePanel{
      background: rgba(0,0,0,0.25);
      border: 1px solid var(--line);
      border-radius: 16px;
      overflow: hidden;
      min-height: 520px;
      position: relative;
    }

    #globeCanvas{
      width: 100%;
      height: 100%;
      display:block;
      min-height: 520px;
    }

    .teamPanel{
      background: rgba(0,0,0,0.25);
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 12px;
      display:flex;
      flex-direction:column;
      gap: 10px;
    }
    .teamTitle{
      margin: 0;
      font-size: 12px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.55);
    }
    .cards{
      display: grid;
      grid-template-rows: repeat(5, auto);
      grid-auto-flow: column;
      grid-auto-columns: 1fr;
      gap: 10px 12px;
      align-content: start;
    }
    .card{
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 14px;
      padding: 12px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 12px;
    }
    .card .name{
      font-weight: 600;
      font-size: 14px;
      color: rgba(255,255,255,0.88);
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
      max-width: 55%;
    }
    .card a{
      font-size: 13px;
      color: rgba(255,255,255,0.78);
      text-decoration:none;
      border: 1px solid rgba(255,255,255,0.14);
      padding: 7px 10px;
      border-radius: 999px;
      background: rgba(255,255,255,0.03);
      transition: transform 120ms ease, background 120ms ease;
      white-space: nowrap;
    }
    .card a:hover{
      background: rgba(255,255,255,0.07);
      transform: translateY(-1px);
    }

    .mixer{
      position: fixed;
      left: 50%;
      transform: translateX(-50%);
      bottom: 14px;
      width: min(740px, calc(100vw - 28px));
      background: rgba(0,0,0,0.45);
      border: 1px solid rgba(255,255,255,0.14);
      border-radius: 16px;
      padding: 10px 12px;
      display:flex;
      align-items:center;
      gap: 10px;
      z-index: 3;
      backdrop-filter: blur(10px);
      box-shadow: var(--shadow);
    }
    .mixer button{
      border: 1px solid rgba(255,255,255,0.14);
      background: rgba(255,255,255,0.04);
      color: rgba(255,255,255,0.85);
      padding: 8px 10px;
      border-radius: 12px;
      font-family: inherit;
      font-size: 13px;
    }
    .mixer button:hover{ background: rgba(255,255,255,0.07); }
    .mixer .label{
      font-size: 13px;
      color: rgba(255,255,255,0.75);
      margin-left: 2px;
      margin-right: 6px;
      white-space: nowrap;
    }
    .mixer input[type="range"]{
      width: 100%;
      accent-color: white;
    }
    .mixer .pct{
      min-width: 44px;
      text-align:right;
      font-variant-numeric: tabular-nums;
      color: rgba(255,255,255,0.75);
      font-size: 13px;
    }
    .mixer.disabled{
      opacity: 0.55;
      pointer-events:none;
    }

    .gifPanel{
      background: rgba(0,0,0,0.25);
      border: 1px solid var(--line);
      border-radius: 16px;
      overflow: hidden;
      min-height: 520px;
      position: relative;
    }

    .gifPanel img{
      width: 100%;
      height: 100%;
      display: block;
      object-fit: contain;
      object-position: center;
      background: rgba(0,0,0,0.25);
    }


    #dvdLogo{
      position: fixed;
      left: 0;
      top: 0;
      width: 110px;
      height: auto;
      z-index: -1;
      pointer-events: none;
      user-select: none;
      -webkit-user-drag: none;
      filter: drop-shadow(0 6px 16px rgba(0,0,0,0.45));
      opacity: 0.6;
    }

    .viewCount{
      font-size: 12px;
      color: rgba(255,255,255,0.65);
      border: 1px solid rgba(255,255,255,0.12);
      background: rgba(0,0,0,0.22);
      padding: 6px 10px;
      border-radius: 999px;
      white-space: nowrap;
    }

    @media (max-width: 820px){
      .wrap{
        padding: 16px 12px 110px;
      }

      .badge{
        width: 100%;
        max-width: 560px;
        padding: 14px;
      }

      .grid{
        grid-template-columns: 1fr;
      }

      .globePanel{
        min-height: 360px;
      }

      #globeCanvas{
        min-height: 360px;
      }

      .gifPanel{
        display: none;
      }
    }
