.lw-wheel-page .lw-activity-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.lw-wheel-page .lw-activity-tabs .item { padding: 6px 14px; border-radius: 16px; border: 1px solid #e5e7eb; cursor: pointer; font-size: 13px; }
.lw-wheel-page .lw-activity-tabs .item.active { background: #ff6b35; color: #fff; border-color: #ff6b35; }
.lw-wheel-page .lw-activity-tabs .item.disabled { pointer-events: none; opacity: .55; }
.lw-wheel-page .lw-stage { display: grid; grid-template-columns: 420px 1fr; gap: 20px; }
.lw-wheel-page .lw-wheel-box { background: linear-gradient(180deg, #fff7f2 0%, #fff 100%); border-radius: 16px; padding: 24px 20px; text-align: center; border: 1px solid #ffe3d4; position: relative; overflow: hidden; }
.lw-wheel-page .lw-wheel-box.has-bg { background-size: cover; background-position: center; }
.lw-wheel-page .lw-wheel-wrap { position: relative; width: 340px; height: 340px; margin: 0 auto; }
.lw-wheel-page .lw-wheel-wrap canvas { width: 340px; height: 340px; border-radius: 50%; box-shadow: 0 0 0 10px rgba(255,107,53,.12), 0 10px 30px rgba(0,0,0,.12); transition: transform 4s cubic-bezier(.17,.67,.12,.99); }
.lw-wheel-page .lw-wheel-btn { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: #fff; border: none; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.2); display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; z-index: 2; }
.lw-wheel-page .lw-wheel-btn::before { content: ''; position: absolute; top: -18px; left: 50%; margin-left: -12px; border-left: 12px solid transparent; border-right: 12px solid transparent; border-bottom: 22px solid #fff; filter: drop-shadow(0 -2px 2px rgba(0,0,0,.15)); }
.lw-wheel-page .lw-wheel-btn small { font-size: 11px; font-weight: 400; color: #999; margin-top: 2px; }
.lw-wheel-page .lw-wheel-btn[disabled] { cursor: not-allowed; opacity: .75; }
.lw-wheel-page .lw-wheel-btn.has-img { background: transparent; box-shadow: none; }
.lw-wheel-page .lw-wheel-btn.has-img::before { display: none; }
.lw-wheel-page .lw-wheel-btn.has-img img { width: 100%; height: 100%; object-fit: contain; }
.lw-wheel-page .lw-chance-bar { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.lw-wheel-page .lw-chance-bar .num { font-size: 26px; font-weight: 700; color: #ff6b35; }
.lw-wheel-page .lw-side .lw-rule-list { list-style: none; padding: 0; margin: 0; }
.lw-wheel-page .lw-side .lw-rule-list li { padding: 12px 0; border-bottom: 1px dashed #f0f0f0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.lw-wheel-page .lw-rule-main { color: #252b36; font-weight: 500; }
.lw-wheel-page .lw-rule-limits { color: #7c8798; font-size: 12px; line-height: 1.5; }
.lw-wheel-page .lw-activity-limit-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.lw-wheel-page .lw-activity-limit-chips span { padding: 5px 10px; border-radius: 14px; background: #fff2eb; color: #d94f1e; font-size: 12px; }
.lw-wheel-page .lw-prize-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.lw-wheel-page .lw-prize-item { border: 1px solid #f0f0f0; border-radius: 8px; padding: 10px; text-align: center; position: relative; }
.lw-wheel-page .lw-prize-item.sold { opacity: .5; }
.lw-wheel-page .lw-prize-item .img { height: 56px; background: center/contain no-repeat; margin-bottom: 6px; }
.lw-wheel-page .lw-prize-item .img.placeholder { display: flex; align-items: center; justify-content: center; font-size: 26px; color: #ffb48f; }
.lw-wheel-page .lw-prize-item .name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lw-wheel-page .lw-prize-item .prob { font-size: 11px; color: #999; }
.lw-wheel-page .lw-winners { height: 150px; overflow: hidden; position: relative; }
.lw-wheel-page .lw-winners ul { list-style: none; margin: 0; padding: 0; transition: transform .6s; }
.lw-wheel-page .lw-winners li { height: 30px; line-height: 30px; font-size: 13px; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lw-wheel-page .lw-winners li b { color: #ff6b35; font-weight: 500; }
.lw-wheel-page .lw-rule-text { white-space: pre-wrap; color: #666; line-height: 1.8; font-size: 13px; }
.lw-wheel-page .lw-recent-table { overflow: hidden; border: 1px solid #edf0f5; border-radius: 10px; }
.lw-wheel-page .lw-recent-row { display: grid; grid-template-columns: minmax(160px, 1.4fr) 100px 120px 170px; align-items: center; min-height: 48px; padding: 0 16px; border-bottom: 1px solid #f0f2f5; font-size: 13px; }
.lw-wheel-page .lw-recent-row:last-child { border-bottom: 0; }
.lw-wheel-page .lw-recent-head { min-height: 40px; color: #7d8796; background: #f8fafc; font-weight: 500; }
.lw-wheel-page .lw-recent-prize { color: #212936; font-weight: 600; }
.lw-result-dialog { overflow: hidden; border-radius: 18px !important; box-shadow: 0 24px 70px rgba(29, 35, 48, .22) !important; }
.lw-result-dialog .el-dialog__header { display: none; }
.lw-result-dialog .el-dialog__body { padding: 0 !important; }
.lw-result { padding: 0 28px 28px; text-align: center; background: #fff; }
.lw-result .lw-result-hero { height: 104px; margin: 0 -28px 18px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 100%, #fff5ef 0, #ffe2d3 55%, #ffb790 100%); }
.lw-result.miss .lw-result-hero { background: radial-gradient(circle at 50% 100%, #f8fafc 0, #e7edf5 62%, #cbd5e1 100%); }
.lw-result .icon { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 8px 28px rgba(255,107,53,.18); font-size: 42px; }
.lw-result h3 { margin: 0 0 6px; color: #1f2937; font-size: 23px; }
.lw-result .lw-result-prize-card { display: flex; align-items: center; gap: 14px; margin: 18px 0 14px; padding: 14px; text-align: left; border: 1px solid #ffe0d0; border-radius: 12px; background: #fff9f6; }
.lw-result .prize-name { margin-bottom: 4px; color: #ef5a27; font-size: 18px; font-weight: 700; }
.lw-result .prize-img { width: 72px; height: 72px; flex: 0 0 72px; object-fit: contain; border-radius: 10px; background: #fff; }
.lw-result .content { color: #626d7d; line-height: 1.6; }
.lw-result .tip { margin: 6px 0 12px; color: #8b95a5; font-size: 12px; }
.lw-result .ops { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.lw-result .ops .el-button, .lw-result .ops .lw-btn { min-width: 96px; margin: 0; }
.lw-result .ops .lw-result-view-prize { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 138px; padding: 0 18px; border: 1px solid #ff5b2d; border-radius: 6px; color: #fff; background: linear-gradient(90deg, #ff713e, #ff4d22); box-shadow: 0 7px 16px rgba(255,78,32,.2); font-weight: 600; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.lw-result .ops .lw-result-view-prize:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 20px rgba(255,78,32,.28); }
.lw-wheel-page .lw-ineligible { background: #fff7e6; border: 1px solid #ffe7ba; color: #ad6800; padding: 10px 14px; border-radius: 8px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
@media (max-width: 1100px) { .lw-wheel-page .lw-stage { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .lw-wheel-page .lw-recent-row { grid-template-columns: 1fr 90px; gap: 6px; padding: 10px 12px; } .lw-wheel-page .lw-recent-row > span:nth-child(3), .lw-wheel-page .lw-recent-row > span:nth-child(4) { text-align: right; } }
@media (max-width: 480px) { .lw-wheel-page .lw-wheel-wrap, .lw-wheel-page .lw-wheel-wrap canvas { width: 280px; height: 280px; } .lw-result { padding: 0 18px 20px; } .lw-result .lw-result-hero { margin-left: -18px; margin-right: -18px; } }

/* 1.1.8 campaign layout: matches the approved lucky-wheel visual */
.lw-wheel-page {
  --lw-campaign: #ff5b2d;
  --lw-campaign-dark: #ee3f19;
  --lw-campaign-soft: #fff2ea;
  --lw-ink: #182237;
  --lw-muted: #7f8aa3;
  --lw-line: #e8edf5;
  color: var(--lw-ink);
}
.lw-wheel-page .lw-design-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; padding: 2px 10px 0; }
.lw-wheel-page .lw-design-heading { min-width: 0; }
.lw-wheel-page .lw-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.lw-wheel-page .lw-title-row h1 { margin: 0; color: var(--lw-ink); font-size: 24px; line-height: 1.25; font-weight: 700; }
.lw-wheel-page .lw-design-heading > p { margin: 5px 0 0; color: #9aa3b6; font-size: 14px; }
.lw-wheel-page .lw-status-pill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 16px; border-radius: 18px; background: #fff0e6; color: var(--lw-campaign); font-size: 13px; font-weight: 600; }
.lw-wheel-page .lw-status-pill.is-ended { background: #f1f3f6; color: #8b95a5; }
.lw-wheel-page .lw-status-pill.is-upcoming { background: #eef5ff; color: #2d70d6; }
.lw-wheel-page .lw-header-time { color: #72809b; font-size: 13px; white-space: nowrap; }
.lw-wheel-page .lw-my-prize-btn { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px; min-width: 122px; height: 38px; border: 1px solid var(--lw-campaign); border-radius: 8px; color: var(--lw-campaign); background: #fff; font-size: 14px; font-weight: 600; transition: .2s; }
.lw-wheel-page .lw-my-prize-btn:hover { color: #fff; background: var(--lw-campaign); }
.lw-wheel-page .lw-activity-tabs { margin: -2px 10px 14px; }
.lw-wheel-page .lw-design-grid { display: grid; grid-template-columns: minmax(420px, 490px) minmax(0, 1fr); gap: 16px; align-items: start; }
.lw-wheel-page .lw-wheel-scene { position: relative; min-width: 0; min-height: 536px; padding: 12px 20px 14px; overflow: hidden; border: 1px solid #ffd5c2; border-radius: 12px; background: radial-gradient(circle at 50% 32%, #fffdfb 0 32%, #fff0e6 67%, #ffd9c4 100%); text-align: center; }
.lw-wheel-page .lw-wheel-scene::before,
.lw-wheel-page .lw-wheel-scene::after { content: '🎁'; position: absolute; bottom: -16px; z-index: 0; font-size: 80px; filter: drop-shadow(0 12px 12px rgba(228,66,20,.18)); transform: rotate(-10deg); }
.lw-wheel-page .lw-wheel-scene::before { left: -12px; }
.lw-wheel-page .lw-wheel-scene::after { right: -10px; transform: rotate(10deg); }
.lw-wheel-page .lw-wheel-scene.has-bg { background-position: center; background-size: cover; }
.lw-wheel-page .lw-scene-confetti span { position: absolute; z-index: 0; color: #ff8a5f; opacity: .68; }
.lw-wheel-page .lw-scene-confetti span:nth-child(1) { left: 28px; top: 30px; transform: rotate(24deg); }
.lw-wheel-page .lw-scene-confetti span:nth-child(2) { left: 20px; top: 93px; color: #ffbc4b; }
.lw-wheel-page .lw-scene-confetti span:nth-child(3) { right: 28px; top: 38px; transform: rotate(-20deg); }
.lw-wheel-page .lw-wheel-wrap { position: relative; z-index: 1; width: min(430px, 100%); aspect-ratio: 1; height: auto; margin: 0 auto; }
.lw-wheel-page .lw-wheel-wrap canvas { display: block; width: 100%; height: 100%; border-radius: 50%; background: rgba(255,255,255,.76); box-shadow: 0 0 0 8px rgba(255,101,56,.16), 0 12px 34px rgba(225,70,25,.2); transition: transform 4s cubic-bezier(.17,.67,.12,.99); }
.lw-wheel-page .lw-wheel-btn { position: absolute; left: 50%; top: 50%; z-index: 3; width: 124px; height: 124px; margin: -62px 0 0 -62px; padding: 0 8px; border: 6px solid #ffad8f; border-radius: 50%; background: linear-gradient(180deg, #ff754e, var(--lw-campaign-dark)); color: #fff; box-shadow: 0 8px 22px rgba(222,59,16,.32), inset 0 0 0 2px rgba(255,255,255,.45); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lw-wheel-page .lw-wheel-btn::before { top: -31px; margin-left: -16px; border-left-width: 16px; border-right-width: 16px; border-bottom: 34px solid var(--lw-campaign-dark); filter: none; }
.lw-wheel-page .lw-wheel-btn strong { font-size: 22px; line-height: 1.35; white-space: nowrap; }
.lw-wheel-page .lw-wheel-btn small { margin-top: 2px; color: rgba(255,255,255,.92); font-size: 13px; }
.lw-wheel-page .lw-wheel-btn[disabled] { opacity: .78; }
.lw-wheel-page .lw-wheel-btn.has-img { border: 0; background: transparent; }
.lw-wheel-page .lw-wheel-footer { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; margin-top: 8px; }
.lw-wheel-page .lw-wheel-chances { color: #283247; font-size: 17px; }
.lw-wheel-page .lw-wheel-chances strong { margin: 0 4px; color: var(--lw-campaign-dark); font-size: 34px; line-height: 1; }
.lw-wheel-page .lw-recharge-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 224px; height: 42px; margin-top: 8px; border: 0; border-radius: 9px; color: #fff; background: linear-gradient(90deg, #ff713e, #ff4d22); box-shadow: 0 8px 20px rgba(255,78,32,.2); cursor: pointer; font-size: 15px; font-weight: 600; }
.lw-wheel-page .lw-secondary-actions { display: flex; gap: 8px; margin-top: 8px; }
.lw-wheel-page .lw-secondary-actions button { border: 0; color: #d84b24; background: transparent; cursor: pointer; font-size: 12px; }
.lw-wheel-page .lw-secondary-actions button[disabled] { color: #aeb5c2; cursor: not-allowed; }
.lw-wheel-page .lw-agreement { margin-top: 5px; color: #9aa3b4; font-size: 12px; }
.lw-wheel-page .lw-agreement a { color: var(--lw-campaign); }
.lw-wheel-page .lw-info-stack { display: grid; min-width: 0; grid-template-rows: auto auto 1fr; gap: 14px; }
.lw-wheel-page .lw-panel { min-width: 0; margin: 0; padding: 16px 18px; border: 1px solid var(--lw-line); border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(23,35,59,.02); }
.lw-wheel-page .lw-panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; font-size: 17px; font-weight: 700; }
.lw-wheel-page .lw-panel-title > span:first-child { display: flex; align-items: center; gap: 8px; }
.lw-wheel-page .lw-panel-title > span:first-child::before { content: ''; width: 4px; height: 18px; border-radius: 3px; background: var(--lw-campaign); }
.lw-wheel-page .lw-panel-title-main { display: flex; min-width: 0; align-items: center; gap: 12px; }
.lw-wheel-page .lw-panel-title-label { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.lw-wheel-page .lw-panel-title-label::before { content: ''; width: 4px; height: 18px; border-radius: 3px; background: var(--lw-campaign); }
.lw-wheel-page .lw-panel-title i { color: var(--lw-campaign); }
.lw-wheel-page .lw-link-button,
.lw-wheel-page .lw-panel-more { padding: 0; border: 0; color: #8e98aa; background: none; cursor: pointer; font-size: 13px; font-weight: 400; }
.lw-wheel-page .lw-rule-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; color: var(--lw-campaign); background: #fff0e8; font-size: 11px; font-style: normal; font-weight: 700; }
.lw-wheel-page .lw-activity-limits { display: flex; min-width: 0; flex-wrap: nowrap; gap: 7px; margin: 0; overflow-x: auto; scrollbar-width: none; }
.lw-wheel-page .lw-activity-limits::-webkit-scrollbar { display: none; }
.lw-wheel-page .lw-activity-limits span { padding: 5px 10px; border-radius: 12px; color: #cf4e28; background: #fff3ed; font-size: 11px; font-weight: 600; }
.lw-wheel-page .lw-chance-rule-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lw-wheel-page .lw-chance-rule-card { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 8px 10px; min-width: 0; min-height: 116px; padding: 12px; border: 1px solid #f1e6df; border-radius: 10px; background: linear-gradient(145deg, #fff8f3, #fff); box-sizing: border-box; }
.lw-wheel-page .lw-rule-icon { grid-row: 1 / span 2; flex: 0 0 auto; padding-top: 1px; font-size: 27px; }
.lw-wheel-page .lw-rule-card-main { min-width: 0; }
.lw-wheel-page .lw-rule-card-main strong { display: block; color: #263148; font-size: 13px; line-height: 1.55; }
.lw-wheel-page .lw-rule-card-main > small { display: block; margin-top: 2px; color: #9aa3b3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lw-wheel-page .lw-rule-limit-list { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.lw-wheel-page .lw-rule-limit-list span { max-width: 100%; padding: 2px 6px; border-radius: 8px; color: #8b6558; background: rgba(255,255,255,.86); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.lw-wheel-page .lw-rule-action { justify-self: start; padding: 0; border: 0; color: var(--lw-campaign); background: none; cursor: pointer; font-size: 11px; font-weight: 600; }
.lw-wheel-page .lw-rule-action[disabled] { color: #adb4c0; cursor: not-allowed; }
.lw-wheel-page .lw-rules-expand { display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; margin-top: 10px; padding: 7px 0 1px; border: 0; border-top: 1px dashed #f0e2da; color: #8f98a8; background: transparent; cursor: pointer; font-size: 12px; }
.lw-wheel-page .lw-prize-ribbon { display: grid; grid-template-columns: repeat(8, minmax(96px, 1fr)); gap: 9px; overflow-x: auto; padding-top: 6px; padding-bottom: 14px; }
.lw-wheel-page .lw-prize-item { position: relative; min-width: 96px; min-height: 105px; padding: 12px 8px 9px; border: 1px solid #e8edf4; border-radius: 9px; background: #fff; text-align: center; }
.lw-wheel-page .lw-prize-item { cursor: help; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.lw-wheel-page .lw-prize-item:hover,
.lw-wheel-page .lw-prize-item:focus { outline: none; transform: translateY(-3px); border-color: #ffb499; box-shadow: 0 8px 20px rgba(236,82,34,.13); }
.lw-wheel-page .lw-prize-item.sold { opacity: .52; }
.lw-wheel-page .lw-prize-visual { display: flex; align-items: center; justify-content: center; height: 48px; margin-bottom: 5px; font-size: 34px; }
.lw-wheel-page .lw-prize-visual img { width: 46px; height: 46px; object-fit: contain; }
.lw-wheel-page .lw-prize-item .name { color: #263047; font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lw-wheel-page .lw-prize-item .prob { margin-top: 2px; color: #9aa3b3; font-size: 10px; }
.lw-wheel-page .lw-sold-tag { position: absolute; right: 4px; top: 4px; padding: 2px 5px; border-radius: 8px; color: #fff; background: #8d96a6; font-size: 9px; }
.lw-wheel-page .lw-winner-panel { min-height: 0; }
.lw-wheel-page .lw-winner-scroll { height: 102px; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #d7dce5 transparent; scrollbar-width: thin; }
.lw-wheel-page .lw-winner-table { display: flex; flex-direction: column; }
.lw-wheel-page .lw-winner-row { display: grid; grid-template-columns: minmax(82px,.8fr) 48px minmax(130px,1.4fr) 155px; align-items: center; height: 34px; min-height: 34px; border-bottom: 1px solid #f0f2f6; box-sizing: border-box; color: #526078; font-size: 12px; }
.lw-wheel-page .lw-winner-row:last-child { border-bottom: 0; }
.lw-wheel-page .lw-winner-prize { display: flex; align-items: center; gap: 7px; color: var(--lw-campaign-dark); font-weight: 600; }
.lw-wheel-page .lw-winner-prize b { font-size: 19px; }
.lw-wheel-page .lw-winner-row > span:last-child { color: #8f99ab; text-align: right; }
.lw-wheel-page .lw-panel-more-button:focus { outline: 2px solid rgba(255,91,45,.28); outline-offset: 3px; border-radius: 3px; }
.lw-wheel-page .lw-winner-empty { display: flex; align-items: center; justify-content: center; min-height: 100%; padding: 0; color: #a2aaba; text-align: center; }
.lw-wheel-page .lw-recent-panel { margin-top: 14px; padding-bottom: 10px; }
.lw-wheel-page .lw-recent-table { overflow: hidden; border: 0; border-radius: 8px; }
.lw-wheel-page .lw-recent-scroll { height: 114px; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #d7dce5 transparent; scrollbar-width: thin; }
.lw-wheel-page .lw-recent-row { display: grid; grid-template-columns: minmax(220px,1.6fr) minmax(100px,.8fr) minmax(120px,.9fr) minmax(160px,1fr) minmax(90px,.7fr); height: 38px; min-height: 38px; padding: 0 22px; box-sizing: border-box; font-size: 12px; }
.lw-wheel-page .lw-recent-head { min-height: 36px; color: #65718a; background: #f5f7fb; }
.lw-wheel-page .lw-recent-prize { display: flex; align-items: center; gap: 12px; }
.lw-wheel-page .lw-record-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; font-size: 22px; }
.lw-wheel-page .lw-record-icon img { width: 28px; height: 28px; object-fit: contain; }
.lw-wheel-page .lw-type-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: 11px; color: #6f7a8d; background: #f0f2f6; font-style: normal; font-size: 11px; }
.lw-wheel-page .lw-type-tag.is-product { color: #3475e8; background: #edf4ff; }
.lw-wheel-page .lw-type-tag.is-points { color: #7958e8; background: #f3efff; }
.lw-wheel-page .lw-type-tag.is-voucher,
.lw-wheel-page .lw-type-tag.is-promo_code,
.lw-wheel-page .lw-type-tag.is-renew_discount { color: #f05a2a; background: #fff1e9; }
.lw-wheel-page .lw-record-link { color: #3475e8; }
.lw-rule-text { min-height: 100px; color: #59657a; line-height: 1.9; white-space: pre-wrap; }
.lw-rules-dialog { border-radius: 14px !important; }
.lw-prize-tooltip { max-width: 320px; padding: 9px 12px !important; line-height: 1.65; }
.lw-winner-dialog { border-radius: 14px !important; overflow: hidden; }
.lw-winner-dialog .el-dialog__header { padding: 20px 24px 16px; border-bottom: 1px solid #edf0f5; }
.lw-winner-dialog .el-dialog__body { padding: 0 24px; }
.lw-winner-dialog .el-dialog__footer { padding: 16px 24px 20px; border-top: 1px solid #edf0f5; }
.lw-winner-history { max-height: 420px; overflow-y: auto; }
.lw-winner-history-row { display: grid; grid-template-columns: minmax(110px,.8fr) minmax(220px,1.4fr) minmax(176px,176px); align-items: center; gap: 14px; min-height: 46px; padding: 0 4px; border-bottom: 1px solid #eef1f5; color: #526078; font-size: 13px; }
.lw-winner-history-row:last-child { border-bottom: 0; }
.lw-winner-history-head { position: sticky; top: 0; z-index: 1; min-height: 40px; color: #7b8799; background: #f7f9fc; font-weight: 600; }
.lw-winner-dialog .lw-winner-prize { display: flex; align-items: center; gap: 8px; color: #ee4b22; font-weight: 600; }
.lw-winner-dialog .lw-winner-prize b { font-size: 20px; }
.lw-winner-dialog .lw-winner-empty { padding: 44px 0; color: #a2aaba; text-align: center; }
.lw-winner-history-row > span:last-child { color: #8f99ab; text-align: right; }
.lw-winner-time { white-space: nowrap; }
.lw-winner-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lw-winner-footer .el-pagination { margin-right: auto; padding: 0; }
.lw-points-dialog { overflow: hidden; border-radius: 14px !important; }
.lw-points-dialog .el-dialog__header { padding: 20px 24px 16px; border-bottom: 1px solid #edf0f5; }
.lw-points-dialog .el-dialog__body { padding: 22px 24px 8px; }
.lw-points-dialog .el-dialog__footer { padding: 16px 24px 20px; border-top: 1px solid #edf0f5; }
.lw-points-exchange { color: #374151; }
.lw-points-balance { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; padding: 14px 16px; border-radius: 10px; background: linear-gradient(135deg, #fff4e9, #fffaf6); }
.lw-points-balance > span { font-size: 34px; }
.lw-points-balance small { display: block; color: #8a93a3; font-size: 12px; }
.lw-points-balance strong { display: block; margin-top: 2px; color: #ec5b29; font-size: 25px; line-height: 1; }
.lw-points-row { display: flex; align-items: center; justify-content: space-between; min-height: 46px; border-bottom: 1px solid #f0f2f5; font-size: 14px; }
.lw-points-row b { color: #252e3d; }
.lw-points-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.lw-points-summary > div { padding: 11px 12px; border-radius: 8px; background: #f7f9fc; }
.lw-points-summary span { display: block; color: #8b95a5; font-size: 11px; }
.lw-points-summary b { display: block; margin-top: 3px; color: #293448; font-size: 17px; }
.lw-points-error { margin: 10px 0 0; color: #e34d59; font-size: 12px; }

@media (max-width: 1280px) {
  .lw-wheel-page .lw-design-grid { grid-template-columns: minmax(360px, 410px) minmax(0, 1fr); }
  .lw-wheel-page .lw-wheel-scene { min-height: 500px; padding-left: 14px; padding-right: 14px; }
  .lw-wheel-page .lw-wheel-wrap { width: min(370px, 100%); }
  .lw-wheel-page .lw-wheel-btn { width: 108px; height: 108px; margin: -54px 0 0 -54px; }
  .lw-wheel-page .lw-wheel-btn strong { font-size: 19px; }
  .lw-wheel-page .lw-chance-rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lw-wheel-page .lw-prize-ribbon { grid-template-columns: repeat(8, minmax(62px, 1fr)); overflow-x: visible; }
  .lw-wheel-page .lw-prize-item { min-width: 0; padding-left: 4px; padding-right: 4px; }
  .lw-wheel-page .lw-prize-item .name { font-size: 11px; }
  .lw-wheel-page .lw-winner-row { grid-template-columns: 78px 42px minmax(120px,1fr) 130px; }
}
@media (max-width: 1100px) {
  .lw-wheel-page .lw-design-grid { grid-template-columns: 1fr; }
  .lw-wheel-page .lw-wheel-scene { min-height: auto; }
  .lw-wheel-page .lw-wheel-wrap { width: min(430px, 100%); }
  .lw-wheel-page .lw-info-stack { grid-template-rows: auto; }
}
@media (max-width: 768px) {
  .lw-wheel-page .lw-design-header { align-items: flex-start; padding: 0; }
  .lw-wheel-page .lw-title-row { gap: 8px; }
  .lw-wheel-page .lw-title-row h1 { width: 100%; font-size: 20px; }
  .lw-wheel-page .lw-header-time { width: 100%; white-space: normal; }
  .lw-wheel-page .lw-my-prize-btn { min-width: 96px; height: 34px; }
  .lw-wheel-page .lw-wheel-scene { min-height: 0; padding: 12px 10px 18px; }
  .lw-wheel-page .lw-wheel-wrap { width: min(350px, 100%); }
  .lw-wheel-page .lw-wheel-btn { width: 96px; height: 96px; margin: -48px 0 0 -48px; border-width: 4px; }
  .lw-wheel-page .lw-wheel-btn strong { font-size: 17px; }
  .lw-wheel-page .lw-wheel-btn::before { top: -25px; margin-left: -13px; border-left-width: 13px; border-right-width: 13px; border-bottom-width: 28px; }
  .lw-wheel-page .lw-panel { padding: 14px 12px; }
  .lw-wheel-page .lw-panel-title { align-items: flex-start; }
  .lw-wheel-page .lw-panel-title-main { flex-wrap: wrap; gap: 8px; }
  .lw-wheel-page .lw-activity-limits { flex-basis: 100%; }
  .lw-wheel-page .lw-chance-rule-grid { grid-template-columns: 1fr; }
  .lw-wheel-page .lw-recent-table { overflow-x: auto; }
  .lw-wheel-page .lw-recent-row { min-width: 760px; }
}
@media (max-width: 480px) {
  .lw-wheel-page .lw-design-header { flex-direction: column; }
  .lw-wheel-page .lw-my-prize-btn { align-self: flex-end; margin-top: -42px; }
  .lw-wheel-page .lw-wheel-wrap,
  .lw-wheel-page .lw-wheel-wrap canvas { width: min(320px, 100%); height: auto; }
  .lw-wheel-page .lw-wheel-scene::before,
  .lw-wheel-page .lw-wheel-scene::after { font-size: 54px; }
  .lw-wheel-page .lw-recharge-action { width: 200px; }
  .lw-wheel-page .lw-winner-row { grid-template-columns: 70px 40px 1fr; }
  .lw-wheel-page .lw-winner-row > span:last-child { display: block; }
  .lw-winner-dialog { width: calc(100% - 24px) !important; }
  .lw-winner-dialog .el-dialog__body { padding: 0 14px; }
  .lw-winner-footer { align-items: flex-end; flex-direction: column; }
  .lw-winner-history-row { grid-template-columns: 76px minmax(120px,1fr); }
  .lw-winner-history-row > span:last-child { display: block; }
  .lw-points-dialog { width: calc(100% - 24px) !important; }
  .lw-points-dialog .el-dialog__body { padding: 18px 16px 6px; }
}

/* Plugin-only responsive cards; each inline feed keeps its latest eight rows. */
.lw-wheel-page, .lw-wheel-page * { box-sizing: border-box; }
.lw-wheel-page .lw-design-grid, .lw-wheel-page .lw-recent-table { min-width: 0; max-width: 100%; }
.lw-wheel-page .lw-panel-title-main { flex-wrap: wrap; }
.lw-wheel-page .lw-activity-limits { flex-wrap: wrap; overflow: visible; }
.lw-wheel-page .lw-rule-action { min-height: 36px; padding: 6px 0; line-height: 20px; text-align: left; }
.lw-wheel-page .lw-rule-limit-list span { white-space: normal; overflow-wrap: anywhere; }
.lw-wheel-page .lw-recent-status .lw-tag, .lw-wheel-page .lw-type-tag { white-space: nowrap; }
@media (max-width: 1600px) {
  .lw-wheel-page .lw-prize-ribbon { grid-template-columns: repeat(4, minmax(0, 1fr)); overflow-x: visible; }
  .lw-wheel-page .lw-prize-item { min-width: 0; }
}
@media (min-width: 769px) and (max-width: 1400px) {
  .lw-wheel-page .lw-winner-row { grid-template-columns: minmax(52px,.7fr) 32px minmax(68px,1fr) minmax(90px,1fr); gap: 4px; height: auto; min-height: 40px; }
  .lw-wheel-page .lw-winner-row > span { min-width: 0; overflow-wrap: anywhere; }
  .lw-wheel-page .lw-winner-scroll { height: 120px; }
  .lw-wheel-page .lw-recent-row { grid-template-columns: minmax(100px,1.5fr) minmax(70px,.8fr) minmax(80px,.8fr) minmax(110px,1fr) minmax(70px,.8fr); gap: 8px; padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 768px) {
  .lw-wheel-page .lw-prize-ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; overflow: visible; }
  .lw-wheel-page .lw-prize-item { min-width: 0; }
  .lw-wheel-page .lw-prize-item .name { white-space: normal; overflow-wrap: anywhere; line-height: 18px; }
  .lw-wheel-page .lw-design-header { gap: 12px; }
  .lw-wheel-page .lw-my-prize-btn { align-self: flex-start; margin-top: 0; min-height: 40px; }
  .lw-wheel-page .lw-title-row, .lw-wheel-page .lw-panel-title-label { max-width: 100%; flex-wrap: wrap; overflow-wrap: anywhere; }
  .lw-wheel-page .lw-title-row h1 { overflow-wrap: anywhere; }
  .lw-wheel-page .lw-secondary-actions { flex-wrap: wrap; justify-content: center; }
  .lw-wheel-page .lw-secondary-actions button { min-height: 40px; }
  .lw-wheel-page .lw-recent-table { overflow: hidden; }
  .lw-wheel-page .lw-recent-head { display: none; }
  .lw-wheel-page .lw-recent-scroll { height: 360px; overflow-y: auto; overflow-x: hidden; }
  .lw-wheel-page .lw-recent-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 40px 24px 24px; gap: 4px 8px; min-width: 0; width: 100%; height: 120px; min-height: 120px; padding: 10px 8px; }
  .lw-wheel-page .lw-recent-row > span { min-width: 0; }
  .lw-wheel-page .lw-recent-prize { grid-column: 1 / -1; gap: 8px; overflow: hidden; overflow-wrap: anywhere; line-height: 20px; }
  .lw-wheel-page .lw-record-icon { flex: 0 0 30px; }
  .lw-wheel-page .lw-recent-status { text-align: right; }
  .lw-wheel-page .lw-recent-row .lw-recent-time { text-align: left; white-space: nowrap; font-size: 11px; }
  .lw-wheel-page .lw-recent-actions { text-align: right; }
  .lw-wheel-page .lw-record-link { display: inline-flex; align-items: center; min-height: 32px; margin-top: -4px; font-size: 12px; }
  .lw-wheel-page .lw-winner-scroll { height: 264px; overflow-x: hidden; }
  .lw-wheel-page .lw-winner-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 18px 28px 18px; gap: 4px 8px; height: 88px; min-height: 88px; padding: 8px; }
  .lw-wheel-page .lw-winner-row > span { min-width: 0; }
  .lw-wheel-page .lw-winner-row .lw-winner-prize { grid-column: 1 / -1; overflow: hidden; overflow-wrap: anywhere; white-space: normal; }
  .lw-wheel-page .lw-winner-row > span:last-child { display: block; grid-column: 1 / -1; text-align: left; white-space: nowrap; font-size: 11px; }
  .lw-winner-dialog { max-width: calc(100vw - 24px); }
  .lw-winner-dialog .lw-winner-history-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 8px; padding: 10px 0; overflow-wrap: anywhere; }
  .lw-winner-dialog .lw-winner-history-head { display: none; }
  .lw-winner-dialog .lw-winner-history-row > span:last-child { display: block; grid-column: 1 / -1; text-align: left; }
  .lw-winner-dialog .lw-winner-footer .el-pagination { max-width: 100%; white-space: normal; }
  .lw-result-dialog, .lw-rules-dialog, .lw-points-dialog { max-width: calc(100vw - 24px); }
}
