.sg-commerce { --sg-rose:#b77e72; --sg-honey:#bc9252; }
.sg-commerce [x-cloak] { display:none!important; }
.sg-commerce button:disabled,.sg-commerce-confirm button:disabled { opacity:.48; cursor:default; filter:saturate(.5); }
.sg-commerce-wallet { display:flex; align-items:center; flex-wrap:wrap; gap:24px; padding:17px 22px; margin:18px 0 26px; background:#ffffffad; border:1px solid #fff; border-radius:18px; box-shadow:0 8px 25px #476a5510; backdrop-filter:blur(18px); color:#668274; font-size:13px; }
.sg-commerce-wallet b { font-size:22px; color:#335e4b; margin-left:9px; font-variant-numeric:tabular-nums; }
.sg-wallet-link { margin-left:auto; border-bottom:1px solid #89a08a; color:#426b50; font-size:12px; }
.sg-commerce-feedback { display:flex; flex-wrap:wrap; align-items:center; gap:12px; background:#fff4deda; border:1px solid #e8cd8d; color:#8b6940; padding:14px 18px; border-radius:14px; margin-bottom:22px; font-size:13px; }
.sg-commerce-feedback p { flex:1; }.sg-commerce-feedback button { border:1px solid #d0b477; border-radius:9px; padding:8px 12px; white-space:nowrap; }
.sg-commerce .sg-section-title p { font-size:13px; color:#829386; margin-top:8px; line-height:1.7; }
.sg-commerce-hint { font-size:12px!important; color:#839083!important; line-height:1.8; margin:15px 0 0!important; }
.sg-double-section { padding:26px; border:1px solid #fffc; border-radius:26px; background:radial-gradient(ellipse at 15% 0,#fff0cba3,transparent 55%),linear-gradient(130deg,#fffdf5b5,#edf4e4a1); box-shadow:0 12px 36px #52705a0c; margin:24px 0 44px; }
.sg-double-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.sg-double-card { position:relative; display:flex; flex-direction:column; padding:18px; min-width:0; overflow:hidden; border:1px solid #fff; border-radius:18px; background:linear-gradient(140deg,#fffffbea,#faf0d7a6); box-shadow:0 6px 18px #8c785411,inset 0 1px #fff; transition:transform .35s cubic-bezier(.2,1.45,.4,1),box-shadow .3s; }
.sg-double-card:hover { transform:translateY(-4px); box-shadow:0 12px 24px #8c785420; }
.sg-double-top { display:flex; justify-content:space-between; gap:8px; font-size:10px; color:#967444; }
.sg-double-top>span { font-weight:800; letter-spacing:1px; }.sg-double-top small { border:1px solid #e4d8af; border-radius:6px; padding:2px 5px; }
.sg-double-amount { display:flex; align-items:center; gap:8px; margin:13px 0; }
.sg-double-amount img { width:64px; height:64px; object-fit:contain; filter:drop-shadow(0 5px 5px #aa8b4029); }
.sg-double-amount b { display:block; font-size:29px; letter-spacing:-1px; line-height:1.2; color:#9b763e; font-variant-numeric:tabular-nums; }
.sg-double-amount span { display:block; font-size:11px; color:#8e9279; margin-top:5px; }
.sg-double-card .sg-gift-rewards { display:block; margin:0 0 15px; }.sg-double-card .sg-gift-rewards li { min-height:48px; background:#ffffff75; border-radius:9px; padding:6px; }
.sg-double-blessing { font-size:11px; color:#a79c7d; min-height:48px; margin:0 0 15px; }
.sg-double-card .sg-button { margin-top:auto; min-height:44px; font-size:12px; background:linear-gradient(130deg,#b28b50,#96703e); box-shadow:0 3px 0 #795b32; border-radius:11px; }
.sg-double-limit { display:block; text-align:center; font-size:10px; color:#a0957a; margin-top:10px; }.sg-double-card.is-sold-out { filter:saturate(.45); }
.sg-store-collection { margin-bottom:48px; }.sg-commerce .sg-gift { display:flex; flex-direction:column; }.sg-commerce .sg-gift-copy { display:flex; flex-direction:column; flex:1; }
.sg-commerce .sg-gift-rewards { margin-bottom:18px; }.sg-gift-buy { min-height:46px; width:100%; margin-top:auto; font-size:13px!important; border-radius:12px!important; }
.sg-purchase-progress { display:block; text-align:center; color:#8d9e8d; font-size:11px; margin-top:10px; }
.sg-card-description { color:#728675; font-size:12px; line-height:1.9; white-space:pre-line; margin:0 0 20px; }
.sg-skin-gallery { position:relative; }.sg-skin-category { position:absolute; z-index:4; left:14px; top:14px; max-width:calc(100% - 28px); font-size:10px; color:#5c755a; border:1px solid #fffffff2; border-radius:8px; padding:6px 9px; background:#fffff8c9; backdrop-filter:blur(9px); pointer-events:none; }
.sg-art-pending { display:grid; place-items:center; width:44px; height:44px; color:#b7a887; border-radius:10px; background:linear-gradient(135deg,#f6eee0,#e4ecdf); font-size:28px; }
.sg-blind-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.sg-blind-card { padding:25px; min-width:0; border:1px solid #fff; border-radius:26px; background:radial-gradient(ellipse at 20% 0,#f6e4dabf,transparent 50%),linear-gradient(140deg,#ffffffe3,#edf5e7b5); box-shadow:0 12px 35px #53665112; display:flex; flex-direction:column; }
.sg-blind-card:nth-child(2) { background:radial-gradient(ellipse at 20% 0,#e6e0f5b3,transparent 50%),linear-gradient(140deg,#ffffffe3,#edf5e7b5); }
.sg-blind-heading { display:flex; align-items:center; gap:18px; }.sg-blind-heading>div:last-child { flex:1; }
.sg-blind-heading h3 { font-size:25px; margin:8px 0; color:#50674e; letter-spacing:1px; }.sg-blind-heading p { font-size:11px; color:#8b9480; line-height:1.8; }
.sg-blind-orbit { position:relative; flex:0 0 100px; display:grid; place-items:center; isolation:isolate; height:110px; }
.sg-blind-orbit img { width:80px; height:80px; object-fit:contain; filter:drop-shadow(0 10px 8px #85774230); animation:sg-commerce-float 4s ease-in-out infinite; }
.sg-blind-orbit i { position:absolute; inset:2px -6px; border:1px dashed #c8b19f; transform:rotate(-20deg); border-radius:50%; }
.sg-blind-orbit span { position:absolute; right:3px; top:0; color:#c9a074; font-size:25px; animation:sg-commerce-twinkle 3s infinite; }
.sg-blind-progress { display:flex; justify-content:space-between; font-size:11px; margin:23px 0 12px; color:#96a088; }.sg-blind-progress b { color:#9c795d; }
.sg-blind-prizes { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:7px; margin-bottom:22px; }
.sg-blind-prizes article { position:relative; display:flex; flex-direction:column; align-items:center; min-width:0; border:1px solid #fff; border-radius:12px; background:#ffffff8a; padding:10px 4px 8px; box-shadow:0 3px 8px #65744a06; }
.sg-blind-prizes img { width:52px; height:52px; object-fit:contain; }.sg-blind-prizes strong { font-size:10px; line-height:1.6; text-align:center; display:block; margin:6px 0 2px; overflow-wrap:anywhere; color:#536e53; }
.sg-blind-prizes small { font-size:10px; color:#ac946e; }.sg-blind-prizes .is-collected { background:#dde9d0a8; border-color:#c8d7b6; }.sg-blind-prizes .is-collected img { opacity:.55; }
.sg-blind-buy { width:100%; min-height:48px; border-radius:13px!important; margin-top:auto; }.sg-blind-section { margin:35px 0; }
.sg-hongyun-actions { padding:20px; background:linear-gradient(120deg,#fff6dca1,#ffffffc2); border:1px solid #fff; border-radius:20px; margin-bottom:25px; }.sg-hongyun-actions .sg-draw-options { margin:0; }
.sg-hongyun-buy { display:flex; gap:12px; margin-top:16px; align-items:center; justify-content:center; }
.sg-hongyun-buy>.sg-button { display:flex; gap:20px; align-items:center; justify-content:center; min-height:50px; min-width:250px; border-radius:12px; background:linear-gradient(135deg,#ad8751,#927245); box-shadow:0 3px 0 #735936; }
.sg-hongyun-buy small { font-size:12px; opacity:.7; }.sg-ticket-draw { border:1px solid #d6cba5; border-radius:12px; min-height:48px; padding:10px 20px; color:#8a815d; background:#fffc; font-size:12px; }
.sg-tier-tabs { margin-bottom:20px; }.sg-hongyun-board.sg-prize-board { display:grid; grid-template:unset; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; border:0; padding:0; background:none; box-shadow:none; }
.sg-hongyun-board.sg-prize-board .sg-prize:nth-child(n) { grid-area:auto; position:relative; display:flex; flex-direction:column; align-items:center; min-height:172px; padding:36px 10px 15px; border-radius:18px; border:1px solid #e1e7d3; background:linear-gradient(145deg,#fffffff0,#eff4e8cc); box-shadow:0 5px 18px #5068450d; }
.sg-hongyun-board.sg-prize-board .sg-tier-sss { background:radial-gradient(ellipse at 50% 45%,#f8d39764,transparent 60%),linear-gradient(145deg,#fff9eaf5,#f2e2b9be); border-color:#e4c591; }
.sg-hongyun-board.sg-prize-board .sg-tier-ss { background:radial-gradient(ellipse at 50% 45%,#d3c4eb73,transparent 60%),linear-gradient(145deg,#fffafbf5,#ede4f2c2); border-color:#d2c2dd; }
.sg-hongyun-board .sg-prize img { width:76px; height:76px; object-fit:contain; filter:drop-shadow(0 7px 6px #5e684226); }.sg-hongyun-board .sg-prize strong { font-size:12px; line-height:1.6; margin:7px 0 3px; text-align:center; overflow-wrap:anywhere; color:#4a624e; }.sg-hongyun-board .sg-prize small { font-size:12px; color:#a58a50; }
.sg-prize-tier { position:absolute; left:11px; top:10px; font-size:12px; font-weight:900; letter-spacing:1px; color:#a78643; }.sg-tier-ss .sg-prize-tier { color:#9672ae; }.sg-tier-a .sg-prize-tier { color:#6c8daf; }.sg-tier-b .sg-prize-tier { color:#81a080; }.sg-prize-unique { position:absolute; right:8px; top:11px; font-size:8px; color:#ba9a59; }
.sg-hongyun-board.sg-prize-board .sg-prize.is-active { box-shadow:inset 0 0 0 2px #e1b558,0 0 24px #deb8605e; transform:translateY(-3px); border-color:#dcba76; }
.sg-odds { display:flex; gap:15px; margin-top:12px; font-size:12px; color:#8e927a; }.sg-odds b { color:#8d753f; margin-left:5px; }
.sg-commerce-orders { margin-top:25px; border:1px solid #fff; border-radius:18px; background:#ffffff94; padding:18px 20px; color:#748876; font-size:12px; }.sg-commerce-orders summary { cursor:pointer; font-size:14px; font-weight:700; }.sg-commerce-orders summary span { float:right; font-size:11px; opacity:.65; }.sg-commerce-orders article { display:flex; gap:12px; padding:15px 0; border-bottom:1px solid #dce5d5; }.sg-commerce-orders article>div { flex:1; min-width:0; }.sg-commerce-orders small { display:block; font-size:10px; margin-top:6px; line-height:1.6; }.sg-commerce-orders button { padding:7px 11px; border:1px solid #d5dfca; border-radius:9px; background:#fff9; align-self:center; white-space:nowrap; }.sg-commerce-orders>p { padding-top:20px; }
.sg-commerce-confirm { padding:38px 28px 26px; background:linear-gradient(140deg,#fffffc,#eff5e9); border:1px solid white; border-radius:25px; animation:sg-prize-arrive .4s ease-out; }.sg-commerce-confirm h2 { font-size:24px; margin:14px 0 20px; }.sg-commerce-confirm h3 { font-size:17px; line-height:1.8; color:#5d795b; }.sg-commerce-confirm p { font-size:15px; color:#a07a41; margin:12px 0; }
.sg-confirm-buttons { display:flex; gap:12px; margin-top:26px; }.sg-confirm-buttons button { flex:1; min-height:48px; border-radius:12px; border:1px solid #d3dfc9; color:#647e5e; }.sg-confirm-buttons .sg-button { color:#fff; }
.sg-unboxing { position:relative; display:grid; place-items:center; min-height:280px; isolation:isolate; overflow:hidden; }.sg-unboxing-ring { position:absolute; width:210px; height:210px; border-radius:50%; border:2px solid #e3bf6e; animation:sg-unbox-ring 1.7s ease-out forwards; }.sg-unboxing-rays { position:absolute; width:280px; height:280px; background:repeating-conic-gradient(#eac66750 0deg 12deg,transparent 12deg 30deg); mask-image:radial-gradient(circle,#000 30%,transparent 70%); animation:sg-unbox-light 1.7s ease-in forwards; }.sg-unboxing-box { position:relative; animation:sg-unbox-shake 1.7s ease-in forwards; z-index:2; }.sg-unboxing-box img { width:140px; height:140px; object-fit:contain; filter:drop-shadow(0 18px 15px #85743d4d); }.sg-unboxing>b { position:absolute; font-size:28px; color:#d4b16b; right:18%; top:15%; text-shadow:-170px 40px 0 #cfb971,-30px 175px 0 #d7b06b; animation:sg-commerce-twinkle .45s infinite; }.sg-result-tier { color:#b19151; font-weight:800; letter-spacing:1px; }.sg-commerce .sg-gift-rewards strong { word-break:normal; }.sg-result-grid { position:relative; }
@keyframes sg-commerce-float { 50% { transform:translateY(-7px) rotate(3deg); } }
@keyframes sg-commerce-twinkle { 50% { opacity:.4; transform:scale(.8); } }
@keyframes sg-unbox-shake { 0%,30% { transform:rotate(0) scale(1); } 40%,55%,70% { transform:rotate(-8deg) scale(1.08); } 47%,62%,77% { transform:rotate(8deg) scale(1.08); } 88% { opacity:1; transform:scale(1.18); } 100% { opacity:0; transform:scale(1.65) translateY(-15px); } }
@keyframes sg-unbox-ring { 0% { opacity:0; transform:scale(.4); } 55% { opacity:1; transform:scale(.9); } 100% { opacity:0; transform:scale(1.7); } }
@keyframes sg-unbox-light { 0% { opacity:0; transform:rotate(-30deg) scale(.7); } 80% { opacity:.9; } 100% { opacity:1; transform:rotate(30deg) scale(1.6); } }
@media(max-width:1000px) { .sg-blind-grid { grid-template-columns:1fr; }.sg-blind-prizes { grid-template-columns:repeat(6,minmax(0,1fr)); }.sg-hongyun-board.sg-prize-board { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:680px) {
 .sg-commerce-wallet { gap:14px; padding:14px 16px; margin:14px 0 20px; border-radius:14px; font-size:11px; }.sg-commerce-wallet b { font-size:19px; margin-left:5px; }.sg-wallet-link { font-size:10px; }
 .sg-double-section { padding:18px 12px; margin-bottom:30px; border-radius:20px; }.sg-double-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 10px; padding:4px 0 10px; }.sg-double-card { padding:13px 10px; border-radius:14px; }.sg-double-top { font-size:9px; gap:3px; }.sg-double-top small { font-size:8px; white-space:nowrap; flex-shrink:0; }
 .sg-double-amount { gap:4px; margin:12px 0; }.sg-double-amount img { width:34px; height:34px; flex-shrink:0; }.sg-double-amount b { font-size:clamp(21px,5.2vw,25px); letter-spacing:-1px; }.sg-double-amount span { font-size:10px; }.sg-double-blessing { font-size:10px; min-height:57px; line-height:1.6; }.sg-double-card .sg-button { font-size:11px; line-height:1.5; white-space:normal; padding:10px 3px; min-height:44px; }.sg-double-card .sg-gift-rewards li { grid-template-columns:27px minmax(0,1fr); gap:5px; padding:5px; min-height:57px; }.sg-double-card .sg-gift-rewards img { width:27px; height:27px; }.sg-double-card .sg-gift-rewards strong { font-size:10px; }.sg-double-card .sg-gift-rewards small { font-size:9px; }
 .sg-commerce .sg-section-title { align-items:flex-start; gap:10px; }.sg-commerce .sg-section-title h2 { font-size:23px; }.sg-commerce .sg-section-title p { font-size:11px; }.sg-commerce .sg-section-title>.sg-badge { font-size:9px; white-space:nowrap; }
 .sg-blind-card { padding:20px 14px; border-radius:20px; }.sg-blind-heading { gap:12px; }.sg-blind-heading h3 { font-size:22px; }.sg-blind-orbit { flex-basis:78px; height:95px; }.sg-blind-orbit img { width:65px; height:65px; }.sg-blind-prizes { grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }.sg-blind-prizes img { width:47px; height:47px; }.sg-blind-prizes strong { font-size:10px; }
 .sg-hongyun-actions { padding:14px 10px; }.sg-hongyun-buy { flex-direction:column; gap:10px; }.sg-hongyun-buy>.sg-button,.sg-ticket-draw { width:100%; }.sg-hongyun-buy>.sg-button { min-width:0; font-size:14px; }.sg-hongyun-actions .sg-draw-options { gap:6px; }.sg-hongyun-actions .sg-draw-options button { padding:10px 2px; }.sg-hongyun-actions .sg-draw-options button span { font-size:9px; line-height:1.6; }
 .sg-hongyun-board.sg-prize-board { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }.sg-hongyun-board.sg-prize-board .sg-prize:nth-child(n) { padding:31px 6px 12px; min-height:146px; border-radius:14px; }.sg-hongyun-board .sg-prize img { width:58px; height:58px; }.sg-hongyun-board .sg-prize strong { font-size:10px; margin-top:5px; }.sg-prize-unique { right:6px; top:23px; font-size:7px; }.sg-prize-tier { font-size:11px; top:7px; left:8px; }.sg-commerce-orders { padding:17px 14px; }.sg-commerce-confirm { padding:34px 18px 23px; }.sg-commerce-confirm h2 { font-size:22px; }.sg-unboxing { min-height:240px; }.sg-tier-tabs button { font-size:11px; }
}
@media(prefers-reduced-motion:reduce) { .sg-commerce *, .sg-unboxing * { animation:none!important; scroll-behavior:auto!important; }.sg-double-card:hover { transform:none; } }
