/* 활동 칸 효과 칩과 고른 활동 설명(js/acttags.js) */
:root { --at-up: #2E8B57; --at-down: #C0492F; --at-risk: #A86A00; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --at-up: #6FCF7F; --at-down: #FF9A85; --at-risk: #F2C14E; } }
:root[data-theme="dark"] { --at-up: #6FCF7F; --at-down: #FF9A85; --at-risk: #F2C14E; }

.act { min-height: 0; }
.a-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.at { display: inline-flex; align-items: center; gap: 2px; padding: 2px 7px; border-radius: 999px; font: 700 11.5px/1.35 var(--body); white-space: nowrap; border: 1px solid currentColor; background: color-mix(in srgb, currentColor 9%, transparent); }
.at.up { color: var(--at-up); }
.at.up::after { content: '▲'; font-size: 8px; }
.at.down { color: var(--at-down); }
.at.down::after { content: '▼'; font-size: 8px; }
.at.risk { color: var(--at-risk); }
.at.ex { color: var(--ink); border: 1px dashed var(--muted); background: transparent; }

/* 설명은 고른 칸에서만 */
.act:not(.sel) .a-more { display: none; }
.act.sel .a-more { margin-top: 4px; color: var(--ink); animation: atIn .22s ease-out; }
@keyframes atIn { from { opacity: 0; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .act.sel .a-more { animation: none; } }
