/* ===================================================================
   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;
}

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

.x26354jw1bl0x:focus {
    left: 0;
}

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

.x26355o3nzqrw {
    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
   =================================================================== */

.x26358fci89gt {
    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);
}

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

.x2635dqkpj5v1 {
    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;
}

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

.x263583g9rm9r .x26355xi8c3ll {
    padding: 10px;
}

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

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

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

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

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

.x26358prg8ii6 {
    margin: 0 auto;
}

.x26355k7c7zcy {
    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;
}

.x26351pumelcg {
    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;
}

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

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

.x26354k6ql355 {
    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 .x2635a1ykfex4 {
    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 .x26351r0pblw9 {
    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 .x26354yfp623r {
    display: grid;
    justify-items: center;
    gap: 12px;
}

#unity-loading-bar .x26352it52cyp {
    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 .x2635a1ykfex4 .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 .x2635a1ykfex4 .x26355ik17cmk,
#loader.x2635clt8fxu5 .x26355ik17cmk {
    position: relative;
    overflow: hidden;
    display: flex;
}

#unity-loading-bar .x2635a1ykfex4 .x26355ik17cmk .tilte-game,
#loader.x2635clt8fxu5 .x26355ik17cmk .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 .x2635a1ykfex4 .unity-box {
    width: min(250px, 78vw);
}

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

#unity-loading-bar .x2635a1ykfex4 .x26359kc7qvps {
    display: none;
}

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

#loader.x2635clt8fxu5 .x2635c0d0si1s {
    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.x2635clt8fxu5 .x26351r0pblw9 {
    display: block;
    /* width: min(512px, 76vw); */
    width: 256px;
    height: auto;
    object-fit: contain;
}

#loader.x2635clt8fxu5 .x26352it52cyp {
    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.x2635clt8fxu5 .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.x2635clt8fxu5 .x26359kc7qvps {
    display: none;
}

.x26358ij0jec {
    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);
}

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

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

.x26356fvz38c3 {
    font-size: 14px;
}

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

.x263532fikke2 {
    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;
}

.x26355it3bmym {
    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;
}

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

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

/* Toggle button ( » / info ) */

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

.x2635a5xmno4v {
    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;
}

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

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

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

.x2635cwd87b6x {
    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;
}

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

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

/* spans */

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

/* 1x1 = 110 */

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

/* 2x2 = 220 */

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

/* 3x3 = 330 */

.x2635yfv6z9o,
.x2635b8v550yb,
.ad {
    grid-column: span 3;
    grid-row: span 3;
}

/* 3x3 = 330 */

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

.x2635yfv6z9o,
.x2635b8v550yb {
    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);
}

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

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

article.x2635yfv6z9o,
article.x2635b8v550yb {
    overflow-y: auto;
}

article.x2635yfv6z9o::-webkit-scrollbar,
article.x2635b8v550yb::-webkit-scrollbar {
    width: 4px;
}

.x2635d8ictfrd {
    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);
}

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

.x26352xv8xw24 {
    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;
}

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

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

.x26351lb8np8z {
    margin-left: auto;
}

.x263553arcy9w {
    display: none;
}

.x26359moqxtki {
    display: inline;
}

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

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

/* Search */

.x2635lkh2seu {
    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;
}

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

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

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

.x2635121t0fmz {
    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 */

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

.x26353zo60s8l {
    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.x2635989u0stw {
    border-top: 1px solid var(--border);
    margin-top: 6px;
    padding-top: 6px;
    padding-bottom: 6px;
}

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

.x2635b07owrfp {
    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;
}

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

.x2635aj4xm0za {
    display: none;
}

.x26352j8dkz8s {
    display: block;
}

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

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

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

/* Title + rating + breadcrumb */

.x2635c9s6al74 {
    margin-top: 2px;
}

.x26359690au97 {
    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);
}

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

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

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

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

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

/* Categories row */

.x2635267zsb3h {
    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;
}

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

.x2635df0gwlw2 {
    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;
}

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

.x2635a1m17b2e {
    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;
}

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

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

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

.x26356v5w0j3m {
    padding-top: 0;
}

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

.x26353dncd90n {
    margin: 0 0 28px;
}

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

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

.x26353v0cqk6x {
    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;
}

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

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

.x26359qvjc6d5 {
    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;
}

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

.x26352bgh7rao {
    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;
}

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

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

.x26352didvs93 {
    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);
}

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

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

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

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

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

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

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

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

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

.x2635a1b43h3q {
    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);
}

.x26354wgilih5 .x2635a1b43h3q,
.x2635n8uswdy .x2635a1b43h3q {
    font-size: 14px;
}

/* Hover: reveal name + zoom image */

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

.x26352didvs93:hover .x263595nl55lj,
.x26352didvs93:focus-visible .x263595nl55lj {
    transform: scale(1.12);
}

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

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

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

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

.x26356ovs3umn {
    gap: 8px;
}

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

.x2635276wcjrb a,
.x2635276wcjrb span,
.x2635276wcjrb strong,
.x2635276wcjrb b,
.x2635bfmcf22m {
    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);
}

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

.x2635276wcjrb .active,
.x2635276wcjrb .current,
.x2635276wcjrb .is-active,
.x2635276wcjrb li.active a,
.x2635276wcjrb a.active,
.x2635276wcjrb span.active,
.x2635276wcjrb strong,
.x2635276wcjrb b,
.x2635bfmcf22m.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);
}

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

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

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

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

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

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

.app.is-playing .x2635a5xmno4v,
.app.is-collapsed .x2635a5xmno4v {
    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;
    }

    .x26355o3nzqrw {
        overflow: visible;
    }

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

    .x26359pcr9vug .x26355k7c7zcy {
        display: inline-block;
    }

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

    .x263532fikke2 {
        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;
    }

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

    .x2635a5xmno4v {
        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 .x26358fci89gt {
        height: 100dvh;
    }
}

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

    .x26359pcr9vug .x26355k7c7zcy {
        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.x26355m88pbbr {
    flex: 1 0 auto;
    padding: 30px 10px;
}

.x263595nl55lj 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 .x2635a5xmno4v {
    top: var(--panel-toggle-top, 44px);
    left: 0px;
    right: auto;
    box-shadow: 2px 2px 6px #000;
    border-radius: 0px 10px 10px 0;
}

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

article.x2635b8v550yb.x2635bsxeew9p {
    grid-row: span 1;
    aspect-ratio: 4 / 1;
}

article.x2635b8v550yb.x263566qkj9zu {
    grid-row: span 2;
    aspect-ratio: 2 / 1;
}

article.x2635b8v550yb.x2635t7iph6b {
    grid-row: span 4;
}

article.x2635b8v550yb.x26358p8vnky2 {
    grid-row: span 5;
}

article.x2635b8v550yb.x26355o6vh0ew {
    grid-row: span 6;
} 
