

/* studio-theme.css */

:root{--studio-bg:#0a0d1c;--studio-panel:#171b32;--studio-purple:#8e7cff;--studio-ink:#f6f4ff}html{scroll-behavior:smooth}body{accent-color:#8e7cff}a,button{transition:filter .2s,transform .2s}a:hover,button:hover{filter:brightness(1.1)}.studio-ribbon{background:linear-gradient(90deg,#171630,#29204e);color:white;padding:11px 20px;text-align:center;font:600 13px system-ui}.studio-ribbon a{color:#d2c7ff;margin:0 12px;text-decoration:none}.studio-ribbon a:hover{text-decoration:underline}.studio-favorite{background:#241c44;color:#f6d2ff;border:1px solid #7664ca;border-radius:9px;padding:8px 12px;cursor:pointer;font-weight:700}.studio-favorite[aria-pressed=true]{background:#7859c9;color:#fff}.studio-toast{position:fixed;bottom:20px;right:20px;background:#211b40;color:#fff;border:1px solid #9e87ff;padding:13px 18px;border-radius:12px;z-index:99999;box-shadow:0 12px 36px #0008}.studio-focus:focus-visible{outline:3px solid #b9a7ff;outline-offset:3px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* studio-unified.css */
/* Shared Yambuzz Studio navigation, isolated from legacy themes */
.unav,.unav *{box-sizing:border-box}.unav{position:sticky;top:0;z-index:9999;background:#fff;color:#18203b;border-bottom:1px solid #e9e8f6;font-family:'DM Sans',system-ui,sans-serif;box-shadow:0 5px 20px #19183c0b}.unav a{text-decoration:none!important}.unav-inner{width:min(1560px,calc(100% - 32px));margin:auto;min-height:86px;display:flex;align-items:center;gap:16px}.unav-logo{display:flex;align-items:center;gap:4px;color:#1b2240!important;font-weight:900;font-size:21px;white-space:nowrap;margin-right:auto}.unav-logo>span:last-child{color:#6659ef}.unav-mark{display:inline-grid;place-items:center;background:#6659ef;color:#fff;width:37px;height:37px;border-radius:11px;margin-right:8px}.unav-menu{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap}.unav-menu a{font-size:12px;font-weight:800;color:#4c5274!important;background:#f7f7ff;border:1px solid #e9e8fa;border-radius:10px;padding:12px 10px;white-space:nowrap}.unav-menu a:hover{color:#6557ed!important;background:#efedff;border-color:#c8c1ff}.unav-actions{display:flex;align-items:center;gap:7px;white-space:nowrap}.unav-actions>a,.unav-account>summary{border-radius:10px;padding:12px 13px;font-size:12px;font-weight:800;cursor:pointer}.unav-random{background:#6659ef;color:#fff!important}.unav-login{border:1px solid #dedafc;color:#6659ef!important}.unav-register{background:#f1efff;color:#6659ef!important}.unav-account{position:relative}.unav-account>summary{list-style:none;display:flex;align-items:center;gap:8px;background:#f2efff;color:#5142d5}.unav-account>summary::-webkit-details-marker{display:none}.unav-avatar{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#6659ef;color:white}.unav-dropdown{position:absolute;right:0;top:calc(100% + 10px);background:#fff;min-width:215px;padding:15px;border:1px solid #e5e1fb;border-radius:14px;box-shadow:0 15px 40px #12142b30;display:flex;flex-direction:column;gap:10px;color:#222}.unav-dropdown small{color:#7c8199}.unav-dropdown a{color:#4b4776!important;padding:8px;border-radius:7px}.unav-dropdown a:hover{background:#f2efff}.unav-toggle{display:none;border:0;background:#f2efff;color:#6557ed;font-size:22px;padding:8px 13px;border-radius:9px}@media(max-width:1450px){.unav-inner{flex-wrap:wrap;padding:12px 0}.unav-menu{order:3;width:100%}.unav-logo{margin-right:auto}}@media(max-width:760px){.unav-toggle{display:block}.unav-menu{display:none;flex-direction:column;align-items:stretch}.unav-menu.is-open{display:flex}.unav-menu a{text-align:center}.unav-actions{margin-left:auto}.unav-actions>a{padding:10px 8px}.unav-logo{font-size:18px}.unav-inner{gap:8px}.unav-random{font-size:0!important}.unav-random:first-letter{font-size:18px}.unav-register{display:none}}

/* Premium navigation restoration v5.1 */
.unav-inner{width:min(1660px,calc(100% - 38px));gap:13px;min-height:88px}.unav-logo{font-size:22px;letter-spacing:-.6px}.unav-menu{gap:6px}.unav-menu a{background:linear-gradient(180deg,#fff,#faf9ff);border:1px solid #e6dfff;box-shadow:0 3px 10px #6456d60b;border-radius:12px;padding:12px 11px;font-size:12px;color:#3d4168!important;transition:transform .18s,box-shadow .18s}.unav-menu a:hover{transform:translateY(-2px);box-shadow:0 7px 18px #6659ef20}.unav-menu a.is-current{background:linear-gradient(135deg,#8264ff,#613de8);color:#fff!important;box-shadow:0 6px 18px #6659ef50;border-color:#8264ff}.unav-random{background:linear-gradient(135deg,#8063ff,#5d49e9);box-shadow:0 7px 22px #6659ef30}.unav-account>summary{background:#f4f0ff;border:1px solid #e2d9ff;min-height:43px}.unav-dropdown{min-width:285px;padding:17px;border-radius:18px;box-shadow:0 22px 65px #21194b35;white-space:normal;gap:12px}.unav-profile-top{display:flex;align-items:center;gap:12px}.unav-profile-top>div{display:flex;flex-direction:column;gap:4px;min-width:0}.unav-profile-top b{overflow:hidden;text-overflow:ellipsis}.unav-profile-avatar{width:43px;height:43px;display:grid;place-items:center;background:linear-gradient(135deg,#8063ff,#b05af0);border-radius:13px;color:white;font-weight:900;font-size:19px}.unav-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px}.unav-stats>span{padding:11px 8px;border:1px solid #e9e3ff;background:#f7f5ff;border-radius:11px;color:#5e4fda;font-weight:900;text-align:center}.unav-stats b{font-size:17px}.unav-stats small{display:block;color:#777b9b;font-size:10px;font-weight:700;margin-top:3px}.unav-dropdown>a:first-of-type{background:#6659ef;color:#fff!important;text-align:center;padding:12px;border-radius:10px;font-weight:800}.unav-dropdown>a:first-of-type:hover{background:#5545d8}.unav-dropdown a{font-size:13px}.unav-actions{gap:9px}@media(max-width:1550px){.unav-inner{flex-wrap:wrap;padding:12px 0}.unav-menu{order:3;width:100%}}@media(max-width:760px){.unav-menu{display:none}.unav-menu.is-open{display:flex}.unav-dropdown{right:0;max-width:calc(100vw - 24px)}}

/* RESTORED ORIGINAL PREMIUM NAVIGATION */
.nav{height:82px;background:white;border-bottom:1px solid #eef0f3;position:sticky;top:0;z-index:20}.nav-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:15px}.brand{display:flex;align-items:center;gap:11px;font:900 24px Outfit,sans-serif;letter-spacing:-1.2px}.brand-mark{width:39px;height:39px;border-radius:12px;background:#6659ef;color:#fff;display:grid;place-items:center;font-size:25px;box-shadow:0 7px 18px #f3545933}.brand span span{color:var(--red)}.links{display:flex;align-items:center;gap:19px;font-size:15px;font-weight:800;color:#49546a;white-space:nowrap}.links a:hover{color:var(--red)}.nav-cta,.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:9px;padding:15px 23px;font-weight:800;font-size:13px;transition:.2s}.nav-cta,.btn-primary{background:#6659ef;color:#fff;box-shadow:0 8px 22px #6659ef50}.nav-cta:hover,.btn-primary:hover{background:#e7434b;transform:translateY(-2px)}.btn-outline{border:1px solid var(--red);color:var(--red);background:#fff}.btn-outline:hover{background:#fff1f1}
.mobile-toggle{display:none;border:0;background:none;font-size:25px;color:var(--ink);cursor:pointer}a:focus-visible,button:focus-visible{outline:3px solid #ffadad;outline-offset:3px}@media(max-width:1150px){.mobile-toggle{display:block}.links{display:none;position:absolute;top:81px;left:0;right:0;background:#fff;padding:24px;box-shadow:0 14px 20px #0001;flex-direction:column;align-items:flex-start}.links.open{display:flex}.nav-cta{display:none}.hero-inner{grid-template-columns:1fr;padding:70px 0 30px}.hero-art{height:330px}.grid3{grid-template-columns:1fr 1fr}.about{grid-template-columns:1fr;gap:35px}}@media(max-width:580px){.container{width:min(100% - 32px,1180px)}.hero h1{letter-spacing:-1.5px}.grid3{grid-template-columns:1fr}.section{padding:65px 0}.trust-items{gap:17px}.footer-inner,.footer-links{flex-direction:column;gap:16px}.hero-art{height:280px}.floating{bottom:10px}.stats{gap:18px}.cta{padding:45px 22px}}

/* Yambuzz signature visual language */
:root{--red:#6659ef;--ink:#151b32;--muted:#66718b;--bg:#f3f5fb}
.hero-art:after{content:'✦';position:absolute;top:4%;right:20%;font-size:32px;color:#d7a2ff;animation:twinkle 3s infinite alternate}.art-back{border-radius:40% 60% 58% 42%;transform:rotate(-15deg)}.art-controller{animation:float 4s ease-in-out infinite}.project-visual{background:linear-gradient(135deg,#6557eb,#d35ee8)}.section-head h2,.hero h1{letter-spacing:-1.6px}@keyframes float{50%{transform:translateY(-13px) rotate(-9deg)}}@keyframes twinkle{to{opacity:.3;transform:scale(.7)}}@media(prefers-reduced-motion:reduce){.art-controller,.hero-art:after{animation:none}}
/* Center the two project cards without affecting other grids */
.projects-centered{grid-template-columns:repeat(3,minmax(0,305px));justify-content:center;max-width:100%;margin-inline:auto}
@media(max-width:1000px){.projects-centered{grid-template-columns:repeat(2,minmax(0,305px))}}@media(max-width:700px){.projects-centered{grid-template-columns:minmax(0,1fr);max-width:400px}}

/* Premium icon navigation — Yambuzz Studio */
.nav{height:auto;min-height:88px}
.nav-inner{min-height:88px;gap:14px}
.links{gap:5px;flex:1;justify-content:center;font-size:12px}
.links a{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;padding:11px 10px;border:1px solid #e9e3ff;border-radius:12px;background:linear-gradient(180deg,#fff,#f8f6ff);box-shadow:0 3px 9px #5747c00b;transition:transform .2s,background .2s,box-shadow .2s,color .2s}
.links a:hover{color:#5c3bdf;background:#f0ebff;transform:translateY(-2px);box-shadow:0 6px 14px #6659ef20}
.links a.active{background:linear-gradient(135deg,#8656f5,#6039df);color:white;border-color:#7950ee;box-shadow:0 5px 16px #6659ef45}
.nav-icon{font-size:17px;line-height:1;font-weight:800;color:#7547e7}
.links a.active .nav-icon{color:white}
/* Keep Random Game a single horizontal pill, matching navigation cards */
.nav .nav-cta{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:8px;white-space:nowrap;min-width:155px;min-height:44px;padding:11px 15px;line-height:1.2;text-align:center;border-radius:12px;font-size:12px}
.nav .nav-cta .dice-icon{font-size:17px;line-height:1}
@media(min-width:1351px){.nav-inner.container{width:min(1450px,calc(100% - 40px))}.links{gap:6px}.links a{padding:11px 9px}}
@media(max-width:1350px) and (min-width:851px){.nav-inner{flex-wrap:wrap;padding-block:12px}.links{order:3;flex-basis:100%;justify-content:center}.links a{padding:10px 12px}}
@media(max-width:850px){.nav-inner{min-height:82px}.links{position:absolute;top:100%;gap:9px;align-items:stretch}.links a{justify-content:flex-start;padding:13px 16px;width:100%}.nav-cta{display:none}}


/* Yambuzz account actions — linked to the existing user authentication */
.nav-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.nav-auth{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 13px;border:1px solid #e6dfff;border-radius:12px;background:linear-gradient(180deg,#fff,#f8f6ff);color:#5947d5;font-size:12px;font-weight:800;white-space:nowrap;box-shadow:0 4px 12px #6659ef12;transition:transform .2s,box-shadow .2s}
.nav-auth:hover{transform:translateY(-2px);box-shadow:0 8px 18px #6659ef2b}
.nav-register{background:#f0ecff;border-color:#d9d0ff}
@media(max-width:1250px){.nav-inner{gap:12px}.links{gap:5px}.nav-auth{padding:10px 9px}.nav-cta{min-width:130px;padding:10px 11px}}
@media(max-width:850px){.nav-actions{margin-left:auto}.nav-cta{display:inline-flex}.nav-auth{min-height:40px}}
@media(max-width:520px){.nav-actions{gap:5px}.nav-cta{min-width:auto;font-size:0;padding:10px}.nav-cta .dice-icon{font-size:18px}.nav-auth{font-size:11px;padding:9px 7px}.brand{font-size:19px}}

.account-menu{position:relative;flex:0 0 auto}.account-trigger{border:1px solid #d9d4ff;border-radius:12px;background:#f6f4ff;color:#4b3cb7;display:flex;align-items:center;gap:9px;padding:7px 12px;font:800 13px 'DM Sans',sans-serif;cursor:pointer;max-width:205px}.account-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-avatar{width:28px;height:28px;flex:0 0 auto;border-radius:9px;display:grid;place-items:center;background:linear-gradient(140deg,#6559ef,#a35eea);color:#fff;font:900 14px Outfit,sans-serif}.account-avatar.large{width:43px;height:43px;border-radius:13px;font-size:20px}.account-panel{position:absolute;top:calc(100% + 12px);right:0;width:min(315px,calc(100vw - 24px));background:#171d35;border:1px solid #494575;color:white;border-radius:17px;padding:15px;box-shadow:0 20px 60px #0c102455;z-index:100}.account-panel[hidden]{display:none}.account-heading{display:flex;align-items:center;gap:12px;padding:5px 3px 15px;border-bottom:1px solid #ffffff20}.account-heading strong{display:block;font-size:15px;max-width:200px;overflow:hidden;text-overflow:ellipsis}.account-heading small{display:block;color:#aab3d0;font-size:11px;margin-top:5px}.account-metrics{display:flex;gap:8px;margin:15px 0}.account-metrics span{flex:1;background:#252b49;border-radius:9px;padding:10px 6px;text-align:center;font-size:11px;color:#d8d4ff}.account-full{display:block;text-align:center;background:linear-gradient(110deg,#6659ef,#9a56e6);color:white!important;border-radius:10px;padding:13px;font-size:13px;font-weight:800;margin-bottom:9px}.account-link{display:block;padding:11px 12px;color:#cbd2ef!important;font-size:12px;border-radius:8px}.account-link:hover{background:#292f51}@media(max-width:520px){.account-trigger{max-width:100px;padding:7px}.account-label{display:none}}
/* Universal Dark Mode Nav Rules */
html.yg-dark .links a{background:rgba(255,255,255,0.05)!important;color:#cbd5e1!important;border-color:rgba(255,255,255,0.08)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,0.05)!important}
html.yg-dark .links a:hover{background:rgba(255,255,255,0.12)!important;color:#fff!important;border-color:rgba(255,255,255,0.22)!important}
html.yg-dark .nav-auth{background:rgba(255,255,255,0.05)!important;border-color:rgba(255,255,255,0.12)!important;color:#f1f5f9!important}
html.yg-dark .nav-register{background:rgba(200,255,46,0.12)!important;border-color:rgba(200,255,46,0.4)!important;color:#c8ff2e!important}


.nav{height:auto;min-height:82px;position:relative;z-index:200;background:#fff}.nav-inner{min-height:82px}.nav .links{display:flex}.nav .nav-actions{display:flex}.nav .nav-cta{display:inline-flex}.nav .account-panel{z-index:9999}.nav .account-panel[hidden]{display:none}@media(max-width:850px){.nav .links{display:none}.nav .links.open{display:flex;z-index:201}}


/* Diamond VIP: fourth membership tier */
.vip-card.vip-diamond{border-color:#64cce9;background:linear-gradient(145deg,#e9fbff,#d5e8ff 70%,#f5edff);box-shadow:0 12px 32px rgba(46,154,210,.14)}
.vip-card.vip-diamond .loyalty-icon{color:#087fba}
.yg-profile-vip-diamond,.yg-public-vip-diamond{background:linear-gradient(120deg,#117da7,#5a79db,#8c5ad7)!important;color:#fff!important;border-color:#9ee9ff!important}
.account-vip-tile[data-vip-tier="diamond"],.account-trigger-vip[data-tier="diamond"]{background:linear-gradient(115deg,#137aab,#6c75d8)!important;color:#fff!important;border-color:#a1e8ff!important}


/* games/game-theme.css */
/* v6.76 — the game page follows the shared site theme; iframe content stays intact. */
body.yg-game-page{--game-bg:#f6f7fc;--game-panel:#fff;--game-soft:#faf7fe;--game-text:#30263d;--game-muted:#7c6d87;--game-line:#e0d3ec;--game-accent:var(--yg-accent,#8055bd);background:var(--game-bg)!important;color:var(--game-text)!important;font-family:'DM Sans',system-ui,sans-serif;color-scheme:light}
html.yg-dark body.yg-game-page{--game-bg:#0e1425;--game-panel:#1b2235;--game-soft:#20283c;--game-text:#f0e7f9;--game-muted:#b5a8c3;--game-line:#3c344f;--game-accent:var(--yg-accent-bright,#bc99e5);background:var(--game-bg)!important;color:var(--game-text)!important;color-scheme:dark}
.yg-game-page .game-page-toolbar{width:min(1320px,calc(100% - 48px));margin:20px auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.game-page-toolbar>a{font-size:15px;line-height:1.5;color:var(--game-accent);text-decoration:none;display:flex;align-items:center;gap:9px}.game-page-toolbar form{display:flex;gap:9px;max-width:490px;flex:1;justify-content:end}.game-page-toolbar input{min-width:0;flex:1;max-width:350px;background:var(--game-panel);border:1px solid var(--game-line);border-radius:11px;color:var(--game-text);font:400 16px 'DM Sans',sans-serif;padding:11px 14px}.game-page-toolbar button{border:1px solid var(--yg-accent-border,#d6bfe8);background:var(--yg-accent,#8055bd);color:#fff;border-radius:10px;padding:11px 17px;font:600 14px 'DM Sans',sans-serif;cursor:pointer}.yg-game-page .game-category-strip{padding:13px 0;border-block:1px solid var(--game-line);background:var(--game-panel)}.yg-game-page #dynamicCategoryContainer{width:min(1320px,calc(100% - 48px));max-width:1320px;display:flex;align-items:center;justify-content:flex-start;gap:10px;margin:auto;overflow-x:auto!important;padding:3px 0 8px;scrollbar-width:thin}.yg-game-page .category-box{background:var(--game-soft)!important;border:1px solid var(--game-line);color:var(--game-text)!important;border-radius:12px!important;padding:10px 15px!important;font-size:14px!important;box-shadow:none!important;text-decoration:none;line-height:1.4}.yg-game-page .category-box:hover{color:var(--game-accent)!important;border-color:var(--yg-accent-border,#c6b2dc)}
.yg-game-page .game-page-main{width:min(1320px,calc(100% - 48px));max-width:1320px;margin:0 auto;padding:30px 0 60px!important}.yg-game-page .game-page-main>.game-layout-grid{display:grid!important;grid-template-columns:minmax(0,2.1fr) minmax(270px,1fr)!important;gap:27px!important}.yg-game-page .game-page-main>.game-layout-grid>div{grid-column:auto!important;min-width:0}.yg-game-page .game-page-main h1{font:700 clamp(29px,3vw,40px)/1.2 Outfit,system-ui,sans-serif;margin-bottom:20px;color:var(--game-text)!important}.yg-game-page .game-page-main h2,.yg-game-page .game-page-main h3{color:var(--game-text)!important;line-height:1.4}.yg-game-page .game-page-main .bg-white{background:var(--game-panel)!important;color:var(--game-text);border:1px solid var(--game-line)!important;box-shadow:0 10px 26px #0c142008!important;border-radius:18px!important}.yg-game-page .game-page-main .bg-secondary-bg{background:var(--game-soft)!important;border-color:var(--game-line)!important}.yg-game-page .game-page-main .text-dark-gray,.yg-game-page .game-page-main .text-gray-700,.yg-game-page .game-page-main .text-gray-900{color:var(--game-text)!important}.yg-game-page .game-page-main .text-medium-gray,.yg-game-page .game-page-main .text-gray-500{color:var(--game-muted)!important}.yg-game-page .game-page-main .text-primary-dark,.yg-game-page .game-page-main .text-primary-light{color:var(--game-accent)!important}.yg-game-page .game-page-main .bg-primary-light,.yg-game-page .game-page-main .bg-primary-dark,.yg-game-page .game-page-main button.bg-accent-yellow{background:var(--yg-accent,#8055bd)!important;color:#fff!important}.yg-game-page .game-page-main textarea,.yg-game-page .game-page-main input{background:var(--game-soft)!important;color:var(--game-text)!important;border-color:var(--game-line)!important;border-radius:12px}.yg-game-page .game-page-main textarea::placeholder,.game-page-toolbar input::placeholder{color:var(--game-muted)}.yg-game-page .game-page-main p{color:inherit;line-height:1.85}.yg-game-page .game-page-main .border-light-gray{border-color:var(--game-line)!important}.yg-game-page .game-iframe-container{border:1px solid var(--game-line);border-radius:19px!important;box-shadow:0 12px 35px #06101f12;overflow:hidden}.yg-game-page .game-iframe-container iframe{display:block;border:0;width:100%}.yg-game-page .game-page-main .game-card img{border-radius:12px}.yg-game-page .game-page-main img{max-width:100%}.yg-game-page .game-page-main form button{min-height:42px}.yg-game-page .game-page-toolbar a:focus-visible,.yg-game-page .game-page-toolbar button:focus-visible,.yg-game-page .game-page-main button:focus-visible{outline:3px solid var(--yg-accent-bright,#bc99e5);outline-offset:3px}
html.yg-dark .yg-game-page .nav .brand .yg-brand-name{color:#eee6fa!important;-webkit-text-fill-color:#eee6fa!important}html.yg-dark .yg-game-page .nav .brand{background:linear-gradient(120deg,#23273c,#201f36)!important;border-color:#4f3b69!important}html.yg-dark .yg-game-page .nav .brand .yg-brand-name>span{color:var(--yg-accent-bright,#bc99e5)!important;-webkit-text-fill-color:var(--yg-accent-bright,#bc99e5)!important}
@media(max-width:950px){.yg-game-page .game-page-main>.game-layout-grid{grid-template-columns:1fr!important}.yg-game-page .game-page-main>.game-layout-grid>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:20px}.yg-game-page .game-page-main>.game-layout-grid>div:last-child>.my-6{grid-column:1/-1}.yg-game-page .game-page-main>.game-layout-grid>div:last-child>.bg-white{margin:0!important}.yg-game-page .game-page-main>.game-layout-grid>div:last-child .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.yg-game-page .game-page-toolbar,.yg-game-page .game-page-main,.yg-game-page #dynamicCategoryContainer{width:calc(100% - 28px)}.yg-game-page .game-page-toolbar{align-items:stretch;flex-direction:column;gap:14px}.game-page-toolbar form{max-width:none}.game-page-toolbar input{max-width:none}.yg-game-page .game-page-main{padding-top:23px!important}.yg-game-page .game-page-main>.game-layout-grid>div:last-child{grid-template-columns:1fr}.yg-game-page .game-page-main .p-6{padding:20px!important}.yg-game-page .game-page-main h1{font-size:30px}.yg-game-page .game-page-main .space-x-4>:not([hidden])~:not([hidden]){margin-left:0}}
.yg-game-page{font-family:'DM Sans',system-ui,sans-serif!important}.yg-game-page .game-page-main .p-6{padding:24px}.yg-game-page .game-page-main .mb-6{margin-bottom:24px}.yg-game-page .game-page-main .mb-4{margin-bottom:16px}.yg-game-page .game-page-main .mb-2{margin-bottom:8px}.yg-game-page .game-page-main>.game-layout-grid>div:last-child .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.yg-game-page .game-page-main>.game-layout-grid>div:last-child .grid img{width:100%;object-fit:cover;border-radius:10px}.yg-game-page>footer{background:var(--game-panel);color:var(--game-muted);border-top:1px solid var(--game-line)}

/* v7.22 — favorites share the existing browser collection used by the profile. */
.game-vote-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.game-vote-actions>*{margin:0!important}
body .game-vote-actions .game-favorite{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 15px;border:1px solid var(--yg-accent-border,#ceb8e4);border-radius:999px;background:var(--yg-accent-soft,#ede3f8);color:var(--yg-accent,#8055bd);font:700 14px/1.4 'DM Sans',system-ui,sans-serif;cursor:pointer;white-space:nowrap}
body .game-vote-actions .game-favorite[aria-pressed=true]{background:var(--yg-accent,#8055bd);color:#fff}
html.yg-dark body .game-vote-actions .game-favorite:not([aria-pressed=true]){background:#25243b;color:var(--yg-accent-bright,#bb98eb);border-color:#51415e}
.game-favorite:focus-visible{outline:3px solid var(--yg-accent-bright,#bb98eb);outline-offset:3px}

/* v7.25 — separate recommendation cards from the player/sidebar layout. */
.yg-game-page .game-page-main>.similar-games-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:20px!important;margin:0 0 30px;align-items:stretch}
.similar-games-grid>.game-card{min-width:0;padding:0!important;height:auto!important;transform:none!important;overflow:hidden;border-radius:17px!important}
.similar-games-grid>.game-card>a{display:flex!important;flex-direction:column;height:100%!important;text-decoration:none}
.yg-game-page .similar-games-grid .game-card img.game-image{display:block;width:100%!important;height:auto!important;aspect-ratio:3/2;object-fit:contain!important;flex:0 0 auto;background:var(--game-soft);border-radius:0!important;filter:none!important}
.yg-game-page .similar-games-grid .game-card .game-card-overlay{position:static!important;display:flex!important;align-items:center;justify-content:flex-start;flex:1;height:auto!important;min-height:58px;opacity:1!important;padding:11px 13px!important;background:transparent!important;overflow:visible!important}
.yg-game-page .similar-games-grid .game-card .game-card-overlay h3{margin:0;padding:0!important;color:var(--game-text)!important;font:600 15px/1.45 'DM Sans',system-ui,sans-serif;text-align:left;white-space:normal;overflow-wrap:anywhere}
@media(max-width:1050px){.yg-game-page .game-page-main>.similar-games-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:760px){.yg-game-page .game-page-main>.similar-games-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}}
@media(max-width:520px){.yg-game-page .game-page-main>.similar-games-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}}

/* v7.38 — game categories match the shared catalog ribbon. */
.yg-game-page .game-category-strip{box-sizing:border-box;width:min(1320px,calc(100% - 48px));margin:28px auto 8px;padding:16px 22px;border:1px solid var(--game-line);border-radius:18px;background:linear-gradient(115deg,var(--game-panel),var(--game-soft));overflow:visible}
.yg-game-page .game-category-strip #dynamicCategoryContainer{width:100%;max-width:none;margin:0;display:flex;flex-wrap:nowrap;justify-content:safe center;gap:11px;overflow:visible!important;padding:2px 0;box-sizing:border-box}
.yg-game-page .game-category-strip .category-box{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;box-sizing:border-box;padding:11px 14px!important;border-radius:11px!important;background:linear-gradient(130deg,var(--game-panel),var(--game-soft))!important;font-weight:600}
.yg-game-page .game-category-strip .category-box::before{content:'▦';font-size:18px;line-height:1;color:var(--game-accent)}
@media(max-width:600px){.yg-game-page .game-category-strip{width:calc(100% - 28px);padding:13px 16px;margin-top:20px}}

/* Shared action bar: stable groups, readable titles and matching controls. */
.game-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:20px}
.game-toolbar .game-play-count{margin:0;white-space:nowrap;font-size:14px;line-height:1.5;color:var(--yg-muted,#756980)}
.game-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;min-width:0}
.game-toolbar .game-vote-actions{flex-wrap:nowrap;gap:8px;width:auto}
.game-toolbar .game-vote-actions form{display:flex;margin:0}
body .game-toolbar button,body .game-toolbar .game-favorite{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;height:auto;width:auto;padding:10px 12px;border-radius:12px;font:700 14px/20px 'DM Sans',system-ui,sans-serif;white-space:nowrap;box-sizing:border-box}
.game-toolbar button i{margin:0;font-size:15px}
body .game-toolbar .game-report-open{border:1px solid var(--yg-accent-border,#ceb8e4);background:var(--yg-accent-soft,#ede3f8);color:var(--yg-accent,#8055bd);box-shadow:none}
body .game-toolbar .game-fullscreen{border:1px solid transparent;background:var(--yg-accent,#8055bd);color:white;cursor:pointer}
.game-toolbar .game-report-open svg{width:18px;height:18px}
.game-vote-summary{font-size:13px;white-space:nowrap;order:5;flex-basis:100%;text-align:end}
html.yg-dark body .game-toolbar .game-report-open{background:#25243b;color:var(--yg-accent-bright,#bb98eb);border-color:#51415e}
@media(max-width:1100px){.game-toolbar .game-play-count{flex-basis:100%}.game-toolbar-actions{justify-content:flex-start}}
@media(max-width:480px){.game-toolbar-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.game-toolbar .game-vote-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.game-toolbar .game-vote-actions form,.game-toolbar .game-vote-actions button{width:100%}body .game-toolbar button,body .game-toolbar .game-favorite{padding:10px 7px;font-size:13px}.game-vote-summary{grid-column:1/-1}.game-toolbar .game-play-count{font-size:14px}}

body .game-toolbar button[name=vote]{border:1px solid transparent;color:#fff;cursor:pointer}body .game-toolbar button[value=like]{background:#35a96b}body .game-toolbar button[value=dislike]{background:#df5656}body .game-toolbar button:hover{filter:brightness(1.06)}body .game-toolbar button:focus-visible{outline:3px solid var(--yg-accent-bright,#b990ea);outline-offset:3px}

html body .game-toolbar .game-favorite,html body .game-toolbar .game-report-open,html.yg-dark body .game-toolbar .game-favorite,html.yg-dark body .game-toolbar .game-report-open{background:var(--yg-accent,#8055bd);color:#fff;border:1px solid transparent;border-radius:12px;min-height:44px;padding:10px 12px}html body .game-toolbar button{min-height:44px}

.game-category-share{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;flex-wrap:wrap;margin-bottom:20px}.game-category-info{flex:1;min-width:130px}.game-share{max-width:350px;min-width:120px}.game-share summary{display:flex;align-items:center;justify-content:center;gap:8px;list-style:none;cursor:pointer;border:1px solid transparent;border-radius:12px;background:var(--yg-accent,#8055bd);color:white;font:700 14px/22px 'DM Sans',system-ui,sans-serif;padding:10px 16px;min-height:44px;box-sizing:border-box}.game-share summary::-webkit-details-marker{display:none}.game-share-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.game-share-options a,.game-share-options button{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px 12px;border:1px solid var(--yg-accent-border,#d4bde7);border-radius:10px;background:var(--yg-accent-soft,#f1e8fa);color:var(--yg-accent,#8055bd);font:700 13px/20px 'DM Sans',system-ui,sans-serif;text-decoration:none!important;cursor:pointer;box-sizing:border-box}.game-share-options [hidden]{display:none!important}.game-share-status{font-size:13px;line-height:1.5;margin:8px 0 0}.game-share-status:empty{display:none}.game-share-status input{width:100%;box-sizing:border-box}.game-share summary:focus-visible,.game-share-options a:focus-visible,.game-share-options button:focus-visible{outline:3px solid var(--yg-accent-bright,#bd9be8);outline-offset:3px}html.yg-dark .game-share-options a,html.yg-dark .game-share-options button{background:#28243b;color:var(--yg-accent-bright,#bd9be8);border-color:#51415e}@media(max-width:480px){.game-share{max-width:100%}.game-share[open]{flex-basis:100%}.game-share[open] summary{width:fit-content;margin-left:auto}}

.game-category-share .game-share:not([open]){align-self:flex-end}.game-category-share .game-category-info>h3{margin-top:0}.game-category-share .game-category-info>a{margin-bottom:0}

.game-share{max-width:400px}.game-share-tip{grid-column:1/-1;font-size:12px;line-height:1.7;margin:3px 0;opacity:.85}.game-share-options a:before{content:"↗";margin-right:7px}.game-share-options [data-share-copy]{grid-column:1/-1}.game-share[open] .game-share-options{padding:14px;border:1px solid var(--yg-accent-border,#d4bde7);border-radius:16px;background:var(--yg-accent-soft,#f7f2fc)}html.yg-dark .game-share[open] .game-share-options{background:#201d31}

.game-share-options a:before{content:none}.game-share-options a{gap:8px}.game-share-options a svg{flex:none}.game-share-options [data-share-copy]{grid-column:auto}.game-share-extra{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.game-share-options .game-share-tip{order:10}
.game-share-extra[hidden],.game-share [data-share-native][hidden]{display:none!important}.game-share-extra:not([hidden]){display:grid!important}.game-share-status>input{display:block;box-sizing:border-box;width:100%;min-width:0;padding:10px;border:1px solid var(--yg-accent-border,#d6c1ed);border-radius:9px;margin:9px 0;background:#fff;color:#30263f}.game-share-status>button{padding:9px 14px;border:1px solid var(--yg-accent-border,#d6c1ed);border-radius:9px;background:var(--yg-accent-soft,#f1e8fa);color:var(--yg-accent,#8055bd);font:700 12px system-ui;cursor:pointer}html.yg-dark .game-share-status>input{background:#222437;color:#eee6f8;border-color:#614a78}
.yg-game-page .game-category-strip .category-box::before{content:none!important;display:none!important}.yg-game-page .game-category-strip .category-box>svg{width:15px;height:15px;flex:none;color:var(--game-accent)}
html body .game-share>.game-share-options{padding:14px;border:1px solid var(--yg-accent-border,#d1b9e9);border-radius:20px;background:linear-gradient(145deg,#fff,#f6f0fd);box-shadow:0 14px 32px #61408616,inset 0 1px 0 #fff;gap:9px}html body .game-share-options>:is(a,button),html body .game-share-extra>:is(a,button){min-height:43px!important;border-radius:11px!important;border:1px solid var(--yg-accent-border,#d8c3ed)!important;background:#ffffffc9!important;box-shadow:0 3px 9px #65418a07!important;color:var(--yg-accent,#8055bd)!important;font-size:12px!important;font-weight:700!important;transition:background .18s,transform .18s}html body .game-share-options>:is(a,button):hover,html body .game-share-extra>:is(a,button):hover{background:var(--yg-accent-soft,#efe2fa)!important;transform:translateY(-1px)}html body .game-share-options [data-share-copy],html body .game-share-options [data-share-more]{background:var(--yg-accent-soft,#efe2fa)!important}html body .game-share-extra{padding-top:10px;border-top:1px solid var(--yg-accent-border,#d8c3ed)}html body .game-share-options .game-share-tip{font-size:11px!important;line-height:1.7!important;margin:6px 0 0!important;padding:11px 12px;border:1px solid var(--yg-accent-border,#dfd0ed);border-radius:11px;background:#ffffff80;color:#82708f}html body .game-share-status:not(:empty){margin-top:12px;padding:11px 14px;border:1px solid var(--yg-accent-border,#d8c3ed);border-radius:12px;background:var(--yg-accent-soft,#f1e8fa);font-size:12px}html.yg-dark body .game-share>.game-share-options{background:linear-gradient(145deg,#2d263e,#202235);border-color:#664d7e;box-shadow:0 14px 32px #0003}html.yg-dark body .game-share-options>:is(a,button),html.yg-dark body .game-share-extra>:is(a,button){background:#30283f!important;color:#ddc3f5!important;border-color:#604975!important}html.yg-dark body .game-share-options .game-share-tip{background:#1c1f3199;color:#b9a9c9;border-color:#58426b}html.yg-dark body .game-share-status:not(:empty){background:#30263f;color:#e2cef3;border-color:#604975}@media(prefers-reduced-motion:reduce){html body .game-share-options a,html body .game-share-options button{transition:none!important;transform:none!important}}

/* Match Discover Games category icons exactly. */
.yg-game-page .game-category-strip .category-box::before{content:'';display:block;flex:0 0 15px;width:15px;height:15px;background:var(--game-accent);opacity:.7;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='2' y='2' width='6' height='6' rx='1.5' fill='none' stroke='black' stroke-width='1.4'/%3E%3Crect x='12' y='2' width='6' height='6' rx='1.5' fill='none' stroke='black' stroke-width='1.4'/%3E%3Crect x='2' y='12' width='6' height='6' rx='1.5' fill='none' stroke='black' stroke-width='1.4'/%3E%3Crect x='12' y='12' width='6' height='6' rx='1.5' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat;content:""!important;display:block!important}

/* Voting summary has its own stable row, independent of button layout. */
html body.yg-game-page .game-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr)!important;justify-items:stretch!important;gap:10px!important;align-items:start!important}
html body.yg-game-page .game-toolbar>.game-play-count{justify-self:start!important;width:auto!important}
html body.yg-game-page .game-toolbar>.game-toolbar-actions{display:flex!important;justify-content:flex-start!important;align-items:center!important;flex-wrap:wrap!important;width:100%!important;min-width:0!important;gap:8px!important;margin:0!important}
html body.yg-game-page .game-toolbar .game-vote-actions{display:flex!important;justify-content:flex-start!important;flex-wrap:wrap!important;flex:0 1 auto!important;width:auto!important;gap:8px!important}
html body.yg-game-page .game-toolbar>.game-vote-summary{display:block!important;grid-column:1/-1!important;justify-self:start!important;min-height:18px!important;text-align:start!important;font-size:12px!important;margin:0!important;order:initial!important}
@media(max-width:480px){html body.yg-game-page .game-toolbar>.game-toolbar-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}html body.yg-game-page .game-toolbar .game-vote-actions{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important}html body.yg-game-page .game-toolbar .game-vote-actions :is(form,button){width:100%!important;min-width:0!important}html body.yg-game-page .game-toolbar button{padding:9px 6px!important;font-size:12px!important}}

/* Right aligned actions and voting summary. */
html body.yg-game-page .game-toolbar>.game-toolbar-actions{justify-content:flex-end!important}
html body.yg-game-page .game-toolbar>.game-vote-summary{justify-self:end!important;text-align:end!important}
@media(max-width:480px){html body.yg-game-page .game-toolbar>.game-toolbar-actions{justify-self:end!important}}

/* Shared baseline for play counter and actions when there is room. */
html body.yg-game-page .game-toolbar{grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;column-gap:12px!important;row-gap:7px!important}
html body.yg-game-page .game-toolbar>.game-play-count{grid-column:1!important;grid-row:1!important;margin:0!important;align-self:center!important}
html body.yg-game-page .game-toolbar>.game-toolbar-actions{grid-column:2!important;grid-row:1!important;align-self:center!important;flex-wrap:nowrap!important}
html body.yg-game-page .game-toolbar>.game-vote-summary{grid-row:2!important;grid-column:2!important}
html body.yg-game-page .game-toolbar .game-vote-actions{flex-wrap:nowrap!important}
@media(max-width:1250px) and (min-width:1101px),(max-width:900px){html body.yg-game-page .game-toolbar{grid-template-columns:minmax(0,1fr)!important}html body.yg-game-page .game-toolbar>.game-toolbar-actions{grid-column:1!important;grid-row:2!important;flex-wrap:wrap!important}html body.yg-game-page .game-toolbar>.game-vote-summary{grid-column:1!important;grid-row:3!important}}

html body.yg-game-page .game-toolbar .game-refresh{background:var(--yg-accent-soft,#eee7fb);border:1px solid var(--yg-accent-border,#d4c2e8);color:var(--yg-accent,#7952b5);cursor:pointer}html body.yg-game-page .game-toolbar .game-refresh:disabled{opacity:.6;cursor:wait}html body.yg-game-page .game-toolbar .game-refresh svg{flex-shrink:0}.game-toolbar-actions{overflow:visible}.game-toolbar button{max-width:100%}@media(min-width:901px){html body.yg-game-page .game-toolbar>.game-toolbar-actions{flex-wrap:wrap!important}}html.yg-dark body.yg-game-page .game-toolbar .game-refresh{background:#2a2942;color:#d6bfff}

/* Yambuzz game toolbar premium layout v2: consistent action sizes, no orphan Report. */
html body.yg-game-page .game-toolbar{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;padding:3px 0!important}
html body.yg-game-page .game-toolbar>.game-play-count{grid-column:1!important;grid-row:1!important;justify-self:start!important;min-height:44px!important}
html body.yg-game-page .game-toolbar>.game-toolbar-actions{grid-column:1!important;grid-row:2!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto auto!important;gap:9px!important;align-items:stretch!important;justify-content:stretch!important;flex-wrap:nowrap!important;width:100%!important}
html body.yg-game-page .game-toolbar .game-vote-actions{display:flex!important;flex-wrap:nowrap!important;gap:9px!important;min-width:0!important;width:auto!important;justify-content:flex-start!important;align-items:stretch!important}
html body.yg-game-page .game-toolbar .game-vote-actions form{display:flex!important;margin:0!important;min-width:0!important}
html body.yg-game-page .game-toolbar .game-toolbar-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:44px!important;height:100%!important;padding:10px 12px!important;border-radius:11px!important;font-size:13px!important;font-weight:700!important;line-height:1.25!important;white-space:nowrap!important;box-sizing:border-box!important;margin:0!important;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease!important}
html body.yg-game-page .game-toolbar .game-toolbar-actions button:hover{transform:translateY(-2px);filter:brightness(1.05)}
html body.yg-game-page .game-toolbar .game-toolbar-actions button i{margin:0!important}
html body.yg-game-page .game-toolbar>.game-vote-summary{grid-column:1!important;grid-row:3!important;justify-self:end!important;margin:0!important;min-height:0!important}
@media(min-width:1400px){html body.yg-game-page .game-toolbar{grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important}html body.yg-game-page .game-toolbar>.game-play-count{grid-column:1!important;grid-row:1!important}html body.yg-game-page .game-toolbar>.game-toolbar-actions{grid-column:2!important;grid-row:1!important}html body.yg-game-page .game-toolbar>.game-vote-summary{grid-column:2!important;grid-row:2!important}}
@media(max-width:1050px){html body.yg-game-page .game-toolbar>.game-toolbar-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body.yg-game-page .game-toolbar .game-vote-actions{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}html body.yg-game-page .game-toolbar .game-vote-actions form,html body.yg-game-page .game-toolbar .game-vote-actions button{width:100%!important}}
@media(max-width:520px){html body.yg-game-page .game-toolbar>.game-toolbar-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body.yg-game-page .game-toolbar .game-vote-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body.yg-game-page .game-toolbar .game-toolbar-actions button{font-size:11px!important;padding:9px 5px!important;white-space:normal!important}html body.yg-game-page .game-toolbar .game-toolbar-actions .game-report-open{grid-column:1/-1!important}}
@media(prefers-reduced-motion:reduce){html body.yg-game-page .game-toolbar .game-toolbar-actions button{transition:none!important}html body.yg-game-page .game-toolbar .game-toolbar-actions button:hover{transform:none!important}}

/* Yambuzz toolbar: prevent Like / Dislike text and icon clipping */
html body.yg-game-page .game-toolbar .game-vote-actions{flex:0 0 auto!important;min-width:max-content!important;gap:9px!important}
html body.yg-game-page .game-toolbar .game-vote-actions form{flex:0 0 auto!important;min-width:max-content!important;width:auto!important}
html body.yg-game-page .game-toolbar .game-vote-actions button{flex:0 0 auto!important;min-width:max-content!important;width:auto!important;padding-inline:13px!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;gap:7px!important}
html body.yg-game-page .game-toolbar .game-vote-actions button i{flex:0 0 auto!important;margin-right:2px!important}
html body.yg-game-page .game-toolbar>.game-toolbar-actions{grid-template-columns:max-content max-content max-content max-content!important;justify-content:start!important;overflow:visible!important}
@media(min-width:1400px){html body.yg-game-page .game-toolbar{grid-template-columns:minmax(0,1fr)!important}html body.yg-game-page .game-toolbar>.game-play-count{grid-column:1!important;grid-row:1!important}html body.yg-game-page .game-toolbar>.game-toolbar-actions{grid-column:1!important;grid-row:2!important}html body.yg-game-page .game-toolbar>.game-vote-summary{grid-column:1!important;grid-row:3!important}}
@media(max-width:850px){html body.yg-game-page .game-toolbar>.game-toolbar-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important}html body.yg-game-page .game-toolbar .game-vote-actions{display:flex!important;flex-wrap:wrap!important;min-width:0!important;width:100%!important}html body.yg-game-page .game-toolbar .game-vote-actions form{width:auto!important}html body.yg-game-page .game-toolbar .game-vote-actions button{width:auto!important;font-size:13px!important;padding:10px 12px!important;white-space:nowrap!important}}

/* Game-specific support shortcut beside Share */
.game-share-actions{display:flex;align-items:flex-start;justify-content:flex-end;gap:10px;flex-wrap:wrap}.game-donate-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 17px;border:1px solid #d8b4e8;border-radius:12px;background:linear-gradient(135deg,#a855c6,#7447af);color:#fff!important;text-decoration:none!important;font:700 14px/22px 'DM Sans',system-ui,sans-serif;white-space:nowrap;box-sizing:border-box;transition:filter .2s,transform .2s}.game-donate-link:hover{filter:brightness(1.08);transform:translateY(-1px)}.game-donate-link:focus-visible{outline:3px solid #b99ae6;outline-offset:3px}.game-share-actions .game-share{min-width:0}.game-share-actions .game-share:not([open]){align-self:auto}@media(max-width:480px){.game-share-actions{width:100%;justify-content:flex-start}.game-share-actions .game-share[open]{flex-basis:auto}}

/* v7.95 — Donate + Share side by side, Dislike/Like never clipped. */
html body.yg-game-page .game-category-share{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:flex-end!important;flex-wrap:wrap!important;gap:18px!important}
html body.yg-game-page .game-category-share .game-category-info{flex:1 1 220px!important;min-width:0!important}
html body.yg-game-page .game-share-actions{position:relative!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;width:auto!important;margin-left:auto!important}
html body.yg-game-page .game-share-actions>.game-donate-link,html body.yg-game-page .game-share-actions>.game-share>summary{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:44px!important;min-height:44px!important;padding:0 18px!important;margin:0!important;border-radius:12px!important;font:700 14px/1 'DM Sans',system-ui,sans-serif!important;white-space:nowrap!important;box-sizing:border-box!important;cursor:pointer!important;text-decoration:none!important;flex:0 0 auto!important}
html body.yg-game-page .game-share-actions>.game-donate-link{border:1px solid #d8b4e8!important;background:linear-gradient(135deg,#a855c6,#7447af)!important;color:#fff!important}
html body.yg-game-page .game-share-actions>.game-donate-link svg{flex:none!important;display:block!important;width:19px!important;height:19px!important}
html body.yg-game-page .game-share-actions>.game-donate-link span{display:inline!important;color:#fff!important}
html body.yg-game-page .game-share-actions>.game-share{flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:none!important;align-self:center!important}
html body.yg-game-page .game-share-actions>.game-share>summary{border:1px solid transparent!important;background:var(--yg-accent,#8055bd)!important;color:#fff!important}
html body.yg-game-page .game-share-actions>.game-share>summary svg{flex:none!important}
html body.yg-game-page .game-share-actions>.game-donate-link:hover,html body.yg-game-page .game-share-actions>.game-share>summary:hover{filter:brightness(1.08)}
/* the opened share panel floats under the buttons so Donate and Share stay on one line */
html body.yg-game-page .game-share-actions>.game-share[open]>.game-share-options{position:absolute!important;right:0!important;top:calc(100% + 10px)!important;z-index:30!important;width:min(340px,calc(100vw - 48px))!important;margin:0!important}
html body.yg-game-page .game-share-actions>.game-share[open]>.game-share-status{position:absolute!important;right:0!important;top:calc(100% + 10px)!important;z-index:31!important;width:min(340px,calc(100vw - 48px))!important}
html body.yg-game-page .game-category-share:has(.game-share[open]){margin-bottom:300px!important}
@media(max-width:480px){html body.yg-game-page .game-share-actions{width:100%!important;justify-content:stretch!important}html body.yg-game-page .game-share-actions>.game-donate-link,html body.yg-game-page .game-share-actions>.game-share{flex:1 1 0!important}html body.yg-game-page .game-share-actions>.game-share>summary{width:100%!important}html body.yg-game-page .game-share-actions>.game-share[open]>.game-share-options{width:100%!important}}

/* Like / Dislike: fixed icon box, button always as wide as its content */
html body.yg-game-page .game-toolbar .game-vote-actions form,html body.yg-game-page .game-toolbar .game-vote-actions form button{flex:0 0 auto!important;width:auto!important;min-width:max-content!important}
html body.yg-game-page .game-toolbar .game-vote-actions button[name=vote]{display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:10px 16px!important;white-space:nowrap!important;overflow:visible!important;border-radius:11px!important}
html body.yg-game-page .game-toolbar .game-vote-actions button[name=vote] i{display:inline-block!important;flex:0 0 18px!important;width:18px!important;text-align:center!important;margin:0!important;line-height:1!important}
html body.yg-game-page .game-toolbar .game-vote-actions button[value=like]{background:#35a96b!important;color:#fff!important}
html body.yg-game-page .game-toolbar .game-vote-actions button[value=dislike]{background:#df5656!important;color:#fff!important}

/* v7.96 — Played moved beside Donate; one unified pill style for Played / Donate / Share. */
html body.yg-game-page .game-toolbar{grid-template-columns:minmax(0,1fr)!important;row-gap:8px!important}
html body.yg-game-page .game-toolbar>.game-toolbar-actions{grid-column:1!important;grid-row:1!important}
html body.yg-game-page .game-toolbar>.game-vote-summary{grid-column:1!important;grid-row:2!important}
html body.yg-game-page .game-share-actions{gap:12px!important;align-items:center!important}
html body.yg-game-page .game-share-actions>.game-play-count{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0 18px!important;box-sizing:border-box!important;white-space:nowrap!important;flex:0 0 auto!important;border:1px solid var(--yg-accent-border,#d5c1e9)!important;border-radius:12px!important;background:var(--yg-accent-soft,#f1e9fa)!important;color:var(--yg-accent,#6b46a8)!important;font:600 14px/1 'DM Sans',system-ui,sans-serif!important;box-shadow:none!important}
html body.yg-game-page .game-share-actions>.game-play-count svg{flex:none!important;width:18px!important;height:18px!important;display:block!important}
html body.yg-game-page .game-share-actions>.game-play-count span{display:inline!important;font:inherit!important;color:inherit!important}
html body.yg-game-page .game-share-actions>.game-play-count .font-bold{font-weight:800!important;font-size:15px!important;color:var(--yg-accent,#5b3a99)!important}
html.yg-dark body.yg-game-page .game-share-actions>.game-play-count{background:#2a2942!important;border-color:#51415e!important;color:#d6bfff!important}
html.yg-dark body.yg-game-page .game-share-actions>.game-play-count .font-bold{color:#ecdcff!important}
@media(max-width:640px){html body.yg-game-page .game-share-actions{flex-wrap:wrap!important;width:100%!important;justify-content:stretch!important}html body.yg-game-page .game-share-actions>.game-play-count{flex:1 1 100%!important}html body.yg-game-page .game-share-actions>.game-donate-link,html body.yg-game-page .game-share-actions>.game-share{flex:1 1 0!important}html body.yg-game-page .game-share-actions>.game-share>summary{width:100%!important}}

/* v7.97 — larger Favorite heart */
html body.yg-game-page .game-toolbar .game-favorite .yg-fav-heart{display:inline-block!important;font-size:24px!important;line-height:1!important;font-family:'Segoe UI Symbol','Apple Symbols','Noto Sans Symbols 2',system-ui,sans-serif!important;font-weight:400!important;transform:translateY(-1px)}

/* Yambuzz — premium game description with a stable 3-line height */
.yg-game-page .yg-game-description-card,
.yg-game-description-card {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 18px 0 22px;
  padding: 17px 20px 19px;
  border: 1px solid #d9cdf2;
  border-radius: 17px;
  background: linear-gradient(135deg,#fff 0%,#faf8ff 100%);
  box-shadow: 0 3px 14px rgba(70,47,145,.035);
}
.yg-game-description-title {
  margin: 0 0 9px;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.4;
  color: #251c46;
}
.yg-game-description-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: anywhere;
  white-space: normal;
  margin: 0;
  max-height: 4.8em;
  line-height: 1.6;
  font-size: 14px;
  color: #75678d;
}
@media(max-width:640px){.yg-game-description-card{padding:15px 16px;margin:16px 0 20px}}

/* 7.99: force description card across theme variants */
html body.yg-game-page section.yg-game-description-card{display:block!important;border:1px solid #d4c3ee!important;border-radius:16px!important;background:linear-gradient(135deg,#fff,#f7f3ff)!important;padding:18px 20px!important;margin:18px 0 22px!important;box-shadow:0 4px 16px rgba(70,47,145,.06)!important}
html body.yg-game-page section.yg-game-description-card p.yg-game-description-text{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;line-clamp:3!important;overflow:hidden!important;max-height:4.8em!important;line-height:1.6!important;white-space:normal!important}
html.yg-dark body.yg-game-page section.yg-game-description-card{background:linear-gradient(135deg,#202038,#292442)!important;border-color:#65538b!important}
html.yg-dark body.yg-game-page section.yg-game-description-card h3,html.yg-dark body.yg-game-page section.yg-game-description-card p{color:#f1ebff!important}

/* 8.00: expandable description, respects prior !important clamp and inline styles */
html body.yg-game-page .yg-game-description-card .yg-game-description-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:0;margin:0 0 9px;border:0;background:transparent;color:#251c46;font:inherit;font-size:17px;font-weight:750;text-align:left;cursor:pointer}
html body.yg-game-page .yg-game-description-toggle:focus-visible{outline:2px solid #7752bd;outline-offset:5px;border-radius:4px}
.yg-description-chevron{font-size:22px;line-height:1;transition:transform .2s ease;color:#7952b8}
html body.yg-game-page .yg-game-description-card.yg-description-expanded .yg-description-chevron{transform:rotate(180deg)}
html body.yg-game-page .yg-game-description-card.yg-description-expanded p.yg-game-description-text{display:block!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;max-height:none!important;overflow:visible!important;text-overflow:clip!important}
html.yg-dark body.yg-game-page .yg-game-description-card .yg-game-description-toggle{color:#f1ebff}

/* Random Game beside Back to Results */
.yg-results-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 18px}
.yg-results-actions .yg-results-return{margin:0!important}
.yg-results-actions .yg-random-direct{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 16px;border:1px solid #b8a8ed;border-radius:10px;background:#5143a7;color:#fff!important;font-weight:700;text-decoration:none;white-space:nowrap;transition:background .18s,transform .18s}
.yg-results-actions .yg-random-direct:hover{background:#6b55c4;transform:translateY(-1px)}
@media(max-width:480px){.yg-results-actions{gap:8px}.yg-results-actions .yg-random-direct{padding:9px 12px}}
/* Longer translations (es, de, fr…) wrap the game buttons onto a new row instead of spilling out of the card. */
@media(min-width:521px){
html body.yg-game-page .game-toolbar>.game-toolbar-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:stretch!important;gap:9px!important;width:100%!important;min-width:0!important;max-width:100%!important;grid-template-columns:none!important}
html body.yg-game-page .game-toolbar .game-vote-actions{display:flex!important;flex-wrap:wrap!important;flex:0 1 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;grid-column:auto!important}
html body.yg-game-page .game-toolbar .game-toolbar-actions button{max-width:100%!important}
}
/* Google Drive / Google Play games: cover image with a download button instead of an iframe. */
.game-iframe-container.game-download-card{background:#15112b}
.game-download-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(22px) brightness(.45) saturate(1.2);transform:scale(1.15)}
.game-download-content{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:28px;padding:24px;color:#fff;background:linear-gradient(135deg,rgba(18,14,40,.55),rgba(60,40,110,.35))}
.game-download-cover{width:min(32%,220px);height:auto;aspect-ratio:1;object-fit:cover;border-radius:22px;border:1px solid rgba(255,255,255,.18);box-shadow:0 18px 40px rgba(0,0,0,.45)}
.game-download-info{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;max-width:380px}
.game-download-source{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;background:#fff;color:#3c4043;font:600 13px/1 system-ui,-apple-system,"Segoe UI",sans-serif}
.game-download-title{font-size:clamp(20px,2.6vw,30px);font-weight:800;line-height:1.15;overflow-wrap:anywhere}
.game-download-info p{margin:0;font-size:15px;color:rgba(255,255,255,.84)}
.game-download-button{display:inline-flex;align-items:center;gap:10px;padding:13px 22px;border-radius:14px;background:linear-gradient(135deg,#8b5cf6,#6d28d9);color:#fff!important;font-size:16px;font-weight:800;text-decoration:none;box-shadow:0 10px 24px rgba(109,40,217,.45);transition:transform .15s,filter .15s}
.game-download-button:hover{transform:translateY(-2px);filter:brightness(1.08)}
.game-download-button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.game-download-info small{font-size:12px;color:rgba(255,255,255,.66)}
@media(max-width:640px){.game-iframe-container.game-download-card{height:auto;padding-bottom:0}.game-download-content{position:relative;flex-direction:column;gap:16px;padding:28px 18px;text-align:center}.game-download-info{align-items:center}.game-download-cover{width:120px}}
@media(prefers-reduced-motion:reduce){.game-download-button{transition:none}.game-download-button:hover{transform:none}}
/* Phones: one clean 3-column grid for the game buttons (older rules made them overlap: Like over Refresh, Dislike over Report). */
@media(max-width:520px){
html body.yg-game-page.yg-game-page .game-toolbar.game-toolbar>.game-toolbar-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:auto!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:100%!important;justify-content:stretch!important;align-items:stretch!important;overflow:visible!important}
html body.yg-game-page.yg-game-page .game-toolbar.game-toolbar .game-vote-actions{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:100%!important;flex:none!important;margin:0!important}
html body.yg-game-page.yg-game-page .game-toolbar.game-toolbar .game-vote-actions>form{display:flex!important;width:100%!important;min-width:0!important;max-width:100%!important;flex:none!important;margin:0!important}
html body.yg-game-page.yg-game-page .game-toolbar.game-toolbar .game-toolbar-actions button,html body.yg-game-page.yg-game-page .game-toolbar.game-toolbar .game-vote-actions button[name=vote]{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:46px!important;padding:10px 6px!important;font-size:12.5px!important;line-height:1.2!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;text-align:center!important;overflow-wrap:anywhere!important;-webkit-hyphens:auto;hyphens:auto;grid-column:auto!important;transform:none!important}
html body.yg-game-page.yg-game-page .game-toolbar.game-toolbar .game-toolbar-actions button>svg,html body.yg-game-page.yg-game-page .game-toolbar.game-toolbar .game-toolbar-actions button>i{flex:0 0 auto!important;margin:0!important}
html body.yg-game-page.yg-game-page .game-toolbar.game-toolbar .game-favorite .yg-fav-heart{font-size:18px!important;transform:none!important}
/* Long labels wrap to a second line instead of being cut (keeps the icon visible too). */
html body.yg-game-page.yg-game-page .game-toolbar.game-toolbar .game-toolbar-actions button .yg-fit-text{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
html body.yg-game-page.yg-game-page .game-toolbar.game-toolbar .game-toolbar-actions button.yg-fit{overflow:visible!important;text-overflow:clip!important}
}

/* Mobile fit: the 16:9 frame never gets taller than the screen (landscape phones showed the game's bottom controls cut off). */
.yg-game-page .game-iframe-container:not(.game-download-card){padding-bottom:0!important;height:auto;aspect-ratio:16/9;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}
@supports not (aspect-ratio:16/9){.yg-game-page .game-iframe-container:not(.game-download-card){height:min(56.25vw,calc(100vh - 16px))}}
@media (orientation:landscape) and (max-height:560px){.yg-game-page .game-iframe-container:not(.game-download-card){border-radius:12px!important;scroll-margin-top:8px}}
.game-iframe-container:fullscreen{width:100vw!important;height:100vh!important;height:100dvh!important;max-height:none!important;aspect-ratio:auto!important;padding:0!important;border:0!important;border-radius:0!important}
.game-iframe-container:-webkit-full-screen{width:100vw!important;height:100vh!important;max-height:none!important;padding:0!important;border:0!important;border-radius:0!important}

/* Game page: equal premium toolbar buttons, Played next to the categories, three equal share buttons; long labels end in "..." */
html body .game-toolbar,html body .game-toolbar>.game-toolbar-actions{width:100%!important}
html body .game-toolbar>.game-toolbar-actions.game-toolbar-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;justify-content:center!important}
html body .game-toolbar>.game-toolbar-actions .game-vote-actions.game-vote-actions,html body .game-toolbar>.game-toolbar-actions form.inline-block{display:contents!important}
html body .game-toolbar>.game-toolbar-actions button{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;justify-content:center!important;overflow:hidden!important;border-radius:14px!important;transition:transform .15s,box-shadow .15s!important}
html body .game-toolbar>.game-toolbar-actions button:hover{transform:translateY(-2px)}
html body .game-toolbar>.game-toolbar-actions button>span:not(.yg-fav-heart){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .game-toolbar>.game-toolbar-actions :is(.game-refresh,.game-fullscreen,.game-report-open){background:linear-gradient(180deg,#fff,#f3efff)!important;border:1px solid rgba(110,80,220,.22)!important;color:#3b2a7a!important;box-shadow:0 6px 16px rgba(80,50,180,.10),inset 0 1px 0 #fff!important}
html body .game-toolbar>.game-toolbar-actions .game-favorite{background:linear-gradient(135deg,#7b5cf0,#4b33b8)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 8px 20px rgba(91,60,200,.3),inset 0 1px 0 rgba(255,255,255,.25)!important}
html.yg-dark body .game-toolbar>.game-toolbar-actions :is(.game-refresh,.game-fullscreen,.game-report-open){background:linear-gradient(180deg,#2c2747,#231f3a)!important;color:#d9ccff!important;border-color:rgba(160,130,255,.25)!important;box-shadow:0 6px 16px rgba(0,0,0,.3)!important}
@media(max-width:380px){html body .game-toolbar>.game-toolbar-actions.game-toolbar-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* v6.77 — one premium, ratio-safe player frame for every game.
   The width shrinks when viewport height is the limiting dimension, so older
   games keep a true 16:9 stage instead of receiving a cropped, extra-wide iframe. */
.yg-game-page .game-iframe-container:not(.game-download-card):not(:fullscreen):not(.yg-pseudo-fs){
 width:min(100%,calc((100dvh - 18px) * 16 / 9))!important;
 height:auto!important;max-height:none!important;aspect-ratio:16/9!important;
 margin-inline:auto!important;padding:2px!important;box-sizing:border-box!important;
 border:2px solid transparent!important;border-radius:22px!important;
 background:linear-gradient(#050817,#050817) padding-box,
            linear-gradient(135deg,#27e9ff 0%,#5568ff 38%,#a65cff 70%,#ffbd45 100%) border-box!important;
 box-shadow:0 22px 52px rgba(18,22,65,.28),0 0 0 6px rgba(83,104,255,.07),inset 0 1px rgba(255,255,255,.2)!important;
}
.yg-game-page .game-iframe-container:not(.game-download-card):not(:fullscreen):not(.yg-pseudo-fs)>iframe{
 inset:2px!important;width:calc(100% - 4px)!important;height:calc(100% - 4px)!important;
 border-radius:18px!important;background:#030611!important;
}
.game-iframe-container:fullscreen,.game-iframe-container:-webkit-full-screen,.game-iframe-container.yg-pseudo-fs{
 box-sizing:border-box!important;overflow:hidden!important;background:#030611!important;
}
.game-iframe-container:fullscreen>iframe,.game-iframe-container:-webkit-full-screen>iframe,.game-iframe-container.yg-pseudo-fs>iframe{
 display:block!important;inset:0!important;width:100%!important;height:100%!important;
 max-width:none!important;max-height:none!important;border:0!important;border-radius:0!important;background:#030611!important;
}
@media(max-width:700px){
 .yg-game-page .game-iframe-container.yg-mobile-small:not(:fullscreen):not(.yg-pseudo-fs){
  width:100%!important;padding:2px!important;
 }
 .yg-game-page .game-iframe-container.yg-mobile-small:not(:fullscreen):not(.yg-pseudo-fs)>iframe{
  inset:2px!important;width:calc(100% - 4px)!important;height:calc(100% - 4px)!important;
 }
}
html body .game-category-info .yg-cat-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
html body .game-category-info a[href*="category.php"]{display:inline-flex!important;align-items:center;gap:7px;height:40px;padding:0 16px 0 12px!important;border-radius:14px!important;background:linear-gradient(135deg,#7b5cf0,#4b33b8)!important;color:#fff!important;font-weight:800!important;border:1px solid rgba(255,255,255,.18);box-shadow:0 8px 18px rgba(91,60,200,.28),inset 0 1px 0 rgba(255,255,255,.25)!important;transition:transform .15s}
html body .game-category-info a[href*="category.php"]::before{content:"";width:8px;height:8px;border-radius:50%;background:#ffd36e;box-shadow:0 0 8px #ffd36e}
html body .game-category-info a[href*="category.php"]:hover{transform:translateY(-2px)}
html body .game-category-info .game-play-count{display:inline-flex!important;align-items:center!important;gap:8px!important;height:40px!important;margin:0!important;padding:0 14px 0 5px!important;border-radius:14px!important;border:1px solid rgba(255,211,110,.38)!important;background:linear-gradient(135deg,#231a4a,#3d2a8a 60%,#5b3cc4)!important;color:#e9e2ff!important;box-shadow:0 8px 18px rgba(60,30,140,.25),inset 0 1px 0 rgba(255,255,255,.12)!important;font-weight:700!important;font-size:14px!important;white-space:nowrap}
html body .game-category-info .game-play-count>svg{width:30px!important;height:30px!important;padding:8px 7px 8px 9px!important;box-sizing:border-box!important;border-radius:10px!important;background:linear-gradient(135deg,#ffd36e,#ff9f43)!important;flex:0 0 30px!important}
html body .game-category-info .game-play-count>svg path{fill:#2a1a05;stroke:#2a1a05}
html body .game-category-info .game-play-count .font-bold{color:#ffd36e!important;font-weight:800!important}
html body .game-category-info .game-play-count span{color:inherit}
html body .game-category-share .game-share-actions{display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:10px!important;width:100%!important;max-width:none!important;flex:1 1 100%!important}
html body .game-category-share .game-share-actions>*{min-width:0!important;max-width:none!important;margin:0!important}
html body .game-category-share .game-share-actions :is(.game-donate-link,.game-share>summary,.game-invite-open){display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%!important;height:46px!important;padding:0 12px!important;border-radius:14px!important;border:1px solid rgba(255,255,255,.18)!important;color:#fff!important;font:800 14px/1.1 'DM Sans',system-ui,sans-serif!important;box-sizing:border-box;white-space:nowrap;overflow:hidden;box-shadow:0 10px 22px rgba(70,40,170,.22),inset 0 1px 0 rgba(255,255,255,.22)!important;transition:transform .15s;cursor:pointer}
html body .game-category-share .game-share-actions .game-donate-link{background:linear-gradient(135deg,#d06be0,#8e3fc4)!important}
html body .game-category-share .game-share-actions .game-share>summary{background:linear-gradient(135deg,#6d55ec,#4232b0)!important}
html body .game-category-share .game-share-actions .game-invite-open{background:linear-gradient(135deg,#2fc58d,#14946a)!important}
html body .game-category-share .game-share-actions :is(.game-donate-link,.game-share>summary,.game-invite-open):hover{transform:translateY(-2px)}
html body .game-category-share .game-share-actions :is(.game-donate-link,.game-share>summary,.game-invite-open)>span{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .game-category-share .game-share[open]{grid-column:1/-1;grid-row:2}
@media(max-width:640px){html body .game-category-share .game-share-actions :is(.game-donate-link,.game-share>summary,.game-invite-open){flex-direction:column!important;height:64px!important;gap:5px!important;font-size:13px!important;padding:8px 6px!important}}
/* "Your Play Session" panel (playtime.js): premium card, stat tiles and gradient mission bars */
html body .session-progress-panel{border:1px solid rgba(124,92,255,.22)!important;border-radius:20px!important;background:radial-gradient(circle at 100% 0,rgba(255,211,110,.16),transparent 40%),linear-gradient(180deg,#fff,#f6f2ff)!important;box-shadow:0 14px 34px rgba(80,50,180,.10),inset 0 1px 0 #fff!important;padding:4px 18px!important;overflow:hidden}
html body .session-progress-panel>details>summary{display:flex!important;align-items:center;gap:10px;list-style:none;cursor:pointer;padding:12px 0!important;font:800 16px/1.2 'DM Sans',system-ui,sans-serif!important;color:#2b1f5c!important}
html body .session-progress-panel>details>summary::-webkit-details-marker{display:none}
html body .session-progress-panel>details>summary::after{content:"";margin-left:auto;width:9px;height:9px;border-right:2px solid #6d55ec;border-bottom:2px solid #6d55ec;transform:rotate(45deg) translateY(-3px);transition:transform .2s}
html body .session-progress-panel>details[open]>summary::after{transform:rotate(225deg) translateY(-1px)}
html body .session-progress-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:2px 0 14px!important}
html body .session-progress-grid>span{display:flex!important;flex-direction:column;justify-content:center;gap:4px;min-width:0;min-height:66px;padding:10px 14px!important;border-radius:14px!important;border:1px solid rgba(124,92,255,.18)!important;background:linear-gradient(180deg,#fff,#f3efff)!important;box-shadow:0 6px 16px rgba(80,50,180,.08)!important;color:#6b5a99!important;font:700 12px/1.25 'DM Sans',system-ui,sans-serif!important;letter-spacing:.04em;text-transform:uppercase;overflow:hidden;text-overflow:ellipsis}
html body .session-progress-grid>span strong{font:800 20px/1.1 'DM Sans',system-ui,sans-serif!important;color:#3b2a7a!important;letter-spacing:0;text-transform:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .session-progress-grid>span[data-session-status]{text-transform:none;letter-spacing:0;font-size:13px!important;color:#1d8a5f!important;background:linear-gradient(180deg,#f2fcf7,#e2f7ec)!important;border-color:rgba(34,176,125,.3)!important}
html body .session-progress-panel [data-session-mission]{display:grid;gap:12px;margin-bottom:12px}
html body .session-progress-panel [data-session-mission] label{display:block;font:700 13px/1.3 'DM Sans',system-ui,sans-serif;color:#3b2a7a;margin:0 0 -6px}
html body .session-progress-panel [data-session-mission] progress{-webkit-appearance:none;appearance:none;display:block;width:100%;height:10px;border:0;border-radius:999px;overflow:hidden;background:rgba(124,92,255,.14)}
html body .session-progress-panel [data-session-mission] progress::-webkit-progress-bar{background:rgba(124,92,255,.14);border-radius:999px}
html body .session-progress-panel [data-session-mission] progress::-webkit-progress-value{background:linear-gradient(90deg,#7b5cf0,#b26bff 60%,#ffd36e);border-radius:999px}
html body .session-progress-panel [data-session-mission] progress::-moz-progress-bar{background:linear-gradient(90deg,#7b5cf0,#b26bff 60%,#ffd36e);border-radius:999px}
html body .session-progress-panel>details>a{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;padding:10px 16px;border-radius:12px;background:linear-gradient(135deg,#6d55ec,#4232b0);color:#fff!important;font:800 14px/1 'DM Sans',system-ui,sans-serif;text-decoration:none!important;box-shadow:0 8px 18px rgba(70,40,170,.25)}
html body .session-progress-panel>details>a::after{content:"→"}
html body .session-progress-panel>details>a:hover{transform:translateY(-1px)}
html.yg-dark body .session-progress-panel{background:radial-gradient(circle at 100% 0,rgba(255,211,110,.10),transparent 40%),linear-gradient(180deg,#221d3a,#1a162e)!important;border-color:rgba(160,130,255,.22)!important;box-shadow:0 14px 34px rgba(0,0,0,.35)!important}
html.yg-dark body .session-progress-panel>details>summary,html.yg-dark body .session-progress-panel [data-session-mission] label{color:#e6dcff!important}
html.yg-dark body .session-progress-grid>span{background:linear-gradient(180deg,#2c2747,#231f3a)!important;border-color:rgba(160,130,255,.22)!important;color:#b7a8e6!important}
html.yg-dark body .session-progress-grid>span strong{color:#fff!important}
html.yg-dark body .session-progress-grid>span[data-session-status]{background:linear-gradient(180deg,#173a2c,#122e23)!important;color:#7ff0bd!important}
@media(max-width:560px){html body .session-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body .session-progress-grid>span[data-session-status]{grid-column:1/-1;min-height:0}}
/* category chip and Played counter: same height, same box */
html body .game-category-info .yg-cat-row>a[href*="category.php"],html body .game-category-info .yg-cat-row>.game-play-count{height:42px!important;min-height:42px!important;max-height:42px!important;box-sizing:border-box!important;line-height:1!important;margin:0!important;border-radius:14px!important;border-width:1px!important;border-style:solid!important;font-size:14px!important;vertical-align:middle}
html body .game-category-info .yg-cat-row>a[href*="category.php"]{padding:0 16px 0 14px!important;border-color:rgba(255,255,255,.22)!important}
html body .game-category-info .yg-cat-row>.game-play-count>svg{width:32px!important;height:32px!important;flex:0 0 32px!important}
/* category strip at the top of the game page: premium chips, each with a colored icon tile */
html body .game-category-strip #dynamicCategoryContainer{align-items:center!important;gap:10px!important;padding-top:6px!important;padding-bottom:10px!important}
html body .game-category-strip #dynamicCategoryContainer>.category-box{--c:#8a5cf0;--d:#5b36c4;display:inline-flex!important;align-items:center!important;gap:9px!important;height:44px!important;padding:0 16px 0 7px!important;margin:0!important;border-radius:14px!important;border:1px solid color-mix(in srgb,var(--c) 24%,#fff)!important;background:linear-gradient(180deg,#fff,color-mix(in srgb,var(--c) 8%,#fff))!important;color:#2b1f5c!important;font:700 14px/1 'DM Sans',system-ui,sans-serif!important;white-space:nowrap!important;box-shadow:0 6px 16px color-mix(in srgb,var(--d) 12%,transparent),inset 0 1px 0 #fff!important;transition:transform .15s,box-shadow .15s!important;box-sizing:border-box!important;flex:0 0 auto}
html body .game-category-strip #dynamicCategoryContainer>.category-box::before{content:""!important;display:block!important;flex:0 0 30px!important;width:30px!important;height:30px!important;border-radius:10px!important;opacity:1!important;-webkit-mask:none!important;mask:none!important;background:radial-gradient(circle at 50% 50%,#fff 0 3px,transparent 3.5px),linear-gradient(135deg,var(--c),var(--d))!important;box-shadow:0 4px 10px color-mix(in srgb,var(--d) 30%,transparent)!important}
html body .game-category-strip #dynamicCategoryContainer>.category-box:hover{transform:translateY(-2px);box-shadow:0 10px 22px color-mix(in srgb,var(--d) 22%,transparent),inset 0 1px 0 #fff!important}
html body .game-category-strip #dynamicCategoryContainer>.category-box:nth-child(5n+2){--c:#3b8cf0;--d:#1f5fc4}
html body .game-category-strip #dynamicCategoryContainer>.category-box:nth-child(5n+3){--c:#22b07d;--d:#0f7a57}
html body .game-category-strip #dynamicCategoryContainer>.category-box:nth-child(5n+4){--c:#f0a63b;--d:#c25a12}
html body .game-category-strip #dynamicCategoryContainer>.category-box:nth-child(5n+5){--c:#e0458f;--d:#b52a6c}
html.yg-dark body .game-category-strip #dynamicCategoryContainer>.category-box{background:linear-gradient(180deg,#26213f,#1d1934)!important;border-color:#3a3360!important;color:#e0d6ff!important}

/* ==========================================================================
   YAMBUZZ CYBER THEATER MODE & HUD STATUS
   ========================================================================== */
body.yg-theater-mode .game-iframe-container {
  width: 96vw !important;
  max-width: 1700px !important;
  height: 82vh !important;
  height: 82dvh !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin-left: calc(-48vw + 50%) !important;
  margin-right: calc(-48vw + 50%) !important;
  box-shadow: 0 25px 80px rgba(0,0,0,0.85), 0 0 45px rgba(139, 92, 246, 0.3) !important;
  border: 1px solid rgba(139, 92, 246, 0.5) !important;
  z-index: 50 !important;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
.yg-game-hud-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.yg-hud-fps, .yg-hud-gamepad {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font: 800 12px/1  DM Sans, system-ui, sans-serif;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}
.yg-hud-fps b {
  color: #34d399;
  font-weight: 900;
}
.yg-hud-gamepad {
  background: rgba(196, 248, 42, 0.12);
  border-color: rgba(196, 248, 42, 0.35);
  color: #c4f82a;
}
.yg-hud-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c4f82a;
  box-shadow: 0 0 8px #c4f82a;
  animation: ygPulse 1.5s infinite;
}
@keyframes ygPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.game-theater {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font: 800 13px/1 DM Sans, system-ui, sans-serif;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}
.game-theater:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-1px);
}
.game-theater.active {
  background: linear-gradient(135deg, #7c3aed, #4f46e5) !important;
  color: #fff !important;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.5) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}


/* games/reviews.css */
.yg-reviews{margin:32px 0;padding:26px;border:1px solid var(--yg-accent-border,#dacbeb);border-radius:22px;background:#fff;color:#30233f;min-width:0}.review-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.yg-reviews h2{font:700 27px/1.3 Outfit,system-ui;margin:8px 0}.review-kicker{font-size:11px;font-weight:700;letter-spacing:1.3px;color:var(--yg-accent,#8055bd)}.yg-reviews label{display:block;font-size:15px;font-weight:600;margin:15px 0 8px}.yg-reviews textarea,.yg-reviews select{box-sizing:border-box;width:100%;border:1px solid var(--yg-accent-border,#dacbeb);background:#fbf8fe;color:#30233f;border-radius:12px;padding:12px 14px;font:16px/1.6 system-ui;resize:vertical}.yg-reviews select{max-width:260px}.yg-reviews button{border:1px solid var(--yg-accent-border,#dacbeb);background:var(--yg-accent,#8055bd);color:#fff;border-radius:11px;padding:11px 16px;min-height:44px;font:600 14px/1.4 system-ui;cursor:pointer}.yg-reviews button:disabled{opacity:.5;cursor:wait}.review-note{font-size:13px!important;line-height:1.6;color:#756582}.review-actions{display:flex;flex-wrap:wrap;gap:10px}.review-item{border-top:1px solid var(--yg-accent-border,#dacbeb);padding:21px 0}.review-item:first-child{margin-top:24px}.review-item p{font-size:16px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}.review-item small{font-size:13px;color:#756582}.review-item strong{display:block;overflow-wrap:anywhere}.review-stars{color:var(--yg-accent,#8055bd);font-size:19px;letter-spacing:2px}.yg-reviews a{color:var(--yg-accent,#8055bd)}#review-message.is-error{color:#b84055}html.yg-dark .yg-reviews{background:#1e2436;color:#efe7f8;border-color:#443b53}html.yg-dark .yg-reviews textarea,html.yg-dark .yg-reviews select{background:#252a40;color:#efe7f8;border-color:#544663}html.yg-dark .yg-reviews .review-note,html.yg-dark .review-item small{color:#b9acc8}html.yg-dark .yg-reviews a,html.yg-dark .review-kicker,html.yg-dark .review-stars{color:var(--yg-accent-bright,#bc9ae4)}@media(max-width:600px){.yg-reviews{padding:20px}.yg-reviews h2{font-size:24px}.review-actions button{flex:1}}

