/* ===== html2slides 运行时样式 ===== */
:root {
  --quiz-font-scale: 1;
  --quiz-img-width: 38%;
  --quiz-katex-size: 1.05em;
  --quiz-answer: #c62828;
  --quiz-answer-bg: #fff6d8;
  --quiz-correct-bg: #fff0bf;
  --quiz-border: #d8d8d8;
  /* 页面底部固定留白：计入 .q-wrap 的 padding-bottom，availHeight() 会自动扣减 */
  --quiz-bottom-space: 56px;
}

.reveal .slides section.q-page,
.reveal .slides section.chapter-page { text-align: left; }
.reveal .slides section.q-page {
  width: 100%; height: 100%; padding: 0; box-sizing: border-box;
}

.reveal .slides .q-wrap {
  box-sizing: border-box;
  height: 100%;
  padding: 30px 52px calc(58px + var(--quiz-bottom-space));
  font-size: calc(27px * var(--quiz-font-scale));
  line-height: 1.55;
  overflow: hidden;
  text-align: left;
}
.reveal .slides .q-head {
  display: flex; align-items: baseline; gap: .7em;
  margin-bottom: .5em; padding-bottom: .25em;
  border-bottom: 2px solid #e0e0e0;
}
.reveal .slides .q-no { font-weight: 700; font-size: inherit; color: inherit; }
.reveal .slides .q-type,
.reveal .slides .q-tag {
  padding: .08em .6em; border-radius: .3em;
  background: #eceff1; font-size: inherit; color: inherit;
}
.reveal .slides .q-tag { background: #fff3e0; }
.reveal .slides .q-body { position: relative; overflow-x: clip; }
.reveal .slides .q-body::after { content: ''; display: block; clear: both; }

.reveal .slides .q-body > p,
.reveal .slides .q-body > div { margin: .3em 0 .55em; }
.reveal .slides .q-body p { text-align: left; }
.reveal .slides sup.q-note { font-size: inherit; color: inherit; vertical-align: super; }

/* ---- 表格：宽度随屏幕 / 避开同页浮动图片 ---- */
.reveal .slides .q-body table.q-table {
  border-collapse: collapse;
  table-layout: fixed;
}
.reveal .slides .q-body table.q-table td,
.reveal .slides .q-body table.q-table th {
  min-width: 0;
  padding: .2em .35em;
  overflow-wrap: anywhere;
  word-break: break-word;
  box-sizing: border-box;
}
/* 表格列宽有限时，稍缩公式字号，避免 KaTeX 的 nowrap 数学节点把表格撑出页面 */
.reveal .slides .q-body table.q-table .katex {
  font-size: .88em !important;
  max-width: 100%;
}
.reveal .slides .q-body table.q-table .katex-display {
  max-width: 100%; overflow-x: auto; overflow-y: hidden;
}

/* ---- 答题处 ---- */
.reveal .slides u.q-blank {
  display: inline-block; min-width: 5.5em; padding: 0 .35em;
  text-align: center; text-decoration: none;
  border-bottom: 2px solid #90a4ae; font-size: inherit; color: inherit;
}
.reveal .slides .ans-inline {
  background: var(--quiz-answer-bg); padding: 0 .18em; border-radius: .15em;
  white-space: normal;
}
.reveal .slides .q-blank .ans-inline { white-space: normal; }

.reveal .slides .q-options {
  display: grid;
  grid-template-columns: repeat(var(--q-opt-cols, 4), minmax(0, 1fr));
  gap: .3em 1.1em; margin: .55em 0 .5em;
}
.reveal .slides .q-option {
  display: flex; align-items: baseline; gap: .45em; min-width: 0;
  padding: .18em .5em; border-left: 3px solid transparent; border-radius: .15em;
  position: relative;
}
/* 正确选项只做整行高亮：触发答案的 fragment 不显示文字，也不占选项内容区宽度 */
.reveal .slides .q-option > .q-option-answer {
  position: absolute; right: 0; top: 0;
  width: 1px; height: 1px; margin: 0; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; opacity: 0 !important; transform: none !important;
  transition: none !important; pointer-events: none;
}
.reveal .slides .q-option-label { font-weight: 700; color: inherit; font-size: inherit; flex: 0 0 auto; }
.reveal .slides .q-option-text { flex: 1 1 auto; min-width: 0; }
/* 动态 JSON 的选项内容常带 <p>，与静态版一样不产生额外块级高度 */
.reveal .slides .q-option-text p { display: inline; margin: 0; }
@supports selector(:has(*)) {
  .reveal .slides .q-option:has(.q-option-answer.visible) {
    background: var(--quiz-correct-bg); border-left-color: var(--quiz-answer);
    box-shadow: inset 0 0 0 2px rgba(198, 40, 40, .20);
  }
}
.reveal .slides .q-option.answer-on {   /* JS 同步兜底（不支持 :has 时） */
  background: var(--quiz-correct-bg); border-left-color: var(--quiz-answer);
  box-shadow: inset 0 0 0 2px rgba(198, 40, 40, .20);
}

.reveal .slides .q-answer-block,
.reveal .slides .q-solution {
  margin: .6em 0 .35em !important; padding: .45em .8em;
  border-left: 5px solid #90a4ae; border-radius: .15em;
  background: #f7f9fa;
}
.reveal .slides .q-answer-block { border-left-color: #ef6c00; background: #fff8ef; }
.reveal .slides .q-solution { border-left-color: #1565c0; background: #f2f7fd; }
.reveal .slides .q-label {
  display: inline-block; margin-right: .6em; padding: .05em .5em;
  border-radius: .2em; border: 1px solid currentColor;
  color: inherit; font-size: inherit; font-family: inherit; font-weight: 700;
  vertical-align: .1em;
}
.reveal .slides .q-answer-block .q-label { background: transparent; }
.reveal .slides .q-solution .q-label { background: transparent; }
.reveal .slides .q-answer-text,
.reveal .slides .q-solution-text { display: inline; }
.reveal .slides .q-answer-text p,
.reveal .slides .q-solution-text p { margin: .25em 0; }
/* 「答 / 解析」徽章与正文首段接排，不另起一行；后续段落照常换行 */
.reveal .slides .q-answer-text > p:first-of-type,
.reveal .slides .q-solution-text > p:first-of-type {
  display: inline; margin: 0;
}

/* ---- 图片：居右浮动，可配置 ---- */
.reveal .slides .q-figure {
  float: right; width: var(--quiz-img-width);
  margin: .2em 0 .7em 1.2em; text-align: center;
}
.reveal .slides .q-figure img.q-img {
  width: 100%; max-width: 100%; height: auto; max-height: 300px; object-fit: contain;
  border: 1px solid #e0e0e0; border-radius: .2em; background: #fff;
}
body[data-image-float="left"] .reveal .slides .q-figure { float: left; margin: .2em 1.2em .7em 0; }
body[data-image-float="none"] .reveal .slides .q-figure {
  float: none; width: auto; margin: .6em 0;
}
body[data-image-float="none"] .reveal .slides .q-figure img.q-img { max-width: 70%; }

/* 答案 / 解析里的图片不能浮动：否则会盖住同块文字（尤其在滚动容器内）。
   改为独占一行、居中、正常占位，滚动可完整查看。 */
.reveal .slides .q-answer-block .q-figure,
.reveal .slides .q-solution .q-figure {
  float: none !important;
  width: auto;
  max-width: 100%;
  margin: .55em 0;
  text-align: center;
  clear: both;
}
.reveal .slides .q-answer-block img.q-img,
.reveal .slides .q-solution img.q-img {
  max-width: 72%;
  max-height: 250px;
  height: auto;
}
/* 兜底：题干里很高的浮动图也不许盖住后面的答案/解析块 */
.reveal .slides .q-answer-block,
.reveal .slides .q-solution { position: relative; z-index: 1; }


/* ---- 长题干：同页滚动 / 缩放适配 ---- */
body[data-overflow="scroll"] .reveal .slides .q-body {
  overflow-y: auto; padding-right: 14px;
  scrollbar-width: thin;
}
body[data-overflow="fit"] .reveal .slides .q-wrap { transform-origin: top left; }
.reveal .slides .q-continue-head { border-bottom-style: dashed; }
.reveal .slides .q-page[data-continuation] .q-wrap { padding-top: 22px; }

/* ---- KaTeX ---- */
.reveal .slides .katex { font-size: 1em !important; }  /* 公式字号跟随所在段落 */
.reveal .slides .katex-display { margin: .5em 0; }

/* ---- 章节页 ---- */
.reveal .slides .chapter-page { text-align: center !important; }
.reveal .slides .chapter-page h2 { margin-top: 1.2em; font-size: inherit; }
.reveal .slides .chapter-hint { color: inherit; font-size: inherit; }

/* ===== 自定义动画（在 reveal.js fragment 机制上扩展） ===== */
.reveal .slides .fragment.quiz-pop { opacity: 0; transform: scale(.55) rotate(-5deg); transition: transform .42s cubic-bezier(.2,1.7,.45,1), opacity .3s; }
.reveal .slides .fragment.quiz-pop.visible { opacity: 1; transform: scale(1) rotate(0); }

.reveal .slides .fragment.quiz-glow { opacity: 0; filter: blur(3px); transition: opacity .45s, filter .45s, text-shadow .45s; }
.reveal .slides .fragment.quiz-glow.visible { opacity: 1; filter: blur(0); text-shadow: 0 0 10px #ff9800, 0 0 22px #ffc107; }

.reveal .slides .fragment.quiz-flip { opacity: 0; transform: perspective(600px) rotateY(-85deg); transition: transform .5s ease, opacity .35s; }
.reveal .slides .fragment.quiz-flip.visible { opacity: 1; transform: perspective(600px) rotateY(0); }

.reveal .slides .fragment.quiz-slide-left { opacity: 0; transform: translateX(-70px); transition: transform .4s ease, opacity .35s; }
.reveal .slides .fragment.quiz-slide-left.visible { opacity: 1; transform: translateX(0); }

.reveal .slides .fragment.quiz-type { opacity: 0; clip-path: inset(0 100% 0 0); transition: clip-path .65s steps(24, end), opacity .2s; }
.reveal .slides .fragment.quiz-type.visible { opacity: 1; clip-path: inset(0 0 0 0); }

.reveal .slides .fragment.quiz-underline { opacity: 0; background-size: 0 3px; transition: opacity .3s, background-size .5s ease; }
.reveal .slides .fragment.quiz-underline.visible {
  opacity: 1;
  background-image: linear-gradient(#ef6c00, #ef6c00);
  background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 3px;
}

/* ===== 自定义设置面板 ===== */
#quiz-gear {
  position: fixed; right: 14px; top: 12px; z-index: 999;
  width: 38px; height: 38px; border: 1px solid #cfd8dc; border-radius: 50%;
  background: #fff; color: #37474f; font-size: 20px; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.16); line-height: 1;
}
#quiz-gear:hover { background: #eceff1; }
#quiz-panel {
  position: fixed; right: 14px; top: 58px; z-index: 999; width: 268px;
  max-height: 82vh; overflow-y: auto;
  background: #fff; border: 1px solid #cfd8dc; border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,.22);
  font: 13px/1.5 -apple-system, "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  color: #263238; padding: 12px 14px 14px;
}
#quiz-panel[hidden] { display: none; }
#quiz-panel h3 { margin: 0 0 8px; font-size: 14px; display: flex; justify-content: space-between; }
#quiz-panel h3 button { border: 0; background: none; font-size: 17px; cursor: pointer; color: #78909c; }
#quiz-panel label { display: block; margin: 7px 0 2px; color: #546e7a; }
#quiz-panel select, #quiz-panel input[type="range"] { width: 100%; box-sizing: border-box; }
#quiz-panel select { padding: 3px 5px; border: 1px solid #cfd8dc; border-radius: 4px; background: #fafafa; }
#quiz-panel .qp-row { display: flex; align-items: center; gap: 6px; margin: 8px 0 2px; }
#quiz-panel .qp-row label { margin: 0; flex: 1; }
#quiz-panel .qp-tip { margin-top: 10px; padding-top: 8px; border-top: 1px dashed #cfd8dc; color: #78909c; font-size: 11px; }
#quiz-panel .qp-btn {
  width: 100%; margin-top: 9px; padding: 5px; cursor: pointer;
  border: 1px solid #cfd8dc; border-radius: 4px; background: #f5f7f8;
}


/* ===== 左下角工具栏：完整 SVG 图标 + 中文标签 ===== */
#customcontrols > button { display: none; }        /* 插件的折叠按钮（fa 字体缺失）*/
#customcontrols ul {
  display: flex !important; gap: 2px;
  left: 50% !important; right: auto !important; bottom: 16px !important;
  transform: translateX(-50%);
  padding: 6px 8px; background: rgba(255,255,255,.95);
  border: 1px solid #d6e2ee; border-radius: 10px;
  box-shadow: 0 3px 14px rgba(0,0,0,.14);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, visibility .22s;
}
#customcontrols ul.cc-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.reveal #customcontrols li button {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 42px; padding: 4px 3px; line-height: 1.1;
  color: #1565c0; background: transparent; border: 0; cursor: pointer;
}
.reveal #customcontrols li button:hover { background: #e3f2fd; border-radius: 5px; }
.reveal #customcontrols li button svg {
  width: 19px; height: 19px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.reveal #customcontrols .cc-label { font-size: 11px; margin-top: 2px; }
/* chalkboard 插件自身的颜色按钮也用 fa，补上字体族 */
.reveal .fa, .reveal .fas, .reveal i.fa {
  font-family: "Font Awesome 5 Free", sans-serif !important; font-weight: 900;
}

/* ===== 右下角十字导航（左右=切题，上下=答案/解析/回翻）===== */
#quiz-nav {
  position: fixed; right: 14px; bottom: 34px; z-index: 998;
  display: grid; grid-template-columns: repeat(3, 34px);
  grid-template-rows: repeat(3, 30px); gap: 2px; place-items: center;
  font: 13px/1 -apple-system, "Noto Sans CJK SC", sans-serif;
}
#quiz-nav button {
  width: 32px; height: 28px; padding: 0; cursor: pointer;
  border: 1px solid #d6e2ee; border-radius: 6px;
  background: rgba(255,255,255,.92); color: #1565c0; font-size: 17px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
#quiz-nav button:hover { background: #e3f2fd; border-color: #90caf9; }
#quiz-nav button:active { transform: translateY(1px); }
#quiz-nav .nav-up { grid-area: 1 / 2; }
#quiz-nav .nav-left { grid-area: 2 / 1; }
#quiz-nav .nav-right { grid-area: 2 / 3; }
#quiz-nav .nav-down { grid-area: 3 / 2; }
#quiz-nav .nav-center {
  grid-area: 2 / 2; font-size: 10px; color: #90a4ae; pointer-events: none;
}

/* ===== 答案/解析放不下时给自身加滚动条 ===== */
.reveal .slides .q-answer-block.scrollable,
.reveal .slides .q-solution.scrollable {
  box-sizing: border-box;
  overflow-y: scroll; scrollbar-width: thin; scrollbar-color: #546e7a #eceff1;
  scrollbar-gutter: stable; padding-right: 10px;
}
/* 自动分页时被压成一行的选项：图片随列宽收缩，不浮动、不产生横向滚动条 */
.reveal .slides .q-options[data-opt-compact] .q-figure {
  float: none; width: 100%; max-width: 100%; margin: .3em 0;
}
.reveal .slides .q-options[data-opt-compact] img.q-img {
  width: auto; max-width: 100%; max-height: 220px;
}
.reveal .slides .scrollable::-webkit-scrollbar { width: 10px; }
.reveal .slides .scrollable::-webkit-scrollbar-thumb { background: #78909c; border-radius: 5px; }
.reveal .slides .scrollable::-webkit-scrollbar-track { background: #eceff1; border-radius: 5px; }
/* ===== 动态模式：题库选择条 ===== */
#live-bar {
  position: fixed; left: 14px; top: 12px; z-index: 999;
  display: flex; align-items: center; gap: 6px; padding: 6px 9px;
  background: rgba(255,255,255,.95); border: 1px solid #d6e2ee; border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  font: 12px/1.4 -apple-system, "Noto Sans CJK SC", sans-serif; color: #37474f;
}
#live-bar select, #live-bar input {
  border: 1px solid #cfd8dc; border-radius: 4px; padding: 3px 5px;
  font: inherit; background: #fff; max-width: 210px;
}
#live-bar input[type="number"] { width: 64px; }
#live-bar button {
  border: 1px solid #bbdefb; background: #e3f2fd; color: #0d47a1;
  border-radius: 4px; padding: 4px 8px; cursor: pointer; font: inherit;
}
#live-bar button:hover { background: #bbdefb; }
#live-bar .live-status { color: #78909c; max-width: 260px; }
#live-bar a { color: #1565c0; text-decoration: none; }


/* ===== 排版：题干 / 答案 / 解析 / 章节 各自独立 class =====
   字体、字号、颜色由 config.json 的 typography.* 编译成 CSS 变量；
   ⚙ 面板可实时覆盖。同一 class 内不再有零散的字号/颜色设置。 */
.reveal .slides .q-stem,
.reveal .slides .q-head,
.reveal .slides .q-options {
  font-family: var(--q-stem-font);
  font-size: calc(var(--q-stem-size) * var(--quiz-font-scale));
  color: var(--q-stem-color);
}
.reveal .slides .q-answer,
.reveal .slides .q-answer-block,
.reveal .slides .ans-inline {
  font-family: var(--q-answer-font);
  font-size: calc(var(--q-answer-size) * var(--quiz-font-scale));
  color: var(--q-answer-color);
}
.reveal .slides .q-solution {
  font-family: var(--q-solution-font);
  font-size: calc(var(--q-solution-size) * var(--quiz-font-scale));
  color: var(--q-solution-color);
}
.reveal .slides .q-chapter,
.reveal .slides .chapter-page {
  font-family: var(--q-chapter-font);
  font-size: calc(var(--q-chapter-size) * var(--quiz-font-scale));
  color: var(--q-chapter-color);
}

/* 统一策略：上面的装饰元素（题号/标签/上标/下划线/徽章）已全部显式 inherit，
   字体、字号、颜色只由段落自身的语义 class 提供；KaTeX 子树保留自己的字体体系。 */

/* 排版设置面板 */
#quiz-panel .qp-typo { margin-top: 10px; border-top: 1px dashed #cfd8dc; padding-top: 8px; }
#quiz-panel .qp-typo summary { cursor: pointer; color: #1565c0; font-weight: 600; }
#quiz-panel .qp-group { margin: 8px 0 10px; padding: 7px 8px; background: #f7f9fa; border-radius: 6px; }
#quiz-panel .qp-group b { display: block; margin-bottom: 4px; color: #37474f; font-size: 12px; }
#quiz-panel .qp-group label { display: inline-block; width: 38px; margin: 3px 0 0; font-size: 11px; }
#quiz-panel .qp-group input[type="text"] { width: calc(100% - 46px); box-sizing: border-box; }
#quiz-panel .qp-group input[type="number"] { width: 62px; }
#quiz-panel .qp-group input[type="color"] { width: 44px; height: 24px; padding: 0; border: 1px solid #cfd8dc; vertical-align: middle; }
#quiz-panel .qp-group select { margin-bottom: 3px; }


/* ===== 左下角自动播放：按钮 + 状态条 ===== */
.reveal #customcontrols .svg-play { fill: currentColor !important; stroke: none !important; }
.reveal #customcontrols #cc-autoplay button.playing {
  background: #e8f5e9; border-radius: 5px; color: #2e7d32;
}

/* 知识讲解里的二级标题 */
.reveal .slides .chapter-secondary h3 { margin-top: 1.1em; font-size: inherit; font-weight: 700; }


/* CDN 图片失效时的占位文字（继承所在段落的字号与颜色，不破坏统一排版） */
.reveal .slides .q-img-missing {
  font-size: inherit; color: inherit; opacity: .65;
  font-style: italic; letter-spacing: .02em;
}


/* 目录（overview）里的页码选择条 */
#quiz-toc-bar {
  display: none;
  position: fixed; left: 50%; top: 74px; transform: translateX(-50%); z-index: 1000;
  align-items: center; gap: 8px; padding: 8px 14px;
  background: rgba(255,255,255,.97); border: 1px solid #cfd8dc; border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
  font: 13px/1.5 -apple-system, "Noto Sans CJK SC", sans-serif; color: #37474f;
}
#quiz-toc-select { max-width: 340px; padding: 3px 6px; border: 1px solid #cfd8dc; border-radius: 4px; font: inherit; }
#quiz-toc-bar .toc-tip { color: #78909c; font-size: 11px; }


/* ===== 移动端：题库选择条响应式 + 横屏提示 ===== */
#quiz-orientation-hint {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 12000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, .9);
  color: #fff;
  font: 15px/1.65 -apple-system, "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}
#quiz-orientation-hint.show { display: flex; }
.quiz-orientation-card {
  width: min(92vw, 420px);
  padding: 26px 24px 22px;
  border-radius: 18px;
  background: #fff;
  color: #263238;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}
.quiz-orientation-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #e3f2fd;
  color: #1565c0;
  font-size: 34px;
  line-height: 58px;
}
.quiz-orientation-card strong { display: block; font-size: 20px; }
.quiz-orientation-card p { margin: 8px 0 18px; color: #607d8b; }
.quiz-orientation-actions { display: flex; gap: 10px; justify-content: center; }
.quiz-orientation-actions button {
  border: 1px solid #90caf9;
  border-radius: 8px;
  padding: 9px 15px;
  background: #e3f2fd;
  color: #0d47a1;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.quiz-orientation-actions button:first-child { background: #1565c0; border-color: #1565c0; color: #fff; }
.quiz-orientation-card small { display: block; min-height: 1.4em; margin-top: 12px; color: #e65100; }

@media (max-width: 900px) {
  body { --quiz-mobile-bar-height: 86px; }
  #live-bar {
    left: 6px;
    right: 6px;
    top: 6px;
    display: grid;
    grid-template-columns: 74px auto minmax(0, 1fr);
    gap: 5px 6px;
    padding: 6px;
    border-radius: 10px;
    font-size: 12px;
  }
  #live-bar .live-paper-label { display: none; }
  #live-bar #live-paper {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 30px;
    font-size: 13px;
  }
  #live-bar #live-limit {
    width: 74px;
    min-width: 0;
    height: 28px;
    box-sizing: border-box;
  }
  #live-bar #live-get { height: 28px; padding: 3px 9px; white-space: nowrap; }
  #live-bar .live-status {
    max-width: none;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    align-self: center;
  }
  .reveal {
    top: var(--quiz-mobile-bar-height) !important;
    height: calc(100vh - var(--quiz-mobile-bar-height)) !important;
  }
  body.quiz-mobile-portrait .reveal { visibility: hidden; }
}

@media (max-width: 900px) and (orientation: landscape) {
  body { --quiz-mobile-bar-height: 78px; }
  #live-bar {
    grid-template-columns: 68px auto minmax(0, 1fr);
    padding: 4px 6px;
  }
  #live-bar #live-paper { height: 27px; font-size: 12px; }
  #live-bar #live-limit, #live-bar #live-get { height: 26px; }
}

@media (max-width: 420px) {
  #live-bar { grid-template-columns: 68px auto minmax(0, 1fr); }
  #live-bar #live-limit { width: 68px; }
  .quiz-orientation-actions { flex-direction: column; }
}
