.shape-grid{display:grid;grid-template-columns:repeat(3,1fr)}.shape-grid button{min-width:0}.template-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.template-grid button{border:1.5px solid #eee4e7;border-radius:13px;background:#fffcfa;text-align:left;padding:18px;color:#82717b}.template-grid b{display:block;font-size:21px;color:#4b3a46;margin-bottom:8px}.template-grid span{font-size:11px;line-height:1.6}.template-grid button[aria-pressed=true]{border-color:#df5474;background:#fff1f5;box-shadow:0 0 0 2px #fbe6eb}.focus-heart{width:100%;margin:5px 0 12px}.stage.love-stage{background-color:#e8ddd9}.preview-panel{max-height:calc(100vh - 40px);overflow-y:auto;scrollbar-width:thin}.add-card{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}.add-card h2{font-size:15px}.design .edit{width:100%;border:0;background:#fae5ec;color:#a64465;border-radius:6px;padding:7px;margin:5px 0;font-size:11px}.design.editing{outline:2px solid #df5474}.design small{color:#ad7d8b}.checkout{margin-top:22px;border-top:1px solid #eee6e3;padding-top:22px;display:flex;align-items:flex-end;gap:20px}.checkout label{flex:1;max-width:450px;font-size:13px}.checkout label span{font-size:11px;color:#b66377}.checkout input{display:block;width:100%;margin-top:9px;padding:13px;border:1px solid #e9dce3;border-radius:10px;background:#fffcfa;color:#343345}.checkout .primary{margin-left:auto}dialog{border:1px solid #ecdee4;border-radius:20px;padding:26px;max-width:760px;width:calc(100% - 32px);max-height:88vh;color:#343345;background:#fffaf6;box-shadow:0 25px 90px #35213335}dialog::backdrop{background:#2e253a70;backdrop-filter:blur(4px)}.review-heading{display:flex;justify-content:space-between;align-items:center}.review-heading .secondary{font-size:21px}.local-notice{background:#f8ebd7;padding:12px;border-radius:9px;font-size:12px;line-height:1.8;color:#8d6d45}.review-row{display:flex;gap:20px;padding:16px;margin:12px 0;background:white;border-radius:12px;border:1px solid #eee4e7;align-items:center}.review-row img{width:120px;height:120px;object-fit:contain;background:#eee6e3;border-radius:8px}.review-row h3{font-size:16px}.review-row p{font-size:12px;color:#897c87;line-height:1.8}.review-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}#bundle-status{color:#8e6179;font-size:12px;line-height:1.8}.review-actions button{flex:1}.tray-note{font-size:11px;line-height:1.8}.preview-caption{flex-wrap:wrap}.stage.focused-stage:before{content:'爱心编辑视图';position:absolute;top:8px;right:12px;color:#957385;font-size:10px}
.stage .sample-tag{z-index:6;bottom:5px;background:#fffddd}.review-heading .secondary{flex-shrink:0}.letter-styles{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:16px}.letter-styles button{padding:8px 4px;border:1px solid #e9dce3;border-radius:9px;background:#faf6f2;color:#84717d;font-size:10px}.letter-styles canvas{display:block;width:100%;max-width:66px;margin:0 auto 6px}.letter-styles button[aria-pressed=true]{border:1.5px solid #df5474;background:#fff0f5;color:#b64669}
.letter-styles{grid-template-columns:repeat(3,minmax(0,1fr))}.letter-palette{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.letter-palette button{min-width:0;padding:7px 2px;border:1px solid #eee2e7;border-radius:9px;background:#fffcfa;color:#755f6c;font-size:10px;display:flex;flex-direction:column;align-items:center;gap:5px}.letter-palette button[aria-pressed=true]{border:2px solid #bd4167;background:#fff0f5;padding:6px 1px;font-weight:700}.letter-swatch{width:28px;height:28px;border-radius:50%;border:1px solid #0002;box-shadow:inset 0 0 0 2px #fff6}.custom-letter-color{margin-top:14px;border:1px solid #eadde3;border-radius:10px;padding:13px;background:#fdf8f5}.custom-letter-color summary{cursor:pointer;font-size:12px;color:#5d4956}.custom-letter-color summary span{float:right;color:#997b8c;font-size:10px}.custom-color-fields{display:grid;grid-template-columns:1fr 1.4fr;gap:12px;margin-top:15px}.custom-color-fields label{font-size:11px;color:#75616d;min-width:0}.custom-color-fields input{display:block;width:100%;height:42px;margin-top:7px;border:1px solid #dfccd5;border-radius:7px;background:#fff;padding:6px;color:#4c3845}.custom-color-fields input[type=color]{cursor:pointer;padding:3px}.custom-color-fields input[aria-invalid=true]{border-color:#b92849}#letter-color-error{color:#a72f4e}#letter-style-tip:empty,#letter-color-error:empty{display:none}
@media(max-width:700px){.preview-panel{max-height:none;overflow:visible}.template-grid button{padding:14px}.template-grid b{font-size:18px}.checkout{display:block}.checkout label{display:block;max-width:none}.checkout .primary{width:100%;margin-top:15px}.review-row{gap:12px;padding:10px}.review-row img{width:88px;height:88px}.review-row h3{font-size:14px}dialog{padding:18px}.add-card .primary{width:100%}.shape-grid{grid-template-columns:repeat(4,1fr)}}
