/* =====================================================================
   Quiz Reward Wall 1.10 — estilos de nicho. Só carrega quando a página
   escolhe um estilo; o visual padrão (quiz.css) continua igual.
   Cada estilo vive em #qrw-overlay[data-qrw-theme="..."].
   ===================================================================== */

@font-face {
    font-family: 'QRW Fredoka';
    src: url(../fonts/fredoka.woff2) format('woff2');
    font-weight: 500 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'QRW Teko';
    src: url(../fonts/teko.woff2) format('woff2');
    font-weight: 500 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'QRW Playfair';
    src: url(../fonts/playfairdisplay.woff2) format('woff2');
    font-weight: 600 800;
    font-style: italic;
    font-display: swap;
}

/* ---------------------------------------------------------------------
   Peças comuns aos três estilos
   --------------------------------------------------------------------- */

#qrw-overlay[data-qrw-theme] #qrw-modal {
    z-index: 1;
}

#qrw-overlay .qrw-fx-decor {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

#qrw-overlay .qrw-fx-layer {
    position: fixed;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

#qrw-overlay .qrw-fx-coin {
    position: fixed;
    width: 26px;
    height: 26px;
    will-change: transform, opacity;
}

#qrw-overlay .qrw-fx-coin svg,
#qrw-overlay .qrw-hud-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

#qrw-overlay .qrw-fx-gain {
    position: fixed;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    will-change: transform, opacity;
}

#qrw-overlay .qrw-fx-ripple {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 240%;
    padding-top: 240%;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    pointer-events: none;
}

#qrw-overlay .qrw-fx-confetti {
    position: fixed;
    width: 9px;
    height: 9px;
    will-change: transform, opacity;
}

#qrw-overlay .qrw-fx-confetti--block { border-radius: 2px; }
#qrw-overlay .qrw-fx-confetti--spark { width: 3px; height: 14px; border-radius: 2px; }
#qrw-overlay .qrw-fx-confetti--dot { border-radius: 50%; width: 8px; height: 8px; }

#qrw-overlay[data-qrw-theme] .qrw-option {
    position: relative;
    overflow: hidden;
}

#qrw-overlay[data-qrw-theme] .qrw-option.selected {
    filter: none;
}

/* Placar: pergunta atual à esquerda, pontos à direita */
#qrw-overlay .qrw-hud {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0 0;
}

#qrw-overlay .qrw-hud-step,
#qrw-overlay .qrw-hud-score {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 4px 12px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

#qrw-overlay .qrw-hud-step b,
#qrw-overlay .qrw-hud-score b {
    font-weight: 700;
}

#qrw-overlay .qrw-hud-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    font-style: normal;
}

#qrw-overlay .qrw-hud-icon.is-hit,
#qrw-overlay .qrw-hud-step b.is-hit {
    animation: qrw-fx-pop .35s ease;
}

#qrw-overlay[data-qrw-theme] .qrw-progress-bar-container {
    margin: 12px 0 24px;
}

#qrw-overlay .qrw-fx-enter {
    animation: qrw-fx-enter .32s cubic-bezier(.2, .9, .3, 1.2);
}

#qrw-overlay .qrw-fx-reveal {
    animation: qrw-fx-enter .45s cubic-bezier(.2, .9, .3, 1.25);
}

/* Total de pontos acima do título final */
#qrw-overlay .qrw-fx-total {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 8px 20px 8px 12px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    animation: qrw-fx-badge 1.6s ease-in-out .9s infinite;
}

#qrw-overlay .qrw-fx-total .qrw-hud-icon {
    width: 38px;
    height: 38px;
    animation: qrw-fx-spin-y 2.4s linear infinite;
}

/* Brilho passando no botão final */
#qrw-overlay[data-qrw-theme] .qrw-reward-button {
    position: relative;
    overflow: hidden;
    animation: qrw-fx-cta 1.8s ease-in-out .6s infinite;
}

#qrw-overlay[data-qrw-theme] .qrw-reward-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: skewX(-20deg);
    animation: qrw-fx-shine 2.6s ease-in-out 1s infinite;
    pointer-events: none;
}

@keyframes qrw-fx-pop {
    0% { transform: scale(1); }
    45% { transform: scale(1.45); }
    100% { transform: scale(1); }
}

@keyframes qrw-fx-enter {
    0% { opacity: 0; transform: translateY(14px) scale(.97); }
    100% { opacity: 1; transform: none; }
}

@keyframes qrw-fx-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes qrw-fx-spin-y {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes qrw-fx-cta {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@keyframes qrw-fx-shine {
    0% { left: -60%; }
    55%, 100% { left: 130%; }
}

/* =====================================================================
   ROBLOX — mundo de blocos: painel escuro, botões de bloco que afundam
   ao toque, barra listrada, moedas e confete quadrado.
   ===================================================================== */

#qrw-overlay[data-qrw-theme="roblox"] {
    font-family: 'QRW Fredoka', 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif;
    background:
        radial-gradient(circle at 12px 12px, rgba(255, 255, 255, .05) 4px, transparent 5px) 0 0 / 24px 24px,
        radial-gradient(120% 80% at 50% 0%, rgba(51, 95, 255, .28), transparent 60%),
        rgba(12, 14, 18, .9);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

#qrw-overlay[data-qrw-theme="roblox"] #qrw-modal {
    background: #232527;
    border: 2px solid #393b3d;
    border-radius: 16px;
    box-shadow: 0 8px 0 #0d0f11, 0 24px 60px rgba(0, 0, 0, .55);
    color: #ffffff;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-header {
    background: #1b1d1f;
    border-bottom: 2px solid #393b3d;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-header img,
#qrw-overlay[data-qrw-theme="freefire"] .qrw-header img {
    filter: brightness(0) invert(1);
    opacity: .92;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-header .qrw-sitename {
    color: #ffffff;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-close {
    color: #b9c0c8;
    opacity: .7;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-hud-step,
#qrw-overlay[data-qrw-theme="roblox"] .qrw-hud-score {
    background: #393b3d;
    border-radius: 10px;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25);
    font-size: 18px;
    color: #ffffff;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-hud-step span {
    color: #9aa2ab;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-hud-score b {
    color: #ffd43b;
    font-size: 20px;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-progress-bar-container {
    height: 14px;
    background: #393b3d;
    border-radius: 6px;
    box-shadow: inset 0 2px 0 rgba(0, 0, 0, .3);
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-progress-bar {
    background:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .18) 0 8px, transparent 8px 16px),
        #00b06f;
    background-size: 22px 22px, auto;
    border-radius: 6px;
    animation: qrw-rb-stripes .8s linear infinite;
    transition: width .6s cubic-bezier(.3, 1.4, .5, 1);
}

@keyframes qrw-rb-stripes {
    to { background-position: 22px 0, 0 0; }
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-question,
#qrw-overlay[data-qrw-theme="roblox"] .qrw-result-title {
    font-family: 'QRW Fredoka', 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif !important;
    font-weight: 700 !important;
    color: #ffffff;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-question {
    font-size: 25px !important;
    line-height: 1.25 !important;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-option {
    padding: 14px 24px;
    background: #ffffff;
    color: #1b1d1f;
    border-radius: 12px;
    font-family: 'QRW Fredoka', 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif;
    font-size: 19px !important;
    font-weight: 600 !important;
    letter-spacing: .2px;
    box-shadow: 0 6px 0 #aab2bb;
    transition: transform .12s ease, box-shadow .12s ease, background .15s ease, color .15s ease;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-option:not(.selected):hover {
    filter: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 0 #aab2bb;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-option:active,
#qrw-overlay[data-qrw-theme="roblox"] .qrw-option.selected {
    transform: translateY(5px);
    box-shadow: 0 1px 0 #00804f;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-option.selected {
    background: #00b06f;
    color: #ffffff;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-fx-gain {
    font-family: 'QRW Fredoka', 'Arial Rounded MT Bold', system-ui, sans-serif;
    color: #ffd43b;
    text-shadow: 0 3px 0 #8a5a00, 0 0 12px rgba(0, 0, 0, .5);
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-fx-total {
    background: #1b1d1f;
    border: 2px solid #393b3d;
    border-radius: 14px;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .3);
    color: #ffd43b;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-result-text {
    color: #d5dae0;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-reward-button {
    padding: 16px 40px;
    background: #00b06f;
    color: #ffffff;
    border-radius: 14px;
    font-family: 'QRW Fredoka', 'Arial Rounded MT Bold', system-ui, sans-serif;
    font-size: 21px !important;
    font-weight: 700 !important;
    letter-spacing: .4px;
    box-shadow: 0 7px 0 #00804f, 0 14px 30px rgba(0, 176, 111, .3);
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-reward-button:hover {
    filter: brightness(1.06);
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-reward-button:active {
    transform: translateY(5px);
    box-shadow: 0 2px 0 #00804f;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-button-subtext {
    color: #9aa2ab;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-loading-dots span {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25);
    animation: qrw-rb-cube 1s ease-in-out infinite both;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-loading-dots span:nth-child(1) { background: #00b06f; }
#qrw-overlay[data-qrw-theme="roblox"] .qrw-loading-dots span:nth-child(2) { background: #335fff; animation-delay: .15s; }
#qrw-overlay[data-qrw-theme="roblox"] .qrw-loading-dots span:nth-child(3) { background: #ffc21a; animation-delay: .3s; }

@keyframes qrw-rb-cube {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    40% { transform: translateY(-16px) rotate(90deg); }
    60% { transform: translateY(-16px) rotate(90deg); }
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-loading-text {
    color: #ffffff;
    text-shadow: none;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-footer {
    background: #1b1d1f;
    border-top: 2px solid #393b3d;
}

#qrw-overlay[data-qrw-theme="roblox"] .qrw-footer,
#qrw-overlay[data-qrw-theme="roblox"] .qrw-footer p,
#qrw-overlay[data-qrw-theme="roblox"] .qrw-footer a {
    color: #6f757c;
}

#qrw-overlay .qrw-fx-block {
    position: absolute;
    border-radius: 4px;
    opacity: .16;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .3);
    animation-name: qrw-rb-float;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes qrw-rb-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-22px) rotate(18deg); }
}

/* =====================================================================
   FREE FIRE — clima de partida: fundo escuro com brasa subindo, painel
   de cantos cortados, botões inclinados e laranja-fogo no destaque.
   ===================================================================== */

#qrw-overlay[data-qrw-theme="freefire"] {
    font-family: 'QRW Teko', 'Arial Narrow', Impact, system-ui, sans-serif;
    background:
        radial-gradient(90% 55% at 50% 105%, rgba(255, 90, 0, .42), transparent 70%),
        radial-gradient(60% 40% at 50% -5%, rgba(255, 184, 0, .12), transparent 70%),
        rgba(7, 8, 11, .92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

#qrw-overlay[data-qrw-theme="freefire"] #qrw-modal {
    background: linear-gradient(180deg, #1c2026 0%, #121418 100%);
    border: none;
    border-radius: 0;
    clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
    box-shadow: none;
    color: #f3f4f6;
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-header {
    background: #0d0f12;
    border-bottom: 1px solid rgba(255, 138, 0, .3);
    box-shadow: inset 0 3px 0 #ff7a00;
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-header .qrw-sitename {
    color: #ffffff;
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-close {
    color: #c9ced6;
    opacity: .7;
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-hud-step,
#qrw-overlay[data-qrw-theme="freefire"] .qrw-hud-score {
    background: rgba(255, 255, 255, .06);
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    padding: 4px 16px;
    font-size: 24px;
    letter-spacing: .5px;
    color: #ffffff;
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-hud-step span {
    color: #8b929c;
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-hud-score b {
    color: #ffc400;
    font-size: 27px;
    text-shadow: 0 0 10px rgba(255, 140, 0, .55);
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-hud-icon {
    width: 26px;
    height: 26px;
    margin-top: -3px;
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-progress-bar-container {
    height: 10px;
    background: rgba(255, 255, 255, .08);
    border-radius: 0;
    box-shadow: none;
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-progress-bar {
    background: linear-gradient(90deg, #ff3d00, #ff8a00 60%, #ffc400);
    border-radius: 0;
    box-shadow: 0 0 12px rgba(255, 120, 0, .8);
    transition: width .6s cubic-bezier(.3, 1.3, .5, 1);
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-question,
#qrw-overlay[data-qrw-theme="freefire"] .qrw-result-title {
    font-family: 'QRW Teko', 'Arial Narrow', Impact, system-ui, sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #ffffff;
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-question {
    font-size: 34px !important;
    line-height: 1.02 !important;
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-result-title {
    font-size: 32px !important;
    line-height: 1.05 !important;
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-option {
    padding: 12px 28px 9px;
    background: linear-gradient(90deg, #2a2f37, #23272e);
    color: #ffffff;
    border-radius: 0;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    box-shadow: inset 4px 0 0 #ff7a00;
    font-family: 'QRW Teko', 'Arial Narrow', Impact, system-ui, sans-serif;
    font-size: 25px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    letter-spacing: .8px;
    text-transform: uppercase;
    transition: transform .12s ease, background .15s ease, color .15s ease;
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-option:not(.selected):hover {
    filter: none;
    transform: translateX(4px);
    background: linear-gradient(90deg, #343a44, #2a2f37);
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-option.selected {
    background: linear-gradient(90deg, #ff5a00, #ffb800);
    color: #111111;
    box-shadow: none;
    transform: scale(.98);
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-fx-ripple {
    background: rgba(255, 196, 0, .45);
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-fx-gain {
    font-family: 'QRW Teko', 'Arial Narrow', Impact, system-ui, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffc400;
    text-shadow: 0 0 12px rgba(255, 110, 0, .9), 0 2px 0 #7a2e00;
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-fx-total {
    background: rgba(255, 255, 255, .05);
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    padding: 6px 26px 2px 16px;
    font-size: 40px;
    color: #ffc400;
    text-shadow: 0 0 14px rgba(255, 120, 0, .7);
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-result-text {
    color: #c9ced6;
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-reward-button {
    padding: 14px 44px 10px;
    background: linear-gradient(90deg, #ff5a00, #ffb800);
    color: #111111;
    border-radius: 0;
    clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
    box-shadow: none;
    font-family: 'QRW Teko', 'Arial Narrow', Impact, system-ui, sans-serif;
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-reward-button:hover {
    filter: brightness(1.08);
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-button-subtext {
    font-family: Arial, Helvetica, sans-serif;
    color: #8b929c;
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-loading-dots {
    gap: 6px;
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-loading-dots span {
    width: 26px;
    height: 10px;
    border-radius: 0;
    background: #ff7a00;
    clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
    box-shadow: none;
    animation: qrw-ff-bar 1s ease-in-out infinite both;
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-loading-dots span:nth-child(2) { animation-delay: .15s; }
#qrw-overlay[data-qrw-theme="freefire"] .qrw-loading-dots span:nth-child(3) { animation-delay: .3s; }

@keyframes qrw-ff-bar {
    0%, 100% { opacity: .25; transform: scaleX(.7); }
    50% { opacity: 1; transform: scaleX(1); background: #ffc400; }
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-loading-text {
    font-family: 'QRW Teko', 'Arial Narrow', Impact, system-ui, sans-serif;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: none;
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-footer {
    background: #0d0f12;
    border-top: 1px solid rgba(255, 138, 0, .2);
    font-family: Arial, Helvetica, sans-serif;
}

#qrw-overlay[data-qrw-theme="freefire"] .qrw-footer,
#qrw-overlay[data-qrw-theme="freefire"] .qrw-footer p,
#qrw-overlay[data-qrw-theme="freefire"] .qrw-footer a {
    color: #646b75;
}

#qrw-overlay .qrw-fx-ember {
    position: absolute;
    bottom: -10px;
    border-radius: 50%;
    background: #ffb02e;
    box-shadow: 0 0 8px 2px rgba(255, 110, 0, .8);
    animation-name: qrw-ff-ember;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes qrw-ff-ember {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translate(var(--qrw-drift, 0), -105vh); opacity: 0; }
}

/* =====================================================================
   SHEIN — caixa de presente: fundo rosa claro, cartão branco, respostas
   em pílula que afundam ao toque. A caixa treme a cada resposta,
   chacoalha na espera e abre brilhando na tela final.
   ===================================================================== */

#qrw-overlay[data-qrw-theme="shein"] {
    font-family: 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
    background: radial-gradient(120% 90% at 50% 0%, rgba(255, 228, 238, .96) 0%, rgba(255, 186, 211, .96) 55%, rgba(255, 143, 184, .96) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
#qrw-overlay[data-qrw-theme="shein"] #qrw-modal {
    background: #ffffff; border: 3px solid #ffffff; border-radius: 28px;
    box-shadow: 0 14px 0 rgba(225, 22, 99, .16), 0 30px 60px rgba(160, 10, 70, .28); color: #2a1020;
}
#qrw-overlay[data-qrw-theme="shein"] .qrw-header { background: #ffffff; border-bottom: 1px solid #ffe3ee; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-close { color: #e11663; opacity: .6; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-hud-step,
#qrw-overlay[data-qrw-theme="shein"] .qrw-hud-score { background: #ffe6ef; border-radius: 999px; font-size: 16px; font-weight: 700; color: #e11663; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-hud-step span { color: #f08db3; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-hud-score { background: #fff6d6; color: #b7791f; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-progress-bar-container { height: 10px; margin: 12px 0 4px; background: #ffe6ef; border-radius: 999px; box-shadow: none; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-progress-bar { background: linear-gradient(90deg, #ff4d8f, #e11663); border-radius: 999px; }
/* placar e barra ficam na frente dos raios da caixa aberta */
#qrw-overlay[data-qrw-theme="shein"] .qrw-hud,
#qrw-overlay[data-qrw-theme="shein"] .qrw-progress-bar-container { position: relative; z-index: 2; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-gift { position: relative; width: 92px; height: 92px; margin: 6px auto 8px; animation: qrw-gift-bob 2.4s ease-in-out infinite; transition: width .35s ease, height .35s ease, margin .35s ease; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-gift svg { position: relative; z-index: 1; display: block; width: 100%; height: 100%; overflow: visible; transform-origin: 50% 90%; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-gift-box,
#qrw-overlay[data-qrw-theme="shein"] .qrw-gift-lid { transform-box: fill-box; transform-origin: 50% 100%; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-gift.is-shake { animation: qrw-gift-shake .5s ease; }
#qrw-overlay[data-qrw-theme="shein"].qrw-fx-is-loading .qrw-gift { animation: qrw-gift-shake .6s ease-in-out infinite; }
@keyframes qrw-gift-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes qrw-gift-shake {
    0%, 100% { transform: rotate(0); }
    20% { transform: rotate(-9deg) scale(1.05); }
    40% { transform: rotate(8deg) scale(1.05); }
    60% { transform: rotate(-6deg); }
    80% { transform: rotate(4deg); }
}

/* Tela final: a caixa cresce no meio, chacoalha (0,45 s), a tampa salta,
   a caixa "respira" e acendem o brilho dourado e os raios girando atrás.
   As estrelinhas que saem de dentro vêm do themes.js, no mesmo instante. */
#qrw-overlay[data-qrw-theme="shein"] .qrw-gift.is-open { width: 136px; height: 136px; margin: 24px auto 16px; animation: none; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-gift.is-open svg { animation: qrw-gift-anticipate .45s ease-in-out both, qrw-gift-bob 2.6s ease-in-out 1.4s infinite; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-gift.is-open .qrw-gift-lid { transform: translate(-9px, -30px) rotate(-24deg); animation: qrw-gift-lid-pop .95s cubic-bezier(.2, 1.3, .4, 1) .45s both; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-gift.is-open .qrw-gift-box { animation: qrw-gift-squash .6s cubic-bezier(.3, 1.5, .5, 1) .45s both; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-gift::before,
#qrw-overlay[data-qrw-theme="shein"] .qrw-gift::after {
    content: ''; position: absolute; left: 50%; top: 48%; z-index: 0; border-radius: 50%;
    opacity: 0; transform: translate(-50%, -50%) scale(.2); pointer-events: none;
}
#qrw-overlay[data-qrw-theme="shein"] .qrw-gift::before {
    width: 250%; height: 250%;
    background: repeating-conic-gradient(from 0deg, rgba(255, 196, 61, .55) 0deg 8deg, rgba(255, 196, 61, 0) 8deg 22deg);
    -webkit-mask: radial-gradient(circle, #000 12%, transparent 66%);
    mask: radial-gradient(circle, #000 12%, transparent 66%);
}
#qrw-overlay[data-qrw-theme="shein"] .qrw-gift::after {
    width: 160%; height: 160%;
    background: radial-gradient(circle, rgba(255, 221, 120, .9) 0%, rgba(255, 196, 61, .35) 40%, rgba(255, 196, 61, 0) 70%);
}
#qrw-overlay[data-qrw-theme="shein"] .qrw-gift.is-open::before,
#qrw-overlay[data-qrw-theme="shein"] .qrw-gift.is-open::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }
#qrw-overlay[data-qrw-theme="shein"] .qrw-gift.is-open::before { animation: qrw-gift-rays-in .7s ease-out .45s both, qrw-gift-rays-spin 14s linear 1.15s infinite; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-gift.is-open::after { animation: qrw-gift-glow-in .6s ease-out .45s both, qrw-gift-glow-pulse 2.4s ease-in-out 1.05s infinite; }
@keyframes qrw-gift-anticipate {
    0% { transform: rotate(0) scale(1); }
    15% { transform: rotate(-7deg) scale(1.03); }
    32% { transform: rotate(7deg) scale(1.05); }
    50% { transform: rotate(-6deg) scale(1.07); }
    68% { transform: rotate(5deg) scale(1.09); }
    85% { transform: rotate(0) scale(1.14, .86); }
    100% { transform: rotate(0) scale(1); }
}
@keyframes qrw-gift-lid-pop {
    0% { transform: translate(0, 0) rotate(0); }
    35% { transform: translate(-2px, -40px) rotate(-10deg); }
    60% { transform: translate(-8px, -27px) rotate(-30deg); }
    80% { transform: translate(-10px, -32px) rotate(-21deg); }
    100% { transform: translate(-9px, -30px) rotate(-24deg); }
}
@keyframes qrw-gift-squash {
    0% { transform: scale(1.12, .84); }
    40% { transform: scale(.94, 1.08); }
    70% { transform: scale(1.03, .97); }
    100% { transform: scale(1); }
}
@keyframes qrw-gift-rays-in {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(.2) rotate(0deg); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(25deg); }
}
@keyframes qrw-gift-rays-spin {
    from { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(25deg); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(385deg); }
}
@keyframes qrw-gift-glow-in {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes qrw-gift-glow-pulse {
    0%, 100% { opacity: .85; transform: translate(-50%, -50%) scale(.94); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}
#qrw-overlay .qrw-fx-burst {
    position: fixed;
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
    will-change: transform, opacity;
}
#qrw-overlay[data-qrw-theme="shein"] .qrw-question,
#qrw-overlay[data-qrw-theme="shein"] .qrw-result-title { font-family: 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif !important; font-weight: 800 !important; color: #2a1020; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-question { font-size: 24px !important; line-height: 1.22 !important; margin-bottom: 22px; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-option {
    padding: 15px 22px; background: #ffffff; color: #2a1020; border: 2px solid #ffc6da; border-radius: 999px;
    font-size: 16px !important; font-weight: 600 !important; letter-spacing: .2px; box-shadow: 0 5px 0 #ffc6da;
    transition: transform .12s ease, box-shadow .12s ease, background .15s ease, color .15s ease;
}
#qrw-overlay[data-qrw-theme="shein"] .qrw-option:not(.selected):hover { filter: none; transform: translateY(-2px); border-color: #e11663; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-option.selected { background: #e11663; border-color: #e11663; color: #ffffff; transform: translateY(4px); box-shadow: 0 1px 0 #a8094a; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-fx-gain { color: #e11663; font-weight: 800; text-shadow: 0 2px 0 #ffffff; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-reward-button {
    padding: 17px 40px; background: linear-gradient(90deg, #ff4d8f, #e11663); color: #ffffff; border-radius: 999px;
    font-size: 18px !important; font-weight: 700 !important; letter-spacing: .8px; box-shadow: 0 7px 0 #a8094a, 0 16px 30px rgba(225, 22, 99, .3);
}
#qrw-overlay[data-qrw-theme="shein"] .qrw-button-subtext { color: #9a6b7c; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-loading-dots span { background: #e11663; box-shadow: none; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-loading-dots span:nth-child(2) { background: #ffd23f; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-loading-text { color: #2a1020; font-weight: 800; text-shadow: none; }
#qrw-overlay[data-qrw-theme="shein"] .qrw-footer { background: #fff7fa; border-top: 1px solid #ffe3ee; }

#qrw-overlay .qrw-fx-sparkle {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #e11663;
    clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
    opacity: 0;
    animation: qrw-sh-twinkle 3.2s ease-in-out infinite;
}

#qrw-overlay .qrw-fx-sparkle:nth-child(3n) { background: #c9a227; }
#qrw-overlay .qrw-fx-sparkle:nth-child(4n) { background: #ffffff; }

@keyframes qrw-sh-twinkle {
    0%, 100% { opacity: 0; }
    50% { opacity: .55; }
}

/* ---------------------------------------------------------------------
   Celular e movimento reduzido
   --------------------------------------------------------------------- */

@media (max-width: 380px) {
    #qrw-overlay[data-qrw-theme="freefire"] .qrw-question { font-size: 30px !important; }
    #qrw-overlay[data-qrw-theme="shein"] .qrw-question { font-size: 22px !important; }
    #qrw-overlay[data-qrw-theme="roblox"] .qrw-question { font-size: 22px !important; }
}

@media (prefers-reduced-motion: reduce) {
    #qrw-overlay .qrw-fx-decor,
    #qrw-overlay .qrw-fx-layer {
        display: none;
    }
}

/* =====================================================================
   1.12.2 — Roblox simplificado (pedido do dono, 12/11/2026). Mesmas cores do estilo (cartão escuro, verde,
   respostas brancas), sem enfeite: fonte de sistema no lugar da Fredoka, sem moedas, pontos, confete e blocos
   soltos, barra de progresso lisa e botões retos. O ID dobrado vence as regras do estilo acima.
   ===================================================================== */
#qrw-overlay[data-qrw-theme="roblox"] {
    background: rgba(12, 14, 18, .9);
}
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"],
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] * {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-fx-decor,
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-fx-layer,
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-fx-gain,
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-fx-total,
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-fx-ripple,
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-hud-score {
    display: none !important;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] #qrw-modal {
    border: 1px solid #393b3d;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-hud-step {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #c5cad1;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-hud-step span { color: #8b9099; }
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-progress-bar-container {
    height: 8px;
    background: #3a3c3f;
    border-radius: 999px;
    box-shadow: none;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-progress-bar {
    background: #00b06f;
    background-image: none;
    border-radius: 999px;
    animation: none;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-question,
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-result-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-shadow: none;
    color: #ffffff;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-option {
    padding: 15px 16px;
    background: #ffffff;
    color: #1b1d1f;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
    font-size: 17px !important;
    font-weight: 600 !important;
    letter-spacing: 0;
    text-shadow: none;
    transform: none;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-option:not(.selected):hover {
    background: #f1f3f5;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
    filter: none;
    transform: none;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-option.selected {
    background: #00b06f;
    color: #ffffff;
    box-shadow: none;
    transform: none;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-reward-button {
    padding: 16px 20px;
    background: #00b06f;
    color: #ffffff;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 0;
    text-shadow: none;
    animation: none;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-reward-button:hover { filter: brightness(1.05); transform: none; }
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-reward-button:active { filter: brightness(.95); transform: none; box-shadow: none; }
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-loading-dots span { background: #00b06f; box-shadow: none; }
#qrw-overlay#qrw-overlay[data-qrw-theme="roblox"] .qrw-loading-text {
    font-size: 17px !important;
    font-weight: 600 !important;
    text-shadow: none;
}

/* =====================================================================
   1.12.3 — SHEIN simplificado (pedido do dono, 12/11/2026). Mantém o rosa e o cartão branco; sai o que é
   enfeite: caixa de presente, brilhos, pontos, confete, botões em pílula com relevo e o fundo rosa.
   O fundo passa a ser o mesmo véu escuro do Roblox (e o véu de 35% no modo "anúncios atrás do quiz").
   ===================================================================== */
#qrw-overlay[data-qrw-theme="shein"] {
    background: rgba(12, 14, 18, .9);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"],
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] * {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-fx-decor,
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-fx-layer,
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-fx-gain,
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-fx-total,
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-fx-ripple,
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-hud-score,
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-gift {
    display: none !important;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] #qrw-modal {
    border: 1px solid #f3d3df;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-hud-step {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #e11663;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-hud-step span { color: #c98aa3; }
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-progress-bar-container {
    height: 8px;
    background: #ffe6ef;
    border-radius: 999px;
    box-shadow: none;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-progress-bar {
    background: #e11663;
    background-image: none;
    border-radius: 999px;
    animation: none;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-question,
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-result-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    color: #2a1020;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-option {
    padding: 15px 16px;
    background: #ffffff;
    color: #2a1020;
    border: 1px solid #f0b9cd;
    border-radius: 10px;
    box-shadow: none;
    font-size: 17px !important;
    font-weight: 600 !important;
    letter-spacing: 0;
    transform: none;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-option:not(.selected):hover {
    background: #fff5f9;
    border-color: #e11663;
    filter: none;
    transform: none;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-option.selected {
    background: #e11663;
    border-color: #e11663;
    color: #ffffff;
    box-shadow: none;
    transform: none;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-reward-button {
    padding: 16px 20px;
    background: #e11663;
    background-image: none;
    color: #ffffff;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 0;
    animation: none;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-reward-button:hover { filter: brightness(1.05); transform: none; }
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-reward-button:active { filter: brightness(.95); transform: none; box-shadow: none; }
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-loading-dots span { background: #e11663; box-shadow: none; }
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-loading-text {
    font-size: 17px !important;
    font-weight: 600 !important;
}
/* 1.12.4 — sem a caixa de presente, o título precisa de respiro abaixo da barra. */
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-question,
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-result-title {
    margin-top: 20px;
}

/* 1.12.5 — SHEIN: o dono achou simples demais ("os botões não têm cara de botão" no cartão branco).
   Botões voltam a ter corpo: pílula com preenchimento rosa claro e borda inferior; sem os efeitos. */
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] #qrw-modal { border-radius: 20px; }
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-hud-step {
    padding: 6px 12px;
    background: #ffe6ef;
    border-radius: 999px;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-option {
    padding: 15px 20px;
    background: #fff0f5;
    border: 2px solid #ffc6da;
    border-radius: 999px;
    box-shadow: 0 3px 0 #ffc6da;
    font-weight: 700 !important;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-option:not(.selected):hover {
    background: #ffe6ef;
    border-color: #e11663;
    box-shadow: 0 3px 0 #ffc6da;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-option.selected {
    background: #e11663;
    border-color: #e11663;
    color: #ffffff;
    box-shadow: 0 1px 0 #a8094a;
    transform: translateY(2px);
}
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-reward-button {
    padding: 17px 28px;
    border-radius: 999px;
    box-shadow: 0 4px 0 #a8094a;
}
#qrw-overlay#qrw-overlay[data-qrw-theme="shein"] .qrw-reward-button:active { transform: translateY(3px); box-shadow: 0 1px 0 #a8094a; filter: none; }
