* { box-sizing: border-box; }
:root { --paper:#faf7f2; --white:#fffefd; --ink:#292822; --muted:#79776e; --line:#e8e1d7; --clay:#b75d3d; --clay-dark:#8e442d; --clay-soft:#f9ede5; --green:#3f745c; --green-soft:#eaf3ed; --red:#ae423b; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif; font-size:14px; line-height:1.65; }
body::before { content:""; position:fixed; inset:0; z-index:-1; pointer-events:none; background:radial-gradient(ellipse at 85% 15%,#edddcc70,transparent 45%); }
button,input,textarea { font:inherit; }
button,a,input,textarea { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.55; }
button:focus-visible,a:focus-visible { outline:3px solid #b75d3d55; outline-offset:4px; }
a { color:inherit; text-decoration:none; }
button svg { width:18px; height:18px; }
.hidden { display:none!important; }
.shell { width:min(1180px,calc(100% - 48px)); margin:0 auto; }
.site-header { background:#fffefdde; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:20; backdrop-filter:blur(16px); }
.header-inner { display:flex; align-items:center; gap:36px; min-height:78px; }
.brand { display:flex; align-items:center; gap:11px; }
.brand span { display:grid; }
.brand b { font-size:13px; letter-spacing:.14em; }
.brand b i { font-style:normal; font-weight:450; color:var(--muted); margin-left:4px; }
.brand small { color:var(--muted); font-size:10px; letter-spacing:.08em; }
.main-nav { display:flex; align-items:center; gap:6px; margin-left:auto; }
.main-nav button { background:none; border:0; padding:12px 22px; border-radius:9px; color:var(--muted); font-weight:600; font-size:13px; white-space:nowrap; }
.main-nav button:hover { background:#f5f0e9; color:var(--ink); }
.main-nav button.active { color:var(--clay-dark); background:var(--clay-soft); }
.language-button { background:var(--white); border:1px solid var(--line); border-radius:9px; padding:9px 12px; font-size:11px; font-weight:700; }
.hero { display:flex; align-items:center; justify-content:space-between; gap:52px; padding:42px 0 34px; }
.hero-copy { min-width:0; }
.eyebrow { font-size:10px; font-weight:750; letter-spacing:.16em; color:var(--clay); }
.hero .eyebrow { display:flex; align-items:center; gap:8px; }
.eyebrow i { width:6px; height:6px; border-radius:50%; background:var(--clay); box-shadow:0 0 0 4px #b75d3d12; }
h1,h2,h3,p { margin:0; }
.hero h1 { margin:14px 0; font-family:Georgia,"Songti SC","STSong",serif; font-size:clamp(36px,4vw,52px); font-weight:500; letter-spacing:-.045em; line-height:1.13; }
.hero p { color:var(--muted); font-size:14px; max-width:550px; }
.hero-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:23px; }
.hero-tags span { padding:4px 10px; border:1px solid var(--line); border-radius:6px; font-size:10px; color:#6b6259; background:#ffffff66; }
.hero-guide { flex:0 0 350px; display:flex; align-items:center; gap:16px; border:1px solid #dccab8; border-radius:18px; padding:23px; background:linear-gradient(120deg,#fffdf8,#f5ebdd); text-align:left; box-shadow:0 12px 36px #63462d0b; transition:.2s; }
.hero-guide:hover { border-color:var(--clay); transform:translateY(-2px); }
.guide-star { font-size:44px; line-height:1; color:var(--clay); }
.hero-guide>span:nth-child(2) { display:grid; gap:5px; }
.hero-guide small { color:var(--clay); font-size:10px; }
.hero-guide strong { font-size:15px; line-height:1.4; }
.hero-guide em { color:var(--muted); font-style:normal; font-size:10px; }
.hero-guide>b { color:var(--clay); margin-left:auto; font-size:20px; }
.recharge-terms { display:flex; align-items:flex-start; gap:14px; padding:20px 24px; margin-bottom:24px; border:1px solid #e7cbb3; border-radius:16px; background:#fcf1e7; }
.terms-icon { display:grid; place-items:center; flex:0 0 27px; height:27px; border:1px solid #dbb29a; border-radius:50%; color:var(--clay-dark); font-size:15px; font-weight:750; }
.recharge-terms h2 { color:var(--clay-dark); font-size:14px; margin-bottom:5px; }
.recharge-terms p { color:#766252; font-size:12px; line-height:1.9; }
.recharge-terms strong { display:block; margin-top:5px; color:var(--clay-dark); font-size:12px; }
.workspace { display:grid; grid-template-columns:minmax(0,1fr) 335px; align-items:start; gap:24px; }
.panel { border:1px solid var(--line); border-radius:22px; background:var(--white); box-shadow:0 10px 36px #49331e06; overflow:hidden; }
.panel-head { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:25px 30px; border-bottom:1px solid var(--line); }
.panel-head h2 { margin-top:4px; font-size:20px; font-weight:650; letter-spacing:-.03em; }
.small-badge { border-radius:6px; padding:5px 9px; color:var(--muted); background:#f5f1eb; font-size:10px; white-space:nowrap; }
form { margin:0; }
.form-step { padding:26px 30px; border-bottom:1px solid var(--line); }
.last-step { border:0; padding-bottom:19px; }
.step-heading { display:flex; align-items:center; gap:12px; margin-bottom:19px; }
.step-number { display:grid; place-items:center; flex:0 0 32px; width:32px; height:32px; border:1px solid #e8cfbd; background:#fbf1e9; border-radius:9px; color:var(--clay); font-size:10px; font-weight:800; }
.step-heading h3 { font-size:14px; font-weight:700; }
.step-heading p { margin-top:2px; font-size:11px; color:var(--muted); }
.step-heading>.text-button { margin-left:auto; white-space:nowrap; }
.text-button { border:0; padding:3px 0; background:none; color:var(--clay-dark); font-size:11px; font-weight:650; }
.text-button:hover { text-decoration:underline; }
.plan-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.plan-card { position:relative; display:grid; align-content:start; gap:13px; min-width:0; text-align:left; padding:16px; border:1px solid var(--line); border-radius:12px; background:var(--white); transition:background .15s,border-color .15s; }
.plan-card:hover { border-color:#c7a28a; }
.plan-card.selected { background:#fcf4ed; border-color:var(--clay); box-shadow:0 0 0 2px #b75d3d0c; }
.plan-card.selected::after { content:"✓"; position:absolute; top:8px; right:9px; color:var(--clay); font-size:10px; }
.plan-card strong { display:block; font-size:16px; letter-spacing:-.035em; font-weight:700; }
.plan-card small { display:block; font-size:10px; color:var(--muted); }
.plan-stock { display:flex; align-items:baseline; justify-content:space-between; gap:8px; padding-top:10px; border-top:1px solid #e9dfd6; }
.plan-stock span { color:var(--muted); font-size:9px; }
.plan-stock b { color:var(--green); font-size:21px; line-height:1.2; font-weight:650; }
.plan-stock.zero b { color:var(--clay); }
.plan-stock b.stock-loading { color:var(--muted); font-size:11px; line-height:25px; }
.stock-time { min-height:15px; margin-top:11px; text-align:right; color:#999187; font-size:9px; }
.loading-placeholder { grid-column:1/-1; color:var(--muted); padding:18px; background:#f6f3ee; border-radius:10px; font-size:12px; }
.field { display:grid; gap:8px; margin-bottom:16px; }
.field>span { font-size:11px; color:#625f57; font-weight:650; }
.field input,.field textarea { width:100%; color:var(--ink); border:1px solid #dfd8cd; background:#fff; border-radius:11px; padding:13px 15px; transition:border .2s,box-shadow .2s; }
.field input { min-height:50px; }
.field textarea { resize:vertical; min-height:114px; font-size:12px; line-height:1.7; }
.field input:focus,.field textarea:focus { outline:0; border-color:var(--clay); box-shadow:0 0 0 4px #b75d3d0d; }
.field input::placeholder,.field textarea::placeholder { color:#b6afa5; }
.mono { font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace; }
.key-hint { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-top:-5px; font-size:9px; color:var(--muted); }
.privacy-note { font-size:10px; line-height:1.75; color:var(--muted); margin-top:12px; }
.submit-row { padding:20px 30px 28px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.submit-row>p { font-size:10px; color:var(--muted); }
.primary-button,.secondary-button { display:inline-flex; align-items:center; justify-content:center; gap:16px; min-height:44px; border-radius:10px; padding:10px 20px; font-size:12px; font-weight:650; transition:.18s; text-align:center; }
.primary-button { background:var(--clay); border:1px solid var(--clay); color:#fff; }
.primary-button:hover:not(:disabled) { background:var(--clay-dark); border-color:var(--clay-dark); }
.secondary-button { border:1px solid var(--line); color:#62594e; background:#fffefd; }
.secondary-button:hover:not(:disabled) { background:#f6f0e7; border-color:#ccb69e; }
.full-width { width:100%; }
.sidebar { display:grid; gap:17px; }
.guide-card { padding:26px 24px; border:1px solid #e3d5c4; border-radius:20px; background:#f2eadd; }
.guide-card h2 { font-size:18px; letter-spacing:-.03em; margin:7px 0 6px; }
.muted { color:var(--muted); font-size:11px; }
.guide-list { padding:0; margin:23px 0; list-style:none; display:grid; gap:18px; }
.guide-list li { display:flex; gap:12px; }
.guide-list li>span { flex:0 0 23px; width:23px; height:23px; display:grid; place-items:center; border-radius:7px; background:#ffffff8f; color:var(--clay); font-size:10px; font-weight:700; }
.guide-list strong { font-size:12px; }
.guide-list p { font-size:10px; color:#807565; margin-top:3px; line-height:1.8; }
.guide-card>.secondary-button { width:100%; background:#fffdf8; }
.guide-thumbnail { display:block; margin-top:17px; padding:0; width:100%; background:var(--white); border:1px solid #dfd1bd; border-radius:9px; overflow:hidden; }
.guide-thumbnail img { width:100%; height:87px; object-fit:cover; object-position:bottom; display:block; }
.guide-thumbnail span { display:block; font-size:10px; padding:9px; color:var(--clay-dark); background:#fffdf7; }
.help-note { display:flex; gap:12px; padding:0 6px; color:var(--muted); font-size:10px; }
.help-note>span { font-size:22px; color:var(--clay); }
.module-panel { max-width:1080px; margin-inline:auto; }
.module-body { padding:28px 30px 32px; }
.module-description { color:var(--muted); font-size:12px; line-height:1.8; margin-bottom:24px; max-width:800px; }
.query-actions { display:flex; align-items:center; gap:10px; }
.query-actions>small { color:var(--muted); margin-right:auto; }
.query-results { margin-top:25px; }
.result-card,.operation-result { padding:20px; border:1px solid #deded5; border-radius:13px; background:#f6f5f0; }
.operation-result { margin:0 30px 30px; scroll-margin-top:100px; }
.view { scroll-margin-top:100px; }
.module-body>.operation-result { margin:24px 0 0; }
.operation-result.processing { background:#f8f0e7; border-color:#e7cbb3; }
.result-card.success,.operation-result.success { background:var(--green-soft); border-color:#cadfcf; }
.result-card.failed,.operation-result.failed { background:#fbefed; border-color:#ead0cb; }
.result-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-bottom:11px; }
.result-head strong { font-size:14px; }
.result-body { color:#70685c; font-size:12px; line-height:1.75; }
.status-badge { display:inline-block; border-radius:5px; font-size:10px; font-weight:650; color:#796045; background:#eae0d3; padding:4px 8px; white-space:nowrap; }
.status-badge.success { color:var(--green); background:#d8e9dc; }
.status-badge.failed { color:var(--red); background:#f3dcd7; }
.result-details { margin:15px 0 0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.result-details div { min-width:0; background:#ffffff65; padding:10px 12px; border-radius:7px; }
.result-details dt { font-size:9px; color:var(--muted); }
.result-details dd { margin:2px 0 0; word-break:break-word; font-size:11px; }
.attempts { border-top:1px solid #d7cebf; margin-top:16px; padding-top:12px; font-size:10px; }
.attempts p { margin-top:7px; color:#786c5e; }
.activity { margin:14px 0 0; height:3px; overflow:hidden; border-radius:4px; background:#d6c4b180; }
.activity i { display:block; width:30%; height:100%; background:var(--clay); animation:travel 2s ease-in-out infinite; }
@keyframes travel { from { transform:translateX(-100%); } to { transform:translateX(430%); } }
.result-continue { margin-top:14px; }
.table-scroll { overflow:auto; border:1px solid var(--line); border-radius:12px; }
table { width:100%; border-collapse:collapse; font-size:11px; min-width:900px; }
th,td { padding:13px 14px; text-align:left; border-bottom:1px solid var(--line); }
th { background:#f5f0e8; color:#877d6e; font-weight:600; white-space:nowrap; }
td { background:var(--white); vertical-align:top; max-width:280px; word-break:break-word; }
tr:last-child td { border:0; }
.remedy-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:28px; align-items:start; }
.remedy-note { padding:34px 27px; border:1px solid #e2d2bf; border-radius:20px; background:#f2eadd; }
.remedy-note h3 { margin:18px 0 10px; font-size:19px; }
.remedy-note p { color:#847661; font-size:12px; line-height:1.9; margin-bottom:24px; }
.inline-guide { margin-bottom:18px; }
.full-guide-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin:28px 0; }
.full-guide-steps>div { padding:18px; background:#f7f1e8; border:1px solid var(--line); border-radius:12px; }
.full-guide-steps span { color:var(--clay); font-size:12px; font-weight:700; }
.full-guide-steps h3 { margin:10px 0 7px; font-size:13px; }
.full-guide-steps p { color:var(--muted); font-size:11px; line-height:1.8; }
.full-guide-image { width:100%; display:block; padding:0; background:#fff; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.full-guide-image img { width:100%; display:block; }
.full-guide-image span { display:block; padding:12px; color:var(--clay-dark); font-size:11px; background:#f7f1e8; }
.faq { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; margin:32px 0 36px; }
.faq details { padding:15px 0; border-top:1px solid #ded4c5; }
.faq summary { cursor:pointer; font-size:12px; font-weight:600; color:#665b4f; }
.faq p { margin-top:12px; font-size:11px; color:var(--muted); }
footer { display:flex; justify-content:space-between; gap:15px; padding:22px 0 30px; color:#a3998b; font-size:10px; border-top:1px solid var(--line); }
footer span { letter-spacing:.1em; font-weight:700; }
dialog { border:1px solid var(--line); color:var(--ink); background:var(--white); box-shadow:0 30px 100px #32231133; }
dialog::backdrop { background:#2e2b2780; backdrop-filter:blur(4px); }
.confirm-dialog { width:min(460px,calc(100vw - 30px)); border-radius:20px; padding:32px; }
.dialog-close { width:32px; height:32px; display:grid; place-items:center; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--muted); font-size:22px; }
.confirm-dialog>.dialog-close { position:absolute; right:15px; top:15px; }
.confirm-dialog h2 { font-size:23px; margin:12px 0 20px; }
.confirm-dialog dl { margin:0; background:#f6f1e9; padding:14px 18px; border-radius:12px; }
.confirm-dialog dl div { display:flex; justify-content:space-between; gap:20px; padding:7px 0; }
.confirm-dialog dt { color:var(--muted); font-size:11px; }
.confirm-dialog dd { margin:0; font-size:11px; font-weight:600; max-width:230px; word-break:break-all; }
.confirm-note { color:var(--muted); font-size:11px; margin:17px 0; }
.confirm-terms { padding:12px 14px; margin:0 0 17px; border:1px solid #e7cbb3; border-radius:9px; color:var(--clay-dark); background:#fcf1e7; font-size:11px; line-height:1.85; }
.confirm-check { display:flex; align-items:center; gap:10px; margin-bottom:22px; font-size:11px; }
.confirm-check input { accent-color:var(--clay); width:16px; height:16px; }
.image-dialog { width:min(1380px,calc(100vw - 32px)); max-height:90vh; padding:16px; border-radius:17px; }
.image-dialog-head { display:flex; justify-content:space-between; align-items:center; gap:15px; padding-bottom:15px; }
.image-dialog-head h2 { font-size:15px; }
.image-dialog-head>div { display:flex; align-items:center; gap:9px; }
.image-dialog-head .secondary-button { min-height:32px; padding:6px 12px; font-size:10px; }
.image-scroll { overflow:auto; max-height:calc(90vh - 88px); border:1px solid var(--line); border-radius:8px; }
.image-scroll img { width:100%; display:block; }
.image-scroll.actual-size img { width:1863px; max-width:none; }
.toast-stack { position:fixed; bottom:22px; right:22px; z-index:100; display:grid; gap:10px; max-width:380px; }
.toast { padding:13px 18px; color:#fff; background:#38352f; border-radius:10px; box-shadow:0 8px 30px #32231122; font-size:12px; }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation:none!important; transition:none!important; } }
@media(max-width:1000px) { .workspace { grid-template-columns:minmax(0,1fr) 300px; gap:18px; } .panel-head,.form-step,.module-body { padding-inline:23px; } .submit-row { padding-inline:23px; } .hero { gap:25px; } .hero-guide { flex-basis:300px; padding:20px; } .hero-guide strong { font-size:13px; } .main-nav button { padding-inline:16px; } .full-guide-steps { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:800px) { .shell { width:calc(100% - 32px); } .header-inner { gap:14px; } .main-nav { gap:0; } .main-nav button { padding-inline:13px; } .hero { align-items:stretch; flex-direction:column; gap:24px; padding:36px 0 28px; } .hero h1 br { display:none; } .hero-guide { flex:0 0 auto; width:100%; padding:18px 22px; } .hero-guide strong { font-size:15px; } .guide-star { font-size:36px; } .workspace,.remedy-layout { grid-template-columns:1fr; } .sidebar { grid-template-columns:1fr; } .guide-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); } .guide-thumbnail img { height:150px; object-fit:contain; } .guide-card { padding:24px; } .remedy-note { padding:25px; } }
@media(max-width:560px) { .header-inner { flex-wrap:wrap; padding-top:12px; gap:8px; } .brand img { width:32px; height:32px; } .brand b { font-size:11px; } .brand small { font-size:9px; } .language-button { margin-left:auto; } .main-nav { order:3; margin:0; width:100%; padding-bottom:9px; justify-content:space-between; } .main-nav button { flex:1; padding:8px 12px; font-size:12px; } .hero h1 { font-size:36px; } .hero p { font-size:12px; } .hero-tags { margin-top:18px; } .panel { border-radius:16px; } .panel-head,.form-step,.module-body { padding:21px 19px; } .panel-head h2 { font-size:18px; } .small-badge { font-size:9px; } .step-heading { gap:10px; } .step-heading h3 { font-size:13px; } .step-heading p { font-size:10px; } .step-heading>.text-button { font-size:10px; } .plan-grid { grid-template-columns:1fr; } .plan-card { display:flex; align-items:center; justify-content:space-between; padding:13px 17px; } .plan-card.selected::after { display:none; } .plan-card strong { font-size:15px; } .plan-stock { border:0; padding:0; flex-direction:column; gap:2px; align-items:end; } .plan-stock b { font-size:22px; } .key-hint { font-size:9px; } .submit-row { padding:15px 19px 23px; flex-direction:column; align-items:stretch; gap:12px; } .submit-row p { text-align:center; } .submit-row .primary-button { width:100%; } .guide-list { grid-template-columns:1fr; } .faq { grid-template-columns:1fr; gap:4px; } .query-actions { flex-wrap:wrap; } .query-actions>small { width:100%; } .query-actions button { flex:1; } .result-details { grid-template-columns:1fr; } .operation-result { margin:0 19px 23px; padding:17px; } .full-guide-steps { grid-template-columns:1fr; gap:10px; } .full-guide-steps>div { padding:16px; } .full-guide-steps h3 { display:inline; margin-left:10px; } .full-guide-steps p { margin-top:6px; } .image-dialog-head { align-items:start; flex-direction:column; padding-right:25px; } .image-dialog-head>div { flex-wrap:wrap; } .image-dialog-head .dialog-close { position:absolute; right:12px; top:12px; } footer { flex-direction:column; gap:6px; } .toast-stack { right:16px; left:16px; bottom:16px; max-width:none; } }
