/* Free Games Online 2.0 — approved purple discovery direction. */
:root{--pf-bg:#110b20;--pf-surface:#21132f;--pf-white:#faf6ff;--pf-ink:#faf6ff;--pf-muted:#c1b2d2;--pf-line:#49315c;--pf-accent:#bb85ff;--pf-accent-deep:#7c3aed;--pf-accent-ink:#160b26;--pf-orange:#65e8c5;--pf-rail-bg:#180e27;--pf-rail-width:196px;--pf-rail-open:196px;--pf-width:1600px}
body{background:var(--pf-bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.pf-header{margin-left:calc(-1 * var(--pf-rail-width));width:calc(100% + var(--pf-rail-width));background:#160c24;border-bottom:1px solid var(--pf-line);backdrop-filter:none}
.pf-header .pf-wrap{width:calc(100% - 40px);max-width:1800px}
.pf-header__inner{min-height:110px;gap:28px}
.pf-brand{width:176px;justify-content:center;flex-shrink:0}
.pf-brand__logo,.pf-site-footer__logo img{width:176px;height:auto;max-height:104px;object-fit:contain}
.fgo-search{display:flex;align-items:center;gap:12px;flex:1;max-width:620px;margin-inline:auto;min-width:120px;padding:4px 8px 4px 18px;border:1px solid #73528e;border-radius:28px;background:#251438}
.fgo-search>svg{width:22px;height:22px;flex-shrink:0;color:#d9b8ff}
.fgo-search input{width:100%;min-width:0;height:44px;background:transparent;border:0;color:var(--pf-white);outline:none;font-size:16px}
.fgo-search input::placeholder{color:#c1b2d2}
.fgo-search:focus-within{outline:2px solid #bf8dff;outline-offset:3px}
.fgo-search button{display:grid;place-items:center;flex:0 0 44px;height:44px;background:#7c3aed;border:0;border-radius:50%;color:white;cursor:pointer}
.fgo-search button svg{width:20px;height:20px}
.pf-actions{margin-left:0;padding:0;border:0;background:none;box-shadow:none;gap:10px}
.pf-actions__group:first-child,.pf-actions__sep,.pf-actions>.pf-action--primary{display:none}
.pf-actions__group{gap:10px}
.pf-actions .pf-action{min-height:46px;padding:10px 15px;border:1px solid #624579;border-radius:14px;color:#f5eaff;background:#21132f;font-size:14px}
.pf-rail,.pf-rail:hover,.pf-rail:focus-within,.pf-rail.is-expanded{top:110px;width:196px;padding:20px 10px;box-shadow:none;border-right:1px solid var(--pf-line);overflow-y:auto;scrollbar-width:thin}
.pf-rail::after{display:none}
.pf-rail ul{gap:5px}
.pf-rail .pf-rail__link,.pf-rail:hover .pf-rail__link{display:flex;align-items:center;gap:14px;padding:12px;min-height:48px;border-radius:12px;border:0;white-space:nowrap}
.pf-rail .pf-rail__link svg{width:24px;height:24px;flex:0 0 24px;color:inherit}
.pf-rail .pf-rail__label,.pf-rail:hover .pf-rail__label{position:static;opacity:1;visibility:visible;transform:none;width:auto;max-width:none;overflow:visible;font-size:14px;font-weight:650;color:inherit;pointer-events:auto}
.pf-rail__link[aria-current=page]{background:#7c3aed;color:white}
.pf-rail__link:hover{background:#302044}
.pf-main{padding-top:28px}
.pf-wrap{width:calc(100% - 48px)}
.fgo-intro{margin:0 0 22px}
.fgo-intro p{margin:0 0 5px;color:#bc96e5;font-size:11px;font-weight:800;letter-spacing:.16em}
.fgo-intro h1{margin:0;font-size:clamp(26px,3vw,42px);line-height:1.16;letter-spacing:-.045em;font-weight:850}
.pf-home .pf-hero{margin:0 0 20px}
.pf-home .pf-hero>.pf-section__head{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.pf-home .pf-hero-shell{overflow:visible;mask-image:none}
.pf-home .pf-hero-shell::before,.pf-home .pf-hero-shell::after{display:none}
.pf-home .pf-hero-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,190px);gap:12px;padding:0;overflow:visible;scroll-snap-type:none;mask-image:none}
.pf-home .pf-feature{display:flex;flex-direction:column;position:relative;min-width:0;aspect-ratio:auto;width:auto;height:auto;border:1px solid #624579;border-radius:14px;box-shadow:none;background:#261437;overflow:hidden;transition:transform .18s ease,border-color .18s ease}
.pf-home .pf-feature:first-child{grid-column:span 2;grid-row:span 2}
.pf-home .pf-feature:nth-child(5){grid-column:auto}
.pf-home .pf-feature__art,.pf-home .pf-feature picture{display:block;width:100%;height:100%;min-height:0;flex:1;object-fit:cover}
.pf-home .pf-feature picture img{height:100%;width:100%;object-fit:cover}
.fgo-feature-title{display:block;position:relative;flex:0 0 auto;z-index:2;background:#27143a;padding:8px 10px;font-size:14px;font-weight:750;line-height:1.3;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#faf6ff}
.pf-feature:hover{transform:translateY(-3px);border-color:#bb85ff}
.pf-strip-row{margin:18px 0 32px}
.pf-home .pf-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;overflow:hidden;max-height:none;padding:0}
.pf-strip .pf-card:nth-child(n+8){display:none}
.pf-grid,.pf-home .pf-grid{gap:14px;grid-template-columns:repeat(6,minmax(0,1fr))}
.pf-card{min-width:0;background:#22132f;border:1px solid #49315c;border-radius:14px;overflow:hidden;box-shadow:none}
.pf-card__media{border:0;border-radius:0;aspect-ratio:4/3}
.pf-card__body{padding:9px 10px;background:#22132f}
.pf-card__body h3{margin:0;font-size:14px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pf-card:hover{border-color:#bb85ff}
.pf-card__number{display:none}
.pf-section{margin:32px 0}
.pf-section__head{margin-bottom:16px;gap:12px}
.pf-section__head h2{font-size:clamp(23px,2.4vw,32px);line-height:1.2;letter-spacing:-.035em}
.pf-section__more{min-height:44px;display:inline-flex;align-items:center;gap:8px;color:#c79aff;font-size:13px}
.pf-section__more svg{color:#65e8c5}
.pf-home .pf-random:not(.pf-random--top){background:#241434;border:1px solid #49315c;border-radius:16px}
.pf-site-footer{background:#180e27;background-image:none;border-top:1px solid #49315c}
.pf-site-footer__logo{display:inline-block}
.pf-site-footer__logo img{max-width:200px;width:176px;max-height:none}
.pf-info-hero,.pf-cat-hero,.pf-search-hero{background:#251637;box-shadow:none}
.pf-info-card,.pf-info-rich{background:#1d132b}
body.admin-bar .pf-rail{top:142px}
@media(min-width:1500px){.pf-home .pf-hero-grid{grid-template-rows:repeat(2,210px)}}
@media(min-width:701px) and (max-width:1100px){:root{--pf-rail-width:168px;--pf-rail-open:168px}.pf-rail,.pf-rail:hover,.pf-rail:focus-within,.pf-rail.is-expanded{width:168px}.pf-header__inner{gap:16px}.pf-brand{width:148px}.pf-brand__logo{width:148px}.pf-actions .pf-action{padding:10px}.pf-actions .pf-action span{display:none}.pf-wrap{width:calc(100% - 32px)}.pf-grid,.pf-home .pf-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.pf-home .pf-hero-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,126px)}.pf-home .pf-feature:nth-child(5){grid-column:auto}.pf-home .pf-strip{grid-template-columns:repeat(5,minmax(0,1fr))}.pf-strip .pf-card:nth-child(n+6){display:none}}
@media(max-width:700px){:root{--pf-rail-width:0px}html body{margin-left:0;width:100%;padding-bottom:80px}.pf-header{margin-left:0;width:100%}.pf-header .pf-wrap{width:calc(100% - 24px)}.pf-header__inner{min-height:90px;gap:12px;flex-wrap:wrap;padding:6px 0 12px}.pf-brand{width:128px}.pf-brand__logo{width:128px;max-height:78px}.pf-actions{margin-left:auto}.pf-actions .pf-action{padding:10px;min-width:44px}.pf-actions .pf-action span{display:none}.fgo-search{order:3;flex:1 0 100%;max-width:none;padding-left:14px}.fgo-search input{height:38px}.fgo-search button{height:38px;flex-basis:38px}.pf-rail{display:none}.pf-main{padding-top:20px}.pf-wrap{width:calc(100% - 28px)}.fgo-intro{margin-bottom:18px}.fgo-intro h1{font-size:28px}.pf-home .pf-hero-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:auto;gap:10px}.pf-home .pf-feature:first-child{grid-column:span 2;grid-row:auto;aspect-ratio:1.7}.pf-home .pf-feature{aspect-ratio:1.12}.pf-home .pf-feature:nth-child(5){grid-column:auto}.fgo-feature-title{font-size:13px;padding:8px}.pf-home .pf-strip{grid-template-columns:repeat(3,minmax(0,1fr));max-height:none;gap:10px}.pf-strip .pf-card:nth-child(n+4){display:none}.pf-grid,.pf-home .pf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pf-card__body h3{font-size:13px}.pf-section{margin:26px 0}.pf-section__head h2{font-size:24px}.pf-section__more{font-size:12px}.pf-site-footer__logo img{width:176px}.pf-tabs{background:#180e27}.pf-tabs a,.pf-tabs button{font-size:11px!important}.pf-home .pf-random{margin-block:24px}.pf-home .pf-seo-guide{content-visibility:auto;contain-intrinsic-size:auto 1000px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.pf-cat-grid .pf-card__body,.pf-card .pf-card__body{display:block}

@media(min-width:701px){body{margin-left:var(--pf-rail-width);width:calc(100% - var(--pf-rail-width))}}
@media(min-width:701px) and (max-width:1100px){.pf-home .pf-hero-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:180px 130px 130px}.pf-home .pf-feature:first-child{grid-column:span 3;grid-row:auto}}

/* Match the selected mosaic: two stacked feature tiles, six supporting tiles. */
@media(min-width:1101px){.pf-home .pf-hero-grid{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(6,64px);grid-auto-flow:row dense}.pf-home .pf-feature{grid-row:span 3}.pf-home .pf-feature:first-child{grid-column:1 / span 2;grid-row:1 / span 4}.pf-home .pf-feature:nth-child(2){grid-column:1 / span 2;grid-row:5 / span 2}.pf-home .pf-feature:nth-child(5){grid-column:auto}.fgo-feature-title{font-size:16px}.pf-rail .pf-rail__label{font-size:15px}}
@media(min-width:701px) and (max-width:1100px){.pf-home .pf-feature{grid-row:auto}.pf-home .pf-feature:first-child{grid-column:span 3}.pf-home .pf-feature:last-child{display:none}}
@media(max-width:700px){.pf-home .pf-feature{grid-row:auto}.pf-home .pf-feature:last-child{display:none}}

/* Brand refresh and quiet, structured footer. */
.pf-header .pf-brand{width:220px}.pf-header .pf-brand__logo{width:220px;max-height:88px}
.fgo-footer-v3{margin-top:64px;background:#1a102a;border-top:1px solid #5b3b76}
.fgo-footer-v3 .pf-site-footer__main{padding:42px 32px;background:transparent}
.fgo-footer-v3 .pf-site-footer__scene,.fgo-footer-v3 .pf-site-footer__main::before,.fgo-footer-v3 .pf-site-footer__main::after{display:none}
.fgo-footer-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:30px;margin-bottom:32px;border-bottom:1px solid #49315c}
.fgo-footer-heading p{margin:0;color:#c1b2d2;font-size:14px}.fgo-footer-heading h2{margin:0 0 6px;font-size:28px;letter-spacing:-.03em;line-height:1.2}
.fgo-footer-heading>a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 20px;border-radius:12px;background:#7c3aed;color:white;font-size:14px;font-weight:750;white-space:nowrap}
.fgo-footer-v3 .pf-site-footer__layout{width:100%;display:grid;grid-template-columns:1.5fr 1.8fr 1fr 1fr 1.15fr;gap:28px;max-width:none}
.fgo-footer-v3 .pf-site-footer__brand{padding:0}.fgo-footer-v3 .pf-site-footer__logo{width:220px;max-width:100%;margin-bottom:18px}.fgo-footer-v3 .pf-site-footer__logo img{width:220px;max-height:none}
.fgo-footer-v3 .pf-site-footer__intro{font-size:14px;line-height:1.7;max-width:29ch}
.fgo-footer-v3 .pf-site-footer__count{border:0;padding:0;min-height:0;margin-top:18px;background:none;box-shadow:none;color:#c7a4f5;gap:8px}.fgo-footer-v3 .pf-site-footer__count strong{font-size:13px;font-weight:650}.fgo-footer-v3 .pf-site-footer__count svg{width:20px;height:20px}.fgo-footer-v3 .pf-site-footer__count::before,.fgo-footer-v3 .pf-site-footer__count::after{display:none}
.fgo-footer-v3 .pf-site-footer__group{padding:0;margin:0;border:0}.fgo-footer-v3 .pf-site-footer__group h2{color:#f5eaff;font-size:13px;letter-spacing:.08em;min-height:0;margin-bottom:14px;gap:0}.fgo-footer-v3 .pf-site-footer__group h2 svg{display:none}
.fgo-footer-v3 .pf-site-footer__group a{font-size:13px;line-height:1.4;min-height:40px;color:#c1b2d2;white-space:normal}.fgo-footer-v3 .pf-site-footer__group a:hover{color:white;text-shadow:none;text-decoration:underline;text-underline-offset:4px}
.fgo-footer-v3 .pf-site-footer__categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.fgo-footer-v3 .pf-site-footer__page-games{display:grid;gap:0;margin-top:10px;padding-top:10px}.fgo-footer-v3 .pf-site-footer__page-games a{font-size:12px}
.fgo-footer-v3 .pf-site-footer__socials{margin-top:16px;gap:8px}.fgo-footer-v3 .pf-site-footer__social{flex:0 0 40px}.fgo-footer-v3 .pf-site-footer__social>a{min-width:40px;background:#27183a;border-color:#5b3b76;box-shadow:none}
.fgo-footer-v3 .pf-site-footer__bottom{min-height:66px;padding:18px 32px;background:#160d24;border-top:1px solid #49315c;gap:16px}.fgo-footer-v3 .pf-site-footer__copyright{font-size:12px}.fgo-footer-v3 .pf-site-footer__hearts{display:none}.fgo-footer-v3 .pf-site-footer__motto p{font-size:10px;letter-spacing:.06em;gap:10px}
@media(min-width:701px) and (max-width:1100px){.pf-header .pf-brand{width:168px}.pf-header .pf-brand__logo{width:168px}.fgo-footer-v3 .pf-site-footer__layout{grid-template-columns:1.5fr 1fr 1fr 1fr;gap:28px}.fgo-footer-v3 .pf-site-footer__brand{grid-column:1/-1;display:grid;grid-template-columns:220px 1fr;column-gap:28px}.fgo-footer-v3 .pf-site-footer__intro{align-self:center}.fgo-footer-v3 .pf-site-footer__count{margin-top:0}.fgo-footer-v3 .pf-site-footer__socials{grid-column:2}.fgo-footer-v3 .pf-site-footer__bottom{flex-wrap:wrap}}
@media(max-width:700px){.pf-header .pf-brand{width:160px}.pf-header .pf-brand__logo{width:160px;max-height:74px}.fgo-footer-v3{margin-top:40px}.fgo-footer-v3 .pf-site-footer__main{padding:30px 20px}.fgo-footer-heading{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:28px;padding-bottom:26px}.fgo-footer-heading h2{font-size:25px}.fgo-footer-v3 .pf-site-footer__layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.fgo-footer-v3 .pf-site-footer__brand,.fgo-footer-v3 .pf-site-footer__group--games{grid-column:1/-1}.fgo-footer-v3 .pf-site-footer__brand{display:block}.fgo-footer-v3 .pf-site-footer__intro{max-width:none}.fgo-footer-v3 .pf-site-footer__categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 12px}.fgo-footer-v3 .pf-site-footer__page-games{display:flex;flex-wrap:wrap;gap:8px 18px}.fgo-footer-v3 .pf-site-footer__bottom{padding:20px;align-items:flex-start;flex-direction:column}.fgo-footer-v3 .pf-site-footer__motto p{font-size:9px;gap:7px}.fgo-footer-v3 .pf-site-footer__group a{min-height:44px}}

.fgo-contact{margin-top:32px;padding-top:24px;border-top:1px solid var(--pf-line)}.fgo-contact form{display:grid;gap:12px;max-width:680px;margin-top:24px}.fgo-contact label{font-weight:700;color:var(--pf-white)}.fgo-contact label span{font-weight:400}.fgo-contact input:not([type=checkbox]),.fgo-contact select,.fgo-contact textarea{width:100%;padding:12px 14px;min-height:46px;color:var(--pf-white);background:#160d24;border:1px solid #73528e;border-radius:10px;font:inherit}.fgo-contact textarea{resize:vertical}.fgo-contact button{justify-self:start;min-height:48px;padding:12px 24px;border:0;border-radius:12px;background:#7c3aed;color:white;font:inherit;font-weight:750;cursor:pointer}.fgo-contact .fgo-check{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.6}.fgo-check input{flex-shrink:0;width:20px;height:20px;margin-top:3px;accent-color:#7c3aed}.fgo-contact form p{font-size:13px}.fgo-contact-status{padding:16px;border:1px solid #bb85ff;border-radius:10px;background:#29183c}.fgo-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.pf-info-rich address{font-style:normal;color:var(--pf-muted);line-height:1.7}


.fgo-footer-v3 .pf-site-footer__socials{flex-wrap:wrap;max-width:280px}.fgo-footer-v3 .pf-site-footer__social{flex:0 0 44px}.fgo-footer-v3 .pf-site-footer__social>a{width:44px;min-width:44px;height:44px;color:#dfc4ff}.fgo-footer-v3 .pf-site-footer__social>a:hover{color:#fff;border-color:#c995ff;background:#4b246b}.fgo-footer-v3 .pf-site-footer__social>a:focus-visible{outline:3px solid #ffd25a;outline-offset:3px}

/* Compact footer navigation and community strip. */
.fgo-footer-v3 .pf-site-footer__layout{grid-template-columns:1.55fr .8fr .9fr 1.15fr 1.2fr;gap:32px}
.fgo-footer-v3 .pf-site-footer__intro{max-width:34ch;margin:0 0 20px;font-size:14px;line-height:1.8}
.fgo-footer-v3 .pf-site-footer__intro a{color:#d8b5ff;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.fgo-footer-v3 .pf-site-footer__categories{display:grid;grid-template-columns:1fr;gap:0}
.fgo-footer-v3 .pf-site-footer__group ul{max-width:none}
.fgo-footer-v3 .pf-site-footer__group a{font-size:13px;min-height:40px}
.fgo-google-favorite{display:inline-flex;align-items:center;gap:10px;padding:11px 16px;min-height:48px;border:1px solid #686373;border-radius:28px;background:#232226;color:#fff!important;font-size:14px;font-weight:650;text-decoration:none!important;white-space:nowrap}
.fgo-google-favorite:hover{background:#35313d;border-color:#c49bea}
.fgo-google-favorite:focus-visible{outline:3px solid #ffd25a;outline-offset:4px}
.fgo-footer-connect{display:flex;align-items:center;justify-content:space-between;gap:28px;border-top:1px solid #49315c;margin-top:32px;padding-top:24px}
.fgo-footer-connect>p{margin:0;color:#f5eaff;font-size:16px;font-weight:750;flex:0 0 230px}
.fgo-footer-connect>p span{display:block;color:#bfaece;font-size:12px;line-height:1.6;font-weight:400;margin-top:4px}
.fgo-footer-v3 .fgo-footer-connect .pf-site-footer__socials{margin:0;max-width:none;gap:8px;display:flex;flex-wrap:wrap}
.fgo-footer-v3 .fgo-footer-connect .pf-site-footer__social{flex:0 0 40px}
.fgo-footer-v3 .fgo-footer-connect .pf-site-footer__social>a{width:40px;min-width:40px;height:40px;border-radius:11px}
@media(max-width:1100px){.fgo-footer-v3 .pf-site-footer__layout{grid-template-columns:repeat(4,minmax(0,1fr));gap:26px}.fgo-footer-v3 .pf-site-footer__brand{grid-column:1/-1;display:block}.fgo-footer-v3 .pf-site-footer__intro{max-width:65ch}.fgo-footer-connect{align-items:flex-start;flex-direction:column;gap:18px}.fgo-footer-connect>p{flex:auto}}
@media(max-width:700px){.fgo-footer-v3 .pf-site-footer__layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.fgo-footer-v3 .pf-site-footer__group--legal{grid-column:auto}.fgo-footer-v3 .pf-site-footer__group a{min-height:44px}.fgo-footer-v3 .fgo-footer-connect .pf-site-footer__social{flex-basis:44px}.fgo-footer-v3 .fgo-footer-connect .pf-site-footer__social>a{width:44px;height:44px}}

.fgo-google-favorite{font-family:inherit;cursor:pointer}.fgo-bookmark-dialog{max-width:440px;width:calc(100% - 40px);padding:28px;border:1px solid #8560a4;border-radius:20px;background:#21132f;color:#f5eaff;box-shadow:0 24px 80px #0008;font-family:inherit}.fgo-bookmark-dialog::backdrop{background:#080310bb}.fgo-bookmark-dialog h2{font-size:24px;margin:0 0 16px}.fgo-bookmark-dialog p{font-size:15px;line-height:1.7;color:#dacbe6}.fgo-bookmark-dialog button{padding:12px 24px;border:0;border-radius:10px;background:#b57aff;color:#170b24;font:inherit;font-weight:700;cursor:pointer}.fgo-bookmark-dialog button:focus-visible{outline:3px solid #ffd25a;outline-offset:4px}
