/* node_ web · values follow docs/design/tokens.json (v3) and the Explore / Ideas canvas. */
:root {
  --ground: #0A0A0B;
  --surface-1: #151517;
  --surface-2: #1D1D20;
  --surface-3: #232327;
  --segment-track: #111113;
  --nav-glass: rgba(28, 28, 31, 0.82);
  --ink: #EDEBE6;
  --ink-soft: rgba(237, 235, 230, 0.72);
  --ink-sub: #B9B6BF;
  --ink-muted: #8E8B97;
  --line: rgba(237, 235, 230, 0.16);
  --line-dashed: rgba(237, 235, 230, 0.22);
  --divider: rgba(237, 235, 230, 0.08);
  --accent: #FF9A3C;
  --error: #FF8A7A;

  --e1: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 32px rgba(0, 0, 0, 0.5);
  --e1-list: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 40px rgba(0, 0, 0, 0.5);
  --e2: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 2px 4px rgba(0, 0, 0, 0.5), 0 24px 48px rgba(0, 0, 0, 0.6);
  --nav-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(237, 235, 230, 0.06), 0 20px 40px rgba(0, 0, 0, 0.7);

  --font: Inter, system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

* { box-sizing: border-box; scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }
html, body { margin: 0; background: #050506; color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
textarea { font: inherit; color: inherit; background: transparent; border: 0; outline: none; resize: none; padding: 0; margin: 0; width: 100%; }
textarea:focus-visible { outline: none; }
textarea::placeholder { color: var(--ink-muted); opacity: 1; }
:focus-visible { outline: 2px solid var(--ink-sub); outline-offset: 2px; }

@keyframes nodeRise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes nodeFade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- stage: phone frame on desktop, full screen on phones ---------- */
.stage { min-height: 100vh; display: flex; justify-content: center; align-items: flex-start; gap: 32px; padding: 32px 24px; }
.device { position: relative; width: 390px; height: 844px; flex: 0 0 390px; border-radius: 44px; overflow: hidden; background: var(--ground); box-shadow: 0 0 0 10px #18181b, 0 0 0 11px #2a2a2e, 0 40px 80px rgba(0,0,0,0.6); }
.screen { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; }
.screen[hidden] { display: none; }

@media (max-width: 520px) {
  html, body { background: var(--ground); }
  .stage { padding: 0; display: block; }
  .device { width: 100%; max-width: 430px; height: 100vh; height: 100dvh; margin: 0 auto; border-radius: 0; box-shadow: none; }
}

/* ---------- shared text ---------- */
.meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-muted); text-transform: uppercase; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin: 30px 8px 12px; }
.section-head h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.pill { align-self: flex-start; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--surface-1); color: var(--ink-sub); font-size: 13px; display: inline-flex; align-items: center; gap: 8px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; background: var(--accent); }
.dot.off { background: var(--ink-muted); }

/* ---------- Explore ---------- */
.explore { padding: 58px 16px 140px; display: flex; flex-direction: column; min-height: 100%; }
.explore header { display: flex; justify-content: space-between; align-items: flex-start; padding: 0 8px; }
.explore header > div { display: flex; flex-direction: column; gap: 12px; }
.display { margin: 0; font-size: 36px; line-height: 1.05; font-weight: 600; letter-spacing: -0.035em; }
.display .soft { color: var(--ink-muted); font-weight: 500; }
.display .hot { color: var(--accent); }

.chips { display: flex; gap: 8px; margin-bottom: 16px; padding-left: 8px; }
.chip { height: 36px; padding: 0 14px; border-radius: 999px; background: transparent; border: 1px solid var(--line); color: var(--ink-sub); font-size: 14px; font-weight: 500; }
.chip[aria-pressed="true"] { padding: 0 16px; border-color: var(--ink); background: var(--ink); color: var(--ground); font-weight: 600; }

.pager { display: flex; gap: 12px; margin: 0 -16px -24px; padding: 0 16px 40px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; }
.feature { flex: 0 0 100%; min-width: 0; max-width: 100%; scroll-snap-align: start; border-radius: 26px; background: var(--surface-1); box-shadow: var(--e2); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); min-height: 300px; }
.feature .top { display: flex; gap: 16px; padding: 16px; }
.feature .img { width: 128px; height: 156px; flex-shrink: 0; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 10px 24px rgba(0,0,0,0.6); }
.feature .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature .txt { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding-top: 2px; }
.host { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-muted); min-width: 0; }
.host b { color: var(--ink); font-weight: 500; }
.host > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--surface-3); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--ink); box-shadow: 0 0 0 2px var(--surface-1), 0 0 0 3px var(--line); }
.feature h3 { margin: 0; font-size: 22px; line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rule { height: 1px; background: var(--divider); flex-shrink: 0; }
.feature p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.grow { flex-grow: 1; }
.why { margin: 0 16px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-sub); line-height: 1.35; }
.why b { color: var(--ink); font-weight: 500; }
.when { display: flex; align-items: center; gap: 10px; padding: 14px 16px 16px; margin-top: 12px; border-top: 1px solid var(--divider); font-size: 15px; font-weight: 600; }
.small-pill { height: 24px; padding: 0 8px; border-radius: 999px; background: var(--surface-3); font-size: 12px; font-weight: 400; color: var(--ink-sub); display: inline-flex; align-items: center; white-space: nowrap; }
.small-pill.sq { border-radius: 8px; }

.empty-card { flex: 0 0 100%; min-width: 0; min-height: 300px; border-radius: 26px; border: 1.5px dashed var(--line-dashed); background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; color: var(--ink); }
.empty-card .plus { width: 46px; height: 46px; border-radius: 50%; border: 1.5px dashed rgba(237,235,230,0.28); display: flex; align-items: center; justify-content: center; color: var(--ink-sub); }
.empty-card strong { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.empty-card span.sub { font-size: 14px; line-height: 1.45; color: var(--ink-muted); max-width: 260px; }

.dots { display: flex; gap: 6px; align-items: center; padding: 0 8px; height: 6px; position: relative; }
.dots span { width: 6px; height: 6px; border-radius: 999px; background: rgba(237,235,230,0.22); transition: width 0.2s ease, background 0.2s ease; }
.dots span.on { width: 18px; background: var(--ink); }

.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat { border-radius: 22px; background: var(--surface-1); padding: 16px 18px; box-shadow: var(--e1); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stat .label { font-size: 13px; color: var(--ink-sub); }
.stat .value { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat .sub { font-size: 13px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; height: 46px; margin-top: 12px; align-items: end; }
.bars span { height: 100%; border-radius: 3px; background: var(--surface-2); display: flex; align-items: flex-end; }
.bars i { display: block; width: 100%; border-radius: 3px; background: var(--ink); }
.bars i.today { background: var(--accent); }
.soft-btn { height: 38px; margin-top: 12px; border: 0; border-radius: 999px; background: var(--surface-3); color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
.soft-btn:disabled { color: var(--ink-muted); cursor: default; }

.round-btn { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink-sub); display: flex; align-items: center; justify-content: center; }
.list { border-radius: 24px; background: var(--surface-1); box-shadow: var(--e1-list); padding: 4px 16px; }
.row { display: flex; gap: 14px; padding: 14px 0; align-items: flex-start; text-decoration: none; color: var(--ink); }
.row + .sep { height: 1px; background: var(--divider); margin-left: 60px; }
.tile { width: 46px; height: 46px; flex-shrink: 0; border-radius: 13px; background: var(--surface-2); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px rgba(237,235,230,0.1); }
.tile.hot { background: var(--accent); color: var(--ground); box-shadow: none; }
.row .mid { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row .mid strong { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row .mid span { font-size: 14px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.row .end b { font-size: 15px; font-weight: 600; white-space: nowrap; }
.more-btn { width: 100%; height: 48px; border: 0; border-top: 1px solid var(--divider); background: transparent; color: var(--ink-sub); font-size: 14px; font-weight: 500; }
.data-note { margin: 18px 8px 0; text-align: center; }

/* ---------- tab bar ---------- */
.tabs { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); width: 300px; height: 64px; padding: 6px; border-radius: 999px; background: var(--nav-glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--nav-shadow); display: flex; gap: 4px; z-index: 5; }
.tabs button { flex: 1; border: 0; border-radius: 999px; background: transparent; color: var(--ink-muted); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; }
.tabs button[aria-current="page"] { flex: 1.6; background: var(--ink); color: var(--ground); }
.tabs button[aria-disabled="true"] { cursor: default; }
.tabs .tab-label { display: none; }
.tabs button[aria-current="page"] .tab-label { display: inline; }

/* ---------- Ideas ---------- */
.ideas { height: 100%; padding-top: 58px; padding-bottom: 122px; display: flex; flex-direction: column; }
.ideas header { display: flex; justify-content: space-between; align-items: center; padding: 0 16px 0 24px; }
.ideas header .title { display: flex; align-items: baseline; gap: 12px; }
.ideas h1 { margin: 0; font-size: 38px; line-height: 1; font-weight: 600; letter-spacing: -0.035em; }
.seg { height: 44px; padding: 4px; border-radius: 999px; background: var(--segment-track); display: flex; gap: 2px; box-shadow: inset 0 1px 2px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(237,235,230,0.06); }
.seg button { width: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-muted); display: flex; align-items: center; justify-content: center; transition: background 0.2s ease, color 0.2s ease; }
.seg button[aria-pressed="true"] { background: var(--surface-3); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 2px 6px rgba(0,0,0,0.5); }
.new-btn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); color: var(--ground); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 10px 24px rgba(0,0,0,0.55); }
.status { padding: 14px 24px 0; }

.note-pager { flex: 1 1 auto; min-height: 0; display: flex; gap: 8px; padding: 22px 16px 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; animation: nodeFade 0.2s ease; }
.note-card { flex: 0 0 calc(100% - 12px); min-width: 0; scroll-snap-align: start; border: 0; text-align: left; border-radius: 26px; background: var(--surface-1); padding: 24px; display: flex; flex-direction: column; gap: 14px; color: var(--ink); box-shadow: var(--e2); overflow: hidden; }
.note-card .meta-row { width: 100%; display: flex; justify-content: space-between; }
.note-card .t { font-size: 32px; line-height: 1.06; font-weight: 600; letter-spacing: -0.03em; }
.note-card .b { font-size: 16px; line-height: 1.5; color: var(--ink-soft); white-space: pre-line; }
.note-foot { display: flex; justify-content: space-between; align-items: center; padding: 0 24px; margin-top: -8px; height: 13px; }
.note-foot .dots { padding: 0; }

.note-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 22px 16px 28px; animation: nodeFade 0.2s ease; }
.note-row { width: 100%; border: 0; background: transparent; text-align: left; padding: 16px 0; display: flex; gap: 14px; align-items: center; color: var(--ink); }
.note-row + .note-row { border-top: 1px solid var(--divider); }
.note-row .mid { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.note-row .mid strong { font-size: 16px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.note-row .mid span.b { font-size: 14px; line-height: 1.45; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ideas-empty { flex: 1 1 auto; min-height: 0; padding: 22px 16px 28px; display: flex; }
.ideas-empty .empty-card { flex: 1; min-height: 0; }

/* editor (06 · NoteEditorView) */
.editor { position: absolute; inset: 0; z-index: 8; background: var(--ground); padding: 58px 16px 34px; display: flex; flex-direction: column; gap: 22px; animation: nodeRise 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
.editor header { display: flex; justify-content: space-between; align-items: center; }
.circle { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface-1); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 8px 24px rgba(0,0,0,0.55); }
.solid { height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: var(--ground); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 12px 28px rgba(0,0,0,0.55); }
.solid:disabled { background: transparent; border: 1px solid var(--line); color: var(--ink-muted); box-shadow: none; cursor: default; }
.sheet { flex: 1 1 auto; min-height: 0; border-radius: 26px; background: var(--surface-1); padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--e2); }
.sheet .meta-row { display: flex; justify-content: space-between; }
.sheet .t { font-size: 32px; line-height: 1.06; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.sheet .b { flex: 1 1 auto; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.editor .hint { margin: 0; padding: 0 8px; min-height: 44px; display: flex; gap: 10px; align-items: center; font-size: 13px; line-height: 1.3; color: var(--ink-muted); }
.del-row { display: flex; align-items: center; justify-content: space-between; padding: 0 8px; font-size: 13px; color: var(--ink-muted); min-height: 44px; }
.trash { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--error); display: inline-flex; align-items: center; justify-content: center; }
.confirm { display: flex; align-items: center; gap: 8px; padding-left: 8px; animation: nodeFade 0.15s ease; }
.confirm span { flex-grow: 1; font-size: 14px; color: var(--ink); }
.outline { height: 44px; padding: 0 18px; border-radius: 999px; background: transparent; border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 600; }
.danger { height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--error); color: var(--ground); font-size: 14px; font-weight: 600; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Lab (testing panel, not part of the app design) ---------- */
.lab-toggle { position: fixed; top: 16px; right: 16px; z-index: 20; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #111113; color: var(--ink-sub); font-size: 13px; }
.lab-toggle[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.lab { width: 520px; max-width: 100%; flex: 0 1 520px; height: 844px; overflow-y: auto; background: #101012; border-radius: 20px; border: 1px solid var(--divider); padding: 20px; font-size: 13px; color: var(--ink-sub); line-height: 1.45; }
.lab[hidden] { display: none; }
.lab h3 { margin: 18px 0 8px; font-size: 13px; color: var(--ink); font-weight: 600; }
.lab h3:first-child { margin-top: 0; }
.lab .muted { color: var(--ink-muted); }
.lab .bar { height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; margin-top: 6px; }
.lab .bar i { display: block; height: 100%; background: var(--ink); width: 0; transition: width 0.2s; }
.lab .row-ctl { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.lab .btn { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-sub); font-size: 12px; }
.lab .btn[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.lab input[type=range] { width: 160px; accent-color: var(--ink); }
.lab table { width: 100%; border-collapse: collapse; font-size: 12px; }
.lab td, .lab th { text-align: left; vertical-align: top; padding: 8px 6px; border-top: 1px solid var(--divider); }
.lab th { color: var(--ink-muted); font-weight: 500; }
.lab td.num { font-family: var(--mono); white-space: nowrap; color: var(--ink); }
.lab tr.below td { opacity: 0.45; }
.lab tr.cut td { border-top: 1px dashed var(--accent); }
.lab a { color: var(--ink); text-decoration: none; }
.lab a:hover { text-decoration: underline; }
.lab .rate { display: flex; gap: 4px; }
.lab .rate button { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--ink-sub); font-size: 12px; padding: 0; }
.lab .rate button[aria-pressed="true"].yes { background: #2f6f4a; border-color: #2f6f4a; color: #fff; }
.lab .rate button[aria-pressed="true"].meh { background: #6b5a2a; border-color: #6b5a2a; color: #fff; }
.lab .rate button[aria-pressed="true"].no { background: #6f2f2f; border-color: #6f2f2f; color: #fff; }
.lab .sentence { color: var(--ink-muted); font-style: italic; }
.lab .kpi { font-size: 22px; color: var(--ink); font-weight: 600; }

@media (max-width: 960px) {
  .stage { flex-direction: column; align-items: center; }
  .lab { height: auto; flex: none; width: 390px; }
}
@media (max-width: 520px) {
  .lab { width: 100%; border-radius: 0; }
  .lab-toggle { top: auto; bottom: 110px; right: 12px; }
}

/* ---------- Event detail (07 · EventDetailView) ---------- */
.feature[role="button"], .row[role="button"] { cursor: pointer; }
.row.static { align-items: center; }
.detail { position: absolute; inset: 0; z-index: 7; background: var(--ground); animation: nodeRise 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
.detail-scroll { position: absolute; inset: 0; overflow-y: auto; padding: 58px 16px 140px; display: flex; flex-direction: column; }
.detail-top { display: flex; justify-content: space-between; align-items: center; }
.detail-img { margin-top: 20px; height: 220px; flex-shrink: 0; border-radius: 26px; overflow: hidden; background: #000; box-shadow: var(--e2); }
.detail-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.2); }
.detail-title { display: flex; flex-direction: column; gap: 12px; padding: 22px 8px 0; }
.detail-title .avatar { box-shadow: 0 0 0 2px var(--ground), 0 0 0 3px var(--line); }
.detail-title h1 { margin: 0; font-size: 32px; line-height: 1.06; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.why-card { margin-top: 24px; border-radius: 22px; background: var(--surface-1); padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--e1); }
.why-card .label { font-size: 13px; color: var(--ink-sub); }
.why-line { display: flex; gap: 10px; align-items: flex-start; }
.why-line p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.why-line p b { color: var(--ink); font-weight: 500; }
/* three-layer glow, one even on/off cycle every 3 s */
.glow { width: 22px; height: 22px; position: relative; flex-shrink: 0; display: block; }
.glow i { position: absolute; border-radius: 50%; background: var(--accent); }
.glow .g-outer { inset: 0; opacity: 0.16; animation: glowOuter 3s ease-in-out infinite; }
.glow .g-mid { inset: 4px; opacity: 0.32; animation: glowMid 3s ease-in-out infinite; }
.glow .g-core { inset: 7px; animation: glowCore 3s ease-in-out infinite; }
@keyframes glowCore { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes glowMid { 0%, 100% { opacity: 0.32; transform: scale(1); } 50% { opacity: 0.08; transform: scale(0.85); } }
@keyframes glowOuter { 0%, 100% { opacity: 0.16; transform: scale(1); } 50% { opacity: 0; transform: scale(0.8); } }
@media (prefers-reduced-motion: reduce) { .glow i { animation: none; } }
.detail-about { padding: 0 8px; display: flex; flex-direction: column; gap: 14px; }
.detail-about p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-soft); white-space: pre-line; }
.org-link { min-height: 44px; padding: 0 4px 0 18px; border-radius: 999px; border: 1px solid var(--line); display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.org-link > span:first-child { flex-grow: 1; font-size: 12px; color: var(--ink-muted); }
.org-link b { color: var(--ink); font-weight: 500; }
.org-arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); color: var(--ink-sub); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.detail-cta { position: absolute; left: 16px; right: 16px; bottom: 34px; display: flex; }
.cta { flex: 1; height: 54px; border: 0; border-radius: 999px; background: var(--ink); color: var(--ground); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 12px 28px rgba(0,0,0,0.55); }
.detail-done { position: absolute; left: 16px; right: 16px; bottom: 34px; min-height: 64px; padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--nav-glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--nav-shadow); display: flex; align-items: center; gap: 12px; animation: nodeFade 0.2s ease; }
.detail-done .txt { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--ink-muted); }
.detail-done .txt b { font-size: 14px; font-weight: 600; color: var(--ink); }

/* Event detail shows the organizer's real photo as it is (no zoom). */
.detail-img img.photo { transform: none; }
.photo-missing { width: 100%; height: 100%; background: var(--surface-2); }

/* time before the date in the header pill, joined with a middle dot like every time/date in the app */
.pill .clock { font-variant-numeric: tabular-nums; }
#now-pill { gap: 0; white-space: pre; }

/* the same glowing dot on the Explore cards' match line, a little smaller to fit the 13 px line (core stays 8 px) */
.glow.sm { width: 18px; height: 18px; }
.glow.sm .g-mid { inset: 3px; }
.glow.sm .g-core { inset: 5px; }

