/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.fixed{position:fixed}.grid{display:grid}.hidden{display:none}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{color:#1f2937;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f3f6fb;font:16px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}#app{min-height:100vh}.boot-screen,.login-screen{place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{background:#fff;border:1px solid #d8dee8;border-radius:8px;width:min(420px,100%);padding:32px;box-shadow:0 18px 45px #1f293714}.login-mark{color:#0f766e;background:#dff7f2;border-radius:8px;place-items:center;width:48px;height:48px;margin-bottom:20px;display:grid}.login-panel h1,.topbar h1,.chart-panel h2,.data-section h2,.table-panel h3,.form-panel h2,.rules-table h2{color:#111827;letter-spacing:0;margin:0}.login-panel h1{font-size:30px;line-height:1.2}.login-panel p,.topbar p{color:#64748b;margin:8px 0 0;font-size:16px}.login-form{gap:16px;margin-top:28px;display:grid}.login-form label{color:#334155;gap:7px;font-size:15px;display:grid}.login-form input{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:7px;width:100%;height:46px;padding:0 12px}.login-form input:focus{border-color:#2f80ed;outline:3px solid #2f80ed29}.primary-button,.secondary-button,.icon-button,.side-nav-item{border:0;border-radius:7px;justify-content:center;align-items:center;gap:8px;display:inline-flex}.primary-button{color:#fff;background:#1f7aec;height:46px;padding:0 16px;font-weight:600;transition:background .18s,box-shadow .18s}.primary-button:hover:not(:disabled){background:#1769d6;box-shadow:0 8px 18px #1f7aec33}.secondary-button{color:#1f2937;background:#fff;border:1px solid #d8dee8;height:40px;padding:0 12px;transition:border-color .18s,background .18s}.secondary-button:hover:not(:disabled),.icon-button:hover:not(:disabled){background:#f8fafc;border-color:#b8c4d6}.icon-button{color:#334155;background:#fff;border:1px solid #d8dee8;width:42px;height:42px}.form-error,.inline-error,.inline-success{color:#b42318;background:#fff1f0;border:1px solid #ffd4d0;border-radius:7px;margin:0;padding:10px 12px}.inline-success{color:#067647;background:#ecfdf3;border-color:#abefc6}.app-shell{grid-template-columns:248px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#fff;background:#101828;flex-direction:column;gap:24px;padding:22px 16px;display:flex}.brand{align-items:center;gap:10px;font-weight:700;display:flex}.side-nav{gap:8px;display:grid}.side-nav-item{color:#d7deea;background:0 0;justify-content:flex-start;width:100%;height:42px;padding:0 12px}.side-nav-item.active{color:#fff;background:#1d2939}.side-nav-item span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.side-account{background:#1d2939;border-radius:8px;gap:4px;margin-top:auto;padding:12px;display:grid;overflow:hidden}.side-account span,.side-account small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.side-account small{color:#a9b5c7;font-size:13px}.main-panel{min-width:0;padding:28px 32px}.topbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.topbar h1{font-size:32px;line-height:1.2}.dashboard{gap:16px;width:100%;max-width:1480px;display:grid}.rules-page,.users-page,.settings-page,.telegram-page,.auto-reply-page,.lottery-page,.reward-page{gap:14px;width:100%;display:grid}.dashboard-actions{justify-content:flex-end;min-height:40px;display:flex}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.metric-card,.chart-panel,.table-panel,.form-panel{background:#fff;border:1px solid #d8dee8;border-radius:8px}.rules-layout{grid-template-columns:380px minmax(0,1fr);align-items:start;gap:14px;display:grid}.rules-toolbar,.toolbar-left,.form-page-head{align-items:center;gap:10px;display:flex}.rules-toolbar,.form-page-head{justify-content:space-between}.rules-toolbar{background:#fff;border:1px solid #d8dee8;border-radius:8px;width:100%;padding:12px}.toolbar-left{flex-wrap:wrap}.toolbar-create{min-width:96px}.danger-text{color:#b42318}.form-page{gap:14px;width:min(760px,100%);display:grid}.form-page-panel{width:100%}.toggle-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.form-panel{gap:20px;padding:22px;display:grid}.form-panel header{justify-content:space-between;align-items:center;gap:12px;display:flex}.form-panel h2,.rules-table h2{font-size:20px}.form-title-block{gap:5px;padding-bottom:4px;display:grid}.form-title-block p{color:#64748b;margin:0}.form-panel label{color:#334155;gap:7px;font-size:15px;display:grid}.form-panel label small{color:#64748b;font-size:12px}.form-panel input[type=text],.form-panel input[type=number],.form-panel input[type=url],.form-panel input[type=datetime-local],.form-panel select{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:7px;width:100%;height:46px;padding:0 12px}.form-panel textarea{resize:vertical;color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:7px;width:100%;min-height:104px;padding:10px 12px}.form-panel textarea:focus,.form-panel input:focus,.form-panel select:focus{border-color:#2f80ed;outline:3px solid #2f80ed29}.form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.form-page-head{border-bottom:1px solid #edf1f7;width:100%;padding-bottom:14px}.check-line{flex-direction:row;align-items:center;grid-template-columns:none!important;display:flex!important}.check-line input{width:18px;height:18px}.metric-card{border-left:4px solid #1f7aec;align-content:space-between;gap:12px;min-height:128px;padding:16px;display:grid;box-shadow:0 10px 24px #1018280a}.metric-card--green{border-left-color:#16a34a}.metric-card--amber{border-left-color:#f59e0b}.metric-card--rose{border-left-color:#ef4444}.metric-card-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.metric-card span,.metric-card small{color:#64748b}.metric-card svg{color:#1f7aec;flex:none}.metric-card--green svg{color:#16a34a}.metric-card--amber svg{color:#f59e0b}.metric-card--rose svg{color:#ef4444}.metric-card strong{color:#111827;font-size:36px;line-height:1}.dashboard-chart-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.dashboard-lower-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.chart-panel{min-width:0;padding:16px;box-shadow:0 10px 24px #1018280a}.chart-panel header{min-height:28px;margin-bottom:8px}.chart-panel h2,.data-section h2{font-size:20px}.chart-canvas,.empty-chart{width:100%;height:340px}.hidden{display:none}.empty-chart{color:#64748b;background:#fbfcfe;border:1px dashed #cbd5e1;border-radius:7px;place-items:center;display:grid}.compact-empty{height:260px}.data-section{gap:12px;display:grid}.section-title-row{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.section-title-row span{color:#64748b;font-size:14px}.dashboard-list-panel{background:#fff;border:1px solid #d8dee8;border-radius:8px;grid-template-rows:auto 1fr;min-width:0;min-height:384px;display:grid;overflow:hidden;box-shadow:0 10px 24px #1018280a}.dashboard-list-panel header{justify-content:space-between;align-items:center;gap:12px;min-height:57px;padding:16px 16px 10px;display:flex}.dashboard-list-panel h2{color:#111827;letter-spacing:0;margin:0;font-size:20px}.dashboard-list-panel small{color:#64748b;margin-top:4px;display:block}.dashboard-list-panel svg{color:#16a34a}.group-list{align-content:start;gap:10px;margin:0;padding:8px 16px 16px;list-style:none;display:grid}.group-row{border-top:1px solid #edf1f7;gap:8px;padding:10px 0;display:grid}.group-row:first-child{border-top:0}.group-row div:first-child{justify-content:space-between;align-items:center;gap:12px;display:flex}.group-row span{color:#334155;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.group-row strong{color:#111827;white-space:nowrap;font-size:14px}.group-progress{background:#edf1f7;border-radius:999px;height:8px;overflow:hidden}.group-progress span{border-radius:inherit;background:linear-gradient(90deg,#1f7aec,#16a34a);min-width:4px;height:100%;display:block}.table-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.table-panel{min-width:0;padding:0;overflow:hidden}.table-panel h3{margin-bottom:12px;font-size:18px}.dashboard-url-card{max-height:260px;overflow:auto}.dashboard-url-card h3{z-index:1;background:#fff;border-bottom:1px solid #edf1f7;margin:0;padding:14px 16px;position:sticky;top:0}table{border-collapse:collapse;table-layout:fixed;width:100%}th{color:#64748b;text-align:left;background:#f8fafc;padding:13px 16px;font-size:14px;font-weight:600}td{color:#334155;border-top:1px solid #edf1f7;padding:13px 16px;font-size:15px}td:last-child{text-align:right;width:76px}.rules-table td:last-child{width:104px}.rules-table-scroll,.users-table-scroll{width:100%;max-height:620px;overflow:auto}.rules-table-scroll table,.users-table-scroll table{min-width:980px}.rules-table-scroll thead th,.users-table-scroll thead th{z-index:1;background:#f8fafc;position:sticky;top:0}.select-col{text-align:center!important;width:52px!important}.rules-table th:nth-child(2),.rules-table td:nth-child(2){width:38%}.rules-table th:nth-child(3),.rules-table td:nth-child(3){width:18%}.rules-table th:nth-child(4),.rules-table td:nth-child(4),.rules-table th:nth-child(5),.rules-table td:nth-child(5){width:12%}.select-col input{width:17px;height:17px}.rules-table td strong,.rules-table td small,.users-table-scroll td strong,.users-table-scroll td small{display:block}.rules-table td small,.users-table-scroll td small,.muted{color:#64748b}.row-actions{justify-content:flex-end;gap:8px;display:flex}.rules-table tbody tr:hover,.click-row:hover{background:#f8fbff}.click-row{cursor:pointer}.user-detail{gap:14px;display:grid}.detail-summary{gap:16px}.detail-title{align-items:center;gap:12px;display:flex}.detail-title p{color:#64748b;margin:4px 0 0}.detail-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.detail-metrics div{background:#f8fafc;border:1px solid #edf1f7;border-radius:8px;align-content:center;gap:6px;min-height:86px;padding:12px;display:grid}.detail-metrics span,.detail-facts{color:#64748b}.detail-metrics strong{color:#111827;font-size:24px}.detail-facts{flex-wrap:wrap;gap:10px 18px;display:flex}.history-table{max-height:480px}.telegram-form{width:min(980px,100%)}.telegram-toggle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.telegram-rule-block{border-top:1px solid #edf1f7;gap:14px;padding-top:18px;display:grid}.telegram-rule-title{gap:4px;display:grid}.telegram-rule-title strong{color:#111827;font-size:17px}.telegram-rule-title span{color:#64748b;font-size:14px}.status-box{color:#111827;background:#f8fafc;border:1px solid #d8dee8;border-radius:7px;align-items:center;gap:9px;min-height:46px;padding:0 12px;display:flex}.telegram-cleanup-result{width:min(920px,100%)}.telegram-ban-panel{width:min(1180px,100%);padding:16px}.telegram-ban-head{justify-content:space-between;align-items:center;gap:14px;padding-bottom:14px;display:flex}.telegram-ban-head h3{color:#111827;margin:0;font-size:18px}.telegram-ban-head p{color:#64748b;margin:4px 0 0}.telegram-ban-table-scroll{max-height:420px;overflow:auto}.telegram-ban-table-scroll table{min-width:1180px}.telegram-ban-reason{text-overflow:ellipsis;white-space:nowrap;max-width:260px;overflow:hidden}.telegram-ban-release-button{min-width:82px}.telegram-chat-title-list{background:#f8fafc;border:1px solid #d8dee8;border-radius:7px;gap:10px;max-height:240px;padding:12px;display:grid;overflow:auto}.telegram-chat-title-list label{grid-template-columns:minmax(150px,220px) minmax(0,1fr);align-items:center;gap:10px;display:grid}.telegram-chat-title-list label>span{color:#64748b;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;overflow:hidden}.auto-reply-toolbar{gap:14px}.auto-reply-navigation-panel{gap:14px;width:100%}.keyword-editor{gap:12px;display:grid}.keyword-chip-list{background:#f8fafc;border:1px solid #d8dee8;border-radius:7px;flex-wrap:wrap;align-items:center;gap:8px;min-height:44px;padding:9px;display:flex}.keyword-chip{color:#1459b8;background:#eef6ff;border:1px solid #b9d5ff;border-radius:7px;align-items:center;gap:6px;max-width:100%;min-height:28px;padding:4px 8px;font-size:14px;font-weight:650;display:inline-flex}.keyword-chip button{color:#1459b8;background:0 0;border:0;border-radius:5px;flex:none;justify-content:center;align-items:center;width:20px;height:20px;display:inline-flex}.keyword-chip button:hover{background:#d9ecff}.keyword-input-row{grid-template-columns:minmax(220px,1fr) auto auto;align-items:center;gap:10px;display:grid}.keyword-input-row input{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:7px;width:100%;height:40px;padding:0 12px}.keyword-input-row input:focus{border-color:#2f80ed;outline:3px solid #2f80ed29}.auto-reply-table-scroll{width:100%;max-height:580px;overflow:auto}.auto-reply-table{min-width:1180px}.auto-reply-table thead th{z-index:1;background:#f8fafc;position:sticky;top:0}.auto-reply-table th:nth-child(2),.auto-reply-table td:nth-child(2){width:220px}.auto-reply-table th:nth-child(3),.auto-reply-table td:nth-child(3){width:280px}.auto-reply-table th:nth-child(4),.auto-reply-table td:nth-child(4),.auto-reply-table th:nth-child(6),.auto-reply-table td:nth-child(6),.auto-reply-table th:nth-child(7),.auto-reply-table td:nth-child(7){width:110px}.auto-reply-table th:nth-child(5),.auto-reply-table td:nth-child(5){width:220px}.auto-reply-table th:nth-child(8),.auto-reply-table td:nth-child(8){width:124px}.auto-reply-table td strong,.auto-reply-table td small{display:block}.auto-reply-form{width:min(900px,100%)}.auto-reply-form-meta{color:#64748b;flex-wrap:wrap;gap:8px 18px;padding-top:4px;font-size:13px;display:flex}.settings-toolbar{gap:14px}.segmented-control{background:#f8fafc;border:1px solid #d8dee8;border-radius:7px;align-items:center;height:40px;padding:3px;display:inline-flex}.segmented-control button{color:#475467;background:0 0;border:0;border-radius:6px;height:32px;padding:0 12px;font-weight:600}.segmented-control button.active{color:#111827;background:#fff;box-shadow:0 1px 4px #10182814}.settings-table-scroll{width:100%;max-height:620px;overflow:auto}.settings-table{min-width:980px}.settings-table thead th{z-index:1;background:#f8fafc;position:sticky;top:0}.settings-table th:first-child,.settings-table td:first-child{width:45%}.settings-table th:nth-child(2),.settings-table td:nth-child(2),.settings-table th:nth-child(3),.settings-table td:nth-child(3){width:12%}.settings-table th:nth-child(5),.settings-table td:nth-child(5){width:124px}.lottery-table-scroll{width:100%;max-height:650px;overflow:auto}.lottery-table{min-width:1560px}.lottery-table thead th{z-index:1;background:#f8fafc;position:sticky;top:0}.lottery-table th:nth-child(2),.lottery-table td:nth-child(2){width:230px}.lottery-table th:nth-child(3),.lottery-table td:nth-child(3){width:112px}.lottery-table th:nth-child(4),.lottery-table td:nth-child(4){width:190px}.lottery-table th:nth-child(5),.lottery-table td:nth-child(5){width:150px}.lottery-table th:nth-child(6),.lottery-table td:nth-child(6){width:120px}.lottery-table th:nth-child(7),.lottery-table td:nth-child(7){width:180px}.lottery-table th:nth-child(8),.lottery-table td:nth-child(8){width:160px}.lottery-table th:nth-child(9),.lottery-table td:nth-child(9){width:92px}.lottery-table th:nth-child(10),.lottery-table td:nth-child(10){width:180px}.lottery-table th:nth-child(11),.lottery-table td:nth-child(11){width:92px}.table-subline{color:#64748b;margin-top:3px;font-size:12px;display:block}.lottery-form-page{width:min(1180px,100%)}.lottery-form-panel{gap:18px}.lottery-editor-head{background:linear-gradient(#fff 0%,#f8fafc 100%);border:1px solid #edf1f7;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;padding:14px;display:grid}.lottery-summary-chips{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.lottery-summary-chips span{color:#175cd3;white-space:nowrap;background:#eff6ff;border:1px solid #c7ddff;border-radius:999px;align-items:center;min-height:28px;padding:4px 9px;font-size:13px;font-weight:650;display:inline-flex}.lottery-form-section{border-top:1px solid #edf1f7;gap:13px;padding-top:18px;display:grid}.lottery-form-section:first-of-type{border-top:0;padding-top:0}.lottery-form-section h3{color:#111827;letter-spacing:0;margin:0;font-size:17px}.lottery-section-title{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.lottery-section-title small{color:#64748b;text-align:right;min-width:0;font-size:13px}.lottery-field-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px;display:grid}.lottery-field-wide{grid-column:span 2}.lottery-field-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}.lottery-field-grid-six{grid-template-columns:repeat(6,minmax(0,1fr))}.lottery-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.lottery-choice{color:#334155;cursor:pointer;background:#fff;border:1px solid #d8dee8;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:flex-start;min-width:0;min-height:82px;padding:13px;gap:10px!important;display:grid!important}.lottery-choice:hover{background:#f8fbff;border-color:#a8c7fa}.lottery-choice.active{background:#eef6ff;border-color:#2f80ed;box-shadow:0 0 0 3px #2f80ed1a}.lottery-choice input{width:18px;height:18px;margin-top:1px}.lottery-choice span{gap:5px;min-width:0;display:grid}.lottery-choice strong,.lottery-choice small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.lottery-choice strong{color:#111827;font-size:15px}.lottery-choice small{color:#64748b;font-size:13px}.lottery-conditional-panel{background:#f8fafc;border:1px solid #d8dee8;border-radius:8px;padding:12px}.lottery-inline-warning{color:#93370d;background:#fffaeb;border:1px solid #fedf89;border-radius:7px;margin:0;padding:10px 12px;font-size:14px}.warning-text{color:#b54708!important}.lottery-mode-hint{color:#475467;background:#f8fafc;border:1px solid #d8dee8;border-radius:7px;align-items:center;min-height:38px;padding:8px 12px;font-size:14px;display:flex}.lottery-readonly-metric{justify-content:space-between}.lottery-readonly-metric strong{color:#175cd3;font-size:18px}.lottery-readonly-metric em{color:#64748b;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-style:normal;overflow:hidden}.lottery-switch{background:#f8fafc;border:1px solid #d8dee8;border-radius:7px;align-self:end;min-height:46px;padding:0 12px}.lottery-toggle-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.plan-check-list{background:#f8fafc;border:1px solid #d8dee8;border-radius:7px;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:190px;padding:12px;display:grid;overflow:auto}.plan-check-list label{min-width:0}.plan-check-list span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.lottery-section-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.lottery-section-head small{color:#64748b;margin-top:3px;display:block}.lottery-prize-scroll{border:1px solid #edf1f7;border-radius:8px;width:100%;max-height:460px;overflow:auto}.lottery-prize-table{min-width:1120px}.lottery-prize-table thead th{z-index:1;background:#f8fafc;position:sticky;top:0}.lottery-prize-table th:first-child,.lottery-prize-table td:first-child{width:170px}.lottery-prize-table th:nth-child(2),.lottery-prize-table td:nth-child(2){width:340px}.lottery-prize-table th:nth-child(3),.lottery-prize-table td:nth-child(3),.lottery-prize-table th:nth-child(5),.lottery-prize-table td:nth-child(5),.lottery-prize-table th:nth-child(6),.lottery-prize-table td:nth-child(6){width:120px}.lottery-prize-table th:nth-child(4),.lottery-prize-table td:nth-child(4){width:170px}.lottery-prize-table th:nth-child(7),.lottery-prize-table td:nth-child(7){width:92px}.lottery-prize-table input{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:7px;width:100%;height:36px;padding:0 10px}.lottery-prize-table textarea{resize:vertical;color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:7px;width:100%;min-height:42px;padding:8px 10px}.lottery-prize-table input:focus,.lottery-prize-table textarea:focus{border-color:#2f80ed;outline:3px solid #2f80ed29}.reward-actions{margin-top:4px}.reward-toolbar{gap:14px}.reward-page{gap:12px;display:grid}.reward-parent-panel{width:100%}.reward-parent-row{width:100%;min-height:78px;color:inherit;text-align:left;background:#fff;border:0;border-bottom:1px solid #edf1f7;grid-template-columns:minmax(0,1fr) auto 72px;align-items:center;gap:14px;padding:15px 16px;display:grid}.reward-parent-row:last-child{border-bottom:0}.reward-parent-row:hover{background:#f8fafc}.reward-parent-status{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.reward-parent-action{color:#2f80ed;text-align:right;font-weight:700}.reward-subtitle{color:#111827;font-size:16px}.reward-basic-panel{width:100%}.reward-basic-grid{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.reward-basic-row{grid-template-columns:minmax(220px,1fr) auto minmax(180px,240px);align-items:center;gap:14px;min-height:78px;padding:14px 16px;display:grid}.reward-basic-row+.reward-basic-row{border-left:1px solid #edf1f7}.reward-source-title{align-items:center;gap:9px;min-width:0;display:flex}.reward-source-title svg{color:#2f80ed;flex:none}.reward-source-title h2{color:#111827;letter-spacing:0;margin:0;font-size:19px}.reward-source-title strong{color:#111827;letter-spacing:0;font-size:16px;display:block}.reward-source-title small{color:#64748b;margin-top:3px;font-size:13px;display:block}.reward-basic-input{color:#475467;grid-template-columns:auto minmax(82px,1fr) auto;align-items:center;gap:8px;font-size:14px;display:grid}.reward-basic-input input{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:7px;width:100%;height:38px;padding:0 10px}.reward-basic-input input:focus{border-color:#2f80ed;outline:3px solid #2f80ed29}.reward-basic-input input:disabled{color:#98a2b3;background:#f8fafc}.reward-toolbar-right{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.reward-switch{background:#f8fafc;border:1px solid #d8dee8;border-radius:7px;min-height:36px;padding:0 10px}.reward-editor{width:100%}.reward-editor-head{border-bottom:1px solid #edf1f7;justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:12px 16px;display:flex}.reward-editor-head h2{color:#111827;letter-spacing:0;margin:0;font-size:18px}.reward-editor-head small{color:#64748b;margin-top:4px;display:block}.reward-table-scroll{width:100%;max-height:420px;overflow:auto}.compact-scroll{max-height:330px}.reward-table{min-width:720px}.reward-table th:nth-child(4),.reward-table td:nth-child(4){width:104px}.reward-table input,.reward-table select{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:7px;width:100%;height:36px;padding:0 10px}.reward-table input:focus,.reward-table select:focus{border-color:#2f80ed;outline:3px solid #2f80ed29}.reward-source-card input:disabled{color:#98a2b3;background:#f8fafc}.reward-head-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.empty-config-state{color:#64748b;background:#fbfcfe;justify-content:center;align-items:center;gap:10px;min-height:92px;padding:18px;display:flex}.empty-config-state svg{color:#2f80ed}.drop-rule-table{min-width:1180px}.boom-scroll{max-height:520px}.boom-rule-table{min-width:1680px}.boom-rule-table th:first-child,.boom-rule-table td:first-child{width:210px}.boom-rule-table th:nth-child(2),.boom-rule-table td:nth-child(2),.boom-rule-table th:nth-child(3),.boom-rule-table td:nth-child(3),.boom-rule-table th:nth-child(8),.boom-rule-table td:nth-child(8){width:120px}.boom-rule-table th:nth-child(4),.boom-rule-table td:nth-child(4),.boom-rule-table th:nth-child(5),.boom-rule-table td:nth-child(5),.boom-rule-table th:nth-child(6),.boom-rule-table td:nth-child(6){width:210px}.boom-rule-table th:nth-child(7),.boom-rule-table td:nth-child(7){width:260px}.boom-global-settings{background:#fbfcfe;border-bottom:1px solid #edf1f7;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:14px 16px;display:grid}.boom-global-settings label{color:#475467;gap:6px;font-size:13px;display:grid}.boom-global-settings input{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:7px;width:100%;height:36px;padding:0 10px}.boom-global-settings input:focus{border-color:#2f80ed;outline:3px solid #2f80ed29}.slot-global-settings{grid-template-columns:minmax(150px,.9fr) repeat(6,minmax(0,1fr));align-items:end}.slot-active-switch{align-self:end;min-height:36px}.trade-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px 16px 0;display:grid}.trade-summary-card{background:linear-gradient(#fff 0%,#f8fbfd 100%);border:1px solid #dbe4ef;border-radius:8px;align-content:space-between;gap:8px;min-height:96px;padding:14px 15px;display:grid}.trade-summary-card.disabled{opacity:.58}.trade-summary-card strong{color:#111827;font-size:25px;line-height:1}.trade-summary-card span,.trade-summary-card small{color:#64748b;font-size:13px}.trade-summary-card small{color:#475467}.trade-config-layout{gap:12px;padding:16px;display:grid}.trade-config-section{background:#fff;border:1px solid #e4eaf2;border-radius:8px;overflow:hidden}.trade-section-head{background:#fbfcfe;border-bottom:1px solid #edf1f7;justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:13px 15px;display:flex}.trade-section-head strong{color:#111827;letter-spacing:0;font-size:15px;display:block}.trade-section-head small{color:#64748b;margin-top:3px;font-size:12px;display:block}.trade-config-toggle{color:#334155;white-space:nowrap;background:#fff;border:1px solid #d8dee8;border-radius:7px;align-items:center;gap:8px;height:34px;padding:0 10px;font-size:13px;font-weight:700;display:inline-flex}.trade-config-toggle input{accent-color:#1f7aec;width:17px;height:17px;margin:0}.trade-field-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:14px 15px 16px;display:grid}.trade-field{color:#475467;align-content:start;gap:6px;min-width:0;font-size:13px;display:grid}.trade-field>span{color:#334155;font-weight:650}.trade-field input{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:7px;width:100%;min-width:0;height:38px;padding:0 10px}.trade-field input:focus{border-color:#2f80ed;outline:3px solid #2f80ed29}.trade-field input:disabled{color:#98a2b3;background:#f8fafc}.trade-field small{color:#98a2b3;font-size:12px}.trade-input-unit{background:#fff;border:1px solid #cbd5e1;border-radius:7px;grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid;overflow:hidden}.trade-input-unit:focus-within{border-color:#2f80ed;outline:3px solid #2f80ed29}.trade-input-unit input{border:0;border-radius:0}.trade-input-unit input:focus{outline:0}.trade-input-unit em{color:#64748b;text-align:center;border-left:1px solid #edf1f7;min-width:42px;padding:0 10px;font-size:12px;font-style:normal}.slot-scroll{max-height:460px}.slot-prize-table{min-width:1320px}.slot-prize-table th:first-child,.slot-prize-table td:first-child,.slot-prize-table th:nth-child(2),.slot-prize-table td:nth-child(2){width:190px}.slot-prize-table th:nth-child(3),.slot-prize-table td:nth-child(3),.slot-prize-table th:nth-child(4),.slot-prize-table td:nth-child(4),.slot-prize-table th:nth-child(6),.slot-prize-table td:nth-child(6),.slot-prize-table th:nth-child(7),.slot-prize-table td:nth-child(7){width:120px}.slot-prize-table th:nth-child(5),.slot-prize-table td:nth-child(5){width:260px}.slot-weight-field{gap:5px;display:grid}.slot-weight-field small{color:#0f766e;font-size:12px;font-weight:700}.slot-weight-field small.disabled{color:#98a2b3;font-weight:600}.stacked-inputs{gap:7px;display:grid}.stacked-inputs small{color:#64748b;font-size:12px}.drop-rule-table th:first-child,.drop-rule-table td:first-child{width:210px}.drop-rule-table th:nth-child(2),.drop-rule-table td:nth-child(2){width:130px}.drop-rule-table th:nth-child(3),.drop-rule-table td:nth-child(3){width:120px}.drop-rule-table th:nth-child(4),.drop-rule-table td:nth-child(4),.drop-rule-table th:nth-child(5),.drop-rule-table td:nth-child(5){width:190px}.drop-rule-table th:nth-child(6),.drop-rule-table td:nth-child(6){width:110px}.drop-range,.drop-limits{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.table-check{color:#334155;gap:7px;font-size:14px}.tier-table th:first-child,.tier-table td:first-child,.tier-table th:nth-child(2),.tier-table td:nth-child(2),.tier-table th:nth-child(3),.tier-table td:nth-child(3){width:30%}.icon-button.danger{color:#b42318}.truncate{text-overflow:ellipsis;white-space:nowrap;padding-right:12px;overflow:hidden}.status-pill{color:#067647;background:#dcfae6;border-radius:999px;align-items:center;height:24px;padding:0 8px;font-size:13px;display:inline-flex}.status-pill.disabled{color:#475467;background:#eef2f6}.status-pill.danger{color:#b42318;background:#fee4e2}.status-pill.muted{color:#475467;background:#eef2f6}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=1280px){.dashboard-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=980px){.app-shell{grid-template-columns:1fr}.sidebar{z-index:2;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;display:grid;position:sticky;top:0}.side-nav{scrollbar-width:thin;grid-column:1/-1;gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.side-nav-item{flex:none;width:auto;height:38px;padding:0 10px}.side-account{justify-self:end;max-width:220px;margin-top:0}.metric-grid,.detail-metrics,.dashboard-chart-grid,.dashboard-lower-grid,.table-grid,.rules-layout,.lottery-editor-head,.lottery-choice-grid,.lottery-field-grid,.lottery-field-grid-two,.lottery-field-grid-six,.reward-basic-grid{grid-template-columns:1fr}.lottery-field-wide{grid-column:auto}.reward-basic-row+.reward-basic-row{border-top:1px solid #edf1f7;border-left:0}.boom-global-settings,.trade-summary-grid,.trade-field-grid,.plan-check-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.login-panel,.main-panel{padding:20px}.sidebar{grid-template-columns:auto minmax(0,1fr);gap:10px;padding:14px}.brand span{display:none}.side-account{max-width:190px}.topbar{align-items:flex-start}.main-panel{padding:20px}.form-row{grid-template-columns:1fr}.rules-toolbar,.form-page-head{flex-direction:column;align-items:stretch}.toolbar-left,.toolbar-create,.reward-toolbar-right,.segmented-control,.form-page-head .primary-button,.form-page-head .secondary-button{width:100%}.segmented-control button{flex:1}.reward-toolbar-right{flex-direction:column;align-items:stretch}.reward-switch,.reward-toolbar-right .primary-button{width:100%}.reward-basic-row{grid-template-columns:1fr;align-items:stretch}.reward-parent-row{grid-template-columns:1fr}.reward-parent-status,.reward-parent-action{text-align:left;justify-content:flex-start}.reward-head-actions{flex-direction:column;align-items:stretch;width:100%}.boom-global-settings,.trade-summary-grid,.trade-field-grid{grid-template-columns:1fr}.trade-section-head{flex-direction:column;align-items:stretch}.trade-config-toggle{justify-content:center;width:100%}.toggle-grid,.telegram-toggle-grid,.lottery-toggle-grid,.plan-check-list{grid-template-columns:1fr}.lottery-editor-head,.lottery-section-title{align-items:stretch}.lottery-section-title{flex-direction:column}.lottery-section-title small{text-align:left}.lottery-summary-chips{justify-content:flex-start}.lottery-choice{min-height:72px}.telegram-chat-title-list label{grid-template-columns:1fr;align-items:stretch}.keyword-input-row{grid-template-columns:1fr}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
