:root {
  color-scheme: dark;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #070a12;
  color: #f7f7f2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 0%, rgba(100, 79, 255, .18), transparent 32rem),
    radial-gradient(circle at 5% 90%, rgba(0, 222, 170, .12), transparent 28rem),
    #070a12;
}

.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 36px; }
.hero { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 40px; margin-bottom: 54px; }
.eyebrow { grid-column: 1 / -1; color: #9da5ba; letter-spacing: .16em; font-size: 12px; font-weight: 700; }
.pulse { display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 99px; background: #25f2b6; box-shadow: 0 0 16px #25f2b6; }
h1 { margin: 0; font-size: clamp(54px, 8vw, 104px); line-height: .86; letter-spacing: -.07em; font-weight: 800; }
h1 span { display: block; }
h1 .title-en { margin-bottom: .18em; font-size: .58em; line-height: 1; letter-spacing: -.04em; }
.hero p { margin: 0 0 5px; max-width: 430px; color: #a8afc1; font-size: 18px; line-height: 1.7; }

.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tool { position: relative; min-height: 410px; padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; color: inherit; text-decoration: none; overflow: hidden; transition: transform .22s ease, border-color .22s ease; }
.tool:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.36); }
.tool-ncm { background: linear-gradient(145deg, #122338, #0b1424); }
.tool-unlock { background: linear-gradient(145deg, #22175a, #11102d); }
.tool-convert { grid-column: 1 / -1; min-height: 420px; padding: 38px 40px; background: radial-gradient(circle at 88% 18%, rgba(255, 169, 94, .22), transparent 23rem), linear-gradient(135deg, #58185d, #181331 58%, #3c2510); box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.convert-body { display: flex; align-items: center; gap: 46px; max-width: 1000px; margin: 66px 0 74px; }
.convert-mark { display: flex; flex: 0 0 auto; align-items: center; gap: 15px; color: #f0a2ff; font-size: 42px; }
.convert-mark strong { display: grid; place-items: center; width: 154px; height: 108px; border-radius: 28px; background: linear-gradient(145deg, #f0a2ff, #ff9a58); color: #241027; font-size: 32px; box-shadow: 0 18px 45px rgba(240, 162, 255, .2); transform: rotate(-3deg); }
.tool-convert h2 { margin-top: 0; font-size: clamp(48px, 5.8vw, 72px); line-height: .95; }
.tool-convert p { max-width: 650px; font-size: 17px; }
.tool-convert .launch { right: 40px; bottom: 38px; font-size: 16px; }
.primary-badge { padding: 7px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; background: rgba(255,255,255,.08); color: #f6d6ff; }
.compat-note { margin: -22px 0 24px; border: 1px solid rgba(255, 185, 102, .25); border-radius: 14px; background: rgba(76, 45, 21, .24); color: #c7ad91; }
.compat-note summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 54px; padding: 10px 14px; cursor: pointer; list-style: none; }
.compat-note summary::-webkit-details-marker { display: none; }
.note-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #ffb866; color: #2a1707; font-weight: 900; }
.compat-summary { display: flex; min-width: 0; align-items: baseline; gap: 12px; }
.compat-summary em { overflow: hidden; color: #a99078; font-size: 12px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.compat-more { color: #ffd29e; font-size: 12px; font-weight: 750; }
.compat-more::after { content: " ＋"; }
.compat-note[open] .compat-more::after { content: " −"; }
.compat-details { padding: 0 56px 16px; border-top: 1px solid rgba(255, 210, 158, .1); }
.compat-note strong { color: #ffd29e; }
.compat-note p { margin: 6px 0 0; color: #c7ad91; font-size: 14px; line-height: 1.65; }
.qq-downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.qq-downloads a { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border: 1px solid rgba(255,210,158,.2); border-radius: 10px; background: rgba(255,210,158,.05); color: #f0c89d; text-decoration: none; }
.qq-downloads a.recommended { border-color: rgba(125,232,200,.35); background: rgba(125,232,200,.07); }
.qq-downloads strong { color: inherit; font-size: 13px; }
.qq-downloads span { color: #a99078; font-size: 11px; }
.qq-downloads a:hover { border-color: rgba(255,210,158,.5); background: rgba(255,210,158,.1); }
.mac-compat { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.mac-compat span { padding: 5px 8px; border: 1px solid rgba(255, 210, 158, .18); border-radius: 7px; color: #a99078; font-size: 11px; }
.mac-solutions { margin-top: 12px; padding-top: 11px; border-top: 1px solid rgba(255, 210, 158, .13); color: #a99078; font-size: 12px; line-height: 1.6; }
.mac-solutions strong { color: #cbb195; font-size: 12px; }
.mac-solutions ol { margin: 5px 0 0; padding-left: 19px; }
.mac-solutions li + li { margin-top: 3px; }
.mac-solutions a { color: #ffd29e; text-underline-offset: 3px; }
.tool-topline { display: flex; justify-content: space-between; color: #aeb6c9; font-size: 12px; letter-spacing: .11em; text-transform: uppercase; }
.tool h2 { margin: 22px 0 8px; font-size: 38px; letter-spacing: -.04em; }
.tool p { max-width: 450px; margin: 0; color: #adb5c8; line-height: 1.7; }
.launch { position: absolute; right: 28px; bottom: 28px; display: flex; align-items: center; gap: 12px; font-weight: 700; }
.launch b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #f7f7f2; color: #0b1020; }
.disc { width: 180px; height: 180px; margin: 52px auto 26px; display: grid; place-items: center; border-radius: 50%; background: repeating-radial-gradient(circle, #131722 0 5px, #22293a 6px 8px); box-shadow: 0 20px 55px rgba(0,0,0,.4); }
.disc::after { content: ""; position: absolute; width: 54px; height: 54px; border-radius: 50%; background: #25f2b6; }
.disc span { z-index: 1; color: #07120f; font-weight: 900; font-size: 11px; }
.wave { height: 178px; margin: 54px 12px 26px; display: flex; justify-content: center; align-items: center; gap: 9px; }
.wave i { display: block; width: 10px; border-radius: 99px; background: linear-gradient(#b79cff, #6c63ff); box-shadow: 0 0 22px rgba(137,111,255,.35); }
.wave i:nth-child(1), .wave i:nth-child(9) { height: 38px; }
.wave i:nth-child(2), .wave i:nth-child(8) { height: 78px; }
.wave i:nth-child(3), .wave i:nth-child(7) { height: 126px; }
.wave i:nth-child(4), .wave i:nth-child(6) { height: 94px; }
.wave i:nth-child(5) { height: 164px; }
.support { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; margin-top: 22px; padding: 36px; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: linear-gradient(135deg, rgba(24, 49, 48, .86), rgba(31, 18, 48, .9)); }
.support-kicker { color: #7de8c8; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.support h2 { margin: 12px 0; font-size: 38px; letter-spacing: -.04em; }
.support-copy p { margin: 0; color: #aeb8c5; line-height: 1.75; }
.hearts { display: flex; align-items: center; gap: 7px; margin-top: 24px; color: #ff92b7; }
.hearts span { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,146,183,.3); border-radius: 50%; font-size: 23px; }
.hearts em { margin-left: 5px; color: #bc91a3; font-size: 12px; font-style: normal; }
.support-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.support-panel button { display: flex; justify-content: space-between; align-items: center; min-height: 58px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(255,255,255,.045); color: #fff; font: inherit; font-weight: 800; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.support-panel button:hover { transform: translateY(-2px); border-color: rgba(125,232,200,.55); }
.support-panel button.selected { border-color: #7de8c8; background: rgba(125,232,200,.12); box-shadow: 0 0 0 1px rgba(125,232,200,.15); }
.support-panel button span { color: #9aa6b7; font-size: 12px; font-weight: 500; }
.support-panel .wechat-tip-open { grid-column: 1 / -1; justify-content: space-between; gap: 12px; border-color: rgba(88,219,137,.4); background: linear-gradient(135deg, rgba(29,184,96,.14), rgba(255,255,255,.045)); }
.support-panel .wechat-tip-open span { color: #83dfa7; }
.tip-dialog { width: min(500px, calc(100vw - 40px)); height: min(860px, calc(100vh - 40px)); height: min(860px, calc(100dvh - 40px)); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 24px; background: transparent; color: #fff; overflow: hidden; }
.tip-dialog::backdrop { background: rgba(3, 5, 12, .82); backdrop-filter: blur(8px); }
.tip-dialog-card { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; padding: 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: linear-gradient(145deg, #142725, #181224); box-shadow: 0 28px 90px rgba(0,0,0,.52); overflow: hidden; box-sizing: border-box; }
.tip-dialog-card h2 { margin: 9px 44px 4px 0; font-size: 25px; letter-spacing: -.025em; }
.tip-dialog-card > p { margin: 0 0 18px; color: #aeb8c5; font-size: 13px; }
.tip-dialog-image { flex: 1 1 auto; width: 100%; min-height: 0; margin: 0 auto; border-radius: 17px; background-color: #f4f6fa; background-repeat: no-repeat; background-position: center; background-size: contain; box-sizing: border-box; }
.tip-dialog-card .tip-dialog-hint { flex: 0 0 auto; margin: 13px 0 7px; color: #8794a7; line-height: 1.55; }
.tip-dialog-open-image { flex: 0 0 auto; align-self: flex-start; color: #7de8c8; font-size: 12px; font-weight: 700; text-decoration-color: rgba(125,232,200,.4); text-underline-offset: 4px; }
.tip-dialog-open-image:hover { color: #a8f6de; text-decoration-color: currentColor; }
.tip-dialog-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; background: rgba(255,255,255,.06); color: #fff; font: 300 25px/1 system-ui, sans-serif; cursor: pointer; }
.tip-dialog-close:hover { border-color: rgba(125,232,200,.55); background: rgba(125,232,200,.12); }
footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; color: #737d93; font-size: 13px; }
.footer-links { display: flex; align-items: center; gap: 9px; }
.footer-links em { color: #8791a7; font-style: normal; }
.footer-links a { color: #a8b0c3; text-decoration-color: rgba(168, 176, 195, .45); text-underline-offset: 4px; }
.footer-links a:hover { color: #f7f7f2; text-decoration-color: currentColor; }
.footer-links i { color: #4d566a; font-style: normal; }

@media (max-width: 760px) {
  .shell { width: min(100% - 24px, 620px); padding-top: 40px; }
  .hero { display: block; }
  .hero p { margin-top: 28px; }
  .eyebrow { margin-bottom: 22px; }
  .tools { grid-template-columns: 1fr; }
  .tool-convert { grid-column: auto; min-height: 520px; padding: 28px 24px; }
  .convert-body { align-items: flex-start; flex-direction: column; gap: 30px; margin: 48px 0 80px; }
  .convert-mark strong { width: 130px; height: 92px; }
  .tool-convert h2 { font-size: clamp(42px, 13vw, 58px); }
  .tool-convert .launch { right: 24px; bottom: 28px; }
  .compat-note { margin-top: 28px; }
  .compat-note summary { grid-template-columns: auto 1fr auto; }
  .compat-summary { display: block; }
  .compat-summary em { display: block; margin-top: 2px; max-width: 52vw; }
  .compat-details { padding: 0 16px 16px; }
  .qq-downloads { grid-template-columns: 1fr; }
  .tool { min-height: 410px; }
  .support { grid-template-columns: 1fr; gap: 30px; padding: 26px 22px; }
  .support-panel { grid-template-columns: 1fr; }
  .support-panel .wechat-tip-open { grid-column: auto; }
  .tip-dialog { width: calc(100vw - 16px); height: calc(100vh - 16px); height: calc(100dvh - 16px); border-radius: 18px; }
  .tip-dialog-card { padding: 18px 12px 14px; border-radius: 18px; }
  .tip-dialog-card h2 { margin-top: 7px; font-size: 20px; }
  .tip-dialog-card > p { margin-bottom: 12px; font-size: 12px; }
  .tip-dialog-image { border-radius: 11px; }
  .tip-dialog-card .tip-dialog-hint { margin-top: 10px; font-size: 11px; }
  footer { flex-direction: column; }
}
