/* ===== トップ ===== */
.hero { margin: 4px 0 8px; }
.hero__text { color: var(--ink-soft); font-size: 14px; margin: 0; }

.section-head { font-size: 13px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0.08em; margin: 24px 0 10px; }

.test-grid { display: grid; gap: 12px; }
.test-card { display: grid; gap: 10px; text-decoration: none; color: var(--ink); }
.test-card__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.test-card__title { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.badge { font-size: 11px; font-weight: 500; padding: 1px 8px; border-radius: 4px; background: var(--brand); color: var(--brand-ink); }
.badge--soon { background: var(--line); color: var(--ink-soft); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.stat { border-top: 1px solid var(--line); padding: 8px 0 0; }
.stat__label { font-size: 12px; color: var(--ink-soft); }
.stat__value { font-family: var(--font-num); font-weight: 600; font-size: 20px; }
.test-card.is-coming { opacity: 0.6; pointer-events: none; }

/* ===== 合言葉 ===== */
.gate { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 16px; }
.gate .card { width: min(100%, 380px); text-align: center; }
.gate h1 { font-size: 20px; letter-spacing: 0.08em; }
.gate form { display: grid; gap: 12px; margin-top: 12px; }

/* ===== 間違いノート ===== */
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 9em 1fr 3.2em; gap: 8px; align-items: center; font-size: 13px; }
.bar__track { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bar__fill { height: 100%; background: var(--ok); }
.bar__fill.is-low { background: var(--miss); }
.note-item { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.note-item:first-of-type { border-top: 0; }
.note-item__q { font-weight: 500; }
.note-item__a { font-size: 14px; }
.note-item__src { font-size: 12px; color: var(--ink-soft); }
.tag-wrong { color: var(--miss); font-weight: 500; }
.tag-wrong u, .tag-right u { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tag-right { color: var(--ok); font-weight: 500; }
