:root{color-scheme:light;--red:#8f211a;--red-dark:#591611;--cream:#fff8e9;--paper:#fffdf7;--ink:#24130e;--muted:#785f51;--gold:#c9972f;--line:rgba(105,61,38,.18);--green:#06c755}*{box-sizing:border-box}html{min-width:320px;background:var(--cream);scroll-behavior:smooth}body{margin:0;color:var(--ink);background:radial-gradient(circle at 10% 10%,rgba(201,151,47,.12),transparent 32rem),linear-gradient(90deg,rgba(143,33,26,.035) 0 1px,transparent 1px 56px),var(--cream);font-family:Noto Sans TC,Microsoft JhengHei,system-ui,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}:focus-visible{outline:3px solid #f0c562;outline-offset:3px}.site-header{display:flex;align-items:center;justify-content:space-between;width:min(100% - 36px,1120px);min-height:72px;margin:auto;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:.65rem;font-family:"Noto Serif TC",serif;font-weight:900}.brand img{width:42px;height:42px;border:2px solid var(--red);border-radius:50%;background:#fff}.site-header nav{display:flex;align-items:center;gap:.75rem;font-weight:900}.site-header nav a{padding:.7rem .8rem}.site-header .order-link{color:#fff;background:var(--red);border-radius:8px}main{width:min(100% - 36px,1120px);margin:auto;padding:32px 0 80px}.global-message{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px;padding:12px 14px;border:1px solid rgba(29,122,86,.28);border-radius:8px;color:#185c42;background:#effbf5;font-weight:800}.global-message.error{color:#8f211a;border-color:#8f211a4d;background:#fff0ed}.global-message button{border:0;background:transparent;cursor:pointer;font-size:1.3rem}.center-card,.login-card{width:min(100%,760px);margin:5vh auto;padding:clamp(28px,6vw,56px);border:1px solid var(--line);background:#fffdf7e6;box-shadow:0 24px 70px #522b181f}.center-card{text-align:center}.spinner{display:inline-block;width:38px;height:38px;border:4px solid rgba(143,33,26,.18);border-top-color:var(--red);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.eyebrow{margin:0 0 .7rem;color:var(--red);font-size:.78rem;font-weight:900;letter-spacing:.17em}.login-card h1,.member-hero h1{margin:0;font-family:"Noto Serif TC",serif;font-size:clamp(2.2rem,6vw,4.5rem);line-height:1.12;color:var(--red)}.login-card p,.member-hero p{color:var(--muted);font-weight:750;line-height:1.7}.login-card ul{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0;padding:0;list-style:none}.login-card li{display:grid;gap:4px;padding:14px;border:1px solid var(--line);background:#fff}.login-card li b{color:var(--red);font-size:1.05rem}.login-card li span{color:var(--muted);font-size:.86rem}.line-login{display:flex;align-items:center;justify-content:center;gap:12px;min-height:58px;margin-top:18px;color:#052b13;background:var(--green);font-weight:950}.line-login span{display:grid;width:36px;height:36px;place-items:center;border-radius:50%;background:#fff;font-size:.7rem}.login-card>small{display:block;margin-top:12px;color:var(--muted);text-align:center}.member-hero{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:end;padding:32px 0 38px}.member-hero h1{font-size:clamp(2.2rem,5vw,4rem)}.points-card{display:grid;min-width:190px;padding:22px;border:1px solid rgba(201,151,47,.4);background:var(--red-dark);color:#fff8e9}.points-card span,.points-card small{color:#edcf91;font-weight:800}.points-card b{font-size:3.2rem;line-height:1.1}.dashboard-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}.panel{grid-column:span 6;padding:22px;border:1px solid var(--line);background:#fffdf7eb;box-shadow:0 12px 32px #522b1812}.profile-panel,.orders-panel{grid-column:span 8}.qr-panel,.coupon-panel{grid-column:span 4}.panel header{display:flex;align-items:start;justify-content:space-between;gap:18px;margin-bottom:18px}.panel header span{color:var(--gold);font-size:.75rem;font-weight:950;letter-spacing:.12em}.panel h2{margin:4px 0 0;font-family:"Noto Serif TC",serif;font-size:1.55rem}.text-button,.secondary-button,.primary-button,.account-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid rgba(143,33,26,.25);border-radius:6px;color:var(--red);background:#fff;cursor:pointer;font-weight:900}.primary-button{color:#fff;background:var(--red);border-color:var(--red)}.panel dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0}.panel dl div{padding:13px 0;border-top:1px solid var(--line)}.panel dt{color:var(--muted);font-size:.8rem;font-weight:800}.panel dd{margin:4px 0 0;font-weight:900}.profile-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-form label{display:grid;gap:6px;color:var(--muted);font-size:.85rem;font-weight:850}.profile-form input{min-height:46px;padding:10px;border:1px solid var(--line);border-radius:5px;background:#fff}.profile-form small{font-size:.72rem}.profile-form .check,.profile-form .primary-button{grid-column:1/-1}.profile-form .check{display:flex;align-items:start}.profile-form .check input{min-height:0}.qr-panel{text-align:center}.qr-panel header{text-align:left}.qr-panel img{width:min(100%,210px);aspect-ratio:1;background:#fff}.qr-panel p,.coupon-panel p,.referral-panel p{color:var(--muted);line-height:1.65}.order-list{display:grid}.order-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--line)}.order-row div{display:grid;gap:4px}.order-row span{color:var(--muted);font-size:.83rem}.order-row strong{color:var(--red);white-space:nowrap}.empty-copy{color:var(--muted)}.referral-code{display:flex;align-items:center;justify-content:space-between;padding:14px;background:#f5ead0}.referral-code b{color:var(--red);font-size:1.2rem;letter-spacing:.08em}.account-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.account-actions button{color:var(--muted)}@media(max-width:760px){.site-header{min-height:62px}.site-header nav a:first-child{display:none}main{width:min(100% - 24px,1120px);padding-top:18px}.login-card ul,.member-hero{grid-template-columns:1fr}.points-card{min-width:0}.panel,.profile-panel,.orders-panel,.qr-panel,.coupon-panel{grid-column:1/-1}.profile-form,.panel dl{grid-template-columns:1fr}.profile-form .check,.profile-form .primary-button{grid-column:auto}.account-actions{display:grid}.account-actions button{width:100%}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.spinner{animation:none}}
