/* Falcon Denki's quiz room. The shell supplies the centered, safe-area-aware viewport. */
#quiz-view {
  --play-ink: #f1efe2;
  --play-soft: #c1cdc5;
  --play-jade: #acd2c2;
  --play-brass: #b6a075;
  --play-edge: #6b7970;
  --play-deep: #142a30;
  --play-paper: #f9f5e8;
  --paper-ink: #303c36;
  --fq-ink: var(--play-ink);
  --fq-muted: var(--play-soft);
  --fq-card: var(--play-deep);
  --fq-green: var(--play-jade);
  --fq-rule: #506561;
  color: var(--play-ink);
}
#quiz-view .fq-workspace {
  width: min(100%, 620px);
  padding: 4px 6px;
  margin: 0 auto;
  font-family: "Yu Gothic UI","Hiragino Kaku Gothic ProN",Meiryo,system-ui,sans-serif;
}
#quiz-view .fq-book {
  flex: 1 1 0;
  min-height: 0;
  height: 100%;
  max-height: 100dvh;
  grid-template-rows: auto minmax(0,1fr);
  gap: 8px;
}
.fq-workspace .fq-heading {
  min-height: 48px;
  margin: 0;
  padding: 2px 2px 3px;
}
.fq-workspace .fq-context {
  color: #c7b68f;
  font-size: 12px;
  letter-spacing: .065em;
  line-height: 1.5;
}
.fq-workspace .fq-heading .fq-title {
  color: var(--play-ink);
  margin: 0;
  font: 700 clamp(18px, 2.5vw, 25px)/1.27 "Yu Mincho","Hiragino Mincho ProN",serif;
  letter-spacing: .025em;
  text-wrap: balance;
}
.fq-workspace .fq-heading .fq-text,
.fq-workspace .fq-secondary,
.fq-workspace .fq-hint,
.fq-workspace .fq-page,
.fq-workspace .fq-jump {
  color: #e8eddf;
  border: 1px solid #667e79;
  border-radius: 8px;
  min-height: 44px;
  background: linear-gradient(#2d474b,#22383e);
  box-shadow: inset 0 1px 0 #e2f1dd0b, 0 2px 4px #0714182b;
}
.fq-workspace .fq-heading .fq-text {padding: 7px 11px; gap: 3px; font-size: 13px;}
.fq-workspace .fq-heading .fq-text .fq-icon {color: #d8c59a;}
.fq-workspace .fq-primary {
  min-height: 48px;
  color: #fff6df;
  background: linear-gradient(#75654b,#544a37);
  border: 1px solid #bdab84;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 #f8deb635, 0 2px 4px #10191940;
}
.fq-workspace .fq-layout {
  display: block;
  width: 100%;
}
.fq-workspace .fq-question,
.fq-workspace .fq-result {
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
}
.fq-workspace .fq-hud {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  flex: none;
  padding: 7px 13px 9px;
  border: 1px solid #637167;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  background: linear-gradient(110deg,#213a3e,#1b3037);
  box-shadow: inset 0 1px 0 #d9debc15;
}
.fq-hud .fq-mode {color: #d8d9bf; font-size: 13px; line-height: 1.3;}
.fq-hud .fq-question-count {margin-left: auto;color: #d0d7cb; font-size: 12px;}
.fq-hud .fq-question-count b {color: #f4e5c2; font-size: 26px; font-weight: 600; vertical-align: baseline;}
.fq-hud .fq-hud-score {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--play-jade);
  font-size: 13px;
  padding-left: 11px;
  border-left: 1px solid #60746c;
}
.fq-hud-score .fq-icon {width: 15px;height: 15px;}
.fq-hud .fq-hud-streak {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1.2;
  white-space: nowrap;
}
.fq-workspace .fq-streak {color: #f4dfab; font-size: .85em; font-variant-numeric: tabular-nums;}
.fq-workspace .fq-streak-result {color: #f4dfab; font-size: .93rem; font-weight: 750; margin-top: 4px;}
.fq-workspace .fq-review-origin {display: block; color: var(--play-jade); font-size: .77rem;}
.fq-workspace .fq-meter {
  flex: none;
  height: 4px;
  margin: 0 0 8px;
  border-radius: 0 0 6px 6px;
  background: #495956;
}
.fq-workspace .fq-meter::-webkit-progress-bar {background: #495956;}
.fq-workspace .fq-meter::-webkit-progress-value {background: #a2c3ae;}
.fq-workspace .fq-meter::-moz-progress-bar {background: #a2c3ae;}
.fq-scenery {
  position: relative;
  isolation: isolate;
  flex: 0 1 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  height: clamp(102px, 20dvh, 187px);
  min-height: 0;
  margin-bottom: 9px;
  border: 1px solid #94896a;
  border-radius: 9px;
  background: #1e3437;
  box-shadow: 0 3px 9px #0e1c2136;
}
.fq-scenery::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -8px;
  background: linear-gradient(90deg,#173033b3,#21363840 50%,#173033b3),var(--fq-scene-art) center/cover;
  filter: blur(7px) saturate(.7);
}
.fq-scenery img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  min-height: 0;
  object-fit: contain;
  box-shadow: 0 0 20px #172d31b3;
}
.fq-scenery::after {
  content: "";
  position: absolute;
  inset: 4px;
  pointer-events: none;
  border: 1px solid #ddcfaa47;
  border-radius: 5px;
  background:
    linear-gradient(var(--play-brass),var(--play-brass)) top left/15px 2px,
    linear-gradient(var(--play-brass),var(--play-brass)) top left/2px 15px,
    linear-gradient(var(--play-brass),var(--play-brass)) bottom right/15px 2px,
    linear-gradient(var(--play-brass),var(--play-brass)) bottom right/2px 15px;
  background-repeat: no-repeat;
}
.fq-question:has(.fq-mark,.fq-hint-line) .fq-scenery {height: clamp(62px,12dvh,108px);}
.fq-workspace .fq-prompt-block {
  margin: 0;
  padding: 12px 15px 13px;
  border: 1px solid #809186;
  border-left: 3px solid #b9a474;
  border-radius: 8px;
  color: var(--play-ink);
  background: linear-gradient(108deg,#2c4648,#20383f);
  box-shadow: inset 0 1px 0 #dce7d21a;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.fq-workspace .fq-prompt-block .fq-format {
  min-height: 0;
  display: block;
  margin: 0 0 5px;
  padding: 0;
  border: 0;
  color: #d2c199;
  background: none;
  font-size: 12px;
  letter-spacing: .055em;
  line-height: 1.4;
}
.fq-workspace .fq-prompt-block .fq-negative {color: #eed1ab;}
.fq-workspace .fq-prompt-block .fq-prompt {
  color: var(--play-ink);
  font: 650 clamp(16px,2.8vw,19px)/1.56 "Yu Gothic UI","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
  overflow-wrap: anywhere;
}
.fq-workspace .fq-card-flow .fq-choices {margin: 9px 0 1px;}
.fq-workspace .fq-card-flow .fq-choice {
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid #baae8d;
  border-radius: 9px;
  color: var(--paper-ink);
  background: linear-gradient(180deg,#fbf8ef,#ece8da);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 #aa9c7d3b;
}
.fq-workspace .fq-choices:not(.is-binary) .fq-choice + .fq-choice {margin-top: 7px;}
.fq-workspace .fq-card-flow .fq-choice-label {
  color: inherit;
  font-size: 16px;
  line-height: 1.47;
  font-weight: 600;
}
.fq-workspace .fq-option-key {
  flex: none;
  display: grid;
  place-items: center;
  width: 29px;
  min-width: 29px;
  height: 29px;
  padding: 0;
  border: 1px solid #9a875e;
  border-radius: 50%;
  background: linear-gradient(145deg,#43655e,#304c49);
  color: #fcf5da;
  font: 700 17px/1 Georgia,serif;
  box-shadow: inset 0 0 0 2px #e5d6ae80;
}
.fq-choices:not(.is-binary) .fq-choice:nth-child(1) .fq-option-key {background: linear-gradient(145deg,#766578,#514d60);}
.fq-choices:not(.is-binary) .fq-choice:nth-child(3) .fq-option-key {background: linear-gradient(145deg,#58717c,#3b5361);}
.fq-choices:not(.is-binary) .fq-choice:nth-child(4) .fq-option-key {background: linear-gradient(145deg,#8e7854,#69583f);}
.fq-workspace .is-binary .fq-choice {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2px;
  min-height: 62px;
}
.fq-workspace .is-binary .fq-choice-label {font-weight: 700;}
.fq-workspace .is-binary:has(.fq-option-status) .fq-choice {
  grid-template-rows: auto minmax(1rem,auto);
}
.fq-workspace .fq-choice.is-correct {border-color: #5e836e;background: #dcebdd;}
.fq-workspace .fq-choice.is-wrong {border-color: #a57761;background: #f1dfd0;}
.fq-workspace .fq-option-status {color: #355944;}
.fq-workspace .is-wrong .fq-option-status {color: #854d35;}
.fq-workspace .fq-card-flow .fq-mark {
  width: 100%;
  margin: 8px 0;
  min-height: 68px;
  padding: 7px 16px 21px;
  border-color: #acaa92;
  border-radius: 8px;
}
.fq-workspace .fq-mark img {max-height: clamp(54px,12dvh,100px);}
.fq-workspace .fq-hint-line {
  color: #f1e9ce;
  background: #3d4841;
  border-color: #bea571;
}
.fq-workspace .fq-hint-line strong {color: #f1d59f;}
.fq-workspace .fq-card-dock {
  min-height: 51px;
  margin: 7px 0 0;
  padding: 6px 0 0;
  border-top: 1px solid #73847b70;
  background: transparent;
}
.fq-workspace .fq-hint {
  padding-inline: 12px;
  color: #f0ddae;
  border-color: #928265;
}
.fq-workspace .fq-card-count {color: #d8d7bf;}
.fq-workspace .fq-card-dock .fq-primary {flex: 1 1 auto;}
.fq-workspace .fq-card-dock .fq-page {min-width: 44px;}
.fq-workspace .fq-card-nav {margin-right: auto;}
.fq-workspace .fq-card-nav button:disabled {opacity: .45;}
.fq-workspace .fq-jump option {background: var(--play-paper);color: var(--paper-ink);}

.fq-workspace[data-quiz-phase="feedback"] .fq-card-window {
  background: linear-gradient(115deg,#fbf8ed,#f1eddd);
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px #baaa83;
}
.fq-workspace .fq-card-flow .fq-feedback {
  margin: 0;
  padding: 9px 12px;
  background: none;
  border: 0;
  border-radius: 0;
  color: var(--paper-ink);
}
.fq-workspace .fq-feedback .fq-feedback-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border: 1px solid #214c40;
  border-radius: 7px;
  background: #255747;
  color: #fffaf0;
  font-size: clamp(1.65rem, 6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: .06em;
  break-inside: avoid;
}
.fq-workspace .fq-feedback-heading:focus {outline: none;}
.fq-workspace .fq-feedback-heading .fq-icon {
  width: clamp(32px, 8vw, 39px);
  height: clamp(32px, 8vw, 39px);
  flex: none;
  stroke-width: 3;
}
.fq-workspace .is-retry .fq-feedback-heading {
  background: #803d46;
  border-color: #71333d;
}
.fq-workspace .fq-feedback :is(.fq-correct-answer,.fq-your-answer) {
  margin: 10px 0 0;color: #2f4238;font-size: 16px;line-height: 1.6;
}
.fq-workspace .fq-feedback :is(.fq-correct-answer,.fq-your-answer) strong {
  display: inline-block;
  font-size: 13px;
  color: #4d6a58;
  margin-right: 10px;
  font-weight: 750;
}
.fq-workspace .fq-feedback .fq-your-answer {margin-top: 3px;}
.fq-workspace .fq-feedback .fq-your-answer strong {color: #765e50;}
.fq-workspace .fq-feedback .fq-explanation {font-size: 16px;line-height: 1.7;margin-top: 12px;}
.fq-workspace .fq-tags {margin-top: 13px;gap: 5px;}
.fq-workspace .fq-tags span {color: #566357;background: #eaeadd;border-color: #bfccb9;}
.fq-workspace .fq-recap {
  margin: 5px 15px 12px;
  border-top: 1px solid #c3c8b7;
  color: #3c594c;
}
.fq-workspace .fq-recap summary,
.fq-workspace .fq-review-row summary {
  min-height: 44px;
  padding: 10px 2px;
  font-size: 14px;
  line-height: 1.55;
  cursor: pointer;
}
.fq-workspace .fq-recap-body {margin: 0 0 6px;}
.fq-workspace .fq-result-hero {
  min-height: 139px;
  padding: 16px;
  border: 1px solid #96896a;
  border-radius: 9px;
  background: linear-gradient(120deg,#334d48,#20383c);
  box-shadow: inset 0 1px 0 #e9d7a621;
}
.fq-workspace .fq-result-hero .fq-ring {
  width: clamp(76px,18vw,100px);
  padding: 4px;
  background: conic-gradient(#bfc9a4 var(--fq-score),#557069 0);
}
.fq-workspace .fq-ring-face {background: #243d3c;color: #eae9cc;}
.fq-workspace .fq-ring-face b {color: #f5edcf;}
.fq-workspace .fq-result-title {font-size: 18px;color: #eae9d5;}
.fq-workspace .fq-score {color: #d8ded1;}
.fq-workspace .fq-score b {color: #f7e7b6;}
.fq-workspace .fq-result-note {color: #c8d6ca;}
.fq-workspace .fq-awards {
  margin: 10px 0;
  padding: 12px 15px;
  color: #625538;
  background: linear-gradient(115deg,#f5eedb,#e7dfca);
  border: 1px solid #b9a67d;
  border-radius: 8px;
}
.fq-workspace .fq-awards ul {display: grid;grid-template-columns: repeat(2,minmax(0,1fr));gap: 5px 12px;}
.fq-workspace .fq-awards li {display: flex;align-items: center;gap: 7px;min-width: 0;font-size: 14px;line-height: 1.4;}
.fq-workspace .fq-award-pin {width: 34px;height: 34px;object-fit: contain;flex: none;}
.fq-workspace .fq-chapter-awards {
  color: #4d4027; border-color: #c4a55c; border-left: 3px solid #b39248;
  background: linear-gradient(110deg,#fcf3d9,#ede4c9);
}
.fq-workspace .fq-chapter-awards li {color: #4e4027;}
.fq-workspace .fq-chapter-awards ul:has(> :only-child) {grid-template-columns: 1fr;}
@media (prefers-reduced-motion: no-preference) {
  .fq-workspace [data-answer-selected] .fq-choice.fq-confirmed {
    color: #473b1d; background: #fff0bc; border-color: #b89949;
    box-shadow: inset 0 0 0 2px #b89949, inset 0 1px 5px #53401430;
    transform: scale(.987);
  }
  .fq-chapter-awards[data-celebrate] .fq-award-pin {
    animation: fq-medal-arrives 500ms ease-out both;
  }
  .fq-chapter-awards[data-celebrate] li:nth-child(2) .fq-award-pin {animation-delay: 90ms;}
  @keyframes fq-medal-arrives {
    0% {transform: translateY(3px) scale(.88);}
    55% {transform: translateY(-1px) scale(1.07); filter: drop-shadow(0 0 4px #cbab60);}
    100% {transform: none; filter: none;}
  }
}
.fq-workspace .fq-review {
  background: transparent;
  color: var(--play-ink);
}
.fq-workspace .fq-review h3 {font-size: 18px;color: #e5dcbd;}
.fq-workspace .fq-review-body {color: #dce3d7;}
.fq-workspace .fq-review-row summary::after,.fq-workspace .fq-small-num {color: var(--play-jade);}
.fq-workspace .fq-small-num {flex: none;white-space: nowrap;min-width: 2ch;}
.fq-workspace .fq-result .fq-card-dock {flex-wrap: wrap;}
.fq-workspace .fq-result .fq-commands {display: flex;gap: 7px;flex: 1 1 auto;margin: 0;}
.fq-workspace .fq-result .fq-commands .fq-btn {flex: 1 1 auto;}
.fq-workspace .fq-note,.fq-workspace .fq-loading {
  color: var(--paper-ink);
  background: var(--play-paper);
  border: 1px solid var(--play-brass);
  border-radius: 9px;
  margin-top: 12px;
}
.fq-workspace .fq-note p {color: #53625b;}
.fq-workspace .fq-note .fq-text {color: #3e6054;}
.fq-zoom {color: var(--paper-ink,#303c36);border: 1px solid #af9f78;border-radius: 10px;}
.fq-zoom::backdrop {background: #10262cce;}
.fq-zoom .fq-zoom-bar h2 {color: #324a40;}
.fq-workspace :is(button,summary,select):focus-visible,.fq-zoom button:focus-visible {outline: 3px solid #d5ad64;outline-offset: -3px;}
@media(hover:hover) {
  .fq-workspace .fq-choice:not(:disabled):hover {color: #244436;border-color: #c7ad6e;background: #faf1d9;}
  .fq-workspace .fq-primary:hover {filter: brightness(1.12);}
  .fq-workspace :is(.fq-hint,.fq-page,.fq-text,.fq-secondary):not(:disabled):hover {background: #38504e;color: #fff4d6;}
}
@media(max-height:680px) {
  #quiz-view .fq-book {gap: 5px;}
  .fq-workspace .fq-heading {min-height: 44px;}
  .fq-workspace .fq-scenery {height: clamp(65px,14dvh,95px);margin-bottom: 6px;}
  .fq-question:has(.fq-mark,.fq-hint-line) .fq-scenery {height: 42px;}
  .fq-workspace .fq-hud {min-height: 36px;padding-block: 4px 6px;}
  .fq-hud .fq-question-count b {font-size: 21px;}
  .fq-workspace .fq-meter {margin-bottom: 5px;}
  .fq-workspace .fq-prompt-block {padding: 8px 11px;}
  .fq-workspace .fq-card-flow .fq-choice {min-height: 44px;padding: 6px 9px;}
  .fq-workspace .fq-choices:not(.is-binary) .fq-choice+.fq-choice {margin-top: 5px;}
  .fq-workspace .fq-card-dock {min-height: 48px;margin-top: 4px;padding-top: 4px;}
}
@media(max-height:500px) {.fq-workspace .fq-scenery {display: none;}}
@media(max-height:650px) {
  .fq-question:has(.fq-card-flow > .fq-mark) .fq-scenery {display: none;}
}
@media(max-height:610px) and (max-width:370px) {
  .fq-question:has(.fq-mark,.fq-hint-line) .fq-scenery {display: none;}
  .fq-workspace .fq-recap {margin-inline: 6px;}
  .fq-workspace .fq-card-flow .fq-choices:not(.is-binary) .fq-choice {display: flow-root;}
  .fq-workspace .fq-choices:not(.is-binary) .fq-option-key {float: left;margin: 0 8px 0 0;}
  .fq-workspace .fq-choices:not(.is-binary) .fq-choice-label {display: block;line-height: 1.42;}
  .fq-workspace .fq-choices:not(.is-binary) .fq-option-status {margin-left: 3px;}
}
@media(max-width:370px) {
  #quiz-view .fq-workspace {padding-inline: 2px;}
  .fq-workspace .fq-heading .fq-title {font-size: 18px;}
  .fq-workspace .fq-hud {gap: 6px;padding-inline: 9px;}
  .fq-workspace .fq-hud-score {padding-left: 6px;}
  .fq-workspace .fq-result-hero {min-height: 120px;padding: 10px;}
  .fq-workspace .fq-awards {padding: 9px 10px;}
}
@media(prefers-reduced-motion:no-preference) {
  .fq-workspace .fq-choice {transition: background-color .12s,border-color .12s,transform .08s;}
  .fq-workspace .fq-choice:active:not(:disabled),.fq-workspace .fq-btn:active:not(:disabled) {transform: translateY(1px);}
}
/* Before answering, the question, source image and all answers share one sheet.
   Later review screens have their own layout and navigation. */
.fq-workspace[data-quiz-phase="prompt"] .fq-card-window {
  overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain;
}
.fq-workspace[data-quiz-phase="prompt"] .fq-card-flow {
  display:flow-root;width:100%;height:auto;min-width:0;column-width:auto;column-count:auto;column-gap:normal;
}
.fq-workspace[data-quiz-phase="prompt"] .fq-card-dock {display:none}
.fq-workspace[data-quiz-phase="prompt"] .work-prompt[hidden] {display:none!important}
.fq-workspace[data-quiz-phase="prompt"] .fq-hud {
  gap:clamp(4px,1.3vw,10px);padding:3px 7px;min-height:42px;
}
.fq-workspace[data-quiz-phase="prompt"] .fq-hud .fq-hint {
  min-height:40px;padding:4px 7px;gap:3px;flex:none;color:#f6e6be;
  border-radius:6px;font-size:13px;line-height:1.25;
}
.fq-workspace[data-quiz-phase="prompt"] .fq-hud .fq-hud-score {gap:3px;padding-left:5px;font-size:12px}
.fq-workspace[data-quiz-phase="prompt"] .fq-hud .fq-mode {min-width:0}
.fq-workspace[data-quiz-phase="prompt"] .fq-mark {max-width:100%}
.fq-workspace[data-quiz-phase="prompt"] .fq-prompt-block .fq-prompt {font-size:clamp(1rem,2.8vw,1.1875rem)}
.fq-workspace[data-quiz-phase="prompt"] .fq-card-flow .fq-choice-label {font-size:1rem}
.fq-workspace[data-quiz-phase="prompt"]:not([data-fit="regular"]) .fq-prompt-block {
  padding:6px 9px 7px;border-left-width:2px;
}
.fq-workspace[data-quiz-phase="prompt"]:not([data-fit="regular"]) .fq-prompt-block .fq-format {
  margin-bottom:3px;line-height:1.2;letter-spacing:0;
}
.fq-workspace[data-quiz-phase="prompt"]:not([data-fit="regular"]) .fq-card-flow .fq-choices {margin:5px 0 0}
.fq-workspace[data-quiz-phase="prompt"]:not([data-fit="regular"]) .fq-choices:not(.is-binary) .fq-choice {
  display:flow-root;min-height:44px;padding:5px 7px;border-radius:6px;
}
.fq-workspace[data-quiz-phase="prompt"]:not([data-fit="regular"]) .fq-choices:not(.is-binary) .fq-choice+.fq-choice {margin-top:4px}
.fq-workspace[data-quiz-phase="prompt"]:not([data-fit="regular"]) .fq-choices:not(.is-binary) .fq-option-key {
  float:left;width:21px;min-width:21px;height:21px;margin-right:6px;font-size:13px;line-height:1;
}
.fq-workspace[data-quiz-phase="prompt"]:not([data-fit="regular"]) .fq-choices:not(.is-binary) .fq-choice-label {
  display:block;line-height:1.39;
}
.fq-workspace[data-quiz-phase="prompt"]:not([data-fit="regular"]) .fq-card-flow .fq-mark {
  min-height:48px;margin:4px 0;padding:3px 42px;
}
.fq-workspace[data-quiz-phase="prompt"]:not([data-fit="regular"]) .fq-card-flow .fq-mark img {max-height:74px}
.fq-workspace[data-quiz-phase="prompt"]:is([data-fit="tight"],[data-fit="small"]) .fq-prompt-block .fq-prompt {
  font-size:.9375rem;line-height:1.36;letter-spacing:0;
}
.fq-workspace[data-quiz-phase="prompt"]:is([data-fit="tight"],[data-fit="small"]) .fq-card-flow .fq-choice-label {
  font-size:.9375rem;line-height:1.34;letter-spacing:0;
}
#quiz-view .fq-workspace[data-quiz-phase="prompt"]:is([data-fit="tight"],[data-fit="small"]) {gap:3px}
.fq-workspace[data-quiz-phase="prompt"]:is([data-fit="tight"],[data-fit="small"]) .fq-heading .fq-title {
  font-size:1rem;line-height:1.16;letter-spacing:0;text-wrap:wrap;
}
.fq-workspace[data-quiz-phase="prompt"]:is([data-fit="tight"],[data-fit="small"]) .fq-heading {
  min-height:42px;padding-block:0;
}
.fq-workspace[data-quiz-phase="prompt"]:is([data-fit="tight"],[data-fit="small"]) .fq-context {line-height:1.2}
.fq-workspace[data-quiz-phase="prompt"]:is([data-fit="tight"],[data-fit="small"]) .fq-meter {margin-bottom:3px;height:3px}
.fq-workspace[data-quiz-phase="prompt"]:is([data-fit="tight"],[data-fit="small"]) .fq-choices:not(.is-binary) .fq-choice {
  padding:3px 6px;
}
.fq-workspace[data-quiz-phase="prompt"][data-fit="small"] .fq-prompt-block .fq-prompt,
.fq-workspace[data-quiz-phase="prompt"][data-fit="small"] .fq-card-flow .fq-choices:not(.is-binary) .fq-choice-label {
  font-size:.875rem;line-height:1.3;
}
.fq-workspace[data-quiz-phase="prompt"][data-fit="small"] .fq-card-flow .fq-mark img {max-height:55px}
.fq-hint-dialog {
  box-sizing:border-box;width:min(420px,calc(100% - 28px));max-height:90dvh;overflow:auto;
  margin:auto;padding:0;border:1px solid #ab9871;border-radius:12px;background:#f8f4e7;
  color:#2a4038;box-shadow:0 12px 36px #0a182877;font:inherit;
}
.fq-hint-dialog::backdrop {background:#10262ccb}
.fq-hint-bar {display:flex;align-items:center;justify-content:space-between;padding:8px 13px;background:#263f41;color:#f5edda}
.fq-hint-bar h2 {margin:0;font-size:1.2rem}
.fq-hint-dialog .fq-btn {min-height:44px;border:1px solid #abb2a0;background:#f4f0df;color:#30453a;font:inherit;font-size:.875rem;font-weight:700}
.fq-hint-body {padding:12px 16px 15px}
.fq-hint-body .fq-hints {margin:0}
.fq-hint-dialog .fq-hint-line {margin:0;padding:7px 10px;border-left:3px solid #b69b69;background:#efe8d3;line-height:1.7;overflow-wrap:anywhere}
.fq-hint-dialog .fq-hint-line strong {display:block;color:#7b5529}
.fq-hint-dialog .fq-hint-line+.fq-hint-line,.fq-hint-body>.fq-btn {margin-top:10px}
.fq-hint-dialog button:focus-visible {outline:3px solid #b77a26;outline-offset:2px}
.fq-workspace[data-quiz-phase="prompt"] .fq-hud .work-prompt.fq-room-thumb:not([hidden]) {
  display:grid;flex:0 0 clamp(45px,11vw,62px);height:40px;min-height:0;
  width:clamp(45px,11vw,62px);margin:0;padding:0;border-radius:5px;
}
.fq-workspace[data-quiz-phase="prompt"] .fq-hud[data-thumbnail] {gap:4px}
.fq-workspace[data-quiz-phase="prompt"] .fq-hud[data-thumbnail] .fq-hud-score .fq-icon,
.fq-workspace[data-quiz-phase="prompt"] .fq-hud[data-thumbnail] .fq-hint .fq-icon {display:none}
#quiz-view .fq-workspace[data-quiz-phase="prompt"][data-fit="small"] {padding-inline:0;gap:2px}
.fq-workspace[data-quiz-phase="prompt"][data-fit="small"] .fq-context {letter-spacing:0}
.fq-workspace[data-quiz-phase="prompt"][data-fit="small"] .fq-context::after {content:" · " attr(data-format)}
.fq-workspace[data-quiz-phase="prompt"][data-fit="small"] .fq-format {display:none}
.fq-workspace[data-quiz-phase="prompt"][data-fit="small"] .fq-prompt-block {padding:4px 6px}
.fq-workspace[data-quiz-phase="prompt"][data-fit="small"] .fq-choices {margin-top:3px}
.fq-workspace[data-quiz-phase="prompt"][data-fit="small"] .fq-choices:not(.is-binary) .fq-choice {padding:2px 4px}
.fq-workspace[data-quiz-phase="prompt"][data-fit="small"] .fq-choices:not(.is-binary) .fq-choice+.fq-choice {margin-top:2px}
.fq-workspace[data-quiz-phase="prompt"][data-fit="small"] .fq-choices:not(.is-binary) .fq-option-key {
  width:17px;min-width:17px;height:17px;margin:0 4px 0 0;font-size:12px;
}
