    :root {
      --panel-2: rgba(255, 255, 255, 0.04);
      --line: rgba(159, 200, 236, 0.14);
      --text: #eef6ff;
      --muted: #93abc2;
      --accent: #5db9ff;
      --accent-2: #8ce0cf;
      --success: #5fda97;
      --danger: #ff9e8c;
      --radius: 24px;
      --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      min-height: 100vh;
      color: var(--text);
      font-family: "Segoe UI", system-ui, sans-serif;
      background:
        radial-gradient(circle at top left, rgba(93, 185, 255, 0.18), transparent 18%),
        radial-gradient(circle at top right, rgba(140, 224, 207, 0.10), transparent 20%),
        linear-gradient(180deg, #040b13 0%, #07111a 34%, #09131d 100%);
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: 0.2;
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
      background-size: 32px 32px;
      mask-image: radial-gradient(circle at center, black 45%, transparent 82%);
    }

    .page {
      position: relative;
      z-index: 1;
      max-width: 1400px;
      margin: 0 auto;
      padding: 24px;
    }

    .nav,
    .hero-copy,
    .hero-select,
    .block,
    .spotlight,
    .live-item,
    .world,
    .shared,
    .testimonial-shell,
    .testimonial-thumb {
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
      margin-bottom: 20px;
      padding: 14px 18px;
      background: rgba(7, 18, 29, 0.72);
      backdrop-filter: blur(16px);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .brand-mark {
      width: 40px;
      height: 40px;
      border-radius: 14px;
      background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.16), transparent 36%),
        linear-gradient(135deg, #1c5d93, #0f2c48);
    }

    .brand-name {
      font-size: 20px;
      font-weight: 800;
      letter-spacing: 0.04em;
    }

    .brand-name span {
      color: var(--accent);
    }

    .brand-copy,
    .sub,
    .hint,
    .muted,
    .world p,
    .shared p,
    .rail p {
      color: var(--muted);
    }

    .brand-copy {
      font-size: 12px;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .nav-links {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      font-size: 14px;
    }

    .nav-links a,
    .auth-link,
    .live-link {
      text-decoration: none;
    }

    .nav-links a {
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.04);
      color: var(--muted);
    }

    .nav-links a.active {
      color: var(--text);
      background: rgba(93, 185, 255, 0.08);
      border: 1px solid rgba(93, 185, 255, 0.22);
    }

    .auth-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 16px;
      border-radius: 16px;
      border: 1px solid rgba(140, 224, 207, 0.18);
      background: linear-gradient(135deg, rgba(93, 185, 255, 0.16), rgba(140, 224, 207, 0.14));
      color: var(--text);
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
    }

    .hero {
      display: grid;
      grid-template-columns: 1.03fr 0.97fr;
      gap: 20px;
      margin-bottom: 22px;
    }

    .hero-copy,
    .hero-select,
    .block {
      padding: 24px;
      background: linear-gradient(160deg, rgba(9, 24, 38, 0.92), rgba(7, 18, 29, 0.96));
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 11px;
      border-radius: 999px;
      border: 1px solid rgba(93, 185, 255, 0.18);
      background: rgba(93, 185, 255, 0.10);
      color: #dff2ff;
      font-size: 12px;
    }

    .hero h1 {
      margin: 18px 0 14px;
      max-width: 9.3em;
      font-size: clamp(38px, 6vw, 62px);
      line-height: 0.98;
      letter-spacing: -0.03em;
    }

    .sub {
      max-width: 620px;
      margin-bottom: 18px;
      font-size: 17px;
      line-height: 1.75;
    }

    .tags,
    .game-grid,
    .live-grid,
    .world-grid,
    .testimonial-strip {
      display: grid;
      gap: 12px;
    }

    .tags {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tag {
      padding: 12px 14px;
      border-radius: 18px;
      border: 1px solid rgba(159, 200, 236, 0.10);
      background: var(--panel-2);
      color: #d8ebff;
      font-size: 14px;
    }

    .select-head {
      display: flex;
      justify-content: space-between;
      align-items: start;
      gap: 12px;
      margin-bottom: 12px;
    }

    .label {
      margin-bottom: 6px;
      color: var(--muted);
      font-size: 13px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .select-head h2 {
      margin: 0;
      font-size: 30px;
      line-height: 1.05;
    }

    .hint {
      margin: 8px 0 0;
      font-size: 14px;
      line-height: 1.6;
    }

    .game-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .game {
      padding: 14px;
      border: 1px solid rgba(159, 200, 236, 0.12);
      border-radius: 20px;
      background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(11, 28, 45, 0.86);
      color: var(--text);
      text-align: left;
      cursor: pointer;
    }

    .game.active {
      border-color: rgba(93, 185, 255, 0.52);
      box-shadow: inset 0 0 0 1px rgba(93, 185, 255, 0.18);
    }

    .visual {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 104px;
      margin-bottom: 12px;
      overflow: hidden;
      border: none;
      border-radius: 18px;
      font-size: 48px;
      font-weight: 800;
    }

    .visual::after {
      display: none;
    }

    .visual span {
      position: relative;
      z-index: 1;
    }

    .chess {
      background: transparent;
    }

    .xiangqi {
      background: transparent;
    }

    .up {
      background: transparent;
    }

    .caro {
      background: transparent;
    }

    .game-name {
      display: block;
      margin-bottom: 6px;
      font-size: 20px;
      font-weight: 700;
    }

    .count {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #d8fff3;
      font-size: 14px;
      font-weight: 700;
    }

    .count::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 12px rgba(95, 218, 151, 0.55);
    }

    .action {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 14px;
      margin-top: 12px;
      padding: 14px;
      border: 1px solid rgba(159, 200, 236, 0.10);
      border-radius: 18px;
      background: var(--panel-2);
    }

    .action small {
      display: block;
      margin-bottom: 6px;
      color: var(--muted);
      font-size: 13px;
    }

    .action strong {
      display: block;
      margin-bottom: 4px;
      font-size: 18px;
    }

    .play {
      min-width: 180px;
      padding: 15px 22px;
      border: 0;
      border-radius: 18px;
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      box-shadow: 0 18px 28px rgba(93, 185, 255, 0.24);
      color: #04111b;
      font-size: 15px;
      font-weight: 800;
      cursor: pointer;
    }

    .block {
      margin-top: 22px;
    }

    .block-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 14px;
      margin-bottom: 16px;
    }

    .block-head h2 {
      margin: 0 0 4px;
      font-size: 30px;
    }

    .block-head p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.6;
    }

    .live-link {
      color: var(--muted);
      font-size: 14px;
      font-weight: 700;
    }

    .live-grid {
      grid-template-columns: 1.14fr 0.86fr;
    }

    .spotlight {
      padding: 18px;
      background: var(--panel-2);
    }

    .spotlight-top {
      display: flex;
      justify-content: space-between;
      align-items: start;
      gap: 12px;
      margin-bottom: 12px;
    }

    .spotlight h3 {
      margin: 0 0 6px;
      font-size: 24px;
    }

    .spotlight p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.6;
    }

    .live-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 11px;
      border: 1px solid rgba(255, 158, 140, 0.16);
      border-radius: 999px;
      background: rgba(255, 158, 140, 0.12);
      color: #ffe2db;
      font-size: 12px;
      font-weight: 700;
    }

    .live-badge::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--danger);
    }

    .spotlight-body {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 212px;
      gap: 14px;
      align-items: start;
    }

    .stage {
      min-height: auto;
      padding: 14px;
      border: 1px solid rgba(159, 200, 236, 0.10);
      border-radius: 20px;
      background: rgba(5, 15, 24, 0.74);
    }

    .frame {
      position: relative;
      width: 100%;
      max-width: 100%;
      min-height: 0;
      height: auto;
      aspect-ratio: 1 / 1;
      overflow: hidden;
      border-radius: 14px;
    }

    .frame.board-chess {
      background: conic-gradient(from 90deg, #f4ede2 0 25%, #4d6072 0 50%, #f4ede2 0 75%, #4d6072 0) 0 0 / 25% 25%;
    }

    .frame.board-xiangqi {
      background: url('images/xiangqi-board.svg') center/cover no-repeat;
    }

    .frame.board-up {
      background: url('images/upchess-board.svg') center/cover no-repeat;
    }

    .frame.board-caro {
      background: #f0f7fc;
    }

    .piece {
      position: absolute;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      font-weight: 700;
    }

    .piece.chess {
      width: 34px;
      height: 34px;
      font-size: 24px;
    }

    .piece.xiangqi,
    .piece.up {
      width: 34px;
      height: 34px;
      border: 1px solid rgba(76, 54, 26, 0.20);
      background: rgba(255, 255, 255, 0.48);
      color: #7f2215;
      font-size: 16px;
    }

    .piece.up.cover {
      background: rgba(43, 33, 61, 0.78);
      color: #ffffff;
    }

    .piece.caro {
      width: 22px;
      height: 22px;
      color: #12324d;
      font-size: 16px;
    }

    .piece.hl {
      box-shadow: 0 0 0 10px rgba(255, 222, 89, 0.42);
    }

    .board-lines {
      position: absolute;
      inset: 0;
      background-size: 11.11% 10%;
    }

    .board-lines.xiangqi {
      background-image:
        linear-gradient(to right, rgba(120, 60, 20, 0.28) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(120, 60, 20, 0.28) 1px, transparent 1px);
    }

    .board-lines.caro {
      background-size: 6.66% 6.66%;
      background-image:
        linear-gradient(to right, rgba(40, 116, 166, 0.18) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(40, 116, 166, 0.18) 1px, transparent 1px);
    }

    .caption {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      margin-top: 10px;
      color: var(--muted);
      font-size: 13px;
    }

    .side {
      display: grid;
      gap: 12px;
      align-content: start;
    }

    .box {
      min-width: 0;
      padding: 12px;
      border: 1px solid rgba(159, 200, 236, 0.10);
      border-radius: 18px;
      background: var(--panel-2);
    }

    .box h4 {
      margin: 0 0 8px;
      font-size: 17px;
    }

    .box div {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.6;
    }

    .box b {
      color: var(--text);
    }

    .player-row {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      padding: 8px 0;
      border-bottom: 1px solid rgba(159, 200, 236, 0.08);
    }

    .player-row:last-child {
      border-bottom: 0;
    }

    .player-row strong {
      color: var(--text);
      font-size: 14px;
      font-weight: 700;
    }

    .player-row span {
      color: #dff2ff;
      font-size: 13px;
      font-weight: 700;
    }

    .live-list {
      display: grid;
      gap: 12px;
    }

    .live-item {
      padding: 16px;
      background: var(--panel-2);
      cursor: pointer;
    }

    .live-item.active {
      border-color: rgba(93, 185, 255, 0.42);
      box-shadow: inset 0 0 0 1px rgba(93, 185, 255, 0.14);
    }

    .live-item-top,
    .live-item-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
    }

    .live-item-top {
      margin-bottom: 10px;
    }

    .live-mode {
      padding: 6px 8px;
      border: 1px solid rgba(140, 224, 207, 0.12);
      border-radius: 999px;
      background: rgba(140, 224, 207, 0.08);
      color: #d7fff6;
      font-size: 12px;
    }

    .live-item h3 {
      margin: 0 0 6px;
      font-size: 18px;
    }

    .live-item p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.6;
    }

    .testimonial-stage {
      display: grid;
      gap: 14px;
    }

    .testimonial-shell {
      display: grid;
      grid-template-columns: 0.96fr 1.04fr;
      gap: 18px;
      padding: 18px;
      background: var(--panel-2);
    }

    .testimonial-visual {
      position: relative;
      min-height: 410px;
      overflow: hidden;
      border: 1px solid rgba(159, 200, 236, 0.12);
      border-radius: 24px;
      background: #0d1824;
    }

    .art-layer {
      position: absolute;
      inset: 0;
    }

    .art-layer::before,
    .art-layer::after {
      content: "";
      position: absolute;
      pointer-events: none;
    }

    .art-layer::after {
      inset: 0;
      background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 24%),
        linear-gradient(180deg, transparent 34%, rgba(4, 10, 15, 0.12) 62%, rgba(4, 10, 15, 0.38) 100%);
    }

    .art-qv {
      background:
        radial-gradient(circle at 15% 75%, rgba(208, 30, 44, 0.98) 0 9%, transparent 9.3%),
        radial-gradient(circle at 16.5% 75%, rgba(255, 225, 118, 0.96) 0 1.5%, transparent 1.7%),
        radial-gradient(circle at 19.3% 72.1%, rgba(255, 225, 118, 0.96) 0 1.1%, transparent 1.3%),
        radial-gradient(circle at 18.3% 78.2%, rgba(255, 225, 118, 0.96) 0 1.1%, transparent 1.3%),
        radial-gradient(circle at 13.3% 78.1%, rgba(255, 225, 118, 0.96) 0 1.1%, transparent 1.3%),
        radial-gradient(circle at 12.6% 72.2%, rgba(255, 225, 118, 0.96) 0 1.1%, transparent 1.3%),
        radial-gradient(circle at 82% 20%, rgba(255, 247, 228, 0.14) 0 10%, transparent 10.4%),
        radial-gradient(circle at 18% 18%, rgba(255, 247, 228, 0.10) 0 9%, transparent 9.4%),
        radial-gradient(ellipse at 55% 24%, rgba(42, 26, 18, 0.96) 0 11%, transparent 11.4%),
        radial-gradient(ellipse at 53% 34%, rgba(228, 204, 170, 0.40) 0 7%, transparent 7.3%),
        radial-gradient(ellipse at 56% 59%, rgba(225, 106, 52, 0.96) 0 20%, transparent 20.4%),
        radial-gradient(ellipse at 59% 59%, rgba(21, 37, 78, 0.55) 0 21%, transparent 21.4%),
        linear-gradient(180deg, transparent 76%, rgba(38, 66, 60, 0.88) 76%, rgba(22, 37, 47, 0.98) 100%),
        radial-gradient(circle at 63% 84%, rgba(247, 241, 228, 0.96) 0 3%, transparent 3.2%),
        radial-gradient(circle at 71% 84%, rgba(247, 241, 228, 0.96) 0 3%, transparent 3.2%),
        radial-gradient(circle at 79% 83%, rgba(247, 241, 228, 0.96) 0 3%, transparent 3.2%),
        linear-gradient(135deg, #4b1d12 0%, #9e451f 44%, #f7d190 100%);
    }

    .art-qv::before {
      left: 72%;
      top: 8%;
      color: rgba(255, 255, 255, 0.16);
      content: "將";
      font-size: 118px;
      font-weight: 800;
      line-height: 1;
    }

    .art-tn {
      background:
        radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.18) 0 3%, transparent 3.2%),
        radial-gradient(circle at 26% 30%, rgba(255, 255, 255, 0.13) 0 4%, transparent 4.2%),
        radial-gradient(circle at 81% 26%, rgba(255, 255, 255, 0.18) 0 4%, transparent 4.2%),
        radial-gradient(ellipse at 44% 23%, rgba(50, 43, 39, 0.96) 0 10%, transparent 10.4%),
        radial-gradient(ellipse at 45% 40%, rgba(237, 221, 204, 0.52) 0 8%, transparent 8.4%),
        radial-gradient(ellipse at 41% 57%, rgba(236, 244, 249, 0.96) 0 23%, transparent 23.4%),
        radial-gradient(ellipse at 47% 58%, rgba(18, 30, 44, 0.56) 0 19%, transparent 19.4%),
        linear-gradient(180deg, transparent 74%, rgba(83, 67, 49, 0.84) 74%, rgba(61, 48, 34, 0.94) 86%, rgba(22, 32, 44, 0.98) 100%),
        conic-gradient(from 90deg, #ecd6ad 0 25%, #9a6d45 0 50%, #ecd6ad 0 75%, #9a6d45 0) 66% 84% / 20% 20% no-repeat,
        conic-gradient(from 90deg, #ecd6ad 0 25%, #9a6d45 0 50%, #ecd6ad 0 75%, #9a6d45 0) 78% 84% / 20% 20% no-repeat,
        radial-gradient(circle at 69% 82%, rgba(36, 24, 16, 0.96) 0 2.8%, transparent 3%),
        radial-gradient(circle at 75% 78%, rgba(246, 239, 221, 0.98) 0 2.5%, transparent 2.7%),
        radial-gradient(circle at 73% 86%, rgba(246, 239, 221, 0.98) 0 2.5%, transparent 2.7%),
        linear-gradient(135deg, #0f1f33 0%, #365b7f 50%, #c5d9ea 100%);
    }

    .art-tn::before {
      left: 68%;
      top: 8%;
      color: rgba(255, 255, 255, 0.14);
      content: "♘";
      font-size: 118px;
      font-weight: 800;
      line-height: 1;
    }

    .art-at {
      background:
        linear-gradient(90deg, transparent 16%, rgba(137, 114, 98, 0.60) 16% 17%, transparent 17% 83%, rgba(137, 114, 98, 0.60) 83% 84%, transparent 84%),
        linear-gradient(180deg, transparent 57%, rgba(111, 92, 70, 0.54) 57% 59%, transparent 59%),
        radial-gradient(circle at 83% 26%, rgba(181, 224, 171, 0.38) 0 11%, transparent 11.3%),
        radial-gradient(circle at 69% 20%, rgba(255, 255, 255, 0.20) 0 10%, transparent 10.4%),
        radial-gradient(ellipse at 56% 23%, rgba(37, 31, 36, 0.96) 0 12%, transparent 12.4%),
        radial-gradient(ellipse at 54% 45%, rgba(248, 228, 229, 0.96) 0 18%, transparent 18.4%),
        radial-gradient(ellipse at 54% 60%, rgba(244, 239, 239, 0.98) 0 24%, transparent 24.4%),
        radial-gradient(ellipse at 55% 76%, rgba(229, 201, 179, 0.92) 0 10%, transparent 10.4%),
        linear-gradient(180deg, transparent 80%, rgba(79, 69, 56, 0.68) 80%, rgba(45, 39, 34, 0.92) 100%),
        linear-gradient(135deg, #59644d 0%, #a6b787 36%, #d8cbc2 68%, #f6f0f2 100%);
    }

    .art-at::before {
      right: 6%;
      top: 6%;
      color: rgba(255, 255, 255, 0.26);
      content: "♕";
      font-size: 126px;
      font-weight: 800;
      line-height: 1;
    }

    .art-at::after {
      content: "";
      position: absolute;
      left: 8%;
      right: 0;
      bottom: 0;
      top: 0;
      background:
        conic-gradient(from 90deg, rgba(240, 217, 181, 0.24) 0 25%, rgba(181, 136, 99, 0.24) 0 50%, rgba(240, 217, 181, 0.24) 0 75%, rgba(181, 136, 99, 0.24) 0) 14% 83% / 24% 24% no-repeat,
        linear-gradient(180deg, transparent 34%, rgba(4, 10, 15, 0.12) 62%, rgba(4, 10, 15, 0.38) 100%);
    }

    .visual-chip,
    .visual-note {
      position: absolute;
      left: 18px;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      backdrop-filter: blur(12px);
    }

    .visual-chip {
      top: 18px;
      padding: 8px 12px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      background: rgba(6, 18, 29, 0.52);
      color: #f5fbff;
      font-size: 13px;
      font-weight: 700;
    }

    .visual-note {
      bottom: 18px;
      padding: 9px 13px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      background: rgba(6, 18, 29, 0.46);
      color: #dbe8f7;
      font-size: 13px;
    }

    .testimonial-copy {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 16px;
      padding: 6px 4px;
    }

    .testimonial-counter {
      color: var(--muted);
      font-size: 13px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .testimonial-copy h3 {
      margin: 0 0 8px;
      font-size: clamp(34px, 4vw, 46px);
      line-height: 1;
      letter-spacing: -0.03em;
    }

    .testimonial-role {
      margin-bottom: 18px;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.6;
    }

    .testimonial-quote {
      margin: 0;
      max-width: 22ch;
      font-size: clamp(22px, 3vw, 30px);
      line-height: 1.45;
      letter-spacing: -0.02em;
    }

    .testimonial-foot {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 14px;
      margin-top: 10px;
    }

    .testimonial-status {
      color: var(--muted);
      font-size: 13px;
    }

    .testimonial-dots {
      display: flex;
      gap: 8px;
    }

    .testimonial-dots button {
      width: 10px;
      height: 10px;
      padding: 0;
      border: 0;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.18);
      cursor: pointer;
    }

    .testimonial-dots button.active {
      width: 28px;
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
    }

    .testimonial-strip {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .testimonial-thumb {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px;
      background: var(--panel-2);
      cursor: pointer;
    }

    .testimonial-thumb.active {
      border-color: rgba(93, 185, 255, 0.42);
      box-shadow: inset 0 0 0 1px rgba(93, 185, 255, 0.14);
    }

    .testimonial-thumb-art {
      position: relative;
      flex: 0 0 78px;
      height: 78px;
      overflow: hidden;
      border: 1px solid rgba(159, 200, 236, 0.12);
      border-radius: 18px;
      background: #0d1824;
    }

    .testimonial-thumb-info strong {
      display: block;
      margin-bottom: 4px;
      font-size: 15px;
    }

    .testimonial-thumb-info span {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5;
    }

    .testimonial-carousel {
      position: relative;
      display: grid;
      grid-template-columns: 44px minmax(0, 1fr) 44px;
      align-items: center;
      gap: 14px;
    }

    .testimonial-track {
      display: grid;
      grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.36fr) minmax(0, 0.82fr);
      gap: 14px;
      align-items: stretch;
    }

    .testimonial-card {
      display: block;
      width: 100%;
      height: 100%;
      overflow: hidden;
      border: 1px solid rgba(159, 200, 236, 0.16);
      border-radius: 28px;
      background: rgba(255, 255, 255, 0.04);
      box-shadow: var(--shadow);
      transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
      cursor: pointer;
      text-align: left;
    }

    .testimonial-card.side {
      opacity: 0.74;
      filter: saturate(0.88);
      transform: scale(0.96);
    }

    .testimonial-card.center {
      opacity: 1;
      transform: scale(1);
    }

    .testimonial-card-inner {
      display: grid;
      grid-template-rows: auto auto;
      min-height: 100%;
    }

    .testimonial-media-large,
    .testimonial-media-small {
      position: relative;
      overflow: hidden;
      background: #0d1824;
    }

    .testimonial-media-large {
      height: 460px;
    }

    .testimonial-media-small {
      height: 320px;
    }

    .testimonial-image {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
    }

    .testimonial-image-overlay {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 24%),
        linear-gradient(180deg, rgba(4, 10, 15, 0.06) 0%, rgba(4, 10, 15, 0.16) 55%, rgba(4, 10, 15, 0.52) 100%);
      pointer-events: none;
    }

    .testimonial-content {
      padding: 18px 20px 20px;
      background: linear-gradient(180deg, rgba(7, 18, 29, 0.18), rgba(7, 18, 29, 0.92));
    }

    .testimonial-card.center .testimonial-content {
      padding: 22px 24px 24px;
    }

    .testimonial-meta {
      margin-bottom: 10px;
      color: #dcecff;
      font-size: 13px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .testimonial-title {
      margin: 0 0 6px;
      font-size: 19px;
      line-height: 1.2;
    }

    .testimonial-card.center .testimonial-title {
      font-size: 30px;
    }

    .testimonial-role-line {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.55;
    }

    .testimonial-card.center .testimonial-role-line {
      font-size: 15px;
    }

    .testimonial-quote-large {
      margin: 16px 0 0;
      font-size: 22px;
      line-height: 1.6;
      letter-spacing: -0.02em;
    }

    .testimonial-card.side .testimonial-quote-large {
      display: none;
    }

    .carousel-arrow {
      position: static;
      z-index: 2;
      width: 44px;
      height: 44px;
      padding: 0;
      border: 1px solid rgba(159, 200, 236, 0.16);
      border-radius: 999px;
      background: rgba(7, 18, 29, 0.86);
      color: var(--text);
      font-size: 20px;
      cursor: pointer;
      backdrop-filter: blur(12px);
    }

    .carousel-arrow.left {
      justify-self: start;
    }

    .carousel-arrow.right {
      justify-self: end;
    }

    .testimonial-pagination {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 18px;
    }

    .testimonial-pagination button {
      width: 10px;
      height: 10px;
      padding: 0;
      border: 0;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.18);
      cursor: pointer;
    }

    .testimonial-pagination button.active {
      width: 28px;
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
    }

    .chat-list {
      display: grid;
      gap: 8px;
    }

    .chat-item {
      display: grid;
      gap: 3px;
      min-width: 0;
    }

    .chat-meta {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      color: var(--muted);
      font-size: 11px;
    }

    .chat-meta span {
      min-width: 0;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .chat-bubble {
      min-width: 0;
      padding: 8px 10px;
      border: 1px solid rgba(159, 200, 236, 0.10);
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.04);
      color: #e8f3ff;
      font-size: 12px;
      line-height: 1.35;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .chat-item.player .chat-bubble {
      background: rgba(93, 185, 255, 0.10);
      border-color: rgba(93, 185, 255, 0.18);
    }

    .chat-item.viewer .chat-bubble {
      background: rgba(140, 224, 207, 0.08);
      border-color: rgba(140, 224, 207, 0.14);
    }

    .world-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .world {
      padding: 18px;
      background: var(--panel-2);
    }

    .world.world-chess {
      background: radial-gradient(circle at top right, rgba(93, 185, 255, 0.12), transparent 40%), var(--panel-2);
    }

    .world.world-xiangqi {
      background: radial-gradient(circle at top right, rgba(240, 197, 111, 0.14), transparent 40%), var(--panel-2);
    }

    .world.world-up {
      background: radial-gradient(circle at top right, rgba(255, 158, 140, 0.14), transparent 40%), var(--panel-2);
    }

    .world.world-caro {
      background: radial-gradient(circle at top right, rgba(140, 224, 207, 0.14), transparent 40%), var(--panel-2);
    }

    .world-visual {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 96px;
      margin: 12px 0;
      border: 1px solid rgba(159, 200, 236, 0.12);
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.05);
      font-size: 42px;
      font-weight: 800;
    }

    .world h3 {
      margin: 0;
      font-size: 21px;
    }

    .world p {
      margin: 0 0 12px;
      font-size: 14px;
      line-height: 1.6;
    }

    .shared {
      margin-top: 16px;
      padding: 18px;
      background: var(--panel-2);
    }

    .shared h3 {
      margin: 0 0 8px;
      font-size: 22px;
    }

    .shared p {
      margin: 0 0 14px;
      font-size: 14px;
      line-height: 1.6;
    }

    .rail-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .rail {
      flex: 1 1 180px;
      min-width: 180px;
      padding: 14px;
      border: 1px solid rgba(159, 200, 236, 0.10);
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.04);
    }

    .rail strong {
      display: block;
      margin-bottom: 5px;
      font-size: 15px;
    }

    .rail p {
      margin: 0;
      font-size: 13px;
      line-height: 1.55;
    }

    .footer {
      margin-top: 20px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.7;
      text-align: center;
    }

    @media (max-width: 1180px) {
      .hero,
      .live-grid,
      .world-grid,
      .testimonial-shell,
      .testimonial-strip {
        grid-template-columns: 1fr 1fr;
      }

      .spotlight-body {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 820px) {
      .nav,
      .nav-actions,
      .select-head,
      .action,
      .block-head,
      .testimonial-foot {
        flex-direction: column;
        align-items: start;
      }

      .hero,
      .tags,
      .game-grid,
      .live-grid,
      .world-grid,
      .testimonial-shell,
      .testimonial-strip {
        grid-template-columns: 1fr;
      }

      .nav-actions,
      .nav-links {
        width: 100%;
      }

      .play,
      .auth-link {
        width: 100%;
      }

      .rail {
        min-width: 100%;
      }

      .testimonial-visual {
        min-height: 340px;
      }

      .testimonial-track {
        grid-template-columns: 1fr;
        gap: 12px;
      }

      .testimonial-card.side {
        display: none;
      }

      .testimonial-card,
      .testimonial-card.side,
      .testimonial-card.center {
        width: 100%;
        opacity: 1;
        transform: none;
        filter: none;
      }

      .testimonial-media-large,
      .testimonial-media-small {
        min-height: 300px;
      }

      .carousel-arrow {
        display: none;
      }

      .testimonial-pagination {
        margin-top: 12px;
      }
    }

    /* Utility classes for game images */
    .game-thumb {
      width: 72px;
      height: 72px;
      border-radius: 16px;
    }

    .world-thumb {
      width: 56px;
      height: 56px;
      border-radius: 12px;
    }

    .box-stats {
      margin-top: 12px;
      background: rgba(255, 255, 255, 0.02);
    }

    .live-mode-icon {
      width: 14px;
      height: 14px;
      vertical-align: -2px;
      border-radius: 3px;
      margin-right: 4px;
    }
