      @import url("/fonts/fonts.css");

      :root {
        color-scheme: dark;
        --ink: #f4f5f7;
        --muted: #9aa0ad;
        --line: rgba(255, 255, 255, 0.08);
        --accent: #0f7cf2;
        --accent-strong: #2b8bff;
        --dark: #121214;
        --surface: #1c1c20;
        --surface-2: #26262c;
        --panel: #18181c;
      }

      * {
        box-sizing: border-box;
      }

      button,
      a,
      img,
      svg,
      .logo,
      .logo-mark,
      .social-links,
      .like-btn,
      .new-like-btn,
      .close,
      .search-clear,
      .cart-btn {
        user-select: none;
        -webkit-user-select: none;
        -webkit-user-drag: none;
      }

      img,
      svg {
        user-drag: none;
        -webkit-user-drag: none;
      }

      html,
      body {
        scrollbar-width: none;
      }

      html::-webkit-scrollbar,
      body::-webkit-scrollbar {
        display: none;
      }

      body {
        margin: 0;
        min-width: 320px;
        overflow-x: hidden;
        font-family:
          Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
          "Segoe UI", sans-serif;
        color: var(--ink);
        background: var(--dark);
      }

      button,
      input {
        font: inherit;
      }

      button {
        cursor: pointer;
        font-weight: 800;
        outline: none;
        border: 0;
      }

      .hero {
        position: relative;
        z-index: 1;
        min-height: 100vh;
        overflow: hidden;
        isolation: isolate;
        background: #121214;
      }

      .hero-bg {
        position: absolute;
        inset: 0;
        z-index: -3;
        background-position: center;
        background-size: cover;
        transform: scale(1.08);
        transition: background-image 260ms ease, filter 260ms ease;
      }

      .hero::before {
        position: absolute;
        inset: 0;
        z-index: -2;
        content: "";
        background:
          linear-gradient(90deg, rgba(18, 18, 20, 0.56), rgba(18, 18, 20, 0.08) 48%, rgba(18, 18, 20, 0.4)),
          linear-gradient(180deg, rgba(18, 18, 20, 0.06), rgba(18, 18, 20, 0.16) 62%, rgba(18, 18, 20, 0.72) 100%);
      }

      .hero::after {
        position: absolute;
        inset: 0;
        z-index: -1;
        content: "";
        background: linear-gradient(180deg, rgba(18, 18, 20, 0) 68%, rgba(18, 18, 20, 0.52) 86%, #121214 100%);
      }

      .shell {
        width: min(1240px, calc(100% - 32px));
        margin: 0 auto;
      }


      button {
        transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
      }

      button:hover {
        background: var(--surface-2);
      }

      button:active {
        transform: translateY(0) scale(0.98);
      }

      .topbar {
        position: fixed;
        top: 12px;
        left: 0;
        width: 100%;
        z-index: 40;
        padding: 0;
        pointer-events: none;
      }

      .topbar::before {
        position: absolute;
        top: -12px;
        left: 0;
        z-index: 0;
        width: 100%;
        height: 96px;
        pointer-events: none;
        content: "";
        background: linear-gradient(180deg, rgba(18, 18, 20, 0.34), rgba(18, 18, 20, 0.16) 58%, rgba(18, 18, 20, 0));
        opacity: 1;
        transition: opacity 260ms ease;
      }

      .topbar::after {
        position: absolute;
        top: -12px;
        left: 0;
        z-index: -1;
        width: 100%;
        height: 78px;
        pointer-events: none;
        content: "";
        background: #121214;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 280ms cubic-bezier(0.22, 0.82, 0.22, 1), opacity 240ms ease;
      }

      .topbar.scrolled::before {
        opacity: 0;
      }

      .topbar.scrolled::after {
        transform: translateY(0);
        opacity: 1;
      }

      .top-inner {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: 216px auto 1fr auto auto;
        gap: 14px;
        align-items: center;
        min-height: 58px;
        padding: 0;
        border-radius: 999px;
        pointer-events: auto;
      }

      .logo {
        display: flex;
        align-items: center;
        gap: 9px;
        font-family: "Golos Text", Manrope, sans-serif;
        font-size: 14px;
        font-weight: 800;
        width: fit-content;
        margin-left: -222px;
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        transition: none;
      }

      .logo-mark {
        display: grid;
        width: 215px;
        height: 59px;
        place-items: center;
        overflow: visible;
        border-radius: 0;
        color: var(--accent);
        border: 0;
        background: transparent;
      }

      .logo-mark img {
        width: 100%;
        height: auto;
        object-fit: contain;
      }

      .nav {
        display: flex;
        gap: 6px;
      }

      .nav button,
      .icon-btn,
      .login-btn {
        min-height: 40px;
        border: 1px solid transparent;
        border-radius: 999px;
        color: var(--ink);
        background: var(--surface);
      }

      .icon-btn:hover,
      .cart-btn:hover,
      .like-btn:hover {
        background: var(--surface-2);
      }

      .nav button {
        padding: 0 12px;
        font-size: 14px;
        color: #fff;
        background: transparent;
      }

      .nav button:hover {
        color: var(--ink);
        background: var(--surface);
      }

      .login-btn {
        order: 5;
        padding: 0 18px;
        font-size: 14px;
        font-weight: 800;
        color: #fff;
        background: var(--accent);
      }

      .login-btn:hover {
        background: var(--accent-strong);
      }

      .primary:hover {
        background: var(--accent-strong);
      }

      .avatar-btn {
        order: 5;
        display: grid;
        overflow: hidden;
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        place-items: center;
        padding: 0;
        border: 0;
        border-radius: 999px;
        color: white;
        font-weight: 950;
        background: var(--accent);
      }

      .avatar-btn img {
        display: block;
        width: 100%;
        height: 100%;
        aspect-ratio: 1;
        border-radius: inherit;
        object-fit: cover;
        object-position: center center;
      }

      .nav button.active {
        color: white;
        border-color: rgba(255, 255, 255, 0);
        background: rgba(255, 255, 255, 0.1);
      }

      .search {
        position: relative;
      }

      .search input {
        width: 100%;
        height: 42px;
        padding: 0 48px 0 40px; text-overflow: ellipsis;
        border: 1px solid var(--line);
        border-radius: 999px;
        outline: none;
        color: white;
        background: var(--surface);
        transition: border-color 160ms ease, background 160ms ease;
      }

      .search input:focus {
        border-color: var(--accent);
        background: var(--surface-2);
      }

      .search input:placeholder-shown {
        padding-right: 18px;
      }

      .search input::placeholder {
        color: rgba(255, 255, 255, 0.76);
      }

      .search > span {
        position: absolute;
        left: 15px;
        top: 50%;
        z-index: 2;
        display: grid;
        place-items: center;
        color: rgba(255, 255, 255, 0.72);
        transform: translateY(-50%);
      }

      .search > span img {
        width: 16px;
        height: 16px;
        display: block;
        object-fit: contain;
      }

      .search-clear {
        position: absolute;
        top: 50%;
        z-index: 2;
        display: grid;
        place-items: center;
        min-width: 0;
        min-height: 0;
        border: 0;
        color: white;
        transform: translateY(-50%);
      }

      .search-clear {
        right: 10px;
        width: 28px;
        height: 28px;
        border-radius: 999px;
        color: rgba(255, 255, 255, 0.58);
        font-size: 24px;
        line-height: 1;
        background: transparent;
      }

      .search-clear img {
        width: 10px;
        height: 10px;
        display: block;
        object-fit: contain;
      }

      .search-clear:hover {
        color: white;
        background: rgba(255, 255, 255, 0.12);
        box-shadow: none;
        transform: translateY(-50%);
      }

      .search-clear:active {
        transform: translateY(-50%) scale(0.98);
      }

      .search-panel {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        z-index: 70;
        display: grid;
        gap: 10px;
        width: auto;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #1c1c20;
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
      }

      .search-panel-title {
        color: rgba(255, 255, 255, 0.72);
        font-size: 13px;
        font-weight: 900;
      }

      .search-results {
        display: grid;
        gap: 8px;
      }

      .search-result {
        cursor: pointer;
        display: grid;
        grid-template-columns: 132px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        width: 100%;
        min-height: 70px;
        padding: 0;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: 8px;
        color: white;
        text-align: left;
        background: #232329;
      }

      .search-result:hover {
        border-color: rgba(255, 255, 255, 0.20);
        background: #2c2c34;
      }

      .search-result img {
        width: 132px;
        height: 70px;
        object-fit: cover;
        background: var(--panel);
      }

      .search-result strong {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 14px;
        line-height: 1.25;
      }

      .search-result-info {
        min-width: 0;
        overflow: hidden;
        padding-right: 10px;
      }

      .search-result-price {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
        align-items: center;
        min-width: 0;
        overflow: hidden;
        margin-top: 6px;
        font-size: 13px;
        font-weight: 950;
        line-height: 1.2;
      }

      .search-result-price b {
        flex: 0 0 auto;
        padding: 3px 7px;
        border-radius: 999px;
        color: white;
        font-size: 12px;
        background: var(--accent);
      }

      .search-result-price span {
        flex: 0 1 auto;
        overflow: hidden;
        max-width: 76px;
        color: rgba(255, 255, 255, 0.5);
        text-overflow: ellipsis;
        text-decoration: line-through;
        white-space: nowrap;
      }

      .search-result-price em {
        flex: 0 0 auto;
        font-style: normal;
        white-space: nowrap;
      }

      .search-empty {
        padding: 14px 12px;
        border-radius: 8px;
        color: rgba(255, 255, 255, 0.7);
        font-size: 14px;
        background: rgba(255, 255, 255, 0.07);
      }

      .advanced-search {
        width: 100%;
        min-height: 38px;
        border: 1px solid var(--line);
        border-radius: 8px;
        color: white;
        background: var(--surface-2);
      }

      .advanced-search:hover {
        background: var(--accent);
      }

      .cart-btn {
        position: relative;
        order: 4;
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        padding: 0;
        border: 1px solid transparent;
        border-radius: 999px;
        color: white;
        font-weight: 950;
        background: var(--surface);
      }

      .cart-icon {
        display: block;
        width: 26px;
        height: 26px;
        object-fit: contain;
        transform: translate(-1px, 1px);
      }

      .cart-dot {
        position: absolute;
        top: 5px;
        right: 4px;
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: var(--accent);
      }

      .menu-btn,
      .search-toggle {
        display: none;
        width: 42px;
        height: 42px;
        min-width: 42px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid transparent;
        border-radius: 999px;
        color: var(--ink);
        background: var(--surface);
        cursor: pointer;
        transition: background 160ms ease;
      }

      .menu-btn:hover,
      .search-toggle:hover {
        background: var(--surface-2);
      }

      .menu-btn svg,
      .search-toggle svg {
        display: block;
        width: 22px;
        height: 22px;
      }

      .menu-drawer {
        position: fixed;
        inset: 0;
        z-index: 60;
        pointer-events: none;
      }

      .menu-drawer.open {
        pointer-events: auto;
      }

      .menu-drawer .overlay {
        position: absolute;
        inset: 0;
        opacity: 0;
        background: rgba(0, 0, 0, 0.58);
        transition: opacity 180ms ease;
      }

      .menu-drawer.open .overlay {
        opacity: 1;
      }

      .menu-panel {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        width: min(430px, 100%);
        height: 100%;
        flex-direction: column;
        padding: 22px;
        border-left: 1px solid var(--line);
        background: #1a1a1d;
        transform: translateX(100%);
        transition: transform 220ms ease;
      }

      .menu-drawer.open .menu-panel {
        transform: translateX(0);
      }

      .menu-list {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-top: 20px;
        overflow-y: auto;
      }

      .menu-list button {
        width: 100%;
        min-height: 52px;
        padding: 0 16px;
        border: 1px solid transparent;
        border-radius: 14px;
        color: var(--ink);
        font-family: inherit;
        font-size: 16px;
        font-weight: 700;
        text-align: left;
        background: var(--surface);
        cursor: pointer;
        transition: background 160ms ease, color 160ms ease;
      }

      .menu-list button:hover {
        background: var(--surface-2);
      }

      html:has(.menu-drawer.open),
      html:has(.cart-drawer.open) {
        overflow: hidden;
      }

      .intro {
        display: flex;
        gap: 22px;
        align-items: end;
        width: min(1560px, calc(100% - 80px));
        min-height: calc(100vh - 338px);
        padding: 104px 0 6px;
        transform: translateX(clamp(-26px, -1.4vw, -12px));
      }

      .hero-copy {
        max-width: 760px;
        padding: 0;
        border-radius: 28px;
        transform: translate(clamp(-34px, -2vw, -18px), 30px);
      }

      .eyebrow {
        display: none;
        gap: 8px;
        align-items: center;
        margin-bottom: 18px;
        padding: 8px 10px;
        border: 1px solid rgba(15, 124, 242, 0.45);
        border-radius: 999px;
        color: white;
        font-size: 13px;
        font-weight: 950;
        background: rgba(15, 124, 242, 0.18);
      }

      h1 {
        max-width: 720px;
        margin: 0;
        font-family: "Golos Text", Manrope, sans-serif;
        font-size: clamp(42px, 6vw, 82px);
        font-weight: 800;
        line-height: 0.92;
        letter-spacing: 0;
      }

      .hero-copy p {
        display: none;
      }

      .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 24px;
      }

      .primary,
      .secondary {
        min-height: 48px;
        padding: 0 18px;
        border-radius: 999px;
        font-weight: 950;
      }

      .primary {
        border: 1px solid transparent;
        color: white;
        background: var(--accent);
      }

      .secondary {
        border: 1px solid var(--line);
        color: white;
        background: var(--surface);
      }

      .selected-card {
        display: none;
        width: 310px;
        padding: 16px;
        border-radius: 999px;
      }

      .selected-card img {
        display: none;
        width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 999px;
        object-fit: cover;
      }

      .selected-card h2 {
        margin: 0 0 8px;
        font-size: 24px;
      }

      .selected-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        color: rgba(255, 255, 255, 0.76);
        font-size: 13px;
      }

      .selected-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 16px;
      }

      .hero-tools {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
        margin-top: 14px;
      }

      .deal-block {
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .hero-copy .game-note {
        display: block;
        max-width: 680px;
        margin: 16px 0 0;
        color: rgba(255, 255, 255, 0.88);
        font-size: 14px;
        font-weight: 800;
        line-height: 1.42;
      }

      .like-btn {
        display: grid;
        width: 48px;
        height: 48px;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 999px;
        color: white;
        font-size: 22px;
        background: var(--surface);
      }

      .like-icon {
        display: block;
        width: 24px;
        height: 24px;
        transform: translateY(1px);
      }

      .like-icon img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
      }

      .price {
        font-family: "Golos Text", Manrope, sans-serif;
        font-size: 26px;
        font-weight: 900;
      }

      .old {
        color: rgba(255, 255, 255, 0.56);
        text-decoration: line-through;
      }

      .slider-zone {
        width: min(1760px, calc(100% - 80px));
        padding: 22px 0 34px;
        overflow: visible;
      }

      .slider-head {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        margin: 0 12px 4px 0;
        transform: translateY(18px);
        position: relative;
        z-index: 6;
      }

      .slider-head h2 {
        margin: 0;
        font-size: 24px;
      }

      .slider-controls {
        display: flex;
        gap: 8px;
      }

      .icon-btn {
        width: 44px;
        height: 40px;
        min-width: 44px;
        padding: 0;
      }

      .game-slider {
        --card-w: clamp(226px, 17vw, 278px);
        --active-w: clamp(350px, 26vw, 430px);
        --slot-gap: clamp(24px, 2.2vw, 36px);
        --slot-one: calc((var(--active-w) / 2) + (var(--card-w) / 2) + var(--slot-gap));
        --slot-two: calc((var(--active-w) / 2) + (var(--card-w) * 1.5) + (var(--slot-gap) * 2));
        --hidden-from: calc(var(--slot-two) + var(--card-w) + var(--slot-gap));
        position: relative;
        height: clamp(196px, 17vw, 252px);
        overflow: visible;
        padding: 0;
        perspective: 900px;
      }

      .game-slider::-webkit-scrollbar {
        display: none;
      }

      .slide-card {
        appearance: none;
        display: block;
        position: absolute;
        left: 50%;
        top: 50%;
        overflow: hidden;
        width: var(--card-w);
        height: auto;
        aspect-ratio: 460 / 215;
        min-height: unset;
        padding: 0;
        border: 1px solid transparent;
        border-radius: 16px;
        background: var(--surface);
        transition:
          width 280ms cubic-bezier(0.22, 0.82, 0.22, 1),
          transform 280ms cubic-bezier(0.22, 0.82, 0.22, 1),
          opacity 220ms ease,
          border-color 180ms ease,
          background 180ms ease,
          filter 180ms ease;
        will-change: transform, opacity, width;
      }

      .game-slider.is-prepping .slide-card {
        transition: none;
      }

      .slide-card::after {
        position: absolute;
        inset: 0;
        background: none;
        opacity: 0;
        pointer-events: none;
        content: "";
        transition: opacity 220ms ease;
      }

      .slide-card.active {
        width: var(--active-w);
        border-color: var(--accent);
        background: var(--surface-2);
        z-index: 4;
      }

      .slide-card.is-hidden {
        z-index: 0;
        opacity: 0;
        pointer-events: none;
        transition:
          width 280ms cubic-bezier(0.22, 0.82, 0.22, 1),
          transform 280ms cubic-bezier(0.22, 0.82, 0.22, 1),
          opacity 90ms ease,
          border-color 180ms ease,
          background 180ms ease,
          filter 180ms ease;
      }

      .slide-card.hidden-right {
        transform: translateX(calc(-50% + var(--hidden-from))) translateY(-50%) scale(0.82);
      }

      .slide-card.hidden-left {
        transform: translateX(calc(-50% - var(--hidden-from))) translateY(-50%) scale(0.82);
      }

      .slide-card.pos-left2 {
        z-index: 1;
        opacity: 1;
        filter: none;
        transform: translateX(calc(-50% - var(--slot-two))) translateY(-50%) scale(0.9) rotateY(7deg);
      }

      .slide-card.pos-left2::after {
        background: linear-gradient(
          90deg,
          rgba(18, 18, 20, 0.76) 0%,
          rgba(18, 18, 20, 0.46) 36%,
          rgba(18, 18, 20, 0) 72%
        );
        opacity: 1;
      }

      .slide-card.pos-left1 {
        z-index: 2;
        opacity: 1;
        transform: translateX(calc(-50% - var(--slot-one))) translateY(-50%) scale(0.96) rotateY(3deg);
      }

      .slide-card.pos-center {
        z-index: 3;
        opacity: 1;
        transform: translateX(-50%) translateY(-50%) scale(1);
      }

      .slide-card.pos-right1 {
        z-index: 2;
        opacity: 1;
        transform: translateX(calc(-50% + var(--slot-one))) translateY(-50%) scale(0.96) rotateY(-3deg);
      }

      .slide-card.pos-right2 {
        z-index: 1;
        opacity: 1;
        filter: none;
        transform: translateX(calc(-50% + var(--slot-two))) translateY(-50%) scale(0.9) rotateY(-7deg);
      }

      .slide-card.pos-right2::after {
        background: linear-gradient(
          270deg,
          rgba(18, 18, 20, 0.76) 0%,
          rgba(18, 18, 20, 0.46) 36%,
          rgba(18, 18, 20, 0) 72%
        );
        opacity: 1;
      }

      .slide-card:hover {
        background: var(--surface-2);
        border-color: rgba(255, 255, 255, 0.20);
      }

      .slide-card img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 220ms ease;
      }

      .slide-card:hover img,
      .slide-card.active img {
        transform: none;
      }

      .slide-card div {
        display: none;
        padding: 9px 10px 10px;
      }

      .slide-card strong {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 14px;
      }

      .slide-card span {
        color: rgba(255, 255, 255, 0.68);
        font-size: 12px;
      }

      .store {
        position: relative;
        z-index: 0;
        background: linear-gradient(180deg, #121214, #121214 280px, var(--dark));
        padding: 24px 0 60px;
      }

      .store > .shell {
        width: min(1320px, calc(100% - 32px));
      }

      .store-head {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 18px;
      }

      .store h2 {
        margin: 0;
        font-size: 32px;
      }

      .filters {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }

      .filter {
        min-height: 38px;
        padding: 0 12px;
        border: 1px solid var(--line);
        border-radius: 999px;
        color: var(--muted);
        background: var(--surface);
      }

      .filter.active {
        color: white;
        background: var(--accent);
      }

      .new-releases {
        margin: 0 0 60px;
      }

      .new-releases:has(.new-rail:empty) {
        display: none;
      }

      .store-section-title {
        margin: 0 0 18px;
        font-size: 25.5px;
        line-height: 1.12;
      }

      .rail-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 10px;
      }

      .rail-title {
        display: inline-flex;
        gap: 10px;
        align-items: center;
        margin: 0;
        font-size: 25.5px;
      }

      .rail-link {
        padding: 0;
        border: 0;
        color: white;
        background: transparent;
        box-shadow: none;
        transform: none;
        transition: none;
      }

      .rail-link:hover,
      .rail-link:active {
        border-color: transparent;
        background: transparent;
        box-shadow: none;
        transform: none;
      }

      .rail-link {
        border: 0;
        color: white;
        background: transparent;
      }

      .rail-title span {
        color: rgba(255, 255, 255, 0.72);
      }

      .rail-controls {
        display: flex;
        gap: 8px;
      }

      .rail-btn {
        display: grid;
        width: 45px;
        height: 45px;
        place-items: center;
        border: 1px solid transparent;
        border-radius: 999px;
        color: white;
        background: var(--surface);
      }

      .rail-btn:hover {
        border-color: rgba(255, 255, 255, 0.20);
        background: var(--surface-2);
      }

      .new-rail {
        --rail-columns: 4;
        --rail-gap: 19px;
        display: grid;
        grid-auto-columns: calc(25% - 14.25px);
        grid-auto-flow: column;
        gap: var(--rail-gap);
        overflow-x: auto;
        padding: 4px 0 14px;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0;
        scroll-behavior: smooth;
        scrollbar-width: none;
      }

      .new-rail.two-rows {
        --rail-columns: 4;
        grid-auto-columns: calc(25% - 14.25px);
        grid-template-rows: repeat(2, auto);
      }

      .new-rail::-webkit-scrollbar {
        display: none;
      }

      .new-card {
        cursor: pointer;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        scroll-snap-align: start;
        padding: 9px;
        border: 1px solid transparent;
        border-radius: 8px;
        color: white;
        text-align: left;
        background: transparent;
        transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
      }

      .new-card:hover {
        border-color: var(--line);
        background: var(--surface);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
        transform: translateY(-3px);
      }

      .new-cover {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        background: var(--panel);
      }

      .new-cover img {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9.2;
        object-fit: cover;
      }

      .new-card small {
        display: block;
        margin-top: 8.5px;
        padding: 0 2px;
        color: var(--muted);
        font-size: 12.7px;
        font-weight: 900;
      }

      .new-card strong {
        display: block;
        min-height: 23px;
        margin-top: 4.5px;
        padding: 0 2px;
        font-size: 17px;
        line-height: 1.28;
      }

      .new-price {
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
        gap: 1px 8.5px;
        align-items: center;
        justify-content: start;
        margin-left: 0;
        margin-top: 6.5px;
        text-align: left;
        font-size: 14.8px;
        font-weight: 950;
      }

      .new-card-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 6.5px;
        align-items: end;
        margin-top: auto;
        padding: 8.5px 2px 0;
      }

      .new-price b {
        grid-row: 1 / 3;
        grid-column: 1;
        padding: 5.5px 8.5px;
        border-radius: 999px;
        color: white;
        font-size: 12.7px;
        background: var(--accent);
      }

      .new-price span {
        grid-row: 1;
        grid-column: 2;
        text-align: left;
        color: rgba(255, 255, 255, 0.52);
        font-size: 12.7px;
        line-height: 1;
        text-decoration: line-through;
      }

      .new-price em {
        grid-row: 2;
        grid-column: 2;
        font-style: normal;
        white-space: nowrap;
      }

      .new-like-btn {
        display: grid;
        flex: 0 0 auto;
        width: 34px;
        height: 34px;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: var(--surface-2);
      }

      .new-like-btn img {
        width: 19px;
        height: 19px;
        object-fit: contain;
        transform: translateY(1px);
      }

      .new-cart-btn {
        flex: 0 0 auto;
        min-height: 34px;
        padding: 0 11px;
        border: 1px solid transparent;
        border-radius: 999px;
        color: white;
        background: var(--accent);
        font-size: 12.7px;
        font-weight: 950;
      }

      .new-cart-btn:hover {
        border-color: transparent;
        background: var(--accent-strong);
        box-shadow: none;
      }

      .new-like-btn:hover,
      .product-like-btn:hover {
        border-color: rgba(255, 255, 255, 0.20);
        background: #34343c;
        box-shadow: none;
      }

      .ranked-showcase {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 19px;
        margin: 0 0 64px;
      }

      .rank-column {
        min-width: 0;
      }

      .rank-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 17px;
      }

      .rank-head h2 {
        margin: 0;
        font-size: 23.5px;
        line-height: 1.12;
      }

      .rank-head span {
        color: rgba(255, 255, 255, 0.76);
        font-size: 30px;
        line-height: 1;
      }

      .rank-list {
        display: grid;
        gap: 7.5px;
      }

      .rank-item {
        cursor: pointer;
        display: grid;
        grid-template-columns: 30px 104px minmax(0, 1fr) auto;
        gap: 14px;
        align-items: center;
        width: 100%;
        min-height: 64px;
        padding: 10px 16px 10px 12px;
        border: 1px solid var(--line);
        border-radius: 10px;
        color: white;
        text-align: left;
        background: var(--surface);
        transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
      }

      .rank-item.featured {
        background: var(--surface);
      }

      .rank-item:hover {
        border-color: rgba(255, 255, 255, 0.20);
        background: var(--surface-2);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
        transform: translateY(-3px);
      }

      .rank-num {
        font-family: "Golos Text", Manrope, sans-serif;
        font-style: normal;
        font-size: 17px;
        font-weight: 800;
        text-align: center;
        color: rgba(255, 255, 255, 0.38);
        font-variant-numeric: tabular-nums;
      }

      .rank-list .rank-item:nth-child(-n + 3) .rank-num {
        color: var(--accent-strong);
      }

      .rank-item img {
        width: 104px;
        height: 58px;
        border-radius: 6px;
        object-fit: cover;
        background: var(--panel);
      }

      .rank-info {
        min-width: 0;
        padding: 0 6px 0 0;
      }

      .rank-item strong {
        display: block;
        font-size: 16px;
        line-height: 1.25;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .rank-item small {
        display: block;
        margin-top: 5px;
        color: var(--muted);
        font-size: 13px;
        font-weight: 800;
      }

      .rank-item b {
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
        column-gap: 12px;
        align-items: center;
        justify-content: end;
        justify-self: end;
        text-align: right;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
      }

      .rank-item b em {
        grid-row: 1 / 3;
        grid-column: 1;
        align-self: center;
        padding: 5px 9px;
        border-radius: 999px;
        color: white;
        font-size: 12.5px;
        font-style: normal;
        text-align: center;
        background: var(--accent);
      }

      .rank-item b em:empty {
        display: none;
      }

      .rank-item b span {
        grid-row: 1;
        grid-column: 2;
        justify-self: end;
        color: rgba(255, 255, 255, 0.5);
        font-size: 12.5px;
        line-height: 1.15;
        text-decoration: line-through;
      }

      .rank-item b strong {
        grid-row: 2;
        grid-column: 2;
        justify-self: end;
        min-width: 64px;
        text-align: right;
        font-size: 17px;
        font-weight: 950;
        line-height: 1.15;
        overflow: visible;
        text-overflow: clip;
        white-space: nowrap;
      }

      .rank-pill {
        display: inline-flex;
        width: fit-content;
        margin-top: 7px;
        padding: 5px 8px;
        border-radius: 6px;
        color: white;
        font-size: 12px;
        font-weight: 950;
        background: rgba(255, 255, 255, 0.12);
      }

      .catalog {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 45px 24px;
        margin-bottom: 64px;
      }

      .product {
        cursor: pointer;
        overflow: visible;
        padding: 9px;
        border: 1px solid transparent;
        border-radius: 8px;
        background: transparent;
        box-shadow: none;
        transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
      }

      .product:hover {
        border-color: var(--line);
        background: var(--surface);
        box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
        transform: translateY(-3px);
      }

      .product-media {
        position: relative;
        overflow: hidden;
        aspect-ratio: 16 / 9;
        border-radius: 8px;
        background: var(--panel);
      }

      .product-media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .product:hover .product-media img {
        transform: none;
      }

      .badge {
        position: absolute;
        left: 9px;
        top: 9px;
        padding: 6px 8px;
        border-radius: 999px;
        color: #fff;
        font-size: 12px;
        font-weight: 950;
        background: var(--accent);
      }

      .discount {
        position: absolute;
        right: 9px;
        top: 9px;
        padding: 6px 8px;
        border-radius: 999px;
        color: white;
        font-size: 12px;
        font-weight: 950;
        background: #f04f5f;
      }

      .product-body {
        padding: 23px 0 0;
      }

      .product h3 {
        margin: 0;
        font-size: 21px;
        line-height: 1.28;
      }

      .product-desc {
        min-height: 70px;
        margin: 17px 0 23px;
        color: var(--muted);
        font-size: 16px;
        line-height: 1.5;
      }

      .product-actions {
        display: flex;
        gap: 13px;
        align-items: center;
        justify-content: flex-start;
      }

      .product-price {
        display: flex;
        flex-wrap: nowrap;
        flex: 1 1 auto;
        gap: 11px;
        align-items: center;
        min-width: 0;
        font-size: 14.8px;
        font-weight: 900;
      }

      .product-price b {
        padding: 4.5px 9.5px;
        border-radius: 999px;
        color: white;
        font-size: 12.7px;
        background: var(--accent);
      }

      .product-price span {
        flex: 0 1 auto;
        order: 0;
        color: rgba(255, 255, 255, 0.56);
        font-size: 12.7px;
        text-decoration: line-through;
      }

      .product-price strong {
        display: block;
        font-size: 17px;
        white-space: nowrap;
      }

      .buy {
        min-height: 40px;
        padding: 0 15px;
        border: 1px solid transparent;
        border-radius: 999px;
        color: white;
        background: var(--accent);
        font-weight: 950;
      }

      .buy:hover {
        background: var(--accent-strong);
      }

      .product-like-btn {
        display: grid;
        width: 40px;
        height: 40px;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: var(--surface);
      }

      .product-like-btn img {
        width: 21px;
        height: 21px;
        object-fit: contain;
        transform: translateY(1px);
      }

      .game-page {
        position: relative;
        overflow: hidden;
        padding: 42px 0 64px;
        background: #121214;
      }

      .game-page-bg {
        position: absolute;
        inset: 0;
        opacity: 0.28;
        background-position: center;
        background-size: cover;
        filter: blur(16px) saturate(1.08);
        transform: scale(1.08);
      }

      .game-page::after {
        position: absolute;
        inset: 0;
        content: "";
        background:
          linear-gradient(180deg, rgba(18, 18, 20, 0.72), #121214 76%),
          linear-gradient(90deg, rgba(18, 18, 20, 0.88), rgba(18, 18, 20, 0.38));
      }

      .game-detail {
        position: relative;
        z-index: 1;
      }

      .back-link {
        min-height: 40px;
        margin-bottom: 20px;
        padding: 0 14px;
        border-radius: 999px;
        color: white;
        background: var(--surface);
      }

      .detail-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
        gap: 28px;
        align-items: start;
      }

      .detail-media {
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: var(--surface);
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
      }

      .detail-media img {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
      }

      .detail-panel {
        padding: 22px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: var(--surface);
      }

      .detail-panel h2 {
        margin: 12px 0 12px;
        font-size: clamp(34px, 4vw, 58px);
        line-height: 0.94;
      }

      .detail-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }

      .detail-tags span {
        padding: 7px 10px;
        border: 1px solid var(--line);
        border-radius: 999px;
        color: rgba(255, 255, 255, 0.76);
        font-size: 12px;
        font-weight: 900;
        background: var(--surface-2);
      }

      .detail-text {
        margin: 0 0 18px;
        color: rgba(255, 255, 255, 0.78);
        font-weight: 800;
        line-height: 1.55;
      }

      .detail-buy {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        align-items: center;
        margin-top: 20px;
      }

      .detail-price {
        min-width: 126px;
      }

      .detail-actions {
        display: flex;
        gap: 10px;
        align-items: center;
      }

      .cart-drawer {
        position: fixed;
        inset: 0;
        z-index: 40;
        pointer-events: none;
      }

      .cart-drawer.open {
        pointer-events: auto;
      }

      .overlay {
        position: absolute;
        inset: 0;
        opacity: 0;
        background: rgba(0, 0, 0, 0.58);
        transition: opacity 180ms ease;
      }

      .cart-drawer.open .overlay {
        opacity: 1;
      }

      .cart-panel {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        width: min(430px, 100%);
        height: 100%;
        flex-direction: column;
        padding: 22px;
        border-left: 1px solid var(--line);
        background: #1a1a1d;
        transform: translateX(100%);
        transition: transform 220ms ease;
      }

      .cart-drawer.open .cart-panel {
        transform: translateX(0);
      }

      .cart-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
      }

      .close {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        border: 1px solid transparent;
        border-radius: 999px;
        color: white;
        background: var(--surface);
      }

      .close:hover {
        background: var(--surface-2);
      }

      .close img {
        width: 12px;
        height: 12px;
        display: block;
        object-fit: contain;
      }

      .cart-items {
        display: grid;
        gap: 12px;
        margin: 20px 0;
        overflow: auto;
      }

      .cart-item {
        display: grid;
        grid-template-columns: 82px 1fr auto;
        gap: 12px;
        align-items: center;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      }

      .cart-item img {
        width: 82px;
        height: 48px;
        border-radius: 999px;
        object-fit: cover;
      }

      .cart-item span {
        color: var(--muted);
        font-size: 13px;
      }

      .cart-item-info {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
      }
      .cart-item-info > span {
        color: var(--muted);
        font-size: 12.5px;
        font-weight: 700;
      }
      .qty-stepper {
        display: inline-flex;
        align-items: center;
        gap: 2px;
        margin-top: 6px;
        padding: 2px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: var(--surface-2);
        width: max-content;
      }
      .qty-stepper button {
        display: grid;
        place-items: center;
        width: 26px;
        height: 26px;
        border: 0;
        border-radius: 999px;
        color: var(--ink);
        font-size: 17px;
        font-weight: 800;
        background: transparent;
        cursor: pointer;
      }
      .qty-stepper button:hover {
        background: var(--accent);
        color: #fff;
      }
      .qty-stepper b {
        min-width: 22px;
        text-align: center;
        font-size: 14px;
        font-variant-numeric: tabular-nums;
      }
      .cart-item-right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        align-self: stretch;
        justify-content: space-between;
        gap: 10px;
      }
      .cart-remove {
        display: grid;
        place-items: center;
        width: 28px;
        height: 28px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        cursor: pointer;
      }
      .cart-remove:hover {
        background: #34343c;
      }
      .cart-remove img {
        width: 12px;
        height: 12px;
        opacity: 0.75;
      }

      .empty {
        display: grid;
        min-height: 260px;
        place-items: center;
        color: var(--muted);
      }

      .summary {
        margin-top: auto;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
      }

      .sum-row {
        display: flex;
        justify-content: space-between;
        margin: 8px 0;
        color: var(--muted);
      }

      .sum-row.total {
        color: white;
        font-size: 22px;
        font-weight: 950;
      }

      .checkout {
        width: 100%;
        min-height: 52px;
        margin-top: 14px;
        border-radius: 999px;
        color: white;
        font-weight: 950;
        border: 1px solid transparent;
        background: var(--accent);
      }

      .checkout:hover {
        background: var(--accent-strong);
      }

      .login-modal {
        position: fixed;
        inset: 0;
        z-index: 70;
        display: grid;
        place-items: center;
        padding: 18px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease;
      }

      .login-modal.open {
        opacity: 1;
        pointer-events: auto;
      }

      .login-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.66);
      }

      .login-card {
        position: relative;
        z-index: 1;
        width: min(420px, 100%);
        padding: 22px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #1a1a1d;
        box-shadow: 0 26px 90px rgba(0, 0, 0, 0.55);
        transform: translateY(10px) scale(0.98);
        transition: transform 180ms ease;
      }

      .login-modal.open .login-card {
        transform: translateY(0) scale(1);
      }

      .login-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin-bottom: 18px;
      }

      .login-head h2 {
        margin: 0;
        font-size: 26px;
      }

      .auth-tabs {
        position: relative;
        display: flex;
        margin-bottom: 16px;
        padding: 5px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: var(--surface);
      }

      .auth-tab-pill {
        position: absolute;
        top: 5px;
        bottom: 5px;
        left: 5px;
        width: calc(50% - 5px);
        z-index: 1;
        border-radius: 999px;
        background: var(--accent);
        pointer-events: none;
        transition: transform 380ms cubic-bezier(0.22, 0.82, 0.22, 1);
      }

      .auth-tabs.mode-register .auth-tab-pill {
        transform: translateX(100%);
      }

      .auth-tabs button {
        flex: 1;
        position: relative;
        z-index: 2;
        min-height: 38px;
        border: 0;
        border-radius: 999px;
        color: rgba(255, 255, 255, 0.66);
        background: transparent;
        cursor: pointer;
        transition: color 240ms ease;
      }

      .auth-tabs button.active {
        color: white;
        background: transparent;
      }

      .login-form {
        display: grid;
        gap: 12px;
      }

      .auth-error {
        display: none;
        margin: 0;
        color: #ff6b6b;
        font-size: 13px;
        font-weight: 900;
      }

      .auth-error.show {
        display: block;
      }

      .login-form label {
        display: grid;
        gap: 7px;
        color: rgba(255, 255, 255, 0.72);
        font-size: 13px;
        font-weight: 850;
      }

      .login-form input {
        width: 100%;
        height: 48px;
        padding: 0 15px;
        border: 1px solid var(--line);
        border-radius: 999px;
        outline: none;
        color: white;
        background: var(--surface);
        transition: border-color 160ms ease, background 160ms ease;
      }

      .login-form input:focus {
        border-color: var(--accent);
        background: var(--surface-2);
      }

      .password-field {
        position: relative;
        display: grid;
      }

      .password-field input {
        padding-right: 52px;
      }

      .password-toggle {
        position: absolute;
        top: 50%;
        right: 7px;
        display: grid;
        width: 38px;
        height: 38px;
        place-items: center;
        border: 0;
        border-radius: 999px;
        color: rgba(255, 255, 255, 0.7);
        background: transparent;
        transform: translateY(-50%);
        transition: color 160ms ease, background 160ms ease;
      }

      .password-toggle:hover,
      .password-toggle.active {
        border-color: transparent;
        color: white;
        background: transparent;
        box-shadow: none;
        transform: translateY(-50%);
      }

      .password-toggle:active {
        border-color: transparent;
        background: transparent;
        box-shadow: none;
        transform: translateY(-50%) scale(0.98);
      }

      .eye-icon {
        position: relative;
        display: block;
        width: 19px;
        height: 13px;
        border: 2px solid currentColor;
        border-radius: 80% 12px;
        transform: rotate(45deg);
      }

      .eye-icon::after {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 5px;
        height: 5px;
        border-radius: 999px;
        content: "";
        background: currentColor;
        transform: translate(-50%, -50%);
      }

      .login-form .consent-row {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 9px;
        color: var(--muted);
        font-size: 12.5px;
        line-height: 1.4;
        font-weight: 600;
        cursor: pointer;
      }

      .login-form .consent-row input {
        -webkit-appearance: auto;
        appearance: auto;
        width: 17px;
        height: 17px;
        padding: 0;
        margin-top: 1px;
        border: 0;
        border-radius: 0;
        background: none;
        transition: none;
        flex: 0 0 auto;
        accent-color: var(--accent);
        cursor: pointer;
      }

      .login-form .consent-row a {
        color: var(--accent-strong);
        font-weight: 700;
        text-decoration: none;
      }

      .login-form .consent-row a:hover {
        text-decoration: underline;
      }

      .login-submit {
        min-height: 50px;
        margin-top: 4px;
        border: 1px solid transparent;
        border-radius: 999px;
        color: white;
        background: var(--accent);
      }

      .login-submit:hover {
        background: var(--accent-strong);
      }

      .login-extra {
        display: flex;
        justify-content: flex-start;
        margin: 14px 0 0;
      }

      .login-extra a,
      .login-extra a:visited,
      .login-extra button {
        padding: 0;
        border: 0;
        color: var(--accent-strong);
        background: transparent;
        font-size: 13px;
        font-weight: 800;
        text-decoration: none;
        cursor: pointer;
      }

      .login-extra a:hover,
      .login-extra button:hover {
        color: rgba(255, 255, 255, 0.9);
      }

      .code-view { display: grid; gap: 14px; }
      .code-hint { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; font-weight: 600; }
      .code-hint b { color: white; font-weight: 850; word-break: break-all; }
      .code-inputs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
      .code-cell {
        height: 56px; min-width: 0; padding: 0;
        border: 1px solid var(--line); border-radius: 14px; outline: none;
        color: white; background: var(--surface);
        font-size: 24px; font-weight: 800; text-align: center;
        transition: border-color 160ms ease, background 160ms ease;
      }
      .code-cell:focus { border-color: var(--accent); background: var(--surface-2); }
      .code-cell.filled { border-color: rgba(15, 124, 242, 0.55); background: var(--surface-2); }
      .login-submit:disabled { opacity: 0.55; cursor: not-allowed; }
      .login-submit:disabled:hover { background: var(--accent); }
      .code-extra { display: flex; justify-content: space-between; gap: 12px; margin-top: 2px; }
      .code-extra .code-link {
        padding: 0; border: 0; color: var(--accent-strong); background: transparent;
        font-size: 13px; font-weight: 800; text-align: left; cursor: pointer;
        transition: color 160ms ease;
      }
      .code-extra .code-link:hover { color: rgba(255, 255, 255, 0.9); }
      .reset-view { display: grid; gap: 12px; }

      .account-card {
        display: grid;
        gap: 16px;
      }

      .account-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
      }

      .favorite-list {
        display: grid;
        gap: 10px;
      }

      .favorite-list a {
        display: grid;
        grid-template-columns: 82px 1fr;
        gap: 10px;
        align-items: center;
        color: white;
        text-decoration: none;
      }

      .favorite-list img {
        width: 82px;
        height: 48px;
        border-radius: 12px;
        object-fit: cover;
      }

      .site-footer {
        position: relative;
        padding: 28px 0 34px;
        background: #121214;
      }

      .site-footer::before {
        position: absolute;
        top: 0;
        left: 50%;
        width: min(1240px, calc(100% - 32px));
        height: 1px;
        content: "";
        background: var(--line);
        transform: translateX(-50%);
      }

      .footer-inner {
        display: flex;
        gap: 18px;
        align-items: center;
        justify-content: center;
      }

      .footer-copy {
        margin: 18px auto 0;
        max-width: 980px;
        color: rgba(255, 255, 255, 0.46);
        font-size: 12px;
        font-weight: 700;
        line-height: 1.55;
        text-align: center;
      }

      .legal-links,
      .social-links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
      }

      .legal-links a {
        color: rgba(255, 255, 255, 0.68);
        font-size: 13px;
        font-weight: 800;
        text-decoration: none;
        transition: color 160ms ease;
      }

      .legal-links a:hover {
        color: white;
      }

      .social-links a {
        display: grid;
        width: 42px;
        height: 42px;
        place-items: center;
        border-radius: 999px;
        color: rgba(255, 255, 255, 0.68);
        background: transparent;
        transition: color 160ms ease, transform 160ms ease;
      }

      .social-links a:hover {
        color: white;
      }

      .social-links svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
      }

      @keyframes toastIn {
        from {
          opacity: 0;
          transform: translate(-50%, -18px);
        }
        to {
          opacity: 1;
          transform: translate(-50%, 0);
        }
      }

      .toast {
        position: fixed;
        top: 20px;
        left: 50%;
        z-index: 80;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 13px 20px 13px 14px;
        border-radius: 14px;
        color: #fff;
        font-size: 14px;
        font-weight: 800;
        border: 1px solid var(--line);
        background: var(--surface);
        box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
        transform: translateX(-50%);
        animation: toastIn 280ms cubic-bezier(0.22, 0.82, 0.22, 1);
      }

      .toast::before {
        flex: 0 0 auto;
        width: 26px;
        height: 26px;
        border-radius: 999px;
        background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 15px no-repeat;
        box-shadow: 0 0 0 4px rgba(15, 124, 242, 0.16);
        content: "";
      }

      @media (max-width: 1680px) {
        .logo { margin-left: 0; }
      }

      @media (max-width: 1020px) {
        .top-inner {
          grid-template-columns: auto 1fr auto auto auto auto;
          gap: 10px 6px;
          align-items: center;
        }

        .logo {
          grid-column: 1 / 2;
          grid-row: 1;
          margin-left: 0;
        }

        .search-toggle {
          display: inline-flex;
          grid-column: 3 / 4;
          grid-row: 1;
          justify-self: end;
          order: 0;
        }

        .cart-btn {
          grid-column: 4 / 5;
          grid-row: 1;
          justify-self: end;
          order: 0;
        }

        .menu-btn {
          display: inline-flex;
          grid-column: 5 / 6;
          grid-row: 1;
          justify-self: end;
        }

        .login-btn,
        .avatar-btn {
          grid-column: 6 / 7;
          grid-row: 1;
          justify-self: end;
          order: 0;
        }

        .login-btn {
          padding: 0 16px;
          height: 40px;
          font-size: 13px;
        }

        .search {
          grid-column: 1 / -1;
          grid-row: 2;
          display: none;
        }

        .top-inner.search-open .search {
          display: block;
        }

        .nav {
          display: none;
        }

        .cart-panel,
        .menu-panel {
          width: 100%;
          max-width: 100%;
          border-left: 0;
          border-right: 0;
        }

        .intro {
          grid-template-columns: 1fr;
          width: min(100% - 32px, 1240px);
          transform: translateX(0);
        }

        .catalog {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .ranked-showcase {
          grid-template-columns: 1fr;
        }

        .new-rail {
          --rail-columns: 3;
          grid-auto-columns: calc(33.333333% - 12.666667px);
        }

        .new-rail.two-rows {
          --rail-columns: 3;
          grid-auto-columns: calc(33.333333% - 12.666667px);
        }

        .game-slider {
          --card-w: 210px;
          --active-w: 320px;
          --slot-gap: 18px;
          --slot-one: calc((var(--active-w) / 2) + (var(--card-w) / 2) + var(--slot-gap));
          --slot-two: calc((var(--active-w) / 2) + (var(--card-w) * 1.5) + (var(--slot-gap) * 2));
          --hidden-from: calc(var(--slot-one) + var(--card-w) + var(--slot-gap));
          height: 210px;
          gap: 12px;
          padding-inline: 0;
        }

        .slide-card {
          height: auto;
        }
      }

      @media (max-width: 640px) {
        .shell {
          width: min(100% - 20px, 1240px);
        }

        .hero {
          min-height: 100vh;
        }

        .intro {
          width: min(100% - 20px, 1240px);
          min-height: calc(100vh - 206px);
          padding-top: 104px;
          padding-bottom: 8px;
        }

        .top-inner,
        .hero-copy,
        .selected-card {
          border-radius: 28px;
        }
        .nav {
          overflow-x: auto;
        }

        .search-panel {
          width: 100%;
        }

        .search-result {
          grid-template-columns: 104px minmax(0, 1fr);
        }

        .search-result img {
          width: 104px;
        }

        .ranked-showcase {
          gap: 28px;
          margin-bottom: 44px;
        }

        .store-section-title {
          font-size: 24px;
        }

        .new-rail {
          --rail-columns: 2;
          --rail-gap: 12px;
          grid-auto-columns: calc(50% - 6px);
        }

        .new-rail.two-rows {
          --rail-columns: 2;
          grid-auto-columns: calc(50% - 6px);
        }

        .rank-head h2 {
          font-size: 20px;
        }

        .rank-item {
          grid-template-columns: 20px 72px minmax(0, 1fr);
          grid-template-areas:
            "num thumb info"
            "num thumb price";
          gap: 4px 11px;
          padding: 10px 12px;
        }

        .rank-num {
          grid-area: num;
          align-self: start;
          margin-top: 2px;
          font-size: 15px;
        }

        .rank-item img {
          grid-area: thumb;
          width: 72px;
          height: 40px;
        }

        .rank-info {
          grid-area: info;
          align-self: end;
        }

        .rank-item b {
          grid-area: price;
          align-self: start;
          justify-self: start;
          justify-content: start;
          margin-top: 3px;
        }

        .rank-item b span {
          justify-self: start;
        }

        .rank-item b strong {
          justify-self: start;
        }

        h1 {
          font-size: 42px;
        }

        .deal-block {
          flex-wrap: wrap;
          gap: 8px 12px;
          min-width: 0;
        }

        .hero-copy .game-note {
          max-width: 100%;
          font-size: 12.5px;
        }

        .footer-inner {
          align-items: flex-start;
          flex-direction: column;
        }

        .legal-links {
          flex-direction: column;
          align-items: flex-start;
        }

        .catalog {
          grid-template-columns: 1fr;
        }

        .game-slider {
          --card-w: 150px;
          --active-w: 230px;
          --slot-gap: 12px;
          --slot-one: calc((var(--active-w) / 2) + (var(--card-w) / 2) + var(--slot-gap));
          --slot-two: calc((var(--active-w) / 2) + (var(--card-w) * 1.5) + (var(--slot-gap) * 2));
          --hidden-from: calc((var(--active-w) / 2) + var(--card-w) + var(--slot-gap));
          height: 168px;
          gap: 10px;
          padding-inline: 0;
        }

        .slide-card {
          height: auto;
          border-radius: 20px;
        }
      }

      @media (max-width: 520px) {
        .new-rail,
        .new-rail.two-rows {
          --rail-columns: 1;
          grid-auto-columns: 100%;
        }
      }

      @keyframes like-pop {
        0%   { transform: scale(1); }
        35%  { transform: scale(1.48); }
        65%  { transform: scale(0.86); }
        100% { transform: scale(1); }
      }

      @keyframes cart-press {
        0%   { transform: scale(1); }
        30%  { transform: scale(0.93); }
        65%  { transform: scale(1.06); }
        100% { transform: scale(1); }
      }

      .like-pop-once {
        animation: like-pop 380ms cubic-bezier(0.36, 0.07, 0.19, 0.97) !important;
        transform-origin: center;
      }

      .cart-pop-once {
        animation: cart-press 300ms cubic-bezier(0.22, 0.82, 0.22, 1) !important;
        transform-origin: center;
      }
      /* ---- Support page ---- */
      .support-page {
        position: relative;
        z-index: 1;
        max-width: 1180px;
        margin: 0 auto;
        padding: 168px 28px 40px;
      }
      .support-hero {
        position: relative;
        margin-bottom: 30px;
        padding: 50px 40px 54px;
        border: 1px solid var(--line);
        border-radius: 22px;
        text-align: center;
        background:
          radial-gradient(120% 140% at 50% -30%, rgba(15, 124, 242, 0.2), transparent 58%),
          var(--surface);
        overflow: hidden;
      }
      .support-kicker {
        display: inline-block;
        margin-bottom: 16px;
        padding: 7px 15px;
        border-radius: 999px;
        color: var(--accent-strong);
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        background: rgba(15, 124, 242, 0.12);
      }
      .support-hero h1 {
        margin: 0 auto;
        max-width: none;
        font-family: "Golos Text", Manrope, sans-serif;
        font-size: clamp(32px, 4.4vw, 50px);
        font-weight: 900;
        letter-spacing: -0.02em;
      }
      .support-hero p {
        margin: 14px auto 0;
        max-width: 540px;
        color: var(--muted);
        font-size: 16px;
        line-height: 1.55;
        font-weight: 600;
      }
      .support-search {
        position: relative;
        display: flex;
        align-items: center;
        max-width: 540px;
        margin: 28px auto 0;
      }
      .support-search img {
        position: absolute;
        left: 18px;
        width: 18px;
        height: 18px;
        opacity: 0.6;
        pointer-events: none;
      }
      .support-search input {
        width: 100%;
        height: 56px;
        padding: 0 18px 0 48px;
        border: 1px solid var(--line);
        border-radius: 14px;
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        background: var(--surface);
      }
      .support-search input:focus {
        outline: none;
        border-color: var(--accent);
      }
      .support-tabs {
        position: relative;
        display: inline-flex;
        gap: 4px;
        margin: 0 auto 32px;
        padding: 5px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: var(--surface);
      }
      .support-tab-pill {
        position: absolute;
        top: 5px;
        left: 0;
        z-index: 1;
        height: 42px;
        border-radius: 999px;
        background: var(--accent);
        pointer-events: none;
        will-change: transform, width;
        transition:
          transform 380ms cubic-bezier(0.22, 0.82, 0.22, 1),
          width 380ms cubic-bezier(0.22, 0.82, 0.22, 1);
      }
      .support-tab {
        position: relative;
        min-width: 156px;
        min-height: 42px;
        padding: 0 28px;
        border: 0;
        border-radius: 999px;
        color: var(--muted);
        font-size: 14.5px;
        font-weight: 800;
        text-align: center;
        background: transparent;
        cursor: pointer;
        user-select: none;
        -webkit-user-select: none;
        -webkit-tap-highlight-color: transparent;
        transition: color 240ms ease;
      }
      .support-tab.active {
        color: #fff;
        background: transparent;
      }
      .support-tab:not(.active):hover {
        color: var(--ink);
      }
      .support-tab .lbl {
        position: relative;
        z-index: 2;
      }
      .hist-toggle {
        display: flex;
        gap: 8px;
        margin-bottom: 18px;
      }
      .hist-tab {
        min-height: 36px;
        padding: 0 16px;
        border: 1px solid var(--line);
        border-radius: 999px;
        color: var(--muted);
        font-size: 13.5px;
        font-weight: 800;
        background: transparent;
        cursor: pointer;
        transition: color 140ms ease, background 140ms ease, border-color 140ms ease;
      }
      .hist-tab:hover {
        color: var(--ink);
      }
      .hist-tab.active {
        color: #fff;
        background: var(--accent);
      }
      .support-content {
        max-width: 1080px;
        margin: 0 auto;
      }
      .section-head {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 14px;
        margin: 44px 0 18px;
      }
      .section-head:first-child {
        margin-top: 0;
      }
      .section-head h2 {
        margin: 0;
        font-family: "Golos Text", Manrope, sans-serif;
        font-size: 24px;
        font-weight: 900;
        letter-spacing: -0.01em;
      }
      .section-head .reset-cat {
        border: 0;
        background: transparent;
        color: var(--accent-strong);
        font-size: 13.5px;
        font-weight: 800;
        cursor: pointer;
      }
      .quick-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
      }
      .quick-tile {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 20px;
        border: 1px solid var(--line);
        border-radius: 14px;
        color: var(--ink);
        text-align: left;
        background: var(--surface);
        cursor: pointer;
        transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
      }
      .quick-tile:hover {
        border-color: rgba(255, 255, 255, 0.2);
        background: var(--surface-2);
        transform: translateY(-2px);
      }
      .quick-tile .q-ico {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        border-radius: 11px;
        color: var(--accent-strong);
        background: rgba(15, 124, 242, 0.12);
      }
      .quick-tile .q-ico svg {
        width: 22px;
        height: 22px;
      }
      .quick-tile span {
        font-size: 15px;
        font-weight: 800;
        line-height: 1.3;
      }
      .faq-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        align-items: start;
      }
      .faq-empty-wide {
        padding: 44px 20px;
        border: 1px dashed var(--line);
        border-radius: 14px;
        color: var(--muted);
        font-size: 15px;
        font-weight: 700;
        text-align: center;
      }
      .topics-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
      }
      .topic-card {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 24px;
        border: 1px solid var(--line);
        border-radius: 16px;
        text-align: left;
        background: var(--surface);
        cursor: pointer;
        transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
      }
      .topic-card:hover {
        border-color: rgba(255, 255, 255, 0.2);
        background: var(--surface-2);
        transform: translateY(-2px);
      }
      .topic-card .t-ico {
        display: grid;
        place-items: center;
        width: 46px;
        height: 46px;
        margin-bottom: 6px;
        border-radius: 12px;
        color: var(--accent-strong);
        background: rgba(15, 124, 242, 0.12);
      }
      .topic-card .t-ico svg {
        width: 24px;
        height: 24px;
      }
      .topic-card strong {
        font-size: 17px;
        font-weight: 900;
      }
      .topic-card p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.55;
        font-weight: 500;
      }
      .topic-card .t-count {
        margin-top: 4px;
        color: var(--accent-strong);
        font-size: 13px;
        font-weight: 800;
      }
      .channels-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
      }
      .channel-card {
        display: flex;
        gap: 16px;
        padding: 24px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: var(--surface);
      }
      .channel-card .c-ico {
        display: grid;
        place-items: center;
        width: 46px;
        height: 46px;
        flex: 0 0 auto;
        border-radius: 12px;
        color: var(--accent-strong);
        background: rgba(15, 124, 242, 0.12);
      }
      .channel-card .c-ico svg {
        width: 24px;
        height: 24px;
      }
      .channel-card strong {
        display: block;
        margin-bottom: 6px;
        font-size: 16.5px;
        font-weight: 900;
      }
      .channel-card p {
        margin: 0 0 12px;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.55;
        font-weight: 500;
      }
      .channel-card .c-link {
        color: var(--accent-strong);
        font-size: 14px;
        font-weight: 800;
        background: transparent;
        border: 0;
        padding: 0;
        cursor: pointer;
      }
      .faq-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin: 0;
      }
      .faq-item {
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--surface);
        overflow: hidden;
        transition: border-color 150ms ease;
      }
      .faq-item.open {
        border-color: rgba(255, 255, 255, 0.18);
      }
      .faq-q {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        width: 100%;
        padding: 20px 22px;
        border: 0;
        color: var(--ink);
        font-family: inherit;
        font-size: 16.5px;
        font-weight: 800;
        text-align: left;
        background: transparent;
        cursor: pointer;
      }
      .faq-q:hover {
        background: var(--surface-2);
      }
      .faq-chevron {
        flex: 0 0 auto;
        width: 22px;
        height: 22px;
        color: var(--muted);
        transition: transform 200ms ease;
      }
      .faq-item.open .faq-chevron {
        transform: rotate(180deg);
        color: var(--accent-strong);
      }
      .faq-a {
        max-height: 0;
        overflow: hidden;
        transition: max-height 240ms ease;
      }
      .faq-a-inner {
        padding: 0 22px 22px;
        color: #c7c9d1;
        font-size: 15.5px;
        line-height: 1.65;
        font-weight: 500;
      }
      .faq-a-inner a {
        color: var(--accent-strong);
        text-decoration: none;
      }
      .faq-empty {
        padding: 50px 20px;
        border: 1px dashed var(--line);
        border-radius: 14px;
        color: var(--muted);
        font-size: 15px;
        font-weight: 700;
        text-align: center;
      }
      .support-cta {
        max-width: 1020px;
        margin: 30px auto 0;
        padding: 26px 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        flex-wrap: wrap;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: linear-gradient(120deg, var(--surface), var(--surface-2));
      }
      .support-cta-text strong {
        display: block;
        font-size: 19px;
        font-weight: 900;
      }
      .support-cta-text span {
        display: block;
        margin-top: 5px;
        color: var(--muted);
        font-size: 14.5px;
        font-weight: 600;
      }
      /* ---- Tickets ---- */
      .ticket-layout {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 26px;
        align-items: start;
        max-width: 1000px;
        margin: 0 auto;
      }
      .ticket-page {
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 860px;
        margin: 0 auto;
      }
      .ticket-actions {
        display: flex;
        justify-content: flex-end;
        margin-top: 12px;
      }
      .ticket-act {
        min-height: 34px;
        padding: 0 15px;
        border: 1px solid var(--line);
        border-radius: 999px;
        color: var(--ink);
        font-size: 13px;
        font-weight: 800;
        background: var(--surface);
        cursor: pointer;
        transition: border-color 150ms ease, background 150ms ease;
      }
      .ticket-act:hover {
        border-color: rgba(255, 255, 255, 0.2);
        background: #303038;
      }
      .ticket.archived {
        opacity: 0.72;
      }
      .ticket-card {
        padding: 26px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: var(--surface);
      }
      .ticket-card h2 {
        margin: 0 0 4px;
        font-family: "Golos Text", Manrope, sans-serif;
        font-size: 22px;
        font-weight: 900;
      }
      .ticket-card .sub {
        margin: 0 0 22px;
        color: var(--muted);
        font-size: 14px;
        font-weight: 600;
      }
      .ticket-field {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 16px;
      }
      .ticket-field label {
        color: var(--muted);
        font-size: 12.5px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.05em;
      }
      .ticket-field input,
      .ticket-field select,
      .ticket-field textarea {
        width: 100%;
        padding: 13px 14px;
        border: 1px solid var(--line);
        border-radius: 10px;
        color: #fff;
        font-family: inherit;
        font-size: 14.5px;
        font-weight: 600;
        background: var(--surface-2);
        resize: vertical;
      }
      .ticket-field input:focus,
      .ticket-field select:focus,
      .ticket-field textarea:focus {
        outline: none;
        border-color: var(--accent);
      }
      .ticket-field textarea {
        min-height: 130px;
        line-height: 1.5;
      }
      .ticket-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
      }
      .ticket-submit {
        width: 100%;
        min-height: 50px;
        margin-top: 4px;
        border: 1px solid transparent;
        border-radius: 999px;
        color: #fff;
        font-size: 15px;
        font-weight: 800;
        background: var(--accent);
        cursor: pointer;
      }
      .ticket-submit:hover {
        background: var(--accent-strong);
      }
      .ticket-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }
      .ticket {
        padding: 16px 18px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: var(--surface-2);
        cursor: pointer;
        transition: border-color 150ms ease;
      }
      .ticket:hover {
        border-color: rgba(255, 255, 255, 0.2);
      }
      .ticket-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 7px;
      }
      .ticket-id {
        color: var(--muted);
        font-size: 12.5px;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
      }
      .ticket-status {
        padding: 4px 10px;
        border-radius: 999px;
        font-size: 11.5px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.04em;
      }
      .ticket-status.open {
        color: #5fd1a0;
        background: rgba(95, 209, 160, 0.14);
      }
      .ticket-status.closed {
        color: var(--muted);
        background: rgba(255, 255, 255, 0.07);
      }
      .ticket h4 {
        margin: 0 0 4px;
        font-size: 15.5px;
        font-weight: 800;
      }
      .ticket p {
        margin: 0;
        color: var(--muted);
        font-size: 13.5px;
        line-height: 1.5;
        font-weight: 500;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }
      .ticket-empty {
        padding: 40px 20px;
        border: 1px dashed var(--line);
        border-radius: 12px;
        color: var(--muted);
        font-size: 14px;
        font-weight: 700;
        text-align: center;
      }
      .support-contacts {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        max-width: 1000px;
        margin: 26px auto 0;
      }
      .contact-card {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 20px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--surface);
      }
      .contact-card svg {
        width: 26px;
        height: 26px;
        margin-bottom: 6px;
        color: var(--accent-strong);
      }
      .contact-card strong {
        font-size: 15px;
        font-weight: 800;
      }
      .contact-card span {
        color: var(--muted);
        font-size: 13.5px;
        font-weight: 600;
      }
      @media (max-width: 860px) {
        .quick-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        .faq-grid,
        .topics-grid,
        .channels-grid {
          grid-template-columns: 1fr;
        }
      }
      @media (max-width: 760px) {
        .ticket-layout {
          grid-template-columns: 1fr;
        }
        .support-contacts {
          grid-template-columns: 1fr;
        }
      }
      @media (max-width: 560px) {
        .support-page {
          padding: 116px 16px 32px;
        }
        .ticket-row {
          grid-template-columns: 1fr;
        }
        .quick-grid {
          grid-template-columns: 1fr;
        }
        .section-head h2 {
          font-size: 21px;
        }
      }

      /* ---- Ticket chat ---- */
      .ticket {
        cursor: pointer;
        transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
      }
      .ticket:hover {
        border-color: rgba(255, 255, 255, 0.2);
        background: var(--surface-2);
        transform: translateY(-2px);
      }
      .ticket-open {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 12px;
        color: var(--accent-strong);
        font-size: 12.5px;
        font-weight: 900;
      }
      .ticket-open svg {
        width: 14px;
        height: 14px;
      }
      .chat-modal {
        position: fixed;
        inset: 0;
        z-index: 80;
        display: grid;
        place-items: center;
        padding: 18px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease;
      }
      .chat-modal.open {
        opacity: 1;
        pointer-events: auto;
      }
      .chat-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.66);
      }
      .chat-card {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        width: min(560px, 100%);
        height: min(680px, calc(100vh - 36px));
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #1a1a1d;
        box-shadow: 0 26px 90px rgba(0, 0, 0, 0.55);
        transform: translateY(10px) scale(0.985);
        transition: transform 180ms ease;
      }
      .chat-modal.open .chat-card {
        transform: translateY(0) scale(1);
      }
      .chat-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 14px;
        padding: 18px 20px;
        border-bottom: 1px solid var(--line);
      }
      .chat-head-left {
        min-width: 0;
      }
      .chat-head h3 {
        margin: 0 0 6px;
        font-size: 17px;
        font-weight: 900;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .chat-head .meta {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--muted);
        font-size: 12.5px;
        font-weight: 700;
      }
      .chat-thread {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 20px;
        overflow-y: auto;
        scrollbar-width: none;
      }
      .chat-thread::-webkit-scrollbar {
        display: none;
      }
      .bubble {
        max-width: 82%;
        padding: 11px 14px;
        border-radius: 15px;
      }
      .bubble .who {
        display: block;
        margin-bottom: 5px;
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        opacity: 0.72;
      }
      .bubble p {
        margin: 0;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.55;
        white-space: pre-wrap;
      }
      .bubble time {
        display: block;
        margin-top: 6px;
        font-size: 11px;
        font-weight: 700;
        opacity: 0.6;
      }
      .bubble.user {
        align-self: flex-end;
        border-bottom-right-radius: 5px;
        color: #fff;
        background: var(--accent);
      }
      .bubble.admin {
        align-self: flex-start;
        border-bottom-left-radius: 5px;
        color: var(--ink);
        background: var(--surface-2);
      }
      .chat-typing {
        align-self: flex-start;
        display: flex;
        gap: 4px;
        padding: 12px 14px;
        border-radius: 15px;
        border-bottom-left-radius: 5px;
        background: var(--surface-2);
      }
      .chat-typing i {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--muted);
        animation: chatDot 1s infinite ease-in-out;
      }
      .chat-typing i:nth-child(2) {
        animation-delay: 0.15s;
      }
      .chat-typing i:nth-child(3) {
        animation-delay: 0.3s;
      }
      @keyframes chatDot {
        0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
        30% { opacity: 1; transform: translateY(-3px); }
      }
      .chat-reply {
        display: flex;
        align-items: flex-end;
        gap: 10px;
        padding: 14px 16px;
        border-top: 1px solid var(--line);
      }
      .chat-reply textarea {
        flex: 1;
        min-height: 46px;
        max-height: 140px;
        padding: 12px 14px;
        border: 1px solid var(--line);
        border-radius: 12px;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.5;
        font-family: inherit;
        background: var(--surface-2);
        outline: none;
        resize: none;
      }
      .chat-reply textarea:focus {
        border-color: var(--accent);
      }
      .chat-send {
        display: grid;
        place-items: center;
        width: 46px;
        height: 46px;
        flex: 0 0 auto;
        border: 1px solid transparent;
        border-radius: 12px;
        color: #fff;
        background: var(--accent);
      }
      .chat-send:hover {
        background: var(--accent-strong);
      }
      .chat-send:disabled {
        opacity: 0.4;
        cursor: not-allowed;
      }
      .chat-send svg {
        width: 19px;
        height: 19px;
      }
      .chat-closed-note {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 14px 16px;
        border-top: 1px solid var(--line);
        color: var(--muted);
        font-size: 13px;
        font-weight: 700;
        text-align: center;
      }
      .chat-reopen {
        min-height: 36px;
        padding: 0 14px;
        border: 1px solid var(--line);
        border-radius: 999px;
        color: var(--ink);
        background: var(--surface-2);
        font-size: 13px;
        font-weight: 800;
      }
      .chat-reopen:hover {
        background: var(--accent);
        color: #fff;
      }

.logo a, .logo a:visited { color: inherit; text-decoration: none; }
