.topic-managed-image { display:block;width:100%;max-height:380px;object-fit:contain; }
eight-draw-poster { display:block;aspect-ratio:1552 / 1120;margin:0; }
eight-draw-poster img { display:block;width:100%;height:auto; }
eight-draw-poster[hidden],eight-draw-poster img[hidden] { display:none; }
suan-five-poster { display:block;aspect-ratio:1520 / 1100;margin:0 0 8px;overflow:hidden;background:#f4ecd5; }
suan-five-poster img { display:block;width:100%;height:auto; }
suan-five-poster[hidden],suan-five-poster img[hidden] { display:none; }
.topic-rows .topic-image-row td { padding:0; }
.topic-rows,.topic-sublines {
  width:100%;
  table-layout:fixed;
  border-collapse:collapse;
  font-variant-numeric:tabular-nums;
}
.topic-heading {
  container-type:inline-size;
  margin-block-end:6px;
  background:#fffcf6;
  border:1px solid var(--edition-line);
  border-radius:9px;
}
.topic-heading>.section-head {
  padding:9px 13px;
  background:#fffcf6;
  border-bottom:1px solid var(--edition-line);
}
.topic-demo-note {
  margin:0;
  padding:6px 13px;
  background:#fff2d0;
  color:#644813;
  font-size:.875rem;
  font-weight:700;
}
.topic-heading>.section-head h2 {
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--edition-dark);
  font-size:1.08rem;
  line-height:1.2;
}
.topic-heading>.section-head h2::before {
  content:"";
  width:3px;
  height:1em;
  border-radius:4px;
  background:#bc914f;
}
.topic-heading .section-head a {
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:32px;
  padding:3px 8px;
  border-radius:5px;
  color:var(--edition-dark);
  font-size:.81rem;
  font-weight:710;
}
.topic-heading .section-head a::after {
  content:"";
  width:5px;
  height:5px;
  border-block-start:1.5px solid currentColor;
  border-inline-end:1.5px solid currentColor;
  transform:rotate(45deg);
}
.topic-tabs {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:4px;
  padding:8px;
  background:#fffcf6;
}
.topic-tabs :is(button,a) {
  min-width:0;
  min-height:40px;
  padding:4px;
  border:1px solid transparent;
  border-radius:5px;
  background:#f4eee2;
  color:var(--edition-ink);
  font-size:.86rem;
  font-weight:660;
  line-height:1.25;
}
.topic-tabs a { display:grid;place-items:center;text-align:center; }
.topic-tabs button[aria-pressed=true] {
  border-color:var(--edition-dark);
  background:var(--edition-dark);
  color:#fff6e1;
  font-weight:760;
}
@container (min-width:360px) {
  .topic-tabs { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@container (min-width:460px) {
  .topic-tabs { grid-template-columns:repeat(5,minmax(0,1fr)); }
}
@container (min-width:550px) {
  .topic-tabs { grid-template-columns:repeat(6,minmax(0,1fr)); }
}
@container (min-width:650px) {
  .topic-tabs { grid-template-columns:repeat(7,minmax(0,1fr)); }
  .topic-tabs :is(button,a) { min-height:36px; }
}
@media(hover:hover) {
  .topic-tabs :is(button[aria-pressed=false],a):hover { border-color:#d6c6aa;background:#eee4d2;text-decoration:none; }
  .topic-heading .section-head a:hover { background:#f4eee2;text-decoration:none; }
}
.ball-red { --ball-light:#e96663; --ball-color:#b92234; --ball-shade:#6a1022; }
.ball-blue { --ball-light:#69a9dd; --ball-color:#256bbc; --ball-shade:#173971; }
.ball-green { --ball-light:#67b98f; --ball-color:#197551; --ball-shade:#124635; }
.ball:not(.ball-empty),.draw-card .ball:not(.ball-empty) {
  border-radius:50%;
  background:radial-gradient(circle at 29% 19%,#fff9 0%,#fff0 35%),
    radial-gradient(circle at 38% 32%,var(--ball-light),var(--ball-color) 59%,var(--ball-shade) 96%);
  box-shadow:inset 0 -2px 5px #22100b36,0 2px 3px #38271645;
}
.ball-value {
  display:grid;
  place-items:center;
  width:62%;
  aspect-ratio:1;
  color:#241c17;
  font-size:.78em;
  line-height:1;
  text-shadow:none;
  border-radius:50%;
  background:linear-gradient(#fffdf5,#eadfc5);
  box-shadow:inset 0 0 0 1px #fff9,0 1px 2px #4322165e;
}
.number-chip { width:1.64rem;flex:none;display:inline-grid;font-size:.88rem;vertical-align:middle; }
.number-chip.number-hit { outline:2px solid #e0a538;outline-offset:1px; }
.draw-card>.balls {
  --draw-ball-size:clamp(28px,11vw,64px);
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr)) max-content minmax(0,1fr);
  gap:clamp(3px,.7vw,7px);
  margin:5px 10px 7px;
}
.draw-card .ball-pair,.draw-card .ball-pair:has(.ball-red,.ball-blue,.ball-green) {
  background:transparent;
  box-shadow:none;
  padding:3px 0 4px;
  gap:5px;
}
.draw-card .ball-pair.special { outline:0; }
.draw-card .ball,.draw-card .special .ball {
  width:min(100%,var(--draw-ball-size));
  min-height:0;
  aspect-ratio:1;
  border-radius:50%;
  font-size:clamp(1.12rem,5.1vw,1.8rem);
}
.draw-card .ball-value { width:68%; }
.draw-card .special .ball { outline:1px solid #c8a655;outline-offset:1px; }
.draw-card .ball.ball-empty { background:#f1e7d5;color:#73634d;border:1px solid #dac6a5; }
.draw-card .ball-plus {
  align-self:start;
  margin-top:calc((var(--draw-ball-size) - 1em) / 2 + 3px);
  color:var(--edition-ink);
  font-size:clamp(1.06rem,3.7vw,1.32rem);
  line-height:1;
}
.draw-card .ball-pair .ball-attributes {
  display:flex;
  gap:clamp(2px,.55vw,4px);
  background:#f5efdf;
}
.animal-label {
  --animal-size:1.58em;
  position:relative;
  isolation:isolate;
  display:inline-grid;
  place-items:center;
  box-sizing:border-box;
  width:var(--animal-size);
  height:var(--animal-size);
  vertical-align:middle;
  overflow:hidden;
  border-radius:50%;
  color:#23170d;
  background:#f6ead3;
}
.animal-label img,.zodiac-switch .animal-label img,.zodiac-seal .animal-label img,
.draw-card .ball-attributes .animal-label img,.compact .animal-label img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  border-radius:0;
  opacity:.71;
  object-fit:cover;
}
.animal-character {
  position:relative;
  z-index:1;
  line-height:1;
  font-weight:850;
  text-shadow:-1px 0 #fff3d9,1px 0 #fff3d9,0 -1px #fff3d9,0 1px #fff3d9,0 0 3px #fff5de;
}
.zodiac-switch .animal-label { --animal-size:1.8em;font-size:1.18rem; }
.zodiac-switch button[aria-pressed=true] .animal-label { outline:2px solid #e4bb67; }
.zodiac-seal .animal-label { border-radius:4px; }
.zodiac-caption .zodiac-caption-numbers { display:flex;flex-wrap:wrap;gap:6px; }
.zodiac-fact .ball { width:min(100%,43px);font-size:1.17rem; }
.period-board[data-topic-category] > header { justify-content:center; }
body[data-edition=hall] [data-topic-category="绝杀二肖"] > header {
  position:relative;
  isolation:isolate;
  min-height:clamp(68px,11vw,86px);
  overflow:hidden;
  border-block:1px solid #bc9056;
  color:#fff0c8;
  background:
    linear-gradient(110deg,transparent 40%,#ffe1a329 51%,transparent 63%) 100% 50% / 270% 100% no-repeat,
    repeating-radial-gradient(ellipse at 50% 140%,transparent 0 15px,#e9b87913 16px 17px,transparent 18px 30px),
    linear-gradient(105deg,#3b101b,#731f2b 51%,#3b101b);
  animation:zodiac-title-light 7s ease-in-out infinite;
}
body[data-edition=hall] [data-topic-category="绝杀二肖"] > header::before,
body[data-edition=hall] [data-topic-category="绝杀二肖"] > header::after {
  content:"";
  position:absolute;
  inset-block-start:50%;
  width:clamp(44px,8vw,58px);
  aspect-ratio:1;
  translate:0 -50%;
  border:1px solid #e9bb76;
  border-radius:50%;
  outline:1px solid #d7a35f;
  outline-offset:3px;
  background:linear-gradient(145deg,#e9be7c38,#57251e3d),var(--zodiac-emblem) center / cover;
  filter:grayscale(.75) sepia(.7);
  opacity:.68;
  pointer-events:none;
}
body[data-edition=hall] [data-topic-category="绝杀二肖"] > header::before {
  --zodiac-emblem:url('/zodiac-dragon-icon.jpg');
  inset-inline-start:clamp(20px,10%,84px);
}
body[data-edition=hall] [data-topic-category="绝杀二肖"] > header::after {
  --zodiac-emblem:url('/zodiac-tiger-icon.jpg');
  inset-inline-end:clamp(20px,10%,84px);
}
body[data-edition=hall] [data-topic-category="绝杀二肖"] > header h3 {
  position:relative;
  z-index:1;
  font-size:clamp(1.42rem,3.6vw,1.92rem);
  letter-spacing:.12em;
  color:#fff0c8;
  text-shadow:0 2px 4px #2d0712;
  animation:zodiac-title-pulse 1.8s ease-in-out infinite;
}
@keyframes zodiac-title-light {
  0%,17% { background-position:100% 50%,0 0,0 0; }
  72%,100% { background-position:0% 50%,0 0,0 0; }
}
@keyframes zodiac-title-pulse {
  0%,100% { transform:scale(1);text-shadow:0 2px 4px #2d0712; }
  50% { transform:scale(1.08);text-shadow:0 2px 4px #2d0712,0 0 9px #ffd89299; }
}
@media(prefers-reduced-motion:reduce) {
  body[data-edition=hall] [data-topic-category="绝杀二肖"] > header,
  body[data-edition=hall] [data-topic-category="绝杀二肖"] > header h3 { animation:none; }
}
.topic-rows tr:nth-child(odd),.topic-sublines tr:nth-child(odd) { background:#faf4e8; }
.topic-rows th,.topic-rows td,.topic-sublines th,.topic-sublines td {
  text-align:center;
  padding:8px 6px;
  border-bottom:1px solid #e7ddcb;
  vertical-align:middle;
}
.topic-rows tbody th,.topic-sublines th { width:18%; font-weight:740; overflow-wrap:anywhere; }
.topic-rows thead th { background:#eee2cc; color:#543d1c; }
.topic-rows thead th:first-child { width:18%; }
.topic-rows thead th:last-child,.topic-result { width:26%; }
.topic-result { color:#3d362f; font-size:.96rem; }
.topic-pending,.topic-verdict { display:inline-block; }
.topic-result-ball { display:inline-flex;align-items:center;gap:3px;white-space:nowrap;vertical-align:middle; }
.topic-verdict { margin-inline-start:.24em; }
.topic-correct { color:#17603d; }
.topic-wrong { color:#a02724; }
.topic-pending { color:#695741; font-weight:700; }
.topic-retro { display:block;color:#695741;font-size:.67rem; }
.topic-issue-link { text-decoration:underline; text-underline-offset:.18em; }
.topic-selection,.topic-sublines td:nth-child(2) { color:#832920; font-weight:780; }
.topic-selection small,.topic-pair-row small { color:#60513b; }
.topic-rows tbody tr:last-child > *,.topic-sublines tbody tr:last-child > * { border-bottom:0; }
.topic-tokens { display:inline-flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:.18em .26em; max-width:100%; vertical-align:middle; }
.topic-tokens i { font-style:normal;opacity:.6; }
.topic-numbers,.topic-number-grid { letter-spacing:.025em; font-variant-numeric:tabular-nums; }
.topic-numbers { column-gap:.4em; }
.topic-element-groups { display:grid;gap:6px;width:min(100%,29rem);margin:0 auto;padding:0;list-style:none; }
.topic-element-group { display:grid;grid-template-columns:3em minmax(0,1fr);align-items:start;gap:5px;text-align:start; }
.topic-element-name { display:flex;align-items:center;min-height:1.45rem;white-space:nowrap;font-size:.83em; }
.topic-element-balls { display:flex;flex-wrap:wrap;align-items:center;gap:4px; }
.topic-element-balls .number-chip { width:clamp(1.32rem,4.5vw,1.58rem);font-size:clamp(.75rem,2.9vw,.88rem); }
.topic-element-balls .number-chip.number-hit { outline-width:1px; }
.topic-hit { background:#ffdf7d; color:#752519; border-radius:2px; padding-inline:.1em; }
:root { --wave-text-red:#a52335;--wave-text-blue:#154b96;--wave-text-green:#086b55; }
.wave-text-red { color:var(--wave-text-red); }
.wave-text-blue { color:var(--wave-text-blue); }
.wave-text-green { color:var(--wave-text-green); }
.topic-animal-hit { border-radius:50%;padding:0;box-shadow:0 0 0 2px #e0a538; }
.topic-stack,.topic-issue-block,.topic-pair-row { min-width:0; }
.topic-stack { display:grid; justify-items:center; gap:3px; }
.topic-stack > div,.topic-stack > span { min-width:0; max-width:100%; }
.topic-guide,.topic-block-heading {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:4px 16px;
  padding:6px 8px;
  background:#efe5d0;
  color:#5b4528;
  border-bottom:1px solid #ddd0b6;
  font-size:.78rem;
}
.topic-guide { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));font-size:1.02rem;gap:6px; }
.topic-guide-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.topic-guide-item,.topic-guide-item>span { display:flex;align-items:center;justify-content:center;gap:3px;flex-wrap:wrap; }
.topic-guide-item { min-width:0;background:#fff8eab3;border:1px solid #e5d6b8;border-radius:6px;padding:4px; }
.topic-guide-item b { margin-inline-end:4px;color:#543b22; }
.topic-block-heading { justify-content:space-between; padding-inline:12px; font-size:.86rem; font-weight:750; }
.topic-issue-block+.topic-issue-block { border-top:2px solid var(--edition-line); }
.topic-edition-5858 .topic-selection { color:#184e75; }
.topic-edition-6868 .topic-selection { color:#194e3c; }
.topic-pair-row,.topic-feature-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.22fr) minmax(0,1.3fr);
  align-items:center;
  justify-items:center;
  gap:5px;
  padding:5px 6px;
  text-align:center;
  border-bottom:1px solid #e7ddcb;
}
.topic-pair-row:nth-child(odd) { background:#faf4e8; }
.topic-feature-row { grid-template-columns:1fr 1fr; color:#8b2a37; font-weight:760; }
.topic-pairs,.topic-number-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; }
.topic-style-pair-grid .topic-pairs { grid-template-columns:repeat(2,minmax(0,1fr)); }
.topic-pair { white-space:nowrap; }
.topic-number-grid { grid-template-columns:repeat(12,minmax(0,1fr)); justify-items:center;gap:4px; }
.topic-issue-block .topic-result { width:27%; }
.topic-history { border-top:1px solid var(--edition-line); }
.topic-history summary {
  display:flex;
  align-items:center;
  gap:.42rem;
  min-height:42px;
  padding:6px 12px;
  color:var(--edition-dark);
  font-weight:740;
  cursor:pointer;
  list-style:none;
}
.topic-history summary::-webkit-details-marker { display:none; }
.topic-history summary::before {
  content:"";
  width:.45rem;
  height:.45rem;
  border-inline-end:2px solid currentColor;
  border-block-end:2px solid currentColor;
  transform:rotate(-45deg);
  margin-inline-end:.2rem;
  flex:none;
}
.topic-history details[open]>summary::before,.topic-history[open]>summary::before { transform:rotate(45deg); }
.topic-history>summary { background:#f1e8d7; }
.topic-history>summary>span,.topic-history-result { margin-inline-start:auto; }
.topic-history>summary>span { font-size:.82rem;color:#5d4b34; }
.topic-history-issue { border-top:1px solid #e7ddcb; }
.topic-history-issue>summary { padding-inline:15px; font-size:.85rem; }
.topic-history-issue[open]>summary { background:#faf4e8; }
.topic-history-result { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:.35em; }
.topic-compound-issue > summary {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr);
  align-items:center;
  gap:6px;
  min-height:41px;
  padding:7px 12px;
  cursor:pointer;
  font-size:.875rem;
  line-height:1.2;
  font-variant-numeric:tabular-nums;
}
.topic-compound-issue > summary::after { content:'›';position:absolute;inset-inline-end:12px;top:50%;translate:0 -50%;width:12px;text-align:center;color:var(--edition-rich); }
.topic-compound-issue[open] > summary::after { transform:rotate(90deg); }
.topic-compound-issue > summary .topic-issue-number { font-weight:650;white-space:nowrap; }
.topic-compound-issue > summary .topic-tokens { display:grid;grid-template-columns:repeat(4,1.6em);gap:.3em; }
.topic-compound-issue > summary .animal-label { --animal-size:1.6em; }
.topic-compound-issue > summary .topic-compound-verdict { padding-inline-end:18px;text-align:end;font-size:inherit;white-space:nowrap; }
.topic-compound-detail { padding:6px 12px 10px;background:var(--edition-cream); }
.topic-compound-result { display:flex;align-items:center;gap:8px;padding-bottom:6px; }
.topic-compound-detail ul { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:0;padding:0;list-style:none; }
.topic-compound-detail li { display:flex;align-items:center;justify-content:space-between;gap:4px;padding:3px 5px;border:1px solid var(--edition-line);border-radius:4px; }
.topic-compound-detail li strong { white-space:nowrap;font-size:.76rem; }
.topic-history-issue .topic-block-heading { padding-block:5px; }
.zodiac-date-control { display:flex; align-items:center; flex-wrap:wrap; gap:5px; font-size:.8rem; }
.zodiac-date-control input { color:#2f271b; background:#fff8e8; border:1px solid #dfc38a; border-radius:4px; padding:3px 5px; min-width:0; }
.zodiac-fact .zodiac-half-wave { white-space:nowrap; }
@media(max-width:550px) {
  .draw-card>.balls { margin-inline:7px; }
  .draw-card .ball-pair .ball-attributes { font-size:clamp(.64rem,3vw,.82rem); }
  .draw-card .ball-attributes .element-label { gap:1px; }
  .draw-card .ball-attributes .element-symbol { width:.72em;height:.72em; }
  .topic-heading>.section-head { padding:6px 9px; }
  .topic-tabs :is(button,a) { font-size:.82rem; }
  .topic-rows,.topic-sublines,.topic-pair-row,.topic-feature-row { font-size:.94rem; }
  .topic-rows th,.topic-rows td,.topic-sublines th,.topic-sublines td { padding:6px 2px; }
  .topic-result { font-size:.87rem; }
  .topic-choice-label { font-size:.83rem; }
  .topic-number-grid { grid-template-columns:repeat(6,minmax(0,1fr)); }
  .number-chip { width:1.48rem;font-size:.78rem; }
  .topic-pairs { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .topic-guide,.topic-guide-4 { grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:6px 4px; }
}

.draw-card {
  padding:0;
  border:1px solid var(--edition-line);
  border-radius:9px;
  background:#fffcf6;
  box-shadow:0 3px 10px #3d30200d;
}
.draw-card .draw-band {
  background:linear-gradient(110deg,var(--edition-dark),var(--display-band,var(--edition-rich)));
  padding:8px 14px;
}
.draw-card .draw-top {
  align-items:center;
  padding:10px 14px 4px;
  min-height:63px;
}
.draw-card .draw-identity { font-size:clamp(.96rem,3.9vw,1.2rem);gap:8px; }
.draw-card .draw-identity .status-pill { font-size:.72rem;padding:4px 7px; }
.draw-card .draw-identity .status-pill.live { background:#f9e4d5;color:#842723; }
.draw-links { display:grid;justify-items:end;align-content:center;gap:4px;flex:none; }
.draw-card .draw-history-link { color:var(--edition-rich);white-space:nowrap; }
.draw-progress { display:flex;align-items:center;gap:4px;color:var(--edition-rich);font-size:.71rem;font-weight:750;white-space:nowrap; }
.draw-progress progress { width:clamp(22px,6vw,44px);height:4px;accent-color:var(--edition-rich); }
.draw-announcement { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }

.draw-card>.balls {
  --draw-ball-size:clamp(29px,9.5vw,66px);
  margin:8px 14px 11px;
  gap:clamp(3px,.85vw,9px);
}
.draw-card .ball-value { width:72%; }
.draw-card .ball-pair > small,
.draw-card .ball-pair > small.ball-attributes {
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:100%;
  height:25px;
  padding:2px 0;
  font-size:clamp(.62rem,2.8vw,.83rem);
  line-height:1.1;
  background:#f5eddb;
}
.draw-card .ball-pair:has(.ball-empty) > small { background:transparent;color:#6c6155; }
.draw-card .ball-plus { font-size:clamp(1.15rem,4vw,1.48rem); }
.draw-card .special.ball-revealed .ball { animation:draw-special-glow .85s ease-out both; }
@keyframes draw-special-glow {
  from { box-shadow:0 0 0 4px #e6b75575,0 0 11px 3px #e6b755b0; }
  to { box-shadow:0 2px 3px #38271645; }
}

.draw-card .draw-bottom {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  column-gap:8px;
  margin:0;
  padding:9px 14px;
  background:color-mix(in srgb,var(--edition-soft) 62%,#fffcf6);
}
.draw-card .draw-bottom .draw-schedule { display:grid;gap:3px; }
.draw-schedule-heading { display:flex;align-items:baseline;flex-wrap:wrap;gap:0 7px; }
.draw-card .draw-schedule-heading .meta-label { font-size:.78rem; }
.draw-card .draw-schedule-heading strong { margin:0;font-size:.95rem;color:var(--edition-rich);font-variant-numeric:tabular-nums; }
.draw-schedule > :is(time,span) { color:var(--edition-ink);font-size:.81rem;white-space:nowrap;font-variant-numeric:tabular-nums; }
.draw-schedule time b { margin-inline-start:3px; }
.draw-card .draw-actions { gap:8px;flex-wrap:nowrap; }
.draw-timer { display:grid;justify-items:end;gap:1px; }
.draw-timer > span:first-child { color:var(--muted);font-size:.69rem;white-space:nowrap; }
.draw-card .draw-timer .countdown { min-width:8ch;text-align:right;font-size:1.12rem;line-height:1.15;white-space:nowrap; }
.draw-card .draw-actions .neutral-button { white-space:nowrap;min-height:36px; }

@media(max-width:550px) {
  .draw-card .draw-top { min-height:57px;padding:8px 9px 3px; }
  .draw-card .draw-date { gap:2px 5px;font-size:clamp(.68rem,3vw,.83rem); }
  .draw-card .draw-identity { gap:5px; }
  .draw-card .draw-identity .status-pill { font-size:.66rem; }
  .draw-card>.balls { margin:6px 8px 8px; }
  .draw-card .draw-bottom { padding:7px 9px; }
  .draw-card .draw-schedule-heading { gap:1px 4px; }
  .draw-card .draw-schedule-heading .meta-label,.draw-schedule > :is(time,span) { font-size:.72rem; }
  .draw-card .draw-schedule-heading strong { font-size:.85rem; }
  .draw-card .draw-actions { gap:6px; }
  .draw-card .draw-timer .countdown { font-size:.96rem; }
}
@media(prefers-reduced-motion:reduce) {
  .draw-card .special.ball-revealed .ball { animation:none; }
}
@media(max-width:365px) {
  .topic-pairs { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .topic-tokens { column-gap:.16em; }
  .zodiac-date-control { font-size:.72rem; }
}
.category-intro { padding:10px 14px; white-space:pre-line; overflow-wrap:anywhere; }

:root {
  --topic-row-background:#f8f8f8;
  --topic-row-divider:#e1e2e3;
  --topic-size:clamp(1.0625rem,3.5vw,1.2rem);
}
.draw-card .draw-band { font-size:clamp(1.19rem,4.2vw,1.45rem); }
.draw-card .draw-identity { font-size:clamp(1.05rem,4.4vw,1.38rem); }
.draw-card .draw-identity .status-pill,.draw-card .draw-progress { font-size:clamp(.75rem,2.9vw,.88rem); }
.draw-card .draw-date,.draw-card .draw-history-link { font-size:clamp(.82rem,3.4vw,1rem); }
.draw-card .draw-schedule-heading .meta-label,.draw-card .draw-schedule > :is(time,span) { font-size:clamp(.83rem,3.15vw,.98rem); }
.draw-card .draw-schedule-heading strong { font-size:clamp(.98rem,3.5vw,1.2rem); }
.draw-card .draw-timer > span:first-child { font-size:.8rem; }
.draw-card .draw-timer .countdown { font-size:clamp(1.09rem,4vw,1.35rem); }
.draw-card .draw-actions .neutral-button { font-size:.93rem; }
.draw-card>.balls { --draw-ball-size:min(11vw,82px);gap:clamp(3px,.72vw,8px); }
.draw-card .ball:not(.ball-empty) { container-type:inline-size; }
.draw-card .ball-value { width:77%;font-size:56cqi;letter-spacing:-.025em; }
.draw-card .ball-pair > small,
.draw-card .ball-pair > small.ball-attributes {
  height:32px;
  border-radius:0;
  background:transparent;
  font-size:clamp(.81rem,3.4vw,1.02rem);
  gap:3px;
}
.draw-card .ball-attributes .element-symbol { width:.79em;height:.79em; }
.draw-card .ball-attributes .animal-label { --animal-size:1.45em; }

.topic-heading>.section-head h2 { font-size:clamp(1.36rem,4.7vw,1.58rem); }
.topic-heading .section-head a,.topic-demo-note { font-size:.98rem; }
.topic-tabs :is(button,a) { min-height:44px;font-size:clamp(.94rem,3.65vw,1.06rem); }
.period-board[data-topic-category] { background:var(--topic-row-background); }
.period-board[data-topic-category] > header { min-height:44px;padding:7px 8px; }
.period-board[data-topic-category] > header h3 { font-size:clamp(1.35rem,4.7vw,1.55rem); }
body[data-edition=hall] [data-topic-category="绝杀二肖"] > header { min-height:clamp(68px,11vw,86px); }
body[data-edition=hall] [data-topic-category="绝杀二肖"] > header h3 { font-size:clamp(1.7rem,4.8vw,2.22rem); }
.period-board :is(.topic-rows,.topic-sublines,.topic-pair-row,.topic-feature-row,.topic-compound-issue) { font-size:var(--topic-size); }
.period-board :is(.topic-rows,.topic-sublines) tbody tr,
.period-board :is(.topic-pair-row,.topic-feature-row,.topic-guide,.topic-block-heading,.topic-history>summary,.topic-history-issue>summary,.topic-compound-detail) {
  background:var(--topic-row-background);
  border-color:var(--topic-row-divider);
}
.period-board .topic-rows thead th { color:var(--edition-dark);background:color-mix(in srgb,var(--edition-soft) 68%,#ded9cf); }
.period-board :is(.topic-rows,.topic-sublines) tbody :is(th,td) { border-color:var(--topic-row-divider); }
.period-board :is(.topic-result,.topic-choice-label,.topic-history summary,.topic-history>summary>span,.topic-compound-detail li strong) { font-size:var(--topic-size); }
.period-board .topic-compound-issue > summary { min-height:46px;font-size:inherit; }
.period-board .topic-result-ball { gap:4px; }
.period-board .number-chip { width:clamp(1.58rem,5.3vw,1.98rem);font-size:clamp(.92rem,3.7vw,1.09rem); }
.period-board .number-chip .ball-value { width:77%;font-size:1em;letter-spacing:-.025em; }
.period-board .topic-tokens { gap:.24em; }
.period-board .topic-number-grid { grid-template-columns:repeat(auto-fit,minmax(1.8rem,1fr)); }
.period-board .topic-element-name { min-height:1.65rem;font-size:1em; }
.period-board .topic-element-group { grid-template-columns:3.2em minmax(0,1fr); }
.topic-group-choice { display:inline-flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.45em; }

.site-directory .presentations a,.tools-panel a,.edition-shortcuts :is(button,a) { font-size:clamp(.87rem,3.1vw,1.06rem);white-space:normal;text-align:center; }
.record-titlebar h1,.recent .section-head h2 { font-size:clamp(1.28rem,4.3vw,1.52rem); }
#history-results .history-meta strong,.recent .history-meta strong { font-size:clamp(.93rem,3.1vw,1.12rem); }
#history-results .compact .ball-value,.recent .compact .ball-value { width:76%;font-size:.98em; }
#history-results .compact .ball-attributes,.recent .compact .ball-attributes { font-size:clamp(.7rem,2.75vw,.9rem); }
.zodiac-board .zodiac-fact small,body[data-edition] .site-disclaimer p { font-size:1rem; }

@media(max-width:550px) {
  .period-board .topic-element-group { grid-template-columns:1fr;gap:2px; }
  .period-board .topic-element-balls { gap:4px; }
  .period-board .topic-pairs { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .period-board .topic-pair { flex-wrap:wrap; }
}
@media(max-width:440px) {
  .draw-card .ball-pair > small,
  .draw-card .ball-pair > small.ball-attributes { flex-direction:column;height:44px;gap:1px; }
  .period-board .topic-compound-issue > summary { padding-inline:7px;gap:4px; }
  .period-board .topic-compound-issue > summary::after { inset-inline-end:6px; }
  .period-board .topic-compound-issue > summary .topic-tokens { gap:.17em; }
  .period-board .topic-compound-detail { padding-inline:7px; }
  .period-board .topic-compound-detail li { gap:3px;padding-inline:3px; }
}
