/* PIN-Dialog und Bot-Zentrale: Knopf- und Feldstil aus dem früheren css/admin-modern.css (Datei mit dem alten
   Admin-Panel entfernt). Steht hier, weil bot-workspace.css direkt an dessen Stelle in der Kaskade lädt. */
:is(#adminPinModal, #botsModal) .btn {
    border-radius: 12px !important;
    font-weight: 750;
    font-size: 13px;
    padding: 8px 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background: rgba(30, 41, 59, 0.9) !important;
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
    line-height: 1.3;
    user-select: none;
    text-decoration: none !important;
}
:is(#adminPinModal, #botsModal) .btn:hover {
    transform: translateY(-1.5px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}
:is(#adminPinModal, #botsModal) .btn:active {
    transform: scale(0.96) translateY(1px) !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}
:is(#adminPinModal, #botsModal) .btn.btn-xs,
:is(#adminPinModal, #botsModal) .btn.xs {
    min-height: unset !important;
    max-height: 28px !important;
    padding: 4px 11px !important;
    font-size: 11.5px !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    gap: 5px !important;
}
:is(#adminPinModal, #botsModal) .btn.btn-sm,
:is(#adminPinModal, #botsModal) .btn.sm {
    min-height: unset !important;
    max-height: 36px !important;
    padding: 7px 14px !important;
    font-size: 12.5px !important;
    border-radius: 10px !important;
    font-weight: 750 !important;
    line-height: 1.25 !important;
}
:is(#adminPinModal, #botsModal) .btn.cyan,
:is(#adminPinModal, #botsModal) .btn-3d-cyan,
:is(#adminPinModal, #botsModal) .btn.blue {
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%) !important;
    color: #ffffff !important;
    border-color: #7dd3fc !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
:is(#adminPinModal, #botsModal) .btn.cyan:hover,
:is(#adminPinModal, #botsModal) .btn-3d-cyan:hover,
:is(#adminPinModal, #botsModal) .btn.blue:hover {
    background: linear-gradient(180deg, #7dd3fc 0%, #0369a1 100%) !important;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
}
:is(#adminPinModal, #botsModal) .btn.emerald,
:is(#adminPinModal, #botsModal) .btn.green,
:is(#adminPinModal, #botsModal) .btn.cash,
:is(#adminPinModal, #botsModal) .btn-3d-green {
    background: linear-gradient(180deg, #34d399 0%, #059669 100%) !important;
    color: #ffffff !important;
    border-color: #6ee7b7 !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
:is(#adminPinModal, #botsModal) .btn.emerald:hover,
:is(#adminPinModal, #botsModal) .btn.green:hover,
:is(#adminPinModal, #botsModal) .btn.cash:hover,
:is(#adminPinModal, #botsModal) .btn-3d-green:hover {
    background: linear-gradient(180deg, #6ee7b7 0%, #047857 100%) !important;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
}
:is(#adminPinModal, #botsModal) .btn.ruby,
:is(#adminPinModal, #botsModal) .btn.red,
:is(#adminPinModal, #botsModal) .btn.danger,
:is(#adminPinModal, #botsModal) .btn-3d-red {
    background: linear-gradient(180deg, #fb7185 0%, #e11d48 100%) !important;
    color: #ffffff !important;
    border-color: #fda4af !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
:is(#adminPinModal, #botsModal) .btn.ruby:hover,
:is(#adminPinModal, #botsModal) .btn.red:hover,
:is(#adminPinModal, #botsModal) .btn.danger:hover,
:is(#adminPinModal, #botsModal) .btn-3d-red:hover {
    background: linear-gradient(180deg, #fda4af 0%, #be123c 100%) !important;
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
}
:is(#adminPinModal, #botsModal) .btn.gold,
:is(#adminPinModal, #botsModal) .btn.amber,
:is(#adminPinModal, #botsModal) .btn-3d-amber {
    background: linear-gradient(180deg, #fde68a 0%, #d97706 100%) !important;
    color: #0f172a !important;
    border-color: #fef08a !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
    font-weight: 800 !important;
}
:is(#adminPinModal, #botsModal) .btn.gold:hover,
:is(#adminPinModal, #botsModal) .btn.amber:hover,
:is(#adminPinModal, #botsModal) .btn-3d-amber:hover {
    background: linear-gradient(180deg, #fef08a 0%, #b45309 100%) !important;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}
:is(#adminPinModal, #botsModal) .btn.purple,
:is(#adminPinModal, #botsModal) .btn-3d-purple,
:is(#adminPinModal, #botsModal) .btn-3d-indigo {
    background: linear-gradient(180deg, #c084fc 0%, #7e22ce 100%) !important;
    color: #ffffff !important;
    border-color: #d8b4fe !important;
    box-shadow: 0 4px 14px rgba(126, 34, 206, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
:is(#adminPinModal, #botsModal) .btn.purple:hover,
:is(#adminPinModal, #botsModal) .btn-3d-purple:hover,
:is(#adminPinModal, #botsModal) .btn-3d-indigo:hover {
    background: linear-gradient(180deg, #d8b4fe 0%, #6b21a8 100%) !important;
    box-shadow: 0 6px 20px rgba(126, 34, 206, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
}
:is(#adminPinModal, #botsModal) .btn.quiet,
:is(#adminPinModal, #botsModal) .btn-3d-glass,
:is(#adminPinModal, #botsModal) .btn.secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}
:is(#adminPinModal, #botsModal) .btn.quiet:hover,
:is(#adminPinModal, #botsModal) .btn-3d-glass:hover,
:is(#adminPinModal, #botsModal) .btn.secondary:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}
:is(#adminPinModal, #botsModal) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    background: #0b1120 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 10px !important;
    color: #f1f5f9 !important;
    padding: 9px 12px;
    font-size: 13px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
:is(#adminPinModal, #botsModal) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus {
    border-color: #fbbf24 !important;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18) !important;
    outline: none !important;
}

/* Bot workspace: presentation only; conditional visibility stays with the existing controller. */
.tc-redesign .topbar { background:linear-gradient(110deg,#12283fee,#25233fef) !important; gap:14px; min-height:58px; padding:8px 24px !important; }
.tc-redesign .topbar-right { padding:0; border:0; background:transparent; gap:8px; align-items:center; }
.tc-redesign #headerBotBtn { background:linear-gradient(135deg,#244f70,#36487c) !important; border:1px solid #76c4e551 !important; border-radius:8px !important; padding:5px 9px; font-size:11px; font-weight:600 !important; white-space:nowrap; }
.tc-redesign #headerBotBtn b { font:10px var(--font-mono); color:#beebfb; padding:2px 5px; background:#050e2855; border-radius:4px; }
.tc-redesign #dashBotBtn { background:linear-gradient(120deg,#2b63843d,#6950a036) !important; border:1px solid #7ebedf66 !important; color:#b8e8ff !important; }
.tc-redesign #adminBtn { border-radius:8px !important; padding:5px 9px; font-weight:600 !important; }
.tc-redesign .topbar { grid-template-columns:auto minmax(0,1fr) auto; padding:8px 24px !important; }
.tc-redesign .topbar-right { border:0; background:transparent; padding:0; gap:8px; }
.tc-management-tools { display:flex; align-items:center; gap:4px; padding:3px 5px 3px 10px; border:1px solid #d9bd7c40; border-radius:10px; background:linear-gradient(110deg,#bc914619,#a592df0c); }
.tc-management-label { max-width:88px; font-size:8.5px; text-transform:uppercase; letter-spacing:.1em; color:#c6b893; padding-right:4px; }
.tc-management-tools[data-kind=assigned] { border-color:#8dcdd33b; background:linear-gradient(110deg,#56b4c119,#a592df0c); }.tc-management-tools[data-kind=assigned] .tc-management-label { color:#a7d5dd; }
.tc-redesign .tc-management-tools #adminBtn { background:#e9cc911a !important; border:1px solid #e3c8884d !important; color:#efdbad !important; min-height:30px; font-size:11px; }
.tc-redesign .tc-management-tools #headerBotBtn { background:#76bed416 !important; border:1px solid #96cee443 !important; color:#b9e5f3 !important; min-height:30px; font-size:11px; }
.tc-redesign .tc-management-tools .btn:hover { border-color:#dce9fa88 !important; background:#dce9fa16 !important; }
.tc-redesign .topbar .user-chip { background:#101e30 !important; border:1px solid #a6bfd735 !important; border-radius:10px !important; box-shadow:none !important; }
@media(max-width:980px) {
 .tc-redesign .topbar { grid-template-columns:auto minmax(0,1fr); gap:12px; }
 .tc-redesign .topbar-right { justify-self:end; }
 .tc-redesign .topbar-nav { grid-row:2; grid-column:1/-1; justify-self:stretch; justify-content:center !important; border-top:1px solid #a6bfd716 !important; padding-top:7px; }
 .tc-redesign .topbar-nav .nav-link { flex:1; justify-content:center; }
}
@media(max-width:760px) {
 .tc-redesign .topbar { padding:12px 16px !important; }
 .tc-management-label { display:none; }.tc-management-tools { padding:4px; gap:4px; }
 .tc-redesign .topbar-left { gap:10px; }.tc-redesign .topbar-right { gap:7px; }
}
@media(max-width:520px) {
 .tc-redesign .topbar { grid-template-columns:1fr auto; gap:10px; }
 .tc-redesign .topbar-right { display:contents; }
 .tc-redesign .topbar #accountArea { grid-column:2; grid-row:1; justify-self:end; }
 .tc-redesign .topbar #headerSoundBtn { grid-column:2; grid-row:3; justify-self:end; min-height:36px; }
 .tc-redesign .tc-management-tools { grid-row:3; grid-column:1; justify-self:start; }
 .tc-redesign .topbar-nav { grid-row:2; }
 .tc-redesign #headerCreatorBadge { grid-row:4; grid-column:1/-1; justify-self:start; }
 .tc-redesign .tc-management-tools #adminBtn,.tc-redesign .tc-management-tools #headerBotBtn { padding:8px 12px !important; font-size:11px; min-height:36px; }
 .tc-redesign .topbar #accountArea .user-chip-name { max-width:118px; font-size:11px !important; }
}
.tc-redesign #botsModal { padding:24px; background:#060a15ed; backdrop-filter:blur(14px); z-index:11000; overflow-y:auto !important; overflow-x:hidden !important; }
#customBotCreateModal, .tc-redesign #customBotCreateModal { z-index:99999 !important; }
#customBotCreateModal.active, #customBotCreateModal:not([hidden]) { display:flex !important; z-index:99999 !important; }
.tc-redesign #botsModal .mylify-modal-card { display:grid !important; grid-template-columns:215px minmax(0,1fr); align-content:start; width:min(1300px,100%); max-width:1300px; max-height:calc(100dvh - 48px); border:1px solid #667fab66 !important; border-radius:24px !important; overflow-y:auto !important; overflow-x:hidden !important; padding:0 !important; background:radial-gradient(ellipse at 10% 0%,#395a8638,transparent 55%),#111a2b !important; box-shadow:0 35px 100px #0008 !important; color:#d8e3f5; }
.tc-redesign #botsModal .tc-bot-workspace-head { position:sticky; top:0; z-index:30; }
.tc-bot-workspace-head { grid-column:1/-1; display:flex; align-items:center; gap:24px; padding:25px 27px; border-bottom:1px solid #829fca29; background:linear-gradient(120deg,#273d5c,#2b2a48); }
.tc-bot-workspace-head > div { flex:1; }
.tc-bot-eyebrow { font-size:8px; letter-spacing:.2em; color:#94d4e9; }
.tc-redesign #tcBotWorkspaceTitle { font:500 clamp(21px,2.3vw,30px)/1.15 var(--font-heading); letter-spacing:-.035em; margin:8px 0; color:#edf4ff; }
#tcBotFleetSummary { font-size:11px; color:#acbdd4; margin:0; }
.tc-bot-search { display:flex; align-items:center; gap:8px; padding:0 12px; border:1px solid #779bc64a; border-radius:10px; background:#111e3566; color:#8dd6ec; width:245px; }
.tc-bot-search input { font:11px var(--font-body); min-width:0; width:100%; border:0 !important; outline:0; padding:12px 0; background:transparent !important; color:#e0eaff; }
.tc-bot-search:focus-within { outline:2px solid #9ed9ee; outline-offset:3px; }
.tc-redesign #botsModal .modal-close { display:grid; place-items:center; width:35px; height:35px; flex-shrink:0; border:1px solid #a0b4da38; border-radius:10px; color:#c7d7f0; background:#ffffff05; }
.tc-redesign #botsTabContainer { grid-column:1; grid-row:2 / span 8; display:flex; flex-direction:column; align-self:stretch; justify-content:flex-start; overflow:visible; gap:8px; margin:0; padding:20px 12px; border:0; border-right:1px solid #88a8d329; background:#0c15276b; }
.tc-redesign #botsTabContainer .bot-tab-btn { display:flex; align-items:center; width:100%; min-width:0; gap:11px; padding:13px 10px; margin:0; border:1px solid transparent; border-radius:13px; background:transparent; box-shadow:none; color:#a6b9d3; text-align:left; transition:background .2s,border-color .2s; }
.tc-redesign #botsTabContainer .bot-tab-btn[hidden] { display:none !important; }
.tc-redesign #botsTabContainer .bot-tab-btn:hover { background:#42608620; border-color:#81b5db38; transform:none; }
.tc-redesign #botsTabContainer .bot-tab-btn.active { border-color:#72bedb70; background:linear-gradient(125deg,#3a719b3b,#62529825); box-shadow:inset 3px 0 #84d4e7; }
.tc-redesign .bot-tab-avatar { width:36px; height:36px; border-radius:8px; border:1px solid #d8ebff35; image-rendering:pixelated; flex-shrink:0; }
.bot-tab-copy { display:block; min-width:0; flex:1; }
.tc-redesign .bot-tab-name { display:block; color:#dce9f9; font-size:12px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tc-redesign .bot-tab-owner { display:block; font-size:9px; color:#a1adcc; margin-top:3px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bot-tab-state { display:flex; align-items:center; gap:5px; font-size:8px; margin-top:6px; color:#899bb4; }
.bot-tab-state i { width:5px; height:5px; background:#91a3b4; border-radius:50%; }
[data-status=online] .bot-tab-state { color:#92dbc5; }[data-status=online] .bot-tab-state i { background:#92dbc5; box-shadow:0 0 8px #75d2b66b; }
[data-status=pending] .bot-tab-state { color:#e5c686; }[data-status=pending] .bot-tab-state i { background:#e5c686; }
.bot-tab-arrow { font-size:15px; color:#8abbd7; }.bot-tab-btn:not(.active) .bot-tab-arrow { visibility:hidden; }
#tcBotSearchEmpty { grid-column:1; font-size:11px; color:#a7b9d4; padding:15px; }
.tc-redesign #botsModal .mylify-modal-head { grid-column:2; padding:23px 24px 18px; margin:0; background:transparent !important; border:0; gap:15px; flex-wrap:wrap; }
.tc-redesign #botsModal .mylify-head-left { gap:14px; min-width:0; }
.tc-redesign #botsModal .mylify-avatar { width:56px; height:56px; border:1px solid #c6ccec66; border-radius:14px; box-shadow:0 8px 25px #0005; }
.tc-redesign #botsModal .mylify-status-indicator { background:#8c9bb2; border-color:#162139; box-shadow:none; animation:none; }
.tc-redesign #botsModal[data-bot-state=online] .mylify-status-indicator { background:#85d7b7; }
.tc-redesign #botsModal[data-bot-state=pending] .mylify-status-indicator { background:#e1bf78; }
.tc-redesign #activeBotName { font:600 25px var(--font-heading); letter-spacing:-.03em; }
.tc-redesign #botsModal .mylify-subtitle { font-size:10px; color:#8ca2c0; margin-top:6px; }
.tc-redesign #botsModal .status-pill { font:9px var(--font-body); border-radius:7px; padding:5px 8px; box-shadow:none; border:1px solid #a7bbd82b; }
.tc-redesign #botsModal .bot-power-wrap { background:#162239 !important; border-color:#728db643 !important; border-radius:10px !important; }
.tc-redesign #activeBotAdminBar { grid-column:2; margin:0 24px 15px !important; padding:12px !important; background:linear-gradient(120deg,#c19b4212,#7970c613) !important; border:1px solid #c9b78230 !important; border-radius:11px !important; }
.tc-redesign #activeBotAdminBar > div { flex-wrap:wrap; }
.tc-redesign #activeBotAuthCard,.tc-redesign #activeBotIngameNotice { grid-column:2; margin:0 24px 18px !important; box-shadow:none !important; }
.tc-redesign #botsModal .mylify-modal-body { grid-column:2; display:block !important; padding:0 24px 24px; overflow:visible; min-width:0; }
.tc-redesign #botsModal .bot-modal-subnav { padding:5px !important; gap:5px !important; background:#080f213b; border:1px solid #90a6d12b !important; border-radius:12px; margin:0 0 20px !important; }
.tc-redesign #botsModal .bot-modal-subnav .btn { flex:1; justify-content:center; border:0 !important; background:transparent !important; font-weight:500 !important; font-size:11px; min-height:38px; color:#9eafc9; box-shadow:none !important; }
.tc-redesign #botsModal .bot-modal-subnav .btn.active { background:linear-gradient(120deg,#3b6c9866,#7265af40) !important; color:#e0efff; box-shadow:inset 0 1px #bbd8ff21 !important; }
.tc-redesign #botsModal .mylify-stats-bar { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:17px; }
.tc-redesign #botsModal .mylify-stat-card { min-width:0; padding:14px; border:1px solid #749cc536 !important; background:linear-gradient(135deg,#2a466b55,#18243e) !important; border-radius:12px; box-shadow:none; }
.tc-redesign #botsModal .mylify-stat-card:nth-child(3n+2) { background:linear-gradient(135deg,#3a346b60,#1a2339) !important; border-color:#a294c638 !important; }
.tc-redesign #botsModal .stat-label { color:#93adc9; font-size:9px; font-weight:500; }
.tc-redesign #botsModal .stat-value { color:#deebfb; font-size:13px; font-weight:500; overflow-wrap:anywhere; }
.tc-redesign #botsModal .mylify-action-bar { gap:6px !important; padding:0 0 2px; }
.tc-redesign #botsModal .btn { border-radius:8px !important; font-weight:500 !important; box-shadow:none !important; font-size:10px; padding:8px 11px; }
.tc-redesign #botsModal .btn.danger { background:#bf536c13 !important; border:1px solid #cf71894a !important; color:#e8a0b2 !important; }
.tc-redesign #botsModal .btn.green { background:#4ea8881c !important; border:1px solid #75c7a450 !important; color:#a9e8cc !important; }
.tc-redesign #botsModal .btn.gold { background:#bda0521c !important; border:1px solid #ddc78b50 !important; color:#eed6a4 !important; }
.tc-redesign #botsModal .btn.cyan { background:#4b99b924 !important; border:1px solid #80c8e350 !important; color:#b4e5f6 !important; }
.tc-redesign #botsModal .mylify-terminal-wrap { border-radius:14px; border:1px solid #729bc64f; overflow:hidden; box-shadow:0 10px 25px #0002; background:#0a1323; }
.tc-redesign #botsModal .mylify-terminal-head { background:#1c2c46; border-bottom:1px solid #7ea4cf2b; padding:12px 15px; flex-wrap:wrap; gap:10px; }
.tc-redesign #botsModal .terminal-dot { width:6px; height:6px; }
.tc-redesign #botsModal .terminal-title > span:last-child { font:9px var(--font-body) !important; letter-spacing:.1em !important; color:#a7c8e7 !important; }
.tc-redesign #botsModal .terminal-filter-bar { gap:4px; padding:9px 12px; background:#152137; flex-wrap:wrap; }
.tc-redesign #botsModal .term-filter-btn { font-size:9px; border-radius:6px; background:transparent; border:1px solid transparent; padding:6px 8px; color:#8fa6c6; }
.tc-redesign #botsModal .term-filter-btn.active { color:#bbdfef; background:#559bb326; border-color:#79bedc42; }
.tc-redesign #botsModal .mylify-chat-window { background:radial-gradient(ellipse at top left,#16365738,transparent 80%),#0a1323; min-height:220px; height:280px; max-height:45vh; font-size:11px; line-height:1.8; padding:16px; scrollbar-color:#415777 #0a1323; }
.tc-redesign #botsModal .mylify-chat-form { margin:0; padding:10px 13px; border-top:1px solid #85a5cf2b; background:#121f35; gap:10px; }
.tc-redesign #activeBotChatInput { background:transparent; border:0; color:#cfe1f6; font-size:11px; min-width:0; }
.tc-redesign #botsModal .mylify-quick-chips { padding:11px 14px; background:#111d32; gap:6px; }
.tc-redesign #botsModal .quick-chip { font:9px var(--font-mono); padding:6px 9px; background:#32547827; border:1px solid #9cb3d12b; border-radius:5px; color:#a2bbd9; }
.tc-redesign #botsModal .bot-bank-card,.tc-redesign #botsModal .bot-schedule-card { background:linear-gradient(135deg,#273650,#1d263f) !important; border-color:#a3b6d23b !important; box-shadow:none !important; padding:20px !important; }
.tc-redesign #botsModal .bot-bank-card h3,.tc-redesign #botsModal .bot-schedule-card h3 { font-weight:500 !important; font-size:16px !important; }
.tc-redesign #botsModal #activeBotPocketBalance,.tc-redesign #botsModal #activeBotBankBalance,.tc-redesign #botsModal #activeBotBricks { font-family:var(--font-heading) !important; font-weight:500 !important; font-size:25px !important; letter-spacing:-.03em; overflow-wrap:anywhere; }
.tc-redesign #botsModal #botAutoBankRow { background:#dac0780a !important; border-color:#cfb97930 !important; }
.tc-redesign #botsModal input:not([type=checkbox]),.tc-redesign #botsModal select { min-width:0; border-radius:8px; color:#dce8f7; }
.tc-redesign #botsModal .badge { font-size:9px !important; font-weight:500 !important; }
@media(max-width:1000px) {
 .tc-redesign #botsModal .mylify-modal-card { grid-template-columns:170px minmax(0,1fr); }
 .tc-bot-workspace-head { gap:14px; padding:20px; }.tc-bot-search { width:205px; }
 .tc-redesign #botsModal .mylify-stats-bar { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:650px) {
 .tc-redesign .topbar { gap:9px; padding:10px !important; }.tc-redesign .topbar-right { gap:4px; padding:3px; border-radius:12px; }
 .tc-redesign #headerBotBtn { padding:8px 7px; gap:4px !important; font-size:9px; }.tc-redesign #headerBotBtn b { padding:1px 3px; font-size:8px; }
 .tc-redesign #adminBtn { padding:8px !important; font-size:9px; }.tc-redesign .topbar .user-chip-name { max-width:78px; }
 .tc-redesign #botsModal { padding:0; }.tc-redesign #botsModal .mylify-modal-card { display:block !important; max-height:100dvh; width:100%; border:0 !important; border-radius:0 !important; }
 .tc-bot-workspace-head { flex-wrap:wrap; gap:12px; padding:19px 16px; position:relative; }.tc-bot-workspace-head > div { flex-basis:75%; }
 .tc-bot-workspace-head .modal-close { position:absolute; top:18px; right:16px; }.tc-bot-search { width:100%; }
 .tc-redesign #botsTabContainer { flex-direction:row; overflow-x:auto; padding:12px; border-bottom:1px solid #8caace2b; gap:6px; }
 .tc-redesign #botsTabContainer .bot-tab-btn { width:165px; flex-shrink:0; padding:10px; }.tc-redesign .bot-tab-avatar { width:28px; height:28px; }
 .tc-redesign #botsModal .mylify-modal-head { padding:18px 16px 12px; }.tc-redesign #botsModal .mylify-modal-body { padding:0 12px 18px; }
 .tc-redesign #activeBotName { font-size:23px; }.tc-redesign #botsModal .mylify-subtitle { font-size:9px; }.tc-redesign #activeBotAdminBar { margin:0 12px 14px !important; }
 .tc-redesign #activeBotAuthCard,.tc-redesign #activeBotIngameNotice { margin:0 12px 14px !important; }
 .tc-redesign #botsModal .bot-modal-subnav .btn { font-size:10px; padding:8px 4px !important; }.tc-redesign #botsModal .mylify-stat-card { padding:12px; }
 .tc-redesign #botsModal .mylify-terminal-head { padding:11px; }.tc-redesign #botsModal .mylify-chat-window { min-height:220px; height:280px; }
 .tc-redesign #botsModal .bot-bank-card,.tc-redesign #botsModal .bot-schedule-card { padding:13px !important; }
 .tc-redesign #botsModal .bot-bank-card > div > div { min-width:0; flex-wrap:wrap; }
}
/* Comfortable workspace density: names, state, actions and logs at readable sizes. */
.tc-redesign #botsModal .mylify-modal-card { grid-template-columns:235px minmax(0,1fr); width:min(1300px,100%) !important; max-width:1300px !important; max-height:calc(100dvh - 48px) !important; height:auto !important; overflow-y:auto !important; overflow-x:hidden !important; background:radial-gradient(ellipse at 0 0,#2c63772b,transparent 65%),#101d2c !important; border-color:#9dc2dc48 !important; }
.tc-bot-workspace-head { padding:26px 28px; background:linear-gradient(110deg,#1d3847,#262a43); }
.tc-bot-eyebrow { font-size:10px; letter-spacing:.17em; color:#99d9d9; }
.tc-redesign #tcBotWorkspaceTitle { font-size:30px; margin:9px 0; font-weight:500; }
#tcBotFleetSummary { font-size:12px; color:#b4c6d6; }
.tc-bot-search { width:265px; background:#0c1d2b8c; border-color:#acd4de3b; border-radius:12px; }.tc-bot-search input { font-size:12px; padding:14px 0; }
.tc-redesign #botsTabContainer { background:#0a1523a6; padding:20px 14px; }
.tc-redesign #botsTabContainer .bot-tab-btn { padding:14px 11px; border-radius:12px; gap:12px; }
.tc-redesign #botsTabContainer .bot-tab-btn.active { background:linear-gradient(100deg,#3c8b9140,#7496b517); border-color:#8bcad24f; box-shadow:inset 3px 0 #92d8d0; }
.tc-redesign .bot-tab-name { font-size:13px; }.tc-redesign .bot-tab-owner { font-size:11px; margin-top:5px; }.bot-tab-state { font-size:10px; gap:6px; }
.tc-redesign .bot-tab-avatar { width:38px; height:38px; border-radius:10px; }
.tc-redesign #botsModal .mylify-modal-head { padding:24px 26px; }
.tc-redesign #activeBotName { font-size:29px; }.tc-redesign #botsModal .mylify-subtitle { font-size:12px; line-height:1.6; }
.tc-redesign #botsModal .status-pill { font-size:11px; padding:6px 9px; }
.tc-redesign #botsModal .bot-power-wrap { padding:10px 12px !important; background:#07172260 !important; }
.tc-redesign #activeBotAdminBar { margin:0 26px 20px !important; padding:14px !important; gap:12px !important; background:#bb9f4f0c !important; }
.tc-redesign #activeBotAdminBar .btn { min-height:34px; }
.tc-redesign #botsModal .mylify-modal-body { padding:0 26px 26px; }
.tc-redesign #botsModal .bot-modal-subnav { background:#09172699; border-radius:13px; padding:6px !important; }
.tc-redesign #botsModal .bot-modal-subnav .btn { min-height:43px; font-size:12px; }
.tc-redesign #botsModal .bot-modal-subnav .btn.active { background:linear-gradient(120deg,#3c818659,#56688b36) !important; color:#d3f2eb; }
.tc-redesign #botsModal .mylify-stat-card { padding:17px; background:linear-gradient(130deg,#2343557a,#152638) !important; border-color:#91bbc833 !important; border-radius:13px; }
.tc-redesign #botsModal .mylify-stat-card:nth-child(3n+2) { background:linear-gradient(130deg,#343e5b80,#192839) !important; }
.tc-redesign #botsModal .stat-label { font-size:11px; line-height:1.5; color:#abc0d3; }.tc-redesign #botsModal .stat-value { font-size:15px; margin-top:5px; color:#e1edf4; }
.tc-redesign #botsModal .btn { font-size:12px; padding:9px 12px; min-height:36px; }
.tc-redesign #botsModal .mylify-action-bar { gap:8px !important; flex-wrap:wrap; margin:0 0 16px; }
.tc-redesign #botsModal .mylify-terminal-wrap { border-color:#89b5c747; background:#081320; border-radius:15px; }
.tc-redesign #botsModal .mylify-terminal-head { background:#1b3243; padding:14px 16px; }
.tc-redesign #botsModal .terminal-title > span:last-child { font-size:10px !important; color:#c6dce8 !important; }
.tc-redesign #botsModal .terminal-filter-bar { padding:10px 13px; background:#132637; gap:5px; }
.tc-redesign #botsModal .term-filter-btn { font-size:11px; min-height:32px; padding:7px 10px; color:#acc5d6; border-radius:7px; }
.tc-redesign #botsModal .term-filter-btn.active { background:#438b9233; color:#b9f0e9; border-color:#7ebfc64d; }
.tc-redesign #botsModal .mylify-chat-window { background:linear-gradient(125deg,#10283b40,transparent),#08131f; font-size:12px; line-height:1.85; padding:18px; min-height:260px; }
.tc-redesign #botsModal .mylify-chat-form { padding:13px 15px; background:#142637; }
.tc-redesign #activeBotChatInput { font-size:13px; min-height:36px; }
.tc-redesign #botsModal .quick-chip { font-size:11px; min-height:31px; color:#b7cddd; border-color:#a1bac92e; border-radius:7px; }
.tc-redesign #botsModal .bot-bank-card,.tc-redesign #botsModal .bot-schedule-card { background:linear-gradient(135deg,#223b4c,#172839) !important; border-radius:15px !important; }
.tc-redesign #botsModal .bot-bank-card h3,.tc-redesign #botsModal .bot-schedule-card h3 { font-size:19px !important; }
@media(max-width:1000px) {
 .tc-redesign #botsModal .mylify-modal-card { grid-template-columns:200px minmax(0,1fr); }
 .tc-bot-workspace-head { flex-wrap:wrap; gap:16px; }.tc-bot-search { width:235px; }
 .tc-redesign #botsModal .mylify-modal-head { padding:20px; }.tc-redesign #botsModal .mylify-modal-body { padding:0 20px 20px; }
 .tc-redesign #botsModal .mylify-title-row { flex-wrap:wrap; }
}
@media(max-width:650px) {
 .tc-redesign #botsModal { padding:0 !important; overflow-y:auto !important; }.tc-redesign #botsModal .mylify-modal-card { width:100% !important; max-height:100dvh !important; height:100dvh !important; overflow-y:auto !important; overflow-x:hidden !important; }
 .tc-bot-workspace-head { padding:23px 18px 18px; }.tc-bot-workspace-head > div { padding-right:24px; }
 .tc-redesign #tcBotWorkspaceTitle { font-size:25px; }.tc-bot-search { width:100%; }
 .tc-redesign #botsTabContainer { padding:12px; }.tc-redesign #botsTabContainer .bot-tab-btn { width:185px; padding:12px 10px; }
 .tc-redesign #botsModal .mylify-modal-head { padding:20px 16px; }.tc-redesign #botsModal .mylify-modal-body { padding:0 12px 20px; }
 .tc-redesign #activeBotName { font-size:26px; }.tc-redesign #botsModal .mylify-subtitle { font-size:11px; }
 .tc-redesign #activeBotAdminBar { margin:0 12px 18px !important; }
 .tc-redesign #botsModal .bot-modal-subnav .btn { min-height:43px; font-size:11px; line-height:1.4; }
 .tc-redesign #botsModal .mylify-stat-card { padding:13px; }.tc-redesign #botsModal .stat-value { font-size:13px; }
 .tc-redesign #botsModal .mylify-chat-window { min-height:240px; font-size:12px; padding:13px; }
}
@media not all { .tc-redesign #botsModal *, .tc-redesign .topbar * { animation:none !important; transition:none !important; } }
