/* Final scoped layout rules: no blue wallet or competing navigation geometry. */
:root{--brand:#ec3d35;--pro-brand:#ec3d35;--pro-brand-dark:#c72b24;--release-brand:#ec3d35}
.v5-page{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;line-height:1.6}
.v5-console .v5-main,.pro-admin .v5-main{width:100%;max-width:none;margin:0 auto 24px;min-width:0}
.v5-console .release-config{width:100%;max-width:none;box-sizing:border-box}
.v5-console .v5-form-grid,.v5-console .release-config .v5-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;align-items:start}
.v5-console .v5-form-grid>*,.v5-console form{min-width:0}
.v5-console .v5-form-grid label,.v5-console .release-config label{margin:0 0 7px;line-height:1.6;font-size:14px}
.v5-console input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.v5-console select{box-sizing:border-box;min-height:44px;height:44px;padding:9px 12px;margin-bottom:0;font:inherit;font-size:14px;line-height:24px}
.v5-console textarea{box-sizing:border-box;padding:12px;font:inherit;font-size:14px;min-height:100px;margin-bottom:0}
.v5-console input[type=file]{height:auto!important;padding:9px!important}
.v5-console input[type=checkbox],.v5-console input[type=radio]{width:17px!important;height:17px!important;min-height:0!important;margin:0!important;flex:none;accent-color:var(--brand)}
.v5-console fieldset{min-width:0;box-sizing:border-box}.v5-console .v5-panel>form>label{display:block;margin:16px 0 8px}
.v5-console .v5-panel p{color:#667085}.v5-console .v5-panel{box-sizing:border-box}.release-tool-grid>.v5-empty:only-child{grid-column:1/-1;width:100%}
.region-picker{grid-column:1/-1;border:1px solid #e6e9ef;border-radius:10px;padding:16px;margin:16px 0;background:#fcfcfd}
.region-picker legend{padding:0 6px;font-size:14px;font-weight:600}.region-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:12px}.region-toolbar button{min-height:36px;padding:6px 12px;background:#fff;font-size:13px}.region-toolbar span{font-size:13px;color:#667085}
.region-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:8px}.region-picker .region-choices label{display:flex!important;align-items:center;gap:9px;margin:0!important;padding:10px;border:1px solid #e5e7eb;border-radius:7px;background:#fff;cursor:pointer;font-weight:400}.region-choices label:has(:checked){border-color:#ec3d35;background:#fff3ef;color:#a62b25}.region-picker small{display:block;margin-top:12px;color:#667085}.channel-options{grid-column:1/-1}
.v5-consumer{background:#f7f7f9!important;padding:16px 16px 90px!important}.v5-consumer .v5-main{margin:18px auto 24px!important;min-height:0;max-width:720px}
.v5-consumer .v5-wallet{background:#ed453b!important;color:#fff!important;border-radius:18px;padding:24px;margin:20px 0}.v5-consumer .v5-wallet a{color:#fff!important;text-decoration:none;border-bottom:1px solid #ffffff88;min-height:44px;display:inline-flex;align-items:center;margin-top:10px}.v5-consumer .v5-wallet strong{font-size:44px;line-height:1.4;margin:8px 0}.v5-consumer .v5-wallet div{color:#fff!important}
.v5-consumer .shared-links{gap:12px}.v5-consumer .shared-links .v5-panel{margin:0;padding:20px 16px;min-height:110px;transition:border-color .16s,background .16s}.v5-consumer .shared-links h2{font-size:17px;margin:0 0 6px}.v5-consumer .shared-links p{font-size:13px;margin:0;color:#667085}.v5-consumer .shared-links a:active{background:#fff4f1;border-color:#f2b1a8}
.v5-consumer .v5-member-tabs.sg-member-tabs{position:fixed!important;inset:auto 0 0!important;display:flex!important;align-items:stretch!important;justify-content:center!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;height:calc(60px + env(safe-area-inset-bottom,0px))!important;min-height:0!important;padding:0 8px env(safe-area-inset-bottom,0px)!important;margin:0!important;border:0!important;border-top:1px solid #e8e8ed!important;border-radius:0!important;background:#fff!important;gap:0!important;box-shadow:none!important;z-index:100}
.v5-consumer .v5-member-tabs.sg-member-tabs a{display:flex!important;flex:1 1 0;flex-direction:column;justify-content:center;align-items:center;gap:1px;box-sizing:border-box;height:59px!important;min-height:0!important;max-width:180px;margin:0!important;padding:5px 2px!important;color:#737985!important;font-size:11px;line-height:17px;border:0!important;border-radius:0!important;background:transparent!important}.v5-member-tabs .tab-icon{font-size:23px;line-height:27px;font-weight:600}.v5-consumer .v5-member-tabs.sg-member-tabs a[aria-current=page]{color:#d9342d!important;font-weight:700}.v5-consumer .v5-footer{font-size:11px;padding:18px 4px;color:#8b8f98}.v5-consumer .own-activity{padding:18px;display:block}.v5-consumer .own-activity h2{font-size:18px;margin:0 0 8px}.v5-consumer .checkin-hero{background:#f04443}.v5-consumer .checkin-hero p{color:#fff4f2}
a,button,input,select,textarea{touch-action:manipulation}a:focus-visible,button:focus-visible{outline:2px solid #d9342d;outline-offset:3px}
@media(max-width:760px){.v5-console .v5-form-grid,.v5-console .release-config .v5-form-grid{grid-template-columns:1fr;gap:16px}.v5-console .v5-main{margin-top:0!important}.v5-console .v5-panel{padding:18px}.region-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.v5-consumer .v5-wallet{padding:22px}.v5-consumer .shared-links .v5-panel{padding:18px 14px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.activity-owner{display:block;font-size:12px;font-weight:400;color:#667085;margin:6px 0;overflow-wrap:anywhere}

/* Lottery result pages keep the decision, inventory and claim action together. */
.v5-consumer .game-prize-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin:16px 0}.game-prize-grid article:only-child{grid-column:1/-1;flex-direction:row;text-align:left;justify-content:flex-start;flex-wrap:wrap}.game-prize-grid article:only-child small{flex-basis:100%}.v5-consumer .game-hero{margin:12px 0 18px;padding:22px;background:#ec453b}.v5-consumer .game-hero h1{font-size:25px;margin:8px 0}.v5-consumer .game-hero p:empty{display:none}.v5-consumer .game-hero small{font-size:12px}.v5-consumer .game-prize-grid small{font-size:12px}.v5-consumer .game-draw-button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:48px;border-radius:12px;text-decoration:none;font-size:16px;margin-top:16px}.v5-consumer .game-draw-button:disabled{background:#edf0f3!important;color:#7b8492!important;border-color:#edf0f3!important;cursor:default}
.draw-page{max-width:600px;margin:auto}.draw-hero{background:#ed453b;border-radius:22px;padding:26px 22px;color:#fff}.draw-hero>span{font-size:12px;color:#ffede8}.draw-hero h1{color:#fff;font-size:28px;line-height:1.3;margin:12px 0}.draw-hero p{color:#fff1ec;font-size:13px;margin:12px 0 0}.draw-time{margin-top:22px;border-top:1px solid #ffffff40;padding-top:14px}.draw-time small{display:block;color:#ffe5df;font-size:12px}.draw-time strong{font-size:19px;font-variant-numeric:tabular-nums}
.draw-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:18px 6px}.draw-stat-grid>div{display:flex;flex-direction:column;align-items:center;border-right:1px solid #e3e5e9}.draw-stat-grid>div:last-child{border:0}.draw-stat-grid strong{font-size:24px;color:#252c39}.draw-stat-grid span{font-size:11px;color:#7a8390}.draw-result{text-align:center;padding:26px 20px!important;border:1px solid #f1dfd9}.draw-result h2{font-size:20px;color:#252c39;margin:12px 0 6px}.draw-result p{font-size:13px;color:#737b89}.draw-result small{color:#8b6470;display:block}.draw-result-icon{width:54px;height:54px;border-radius:16px;background:#fff0e8;color:#df3d30;display:inline-grid;place-items:center;font-size:28px}.draw-won-title{display:block;margin:12px 0;font-size:26px;color:#e13a2c}.draw-secondary{display:block;text-align:center;font-size:13px;padding:15px 8px;color:#a8372b;text-decoration:none}.draw-countdown{font-variant-numeric:tabular-nums;color:#cb382e!important;font-weight:600}.draw-prize-list{margin-top:14px}.draw-prize-list article{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #eef0f3}.draw-prize-list article:last-child{border-bottom:0}.draw-prize-list img,.draw-prize-icon{width:56px;height:56px;border-radius:12px;object-fit:contain;flex:none}.draw-prize-icon{display:grid;place-items:center;background:#fff0e8;color:#ed453b;font-size:25px;font-weight:700}.draw-prize-list article>div{flex:1;min-width:0}.draw-prize-list h3{font-size:15px;margin:0;color:#29313e;overflow-wrap:anywhere}.draw-prize-list p{font-size:12px;color:#77808e;margin:4px 0 0}.draw-prize-list article>strong{font-size:23px;color:#df3d30}.draw-prize-list small{font-size:12px;font-weight:400;margin-left:3px;color:#8a9099}.draw-rule{font-size:12px;line-height:1.8;color:#858b97;margin-bottom:0}.draw-budget{padding:16px;border-radius:10px;background:#fff4eb;border:1px solid #f4d9c5;margin:20px 0}.draw-budget p{margin:6px 0 0!important;color:#a13d26!important}
.v5-consumer .shared-links h2{color:#29313e}.v5-consumer .shared-links p{color:#77808e!important}.v5-consumer .shared-home-hero{background:transparent;padding:12px 2px;color:#29313e}.v5-consumer .shared-home-hero h1{color:#29313e;font-size:25px}.v5-consumer .shared-home-hero p,.v5-consumer .shared-home-hero>span{color:#7c8390}.v5-consumer .shared-home-hero+p{margin-top:0}

.v5-consumer .game-draw-button.primary{background:#e94136!important;border-color:#e94136!important;color:white!important}
