.game-blocks.grid-view { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 16px; }
.game-blocks.list-view { display: flex; flex-direction: column; gap: 8px; }
.game-blocks .block { display: flex; flex-direction: column; background: var(--af-surface); border: 1px solid var(--af-border); border-radius: 3px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease; color: var(--af-text); text-decoration: none !important; }
.game-blocks .block:hover { transform: translateY(-2px); box-shadow: 0 5px 14px rgba(0,0,0,0.14); border-color: var(--af-accent); }
.game-blocks .block .image { position: relative; aspect-ratio: 16/9; background: #141419; overflow: hidden; }
.game-blocks .block .image img { width: 100%; height: 100%; object-fit: cover; }
.game-blocks .block .image.is-portrait::before { content: ""; position: absolute; inset: -12px; background-image: var(--gog-bg); background-size: cover; background-position: center; filter: blur(14px) brightness(0.48); z-index: 0; }
.game-blocks .block .image.is-portrait img { position: relative; z-index: 1; object-fit: contain; }
.game-blocks.list-view .block { flex-direction: row; align-items: center; min-height: 64px; }
.game-blocks.list-view .block .image { width: 128px; flex-shrink: 0; }
.game-blocks.list-view .block .info { flex: 1; border-bottom: 0; padding: 8px 14px; }
.game-blocks.list-view .block .date { padding: 8px 14px; white-space: nowrap; }
.game-blocks .block .info { display: flex; align-items: center; gap: 6px; padding: 10px 12px 6px; flex-wrap: wrap; }
.game-blocks .block .info .title { font-weight: 600; font-size: 14px; color: var(--af-text); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { display: inline-block; padding: 2px 6px; font-size: 10px; font-weight: 700; border-radius: 2px; text-transform: uppercase; letter-spacing: .03em; color: #fff; }
.tag.new { background: #289448; }
.tag.updated { background: #2b6cb0; }
.tag.dlc { background: #6a4da5; }
.game-blocks .block .date { padding: 0 12px 10px; font-size: 12px; color: var(--af-muted); }
.game-blocks .block .date span { color: var(--af-text); font-weight: 500; }
#game-details { background: var(--af-surface); border: 1px solid var(--af-border); border-radius: 4px; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.gog-detail-top { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 22px; align-items: start; padding-bottom: 20px; border-bottom: 1px solid var(--af-border); }
.gog-detail-cover { position: relative; border-radius: 4px; overflow: hidden; background: #141419; border: 1px solid var(--af-border); aspect-ratio: 16/9; }
.gog-detail-cover img { width: 100%; height: 100%; object-fit: contain; }
.gog-detail-meta h1.entry-title { margin: 0 0 8px; font-size: 24px; font-weight: 700; color: var(--af-text); line-height: 1.25; }
.gog-subinfo { font-size: 13.5px; color: var(--af-muted); margin-bottom: 12px; }
.gog-btn-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.gog-items-links-block { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 20px; margin-top: 20px; }
.gog-items-group { border: 1px solid var(--af-border); border-radius: 3px; background: var(--af-bg); overflow: hidden; }
.gog-items-group__title { font-weight: 700; font-size: 13.5px; padding: 11px 14px; background: var(--af-surface-2); border-bottom: 1px solid var(--af-border); display: flex; justify-content: space-between; align-items: center; }
.gog-expand { border-bottom: 1px solid var(--af-border); }
.gog-expand:last-child { border-bottom: 0; }
.gog-expand summary { list-style: none; cursor: pointer; padding: 11px 14px; font-weight: 600; font-size: 13.5px; display: flex; align-items: center; justify-content: space-between; background: var(--af-surface); }
.gog-expand summary::-webkit-details-marker { display: none; }
.gog-expand summary:hover { background: var(--af-surface-2); }
.gog-expand__body { padding: 12px 14px; background: var(--af-bg); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.gog-changelog-box { margin-top: 20px; padding: 16px 18px; background: var(--af-bg); border: 1px solid var(--af-border); border-radius: 3px; }
.gog-changelog-box h2 { font-size: 16px; margin: 0 0 10px; }
.gog-related-wrap { margin-top: 28px; }
.gog-related-wrap h2 { font-size: 18px; margin: 0 0 14px; font-weight: 600; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 26px; }
.navigation.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 11px; border-radius: 3px; background: var(--af-surface); border: 1px solid var(--af-border); color: var(--af-text); font-weight: 600; font-size: 13px; }
.navigation.pagination .page-numbers.current { background: #6a4da5; border-color: #6a4da5; color: #fff; }
.gog-footer { border-top: 1px solid var(--af-border); background: var(--af-surface); padding: 22px 0; font-size: 12.5px; color: var(--af-muted); }
.gog-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.gog-footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 768px) { .gog-detail-top { grid-template-columns: 1fr; } }