/* Compact square-cover cards; interactive controls stay visible on touch devices. */
body .game-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(158px,1fr));grid-auto-flow:row;grid-auto-columns:auto;gap:14px;align-items:start}
body .guest-grid,.page-home .game-grid{display:grid;grid-template-columns:none;grid-auto-columns:168px;grid-auto-flow:column;gap:14px;align-items:start;justify-content:start;overflow-x:auto;scroll-snap-type:x proximity;scroll-behavior:smooth;scrollbar-width:thin;padding:4px 0 12px}
.game-grid .game-card,.guest-grid .game-card{display:block;position:relative;isolation:isolate;min-width:0;min-height:0;width:auto;height:auto;padding:0;border:0;border-image:none;border-radius:16px;background:#1a2440;box-shadow:0 2px 10px -4px #060212cc;overflow:hidden;grid-template-columns:none;scroll-snap-align:start;transition:transform .26s ease,box-shadow .26s ease}
.game-grid .game-card:before,.game-grid .game-card:after,.guest-grid .game-card:before,.guest-grid .game-card:after{display:none;content:none;background:none;border:0;box-shadow:none}
.game-grid .game-card:hover,.guest-grid .game-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px -14px #050a23cc}
.game-grid .game-card .card-image,.guest-grid .game-card .card-image{width:100%;height:auto;min-height:0;aspect-ratio:1;position:relative;border:0;border-radius:0;background:#243149;box-shadow:none;overflow:hidden}
.game-grid .game-card .card-image>a:first-child,.guest-grid .game-card .card-image>a:first-child{display:block;width:100%;height:100%}
.game-grid .game-card .card-image img,.guest-grid .game-card .card-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:42% center;filter:none;transition:transform .32s ease}
.game-grid .game-card:hover .card-image img,.guest-grid .game-card:hover .card-image img{transform:scale(1.06)}
.game-grid .game-card .card-meta,.guest-grid .game-card .card-meta{position:relative;min-height:0;height:54px;padding:9px 10px 11px;background:linear-gradient(#33304e8c,#1a2038e6);border:0;box-shadow:none;z-index:1}
.game-grid .game-card .card-meta h3,.guest-grid .game-card .card-meta h3{font-family:'Palace Sans',system-ui,sans-serif;color:#fff0d5;font-size:14px;font-weight:700;line-height:1.25;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;min-height:0;margin:0;text-shadow:none}
.game-grid .game-card .card-meta h3>a,.guest-grid .game-card .card-meta h3>a{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.game-grid .game-card .card-meta p,.guest-grid .game-card .card-meta p{font-size:11px;font-weight:400;line-height:1.4;color:#c3b8ce;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;min-height:0;margin:1px 0 0;text-shadow:none}
.game-grid .game-card .card-bottom,.guest-grid .game-card .card-bottom{display:none}
.game-grid .game-card .card-image:after,.guest-grid .game-card .card-image:after{inset:58% 0 0;background:linear-gradient(transparent,#101a3299)}
.game-grid .game-card .card-tag,.guest-grid .game-card .card-tag{top:8px;left:8px;max-width:calc(100% - 44px);padding:3px 6px;border:0;border-radius:5px;background:#14243cdb;color:#ffebbc;font-size:9px;font-weight:800;line-height:1.2;letter-spacing:.045em;box-shadow:none;text-shadow:none}
.game-grid .game-card .save-game,.guest-grid .game-card .save-game{top:7px;right:7px;width:25px;height:25px;border:0;background:#17203dcc;color:#fff1d1;box-shadow:none;font-size:17px;line-height:1;padding:0}
.game-grid .game-card .preview-button,.guest-grid .game-card .preview-button{position:absolute;z-index:2;bottom:9px;left:8px;right:auto;font-size:11px;font-weight:750;line-height:1.25;min-height:26px;padding:6px 9px;border:0;border-radius:6px;background:#102b43e8;color:#fff1d0;box-shadow:0 2px 5px #0006;text-shadow:none}
.game-grid .game-card .card-play,.guest-grid .game-card .card-play{position:absolute;z-index:2;bottom:9px;right:8px;left:auto;min-height:26px;padding:6px 11px;border:0;border-radius:6px;background:linear-gradient(#f4d99a,#d4aa60);box-shadow:0 2px 5px #0006;color:#31233c;font-size:11px;font-weight:800;line-height:1.25;text-shadow:none;white-space:nowrap}
body .itinerary-cards .route-stop{width:168px;border:0;box-shadow:none;border-radius:16px;overflow:hidden;background:#1a2440}
body .itinerary-cards .route-stop img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border:0;border-image:none;border-radius:0;box-shadow:none}
body .itinerary-cards .route-stop h3{font-family:'Palace Sans',system-ui,sans-serif;font-size:14px;line-height:1.25;margin:9px 10px 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
body .itinerary-cards .route-stop small{display:block;font-size:10px;margin:3px 10px 10px}
@media(max-width:640px){body .game-grid{grid-template-columns:repeat(auto-fill,minmax(126px,1fr));gap:10px}body .guest-grid,.page-home .game-grid{grid-template-columns:none;grid-auto-columns:136px;grid-auto-flow:column;gap:14px}body .itinerary-cards .route-stop{width:136px}.game-grid .game-card .card-meta,.guest-grid .game-card .card-meta{height:54px;padding:9px 10px 11px}.game-grid .game-card .preview-button,.guest-grid .game-card .preview-button{left:6px;padding-left:7px;padding-right:7px}.game-grid .game-card .card-play,.guest-grid .game-card .card-play{right:6px;padding-left:10px;padding-right:10px}.game-grid .game-card .card-tag,.guest-grid .game-card .card-tag{left:7px;font-size:8px}}
@media(prefers-reduced-motion:reduce){body .guest-grid,.page-home .game-grid{scroll-behavior:auto}.game-grid .game-card,.guest-grid .game-card,.game-grid .game-card img,.guest-grid .game-card img{transition:none}.game-grid .game-card:hover,.guest-grid .game-card:hover,.game-grid .game-card:hover img,.guest-grid .game-card:hover img{transform:none}}
