:root{--green:#226653;--deep:#183d34;--mint:#eaf3ee;--ink:#263b34;--muted:#7b847e;--line:#e4e8df;--paper:#fcfcf7;--orange:#b65b20;--serif:Georgia,'Noto Serif SC','SimSun',serif}
/* Warm accents distinguish money while retaining the green surfaces. */
body .price-input input,body .coupon-cap strong,body .coupon-bottom strong,
body .winner-money strong,body .winner-money .saving strong,body .detail-price,
body .detail-table td,body .rank-row .amount,body .savings-percent{color:var(--orange)}
body .ranking-head,body .rank-row{grid-template-columns:minmax(0,1fr) 70px 75px 65px;gap:8px}
.rank-row .amount,.savings-percent{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-width:0}
.savings-percent{font-weight:600}
.winner-rate{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#728877;margin-top:8px}
.winner-rate strong{color:var(--orange);font-variant-numeric:tabular-nums;font-size:13px;font-weight:600}
.rate-note{font-size:10px;line-height:1.8;color:#8c9686;margin-top:10px}
@media(max-width:800px){body .ranking-head,body .rank-row{grid-template-columns:minmax(0,1fr) 61px 65px 60px;gap:6px}}
@media(max-width:620px){body .ranking-head,body .rank-row{grid-template-columns:minmax(0,1fr) 61px 65px 60px;gap:6px}}
@media(max-width:360px){body .calculator{padding:19px 15px}body .ranking-head,body .rank-row{grid-template-columns:minmax(0,1fr) 57px 61px 55px;gap:4px}body .rank-row{font-size:11px}}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,'Segoe UI','Microsoft YaHei',sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{transition:background .15s,transform .15s}button:active{transform:translateY(1px)}button:focus-visible,a:focus-visible{outline:3px solid #89bca6;outline-offset:4px}input:focus-visible{outline:2px solid #82ae97;outline-offset:2px}button{border:0}h1,h2,h3,p{margin:0}.app-shell{max-width:1160px;margin:auto;padding:0 42px}.header{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{text-decoration:none;color:var(--ink);display:flex;align-items:center;gap:12px;font-size:23px;font-weight:700;letter-spacing:2px}.brand-icon{display:grid;place-items:center;width:42px;height:42px;background:var(--green);border-radius:12px;color:white;font-family:var(--serif);font-size:26px;transform:rotate(-6deg)}.brand-sub{display:block;font-size:8px;font-weight:500;letter-spacing:1.8px;margin-top:4px;color:var(--muted)}.storage-label{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px}.status-dot{width:6px;height:6px;background:#6e987c;border-radius:50%}.intro{padding:48px 0 39px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--green);font-weight:600;margin-bottom:14px}h1{font-size:42px;line-height:1.35;font-weight:600;letter-spacing:-1.5px}h1 span{color:var(--green)}.intro p{margin-top:15px;color:var(--muted);font-size:14px;line-height:1.8}.mobile-break{display:none}.workspace{display:grid;grid-template-columns:1fr 1.03fr;gap:38px;align-items:start}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}h2{font-size:18px;font-weight:600}.section-heading p,.calc-heading p{font-size:12px;color:var(--muted);margin-top:8px}.count{display:inline-flex;align-items:center;justify-content:center;background:#e9ede4;color:#73816f;width:23px;height:23px;font-size:11px;border-radius:50%;margin-left:8px;vertical-align:2px}.primary{background:var(--green);color:#fff;border-radius:8px;padding:12px 20px;font-weight:600}.primary:hover{background:#174d3f}.primary.small{font-size:12px;padding:10px 14px}.coupon-list{display:grid;gap:15px}.coupon{position:relative;background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 3px 7px #283b3110}.coupon-top{width:100%;text-align:left;padding:20px 22px 18px;background:transparent;display:block;color:inherit}.coupon-top:hover{background:#f7faf6}.coupon-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.coupon-name{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.coupon-label{background:#eef3eb;color:#61795c;font-size:10px;letter-spacing:.3px;border-radius:4px;padding:4px 7px;white-space:nowrap}.coupon-values{display:flex;align-items:baseline;gap:18px;margin-top:13px}.discount{font-family:var(--serif);font-size:40px;color:var(--green);line-height:1;letter-spacing:-1.5px}.discount small{font-family:'Microsoft YaHei',sans-serif;font-size:14px;letter-spacing:0;margin-left:3px}.coupon-cap{font-size:12px;color:#81887e}.coupon-cap strong{font-size:20px;color:var(--ink);font-weight:500;margin-left:4px}.coupon-bottom{position:relative;border-top:1px dashed #dce3d8;padding:13px 22px;display:flex;justify-content:space-between;align-items:center;gap:8px;background:#fbfcf9;font-size:11px;color:#6d7b70}.coupon-bottom:before,.coupon-bottom:after{content:'';position:absolute;width:14px;height:14px;border:1px solid var(--line);background:var(--paper);border-radius:50%;top:-8px}.coupon-bottom:before{left:-8px}.coupon-bottom:after{right:-8px}.coupon-bottom strong{color:var(--green);font-weight:600}.coupon-actions{display:flex;gap:10px}.text-button{background:none;padding:2px 0;font-size:11px;color:#7b867b}.text-button:hover{color:var(--green)}.text-button.delete:hover{color:#a44532}.wallet-note{font-size:11px;color:#90968b;line-height:1.8;padding:18px 2px}.wallet-note>span{margin-right:5px}.calculator{background:white;border:1px solid var(--line);border-radius:16px;padding:27px 28px;box-shadow:0 4px 16px #283b3105}.calc-heading{display:flex;align-items:center;gap:12px;margin-bottom:29px}.mini-icon{width:40px;height:40px;border-radius:10px;background:var(--mint);color:var(--green);display:grid;place-items:center;font-size:25px}.input-label{font-size:12px;display:block;margin-bottom:10px}.price-input{display:flex;align-items:center;border:1px solid #d6dfd1;background:#fcfdf9;border-radius:9px;padding:10px 15px;gap:9px;height:61px}.price-input>span:first-child{font-family:var(--serif);font-size:25px;color:#9aa693}.price-input:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #2266530c}.price-input input{border:none;outline:none;background:transparent;width:100%;min-width:0;font-size:26px;font-weight:500;color:var(--ink)}.price-input input::placeholder{font-size:16px;font-weight:400;color:#b3bbae}.currency{font-size:12px;color:var(--muted)}.field-error{color:#b4513e;font-size:12px;line-height:1.7;min-height:8px;margin-top:5px}.field-error:not(:empty){margin-bottom:8px}.quick-prices{display:flex;gap:7px;align-items:center;padding:8px 0 23px;font-size:11px;color:#8a9386}.quick-prices>span{margin-right:4px}.quick-prices button{background:#f4f6ef;padding:5px 10px;color:#6b7b62;border:1px solid transparent;border-radius:5px;font-size:11px}.quick-prices button:hover,.quick-prices button.active{background:var(--mint);border-color:#c6dccd;color:var(--green)}.calc-empty{text-align:center;padding:23px 0 32px;color:#98a192;line-height:1.9}.empty-icon{font-family:var(--serif);font-size:35px;margin-bottom:10px;color:#b4c5ad}.calc-empty strong{font-size:13px;color:#74826d;font-weight:500;display:block}.calc-empty p{font-size:11px;margin-top:4px}.winner{padding:19px 21px;background:var(--mint);border:1px solid #dae9dd;border-radius:10px}.winner-top{color:var(--green);font-size:11px;margin-bottom:10px}.winner-name{font-size:14px;font-weight:600;line-height:1.7;overflow-wrap:anywhere}.winner-money{display:flex;justify-content:space-between;align-items:end;margin-top:15px}.winner-money span{display:block;font-size:11px;color:#728877;margin-bottom:5px}.winner-money strong{font-family:var(--serif);font-size:34px;font-weight:400;color:var(--deep)}.winner-money .saving{text-align:right}.winner-money .saving strong{font-size:24px;color:var(--green)}.ranking-title{font-size:11px;color:#8c9686;margin:23px 0 12px}.ranking-head,.rank-row{display:grid;grid-template-columns:1fr 72px 78px;gap:8px;align-items:center}.ranking-head{font-size:10px;color:#99a18f;padding-bottom:10px}.ranking-head span:not(:first-child),.rank-row>span:not(:first-child){text-align:right}.rank-row{border-top:1px solid #f0f2ec;padding:12px 0;font-size:12px}.rank-name{font-size:11px;line-height:1.6;overflow-wrap:anywhere}.rank-name small{display:block;font-size:10px;color:#9da595}.rank-row.best{color:var(--green)}.rank-row .saved{font-weight:600}.rules{border-top:1px solid #edf0e8;margin-top:18px;padding-top:16px;color:#98a08f;font-size:10px;line-height:1.9}.rule-dot{display:inline-block;height:4px;width:4px;border-radius:50%;background:#aeb8a4;vertical-align:2px;margin-right:4px}.explainer{margin:35px 0 48px;padding:23px 25px;border-radius:12px;background:#f0f2e8;display:flex;align-items:center;gap:18px}.explainer-mark{font-size:28px;color:#99ac80}.explainer h3{font-size:13px;font-weight:500;margin-bottom:7px}.explainer p{font-size:11px;color:#8b9381;line-height:1.8}.explainer-tag{font-size:10px;color:#99a08d;margin-left:auto;white-space:nowrap}footer{border-top:1px solid var(--line);padding:22px 0 30px;display:flex;justify-content:space-between;font-size:10px;color:#9aa18f;gap:15px;line-height:1.8}.footer-dot{padding:0 8px}.empty-wallet{padding:45px 20px;text-align:center;background:#f3f5ef;border:1px dashed #d7dece;border-radius:12px;color:#929c86;line-height:2}.empty-wallet button{margin-top:12px}dialog{border:1px solid var(--line);border-radius:16px;color:var(--ink);max-width:460px;width:calc(100% - 32px);padding:28px;box-shadow:0 20px 80px #19392b30}dialog::backdrop{background:#142c2355;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:start;margin-bottom:24px}.dialog-heading .eyebrow{margin-bottom:8px}.icon-button{font-size:25px;background:#f4f6f0;width:30px;height:30px;border-radius:50%;color:#85937d;display:grid;place-items:center}.icon-button:hover{background:#e7edde}form label{display:block;font-size:12px;margin:16px 0 8px}.optional{font-size:10px;color:#9aa38e;margin-left:4px}form input{width:100%;padding:12px;border:1px solid #dae1d1;border-radius:8px;color:var(--ink);background:#fcfdf9}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-hint{font-size:11px;color:#949f86;line-height:1.8;margin-top:16px}.dialog-actions{display:flex;justify-content:end;gap:10px;margin-top:22px}.secondary{background:#eef2e7;color:#6c7a60;padding:12px 20px;border-radius:8px}.detail-hero{text-align:center;background:var(--mint);border-radius:12px;padding:24px 15px;margin-bottom:18px}.detail-hero p{color:#768a76;font-size:12px}.detail-price{font-family:var(--serif);font-size:42px;color:var(--green);margin:10px 0}.detail-hero small{font-size:12px;color:#6d8270}.detail-note{font-size:12px;color:#859178;line-height:1.9;margin:15px 0}.detail-table{width:100%;border-collapse:collapse;font-size:12px}.detail-table th{text-align:left;color:#97a08c;font-weight:400;padding:10px 8px}.detail-table td{padding:12px 8px;border-top:1px solid var(--line)}.detail-table th:not(:first-child),.detail-table td:not(:first-child){text-align:right}.detail-use{width:100%;margin-top:22px}.detail-formula{font-size:10px;color:#9aa28c;line-height:1.8;margin-top:15px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--deep);color:white;padding:13px 20px;border-radius:10px;box-shadow:0 8px 24px #1b3d3320;max-width:90%;z-index:10;display:flex;gap:18px;align-items:center;font-size:12px}.toast[hidden]{display:none}.toast button{background:none;color:#b7dec0;padding:0;font-size:12px}.warning{background:#fcf0df;color:#8d6a37;border:1px solid #ead8b8;border-radius:8px;padding:12px;margin-bottom:20px;font-size:12px;line-height:1.8}
@media(min-width:1200px){.intro{padding-top:56px}.workspace{gap:44px}}@media(max-width:800px){.app-shell{padding:0 26px}.workspace{gap:23px}.calculator{padding:23px 20px}.coupon-top{padding:19px}.coupon-bottom{padding:13px 19px}.explainer-tag{display:none}h1{font-size:35px}.coupon-values{gap:10px}.coupon-cap strong{font-size:17px}}@media(max-width:620px){.app-shell{padding:0 20px}.header{height:83px}.brand{font-size:21px}.brand-icon{width:36px;height:36px}.storage-label{font-size:10px}.intro{padding:32px 0}.eyebrow{font-size:10px}h1{font-size:33px;line-height:1.45}.mobile-break{display:block}.intro p{font-size:12px;max-width:300px}.workspace{display:flex;flex-direction:column;gap:22px}.wallet,.calculator{width:100%}.section-heading{margin-bottom:16px}.section-heading p{font-size:11px}.calculator{padding:23px}.coupon-list{gap:12px}.coupon-values{gap:18px}.coupon-cap strong{font-size:20px}.wallet-note{padding-bottom:0}.explainer{padding:20px;margin:24px 0 30px;gap:12px}.explainer p{font-size:10px}footer{flex-direction:column;gap:4px;padding:18px 0 25px}.ranking-head,.rank-row{grid-template-columns:1fr 70px 75px}dialog{padding:24px}.discount{font-size:36px}h2{font-size:16px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
