/* Craft guidance adapted from unslop by Damir Sokolovsky (@heydamir), CC BY 4.0.
   Limited to the existing purchase, order and published-result interfaces. */

/* Keep brand green in the order header; keep the information surfaces quiet. */
#main:has(.orders-screen){background:linear-gradient(to bottom,#064b31 0 216px,#f7f6f2 216px)}
#main .orders-screen{min-width:0}
#main .orders-screen .orders-brand{font-weight:600;letter-spacing:0}
/* Draw history is an independent, compact list with one action per record. */
#main:has(.wheel-records-screen),#main:has(.wheel-prize-screen){background:#f7f6f2}
#main :is(.wheel-records-screen,.wheel-prize-screen){--wheel-ink:#143e2e;--wheel-secondary:#526b5c;--wheel-muted:#68796d;--wheel-line:#e1e6de;--wheel-accent:#087148;min-width:0}
#main .wheel-records-top.page-top{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:6px;height:auto;min-height:56px;padding:6px 14px;background:#fffdfa;border-bottom:1px solid #e1e6de;color:#174c34}
#main .wheel-records-top.page-top h1{min-width:0;margin:0;text-align:center;color:#174c34;font-size:17px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}
#main .wheel-records-top .record-header-action{display:grid;place-items:center;box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:10px;border:0;border-radius:8px;background:transparent;color:#174c34;font-size:28px;line-height:1;box-shadow:none;transform:none}
#main .wheel-records-top .record-header-action::before{display:none}
#main .wheel-records-top .record-header-action:focus-visible{outline:2px solid #087346;outline-offset:-3px}
#main .wheel-records-top .orders-refresh-icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#main .wheel-records-content{min-width:0;margin:12px 0 24px;padding:0 12px;border:1px solid #e1e6de;border-radius:12px;background:#fffdfa}
#main .wheel-records-list .wheel-record-item{margin:0;padding:0;border-bottom:1px solid #e7e9e1;color:#173e2d}
#main .wheel-records-list .wheel-record-item:last-child{border-bottom:0}
#main .wheel-record-item .wheel-record-body{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 12px;align-items:center;gap:8px;box-sizing:border-box;width:100%;min-width:0;min-height:66px;margin:0;padding:10px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit;font:inherit;line-height:1.4;text-align:left;transform:none}
#main .wheel-record-item .wheel-record-body::before{display:none}
#main .wheel-record-item button.wheel-record-body:focus-visible{outline:2px solid #087346;outline-offset:2px;border-radius:6px}
#main .wheel-record-main{display:grid;gap:3px;min-width:0}
#main .wheel-record-main>strong{min-width:0;font-size:14px;line-height:20px;font-weight:600;overflow-wrap:anywhere;word-break:normal}
#main .wheel-record-main>time{margin:0;color:#68796d;font-size:11px;line-height:16px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#main .wheel-record-summary{min-width:0;color:#6a786e;font-size:12px;line-height:18px;text-align:right;overflow-wrap:anywhere;word-break:normal}
#main .is-awarded .wheel-record-summary{color:#07633e;font-weight:600}
#main .wheel-record-arrow{color:#708273;font-size:21px;line-height:1;text-align:right}
#main #wheelRecordsMore,#main #wheelRecordsRetry,#main #wheelPrizeRetry{min-height:44px;margin:4px 0;padding:8px 10px;border:0;background:transparent;color:#087148;font-size:13px;font-weight:600}
#main #wheelRecordsMore{width:100%;border-top:1px solid #e7e9e1;border-radius:0}
#main #wheelRecordsStatus,#main .wheel-record-empty,#main .wheel-prize-status{margin:12px 0;color:#526b5c;font-size:13px;line-height:21px;overflow-wrap:anywhere}
#main #wheelRecordsStatus:empty,#main .wheel-prize-status:empty{display:none}
#main .wheel-records-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#main .wheel-prize-content{margin:12px 0 24px;min-width:0}
#main .wheel-prize-content .wheel-winner-card{margin:0;box-shadow:none;border:1px solid #e1e6de;border-radius:12px;background:#fffdfa}
#main .wheel-prize-content .order-heading{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 10px;color:#68796d;font-size:11px}
#main .wheel-prize-content .order-heading strong{font-size:12px;font-weight:600;color:#526b5c}
#main .wheel-prize-content .points-wheel-claim{display:grid;gap:12px}
#main .wheel-prize-content .points-wheel-claim label{display:grid;gap:6px;margin:0;font-size:13px;line-height:20px}
#main .wheel-prize-content .points-wheel-claim :is(input,textarea){width:100%;min-width:0;margin:0;box-sizing:border-box;font-size:16px}
#main .wheel-prize-content button.quiet{min-height:44px;padding:9px 14px;border:1px solid #bad3c0;border-radius:9px;background:#f4f8f1;color:#075d3d;box-shadow:none}
#main .wheel-prize-content .points-wheel-claim button[type=submit]{width:100%;background:#075d3d;border-color:#075d3d;color:#fff}
#main .orders-screen .orders-brand span::before{display:none}
#main .orders-screen .orders-banner{margin-block:8px 12px;padding-block:20px;border-color:#d3e1d4;box-shadow:none}
#main .orders-screen .orders-banner h2{font-weight:600;line-height:1.4}
#main .orders-screen .orders-banner p{font-size:12px;line-height:1.5;overflow-wrap:anywhere;word-break:normal}
#main .orders-screen .orders-filters{gap:4px;margin-bottom:8px}
#main .orders-screen .orders-filters button{color:#405348;font-weight:500}
#main .orders-screen .orders-filters button::before{inset:3px 0;border-color:#dfe4df;border-radius:10px;background:#fff;box-shadow:none}
#main .orders-screen .orders-filters button.active{color:#fff}
#main .orders-screen .orders-filters button.active::before{border-color:#075d3d;background:#075d3d;box-shadow:none}
#main .orders-screen #reloadOrders{gap:8px;margin-block:8px 12px;padding-inline:12px;font-weight:500}
#main .orders-screen .orders-empty{gap:12px;padding:20px 16px;border-color:#e1e6e1;border-radius:16px;background:#fff;box-shadow:none}
#main .orders-screen .orders-empty h2{font-weight:600}
#main .orders-screen #ordersBrowse{font-weight:600}
#main .orders-screen #ordersBrowse::before{border-color:#a91e24;border-radius:10px;background:#b62027;box-shadow:none}
#main .orders-screen .mock-order{min-width:0;border-color:#e1e6e1;border-radius:16px;background:#fff;background-image:none;box-shadow:none}
#main .orders-screen .mock-order .order-heading{flex-wrap:wrap;align-items:baseline;gap:4px 12px}
#main .orders-screen .mock-order .order-heading strong{min-width:0;overflow-wrap:anywhere}
#main .orders-screen .mock-order .order-heading small{min-width:0;white-space:normal;overflow-wrap:anywhere}
#main .orders-screen .mock-order .order-item{gap:12px}
#main .orders-screen .mock-order .order-item-info{min-width:0}
#main .orders-screen .mock-order .order-item-info h3{line-height:1.4;overflow-wrap:anywhere;word-break:normal}
#main .orders-screen .mock-order .status-line{align-items:center;gap:8px}
#main .orders-screen .mock-order .status-line .status-label{min-width:0;overflow-wrap:anywhere}
#main .orders-screen .mock-order .status-line .badge{height:auto;white-space:normal;overflow-wrap:anywhere;word-break:normal}
#main .orders-screen .mock-order .order-numbers-toggle{font-weight:500}
#main .orders-screen .mock-order .order-details{padding:0;border-top:0}
#main .orders-screen .mock-order .order-details summary{min-height:44px;padding:12px 0;list-style-position:inside}
#main .orders-screen .claim-heading strong{font-weight:600}
#main .orders-screen .claim-steps{gap:4px}
#main .orders-screen .claim-steps li>b{min-width:0;font-size:12px;line-height:1.4;font-weight:500;overflow-wrap:anywhere;word-break:normal}
#main .orders-screen .claim-footnote{font-size:13px;line-height:1.55;overflow-wrap:anywhere}
#main .orders-screen .claim-form{gap:12px}
#main .orders-screen .claim-form label{min-width:0;gap:8px;margin:0;font-weight:500;overflow-wrap:anywhere}
#main .orders-screen .claim-form :is(input,textarea){box-sizing:border-box;max-width:100%;margin:0;font-size:16px;line-height:1.4}
#main .orders-screen .claim-form-actions>*{min-width:0;min-height:44px;white-space:normal;overflow-wrap:anywhere}

/* Selection and checkout retain their current controls, order and states. */
#picker .purchase-card{box-shadow:none!important}
#picker .random-panel{background:#07583a!important;box-shadow:none!important}
#picker .mode-tabs button{font-weight:600!important}
#picker :is(#reviewStep,#checkout) :is(h2,h3,legend){font-weight:600;overflow-wrap:anywhere}
#picker #reviewStep .notice,#picker #checkoutOptions,#picker #checkout fieldset{box-shadow:none}
#picker #checkout :is(label,p,legend){min-width:0;overflow-wrap:anywhere;word-break:normal}
#picker #checkout :is(input,textarea,select){font-size:16px}
#picker :is(#reviewStep,#checkout,#pickStep)>.flow-actions{gap:8px!important;box-shadow:0 -2px 8px #0000000d!important}
#picker :is(#reviewStep,#checkout)>.flow-actions button{min-width:0;min-height:44px;white-space:normal;overflow-wrap:anywhere}

/* Published history and the trend chart preserve color only where it conveys data. */
#main .history-screen .history-product-group{margin-bottom:12px;border-color:#e1e6e1;border-radius:16px;background:#fff;box-shadow:none}
#main .history-screen .history-group-summary{gap:12px;padding:12px}
#main .history-screen .history-group-info>strong{font-weight:600;overflow-wrap:anywhere}
#main .history-screen .history-product-group .history-group-periods>.history-card{gap:8px;padding-block:12px}
#main .history-screen :is(.history-group-info,.history-card-info,.history-result-body,.history-filter-grid){min-width:0}
#main .history-screen :is(.history-card-info h2,.history-card-info p,.history-number-label,.history-pagination-info){overflow-wrap:anywhere;word-break:normal}
#main .history-trend-screen .history-trend-top{background:#07583a}
#main .history-trend-screen .history-trend-page{padding-block:16px 28px}
#main .history-trend-screen .history-trend-select{gap:8px;font-weight:600}
#main .history-trend-screen .history-trend-card{margin-bottom:16px;border-color:#e1e6e1;border-radius:16px;background:#fff;box-shadow:none}
#main .history-trend-screen .history-trend-card h2{font-weight:600}
#main .history-trend-screen :is(.history-trend-note,.history-trend-range,.history-trend-settings-current,.history-trend-settings-hint,.history-trend-range-control>strong,.history-trend-position-control>strong,.history-trend-stat strong){font-weight:600}
#main .history-trend-screen :is(.history-trend-range-button,.history-trend-position-button){font-weight:500;line-height:1.35;overflow-wrap:anywhere;word-break:normal}
#main .history-trend-screen :is(.history-trend-settings-current,.history-trend-settings-hint,.history-trend-stat,.history-trend-note,.history-trend-empty){min-width:0;overflow-wrap:anywhere;word-break:normal}
#main .history-trend-screen .history-trend-grid-scroll{max-width:100%;overscroll-behavior-x:contain}
@media(max-width:350px){
  html:lang(zh) #main .orders-screen .orders-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px}
  html:lang(zh) #main .orders-screen .orders-filters button{font-size:13px}
  #main .orders-screen .orders-banner p{max-width:calc(100% - 67px);font-size:12px}
  #main .orders-screen .mock-order .status-line .badge{font-size:12px}
  #main .orders-screen .claim-steps li>b{font-size:12px}
  #main .history-screen .history-group-summary{gap:8px;padding:12px}
}

/* Winner information and the play guide share the same calm surface rhythm. */
#main .winner-screen .winner-top{background:#07583a}
#main .winner-screen .winner-top h1{font-size:18px;line-height:1.35;font-weight:600;overflow-wrap:anywhere}
#main .winner-screen .winner-intro{gap:12px;margin-bottom:16px;padding:16px;border-color:#e1e6e1;border-radius:16px;background:#fff;box-shadow:none}
#main .winner-screen .winner-intro h2{font-weight:600;line-height:1.4}
#main .winner-screen .winner-intro p{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
#main .winner-screen .winner-list{gap:12px}
#main .winner-screen .winner-card{padding:16px;border-color:#e1e6e1;border-radius:16px;background:#fff;box-shadow:none}
#main .winner-screen .winner-person{gap:12px}
#main .winner-screen .winner-person>strong{font-weight:600;overflow-wrap:anywhere}
#main .winner-screen .winner-status{height:auto;font-weight:600;white-space:normal;overflow-wrap:anywhere;word-break:normal}
#main .winner-screen .winner-prize{gap:12px;margin-top:12px;padding:12px;border-color:#ecd8a8;border-radius:10px;background:#fff9e9}
#main .winner-screen .winner-prize-icon{background:#f8e4aa;color:#80580d}
#main .winner-screen .winner-prize h2{font-weight:600;overflow-wrap:anywhere}
#main .winner-screen .winner-result{gap:8px;margin-top:12px}
#main .winner-screen .winner-result strong{font-weight:600;letter-spacing:0}
#main .winner-screen :is(.winner-round,.winner-more){font-weight:600}
#main .winner-screen .winner-more{min-height:44px;border-radius:10px;overflow-wrap:anywhere}
#main .play-guide .play-guide-steps{padding-inline:16px;border-color:#e1e6e1;border-radius:16px;background:#fff;box-shadow:none}
#main .play-guide .play-guide-steps li{gap:12px;padding-block:16px}
#main .play-guide .play-guide-number{font-weight:600}
#main .play-guide .play-guide-steps h2{font-weight:600;line-height:1.4;overflow-wrap:anywhere}
#main .play-guide :is(.play-guide-intro,.play-guide-steps p,.play-guide-notice){line-height:1.6;overflow-wrap:anywhere;word-break:normal}
#main .play-guide .play-guide-notice{margin-top:16px;padding:12px 16px;border-radius:10px}

/* Keep the order heading on the same horizontal guide as its cards. */
#main .orders-screen .orders-top.page-top{padding-inline:14px}

/* The title and help action lead directly into order filters and records. */
#main:has(.orders-screen){background:linear-gradient(to bottom,#064b31 0 56px,#f7f6f2 56px)}
#main .orders-screen .orders-filters{margin-top:12px}

/* Product order filters and refresh retain their own compact toolbar. */
#main .orders-screen:not(.wheel-records-screen):has(#ordersFilters){display:grid;grid-template-columns:minmax(0,1fr) 44px;align-content:start;column-gap:8px}
#main .orders-screen:not(.wheel-records-screen):has(#ordersFilters)>.orders-top{grid-column:1/-1;grid-row:1}
#main .orders-screen:not(.wheel-records-screen):has(#ordersFilters)>#reloadOrders{grid-column:2;grid-row:2;align-self:center;display:grid;place-items:center;box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:10px;font-size:0}
#main .orders-screen:not(.wheel-records-screen):has(#ordersFilters)>#reloadOrders span{font-size:0}
#main .orders-screen:not(.wheel-records-screen):has(#ordersFilters)>#reloadOrders::before{inset:0;border-color:#dce5db;border-radius:10px;background:#fff}
#main .orders-screen:not(.wheel-records-screen):has(#ordersFilters)>#reloadOrders .orders-refresh-icon{width:18px;height:18px}
#main .orders-screen:not(.wheel-records-screen):has(#ordersFilters)>.orders-filters-row{grid-column:1;grid-row:2;min-width:0;margin:8px 0 10px}
html:lang(zh) #main .orders-screen:not(.wheel-records-screen):has(#ordersFilters)>.orders-filters-row{display:block}
#main .orders-screen:not(.wheel-records-screen):has(#ordersFilters) .orders-filters{margin:0 0 4px;padding:0;gap:4px}
#main .orders-screen .orders-filters button{font-size:12px;font-weight:600}
#main .orders-screen .orders-filters button::before{border-color:transparent;background:transparent}
#main .orders-screen .orders-filters button.active::before{border-color:#075d3d;background:#075d3d}
#main .orders-screen:has(#ordersFilters)>:not(.orders-top):not(.orders-filters-row):not(#reloadOrders){grid-column:1/-1}
/* Recovery notices precede the controls, as they do in the document order. */
#main .orders-screen:not(.wheel-records-screen):has(#ordersFilters)>.secondary-note{grid-column:1/-1;grid-row:2}
#main .orders-screen:not(.wheel-records-screen):has(#ordersFilters):has(>.secondary-note)>#reloadOrders{grid-row:3}
#main .orders-screen:not(.wheel-records-screen):has(#ordersFilters):has(>.secondary-note)>.orders-filters-row{grid-row:3}

/* Centre a quiet empty state in the available space instead of stacking cards. */
#main .orders-screen:not(.wheel-records-screen):has(#orderFilterEmpty:not([hidden])){min-height:calc(100dvh - 96px);grid-template-rows:auto auto minmax(230px,1fr)}
#main .orders-screen:not(.wheel-records-screen):has(#orderFilterEmpty:not([hidden])):has(>.secondary-note){grid-template-rows:auto auto auto minmax(230px,1fr)}
#main .orders-screen #orderFilterEmpty:not([hidden]){align-self:stretch;min-height:230px;margin:0;padding:20px 16px 72px;border:0;border-radius:0;background:transparent;box-shadow:none;gap:10px}
#main .orders-screen #orderFilterEmpty .orders-empty-art{width:72px;max-width:100%;height:auto}
#main .orders-screen #orderFilterEmpty h2{color:#425d4b;font-size:14px;font-weight:600;line-height:1.5;text-align:center}
#main .orders-screen #ordersBrowse{min-height:44px;padding:8px 16px;color:#fff;font-size:14px}
#main .orders-screen #ordersBrowse::before{inset:0;border-color:#086a43;border-radius:10px;background:#086a43;box-shadow:none}

#main .wheel-winner-card{padding:16px}
#main .wheel-winner-card h3{margin:12px 0 6px;font-size:16px}
#main .wheel-winner-card p{margin:6px 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
#main .wheel-winner-details{margin-top:12px}
#main .wheel-winner-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#07643d;font-weight:700}
#main .wheel-winner-details .points-wheel-claim{margin-top:8px}

/* Half-contract products use a fixed-size, randomly allocated selection. */
#picker.half-mode :is(.mode-tabs,#randomPanel,#randomResult,#singlePanel,#rangePanel,#clearInline,#clear){display:none!important}
#picker .half-purchase{margin:14px 0;padding:16px;border:1px solid #d8e6d8;border-radius:14px;background:#f4f8ee;color:#174633}
#picker .half-purchase[hidden]{display:none}
#picker .half-purchase h3{margin:0 0 8px;font-size:17px}
#picker .half-purchase p{margin:8px 0;font-size:14px;line-height:1.5}
#picker .half-purchase #halfPurchaseTerms{font-weight:700;color:#075c3b}
#picker .half-purchase button{min-height:44px;margin-top:4px}
#picker .half-purchase #halfPurchaseStatus:empty{display:none}
#main .orders-screen .mock-order .order-item{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:start;
  column-gap:12px;
  row-gap:6px;
}
#main .orders-screen .mock-order .order-number-block{grid-column:1 / -1;min-width:0}
/* Each result gets the full card width; the copy action stays beside its label. */
#main .history-screen .history-product-group .history-group-periods>.history-card{
  grid-template-columns:minmax(0,1fr);
}
#main .history-screen .history-card .history-result-body{display:contents}
#main .history-screen .history-card .history-number-label{grid-column:1;grid-row:1;min-width:0;margin:0}
#main .history-screen .history-card .history-copy{grid-column:2;grid-row:1}
#main .history-screen .history-card .history-numbers{grid-column:1 / -1;grid-row:2}
#main .orders-screen .mock-order .number-chips,
#main .history-screen .history-card .history-numbers{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:4px;
  min-width:0;
}
#main .orders-screen .mock-order .number-chips > span,
#main .history-screen .history-card .history-numbers > span,
#main .history-screen .history-product-group .history-group-periods .history-numbers > span{
  display:grid;
  place-items:center;
  box-sizing:border-box;
  min-width:0;
  min-height:28px;
  max-width:100%;
  padding:3px 1px;
  border-radius:999px;
  font-size:11px;
  font-variant-numeric:tabular-nums;
  line-height:1.2;
  text-align:center;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-all;
}
#main .history-screen .history-card .history-numbers > span[hidden]{display:none}
#main .orders-screen .mock-order .order-number-results:not(:has(> span)){display:block}
#main .orders-screen .mock-order .order-number-results > .order-number-empty{
  display:block;
  grid-column:1 / -1;
  min-height:0;
  padding:2px 0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:inherit;
  font-size:12px;
  line-height:1.4;
  text-align:left;
  word-break:normal;
  overflow-wrap:anywhere;
}
#main .orders-screen .order-draw .order-draw-numbers{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:4px;
  margin-top:5px;
}
#main .orders-screen .order-draw .order-draw-numbers > span{
  display:grid;
  place-items:center;
  min-width:0;
  min-height:28px;
  padding:3px 1px;
  border:1px solid currentColor;
  border-radius:999px;
  font-size:11px;
  line-height:1.2;
  text-align:center;
  overflow-wrap:anywhere;
  word-break:break-all;
}

/* Award details stay over their history list; points remain quiet, static rows. */
#main .wheel-record-item.is-points .wheel-record-body{grid-template-columns:minmax(0,1fr) auto}
#main .wheel-record-main .wheel-record-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 6px;min-width:0;color:#68796d;font-size:11px;line-height:16px}
#main .wheel-record-meta .wheel-record-source{color:#4f715b;font-size:inherit;font-weight:500;line-height:inherit;white-space:nowrap}
#main .wheel-record-meta time{min-width:0;font-size:inherit;line-height:inherit;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#main .wheel-records-content:has(.wheel-records-list:empty):has(#wheelRecordsStatus:empty):has(#wheelRecordsRetry[hidden]):has(#wheelRecordsMore[hidden]){display:none}
#main dialog.wheel-prize-dialog{position:fixed;box-sizing:border-box;width:min(360px,calc(100vw - 28px));max-height:min(85dvh,720px);margin:auto;padding:0;overflow:hidden;overscroll-behavior:contain;border:1px solid #d9e2d4;border-radius:16px;background:#fffdf8;color:#254b36;box-shadow:0 14px 40px #0c352738}
#main dialog.wheel-prize-dialog[open]{display:flex;flex-direction:column}
#main dialog.wheel-prize-dialog::backdrop{background:#10382c73;backdrop-filter:blur(3px)}
#main .wheel-prize-dialog-head{display:flex;flex:none;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px 10px 16px;border-bottom:1px solid #e4eade}
#main .wheel-prize-dialog-head h2{min-width:0;margin:0;color:#254b36;font-size:17px;font-weight:600;line-height:1.4}
#main .wheel-prize-dialog-actions{display:flex;flex:none;align-items:center;gap:2px}
#main .wheel-prize-dialog-head button{display:grid;place-items:center;box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:9px;background:transparent;color:#275b3c;box-shadow:none;font-size:26px;line-height:1}
#main .wheel-prize-dialog-head [data-wheel-prize-close]{background:#eff5e9}
#main .wheel-prize-dialog-head .orders-refresh-icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#main .wheel-prize-dialog-body{flex:1 1 auto;min-height:0;padding:16px;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
#main .wheel-prize-dialog-body::-webkit-scrollbar{display:none}
#main .wheel-prize-dialog .wheel-prize-content{margin:0;min-width:0}
#main .wheel-prize-dialog .wheel-winner-card{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#main .wheel-prize-dialog .wheel-winner-card .order-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 8px;margin:0 0 8px;padding:0;border:0;background:transparent;color:#718073;font-size:11px;line-height:1.4}
#main .wheel-prize-dialog .wheel-winner-card .order-heading strong{font-size:11px;font-weight:500}
#main .wheel-prize-dialog .wheel-winner-card h3{margin:0 0 10px;color:#254b36;font-size:16px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
#main .wheel-prize-dialog .wheel-winner-card>p{margin:0 0 12px;color:#526a58;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
#main .wheel-prize-dialog .points-wheel-claim{display:grid;gap:12px;margin:12px 0 0;padding:0;border:0}
#main .wheel-prize-dialog .points-wheel-claim label{display:grid;gap:6px;margin:0;color:#345b43;font-size:13px;line-height:1.4}
#main .wheel-prize-dialog .points-wheel-claim :is(input,textarea){box-sizing:border-box;width:100%;min-width:0;min-height:44px;margin:0;padding:10px;border:1px solid #c3d4c1;border-radius:9px;background:#fff;color:#254b36;font-size:16px;line-height:1.4}
#main .wheel-prize-dialog .points-wheel-claim textarea{min-height:80px;resize:vertical}
#main .wheel-prize-dialog button.quiet{min-height:44px;margin:0;padding:10px 12px;border:1px solid #bdd3be;border-radius:9px;background:#f3f8ee;color:#1b6541;font-size:14px;font-weight:600;line-height:1.4;white-space:normal}
#main .wheel-prize-dialog .points-wheel-claim button[type=submit]{width:100%;border-color:#087346;background:#087346;color:#fff}
#main .wheel-prize-dialog .points-wheel-claim [role=status],#main .wheel-prize-dialog .wheel-prize-status{margin:0;color:#9b3c2f;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
#main .wheel-prize-dialog .points-wheel-claim [role=status]:empty,#main .wheel-prize-dialog .wheel-prize-status:empty{display:none}
#main .wheel-prize-dialog #wheelPrizeRetry{margin-top:12px}
#main .wheel-prize-dialog button:focus-visible{outline:2px solid #aa8839;outline-offset:2px}
#main .wheel-prize-dialog button:is(:hover,:active){box-shadow:none;transform:none;filter:none}
