:root{font-family:Arial,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:#10153e;background:#f7f9ff;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}.icon-sprite,.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.page-shell{max-width:1040px;margin:auto;padding:16px 24px 10px}.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 4px 17px}.wordmark{text-decoration:none;color:#11143b;font-size:clamp(25px,3.5vw,39px);font-weight:900;letter-spacing:-2.5px;white-space:nowrap;line-height:1.2}.wordmark span{color:#813aff}.header-actions{display:flex;align-items:center;gap:22px}.category-control{position:relative}.category-toggle,.search-field{height:46px;border:1px solid #d8defa;border-radius:23px;background:#f3f5ff;box-shadow:0 1px 3px #dce3f36b inset;display:flex;align-items:center;gap:12px;color:#11143b}.category-toggle{padding:0 14px;font-weight:700;white-space:nowrap}.icon{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;flex:none}.chevron{width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-3px);margin-left:2px}.category-toggle[aria-expanded=true] .chevron{transform:rotate(225deg) translate(-2px,-1px)}.category-menu{position:absolute;z-index:10;top:calc(100% + 8px);left:0;min-width:100%;padding:6px;background:#fff;border:1px solid #e0e5f5;border-radius:15px;box-shadow:0 12px 30px #303f7430}.category-menu[hidden],.empty-state[hidden]{display:none}.category-option{display:block;width:100%;border:0;background:transparent;text-align:left;white-space:nowrap;padding:10px 12px;border-radius:9px;color:#303960}.category-option:hover,.category-option.active{background:#f1ecff;color:#7034e4}.search-field{width:220px;padding:0 14px}.search-field:focus-within{outline:2px solid #a98aff;outline-offset:1px}.search-field input{width:100%;min-width:0;outline:0;border:0;background:transparent;color:#172149}.search-field input::placeholder{color:#97a0bf}.profile-button{width:38px;height:38px;margin-left:52px;display:grid;place-items:center;position:relative;border:0;border-radius:50%;background:#7e8aab;overflow:hidden}.profile-head{position:absolute;top:7px;width:11px;height:11px;background:white;border-radius:50%}.profile-body{position:absolute;bottom:5px;width:22px;height:12px;background:white;border-radius:12px 12px 7px 7px}.game-list{display:grid;gap:10px}.game-card{display:block;width:100%;padding:0;text-align:left;border:0;border-radius:13px;background:white;color:inherit;overflow:hidden;box-shadow:0 5px 16px #2335700d;transition:transform .18s ease,box-shadow .18s ease}.game-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px #2335701c}.game-card:focus-visible,.category-toggle:focus-visible,.profile-button:focus-visible,.category-option:focus-visible,.dialog-close:focus-visible,.dialog-confirm:focus-visible{outline:3px solid #8648f4;outline-offset:2px}.art{display:block;position:relative;overflow:hidden;width:100%;background:#cde4ff}.art img{display:block;position:absolute;top:0;left:-2.7%;width:105.73%;max-width:none;height:auto;transform:translateY(calc(var(--crop-start) * -1));pointer-events:none}.art-mushroom{aspect-ratio:890/251}.art-blocks{aspect-ratio:890/229}.art-cat{aspect-ratio:890/216}.art-survival{aspect-ratio:890/182}.art-cafe{aspect-ratio:890/150}.art-racer{aspect-ratio:890/135}.card-copy{display:block;padding:4px 14px 8px}.card-copy strong{display:block;font-size:21px;letter-spacing:-1px;font-weight:900;line-height:1.22}.card-meta{display:flex;align-items:center;gap:7px;color:#637095;font-size:16px;font-weight:600;line-height:1.35;white-space:normal}.meta-icon{width:22px;height:22px;flex:none;fill:#657295;stroke:#657295;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.divider{padding:0 6px;color:#9aa5c2;font-weight:400}.empty-state{text-align:center;padding:48px 20px;color:#637095;font-weight:600}.info-dialog{width:min(390px,calc(100% - 36px));border:0;border-radius:21px;padding:29px;box-shadow:0 20px 70px #17224a66;color:#151a43}.info-dialog::backdrop{background:#1119388a}.dialog-close{position:absolute;right:16px;top:16px;display:grid;place-items:center;width:32px;height:32px;border:0;background:#f0f2fc;border-radius:50%;color:#526083}.dialog-close .icon{width:18px;height:18px}.dialog-eyebrow{margin:0 0 12px;color:#813aff;font-size:12px;font-weight:800;letter-spacing:1.2px}.info-dialog h2{margin:0 0 10px;font-size:25px}.info-dialog p{line-height:1.5}.info-dialog #dialog-description{margin:0 0 14px;color:#637095}.dialog-note{margin:0 0 22px}.dialog-confirm{width:100%;height:44px;color:#fff;background:#813aff;border:0;border-radius:11px;font-weight:800}@media(max-width:740px){.page-shell{padding:17px 16px 18px}.site-header{align-items:flex-start;flex-wrap:wrap;gap:14px;padding:0 1px 15px}.wordmark{font-size:31px}.header-actions{width:100%;gap:10px}.category-toggle{height:42px;padding:0 10px;gap:7px;font-size:14px}.category-toggle .icon{width:21px;height:21px}.search-field{height:42px;flex:1;width:auto;min-width:0;gap:7px;padding:0 10px}.search-field .icon{width:21px;height:21px}.profile-button{position:absolute;top:18px;right:17px;margin:0;width:34px;height:34px}.game-list{gap:10px}.card-copy{padding:5px 11px 9px}.card-copy strong{font-size:18px}.card-meta{font-size:13px;gap:5px}.meta-icon{width:18px;height:18px}.divider{padding:0 3px}}@media(max-width:390px){.wordmark{font-size:27px;letter-spacing:-1.9px}.card-meta{font-size:12px}}
.game-card[hidden]{display:none}
.art-standalone{aspect-ratio:890/230}
.art-standalone img{position:static;width:100%;height:100%;object-fit:cover;transform:none}
.search-trigger{display:none}
@media(max-width:900px){
  .page-shell{padding:14px 12px 18px}
  .site-header{position:relative;align-items:center;flex-wrap:nowrap;gap:6px;padding:0 0 14px}
  .wordmark{font-size:clamp(18px,5.4vw,26px);letter-spacing:-1.6px;flex:none}
  .header-actions{width:auto;margin-left:auto;gap:6px;flex:none}
  .category-toggle{width:92px;height:38px;padding:0 7px;gap:4px;font-size:12px;justify-content:center}
  .category-toggle .icon{width:17px;height:17px}
  #selected-category{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .category-toggle .chevron{width:7px;height:7px;flex:none;margin-left:0}
  .search-trigger{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #d8defa;border-radius:50%;background:#f3f5ff;color:#11143b}
  .search-trigger .icon{width:20px;height:20px}
  .search-trigger:focus-visible{outline:3px solid #8648f4;outline-offset:2px}
  .search-field{display:none;position:absolute;z-index:9;top:calc(100% - 7px);left:0;width:100%;height:42px;padding:0 12px;background:#fff;box-shadow:0 8px 20px #23357024}
  .search-field.is-open{display:flex}
  .profile-button{position:relative;top:auto;right:auto;width:34px;height:34px;margin:0;flex:none}
}
@media(max-width:390px){
  .wordmark{font-size:clamp(17px,5.2vw,20px);letter-spacing:-1.3px}
  .category-toggle{width:82px;padding:0 5px;font-size:11px}
  .category-toggle .icon{width:15px;height:15px}
  .search-trigger{width:34px;height:34px}
  .profile-button{width:31px;height:31px}
  .header-actions{gap:5px}
}

/* Keep every game card the same size while centering its source artwork. */
.game-card{height:200px}
.art,.art-standalone{height:150px;aspect-ratio:auto}
.art img{top:50%;transform:translateY(calc(var(--crop-center) * -1));clip-path:inset(var(--crop-start) 0 var(--crop-end))}
.art-mushroom img{--crop-center:12.29%;--crop-end:80.20%}
.art-blocks img{--crop-center:31.07%;--crop-end:62.08%}
.art-cat img{--crop-center:48.71%;--crop-end:44.80%}
.art-survival img{--crop-center:65.13%;--crop-end:29.43%}
.art-cafe img{--crop-center:79.49%;--crop-end:16.03%}
.art-racer img{--crop-center:92.14%;--crop-end:3.83%}
.art-standalone img{top:auto;clip-path:none;transform:none;object-position:center}
.card-copy{height:50px;padding:3px 12px;display:flex;flex-direction:column;justify-content:center;overflow:hidden}
.card-copy strong{font-size:clamp(17px,2vw,19px);line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-meta{font-size:clamp(12px,1.5vw,14px);line-height:1.15;white-space:nowrap;overflow:hidden}

.game-entry{position:relative;height:200px}
.game-entry[hidden]{display:none}
.game-entry .card-copy{padding-right:56px}
.favorite-button{position:absolute;right:5px;bottom:3px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:white;color:#8993b3}
.favorite-button svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:fill .15s ease,color .15s ease}
.favorite-button[aria-pressed="true"]{color:#ed4e95}
.favorite-button[aria-pressed="true"] svg{fill:#ed4e95}
.favorite-button:focus-visible{outline:3px solid #8648f4;outline-offset:2px}

/* Show the whole preview at any card width; soften the spare space with its own artwork. */
.art-standalone{background:#17272d;isolation:isolate}
.art-standalone .preview-backdrop{position:absolute;inset:-12px;width:calc(100% + 24px);height:calc(100% + 24px);object-fit:cover;object-position:center;filter:blur(12px) brightness(.62);transform:none;clip-path:none;pointer-events:none}
.art-standalone img:not(.preview-backdrop){position:relative;z-index:1;top:auto;left:auto;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;transform:none;clip-path:none}
.game-list{grid-template-columns:minmax(0,1fr)}
.game-entry{min-width:0}
@media(max-width:350px){.wordmark{font-size:16px}}

/* Gameplay-inspired key art: full-bleed banners with mobile-safe focal points. */
.game-entry,.game-card{height:auto}
.art-standalone{display:block;width:100%;height:auto;min-height:150px;aspect-ratio:3/1;overflow:hidden}
.art-standalone img:not(.preview-backdrop){position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.game-card:focus-visible .art-standalone img{transform:scale(1.035)}
@media(hover:hover){.game-card:hover .art-standalone img{transform:scale(1.035)}}
@media(prefers-reduced-motion:reduce){.art-standalone img:not(.preview-backdrop){transition:none}.game-card:hover .art-standalone img,.game-card:focus-visible .art-standalone img{transform:none}}
