.tx-wheel{--wheel-blue:#3166dd;max-width:540px;margin:auto;text-align:center;color:#1c2b43;font:14px/1.65 "Segoe UI","Microsoft YaHei",sans-serif;white-space:normal}.tx-wheel *{box-sizing:border-box}.tx-wheel-caption{font-size:13px;letter-spacing:3px;color:#697b99;margin:8px 0 18px}.tx-wheel-stage{position:relative;width:min(100%,390px);aspect-ratio:1;margin:auto;border-radius:50%;background:#fff;box-shadow:0 12px 38px #3166dd20,0 0 0 7px #e8effb;border:5px solid #fff}.tx-wheel canvas{display:block;width:100%;height:100%;border-radius:50%}.tx-wheel-pointer{position:absolute;left:50%;top:-9px;transform:translateX(-50%);width:24px;height:37px;clip-path:polygon(0 0,100% 0,50% 100%);background:#1b3158;z-index:2;filter:drop-shadow(0 3px 3px #0003)}.tx-wheel-hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:24%;aspect-ratio:1;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border:5px solid #eaf0ff;font-size:30px;font-weight:700;color:#3166dd;box-shadow:0 4px 20px #19345b22}.tx-wheel-hub span{font-size:10px;letter-spacing:1px}.tx-wheel .tx-wheel-start{display:block;width:auto;min-width:180px;height:auto;min-height:48px;margin:26px auto 12px;padding:12px 26px;border:0;border-radius:12px;background:#3166dd;color:#fff;font:inherit;font-size:16px;font-weight:600;cursor:pointer}.tx-wheel .tx-wheel-start:disabled{opacity:.5;cursor:wait}.tx-wheel .tx-wheel-start:focus-visible{outline:3px solid #90b5ff;outline-offset:3px}.tx-wheel-result{display:block;font-size:18px;font-weight:650;min-height:32px;overflow-wrap:anywhere}.tx-wheel-note{font-size:12px;color:#71809a;margin:8px 0 14px}.tx-wheel-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.tx-wheel-legend span{padding:5px 10px;border-radius:8px;background:#f1f5fd;font-size:12px;overflow-wrap:anywhere}.tx-wheel-legend b{color:#3166dd;margin-left:5px}.tx-wheel-rules{white-space:pre-wrap;text-align:left;overflow-wrap:anywhere;border-top:1px solid #e3eaf5;margin:18px 0 0;padding:16px 0;color:#657792;font-size:13px}@media(max-width:500px){.tx-wheel-stage{width:92%}.tx-wheel-hub{font-size:24px}.tx-wheel-result{font-size:17px}}

.lottery-mode-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.lottery-campaign{margin-bottom:20px;padding:22px}.lottery-campaign input,.lottery-campaign select{padding:10px;border:1px solid #dce4f1;border-radius:9px;width:100%;margin:8px 0}.lottery-campaign label{display:block}.lottery-campaign .lottery-tools{align-items:center}

.lottery-admin{max-width:1280px;margin:0 auto}.lottery-mode-tabs{padding:5px;background:#edf2fc;border:1px solid #dce5f5;border-radius:14px}.lottery-mode-tabs button{flex:1;min-height:44px;border-radius:10px;font-size:15px;font-weight:650}.lottery-admin .lottery-layout{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(350px,1.15fr);gap:22px}.lottery-admin .lottery-layout>.card,.lottery-admin>section.card{padding:24px}.lottery-page-fields{display:grid;gap:12px;margin-bottom:20px}.lottery-page-fields label{display:grid;gap:6px}.lottery-page-fields input,.lottery-page-fields textarea{width:100%;min-width:0;box-sizing:border-box}.lottery-time-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lottery-switch{display:flex!important;align-items:center;gap:10px;padding:14px;background:#f1f5fd;border-radius:12px;margin:18px 0!important}.lottery-switch input{appearance:none;width:44px!important;height:25px;border:0;border-radius:20px;background:#9caac1;position:relative;flex:none;margin:0;cursor:pointer;padding:0}.lottery-switch input:before{content:'';position:absolute;left:3px;top:3px;width:19px;height:19px;border-radius:50%;background:#fff;transition:transform .15s}.lottery-switch input:checked{background:#3166dd}.lottery-switch input:checked:before{transform:translateX(19px)}.lottery-switch input:focus-visible{outline:3px solid #90b5ff}.lottery-cover{display:block;width:100%;max-height:260px;object-fit:cover;border-radius:14px;margin:16px 0}.lottery-contact-qr{display:block;width:180px!important;max-width:100%;height:auto;margin:20px auto}.lottery-cover[hidden],.lottery-contact-qr[hidden]{display:none}.lottery-result-lookup{display:block;margin:20px auto;background:#f1f5fd;color:#315dc1;border:1px solid #dce5f5;border-radius:10px;padding:10px 18px;cursor:pointer}.lottery-page-summary p{white-space:pre-wrap}.lottery-admin input[type=checkbox]{box-sizing:border-box}@media(max-width:900px){.lottery-admin .lottery-layout{grid-template-columns:1fr}.lottery-admin .lottery-preview{order:2}}@media(max-width:600px){.lottery-time-fields{grid-template-columns:1fr}.lottery-admin .lottery-layout>.card,.lottery-admin>section.card{padding:18px}.lottery-mode-tabs button{font-size:13px}}

.lottery-switch{cursor:pointer}.lottery-switch input{min-width:44px}#lotterySwitchMsg{white-space:pre-wrap;color:#b43a42}#eligibilityResult{margin-top:14px}#eligibilityWechat{min-width:0;flex:1}#history p{padding:12px;background:#f5f7fc;border-radius:10px;overflow-wrap:anywhere}#chances{font-weight:700;color:#315dc1}

/* Activity copy and controls share the site's blue-white cards. */
.lottery-control-card{padding:18px;border:1px solid #e0e7f2;background:#f8faff;border-radius:16px;margin:22px 0}.lottery-control-card .lottery-switch{margin:0 0 10px!important;min-height:52px;box-sizing:border-box}.lottery-control-card #lotteryState{margin:10px 0;font-weight:600;color:#315dc1}.lottery-control-card p{line-height:1.8;overflow-wrap:anywhere}.lottery-control-card .secondary{min-height:42px}.lottery-page-link{display:grid;gap:8px;margin:16px 0}.lottery-page-link input{width:100%;box-sizing:border-box;padding:12px;border:1px solid #dce5f2;border-radius:10px}.lottery-page-fields textarea{min-height:240px;line-height:1.8;resize:vertical}.lottery-activity .lottery-activity-main{max-width:880px;box-sizing:border-box;border:1px solid #e1e8f3;border-radius:24px;padding:32px;margin:28px auto;background:#fff}.lottery-activity h1,.lottery-activity h2{overflow-wrap:anywhere;line-height:1.45}.lottery-activity #intro,.lottery-activity #pageIntro{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;padding:20px;border:1px solid #e5ebf7;border-radius:16px;background:#f7f9ff;text-align:left;color:#435574}.lottery-activity #schedule{padding:10px 16px;background:#eef4ff;border-radius:10px;color:#53698a}.tx-prize-gallery{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0;text-align:left}.tx-prize-gallery article{display:flex;gap:12px;align-items:center;padding:12px;background:#f6f8fd;border:1px solid #e6ebf4;border-radius:14px;min-width:0}.tx-prize-gallery img{width:72px;height:72px;flex:none;object-fit:contain;border-radius:10px}.tx-prize-gallery b{display:block;font-size:13px;overflow-wrap:anywhere}.tx-prize-gallery small{display:block;color:#71809b;font-size:11px;margin-top:6px}.tx-wheel-rules{line-height:1.85;background:#f7f9fd;border:1px solid #e6ecf5;padding:16px;border-radius:12px}.lottery-activity input{min-height:48px}.lottery-activity .lottery-result-lookup{min-height:44px}@media(max-width:640px){.lottery-activity .lottery-activity-main{margin:12px;padding:20px;width:calc(100% - 24px)}.lottery-activity #intro,.lottery-activity #pageIntro{padding:16px;font-size:14px}.tx-prize-gallery{grid-template-columns:1fr}.lottery-control-card{padding:16px}.lottery-control-card .lottery-switch{width:100%}}

.tx-prize-gallery .prize-exhausted{opacity:.55;background:#f1f3f7}.tx-prize-gallery .prize-exhausted img{filter:grayscale(1)}.lottery-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;list-style:none;counter-reset:step;padding:0;margin:20px 0}.lottery-steps li{counter-increment:step;border:1px solid #e3eaf5;background:#f5f8ff;border-radius:12px;padding:12px;font-size:13px;color:#405777}.lottery-steps li:before{content:counter(step);display:inline-grid;place-items:center;width:23px;height:23px;margin-right:6px;border-radius:50%;background:#e0e9ff;color:#3166dd;font-weight:700}.winning-card{padding:24px;border-radius:18px;background:linear-gradient(130deg,#edf3ff,#f6f0ff);border:1px solid #d6e1fb;margin:24px 0;overflow-wrap:anywhere}.winning-card h2{font-size:25px;color:#315dc1}.winning-card[hidden]{display:none}#countdown{color:#315dc1;font-weight:650;text-align:center}.preview-watermark{position:sticky;top:8px;z-index:5;text-align:center;font-weight:700;border:1px solid #e6bd64!important;background:#fff5d9!important;color:#88621d}.review-lottery-jump{display:inline-flex;align-items:center;padding:12px 18px;border-radius:12px;background:#3166dd;color:white!important;text-decoration:none;min-height:44px;box-sizing:border-box;font-weight:600}@media(max-width:600px){.lottery-steps{grid-template-columns:1fr 1fr}.winning-card{padding:20px}}

.lottery-description{margin-top:24px;padding:20px;border:1px solid #e2e9f4;border-radius:16px;background:#f7f9ff}.lottery-description h2{font-size:18px;margin:0 0 12px}.lottery-description p{white-space:pre-wrap;overflow-wrap:anywhere}.tx-prize-gallery:before{content:"奖品与剩余数量";grid-column:1/-1;font-weight:650;color:#29456f}

.tx-wheel-start[hidden]{display:none}

details.tx-wheel-rules{white-space:normal}details.tx-wheel-rules summary{cursor:pointer;font-weight:600}details.tx-wheel-rules p{white-space:pre-wrap;margin:12px 0 0;overflow-wrap:anywhere}details.tx-wheel-rules summary:focus-visible{outline:3px solid #a9bfea;outline-offset:3px}
