@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";@import "https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700&display=swap";.campaign-actions{align-items:center;gap:6px;display:flex}.campaign-action{width:28px;height:28px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid;position:relative}.campaign-actions .campaign-action svg{vertical-align:initial;stroke-width:1.7px;margin:0;display:block}.campaign-action:hover{color:var(--primary);background:var(--primary-light)}.campaign-action:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.campaign-action:after{content:attr(data-tooltip);z-index:2;color:#fff;opacity:0;pointer-events:none;background:#262626;border-radius:6px;width:max-content;max-width:180px;padding:5px 8px;font:12px/1.2 Inter,sans-serif;transition:opacity .15s,transform .15s;position:absolute;bottom:calc(100% + 7px);left:50%;transform:translate(-50%,3px)}.campaign-action:hover:after,.campaign-action:focus-visible:after{opacity:1;transform:translate(-50%)}:root{--primary:#8f53fb;--primary-dark:#7031e0;--primary-light:#f4eeff;--primary-soft:#ede3ff;--text:#171717;--muted:#737373;--line:#e5e5e5;--soft-line:#f5f5f5}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{color:var(--text);background:#fafafa;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;font-size:14px;line-height:1.4}.shell{background:#fafafa;height:100vh;min-height:620px;display:flex;overflow:hidden}aside{border-right:1px solid var(--line);background:#fff;flex-direction:column;flex:none;width:256px;transition:width .2s;display:flex;overflow:auto}.brand{border-bottom:1px solid var(--soft-line);align-items:center;gap:12px;height:74px;padding:18px 20px;display:flex}.brand>b{background:var(--primary);color:#fff;border-radius:12px;flex:none;place-items:center;width:36px;height:36px;font-size:14px;font-weight:700;display:grid;box-shadow:0 2px 5px #8f53fb4d}.brand span{min-width:0}.brand strong{letter-spacing:-.01em;font-size:14px;font-weight:600;line-height:18px}.brand small{color:#a3a3a3;margin-top:1px;font-size:12px;line-height:16px;display:block}nav{flex:1;align-content:start;gap:4px;padding:16px 12px;display:grid}nav a{color:#525252;cursor:pointer;border-radius:12px;align-items:center;gap:12px;height:40px;padding:0 12px;font-size:14px;font-weight:500;text-decoration:none;transition:background .15s,color .15s;display:flex}nav a svg{stroke-width:1.8px;width:18px;height:18px}nav a:hover{color:var(--primary);background:var(--primary-light)}nav .active{color:#fff;background:var(--primary);box-shadow:0 2px 5px #8f53fb4d}.profile{border-top:1px solid var(--soft-line);align-items:center;gap:12px;min-height:108px;margin-top:auto;padding:12px;display:flex}.profile>b,header>b{background:var(--primary-light);width:36px;height:36px;color:var(--primary);border-radius:999px;flex:none;place-items:center;font-size:14px;font-weight:600;display:grid}.profile span{min-width:0;font-size:14px;font-weight:500;display:block}.profile small{color:#a3a3a3;margin-top:2px;font-size:12px;font-weight:400;display:block}section{flex-direction:column;flex:1;min-width:0;display:flex}header{border-bottom:1px solid var(--line);color:#737373;background:#fff;flex:none;justify-content:space-between;align-items:center;height:64px;padding:0 24px;font-size:14px;font-weight:500;display:flex}main{flex:1;max-width:100%;padding:32px;overflow:auto}.title{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.title h1{letter-spacing:-.025em;margin:0 0 3px;font-size:20px;font-weight:700;line-height:28px}.title p{color:#737373;max-width:850px;margin:0;font-size:14px;line-height:20px}.title button{background:var(--primary);color:#fff;cursor:pointer;border:0;border-radius:12px;flex:none;align-items:center;gap:8px;height:40px;padding:0 14px;font:500 14px Inter,sans-serif;display:inline-flex;box-shadow:0 2px 5px #8f53fb4d}.title button:hover{background:var(--primary-dark)}.title button svg{width:18px}.filters{align-items:center;gap:12px;margin:16px 0;display:flex}.filters input,.filters select{color:#525252;background:#fff;border:1px solid #e5e5e5;border-radius:12px;outline:0;height:42px;padding:0 14px;font:14px Inter,sans-serif}.filters input{width:288px}.filters select{min-width:142px}.filters input::placeholder{color:#a3a3a3}.filters input:focus,.filters select:focus{border-color:#c9afff;box-shadow:0 0 0 3px #f4eeff}.table{border:1px solid var(--line);background:#fff;border-radius:16px;overflow-x:auto;box-shadow:0 1px 2px #0000000a}table{border-collapse:collapse;text-align:left;width:100%;min-width:900px}th{color:#737373;letter-spacing:.045em;vertical-align:middle;background:#fafafacc;height:48px;padding:0 16px;font-size:12px;font-weight:600}td{border-top:1px solid var(--soft-line);color:#262626;vertical-align:middle;height:56px;padding:0 16px;font-size:14px}td strong{font-weight:500}tbody tr{transition:background .15s}tbody tr:hover{background:#f4eeff80}td:last-child{white-space:nowrap;color:#737373;display:table-cell}td:last-child svg{vertical-align:middle;cursor:pointer;stroke-width:1.7px;margin-right:14px}td:last-child svg:hover{color:var(--primary)}i{border-radius:999px;align-items:center;padding:3px 9px;font-size:12px;font-style:normal;font-weight:500;display:inline-flex}.green{color:#16803d;background:#e8f8ed}.gray{color:#737373;background:#f5f5f5}.total{color:#737373;margin:24px 0;font-size:14px}@media (width>=1024px){main{padding:32px}}@media (width<=800px){aside{width:76px}.brand{padding:18px 20px}.brand span,.profile span{display:none}nav{padding:16px 12px}nav a{justify-content:center;padding:0}nav a:not(.active){font-size:0}.profile{justify-content:center;padding:12px}.title p{display:none}.filters input{width:180px}main{padding:24px 20px}}.loading-screen{min-height:100vh;color:var(--muted);place-items:center;display:grid}.onboarding-shell{background:linear-gradient(145deg,#fafafa,#f5efff);min-height:100vh}.onboarding-brand{border-bottom:1px solid var(--line);background:#fff;align-items:center;gap:12px;height:74px;padding:18px max(24px,50vw - 550px);display:flex}.onboarding-brand>b{background:var(--primary);color:#fff;border-radius:12px;place-items:center;width:36px;height:36px;display:grid}.onboarding-brand strong{display:block}.onboarding-brand small{color:#a3a3a3;display:block}.onboarding-main{max-width:1040px;margin:auto;padding:64px 24px}.onboarding-grid,.settings-page{grid-template-columns:minmax(280px,.8fr) minmax(470px,1.2fr);align-items:start;gap:28px;display:grid}.line-instructions,.line-settings-form,.auth-method-guide{border:1px solid var(--line);background:#fff;border-radius:20px;box-shadow:0 8px 30px #2011420f}.line-instructions{padding:32px}.instruction-brand{text-align:center;border-bottom:1px solid #f0edf4;padding-bottom:16px}.instruction-logo{object-fit:contain;width:86px;height:86px;margin:0 auto 10px;display:block}.instruction-brand strong{display:block}.instruction-brand p{color:var(--muted);margin:4px 0 0;font-size:13px}.instruction-icon{background:var(--primary-light);width:40px;height:40px;color:var(--primary);border-radius:12px;place-items:center;display:grid}.instruction-icon svg{width:21px}.line-instructions h2{margin:20px 0 12px;font-size:18px}.line-instructions ol{gap:15px;margin:0;padding-left:20px;display:grid}.line-instructions strong,.line-instructions span{display:block}.line-instructions span{color:var(--muted);margin-top:3px;font-size:13px;line-height:1.5}.line-instructions>p:not(.instruction-note){margin:18px 0 0;font-size:13px}.instruction-note{background:var(--primary-light);color:#5c3a9c;border-radius:10px;margin:20px 0 0;padding:12px;font-size:13px;line-height:1.5}.line-settings-stack{gap:20px;display:grid}.line-settings-form{padding:32px}.settings-heading{justify-content:space-between;gap:16px;margin-bottom:26px;display:flex}.settings-heading h1{margin:2px 0 5px;font-size:24px}.settings-heading p:not(.eyebrow){color:var(--muted);margin:0}.eyebrow{color:var(--primary);letter-spacing:.1em;margin:0;font-size:11px;font-weight:700}.line-settings-form label{color:#404040;gap:7px;margin:18px 0;font-weight:600;display:grid}.line-settings-form input{border:1px solid var(--line);border-radius:10px;height:43px;padding:0 12px;font:14px Inter,sans-serif}.line-settings-form input:focus{box-shadow:0 0 0 3px var(--primary-light);border-color:#c9afff;outline:0}.line-settings-form small{color:var(--muted);font-size:12px;font-weight:400;line-height:1.45}.line-settings-form em{color:var(--muted);margin-left:6px;font-size:12px;font-style:normal;font-weight:400}.settings-actions{justify-content:flex-end;gap:10px;margin-top:28px;display:flex}.settings-actions button{background:var(--primary);color:#fff;cursor:pointer;border:0;border-radius:10px;height:42px;padding:0 16px;font:600 14px Inter,sans-serif}.settings-actions button:disabled{opacity:.6}.settings-actions .secondary{border:1px solid var(--line);color:#525252;background:#fff}.settings-page{max-width:1100px;margin:0 auto;padding-top:12px}.auth-method-guide{padding:28px}.auth-method-guide h2{margin:8px 0;font-size:22px;line-height:1.3}.auth-method-intro{color:var(--muted);margin:0 0 20px;font-size:13px;line-height:1.55}.auth-method-option{background:#fcfaff;border:1px solid #e7def8;border-radius:14px;margin-top:14px;padding:16px}.auth-method-option.auth-method-line{background:#fbfefc;border-color:#dcefe5}.auth-method-option-heading{align-items:center;gap:10px;margin-bottom:14px;display:flex}.auth-method-icon{color:#7340d3;background:#eee6ff;border-radius:9px;flex:none;place-items:center;width:30px;height:30px;font-size:13px;font-weight:800;display:grid}.auth-method-icon.auth-method-line{color:#168b4a;background:#def6e7}.auth-method-option h3{margin:0;font-size:15px}.auth-method-option-heading p{color:var(--muted);margin:2px 0 0;font-size:12px}.auth-method-option>strong{font-size:12px;line-height:1.45}.auth-method-option ul{color:#56515e;gap:5px;margin:10px 0 0;padding-left:18px;font-size:12px;line-height:1.45;display:grid}.auth-method-caution,.auth-method-tradeoff{border-radius:8px;margin:12px 0 0;padding:9px 10px;font-size:12px;line-height:1.45}.auth-method-caution{color:#9b4433;background:#fff1ee}.auth-method-tradeoff{color:#39704b;background:#edf8f0}.auth-method-footer{color:var(--muted);margin:18px 0 0;font-size:12px;line-height:1.5}@media (width<=760px){.onboarding-main{padding:30px 18px}.onboarding-grid,.settings-page{grid-template-columns:1fr}.line-settings-form,.line-instructions,.auth-method-guide{padding:22px}}.shell nav a.disabled,.shell nav a.disabled:hover{color:#c4c0ca;cursor:not-allowed;background:0 0}header>b{display:none}.sidebar-collapse-control{border-top:1px solid var(--soft-line);padding:12px}.sidebar-toggle{color:#525252;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;width:100%;height:40px;padding:0 12px;font:500 14px Inter,sans-serif;display:flex}.sidebar-toggle:hover,.sidebar-toggle:focus-visible{background:var(--primary-light);color:var(--primary);outline:0}.sidebar-toggle svg{flex:none;width:18px;height:18px}aside.collapsed{width:76px;overflow:hidden}aside.collapsed .brand{padding:18px 20px}aside.collapsed .brand span,aside.collapsed .profile span,aside.collapsed .sidebar-toggle span{display:none}aside.collapsed nav a{justify-content:center;padding:0;font-size:0}aside.collapsed nav a svg{flex:none}aside.collapsed .sidebar-collapse-control{padding:12px}aside.collapsed .sidebar-toggle{justify-content:center;padding:0}aside.collapsed .profile{justify-content:center;padding:12px}@media (width<=800px){aside:not(.collapsed){width:256px}aside:not(.collapsed) .brand span,aside:not(.collapsed) .profile span{display:block}aside:not(.collapsed) nav a:not(.active){font-size:14px}aside:not(.collapsed) nav a{justify-content:flex-start;padding:0 12px}}.app-version{color:#a3a3a3;margin:8px 12px 0;font-size:11px;display:block}aside.collapsed .app-version{display:none}.brand-logo{object-fit:contain;background:var(--primary-light);border-radius:12px;flex:none;width:36px;height:36px;box-shadow:0 2px 5px #8f53fb2e}.instruction-logo{object-fit:contain;object-position:center;border-radius:20px;width:136px;height:136px;margin:0 auto;display:block}.instruction-brand{text-align:center}.instruction-brand strong{margin-top:14px;font-size:16px;line-height:1.3;display:block}.instruction-brand p{color:var(--muted);margin:4px 0 0;font-size:13px;line-height:1.45}.instruction-brand+h2{margin-top:16px}.auth-method-guide>.eyebrow{margin-top:20px}.line-instructions{padding-top:32px}.line-instructions>p.eyebrow{letter-spacing:.1em;color:var(--primary);margin:0;font-size:11px;font-weight:700;line-height:1.4}.line-instructions>h2,.settings-heading h1{margin:8px 0;font-size:22px;line-height:1.3}.campaign-page{max-width:1260px;margin:0 auto}.editor-top{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px;display:flex}.editor-top h1{margin:7px 0 3px;font-size:24px}.editor-top p{color:#737373;margin:0}.back-link{color:#7031e0;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;font:500 13px Inter,sans-serif;display:inline-flex}.editor-actions{gap:10px;display:flex}.editor-actions button{color:#fff;cursor:pointer;background:#8f53fb;border:0;border-radius:10px;height:40px;padding:0 15px;font:600 14px Inter,sans-serif}.editor-actions .secondary{color:#525252;background:#fff;border:1px solid #e5e5e5}.editor-grid{grid-template-columns:minmax(0,1fr) 350px;align-items:start;gap:26px;display:grid}.editor-form{gap:18px;display:grid}.editor-card{background:#fff;border:1px solid #e5e5e5;border-radius:16px;padding:24px;box-shadow:0 1px 2px #00000008}.editor-card h2{margin:0 0 16px;font-size:16px}.editor-card label{color:#404040;gap:7px;margin:14px 0;font-size:13px;font-weight:600;display:grid}.editor-card input,.editor-card select{background:#fff;border:1px solid #e5e5e5;border-radius:9px;width:100%;height:40px;padding:0 11px;font:14px Inter,sans-serif}.editor-card input:focus,.editor-card select:focus{border-color:#c9afff;outline:0;box-shadow:0 0 0 3px #f4eeff}.field-note{color:#737373;margin:-5px 0 10px;font-size:12px}.section-title{justify-content:space-between;align-items:center;display:flex}.section-title small{color:#737373}.color-input{gap:8px;display:flex}.color-input input[type=color]{width:40px;padding:3px}.asset-field{border-top:1px solid #f0f0f0;grid-template-columns:1fr auto;align-items:center;gap:10px;margin-top:18px;padding-top:16px;display:grid}.asset-field small{color:#737373;margin-top:3px;font-size:12px;font-weight:400;display:block}.asset-current{align-items:center;gap:8px;display:flex}.asset-current img{object-fit:cover;border:1px solid #e5e5e5;border-radius:6px;width:48px;height:36px}.asset-current button{color:#a33a30;cursor:pointer;background:0 0;border:0;align-items:center;gap:3px;font:13px Inter,sans-serif;display:inline-flex}.asset-picker{cursor:pointer;border:1px solid #dfceff;border-radius:8px;justify-content:center;align-items:center;gap:6px;height:36px;padding:0 10px;color:#7031e0!important;margin:0!important;display:inline-flex!important}.asset-picker input{display:none}.preview-panel{background:#fff;border:1px solid #e5e5e5;border-radius:16px;padding:20px;position:sticky;top:0}.preview-panel h2{margin:3px 0;font-size:17px}.preview-help{color:#737373;margin:0 0 16px;font-size:12px}.phone{background:#1d1d1d;border-radius:30px;width:286px;margin:auto;padding:7px;box-shadow:0 14px 32px #0002}.phone-screen{text-align:center;color:#fff;text-shadow:0 1px 3px #0008;background-position:50%;background-size:cover;border-radius:24px;min-height:500px;padding:25px 17px 14px;overflow:hidden}.preview-brand{color:#8f53fb;width:34px;height:34px;text-shadow:none;background:#fff;border-radius:50%;place-items:center;margin:auto;display:grid;overflow:hidden}.preview-brand img{object-fit:cover;width:100%;height:100%}.phone-screen small{letter-spacing:1.6px;margin-top:12px;font-size:9px;display:block}.phone-screen h3{margin:7px 0 4px;font-size:25px;line-height:1.05}.phone-screen>p{margin:0;font-size:12px}.preview-wheel{background:conic-gradient(#f1d5ff,#fff3b0,#cde9ff,#ffd7dc,#d9f7df,#ffe3bd,#f1d5ff);border:6px solid #fff3b1;border-radius:50%;width:205px;height:205px;margin:28px auto 23px;position:relative;box-shadow:0 5px 13px #0005}.preview-wheel span{transform-origin:0 94px;color:#5b2740;width:50%;text-shadow:none;font-size:9px;font-weight:800;position:absolute;top:8px;left:50%}.preview-wheel strong{color:#fff;border:4px solid #fff;border-radius:50%;place-items:center;font-size:12px;display:grid;position:absolute;inset:66px}.phone-screen button{color:#fff;border:2px solid #fff;border-radius:999px;width:100%;padding:12px;font:700 14px Inter,sans-serif}.phone-screen em{color:#fff;margin-top:17px;font-size:12px;font-style:normal;font-weight:700;display:block}@media (width<=1000px){.editor-grid{grid-template-columns:1fr}.preview-panel{position:static}.phone{margin:0}}@media (width<=560px){.editor-top{flex-direction:column;align-items:flex-start}.form-row{grid-template-columns:1fr}.reward-row{grid-template-columns:1fr 1fr}.asset-field{grid-template-columns:1fr}.editor-card{padding:18px}}.campaign-page{width:100%;max-width:960px;margin-inline:auto}.campaign-page .editor-grid{grid-template-columns:minmax(0,1fr) 280px}.campaign-page .editor-top{z-index:3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fafafaf0;border-bottom:1px solid #e5e5e5cc;align-items:flex-start;margin:-32px -32px 24px;padding:28px 32px 18px;position:sticky;top:-32px}.campaign-page .editor-top h1{letter-spacing:-.025em;margin-top:7px;font-size:24px}.campaign-page .editor-top h1:before{content:"CAMPAIGN BUILDER";color:var(--primary);letter-spacing:.1em;margin-bottom:7px;font-size:11px;font-weight:700;display:block}.campaign-page .editor-top>div:first-child>p{max-width:560px}.campaign-page .editor-actions{align-items:center}.campaign-page .editor-actions button:last-child{box-shadow:0 6px 16px #8f53fb3b}.campaign-page .editor-form{gap:20px}.campaign-page .editor-card{border-radius:18px;padding:28px;box-shadow:0 1px 2px #10182808}.campaign-page .editor-card h2{letter-spacing:-.015em;margin-bottom:5px;font-size:17px}.campaign-page .editor-card h2:before{background:var(--primary-light);width:25px;height:25px;color:var(--primary);border-radius:8px;place-items:center;margin-right:9px;font-size:12px;display:inline-grid}.campaign-page .editor-card:first-child h2:before{content:"01"}.campaign-page .editor-card:nth-child(2) h2:before{content:"02"}.campaign-page .editor-card:nth-child(3) h2:before{content:"03"}.campaign-page .editor-card:nth-child(4) h2:before{content:"04"}.campaign-page .editor-card:first-child h2:after{content:"กำหนดประเภทแคมเปญ และเงื่อนไขในการเล่น";color:var(--muted);letter-spacing:0;margin:6px 0 0 34px;font-size:12px;font-weight:400;display:block}.campaign-page .editor-card:nth-child(2) h2:after{content:"กำหนดช่วงเวลาของแคมเปญ ที่สมาชิกสามารถร่วมสนุกได้";color:var(--muted);letter-spacing:0;margin:6px 0 0 34px;font-size:12px;font-weight:400;display:block}.campaign-page .editor-card:nth-child(4) h2:after{content:"กำหนด Theme สี รูปพื้นหลัง รูป Logo ได้ และแสดง Preview ให้เห็นทันที (เว้นว่างทั้งหมดได้ หากต้องการใช้ Theme มาตรฐาน)";color:var(--muted);letter-spacing:0;margin:6px 0 0 34px;font-size:12px;font-weight:400;display:block}.campaign-page .editor-card label{color:#363636;margin:20px 0}.campaign-page .editor-card input,.campaign-page .editor-card select{border-color:#dedde1;border-radius:10px;height:44px;padding:0 12px}.campaign-page .editor-card .color-input input[type=color]{cursor:pointer;border-radius:10px;width:44px;min-width:44px;height:44px;padding:4px}.campaign-page .editor-card input:focus,.campaign-page .editor-card select:focus{box-shadow:0 0 0 3px var(--primary-light);border-color:#b68aff}.campaign-page .field-note{margin-top:-8px}.campaign-page .editor-card:nth-child(3) .section-title{border-bottom:1px solid var(--soft-line);align-items:flex-start;gap:16px;padding-bottom:18px}.campaign-page .editor-card:nth-child(3) .section-title h2{flex:auto;min-width:0}.campaign-page .editor-card:nth-child(3) .section-title small{background:var(--primary-light);color:var(--primary-dark);white-space:nowrap;border-radius:999px;flex:none;padding:4px 9px;font-weight:600}.campaign-page .rewards{background:#f8f6fb;border-radius:11px;margin-top:16px;padding:12px}.campaign-page .reward-row{margin:8px 0}.campaign-page .reward-row input{background:#fff;height:40px}.campaign-page .add-reward{background:0 0;border:1px dashed #cdb5fa;margin-top:12px;padding:9px 12px}.campaign-page .preview-panel{border-radius:18px;box-shadow:0 1px 2px #10182808}@media (width<=700px){.campaign-page .editor-top{flex-direction:column;gap:14px;margin:-24px -20px 20px;padding:20px;top:-24px}.campaign-page .editor-actions{width:100%}.campaign-page .editor-actions button{flex:1}.campaign-page .editor-card{padding:20px}.campaign-page .editor-card .form-row{grid-template-columns:1fr;gap:0}}.campaign-editor{max-height:92vh;overflow:auto}.campaign-editor h3{margin:22px 0 8px;font-size:14px}.campaign-editor h3 small{color:#737373;font-weight:400}.reward-row{grid-template-columns:1.7fr .7fr .8fr .7fr 30px;gap:7px;margin:7px 0;display:grid}.reward-row input{min-width:0}.reward-row button,.add-reward{color:#8f53fb;cursor:pointer;background:#f4eeff;border:0;border-radius:8px}.add-reward{margin-top:8px;padding:8px 10px;font:500 13px Inter,sans-serif}@media (width<=560px){.reward-row{grid-template-columns:1fr 1fr}.reward-row button{height:40px}}.reward-labels{color:#737373;grid-template-columns:1.7fr .7fr .8fr .7fr 30px;gap:7px;margin:0 0 5px;font-size:11px;font-weight:600;display:grid}.reward-labels span{padding:0 2px}@media (width<=560px){.reward-labels{display:none}}.phone-screen{isolation:isolate;text-shadow:1px 1px #730312;position:relative;color:#fff!important;background-size:cover!important}.preview-lights{z-index:-1;filter:drop-shadow(0 0 3px #fff49b);border:7px dotted #ffd96c;border-radius:20px;position:absolute;inset:8px}.preview-curtain{z-index:-1;filter:drop-shadow(3px 3px #f3b43d);background:repeating-linear-gradient(90deg,#780615 0 16px,#c71934 17px 31px,#8d071a 32px 43px);border-radius:0 0 45% 15%;width:88px;height:255px;position:absolute;top:-35px}.preview-curtain.left{left:-39px;transform:skewY(-8deg)}.preview-curtain.right{right:-39px;transform:skewY(8deg)scaleX(-1)}.preview-brand{position:relative;box-shadow:0 0 8px #ffd96c;color:#ffd96c!important;border:2px solid #ffd96c!important}.phone-screen>small{font-weight:900;color:#ffdd72!important}.phone-screen h3{letter-spacing:1px;font-family:Fredoka One,Inter,sans-serif!important}.phone-screen>p{font-weight:700}.preview-wheel{border:5px solid #f6bc3e!important;box-shadow:inset 0 0 0 3px #8d0717,0 9px 12px #310109!important}.preview-wheel strong{background:radial-gradient(circle at 35% 30%,#ffdc75,#ec9f1d 58%,#b84e09);border-color:#fff0b1!important;box-shadow:0 0 0 3px #851021!important}.preview-wheel strong.has-logo{background-position:50%!important;background-size:cover!important}.preview-wheel strong b,.preview-wheel strong small{line-height:1;display:block}.preview-wheel strong small{font-size:7px}.phone-screen button{text-shadow:1px 2px #760713;background:linear-gradient(#ff4d4d,#c8102e);box-shadow:0 5px #790714,0 9px 15px #350007!important}.editor-grid{grid-template-columns:minmax(0,1fr) minmax(420px,.82fr)}.preview-panel{padding:0;overflow:hidden}.preview-panel>.eyebrow,.preview-panel>h2,.preview-panel>.preview-help{margin-left:24px;margin-right:24px}.preview-panel>.eyebrow{margin-top:22px}.preview-panel>.preview-help{margin-bottom:20px}.phone{width:100%;box-shadow:none;background:0 0;border-radius:0;margin:0;padding:0}.phone-screen{border-radius:0;min-height:calc(100vh - 190px);padding:28px 20px 18px}.preview-lights{border-width:10px;inset:9px}.preview-curtain{width:28%;min-width:84px;height:55%;top:-58px}.preview-wheel{aspect-ratio:1;background:0 0!important;border-width:8px!important;width:min(310px,90%)!important;height:auto!important;margin:26px auto 28px!important;overflow:visible!important;box-shadow:0 0 0 4px #851021,0 13px 14px #310109!important}.preview-wheel svg{border-radius:50%;width:100%;height:100%;display:block}.preview-wheel text{fill:#6d1020;text-shadow:none;font:900 12px Inter,sans-serif}.preview-wheel strong{border-width:5px!important;inset:35%!important;box-shadow:0 0 0 3px #851021!important}.phone-screen h3{line-height:.9;font-size:clamp(27px,4vw,34px)!important}@media (width<=1000px){.editor-grid{grid-template-columns:1fr}.phone-screen{min-height:560px}.preview-panel{padding:20px}.preview-panel>.eyebrow,.preview-panel>h2,.preview-panel>.preview-help{margin-left:0;margin-right:0}.phone{background:#1d1d1d;border-radius:30px;width:286px;margin:auto;padding:7px}.phone-screen{border-radius:24px}}.redesigned-results{max-width:960px;padding-bottom:40px}.redesigned-results>.back-link{margin-bottom:18px}.results-hero{justify-content:space-between;align-items:flex-end;gap:24px;padding:8px 0 26px;display:flex}.results-hero h1{letter-spacing:-.035em;margin:5px 0;font-size:28px;line-height:1.1}.results-hero p:not(.eyebrow){color:var(--muted);margin:0}.results-status{color:#69419c;background:#fbf9ff;border:1px solid #e5ddf5;border-radius:10px;align-items:center;gap:8px;max-width:210px;padding:9px 11px;font-size:12px;line-height:1.35;display:flex}.summary-card{border:1px solid var(--line);background:#fff;border-radius:16px;gap:12px;padding:17px;display:flex;box-shadow:0 1px 2px #10182808}.summary-icon{background:var(--primary-light);width:36px;height:36px;color:var(--primary);border-radius:11px;flex:none;place-items:center;display:grid}.summary-card small{color:var(--muted);font-size:12px;display:block}.summary-card strong{letter-spacing:-.03em;margin:2px 0 0;font-size:22px;line-height:1.1;display:block}.summary-card p{color:var(--muted);margin:2px 0 0;font-size:11px}.results-list{gap:16px;display:grid}.result-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:24px;box-shadow:0 1px 2px #10182808}.result-card-heading{border-bottom:1px solid var(--soft-line);align-items:flex-start;gap:12px;padding-bottom:18px;display:flex}.result-index{background:var(--primary-light);width:28px;height:28px;color:var(--primary);border-radius:9px;flex:none;place-items:center;font-size:12px;font-weight:700;display:grid}.result-card-heading h2{letter-spacing:-.015em;margin:2px 0 4px;font-size:16px}.result-card-heading p{color:var(--muted);margin:0;font-size:13px}.required-pill{color:var(--muted);background:#f7f7f7;border-radius:999px;margin-left:auto;padding:4px 8px;font-size:11px;font-weight:600}.result-distribution,.response-copy,.rating-result{padding-top:18px}.result-caption{justify-content:space-between;gap:15px;margin-bottom:14px;font-size:13px;display:flex}.result-caption strong{color:#39343f}.result-caption span{color:var(--muted);font-size:12px}.bar-row{margin:11px 0}.bar-row>div{color:#4a4550;justify-content:space-between;gap:15px;margin-bottom:6px;font-size:13px;display:flex}.bar-row strong{font-size:13px}.bar-row strong small{color:var(--muted);margin-left:3px;font-size:11px;font-weight:500}.bar-row i{background:#f0edf4;border-radius:999px;height:8px;display:block;overflow:hidden}.bar-row i b{border-radius:inherit;background:linear-gradient(90deg,#a66bff,#7b43e5);min-width:3px;height:100%;transition:width .25s;display:block}.text-responses p{color:#49434f;background:#fbfaff;border-left:3px solid #cbaeff;border-radius:0 10px 10px 0;margin:0;padding:12px 15px;font-size:13px;line-height:1.5;position:relative}.text-responses p span{color:#a66bff;font-weight:700}.rating-result{grid-template-columns:180px 1fr;align-items:center;gap:28px;display:grid}.rating-score{text-align:center;background:linear-gradient(145deg,#f9f5ff,#f1e9ff);border-radius:14px;padding:16px}.rating-score small{color:#69419c;font-size:11px;font-weight:600;display:block}.rating-score strong{color:#5124a6;letter-spacing:-.05em;font-size:38px;line-height:1}.rating-score span{color:#815abf;font-size:13px}.stars{color:#f2aa26;justify-content:center;gap:2px;margin-top:7px;display:flex}.empty-result{color:var(--muted);text-align:center;background:#fcfbfd;border:1px dashed #ded8e7;border-radius:10px;margin-top:18px;padding:14px;font-size:13px}@media (width<=700px){.results-hero{flex-direction:column;align-items:flex-start;padding-bottom:20px}.results-hero h1{font-size:24px}.results-status{max-width:none}.results-summary{grid-template-columns:1fr}.result-card{padding:18px}.rating-result{grid-template-columns:1fr;gap:18px}.required-pill{display:none}}.results-summary .summary-icon{flex:none;justify-content:center;align-items:center;width:36px;height:36px;line-height:0;display:flex}.results-summary .summary-icon>svg{flex:none;margin:0;display:block}nav a:not(.active):not(.disabled):hover,nav a:not(.active):not(.disabled):focus-visible{background:var(--primary);color:#fff;box-shadow:0 2px 5px #8f53fb47}nav a:not(.active):not(.disabled):hover svg,nav a:not(.active):not(.disabled):focus-visible svg{color:#fff}nav a.active:hover,nav a.active:focus-visible{background:var(--primary-dark);color:#fff;box-shadow:0 2px 5px #7031e047}body,button,input,select,textarea{font-family:Noto Sans Thai,Inter,system-ui,-apple-system,Segoe UI,sans-serif!important}.survey-builder .section-title h2:after{content:"เพิ่มและจัดเรียงคำถาม พร้อมกำหนดรูปแบบคำตอบที่สมาชิกต้องกรอกในแบบสอบถาม"}.quiz-builder .section-title h2:after{content:"เพิ่มคำถามและตัวเลือกคำตอบ โดยเลือกคำตอบที่ถูกต้อง หรือกำหนดผลภายหลังสำหรับ Prediction"}.campaign-page .editor-card:nth-child(3) .section-title h2:after{content:"กำหนดรายการที่จะได้จากการสุ่มในการเล่นโดยให้กำหนด รายการ คะแนนรางวัลที่ได้รับ (ใส่ 0 สำหรับรายการที่ไม่ได้รางวัลอะไร) และ % ความน่าจะเป็นที่จะสุ่มได้รายการนั้น (ต้องรวมให้ได้ 100% ห้ามขาดหรือเกิน) รวมถึง stock หรือจำนวนของรายการ (เว้นว่างตัวเลข stock คือไม่มีกำหนด stock)"}.survey-editor,.survey-results{max-width:960px;margin:0 auto}.survey-editor{padding-bottom:36px}.survey-card,.campaign-type{border:1px solid var(--line);background:#fff;border-radius:18px;margin-top:20px;padding:28px;box-shadow:0 1px 2px #10182808}.survey-card{position:relative}.survey-card h2{letter-spacing:-.015em;margin:0 0 5px;font-size:17px}.survey-card>label,.question-editor>label{color:#363636;gap:7px;margin:20px 0;font-size:13px;font-weight:600;display:grid}.survey-card label:first-of-type{margin-top:22px}.survey-card input,.survey-card textarea,.survey-card select,.question-editor input,.question-editor select{width:100%;min-height:44px;color:var(--text);background:#fff;border:1px solid #dedde1;border-radius:10px;padding:10px 12px;font:14px Inter,sans-serif;transition:border-color .15s,box-shadow .15s}.survey-card input:focus,.survey-card textarea:focus,.survey-card select:focus,.question-editor input:focus,.question-editor select:focus{box-shadow:0 0 0 3px var(--primary-light);border-color:#b68aff;outline:0}.survey-card input::placeholder,.survey-card textarea::placeholder,.question-editor input::placeholder{color:#aaa}.survey-card textarea{resize:vertical;min-height:94px;line-height:1.5}.survey-card em,.question-editor em{color:var(--muted);margin-left:5px;font-size:12px;font-style:normal;font-weight:400}.form-row{grid-template-columns:1fr 1fr;gap:16px;display:grid}.form-row>label{min-width:0}.form-row>label:first-child:has(input[type=number]):after{content:"คะแนนที่สมาชิกจะได้รับหากทำแบบสอบถามสำเร็จ";color:var(--muted);margin-top:-2px;font-size:12px;font-weight:400}.campaign-type{background:linear-gradient(90deg,#fff,#fcfaff);align-items:center;gap:10px;padding:14px 16px;display:flex}.campaign-type strong{margin-right:6px}.campaign-type button,.secondary,.text-action{border:1px solid var(--line);color:#444;cursor:pointer;background:#fff;border-radius:9px;padding:9px 12px;font:500 13px Inter,sans-serif;transition:background .15s,border-color .15s,color .15s}.campaign-type .selected{background:var(--primary-light);color:var(--primary);border-color:#b68aff;font-weight:600}.campaign-type button:disabled{opacity:.55}.section-title,.question-toolbar{justify-content:space-between;align-items:center;gap:14px;display:flex}.section-title{border-bottom:1px solid var(--soft-line);padding-bottom:18px}.section-title h2{margin:0}.section-title h2:after{content:"กำหนดรายการที่จะได้จากการสุ่มในการเล่นโดยให้กำหนด รายการ คะแนนรางวัลที่ได้รับ (ใส่ 0 สำหรับรายการที่ไม่ได้รางวัลอะไร) และ % ความน่าจะเป็นที่จะสุ่มได้รายการนั้น (ต้องรวมให้ได้ 100% ห้ามขาดหรือเกิน) รวมถึง stock หรือจำนวนของรายการ (เว้นว่างตัวเลข stock คือไม่มีกำหนด stock)";color:var(--muted);letter-spacing:0;margin-top:4px;font-size:12px;font-weight:400;display:block}.section-title button{white-space:nowrap;color:var(--primary);background:#fbf9ff;border-color:#d8c3ff;align-items:center;gap:6px;font-weight:600;display:inline-flex}.section-title button:hover,.secondary:hover{background:var(--primary-light);border-color:#b68aff}.question-editor{background:#fdfcff;border:1px solid #e7e1f1;border-radius:14px;margin-top:16px;padding:20px;position:relative}.question-toolbar{border-bottom:1px solid #eee9f5;padding-bottom:15px}.question-toolbar strong{font-size:14px}.question-toolbar strong:before{content:"Question ";color:var(--muted);font-size:12px;font-weight:500}.question-toolbar span{gap:5px;display:flex}.question-toolbar button,.choices button{color:#615b6b;cursor:pointer;background:#f1eef5;border:1px solid #0000;border-radius:8px;place-items:center;width:30px;height:30px;padding:0;transition:background .15s,color .15s;display:grid}.question-toolbar button:hover,.choices>div button:hover{color:var(--primary);background:#e9ddff}.question-toolbar button:last-child:hover,.choices>div button:hover{color:#b42318;background:#fff0f0}.question-toolbar button:disabled{opacity:.35;cursor:not-allowed}.checkbox{border:1px solid var(--line);color:#404040;background:#fff;border-radius:10px;align-items:center;gap:9px;padding:10px 12px;font-size:13px;margin-top:28px!important;display:flex!important}.checkbox input{accent-color:var(--primary);width:16px!important;min-height:16px!important}.checkbox:after{content:"Members must answer this";color:var(--muted);font-size:12px;font-weight:400}.choices{background:#f8f6fb;border-radius:11px;margin-top:18px;padding:16px}.choices:before{content:"Answer choices";color:#4a4351;margin-bottom:8px;font-size:13px;font-weight:600;display:block}.choices{gap:8px;display:grid}.choices>div{align-items:center;gap:7px;display:flex}.choices>div:before{content:"";background:#c6a5ff;border-radius:50%;flex:none;width:6px;height:6px}.choices>div button{flex:none}.choices>.secondary{width:max-content;height:auto;color:var(--primary);background:0 0;border:1px dashed #cdb5fa;align-items:center;gap:5px;margin-top:4px;padding:8px 10px;display:inline-flex}.text-action{padding:6px 8px;font-size:12px}.danger{color:#b42318}.result-row{background:var(--primary-light);border-radius:8px;justify-content:space-between;gap:20px;margin:7px 0;padding:10px 12px;display:flex}.text-responses{gap:8px;display:grid}.text-responses p{background:#f7f7f7;border-radius:8px;margin:0;padding:10px 12px}.survey-editor>.title{z-index:3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fafafaf0;border-bottom:1px solid #e5e5e5cc;margin:-32px -32px 0;padding:28px 32px 18px;position:sticky;top:-32px}.survey-editor>.title h1{margin-top:7px}.survey-editor>.title .back-link{margin-bottom:9px}.survey-editor>.title .back-link+h1{margin-top:0}.survey-editor>.title>button{box-shadow:0 6px 16px #8f53fb3b}.survey-editor>.title p{max-width:560px}.survey-editor>.title h1:before{content:"CAMPAIGN BUILDER";color:var(--primary);letter-spacing:.1em;margin-bottom:7px;font-size:11px;font-weight:700;display:block}.survey-card:first-of-type h2:before{content:"01";background:var(--primary-light);width:25px;height:25px;color:var(--primary);border-radius:8px;place-items:center;margin-right:9px;font-size:12px;display:inline-grid}.survey-card:nth-of-type(2) h2:before{content:"02";background:var(--primary-light);width:25px;height:25px;color:var(--primary);border-radius:8px;place-items:center;margin-right:9px;font-size:12px;display:inline-grid}.survey-editor .survey-card:first-of-type h2:after{content:"กำหนดรายละเอียดแคมเปญ เงื่อนไข";color:var(--muted);letter-spacing:0;margin:6px 0 0 34px;font-size:12px;font-weight:400;display:block}.timezone-note{color:var(--muted);margin:0;font-size:12px}@media (width<=700px){.campaign-type{flex-wrap:wrap;align-items:flex-start}.survey-card{padding:20px}.question-toolbar{align-items:flex-start}.survey-editor .title{display:grid}.survey-editor .title>button{justify-self:start}.survey-editor>.title{margin:-24px -20px 0;padding:20px 20px 16px;top:-24px}.form-row{grid-template-columns:1fr;gap:0}.checkbox{margin-top:6px!important}.section-title{flex-direction:column;align-items:flex-start}.section-title button{justify-content:center;width:100%}.question-editor{padding:16px}.campaign-type strong{width:100%;display:block}}.survey-editor>.title .back-link{width:auto;height:auto;box-shadow:none;color:var(--primary-dark);background:0 0;border:0;border-radius:0;align-items:center;gap:6px;padding:0;font:500 13px Inter,sans-serif;display:inline-flex}.survey-editor>.title .back-link:hover{color:var(--primary);background:0 0;text-decoration:underline}.survey-theme-control{color:#363636;gap:7px;margin:20px 0;font-size:13px;font-weight:600;display:grid}.survey-theme-control small{color:var(--muted);font-size:12px;font-weight:400}.survey-card .survey-theme-control input[type=color]{cursor:pointer;width:64px;min-height:42px;padding:4px}.campaign-link-field{color:#404040;gap:7px;margin:14px 0;font-size:13px;font-weight:600;display:grid}.campaign-link-field>div{gap:7px;display:flex}.campaign-link-field input{background:#fafafa;min-width:0}.campaign-link-field .campaign-action{color:#7031e0;border:1px solid #e5e5e5;flex:none}.prediction-choice{border:1px solid #e5ddf5;border-radius:12px;gap:8px;margin:18px 0 0;padding:14px;display:grid}.prediction-choice legend{color:#69419c;padding:0 5px;font-size:12px;font-weight:700}.prediction-choice label{cursor:pointer;font-size:13px}.prediction-review button+button{margin-left:8px}.choices input[type=radio]{accent-color:var(--primary);flex:0 0 20px;margin:0 4px 0 0;width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important;box-shadow:none!important;border-radius:50%!important;padding:0!important}.choices input[type=radio]+input{min-width:0}.survey-editor[data-result-mode=set_later][data-result-ready=false] .choices input[type=radio],.survey-editor[data-result-mode=set_later][data-result-ready=false] .choices>div:before{display:none}.survey-card>label:has(input[type=file]){border-top:1px solid var(--soft-line);cursor:pointer;grid-template-columns:1fr auto;align-items:center;gap:10px;margin-top:20px;padding-top:16px;display:grid}.survey-card>label:has(input[type=file]) input[type=file]{display:none}.survey-card>label:has(input[type=file]):after{content:"Upload image";color:#7031e0;border:1px solid #dfceff;border-radius:8px;justify-content:center;align-items:center;height:36px;padding:0 10px;font-size:13px;font-weight:500;display:inline-flex}.redesigned-results .prediction-flow,.redesigned-results .prediction-review{border-radius:18px;padding:22px 24px}.redesigned-results .prediction-flow{background:linear-gradient(120deg,#f8f4ff,#fff);border-color:#d9c8ff;position:relative;overflow:hidden}.redesigned-results .prediction-flow:before{content:"01";color:#e1d4fb;font-size:56px;font-weight:800;line-height:1;position:absolute;top:14px;right:22px}.redesigned-results .prediction-flow h2,.redesigned-results .prediction-review h2{margin:0 0 8px;font-size:18px;position:relative}.redesigned-results .prediction-flow p,.redesigned-results .prediction-review p{color:#70657d;max-width:680px;margin:0;font-size:14px;line-height:1.5;position:relative}.redesigned-results .result-card:has(.prediction-choice){padding:22px 24px}.redesigned-results .result-card:has(.prediction-choice)>h2{margin:0 0 18px;font-size:18px}.redesigned-results .result-card:has(.prediction-choice) .bar-row{margin:9px 0}.prediction-choice{background:#faf8fd;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));border:0!important;border-radius:0!important;gap:10px!important;margin:20px 0 0!important;padding:11px!important;display:grid!important}.prediction-choice legend{text-transform:uppercase;letter-spacing:.07em;grid-column:1/-1;margin:0 0 2px;color:#615572!important;padding:0!important;font-size:12px!important;font-weight:800!important}.prediction-choice label{color:#332b3d;background:#fff;border:1px solid #e0d7ec;border-radius:11px;align-items:center;gap:9px;min-height:48px;padding:11px 13px;font-weight:700;transition:border-color .15s,box-shadow .15s,background .15s;font-size:14px!important;display:flex!important}.prediction-choice label:has(input:checked){color:#6339c0;background:#f5efff;border-color:#8053ed;box-shadow:0 3px 10px #6138bd1f}.prediction-choice input{accent-color:#8053ed;width:18px;height:18px;margin:0}.redesigned-results .prediction-review{background:linear-gradient(135deg,#f7f2ff,#fff);border-color:#cdb6ff;position:relative}.redesigned-results .prediction-review h2:before{content:"02";color:#fff;vertical-align:2px;background:#8053ed;border-radius:8px;place-items:center;width:25px;height:25px;margin-right:8px;font-size:11px;display:inline-grid}.redesigned-results .prediction-review .api-error{margin:14px 0 0}.redesigned-results .prediction-review>button{color:#fff;background:linear-gradient(135deg,#7140d5,#9564f4);border:0;border-radius:11px;min-height:46px;margin:18px 8px 0 0;padding:11px 17px;font-size:14px;font-weight:800;box-shadow:0 5px 12px #6737cf38}.redesigned-results .prediction-review>button:disabled{cursor:not-allowed;opacity:.5;box-shadow:none}.redesigned-results .prediction-review>button.secondary{box-shadow:none;color:#6339c0;background:#fff;border:1px solid #d8cbea}@media (width<=700px){:is(.redesigned-results .prediction-flow,.redesigned-results .prediction-review,.redesigned-results .result-card:has(.prediction-choice)){padding:18px}.prediction-choice{grid-template-columns:1fr}.redesigned-results .prediction-flow:before{font-size:46px;right:15px}.redesigned-results .prediction-review>button{width:100%;margin-right:0}.redesigned-results .prediction-review>button.secondary{margin-top:9px}}.prediction-flow+.results-list,.results-list+.prediction-review{margin-top:18px}@media (width<=700px){.prediction-flow+.results-list,.results-list+.prediction-review{margin-top:14px}}.redesigned-results .results-summary+.result-card{background:linear-gradient(120deg,#f8f4ff,#fff);border-color:#d9c8ff;padding:22px 24px;position:relative;overflow:hidden}.redesigned-results .results-summary+.result-card:before{content:"⌛";font-size:30px;position:absolute;top:18px;right:24px}.redesigned-results .results-summary+.result-card h2{color:#3b285c;margin:0 0 8px;font-size:19px}.redesigned-results .results-summary+.result-card p{color:#70657d;max-width:760px;margin:0;font-size:14px;line-height:1.55}.redesigned-results .results-summary+.result-card+.results-list{margin-top:18px}.redesigned-results .results-summary+.result-card+.results-list>.result-card{padding:22px 24px}@media (width<=700px){.redesigned-results .results-summary+.result-card,.redesigned-results .results-summary+.result-card+.results-list>.result-card{padding:18px}.redesigned-results .results-summary+.result-card+.results-list{margin-top:14px}.redesigned-results .results-summary+.result-card:before{font-size:25px;top:15px;right:18px}}.redesigned-results .prediction-review>button:not(:disabled){cursor:pointer}.redesigned-results .prediction-review>button:disabled{cursor:not-allowed}.reward-tiers-heading{justify-content:space-between;align-items:flex-start;margin-bottom:18px;display:flex}.reward-tiers-heading h2{margin:0}.reward-tiers-heading p{color:var(--muted);margin:5px 0 0;font-size:13px}.reward-tier-labels,.reward-tier-row{grid-template-columns:1fr 1fr 1.15fr 42px;align-items:center;gap:12px;display:grid}.reward-tier-labels{color:var(--muted);padding:0 2px 7px;font-size:12px;font-weight:600}.reward-tier-row{border-top:1px solid var(--soft-line);padding:11px 0}.reward-tier-row input{margin:0!important}.reward-tier-remove{color:#8b5560;cursor:pointer;background:#fff;border:1px solid #e9dfe2;border-radius:10px;place-items:center;width:42px;height:42px;display:grid}.reward-tier-remove:hover{color:#b42318;background:#fff0f1;border-color:#efc2c8}.reward-tier-add{width:100%;color:var(--primary);cursor:pointer;background:#fbf9ff;border:1px dashed #cdb5fa;border-radius:10px;justify-content:center;align-items:center;gap:7px;margin-top:14px;padding:11px;font:600 13px Inter,sans-serif;display:flex}.reward-tier-add:hover{background:var(--primary-light);border-color:#a778f8}@media (width<=700px){.reward-tier-labels{display:none}.reward-tier-row{grid-template-columns:1fr 1fr 42px;gap:8px}.reward-tier-row input:nth-child(3){grid-column:1/3}.reward-tier-remove{grid-area:1/3/3}.reward-tier-row{padding:14px 0}.reward-tier-row:before{content:"Rank range and points";color:var(--muted);grid-column:1/-1;font-size:12px;font-weight:600}}.top-spender-empty td{text-align:center;padding:56px 24px!important}.top-spender-empty strong,.top-spender-empty span{display:block}.top-spender-empty strong{color:var(--text);font-size:15px}.top-spender-empty span{color:var(--muted);margin:7px 0 18px;font-size:13px}.top-spender-empty button{align-items:center;gap:7px;display:inline-flex}.top-spender-leaderboard{max-width:1100px;margin:0 auto}.top-spender-leaderboard .back-link{height:auto;color:var(--primary);box-shadow:none;background:0 0;margin-bottom:9px;padding:0}.top-spender-leaderboard .back-link:hover{color:var(--primary-dark);background:0 0}.leaderboard-campaign{background:linear-gradient(120deg,#fbf9ff,#f4eeff);border:1px solid #e6dbfb;border-radius:14px;justify-content:space-between;align-items:center;gap:24px;margin:16px 0 18px;padding:13px 18px;display:flex;box-shadow:0 4px 16px #532b9f0f}.leaderboard-campaign>div:first-child{min-width:0}.leaderboard-campaign span{color:var(--primary);letter-spacing:.1em;margin-bottom:3px;font-size:10px;font-weight:700;display:block}.leaderboard-campaign h2{letter-spacing:-.02em;margin:0;font-size:16px}.leaderboard-campaign p{color:var(--muted);margin:3px 0 0;font-size:12px}.leaderboard-campaign-meta{text-align:right;justify-content:flex-end;align-items:center;gap:10px;display:flex}.leaderboard-campaign-meta strong{font-size:12px}.leaderboard-campaign-meta small{color:var(--muted);white-space:nowrap;font-size:12px}.leaderboard-table table{min-width:760px}.leaderboard-table td{height:72px}.leaderboard-rank{border-radius:13px;place-items:center;width:42px;height:42px;font-weight:700;display:inline-grid;position:relative}.leaderboard-rank svg{position:absolute;top:6px}.leaderboard-rank b{font-size:11px;position:absolute;bottom:3px}.leaderboard-rank.first{color:#865500;background:linear-gradient(145deg,#fff4b7,#eebd39);box-shadow:inset 0 0 0 1px #a46d0026,0 4px 10px #cf9b152e}.leaderboard-rank.second{color:#4d5c71;background:linear-gradient(145deg,#f8fafc,#cbd5e1)}.leaderboard-rank.third{color:#81401b;background:linear-gradient(145deg,#ffe8d5,#d98b52)}.leaderboard-rank.other{color:#625d69;background:#f3f1f6;border-radius:50%;width:34px;height:34px;font-size:13px}.member-phone{color:#625d69;font-variant-numeric:tabular-nums}.score-heading,.score-cell{text-align:right}.score-cell strong{color:#6332c4;font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-size:19px;display:block}.score-cell span{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-top:1px;font-size:11px;font-weight:600;display:block}.top-spender-empty button{border:1px solid var(--line);color:#444;cursor:pointer;background:#fff;border-radius:9px;padding:9px 12px;font:500 13px Inter,sans-serif}@media (width<=700px){.leaderboard-campaign{flex-direction:column;align-items:flex-start;gap:8px;padding:14px}.leaderboard-campaign-meta{text-align:left;flex-wrap:wrap;justify-content:flex-start}.top-spender-leaderboard .title{gap:12px}.top-spender-leaderboard .title p{display:block}.leaderboard-table td{height:64px}}.top-spender-leaderboard .leaderboard-campaign{background:linear-gradient(120deg,#fbf9ff,#f4eeff);border:1px solid #e6dbfb;border-radius:14px;justify-content:space-between;align-items:center;gap:18px;margin:12px 0 18px;padding:13px 18px;display:flex;box-shadow:0 4px 16px #532b9f0f}.top-spender-leaderboard .leaderboard-campaign span{margin:0 8px 0 0;font-size:10px;display:inline}.top-spender-leaderboard .leaderboard-campaign h2{font-size:14px;display:inline}.top-spender-leaderboard .leaderboard-campaign-meta{gap:10px}@media (width<=700px){.top-spender-leaderboard .leaderboard-campaign{flex-direction:column;align-items:flex-start;gap:8px;padding:14px}.top-spender-leaderboard .leaderboard-campaign-meta{text-align:left;flex-wrap:wrap;justify-content:flex-start}}.top-spender-leaderboard .title button:disabled,.top-spender-empty button:disabled{cursor:wait;opacity:.72}.is-spinning{animation:.8s linear infinite leaderboard-spin}@keyframes leaderboard-spin{to{transform:rotate(360deg)}}.top-spender-results{max-width:1100px;margin:0 auto}.top-spender-results .back-link{height:auto;color:var(--primary);box-shadow:none;background:0 0;margin-bottom:9px;padding:0}.top-spender-results .back-link:hover{color:var(--primary-dark);background:0 0}.top-spender-results .leaderboard-campaign{margin:12px 0 16px;padding:13px 18px}.top-spender-results .leaderboard-campaign span{margin:0 8px 0 0;font-size:10px;display:inline}.top-spender-results .leaderboard-campaign h2{font-size:14px;display:inline}.top-spender-results .leaderboard-campaign-meta{gap:10px}.award-action{justify-items:end;gap:5px;display:grid}.top-spender-results .title .award-disabled{box-shadow:none;color:#6b7280;cursor:not-allowed;background:#d1d5db}.top-spender-results .title .award-disabled:hover{background:#d1d5db}.award-action small{max-width:250px;color:var(--muted);text-align:right;font-size:11px;line-height:1.35}.award-success{color:#146c35;background:#edfff2;border:1px solid #a8dfbd;border-radius:10px;margin:0 0 16px;padding:12px 14px;font-size:13px;font-weight:600}.results-summary{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px;display:grid}.results-summary>div{border:1px solid var(--line);background:#fff;border-radius:12px;padding:14px 16px}.results-summary span,.reward-unit{color:var(--muted);letter-spacing:.07em;font-size:10px;font-weight:700;display:block}.results-summary strong{margin-top:5px;font-size:16px;display:block}.results-table table{min-width:900px}.results-table td{height:72px}.reward-points{color:#6332c4;font-variant-numeric:tabular-nums;display:inline-block}.reward-unit{margin-top:2px;font-size:10px}.review{color:#9a6200;background:#fff4df}.results-note{color:var(--muted);margin:14px 0;font-size:13px}@media (width<=700px){.top-spender-results .leaderboard-campaign{flex-direction:column;align-items:flex-start;gap:8px;padding:14px}.top-spender-results .leaderboard-campaign-meta{text-align:left;flex-wrap:wrap;justify-content:flex-start}.top-spender-results .title{gap:12px}.top-spender-results .title p{display:block}.award-action{justify-items:start}.award-action small{text-align:left}.results-summary{grid-template-columns:1fr}.results-table td{height:64px}}.top-spender-actions{flex-wrap:nowrap;justify-content:flex-end}.top-spender-actions .text-action{align-items:center;gap:5px;display:inline-flex}.top-spender-actions .text-action svg{stroke-width:1.8px;width:15px;height:15px}.leaderboard-actions{align-items:center;gap:8px;display:flex}.leaderboard-actions button{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}@media (width<=700px){.leaderboard-actions{flex-wrap:wrap;width:100%}.leaderboard-actions button{flex:1;justify-content:center}}
