/* Set Seasonal theme to Normal in Site settings to disable Thanksgiving. */
#homeIntro,#loaderScreen{display:none!important;visibility:hidden!important;pointer-events:none!important}
.discovery{margin:20px 0 32px}.discovery h2{font-size:1.5rem;margin:0 0 16px}.discovery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px}.discovery .card{min-height:220px}.spotlight{padding:26px;border:1px solid #a96be1;border-radius:22px;margin-bottom:28px;background:linear-gradient(120deg,#21152e,#11131c)}.spotlight .card{max-width:540px;min-height:270px}.spotlight p{color:#c5b8d6;margin-bottom:18px}.game-new-badge{position:absolute;top:12px;left:12px;z-index:5;background:#ff842b;color:#27140a;font-weight:900;letter-spacing:.12em;padding:6px 12px;border-radius:5px;box-shadow:0 3px 15px #0008;pointer-events:none}.card{position:relative}
:root:not([data-season="normal"]){--accent:#ff8b38;--primary:#ff8b38}
html:not([data-season="normal"]) body{background:radial-gradient(ellipse at top right,#643218 0,transparent 55%),#1e110b!important}
html:not([data-season="normal"]) .card{border-color:#865434!important;box-shadow:0 5px 22px #241209}
html:not([data-season="normal"]) .card:hover{border-color:#ff923e!important;box-shadow:0 0 24px #ff7b2738}
html:not([data-season="normal"]) .discovery h2{color:#ffad67}
html:not([data-season="normal"]) .spotlight h2:before{content:'🍁 ';}
html:not([data-season="normal"]) .btn-glow{background:linear-gradient(110deg,#b45930,#d86829)!important;color:white}
@media(max-width:600px){.discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.spotlight{padding:16px}}

#app{opacity:1!important;transform:none!important}
/* Strong seasonal palette also overrides stored personal themes. */
html:not([data-season="normal"]){--bg-base:#22130c!important;--panel:#342017!important;--panel-soft:#46291b!important;--accent:#ff8b32!important;--accent-2:#d78342!important;--accent-3:#ffb45b!important;--text:#fff4e8!important;--text-soft:#e6c4a2!important;--border-soft:#905c38!important;--card-border-glow:#f481293d!important;--accent-soft:#ff8b3233!important;--bg-grad-1:#943d2f66!important;--bg-grad-2:#9a542866!important;--bg-grad-3:#68331e66!important}
html:not([data-season="normal"]) body{background:radial-gradient(ellipse at 5% 5%,#5d281f99,transparent 45%),radial-gradient(ellipse at 95% 10%,#713b24aa,transparent 50%),#22130c!important;color:#fff4e8!important}
#harvest-banner{display:flex;align-items:center;justify-content:center;gap:22px;position:relative;z-index:1;box-sizing:border-box;width:min(100%,1100px);margin:18px auto 28px;padding:22px 28px;border:2px solid #ff8c3d;border-radius:22px;background:linear-gradient(115deg,#542b1a,#412519 55%,#51231c);box-shadow:0 0 36px #ff7a2226,inset 0 0 32px #cc713b18;color:#fff2df;text-align:left}
#harvest-banner strong{display:block;font-size:clamp(20px,3vw,34px);font-weight:900;letter-spacing:.12em;color:#ffac5f;text-shadow:0 0 22px #ff741b66}#harvest-banner div>span{display:block;margin-top:7px;font-size:14px;color:#f2d7b7;letter-spacing:.03em}.harvest-icon{font-size:clamp(34px,5vw,62px);line-height:1.2}

html[data-season="normal"] #harvest-banner{display:none!important}
.card>.game-new-badge{display:block!important;position:absolute!important;inset:12px auto auto 0!important;z-index:20!important;padding:8px 20px 8px 15px!important;border-radius:0 5px 5px 0!important;background:#ff8b32!important;color:#190b20!important;font-size:13px!important;font-weight:950!important;letter-spacing:.12em!important;box-shadow:0 3px 12px #0009!important;opacity:1!important;transform:none!important;visibility:visible!important}
@media(max-width:600px){#harvest-banner{gap:12px;padding:17px 12px;margin-top:12px}#harvest-banner div>span{font-size:11px}}
/* Unified library cards and quiet hover interaction. */
#page-codes .cards-grid,#page-codes .discovery-grid,#page-codes .recent-row{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important;gap:18px!important;overflow:visible!important}
#page-codes .cards-grid,#page-codes .discovery-grid,#page-codes .recent-row{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important}
#page-codes .card{width:100%!important;max-width:320px!important;min-width:0!important;height:220px!important;min-height:220px!important;perspective:none!important;transition:transform .18s ease,box-shadow .18s ease!important;isolation:isolate}
#page-codes .card:hover,#page-codes .card:focus-within{transform:scale(1.035)!important;box-shadow:0 10px 30px #0005!important}
#page-codes .card .card__front,#page-codes .card:hover .card__front,#page-codes .card:focus-within .card__front{opacity:1!important;transform:none!important;filter:none!important}
#page-codes .card .card__content{position:absolute!important;inset:auto 0 0!important;display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;padding:35px 14px 13px!important;opacity:1!important;transform:none!important;background:linear-gradient(transparent,#0c0713e8)!important;z-index:2;pointer-events:none}
#page-codes .card__title{color:white!important;font-size:14px!important;line-height:1.3!important;margin:0!important;white-space:normal!important;text-shadow:0 1px 6px #000;max-width:75%}
#page-codes .card__copy-btn{display:none!important}
#page-codes .card>.card__play-counter{position:absolute!important;inset:10px 10px auto auto!important;z-index:6!important;font-size:11px!important;padding:5px 9px!important;border-radius:20px!important;background:#170e23cf!important;backdrop-filter:blur(6px);color:#fff!important;opacity:1!important;transform:none!important;display:flex!important;gap:4px!important;pointer-events:none}
#page-codes .card>.card__favorite-btn{position:absolute!important;inset:auto 10px 10px auto!important;z-index:7!important;width:30px!important;height:30px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#29170eb8!important;border:1px solid #ffffff40!important;font-size:21px!important;color:#fff!important;cursor:pointer}
#page-codes .card>.card__favorite-btn.active{color:#ff9fbf!important}
.card-copy-confirmation{position:absolute;inset:0;z-index:8;display:grid;place-items:center;background:#160b2d99;color:#fff;font-size:18px;font-weight:750;opacity:0;transition:opacity .15s;pointer-events:none;backdrop-filter:blur(2px)}.code-copied .card-copy-confirmation{opacity:1}
.library-section{margin:0 0 30px}.section-status{font-size:14px;color:var(--text-soft);margin:12px 0 0}.favorites-filter{min-width:46px;font-size:24px;padding:7px 13px!important}.favorites-filter[aria-pressed="true"]{box-shadow:0 0 0 2px #ffacd1;color:#ffd4e4!important}
html:not([data-season="normal"]) body{background:radial-gradient(ellipse at 15% 0,#57304655,transparent 65%),radial-gradient(ellipse at 95% 25%,#49306544,transparent 65%),linear-gradient(145deg,#1c1128,#20142d 55%,#25182e)!important;background-attachment:fixed!important}
html:not([data-season="normal"]) #harvest-banner{background:linear-gradient(115deg,#61321d55,#49291a55 55%,#66362055);border-color:#bb795d55;box-shadow:none}

@media(max-width:600px){#page-codes .cards-grid,#page-codes .discovery-grid,#page-codes .recent-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}#page-codes .card{height:220px!important}}
@media(prefers-reduced-motion:reduce){#page-codes .card{transition:none!important}}

/* Floating hover titles; identical section geometry and stable SVG hearts. */
#page-codes .card .card__content{inset:auto 48px 14px 14px!important;display:block!important;width:auto!important;height:auto!important;min-height:0!important;padding:0!important;gap:0!important;background:none!important;border:0!important;box-shadow:none!important;opacity:0!important;visibility:hidden;transform:translateY(4px)!important;transition:opacity .16s ease,transform .16s ease!important}
#page-codes .card:hover .card__content,#page-codes .card:focus-within .card__content{opacity:1!important;visibility:visible;transform:translateY(0)!important}
#page-codes .card .card__title{display:inline!important;max-width:none!important;font-size:14px!important;font-weight:650!important;line-height:1.45!important;color:white!important;background:none!important;padding:0!important;border:0!important;box-shadow:none!important;text-shadow:0 1px 3px #000,0 0 9px #000,0 0 16px #000!important}
#homeGames.library-section{padding:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;margin:0 0 30px!important}
#homeGames>.grid-header{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px!important;padding:0!important;border:0!important;background:none!important}
#homeGames h2,.discovery .library-section h2{font-size:1.5rem!important;font-weight:700!important;line-height:1.3!important;margin:0 0 16px!important;letter-spacing:normal!important}
#homeGames>.grid-header h2{margin:0!important}
html:not([data-season="normal"]) #homeGames h2{color:#ffad67!important}
#page-codes .card>.card__favorite-btn,#page-codes .card>.card__favorite-btn.active{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:7px!important;box-sizing:border-box!important;line-height:1!important;transform:none!important;flex-shrink:0!important}
.card__favorite-btn svg,.favorites-filter svg{display:block!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round;stroke-linejoin:round;transform:none!important;flex-shrink:0!important}
.card__favorite-btn.active svg,.favorites-filter.active svg{fill:currentColor!important}
#favoritesGameBtn,#favoritesGameBtn.active{display:grid!important;place-items:center!important;min-width:46px!important;width:46px!important;height:44px!important;padding:0!important;box-sizing:border-box!important;line-height:1!important;transform:none!important}
@media(hover:none){#page-codes .card:focus-within .card__content{opacity:1!important;visibility:visible}}

/* Thanksgiving scenery. */
body{isolation:isolate}
.harvest-scene{position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 80% 0%, #9b492a66, transparent 55%), radial-gradient(ellipse at 0% 35%, #7f331d55, transparent 55%), linear-gradient(160deg,#30170f,#160e09 70%)}
html:not([data-season="normal"]) body{background:#1c100b!important}
html[data-season="normal"] .harvest-scene{display:none}

#harvest-banner{background:transparent!important;border:0!important;box-shadow:none!important;padding:10px 0 20px!important;margin-bottom:20px!important}
#harvest-banner strong{font-family:Georgia,serif;font-style:italic;font-weight:500;font-size:clamp(28px,4vw,46px);letter-spacing:.015em;background:linear-gradient(110deg,#fff0c5,#ff9e42);background-clip:text;-webkit-background-clip:text;color:transparent;text-shadow:none}
.harvest-icon{font-size:clamp(22px,4vw,40px);line-height:1}
#harvest-banner div>span{font-size:12px;color:#d3ad89}
#page-codes .card>.card__play-counter{opacity:0!important;visibility:hidden;transition:opacity .16s ease!important}
#page-codes .card:hover>.card__play-counter,#page-codes .card:focus-within>.card__play-counter{opacity:1!important;visibility:visible}


/* Popular-section badge; stack below NEW when both apply. */
.card>.game-popular-badge{position:absolute;top:12px;left:0;z-index:20;padding:7px 12px;border-radius:0 5px 5px 0;background:linear-gradient(110deg,#b83520,#e97021);color:#fff5e5;font:800 11px/1.3 Inter,system-ui,sans-serif;letter-spacing:.06em;box-shadow:0 3px 12px #0007;pointer-events:none}
.card:has(>.game-new-badge)>.game-popular-badge{top:49px}

/* Compact fire marker shared by all copies of a top-ten popular game. */
.card>.game-popular-badge{display:grid;place-items:center;left:10px;top:10px;width:28px;height:28px;padding:0;border-radius:50%;background:#332015bb;backdrop-filter:blur(5px);font-size:18px;line-height:1;box-shadow:0 2px 8px #0004;letter-spacing:0}
.card:has(>.game-new-badge)>.game-popular-badge{top:49px;left:10px}
html.account-locked main,html.account-locked .rewards-shell,html.account-locked .leaderboard-shell{display:none!important}

/* Fire and play count share the top-right position. */
#page-codes .card>.game-popular-badge,#page-codes .card:has(>.game-new-badge)>.game-popular-badge{top:10px;right:10px;left:auto;opacity:1;visibility:visible;transition:opacity .16s ease,visibility .16s ease}
#page-codes .card:hover>.game-popular-badge,#page-codes .card:focus-within>.game-popular-badge{opacity:0;visibility:hidden}
