.cw-product-actions > .cw-discbot-trigger {
    grid-column: 1 / -1;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 5px 10px;
    border: 1px solid #70599a;
    border-radius: 999px;
    background: #211b36;
    color: #e9dbff;
    font: 600 11px/1.25 var(--font, sans-serif);
}
.cw-product-actions > .cw-discbot-trigger:hover { background: #3a2858; border-color: #b38be8; }
.cw-discbot-trigger > .cw-discbot-icon { width: 13px; height: 13px; }
.cw-discbot {
    --discbot-line: #304563;
    --discbot-muted: #a5b8d3;
    --discbot-violet: #d0baff;
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(calc(100% - 24px), 36rem);
    max-height: calc(100dvh - 24px);
    min-width: 0;
    padding: 0;
    color: #edf3ff;
    background: #0e1a2e;
    border: 1px solid #3f577b;
    border-radius: 22px;
    box-shadow: 0 8px 0 #081322, 0 20px 70px #020711c9, 0 0 24px #6172d51c;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}
.cw-discbot::backdrop { background: #050b16c4; }
.cw-discbot p { margin: 0; }
.cw-discbot-header {
    position: sticky;
    z-index: 1;
    top: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 18px 20px 15px;
    background: #0e1a2ef5;
    border-bottom: 1px solid var(--discbot-line);
    backdrop-filter: blur(12px);
}
.cw-discbot-mascot { display: block; flex: none; width: 48px; height: 48px; overflow: visible; }
.cw-discbot-header h2 { margin: 0 0 3px; font-size: clamp(17px, 4.2vw, 21px); line-height: 1.25; }
.cw-discbot-header p { color: var(--discbot-muted); font-size: 13px; line-height: 1.4; }
.cw-discbot-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; margin-top: 7px; }
.cw-discbot-badge { display: inline-flex; padding: 2px 8px; color: #ddd7ff; border: 1px solid #596191; border-radius: 999px; background: #263251; font: 600 10px/1.35 var(--font, sans-serif); }
.cw-discbot-availability { display: inline-flex; align-items: center; gap: 5px; color: var(--discbot-muted); font-size: 10px; }
.cw-discbot-availability::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #71819d; }
.cw-discbot-availability.is-ready::before { background: #6bd9c6; }
.cw-discbot-body { display: grid; gap: 12px; padding: 16px 20px 18px; font-size: 13px; line-height: 1.5; }
.cw-discbot-product-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 13px; border: 1px solid #233953; border-radius: 15px; background: #17273f; }
.cw-discbot-product-cover { display: grid; place-items: center; flex: none; width: 42px; height: 56px; overflow: hidden; border: 1px solid #50649b; border-radius: 7px; background: #1f3156; }
.cw-discbot-product-cover img { width: 100%; height: 100%; object-fit: contain; }
.cw-discbot-product-cover > span { color: #a9beff; font-size: 29px; }
.cw-discbot-product-card h3 { margin: 0; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.cw-discbot-product-card p { margin-top: 3px; color: var(--discbot-muted); font-size: 11px; }
.cw-discbot-product-pricing { text-align: right; white-space: nowrap; }
.cw-discbot-product-pricing strong { display: block; font-size: 19px; font-weight: 750; }
.cw-discbot-product-pricing small { display: block; color: var(--discbot-muted); font-size: 9px; }
.cw-discbot-intro { color: #c6d3e8; font-size: 12px; }
.cw-discbot-note { color: var(--discbot-muted); font-size: 11px; overflow-wrap: anywhere; }
.cw-discbot-chat { min-height: min(12rem, 24dvh); padding-bottom: 8px; }
.cw-discbot-chat-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--discbot-muted); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.cw-discbot-status-row { display: flex; align-items: flex-start; gap: 8px; }
.cw-discbot-status-bubble { min-width: 0; max-width: 88%; padding: 11px 14px; border: 1px solid #2b4260; border-radius: 15px 15px 15px 4px; background: #20334e; }
.cw-discbot-status { color: #e2edff; font-size: 13px; overflow-wrap: anywhere; }
.cw-discbot-status.is-error { color: #ffd0db; }
.cw-discbot-security { display: grid; justify-items: center; gap: 8px; width: 100%; min-width: 0; margin-top: 10px; border: 1px solid #2b4260; border-radius: 5px; background: #17263e; }
.cw-discbot-security-widget { width: 100%; min-width: 300px; }
.cw-discbot-security > p, .cw-discbot-security > button { margin: 8px; }
.cw-discbot-icon { width: 18px; height: 18px; flex: none; border: 1px solid #9cebf3; border-radius: 50%; background: radial-gradient(circle, #101a2b 0 21%, #9cebf3 23% 32%, #4c337f 36% 54%, #bf9dff 58% 65%, #25364a 69%); }
.cw-discbot-status-bubble > [data-discbot-loading] { display: inline-block; margin-bottom: 5px; }
.cw-discbot-messages { display: grid; align-content: start; gap: 12px; max-height: min(19rem, 35dvh); margin: 12px 0 0; padding: 2px 4px 6px 0; overflow: auto; overscroll-behavior: contain; list-style: none; scrollbar-width: thin; }
.cw-discbot-messages:focus-visible { outline: 2px solid #a5e9f8; outline-offset: 2px; }
.cw-discbot-messages > li { display: flex; align-items: flex-start; gap: 8px; }
.cw-discbot-messages > li.is-member { flex-direction: row-reverse; }
.cw-discbot-avatar { display: grid; place-items: center; flex: 0 0 28px; height: 32px; color: #e5ebff; font: 700 11px/1 var(--font, sans-serif); }
.cw-discbot-avatar > .cw-discbot-mascot { width: 30px; height: 30px; }
.cw-discbot-bubble { min-width: 0; max-width: 84%; padding: 9px 13px; border: 1px solid #2b4260; border-radius: 15px 15px 15px 4px; background: #20334e; overflow-wrap: anywhere; }
.cw-discbot-bubble > strong { display: block; margin-bottom: 3px; color: #b5dcd8; font-size: 10px; }
.cw-discbot-messages .is-member .cw-discbot-bubble { border-color: #5c629b; border-radius: 15px 15px 4px 15px; background: #333761; }
.cw-discbot-messages .is-member .cw-discbot-avatar { height: 26px; flex-basis: 26px; margin-top: 3px; border: 1px solid #656caf; border-radius: 50%; background: #3c4677; }
.cw-discbot-messages .is-member .cw-discbot-bubble > strong { color: #d7dbff; }
.cw-discbot-window { padding: 12px 14px; border: 1px solid #6474bc; border-radius: 13px; background: #202d4e; }
.cw-discbot-window > strong { color: #f1e9ff; margin-inline-end: 8px; }
.cw-discbot-window [role="timer"] { font: 700 16px/1.4 var(--mono, monospace); color: #b9c9ff; }
.cw-discbot-composer { display: grid; gap: 9px; padding-top: 13px; border-top: 1px solid var(--discbot-line); }
.cw-discbot-bid, .cw-discbot-actions { display: flex; align-items: end; flex-wrap: wrap; gap: 7px 9px; }
.cw-discbot-bid { flex-wrap: nowrap; }
.cw-discbot-bid label { flex: 1 1 10rem; min-width: 0; }
.cw-discbot-bid label > span:first-child { display: block; margin-bottom: 5px; color: #bdcbe1; font-size: 11px; }
.cw-discbot-amount { display: flex; align-items: center; padding-inline-start: 12px; gap: 7px; color: #abc0df; background: #17263e; border: 1px solid #486285; border-radius: 12px; }
.cw-discbot-amount:focus-within { border-color: #a0b6ff; outline: 2px solid #a5e9f8; outline-offset: 2px; }
.cw-discbot-amount > input { min-width: 0; width: 100%; min-height: 46px; padding: 7px 8px 7px 0; border: 0; color: #edf4ff; background: transparent; font-size: 16px; }
.cw-discbot-amount > input::placeholder { color: #93a9c8; opacity: 1; }
.cw-discbot-amount-hint { color: var(--discbot-muted); font-size: 10px; }
.cw-discbot :is(button, a) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 7px 12px; color: #f0f4ff; border: 1px solid #6372ad; border-radius: 10px; background: #334777; text-decoration: none; }
.cw-discbot :is(button, a):hover { background: #40558b; }
.cw-discbot :is(button, a, input):focus-visible { outline: 2px solid #a5e9f8; outline-offset: 2px; }
.cw-discbot .cw-discbot-amount > input:focus-visible { outline: 0; }
.cw-discbot :is(button, input):disabled { cursor: not-allowed; opacity: .55; }
.cw-discbot-bid > button { min-height: 48px; background: #607ae5; border-color: #8da3ff; font-weight: 650; }
.cw-discbot-bid > button:hover { background: #758cf0; }
.cw-discbot-bid > button > span[aria-hidden] { font-size: 21px; line-height: 1; }
.cw-discbot button.cw-discbot-close { align-self: start; width: 44px; padding: 0; color: #b9c9e4; border-color: #334967; background: #14233c; font-size: 24px; line-height: 1; }
.cw-discbot button.cw-discbot-close:hover { color: #fff; background: #243958; }
.cw-discbot .cw-discbot-eyes { transform-box: fill-box; transform-origin: center; animation: discbot-blink 7s infinite; }
@keyframes discbot-blink { 0%, 43%, 47%, 100% { transform: scaleY(1); } 45% { transform: scaleY(.13); } }
@media (prefers-reduced-motion: reduce) { .cw-discbot .cw-discbot-eyes { animation: none; } }
@media (pointer: coarse) { .cw-product-actions > .cw-discbot-trigger { min-height: 44px; } }
@media (max-width: 480px) {
    .cw-discbot { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 18px; }
    .cw-discbot-header { padding: 14px 13px 12px; gap: 9px; }
    .cw-discbot-header > .cw-discbot-mascot { width: 38px; height: 42px; }
    .cw-discbot-header h2 { font-size: 17px; }
    .cw-discbot-header p { font-size: 11px; }
    .cw-discbot-body { padding: 13px; gap: 10px; }
    .cw-discbot-product-card { gap: 9px; padding: 10px; }
    .cw-discbot-product-card h3 { font-size: 13px; }
    .cw-discbot-product-pricing strong { font-size: 17px; }
    .cw-discbot-product-pricing small { font-size: 8px; }
    .cw-discbot-status-bubble { max-width: calc(100% - 36px); }
    .cw-discbot-bid > button { min-width: 48px; padding-inline: 11px; }
    .cw-discbot-bid [data-discbot-send-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 350px) {
    .cw-discbot { width: calc(100% - 8px); max-width: calc(100% - 8px); }
    .cw-discbot-security { width: calc(100% + 26px); margin-inline: -13px; border-inline: 0; border-radius: 0; }
    .cw-discbot-product-card { grid-template-columns: auto minmax(0, 1fr); }
    .cw-discbot-product-pricing { grid-column: 2; text-align: left; }
    .cw-discbot-product-pricing strong, .cw-discbot-product-pricing small { display: inline; }
    .cw-discbot-product-pricing small { margin-inline-start: 7px; }
}
