:root {
  --sky: #85b8f4;
  --blue: #317fd8;
  --deep-blue: #155aa9;
  --ink: #101a2b;
  --red: #d93a3a;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font: 14px/1.45 "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #ffcf3a; outline-offset: -3px; }

.site-shell {
  width: min(100%, 720px);
  min-height: 100vh;
  margin: 0 auto;
  background: #d8eaff;
  box-shadow: 0 0 30px rgb(26 72 130 / 24%);
}

.top-stack {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(100%, 720px);
  height: 126px;
  overflow: hidden;
  transform: translateX(-50%);
  box-shadow: 0 2px 8px rgb(14 60 115 / 22%);
}
.top-spacer { height: 126px; }

.brand-header {
  display: grid;
  height: 60px;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr) 64px;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(110deg, #67acf3, #317fd8 55%, #155aa9);
  color: white;
}
.brand-art {
  width: 260px;
  height: 60px;
  object-fit: cover;
  object-position: 39% 57%;
  filter: saturate(.92) contrast(1.05);
}
.brand-label {
  justify-self: center;
  color: #fff7b5;
  font-size: 18px;
  letter-spacing: .12em;
  text-shadow: 0 2px 0 #174f9c;
  white-space: nowrap;
}
.home-link {
  display: grid;
  width: 64px;
  height: 60px;
  place-items: center;
  background: rgb(13 69 139 / 18%);
  font-size: 11px;
}
.home-link:hover { background: rgb(6 42 95 / 32%); }
.home-link svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.draw-strip {
  display: grid;
  height: 66px;
  grid-template-columns: 60px repeat(7, minmax(0, 1fr));
  align-items: center;
  overflow: hidden;
  border-bottom: 3px solid #4b92e1;
  background: white;
}
.issue-panel {
  display: grid;
  height: 66px;
  align-content: center;
  justify-items: center;
  border-right: 1px solid #dbe6f2;
  line-height: 1.05;
}
.issue-panel strong { font-size: 14px; }
.issue-panel span { margin-top: 4px; padding: 2px 6px; border-radius: 2px; background: #ec433c; color: white; font-size: 11px; }
.ball-item { display: grid; min-width: 0; justify-items: center; gap: 1px; color: #5d6168; font-size: 11px; white-space: nowrap; }
.number-ball {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #fff 0 38%, #eef2f6 70%, #cdd5df 100%);
  font: 20px/1 Arial, sans-serif;
  box-shadow: 0 1px 3px rgb(0 0 0 / 18%);
}
.number-ball.red { color: #d53636; }
.number-ball.green { color: #289243; }
.number-ball.blue { color: #3475bd; }

.content { padding: 2px 3px 18px; }
.panel { overflow: hidden; margin-bottom: 4px; border: 3px solid #4f94e3; border-radius: 5px; background: white; }
.quick-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quick-links a {
  display: grid;
  height: 41px;
  place-items: center;
  padding: 0 5px;
  border-right: 1px solid #e2e5e8;
  border-bottom: 1px solid #e2e5e8;
  color: #081d68;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}
.quick-links a:nth-child(3n) { border-right: 0; }
.quick-links a:nth-child(n + 10) { border-bottom: 0; }
.quick-links a:nth-child(n + 4):nth-child(-n + 6), .quick-links a:nth-child(n + 10) { color: var(--red); }
.quick-links a:hover { background: #edf6ff; }

.current-card {
  position: relative;
  min-height: 140px;
  padding: 14px 10px 10px;
  background: linear-gradient(90deg, rgb(255 255 255 / 96%), rgb(255 255 255 / 72%)), repeating-linear-gradient(135deg, transparent 0 18px, rgb(61 133 205 / 8%) 18px 20px);
}
.current-card::after {
  position: absolute;
  right: 18px;
  bottom: -25px;
  color: rgb(57 125 193 / 11%);
  content: "LHC2";
  font: 900 84px Georgia, serif;
  transform: rotate(-8deg);
}
.current-card > * { position: relative; z-index: 1; }
.current-card h1 { margin: 0; padding-bottom: 11px; border-bottom: 1px solid #e6dfad; font-size: 20px; }
.current-description { margin: 9px 0; padding-bottom: 9px; border-bottom: 1px solid #efe7bf; color: #b39a2f; font-size: 15px; }
.result-line { display: flex; flex-wrap: wrap; gap: 3px; margin: 0; font-weight: 800; }
.result-line b { color: #0f43a2; }
.result-line em { color: #d83636; font-style: normal; }

.notice-strip { margin-bottom: 4px; padding: 7px 10px; border-radius: 4px; background: #fffb3f; color: #c93434; font-size: 15px; font-weight: 800; text-align: center; }
.post-section { overflow: hidden; margin-bottom: 5px; border: 2px solid #4f94e3; border-radius: 5px; background: white; }
.post-section h2 { margin: 0; padding: 8px 10px; background: linear-gradient(#4d93dc, #a8c8ee 70%, #f8f7f1); color: #fff052; font-size: 25px; line-height: 1.1; text-align: center; text-shadow: 0 2px 2px #927100, 0 0 7px rgb(255 255 255 / 72%); }
.post-section ul { margin: 0; padding: 0; list-style: none; }
.post-section li + li { border-top: 1px solid #d7d2bf; }
.post-section a { display: grid; min-height: 36px; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px; padding: 6px 9px; font-size: 15px; font-weight: 800; }
.post-section a:hover { background: #f1f7ff; }
.post-section small { color: #e05b5b; font-size: 12px; white-space: nowrap; }
.post-section span { min-width: 0; }
.post-section b { color: #0d3c95; }
.post-section i { color: #bdcad7; font: 900 27px/1 Arial, sans-serif; }

.detail-content { padding-top: 6px; }
.detail-nav {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
  border: 2px solid #4f94e3;
  border-radius: 5px;
  background: white;
  color: #285f9c;
  font-weight: 800;
}
.detail-nav a { display: flex; min-height: 42px; align-items: center; gap: 5px; padding: 0 12px; color: #0d4a93; }
.detail-nav a:hover { background: #edf6ff; }
.detail-nav a span { font-size: 25px; line-height: 1; }
.detail-nav > span { padding-right: 12px; color: #6c7c8e; font-size: 12px; }

.recommendation-card {
  position: relative;
  padding: 15px 12px 13px;
  background: linear-gradient(90deg, rgb(255 255 255 / 97%), rgb(255 255 255 / 82%)), repeating-linear-gradient(135deg, transparent 0 18px, rgb(61 133 205 / 8%) 18px 20px);
}
.recommendation-card::after {
  position: absolute;
  z-index: 0;
  right: 18px;
  top: 64px;
  color: rgb(57 125 193 / 8%);
  content: "LHC2";
  font: 900 76px Georgia, serif;
  transform: rotate(-8deg);
}
.recommendation-card > * { position: relative; z-index: 1; }
.detail-kicker { margin: 0 0 5px; color: #3475bd; font-size: 13px; font-weight: 800; }
.recommendation-card h1 { margin: 0; padding-bottom: 12px; border-bottom: 1px solid #e6dfad; font-size: 21px; line-height: 1.35; }
.detail-summary { margin: 10px 0; color: #9d862a; font-size: 14px; }
.detail-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.detail-meta span { display: flex; min-height: 46px; align-items: center; justify-content: space-between; padding: 8px 10px; border: 1px solid #d7e5f4; border-radius: 5px; background: #f4f9ff; }
.detail-meta b { color: #607388; font-size: 12px; }
.detail-meta strong { color: #d83b3b; }
.recommendation-block, .history-block { margin-top: 12px; border: 1px solid #e5dfbc; border-radius: 5px; background: rgb(255 255 255 / 88%); }
.recommendation-block h2, .history-block h2 { margin: 0; padding: 8px 10px; border-bottom: 1px solid #e5dfbc; color: #123e85; font-size: 16px; }
.recommendation-focus { margin: 10px 10px 0; color: #173f83; font-weight: 800; }
.recommendation-numbers { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 12px 10px 14px; list-style: none; }
.recommendation-numbers .number-ball { width: 46px; height: 46px; font-size: 22px; }
.history-block p { margin: 0; padding: 9px 10px; border-top: 1px solid #f0ebd0; }
.history-block h2 + p { border-top: 0; background: #fffbe4; }
.history-block strong { color: #151b27; }
.history-block span { color: #d43737; font-weight: 800; }
.detail-note { margin: 12px 0 0; padding: 10px; border-left: 4px solid #4f94e3; background: #edf6ff; color: #465b70; }
.related-section h2 { font-size: 21px; }
.noscript-note { position: fixed; z-index: 20; bottom: 0; left: 0; width: 100%; margin: 0; padding: 12px; background: #fff3bd; color: #8b4500; text-align: center; }
.noscript-note a { text-decoration: underline; }

.footer { padding: 18px 16px 24px; border-radius: 4px; background: #2878ce; color: #eef7ff; font-size: 12px; line-height: 1.6; text-align: center; }
.footer strong { display: block; margin-bottom: 5px; color: white; font-size: 15px; }
.footer p { margin: 3px 0; }

@media (max-width: 520px) {
  .brand-header { grid-template-columns: 235px minmax(0, 1fr) 56px; }
  .brand-art { width: 235px; }
  .brand-label { font-size: 15px; letter-spacing: .05em; }
  .home-link { width: 56px; }
  .draw-strip { grid-template-columns: 55px repeat(7, minmax(0, 1fr)); }
  .number-ball { width: 31px; height: 31px; font-size: 18px; }
  .ball-item { font-size: 10px; }
  .quick-links a { font-size: clamp(12px, 3.7vw, 15px); }
  .current-card { min-height: 138px; padding-inline: 8px; }
  .current-card h1 { font-size: 18px; }
  .current-description { font-size: 14px; }
  .post-section h2 { font-size: 23px; }
  .post-section a { padding-inline: 7px; font-size: 14px; }
  .recommendation-card h1 { font-size: 19px; }
  .recommendation-numbers .number-ball { width: 43px; height: 43px; font-size: 20px; }
}

@media (max-width: 390px) {
  .brand-header { grid-template-columns: 220px minmax(0, 1fr) 54px; }
  .brand-art { width: 220px; }
  .brand-label { overflow: hidden; font-size: 13px; letter-spacing: 0; }
  .home-link { width: 54px; }
}

@media (max-width: 350px) {
  .brand-label { display: none; }
  .brand-header { grid-template-columns: minmax(0, 1fr) 54px; }
  .brand-art { width: 100%; }
  .number-ball { width: 27px; height: 27px; font-size: 16px; }
  .post-section small { display: none; }
  .detail-meta { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
