/* One centred brand column: the logo, tagline and companions share a visual axis. */
body.release21.home14 #menu:not(.hidden){grid-template-columns:minmax(0,500px) minmax(300px,480px)!important;justify-content:center!important;column-gap:clamp(24px,6vw,100px)!important;padding:32px clamp(20px,5vw,90px) 60px!important}
body.release21.home14 #menu .menu-brand{display:flex!important;flex-direction:column;align-items:center!important;text-align:center!important;gap:0;justify-self:center;width:100%!important;max-width:500px!important}
body.release21.home14 #menu .menu-brand .eyebrow{margin:0 0 14px!important;font-size:10px!important;letter-spacing:4px!important}
body.release21.home14 #menu .game-logo16{width:clamp(180px,23vw,300px)!important;max-height:34dvh!important;margin:0 0 14px!important;object-fit:contain}
body.release21.home14 #menu .menu-brand p{margin:10px auto!important;max-width:360px!important}
body.release21.home14 #menu .menu-badges{justify-content:center!important;margin-top:14px!important}
body.release21.home14 #menu .home-party14{margin:16px auto 0!important;padding:0 8px;max-width:100%;height:100px!important;justify-content:center;align-items:flex-end;overflow:visible}
body.release21.home14 #menu .home-party14>.pixel-trainer14{width:56px!important;height:88px!important;overflow:visible!important;flex:none}
body.release21.home14 #menu .home-pokemon17{width:76px!important;height:80px!important;overflow:visible!important;flex:none}
body.release21.home14 #menu .home-pokemon17 canvas{width:76px!important;height:64px!important;object-fit:contain}
body.release21.home14 #menu .menu-actions{max-width:480px!important;justify-self:center!important}
body.release21 .home-modes14{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.release21 .home-modes14>button{min-width:0!important;gap:6px!important;font-size:11px!important;line-height:1.3!important}
body.release21 .mixed-home21{background:linear-gradient(145deg,#38465a,#233f43)!important;border-color:#c6b97c88!important}
.mixed-home21 small{font-size:8px!important;color:#e3cf97!important;letter-spacing:.05em}
body.release21 svg.trainer-art19{overflow:hidden!important}
body.release21 #atlas-trainer13>svg{overflow:visible!important}
body.release21 #journey13 .journey-foot13{flex-wrap:wrap;gap:7px;padding:8px 12px}
body.release21 #journey13 .journey-foot13>span{flex:1;min-width:110px;font-size:10px}
/* A picture gets its own space above the caption; neither text nor icons crop it. */
body.tactical20 #game.adventure9 .offer-buy20 canvas{inset:2px 0 27px!important;width:100%!important;height:calc(100% - 29px)!important;max-height:none!important;object-fit:contain!important}
body.tactical20 #game.adventure9 .offer-copies20{bottom:26px!important;pointer-events:none}
body.tactical20 #game.adventure9 .offer-caption20{min-height:24px!important;padding:4px 6px!important}
body.tactical20 #game.adventure9 .offer-caption20 b{font-size:11px!important}
body.tactical20 #game.adventure9 .offer-info20{z-index:3}
body.tactical20 #game.adventure9 .offer-types20{pointer-events:none}
body.tactical20 #game.adventure9 .bench-grid9 .roster-cell8 canvas{height:calc(100% - 12px)!important;max-height:none!important;object-fit:contain!important;align-self:center}
body.release21 #modal .pokemon-hero13>canvas{object-fit:contain!important}
body.release21 #modal .draft-tile9>button:first-child canvas{object-fit:contain!important}
.shape-summary21{display:flex;flex-direction:column;gap:5px;border:1px solid #a5c6af55;background:#1c3d38;border-radius:12px;padding:11px 13px;margin:10px 0;color:#e5e8d5}
.shape-summary21 b{font-size:13px}.shape-summary21 span{font-size:11px;line-height:1.5;color:#bbd5ca}
.mixed-intro21 h3{font-size:24px!important}.mixed-kicker21{font:750 10px system-ui;letter-spacing:.12em;color:#f0c887}
.mixed-generations21{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}
.mixed-generations21>span{display:flex;align-items:center;flex-direction:column;border:1px solid #91aa8955;border-radius:12px;background:#233e3b;padding:8px;min-width:0}
.mixed-generations21 canvas{width:80px!important;height:65px!important;max-width:100%;object-fit:contain}.mixed-generations21 b{font-size:10px;color:#f1d79d}
.mixed-actions21{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.mixed-actions21>button{flex:1;min-width:140px;min-height:44px;font-size:12px}
body.tactical20 #game.adventure9 #world{border:1px solid #79989266!important;border-radius:12px!important}
body.tactical20 #game.adventure9 .world-wrap{border-radius:12px!important}
@media(orientation:landscape) and (max-height:650px){body.release21.home14 #menu:not(.hidden){grid-template-columns:minmax(0,360px) minmax(280px,430px)!important;padding:12px 30px 36px!important;gap:28px!important}body.release21.home14 #menu .game-logo16{width:clamp(120px,20vw,205px)!important;max-height:38dvh!important;margin:0 0 6px!important}body.release21.home14 #menu .menu-brand .eyebrow{font-size:8px!important;margin-bottom:4px!important}body.release21.home14 #menu .menu-brand p{font-size:11px!important;margin:5px auto!important}body.release21.home14 #menu .home-party14{height:55px!important;margin:6px auto 0!important}body.release21.home14 #menu .home-party14>.pixel-trainer14{width:34px!important;height:51px!important}body.release21.home14 #menu .home-pokemon17{width:47px!important;height:47px!important}body.release21.home14 #menu .home-pokemon17 canvas{width:47px!important;height:40px!important}body.release21.home14 #menu .menu-badges{margin-top:6px!important}body.release21.home14 #menu .menu-badges>span{font-size:8px!important;padding:4px 6px!important}body.release21.home14 #menu .menu-actions{padding:12px!important;gap:6px!important}body.release21.home14 #menu .menu-actions>.home-action14{min-height:54px!important;padding:8px 11px!important}body.release21.home14 #menu .home-action14 b{font-size:15px!important}body.release21.home14 #menu .home-action14 small{font-size:9px!important}body.release21 .home-modes14>button{min-height:53px!important;font-size:10px!important;padding:6px!important}body.release21 .home-modes14>button .glyph9{width:18px;height:18px}body.release21 .home-offline14{min-height:29px!important;padding:3px!important}body.release21 .home-tools14{padding-top:6px}.offer-copies20{display:none!important}}
@media(orientation:portrait){body.release21.home14 #menu:not(.hidden){grid-template-columns:minmax(0,480px)!important;grid-template-rows:auto auto auto!important;justify-content:center!important;align-content:center!important;gap:12px!important;padding:18px 14px 12px!important}body.release21.home14 #menu .game-logo16{width:min(42vw,190px)!important;max-height:20dvh!important;margin-bottom:7px!important}body.release21.home14 #menu .menu-brand .eyebrow{font-size:8px!important;margin-bottom:6px!important;letter-spacing:3px!important}body.release21.home14 #menu .menu-brand p{display:none!important}body.release21.home14 #menu .home-party14{height:48px!important;margin-top:6px!important}body.release21.home14 #menu .home-party14>.pixel-trainer14{width:30px!important;height:45px!important}body.release21.home14 #menu .home-pokemon17{width:44px!important;height:43px!important}body.release21.home14 #menu .home-pokemon17 canvas{width:44px!important;height:38px!important}body.release21.home14 #menu .menu-badges{margin-top:6px!important}body.release21.home14 #menu .menu-badges>span{font-size:8px!important;padding:4px 6px!important}body.release21 .home-modes14{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.release21 .home-modes14 .mixed-home21{grid-column:1/-1;min-height:46px!important;flex-direction:row!important}body.release21.home14 #menu .menu-actions{padding:12px!important;gap:8px!important}body.release21.home14 #menu .menu-actions>.home-action14{min-height:62px!important;padding:9px 12px!important}body.release21.home14 #menu .home-action14 b{font-size:17px!important}body.release21 .home-modes14>button{min-height:60px!important}body.release21.home14 #menu>.menu-footer{position:static!important;font-size:8px!important}body.tactical20 #game.adventure9 .offer-caption20 b{font-size:9px!important}body.tactical20 #game.adventure9 .offer-copies20{display:none}.mixed-actions21>button{min-width:120px}}
@media(orientation:portrait) and (max-height:680px){body.release21.home14 #menu:not(.hidden){align-content:start!important;overflow-y:auto!important;padding:10px 12px!important;gap:8px!important}body.release21.home14 #menu .game-logo16{width:110px!important;max-height:120px!important}body.release21.home14 #menu .home-party14{display:none!important}body.release21.home14 #menu .menu-badges{display:none!important}body.release21.home14 #menu .menu-actions>.home-action14{min-height:51px!important}body.release21.home14 #menu .home-action14 small{font-size:9px!important}body.release21 .home-modes14>button{min-height:48px!important}body.release21 .home-tools14{padding-top:6px}body.release21 .home-tools14 button{width:32px!important;height:32px!important;min-height:32px!important}body.release21 .home-offline14{min-height:30px!important}}
