/* Official wordmarks sit on compact platform buttons, below the artwork. */
.marketplaces{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;max-width:330px}
.market-option{display:flex;min-width:0;flex-direction:column;align-items:stretch}
.marketplaces .market-link,.flavor-copy .marketplaces .market-link{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-width:0;min-height:48px;padding:12px 14px;border:0;border-radius:3px;text-decoration:none;box-shadow:none;line-height:1;cursor:pointer}
.marketplaces .market-link--ozon,.flavor-copy .marketplaces .market-link--ozon{background:#fff;color:#005bff}
.marketplaces .market-link--wb,.flavor-copy .marketplaces .market-link--wb{background:#8c6a88;color:#fff7ff;border:1px dashed #f2dff0}
.marketplaces .market-link:disabled{cursor:default;opacity:1}
.market-link img{display:block;width:min(100%,104px);height:18px;object-fit:contain}
.market-link--ozon img{width:76px}
.market-link--wb img{width:min(100%,86px)}
.market-link span{font:16px/1 Arial,sans-serif}
.market-link__status{display:inline-flex;align-items:center;min-height:22px;padding:3px 5px;border:1px solid currentColor;border-radius:2px;font:700 10px/1 var(--sans,Arial,sans-serif);letter-spacing:.04em;text-transform:uppercase}
.market-note{display:block;text-align:center;margin-top:6px;font:11px/1.4 var(--sans,Arial,sans-serif);color:inherit}
.flavor-copy .detail-actions{display:flex;flex-direction:column;align-items:stretch;gap:14px}
.flavor-copy .detail-actions>button{align-self:flex-start}
.flavor-copy .market-note{color:#f5e2c3}
.shop-marketplaces{display:grid;grid-template-columns:1fr 1fr;gap:7%;width:77%;margin:-2% auto 0;color:#fff3dc}
.shop-marketplaces .marketplaces{grid-template-columns:1fr;gap:8px;margin:auto;max-width:190px}
.shop-facts{width:min(620px,88%);margin:14px auto 0;padding:9px 14px;border:1px solid #ebd5ad66;background:#30251db8;color:#fff3dc;font:12px/1.5 var(--sans,Arial,sans-serif);text-align:center}
.shop-facts p{margin:0}
.flavor-copy .flavor-facts{margin:-7px 0 12px;font:600 12px/1.4 var(--sans,Arial,sans-serif);color:#ffe7bb}
.counter-ticket h4{margin-bottom:0}
.info-content .marketplaces{margin-top:14px;color:#503925}
.info-content .market-link{padding:12px 14px}
@media(max-width:700px){
 .marketplaces{gap:6px}
 .marketplaces .market-link,.flavor-copy .marketplaces .market-link{min-height:46px;padding:10px 8px;gap:4px}
 .market-link img{height:16px}
 .market-link--wb{gap:4px;padding-inline:5px}
 .market-link--wb img{width:56px}
 .market-link--ozon img{width:64px}
 .market-link--ozon span{display:none}
 .market-note{font-size:10px}
 .market-link__status{min-height:18px;font-size:8px;padding:2px 3px}
 .flavor-copy .marketplaces{grid-template-columns:1fr;gap:8px}
 .flavor-copy .detail-actions{gap:10px}
 .shop-marketplaces{width:82%;gap:12%;margin:-1% auto 0}
 .shop-facts{width:86%;margin-top:10px;padding:8px 10px;font-size:10px}
 .flavor-copy .flavor-facts{font-size:11px;margin:-5px 0 9px}
 .counter-ticket h4{font-size:clamp(17px,4.6vw,25px);margin:0;min-height:0}
}
@media(max-height:550px) and (min-aspect-ratio:1/1){
 .shop-scene .counter-ticket h4{font-size:clamp(11px,1.6vw,16px);line-height:1.1}
 .shop-marketplaces .marketplaces{grid-template-columns:1fr 1fr;max-width:none;gap:6px}
 .marketplaces .market-link,.flavor-copy .marketplaces .market-link{padding:10px 8px;min-height:44px}
 .shop-marketplaces .market-link--wb{gap:3px;padding-inline:4px}
 .shop-marketplaces .market-link--wb img{width:56px}
 .shop-marketplaces .market-link__status{min-height:18px;font-size:8px;padding:2px 3px}
 .flavor-copy .marketplaces{grid-template-columns:1fr;max-width:170px}
}
@media(forced-colors:active){.marketplaces .market-link{border:1px solid ButtonText}}

/* Reserve space for live controls first; fit the intact counter into the rest.
   The frame's size container keeps its artwork and ticket overlays at 3:2. */
.stage .object-stage[data-object="buy"]{top:90px;bottom:24px;translate:-50% 0;width:min(990px,calc(100vw - 208px));max-height:none;padding:0;overflow:clip}
.shop-scene{height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto;gap:8px;padding:0}
.shop-heading{margin:0;padding:0}
.shop-heading h3{margin:5px 0;font-size:clamp(24px,3vw,38px)}
.shop-art-frame{container-type:size;min-width:0;min-height:0;display:grid;place-items:center}
.shop-art-frame .photo-counter{width:min(100cqw,150cqh);height:auto;aspect-ratio:3/2}
.shop-art-frame .counter-ticket h4{font-size:clamp(16px,4.4cqw,34px);margin:4px 0 0;min-height:0}
.shop-art-frame .counter-ticket .eyebrow{font-size:clamp(6px,1.2cqw,9px)}
.shop-marketplaces{width:min(620px,82%);margin:0 auto;gap:12%}
.shop-marketplaces .market-note{display:none}
.shop-facts{width:min(620px,94%);margin:0 auto;padding:7px 10px;font:12px/1.5 var(--sans,Arial,sans-serif)}
.shop-facts p{font:inherit;margin:0}
@media(max-width:700px) and (max-aspect-ratio:1/1){
 .stage .object-stage[data-object="buy"]{top:max(128px,calc(env(safe-area-inset-top) + 118px));bottom:max(76px,calc(env(safe-area-inset-bottom) + 64px));width:calc(100vw - 20px)}
 .shop-scene{gap:6px}
 .shop-heading h3{font-size:clamp(22px,6.8vw,27px)}
 .shop-heading .eyebrow{font-size:9px}
 .shop-facts{font-size:11px;padding:6px 8px}
}
@media(max-width:700px) and (max-height:600px) and (max-aspect-ratio:1/1){
 .shop-heading .eyebrow{display:none}
 .shop-heading h3{font-size:21px;margin:0}
 .shop-scene{gap:4px}
 .shop-marketplaces{width:100%;gap:8%}
 .shop-marketplaces .marketplaces{grid-template-columns:1fr 1fr;gap:4px}
 .shop-marketplaces .market-link{padding:4px;min-height:44px}
 .shop-marketplaces .market-link--wb{flex-direction:column;gap:3px}
 .shop-marketplaces .market-link--wb img{width:48px;height:10px}
 .shop-marketplaces .market-link__status{font-size:7px;min-height:13px;padding:1px 3px}
 .shop-marketplaces .market-link--ozon img{width:54px}
 .shop-facts{font-size:10px;line-height:1.4;padding:3px 5px}
}
@media(max-height:550px) and (min-aspect-ratio:1/1){
 .stage .object-stage[data-object="buy"]{top:68px;bottom:max(76px,calc(env(safe-area-inset-bottom) + 64px));width:min(900px,calc(100vw - 28px))}
 .shop-scene{grid-template-columns:30% minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:6px 12px;align-items:center}
 .shop-heading{grid-column:1;grid-row:1;align-self:end}
 .shop-heading h3{font-size:23px}
 .shop-art-frame{grid-column:2;grid-row:1;align-self:stretch}
 .shop-marketplaces{grid-column:2;grid-row:2;width:100%;gap:8%}
 .shop-marketplaces .marketplaces{grid-template-columns:1fr 1fr;gap:5px}
 .shop-marketplaces .market-link{padding:5px;min-height:44px;gap:3px}
 .shop-marketplaces .market-link--ozon img{width:60px}
 .shop-marketplaces .market-link--ozon span{display:none}
 .shop-marketplaces .market-link--wb{flex-direction:column;gap:3px}
 .shop-marketplaces .market-link--wb img{width:52px;height:10px}
 .shop-marketplaces .market-link__status{font-size:7px;min-height:13px;padding:1px 3px}
 .shop-facts{grid-column:1;grid-row:2;align-self:start;width:100%;font-size:10px;line-height:1.4;margin:0;padding:4px}
 .shop-art-frame .counter-ticket h4{font-size:clamp(13px,3cqw,23px)}
}
@media(max-height:550px) and (min-aspect-ratio:1/1) and (max-width:480px){
 .stage .object-stage[data-object="buy"]{top:92px}
}
