/* Edition runtime additions on top of the Møbee app stylesheet. */
#loading{display:flex;align-items:center;justify-content:center;min-height:60vh;color:var(--muted,#6b7480)}
.edition-name{font-weight:600;font-size:14px;margin-left:8px;color:var(--ink,#2a2930);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(34vw,220px)}
header .logo{min-width:0;overflow:hidden;flex:1 1 auto;justify-content:flex-start}
header .logo img{flex:none}
header .header-actions{flex:none}
@media (max-width:480px){.preview-badge{display:none}body.has-edition header .logo img{height:44px}}
.preview-badge{align-self:center;font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:#6b7480;border:1px solid #d9d6c8;border-radius:999px;padding:3px 8px;margin-right:4px}
/* Avatars are the edition's figures: square tiles on a light ground, like the Twin picker. */
#avatar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:10px;width:100%;max-width:560px;margin:8px auto 18px;box-sizing:border-box;padding:2px}
@media (max-width:480px){#avatar-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
#avatar-grid button{aspect-ratio:1;padding:6px;border-radius:14px;background:#fffefa;border:2px solid transparent;min-height:0;min-width:0;overflow:hidden}
#avatar-grid button img{width:100%;height:100%;max-width:100%;object-fit:contain;display:block}
#avatar-grid button.selected{border-color:var(--accent,#F2C94C);box-shadow:0 0 0 3px #F2C94C33}
#header-avatar,#hud-avatar,#sheet-avatar,#avatar,#entries img{object-fit:contain;background:transparent}
.sheet-footer{font-size:12px;color:#6b7480}
/* Collection screen: the edition's figures one at a time (tap for the next), with a link to the client. */
.shop-photo-btn{display:block;width:100%;padding:12px;border:0;background:#fffefa;border-radius:16px;margin:0 0 6px;min-height:0;flex:1 1 auto;min-height:160px;max-height:46%;box-shadow:inset 0 0 0 1px var(--line,#E6E4CF)}
.shop-photo{width:100%;height:100%;object-fit:contain;display:block;transition:opacity .15s}
.shop-photo.swap{opacity:0}
.shop-caption{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:4px 0 8px!important;font-size:16px!important}
.shop-caption span{font-size:12px;color:var(--muted,#6b6775);letter-spacing:.06em}
.shop-link{margin:4px auto 0;font-size:14px}
