:root{--brand:#2067ad;--brand2:#b7d9fc;--ink:#21324b;--muted:#738197;--line:#e4edf7;--paper:#f5f8fc}body{background:var(--paper)}button:focus-visible,a:focus-visible{outline:3px solid #7db5ef;outline-offset:3px}.brand-logo{background:#edf5ff;box-shadow:none}.primary-btn,.actions a.primary,.action-button.primary{background:#bddcfc!important;color:#174f8c!important;border:1px solid #add0f3!important;box-shadow:none}.outline-btn,.support-card,.gift-open,.category-tabs button[aria-pressed=true]{background:#e8f3ff!important;color:#205e9e!important;border-color:#d0e5fa!important;box-shadow:none}.tag,.tags span,.tags span:first-child,.count-badge{background:#eaf4ff;color:#27679f}.hero{position:relative;overflow:hidden;background:#e7f3fc url('/assets/hero-blue.webp') right center/cover no-repeat;border-color:#dfecf7;min-height:240px;border-radius:18px;margin:24px auto;max-width:1200px;padding:34px;display:block}.hero>div:first-child{position:relative;max-width:62%;z-index:1}.hero h1{font-size:34px}.hero p{color:#435c78}.hero-orb{display:none}.hero .primary-btn{display:inline-flex;margin-top:14px}.home-search{max-width:1200px;margin:20px auto 0}.home-search input{width:100%;padding:14px 18px;border:1px solid var(--line);border-radius:25px;background:white;font-size:16px}.stats{display:none}.game-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.game-card{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;background:white;border:1px solid #e4edf7;padding:12px;border-radius:16px;box-shadow:none;cursor:pointer}.game-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #366c9a0b}.game-cover{display:grid;place-items:center;align-self:stretch;width:100%;height:auto;aspect-ratio:1.3;background:#f1f7fd;border-radius:12px;box-shadow:none;overflow:hidden}.game-cover img{width:85%;height:85%;object-fit:contain;border-radius:15px}.game-cover .badge{display:none}.game-body{padding:12px 2px 0}.game-body h3{font-size:17px;line-height:1.5;height:3em;margin:0 0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.game-body .game-subtitle{font-size:12px;line-height:1.6;min-height:0;margin:0 0 9px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.game-body .tags{height:24px;padding-right:34px}.game-body .tags span:not(:first-child){display:none}.game-entry{position:absolute;right:12px;bottom:12px;width:30px;min-height:30px;height:30px;display:grid;place-items:center;margin:0;border:0;border-radius:50%;background:#e7f3ff;color:#2268ac;font-size:0;padding:0}.game-entry:after{content:'›';font-size:24px;line-height:1}.game-entry .entry-tail{display:none}.detail-tabs{max-width:1100px;margin:0 auto;display:flex;background:white;border-bottom:1px solid var(--line)}.detail-tabs button{flex:1;padding:17px;border:0;border-bottom:3px solid transparent;background:white;color:#748399;font:inherit;font-weight:700;cursor:pointer}.detail-tabs button[aria-selected=true]{color:#2268ad;border-bottom-color:#68a6e8}.detail-content.configurable-detail{display:block;max-width:1100px;padding:22px 24px}.detail-panel[hidden]{display:none!important}.detail-panel{border:0!important;padding:0!important;background:transparent!important}.detail-block{padding:24px;background:white;border:1px solid var(--line);border-radius:15px;margin:0 0 16px}.detail-block h2,.detail-block h3{margin:0 0 14px}.inline-gift-section{padding:17px;background:#f5f9ff;border:1px solid #e5effb;border-radius:12px;margin-top:14px}.inline-gift-section.daily{background:#fff9f1;border-color:#faead5}.inline-gift-section h4{margin:0 0 8px}.inline-gift-section small{color:var(--muted)}.inline-code{display:flex;gap:12px;align-items:center;justify-content:space-between;background:white;border:1px solid var(--line);border-radius:10px;margin-top:9px;padding:12px;min-width:0}.inline-code>span{overflow-wrap:anywhere;white-space:pre-wrap;min-width:0;line-height:1.7}.inline-code button{flex-shrink:0;background:#e6f2ff;color:#2468a7;border:0;border-radius:8px;padding:10px 15px;font:inherit;cursor:pointer}.support-card{margin:0;border:1px solid #d5e8fa;padding:16px}.ui-toast{position:fixed;left:50%;bottom:160px;transform:translateX(-50%);z-index:150;background:#233c58;color:white;padding:10px 20px;border-radius:10px;max-width:85vw;text-align:center}.primary-actions>a,.primary-actions>.action-button{background:#edf6ff;color:#2467a6;border:1px solid #d6e9fc}.confirm-box [data-close-action-message],.gift-close{background:#dceeff!important;color:#245d94!important}.mobile-nav{border-color:#e5edf6}.mobile-nav a[aria-current=page]{color:#2679c7}.daily-gift-section{border-color:#f3dec3}
@media(max-width:800px){.home-search{margin:14px 16px 10px}.hero{margin:0 16px 12px;padding:20px 17px;min-height:150px;border-radius:14px}.hero>div:first-child{max-width:66%}.hero h1{font-size:22px;line-height:1.45}.hero p{font-size:11px;line-height:1.65}.hero .primary-btn{font-size:12px;padding:7px 12px;margin-top:10px}.hero .eyebrow{display:none}.notice-ticker:not([hidden]){margin:0 16px 8px;background:white}.section{padding:16px}.library-toolbar{position:static;background:transparent;padding:0;margin-bottom:12px}.category-tabs{padding-top:0;gap:8px}.category-tabs button{border-radius:22px;border:0;background:#eef3f9;min-height:38px;padding:8px 15px}.section-head{margin-bottom:12px!important}.section-head .eyebrow{display:none}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.game-card{padding:10px;border-radius:15px;min-height:0}.game-cover{width:100%;height:auto;aspect-ratio:1.12;align-self:stretch;font-size:40px}.game-cover img{width:86%;height:86%;border-radius:14px}.game-body{padding:9px 1px 0}.game-body h3{font-size:15px;line-height:1.45;height:2.9em;margin-bottom:3px}.game-body .game-subtitle{font-size:11px;margin-bottom:9px}.game-body .tags{height:23px}.tags span{font-size:10px;padding:3px 7px}.game-entry{right:10px;bottom:10px;width:28px;height:28px;min-height:28px}.game-cover .badge{display:none}.site-header .outline-btn{background:#f3f9ff;color:#276dac;border:1px solid #d6e9fc}.detail-hero{padding:10px 16px 22px}.detail-tabs{position:sticky;top:64px;z-index:18}.detail-content.configurable-detail{padding:16px 12px}.detail-block{padding:18px;margin-bottom:14px}.detail-block h2,.detail-block h3{font-size:18px}.inline-gift-section{padding:12px}.inline-code{padding:10px;font-size:14px}.inline-code button{font-size:12px;padding:8px 12px}.primary-actions[data-mobile-count="4"]>a,.primary-actions[data-mobile-count="4"]>.action-button{border-radius:11px}.detail-layout .tag{background:#e9f4ff;color:#2769a5}.empty-games{grid-column:1/-1}.count-badge{background:#edf6ff;color:#49779e}.page-games .section-head:has(+.library-toolbar){margin-bottom:5px!important}}
@media(min-width:801px){.notice-ticker:not([hidden]){display:flex;gap:15px;padding:16px;max-width:1200px;margin:auto;border:1px solid var(--line);border-radius:12px;text-decoration:none;background:white}.notice-ticker i{margin-left:auto}.category-tabs{display:flex;gap:9px;flex-wrap:wrap}.category-tabs button{border:0;padding:10px 18px;border-radius:20px;color:#62758e}.search-wrap select{display:none}}

#library{display:flex;flex-direction:column}#library>.library-toolbar{order:0}#library>.section-head{order:1}#library>.game-grid{order:2}.search-wrap:has(select:only-child){display:none}.daily-code-editor input{background:white;color:#344c68}

/* Square game artwork: override legacy absolute placement and remove uneven inset. */
.game-card .game-cover{aspect-ratio:1;display:block;background:transparent;border-radius:14px}.game-card .game-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:50% 50%;margin:0;background:transparent;border-radius:14px}.game-card .game-cover>span{position:absolute;inset:0;display:grid;place-items:center;background:#edf6ff}

