/* FineME v381 — feed filter redesign + six-item game navigation + HTML5 Game Hub. */
.fm-v381 .fm-feed-sort-card{margin:2px 0 14px;padding:12px 14px 14px;border:1px solid #e3e7f3;border-radius:19px;background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(246,244,255,.97));box-shadow:0 12px 28px rgba(78,70,146,.08)}
.fm-v381 .fm-feed-sort-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 2px 10px;color:#253250}
.fm-v381 .fm-feed-sort-head strong{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:850;letter-spacing:-.01em}
.fm-v381 .fm-feed-sort-head strong .fm-icon{color:#5f4ed9}
.fm-v381 .fm-feed-sort-head small{display:flex;align-items:center;gap:6px;color:#7b86a0;font-size:10px;font-weight:650;line-height:1.35;text-align:right}
.fm-v381 .fm-feed-sort-card .fm-social-feed-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;position:static!important;overflow:visible!important}
.fm-v381 .fm-feed-sort-card .fm-social-feed-tabs a{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:46px!important;padding:9px 14px!important;border:1px solid #e1e5f1!important;border-radius:999px!important;background:rgba(255,255,255,.78)!important;color:#4b5570!important;font-size:11px!important;font-weight:850!important;text-decoration:none!important;box-shadow:0 4px 12px rgba(69,73,112,.035)!important;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease,color .16s ease!important}
.fm-v381 .fm-feed-sort-card .fm-social-feed-tabs a:hover{transform:translateY(-1px);border-color:#cfd4ef!important;background:#fff!important;color:#553bc6!important;box-shadow:0 8px 18px rgba(79,65,170,.09)!important}
.fm-v381 .fm-feed-sort-card .fm-social-feed-tabs a.active{border-color:transparent!important;background:linear-gradient(135deg,#6677ff 0%,#7449e9 55%,#9a3fe0 100%)!important;color:#fff!important;box-shadow:0 10px 22px rgba(103,72,222,.24)!important}
.fm-v381 .fm-feed-sort-card .fm-social-feed-tabs a.active .fm-icon{color:#fff!important}

/* Add Games without taking any existing desktop navigation item away. */
.fm-v381.fm-public-area .fm-primary-nav{gap:1px!important}
.fm-v381.fm-public-area .fm-nav-link{padding-inline:clamp(5px,.52vw,9px)!important}
.fm-v381 .fm-social-side-nav a .fm-icon{flex:0 0 auto}

/* Six mobile items: Feed, Communities, Create, Videos, Games, Profile/Explore. */
@media(max-width:760px){
 .fm-v381 .fm-mobile-nav{grid-template-columns:repeat(6,minmax(0,1fr))!important;padding-inline:3px!important}
 .fm-v381 .fm-mobile-nav>a{min-width:0!important;padding-inline:1px!important}
 .fm-v381 .fm-mobile-nav small{max-width:100%;font-size:7.8px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .fm-v381 .fm-mobile-nav .fm-icon{width:20px;height:20px}
 .fm-v381 .fm-mobile-create>span{width:38px!important;height:38px!important;margin-top:-5px!important}
 .fm-v381 .fm-feed-sort-card{margin:0 0 11px;padding:10px;border-radius:17px;box-shadow:0 8px 22px rgba(78,70,146,.07)}
 .fm-v381 .fm-feed-sort-head{margin:0 2px 9px;gap:8px}
 .fm-v381 .fm-feed-sort-head strong{font-size:11.5px}
 .fm-v381 .fm-feed-sort-head small{font-size:0;gap:0}
 .fm-v381 .fm-feed-sort-head small .fm-icon{width:18px;height:18px;color:#77839b}
 .fm-v381 .fm-feed-sort-card .fm-social-feed-tabs{gap:6px!important}
 .fm-v381 .fm-feed-sort-card .fm-social-feed-tabs a{min-height:43px!important;padding:7px 5px!important;gap:5px!important;font-size:10px!important}
 .fm-v381 .fm-feed-sort-card .fm-social-feed-tabs a .fm-icon{width:17px;height:17px}
}
@media(max-width:359px){
 .fm-v381 .fm-mobile-nav small{font-size:7px!important}
 .fm-v381 .fm-mobile-nav .fm-icon{width:19px;height:19px}
 .fm-v381 .fm-feed-sort-card .fm-social-feed-tabs a{font-size:9px!important;padding-inline:3px!important}
 .fm-v381 .fm-feed-sort-card .fm-social-feed-tabs a .fm-icon{width:15px;height:15px}
}

/* FineME Games hub. */
.fm-v381.fm-games-page .fm-page{max-width:1180px}
.fm-games-shell{display:grid;gap:16px}
.fm-games-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:32px clamp(22px,4vw,46px);border:1px solid #e2e5f2;border-radius:28px;background:radial-gradient(circle at 88% 18%,rgba(114,200,255,.45),transparent 24%),radial-gradient(circle at 76% 78%,rgba(235,107,222,.30),transparent 24%),linear-gradient(135deg,#fdfdff,#f1efff 62%,#fbf4ff);box-shadow:0 18px 44px rgba(61,60,122,.10)}
.fm-games-hero:after{content:"";position:absolute;width:210px;height:210px;right:-48px;bottom:-94px;border-radius:50%;background:linear-gradient(135deg,rgba(92,111,255,.2),rgba(247,95,191,.22));filter:blur(2px)}
.fm-games-hero-copy{position:relative;z-index:2;max-width:720px}.fm-games-hero .eyebrow{color:#6552de}.fm-games-hero h1{margin:5px 0 8px;font-size:clamp(30px,4vw,48px);line-height:1.05;letter-spacing:-.035em;color:#1c2743}.fm-games-hero p{margin:0;color:#64708a;font-size:14px;line-height:1.7}
.fm-games-hero-mark{position:relative;z-index:2;width:108px;height:108px;display:grid;place-items:center;flex:0 0 auto;border-radius:32px;color:#fff;background:linear-gradient(135deg,#5b6df7,#7a49e7 58%,#ec63c5);box-shadow:0 18px 40px rgba(103,73,221,.28);transform:rotate(-4deg)}
.fm-games-capabilities{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.fm-games-capabilities span{display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:6px 11px;border:1px solid rgba(100,91,190,.14);border-radius:999px;background:rgba(255,255,255,.74);color:#4c5874;font-size:10.5px;font-weight:800;backdrop-filter:blur(8px)}
.fm-games-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fm-games-info-card{display:flex;gap:14px;align-items:flex-start;padding:20px;border:1px solid #e3e7f1;border-radius:20px;background:#fff;box-shadow:0 10px 24px rgba(58,67,108,.055)}.fm-games-info-icon{width:46px;height:46px;display:grid;place-items:center;flex:0 0 auto;border-radius:14px;color:#654fdc;background:#f1efff}.fm-games-info-card h2{margin:1px 0 5px;color:#1f2c47;font-size:15px}.fm-games-info-card p{margin:0;color:#748097;font-size:11px;line-height:1.65}
.fm-games-library{padding:22px;border:1px solid #e3e7f1;border-radius:22px;background:#fff;box-shadow:0 10px 24px rgba(58,67,108,.05)}.fm-games-section-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:16px}.fm-games-section-head h2{margin:3px 0 0;color:#202c47;font-size:20px}.fm-games-section-head p{max-width:460px;margin:0;color:#7a859b;font-size:11px;text-align:right}.fm-games-empty{display:flex;align-items:center;gap:15px;min-height:126px;padding:20px;border:1px dashed #d7dcef;border-radius:18px;background:linear-gradient(135deg,#fafbff,#f7f5ff)}.fm-games-empty>span{width:56px;height:56px;display:grid;place-items:center;flex:0 0 auto;border-radius:17px;color:#6752dd;background:#ebe9ff}.fm-games-empty strong{display:block;color:#26324d;font-size:15px;margin-bottom:4px}.fm-games-empty p{margin:0;color:#7b869c;font-size:11px;line-height:1.6}
@media(max-width:760px){
 .fm-games-shell{gap:11px}.fm-games-hero{padding:22px 18px;border-radius:21px;align-items:flex-start}.fm-games-hero-mark{width:66px;height:66px;border-radius:21px}.fm-games-hero-mark .fm-icon{width:34px;height:34px}.fm-games-hero h1{font-size:29px}.fm-games-hero p{font-size:12px}.fm-games-capabilities{gap:6px;margin-top:14px}.fm-games-capabilities span{font-size:9px;padding:5px 8px}.fm-games-info-grid{grid-template-columns:1fr;gap:9px}.fm-games-info-card{padding:15px;border-radius:17px}.fm-games-library{padding:16px;border-radius:18px}.fm-games-section-head{display:block}.fm-games-section-head p{margin-top:5px;text-align:left}.fm-games-empty{padding:15px;min-height:108px}
}
/* FineME v383 · playable HTML5 game card */
.fm-games-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fm-game-card-live{overflow:hidden;border:1px solid #e0e5f1;border-radius:22px;background:#fff;box-shadow:0 14px 34px rgba(52,61,108,.08)}.fm-game-cover{position:relative;min-height:190px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(145deg,#0b1027,#171b42 55%,#0c0d1b)}.fm-game-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 52%,rgba(7,8,18,.65))}.fm-game-cover strong{position:relative;z-index:2;font-size:66px;letter-spacing:-.08em;color:#fff;text-shadow:0 0 28px rgba(113,225,255,.55)}.fm-game-orb{position:absolute;border-radius:50%;filter:blur(1px);box-shadow:0 0 55px currentColor}.fm-game-orb.a{width:110px;height:110px;left:11%;top:14%;color:#65e8ff;background:rgba(101,232,255,.22)}.fm-game-orb.b{width:160px;height:160px;right:3%;top:2%;color:#8c5fff;background:rgba(140,95,255,.24)}.fm-game-orb.c{width:90px;height:90px;left:42%;bottom:-18%;color:#ff6fc6;background:rgba(255,111,198,.22)}.fm-game-card-body{padding:18px}.fm-game-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#8a94ab;font-size:9px;font-weight:800}.fm-game-status{display:inline-flex;padding:5px 8px;border-radius:999px;color:#5b49d7;background:#efedff}.fm-game-card-body h3{margin:10px 0 5px;font-size:22px;color:#202b46}.fm-game-card-body p{margin:0;color:#6f7b92;font-size:11px;line-height:1.65}.fm-game-meta{display:flex;flex-wrap:wrap;gap:6px;margin:13px 0}.fm-game-meta span{padding:5px 8px;border-radius:999px;background:#f5f6fb;color:#657087;font-size:8px;font-weight:800}.fm-game-play{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border:0;border-radius:13px;color:#fff;background:linear-gradient(135deg,#637bff,#824fe9 62%,#e85cba);box-shadow:0 10px 24px rgba(100,79,220,.22)}
@media(max-width:760px){.fm-games-grid{grid-template-columns:1fr}.fm-game-cover{min-height:150px}.fm-game-cover strong{font-size:54px}.fm-game-card-body{padding:15px}}

/* v387 compact game library redesign */
.fm-games-shell-compact{gap:14px}.fm-games-hero-compact{padding:18px 20px;border-radius:20px;display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.fm-games-hero-compact .fm-games-hero-copy h1{margin-bottom:6px}.fm-games-hero-compact .fm-games-hero-copy p{max-width:740px;margin:0}.fm-games-capabilities-compact{justify-content:flex-end;max-width:520px}.fm-games-library-compact{padding:18px 18px 20px}.fm-games-section-head-compact{align-items:center;margin-bottom:14px}.fm-games-section-head-compact p{max-width:420px}.fm-games-cover-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.fm-game-tile{display:block;overflow:hidden;border:1px solid #e1e5f2;border-radius:22px;background:#fff;text-decoration:none;box-shadow:0 12px 30px rgba(55,63,107,.08);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.fm-game-tile:hover,.fm-game-tile:focus-visible{transform:translateY(-2px);box-shadow:0 18px 36px rgba(62,71,118,.14);border-color:#ccc6ff;outline:none}.fm-game-tile-cover{position:relative;aspect-ratio:16/9;background:linear-gradient(135deg,#0a1128,#1d2251 60%,#0b0d1b);overflow:hidden}.fm-game-tile-cover img{width:100%;height:100%;display:block;object-fit:cover}.fm-game-tile-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;padding:14px;background:linear-gradient(180deg,rgba(9,11,23,.14),rgba(8,10,18,.18) 38%,rgba(8,10,18,.82) 100%)}.fm-game-tile-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.fm-game-chip,.fm-game-kicker{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.02em}.fm-game-chip{color:#ffffff;background:rgba(102,87,255,.88);backdrop-filter:blur(4px)}.fm-game-kicker{color:#f7f8ff;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18)}.fm-game-tile-bottom h3{margin:0;color:#fff;font-size:24px;line-height:1.08;text-shadow:0 4px 20px rgba(0,0,0,.24)}.fm-game-tile-bottom p{margin:6px 0 0;color:rgba(246,248,255,.92);font-size:12px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.fm-game-tile-meta{display:flex;flex-wrap:wrap;gap:8px;padding:14px;background:#fff}.fm-game-tile-meta span{display:inline-flex;align-items:center;min-height:30px;padding:0 11px;border-radius:999px;background:#f4f6fc;color:#5f6a80;font-size:10px;font-weight:800}.fm-games-page .fm-games-library .fm-games-grid{display:none}
@media (max-width:1080px){.fm-games-cover-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fm-games-hero-compact{align-items:flex-start;flex-direction:column}.fm-games-capabilities-compact{justify-content:flex-start;max-width:none}}
@media (max-width:760px){.fm-games-shell-compact{gap:10px}.fm-games-hero-compact{padding:16px;border-radius:18px}.fm-games-library-compact{padding:14px}.fm-games-section-head-compact{display:block}.fm-games-section-head-compact p{margin-top:5px;text-align:left}.fm-games-cover-grid{grid-template-columns:1fr;gap:12px}.fm-game-tile{border-radius:18px}.fm-game-tile-overlay{padding:12px}.fm-game-tile-bottom h3{font-size:20px}.fm-game-tile-bottom p{font-size:11px;-webkit-line-clamp:2}.fm-game-tile-meta{padding:12px;gap:6px}.fm-game-tile-meta span{min-height:28px;font-size:9px}.fm-games-capabilities-compact{gap:6px;margin-top:8px}}

/* v388 cover asset path/fallback fix */
.fm-game-tile-cover{isolation:isolate}.fm-game-cover-fallback{position:absolute;inset:0;z-index:0;display:grid;place-items:center;background:radial-gradient(circle at 25% 28%,rgba(101,232,255,.32),transparent 28%),radial-gradient(circle at 76% 24%,rgba(140,95,255,.38),transparent 34%),radial-gradient(circle at 66% 80%,rgba(255,111,198,.22),transparent 30%),linear-gradient(145deg,#0b1027,#171b42 55%,#0c0d1b)}.fm-game-cover-fallback strong{font-size:70px;letter-spacing:-.08em;color:#fff;text-shadow:0 0 30px rgba(113,225,255,.6)}.fm-game-tile-cover img{position:relative;z-index:1}.fm-game-tile-overlay{z-index:2}

/* v389 actual mockup-like games page */
.fm-v381.fm-games-page-mock .fm-page{max-width:1280px;padding-top:10px}
.fm-games-page-mock .fm-games-shell,.fm-games-page-mock .fm-games-shell-compact{display:none!important}
.fm-games-mock-shell{display:grid;gap:18px}
.fm-games-mock-hero,.fm-games-mock-library{position:relative;overflow:hidden;border:1px solid #182447;border-radius:28px;background:linear-gradient(180deg,#071327 0%,#09182e 100%);box-shadow:0 22px 56px rgba(8,15,31,.34)}
.fm-games-mock-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:20px;padding:28px}
.fm-games-mock-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 18%,rgba(167,97,255,.32),transparent 25%),radial-gradient(circle at 18% 24%,rgba(61,202,255,.18),transparent 24%),linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,0))}
.fm-games-mock-copy,.fm-games-mock-art{position:relative;z-index:1}.fm-games-mock-copy .eyebrow,.fm-games-mock-head .eyebrow{color:#86a3ff}.fm-games-mock-copy h1{margin:8px 0 10px;font-size:clamp(38px,5vw,58px);line-height:1.02;letter-spacing:-.045em;color:#f7fbff}.fm-games-mock-copy p{margin:0;max-width:720px;color:#adbbd5;font-size:15px;line-height:1.7}.fm-games-mock-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.fm-games-mock-pills span{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 13px;border:1px solid rgba(161,175,217,.16);border-radius:999px;background:rgba(255,255,255,.06);color:#dbe5ff;font-size:11px;font-weight:800;backdrop-filter:blur(8px)}
.fm-games-mock-art{display:flex;flex-direction:column;justify-content:center;gap:18px;min-height:220px;padding:18px;border-radius:24px;background:radial-gradient(circle at 65% 20%,rgba(255,76,192,.22),transparent 24%),radial-gradient(circle at 40% 65%,rgba(67,130,255,.22),transparent 26%),linear-gradient(135deg,rgba(12,20,42,.72),rgba(6,11,24,.45));border:1px solid rgba(164,174,233,.14)}
.fm-games-mock-controller{position:relative;align-self:center;width:200px;height:104px;border-radius:54px 54px 44px 44px;background:linear-gradient(135deg,#141f42,#0e1732 60%,#0a1023);box-shadow:0 18px 40px rgba(0,0,0,.36),0 0 0 1px rgba(209,219,255,.08) inset}.fm-games-mock-controller:before,.fm-games-mock-controller:after{content:"";position:absolute;top:31px;width:46px;height:46px;border-radius:50%;background:radial-gradient(circle at 38% 38%,#364984,#131d41 72%);box-shadow:0 0 0 1px rgba(209,219,255,.07) inset}.fm-games-mock-controller:before{left:24px}.fm-games-mock-controller:after{right:24px}.fm-games-mock-controller span{position:absolute;display:block;border-radius:50%;background:#ff54be;box-shadow:0 0 18px rgba(255,84,190,.36)}.fm-games-mock-controller span:nth-child(1){width:11px;height:11px;right:42px;top:26px}.fm-games-mock-controller span:nth-child(2){width:11px;height:11px;right:64px;top:40px;background:#7d63ff;box-shadow:0 0 18px rgba(125,99,255,.36)}.fm-games-mock-controller span:nth-child(3){width:11px;height:11px;right:20px;top:40px;background:#7aefff;box-shadow:0 0 18px rgba(122,239,255,.36)}.fm-games-mock-controller span:nth-child(4){width:11px;height:11px;right:42px;top:54px;background:#ffffff;box-shadow:0 0 18px rgba(255,255,255,.26)}
.fm-games-mock-hero-text{display:flex;flex-direction:column;gap:4px;text-align:right}.fm-games-mock-hero-text strong{color:#f7fbff;font-size:24px;line-height:1.25}.fm-games-mock-hero-text small{color:#a9b6d3;font-size:14px}
.fm-games-mock-library{padding:22px;background:linear-gradient(180deg,#081325,#091729 100%)}.fm-games-mock-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:16px}.fm-games-mock-head h2{margin:3px 0 0;color:#f7fbff;font-size:22px}.fm-games-mock-head p{max-width:400px;margin:0;color:#a7b5cf;font-size:11px;line-height:1.6;text-align:right}.fm-games-mock-cats{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.fm-games-mock-cats button{appearance:none;border:1px solid rgba(160,174,222,.18);background:#09172a;color:#dbe4ff;min-height:42px;padding:0 16px;border-radius:999px;font-size:12px;font-weight:800;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03);cursor:default}.fm-games-mock-cats button.is-active{border-color:transparent;background:linear-gradient(135deg,#5d79ff 0%,#714de8 56%,#b13fff 100%);color:#fff;box-shadow:0 10px 24px rgba(111,76,239,.32)}
.fm-games-mock-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:18px}.fm-games-mock-grid.is-single{grid-template-columns:minmax(340px,460px)}
.fm-games-mock-card{display:block;overflow:hidden;border-radius:24px;border:1px solid rgba(167,179,221,.14);background:#0b162b;text-decoration:none;box-shadow:0 18px 42px rgba(0,0,0,.32);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.fm-games-mock-card:hover,.fm-games-mock-card:focus-visible{transform:translateY(-3px);border-color:rgba(162,148,255,.5);box-shadow:0 26px 60px rgba(11,16,36,.42);outline:none}
.fm-games-mock-cover{position:relative;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(135deg,#121d3e,#070d1d)}.fm-games-mock-cover img{width:100%;height:100%;display:block;object-fit:cover}.fm-games-mock-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,10,19,.08),rgba(6,10,19,.12) 40%,rgba(6,10,19,.88) 100%)}.fm-games-mock-badges{position:absolute;left:14px;right:14px;top:14px;z-index:2;display:flex;justify-content:space-between;gap:8px}.fm-games-mock-badges span{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.02em}.fm-games-mock-badges .status{color:#fff;background:linear-gradient(135deg,#4bcb6a,#28b98a)}.fm-games-mock-badges .kicker{color:#fff;background:rgba(255,255,255,.14);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.14)}
.fm-games-mock-body{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:16px 16px 18px}.fm-games-mock-body h3{margin:0 0 6px;color:#f7fbff;font-size:34px;line-height:1.05}.fm-games-mock-body p{margin:0;color:#afbbd3;font-size:12px;line-height:1.65}.fm-games-mock-body-copy{min-width:0}.fm-games-mock-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.fm-games-mock-tags span{display:inline-flex;align-items:center;min-height:30px;padding:0 11px;border-radius:999px;background:rgba(255,255,255,.06);color:#dbe4ff;font-size:10px;font-weight:800;border:1px solid rgba(162,176,224,.1)}.fm-games-mock-play{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:118px;min-height:48px;padding:0 16px;border-radius:16px;background:linear-gradient(135deg,#637bff,#824fe9 62%,#e85cba);color:#fff;font-size:15px;font-weight:900;box-shadow:0 14px 28px rgba(100,79,220,.24)}
@media(max-width:980px){.fm-games-mock-hero{grid-template-columns:1fr}.fm-games-mock-art{min-height:180px}.fm-games-mock-head{display:block}.fm-games-mock-head p{text-align:left;margin-top:5px}.fm-games-mock-grid.is-single{grid-template-columns:1fr;max-width:100%}}
@media(max-width:760px){.fm-v381.fm-games-page-mock .fm-page{padding-top:6px}.fm-games-mock-shell{gap:12px}.fm-games-mock-hero,.fm-games-mock-library{border-radius:20px}.fm-games-mock-hero{padding:18px}.fm-games-mock-copy h1{font-size:34px}.fm-games-mock-copy p{font-size:13px}.fm-games-mock-pills{gap:8px;margin-top:14px}.fm-games-mock-pills span{min-height:32px;padding:0 11px;font-size:10px}.fm-games-mock-art{padding:14px;min-height:150px;border-radius:18px}.fm-games-mock-controller{width:150px;height:78px}.fm-games-mock-controller:before,.fm-games-mock-controller:after{top:22px;width:34px;height:34px}.fm-games-mock-controller:before{left:18px}.fm-games-mock-controller:after{right:18px}.fm-games-mock-controller span:nth-child(1){right:30px;top:18px}.fm-games-mock-controller span:nth-child(2){right:47px;top:28px}.fm-games-mock-controller span:nth-child(3){right:13px;top:28px}.fm-games-mock-controller span:nth-child(4){right:30px;top:39px}.fm-games-mock-hero-text strong{font-size:18px}.fm-games-mock-hero-text small{font-size:12px}.fm-games-mock-library{padding:16px}.fm-games-mock-cats{flex-wrap:nowrap;overflow:auto;padding-bottom:4px;margin:0 -2px 14px}.fm-games-mock-cats button{white-space:nowrap;min-height:40px;padding:0 14px}.fm-games-mock-grid{grid-template-columns:1fr;gap:14px}.fm-games-mock-cover{aspect-ratio:16/10}.fm-games-mock-badges{left:12px;right:12px;top:12px}.fm-games-mock-badges span{min-height:26px;padding:0 10px;font-size:10px}.fm-games-mock-body{display:block;padding:14px 14px 16px}.fm-games-mock-body h3{font-size:28px}.fm-games-mock-play{margin-top:14px;min-width:0;width:100%;min-height:46px}}


/* v390 games hub close to approved mockup */
.fm-v381.fm-games-page-v390 .fm-page{max-width:1440px;padding-top:6px}
.fm-games-page-v390 .fm-games-mock-shell,.fm-games-page-v390 .fm-games-shell,.fm-games-page-v390 .fm-games-shell-compact{display:none!important}
.fm-games-v390-shell{padding:8px 0 18px}
.fm-games-v390-surface{display:grid;grid-template-columns:72px minmax(0,1fr);gap:0;overflow:hidden;border:1px solid #12233f;border-radius:28px;background:linear-gradient(180deg,#050d1b 0%,#081528 100%);box-shadow:0 28px 70px rgba(4,11,26,.42)}
.fm-games-v390-rail{display:flex;flex-direction:column;align-items:center;gap:16px;padding:18px 0;background:linear-gradient(180deg,#07111f 0%,#08162b 100%);border-right:1px solid rgba(140,162,214,.12)}
.fm-games-v390-rail a{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;color:#c5d3f6;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.05);text-decoration:none}.fm-games-v390-rail a.is-brand{margin-bottom:10px;background:linear-gradient(135deg,#6f72ff,#9950ec 58%,#f25eb8);color:#fff;font-weight:900;font-size:22px}
.fm-games-v390-main{min-width:0}
.fm-games-v390-topbar{display:grid;grid-template-columns:auto minmax(280px,520px) auto auto;align-items:center;gap:18px;padding:16px 22px;border-bottom:1px solid rgba(138,156,204,.12);background:linear-gradient(180deg,rgba(8,18,36,.95),rgba(7,16,31,.92))}
.fm-games-v390-logo{display:flex;align-items:center;gap:10px;text-decoration:none}.fm-games-v390-logo .fm-logo-box{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#6f72ff,#9950ec 58%,#f25eb8);color:#fff;font-weight:900}.fm-games-v390-logo strong{font-size:24px;line-height:1;color:#fff}.fm-games-v390-logo strong span{color:#9a6cff}
.fm-games-v390-search{display:flex;align-items:center;gap:10px;height:46px;padding:0 16px;border-radius:999px;border:1px solid rgba(122,143,192,.16);background:rgba(6,13,27,.78);color:#8fa3cc;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}
.fm-games-v390-nav{display:flex;align-items:center;gap:10px;justify-self:end}.fm-games-v390-nav a{display:flex;align-items:center;justify-content:center;gap:6px;min-width:42px;height:42px;padding:0 12px;border-radius:999px;color:#d8e4ff;text-decoration:none;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.05)}.fm-games-v390-nav a.is-active{background:linear-gradient(135deg,#6b73ff,#8e49e9 58%,#ff4fc0);box-shadow:0 10px 24px rgba(116,86,255,.28)}.fm-games-v390-nav a span{font-size:14px;font-weight:800}
.fm-games-v390-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#202c57,#101a34);color:#fff;font-weight:900;border:1px solid rgba(255,255,255,.09)}
.fm-games-v390-hero{display:grid;grid-template-columns:minmax(0,.95fr) minmax(300px,.9fr);gap:18px;padding:20px 22px 0;background:linear-gradient(180deg,rgba(3,9,19,0),rgba(3,9,19,0))}
.fm-games-v390-hero-title{display:flex;align-items:flex-start;gap:16px}.fm-games-v390-gamepad{width:54px;height:54px;display:grid;place-items:center;flex:0 0 auto;border-radius:18px;font-size:28px;background:linear-gradient(135deg,#5e74ff,#794ce8 58%,#f35fb8);box-shadow:0 18px 36px rgba(103,74,232,.25)}
.fm-games-v390-hero-title h1{margin:0;color:#fff;font-size:clamp(36px,4vw,56px);line-height:1.02;letter-spacing:-.04em}.fm-games-v390-hero-title p{margin:8px 0 0;color:#b0bfde;font-size:15px;line-height:1.7}
.fm-games-v390-cats{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.fm-games-v390-cats a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid rgba(131,151,197,.18);background:#071628;color:#dce5ff;text-decoration:none;font-size:14px;font-weight:800;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}.fm-games-v390-cats a.is-active{background:linear-gradient(135deg,#637cff,#7f54ea 58%,#f25dc0);border-color:transparent;color:#fff;box-shadow:0 14px 28px rgba(107,91,255,.28)}
.fm-games-v390-hero-banner{position:relative;min-height:188px;overflow:hidden;border:1px solid rgba(150,166,214,.12);border-radius:24px;background:radial-gradient(circle at 70% 14%,rgba(255,57,171,.35),transparent 22%),radial-gradient(circle at 76% 18%,rgba(91,86,255,.25),transparent 32%),radial-gradient(circle at 42% 40%,rgba(17,84,196,.18),transparent 36%),linear-gradient(135deg,#08152b 0%,#0b1d39 44%,#071224 100%)}.fm-games-v390-hero-banner:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,16,31,.25),rgba(7,16,31,.06) 38%,rgba(7,16,31,.05));}.fm-games-v390-hero-banner:after{content:"";position:absolute;right:18px;top:18px;width:215px;height:120px;border-radius:26px;background:radial-gradient(circle at 70% 30%,rgba(255,79,192,.45),transparent 34%),linear-gradient(135deg,#0f1631,#111f45 54%,#0c1430);box-shadow:0 22px 54px rgba(0,0,0,.36)}
.fm-games-v390-banner-copy{position:absolute;right:22px;top:28px;z-index:1;max-width:360px;text-align:right}.fm-games-v390-banner-copy strong{display:block;color:#fff;font-size:34px;line-height:1.15;letter-spacing:-.03em}.fm-games-v390-banner-copy span{display:block;margin-top:8px;color:#bfd0ed;font-size:16px}
.fm-games-v390-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:18px 22px 24px}
.fm-games-v390-card{overflow:hidden;border:1px solid rgba(145,162,204,.14);border-radius:24px;background:linear-gradient(180deg,#0a1730,#091423 100%);box-shadow:0 18px 42px rgba(0,0,0,.30)}
.fm-games-v390-cover{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:#0c1530}.fm-games-v390-cover img{width:100%;height:100%;display:block;object-fit:cover}.fm-games-v390-cover:after{content:"";position:absolute;inset:auto 0 0 0;height:42%;background:linear-gradient(180deg,rgba(5,9,18,0),rgba(5,9,18,.84))}.fm-games-v390-status{position:absolute;left:14px;top:14px;z-index:1;display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border-radius:999px;background:rgba(255,255,255,.12);backdrop-filter:blur(6px);color:#fff;font-size:13px;font-weight:900;border:1px solid rgba(255,255,255,.14)}.fm-games-v390-status.is-new{background:linear-gradient(135deg,#35d364,#1fb47f)}
.fm-games-v390-body{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;padding:14px 16px 16px}.fm-games-v390-copy{min-width:0}.fm-games-v390-copy h3{margin:0;color:#fff;font-size:20px;line-height:1.2}.fm-games-v390-copy p{margin:8px 0 0;color:#c2cfe7;font-size:12px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.fm-games-v390-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.fm-games-v390-tags span{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border-radius:999px;background:#10223e;color:#dce7ff;font-size:12px;font-weight:800;border:1px solid rgba(159,174,221,.10)}
.fm-games-v390-play{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:120px;min-height:46px;padding:0 18px;border-radius:16px;text-decoration:none;color:#fff;font-size:16px;font-weight:900;background:linear-gradient(135deg,#647bff,#854fe9 60%,#f15dc0);box-shadow:0 14px 28px rgba(101,82,235,.28)}
@media (max-width:1240px){.fm-games-v390-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fm-games-v390-hero{grid-template-columns:1fr}.fm-games-v390-banner-copy strong{font-size:28px}}
@media (max-width:860px){.fm-games-v390-surface{grid-template-columns:1fr}.fm-games-v390-rail{display:none}.fm-games-v390-topbar{grid-template-columns:auto 1fr auto;gap:12px}.fm-games-v390-nav a:not(.is-active):not(:first-child){display:none}.fm-games-v390-avatar{display:none}}
@media (max-width:760px){.fm-v381.fm-games-page-v390 .fm-page{padding-top:4px}.fm-games-v390-shell{padding:0 0 12px}.fm-games-v390-surface{border-radius:20px}.fm-games-v390-topbar{padding:14px}.fm-games-v390-logo strong{font-size:20px}.fm-games-v390-search{grid-column:1/-1;order:3;height:42px}.fm-games-v390-hero{padding:16px 14px 0;gap:14px}.fm-games-v390-hero-title{gap:12px}.fm-games-v390-gamepad{width:46px;height:46px;border-radius:14px;font-size:24px}.fm-games-v390-hero-title h1{font-size:34px}.fm-games-v390-hero-title p{font-size:13px}.fm-games-v390-cats{gap:10px;margin-top:16px;flex-wrap:nowrap;overflow:auto;padding-bottom:4px}.fm-games-v390-cats a{white-space:nowrap;min-height:40px;padding:0 16px;font-size:13px}.fm-games-v390-hero-banner{min-height:130px;border-radius:18px}.fm-games-v390-banner-copy{right:14px;top:16px;max-width:220px}.fm-games-v390-banner-copy strong{font-size:20px}.fm-games-v390-banner-copy span{font-size:12px}.fm-games-v390-grid{grid-template-columns:1fr;gap:14px;padding:16px 14px 18px}.fm-games-v390-card{border-radius:20px}.fm-games-v390-body{display:block;padding:13px 14px 14px}.fm-games-v390-copy h3{font-size:24px}.fm-games-v390-copy p{font-size:13px}.fm-games-v390-tags{gap:7px}.fm-games-v390-tags span{min-height:30px;font-size:11px}.fm-games-v390-play{margin-top:14px;width:100%}}
