.quiz-root {
  --q-primary: #A8742A; --q-bg: #FBF7F1; --q-text: #2A211A; --q-card: #fff; --q-radius: 14px;
  --q-font: "Poppins", system-ui, sans-serif;
  min-height: 100%; background: var(--q-bg); color: var(--q-text); font-family: var(--q-font);
  -webkit-font-smoothing: antialiased;
}
.quiz-root * { box-sizing: border-box; }
.q-wrap { max-width: 520px; margin: 0 auto; padding: 14px 18px 40px; min-height: 100vh; display: flex; flex-direction: column; }
.q-top { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; min-height: 44px; }
.q-logo { max-height: 38px; max-width: 160px; justify-self: center; object-fit: contain; }
.q-back { width: 36px; height: 36px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--q-text) 7%, transparent); color: var(--q-text); font-size: 26px; line-height: 1; cursor: pointer; }
.q-back-sp { width: 36px; }
.q-progress { height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--q-text) 9%, transparent); overflow: hidden; margin: 10px 0 22px; }
.q-progress span { display: block; height: 100%; background: var(--q-primary); border-radius: 99px; transition: width .4s ease; }
.q-step { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.q-anim { animation: qIn .35s ease both; }
@keyframes qIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.q-title { font-size: clamp(22px, 5.6vw, 28px); line-height: 1.22; font-weight: 700; margin: 4px 0 0; text-align: center; letter-spacing: -.01em; }
.q-kicker { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--q-primary); }
.q-text { font-size: 16px; line-height: 1.55; margin: 0; text-align: center; opacity: .82; }
.q-img { width: 100%; border-radius: var(--q-radius); display: block; max-height: 320px; object-fit: cover; }
.q-video { position: relative; padding-top: 56.25%; border-radius: var(--q-radius); overflow: hidden; background: #000; }
.q-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.q-opts { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.q-grid { display: grid; grid-template-columns: 1fr 1fr; }
.q-opt { text-align: left; border: 2px solid color-mix(in srgb, var(--q-text) 10%, transparent); background: var(--q-card); color: var(--q-text); border-radius: var(--q-radius); padding: 0; cursor: pointer; font: inherit; overflow: hidden; transition: border-color .15s, transform .1s, box-shadow .15s; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.q-opt:hover { border-color: color-mix(in srgb, var(--q-primary) 55%, transparent); }
.q-opt:active { transform: scale(.985); }
.q-opt.is-sel { border-color: var(--q-primary); background: color-mix(in srgb, var(--q-primary) 9%, var(--q-card)); }
.q-opt img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.q-opt-row { display: flex; align-items: center; gap: 12px; padding: 15px 16px; font-size: 16px; font-weight: 500; }
.q-grid .q-opt-row { padding: 12px; font-size: 15px; }
.q-emoji { font-size: 22px; line-height: 1; }
.q-opt-label { flex: 1; }
.q-check { width: 22px; height: 22px; border-radius: 6px; border: 2px solid color-mix(in srgb, var(--q-text) 25%, transparent); flex: none; }
.is-sel .q-check { background: var(--q-primary); border-color: var(--q-primary); box-shadow: inset 0 0 0 3px var(--q-card); }
.q-btn { display: block; width: 100%; text-align: center; text-decoration: none; border: 0; border-radius: var(--q-radius); background: var(--q-primary); color: #fff; font: inherit; font-weight: 600; font-size: 17px; padding: 17px 20px; cursor: pointer; margin-top: 8px; box-shadow: 0 6px 18px color-mix(in srgb, var(--q-primary) 35%, transparent); transition: transform .1s, opacity .15s; }
.q-btn:active { transform: scale(.98); }
.q-btn:disabled { opacity: .45; cursor: default; box-shadow: none; }
.q-form { display: flex; flex-direction: column; gap: 12px; }
.q-label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.q-input { width: 100%; font: inherit; font-size: 16px; padding: 15px 14px; border-radius: calc(var(--q-radius) * .75); border: 2px solid color-mix(in srgb, var(--q-text) 12%, transparent); background: var(--q-card); color: var(--q-text); outline: none; }
.q-input:focus { border-color: var(--q-primary); }
.q-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.q-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; opacity: .8; }
.q-consent input { margin-top: 2px; accent-color: var(--q-primary); width: 18px; height: 18px; flex: none; }
.q-err { color: #C0392B; font-size: 14px; min-height: 0; text-align: center; }
.q-err:empty { display: none; }
.q-loader { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.q-loader-bar { height: 12px; border-radius: 99px; background: color-mix(in srgb, var(--q-text) 9%, transparent); overflow: hidden; }
.q-loader-bar span { display: block; height: 100%; width: 0; background: var(--q-primary); border-radius: 99px; }
.q-loader-msg { text-align: center; font-size: 16px; opacity: .8; }
.q-empty { text-align: center; padding: 80px 20px; opacity: .6; }
