@layer skinboost-fixes {
/* Keep both sides of a bonus card readable without a 3D compositing dependency. */
#profileView .profile-inventory-shell.bonus-mode {
  height: auto !important;
  min-height: 306px;
  overflow: visible !important;
}
#profileView .profile-items.profile-bonuses {
  height: auto !important;
  min-height: 236px;
  padding-bottom: 16px !important;
}
#profileView .profile-bonus-card-inner {
  display: grid !important;
  min-height: 236px;
  height: auto !important;
  transform: none !important;
  transform-style: flat !important;
}
#profileView .profile-bonus-face {
  position: relative !important;
  inset: auto !important;
  grid-area: 1 / 1;
  min-height: 236px;
  height: auto !important;
  transform: none !important;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}
#profileView .profile-inventory-shell.bonus-mode .profile-items.profile-bonuses .profile-bonus-card .profile-bonus-back,
#profileView .profile-inventory-shell.bonus-mode .profile-items.profile-bonuses .profile-bonus-card.is-flipped .profile-bonus-front { display: none !important; }
#profileView .profile-inventory-shell.bonus-mode .profile-items.profile-bonuses .profile-bonus-card.is-flipped .profile-bonus-back { display: flex !important; }

}

@layer skinboost-fixes {
 .game-money{display:inline-flex!important;align-items:center;gap:.3em;white-space:nowrap;font:inherit!important;color:inherit!important;letter-spacing:inherit!important}
 .game-money .game-currency-icon{display:inline-grid;place-items:center;flex:0 0 auto;width:1em;height:1em;min-width:1em;border-radius:50%;background:linear-gradient(145deg,#59ffcf,#00c898);box-shadow:inset 0 0 0 .08em #80ffe0,inset 0 0 0 .15em #039a79;color:#063c2b;font-style:normal;font-weight:900;font-size:.85em;line-height:1}
 #upgradeView .source-column .source-tabs>button[data-source-tab]::after{content:none!important;display:none!important}
 #upgradeView .source-column .source-tabs>button[data-source-tab]{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:112px!important;width:auto!important;padding:0 12px!important;flex-shrink:0!important}
 #upgradeView .source-column .source-tabs>button[data-source-tab]>span.source-tab-label{display:inline!important;visibility:visible!important;width:auto!important;height:auto!important;min-width:0!important;background:none!important;color:inherit!important;border-radius:0!important;font-size:12px!important;line-height:1.2!important;white-space:nowrap!important}
 #auctionView #leader-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
 @media(max-width:700px){
  #upgradeView .source-column .source-tabs>button[data-source-tab]{min-width:0!important;padding:0 8px!important}
 }
}

/* Exact coin styling used by the upgrade prices and balanceStakeValue. */
@layer skinboost-fixes {
 .game-money .game-currency-icon, #auctionView .currency-coin{width:11px!important;height:11px!important;min-width:11px!important;margin-left:3px!important;vertical-align:.08em!important;border-radius:50%!important;clip-path:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 11px!important;position:relative!important;top:-.06em!important;background:radial-gradient(circle at 35% 30%,#7fffd2 0 18%,#18e7a5 19% 56%,#089768 57% 100%)!important;box-shadow:0 0 0 1px #a8ffdc6b inset,0 0 4px #13efa547!important;color:#02130d!important;font:950 7px/11px Inter,Arial,sans-serif!important;text-align:center!important;text-rendering:geometricPrecision!important}
 .game-money{gap:0!important}
}

@layer skinboost-fixes {
 .game-money .game-currency-icon, #auctionView .currency-coin{
  font-size:max(7px,.56em)!important;line-height:1.5!important;
  width:1.5em!important;height:1.5em!important;min-width:1.5em!important;flex:0 0 1.5em!important;
  top:0!important;margin-left:.35em!important;vertical-align:middle!important;
 }
}

/* One shared axis and caption row for the auction showcase. */
@layer skinboost-fixes {
 #auctionView .auction-title{position:relative!important;left:auto!important;transform:none!important;display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;gap:0!important;width:100%!important;white-space:normal!important}
 #auctionView #auction-title{grid-column:2!important;margin:0!important;text-align:center!important}
 #auctionView .auction-title .how-button{grid-column:3!important;justify-self:start!important;margin-left:12px!important}
 #auctionView .auction-artwork{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,380px) minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;align-items:center!important;justify-items:center!important;column-gap:16px!important;row-gap:16px!important;width:100%!important;max-width:1100px!important;margin:0 auto!important;text-align:center!important}
 #auctionView .auction-carousel,#auctionView .auction-neighbor{display:contents!important;transform:none!important;filter:none!important}
 #auctionView .auction-leader{grid-column:2!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;gap:12px!important;width:max-content!important;max-width:100%!important;min-height:60px!important;padding:18px 0 0!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;backdrop-filter:none!important}
 #auctionView .auction-leader #leader-avatar{width:42px!important;height:42px!important;flex:0 0 42px!important;border:0!important;box-shadow:none!important}
 #auctionView .auction-leader>div{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;height:42px!important;min-width:0!important;max-width:260px!important;gap:0!important}
 #auctionView .auction-leader #leader-caption{position:absolute!important;bottom:calc(100% + 3px)!important;left:0!important;right:0!important;line-height:14px!important;white-space:nowrap!important;text-align:center!important}
 #auctionView .auction-leader #bid-leader{margin:0!important;line-height:22px!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 #auctionView .auction-carousel .exhibit{grid-column:2!important;grid-row:2!important;width:100%!important;margin:0!important}
 #auctionView .auction-neighbor.is-previous .egg-art{grid-column:1!important;grid-row:2!important;align-self:center!important;justify-self:center!important}
 #auctionView .auction-neighbor.is-next .egg-art{grid-column:3!important;grid-row:2!important;align-self:center!important;justify-self:center!important}
 #auctionView .auction-neighbor .neighbor-outcome{grid-row:2!important;align-self:start!important;justify-self:center!important;margin:24px 0 0!important}
 #auctionView .auction-neighbor.is-previous .neighbor-outcome{grid-column:1!important}
 #auctionView .auction-neighbor.is-next .neighbor-outcome{grid-column:3!important}
 #auctionView .auction-artwork>.auction-lot-heading,#auctionView .neighbor-caption{grid-row:3!important;align-self:start!important;justify-self:center!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:4px!important;margin:0!important;padding:0!important;width:100%!important;max-width:100%!important;text-align:center!important}
 #auctionView .auction-artwork>.auction-lot-heading{grid-column:2!important}
 #auctionView .is-previous .neighbor-caption{grid-column:1!important}
 #auctionView .is-next .neighbor-caption{grid-column:3!important}
 #auctionView #lot-title,#auctionView .neighbor-caption strong{margin:0!important;line-height:26px!important;text-align:center!important}
 #auctionView #rarity-label,#auctionView .neighbor-caption span{margin:0!important;line-height:16px!important;text-align:center!important}
 @media(max-width:1000px){
  #auctionView .auction-artwork{grid-template-columns:minmax(0,1fr) minmax(0,300px) minmax(0,1fr)!important;column-gap:10px!important}
 }
 @media(max-width:700px){
  #auctionView .auction-artwork{grid-template-columns:minmax(0,1fr) min(62vw,230px) minmax(0,1fr)!important;column-gap:4px!important;row-gap:10px!important;overflow:hidden!important}
  #auctionView .auction-leader{gap:8px!important}
  #auctionView .auction-leader #leader-avatar{width:36px!important;height:36px!important;flex-basis:36px!important}
  #auctionView .auction-leader>div{height:36px!important;max-width:calc(min(62vw,230px) - 44px)!important}
  #auctionView .auction-leader #leader-caption{font-size:8px!important;letter-spacing:.4px!important}
  #auctionView .auction-neighbor .egg-art{width:100%!important;max-width:120px!important;height:auto!important;aspect-ratio:4/5!important}
  #auctionView .auction-neighbor .neighbor-caption,#auctionView .auction-neighbor .neighbor-outcome{display:none!important}
  #auctionView .auction-title .how-button{margin-left:8px!important}
 }
}

@layer skinboost-fixes {
/* Keep lobby controls together and make selected skins readable in every builder mode. */
#duelLobby .duel-toolbar { display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important; }
#duelLobby .duel-tabs { display:flex!important;width:auto!important;min-width:0;gap:4px!important; }
#duelLobby .duel-tabs button { display:inline-flex!important;align-items:center;justify-content:center;gap:8px;font-weight:650!important; }
#duelLobby .duel-tab-count { display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:7px;background:#081a1466;color:#50f5cf;font-size:.9em;font-weight:700; }
#duelLobby .duel-lobby-create { flex:0 0 auto;min-height:40px!important;margin:0!important;padding:10px 24px!important; }
#duelLobby [data-duel-action="open"] { display:inline-flex!important;align-items:center;justify-content:center;gap:8px; }
#duelLobby .duel-view-icon { width:18px!important;height:18px!important;flex:0 0 18px; }
#duelSetupSelected { display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;margin:18px 0 22px!important;padding:14px!important;background:#0b1511!important;border:1px solid #729a8318;border-radius:17px!important;box-shadow:inset 0 2px 12px #0003; }
#duelSetupSelected[hidden] { display:none!important; }
#duelSetupSelected:before { content:none!important; }
#duelSetupSelected .duel-selected-card { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%!important;height:108px!important;min-width:0;padding:10px 5px 7px!important;position:relative;border:1px solid var(--selected-rarity)!important;border-radius:12px!important;background:radial-gradient(ellipse at 50% 30%,color-mix(in srgb,var(--selected-rarity) 32%,transparent),transparent 85%),#14201d!important;box-shadow:0 0 12px color-mix(in srgb,var(--selected-rarity) 20%,transparent),inset 0 -3px 0 color-mix(in srgb,var(--selected-rarity) 65%,transparent);transition:filter .15s; }
#duelSetupSelected .duel-selected-card:hover { filter:brightness(1.2); }
#duelSetupSelected .duel-selected-card:focus-visible { outline:2px solid #67ffdb;outline-offset:3px; }
#duelSetupSelected img { width:100%!important;height:65px!important;object-fit:contain;filter:drop-shadow(0 3px 7px #0007); }
#duelSetupSelected .duel-selected-name { display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:15px;font-weight:650;color:#f0f8f4; }
#duelSetupSelected .duel-selected-quantity { position:absolute;left:5px;top:5px;padding:2px 5px;background:#07110ee0;border-radius:5px;color:#fff;font-size:10px;line-height:15px; }
#duelSetupSelected button>i { top:-7px!important;right:-6px!important;width:23px!important;height:23px!important;font-size:16px!important;line-height:1;background:#263c32!important;border:1px solid #5c8070;color:#edfff7!important;z-index:1; }
@media(max-width:600px) {
 #duelLobby .duel-toolbar { gap:6px!important;padding:7px!important;flex-wrap:wrap; }
 #duelLobby .duel-tabs { flex:1 1 auto; }
 #duelLobby .duel-tabs button { padding:9px 8px!important;font-size:11px!important;gap:5px; }
 #duelLobby .duel-lobby-create { padding:10px 13px!important;font-size:11px!important; }
 #duelSetupSelected { gap:10px!important;padding:12px!important;margin:12px 0!important; }
}
}

@layer skinboost-fixes {
html { --currency-position:0% 0%; }
html body [data-currency-option="RUB"],html body [data-currency="RUB"] { --currency-position:0% 0%; }
html body [data-currency-option="USD"],html body [data-currency="USD"] { --currency-position:100% 0%; }
html body [data-currency-option="EUR"],html body [data-currency="EUR"] { --currency-position:0% 100%; }
html body [data-currency-option="UAH"],html body [data-currency="UAH"] { --currency-position:100% 100%; }
html body .game-money .game-currency-icon,html body #auctionView .currency-coin,
html body .balance-coins,html body .checkout-currency,html body .currency-modal .currency-options button>i,
html body #ownedGrid .empty-currency-coin,
html body .skin-card em:after,html body .profile-history-price:after,html body .cart-row strong:after,html body .cart-total b:after,
html body .preview-selected-price b:after,html body .source-stack-card em:after,html body .source-stack-total:after,
html body .preview-mini-item span:after,html body .profile-best-price:after,html body .withdrawn-total b:after,
html body #balanceStakeValue:after,html body #ownedTotal:after,html body #profileBalanceValue:after {
 background-image:url('/assets/currency/coins-letters-20261029.webp')!important;background-color:transparent!important;background-size:200% 200%!important;background-position:var(--currency-position)!important;background-repeat:no-repeat!important;
 border:0!important;border-radius:0!important;clip-path:none!important;box-shadow:none!important;color:transparent!important;text-shadow:none!important;filter:none!important;
}
html body .skin-card em:after,html body .profile-history-price:after,html body .cart-row strong:after,html body .cart-total b:after,
html body .preview-selected-price b:after,html body .source-stack-card em:after,html body .source-stack-total:after,
html body .preview-mini-item span:after,html body .profile-best-price:after,html body .withdrawn-total b:after,
html body #balanceStakeValue:after,html body #ownedTotal:after,html body #profileBalanceValue:after { content:""!important; }
html body .balance-coins:before,html body .balance-coins:after,html body .balance-coins svg,
html body .checkout-currency:before,html body .checkout-currency:after,
html body .currency-modal .currency-options button>i:before,html body #ownedGrid .empty-currency-coin:before { display:none!important;content:none!important; }
html body .currency-modal .currency-options button>i { width:28px!important;height:28px!important;min-width:28px!important;flex:0 0 28px!important; }
html body .balance-coins { width:26px!important;height:26px!important;min-width:26px!important;flex:0 0 26px!important; }
html body .game-money .game-currency-icon,html body #auctionView .currency-coin { width:1.9em!important;height:1.9em!important;min-width:1.9em!important;flex-basis:1.9em!important; }
html body .skin-card em:after,html body .source-stack-card em:after { width:13px!important;height:13px!important;min-width:13px!important;flex-basis:13px!important; }
#auctionView .auction-money { display:inline-flex!important;align-items:center!important;justify-content:center;white-space:nowrap;vertical-align:middle;gap:3px;line-height:1.15; }
#auctionView #previous-price { display:flex!important;align-items:center!important;justify-content:center!important;font-size:23px!important;line-height:1.2!important;color:#64f9d4!important;margin-top:7px!important; }
#auctionView #previous-price .auction-money>span { font-size:inherit!important;font-weight:700!important;line-height:inherit!important; }
#auctionView #previous-price .currency-coin { margin-left:3px!important;align-self:center!important; }
}
@layer skinboost-fixes {
 html body #auctionView #previous-price span { margin:0!important;font-size:inherit!important;line-height:inherit!important; }
 html body #auctionView #previous-price .auction-money { gap:3px!important; }
}

@layer skinboost-fixes {
 .eo-recipient{font-size:16px;line-height:1.5;color:#c6ded2;max-width:100%;overflow-wrap:anywhere;margin:8px 0 16px}
 #duelSetup .duel-setup-summary span,#duelSetup .duel-setup-summary small,#duelSetup .duel-setup-intro,
 #duelSetup .duel-setup-link-hint,#duelSetup .duel-privacy-options p,#duelSetup .duel-setup-wheel span,
 #duelSetup .duel-catalog-caption>span{font-size:13px!important;line-height:1.45!important;color:#b9cec2!important}
 #duelSetup .duel-setup-intro{overflow-wrap:anywhere}
 body.support-chat-open #supportBtn{display:none!important}
 #supportChat .chat-body{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain}
 #supportChat .chat-head,#supportChat .chat-input{flex-shrink:0!important}
 #supportChat .chat-body a{color:#60efd0;text-decoration:underline}
 @media(max-width:700px){
  #supportChat{bottom:calc(var(--chat-bottom,0px) + env(safe-area-inset-bottom,0px) + 8px)!important;max-height:calc(var(--chat-viewport,100dvh) - 16px)!important;height:min(560px,calc(var(--chat-viewport,100dvh) - 16px))!important;left:8px!important;right:8px!important;width:auto!important;display:flex!important;flex-direction:column!important}
  #supportChat:not(.open){display:none!important}
  #supportChat input,#supportChat textarea{font-size:16px!important}
  #duelSetup .duel-setup-sidebar{grid-template-columns:minmax(0,1fr) 110px!important}
  #duelSetup .duel-setup-wheel{width:110px!important;max-width:110px!important}
 }
}
@layer skinboost-fixes {
 html body #supportChat .chat-compose{flex-shrink:0!important}
 
}

@layer skinboost-fixes {
#auctionView #auction-last-result{display:flex;align-items:center;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid #39544666;min-width:0}
#auctionView #auction-last-result>img{width:64px;height:56px;object-fit:contain;flex-shrink:0}
#auctionView #auction-last-result>div{min-width:0;display:grid;gap:4px}
#auctionView #auction-last-result small{font-size:12px;color:#a0baad;overflow-wrap:anywhere}
#auctionView #auction-last-result strong{font-size:13px;line-height:1.35;font-weight:600;color:#dcebe3;overflow-wrap:anywhere}
#auctionView #auction-last-result>div>span{font-size:14px;color:#62efc8}
}

@layer skinboost-fixes {
 html body #upgradeView :is(#sourcePreview,#targetPreview) .preview-real-art .skin-image {filter:saturate(1.25) brightness(1.08) contrast(1.03) drop-shadow(0 10px 14px #0007)!important}
}

@layer skinboost-fixes {
 #upgradeOutcome{display:none!important}
}

@layer skinboost-fixes {
 /* Keep the focus indicator inside the price field, without changing its size. */
 html body #upgradeView :is(#shopMin,#shopMax,#targetMin,#targetMax):focus {
  outline:0!important;outline-offset:0!important;box-shadow:inset 0 0 0 1px #00dfa3!important;
 }

 /* Intermediate catalog type sizes; keep the existing card and image geometry. */
 html body :is(#upgradeView,#profileView) :is(#ownedGrid,#shopGrid,#targetGrid,#profileItems) .skin-card .skin-name-block {
  height:28px!important;grid-template-rows:12px 14px!important;gap:1px!important;
 }
 html body :is(#upgradeView,#profileView) :is(#ownedGrid,#shopGrid,#targetGrid,#profileItems) .skin-card .skin-name-block .skin-kind {
  height:auto!important;font-size:10px!important;line-height:12px!important;font-weight:500!important;color:#a8b9b0!important;
 }
 html body :is(#upgradeView,#profileView) :is(#ownedGrid,#shopGrid,#targetGrid,#profileItems) .skin-card .skin-name-block .skin-title {
  height:auto!important;font-size:11.5px!important;line-height:14px!important;font-weight:600!important;
 }
 html body :is(#upgradeView,#profileView) :is(#ownedGrid,#shopGrid,#targetGrid,#profileItems) .skin-card .skin-wear {
  font-size:10px!important;line-height:12px!important;color:#a8b9b0!important;
 }

 /* Cashback is a result caption, not a single-line item name. */
 html body #upgradeView #sourcePreview .cashback-final {
  width:calc(100% - 24px)!important;max-width:100%!important;box-sizing:border-box!important;
 }
 html body #upgradeView #sourcePreview .cashback-final>b {
  width:100%!important;max-width:100%!important;height:auto!important;
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  line-height:1.3!important;text-align:center!important;
 }
}

@layer skinboost-fixes {
 html body #duelView .duel-empty-pistols{display:block;width:64px;height:64px;object-fit:contain;margin:0 auto 20px;color:#7aa78f}
 #auctionView #auction-last-result{flex-shrink:0;padding-top:14px;margin-top:14px}
 #auctionView #auction-last-result>img{width:74px;height:64px}
 #auctionView #auction-last-result small{font-size:13px;color:#abccba}
 #auctionView .bid-increments .auction-money{gap:3px;white-space:nowrap}
}

@layer skinboost-fixes {
 /* Currency marks scale with the amount, not with a tiny fallback letter. */
 html body .game-money .game-currency-icon,html body #auctionView .currency-coin {
  font-size:inherit!important;width:clamp(20px,1.2em,32px)!important;height:clamp(20px,1.2em,32px)!important;
  min-width:clamp(20px,1.2em,32px)!important;flex:0 0 clamp(20px,1.2em,32px)!important;margin-left:5px!important;top:0!important;
 }
 html body #profileView #profileBalanceValue {align-items:center!important;gap:8px!important}
 html body #profileView #profileBalanceValue:after {width:32px!important;height:32px!important;min-width:32px!important;flex:0 0 32px!important;margin:0!important;top:0!important}
 html body #profileView :is(.profile-best-price,.withdrawn-total b) {align-items:center!important;gap:6px!important}
 html body #profileView :is(.profile-best-price,.withdrawn-total b):after {width:22px!important;height:22px!important;min-width:22px!important;flex:0 0 22px!important;margin:0!important;top:0!important}
 html body #profileView #profileItems .skin-card em,html body #profileView .profile-history-price {
  font-size:13px!important;font-weight:700!important;line-height:20px!important;display:flex!important;align-items:center!important;gap:5px!important;
  max-width:calc(100% - 12px)!important;min-width:0!important;height:auto!important;padding:0!important;white-space:normal!important;overflow-wrap:normal!important;text-align:right!important;
 }
 html body #upgradeView #ownedGrid .skin-card em {font-size:11.5px!important;line-height:18px!important;display:flex!important;align-items:center!important;gap:3px!important}
 html body :is(#profileItems,#ownedGrid) .skin-card em:after,html body #profileView .profile-history-price:after {
  width:20px!important;height:20px!important;min-width:20px!important;flex:0 0 20px!important;margin:0!important;top:0!important;
 }
 html body #upgradeView #ownedGrid .skin-card em:after {width:18px!important;height:18px!important;min-width:18px!important;flex:0 0 18px!important}
 html body :is(#profileItems,#ownedGrid) .skin-card .skin-wear,html body #profileView .profile-history-wear {display:none!important}
}
