:root {
    --ink: #14110e;
    --ink-2: #1e1a16;
    --ink-3: #2a241e;
    --paper: #f4efe6;
    --paper-dim: #e6dccb;
    --copper: #e36a32;
    --copper-soft: #ffc2a4;
    --sea: #8ee0c8;
    --line: rgba(244, 239, 230, 0.14);
    --line-strong: rgba(244, 239, 230, 0.28);
    --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
    --sans: "Outfit", "Segoe UI", sans-serif;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --theme-color: var(--copper);
    --card-shadow: transparent;
}

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

html {
    background: var(--ink);
    scroll-behavior: smooth;
    overflow-x: clip;
}

body.lx-shell {
    margin: 0;
    min-height: 100vh;
    color: var(--paper);
    font-family: var(--sans);
    font-weight: 400;
    letter-spacing: -0.01em;
    background:
        radial-gradient(880px 460px at 0% -8%, rgba(227, 106, 50, 0.2), transparent 62%),
        radial-gradient(640px 380px at 100% 0%, rgba(142, 224, 200, 0.07), transparent 58%),
        var(--ink) !important;
    background-image: none;
}

body.lx-shell::before {
    content: "";
    position: fixed;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--copper), var(--paper) 42%, transparent 78%);
    z-index: 80;
    pointer-events: none;
}

img {
    max-width: 100%;
}

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

button {
    cursor: pointer;
}

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

.mvn-container {
    width: min(1360px, calc(100% - 8px));
    margin: 0 auto;
    padding-bottom: 28px;
}

.mvn-container:not(.h-not-full) {
    min-height: 0;
}

.scroll-none::-webkit-scrollbar {
    display: none;
}

button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.lx-eyebrow {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--copper-soft);
}

.lx-eyebrow .lx-live {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--sea);
    box-shadow: 0 0 0 4px rgba(142, 224, 200, 0.16);
    vertical-align: 1px;
}

.lx-btn,
.report-popup .send-report {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 4px !important;
    background: var(--copper) !important;
    color: #1a100c !important;
    font-weight: 650;
    letter-spacing: 0.02em;
}

.lx-btn:hover,
.send-report:hover {
    background: #ff7d42;
}

.lx-btn-ghost {
    background: transparent !important;
    color: var(--paper) !important;
    border: 1px solid var(--line-strong);
}

.lx-btn-ghost:hover {
    background: var(--paper) !important;
    color: var(--ink) !important;
}

.lx-dock {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 22px;
    margin: 0 4px 8px;
    padding: 18px 4px 14px;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
}

.lx-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.lx-brand img {
    width: 36px;
    height: 36px;
    max-width: 36px;
    object-fit: cover;
    border-radius: 6px;
    background: var(--ink-3);
}

.lx-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lx-brand-kicker {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--copper-soft);
}

.lx-brand-name {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 560;
    letter-spacing: -0.04em;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 42vw;
}

.lx-rule {
    height: 1px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, var(--copper), transparent 80%);
}

.lx-actions,
.navbar-shortcut {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.lx-textlink,
.lx-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: transparent;
    color: var(--paper);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lx-textlink:hover,
.lx-search-btn:hover,
.navbar a:hover,
.open-menu:hover {
    background: var(--paper);
    color: var(--ink);
}

.lx-textlink svg,
.lx-search-btn svg {
    width: 16px;
    height: 16px;
}

.lx-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.72fr);
    gap: 42px;
    align-items: center;
    padding: 28px 6px 8px;
}

.lx-stage h1,
.lx-mast h1,
.lx-miss h1,
.lx-auth-copy h1 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 560;
    letter-spacing: -0.045em;
    line-height: 0.92;
}

.lx-stage h1 {
    font-size: clamp(52px, 7vw, 92px);
    max-width: 9ch;
}

.lx-lede {
    max-width: 46ch;
    margin: 18px 0 0;
    color: rgba(244, 239, 230, 0.74);
    font-size: 17px;
    line-height: 1.55;
}

.lx-stage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.lx-stage-poster {
    display: block;
    position: relative;
}

.lx-poster-frame {
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 28px 28px 8px 28px;
    background-position: center;
    background-size: cover;
    box-shadow: var(--shadow);
}

.lx-poster-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 12px;
}

.lx-poster-meta em {
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--copper-soft);
}

.lx-poster-meta strong {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 560;
    letter-spacing: -0.03em;
}

.lx-poster-meta small {
    color: rgba(244, 239, 230, 0.62);
    font-size: 13px;
    text-transform: capitalize;
}

.lx-section {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 34px 6px 12px;
}

.lx-section h2,
.lx-grid-label span {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 560;
    letter-spacing: -0.04em;
}

.lx-section p {
    margin: 0;
    color: rgba(244, 239, 230, 0.55);
    font-size: 13px;
}

.lx-grid-label {
    grid-column: 1 / -1;
    padding: 8px 2px 0;
}

.m-category-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 250px);
    gap: 12px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0 2px;
    padding: 2px 2px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    counter-reset: shelf;
}

.m-category-grid::-webkit-scrollbar {
    height: 8px;
}

.m-category-grid::-webkit-scrollbar-thumb {
    background: var(--ink-3);
    border-radius: 99px;
}

.m-category-grid a {
    scroll-snap-align: start;
    color: inherit;
}

.m-category-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 12px;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 8px 18px 8px 8px;
    counter-increment: shelf;
}

.m-category-card:hover {
    border-color: var(--copper);
    background: #261f1a;
}

.m-category-card img {
    width: 68px;
    height: 68px;
    max-width: none;
    object-fit: cover;
    border-radius: 6px 14px 6px 6px;
}

.m-category-card .text {
    font-family: var(--serif);
    font-size: 20px;
    letter-spacing: -0.03em;
    text-transform: capitalize;
    line-height: 1.05;
}

.m-category-card .text::before {
    content: counter(shelf, decimal-leading-zero);
    display: block;
    margin-bottom: 6px;
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--copper);
}

.m-category-card .text p {
    margin: 6px 0 0;
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0;
    color: rgba(244, 239, 230, 0.55);
    text-transform: none;
}

.m-grid-start {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 22px 14px;
    grid-auto-flow: dense;
    align-items: start;
    margin-top: 8px;
}

.m-grid-start .m-game-card {
    position: relative;
    min-width: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.m-grid-start .m-game-card .m-game-link {
    display: block;
    height: 100%;
    color: inherit;
    position: relative;
    overflow: hidden;
    border-radius: 18px 18px 6px 18px;
}

.m-grid-start .m-game-card .m-game-link picture,
.m-game-thumbnail {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.05;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 18px 18px 6px 18px;
    overflow: hidden;
    position: relative;
}

.m-grid-start .m-game-card:not(.not-hover) .m-game-link picture {
    transition: transform 0.45s ease, border-radius 0.45s ease;
}

.m-grid-start .m-game-card:not(.not-hover):hover .m-game-link picture {
    transform: translateY(-4px);
    border-radius: 8px 22px 8px 8px;
}

.m-grid-start .m-game-card .m-game-link .m-game-details {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
    width: auto;
    padding: 8px 10px 9px;
    background: rgba(12, 9, 8, 0.9);
    color: var(--paper);
    text-align: left;
    font-weight: 560;
    font-size: 14px;
    line-height: 1.25;
}

.m-grid-start .m-game-card .m-game-details p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.m-grid-start .m-game-card:hover .m-game-details {
    color: var(--copper-soft);
}

.m-grid-start .m-game-card.md {
    grid-column: span 2;
}

.m-grid-start .m-game-card.md picture,
.m-grid-start .m-game-card.md .m-game-thumbnail {
    aspect-ratio: 16 / 10;
}

.m-grid-start .m-game-card.lg {
    grid-column: span 2;
}

.m-grid-start .m-game-card.lg .m-game-link,
.m-grid-start .m-game-card.lg picture,
.m-grid-start .m-game-card.lg .m-game-thumbnail {
    border-radius: 22px;
}

.m-grid-start .m-game-card.lg picture,
.m-grid-start .m-game-card.lg .m-game-thumbnail {
    aspect-ratio: 16 / 11;
}

.m-grid-start .m-game-card.lg .m-game-link::after {
    content: "Featured";
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 8px;
    background: var(--paper);
    color: var(--ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.m-grid-start ._700x700,
.advert-space._700x700 {
    grid-column: 1 / -1;
}

.m-grid-start ._400x400 {
    grid-column: span 2;
}

.advert-space {
    background: var(--ink-2);
    border: 1px dashed var(--line-strong);
    border-radius: 12px;
    min-height: 90px;
}

.advert-space > img {
    border-radius: 8px;
}

.lx-paper .lx-eyebrow,
.about-content .lx-eyebrow,
.page-content .lx-eyebrow {
    color: #9a3d12;
}

.lx-paper,
.about-content,
.page-content {
    margin: 28px 4px 0;
    padding: 28px 26px 10px;
    background: var(--paper);
    color: #241c16;
    border-radius: 18px 18px 6px 18px;
}

.about-content > span,
.page-content h1:first-child {
    font-family: var(--serif);
}

.html-content h1,
.html-content h2,
.html-content h3,
.html-content h4,
.html-content h5,
.html-content h6,
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    margin: 12px 0 8px;
    color: #241c16;
    font-family: var(--serif);
    font-weight: 560;
    letter-spacing: -0.03em;
}

.html-content h1,
.page-content h1 { font-size: 34px; }
.html-content h2,
.page-content h2 { font-size: 26px; }
.html-content h3,
.page-content h3 { font-size: 20px; }

.html-content p,
.page-content p {
    margin: 14px 0;
    line-height: 1.65;
}

.html-content ol,
.html-content ul,
.page-content ol,
.page-content ul {
    margin: 0 0 12px 18px;
}

.html-content a,
.page-content a {
    color: #9a3d12;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lx-foot {
    margin-top: 48px;
    padding: 36px 22px 22px;
    background: var(--paper);
    color: #241c16;
}

.lx-foot-top {
    width: min(1360px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: end;
}

.lx-foot h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 560;
    letter-spacing: -0.05em;
    line-height: 0.9;
}

.lx-foot p {
    max-width: 36ch;
    margin: 12px 0 0;
    color: #5c5146;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 18px;
}

.footer-links a {
    color: #241c16;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: capitalize;
    border-bottom: 1px solid transparent;
}

.footer-links a:hover {
    border-bottom-color: var(--copper);
    color: #9a3d12;
}

.lx-foot-base {
    width: min(1360px, 100%);
    margin: 28px auto 0;
    padding-top: 14px;
    border-top: 1px solid rgba(36, 28, 22, 0.12);
    color: #6d6256;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body .offcanvas {
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 7, 0.62);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
}

body .offcanvas.active {
    opacity: 1;
    visibility: visible;
}

body .offcanvas .offcanvas-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: min(640px, 100%);
    height: 100%;
    padding: 18px 16px 28px;
    background: #1a1613;
    border-right: 1px solid var(--line);
    overflow-y: auto;
    transform: translateX(-104%);
}

body .offcanvas.active .offcanvas-menu {
    transform: translateX(0);
    transition: transform 0.35s ease;
}

.offcanvas .live-search {
    display: flex;
    align-items: center;
    gap: 6px;
    width: calc(100% - 8px);
    margin: 8px 0 0;
    padding: 6px;
    background: var(--paper) !important;
    border-radius: 8px;
}

.offcanvas .live-search input {
    width: 100%;
    height: 46px;
    border: 0;
    outline: none;
    background: transparent;
    color: #241c16 !important;
    font-family: var(--serif);
    font-size: 22px;
}

.offcanvas .live-search input::placeholder {
    color: #8a7d70;
}

.offcanvas .close-button,
.offcanvas .for-desktop,
.offcanvas .for-mobile {
    background: transparent !important;
    color: #241c16;
}

.offcanvas .close-button {
    position: static !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 6px !important;
}

.offcanvas .for-mobile {
    display: none !important;
}

.search-error {
    margin-top: 16px;
    padding: 16px !important;
    background: var(--ink-2) !important;
    color: var(--paper);
    border-radius: 10px;
}

.search-error h5,
.search-error p,
.offcanvas h3,
#offconvas-content h3 {
    color: var(--paper);
}

.category-link-box {
    background: transparent !important;
    color: var(--paper) !important;
    border: 1px solid var(--line-strong);
    box-shadow: none !important;
}

.category-link-box:hover {
    background: var(--copper) !important;
    color: #1a100c !important;
}

.m-grid-start .gameplay-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    min-height: 68vh;
    margin: 8px 0 10px;
    overflow: hidden;
    background: #0d0b0a;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.m-grid-start .gameplay-container iframe {
    flex: 1 1 auto;
    width: 100%;
    min-height: 460px;
    border: 0;
    background: #000;
}

.game-details {
    background: #171410;
    border-top: 1px solid var(--line);
}

.game-details h4,
.game-basic-info h4 {
    margin: 0;
    color: var(--paper);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 560;
    letter-spacing: -0.03em;
}

.game-details a,
.game-details p,
.game-basic-info p {
    color: var(--copper-soft) !important;
}

.game-details img,
.game-basic-info img {
    width: 46px;
    height: 46px;
    max-width: none;
    object-fit: cover;
    border-radius: 8px;
}

.m-grid-start .gameplay-container .game-basic-info,
.m-grid-start .gameplay-container .logo,
.m-grid-start .gameplay-container .minimize {
    display: none;
}

.m-grid-start .gameplay-container.full {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    margin: 0;
    border-radius: 0;
    min-height: 0;
}

.m-grid-start .gameplay-container.full iframe {
    min-height: 0;
    height: 100%;
}

.m-grid-start .gameplay-container.full .left,
.m-grid-start .gameplay-container.full .right {
    display: none;
}

.m-grid-start .gameplay-container.full .game-basic-info,
.m-grid-start .gameplay-container.full .logo,
.m-grid-start .gameplay-container.full .minimize {
    display: block;
}

.icon-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.icon-group button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 6px;
    background: transparent;
}

.icon-group button:hover {
    background: rgba(244, 239, 230, 0.08);
}

.icon-group label {
    color: rgba(244, 239, 230, 0.55);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.icon-group button svg path {
    stroke: var(--paper);
    stroke-width: 2.4px;
}

.icon-group button.fill svg,
.icon-group button.fill svg path {
    fill: var(--paper);
}

.icon-group button.active {
    background: var(--copper);
}

.icon-group button.active svg path {
    stroke: #1a100c;
}

.icon-group button[tooltip]::before {
    content: attr(tooltip);
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--paper);
    color: var(--ink);
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
}

.icon-group button[tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
}

.report-popup {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: min(420px, calc(100% - 24px));
    padding: 18px;
    background: var(--paper);
    color: #241c16;
    border-radius: 16px;
    z-index: 120;
    overflow: hidden;
    transform: translateY(16px);
    opacity: 0;
    visibility: hidden;
}

.report-popup.active,
.thank-you-popup.active {
    transform: none;
    opacity: 1;
    visibility: visible;
}

.report-popup .text,
.report-popup .font-bold {
    color: #241c16;
}

.report-popup .body > svg {
    display: none;
}

.report-popup .body textarea {
    width: 100%;
    height: 110px;
    margin-top: 14px;
    padding: 12px;
    resize: none;
    border: 1px solid #ddcbb6;
    border-radius: 8px;
    outline: none;
    background: #fffaf3;
    color: #241c16;
}

.report-popup .body textarea:focus {
    border-color: var(--copper);
}

.thank-you-popup {
    position: fixed;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 72px;
    padding: 16px 20px;
    background: var(--copper);
    color: #1a100c;
    font-family: var(--serif);
    font-size: 22px;
    z-index: 121;
    border-radius: 12px;
    transform: translateY(16px);
    opacity: 0;
    visibility: hidden;
}

.lx-mast {
    padding: 28px 6px 8px;
}

.lx-mast h1 {
    font-size: clamp(46px, 7vw, 84px);
    text-transform: capitalize;
}

.lx-mast p {
    margin: 10px 0 0;
    color: rgba(244, 239, 230, 0.66);
}

.lx-miss,
.lx-auth {
    display: grid;
    min-height: 68vh;
    align-items: center;
    padding: 24px 8px 40px;
}

.lx-miss h1 {
    font-size: clamp(96px, 18vw, 180px);
    color: var(--paper);
}

.lx-miss p,
.lx-auth-copy p {
    max-width: 36ch;
    color: rgba(244, 239, 230, 0.7);
    font-size: 18px;
}

.lx-auth {
    grid-template-columns: 1fr minmax(280px, 420px);
    gap: 36px;
}

.lx-auth-copy h1 {
    font-size: clamp(48px, 6vw, 78px);
    max-width: 8ch;
}

.login-form,
.sign-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    background: var(--paper);
    color: #241c16;
    border-radius: 16px 16px 6px 16px;
}

.login-form label,
.sign-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.login-form input,
.sign-form input {
    width: 100%;
    padding: 14px 12px;
    border: 1px solid #ddcbb6;
    border-radius: 6px;
    outline: none;
    background: #fffaf3;
    color: #241c16;
}

.login-form input:focus,
.sign-form input:focus {
    border-color: var(--copper);
}

.login-form button,
.sign-form button {
    width: 100%;
    margin-top: 6px;
}

.sign-form input[name="signup"] {
    display: none;
}

.sign-form p,
.sign-form p a {
    color: #6d6256;
    text-align: center;
}

.page-heading {
    margin: 18px 6px;
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 56px);
    letter-spacing: -0.04em;
}

.game__grid,
.home__game__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.game__thumb img,
.game img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 14px 14px 5px 14px;
    background: var(--ink-3);
}

.game_name {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
}

.lx-page {
    padding-top: 12px;
}

@media screen and (max-width: 900px) {
    .lx-stage,
    .lx-auth,
    .lx-foot-top {
        grid-template-columns: 1fr;
    }

    .lx-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .lx-section p {
        display: none;
    }

    .lx-stage-poster {
        max-width: 360px;
    }

    .lx-dock {
        grid-template-columns: 1fr auto;
    }

    .lx-rule {
        display: none;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .m-grid-start .gameplay-container {
        min-height: 0;
    }
}

@media screen and (max-width: 640px) {
    .lx-brand-name {
        font-size: 22px;
    }

    .lx-textlink span,
    .lx-search-btn span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .lx-textlink,
    .lx-search-btn {
        width: 42px;
        padding: 0;
        justify-content: center;
    }

    .m-grid-start {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 10px;
    }

    .m-game-card.md,
    .m-game-card.lg,
    .m-grid-start ._400x400,
    .m-grid-start .gameplay-container,
    .advert-space {
        grid-column: 1 / -1 !important;
    }

    .lx-paper,
    .about-content,
    .page-content {
        padding: 20px 16px 6px;
    }
}

@media screen and (max-width: 600px) {
    .gameplay-container.on-mobile {
        position: relative;
        min-height: 280px;
        background-position: center;
        background-size: cover;
    }

    .gameplay-container.on-mobile .play-frame {
        display: block;
        position: absolute;
        inset: 0;
        background: rgba(12, 9, 8, 0.28);
    }

    .gameplay-container.on-mobile iframe,
    .gameplay-container.on-mobile .game-details {
        display: none;
    }

    .gameplay-container.on-mobile .play-button {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .gameplay-container.on-mobile .play-button button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 74px;
        height: 74px;
        border: 0;
        border-radius: 8px;
        background: var(--paper);
    }

    .gameplay-container.on-mobile .play-button button svg path {
        stroke: var(--ink);
        stroke-width: 2px;
    }

    .gameplay-container.on-mobile .play-button .game-name {
        margin-top: 8px;
        color: var(--paper);
        font-family: var(--serif);
    }

    .gameplay-container.on-frame {
        border-radius: 0;
        background-color: #0d0b0a !important;
        background-image: none !important;
    }

    .gameplay-container.on-frame .play-frame {
        display: none;
    }

    .gameplay-container.on-frame iframe,
    .gameplay-container.on-frame .game-details {
        display: block;
    }

    .gameplay-container.on-frame .back-button {
        position: absolute;
        top: 16px;
        left: 0;
        z-index: 5;
        display: flex;
        align-items: center;
        padding: 8px 12px 8px 8px;
        background: var(--paper);
        border-radius: 0 10px 10px 0;
    }

    .more-option {
        position: static;
        opacity: 1;
        visibility: visible;
        display: flex;
        width: auto;
        transform: none;
        background: transparent;
        padding: 0;
    }
}

@media screen and (max-width: 900px) and (orientation: landscape) {
    .gameplay-container.on-frame .game-details {
        display: none !important;
    }

    .gameplay-container.on-frame .back-button {
        position: absolute;
        top: 12px;
        left: 0;
        display: flex;
        padding: 8px;
        background: var(--paper);
        border-radius: 0 10px 10px 0;
    }
}

@media screen and (max-width: 625px) {
    .offcanvas-menu {
        width: 100% !important;
    }

    .offcanvas .for-desktop {
        display: none !important;
    }

    .offcanvas .for-mobile {
        display: flex !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
