*{box-sizing:border-box}body{color:#8b6b4f;background:radial-gradient(circle at top,#fff 0%,#faf6f0 55%,#f5eee5 100%);justify-content:center;align-items:center;min-height:100vh;margin:0;padding:24px;font-family:Microsoft JhengHei,sans-serif;display:flex}.container{text-align:center;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#ffffffc7;border:1px solid #eadfd2;border-radius:32px;width:100%;max-width:560px;padding:56px 32px;box-shadow:0 18px 50px #8b6b4f1f}h1{letter-spacing:6px;color:#79583f;margin:0 0 20px;font-size:clamp(34px,7vw,54px);font-weight:500}p{letter-spacing:2px;color:#9b7d66;margin:0 0 34px;font-size:17px;line-height:1.9}button{letter-spacing:2px;color:#fff;cursor:pointer;background:#c95757;border:none;border-radius:999px;padding:14px 34px;font-family:inherit;font-size:16px;transition:transform .2s,box-shadow .2s,background .2s;box-shadow:0 10px 24px #c9575740}button:hover{background:#b94848;transform:translateY(-3px);box-shadow:0 14px 28px #c9575752}button:active{transform:translateY(0)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #c9575773}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.back-link{color:#c95757;margin-top:24px;font-size:16px;text-decoration:none;display:inline-block}.back-link:hover{text-decoration:underline}.page-intro{max-width:520px;margin:0 auto 32px}.cherry-box{background:#fffaf6;border:1px solid #f1e4d8;border-radius:20px;margin:30px 0;padding:20px}.cherry-box h2{color:#c95757;margin-bottom:10px;font-size:24px}.cherry-box p{color:#8b6b4f;margin:0}@media (width<=600px){body{padding:16px}.container{border-radius:24px;padding:44px 20px}h1{letter-spacing:3px}p{font-size:15px}}.sticker-page{max-width:780px}.sticker-page .product-type-section,.sticker-page .sticker-designer,.sticker-page .template-section,.sticker-page .pattern-section,.sticker-page .sheet-section,.sticker-page .size-section,.sticker-page .selected-summary,.sticker-page .sheet-preview-section,.sticker-page .product-features,.sticker-page .sticker-faq{margin-top:24px}.sticker-page .product-type-section,.sticker-page .template-section,.sticker-page .pattern-section,.sticker-page .sheet-section,.sticker-page .size-section,.sticker-page .sheet-preview-section,.sticker-page .product-features,.sticker-page .sticker-faq{background:#fffaf7;border:1px solid #eadfd2;border-radius:22px;padding:26px;box-shadow:0 8px 24px #79583f0f}.sticker-page .product-type-section>h2,.sticker-page .template-section>h2,.sticker-page .pattern-section>h2,.sticker-page .sheet-section>h2,.sticker-page .size-section>h2,.sticker-page .sheet-preview-section h2,.sticker-page .product-features>h2,.sticker-page .sticker-faq>h2{color:#79583f;letter-spacing:1px;margin:0 0 20px;font-size:20px;font-weight:700}.product-type-section{text-align:left;margin-bottom:0}.type-options{grid-template-columns:repeat(3,1fr);gap:14px;margin-top:0;display:grid}.type-card{text-align:center;cursor:pointer;background:#fffaf6;border:2px solid #eadfd2;border-radius:18px;padding:20px 14px;transition:transform .25s,border-color .25s,box-shadow .25s;position:relative}.type-card:hover{border-color:#d9b7a1;transform:translateY(-4px);box-shadow:0 10px 24px #79583f1f}.type-card input{opacity:0;pointer-events:none;position:absolute}.type-card h3{color:#79583f;margin:8px 0 12px;font-size:17px}.type-card p{letter-spacing:0;margin:0;font-size:13px;line-height:1.7}.type-card:has(input:checked){background:#fff4f1;border-color:#c95757;box-shadow:0 0 0 3px #c957571a}.type-card:has(input:checked):after{content:"✓ 已選擇";color:#fff;background:#c95757;border-radius:999px;margin-top:14px;padding:6px 12px;font-size:14px;font-weight:700;display:inline-block}.sticker-designer{text-align:left;grid-template-columns:1fr 1fr;gap:24px;display:grid}.design-panel,.preview-panel{background:#fffaf6;border:1px solid #eadfd2;border-radius:22px;padding:26px;box-shadow:0 8px 24px #79583f0f}.design-panel{flex-direction:column;gap:12px;display:flex}.design-panel label{color:#79583f;margin-top:8px;font-size:16px;font-weight:600}.design-panel input[type=text],.design-panel select{color:#79583f;background:#fff;border:1px solid #dfd0c2;border-radius:12px;outline:none;width:100%;padding:13px 15px;font-family:inherit;font-size:16px}.design-panel input[type=text]:focus,.design-panel select:focus{border-color:#c95757;box-shadow:0 0 0 3px #c957571f}.design-panel input[type=color]{cursor:pointer;background:#fff;border:1px solid #dfd0c2;border-radius:10px;width:70px;height:44px;padding:4px}.preview-panel{text-align:center}.preview-title{color:#79583f;margin-bottom:24px;font-weight:600}.name-preview{color:#8b6b4f;letter-spacing:5px;overflow-wrap:anywhere;background:linear-gradient(#fff,#fffaf6);border:1px solid #eadfd2;border-radius:22px;justify-content:center;align-items:center;gap:14px;min-height:110px;padding:24px;font-size:42px;font-weight:600;display:flex;position:relative;box-shadow:0 10px 24px #79583f14}.name-preview:after{content:"果子小舖";color:#d4c6b8;letter-spacing:1px;font-size:11px;position:absolute;bottom:10px;right:14px}.preview-pattern{object-fit:contain;flex:none;width:48px;height:48px}#preview-name{color:#79583f;text-shadow:0 1px #fff;font-weight:700}.preview-panel small{color:#a18a78;margin-top:18px;line-height:1.6;display:block}.name-preview.preview-small{max-width:260px;min-height:75px;margin:0 auto;font-size:26px}.name-preview.preview-medium{max-width:360px;min-height:100px;margin:0 auto;font-size:36px}.name-preview.preview-large{max-width:460px;min-height:125px;margin:0 auto;font-size:44px}.template-section{text-align:left}.template-help{color:#9b7d66;letter-spacing:0;margin:-8px 0 18px;font-size:14px}.template-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.template-option{color:#79583f;min-width:0;box-shadow:none;background:#fff;border:1px solid #dfd0c2;border-radius:16px;padding:10px}.template-option:hover{background:#fffaf7;border-color:#c95757}.template-option.is-selected{color:#a94343;background:#fff0ee;border-color:#c95757;box-shadow:0 0 0 3px #c957571f}.template-option img,.template-basic-preview{object-fit:contain;background:#fffaf6;border-radius:10px;width:100%;height:88px;margin-bottom:9px;display:block}.template-basic-preview{color:#8b6b4f;place-items:center;font-size:24px;display:grid}.template-option strong,.template-option small{text-align:center;display:block}.template-option strong{font-size:14px}.template-option small{color:#9b7d66;margin-top:4px;font-size:12px}.name-preview.has-template,.summary-preview.has-template{box-shadow:none;background-color:#0000;background-position:50%;background-repeat:no-repeat;background-size:contain;border:0;padding:0}.name-preview.has-template:after{content:none}.name-preview.has-template #preview-name,.summary-preview.has-template #summary-name{z-index:1;text-align:center;letter-spacing:1px;white-space:nowrap;overflow-wrap:normal;max-width:48%;line-height:1.15;position:absolute}.name-preview.template-horizontal,.summary-preview.template-horizontal{aspect-ratio:2.3}.name-preview.template-horizontal #preview-name,.summary-preview.template-horizontal #summary-name{top:50%;left:68%;transform:translate(-50%,-50%)}.name-preview.template-stacked,.summary-preview.template-stacked{aspect-ratio:1;max-width:300px}.name-preview.template-stacked #preview-name,.summary-preview.template-stacked #summary-name{max-width:70%;top:72%;left:50%;transform:translate(-50%,-50%)}.name-preview.has-template .preview-pattern,.summary-preview.has-template #summary-pattern{display:none}.pattern-section{text-align:left}.pattern-section[hidden]{display:none}.asset-library{gap:18px;display:grid}.asset-search-label{color:#79583f;margin:0;font-weight:700}.asset-search-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.asset-search-row input{color:#5e4634;width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #dfd0c2;border-radius:14px;padding:13px 15px}.asset-search-row input:focus{border-color:#c95757;outline:3px solid #c957571f}#asset-result-text{color:#9b7d66;white-space:nowrap;font-size:13px}.asset-categories{scrollbar-width:thin;gap:8px;padding:2px 1px 8px;display:flex;overflow-x:auto}.asset-category-button{color:#79583f;min-height:42px;font:inherit;cursor:pointer;background:#fff;border:1px solid #dfd0c2;border-radius:999px;flex:none;padding:9px 15px;font-weight:700}.asset-category-button.is-selected{color:#fff;background:#c95757;border-color:#c95757}.asset-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.asset-option{color:#79583f;cursor:pointer;min-width:0;min-height:142px;box-shadow:none;font:inherit;background:#fff;border:1px solid #dfd0c2;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:10px;transition:transform .2s,border-color .2s,background .2s;display:flex}.asset-option:hover{border-color:#c95757;transform:translateY(-3px)}.asset-option.is-selected{background:#fff0ee;border-color:#c95757;box-shadow:0 0 0 3px #c957571f}.asset-option img{object-fit:cover;border-radius:14px;width:86px;height:86px}.asset-option strong{color:#8b6b4f;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:14px;overflow:hidden}.asset-empty-state{color:#8b6b4f;text-align:center;background:#fff;border:1px dashed #dfd0c2;border-radius:14px;margin:0;padding:22px}.asset-load-more{color:#79583f;min-height:46px;font:inherit;cursor:pointer;background:#fff;border:1px solid #c95757;border-radius:999px;justify-self:center;padding:11px 18px;font-weight:700}.sheet-section,.size-section{text-align:left}.sheet-help{color:#9b7d66;letter-spacing:0;margin:-8px 0 18px;font-size:14px}.sheet-grid{grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:0;display:grid}.size-grid{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.sheet-option,.size-option{color:#79583f;cursor:pointer;min-height:90px;box-shadow:none;background:#fff;border:1px solid #dfd0c2;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:14px;font-family:inherit;transition:transform .2s,border-color .2s,background .2s;display:flex}.sheet-option:hover,.size-option:hover{border-color:#c95757;transform:translateY(-3px)}.sheet-option.is-selected,.size-option.is-selected{color:#a94343;background:#fff0ee;border-color:#c95757;box-shadow:0 0 0 3px #c957571f}.sheet-option strong,.size-option strong{font-size:17px}.sheet-option small,.size-option small{color:#9b7d66;font-size:13px}.selected-summary{text-align:left;color:#8b6b4f;background:#fff8f3;border:1px solid #eadfd2;border-radius:18px;justify-content:space-between;align-items:center;gap:20px;padding:16px 18px;display:flex;box-shadow:0 6px 18px #79583f0d}.selected-summary>div:first-child{flex-direction:column;gap:6px;display:flex}.selected-summary>div:first-child span{color:#9b7d66;font-size:13px}#selected-size-text{color:#79583f;font-size:16px}.price-box{background:0 0;border-left:1px solid #eadfd2;border-radius:0;justify-content:space-between;align-items:center;min-width:190px;margin-top:0;padding:12px 16px;display:flex}.price-box span{color:#8b6b4f;font-size:15px}.price-box strong{color:#c95757;font-size:26px}.sheet-preview-section{text-align:left}.sheet-preview-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.sheet-preview-heading h2{margin-bottom:6px!important}.sheet-preview-heading p{color:#9b7d66;letter-spacing:0;margin:0;font-size:13px}#sheet-count-text{color:#a94343;background:#fff0ee;border-radius:999px;flex:none;padding:8px 13px;font-size:14px}.sheet-preview{background:#fff;border:1px solid #dfd0c2;border-radius:12px;place-content:center;gap:6px;width:min(100%,430px);margin:0 auto;padding:18px;display:grid;box-shadow:0 8px 22px #79583f14}.sheet-preview.is-production-preview{display:block;overflow:hidden;aspect-ratio:auto!important;padding:0!important}.sheet-production-canvas{width:100%;height:auto;display:block}.sheet-preview.sheet-a6{aspect-ratio:105/148;width:min(71%,304px)}.sheet-preview.sheet-a5{aspect-ratio:148/210;width:min(100%,430px)}.sheet-preview.sheet-a5[data-item-size=small]{grid-template-columns:repeat(4,minmax(0,1fr))}.sheet-preview.sheet-a5[data-item-size=medium]{grid-template-columns:repeat(3,minmax(0,1fr))}.sheet-preview.sheet-a5[data-item-size=large]{grid-template-columns:repeat(2,minmax(0,174px))}.sheet-preview.sheet-a6[data-item-size=small]{grid-template-columns:repeat(3,minmax(0,76px))}.sheet-preview.sheet-a6[data-item-size=medium]{grid-template-columns:repeat(2,minmax(0,115px))}.sheet-preview.sheet-a6[data-item-size=large]{grid-template-columns:minmax(0,150px)}.sheet-preview.sheet-a6:not([data-template-layout=stacked])[data-item-size=large]{aspect-ratio:148/105;grid-template-columns:repeat(2,minmax(0,174px));gap:2px 6px;width:min(100%,430px);padding:3px}.sheet-preview.sheet-a6[data-template-layout=stacked][data-item-size=small]{grid-template-columns:repeat(3,minmax(0,76px))}.sheet-preview.sheet-a6[data-template-layout=stacked][data-item-size=medium]{grid-template-columns:repeat(2,minmax(0,115px))}.sheet-preview.sheet-a6[data-template-layout=stacked][data-item-size=large]{grid-template-columns:minmax(0,150px)}.sheet-preview.sheet-a5[data-template-layout=stacked][data-item-size=small]{grid-template-columns:repeat(4,minmax(0,80px))}.sheet-preview.sheet-a5[data-template-layout=stacked][data-item-size=medium]{grid-template-columns:repeat(3,minmax(0,120px))}.sheet-preview.sheet-a5[data-template-layout=stacked][data-item-size=large]{grid-template-columns:repeat(2,minmax(0,160px))}.sheet-sticker{aspect-ratio:3;color:#79583f;white-space:nowrap;background:#fffaf6 50%/cover no-repeat;border:1px solid #e3cabb;border-radius:999px;justify-content:center;align-items:center;gap:3px;min-width:0;font-size:14px;font-weight:700;display:flex;position:relative;overflow:hidden}.sheet-sticker.has-template{border-color:#0000}.sheet-sticker.has-template .sheet-name{text-align:center;text-overflow:clip;white-space:nowrap;max-width:55%;position:absolute;top:50%;overflow:hidden;transform:translate(-50%,-50%)}.sheet-sticker.template-horizontal .sheet-name{left:68%}.sheet-sticker.template-stacked .sheet-name{max-width:68%;top:72%;left:50%}.sheet-sticker.template-stacked{aspect-ratio:1;background-color:#0000;background-size:contain}.sheet-sticker .sheet-pattern{font-size:.9em}.product-features{margin-bottom:24px}.feature-list{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.feature-item{box-shadow:none;background:#fff;border:1px solid #f0e5dc;border-radius:999px;align-items:center;gap:8px;padding:9px 14px;display:flex}.feature-item span{margin:0;font-size:21px;display:block}.feature-item p{letter-spacing:0;margin:0;font-size:13px;font-weight:600}.sticker-faq{text-align:left}.faq-list{gap:10px;display:grid}.faq-list details{background:#fff;border:1px solid #f0e5dc;border-radius:14px;padding:14px 16px}.faq-list summary{color:#79583f;cursor:pointer;font-weight:700}.faq-list details[open] summary{color:#c95757}.faq-list p{letter-spacing:0;margin:12px 0 0;font-size:14px;line-height:1.8}.next-button{width:min(100%,320px);margin-top:30px;padding:16px 28px;font-size:16px;font-weight:700;box-shadow:0 12px 28px #c9575747}.order-summary{text-align:left;background:#fffaf6;border:1px solid #eadfd2;border-radius:22px;margin-top:30px;padding:28px}.order-summary[hidden]{display:none}.order-summary h2{color:#a94343;text-align:center;margin:0 0 22px;font-size:22px}.summary-preview{color:#8b6b4f;letter-spacing:4px;background:linear-gradient(#fff,#fffaf6);border:1px solid #eadfd2;border-radius:22px;justify-content:center;align-items:center;gap:14px;min-height:90px;margin-bottom:24px;padding:20px;font-size:32px;font-weight:600;display:flex;position:relative;box-shadow:0 10px 24px #79583f14}#summary-pattern{object-fit:contain;flex:none;width:44px;height:44px}.summary-preview.has-template{min-height:180px;margin-left:auto;margin-right:auto}.summary-list{gap:10px;display:grid}.summary-list p{letter-spacing:0;border-bottom:1px solid #eee2d8;justify-content:space-between;gap:20px;margin:0;padding:13px 4px;font-size:15px;display:flex}.summary-list p span:first-child{color:#9b7d66}.summary-list strong{color:#79583f;text-align:right}.summary-color-row{align-items:center;gap:8px;display:flex}.summary-color-dot{background:#8b6b4f;border:2px solid #fff;border-radius:50%;width:20px;height:20px;display:inline-block;box-shadow:0 0 0 1px #d8c7b8}.summary-actions{grid-template-columns:1fr 1fr;gap:14px;margin-top:24px;display:grid}.edit-button,.cart-button{width:100%}.edit-button{color:#a94343;box-shadow:none;background:#fff;border:1px solid #c95757}.edit-button:hover{color:#fff;background:#c95757}.cart-message{color:#a94343;text-align:center;min-height:28px;margin:18px 0 0;font-weight:600}.cart-message a{color:#c95757;margin-left:8px;font-weight:700;text-decoration:none}.cart-message a:hover{text-decoration:underline}.sticker-page>.back-link{margin-top:18px;font-size:14px}@media (width<=760px){.type-options{grid-template-columns:1fr}}@media (width<=700px){.sticker-designer{grid-template-columns:1fr}.name-preview{min-height:90px;font-size:34px}.asset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=600px){.sticker-page .product-type-section,.sticker-page .template-section,.sticker-page .pattern-section,.sticker-page .sheet-section,.sticker-page .size-section,.sticker-page .sheet-preview-section,.sticker-page .product-features,.sticker-page .sticker-faq{padding:20px 16px}.selected-summary{flex-direction:column;align-items:stretch}.price-box{border-top:1px solid #eadfd2;border-left:0;width:100%;min-width:0;padding-top:14px;padding-left:0}.next-button{width:100%}.sheet-preview-heading{flex-direction:column;gap:10px}}@media (width<=520px){.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-grid{grid-template-columns:repeat(2,1fr)}.preview-pattern{width:40px;height:40px}.asset-search-row{grid-template-columns:1fr}#asset-result-text{white-space:normal}.asset-option{min-height:130px}.asset-option img{width:76px;height:76px}.size-grid,.summary-actions{grid-template-columns:1fr}.summary-list p{flex-direction:column;gap:5px}.summary-list strong{text-align:left}}
