:root { --text:#182033; --muted:#64748b; --line:#e8e4de; --accent:#b72f2a; }
* { box-sizing:border-box; }
[hidden] { display:none!important; }
body { margin:0; min-height:100vh; color:var(--text); font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif; }
button,a { -webkit-tap-highlight-color:transparent; }
button { font:inherit; cursor:pointer; }
button:disabled { opacity:.55; cursor:wait; }
button:focus-visible,a:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.side-nav { position:fixed; left:16px; top:16px; bottom:16px; z-index:90; width:180px; padding:14px 12px; border:1px solid var(--line); border-radius:16px; background:#fffdf9; display:flex; flex-direction:column; gap:8px; }
.side-brand { display:flex; align-items:center; gap:9px; padding:6px 8px 14px; margin-bottom:4px; border-bottom:1px solid var(--line); font-weight:950; }
.brand-mark { display:grid; place-items:center; width:28px; height:28px; border-radius:9px; }
.side-nav-link { display:flex; align-items:center; gap:9px; min-height:40px; padding:9px 10px; border-radius:12px; color:#526077; text-decoration:none; font-size:14px; font-weight:850; }
.side-nav-icon { width:20px; text-align:center; }
.mobile-nav-toggle { display:none; }
.container { width:min(1120px,calc(100% - 48px)); margin:24px auto; }
h1 { margin:0 0 22px; font-size:24px; font-weight:900; letter-spacing:.02em; }
.tool-card { overflow:hidden; border:1px solid var(--line); border-radius:20px; background:rgba(255,253,249,.97); box-shadow:0 8px 30px #59412605; }
.tool-main { display:flex; align-items:center; justify-content:space-between; gap:36px; padding:34px 30px; }
.tool-overview { display:flex; align-items:center; gap:22px; min-width:0; }
.tool-file-mark { width:88px; min-width:88px; height:110px; display:flex; align-items:center; justify-content:center; flex-direction:column; border:1px solid #f1d8c5; border-radius:12px 25px 12px 12px; background:linear-gradient(145deg,#fff3e7,#fffaf5); color:#a44a32; }
.tool-file-mark span:first-child { font-size:10px; font-weight:750; letter-spacing:.09em; }
.tool-file-mark strong { font-size:22px; letter-spacing:.04em; }
.tool-arrow { margin:3px 0; font-size:18px; color:#c78b5c; }
.tool-eyebrow { margin-bottom:9px; color:#a87653; font-size:11px; font-weight:750; letter-spacing:.12em; }
h2 { margin:0; font-size:25px; line-height:1.4; font-weight:850; }
.tool-features { margin:12px 0 0; color:#596579; font-size:13px; line-height:1.8; }
.tool-release { margin:10px 0 0; color:#8a8e96; font-size:12px; }
.tool-download { flex-shrink:0; display:flex; align-items:center; flex-direction:column; gap:14px; }
.tool-primary { min-height:46px; padding:12px 21px; border:0; border-radius:11px; background:linear-gradient(115deg,#e4473d,#ec8535); color:#fff; font-size:14px; font-weight:750; box-shadow:0 6px 14px #e4473d16; }
.tool-primary span { margin-left:18px; font-size:18px; }
.tool-guide-link { color:#7a716a; font-size:12px; text-decoration:none; }
.tool-guide-link:hover { color:var(--accent); }
.tool-permission { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:0 30px; padding:18px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.tool-permission>div { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.tool-permission-label { color:var(--muted); font-size:13px; }
.tool-state { padding:5px 9px; border-radius:7px; background:#f1efeb; color:#6f7278; font-size:12px; font-weight:650; }
.tool-state[data-state="active"] { color:#49644e; background:#eef3ed; }
.tool-state[data-state="expired"] { color:#b72f2a; background:#fff0ed; }
.tool-expiry { color:var(--muted); font-size:12px; }
.tool-contact { min-height:34px; padding:7px 11px; border:1px solid #f3c9bd; border-radius:8px; color:var(--accent); background:#fff3ed; font-size:12px; font-weight:650; }
.tool-feedback { margin:16px 30px 0; color:var(--accent); font-size:13px; line-height:1.7; }
.tool-guide { padding:25px 30px; scroll-margin-top:28px; }
h3 { margin:0 0 19px; font-size:14px; font-weight:750; }
.tool-guide ol { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; list-style:none; margin:0; padding:0; }
.tool-guide li { display:flex; align-items:flex-start; gap:11px; min-width:0; }
.tool-step { padding-top:1px; color:#c3a68f; font-size:15px; font-weight:650; font-variant-numeric:tabular-nums; }
.tool-guide strong { font-size:13px; font-weight:650; line-height:1.65; }
.tool-guide p { margin:5px 0 0; color:var(--muted); font-size:12px; line-height:1.8; }
.tool-notice { margin:0; padding:15px 30px; background:#f7f4ee; color:#8a8074; font-size:12px; line-height:1.7; }
.tools-placeholder { height:340px; border:1px solid var(--line); border-radius:20px; background:linear-gradient(100deg,#f8f5ef 30%,#fffdf9 50%,#f8f5ef 70%); background-size:200% 100%; animation:tools-shimmer 1.5s ease infinite; }
.tools-error { border:1px solid var(--line); border-radius:18px; background:#fffdf9; padding:30px; color:var(--muted); font-size:14px; }
.tools-error button { border:1px solid var(--line); border-radius:8px; padding:8px 16px; color:var(--accent); background:#fff9f5; }
.support-footer { padding:24px 16px; color:var(--muted); text-align:center; font-size:12px; }
.support-footer a { color:var(--accent); text-decoration:none; }
@keyframes tools-shimmer { to { background-position:-200% 0; } }
@media(min-width:1020px) { body { padding-left:212px; } }
@media(max-width:1019px) { body { padding-bottom:calc(86px + env(safe-area-inset-bottom)); } .mobile-nav-toggle { position:fixed; right:16px; bottom:calc(16px + env(safe-area-inset-bottom)); z-index:130; display:inline-flex; align-items:center; min-height:44px; padding:0 14px; border:1px solid #f3c9bd; border-radius:999px; font:inherit; font-size:14px; font-weight:850; } .side-nav { display:none; left:auto; right:14px; top:auto; bottom:calc(72px + env(safe-area-inset-bottom)); width:min(232px,calc(100vw - 28px)); max-height:70vh; overflow-y:auto; height:auto; } .side-nav.mobile-open { display:flex; } }
@media(max-width:760px) { .container { width:calc(100% - 28px); margin:18px auto; } h1 { font-size:21px; margin-bottom:18px; } .tool-main { flex-direction:column; align-items:stretch; gap:24px; padding:25px 20px; } .tool-overview { align-items:flex-start; gap:14px; } .tool-file-mark { min-width:64px; width:64px; height:87px; } .tool-file-mark span:first-child { font-size:8px; } .tool-file-mark strong { font-size:19px; } h2 { font-size:20px; } .tool-features { font-size:12px; margin-top:8px; } .tool-download { align-items:stretch; gap:13px; text-align:center; } .tool-permission { margin:0 20px; flex-wrap:wrap; } .tool-permission>div { gap:9px; } .tool-guide { padding:23px 20px; } .tool-guide ol { grid-template-columns:1fr; gap:20px; } .tool-guide li { gap:15px; } .tool-notice { padding:14px 20px; } .tool-feedback { margin-left:20px; margin-right:20px; } }
@media(prefers-reduced-motion:reduce) { .tools-placeholder { animation:none; } }
