/* Consent dialog and the Qoob Dash frame. Tokens come from main.css. */

.qb-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: none; justify-content: center; pointer-events: none; }
.qb-consent.is-open { display: flex; }
.qb-consent__card { pointer-events: auto; width: 100%; max-width: 560px; padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-soft); background: var(--surface-raised); }
.qb-consent__card h2 { margin: 0; }
.qb-consent__card p { margin: 0; color: var(--ink-muted); }
.qb-consent__status { color: var(--ink-subtle); min-height: 1.2em; }
.qb-consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 4px; }
.qb-consent .qb-btn { min-height: 44px; padding: 0 20px; }
@media (max-width: 520px) {
	.qb-consent { left: 8px; right: 8px; bottom: 8px; }
	.qb-consent__card { padding: 14px 16px; gap: 6px; }
	.qb-consent__card h2 { font-size: 18px; }
	.qb-consent__card p { font-size: 13px; line-height: 1.4; }
	.qb-consent__status { display: none; }
	.qb-consent__actions { gap: 8px 14px; }
	.qb-consent .qb-btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
}

.qd { display: flex; flex-direction: column; gap: 16px; }
.qd__frame-wrap { position: relative; width: 100%; height: min(78vh, 760px); min-height: 480px; background: var(--surface-sunken); border-radius: var(--radius-lg); overflow: hidden; border: var(--border-hair) solid var(--line); }
.qd__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.qd__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.qd__hint { margin: 0; color: var(--ink-subtle); }
@media (max-width: 760px) {
	.qd__frame-wrap { height: calc(100svh - 96px); min-height: 420px; border-radius: var(--radius-md); }
}
