/* 六级总览与六级翻译写作页：基础令牌复用 intensive.css，这里只补本模块专用样式。 */

.cet6-page .piece-navigation,
.cet6-extra-page .piece-navigation {
  position: static;
  top: auto;
  max-height: none;
  overflow: visible;
}

/* ------------------------------------------------------------ 六级总览 */

.cet6-hub {
  padding: 22px 26px 20px;
  background: linear-gradient(180deg, #f7f8f3, #ffffff);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(14, 21, 49, 0.05);
}

.cet6-hub h2 {
  margin: 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.25;
}

.cet6-hub > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.cet6-hub-grid {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(186px, 1fr));
  gap: 9px;
}

.cet6-hub-card {
  padding: 12px 13px;
  display: grid;
  gap: 5px;
  color: var(--forest);
  background: #f8f7f4;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.cet6-hub-card:hover {
  border-color: #b4b8ca;
  background: #f1f2f6;
}

.cet6-hub-card strong {
  font-size: 13px;
  font-weight: 800;
}

.cet6-hub-card span {
  color: #828695;
  font-size: 10.5px;
  line-height: 1.6;
}

.cet6-hub-card-badge {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--forest);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}

.cet6-hub-card.is-accent .cet6-hub-card-badge {
  background: var(--blue);
}

.cet6-hub-card.is-warm .cet6-hub-card-badge {
  background: var(--gold);
}

.cet6-hub-stats {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cet6-hub-stat {
  padding: 7px 11px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--muted);
  background: #f7f6f3;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10.5px;
}

.cet6-hub-stat strong {
  color: var(--forest-deep);
  font-size: 13px;
}

/* ------------------------------------------------ 开源思路借鉴署名区 */

.cet6-os {
  margin-top: 18px;
  padding: 22px 26px 20px;
  background: #f9f8f6;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cet6-os h2 {
  margin: 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.3;
}

.cet6-os > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.cet6-os-list {
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 9px;
  list-style: none;
}

.cet6-os-item {
  padding: 11px 13px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cet6-os-item strong {
  display: block;
  color: var(--forest);
  font-size: 12.5px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.cet6-os-item em {
  margin-top: 4px;
  display: block;
  color: #828695;
  font-size: 10.5px;
  font-style: normal;
}

.cet6-os-item span {
  margin-top: 6px;
  display: block;
  color: #5d616f;
  font-size: 11px;
  line-height: 1.7;
}

.cet6-os-item a {
  color: var(--blue);
  text-decoration: none;
}

.cet6-os-item a:hover {
  text-decoration: underline;
}

.cet6-os-warn {
  margin: 12px 0 0;
  padding: 11px 13px;
  color: #7b4a1d;
  background: #fdf4e6;
  border: 1px solid #ecd4ad;
  border-radius: 8px;
  font-size: 11.5px;
  line-height: 1.75;
}

/* --------------------------------------------------- 六级翻译 / 写作 */

.cet6-x-section {
  margin-top: 16px;
  padding: 20px 22px 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(14, 21, 49, 0.04);
}

.cet6-x-section:first-child {
  margin-top: 0;
}

.cet6-x-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}

.cet6-x-kicker {
  margin: 0;
  color: #8a8d9a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cet6-x-section-head h2 {
  margin: 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.3;
}

.cet6-x-directions {
  margin: 10px 0 0;
  padding: 11px 13px;
  color: #4c505f;
  background: #f5f6f8;
  border: 1px solid var(--line);
  border-left: 3px solid var(--forest);
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.75;
}

.cet6-x-meta-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cet6-x-chip {
  padding: 5px 10px;
  color: var(--forest);
  background: #eeeff3;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10.5px;
}

.cet6-x-group-title {
  margin: 18px 0 0;
  color: var(--forest-deep);
  font-size: 13px;
  font-weight: 800;
}

.cet6-x-list {
  margin: 9px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.cet6-x-item {
  padding: 10px 12px;
  background: #faf9f7;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.cet6-x-item strong {
  display: block;
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
}

.cet6-x-item span {
  margin-top: 5px;
  display: block;
  color: #555967;
  font-size: 11.5px;
  line-height: 1.8;
}

/* 翻译逐句 */

.cet6-x-sentences {
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}

.cet6-x-sentence {
  padding: 13px 14px;
  background: #fcfbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cet6-x-sentence-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cet6-x-sentence-no {
  padding: 3px 8px;
  color: #ffffff;
  background: var(--forest);
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 800;
}

.cet6-x-cn {
  margin: 10px 0 0;
  color: #3f4351;
  font-size: 13px;
  line-height: 1.9;
}

.cet6-x-en {
  margin: 8px 0 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13.5px;
  line-height: 1.95;
}

.cet6-x-en .word-token {
  color: inherit;
  font: inherit;
}

.cet6-x-block {
  margin-top: 12px;
  padding: 11px 12px;
  background: #f7f6f3;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.cet6-x-block > strong {
  display: block;
  color: var(--forest);
  font-size: 11.5px;
  font-weight: 800;
}

.cet6-x-block > p {
  margin: 6px 0 0;
  color: #555967;
  font-size: 11.5px;
  line-height: 1.8;
}

.cet6-x-ref {
  margin-top: 12px;
  padding: 11px 13px;
  background: #eeeff4;
  border: 1px solid #cfd2df;
  border-radius: 6px;
}

.cet6-x-ref-label {
  display: block;
  color: #5d637a;
  font-size: 10.5px;
  font-weight: 800;
}

.cet6-x-ref p {
  margin: 6px 0 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.9;
}

.cet6-x-answer {
  display: grid;
  gap: 9px;
}

.cet6-x-answer-hint {
  margin: 0;
  padding: 10px 12px;
  color: #8a6a3d;
  background: #fdf4e6;
  border: 1px dashed #ecd4ad;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.7;
}

body.hides-answers .cet6-x-answer > *:not(.cet6-x-answer-hint) {
  display: none;
}

.cet6-x-tag {
  margin-right: 7px;
  padding: 2px 7px;
  display: inline-block;
  color: #ffffff;
  background: var(--forest);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
}

.cet6-x-fact-core,
.cet6-x-rubric-row em {
  margin-top: 4px;
  display: block;
  color: #434960;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 700;
}

/* 写作 */

.cet6-x-writing-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 10px;
}

.cet6-x-card {
  padding: 14px 15px;
  background: #fcfbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cet6-x-card > h3 {
  margin: 0;
  color: var(--forest-deep);
  font-size: 13px;
  font-weight: 800;
}

.cet6-x-prompt {
  margin: 10px 0 0;
  color: #3f4351;
  font-size: 12.5px;
  line-height: 1.85;
}

.cet6-x-outline {
  margin: 9px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 7px;
}

.cet6-x-outline li {
  color: #555967;
  font-size: 11.5px;
  line-height: 1.8;
}

.cet6-x-outline li em {
  display: block;
  margin-top: 3px;
  color: #7b7e8b;
  font-size: 11px;
  font-style: normal;
}

.cet6-x-essay {
  margin: 10px 0 0;
  display: grid;
  gap: 9px;
}

.cet6-x-essay p {
  margin: 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12.5px;
  line-height: 1.95;
}

.cet6-x-essay-zh {
  color: #6d717f;
  font-family: inherit;
  font-size: 11.5px;
}

.cet6-x-rubric {
  margin: 9px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.cet6-x-rubric-row {
  padding: 9px 11px;
  background: #f7f6f3;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.cet6-x-rubric-row strong {
  display: block;
  color: var(--forest);
  font-size: 11.5px;
}

.cet6-x-rubric-row span {
  margin-top: 4px;
  display: block;
  color: #5d616f;
  font-size: 11px;
  line-height: 1.75;
}

.cet6-x-pitfalls {
  margin: 12px 0 0;
  padding: 12px 13px;
  background: #fdf4e6;
  border: 1px solid #ecd4ad;
  border-radius: 6px;
}

.cet6-x-pitfalls strong {
  display: block;
  color: #7b4a1d;
  font-size: 11.5px;
  font-weight: 800;
}

.cet6-x-pitfalls ul {
  margin: 7px 0 0;
  padding-left: 19px;
  display: grid;
  gap: 5px;
}

.cet6-x-pitfalls li {
  color: #7b5c36;
  font-size: 11.5px;
  line-height: 1.75;
}

.cet6-x-draft {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.cet6-x-draft textarea {
  width: 100%;
  min-height: 132px;
  padding: 11px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.7;
  resize: vertical;
}

.cet6-x-draft textarea:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

.cet6-x-draft-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #7b7e8b;
  font-size: 10.5px;
}

.cet6-x-draft-count.is-over {
  color: var(--coral);
  font-weight: 800;
}

.cet6-x-empty {
  margin: 12px 0 0;
  padding: 12px 13px;
  color: #6d717f;
  background: #f8f7f5;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  font-size: 11.5px;
  line-height: 1.75;
}

body.is-english-only .cet6-x-cn,
body.is-english-only .cet6-x-directions,
body.is-english-only .cet6-x-item span,
body.is-english-only .cet6-x-block,
body.is-english-only .cet6-x-outline li em,
body.is-english-only .cet6-x-essay-zh,
body.is-english-only .cet6-x-fact-core {
  display: none;
}

body.is-chinese-only .cet6-x-en,
body.is-chinese-only .cet6-x-essay p:not(.cet6-x-essay-zh) {
  display: none;
}

@media (max-width: 760px) {
  .cet6-hub,
  .cet6-os {
    padding: 18px 16px 16px;
  }

  .cet6-x-section {
    padding: 16px 15px 15px;
  }

  .cet6-x-writing-grid {
    grid-template-columns: 1fr;
  }
}
