/* Header typography and fixed item size; original game PNGs stay unchanged. */
.brand-name{font-family:'Arial Black','Arial',sans-serif;font-weight:1000;letter-spacing:0;-webkit-text-stroke:.35px currentColor}
.brand-name em{font-weight:1000}
.brand-sub{font-size:10px;font-weight:650;letter-spacing:1px;text-transform:none}
.item-icon img{width:48px;height:48px}
.related .item-icon img{width:32px;height:32px}
@media(max-width:1280px){.brand-sub{font-size:8px;letter-spacing:.9px}}
@media(max-width:600px){.brand-name{-webkit-text-stroke:.28px currentColor}.brand-sub{font-size:6.5px;letter-spacing:.4px}}
@media(max-width:380px){.brand-sub{font-size:6px;letter-spacing:.2px}}

/* Portrait grid cards with a separate action row; list/detail retain their rules. */
.item-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:28px 24px;align-items:stretch}
.item-grid .item-card{aspect-ratio:3/4;min-height:280px;padding:12px;border:1px solid #303033;border-radius:6px;background:#151516;transition:border-color .15s}
.item-grid .item-card:hover,.item-grid .item-card:focus-within{border-color:#76552b}
.item-grid .card-main{display:flex;flex-direction:column;height:calc(100% - 34px);min-height:0}
.item-grid .card-top{height:auto;min-height:84px;flex:1 1 auto}
.item-grid .top-badge{top:8px;right:8px;padding:2px 6px;font-size:10px}
.item-grid .card-title{flex:none;height:56px;min-height:56px;margin-top:10px;padding-right:0}
.item-grid .card-title h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;min-height:38px;max-height:38px;overflow:hidden;font-size:15px;line-height:19px;letter-spacing:0}
.item-grid .item-id{font-size:10px;line-height:18px;letter-spacing:0}
.item-grid .favorite{top:auto;bottom:11px;right:43px;width:25px;height:25px;font-size:24px}
.item-grid .compare-add{top:auto;bottom:12px;right:12px;width:24px;height:24px;font-size:18px}
.item-grid .compare-add.selected{font-size:14px}
.item-grid .card-excerpt{flex:none;margin-top:2px;height:18px;min-height:18px;max-height:18px;line-height:18px;font-size:11px}
.item-grid .card-meta{flex:none;margin-top:6px;gap:0 9px;height:36px;min-height:36px;max-height:36px;line-height:18px;font-size:10px}
.item-grid .view-detail{top:auto;bottom:13px;left:12px;right:auto;padding:2px 0;background:transparent;font-size:10px;opacity:1}
@media(min-width:1600px){.item-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1250px){.item-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1050px){.item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){.item-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:720px){.item-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px}}
@media(max-width:540px){.item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 18px}.item-grid .item-card{padding:9px;min-height:248px}.item-grid .card-main{height:calc(100% - 32px)}.item-grid .card-top{min-height:68px}.item-grid .card-title{margin-top:8px;height:54px;min-height:54px}.item-grid .card-title h3{font-size:14px;line-height:18px;min-height:36px;max-height:36px}.item-grid .card-meta{margin-top:4px}.item-grid .favorite{bottom:8px;right:39px}.item-grid .compare-add{bottom:9px;right:9px}.item-grid .view-detail{bottom:10px;left:9px;font-size:9px}.item-grid .top-badge{font-size:9px}}
@media(max-width:360px){.item-grid{grid-template-columns:minmax(0,240px);justify-content:center}}

/* Small heart favorites and a softer, more spacious header. */
.topbar{padding-top:19px;padding-bottom:19px}
.search-box{border-radius:999px;padding-left:18px;gap:10px}
.search-box .primary{align-self:center;min-height:42px;margin:3px;border-radius:999px;padding:8px 20px}
.favorite .favorite-heart{display:block;width:17px;height:17px;flex:none}
.primary-nav .nav-symbol{display:inline-flex;align-items:center;justify-content:center;font-size:0}
.primary-nav .nav-symbol .favorite-heart{width:18px;height:18px;flex:none}
.primary-nav .nav-active .favorite-heart{fill:currentColor}
.detail-actions [data-fav]{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.detail-actions [data-fav] .favorite-heart{width:16px;height:16px;flex:none}
@media(max-width:860px){.topbar{padding-top:18px;padding-bottom:21px}}
@media(max-width:600px){.topbar{padding-top:16px;padding-bottom:19px}.search-box{padding-left:15px;gap:8px}.search-box .primary{min-height:37px;padding:7px 16px}}
