.autumn-catch {
  --ac-ink: #f4f1e6;
  --ac-lime: #e1ed86;
  --ac-muted: #bac3d3;
  color: var(--ac-ink);
  background: #152036;
  border: 1px solid #39465e;
  border-radius: 18px;
  margin: 0 auto;
  width: min(100%, 630px);
  box-sizing: border-box;
  overflow: hidden;
  font-family: "DM Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color-scheme: dark;
}
.autumn-catch *, .autumn-catch *::before, .autumn-catch *::after { box-sizing: border-box; }
.autumn-catch [hidden] { display: none !important; }
.autumn-catch button,.autumn-catch a { font: inherit; letter-spacing: inherit; -webkit-tap-highlight-color: transparent; }
.autumn-catch button { cursor: pointer; }
.autumn-catch :focus-visible { outline: 2px solid #eee6ae; outline-offset: -3px; }
.ac-toolbar { min-height: 57px; padding: 10px clamp(12px,3vw,24px); display: flex; align-items: center; gap: 12px; background: #19243a; border-bottom: 1px solid #3a4558; }
.ac-name { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 750; white-space: nowrap; }
.ac-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ac-lime); }
.ac-meters { display: flex; align-items: center; gap: clamp(8px,2.7vw,18px); margin-left: auto; color: #c6cede; font-size: 11px; white-space: nowrap; }
.ac-meters b { color: var(--ac-ink); font-size: 20px; font-variant-numeric: tabular-nums; vertical-align: baseline; font-weight: 650; }
.ac-meters [data-time] { color: var(--ac-lime); }
.ac-meters small { font-size: 10px; }
.autumn-catch[data-mode="intro"] .ac-meters, .autumn-catch[data-mode="done"] .ac-meters { display: none; }
.ac-pause { display: grid; place-items: center; min-width: 36px; min-height: 36px; padding: 0; line-height: 1; border-radius: 50%; border: 1px solid #627087; background: transparent; color: var(--ac-ink); font-weight: 700 !important; }
.ac-stage { position: relative; isolation: isolate; width: 100%; height: clamp(315px,58vh,560px); height: clamp(315px,58svh,560px); background: #203049; overflow: hidden; }
.ac-field { display: block; position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
.ac-field:focus:not(:focus-visible) { outline: none; }
.ac-strip { pointer-events: none; position: absolute; inset: 11px 12px auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.ac-order, .ac-wind { color: #e6e7dc; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid rgba(174,188,204,.31); background: rgba(21,32,52,.88); padding: 4px 7px; }
.ac-order { min-height: 31px; gap: 4px; }
.ac-orderlabel { color: #bdc6d5; margin-left: 1px; font-size: 10px; }
.ac-orderarrow { color: #a1a9bc; font-size: 16px; }
.ac-leafchip { display: inline-flex; align-items: center; gap: 1px; color: var(--chip); font-weight: 650; font-size: 11px; white-space: nowrap; }
.ac-leafchip canvas { width: 18px; height: 18px; vertical-align: middle; }
.ac-leafchip:nth-child(2) canvas { width: 23px; height: 23px; }
.ac-wind { color: #e1ded3; margin-top: 3px; white-space: nowrap; font-size: 11px; line-height: 18px; padding: 1px 9px; }
.ac-layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ac-ink); overflow: auto; z-index: 2; }
.ac-intro,.ac-dialog,.ac-result,.ac-art { display: flex; align-items: center; flex-direction: column; text-align: center; }
.ac-intro { width: 100%; padding: 20px; color: #f7f2df; }
.ac-intro h2,.ac-dialog h2,.ac-result h2 { margin: 7px 0 10px; color: var(--ac-ink); font-family: "STSong", "Songti SC","SimSun",serif; font-size: clamp(36px,7vw,59px); line-height: 1.15; font-weight: 650; letter-spacing: .055em; text-wrap: balance; }
.ac-intro p,.ac-dialog p,.ac-result>p,.ac-art p { color: #d6dce4; font-size: 14px; line-height: 1.7; margin: 0 0 17px; }
.ac-role { font-size: 11px; line-height: 1.5; letter-spacing: .12em; font-weight: 650; color: var(--ac-lime); }
.ac-intro small,.ac-result small { color: #c2c9d3; font-size: 11px; margin-top: 9px; line-height: 1.5; }
.ac-best { color: #dbe8b3; font-size: 11px; line-height: 1.6; margin-top: 3px; }
.autumn-catch .ac-primary,.autumn-catch .ac-secondary { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 17px; padding: 8px 19px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; font-size: 14px; line-height: 1.2; text-decoration: none; }
.autumn-catch .ac-primary { color: #1b2631; background: var(--ac-lime); }
.autumn-catch .ac-primary:focus-visible { outline-color: #354345; }
.autumn-catch .ac-secondary { color: #ebeddf; background: #202d44; border-color: #607087; }
.ac-primary span { font-size: 16px; }
.ac-primary:active,.ac-secondary:active,.ac-arrows button:active { transform: translateY(1px); }
.ac-arrows { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 7px 12px; border-top: 1px solid #415066; background: #1a263c; }
.ac-arrows span { text-align: center; color: var(--ac-muted); line-height: 1.4; font-size: 11px; }
.ac-arrows button { min-height: 40px; padding: 5px 13px; white-space: nowrap; font-size: 12px; color: #e4e7e3; border: 1px solid #526179; border-radius: 9px; background: #263349; touch-action: manipulation; }
.autumn-catch[data-mode="paused"] .ac-layer { background: rgba(17,26,43,.84); }
.ac-dialog { padding: 20px; }
.ac-dialog h2,.ac-result h2 { font-size: clamp(25px,4.8vw,35px); }
.autumn-catch[data-mode="done"] .ac-layer { background: #1b293f; }
.autumn-catch[data-mode="done"] .ac-stage { height: clamp(410px,63vh,610px); height: clamp(410px,63svh,610px); }
.ac-result,.ac-art { width: 100%; margin: auto; padding: 13px 16px 15px; }
.ac-poster { flex-shrink: 1; height: clamp(155px,28vh,300px); height: clamp(155px,28svh,300px); padding: 0; border: 0; background: transparent; cursor: zoom-in !important; filter: drop-shadow(0px 7px 8px rgba(5,10,23,.28)); }
.ac-poster img { width: auto; height: 100%; max-width: 100%; object-fit: contain; display: block; border: 1px solid #536077; }
.ac-result .ac-result-line { display: flex; flex-wrap: wrap; gap: 5px 14px; align-items: center; justify-content: center; margin: 12px 0; }
.ac-result-line b { font-size: 18px; color: var(--ac-lime); }
.ac-result-line span { font-size: 12px; }
.ac-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.ac-art img { width: auto; max-width: 100%; height: auto; max-height: min(44vh,420px); object-fit: contain; display: block; user-select: auto; -webkit-user-select: auto; -webkit-touch-callout: default; }
.ac-art p { margin: 9px 0; font-size: 12px; }
.ac-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width:370px) {
  .ac-toolbar { gap: 7px; padding: 7px 9px; min-height: 47px; }
  .ac-name { font-size: 14px; gap: 5px; }
  .ac-strip { inset: 8px 8px auto; }
  .ac-meters { font-size: 10px; }
  .ac-meters b { font-size: 16px; }
  .ac-arrows { padding: 5px 8px; }
  .ac-arrows span { font-size: 10px; }
}
@media(max-height:580px) and (orientation:landscape) {
  .ac-stage { height: 280px; }
  .ac-toolbar { min-height: 44px; padding-top: 5px; padding-bottom: 5px; }
  .ac-intro h2 { font-size: 37px; }
}
