/* Live text layers; original lettering inside card-face art stays unchanged. */
:root:lang(zh-CN){font-family:'PingFang SC','Microsoft YaHei',system-ui,sans-serif}
:root:lang(en){font-family:system-ui,-apple-system,'Segoe UI',sans-serif}
[class~="01-i18n-language"]{display:inline-flex;min-width:0;align-items:center}
[class~="01-i18n-language"] select{font:inherit;font-size:12px;color:var(--ink);background:#203e34;border:1px solid var(--line);border-radius:7px;padding:7px;max-width:110px;min-height:38px}
[class~="01-i18n-sr-only"]{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
[class~="01-i18n-color-attention"],[class~="01-i18n-color-money"]{color:var(--yellow)}
[class~="01-i18n-color-chips"],[class~="01-i18n-color-blue"]{color:#6cc6ef}
[class~="01-i18n-color-mult"],[class~="01-i18n-color-red"]{color:#ff8a7e}
[class~="01-i18n-color-green"]{color:#8fd1a3}[class~="01-i18n-color-purple"],[class~="01-i18n-color-spectral"]{color:#caabf3}
[class~="01-i18n-color-inactive"]{color:var(--muted)}[class~="01-i18n-background"]{background:#081e1b;border-radius:3px;padding:0 2px}
/* Let longer English labels wrap within existing first-screen shop cells. */
:root:lang(en) .shop-card strong{overflow-wrap:anywhere;line-height:1.15;max-width:100%}
:root:lang(en) .shop-item-actions .btn{white-space:normal;line-height:1.1}
:root:lang(en) .section-label{letter-spacing:0;flex-wrap:wrap;gap:3px}
:root:lang(en) .blind-type{letter-spacing:0}
:root:lang(en) .hand-actions .btn{padding-left:10px;padding-right:10px}
:root:lang(en) .card-mark{font-size:8px;white-space:normal;line-height:1.05;max-width:100%;text-align:center}
:root:lang(en) .top-actions .icon-btn{padding-left:8px;padding-right:8px}
@media(max-width:600px){.topbar{gap:5px;padding-left:10px;padding-right:10px}.top-actions{gap:4px}[class~="01-i18n-language"] select{font-size:11px;max-width:84px;min-height:34px;padding:4px}.top-actions .pill{display:none}:root:lang(en) .hand-type{font-size:15px;overflow-wrap:anywhere}:root:lang(en) .shop-section .section-label{font-size:9px}:root:lang(en) .shop-card strong{font-size:9px}[class~="01-i18n-language"]{flex-shrink:1}}
@media(max-width:390px){.brand img{width:55px}.brand-divider,.brand-title,.topbar .sub{display:none}.top-actions .icon-btn{font-size:10px}}
/* Narrow product cells reserve a full-width live action label. */
.shop-items>.shop-card{container-type:inline-size}
@container(max-width:80px){.shop-item-actions{height:52px;grid-template-columns:minmax(0,1fr);grid-template-rows:20px 30px;gap:2px;justify-items:stretch}.shop-item-actions .price-tag{font-size:14px;text-align:center;line-height:1}.shop-item-actions>.btn{height:30px;min-height:30px;padding:2px}}
:root:lang(en)[data-short="true"] .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
:root:lang(en) .stat label{white-space:normal;overflow-wrap:anywhere;line-height:1.1}
:root:lang(en) .shop-items .shop-card>strong{height:2.4em;min-height:2.4em}
