* { box-sizing: border-box; } body { width: 350px; margin: 0; background: radial-gradient(circle at 0 0, rgba(42, 156, 145, 0.18), transparent 34%), linear-gradient(135deg, #fbfffd, #fff8f2); color: #241a14; font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif; } .popup { padding: 14px; } header { display: grid; gap: 6px; margin-bottom: 12px; } .popup-brand { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 10px; } .popup-brand img { display: block; width: 42px; height: 42px; border-radius: 8px; box-shadow: 0 10px 22px rgba(13, 107, 88, 0.2); } .popup-brand > div { display: grid; gap: 4px; min-width: 0; } header strong { font-size: 15px; color: #084738; } header span { color: #69707d; font-size: 12px; } .actions { display: grid; gap: 8px; } .settings { margin-top: 12px; border: 1px solid rgba(13, 107, 88, 0.18); border-radius: 8px; background: rgba(255, 255, 255, 0.82); overflow: hidden; } .settings summary { position: relative; min-height: 40px; padding: 11px 12px; color: #084738; cursor: pointer; font-size: 13px; font-weight: 700; list-style: none; } .settings summary::-webkit-details-marker { display: none; } .settings summary::after { position: absolute; right: 12px; color: #69707d; content: "展开"; font-size: 12px; font-weight: 400; } .settings[open] summary::after { content: "收起"; } .settings.has-update:not([open]) summary::before { position: absolute; right: 48px; color: #a56f18; content: "有更新"; font-size: 12px; font-weight: 700; } .settings-body { display: grid; gap: 8px; padding: 0 10px 10px; } .update-panel { display: grid; gap: 7px; padding: 10px; border: 1px solid rgba(165, 111, 24, 0.32); border-radius: 8px; background: #fff4cf; color: #5f4211; font-size: 12px; line-height: 1.55; } .update-panel strong { color: #084738; } .update-panel p { margin: 0; } label { display: grid; gap: 5px; color: #65766f; font-size: 12px; } label span { color: #315f55; font-weight: 700; } input { min-height: 34px; border: 1px solid rgba(13, 107, 88, 0.2); border-radius: 8px; padding: 7px 9px; color: #241a14; } button { min-height: 38px; border: 1px solid rgba(13, 107, 88, 0.22); border-radius: 8px; background: #ffffff; color: #241a14; cursor: pointer; font: inherit; } button.primary { border-color: #0d6b58; background: #0d6b58; color: #fffaf0; } button:disabled { cursor: not-allowed; opacity: 0.55; } .result { margin-top: 12px; padding: 10px; border: 1px solid rgba(13, 107, 88, 0.18); border-radius: 8px; background: #ffffff; font-size: 12px; line-height: 1.6; } .result code { color: #0d6b58; } .result ul { margin: 8px 0 0; padding-left: 18px; }