/* Every shelf tile owns the same four rows, including claimed tiles. */
.market-offers{align-items:stretch;grid-auto-rows:1fr}
.market-offer{display:grid;grid-template-rows:140px 36px 34px 34px;row-gap:5px;align-items:stretch;align-content:start;padding:10px 6px 12px;min-width:0;min-height:271px}
.market-offer .offer-art{height:140px;width:100%;display:flex;align-items:center;justify-content:center;margin:0;transform:rotate(-3deg)}
.market-offer .offer-art canvas{width:auto;height:auto;max-width:100%;max-height:140px;aspect-ratio:300/440;object-fit:contain;flex:0 1 auto}
.market-offer h3{display:flex;align-items:center;justify-content:center;min-height:0;height:36px;margin:0;font-size:12px;line-height:17px;text-align:center;overflow:hidden;overflow-wrap:anywhere}
.market-offer .offer-rule{display:flex;align-items:center;justify-content:center;min-height:0;height:34px;margin:0;font-size:10px;line-height:17px;text-align:center;overflow:hidden;overflow-wrap:anywhere}
.market-offer .claim-button{height:34px;min-height:34px;align-self:end;padding:0 3px;line-height:34px;font-size:12px;margin:0;white-space:nowrap}
.exclusive-guide-card.fan-guide{grid-column:1/-1;display:grid;grid-template-columns:80px 1fr;column-gap:9px;align-items:center;padding:10px 13px;text-align:left}.fan-guide .exclusive-guide-art{height:115px;grid-row:1/5}.fan-guide h3{margin:0}.fan-guide p,.fan-guide small,.fan-guide button{grid-column:2}.fan-guide button{justify-self:start}
.trophy-browse{display:flex;align-items:center;justify-content:space-between;gap:8px}.trophy-browse .pill-group button{padding:5px 10px;font-size:12px}.trophy-browse select{min-width:0;max-width:130px;padding:6px 9px;border:1px solid #d8c6d5;border-radius:15px;background:#fff8;color:#89718d;font-size:12px}
.talent-modal-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:60svh;overflow:auto;padding:2px}.talent-modal-list .talent-chip{height:32px;font-size:12px}.talent-modal-list .talent-chip b{font-size:11px}
.fan-source-button{display:block;margin:3px auto 0;padding:0 2px 3px;color:#9877a8;text-decoration:underline;text-underline-offset:2px;font-size:9px;line-height:1.4}
.pokemon-card.is-fakemon .card-heading h2{font-size:18px;overflow-wrap:anywhere}
/* More talents live in an internal scroll panel; the card and controls remain separate. */
@media(max-height:700px){.showing-card .pokemon-card .scene-box{height:116px}.showing-card .pokemon-card .card-radar{height:100px}}
@media(max-height:620px){.showing-card .pokemon-card .scene-box{height:104px}.showing-card .pokemon-card .card-radar{height:88px}.showing-card #open-controls{gap:4px}.showing-card .text-button,.showing-card .next-note{font-size:11px}}
@media(max-width:360px){.market-offer{grid-template-rows:126px 36px 34px 34px;min-height:257px}.market-offer .offer-art{height:126px}.market-offer .offer-art canvas{max-height:126px}.trophy-browse .pill-group button{padding:5px 8px}.trophy-browse select{max-width:118px;font-size:11px}}
