/**
 * L00 主谓宾 · 主系表 · 句子骨架讲义
 */

body.grammar-handout-page.l00-handout {
  --l00-j-mint: #5dbeb1;
  --l00-j-sky: #6ec8e8;
  --l00-s-navy: #1e3a5f;
  --l00-s-orange: #e07c3e;
  background:
    radial-gradient(circle at 12% 12%, rgba(224, 242, 254, 0.6) 0%, transparent 42%),
    radial-gradient(circle at 88% 88%, rgba(209, 250, 229, 0.45) 0%, transparent 40%),
    linear-gradient(168deg, #e0f2fe 0%, #fff7ed 38%, #f8fafc 100%);
}

body.grammar-handout-page main.sheet.l00-handout {
  max-width: var(--gh-sheet-max, 900px);
}

body.grammar-handout-page.l00-handout .handout-cover {
  position: relative;
  margin: -0.25rem -0.5rem 1.25rem;
  padding: 2.5rem 1.5rem 2.75rem;
  border-radius: 10px 24px 12px 20px;
  overflow: hidden;
  text-align: center;
  color: #1a2a3a;
}

body.grammar-handout-page.l00-handout .handout-cover__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, #e0f2fe 0%, #fff7ed 42%, #fff 100%),
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(14, 165, 233, 0.2), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 85%, rgba(245, 158, 11, 0.12), transparent 50%);
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: inherit;
  z-index: 0;
}

body.grammar-handout-page.l00-handout .handout-cover__bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0ea5e9, #5dbeb1, #e07c3e);
}

body.grammar-handout-page.l00-handout .handout-cover__inner {
  position: relative;
  z-index: 1;
  max-width: 30rem;
  margin: 0 auto;
}

body.grammar-handout-page.l00-handout .handout-cover__brand {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #0369a1;
}

body.grammar-handout-page.l00-handout .handout-cover__en {
  margin: 0 0 0.35rem;
  font-family: "Georgia", "Times New Roman", "Songti SC", serif;
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0.08em;
  color: #4a7c9b;
}

body.grammar-handout-page.l00-handout .handout-cover__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 5vw, 2.45rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.25;
  color: #0d1b2a;
}

body.grammar-handout-page.l00-handout .handout-cover__rule {
  width: 3.5rem;
  height: 3px;
  margin: 0 auto 1rem;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #0ea5e9, transparent);
}

body.grammar-handout-page.l00-handout .handout-cover__focus {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  font-weight: 500;
  color: #475569;
}

body.grammar-handout-page.l00-link-handout .handout-cover--link .handout-cover__bg {
  background:
    linear-gradient(145deg, #ffedd5 0%, #fff7ed 42%, #fff 100%),
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(224, 124, 62, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 85%, rgba(14, 165, 233, 0.08), transparent 50%);
  border-color: rgba(224, 124, 62, 0.28);
}

body.grammar-handout-page.l00-link-handout .handout-cover--link .handout-cover__bg::before {
  background: linear-gradient(90deg, #e07c3e, #f59e0b, #0ea5e9);
}

body.grammar-handout-page.l00-link-handout .handout-cover--link .handout-cover__brand {
  color: #9a3412;
}

body.grammar-handout-page.l00-link-handout .handout-cover--link .handout-cover__rule {
  background: linear-gradient(90deg, transparent, #e07c3e, transparent);
}

body.grammar-handout-page.l00-link-handout .data th {
  background: rgba(224, 124, 62, 0.88);
}

body.grammar-handout-page.l00-link-handout h2.section-title {
  color: #9a3412;
  border-bottom-color: rgba(224, 124, 62, 0.35);
}

body.grammar-handout-page.l00-link-handout .note {
  border-color: rgba(224, 124, 62, 0.4);
  background: rgba(255, 247, 237, 0.92);
}

body.grammar-handout-page.l00-link-handout .type-group h4 {
  background: rgba(255, 237, 213, 0.9);
  color: #9a3412;
}

body.grammar-handout-page.l00-handout h2.section-title {
  font-size: 1.1rem;
  color: #0369a1;
  margin: 1.2rem 0 0.65rem;
  padding-bottom: 0.3rem;
  border-bottom: 3px solid rgba(14, 165, 233, 0.35);
}

body.grammar-handout-page.l00-handout .map-hint {
  margin: 0.55rem 0 0;
  font-size: 0.86rem;
  color: var(--gh-ink-soft, #5d4037);
  line-height: 1.55;
}

body.grammar-handout-page.l00-handout .note {
  font-size: 0.86rem;
  color: var(--gh-ink-soft, #5d4037);
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  border: 2px dashed rgba(14, 165, 233, 0.4);
  background: rgba(240, 249, 255, 0.9);
  margin: 0.45rem 0 0.7rem;
  font-weight: 600;
}

body.grammar-handout-page.l00-handout .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.5rem 0;
}

body.grammar-handout-page.l00-handout .card {
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 2px solid rgba(93, 64, 55, 0.2);
  background: rgba(255, 255, 255, 0.9);
  break-inside: avoid;
  page-break-inside: avoid;
}

body.grammar-handout-page.l00-handout .card strong {
  color: #0369a1;
}

body.grammar-handout-page.l00-handout .card--svo {
  border-left: 5px solid var(--l00-j-mint);
}

body.grammar-handout-page.l00-handout .card--link {
  border-left: 5px solid var(--l00-s-orange);
}

body.grammar-handout-page.l00-handout ul.compact {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
}

body.grammar-handout-page.l00-handout .compact li {
  margin: 0.28rem 0;
}

body.grammar-handout-page.l00-handout .panel-count {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 700;
  margin: 0 0 0.45rem;
}

body.grammar-handout-page.l00-handout .type-group {
  margin: 0.65rem 0 0.85rem;
  break-inside: avoid;
  page-break-inside: avoid;
}

body.grammar-handout-page.l00-handout .type-group h4 {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 900;
  color: #0369a1;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  background: rgba(224, 242, 254, 0.85);
}

body.grammar-handout-page.l00-handout .type-group h4.tag-doing {
  background: rgba(209, 250, 229, 0.9);
  color: #065f46;
}

body.grammar-handout-page.l00-handout .type-group h4.tag-to_do {
  background: rgba(219, 234, 254, 0.9);
  color: #1e40af;
}

body.grammar-handout-page.l00-handout .type-group h4.tag-bare_do {
  background: rgba(255, 237, 213, 0.95);
  color: #9a3412;
}

body.grammar-handout-page.l00-handout table.data {
  width: 100%;
  border-collapse: collapse;
  margin: 0.35rem 0 0.5rem;
  font-size: 0.78rem;
  background: #fff;
  border: 2px solid rgba(14, 165, 233, 0.18);
}

body.grammar-handout-page.l00-handout .data th,
body.grammar-handout-page.l00-handout .data td {
  padding: 0.38rem 0.45rem;
  border: 1px solid rgba(128, 91, 47, 0.12);
  text-align: left;
  vertical-align: top;
}

body.grammar-handout-page.l00-handout .data th {
  background: rgba(14, 165, 233, 0.88);
  color: #fff;
  font-weight: 900;
}

body.grammar-handout-page.l00-handout .data tr:nth-child(even) td {
  background: rgba(240, 249, 255, 0.5);
}

body.grammar-handout-page.l00-handout .data .col-no {
  width: 2rem;
  text-align: center;
  font-weight: 900;
}

body.grammar-handout-page.l00-handout .data .en {
  font-weight: 700;
  color: #0f172a;
}

body.grammar-handout-page.l00-handout .data .zh {
  color: #64748b;
  font-size: 0.74rem;
  line-height: 1.45;
}

body.grammar-handout-page.l00-handout .data .logic {
  font-size: 0.72rem;
  color: #5d4037;
  line-height: 1.4;
}

body.grammar-handout-page.l00-handout .mark-pattern {
  font-weight: 900;
  color: #0369a1;
  white-space: nowrap;
}

@media (max-width: 720px) {
  body.grammar-handout-page.l00-handout .grid-2 {
    grid-template-columns: 1fr;
  }
}

