/* Study Compass コンテスト版 — 夜の星空テーマ（星をたよりに進むコンパス） */
:root {
  color-scheme: dark;
  --sky-top: #1c2f63;
  --sky-mid: #111e45;
  --sky-bottom: #080f27;
  --card: rgba(22, 35, 76, .72);
  --card-strong: rgba(28, 44, 94, .9);
  --inset: rgba(9, 17, 43, .55);
  --line: rgba(170, 192, 255, .16);
  --line-strong: rgba(170, 192, 255, .3);
  --text: #eef2ff;
  --text-soft: #a8b5da;
  --star: #ffd98a;
  --star-deep: #ffb35c;
  --ok: #7ee2c2;
  --ok-bg: rgba(126, 226, 194, .14);
  --warn: #f6c46c;
  --warn-bg: rgba(246, 196, 108, .14);
  --check: #9fb0d6;
  --check-bg: rgba(159, 176, 214, .14);
  --hint: #8cc8ff;
  --shadow: 0 18px 40px rgba(2, 6, 24, .45);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { background: var(--sky-bottom); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--text); isolation: isolate;
  background: radial-gradient(120% 70% at 50% -10%, var(--sky-top) 0%, var(--sky-mid) 45%, var(--sky-bottom) 100%) fixed, var(--sky-bottom);
  font-family: "Noto Sans JP", "Yu Gothic UI", "Hiragino Sans", "Meiryo", sans-serif;
  line-height: 1.7; display: flex; flex-direction: column;
}

/* 星空（小さな星・明るい星の2層。明るい星はゆっくりまたたく） */
body::before, body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
}
body::before {
  background-image:
    radial-gradient(1.3px 1.3px at 12px 24px, #fff, transparent 70%),
    radial-gradient(1.2px 1.2px at 58px 140px, rgba(255, 255, 255, .85), transparent 70%),
    radial-gradient(1.4px 1.4px at 110px 70px, rgba(255, 255, 255, .9), transparent 70%),
    radial-gradient(1.2px 1.2px at 160px 180px, rgba(200, 215, 255, .85), transparent 70%),
    radial-gradient(1.2px 1.2px at 170px 20px, rgba(255, 255, 255, .75), transparent 70%),
    radial-gradient(1.5px 1.5px at 85px 190px, rgba(255, 240, 210, .9), transparent 70%),
    radial-gradient(1.1px 1.1px at 30px 100px, rgba(255, 255, 255, .7), transparent 70%),
    radial-gradient(1.1px 1.1px at 140px 120px, rgba(210, 225, 255, .75), transparent 70%);
  background-size: 190px 210px;
}
body::after {
  background-image:
    radial-gradient(2.2px 2.2px at 40px 60px, #fff, transparent 70%),
    radial-gradient(2.6px 2.6px at 300px 150px, rgba(255, 226, 160, 1), transparent 70%),
    radial-gradient(2px 2px at 210px 330px, rgba(210, 225, 255, 1), transparent 70%),
    radial-gradient(2.4px 2.4px at 460px 40px, #fff, transparent 70%),
    radial-gradient(2px 2px at 520px 260px, rgba(255, 255, 255, .95), transparent 70%),
    radial-gradient(1.8px 1.8px at 120px 380px, rgba(255, 235, 200, .95), transparent 70%);
  background-size: 580px 420px;
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .45; } to { opacity: 1; } }

button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { line-height: 1.35; margin: 0; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 枠 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top));
  background: rgba(8, 15, 39, .72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; text-align: left; }
.brand-mark { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 0 8px rgba(255, 217, 138, .35)); }
.brand strong { display: block; font-size: 18px; letter-spacing: .01em; font-weight: 900; }
.brand small { display: block; font-size: 10px; color: var(--text-soft); line-height: 1.2; }
.ghost-button { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; }
.ghost-button:hover { background: rgba(255, 255, 255, .1); }

.app { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 24px 16px 40px; }
.screen { display: grid; gap: 18px; }
.screen.enter { animation: rise .3s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.footer { padding: 18px 16px 28px; text-align: center; font-size: 11px; color: var(--text-soft); border-top: 1px solid var(--line); background: rgba(8, 15, 39, .5); }
.footer p + p { margin-top: 4px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px 20px; min-width: 0; backdrop-filter: blur(10px);
}
.narrow { width: 100%; max-width: 640px; margin: 0 auto; }
.center { text-align: center; }
.eyebrow { color: var(--star); font-size: 11px; font-weight: 900; letter-spacing: .16em; margin-bottom: 6px; }
.eyebrow.light { color: var(--star); }
.muted { color: var(--text-soft); }
.small { font-size: 13px; }
.h-md { font-size: clamp(22px, 5.4vw, 30px); font-weight: 900; letter-spacing: .01em; margin-bottom: 8px; }
.h-sm { font-size: 18px; font-weight: 900; margin-bottom: 12px; }
.lead-sm { font-size: 15px; margin-bottom: 8px; }
.section-title { font-size: 17px; font-weight: 900; margin-bottom: 14px; }

/* ---------- ボタン ---------- */
.primary-button, .secondary-button {
  border: 0; border-radius: 14px; padding: 13px 20px; font-weight: 800; font-size: 15px; min-height: 48px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.primary-button {
  background: linear-gradient(135deg, var(--star) 0%, var(--star-deep) 100%); color: #1b1633;
  box-shadow: 0 0 0 1px rgba(255, 217, 138, .4), 0 10px 26px rgba(255, 179, 92, .28);
}
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 217, 138, .6), 0 14px 32px rgba(255, 179, 92, .38); }
.primary-button:focus-visible, .secondary-button:focus-visible, .feeling:focus-visible, .chip:focus-visible, .ghost-button:focus-visible { outline: 3px solid var(--hint); outline-offset: 2px; }
.secondary-button { background: rgba(255, 255, 255, .08); color: var(--text); border: 1px solid var(--line); }
.secondary-button:hover { background: rgba(255, 255, 255, .14); }
.secondary-button.soft { background: transparent; border: 1.5px dashed var(--line-strong); }
.big { font-size: 17px; padding: 16px 24px; min-height: 56px; }
.full { width: 100%; }
.text-button { border: 0; background: none; color: var(--star); font-weight: 700; font-size: 14px; padding: 12px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.actions > * { flex: 1 1 auto; }
.actions.stack { flex-direction: column; }

/* ---------- ホーム ---------- */
.hero { display: grid; gap: 16px; align-items: center; padding: 8px 0 4px; }
.hero h1 { font-size: clamp(28px, 7.4vw, 46px); font-weight: 900; letter-spacing: .01em; margin-bottom: 14px; text-shadow: 0 0 28px rgba(140, 170, 255, .35); }
.lead { font-size: 15px; color: var(--text-soft); margin-bottom: 22px; }
.assure { list-style: none; padding: 0; margin: 14px 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.assure li { font-size: 12px; font-weight: 700; background: rgba(255, 217, 138, .1); color: var(--star); border: 1px solid rgba(255, 217, 138, .25); padding: 4px 11px; border-radius: 999px; }
.assure li::before { content: "★ "; font-size: 10px; }
.hero-art { display: flex; justify-content: center; order: -1; }
.compass-art { width: min(56vw, 230px); height: auto; filter: drop-shadow(0 0 30px rgba(120, 150, 255, .3)); }
.compass-art .needle { transform-origin: 120px 120px; animation: seek 4s ease-in-out infinite; }
@keyframes seek { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(20deg); } }
.compass-art .polaris { animation: twinkle 2.4s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .compass-art .needle, .compass-art .polaris, .screen.enter, body::after { animation: none; } }

.cycle-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cycle-list li { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; backdrop-filter: blur(10px); }
.cycle-list strong { font-size: 15px; }
.cycle-list p { font-size: 13px; color: var(--text-soft); }
.cycle-num { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 217, 138, .12); color: var(--star); border: 1px solid rgba(255, 217, 138, .45); font-weight: 900; font-size: 14px; box-shadow: 0 0 12px rgba(255, 217, 138, .25); }

.about summary, .details summary { cursor: pointer; font-weight: 800; font-size: 15px; }
.about ul { padding-left: 1.2em; margin: 12px 0; font-size: 14px; color: var(--text-soft); }
.about li + li { margin-top: 4px; }
.about strong { color: var(--text); }

/* ---------- 初期設定 ---------- */
.form-grid { display: grid; gap: 12px; margin: 18px 0; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text-soft); }
.field input, .field select {
  width: 100%; min-height: 52px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--inset);
  padding: 10px 14px; font-size: 18px; font-weight: 700; color: var(--text);
}
.field input::placeholder { color: rgba(168, 181, 218, .6); }
.field select { font-size: 16px; }
.field select option { background: #16244a; color: var(--text); }
.field input:focus, .field select:focus { outline: none; border-color: var(--star); box-shadow: 0 0 0 4px rgba(255, 217, 138, .16); }
.status-group { border: 0; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.status-group legend { font-size: 13px; font-weight: 700; color: var(--text-soft); margin-bottom: 8px; padding: 0; }
.radio-chip input { position: absolute; opacity: 0; pointer-events: none; }
.radio-chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: rgba(255, 255, 255, .04); font-weight: 700; font-size: 14px; cursor: pointer; }
.radio-chip input:checked + span { background: rgba(255, 217, 138, .16); color: var(--star); border-color: var(--star); }
.radio-chip input:focus-visible + span { outline: 3px solid var(--hint); outline-offset: 2px; }

/* ---------- 問題 ---------- */
.progress-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.progress-head .eyebrow { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.q-count { font-weight: 900; font-size: 15px; white-space: nowrap; }
.progress { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; margin: 10px 0 18px; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, #8aa8ff, var(--star)); border-radius: inherit; box-shadow: 0 0 10px rgba(255, 217, 138, .5); transition: width .4s ease; }
.skill-tag { display: inline-block; font-size: 12px; font-weight: 800; color: var(--hint); background: rgba(140, 200, 255, .12); padding: 4px 10px; border-radius: 8px; margin-bottom: 8px; }
.purpose { font-size: 13px; color: var(--text-soft); margin-bottom: 6px; }
.question { font-size: clamp(19px, 4.8vw, 24px); font-weight: 800; margin: 6px 0 18px; overflow-wrap: anywhere; }
.small-q { font-size: 17px; margin: 4px 0 12px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chips { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .05); border-radius: 10px; min-width: 48px; min-height: 40px; font-weight: 800; }
.chip:hover { background: rgba(255, 255, 255, .12); }
.notice { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--warn-bg); color: var(--warn); font-size: 14px; font-weight: 700; border: 1px solid rgba(246, 196, 108, .3); }
.hint { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(140, 200, 255, .1); border-left: 4px solid var(--hint); font-size: 14px; }
.hint strong { font-size: 12px; color: var(--hint); }

/* ---------- 追加確認の案内 ---------- */
.followups { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 10px; }
.followups li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--inset); border: 1px solid var(--line); }
.followups p { font-size: 13px; color: var(--text-soft); }
.badge { flex: none; font-size: 11px; font-weight: 900; padding: 3px 8px; border-radius: 6px; margin-top: 2px; }
.b-cause { background: var(--warn-bg); color: var(--warn); }
.b-std { background: var(--ok-bg); color: var(--ok); }

/* ---------- 現在地（星座のようにつながるルート） ---------- */
.route { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.node { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.node:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 44px; bottom: -8px; width: 1.5px; background: linear-gradient(to bottom, rgba(200, 215, 255, .5), rgba(200, 215, 255, .15)); }
.dot { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 15px; position: relative; z-index: 1; }
.node-label { font-weight: 800; font-size: 15px; display: flex; flex-direction: column; line-height: 1.3; }
.node-label small { font-weight: 700; font-size: 12px; }
.s-ok .dot { background: radial-gradient(circle at 50% 40%, #b8f5e1, var(--ok)); color: #0b2b25; box-shadow: 0 0 16px rgba(126, 226, 194, .55); }
.s-ok small { color: var(--ok); }
.s-unstable .dot { background: var(--warn-bg); color: var(--warn); border: 2px solid var(--warn); }
.s-unstable small { color: var(--warn); }
.s-checking .dot { background: var(--check-bg); color: var(--check); border: 2px dashed rgba(159, 176, 214, .6); }
.s-checking small { color: var(--check); }
.s-next .dot { background: rgba(255, 217, 138, .15); color: var(--star); border: 2px solid var(--star); }
.node.here .dot { box-shadow: 0 0 0 6px rgba(255, 217, 138, .16), 0 0 22px rgba(255, 217, 138, .45); }
.flag { margin-left: auto; font-size: 11px; font-weight: 900; color: #1b1633; background: linear-gradient(135deg, var(--star), var(--star-deep)); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.flag::before { content: "★ "; }

.result-grid { display: grid; gap: 18px; }
.list-card h2 { font-size: 16px; font-weight: 900; margin-bottom: 10px; }
.list-card h3 { font-size: 14px; font-weight: 900; margin: 14px 0 8px; color: var(--check); }
.status-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.status-list li { display: flex; gap: 10px; align-items: flex-start; }
.status-list p { font-size: 13px; color: var(--text-soft); }
.mark { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 900; font-size: 14px; }
.ok-card .mark { background: var(--ok-bg); color: var(--ok); }
.warn-card .mark { background: var(--warn-bg); color: var(--warn); }
.warn-card h3 + .status-list .mark { background: var(--check-bg); color: var(--check); }
.root { margin-top: 2px; font-size: 12px !important; font-weight: 700; color: var(--warn) !important; }

.cross-card {
  position: relative; overflow: hidden; border: 1px solid rgba(255, 217, 138, .45);
  background: radial-gradient(90% 120% at 100% 0%, rgba(255, 217, 138, .18), transparent 60%), var(--card-strong);
  box-shadow: var(--shadow), 0 0 30px rgba(255, 217, 138, .12);
}
.cross-card::after {
  content: "★"; position: absolute; right: 18px; top: 12px; font-size: 28px; color: var(--star);
  text-shadow: 0 0 18px rgba(255, 217, 138, .8);
}
.cross-title { font-size: clamp(20px, 5.4vw, 28px); font-weight: 900; margin: 2px 32px 8px 0; }
.beyond { font-size: 14px; color: var(--text-soft); }
.discovery h2 { font-size: 17px; font-weight: 900; margin-bottom: 10px; }
.discovery p { font-size: 15px; }
.discovery p + p { margin-top: 8px; }
.spark { color: var(--star); text-shadow: 0 0 10px rgba(255, 217, 138, .7); }

.details h3 { font-size: 14px; margin: 16px 0 8px; }
.details > p { margin-top: 10px; }
.table-wrap { overflow-x: auto; margin-top: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 11px; color: var(--text-soft); }
.meter { display: inline-block; width: 64px; height: 7px; background: rgba(255, 255, 255, .1); border-radius: 99px; overflow: hidden; vertical-align: middle; }
.meter i { display: block; height: 100%; background: var(--ok); }

.sticky-cta { position: sticky; bottom: 0; padding: 12px 0 max(4px, env(safe-area-inset-bottom)); background: linear-gradient(to bottom, rgba(8, 15, 39, 0), rgba(8, 15, 39, .92) 40%); }

/* ---------- 今日の学習 ---------- */
.today-cross { background: rgba(255, 217, 138, .1); border: 1px solid rgba(255, 217, 138, .4); border-radius: 16px; padding: 14px 16px; margin: 10px 0 18px; }
.today-cross span { display: block; font-size: 12px; color: var(--star); font-weight: 700; }
.today-cross strong { font-size: 19px; }
.timeline { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.timeline li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--inset); }
.min { flex: none; width: 52px; text-align: center; font-weight: 900; color: var(--hint); background: rgba(140, 200, 255, .12); border-radius: 10px; padding: 6px 0; font-size: 14px; }
.why { background: var(--inset); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 20px; }
.why h2 { font-size: 15px; font-weight: 900; margin-bottom: 6px; }
.why p { font-size: 14px; color: var(--text-soft); }

.steps-dots { list-style: none; padding: 0; margin: 12px 0 18px; display: flex; gap: 6px; }
.steps-dots li { flex: 1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .1); }
.steps-dots li.now { background: var(--star); box-shadow: 0 0 10px rgba(255, 217, 138, .6); }
.steps-dots li.done { background: var(--ok); }
.min-tag { display: inline-block; vertical-align: middle; margin-left: 8px; font-size: 12px; font-weight: 800; color: var(--hint); background: rgba(140, 200, 255, .12); padding: 2px 8px; border-radius: 8px; }
.example { display: flex; gap: 10px; align-items: flex-start; background: var(--inset); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 12px 0 16px; font-size: 15px; }
.example span { flex: none; font-size: 11px; font-weight: 900; color: #0b1530; background: var(--hint); border-radius: 6px; padding: 2px 7px; margin-top: 3px; }
.practice { border: 1.5px solid var(--line-strong); border-radius: 16px; padding: 16px; margin-bottom: 16px; }
.practice-label { font-size: 12px; font-weight: 900; color: var(--star); }
.success { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255, 217, 138, .12); border: 1px solid rgba(255, 217, 138, .4); animation: pop .5s ease both; }
.success strong { font-size: 18px; color: var(--star); }
.success p { color: var(--text); }
.burst { flex: none; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle, #fff3cf, var(--star)); color: #3b2a07; display: grid; place-items: center; font-size: 16px; box-shadow: 0 0 18px rgba(255, 217, 138, .8); }
@keyframes pop { 0% { transform: scale(.94); opacity: 0; } 60% { transform: scale(1.02); opacity: 1; } 100% { transform: none; } }
.soft-feedback { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--warn-bg); border: 1px solid rgba(246, 196, 108, .3); font-size: 14px; }
.soft-feedback strong { color: var(--warn); }

/* ---------- ふり返り ---------- */
.feelings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.feeling { border: 1.5px solid var(--line-strong); background: rgba(255, 255, 255, .05); border-radius: 16px; padding: 14px 6px; font-weight: 800; font-size: 13px; display: grid; gap: 4px; justify-items: center; transition: transform .15s, border-color .15s, background .15s; }
.feeling:hover { transform: translateY(-2px); border-color: var(--star); background: rgba(255, 217, 138, .08); }
.emoji { font-size: 34px; line-height: 1.1; }
.saved-icon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: radial-gradient(circle, #fff3cf, var(--star)); color: #3b2a07; font-size: 26px; font-weight: 900; display: grid; place-items: center; box-shadow: 0 0 26px rgba(255, 217, 138, .6); }
.update-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.update-list li { display: grid; gap: 2px; padding: 10px 12px; background: var(--inset); border: 1px solid var(--line); border-radius: 12px; }
.update-list span { font-size: 12px; color: var(--text-soft); font-weight: 700; }
.update-list strong { font-size: 14px; }
.next-text { font-size: 14px; color: var(--text-soft); }
br.pc { display: none; }

/* ---------- PC ---------- */
@media (min-width: 760px) {
  .app { padding: 40px 28px 56px; }
  .topbar { padding: 14px 28px; }
  .card { padding: 30px 32px; }
  .hero { grid-template-columns: 1.3fr .7fr; gap: 32px; padding: 24px 0 12px; }
  .hero-art { order: 0; }
  .compass-art { width: 250px; }
  .cycle-list { grid-template-columns: repeat(4, 1fr); }
  .cycle-list li { flex-direction: column; }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .route { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
  .node { flex-direction: column; text-align: center; padding: 0 0 4px; }
  .node:not(:last-child)::after { left: calc(50% + 24px); right: calc(-50% + 20px); width: auto; top: 17px; bottom: auto; height: 1.5px; background: linear-gradient(to right, rgba(200, 215, 255, .5), rgba(200, 215, 255, .15)); }
  .node-label { align-items: center; }
  .flag { margin: 4px 0 0; }
  .actions.stack { flex-direction: row; }
  br.pc { display: inline; }
}
@media (max-width: 380px) {
  .pair { grid-template-columns: 1fr; }
  .feeling { font-size: 12px; }
}
