/* Only the home layout is replaced; the store's dialogs remain in the top layer. */
html, body { min-width: 0 !important; }
html.winter-edition-active,
html.winter-edition-active body {
    background: #080c13 !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
}
html.winter-edition-active body > .app-shell,
html.winter-edition-active body > #rs-header,
html.winter-edition-active body > #rs-footer,
html.winter-edition-active body > .rs-mobile-dock,
html.winter-edition-active body > .winter-snow-canvas,
html.winter-edition-active body > .skip {
    display: none !important;
}
#winter-edition-host {
    display: block;
    width: 100%;
    min-width: 0;
    isolation: isolate;
}
#winter-edition-host[hidden] { display: none !important; }

/* The previous catalogue stays mounted for account and purchase callbacks only. */
html.winter-edition-active #products { display:none!important; }
#catalog-view[hidden] #products { display:none!important; }
#rs-footer .rs-footer-brand>p { display:none!important; }
#rs-cart .rs-cart-item>img { object-fit:cover; border-radius:10px; }
#rs-cart .rs-cart-item>div { min-width:0; }
#rs-cart .rs-cart-item strong { overflow-wrap:anywhere; line-height:1.45; }
#account-view .eyebrow,#account-view>.section-title>.muted { display:none!important; }

/* Readable product identity in the existing purchase dialog. */
#detail .winter-readable-poster{position:relative!important;display:flex!important;align-items:center;justify-content:center;overflow:hidden;min-height:230px;height:260px!important;background:#111d2b!important;border:1px solid #34495c;border-radius:12px;padding:0!important}
#detail .winter-readable-poster>.product-original-backdrop{position:absolute;inset:0;z-index:0;width:100%!important;height:100%!important;object-fit:cover!important;padding:0!important;background:transparent!important;filter:blur(16px) brightness(.5)!important;transform:scale(1.12)!important;pointer-events:none}
#detail .winter-readable-poster>.product-original-art{position:absolute;inset:0;z-index:1;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;object-fit:cover!important;object-position:center!important;padding:0!important;background:transparent!important;filter:none!important;transform:none!important}
#detail .winter-readable-poster>.product-cover-background{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;opacity:.18;filter:none!important}
#detail .winter-readable-poster>.product-identity{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;gap:10px;color:#f4f8fe}
#detail .winter-readable-poster .product-service-icon{width:60px;height:60px;background:#fff;border-radius:14px;display:grid;place-items:center;color:#172235;font-size:23px;font-weight:800;padding:9px;box-sizing:border-box}
#detail .winter-readable-poster .product-service-icon img{width:100%!important;height:100%!important;object-fit:contain!important;filter:none!important;position:static!important}
#detail .winter-readable-poster .product-service-name{font-size:30px;line-height:1.2;overflow-wrap:anywhere}
#detail .winter-readable-poster .product-offer-label{font-size:14px;color:#b9d4e8}
#detail .winter-readable-poster .product-original-label{position:absolute;left:14px;bottom:12px;padding:5px 10px;border-radius:6px;background:#102030ed;color:#f0f6fc;font-size:12px;font-weight:700}
@media(max-width:600px){#detail .winter-readable-poster{height:230px!important;min-height:230px}#detail .winter-readable-poster .product-service-name{font-size:26px}}

/* Generated covers share the catalog's full image and readable HTML labels. */
#detail .winter-readable-poster.product-has-generated,#detail .winter-readable-poster:has(>.product-generated-art){isolation:isolate;min-height:260px;height:260px!important;background:#142438!important}
#detail .winter-readable-poster.product-has-generated:after,#detail .winter-readable-poster:has(>.product-generated-art):after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#08122200 30%,#08122233 50%,#081222df 100%)}
#detail .winter-readable-poster>.product-generated-art{position:absolute!important;inset:0;z-index:0;display:block;width:100%!important;height:100%!important;max-width:none;max-height:none;padding:0!important;object-fit:cover!important;object-position:center;opacity:1!important;filter:none!important;mix-blend-mode:normal;transform:none!important}
#detail .winter-readable-poster>.product-generated-identity{position:absolute;inset:auto 22px 20px;z-index:2;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:7px;min-width:0;padding:0;text-align:left;color:#fff;text-shadow:0 2px 9px #051020;pointer-events:none}
#detail .winter-readable-poster .product-generated-identity>strong,#detail .winter-readable-poster .product-generated-identity .product-service-name{display:block;max-width:100%;margin:0;font-size:30px;font-weight:850;line-height:1.18;letter-spacing:-.5px;color:#fff;white-space:normal;overflow-wrap:anywhere}
#detail .winter-readable-poster .product-generated-identity>span,#detail .winter-readable-poster .product-generated-identity .product-offer-label{display:block;max-width:100%;margin:0;font-size:14px;font-weight:650;line-height:1.45;color:#e4eefb;white-space:normal;overflow-wrap:anywhere}
@media(max-width:600px){
 #detail .winter-readable-poster.product-has-generated,#detail .winter-readable-poster:has(>.product-generated-art){height:230px!important;min-height:230px}
 #detail .winter-readable-poster>.product-generated-identity{inset:auto 16px 16px;gap:6px}
 #detail .winter-readable-poster .product-generated-identity>strong,#detail .winter-readable-poster .product-generated-identity .product-service-name{font-size:26px}
 #detail .winter-readable-poster .product-generated-identity>span,#detail .winter-readable-poster .product-generated-identity .product-offer-label{font-size:14px}
}

/* Purchase dialogs live outside the winter shadow root. Keep their surfaces and
   text together so an older light-theme rule cannot leave white text on white. */
#topup-dialog,
#crypto-payment-dialog {
    box-sizing: border-box;
    color-scheme: dark;
    width: min(560px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 28px !important;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    border: 1px solid #354658 !important;
    border-radius: 20px !important;
    background: linear-gradient(145deg, #152130, #0d151f 75%) !important;
    box-shadow: 0 28px 90px #0009 !important;
    color: #f2f6fc !important;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}
#crypto-payment-dialog { width: min(760px, calc(100vw - 24px)); }
#topup-dialog::backdrop,
#crypto-payment-dialog::backdrop { background: #030810cf !important; backdrop-filter: blur(8px); }
#topup-dialog .close,
#crypto-payment-dialog .close,
#detail .product-close {
    display: grid;
    place-items: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border: 1px solid #405268 !important;
    border-radius: 11px;
    background: #1a293a !important;
    color: #f1f6fd !important;
    box-shadow: none !important;
    font-size: 24px;
    line-height: 1;
}
#topup-dialog .close,
#crypto-payment-dialog .close { position: sticky; top: 0; right: auto; z-index: 5; float: right; margin: -12px -12px 8px 12px; }
#topup-dialog .close:hover,
#crypto-payment-dialog .close:hover,
#detail .product-close:hover { border-color: #f36b7b !important; background: #382332 !important; }
#topup-dialog > h2,
#crypto-payment-dialog h2 { margin: 10px 0 12px; color: #f4f7fc !important; font-size: clamp(22px, 4vw, 27px); line-height: 1.2; letter-spacing: -.035em; overflow-wrap: anywhere; }
#topup-dialog > .eyebrow,
#crypto-payment-dialog .eyebrow { padding-right: 44px; margin: 0 0 13px; color: #a9bed5 !important; font-size: 10px; letter-spacing: .16em; }
#topup-dialog :is(p, .muted),
#crypto-payment-dialog :is(p, .muted) { color: #b9c8db !important; line-height: 1.55; }
#topup-dialog > .muted { clear: both; margin-bottom: 20px; font-size: 14px; }
#topup-dialog .topup-form { clear: both; display: grid; min-width: 0; gap: 16px; margin: 0; }
#topup-dialog .topup-form > label,
#crypto-payment-dialog .crypto-tx-form label { min-width: 0; color: #d8e4f3 !important; font-size: 13px; }
#topup-dialog .topup-form > label > input,
#crypto-payment-dialog .crypto-tx-form input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #40536a !important;
    border-radius: 11px;
    background: #0d1723 !important;
    color: #f1f6fd !important;
    caret-color: #f1f6fd;
    font-size: 16px;
    line-height: 1.35;
    box-shadow: none;
}
#topup-dialog input::placeholder,
#crypto-payment-dialog input::placeholder { color: #93a8bf !important; }
#topup-dialog .topup-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; min-width: 0; }
#topup-dialog .topup-chip {
    min-width: 0;
    min-height: 42px;
    padding: 9px 5px;
    border: 1px solid #3c4f64 !important;
    border-radius: 10px;
    background: #19283a !important;
    color: #dce9f7 !important;
    font-size: 12px;
    font-weight: 650;
    box-shadow: none;
}
#topup-dialog .topup-chip:hover { border-color: #82aacd !important; background: #22374d !important; }
#topup-dialog .provider-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; gap: 10px; margin: 0; padding: 0; border: 0; }
#topup-dialog .provider-picker legend { margin: 0 0 10px; padding: 0; color: #dce8f6 !important; font-size: 13px; font-weight: 700; }
#topup-dialog .provider-option {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 80px;
    margin: 0;
    padding: 12px;
    border: 1px solid #3b4d62 !important;
    border-radius: 14px;
    background: #162334 !important;
    color: #f1f6fc !important;
    cursor: pointer;
    transition: border-color .16s, background .16s, box-shadow .16s;
}
#topup-dialog .provider-option:hover { border-color: #87aaca !important; background: #1b2d42 !important; transform: none; }
#topup-dialog .provider-option input[type="radio"] { position: absolute; top: 12px; left: 12px; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; opacity: 0; clip-path: inset(50%); pointer-events: none; }
#topup-dialog .provider-option:has(input:checked) { border-color: #ff6479 !important; background: #322130 !important; box-shadow: inset 0 0 0 1px #ff64794d; }
#topup-dialog .provider-copy,
#detail-content .payment-options .provider-copy { display: grid; gap: 4px; min-width: 0; }
#topup-dialog .provider-copy strong,
#detail-content .payment-options .provider-copy strong { color: #f1f6fc !important; font-size: 13px; font-weight: 750; line-height: 1.3; overflow-wrap: anywhere; }
#topup-dialog .provider-copy small,
#detail-content .payment-options .provider-copy small { color: #b5c7dc !important; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }

#topup-dialog .provider-icon { width: 38px; height: 38px; margin: 0; border-radius: 11px; background: #24384d; color: #d9efff; }
#topup-dialog .provider-check { width: 20px; height: 20px; border: 1px solid #66809c; background: #0e1825; color: transparent; font-size: 12px; }
#topup-dialog .provider-option:has(input:checked) .provider-check { border-color: #f3405c; background: #f3405c; color: #fff; }
#topup-dialog .provider-option:has(input:disabled) { border-color: #344457 !important; background: #111c29 !important; color: #acbcd0 !important; box-shadow: none; cursor: not-allowed; }
#topup-dialog .provider-option:has(input:disabled) .provider-copy strong { color: #acbcd0 !important; }
#topup-dialog .provider-option:has(input:disabled) .provider-copy small { color: #93a7bf !important; }
#topup-dialog .provider-option:has(input:disabled) .provider-icon { opacity: .6; }
#topup-dialog .provider-option:has(input:disabled) .provider-check { border-color: #485e75; background: #1e2d40; }
#topup-dialog .payment-note,
#crypto-payment-dialog .payment-note { margin: 14px 0 0; color: #acbed3 !important; font-size: 11px; line-height: 1.55; }

#topup-dialog .primary,
#crypto-payment-dialog .primary,
#detail #detail-content .payment-options > .primary { min-height: 46px; padding: 12px 16px; border: 1px solid #f84e65 !important; border-radius: 11px; background: linear-gradient(135deg, #d92845, #bd2143) !important; color: #fff !important; font-size: 14px; font-weight: 750; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; box-shadow: 0 7px 20px #ed25412b !important; }
#detail #detail-content .payment-options > .outline,
#crypto-payment-dialog .outline { min-height: 46px; padding: 12px 16px; border: 1px solid #496680 !important; border-radius: 11px; background: #192c40 !important; color: #eef5ff !important; font-size: 13px; font-weight: 700; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; box-shadow: none !important; }
#detail #detail-content .payment-options > .outline:hover,
#crypto-payment-dialog .outline:hover { border-color: #9fc5e7 !important; background: #25425d !important; color: #fff !important; transform: none; }
#topup-dialog .primary:hover,
#crypto-payment-dialog .primary:hover,
#detail #detail-content .payment-options > .primary:hover { background: linear-gradient(135deg, #c82542, #a91e3c) !important; filter: none; transform: none; }
#detail-content .payment-options .provider-pay { min-width: 0; color: #f1f6fc !important; }
#detail-content .payment-options .provider-price { color: #f1f6fc !important; }
#topup-dialog button:disabled,
#crypto-payment-dialog button:disabled,
#detail #detail-content .payment-options > button:disabled { border-color: #45586e !important; background: #29394c !important; color: #c5d2e2 !important; opacity: 1; box-shadow: none !important; filter: none; transform: none; cursor: wait; }
#topup-dialog :is(button,input):focus-visible,
#crypto-payment-dialog :is(button,input):focus-visible,
#detail .payment-options button:focus-visible,
#detail .product-close:focus-visible,
#topup-dialog .provider-option:has(input:focus-visible) { outline: 2px solid #b6dcff !important; outline-offset: 3px; }

/* The direct USDT follow-up uses the same dark surfaces as payment selection. */
#crypto-payment-dialog .crypto-network-card,
#crypto-payment-dialog .crypto-copy-row { min-width: 0; border-color: #3b4d62 !important; background: #142234 !important; color: #f1f6fc !important; }
#crypto-payment-dialog .crypto-network-card.active { border-color: #ff6479 !important; background: #322130 !important; }
#crypto-payment-dialog .crypto-network-card strong,
#crypto-payment-dialog .crypto-copy-row strong { color: #f1f6fc !important; }
#crypto-payment-dialog .crypto-network-card small,
#crypto-payment-dialog .crypto-copy-row small,
#crypto-payment-dialog .crypto-tx-form label > span { color: #b5c7dc !important; }
#crypto-payment-dialog .crypto-copy-row code { color: #d8e9fc !important; }
#crypto-payment-dialog .crypto-network-warning { border-color: #806139 !important; background: #352b1e !important; color: #f7d5a3 !important; }
#crypto-payment-dialog .crypto-claim-state { border-color: #3e536a; background: #1b2b3e; color: #eef5ff; }
#crypto-payment-dialog .crypto-claim-state span { color: #bacde3; }
#crypto-payment-dialog .crypto-claim-state.state-approved { border-color: #416d60; background: #172e29; }
#crypto-payment-dialog .crypto-claim-state.state-rejected { border-color: #814858; background: #35222c; }
@media(max-width:600px) {
    #topup-dialog,
    #crypto-payment-dialog { padding: 20px 16px !important; border-radius: 16px !important; }
    #topup-dialog .close,
    #crypto-payment-dialog .close { margin: -6px -4px 8px 10px; }
    #topup-dialog .provider-picker { grid-template-columns: minmax(0, 1fr); }
    #topup-dialog .provider-option { min-height: 72px; }
    #topup-dialog .topup-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #detail-content .payment-options .provider-pay { grid-template-columns: 38px minmax(0, 1fr); }
    #detail-content .payment-options .provider-price { grid-column: 2; font-size: 12px; }
    #crypto-payment-dialog .crypto-network-list { grid-template-columns: minmax(0, 1fr); }
    #crypto-payment-dialog .crypto-copy-row { align-items: stretch; }
    #crypto-payment-dialog .crypto-tx-form { grid-template-columns: minmax(0, 1fr); }
    #crypto-payment-dialog .crypto-copy-row .outline,
    #crypto-payment-dialog .crypto-tx-form .primary { width: 100%; }
}

/* Keep category assignment visible beside the seller's inventory hierarchy. */
#editor .winter-group-preview { margin: 0 0 16px; padding: 12px 14px; border: 1px solid #38516b; border-radius: 10px; background: #142435 !important; color: #bcdcf3 !important; font-size: 13px; line-height: 1.5; }
#editor .winter-group-preview.needs-category { border-color: #806139; background: #30271c !important; color: #f2d6ac !important; }
.winter-admin-group { display: inline-block; margin-top: 8px; padding: 5px 9px; border: 1px solid #3c5671; border-radius: 7px; background: #172a3d; color: #c5e7fd; font-size: 12px; line-height: 1.4; }
dialog.winter-category-editor { box-sizing: border-box; width: min(560px, calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: 28px !important; overflow: auto; border: 1px solid #354658 !important; border-radius: 18px !important; background: #101b29 !important; color: #f1f6fc !important; color-scheme: dark; }
dialog.winter-category-editor::backdrop { background: #030810cf; backdrop-filter: blur(8px); }
dialog.winter-category-editor :is(h2,label) { color: #f1f6fc !important; }
dialog.winter-category-editor p { color: #b9c8db !important; line-height: 1.55; }
dialog.winter-category-editor :is(input:not([type=checkbox]),select) { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #40566f !important; border-radius: 9px; background: #101e2c !important; color: #f1f6fc !important; font-size: 16px; }
dialog.winter-category-editor select option { background: #101e2c; color: #f1f6fc; }
dialog.winter-category-editor .close { width: 40px; height: 40px; min-width: 40px; padding: 0; border: 1px solid #405268 !important; border-radius: 10px; background: #1a293a !important; color: #f1f6fc !important; }
dialog.winter-category-editor .primary { min-height: 46px; border: 1px solid #f84e65 !important; border-radius: 10px; background: #cf2847 !important; color: #fff !important; }
dialog.winter-category-editor :is(button,input,select):focus-visible { outline: 2px solid #b6dcff; outline-offset: 3px; }
@media(max-width:600px) { dialog.winter-category-editor { padding: 22px 16px !important; } }

/* The stock editor also sits outside the winter shadow root. Its labels and
   close button must not inherit the old marketplace's light-dialog colors. */
#editor form label { color: #e2ecf8 !important; }
#editor :is(.muted, .price-currency-note):not(.winter-group-preview),
#editor form small { color: #b9c8dc !important; line-height: 1.5; }
#editor select {
    min-width: 0;
    border: 1px solid #40566f !important;
    background: #101e2c !important;
    color: #f1f6fc !important;
    color-scheme: dark;
}
#editor select option { background: #101e2c; color: #f1f6fc; }
#editor select:disabled { border-color: #3e4e61 !important; background: #1a2736 !important; color: #b0c0d4 !important; opacity: 1; }
#editor .close,
dialog.winter-category-editor .close {
    display: grid;
    place-items: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border: 1px solid #405268 !important;
    border-radius: 10px;
    background: #1a293a !important;
    color: #f1f6fc !important;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    opacity: 1;
    box-shadow: none !important;
}
#editor .close:hover,
dialog.winter-category-editor .close:hover { border-color: #f36b7b !important; background: #382332 !important; color: #fff !important; }
#editor :is(select, .close):focus-visible,
dialog.winter-category-editor .close:focus-visible { outline: 2px solid #b6dcff !important; outline-offset: 3px; }

/* The legacy footer is also shown on account/admin routes. Its five minimum
   column widths no longer fit a tablet once the page gutters are included. */
@media(max-width:1000px) {
    #rs-footer .rs-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #rs-footer .rs-footer-brand { grid-column: 1 / -1; }
    #rs-footer .rs-footer-grid > div { min-width: 0; }
}


/* Product detail shares the winter catalogue's surfaces and type scale. */
#detail.winter-product-dialog {
    box-sizing: border-box;
    width: min(980px, calc(100vw - 32px));
    max-width: 980px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 26px !important;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #526780 #101a27;
    color-scheme: dark;
    border: 1px solid #364659 !important;
    border-radius: 23px !important;
    background: linear-gradient(140deg, #142030, #0e1621 65%) !important;
    box-shadow: 0 32px 110px #000b !important;
    color: #f4f7fb !important;
    font-family: Inter, 'Segoe UI', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
#detail.winter-product-dialog::backdrop { background: #03070ed9 !important; backdrop-filter: blur(9px); }
#detail.winter-product-dialog .product-close {
    position: sticky; top: 0; z-index: 10; float: right;
    width: 40px; min-width: 40px; height: 40px; min-height: 40px;
    margin: -14px -14px -26px 0; padding: 0;
    border-radius: 12px; background: #1b2a3d !important;
    border-color: #45586f !important; color: #f1f6fc !important;
    font: 25px/1 'Segoe UI', Arial, sans-serif;
}
#detail.winter-product-dialog .product-close:after { content: none; }
#detail.winter-product-dialog .product-close:hover { background: #3b2130 !important; border-color: #f7788a !important; }
#detail.winter-product-dialog #detail-content {
    clear: none; display: grid; align-items: start;
    grid-template-columns: minmax(0, .96fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas: 'media title' 'media buy' 'description description';
    column-gap: 28px; row-gap: 16px;
    min-width: 0; padding-top: 13px;
}
#detail.winter-product-dialog .winter-detail-header {
    grid-area: title; display: block; position: static; min-width: 0;
    width: auto; height: auto; margin: 0; padding: 0 20px 0 0;
    background: none; border: 0; border-radius: 0; box-shadow: none;
    backdrop-filter: none;
}
#detail.winter-product-dialog .market-detail-category { margin: 0 0 10px; color: #ff8290 !important; font-size: 10px; font-weight: 750; letter-spacing: .15em; line-height: 1.4; }
#detail.winter-product-dialog h2 { margin: 0; color: #fff !important; font-size: clamp(23px, 2.5vw, 30px); font-weight: 750; line-height: 1.22; letter-spacing: -.035em; overflow-wrap: anywhere; }
#detail.winter-product-dialog .market-detail-media-column { grid-area: media; min-width: 0; padding: 0; }
#detail.winter-product-dialog .winter-readable-poster,
#detail.winter-product-dialog .winter-readable-poster.product-has-generated,
#detail.winter-product-dialog .winter-readable-poster:has(>.product-generated-art) {
    width: 100%; max-width: none; min-height: 0; max-height: none;
    height: auto !important; aspect-ratio: 1.32; margin: 0;
    border: 1px solid #3a5068 !important; border-radius: 16px;
    box-shadow: 0 13px 30px #0004;
}
#detail.winter-product-dialog .winter-readable-poster .product-generated-identity>strong,
#detail.winter-product-dialog .winter-readable-poster .product-service-name { font-size: 29px; }
#detail.winter-product-dialog .winter-detail-feedback {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
    gap: 7px 12px; min-width: 0; margin-top: 13px; padding: 0 2px;
}
#detail.winter-product-dialog .winter-detail-rating {
    display: inline; width: auto; margin: 0; padding: 0; border: 0;
    background: none; color: #d7c18c; font-size: 12px; font-weight: 500; line-height: 1.5;
}
#detail.winter-product-dialog .winter-detail-reviews {
    display: inline-flex; align-items: center; justify-content: center;
    width: auto; min-height: 36px; margin: 0; padding: 7px 12px;
    border: 1px solid #3c5168 !important; border-radius: 9px;
    background: #182638 !important; color: #e2edfa !important;
    font-size: 12px; font-weight: 600; line-height: 1.4; box-shadow: none;
}
#detail.winter-product-dialog .winter-detail-reviews:hover { border-color: #87b4db !important; background: #24374c !important; transform: none; }
#detail.winter-product-dialog .market-detail-info-column { grid-area: buy; min-width: 0; padding: 0; }
#detail.winter-product-dialog .winter-detail-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; margin: 0 !important; padding: 0 !important; border: 0 !important; }
#detail.winter-product-dialog .winter-detail-meta .price { color: #fff !important; font-size: 32px; font-weight: 750; letter-spacing: -.04em; line-height: 1.2; }
#detail.winter-product-dialog .winter-detail-meta .status { padding: 5px 9px; border: 1px solid #325749; border-radius: 7px; background: #112b25; color: #a9e2cc !important; font-size: 11px; line-height: 1.4; }
#detail.winter-product-dialog.winter-detail-unavailable .winter-detail-meta .status { border-color: #714253; background: #33202a; color: #ffc1cb !important; }
#detail.winter-product-dialog .winter-detail-fulfillment { margin: 11px 0 0; color: #aebfd3 !important; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
#detail.winter-product-dialog .payment-options { display: grid; gap: 9px; margin-top: 17px; padding: 15px; border: 1px solid #35495f; border-radius: 15px; background: #152436; }
#detail.winter-product-dialog .payment-options .winter-payment-heading { margin: 0 0 2px; color: #e7eef8 !important; font-size: 12px; font-weight: 650; line-height: 1.5; }
#detail.winter-product-dialog .payment-options > .primary,
#detail.winter-product-dialog .payment-options > .outline,
#detail.winter-product-dialog .payment-options > .rs-detail-add { width: 100%; min-height: 46px; border-radius: 10px; margin: 0; font-size: 13px; font-weight: 650; }
#detail.winter-product-dialog .payment-options > .rs-detail-add { border-color: #455c74 !important; background: #1a2c40 !important; color: #e6f0fc !important; box-shadow: none !important; }
#detail.winter-product-dialog .payment-options > .rs-detail-add:hover { border-color: #88b4da !important; background: #263f58 !important; }
#detail.winter-product-dialog .payment-options > .muted { color: #b6c6da !important; font-size: 12px; line-height: 1.5; }
#detail.winter-product-dialog .product-balance { min-width: 0; padding: 10px 11px; font-size: 12px; border-radius: 9px; }
#detail.winter-product-dialog .payment-options .payment-note { margin: 2px 0 0; color: #a7b9cd !important; font-size: 10px; line-height: 1.55; }
#detail.winter-product-dialog .winter-detail-providers { min-width: 0; margin: 1px 0 0; border-top: 1px solid #374b61; padding-top: 3px; }
#detail.winter-product-dialog .winter-detail-providers summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 42px; padding: 4px 2px; color: #c8dff4; font-size: 12px; font-weight: 600; line-height: 1.4; list-style: none; cursor: pointer; }
#detail.winter-product-dialog .winter-detail-providers summary::-webkit-details-marker { display: none; }
#detail.winter-product-dialog .winter-detail-providers summary:after { content: '+'; color: #a8c5df; font-size: 20px; font-weight: 400; }
#detail.winter-product-dialog .winter-detail-providers[open] summary:after { content: '−'; }
#detail.winter-product-dialog .winter-detail-provider-list { display: grid; gap: 8px; padding: 3px 0 5px; min-width: 0; }
#detail.winter-product-dialog .winter-detail-provider-list .provider-pay { width: 100%; min-width: 0; min-height: 62px; padding: 10px; border-radius: 10px; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; }
#detail.winter-product-dialog .winter-detail-provider-list .provider-icon { width: 34px; height: 34px; }
#detail.winter-product-dialog .winter-detail-provider-list .provider-copy strong { font-size: 12px; }
#detail.winter-product-dialog .winter-detail-provider-list .provider-copy small { font-size: 10px; }
#detail.winter-product-dialog .winter-detail-description-section { grid-area: description; min-width: 0; margin-top: 4px; padding-top: 20px; border-top: 1px solid #304155; }
#detail.winter-product-dialog .winter-detail-description-section h3 { margin: 0 0 10px; color: #edf3fc !important; font-size: 15px; font-weight: 650; line-height: 1.5; }
#detail.winter-product-dialog .winter-detail-description { margin: 0 !important; max-width: 80ch; color: #c0cddd !important; font-size: 13px; line-height: 1.75; white-space: pre-line; overflow-wrap: anywhere; }
#detail.winter-product-dialog :is(button,summary,a):focus-visible { outline: 2px solid #b6dcff !important; outline-offset: 3px; }
@media(max-width:759px) {
    #detail.winter-product-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); padding: 20px 16px !important; border-radius: 17px !important; }
    #detail.winter-product-dialog .product-close { margin: -11px -7px -29px 0; }
    #detail.winter-product-dialog #detail-content { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; grid-template-areas: 'title' 'media' 'buy' 'description'; row-gap: 17px; padding-top: 3px; }
    #detail.winter-product-dialog .winter-detail-header { padding-right: 35px; }
    #detail.winter-product-dialog .market-detail-category { margin-bottom: 7px; font-size: 9px; }
    #detail.winter-product-dialog h2 { font-size: clamp(21px, 6vw, 27px); line-height: 1.25; }
    #detail.winter-product-dialog .winter-readable-poster,
    #detail.winter-product-dialog .winter-readable-poster.product-has-generated,
    #detail.winter-product-dialog .winter-readable-poster:has(>.product-generated-art) { aspect-ratio: 1.58; height: auto !important; min-height: 0; max-height: none; border-radius: 13px; }
    #detail.winter-product-dialog .winter-readable-poster .product-generated-identity>strong,
    #detail.winter-product-dialog .winter-readable-poster .product-service-name { font-size: 24px; }
    #detail.winter-product-dialog .winter-detail-feedback { margin-top: 9px; }
    #detail.winter-product-dialog .winter-detail-rating { font-size: 11px; }
    #detail.winter-product-dialog .winter-detail-meta .price { font-size: 29px; }
    #detail.winter-product-dialog .winter-detail-fulfillment { margin-top: 8px; font-size: 11px; }
    #detail.winter-product-dialog .payment-options { margin-top: 12px; padding: 12px; }
    #detail.winter-product-dialog .winter-detail-description-section { padding-top: 16px; }
    #detail.winter-product-dialog .winter-detail-provider-list .provider-pay { grid-template-columns: 34px minmax(0,1fr); }
    #detail.winter-product-dialog .winter-detail-provider-list .provider-price { grid-column: 2; }
}
@media(prefers-reduced-motion:reduce) { #detail.winter-product-dialog * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
html:has(#detail.winter-product-dialog[open]),
body:has(#detail.winter-product-dialog[open]) { overflow: hidden !important; }
