/* Homepage and catalogue only. Gameplay and community keep their own theme. */
body.portal-renewal{background:#101525;color:#f2efff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",sans-serif}
.portal-renewal a{color:inherit;text-decoration:none}.portal-renewal button,.portal-renewal a{-webkit-tap-highlight-color:transparent}.portal-renewal :is(a,button):focus-visible{outline:2px solid #c4b5ff;outline-offset:4px}
body.portal-renewal .topbar{height:68px;padding:0 max(24px,calc((100vw - 1200px)/2));gap:32px;background:#101525!important;border-bottom:1px solid #292f45!important;z-index:2300}
body.portal-renewal .topbar:before{display:none}body.portal-renewal .topbar>.brand,body.portal-renewal .topbar>.chapter,body.portal-renewal .topbar>.room217-profile,body.portal-renewal .topbar>.room217-notify{margin-top:0!important}body.portal-renewal .topbar>.chapter{display:none}body.portal-renewal .topbar>.room217-profile{margin-left:auto!important}
body.portal-renewal .brand{font-size:19px;letter-spacing:-.7px;white-space:nowrap}body.portal-renewal .brand-icon{display:none}body.portal-renewal .topbar>nav{gap:4px}body.portal-renewal .topbar>nav>button{padding:0 15px!important;height:100%;font-size:14px!important;color:#a8abc3;border:0!important;white-space:nowrap}body.portal-renewal .topbar>nav>.nav-active{color:#dfd4ff;background:#252540}body.portal-renewal .topbar>nav>button:after{display:none!important}
.portal-shell{max-width:1200px;margin:auto;padding:0 24px}.portal-renewal .home-view{min-height:calc(100svh - 68px);background:#101525;overflow:visible;isolation:auto}.portal-renewal .home-view:before,.portal-renewal .home-view:after{display:none}
.portal-renewal .home-hero{position:relative;min-height:285px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;padding:30px 48px;margin:0 0 16px;border-radius:0;overflow:hidden;background:linear-gradient(90deg,rgba(13,18,40,.82),rgba(16,21,37,.13) 70%),url('/assets/portal-night.webp') center 58%/cover;text-shadow:none}
.hero-copy{position:relative;align-self:flex-start;max-width:100%;min-width:0}.hero-label{display:none}.hero-label{font-size:12px!important;letter-spacing:.15em;color:#bdb5d9!important;margin:0 0 20px!important}.portal-renewal .home-hero h1{font-family:"Nanum Pen Script","Segoe Print",cursive;font-size:clamp(32px,3.8vw,49px);line-height:1.4;font-weight:500;letter-spacing:-1.5px;color:#ece3ff;filter:none;margin:0}.portal-renewal .home-hero p{font-size:14px;line-height:1.85;color:#b9b9d0;margin:18px 0 0}.mobile-break{display:none}
.home-picks{display:grid;grid-template-columns:1.4fr 1fr;grid-template-rows:198px 198px;gap:16px}.feature-card{position:relative;display:block;overflow:hidden;border:1px solid #444461;border-radius:18px;min-width:0;background:#1d2336;transition:transform .2s,border-color .2s}.feature-card:first-child{grid-row:span 2}.feature-card>img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}.feature-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(7,12,26,.97),rgba(7,12,26,.2) 65%,transparent)}.feature-card:hover{border-color:#aaa0d7;transform:translateY(-3px)}.feature-card:hover>img{transform:scale(1.025)}.feature-copy{position:absolute;left:26px;right:22px;bottom:23px;z-index:1}.feature-copy h2{font-size:28px;font-weight:700;letter-spacing:-1px;margin:0 0 7px}.feature-card:first-child h2{font-size:46px;letter-spacing:1px}.feature-copy p{color:#d0cde2;font-size:13px;line-height:1.6;margin:0 0 13px}.feature-copy span{display:inline-block;border-radius:999px;background:#c7baff;color:#222139;font-size:12px;font-weight:700;padding:9px 23px}.home-after{display:flex;align-items:center;gap:22px;padding:22px 0 0}.portal-renewal #homeStart{margin:0 0 0 auto;padding:12px 0;width:auto;font-size:13px;font-weight:600;border:0;box-shadow:none;background:none;color:#c9c0e8;letter-spacing:0;white-space:nowrap;backdrop-filter:none}.portal-renewal #homeStart span{margin-left:7px}
#homeContinue{flex:1;min-width:0}.continue-card{display:flex;align-items:center;gap:14px;background:transparent;border:0;border-radius:0;padding:0;max-width:570px}.continue-card img{width:64px;height:54px;object-fit:cover;border-radius:7px}.continue-card div{min-width:0;flex:1}.continue-card small{color:#b5aacd;font-size:11px}.continue-card b{display:block;font-size:15px;line-height:1.5;margin-top:3px}.continue-card>span{color:#d1c3ff;font-size:13px;white-space:nowrap}
.home-community{margin-top:70px;padding-top:32px;border-top:1px solid #30354b}.portal-section-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:22px}.portal-section-head p{margin:0 0 9px;color:#9c92ba;font-size:12px}.portal-section-head h2{margin:0;font-size:23px;letter-spacing:-.5px}.portal-section-head>a{font-size:13px;color:#bfb6d7;white-space:nowrap}.home-post{display:flex;align-items:center;gap:16px;padding:19px 4px;border-bottom:1px solid #292f43}.home-post .post-tag{color:#a69bbf;font-size:11px;min-width:58px}.home-post b{font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.home-post time{font-size:12px;color:#8b8da5}.home-post:hover b{color:#d4c4ff}.portal-empty{padding:30px 0;color:#9d9db5;font-size:14px;line-height:1.7}.portal-empty button{border:1px solid #656078;border-radius:8px;padding:8px 14px;background:#28283f;color:#dfd7f4;margin-left:12px;cursor:pointer}.portal-footer{display:flex;align-items:center;gap:20px;padding:45px 0;color:#81849d;font-size:12px}.portal-footer b{color:#aba6c0;font-size:14px}.portal-footer a{margin-left:auto}
body.portal-renewal .archive-list{max-width:1200px;padding:48px 24px 60px;background:none}.archive-list .archive-head{display:block;border:0;padding:0}.archive-list .archive-head .eyebrow{font-size:11px;font-weight:500;letter-spacing:.14em;color:#a69cbd}.archive-list .archive-head h1{font-size:32px;letter-spacing:-1px;margin:12px 0}.archive-list .archive-head p{color:#a7a6bf;font-size:14px;margin:0}.archive-list .game-filters{flex-wrap:wrap;gap:8px;margin-top:28px}.archive-list .game-filters button{border-radius:999px;padding:10px 18px;border:1px solid #383c54;background:#171d30;color:#aba9c0;font-size:13px;font-family:inherit;min-height:40px}.archive-list .game-filters button.active{background:#c7baff;color:#211e38;border-color:#c7baff}.archive-list .game-list-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:30px}.archive-list .game-tile{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:0;border-radius:16px;background:#191f32;border:1px solid #343951!important;overflow:hidden;transition:transform .2s,border-color .2s}.archive-list .game-tile:hover{border-color:#aaa0d7!important;transform:translateY(-4px)}.archive-list .game-tile>img{order:0;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;display:block}.archive-list .archive-copy{order:1;padding:20px;display:flex;flex-direction:column;align-items:flex-start;flex:1;min-width:0}.archive-list .game-tile .game-no{font-size:10px;letter-spacing:.08em;color:#9d94ba!important}.archive-list .game-tile b{margin:9px 0 8px;font-size:21px;letter-spacing:-.5px;line-height:1.4}.archive-list .game-tile small{font-size:13px;color:#b1aec7;line-height:1.7;display:block}.archive-list .game-tile em{font-family:inherit;font-size:12px;font-weight:600;font-style:normal;color:#d3c5ff!important;margin-top:auto;padding-top:20px}.archive-list .archive-foot{display:flex;justify-content:space-between;margin-top:36px;border-top:1px solid #30354b;padding-top:22px;font-size:12px;color:#9691af}.tutorial-badge{position:absolute;top:12px;left:12px;border-radius:999px;padding:5px 10px;background:#d9d0f3;color:#272338;font-size:10px;font-weight:700}.archive-list .game-tile{position:relative}
@media(max-width:900px){.home-picks{grid-template-rows:170px 170px}.feature-copy{left:20px;bottom:18px}.feature-copy h2{font-size:24px}.portal-renewal .home-hero{min-height:255px}.archive-list .game-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.portal-renewal .topbar{height:56px;padding:0 10px;gap:5px}body.portal-renewal .brand{font-size:13px;letter-spacing:-.9px}body.portal-renewal .topbar>nav{gap:0;flex:1;justify-content:center}body.portal-renewal .topbar>nav>button{padding:0 6px!important;font-size:11px!important;letter-spacing:-.5px}body.portal-renewal .room217-profile-btn,body.portal-renewal .room217-notify-btn{width:28px;height:40px}body.portal-renewal .room217-profile-btn svg,body.portal-renewal .room217-notify-btn svg{width:17px;height:17px}body.portal-renewal .room217-profile,body.portal-renewal .room217-notify{margin-left:0!important}.portal-shell{padding:0 14px}.portal-renewal .home-hero{min-height:205px;padding:22px 14px;margin:0 0 12px;border-radius:0;background-position:63% center}.portal-renewal .home-hero h1{font-size:clamp(28px,7.8vw,38px);line-height:1.35;letter-spacing:-1.3px}.portal-renewal .home-hero p{font-size:12px;margin-top:13px}.hero-label{font-size:10px!important;margin-bottom:14px!important}.mobile-break{display:block}.home-picks{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto;gap:10px}.feature-card{border-radius:14px}.feature-card:first-child{grid-row:auto;grid-column:1/-1;aspect-ratio:1.12}.home-picks .feature-card:not(:first-child){aspect-ratio:.92}.feature-copy{left:15px;right:12px;bottom:16px}.feature-card:first-child h2{font-size:35px}.feature-copy h2{font-size:clamp(17px,4.5vw,24px);letter-spacing:-.7px}.feature-copy p{font-size:11px;margin-bottom:10px;line-height:1.65}.feature-copy span{font-size:11px;padding:8px 13px}.home-after{flex-wrap:wrap;gap:7px;padding-top:16px}#homeContinue{flex:1 1 190px}.continue-card{padding:0;gap:10px;flex-wrap:wrap}.continue-card>span{margin-left:62px}.continue-card img{width:52px;height:48px}.continue-card b{font-size:13px}.continue-card>span{font-size:11px}.home-community{margin-top:48px;padding-top:24px}.portal-section-head h2{font-size:19px}.portal-section-head>a{font-size:12px}.home-post{gap:9px;padding:17px 0}.home-post .post-tag{font-size:10px;min-width:48px}.home-post b{font-size:13px}.home-post time{font-size:10px}.portal-footer{gap:12px;flex-wrap:wrap;font-size:10px;padding:35px 0}.portal-footer b{font-size:12px}body.portal-renewal .archive-list{padding:30px 14px 45px}.archive-list .archive-head h1{font-size:26px}.archive-list .archive-head p{font-size:13px}.archive-list .game-filters{gap:6px;margin-top:22px}.archive-list .game-filters button{font-size:11px;padding:9px 12px}.archive-list .game-list-grid{gap:12px;margin-top:22px}.archive-list .archive-copy{padding:13px}.archive-list .game-tile b{font-size:17px;margin:7px 0}.archive-list .game-tile small{font-size:12px;line-height:1.65}.archive-list .game-tile em{font-size:11px;padding-top:15px}.archive-list .game-tile .game-no{font-size:9px}.tutorial-badge{top:8px;left:8px;padding:4px 8px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.feature-card,.feature-card>img,.archive-list .game-tile{transition:none;transform:none!important}}

.portal-renewal .home-picks .feature-card{display:block;min-height:0;padding:0;color:#f2efff;align-items:stretch;background:#1d2336;border:1px solid #444461;border-radius:18px;text-align:left}.portal-renewal .home-picks .feature-card>img{position:static;width:100%;height:100%;max-height:none;object-fit:cover;opacity:1}.portal-renewal .home-picks .feature-card:hover{border-color:#aaa0d7}
.portal-renewal .archive-list .game-tile:before{display:none}.portal-renewal .archive-list .game-tile>img{min-height:0;filter:none;border:0;order:0}.portal-renewal .archive-list .archive-copy{position:static;z-index:auto}.portal-renewal .archive-list .game-tile b{font-family:inherit}.portal-renewal .archive-list .archive-foot{font-family:inherit;letter-spacing:0}.portal-renewal .archive-list .archive-head h1{font-family:inherit;line-height:1.4}.portal-renewal .archive-list .game-tile em{line-height:1.4;letter-spacing:0}
@media(max-width:600px){.portal-renewal .home-picks .feature-card{border-radius:14px}}


/* Reference layout: shared night backdrop, real display fonts, compact controls. */
body.portal-renewal{--portal-bg:#0c1425;background-color:var(--portal-bg)}
body.portal-renewal:has(#homeView:not([hidden])){
 background-image:linear-gradient(0deg,var(--portal-bg),transparent 24%),linear-gradient(90deg,rgba(8,15,34,.72),rgba(8,15,34,.12) 65%),url('/assets/portal-night.webp');
 background-position:center top;background-size:min(1200px,100%) 370px;background-repeat:no-repeat;
}
body.portal-renewal:has(#homeView:not([hidden])) .topbar{background:transparent!important;border-bottom:0!important}
.portal-renewal .home-view{background:transparent}
.portal-renewal .home-hero{background:none;min-height:270px;padding:28px 48px 22px;margin:0 0 14px;overflow:visible}
.portal-renewal .home-hero h1{font-family:"Nanum Pen Script",cursive;font-size:64px;font-weight:400;line-height:1.1;letter-spacing:.01em;color:#d8c5ff;text-shadow:0 0 22px rgba(162,131,255,.22)}
.portal-renewal .home-hero p{font-size:16px;line-height:1.7;margin-top:20px;color:#ddd8ec}
.portal-renewal .mobile-break{display:block}
.portal-renewal .hero-copy{width:fit-content}
.portal-renewal .hero-copy::after{content:"✦  ·  ☾";position:absolute;left:calc(100% + 16px);top:10px;white-space:nowrap;color:#cfbdff;font-size:22px;letter-spacing:7px;pointer-events:none}
body.portal-renewal .topbar{height:60px;gap:24px}
body.portal-renewal .topbar>nav>button{font-weight:500;color:#d1cce2}
body.portal-renewal .topbar>nav>.nav-active{background:transparent;color:#cfbaff;box-shadow:inset 0 -2px #ba9cf2}
body.portal-renewal .room217-profile-btn,body.portal-renewal .room217-notify-btn{color:#c8c3da}
.portal-renewal .home-picks{grid-template-columns:1.38fr 1fr;grid-template-rows:196px 196px;gap:14px}
.portal-renewal .home-picks .feature-card{border-radius:14px;border-color:#5b5878;isolation:isolate}
.portal-renewal .home-picks .feature-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.portal-renewal .feature-card:after{background:linear-gradient(0deg,rgba(6,12,26,.92),rgba(6,12,26,.3) 45%,transparent 80%);pointer-events:none}
.portal-renewal .feature-copy{left:20px;right:18px;bottom:21px}
.portal-renewal .feature-copy h2{font-family:"Nanum Myeongjo",serif;font-weight:800;font-size:34px;line-height:1.18;letter-spacing:-.04em;margin:0 0 7px;color:#f5f0fa}
.portal-renewal .feature-card:first-child h2{font-family:inherit;font-size:54px;font-weight:800;letter-spacing:.02em;color:#ede1ff}
.portal-renewal .feature-copy p{font-size:14px;line-height:1.5;margin:0 0 12px;color:#e0dbe9}
.portal-renewal .feature-copy span{min-height:34px;padding:8px 22px;font-size:12px;line-height:18px;background:#cbbcff;color:#211d36}
.portal-renewal .feature-card:first-child .feature-copy span{min-height:40px;padding:10px 25px;font-size:13px;line-height:20px}
.portal-renewal .home-after{padding-top:22px;gap:24px;border-top:1px solid rgba(190,181,228,.12);margin-top:22px}
.portal-renewal .continue-card{display:grid;grid-template-columns:64px minmax(0,auto) auto;grid-template-rows:auto auto;column-gap:14px;row-gap:0;justify-content:start;max-width:none}
.portal-renewal .continue-card img{grid-column:1;grid-row:1/3;width:64px;height:48px}
.portal-renewal .continue-card div{display:contents}
.portal-renewal .continue-card small{grid-column:2/4;grid-row:1;align-self:start;font-size:12px;font-weight:600;color:#e0dbe9}
.portal-renewal .continue-card b{grid-column:2;grid-row:2;align-self:center;margin:0;font-size:14px}
.portal-renewal .continue-card>span{grid-column:3;grid-row:2;margin-left:12px;font-size:12px}
.portal-renewal .home-community{margin-top:70px}
.portal-renewal .archive-head .eyebrow,.portal-renewal .archive-head>div>p,.portal-renewal .archive-copy .game-no{display:none}
.portal-renewal .archive-list .archive-copy{min-height:0;padding:18px}
.portal-renewal .archive-list .game-tile{border-radius:12px}
.portal-renewal .archive-list .game-tile b{margin:0 0 8px;font-size:20px}
.portal-renewal .archive-list .game-tile small{font-size:14px;line-height:1.5}
.portal-renewal .archive-list .game-list-grid{gap:14px}
.portal-renewal .archive-list .game-tile>img{aspect-ratio:1.72}
.portal-renewal .tutorial-badge{left:auto;right:10px;top:10px;background:rgba(12,20,37,.75);color:#dbcaff;border:1px solid #b79fe5}
@media(min-width:601px) and (max-width:900px){
 body.portal-renewal .topbar{gap:14px;padding:0 24px}
 body.portal-renewal .topbar>nav>button{padding:0 10px!important}
 .portal-renewal .home-hero{padding-left:28px;min-height:255px}
 .portal-renewal .home-hero h1{font-size:56px}
 .portal-renewal .home-picks{grid-template-rows:175px 175px}
 .portal-renewal .feature-copy h2{font-size:27px}
 .portal-renewal .feature-copy p{font-size:12px}
}
@media(max-width:600px){
 body.portal-renewal:has(#homeView:not([hidden])){background-size:auto 275px;background-position:center top}
 body.portal-renewal .topbar{height:48px;padding:0 12px;gap:5px;flex-wrap:nowrap}
 body.portal-renewal .brand{font-size:14px;letter-spacing:-.7px}
 body.portal-renewal .topbar>nav{min-width:0;gap:0}
 body.portal-renewal .topbar>nav>button{font-size:11px!important;padding:0 5px!important}
 body.portal-renewal .room217-profile-btn,body.portal-renewal .room217-notify-btn{width:26px;height:44px}
 .portal-renewal .portal-shell{padding:0 12px}
 .portal-renewal .home-hero{min-height:198px;margin-bottom:8px;padding:16px 12px 20px}
 .portal-renewal .home-hero h1{font-size:clamp(36px,10.3vw,52px);line-height:1.12;letter-spacing:0}
 .portal-renewal .home-hero p{font-size:13px;line-height:1.65;margin-top:14px}
 .portal-renewal .hero-copy::after{left:calc(100% + 8px);top:6px;content:"☾";font-size:23px;letter-spacing:0}
 .portal-renewal .home-picks{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto;gap:10px}
 .portal-renewal .home-picks .feature-card{border-radius:12px}
 .portal-renewal .home-picks .feature-card:first-child{aspect-ratio:1.08;grid-column:1/-1;grid-row:auto}
 .portal-renewal .home-picks .feature-card:not(:first-child){aspect-ratio:.94}
 .portal-renewal .feature-copy{left:12px;right:10px;bottom:13px}
 .portal-renewal .feature-copy h2{font-size:clamp(18px,5.2vw,29px);line-height:1.2;letter-spacing:-.06em;margin-bottom:6px;white-space:nowrap}
 .portal-renewal .feature-card:first-child h2{font-size:40px;letter-spacing:.01em}
 .portal-renewal .feature-copy p{font-size:11px;line-height:1.45;margin-bottom:9px;word-break:keep-all}
 .portal-renewal .feature-copy span{min-height:28px;padding:5px 13px;font-size:10px;line-height:18px}
 .portal-renewal .feature-card:first-child .feature-copy span{min-height:34px;padding:8px 20px;font-size:11px;line-height:18px}
 .portal-renewal .home-after{padding-top:14px;margin-top:16px;gap:8px;flex-wrap:nowrap}
 .portal-renewal #homeContinue{flex:1 1 0;min-width:0}
 .portal-renewal .continue-card{grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto auto;gap:2px 9px}
 .portal-renewal .continue-card img{grid-row:2/4;width:48px;height:40px}
 .portal-renewal .continue-card small{grid-column:1/3;grid-row:1;margin-bottom:5px;font-size:11px}
 .portal-renewal .continue-card b{grid-column:2;grid-row:2;font-size:11px}
 .portal-renewal .continue-card>span{grid-column:2;grid-row:3;margin:0;font-size:11px}
 .portal-renewal #homeStart{font-size:11px;align-self:flex-end;padding:10px 0}
 .portal-renewal .home-community{margin-top:48px}
 .portal-renewal .archive-list .archive-copy{padding:12px}
 .portal-renewal .archive-list .game-tile b{font-size:16px;margin:0 0 6px}
 .portal-renewal .archive-list .game-tile small{font-size:12px;line-height:1.45}
 .portal-renewal .archive-list .game-list-grid{gap:10px}
 .portal-renewal .archive-list .game-tile em{padding-top:14px}
}
@media(max-width:359px){
 body.portal-renewal .topbar{padding:0 8px;gap:3px}
 body.portal-renewal .brand{font-size:12px}
 body.portal-renewal .topbar>nav>button{font-size:10px!important;padding:0 4px!important}
 .portal-renewal .hero-copy::after{display:none}
}

/* Reference title artwork: luminance mask keeps the night scene transparent. */
.portal-renewal .home-hero .hero-title-image{position:relative;width:440px;max-width:100%;aspect-ratio:2039/771;margin:0;line-height:0;filter:none;text-shadow:none}
.portal-renewal .hero-title-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.portal-renewal .hero-title-art{display:block;width:100%;height:100%;background:#d7c7ff;-webkit-mask-image:url('/assets/hero-title-mask.webp');mask-image:url('/assets/hero-title-mask.webp');mask-mode:luminance;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}
.portal-renewal .hero-copy:has(.hero-title-image)::after{display:none}
.portal-renewal .home-picks .feature-card[data-play-url^="/games/flower.html"] .feature-copy span{background:#4b2e26;color:#fff1e1;border:1px solid rgba(241,213,185,.22)}
.portal-renewal .home-picks .feature-card[data-play-url^="/games/flower.html"]:hover .feature-copy span{background:#604036}
@media(min-width:601px) and (max-width:900px){.portal-renewal .home-hero .hero-title-image{width:400px}}
@media(max-width:600px){.portal-renewal .home-hero .hero-title-image{width:270px;max-width:calc(100vw - 48px)}}

/* Keep flower banner lettering readable against the new warm historical art. */
.portal-renewal .home-picks .feature-card[data-play-url^="/games/flower.html"]::after{background:linear-gradient(90deg,rgba(251,228,202,.86),rgba(251,228,202,.52) 38%,rgba(251,228,202,.02) 78%)}
.portal-renewal .home-picks .feature-card[data-play-url^="/games/flower.html"] .feature-copy h2{color:#4b2e26}
.portal-renewal .home-picks .feature-card[data-play-url^="/games/flower.html"] .feature-copy p{color:#442f29}

/* Compact catalogue reuses the loaded catalogue without a progress request. */
.portal-renewal .home-games{margin-top:22px;padding-top:18px;border-top:1px solid #292f43;min-width:0}
.portal-renewal .home-games-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.portal-renewal .home-games-head h2{font-size:15px;line-height:1.5;margin:0;color:#e1dbee}
.portal-renewal .home-games #homeStart{padding:6px 0;align-self:center}
.portal-renewal .home-game-rail{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:2px 2px 12px;scrollbar-width:thin;scrollbar-color:#65577f transparent}
.portal-renewal .home-game-card{flex:0 0 176px;min-width:0;border:1px solid #363b53;border-radius:10px;overflow:hidden;background:#171f32;scroll-snap-align:start}
.portal-renewal .home-game-card img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.portal-renewal .home-game-card b{display:block;padding:10px 11px;font-size:13px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.portal-renewal .home-game-card:hover{border-color:#b7a2e4}
.portal-renewal .home-game-rail:focus-visible{outline:2px solid #c4b5ff;outline-offset:4px}
@media(max-width:600px){
 .portal-renewal .home-picks .feature-card:first-child{aspect-ratio:1.55}
 .portal-renewal .home-picks .feature-card:first-child>img{height:auto;object-fit:contain;object-position:center top}
 .portal-renewal .home-picks .feature-card:first-child .feature-copy h2{font-size:32px;margin-bottom:4px}
 .portal-renewal .home-picks .feature-card:first-child .feature-copy p{margin-bottom:7px}
 .portal-renewal .home-picks .feature-card:first-child .feature-copy span{min-height:30px;padding:5px 16px}
 .portal-renewal .home-picks .feature-card:not(:first-child){aspect-ratio:auto;height:clamp(220px,59vw,310px);display:block;isolation:isolate}
 .portal-renewal .home-picks .feature-card:not(:first-child)>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top}
 .portal-renewal .home-picks .feature-card:not(:first-child)::after{display:block;z-index:0;pointer-events:none}
 .portal-renewal .home-picks .feature-card:not(:first-child) .feature-copy{position:absolute;inset:auto 11px 14px;padding:0;display:flex;flex-direction:column;align-items:flex-start;text-align:left;z-index:1}
 .portal-renewal .home-picks .feature-card:not(:first-child) .feature-copy h2{font-size:clamp(16px,4.5vw,23px);white-space:normal}
 .portal-renewal .home-picks .feature-card:not(:first-child) .feature-copy span{margin-top:auto}
 .portal-renewal .home-picks .feature-card[data-play-url^="/games/flower.html"]{background:#f1dcc5}
 .portal-renewal .home-games{margin-top:18px;padding-top:14px}
 .portal-renewal .home-games-head h2{font-size:12px;word-break:keep-all}
 .portal-renewal .home-games #homeStart{font-size:10px}
 .portal-renewal .home-game-rail{gap:9px}
 .portal-renewal .home-game-card{flex-basis:136px}
 .portal-renewal .home-game-card b{font-size:12px;padding:9px}
 .portal-renewal .home-community{margin-top:32px}
}

/* Local contrast preserves the art while giving each caption a quiet surface. */
.portal-renewal .home-picks .feature-card[data-play-url^="/games/lab0317.html"]::after{background:linear-gradient(90deg,rgba(5,14,32,.92),rgba(5,14,32,.62) 48%,rgba(5,14,32,.08))}
.portal-renewal .home-picks .feature-card[data-play-url^="/games/lab0317.html"] .feature-copy :is(h2,p){color:#fff;text-shadow:0 1px 3px #07101e}
.portal-renewal .home-picks .feature-card[data-play-url^="/games/flower.html"]::after{background:linear-gradient(90deg,rgba(252,233,209,.97),rgba(252,233,209,.82) 46%,rgba(252,233,209,.05) 88%)}
@media(max-width:600px){
 .portal-renewal .home-picks .feature-card[data-play-url^="/games/lab0317.html"]::after{background:linear-gradient(0deg,rgba(5,14,32,.98) 0%,rgba(5,14,32,.92) 36%,rgba(5,14,32,.3) 65%,rgba(5,14,32,.05))}
 .portal-renewal .home-picks .feature-card[data-play-url^="/games/flower.html"]::after{background:linear-gradient(0deg,rgba(252,233,209,.99) 0%,rgba(252,233,209,.94) 38%,rgba(252,233,209,.25) 69%,transparent)}
 .portal-renewal .home-picks .feature-card[data-play-url^="/games/flower.html"]>img{object-position:62% top}
 .portal-renewal .home-picks .feature-card:not(:first-child) .feature-copy h2{font-size:clamp(18px,4.6vw,25px);line-height:1.3;margin:0 0 7px}
 .portal-renewal .home-picks .feature-card:not(:first-child) .feature-copy p{font-size:11px;line-height:1.6;margin:0 0 12px;word-break:keep-all}
 .portal-renewal .home-picks .feature-card:not(:first-child) .feature-copy span{margin:0;min-height:32px;padding:7px 13px}
}

/* Compact first-play guidance, shown only in catalogue cards. */
#gameList .archive-copy .catalog-play-guide{display:flex;flex-direction:column;gap:3px;margin:0 0 12px;font-family:inherit;font-size:12px;font-weight:400;line-height:1.6;letter-spacing:normal;color:#a7a6bf}
#gameList .catalog-play-guide .catalog-difficulty{font-weight:600}
#gameList .catalog-difficulty.easy{color:#add4c3}
#gameList .catalog-difficulty.normal{color:#cfbef3}
#gameList .catalog-difficulty.hard{color:#e2b4b5}
#gameList .catalog-play-guide .catalog-duration{color:#d5cfdf}
#gameList .catalog-play-guide .catalog-free-play{color:#add4c3}
@media(max-width:600px){#gameList .archive-copy .catalog-play-guide{font-size:11px;gap:2px;margin-bottom:10px}}

/* Chat games share the existing compact home cards and catalogue grid. */
.portal-renewal .home-chat-label{font-size:12px;color:#bca6e4}.portal-renewal .game-filters{flex-wrap:wrap}


/* Preserve compact game tiles; the lounge fills the remaining desktop space. */
.portal-renewal .home-social-row{display:grid;grid-template-columns:368px minmax(0,1fr);gap:20px;margin-top:22px;padding-top:18px;border-top:1px solid #292f43}
.portal-renewal .home-social-row .home-chat-games{margin:0;padding:0;border:0}
.portal-renewal .home-lounge{min-width:0;display:flex;flex-direction:column}
.portal-renewal .home-social-row .home-games-head{min-height:24px}
.portal-renewal .home-social-row .home-chat-label{white-space:nowrap}
.portal-renewal .home-lounge-card{position:relative;isolation:isolate;display:flex;align-items:center;flex:1;min-width:0;min-height:214px;margin:2px 0 12px;overflow:hidden;border:1px solid #65577f;border-radius:10px;background:#16172b;container-type:inline-size}
.portal-renewal .home-lounge-card>img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:65% center}
.portal-renewal .home-lounge-card::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(12,14,31,.91),rgba(17,15,37,.73) 46%,rgba(17,15,37,.12) 100%)}
.portal-renewal .home-lounge-copy{padding:24px;width:100%;min-width:0;box-sizing:border-box}
.portal-renewal .home-lounge-copy h3{margin:0 0 13px;font-size:clamp(18px,4.5cqi,30px);line-height:1.4;letter-spacing:-.045em;font-weight:750;white-space:nowrap;color:#f6edff}
.portal-renewal .home-lounge-copy p{margin:0 0 17px;font-size:13px;line-height:1.8;color:#e1d9ed;word-break:keep-all}
.portal-renewal .home-lounge-cta{display:inline-flex;align-items:center;min-height:36px;padding:7px 18px;box-sizing:border-box;border-radius:999px;background:#d4bcff;color:#231b35;font-size:12px;font-weight:700;line-height:1.5}
.portal-renewal .home-lounge-card:hover{border-color:#c4b5ff}
.portal-renewal .home-lounge-card:hover .home-lounge-cta{background:#e0ceff}
@media(max-width:1000px){
 .portal-renewal .home-social-row{grid-template-columns:minmax(0,1fr);gap:16px}
 .portal-renewal .home-lounge-card{min-height:210px}
}
@media(max-width:600px){
 .portal-renewal .home-social-row{margin-top:18px;padding-top:14px;gap:12px}
 .portal-renewal .home-social-row .home-games-head{min-height:24px}
 .portal-renewal .home-lounge .home-chat-label{font-size:10px}
 .portal-renewal .home-lounge-card{min-height:186px;margin-bottom:0}
 .portal-renewal .home-lounge-copy{padding:18px 16px}
 .portal-renewal .home-lounge-copy h3{font-size:clamp(16px,5.3cqi,28px);margin-bottom:11px}
 .portal-renewal .home-lounge-copy p{font-size:12px;margin-bottom:14px}
 .portal-renewal .home-lounge-cta{font-size:11px;min-height:36px;padding:8px 16px}
}
