.s5-feature .s5-section-head { margin-bottom: 0; }
.s5-cheer-info {
  display: flex; align-items: center; justify-content: space-between; gap: 8px 24px;
  padding: 14px 0 16px; color: #564f45; font-size: 15px; line-height: 1.55;
}
.s5-cheer-info p { margin: 0; }
.s5-cheer-info p strong { color: var(--roster-ink); margin-right: .4em; }
.s5-cheer-quota { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; font-size: 14px; font-weight: 700; }
.s5-cheer-pips { display: inline-flex; gap: 3px; }
.s5-cheer-pips i { width: 11px; height: 15px; transform: skew(-12deg); border: 1px solid #baafa1; border-radius: 1px; background: #e6dfd2; }
.s5-cheer-pips .available { background: #a54035; border-color: #a54035; }
.s5-cheer-value, [data-cheer-timer] { white-space: nowrap; font-variant-numeric: tabular-nums; }
.s5-cheer-value b { font-size: 18px; color: #98372f; }
[data-cheer-timer] { color: #695e50; font-size: 13px; }
.s5-feature .s5-card { display: flex; flex-direction: column; }
.s5-card--ding { --cheer-ink: #7c5616; }
.s5-card--su { --cheer-ink: #5b487a; }
.s5-card--xin { --cheer-ink: #9d3b37; }
.s5-card--mou { --cheer-ink: #2f5665; }
.s5-cheer-card {
  position: relative; margin: auto clamp(10px, 1.2vw, 17px) 0; padding: 12px 0 15px;
  border-top: 1px dashed #bbaf9b;
}
.s5-cheer-count { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; margin-bottom: 9px; }
.s5-cheer-count span { color: #60574c; font-size: 14px; font-weight: 700; }
.s5-cheer-count strong { font: 750 clamp(23px, 2.05vw, 32px)/1.15 Arial, sans-serif; color: #253136; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.s5-cheer-button {
  width: 100%; min-height: 44px; padding: 7px 5px; border: 1px solid var(--cheer-ink); border-radius: 3px;
  background: var(--cheer-ink); color: white; cursor: pointer;
  font: inherit; font-size: clamp(15px, 1.15vw, 18px); font-weight: 800; line-height: 1.3;
}
.s5-cheer-button:enabled:hover { filter: brightness(1.12); }
.s5-cheer-button:enabled:active { transform: translateY(1px); }
.s5-cheer-button:focus-visible, [data-cheer-retry]:focus-visible { outline: 3px solid #26647c; outline-offset: 3px; }
.s5-cheer-button:disabled { border-color: #d9d0c0; color: #685e52; background: #eee7db; cursor: default; }
.s5-cheer-plus { position: absolute; right: 2px; top: 0; pointer-events: none; opacity: 0; color: var(--cheer-ink); background: #fffdf7; font: bold 17px Arial, sans-serif; }
.s5-cheer-own { position: absolute; left: 35%; bottom: 35px; pointer-events: none; opacity: 0; color: white; background: var(--cheer-ink); border-radius: 2px; padding: 0 3px; font: bold 16px Arial, sans-serif; }
.s5-cheer-own.is-own-cheering { animation: s5-cheer-rise .5s ease-out; }
.is-cheering .s5-cheer-plus { animation: s5-cheer-rise var(--cheer-duration, .65s) ease-out; }
.s5-cheer-button.is-confirmed span { display: inline-block; animation: s5-cheer-tap .28s ease-out; }
@keyframes s5-cheer-tap { 45% { transform: scale(1.38); } }
.is-cheering::after {
  content: ''; position: absolute; height: 2px; inset: auto 0 0; background: var(--cheer-ink);
  opacity: 0; pointer-events: none; animation: s5-cheer-glow var(--cheer-duration, .65s) ease-out;
}
@keyframes s5-cheer-glow { 18%, 48% { opacity: .85; } }
@keyframes s5-cheer-rise {
  from { opacity: 0; transform: translateY(7px); }
  20%, 65% { opacity: 1; }
  to { opacity: 0; transform: translateY(-13px); }
}
.s5-cheer-notice { margin-bottom: 13px; color: #655342; font-size: 14px; }
[data-cheer-retry] { border: 0; padding: 4px; background: transparent; color: #8a3831; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 760px) {
  .s5-cheer-info { flex-direction: column; align-items: flex-start; gap: 5px; padding: 10px 0 13px; font-size: 14px; }
  .s5-cheer-card { margin-inline: 9px; padding: 9px 0 10px; }
  .s5-cheer-count { margin-bottom: 6px; }
  .s5-cheer-count span { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .is-cheering .s5-cheer-plus { animation: s5-cheer-glow var(--cheer-duration, .65s) linear; }
  .s5-cheer-own.is-own-cheering { animation: s5-cheer-glow .5s linear; }
  .is-cheering::after, .s5-cheer-button.is-confirmed span { animation: none; }
  .s5-cheer-button:enabled:active { transform: none; }
}
