@charset "utf-8";
    :root {
      --bg-deep: #06080f;
      --bg-panel: #0d111c;
      --bg-elevated: #121826;
      --border: rgba(255, 255, 255, 0.08);
      --text: #e8eaef;
      --text-muted: #8b92a8;
      --accent: #2563eb;
      --accent-soft: rgba(37, 99, 235, 0.15);
      --left-w: 270px;
      --right-w: 350px;
      --content-max: 1600px;
      --neon-pink: #ff3bdc;
      --neon-purple: #c084fc;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    html {
      font-size: 18px;
    }

    html, body {
      margin: 0;
      height: 100%;
      font-family: "Noto Sans KR", system-ui, sans-serif;
      background-color: var(--bg-deep);
      background-image: url("/img/background.png");
      background-size: 100% auto;
      background-position: center top;
      background-repeat: repeat-y;
      color: var(--text);
    }

    .app {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .app-shell {
      width: 100%;
      max-width: var(--content-max);
      margin-left: auto;
      margin-right: auto;
      flex: 1;
      display: flex;
      flex-direction: column;
      min-height: 0;
    }

    /* 상단 헤더 — 좌·중·우 그리드로 로고 정중앙 */
    .header {
      flex-shrink: 0;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 8px 16px;
      padding: 18px 20px 16px;
      border-bottom: 1px solid var(--border);
    }

    .header-side {
      display: flex;
      align-items: center;
      min-width: 0;
    }

    .header-side--right {
      justify-content: flex-end;
    }

    .header-brand {
      text-align: center;
      justify-self: center;
      max-width: 920px;
      width: 100%;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      text-decoration: none;
      color: inherit;
    }

    .brand--hero .brand-name {
      font-weight: 800;
      font-size: clamp(1.6rem, 4.3vw, 2.2rem);
      letter-spacing: 0.12em;
      line-height: 1.15;
      text-transform: uppercase;
      background: linear-gradient(
        110deg,
        #fff 0%,
        var(--neon-pink) 35%,
        var(--neon-purple) 55%,
        #fff 100%
      );
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      text-shadow:
        0 0 20px rgba(255, 59, 220, 0.45),
        0 0 40px rgba(192, 132, 252, 0.25);
      filter: drop-shadow(0 0 12px rgba(255, 59, 220, 0.35));
    }

    .brand--hero .brand-tv {
      font-weight: 800;
      letter-spacing: 0.14em;
    }

    .header-tagline {
      margin: 12px 0 0;
      padding: 14px 20px;
      width: 100%;
      box-sizing: border-box;
      text-align: left;
      font-size: clamp(13px, 2.4vw, 17px);
      font-weight: 800;
      letter-spacing: 0.04em;
      line-height: 1.35;
      background-color: #0a0014;
      border-radius: 4px;
      border: 1px solid rgba(255, 0, 255, 0.12);
    }

    .header-tagline__glitch {
      color: #fff;
      font-weight: 800;
      font-size: 26px;
    }

    .header-tagline__magenta {
      color: #ff00ff;
      font-weight: 800;
      font-size: 26px;
    }

    .header-mobile-quick {
      display: none;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .search-pill {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 14px;
      border-radius: 999px;
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      color: var(--text-muted);
      font-size: 16px;
      min-width: 200px;
    }

    .icon-btn {
      position: relative;
      width: 44px;
      height: 44px;
      border-radius: 10px;
      border: 1px solid var(--border);
      background: var(--bg-panel);
      color: var(--text-muted);
      display: grid;
      place-items: center;
      cursor: pointer;
    }

    .icon-btn:hover {
      color: var(--text);
      border-color: rgba(255, 255, 255, 0.15);
    }

    .icon-btn svg {
      display: block;
    }

    .icon-btn--user {
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.02em;
    }

    /* 3단 본문 */
    .main-wrap {
      flex: 1;
      display: flex;
      min-height: 0;
    }

    .col-left {
      width: var(--left-w);
      flex-shrink: 0;
      border-right: 1px solid rgba(255, 0, 255, 0.15);
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    /* 왼쪽: 네온 테두리 배너 카드 */
    .side-banner {
      flex-shrink: 0;
      position: relative;
      border-radius: 26px;
      padding: 20px 16px;
      background: rgba(6, 0, 14, 0.94);
      border: 1px solid rgba(255, 255, 255, 0.92);
      box-shadow:
        0 0 18px rgba(255, 0, 255, 0.55),
        0 0 36px rgba(255, 0, 255, 0.22),
        inset 0 0 22px rgba(255, 0, 255, 0.32),
        inset 0 0 6px rgba(255, 255, 255, 0.12);
      overflow: hidden;
    }

    a.side-banner {
      display: block;
      text-decoration: none;
      color: inherit;
      cursor: pointer;
    }

    a.side-banner:hover {
      filter: brightness(1.07);
    }

    a.side-banner:focus-visible {
      outline: 2px solid #ff00ff;
      outline-offset: 3px;
    }

    .side-banner__title {
      margin: 0 0 14px;
      font-size: 20px;
      font-weight: 800;
      color: #fff;
      text-align: center;
      letter-spacing: 0.03em;
      line-height: 1.35;
      text-shadow: 0 0 14px rgba(255, 255, 255, 0.25);
    }

    .side-banner__title--magenta {
      color: #ff00ff;
      text-shadow:
        0 0 18px rgba(255, 0, 255, 0.85),
        0 0 32px rgba(255, 0, 255, 0.35);
    }

    .side-banner__body {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      position: relative;
      z-index: 1;
    }

    .side-banner__brand {
      margin: 0;
      font-size: 1.35rem;
      font-weight: 900;
      letter-spacing: 0.12em;
      line-height: 1.2;
      text-align: center;
      text-transform: uppercase;
    }

    .side-banner__brand-ballen {
      color: #ff2fd8;
      text-shadow:
        0 0 14px rgba(255, 0, 255, 0.95),
        0 0 28px rgba(255, 0, 255, 0.45),
        -1px 0 0 rgba(255, 255, 255, 0.35);
    }

    .side-banner__brand-tv {
      color: #dff6ff;
      text-shadow:
        0 0 10px rgba(94, 207, 255, 0.85),
        0 2px 0 rgba(0, 60, 100, 0.45),
        0 -1px 0 rgba(255, 255, 255, 0.35);
    }

    .side-banner__btn {
      display: inline-block;
      width: 100%;
      max-width: 100%;
      padding: 11px 14px;
      border: 1px solid rgba(255, 255, 255, 0.9);
      border-radius: 999px;
      font-family: inherit;
      font-size: 14px;
      font-weight: 700;
      color: #fff;
      cursor: pointer;
      text-align: center;
      text-decoration: none;
      background: rgba(0, 0, 0, 0.42);
      box-shadow:
        0 0 14px rgba(255, 0, 255, 0.35),
        inset 0 0 12px rgba(255, 0, 255, 0.18);
      transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    }

    .side-banner__btn:hover {
      filter: brightness(1.12);
      transform: translateY(-1px);
      box-shadow:
        0 0 20px rgba(255, 0, 255, 0.5),
        inset 0 0 14px rgba(255, 0, 255, 0.22);
    }

    .side-banner__icon-wrap {
      display: flex;
      justify-content: center;
      padding: 6px 0;
      position: relative;
    }

    .side-banner__icon-wrap::before {
      content: "";
      position: absolute;
      left: 50%;
      top: 50%;
      width: 72px;
      height: 72px;
      transform: translate(-50%, -50%);
      background: radial-gradient(circle, rgba(42, 171, 238, 0.45) 0%, transparent 68%);
      filter: blur(14px);
      pointer-events: none;
    }

    .side-banner__icon-wrap svg {
      display: block;
      position: relative;
      z-index: 1;
      filter:
        drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45))
        drop-shadow(0 0 18px rgba(42, 171, 238, 0.55));
    }

    .side-banner__text {
      margin: 0;
      font-size: 14px;
      line-height: 1.65;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.94);
      text-align: center;
    }

    .side-banner__hl {
      color: #ff00ff;
      font-weight: 800;
      text-shadow: 0 0 12px rgba(255, 0, 255, 0.65);
    }

    .side-banner__art {
      display: flex;
      justify-content: center;
      padding: 4px 0 6px;
    }

    .side-banner__art svg,
    .side-banner__gift {
      display: block;
      max-width: 100%;
      height: auto;
      filter: drop-shadow(0 0 14px rgba(255, 0, 255, 0.35));
    }

    .side-banner--domain {
      min-height: 200px;
      padding-top: 22px;
      padding-bottom: 22px;
      background-color: #06000f;
      background-image: url("/img/domain-background.png");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }

    .side-banner--domain::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
    }

    .side-banner--domain .side-banner__body {
      gap: 16px;
      min-height: 120px;
      justify-content: center;
    }

    .side-banner--telegram {
      background-color: #06000f;
      background-image: url("/img/telegram-background.png");
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
    }

    .side-banner--telegram::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;

    }

    .side-banner--telegram .side-banner__body {
      gap: 14px;
    }

    .side-banner--event .side-banner__body {
      gap: 12px;
    }

    .col-center {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      padding: 0 6px 0 8px;
      gap: 16px;
    }

    .col-center__hero {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 12px;
    }

    .mobile-left-banners {
      display: none;
      flex-direction: row;
      flex-wrap: nowrap;
      align-items: stretch;
      justify-content: stretch;
      gap: 8px;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }

    .mobile-left-banners .side-banner {
      flex: 1 1 0;
      min-width: 0;
      width: auto;
      max-width: none;
      box-sizing: border-box;
    }

    .player-wrap {
      flex: 1;
      min-height: 360px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: radial-gradient(ellipse 80% 60% at 50% 40%, #1a2235 0%, #0a0d14 70%);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 16px;
      position: relative;
      overflow: hidden;
    }

    .player-wrap::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.45));
      pointer-events: none;
    }

    .play-ring {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      border: 3px solid rgba(255, 255, 255, 0.25);
      display: grid;
      place-items: center;
      position: relative;
      z-index: 1;
    }

    .play-ring::after {
      content: "";
      border-style: solid;
      border-width: 12px 0 12px 20px;
      border-color: transparent transparent transparent rgba(255, 255, 255, 0.9);
      margin-left: 4px;
    }

    .player-caption {
      position: relative;
      z-index: 1;
      text-align: center;
    }

    .player-caption h2 {
      margin: 0 0 6px;
      font-size: 1.4rem;
      font-weight: 600;
    }

    .player-caption p {
      margin: 0;
      font-size: 16px;
      color: var(--text-muted);
    }

    .col-right {
      width: var(--right-w);
      flex-shrink: 0;
      border-left: 1px solid rgba(255, 0, 255, 0.15);
      padding: 16px 12px;
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .col-right .panel {
      border-radius: 22px;
      border: 1px solid rgba(255, 255, 255, 0.92);
      background: rgba(6, 0, 14, 0.94);
      box-shadow:
        0 0 18px rgba(255, 0, 255, 0.55),
        0 0 36px rgba(255, 0, 255, 0.22),
        inset 0 0 22px rgba(255, 0, 255, 0.32),
        inset 0 0 6px rgba(255, 255, 255, 0.12);
      overflow: hidden;
    }

    .col-right .panel-head {
      padding: 14px 16px;
      border-bottom: 1px solid rgba(255, 0, 255, 0.28);
      font-size: 17px;
      font-weight: 800;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
      text-shadow: 0 0 14px rgba(255, 255, 255, 0.2);
    }

    .col-right .panel-head small {
      font-size: 12px;
      font-weight: 600;
      color: rgba(255, 180, 255, 0.82);
      text-shadow: 0 0 10px rgba(255, 0, 255, 0.35);
    }

    /* 순위표 레이아웃만 */
    .standings-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 15px;
    }

    .standings-table th,
    .standings-table td {
      padding: 10px 12px;
      text-align: left;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .standings-table th {
      color: rgba(232, 234, 239, 0.7);
      font-weight: 700;
      background: rgba(40, 12, 62, 0.55);
    }

    .standings-table td {
      color: rgba(255, 255, 255, 0.92);
    }

    .standings-table td:nth-child(1) {
      width: 36px;
      color: #ff2fd8;
      font-weight: 800;
      text-shadow: 0 0 8px rgba(255, 0, 255, 0.45);
    }

    .standings-table .cell-team {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .team-badge {
      width: 22px;
      height: 22px;
      border-radius: 6px;
      background: rgba(20, 8, 40, 0.85);
      border: 1px solid rgba(255, 0, 255, 0.35);
      box-shadow: 0 0 10px rgba(255, 0, 255, 0.2);
      flex-shrink: 0;
    }

    .standings-table .num {
      text-align: right;
      color: rgba(232, 234, 239, 0.72);
    }

    /* 오늘의 경기 자리 */
    .match-rows {
      padding: 0;
    }

    .match-row {
      padding: 12px 14px;
      border-bottom: 1px solid rgba(255, 0, 255, 0.14);
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 8px;
      align-items: center;
      font-size: 15px;
    }

    .match-row:last-child {
      border-bottom: none;
    }

    .match-side {
      display: flex;
      align-items: center;
      gap: 6px;
      min-width: 0;
    }

    .match-side.right {
      justify-content: flex-end;
      text-align: right;
    }

    .match-mid {
      color: #ff00ff;
      font-weight: 700;
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
      text-shadow: 0 0 12px rgba(255, 0, 255, 0.5);
    }

    .col-right .ghost-line {
      background: linear-gradient(
        90deg,
        rgba(255, 59, 220, 0.22),
        rgba(192, 132, 252, 0.14)
      );
    }

    .ghost-line {
      height: 10px;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.06);
      max-width: 100%;
    }

    @media (max-width: 1100px) {
      :root {
        --left-w: 230px;
        --right-w: 310px;
      }
    }

    @media (max-width: 700px) {
      .header {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding-top: 14px;
        padding-bottom: 14px;
      }

      .header-tagline__glitch,
      .header-tagline__magenta {
        font-size: 14px;
      }

      .header-side--left {
        display: none;
      }

      .header-side--right {
        justify-content: center;
        width: 100%;
      }

      .header-actions {
        justify-content: center;
      }

      .search-pill {
        min-width: 0;
        flex: 1;
        max-width: 280px;
      }
    }

    @media (max-width: 900px) {
      .main-wrap {
        flex-direction: column;
      }
      .main-wrap:has(.mobile-left-banners) .col-left {
        display: none;
      }
      .col-left,
      .col-right {
        width: 100%;
        border: none;
        border-bottom: 1px solid rgba(255, 0, 255, 0.2);
      }
      .col-center {
        order: -1;
        padding-left: 0;
        padding-right: 0;
      }

      .col-center__hero {
        border-radius: 10px;
      }

      .mobile-left-banners {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: stretch;
        gap: 6px;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
      }

      .mobile-left-banners .side-banner {
        display: flex;
        flex-direction: column;
        border-radius: 12px;
        padding: 8px 4px 8px;
        box-shadow:
          0 0 10px rgba(255, 0, 255, 0.4),
          0 0 20px rgba(255, 0, 255, 0.15),
          inset 0 0 14px rgba(255, 0, 255, 0.22),
          inset 0 0 4px rgba(255, 255, 255, 0.1);
      }

      .mobile-left-banners .side-banner--domain {
        min-height: 0;
        padding-top: 8px;
        padding-bottom: 8px;
      }

      .mobile-left-banners .side-banner--domain .side-banner__body {
        min-height: 0;
        gap: 8px;
        justify-content: flex-start;
      }

      .mobile-left-banners .side-banner--domain .side-banner__brand {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        min-height: 44px;
        font-size: 18px;
        letter-spacing: 0.08em;
        line-height: 1.15;
        text-align: center;
      }

      .mobile-left-banners .side-banner--domain .side-banner__btn {
        margin-top: 0;
        flex-shrink: 0;
        align-self: stretch;
      }

      .mobile-left-banners .side-banner--telegram .side-banner__body,
      .mobile-left-banners .side-banner--event .side-banner__body {
        gap: 6px;
      }

      .mobile-left-banners .side-banner__title {
        margin: 0 0 5px;
        padding: 0 1px;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 0.01em;
        line-height: 1.22;
        word-break: keep-all;
        flex-shrink: 0;
      }

      .mobile-left-banners .side-banner__body {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        width: 100%;
        min-height: 0;
      }

      .mobile-left-banners .side-banner__brand {
        margin: 0;
        font-size: 9px;
        letter-spacing: 0.04em;
        line-height: 1.2;
      }

      .mobile-left-banners .side-banner__text {
        margin: 0;
        padding: 0;
        font-size: 8px;
        line-height: 1.4;
        font-weight: 600;
      }

      .mobile-left-banners .side-banner__btn {
        margin-top: auto;
        padding: 5px 3px;
        font-size: 8px;
        font-weight: 700;
        line-height: 1.2;
        border-radius: 999px;
      }

      .mobile-left-banners .side-banner__icon-wrap {
        margin: 0;
        padding: 0 0 2px;
        flex-shrink: 0;
      }

      .mobile-left-banners .side-banner__icon-wrap::before {
        width: 36px;
        height: 36px;
        filter: blur(6px);
      }

      .mobile-left-banners .side-banner__icon-wrap img {
        width: 32px !important;
        max-width: 100%;
        height: auto;
      }

      .mobile-left-banners .side-banner__art {
        margin: 0;
        padding: 0 0 4px;
        flex-shrink: 0;
      }

      .mobile-left-banners .side-banner__art img {
        width: 38px !important;
        max-width: 100%;
        height: auto;
      }

      .header-mobile-quick {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin: 14px 0 0;
        padding: 0 4px;
        max-width: 100%;
      }

      .header-mobile-quick__btn {
        flex: 1 1 auto;
        min-width: calc(33.333% - 8px);
        padding: 9px 10px;
        border: none;
        border-radius: 8px;
        font-family: inherit;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.25;
        color: #fff;
        text-align: center;
        text-decoration: none;
        background: linear-gradient(180deg, #7c3aed 0%, #5b21b6 100%);
        box-shadow:
          0 0 12px rgba(139, 92, 246, 0.35),
          inset 0 1px 0 rgba(255, 255, 255, 0.12);
        transition: filter 0.15s ease, transform 0.15s ease;
      }

      .header-mobile-quick__btn:hover {
        filter: brightness(1.08);
        transform: translateY(-1px);
      }
    }
