.rh-quiz-dialog{padding:0;border:1px solid #b8a67e;border-radius:18px;background:#101828;color:#eef5ff;width:min(960px,calc(100vw - 24px));height:calc(100dvh - 32px);max-height:960px;max-width:none;overflow:hidden;box-shadow:0 24px 90px #0009}
.rh-quiz-dialog[open]{display:flex;flex-direction:column}
.rh-quiz-dialog::backdrop{background:#081018c9}
.rh-quiz-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding:12px 16px;background:linear-gradient(#eee5ce,#d2c09c);color:#362a1c}
.rh-quiz-toolbar strong,.rh-quiz-toolbar small{display:block}
.rh-quiz-toolbar small{font-size:12px;margin-top:3px}
.rh-quiz-toolbar button{font:inherit;font-size:14px;border:1px solid #796540;border-radius:10px;padding:10px 12px;background:#fff6df;color:#362a1c;min-height:44px;cursor:pointer}
.rh-quiz-dialog iframe{display:block;border:0;width:100%;flex:1;min-height:0;background:#0a1224}
.rh-quiz-card{margin:24px auto;padding:24px;border:1px solid #b9a478;border-radius:18px;background:linear-gradient(125deg,#eee5ce,#d6c39b);color:#362a1c;max-width:1160px;box-sizing:border-box}
.rh-quiz-card h2{color:inherit;margin:0 0 8px}.rh-quiz-card p{color:inherit;line-height:1.6;margin:8px 0 16px}
.rh-quiz-card a{display:inline-block;padding:12px 20px;background:#543b22;color:#fff8e5!important;border-radius:10px;text-decoration:none;font-weight:700}
.app-nav:has([data-rh-quiz-open]){grid-template-columns:repeat(6,minmax(0,1fr))!important}
.app-nav [data-rh-quiz-open] .rh-quiz-icon{font-size:22px;line-height:24px;font-weight:bold}
@media(max-width:540px){.rh-quiz-dialog{width:100%;height:100dvh;max-height:none;margin:0;border:0;border-radius:0}.rh-quiz-toolbar{padding:10px;gap:8px}.rh-quiz-toolbar strong{font-size:13px}.rh-quiz-toolbar small{font-size:10px;max-width:170px}.rh-quiz-toolbar button{font-size:12px;padding:8px}.rh-quiz-card{margin:18px 12px;padding:20px}}
