.briefing-meta {
  font-size: 12px;
  color: #68716e;
  margin: -20px 0 30px;
}

/* The shared .tabs component was designed for 4 short labels (Music page).
   A global mobile rule (MOBILE_HORIZONTAL_LOCK in styles.css) forces .tabs into
   a 4-column grid with overflow:hidden under 500px, which clips this page's
   longer 8-category labels. Override display/overflow here, not just flex-wrap,
   or those properties keep coming from that global rule. */
.briefing-section .tabs {
  display: flex;
  flex-wrap: wrap;
  row-gap: 6px;
  overflow: visible;
  width: auto;
}

.briefing-grid {
  display: grid;
  gap: 26px;
}

.briefing-card {
  position: relative;
  background: #fffaf1;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  padding: 26px 28px;
  overflow-wrap: anywhere;
}

.briefing-card-head {
  padding-left: 40px;
}

.briefing-index {
  position: absolute;
  left: 26px;
  top: 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font: 700 12px "DM Sans", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

.briefing-card-head small {
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--red);
  font-weight: 700;
}

.briefing-card-head h2 {
  font-size: 28px;
  margin: 6px 0 8px;
}

.briefing-card-head h2 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.briefing-japanese-title {
  font: 20px/1.7 "Noto Sans JP", sans-serif;
  color: var(--ink);
  margin: 0 0 18px;
}

.briefing-japanese-title ruby rt {
  font-size: 11px;
  color: var(--red);
}

.briefing-english {
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 16px;
}

.briefing-japanese {
  font: 22px/2 "Noto Sans JP", sans-serif;
  margin: 0 0 20px;
}

.briefing-japanese ruby rt {
  font-size: 13px;
  color: var(--red);
}

.briefing-vocab {
  background: #fff8e9c9;
  padding: 14px 18px;
  margin: 0 0 18px;
}

.briefing-vocab summary {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--red);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.briefing-vocab summary::-webkit-details-marker {
  display: none;
}

.briefing-vocab summary::before {
  content: '▸';
  display: inline-block;
  margin-right: 6px;
  transition: transform .15s ease;
}

.briefing-vocab[open] summary::before {
  transform: rotate(90deg);
}

.briefing-vocab dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0 0;
}

.briefing-vocab dt {
  font: 20px "Noto Sans JP", sans-serif;
  font-weight: 700;
}

.briefing-vocab dt i {
  display: block;
  font-size: 12px;
  color: var(--red);
  font-style: normal;
}

.briefing-vocab dd {
  margin: 5px 0 0;
  font-size: 14px;
}

.briefing-why {
  font-size: 15px;
  line-height: 1.65;
  color: #4d5652;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  margin: 0;
}

.briefing-empty {
  padding: 40px;
  border: 1px dashed #aaa;
  background: #fffaf188;
  text-align: center;
  color: #69716e;
  font-size: 13px;
  line-height: 1.6;
}

.briefing-empty code {
  background: #19333a14;
  padding: 2px 6px;
  border-radius: 4px;
}

@media (max-width: 650px) {
  .briefing-section .tabs {
    gap: 2px;
  }

  .briefing-section .tabs button {
    padding: 8px 12px;
    font-size: 12px;
  }

  .briefing-card {
    padding: 20px 18px;
    border-left-width: 3px;
  }

  .briefing-card-head {
    padding-left: 32px;
  }

  .briefing-index {
    left: 18px;
    top: 20px;
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .briefing-card-head h2 {
    font-size: 23px;
  }

  .briefing-japanese-title {
    font-size: 17px;
  }

  .briefing-english {
    font-size: 15px;
  }

  .briefing-japanese {
    font-size: 19px;
    line-height: 1.85;
  }

  .briefing-vocab dl {
    grid-template-columns: 1fr;
  }
}
