:root{color-scheme:light;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--tg-theme-bg-color, #f4f5f7);color:var(--tg-theme-text-color, #1c1e21)}.screen{max-width:480px;margin:0 auto;padding:12px 12px 96px;min-height:100vh}.header{display:flex;flex-direction:column;gap:8px;padding:12px;background:var(--tg-theme-secondary-bg-color, #ffffff);border-radius:12px;margin-bottom:12px}.lang{display:flex;gap:6px}.lang button{border:1px solid #ccc;background-color:#fff;color:#1c1e21;border-radius:6px;padding:4px 10px;cursor:pointer}.lang button.active{background:#2481cc;color:#fff;border-color:#2481cc}.identity .nickname{font-size:18px;font-weight:600}.igg-id{color:#6b7280;font-size:13px}.status{font-size:14px;font-weight:500}.status-running{color:#16a34a}.status-stopped{color:#6b7280}.status-needsRelink{color:#d97706}.subscription{font-size:13px;color:#6b7280}.group{background:var(--tg-theme-secondary-bg-color, #ffffff);border-radius:12px;margin-bottom:10px;overflow:hidden}.group-header{width:100%;display:flex;justify-content:space-between;align-items:center;padding:14px;border:none;background:transparent;font-size:16px;font-weight:600;cursor:pointer}.chevron{color:#6b7280}.group-body{padding:0 14px 8px}.field{padding:10px 0;border-top:1px solid #f0f0f0}.field-label{display:flex;align-items:center;gap:8px;margin-bottom:6px}.label-text{flex:1}.help{width:20px;height:20px;border-radius:50%;border:1px solid #b0b0b0;background-color:#fff;color:#1c1e21;cursor:pointer;line-height:1}.unit{color:#6b7280;font-size:13px}.help-text{font-size:13px;color:#4b5563;background:#f3f4f6;border-radius:8px;padding:8px 10px;margin-bottom:8px}.field input[type=number],.field select{width:100%;padding:8px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#1c1e21;font-size:15px}.switch{position:relative;display:inline-block;width:46px;height:26px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;top:0;right:0;bottom:0;left:0;background:#cbd5e1;border-radius:26px;transition:.2s}.slider:before{content:"";position:absolute;height:20px;width:20px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s}.switch input:checked+.slider{background:#2481cc}.switch input:checked+.slider:before{transform:translate(20px)}.message{margin:10px 0;padding:10px 12px;border-radius:8px;font-size:14px}.message-ok,.message-restarted{background:#dcfce7;color:#166534}.message-error{background:#fee2e2;color:#991b1b}.footer{position:fixed;left:0;right:0;bottom:0;padding:12px;background:var(--tg-theme-secondary-bg-color, #ffffff);border-top:1px solid #e5e7eb;max-width:480px;margin:0 auto}.apply{width:100%;padding:14px;border:none;border-radius:10px;background:#2481cc;color:#fff;font-size:16px;font-weight:600;cursor:pointer}.apply:disabled{background:#9ca3af;cursor:not-allowed}.notice{text-align:center;color:#6b7280;padding:40px 20px}
