/* Game hub only: the six-card reference layout, independent of system theme. */
body.app-shell--games{background:#07121b!important;color:#f5f7fc!important}
body.app-shell--games .app-shell__content{background:#07121b!important;min-height:100dvh}
body.app-shell--games .qz-page{--qz-text:#f5f7fc;--qz-muted:#a9bdd4;--qz-border:#29465d;--qz-soft:#142536;--qz-bg:#0d1c29;color:#f5f7fc;max-width:760px;margin:auto;padding:0 16px 105px}
body.app-shell--games .qz-head h1{color:#f5f7fc!important}
body.app-shell--games .qz-head p{color:#a9bdd4!important}
body.app-shell--games .qz-head>a{background:linear-gradient(135deg,#1a4568,#17304a)!important;color:#edf7ff!important;border-color:#396588!important}
body.app-shell--games .cd-tabs,body.app-shell--games .qz-discovery-tabs{background:#0e2030!important;border:1px solid #29465d!important;border-radius:18px!important;color:#eaf1fa!important}
body.app-shell--games .cd-tabs a,body.app-shell--games .cd-tabs button,body.app-shell--games .qz-discovery-tabs a{color:#eaf1fa!important}
body.app-shell--games .cd-tabs [aria-current=page],body.app-shell--games .cd-tabs .active,body.app-shell--games .qz-discovery-tabs [aria-current=page]{background:#ff008b!important;color:white!important;border-radius:14px!important}
body.app-shell--games .dg-game-grid{gap:8px;align-items:stretch}
body.app-shell--games .dg-reference-center .dg-game-tile{grid-column:auto!important;grid-template-columns:64px minmax(0,1fr);grid-template-rows:1fr auto;gap:8px;padding:12px 10px;border:1px solid #29465d;border-radius:14px;background:linear-gradient(135deg,#102230,#0c1824);min-height:168px;position:relative;box-sizing:border-box}
body.app-shell--games .dg-reference-center .dg-game-icon{width:64px;height:68px;border-radius:14px;box-shadow:inset 0 0 15px #ffffff20,0 0 14px #762ed42b}
body.app-shell--games .dg-game-icon--quiz{background:linear-gradient(135deg,#2412a9,#ef007f);border-color:#b342e0;font-size:43px}
body.app-shell--games .dg-reference-center .dg-symbol{width:45px;height:45px;stroke-width:1.8}
body.app-shell--games .dg-reference-center .dg-tile-text{display:flex;flex-direction:column;min-height:119px}
body.app-shell--games .dg-reference-center .dg-tile-text h3{color:#f5f7fc!important;font-size:14px!important;line-height:1.22!important;margin:1px 0 7px!important}
body.app-shell--games .dg-reference-center .dg-tile-text p{color:#a9bdd4!important;font-size:11px!important;line-height:1.35!important;margin:0 0 12px!important}
body.app-shell--games .dg-reference-center .dg-play-link{margin-top:auto;align-self:flex-end;background:#ff008b;border:0;color:#fff!important;border-radius:24px;min-height:32px;padding:5px 13px;font-size:13px;box-shadow:0 4px 20px #ff008b24}
body.app-shell--games .dg-reference-center .dg-tile-actions{border:0;padding:0;justify-content:flex-end;gap:12px}
body.app-shell--games .dg-reference-center .dg-tile-actions a{color:#8ca8bf!important;font-size:10px!important;min-height:22px}
body.app-shell--games .dg-reference-center .dg-game-tile>.dg-play-link.is-used{background:#582340;font-size:10px!important;min-height:32px}
body.app-shell--games .dg-reference-center .dg-used{color:#a9bdd4!important;font-size:10px!important}
body.app-shell--games .dg-reference-center>.qz-muted{color:#8ca8bf!important;font-size:11px}
body.app-shell--games .app-bottom-nav{background:#0a1723!important;border-color:#29465d!important;color:#acbdd1!important}
body.app-shell--games .app-bottom-nav__item{color:#acbdd1!important}
body.app-shell--games .app-bottom-nav__item[href="/kesfet"]{color:#ff008b!important}
@media(max-width:360px){body.app-shell--games .qz-page{padding-left:12px;padding-right:12px}body.app-shell--games .dg-reference-center .dg-game-tile{grid-template-columns:48px minmax(0,1fr);padding:10px 8px;gap:6px}body.app-shell--games .dg-reference-center .dg-game-icon{width:48px;height:56px}body.app-shell--games .dg-reference-center .dg-symbol{width:35px;height:35px}body.app-shell--games .dg-reference-center .dg-tile-text h3{font-size:12px!important}body.app-shell--games .dg-reference-center .dg-tile-text p{font-size:10px!important}}
@media(min-width:600px){body.app-shell--games .dg-reference-center .dg-game-tile{grid-template-columns:100px minmax(0,1fr);padding:20px;min-height:225px;gap:15px}body.app-shell--games .dg-reference-center .dg-game-icon{width:100px;height:100px}body.app-shell--games .dg-reference-center .dg-tile-text h3{font-size:21px!important}body.app-shell--games .dg-reference-center .dg-tile-text p{font-size:16px!important}body.app-shell--games .dg-reference-center .dg-play-link{font-size:18px;padding:10px 22px}}
