/* Keep browser-saved credentials on the same surface as the surrounding field. */
.auth-page .auth-field input:-webkit-autofill,
.auth-page .auth-field input:-webkit-autofill:hover,
.auth-page .auth-field input:-webkit-autofill:focus,
.auth-welcome .auth-field input:-webkit-autofill {
    -webkit-box-shadow:0 0 0 1000px var(--auth-surface, #edf2f9) inset!important;
    -webkit-text-fill-color:var(--auth-ink, #102544)!important;
    caret-color:var(--auth-ink, #102544);
}
.auth-page .auth-field input:autofill,.auth-welcome .auth-field input:autofill {
    box-shadow:0 0 0 1000px var(--auth-surface, #edf2f9) inset!important;
    -webkit-text-fill-color:var(--auth-ink, #102544)!important;
    caret-color:var(--auth-ink, #102544);
}
.user-chat-alert,.chats-deal-reverted-success-message { padding:14px 18px;border:1px solid #cfdef3;border-radius:14px;background:#edf4ff;color:#24549a;font-size:14px;line-height:1.5;margin:18px 0; }
.user-chat-alert.is-warning {background:#fff7e7;border-color:#ecd9b7;color:#875e20}
.user-chat-alert.is-error {background:#fff0f2;border-color:#f1ccd3;color:#b43850}
.xbtn-success {background:linear-gradient(105deg,#2b50a3,#44a9ed);border-color:#2d65bd;color:#fff}
.deal-seller-sidebar{display:contents}
.deal-seller-goods{grid-column:2;grid-row:5}
.deal-seller-goods__seller{display:flex;align-items:center;gap:10px;margin:0 0 16px;color:#102544;text-decoration:none;min-width:0}
.deal-seller-goods__seller img{width:44px;height:44px;object-fit:cover;border-radius:50%;flex:none}
.deal-seller-goods__seller strong{min-width:0;overflow-wrap:anywhere;font-size:15px}
.deal-seller-goods__game{margin-top:10px;border:1px solid #d8e1f0;border-radius:14px;overflow:hidden;background:#edf2f9}
.deal-seller-goods__game>summary{display:flex;align-items:center;gap:8px;min-height:48px;padding:12px;cursor:pointer;list-style:none;font-size:14px;font-weight:700;color:#102544}
.deal-seller-goods__game>summary::-webkit-details-marker{display:none}
.deal-seller-goods__game>summary>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}
.deal-seller-goods__game>summary>small{min-width:24px;border-radius:12px;padding:2px 7px;background:#dbe4f3;font-size:12px;text-align:center}
.deal-seller-goods__chevron{color:#336bc3;transition:transform .15s}
.deal-seller-goods__game[open] .deal-seller-goods__chevron{transform:rotate(180deg)}
.deal-seller-goods__body{padding:0 10px 10px}
.deal-seller-goods__item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px;margin-top:8px;border-radius:12px;background:#fff;color:#102544;text-decoration:none}
.deal-seller-goods__item>span{min-width:0}
.deal-seller-goods__item strong{display:block;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.deal-seller-goods__item small{display:block;margin-top:4px;color:#7c8aa3;font-size:11px;overflow-wrap:anywhere}
.deal-seller-goods__item b{align-self:center;font-size:13px;white-space:nowrap;color:#2d65bd}
.deal-seller-goods [data-other-status],.deal-seller-goods__empty{font-size:13px;line-height:1.5;color:#7c8aa3}
.deal-seller-goods [data-other-load]{width:100%;min-height:44px;margin-top:8px;border:1px solid #cfdbed;border-radius:10px;background:#fff;color:#336bc3;font:600 13px Arial,sans-serif;cursor:pointer}
.deal-seller-goods [hidden]{display:none!important}
.deal-seller-goods summary:focus-visible,.deal-seller-goods a:focus-visible,.deal-seller-goods button:focus-visible{outline:2px solid #336bc3;outline-offset:2px}
@media(max-width:1020px){
    .game-card.deal-page .deal-grid>.deal-card,.game-card.deal-page .deal-grid>.deal-supplier-notice{margin-top:16px}
    .game-card.deal-page .deal-grid>.deal-product{margin-top:0}
    .game-card.deal-page .deal-grid>.deal-return-policy+.deal-product{margin-top:16px}
    .deal-seller-sidebar{display:flex;flex-direction:column;gap:16px;margin-top:16px;min-width:0}
    .game-card.deal-page .deal-seller-sidebar>.deal-card,.game-card.deal-page .deal-seller-sidebar>.recalls{margin:0;width:100%;box-sizing:border-box}
}
@media(max-width:350px){.deal-seller-goods__item{grid-template-columns:minmax(0,1fr)}.deal-seller-goods__item b{justify-self:start}}
html.dark .user-chat-alert,html.dark .chats-deal-reverted-success-message{background:#202e45;border-color:#354764;color:#a6caff}
html.dark .user-chat-alert.is-warning{background:#382e1f;border-color:#57431a;color:#e8c985}
html.dark .user-chat-alert.is-error{background:#3c242e;border-color:#653441;color:#ff9aa5}
html.dark .deal-seller-goods__game{background:#242b38;border-color:#333c4d}
html.dark .deal-seller-goods__seller,html.dark .deal-seller-goods__game>summary,html.dark .deal-seller-goods__item{color:#edf2fb}
html.dark .deal-seller-goods__game>summary>small{background:#333c4d}
html.dark .deal-seller-goods__item,html.dark .deal-seller-goods [data-other-load]{background:#1c2333;border-color:#333c4d}
html.dark .deal-seller-goods__item b{color:#8abaff}
/* A shared row size keeps short and long catalog entries aligned. */
.product-cards{align-items:stretch;grid-auto-rows:1fr}
.product-cards>.product-card{height:100%;min-height:0;align-self:stretch;box-sizing:border-box}
.product-card__seller{align-self:end}
.deal-seller-sidebar>*{min-width:0}
