/* 20260628-productrender4: unified 250bar.ru and market.250bar.ru product cards. */

:root {
    --wg28-premium-top: 112px;
    --wg28-premium-bottom: 158px;
    --wg28-premium-side: clamp(10px, 2.4vw, 26px);
    --wg28-jivo-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    --wg28-jivo-right: max(0px, env(safe-area-inset-right, 0px));
}

html,
body {
    min-height: 100%;
    overflow: hidden !important;
    overscroll-behavior: none !important;
}

body {
    background: #030705;
    color: #f4fff7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wg28-mobile-section-slider,
.wg28-mobile-section-slider *,
.wg28-scrollbar-active::-webkit-scrollbar,
.wg28-scrollbar-active::-webkit-scrollbar-thumb {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.wg28-premium-top-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 10080;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, #14d66d, #f09a2a, #18d36f);
    background-size: 220% 100%;
    box-shadow: 0 0 18px rgba(22, 219, 112, .38);
    transition: transform .18s cubic-bezier(.16, 1, .3, 1);
    animation: wg28PremiumProgressFlow 3.2s linear infinite;
}

@keyframes wg28PremiumProgressFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 220% 50%; }
}

.wg28-premium-nav {
    position: fixed;
    right: max(12px, env(safe-area-inset-right, 0px));
    top: 50%;
    z-index: 10035;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 10px 7px;
    transform: translateY(-50%);
    border: 1px solid rgba(218, 255, 229, .14);
    border-radius: 999px;
    background: rgba(4, 12, 9, .34);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    pointer-events: auto;
}

.wg28-premium-nav[hidden] {
    display: none !important;
}

.wg28-premium-dot {
    display: block;
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(236, 255, 242, .24);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .16);
    cursor: pointer;
    transition: transform .34s cubic-bezier(.16, 1, .3, 1), background .34s ease, box-shadow .34s ease;
}

.wg28-premium-dot.is-active {
    background: #18e378;
    box-shadow: 0 0 0 4px rgba(24, 227, 120, .16), 0 0 18px rgba(24, 227, 120, .68);
    transform: scale(1.65);
}

html body .wg28-chat-window.quizai,
html body .wg28-chat-window {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior-y: contain !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: y proximity !important;
    scroll-padding-top: calc(var(--wg28-premium-top) + env(safe-area-inset-top, 0px)) !important;
    scroll-padding-bottom: var(--wg28-premium-bottom) !important;
    padding-bottom: calc(var(--wg28-premium-bottom) + env(safe-area-inset-bottom, 0px)) !important;
}

html body .wg28-chat-window.quizai::-webkit-scrollbar,
html body .wg28-chat-window::-webkit-scrollbar,
html body .wg28-premium-inner-scroll::-webkit-scrollbar,
html body .wg28-market-preview::-webkit-scrollbar,
html body .neuro-section::-webkit-scrollbar,
html body .fast-requests.quizai::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

html body .wg28-chat-window.quizai.wg28-ios-pad,
html body .wg28-chat-window.wg28-ios-pad {
    padding-bottom: calc(var(--wg28-premium-bottom) + env(safe-area-inset-bottom, 0px)) !important;
}

html body .wg28-chat-window.quizai .neuro-card.aiblock-trans.wg28-slide-width-locked.wg28-progressive-stable-card.wg28-smart-tilt-frozen.wg28-premium-slide {
    position: relative !important;
    box-sizing: border-box !important;
    width: calc(100% - (var(--wg28-premium-side) * 2)) !important;
    inline-size: calc(100vw - (var(--wg28-premium-side) * 2)) !important;
    max-width: min(100% - (var(--wg28-premium-side) * 2), 1180px) !important;
    max-inline-size: min(calc(100vw - (var(--wg28-premium-side) * 2)), 1180px) !important;
    min-height: calc(100svh - var(--wg28-premium-top) - var(--wg28-premium-bottom)) !important;
    margin: clamp(50px, 9svh, 118px) auto clamp(112px, 15svh, 220px) !important;
    padding-inline: clamp(12px, 2.4vw, 26px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    scroll-margin-top: calc(var(--wg28-premium-top) + env(safe-area-inset-top, 0px)) !important;
    overflow: visible !important;
    contain: layout style !important;
}

html body .wg28-chat-window.quizai .neuro-card.aiblock-trans.wg28-slide-width-locked.wg28-progressive-stable-card.wg28-smart-tilt-frozen.wg28-premium-slide {
    display: block !important;
    align-items: initial !important;
    justify-content: initial !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    scrollbar-width: auto !important;
    -webkit-overflow-scrolling: auto !important;
    overscroll-behavior-y: auto !important;
}

html body .wg28-chat-window.quizai .neuro-card.aiblock-trans.wg28-slide-width-locked.wg28-progressive-stable-card.wg28-smart-tilt-frozen.wg28-premium-slide::before {
    content: "";
    position: absolute;
    inset: 8% -8%;
    z-index: -1;
    border-radius: 36px;
    background:
        radial-gradient(circle at 18% 18%, rgba(24, 211, 111, .16), transparent 34%),
        radial-gradient(circle at 86% 82%, rgba(240, 154, 42, .13), transparent 35%);
    opacity: .72;
    filter: blur(10px);
    pointer-events: none;
    transform: translateZ(0);
}

html body .wg28-chat-window.quizai .neuro-card.aiblock-trans.wg28-slide-width-locked.wg28-progressive-stable-card.wg28-smart-tilt-frozen.wg28-premium-slide > .neuro-content,
html body .wg28-chat-window.quizai .neuro-card.aiblock-trans.wg28-slide-width-locked.wg28-progressive-stable-card.wg28-smart-tilt-frozen.wg28-premium-slide > .neuro-card,
html body .wg28-chat-window.quizai .neuro-card.aiblock-trans.wg28-slide-width-locked.wg28-progressive-stable-card.wg28-smart-tilt-frozen.wg28-premium-slide > .slide-content {
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    scrollbar-width: auto !important;
    -webkit-overflow-scrolling: auto !important;
    overscroll-behavior-y: auto !important;
}

html body .wg28-chat-window.quizai .neuro-card.aiblock-trans.wg28-slide-width-locked.wg28-progressive-stable-card.wg28-smart-tilt-frozen.wg28-premium-slide:not(.is-visible) > * {
    opacity: .72;
    transform: translateY(20px) scale(.985);
}

html body .wg28-chat-window.quizai .neuro-card.aiblock-trans.wg28-slide-width-locked.wg28-progressive-stable-card.wg28-smart-tilt-frozen.wg28-premium-slide > * {
    transition: opacity .62s cubic-bezier(.16, 1, .3, 1), transform .62s cubic-bezier(.16, 1, .3, 1);
}

html body .wg28-chat-window.quizai .neuro-card.aiblock-trans.wg28-slide-width-locked.wg28-progressive-stable-card.wg28-smart-tilt-frozen.wg28-premium-slide.is-visible > * {
    opacity: 1;
    transform: translateY(0) scale(1);
}

html body .wg28-chat-window.quizai .neuro-card.aiblock-trans.wg28-slide-width-locked.wg28-progressive-stable-card.wg28-smart-tilt-frozen.wg28-premium-slide :where(.marketplace-hero, [class*="marketplace-hero"], .wg28-market-preview-section, .wg28-market-preview-grid, .wg28-market-preview, .slide-content, .neuro-content) {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

html body .wg28-chat-window.quizai .neuro-card.aiblock-trans.wg28-slide-width-locked.wg28-progressive-stable-card.wg28-smart-tilt-frozen.wg28-premium-slide :where(h1, h2, h3, h4, h5, h6, p, li, table, img, video) {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
}

html body .wg28-chat-window.quizai .neuro-card.aiblock-trans.wg28-slide-width-locked.wg28-progressive-stable-card.wg28-smart-tilt-frozen.wg28-premium-slide > :where(h1, h2, h3, h4, h5, h6, p),
html body .wg28-chat-window.quizai .neuro-card.aiblock-trans.wg28-slide-width-locked.wg28-progressive-stable-card.wg28-smart-tilt-frozen.wg28-premium-slide > .neuro-content > :where(h1, h2, h3, h4, h5, h6, p),
html body .wg28-chat-window.quizai .neuro-card.aiblock-trans.wg28-slide-width-locked.wg28-progressive-stable-card.wg28-smart-tilt-frozen.wg28-premium-slide > .slide-content > :where(h1, h2, h3, h4, h5, h6, p) {
    padding-left: clamp(14px, 4vw, 24px) !important;
    padding-right: clamp(14px, 4vw, 24px) !important;
}

html body .wg28-chat-window.quizai .neuro-card.wg28-premium-slide:is(.aiblock-trans, .aiblock-black, .aiblock-green, .aiblock-white, .aiblock-red) {
    position: relative !important;
    box-sizing: border-box !important;
    display: block !important;
    width: calc(100% - (var(--wg28-premium-side) * 2)) !important;
    inline-size: calc(100vw - (var(--wg28-premium-side) * 2)) !important;
    max-width: min(calc(100vw - (var(--wg28-premium-side) * 2)), 1180px) !important;
    max-inline-size: min(calc(100vw - (var(--wg28-premium-side) * 2)), 1180px) !important;
    height: auto !important;
    min-height: max(220px, calc(100svh - var(--wg28-premium-top) - var(--wg28-premium-bottom))) !important;
    max-height: none !important;
    margin: clamp(50px, 9svh, 118px) auto clamp(112px, 15svh, 220px) !important;
    padding-inline: clamp(12px, 2.4vw, 26px) !important;
    padding-bottom: clamp(26px, 4svh, 64px) !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    overscroll-behavior: auto !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: normal !important;
    scroll-margin-top: calc(var(--wg28-premium-top) + env(safe-area-inset-top, 0px) + 16px) !important;
    contain: layout style !important;
}

html body .wg28-chat-window.quizai .neuro-card.wg28-premium-slide:is(.aiblock-trans, .aiblock-black, .aiblock-green, .aiblock-white, .aiblock-red) > :where(.neuro-content, .neuro-card, .slide-content),
html body .wg28-chat-window.quizai .neuro-card.wg28-premium-slide:is(.aiblock-trans, .aiblock-black, .aiblock-green, .aiblock-white, .aiblock-red) :where(.marketplace-hero, [class*="marketplace-hero"], .wg28-market-preview-section, .wg28-market-preview-grid, .wg28-market-preview, .product-list) {
    box-sizing: border-box !important;
    width: 100% !important;
    inline-size: 100% !important;
    max-width: 100% !important;
    max-inline-size: 100% !important;
    min-width: 0 !important;
    min-inline-size: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

html body .wg28-chat-window.quizai .neuro-card.wg28-premium-slide:is(.aiblock-trans, .aiblock-black, .aiblock-green, .aiblock-white, .aiblock-red) :where(.wg28-market-preview-section, .wg28-market-preview-grid, .wg28-market-preview) {
    contain: layout style !important;
    justify-self: stretch !important;
    align-self: start !important;
}

html body .wg28-chat-window.quizai .neuro-card.wg28-premium-slide:is(.aiblock-trans, .aiblock-black, .aiblock-green, .aiblock-white, .aiblock-red) :where(h1, h2, h3, h4, h5, h6, p, li, table, img, video) {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
}

html body .wg28-chat-window.quizai [data-wg28-no-autoscroll="1"],
html body .wg28-chat-window.quizai [data-wg28-preview-no-autoscroll="1"],
html body .wg28-chat-window.quizai [data-wg28-no-programmatic-scroll="1"] {
    overflow-anchor: none !important;
}

html body .wg28-chat-window.quizai .wg28-market-preview.is-skeleton .wg28-market-preview__thought {
    display: grid !important;
    justify-items: center !important;
    gap: 8px !important;
    width: min(100%, 260px) !important;
    margin: 2px auto 10px !important;
    text-align: center !important;
}

html body .wg28-chat-window.quizai .neuro-section-thinking .neuro-processing,
html body section.neuro-section.active.neuro-section-thinking .neuro-processing {
    width: min(100%, 680px) !important;
    min-width: min(100%, 680px) !important;
    max-width: min(100%, 680px) !important;
    min-height: 166px !important;
    height: 166px !important;
    max-height: 166px !important;
    padding: 22px 26px !important;
    display: grid !important;
    align-content: center !important;
    justify-content: center !important;
    justify-items: center !important;
    text-align: center !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

html body .wg28-chat-window.quizai .neuro-section-thinking .neuro-processing #wg28StepText,
html body section.neuro-section.active.neuro-section-thinking .neuro-processing #wg28StepText {
    display: block !important;
    width: min(100%, 580px) !important;
    min-width: min(100%, 580px) !important;
    max-width: min(100%, 580px) !important;
    min-height: 62px !important;
    max-height: 62px !important;
    line-height: 1.34 !important;
    overflow: hidden !important;
    text-align: center !important;
    text-wrap: balance;
}

html body .wg28-chat-window.quizai .neuro-section-thinking .neuro-processing .dots,
html body section.neuro-section.active.neuro-section-thinking .neuro-processing .dots {
    width: 72px !important;
    min-width: 72px !important;
    height: 18px !important;
    margin: 8px auto 0 !important;
    display: flex !important;
    justify-content: center !important;
}

html body .wg28-chat-window.quizai .wg28-market-preview.is-skeleton .wg28-market-preview__thought-head {
    display: inline-flex !important;
    width: 196px !important;
    min-width: 196px !important;
    max-width: 196px !important;
    justify-content: center !important;
    gap: 8px !important;
}

html body .wg28-chat-window.quizai .wg28-market-preview.is-skeleton .wg28-market-preview__thought-line {
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    margin-inline: auto !important;
}

html body .wg28-chat-window.quizai .neuro-section-thinking,
html body section.neuro-section.active.neuro-section-thinking {
    position: relative !important;
}

html body .wg28-chat-window.quizai .neuro-section-thinking #gentext.neuro-card,
html body section.neuro-section.active.neuro-section-thinking #gentext.neuro-card {
    position: relative !important;
    min-height: clamp(260px, 38svh, 460px) !important;
}

html body .wg28-chat-window.quizai .neuro-section-thinking .neuro-processing,
html body section.neuro-section.active.neuro-section-thinking .neuro-processing {
    position: absolute !important;
    top: clamp(12px, 1.8vw, 22px) !important;
    right: clamp(12px, 1.8vw, 22px) !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: clamp(230px, 25vw, 360px) !important;
    min-width: 0 !important;
    max-width: calc(100% - 24px) !important;
    min-height: 50px !important;
    height: auto !important;
    max-height: 76px !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    justify-items: stretch !important;
    align-content: center !important;
    gap: 9px !important;
    text-align: left !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    z-index: 5 !important;
}

html body .wg28-chat-window.quizai .neuro-section-thinking .neuro-processing #wg28StepText,
html body section.neuro-section.active.neuro-section-thinking .neuro-processing #wg28StepText {
    flex: 1 1 auto !important;
    display: -webkit-box !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 0 !important;
    max-height: 38px !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.24 !important;
    font-size: clamp(12px, 1.05vw, 14px) !important;
    text-align: left !important;
    text-wrap: auto;
}

html body .wg28-chat-window.quizai .neuro-section-thinking .neuro-processing .dots,
html body section.neuro-section.active.neuro-section-thinking .neuro-processing .dots {
    flex: 0 0 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 10px !important;
    margin: 0 !important;
    display: inline-flex !important;
    justify-content: center !important;
}

html body .container.container-generate,
html body .wg28-input-dock,
html body .textarea-chat#textRow,
html body #textRow.textarea-chat {
    position: fixed !important;
    left: max(8px, env(safe-area-inset-left, 0px)) !important;
    right: max(8px, env(safe-area-inset-right, 0px)) !important;
    bottom: 0 !important;
    z-index: 10030 !important;
    transform: translate3d(0, 0, 0) !important;
    margin: 0 auto !important;
}

html body .container.container-generate,
html body .wg28-input-dock {
    max-width: min(980px, calc(100vw - 16px)) !important;
    min-height: calc(92px + env(safe-area-inset-bottom, 0px)) !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    border-radius: 26px !important;
}

html body .input-actions-bar {
    display: grid !important;
    grid-template-columns: 56px 56px 56px !important;
    align-items: center !important;
    gap: 10px !important;
    padding-right: 0 !important;
}

html body #nextButton.tech-btn,
html body #nextButton.tech-btn.send1,
html body #nextButtonChat.aibut,
html body #imageButtonMain.tech-btn,
html body #voiceButtonMain.tech-btn,
html body #wg28-image-upload.tech-btn,
html body #wg28-voice-trigger.tech-btn,
html body #wg28-stop-stream,
html body #stop-send-btn.cyber-action-btn {
    align-self: center !important;
    justify-self: center !important;
    min-width: 56px !important;
    width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 0 !important;
    transform: none !important;
    display: inline-grid !important;
    place-items: center !important;
    line-height: 1 !important;
}

html body #nextButton.tech-btn,
html body #nextButton.tech-btn.send1 {
    transform: translate3d(8px, -4px, 0) !important;
}

html body #wg28-stop-stream {
    transform: translate3d(12px, -6px, 0) !important;
}

html body #stop-send-btn.cyber-action-btn {
    width: auto !important;
    min-width: 156px !important;
    padding: 0 18px !important;
}

html body .wg28-chat-window.quizai .wg28-jivo-card.wg28-jivo-card--hero-only .wg28-jivo-card__agent {
    width: 100% !important;
    min-width: 0 !important;
}

html body .wg28-chat-window.quizai .wg28-jivo-card__quick-actions,
html body .wg28-chat-window.quizai .wg28-jivo-card.wg28-jivo-card--hero-only .wg28-jivo-card__quick-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: min(100%, 430px) !important;
    max-width: 100% !important;
    margin: 14px auto 0 !important;
    align-self: center !important;
}

html body .wg28-chat-window.quizai .wg28-jivo-card__quick-btn,
html body .wg28-chat-window.quizai .wg28-jivo-card.wg28-jivo-card--hero-only .wg28-jivo-card__quick-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 56px !important;
    padding: 12px 18px !important;
    border-radius: 18px !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-height: 1.16 !important;
    font-size: clamp(15px, 3.7vw, 17px) !important;
    text-align: center !important;
    text-wrap: balance;
}

html body .wg28-chat-window.quizai .wg28-jivo-card__quick-btn br {
    display: none !important;
}

html body jdiv[class*="label"],
html body jdiv[class*="label" i],
html body jdiv[class*="caption"],
html body jdiv[class*="caption" i],
html body jdiv[class*="tooltip"],
html body jdiv[class*="tooltip" i],
html body jdiv[class*="logo"],
html body jdiv[class*="logo" i],
html body jdiv[class*="watermark"],
html body jdiv[class*="watermark" i],
html body jdiv[class*="leaf"],
html body jdiv[class*="leaf" i],
html body jdiv[class*="brand" i],
html body jdiv[class*="copyright" i],
html body jdiv[class*="powered" i],
html body [class*="jivo"][class*="label"],
html body [class*="jivo" i][class*="label" i],
html body [class*="jivo"][class*="caption"],
html body [class*="jivo" i][class*="caption" i],
html body [class*="jivo"][class*="tooltip"],
html body [class*="jivo" i][class*="tooltip" i],
html body [class*="jivo"][class*="logo"],
html body [class*="jivo" i][class*="logo" i],
html body [class*="jivo"][class*="leaf"],
html body [class*="jivo" i][class*="leaf" i],
html body [class*="jivo" i][class*="brand" i],
html body [class*="jivo" i][class*="copyright" i],
html body [class*="jivo" i][class*="powered" i] {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

html body [id*="jivo" i]:not([id*="wg28" i]),
html body [class*="jivo" i]:not([class*="wg28-jivo-card" i]):not([class*="label" i]):not([class*="caption" i]):not([class*="tooltip" i]):not([class*="logo" i]):not([class*="leaf" i]):not([class*="brand" i]):not([class*="copyright" i]):not([class*="powered" i]),
html body iframe[src*="jivo"],
html body iframe[src*="jivo" i],
html body jdiv[class*="button"],
html body jdiv[class*="button" i],
html body jdiv[class*="widget"],
html body jdiv[class*="widget" i],
html body jdiv[class*="wrap"],
html body jdiv[class*="wrap" i] {
    right: var(--wg28-jivo-right) !important;
    bottom: var(--wg28-jivo-bottom) !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    z-index: 10042 !important;
}

@media (max-width: 767px) {
    :root {
        --wg28-premium-top: 108px;
        --wg28-premium-bottom: 156px;
        --wg28-premium-side: 8px;
        --wg28-jivo-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        --wg28-jivo-right: max(0px, env(safe-area-inset-right, 0px));
    }

    .wg28-premium-nav {
        right: max(8px, env(safe-area-inset-right, 0px));
        gap: 12px;
        padding: 9px 6px;
        background: rgba(4, 12, 9, .42);
    }

    .wg28-premium-dot {
        width: 7px;
        height: 7px;
    }

    html body .wg28-chat-window.quizai .neuro-card.aiblock-trans.wg28-slide-width-locked.wg28-progressive-stable-card.wg28-smart-tilt-frozen.wg28-premium-slide {
        width: calc(100% - 16px) !important;
        inline-size: calc(100vw - 16px) !important;
        max-width: calc(100% - 16px) !important;
        max-inline-size: calc(100vw - 16px) !important;
        padding-inline: 10px !important;
        min-height: calc(100svh - var(--wg28-premium-top) - var(--wg28-premium-bottom)) !important;
        margin: 46px auto clamp(104px, 16svh, 168px) !important;
    }

    html body .wg28-chat-window.quizai .neuro-section-thinking,
    html body section.neuro-section.active.neuro-section-thinking {
        display: grid !important;
        place-items: center !important;
        min-height: calc(100svh - var(--wg28-premium-top) - var(--wg28-premium-bottom)) !important;
        padding: calc(var(--wg28-premium-top) + env(safe-area-inset-top, 0px)) 18px var(--wg28-premium-bottom) !important;
    }

    html body .wg28-chat-window.quizai .neuro-section-thinking .neuro-processing,
    html body section.neuro-section.active.neuro-section-thinking .neuro-processing {
        position: relative !important;
        inset: auto !important;
        transform: none !important;
        display: grid !important;
        gap: 12px !important;
        width: min(100%, 332px) !important;
        min-width: min(100%, 332px) !important;
        max-width: min(100%, 332px) !important;
        min-height: 176px !important;
        height: 176px !important;
        max-height: 176px !important;
        margin: 0 auto !important;
        justify-content: center !important;
        justify-items: center !important;
        text-align: center !important;
    }

    html body .wg28-chat-window.quizai .neuro-section-thinking .neuro-processing #wg28StepText,
    html body section.neuro-section.active.neuro-section-thinking .neuro-processing #wg28StepText {
        width: 286px !important;
        min-width: 286px !important;
        max-width: 286px !important;
        min-height: 70px !important;
        max-height: 70px !important;
    }

    html body .wg28-chat-window.quizai .wg28-jivo-card__quick-actions,
    html body .wg28-chat-window.quizai .wg28-jivo-card.wg28-jivo-card--hero-only .wg28-jivo-card__quick-actions {
        width: min(100%, 340px) !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    html body .wg28-chat-window.quizai .wg28-jivo-card__quick-btn,
    html body .wg28-chat-window.quizai .wg28-jivo-card.wg28-jivo-card--hero-only .wg28-jivo-card__quick-btn {
        min-height: 58px !important;
        padding: 12px 10px !important;
        font-size: clamp(14px, 3.6vw, 16px) !important;
    }

    html body .wg28-chat-window.quizai .neuro-card.wg28-premium-slide:is(.aiblock-trans, .aiblock-black, .aiblock-green, .aiblock-white, .aiblock-red) {
        width: calc(100% - 16px) !important;
        inline-size: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        max-inline-size: calc(100vw - 16px) !important;
        min-height: max(180px, calc(100svh - var(--wg28-premium-top) - var(--wg28-premium-bottom))) !important;
        max-height: none !important;
        margin: 46px auto clamp(104px, 16svh, 168px) !important;
        padding-inline: 10px !important;
        padding-bottom: clamp(24px, 5svh, 52px) !important;
        overflow: visible !important;
        overflow-y: visible !important;
        contain: layout style !important;
    }

    html body .wg28-chat-window.quizai .neuro-section-thinking,
    html body section.neuro-section.active.neuro-section-thinking {
        display: block !important;
        place-items: initial !important;
        min-height: calc(100svh - var(--wg28-premium-top) - var(--wg28-premium-bottom)) !important;
        padding: calc(var(--wg28-premium-top) + env(safe-area-inset-top, 0px)) 10px var(--wg28-premium-bottom) !important;
    }

    html body .wg28-chat-window.quizai .neuro-section-thinking #gentext.neuro-card,
    html body section.neuro-section.active.neuro-section-thinking #gentext.neuro-card {
        min-height: clamp(220px, 34svh, 340px) !important;
    }

    html body .wg28-chat-window.quizai .neuro-section-thinking .neuro-processing,
    html body section.neuro-section.active.neuro-section-thinking .neuro-processing {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        inset: 10px 10px auto auto !important;
        display: flex !important;
        gap: 7px !important;
        width: min(64vw, 252px) !important;
        min-width: 0 !important;
        max-width: calc(100% - 20px) !important;
        min-height: 46px !important;
        height: auto !important;
        max-height: 62px !important;
        margin: 0 !important;
        padding: 8px 10px !important;
        border-radius: 14px !important;
        text-align: left !important;
        justify-content: flex-start !important;
        justify-items: stretch !important;
    }

    html body .wg28-chat-window.quizai .neuro-section-thinking .neuro-processing #wg28StepText,
    html body section.neuro-section.active.neuro-section-thinking .neuro-processing #wg28StepText {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 0 !important;
        max-height: 32px !important;
        font-size: 11.5px !important;
        line-height: 1.2 !important;
        text-align: left !important;
    }

    html body .wg28-chat-window.quizai .neuro-section-thinking .neuro-processing .dots,
    html body section.neuro-section.active.neuro-section-thinking .neuro-processing .dots {
        flex-basis: 30px !important;
        width: 30px !important;
        min-width: 30px !important;
        height: 8px !important;
        margin: 0 !important;
    }
}

@media (min-width: 768px) {
    :root {
        --wg28-premium-top: 132px;
        --wg28-premium-bottom: 64px;
        --wg28-jivo-bottom: 28px;
        --wg28-jivo-right: max(2px, env(safe-area-inset-right, 0px));
    }

    .wg28-premium-nav {
        right: max(18px, calc((100vw - 1180px) / 2 + 12px));
    }
}

html body .wg28-chat-window.quizai #gentext.neuro-card.aiblock-trans[data-neuro-skeleton-init="1"],
html body .wg28-chat-window.quizai #gentext.neuro-card.aiblock-trans.wg28-smart-tilt:has(> .neuro-processing),
html body #gentext.neuro-card.aiblock-trans[data-neuro-skeleton-init="1"],
html body #gentext.neuro-card.aiblock-trans.wg28-smart-tilt:has(> .neuro-processing) {
    position: relative !important;
    overflow: visible !important;
    min-height: clamp(260px, 38svh, 480px) !important;
}

html body .wg28-chat-window.quizai #gentext.neuro-card.aiblock-trans[data-neuro-skeleton-init="1"] > .neuro-processing,
html body .wg28-chat-window.quizai #gentext.neuro-card.aiblock-trans.wg28-smart-tilt > .neuro-processing,
html body #gentext.neuro-card.aiblock-trans[data-neuro-skeleton-init="1"] > .neuro-processing,
html body #gentext.neuro-card.aiblock-trans.wg28-smart-tilt > .neuro-processing {
    position: absolute !important;
    inset: clamp(12px, 1.4vw, 18px) clamp(12px, 1.4vw, 18px) auto auto !important;
    z-index: 8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    width: clamp(228px, 23vw, 340px) !important;
    min-width: 0 !important;
    max-width: calc(100% - 24px) !important;
    height: auto !important;
    min-height: 44px !important;
    max-height: 58px !important;
    margin: 0 !important;
    padding: 8px 11px !important;
    border-radius: 14px !important;
    text-align: left !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

html body .wg28-chat-window.quizai #gentext.neuro-card.aiblock-trans[data-neuro-skeleton-init="1"] > .neuro-processing #wg28StepText,
html body .wg28-chat-window.quizai #gentext.neuro-card.aiblock-trans.wg28-smart-tilt > .neuro-processing #wg28StepText,
html body #gentext.neuro-card.aiblock-trans[data-neuro-skeleton-init="1"] > .neuro-processing #wg28StepText,
html body #gentext.neuro-card.aiblock-trans.wg28-smart-tilt > .neuro-processing #wg28StepText {
    flex: 1 1 auto !important;
    display: -webkit-box !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 0 !important;
    max-height: 30px !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: clamp(11.5px, .95vw, 13px) !important;
    line-height: 1.18 !important;
    text-align: left !important;
    white-space: normal !important;
    text-wrap: auto !important;
}

html body .wg28-chat-window.quizai #gentext.neuro-card.aiblock-trans[data-neuro-skeleton-init="1"] > .neuro-processing .dots,
html body .wg28-chat-window.quizai #gentext.neuro-card.aiblock-trans.wg28-smart-tilt > .neuro-processing .dots,
html body #gentext.neuro-card.aiblock-trans[data-neuro-skeleton-init="1"] > .neuro-processing .dots,
html body #gentext.neuro-card.aiblock-trans.wg28-smart-tilt > .neuro-processing .dots {
    flex: 0 0 28px !important;
    width: 28px !important;
    min-width: 28px !important;
    height: 8px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

html body .wg28-chat-window.quizai #gentext.neuro-card.aiblock-trans[data-neuro-skeleton-init="1"] > .slide-content,
html body .wg28-chat-window.quizai #gentext.neuro-card.aiblock-trans.wg28-smart-tilt > .slide-content,
html body #gentext.neuro-card.aiblock-trans[data-neuro-skeleton-init="1"] > .slide-content,
html body #gentext.neuro-card.aiblock-trans.wg28-smart-tilt > .slide-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding-top: clamp(56px, 7svh, 78px) !important;
}

html body .wg28-chat-window.quizai :where(.wg28-market-preview-section, .wg28-market-preview-grid, .wg28-market-preview) {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    contain: inline-size layout style !important;
}

html body .wg28-chat-window.quizai .wg28-market-preview-grid {
    align-items: start !important;
    align-content: start !important;
}

html body .wg28-chat-window.quizai .wg28-market-preview.is-skeleton {
    min-height: clamp(300px, 42svh, 520px) !important;
    border-radius: clamp(22px, 2.6vw, 34px) !important;
    opacity: .94 !important;
    transform: none !important;
}

@media (max-width: 767px) {
    html body .wg28-chat-window.quizai #gentext.neuro-card.aiblock-trans[data-neuro-skeleton-init="1"] > .neuro-processing,
    html body .wg28-chat-window.quizai #gentext.neuro-card.aiblock-trans.wg28-smart-tilt > .neuro-processing,
    html body #gentext.neuro-card.aiblock-trans[data-neuro-skeleton-init="1"] > .neuro-processing,
    html body #gentext.neuro-card.aiblock-trans.wg28-smart-tilt > .neuro-processing {
        inset: 10px 10px auto auto !important;
        width: min(66vw, 246px) !important;
        min-height: 42px !important;
        max-height: 54px !important;
        padding: 7px 9px !important;
        border-radius: 13px !important;
    }

    html body .wg28-chat-window.quizai #gentext.neuro-card.aiblock-trans[data-neuro-skeleton-init="1"] > .neuro-processing #wg28StepText,
    html body .wg28-chat-window.quizai #gentext.neuro-card.aiblock-trans.wg28-smart-tilt > .neuro-processing #wg28StepText,
    html body #gentext.neuro-card.aiblock-trans[data-neuro-skeleton-init="1"] > .neuro-processing #wg28StepText,
    html body #gentext.neuro-card.aiblock-trans.wg28-smart-tilt > .neuro-processing #wg28StepText {
        max-height: 28px !important;
        font-size: 11px !important;
        line-height: 1.16 !important;
    }

    html body .wg28-chat-window.quizai .wg28-market-preview.is-skeleton {
        min-height: clamp(280px, 48svh, 440px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body .wg28-chat-window.quizai,
    html body .wg28-chat-window {
        scroll-behavior: auto !important;
    }

    .wg28-premium-top-progress,
    html body .wg28-chat-window.quizai .neuro-card.aiblock-trans.wg28-slide-width-locked.wg28-progressive-stable-card.wg28-smart-tilt-frozen.wg28-premium-slide > * {
        animation: none !important;
        transition: none !important;
    }
}
