/* ===== 一言卡片 ===== */
.hitokoto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 120px;
  cursor: default;
}
.hitokoto .h-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.hitokoto .h-head .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  /* 静态发光，不用动画 */
  box-shadow: 0 0 8px var(--accent);
}
.hitokoto .h-head .tag {
  margin-left: auto;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--glass-strong);
  border: 1px solid var(--border);
  color: var(--muted);
}
.hitokoto .h-text {
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.4px;
  margin: 0 0 10px;
  position: relative;
  padding-left: 14px;
}
.hitokoto .h-text::before {
  content: "\201C";
  position: absolute;
  left: -4px;
  top: -8px;
  font-size: 32px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.7;
  font-family: Georgia, serif;
}
.hitokoto .h-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted-2);
  min-height: 20px;
}
.hitokoto .h-foot .from { font-style: italic; }
.hitokoto .h-foot .from::before { content: "\2014\2014 "; }
.hitokoto .h-refresh {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--glass-strong);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
}
.hitokoto .h-refresh:hover { background: rgba(255, 255, 255, 0.26); }
/* 刷新按钮旋转：使用 transform，只走合成层 */
.hitokoto .h-refresh.spinning { transform: rotate(360deg); transition: transform 0.6s ease; }
