/* Native Telegram controls inherit the shipping marketplace palette. */
.native-market-note{grid-column:1/-1;margin:0;color:#c8bddc;font-size:12px;line-height:1.5}
.native-market-note[hidden]{display:none}
.native-rarity{color:#c8bddc;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;margin-left:auto}
.native-trait-options .collection-picker-row{gap:10px;min-height:48px}
.native-trait-options .collection-picker-name{overflow-wrap:anywhere}
.native-craft-filter{cursor:pointer}
.native-craft-filter .collection-checkbox{flex:none}
#market-section #sort.native-sort{display:block;min-width:0;font:inherit;font-size:12px;color:#dedfe5;background:#1d1f23;border:1px solid #34373c;border-radius:22px;height:42px;padding:0 10px;width:100%}


.gift-craft{font-size:11px;line-height:16px;color:#c8bddc;overflow-wrap:anywhere}
#gifts-grid .crafting-offer .gift-info{min-height:146px}

/* Keep provider names and their logos together without squeezing labels. */
#market-section .market-controls{height:auto;min-height:48px;align-items:center}
#market-section .market-controls .market-switch{display:flex;align-items:stretch;gap:4px;min-width:0;max-width:none;height:auto;min-height:48px;padding:4px;overflow:visible}
#market-section .market-controls .market-switch button{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:1 0 auto;min-width:max-content;min-height:40px;padding:8px 10px;font-size:13px;line-height:20px;white-space:nowrap}
#market-section .market-switch .market-tab-logo{display:block;width:18px;height:18px;flex:0 0 18px;object-fit:contain;pointer-events:none}
#market-section .market-switch .market-tab-label{display:block;white-space:nowrap}
#market-section .market-controls .market-switch button:focus-visible{outline:2px solid #d6c0ff;outline-offset:-3px}
#market-section .market-controls .market-switch button.active:focus-visible{outline-color:#24192e}
@media(max-width:420px){
 #market-section .market-controls{align-items:flex-start}
 #market-section .market-controls .market-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex:1;min-height:48px}
 #market-section .market-controls .market-switch:has([data-market="Telegram"]:not([hidden])){grid-template-columns:repeat(2,minmax(0,1fr))}
 #market-section .market-controls .market-switch button{min-width:0;min-height:44px;padding:8px 5px;font-size:13px;gap:5px}
 #market-section .market-controls #refresh{flex:0 0 44px;margin-top:2px}
}

#market-section .market-controls .market-switch button[hidden],#market-section .market-controls .market-switch button.hidden{display:none}

@media(max-width:700px){#market-section .market-controls .market-switch button{min-height:44px}}
