main.trap { padding-block: 40px 80px; }
.trap .crumbs { flex-wrap: wrap; }
.lead { font-size: 21px; color: var(--ink-2); line-height: 1.7; margin-top: 18px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.tag { font-size: 15px; font-weight: 600; padding: 3px 12px; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.tag.type { background: var(--caution-soft); color: var(--caution); }
.srcs { font-size: 15px; color: var(--muted); margin-top: 18px; line-height: 1.6; }

section.block { margin-top: 64px; }
section.block > h2 { margin-bottom: 14px; }
section.block > p + p { margin-top: 14px; }

/* the bait stem */
.bait { margin-top: 20px; border-left: 4px solid var(--caution); background: var(--caution-soft); padding: 18px 22px; border-radius: 0 12px 12px 0; }
.bait p { color: var(--ink); }
.bait .says { margin-top: 10px; font-weight: 650; color: var(--caution); }

/* clue sorter: the one visual this post is built around */
.sorter { margin-top: 24px; display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.col { padding: 22px 20px; }
.col h3 { font-size: 1.1rem; margin-bottom: 4px; }
.col .why { font-size: 16px; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.col li { font-size: 17px; line-height: 1.45; padding: 8px 12px; border-radius: 8px; background: var(--surface); }
.col.yang { background: var(--accent-soft); }
.col.yang h3 { color: var(--accent-ink); }
.col.shared { background: var(--soft); border-inline: 1px solid var(--line); }
.col.shared li { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); }
.col.shared li small { text-decoration: none; display: inline-block; }
.col.fire { background: var(--bad-soft); }
.col.fire h3 { color: var(--bad); }
.sorter-note { font-size: 16px; color: var(--muted); margin-top: 12px; }

/* three checks (a real sequence) */
.checks { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: c; display: flex; flex-direction: column; gap: 22px; }
.checks li { counter-increment: c; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.checks li::before { content: counter(c); width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 700; font-size: 20px; }
.checks h3 { margin-bottom: 4px; }
.checks p { color: var(--ink-2); }

.aside { margin-top: 24px; background: var(--soft); border-radius: 12px; padding: 18px 22px; font-size: 17px; }
.aside strong { display: block; margin-bottom: 4px; }

/* Korean key points (collapsible, like the notes) */
details.kobox { margin-top: 28px; border: 1px solid var(--line); border-radius: 12px; }
details.kobox summary { cursor: pointer; padding: 16px 20px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.kobox summary::-webkit-details-marker { display: none; }
details.kobox summary::after { content: "펼치기"; font-size: 15px; font-weight: 500; color: var(--muted); }
details.kobox[open] summary::after { content: "접기"; }
details.kobox ul { margin: 0; padding: 0 20px 18px 40px; display: flex; flex-direction: column; gap: 8px; }

/* practice */
.q { margin-top: 28px; border-radius: 16px; background: var(--soft); padding: 26px; }
.q .qn { font-size: 15px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.q .stem { font-weight: 600; }
.topts { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.topt { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; background: var(--surface); border: 2px solid var(--line); border-radius: 12px; padding: 12px 16px; cursor: pointer; font-size: 18px; min-height: 56px; }
.topt:hover { border-color: var(--muted); }
.topt input { position: absolute; opacity: 0; pointer-events: none; }
.topt .k { width: 34px; height: 34px; border-radius: 50%; background: var(--soft-2); display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.topt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.q.done .topt { cursor: default; }
.topt.right { border-color: var(--ok); background: var(--ok-soft); }
.topt.right .k { background: var(--ok); color: var(--on-accent); }
.topt.wrong { border-color: var(--bad); background: var(--bad-soft); }
.topt.wrong .k { background: var(--bad); color: #fff; }
.status { margin-top: 14px; font-weight: 650; min-height: 1.5em; }
.status.ok { color: var(--ok); }
.status.bad { color: var(--bad); }
.expl { display: none; margin-top: 18px; background: var(--surface); border-radius: 12px; padding: 22px; flex-direction: column; gap: 18px; font-size: 18px; }
.q.done .expl { display: flex; }
.expl h4 { margin: 0 0 4px; font-size: 16px; color: var(--muted); font-weight: 600; }
.expl ul { margin: 0; padding-left: 1.2em; }
.expl .remember { background: var(--accent-soft); border-radius: 10px; padding: 14px 16px; }
.expl .src { font-size: 15px; color: var(--muted); }
.expl .kosum { border-top: 1px solid var(--line); padding-top: 14px; font-size: 17px; color: var(--ink-2); }

/* next */
.tnext { list-style: none; margin: 18px 0 0; padding: 0; }
.tnext li { border-bottom: 1px solid var(--line); }
.tnext li:first-child { border-top: 1px solid var(--line); }
.tnext a, .tnext span.row { display: flex; justify-content: space-between; gap: 16px; padding: 18px 4px; color: var(--ink); text-decoration: none; }
.tnext a:hover { background: var(--soft); }
.tnext .who { color: var(--muted); font-size: 16px; white-space: nowrap; }
.tnext span.row { color: var(--muted); }


@media (max-width: 860px) {
  .sorter { grid-template-columns: 1fr; }
  .col.shared { border-inline: 0; border-block: 1px solid var(--line); }
  .q { padding: 18px; }
  .expl { padding: 18px; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .lead { font-size: 19px; }
  .nav { gap: 14px; }
  .nav a { font-size: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .expl { animation: none; }
  .q.done .expl { animation: show .25s ease-out; }
  @keyframes show { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}

.tlist { list-style: none; margin: 24px 0 0; padding: 0; }
.tlist li { border-bottom: 1px solid var(--line); }
.tlist li:first-child { border-top: 1px solid var(--line); }
.tlist a { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: start; padding: 22px 4px; color: var(--ink); text-decoration: none; }
.tlist a:hover { background: var(--soft); }
.tlist .tno { display: block; font-size: 15px; color: var(--muted); font-weight: 600; }
.tlist strong { display: block; font-size: 1.2rem; line-height: 1.45; }
.tlist .d { display: block; color: var(--ink-2); margin-top: 4px; font-size: 17px; }
.tlist .tt { font-size: 15px; font-weight: 600; color: var(--caution); background: var(--caution-soft); padding: 2px 12px; border-radius: 999px; white-space: nowrap; }
.ttypes { margin: 14px 0 0; padding-left: 1.2em; color: var(--ink-2); font-size: 17px; }
@media (max-width: 640px) { .tlist a { grid-template-columns: 1fr; gap: 8px; } .tlist .tt { justify-self: start; } }
