/* VIBO.LT — light arcade interface, 2026 */
:root {
    --accent: #6548f4;
    --accent-dk: #4932cf;
    --accent-sh: #3924b5;
    --accent-soft: #f0edff;
    --ink: #11142f;
    --text: #171a36;
    --muted: #6e7186;
    --line: #e8e9f1;
    --line-hi: #dfe1ec;
    --panel: #ffffff;
    --inset: #f6f7fb;
    --green: #38a957;
    --amber: #e49b16;
    --red: #df4858;
    --hot: #7557ff;
    --font-pixel: "Press Start 2P", monospace;
    --font-screen: "IBM Plex Mono", monospace;
    --font-sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --shadow-soft: 0 12px 32px rgba(31, 34, 71, .07);
    --shadow-card: 0 5px 16px rgba(30, 32, 65, .06);
    --shadow-float: 0 18px 45px rgba(35, 28, 93, .16);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 156px;
}

body {
    min-width: 320px;
    margin: 0;
    padding-bottom: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 4%, rgba(101, 72, 244, .06), transparent 27rem),
        radial-gradient(circle at 91% 42%, rgba(78, 225, 210, .055), transparent 30rem),
        #f8f9fc;
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

::selection {
    color: #fff;
    background: var(--accent);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    opacity: .28;
    background-image: radial-gradient(#c9cbe0 .7px, transparent .7px);
    background-size: 22px 22px;
    mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--accent);
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

img {
    max-width: 100%;
}

.vibo-backdrop {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.vibo-backdrop i {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(101, 72, 244, .08);
    filter: blur(90px);
}

.vibo-backdrop i:nth-child(1) {
    top: 12%;
    left: -160px;
}

.vibo-backdrop i:nth-child(2) {
    top: 55%;
    right: -160px;
    background: rgba(70, 221, 202, .08);
}

.vibo-backdrop i:nth-child(3) {
    bottom: -160px;
    left: 45%;
    background: rgba(255, 186, 67, .06);
}

.screen {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.container {
    width: min(1120px, calc(100% - 40px));
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
}

.page {
    padding-top: 26px;
    padding-bottom: 72px;
}

.statusbar,
.ambient-layer,
.cursor-glow {
    display: none !important;
}

.page-progress {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 120;
    height: 3px;
    pointer-events: none;
}

.page-progress span {
    display: block;
    width: calc(var(--page-progress, 0) * 100%);
    height: 100%;
    background: linear-gradient(90deg, #4ee1d2, var(--accent), #c052ff);
    box-shadow: 0 0 12px rgba(101, 72, 244, .55);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border: 0;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 1px 0 rgba(17, 20, 47, .07), 0 12px 32px rgba(31, 34, 71, .04);
    backdrop-filter: blur(18px);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    padding: 10px 0;
}

.menu-toggle {
    display: inline-flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.menu-toggle:hover {
    transform: translateY(-2px);
    border-color: #c9c1ff;
    box-shadow: 0 10px 24px rgba(53, 43, 116, .14);
}

.menu-toggle span {
    width: 17px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    transition: transform .25s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    transform: translate(-50%, -50%);
}

.logo:hover {
    color: var(--ink);
}

.logo-mark {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 25px;
    margin-top: 5px;
    flex: 0 0 auto;
    border-radius: 5px 5px 8px 8px;
    background: linear-gradient(145deg, #7862ff, #4832dc);
    box-shadow:
        0 4px 0 #31219f,
        0 7px 14px rgba(80, 52, 219, .2);
    image-rendering: pixelated;
}

.logo-mark::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 6px;
    width: 4px;
    height: 7px;
    background: #5940ea;
    box-shadow: 19px 0 #5940ea;
}

.logo-mark::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 5px;
    width: 7px;
    height: 6px;
    border-radius: 0 0 2px 2px;
    background: #31219f;
    box-shadow: 18px 0 #31219f;
}

.pixel-eye {
    position: absolute;
    top: 8px;
    width: 5px;
    height: 7px;
    border-radius: 1px;
    background: #fff;
    box-shadow: 0 0 7px rgba(255, 255, 255, .72);
}

.pixel-eye--left {
    left: 8px;
}

.pixel-eye--right {
    right: 8px;
}

.logo-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-copy strong {
    font-family: var(--font-screen);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -1.2px;
}

.logo-copy strong span,
.footer-brand strong span {
    color: var(--accent);
}

.logo-copy small {
    margin-top: 5px;
    color: var(--accent);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 2.7px;
}

.header-actions {
    display: flex;
    min-width: 43px;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.nav-search {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-search-input {
    width: 0;
    height: 43px;
    padding: 0;
    opacity: 0;
    color: var(--text);
    border: 1px solid transparent;
    border-radius: 22px;
    outline: 0;
    background: #f5f5fa;
    transition: width .25s ease, padding .25s ease, opacity .2s ease, border-color .2s ease;
}

.nav-search--expanded .nav-search-input,
.nav-search:focus-within .nav-search-input {
    width: 220px;
    padding: 0 48px 0 16px;
    opacity: 1;
    border-color: var(--line);
}

.nav-search-btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: -43px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow-card);
    cursor: pointer;
}

.nav-search-btn span {
    position: relative;
    width: 14px;
    height: 14px;
    border: 2px solid var(--ink);
    border-radius: 50%;
}

.nav-search-btn span::after {
    content: "";
    position: absolute;
    right: -5px;
    bottom: -4px;
    width: 6px;
    height: 2px;
    border-radius: 4px;
    background: var(--ink);
    transform: rotate(45deg);
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-desktop > a {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    padding: 0 13px;
    color: var(--text);
    border: 0;
    border-radius: 12px;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
}

.nav-desktop > a:hover,
.nav-desktop > a.nav-active {
    color: var(--accent);
    background: var(--accent-soft);
}

.nav-login {
    color: var(--text);
}

.nav-desktop .btn {
    color: #fff;
    background: var(--accent);
}

.nav-user {
    gap: 7px;
}

.nav-user .avatar {
    width: 28px !important;
    height: 28px !important;
}

.nav-msgs {
    position: relative;
    font-size: 16px !important;
}

.nav-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    display: grid;
    min-width: 17px;
    height: 17px;
    place-items: center;
    padding: 0 3px;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 10px;
    background: var(--red);
    font-size: 8px;
}

.portal-nav {
    border-top: 1px solid #f0f0f5;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .78);
}

.portal-nav.portal-nav--hidden {
    display: none;
}

.portal-nav-inner {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    padding: 10px 0 12px;
}

.portal-nav-link {
    position: relative;
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #4d5067;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(36, 38, 69, .035);
    font-size: 11px;
    transition: transform .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.portal-nav-link:hover,
.portal-nav-link.nav-active {
    color: var(--accent);
    border-color: #a99aff;
    box-shadow: 0 8px 20px rgba(74, 54, 181, .11);
    transform: translateY(-2px);
}

.portal-nav-link.nav-active::after {
    content: "";
    position: absolute;
    right: 22px;
    bottom: -1px;
    left: 22px;
    height: 2px;
    background: var(--accent);
}

.portal-nav-ic {
    color: var(--accent);
    font-family: var(--font-screen);
    font-size: 20px;
    line-height: 1;
}

.portal-nav-link b {
    font-weight: 800;
}

.ticker {
    overflow: hidden;
    color: #fff;
    background: var(--ink);
    font-family: var(--font-screen);
    font-size: 11px;
    white-space: nowrap;
}

.ticker-track {
    display: inline-flex;
    min-width: 200%;
    padding: 6px 0;
    animation: tickerMove 28s linear infinite;
}

.ticker-track span {
    min-width: 50%;
    padding-right: 50px;
}

.announcement {
    width: min(1120px, calc(100% - 40px));
    margin: 16px auto 0;
    padding: 12px 18px;
    border: 1px solid #d9d1ff;
    border-radius: 13px;
    color: #4633b5;
    background: #f2efff;
    font-size: 13px;
    font-weight: 700;
}

/* Hero */
.arcade-hero {
    position: relative;
    min-height: 326px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 22px;
    background: #090b28;
    box-shadow: 0 18px 42px rgba(12, 14, 52, .2);
    isolation: isolate;
}

.arcade-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: inherit;
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .025);
}

.arcade-hero-art {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.015) translate(var(--hero-shift-x, 0), var(--hero-shift-y, 0));
    transition: transform .25s ease-out;
}

.arcade-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(4, 6, 27, .99) 0%, rgba(4, 6, 27, .89) 35%, rgba(4, 6, 27, .2) 64%, rgba(4, 6, 27, .02) 100%),
        linear-gradient(0deg, rgba(4, 6, 27, .3), transparent 55%);
}

.arcade-hero-copy {
    position: relative;
    z-index: 3;
    width: 51%;
    max-width: 545px;
    padding: 28px 0 23px 38px;
    color: #fff;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    margin-bottom: 10px;
    color: #bcfff7;
    border: 1px solid rgba(78, 225, 210, .3);
    border-radius: 99px;
    background: rgba(78, 225, 210, .08);
    font-family: var(--font-screen);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-chip i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ee1d2;
    box-shadow: 0 0 0 4px rgba(78, 225, 210, .12), 0 0 14px #4ee1d2;
    animation: signalPulse 1.6s ease-in-out infinite;
}

.hero-eyebrow {
    margin: 0 0 8px;
    color: #a89dff;
    font-family: var(--font-pixel);
    font-size: 8px;
    line-height: 1.7;
    letter-spacing: 1px;
}

.arcade-hero h1 {
    max-width: 530px;
    margin: 0;
    color: #fff;
    font-family: var(--font-sans);
    font-size: clamp(31px, 3.5vw, 43px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.02;
}

.arcade-hero h1 span {
    color: #a896ff;
}

.hero-sub {
    max-width: 465px;
    margin: 11px 0 0;
    color: rgba(255, 255, 255, .77);
    font-family: var(--font-sans);
    font-size: 13px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 17px;
}

.btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    box-shadow: none;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, #7557ff, #5a38ea);
    box-shadow: 0 9px 23px rgba(91, 56, 234, .28);
}

.btn-primary:hover {
    color: #fff;
    background: linear-gradient(135deg, #8065ff, #6543ef);
    box-shadow: 0 12px 27px rgba(91, 56, 234, .38);
}

.btn-secondary {
    color: var(--accent);
    border: 1px solid #dcd6ff;
    background: #fff;
}

.btn-danger {
    color: #fff;
    background: var(--red);
}

.btn-sm {
    min-height: 37px;
    padding: 0 14px;
    font-size: 10px;
}

.hero-cta {
    min-height: 47px;
    padding: 0 19px;
    font-size: 12px;
}

.hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .79);
    font-size: 11px;
    font-weight: 700;
}

.hero-secondary:hover {
    color: #fff;
}

.hero-secondary i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #48db8c;
    box-shadow: 0 0 10px rgba(72, 219, 140, .75);
}

.hero-metrics {
    display: flex;
    gap: 22px;
    margin-top: 16px;
    color: rgba(255, 255, 255, .5);
    font-family: var(--font-screen);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.hero-metrics span {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.hero-metrics b {
    color: #fff;
    font-size: 11px;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles i {
    position: absolute;
    bottom: -10px;
    left: var(--x);
    width: var(--size);
    height: var(--size);
    background: var(--particle-color);
    box-shadow: 0 0 8px var(--particle-color);
    opacity: 0;
    animation: pixelRise var(--duration) linear var(--delay) infinite;
}

/* News */
.news-banner {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    min-height: 58px;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    margin: 16px 0 28px;
    color: var(--text);
    border: 1px solid #e4e2f6;
    border-radius: 14px;
    background: linear-gradient(90deg, #f6f3ff, #fff 62%);
    box-shadow: var(--shadow-card);
}

.news-banner:hover {
    color: var(--text);
    border-color: #cfc7ff;
    box-shadow: 0 9px 24px rgba(52, 45, 108, .1);
    transform: translateY(-1px);
}

.news-signal {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    border-radius: 10px;
    background: var(--accent);
    box-shadow: 0 7px 15px rgba(101, 72, 244, .26);
}

.nb-label {
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.nb-copy {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nb-copy b {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nb-copy small {
    color: var(--muted);
    font-size: 10px;
    white-space: nowrap;
}

.nb-arrow {
    color: var(--accent);
    font-size: 19px;
    transition: transform .18s ease;
}

.news-banner:hover .nb-arrow {
    transform: translateX(3px);
}

/* Directory */
.game-directory {
    margin-top: 0;
    scroll-margin-top: 155px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0;
    margin: 0 0 14px;
    border: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--accent);
    border-radius: 11px;
    background: var(--accent-soft);
    font-family: var(--font-screen);
    font-size: 20px;
}

.section-kicker {
    display: block;
    margin-bottom: 2px;
    color: var(--accent);
    font-family: var(--font-screen);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .9px;
}

.section-head h1,
.section-head h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.section-count {
    color: var(--muted);
    font-family: var(--font-screen);
    font-size: 10px;
}

.section-count b {
    color: var(--ink);
}

.sort-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    margin: 0 0 12px;
    overflow-x: auto;
    border: 0;
    background: transparent;
    scrollbar-width: none;
}

.sort-bar::-webkit-scrollbar {
    display: none;
}

.sort-label {
    display: none;
}

.sort-opt {
    flex: 0 0 auto;
    padding: 8px 13px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 99px;
    background: #fff;
    font-size: 10px;
    font-weight: 700;
}

.sort-opt:hover,
.sort-opt--active {
    color: #fff;
    border-color: var(--accent);
    background: var(--accent);
}

.game-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.game-row {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--shadow-card);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.game-row:hover {
    border-color: #cec5ff;
    box-shadow: 0 11px 27px rgba(36, 30, 92, .11);
    transform: translateY(-2px);
}

.game-row-link {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) 72px 20px;
    min-height: 108px;
    align-items: center;
    gap: 20px;
    padding: 8px 18px 8px 8px;
    color: var(--text);
}

.game-row-link:hover {
    color: var(--text);
}

.game-row-thumb {
    position: relative;
    display: block;
    width: 180px;
    height: 92px;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(135deg, #101338, #252869);
}

.game-row-thumb::after,
.rail-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 45%, rgba(255, 255, 255, .16), transparent 57%);
    transform: translateX(-120%);
    transition: transform .55s ease;
}

.game-row:hover .game-row-thumb::after,
.rail-card:hover .rail-thumb::after {
    transform: translateX(120%);
}

.game-row-thumb img,
.rail-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, filter .35s ease;
}

.game-row-thumb img,
.rail-thumb img {
    opacity: .86;
    mix-blend-mode: multiply;
    filter: contrast(1.08) saturate(.9);
}

.game-row:nth-child(4n + 1) .game-row-thumb,
.rail-grid li:nth-child(4n + 1) .rail-thumb {
    background: linear-gradient(135deg, #b8aaff, #6754e5);
}

.game-row:nth-child(4n + 2) .game-row-thumb,
.rail-grid li:nth-child(4n + 2) .rail-thumb {
    background: linear-gradient(135deg, #91e8df, #2fa8aa);
}

.game-row:nth-child(4n + 3) .game-row-thumb,
.rail-grid li:nth-child(4n + 3) .rail-thumb {
    background: linear-gradient(135deg, #ffd28a, #e48345);
}

.game-row:nth-child(4n + 4) .game-row-thumb,
.rail-grid li:nth-child(4n + 4) .rail-thumb {
    background: linear-gradient(135deg, #9ee2ac, #4a9d68);
}

.game-row:hover .game-row-thumb img,
.rail-card:hover .rail-thumb img {
    transform: scale(1.045);
}

.badge-new {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 2;
    padding: 4px 7px;
    color: #fff;
    border: 0;
    border-radius: 6px;
    background: #37ad59;
    box-shadow: 0 4px 10px rgba(27, 103, 49, .22);
    font-family: var(--font-screen);
    font-size: 8px;
    letter-spacing: .4px;
}

.no-img {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    color: rgba(255, 255, 255, .8);
    font-family: var(--font-screen);
    font-size: 10px;
    letter-spacing: 1px;
}

.no-img i {
    width: 15px;
    height: 11px;
    border-radius: 2px;
    background: var(--accent);
    box-shadow: 0 2px 0 #3621ad;
}

.game-row-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.game-row-copy > strong {
    overflow: hidden;
    color: var(--ink);
    font-size: 16px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-row-desc {
    display: -webkit-box;
    max-width: 620px;
    margin-top: 4px;
    overflow: hidden;
    color: var(--muted);
    font-size: 11px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.game-row-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 8px;
    color: #8b8da0;
    font-family: var(--font-screen);
    font-size: 9px;
}

.game-row-meta b {
    color: var(--amber);
}

.game-row-meta span + span {
    position: relative;
}

.game-row-meta span + span::before {
    content: "·";
    position: absolute;
    left: -9px;
}

.game-row-action {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.play-orb {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding-left: 3px;
    color: var(--accent);
    border: 1px solid #dfd9ff;
    border-radius: 50%;
    background: #f6f3ff;
    font-size: 12px;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.game-row:hover .play-orb {
    color: #fff;
    background: var(--accent);
    transform: scale(1.08);
}

.game-row-action small {
    color: var(--accent);
    font-family: var(--font-screen);
    font-size: 8px;
    font-weight: 700;
}

.game-chevron {
    color: var(--ink);
    font-family: var(--font-screen);
    font-size: 26px;
    transition: transform .18s ease;
}

.game-row:hover .game-chevron {
    color: var(--accent);
    transform: translateX(3px);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 20px;
}

.pagination--comments {
    margin-top: 13px;
}

.pagination a,
.pagination span {
    display: grid;
    min-width: 38px;
    height: 38px;
    place-items: center;
    padding: 0 12px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    font-family: var(--font-screen);
    font-size: 10px;
}

.pagination a:hover,
.pagination .current {
    color: #fff;
    border-color: var(--accent);
    background: var(--accent);
}

/* Game rails */
.game-rails {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 34px;
}

.game-rail {
    position: relative;
    overflow: hidden;
    padding: 18px 20px 20px;
    border: 1px solid transparent;
    border-radius: 18px;
}

.game-rail::after {
    content: "";
    position: absolute;
    top: -35px;
    right: -20px;
    width: 110px;
    height: 110px;
    opacity: .12;
    background:
        linear-gradient(currentColor 0 0) 28px 15px / 16px 16px no-repeat,
        linear-gradient(currentColor 0 0) 10px 34px / 54px 16px no-repeat,
        linear-gradient(currentColor 0 0) 0 52px / 75px 18px no-repeat,
        linear-gradient(currentColor 0 0) 12px 70px / 15px 15px no-repeat,
        linear-gradient(currentColor 0 0) 50px 70px / 15px 15px no-repeat;
    image-rendering: pixelated;
    transform: rotate(-5deg);
}

.game-rail--violet {
    color: #5a45de;
    border-color: #e4dfff;
    background: linear-gradient(110deg, #f3f0ff, #faf9ff);
}

.game-rail--mint {
    color: #29924a;
    border-color: #dcefe2;
    background: linear-gradient(110deg, #effaf2, #fbfdfb);
}

.game-rail--amber {
    color: #b47608;
    border-color: #f2e7d2;
    background: linear-gradient(110deg, #fff8eb, #fffdf8);
}

.rail-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 13px;
}

.rail-head h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: currentColor;
    font-size: 14px;
    font-weight: 800;
}

.rail-head h2 span {
    font-family: var(--font-screen);
    font-size: 18px;
}

.rail-head a {
    color: currentColor;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.rail-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.rail-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    color: var(--ink);
}

.rail-card:hover {
    color: var(--accent);
}

.rail-thumb {
    position: relative;
    display: block;
    aspect-ratio: 1.65 / 1;
    overflow: hidden;
    border-radius: 10px;
    background: #111536;
    box-shadow: 0 6px 13px rgba(20, 22, 47, .14);
}

.rail-rank {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    color: #fff;
    border-radius: 9px 0 9px 0;
    background: var(--accent);
    font-family: var(--font-screen);
    font-size: 10px;
}

.rail-card > strong {
    display: -webkit-box;
    min-height: 32px;
    margin-top: 8px;
    overflow: hidden;
    color: var(--ink);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rail-card > small {
    margin-top: 2px;
    color: currentColor;
    font-family: var(--font-screen);
    font-size: 8px;
}

/* Shared portal surfaces */
.panel,
.form-card,
.chat-wrap,
.profile-card,
.news-card,
.search-results,
.empty {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.panel {
    padding: 20px;
}

.form-card {
    max-width: 520px;
    padding: 24px;
    margin: 12px auto;
}

.form-card h1 {
    margin: 0 0 17px;
    font-size: 25px;
}

.form-group label {
    margin-bottom: 7px;
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 800;
}

.form-group input,
.form-group textarea,
.form-group select,
.chat-input,
.filter-input,
.filter-select {
    width: 100%;
    padding: 11px 13px;
    color: var(--text);
    border: 1px solid var(--line-hi);
    border-radius: 10px;
    outline: 0;
    background: #fafafe;
    font-family: var(--font-sans);
    font-size: 13px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.chat-input:focus,
.filter-input:focus,
.filter-select:focus {
    border-color: #a99aff;
    box-shadow: 0 0 0 4px rgba(101, 72, 244, .09);
}

.alert {
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid;
    border-radius: 11px;
    font-size: 13px;
}

.alert-success {
    color: #24723b;
    border-color: #bce3c8;
    background: #eefaf1;
}

.alert-error {
    color: #a52c3a;
    border-color: #f0c2c7;
    background: #fff1f3;
}

.game-detail {
    display: grid;
    grid-template-columns: minmax(260px, .75fr) minmax(0, 1.35fr);
    gap: 28px;
}

.game-detail .cover {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.game-detail .cover img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.game-info h1,
.is-inner .page h1 {
    color: var(--ink);
    font-family: var(--font-sans);
    font-weight: 800;
    letter-spacing: -.5px;
}

.game-desc {
    color: #4f5266;
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.75;
}

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

.card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--shadow-card);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.card:hover {
    border-color: #cfc7ff;
    box-shadow: 0 12px 27px rgba(39, 33, 93, .11);
    transform: translateY(-3px);
}

.card-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #101338;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 14px;
}

.card-title {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 800;
}

.card-desc {
    color: var(--muted);
    font-family: var(--font-sans);
    font-size: 11px;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 7px;
    color: var(--muted);
    font-family: var(--font-screen);
    font-size: 8px;
}

.table {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.table th {
    color: #5f6175;
    background: #f7f7fb;
    font-family: var(--font-sans);
    font-size: 9px;
}

.table td {
    font-family: var(--font-sans);
    font-size: 12px;
}

.muted,
.form-hint,
.form-foot {
    color: var(--muted);
}

.muted {
    font-size: 11px;
    line-height: 1.6;
}

.empty {
    padding: 30px 18px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.empty h1 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 34px;
}

.empty p {
    margin: 0 0 8px;
}

.empty .btn {
    margin-top: 7px;
}

/* Inner pages: one spacing and component system */
.is-inner .page {
    width: min(960px, calc(100% - 40px));
    padding-top: 22px;
    padding-bottom: 54px;
}

.is-inner .section-head {
    min-height: 38px;
    margin-bottom: 14px;
}

.is-inner .section-head h1,
.is-inner .section-head h2 {
    font-size: 21px;
}

.is-inner .section-head > .muted {
    margin: 0;
    font-family: var(--font-screen);
    font-size: 10px !important;
}

.panel {
    padding: 19px 20px;
    margin: 0 0 14px;
}

.panel h2 {
    margin: 0 0 13px;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.25px;
}

.panel > :last-child {
    margin-bottom: 0;
}

.panel > form {
    max-width: 680px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group textarea {
    min-height: 108px;
    resize: vertical;
}

.form-hint,
.field-error,
.form-foot {
    font-family: var(--font-sans);
    font-size: 10px;
    line-height: 1.55;
}

.field-error {
    margin-top: 5px;
    color: var(--red);
    font-weight: 700;
}

.form-foot {
    margin: 15px 0 0;
    text-align: center;
}

.btn-block {
    width: 100%;
}

.badge {
    display: inline-flex;
    min-height: 20px;
    align-items: center;
    padding: 0 7px;
    color: var(--accent);
    border: 1px solid #cec6ff;
    border-radius: 99px;
    background: var(--accent-soft);
    font-family: var(--font-screen);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-admin {
    color: #b23956;
    border-color: #f0c4cf;
    background: #fff1f4;
}

.badge-mod {
    color: #2c8250;
    border-color: #bfe3ce;
    background: #effaf4;
}

.avatar,
.avatar-ph {
    flex: 0 0 auto;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--line), 0 4px 12px rgba(28, 30, 62, .1);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    margin: 0 0 14px;
    color: #8a8d9f;
    font-family: var(--font-screen);
    font-size: 9px;
}

.breadcrumb a {
    color: var(--accent);
    font-weight: 700;
}

.breadcrumb span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Game detail */
.game-detail {
    grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    margin-bottom: 14px;
}

.cover-col {
    min-width: 0;
}

.game-detail .cover {
    border-radius: 15px;
}

.game-detail .cover img {
    display: block;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    margin-top: 8px;
}

.gallery-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1.4 / 1;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    cursor: pointer;
}

.gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(101, 72, 244, .16);
}

.game-info {
    padding: 3px 0;
}

.game-info h1 {
    margin: 0 0 10px;
    font-size: clamp(25px, 4vw, 34px);
    line-height: 1.1;
}

.game-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 13px;
    color: var(--muted);
    font-family: var(--font-screen);
    font-size: 9px;
}

.game-stats > span {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: #fff;
}

.stars {
    color: #d8d9e3;
    font-size: 13px;
    letter-spacing: 1px;
}

.stars .star.on {
    color: var(--amber);
}

.badge-ok {
    color: var(--green);
    font-weight: 800;
}

.game-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 15px;
}

.inline-form {
    display: inline-flex;
    margin: 0;
}

.btn-fav-on,
.btn-fav-off {
    min-width: 48px;
    color: var(--red);
    border: 1px solid #f0ccd2;
    background: #fff5f7;
}

.game-desc {
    margin: 0;
    color: #56596c;
    font-size: 13px;
    line-height: 1.72;
}

.rate-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 2px;
}

.rate-stars button {
    padding: 0 2px;
    color: #d4d5df;
    border: 0;
    background: none;
    font-size: 28px;
    cursor: pointer;
}

.rate-stars button:hover,
.rate-stars button:hover ~ button,
.rate-stars button.selected,
.rate-stars button.selected ~ button {
    color: var(--amber);
}

.rate-msg {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.comment {
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fafafe;
}

.comment-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 6px;
}

.comment-author {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
}

.comment-date {
    color: var(--muted);
    font-family: var(--font-screen);
    font-size: 8px;
}

.comment-body {
    margin: 0;
    color: #4f5265;
    font-size: 12px;
    line-height: 1.6;
}

.rel-games {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.rel-game a {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 2px 10px;
    min-height: 64px;
    align-items: center;
    padding: 7px;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fafafe;
}

.rel-game a:hover {
    color: var(--accent);
    border-color: #cec6ff;
}

.rel-thumb,
.rel-nothumb {
    grid-row: 1 / 3;
    width: 74px;
    height: 50px;
    overflow: hidden;
    border-radius: 7px;
    object-fit: cover;
    background: #111536;
}

.rel-nothumb {
    display: grid;
    place-items: center;
}

.rel-title {
    overflow: hidden;
    font-size: 10px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rel-stars .stars {
    font-size: 9px;
}

/* News and static content */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-item {
    position: relative;
    padding: 19px 21px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.news-date {
    display: inline-flex;
    padding: 4px 7px;
    color: var(--accent);
    border-radius: 99px;
    background: var(--accent-soft);
    font-family: var(--font-screen);
    font-size: 8px;
}

.news-title {
    margin: 9px 0 7px;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 800;
}

.news-body,
.static-page-body {
    color: #4e5164;
    font-family: var(--font-sans);
    font-size: 13px;
    line-height: 1.75;
}

.news-body p,
.static-page-body p {
    margin: 0 0 12px;
}

.news-author {
    margin-top: 10px;
    color: var(--muted);
    font-size: 10px;
}

.static-page {
    padding: 24px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.static-page-updated {
    margin: 17px 0 0;
    font-family: var(--font-screen);
    font-size: 8px;
}

.page-title {
    margin: 0 0 16px;
    font-size: 27px;
}

/* Leaderboard and online */
.leaderboard {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.lb-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    min-height: 68px;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.lb-row--top {
    border-color: #e5dcad;
    background: linear-gradient(90deg, #fffaf0, #fff);
}

.lb-row--me {
    border-color: #aa9bff;
    box-shadow: 0 0 0 3px rgba(101, 72, 244, .08);
}

.lb-rank {
    color: var(--accent);
    font-family: var(--font-screen);
    font-size: 17px;
    text-align: center;
}

.lb-user {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.lb-user-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.lb-name {
    overflow: hidden;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lb-sub {
    color: var(--muted);
    font-family: var(--font-screen);
    font-size: 8px;
}

.lb-stats {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
}

.lb-pts {
    color: var(--accent);
    font-family: var(--font-screen);
    font-size: 13px;
    font-weight: 800;
}

.lb-detail {
    color: var(--muted);
    font-size: 9px;
}

.online-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.online-list li {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fafafe;
}

.online-name {
    min-width: 0;
    overflow: hidden;
    color: var(--text);
    font-size: 11px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.online-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: auto;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #42bd68;
    box-shadow: 0 0 0 4px rgba(66, 189, 104, .1);
}

.online-guests {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0;
    margin: 8px 0 0;
    list-style: none;
}

.online-guest-note {
    margin: 0;
    font-size: 10px;
}

.online-guests li {
    padding: 7px 10px;
    color: #66697b;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: #fafafe;
    font-family: var(--font-screen);
    font-size: 8px;
}

.g-count {
    color: var(--accent);
}

.g-browser {
    color: #56596e;
}

/* Search and favorites */
.search-form-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    padding: 10px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.section-head--spaced {
    margin-top: 20px !important;
}

.search-input-main {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    color: var(--text);
    border: 1px solid var(--line-hi);
    border-radius: 10px;
    outline: 0;
    background: #f8f8fc;
    font-size: 13px;
}

.search-input-main:focus {
    border-color: #a99aff;
    box-shadow: 0 0 0 4px rgba(101, 72, 244, .09);
}

.search-hint {
    margin: 13px 0 0;
    font-size: 11px;
}

.user-search-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.user-search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.user-search-link {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.user-search-meta {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.user-search-name {
    overflow: hidden;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-search-pts {
    color: var(--accent);
    font-family: var(--font-screen);
    font-size: 8px;
}

/* Profiles */
.profile-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    margin: 0 0 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 90% 10%, rgba(101, 72, 244, .11), transparent 14rem),
        #fff;
    box-shadow: var(--shadow-card);
}

.profile-avatar .avatar,
.profile-avatar .avatar-ph {
    width: 82px !important;
    height: 82px !important;
}

.profile-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 4px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 800;
}

.profile-id .muted {
    margin: 0;
    font-size: 10px;
}

.profile-id .btn {
    margin-top: 9px;
}

.profile-reward-hint {
    margin: 12px 0 0;
}

.profile-settings-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.profile-settings-links .btn {
    margin: 0;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    padding: 0;
    margin: 0 0 14px;
    list-style: none;
}

.profile-stats li {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.ps-num {
    display: block;
    color: var(--accent);
    font-family: var(--font-screen);
    font-size: 17px;
    font-weight: 800;
}

.ps-lbl {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
}

.ps-coin {
    background: #fff9ee !important;
}

.ps-coin .ps-num {
    color: var(--amber);
}

.activity-list,
.fav-game-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.activity-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 12px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fafafe;
}

.activity-game {
    min-width: 0;
    overflow: hidden;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-date {
    color: var(--muted);
    font-family: var(--font-screen);
    font-size: 8px;
}

.activity-body {
    grid-column: 1 / -1;
    margin: 0;
    color: #5b5e70;
    font-size: 11px;
}

.fav-game-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
}

.fav-game-item a {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
    color: var(--text);
}

.fav-game-thumb,
.fav-game-nothumb {
    display: grid;
    width: 100%;
    aspect-ratio: 1.55 / 1;
    place-items: center;
    overflow: hidden;
    border-radius: 9px;
    object-fit: cover;
    background: #111536;
}

.fav-game-title {
    overflow: hidden;
    font-size: 9px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Inbox and private messages */
.chat-inbox {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-card);
}

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

.inbox-item {
    border-bottom: 1px solid var(--line);
}

.inbox-item:last-child {
    border-bottom: 0;
}

.inbox-item--unread {
    background: #f5f2ff;
}

.inbox-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    color: var(--text);
}

.inbox-link:hover {
    color: var(--text);
    background: #fafafe;
}

.inbox-av {
    position: relative;
}

.inbox-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    display: grid;
    min-width: 17px;
    height: 17px;
    place-items: center;
    padding: 0 3px;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 10px;
    background: var(--red);
    font-size: 7px;
}

.inbox-body {
    min-width: 0;
    flex: 1;
}

.inbox-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.inbox-name {
    overflow: hidden;
    color: var(--ink);
    font-size: 11px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inbox-time {
    color: var(--muted);
    font-family: var(--font-screen);
    font-size: 8px;
    white-space: nowrap;
}

.inbox-preview {
    overflow: hidden;
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-wrap {
    display: flex;
    height: min(620px, calc(100dvh - 230px));
    min-height: 460px;
    max-height: 620px;
    overflow: hidden;
    flex-direction: column;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.chat-header {
    display: flex;
    min-height: 62px;
    align-items: center;
    gap: 11px;
    padding: 8px 14px;
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, #6f53f7, #5033d7);
}

.chat-back {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    font-size: 19px;
}

.chat-user-info {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    gap: 9px;
    color: #fff;
}

.chat-user-meta {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.chat-user-name {
    overflow: hidden;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-user-status {
    color: rgba(255, 255, 255, .7);
    font-size: 8px;
}

.chat-messages {
    display: flex;
    flex: 1;
    overflow-y: auto;
    flex-direction: column;
    gap: 5px;
    padding: 13px;
    background:
        radial-gradient(circle, rgba(101, 72, 244, .065) 1px, transparent 1px) 0 0 / 16px 16px,
        #f8f8fc;
}

.chat-date-sep {
    display: flex;
    justify-content: center;
    margin: 7px 0 4px;
}

.chat-date-sep span {
    padding: 4px 8px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 99px;
    background: rgba(255, 255, 255, .9);
    font-family: var(--font-screen);
    font-size: 7px;
}

.chat-msg {
    display: flex;
    max-width: 76%;
    align-items: flex-end;
    gap: 6px;
}

.chat-msg--out {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-msg--in {
    align-self: flex-start;
}

.chat-bubble {
    max-width: 100%;
    padding: 8px 10px 6px;
    border-radius: 12px;
    box-shadow: none;
    word-break: break-word;
}

.chat-msg--out .chat-bubble {
    color: #fff;
    border: 0;
    border-bottom-right-radius: 3px;
    background: linear-gradient(135deg, #7155f8, #5a3ee0);
    box-shadow: 0 5px 13px rgba(82, 57, 205, .17);
}

.chat-msg--in .chat-bubble {
    color: var(--text);
    border: 1px solid var(--line);
    border-bottom-left-radius: 3px;
    background: #fff;
}

.chat-text {
    font-family: var(--font-sans);
    font-size: 11px;
    line-height: 1.5;
}

.chat-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 3px;
}

.chat-time,
.chat-tick {
    color: rgba(50, 52, 72, .45);
    font-family: var(--font-screen);
    font-size: 7px;
}

.chat-msg--out .chat-time,
.chat-msg--out .chat-tick {
    color: rgba(255, 255, 255, .62);
}

.chat-tick--read {
    color: #a8fff3 !important;
}

.chat-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 8px;
    padding: 9px 10px;
    border: 0;
    border-top: 1px solid var(--line);
    background: #fff;
}

.chat-input {
    min-height: 42px;
    max-height: 120px;
    padding: 10px 12px;
    resize: none;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8f8fc;
    font-size: 11px;
}

.chat-send {
    display: grid;
    width: 42px;
    min-height: 42px;
    place-items: center;
    padding: 0;
    color: #fff;
    border: 0;
    border-radius: 12px;
    background: var(--accent);
    box-shadow: 0 7px 16px rgba(82, 54, 213, .25);
    cursor: pointer;
}

.chat-alert {
    padding: 8px 12px;
    color: var(--red);
    border: 0;
    border-top: 1px solid #f1c5cb;
    background: #fff1f3;
    font-size: 10px;
}

.chat-empty {
    display: grid;
    flex: 1;
    min-height: 180px;
    place-items: center;
    padding: 20px;
    color: var(--muted);
    font-size: 11px;
    text-align: center;
}

.chat-msg-av,
.cb-av {
    flex: 0 0 auto;
    line-height: 0;
}

/* Public conversation board */
.chat-board {
    margin-top: 0;
}

.chat-summary {
    font-size: 9px !important;
}

.chat-compose {
    padding: 11px;
    margin: 0 0 10px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.chat-compose--main {
    margin-bottom: 12px;
}

.chat-compose-row {
    display: flex;
    gap: 8px;
}

.chat-compose-text {
    width: 100%;
    min-height: 42px;
    max-height: 180px;
    padding: 10px 12px;
    resize: none;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 10px;
    outline: 0;
    background: #f8f8fc;
    font-family: var(--font-sans);
    font-size: 11px;
}

.chat-compose-text:focus {
    border-color: #a99aff;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(101, 72, 244, .08);
}

.chat-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
}

.chat-tool {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    box-shadow: none;
    cursor: pointer;
}

.chat-char {
    margin-left: auto;
}

.chat-char,
.chat-img-name,
.chat-hint {
    color: var(--muted);
    font-size: 8px;
}

.chat-hint {
    margin: 6px 0 0;
}

.chat-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-thread {
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.cb-msg {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.cb-msg--reply {
    gap: 7px;
}

.cb-main {
    min-width: 0;
    flex: 1;
}

.cb-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.cb-name {
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
}

.chat-pin {
    font-size: 11px;
}

.chat-mention {
    color: var(--accent);
    font-weight: 800;
}

.cb-time,
.chat-edited {
    color: var(--muted);
    font-family: var(--font-screen);
    font-size: 7px;
}

.cb-body {
    margin-top: 3px;
    color: #4d5063;
    font-size: 11px;
    line-height: 1.58;
    overflow-wrap: anywhere;
}

.cb-msg--pinned {
    padding: 8px;
    border-radius: 9px;
    background: #fff9ed;
    box-shadow: inset 3px 0 0 var(--amber);
}

.cb-img-wrap {
    display: inline-block;
    margin-top: 6px;
}

.cb-img {
    display: block;
    max-width: min(100%, 300px);
    max-height: 260px;
    border: 1px solid var(--line);
    border-radius: 9px;
    box-shadow: none;
}

.cb-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 6px;
}

.chat-like,
.chat-act,
.cb-reply-btn {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0 8px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    font-family: var(--font-screen);
    font-size: 8px;
    cursor: pointer;
}

.cb-reply-btn {
    width: 28px;
    padding: 0;
    color: #fff;
    border-color: var(--accent);
    background: var(--accent);
}

.chat-like.is-liked {
    color: var(--red);
    border-color: #f0c1c8;
    background: #fff3f5;
}

.chat-like-ic {
    color: #c8cad8;
}

.chat-like.is-liked .chat-like-ic {
    color: var(--red);
}

.chat-like-n {
    min-width: 8px;
    text-align: center;
}

.chat-act--danger {
    color: var(--red);
}

.chat-inline-form {
    display: inline-flex;
    margin: 0;
}

.chat-replies {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 8px 0 0;
    margin: 7px 0 0 43px;
    border-top: 1px solid var(--line);
}

.chat-reply-form {
    margin: 8px 0 4px 43px;
}

.chat-edit-actions {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.chat-edit-form {
    margin-top: 7px;
}

.chat-send-btn {
    margin-left: auto;
    white-space: nowrap;
}

.chat-pagination {
    margin-top: 12px;
}

.chat-login-cta {
    padding: 18px;
    margin: 0 0 12px;
    text-align: center;
    border: 1px dashed #cfc7ff;
    border-radius: 13px;
    background: #f8f6ff;
    font-size: 12px;
}

.chat-login-cta--lock {
    padding: 22px 16px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 0;
}

.emoji-panel {
    padding: 9px;
    margin: 0 0 10px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.captcha-img {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.captcha-reload {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    color: var(--accent);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.comment-form {
    padding-bottom: 14px;
    margin-bottom: 13px;
    border-bottom: 1px solid var(--line);
}

.chat-img-input,
.hp-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.nav-logout {
    width: 34px;
    justify-content: center;
    padding: 0 !important;
    color: var(--muted) !important;
    font-size: 18px !important;
}

.nav-logout:hover {
    color: var(--red) !important;
    background: #fff1f3 !important;
}

.nav-badge--amber {
    background: var(--amber);
}

.tab--accent {
    color: var(--accent);
}

/* Footer */
.site-footer {
    padding: 44px 0 34px;
    color: #74778c;
    border: 0;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .73);
}

.footer-inner {
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: var(--ink);
}

.logo-mark--small {
    width: 30px;
    height: 21px;
}

.logo-mark--small .pixel-eye {
    top: 7px;
    width: 4px;
    height: 6px;
}

.logo-mark--small .pixel-eye--left {
    left: 7px;
}

.logo-mark--small .pixel-eye--right {
    right: 7px;
}

.footer-brand > span:last-child {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.footer-brand strong {
    color: var(--ink);
    font-family: var(--font-screen);
    font-size: 19px;
    letter-spacing: -.8px;
}

.footer-brand small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 9px;
}

.foot-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin: 22px 0 0;
}

.foot-links a {
    color: #55586d;
    font-size: 11px;
    font-weight: 700;
}

.foot-links a:hover {
    color: var(--accent);
}

.foot-links--minor {
    margin-top: 12px;
}

.foot-links--minor a {
    color: #8b8d9c;
    font-size: 9px;
    font-weight: 600;
}

.footer-live {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.footer-live > * {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 9px;
    color: #74778c;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: #fff;
    font-family: var(--font-screen);
    font-size: 8px;
}

.footer-live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #45c36d;
    box-shadow: 0 0 8px rgba(69, 195, 109, .5);
}

.footer-live b {
    color: var(--text);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 20px;
    margin-top: 24px;
    border-top: 1px solid var(--line);
}

.footer-bottom p {
    margin: 0;
    font-size: 9px;
}

.visit-counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #8a8c9c;
    font-family: var(--font-screen);
    font-size: 8px;
}

.odo {
    display: inline-flex;
    gap: 2px;
}

.odo b {
    min-width: 13px;
    padding: 2px 3px;
    color: var(--accent);
    border: 1px solid var(--line);
    border-radius: 3px;
    background: #fff;
}

.foot-counter {
    margin-top: 14px;
    opacity: .55;
}

.foot-counter img {
    max-width: 100%;
    height: auto;
}

.scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    opacity: 0;
    color: #fff;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 9px 23px rgba(83, 55, 215, .3);
    cursor: pointer;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease;
}

.scroll-top--visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.tabbar {
    display: none;
}

/* Motion */
.motion-ready .reveal,
.motion-ready .reveal-card {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .55s ease, transform .55s cubic-bezier(.2, .75, .25, 1);
}

.motion-ready .reveal-card {
    transition-delay: calc(var(--card-index, 0) * 35ms);
}

.motion-ready .reveal.is-visible,
.motion-ready .reveal-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pixelRise {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
    }
    12% {
        opacity: .75;
    }
    80% {
        opacity: .32;
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--drift), -340px, 0);
    }
}

@keyframes signalPulse {
    0%, 100% { opacity: .55; transform: scale(.85); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes tickerMove {
    to { transform: translateX(-50%); }
}

/* Tablet */
@media (max-width: 980px) {
    .container {
        width: min(100% - 28px, 860px);
    }

    .nav-desktop .nav-user span,
    .nav-desktop .nav-admin {
        display: none;
    }

    .portal-nav-inner {
        grid-template-columns: repeat(6, minmax(118px, 1fr));
        overflow-x: auto;
        scrollbar-width: none;
    }

    .portal-nav-inner::-webkit-scrollbar {
        display: none;
    }

    .portal-nav-link {
        min-height: 54px;
    }

    .arcade-hero {
        min-height: 315px;
    }

    .arcade-hero-copy {
        width: 57%;
        padding-left: 32px;
    }

    .game-row-link {
        grid-template-columns: 150px minmax(0, 1fr) 62px 15px;
        gap: 15px;
    }

    .game-row-thumb {
        width: 150px;
        height: 84px;
    }
}

/* Mobile */
@media (max-width: 720px) {
    html {
        scroll-padding-top: 82px;
    }

    body {
        padding-bottom: 70px;
    }

    .container,
    .announcement {
        width: calc(100% - 24px);
    }

    .page {
        padding-top: 14px;
        padding-bottom: 27px;
    }

    .site-header {
        position: sticky;
    }

    .header-inner {
        min-height: 66px;
        padding: 8px 0;
    }

    .menu-toggle,
    .nav-search-btn {
        width: 40px;
        height: 40px;
    }

    .nav-search-btn {
        margin-left: -40px;
    }

    .logo {
        gap: 7px;
    }

    .logo-mark {
        width: 30px;
        height: 22px;
    }

    .logo-mark::before {
        left: 5px;
        box-shadow: 16px 0 #5940ea;
    }

    .logo-mark::after {
        left: 4px;
        width: 6px;
        box-shadow: 16px 0 #31219f;
    }

    .pixel-eye {
        top: 7px;
        width: 4px;
        height: 6px;
    }

    .pixel-eye--left {
        left: 7px;
    }

    .pixel-eye--right {
        right: 7px;
    }

    .logo-copy strong {
        font-size: 20px;
    }

    .logo-copy small {
        margin-top: 4px;
        font-size: 6px;
        letter-spacing: 1.8px;
    }

    .nav-desktop {
        display: none;
    }

    .nav-search--expanded .nav-search-input,
    .nav-search:focus-within .nav-search-input {
        position: fixed;
        top: 11px;
        right: 12px;
        left: 12px;
        z-index: 104;
        width: calc(100% - 24px);
        height: 44px;
        padding-right: 50px;
        background: #fff;
        box-shadow: var(--shadow-float);
    }

    .nav-search:focus-within .nav-search-btn {
        position: fixed;
        top: 13px;
        right: 14px;
        z-index: 105;
    }

    .portal-nav {
        display: none;
        position: absolute;
        top: 66px;
        right: 0;
        left: 0;
        padding: 10px 0 14px;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 20px 35px rgba(28, 29, 63, .13);
    }

    .portal-nav.portal-nav--open {
        display: block;
        animation: menuDown .22s ease both;
    }

    .portal-nav-inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        overflow: visible;
    }

    .portal-nav-link {
        min-width: 0;
        min-height: 48px;
        justify-content: flex-start;
        padding: 0 13px;
        font-size: 10px;
    }

    .portal-nav-ic {
        font-size: 17px;
    }

    .ticker {
        display: none;
    }

    .arcade-hero {
        min-height: 340px;
        border-radius: 17px;
    }

    .arcade-hero-art {
        object-position: 62% center;
    }

    .arcade-hero-shade {
        background:
            linear-gradient(90deg, rgba(4, 6, 27, .98) 0%, rgba(4, 6, 27, .84) 55%, rgba(4, 6, 27, .25) 100%),
            linear-gradient(0deg, rgba(4, 6, 27, .65), transparent 70%);
    }

    .arcade-hero-copy {
        width: 78%;
        max-width: none;
        padding: 24px 0 20px 24px;
    }

    .arcade-hero h1 {
        max-width: 390px;
        font-size: clamp(29px, 8.8vw, 38px);
        letter-spacing: -1.4px;
    }

    .hero-sub {
        max-width: 340px;
        font-size: 12px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: row;
        gap: 12px;
        margin-top: 15px;
    }

    .hero-cta {
        width: auto;
        min-width: 178px;
    }

    .hero-metrics {
        gap: 13px;
        margin-top: 18px;
        font-size: 7px;
    }

    .hero-metrics b {
        font-size: 9px;
    }

    .news-banner {
        grid-template-columns: auto auto minmax(0, 1fr) auto;
        gap: 8px;
        margin-bottom: 24px;
    }

    .nb-copy small {
        display: none;
    }

    .game-row-link {
        grid-template-columns: 112px minmax(0, 1fr) 36px;
        min-height: 90px;
        gap: 11px;
        padding: 7px 10px 7px 7px;
    }

    .game-row-thumb {
        width: 112px;
        height: 74px;
    }

    .game-row-copy > strong {
        font-size: 13px;
    }

    .game-row-desc {
        display: none;
    }

    .game-row-meta {
        flex-direction: column;
        gap: 2px;
        margin-top: 4px;
        font-size: 8px;
    }

    .game-row-meta span:last-child,
    .game-row-meta span + span::before {
        display: none;
    }

    .game-row-action {
        gap: 0;
    }

    .play-orb {
        width: 34px;
        height: 34px;
        font-size: 9px;
    }

    .game-row-action small,
    .game-chevron {
        display: none;
    }

    .rail-grid {
        display: flex;
        gap: 10px;
        padding-bottom: 5px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .rail-grid::-webkit-scrollbar {
        display: none;
    }

    .rail-grid li {
        flex: 0 0 145px;
        scroll-snap-align: start;
    }

    .game-rail {
        padding: 16px 14px 17px;
    }

    .rail-head a {
        font-size: 8px;
    }

    .game-detail {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .is-inner .page {
        width: calc(100% - 24px);
        padding-top: 14px;
        padding-bottom: 34px;
    }

    .is-inner .section-head {
        min-height: 34px;
        gap: 10px;
        margin-bottom: 10px;
    }

    .is-inner .section-head h1,
    .is-inner .section-head h2 {
        font-size: 18px;
    }

    .is-inner .section-head > .muted {
        font-size: 8px !important;
        text-align: right;
    }

    .breadcrumb {
        margin-bottom: 10px;
        font-size: 8px;
    }

    .panel {
        padding: 15px;
        margin-bottom: 10px;
        border-radius: 14px;
    }

    .panel h2 {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .game-info {
        padding: 0;
    }

    .game-info h1 {
        margin-bottom: 8px;
        font-size: 25px;
    }

    .game-stats {
        gap: 5px;
        margin-bottom: 10px;
    }

    .game-stats > span {
        min-height: 26px;
        padding: 0 7px;
        font-size: 8px;
    }

    .game-actions {
        margin-bottom: 11px;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(5, 1fr);
    }

    .rel-games {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .news-list {
        gap: 8px;
    }

    .news-item {
        padding: 15px;
        border-radius: 12px;
    }

    .news-title {
        font-size: 15px;
    }

    .static-page {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .page-title {
        margin-bottom: 12px;
        font-size: 23px;
    }

    .lb-row {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        min-height: 60px;
        gap: 8px;
        padding: 7px 9px;
    }

    .lb-rank {
        font-size: 14px;
    }

    .lb-detail {
        display: none;
    }

    .lb-pts {
        font-size: 11px;
    }

    .online-list {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .search-form-main {
        gap: 7px;
        padding: 7px;
    }

    .search-input-main {
        min-width: 0;
        min-height: 40px;
        padding: 0 10px;
        font-size: 11px;
    }

    .profile-card {
        gap: 13px;
        padding: 15px;
        margin-bottom: 8px;
    }

    .profile-avatar .avatar,
    .profile-avatar .avatar-ph {
        width: 66px !important;
        height: 66px !important;
    }

    .profile-name {
        font-size: 16px;
    }

    .profile-stats {
        gap: 6px;
        margin-bottom: 10px;
    }

    .profile-stats li {
        padding: 10px 4px;
    }

    .ps-num {
        font-size: 14px;
    }

    .ps-lbl {
        font-size: 8px;
    }

    .fav-game-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .activity-item {
        padding: 9px 10px;
    }

    .inbox-link {
        padding: 9px 10px;
    }

    .chat-wrap {
        height: calc(100dvh - 165px);
        min-height: 410px;
        max-height: 660px;
        border-radius: 14px;
    }

    .chat-header {
        min-height: 56px;
        padding: 7px 10px;
    }

    .chat-messages {
        padding: 10px 8px;
    }

    .chat-msg {
        max-width: 88%;
    }

    .chat-form {
        padding: 7px;
    }

    .chat-compose {
        padding: 9px;
        border-radius: 11px;
    }

    .chat-thread {
        padding: 9px;
        border-radius: 11px;
    }

    .chat-replies {
        margin-left: 27px;
    }

    .chat-reply-form {
        margin-left: 27px;
    }

    .cb-body {
        font-size: 10px;
    }

    .chat-hint {
        display: none;
    }

    .tabbar {
        position: fixed;
        right: 8px;
        bottom: 8px;
        left: 8px;
        z-index: 110;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        min-height: 58px;
        overflow: hidden;
        border: 1px solid rgba(218, 219, 231, .94);
        border-radius: 17px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 12px 35px rgba(23, 24, 55, .18);
        backdrop-filter: blur(16px);
    }

    .tab {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        min-width: 0;
        color: #676a7f;
        border: 0;
        font-size: 9px;
    }

    .tab .tab-ic {
        font-family: var(--font-screen);
        font-size: 18px;
        line-height: 1;
    }

    .tab .tab-tx {
        display: block;
        overflow: hidden;
        font-size: 7px;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tab:hover,
    .tab.active {
        color: var(--accent);
        background: #f5f2ff;
    }

    .tab.active::before {
        content: "";
        position: absolute;
        top: 0;
        right: 25%;
        left: 25%;
        height: 2px;
        border-radius: 0 0 4px 4px;
        background: var(--accent);
    }

    .tab-sup {
        position: absolute;
        top: 5px;
        right: 24%;
        display: grid;
        min-width: 15px;
        height: 15px;
        place-items: center;
        padding: 0 2px;
        color: #fff;
        border-radius: 9px;
        background: var(--red);
        font-size: 7px;
    }

    .scroll-top {
        right: 16px;
        bottom: 78px;
    }

    .site-footer {
        padding: 22px 0 18px;
    }

    .footer-brand small {
        display: none;
    }

    .foot-links {
        gap: 5px 14px;
        margin-top: 16px;
    }

    .foot-links--minor,
    .foot-counter {
        display: none;
    }

    .footer-live {
        gap: 5px;
        margin-top: 14px;
    }

    .footer-bottom {
        padding-top: 14px;
        margin-top: 16px;
    }
}

@media (max-width: 460px) {
    .logo-copy small {
        display: none;
    }

    .arcade-hero {
        min-height: 315px;
    }

    .arcade-hero-copy {
        width: 84%;
        padding: 25px 0 20px 20px;
    }

    .hero-chip {
        margin-bottom: 10px;
    }

    .hero-eyebrow {
        font-size: 7px;
    }

    .hero-metrics span:last-child {
        display: none;
    }

    .hero-secondary {
        display: none;
    }

    .news-banner {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .nb-label {
        display: none;
    }

    .section-head {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .section-count {
        display: flex;
        align-items: flex-end;
        flex-direction: column;
        gap: 0;
        margin-top: 3px;
        font-size: 8px;
        line-height: 1.25;
        text-align: right;
        white-space: nowrap;
    }

    .section-count b {
        font-size: 11px;
    }

    .section-head h1 {
        font-size: 18px;
    }

    .section-icon {
        width: 34px;
        height: 34px;
    }

    .game-row-link {
        grid-template-columns: 96px minmax(0, 1fr) 32px;
        gap: 9px;
    }

    .game-row-thumb {
        width: 96px;
        height: 68px;
    }

    .game-row-copy > strong {
        font-size: 12px;
    }

    .play-orb {
        width: 31px;
        height: 31px;
    }

    .rail-grid li {
        flex-basis: 132px;
    }

    .rail-card > strong {
        font-size: 9px;
    }
}

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

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

    .motion-ready .reveal,
    .motion-ready .reveal-card {
        opacity: 1;
        transform: none;
    }
}
