@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

:root {
  font-family: 'IBM Plex Sans Arabic', Tahoma, Arial, sans-serif;
  color: #17353c;
  background: #f5f4ee;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #17353c;
  --ink-soft: #60777a;
  --paper: #fffefa;
  --teal: #138b7e;
  --teal-dark: #0b655f;
  --amber: #f3b86e;
  --line: #e4e8df;
  --green: #16866e;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #f5f4ee; }
button, a { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid #36aa99; outline-offset: 3px; }
[hidden] { display: none !important; }
.page-shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-header { height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(23,53,60,.1); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 14px; color: #e3f4ea; background: var(--ink); }
.brand-mark svg { width: 38px; height: 38px; }
.brand-copy { display: flex; flex-direction: column; gap: 1px; }
.brand-copy strong { font-size: 15px; font-weight: 700; }
.brand-copy span { color: var(--ink-soft); font-size: 11px; }
.header-note { display: flex; align-items: center; gap: 9px; color: var(--ink-soft); font-size: 13px; }
.header-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(19,139,126,.1); }
.intro-screen { min-height: 560px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 74px; padding-block: 66px 72px; }
.intro-copy { max-width: 500px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--teal-dark); font-weight: 600; font-size: 13px; letter-spacing: .01em; }
.eyebrow-line { width: 26px; height: 2px; border-radius: 2px; background: var(--teal); }
h1 { margin: 22px 0 18px; color: var(--ink); font-size: clamp(46px, 6.3vw, 74px); line-height: 1.16; letter-spacing: -.045em; font-weight: 700; }
h1 span { color: var(--teal); }
.intro-description { max-width: 470px; margin: 0; color: #5b7174; font-size: 17px; line-height: 1.9; }
.intro-meta { margin-top: 26px; display: flex; align-items: center; gap: 13px; flex-wrap: wrap; color: #637a7a; font-size: 12px; }
.intro-meta b { color: var(--ink); font-size: 14px; }
.intro-meta i { width: 3px; height: 3px; border-radius: 100%; background: #98aba4; }
.button { border: 0; border-radius: 10px; cursor: pointer; transition: background .18s ease, transform .18s ease, box-shadow .18s ease; font-weight: 600; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:disabled { opacity: .48; cursor: not-allowed; }
.button-primary { color: #fff; background: var(--ink); box-shadow: 0 7px 15px rgba(16,43,53,.12); }
.button-primary:hover:not(:disabled) { background: #204953; box-shadow: 0 10px 20px rgba(16,43,53,.16); }
.start-button { min-width: 192px; height: 53px; margin-top: 30px; padding-inline: 21px; display: inline-flex; justify-content: center; align-items: center; gap: 24px; font-size: 15px; }
.start-button span, .next-button span { color: #83ddc9; font-size: 19px; }
.privacy-note { margin: 14px 0 0; color: #82918c; font-size: 11px; }
.privacy-note span { color: var(--teal); padding-left: 4px; font-weight: 700; }
.physics-visual { isolation: isolate; position: relative; height: 370px; overflow: hidden; border-radius: 28px; background: #102b35; box-shadow: 0 25px 55px rgba(16,43,53,.13); }
.physics-visual::before { content: ''; position: absolute; width: 330px; height: 330px; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(37,124,112,.25), rgba(16,43,53,0) 67%); z-index: -1; }
.visual-orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(175,221,205,.13); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 285px; height: 185px; }
.orbit-two { width: 215px; height: 290px; transform: translate(-50%,-50%) rotate(55deg); }
.visual-label { position: absolute; top: 73px; color: #9bb4ad; font-size: 11px; letter-spacing: .04em; }
.label-before { right: 45px; }
.label-after { left: 45px; }
.particle { position: absolute; top: 50%; border-radius: 50%; transform: translateY(-50%); }
.particle-small { right: 27%; width: 34px; height: 34px; background: #54d8bd; box-shadow: 0 0 30px rgba(84,216,189,.23); }
.particle-large { left: 27%; width: 57px; height: 57px; background: #f3b86e; box-shadow: 0 0 32px rgba(243,184,110,.25); }
.vector { position: absolute; top: 50%; height: 1px; background: rgba(218,239,226,.5); transform-origin: center; }
.vector span { position: absolute; top: -4px; width: 8px; height: 8px; border-top: 1px solid #d9efe2; border-right: 1px solid #d9efe2; }
.vector-left { right: 16%; width: 90px; transform: translateY(-15px) rotate(-19deg); }
.vector-left span { left: 0; transform: rotate(-135deg); }
.vector-right { left: 15%; width: 94px; transform: translateY(26px) rotate(18deg); }
.vector-right span { right: 0; transform: rotate(45deg); }
.visual-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: flex; align-items: center; gap: 14px; color: #f4f2e8; font-size: 13px; font-style: italic; }
.visual-center b { color: rgba(220,240,229,.5); font-size: 14px; font-weight: 400; }
.visual-equation { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); width: max-content; color: #c4d7ce; font-size: 12px; }
.visual-equation span { padding-inline: 7px; color: #54d8bd; }
.visual-index { position: absolute; right: 26px; bottom: 24px; color: #6e898a; font-size: 10px; direction: ltr; }
.visual-index span { padding-inline: 4px; color: #3e6263; }
.site-footer { min-height: 75px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(23,53,60,.1); color: #83918d; font-size: 11px; }
.quiz-screen, .finish-screen { max-width: 930px; min-height: calc(100vh - 168px); margin: 0 auto; padding-block: 24px 48px; }
.quiz-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.back-link { display: inline-flex; gap: 8px; align-items: center; color: #6d8281; text-decoration: none; font-size: 12px; }
.back-link:hover { color: var(--teal-dark); }
.back-link span { font-size: 16px; }
.fullscreen-button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #e3e8df; border-radius: 9px; color: #5e7373; background: transparent; cursor: pointer; font-size: 12px; }
.fullscreen-button:hover { border-color: #9fbab0; color: var(--teal-dark); }
.fullscreen-button svg { width: 17px; height: 17px; }
.quiz-card { padding: 34px 44px 27px; border: 1px solid rgba(44,78,72,.07); border-radius: 18px; background: var(--paper); box-shadow: 0 12px 35px rgba(34,56,48,.055); }
.progress-copy { display: flex; justify-content: space-between; color: #6c8180; font-size: 12px; }
.progress-copy span:first-child { font-weight: 600; color: var(--ink); }
.progress-track { height: 6px; margin-top: 11px; overflow: hidden; border-radius: 99px; background: #e9eee7; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #138b7e, #61c8a9); transition: width .35s ease; }
.question-meta { display: flex; align-items: center; gap: 10px; margin-top: 32px; }
.question-number { color: var(--teal-dark); font-size: 12px; font-weight: 700; }
.question-type { padding: 4px 10px; border-radius: 5px; color: #758783; background: #f0f3ed; font-size: 11px; }
.quiz-card h2 { margin: 18px 0 24px; color: var(--ink); font-size: clamp(24px, 3.1vw, 32px); line-height: 1.75; font-weight: 600; }
.answer-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-card { min-height: 67px; display: flex; align-items: center; gap: 14px; padding: 12px 15px; border: 1px solid #e4e9e2; border-radius: 11px; background: #fff; transition: border-color .2s ease, background .2s ease; }
.option-key { flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: #667d76; background: #f0f3ed; font-size: 13px; font-weight: 700; }
.option-text { flex: 1; color: #334c4f; font-size: 16px; line-height: 1.7; }
.choice-card.is-answer { border-color: #64b99c; background: #eff9f3; }
.choice-card.is-answer .option-key { color: white; background: var(--green); }
.answer-panel { margin-top: 21px; padding: 18px 20px; border-right: 4px solid var(--teal); border-radius: 9px; background: #eff7f2; animation: reveal-in .25s ease-out; }
.answer-panel-label { display: block; margin-bottom: 5px; color: var(--teal-dark); font-size: 11px; font-weight: 700; }
.answer-panel strong { color: var(--ink); font-size: 17px; line-height: 1.7; }
.answer-panel p { margin: 7px 0 0; color: #586e6b; font-size: 14px; line-height: 1.9; }
@keyframes reveal-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.quiz-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 25px; }
.action-group { display: flex; align-items: center; gap: 10px; }
.previous-button, .next-button, .button-reveal { min-height: 46px; padding-inline: 17px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; font-size: 13px; }
.button-quiet { border: 1px solid #e0e7df; color: #536d69; background: transparent; }
.button-quiet:hover:not(:disabled) { background: #f5f8f3; }
.button-reveal { border: 1px solid #9bcabb; color: #0c6d63; background: #eff8f3; }
.button-reveal:hover { background: #e2f3eb; }
.button-reveal span { font-size: 16px; }
.next-button { min-width: 150px; }
.quiz-footnote { margin: 14px 3px 0; color: #8b9690; font-size: 11px; }
.finish-screen { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.finish-card { width: min(100%, 530px); padding: 39px 42px 32px; border: 1px solid rgba(44,78,72,.07); border-radius: 19px; background: var(--paper); text-align: center; box-shadow: 0 12px 35px rgba(34,56,48,.055); }
.result-spark { width: 56px; height: 56px; display: grid; place-items: center; margin: 0 auto 17px; border-radius: 18px; color: #0c7268; background: #dcf4e9; font-size: 29px; }
.result-eyebrow { justify-content: center; }
.finish-card h2 { margin: 11px 0 7px; color: var(--ink); font-size: 25px; }
.result-message { margin: 0 0 24px; color: #71827e; font-size: 14px; line-height: 1.8; }
.restart-button { min-height: 47px; padding-inline: 18px; display: inline-flex; align-items: center; gap: 13px; font-size: 13px; }
.restart-button span { color: #83ddc9; font-size: 16px; }
.text-button { display: block; margin: 15px auto 0; padding: 4px 8px; border: 0; color: #71827e; background: transparent; cursor: pointer; font-size: 11px; }
.text-button:hover { color: var(--teal-dark); }
.quiz-screen:fullscreen { width: 100%; max-width: none; min-height: 100vh; padding: 35px max(6vw, 28px); overflow: auto; background: #f5f4ee; }
.quiz-screen:fullscreen .quiz-card { max-width: 1160px; margin: 0 auto; padding: 5vh 5vw; }
.quiz-screen:fullscreen .quiz-card h2 { font-size: clamp(30px, 3.5vw, 42px); }
.quiz-screen:fullscreen .choice-card { min-height: 78px; }
.quiz-screen:fullscreen .option-text { font-size: 20px; }
.quiz-screen:fullscreen .answer-panel p { font-size: 17px; }

@media (max-width: 820px) {
  .page-shell { width: min(100% - 40px, 680px); }
  .intro-screen { min-height: auto; grid-template-columns: 1fr; gap: 34px; padding-block: 52px 54px; }
  .intro-copy { max-width: none; }
  h1 { font-size: clamp(48px, 10vw, 66px); }
  .intro-description { max-width: 600px; }
  .physics-visual { height: 300px; }
  .visual-label { top: 55px; }
  .quiz-screen, .finish-screen { min-height: calc(100vh - 150px); }
}
@media (max-width: 540px) {
  .page-shell { width: calc(100% - 32px); }
  .site-header { height: 76px; }
  .brand-mark { width: 39px; height: 39px; border-radius: 12px; }
  .header-note { gap: 7px; font-size: 10px; }
  .intro-screen { gap: 28px; padding-block: 42px; }
  .eyebrow { font-size: 12px; }
  h1 { margin-block: 17px 13px; font-size: 51px; }
  .intro-description { font-size: 14px; line-height: 1.9; }
  .intro-meta { gap: 8px; margin-top: 19px; font-size: 10px; }
  .intro-meta b { font-size: 12px; }
  .start-button { margin-top: 23px; }
  .physics-visual { height: 240px; border-radius: 21px; }
  .orbit-one { width: 225px; height: 145px; }
  .orbit-two { width: 175px; height: 230px; }
  .particle-small { right: 25%; width: 27px; height: 27px; }
  .particle-large { left: 25%; width: 46px; height: 46px; }
  .visual-label { top: 37px; font-size: 9px; }
  .label-before { right: 24px; }
  .label-after { left: 24px; }
  .visual-equation { bottom: 25px; font-size: 10px; }
  .quiz-screen, .finish-screen { min-height: calc(100vh - 138px); padding-block: 18px 38px; }
  .quiz-topline { margin-bottom: 12px; }
  .fullscreen-button { font-size: 10px; padding: 8px 9px; }
  .quiz-card { padding: 22px 17px 19px; border-radius: 15px; }
  .question-meta { margin-top: 25px; }
  .quiz-card h2 { margin-block: 14px 18px; font-size: 19px; line-height: 1.8; }
  .answer-options { grid-template-columns: 1fr; gap: 9px; }
  .choice-card { min-height: 54px; gap: 10px; padding: 9px 10px; }
  .option-key { flex-basis: 28px; width: 28px; height: 28px; }
  .option-text { font-size: 13px; }
  .answer-panel { margin-top: 15px; padding: 13px; }
  .answer-panel p { font-size: 12px; }
  .quiz-actions { align-items: stretch; margin-top: 18px; }
  .action-group { gap: 7px; }
  .previous-button, .next-button, .button-reveal { min-height: 42px; padding-inline: 11px; gap: 7px; font-size: 11px; }
  .next-button { min-width: 114px; }
  .finish-card { padding: 31px 20px 25px; }
  .finish-card h2 { font-size: 21px; }
  .site-footer { min-height: 62px; font-size: 9px; }
  .quiz-screen:fullscreen { padding: 18px 12px; }
  .quiz-screen:fullscreen .quiz-card { padding: 22px 17px; }
  .quiz-screen:fullscreen .quiz-card h2 { font-size: 23px; }
  .quiz-screen:fullscreen .option-text { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* تفاعلات الإجابة في الفصل */
.top-actions { display: flex; align-items: center; gap: 8px; }
.sound-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 9px 11px; border: 1px solid #e3e8df; border-radius: 9px; color: #5e7373; background: transparent; cursor: pointer; font-size: 12px; }
.sound-toggle:hover { border-color: #9fbab0; color: var(--teal-dark); }
.sound-toggle svg { width: 17px; height: 17px; }
.choice-card { width: 100%; color: inherit; font: inherit; text-align: right; cursor: pointer; }
.choice-card:hover:not(:disabled) { border-color: #84b8aa; background: #f9fcf8; transform: translateX(-2px); }
.choice-card:disabled { cursor: default; }
.choice-card.is-wrong { border-color: #d78a7e; background: #fff3ef; }
.choice-card.is-wrong .option-key { color: #fff; background: #b84e42; }
.choice-card.is-answer { border-color: #64b99c; background: #eff9f3; }
.choice-card.is-answer .option-key { color: #fff; background: var(--green); }
.response-message { margin-top: 14px; padding: 11px 14px; border-radius: 9px; font-size: 13px; font-weight: 600; }
.response-message.is-wrong { border: 1px solid #efd0c7; color: #98463d; background: #fff2ec; }
.response-message.is-correct { border: 1px solid #cce5d8; color: #176f5b; background: #eef8f1; }
.button-reveal:disabled { color: #71827e; border-color: #e3e8df; background: #f4f5f0; cursor: default; }
.next-button:disabled { color: #a0aaa2; background: #e9ece5; box-shadow: none; cursor: not-allowed; }
.next-button:disabled span { color: #a0aaa2; }
@media (max-width: 540px) {
  .top-actions { gap: 5px; }
  .sound-toggle { padding: 8px; font-size: 10px; }
  .sound-toggle svg { width: 15px; height: 15px; }
}


/* تخطيط شاشة الفصل الذكية: قراءة واضحة من مسافة بعيدة */
.page-shell { width: min(1600px, calc(100% - 72px)); }
.site-header { height: 100px; }
.brand-copy strong { font-size: 17px; }
.header-note { font-size: 15px; }
.quiz-screen, .finish-screen { max-width: 1460px; min-height: calc(100vh - 170px); }
.quiz-topline { margin-bottom: 22px; }
.back-link, .fullscreen-button, .sound-toggle { font-size: 14px; }
.quiz-card { padding: 42px 56px 36px; border-radius: 22px; }
.progress-copy { font-size: 15px; }
.progress-track { height: 9px; margin-top: 13px; }
.question-meta { margin-top: 36px; gap: 14px; }
.question-number { padding: 7px 13px; border-radius: 8px; background: #e4f5ee; font-size: 15px; }
.question-type { padding: 6px 12px; font-size: 13px; }
.quiz-card h2 { margin: 21px 0 29px; font-size: clamp(32px, 2.8vw, 46px); line-height: 1.6; }
.answer-options { gap: 16px; }
.choice-card { min-height: 88px; gap: 17px; padding: 17px 21px; border-width: 2px; border-radius: 15px; }
.option-key { flex-basis: 44px; width: 44px; height: 44px; border-radius: 12px; font-size: 17px; }
.option-text { font-size: clamp(19px, 1.5vw, 24px); line-height: 1.65; }
.response-message { margin-top: 18px; padding: 15px 20px; font-size: 17px; }
.answer-panel { margin-top: 22px; padding: 21px 25px; border-right-width: 6px; border-radius: 13px; }
.answer-panel-label { font-size: 14px; }
.answer-panel strong { font-size: 20px; }
.answer-panel p { margin-top: 9px; font-size: 18px; line-height: 1.8; }
.quiz-actions { margin-top: 30px; }
.previous-button, .next-button, .button-reveal { min-height: 58px; padding-inline: 22px; gap: 13px; border-radius: 12px; font-size: 16px; }
.next-button { min-width: 205px; }
.quiz-footnote { margin-top: 17px; font-size: 13px; }

.quiz-screen:fullscreen {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vh, 30px);
  width: 100vw;
  height: 100vh;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: clamp(24px, 3vh, 40px) clamp(30px, 5vw, 100px);
  overflow: auto;
  background: radial-gradient(ellipse at 50% 0%, #e9f2ec 0%, #f5f4ee 64%);
}
.quiz-screen:fullscreen .quiz-topline { width: 100%; max-width: 1640px; margin: 0 auto; }
.quiz-screen:fullscreen .quiz-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  padding: clamp(34px, 4.2vh, 60px) clamp(40px, 5vw, 96px);
  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(34,56,48,.08);
}
.quiz-screen:fullscreen .progress-copy { font-size: 17px; }
.quiz-screen:fullscreen .progress-track { height: 10px; }
.quiz-screen:fullscreen .question-meta { justify-content: center; margin-top: clamp(25px, 4vh, 46px); }
.quiz-screen:fullscreen .quiz-card h2 {
  max-width: 1280px;
  margin: clamp(18px, 3vh, 32px) auto clamp(28px, 4vh, 48px);
  text-align: center;
  font-size: clamp(42px, 4vw, 68px);
  line-height: 1.5;
}
.quiz-screen:fullscreen .answer-options { gap: clamp(14px, 1.8vw, 24px); }
.quiz-screen:fullscreen .choice-card { min-height: clamp(92px, 12vh, 132px); padding: 22px 28px; border-radius: 18px; }
.quiz-screen:fullscreen .option-key { flex-basis: 54px; width: 54px; height: 54px; font-size: 21px; }
.quiz-screen:fullscreen .option-text { font-size: clamp(23px, 2vw, 32px); line-height: 1.55; }
.quiz-screen:fullscreen .response-message { margin-top: 22px; padding: 18px 24px; font-size: 21px; }
.quiz-screen:fullscreen .answer-panel { margin-top: 20px; padding: 22px 28px; }
.quiz-screen:fullscreen .answer-panel-label { font-size: 16px; }
.quiz-screen:fullscreen .answer-panel strong { font-size: 24px; }
.quiz-screen:fullscreen .answer-panel p { font-size: 21px; line-height: 1.7; }
.quiz-screen:fullscreen .quiz-actions { margin-top: auto; padding-top: clamp(24px, 4vh, 44px); }
.quiz-screen:fullscreen .previous-button,
.quiz-screen:fullscreen .next-button,
.quiz-screen:fullscreen .button-reveal { min-height: 68px; padding-inline: 28px; font-size: 19px; }
.quiz-screen:fullscreen .next-button { min-width: 240px; }
.quiz-screen:fullscreen .quiz-footnote { display: none; }

@media (max-width: 900px) {
  .page-shell { width: calc(100% - 40px); }
  .quiz-screen, .finish-screen { max-width: 100%; }
  .quiz-card { padding: 30px 28px 26px; }
  .quiz-screen:fullscreen { padding: 20px; }
  .quiz-screen:fullscreen .quiz-card { padding: 28px; }
  .quiz-screen:fullscreen .quiz-card h2 { font-size: clamp(32px, 4.5vw, 48px); }
  .quiz-screen:fullscreen .option-text { font-size: clamp(19px, 2.5vw, 25px); }
}
@media (max-width: 600px) {
  .page-shell { width: calc(100% - 32px); }
  .site-header { height: 76px; }
  .brand-copy strong { font-size: 14px; }
  .header-note { font-size: 10px; }
  .quiz-card { padding: 22px 17px 19px; }
  .progress-copy { font-size: 12px; }
  .question-meta { margin-top: 25px; }
  .question-number { font-size: 12px; }
  .question-type { font-size: 11px; }
  .quiz-card h2 { margin: 14px 0 18px; font-size: 19px; line-height: 1.8; }
  .answer-options { grid-template-columns: 1fr; gap: 9px; }
  .choice-card { min-height: 58px; gap: 10px; padding: 10px; border-radius: 10px; }
  .option-key { flex-basis: 30px; width: 30px; height: 30px; font-size: 13px; }
  .option-text { font-size: 14px; }
  .response-message { font-size: 13px; }
  .answer-panel { padding: 13px; }
  .answer-panel strong { font-size: 15px; }
  .answer-panel p { font-size: 12px; }
  .quiz-actions { align-items: stretch; margin-top: 18px; }
  .action-group { gap: 7px; }
  .previous-button, .next-button, .button-reveal { min-height: 43px; padding-inline: 11px; gap: 7px; font-size: 11px; }
  .next-button { min-width: 114px; }
  .quiz-screen:fullscreen { gap: 12px; padding: 12px; }
  .quiz-screen:fullscreen .quiz-topline { margin-bottom: 0; }
  .quiz-screen:fullscreen .quiz-card { padding: 18px 14px; }
  .quiz-screen:fullscreen .question-meta { margin-top: 20px; }
  .quiz-screen:fullscreen .quiz-card h2 { margin-block: 14px 18px; font-size: 23px; line-height: 1.7; }
  .quiz-screen:fullscreen .answer-options { grid-template-columns: 1fr; gap: 8px; }
  .quiz-screen:fullscreen .choice-card { min-height: 52px; padding: 9px; }
  .quiz-screen:fullscreen .option-key { flex-basis: 28px; width: 28px; height: 28px; font-size: 12px; }
  .quiz-screen:fullscreen .option-text { font-size: 14px; }
  .quiz-screen:fullscreen .answer-panel p { font-size: 12px; }
  .quiz-screen:fullscreen .previous-button,
  .quiz-screen:fullscreen .next-button,
  .quiz-screen:fullscreen .button-reveal { min-height: 42px; padding-inline: 10px; font-size: 11px; }
  .quiz-screen:fullscreen .next-button { min-width: 112px; }
}
@media (max-height: 1200px) and (min-width: 901px) {
  .quiz-screen:fullscreen { gap: 12px; padding-block: 12px; }
  .quiz-screen:fullscreen .quiz-card { padding-block: 24px; }
  .quiz-screen:fullscreen .progress-track { height: 8px; margin-top: 9px; }
  .quiz-screen:fullscreen .question-meta { margin-top: 16px; }
  .quiz-screen:fullscreen .quiz-card h2 { margin-block: 13px 19px; font-size: clamp(38px, 3.5vw, 54px); line-height: 1.4; }
  .quiz-screen:fullscreen .answer-options { gap: 14px; }
  .quiz-screen:fullscreen .choice-card { min-height: 82px; padding-block: 14px; }
  .quiz-screen:fullscreen .option-key { flex-basis: 46px; width: 46px; height: 46px; }
  .quiz-screen:fullscreen .option-text { font-size: clamp(22px, 1.8vw, 28px); }
  .quiz-screen:fullscreen .response-message { margin-top: 13px; padding: 11px 17px; font-size: 17px; }
  .quiz-screen:fullscreen .answer-panel { margin-top: 13px; padding: 14px 20px; }
  .quiz-screen:fullscreen .answer-panel-label { font-size: 13px; }
  .quiz-screen:fullscreen .answer-panel strong { font-size: 19px; }
  .quiz-screen:fullscreen .answer-panel p { margin-top: 5px; font-size: 16px; line-height: 1.55; }
  .quiz-screen:fullscreen .quiz-actions { padding-top: 14px; }
  .quiz-screen:fullscreen .previous-button,
  .quiz-screen:fullscreen .next-button,
  .quiz-screen:fullscreen .button-reveal { min-height: 54px; padding-inline: 23px; font-size: 16px; }
}
