/* ==========================================================================
   Mono Arcade — ön yüz teması
   Siyah-beyaz retro arcade / piksel estetiği. Harici font yok.
   ========================================================================== */

:root {
    --bg: #0a0a0a;
    --bg-2: #0e0e0e;
    --panel: #121212;
    --panel-2: #171717;
    --fg: #f2f2f2;
    --fg-dim: #a6a6a6;
    --fg-faint: #6b6b6b;
    --line: #2c2c2c;
    --line-soft: #1e1e1e;
    --danger: #ff6b6b;
    --ok: #9ef0a0;
    --warn: #f2d16b;
    --radius: 2px;
    --mono: "Courier New", ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, monospace;
    --speed: 160ms;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 50% -20%, #1b1b1b 0%, transparent 55%),
        var(--bg);
    color: var(--fg);
    font-family: var(--mono);
    font-size: 15px;
    line-height: 1.55;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img,
svg,
iframe {
    display: block;
    max-width: 100%;
}

a {
    color: var(--fg);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    text-decoration-style: dotted;
}

h1, h2, h3, h4 {
    margin: 0 0 .5em;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.15;
}

p {
    margin: 0 0 1em;
}

code {
    font-family: var(--mono);
    background: #1b1b1b;
    padding: .1em .35em;
    border-radius: var(--radius);
    font-size: .92em;
}

:focus-visible {
    outline: 2px solid var(--fg);
    outline-offset: 2px;
}

::selection {
    background: var(--fg);
    color: var(--bg);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 12px;
    z-index: 100;
    background: var(--fg);
    color: var(--bg);
    padding: 10px 16px;
    text-decoration: none;
    font-weight: 700;
}

.skip-link:focus {
    top: 12px;
}

.wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.muted {
    color: var(--fg-dim);
}

.small {
    font-size: 12px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--fg-dim);
}

.eyebrow a {
    color: var(--fg);
    text-decoration: none;
}

.lead {
    max-width: 62ch;
    color: var(--fg-dim);
    font-size: 16px;
}

/* ------------------------------------------------------------------ header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(10, 10, 10, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(6px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex: 0 0 auto;
}

.brand-mark {
    display: grid;
    grid-template-columns: repeat(2, 7px);
    gap: 2px;
}

.brand-mark i {
    display: block;
    width: 7px;
    height: 7px;
    background: var(--fg);
}

.brand-mark i:nth-child(2),
.brand-mark i:nth-child(3) {
    background: var(--fg-faint);
}

.brand-text {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .14em;
}

.brand-thin {
    color: var(--fg-dim);
    font-weight: 400;
    margin-left: 4px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: 8px;
    flex: 1 1 auto;
}

.site-nav > a,
.nav-group-toggle {
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--fg-dim);
    text-decoration: none;
    background: none;
    border: 0;
    padding: 6px 0;
    cursor: pointer;
    font-family: inherit;
}

.site-nav > a:hover,
.site-nav > a[aria-current="page"],
.nav-group-toggle:hover {
    color: var(--fg);
}

.nav-cta {
    border: 1px solid var(--fg) !important;
    color: var(--fg) !important;
    padding: 7px 12px !important;
}

.nav-cta:hover {
    background: var(--fg);
    color: var(--bg) !important;
}

.nav-user {
    font-size: 12px;
    color: var(--fg);
    border-left: 1px solid var(--line);
    padding-left: 14px;
}

.nav-logout,
.inline-form {
    display: inline-block;
    margin: 0;
}

.link-button {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--fg-dim);
    text-decoration: underline;
    cursor: pointer;
}

.link-button:hover {
    color: var(--fg);
}

.nav-group {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: -14px;
    min-width: 220px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--bg-2);
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .6);
    display: none;
}

.nav-group.is-open .nav-dropdown {
    display: block;
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--fg-dim);
}

.nav-dropdown a:hover {
    background: var(--fg);
    color: var(--bg);
}

.nav-dropdown .count {
    margin-left: auto;
    font-size: 10px;
    color: var(--fg-faint);
}

.nav-dropdown a:hover .count {
    color: var(--bg);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.search-mini {
    display: flex;
    border: 1px solid var(--line);
}

.search-mini input {
    width: 150px;
    background: transparent;
    border: 0;
    color: var(--fg);
    font: inherit;
    font-size: 12px;
    padding: 8px 10px;
}

.search-mini input::placeholder {
    color: var(--fg-faint);
}

.search-mini button {
    background: transparent;
    border: 0;
    border-left: 1px solid var(--line);
    color: var(--fg-dim);
    font-size: 15px;
    padding: 0 10px;
    cursor: pointer;
}

.search-mini button:hover {
    background: var(--fg);
    color: var(--bg);
}

.lang-switch {
    position: relative;
}

.lang-toggle {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--fg-dim);
    font: inherit;
    font-size: 11px;
    letter-spacing: .12em;
    padding: 8px 10px;
    cursor: pointer;
}

.lang-toggle:hover {
    color: var(--fg);
    border-color: var(--fg);
}

.lang-list {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 180px;
    max-height: min(60vh, 360px);
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--bg-2);
    border: 1px solid var(--line);
    display: none;
    z-index: 40;
}

.lang-switch.is-open .lang-list {
    display: block;
}

.lang-list a {
    display: block;
    padding: 8px 10px;
    font-size: 12px;
    text-decoration: none;
    color: var(--fg-dim);
}

.lang-list a:hover,
.lang-list a[aria-current="true"] {
    background: var(--fg);
    color: var(--bg);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--line);
    padding: 10px;
    cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--fg);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
    content: "";
    position: relative;
}

.nav-toggle-bars::before {
    top: -6px;
}

.nav-toggle-bars::after {
    top: 4px;
}

/* -------------------------------------------------------------------- hero */
.hero {
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 70%),
        repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, .025) 39px 40px);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    gap: 40px;
    align-items: center;
    padding-top: 64px;
    padding-bottom: 56px;
}

.hero-title {
    margin: 0 0 18px;
    font-size: clamp(2.4rem, 6.4vw, 4.6rem);
    line-height: .95;
    letter-spacing: -.03em;
}

.hero-lead {
    max-width: 54ch;
    color: var(--fg-dim);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 36px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    margin: 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.hero-stats dt {
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--fg-faint);
}

.hero-stats dd {
    margin: 2px 0 0;
    font-size: 28px;
    font-weight: 700;
}

.hero-art {
    justify-self: center;
    text-align: center;
    color: var(--fg);
}

.hero-art svg {
    width: min(240px, 46vw);
    filter: drop-shadow(0 0 22px rgba(255, 255, 255, .14));
    animation: cabinet-glow 5s ease-in-out infinite;
}

.hero-art-caption {
    margin-top: 16px;
    font-size: 10px;
    letter-spacing: .4em;
    color: var(--fg-faint);
    animation: blink 1.6s steps(1) infinite;
}

@keyframes cabinet-glow {
    50% { filter: drop-shadow(0 0 34px rgba(255, 255, 255, .22)); }
}

@keyframes blink {
    50% { opacity: .25; }
}

/* ----------------------------------------------------------------- sections */
.section {
    padding: 56px 0;
}

.section-alt {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.section-head h2 {
    margin: 0;
    font-size: 20px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.section-head p {
    margin: 6px 0 0;
    font-size: 13px;
}

.section-link {
    flex: 0 0 auto;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--fg-dim);
}

.section-link:hover {
    color: var(--fg);
}

/* -------------------------------------------------------------- game cards */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
}

.game-card {
    background: var(--panel);
    border: 1px solid var(--line);
    transition: border-color var(--speed), transform var(--speed);
    min-width: 0;
}

.game-card:hover,
.game-card:focus-within {
    border-color: var(--fg);
    transform: translateY(-2px);
}

.game-card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #070707;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.game-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.08);
    transition: transform 260ms ease, filter 260ms ease;
}

.game-card:hover .game-card-media img {
    transform: scale(1.04);
    filter: grayscale(1) contrast(1.2) brightness(1.08);
}

.cover-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        repeating-linear-gradient(45deg, #141414 0 10px, #0f0f0f 10px 20px);
}

.cover-glyph {
    display: none;
}

.cover-initial {
    position: absolute;
    font-size: clamp(42px, 9vw, 74px);
    font-weight: 700;
    color: rgba(242, 242, 242, .22);
    letter-spacing: -.04em;
    text-shadow: 0 0 24px rgba(255, 255, 255, .12);
}

.game-card-play {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 5px 9px;
    background: var(--fg);
    color: var(--bg);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity var(--speed), transform var(--speed);
}

.game-card:hover .game-card-play,
.game-card:focus-within .game-card-play {
    opacity: 1;
    transform: none;
}

.game-card-fav {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    background: rgba(10, 10, 10, .85);
    border: 1px solid var(--fg);
    font-size: 12px;
}

.game-card-body {
    padding: 12px 14px 14px;
}

.game-card-title {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.25;
}

.game-card-title a {
    text-decoration: none;
}

.game-card-title a:hover {
    text-decoration: underline;
}

.game-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 8px;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--fg-faint);
}

.game-card-meta a {
    color: var(--fg-dim);
    text-decoration: none;
}

.game-card-meta a:hover {
    color: var(--fg);
    text-decoration: underline;
}

.game-card-excerpt {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--fg-dim);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------------------------------------------------------------- category */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-tile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 18px 16px;
    border: 1px solid var(--line);
    background: var(--panel);
    text-decoration: none;
    transition: background var(--speed), color var(--speed), border-color var(--speed);
}

.category-tile:hover,
.category-tile:focus-visible {
    background: var(--fg);
    border-color: var(--fg);
    color: var(--bg);
}

.category-icon {
    font-size: 22px;
    line-height: 1;
}

.category-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.category-count {
    font-size: 11px;
    color: var(--fg-faint);
}

.category-tile:hover .category-count {
    color: #444;
}

/* ------------------------------------------------------------------- page */
.site-main {
    flex: 1 0 auto;
    padding-bottom: 72px;
}

.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-top: 46px;
    padding-bottom: 28px;
}

.page-head h1 {
    margin: 0 0 10px;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    letter-spacing: -.02em;
}

.page-head .eyebrow {
    margin-bottom: 10px;
}

.page-head .lead {
    margin-bottom: 0;
}

.page-head-category {
    align-items: flex-end;
}

/* ----------------------------------------------------------------- filters */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--line);
    background: var(--panel);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.field-grow {
    flex: 1 1 220px;
}

.field label {
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--fg-dim);
}

.field label .req {
    color: var(--danger);
}

input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="number"],
select,
textarea {
    width: 100%;
    background: #0c0c0c;
    color: var(--fg);
    border: 1px solid #383838;
    border-radius: var(--radius);
    padding: 10px 12px;
    font: inherit;
    font-size: 13px;
}

input::placeholder,
textarea::placeholder {
    color: #5c5c5c;
}

select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--fg-dim) 50%),
        linear-gradient(135deg, var(--fg-dim) 50%, transparent 50%);
    background-position:
        calc(100% - 16px) calc(50% - 2px),
        calc(100% - 11px) calc(50% - 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 32px;
}

input:hover,
select:hover,
textarea:hover {
    border-color: #555;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--fg);
    outline: none;
    box-shadow: 0 0 0 1px var(--fg);
}

textarea {
    resize: vertical;
    line-height: 1.5;
}

.filter-actions {
    display: flex;
    gap: 8px;
}

.result-count {
    margin: 0 0 18px;
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--fg-dim);
}

.sort-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.sort-inline label {
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--fg-dim);
}

.sort-inline select {
    width: auto;
    min-width: 170px;
}

/* ----------------------------------------------------------------- buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid var(--fg);
    background: transparent;
    color: var(--fg);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--speed), color var(--speed), border-color var(--speed);
    border-radius: var(--radius);
}

.btn:hover {
    background: var(--fg);
    color: var(--bg);
}

.btn-primary {
    background: var(--fg);
    color: var(--bg);
}

.btn-primary:hover {
    background: transparent;
    color: var(--fg);
}

.btn-ghost {
    border-color: var(--line);
    color: var(--fg-dim);
}

.btn-ghost:hover {
    border-color: var(--fg);
    background: var(--fg);
    color: var(--bg);
}

.btn-danger {
    border-color: #5a2a2a;
    color: var(--danger);
}

.btn-danger:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: #111;
}

.btn-sm {
    padding: 7px 10px;
    font-size: 10px;
    letter-spacing: .1em;
}

.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------- pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.page-list {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-list a,
.page-list .is-current {
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--fg-dim);
}

.page-list a:hover {
    border-color: var(--fg);
    color: var(--fg);
}

.page-list .is-current {
    background: var(--fg);
    border-color: var(--fg);
    color: var(--bg);
    font-weight: 700;
}

.page-gap {
    color: var(--fg-faint);
    padding: 0 2px;
}

.page-prev,
.page-next {
    text-decoration: none;
    color: var(--fg-dim);
}

.page-prev:hover,
.page-next:hover {
    color: var(--fg);
}

.is-disabled {
    color: #4a4a4a;
}

/* ------------------------------------------------------------- empty/flash */
.empty-state {
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 56px 20px;
    border: 1px dashed #333;
    text-align: center;
    color: var(--fg-dim);
}

.empty-state p {
    margin: 0;
}

.empty-glyph {
    margin: 0;
    font-size: 30px;
    letter-spacing: .2em;
    color: #3a3a3a;
}

.flash-stack {
    display: grid;
    gap: 8px;
    padding-top: 16px;
}

.flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--fg-dim);
    background: var(--panel);
    font-size: 13px;
}

.flash-success { border-left-color: var(--ok); }
.flash-error { border-left-color: var(--danger); }
.flash-info { border-left-color: var(--fg); }

.flash-close {
    background: none;
    border: 0;
    color: var(--fg-dim);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.flash-close:hover {
    color: var(--fg);
}

.flash.is-hiding {
    opacity: 0;
    transition: opacity 300ms;
}

.error-list {
    margin: 0;
    padding-left: 18px;
}

.error-list li + li {
    margin-top: 4px;
}

/* ------------------------------------------------------------------- game */
.breadcrumb {
    padding-top: 24px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--fg-faint);
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #3a3a3a;
}

.breadcrumb a {
    color: var(--fg-dim);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--fg);
}

.breadcrumb [aria-current="page"] {
    color: var(--fg);
}

.game-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
    padding-top: 22px;
}

.game-main {
    min-width: 0;
}

.game-stage {
    border: 1px solid var(--line);
    background: #000;
}

.game-frame-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #000;
}

/* İçe aktarılan tam sayfa HTML5 oyunları (ör. Galaga) kendi başlık/kontrol
   alanlarını da taşır. Yükseklik genişliğe göre ölçeklenir; aksi halde
   özellikle yatay telefonda alttaki sanal gamepad kırpılıyordu. */
.game-frame-wrap--tall {
    aspect-ratio: auto;
    height: 950px;
}

.game-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Tam ekranda site menüsü kaybolduğu için dönüş bağlantısı göster. */
.game-frame-home {
    display: none;
}

.game-frame-wrap:fullscreen .game-frame-home,
.game-frame-wrap:-webkit-full-screen .game-frame-home {
    position: absolute;
    z-index: 6;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .55);
    background: rgba(8, 8, 8, .88);
    color: #fff;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
}

.game-frame-wrap:fullscreen .game-frame-home:hover,
.game-frame-wrap:-webkit-full-screen .game-frame-home:hover {
    border-color: #fff;
    background: #111;
}

.game-loader {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 14px;
    background: #000;
    color: var(--fg-dim);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    z-index: 2;
    transition: opacity 300ms;
}

.game-loader.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-bars {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 22px;
}

.loader-bars i {
    width: 6px;
    background: var(--fg);
    animation: bars 1s ease-in-out infinite;
}

.loader-bars i:nth-child(1) { height: 8px; animation-delay: 0s; }
.loader-bars i:nth-child(2) { height: 16px; animation-delay: .1s; }
.loader-bars i:nth-child(3) { height: 22px; animation-delay: .2s; }
.loader-bars i:nth-child(4) { height: 14px; animation-delay: .3s; }
.loader-bars i:nth-child(5) { height: 6px; animation-delay: .4s; }

@keyframes bars {
    50% { transform: scaleY(.4); }
}

.game-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    border-top: 1px solid var(--line);
    background: var(--panel);
}

.game-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.download-note {
    margin: 6px 12px 0;
}

/* İndirme kilidi: oyun oynanmadan indirme bağlantısı gösterilmez. */
.download-gate {
    margin: 0;
    padding: 10px 12px 12px;
    border-top: 1px dashed var(--line);
    background: #080808;
}

.download-gate-hint {
    margin: 0;
    letter-spacing: .04em;
}

.download-gate-reward {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.download-gate-reward[hidden],
.download-gate-hint[hidden],
.download-note[hidden] {
    display: none;
}

.download-gate-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    font-size: 18px;
    line-height: 1;
    flex: 0 0 auto;
}

.download-gate-reward p {
    flex: 1 1 220px;
    margin: 0;
}

.download-gate[data-unlocked="1"] {
    border-top-style: solid;
}

.game-external {
    display: grid;
    place-items: center;
    gap: 8px;
    aspect-ratio: 16 / 10;
    padding: 32px;
    text-align: center;
}

.game-external h2 {
    margin: 0;
    font-size: 18px;
}

.score-status {
    min-height: 22px;
    margin: 10px 2px 0;
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--fg-dim);
}

.score-status.is-error {
    color: var(--danger);
}

.score-status.is-ok {
    color: var(--ok);
}

.game-intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    padding: 26px 0 18px;
}

.game-intro h1 {
    margin: 0 0 10px;
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}

.game-intro .lead {
    margin-bottom: 0;
    font-size: 15px;
}

.favorite-form {
    flex: 0 0 auto;
    margin-top: 4px;
}

.panel {
    padding: 20px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    background: var(--panel);
}

.panel-title {
    margin: 0 0 14px;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--fg-dim);
}

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

.panel-head .panel-title {
    margin: 0;
}

.prose {
    max-width: 70ch;
    color: var(--fg-dim);
    font-size: 14px;
    line-height: 1.7;
}

.controls {
    margin: 0;
    font-size: 13px;
    color: var(--fg-dim);
}

.detail-list {
    margin: 0;
}

.detail-list > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--line-soft);
}

.detail-list > div:last-child {
    border-bottom: 0;
}

.detail-list dt {
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fg-faint);
}

.detail-list dd {
    margin: 0;
    text-align: right;
    font-size: 12px;
    word-break: break-word;
}

.game-cover {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--line);
    margin-bottom: 18px;
    filter: grayscale(1) contrast(1.06);
}

.badge {
    display: inline-block;
    padding: 3px 7px;
    border: 1px solid var(--line);
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fg-dim);
    white-space: nowrap;
}

.badge-ok {
    border-color: #2f5a34;
    color: var(--ok);
}

.badge-warn {
    border-color: #5a4f2a;
    color: var(--warn);
}

.badge-muted {
    color: var(--fg-faint);
}

.badge-published {
    border-color: #2f5a34;
    color: var(--ok);
}

.badge-draft {
    border-color: #5a4f2a;
    color: var(--warn);
}

.badge-archived {
    color: var(--fg-faint);
}

/* ---------------------------------------------------------------- sc scores */
.table-scroll {
    width: 100%;
    overflow-x: auto;
}

.score-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.score-table th {
    padding: 8px;
    border-bottom: 1px solid var(--line);
    font-size: 9px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--fg-faint);
    text-align: left;
    font-weight: 400;
}

.score-table td {
    padding: 9px 8px;
    border-bottom: 1px solid var(--line-soft);
}

.score-table tr.is-me td {
    color: var(--fg);
    background: #191919;
}

.score-table .num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------- auth */
.auth-wrap {
    max-width: 470px;
    padding-top: 64px;
    padding-bottom: 64px;
}

.auth-card {
    padding: 30px;
    border: 1px solid var(--fg);
    background: var(--panel);
    box-shadow: 10px 10px 0 #000;
}

.auth-card h1 {
    margin: 0 0 8px;
    font-size: 26px;
    letter-spacing: -.01em;
}

.auth-card .muted {
    font-size: 13px;
}

.stack-form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.auth-alt {
    margin: 18px 0 0;
    font-size: 12px;
}

.search-page-form {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
}

.search-page-form input {
    flex: 1 1 auto;
}

/* ------------------------------------------------------------------- error */
.error-page {
    padding: 80px 20px 40px;
    text-align: center;
}

.error-code {
    margin: 0 0 8px;
    font-size: clamp(5rem, 20vw, 11rem);
    font-weight: 700;
    line-height: .8;
    letter-spacing: -.06em;
    color: transparent;
    -webkit-text-stroke: 2px #3a3a3a;
}

.error-page h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.error-page .lead {
    margin: 0 auto 26px;
}

.error-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.error-search {
    justify-content: center;
    max-width: 360px;
    margin: 34px auto 0;
}

/* ------------------------------------------------------------------ footer */
.site-footer {
    border-top: 1px solid var(--line);
    background: var(--bg-2);
    padding-top: 42px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
}

.footer-brand {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .16em;
}

.footer-brand span {
    color: var(--fg-dim);
    font-weight: 400;
}

.footer-title {
    margin: 0 0 12px;
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--fg-faint);
}

.footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 7px;
    font-size: 12px;
}

.footer-list a {
    color: var(--fg-dim);
    text-decoration: none;
}

.footer-list a:hover {
    color: var(--fg);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 22px;
    border-top: 1px solid var(--line-soft);
    font-size: 11px;
    color: var(--fg-faint);
}

/* -------------------------------------------------------------- responsive */
@media (max-width: 980px) {
    .site-nav {
        gap: 14px;
    }

    .search-mini input {
        width: 110px;
    }

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

    .game-side {
        display: grid;
        grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
        gap: 18px;
        align-items: start;
    }

    .game-side .game-cover {
        margin-bottom: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 820px) {
    .nav-toggle {
        display: inline-flex;
        order: 3;
    }

    .site-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 68px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 10px 20px 20px;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px rgba(0, 0, 0, .6);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav > a,
    .nav-group-toggle {
        padding: 12px 0;
        border-bottom: 1px solid var(--line-soft);
        font-size: 13px;
    }

    .nav-group {
        border-bottom: 1px solid var(--line-soft);
    }

    .nav-group-toggle {
        width: 100%;
        text-align: left;
        border-bottom: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-dropdown {
        position: static;
        border: 0;
        background: transparent;
        box-shadow: none;
        padding: 0 0 8px 10px;
    }

    .nav-user {
        border-left: 0;
        padding: 12px 0 6px;
    }

    .header-tools {
        margin-left: auto;
    }

    .search-mini {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding-top: 44px;
    }

    .hero-art {
        order: -1;
        justify-self: start;
    }

    .hero-art svg {
        width: 120px;
    }

    .hero-art-caption {
        display: none;
    }

    .game-side {
        grid-template-columns: 1fr;
    }

    .page-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 14px;
    }

    .wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-inner {
        min-height: 60px;
    }

    .site-nav {
        top: 60px;
    }

    .brand-text {
        font-size: 14px;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stats dd {
        font-size: 22px;
    }

    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .game-card-body {
        padding: 10px 11px 12px;
    }

    .game-card-title {
        font-size: 13px;
    }

    .game-card-excerpt {
        display: none;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-actions {
        flex-direction: column;
    }

    .filter-actions .btn {
        width: 100%;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .auth-card {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   ARCADE HALL — atari salonu katmanı
   CRT taraması, kabin çerçeveleri, kayan tabela, INSERT COIN detayları.
   ========================================================================== */

@font-face {
    font-family: 'Silkscreen';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/silkscreen-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Silkscreen';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/silkscreen-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Silkscreen';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/silkscreen-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Silkscreen';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/silkscreen-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --pixel: 'Silkscreen', 'Courier New', ui-monospace, monospace;
    --screen: #050505;
    --bezel: #242424;
    --glow: 0 0 16px rgba(255, 255, 255, .25);
}

@keyframes led {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: .3; }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes screen-flicker {
    0%, 96%, 100% { opacity: 1; }
    97% { opacity: .82; }
    98% { opacity: 1; }
    99% { opacity: .9; }
}

body {
    background:
        radial-gradient(ellipse 120% 70% at 50% -12%, #232323 0%, transparent 62%),
        repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, .018) 39px 40px),
        #080808;
    overflow-x: clip;
}

/* CRT: ince tarama çizgileri + köşe karartması */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 88;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 52%, rgba(0, 0, 0, .55) 100%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 89;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 4px);
    opacity: .55;
}

/* ---------------------------------------------------------------- header */
.site-header {
    background: linear-gradient(180deg, #151515 0%, #0a0a0a 100%);
    border-bottom: 2px solid #2c2c2c;
    box-shadow: 0 4px 0 #040404, 0 14px 34px rgba(0, 0, 0, .55);
}

.header-inner {
    min-height: 72px;
}

.brand-text {
    font-family: var(--pixel);
    font-size: 16px;
    letter-spacing: .02em;
    text-shadow: 0 0 16px rgba(255, 255, 255, .35);
}

.brand-thin {
    color: #8a8a8a;
    font-weight: 400;
}

.brand-mark {
    grid-template-columns: repeat(2, 8px);
    gap: 3px;
}

.brand-mark i {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 9px rgba(255, 255, 255, .35);
}

.brand-mark i:nth-child(1) {
    animation: led 2.4s steps(1) infinite;
}

.site-nav > a,
.nav-group-toggle {
    font-family: var(--pixel);
    font-size: 9px;
    letter-spacing: 0;
}

.site-nav > a:hover,
.nav-group-toggle:hover {
    text-shadow: var(--glow);
}

.nav-cta {
    border-width: 2px !important;
    box-shadow: 2px 2px 0 #000;
}

.nav-cta:hover {
    box-shadow: none;
}

.cabinet-credit {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 9px;
    border: 1px solid #2c2c2c;
    background: #0b0b0b;
    font-family: var(--pixel);
    font-size: 8px;
    letter-spacing: .06em;
    color: #7a7a7a;
    white-space: nowrap;
}

.cabinet-credit b {
    color: #f2f2f2;
    font-weight: 400;
    text-shadow: var(--glow);
}

/* --------------------------------------------------------------- ticker */
.marquee-bar {
    position: relative;
    overflow: hidden;
    background: #060606;
    border-bottom: 1px solid #242424;
}

.marquee-bar::before,
.marquee-bar::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    z-index: 2;
    pointer-events: none;
}

.marquee-bar::before {
    left: 0;
    background: linear-gradient(90deg, #060606, transparent);
}

.marquee-bar::after {
    right: 0;
    background: linear-gradient(270deg, #060606, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 36s linear infinite;
}

.marquee-bar:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track span {
    padding: 7px 24px;
    border-right: 1px solid #1c1c1c;
    font-family: var(--pixel);
    font-size: 8px;
    letter-spacing: .12em;
    color: #858585;
    white-space: nowrap;
}

.marquee-track span:nth-child(4n + 1) {
    color: #ededed;
    text-shadow: var(--glow);
}

/* ------------------------------------------------------------------ hero */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 100% at 50% 115%, #1b1b1b 0%, transparent 65%),
        #070707;
    border-bottom: 2px solid #222;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(90deg, transparent 0 59px, rgba(255, 255, 255, .04) 59px 60px),
        repeating-linear-gradient(0deg, transparent 0 59px, rgba(255, 255, 255, .028) 59px 60px);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 78%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 25%, #000 78%, transparent);
}

/* perspektif zemin ızgarası */
.hero::after {
    content: "";
    position: absolute;
    left: -20%;
    right: -20%;
    bottom: -10px;
    height: 150px;
    z-index: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 44px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 26px);
    transform: perspective(240px) rotateX(58deg);
    transform-origin: bottom center;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%);
    mask-image: linear-gradient(180deg, transparent, #000 70%);
    opacity: .7;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.cabinet-sign {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    padding: 8px 16px;
    border: 1px solid #3a3a3a;
    background: #0c0c0c;
    box-shadow: inset 0 0 26px rgba(255, 255, 255, .06), 0 0 24px rgba(255, 255, 255, .05);
    font-family: var(--pixel);
    font-size: 10px;
    letter-spacing: .24em;
    color: #ededed;
}

.cabinet-sign .led {
    width: 6px;
    height: 6px;
    background: #f2f2f2;
    box-shadow: 0 0 10px #fff;
    animation: led 1.6s steps(1) infinite;
}

.eyebrow {
    font-family: var(--pixel);
    font-size: 8px;
    letter-spacing: .16em;
}

.hero-title {
    font-family: var(--pixel);
    font-size: clamp(1.5rem, 4.4vw, 3rem);
    line-height: 1.25;
    letter-spacing: 0;
    text-shadow: 0 0 26px rgba(255, 255, 255, .22), 4px 4px 0 #000;
    animation: screen-flicker 7s steps(1) infinite;
    text-wrap: balance;
    overflow-wrap: break-word;
}

.hero-copy {
    min-width: 0;
}

.hero-lead {
    font-size: 15px;
}

.hero-art svg {
    filter: drop-shadow(0 0 26px rgba(255, 255, 255, .2));
}

.hero-art-caption {
    font-family: var(--pixel);
    font-size: 8px;
    letter-spacing: .3em;
}

.hero-stats dt {
    font-family: var(--pixel);
    font-size: 8px;
    letter-spacing: .1em;
    color: #8d8d8d;
}

.hero-stats dd {
    font-family: var(--pixel);
    font-size: 20px;
    text-shadow: var(--glow);
}

.coin-dot {
    display: inline-grid;
    place-items: center;
    width: 14px;
    height: 14px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 8px;
    line-height: 1;
}

.page-head h1 {
    font-family: var(--pixel);
    font-size: clamp(1.2rem, 3.2vw, 2.1rem);
    line-height: 1.35;
    letter-spacing: 0;
    text-shadow: 3px 3px 0 #000;
}

.page-head .lead {
    font-size: 15px;
}

.search-icon {
    display: block;
    position: relative;
    width: 9px;
    height: 9px;
    margin: 3px auto;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.search-icon::after {
    content: "";
    position: absolute;
    right: -4px;
    bottom: -3px;
    width: 5px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
    transform-origin: left center;
}

.footer-brand span {
    margin-left: 5px;
    color: #8a8a8a;
}

/* --------------------------------------------------------------- sections */
.section-head h2 {
    font-family: var(--pixel);
    font-size: 13px;
    letter-spacing: .02em;
}

.section-head h2::before {
    content: "▚ ";
    color: #5a5a5a;
}

.section-head p {
    font-size: 12px;
}

.section-link {
    font-family: var(--pixel);
    font-size: 8px;
    letter-spacing: .04em;
}

.section-alt {
    background:
        repeating-linear-gradient(0deg, #0d0d0d 0 2px, #0b0b0b 2px 4px);
    border-color: #222;
}

/* ------------------------------------------------------------ game cards */
.game-card {
    position: relative;
    border: 2px solid #232323;
    background: #0c0c0c;
    box-shadow: 0 0 0 1px #000, 0 10px 26px rgba(0, 0, 0, .45);
}

.game-card:hover,
.game-card:focus-within {
    border-color: #e8e8e8;
    box-shadow: 0 0 0 1px #000, 0 0 24px rgba(255, 255, 255, .13), 0 16px 34px rgba(0, 0, 0, .5);
}

.game-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 9px;
    border-bottom: 1px solid #222;
    background: linear-gradient(180deg, #171717, #0d0d0d);
    font-family: var(--pixel);
    font-size: 8px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #9a9a9a;
}

.game-card-top-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pixel-led {
    flex: 0 0 auto;
    width: 5px;
    height: 5px;
    background: #f2f2f2;
    box-shadow: 0 0 7px rgba(255, 255, 255, .7);
    animation: led 2.8s steps(1) infinite;
}

.game-card-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(125deg, rgba(255, 255, 255, .1), transparent 42%);
}

.game-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px);
    opacity: .5;
}

.game-card-play {
    z-index: 3;
    font-family: var(--pixel);
    font-size: 7px;
    box-shadow: 0 0 12px rgba(255, 255, 255, .35);
}

.game-card-fav {
    z-index: 3;
}

.game-card-new {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    padding: 3px 7px;
    background: var(--fg);
    color: var(--bg);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.game-card-title {
    font-family: var(--pixel);
    font-size: 9px;
    line-height: 1.55;
    letter-spacing: 0;
    text-transform: uppercase;
}

.game-card-meta {
    font-family: var(--pixel);
    font-size: 8px;
    letter-spacing: .02em;
    color: #8f8f8f;
}

.game-card-excerpt {
    font-size: 11px;
}

.game-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 9px;
    border-top: 1px solid #222;
    background: #090909;
    font-family: var(--pixel);
    font-size: 8px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #8d8d8d;
}

.play-led {
    color: #ededed;
    text-shadow: var(--glow);
    animation: led 2.2s steps(1) infinite;
}

/* ------------------------------------------------------------- categories */
.category-tile {
    border-width: 2px;
    box-shadow: 0 0 0 1px #000, 0 6px 18px rgba(0, 0, 0, .4);
    font-family: var(--pixel);
}

.category-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid #3a3a3a;
    border-radius: 50%;
    box-shadow: inset 0 0 14px rgba(255, 255, 255, .07);
    font-size: 17px;
}

.category-name {
    font-size: 9px;
    letter-spacing: .02em;
}

.category-count {
    font-family: var(--pixel);
    font-size: 7px;
}

.category-tile:hover .category-icon {
    border-color: #0a0a0a;
}

/* ---------------------------------------------------------------- buttons */
.btn {
    position: relative;
    font-family: var(--pixel);
    font-size: 9px;
    letter-spacing: .04em;
    border-width: 2px;
    box-shadow: 3px 3px 0 #000;
}

.btn:hover {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 #000;
}

.btn:active {
    transform: translate(3px, 3px);
    box-shadow: none;
}

.btn-primary {
    box-shadow: 3px 3px 0 #000, 0 0 20px rgba(255, 255, 255, .18);
}

.btn-ghost {
    border-color: #3a3a3a;
}

.btn-sm {
    font-size: 7px;
    padding: 8px 9px;
}

/* --------------------------------------------------------------- filters */
.field label {
    font-family: var(--pixel);
    font-size: 8px;
    letter-spacing: .06em;
    color: #9a9a9a;
}

.filter-bar {
    border-width: 2px;
    background: linear-gradient(180deg, #111, #0b0b0b);
    box-shadow: inset 0 0 0 1px #050505, 0 8px 20px rgba(0, 0, 0, .35);
}

.result-count {
    font-family: var(--pixel);
    font-size: 8px;
}

/* ------------------------------------------------------------- pagination */
.pagination,
.page-list a,
.page-list .is-current {
    font-family: var(--pixel);
}

.page-list a,
.page-list .is-current {
    box-shadow: 2px 2px 0 #000;
}

.page-list a:hover {
    box-shadow: none;
    transform: translate(2px, 2px);
}

/* ----------------------------------------------------------------- panels */
.panel {
    position: relative;
    border: 1px solid #2a2a2a;
    background:
        radial-gradient(circle at 9px 9px, #3a3a3a 1.6px, transparent 2.2px),
        radial-gradient(circle at calc(100% - 9px) 9px, #3a3a3a 1.6px, transparent 2.2px),
        radial-gradient(circle at 9px calc(100% - 9px), #3a3a3a 1.6px, transparent 2.2px),
        radial-gradient(circle at calc(100% - 9px) calc(100% - 9px), #3a3a3a 1.6px, transparent 2.2px),
        linear-gradient(180deg, #131313, #0c0c0c);
    box-shadow: inset 0 0 0 1px #050505, 0 10px 24px rgba(0, 0, 0, .35);
}

.panel-title {
    font-family: var(--pixel);
    font-size: 8px;
    letter-spacing: .08em;
}

.badge {
    font-family: var(--pixel);
    font-size: 8px;
    letter-spacing: .04em;
}

.flash {
    font-family: var(--pixel);
    font-size: 8px;
    letter-spacing: .02em;
}

/* -------------------------------------------------------------- game page */
.cabinet-hud {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 4px 9px;
    font-family: var(--pixel);
    font-size: 8px;
    letter-spacing: .06em;
    color: #8d8d8d;
}

.cabinet-hud b {
    color: #ededed;
    font-weight: 400;
    text-shadow: var(--glow);
}

.game-stage {
    padding: 10px;
    border: 2px solid #2a2a2a;
    background: #050505;
    box-shadow:
        0 0 0 6px #0a0a0a,
        0 0 0 7px #343434,
        0 24px 50px rgba(0, 0, 0, .65);
}

.game-frame-wrap {
    border: 1px solid #1e1e1e;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, .9);
}

.game-frame-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px);
    opacity: .45;
}

.game-toolbar {
    border-top: 1px solid #222;
    background: #0a0a0a;
}

.game-intro h1 {
    font-family: var(--pixel);
    font-size: clamp(1.3rem, 3vw, 2rem);
    line-height: 1.35;
    text-shadow: 3px 3px 0 #000;
}

.game-cover {
    border-width: 2px;
    box-shadow: 0 0 0 1px #000, 0 10px 24px rgba(0, 0, 0, .5);
}

.breadcrumb ol {
    font-family: var(--pixel);
    font-size: 8px;
    letter-spacing: .02em;
}

.detail-list dt {
    font-family: var(--pixel);
    font-size: 8px;
}

/* ---------------------------------------------------------- control deck */
.control-deck {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(14px, 3vw, 44px);
    padding: 16px 20px 18px;
    border: 2px solid #2b2b2b;
    border-radius: 6px;
    background:
        radial-gradient(circle at 10px 10px, #4a4a4a 1.6px, transparent 2.2px),
        radial-gradient(circle at calc(100% - 10px) 10px, #4a4a4a 1.6px, transparent 2.2px),
        radial-gradient(circle at 10px calc(100% - 10px), #4a4a4a 1.6px, transparent 2.2px),
        radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), #4a4a4a 1.6px, transparent 2.2px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 7px),
        linear-gradient(180deg, #1d1d1d 0%, #111 55%, #090909 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .09),
        inset 0 -10px 20px rgba(0, 0, 0, .65),
        0 12px 28px rgba(0, 0, 0, .45);
}

.deck-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.deck-label {
    font-family: var(--pixel);
    font-size: 7px;
    letter-spacing: .14em;
    color: #7d7d7d;
}

/* joystick */
.joystick {
    position: relative;
    display: block;
    width: 72px;
    height: 58px;
}

.joystick-base {
    position: absolute;
    left: 4px;
    bottom: 0;
    width: 64px;
    height: 24px;
    border: 2px solid #414141;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 22%, #3d3d3d, #0d0d0d 74%);
    box-shadow:
        inset 0 8px 14px rgba(0, 0, 0, .85),
        0 5px 10px rgba(0, 0, 0, .5);
}

.joystick-base::before {
    content: "";
    position: absolute;
    inset: 4px 9px;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, #080808 0 8deg, #191919 8deg 16deg);
    opacity: .75;
}

.joystick-shaft {
    position: absolute;
    left: 32px;
    bottom: 13px;
    width: 9px;
    height: 27px;
    border-radius: 3px;
    background: linear-gradient(90deg, #333, #ececec 35%, #9a9a9a 66%, #2c2c2c);
    transform: rotate(-9deg);
    transform-origin: bottom center;
    transition: transform 180ms ease;
    box-shadow: 0 3px 7px rgba(0, 0, 0, .55);
}

.joystick-ball {
    position: absolute;
    left: 23px;
    top: 0;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 28%, #fff, #cfcfcf 38%, #777 68%, #1f1f1f 100%);
    box-shadow:
        0 7px 14px rgba(0, 0, 0, .65),
        inset -3px -4px 8px rgba(0, 0, 0, .45),
        inset 2px 3px 6px rgba(255, 255, 255, .5);
    transition: transform 180ms ease;
}

.control-deck:hover .joystick-shaft {
    transform: rotate(6deg);
}

.control-deck:hover .joystick-ball {
    transform: translate(5px, -2px);
}

.deck-game .joystick {
    cursor: grab;
    touch-action: none;
}

.deck-game .joystick.is-active {
    cursor: grabbing;
}

.joystick.is-active .joystick-ball {
    transform: translate(var(--jx, 0px), var(--jy, 0px));
}

/* buttons */
.deck-btn-row {
    display: flex;
    align-items: center;
    gap: 9px;
}

.arcade-btn {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 2px solid #3a3a3a;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, #fff, #dcdcdc 42%, #9a9a9a 72%, #4f4f4f 100%);
    color: #0d0d0d;
    font-family: var(--pixel);
    font-size: 9px;
    cursor: pointer;
    box-shadow:
        0 4px 0 #383838,
        0 7px 12px rgba(0, 0, 0, .55),
        inset 0 2px 4px rgba(255, 255, 255, .7);
    transition: transform 90ms ease, box-shadow 90ms ease, filter 120ms ease;
}

.arcade-btn-b {
    background: radial-gradient(circle at 35% 28%, #efefef, #b4b4b4 45%, #666 78%, #2b2b2b 100%);
}

.arcade-btn-start {
    width: 58px;
    border-radius: 20px;
    font-size: 6px;
    letter-spacing: .04em;
}

.arcade-btn:hover {
    filter: brightness(1.06);
}

.arcade-btn:active,
.arcade-btn.is-pressed {
    transform: translateY(4px);
    box-shadow:
        0 0 0 #383838,
        0 2px 4px rgba(0, 0, 0, .5),
        inset 0 2px 4px rgba(255, 255, 255, .35);
}

/* coin slot */
.deck-coinbox {
    gap: 6px;
}

.coin-slot {
    position: relative;
    display: block;
    width: 19px;
    height: 32px;
    border: 2px solid #4b4b4b;
    border-radius: 4px;
    background: linear-gradient(180deg, #1c1c1c, #0a0a0a);
    box-shadow: inset 0 0 10px #000, 0 2px 4px rgba(0, 0, 0, .5);
}

.coin-slot::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 7px;
    transform: translateX(-50%);
    width: 4px;
    height: 16px;
    border: 1px solid #2f2f2f;
    border-radius: 1px;
    background: #000;
    box-shadow: 0 0 7px rgba(255, 255, 255, .16);
}

.deck-coin-text {
    font-family: var(--pixel);
    font-size: 6px;
    line-height: 1.5;
    letter-spacing: .06em;
    text-align: center;
    color: #8d8d8d;
}

/* hero (kabin altı) varyantı */
.deck-hero {
    width: max-content;
    max-width: 100%;
    margin: 16px auto 0;
    padding: 10px 14px;
    gap: 12px;
    border-width: 1px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 8px 18px rgba(0, 0, 0, .5);
}

.deck-hero .deck-label,
.deck-hero .deck-coinbox {
    display: none;
}

.deck-hero .joystick {
    width: 62px;
    height: 50px;
}

.deck-hero .joystick-base {
    left: 2px;
    width: 58px;
    height: 21px;
}

.deck-hero .joystick-base::before {
    inset: 3px 8px;
}

.deck-hero .joystick-shaft {
    left: 27px;
    bottom: 12px;
    height: 22px;
    width: 8px;
}

.deck-hero .joystick-ball {
    left: 19px;
    width: 22px;
    height: 22px;
}

.deck-hero .deck-btn-row {
    gap: 7px;
}

.deck-hero .arcade-btn {
    width: 29px;
    height: 29px;
    font-size: 8px;
}

.deck-hero .arcade-btn-start {
    width: 46px;
    font-size: 5px;
}

.deck-game {
    width: 100%;
    margin: 10px 0 0;
}

/* ------------------------------------------------------------ leaderboard */
.leaderboard th {
    font-family: var(--pixel);
    font-size: 8px;
    letter-spacing: .04em;
}

.leaderboard .num {
    font-family: var(--pixel);
    font-size: 9px;
}

.leaderboard tbody tr:nth-child(1) td {
    background: #1d1d1d;
    color: #fff;
}

.leaderboard tbody tr:nth-child(2) td {
    background: #161616;
}

.leaderboard tbody tr:nth-child(1) td:first-child::after {
    content: " ★";
    color: #fff;
}

.score-table tbody tr.is-me td {
    background: #262626;
    color: #fff;
    box-shadow: inset 2px 0 0 #f2f2f2;
}

.score-placeholder {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
}

.score-placeholder-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 8px 10px;
    border: 1px dashed #262626;
    font-family: var(--pixel);
    font-size: 8px;
    letter-spacing: .06em;
    color: #6f6f6f;
}

.score-placeholder-row span:nth-child(2) {
    overflow: hidden;
    white-space: nowrap;
    color: #3f3f3f;
}

/* ------------------------------------------------------------------- auth */
.auth-card {
    border-width: 2px;
    box-shadow:
        0 0 0 6px #080808,
        0 0 0 7px #2c2c2c,
        12px 12px 0 #000,
        0 0 44px rgba(255, 255, 255, .06);
}

.auth-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 6px;
    background: repeating-linear-gradient(90deg, #f2f2f2 0 6px, #2a2a2a 6px 12px);
    opacity: .45;
}

.auth-card {
    position: relative;
}

.auth-card h1 {
    font-family: var(--pixel);
    font-size: 16px;
    line-height: 1.5;
}

.auth-card .eyebrow {
    margin-bottom: 14px;
}

/* ----------------------------------------------------------------- footer */
.site-footer {
    border-top: 2px solid #222;
    background: linear-gradient(180deg, #0b0b0b, #050505);
}

.footer-brand {
    font-family: var(--pixel);
    font-size: 12px;
}

.footer-title {
    font-family: var(--pixel);
    font-size: 8px;
}

.footer-coin {
    font-family: var(--pixel);
    font-size: 8px;
    color: #a6a6a6;
    animation: led 2.6s steps(1) infinite;
}

/* ------------------------------------------------------------------ error */
.error-eyebrow {
    justify-content: center;
    font-size: 10px;
    letter-spacing: .4em;
}

.error-code {
    font-family: var(--pixel);
    -webkit-text-stroke: 1px #3a3a3a;
    text-shadow: 6px 6px 0 #000;
}

.error-page h1 {
    font-family: var(--pixel);
    font-size: clamp(1.1rem, 3vw, 1.7rem);
    line-height: 1.4;
}

/* ------------------------------------------------------------------ admin */
.admin-body {
    background: #080808;
}

.admin-brand .brand-text,
.auth-brand .brand-text {
    font-family: var(--pixel);
    font-size: 13px;
}

.admin-nav a {
    font-family: var(--pixel);
    font-size: 9px;
    letter-spacing: 0;
}

.admin-table th,
.admin-tabs a,
.stat-label,
.admin-head .eyebrow {
    font-family: var(--pixel);
}

.stat-value {
    font-family: var(--pixel);
    font-size: 20px;
}

.admin-table th {
    font-size: 7px;
}

.admin-tabs a {
    font-size: 8px;
}

.stat-label {
    font-size: 7px;
}

/* --------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
    .cabinet-credit {
        display: none;
    }
}

@media (max-width: 820px) {
    .header-inner {
        min-height: 70px;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .deck-hero {
        display: none;
    }

    .site-nav {
        top: 70px;
    }

    .site-nav > a,
    .nav-group-toggle {
        font-size: 11px;
    }

    .brand-text {
        font-size: 14px;
    }

    .marquee-track span {
        font-size: 7px;
        padding: 6px 16px;
    }
}

@media (max-width: 560px) {
    .header-inner {
        min-height: 62px;
    }

    .site-nav {
        top: 62px;
    }

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

    .hero-title {
        font-size: 1.15rem;
    }

    .hero-stats dd {
        font-size: 17px;
    }

    .game-card-top,
    .game-card-foot {
        font-size: 7px;
    }

    .game-card-title {
        font-size: 8px;
    }

    .btn {
        font-size: 8px;
    }

    .game-stage {
        padding: 6px;
        box-shadow:
            0 0 0 4px #0a0a0a,
            0 0 0 5px #343434,
            0 14px 30px rgba(0, 0, 0, .6);
    }

    .game-intro {
        flex-direction: column;
        gap: 14px;
    }

    .favorite-form {
        align-self: flex-start;
    }

    .deck-game {
        padding: 12px 14px 14px;
        gap: 10px;
    }

    .deck-game .arcade-btn {
        width: 31px;
        height: 31px;
    }

    .deck-game .arcade-btn-start {
        width: 50px;
    }
}

@media (max-width: 400px) {
    .deck-game .deck-label,
    .deck-game .deck-coinbox {
        display: none;
    }

    .deck-game .joystick {
        transform: scale(.92);
        transform-origin: bottom center;
    }
}

/* ------------------------------------------------- RTL desteği (ar, fa, he...) */
[dir="rtl"] .lang-list {
    right: auto;
    left: 0;
}

[dir="rtl"] .nav-toggle,
[dir="rtl"] .search-mini {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .nav-user {
    border-left: 0;
    border-right: 1px solid var(--line);
    padding-left: 0;
    padding-right: 14px;
}

[dir="rtl"] .brand {
    direction: ltr;
}

[dir="rtl"] .detail-list dd {
    text-align: left;
}

[dir="rtl"] .num,
[dir="rtl"] time {
    direction: ltr;
    unicode-bidi: embed;
}

[dir="rtl"] .marquee-track {
    animation-direction: reverse;
}

[dir="rtl"] .search-mini input {
    padding-right: 12px;
    padding-left: 34px;
}

[dir="rtl"] .search-mini button {
    right: auto;
    left: 0;
}

/* ------------------------------------------------------ admin önizleme çubuğu */
.preview-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.preview-bar form {
    margin: 0;
}

/* ------------------------------------------------------- oyun galerisi */
.game-gallery-panel {
    margin-top: 18px;
}

.game-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.game-gallery a {
    display: block;
    border: 1px solid var(--line);
    background: #0a0a0a;
}

.game-gallery img {
    display: block;
    width: 100%;
    height: auto;
    filter: grayscale(1) contrast(1.05);
}

.game-gallery a:hover img {
    filter: grayscale(1) contrast(1.15) brightness(1.08);
}

/* ------------------------------------------------------- hesap / geçmiş */
.account-page {
    padding-top: 28px;
}

.account-head {
    margin-bottom: 18px;
}

.account-head h1 {
    margin: 4px 0 8px;
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    margin: 0 0 18px;
}

.account-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: var(--panel);
}

.account-stat span {
    color: var(--fg-dim);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.account-stat strong {
    font-family: ui-monospace, monospace;
    font-size: 22px;
    font-weight: 400;
    color: var(--fg);
}

.account-table td:first-child {
    min-width: 180px;
}

@media (max-width: 640px) {
    .account-stat strong {
        font-size: 18px;
    }
}

/* ----------------------------------------------------------------- reklamlar */
.ad-strip {
    margin: 20px auto;
}

.ad-strip--header {
    margin-top: 22px;
}

.ad-strip--footer {
    margin-bottom: 24px;
}

.ad-strip--game {
    margin-top: 18px;
}

.ad-side {
    margin-bottom: 18px;
}

.ad-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.ad-slot > *,
.ad-slot img,
.ad-slot iframe,
.ad-slot ins {
    max-width: 100%;
}

.ad-slot--sidebar,
.ad-slot--game_bottom {
    align-items: stretch;
}

.ad-slot ins.adsbygoogle {
    display: block;
}

/* ------------------------------------------- en çok oynanan (sıralama) */
.chart-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--panel);
}

.chart-row {
    display: grid;
    grid-template-columns: 46px 76px minmax(0, 1fr) minmax(80px, 220px) 96px auto;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line-soft);
}

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

.chart-row:hover {
    background: var(--panel-2);
}

.chart-row.is-top {
    background: linear-gradient(90deg, rgba(255, 255, 255, .05), transparent 55%);
}

.chart-rank {
    font-family: var(--mono);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    text-align: right;
    color: var(--fg-faint);
    font-variant-numeric: tabular-nums;
}

.chart-row.is-top .chart-rank {
    color: var(--fg);
}

.chart-thumb {
    display: block;
    width: 76px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #000;
}

.chart-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
}

.chart-thumb .cover-fallback {
    height: 100%;
}

.chart-info {
    min-width: 0;
}

.chart-title {
    display: block;
    overflow: hidden;
    color: var(--fg);
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chart-title:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.chart-meta {
    margin: 2px 0 0;
}

.chart-bar {
    display: block;
    height: 6px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--line-soft);
}

.chart-bar > span {
    display: block;
    height: 100%;
    background: #f2f2f2;
}

.chart-plays {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.chart-plays small {
    display: block;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--fg-faint);
}

@media (max-width: 820px) {
    .chart-row {
        grid-template-columns: 34px 56px minmax(0, 1fr) auto;
        gap: 10px;
        padding: 8px 10px;
    }

    .chart-rank {
        font-size: 18px;
    }

    .chart-thumb {
        width: 56px;
    }

    .chart-bar,
    .chart-action {
        display: none;
    }
}

/* ------------------------------------------------------- bildirim formu */
.report-panel .report-details {
    margin-top: 10px;
}

.report-details > summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    list-style: none;
}

.report-details > summary::-webkit-details-marker {
    display: none;
}

.report-details[open] > summary {
    margin-bottom: 12px;
}

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

.report-form .field {
    margin: 0;
}

.report-code-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.report-code {
    display: inline-block;
    padding: 6px 12px;
    border: 1px dashed var(--fg-faint);
    background: #0c0c0c;
    color: var(--fg);
    font-family: var(--mono);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .35em;
    text-indent: .35em;
    user-select: none;
}

.report-code-row input {
    max-width: 140px;
    letter-spacing: .2em;
}

.report-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.report-privacy {
    margin: 4px 0 0;
}
/* --------------------------------------------------- skor tablolari */
.hero-board {
    margin: 0 0 24px;
    border: 1px solid #3a3a3a;
    background: rgba(8, 8, 8, .78);
    box-shadow: inset 0 0 40px rgba(255, 255, 255, .03);
}

.hero-board-head {
    padding: 10px 14px;
    border-bottom: 1px solid #262626;
}

.hero-board-head .eyebrow {
    margin: 0 0 2px;
}

.hero-board-sub {
    margin: 0;
}

.hero-board-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-board-row {
    display: grid;
    grid-template-columns: 34px minmax(0, .8fr) minmax(0, 1.4fr) auto;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border-bottom: 1px solid #1b1b1b;
    font-family: var(--mono);
    font-size: 12px;
}

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

.hero-board-row.is-top {
    background: rgba(255, 255, 255, .05);
}

.hero-board-rank {
    font-weight: 700;
    color: var(--fg-faint);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.hero-board-row.is-top .hero-board-rank {
    color: var(--fg);
}

.hero-board-player {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.hero-board-game {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--fg-dim);
    text-decoration: none;
}

.hero-board-game:hover {
    color: var(--fg);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-board-score {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.hero-board-empty {
    margin: 0;
    padding: 14px;
}

.side-board-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.side-board-row {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 12px;
}

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

.side-board-rank {
    color: var(--fg-faint);
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.side-board-row.is-top .side-board-rank,
.side-board-row.is-top .side-board-score {
    color: var(--fg);
    font-weight: 700;
}

.side-board-player {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.side-board-score {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.side-board-date {
    min-width: 52px;
    text-align: right;
}

@media (max-width: 640px) {
    .hero-board-row {
        grid-template-columns: 26px minmax(0, 1fr) auto;
        font-size: 11px;
        padding: 6px 10px;
    }

    .hero-board-game {
        display: none;
    }
}
.section-categories {
    padding: 40px 0 36px;
}

.section-categories .category-tile {
    padding: 14px 12px;
}

.section-categories .category-icon {
    font-size: 18px;
}