/* Shared dimensions for touch-friendly, content-sized filter controls. */
:root{--filter-control-min-height:44px;--filter-control-gap:6px;--filter-control-inline-padding:12px}

/* Mobile catalogue and account layout refinements. */
#main .catalog-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;align-items:stretch;padding:0 0 16px}
#main .catalog-grid .card{display:flex!important;flex-direction:column;align-items:stretch;gap:0!important;min-width:0;margin:0!important;padding:8px!important;border-radius:16px;overflow:hidden}
#main .catalog-grid .card[hidden]{display:none!important}
#main .catalog-grid .catalog-art{display:block;flex:none;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1/1;border-radius:11px}
#main .catalog-grid .cardbody{display:flex;flex:1;flex-direction:column;gap:0;min-width:0;padding:9px 1px 1px!important}
#main .catalog-grid .cardbody h3{min-height:2.7em;margin:0 0 5px;line-height:1.35;overflow-wrap:anywhere}
#main .catalog-grid .catalog-description{min-height:2.7em;margin:0 0 7px;font-size:11px;line-height:1.35;color:#515b52;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
#main .catalog-grid .value-box{display:flex;align-items:center;justify-content:space-between;gap:4px;width:100%;min-width:0;margin:0 0 7px;padding:5px;border-radius:8px;box-sizing:border-box}
#main .catalog-grid .value-box small{flex:none;white-space:nowrap}
#main .catalog-grid .value-box .price{min-width:0;margin:0;font-size:16px!important;line-height:1.1;white-space:nowrap;color:#d9140d}
#main .catalog-grid .catalog-progress-label{margin:0 0 5px;font-size:10px;overflow-wrap:anywhere}
#main .catalog-grid progress{width:100%;height:6px;margin:0 0 10px;accent-color:#07852c}
#main .catalog-grid .wide{align-self:stretch;width:100%;min-height:40px;margin:auto 0 0;padding:8px 4px;border-radius:22px;font-size:16px!important;line-height:1.2;text-align:center;white-space:normal}
#main .catalog-grid .mini-tag{font-size:10px;line-height:1.2;padding:4px 6px}
#main .category-chips .ui-icon,#main .order-filters .ui-icon,#main .account-menu .ui-icon,#main .account-stats .ui-icon{flex:none;stroke-width:2}
#main .account-menu .account-row{gap:11px}
#main .account-menu .account-row strong{min-width:0;flex:1;line-height:1.35}
#main .account-stats button{min-height:65px;justify-content:center}
#main .account-profile{min-height:76px}
#main .orders-filters button{min-height:40px}
#main .mock-order .order-item-info{min-width:0}
#main .mock-order .number-chips{flex-wrap:wrap}
.mobile-nav button{min-width:44px;min-height:44px}
@media(max-width:359px){#main .catalog-grid{gap:7px!important}#main .catalog-grid .card{padding:7px!important}#main .catalog-grid .cardbody h3{font-size:13px}#main .catalog-grid .value-box small{font-size:9px}#main .catalog-grid .value-box .price{font-size:14px!important}#main .catalog-grid .wide{font-size:13px}.order-filters{overflow-x:auto;scrollbar-width:none}.order-filters::-webkit-scrollbar{display:none}.order-filters button{flex:0 0 auto;min-width:68px}}

/* Purchase amounts share the catalogue currency hierarchy. */
#picker #purchaseValue{color:var(--app-red,#e82116);font-size:14px;line-height:1.25}
#picker #purchaseValue .money-symbol,#picker #selection .money-symbol{font-size:.58em}
#picker #purchaseValue .money-amount,#picker #selection .money-amount{white-space:nowrap;overflow-wrap:normal}
#picker #selection .money-amount,#picker #selection .money-value,#picker #selection .money-symbol{display:inline}


/* Reference visual treatment, retaining responsive two-column catalogue. */
#main .home-top .brand-mark{font-weight:800;letter-spacing:-.5px}
#main .hero h1{font-size:34px!important;font-weight:850;font-style:italic;color:#ffeaa1;text-shadow:0 2px 5px #001b0e}
#main .hero-crown{color:#ffdb63;text-shadow:0 2px 5px #001b0e}
#main .hero-cta{background:linear-gradient(180deg,#fff0a4 0%,#ffd554 52%,#eeb32f 100%);box-shadow:inset 0 1px 1px #fff9c6,0 3px 5px #001b1850}
#main .mini-product{border-color:#f1dba7;box-shadow:0 2px 5px #3f2c111c}
#main .mini-price,#main .catalog-grid .cardbody .wide{background:linear-gradient(180deg,#ff604b 0%,#ee1a10 54%,#d91008 100%);box-shadow:inset 0 1px 1px #ffffff80,0 2px 4px #af211e35}
#main .orders-filters button.active,.mobile-nav button.active{box-shadow:inset 0 1px 1px #ffffff70,0 2px 4px #174c1722}
@media(max-width:350px){#main .hero h1{font-size:29px!important}}
/* Home banner and offer details matched to the reference. */
#main .hero{isolation:isolate;background-position:center,center,68% center}
#main .hero::before{content:'';position:absolute;z-index:0;right:-10px;top:22px;width:190px;height:164px;border:2px solid rgba(255,213,91,.75);border-radius:50%;transform:rotate(-20deg);box-shadow:0 0 4px #fff1a1,0 0 13px #e3ab3aa0,inset 0 0 12px #e9bc5738;pointer-events:none}
#main .hero>div:first-child,#main .hero-dots{z-index:1}
#main .hero p{font-weight:600;text-shadow:0 1px 3px #001b0e}
#main .trust-strip{margin:-2px 0 12px;border-radius:18px;box-shadow:0 2px 5px #3d2b181f,inset 0 1px 1px #fff}
#main .trust-strip div{min-width:0}
#main .trust-strip .ui-icon{filter:drop-shadow(0 1px 1px #073a1b33)}
#main .trust-strip div:nth-child(3) .ui-icon path:first-child{fill:#008c33;stroke:#007122}
#main .trust-strip div:nth-child(3) .ui-icon path:nth-child(2){stroke:#fff;stroke-width:2.3}
#main .promo-panel{border-color:#ff5946;box-shadow:0 2px 5px #ab2b1b2b,inset 0 1px 2px #fff}
#main .promo-heading{background:linear-gradient(180deg,#ff5843,#eb1a13);box-shadow:inset 0 1px 1px #ffffff80}
#main .promo-body{min-height:76px;padding:10px 10px 11px;gap:8px}
#main .promo-body>div:nth-child(2){gap:2px}
#main .promo-body>div:nth-child(2)>b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#main .promo-body .promo-offer{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 4px;line-height:1.2}
#main .promo-body .promo-offer span{font-size:13px;font-weight:750;white-space:nowrap}
#main .promo-body .promo-offer em{color:#d92017;font-size:23px;line-height:1.1;font-style:normal;font-weight:850;white-space:nowrap}
#main .promo-body small{font-size:10px;color:#6a514b}
#main .promo-body button{border:1px solid #e9b63f;border-radius:22px;background:linear-gradient(#fff0a6,#ffc83e);box-shadow:inset 0 1px 1px #fff7c5,0 2px 5px #a6692a48;color:#3d2700;font-weight:750}
@media(max-width:350px){#main .hero::before{right:-28px;width:170px;height:150px}#main .promo-body{gap:5px;padding:9px 8px}#main .promo-body .promo-icon{font-size:32px}#main .promo-body .promo-offer span{font-size:11px}#main .promo-body .promo-offer em{font-size:19px}#main .promo-body button{font-size:11px;padding:8px 7px}}
/* Fade the decorative arc before it crosses the product artwork. */
#main .hero::before{-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 27%,transparent 62%);mask-image:linear-gradient(90deg,#000 0%,#000 27%,transparent 62%)}
/* Join the hero to the overlapping service card as in the reference. */
#main .hero{border-radius:22px 22px 0 0;padding-bottom:34px}
#main .hero-dots{bottom:22px}
#main .trust-strip{margin:-12px 0 12px}
#main .promo-heading .promo-countdown{display:flex;align-items:center;gap:5px;font-size:10px;line-height:1;white-space:nowrap;color:#fff}
#main .promo-countdown-label{font-weight:700}
#main .promo-time{display:inline-flex;align-items:center;gap:2px;font-variant-numeric:tabular-nums}
#main .promo-time b{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:23px;padding:2px 3px;border:1px solid #f7c0b7;border-radius:4px;background:#fff;color:#bd211a;font-size:14px;font-weight:800;line-height:1;box-shadow:inset 0 1px 1px #fff,0 1px 2px #b1191730}
#main .promo-time i{font-size:13px;font-weight:800;font-style:normal;color:#fff}
@media(max-width:350px){#main .promo-heading .promo-countdown{gap:3px;font-size:9px}#main .promo-time{gap:1px}#main .promo-time b{min-width:19px;height:21px;font-size:12px;padding:1px 2px}}

#main .promo-heading .promo-countdown-label{color:#fff}

/* Compact page headings and the two profile/participation headers. */
#main .page-top{height:52px;min-height:52px;padding-left:18px;padding-right:18px}
#main .page-top h1{font-size:20px;font-weight:750;line-height:1.25}
#main .secondary-top h1{font-size:18px}
#main .brand-mark{font-size:23px}
#main .brand-mark .brand-flower,#main .brand-flower svg{width:28px;height:28px}
#main .orders-banner{min-height:78px;padding:13px 16px 15px;border-radius:0 0 18px 18px}
#main .orders-banner h2{margin:0 0 3px 48px;font-size:18px;font-weight:750;line-height:1.3}
#main .orders-banner p{margin-left:48px;font-size:11px;line-height:1.4}
#main .orders-banner b{right:17px;top:14px;font-size:30px}
#main .account-top{height:38px;min-height:38px}
#main .account-hero{padding:3px 20px 19px}
#main .account-profile{min-height:62px;gap:12px}
#main .account-profile .avatar-photo{width:62px;height:62px}
#main .account-profile h1{margin:0 0 3px;line-height:1.3}
#main .account-profile p{line-height:1.35}
#main .account-profile .chevron{font-size:24px}
#picker .flow-head strong{font-size:18px!important;letter-spacing:0!important}
@media(max-width:350px){#main .page-top h1{font-size:19px}#main .orders-banner h2{font-size:17px}#main .orders-banner p{font-size:10px}}
/* Account overview spacing. */

#main .account-overview{position:relative;padding:0 14px 10px}
#main .account-hero{margin:0 -14px;padding:3px 20px 15px}
#main .account-profile{min-height:68px;gap:13px}
#main .account-profile .avatar-photo{width:68px;height:68px;border:2px solid #fff;box-shadow:0 2px 5px #00331d55}
#main .account-profile h1{font-weight:750}
#main .account-profile p{font-size:12px;color:#50675a}
#main .account-overview .membership-card{margin:0;padding:10px 11px;border:1.5px solid #e2bf48;border-radius:16px;background:linear-gradient(120deg,#003a20,#05632c 60%,#00371d);box-shadow:inset 0 1px 2px #fff2a850,0 2px 5px #002a1760}
#main .membership-card strong{color:#ffe488}
#main .membership-card button{background:linear-gradient(#fff0a9,#f8cd53);box-shadow:inset 0 1px 1px #fff9d4,0 2px 4px #00281355}
#main .account-stats{position:relative;margin:-1px 0 12px;background:linear-gradient(#fff,#f8f5ef);box-shadow:0 3px 7px #4630131c}
#main .account-stats button:nth-child(1) .ui-icon{color:#00832c}
#main .account-stats button:nth-child(2) .ui-icon{color:#111}
#main .account-stats button:nth-child(3) .ui-icon{color:#ee9800}
#main .account-stats button:nth-child(4) .ui-icon{color:#e92121}
#main .account-menu .menu-icon{color:#101815}
#main .account-trust .trust-shield svg path:first-child{fill:#008832;stroke:#007327}
#main .account-trust .trust-shield svg path:nth-child(2){stroke:#fff;stroke-width:2.5}
@media(max-width:350px){#main .account-profile h1{font-size:18px}#main .account-profile .avatar-photo{width:64px;height:64px}#main .membership-card small{white-space:normal}}

#main .account-trust{position:relative}
#main .account-trust .trust-laurel{position:absolute;left:8px;top:50%;width:17px;height:38px;transform:translateY(-50%);fill:none;stroke:#e6a71a;stroke-width:1.5;stroke-linecap:round}
#main .account-trust .trust-laurel:last-child{left:auto;right:8px;transform:translateY(-50%) scaleX(-1)}
/* Account proportions measured from the supplied reference image. */
#main .account-top{height:42px;min-height:42px;padding-right:14px}
#main .account-overview{padding:0 7px 9px;margin:0 -14px}
#main .account-hero{margin:0 -7px;padding:3px 20px 14px}
#main .account-profile{min-height:80px;gap:14px}
#main .account-profile .avatar-photo{width:80px;height:80px}
#main .account-profile h1{font-size:19px}
#main .account-overview .membership-card{min-height:66px;padding:8px 12px;border-radius:19px}
#main .membership-crown{display:grid;place-items:center;width:48px;height:43px;flex:0 0 48px}
#main .membership-crown svg{width:44px;height:44px;filter:drop-shadow(0 2px 2px #00210d99)}
#main .membership-card strong{font-size:17px;line-height:1.25}
#main .membership-card small{font-size:10px;line-height:1.3;overflow:hidden;text-overflow:ellipsis}
#main .membership-card button{min-height:37px;padding:8px 12px;font-size:12px}
#main .account-stats,#main .account-menu,#main .account-trust{margin-left:-9px;margin-right:-9px}
#main .account-stats{min-height:100px;padding:11px 5px;border-radius:18px;margin-bottom:10px}
#main .account-stats button{min-height:74px;gap:5px}
#main .account-stats .ui-icon{width:27px;height:27px}
#main .account-stats strong{font-size:21px}
#main .account-menu{padding:0 16px;border-radius:18px;margin-bottom:16px}
#main .account-menu .account-row{min-height:46px;padding:7px 0;gap:13px}
#main .account-menu .account-row strong{font-size:15px;font-weight:700}
#main .account-menu .menu-icon,#main .account-menu .menu-icon .ui-icon{width:25px;height:25px}
#main .account-trust{min-height:68px;padding:12px 24px;border-radius:17px}
#main .account-trust strong{font-size:12px;font-weight:750}
#main .account-trust .trust-shield .ui-icon{width:25px;height:25px}
@media(max-width:350px){#main .account-profile{min-height:72px}#main .account-profile .avatar-photo{width:72px;height:72px}#main .membership-card strong{font-size:15px}#main .membership-card small{font-size:9px}#main .membership-card button{padding:7px 9px;font-size:11px}#main .account-trust strong{font-size:10px}}
@media(min-width:351px){#main .account-profile{min-height:84px}#main .account-profile .avatar-photo{width:84px;height:84px}}

/* Material, lighting and depth tuned against the supplied account reference. */

#main .account-profile .avatar-photo{border:2px solid #fffdf4;box-shadow:0 2px 4px #00180d90,0 0 0 1px #d9f2d6,0 0 12px #a9f0a632}


#main .account-overview .membership-card{border:2px solid transparent;background:linear-gradient(110deg,#00371d 0%,#07582b 48%,#002e17 100%) padding-box,linear-gradient(130deg,#fff2a2,#dcae25 38%,#fff2a2 68%,#c68d0d) border-box;box-shadow:inset 0 1px 3px #fff5a044,inset 0 -5px 12px #00180980,0 3px 7px #00241485,0 0 7px #ebc64865}
#main .membership-card strong{color:#ffe887;text-shadow:0 1px 3px #002714}
#main .membership-card button{border:1px solid #e7bd4c;background:linear-gradient(180deg,#fff5b9 0%,#ffe67a 38%,#f6c74e 75%,#e4ad30 100%);box-shadow:inset 0 1px 2px #fffbd9,0 2px 5px #001f10a0;color:#211d0b;text-shadow:0 1px #fff6c2}
#main .membership-crown svg{filter:drop-shadow(0 2px 2px #001d0d) drop-shadow(0 0 4px #e3bd3566)}
#main .account-stats,#main .account-menu{background:linear-gradient(180deg,#fff 0%,#fffefa 48%,#f5f1eb 100%);border-color:#eee7da;box-shadow:inset 0 1px 2px #fff,0 2px 4px #5c46301a,0 5px 9px #4d3a2014}
#main .account-stats .ui-icon{filter:drop-shadow(0 1px 1px #3d2d1a35)}
#main .account-menu .account-row{border-bottom-color:#e8e4dd}
#main .account-menu .account-row:last-child{border-bottom:0}
#main .account-trust{background:linear-gradient(180deg,#fff6d8 0%,#ffedb8 40%,#ffdf91 100%);border-color:#f2dba1;box-shadow:inset 0 1px 2px #fff8de,0 2px 5px #66502624}
#main .account-trust .trust-shield{filter:drop-shadow(0 2px 2px #4c792f60)}
#main .account-trust .trust-laurel{stroke:#e99e0e;filter:drop-shadow(0 1px 1px #ffd675)}



@media(max-width:350px){#main .account-trust strong{font-size:11px}}
/* Extend the same material and lighting to shared surfaces on other screens. */
#main .catalog-grid .card,#main .mock-order,#main .secondary-card,#main .coupon-card,#main .settings-list{background-image:linear-gradient(180deg,#fff 0%,#fffdf9 48%,#f7f3ed 100%);box-shadow:inset 0 1px 2px #fff,0 2px 4px #5c46301a,0 5px 9px #4d3a2014}
#main .mini-product{box-shadow:inset 0 1px 2px #fff9e4,0 2px 5px #6d4b182b,0 5px 9px #59401916}
#main .promo-panel,#main .trust-strip{box-shadow:inset 0 1px 2px #fffaf0,0 2px 5px #5a3e2424,0 5px 10px #49301b14}
.mobile-nav{background:linear-gradient(180deg,#fff 0%,#fbf8f3 100%);box-shadow:inset 0 1px 1px #fff,0 -3px 12px #30240f12}
#picker .purchase-card,#picker #reviewStep .notice,#picker #checkoutOptions,#picker #checkout fieldset{box-shadow:inset 0 1px 2px #fff,0 3px 9px #29391d1c}
#picker .mode-tabs button{box-shadow:inset 0 1px 1px #fff9,0 3px 6px #00371530}
#main .account-stats{z-index:1}
/* Full golden foliage on the account trust banner. */
#main .account-trust .trust-laurel{width:23px;height:50px;stroke:none;filter:drop-shadow(0 1px 1px #c78a3440)}
#main .account-trust .trust-laurel .laurel-stem{fill:none;stroke:#c98a0e;stroke-width:1.4;stroke-linecap:round}
#main .account-trust .trust-laurel .laurel-leaves{fill:#eda91b;stroke:#d89008;stroke-width:.45;stroke-linejoin:round}
/* Blend the home artwork into the page at both exposed card edges. */
#main .hero::after{content:'';position:absolute;left:0;right:0;bottom:0;height:32px;z-index:0;pointer-events:none;background:linear-gradient(180deg,rgba(11,112,57,0) 0%,rgba(74,160,94,.30) 40%,#faf7f1 100%)}
/* Continuous, opaque color through each header-to-card boundary. */
#main .account-overview{padding-bottom:4px}
#main .hero::after{height:56px;background:linear-gradient(180deg,rgba(10,104,49,0) 0%,rgba(23,125,64,.12) 22%,rgba(102,175,114,.58) 54%,#c7e4c6 78%,#faf7f1 100%)}
/* Real, consistently sized vector controls for the participation page. */
#main .orders-top #ordersHelp{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:7px;border:0;border-radius:50%;background:transparent;color:#173b2a;box-shadow:none}
#main .orders-top #ordersHelp .ui-icon{width:25px;height:25px;stroke-width:1.8}
#main .orders-banner .orders-banner-icon{position:absolute;left:19px;top:16px;display:grid;place-items:center;width:33px;height:35px;color:#d4f4c3}
#main .orders-banner .orders-banner-icon .ui-icon{width:32px;height:32px;stroke-width:1.8}
#main .mock-order .status-line{min-height:36px;gap:8px}
#main .mock-order .status-line .status-label{display:inline-flex;align-items:center;gap:7px;min-width:0;font-weight:600}
#main .mock-order .status-line .status-label .ui-icon{width:18px;height:18px;stroke-width:1.9}
#main .mock-order .status-line .badge{float:none;min-width:0;max-width:62%;margin:0;padding:4px 9px;border:1px solid transparent;border-radius:12px;font-weight:650;line-height:1.25;white-space:nowrap;text-align:center}
#main .mock-order .status-line .badge.status-paid{background:#eef5ef;border-color:#dcebdc;color:#3a7050}
#main .mock-order .status-line .badge.status-win{background:#e1f4db;border-color:#c8eac0;color:#07652b}
#main .mock-order .status-line .badge.status-shipped{background:#eaf3fa;border-color:#d5e6f3;color:#356482}
#main .mock-order .status-line .badge.status-pending{background:#fff4df;border-color:#f3e3bf;color:#8b641e}
#main .mock-order .status-line .badge.status-inactive{background:#f1f2f0;border-color:#e4e7e2;color:#69736b}
@media(max-width:350px){#main .mock-order .status-line .badge{font-size:10px;padding:4px 7px}}
/* Settings lives in the account menu; keep a comfortable safe-area inset above the profile. */
#main .account-overview{padding-top:max(18px,env(safe-area-inset-top))}
/* Account spacing: consistent outer alignment and section rhythm. */
#main .account-overview{padding-left:10px;padding-right:10px}
#main .account-hero{margin-left:-10px;margin-right:-10px;padding-left:20px;padding-right:20px}
#main .account-stats,#main .account-menu,#main .account-trust{margin-left:-4px;margin-right:-4px}
#main .account-stats{margin-top:-2px;margin-bottom:12px}
#main .account-menu{padding-left:15px;padding-right:15px;margin-bottom:12px}
#main .account-menu .account-row{min-height:48px;padding:8px 0;gap:12px}
#main .account-trust{min-height:64px;margin-bottom:12px}
#main .signout-button{width:calc(100% + 8px);margin-left:-4px;margin-right:-4px;margin-bottom:12px;min-height:46px}
/* Unified rounded-line navigation icons. */
.mobile-nav button svg{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.mobile-nav button.active svg{stroke-width:2.15}
/* Product cards: keep the title close to the value when there is no description. */
#main .catalog-grid .cardbody h3{min-height:0;margin-bottom:8px}
@media(max-width:350px){#main .catalog-grid .cardbody h3{min-height:2.7em}}

/* Product information and rules */
.detail-top{display:flex;align-items:center;gap:14px}.detail-top h1{flex:1;margin:0}.detail-top>button{display:grid;place-items:center;width:42px;height:42px;border:1px solid #d8e7dd;border-radius:14px;background:#fff;color:#0a5d38;font-size:28px}.detail-top .detail-favorite{font-size:inherit}.detail-favorite .ui-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.detail-favorite[aria-pressed="true"] .ui-icon{fill:#0c8149;stroke:#0c8149}.product-detail-page{display:grid;gap:12px;padding:0 16px 32px}.detail-visual{position:relative;min-height:220px;border-radius:22px;background-color:#f0f8ee;background-position:center;background-repeat:no-repeat;background-size:cover;overflow:hidden}.detail-visual>span{position:absolute;top:14px;left:14px;padding:6px 10px;border-radius:999px;background:#fff;color:#12683e;font-size:12px;font-weight:700}.detail-intro,.detail-info{padding:20px;border:1px solid #e4eee7;border-radius:20px;background:#fff}.detail-intro h2{margin:5px 0 14px;font-size:23px;line-height:1.3}.detail-kicker{margin:0;color:#08723d;font-weight:700}.detail-progress{margin:0 0 8px;color:#66766c;font-size:13px}.detail-result{margin:14px 0 0;color:#08723d;font-weight:700}.detail-info h3{margin:0 0 10px;font-size:16px}.detail-info p,.detail-policy dd,.business-notes p{white-space:pre-line;overflow-wrap:anywhere;line-height:1.65}.detail-info p{margin:0;color:#485b50;font-size:14px}.detail-policy dl{margin:0}.detail-policy dl div{display:grid;grid-template-columns:68px 1fr;gap:12px;padding:9px 0;border-top:1px solid #edf2ee;font-size:13px}.detail-policy dt{color:#75867a}.detail-policy dd{margin:0;color:#33483a}.detail-action button{width:100%;min-height:50px;border:0;border-radius:14px;background:#08723d;color:white;font-weight:700}.detail-action button:disabled{background:#e3ebe5;color:#67796d}.detail-top button:focus-visible,.detail-action button:focus-visible{outline:3px solid #93cf73;outline-offset:3px}.purchase-card h2{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
.detail-visual.art-0{background-image:url('/demo-product.jpg')}.detail-visual.art-1{background-image:url('/catalog-accessories.jpg');background-size:200% 100%;background-position:left center}.detail-visual.art-2{background-image:url('/catalog-accessories.jpg');background-size:200% 100%;background-position:right center}.brand-logo{display:block;width:138px;height:auto;max-height:42px}
/* A guest identity belongs to this browser's storage, not to the displayed ID alone. */
.guest-identity-note{margin:16px 16px 24px;padding:14px 16px;border-radius:14px;background:#f4f8ee;color:#385444;font-size:13px;line-height:1.6;overflow-wrap:anywhere}

/* 商品状态：销售、占满与开奖各有独立的文字和颜色。 */
#main .sale-sold .mini-price,#main .catalog-grid .sale-sold .cardbody .wide{background:#e4e9e5;color:#34433b;box-shadow:none;border:1px solid #bfcac1}
#main .sale-held .mini-price,#main .catalog-grid .sale-held .cardbody .wide{background:#f8e9cd;color:#724613;box-shadow:none;border:1px solid #e5cc9f}
#main .sale-drawn .mini-price,#main .catalog-grid .sale-drawn .cardbody .wide{background:#e4f2f6;color:#155773;box-shadow:none;border:1px solid #b2d6e0}

/* 每笔订单分别显示所属商品的开奖进度和结果。 */
#main .order-draw{margin:10px 0;padding:12px 14px;border:1px solid #d4e9dd;border-radius:12px;background:#f1f8f3;color:#174d31;overflow-wrap:anywhere}
#main .order-draw-title{font-size:12px;font-weight:700;color:#456b54;margin-bottom:5px}
#main .order-countdown{display:block;font-size:18px;line-height:1.3;font-variant-numeric:tabular-nums;letter-spacing:.02em}
#main .order-draw p{margin:5px 0 0;font-size:13px;line-height:1.5}
#main .order-draw small{display:block;margin-top:4px;color:#597262;font-size:11px}

/* Draw statuses use distinct colors alongside their text labels. */
#main .mock-order .status-line .badge.status-win{background:#c81720;border-color:#b80f18;color:#fff}
#main .mock-order .status-line .badge.status-miss{background:#e9eef3;border-color:#ccd7e0;color:#3c5264}
#main .mock-order .status-line .badge.status-awaiting{background:#e1f2fa;border-color:#bedeea;color:#14516d}
#main .order-draw.status-win{background:#fff0ef;border-color:#ed8a88;color:#a81118}
#main .order-draw.status-win .order-draw-title{color:#a81118}
#main .order-draw.status-miss,#main .order-draw.status-inactive{background:#f2f5f7;border-color:#d7e0e7;color:#405769}
#main .order-draw.status-miss .order-draw-title,#main .order-draw.status-inactive .order-draw-title{color:#536a7b}
#main .order-draw.status-awaiting{background:#edf7fb;border-color:#c8e5ef;color:#164c64}
#main .order-draw.status-awaiting .order-draw-title{color:#315f73}

/* Expand long lists without letting an order take over the page. */
#main .mock-order .order-numbers-toggle{display:inline-flex;align-items:center;gap:5px;min-height:36px;margin:5px 0 0;padding:4px 9px;border:1px solid #c8dfcf;border-radius:9px;background:#f2f8f1;color:#075b35;font-size:12px;font-weight:700;box-shadow:none}
#main .mock-order .order-numbers-toggle:focus-visible{outline:2px solid #087b46;outline-offset:2px}
#main .mock-order .number-extra{max-height:200px;overflow-y:auto;overscroll-behavior:contain;margin-top:6px;padding:2px 2px 4px}
#main .mock-order .number-extra[hidden]{display:none}
#main .mock-order .order-item{align-items:flex-start}

/* Award claim: a compact, readable five-step progression for each order. */
#main .prize-claim{margin:12px 0;padding:14px 12px;border:1px solid #f0c3bb;border-radius:13px;background:#fff9f6;color:#392722}
#main .claim-heading{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}
#main .claim-heading strong{font-size:15px;color:#a21c22}
#main .claim-heading>span{font-size:12px;line-height:1.5;color:#64443a}
#main .claim-steps{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;margin:0 0 12px;padding:0}
#main .claim-steps li{position:relative;display:flex;align-items:center;flex-direction:column;gap:5px;min-width:0;text-align:center;color:#768078}
#main .claim-steps li:before{content:'';position:absolute;top:11px;left:0;width:100%;height:2px;background:#e4e3df}
#main .claim-steps li:first-child:before{left:50%;width:50%}
#main .claim-steps li:last-child:before{width:50%}
#main .claim-steps li>span{position:relative;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#edf0ed;color:#57675d;font-size:12px;font-weight:800}
#main .claim-steps li>b{font-size:10px;line-height:1.3;word-break:keep-all}
#main .claim-steps li.is-done>span{background:#d9efe0;color:#116539}
#main .claim-steps li.is-current{color:#a21c22}
#main .claim-steps li.is-current>span{background:#c81720;color:#fff}
#main .claim-action,#main .claim-cancel{min-height:44px;padding:9px 14px;border-radius:10px;font-size:13px;font-weight:700}
#main .claim-action{border:1px solid #b80f18;background:#c81720;color:#fff}
#main .claim-cancel{border:1px solid #d6ded8;background:#fff;color:#315444}
#main .claim-action:disabled{opacity:.6}
#main .claim-form{display:grid;gap:10px;margin-top:12px}
#main .claim-form[hidden]{display:none}
#main .claim-form label{display:grid;gap:5px;font-size:13px;font-weight:700;color:#35483c}
#main .claim-form input,#main .claim-form textarea{width:100%;min-height:44px;padding:10px;border:1px solid #c8d5ca;border-radius:9px;background:#fff;color:#19291e;font:inherit}
#main .claim-form textarea{min-height:78px;resize:vertical}
#main .claim-form-actions{display:flex;flex-wrap:wrap;gap:8px}
#main .claim-feedback,#main .claim-return{color:#a00e18;font-size:12px;line-height:1.5}
#main .claim-feedback:empty{display:none}
#main .claim-footnote{margin:10px 0 0;color:#74665d;font-size:11px;line-height:1.5}
#main .claim-action:focus-visible,#main .claim-cancel:focus-visible,#main .claim-form input:focus-visible,#main .claim-form textarea:focus-visible{outline:2px solid #087b46;outline-offset:2px}

/* Shared mobile refinements: consistent spacing, clear hierarchy and usable targets. */
#main{--polish-ink:#173b2a;--polish-muted:#52695a;--polish-line:#dce9df;--polish-surface:#fff;--polish-shadow:0 3px 12px rgba(18,64,37,.08)}
#main :is(button,a,summary,input,select,textarea):focus-visible,.mobile-nav button:focus-visible{outline:3px solid #8bbf55;outline-offset:2px}
#main .hero-cta{min-height:44px;padding:10px 16px}
#main .home-products{gap:8px;align-items:stretch}
#main .home-products .mini-product{display:flex;flex-direction:column;align-items:stretch;padding:5px 5px 8px;border:1px solid #dce9df;background:#fff;box-shadow:var(--polish-shadow)}
#main .home-products .mini-product h3{min-height:2.6em;margin:8px 1px 4px;color:#183b2a;font-size:12px;line-height:1.3;overflow-wrap:anywhere}
#main .home-products .mini-product>small{color:#53695c;font-size:11px}
#main .home-products .mini-product .home-value{margin:2px 0 0;line-height:1.2;overflow-wrap:anywhere}
#main .home-products .mini-price{min-height:40px;margin-top:auto;padding:7px 3px;font-size:12px;line-height:1.2}
#main .home-products .mini-tag{font-size:10px;line-height:1.2}
#main .home-section-title{padding-bottom:10px;gap:8px}
#main .home-section-title button{min-height:40px;flex:none}
#main .promo-body>div:nth-child(2){min-width:0}
#main .promo-body>div:nth-child(2)>b{font-size:12px;line-height:1.3}
#main .promo-body small{font-size:11px;line-height:1.35}
#main .promo-body button{min-height:40px;flex:none}
#main .catalog-search{min-height:44px}
#main .category-chips button{min-height:60px}
#main .catalog-grid .card{border-color:var(--polish-line);background:#fff;background-image:none;box-shadow:var(--polish-shadow)}
#main .catalog-grid .cardbody{gap:2px}
#main .catalog-grid .cardbody h3{font-size:14px;line-height:1.4}
#main .catalog-grid .value-box{min-height:36px;padding:6px;gap:2px 4px;flex-wrap:wrap}
#main .catalog-grid .value-box small{font-size:10px;white-space:normal;line-height:1.25}
#main .catalog-grid .value-box .price{white-space:normal;overflow-wrap:anywhere}
#main .catalog-grid .catalog-progress-label{font-size:11px;line-height:1.4;color:#4d6355}
#main .catalog-grid .wide{min-height:44px}
#main .orders-filters{gap:7px;padding:2px 1px 4px;scrollbar-width:thin}
#main .orders-filters button{flex:none;min-height:44px;height:auto;padding:9px 14px;font-size:13px}
#main .mock-order{border:1px solid #dce9df;background:#fff;background-image:none;box-shadow:var(--polish-shadow)}
#main .mock-order .order-heading{gap:8px;line-height:1.4}
#main .mock-order .order-heading strong{min-width:0;overflow-wrap:anywhere}
#main .mock-order .order-heading small{flex:none;white-space:nowrap}
#main .mock-order .order-item{gap:10px}
#main .mock-order .order-item-info h3{line-height:1.4;overflow-wrap:anywhere}
#main .mock-order .status-line{min-height:40px}
#main .mock-order .status-line .badge{font-size:11px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
#main .mock-order .order-details summary{min-height:44px;padding:12px 0;line-height:1.4;cursor:pointer}
#main .order-draw{padding:13px 14px}
#main .order-draw-title{font-size:13px}
#main .order-countdown{font-size:19px}
#main .account-stats,#main .account-menu,#main .secondary-card,#main .coupon-card,#main .settings-list{border-color:var(--polish-line);background-color:#fff;background-image:none;box-shadow:var(--polish-shadow)}
#main .account-menu .account-row{min-height:52px}
#main .account-stats small{color:#41594a;font-size:12px}
#main .secondary-card{line-height:1.55}
#main .prize-claim{padding:16px 14px;border-radius:15px}
#main .claim-heading strong{font-size:16px;line-height:1.3}
#main .claim-heading>span{font-size:13px;line-height:1.45}
#main .claim-steps{gap:4px}
#main .claim-steps li>b{font-size:11px;line-height:1.35;overflow-wrap:anywhere}
#main .claim-footnote{font-size:12px;line-height:1.55}
#main .claim-form input,#main .claim-form textarea{font-size:16px;line-height:1.4}
#main .claim-action,#main .claim-cancel,#main .order-numbers-toggle{min-height:44px}
@media(max-width:350px){
  #main .home-products{gap:5px}
  #main .home-products .mini-product{padding:4px 4px 7px}
  #main .home-products .mini-product h3{font-size:11px;line-height:1.35}
  #main .home-products .mini-price{min-height:40px;font-size:11px}
  #main .catalog-grid .cardbody h3{font-size:13px}
  #main .orders-filters button{padding-inline:12px}
  #main .mock-order .status-line .badge{font-size:11px}
  #main .claim-steps{gap:2px}
  #main .claim-steps li>b{font-size:10px}
}
@media(prefers-reduced-motion:reduce){#main *,#main *::before,#main *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Published draw history, accessible from home and account. */
#main .history-shortcut{display:flex;align-items:center;gap:11px;width:100%;min-height:66px;margin:0 0 16px;padding:10px 14px;text-align:left;border:1px solid #d4e6d7;border-radius:14px;background:#fff;color:#163d2a;box-shadow:0 3px 12px #1240250d}
#main .history-shortcut-icon,#main .history-card-icon,#main .history-intro>span{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;background:#e7f4e6;color:#08713d}
#main .history-shortcut-icon svg,#main .history-card-icon svg,#main .history-intro svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#main .history-shortcut-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
#main .history-shortcut-copy strong{font-size:14px;line-height:1.3}
#main .history-shortcut-copy small{font-size:12px;line-height:1.4;color:#597063}
#main .history-shortcut-arrow{font-size:24px;color:#658071}
#main .history-top{background:#003c24}
#main .history-page{padding:14px 0 26px}
#main .history-intro{display:flex;align-items:center;gap:12px;margin-bottom:14px;padding:16px;border-radius:15px;background:#eaf5e9;color:#174e30}
#main .history-intro h2{font-size:17px;line-height:1.35;margin:0 0 4px}
#main .history-intro p{font-size:12px;line-height:1.5;color:#466a53;margin:0}
#main .history-card{margin:0 0 12px;padding:15px;border:1px solid #dce9df;border-radius:15px;background:#fff;box-shadow:0 3px 12px #1240250d}
#main .history-card-head{display:flex;align-items:center;gap:10px;min-width:0}
#main .history-card-head>div{flex:1;min-width:0}
#main .history-card-head h2{margin:0 0 4px;font-size:15px;line-height:1.4;overflow-wrap:anywhere;color:#173b2a}
#main .history-card-head p{margin:0;font-size:11px;line-height:1.4;color:#587064}
#main .history-published{flex:none;padding:4px 7px;border-radius:8px;background:#e8f4e8;color:#165b35;font-size:11px;font-weight:700}
#main .history-divider{height:1px;margin:13px 0;background:#e5eee6}
#main .history-number-label{display:flex;justify-content:space-between;gap:8px;margin:0 0 9px;font-size:13px;font-weight:700;color:#284c37}
#main .history-number-label span{font-size:11px;font-weight:500;color:#607668}
#main .history-numbers{display:flex;flex-wrap:wrap;gap:7px;max-height:260px;overflow-y:auto;overscroll-behavior:contain}
#main .history-numbers span{padding:5px 9px;border:1px solid #e1bd81;border-radius:999px;background:#fff5db;color:#7b4a04;font-size:13px;font-weight:800;line-height:1.25;font-variant-numeric:tabular-nums}
#main .history-error{padding:18px;border:1px solid #ead0cb;border-radius:14px;background:#fff7f5;color:#76352e}
#main .history-error h2{font-size:16px;margin:0 0 6px}
#main .history-error p,#main .history-loading{font-size:13px;line-height:1.5}
#main .history-error button{min-height:44px;padding:8px 14px;border:1px solid #a83028;border-radius:9px;background:#a83028;color:#fff;font-weight:700}
