    :root {
      --race-blue: #37b6ff;
      --race-yellow: #ffd24b;
      --race-green: #47d781;
      --rupture-red: #ff3d45;
      --ink-0: #03111f;
      --ink-1: #071c31;
      --ink-2: #0f2a44;
      --text-main: #e7f2ff;
      --text-soft: #9fc0dc;
      --line: rgba(147, 203, 248, 0.3);
      --glass: rgba(7, 20, 36, 0.78);
      --card-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--text-main);
      font-family: "Exo 2", sans-serif;
      background: #02040a;
      min-height: 100vh;
      overflow-x: hidden;
    }

    @keyframes floating {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-10px); }
    }

    .site-shell {
      width: min(1280px, 94vw);
      margin: 28px auto 64px;
      position: relative;
      z-index: 10;
    }

    .top-bar {
      position: sticky;
      top: 12px;
      z-index: 60;
      background:
        linear-gradient(130deg, rgba(3, 10, 18, 0.78), rgba(3, 10, 18, 0.66)),
        url("../imagens/bannerHead.jpg") center center / cover no-repeat;
      border: 1px solid var(--line);
      border-radius: 18px;
      box-shadow: var(--card-shadow);
      backdrop-filter: blur(8px);
      padding: 14px;
      margin-bottom: 18px;
    }

    .brand-row {
      display: flex;
      gap: 12px;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 10px;
    }

    .top-bar.is-condensed {
      padding: 10px 12px;
    }

    .top-bar.is-condensed .brand-row {
      display: none;
      margin-bottom: 0;
    }

    .radio-panel {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      position: relative;
      border: 1px solid rgba(145, 204, 248, 0.4);
      border-radius: 14px;
      background: linear-gradient(130deg, rgba(6, 19, 35, 0.86), rgba(7, 29, 50, 0.8));
      box-shadow: inset 0 0 0 1px rgba(177, 225, 255, 0.07);
      padding: 10px 12px;
      margin-bottom: 10px;
    }

    .radio-label {
      font-family: "Orbitron", sans-serif;
      font-size: 0.76rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #b7def9;
      white-space: nowrap;
    }

    .radio-track-name {
      flex: 1;
      min-width: 210px;
      color: #e8f4ff;
      font-size: 0.92rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .radio-controls {
      display: flex;
      gap: 6px;
      align-items: center;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .radio-btn {
      border: 1px solid rgba(136, 198, 243, 0.46);
      border-radius: 10px;
      background: rgba(8, 33, 57, 0.92);
      color: #e6f3ff;
      min-width: 38px;
      height: 34px;
      padding: 0 10px;
      font-family: "Exo 2", sans-serif;
      font-weight: 700;
      font-size: 0.95rem;
      line-height: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
    }

    .radio-btn.active {
      border-color: rgba(194, 233, 255, 0.78);
      background: linear-gradient(130deg, rgba(43, 132, 196, 0.95), rgba(19, 89, 141, 0.95));
      color: #f5fbff;
    }

    .radio-btn:hover {
      transform: translateY(-1px);
      filter: brightness(1.08);
      border-color: rgba(184, 225, 255, 0.7);
    }

    #radioPlayBtn {
      min-width: 44px;
      font-size: 1rem;
    }

    .radio-progress-wrap {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .radio-time {
      min-width: 38px;
      font-size: 0.78rem;
      color: #c9e5fa;
      font-variant-numeric: tabular-nums;
      text-align: center;
    }

    .radio-progress {
      flex: 1;
      width: 100%;
      margin: 0;
      appearance: none;
      height: 4px;
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(63, 180, 255, 0.85), rgba(255, 210, 75, 0.82));
      outline: none;
      cursor: pointer;
    }

    .radio-progress::-webkit-slider-thumb {
      appearance: none;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      border: 1px solid rgba(196, 236, 255, 0.86);
      background: #f3fbff;
      box-shadow: 0 0 0 3px rgba(39, 123, 184, 0.35);
    }

    .radio-progress::-moz-range-thumb {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      border: 1px solid rgba(196, 236, 255, 0.86);
      background: #f3fbff;
      box-shadow: 0 0 0 3px rgba(39, 123, 184, 0.35);
    }

    .radio-progress::-moz-range-track {
      height: 4px;
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(63, 180, 255, 0.85), rgba(255, 210, 75, 0.82));
    }

    .radio-playlist {
      position: absolute;
      right: 0;
      top: calc(100% + 8px);
      width: min(460px, 92vw);
      max-height: 320px;
      overflow: auto;
      border: 1px solid rgba(132, 198, 244, 0.42);
      border-radius: 12px;
      background: rgba(4, 17, 31, 0.97);
      box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48);
      padding: 8px;
      z-index: 80;
    }

    .radio-playlist-item {
      width: 100%;
      border: 1px solid rgba(127, 189, 238, 0.25);
      border-radius: 9px;
      background: rgba(7, 30, 52, 0.82);
      color: #d8edff;
      font-family: "Exo 2", sans-serif;
      font-size: 0.86rem;
      text-align: left;
      padding: 8px 10px;
      cursor: pointer;
      margin-bottom: 6px;
    }

    .radio-playlist-item:last-child {
      margin-bottom: 0;
    }

    .radio-playlist-item:hover {
      border-color: rgba(186, 227, 255, 0.62);
      background: rgba(12, 44, 74, 0.9);
    }

    .radio-playlist-item.active {
      border-color: rgba(196, 235, 255, 0.82);
      background: linear-gradient(130deg, rgba(41, 132, 199, 0.9), rgba(22, 103, 164, 0.9));
      color: #f4fbff;
    }

    .brand-identity {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: clamp(14px, 1.8vw, 24px);
      width: min(1180px, 100%);
      min-height: 186px;
      position: relative;
      isolation: isolate;
    }

    .brand-logo {
      height: clamp(132px, 16vw, 230px);
      width: auto;
      max-width: min(22vw, 240px);
      flex: 0 0 auto;
      position: relative;
      z-index: 1;
      object-fit: contain;
      filter: drop-shadow(0 0 14px rgba(65, 193, 255, 0.42));
    }

    .brand-title-wrap {
      flex: 1 1 0;
      min-width: 320px;
      max-width: 980px;
      display: flex;
      align-items: center;
      justify-content: center;
      height: clamp(132px, 16vw, 230px);
      overflow: hidden;
      position: relative;
      z-index: 3;
    }

    .brand-title-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 50%;
      filter: none;
    }

    .tabs {
      display: grid;
      grid-template-columns: repeat(12, minmax(138px, 1fr));
      gap: 8px;
      overflow-x: auto;
      padding-bottom: 2px;
      scrollbar-width: none;
      -ms-overflow-style: none;
      user-select: none;
      cursor: grab;
    }

    .tabs::-webkit-scrollbar {
      display: none;
    }

    .tabs.dragging {
      cursor: grabbing;
    }

    .tab-btn {
      display: block;
      border: 1px solid rgba(132, 193, 240, 0.32);
      border-radius: 12px;
      padding: 9px 8px;
      background: rgba(6, 22, 38, 0.72);
      color: var(--text-soft);
      text-decoration: none;
      text-align: center;
      font-family: "Orbitron", sans-serif;
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      cursor: pointer;
      transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .tab-btn:hover {
      transform: translateY(-1px);
      color: #dff2ff;
      border-color: rgba(180, 223, 255, 0.62);
    }

    .tab-btn.active {
      color: #021021;
      border-color: rgba(255, 255, 255, 0.84);
      background: linear-gradient(125deg, var(--race-blue), var(--race-green));
      box-shadow: 0 0 0 1px rgba(3, 17, 31, 0.6) inset, 0 0 18px rgba(73, 194, 255, 0.4);
    }

    .panel-stack {
      position: relative;
      min-height: 68vh;
    }

    .tab-panel {
      display: none;
      background: linear-gradient(150deg, rgba(7, 20, 36, 0.8), rgba(8, 26, 46, 0.72));
      border: 1px solid var(--line);
      border-radius: 20px;
      box-shadow: var(--card-shadow);
      padding: clamp(18px, 3vw, 34px);
    }

    .tab-panel.active {
      display: block;
      animation: fadeIn 0.32s ease;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(8px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .panel-head {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: center;
      flex-wrap: wrap;
      margin-bottom: 18px;
    }

    .panel-title {
      margin: 0;
      font-family: "Orbitron", sans-serif;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      font-size: clamp(1.1rem, 2.6vw, 1.8rem);
    }

    .panel-kicker {
      margin: 0;
      color: var(--text-soft);
      max-width: 680px;
    }

    .grid {
      display: grid;
      gap: 14px;
    }

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

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

    .card {
      background: var(--glass);
      border: 1px solid rgba(125, 185, 235, 0.35);
      border-radius: 14px;
      padding: 14px;
      box-shadow: inset 0 0 0 1px rgba(183, 226, 255, 0.05);
    }

    .card h3,
    .card h4 {
      margin: 0 0 8px;
      font-family: "Orbitron", sans-serif;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      font-size: 0.96rem;
    }

    .card p,
    .card li {
      margin: 0;
      color: #cee4f8;
      line-height: 1.5;
      font-size: 0.95rem;
    }

    .card ul {
      margin: 0;
      padding-left: 18px;
      display: grid;
      gap: 6px;
    }

    .timeline-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 10px;
      font-size: 0.92rem;
    }

    .timeline-table th,
    .timeline-table td {
      border: 1px solid rgba(126, 193, 240, 0.28);
      padding: 8px 10px;
      vertical-align: top;
      color: #d4e9fb;
      line-height: 1.45;
    }

    .timeline-table th {
      text-align: left;
      font-family: "Orbitron", sans-serif;
      font-size: 0.76rem;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: #ebf7ff;
      background: rgba(8, 28, 49, 0.82);
    }

    .timeline-table td:first-child {
      width: 170px;
      color: #9ed0f4;
      font-weight: 700;
      white-space: nowrap;
    }

    .race-table td:first-child {
      width: 220px;
      white-space: normal;
    }

    .canon-note {
      border: 1px solid rgba(255, 83, 92, 0.44);
      background: linear-gradient(140deg, rgba(45, 9, 13, 0.72), rgba(27, 8, 13, 0.72));
    }

    .music-track-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 12px;
      margin-top: 14px;
    }

    .music-track h4 {
      margin: 0 0 8px;
      font-family: "Orbitron", sans-serif;
      font-size: 0.84rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #d7edff;
    }

    .music-track audio {
      width: 100%;
      height: 36px;
      display: block;
      filter: saturate(1.05);
    }

    .float {
      animation: floating 5.2s ease-in-out infinite;
    }

    .float.alt {
      animation-delay: 0.8s;
      animation-duration: 6.1s;
    }

    .hex-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 14px;
    }

    .hex {
      position: relative;
      aspect-ratio: 1 / 1.06;
      clip-path: polygon(25% 6%, 75% 6%, 96% 50%, 75% 94%, 25% 94%, 4% 50%);
      overflow: hidden;
      background: linear-gradient(150deg, rgba(8, 31, 55, 0.9), rgba(11, 43, 72, 0.88));
      border: 1px solid rgba(149, 207, 250, 0.3);
      box-shadow:
        0 12px 24px rgba(2, 8, 16, 0.45),
        0 0 22px rgba(55, 182, 255, 0.24),
        0 0 36px rgba(71, 215, 129, 0.14),
        inset 0 0 0 2px rgba(161, 221, 255, 0.06);
      filter:
        drop-shadow(0 0 12px rgba(62, 191, 255, 0.36))
        drop-shadow(0 0 22px rgba(82, 255, 161, 0.14));
    }

    .hex img,
    .hex video,
    .hex iframe {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .hex img {
      cursor: zoom-in;
    }

    #boardgame .game-opening img,
    #boardgame .game-media-frame img {
      cursor: zoom-in;
    }

    #boardgame .boardgame-flow-card {
      padding: 18px;
    }

    #boardgame .boardgame-flow-card > * + * {
      margin-top: 12px;
    }

    #boardgame .boardgame-flow-card h4 {
      margin: 20px 0 8px;
      font-size: 1rem;
    }

    #boardgame .boardgame-flow-card p {
      line-height: 1.62;
    }

    #boardgame .boardgame-flow-card ul {
      margin: 8px 0 0;
      gap: 10px;
    }

    #boardgame .boardgame-flow-card li {
      line-height: 1.6;
    }

    .hex-label {
      position: absolute;
      inset: auto 0 0 0;
      padding: 8px;
      background: linear-gradient(180deg, transparent, rgba(2, 8, 18, 0.86));
      text-align: center;
      font-family: "Orbitron", sans-serif;
      font-size: 0.72rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .hero-home {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 16px;
      align-items: stretch;
    }

    .home-video-stage {
      display: flex;
      justify-content: center;
      margin: 6px 0 18px;
    }

    .home-video-block {
      width: min(980px, 98%);
      border-radius: 14px;
      overflow: hidden;
      background: linear-gradient(160deg, rgba(4, 16, 30, 0.96), rgba(8, 27, 46, 0.94));
      border: 1px solid rgba(176, 222, 255, 0.5);
      box-shadow:
        0 26px 52px rgba(0, 0, 0, 0.46),
        0 0 28px rgba(57, 187, 255, 0.2),
        inset 0 0 0 2px rgba(189, 228, 255, 0.12);
    }

    .home-video-block video {
      width: 100%;
      max-height: min(66vh, 640px);
      display: block;
      object-fit: contain;
      background: #040e1a;
    }

    .home-info {
      grid-template-columns: 1fr;
      margin-bottom: 14px;
    }

    .home-image-row {
      grid-template-columns: repeat(2, minmax(220px, 1fr));
      max-width: 760px;
      margin: 0 auto;
    }

    .game-opening {
      margin: 4px 0 14px;
      border-radius: 16px;
      border: 1px solid rgba(171, 219, 252, 0.5);
      overflow: hidden;
      background: linear-gradient(150deg, rgba(5, 18, 33, 0.95), rgba(8, 28, 47, 0.9));
      box-shadow:
        0 20px 42px rgba(0, 0, 0, 0.44),
        0 0 24px rgba(58, 182, 251, 0.2),
        inset 0 0 0 1px rgba(204, 234, 255, 0.1);
    }

    .game-opening img {
      width: 100%;
      max-height: min(62vh, 640px);
      object-fit: contain;
      display: block;
      background: radial-gradient(circle at 50% 20%, rgba(17, 58, 91, 0.7), rgba(4, 17, 30, 0.94));
    }

    .game-intro-card {
      margin-bottom: 14px;
    }

    .game-section-split {
      margin-top: 14px;
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
      gap: 14px;
      align-items: stretch;
    }

    .game-section-split.reverse {
      grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
    }

    .game-media-frame {
      margin: 0;
      border-radius: 14px;
      border: 1px solid rgba(147, 205, 249, 0.42);
      overflow: hidden;
      background: linear-gradient(152deg, rgba(7, 21, 37, 0.95), rgba(9, 32, 54, 0.92));
      box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(190, 229, 255, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 280px;
    }

    .game-media-frame img {
      width: 100%;
      height: 100%;
      max-height: 540px;
      object-fit: contain;
      display: block;
    }

    .game-media-frame.wide {
      min-height: 200px;
    }

    .game-media-frame.wide img {
      max-height: 320px;
      object-fit: cover;
    }

    .game-mini-grid .card {
      padding: 12px;
      border-color: rgba(122, 186, 232, 0.28);
    }

    .game-cta-block {
      background:
        linear-gradient(150deg, rgba(8, 24, 42, 0.84), rgba(9, 30, 53, 0.82)),
        radial-gradient(circle at 78% 22%, rgba(52, 181, 249, 0.16), transparent 42%);
    }

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

    .pill-btn {
      border: 1px solid rgba(148, 209, 252, 0.5);
      background: linear-gradient(140deg, rgba(13, 53, 86, 0.93), rgba(9, 34, 62, 0.95));
      color: #e8f4ff;
      border-radius: 999px;
      padding: 9px 16px;
      font-weight: 700;
      text-decoration: none;
      font-size: 0.92rem;
      transition: transform 0.16s ease, filter 0.16s ease;
    }

    .pill-btn:hover {
      transform: translateY(-1px);
      filter: brightness(1.08);
    }

    .pill-btn.warn {
      border-color: rgba(255, 100, 100, 0.5);
      background: linear-gradient(145deg, rgba(100, 18, 26, 0.9), rgba(76, 12, 18, 0.92));
    }

    .stores {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-top: 12px;
    }

    .store-btn {
      background: rgba(7, 20, 37, 0.9);
      border: 1px solid rgba(130, 192, 239, 0.36);
      border-radius: 12px;
      padding: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 76px;
      text-decoration: none;
      position: relative;
    }

    .store-btn img {
      max-width: 84%;
      max-height: 42px;
      object-fit: contain;
      filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.36));
    }

    .store-btn em {
      position: absolute;
      bottom: 5px;
      right: 8px;
      font-style: normal;
      font-size: 0.66rem;
      color: #85a7c3;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .accent-blue { border-color: rgba(88, 188, 255, 0.55); }
    .accent-yellow { border-color: rgba(255, 211, 72, 0.55); }
    .accent-green { border-color: rgba(80, 219, 132, 0.55); }
    .accent-red { border-color: rgba(255, 72, 82, 0.6); }

    .map-frame {
      width: 100%;
      height: 560px;
      border: 1px solid rgba(129, 194, 241, 0.45);
      border-radius: 14px;
      overflow: hidden;
      background: rgba(2, 10, 18, 0.78);
    }

    .map-frame iframe {
      width: 100%;
      height: 100%;
      border: 0;
    }

    .footer-nav {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      align-items: center;
      margin-top: 16px;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: rgba(6, 18, 33, 0.72);
    }

    .footer-nav .status {
      color: var(--text-soft);
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-family: "Orbitron", sans-serif;
    }

    .mini-btn {
      border: 1px solid rgba(141, 200, 247, 0.45);
      border-radius: 10px;
      background: rgba(9, 33, 58, 0.9);
      color: #e6f3ff;
      padding: 8px 14px;
      font-family: "Exo 2", sans-serif;
      font-weight: 700;
      cursor: pointer;
    }

    .mini-btn:disabled {
      opacity: 0.45;
      cursor: not-allowed;
    }

    .note {
      margin-top: 12px;
      color: #9ab7d0;
      font-size: 0.88rem;
    }

    .creator {
      display: grid;
      grid-template-columns: 260px 1fr;
      gap: 14px;
      align-items: start;
    }

    .ko-form {
      display: grid;
      gap: 10px;
    }

    .ko-form label {
      display: grid;
      gap: 6px;
    }

    .ko-form label > span {
      font-size: 0.84rem;
      color: #bcd8ef;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      font-family: "Orbitron", sans-serif;
    }

    .ko-form input,
    .ko-form select,
    .ko-form textarea {
      width: 100%;
      border: 1px solid rgba(136, 198, 243, 0.38);
      background: rgba(5, 19, 35, 0.78);
      color: #e7f3ff;
      border-radius: 10px;
      padding: 10px 12px;
      font-family: "Exo 2", sans-serif;
      font-size: 0.95rem;
    }

    .ko-form textarea {
      resize: vertical;
      min-height: 120px;
    }

    .ko-form input:focus,
    .ko-form select:focus,
    .ko-form textarea:focus {
      outline: 1px solid rgba(171, 222, 255, 0.62);
      border-color: rgba(171, 222, 255, 0.62);
    }

    .ko-check {
      display: flex !important;
      align-items: flex-start;
      gap: 8px !important;
      margin-top: 2px;
    }

    .ko-check input[type="checkbox"] {
      width: 16px;
      height: 16px;
      margin-top: 2px;
      padding: 0;
      border-radius: 4px;
      flex: 0 0 auto;
    }

    .ko-check span {
      text-transform: none !important;
      letter-spacing: 0 !important;
      font-family: "Exo 2", sans-serif !important;
      font-size: 0.9rem !important;
      color: #d0e6f9 !important;
    }

    .toast {
      position: fixed;
      right: 18px;
      bottom: 18px;
      background: rgba(5, 20, 34, 0.94);
      border: 1px solid rgba(129, 195, 242, 0.5);
      border-radius: 12px;
      padding: 10px 12px;
      color: #dcedff;
      font-size: 0.9rem;
      opacity: 0;
      pointer-events: none;
      transform: translateY(10px);
      transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .toast.show {
      opacity: 1;
      transform: translateY(0);
    }

    body.modal-open {
      overflow: hidden;
    }

    .image-modal {
      position: fixed;
      inset: 0;
      z-index: 140;
      background: rgba(2, 8, 18, 0.82);
      backdrop-filter: blur(5px);
      display: grid;
      place-items: center;
      padding: 22px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.18s ease;
    }

    .image-modal.show {
      opacity: 1;
      pointer-events: auto;
    }

    .image-modal-figure {
      position: relative;
      margin: 0;
      width: min(1200px, 96vw);
      max-height: 90vh;
      display: grid;
      grid-template-rows: 1fr auto;
      gap: 8px;
    }

    .image-modal-img {
      width: 100%;
      max-height: 82vh;
      object-fit: contain;
      border-radius: 12px;
      border: 1px solid rgba(151, 210, 252, 0.45);
      box-shadow: 0 18px 52px rgba(0, 0, 0, 0.56);
      background: rgba(4, 14, 25, 0.9);
    }

    .image-modal-caption {
      margin: 0;
      color: #d5eafb;
      text-align: center;
      font-size: 0.9rem;
      line-height: 1.4;
    }

    .image-modal-close {
      position: absolute;
      top: 8px;
      right: 8px;
      width: 34px;
      height: 34px;
      border-radius: 999px;
      border: 1px solid rgba(161, 218, 255, 0.55);
      background: rgba(3, 18, 34, 0.92);
      color: #e6f3ff;
      font-size: 1.02rem;
      line-height: 1;
      font-weight: 700;
      cursor: pointer;
      display: grid;
      place-items: center;
    }

    .deck-modal {
      position: fixed;
      inset: 0;
      z-index: 145;
      background: rgba(2, 8, 18, 0.82);
      backdrop-filter: blur(5px);
      display: grid;
      place-items: center;
      padding: 22px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.18s ease;
    }

    .deck-modal.show {
      opacity: 1;
      pointer-events: auto;
    }

    .deck-modal-panel {
      position: relative;
      width: min(980px, 96vw);
      max-height: 90vh;
      overflow: auto;
      border: 1px solid rgba(151, 210, 252, 0.45);
      border-radius: 14px;
      box-shadow: 0 18px 52px rgba(0, 0, 0, 0.56);
      background: linear-gradient(148deg, rgba(4, 16, 30, 0.97), rgba(8, 28, 47, 0.95));
      padding: 16px;
    }

    .deck-modal-close {
      position: sticky;
      top: 0;
      margin-left: auto;
      width: 34px;
      height: 34px;
      border-radius: 999px;
      border: 1px solid rgba(161, 218, 255, 0.55);
      background: rgba(3, 18, 34, 0.94);
      color: #e6f3ff;
      font-size: 1.02rem;
      line-height: 1;
      font-weight: 700;
      cursor: pointer;
      display: grid;
      place-items: center;
      z-index: 1;
    }

    .deck-modal-title {
      margin: 6px 0 12px;
      font-family: "Orbitron", sans-serif;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      font-size: 1rem;
      color: #e5f3ff;
    }

    .deck-modal-content {
      display: grid;
      gap: 10px;
      grid-template-columns: 1fr;
    }

    .deck-modal-section {
      border: 1px solid rgba(131, 196, 242, 0.34);
      border-radius: 12px;
      background: rgba(5, 19, 34, 0.82);
      padding: 10px 12px;
    }

    .deck-modal-section h4 {
      margin: 0 0 8px;
      font-family: "Orbitron", sans-serif;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      font-size: 0.9rem;
      color: #d6edff;
    }

    .deck-modal-section p {
      margin: 0 0 8px;
      color: #d0e7fb;
      font-size: 0.92rem;
      line-height: 1.45;
    }

    .deck-modal-list {
      margin: 0;
      padding-left: 18px;
      display: grid;
      gap: 5px;
    }

    .deck-modal-list li {
      color: #cfe5f8;
      line-height: 1.42;
      font-size: 0.9rem;
    }

    .deck-modal-section-final {
      border-color: rgba(99, 236, 168, 0.4);
      background: rgba(4, 24, 22, 0.74);
    }

    .site-footer {
      margin-top: 18px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: linear-gradient(150deg, rgba(7, 20, 36, 0.8), rgba(8, 26, 46, 0.72));
      box-shadow: var(--card-shadow);
      padding: 16px;
    }

    .site-footer-grid {
      display: grid;
      grid-template-columns: 1.45fr 0.9fr 1fr;
      gap: 14px;
      align-items: stretch;
    }

    .site-footer h4 {
      margin: 0 0 8px;
      font-family: "Orbitron", sans-serif;
      font-size: 0.86rem;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: #d9eeff;
    }

    .site-footer p {
      margin: 0 0 8px;
      color: #b8d5ec;
      font-size: 0.9rem;
      line-height: 1.45;
    }

    .site-footer-brand {
      display: flex;
      align-items: stretch;
      gap: 14px;
      min-height: 126px;
    }

    .site-footer-brand-copy {
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-width: 0;
    }

    .site-footer a {
      color: #8fd6ff;
      text-decoration: none;
    }

    .site-footer a:hover {
      text-decoration: underline;
    }

    .site-footer-logo {
      display: block;
      height: 100%;
      width: auto;
      max-width: 178px;
      object-fit: contain;
      filter: drop-shadow(0 0 12px rgba(62, 180, 255, 0.28));
    }

    .site-footer-links {
      margin: 0;
      padding-left: 16px;
      display: grid;
      gap: 6px;
    }

    .site-footer-links a {
      color: #b7dbf5;
    }

    @media (max-width: 1024px) {
      .tabs {
        grid-template-columns: repeat(12, minmax(148px, 1fr));
      }

      .radio-track-name {
        flex-basis: 100%;
        order: 3;
      }

      .brand-identity {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        min-height: 156px;
      }
      .brand-logo {
        order: 2;
        height: clamp(70px, 18vw, 110px);
        width: auto;
        max-width: min(34vw, 160px);
        margin-top: -34px;
      }
      .brand-title-wrap {
        order: 1;
        min-width: 0;
        width: 100%;
        height: clamp(110px, 30vw, 180px);
      }
      .brand-title-image {
        object-position: center 28%;
      }
      .hero-home,
      .grid.two,
      .grid.three,
      .creator,
      .site-footer-grid {
        grid-template-columns: 1fr;
      }

      .site-footer-brand {
        min-height: 96px;
      }

      .site-footer-logo {
        max-width: 138px;
      }
      .home-video-block {
        width: 100%;
      }
      .home-image-row {
        grid-template-columns: 1fr;
        max-width: 100%;
      }
      .game-section-split,
      .game-section-split.reverse {
        grid-template-columns: 1fr;
      }
      .game-media-frame {
        min-height: 240px;
      }
      .game-media-frame.wide img {
        max-height: 260px;
      }
      .stores {
        grid-template-columns: 1fr;
      }
      .map-frame {
        height: 420px;
      }
    }

    @media (max-width: 640px) {
      .radio-panel {
        gap: 8px;
      }

      .deck-modal {
        padding: 14px;
      }

      .deck-modal-panel {
        padding: 12px;
      }

      .radio-controls {
        width: 100%;
        justify-content: flex-start;
      }

      .radio-playlist {
        left: 0;
        right: auto;
        width: 100%;
      }

      .game-opening img {
        max-height: 44vh;
      }

      .brand-logo {
        margin-top: -42px;
      }
    }
