@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Noto+Naskh+Arabic:wght@500;600;700&display=swap');
:root {
  color-scheme: light;
  --paper: #f7f4ed;
  --paper-deep: #eee9dd;
  --ink: #202d3a;
  --muted: #78818a;
  --coral: #e56e59;
  --coral-dark: #c95645;
  --teal: #3f9d91;
  --teal-dark: #287b72;
  --gold: #e3b54a;
  --line: #e7e1d6;
  --white: #fffefa;
  --shadow: 0 22px 60px rgba(38, 47, 55, .09);
  --radius: 26px;
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 13%, rgba(227,181,74,.11), transparent 21rem),
    radial-gradient(circle at 91% 56%, rgba(63,157,145,.08), transparent 25rem),
    var(--paper);
  font-family: 'Cairo', 'Tahoma', sans-serif;
  font-size: 15px;
  line-height: 1.75;
}
button, a { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid rgba(63,157,145,.55); outline-offset: 3px; }
.site-shell { width: min(1160px, calc(100% - 48px)); min-height: 100vh; margin: 0 auto; display: flex; flex-direction: column; }
.topbar { min-height: 94px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(32,45,58,.08); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; overflow: hidden; background: #eee5d3; box-shadow: inset 0 0 0 1px rgba(32,45,58,.06); }
.brand-mark img { width: 50px; height: 50px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.25; }
.brand-copy strong { font-size: 15px; font-weight: 900; letter-spacing: -.25px; }
.brand-copy small { color: var(--muted); font-size: 11px; margin-top: 5px; }
.topbar-side { display: flex; align-items: center; gap: 17px; color: #67727b; font-size: 12px; font-weight: 700; }
.top-note { display: flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(63,157,145,.13); }
.top-flower { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 12px; color: var(--coral); background: rgba(255,254,250,.55); font-family: 'Noto Naskh Arabic', serif; font-size: 24px; transform: rotate(-9deg); }
.app-main { flex: 1; padding: 43px 0 62px; }
.footer { border-top: 1px solid rgba(32,45,58,.08); padding: 17px 0 22px; display: flex; justify-content: space-between; color: #8c9297; font-size: 11px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-dark); background: rgba(63,157,145,.1); padding: 6px 12px; border-radius: 999px; font-size: 11px; line-height: 1.4; font-weight: 800; letter-spacing: .1px; }
.kicker-star { color: var(--coral); font-size: 15px; }
.hero { min-height: 510px; display: grid; grid-template-columns: minmax(0,1.07fr) minmax(360px,.93fr); align-items: center; gap: clamp(30px, 6vw, 85px); padding: 20px 25px 28px; }
.hero-copy { max-width: 600px; }
.hero h1 { margin: 18px 0 14px; font-size: clamp(42px, 5.3vw, 70px); line-height: 1.22; letter-spacing: -2px; font-weight: 900; }
.hero h1 .accent { color: var(--coral); display: inline-block; position: relative; }
.hero h1 .accent::after { content: ''; height: 9px; border-radius: 8px; background: rgba(227,181,74,.65); position: absolute; right: 0; left: 5px; bottom: 0; z-index: -1; transform: rotate(-1.8deg); }
.hero-copy > p { max-width: 510px; margin: 0; font-size: 16px; line-height: 2; color: #707a82; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 28px; }
.button { border: 0; cursor: pointer; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.99); }
.button-primary { min-height: 54px; padding: 0 24px; border-radius: 16px; color: white; background: var(--ink); box-shadow: 0 10px 22px rgba(32,45,58,.18); }
.button-primary:hover { background: #304458; box-shadow: 0 14px 26px rgba(32,45,58,.2); }
.button-arrow { display: inline-block; margin-right: 11px; font-size: 18px; vertical-align: -1px; }
.button-quiet { border: 0; color: #67727b; background: transparent; padding: 12px 5px; font-weight: 700; cursor: pointer; }
.button-quiet:hover { color: var(--teal-dark); }
.hero-proof { display: flex; align-items: center; gap: 11px; margin-top: 26px; color: #8a9196; font-size: 11px; }
.proof-avatars { display: flex; direction: ltr; padding-left: 2px; }
.proof-avatars span { width: 24px; height: 24px; display: grid; place-items: center; border: 2px solid var(--paper); border-radius: 50%; margin-left: -5px; color: var(--ink); background: #f2dba7; font-size: 10px; font-weight: 900; }
.proof-avatars span:nth-child(2) { background: #cae6db; }
.proof-avatars span:nth-child(3) { background: #f1c9bd; }
.hero-art { min-height: 405px; position: relative; display: grid; place-items: center; isolation: isolate; }
.art-disc { width: min(365px, 74vw); aspect-ratio: 1; border-radius: 48% 52% 55% 45% / 50% 42% 58% 50%; background: #f0e8d8; transform: rotate(-7deg); position: relative; }
.art-disc::before { content: ''; position: absolute; inset: 24px; border: 1px dashed rgba(32,45,58,.15); border-radius: 50%; }
.art-image { position: absolute; inset: 35px; width: calc(100% - 70px); height: calc(100% - 70px); object-fit: contain; filter: drop-shadow(0 24px 20px rgba(54,60,61,.12)); transform: rotate(7deg); }
.float-tag { position: absolute; display: flex; gap: 9px; align-items: center; padding: 10px 15px; border: 1px solid rgba(32,45,58,.06); border-radius: 15px; background: rgba(255,254,250,.95); box-shadow: 0 12px 27px rgba(40,48,55,.1); font-size: 12px; font-weight: 800; animation: float 4.4s ease-in-out infinite; }
.float-tag .tag-mark { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; font-family: 'Noto Naskh Arabic', serif; font-size: 17px; }
.tag-top { top: 61px; right: 6px; }
.tag-top .tag-mark { color: #bf5544; background: #f9e4df; }
.tag-bottom { bottom: 48px; left: -1px; animation-delay: -1.7s; }
.tag-bottom .tag-mark { color: #277c73; background: #dff1ea; }
.spark { position: absolute; font-family: 'Noto Naskh Arabic', serif; font-size: 28px; font-weight: 700; }
.spark-one { top: 53px; left: 38px; color: var(--gold); transform: rotate(13deg); }
.spark-two { right: 32px; bottom: 63px; color: var(--coral); transform: rotate(-11deg); }
.hero-bottom { border-top: 1px solid rgba(32,45,58,.1); margin: 15px 25px 0; padding-top: 23px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #7d858b; font-size: 12px; }
.hero-bottom strong { color: var(--ink); font-size: 13px; }
.case-preview { display: flex; gap: 9px; flex-wrap: wrap; }
.case-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 12px; background: rgba(255,254,250,.76); color: #58646c; font-weight: 800; }
.case-pill i { display: grid; place-items: center; min-width: 21px; height: 21px; border-radius: 7px; background: #f2e5c4; color: #9e7422; font-style: normal; font-family: 'Noto Naskh Arabic', serif; font-size: 15px; }
.case-pill:nth-child(2) i { background: #f6e0dc; color: var(--coral-dark); }
.case-pill:nth-child(3) i { background: #dceee9; color: var(--teal-dark); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.section-head h2 { margin: 11px 0 4px; font-size: clamp(28px, 3.3vw, 40px); line-height: 1.35; letter-spacing: -.9px; }
.section-head p { margin: 0; color: var(--muted); font-size: 14px; }
.lesson-view { animation: appear .34s ease both; }
.lesson-board { padding: 33px; border: 1px solid rgba(32,45,58,.06); border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.lesson-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 23px; }
.lesson-card { min-height: 224px; padding: 22px 21px; border-radius: 21px; border: 1px solid transparent; position: relative; overflow: hidden; }
.lesson-card::after { content: ''; position: absolute; width: 105px; height: 105px; border-radius: 50%; left: -36px; bottom: -48px; background: rgba(255,255,255,.42); }
.lesson-card.raf { background: #edf5ef; border-color: #e1eee4; }
.lesson-card.nasb { background: #fff0e9; border-color: #f6e5da; }
.lesson-card.jazm { background: #edf4f5; border-color: #e0ecee; }
.card-glyph { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.72); font-family: 'Noto Naskh Arabic', serif; font-size: 28px; font-weight: 700; }
.raf .card-glyph { color: var(--teal-dark); }
.nasb .card-glyph { color: var(--coral-dark); }
.jazm .card-glyph { color: #527d92; }
.lesson-card h3 { margin: 14px 0 5px; font-size: 19px; font-weight: 900; }
.lesson-card p { margin: 0; color: #67747c; font-size: 12px; line-height: 1.9; }
.card-example { margin-top: 14px; font-family: 'Noto Naskh Arabic', serif; font-size: 20px; font-weight: 700; color: var(--ink); }
.card-example mark { padding: 1px 5px 4px; border-radius: 6px; color: inherit; background: rgba(255,255,255,.63); }
.lesson-rule { display: flex; align-items: flex-start; gap: 12px; padding: 13px 16px; border-radius: 15px; background: #f8f5ef; color: #66727a; font-size: 12px; }
.lesson-rule strong { color: var(--ink); white-space: nowrap; }
.lesson-actions { margin-top: 23px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.lesson-actions .button-primary { min-width: 185px; }
.lesson-meta { color: #92989b; font-size: 11px; }
.quiz-view { animation: appear .34s ease both; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 13px; }
.quiz-count { color: #748087; font-size: 12px; font-weight: 800; }
.quiz-badges { display: flex; gap: 9px; align-items: center; }
.stat-badge { min-width: 93px; padding: 8px 12px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,254,250,.76); color: #627079; font-size: 11px; font-weight: 800; }
.stat-badge strong { color: var(--ink); }
.stat-badge.points { color: #a27a24; background: #fbf3dd; border-color: #f3e7c6; }
.progress-track { height: 7px; width: 100%; margin-bottom: 19px; overflow: hidden; border-radius: 99px; background: #e9e5dc; }
.progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), #80c2a2); transition: width .4s ease; }
.quiz-card { display: grid; grid-template-columns: 1fr 224px; gap: 30px; padding: clamp(22px, 4vw, 42px); border: 1px solid rgba(32,45,58,.06); border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.question-main { min-width: 0; }
.level-line { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; }
.level-label { color: var(--coral-dark); background: #fff0e9; padding: 5px 10px; border-radius: 8px; font-size: 10px; font-weight: 900; }
.question-mode { color: #92999e; font-size: 11px; font-weight: 700; }
.question-title { margin: 0 0 7px; font-size: 25px; line-height: 1.55; font-weight: 900; }
.question-hint { margin: 0 0 22px; color: #808a90; font-size: 12px; }
.sentence-panel { padding: 19px 20px; margin-bottom: 19px; border: 1px solid #eee8dc; border-radius: 18px; background: #faf8f2; text-align: center; }
.sentence-label { margin-bottom: 4px; color: #a0a4a4; font-size: 10px; }
.sentence-text { font-family: 'Noto Naskh Arabic', 'Cairo', serif; font-size: clamp(22px, 3vw, 29px); font-weight: 700; line-height: 1.8; }
.sentence-text .target-verb { padding: 0 6px 3px; border-radius: 7px; color: #bc5140; background: rgba(229,110,89,.12); white-space: nowrap; }
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.option-button { min-height: 56px; padding: 10px 12px; border: 1.5px solid #e9e5dc; border-radius: 14px; background: white; cursor: pointer; text-align: center; font-weight: 800; color: #45535c; transition: border .16s ease, background .16s ease, transform .16s ease; }
.option-button:hover:not(:disabled) { transform: translateY(-2px); border-color: #91c6b1; background: #f7fbf8; }
.option-button:disabled { cursor: default; }
.option-button.selected-correct, .option-button.reveal-correct { color: #286b59; border-color: #82bea8; background: #e9f5ee; }
.option-button.selected-wrong { color: #b24e40; border-color: #e8a093; background: #fff0ec; }
.option-button span { display: block; color: #a0a6a8; font-size: 10px; font-weight: 700; }
.quiz-aside { align-self: stretch; padding: 20px; border-radius: 21px; background: #f4f1e9; display: flex; flex-direction: column; justify-content: space-between; }
.aside-top { display: flex; align-items: center; justify-content: space-between; }
.aside-top span { color: #7d888e; font-size: 10px; font-weight: 800; }
.streak-counter { color: var(--coral); font-size: 13px; font-weight: 900; }
.rule-reminder { margin-top: 20px; }
.rule-reminder h3 { margin: 0 0 11px; font-size: 14px; font-weight: 900; }
.rule-row { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid rgba(32,45,58,.08); color: #67757b; font-size: 11px; }
.rule-row:last-child { border-bottom: 0; }
.rule-row b { color: var(--ink); font-weight: 900; }
.aside-tip { margin-top: 14px; color: #919797; font-size: 10px; line-height: 1.7; }
.feedback { margin-top: 15px; padding: 16px 18px; border: 1px solid #cde4d8; border-radius: 16px; background: #eef7f1; animation: slideIn .23s ease both; }
.feedback.wrong { border-color: #f0d0c9; background: #fff4f0; }
.feedback-head { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; color: #286b59; font-size: 13px; font-weight: 900; }
.feedback.wrong .feedback-head { color: #b14f42; }
.feedback-icon { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: white; background: #4c9b74; font-size: 13px; }
.feedback.wrong .feedback-icon { background: #d97563; }
.feedback p { margin: 0; color: #66747a; font-size: 12px; line-height: 1.85; }
.feedback .feedback-mark { display: inline-block; margin-top: 6px; color: #355d52; font-weight: 800; font-size: 11px; }
.feedback.wrong .feedback-mark { color: #995246; }
.quiz-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 17px; }
.help-toggle { border: 0; background: transparent; padding: 8px 0; color: #6f7a81; font-size: 11px; font-weight: 800; cursor: pointer; }
.help-toggle:hover { color: var(--teal-dark); }
.continue-button { padding: 0 21px; min-height: 48px; border-radius: 14px; }
.continue-button:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.results-view { animation: appear .38s ease both; }
.results-card { padding: clamp(23px,4vw,43px); border: 1px solid rgba(32,45,58,.06); border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.result-banner { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 25px 28px; border-radius: 22px; color: white; background: var(--ink); position: relative; overflow: hidden; }
.result-banner::after { content: 'َ'; position: absolute; left: 20px; top: -41px; color: rgba(255,255,255,.08); font-family: 'Noto Naskh Arabic', serif; font-size: 180px; line-height: 1; transform: rotate(12deg); }
.result-title { position: relative; z-index: 1; }
.result-title .kicker { color: #c8e3d4; background: rgba(103,175,141,.18); }
.result-title h2 { margin: 10px 0 1px; font-size: clamp(27px, 4vw, 39px); line-height: 1.35; }
.result-title p { margin: 0; color: #cad1d3; font-size: 12px; }
.score-circle { position: relative; z-index: 1; min-width: 112px; height: 112px; display: grid; align-content: center; justify-items: center; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; background: rgba(255,255,255,.08); }
.score-circle strong { font-size: 31px; line-height: 1.25; }
.score-circle span { font-size: 10px; color: #d2dadb; }
.case-scores { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 23px 0; }
.case-score { padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: #fffefa; }
.case-score-head { display: flex; justify-content: space-between; align-items: center; color: #66737a; font-size: 11px; font-weight: 800; }
.case-score strong { color: var(--ink); font-size: 16px; }
.mini-track { height: 5px; margin-top: 11px; border-radius: 99px; background: #eeeae1; overflow: hidden; }
.mini-track i { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.review-head { display: flex; justify-content: space-between; align-items: center; margin: 25px 0 12px; }
.review-head h3 { margin: 0; font-size: 17px; }
.review-head span { color: #93999c; font-size: 10px; }
.review-list { display: grid; gap: 9px; }
.review-item { padding: 14px 16px; border: 1px solid #eee9df; border-radius: 15px; background: #fffefa; }
.review-item summary { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; list-style: none; }
.review-item summary::-webkit-details-marker { display: none; }
.review-status { flex: 0 0 23px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: #347354; background: #e6f2e9; font-size: 12px; font-weight: 900; }
.review-item.incorrect .review-status { color: #b34e40; background: #fdebe7; }
.review-summary { flex: 1; min-width: 0; color: #4c5b63; font-size: 12px; font-weight: 800; }
.review-kind { color: #92999d; font-size: 10px; white-space: nowrap; }
.review-detail { margin: 11px 31px 0; padding-top: 10px; border-top: 1px solid #f0ece4; color: #768187; font-size: 11px; line-height: 1.9; }
.review-detail b { color: var(--ink); }
.result-actions { display: flex; justify-content: space-between; gap: 13px; margin-top: 23px; }
.result-actions .button-primary { min-width: 170px; }
.back-button { min-height: 50px; padding: 0 18px; border: 1px solid var(--line); border-radius: 14px; background: white; color: #66737a; font-weight: 800; cursor: pointer; }
.back-button:hover { border-color: #b8d6c7; color: var(--teal-dark); }
.confetti { display: flex; gap: 5px; color: var(--gold); font-size: 20px; }
.empty { padding: 70px 20px; text-align: center; }
.empty h2 { margin: 0; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-9px) rotate(1deg); } }
@keyframes appear { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0,1fr) minmax(280px,.8fr); gap: 24px; padding-inline: 8px; }
  .hero h1 { font-size: clamp(39px, 6vw, 56px); }
  .hero-art { min-height: 330px; }
  .art-disc { width: min(300px, 67vw); }
  .quiz-card { grid-template-columns: minmax(0,1fr) 190px; gap: 18px; }
  .quiz-aside { padding: 17px; }
}
@media (max-width: 690px) {
  .site-shell { width: min(100% - 28px, 540px); }
  .topbar { min-height: 75px; }
  .brand-mark { width: 45px; height: 45px; border-radius: 14px; }
  .brand-mark img { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy small { font-size: 10px; }
  .topbar-side { gap: 10px; font-size: 10px; }
  .top-flower { width: 31px; height: 31px; }
  .app-main { padding: 25px 0 42px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: auto; padding: 13px 3px 10px; }
  .hero-copy { order: 0; }
  .hero h1 { max-width: 500px; margin-top: 14px; font-size: clamp(42px, 12vw, 60px); letter-spacing: -1.5px; }
  .hero-copy > p { font-size: 14px; }
  .hero-actions { margin-top: 21px; }
  .button-primary { min-height: 50px; padding: 0 19px; border-radius: 14px; }
  .hero-proof { margin-top: 18px; }
  .hero-art { order: 1; min-height: 285px; margin: 9px auto 0; width: min(100%,410px); }
  .art-disc { width: min(260px, 68vw); }
  .art-image { inset: 28px; width: calc(100% - 56px); height: calc(100% - 56px); }
  .tag-top { top: 29px; right: 2px; }
  .tag-bottom { bottom: 30px; left: 0; }
  .spark-one { top: 25px; left: 25px; }
  .spark-two { right: 27px; bottom: 34px; }
  .hero-bottom { margin: 12px 3px 0; padding-top: 17px; align-items: flex-start; flex-direction: column; }
  .case-preview { gap: 6px; }
  .case-pill { padding: 7px 9px; font-size: 10px; }
  .footer { font-size: 10px; }
  .lesson-board { padding: 20px 16px; border-radius: 22px; }
  .section-head { display: block; }
  .section-head h2 { font-size: 29px; }
  .section-head p { font-size: 12px; }
  .lesson-grid { grid-template-columns: 1fr; gap: 10px; margin: 18px 0; }
  .lesson-card { min-height: 175px; padding: 17px; }
  .lesson-card h3 { margin: 9px 0 3px; font-size: 17px; }
  .lesson-card p { font-size: 11px; }
  .card-example { margin-top: 8px; font-size: 18px; }
  .lesson-rule { flex-direction: column; gap: 3px; font-size: 11px; }
  .lesson-actions { align-items: stretch; flex-direction: column-reverse; }
  .lesson-actions .button-primary { width: 100%; }
  .lesson-meta { text-align: center; }
  .quiz-top { align-items: flex-start; }
  .quiz-badges { gap: 6px; }
  .stat-badge { min-width: auto; padding: 7px 9px; font-size: 10px; }
  .quiz-card { grid-template-columns: 1fr; gap: 16px; padding: 18px 15px; border-radius: 22px; }
  .question-title { font-size: 21px; }
  .question-hint { margin-bottom: 16px; }
  .sentence-panel { padding: 13px 11px; }
  .sentence-text { font-size: 23px; }
  .options { grid-template-columns: 1fr; gap: 7px; }
  .option-button { min-height: 48px; }
  .quiz-aside { min-height: 145px; }
  .rule-reminder { margin-top: 9px; }
  .rule-reminder h3 { margin-bottom: 5px; }
  .rule-row { padding: 5px 0; }
  .aside-tip { display: none; }
  .quiz-actions { align-items: stretch; flex-direction: column; }
  .help-toggle { align-self: flex-start; }
  .continue-button { width: 100%; }
  .result-banner { align-items: flex-start; padding: 21px 18px; }
  .score-circle { min-width: 82px; height: 82px; }
  .score-circle strong { font-size: 24px; }
  .result-title h2 { font-size: 26px; }
  .result-title p { max-width: 240px; font-size: 10px; }
  .case-scores { grid-template-columns: 1fr; gap: 8px; margin: 15px 0; }
  .case-score { padding: 12px 14px; }
  .mini-track { margin-top: 7px; }
  .results-card { padding: 16px 13px; border-radius: 22px; }
  .review-head { align-items: flex-start; flex-direction: column; gap: 3px; }
  .review-item { padding: 11px; }
  .review-kind { display: none; }
  .review-summary { font-size: 11px; }
  .review-detail { margin-right: 31px; font-size: 10px; }
  .result-actions { flex-direction: column; }
  .result-actions .button-primary, .back-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.creator-credit { margin: 13px 0 0; color: #8a9295; text-align: center; font-size: 11px; }
.creator-credit strong { color: #51616a; font-weight: 800; }
