.cm-mask{position:fixed;inset:0;z-index:10001;background:#33272466;display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(5px)}.cm-panel{width:min(100%,480px);max-height:94dvh;display:flex;flex-direction:column;background:#fffaf7;color:#352e2a;border-radius:26px 26px 0 0;box-shadow:0 -15px 60px #49312b20;overflow:hidden;font:15px/1.6 system-ui,-apple-system,sans-serif}.cm-panel header{display:flex;align-items:center;justify-content:space-between;padding:20px 20px 12px}.cm-panel h2{margin:0;font-size:23px}.cm-panel header small{font-size:10px;letter-spacing:1.5px;color:#a56a5b}.cm-close{width:44px;height:44px;background:#f4e9e2;border:0;border-radius:50%;font-size:25px;color:#71554b}.cm-panel nav{display:flex;margin:0 20px 12px;border-radius:13px;background:#f2e9e3;padding:4px;gap:4px}.cm-panel nav button{flex:1;min-height:42px;border:0;border-radius:10px;background:none;font-weight:600;color:#786a60}.cm-panel nav button[aria-pressed=true]{background:white;color:#a45345;box-shadow:0 2px 8px #6747330b}.cm-body{padding:0 20px calc(24px + env(safe-area-inset-bottom));overflow:auto;margin:0;flex:1;min-height:0}.cm-body h3{margin:16px 0 8px}.cm-summary{background:#f9e2d5 url('/assets/floral.svg') center 30%/cover;border:1px solid #eed5c5;border-radius:21px;padding:20px;margin:4px 0 20px}.cm-summary h3{font-size:24px;margin:5px 0}.cm-summary p{font-size:13px;margin:3px 0 12px}.cm-summary span{background:#fffcf4d9;font-size:11px;padding:4px 9px;border-radius:20px}.cm-notice{border:1px solid #efcfaa;background:#fff4df;color:#7d531e;border-radius:12px;padding:10px 12px;font-size:13px}.cm-hint{font-size:12px;color:#7b6b61}.cm-plans{display:grid;gap:10px}.cm-plan{display:grid;grid-template-columns:1fr auto;text-align:left;border:1px solid #e7d9ce;border-radius:17px;padding:16px;background:white;color:#4c3730;gap:3px 10px}.cm-plan b{font-size:21px;grid-column:2;grid-row:1/3;align-self:center;color:#a84f3e}.cm-plan small{font-size:11px;color:#827367}.cm-plan em{grid-column:1/3;font-size:12px;color:#a45445;font-style:normal;margin-top:6px}.cm-packs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cm-pack{padding:16px 10px;background:white;border:1px solid #e8dacd;border-radius:16px;display:flex;flex-direction:column;align-items:center;color:#4f3c34;gap:4px}.cm-pack b{font-size:19px}.cm-pack small{font-size:11px;color:#8e7b6b}.cm-pack span{color:#a84f3e;font-weight:700}.cm-panel button{font:inherit;cursor:pointer;min-height:44px}.cm-panel button:disabled{opacity:.5;cursor:default}.cm-panel button:focus-visible,.cm-panel input:focus-visible{outline:3px solid #cf7c64;outline-offset:3px}.cm-custom{padding:18px 0}.cm-custom label{display:block;font-size:13px;margin-bottom:7px}.cm-custom div{display:flex;gap:8px}.cm-custom input{width:0;flex:1;font-size:16px;border:1px solid #dacaba;border-radius:12px;padding:10px;background:white;color:#46362e}.cm-custom button,.cm-order button,.cm-secondary{border:0;border-radius:12px;background:#e9806c;color:white;padding:9px 12px}.cm-custom small{font-size:11px;color:#8c796c;display:block;margin-top:8px}.cm-order{border:1px solid #e5d8cd;background:white;padding:15px;border-radius:16px;margin:10px 0;overflow-wrap:anywhere}.cm-order>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.cm-order p{margin:6px 0;font-size:12px}.cm-order small{font-size:11px;color:#978276}.cm-order button{margin-top:12px;background:#fff1e9;color:#9d5142}.cm-state{font-size:11px;border-radius:20px;padding:3px 8px;background:#f6eee4;color:#7e5e49}.cm-error{color:#b14438;font-size:13px}.cm-error:empty{display:none}.cm-secondary{width:100%;margin-top:12px;background:#f2e6dd;color:#8d5343}.cm-empty{text-align:center;padding:24px;color:#8c7768}.fl-commerce{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.fl-commerce button{display:flex;align-items:center;gap:10px;border:1px solid #eddbca;border-radius:17px;background:#fff7ed;padding:15px;color:#674838;text-align:left;min-height:68px}.fl-commerce b{display:block;font-size:14px}.fl-commerce small{font-size:11px;color:#9c8070}.fl-commerce i{font-style:normal;font-size:24px}@media(min-width:700px){.cm-mask{align-items:center;padding:24px}.cm-panel{max-height:88dvh;border-radius:26px}}
.cm-panel button:disabled{opacity:.7}.pk .pb .y{background:#e9806c;color:#fff}.pk{background:#fffaf7;color:#352e2a}.pk .od{border-color:#ead9ca}.pk .pb button{min-height:44px}
.cm-plan .cm-save{display:block;margin:6px 0 2px;padding:3px 10px;border-radius:999px;background:#ffe9e1;color:#c4573f;font-style:normal;font-size:12.5px;font-weight:800;align-self:flex-start}
/* 新版37：夜晚模式維持淺底深字 */
html.night .cm-panel{color:#352e2a}
html.night .cm-panel :is(b,h1,h2,h3,strong,.name,small,p,label){color:inherit}
html.night .cm-panel h2,html.night .cm-panel h3{color:#2b2420!important}
html.night .cm-panel .y,html.night .cm-panel .cm-secondary:not(.light){color:#fff!important}
html.night .cm-panel .cm-summary :is(small,span,p,b){color:#5b3f31!important}
/* 新版42：儲值加贈活動、兌換碼 */
.cm-evt{display:flex;flex-direction:column;gap:2px;margin:10px 0 4px;padding:12px 14px;border-radius:16px;background:linear-gradient(100deg,#fff1d6,#ffe0e6);color:#6b3a1f}
.cm-evt b{font-size:15px}.cm-evt small{font-size:12.5px;color:#8a5a3a}
.cm-redeem{display:block;margin:10px auto 4px;padding:8px 16px;border-radius:999px;border:1px dashed #d9b98f;background:#fffaf3;color:#8a5a3a;font-weight:800;font-size:13.5px}
html.night .cm-evt{background:linear-gradient(100deg,#3a2d18,#3a1f2b);color:#ffe0b8}html.night .cm-evt small{color:#e8c8a8}
html.night .cm-redeem{background:#2a2142;color:#ffd9a8;border-color:#5a4a78}
.rd-m{position:fixed;inset:0;z-index:10060;background:rgba(40,25,20,.45);display:flex;align-items:center;justify-content:center;padding:20px}
.rd-box{width:min(360px,100%);background:#fffaf3;border-radius:22px;padding:20px 18px 16px;box-shadow:0 20px 50px rgba(0,0,0,.25);display:flex;flex-direction:column;gap:10px;color:#4a3328}
.rd-box h3{margin:0;font-size:18px}.rd-box p{margin:0;font-size:13.5px;color:#7a6152}
.rd-box input{width:100%;box-sizing:border-box;padding:12px 14px;border-radius:14px;border:1px solid #e3d2bf;font-size:17px;letter-spacing:1px;text-transform:uppercase;background:#fff}
.rd-btns{display:flex;gap:8px}.rd-btns button{flex:1;height:44px;border-radius:22px;border:0;background:#f1e5d6;color:#4a3328;font-weight:800;font-size:15px}.rd-btns button.pri{background:linear-gradient(135deg,#e57265,#c4513f);color:#fff}
html.night .rd-box{background:#221b3a;color:#f3ecff}html.night .rd-box p{color:#c9bde0}html.night .rd-box input{background:#2a2142;border-color:#4a3a66;color:#fff}html.night .rd-btns button{background:#2e2548;color:#eee4ff}
.cm-evt{flex-direction:row;flex-wrap:wrap;align-items:baseline;column-gap:6px}.cm-evt small{flex-basis:100%}
