/* ===================================================================
   GameZone — Ocean Blue Theme
   Layout: Left (game stage 310px) + Right (bento catalog)
   Bento grid: base cell 110px
     - header card : 3x3 (330x330)  — all top content
     - ad card     : 3x3 (330x330)
     - game items  : 1x1 (110) default / 2x2 (220) / 3x3 (330)
   Gutter created with margin so grid areas stay exact multiples of 110.
   =================================================================== */

/* ---------- Theme tokens ---------- */

:root {
    --stage-w: 340px;
    --cell: 110px;
    /* base cell */
    --gut: 5px;
    /* half-gutter (visual gap = 10px) */
    /* Dark (default) — violet aurora */
    --bg: #0a0e1f;
    --bg-2: #11152e;
    --surface: #191e3e;
    --surface-2: #232a52;
    --border: #2e376b;
    --text: #eef0ff;
    --text-dim: #9aa2d4;
    --accent: #7c5cff;
    /* violet */
    --accent-2: #22d3ee;
    /* cyan */
    --accent-3: #ff5d9e;
    /* pink */
    --star: #ffd166;
    /* rating gold */
    --glow: 0 0 18px rgba(124, 92, 255, .55);
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .45);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

[data-theme="light"] {
    --bg: #f4f3fb;
    --bg-2: #ffffff;
    --surface: #ffffff;
    --surface-2: #f0eefb;
    --border: #e2def4;
    --text: #1a1740;
    --text-dim: #6b6699;
    --accent: #6d44ff;
    --accent-2: #0aa5c4;
    --accent-3: #e84d8f;
    --star: #f5a623;
    --glow: 0 0 16px rgba(109, 68, 255, .3);
    --shadow: 0 10px 28px rgba(80, 60, 160, .18);
}

/* ---------- Reset ---------- */

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

html {
    -webkit-text-size-adjust: 100%;
    height: auto !important;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-height: 100%;
    overflow: hidden !important;
    /* each section scrolls on its own */
    touch-action: manipulation;
}

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

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

button {
    font: inherit;
    cursor: pointer;
}

.x26357nju3h3i {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--accent);
    color: #fff;
    padding: 10px 16px;
    border-radius: 0 0 10px 0;
}

.x26357nju3h3i:focus {
    left: 0;
}

/* ---------- App shell ---------- */

.x26355z1wvxn2 {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
}

.app {
    max-height: 100vh;
    display: flex;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    overflow: hidden;
    background: radial-gradient(1100px 600px at 10% -10%, rgba(124, 92, 255, .20), transparent 60%), radial-gradient(900px 500px at 110% 8%, rgba(34, 211, 238, .14), transparent 55%), var(--bg);
}

/* ===================================================================
   LEFT — GAME STAGE
   =================================================================== */

.x26356qchn2iw {
    flex: 0 0 var(--stage-w);
    width: var(--stage-w);
    min-width: 0;
    padding: 10px;
    display: flex;
    transition: flex-basis .45s var(--ease), width .45s var(--ease), padding .45s var(--ease);
}

.x2635c8ome9pr {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    min-height: 0;
}

.x2635e0m0hbpm {
    flex: 1 1 auto;
    min-height: 0;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 12px, transparent 12px 24px), linear-gradient(160deg, var(--surface), var(--bg-2));
    box-shadow: var(--shadow), inset 0 0 60px rgba(124, 92, 255, .10);
    display: grid;
    place-items: center;
    overflow: hidden;
    position: relative;
}

.x26357uklgkkv {
    width: 100%;
    text-align: center;
    color: var(--text-dim);
    padding: 20px;
}

.x2635c8ome9pr .x26357uklgkkv {
    padding: 10px;
}

.x26357uklgkkv .tilte-game {
    margin-top: 10px;
    font-weight: 800;
}

.x26357uklgkkv .x2635a064maxv {
    min-width: min(248px, 100%);
    min-height: 60px;
    margin-top: 20px;
}

.x26357uklgkkv p {
    margin: 8px 0 2px;
    font-weight: 700;
    color: var(--text);
}

.x26357uklgkkv small {
    font-size: 12px;
}

.x26353mhmf15p {
    font-size: 44px;
    filter: drop-shadow(var(--glow));
}

.x2635deeke78x {
    margin: 0 auto;
}

.x26354ol2klh1 {
    display: none;
}

.stage__start-ad {
    width: min(300px, 100%);
    min-height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
}

.x2635dt6tj4x9 {
    width: 300px;
    max-width: 100%;
    color: var(--text-dim);
    font-size: 11px;
    line-height: 1;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0;
    text-align: center;
}

.x263575n971e2 {
    width: 300px;
    min-height: 250px;
    max-width: 100%;
}

.x26359ft29hzg {
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.x26359ft29hzg {
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

div#unity-loading-bar {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#unity-loading-bar .x2635cmkwjaha {
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding: clamp(22px, 5vh, 56px) 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: clamp(14px, 3vh, 28px);
    text-align: center;
    color: #fff;
    background: linear-gradient(rgba(0, 0, 0, .62), rgba(0, 0, 0, .72)), radial-gradient(circle at 50% 16%, rgba(255, 0, 210, .18), transparent 34%), #050008;
    background-color: #000000ba;
}

#unity-loading-bar .x26355j9c4nm8 {
    display: block;
    /* width: min(512px, 76vw); */
    width: 256px;
    height: auto;
    object-fit: contain;
    /* filter: drop-shadow(0 0 18px rgba(255, 0, 210, .55)); */
}

#unity-loading-bar .x26352zuoc2ls {
    display: grid;
    justify-items: center;
    gap: 12px;
}

#unity-loading-bar .x26352dkvbkgo {
    display: block;
    width: clamp(84px, 50vw, 250px);
    height: clamp(84px, 50vw, 250px);
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .36);
}

#unity-loading-bar .x2635cmkwjaha .tilte-game {
    max-width: min(520px, 88vw);
    margin: 0;
    color: #fff;
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
}

#unity-loading-bar .x2635cmkwjaha .x26352vr9effz,
#loader.x2635cal7ij6p .x26352vr9effz {
    position: relative;
    overflow: hidden;
    display: flex;
}

#unity-loading-bar .x2635cmkwjaha .x26352vr9effz .tilte-game,
#loader.x2635cal7ij6p .x26352vr9effz .tilte-game {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 12px 10px;
    font-size: 18px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .78));
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

#unity-loading-bar .x2635cmkwjaha .unity-box {
    width: min(250px, 78vw);
}

#unity-loading-bar .x2635cmkwjaha #unity-progress-bar-empty {
    width: 100%;
}

#unity-loading-bar .x2635cmkwjaha .x26357mmjh7tt {
    display: none;
}

div#loader.x2635cal7ij6p {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#loader.x2635cal7ij6p .x2635718itl6p {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    background: linear-gradient(rgba(0, 0, 0, .62), rgba(0, 0, 0, .72)), radial-gradient(circle at 50% 16%, rgba(255, 0, 210, .18), transparent 34%), #050008;
    background-color: #000000ba;
}

#loader.x2635cal7ij6p .x26355j9c4nm8 {
    display: block;
    /* width: min(512px, 76vw); */
    width: 256px;
    height: auto;
    object-fit: contain;
}

#loader.x2635cal7ij6p .x26352dkvbkgo {
    display: block;
    width: clamp(84px, 50vw, 250px);
    height: clamp(84px, 50vw, 250px);
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .36);
}

#loader.x2635cal7ij6p .tilte-game {
    max-width: min(520px, 88vw);
    margin: 0;
    color: #fff;
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
}

#loader.x2635cal7ij6p .x26357mmjh7tt {
    display: none;
}

.x2635a064maxv {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 22px;
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .5px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 8px 24px rgba(124, 92, 255, .45);
    transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.x2635a064maxv:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(124, 92, 255, .6);
}

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

.x2635dm1708j3 {
    font-size: 14px;
}

/* ===================================================================
   RIGHT — PANEL
   =================================================================== */

.x26356df0t9t6 {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    background: var(--bg-2);
    border-left: 1px solid var(--border);
    border-radius: 22px 0 0 22px;
    margin: 10px 0;
    box-shadow: var(--shadow);
    transition: flex-basis .45s var(--ease), max-width .45s var(--ease), transform .45s var(--ease);
    overflow: hidden;
}

.x2635572jtakk {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    border-radius: 22px 0 0 22px;
    /* clip content to the frame */
    padding: 12px 10px 20px;
    /* content spreads to the frame edges */
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

.x2635572jtakk::-webkit-scrollbar {
    width: 9px;
}

.x2635572jtakk::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

/* Toggle button ( » / info ) */

/* Toggle ( » / info ) sits next to the logo */

.x26355ed8pstk {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    box-shadow: var(--glow);
    cursor: pointer;
    touch-action: none;
    user-select: none;
    transition: transform .2s var(--ease), filter .2s;
}

.x26355ed8pstk:hover {
    filter: brightness(1.12);
    transform: scale(1.05);
}

.panel__toggle-text {
    line-height: 1;
}

/* ===================================================================
   BENTO GRID — fixed 110px cells
   =================================================================== */

.x26351kyl1r2z {
    display: grid;
    /* min(110px, 31%) keeps >=3 columns on phones so the 3x3 blocks never overflow */
    grid-template-columns: repeat(auto-fill, minmax(min(var(--cell), 31%), 1fr));
    grid-auto-flow: dense;
    gap: 10px;
}

.x26351kyl1r2z>* {
    aspect-ratio: 1 / 1;
}

/* square cells; stretch evenly to the frame edges */

/* spans */

.x26357swaojv5 {
    grid-column: span 1;
    grid-row: span 1;
}

/* 1x1 = 110 */

.x263565cv3rg7 {
    grid-column: span 2;
    grid-row: span 2;
}

/* 2x2 = 220 */

.x26354zf13bfe {
    grid-column: span 3;
    grid-row: span 3;
}

/* 3x3 = 330 */

.x2635aau0aej5,
.x26355pde8kn0,
.ad {
    grid-column: span 3;
    grid-row: span 3;
}

/* 3x3 = 330 */

/* ===================================================================
   HEADER CARD (3x3) — compact, holds all top content
   =================================================================== */

.x2635aau0aej5,
.x26355pde8kn0 {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: linear-gradient(160deg, var(--surface), var(--bg-2));
    box-shadow: var(--shadow);
}

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

.x2635d69j9vzj {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

article.x2635aau0aej5,
article.x26355pde8kn0 {
    overflow-y: auto;
}

article.x2635aau0aej5::-webkit-scrollbar,
article.x26355pde8kn0::-webkit-scrollbar {
    width: 4px;
}

.x2635auhg4bn1 {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-size: 12px;
    box-shadow: var(--glow);
}

.x263589iqzwfg {
    font-size: 21px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.x2635980olb8y {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s, transform .15s;
}

.x2635980olb8y:hover {
    background: var(--surface-2);
    color: var(--accent-2);
}

.x2635980olb8y:active {
    transform: scale(.94);
}

.x263548drc1h6 {
    margin-left: auto;
}

.x26356udyixps {
    display: none;
}

.x26351sq97b0n {
    display: inline;
}

[data-theme="light"] .x26356udyixps {
    display: inline;
}

[data-theme="light"] .x26351sq97b0n {
    display: none;
}

/* Search */

.x2635duj3mxaa {
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px;
    /*0 4px 0 10px*/
    height: 30px;
    transition: border-color .2s, box-shadow .2s;
}

.x2635duj3mxaa:focus-within {
    border-color: var(--accent);
    box-shadow: var(--glow);
}

.x2635c1yprhw6 {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    background: transparent;
    color: var(--text);
    outline: none;
    font-size: 14px;
    height: 30px;
}

.x2635c1yprhw6::placeholder {
    color: var(--text-dim);
}

.x26351qxweu1c {
    border: none;
    background: transparent;
    color: var(--text-dim);
    font-size: 14px;
    padding: 0 4px;
}

/* Wrapping rows (menu / categories) — show all chips inside the 3x3 card */

.x263522wkiqs7 {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.x26357o0y9061 {
    margin: 0;
}

.menu__item {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-dim);
    transition: color .2s, background .2s, border-color .2s;
}

.menu__item:hover {
    color: var(--text);
    border-color: var(--accent);
}

.menu__item.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border: 1px solid linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* Social */
ul.x2635929kgcej {
    border-top: 1px solid var(--border);
    margin-top: 6px;
    padding-top: 6px;
    padding-bottom: 6px;
}

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

.x2635bnl1zgu9 {
    width: 27px;
    height: 27px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-dim);
    transition: transform .18s var(--ease), color .2s, box-shadow .2s, border-color .2s;
}

.x2635cybof5wc {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.x26356989w8b6 {
    display: none;
}

.x26358ze5ci8d {
    display: block;
}

[data-theme="light"] .x26356989w8b6 {
    display: block;
}

[data-theme="light"] .x26358ze5ci8d {
    display: none;
}

.x2635bnl1zgu9:hover {
    color: var(--accent-2);
    transform: translateY(-2px);
    border-color: var(--accent-2);
    box-shadow: var(--glow);
}

/* Title + rating + breadcrumb */

.x26357jxgmam3 {
    margin-top: 2px;
}

.x26353l10q1tc {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rating {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 3px 0;
    font-size: 14px;
    color: var(--text-dim);
}

.rating__stars {
    --rate: 100%;
    width: 90px;
    height: 16px;
    background: linear-gradient(90deg, var(--star) var(--rate), color-mix(in srgb, var(--text-dim) 45%, transparent) var(--rate));
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='92' height='16' viewBox='0 0 92 16'><g fill='black'><path d='M8 0l2.35 5.1L16 5.6l-4 3.9.94 5.5L8 12.4 3.06 15l.94-5.5-4-3.9 5.65-.5z'/><path d='M27 0l2.35 5.1L35 5.6l-4 3.9.94 5.5L27 12.4 22.06 15l.94-5.5-4-3.9 5.65-.5z'/><path d='M46 0l2.35 5.1L54 5.6l-4 3.9.94 5.5L46 12.4 41.06 15l.94-5.5-4-3.9 5.65-.5z'/><path d='M65 0l2.35 5.1L73 5.6l-4 3.9.94 5.5L65 12.4 60.06 15l.94-5.5-4-3.9 5.65-.5z'/><path d='M84 0l2.35 5.1L92 5.6l-4 3.9.94 5.5L84 12.4 79.06 15l.94-5.5-4-3.9 5.65-.5z'/></g></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='92' height='16' viewBox='0 0 92 16'><g fill='black'><path d='M8 0l2.35 5.1L16 5.6l-4 3.9.94 5.5L8 12.4 3.06 15l.94-5.5-4-3.9 5.65-.5z'/><path d='M27 0l2.35 5.1L35 5.6l-4 3.9.94 5.5L27 12.4 22.06 15l.94-5.5-4-3.9 5.65-.5z'/><path d='M46 0l2.35 5.1L54 5.6l-4 3.9.94 5.5L46 12.4 41.06 15l.94-5.5-4-3.9 5.65-.5z'/><path d='M65 0l2.35 5.1L73 5.6l-4 3.9.94 5.5L65 12.4 60.06 15l.94-5.5-4-3.9 5.65-.5z'/><path d='M84 0l2.35 5.1L92 5.6l-4 3.9.94 5.5L84 12.4 79.06 15l.94-5.5-4-3.9 5.65-.5z'/></g></svg>");
    -webkit-mask-size: 90px 16px;
    mask-size: 90px 16px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.rating__num {
    font-weight: 800;
    color: var(--star);
}

.x26353pqgu2zc {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0;
    margin: 2px 0 0;
    font-size: 14px;
    color: var(--text-dim);
}

.x26357z8mgoel {
    display: inline-flex;
    align-items: center;
}

.x26357z8mgoel+.x26357z8mgoel::before {
    content: "›";
    margin: 0 6px;
    color: var(--text-dim);
}

.x26357z8mgoel a:hover {
    color: var(--accent-2);
}

.x26357z8mgoel[aria-current="page"] {
    color: var(--text);
    font-weight: 600;
}

/* Categories row */

.x26353a38kr5 {
    margin: 0;
}

.cat {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-dim);
    transition: color .2s, border-color .2s, background .2s;
}

.cat:hover {
    color: var(--text);
    border-color: var(--accent-2);
}

.cat.is-active {
    color: #fff;
    background: var(--accent);
    border-color: transparent;
}

.x2635cm0w2nom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.x2635d6ehso3j {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 32px;
    max-width: 100%;
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface);
    color: var(--text);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    transition: transform .18s var(--ease), border-color .2s, background .2s, box-shadow .2s;
}

.x2635d6ehso3j:hover {
    color: var(--text);
    transform: translateY(-1px);
    border-color: var(--accent-2);
    background: var(--surface-2);
    box-shadow: var(--glow);
}

.x263518nkwtd7 {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-right: 2px;
    background: #ffd166;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M20 10.6 13.4 4H5v8.4L11.6 19a2 2 0 0 0 2.8 0l5.6-5.6a2 2 0 0 0 0-2.8ZM8.5 9.5A1.5 1.5 0 1 1 8.5 6.5a1.5 1.5 0 0 1 0 3Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M20 10.6 13.4 4H5v8.4L11.6 19a2 2 0 0 0 2.8 0l5.6-5.6a2 2 0 0 0 0-2.8ZM8.5 9.5A1.5 1.5 0 1 1 8.5 6.5a1.5 1.5 0 0 1 0 3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.x263581fk0nso {
    min-width: 0;
    overflow-wrap: anywhere;
}

.x2635bfz4xyqr {
    flex: 0 0 auto;
    color: #f39c12;
}

.x2635ci307jb2 {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    padding: 4px 0 12px;
}

.x263516bo8n9m {
    padding-top: 0;
}

.x2635afl1p4qr {
    margin: 0 0 24px;
    color: var(--text-dim);
    font-size: 16px;
}

.x2635419o0jmh {
    margin: 0 0 28px;
}

.x26351og2xiq3 {
    margin: 0 0 14px;
    color: color-mix(in srgb, var(--text) 65%, var(--text-dim));
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
}

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

.x26354olkzdaa {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface);
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
    transition: transform .18s var(--ease), border-color .2s, background .2s, box-shadow .2s;
}

.x26354olkzdaa:hover {
    color: var(--text);
    transform: translateY(-1px);
    border-color: var(--accent-2);
    background: var(--surface-2);
    box-shadow: var(--glow);
}

.x2635d145f7iq {
    min-width: 0;
    overflow-wrap: anywhere;
}

.x2635dyddahu1 {
    flex: 0 0 auto;
    color: #f39c12;
}

/* ===================================================================
   AD CARD (3x3)
   =================================================================== */

.ad {
    display: flex;
    flex-direction: column;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 10px, transparent 10px 20px), var(--surface);
    padding: 10px;
}

.x2635a9j89t6c {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.x26359zqzr4nr {
    flex: 1 1 auto;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-2);
    color: var(--text-dim);
    font-size: 13px;
    letter-spacing: 1px;
}

.x2635aig10t7s {
    width: 100%;
    min-width: 300px;
    min-height: 250px;
}

/* ===================================================================
   GAME ITEM
   =================================================================== */

.x26357swaojv5 {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.x2635b0oigihf {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .4s var(--ease);
}

/* placeholder game art colors (replace with real images later) */

.x26357swaojv5:nth-of-type(7n+1) .x2635b0oigihf {
    background: linear-gradient(135deg, #7c5cff, #22d3ee);
}

.x26357swaojv5:nth-of-type(7n+2) .x2635b0oigihf {
    background: linear-gradient(135deg, #ff5d9e, #ffb347);
}

.x26357swaojv5:nth-of-type(7n+3) .x2635b0oigihf {
    background: linear-gradient(135deg, #22d3ee, #7c5cff);
}

.x26357swaojv5:nth-of-type(7n+4) .x2635b0oigihf {
    background: linear-gradient(135deg, #a64bff, #ff5d9e);
}

.x26357swaojv5:nth-of-type(7n+5) .x2635b0oigihf {
    background: linear-gradient(135deg, #5b8cff, #22d3ee);
}

.x26357swaojv5:nth-of-type(7n+6) .x2635b0oigihf {
    background: linear-gradient(135deg, #ff7eb3, #7c5cff);
}

.x26357swaojv5:nth-of-type(7n+7) .x2635b0oigihf {
    background: linear-gradient(135deg, #22d3ee, #34e3b0);
}

.x26359wpxsp64 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 10px;
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, .78));
    transform: translateY(110%);
    opacity: 0;
    transition: transform .28s var(--ease), opacity .28s var(--ease);
}

.x263565cv3rg7 .x26359wpxsp64,
.x26354zf13bfe .x26359wpxsp64 {
    font-size: 14px;
}

/* Hover: reveal name + zoom image */

.x26357swaojv5:hover,
.x26357swaojv5:focus-visible {
    transform: translateY(-3px);
    box-shadow: var(--glow), 0 14px 30px rgba(0, 0, 0, .4);
    z-index: 2;
    outline: none;
}

.x26357swaojv5:hover .x2635b0oigihf,
.x26357swaojv5:focus-visible .x2635b0oigihf {
    transform: scale(1.12);
}

.x26357swaojv5:hover .x26359wpxsp64,
.x26357swaojv5:focus-visible .x26359wpxsp64 {
    transform: translateY(0);
    opacity: 1;
}

.x2635776p8ho2 {
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
    color: var(--text-dim);
}

.x26351pi3spm0 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 18px 0 8px;
    padding: 0 12px;
}

.x26351pi3spm0 ul,
.x26351pi3spm0 ol,
.x26351pi3spm0 .x2635aln6q5ls,
.x263517jf9hfb {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.x263517jf9hfb {
    gap: 8px;
}

.x26351pi3spm0 li {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.x26351pi3spm0 a,
.x26351pi3spm0 span,
.x26351pi3spm0 strong,
.x26351pi3spm0 b,
.x263534lcyj2j {
    min-width: 28px;
    height: 28px;
    padding: 0 9px;
    border: 1px solid color-mix(in srgb, var(--border) 70%, #fff 10%);
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--surface-2) 68%, #fff 12%);
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
    transition: transform .15s var(--ease), background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}

.x26351pi3spm0 a:hover,
.x26351pi3spm0 a:focus-visible,
.x263534lcyj2j:hover,
.x263534lcyj2j:focus-visible {
    transform: translateY(-1px);
    border-color: var(--accent-2);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    outline: none;
}

.x26351pi3spm0 .active,
.x26351pi3spm0 .current,
.x26351pi3spm0 .is-active,
.x26351pi3spm0 li.active a,
.x26351pi3spm0 a.active,
.x26351pi3spm0 span.active,
.x26351pi3spm0 strong,
.x26351pi3spm0 b,
.x263534lcyj2j.is-active {
    border-color: color-mix(in srgb, var(--accent) 70%, #fff 20%);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: var(--glow);
}

.x26351pi3spm0 .disabled,
.x26351pi3spm0 .is-disabled,
.x26351pi3spm0 li.disabled a,
.x26351pi3spm0 span.disabled,
.x263534lcyj2j.is-disabled {
    cursor: default;
    opacity: .45;
    transform: none;
}

/* ===================================================================
   PLAYING / COLLAPSED STATES
   =================================================================== */

.app.is-playing .x26356qchn2iw,
.app.is-collapsed .x26356qchn2iw {
    flex-basis: 100%;
    width: 100%;
    padding: 0;
}

.app.is-playing .x26357uklgkkv,
.app.is-collapsed .x26357uklgkkv {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.app.is-playing .x2635a064maxv,
.app.is-collapsed .x2635a064maxv {
    display: none;
}

.app.is-playing .x26356df0t9t6,
.app.is-collapsed .x26356df0t9t6 {
    flex-basis: 0;
    max-width: 0;
    margin: 0;
    border: none;
    overflow: hidden;
}

.app.is-playing .x26355ed8pstk,
.app.is-collapsed .x26355ed8pstk {
    position: fixed;
    top: var(--panel-toggle-top, 14px);
    right: 14px;
    left: auto;
    z-index: 50;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    border: none;
    width: auto;
    height: 44px;
    padding: 0 16px;
}

/* ===================================================================
   RESPONSIVE — the bento grid reflows automatically (fixed 110px cells)
   =================================================================== */

/* Tablet */

@media (max-width: 1023px) {
    :root {
        --stage-w: 340px;
    }
}

/* Mobile PORTRAIT: left on top, right below */

@media (max-width: 767px) and (orientation: portrait) {
    html {
        overflow-y: auto !important;
    }

    body {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .app {
        flex-direction: column;
        height: auto;
        min-height: 100dvh;
        overflow: visible;
    }

    .x26355z1wvxn2 {
        overflow: visible;
    }

    .x26355ttbeukj .stage__start-ad {
        display: none;
    }

    .x26355ttbeukj .x26354ol2klh1 {
        display: inline-block;
    }

    .x26356qchn2iw {
        flex: 0 0 auto;
        width: 100%;
        height: 44vh;
        min-height: 240px;
        padding: 12px;
    }

    .x26356df0t9t6 {
        flex: 0 0 auto;
        width: 100%;
        min-height: auto;
        border-left: none;
        border-top: 1px solid var(--border);
        border-radius: 22px 22px 0 0;
        margin: 0;
        overflow: visible;
    }

    .x2635572jtakk {
        height: auto;
        min-height: auto;
        overflow: visible;
        border-radius: 22px 22px 0 0;
        padding: 12px 10px 20px;
    }

    .x26355ed8pstk {
        left: auto;
        right: 14px;
        top: 14px;
    }

    /* when playing on mobile: game fills the screen */
    .app.is-playing {
        min-height: 100dvh;
        overflow: hidden;
    }

    .app.is-playing .x26356qchn2iw {
        height: 100dvh;
    }
}

@media (max-width: 991px) and (max-height: 520px) and (orientation: landscape) and (pointer: coarse) {
    .x26355ttbeukj .stage__start-ad {
        display: none;
    }

    .x26355ttbeukj .x26354ol2klh1 {
        display: inline-block;
    }
}

/* Mobile LANDSCAPE: keep 2-column layout, left 310px */

@media (max-width: 900px) and (orientation: landscape) {
    :root {
        --stage-w: 340px;
    }
}

/* Reduce motion for users sensitive to animation */

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

section.x26352wm0612q {
    flex: 1 0 auto;
    padding: 30px 10px;
}

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

a {
    color: #007bff;
}

a:hover {
    color: #0056b3;
}

footer .flex-wrap a {
    margin: 0px 6px;
    color: var(--text-dim);
}

footer .flex-wrap a:hover {
    color: #0056b3;
}

button#panelToggle {
    display: none;
}

div#appShell.is-playing button#panelToggle {
    display: block;
}

.app.is-playing .x26355ed8pstk {
    top: var(--panel-toggle-top, 44px);
    left: 0px;
    right: auto;
    box-shadow: 2px 2px 6px #000;
    border-radius: 0px 10px 10px 0;
}

article.x26355pde8kn0 {
    height: 100%;
    width: 100%;
}

article.x26355pde8kn0.x26351dpht80u {
    grid-row: span 1;
    aspect-ratio: 4 / 1;
}

article.x26355pde8kn0.x2635bvyna0a3 {
    grid-row: span 2;
    aspect-ratio: 2 / 1;
}

article.x26355pde8kn0.x26359baz0i9q {
    grid-row: span 4;
}

article.x26355pde8kn0.x26359wt1rbho {
    grid-row: span 5;
}

article.x26355pde8kn0.x2635a6c977hj {
    grid-row: span 6;
} 
