:root { color-scheme: dark; --bg: #0b0c0a; --text: #f5f0e3; --gold: #f0b90b; --border: #b68f34; --line: #716347; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.site-header { height: 68px; padding: 0 4.05%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.brand { color: var(--text); text-decoration: none; font-size: 32px; font-weight: 750; line-height: 1; }
.button { border: 1px solid #ffd34a; border-radius: 12px; background: #fac400; color: #080906; font: 750 27px/1.3 "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; cursor: pointer; transition: background .15s; }
.button:hover { background: #ffd139; }
.button:focus-visible, a:focus-visible { outline: 3px solid #fff3b7; outline-offset: 5px; }
.button:disabled { cursor: default; background: #bea42b; color: #222315; border-color: #bea42b; }
.compact { font-size: 20px; min-height: 41px; padding: 5px 25px; border-radius: 10px; }
main { width: min(1220px, calc(100% - 64px)); margin: 28px auto 0; }
.mint-layout { display: grid; grid-template-columns: 573fr 622fr; gap: 24px; }
.art-frame, .mint-panel, .rules { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.art-frame { height: 507px; }
.art-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.mint-panel { height: 507px; padding: 10px 29px 35px; }
h1 { font-size: 58px; line-height: 1.3; letter-spacing: 1px; margin: 0; font-weight: 750; }
.tagline { margin: 0 0 22px; font-size: 27px; line-height: 1.45; white-space: nowrap; }
.mint-details { margin: 0; border-top: 1px solid var(--line); }
.mint-details > div { min-height: 60px; display: grid; grid-template-columns: 184px 1fr; align-items: center; border-bottom: 1px solid var(--line); gap: 3px; }
dt { font-size: 23px; font-weight: 500; }
dd { margin: 0; font-size: 28px; font-weight: 700; white-space: nowrap; }
.gold { color: var(--gold); }
.progress { display: flex; align-items: center; justify-content: space-between; font-size: 23px; font-weight: 450; }
.status { border: 1px solid #9e781c; border-radius: 11px; color: var(--gold); background: #33270e; padding: 4px 14px; font-size: 20px; font-weight: 650; }
.wallet-limit { margin: 12px 0 31px; font-size: 23px; }
.primary { width: 100%; min-height: 68px; }
.message { font-size: 16px; line-height: 1.7; padding: 10px 4px; margin: 8px 0; overflow-wrap: anywhere; color: #f5d986; }
.rules { margin-top: 26px; padding: 7px 30px 11px; }
h2 { margin: 0 0 7px; font-size: 35px; line-height: 1.55; font-weight: 750; }
.rules ul { list-style: none; padding: 0; margin: 0; }
.rules li { padding: 5px 0 7px; font-size: 22px; line-height: 1.4; border-bottom: 1px solid var(--line); }
.rules li:last-child { border-bottom: 0; }
footer { text-align: center; padding: 25px 20px 32px; font: 20px/1.5 system-ui, sans-serif; color: #e7e6e1; }
.parameter-link { display: block; font-size: 14px; margin-top: 10px; color: #d3b664; text-underline-offset: 4px; }
@media (max-width: 1250px) and (min-width: 761px) {
  .mint-panel { padding: 23px; }
  h1 { font-size: 45px; }
  .tagline { font-size: 20px; margin-bottom: 31px; }
  .mint-details > div { grid-template-columns: 110px 1fr; }
  dt, .wallet-limit { font-size: 18px; }
  dd { font-size: 21px; }
  .progress { font-size: 18px; gap: 7px; }
  .status { font-size: 16px; padding: 4px 9px; }
  .wallet-limit { margin-bottom: 39px; }
}
@media (max-width: 760px) {
  .site-header { height: 68px; padding: 0 20px; }
  .brand { font-size: 25px; }
  .compact { min-height: 40px; font-size: 15px; padding: 7px 13px; }
  main { width: calc(100% - 40px); margin-top: 20px; }
  .mint-layout { grid-template-columns: 1fr; gap: 18px; }
  .art-frame { height: auto; aspect-ratio: 1.128; }
  .mint-panel { height: auto; padding: 20px; }
  h1 { font-size: 38px; }
  .tagline { font-size: 17px; margin: 4px 0 22px; }
  .mint-details > div { min-height: 58px; grid-template-columns: 85px 1fr; }
  dt, .wallet-limit { font-size: 16px; }
  dd { font-size: clamp(16px, 4.3vw, 22px); }
  .progress { font-size: 16px; gap: 8px; }
  .status { font-size: 14px; padding: 4px 10px; border-radius: 8px; }
  .wallet-limit { margin: 14px 0 23px; }
  .primary { min-height: 54px; font-size: 22px; }
  .rules { padding: 16px 20px; margin-top: 20px; }
  h2 { font-size: 25px; margin-bottom: 8px; }
  .rules li { font-size: 16px; padding: 9px 0; line-height: 1.65; }
  footer { font-size: 15px; padding: 24px 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
