/* 任务七练习共用界面。与课程站 portal.css 同一套蓝、粉、黄。 */
.quiz-shell {
  --ink: #2a2140;
  --ink-2: #3d3554;
  --muted: #6b5d7a;
  --line: #ffd0de;
  --line-2: #ffe6ee;
  --paper: #fff6f0;
  --bg: #fff6f0;
  --card: #fff;
  --head: #2c3f96;
  --head-2: #3554d4;
  --navy: #3554d4;
  --navy2: #2c3f96;
  --deep: #2c3f96;
  --teal: #3554d4;
  --teal-2: #5b8def;
  --teal-3: #8eb0ff;
  --teal-soft: #eef3ff;
  --gold-2: #ffc53d;
  --gold2: #ffe7a8;
  --brass: #ffc53d;
  --pink: #ff3d73;
  --ok: #0c7a58;
  --ok-soft: #e6f8f1;
  --okbg: #e6f8f1;
  --bad: #9b2c2c;
  --bad-soft: #fdecec;
  --badbg: #fdecec;
  --warn: #8a5a00;
  --warnbg: #fff6e0;
  --gold-soft: #fff6e0;
  --debit: #3554d4;
  --credit: #e4376c;
  --shadow: 0 10px 28px rgba(53, 84, 212, .08);
  --sh-1: 0 1px 2px rgba(42, 33, 64, .05);
  --sh-2: 0 10px 28px rgba(53, 84, 212, .08);
  --sh-3: 0 16px 40px rgba(53, 84, 212, .12);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, #ffd0e6 0%, transparent 34%),
    radial-gradient(circle at 92% 10%, #c8e4ff 0%, transparent 38%),
    radial-gradient(circle at 50% 100%, #ffe7a3 0%, transparent 30%),
    #ffe9d6;
}

.quiz-shell .app {
  background: transparent;
}

.quiz-shell > header,
.quiz-shell .top {
  background: linear-gradient(90deg, #3d4ea8, #5b8def);
  color: #fff8f2;
  box-shadow: none;
  min-height: 72px;
}

.quiz-shell > header::after { display: none; }

.quiz-shell .brand small,
.quiz-shell .top .brand small {
  color: #f3e2c2;
  letter-spacing: .12em;
  font-size: 12px;
}

.quiz-shell .brand strong,
.quiz-shell .top .brand h1,
.quiz-shell .top .brand strong {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.quiz-shell .brand .by,
.quiz-shell .by,
.quiz-shell .who {
  color: #2c3f96;
  background: rgba(255, 255, 255, .88);
  border: 0;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  letter-spacing: 0;
  margin-left: 8px;
}

.quiz-shell .mark {
  background: #ffc53d;
  color: #2c3f96;
  box-shadow: none;
}

.brass-bar,
.quiz-shell .brass {
  height: 6px;
  background: #ffc53d;
  flex: 0 0 auto;
}

.quiz-shell .crumb,
.quiz-shell .tool,
.quiz-shell > header nav button {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  box-shadow: none;
}

.quiz-shell > header nav button::after { display: none; }

.quiz-shell .crumb:hover,
.quiz-shell .tool:hover,
.quiz-shell > header nav button:hover,
.quiz-shell .crumb.on,
.quiz-shell > header nav button.active {
  background: #ffc53d;
  color: #2c3f96;
  font-weight: 700;
}

.quiz-shell .foot {
  background: #2c3f96;
  color: #e7eeff;
  min-height: 64px;
}

.quiz-shell .sitefoot {
  max-width: none;
  margin: 0;
  background: #2c3f96;
  color: #e7eeff;
  text-align: center;
  letter-spacing: .04em;
  font-size: 14px;
  padding: 16px 20px 18px;
}

.quiz-shell .foot .btn,
.quiz-shell .foot .btn.ghost,
.quiz-shell .foot .btn.teal {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border-radius: 999px;
}

.quiz-shell .foot .btn.gold,
.quiz-shell .foot .btn.primary {
  background: #ffc53d;
  color: #2c3f96;
}

.quiz-shell .btn.primary,
.quiz-shell .btn.gold,
.quiz-shell .open,
.quiz-shell .choice.primary {
  background: #3554d4;
  color: #fff;
  border-color: #3554d4;
  border-radius: 999px;
  box-shadow: none;
}

.quiz-shell .btn.ghost {
  background: #fff;
  color: #3554d4;
  border: 1.5px solid #c9d4f8;
  border-radius: 999px;
}

.quiz-shell .main .wrap,
.quiz-shell main {
  max-width: 1180px;
}

.quiz-shell main {
  margin: 0 auto;
  width: 100%;
}

.quiz-shell .main {
  max-width: none;
  width: auto;
}

.quiz-shell .panel,
.quiz-shell .q-card,
.quiz-shell .home-card,
.quiz-shell .flow-card,
.quiz-shell .task-card,
.quiz-shell .acard,
.quiz-shell .lesson,
.quiz-shell .side,
.quiz-shell .detail,
.quiz-shell .map,
.quiz-shell .dim-card,
.quiz-shell .cmp-card,
.quiz-shell .app-main,
.quiz-shell .axis,
.quiz-shell .tip-card,
.quiz-shell .lec-card,
.quiz-shell .diag-box,
.quiz-shell .diag-out,
.quiz-shell .stage-card,
.quiz-shell .step-pane,
.quiz-shell .step-card,
.quiz-shell .wrong,
.quiz-shell .bar-card,
.quiz-shell .stage {
  background: #fff;
  border: 2px solid #ffd0de;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(53, 84, 212, .06);
}

.quiz-shell .stage::before { display: none; }

.quiz-shell .kicker,
.quiz-shell .hero h2,
.quiz-shell .q-card h2,
.quiz-shell .panel h2 {
  color: #2a2140;
}

.quiz-shell .home-card h3,
.quiz-shell .flow-card h3,
.quiz-shell .panel h3,
.quiz-shell .acard .aname,
.quiz-shell .task-card b {
  color: #3554d4;
}

.quiz-shell .kicker { color: #3554d4; }

.quiz-shell .c1 .no,
.quiz-shell .c2 .no,
.quiz-shell .c3 .no,
.quiz-shell .c4 .no,
.quiz-shell .no,
.quiz-shell .idx,
.quiz-shell .slot .n {
  background: #eef3ff;
  color: #3554d4;
}

.quiz-shell .opt.on,
.quiz-shell .chip.on,
.quiz-shell .tag-btn.on,
.quiz-shell .choice.on,
.quiz-shell .opt.sel,
.quiz-shell .menu-btn.on,
.quiz-shell .lesson-link.on,
.quiz-shell .task-card.on,
.quiz-shell .act-btn.on,
.quiz-shell .rev-card.on,
.quiz-shell .app-btn.on,
.quiz-shell .why.on,
.quiz-shell .map-item.on,
.quiz-shell .cmp-card.on,
.quiz-shell .fix-row.on,
.quiz-shell table.data tr.on,
.quiz-shell table.data tr.clickable:hover {
  border-color: #3554d4;
  background: #eef3ff;
  box-shadow: 0 0 0 2px rgba(53, 84, 212, .16);
}

.quiz-shell .opt:hover,
.quiz-shell .chip:hover,
.quiz-shell .choice:hover,
.quiz-shell .home-card:hover,
.quiz-shell .acard:hover,
.quiz-shell .task-card:hover {
  border-color: #3554d4;
}

.quiz-shell .acard .astat,
.quiz-shell .home-card .more {
  color: #3554d4;
  font-weight: 700;
}

.quiz-shell table.data th,
.quiz-shell .v-sample th,
.quiz-shell thead th {
  background: #eef3ff;
  color: #3554d4;
}

.quiz-shell .define,
.quiz-shell .map-root,
.quiz-shell .voucher-hd,
.quiz-shell .type,
.quiz-shell .kw {
  background: #2c3f96;
  color: #fff;
}

.quiz-shell .act-btn.on .idx,
.quiz-shell .q-nav button.on,
.quiz-shell .qdots button.on,
.quiz-shell .dot.on {
  background: #3554d4;
  color: #fff;
}

.quiz-shell .hbar {
  height: 4px;
  background: rgba(53, 84, 212, .15);
}

.quiz-shell .proghead,
.quiz-shell .proghead b { color: #fff3c4; }

@media (max-width: 900px) {
  .quiz-shell > header,
  .quiz-shell .top {
    height: auto;
    flex-wrap: wrap;
    padding: 10px 12px;
  }
}
