:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans TC,sans-serif;font-synthesis:weight;color:#0f172a;background:#f8fafc;font-size:15px;line-height:1.6;--accent: #4f46e5;--muted: #64748b;--border: #e2e8f0}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #a5b4fc;outline-offset:4px}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}h1,h2,p{margin:0}h1{font-size:36px;line-height:1.25;letter-spacing:-1px;font-weight:750}h2{font-size:19px;line-height:1.5}small,.small{font-size:13px}.muted{color:var(--muted)}.success{color:#059669}.danger{color:#dc2626!important}.primary,.secondary,.edit-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:7px;padding:11px 18px;font-size:14px;font-weight:650;min-height:44px;border:1px solid transparent;white-space:nowrap}.primary{color:#fff;background:var(--accent)}.primary:hover{background:#4338ca}.secondary{color:#334155;background:#fff;border-color:#cbd5e1}.secondary:hover{background:#eef2ff}.edit-button{background:#fff;color:var(--accent);border-color:#c7d2fe;min-height:36px;padding:6px 15px}.edit-button:hover{background:#eef2ff}.wide{width:100%}.text-button{background:none;border:none;color:#334155;padding:8px 2px;font-size:14px;font-weight:550;white-space:nowrap}.text-button:hover{color:var(--accent)}.icon-button{display:inline-grid;place-items:center;width:36px;height:36px;padding:7px;border:1px solid var(--border);border-radius:6px;background:#f8fafc;color:#475569;flex-shrink:0}.icon-button:hover{border-color:#a5b4fc;color:var(--accent)}.delete-button{background:transparent;border-color:transparent}.delete-button:hover{background:#fff1f2;border-color:#fecdd3;color:#dc2626}.topbar{min-height:80px;padding:0 40px;display:flex;align-items:center;gap:48px;border-bottom:1px solid var(--border);background:#fff}.brand{color:#0f172a;font-size:30px;line-height:1.2;font-weight:800;letter-spacing:-1.2px}.topbar nav{display:flex;align-self:stretch;gap:30px}.topbar nav button{position:relative;border:0;background:none;color:#475569;font-weight:600;font-size:15px;padding:0 5px}.topbar nav button.selected{color:var(--accent)}.topbar nav button.selected:after{content:"";height:3px;position:absolute;bottom:0;left:0;right:0;background:var(--accent);border-radius:3px 3px 0 0}.topbar-account{display:flex;align-items:center;gap:28px;margin-left:auto}.signed-user{display:flex;align-items:center;gap:10px;font-size:14px;max-width:260px}.signed-user>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;color:#475569;background:#e9edf3;font-weight:700;flex-shrink:0}.workspace{width:100%;max-width:1240px;padding:48px 40px 60px;margin:0 auto}.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:42px}.stats{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin:0 0 40px;padding:0 0 4px}.stat{padding:0 32px 0 0}.stat+.stat{border-left:1px solid var(--border);padding-left:48px}.stat>span{font-size:16px;font-weight:600;color:#334155}.stat strong{display:flex;align-items:baseline;gap:16px;font-size:48px;font-weight:750;line-height:1.4;margin-top:4px;letter-spacing:-1.8px}.stat small{color:#94a3b8;font-weight:600;font-size:36px;letter-spacing:-1px}progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:100%;height:3px;border:none;margin-top:14px;border-radius:4px;background:#e2e8f0}progress::-webkit-progress-bar{background:#e2e8f0;border-radius:4px}progress::-webkit-progress-value{background:var(--accent);border-radius:4px}progress::-moz-progress-bar{background:var(--accent);border-radius:4px}.table-wrap{background:#fff;border:1px solid var(--border);border-radius:9px;overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}th{background:#f8fafc;color:#475569;font-size:14px;font-weight:650;padding:17px 22px;white-space:nowrap}td{padding:24px 22px;border-top:1px solid var(--border);vertical-align:middle}td a{font-weight:650}.account{display:flex;align-items:center;gap:14px}.avatar{display:grid;place-items:center;background:#0b1019;color:#fff;border-radius:50%;height:42px;width:42px;font-size:26px;flex-shrink:0}.destination{font-size:14px;color:#475569;white-space:nowrap}.tags{display:flex;gap:6px;flex-wrap:wrap}.tags span{padding:4px 9px;font-size:13px;font-weight:550;line-height:1.5;color:#4f46e5;background:#eef2ff;border-radius:5px;white-space:nowrap}.tags .quote{color:#7c3aed;background:#f3e8ff}.tags .repost{color:#047857;background:#dcfce7}.tags .reply{color:#0369a1;background:#e0f2fe}.status{display:inline-flex;align-items:center;gap:9px;font-size:14px;font-weight:550;white-space:nowrap}.status i{height:9px;width:9px;border-radius:50%;background:#94a3b8}.enabled i{background:#16a34a}.reason{display:block;margin-top:5px;font-size:13px;color:var(--muted);max-width:260px}.row-actions{display:flex;align-items:center;gap:9px}.empty{display:grid;justify-items:center;gap:16px;padding:65px 20px;color:#94a3b8}.empty h2{color:#64748b;font-size:17px;font-weight:550}.delivery-log{background:#fff;border:1px solid var(--border);border-radius:8px;margin-top:26px;padding:0 22px}.delivery-log summary{padding:19px 0;font-weight:650;cursor:pointer}.delivery-log summary span{margin-left:8px;font-size:14px;font-weight:500}.delivery-log .table-wrap{margin-bottom:20px}.delivery-log>p{padding:0 0 20px;font-size:14px}.delivery-log td{padding:14px 18px}.stream-health{position:relative}.stream-health summary{list-style:none;cursor:pointer}.stream-health summary::-webkit-details-marker{display:none}.health-popover{position:absolute;right:0;top:36px;padding:18px;min-width:240px;z-index:5;border:1px solid var(--border);border-radius:8px;background:#fff}.health-popover span{display:block;font-size:13px;color:var(--muted)}.health-popover strong{font-size:14px;font-weight:550}.error{background:#fff1f2;border:1px solid #fecdd3;color:#9f1239;font-size:14px;padding:12px 16px;border-radius:7px;margin-bottom:22px;overflow-wrap:anywhere}label{display:flex;flex-direction:column;gap:9px;font-size:14px;font-weight:550}input:not([type=checkbox]){width:100%;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#0f172a;padding:11px 12px;font-size:15px;min-width:0;line-height:1.5}input:focus{outline:3px solid #e0e7ff;border-color:#818cf8}input::placeholder{color:#94a3b8}form{display:grid;gap:22px}fieldset{padding:0;border:0;margin:0}legend{font-size:14px;font-weight:550;margin-bottom:12px}.checks{display:flex;gap:20px;flex-wrap:wrap}.check{display:inline-flex;align-items:center;flex-direction:row;gap:9px;font-weight:450}.check input{accent-color:var(--accent);width:18px;height:18px;margin:0}dialog{border:1px solid var(--border);border-radius:12px;padding:28px;width:460px;max-width:calc(100% - 32px);max-height:calc(100dvh - 40px);color:#0f172a;background:#fff;box-shadow:0 20px 80px #0f172a22}dialog::backdrop{background:#0f172a55}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.dialog-head .icon-button{border:0;background:none}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:8px}.dialog-actions>button{min-width:100px}.auth-layout{min-height:100dvh;display:flex;flex-direction:column;background:#fff}.auth-header{padding:28px 40px}.auth-panel{margin:auto;width:380px;max-width:calc(100% - 40px);padding:40px 0 120px;text-align:center}.auth-panel h1{margin:28px 0 36px;font-size:32px}.auth-panel form{text-align:left}.auth-panel form>.text-button{justify-self:center}.route-mark{display:flex;align-items:center;justify-content:center;gap:24px;color:#94a3b8}.x-mark,.discord-mark{width:64px;height:64px;display:grid;place-items:center;border-radius:50%;color:#fff}.x-mark{background:#0b1019;font-size:40px}.discord-mark{background:#5865f2}.google-button{width:100%;background:#fff;color:#1f2937;border:1px solid #cbd5e1;border-radius:7px;min-height:52px;padding:12px 20px;display:flex;align-items:center;justify-content:center;gap:14px;font-weight:550;font-size:16px}.google-button:hover{background:#f8fafc;border-color:#94a3b8}.identity{padding:12px 0;text-align:center;border-bottom:1px solid var(--border);overflow-wrap:anywhere;color:#475569}.loading{padding:80px;text-align:center;color:var(--muted)}.admin-section{padding:0 0 32px;margin-bottom:32px;border-bottom:1px solid var(--border)}.admin-section h2{margin-bottom:22px}.inline-form{display:flex;align-items:flex-end;gap:14px}.inline-form label{max-width:280px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:16px}.section-heading h2{margin:0}.invite-result{padding:20px;background:#eef2ff;border-radius:8px;margin-bottom:18px}.table-empty{padding:30px;text-align:center;font-size:14px}.account-email{display:block;color:#64748b;font-size:13px;margin-top:3px}.admin-section td{padding:18px 22px}@media(max-width:1100px){.topbar{padding:0 24px;gap:28px}.topbar-account{gap:18px}.signed-user{max-width:160px}.stream-health .status{font-size:13px}.workspace{padding:36px 24px}th,td{padding-left:16px;padding-right:16px}}@media(max-width:760px){h1{font-size:28px}.topbar{min-height:72px;padding:18px 20px 0;gap:24px;flex-wrap:wrap}.brand{font-size:26px}.topbar nav{gap:20px;order:3;width:100%;min-height:43px}.topbar nav button{font-size:14px}.topbar-account{gap:15px}.signed-user>span:last-child{display:none}.user-avatar{width:29px;height:29px}.stream-health{position:absolute;top:79px;right:20px;z-index:4}.stream-health .status{font-size:12px}.health-popover{top:32px}.workspace{padding:30px 20px 40px}.page-header{gap:12px;margin-bottom:32px}.page-header .primary{font-size:13px;padding:10px 13px;min-height:42px}.stats{gap:20px;margin-bottom:30px}.stat{padding:0}.stat+.stat{padding-left:20px}.stat>span{font-size:14px}.stat strong{font-size:32px;gap:7px;letter-spacing:-1px}.stat small{font-size:23px}progress{margin-top:12px}.subscriptions thead{display:none}.subscriptions,.subscriptions tbody,.subscriptions tr,.subscriptions td{display:block}.subscriptions tr{padding:20px 16px;border-top:1px solid var(--border);display:grid;grid-template-columns:1fr auto;gap:14px}.subscriptions tr:first-child{border:0}.subscriptions td{border:0;padding:0}.subscriptions td:nth-child(1){grid-column:1;grid-row:1}.subscriptions td:nth-child(2){grid-column:1;grid-row:3}.subscriptions td:nth-child(3){grid-column:1 / -1;grid-row:2;margin-left:48px}.subscriptions td:nth-child(4){grid-column:2;grid-row:1;text-align:right}.subscriptions td:nth-child(5){grid-column:2;grid-row:3}.account{gap:10px}.avatar{width:36px;height:36px;font-size:24px}.account a{font-size:14px;overflow-wrap:anywhere}.destination{font-size:13px}.reason{font-size:12px;max-width:120px}.status{font-size:13px;gap:7px}.row-actions{gap:6px}.row-actions .edit-button{padding:5px 10px}.row-actions .icon-button{width:32px;height:34px;padding:6px}.tags span{font-size:12px}.delivery-log{padding:0 16px}.delivery-log summary{font-size:15px}.inline-form{align-items:stretch;flex-direction:column}.inline-form label{max-width:none}.inline-form button{align-self:flex-start}.checks{gap:16px}.auth-header{padding:24px}.auth-panel{padding-bottom:90px}dialog{padding:22px}.admin-section .table-wrap table{min-width:480px}.delivery-log table{min-width:550px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s,color .15s,border-color .15s}dialog[open]{animation:appear .15s ease-out}@keyframes appear{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
