/* 不满: each situation is a pair of clips (channel → friend), words as chips under each. */

.situation { margin-top: 2rem; }
.situation h3 { color: var(--navy); font-size: 1.35rem; line-height: 1.5; margin-bottom: .8rem; }
.sit-jp { color: var(--muted); font-weight: 400; font-size: var(--fs-small); margin-left: .5rem; }
.sit-en { display: block; color: var(--muted); font-weight: 400; font-size: var(--fs-small); }

.beats { display: flex; flex-wrap: wrap; gap: 1rem; align-items: stretch; }
.beat { flex: 1 1 260px; max-width: 380px; margin: 0; background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: .8rem; display: flex; flex-direction: column; gap: .6rem; }
.beat img { width: 100%; height: auto; border-radius: 6px; }
.beat-kind { font-size: var(--fs-label-zh); color: var(--red); font-weight: 700; }
.beat-kind .en { font-size: var(--fs-label); color: var(--muted); font-weight: 400; }
.beat-arrow { align-self: center; font-size: 2rem; color: var(--gold); }
.cap-cn { color: var(--navy); font-size: 1.1rem; line-height: 1.6; }
.cap-jp, .cap-en { color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .2rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--border); border-radius: 999px;
  padding: .2rem .7rem .2rem .3rem; font-size: 1.1rem; background: #FBF8F2; }
.chip-jp { background: #F2F5FB; }
.chip-rd { color: var(--muted); font-size: var(--fs-small); }
.chip-play { margin: 0; padding: .1rem .45rem; font-size: var(--fs-label); }

.coming { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.coming li { border: 1.5px dashed var(--border); border-radius: 8px; padding: .5rem .8rem; color: var(--muted); }
.see-also { margin-top: 1.6rem; }

@media (max-width: 600px) {
  .beat-arrow { transform: rotate(90deg); width: 100%; text-align: center; }
  .beat { max-width: none; }
}

/* ── atlas: one card per real institution, hotline, law or person ── */
.atlas { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; margin-top: 1.2rem; }
.atlas-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column; }
.atlas-pic { display: block; width: 100%; padding: 0; border: 0; background: #E9E4DA; cursor: pointer; }
.atlas-pic img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.atlas-credit { display: flex; flex-wrap: wrap; gap: .2rem .6rem; padding: .3rem .8rem; font-size: var(--fs-label);
  color: var(--muted); border-bottom: 1px solid var(--border); }
.atlas-credit a { color: var(--muted); }
.atlas-cap { color: var(--navy); font-size: var(--fs-label-zh); flex-basis: 100%; }
.atlas-count { margin-left: auto; }
.atlas-emblem { aspect-ratio: 2 / 1; display: flex; align-items: center; justify-content: center;
  font-size: clamp(2.6rem, 9vw, 3.6rem); font-weight: 700; color: var(--navy); background: #F3E7D3;
  border-bottom: 1px solid var(--border); letter-spacing: .05em; }
.atlas-emblem-hotline { background: #E3ECFD; font-variant-numeric: tabular-nums; }
.atlas-emblem-law, .atlas-emblem-rule { background: #F7EEDC; color: var(--red); }
.atlas-emblem-event { background: #FFE3CC; color: var(--red); }
.atlas-emblem-person { background: #E8E4F2; }
.atlas-body { padding: .8rem; display: flex; flex-direction: column; gap: .6rem; }
.atlas-body .chip { flex-wrap: wrap; border-radius: 16px; }
.atlas-body .chip b { white-space: nowrap; }
.atlas-body .chip-rd { word-break: break-all; }
.atlas-cat { font-size: var(--fs-label-zh); color: var(--red); font-weight: 700; }
.atlas-cat .en { font-size: var(--fs-label); color: var(--muted); font-weight: 400; }
.claims { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin: 0; padding: 0; }
.claim { display: flex; gap: .5rem; align-items: flex-start; font-size: 1.1rem; line-height: 1.6; }
.claim-play { margin: .2rem 0 0; padding: .1rem .45rem; font-size: var(--fs-label); flex: none; }
.claim-text .en { font-size: var(--fs-small); color: var(--muted); line-height: 1.4; }
.grade { display: inline-block; margin-top: .15rem; font-size: var(--fs-label); padding: 0 .5rem; border-radius: 999px;
  text-decoration: none; border: 1px solid var(--border); color: var(--muted); }
.grade-official { color: var(--navy); border-color: var(--navy); }
body.hide-en .claim-text .en { display: none; }

/* ── dialogues: a phone chat, then a face-to-face talk ── */
.dialogues { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 1.2rem; align-items: flex-start; }
.dlg-col { flex: 1 1 320px; max-width: 460px; }
.dlg-bar { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0; }
.dlg-bar .btn-ctrl { position: static; font-size: var(--fs-label); padding: .3rem .7rem; color: var(--navy);
  background: var(--white); border: 1px solid var(--border); border-radius: 999px; cursor: pointer; }
.dlg-bar .btn-ctrl:disabled { opacity: .4; cursor: default; }
.dlg { border-radius: 18px; overflow: hidden; }
.dlg-chat { border: 8px solid #2B2B2B; background: #F2F1EE; }
.dlg-chat .dlg-head { height: 2.2rem; background: #FF7A1A; }
.dlg-talk { border: 1px solid var(--border); background: #F3E7D3; }
.dlg-scroll { height: 30rem; overflow-y: auto; padding: .8rem; display: flex; flex-direction: column; gap: .7rem; }

.line { display: flex; flex-direction: column; max-width: 85%; }
.line .who { font-size: var(--fs-label); color: var(--muted); margin: 0 .3rem .15rem; }
.line .say { position: relative; background: var(--white); border-radius: 12px; padding: .5rem 2.2rem .5rem .75rem;
  font-size: 1.1rem; line-height: 1.6; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.line .say .en { font-size: var(--fs-small); color: var(--muted); line-height: 1.4; margin-top: .2rem; }
.line-play { position: absolute; right: .35rem; top: .4rem; margin: 0; padding: 0 .35rem; font-size: .8rem; }
.line-me { align-self: flex-end; align-items: flex-end; }
.dlg-chat .line-me .say { background: #FFD9B8; }
.dlg-talk .line-me .say { background: #CFE6E2; }
.dlg-talk .line-friend .say { background: #F7DFA6; }
.line-bot .say { background: #E3ECFD; }
.line-system { align-self: center; text-align: center; font-size: var(--fs-small); color: var(--muted); max-width: 90%; }
.line-system .en { display: block; }
.photo { background: #E9E4DA; border-radius: 8px; padding: .4rem; margin-bottom: .3rem; width: 7rem; }
.photo-mug { width: 100%; height: auto; display: block; }
.stars { color: #FF7A1A; font-size: 1.5rem; letter-spacing: .15rem; }
body.hide-en .line .en { display: none; }
