@font-face { font-family: "Figtree"; src: url("/assets/data/webfonts/Figtree-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
    @font-face { font-family: "Figtree"; src: url("/assets/data/webfonts/Figtree-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
    @font-face { font-family: "Figtree"; src: url("/assets/data/webfonts/Figtree-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
    @font-face { font-family: "Figtree"; src: url("/assets/data/webfonts/Figtree-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
    :root {
      --bg: #000; --bar: #000; --bar-2: #262626; --panel: #111; --panel-2: #171717; --text: #fff; --text-2: #c8c8c8; --text-3: #8b8b8b;
      --accent: var(--accent); --accent-2: #06b6d4; --accent-soft: rgba(var(--accent-rgb), .12); --accent-border: rgba(var(--accent-rgb), .35); --accent-rgb: 34,211,238; --accent-active: rgba(34,211,238,.09); --accent-hover: rgba(var(--accent-rgb),.15); --accent-active-hover: rgba(34,211,238,.18); --accent-active-border: rgba(34,211,238,.45); --accent-shadow: rgba(34,211,238,.25);
      --border: rgba(255, 255, 255, .11); --border-2: rgba(255, 255, 255, .18);
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    html, body { width: 100%; min-height: 100%; background: var(--bg); color: var(--text); font-family: "Figtree", system-ui, sans-serif; }
    body { min-height: 100vh; overflow-x: hidden; background: var(--bg); }
    a { color: inherit; text-decoration: none; }
    button, input, select { font: inherit; }
    .v5-loader { position: fixed; inset: 0; z-index: 9999; background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; transition: opacity .4s ease, visibility .4s ease; }
    .v5-loader.v5-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
    .v5-spinner { width: 56px; height: 56px; border: 3px solid rgba(255,255,255,.12); border-top-color: var(--accent); border-radius: 50%; animation: v5spin 0.85s linear infinite; box-shadow: 0 0 24px rgba(var(--accent-rgb),.15); }
    .v5-loader span { color: var(--text-2); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    @keyframes v5spin { to { transform: rotate(360deg); } }
    .v5-btn { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid rgba(255,255,255,.28); background: linear-gradient(90deg, var(--accent), var(--accent)) left center / 0 100% no-repeat; color: var(--text); cursor: pointer; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; transition: background-size .2s ease, color .2s ease, border-color .2s ease, opacity .14s ease; white-space: nowrap; border-radius: 0; }
    .v5-btn:hover, .v5-btn:focus-visible, .v5-btn:active { background-size: 100% 100%; color: #031114; border-color: var(--accent); }
    .v5-btn-primary { color: var(--accent); border-color: var(--accent); background: linear-gradient(90deg, var(--accent), var(--accent)) left center / 0 100% no-repeat; box-shadow: 0 0 20px rgba(var(--accent-rgb),.10); }
    .v5-btn-primary:hover, .v5-btn-primary:focus-visible, .v5-btn-primary:active { color: #031114; background-size: 100% 100%; border-color: var(--accent); }
    .v5-hero-shell { position: relative; width: 100%; height: min(540px, 40vw); min-height: 400px; overflow: hidden; background: #050505; transition: opacity .18s ease, visibility .18s ease; }
    .v5-hero-slide, .v5-hero-empty { position: absolute; inset: 0; background-size: cover; background-position: center; image-rendering: auto; opacity: 0; transition: opacity .5s ease; }
    .v5-hero-empty { opacity: 1; background: linear-gradient(90deg, rgba(0,0,0,.97) 0%, rgba(0,0,0,.82) 35%, rgba(0,0,0,.38) 65%, rgba(0,0,0,0) 100%), radial-gradient(circle at 76% 42%, rgba(var(--accent-rgb),.20), transparent 340px), #06090e; }
    .v5-hero-slide.v5-active { opacity: 1; }
    .v5-hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.82) 28%, rgba(0,0,0,.42) 55%, rgba(0,0,0,0) 82%), linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,0) 48%, rgba(0,0,0,.88) 100%); }
    .v5-hero-content { position: relative; z-index: 3; width: min(1260px, calc(100% - 44px)); height: 100%; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-bottom: 54px; }
    .v5-hero-title { max-width: 520px; color: #fff; font-size: clamp(40px, 5.8vw, 80px); line-height: .92; font-weight: 800; letter-spacing: -.065em; text-shadow: 0 2px 24px rgba(0,0,0,.6); }
    .v5-hero-tag { margin-top: 18px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
    .v5-hero-copy { max-width: 400px; margin-top: 12px; color: var(--text-2); font-size: 15px; line-height: 1.55; font-weight: 600; }
    .v5-hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
    .v5-hero-pool { position: absolute; bottom: 16px; z-index: 6; color: rgba(255,255,255,.42); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; left: 0; right: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: 0 calc((100vw - min(1260px, calc(100vw - 44px))) / 2 + 0px); }
    .v5-hero-arrow { position: absolute; top: 50%; z-index: 7; width: 46px; height: 72px; border: 0; background: rgba(0,0,0,.34); color: #fff; cursor: pointer; opacity: 0; transform: translateY(-50%); transition: opacity .15s ease, background .15s ease; font-size: 34px; line-height: 1; }
    .v5-hero-arrow:hover { background: rgba(0,0,0,.52); }
    .v5-hero-shell:hover .v5-hero-arrow { opacity: 1; }
    .v5-hero-prev { left: 18px; }
    .v5-hero-next { right: 18px; }
    .v5-hero-nav { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 7; display: flex; gap: 8px; align-items: center; }
    .v5-hero-nav button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.28); cursor: pointer; transition: background .2s ease, box-shadow .2s ease; }
    .v5-hero-nav button.v5-active { background: var(--accent); box-shadow: 0 0 10px rgba(var(--accent-rgb),.7); }
    .v5-page { width: min(1700px, calc(100% - 28px)); margin: 0 auto; padding: 34px 0 70px; transition: opacity .18s ease, visibility .18s ease; }
    .v5-library-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
    .v5-library-head h2 { color: var(--text); font-size: 26px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
    .v5-library-head p { margin-top: 8px; color: var(--text-2); font-size: 14px; font-weight: 600; }
    .v5-library-tools { display: flex; align-items: flex-end; justify-content: flex-end; gap: 18px; flex-wrap: wrap; margin-left: auto; }
    .v5-search-wrap { min-width: min(320px, 48vw); display: flex; align-items: center; gap: 9px; border-bottom: 1px solid rgba(255,255,255,.32); padding: 0 0 8px; color: rgba(255,255,255,.62); transition: border-color .16s ease, color .16s ease; }
    .v5-search-wrap:focus-within { border-color: var(--accent); color: var(--accent); }
    .v5-search-icon { width: 15px; height: 15px; flex: 0 0 15px; }
    .v5-search { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13px; font-weight: 700; }
    .v5-search::placeholder { color: rgba(255,255,255,.46); }
    .v5-dropdown-wrap { position: relative; display: flex; align-items: flex-end; }
    .v5-dropdown-btn { display: flex; align-items: center; gap: 6px; border: 0; border-bottom: 1px solid rgba(255,255,255,.32); outline: 0; background: transparent; color: var(--text); padding: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: border-color .16s ease, color .16s ease; }
    .v5-dropdown-btn:hover, .v5-dropdown-btn.open { border-color: var(--accent); color: var(--accent); }
    .v5-dropdown-btn svg { width: 11px; height: 11px; transition: transform .18s ease; }
    .v5-dropdown-btn.open svg { transform: rotate(180deg); }
    .v5-dropdown { position: absolute; top: calc(100% + 8px); right: 0; z-index: 999; min-width: 200px; background: #111; border: 1px solid rgba(255,255,255,.13); box-shadow: 0 16px 40px rgba(0,0,0,.7); display: none; flex-direction: column; max-height: 320px; overflow-y: auto; }
    .v5-dropdown.open { display: flex; }
    .v5-dropdown-option { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border: 0; background: transparent; color: var(--text); cursor: pointer; text-align: left; font-size: 13px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.06); transition: background .14s ease; }
    .v5-dropdown-option:last-child { border-bottom: 0; }
    .v5-dropdown-option:hover { background: rgba(255,255,255,.06); }
    .v5-dropdown-option.active { color: var(--accent); }
    .v5-dropdown-option .v5-check { color: var(--accent); font-size: 15px; }
    .v5-dropdown-option .v5-desc { font-size: 11px; font-weight: 600; color: var(--text-3); margin-top: 2px; }
    .v5-dropdown-option-inner { display: flex; flex-direction: column; }
    .v5-category-wrap { min-width: 170px; }
    .v5-quality-wrap { min-width: 140px; }
    .v5-game-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 16px; row-gap: 32px; align-items: start; }
    .v5-game-card { position: relative; min-height: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; cursor: pointer; outline: none; padding-bottom: 30px; }
    .v5-game-card:hover, .v5-game-card:focus-visible { z-index: 2; }
    .v5-game-bg { position: relative; width: 100%; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #171717, #06252d); background-size: cover; background-position: center; border-radius: 0; image-rendering: auto; box-shadow: 0 7px 16px rgba(0,0,0,.32); transition: box-shadow .16s ease; }
    .v5-game-card:hover .v5-game-bg, .v5-game-card:focus-visible .v5-game-bg { filter: brightness(.88); box-shadow: 0 9px 22px rgba(0,0,0,.46); }
    .v5-game-gradient { display: none; }
    .v5-game-name { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; min-height: 26px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; opacity: 0; transform: translateY(-2px); transition: opacity .14s ease, transform .14s ease; }
    .v5-game-card:hover .v5-game-name, .v5-game-card:focus-visible .v5-game-name, .v5-game-card.v5-expanded-card .v5-game-name { opacity: 1; transform: translateY(0); }
    .v5-game-name h3 { min-width: 0; max-width: 100%; color: rgba(255,255,255,.92); font-size: 13px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .v5-game-name span { display: none; }
    .v5-play-button { flex: 0 0 auto; min-height: 26px; min-width: 66px; padding: 0 10px; opacity: 0; pointer-events: none; font-size: 10px; border-radius: 0; box-shadow: none; }
    .v5-game-card:hover .v5-play-button, .v5-game-card:focus-visible .v5-play-button, .v5-game-card.v5-expanded-card .v5-play-button { opacity: 1; pointer-events: auto; }
    .v5-game-detail { grid-column: 1 / -1; position: relative; min-height: 390px; overflow: hidden; border: 1px solid var(--border); background: var(--panel); opacity: 0; transform: translateY(-8px); animation: detailIn .28s ease forwards; border-radius: 0; margin: 4px 0 0; }
    @keyframes detailIn { to { opacity: 1; transform: translateY(0); } }
    .v5-game-detail-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #151515, #06252d); background-size: cover; background-position: center right; filter: brightness(.82) saturate(1.04); }
    .v5-game-detail::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,8,12,.98) 0%, rgba(6,8,12,.94) 34%, rgba(6,8,12,.64) 52%, rgba(6,8,12,.18) 78%, rgba(6,8,12,.04) 100%), linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.72) 100%); pointer-events: none; }
    .v5-game-detail-content { position: relative; z-index: 2; min-height: 390px; display: flex; flex-direction: column; justify-content: flex-start; padding: 26px 32px; max-width: min(760px, 58%); opacity: 0; transform: translateY(6px); animation: detailContentIn .22s ease .05s forwards; }
    @keyframes detailContentIn { to { opacity: 1; transform: translateY(0); } }
    .v5-detail-close { position: absolute; right: 12px; top: 10px; z-index: 3; width: 34px; height: 34px; border: 0; background: transparent; color: rgba(255,255,255,.9); cursor: pointer; font-size: 30px; font-weight: 500; line-height: 30px; transition: color .14s ease; border-radius: 0; }
    .v5-detail-close:hover { color: var(--accent); }
    .v5-detail-head { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 18px; align-items: start; }
    .v5-detail-icon { width: 160px; height: 240px; object-fit: cover; border-radius: 0; border: 0; background: transparent; box-shadow: none; }
    .v5-detail-meta { min-width: 0; padding-top: 0; }
    .v5-game-detail h3 { color: var(--text); font-size: clamp(23px, 2vw, 31px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
    .v5-detail-tag { display: inline-flex; max-width: 100%; margin-top: 8px; color: rgba(255,255,255,.78); font-size: 10px; line-height: 1.35; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
    .v5-detail-actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
    .v5-detail-actions .v5-btn { min-height: 34px; padding: 0 16px; border-radius: 0; font-size: 10px; }
    .v5-detail-copy { max-width: 500px; margin-top: 16px; }
    .v5-game-detail p { max-width: 500px; margin-top: 0; color: rgba(255,255,255,.84); font-size: 13px; line-height: 1.5; font-weight: 600; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
    .v5-empty { grid-column: 1 / -1; padding: 28px 0; border: 0; background: transparent; color: var(--text-2); text-align: center; font-size: 14px; font-weight: 700; border-radius: 0; }
    .v5-modal-back { position: fixed; inset: 0; z-index: 200; background: rgba(2,6,13,.66); display: flex; align-items: center; justify-content: center; padding: 24px; }
    .v5-modal { width: min(560px, 100%); border: 1px solid #2a323d; background: #1b2129; box-shadow: 0 24px 64px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.4); padding: 22px 24px 20px; color: #e6e8eb; border-radius: 12px; }
    .v5-modal h2 { margin: 0 0 8px; color: #f8fafc; font-size: 17px; font-weight: 800; }
    .v5-modal p { margin: 0; color: #cbd5e1; font-size: 14px; line-height: 1.5; }
    .v5-modal-actions { margin-top: 22px; display: flex; justify-content: flex-end; align-items: center; gap: 8px; flex-wrap: wrap; }
    .hidden { display: none !important; }
    .v5-hero-status { position: absolute; right: max(22px, calc((100vw - min(1260px, calc(100vw - 44px))) / 2)); top: 28px; z-index: 8; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; color: rgba(255,255,255,.78); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
    .v5-hero-status-row { display: flex; align-items: center; gap: 8px; text-shadow: 0 2px 12px rgba(0,0,0,.8); }
    .v5-status-mark { display: inline-flex; align-items: center; justify-content: center; width: auto; height: auto; font-size: 15px; line-height: 1; border-radius: 0; box-shadow: none; text-shadow: 0 0 8px currentColor; }
    .v5-status-ok { color: #35ff7f; }
    .v5-status-bad { color: #ff3b5c; }
    * { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
    ::-webkit-scrollbar { width: 6px; height: 6px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: rgba(255,255,255,.16); border-radius: 999px; }
    ::-webkit-scrollbar-thumb:hover { background: rgba(var(--accent-rgb),.42); }
    @media (max-width: 1280px) { .v5-game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
    @media (max-width: 1100px) { .v5-game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
    @media (max-width: 900px) {
      .v5-hero-shell { height: 470px; }
      .v5-hero-content, .v5-page { width: calc(100% - 28px); }
      .v5-hero-title { font-size: 44px; }
      .v5-hero-copy { font-size: 14px; }
      .v5-hero-pool { padding: 0 14px; }
      .v5-library-head { align-items: flex-start; flex-direction: column; }
      .v5-library-tools { width: 100%; justify-content: space-between; }
      .v5-game-detail-content { max-width: 66%; }
      .v5-game-grid { grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); column-gap: 14px; row-gap: 32px; }
      .v5-detail-head { grid-template-columns: 130px minmax(0, 1fr); gap: 14px; }
      .v5-detail-icon { width: 130px; height: 195px; }
    }
    @media (max-width: 560px) {
      .v5-hero-shell { min-height: 420px; }
      .v5-hero-actions .v5-btn, .v5-detail-actions .v5-btn { width: 100%; }
      .v5-hero-arrow { display: none; }
      .v5-game-grid { grid-template-columns: 1fr; gap: 12px; }
      .v5-library-tools { gap: 14px; }
      .v5-search-wrap { width: 100%; min-width: 0; }
      .v5-game-card { padding-bottom: 28px; }
      .v5-game-name h3 { font-size: 13px; }
      .v5-hero-status { right: 14px; top: 18px; font-size: 10px; }
      .v5-game-detail, .v5-game-detail-content { min-height: 390px; }
      .v5-game-detail-content { max-width: 100%; padding: 24px 18px; }
      .v5-game-detail::after { background: linear-gradient(90deg, rgba(6,8,12,.98) 0%, rgba(6,8,12,.88) 68%, rgba(6,8,12,.42) 100%), linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.84) 100%); }
      .v5-detail-head { grid-template-columns: 105px minmax(0, 1fr); gap: 12px; }
      .v5-detail-icon { width: 105px; height: 158px; border-radius: 0; }
      .v5-game-detail p { font-size: 12px; }
      .v5-dropdown { right: auto; left: 0; }
    }