*{box-sizing:border-box}body{margin:0;background:#101217;color:#e8eaf0;font:14px system-ui,Segoe UI,Arial}header{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;background:#171a21;border-bottom:1px solid #2a2f3a}h1{margin:0 0 4px;font-size:22px}#status{color:#9da7b8}.cards{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:10px;padding:14px 18px}.card,.panel{background:#171a21;border:1px solid #2a2f3a;border-radius:10px}.card{padding:12px;display:flex;flex-direction:column;gap:6px}.card b{color:#919bad;font-size:11px}.card span{font-size:18px}.panel{margin:0 18px 14px;padding:14px}h2{font-size:14px;margin:0 0 10px}.mono{font-family:Consolas,monospace;white-space:pre-wrap}nav{padding:0 18px 10px;display:flex;gap:7px;flex-wrap:wrap}button,input,select,textarea{background:#232833;color:#e8eaf0;border:1px solid #3a4250;border-radius:7px;padding:8px 10px}button{cursor:pointer}button.active{background:#394357}.toolbar{display:flex;gap:12px;margin-bottom:10px}.toolbar #search{min-width:280px}.toolbar label{display:flex;align-items:center;gap:6px}.toolbar input[type=number]{width:100px}.scroll{overflow:auto;max-height:65vh}table{width:100%;border-collapse:collapse;font-family:Consolas,monospace;font-size:12px}th,td{text-align:left;padding:7px 8px;border-bottom:1px solid #272d37;white-space:nowrap}th{position:sticky;top:0;background:#1c2028;color:#abb4c4;z-index:1}tr:hover{background:#1e232c}.good{color:#66d98b}.bad{color:#ff7474}.muted{color:#8993a3}.hidden{display:none!important}.info-grid{display:grid;grid-template-columns:repeat(5,minmax(145px,1fr));gap:8px;margin-bottom:14px}.info-cell{background:#11141a;border:1px solid #272d37;border-radius:7px;padding:9px}.info-cell b{display:block;color:#8d98a9;font-size:10px;margin-bottom:4px}.info-cell span{font-family:Consolas,monospace}.section-title{margin:18px 0 8px;font-weight:700;color:#b9c3d3}.rawbox{font:11px Consolas,monospace;overflow-wrap:anywhere;white-space:pre-wrap;background:#11141a;border:1px solid #272d37;border-radius:7px;padding:9px;max-height:180px;overflow:auto}.bagyes{color:#66d98b}.bagno{color:#ff9a76}footer{padding:4px 18px 18px;color:#697386;font-size:12px}
.self-hud{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:stretch}.self-hud-left{background:linear-gradient(180deg,#30260f,#19160f);border:1px solid #5c4d2b;border-radius:12px;padding:14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}.self-name{font-weight:700;font-size:20px;color:#f0e6c2;text-shadow:0 1px 0 #000}.self-sub{margin-top:2px;color:#d1c79c}.self-bars{margin-top:12px;display:flex;flex-direction:column;gap:10px}.bar-wrap{display:flex;flex-direction:column;gap:5px}.bar-label{display:flex;justify-content:space-between;font:12px Consolas,monospace;color:#f2f4f8}.bar-track{height:22px;border-radius:5px;border:1px solid rgba(0,0,0,.7);background:#0f1014;overflow:hidden;box-shadow:inset 0 1px 4px rgba(0,0,0,.55)}.bar-fill{height:100%}.hp-fill{background:linear-gradient(180deg,#c00000,#ff3434)}.mp-fill{background:linear-gradient(180deg,#0b3e98,#2d82ff)}.self-meta{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:8px}.self-mini{background:#11141a;border:1px solid #272d37;border-radius:8px;padding:9px}.self-mini b{display:block;color:#8d98a9;font-size:10px;margin-bottom:4px}.self-mini span{font-family:Consolas,monospace}.myinfo-table .semcol{font-weight:700;color:#d8d287}.tag{display:inline-block;padding:2px 7px;border-radius:999px;border:1px solid #42506a;background:#1a2030;color:#c8d5ff;font-size:11px}.attack-layout{display:grid;grid-template-columns:1.2fr .9fr;gap:14px}.attack-card{background:#11141a;border:1px solid #272d37;border-radius:9px;padding:12px}.attack-grid{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:8px;margin-bottom:12px}.attack-placeholder{display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto auto;gap:8px;align-items:end}.attack-placeholder input,.attack-placeholder select{width:100%}.attack-placeholder button:disabled{opacity:.65;cursor:not-allowed}.attack-note{margin-top:8px;color:#8993a3;font-size:12px;line-height:1.45}.packet-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}.packet-topbar label{display:flex;align-items:center;gap:8px}.packet-topbar select{min-width:260px}.packet-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.packet-box{background:#11141a;border:1px solid #272d37;border-radius:9px;padding:12px;display:flex;flex-direction:column;gap:10px}.packet-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.packet-title span{color:#8993a3;font-size:12px}.packet-box textarea{width:100%;min-height:140px;resize:vertical;background:#0d1015;color:#e8eaf0;border:1px solid #353d49;border-radius:7px;padding:10px;font:13px Consolas,monospace;line-height:1.45}.packet-box button{font-weight:700}.packet-send-btn{border-color:#4d7f62}.packet-recv-btn{border-color:#5e6f9a}.packet-seq-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.packet-history{max-height:38vh}.hexcell{max-width:520px;white-space:normal;word-break:break-all}.small{font-size:11px;line-height:1.4}.warn{color:#f0c36a}.packet-nonce-diag{margin:10px 0;max-height:190px;overflow:auto;font-size:12px;white-space:pre;}
@media(max-width:1000px){.cards{grid-template-columns:repeat(3,1fr)}.info-grid{grid-template-columns:repeat(2,1fr)}.self-hud{grid-template-columns:1fr}.self-meta{grid-template-columns:repeat(2,1fr)}.attack-layout{grid-template-columns:1fr}.attack-placeholder{grid-template-columns:1fr 1fr}.attack-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.packet-grid,.packet-seq-grid{grid-template-columns:1fr}.packet-topbar select{min-width:180px;max-width:100%}}
@media(max-width:800px){.cards{grid-template-columns:repeat(2,1fr)}.toolbar{flex-direction:column}.toolbar #search{min-width:0}.info-grid{grid-template-columns:1fr}.attack-placeholder{grid-template-columns:1fr}.self-meta{grid-template-columns:1fr}}
.skill-lines-grid{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:10px;margin-bottom:12px}.skill-line-card{background:#11141a;border:1px solid #2b3340;border-radius:9px;padding:12px 14px;display:flex;justify-content:space-between;align-items:center;gap:12px}.skill-line-card b{font:600 13px Consolas,monospace;color:#e8eaf0}.skill-line-card span{font:700 16px Consolas,monospace;color:#f0c36a}.attack-skill-list{max-height:52vh}.attack-skill-list td:nth-child(2){white-space:normal;min-width:230px}.attack-skill-list .small{margin-top:3px;max-width:460px}@media(max-width:1000px){.skill-lines-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.skill-lines-grid{grid-template-columns:1fr}}
.packet-dual{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}.packet-side{background:#11141a;border:1px solid #272d37;border-radius:10px;padding:12px;min-width:0}.packet-side-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}.packet-side-head>div{display:flex;gap:8px;align-items:baseline}.packet-side-head>div span{color:#8993a3;font-size:12px}.packet-filter-label{display:flex;gap:8px;align-items:center;margin-bottom:10px}.packet-filter-label select{flex:1;min-width:0}.packet-side textarea{width:100%;resize:vertical;background:#0d1015;color:#e8eaf0;border:1px solid #353d49;border-radius:7px;padding:10px;font:12px Consolas,monospace;line-height:1.45}.game-capture{min-height:145px}.packet-side #sendHex,.packet-side #recvHex{min-height:100px}.packet-actions{display:flex;align-items:center;gap:10px;margin:8px 0}.copy-game-btn{font-weight:700}.packet-capture-list{max-height:240px}.packet-capture-row{cursor:pointer}.packet-capture-row.packet-row-active{background:#293244}.packet-details{margin-top:12px;border:1px solid #272d37;border-radius:8px;padding:9px;background:#11141a}.packet-details summary{cursor:pointer;color:#b9c3d3;font-weight:700}.packet-details[open] summary{margin-bottom:10px}@media(max-width:980px){.packet-dual{grid-template-columns:1fr}}

/* Attack priority rotation */
.rotation-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(250px,.8fr);gap:14px;align-items:start;margin-top:2px}.rotation-main,.rotation-settings-card{background:#11141a;border:1px solid #272d37;border-radius:9px;padding:12px;min-width:0}.rotation-help{margin:-3px 0 8px}.rotation-skill-picker{max-height:310px;border:1px solid #2a303a;border-radius:7px}.rotation-skill-picker table{margin:0}.rotation-skill-picker input[type=checkbox]{width:19px;height:19px;padding:0;accent-color:#6e85b7}.rotation-skill-picker .rotation-picked{background:#1b2330}.rotation-priority-wrap{border:1px solid #2a303a;border-radius:7px;min-height:118px;max-height:310px;overflow:auto}.rotation-priority-row{cursor:grab}.rotation-priority-row:active{cursor:grabbing}.rotation-priority-row.dragging{opacity:.45}.drag-handle{font-size:17px;color:#8993a3;width:32px;text-align:center;cursor:grab}.rotation-settings-card{display:flex;flex-direction:column;gap:8px;position:sticky;top:10px}.rotation-settings-card label{display:grid;grid-template-columns:minmax(120px,1fr) 95px;align-items:center;gap:10px}.rotation-settings-card input{width:95px}.rotation-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:7px}.rotation-buttons #rotationStart{border-color:#4d7f62;font-weight:700}.rotation-buttons #rotationStop{border-color:#81535a;font-weight:700}.attack-details{margin-top:14px;background:#11141a;border:1px solid #272d37;border-radius:9px;padding:10px 12px}.attack-details summary{cursor:pointer;color:#b9c3d3;font-weight:700;user-select:none}.attack-details[open] summary{margin-bottom:10px}.attack-details .attack-skill-list{max-height:42vh}@media(max-width:1050px){.rotation-layout{grid-template-columns:1fr}.rotation-settings-card{position:static}}

/* Modern attack toggles */
.rotation-settings-card .modern-check-row{display:flex;grid-template-columns:none;justify-content:space-between;align-items:center;min-height:42px;padding:7px 9px;border:1px solid #2b3340;border-radius:9px;background:#151922;cursor:pointer;user-select:none}
.modern-check-row.is-disabled{opacity:.45;cursor:not-allowed}
.rotation-settings-card .modern-check-row:hover{border-color:#46546b;background:#181e28}
.modern-check{-webkit-appearance:none;appearance:none;width:28px!important;height:28px;margin:0;padding:0!important;border:2px solid #4a5669;border-radius:8px;background:#0e1218;display:grid;place-content:center;cursor:pointer;transition:background .12s,border-color .12s,transform .08s}
.modern-check:before{content:"";width:12px;height:7px;border-left:3px solid #fff;border-bottom:3px solid #fff;transform:rotate(-45deg) scale(0);transition:transform .12s}
.modern-check:checked{background:#506b9d;border-color:#7895cb}
.modern-check:checked:before{transform:rotate(-45deg) scale(1)}
.modern-check:active{transform:scale(.94)}
.rotation-skill-picker input[type=checkbox]{-webkit-appearance:none;appearance:none;width:24px;height:24px;padding:0;margin:0;border:2px solid #465268;border-radius:7px;background:#0e1218;display:grid;place-content:center;cursor:pointer}
.rotation-skill-picker input[type=checkbox]:before{content:"";width:10px;height:6px;border-left:3px solid #fff;border-bottom:3px solid #fff;transform:rotate(-45deg) scale(0)}
.rotation-skill-picker input[type=checkbox]:checked{background:#506b9d;border-color:#7895cb}
.rotation-skill-picker input[type=checkbox]:checked:before{transform:rotate(-45deg) scale(1)}

/* Searchable multi-opcode dropdown. Search lives inside the opened list. */
.opcode-filter-box{position:relative;margin:0 0 10px;z-index:5}
.opcode-filter-box>summary{list-style:none;cursor:pointer;border:1px solid #353d49;border-radius:7px;background:#171c24;padding:9px 34px 9px 10px;color:#dce3ee;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;user-select:none}
.opcode-filter-box>summary::-webkit-details-marker{display:none}
.opcode-filter-box>summary:after{content:"▾";position:absolute;right:11px;top:50%;transform:translateY(-50%);color:#8993a3}
.opcode-filter-box[open]>summary:after{content:"▴"}
.opcode-filter-menu{position:absolute;left:0;right:0;top:calc(100% + 5px);background:#11161e;border:1px solid #3a4351;border-radius:9px;padding:9px;box-shadow:0 12px 30px rgba(0,0,0,.42);z-index:30}
.opcode-search{width:100%;margin:0 0 8px!important;background:#0d1015!important;border:1px solid #3d4654!important;border-radius:7px!important;padding:8px 9px!important;color:#edf2f8!important}
.opcode-options{max-height:300px;overflow:auto;border:1px solid #252d38;border-radius:7px;background:#0d1117;padding:4px}
.opcode-option{display:grid;grid-template-columns:24px 52px 1fr;align-items:center;gap:8px;padding:6px 7px;border-radius:6px;cursor:pointer;font-size:12px}
.opcode-option:hover{background:#1a2230}
.opcode-option input{width:20px;height:20px;margin:0;accent-color:#6f8fc8}
.opcode-code{font-family:Consolas,monospace;color:#8fb6ef}
.opcode-clear{width:100%;margin-top:8px;font-size:11px;padding:7px}
.opcode-empty{padding:10px}

.rotation-buttons{grid-template-columns:1fr}

/* Auto Kutu */
.loot-layout{display:grid;grid-template-columns:minmax(280px,.75fr) minmax(0,1.8fr);gap:14px;align-items:start}.loot-settings-card,.loot-main-card{background:#11141a;border:1px solid #272d37;border-radius:9px;padding:12px;min-width:0}.loot-settings-card{display:flex;flex-direction:column;gap:8px;position:sticky;top:10px}.loot-settings-card>label:not(.modern-check-row){display:grid;grid-template-columns:minmax(140px,1fr) 150px;align-items:center;gap:10px}.loot-settings-card input[type=number],.loot-settings-card input[type=text]{width:150px}.loot-settings-card .modern-check-row{display:flex;justify-content:space-between;align-items:center;min-height:42px;padding:7px 9px;border:1px solid #2b3340;border-radius:9px;background:#151922;cursor:pointer;user-select:none}.loot-settings-card .modern-check-row:hover{border-color:#46546b;background:#181e28}.loot-apply{margin-top:4px;border-color:#4d7f62;font-weight:700}.loot-summary{margin-bottom:10px;font:12px Consolas,monospace}.loot-table{max-height:58vh}.loot-table td:nth-child(5){white-space:normal;min-width:180px}@media(max-width:1000px){.loot-layout{grid-template-columns:1fr}.loot-settings-card{position:static}}
.loot-filter-block{display:flex;flex-direction:column;gap:7px;padding:9px;border:1px solid #2b3340;border-radius:9px;background:#151922}.loot-filter-title{font-size:12px;font-weight:700;color:#cdd6e5}.loot-item-search-wrap{position:relative}.loot-item-search-wrap>input{width:100%!important;box-sizing:border-box}.loot-item-results{position:absolute;z-index:30;left:0;right:0;top:calc(100% + 5px);max-height:260px;overflow:auto;background:#0f1319;border:1px solid #343e4d;border-radius:9px;box-shadow:0 12px 28px rgba(0,0,0,.38);padding:5px}.loot-item-results.hidden{display:none}.loot-search-item{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;text-align:left;border:0;border-radius:7px;background:transparent;padding:8px 9px;color:#e8edf5;cursor:pointer}.loot-search-item:hover{background:#202735}.loot-search-item:disabled{opacity:.48;cursor:default}.loot-search-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.loot-search-item small{font:11px Consolas,monospace;color:#8996aa;white-space:nowrap}.loot-search-state{padding:9px}.loot-selected-items{display:flex;flex-wrap:wrap;gap:6px;min-height:22px}.loot-item-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 7px;border:1px solid #3b4658;border-radius:999px;background:#1c2330;color:#e7edf7;cursor:pointer}.loot-item-chip:hover{border-color:#72505a;background:#2a2025}.loot-item-chip span{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.loot-item-chip small{font:10px Consolas,monospace;color:#8d9bad}.loot-item-chip b{font-size:15px;line-height:1;color:#b9c3d2}.loot-settings-card .loot-filter-block input[type=text]{width:100%}


/* Skill picker search + quick remove */
.rotation-skill-search-wrap{display:flex;align-items:center;gap:10px;margin:0 0 9px}.rotation-skill-search{width:min(420px,100%);min-width:220px;background:#0e1218;color:#e8eaf0;border:1px solid #384354;border-radius:9px;padding:9px 11px;outline:none}.rotation-skill-search:focus{border-color:#7187b3;box-shadow:0 0 0 2px rgba(113,135,179,.16)}.rotation-remove-cell{width:46px;text-align:center}.rotation-remove-skill{width:30px;height:30px;min-width:30px;padding:0;border-radius:8px;border:1px solid #67454b;background:#23171a;color:#ef9ba5;font-size:21px;line-height:1;cursor:pointer}.rotation-remove-skill:hover{background:#3a1d22;border-color:#a55d68;color:#ffd4d9}.rotation-skill-row.hidden{display:none}

/* Main packet capture also shows synthetic traffic */
.packet-row-inject{background:rgba(78,105,157,.10)}.packet-row-inject.packet-row-active{background:#2b3850}.packet-inject-badge{display:inline-block;padding:2px 6px;margin-right:3px;border-radius:999px;border:1px solid #5f7db6;background:#1b2942;color:#9fc0ff;font-size:10px;font-weight:800;letter-spacing:.35px;vertical-align:1px}
.rotation-settings-card select{width:95px;min-width:95px}
.rotation-subsection-title{margin:4px 0 0;padding:7px 2px 3px;border-top:1px solid #29313d;color:#8fa5cc;font-size:11px;font-weight:800;letter-spacing:.08em}
.rotation-priority-row.rotation-unavailable{opacity:.82;background:rgba(120,40,48,.10)}
.rotation-priority-row.rotation-unavailable .drag-handle{opacity:.45}

/* Four-column ATTACK workspace */
.attack-four-grid{display:grid;grid-template-columns:minmax(330px,1.55fr) minmax(245px,.9fr) minmax(285px,1.05fr) minmax(285px,1.05fr);gap:10px;align-items:start;margin-top:2px}
.attack-pane{background:#11141a;border:1px solid #272d37;border-radius:9px;padding:10px;min-width:0}
.attack-pane-title{margin:0 0 9px}
.attack-four-grid .rotation-main,.attack-four-grid .rotation-settings-card{background:#11141a;border:1px solid #272d37;border-radius:9px;padding:10px;min-width:0}
.attack-four-grid .rotation-settings-card{position:static}
.attack-four-grid .rotation-settings-card label{grid-template-columns:minmax(118px,1fr) 88px;gap:8px}
.attack-four-grid .rotation-settings-card input,.attack-four-grid .rotation-settings-card select{width:88px;min-width:88px}
.attack-four-grid .rotation-skill-search-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center}
.attack-four-grid .rotation-skill-search{width:100%;min-width:0}
.attack-four-grid .rotation-skill-picker{max-height:285px}
.attack-four-grid .rotation-priority-wrap{max-height:285px}
.rotation-support-list{max-height:560px;border:1px solid #2a303a;border-radius:7px}
.rotation-support-list table{margin:0}
.rotation-support-list input[type=checkbox],.rotation-mob-results input[type=checkbox]{-webkit-appearance:none;appearance:none;width:22px;height:22px;padding:0;margin:0;border:2px solid #465268;border-radius:7px;background:#0e1218;display:grid;place-content:center;cursor:pointer}
.rotation-support-list input[type=checkbox]:before,.rotation-mob-results input[type=checkbox]:before{content:"";width:9px;height:5px;border-left:3px solid #fff;border-bottom:3px solid #fff;transform:rotate(-45deg) scale(0)}
.rotation-support-list input[type=checkbox]:checked,.rotation-mob-results input[type=checkbox]:checked{background:#506b9d;border-color:#7895cb}
.rotation-support-list input[type=checkbox]:checked:before,.rotation-mob-results input[type=checkbox]:checked:before{transform:rotate(-45deg) scale(1)}
.rotation-mob-filter-card{display:flex;flex-direction:column;gap:12px;min-height:760px}
.mob-filter-block-title{color:#d9aa55;font-size:11px;font-weight:800;letter-spacing:.04em;margin-top:2px}
.rotation-mob-selected{max-height:280px;border:1px solid #2a303a;border-radius:7px;min-height:150px}
.rotation-mob-results{max-height:460px;border:1px solid #2a303a;border-radius:7px;min-height:220px}
.rotation-mob-selected table,.rotation-mob-results table{margin:0}
.rotation-remove-mob{width:28px;height:28px;min-width:28px;padding:0;border-radius:8px;border:1px solid #67454b;background:#23171a;color:#ef9ba5;font-size:20px;line-height:1;cursor:pointer}
.rotation-remove-mob:hover{background:#3a1d22;border-color:#a55d68;color:#ffd4d9}
.mob-filter-foot{margin-top:1px;line-height:1.35}
.rotation-support-card{display:flex;flex-direction:column;gap:3px}
.rotation-support-card .rotation-picked,.rotation-mob-results tr:has(input:checked){background:#1b2330}
@media(max-width:1100px){.attack-four-grid{grid-template-columns:1fr 1fr}.attack-four-grid .rotation-settings-card{position:static}.rotation-support-list{max-height:300px}}
@media(max-width:720px){.attack-four-grid{grid-template-columns:1fr}}

/* Compact top dashboard: self + runtime controls + submenus */
.top-dashboard{display:grid;grid-template-columns:minmax(300px,340px) minmax(0,1fr);gap:12px;align-items:stretch;padding:10px;margin-top:12px}
.top-self{min-width:0}.top-self .self-hud-left{height:100%;padding:12px 14px}.self-hud-empty{display:flex;align-items:center;justify-content:center;min-height:145px}.self-position{margin-top:5px;color:#9ba8bb;font:12px Consolas,monospace}.self-bars{margin-top:9px}.bar-track{height:19px}.self-name{font-size:18px}.self-sub{font-size:12px}
.top-control-deck{display:flex;flex-direction:column;gap:9px;min-width:0}.top-control-row{display:grid;grid-template-columns:auto minmax(145px,.7fr) minmax(145px,.7fr) minmax(170px,.8fr);gap:8px;align-items:stretch}.top-live-stats,.top-diag-chip{display:flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:8px 11px;border:1px solid #2b3340;border-radius:8px;background:#11141a;font:12px Consolas,monospace}.top-live-stats span{white-space:nowrap}.top-live-stats b{color:#e8edf5;margin-left:2px}.top-diag-chip{justify-content:space-between}.top-diag-chip b{font-size:10px;color:#8d98a9}.top-diag-chip span{color:#d9e1ec;white-space:nowrap}
.global-attack-toggle{min-height:42px;border:1px solid #4d7f62;background:#183024;color:#8fe0a9;font-weight:800;letter-spacing:.035em}.global-attack-toggle:hover{background:#1d3b2a;border-color:#659d7b}.global-attack-toggle.is-running{border-color:#8b4f59;background:#341a20;color:#ff9ca7}.global-attack-toggle.is-running:hover{background:#432027;border-color:#b36470}
.top-nav{display:grid;grid-template-columns:repeat(9,minmax(74px,1fr));gap:6px;padding:0;margin:0}.top-nav button{min-width:0;padding:8px 7px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-nav button.active{background:#394357;border-color:#53617a;color:#fff}
.rotation-status-box{margin-top:4px;padding:8px 9px;border:1px solid #29313d;border-radius:7px;background:#0f1319;font-size:11px;min-height:34px}
.legal-preset-btn{margin-left:8px;padding:2px 8px;font-size:10px;font-weight:700;line-height:1.5;border:1px solid #4c6f94;border-radius:5px;background:#1b2a3d;color:#a9d4ff;cursor:pointer;vertical-align:middle}
.legal-preset-btn:hover{background:#253a53;border-color:#6d96c2}
.app-footer{display:flex;align-items:center;gap:10px;margin-top:2px;padding:8px 18px 12px;border-top:1px solid #242a34;background:#0d1015;color:#697386;font-size:11px}.app-footer b{color:#8d98a9;white-space:nowrap}.app-footer #connections{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#8490a2}

@media(max-width:1150px){.top-dashboard{grid-template-columns:310px minmax(0,1fr)}.top-control-row{grid-template-columns:1fr 1fr}.top-nav{grid-template-columns:repeat(5,1fr)}}
@media(max-width:760px){.top-dashboard{grid-template-columns:1fr}.top-control-row{grid-template-columns:1fr 1fr}.top-nav{grid-template-columns:repeat(3,1fr)}}

/* 2026-10-14 dashboard/entity/support layout */
.top-dashboard{display:grid;grid-template-columns:minmax(300px,340px) 150px minmax(0,1fr);gap:10px;align-items:stretch;padding:10px;margin-top:12px}
.top-action-stack{display:grid;grid-template-rows:repeat(3,1fr);gap:7px;min-width:0}.top-action-button{min-height:43px;border-radius:9px;font-weight:800;letter-spacing:.035em}.top-action-stack .global-attack-toggle{height:auto;min-height:43px}.future-action{border:1px solid #38465b;background:#171d27;color:#aeb9c8;cursor:default}.future-action:hover{background:#1b2330;border-color:#465875}
.top-control-deck{display:flex;flex-direction:column;gap:8px;min-width:0}.top-control-row{display:flex;align-items:stretch;gap:8px}.top-live-stats{justify-content:flex-start;gap:16px;min-height:38px;flex:0 0 auto;padding:7px 12px;background:#10151c;border-color:#303948}
.top-nav-shell{position:relative;border:1px solid #303948;border-radius:10px;background:#0e1218;padding:18px 7px 7px;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}.top-nav-caption{position:absolute;top:4px;left:10px;font-size:9px;font-weight:900;letter-spacing:.16em;color:#72809a}.top-nav{display:grid;grid-template-columns:repeat(7,minmax(92px,1fr));gap:6px;padding:0;margin:0}.top-nav button{position:relative;min-width:0;padding:9px 8px;border:1px solid #2b3442;background:#141a23;color:#96a3b6;border-radius:8px;font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 1px 0 rgba(255,255,255,.025)}.top-nav button:hover{background:#1b2330;border-color:#46556c;color:#e3e9f2}.top-nav button.active{background:#263248;border-color:#5d76a3;color:#fff;box-shadow:inset 0 -2px 0 #7895cb,0 0 0 1px rgba(120,149,203,.08)}.top-nav button.active:before{content:"";position:absolute;left:8px;right:8px;top:0;height:2px;border-radius:2px;background:#7895cb}
.entity-toolbar{margin-bottom:9px}.entity-three-grid{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:9px;align-items:start}.entity-pane{min-width:0;border:1px solid #29313d;border-radius:9px;background:#10141a;overflow:hidden}.entity-pane-title{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-bottom:1px solid #29313d;background:#151a22;font-size:11px;font-weight:900;letter-spacing:.08em;color:#b8c4d6}.entity-player-pane .entity-pane-title{color:#a9c7ff}.entity-mob-pane .entity-pane-title{color:#e9c46a}.entity-npc-pane .entity-pane-title{color:#b9d9a9}.entity-table-scroll{max-height:66vh;border:0}.entity-pane table{margin:0;font-size:11px}.entity-pane th,.entity-pane td{padding:6px 7px;white-space:nowrap}.entity-pane td b{font-weight:700}#legacyEntityTable{max-height:72vh}#legacyEntityTable table{margin:0}
.rotation-support-selected{max-height:220px;border:1px solid #344054;border-radius:7px;background:#0f1319;margin-bottom:8px}.rotation-support-selected table{margin:0}.rotation-support-selected th,.rotation-support-selected td{padding:6px 7px}.support-selected-title,.support-picker-title{margin:3px 0 6px;color:#d2b66d;font-size:10px;font-weight:900;letter-spacing:.08em}.support-picker-title{margin-top:8px;color:#8798b3}.support-cast-tolerance{width:66px!important;min-width:66px!important;text-align:center;padding:6px 7px!important}.rotation-support-selected-row.rotation-unavailable{opacity:.72;background:rgba(120,40,48,.10)}.rotation-support-card .rotation-support-list{max-height:320px}
.app-footer{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;margin-top:3px;padding:9px 14px 11px;border-top:1px solid #242a34;background:#0d1015;color:#697386;font-size:11px}.footer-block{display:flex;align-items:center;gap:8px;min-width:0;padding:5px 8px;border:1px solid #222a35;border-radius:7px;background:#10141a}.footer-block b{font-size:9px;letter-spacing:.08em;color:#8793a6;white-space:nowrap}.footer-block span{color:#aeb9c8;white-space:nowrap}.footer-socks #connections{overflow:hidden;text-overflow:ellipsis}
@media(max-width:1280px){.top-dashboard{grid-template-columns:300px 140px minmax(0,1fr)}.top-nav{grid-template-columns:repeat(4,1fr)}.entity-three-grid{grid-template-columns:1fr}.entity-table-scroll{max-height:330px}}@media(max-width:760px){.top-dashboard{grid-template-columns:1fr}.top-action-stack{grid-template-columns:repeat(3,1fr);grid-template-rows:1fr}.top-nav{grid-template-columns:repeat(2,1fr)}.app-footer{grid-template-columns:1fr}.footer-block{justify-content:space-between}}

.support-action{border:1px solid #526a92;background:#182235;color:#a9c4f2;cursor:pointer}.support-action:hover{background:#1e2b43;border-color:#6b88b8}.support-action.is-running{border-color:#8b4f59;background:#341a20;color:#ff9ca7}.support-action.is-running:hover{background:#432027;border-color:#b36470}.support-action.is-error{border-color:#b85c66;color:#ff9ca7}
.support-hp-input{display:flex;align-items:center;gap:4px;min-width:72px}.support-hp-threshold,.support-mp-threshold{width:58px!important;min-width:58px!important;text-align:center;padding:6px 7px!important}.support-hp-input span{font-size:11px;color:#8fa0b7;font-weight:700}.rotation-support-selected td:nth-child(2){white-space:nowrap;font-variant-numeric:tabular-nums}

/* Potion automation inside SUPPORT column */
.potion-action{border:1px solid #6c6543;background:#252115;color:#eadc9a;cursor:pointer}.potion-action:hover{background:#302b1b;border-color:#9a8c58}.potion-action.is-running{border-color:#8b4f59;background:#341a20;color:#ff9ca7}.potion-action.is-running:hover{background:#432027;border-color:#b36470}.potion-action.is-error{border-color:#b85c66;color:#ff9ca7}
.potion-block{margin-top:10px;padding-top:9px;border-top:1px solid #303746}.potion-title{color:#d4ae51}.potion-help{line-height:1.35;margin:2px 0 7px}


/* ========================================================================== */
/* Modern responsive UI pass — visual/layout only.                            */
/* Keeps all existing IDs and JS behavior intact.                             */
/* ========================================================================== */
:root{
  color-scheme:dark;
  --bg:#090d13;
  --bg2:#0c1118;
  --surface:#101720;
  --surface2:#131c27;
  --surface3:#182332;
  --line:#263244;
  --line2:#34445a;
  --text:#e7edf6;
  --text2:#a5b1c2;
  --muted:#718095;
  --accent:#6f98dc;
  --accent2:#8db2ef;
  --success:#61d38f;
  --danger:#ff7684;
  --warning:#e8bc61;
  --radius:12px;
  --radius-sm:9px;
  --shadow:0 10px 28px rgba(0,0,0,.20);
}

html{background:var(--bg);scrollbar-color:#33445a #0b1017}
body{
  min-width:0;
  background:
    radial-gradient(1000px 480px at 12% -20%,rgba(80,119,182,.12),transparent 55%),
    radial-gradient(900px 500px at 92% -25%,rgba(78,142,121,.07),transparent 55%),
    var(--bg);
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  font-size:13px;
  line-height:1.4;
}

*{scrollbar-width:thin;scrollbar-color:#34465d #0b1017}
*::-webkit-scrollbar{width:9px;height:9px}
*::-webkit-scrollbar-track{background:#0b1017}
*::-webkit-scrollbar-thumb{background:#33445a;border:2px solid #0b1017;border-radius:999px}
*::-webkit-scrollbar-thumb:hover{background:#465c78}

header{
  min-height:54px;
  padding:9px 14px;
  background:rgba(11,16,23,.94);
  border-bottom:1px solid var(--line);
  box-shadow:0 1px 0 rgba(255,255,255,.02);
  backdrop-filter:blur(10px);
}
header h1{font-size:16px;letter-spacing:.015em;margin:0;color:#f1f5fb}
#status{margin-top:2px;font-size:11px;color:var(--muted)}
#reset{padding:7px 10px;font-size:11px;background:#151c26;border-color:#303d50;color:#aab6c7}
#reset:hover{color:#fff;border-color:#536781;background:#1b2634}

.panel{
  margin:10px 12px;
  padding:11px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:linear-gradient(180deg,rgba(17,24,34,.98),rgba(13,19,27,.98));
  box-shadow:var(--shadow);
}

button,input,select,textarea{
  border:1px solid var(--line2);
  border-radius:var(--radius-sm);
  background:#151e2a;
  color:var(--text);
  outline:none;
  transition:border-color .14s ease,background .14s ease,box-shadow .14s ease,transform .08s ease,color .14s ease;
}
button{font-weight:650}
button:hover{border-color:#526a89;background:#1b2736;color:#fff}
button:active{transform:translateY(1px)}
input:focus,select:focus,textarea:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(111,152,220,.13);
}
input::placeholder,textarea::placeholder{color:#64758c}

.section-title{
  margin:13px 0 7px;
  color:#c8d4e5;
  font-size:11px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.tag{
  border-color:#405675;
  background:#18263a;
  color:#b9cff1;
  font-size:10px;
  font-weight:700;
}
.muted{color:var(--muted)}
.good{color:var(--success)}
.bad{color:var(--danger)}
.warn{color:var(--warning)}

/* Main top deck */
.top-dashboard{
  display:grid;
  grid-template-columns:minmax(270px,315px) minmax(116px,135px) minmax(0,1fr);
  gap:9px;
  margin-top:9px;
  padding:9px;
  background:linear-gradient(180deg,#101720,#0d141d);
}
.top-self .self-hud-left{
  min-height:132px;
  padding:10px 12px;
  border:1px solid #524726;
  border-radius:11px;
  background:linear-gradient(145deg,#28210f 0%,#17170f 58%,#12171c 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.self-name{font-size:16px}
.self-sub,.self-position{font-size:11px}
.self-bars{gap:7px;margin-top:8px}
.bar-track{height:16px;border-radius:999px;border-color:#05070a;background:#080b10}
.bar-fill{border-radius:999px}
.hp-fill{background:linear-gradient(90deg,#b8182e,#f13d51)}
.mp-fill{background:linear-gradient(90deg,#2456b5,#398af4)}
.bar-label{font-size:11px}

.top-action-stack{gap:6px}
.top-action-button{min-height:39px;border-radius:9px;font-size:11px;letter-spacing:.04em}
.global-attack-toggle{background:#14291f;border-color:#32644b;color:#8fe0ab}
.support-action{background:#152236;border-color:#3d5c88;color:#a9c8f5}
.potion-action{background:#292514;border-color:#6b6038;color:#e7d68e}
.global-attack-toggle.is-running,.support-action.is-running,.potion-action.is-running{background:#341920;border-color:#874d58;color:#ff9ca8}

.top-control-deck{gap:7px;min-width:0}
.top-control-row{display:flex;gap:7px;min-height:34px}
.top-live-stats{
  min-height:34px;
  padding:6px 10px;
  gap:14px;
  border-color:var(--line);
  border-radius:9px;
  background:#0e151e;
  color:#8f9fb4;
}
.top-live-stats b{color:#eaf0f8}
.bot-latency-chip{display:flex;align-items:center;justify-content:center;min-height:34px;padding:6px 10px;border:1px solid var(--line);border-radius:9px;background:#0e151e;font:10px Consolas,monospace;white-space:nowrap;min-width:210px;flex:0 0 auto}.bot-latency-chip.good{border-color:#315f49;background:#102019;color:#8fe0ab}.bot-latency-chip.warn{border-color:#725f35;background:#241f12;color:#e7d68e}.bot-latency-chip.bad{border-color:#7b3d48;background:#2a151a;color:#ff9ca8}.bot-latency-chip.muted{color:#8290a4}
.all-bot-controls{display:flex;align-items:stretch;gap:6px;min-width:0;flex:1}.all-bot-control{min-height:34px;padding:6px 9px;border-radius:8px;font-size:9px;font-weight:800;letter-spacing:.025em;white-space:nowrap;flex:1 1 auto}.all-bot-attack{background:#14291f;border-color:#32644b;color:#8fe0ab}.all-bot-support{background:#152236;border-color:#3d5c88;color:#a9c8f5}.all-bot-potion{background:#292514;border-color:#6b6038;color:#e7d68e}.all-bot-stop{background:#351820;border-color:#82434f;color:#ff9ca8}.all-bot-control-status{display:flex;align-items:center;white-space:nowrap;min-height:34px}.all-bot-control:disabled{opacity:.45;cursor:not-allowed}
.top-nav-shell{
  flex:1;
  padding:17px 6px 6px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#0b1119;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.top-nav-caption{top:4px;left:9px;color:#65758d;font-size:8px}
.top-nav{
  display:grid;
  grid-template-columns:repeat(7,minmax(82px,1fr));
  gap:5px;
}
.top-nav button{
  min-height:34px;
  padding:7px 9px;
  border-color:#243144;
  border-radius:8px;
  background:#111a25;
  color:#8291a5;
  font-size:10px;
  font-weight:800;
  letter-spacing:.02em;
}
.top-nav button:hover{background:#172435;color:#d7e1ef;border-color:#3d526f}
.top-nav button.active{
  background:linear-gradient(180deg,#273a57,#1d2d45);
  border-color:#5b7cae;
  color:#f3f7fd;
  box-shadow:inset 0 -2px 0 #82a7e2,0 4px 14px rgba(45,78,126,.15);
}
.top-nav button.active:before{display:none}

/* Tables: compact and readable */
table{font-size:11px}
th,td{padding:6px 7px;border-bottom:1px solid #202b39}
th{
  background:#141d28;
  color:#8e9db1;
  font-size:10px;
  font-weight:750;
  letter-spacing:.02em;
  box-shadow:0 1px 0 #263345;
}
tbody tr{transition:background .10s ease}
tr:hover{background:#15202d}

/* ENTITY workspace */
.entity-toolbar{
  display:grid;
  grid-template-columns:minmax(220px,420px) auto;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
}
.entity-toolbar #search{min-width:0;width:100%}
.entity-three-grid{grid-template-columns:1fr 1.22fr 1fr;gap:8px}
.entity-pane{
  border-color:var(--line);
  border-radius:11px;
  background:#0d141d;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.015);
}
.entity-pane-title{
  padding:7px 9px;
  border-bottom-color:var(--line);
  background:#121b26;
  font-size:10px;
}
.entity-table-scroll{max-height:calc(100vh - 285px);min-height:260px}

/* Attack/support workspace */
.skill-lines-grid{gap:7px;margin-bottom:8px}
.skill-line-card{
  min-height:42px;
  padding:8px 10px;
  border-color:var(--line);
  border-radius:9px;
  background:#0f1721;
}
.skill-line-card b{font-size:11px;color:#aab8ca}
.skill-line-card span{font-size:14px;color:#e1bc68}

.attack-four-grid{
  display:grid;
  grid-template-columns:minmax(300px,1.35fr) minmax(220px,.78fr) minmax(260px,.92fr) minmax(300px,1.08fr);
  gap:8px;
  align-items:start;
}
.attack-pane,.attack-four-grid .rotation-main,.attack-four-grid .rotation-settings-card{
  padding:9px;
  border-color:var(--line);
  border-radius:11px;
  background:#0d141d;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
}
.attack-pane-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:24px;
  margin:0 0 7px;
  color:#cad6e6;
}
.rotation-skill-search-wrap{margin-bottom:7px}
.rotation-skill-search{padding:7px 9px;border-radius:8px;background:#101823}
.attack-four-grid .rotation-skill-picker,.attack-four-grid .rotation-priority-wrap,.rotation-mob-results,.rotation-support-list,.rotation-support-selected{
  border-color:#243144;
  border-radius:9px;
  background:#0a1017;
}
.attack-four-grid .rotation-skill-picker{max-height:260px}
.attack-four-grid .rotation-priority-wrap{max-height:235px}
.rotation-mob-selected{max-height:300px;min-height:180px;border-color:#243144;background:#0a1017}
.rotation-mob-results{max-height:620px;min-height:380px}
.rotation-support-selected{max-height:190px}
.rotation-support-list{max-height:300px}


.attack-four-grid .rotation-settings-card{gap:6px}
.attack-four-grid .rotation-settings-card label{
  min-height:34px;
  grid-template-columns:minmax(110px,1fr) 78px;
  gap:7px;
  color:#aab6c7;
  font-size:11px;
}
.attack-four-grid .rotation-settings-card input,.attack-four-grid .rotation-settings-card select{
  width:78px;
  min-width:78px;
  padding:6px 7px;
  font-size:11px;
}
.rotation-subsection-title{
  margin-top:4px;
  padding-top:7px;
  color:#7795c3;
  border-top-color:#243144;
  font-size:9px;
}
.modern-check-row{
  min-height:34px!important;
  padding:5px 7px!important;
  border-color:#273447!important;
  border-radius:8px!important;
  background:#111a25!important;
}
.modern-check{width:22px!important;height:22px!important;border-radius:7px!important}
.modern-check:before{width:9px;height:5px;border-width:0 0 3px 3px}
.rotation-status-box{padding:6px 7px;min-height:30px;background:#0a1017;border-color:#243144}

.support-selected-title,.support-picker-title,.mob-filter-block-title{font-size:9px;letter-spacing:.08em}
.support-cast-tolerance,.support-hp-threshold,.support-mp-threshold{padding:5px 6px!important}
.potion-block{
  margin-top:8px;
  padding:8px;
  border:1px solid #2e2e23;
  border-radius:10px;
  background:linear-gradient(180deg,#15150f,#10130f);
}
.potion-title{margin-top:0!important}

.loot-item-results{box-shadow:0 14px 38px rgba(0,0,0,.48)}

/* Packet workspace */
.packet-dual{gap:9px}
.packet-side{
  padding:10px;
  border-color:var(--line);
  border-radius:11px;
  background:#0d141d;
}
.packet-side-head{margin-bottom:8px}
.game-capture{min-height:110px}
.packet-side #sendHex,.packet-side #recvHex{min-height:76px}
.packet-capture-list{max-height:210px}
.packet-details{border-color:var(--line);background:#0d141d}

/* Loot */
.loot-layout{gap:9px}
.loot-settings-card,.loot-main-card{
  padding:10px;
  border-color:var(--line);
  border-radius:11px;
  background:#0d141d;
}
.loot-table{max-height:calc(100vh - 280px)}

/* Footer */
.app-footer{
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:6px;
  padding:7px 12px 9px;
  border-top-color:#1d2836;
  background:#080c12;
}
.footer-block{
  min-height:28px;
  padding:4px 7px;
  border-color:#202c3a;
  border-radius:7px;
  background:#0d141c;
}

/* Responsive density — 2K/desktop keeps four columns, 1080-class widths become 2x2. */
@media (min-width:1800px){
  body{font-size:13px}
  .panel{margin-left:14px;margin-right:14px}
  .attack-four-grid{grid-template-columns:minmax(330px,1.35fr) minmax(235px,.8fr) minmax(285px,.95fr) minmax(330px,1.12fr)}
  .attack-four-grid .rotation-skill-picker{max-height:300px}
  .rotation-support-list{max-height:350px}
}

@media (max-width:1599px){
  .top-dashboard{grid-template-columns:minmax(260px,300px) 120px minmax(0,1fr)}
  .top-nav{grid-template-columns:repeat(4,minmax(90px,1fr))}
  .attack-four-grid{grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr)}
  .attack-four-grid>.rotation-main{order:1}
  .attack-four-grid>.rotation-settings-card{order:2}
  .attack-four-grid>.rotation-mob-filter-card{order:3}
  .attack-four-grid>.rotation-support-card{order:4}
  .rotation-support-list{max-height:265px}
  .rotation-mob-filter-card{min-height:680px}
  .rotation-mob-selected{min-height:150px;max-height:240px}
  .rotation-mob-results{min-height:330px;max-height:540px}
  .entity-three-grid{grid-template-columns:1fr 1fr}
  .entity-mob-pane{grid-column:span 2}
  .entity-table-scroll{max-height:330px;min-height:180px}
}

@media (max-width:1180px){
  .top-control-row{flex-wrap:wrap}.bot-latency-chip{flex:1 1 260px}.all-bot-controls{flex-wrap:wrap}.all-bot-control{flex:1 1 calc(50% - 4px)}.all-bot-control-status{width:100%;min-height:18px}
  .panel{margin:8px 8px;padding:9px}
  header{padding:8px 10px}
  .top-dashboard{grid-template-columns:minmax(240px,280px) 112px minmax(0,1fr);gap:7px}
  .top-nav{grid-template-columns:repeat(3,minmax(82px,1fr))}
  .top-nav button{font-size:9px;padding:7px 5px}
  .entity-three-grid{grid-template-columns:1fr}
  .entity-mob-pane{grid-column:auto}
  .entity-table-scroll{max-height:270px}
  .packet-dual{grid-template-columns:1fr}
}

@media (max-width:900px){
  body{font-size:12px}
  header h1{font-size:14px}
  .top-dashboard{grid-template-columns:1fr 116px;align-items:stretch}
  .top-control-deck{grid-column:1/-1}
  .top-action-stack{grid-column:2;grid-row:1}
  .top-nav{grid-template-columns:repeat(4,minmax(72px,1fr))}
  .attack-four-grid{grid-template-columns:1fr}
  .rotation-mob-filter-card{min-height:0}
  .rotation-mob-selected{min-height:120px;max-height:220px}
  .rotation-mob-results{min-height:260px;max-height:480px}
  .attack-four-grid>.rotation-main,.attack-four-grid>.rotation-settings-card,.attack-four-grid>.rotation-mob-filter-card,.attack-four-grid>.rotation-support-card{order:initial}
  .skill-lines-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .loot-layout{grid-template-columns:1fr}
  .loot-settings-card{position:static}
  .app-footer{grid-template-columns:1fr}
}

@media (max-width:620px){
  .bot-latency-chip{width:100%;min-width:0;flex-basis:100%}.all-bot-controls{width:100%}.all-bot-control{flex-basis:100%}
  header{align-items:flex-start;gap:8px}
  #reset{padding:6px 8px}
  .top-dashboard{grid-template-columns:1fr}
  .top-action-stack{grid-column:1;grid-row:auto;grid-template-columns:repeat(3,1fr);grid-template-rows:1fr}
  .top-control-deck{grid-column:1}
  .top-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .top-live-stats{width:100%;justify-content:space-around}
  .entity-toolbar{grid-template-columns:1fr}
  .skill-lines-grid{grid-template-columns:1fr}
  .attack-four-grid .rotation-settings-card label{grid-template-columns:1fr 86px}
  .toolbar{flex-direction:column}
}

/* Auto Potion compact checkbox row: keep label + checkbox on one line. */




/* --- OTO ROTASYON --- */
.route-progress-track{height:9px;border-radius:999px;background:#0a0f15;border:1px solid #253142;overflow:hidden}
.route-progress-fill{height:100%;width:0;background:linear-gradient(90deg,#2f80ed,#34d399);transition:width .12s linear}
.route-point-row.is-current td{background:rgba(47,128,237,.09)}.route-point-row.is-current td:first-child{box-shadow:inset 3px 0 0 #2f80ed}
.route-inventory-scroll table{margin:0;font-size:12px}
.route-inventory-scroll th,.route-inventory-scroll td{padding:7px 8px}
.route-inventory-scroll th:first-child,.route-inventory-scroll td:first-child{width:48px;text-align:center}
.route-inventory-scroll th:last-child,.route-inventory-scroll td:last-child{width:46px;text-align:center}
.route-sell-slot td{background:rgba(52,211,153,.055)}
.route-excluded-list{display:flex;flex-wrap:wrap;gap:6px;min-height:26px;align-items:center}.route-excluded-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border:1px solid var(--line,#263241);border-radius:999px;background:rgba(255,255,255,.025);font-size:11px}.route-excluded-chip button{width:20px;height:20px;padding:0;border-radius:999px;line-height:18px}.route-protected{font-size:10px;font-weight:800;color:#f59e0b}.route-protected-row td{background:rgba(245,158,11,.06)}.route-exclude-btn{padding:4px 7px;min-width:54px;font-size:10px;font-weight:800}.route-inventory-scroll th:nth-last-child(-n+2),.route-inventory-scroll td:nth-last-child(-n+2){white-space:nowrap}

/* Route buy item autocomplete */
.route-buy-search-wrap{position:relative;width:100%}
.route-buy-search-wrap>input{width:100%!important;box-sizing:border-box}
.route-buy-search-results{position:absolute;z-index:60;left:0;right:0;top:calc(100% + 5px);max-height:320px;overflow:auto;background:#0f1319;border:1px solid #343e4d;border-radius:9px;box-shadow:0 14px 38px rgba(0,0,0,.48);padding:5px}
.route-buy-search-results.hidden{display:none}
.route-buy-search-item{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;text-align:left;border:0;border-radius:7px;background:transparent;padding:8px 9px;color:#e8edf5;cursor:pointer}
.route-buy-search-item:hover,.route-buy-search-item.is-selected{background:#202735}
.route-buy-search-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.route-buy-search-item small{font:11px Consolas,monospace;color:#8996aa;white-space:nowrap}
.route-buy-search-state{padding:9px}
.route-buy-selected-list{display:flex;flex-direction:column;gap:6px;margin:8px 0}
.route-buy-selected-row{display:grid;grid-template-columns:minmax(0,1fr) auto 30px;align-items:center;gap:8px;padding:7px 8px;border:1px solid #343e4d;border-radius:8px;background:rgba(0,0,0,.14)}
.route-buy-selected-row>span{display:flex;min-width:0;flex-direction:column}
.route-buy-selected-row>span b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.route-buy-selected-row>label{display:flex;align-items:center;gap:5px;font-size:11px}
.route-buy-selected-row input{width:86px!important}
.route-buy-selected-remove{padding:3px!important;min-width:28px;height:28px}


/* Checkbox/text alignment: settings labels must never stack text above checkbox. */
label.modern-check-row{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  width:100%;
}
label.modern-check-row>span{
  display:flex!important;
  align-items:center!important;
  min-height:22px;
  margin:0!important;
  line-height:1.25!important;
  flex:1 1 auto;
}
label.modern-check-row>.modern-check{
  flex:0 0 22px!important;
  align-self:center!important;
  margin:0!important;
}
.route-settings-grid label.modern-check-row{
  flex-direction:row!important;
}

/* Packets: inspection controls */
.packet-topbar-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.packet-pause-btn,.packet-clear-btn{font-weight:700;white-space:nowrap}
.packet-pause-btn.packet-paused{border-color:#c99838;background:#332713;color:#ffd47a}
.packet-clear-btn{border-color:#6d3f46;color:#f1b8bf}
.packet-actions{flex-wrap:wrap}

/* GAME upstream SOCKS5 settings */
.socks-settings-shell{display:flex;flex-direction:column;gap:18px;max-width:1100px}
.socks-settings-head{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--border,#263241);padding-bottom:14px}
.socks-settings-head h2{margin:0 0 4px;font-size:20px}
.socks-enable-row{width:max-content;min-height:38px;padding:8px 12px;border:1px solid var(--border,#263241);border-radius:8px;background:rgba(255,255,255,.025)}
.socks-settings-grid{display:grid;grid-template-columns:minmax(240px,2fr) minmax(120px,.7fr) minmax(180px,1fr) minmax(180px,1fr);gap:14px}
.socks-settings-grid label{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important}
.socks-settings-grid input{width:100%;box-sizing:border-box}
.socks-settings-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.socks-settings-note{padding:12px 14px;border:1px solid var(--border,#263241);border-radius:8px;color:var(--muted,#9aa7b6);line-height:1.45}
.socks-session-list{display:flex;flex-direction:column;gap:7px}
.socks-session-row{display:grid;grid-template-columns:70px minmax(220px,1fr) minmax(220px,1fr);gap:12px;align-items:center;padding:9px 12px;border:1px solid var(--border,#263241);border-radius:7px}
@media(max-width:850px){.socks-settings-grid{grid-template-columns:1fr 1fr}.socks-session-row{grid-template-columns:60px 1fr}.socks-session-row span:last-child{grid-column:2}}
@media(max-width:560px){.socks-settings-grid{grid-template-columns:1fr}.socks-settings-head{align-items:flex-start;flex-direction:column}}

/* Multi-user / multi-bot shell */
.main-header{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.main-header>div:first-child{margin-right:auto}.bot-switcher{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.bot-switcher label{display:flex;flex-direction:row;align-items:center;gap:7px;margin:0}.bot-switcher select{min-width:180px}.bot-switcher .danger,.danger{border-color:#7f2833;color:#ff9aa7}.bot-switcher button:disabled{opacity:.45;cursor:not-allowed}
.auth-page{min-height:100vh;display:grid;place-items:center;background:#080d13}.auth-card{width:min(420px,calc(100vw - 32px));background:#101821;border:1px solid #253445;border-radius:14px;padding:28px;box-shadow:0 18px 70px rgba(0,0,0,.35)}.auth-card h1{margin:0 0 4px}.auth-card label{display:flex;flex-direction:column;gap:6px;margin-top:16px}.auth-card button{width:100%;margin-top:20px;min-height:44px}.auth-card #loginStatus{margin-top:12px;min-height:20px}
.admin-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.admin-shell{max-width:1500px;margin:0 auto;padding:12px}.admin-create-grid{display:grid;grid-template-columns:1fr 1fr 160px 140px auto;gap:10px;align-items:end}.admin-create-grid label{display:flex;flex-direction:column;gap:5px}.admin-user-table input[type="number"]{width:100px}.admin-user-table input[type="password"]{min-width:150px}.admin-password-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.admin-password-row input{min-width:220px}
@media(max-width:900px){.admin-create-grid{grid-template-columns:1fr 1fr}.bot-switcher{width:100%}.bot-switcher select{min-width:140px;max-width:230px}}

/* Multi-bot settings broadcast */
.header-entity-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;width:100%;justify-content:flex-end;border-top:1px solid #242d39;padding-top:9px;margin-top:2px}
.header-entity-actions .copy-settings-source{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:800;letter-spacing:.05em;color:#8fa0b5}
.header-entity-actions .copy-settings-source select{min-width:190px;max-width:260px}
#copySettingsAll{border-color:#49688e;background:#172334;color:#dce9ff;font-size:11px;font-weight:800}
#copySettingsAll:hover{border-color:#6d91c0;background:#20334b}
#copySettingsAll:disabled{opacity:.45;cursor:not-allowed}
#copySettingsStatus{min-width:120px;text-align:right}
@media(max-width:900px){.header-entity-actions{justify-content:flex-start}.header-entity-actions .copy-settings-source{flex:1 1 260px}.header-entity-actions .copy-settings-source select{flex:1;min-width:120px;max-width:none}#copySettingsStatus{text-align:left}}

/* 2026-10-16: desktop header controls on a single centered row */
@media (min-width:1600px){
  .main-header{
    display:grid;
    grid-template-columns:minmax(300px,1fr) auto auto;
    align-items:center;
    column-gap:14px;
    row-gap:0;
    flex-wrap:nowrap;
  }
  .main-header>div:first-child{
    grid-column:1;
    grid-row:1;
    min-width:0;
    margin-right:0;
  }
  .header-entity-actions{
    grid-column:2;
    grid-row:1;
    width:auto;
    min-width:0;
    justify-content:center;
    flex-wrap:nowrap;
    border-top:0;
    padding-top:0;
    margin:0;
    gap:7px;
  }
  .bot-switcher{
    grid-column:3;
    grid-row:1;
    justify-self:end;
    flex-wrap:nowrap;
    min-width:0;
  }
  .header-entity-actions .copy-settings-source{
    flex:0 0 auto;
    white-space:nowrap;
  }
  .header-entity-actions .copy-settings-source select{
    min-width:150px;
    width:150px;
    max-width:150px;
  }
  #copySettingsAll{
    white-space:nowrap;
  }
  #copySettingsStatus{
    min-width:0;
    max-width:135px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    text-align:left;
  }
}

/* Keep bulk-control result text inline; never create a second control row on wide screens. */
@media (min-width:1181px){
  .top-control-row{flex-wrap:nowrap}
  .all-bot-controls{flex-wrap:nowrap}
  .all-bot-control-status{
    width:auto;
    min-width:0;
    max-width:150px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    flex:0 1 auto;
  }
}

.admin-create-permission{display:flex;flex-direction:column;gap:5px}.admin-create-permission>.modern-check-row{min-height:34px;padding:5px 9px}.admin-packets-check{min-width:105px;justify-content:flex-start!important;gap:7px!important}

/* All bots overview */
.all-bots-overview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}
.all-bots-overview-head h2{margin:0;font-size:16px;color:#f1f5fb}
.all-bots-overview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(295px,1fr));gap:10px}
.overview-bot-card{display:flex;flex-direction:column;gap:8px;padding:11px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(180deg,#0f1721,#0c131b);box-shadow:var(--shadow)}
.overview-bot-card.is-error{border-color:#6e3d47}
.overview-bot-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.overview-bot-title{font-size:14px;font-weight:800;color:#eef3fa}
.overview-bot-meta{font-size:11px;color:var(--muted);font-family:Consolas,monospace}
.overview-bot-name{font-size:15px;font-weight:800;color:#f6e9be}
.overview-bot-sub,.overview-bot-pos{font-size:11px;color:#a9b6c7}
.overview-open-btn{padding:6px 10px;font-size:11px;white-space:nowrap;background:#162232;border-color:#3b536d}
.overview-kv-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#a8b5c7}
.overview-pill-row{display:flex;flex-wrap:wrap;gap:6px}
.overview-pill{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border:1px solid #33455b;border-radius:999px;background:#101721;font-size:10px;font-weight:800;letter-spacing:.02em}
.overview-pill.is-on{border-color:#355f49;background:#122218;color:#8fe0ab}
.overview-pill.is-off{border-color:#5e4651;background:#24161b;color:#f5b0ba}
.overview-action-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.overview-action-btn{min-height:34px;padding:7px 8px;font-size:10px;font-weight:800;letter-spacing:.02em;background:#14291f;border-color:#32644b;color:#8fe0ab}
.overview-action-btn:nth-child(2){background:#152236;border-color:#3d5c88;color:#a9c8f5}
.overview-action-btn:nth-child(3){background:#292514;border-color:#6b6038;color:#e7d68e}
.overview-action-btn.stop{background:#341920!important;border-color:#874d58!important;color:#ff9ca8!important}
.overview-card-message{min-height:16px;font-size:11px}
.overview-mini-bar{display:flex;flex-direction:column;gap:4px}
.top-action-stack button:disabled,.overview-action-btn:disabled,#reset:disabled{opacity:.45;cursor:not-allowed}
@media (max-width:1000px){.overview-action-row{grid-template-columns:1fr}}

/* USKO V5: icon display is presentation-only, never part of packet handling. */
.usko-skill-title{display:inline-flex;align-items:center;gap:7px;max-width:100%;min-width:0;vertical-align:middle}
.usko-skill-icon{width:30px;height:30px;flex:none;object-fit:contain;image-rendering:auto;border-radius:4px;background:#10141d}
.usko-skill-copy{display:inline-flex;flex-direction:column;min-width:0;gap:2px;line-height:1.2;overflow-wrap:anywhere}
.usko-skill-copy .small{font-weight:400}

/* User-driven packet SEND test sequence. No extra packet polling. */
.packet-test{margin-top:13px;padding:13px;border:1px solid var(--line2,#34445a);border-radius:11px;background:#101822}
.packet-test-heading{display:flex;justify-content:space-between;gap:12px;align-items:start}.packet-test-heading h3{margin:0 0 4px;font-size:13px;letter-spacing:.05em;color:#dce8f9}.packet-test-heading p{margin:0 0 11px;color:#91a4bf;font-size:11px;line-height:1.4}
.packet-test-badge{font:11px Consolas,monospace;color:#acd4ff;background:#202d42;padding:5px 9px;border:1px solid #395471;border-radius:7px;white-space:nowrap}
.packet-blocker-master{display:flex;align-items:center;gap:7px;font:700 11px Consolas,monospace;color:#acd4ff;background:#202d42;padding:5px 9px;border:1px solid #395471;border-radius:7px;white-space:nowrap;cursor:pointer}
.packet-blocker-master.on{color:#ff9eac;border-color:#874b5c;background:#2a1820}
.packet-blocker-add{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.packet-blocker-add input{flex:1 1 160px;min-width:0;box-sizing:border-box;background:#0b1119;color:#d8e5f7;border:1px solid #34445a;border-radius:6px;padding:7px 9px;font:12px Consolas,monospace}
.packet-blocker-add input#blockerHex{flex:0 1 220px;text-transform:uppercase}
.packet-blocker-list{display:flex;flex-direction:column;gap:6px}
.packet-blocker-rule{display:flex;align-items:center;gap:10px;padding:7px 10px;border:1px solid #304158;border-radius:8px;background:#0b121b}
.packet-blocker-rule.off{opacity:.55}
.packet-blocker-rule .op{font:700 13px Consolas,monospace;color:#ffcf8a;min-width:70px}
.packet-blocker-rule .note{flex:1 1 auto;min-width:0;color:#91a4bf;font-size:11.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.packet-blocker-rule .hits{font:11px Consolas,monospace;color:#79dfb1;white-space:nowrap}
.packet-blocker-rule button{padding:4px 9px;font-size:11px}
.packet-blocker-empty{color:#6f819b;font-size:11.5px;padding:6px 2px}
.packet-test-badge.running{color:#79dfb1;border-color:#40775c}.packet-test-badge.error{color:#ff9eac;border-color:#874b5c}
.packet-test-list-wrap{max-height:350px;overflow:auto;border:1px solid #304158;border-radius:8px;background:#0b121b}
.packet-test-table{margin:0;width:100%;border-collapse:collapse;table-layout:fixed}.packet-test-table th,.packet-test-table td{padding:6px 8px;border-bottom:1px solid #263444;text-align:left;vertical-align:middle}.packet-test-table th{font-size:10px;color:#a9bdd8;position:sticky;top:0;background:#151f2b;z-index:1}.packet-test-table th:nth-child(1){width:40px}.packet-test-table th:nth-child(2){width:165px}.packet-test-table th:nth-child(4){width:135px}.packet-test-table th:nth-child(5){width:126px}
.packet-test-table textarea{width:100%;min-height:40px;max-height:115px;resize:vertical;box-sizing:border-box;background:#0b1119;color:#bcd0e9;border:1px solid #34445a;border-radius:5px;padding:6px;font:11px/1.35 Consolas,monospace}
.packet-test-table input[type=number]{width:100%;max-width:102px;box-sizing:border-box;background:#0b1119;color:#d8e5f7;border:1px solid #34445a;border-radius:5px;padding:6px}
.packet-test-ops{display:flex;flex-wrap:wrap;gap:4px}.packet-test-ops button{min-width:27px;padding:5px 6px;font-size:11px}
.packet-test-table tr.packet-test-current{background:rgba(61,126,88,.23)}.packet-test-controls{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-top:10px}.packet-test-controls label{display:flex;align-items:center;gap:8px;color:#aabbd0;font-size:11px}.packet-test-controls select,.packet-test-controls input{background:#111b29;color:#e4f0ff;border:1px solid #394d66;border-radius:6px;padding:7px}.packet-test-controls input{width:68px}.packet-test-start{background:#1d503d;color:#b8ffd2;border-color:#327557}.packet-test-stop{background:#55282b;color:#ffbec4;border-color:#8a464d}.packet-test-hint{font-size:10px;color:#7c8ea5;line-height:1.5;margin:10px 0 0}.packet-test-context{position:fixed;z-index:3000;background:#141e2c;border:1px solid #47638b;border-radius:8px;padding:5px;box-shadow:0 8px 25px #000b}.packet-test-context.hidden{display:none}.packet-test-context button{border:0;background:transparent;color:#e9f2ff;text-align:left;padding:9px 13px;cursor:pointer;width:100%}.packet-test-context button:hover{background:#263b58}
@media(max-width:800px){.packet-test-table{min-width:740px}.packet-test-list-wrap{overflow-x:auto}}

.potion-smart-label{display:flex;align-items:center;gap:4px;font-size:11px;color:#98a4b5}

/* Bug report modal */
.report-modal{position:fixed;inset:0;z-index:4000;background:rgba(3,8,14,.72);display:flex;align-items:center;justify-content:center;padding:18px}
.report-modal.hidden{display:none}
.report-card{width:min(620px,96vw);max-height:92vh;overflow:auto;background:#111925;border:1px solid #33465d;border-radius:12px;box-shadow:0 24px 70px #000c;padding:16px}
.report-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.report-head h2{margin:0;font-size:16px;color:#eaf3ff}
.report-x{border:0;background:transparent;color:#a9b8ca;font-size:24px;line-height:1;cursor:pointer}
.report-text-label,.report-file-label{display:flex;flex-direction:column;gap:6px;margin-top:10px;color:#aab8c9;font-size:11px;font-weight:700}
.report-text-label textarea{width:100%;min-height:130px;resize:vertical;background:#0b121c;border:1px solid #33465d;border-radius:8px;color:#e6f1ff;padding:10px;font:12px/1.5 inherit}
.report-file-label input{color:#aab8c9;font-size:11px}
.report-preview img{display:block;max-width:100%;max-height:220px;border:1px solid #33465d;border-radius:8px;margin-top:8px}
.report-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:14px}
.report-actions button{padding:8px 16px}
.report-actions #reportSubmit{background:#244a36;border-color:#3c7555;color:#b9ffd2}
.report-actions #reportCancel{background:#202935;border-color:#3a475b;color:#c2cfdf}

/* Admin reports */
.report-admin-list{display:flex;flex-direction:column;gap:10px}
.report-admin-card{border:1px solid #33465d;border-radius:10px;background:#0f1722;padding:12px}
.report-admin-card.is-fixed{opacity:.72;border-color:#31523e}
.report-admin-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.report-admin-head b{color:#eaf3ff}
.report-admin-text{white-space:pre-wrap;line-height:1.45;color:#d7e3f2;font-size:12px;margin:6px 0}
.report-admin-image{display:block;max-width:min(100%,520px);max-height:280px;border:1px solid #33465d;border-radius:8px;margin:8px 0}
.report-admin-actions{display:flex;gap:8px;margin-top:10px}
.report-admin-actions button{padding:6px 12px;font-size:11px}
.report-admin-actions .reportFix{background:#244a36;border-color:#3c7555;color:#b9ffd2}
.report-admin-actions .reportDelete{background:#4b2429;border-color:#7d3c44;color:#ffc0c7}

/* Admin skill editor */
.admin-skill-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.admin-skill-toolbar input{flex:1 1 320px;min-width:220px;background:#0b121c;border:1px solid #33465d;border-radius:8px;color:#e6f1ff;padding:9px}
.admin-skill-table{width:100%;border-collapse:collapse;font-size:11px}
.admin-skill-table th,.admin-skill-table td{padding:7px 8px;border-bottom:1px solid #253346;text-align:left;vertical-align:middle}
.admin-skill-table th{color:#91a5bd;font-size:10px;text-transform:uppercase;letter-spacing:.05em}
.admin-skill-table input{width:92px;background:#0b121c;border:1px solid #33465d;border-radius:6px;color:#e6f1ff;padding:6px}
.admin-skill-table .admin-skill-save{background:#244a36;border-color:#3c7555;color:#b9ffd2;padding:6px 10px}

/* Theme: merged into styles.css for compatibility with existing static routes */
/* USKO — centered control-center theme. Visual changes only.
   Original app.js / admin.js / login.js and every original control ID are intact. */
:root{color-scheme:dark;--bg:#131710;--bg2:#181d14;--surface:#202819;--surface2:#262f1e;--surface3:#2b3422;--line:#484c2f;--line2:#555937;--text:#f5f3ee;--text2:#cec7af;--muted:#b0a47d;--accent:#d79f26;--accent2:#e7c163;--success:#4bdbac;--danger:#fa8492;--warning:#efc37b;--radius:12px;--radius-sm:8px;--shadow:0 8px 24px #0002}
html{scroll-behavior:smooth;background:#12160f}
body{background:radial-gradient(ellipse at 50% -26%,#354129 0%,#141811 47%,#0e110c 100%);background-attachment:fixed;color:#f6f5f0;line-height:1.5;font-size:12px}
.theme-app,.theme-admin{min-height:100vh;padding:38px 28px 42px}
.theme-shell{max-width:1480px;min-height:calc(100vh - 80px);margin:0 auto;display:grid;grid-template-columns:222px minmax(0,1fr);overflow:clip;border:1px solid #484c2e;border-radius:18px;background:#161b13;box-shadow:0 28px 90px #0007,0 0 0 1px #ffffff04}
.theme-sidebar{min-width:0;display:flex;flex-direction:column;background:#1c2217;border-right:1px solid #41442a}
.theme-brand{min-height:78px;display:flex;align-items:center;gap:12px;padding:17px 19px;border-bottom:1px solid #42462b}
.theme-brand-mark{width:37px;height:37px;display:grid;place-items:center;flex:none;border-radius:10px;background:linear-gradient(145deg,#dead44,#cd9724);box-shadow:0 6px 16px #bf8d2233;color:#151a12;font-size:21px;font-weight:900}
.theme-brand-name{font-size:18px;font-weight:850;line-height:1.1;white-space:nowrap;letter-spacing:-.4px}.theme-brand-name span,.theme-login-logo b{color:#e3b84a}.theme-brand-sub{font-size:9px;letter-spacing:2.2px;font-weight:850;color:#b3a470;margin-top:4px}
.theme-side-scroll{padding:23px 12px 10px;flex:1;min-height:0}.theme-nav-caption{margin:0 10px 10px;font-size:9px;letter-spacing:1.8px;color:#b5a572;font-weight:850}.theme-side-divider{height:1px;background:#44482c;margin:15px 9px 19px}
.theme-sidebar nav.top-nav{display:flex;flex-direction:column;gap:3px;padding:0;margin:0;border:0;background:transparent;box-shadow:none;grid-template-columns:none}
.theme-sidebar nav.top-nav button,.theme-shortcut,.theme-admin-link{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:37px;min-width:0;padding:9px 12px;margin:0;border:1px solid transparent;border-radius:9px;background:transparent;color:#c6bda1;box-shadow:none;font:600 11.5px/1.2 inherit;letter-spacing:0;text-align:left;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.theme-sidebar nav.top-nav button:hover,.theme-shortcut:hover,.theme-admin-link:hover{background:#2c3622;border-color:#4e5233;color:#f4f3ee}.theme-sidebar nav.top-nav button.active,.theme-shortcut.selected,.theme-admin-link.selected{background:linear-gradient(90deg,#575c3888,#41452a77);border:1px solid #656a417a;color:#e9e5da;box-shadow:none}
.theme-sidebar nav.top-nav button.active:before{display:none}.theme-sidebar nav.top-nav button.active .theme-nav-icon,.theme-shortcut.selected .theme-nav-icon{color:#e3b94f}
.theme-nav-icon{font:normal 18px/1 ui-sans-serif,system-ui;display:inline-grid;place-items:center;flex:0 0 19px;color:#b5aa85;width:19px}
.theme-sidebar nav.top-nav button.hidden{display:none!important}.theme-sidebar nav.top-nav button:disabled{opacity:.37;cursor:not-allowed}.theme-sidebar nav.top-nav .theme-nav-caption{margin-top:0}.theme-sidebar nav.top-nav .theme-side-divider{width:calc(100% - 18px)}
.theme-online-dot{display:inline-block;flex:0 0 7px;width:7px;height:7px;background:#2bd9a2;box-shadow:0 0 10px #20d7a788;border-radius:50%}
.theme-proxy-card{margin:14px 13px 15px;padding:13px 11px;background:#252d1d;border:1px solid #4c5031;border-radius:12px;min-width:0}.theme-proxy-title{display:flex;align-items:center;gap:7px;color:#e9e6dc;font-size:10px;font-weight:800}.theme-status-word{margin-left:auto;font-size:9px;color:#5ce6bb}.theme-proxy-value{margin:9px 0 2px;color:#dbd6c5;font:10px ui-monospace,Consolas,monospace}.theme-proxy-value .tag{padding:0;border:0;background:none;color:#ded9c9;font-weight:600;font-size:10px}.theme-proxy-desc{font-size:10px;color:#b2a782;line-height:1.5}
.theme-side-footer{min-height:69px;border-top:1px solid #42452b;display:flex;align-items:center;padding:12px 15px;gap:9px}.theme-avatar{display:grid;place-items:center;width:33px;height:33px;border-radius:9px;background:#4a4e30;color:#e7c368;font-weight:850;font-size:13px}.theme-account{min-width:0;flex:1}.theme-account strong{display:block;font-size:11px;color:#f7f6f2}.theme-account .tag,.theme-account small{background:transparent;border:none;color:#b9af8d;font-weight:500;font-size:9px;padding:0;max-width:133px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.theme-side-footer #userLogout{background:none;border:0;color:#e1ddce;padding:5px;font-size:0;line-height:1}.theme-side-footer #userLogout::before{content:'⇥';font-size:20px}.theme-side-footer #userLogout:hover{color:#ff9aa4}
.theme-main{min-width:0;background:linear-gradient(160deg,#1a2016,#161b13 58%)}
header.theme-topbar{height:78px;min-height:78px;background:#171c13;border-bottom:1px solid #44482c;padding:0 27px;display:flex;justify-content:space-between;align-items:center;gap:12px;box-shadow:none;backdrop-filter:none}
.theme-breadcrumb{white-space:nowrap;color:#b0a47e;font-size:11px}.theme-breadcrumb span{margin:0 9px;color:#8e7e4b}.theme-breadcrumb strong{color:#f6f5f0;font-weight:700}.theme-topbar-right{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:11px}.theme-system{color:#53e1b2;font-size:10px;letter-spacing:.15px;font-weight:800;white-space:nowrap;display:flex;align-items:center;gap:7px}
.theme-topbar-right .bot-switcher{display:flex;align-items:center;gap:7px;flex-wrap:nowrap;width:auto}.theme-topbar-right .bot-switcher label{background:#293220;border:1px solid #525735;padding:5px 8px 5px 11px;border-radius:8px;color:#afa37c;font-size:9px;gap:6px;white-space:nowrap;font-weight:850;letter-spacing:.4px;max-width:245px}.theme-topbar-right .bot-switcher select{background:transparent;border:0;padding:4px 7px;color:#f6f5f1;font-size:11px;font-weight:750;min-width:115px;max-width:180px;box-shadow:none}.theme-topbar-right .bot-switcher select option{background:#242d1c;color:#f6f5f1}.theme-topbar-right #botCreate{background:#d09a25;color:#171d13;border:1px solid #ddaa3d;font-size:10px;padding:11px 13px;font-weight:850;white-space:nowrap}.theme-topbar-right #botCreate:hover{background:#e4ba50}.theme-topbar-right #botDelete{background:#27202c;border-color:#684253;color:#ff9dad;font-size:10px;padding:11px 10px;white-space:nowrap}.theme-topbar-right #themeToolsToggle{padding:7px 10px;min-width:36px;height:36px;border-radius:8px;font-size:17px;background:#283120;color:#d5cfbb}.theme-tools{margin:0;padding:15px 27px;background:#1e2519;border-bottom:1px solid #4e5232}.theme-tools-heading{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:800;margin-bottom:12px}.theme-tools-heading button{font-size:20px;line-height:1;padding:1px 9px}.theme-tools .header-entity-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;border:0;margin:0;padding:0;width:100%;gap:9px}.theme-tools .header-entity-actions #copySettingsStatus{text-align:left}.theme-tools .theme-diagnostics{margin-top:12px;padding:11px 13px;background:#161b13;border:1px solid #474a2e;border-radius:8px;color:#b4a572}.theme-diagnostics b{display:block;color:#dfdbcc;margin-bottom:3px;font-size:11px}.theme-diagnostics #status{font-size:10px;line-height:1.65;overflow-wrap:anywhere}
.theme-main-content{padding:23px 26px 20px;min-width:0}.theme-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.theme-eyebrow{color:#ddab40;font-size:9px;letter-spacing:2px;font-weight:850;margin-bottom:5px}.theme-intro h1{font-size:27px;color:#f8f7f4;margin:0;letter-spacing:-.75px;line-height:1.2;font-weight:850}.theme-intro p,.theme-workspace-heading p,.theme-panel-heading p{color:#b4a985;font-size:11px;margin:7px 0 0}.theme-live-label{display:flex;align-items:center;gap:9px;background:#28311f;border:1px solid #505434;padding:10px 12px;border-radius:9px;white-space:nowrap;color:#b5aa85;font-size:10px}.theme-live-label strong{color:#69dfba;font-size:10px}
.theme-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:13px}.theme-stat{position:relative;min-width:0;height:106px;padding:16px 15px;background:linear-gradient(125deg,#27301e,#1e2519);border:1px solid #4e5233;border-radius:12px;overflow:hidden}.theme-stat-label{display:block;color:#c1b89b;font-size:10.5px;font-weight:650;margin-bottom:10px}.theme-stat-line{display:flex;align-items:baseline;gap:5px;min-width:0;white-space:nowrap}.theme-stat-line>strong{font-size:26px;line-height:1;font-weight:850;letter-spacing:-.7px;color:#faf9f6}.theme-stat-line small{font-size:10px;color:#b3a36f}.theme-stat-line em{font-size:9.5px;color:#4cdeb0;font-weight:750;font-style:normal;margin-left:2px}.theme-stat:nth-child(3) em{color:#edc782}.theme-npc-count{font-size:8px!important;color:#c2b99c!important;margin-left:auto;position:absolute;right:15px;bottom:12px}.theme-npc-count b{color:#e6e2d6}.theme-stat-icon{position:absolute;top:16px;right:14px;width:31px;height:31px;border-radius:9px;display:grid;place-items:center;font-size:18px;color:#deac41;background:#354129;border:1px solid #646941}.theme-stat-strip{position:absolute;bottom:14px;left:15px;width:48px;height:3px;border-radius:4px;background:#dca839}.theme-stat:nth-child(2) .theme-stat-icon{color:#61deb0;background:#183b35;border-color:#266a55}.theme-stat:nth-child(2) .theme-stat-strip{background:#53dfab}.theme-stat:nth-child(3) .theme-stat-icon{color:#f1bf73;background:#3e3426;border-color:#695436}.theme-stat:nth-child(3) .theme-stat-strip{background:#f0c17a}.theme-stat:nth-child(4) .theme-stat-icon{color:#dfdaca;background:#44472c;border-color:#676c42}.theme-stat:nth-child(4) .theme-stat-strip{background:#ded9c9}.theme-stat-ping .bot-latency-chip{border:0;background:transparent;min-width:0;min-height:0;padding:0;justify-content:flex-start;display:block;white-space:normal;font:750 13px/1.25 'Segoe UI',system-ui;color:#f8f7f4;max-width:calc(100% - 28px)}
.theme-mid-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:13px;margin-bottom:14px}.theme-card{background:#21291a;border:1px solid #4d5132;border-radius:12px;padding:17px 16px 16px;min-width:0}.theme-card-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.theme-card-header h2{color:#f6f5f1;font-weight:800;font-size:13px;margin:0}.theme-connected{display:inline-flex;align-items:center;gap:6px;color:#59deb2;background:#153930;border:1px solid #29664f;border-radius:999px;padding:5px 9px;font-size:9px;font-weight:800;white-space:nowrap}.theme-current-bot{color:#b6ab87;font-size:10px;white-space:nowrap}.theme-current-bot b{color:#f1efe9;font-weight:750}
.theme-character #selfHud{min-height:168px;min-width:0}.theme-character .top-self{min-width:0}.theme-character .self-hud-left{background:transparent!important;border:none!important;box-shadow:none!important;padding:0!important;min-height:0!important;height:auto!important}.theme-character .self-hud-left:not(.self-hud-empty)::before{content:'⚔';float:left;display:grid;place-items:center;margin:1px 12px 12px 0;width:44px;height:44px;border-radius:10px;border:1px solid #7f7143;background:radial-gradient(circle at 35% 25%,#5e633d,#27301e);color:#e9e6db;font-size:22px}.theme-character .self-hud-empty{min-height:160px;color:#c1b89a;text-align:center;justify-content:center}
.theme-character .self-name{font-size:16px;color:#f5f4ef;text-shadow:none;font-weight:800;padding-top:2px}.theme-character .self-sub{font-size:10.5px;color:#bbb18f}.theme-character .self-position{clear:both;color:#bbb18f;padding-top:13px;margin-top:11px;border-top:1px solid #474b2e;font-size:10px}.theme-character .self-bars{clear:both;margin-top:18px;gap:11px;display:flex;flex-direction:column}.theme-character .bar-label{font:10px/1.2 'Segoe UI',system-ui;color:#cec6ae;margin-bottom:5px}.theme-character .bar-label span:last-child{font-weight:750;color:#f2f1eb}.theme-character .bar-track{height:9px;border:0;border-radius:20px;background:#44482c;box-shadow:none}.theme-character .bar-fill{border-radius:20px}.theme-character .hp-fill{background:linear-gradient(90deg,#e85d70,#ff9993)}.theme-character .mp-fill{background:linear-gradient(90deg,#dead44,#e4ba51)}
.theme-quick .top-action-stack{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr;gap:7px;align-items:stretch}.theme-quick .top-action-stack button{min-width:0;min-height:83px;height:auto;padding:10px 4px 9px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;font-weight:850;font-size:9.5px;white-space:normal;line-height:1.2;text-align:center;letter-spacing:.1px}.theme-quick .top-action-stack button::before{content:attr(data-symbol);display:block;font-size:25px;line-height:1;color:currentColor;font-weight:650}.theme-quick .top-action-stack .global-attack-toggle{background:#27301e;color:#59e3bd;border-color:#555a37}.theme-quick .top-action-stack .support-action{background:#2a3421;color:#eaca7a;border-color:#5b5f3b}.theme-quick .top-action-stack .potion-action{background:#302b24;color:#f0c27c;border-color:#66513a}.theme-quick .top-action-stack .theme-stop-selected{background:#351f2a;color:#ff8f9d;border:1px solid #714357}.theme-quick .top-action-stack button:hover{filter:brightness(1.17)}.theme-quick .top-action-stack button.is-running{background:#432831;border-color:#854c5c;color:#ff9caa}
.theme-bulk{border-top:1px solid #484c2f;padding-top:11px;margin-top:12px}.theme-bulk-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;color:#c4bca0;font-size:9px;font-weight:850;letter-spacing:.9px}.theme-bulk-head .all-bot-control-status{min-height:0;font-size:9px;font-weight:550;letter-spacing:0;max-width:none}.theme-bulk .all-bot-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;align-items:stretch}.theme-bulk .all-bot-control{padding:6px 3px;min-height:34px;font-size:8px;white-space:normal;line-height:1.25;min-width:0;overflow-wrap:anywhere}.theme-bulk .all-bot-control:disabled{opacity:.5}
.theme-main-content > .panel{margin:0 0 14px;padding:17px;border:1px solid #4d5132;border-radius:12px;background:#21281a;box-shadow:none}.theme-workspace-heading{display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap;margin-bottom:13px}.theme-workspace-heading h2,.theme-panel-heading h2{font-size:14px;line-height:1.2;color:#f6f5f1;margin:0;font-weight:800}.theme-workspace-heading .toolbar{display:flex;align-items:center;gap:8px;margin:0;flex-wrap:wrap;max-width:100%}.theme-workspace-heading .toolbar input#search{min-width:195px;width:230px;background:#1b2117;border:1px solid #585d39;font-size:11px}.theme-workspace-heading .toolbar label{gap:6px;white-space:nowrap;color:#cec7b0}.theme-workspace-heading .toolbar #range{width:85px;background:#1b2117;border-color:#585d39}.theme-panel-heading{padding-bottom:12px;border-bottom:1px solid #474b2e;margin-bottom:15px}.theme-panel-heading p{margin-top:5px}
.theme-app #entityTargetInfo{margin:3px 0;color:#b5aa87;font-size:10px}.theme-app #entityCastFailures:not(:empty){margin:5px 0 10px}.theme-app .entity-three-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.16fr) minmax(0,1fr);gap:10px}.theme-app .entity-pane{background:#1c2217;border:1px solid #4c5031;border-radius:10px;overflow:hidden;min-width:0;box-shadow:none}.theme-app .entity-pane-title{background:#1c2317;border:0;border-bottom:1px solid #484c2f;min-height:43px;padding:13px 12px;font-size:10px;letter-spacing:.75px;color:#f8f7f3}.theme-app .entity-pane-title::before{content:'';display:inline-block;vertical-align:middle;margin-right:9px;width:7px;height:7px;border-radius:50%;background:#58deba}.theme-app .entity-mob-pane .entity-pane-title::before{background:#facb7a}.theme-app .entity-npc-pane .entity-pane-title::before{background:#ecce84}.theme-app .entity-pane-title .tag{float:right;border:0;padding:3px 7px;border-radius:6px;background:#1a4339;color:#62e2b5;font-size:9px;line-height:1.2}.theme-app .entity-mob-pane .entity-pane-title .tag{background:#483725;color:#ffd184}.theme-app .entity-npc-pane .entity-pane-title .tag{background:#4a4e30;color:#dad5c3}.theme-app .entity-table-scroll{max-height:430px;min-height:210px;overflow:auto}.theme-app table{font-size:10.5px;line-height:1.4}.theme-app th,.theme-app td{padding:9px 9px;border-bottom:1px solid #45492c}.theme-app th{background:#2c3622;color:#beb495;font-size:9px;letter-spacing:.35px;font-weight:750}.theme-app td{color:#d4ceb9}.theme-app td b{color:#f4f2ed}.theme-app tbody tr:hover{background:#344029}.theme-app tbody tr.target{background:#2e3924;outline:1px solid #847646}
.theme-app button,.theme-admin button,.theme-login button{transition:background .14s ease,border-color .14s ease,color .14s ease,filter .14s ease}.theme-app :focus-visible,.theme-admin :focus-visible,.theme-login :focus-visible{outline:2px solid #dca839;outline-offset:2px}.theme-app input,.theme-app select,.theme-app textarea,.theme-admin input,.theme-admin select,.theme-admin textarea{background:#1c2217;color:#f3f1ec;border:1px solid #585c39}.theme-app input:focus,.theme-app select:focus,.theme-admin input:focus,.theme-admin select:focus{border-color:#daa32d;box-shadow:0 0 0 3px #d79f2624}.theme-app input::placeholder{color:#b0a47e}.theme-app .tag{border-color:#5d623c;background:#303b25;color:#dcd7c7}
.theme-app .info-cell,.theme-app .self-mini,.theme-app .attack-card,.theme-app .rotation-main,.theme-app .rotation-settings-card,.theme-app .route-settings-pane,.theme-app .packet-side,.theme-app .packet-test,.theme-app .socks-settings-shell,.theme-app .overview-bot-card,.theme-admin .report-admin-card{background:#1c2317;border:1px solid #4c5031;border-radius:10px;box-shadow:none}.theme-app .section-title{color:#dad5c3}.theme-app details{background:#1d2318;border-color:#4d5132}.theme-app .attack-four-grid{gap:10px}.theme-app .route-layout,.theme-app .attack-layout{gap:12px}.theme-app .rawbox{background:#161b13;border-color:#4a4e30}.theme-app .scroll,.theme-admin .scroll{scrollbar-color:#5d633c #1c2217}
.theme-main-content .app-footer{margin:0;padding:11px;display:grid;gap:8px;grid-template-columns:minmax(0,1fr) auto auto;background:#1c2317;border:1px solid #4a4e30;border-radius:10px;color:#bdb494}.theme-main-content .footer-block{background:#252d1d;border-color:#4b4f30}.theme-bottom-note{display:flex;justify-content:space-between;gap:12px;padding-top:15px;color:#ad9b62;font-size:9px}.theme-bottom-note strong{color:#ccc4ab}
/* Other tabs emphasize the workspace rather than forcing the whole dashboard above every form. */
.theme-app.theme-subpage .theme-dashboard{margin-bottom:15px}.theme-app.theme-subpage .theme-dashboard .theme-intro{margin-bottom:0}.theme-app.theme-subpage .theme-dashboard .theme-stats,.theme-app.theme-subpage .theme-dashboard .theme-mid-grid{display:none}.theme-app.theme-subpage .theme-live-label{padding:8px 11px}
.theme-app.theme-all-view .theme-dashboard .theme-stats{display:none}.theme-app.theme-all-view .theme-dashboard .theme-mid-grid{display:none}
/* Admin mirrors the same frame and card surfaces. */
.theme-admin .theme-main-content>.theme-intro{margin-bottom:20px}.theme-admin .admin-shell{padding:0;max-width:none;margin:0;display:grid;grid-template-columns:1fr;gap:13px}.theme-admin .admin-shell>.panel{margin:0;padding:19px;border-color:#4e5232;background:#21281a;border-radius:12px;box-shadow:none;scroll-margin-top:24px}.theme-admin .admin-shell>.panel>h2{font-size:14px;color:#f5f4ef;padding-bottom:12px;border-bottom:1px solid #474b2e;margin:0 0 14px}.theme-admin .theme-topbar #adminWho{font-size:11px;max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.theme-admin .theme-topbar #adminLogout{background:#35212d;color:#ff9caa;border-color:#714659;font-size:10px}.theme-admin .admin-user-table,.theme-admin .admin-skill-table{font-size:11px}.theme-admin th{background:#2c3623;color:#c8c0a6}.theme-admin .admin-create-grid{gap:13px}.theme-admin .admin-create-grid label{color:#cfc8b0}.theme-admin .admin-create-grid #createUser,.theme-admin .admin-password-row #adminPassSave{background:#4e5233;color:#efede5;border-color:#c28f22}.theme-admin .scroll{background:#1c2317;border-radius:9px;border:1px solid #484c2e}.theme-admin .admin-user-table th,.theme-admin .admin-user-table td{padding:10px 9px}
/* Matching login page, two columns on desktop, compact on mobile. */
.auth-page.theme-login{display:grid;place-items:center;min-height:100vh;padding:28px;background:radial-gradient(ellipse at 25% -10%,#42462b 0%,#181d14 50%,#0f120c 100%)}
.theme-login-shell{width:min(950px,100%);min-height:485px;display:grid;grid-template-columns:1.12fr 1fr;overflow:hidden;border:1px solid #4c5031;border-radius:18px;box-shadow:0 30px 95px #0009;background:#1d2318}
.theme-login-brand{display:flex;flex-direction:column;justify-content:center;padding:43px 45px;background:radial-gradient(circle at 15% 20%,#2f3925 0%,#242d1c 43%,#1e2519 100%);border-right:1px solid #4f5433}.theme-login-logo{display:flex;align-items:center;gap:12px;color:#f9f8f6;font-weight:850;font-size:19px;margin-bottom:53px}.theme-login-brand h1{font-size:38px;line-height:1.18;letter-spacing:-1.4px;color:#f9f8f6;margin:8px 0 12px}.theme-login-brand h1 span{color:#dfaf48}.theme-login-brand p{color:#c9c1a7;max-width:315px;line-height:1.8;font-size:12px}.theme-login-features{display:flex;flex-direction:column;gap:12px;margin-top:30px;color:#c8c0a5;font-size:11px}.theme-login-form{display:flex;flex-direction:column;justify-content:center;padding:36px 42px}.theme-login-welcome{color:#dead44;font-size:10px;font-weight:900;letter-spacing:2px;margin-bottom:9px}.theme-login .auth-card{margin:0;width:100%;background:transparent;border:0;padding:0;border-radius:0;box-shadow:none}.theme-login .auth-card h1{color:#f9f8f6;font-size:24px;font-weight:850}.theme-login .auth-card .muted{color:#b8ad8b;font-size:11px}.theme-login .auth-card label{color:#cfc8b0;font-size:11px;font-weight:700;margin-top:20px}.theme-login .auth-card input{background:#191e15;border:1px solid #565b37;border-radius:9px;min-height:42px;padding:11px}.theme-login .auth-card #loginBtn{background:#cc9724;border:1px solid #e3b84b;color:#191f15;border-radius:9px;font-size:11px;font-weight:850;letter-spacing:.4px;margin-top:25px}
@media(min-width:1600px){.theme-shell{max-width:1480px}.theme-main-content{padding:26px 28px 21px}}
@media(max-width:1360px){.theme-app,.theme-admin{padding:23px 17px}.theme-shell{grid-template-columns:205px minmax(0,1fr)}.theme-main-content{padding:21px}.theme-stat{padding:15px 12px}.theme-topbar-right{gap:6px}header.theme-topbar{padding:0 20px}.theme-system{font-size:9px}.theme-workspace-heading .toolbar input#search{width:200px}}
@media(max-width:1120px){.theme-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-mid-grid{grid-template-columns:1fr}.theme-stat{height:97px}.theme-workspace-heading{align-items:flex-start}.theme-app .entity-three-grid{grid-template-columns:1fr}.theme-app .entity-table-scroll{max-height:300px;min-height:130px}.theme-topbar-right #botDelete{padding:10px 7px}.theme-main-content{padding:19px}.theme-admin .admin-create-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.theme-shell{grid-template-columns:175px minmax(0,1fr)}.theme-brand{padding:14px 11px}.theme-brand-mark{width:33px;height:33px}.theme-brand-name{font-size:15px}.theme-side-scroll{padding:16px 7px}.theme-sidebar nav.top-nav button,.theme-shortcut,.theme-admin-link{font-size:10px;gap:7px;padding:9px 6px}.theme-proxy-card{margin:10px 7px}.theme-side-footer{padding:10px 7px}.theme-breadcrumb{display:none}.theme-topbar-right{width:100%;justify-content:space-between}.theme-topbar-right .bot-switcher{gap:5px}.theme-topbar-right .bot-switcher label{padding:4px}.theme-topbar-right .bot-switcher select{min-width:90px;max-width:135px}.theme-main-content{padding:16px}.theme-intro h1{font-size:23px}.theme-quick .top-action-stack{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-quick .top-action-stack button{min-height:65px}.theme-live-label span:last-child{display:none}.theme-login-shell{grid-template-columns:1fr}.theme-login-brand{padding:26px 30px}.theme-login-brand h1{font-size:28px}.theme-login-logo{margin-bottom:20px}.theme-login-features{display:none}.theme-login-form{padding:29px 30px}}
@media(max-width:570px){.theme-app,.theme-admin{padding:0}.theme-shell{grid-template-columns:minmax(0,1fr);border-radius:0;min-height:100vh;border-left:0;border-right:0}.theme-sidebar{border-right:0;border-bottom:1px solid #4c5131;display:block}.theme-brand{min-height:60px}.theme-side-scroll{padding:8px 11px;display:flex;overflow:auto;gap:4px}.theme-side-scroll>.theme-nav-caption,.theme-side-scroll>.theme-side-divider,.theme-sidebar .theme-proxy-card,.theme-side-footer{display:none}.theme-sidebar nav.top-nav{display:flex;flex-direction:row;flex-wrap:nowrap}.theme-sidebar nav.top-nav .theme-nav-caption,.theme-sidebar nav.top-nav .theme-side-divider{display:none}.theme-sidebar nav.top-nav button,.theme-shortcut,.theme-admin-link{width:auto;flex:none;white-space:nowrap;padding:10px}.theme-sidebar nav.top-nav .theme-nav-icon,.theme-shortcut .theme-nav-icon{display:none}.theme-topbar{height:auto!important;min-height:66px!important;padding:8px 12px!important}.theme-topbar-right{flex-wrap:wrap;gap:6px}.theme-system{display:none}.theme-topbar-right #botDelete{font-size:9px}.theme-main-content{padding:15px 11px}.theme-intro{flex-wrap:wrap}.theme-intro h1{font-size:21px}.theme-live-label{padding:7px 10px}.theme-stats{gap:8px}.theme-stat{height:92px;padding:12px}.theme-stat-line>strong{font-size:23px}.theme-stat-icon{top:11px;right:9px;width:27px;height:27px}.theme-bulk .all-bot-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-card{padding:14px}.theme-main-content>.panel{padding:12px}.theme-workspace-heading .toolbar{width:100%}.theme-workspace-heading .toolbar input#search{min-width:0;width:100%}.theme-main-content .app-footer{grid-template-columns:1fr}.theme-bottom-note span:last-child{display:none}.theme-admin .admin-create-grid{grid-template-columns:1fr}.theme-login .auth-card h1{font-size:21px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
/* The control-center shortcut is the active visual item on the overview;
   Entity stays selected internally for the existing app's render logic. */
.theme-app:not(.theme-subpage):not(.theme-all-view) .theme-sidebar nav.top-nav button[data-tab="entity"].active{background:transparent;border-color:transparent;color:#c6bda1;box-shadow:none}
.theme-app:not(.theme-subpage):not(.theme-all-view) .theme-sidebar nav.top-nav button[data-tab="entity"].active .theme-nav-icon{color:#b5aa85}
.theme-app:not(.theme-subpage):not(.theme-all-view) .theme-sidebar nav.top-nav button[data-tab="entity"].active:hover{background:#2c3622;border-color:#4e5233;color:#f4f3ee}



/* ========== USKO 2026 — wide workspaces & refined Attack/SOCKS5 ========== */
/* Keep styles in existing /styles.css: servers with a static whitelist need no new file. */
.theme-app{padding:22px clamp(16px,2.2vw,36px) 30px}
.theme-app .theme-shell{
  max-width:1840px;
  grid-template-columns:216px minmax(0,1fr);
  border-radius:17px;
  min-height:calc(100vh - 53px);
}
.theme-app .theme-main-content{padding:23px clamp(19px,1.6vw,32px) 25px}
.theme-app .theme-main-content>.panel{padding:clamp(15px,1.3vw,22px);border-radius:14px}
.theme-app header.theme-topbar{padding-left:clamp(18px,1.6vw,30px);padding-right:clamp(18px,1.6vw,30px)}
.theme-app .theme-panel-heading{padding-bottom:16px;margin-bottom:18px}
.theme-app .theme-panel-heading h2{font-size:19px;font-weight:800;letter-spacing:-.45px}
.theme-app .theme-panel-heading p{font-size:11.5px;color:#bbb18f;margin-top:6px}
.theme-app .theme-panel-heading .theme-eyebrow{letter-spacing:1.75px}

/* Attack/support is an independent task workspace, not four cramped columns. */
.theme-app #attackPanel{min-width:0;background:linear-gradient(145deg,#242c1c 0%,#1c2317 100%)}
.theme-app #attack{min-width:0}
.theme-app #attack .skill-lines-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:10px 0 22px}
.theme-app #attack .skill-line-card{min-height:64px;border:1px solid #4e5233;border-radius:11px;background:linear-gradient(115deg,#1f251a,#1c2217);padding:13px 15px;align-items:center}
.theme-app #attack .skill-line-card b{font-size:11.5px;color:#d5cfba}
.theme-app #attack .skill-line-card span{font:800 19px/1.3 'Segoe UI',system-ui;color:#f4c96c}
.theme-app #attack>.section-title:first-child{font-size:10px;letter-spacing:1.1px;font-weight:850;color:#e8c56c}
.theme-app #attack .attack-four-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  gap:17px;
  align-items:start;
  margin-bottom:20px;
}
.theme-app #attack .attack-four-grid>.rotation-main,.theme-app #attack .attack-four-grid>.rotation-settings-card,.theme-app #attack .attack-four-grid>.rotation-mob-filter-card,.theme-app #attack .attack-four-grid>.rotation-support-card{
  order:initial;
  min-width:0;
  min-height:0;
  margin:0;
  padding:19px;
  background:linear-gradient(145deg,#1f251a,#1c2217);
  border:1px solid #4e5232;
  border-radius:13px;
  box-shadow:0 6px 16px rgba(0,0,0,.1);
}
.theme-app #attack .attack-pane-title{
  padding:0 0 14px;
  min-height:35px;
  margin:0 0 14px;
  border-bottom:1px solid #4b4f31;
  font-size:12px;
  letter-spacing:.65px;
  color:#f7f5f1;
  font-weight:850;
}
.theme-app #attack .attack-pane-title .tag{margin-left:auto}
.theme-app #attack .rotation-main .rotation-skill-search-wrap,.theme-app #attack .rotation-support-card .rotation-skill-search-wrap{display:flex;align-items:center;gap:10px;margin:0 0 11px}
.theme-app #attack .rotation-skill-search{min-height:40px;min-width:0;width:100%;background:#171d13;border:1px solid #5f643e;border-radius:9px;padding:9px 12px;font-size:12px}
.theme-app #attack table{width:100%;table-layout:auto;border-collapse:collapse}
.theme-app #attack th{font-size:10px;letter-spacing:.2px;white-space:nowrap;padding:11px 10px;background:#2e3824;color:#ccc5ad}
.theme-app #attack td{font-size:11.5px;padding:9px 10px;vertical-align:middle}
.theme-app #attack .scroll{scrollbar-color:#807244 #161b13;max-width:100%}
.theme-app #attack .rotation-skill-picker,.theme-app #attack .rotation-support-list{max-height:348px;overflow:auto}
.theme-app #attack .rotation-priority-wrap{max-height:240px;overflow:auto}
.theme-app #attack .rotation-mob-selected{min-height:0;max-height:175px;overflow:auto}
.theme-app #attack .rotation-mob-results{min-height:230px;max-height:360px;overflow:auto}
.theme-app #attack .rotation-support-selected{max-height:212px;overflow:auto}

.theme-app #attack .rotation-main>.section-title:not(.attack-pane-title){margin:17px 0 9px;font-size:10px;letter-spacing:.8px}
.theme-app #attack .rotation-settings-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;row-gap:6px}
.theme-app #attack .rotation-settings-card>.attack-pane-title,.theme-app #attack .rotation-settings-card>.rotation-subsection-title,.theme-app #attack .rotation-settings-card>#rotationStatus{grid-column:1/-1}
.theme-app #attack .rotation-settings-card>label{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:5px!important;
  min-width:0;
  min-height:0;
  padding:3px 0;
  color:#cfc8b0;
  font-size:11px;
  font-weight:600;
}
.theme-app #attack .rotation-settings-card>label:not(.modern-check-row)>input,.theme-app #attack .rotation-settings-card>label:not(.modern-check-row)>select{
  width:100%;min-width:0;max-width:none;
  height:38px;padding:9px 12px;border-radius:9px;
  font:600 12px/1.3 'Segoe UI',system-ui;
  background:#191e15;border:1px solid #5a5f3a;color:#f7f5f1;
}
.theme-app #attack .rotation-settings-card>label.modern-check-row{
  display:flex!important;flex-direction:row!important;
  align-items:center!important;justify-content:space-between!important;
  background:#262f1e!important;
  border:1px solid #4e5233!important;
  padding:7px 10px!important;
  min-height:43px;
  border-radius:9px!important;
  font-weight:650;
}
.theme-app #attack .rotation-settings-card>label.modern-check-row>span{min-width:0;font-size:10.5px;line-height:1.45}
.theme-app #attack .rotation-settings-card>label.modern-check-row>input{flex:0 0 22px!important;width:22px!important;min-width:22px!important;height:22px!important;margin:0!important;padding:0!important}
.theme-app #attack .rotation-settings-card .rotation-subsection-title{margin:15px 0 5px;font-size:10px;letter-spacing:1px;padding-top:15px;border-top:1px solid #505434}
.theme-app #attack .rotation-settings-card .legal-preset-btn{margin-left:auto;min-height:29px;border-radius:7px}
.theme-app #attack .rotation-settings-card #rotationStatus{margin-top:6px;padding:12px}
.theme-app #attack .rotation-mob-filter-card .mob-filter-block-title,.theme-app #attack .rotation-support-card .support-selected-title,.theme-app #attack .rotation-support-card .support-picker-title{
  margin:16px 0 9px;font-size:10px;letter-spacing:.7px;color:#e7c274;
}
.theme-app #attack .rotation-support-card .support-picker-title{color:#cfc8b0}
.theme-app #attack .rotation-mob-filter-card .rotation-mob-results,.theme-app #attack .rotation-support-card .rotation-support-list,.theme-app #attack .rotation-main .rotation-skill-picker{border:1px solid #545936;border-radius:10px;background:#161b12}
.theme-app #attack .rotation-mob-filter-card .rotation-mob-selected,.theme-app #attack .rotation-support-card .rotation-support-selected,.theme-app #attack .rotation-main .rotation-priority-wrap{border:1px solid #545936;border-radius:10px;background:#161b12}
.theme-app #attack .rotation-support-card .potion-block{padding:17px;margin-top:20px;border:1px solid #3f4b40;border-radius:11px;background:linear-gradient(145deg,#1d251f,#161e18)}
.theme-app #attack .rotation-support-card .potion-title{color:#f0cc75;margin-top:0}

.theme-app #attack .rotation-support-card .potion-help{line-height:1.6;font-size:11px}

.theme-app #attack .attack-details{margin:20px 0;border-radius:11px;border-color:#545936}
.theme-app #attack .attack-card{border-radius:11px;padding:18px}
.theme-app #attack .attack-placeholder{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:12px}
.theme-app #attack .attack-placeholder>label{min-width:0}
.theme-app #attack .attack-placeholder>button{min-height:37px}
.theme-app #attack .attack-note{color:#bcb291;line-height:1.6}

/* SOCKS5: structured two-column settings and clearly separated connection list. */
.theme-app #socksPanel{background:linear-gradient(145deg,#242c1c,#1c2317)}
.theme-app #socksPanel .socks-settings-shell{max-width:none;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:17px;align-items:start}
.theme-app .socks-config-card,.theme-app .socks-info-card,.theme-app .socks-sessions-card{
  min-width:0;border:1px solid #535836;border-radius:14px;
  background:linear-gradient(145deg,#222a1b,#1c2317);overflow:hidden;
}
.theme-app .socks-card-head{display:flex;align-items:center;gap:14px;padding:23px 23px 20px;border-bottom:1px solid #4f5433}
.theme-app .socks-card-icon{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border:1px solid #6c7146;border-radius:12px;background:#333e28;color:#e6c05f;font-size:25px}
.theme-app .socks-card-title{min-width:0;flex:1}
.theme-app .socks-card-kicker,.theme-app .socks-info-kicker{color:#e4bc55;font-size:9px;font-weight:900;letter-spacing:1.75px;margin-bottom:5px}
.theme-app .socks-card-title h3,.theme-app .socks-sessions-heading h3,.theme-app .socks-info-card h3{color:#f9f8f5;margin:0;font-size:18px;font-weight:800;letter-spacing:-.4px}
.theme-app .socks-card-title p{color:#bdb494;margin:5px 0 0;font-size:11px}
.theme-app .socks-state-badge{align-self:flex-start;padding:7px 11px!important;border:1px solid #315e58!important;border-radius:8px!important;background:#16342f!important;color:#67e9bb!important;font-size:10px!important;font-weight:900}
.theme-app .socks-config-body{padding:22px 23px 20px}
.theme-app .socks-enable-row{width:100%;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:15px 16px!important;min-height:70px!important;border:1px solid #5c613c!important;background:#2f3925!important;border-radius:11px!important}
.theme-app .socks-option-caption{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;min-width:0}
.theme-app .socks-option-caption strong{font-size:12px;font-weight:800;color:#f6f5f0}
.theme-app .socks-option-caption small{font-size:10.5px;font-weight:500;color:#c1b799}
.theme-app .socks-enable-row input{flex:0 0 22px!important;width:22px!important;min-width:22px!important;height:22px!important;margin:0!important}
.theme-app .socks-fields-title{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#d1cab3;font-weight:800;font-size:10px;letter-spacing:1px;margin:27px 0 15px}
.theme-app .socks-fields-title span{color:#ad9b62;font-weight:500;letter-spacing:0;font-size:10px}
.theme-app #socksPanel .socks-settings-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(115px,.8fr);gap:16px}
.theme-app #socksPanel .socks-settings-grid label{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;min-width:0;font-size:11px;color:#cfc8b0;font-weight:750}
.theme-app #socksPanel .socks-settings-grid label small{display:inline;margin-left:4px;color:#b5a572;font-weight:400;font-size:10px}
.theme-app #socksPanel .socks-settings-grid input{display:block;width:100%;height:44px;min-height:44px;padding:11px 13px;background:#181d14;border:1px solid #5b603b;border-radius:9px;color:#f7f6f2;font:600 12px 'Segoe UI',system-ui;outline:none}
.theme-app #socksPanel .socks-settings-grid input:focus{border-color:#dba532;box-shadow:0 0 0 3px #d49d261c}
.theme-app #socksPanel .socks-user-field,.theme-app #socksPanel .socks-pass-field{grid-column:auto}
.theme-app #socksPanel .socks-settings-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:23px}
.theme-app #socksPanel .socks-settings-actions button{min-height:43px;border-radius:9px;font-weight:800;font-size:11px;letter-spacing:.1px}
.theme-app #socksPanel .socks-primary-action{color:#1a2015;background:linear-gradient(100deg,#d8a026,#62e3ce);border:1px solid #e4bb53}
.theme-app #socksPanel .socks-primary-action:hover{filter:brightness(1.08)}
.theme-app #socksPanel .socks-secondary-action{background:#2d3823;border:1px solid #666c42;color:#ece9e0}
.theme-app .socks-save-status{display:flex;align-items:center;gap:7px;font-size:11px;color:#c5bda1;margin-top:17px}
.theme-app .socks-save-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#57deac;box-shadow:0 0 8px #49e4a344}
.theme-app .socks-info-column{display:flex;flex-direction:column;gap:15px;min-width:0}
.theme-app .socks-info-card{padding:24px}
.theme-app .socks-info-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#36422b;border:1px solid #6b7145;color:#e9c772;font-size:24px;margin-bottom:18px}
.theme-app .socks-info-card h3{font-size:17px;margin:8px 0 12px}
.theme-app .socks-info-card p{font-size:11px;line-height:1.8;color:#c6bea2;margin:0 0 18px}
.theme-app .socks-flow-diagram{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:15px 10px;background:#171c13;border:1px solid #4a4e30;border-radius:10px}
.theme-app .socks-flow-node{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px;align-items:center;text-align:center}
.theme-app .socks-flow-node span{font-size:9px;color:#e3b84a;font-weight:800}
.theme-app .socks-flow-node strong{color:#e1ddce;font-size:9px;font-weight:750;overflow-wrap:anywhere}
.theme-app .socks-flow-arrow{color:#b2a26d;flex:0 0 auto;font-size:15px}
.theme-app .socks-tip-card{display:flex;align-items:flex-start;gap:12px;padding:17px 19px;border:1px solid #63563b;border-radius:12px;background:linear-gradient(110deg,#302a20,#222725)}
.theme-app .socks-tip-symbol{width:22px;height:22px;flex:0 0 22px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:900;color:#f5ce79;border:1px solid #8b7044}
.theme-app .socks-tip-card strong{color:#e8d29b;font-size:11px}
.theme-app .socks-tip-card p{color:#b4ad99;font-size:10.5px;line-height:1.7;margin:5px 0 0}
.theme-app .socks-tip-card.socks-tip-subtle{background:#242c1c;border-color:#4f5333}
.theme-app .socks-tip-subtle .socks-tip-symbol{border-color:#807244;color:#eacb7b}
.theme-app .socks-tip-subtle strong{color:#e3dfd1}
.theme-app .socks-tip-subtle p{color:#bcb392}
.theme-app .socks-sessions-card{grid-column:1/-1}
.theme-app .socks-sessions-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 23px;border-bottom:1px solid #4f5433}
.theme-app .socks-sessions-heading h3{font-size:15px}
.theme-app .socks-live-pill{display:inline-flex;align-items:center;gap:7px;font-size:9px;font-weight:900;color:#60e0b7;background:#173b33;border:1px solid #296b55;border-radius:999px;padding:6px 10px}
.theme-app .socks-live-pill i{width:6px;height:6px;border-radius:50%;background:#56e3af}
.theme-app .socks-session-list{min-height:86px;padding:16px 22px;color:#b9ae8c;font-size:11px;background:#1d2318}
.theme-app .socks-session-row{grid-template-columns:minmax(60px,90px) minmax(0,1fr) minmax(0,1fr);gap:12px;border-radius:9px;border:1px solid #525735;background:#27301f;overflow-wrap:anywhere}

/* At smaller widths keep full form fields readable and no global horizontal scroll. */
@media(max-width:1540px){
  .theme-app .theme-shell{grid-template-columns:204px minmax(0,1fr)}
  .theme-app .theme-main-content{padding:20px}
  .theme-app #attack .attack-four-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .theme-app #attack .attack-four-grid>.rotation-main,.theme-app #attack .attack-four-grid>.rotation-settings-card,.theme-app #attack .attack-four-grid>.rotation-mob-filter-card,.theme-app #attack .attack-four-grid>.rotation-support-card{padding:15px}
}
@media(max-width:1190px){
  .theme-app #attack .attack-four-grid{grid-template-columns:minmax(0,1fr)}
  .theme-app #attack .attack-four-grid>.rotation-settings-card{grid-template-columns:repeat(2,minmax(0,1fr))}
  .theme-app #socksPanel .socks-settings-shell{grid-template-columns:minmax(0,1fr)}
  .theme-app .socks-sessions-card{grid-column:auto}
}
@media(max-width:760px){
  .theme-app{padding:12px}
  .theme-app .theme-shell{grid-template-columns:155px minmax(0,1fr)}
  .theme-app .theme-main-content{padding:13px}
  .theme-app #attack .skill-lines-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .theme-app #attack .rotation-settings-card{grid-template-columns:1fr!important}
  .theme-app #attack .attack-four-grid>.rotation-main,.theme-app #attack .attack-four-grid>.rotation-settings-card,.theme-app #attack .attack-four-grid>.rotation-mob-filter-card,.theme-app #attack .attack-four-grid>.rotation-support-card{padding:12px}
  .theme-app #attack .attack-placeholder{grid-template-columns:repeat(2,minmax(0,1fr))}
  .theme-app #socksPanel .socks-settings-grid{grid-template-columns:1fr}
  .theme-app #socksPanel .socks-settings-actions{grid-template-columns:1fr}
  .theme-app .socks-config-body,.theme-app .socks-card-head,.theme-app .socks-info-card{padding:15px}
}
@media(max-width:570px){
  .theme-app{padding:0}
  .theme-app .theme-shell{grid-template-columns:minmax(0,1fr);border-radius:0}
  .theme-app .theme-main-content{padding:11px}
  .theme-app .theme-main-content>.panel{padding:12px}
  .theme-app #attack .attack-four-grid{gap:11px}
  .theme-app #attack .skill-lines-grid{gap:8px}
  .theme-app .socks-flow-node strong{font-size:8px}
  .theme-app .socks-fields-title{flex-direction:column;align-items:flex-start}
  .theme-app .socks-session-row{grid-template-columns:1fr!important}
  .theme-app .socks-session-row span:last-child{grid-column:auto!important}
}


/* ===== 25.10 — fixed-access sidebar controls and 4-pane attack workspace ===== */
/* Keep the sidebar tools visible while the right content scrolls. */
@media (min-width: 571px){
  .theme-app .theme-shell { align-items: stretch; overflow: clip; }
  .theme-app .theme-sidebar {
    position: sticky;
    top: 12px;
    align-self: start;
    height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
    overflow: hidden;
    z-index: 15;
  }
  .theme-app .theme-side-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    scrollbar-width: thin;
    scrollbar-color: #5e633d transparent;
    padding-bottom: 9px;
  }
}
.theme-app .theme-sidebar-actions{
  flex: 0 0 auto;
  margin: 7px 10px 5px;
  padding: 12px 9px 10px;
  background: linear-gradient(150deg,#262f1e,#1e2419);
  border: 1px solid #4c5031;
  border-radius: 11px;
  box-shadow: 0 6px 18px #0002;
  min-width: 0;
}
.theme-app .theme-sidebar-actions-title{
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.4px;
  color: #e7c368;
  margin-bottom: 3px;
}
.theme-app .theme-sidebar-actions .theme-current-bot{
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 0 0 9px;
  min-width: 0;
  font-size: 10px;
}
.theme-app .theme-sidebar-actions .theme-current-bot b{
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-size: 10px;
}
.theme-app .theme-sidebar-actions .top-action-stack{
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.theme-app .theme-sidebar-actions .top-action-stack button{
  width: 100%;
  height: 40px;
  min-height: 40px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border-radius: 8px;
  padding: 0 11px;
  color: #eceae1;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: .2px;
  text-align: left;
  line-height: 1.1;
  transition: filter .12s ease, border-color .12s ease;
}
.theme-app .theme-sidebar-actions .top-action-stack button::before{
  content: attr(data-symbol);
  display: grid;
  place-items: center;
  width: 23px;
  flex: 0 0 23px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.theme-app .theme-sidebar-actions .top-action-stack .global-attack-toggle{background:#17372f;color:#64e6b7;border:1px solid #25664f;}
.theme-app .theme-sidebar-actions .top-action-stack .support-action{background:#2f3a25;color:#efd595;border:1px solid #796b3f;}
.theme-app .theme-sidebar-actions .top-action-stack .potion-action{background:#332c1f;color:#efd185;border:1px solid #655337;}
.theme-app .theme-sidebar-actions .top-action-stack .theme-stop-selected{background:#38212d;color:#ff9aab;border:1px solid #79445b;}
.theme-app .theme-sidebar-actions .top-action-stack button:hover:not(:disabled){filter:brightness(1.18);}
.theme-app .theme-sidebar-actions .top-action-stack button.is-running,.theme-app .theme-sidebar-actions .top-action-stack button[data-running="1"]{box-shadow:inset 3px 0 0 currentColor;}
.theme-app .theme-sidebar-actions .top-action-stack button:disabled{opacity:.42;cursor:not-allowed;}
.theme-app .theme-sidebar-actions + .theme-proxy-card{margin-top: 6px; margin-bottom: 8px;}
.theme-app .theme-sidebar-actions ~ .theme-side-footer{min-height:58px;}
/* The dashboard now contains only character info plus all-bot controls. */
.theme-app .theme-bulk-card .theme-bulk{border:0;padding:0;margin:0;}
.theme-app .theme-bulk-card .theme-bulk-head{margin-bottom:15px;color:#efece4;font-size:11px;}
.theme-app .theme-bulk-card .theme-bulk-head .all-bot-control-status{font-size:9px;white-space:normal;}
.theme-app .theme-bulk-card .all-bot-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
.theme-app .theme-bulk-card .all-bot-control{min-height:45px;padding:8px;font-size:9px;}
.theme-app .theme-mid-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);}

/* Full-width desktop Attack/Support: all four control panes aligned in one row. */
@media (min-width: 1500px){
  .theme-app #attack .attack-four-grid {
    grid-template-columns:minmax(0,1.16fr) minmax(0,.94fr) minmax(0,.9fr) minmax(0,1.16fr);
    gap: 10px;
  }
  .theme-app #attack .attack-four-grid > .rotation-main,
  .theme-app #attack .attack-four-grid > .rotation-settings-card,
  .theme-app #attack .attack-four-grid > .rotation-mob-filter-card,
  .theme-app #attack .attack-four-grid > .rotation-support-card {padding:13px 11px;}
  .theme-app #attack .rotation-settings-card {
    display:flex;
    flex-direction:column;
    gap:5px;
  }
  .theme-app #attack .rotation-settings-card > label {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 83px!important;
    flex-direction:unset!important;
    align-items:center!important;
    column-gap:7px!important;
    font-size:10px;
    padding:2px 0;
  }
  .theme-app #attack .rotation-settings-card > label > input:not([type="checkbox"]),
  .theme-app #attack .rotation-settings-card > label > select {width:83px!important;min-width:0!important;height:33px;padding:5px 7px;font-size:11px;}
  .theme-app #attack .rotation-settings-card > label.modern-check-row {
    display:flex!important;
    flex-direction:row!important;
    justify-content:space-between!important;
    align-items:center!important;
    gap:9px!important;
  }
  .theme-app #attack .rotation-settings-card > label.modern-check-row > input {flex:0 0 22px!important;}
  .theme-app #attack .rotation-settings-card > .attack-pane-title,
  .theme-app #attack .rotation-settings-card > .rotation-subsection-title,
  .theme-app #attack .rotation-settings-card > #rotationStatus {grid-column:auto;}
  .theme-app #attack .attack-pane-title{font-size:11px;letter-spacing:.35px;}
  .theme-app #attack table{width:100%;}
  .theme-app #attack th{padding:8px 6px;font-size:9px;}
  .theme-app #attack td{padding:7px 6px;font-size:10.5px;}
  .theme-app #attack .rotation-support-card .potion-block{padding:11px;margin-top:12px;}
  .theme-app #attack .rotation-main .rotation-skill-picker,
  .theme-app #attack .rotation-support-card .rotation-support-list{max-height:265px;}
  .theme-app #attack .rotation-mob-filter-card .rotation-mob-results {max-height:280px;min-height:185px;}
  .theme-app #attack .rotation-main .rotation-priority-wrap {max-height:170px;}
  .theme-app #attack .rotation-support-card .rotation-support-selected {max-height:125px;}
  .theme-app #attack .rotation-settings-card .rotation-subsection-title {margin:9px 0 3px;padding-top:10px;}
}
/* Laptop/medium screens retain a legible two-pane grid, narrow view stacks. */
@media (min-width: 1161px) and (max-width: 1499px){
  .theme-app #attack .attack-four-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;}
}
@media (max-width: 1160px) {
  .theme-app #attack .attack-four-grid{grid-template-columns:minmax(0,1fr);}
}
@media (max-width: 950px) and (min-width:571px) {
  .theme-app .theme-shell{grid-template-columns:184px minmax(0,1fr);}
  .theme-app .theme-sidebar-actions{margin:5px 6px;padding:9px 7px;}
  .theme-app .theme-sidebar-actions .top-action-stack button{padding:0 8px;font-size:9.5px;gap:7px;}
  .theme-app .theme-mid-grid{grid-template-columns:1fr;}
}
@media (max-height: 710px) and (min-width:571px) {
  .theme-app .theme-sidebar-actions{margin-top:3px;margin-bottom:3px;padding:8px 7px;}
  .theme-app .theme-sidebar-actions .top-action-stack button{height:33px;min-height:33px;}
  .theme-app .theme-sidebar-actions .top-action-stack{gap:4px;}
  .theme-app .theme-sidebar-actions-title{margin:0;}
  .theme-app .theme-proxy-card{padding:7px;margin-bottom:5px;}
  .theme-app .theme-side-footer{padding:6px;min-height:48px;}
}
@media (max-width:570px) {
  .theme-app .theme-sidebar-actions{
    position:sticky;
    top:0;
    z-index:5;
    margin:0;
    padding:7px 9px;
    border-radius:0;
  }
  .theme-app .theme-sidebar-actions-title,.theme-app .theme-sidebar-actions .theme-current-bot{display:none;}
  .theme-app .theme-sidebar-actions .top-action-stack{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;}
  .theme-app .theme-sidebar-actions .top-action-stack button{min-height:39px;height:auto;gap:2px;flex-direction:column;justify-content:center;font-size:8px;padding:4px 2px;text-align:center;}
  .theme-app .theme-sidebar-actions .top-action-stack button::before{font-size:16px;width:auto;flex:0 0 auto;}
  .theme-app .theme-mid-grid{grid-template-columns:1fr;}
}

/* ============================================================
   USKO DARK MATTE — sakin, uzun süreli kullanıma uygun renkler
   Yalnızca görsel stil değişir; yerleşim ve işlevler korunur.
   ============================================================ */
:root{
  color-scheme:dark;
  --bg:#111512;
  --bg2:#181d19;
  --surface:#202720;
  --surface2:#252d25;
  --surface3:#2a332a;
  --line:#353d32;
  --line2:#475043;
  --text:#d6d9d0;
  --text2:#b8c0b1;
  --muted:#9da79a;
  --accent:#a58d55;
  --accent2:#b6a172;
  --success:#80b39a;
  --danger:#c68b8f;
  --warning:#bea477;
  --shadow:0 12px 32px #0005;
}
html{background:#101410;scrollbar-color:#444e42 #161b17;}
body,body.theme-app,body.theme-admin{
  background:#111512;
  color:var(--text);
}
.theme-app .theme-shell,.theme-admin .theme-shell{
  background:#171c18;
  border-color:#363e34;
  box-shadow:0 20px 55px #0006;
}
.theme-app .theme-sidebar,.theme-admin .theme-sidebar{
  background:#181d19;
  border-right-color:#353d32;
}
.theme-brand{border-bottom-color:#343d33;}
.theme-brand-mark{
  background:linear-gradient(155deg,#a48d5b,#806b42);
  color:#1b2019;
  border:1px solid #aa9360;
  box-shadow:none;
}
.theme-brand-name span,.theme-login-logo b{color:#c1ae82;}
.theme-brand-sub,.theme-nav-caption{color:#9f9e86;}
.theme-sidebar .theme-nav-icon{color:#9aa499;}
.theme-sidebar nav.top-nav button,.theme-shortcut,.theme-admin-link{color:#b8c0b5;}
.theme-sidebar nav.top-nav button:hover,.theme-shortcut:hover,.theme-admin-link:hover{
  background:#242c24;
  border-color:#444d41;
  color:#e0e3d7;
}
.theme-sidebar nav.top-nav button.active,.theme-sidebar .theme-shortcut.selected,.theme-sidebar .theme-admin-link.selected{
  background:#303428;
  border:1px solid #675d43;
  color:#e0d7c1;
  box-shadow:inset 3px 0 0 #9f895a;
}
.theme-sidebar nav.top-nav button.active .theme-nav-icon,.theme-sidebar .theme-shortcut.selected .theme-nav-icon{color:#b3a073;}
.theme-app .theme-sidebar-actions{
  background:#1e251e;
  border-color:#384438;
  box-shadow:none;
}
.theme-app .theme-sidebar-actions-title,.theme-app .theme-eyebrow,.theme-app .theme-panel-heading .theme-eyebrow{color:#b9a477;}
/* Hızlı kontroller: durum rengi belli, neon/parlak değil. */
.theme-app .theme-sidebar-actions .top-action-stack .global-attack-toggle{
  background:#21352b;color:#acd0b6;border-color:#3e604c;
}
.theme-app .theme-sidebar-actions .top-action-stack .support-action{
  background:#253641;color:#afcad7;border-color:#476271;
}
.theme-app .theme-sidebar-actions .top-action-stack .potion-action{
  background:#3c3324;color:#d1bd96;border-color:#716044;
}
.theme-app .theme-sidebar-actions .top-action-stack .theme-stop-selected{
  background:#3a282c;color:#d4a4a8;border-color:#745258;
}
.theme-app .theme-sidebar-actions .top-action-stack button:hover:not(:disabled){filter:brightness(1.06);}
.theme-app .theme-sidebar-actions .top-action-stack button[data-running="1"]{box-shadow:inset 3px 0 0 currentColor;}
.theme-proxy-card,.theme-app .theme-proxy-card{
  background:#222e27;
  border-color:#465449;
}
.theme-online-dot{background:#79bba0;box-shadow:none;}
.theme-avatar{background:#34372a;color:#cab589;border:1px solid #625b44;}
.theme-main{background:#171d18;}
header.theme-topbar{
  background:#1b221c;
  border-bottom:1px solid #374136;
  box-shadow:none;
}
.theme-topbar-right .bot-switcher label{background:#252d25;border-color:#444d41;color:#b6c0af;}
.theme-topbar-right .bot-switcher select{color:#dce1d5;}
.theme-topbar-right .bot-switcher select option{background:#222920;color:#dce1d5;}
.theme-topbar-right #botCreate{
  background:#645a3e;
  color:#f1e9d4;
  border-color:#877751;
  box-shadow:none;
}
.theme-topbar-right #botCreate:hover{background:#736748;color:#f1e9d4;}
.theme-intro h1,.theme-workspace-heading h1{color:#e4e6df;}
.theme-intro p,.theme-workspace-heading p,.theme-panel-heading p{color:#abb6a7;}
.theme-live-label,.theme-stat,.theme-card,.theme-app .theme-main-content>.panel{border-color:#384438;}
.theme-live-label{background:#263128;color:#bdc9b9;}
.theme-stat{background:#222b23;box-shadow:none;}
.theme-stat-line>strong{color:#e2e5db;}
.theme-stat-label,.theme-stat-line small{color:#aeb8ac;}
.theme-card,.theme-app .theme-main-content>.panel{background:#202720;}
.theme-card-header h2,.theme-app h2,.theme-app .theme-panel-heading h2{color:#dfe2d8;}
.theme-app .theme-main-content>.panel{box-shadow:none;}
.theme-app .info-cell,.theme-app .self-mini,.theme-app .attack-card,.theme-app .rotation-main,.theme-app .rotation-settings-card,.theme-app .rotation-mob-filter-card,.theme-app .rotation-support-card,.theme-app .route-settings-pane,.theme-app .packet-side,.theme-app .packet-test,.theme-app .socks-settings-shell,.theme-app .overview-bot-card,.theme-admin .report-admin-card{
  background:#1c241e;
  border-color:#3a473b;
  box-shadow:none;
}
.theme-app #attackPanel{background:#202720;}
.theme-app #attack .skill-line-card{background:#252d25;border-color:#404a3d;}
.theme-app #attack .skill-line-card span{color:#c4ae7d;}
.theme-app #attack .rotation-skill-search,.theme-app input:not([type=checkbox]):not([type=radio]),.theme-app select,.theme-app textarea,.theme-admin input,.theme-admin select,.theme-admin textarea,.theme-login input{
  background:#151c17;
  color:#d6ddd1;
  border:1px solid #445044;
}
.theme-app input:focus,.theme-app select:focus,.theme-app textarea:focus,.theme-admin input:focus,.theme-admin select:focus,.theme-login input:focus{
  border-color:#a28d5f;
  box-shadow:0 0 0 2px #a28d5f26;
}
.theme-app input::placeholder,.theme-admin input::placeholder,.theme-login input::placeholder{color:#919f91;}
.theme-app table th,.theme-admin table th{
  background:#2a332a;
  color:#bac5b5;
  border-bottom-color:#475246;
}
.theme-app table td,.theme-admin table td{border-bottom-color:#333e34;color:#c4ccc0;}
.theme-app table td b,.theme-admin table td b{color:#e0e3d9;}
.theme-app tbody tr:hover,.theme-admin tbody tr:hover{background:#2b382e;}
.theme-app .tag,.theme-admin .tag{background:#2b332a;border-color:#515b4b;color:#d6d4c1;}
.theme-app .section-title,.theme-app .attack-pane-title{color:#c5cbbd;}
.theme-app .rotation-skill-picker,.theme-app .rotation-support-list,.theme-app #attack .rotation-mob-filter-card .rotation-mob-results,.theme-app #attack .rotation-support-card .rotation-support-list,.theme-app #attack .rotation-main .rotation-skill-picker,.theme-app #attack .rotation-mob-filter-card .rotation-mob-selected,.theme-app #attack .rotation-support-card .rotation-support-selected,.theme-app #attack .rotation-main .rotation-priority-wrap{
  background:#161e18;
  border-color:#404a3d;
}
.theme-app #attack .rotation-settings-card .rotation-subsection-title{border-top-color:#3f493d;color:#b2c0ad;}
.theme-app #attack .rotation-support-card .potion-block{background:linear-gradient(145deg,#1d251f,#161e18);border-color:#3f4b40;}
.theme-app #attack .rotation-support-card .potion-title,.theme-app #attack .rotation-mob-filter-card .mob-filter-block-title,.theme-app #attack .rotation-support-card .support-selected-title{color:#bea775;}
.theme-app #attack .rotation-settings-card>label.modern-check-row{background:#242e25!important;border-color:#3d483d!important;}
.theme-app .socks-card-head,.theme-app .socks-config-body,.theme-app .socks-info-card,.theme-app .socks-settings-card,.theme-app .socks-session-card{border-color:#3a4539;}
.theme-app #socksPanel{background:#202720;}
.theme-app .socks-config-card,.theme-app .socks-info-card,.theme-app .socks-sessions-card{background:#1d251f;border-color:#3b463c;}
.theme-app .socks-card-icon,.theme-app .socks-info-icon{background:#30372b;border-color:#555842;color:#bbaa7b;}
.theme-app .socks-card-kicker,.theme-app .socks-info-kicker{color:#bca77a;}
.theme-app .socks-card-title h3,.theme-app .socks-sessions-heading h3,.theme-app .socks-info-card h3{color:#e0e4d9;}
.theme-app .socks-card-title p,.theme-app .socks-info-card p{color:#b0baab;}
.theme-app .socks-enable-row{background:#242e26!important;border-color:#404e41!important;}
.theme-app .socks-fields-title,.theme-app #socksPanel .socks-settings-grid label{color:#c9d0c4;}
.theme-app .socks-fields-title span,.theme-app #socksPanel .socks-settings-grid label small{color:#a3ab99;}
.theme-app #socksPanel .socks-settings-grid input{background:#161e18;border-color:#445044;color:#dbe1d5;}
.theme-app #socksPanel .socks-settings-grid input:focus{border-color:#a28d5f;box-shadow:0 0 0 2px #a28d5f26;}
.theme-app #socksPanel .socks-primary-action{background:#625b42;color:#e9e5d7;border-color:#81775a;}
.theme-app #socksPanel .socks-primary-action:hover{filter:brightness(1.07);}
.theme-app #socksPanel .socks-secondary-action{background:#29342b;border-color:#465448;color:#d3dbcf;}
.theme-app .socks-flow-diagram{background:#172019;border-color:#3f4b40;}
.theme-app .socks-flow-node span{color:#b8a77f;}
.theme-app .socks-flow-node strong{color:#d6dbd0;}
.theme-app .socks-tip-card,.theme-app .socks-tip-card.socks-tip-subtle{background:#292b25;border-color:#4d493b;}
.theme-app .socks-tip-symbol{color:#c1af86;border-color:#766a4d;}
.theme-app .socks-tip-card strong,.theme-app .socks-tip-subtle strong{color:#d1cab7;}
.theme-app .socks-live-pill,.theme-app .socks-state-badge{background:#23382c!important;border-color:#41604b!important;color:#a0c9ae!important;}
.theme-app .theme-bulk-card .theme-bulk-head{color:#c7c6b9;}
.theme-app .theme-bulk-card .all-bot-control.all-bot-attack{background:#22382a;border-color:#46624b;color:#a5c9ad;}
.theme-app .theme-bulk-card .all-bot-control.all-bot-support{background:#273742;border-color:#4a6470;color:#b3c7d5;}
.theme-app .theme-bulk-card .all-bot-control.all-bot-potion{background:#3b3225;border-color:#726044;color:#cebb98;}
.theme-app .theme-bulk-card .all-bot-control.all-bot-stop{background:#39292d;border-color:#765058;color:#d5aaad;}
.theme-login .auth-card{background:#1d251f;border-color:#3e4a3d;}
.auth-page.theme-login{background:#111512;}
.theme-login-shell{background:#1b231d;border-color:#3d483c;box-shadow:0 20px 55px #0007;}
.theme-login-brand{background:#232c24;border-right-color:#3d483c;}
.theme-login-brand h1 span,.theme-login-welcome{color:#bca676;}
.theme-login .auth-card #loginBtn{background:#6e6246;border-color:#978057;color:#eee8d8;}
.theme-admin .admin-create-grid,.theme-admin .admin-user-table{border-color:#3b453a;}
.theme-admin .admin-shell>.panel{background:#202720;border-color:#3b453a;}
.theme-admin .admin-shell>.panel>h2{color:#dce1d4;border-bottom-color:#3c453a;}
.theme-admin th{background:#2a332a;color:#c4cebe;}
.theme-app :focus-visible,.theme-admin :focus-visible,.theme-login :focus-visible{outline:2px solid #b3a075;outline-offset:2px;}
*{scrollbar-color:#495747 #171e18;}
*::-webkit-scrollbar-track{background:#171e18;}
*::-webkit-scrollbar-thumb{background:#495747;border:2px solid #171e18;}
*::-webkit-scrollbar-thumb:hover{background:#647262;}
/* Bilinçli olarak HP/MP, hata ve başarı uyarılarını gizlemiyoruz. */


/* USKO Dark Matte – profil ayarlarını toplu bot kontrolüne taşıma */
.theme-app .theme-bulk-card .theme-profile-copy{
  margin-top:16px;
  padding:14px 14px 12px;
  border:1px solid #3b463b;
  border-radius:10px;
  background:#191f1a;
  min-width:0;
}
.theme-app .theme-profile-copy-heading{display:flex;align-items:flex-start;gap:10px;margin-bottom:13px}
.theme-app .theme-profile-copy-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;background:#2b3229;border:1px solid #4b5142;border-radius:8px;color:#bba87a;font-size:19px;line-height:1}
.theme-app .theme-profile-copy-heading strong{display:block;font-size:10.5px;letter-spacing:.5px;color:#dedbd0}
.theme-app .theme-profile-copy-heading p{margin:4px 0 0;font-size:10px;line-height:1.5;color:#a6b1a4}
.theme-app .theme-profile-copy-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:end}
.theme-app .theme-profile-copy .copy-settings-source{display:flex;flex-direction:column;gap:6px;min-width:0;color:#abae9e;font-size:9px;font-weight:750;letter-spacing:.5px}
.theme-app .theme-profile-copy .copy-settings-source select{display:block;width:100%;min-width:0;max-width:none;height:40px;padding:8px 10px;border:1px solid #465044;border-radius:8px;background:#252d26;color:#dedfd7;font-size:11px;font-weight:600;letter-spacing:0}
.theme-app .theme-profile-copy #copySettingsAll{width:100%;min-height:40px;padding:10px 12px;border:1px solid #74684c;border-radius:8px;background:#383729;color:#d9c8a3;font-size:10px;font-weight:800;letter-spacing:.15px;white-space:normal;line-height:1.4;transition:background .15s,border-color .15s}
.theme-app .theme-profile-copy #copySettingsAll:hover:not(:disabled){background:#484333;border-color:#a0926b}
.theme-app .theme-profile-copy #copySettingsAll:disabled{opacity:.42;cursor:not-allowed}
.theme-app .theme-profile-copy-detail{display:block;margin-top:10px;font-size:9.5px;line-height:1.55;color:#909b90}
.theme-app .theme-profile-copy #copySettingsStatus{display:block;min-width:0;max-width:none;text-align:left;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.5;margin-top:5px;color:#c6d0c1}
.theme-app .theme-profile-copy #copySettingsStatus:empty{display:none}
.theme-app .theme-profile-copy #copySettingsStatus.bad{color:#d5aaad}
.theme-app .theme-profile-copy #copySettingsStatus.good{color:#a5c9ad}
/* Toplu görünümde hem kontrol butonları hem de profil kopyalama ulaşılabilir kalır. */
.theme-app.theme-all-view .theme-dashboard .theme-mid-grid{display:grid;grid-template-columns:minmax(0,1fr);margin-top:12px}
.theme-app.theme-all-view .theme-dashboard .theme-mid-grid > .theme-character{display:none}
.theme-app.theme-all-view .theme-dashboard .theme-bulk-card{width:100%}
.theme-app.theme-all-view .theme-dashboard .theme-profile-copy-fields{grid-template-columns:minmax(180px,1fr) minmax(220px,1.2fr);gap:12px}
@media (max-width:720px){
 .theme-app.theme-all-view .theme-dashboard .theme-profile-copy-fields{grid-template-columns:minmax(0,1fr)}
 .theme-app .theme-bulk-card .theme-profile-copy{padding:12px}
}

/* Oto Kutu: aktif tema yuzeyleri */
.theme-app #loot .loot-settings-card,.theme-app #loot .loot-main-card{background:#20281a;border-color:#4e5233;border-radius:12px}
.theme-app #loot .loot-settings-card .modern-check-row{background:#262f1e;border-color:#4e5233;color:#f5f3ee}
.theme-app #loot .loot-settings-card .modern-check-row:hover{background:#2c3622;border-color:#656a41}
.theme-app #loot .loot-filter-block{background:#1c2317;border-color:#4e5233}
.theme-app #loot .loot-filter-title{color:#e4dcc4}
.theme-app #loot .loot-item-results{background:#181f14;border-color:#555937;box-shadow:0 12px 28px #0008}
.theme-app #loot .loot-search-item{color:#f0ecdf}
.theme-app #loot .loot-search-item:hover{background:#2c3622}
.theme-app #loot .loot-search-item small{color:#b8ad8a}
.theme-app #loot .loot-item-chip{background:#2a3321;border-color:#5c613d;color:#f1eddf}
.theme-app #loot .loot-item-chip:hover{background:#3a2929;border-color:#7c5550}
.theme-app #loot .loot-item-chip small{color:#b9ad8b}
.theme-app #loot .loot-item-chip b{color:#e4c477}
.theme-app #loot .loot-apply{border-color:#8b7336;background:#3a3420;color:#f0d79a}
.theme-app #loot .loot-apply:hover{background:#4a4227;border-color:#b39345}
.theme-app #loot .loot-summary{color:#d2c9ad}
.theme-app #loot .section-title{color:#e7dfc9}
.theme-app #loot .muted{color:#b0a47d}

/* Oto Kutu label + checkbox aktif tema */
.theme-app #loot .loot-settings-card label,.theme-app #loot .loot-settings-card label.modern-check-row>span{color:#f5f3ee}
.theme-app #loot .loot-settings-card label small,.theme-app #loot .loot-settings-card label.modern-check-row>span small{color:#b0a47d}
.theme-app #loot .modern-check{background:#151b12;border-color:#5c613d}
.theme-app #loot .modern-check:checked{background:#8b7336;border-color:#d79f26}
.theme-app #loot .modern-check:hover{border-color:#a88a41}
.theme-app #loot .loot-settings-card .modern-check-row:hover .modern-check:not(:checked){border-color:#8b7336}

/* Envanter + seviyesi */
.item-plus{color:#e3b94f;font-weight:850;font-size:10.5px;letter-spacing:0}

/* Karakter Durumu — canlı mini map */
.self-minimap-card{min-width:0;display:flex;flex-direction:column;gap:7px;padding:10px;border:1px solid #4e5233;border-radius:12px;background:#1b2217}
.self-minimap-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#b0a47d;font-size:10px;font-weight:800;letter-spacing:.8px;text-transform:uppercase}
.self-minimap-head b{color:#e7dfc9;font-size:10px}
.self-minimap-card canvas{display:block;width:100%;height:170px;border:1px solid #3f472d;border-radius:9px;background:#11170f}
.self-map-legend{display:flex;align-items:center;gap:13px;color:#b8ad8a;font-size:9.5px;font-weight:700}
.self-map-legend span{display:inline-flex;align-items:center;gap:5px}
.map-dot{display:inline-block;width:7px;height:7px;border-radius:50%;box-shadow:0 0 0 1px #0b100a}
.map-dot.self{background:#4aa3ff}.map-dot.mob{background:#ff5b5b}.map-dot.player{background:#5ee08a}
@media(max-width:1000px){.self-minimap-card canvas{height:200px}}

.self-minimap-head span{max-width:72%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.self-map-wrap{position:relative;min-width:0}
.self-map-tools{position:absolute;top:6px;right:6px;display:flex;align-items:center;gap:3px;padding:3px 4px;border:1px solid #6c5b2c;border-radius:8px;background:#151b12e6;backdrop-filter:blur(2px)}
.self-map-tools button{width:23px;height:22px;min-width:23px;padding:0;border:1px solid #5c613d;border-radius:6px;background:#2a3321;color:#ead9a4;font:800 14px/1 Consolas,monospace;cursor:pointer}
.self-map-tools button:hover{background:#3a442b;border-color:#a88a41}
.self-map-tools #selfMapZoomLabel{min-width:28px;text-align:center;color:#cdbd8c;font:800 9px Consolas,monospace}

.self-minimap-head em{font-style:normal;color:#e3b94f;font-weight:800;margin-left:4px}

/* Latency breakdown: BOT + CLIENT / PROXY / GAME */
.bot-latency-chip .lat-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;line-height:1.35;white-space:nowrap}
.bot-latency-chip .lat-row span{color:inherit;font:inherit}
.bot-latency-chip .lat-row b{font:800 12px/1.35 Consolas,monospace;color:#f6f2e6;white-space:nowrap}
.theme-stat-ping .bot-latency-chip .lat-row b{font-size:12.5px}

/* Four-line latency card: compact, single font family */
.theme-stat-ping .theme-stat-label{font-size:9px;margin-bottom:6px;letter-spacing:.2px}
.theme-stat-ping{height:auto;min-height:106px;padding-top:12px;padding-bottom:10px}
.theme-stat-ping .bot-latency-chip{font:600 9.5px/1.2 Consolas,'Segoe UI',monospace;max-width:100%}
.theme-stat-ping .bot-latency-chip .lat-row{line-height:1.2;gap:5px;justify-content:flex-start}
.theme-stat-ping .bot-latency-chip .lat-row span{font:600 9.5px/1.2 Consolas,'Segoe UI',monospace;color:#ddd7c8}
.theme-stat-ping .bot-latency-chip .lat-row b{font:800 10px/1.2 Consolas,'Segoe UI',monospace;margin-left:auto}

/* DEAD TIME spawn-time filter */
.dead-time-title{display:flex;align-items:center;justify-content:space-between;gap:10px}
.dead-spawn-time{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:600;color:var(--muted,#9aa)}
.dead-spawn-time input{width:52px;padding:4px 5px;font-size:11px;text-align:right}

/* Sade giriş: sadece ID, şifre ve giriş butonu */
.auth-page.login-simple{padding:20px;background:#111512}
.login-simple .login-simple-card{width:min(360px,100%);margin:0;padding:26px;background:#1d251f;border:1px solid #3e4a3d;border-radius:14px;box-shadow:0 18px 55px #0008}
.login-simple .login-simple-card label{margin-top:0;margin-bottom:14px;color:#cfc8b0;font-size:11px;font-weight:700}
.login-simple .login-simple-card label+label{margin-top:0}
.login-simple .login-simple-card input{min-height:42px;background:#161e18;border:1px solid #445044;border-radius:9px;color:#dbe1d5;padding:11px}
.login-simple .login-simple-card #loginBtn{width:100%;min-height:44px;margin-top:2px;background:#3a4a3b;border:1px solid #566a56;border-radius:9px;color:#f0f4ec;font-size:12px;font-weight:800;letter-spacing:.3px}
.login-simple .login-simple-card #loginStatus{min-height:0;margin-top:8px;font-size:11px}

/* Seçilen support listesini aşağı doğru genişlet */
.theme-app #attack .rotation-support-card .rotation-support-selected{max-height:340px;overflow:auto}
.theme-app #attack .rotation-support-card .rotation-support-list{max-height:400px;overflow:auto}
@media(max-width:820px){
  .theme-app #attack .rotation-support-card .rotation-support-selected{max-height:230px}
  .theme-app #attack .rotation-support-card .rotation-support-list{max-height:265px}
}

/* DEAD TIME ortalama spawn */
.dead-time-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.dead-avg-spawn{font-size:10px;font-weight:700;color:#9fb79b;white-space:nowrap}
@media(max-width:820px){.dead-time-tools{width:100%;justify-content:space-between}.dead-avg-spawn{font-size:9px}}

/* Global kontrol butonları: çalışırken DURDUR kırmızı, dururken BAŞLAT yeşil */
.theme-app .theme-sidebar-actions .top-action-stack button[data-running="1"]{
  background:#3a2529!important;
  border-color:#704047!important;
  color:#e3b8bd!important;
  box-shadow:inset 3px 0 0 #a75862;
}
.theme-app .theme-sidebar-actions .top-action-stack button[data-running="1"]:hover:not(:disabled){filter:brightness(1.1)}
.theme-app .theme-sidebar-actions .top-action-stack button[data-running="0"]{
  background:#1f4a35!important;
  border-color:#3f8f62!important;
  color:#c6f5d7!important;
  box-shadow:inset 3px 0 0 #55d68a,0 0 0 1px #2b6748 inset;
}
.theme-app .theme-sidebar-actions .top-action-stack button[data-running="0"]:hover:not(:disabled){filter:brightness(1.1)}

/* Öncelik skill başına metre */
.rotation-skill-range{width:64px;padding:5px 6px;font-size:11px;text-align:right;background:#161e18;border:1px solid #445044;border-radius:6px;color:#dbe1d5}
.rotation-skill-range::placeholder{color:#7d8b78;font-size:9px}

/* Packets ONLY RUNTIME filtresi */
.packet-runtime-check{display:inline-flex;align-items:center;gap:7px;margin:0;padding:5px 8px;border:1px solid #445044;border-radius:8px;background:#161e18;color:#cbd5c5;font-size:9px;font-weight:800;letter-spacing:.04em;cursor:pointer;white-space:nowrap}
.packet-runtime-check input{margin:0;width:14px;height:14px}
.packet-player-select{max-width:230px;min-width:150px;height:28px;padding:0 8px;border:1px solid #445044;border-radius:8px;background:#161e18;color:#cbd5c5;font:700 10px 'Segoe UI',system-ui;cursor:pointer}

/* Compact self HUD: smaller minimap + side-by-side HP/MP bars */
.self-hud{grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr)!important}
.self-bars{display:flex!important;flex-direction:row!important;gap:8px!important}
.self-bars .bar-wrap{flex:1 1 0;min-width:0}
.theme-character .self-bars{display:flex!important;flex-direction:row!important;gap:8px!important}
.self-minimap-card canvas{height:100px!important}
@media(max-width:1000px){.self-hud{grid-template-columns:1fr!important}.self-minimap-card canvas{height:140px!important}}

/* Map 50% width + HP/MP bars beside it */
.self-hud{grid-template-columns:minmax(0,1fr) minmax(0,.5fr) minmax(0,.5fr)!important}
.self-bars-side{display:flex;align-items:center;min-width:0;padding:10px;border:1px solid #4e5233;border-radius:12px;background:#1b2217}
.self-bars-side .self-bars{display:flex!important;flex-direction:column!important;gap:10px!important;width:100%;margin:0!important}
.theme-character .self-bars-side .self-bars{display:flex!important;flex-direction:column!important;gap:10px!important}
.self-bars-side .bar-wrap{flex:none;width:100%}
@media(max-width:1000px){.self-hud{grid-template-columns:1fr!important}.self-bars-side{order:3}}

/* Explicit HUD areas: info | map | bars */
.self-hud{
  grid-template-columns:minmax(0,1fr) minmax(0,.5fr) minmax(0,.5fr)!important;
  grid-template-areas:"selfinfo selfmap selfbars"!important;
}
.self-hud-left{grid-area:selfinfo!important}
.self-minimap-card{grid-area:selfmap!important}
.self-bars-side{grid-area:selfbars!important}
@media(max-width:1000px){
  .self-hud{grid-template-columns:1fr!important;grid-template-areas:"selfinfo" "selfmap" "selfbars"!important}
}

/* Real HUD container is #selfHud.top-self: info | map (half width) | bars */
#selfHud.top-self{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr)!important;
  grid-template-areas:"selfinfo selfmap selfbars"!important;
  gap:10px!important;
  align-items:stretch!important;
  min-width:0!important;
}
#selfHud.top-self .self-hud-left{grid-area:selfinfo!important;min-width:0!important}
#selfHud.top-self .self-minimap-card{grid-area:selfmap!important;min-width:0!important}
#selfHud.top-self .self-bars-side{grid-area:selfbars!important;min-width:0!important}
@media(max-width:1000px){
  #selfHud.top-self{
    grid-template-columns:1fr!important;
    grid-template-areas:"selfinfo" "selfmap" "selfbars"!important;
  }
}

/* Diagram layout: map left half, info top-right, HP/MP bottom-right */
#selfHud.top-self{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  grid-template-areas:
    "selfmap selfinfo"
    "selfmap selfbars"!important;
  gap:10px!important;
  align-items:stretch!important;
}
#selfHud.top-self .self-minimap-card{grid-area:selfmap!important;height:100%!important}
#selfHud.top-self .self-hud-left{grid-area:selfinfo!important}
#selfHud.top-self .self-bars-side{grid-area:selfbars!important}
#selfHud.top-self .self-minimap-card .self-map-wrap{flex:1 1 auto;min-height:110px}
#selfHud.top-self .self-minimap-card canvas{height:100%!important;min-height:110px!important}
@media(max-width:1000px){
  #selfHud.top-self{
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto auto!important;
    grid-template-areas:"selfmap" "selfinfo" "selfbars"!important;
  }
  #selfHud.top-self .self-minimap-card canvas{height:140px!important}
}

/* Retail item icons and job avatar */
.job-avatar{float:right;width:56px;height:76px;object-fit:contain;object-position:top center;margin:-4px 0 6px 10px;filter:drop-shadow(0 4px 8px #0008)}
.item-name-wrap{display:inline-flex;align-items:center;gap:6px;min-width:0}
.item-inline-icon{width:24px;height:24px;object-fit:contain;border:1px solid #3a4634;border-radius:5px;background:#0c110b;flex:0 0 auto}
.item-name-wrap .item-plus{color:#f0c36a}
.item-hover-card{position:fixed;z-index:10000;display:none;max-width:360px;padding:10px;border:1px solid #7b6a36;border-radius:9px;background:#11170f;color:#e9e3cd;box-shadow:0 12px 30px #000b;pointer-events:none}
.item-hover-card>img{float:left;width:64px;height:64px;object-fit:contain;margin:0 10px 6px 0;border:1px solid #4e5b3d;border-radius:8px;background:#0b0f0a}
.item-hover-info b{display:block;color:#f3ecd3;font-size:13px}
.item-hover-id{display:block;color:#8f9a84;font:10px Consolas,monospace;margin-top:3px}
.item-hover-info p{margin:7px 0 0;color:#bfb89f;font-size:11px;line-height:1.4;clear:both}

/* MyInfo inventory grid — game inventory style */
.inv-shell{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px;margin:10px 0 14px}
.inv-section{background:linear-gradient(160deg,#1c170e,#0f120d);border:1px solid #5b4b2a;border-radius:10px;padding:9px;box-shadow:inset 0 1px 0 #ffffff0a}
.inv-section-title{display:flex;justify-content:space-between;align-items:center;margin:0 2px 7px;color:#d7c38c;font-size:10px;font-weight:800;letter-spacing:.8px}
.inv-section-title b{color:#8f9a78;font:700 9px Consolas,monospace}
.inv-grid{display:grid;grid-template-columns:repeat(var(--inv-cols,5),minmax(0,1fr));gap:4px}
.inv-slot{position:relative;aspect-ratio:1/1;min-width:0;border:1px solid #4f442b;border-radius:5px;background:radial-gradient(circle at 50% 35%,#2a2418,#0c0e0a 75%);box-shadow:inset 0 0 8px #000a;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:default}
.inv-slot:hover{border-color:#c9a84d;box-shadow:inset 0 0 8px #000a,0 0 0 1px #c9a84d66}
.inv-slot.is-empty{opacity:.42;background:#0b0d09}
.inv-slot img{width:82%;height:82%;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 2px 2px #000)}
.inv-plus{position:absolute;left:2px;top:1px;color:#f6d35f;font:800 10px/1 Consolas,monospace;text-shadow:0 1px 2px #000,0 0 3px #000}
.inv-count{position:absolute;right:3px;bottom:2px;color:#fff;font:800 10px/1 Consolas,monospace;text-shadow:0 1px 2px #000,0 0 3px #000}
.inv-slot-label{position:absolute;left:0;right:0;bottom:0;padding:1px 2px;color:#b8ad8a;background:#0008;font:7px/1.1 Consolas,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:0;transition:opacity .12s}
.inv-slot:hover .inv-slot-label{opacity:1}
/* My Info › Bag Slots / Pet Items: small game slots (46 px like the inventory
   window) in compact boxes side by side, not three slots across the whole page. */
.myinfo-extras{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;margin:0 0 14px}
.myinfo-extras .inv-section{width:max-content;padding:8px 10px 10px;border-color:#5b4b2a}
.myinfo-extras .inv-section-title{gap:14px;margin:0 0 7px}
.myinfo-extras .inv-grid{grid-template-columns:repeat(var(--inv-cols,5),46px);gap:4px}
.myinfo-extras .inv-slot{width:46px;height:46px;aspect-ratio:auto;border-color:#55503a;border-radius:4px;background:linear-gradient(160deg,#20221a,#08090600 70%),#0a0b08;box-shadow:inset 0 0 0 1px #000,inset 0 0 6px #000c}
.myinfo-extras .inv-slot.is-empty{opacity:1;background:#0a0b08;border-color:#34321f}
.myinfo-extras .inv-slot img{width:88%;height:88%}
.inv-raw{margin-top:10px}
.inv-raw summary{cursor:pointer;color:#b9c3b0;font-weight:700;font-size:11px}

/* MyInfo skill point + stat panel */
.skill-stat-panel{margin:12px 0;padding:10px;border:1px solid #5b4b2a;border-radius:10px;background:linear-gradient(160deg,#1b160e,#0f120d);box-shadow:inset 0 1px 0 #ffffff0a}
.skill-stat-head{display:flex;justify-content:space-between;align-items:center;margin:0 2px 9px;color:#e4d4a3;font-size:11px;font-weight:800;letter-spacing:.7px}
.skill-stat-head span{color:#b9aa80;font:700 10px Consolas,monospace;letter-spacing:0}
.skill-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.skill-stat-card{display:flex;align-items:center;gap:8px;min-width:0;padding:7px;border:1px solid #4e442b;border-radius:8px;background:radial-gradient(circle at 30% 20%,#2a2416,#0a0d09)}
.skill-stat-card img{width:42px;height:42px;object-fit:contain;flex:0 0 auto;border:1px solid #6c5b2c;border-radius:7px;background:#090c07;padding:2px}
.skill-stat-card div{display:flex;flex-direction:column;min-width:0}
.skill-stat-card b{color:#d8c896;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.skill-stat-card span{color:#fff;font:800 18px/1.15 Consolas,monospace;text-shadow:0 1px 2px #000}
.stat-chip-row{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.stat-chip-row span{display:inline-flex;gap:6px;align-items:baseline;padding:4px 9px;border:1px solid #4a5136;border-radius:999px;background:#10150d;color:#d8d2bb;font:11px Consolas,monospace}
.stat-chip-row b{color:#93a07f;font-size:9px;letter-spacing:.5px}
@media(max-width:800px){.skill-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* MyInfo skill book */
.skill-book{margin:12px 0;padding:8px;border:1px solid #5b4b2a;border-radius:8px;background:linear-gradient(160deg,#1a160e,#0d100b);box-shadow:inset 0 1px 0 #ffffff0a}
.skill-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-bottom:7px}
.skill-point-row{display:grid;grid-template-columns:minmax(0,1fr) 70px 20px;align-items:center;gap:4px;padding:3px 4px;border:1px solid #4d462d;border-radius:4px;background:#10130c}
.skill-point-row span{color:#cfc4a6;font-size:10px;padding-left:4px}
.skill-point-row b{text-align:right;color:#fff;font:700 12px Consolas,monospace;background:#070a07;border:1px solid #353c28;border-radius:3px;padding:2px 5px}
.skill-point-row i{color:#8b8750;font:10px/1 Consolas,monospace;text-align:center;border:1px solid #4d462d;border-radius:3px;background:#222713;padding:3px 2px}
.skill-point-row.is-master b{color:#8f9584}
.skill-tabs{display:flex;gap:3px;border-bottom:1px solid #5a4d2c;margin:0 0 6px}
.skill-tab{appearance:none;border:1px solid #4b442b;border-bottom:0;border-radius:4px 4px 0 0;background:#1b1d12;color:#8f9480;padding:4px 9px;font:700 10px 'Segoe UI',system-ui;cursor:pointer}
.skill-tab:hover{color:#e5d7ad}
.skill-tab.is-active{background:#333a1f;color:#f2df9b;border-color:#8d7838;box-shadow:inset 0 1px 0 #ffffff12}
.skill-book-body{border:1px solid #4b442b;border-radius:0 4px 4px 4px;background:#0c0f09;padding:8px;min-height:150px}
.skill-book-panel{display:none}
.skill-book-panel.is-active{display:block}
.skill-book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
.skill-book-item{display:flex;align-items:center;gap:9px;min-width:0}
.skill-book-item img{width:48px;height:48px;object-fit:contain;border:2px solid #5e5334;border-radius:8px;background:radial-gradient(circle at 45% 35%,#2d3b50,#080b0e 75%);padding:2px;box-shadow:inset 0 0 7px #000,0 2px 4px #0008}
.skill-book-item span{color:#e6c96b;font:700 12px 'Segoe UI',system-ui;text-shadow:0 1px 2px #000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.skill-book-item.is-locked{opacity:.48}
@media(max-width:650px){.skill-book-grid{grid-template-columns:1fr}.skill-points{grid-template-columns:1fr 1fr}}

/* MyInfo order: inventory -> skill book -> other info */
#myinfo{display:flex!important;flex-direction:column}
#myinfo>*{order:3}
#myinfo>.myinfo-inventory{order:1}
#myinfo>.myinfo-skills{order:2}

/* Character Info panel (game style) */
.char-info-panel{margin:12px 0;border:1px solid #6b5a2d;border-radius:8px;background:linear-gradient(180deg,#1d2213,#0e110b);box-shadow:inset 0 1px 0 #ffffff10;overflow:hidden}
.char-info-title{padding:8px 10px;background:linear-gradient(180deg,#5b4a1e,#2a2410);color:#f3df9a;font:800 13px 'Segoe UI',system-ui;text-align:center;text-shadow:0 1px 2px #000;border-bottom:1px solid #8a7235}
.char-info-tabs{display:flex;gap:3px;padding:5px 6px 0;background:#171c10;border-bottom:1px solid #4c4628}
.char-info-tabs span{padding:4px 12px;border:1px solid #4b4629;border-bottom:0;border-radius:4px 4px 0 0;background:#1c2113;color:#8d9379;font:700 10px 'Segoe UI',system-ui}
.char-info-tabs span.is-active{background:#3b421f;color:#f2df9b;border-color:#93803e}
.char-info-body{padding:9px}
.char-info-name{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 9px;margin-bottom:8px;border:1px solid #4c4628;border-radius:5px;background:#12160d}
.char-info-name b{display:block;color:#f1e6c5;font-size:13px}
.char-info-name span{display:block;color:#a8a889;font-size:10px;margin-top:2px}
.char-info-name em{font-style:normal;padding:3px 7px;border:1px solid #5a4b2a;border-radius:3px;color:#d9c58d;font-size:9px}
.char-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.char-stat-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:28px;padding:4px 7px;border:1px solid #44452a;border-radius:4px;background:#0d110a}
.char-stat-row.is-wide{grid-column:1/-1}
.char-stat-row span{color:#c7c2a5;font-size:10px}
.char-stat-row b{color:#f7f5eb;font:700 12px Consolas,monospace;text-align:right;background:#090c07;border:1px solid #343b27;border-radius:3px;padding:2px 7px;min-width:82px}
.char-stat-row b .char-points{color:#ff6b86}
.char-res-title{margin:9px 0 5px;padding:4px 0;text-align:center;border-top:1px solid #4b4226;border-bottom:1px solid #4b4226;color:#d9c58d;font:800 10px 'Segoe UI',system-ui;letter-spacing:.6px}
.char-res-grid .char-stat-row{min-height:25px}
@media(max-width:600px){.char-stat-grid{grid-template-columns:1fr}}

#myinfo>.char-info-panel{order:3}
#myinfo>*:not(.myinfo-inventory):not(.myinfo-skills):not(.char-info-panel){order:4}

/* Character info vitals: MP, HP, EXP */
.char-vitals{display:flex;flex-direction:column;gap:6px;margin-top:9px}
.char-vital{padding:5px 7px;border:1px solid #44452a;border-radius:5px;background:#0b0f09}
.char-vital-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:4px}
.char-vital-head span{color:#d6cfb4;font:800 10px Consolas,monospace;letter-spacing:.5px}
.char-vital-head b{color:#f5f3e8;font:700 10px Consolas,monospace}
.char-vital-track{height:10px;border:1px solid #050704;border-radius:20px;background:#050805;overflow:hidden;box-shadow:inset 0 1px 3px #000}
.char-vital-track i{display:block;height:100%;border-radius:20px;transition:width .2s}
.char-vital.is-mp .char-vital-track i{background:linear-gradient(90deg,#1c4f9d,#3e91ef)}
.char-vital.is-hp .char-vital-track i{background:linear-gradient(90deg,#9e1729,#ef4357)}
.char-vital.is-exp .char-vital-track i{background:linear-gradient(90deg,#8b6d1e,#dfb84e)}

/* Vitals: HP red, MP blue, EXP yellow */
.char-vital.is-hp .char-vital-track i{background:linear-gradient(90deg,#b20f21,#ff3b4e)!important}
.char-vital.is-mp .char-vital-track i{background:linear-gradient(90deg,#1246b8,#2f8cff)!important}
.char-vital.is-exp .char-vital-track i{background:linear-gradient(90deg,#c79412,#ffd84d)!important}

/* Entity HUD bars: HP red, MP blue, EXP yellow */
.exp-fill{background:linear-gradient(90deg,#b8860b,#ffd84d)!important}
.hp-fill,.theme-character .hp-fill{background:linear-gradient(90deg,#a30f1f,#ff3b4e)!important}
.mp-fill,.theme-character .mp-fill{background:linear-gradient(90deg,#1246b8,#2f8cff)!important}
.theme-character .exp-fill{background:linear-gradient(90deg,#b8860b,#ffd84d)!important}

.mob-id-filter-row{display:flex;gap:5px;align-items:center;margin:0 0 7px}
.mob-id-filter-row input{flex:1;min-width:0}
.mob-id-filter-row button{white-space:nowrap;padding:6px 9px;border:1px solid #5d6a45;border-radius:6px;background:#222b18;color:#d9d2aa;font:800 9px 'Segoe UI',system-ui;cursor:pointer}
.mob-id-filter-row button:hover{background:#303c21;border-color:#a58d46}

/* Mob ID subfilter chips */
.mob-id-subrow td{padding-top:2px!important;padding-bottom:5px!important;background:#0d120b!important}
.mob-id-sub-label{color:#8f9a7d;font:700 8px Consolas,monospace;margin-right:5px;letter-spacing:.4px}
.mob-id-chip{appearance:none;border:1px solid #4d5b3b;border-radius:999px;background:#171f14;color:#d9d2aa;padding:2px 7px;margin:1px 2px;font:700 9px Consolas,monospace;cursor:pointer}
.mob-id-chip:hover{background:#2b3a24;border-color:#a58d46;color:#fff}
.mob-id-selected-row{background:#141b10}

/* Mob ID selection vertical */
.mob-id-list{display:flex;align-items:flex-start;gap:7px}
.mob-id-chips{display:flex;flex-direction:column;gap:3px;width:100%;min-width:0}
.mob-id-chip{display:block;width:100%;text-align:left;margin:0}

.support-status-cell{white-space:nowrap}
.support-status-cell #supportSkillStatus-*{display:inline-block}
.support-reset-btn{width:20px;height:20px;min-width:20px;margin-left:5px;padding:0;border:1px solid #6b5a2d;border-radius:5px;background:#252d1c;color:#e5c96e;font:800 12px/1 Consolas,monospace;cursor:pointer;vertical-align:middle}
.support-reset-btn:hover{background:#3a4428;border-color:#b39a4b;color:#fff}
.support-reset-btn:disabled{opacity:.45;cursor:wait}

/* Per-bot SOCKS credentials */
.overview-proxy-row{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-top:4px;color:#b9b18d;font:700 9px Consolas,monospace}
.overview-proxy-row b{color:#e5d79c;letter-spacing:.3px}
.overview-proxy-pass{display:inline-flex;align-items:center;gap:3px}
.proxy-pass{min-width:64px;color:#e9dfb6;letter-spacing:1px}
.proxy-eye{width:19px;height:19px;padding:0;border:1px solid #5e5a3a;border-radius:4px;background:#1b2116;color:#e7d58e;font:12px/1 'Segoe UI Emoji','Segoe UI',sans-serif;cursor:pointer}
.proxy-eye:hover{background:#303a24;border-color:#b39a4b}

/* Selected bot SOCKS credentials in the sidebar proxy card */
.theme-proxy-creds{margin-top:7px;display:flex;flex-direction:column;gap:5px}
.theme-proxy-line{display:flex;align-items:center;gap:5px;min-width:0;color:#b9b18d;font:800 9px Consolas,monospace}
.theme-proxy-line>span{flex:0 0 17px;color:#8f9a7d}
.theme-proxy-line code{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#161d14;border:1px solid #3d4935;border-radius:4px;padding:3px 5px;color:#f0e4b5;font:700 9px Consolas,monospace}
.theme-proxy-copy,.theme-proxy-eye{flex:0 0 19px;width:19px;height:19px;padding:0;border:1px solid #5e5a3a;border-radius:4px;background:#1b2116;color:#e7d58e;font:11px/1 'Segoe UI',sans-serif;cursor:pointer}
.theme-proxy-copy:hover,.theme-proxy-eye:hover{background:#303a24;border-color:#b39a4b}

/* SEÇİLEN SUPPORT: two-line card rows so all fields fit the narrow column */
#attack .rotation-support-selected{overflow-x:hidden}
#attack .rotation-support-selected table,#attack .rotation-support-selected tbody{display:block;width:100%}
#attack .rotation-support-selected thead{display:none}
#attack .rotation-support-selected tr.rotation-support-selected-row{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;padding:6px 7px;border-bottom:1px solid #2a3324}
#attack .rotation-support-selected tr.rotation-support-selected-row::after{content:'';flex-basis:100%;height:0;order:2}
#attack .rotation-support-selected tr.rotation-support-selected-row>td{display:block;padding:0!important;border:0;min-width:0;order:1}
#attack .rotation-support-selected tr.rotation-support-selected-row>td:nth-child(1){flex:1 1 0;overflow:hidden}
#attack .rotation-support-selected tr.rotation-support-selected-row>td:nth-child(5){display:flex!important;align-items:center}
#attack .rotation-support-selected tr.rotation-support-selected-row>td:nth-child(2),#attack .rotation-support-selected tr.rotation-support-selected-row>td:nth-child(3),#attack .rotation-support-selected tr.rotation-support-selected-row>td:nth-child(4){order:3;flex:1 1 auto;display:flex!important;align-items:center;gap:4px;font-size:10px;white-space:nowrap}
#attack .rotation-support-selected tr.rotation-support-selected-row>td:nth-child(2)::before{content:'Anim'}
#attack .rotation-support-selected tr.rotation-support-selected-row>td:nth-child(3)::before{content:'Tol%'}
#attack .rotation-support-selected tr.rotation-support-selected-row>td:nth-child(4)::before{content:'HP'}
#attack .rotation-support-selected tr.rotation-support-selected-row>td:nth-child(n+2):nth-child(-n+4)::before{color:#8f9a7d;font:800 9px Consolas,monospace;letter-spacing:.3px}
#attack .rotation-support-selected-row .usko-skill-copy{min-width:0;overflow:hidden}
#attack .rotation-support-selected-row .usko-skill-copy b,#attack .rotation-support-selected-row .usko-skill-copy .muted{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#attack .rotation-support-selected-row .support-cast-tolerance{width:52px!important;min-width:52px!important;padding:3px 4px!important}
#attack .rotation-support-selected-row .support-hp-input{min-width:0}
#attack .rotation-support-selected-row .support-hp-threshold,#attack .rotation-support-selected-row .support-mp-threshold{width:46px!important;min-width:46px!important;padding:3px 4px!important}
#attack .rotation-support-selected tr.rotation-support-selected-row{gap:5px 8px}
#attack .rotation-support-selected tr.rotation-support-selected-row>td:nth-child(n+2):nth-child(-n+4){flex:0 1 auto;gap:3px}
#attack .rotation-support-selected tr.rotation-support-selected-row input.support-cast-tolerance,#attack .rotation-support-selected tr.rotation-support-selected-row input.support-hp-threshold,#attack .rotation-support-selected tr.rotation-support-selected-row input.support-mp-threshold{width:42px!important;min-width:42px!important;height:22px;padding:2px 3px!important;font-size:10.5px}
#attack .rotation-support-selected tr.rotation-support-selected-row .support-hp-input{gap:2px}
#attack .rotation-support-selected tr.rotation-support-selected-row .rotation-remove-skill{width:22px;height:22px;min-width:22px;padding:0;font-size:13px;line-height:1}
#attack .rotation-support-selected tr.rotation-support-selected-row .support-reset-btn{margin-left:4px}
#attack .rotation-support-selected tr.rotation-support-selected-row .usko-skill-icon{width:26px;height:26px}
#attack .rotation-support-selected tr.rotation-support-selected-row{column-gap:6px}
#attack .rotation-support-selected tr.rotation-support-selected-row>td:nth-child(2){font-size:9.5px;letter-spacing:-.2px}
#attack .rotation-support-selected tr.rotation-support-selected-row>td:nth-child(n+2):nth-child(-n+4)::before{font-size:8.5px;letter-spacing:0}

/* Sidebar proxy card: IP:Port as a copyable line matching ID/PW */
.theme-proxy-value{margin:9px 0 2px}
.theme-proxy-addr code#botPortBadge{color:#9fe0a8;font-size:10px;letter-spacing:.3px;border-color:#4a5a3c;background:#121a10}
.theme-proxy-addr>span{color:#9fbf8a}

/* Topbar: logout next to BOT SİL, bug report replaces the tools gear */
.theme-topbar-right #userLogout{background:linear-gradient(180deg,#7a2a1e,#521a13);border:1px solid #b2493a;color:#ffe2d8;font-size:10px;font-weight:800;padding:11px 12px;white-space:nowrap;border-radius:8px;box-shadow:inset 0 1px 0 #ffffff1a}
.theme-topbar-right #userLogout:hover{background:linear-gradient(180deg,#953426,#66211a);border-color:#e0705e;color:#fff}
.theme-topbar-right #reportBug{background:#2c2817;border:1px solid #7a6530;color:#f0cc75;font-size:10px;font-weight:800;padding:11px 10px;white-space:nowrap;border-radius:8px}
.theme-topbar-right #reportBug:hover{background:#3a3420;border-color:#b39a4b;color:#fff}
@media(max-width:1280px){.theme-topbar-right #userLogout,.theme-topbar-right #reportBug{padding:10px 7px;font-size:9px}}

/* Entity list reset lives in the Canlı Entity Takibi toolbar */
.entity-toolbar{grid-template-columns:minmax(220px,420px) auto auto}
.entity-toolbar #reset{white-space:nowrap;padding:8px 11px;font-size:11px;font-weight:700;background:#232b1d;border:1px solid #4c5031;color:#d5cfbb;border-radius:8px}
.entity-toolbar #reset:hover{background:#2f3a24;border-color:#b39a4b;color:#fff}
@media(max-width:760px){.entity-toolbar{grid-template-columns:1fr}}

/* Oto Kutu toggles: beat the legacy blue !important .modern-check-row rule */
.theme-app #loot .loot-settings-card label.modern-check-row{background:#242e25!important;border-color:#3d483d!important;color:#f5f3ee}
.theme-app #loot .loot-settings-card label.modern-check-row:hover{background:#2c3622!important;border-color:#656a41!important}
.theme-app #loot .loot-settings-card input[type=number],.theme-app #loot .loot-settings-card input[type=text]{background:#191e15;border-color:#4e5233;color:#f7f5f1}
.theme-app #loot .loot-settings-card input::placeholder{color:#8f9a7d}

/* Theme-wide: replace legacy blue toggles/checkboxes with the green/gold theme */
.theme-app label.modern-check-row{background:#242e25!important;border-color:#3d483d!important;color:#f5f3ee}
.theme-app label.modern-check-row:hover{background:#2c3622!important;border-color:#656a41!important}
.theme-app .modern-check,.theme-app .rotation-skill-picker input[type=checkbox],.theme-app .rotation-support-list input[type=checkbox],.theme-app .rotation-mob-results input[type=checkbox]{background:#151b12;border-color:#5c613d}
.theme-app .modern-check:checked,.theme-app .rotation-skill-picker input[type=checkbox]:checked,.theme-app .rotation-support-list input[type=checkbox]:checked,.theme-app .rotation-mob-results input[type=checkbox]:checked{background:#8b7336;border-color:#d79f26}
.theme-app .modern-check:hover,.theme-app .rotation-skill-picker input[type=checkbox]:hover,.theme-app .rotation-support-list input[type=checkbox]:hover,.theme-app .rotation-mob-results input[type=checkbox]:hover{border-color:#a88a41}
.theme-app .rotation-support-card .rotation-picked,.theme-app .rotation-skill-picker .rotation-picked,.theme-app .rotation-mob-results tr:has(input:checked){background:#2a3320}
.theme-app #attack .rotation-mob-filter-card .rotation-mob-dead{border:1px solid #545936;border-radius:10px;background:#161b12}

/* MyInfo: game-style inventory window */
.ko-inv{--ko-slot:46px;--ko-gap:4px;display:flex;align-items:flex-start;gap:6px;width:max-content;max-width:100%;overflow-x:auto;margin:10px 0 14px;padding:2px}
.ko-inv-side,.ko-inv-main{position:relative;padding:12px;border:2px solid #4c4a33;border-radius:10px;background:linear-gradient(180deg,#22271b,#12150e);box-shadow:inset 0 0 0 1px #000,inset 0 1px 0 #ffffff12,0 4px 14px #0008}
.ko-inv-cospre,.ko-bag-grid,.ko-inv-equip{display:grid;grid-template-columns:repeat(3,var(--ko-slot));gap:var(--ko-gap)}
.ko-inv-cospre{padding:9px;border:1px solid #3a3a28;border-radius:8px;background:radial-gradient(circle at 50% 40%,#2a2c1e,#0f110b 80%)}
.ko-bag-tabs{display:flex;gap:3px;margin:14px 0 0}
.ko-bag-tab{flex:1;padding:4px 0;border:1px solid #4b4629;border-bottom:0;border-radius:6px 6px 0 0;background:#1a1d12;color:#8d9379;font:700 10px 'Segoe UI',system-ui;cursor:pointer}
.ko-bag-tab:hover{color:#e5d7ad}
.ko-bag-tab.is-active{background:linear-gradient(180deg,#4a4220,#2a2612);color:#f2df9b;border-color:#93803e}
.ko-bag-grid{padding:9px;border:1px solid #4b4629;border-radius:0 0 8px 8px;background:#0c0e09}
.ko-inv-title{width:62%;margin:-4px auto 12px;padding:6px 0;text-align:center;border:1px solid #b08a2e;border-radius:7px;background:linear-gradient(180deg,#7a5a14,#3d2c08);color:#fbe8b0;font:700 12px 'Segoe UI',system-ui;text-shadow:0 1px 2px #000;box-shadow:inset 0 1px 0 #ffffff30,0 2px 6px #0009}
.ko-inv-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:10px}
.ko-inv-char{display:flex;flex-direction:column;gap:4px;min-width:0}
.ko-char-portrait{flex:1;min-height:150px;display:flex;flex-direction:column;justify-content:flex-end;padding:8px;border:1px solid #3a3a28;border-radius:6px;background:radial-gradient(ellipse at 50% 30%,#5a2a1c 0%,#2a120c 45%,#0d0806 85%);box-shadow:inset 0 0 18px #000}
.ko-char-name{color:#f3df9a;font:800 13px 'Segoe UI',system-ui;text-shadow:0 1px 3px #000;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ko-char-meta{color:#c7b98f;font:600 10px 'Segoe UI',system-ui;text-shadow:0 1px 2px #000}
.ko-char-stat{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:3px 7px;border:1px solid #3d3b28;border-radius:4px;background:#0b0d08}
.ko-char-stat span{color:#b8ad8a;font:700 10px 'Segoe UI',system-ui}
.ko-char-stat b{color:#f1ece0;font:700 11px Consolas,monospace}
.ko-char-stat.ko-gold b{color:#f6d35f}
.ko-inv-bag{display:grid;grid-template-columns:repeat(7,var(--ko-slot));gap:var(--ko-gap);padding:8px;border:1px solid #3a3a28;border-radius:8px;background:#0c0e09}
.ko-inv .inv-slot{width:var(--ko-slot);height:var(--ko-slot);aspect-ratio:auto;border-color:#55503a;border-radius:4px;background:linear-gradient(160deg,#20221a,#08090600 70%),#0a0b08;box-shadow:inset 0 0 0 1px #000,inset 0 0 6px #000c}
.ko-inv .inv-slot.is-empty{opacity:1;background:#0a0b08;border-color:#34321f}
.ko-inv .inv-slot img{width:88%;height:88%}
.ko-inv .inv-plus{left:3px;top:2px;font-size:10.5px}
.ko-inv .inv-count{left:3px;right:auto;bottom:2px}
@media(max-width:640px){.ko-inv{--ko-slot:38px;flex-direction:column}}

/* MyInfo: inventory + Character Info windows side by side */
.ko-window-row{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;margin:10px 0 14px}
.ko-window-row>.ko-inv{margin:0}
.ci-window{width:330px;max-width:100%;padding:12px;border:2px solid #4c4a33;border-radius:10px;background:linear-gradient(180deg,#22271b,#12150e);box-shadow:inset 0 0 0 1px #000,inset 0 1px 0 #ffffff12,0 4px 14px #0008}
.ci-tabs{display:flex;gap:3px;padding:0 4px;border-bottom:1px solid #6b5a2d}
.ci-tabs span{flex:1;padding:4px 0;text-align:center;border:1px solid #4b4629;border-bottom:0;border-radius:6px 6px 0 0;background:#1a1d12;color:#6f735f;font:700 10px 'Segoe UI',system-ui}
.ci-tabs span.is-active{background:linear-gradient(180deg,#4a4220,#2a2612);color:#f2df9b;border-color:#93803e}
.ci-body{display:flex;flex-direction:column;gap:7px;padding:8px 2px 0}
.ci-name{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:2px 2px 4px;border-bottom:1px solid #3a3a28}
.ci-name b{display:block;color:#f1ece0;font:700 12px 'Segoe UI',system-ui}
.ci-name span{display:block;color:#e8c95a;font:600 11px 'Segoe UI',system-ui}
.ci-name em{font-style:normal;padding:4px 9px;border:1px solid #8a4a3a;border-radius:4px;background:linear-gradient(180deg,#4a1d16,#2a0f0b);color:#ff9e8a;font:700 10px 'Segoe UI',system-ui;box-shadow:inset 0 1px 0 #ffffff1a}
.ci-box{padding:7px;border:1px solid #3a3a28;border-radius:6px;background:#0f110c;box-shadow:inset 0 0 8px #000a}
.ci-grid-4{display:grid;grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr);gap:4px 6px;align-items:center}
.ci-grid-2{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 6px;align-items:center;align-content:start}
.ci-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ci-label{color:#c7c2a5;font:600 10.5px 'Segoe UI',system-ui;text-align:center;white-space:nowrap;min-width:46px}
.ci-label.is-main{color:#4f8cff;font-weight:800}
.ci-label.ci-small{font-size:8px;line-height:1.05;white-space:normal;width:46px}
.ci-val{min-width:0;padding:3px 6px;border:1px solid #2c2d22;border-radius:3px;background:#050604;color:#f7f5eb;font:700 11px 'Segoe UI',system-ui;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:inset 0 1px 3px #000}
.ci-span3{grid-column:span 3}
.ci-statpoint{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;gap:2px;margin-top:4px;padding:6px;border:1px solid #2c2d22;border-radius:4px;background:#050604}
.ci-statpoint span{color:#c7c2a5;font:600 11px 'Segoe UI',system-ui}
.ci-statpoint b{color:#ff6b86;font:700 12px 'Segoe UI',system-ui}
.ci-res-title{margin:-2px 0 6px;padding-bottom:4px;text-align:center;border-bottom:1px solid #3a3a28;color:#d9c58d;font:700 11px 'Segoe UI',system-ui}

/* MyInfo: game-style Skill window */
.sk-window{width:340px;max-width:100%;margin:0;padding:12px;border:2px solid #4c4a33;border-radius:10px;background:linear-gradient(180deg,#22271b,#12150e);box-shadow:inset 0 0 0 1px #000,inset 0 1px 0 #ffffff12,0 4px 14px #0008}
.sk-head{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px;margin-bottom:8px;padding:6px;border:1px solid #5a4a22;border-radius:6px;background:linear-gradient(180deg,#3a2c10,#1c150a)}
.sk-btn,.sk-free{display:flex;align-items:center;justify-content:center;gap:6px;padding:5px 4px;border:1px solid #b08a2e;border-radius:4px;background:linear-gradient(180deg,#5e4614,#2e2208);color:#fbe8b0;font:700 10px 'Segoe UI',system-ui;white-space:nowrap;box-shadow:inset 0 1px 0 #ffffff26}
.sk-free{justify-content:space-between;background:#120e06}
.sk-free b{color:#ff6bb5;font:700 11px Consolas,monospace}
.sk-window .skill-points{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px;margin-bottom:8px;padding:7px;border:1px solid #3a3a28;border-radius:6px;background:#0f110c}
.sk-window .skill-point-row{grid-template-columns:minmax(0,1fr) 54px 20px;gap:3px;padding:0;border:0;background:none}
.sk-window .skill-point-row span{padding:4px 6px;border:1px solid #2c2d22;border-radius:3px;background:#050604;color:#c7c2a5;font-size:10px;text-align:center}
.sk-window .skill-point-row b{padding:3px 5px;text-align:center;color:#f7f5eb;font:700 11px 'Segoe UI',system-ui;background:#050604;border-color:#2c2d22}
.sk-window .skill-point-row i{padding:3px 0;border:1px solid #b08a2e;background:linear-gradient(180deg,#d4a72c,#7a5a14);color:#2a1d04;font-size:9px}
.sk-window .skill-tabs{margin:0;padding:0 4px;border-bottom-color:#6b5a2d}
.sk-window .skill-tab{flex:1;padding:4px 6px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sk-window .skill-tab.is-active{background:linear-gradient(180deg,#4a4220,#2a2612);color:#f2df9b;border-color:#93803e}
.sk-window .skill-book-body{min-height:0;padding:12px 10px 0;border:1px solid #4b442b;border-top:0;border-radius:0 0 6px 6px;background:#14130e;box-shadow:inset 0 0 14px #000;overflow:hidden}
.sk-window .skill-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
.sk-window .skill-book-item{gap:8px}
.sk-window .skill-book-item img{width:40px;height:40px;padding:2px;border:2px solid #6b6a5a;border-radius:6px;background:#0a0a0a;box-shadow:inset 0 0 5px #000,0 0 0 1px #000,0 2px 4px #0009}
.sk-window .skill-book-item span{color:#f0cf5a;font:600 11px 'Segoe UI',system-ui;white-space:normal;line-height:1.2}
.sk-window .skill-book-item.is-locked{opacity:.45}
.sk-window .skill-book-body{position:relative}
.sk-window .skill-book-grid{min-height:200px;align-content:start}
.sk-pager{display:flex;margin:8px 0 10px;align-items:center;justify-content:center;gap:12px;color:#f1e6c5;font:600 11px 'Segoe UI',system-ui;text-shadow:0 1px 2px #000}
.sk-pager button{width:20px;height:20px;padding:0;border:1px solid #b08a2e;border-radius:3px;background:linear-gradient(180deg,#d4a72c,#7a5a14);color:#2a1d04;font:10px/1 'Segoe UI',system-ui;cursor:pointer}
.sk-pager button:disabled{opacity:.4;cursor:default}

/* In-game style item tooltip (data from the client item table) */
.item-hover-card{width:300px;max-width:300px;padding:6px 8px 8px;border:1px solid #6d6a56;border-radius:3px;background:rgba(8,10,12,.94);color:#fff;font:12px/1.35 Tahoma,'Segoe UI',sans-serif;box-shadow:0 0 0 1px #000,0 10px 26px #000c}
.itt-head{display:flex;align-items:flex-start;gap:7px}
.itt-head img{width:40px;height:40px;object-fit:contain;border:1px solid #8a8670;background:#000;flex:none}
.itt-title b{display:block;font-size:12.5px;font-weight:700;line-height:1.2;text-shadow:0 1px 1px #000}
.itt-kind{display:flex;flex-direction:column;align-items:flex-end;margin-top:-4px}
.itt-kind span{color:#fff;font-size:12px;line-height:1.3}
.itt-dur{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 0 3px;border-bottom:1px solid #4a4a40}
.itt-dur span{font-size:12px;white-space:nowrap}
.itt-dur i{flex:0 0 42px;height:6px;border:1px solid #3a3a30;background:#1a1a1a}
.itt-dur em{display:block;height:100%;background:linear-gradient(90deg,#d06a10,#ff9a2a)}
.itt-lines{padding:4px 0 2px}
.itt-line{padding:1px 0;font-size:12px;text-shadow:0 1px 1px #000}
.itt-center{text-align:center}
.itt-desc{margin-top:3px;padding-top:4px;border-top:1px solid #4a4a40;text-align:center}
.itt-desc>div{font-size:12px;line-height:1.5}
#themeProxyDesc{display:none!important;align-items:center;justify-content:center;gap:7px;margin-top:8px;padding-top:7px;border-top:1px solid #3d4935;text-align:center;line-height:1.2}
#themeProxyDesc b{color:#f0cc75;font:800 11px 'Segoe UI',system-ui;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:55%}
#themeProxyDesc span{color:#8f9a7d;font:800 8.5px 'Segoe UI',system-ui;letter-spacing:.12em;white-space:nowrap}

/* Canlı Entity Takibi: clicked-row detail with every received field */
#entityGrid tr[data-eid]{cursor:pointer}
#entityGrid tr.is-detail td{background:#2a3320!important;box-shadow:inset 0 1px 0 #b39a4b55,inset 0 -1px 0 #b39a4b55}
.entity-detail-hint{margin:8px 2px 0}
.entity-detail{margin-top:8px;padding:10px 12px 12px;border:1px solid #545936;border-radius:10px;background:#141a10}
.entity-detail-head{display:flex;align-items:center;gap:12px;margin-bottom:6px}
.entity-detail-head b{color:#f0cc75;font-size:13px}
.entity-detail-head button{margin-left:auto;width:26px;height:26px;padding:0;border:1px solid #6b5a2d;border-radius:6px;background:#252d1c;color:#e5c96e;font:800 15px/1 'Segoe UI',system-ui;cursor:pointer}
.ed-section{margin:10px 0 6px;color:#bea775;font:800 10px 'Segoe UI',system-ui;letter-spacing:.08em;text-transform:uppercase}
.entity-detail-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:4px}
.ed-cell{display:flex;justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:4px 7px;border:1px solid #2f3826;border-radius:5px;background:#0d120b}
.ed-cell span{color:#8f9a7d;font:600 10px Consolas,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ed-cell b{color:#e9e3cd;font:700 11px Consolas,monospace;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60%}
/* SEÇİLEN SUPPORT: hide the HP field for skills without an HP threshold */
#attack .rotation-support-selected tr.rotation-support-selected-row>td:nth-child(4):not(:has(.support-hp-input)):not(:has(.support-defense-target)){display:none!important}

/* MOB ARA results: one compact card per proto with runtime-id pills */
#attack .rotation-mob-results tr.mob-proto-row>td{vertical-align:top;padding-top:9px;padding-bottom:9px;border-bottom:1px solid #2a3324}
#attack .rotation-mob-results tr.mob-proto-row>td:first-child{width:34px}
#attack .rotation-mob-results tr.mob-proto-row:hover>td{background:#1d2516}
.mob-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}
.mob-card-head b{color:#f1ece0;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mob-live-count{flex:none;color:#9fe0a8;font:700 9.5px 'Segoe UI',system-ui}
.mob-live-count.is-none{color:#6f735f}
.mob-pill-row{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
#attack .rotation-mob-results .mob-pill{display:inline-flex;align-items:center;gap:5px;width:auto;margin:0;padding:2px 4px 2px 8px;border:1px solid #4d5b3b;border-radius:999px;background:#171f14;color:#d9d2aa;font:700 10px Consolas,monospace;text-align:left;cursor:pointer}
#attack .rotation-mob-results .mob-pill i{display:inline-grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#2b3a24;color:#f0cc75;font:800 11px/1 'Segoe UI',system-ui;font-style:normal}
#attack .rotation-mob-results .mob-pill:hover{background:#2b3a24;border-color:#b39a4b;color:#fff}
#attack .rotation-mob-results .mob-pill:hover i{background:#8b7336;color:#fff}
.mob-proto-badge{display:inline-block;padding:2px 7px;border:1px solid #3d4935;border-radius:5px;background:#0d120b;color:#c7c2a5;font:700 10px Consolas,monospace}

/* ÖNCELİK: show every selected skill (no inner scrollbar), compact rows */
.theme-app #attack .rotation-main .rotation-priority-wrap{max-height:none!important;min-height:0;overflow:visible}
#attack .rotation-priority-wrap th{padding-top:7px;padding-bottom:7px}
#attack .rotation-priority-row>td{padding-top:5px!important;padding-bottom:5px!important}
#attack .rotation-priority-row .drag-handle{width:22px;color:#8f9a7d;text-align:center}
#attack .rotation-priority-row:hover>td{background:#1d2516}
#attack .rotation-priority-row .usko-skill-icon{width:26px;height:26px}
#attack .rotation-priority-row .usko-skill-copy b{font-size:11.5px}
#attack .rotation-priority-row .rotation-remove-skill{width:24px;height:24px;min-width:24px;border-radius:6px;font-size:15px}
#attack .rotation-priority-wrap .rotation-remove-cell{width:34px}
.ed-pos{display:flex;flex-wrap:wrap;gap:6px 18px;margin:4px 0 2px;padding:7px 9px;border:1px solid #4e5233;border-radius:6px;background:#0d120b;color:#e9e3cd;font:600 11px Consolas,monospace}
.ed-pos b{color:#f0cc75}

/* ÖNCELİK: card rows (like SEÇİLEN SUPPORT) with an aligned Recast/Anim grid */
#attack .rotation-priority-wrap table,#attack .rotation-priority-wrap tbody{display:block;width:100%}
#attack .rotation-priority-wrap thead{display:none}
#attack .rotation-priority-wrap{overflow-x:hidden}
#attack .rotation-priority-wrap tr.rotation-priority-row{display:grid;grid-template-columns:16px 14px minmax(0,1fr) auto auto;grid-template-areas:"drag ord skill status rm" ". . params params params";align-items:center;column-gap:8px;row-gap:6px;padding:8px 9px;border-bottom:1px solid #2a3324}
#attack .rotation-priority-wrap tr.rotation-priority-row>td{display:block;padding:0!important;border:0;min-width:0;background:transparent}
#attack .rotation-priority-wrap tr.rotation-priority-row>td:nth-child(1){grid-area:drag;color:#8f9a7d;text-align:center}
#attack .rotation-priority-wrap tr.rotation-priority-row>td:nth-child(2){grid-area:ord;color:#bea775;font:800 11px Consolas,monospace}
#attack .rotation-priority-wrap tr.rotation-priority-row>td:nth-child(3){grid-area:skill;overflow:hidden}
#attack .rotation-priority-wrap tr.rotation-priority-row>td:nth-child(4){grid-area:params}
#attack .rotation-priority-wrap tr.rotation-priority-row>td:nth-child(5){grid-area:status;font-size:11px;font-weight:800}
#attack .rotation-priority-wrap tr.rotation-priority-row>td:nth-child(6){grid-area:rm;width:auto}
#attack .rotation-priority-wrap tr.rotation-priority-row>td:nth-child(4):empty{display:none}
#attack .rotation-priority-row .usko-skill-icon{width:28px;height:28px}
#attack .rotation-priority-row .usko-skill-copy b,#attack .rotation-priority-row .usko-skill-copy .muted{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#attack .rotation-priority-row .rotation-remove-skill{width:24px;height:24px;min-width:24px;border-radius:6px;font-size:15px}
#attack .rotation-priority-row:hover{background:#1d2516}
.prio-params{display:grid;grid-template-columns:44px minmax(0,1fr) 34px 62px;align-items:center;column-gap:6px;row-gap:4px;padding:5px 8px;border:1px solid #2f3826;border-radius:7px;background:#0d120b}
.prio-params .pp-l{color:#8f9a7d;font:800 9.5px Consolas,monospace;letter-spacing:.2px;white-space:nowrap}
.prio-params .pp-v{color:#e9e3cd;font:700 11px Consolas,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prio-params .pp-v i{font-style:normal;color:#9fe0a8;margin-left:6px}
#attack .prio-params input.rotation-skill-tol{width:52px!important;min-width:52px!important;height:24px;padding:2px 4px!important;text-align:center;font-size:11px}

/* ÖNCELİK title: one compact pill — [R Attack ☑ 850 ms] */
#attack .prio-title{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
#attack .prio-rattack{margin-left:auto;display:flex;align-items:center;gap:5px;padding:2px 7px 2px 8px;border:1px solid #3d483d;border-radius:8px;background:#242e25;flex:none}
#attack .prio-rattack label{display:flex!important;flex-direction:row!important;align-items:center;gap:4px;margin:0;padding:0;border:0;background:none;color:#d5cfbb;font:700 9.5px 'Segoe UI',system-ui;letter-spacing:0;text-transform:none;cursor:pointer}
#attack .prio-rattack label>span{white-space:nowrap}
#attack .prio-rattack .modern-check{width:18px!important;height:18px!important;flex:0 0 18px!important}
#attack .prio-rattack input[type=number]{width:52px!important;min-width:52px!important;height:20px;padding:1px 4px!important;text-align:center;font-size:10.5px}
#attack .prio-rattack em{font-style:normal;color:#8f9a7d;font:700 9px Consolas,monospace;letter-spacing:0;text-transform:none}
#attack .prio-params input.rotation-skill-debuff{width:52px!important;min-width:52px!important;height:24px;padding:2px 4px!important;text-align:center;font-size:11px}

/* POTLAR: aligned settings + card rows, no horizontal scroll */
#attack .potion-settings{display:grid;grid-template-columns:1fr 1fr;gap:6px 8px;margin:10px 0}
#attack .potion-settings .ps-field,#attack .potion-settings .ps-check{display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:5px 8px;border:1px solid #3d483d;border-radius:8px;background:#242e25;color:#d5cfbb;font:700 10.5px 'Segoe UI',system-ui}
#attack .potion-settings .ps-field span,#attack .potion-settings .ps-check span{white-space:nowrap}
#attack .potion-settings .ps-field input{width:64px!important;min-width:64px!important;height:24px;padding:2px 5px!important;text-align:center;font-size:11px}
#attack .potion-settings .ps-check{cursor:pointer}
#attack .potion-settings .ps-check .modern-check{width:20px!important;height:20px!important;flex:0 0 20px!important}


















#attack .potion-settings{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px}
#attack .potion-settings .ps-field,#attack .potion-settings .ps-check{min-width:0;gap:4px;padding:4px 6px;font-size:10px}
#attack .potion-settings .ps-field input{width:50px!important;min-width:50px!important}


/* Oto Rotasyon: theme buttons / progress / search instead of the legacy navy */
#routePanel button{background:#242e25;border:1px solid #4e5233;color:#e6dfc8;border-radius:8px}
#routePanel button:hover:not(:disabled){background:#2f3a24;border-color:#b39a4b;color:#fff}
#routePanel #routeRecordToggle,#routePanel #routePlayToggle,#routePanel .route-apply{background:linear-gradient(180deg,#3d3a1d,#262614);border-color:#8b7336;color:#f0cc75;font-weight:800}
#routePanel #routeRecordToggle:hover,#routePanel #routePlayToggle:hover,#routePanel .route-apply:hover{background:linear-gradient(180deg,#4a4522,#2f2e18);border-color:#d79f26;color:#fff3c4}
#routePanel .route-delete{background:#23171a;border-color:#67454b;color:#ef9ba5}
#routePanel .route-delete:hover{background:#3a1d22;border-color:#a55d68;color:#ffd4d9}
#routePanel .route-exclude-btn{background:#1d2516;border-color:#4e5233;color:#d9d2aa;font-weight:800}
#routePanel .route-exclude-btn:hover{background:#2b3a24;border-color:#b39a4b;color:#fff}
#routePanel .route-progress-track{background:#0d120b;border-color:#3d483d}
#routePanel .route-buy-search-results{background:#141a10;border-color:#4e5233}

/* Oto Rotasyon start/stop toggles: green = start (idle), red = stop (running) */
#routePanel #routeRecordToggle,#routePanel #routePlayToggle{background:linear-gradient(180deg,#24432a,#16291a);border-color:#3f8a4f;color:#9fe0a8;font-weight:800}
#routePanel #routeRecordToggle:hover,#routePanel #routePlayToggle:hover{background:linear-gradient(180deg,#2d5434,#1c3321);border-color:#5fbf72;color:#d6ffde}
#routePanel #routeRecordToggle.is-running,#routePanel #routePlayToggle.is-running{background:linear-gradient(180deg,#5a1f17,#33120d);border-color:#b2493a;color:#ffb3a0}
#routePanel #routeRecordToggle.is-running:hover,#routePanel #routePlayToggle.is-running:hover{background:linear-gradient(180deg,#702a20,#401812);border-color:#e0705e;color:#fff}

/* Minimap: the canvas no longer sizes its own box. With height:100% plus the
   per-draw backing-store resize (rect × devicePixelRatio), screens scaled
   above 100% grew the map a little on every draw ("slowly grows" on load). */
#selfHud.top-self .self-minimap-card .self-map-wrap{position:relative;flex:1 1 0;min-height:110px}
#selfHud.top-self .self-minimap-card .self-map-wrap>canvas{position:absolute!important;inset:0;width:100%!important;height:100%!important;min-height:0!important}
.hud-warn{margin-top:8px;padding:6px 9px;border:1px solid #8a6a2a;border-radius:7px;background:#2c2412;color:#f0cc75;font:700 11px 'Segoe UI',system-ui;cursor:help}

/* Sidebar HUD: map + HP/MP/EXP visible on every page; wider sidebar to fit it. */
.theme-app .theme-shell{grid-template-columns:260px minmax(0,1fr)}
@media(max-width:1540px){.theme-app .theme-shell{grid-template-columns:244px minmax(0,1fr)}}
@media(max-width:950px) and (min-width:571px){.theme-app .theme-shell{grid-template-columns:210px minmax(0,1fr)}}
#selfHud.top-self{display:block!important}
.theme-app .theme-side-hud{flex:0 0 auto;display:flex;flex-direction:column;gap:6px;margin:6px 10px 2px}
.theme-app .theme-side-scroll{min-height:90px}
.theme-app .theme-sidebar nav.top-nav button,.theme-app .theme-shortcut{min-height:27px;padding-top:5px;padding-bottom:5px}
.theme-app .theme-sidebar nav.top-nav{gap:1px}
.theme-app .theme-side-scroll{padding-top:12px}
.theme-app .theme-sidebar .theme-nav-caption{margin-bottom:5px}
.theme-app .theme-sidebar .theme-side-divider{margin-top:8px!important;margin-bottom:10px!important}
.theme-app .theme-side-hud:empty{display:none}
.side-hud-empty{padding:10px;border:1px dashed #3f472d;border-radius:10px;text-align:center;font-size:10px}
#sideHud .self-minimap-card{padding:0;gap:0;border:0;border-radius:0;background:none}
#sideHud .self-minimap-head span{max-width:68%}
#sideHud .self-map-wrap{position:relative;height:165px;min-height:0}
#sideHud .self-map-wrap>canvas{position:absolute!important;inset:0;width:100%!important;height:100%!important;min-height:0!important}
/* Harita › ⌂ TOWN: small, top left over the map */
.self-map-wrap .map-town-btn{position:absolute;top:5px;left:5px;z-index:3;padding:2px 7px;min-height:0;border:1px solid rgba(230,184,74,.7);border-radius:6px;background:rgba(20,24,18,.82);color:#f0cc75;font:800 9.5px/1.4 'Segoe UI',system-ui;letter-spacing:.05em;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.5)}
.self-map-wrap .map-town-btn:hover:not(:disabled){background:rgba(52,50,27,.95);color:#fff}
.self-map-wrap .map-town-btn:disabled{opacity:.6;cursor:default}
.self-map-wrap .map-town-btn.is-bad{border-color:#a0574b;color:#ffb4a8}
/* Harita › TOWN + X / Y + GİT row, top left */
.self-map-wrap .map-top-tools{position:absolute;top:5px;left:5px;right:5px;z-index:3;display:flex;align-items:center;gap:3px;pointer-events:none}
.self-map-wrap .map-top-tools>*{pointer-events:auto}
.self-map-wrap .map-top-tools .map-town-btn{position:static}
.self-map-wrap .map-goto{display:flex;align-items:center;gap:2px;margin:0}
.self-map-wrap .map-goto input{width:40px;height:18px;min-height:0;padding:0 3px;border:1px solid rgba(230,184,74,.55);border-radius:5px;background:rgba(20,24,18,.85);color:#f3e6c2;font:700 10px/1 'Segoe UI',system-ui;text-align:center;box-shadow:0 1px 3px rgba(0,0,0,.5);-moz-appearance:textfield;appearance:textfield}
.self-map-wrap .map-goto input::-webkit-outer-spin-button,.self-map-wrap .map-goto input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.self-map-wrap .map-goto input::placeholder{color:#9b9071}
.self-map-wrap .map-goto input:focus{outline:none;border-color:#f0cc75}
#sideHud .self-map-legend{display:none}
@media(max-height:860px) and (min-width:571px){#sideHud .self-map-wrap{height:120px}}
#sideBars:empty{display:none}
.theme-app .theme-sidebar-actions .side-actions-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 7px;min-width:0}
.theme-app .theme-sidebar-actions .side-actions-head .theme-sidebar-actions-title{margin:0;white-space:nowrap}
.theme-app .theme-sidebar-actions .side-actions-head .theme-current-bot{margin:0;padding:2px 7px;border:1px solid #4c5031;border-radius:999px;background:#151a12}
.theme-app .theme-sidebar-actions .side-actions-head .theme-current-bot b{font-size:9.5px;color:#e7dfc9}
/* Sidebar character card: name + level pill, job • race, zone / id, coords. */
#sideBars .side-char{margin:0 0 7px;padding:7px 9px 6px;border:1px solid #3a4130;border-radius:9px;background:linear-gradient(160deg,#181e14,#12160f);min-width:0}
#sideBars .side-char-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#sideBars .hud-warn{margin-top:6px;padding:4px 7px;font-size:9.5px;white-space:normal}
.theme-app .dash-slot{min-height:120px}
#sideBars .side-char-ident{display:flex;align-items:center;gap:6px;min-width:0}
#sideBars .side-live{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;padding:1px 6px 1px 5px;border:1px solid #2a6b54;border-radius:999px;background:#123128;color:#5fe0b0;font-size:7.5px;font-weight:900;letter-spacing:.6px;line-height:1.4}
#sideBars .side-live i{width:5px;height:5px;border-radius:50%;background:#3fe0a6;box-shadow:0 0 6px #3fe0a6aa;animation:sideLivePulse 1.6s ease-in-out infinite}
#sideBars .side-live.off{border-color:#4a4f3c;background:#1c2018;color:#8d856f}
#sideBars .side-live.off i{background:#6f6a58;box-shadow:none;animation:none}
@keyframes sideLivePulse{50%{opacity:.35}}
#sideBars .side-char-row b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f3e9c9;font-size:11px;font-weight:800;letter-spacing:.2px}
#sideBars .side-char-row em{flex:0 0 auto;padding:1px 6px;border:1px solid #7a6633;border-radius:999px;background:#2b2412;color:#e9c46a;font-size:8.5px;font-weight:800;line-height:1.3;font-style:normal}
#sideBars .side-char-job{margin-top:2px;color:#b9ad87;font-size:10px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#sideBars .side-char-meta{display:flex;justify-content:space-between;gap:8px;margin-top:6px;padding-top:5px;border-top:1px solid #2a3122;font-size:9.5px;color:#d3c9a8;white-space:nowrap;min-width:0}
#sideBars .side-char-meta>span{display:flex;align-items:baseline;gap:5px;min-width:0;overflow:hidden;text-overflow:ellipsis}
#sideBars .side-char-meta i{font-style:normal;font-size:8px;font-weight:800;letter-spacing:.6px;color:#7f7864}
/* Hızlı Kontroller › VIP KASA / PREMIUM: time left, coloured by how much is left */
#sideBars .side-char-acct{margin-top:4px;padding-top:4px;border-top:1px dashed #2a3122;cursor:help}
#sideBars .side-char-acct>span>span{overflow:hidden;text-overflow:ellipsis;font-weight:700}
#sideBars .side-char-acct .acct-good{color:#86e57f}
#sideBars .side-char-acct .acct-warn{color:#f0c36a}
#sideBars .side-char-acct .acct-bad{color:#ff8a80}
#sideBars .side-char-acct .acct-none{color:#8e8a78}
#sideBars .side-char-pos{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:4px;font:700 9px Consolas,monospace;color:#cfc5a2;white-space:nowrap;min-width:0}
#sideBars .side-char-pos span{overflow:hidden;text-overflow:ellipsis;white-space:pre}
#sideBars .side-char-pos b{flex:0 0 auto;padding:1px 6px;border-radius:999px;background:#1f251a;font-size:8px;font-weight:800;line-height:1.4;letter-spacing:.5px;color:#8d856f}
#sideBars .side-char-pos b.moving{background:#173b30;color:#64e6b7}
#sideBars{margin:0 0 8px}
#sideBars .self-bars{display:flex!important;flex-direction:column!important;gap:5px!important;margin:0!important}
#sideBars .bar-wrap{flex:none;width:100%}
#sideBars .bar-label{font-size:9.5px}
#sideBars .bar-track{height:10px}
@media(max-width:570px){.theme-app .theme-side-hud{display:none}}
/* Quick controls as a 2×2 grid so the sidebar has room for the HUD. */
@media(min-width:571px){
  .theme-app .theme-sidebar-actions{margin:5px 10px 4px;padding:9px 8px 8px}
  .theme-app .theme-sidebar-actions .theme-current-bot{margin:0 0 6px}
  .theme-app .theme-sidebar-actions .top-action-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:auto;height:auto;min-height:0;gap:5px}
  .theme-app .theme-sidebar-actions .top-action-stack button{height:38px;min-height:38px;gap:5px;padding:0 7px;font-size:9.5px;white-space:normal}
  .theme-app .theme-sidebar-actions .top-action-stack button::before{width:16px;flex:0 0 16px;font-size:15px}
}

/* Proxifier connection guide: step-by-step modal opened from the proxy card. */
.proxy-guide-open{width:100%;margin-top:8px;padding:7px 10px;border:1px solid #7a6633;border-radius:8px;background:linear-gradient(180deg,#3d3a1d,#262614);color:#f0cc75;font:800 11px 'Segoe UI',system-ui;cursor:pointer}
.proxy-guide-open:hover{border-color:#d79f26;color:#fff3c4}
.proxy-guide-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin-top:8px}
.proxy-guide-row .proxy-guide-open{width:auto;margin-top:0;padding:7px 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.proxy-guide-row .proxy-video-open{padding:7px 8px}
.pg-modal.pv-modal{width:min(1100px,100%)}
.pv-body{padding:0 18px 18px;display:flex;justify-content:center}
.pv-video{display:block;width:100%;max-height:calc(100vh - 140px);border-radius:10px;background:#000}
.pv-error{padding:20px;color:#ff9a8a;font-weight:700}
.pv-error.hidden{display:none}
.pg-overlay{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:16px;background:#05070499;backdrop-filter:blur(3px)}
.pg-overlay.hidden{display:none}
.pg-modal{display:flex;flex-direction:column;width:min(860px,100%);max-height:calc(100vh - 32px);border:1px solid #555937;border-radius:14px;background:#181d14;box-shadow:0 20px 60px #000a;color:#f5f3ee;font-family:'Segoe UI',system-ui;overflow:hidden}
.pg-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 18px 10px}
.pg-head small{color:#b0a47d;font-size:10px;font-weight:800;letter-spacing:1.2px}
.pg-head h2{margin:3px 0 0;font-size:19px;color:#f0cc75}
.pg-close{width:32px;height:32px;flex:none;border:1px solid #484c2f;border-radius:8px;background:#202819;color:#cec7af;font-size:15px;cursor:pointer}
.pg-close:hover{border-color:#d79f26;color:#fff}
.pg-steps{display:flex;gap:6px;padding:0 18px 12px;overflow-x:auto}
.pg-steps button{flex:1 0 34px;height:30px;border:1px solid #484c2f;border-radius:8px;background:#202819;color:#b0a47d;font:800 12px 'Segoe UI',system-ui;cursor:pointer}
.pg-steps button.done{border-color:#2a6b54;background:#123128;color:#5fe0b0}
.pg-steps button.active{border-color:#d79f26;background:#3d3a1d;color:#f0cc75}
.pg-body{flex:1 1 auto;overflow-y:auto;padding:4px 18px 16px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:18px;align-items:start}
.pg-text p{margin:0 0 10px;color:#cec7af;font-size:13px;line-height:1.55}
.pg-text ol{margin:0 0 10px;padding-left:20px;color:#e8e2cd;font-size:13px;line-height:1.7}
.pg-text b{color:#f5f3ee}
.pg-tip{margin-top:8px;padding:8px 10px;border:1px solid #8a6a2a;border-radius:8px;background:#2c2412;color:#f0cc75;font-size:12px;line-height:1.5}
.pg-vals{display:grid;gap:5px;margin:8px 0 10px}
.pg-val{display:flex;align-items:center;gap:8px;padding:6px 8px;border:1px solid #484c2f;border-radius:8px;background:#11150e}
.pg-val span{width:72px;flex:none;color:#b0a47d;font:800 10px Consolas,monospace}
.pg-val code{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9fe0a8;font:700 12px Consolas,monospace}
.pg-val button{flex:none;padding:3px 8px;border:1px solid #484c2f;border-radius:6px;background:#202819;color:#cec7af;font-size:11px;cursor:pointer}
.pg-val button:hover{border-color:#d79f26;color:#fff}
.pg-link{display:inline-block;margin:2px 0 10px;padding:8px 14px;border-radius:8px;background:linear-gradient(180deg,#d79f26,#a97a16);color:#1a1405;font-weight:800;font-size:13px;text-decoration:none}
.pg-shot{margin:0;border:1px solid #484c2f;border-radius:10px;background:#0d100b;padding:6px}
.pg-shot img{display:block;width:100%;height:auto;border-radius:6px;cursor:zoom-in}
.pg-shot.zoom{position:fixed;inset:16px;z-index:10000;display:flex;align-items:center;justify-content:center;background:#050704ee}
.pg-shot.zoom img{max-width:100%;max-height:100%;width:auto;cursor:zoom-out}
.pg-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 18px;border-top:1px solid #2a3122;background:#141811}
.pg-count{color:#b0a47d;font:800 12px Consolas,monospace}
.pg-btn{min-width:96px;padding:8px 14px;border:1px solid #484c2f;border-radius:8px;background:#202819;color:#e6dfc8;font:800 12px 'Segoe UI',system-ui;cursor:pointer}
.pg-btn:disabled{opacity:.4;cursor:default}
.pg-btn.pg-primary{border-color:#3f8a4f;background:linear-gradient(180deg,#24432a,#16291a);color:#9fe0a8}
@media(max-width:700px){.pg-body{grid-template-columns:1fr}.pg-overlay{padding:8px}.pg-modal{max-height:calc(100vh - 16px)}}

/* AYARLAR "Hazır ayarlar" dropdown (replaces the per-preset blue buttons). */
.theme-app #attack .attack-pane-title select.rotation-preset-select,.rotation-preset-select{margin-left:auto!important;width:auto!important;max-width:170px!important;min-width:132px!important;height:29px!important;padding:0 26px 0 10px!important;border:1px solid #4c6f94!important;border-radius:7px!important;background:#1b2a3d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23a9d4ff'/%3E%3C/svg%3E") no-repeat right 9px center!important;color:#a9d4ff!important;font:700 10.5px 'Segoe UI',system-ui!important;letter-spacing:0!important;text-transform:none!important;cursor:pointer;appearance:none;-webkit-appearance:none}
.theme-app #attack .attack-pane-title select.rotation-preset-select:hover,.theme-app #attack .attack-pane-title select.rotation-preset-select:focus{background-color:#253a53!important;border-color:#6d96c2!important;outline:none}
.rotation-preset-select option{background:#1b2a3d;color:#e3eefb}
.theme-app #attack .rotation-settings-card>.attack-pane-title{display:flex;align-items:center;gap:8px}

/* Oto Pet: live pet line under the OTO PET settings. */
.pet-info{margin:6px 0 4px;padding:7px 9px;border:1px solid #3a4130;border-radius:8px;background:#151a12;font-size:11px;line-height:1.5}
/* Risky virtual combos: red name with a [RISK] prefix (skill list + ÖNCELİK). */
.theme-app .usko-skill-copy b.skill-risk,.usko-skill-copy b.skill-risk{color:#ff5c5c}

/* ===== Responsive: column counts follow the space the panel actually has =====
   Viewport media queries broke on 1080p at 125% Windows scaling (1536 CSS px):
   the 4-pane Attack grid switched on at 1500px viewport although only ~1200px
   was left next to the sidebar. Container queries size by the panel instead. */
.theme-app #attack{container-type:inline-size;container-name:attack}
@container attack (min-width:1440px){
  .theme-app #attack .attack-four-grid{grid-template-columns:minmax(0,1.16fr) minmax(0,.94fr) minmax(0,.9fr) minmax(0,1.16fr)}
}
@container attack (min-width:760px) and (max-width:1439px){
  .theme-app #attack .attack-four-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
}
@container attack (max-width:759px){
  .theme-app #attack .attack-four-grid{grid-template-columns:minmax(0,1fr)}
}
/* Sidebar: nav + HUD + quick controls + proxy card need ~1150px. Below that
   the nav used to be squeezed into a tiny inner scroller (menus "inside each
   other" on 1080p). Keep every block at its natural height and let the
   sidebar itself scroll instead. */
@media(min-width:571px){
  .theme-app .theme-sidebar{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#555937 transparent}
  .theme-app .theme-sidebar>*{flex-shrink:0}
  .theme-app .theme-side-scroll{flex:0 0 auto;min-height:0;overflow:visible}
}
/* Phone: one column. The later "sidebar HUD" rule (260px + 1fr, no media
   query) had overridden the original 570px stacking rule, leaving a ~130px
   content column with letter-by-letter wrapped buttons. */
@media(max-width:570px){
  .theme-app .theme-shell{grid-template-columns:minmax(0,1fr)}
  .theme-app .theme-sidebar{position:static;height:auto;max-height:none;overflow:visible}
  /* Bot picker + Oluştur/Sil/Hata Bildir were one 451px nowrap row. */
  .theme-app .bot-switcher{flex-wrap:wrap;width:100%}
  .theme-app .bot-switcher>label{flex:1 1 100%}
  .theme-app .bot-switcher>label select{flex:1;min-width:0;width:100%}
  .theme-app .bot-switcher>button{flex:1 1 auto}
  .theme-app .theme-topbar-right{width:100%}
  /* Ping stat: two "BOT ip > X ip" lines need a full row, and the stat box
     (overflow:hidden, fixed height) must grow with them. */
  .theme-app .theme-stats>.theme-stat:has(.theme-stat-ping){grid-column:1/-1}
  /* My Info inventory window is a fixed 336px game frame; let it shrink. */
  #myinfo .ko-inv-main{width:auto;max-width:100%;min-width:0}
  #myinfo .ko-inv-top{grid-template-columns:minmax(0,1fr) auto}
  #myinfo .ko-inv-bag{grid-template-columns:repeat(7,minmax(0,1fr))}
  #myinfo .ko-inv-bag>.inv-slot{width:auto;height:auto;aspect-ratio:1}
}
/* Ping card rows: the "BOT ip > GAME ip" label wraps instead of pushing the
   ms value out of narrow cards (stat grid on laptops and phones). */
.theme-app .lat-row{min-width:0}
.theme-app .lat-row>span{min-width:0;overflow-wrap:anywhere;white-space:normal}
.theme-app .lat-row>b{flex:none;white-space:nowrap}
.theme-app .theme-stats>.theme-stat:has(.theme-stat-ping){height:auto;min-height:0;overflow:visible}
/* Oto Kutu settings: fixed 140px + 150px label grid overflowed narrow cards. */
.theme-app .loot-settings-card>label{grid-template-columns:minmax(0,1fr) minmax(70px,150px)}
.theme-app .loot-settings-card>label>input,.theme-app .loot-settings-card>label>select{width:100%;min-width:0}
.theme-connected.off{color:#8d856f;background:#1c2018;border-color:#4a4f3c}.theme-connected.off .theme-online-dot{background:#6f6a58;box-shadow:none}

/* Oto Pot (farm2626 model): HP / MP sides */
#attack .potion-side{margin:8px 0;padding:8px;border:1px solid #3d483d;border-radius:9px;background:#1f2820}
#attack .potion-side .modern-check-row{margin:0 0 6px}
/* Oto Rotasyon › Bankaya At: the account's shared list */
#route .rt-subtitle-note{margin-left:6px;font:600 10.5px 'Segoe UI',system-ui;letter-spacing:.02em;text-transform:none;color:#8e8b76}
#route .rt-bank-pool-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 0;flex-wrap:wrap}
#route .rt-bank-pool-head .bad{color:#ff8a80}
#route .rt-bank-clear{padding:5px 10px;font-size:11px}
#route .rt-bank-pool-list{max-height:260px;overflow:auto}
#route .route-buy-search-item.is-in-pool{opacity:.55;cursor:default}
/* Oto Rotasyon › Ayarlar › Sistem rotası */
#route .rt-system-route{display:flex;flex-direction:column;gap:5px;margin:0 0 4px}
#route .rt-system-route select{width:100%}
#route .rt-system-route-note{margin:0 0 12px;line-height:1.4}
/* Oto Rotasyon › Rotalarım: user routes as chips under the tabs */
#route .rt-custom-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:-4px 0 14px;padding:8px;border:1px solid #2f3a31;border-radius:10px;background:#151b17}
#routePanel #route .rt-custom-chip{display:inline-flex;align-items:center;gap:7px;max-width:220px;padding:6px 10px;border:1px solid #3a463b;border-radius:999px;background:#1d251f;color:#c9c4a6;font:700 12px 'Segoe UI',system-ui;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#routePanel #route .rt-custom-chip:hover{border-color:#6e7a4a;color:#e7d69b}
#routePanel #route .rt-custom-chip.is-active{background:#2c3a2e;border-color:#8a9a5b;color:#f0e2a8}
#routePanel #route .rt-custom-add{padding:6px 11px;border:1px dashed #6e7a4a;border-radius:999px;background:transparent;color:#d8c78f;font:800 11.5px 'Segoe UI',system-ui;cursor:pointer}
#routePanel #route .rt-custom-add:hover{background:#232c24}
#route .rt-custom-tools{display:inline-flex;gap:6px;margin-left:auto}
#routePanel #route .rt-custom-tool{padding:5px 10px;border:1px solid #3a463b;border-radius:7px;background:#1a211b;color:#b8b39a;font:700 11px 'Segoe UI',system-ui;cursor:pointer}
#routePanel #route .rt-custom-tool:hover{color:#e7d69b;border-color:#6e7a4a}
#routePanel #route .rt-custom-tool.is-danger:hover{color:#ff8a80;border-color:#7a3a35}
#routePanel #route .rt-custom-bar button:disabled{opacity:.45;cursor:not-allowed}
@media (max-width:700px){#route .rt-custom-tools{margin-left:0;width:100%}}
#route .rt-break-vip{margin:10px 0 0}
#route .rt-break-note{margin:8px 0 0;line-height:1.4}
#route .route-no-trade-why{display:inline-block;margin-left:5px;padding:1px 5px;border:1px solid #6e7a4a;border-radius:4px;font:800 9px 'Segoe UI',system-ui;letter-spacing:.06em;color:#d8c78f;vertical-align:1px}
#route .rt-bank-results-more{padding:7px 10px;font-size:11px;color:#b8a96f;border-top:1px solid #2f3a31}
/* Oyuna giriş beklemesi: top bar countdown */
.login-grace-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border:1px solid #8a6d2a;border-radius:999px;background:#3a2f16;color:#f0d68a;font:800 11px 'Segoe UI',system-ui;letter-spacing:.06em;white-space:nowrap}
.login-grace-badge[hidden]{display:none}
.login-grace-badge::before{content:'';width:8px;height:8px;border-radius:50%;background:#f0b93a;animation:loginGracePulse 1s ease-in-out infinite}
@keyframes loginGracePulse{50%{opacity:.35}}
@media (max-width:700px){.login-grace-badge{font-size:10px;padding:5px 8px}}
/* Moba koş › Nesne algıla: a sub-option, indented under its parent */
.theme-app #attack .rotation-settings-card>label.modern-check-row.rotation-sub-check{margin-left:18px;border-left:3px solid #6e7a4a!important}
#attack .flash-block{margin-top:12px;padding-top:10px;border-top:1px solid #303746}
#attack .flash-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#attack .flash-checks .modern-check-row{margin:0;min-height:38px;padding:6px 8px}
#attack .flash-checks .modern-check-row span{white-space:nowrap;font-size:12px}
#attack #flashStatus{margin:2px 0 6px;line-height:1.4}
@media(max-width:560px){#attack .flash-checks{grid-template-columns:1fr}}
#attack .potion-side-row{display:flex;align-items:center;gap:8px;margin:5px 0;flex-wrap:wrap}
#attack .potion-side-row .usko-skill-icon{width:28px;height:28px;flex:0 0 28px}
#attack .potion-item-select{flex:1 1 180px;min-width:0;max-width:100%}
#attack .potion-side-row .ps-field,#attack .potion-side-row .ps-check{display:flex!important;flex-direction:row!important;align-items:center;gap:6px;margin:0;padding:4px 8px;border:1px solid #3d483d;border-radius:8px;background:#242e25;color:#d5cfbb;font:700 10.5px 'Segoe UI',system-ui;flex:1 1 140px}
#attack .potion-side-row .ps-field input{width:56px}

/* Extra page */
/* Extra: full width. Three small cards on top, VIP Kasa (wide) and Silah Değiştirme below. */
#extra{container:extra / inline-size}
#extra .extra-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;align-items:start}
#extra .extra-grid>.extra-card{grid-column:span 4;min-width:0;align-self:stretch}
#extra .extra-grid>.extra-card--vip{grid-column:span 7}
#extra .extra-grid>.extra-card--weapon{grid-column:span 5}
/* One panel, two menu entries: Extra shows the small cards; "VIP Kasa / Silah Değiştirme"
   shows those two, one under the other, full width. */
#extra[data-view="extra"] .extra-card--vip,#extra[data-view="extra"] .extra-card--weapon{display:none}
#extra[data-view="vip"] .extra-grid>.extra-card:not(.extra-card--vip):not(.extra-card--weapon){display:none}
#extra[data-view="vip"] .extra-grid>.extra-card--vip,#extra[data-view="vip"] .extra-grid>.extra-card--weapon{grid-column:1/-1}
@container extra (max-width:1100px){#extra .extra-grid>.extra-card--vip,#extra .extra-grid>.extra-card--weapon{grid-column:1/-1}}
@container extra (max-width:760px){#extra .extra-grid>.extra-card{grid-column:1/-1}}
/* VIP Kasa: the store and its buttons on one side, settings on the other. */
#extra .extra-card--vip{container:vipcard / inline-size}
#extra .extra-vip-body{display:grid;grid-template-columns:1fr;gap:16px}
@container vipcard (min-width:620px){#extra .extra-vip-body{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:18px}}
#extra .extra-vip-store,#extra .extra-vip-settings{min-width:0}
#extra .extra-vip-sub{margin:0 0 8px;font:800 11.5px 'Segoe UI',system-ui;letter-spacing:.08em;color:#b8ad8a;text-transform:uppercase}
#extra .extra-vip-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
#extra .extra-vip-kept{margin-top:8px;font-size:12px;line-height:1.5;color:var(--muted,#9aa4b2)}
#extra .extra-vip-kept:empty{display:none}
#extra .extra-vip-kept b{display:block;color:inherit;font-weight:600;margin-bottom:2px}
#extra .extra-vip-kept em{font-style:normal;color:#e0a040}
#extra .extra-vip-actions .extra-vip-now{margin-top:0}
/* VIP Tedarik: full width under the store and the settings. */
#extra .extra-vip-supply{margin-top:18px;padding-top:16px;border-top:1px solid #2f3a31}
#extra .extra-vip-supply-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-bottom:10px}
#extra .extra-vip-supply-head .extra-vip-sub{margin:0}
#extra .extra-vip-supply-hint{color:#9e9780;font:500 11.5px/1.35 'Segoe UI',system-ui}
#extra .extra-vip-supply-top{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;gap:10px;align-items:stretch}
#extra .extra-vip-supply-top .extra-vip-now{width:auto;margin:0;padding:0 16px;min-height:0;white-space:nowrap}
#extra .extra-vip-supply-add{display:grid;grid-template-columns:minmax(0,1fr) 92px auto;gap:10px;align-items:end;margin-top:10px}
#extra .extra-vip-supply-search{position:relative;min-width:0}
#extra .extra-vip-supply-search>input{width:100%!important;min-width:0!important;height:36px;box-sizing:border-box}
#extra .extra-vip-supply-results{position:absolute;z-index:30;left:0;right:0;top:calc(100% + 4px);display:flex;flex-direction:column;max-height:260px;overflow-y:auto;border:1px solid #4e5233;border-radius:8px;background:#141a15;box-shadow:0 10px 24px rgba(0,0,0,.45)}
#extra .extra-vip-supply-results[hidden]{display:none}
#extra .extra-vip-supply-results button{display:flex;align-items:center;gap:8px;padding:6px 10px;border:0;border-bottom:1px solid #222a23;background:transparent;color:#e6dfc8;font:600 12.5px 'Segoe UI',system-ui;text-align:left;cursor:pointer}
#extra .extra-vip-supply-results button:hover{background:#25261a}
#extra .extra-vip-supply-results img{width:22px;height:22px;border-radius:3px}
#extra .extra-vip-supply-field{display:flex;flex-direction:column;gap:4px;margin:0;color:#b8b195;font:600 11.5px 'Segoe UI',system-ui}
#extra .extra-vip-supply-field input{width:100%!important;min-width:0!important;height:36px;box-sizing:border-box;text-align:center}
#extra .extra-vip-supply-add .extra-event-btn{min-height:36px;padding:0 18px}
#extra .extra-vip-supply-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:6px;margin-top:12px}
#extra .extra-vip-supply-list>.extra-vip-none{grid-column:1/-1}
#extra .extra-vip-supply-row{display:flex;align-items:center;gap:8px;min-width:0;padding:5px 8px;border:1px solid #2f3a31;border-radius:8px;background:#141a15}
#extra .extra-vip-supply-row .rt-bag-cell{flex:0 0 30px;width:30px;height:30px;cursor:default}
#extra .extra-vip-supply-row b{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e6dfc8;font:600 12.5px 'Segoe UI',system-ui}
#extra .extra-vip-supply-count,#extra .extra-vip-supply-vip{flex:0 0 auto;color:#9e9780;font:600 11.5px 'Segoe UI',system-ui;white-space:nowrap}
#extra .extra-vip-supply-row em{font:700 12px Consolas,monospace;font-style:normal;color:#9fd8a5}
#extra .extra-vip-supply-row em.is-low{color:#ff8a80}
#extra .extra-vip-supply-row input{flex:0 0 62px;width:62px!important;min-width:0!important;height:26px;padding:0 4px;box-sizing:border-box;text-align:center;font:700 12px Consolas,monospace}
#extra .extra-vip-supply-row>button{flex:0 0 auto;width:22px;height:22px;padding:0;border:0;background:transparent;color:#a9a58c;font-size:15px;cursor:pointer}
#extra .extra-vip-supply-row>button:hover{color:#ff8a80}
@container vipcard (max-width:520px){#extra .extra-vip-supply-top{grid-template-columns:1fr}#extra .extra-vip-supply-top .extra-vip-now{min-height:38px}#extra .extra-vip-supply-add{grid-template-columns:minmax(0,1fr) 80px}#extra .extra-vip-supply-add .extra-event-btn{grid-column:1/-1}#extra .extra-vip-supply-list{grid-template-columns:1fr}}
/* Silah Değiştirme: settings and worn weapons beside the spare grids when there is room. */
#extra .extra-card--weapon{container:weaponcard / inline-size}
#extra .extra-weapon-body{display:grid;grid-template-columns:1fr;gap:4px 18px}
@container weaponcard (min-width:620px){#extra .extra-weapon-body{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}#extra .extra-weapon-spares>.extra-weapon-title:first-child{margin-top:0}}
#extra .extra-weapon-main,#extra .extra-weapon-spares{min-width:0}
#extra .extra-card--weapon .extra-range input{width:84px!important}
/* Extra (small cards): columns that fill top-down, each card only as tall as
   its content (no stretched empty cards, no hole at the end of a row).
   3 columns on a wide screen, 2 on a tablet, 1 on a phone. */
#extra[data-view="extra"] .extra-grid{display:block;columns:3 320px;column-gap:16px}
#extra[data-view="extra"] .extra-grid>.extra-card{display:block;width:100%;box-sizing:border-box;margin:0 0 16px;break-inside:avoid;page-break-inside:avoid}
#extra[data-view="extra"] .extra-grid>.extra-card--vip,#extra[data-view="extra"] .extra-grid>.extra-card--weapon{display:none}
/* VIP Kasa / Silah Değiştirme: the grids at about 40px a cell, not the card's
   full width; the settings get the rest. */
#extra #extraVipGrid.rt-bag-grid{max-width:480px;gap:4px;padding:7px}
#extra .extra-vip-actions{max-width:480px}
@container vipcard (max-width:360px){#extra #extraVipGrid.rt-bag-grid{gap:3px;padding:5px}#extra #extraVipGrid.rt-bag-grid .rt-bag-cell em{font-size:7.5px;letter-spacing:-.03em}}
@container vipcard (min-width:620px){#extra .extra-vip-body{grid-template-columns:minmax(0,480px) minmax(0,1fr)}}
#extra .extra-weapon-spares .rt-bag-grid{max-width:300px;gap:3px;padding:6px;align-self:start;align-content:start}
#extra .extra-weapon-spares{align-self:start;align-content:start}
@container weaponcard (min-width:620px){#extra .extra-weapon-body{grid-template-columns:minmax(0,1fr) 300px}}
@container weaponcard (min-width:980px){
  #extra .extra-weapon-body{grid-template-columns:minmax(0,1fr) 612px}
  #extra .extra-weapon-spares{display:grid;grid-template-columns:repeat(2,300px);grid-template-rows:auto auto;grid-auto-flow:column;column-gap:12px}
  #extra .extra-weapon-spares>.extra-weapon-title{margin-top:0}
}
#extra .extra-card{padding:18px;border:1px solid #3f4b40;border-radius:14px;background:linear-gradient(145deg,#1d251f,#151b17);box-shadow:0 10px 28px rgba(0,0,0,.28)}
#extra .extra-card-head{display:flex;justify-content:flex-start;background:none;box-shadow:none;border-top:0;border-left:0;border-right:0;border-radius:0;align-items:center;gap:10px;margin:0 0 14px;padding-bottom:12px;border-bottom:1px solid #2f3a31}
#extra .extra-card-title{margin:0;font:800 13px 'Segoe UI',system-ui;letter-spacing:.12em;text-transform:uppercase;color:#d8c78f}
#extra .extra-card-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#2a3426;border:1px solid #4a5640;color:#d8b04e;font-size:14px}
#extra .extra-toggles{display:flex;flex-direction:column;gap:10px}
#extra .extra-toggle{display:flex;align-items:center;gap:12px;margin:0;padding:12px 14px;border:1px solid #3a463b;border-radius:10px;background:#202a22;cursor:pointer;transition:border-color .15s,background .15s}
#extra .extra-toggle:hover{border-color:#5a6a4c;background:#243026}
#extra .extra-toggle.is-on{border-color:#8a7434;background:linear-gradient(90deg,#2b2d1d,#212a21)}
#extra .extra-toggle-icon{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:8px;background:#1a211b;border:1px solid #39443a;font-size:15px}
#extra .extra-toggle-label{flex:1 1 auto;font:700 13.5px 'Segoe UI',system-ui;color:#e2dcc6;text-align:left}
#extra .extra-toggle .modern-check{flex:0 0 auto;margin:0!important}
#extra .extra-vip-timing-title{margin:18px 0 8px;font:800 11.5px 'Segoe UI',system-ui;letter-spacing:.08em;color:#b8ad8a;text-transform:uppercase}
#extra .extra-vip-timing input{flex:0 0 72px;width:72px!important}
#extra .extra-vip-timing .extra-toggle-label{min-width:0}
#extra .extra-vip-timing .extra-toggle-label small{display:block;margin-top:3px;font:500 11.5px/1.35 'Segoe UI',system-ui;color:#9e9780}
#extra .extra-events{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#extra .extra-event-btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:10px 12px;border:1px solid #6b5a2c;border-radius:10px;background:linear-gradient(180deg,#3a3220,#2a2416);color:#f0dca0;font:800 12.5px 'Segoe UI',system-ui;letter-spacing:.06em;cursor:pointer;transition:transform .08s,border-color .15s,background .2s}
#extra .extra-event-btn:hover{border-color:#b08f3e;background:linear-gradient(180deg,#463c25,#30291a)}
#extra .extra-event-btn:active{transform:translateY(1px)}
/* Extra › Görev */
#extra .extra-card--quest .eq-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:6px}
#extra .extra-card--quest .eq-bar .extra-event-btn{min-height:36px;font-size:11.5px}
#extra .extra-card--quest .extra-event-btn.is-danger{border-color:#7a3a3a;color:#f3b9b9}
#extra .extra-card--quest .extra-event-btn:disabled{opacity:.45;cursor:default}
#extra .extra-card--quest .eq-npc{margin-top:8px;font-size:12px;color:#f0dca0;font-weight:700}
#extra .extra-card--quest .eq-note{margin-top:8px;font-size:12px;color:var(--muted,#9aa4b2)}
#extra .extra-card--quest .eq-table-wrap{margin-top:6px;max-height:320px;overflow:auto;border:1px solid #3a3424;border-radius:8px}
#extra .extra-card--quest .eq-table{width:100%;border-collapse:collapse;font-size:12px}
#extra .extra-card--quest .eq-table th{position:sticky;top:0;background:#221e14;color:#b9a777;text-align:left;padding:5px 6px;font-weight:600}
#extra .extra-card--quest .eq-table td{padding:4px 6px;border-top:1px solid #2e291c;vertical-align:middle}
#extra .extra-card--quest .eq-id,#extra .extra-card--quest .eq-lv{font-family:ui-monospace,Consolas,monospace;color:#9aa4b2;white-space:nowrap}
#extra .extra-card--quest .eq-name{word-break:break-word}
#extra .extra-card--quest .eq-act{white-space:nowrap;text-align:right}
#extra .extra-card--quest .eq-btn{margin-left:4px;padding:3px 8px;border:1px solid #6b5a2c;border-radius:6px;background:#2a2416;color:#f0dca0;font:700 11px 'Segoe UI',system-ui;cursor:pointer}
#extra .extra-card--quest .eq-btn.is-danger{border-color:#7a3a3a;color:#f3b9b9}
#extra .extra-card--quest .eq-btn:disabled{opacity:.45;cursor:default}
#extra .extra-event-btn.is-ok{border-color:#4f9a5c;background:linear-gradient(180deg,#24432a,#1b301f);color:#bff0c6}
#extra .extra-event-btn.is-err{border-color:#a14e4e;background:linear-gradient(180deg,#432424,#301b1b);color:#f3b9b9}
#extra .extra-event-heart{font-size:15px;color:#e07a7a}
#extra .extra-event-btn.is-ok .extra-event-heart{color:#bff0c6}
#extra .extra-error{margin-top:12px;padding:8px 10px;border:1px solid #6b3434;border-radius:8px;background:#2a1717;color:#f0a9a9;font:600 12px 'Segoe UI',system-ui}
@media (max-width:520px){#extra .extra-events{grid-template-columns:1fr}}
/* Extra: tighter cards and rows (more fits on a phone / tablet screen). */
#extra .extra-card{padding:14px 16px}
#extra .extra-card-head{margin-bottom:10px;padding-bottom:9px}
#extra .extra-toggles{gap:7px}
#extra .extra-toggle{padding:9px 12px;min-height:40px;box-sizing:border-box}
#extra .extra-toggle-label{font-size:13px}
#extra .extra-toggle-icon{width:26px;height:26px;flex-basis:26px;font-size:13px}
#extra .extra-events .extra-event-btn{min-height:44px}
/* Gizle: the three switches side by side when the card is wide enough. */
#extra[data-view="extra"] .extra-grid>.extra-card:first-child .extra-toggles{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr))}
#extra[data-view="extra"] .extra-grid>.extra-card:first-child .extra-toggle{flex-direction:column;gap:6px;padding:9px 6px;text-align:center}
#extra[data-view="extra"] .extra-grid>.extra-card:first-child .extra-toggle-label{text-align:center}

#selfMinimap{cursor:crosshair}
/* Phone: the top bar in two short rows (bot choice, then four small buttons)
   instead of four tall ones; every page starts higher up. */
@media(max-width:560px){
  .theme-app .theme-topbar .theme-topbar-right{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;width:100%;align-items:stretch}
  .theme-app .theme-topbar .theme-topbar-right>.theme-system{display:none}
  .theme-app .theme-topbar .theme-topbar-right>.login-grace-badge:not([hidden]){grid-column:1/-1}
  .theme-app .theme-topbar .bot-switcher{display:contents}
  .theme-app .theme-topbar .bot-switcher>label{grid-column:1/-1;display:flex;align-items:center;gap:8px;margin:0}
  .theme-app .theme-topbar .bot-switcher>label>select{flex:1 1 auto;min-width:0;width:auto}
  .theme-app .theme-topbar #botCreate,.theme-app .theme-topbar #botDelete,.theme-app .theme-topbar #reportBug,.theme-app .theme-topbar #userLogout{
    width:100%;min-width:0;min-height:32px;height:auto;margin:0;padding:4px 3px;font-size:10px;line-height:1.15;white-space:normal;overflow:hidden;box-sizing:border-box}
  /* Kontrol Merkezi counters: Bot / MOB / PLAYER in one row, ping under them. */
  .theme-app .theme-dashboard .theme-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .theme-app .theme-dashboard .theme-stats>.theme-stat{height:auto;min-height:0;padding:9px 8px}
  .theme-app .theme-dashboard .theme-stats>.theme-stat:has(.theme-stat-ping){grid-column:1/-1}
  .theme-app .theme-dashboard .theme-stats>.theme-stat .theme-stat-strip,
  .theme-app .theme-dashboard .theme-stats>.theme-stat .theme-stat-line em{display:none}
  .theme-app .theme-dashboard .theme-stats>.theme-stat .theme-stat-icon{top:7px;right:7px;bottom:auto;transform:scale(.8);transform-origin:top right}
}
/* Entity: by the panel's own width, not the window's (the side menu takes some).
   Wide: Player • Mob • NPC side by side, equal. Medium: Mob on top (what the bot
   hunts), Player and NPC under it. Narrow: one under the other, Mob first.
   Empty tables stay short. */
.theme-app #entityPanel{container:entitypanel / inline-size}
.theme-app #entityPanel .entity-three-grid.entity-three-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.theme-app #entityPanel .entity-pane.entity-pane{grid-column:auto;order:0}
.theme-app #entityPanel .entity-table-scroll.entity-table-scroll{min-height:120px;max-height:min(430px,60vh)}
.theme-app #entityPanel .entity-table-scroll th,.theme-app #entityPanel .entity-table-scroll td{white-space:nowrap}
.theme-app #entityPanel .entity-toolbar{align-items:center}
@container entitypanel (max-width:1050px){
  .theme-app #entityPanel .entity-three-grid.entity-three-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .theme-app #entityPanel .entity-mob-pane.entity-pane{grid-column:1/-1;order:-1}
}
@container entitypanel (max-width:620px){
  .theme-app #entityPanel .entity-three-grid.entity-three-grid{grid-template-columns:minmax(0,1fr)}
  .theme-app #entityPanel .entity-table-scroll.entity-table-scroll{max-height:300px}
  .theme-app #entityPanel .theme-workspace-heading{flex-direction:column;align-items:stretch;gap:8px}
  .theme-app #entityPanel .entity-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}
  .theme-app #entityPanel .entity-toolbar #search{grid-column:1/-1}
}
/* Oto Rotasyon page (rt-*) */
#route .rt{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr);gap:16px;align-items:start}
#route .rt-main,#route .rt-side{min-width:0;display:flex;flex-direction:column;gap:14px}
#route .rt-card{padding:16px;border:1px solid #3f4b40;border-radius:14px;background:linear-gradient(145deg,#1d251f,#151b17);box-shadow:0 10px 28px rgba(0,0,0,.25)}
#route .rt-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #2f3a31}
#route .rt-card-title{display:flex;align-items:center;gap:8px;font:800 12.5px 'Segoe UI',system-ui;letter-spacing:.1em;text-transform:uppercase;color:#d8c78f}
#route .rt-badge{display:inline-flex;align-items:center;gap:3px;padding:2px 8px;border:1px solid #3d483d;border-radius:999px;background:#202a22;color:#b8b195;font:700 11px 'Segoe UI',system-ui;letter-spacing:0;text-transform:none}
#route .rt-subtitle{margin:14px 0 8px;padding-top:12px;border-top:1px solid #2f3a31;font:800 11px 'Segoe UI',system-ui;letter-spacing:.1em;text-transform:uppercase;color:#b8a96f}

#route .rt-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
#route .rt-toolbar-actions{display:flex;gap:8px;flex-wrap:wrap}
#route .rt-toolbar-actions button{min-height:36px;padding:0 14px;font-weight:800;letter-spacing:.03em}
#routePanel #route .rt-ghost{background:transparent;border-color:#4a3a36;color:#d9a79b}
#routePanel #route .rt-ghost:hover{background:#2a1c1a;border-color:#a55d50;color:#ffd4ca}

#route .rt-progress{padding:10px 12px;margin-bottom:12px;border:1px solid #2f3a31;border-radius:10px;background:#141a15}
#route .rt-progress-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;font-size:12px}
#route .rt-status-wrap{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}
#route .rt-trade-fail{display:block;white-space:normal;font-weight:500;font-size:12px;color:#e5534b}
#route .rt-trade-fail:empty{display:none}
.rotation-manual-lock{margin:2px 0 6px;padding:6px 8px;border:1px solid rgba(229,83,75,.45);border-radius:6px;background:rgba(229,83,75,.12);color:#e5534b;font-size:12px;font-weight:600}
.rotation-manual-lock[hidden]{display:none}
#route .rt-progress-meta{display:flex;align-items:center;gap:12px;white-space:nowrap;color:#b8b195}
#route .rt-progress-meta b{color:#e6dfc8}
#route .route-progress-track{height:7px}
/* Route table: as wide as its content (no empty band between Aksiyon and Sıra),
   short rows — players watch it on small screens. Doubled classes: the older
   rules further down set the same things and would win by line order. */
#route .rt-table-wrap.rt-table-wrap{width:fit-content;max-width:100%}
/* The route card is as wide as its table too (no empty band on its right);
   two columns: the side panel gets the rest of the width. The hint line wraps
   instead of widening the card. */
#route .rt.rt{grid-template-columns:fit-content(760px) minmax(320px,1fr)}
#route .rt-main .rt-route-card{width:fit-content;max-width:100%;box-sizing:border-box}
#route .rt-route-card .rt-toolbar.rt-toolbar{flex-wrap:wrap;row-gap:6px}
#route .rt-route-card .rt-toolbar .rt-edit-hint{contain:inline-size;flex:1 1 100%;min-width:0;margin:0}
#route .rt-route-card .rt-tabs,#route .rt-route-card .rt-toolbar{max-width:100%}
@media(max-width:1180px){#route .rt.rt{grid-template-columns:1fr}}
/* PAYLAŞ / İÇERİ AKTAR */
#route .rt-route-card .rt-toolbar .rt-toolbar-actions{display:flex;flex:1 1 auto;flex-wrap:wrap;justify-content:flex-start;gap:6px;min-width:0}
#route .rt-share-btn{border-color:#4f6a52;color:#a9d8b8}
#route .rt-share-btn.is-open{border-color:#8a7434;color:#f0cc75}
#route .rt-share-panel{display:flex;flex-direction:column;gap:6px;margin:0 0 10px;padding:9px;border:1px dashed #6b5a2c;border-radius:10px;background:#1a1f15}
#route .rt-share-panel.hidden{display:none}
#route .rt-share-title{font:700 12px 'Segoe UI',system-ui;color:#e6dfc8}
#route .rt-share-panel textarea{width:100%;box-sizing:border-box;min-height:58px;resize:vertical;padding:6px 8px;border:1px solid #4e5233;border-radius:8px;background:#11150f;color:#e6dfc8;font:11px Consolas,monospace;word-break:break-all}
#route .rt-share-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}
#route .rt-share-actions>span{margin-right:auto;min-width:0}
#route .rt-table-wrap .rt-table.rt-table{width:auto;font-size:12px}
#route .rt-table-wrap .rt-table.rt-table th{padding:6px 6px}
#route .rt-table-wrap .rt-table.rt-table td{padding:3px 6px}
#route .rt-table-wrap .rt-table.rt-table td.rt-col-move,#route .rt-table-wrap .rt-table.rt-table th.rt-col-move{width:auto;padding-left:3px;padding-right:3px}
#route .rt-table-wrap .rt-table.rt-table td.rt-col-del,#route .rt-table-wrap .rt-table.rt-table th.rt-col-del{width:auto;padding-left:3px;padding-right:6px}
#route .rt-table-wrap .rt-table.rt-table td.rt-col-next,#route .rt-table-wrap .rt-table.rt-table th.rt-col-next{width:auto;padding-left:4px;padding-right:4px}
#route .rt-table-wrap .rt-col-no.rt-col-no{width:auto}
#route .rt-table-wrap .rt-xy.rt-xy{display:inline;font-size:12px}
#route .rt-table-wrap .rt-z.rt-z{display:inline;margin-left:5px;font-size:10px}
#route .rt-table-wrap .rt-table select.route-action.route-action{width:112px;min-width:0;max-width:112px;height:28px;padding-top:0;padding-bottom:0}
#route .rt-table-wrap .rt-act-cell.rt-act-cell{gap:5px}
#route .rt-table-wrap .rt-step-ico.rt-step-ico{flex-basis:22px;width:22px;height:22px;font-size:12px}
#route .rt-table-wrap .rt-move-btn.rt-move-btn{width:20px;height:24px}
#route .rt-table-wrap .route-delete.route-delete{width:26px;height:24px;font-size:15px}
#route .rt-table-wrap .rt-point-extra.rt-point-extra{margin-top:3px;max-width:240px}
/* Narrow route page (a phone, or a tablet with the side menu open): everything
   fits without a side scroll — Sıra and Sil stay in sight. By the page's own
   width, not the window's. Hidden: Z, "Sonraki", the step icon, ⤒/⤓ (drag ⠿
   and ▲▼ still move a row). */
#route{container:routepage / inline-size}
@container routepage (max-width:600px){
  #route .rt-table-wrap .rt-z.rt-z,
  #route .rt-table-wrap .rt-col-next.rt-col-next,
  #route .rt-table-wrap .rt-step-ico.rt-step-ico,
  #route .rt-table-wrap .rt-move-btn[data-move="top"],
  #route .rt-table-wrap .rt-move-btn[data-move="bottom"]{display:none}
  #route .rt-table-wrap .rt-table.rt-table td,#route .rt-table-wrap .rt-table.rt-table th{padding:3px 3px}
  #route .rt-table-wrap .rt-table select.route-action.route-action{width:84px;max-width:84px;font-size:12px}
  #route .rt-table-wrap .rt-drag.rt-drag{width:12px;margin-right:2px}
  #route .rt-table-wrap .rt-xy.rt-xy{font-size:11.5px}
  #route .rt-table-wrap .rt-point-extra.rt-point-extra{max-width:150px}
}

#route .rt-table-wrap{max-height:min(62vh,640px);border:1px solid #2f3a31;border-radius:10px}
#route .rt-table{margin:0;width:100%;font-size:12.5px}
#route .rt-table th{position:sticky;top:0;z-index:1;background:#1a211b;color:#9d9a84;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;padding:8px 7px}
#route .rt-table td{padding:6px 7px;vertical-align:middle;border-top:1px solid #252e26}
#route .rt-col-no{width:42px;text-align:center;color:#8e8b76}
#route .rt-col-next{width:78px;white-space:nowrap;color:#b8b195}
#route .rt-col-del{width:44px;text-align:center}
#route .rt-xy{display:block;font:700 12.5px Consolas,monospace;color:#e6dfc8}
#route .rt-z{display:block;font-size:10.5px;color:#7f7c69}
#route .rt-table select.route-action{min-width:0;width:130px;height:32px}
#route .rt-kind-act td{background:rgba(216,199,143,.045)}
#route .rt-kind-act .rt-col-no{color:#d8c78f;font-weight:800}
/* The line under an action (Kırdır list, Satın Al items) wraps instead of widening
   the Aksiyon column (it pushed Sıra / Sil off the table: a sideways scroll bar). */
#route .rt-point-extra{display:flex;flex-direction:column;gap:2px;margin-top:5px;max-width:260px;font-size:11px;line-height:1.35;color:#a9a58c;white-space:normal;overflow-wrap:anywhere}
#route .rt-point-extra b{color:#e6dfc8;font-weight:700}
#route .route-delete{width:30px;height:28px;padding:0;font-size:17px;line-height:1}
#route .rt-empty{padding:28px!important;text-align:center;color:#7f7c69}
/* Route editor: order, drag & drop, selection */
#route .rt-col-no{width:58px;white-space:nowrap}
#route .rt-col-no b{font-weight:inherit}
#route .rt-drag{display:inline-block;width:16px;margin-right:4px;color:#6f6c5b;cursor:grab;user-select:none;font-size:14px;line-height:1;vertical-align:middle}
#route .rt-drag:hover{color:#d8c78f}
#route .rt-drag:active{cursor:grabbing}
#route .rt-table td.rt-col-move,#route .rt-table th.rt-col-move{width:90px;padding-left:4px;padding-right:4px;text-align:center;white-space:nowrap}
#route .rt-table td.rt-col-del,#route .rt-table th.rt-col-del{width:38px;padding-left:4px;padding-right:6px}
#route .rt-table td.rt-col-next,#route .rt-table th.rt-col-next{padding-left:6px;padding-right:6px}
#route .rt-table select.route-action{width:100%;min-width:88px;max-width:130px}
#route .rt-move{display:inline-flex;gap:2px}
#route .rt-move-btn{width:20px;height:26px;padding:0;font-size:11px;line-height:1;border-radius:6px;opacity:.55;transition:opacity .12s,border-color .12s}
#route .route-point-row:hover .rt-move-btn:not(:disabled),#route .route-point-row.is-selected .rt-move-btn:not(:disabled){opacity:1}
#route .rt-move-btn:hover:not(:disabled){border-color:#8a7434;color:#f0e2ad}
#route .rt-move-btn:disabled{opacity:.18;cursor:default}
#route .route-point-row{cursor:default}
#route .route-point-row.is-selected td{background:rgba(216,199,143,.12)}
#route .route-point-row.is-selected td:first-child{box-shadow:inset 3px 0 0 #d8c78f}
#route .route-point-row.is-dragging td{opacity:.45}
#route .route-point-row.drop-before td{box-shadow:inset 0 2px 0 #d8c78f}
#route .route-point-row.drop-after td{box-shadow:inset 0 -2px 0 #d8c78f}
#route .rt-table-wrap.is-locked .rt-drag,#route .rt-table-wrap.is-locked .rt-move{pointer-events:none;opacity:.25}
#route .rt-in-place{color:#7f9c86;font-style:italic}
#route .rt-edit-hint{margin:2px 0 8px;font-size:11px;color:#8e8b76}
#route .rt-edit-hint b{color:#cfc39a;font-weight:700}
@media(hover:none){#route .rt-move-btn:not(:disabled){opacity:1}}
@media(max-width:560px){#route .rt-col-move{width:auto}#route .rt-move-btn{width:22px}#route .rt-edit-hint{display:none}}

#route .rt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#route .rt-field{display:flex;flex-direction:column;gap:5px;margin:0;min-width:0;font:600 11.5px 'Segoe UI',system-ui;color:#b8b195}
#route .rt-field[hidden]{display:none!important}
#route .rt-field>input,#route .rt-field>select{width:100%!important;min-width:0!important;height:34px;box-sizing:border-box}

#route .rt-toggles{display:flex;flex-direction:column;gap:8px;margin:12px 0 0}
#route .rt-card-head+.rt-toggles{margin-top:0;margin-bottom:12px}
#route .rt-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:10px 12px;border:1px solid #3a463b;border-radius:10px;background:#202a22;cursor:pointer;user-select:none;transition:border-color .15s,background .15s}
#route .rt-toggle:hover{border-color:#5a6a4c;background:#243026}
#route .rt-toggle.is-on{border-color:#8a7434;background:linear-gradient(90deg,#2b2d1d,#212a21)}
#route .rt-toggle>span{flex:1 1 auto;min-width:0;font:700 13px 'Segoe UI',system-ui;color:#e2dcc6;line-height:1.3}
#route .rt-toggle>.modern-check{flex:0 0 22px;margin:0!important}
#route .rt-after-route{margin-top:12px;padding-top:10px;border-top:1px solid #313b30}
#route .rt-after-route-title{font:700 11px 'Segoe UI',system-ui;letter-spacing:.08em;text-transform:uppercase;color:#b9a865;margin-bottom:8px}
#route .rt-after-route .rt-after-route-toggles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
#route .rt-after-route .rt-toggle{flex-direction:column;justify-content:center;gap:6px;padding:8px 4px;text-align:center}
#route .rt-after-route .rt-toggle>span{flex:0 0 auto;font-size:12px;white-space:nowrap}
#route .route-apply{width:100%;min-height:38px;margin-top:12px;font-weight:800;letter-spacing:.04em}
#route .rt-auto-status{min-width:0;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}

#route .rt-npc{display:flex;align-items:center;gap:10px;padding:9px 12px;margin-bottom:10px;border:1px solid #2f3a31;border-radius:10px;background:#141a15;font-size:12.5px}
#route .rt-npc b{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e6dfc8}
#route .rt-npc-label{flex:0 0 auto;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:#8e8b76}
#route .rt-npc-dist{flex:0 0 auto;color:#b8b195;font-family:Consolas,monospace}
#route .rt-action-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
#route .rt-action-buttons button{min-height:36px;font-weight:800;letter-spacing:.05em}
#route .rt-pet-ts-buttons{grid-template-columns:1fr}
#route .rt-ts-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) auto;gap:8px;align-items:center;margin-top:8px}
#route .rt-ts-row select{min-width:0;width:100%}
#route .rt-ts-row>button{min-height:36px;font-weight:800;letter-spacing:.05em;white-space:nowrap}
@media(max-width:560px){#route .rt-ts-row{grid-template-columns:1fr}}
#route .rt-buy-row{display:grid;grid-template-columns:minmax(0,1fr) 92px auto;gap:8px;align-items:center}
#route .rt-buy-row input{height:34px;box-sizing:border-box}
#route .rt-buy-row>input{width:92px!important;min-width:0!important}
#route .rt-buy-row>button{min-height:34px;padding:0 14px;font-weight:800}
#route .route-buy-selected-list:empty{display:none}
#route .route-buy-selected-list{margin:10px 0 0}
#route .route-buy-selected-row{border-color:#3a463b;background:#1a211b}

#route .route-excluded-list{min-height:0}
/* Korunanlar: small icon + name tiles in a tidy grid (the number is in the hover card). */
#route .route-excluded-list.rt-protect-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:5px;margin-top:6px}
#route .rt-protect-list .rt-protect-chip{display:flex;align-items:center;gap:6px;min-width:0;height:30px;padding:0 4px 0 3px;border:1px solid #3a4a3c;border-radius:7px;background:#1a221c;color:#e2dcc6;box-sizing:border-box}
#route .rt-protect-list .rt-protect-chip:hover{border-color:#3d7fc4}
#route .rt-protect-list .rt-protect-chip img{flex:0 0 24px;width:24px;height:24px;border-radius:5px;border:1px solid #2f3a31}
#route .rt-protect-list .rt-protect-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 11.5px 'Segoe UI',system-ui}
#routePanel #route .rt-protect-list .rt-protect-chip button{flex:0 0 20px;width:20px;height:20px;min-height:0;padding:0;border:1px solid #3f4b40;border-radius:50%;background:transparent;color:#b8b195;font-size:12px;line-height:1;cursor:pointer}
#routePanel #route .rt-protect-list .rt-protect-chip button:hover{border-color:#c0584a;color:#ffd4ca}
#route .rt-item-bag .rt-bag-cell em.is-long{font-size:8.5px;letter-spacing:-.03em}
#route .route-excluded-chip{border-color:#4e5233;background:#202a22;color:#e2dcc6}
#route .route-inventory-scroll{max-height:320px;border-color:#2f3a31;border-radius:10px}
#route .route-inventory-scroll th{position:sticky;top:0;z-index:1;background:#1a211b;color:#9d9a84;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase}
#route .rt-inv-empty td{padding-top:4px!important;padding-bottom:4px!important;color:#5f6153;border-top-color:#1f2620}

@media(max-width:1180px){#route .rt{grid-template-columns:1fr}}
@media(max-width:560px){#route .rt-grid{grid-template-columns:1fr}#route .rt-buy-row{grid-template-columns:1fr 80px}#route .rt-buy-row>button{grid-column:1/-1}}
#route .route-inventory-scroll{overflow-x:hidden}
#route .route-inventory-scroll table{table-layout:fixed;width:100%}
#route .route-inventory-scroll th:nth-child(1),#route .route-inventory-scroll td:nth-child(1){width:40px}
#route .route-inventory-scroll th:nth-child(2){width:78px}
#route .route-inventory-scroll th:nth-child(4){width:44px}
#route .route-inventory-scroll th:nth-child(5){width:68px}
#route .route-inventory-scroll th:nth-child(6){width:66px}
#route .route-inventory-scroll td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#route .route-inventory-scroll td:nth-child(2){font-family:Consolas,monospace;font-size:11px;color:#a9a58c}
#route .route-inventory-scroll .item-name-wrap{display:flex;align-items:center;gap:6px;min-width:0}
#route .route-inventory-scroll .item-name-wrap b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
#route .route-exclude-btn{min-width:0;width:100%;padding:4px 0}
#extra .extra-range{cursor:default;gap:8px}
#extra .extra-range input{width:64px!important;min-width:0!important;height:30px;box-sizing:border-box;text-align:center}
#extra .extra-range-sep{color:#8e8b76}
/* Oto Kalk › Hangi rota: Ana Rota / Ölünce Kalk Rotası */
#extra .extra-route-pick{flex-wrap:wrap;gap:8px}
#extra .extra-route-pick.is-off{opacity:.55}
#extra .extra-seg{display:inline-flex;border:1px solid #3f4b40;border-radius:8px;overflow:hidden;max-width:100%}
#extra .extra-seg-btn{padding:6px 12px;border:0;background:transparent;color:#a9a58c;font:700 12px 'Segoe UI',system-ui;cursor:pointer;white-space:nowrap}
#extra .extra-seg-btn+.extra-seg-btn{border-left:1px solid #3f4b40}
#extra .extra-seg-btn:hover{color:#d8c78f}
#extra .extra-seg-btn.is-active{background:#2c3a2e;color:#e7d69b}
#route .rt-tabs{display:flex;gap:4px;margin:0 0 14px;border-bottom:1px solid #2f3a31;flex-wrap:wrap}
#routePanel #route .rt-tab{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;margin-bottom:-1px;border:0;border-bottom:2px solid transparent;border-radius:8px 8px 0 0;background:transparent;color:#a9a58c;font:800 12.5px 'Segoe UI',system-ui;letter-spacing:.03em;cursor:pointer}
#routePanel #route .rt-tab:hover:not(:disabled){background:#202a22;color:#e6dfc8}
#routePanel #route .rt-tab.is-active{border-bottom-color:#d8b04e;background:#202a22;color:#f0dca0}
#routePanel #route .rt-tab:disabled{opacity:.55;cursor:not-allowed}
#route .rt-toolbar{justify-content:space-between;flex-wrap:nowrap;align-items:center}
#route .rt-toolbar .rt-edit-hint{flex:1 1 auto;min-width:0;margin:0}
#route .rt-toolbar .rt-toolbar-actions{flex:0 0 auto;flex-wrap:nowrap}
#route .rt-toolbar .rt-toolbar-actions button{min-height:30px;padding:0 12px;font-size:11.5px}
@media(max-width:560px){#route .rt-toolbar{justify-content:flex-end}}

/* Oto Rotasyon: status strip + one-sentence summary on top */
#route .rt-head{grid-column:1/-1;padding:14px 16px;transition:border-color .2s}
#route .rt-head[data-state="run"]{border-color:#3f6b4f}
#route .rt-head[data-state="rec"]{border-color:#7a6230}
#route .rt-head[data-state="err"]{border-color:#7a3a33}
#route .rt-head-top{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
#route .rt-state-dot{flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:#5f6153}
#route .rt-head[data-state="run"] .rt-state-dot{background:#4cc38a;animation:rtStatePulse 1.6s ease-in-out infinite}
#route .rt-head[data-state="rec"] .rt-state-dot{background:#e0a64a;animation:rtStatePulse 1.6s ease-in-out infinite}
#route .rt-head[data-state="err"] .rt-state-dot{background:#e5534b}
@keyframes rtStatePulse{0%,100%{box-shadow:0 0 0 0 rgba(255,255,255,.22)}50%{box-shadow:0 0 0 6px rgba(255,255,255,0)}}
@media(prefers-reduced-motion:reduce){#route .rt-state-dot{animation:none!important}}
#route .rt-head-status{flex:1 1 280px;min-width:0}
#route .rt-head .rt-status-wrap{margin-bottom:8px;font-size:14px}
#route .rt-head-progress{display:flex;align-items:center;gap:12px}
#route .rt-head-progress .route-progress-track{flex:1 1 auto;min-width:0}
#route .rt-head .rt-progress-meta{font-size:12px}
#route .rt-head-actions{display:flex;gap:8px;flex:0 0 auto}
#route .rt-head-actions button{min-height:40px;padding:0 16px;font-weight:800;letter-spacing:.03em;white-space:nowrap}
#routePanel #route .rt-play{min-width:190px;border-color:#b39a4b;background:linear-gradient(180deg,#4d4520,#34311a);color:#fff3c4}
#routePanel #route .rt-play:hover:not(:disabled){border-color:#e0c468;background:linear-gradient(180deg,#5d5326,#3f3b1f);color:#fff}
#route .rt-summary{display:flex;align-items:center;gap:10px;margin-top:12px;padding:9px 12px;border:1px solid #33402f;border-radius:10px;background:#161d17;font-size:12.5px;line-height:1.45;color:#cfc9ad}
#route .rt-summary-ico{flex:0 0 auto;color:#d8b04e}
#route #routeSummary{flex:1 1 auto;min-width:0}
#routePanel #route .rt-summary-edit{flex:0 0 auto;min-height:26px;padding:0 10px;border:1px solid #3f4b40;border-radius:7px;background:transparent;color:#d8c78f;font:800 10.5px 'Segoe UI',system-ui;letter-spacing:.06em;cursor:pointer}
#routePanel #route .rt-summary-edit:hover{border-color:#b39a4b;color:#fff3c4}
@media(max-width:560px){#route .rt-head-actions{flex:1 1 100%}#route .rt-head-actions button{flex:1 1 0;min-width:0;padding:0 6px;font-size:11.5px;letter-spacing:0}#routePanel #route .rt-play{min-width:0}#route .rt-summary{align-items:flex-start}}

/* Oto Rotasyon: right side in three tabs (Adım Ekle / Otomatik / Itemler) */
#route .rt-side-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border:1px solid #3f4b40;border-radius:12px;background:#121713}
#routePanel #route .rt-side-tab{display:flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 8px;border:1px solid transparent;border-radius:9px;background:transparent;color:#a9a58c;font:800 12px 'Segoe UI',system-ui;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;white-space:nowrap}
#routePanel #route .rt-side-tab:hover{color:#e6dfc8;background:#1b221c}
#routePanel #route .rt-side-tab.is-active{border-color:#8a7434;background:linear-gradient(180deg,#34321b,#25251a);color:#f0cc75;box-shadow:0 2px 8px rgba(0,0,0,.3)}
#route .rt-side-badge{padding:1px 6px;border-radius:8px;background:#1f3a2a;color:#86c98f;font:800 9.5px/14px 'Segoe UI',system-ui;letter-spacing:.04em}
#route .rt-side-badge.hidden{display:none}
#route .rt-side-save{display:flex;min-height:14px;margin:-8px 4px}
#route .rt-side-pane{display:none;flex-direction:column;gap:14px;min-width:0}
#route .rt-side-pane.is-active{display:flex}
#route .rt-card-head+.rt-after-route{margin-top:0;padding-top:0;border-top:0}
#route .rt-subtitle+.rt-armor-check{margin-top:0}
#route .rt-advanced{padding:0}
#route .rt-advanced>summary{display:flex;align-items:center;gap:8px;padding:14px 16px;cursor:pointer;list-style:none;user-select:none;font:800 12.5px 'Segoe UI',system-ui;letter-spacing:.1em;text-transform:uppercase;color:#d8c78f}
#route .rt-advanced>summary::-webkit-details-marker{display:none}
#route .rt-advanced>summary::before{content:'▸';display:inline-block;width:12px;color:#8e8b76;transition:transform .15s}
#route .rt-advanced[open]>summary::before{transform:rotate(90deg)}
#route .rt-advanced>summary small{margin-left:auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 11px 'Segoe UI',system-ui;letter-spacing:0;text-transform:none;color:#8e8b76}
#route .rt-advanced>.rt-grid{padding:0 16px 16px}

/* Oto Rotasyon: step icons, the step being run in green */
#route .rt-act-cell{display:flex;align-items:center;gap:8px}
#route .rt-step-ico{flex:0 0 24px;display:inline-grid;place-items:center;width:24px;height:24px;border:1px solid #2f3a31;border-radius:7px;background:#1b221c;color:#7f7c69;font-size:13px;line-height:1}
#route .rt-kind-act .rt-step-ico{border-color:#6e6230;background:#2f3524;color:#f0cc75}
#route .route-point-row.is-current td{background:rgba(76,195,138,.12)}
#route .route-point-row.is-current td:first-child{box-shadow:inset 3px 0 0 #4cc38a}
#route .route-point-row.is-current .rt-col-no{color:#86e0ad}
#route .route-point-row.is-current .rt-step-ico{border-color:#3f6b4f;background:#1f3a2a;color:#86e0ad}
/* ⋯ menu (Bu rotayı temizle) */
#route .rt-more{position:relative}
#route .rt-more>summary{display:grid;place-items:center;width:34px;height:30px;border:1px solid #3f4b40;border-radius:8px;color:#b8b195;font-size:16px;line-height:1;cursor:pointer;list-style:none;user-select:none}
#route .rt-more>summary::-webkit-details-marker{display:none}
#route .rt-more>summary:hover,#route .rt-more[open]>summary{border-color:#b39a4b;background:#242e25;color:#fff3c4}
#route .rt-more-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:6;min-width:230px;padding:6px;border:1px solid #4a553f;border-radius:10px;background:#1a211b;box-shadow:0 12px 28px rgba(0,0,0,.5)}
#routePanel #route .rt-more-item{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;min-height:0;padding:8px 10px;border:1px solid transparent;border-radius:7px;background:transparent;color:#e0a79b;font:700 12.5px 'Segoe UI',system-ui;letter-spacing:0;text-align:left;cursor:pointer}
#routePanel #route .rt-more-item small{font:500 11px 'Segoe UI',system-ui;color:#8e8b76}
#routePanel #route .rt-more-item:hover:not(:disabled){border-color:#a55d50;background:#2a1c1a;color:#ffd4ca}
#routePanel #route .rt-more-item:disabled{opacity:.45;cursor:default}
/* Warnings under the summary */
#route .rt-warnings{display:flex;flex-direction:column;gap:6px;margin-top:8px}
#route .rt-warnings:empty{display:none}
#route .rt-warning{display:flex;align-items:flex-start;gap:9px;padding:8px 12px;border:1px solid #6b5626;border-radius:10px;background:#2a2414;color:#ecd08a;font-size:12.5px;line-height:1.45}
#route .rt-warning>span:first-child{flex:0 0 auto;color:#e0a64a}
/* Empty route: how to build one */
#route .rt-guide{max-width:430px;margin:0 auto;text-align:left}
#route .rt-guide-title{margin-bottom:12px;font:800 13px 'Segoe UI',system-ui;letter-spacing:.04em;color:#d8c78f;text-align:center}
#route .rt-guide ol{margin:0;padding:0;list-style:none;counter-reset:rtguide}
#route .rt-guide li{position:relative;counter-increment:rtguide;margin:0 0 9px;padding-left:32px;font:500 12.5px/22px 'Segoe UI',system-ui;color:#b8b195;white-space:normal}
#route .rt-guide li::before{content:counter(rtguide);position:absolute;left:0;top:0;display:grid;place-items:center;width:22px;height:22px;box-sizing:border-box;border:1px solid #4e5233;border-radius:50%;background:#202a22;color:#d8c78f;font:800 11px 'Segoe UI',system-ui}
#route .rt-guide li.is-done{color:#7f9c86}
#route .rt-guide li.is-done::before{content:'✓';border-color:#3f6b4f;background:#1f3a2a;color:#86e0ad}
#route .rt-guide b{color:#e6dfc8}
/* Itemler: one table with filter chips, the user's own SAT / SATMA lists under it */
#route .rt-item-filters{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 10px}
#routePanel #route .rt-item-filter{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:0 9px;border:1px solid #3a463b;border-radius:999px;background:#1a211b;color:#b8b195;font:700 11.5px 'Segoe UI',system-ui;letter-spacing:0;cursor:pointer;white-space:nowrap}
#routePanel #route .rt-item-filter span{min-width:16px;padding:0 4px;border-radius:8px;background:#2a332b;color:#cfc9ad;font:800 10px/16px 'Segoe UI',system-ui;text-align:center}
#routePanel #route .rt-item-filter:hover{border-color:#8a7434;color:#f0e2ad}
#routePanel #route .rt-item-filter.is-active{border-color:#8a7434;background:linear-gradient(180deg,#34321b,#25251a);color:#f0cc75}
#routePanel #route .rt-item-filter.is-active span{background:#8a7434;color:#1a1a10}
#routePanel #route .rt-item-filter.is-empty:not(.is-active){opacity:.5}
#route .route-inventory-scroll td.rt-inv-none{padding:18px!important;text-align:center;color:#7f7c69}
#route .rt-own-lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #2f3a31}
#route .rt-own-list{min-width:0}
#route .rt-own-title{display:flex;flex-direction:column;gap:1px;margin-bottom:6px;font:800 11px 'Segoe UI',system-ui;letter-spacing:.06em;text-transform:uppercase;color:#b8a96f}
#route .rt-own-title small{font:500 10.5px 'Segoe UI',system-ui;letter-spacing:0;text-transform:none;color:#8e8b76}
@media(max-width:560px){#route .rt-own-lists{grid-template-columns:1fr}}
/* Adım Ekle: seven one-click buttons (Konum first; Banka / Kırdır joined them), TS / Satın Al tabs, Kırdır settings folded */
#route .rt-quick{grid-template-columns:repeat(4,minmax(0,1fr))}
/* A click is felt: pressed, waiting, then a green (added) or red (refused) flash */
#route .rt-quick-btn,#route .route-apply,#route .rt-act-tab,#route .rt-item-go,#route .rt-list-tab,#route .rt-side-tab{transition:transform .06s ease,filter .12s ease,border-color .15s ease,background-color .15s ease}
#route .rt-quick-btn:active,#route .route-apply:active,#route .rt-act-tab:active,#route .rt-item-go:active:not(:disabled),#route .rt-list-tab:active,#route .rt-side-tab:active,#route .rt-bag-cell:active:not(.is-empty){transform:translateY(1px) scale(.96);filter:brightness(1.3)}
#route .rt-quick-btn.is-busy,#route .route-apply.is-busy{opacity:.6;cursor:progress}
#routePanel #route .rt-quick-btn.is-done,#routePanel #route .route-apply.is-done{border-color:#4cc38a;background:linear-gradient(180deg,#1f4a33,#173524);color:#c8f5d8;animation:rtActFlash .9s ease-out}
#routePanel #route .rt-quick-btn.is-done .rt-quick-ico{background:#2c6b47;color:#e6fff0}
#routePanel #route .rt-quick-btn.is-fail,#routePanel #route .route-apply.is-fail{border-color:#c0584a;background:linear-gradient(180deg,#4a2420,#331a18);color:#ffd4ca;animation:rtActShake .35s ease-in-out}
@keyframes rtActFlash{0%{box-shadow:0 0 0 0 rgba(76,195,138,.7)}100%{box-shadow:0 0 0 10px rgba(76,195,138,0)}}
@keyframes rtActShake{0%,100%{transform:translateX(0)}25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}
@media(prefers-reduced-motion:reduce){#route .rt-quick-btn.is-done,#route .route-apply.is-done,#route .rt-quick-btn.is-fail,#route .route-apply.is-fail{animation:none!important}}
#route .rt-vip-info{margin:8px 0 0;font-size:11.5px;line-height:1.45;color:#b8a96f}
#route .rt-list-row.is-hidden{border-style:dashed;opacity:.75}
#route .rt-list-row.is-hidden .rt-list-name b{text-decoration:line-through;color:#a9a58c}
#routePanel #route .rt-list-back{flex:0 0 auto;min-height:24px;padding:0 8px;border:1px solid #46624b;border-radius:6px;background:#22382a;color:#a9d0b2;font:800 9.5px 'Segoe UI',system-ui;letter-spacing:.05em;cursor:pointer}
#routePanel #route .rt-list-back:hover{border-color:#6f9a78;color:#d6f2dc}
#route .rt-item-bag .rt-bag-cell em{font-size:8px;letter-spacing:0;white-space:nowrap}
#route .rt-act-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
#route .rt-break-settings{margin-top:12px}
#route .rt-break-settings-body{padding:2px 10px 10px}
#route .rt-break-settings-body .rt-break-vip{margin:6px 0 0}
#route .rt-break-settings-body .rt-break-speed{margin-top:8px}
/* Itemler › Çantan: the bag, a word on every item that goes somewhere, a menu for the picked one */
#route .rt-item-bag{margin-top:0;gap:5px;max-width:430px;padding:7px}
#route .rt-item-bag .rt-bag-cell{border-radius:8px}
#route .rt-item-bag .rt-bag-cell em{position:absolute;left:0;right:0;bottom:0;padding:2px 0;font:800 10.5px/1.2 'Segoe UI',system-ui;font-style:normal;letter-spacing:.02em;text-align:center;color:#fff;background:rgba(20,26,21,.82)}
#route .rt-item-bag .rt-bag-cell i{bottom:auto;top:1px}
@container routepage (max-width:400px){#route .rt-item-bag{gap:3px;padding:5px}#route .rt-item-bag .rt-bag-cell em{font-size:8px;letter-spacing:-.03em}#route .rt-item-bag .rt-bag-cell em.is-long{font-size:6.5px;letter-spacing:-.04em}}
#route .rt-item-bag .is-fate-sell{border-color:#3f7a55}
#route .rt-item-bag .is-fate-sell em{background:rgba(31,90,52,.9)}
#route .rt-item-bag .is-fate-vip{border-color:#7a6a3a}
#route .rt-item-bag .is-fate-vip em{background:rgba(110,88,28,.92)}
#route .rt-item-bag .is-fate-bank{border-color:#3e6a86}
#route .rt-item-bag .is-fate-bank em{background:rgba(34,82,112,.92)}
#route .rt-item-bag .is-fate-break{border-color:#6a4a86}
#route .rt-item-bag .is-fate-break em{background:rgba(84,52,116,.92)}
#route .rt-item-bag .is-fate-del{border-color:#a0483e}
#route .rt-item-bag .is-fate-del em{background:rgba(140,44,36,.94)}
#route .rt-item-bag .is-fate-keep em{background:rgba(60,66,60,.92);color:#d8d8cc}
#route .rt-item-bag .is-fate-none img,#route .rt-item-bag .is-fate-keep img{opacity:.6}
#route .rt-item-menu{margin-top:10px;padding:12px;border:1px solid #8a7434;border-radius:10px;background:#1c2018}
#route .rt-item-menu[hidden]{display:none}
#route .rt-item-menu-head{display:flex;align-items:center;gap:10px}
#route .rt-item-menu-head img{flex:0 0 34px;width:34px;height:34px;border-radius:6px;border:1px solid #333d33}
#route .rt-item-menu-head>div{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:1px}
#route .rt-item-menu-head b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 13px 'Segoe UI',system-ui;color:#f0e6c4}
#route .rt-item-menu-head small{font:500 11px Consolas,monospace;color:#9ea99a}
#routePanel #route .rt-item-menu-close{flex:0 0 28px;width:28px;height:28px;padding:0;border:1px solid #3f4b40;border-radius:7px;background:transparent;color:#b8b195;font-size:17px;line-height:1;cursor:pointer}
#route .rt-item-menu-now{margin:10px 0 0;font-size:12px;line-height:1.45;color:#a9b3a4}
#route .rt-item-menu-now b{color:#e6dfc8;font-weight:700}
#route .rt-item-menu-q{margin:10px 0 6px;font:800 10.5px 'Segoe UI',system-ui;letter-spacing:.08em;text-transform:uppercase;color:#b8a96f}
#route .rt-item-menu-btns{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
#routePanel #route .rt-item-go{min-height:36px;padding:0 4px;border:1px solid #4e5233;border-radius:8px;background:linear-gradient(180deg,#232c25,#1a211c);color:#e6dfc8;font:800 11.5px 'Segoe UI',system-ui;letter-spacing:.03em;cursor:pointer;white-space:nowrap}
#routePanel #route .rt-item-go:hover:not(:disabled){border-color:#b39a4b;color:#fff3c4}
#routePanel #route .rt-item-go.is-current{border-color:#8a7434;background:linear-gradient(180deg,#34321b,#25251a);color:#f0cc75;cursor:default}
#routePanel #route .rt-item-go.is-danger{border-color:#6e3a34;color:#f0b4a8}
#routePanel #route .rt-item-go.is-danger:hover:not(:disabled){border-color:#c0584a;background:#2a1c1a;color:#ffd4ca}
#route .rt-item-menu-extra{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
#routePanel #route .rt-item-menu-extra button{min-height:28px;padding:0 10px;border:1px solid #3f4b40;border-radius:7px;background:transparent;color:#b8b195;font:700 10.5px 'Segoe UI',system-ui;letter-spacing:.05em;cursor:pointer}
#routePanel #route .rt-item-menu-extra button:hover{border-color:#8a7434;color:#f0e2ad}
#route .rt-item-menu-msg{margin-top:8px;font-size:12px;line-height:1.4;color:#86c98f}
#route .rt-item-menu-msg:empty{display:none}
#route .rt-item-menu-msg.bad{color:#ff8a80}
#route .rt-protect-title{margin-top:14px;padding-top:12px;border-top:1px solid #2f3a31}
/* Itemler › Çantan: the picked item's menu beside the bag (in the empty space on
   the right); under it when there is no room. */
#route .rt-bag-split{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px}
#route .rt-bag-split>.rt-item-bag{flex:1 1 340px;min-width:0}
#route .rt-bag-split>.rt-item-menu{container:itemmenu / inline-size;flex:1 1 240px;min-width:0;margin-top:0;box-shadow:0 0 0 1px rgba(255,215,106,.18),0 6px 18px rgba(0,0,0,.35)}
#route .rt-bag-split>.rt-item-menu[hidden]{display:none}
/* Menu beside the bag is narrow: the five choices in rows of three, KORU full width. */
@container itemmenu (max-width:380px){#route .rt-item-menu .rt-item-menu-btns{grid-template-columns:repeat(3,minmax(0,1fr))}#routePanel #route .rt-item-menu-extra .rt-item-protect{flex:1 1 100%}}
/* KORU / KORUMAYI KALDIR: a bigger blue button */
#routePanel #route .rt-item-menu-extra .rt-item-protect,#extra .rt-item-menu-extra .rt-item-protect{min-height:36px;padding:0 18px;border:1px solid #3d7fc4;border-radius:8px;background:linear-gradient(180deg,#1f4f86,#173b66);color:#e3f0ff;font:800 12px 'Segoe UI',system-ui;letter-spacing:.06em}
#routePanel #route .rt-item-menu-extra .rt-item-protect:hover,#extra .rt-item-menu-extra .rt-item-protect:hover{border-color:#7fb8ff;background:linear-gradient(180deg,#2763a6,#1c4a80);color:#fff}
#routePanel #route .rt-item-menu-extra .rt-item-protect.is-on,#extra .rt-item-menu-extra .rt-item-protect.is-on{background:transparent;border-color:#3d7fc4;color:#9cc8ff}
@media(max-width:560px){#route .rt-item-menu-btns{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Itemler › Listeler: five tabs, the list's items with icons, search */
#route .rt-list-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:3px;border:1px solid #2f3a31;border-radius:10px;background:#121713}
#routePanel #route .rt-list-tab{display:flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:0 4px;border:1px solid transparent;border-radius:7px;background:transparent;color:#a9a58c;font:800 11.5px 'Segoe UI',system-ui;letter-spacing:.03em;cursor:pointer;white-space:nowrap}
#routePanel #route .rt-list-tab:hover{color:#e6dfc8;background:#1b221c}
#routePanel #route .rt-list-tab.is-active{border-color:#8a7434;background:linear-gradient(180deg,#34321b,#25251a);color:#f0cc75}
#routePanel #route .rt-list-tab.is-danger{color:#d9a79b}
#routePanel #route .rt-list-tab.is-danger.is-active{border-color:#8a4a40;background:#33211e;color:#ffd4ca}
#routePanel #route .rt-list-tab.is-off:not(.is-active){opacity:.55}
#routePanel #route .rt-list-tab span{padding:0 5px;border-radius:8px;background:#1f3a2a;color:#86c98f;font:800 9.5px/15px 'Segoe UI',system-ui}
#route .rt-list-info{margin:10px 0 8px}
#route .rt-lists-card .rt-global-lists .rt-list-switch{margin:0}
#route .rt-lists-card .rt-list-switch[hidden]{display:none!important}
#route .rt-lists-card .rt-list-switch.rt-global-danger{margin-top:0;padding-top:0;border-top:0}
#route .rt-list-search{display:block;width:100%!important;min-width:0!important;height:34px;box-sizing:border-box;margin:10px 0 8px;padding:0 10px}
#route .rt-list-rows{display:flex;flex-direction:column;gap:4px;max-height:420px;overflow:auto}
#route .rt-list-row{display:flex;align-items:center;gap:9px;padding:5px 8px;border:1px solid #2a332b;border-radius:8px;background:#1a211b}
#route .rt-list-row.is-own{border-color:#3f6b4f;background:#1b261e}
#route .rt-list-row.is-moved{opacity:.55}
#route .rt-list-row img{flex:0 0 26px;width:26px;height:26px;border-radius:5px;border:1px solid #333d33}
#route .rt-list-name{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
#route .rt-list-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 12px 'Segoe UI',system-ui;color:#e6dfc8}
#route .rt-list-name small{font:500 10.5px Consolas,monospace;color:#8e9a88}
#route .rt-list-row .tag{flex:0 0 auto;margin:0;font-size:9.5px}
#routePanel #route .rt-list-remove{flex:0 0 24px;width:24px;height:24px;padding:0;border:1px solid #4a3330;border-radius:6px;background:#1e1817;color:#d09a8f;font-size:15px;line-height:1;cursor:pointer}
#routePanel #route .rt-list-remove:hover{border-color:#a0574b;color:#ffb4a8}
#route .rt-list-empty{padding:18px;text-align:center;font-size:12px;color:#7f7c69}
#route .rt-list-empty.bad{color:#ff8a80}
#routePanel #route .rt-list-more{display:block;width:100%;margin-top:8px;padding:8px;border:1px dashed #44503f;border-radius:9px;background:transparent;color:#b3bcae;font:700 10.5px 'Segoe UI',system-ui;letter-spacing:.05em;cursor:pointer}
#routePanel #route .rt-list-more[hidden]{display:none}
/* Listeler › Item ekle: search the whole item table, stat filter, tick, pick the list */
#route .rt-list-add{margin:0 0 10px;border:1px solid #3b5a7a;border-radius:10px;background:#141b22}
#route .rt-list-add>summary{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;padding:9px 12px;cursor:pointer;list-style:none}
#route .rt-list-add>summary::-webkit-details-marker{display:none}
#route .rt-list-add>summary b{font:800 12.5px 'Segoe UI',system-ui;color:#9cc8ff;letter-spacing:.03em}
#route .rt-list-add>summary small{font-size:10.5px;color:#7f8fa0}
#route .rt-list-add[open]>summary{border-bottom:1px solid #2a3a4a}
#route .rt-add-body{padding:4px 10px 10px}
#route .rt-add-body .rt-list-search{margin:6px 0 8px}
#route .rt-add-label{margin:6px 0 4px;font:800 10.5px 'Segoe UI',system-ui;color:#b9c3cc;letter-spacing:.04em}
#route .rt-add-label small{margin-left:6px;font-weight:500;color:#7f8fa0;letter-spacing:0}
#route .rt-add-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:4px}
#route .rt-add-stats label.rt-add-stat-check{display:flex;align-items:center;gap:6px;min-width:0;min-height:26px;margin:0;padding:3px 8px;border:1px solid #2f3a31;border-radius:7px;background:#151b16;color:#86e57f;font-size:11px;font-weight:600;cursor:pointer;box-sizing:border-box}
#route .rt-add-stats label.rt-add-stat-check span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#route .rt-add-stats label.rt-add-stat-check input{flex:0 0 auto;width:14px;height:14px;margin:0;accent-color:#5fbf6a}
#route .rt-add-stats label.rt-add-stat-check:has(input:checked){border-color:#4f8a57;background:#1d2d20;color:#b6f5ad}
#route .rt-add-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 6px;font-size:11px}
#routePanel #route .rt-add-all{padding:5px 10px;border:1px solid #44503f;border-radius:7px;background:#1a211b;color:#c9d3c4;font:800 10.5px 'Segoe UI',system-ui;letter-spacing:.04em;cursor:pointer}
#routePanel #route .rt-add-all:disabled{opacity:.45;cursor:default}
#route .rt-add-rows{max-height:360px}
#route .rt-add-row{display:flex;align-items:center;gap:9px;margin:0;padding:5px 8px;border:1px solid #2a332b;border-radius:8px;background:#1a211b;cursor:pointer}
#route .rt-add-row:hover{border-color:#44503f}
#route .rt-add-row.is-sel{border-color:#3d7fc4;background:#17222e}
#route .rt-add-row input{flex:0 0 auto;width:15px;height:15px;margin:0;accent-color:#3d7fc4}
#route .rt-add-row img{flex:0 0 26px;width:26px;height:26px;border-radius:5px;border:1px solid #333d33}
#route .rt-add-row .tag{flex:0 0 auto;margin:0;font-size:9.5px}
#route .rt-add-stat{display:inline-flex;flex-wrap:wrap;gap:3px;margin-left:6px}
#route .rt-add-stat i{padding:0 5px;border-radius:6px;background:#1f3a2a;color:#9fe0a6;font:700 9.5px/15px 'Segoe UI',system-ui;font-style:normal}
#route .rt-add-foot{margin-top:10px}
#route .rt-add-kinds{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:3px;border:1px solid #2f3a31;border-radius:10px;background:#121713}
#routePanel #route .rt-add-kind{min-height:30px;padding:0 4px;border:1px solid transparent;border-radius:7px;background:transparent;color:#a9a58c;font:800 11.5px 'Segoe UI',system-ui;cursor:pointer}
#routePanel #route .rt-add-kind:hover{color:#e6dfc8;background:#1b221c}
#routePanel #route .rt-add-kind.is-active{border-color:#3d7fc4;background:linear-gradient(180deg,#1f4470,#173658);color:#e8f2ff}
#routePanel #route .rt-add-kind.is-danger{color:#d9a79b}
#routePanel #route .rt-add-kind.is-danger.is-active{border-color:#8a4a40;background:#33211e;color:#ffd4ca}
#routePanel #route .rt-add-go{display:block;width:100%;min-height:38px;margin-top:8px;border:1px solid #3d7fc4;border-radius:9px;background:linear-gradient(180deg,#2a6db5,#1f5592);color:#fff;font:800 12px 'Segoe UI',system-ui;letter-spacing:.05em;cursor:pointer}
#routePanel #route .rt-add-go:hover:not(:disabled){background:linear-gradient(180deg,#3279c6,#2763a6)}
#routePanel #route .rt-add-go.is-danger{border-color:#a0574b;background:linear-gradient(180deg,#8a3b31,#6d2c25)}
#routePanel #route .rt-add-go:disabled{opacity:.45;cursor:default}
#route .rt-add-msg:empty{display:none}
#route .rt-add-msg{color:#9fe0a6}
#route .rt-add-msg.bad{color:#ff8a80}
/* Hazır Listeler › Sil: deleting cannot be undone, so the row looks different */
#route .rt-global-danger{margin-top:6px;padding-top:8px;border-top:1px dashed #4a3330}
#route .rt-global-danger>span{color:#e0a79b}
#route .rt-delete-info:empty{display:none}
#route .rt-delete-info{color:#e0a79b}

/* Magic: player picker on top (the bot's own character first) */
.magic-picker{margin:0 0 12px;padding:12px;border:1px solid #2f3a31;border-radius:12px;background:#151b16}
.magic-picker.hidden{display:none}
.magic-picker-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.magic-picker-head b{font:800 12px 'Segoe UI',system-ui;letter-spacing:.06em;color:#d8c78f;text-transform:uppercase}
.magic-picker .magic-picker-search,.magic-picker .magic-picker-select{display:block;width:100%;max-width:520px;height:34px;box-sizing:border-box;padding:0 10px}
.magic-picker .magic-picker-search{margin-bottom:6px}
.magic-picker .magic-picker-select{cursor:pointer}
.magic-picker-info{margin-top:8px}
#legacyEntityTable tr.magic-in td:first-child{box-shadow:inset 3px 0 0 #c98a3d}
#legacyEntityTable tr.magic-out td:first-child{box-shadow:inset 3px 0 0 #3d7fc4}

/* Party page */
#party .pt-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:14px;align-items:start}
#party .rt-card{padding:16px;border:1px solid #3f4b40;border-radius:14px;background:linear-gradient(145deg,#1d251f,#151b17);box-shadow:0 10px 28px rgba(0,0,0,.25)}
#party .rt-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #2f3a31}
#party .rt-card-title{font:800 12.5px 'Segoe UI',system-ui;letter-spacing:.1em;text-transform:uppercase;color:#d8c78f}
#party .rt-badge{display:inline-flex;align-items:center;padding:2px 8px;border:1px solid #3d483d;border-radius:999px;background:#202a22;color:#b8b195;font:700 11px 'Segoe UI',system-ui}
#party .rt-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:10px 12px;border:1px solid #3a463b;border-radius:10px;background:#202a22;cursor:pointer;user-select:none}
#party .rt-toggle:hover{border-color:#5a6a4c;background:#243026}
#party .rt-toggle.is-on{border-color:#8a7434;background:linear-gradient(90deg,#2b2d1d,#212a21)}
#party .rt-toggle>span{font:700 13px 'Segoe UI',system-ui;color:#e2dcc6}
#party .rt-toggle>.modern-check{flex:0 0 22px;margin:0!important}
#party .pt-members{display:flex;flex-direction:column;gap:8px}
#party .pt-member{padding:10px 12px;border:1px solid #2f3a31;border-radius:10px;background:#141a15}
#party .pt-member.is-self{border-color:#4e5233}
#party .pt-member-head{display:flex;align-items:center;gap:8px;margin-bottom:7px}
#party .pt-leader{color:#e6b84a;font-size:14px}
#party .pt-name{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e6dfc8;font:700 13px 'Segoe UI',system-ui}
#party .pt-dist{margin-left:auto;color:#a9a58c;font:12px Consolas,monospace}
#party .pt-bar{position:relative;height:16px;margin-top:4px;border-radius:5px;background:#0d120b;overflow:hidden}
#party .pt-bar-fill{height:100%;transition:width .15s linear}
#party .pt-bar-hp .pt-bar-fill{background:linear-gradient(90deg,#8e1f2a,#d33a44)}
#party .pt-bar-mp .pt-bar-fill{background:linear-gradient(90deg,#1c4e9e,#3a7fe0)}
#party .pt-bar span{position:absolute;inset:0;display:grid;place-items:center;color:#f3efe2;font:700 10.5px 'Segoe UI',system-ui;text-shadow:0 1px 2px #000}
#party .pt-empty{padding:26px;text-align:center;color:#7f7c69}
#party .pt-add-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:12px}
#party .pt-add-row input{width:100%!important;min-width:0!important;height:34px;box-sizing:border-box}
#party .pt-add-row button{min-height:34px;padding:0 14px;font-weight:800;background:#242e25;border:1px solid #4e5233;color:#e6dfc8;border-radius:8px}
#party .pt-add-row button:hover{background:#2f3a24;border-color:#b39a4b;color:#fff}
#party .pt-names{margin-top:10px;min-height:0}
#party .route-excluded-chip{border-color:#4e5233;background:#202a22;color:#e2dcc6}
@media(max-width:900px){#party .pt-grid{grid-template-columns:1fr}}
#party .pt-toggles{display:flex;flex-direction:column;gap:8px}
#party .pt-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
#party .pt-field{display:flex;flex-direction:column;gap:5px;margin:0;min-width:0;font:600 11.5px 'Segoe UI',system-ui;color:#b8b195}
#party .pt-field>input,#party .pt-field>select{width:100%!important;min-width:0!important;height:34px;box-sizing:border-box}
#party .pt-ask{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:12px}
#party .pt-ask button{min-height:34px;padding:0;background:#242e25;border:1px solid #4e5233;border-radius:8px;color:#e6dfc8;font:800 11.5px 'Segoe UI',system-ui}
#party .pt-ask button:hover{background:#2f3a24;border-color:#b39a4b;color:#fff}
#party .pt-warn{color:#e8b04e;font:700 11.5px 'Segoe UI',system-ui}
#party .pt-grid>.rt-card:nth-child(n+3){align-self:stretch}
#extra .extra-vip-status{margin-left:auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a9c9a0;font:700 11.5px 'Segoe UI',system-ui}
#extra .extra-vip-status.is-err{color:#ff8a80}
#extra .extra-vip-now{width:100%;min-height:40px;margin-top:10px}
#extra .extra-vip-now:disabled{opacity:.45;cursor:default}
.itt-price{margin-top:6px;padding-top:6px;border-top:1px solid #5a4f33;text-align:center;color:#e8d9a6;font-size:12px}
.itt-price b{color:#ffd76a}
.itt-price small{color:#b9ad8b;font-size:11px}
.itt-notrade{margin-top:6px;padding-top:6px;border-top:1px solid #5a4f33;text-align:center;color:#ff4d4d;font-size:12px}
.route-no-trade{color:#ff4d4d;font-weight:800}
.route-no-trade-row td{background:rgba(255,77,77,.05)}
.route-exclude-btn:disabled{opacity:.4;cursor:not-allowed}
#route .rt-bank-row{grid-template-columns:minmax(0,1fr) auto!important}
#route .rt-bag-toggle{width:100%;min-height:32px;margin-top:8px;padding:0 10px;border:1px dashed #4e5233;border-radius:8px;background:#1a211b;color:#b8a96f;font:800 11px 'Segoe UI',system-ui;letter-spacing:.08em;cursor:pointer}
#route .rt-bag-toggle:hover{border-color:#b39a4b;color:#f0cc75}
#route .rt-bag-toggle.is-open{border-style:solid;border-color:#8a7434;background:#25261a;color:#f0cc75}
#route .rt-bag-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:8px;padding:8px;border:1px solid #2f3a31;border-radius:10px;background:#101510}
#route .rt-bag-grid.hidden{display:none}
#route .rt-bag-cell{position:relative;display:block;aspect-ratio:1;min-width:0;min-height:0;padding:0;overflow:hidden;border:1px solid #333d33;border-radius:6px;background:#1a211b;cursor:pointer}
#route .rt-bag-cell img{display:block;width:100%;height:100%;object-fit:cover}
#route .rt-bag-cell i{position:absolute;right:2px;bottom:1px;color:#fff;font:700 9.5px 'Segoe UI',system-ui;text-shadow:0 0 2px #000,0 0 2px #000,0 1px 2px #000}
#route .rt-bag-cell.is-empty{border-color:#232b24;background:#141a15;cursor:default}
#route .rt-bag-cell:not(.is-empty):not(.is-locked):hover{border-color:#b39a4b}
#route .rt-bag-cell.is-picked{border:2px solid #e6b84a;box-shadow:0 0 6px rgba(230,184,74,.55)}
/* The item whose menu is open: gold frame that pulses (as Silah Değiştirme). */
#route .rt-item-bag .rt-bag-cell.is-picked{position:relative;z-index:1;overflow:visible;border:2px solid #ffd76a;background:#3a3218;box-shadow:0 0 0 2px #fff0a8,0 0 12px 3px rgba(255,200,70,.8);animation:extraPickedPulse 1.2s ease-in-out infinite!important}
#extra #extraVipGrid.rt-bag-grid .rt-bag-cell.is-open{position:relative;z-index:1;outline:0;border:2px solid #ffd76a;background:#3a3218;box-shadow:0 0 0 2px #fff0a8,0 0 12px 3px rgba(255,200,70,.8);animation:extraPickedPulse 1.2s ease-in-out infinite!important}
#route .rt-bag-cell.is-locked{cursor:not-allowed;border-color:#5a2f2f}
#route .rt-bag-cell.is-locked img{opacity:.35;filter:grayscale(1)}
#extra .extra-weapon-title{margin:12px 0 6px;font:800 11px 'Segoe UI',system-ui;letter-spacing:.08em;text-transform:uppercase;color:#b8a96f}
#extra .extra-hammer-title{margin-top:16px;padding-top:12px;border-top:1px solid #2f3a31}
#extra .extra-hammer-info{margin-top:8px;font-size:11.5px;color:#a9a58c}
#extra .extra-hammer-state{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline}
#extra .extra-hammer-state b{color:#e6dfc8}
#extra .extra-hammer-last{margin-top:4px;color:#a9a58c}
#extra .extra-hammer-last.is-ok{color:#86c98f}
#extra .extra-hammer-last.is-err{color:#e08a7a}
#route .rt-genie-coupon-status{margin-top:6px}
#route .rt-genie-coupon-status:empty{display:none}
#route .rt-armor-check{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:8px;align-items:end;margin-top:8px}
#route .rt-armor-check .rt-toggle{margin:0}
#route .rt-armor-pct input{width:100%}
#route .rt-armor-status{margin-top:6px}
#route .rt-armor-status:empty{display:none}
#route .rt-autosave{margin-left:auto;font:600 11px 'Segoe UI',system-ui;color:#8e8b76;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
#route .rt-autosave.is-saving{color:#d8c78f}
#route .rt-autosave.is-ok{color:#86c98f}
#route .rt-autosave.is-err{color:#e08a7a;white-space:normal}
@media(max-width:560px){#route .rt-armor-check{grid-template-columns:1fr}}
#extra .rt-bag-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;padding:8px;border:1px solid #2f3a31;border-radius:10px;background:#101510}
#extra .rt-bag-cell{position:relative;display:block;aspect-ratio:1;min-width:0;min-height:0;padding:0;overflow:hidden;border:1px solid #333d33;border-radius:6px;background:#1a211b;cursor:pointer}
#extra .rt-bag-cell img{display:block;width:100%;height:100%;object-fit:cover}
#extra .rt-bag-cell i{position:absolute;right:2px;bottom:1px;color:#fff;font:700 9.5px 'Segoe UI',system-ui;text-shadow:0 0 2px #000,0 0 2px #000,0 1px 2px #000}
#extra #extraVipGrid{grid-template-columns:repeat(8,minmax(0,1fr));margin-top:0}
#extra .extra-vip-none{grid-column:1/-1;padding:12px;text-align:center;color:#7f7c69;font-size:12.5px}
#extra .rt-bag-cell.is-empty{border-color:#232b24;background:#141a15;cursor:default}
#extra .rt-bag-cell:not(.is-empty):not(.is-locked):hover{border-color:#b39a4b}
#extra .rt-bag-cell.is-picked{border:2px solid #e6b84a;box-shadow:0 0 6px rgba(230,184,74,.55)}
#extra .rt-bag-cell.is-locked{cursor:not-allowed;border-color:#3a3030}
/* Extra › Oto Trade */
#extra .extra-trade-hint{margin:0 0 10px;color:#9aa38f;font-size:12px;line-height:1.4}
#extra .extra-card--trade .extra-toggle-label small{display:block;margin-top:2px;font:600 11px 'Segoe UI',system-ui;color:#8f9a86}
#extra .extra-card--trade .extra-range input{width:130px;flex:0 0 130px}
#extra .extra-card--trade .extra-vip-sub{margin-top:12px}
#extra .extra-trade-sub{margin-left:6px;font:600 10.5px 'Segoe UI',system-ui;letter-spacing:0;text-transform:none;color:#7f7c69}
#extra .extra-trade-add{display:flex;gap:6px;min-width:0}
#extra .extra-trade-add input{flex:1;min-width:0;height:32px;padding:0 10px;border:1px solid #3a463b;border-radius:8px;background:#111611;color:#e8e4d4;font:13px 'Segoe UI',system-ui}
#extra .extra-trade-add .extra-event-btn{flex:0 0 auto;min-height:32px;padding:0 14px}
#extra .extra-trade-names,#extra .extra-trade-items{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
#extra .extra-trade-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:3px 4px 3px 9px;border:1px solid #4a5a3e;border-radius:999px;background:#18211a;color:#e8e4d4;font-size:12.5px}
#extra .extra-trade-chip .rt-bag-cell{width:22px;height:22px;flex:0 0 22px;margin-left:-5px;border-radius:50%}
#extra .extra-trade-chip button{width:20px;height:20px;padding:0;border:0;border-radius:50%;background:#2b342b;color:#f3b9b9;font:700 13px/20px 'Segoe UI',system-ui;cursor:pointer}
#extra .extra-trade-chip button:hover{background:#4a2c2c}
#extra #extraTradeBag{margin-top:0}
#extra .extra-trade-history{margin-top:4px}
#extra .extra-trade-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:4px 8px;border-top:1px solid #253026;font-size:12px}
#extra .extra-trade-row b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f0dca0}
#extra .extra-trade-row em{font-style:normal;color:#7f7c69}
/* VIP Kasa: a word on every VIP item that the route does something with, and the
   "Nereye gitsin?" menu for the clicked one (same look as Itemler › Çantan). */
#extra #extraVipGrid .rt-bag-cell em{position:absolute;left:0;right:0;bottom:0;padding:2px 0;font:800 9.5px/1.2 'Segoe UI',system-ui;font-style:normal;letter-spacing:-.01em;overflow:hidden;white-space:nowrap;text-align:center;color:#fff;background:rgba(20,26,21,.82)}
#extra #extraVipGrid .rt-bag-cell i{bottom:auto;top:1px}
#extra #extraVipGrid .is-fate-sell{border-color:#3f7a55}
#extra #extraVipGrid .is-fate-sell em{background:rgba(31,90,52,.9)}
#extra #extraVipGrid .is-fate-vip{border-color:#7a6a3a}
#extra #extraVipGrid .is-fate-vip em{background:rgba(110,88,28,.92)}
#extra #extraVipGrid .is-fate-bank{border-color:#3e6a86}
#extra #extraVipGrid .is-fate-bank em{background:rgba(34,82,112,.92)}
#extra #extraVipGrid .is-fate-break{border-color:#6a4a86}
#extra #extraVipGrid .is-fate-break em{background:rgba(84,52,116,.92)}
#extra #extraVipGrid .is-fate-keep em{background:rgba(60,66,60,.92);color:#d8d8cc}
#extra #extraVipGrid .rt-bag-cell.is-open{outline:2px solid #f0cc75;outline-offset:-2px}
#extra .rt-item-menu{margin-top:8px;padding:12px;border:1px solid #8a7434;border-radius:10px;background:#1c2018}
#extra .rt-item-menu[hidden]{display:none}
#extra .rt-item-menu-head{display:flex;align-items:center;gap:10px}
#extra .rt-item-menu-head img{flex:0 0 34px;width:34px;height:34px;border-radius:6px;border:1px solid #333d33}
#extra .rt-item-menu-head>div{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:1px}
#extra .rt-item-menu-head b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 13px 'Segoe UI',system-ui;color:#f0e6c4}
#extra .rt-item-menu-head small{font:500 11px Consolas,monospace;color:#9ea99a}
#extra .rt-item-menu .rt-item-menu-close{flex:0 0 28px;width:28px;height:28px;padding:0;border:1px solid #3f4b40;border-radius:7px;background:transparent;color:#b8b195;font-size:17px;line-height:1;cursor:pointer}
#extra .rt-item-menu-now{margin:10px 0 0;font-size:12px;line-height:1.45;color:#a9b3a4}
#extra .rt-item-menu-now b{color:#e6dfc8;font-weight:700}
#extra .rt-item-menu-q{margin:10px 0 6px;font:800 10.5px 'Segoe UI',system-ui;letter-spacing:.08em;text-transform:uppercase;color:#b8a96f}
#extra .rt-item-menu-btns{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
#extra .rt-item-menu .rt-item-go{min-height:34px;padding:0 4px;border:1px solid #4e5233;border-radius:8px;background:linear-gradient(180deg,#232c25,#1a211c);color:#e6dfc8;font:800 11.5px 'Segoe UI',system-ui;letter-spacing:.03em;cursor:pointer;white-space:nowrap}
#extra .rt-item-menu .rt-item-go:hover:not(:disabled){border-color:#b39a4b;color:#fff3c4}
#extra .rt-item-menu .rt-item-go.is-current{border-color:#8a7434;background:linear-gradient(180deg,#34321b,#25251a);color:#f0cc75;cursor:default}
#extra .rt-item-menu .rt-item-go.is-danger{border-color:#6e3a34;color:#f0b4a8}
#extra .rt-item-menu-extra{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
#extra .rt-item-menu-extra button{min-height:28px;padding:0 10px;border:1px solid #3f4b40;border-radius:7px;background:transparent;color:#b8b195;font:700 10.5px 'Segoe UI',system-ui;letter-spacing:.05em;cursor:pointer}
#extra .rt-item-menu-extra button:hover{border-color:#8a7434;color:#f0e2ad}
#extra .rt-item-menu-msg{margin-top:8px;font-size:12px;line-height:1.4;color:#86c98f}
#extra .rt-item-menu-msg:empty{display:none}
#extra .rt-item-menu-msg.bad{color:#ff8a80}
@media(max-width:560px){#extra .rt-item-menu-btns{grid-template-columns:repeat(3,minmax(0,1fr))}}
#extra .rt-bag-cell.is-locked img{opacity:.3;filter:grayscale(1)}
/* Silah Değiştirme: a chosen spare stands out: gold frame that pulses, a check badge. */
@keyframes extraPickedPulse{
  0%,100%{box-shadow:0 0 0 1px #ffd76a,0 0 6px 1px rgba(255,200,70,.55),inset 0 0 6px rgba(255,200,70,.35)}
  50%{box-shadow:0 0 0 2px #fff0a8,0 0 14px 4px rgba(255,200,70,.9),inset 0 0 10px rgba(255,215,106,.55)}
}
/* !important: the panel's reduced-motion rule stops every animation, and this one was asked for. */
#extra .extra-card--weapon .rt-bag-cell.is-picked{overflow:visible;border:2px solid #ffd76a;background:#3a3218;box-shadow:0 0 0 2px #fff0a8,0 0 12px 3px rgba(255,200,70,.8);animation:extraPickedPulse 1.2s ease-in-out infinite!important;z-index:1}
#extra .extra-card--weapon .rt-bag-cell.is-picked img{border-radius:4px}
#extra .extra-card--weapon .rt-bag-cell.is-picked::after{content:'✓';position:absolute;top:-6px;right:-6px;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#ffd76a;color:#1a1408;font:900 11px/1 'Segoe UI',system-ui;box-shadow:0 0 4px rgba(0,0,0,.6)}
/* A weapon the character cannot wear (requirements): red, like the game's red line. */
#extra .rt-bag-cell.is-unusable{border-color:#a14e4e;background:#2a1717}
#extra .rt-bag-cell.is-unusable img{opacity:.55;filter:grayscale(.4) sepia(.6) hue-rotate(-40deg) saturate(2.2)}
#extra .rt-bag-cell.is-unusable.is-picked{border:2px solid #ff5a5a;box-shadow:0 0 6px rgba(255,90,90,.5)}
#extra .extra-weapon-worn{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
#extra .extra-weapon-hand{display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-areas:"label label" "icon name" "icon dur" "off off";column-gap:8px;align-items:center;min-width:0;padding:8px;border:1px solid #2f3a31;border-radius:10px;background:#101510}
#extra .extra-weapon-hand small{grid-area:label;margin-bottom:5px;color:#b8a96f;font:800 10.5px 'Segoe UI',system-ui;letter-spacing:.08em;text-transform:uppercase}
#extra .extra-weapon-hand .rt-bag-cell{grid-area:icon;width:40px;height:40px;cursor:default}
#extra .extra-weapon-hand b{grid-area:name;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e6dfc8;font:600 12px 'Segoe UI',system-ui}
#extra .extra-weapon-hand b.is-none{grid-row:2 / span 2;color:#7f7c69}
#extra .extra-weapon-hand em{grid-area:dur;color:#8fd694;font:700 12px Consolas,monospace;font-style:normal}
#extra .extra-weapon-hand em.is-low{color:#ff8a80}
#extra .extra-weapon-notice{margin:0 0 12px;padding:9px 12px;border:1px solid #6b5a2c;border-radius:8px;background:#2a2416;color:#f0dca0;font:600 12px/1.45 'Segoe UI',system-ui}
#extra .extra-weapon-off{grid-area:off;min-height:26px;margin-top:7px;padding:0;border:1px solid #4e5233;border-radius:6px;background:#242e25;color:#e6dfc8;font:800 10.5px 'Segoe UI',system-ui;letter-spacing:.06em;cursor:pointer}
#extra .extra-weapon-off:hover:not(:disabled){background:#2f3a24;border-color:#b39a4b;color:#fff}
#extra .extra-weapon-off:disabled{opacity:.45;cursor:default}
.no-bots-notice{display:none}
body.no-bots .theme-sidebar>*:not(.theme-brand),body.no-bots .theme-main>*:not(.theme-topbar):not(.no-bots-notice),body.no-bots .bot-switcher label,body.no-bots #botCreate,body.no-bots #botDelete{display:none!important}
body.no-bots .no-bots-notice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;min-height:calc(100vh - 220px);padding:40px 16px;text-align:center}
.no-bots-notice h2{margin:0;color:#f6f5f0;font:800 24px 'Segoe UI',system-ui}
.no-bots-notice button{min-height:44px;padding:0 26px;border:1px solid #b39a4b;border-radius:10px;background:linear-gradient(180deg,#4a4426,#332f1b);color:#fff;font:800 13px 'Segoe UI',system-ui;cursor:pointer}
.no-bots-notice button:hover:not(:disabled){background:linear-gradient(180deg,#5a5230,#3d3820)}
.no-bots-notice button:disabled{opacity:.45;cursor:default}
/* Zorunlu proxy and none saved for the bot: no menu, only the SOCKS5 page (like no-bots). */
body.proxy-required .theme-sidebar>*:not(.theme-brand){display:none!important}

/* SOCKS5 Ayarları (px-*): one simple card, the help folded away */
#socksPanel .px{display:flex;flex-direction:column;gap:14px;max-width:720px}
#socksPanel .px-card{padding:18px;border:1px solid #3f4b40;border-radius:14px;background:linear-gradient(145deg,#1d251f,#151b17);box-shadow:0 10px 28px rgba(0,0,0,.25)}
#socksPanel .px-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
#socksPanel .px-head-text{min-width:0}
#socksPanel .px-head h3{margin:0 0 4px;font:800 15px 'Segoe UI',system-ui;color:#f0e6c4}
#socksPanel .px-head p{margin:0;font-size:12.5px;line-height:1.45;color:#a9b3a4;overflow-wrap:anywhere}
#socksPanel .px-head .tag{flex:0 0 auto;margin:0}
#socksPanel .px-head .tag.bad{border-color:#8a4a40;background:#33211e;color:#ffb4a8}
#socksPanel .px-required{display:flex;align-items:flex-start;gap:10px;margin:0 0 14px;padding:10px 12px;border:1px solid #6b5626;border-radius:10px;background:#2a2414;color:#ecd08a;font-size:12.5px;line-height:1.45}
#socksPanel .px-required[hidden],#socksPanel .px-toggle[hidden]{display:none!important}
#socksPanel .px-required>span:first-child{flex:0 0 auto;color:#e0a64a}
#socksPanel .px-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:11px 12px;border:1px solid #3a463b;border-radius:10px;background:#202a22;cursor:pointer}
#socksPanel .px-toggle>span{display:flex;flex-direction:column;align-items:flex-start;gap:2px;flex:1 1 auto;min-width:0;text-align:left}
#socksPanel .px-toggle b{font:700 13px 'Segoe UI',system-ui;color:#e2dcc6}
#socksPanel .px-toggle small{font-size:11.5px;color:#9ea99a}
#socksPanel .px-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px}
#socksPanel .px-field{display:flex;flex-direction:column;gap:6px;margin:0;min-width:0;font:600 11.5px 'Segoe UI',system-ui;color:#b8b195}
#socksPanel .px-field input{display:block;width:100%!important;min-width:0!important;height:40px;box-sizing:border-box;padding:0 12px;border:1px solid #445044;border-radius:9px;background:#161e18;color:#e6e9df;font:600 13px 'Segoe UI',system-ui;outline:none}
#socksPanel .px-field input:focus{border-color:#a28d5f;box-shadow:0 0 0 2px rgba(162,141,95,.18)}
#socksPanel .px-field input:disabled{opacity:.45;cursor:not-allowed}
#socksPanel .px-hint{margin:10px 0 0;font-size:11.5px;line-height:1.45;color:#8e9a88}
#socksPanel .px-hint b{color:#c9c4a6;font-weight:700}
#socksPanel .px-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}
#socksPanel .px-actions button{min-height:40px;padding:0 20px;border-radius:9px;font:800 12px 'Segoe UI',system-ui;letter-spacing:.05em;cursor:pointer}
#socksPanel .px-save{border:1px solid #b39a4b;background:linear-gradient(180deg,#4d4520,#34311a);color:#fff3c4}
#socksPanel .px-save:hover{border-color:#e0c468;filter:brightness(1.12)}
#socksPanel .px-test{border:1px solid #4e5233;background:#242e25;color:#e6dfc8}
#socksPanel .px-test:hover:not(:disabled){border-color:#b39a4b;color:#fff}
#socksPanel .px-test:disabled{opacity:.45;cursor:not-allowed}
#socksPanel .px-status{flex:1 1 200px;min-width:0;font-size:12px;line-height:1.4;font-weight:600}
#socksPanel .px-more{padding:0}
#socksPanel .px-more>summary{padding:14px 18px;cursor:pointer;list-style:none;user-select:none;font:700 12.5px 'Segoe UI',system-ui;color:#d8c78f}
#socksPanel .px-more>summary::-webkit-details-marker{display:none}
#socksPanel .px-more>summary::before{content:'▸';display:inline-block;width:14px;color:#8e8b76;transition:transform .15s}
#socksPanel .px-more[open]>summary::before{transform:rotate(90deg)}
#socksPanel .px-more>p{margin:0;padding:0 18px 12px;font-size:12.5px;line-height:1.55;color:#a9b3a4}
#socksPanel .px-more>p:last-child{padding-bottom:16px}
#socksPanel .px-sessions{display:flex;flex-direction:column;gap:6px;font-size:12px}
#socksPanel .px-session{display:grid;grid-template-columns:56px minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:center;padding:8px 12px;border:1px solid #2f3a31;border-radius:9px;background:#1a211b;overflow-wrap:anywhere}
#socksPanel .px-session b{color:#d8c78f}
@media(max-width:560px){#socksPanel .px-fields{grid-template-columns:1fr}#socksPanel .px-session{grid-template-columns:1fr}#socksPanel .px-actions button{flex:1 1 0}}
#merchant .mr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
@media(max-width:900px){#merchant .mr-grid{grid-template-columns:1fr}}
#merchant .rt-card{padding:16px;border:1px solid #3f4b40;border-radius:14px;background:linear-gradient(145deg,#1d251f,#151b17);box-shadow:0 10px 28px rgba(0,0,0,.25);min-width:0}
#merchant .rt-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #2f3a31}
#merchant .rt-card-title{font:800 12.5px 'Segoe UI',system-ui;letter-spacing:.1em;text-transform:uppercase;color:#d8c78f}
#merchant .rt-badge{display:inline-flex;flex:0 0 auto;align-items:center;padding:2px 8px;border:1px solid #3d483d;border-radius:999px;background:#202a22;color:#b8b195;font:700 11px 'Segoe UI',system-ui}
#merchant .rt-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:10px 12px;border:1px solid #3a463b;border-radius:10px;background:#202a22;cursor:pointer;user-select:none}
#merchant .rt-toggle:hover{border-color:#5a6a4c;background:#243026}
#merchant .rt-toggle.is-on{border-color:#8a7434;background:linear-gradient(90deg,#2b2d1d,#212a21)}
#merchant .rt-toggle>span{flex:1 1 auto;min-width:0;font:700 13px 'Segoe UI',system-ui;color:#e2dcc6}
#merchant .rt-toggle>.modern-check{flex:0 0 22px;margin:0!important}
#merchant .mr-toggles{display:flex;flex-direction:column;gap:8px}
#merchant .mr-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
#merchant .mr-field{display:flex;flex-direction:column;gap:5px;margin:0;min-width:0;font:600 11.5px 'Segoe UI',system-ui;color:#b8b195}
#merchant .mr-field>input,#merchant .mr-field>select,#merchant .mr-search>input{width:100%!important;min-width:0!important;height:34px;box-sizing:border-box}
#merchant .mr-search{margin-top:12px}
#merchant .mr-results{display:flex;flex-direction:column;gap:3px;margin-top:4px}
#merchant .mr-results:empty{display:none}
#merchant .mr-results button{padding:6px 10px;text-align:left;background:#202a22;border:1px solid #3a463b;border-radius:6px;color:#e2dcc6;font:600 12px 'Segoe UI',system-ui}
#merchant .mr-results button:hover{background:#2f3a24;border-color:#b39a4b}
#merchant .mr-add{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;gap:8px;align-items:end;margin-top:12px}
#merchant .mr-btn{min-height:34px;padding:0 14px;font:800 11.5px 'Segoe UI',system-ui;background:#242e25;border:1px solid #4e5233;color:#e6dfc8;border-radius:8px}
#merchant .mr-btn:hover:not(:disabled){background:#2f3a24;border-color:#b39a4b;color:#fff}
#merchant .mr-btn:disabled{opacity:.45;cursor:default}
#merchant .mr-rows{display:flex;flex-direction:column;gap:5px;margin-top:12px}
#merchant .rt-card-head+.mr-rows{margin-top:0}
#merchant .mr-row{display:flex;align-items:center;gap:8px;min-height:32px;padding:4px 10px;border:1px solid #2f3a31;border-radius:8px;background:#141a15}
#merchant .mr-add:has(.mr-count-field){grid-template-columns:minmax(84px,1fr) minmax(0,1.3fr) 62px auto}
#merchant .mr-bought{flex:0 0 auto;margin-left:4px;color:#9fd8a5;font:700 12px Consolas,monospace}
#merchant .mr-row>input.mr-count{flex:0 0 58px;width:58px!important;min-width:0!important;height:24px;padding:0 4px;box-sizing:border-box;text-align:center;font:700 12px Consolas,monospace}
#merchant .mr-buy-row{flex-direction:column;align-items:stretch;gap:5px;padding:6px 10px}
#merchant .mr-buy-top,#merchant .mr-buy-sub{display:flex;align-items:center;gap:8px;min-width:0}
#merchant .mr-buy-top>b{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e6dfc8;font:600 12.5px 'Segoe UI',system-ui}
#merchant .mr-buy-top>button{flex:0 0 auto;width:22px;height:22px;padding:0;line-height:1;background:transparent;border:0;color:#a9a58c;font-size:15px}
#merchant .mr-buy-top>button:hover{color:#ff8a80}
#merchant .mr-buy-sub{flex-wrap:wrap;row-gap:4px}
#merchant .mr-buy-gap{flex:1 1 auto}
#merchant .mr-buy-qty{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;margin-left:auto}
#merchant .mr-buy-qty>input.mr-count{flex:0 0 58px;width:58px!important;min-width:0!important;height:24px;padding:0 4px;box-sizing:border-box;text-align:center;font:700 12px Consolas,monospace}
#merchant .mr-unit{flex:0 0 auto;color:#9fd8a5;font:600 11.5px 'Segoe UI',system-ui}
#merchant .mr-row.is-done{opacity:.6}
#merchant .mr-row.is-done .mr-bought{color:#e6b84a}
#merchant .mr-row.is-match{border-color:#8a7434;background:#25261a}
#merchant .mr-row>b{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e6dfc8;font:600 12.5px 'Segoe UI',system-ui}
#merchant .mr-price{flex:0 0 auto;color:#e6b84a;font:700 12px Consolas,monospace}
#merchant .mr-row>button{flex:0 0 auto;width:22px;height:22px;padding:0;line-height:1;background:transparent;border:0;color:#a9a58c;font-size:15px}
#merchant .mr-row>button:hover{color:#ff8a80}
#merchant .mr-empty{padding:14px;text-align:center;color:#7f7c69;font-size:12.5px}
#merchant .mr-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
#merchant .mr-log{display:flex;flex-direction:column;gap:3px;max-height:320px;overflow-y:auto}
#merchant .mr-log-row{display:flex;gap:10px;font:12.5px 'Segoe UI',system-ui;color:#c9c3aa}
#merchant .mr-log-row time{flex:0 0 auto;color:#7f7c69;font:11.5px Consolas,monospace;line-height:18px}
#merchant .mr-log-ok span,#merchant .mr-log-sold span{color:#8fd694}
#merchant .mr-log-err span{color:#ff8a80}
#merchant .mr-head-acts{display:flex;align-items:center;gap:10px}
#merchant .mr-auto-list{display:flex;align-items:center;gap:6px;margin:0;cursor:pointer;color:#b8b195;font:700 11.5px 'Segoe UI',system-ui;white-space:nowrap}
#merchant .mr-auto-list .modern-check{margin:0!important}
#merchant .mr-auto-left{min-width:38px;padding:2px 6px;border:1px solid #4e5233;border-radius:6px;background:#1a211b;color:#e6b84a;font:700 11px Consolas,monospace;text-align:center}
#merchant .mr-auto-left[hidden]{display:none}
/* Two columns only when each gets room; the page's own width decides, not the window's. */
#merchant{container-type:inline-size}
@container (max-width:780px){#merchant .mr-grid{grid-template-columns:1fr}}
#merchant .mr-col{display:flex;flex-direction:column;gap:14px;min-width:0}
#merchant .mr-col>.rt-card{margin:0}
/* Half-width column: item + price on top, seller + buttons below. */
#merchant .mr-sc-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"item price" "seller acts";column-gap:10px;row-gap:3px;align-items:center}
#merchant .mr-sc-rows>.mr-sc-row{flex:0 0 auto;padding-top:5px;padding-bottom:5px}
#merchant .mr-sc-row>b{grid-area:item}
#merchant .mr-sc-row>b.mr-sc-item{display:flex;align-items:center;gap:7px;cursor:help}
#merchant .mr-sc-item>img{flex:0 0 26px;width:26px;height:26px;border:1px solid #3a4334;border-radius:4px;background:#0d120e;object-fit:cover}
#merchant .mr-sc-item>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#merchant .mr-sc-row>.mr-sc-seller{grid-area:seller}
#merchant .mr-sc-row>.mr-price{grid-area:price}
#merchant .mr-sc-row>.mr-sc-acts{grid-area:acts}
#merchant .mr-sc-head{display:none!important}
#merchant .mr-sc-acts{display:flex;justify-content:flex-end;align-items:center;gap:4px}
#merchant .mr-sc-acts em{color:#ff8a80;font:700 11px 'Segoe UI',system-ui;font-style:normal;white-space:nowrap}
#merchant .mr-sc-acts button.is-buy{color:#ffe6a0;border-color:#b39a4b;background:#3a3a22}
#merchant .mr-sc-acts button.is-black{color:#ff8a80}
#merchant .mr-sc-row.is-match{border-color:#8a7434;background:#25261a}
#merchant .mr-sc-row.is-black>b,#merchant .mr-sc-row.is-black>.mr-sc-seller{opacity:.55}
#merchant .mr-sc-only{margin-top:10px}
#merchant .mr-sc-only[hidden]{display:none}
#merchant .mr-black-add{grid-template-columns:minmax(0,1fr) auto}
#merchant .mr-black-reason{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a9a58c;font:12px 'Segoe UI',system-ui}
#merchant .mr-sc-acts button{height:24px;padding:0 7px;background:#242e25;border:1px solid #4e5233;border-radius:6px;color:#8fd694;font:700 11px 'Segoe UI',system-ui}
#merchant .mr-sc-acts button:hover{background:#2f3a24;border-color:#b39a4b;color:#fff}
#merchant .mr-sc-whisper{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:8px;align-items:center;margin-top:12px;padding:8px 10px;border:1px solid #8a7434;border-radius:8px;background:#25261a}
#merchant .mr-sc-whisper[hidden]{display:none}
#merchant .mr-sc-whisper>b{color:#e6b84a;font:700 12.5px 'Segoe UI',system-ui}
#merchant .mr-sc-whisper>input{width:100%!important;min-width:0!important;height:34px;box-sizing:border-box}
@media(max-width:600px){#merchant .mr-sc-head{display:none}#merchant .mr-sc-row{grid-template-columns:minmax(0,1fr) auto}#merchant .mr-sc-acts{grid-column:1/-1}#merchant .mr-sc-whisper{grid-template-columns:minmax(0,1fr) auto auto}#merchant .mr-sc-whisper>b{grid-column:1/-1}}
#merchant .mr-sc-head{margin-top:12px;padding:0 10px 5px;color:#7f7c69;font:700 11px 'Segoe UI',system-ui}
#merchant .mr-sc-head span:nth-child(3){text-align:right}
#merchant .mr-sc-rows{display:flex;flex-direction:column;gap:3px;max-height:640px;overflow-y:auto}
#merchant .mr-sc-row{min-height:30px;padding:3px 10px;border:1px solid #2f3a31;border-radius:7px;background:#141a15}
#merchant .mr-sc-row>b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e6dfc8;font:600 12.5px 'Segoe UI',system-ui}
#merchant .mr-sc-row>.mr-price{text-align:right}
#merchant .mr-sc-seller{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#b8b195;font:12.5px 'Segoe UI',system-ui}
#merchant .mr-sc-kinds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#merchant .mr-btn.is-on{background:#3a3a22;border-color:#b39a4b;color:#fff}
.theme-app #attack .rotation-settings-card>label.rotation-target-mode{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:6px;grid-column:1/-1;width:100%}
.theme-app #attack .rotation-settings-card>label.rotation-target-mode>select{flex:0 0 auto;width:100%!important;min-width:0!important;max-width:none!important;height:38px;font-size:12px}
.theme-app #attack .rotation-settings-card>.rotation-slot-here{width:100%;min-height:36px;margin-top:4px;background:#242e25;border:1px solid #4e5233;border-radius:9px;color:#e6dfc8;font:800 11.5px 'Segoe UI',system-ui;letter-spacing:.05em}
.theme-app #attack .rotation-settings-card>.rotation-slot-here:hover{background:#2f3a24;border-color:#b39a4b;color:#fff}

/* Karakter Durumu › Profil yedekleri */
.profile-backup{margin-top:12px;padding-top:12px;border-top:1px solid #2f3a31}
.profile-head{display:flex;align-items:center;gap:8px;font:800 11px 'Segoe UI',system-ui;letter-spacing:.1em;color:#b8a96f}
.profile-count{min-width:20px;padding:1px 7px;border-radius:9px;background:#2a3328;color:#e6dfc8;font-size:10.5px;text-align:center;letter-spacing:0}
.profile-save{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:8px}
.profile-save input{min-width:0;height:34px}
.profile-save button{height:34px;padding:0 14px;font-weight:800;letter-spacing:.05em;white-space:nowrap}
.profile-msg{margin-top:6px;font-size:11.5px}
.profile-msg.is-ok{color:#86c98f}
.profile-msg.is-err{color:#e08a7a}
.profile-list{display:flex;flex-direction:column;gap:6px;margin-top:8px;max-height:260px;overflow:auto}
.profile-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:7px 9px;border:1px solid #2f3a31;border-radius:9px;background:#1b221c}
.profile-row-main{display:flex;flex-direction:column;min-width:0}
.profile-row-main b{color:#e6dfc8;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-row-main span{color:#8e8b76;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-date{color:#a9a58c;font:600 11px Consolas,monospace;white-space:nowrap}
.profile-row-actions{display:flex;gap:5px}
.profile-row-actions button{height:28px;padding:0 9px;font-size:10.5px;font-weight:800;letter-spacing:.04em}
.profile-delete{color:#e08a7a}
.profile-empty{padding:10px;color:#7f7c69;font-size:11.5px;text-align:center}
@media(max-width:560px){.profile-row{grid-template-columns:1fr}.profile-row-actions{justify-content:flex-end}}

/* Oto Rotasyon › Aksiyon Ekle: quick buttons + one tab open at a time */
#route .rt-act-card .rt-card-head{margin-bottom:10px}
#route .rt-act-where{font:600 10.5px 'Segoe UI',system-ui;color:#8e8b76;letter-spacing:.02em}
#route .rt-act-card .rt-npc{padding:7px 10px;margin-bottom:8px;font-size:12px}
#route .rt-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
#route .rt-quick-btn{display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:0 6px;border:1px solid #3f4b40;border-radius:9px;background:linear-gradient(180deg,#232c25,#1a211c);color:#e6dfc8;font:800 11px 'Segoe UI',system-ui;letter-spacing:.06em;cursor:pointer;white-space:nowrap}
#route .rt-quick-btn:hover{border-color:#b39a4b;color:#fff3c4;background:linear-gradient(180deg,#2c3127,#20251d)}
#route .rt-quick-ico{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:5px;background:#2f3524;color:#d8c78f;font-size:12px;line-height:1}
#route .rt-act-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin:12px 0 0;padding:3px;border:1px solid #2f3a31;border-radius:10px;background:#121713}
#route .rt-act-tab{display:flex;align-items:center;justify-content:center;gap:5px;min-height:30px;padding:0 6px;border:1px solid transparent;border-radius:7px;background:transparent;color:#9d9a83;font:800 11px 'Segoe UI',system-ui;letter-spacing:.05em;cursor:pointer;white-space:nowrap}
#route .rt-act-tab:hover{color:#e6dfc8;background:#1b221c}
#route .rt-act-tab:focus:not(:focus-visible){border-color:transparent;outline:none;box-shadow:none}
#route .rt-act-tab.is-active:focus:not(:focus-visible){border-color:#8a7434}
#route .rt-act-tab.is-active{border-color:#8a7434;background:linear-gradient(180deg,#34321b,#25251a);color:#f0cc75;box-shadow:0 2px 8px rgba(0,0,0,.3)}
#route .rt-act-badge{min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#3a3a22;color:#f0cc75;font:800 9.5px/16px 'Segoe UI',system-ui;text-align:center;letter-spacing:0}
#route .rt-act-tab.is-active .rt-act-badge{background:#8a7434;color:#1a1a10}
#route .rt-act-badge.hidden{display:none}
#route .rt-act-pane{display:none;margin-top:8px;padding:10px;border:1px solid #2f3a31;border-radius:10px;background:#161c17}
#route .rt-act-pane.is-active{display:block}
#route .rt-act-desc{margin:0 0 8px;font:600 11px/1.35 'Segoe UI',system-ui;color:#8e8b76}
#route .rt-act-row-ts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:6px}
#route .rt-act-row-ts select{min-width:0;width:100%}
#route .rt-act-tools{display:flex;gap:6px;margin-top:6px}
#route .rt-act-tools .rt-bag-toggle{flex:1 1 auto;width:auto;margin-top:0;min-height:30px}
#route .rt-act-tools .rt-bank-clear{flex:0 0 auto;min-height:30px;padding:0 10px;border:1px solid #4a3330;border-radius:8px;background:#1e1817;color:#d09a8f;font:800 10.5px 'Segoe UI',system-ui;letter-spacing:.06em}
#route .rt-act-tools .rt-bank-clear:hover:not(:disabled){border-color:#a0574b;color:#ffb4a8}
#route .rt-act-tools .rt-bank-clear:disabled{opacity:.4;cursor:default}
#route .rt-act-pane .rt-bag-grid{margin-top:6px}
#route .rt-act-info{margin:8px 0 0;font-size:11px}
#route .rt-act-info.bad{color:#ff8a80}
#route .rt-act-list{max-height:180px;overflow:auto;margin:6px 0 0;gap:4px}
#route .rt-act-list .route-buy-selected-row{padding:5px 8px;font-size:12px}
#route .rt-act-pane .route-apply{margin-top:10px;min-height:34px}
#route .rt-act-pane .rt-break-vip{margin:8px 0 0}
#route .rt-break-speed{margin:8px 0 0;border:1px solid #2f3a31;border-radius:9px;background:#121713}
#route .rt-break-speed>summary{padding:7px 10px;cursor:pointer;font:800 10.5px 'Segoe UI',system-ui;letter-spacing:.08em;text-transform:uppercase;color:#b8a96f;list-style:none;user-select:none}
#route .rt-break-speed>summary::-webkit-details-marker{display:none}
#route .rt-break-speed>summary::before{content:'▸';display:inline-block;width:12px;color:#8e8b76;transition:transform .15s}
#route .rt-break-speed[open]>summary::before{transform:rotate(90deg)}
#route .rt-break-speed>summary .muted{text-transform:none;letter-spacing:0;font-weight:600}
#route .rt-break-speed-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:2px 10px 10px}
#route .rt-break-speed-grid label{display:flex;flex-direction:column;gap:3px;min-width:0;font:600 10.5px 'Segoe UI',system-ui;color:#9d9a83}
#route .rt-break-speed-grid label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#route .rt-break-speed-grid input{width:100%;min-width:0;height:28px;box-sizing:border-box;padding:0 8px;font-family:Consolas,monospace;font-size:12px}
@media(max-width:560px){#route .rt-break-speed-grid{grid-template-columns:1fr}}

/* Attack › riskli seçenekler (01>03 Mage Pre Skill, Spam Mod): kırmızı */
.modern-check-row.is-danger span{color:#ff6b5e!important;font-weight:800}
.theme-app #attack .rotation-settings-card>label.modern-check-row.is-danger,
.rotation-settings-card .modern-check-row.is-danger{border-color:#7a2f2a!important;background:#2a1716!important}
.theme-app #attack .rotation-settings-card>label.modern-check-row.is-danger:hover{border-color:#b0443a!important}

/* Extra › OTP (card under Gizle / Event / Oto Kalk) */
#extra .extra-grid>.extra-card--otp{grid-column:span 6}
@container extra (max-width:1100px){#extra .extra-grid>.extra-card--otp{grid-column:1/-1}}
#extra[data-view="vip"] .extra-grid>.extra-card--otp{display:none}
#autoLogin .al-status-line{margin:-4px 0 8px;min-height:15px}
#autoLogin .al-note{font-size:11px}
#autoLogin .al-char{margin:12px 0 0;padding:10px 0 0;border-top:1px solid #2f3a31}
#autoLogin .al-char-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid #2f3a31;border-radius:9px;background:#121713;color:#c9c2a8;font:700 12px 'Segoe UI',system-ui;cursor:pointer}
#autoLogin .al-char-toggle.is-on{border-color:#8a7434;background:#25261a;color:#f0cc75}
#autoLogin .al-char-delay{display:flex;align-items:center;gap:8px;margin-top:8px;color:#9d9a83;font:600 11.5px 'Segoe UI',system-ui}
#autoLogin .al-char-delay span{flex:1 1 auto}
#autoLogin .al-char-delay input{width:90px;height:30px;box-sizing:border-box;padding:0 8px;font-family:Consolas,monospace}
#autoLogin .al-char-delay em{font-style:normal;color:#8e8b76}
#autoLogin .al-char-list{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px}
#autoLogin .al-char-list-label{color:#8e8b76;font-size:11px}
#autoLogin .al-char-chip{min-height:28px;padding:0 12px;border:1px solid #3f4b40;border-radius:999px;background:#1a211b;color:#e6dfc8;font:700 12px 'Segoe UI',system-ui;cursor:pointer}
#autoLogin .al-char-chip:hover:not(:disabled){border-color:#b39a4b;color:#fff3c4}
#autoLogin .al-char-chip.is-active{border-color:#8a7434;background:linear-gradient(180deg,#34321b,#25251a);color:#f0cc75}
#autoLogin .al-beta{margin-left:6px;padding:1px 6px;border-radius:999px;background:#3a2e1c;color:#e8b86a;font:800 9.5px 'Segoe UI',system-ui;font-style:normal;letter-spacing:.06em;text-transform:uppercase}
#autoLogin .al-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:14px;align-items:start}
@media(max-width:860px){#autoLogin .al-grid{grid-template-columns:1fr}}
#autoLogin .al-card{padding:16px;border:1px solid #3f4b40;border-radius:14px;background:linear-gradient(145deg,#1d251f,#151b17);box-shadow:0 10px 28px rgba(0,0,0,.25)}
#autoLogin .rt-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #2f3a31}
#autoLogin .rt-card-title{font:800 12.5px 'Segoe UI',system-ui;letter-spacing:.1em;text-transform:uppercase;color:#d8c78f}
#autoLogin .al-status{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 11px 'Segoe UI',system-ui;color:#8e8b76}
#autoLogin .al-status.is-ok{color:#9fd49a}
#autoLogin .al-status.is-err{color:#ff8a80}
#autoLogin .al-status.is-info{color:#e8cf86}
#autoLogin .al-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:3px;border:1px solid #2f3a31;border-radius:10px;background:#121713}
#autoLogin .al-mode{min-height:32px;padding:0 8px;border:1px solid transparent;border-radius:7px;background:transparent;color:#9d9a83;font:800 11.5px 'Segoe UI',system-ui;letter-spacing:.05em;cursor:pointer}
#autoLogin .al-mode:hover:not(:disabled){color:#e6dfc8;background:#1b221c}
#autoLogin .al-mode.is-active{border-color:#8a7434;background:linear-gradient(180deg,#34321b,#25251a);color:#f0cc75;box-shadow:0 2px 8px rgba(0,0,0,.3)}
#autoLogin .al-mode:focus:not(:focus-visible){outline:none}
#autoLogin .al-desc{margin:10px 0 0;font:600 11.5px/1.4 'Segoe UI',system-ui;color:#8e8b76}
#autoLogin .al-idle{margin:12px 0 0;padding:12px;border:1px dashed #3a4637;border-radius:10px;color:#9d9a83;font-size:12px;line-height:1.45}
#autoLogin .al-row{display:flex;gap:6px;margin-top:8px}
#autoLogin .al-row input{flex:1 1 auto;min-width:0;height:36px;box-sizing:border-box;padding:0 12px}
#autoLogin .al-code{font:700 18px Consolas,monospace;letter-spacing:.3em;text-align:center}
#autoLogin .al-secret{font-family:Consolas,monospace}
#autoLogin .al-btn{flex:0 0 auto;min-height:36px;padding:0 14px;border-radius:9px;font:800 11.5px 'Segoe UI',system-ui;letter-spacing:.06em;cursor:pointer}
#autoLogin .al-btn-primary{border:1px solid #8b7336;background:linear-gradient(180deg,#3d3a1d,#262614);color:#f0cc75}
#autoLogin .al-btn-primary:hover:not(:disabled){border-color:#d79f26;color:#fff3c4}
#autoLogin .al-btn-danger{border:1px solid #4a3330;background:#1e1817;color:#d09a8f}
#autoLogin .al-btn-danger:hover:not(:disabled){border-color:#a0574b;color:#ffb4a8}
#autoLogin .al-btn:disabled,#autoLogin .al-mode:disabled{opacity:.55;cursor:default}
#autoLogin .al-ask{margin:12px 0 0;padding:12px;border:1px solid #8a7434;border-radius:10px;background:#25261a;box-shadow:0 0 0 3px rgba(215,159,38,.08)}
#autoLogin .al-ask-title{font:800 12px 'Segoe UI',system-ui;letter-spacing:.06em;text-transform:uppercase;color:#f0cc75}
#autoLogin .al-ask-left{margin-left:4px;color:#b8a96f;font-weight:600;text-transform:none;letter-spacing:0}
#autoLogin .al-ask-auto{color:#f0cc75;font:700 12px 'Segoe UI',system-ui}
#autoLogin .al-field-label{margin:12px 0 0;font:800 10.5px 'Segoe UI',system-ui;letter-spacing:.08em;text-transform:uppercase;color:#b8a96f}
#autoLogin .al-secret-state{margin-left:6px;padding:2px 7px;border-radius:999px;background:#2a2620;color:#9d9a83;font-weight:700;letter-spacing:.02em;text-transform:none}
#autoLogin .al-secret-state.is-set{background:#1f3322;color:#9fd49a}
#autoLogin .al-preview{display:flex;align-items:baseline;gap:8px;margin:10px 0 0;padding:9px 12px;border:1px solid #2f3a31;border-radius:10px;background:#121713;color:#9d9a83;font-size:12px}
#autoLogin .al-preview b{font:800 18px Consolas,monospace;letter-spacing:.12em;color:#e6dfc8}
#autoLogin .al-preview-left{margin-left:auto;color:#8e8b76;font-size:11px}
#autoLogin .al-preview{flex-wrap:wrap;column-gap:16px}
#autoLogin .al-preview-item{display:inline-flex;align-items:baseline;gap:8px}
#autoLogin .al-preview-next b{font-size:14px;color:#9d9a83}
#autoLogin .al-steps{margin:0;padding-left:18px;color:#c9c2a8;font-size:12.5px;line-height:1.6}
#autoLogin .al-steps b{color:#e8cf86}
#autoLogin .al-note{margin:10px 0 0;color:#8e8b76;font-size:11.5px;line-height:1.45}
@media(max-width:560px){#autoLogin .al-row{flex-wrap:wrap}#autoLogin .al-row .al-btn{flex:1 1 auto}}
@media(max-width:560px){#route .rt-quick{grid-template-columns:repeat(2,minmax(0,1fr))}#route .rt-act-row-ts{grid-template-columns:1fr}}

/* ===== Admin panel v2 (2026-11-13): sekmeler, Genel Bakış, kartlar ===== */
.theme-admin .admin-tab[hidden]{display:none!important}
.theme-admin .admin-global-status:empty{display:none}
.theme-admin .admin-global-status{margin:-8px 0 12px;padding:8px 12px;border:1px solid #475043;border-radius:9px;background:#1c241e;font-size:12px}
.theme-admin .theme-intro h1{letter-spacing:-.01em}
.theme-admin .admin-shell>.panel{background:#1e251f;border:1px solid #3a4539;border-radius:14px;padding:20px 22px}
.theme-admin .admin-shell>.panel>h2{display:flex;align-items:center;gap:8px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#d9ddd1;border-bottom:1px solid #353f34;padding-bottom:12px}
.theme-admin .theme-admin-link{position:relative}
.admin-nav-badge{margin-left:auto;min-width:22px;padding:2px 7px;border-radius:999px;background:#2b332a;border:1px solid #4a5446;color:#c9d0c3;font:700 10px/1.3 inherit;text-align:center}
.admin-nav-badge.is-good{background:#21372b;border-color:#3f6550;color:#a8d4b7}
.admin-nav-badge.is-warn{background:#3c3223;border-color:#76603d;color:#e3c58f}
.admin-nav-badge[hidden]{display:none}
.theme-admin .theme-proxy-desc{font-size:11px;line-height:1.45;color:#b9c3b5}

/* Stat tiles */
.admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.admin-stat{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid #3a4539;border-radius:12px;background:linear-gradient(160deg,#232c24,#1b221c)}
.admin-stat-label{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#a3ad9f}
.admin-stat strong{font-size:28px;line-height:1.05;color:#e6e9e0;font-variant-numeric:tabular-nums}
.admin-stat small{font-size:11px;color:#97a293}
.admin-stat.is-accent{border-color:#4f6a55;background:linear-gradient(160deg,#243527,#1b241d)}
.admin-stat.is-accent strong{color:#a9d8b8}
.rt-global-lists small[data-global-count]{margin-left:6px;font-weight:400}
.admin-sys-stats[hidden]{display:none}
.admin-sys-stats .admin-stat strong{font-size:22px}
.admin-stat.is-ok strong{color:#a9d8b8}
.admin-stat.is-warn{border-color:#6b5f35}.admin-stat.is-warn strong{color:#e3c76a}
.admin-stat.is-bad{border-color:#7a3b35}.admin-stat.is-bad strong{color:#f08a7e}

/* Toolbar + segmented filter */
.admin-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.admin-toolbar input[type=search]{flex:1 1 260px;min-width:200px;padding:9px 12px;border-radius:9px}
.admin-seg{display:inline-flex;padding:3px;gap:3px;border:1px solid #414b3e;border-radius:10px;background:#161d18}
.admin-seg-btn{padding:6px 12px;border:1px solid transparent;border-radius:7px;background:transparent;color:#b3bcae;font:600 11px/1.2 inherit;cursor:pointer}
.admin-seg-btn:hover{color:#e0e3d8;background:#232b23}
.admin-seg-btn.is-active{background:#34392b;border-color:#6a5f43;color:#e6dcc2}
.admin-empty{padding:28px;border:1px dashed #44503f;border-radius:12px;text-align:center;color:#9ea99a}
/* Admin › Genel Bakış › Yük Dağılımı */
.admin-perf{margin:0 0 14px;border:1px solid #3a463b;border-radius:12px;background:#171e19}
.admin-perf[hidden]{display:none}
.admin-perf>summary{display:flex;align-items:center;gap:10px;padding:11px 14px;cursor:pointer;list-style:none;user-select:none}
.admin-perf>summary::-webkit-details-marker{display:none}
.admin-perf>summary::before{content:'▸';color:#8e8b76;transition:transform .15s}
.admin-perf[open]>summary::before{transform:rotate(90deg)}
.admin-perf>summary b{font:800 12px/1.2 inherit;letter-spacing:.08em;text-transform:uppercase;color:#d8c78f}
.admin-perf>summary .muted{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.theme-admin .admin-perf-copy{flex:0 0 auto;padding:5px 11px;border:1px solid #6a5f43;border-radius:8px;background:#2b2a1c;color:#f0dca0;font:700 10.5px/1.2 inherit;letter-spacing:.05em;cursor:pointer}
.admin-perf-scroll{max-height:420px;margin:0 14px;border:1px solid #2f3a31;border-radius:10px}
.admin-perf>.muted{margin:8px 14px 12px;line-height:1.45}
.admin-perf-table td{white-space:nowrap;font-size:12px}
.admin-perf-table td:first-child{white-space:normal;color:#e6dfc8}
.admin-perf-table tr.is-child td:first-child{padding-left:26px;color:#a9b3a4}
.admin-perf-table tr.is-warn td b{color:#e0a64a}
.admin-perf-table tr.is-bad td b{color:#ff8a80}
.admin-perf-bar{display:inline-block;width:70px;height:6px;margin-left:8px;border-radius:3px;background:#232b23;vertical-align:middle;overflow:hidden}
.admin-perf-bar span{display:block;height:100%;background:#86c98f}
.admin-perf-table tr.is-warn .admin-perf-bar span{background:#e0a64a}
.admin-perf-table tr.is-bad .admin-perf-bar span{background:#e5534b}
/* Admin › Hazır Listeler */
.admin-seg{flex-wrap:wrap}
.admin-seg-btn b{margin-left:4px;font-weight:700;color:#8e9a88}
.admin-seg-btn.is-active b{color:#d8c78f}
.admin-seg-btn.is-danger{color:#d9a79b}
.admin-seg-btn.is-danger.is-active{border-color:#8a4a40;background:#33211e;color:#ffd4ca}
#glStatus.bad{color:#ff8a80}
.theme-admin .admin-gl-undo{padding:6px 12px;border:1px solid #6a5f43;border-radius:8px;background:#2b2a1c;color:#f0dca0;font:700 10.5px/1.2 inherit;letter-spacing:.05em;cursor:pointer}
.admin-gl-grid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,1.6fr);gap:16px;align-items:start;margin-bottom:12px}
.admin-gl-col{min-width:0;padding:14px;border:1px solid #3a463b;border-radius:12px;background:#171e19}
.admin-gl-title{display:flex;align-items:center;gap:8px;margin:0 0 10px;font:800 12px/1.2 inherit;letter-spacing:.08em;text-transform:uppercase;color:#d8c78f}
.admin-gl-col input[type=search]{width:100%;box-sizing:border-box;padding:9px 12px;border-radius:9px}
.admin-gl-hint{margin:6px 0 10px;line-height:1.4}
.admin-gl-results{display:flex;flex-direction:column;gap:6px;max-height:440px;overflow:auto}
.admin-gl-result{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid #2f3a31;border-radius:9px;background:#1d251f}
.admin-gl-result.is-in{opacity:.6}
.admin-gl-result-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.admin-gl-result-main b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;color:#e6dfc8}
.admin-gl-result-main small{font-size:10.5px;color:#9ea99a}
.theme-admin .admin-gl-result button{flex:0 0 auto;padding:6px 12px;border:1px solid #46624b;border-radius:8px;background:#22382a;color:#a9d0b2;font:700 10.5px/1.2 inherit;letter-spacing:.05em;cursor:pointer}
.theme-admin .admin-gl-result button:disabled{border-color:#3a463b;background:transparent;color:#8e9a88;cursor:default}
.admin-gl-scroll{max-height:440px;margin-top:10px;border:1px solid #2f3a31;border-radius:10px}
.admin-gl-table td.admin-gl-id{font-family:Consolas,monospace;color:#a9a58c;white-space:nowrap}
.theme-admin .admin-gl-table .admin-gl-remove{padding:5px 10px;font-size:10.5px}
.theme-admin .admin-gl-more{display:block;width:100%;margin-top:8px;padding:8px;border:1px dashed #44503f;border-radius:9px;background:transparent;color:#b3bcae;font:700 10.5px/1.2 inherit;letter-spacing:.05em;cursor:pointer}
.theme-admin .admin-gl-more[hidden],.theme-admin .admin-gl-undo[hidden]{display:none}
@media(max-width:900px){.admin-gl-grid{grid-template-columns:1fr}}
/* Admin › Hazır Listeler › Listeye Ekle: whole item table, stat filter, tick, pick the list */
.admin-gl-title .admin-gl-sub{font:500 10.5px/1.3 inherit;letter-spacing:0;text-transform:none;color:#8e9a88}
.admin-gl-label{margin:10px 0 5px;font:800 10.5px/1.2 inherit;letter-spacing:.04em;color:#b9c3b4}
.admin-gl-label small{margin-left:6px;font-weight:500;letter-spacing:0;color:#8e9a88}
.admin-gl-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:4px}
.admin-gl-stats label.admin-gl-stat-check{display:flex;align-items:center;gap:6px;min-width:0;min-height:26px;margin:0;padding:3px 8px;border:1px solid #2f3a31;border-radius:7px;background:#151b16;color:#86e57f;font-size:11px;font-weight:600;cursor:pointer}
.admin-gl-stats label.admin-gl-stat-check span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.theme-admin .admin-gl-stats label.admin-gl-stat-check input{flex:0 0 auto;width:14px;height:14px;margin:0;padding:0;accent-color:#5fbf6a}
.admin-gl-stats label.admin-gl-stat-check:has(input:checked){border-color:#4f8a57;background:#1d2d20;color:#b6f5ad}
.admin-gl-addhead{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 6px}
.theme-admin .admin-gl-all{padding:5px 10px;border:1px solid #44503f;border-radius:7px;background:#1a211b;color:#c9d3c4;font:800 10.5px/1.2 inherit;letter-spacing:.04em;cursor:pointer}
.theme-admin .admin-gl-all:disabled{opacity:.45;cursor:default}
.admin-gl-pick{cursor:pointer}
.admin-gl-pick:hover{border-color:#44503f}
.admin-gl-pick.is-sel{border-color:#3d7fc4;background:#17222e}
.theme-admin .admin-gl-pick input{flex:0 0 auto;width:15px;height:15px;margin:0;padding:0;accent-color:#3d7fc4}
.admin-gl-pick img{flex:0 0 26px;width:26px;height:26px;border-radius:5px;border:1px solid #333d33}
.admin-gl-pick .tag{flex:0 0 auto;font-size:9.5px}
.admin-gl-stat{display:inline-flex;flex-wrap:wrap;gap:3px;margin-left:6px}
.admin-gl-stat i{padding:0 5px;border-radius:6px;background:#1f3a2a;color:#9fe0a6;font:700 9.5px/15px inherit;font-style:normal}
.admin-gl-kinds{display:flex;width:100%;box-sizing:border-box}
.admin-gl-kinds .admin-seg-btn{flex:1 1 0}
.theme-admin .admin-gl-go{display:block;width:100%;min-height:38px;margin-top:8px;border:1px solid #3d7fc4;border-radius:9px;background:linear-gradient(180deg,#2a6db5,#1f5592);color:#fff;font:800 12px/1.2 inherit;letter-spacing:.05em;cursor:pointer}
.theme-admin .admin-gl-go:hover:not(:disabled){background:linear-gradient(180deg,#3279c6,#2763a6)}
.theme-admin .admin-gl-go.is-danger{border-color:#a0574b;background:linear-gradient(180deg,#8a3b31,#6d2c25)}
.theme-admin .admin-gl-go:disabled{opacity:.45;cursor:default}

/* User cards */
.admin-online-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,420px),1fr));gap:12px}
.admin-user-card{border:1px solid #3a4539;border-radius:12px;background:#1a211b;overflow:hidden}
.admin-user-card.is-live{border-color:#48624f;box-shadow:inset 3px 0 0 #6fa784}
.admin-user-card.is-disabled{opacity:.6}
.admin-user-card>header{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#202820;border-bottom:1px solid #333d32}
.admin-user-avatar{flex:0 0 34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#34372a;border:1px solid #625b44;color:#d2bd8f;font-weight:800}
.admin-user-id{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
.admin-user-id b{color:#e5e8de;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-user-id small{display:flex;align-items:center;gap:6px;color:#9ea99a;font-size:11px}
.admin-user-count{display:grid;grid-template-columns:auto auto;align-items:baseline;column-gap:5px;text-align:right}
.admin-user-count b{font-size:22px;color:#a9d8b8;font-variant-numeric:tabular-nums}
.admin-user-count small{color:#a3ad9f;font-size:11px}
.admin-user-count small:last-child{grid-column:1/-1;font-size:10px;color:#8d988a}
.admin-panel-btn{flex:none;padding:7px 12px;border:1px solid #4f6a55;border-radius:9px;background:#243527;color:#a9d8b8;
  font:700 11px/1 inherit;letter-spacing:.6px;cursor:pointer;transition:background .15s,border-color .15s}
.admin-panel-btn:hover:not(:disabled){background:#2d4432;border-color:#6a8f72}
.admin-panel-btn:focus-visible{outline:2px solid #a9d8b8;outline-offset:2px}
.admin-panel-btn:disabled{opacity:.45;cursor:not-allowed}
/* User panel opened by an admin (Genel Bakış › PANEL) */
.act-as-bar{position:sticky;top:0;z-index:9000;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;
  padding:8px 16px;background:linear-gradient(90deg,#4a3a12,#5a4716);border-bottom:1px solid #8a6d22;color:#f6e3a8;font-size:13px}
.act-as-bar b{color:#fff3cf}
.act-as-bar button{padding:6px 12px;border:1px solid #c9a443;border-radius:8px;background:#f0cc75;color:#2a2108;font-weight:700;cursor:pointer}
.act-as-bar button:hover{background:#ffdc8a}
.act-as-bar button:disabled{opacity:.6;cursor:wait}
.admin-char-list{display:flex;flex-direction:column}
.admin-char{display:grid;grid-template-columns:auto minmax(0,1fr) 110px auto;align-items:center;gap:10px;padding:9px 14px;border-top:1px solid #2a332a}
.admin-char:first-child{border-top:0}
.admin-char.is-off{grid-template-columns:auto minmax(0,1fr)}
.admin-char.is-off b{color:#a7b0a3}
.admin-char-main{min-width:0;display:flex;flex-direction:column;gap:2px}
.admin-char-main small{color:#929d8f;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-char-name{display:flex;align-items:center;gap:6px;min-width:0}
.admin-char-name b{color:#e3e6dc;font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-lv{padding:1px 6px;border-radius:5px;background:#2e3529;color:#cdbb8f;font-size:10px;font-weight:700}
.admin-nation{padding:1px 6px;border-radius:5px;font-size:10px;font-weight:700;background:#2b332a;color:#c5ccc0}
.admin-nation.is-karus{background:#3b2528;color:#e1a7ad}
.admin-nation.is-human{background:#23303e;color:#a9c6e2}
.admin-char-bars{display:flex;flex-direction:column;gap:4px}
.admin-bar{display:block;height:5px;border-radius:3px;background:#2a322a;overflow:hidden}
.admin-bar>span{display:block;height:100%;border-radius:3px}
.admin-bar.is-hp>span{background:linear-gradient(90deg,#9e5359,#c77a7f)}
.admin-bar.is-mp>span{background:linear-gradient(90deg,#46708f,#6c9cc0)}
.admin-char-pills{display:flex;gap:4px}
.admin-pill{padding:2px 6px;border-radius:5px;border:1px solid #3c463a;color:#7f8a7c;font:700 9.5px/1.2 inherit;letter-spacing:.04em}
.admin-pill.is-on{background:#21372b;border-color:#3f6550;color:#a8d4b7}
.admin-dot{flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#555e52}
.admin-dot.is-on{background:#79bba0;box-shadow:0 0 0 3px #79bba022}
.admin-dot.is-idle{background:#bea477}
.admin-dot.is-off{background:#4d554a}
.admin-online-cell{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.admin-online-cell b{color:#a9d8b8}

/* Tables, forms, buttons */
.theme-admin .scroll{background:#181f19;border:1px solid #384337;border-radius:10px}
.theme-admin .admin-user-table th,.theme-admin .admin-skill-table th{position:sticky;top:0;z-index:1;background:#252e25;color:#b9c3b4;font-size:10px;letter-spacing:.06em;text-transform:uppercase}
.theme-admin .admin-user-table td{vertical-align:middle}
.theme-admin .admin-user-table .adm-save,.theme-admin .admin-skill-table .admin-skill-save{background:#22382a;border-color:#46624b;color:#a9d0b2;padding:6px 11px;font-size:10.5px}
.theme-admin .admin-user-table .adm-delete{background:#39292d;border-color:#765058;color:#d9aeb1;padding:6px 11px;font-size:10.5px}
.theme-admin .admin-user-table button:hover,.theme-admin .admin-skill-table button:hover{filter:brightness(1.12)}
.theme-admin .admin-create-grid{padding:16px;border:1px solid #384337;border-radius:12px;background:#1a211b}
.theme-admin .admin-create-grid label,.theme-admin .admin-create-permission>span{color:#c2cabd;font-size:11px;font-weight:600}
.theme-admin .admin-create-grid #createUser,.theme-admin .admin-password-row #adminPassSave{background:#645a3e;color:#f1e9d4;border-color:#877751;padding:10px 18px;font-weight:700}
.theme-admin .admin-create-grid #createUser:hover,.theme-admin .admin-password-row #adminPassSave:hover{background:#736748}
.theme-admin .admin-password-row{padding:16px;border:1px solid #384337;border-radius:12px;background:#1a211b}
.theme-admin .theme-topbar #adminLogout{background:#39292d;color:#d9aeb1;border-color:#765058}
.theme-admin .report-admin-card{border-radius:12px}
@media(max-width:1120px){.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
  .admin-stats{grid-template-columns:1fr 1fr;gap:8px}.admin-stat strong{font-size:22px}
  .theme-admin .admin-shell>.panel{padding:14px}
  .admin-char{grid-template-columns:auto minmax(0,1fr) auto}.admin-char-bars{display:none}
  .admin-online-grid{grid-template-columns:1fr}
}.theme-admin label.modern-check-row{background:#1a211b!important;border-color:#3a4539!important;color:#c4ccbf}
.theme-admin .modern-check-row:hover{border-color:#4e5a4b}
.theme-admin .theme-nav-caption{margin-top:14px}
.theme-admin .theme-side-scroll>.theme-nav-caption:first-child{margin-top:0}

/* "Tekrar hoş geldin": back from a hidden tab while the live stream catches up */
.return-cover{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;
  background:rgba(12,16,13,.55);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
  opacity:1;transition:opacity .25s ease}
.return-cover[hidden]{display:none}
.return-cover.is-out{opacity:0;pointer-events:none}
.return-cover-box{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:220px;padding:22px 28px;
  border:1px solid #3a4539;border-radius:14px;background:linear-gradient(160deg,#232c24,#1b221c);
  box-shadow:0 18px 50px rgba(0,0,0,.45);color:#e6ebe2;text-align:center}
.return-cover-box b{font-size:16px;letter-spacing:.2px}
.return-cover-box small{font-size:12px;color:#97a293}
.return-cover-spin{width:28px;height:28px;margin-bottom:4px;border-radius:50%;
  border:3px solid #3a4539;border-top-color:#a9d8b8;animation:return-cover-spin .8s linear infinite}
@keyframes return-cover-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.return-cover{transition:none}.return-cover-spin{animation:none;border-top-color:#3a4539}}
/* Oto Kutu page: three columns (Oto Kutu • Oto TS • Oto Pet), the open boxes under them */
#loot .loot-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
#loot .loot-col{position:static;gap:7px}
#loot .loot-col-head{display:flex;align-items:center;gap:10px;margin:-2px 0 4px;padding-bottom:10px;border-bottom:1px solid #3a4130}
#loot .loot-col-ico{display:grid;place-items:center;flex:0 0 34px;height:34px;border:1px solid #6b5a2c;border-radius:9px;background:#2a2818;color:#f0cc75;font-size:17px}
#loot .loot-col-title{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}
#loot .loot-col-title b{font:800 13px 'Segoe UI',system-ui;letter-spacing:.08em;color:#f0e6c8}
#loot .loot-col-title small{font-size:11px;color:#a9a58c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#loot .loot-col-switch{display:flex;align-items:center;cursor:pointer;margin:0}
#loot .loot-col-switch .modern-check{width:22px;height:22px}
#loot .loot-group-title{margin:6px 0 0;font:800 10.5px 'Segoe UI',system-ui;letter-spacing:.1em;text-transform:uppercase;color:#b8a96f}
#loot .loot-col>label:not(.modern-check-row){grid-template-columns:minmax(0,1fr) minmax(70px,130px);gap:8px}
#loot .loot-col>label:not(.modern-check-row)>input,#loot .loot-col>label:not(.modern-check-row)>select{width:100%;min-width:0}
#loot .loot-col>label:not(.modern-check-row):has(select){grid-template-columns:auto minmax(0,1fr)}
#loot .loot-col .modern-check-row{min-height:36px;padding:6px 9px}
#loot .loot-num-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#loot .loot-num-row.loot-num-row-2{grid-template-columns:repeat(2,minmax(0,1fr))}
#loot .loot-num-row label{display:flex;flex-direction:column;gap:3px;font-size:11px;color:#c9c1a6;min-width:0}
#loot .loot-num-row input{width:100%!important;min-width:0;box-sizing:border-box}
#loot .loot-price-hint{margin-top:-2px;line-height:1.4}
#loot .loot-price-hint:empty{display:none}
/* Özelliğe göre topla: small checkboxes, two a row, in the tooltip's green */
#loot .loot-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
#loot .loot-stat-grid label.loot-stat{display:flex;align-items:center;gap:6px;min-width:0;min-height:28px;margin:0;padding:4px 8px;border:1px solid #2f3a31;border-radius:7px;background:#151b16;color:#86e57f;font-size:11.5px;font-weight:600;cursor:pointer;box-sizing:border-box}
#loot .loot-stat-grid label.loot-stat span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#loot .loot-stat-grid label.loot-stat input{flex:0 0 auto;width:15px;height:15px;margin:0;accent-color:#5fbf6a}
#loot .loot-stat-grid label.loot-stat:has(input:checked){border-color:#4f8a57;background:#1d2d20;color:#b6f5ad}
#loot .loot-stat-grid label.loot-stat:hover{border-color:#4f8a57}
#loot .loot-shared-note{padding:7px 9px;border:1px dashed #4e5233;border-radius:8px;background:#1a1f15;color:#c9c1a6;font-size:11px;line-height:1.45}
#loot .loot-col-status{margin-top:2px;padding-top:7px;border-top:1px solid #2f3a31;font-size:12px}
#loot .loot-col .pet-info{margin:0}
#loot .loot-boxes-card{margin-top:12px}
#loot .loot-boxes-card .loot-table{max-height:260px}
@media(max-width:1250px){#loot .loot-cols{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){#loot .loot-cols{grid-template-columns:1fr}}
/* Oto Kutu › item filtresi › ÇANTADAN SEÇ */
#loot .loot-bag-toggle{width:100%;min-height:30px;margin-top:8px;padding:0 10px;border:1px dashed #4e5233;border-radius:8px;background:#1a211b;color:#b8a96f;font:800 11px 'Segoe UI',system-ui;letter-spacing:.08em;cursor:pointer}
#loot .loot-bag-toggle:hover{border-color:#b39a4b;color:#f0cc75}
#loot .loot-bag-toggle.is-open{border-style:solid;border-color:#8a7434;background:#25261a;color:#f0cc75}
#loot .loot-bag-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;max-width:360px;margin-top:6px;padding:6px;border:1px solid #2f3a31;border-radius:10px;background:#101510}
#loot .loot-bag-grid.hidden{display:none}
#loot .loot-bag-empty{grid-column:1/-1;padding:10px;text-align:center}
#loot .rt-bag-cell{position:relative;display:block;aspect-ratio:1;min-width:0;min-height:0;padding:0;overflow:hidden;border:1px solid #333d33;border-radius:6px;background:#1a211b;cursor:pointer}
#loot .rt-bag-cell img{display:block;width:100%;height:100%;object-fit:cover}
#loot .rt-bag-cell i{position:absolute;right:2px;bottom:1px;color:#fff;font:700 9.5px 'Segoe UI',system-ui;font-style:normal;text-shadow:0 0 2px #000,0 0 2px #000,0 1px 2px #000}
#loot .rt-bag-cell.is-empty{border-color:#232b24;background:#141a15;cursor:default}
#loot .rt-bag-cell:not(.is-empty):hover{border-color:#b39a4b}
#loot .rt-bag-cell.is-picked{border:2px solid #e6b84a;box-shadow:0 0 6px rgba(230,184,74,.55)}
/* Admin › Kullanıcılar › Üyelik (gün / bakiye, Cloudflare D1) */
.admin-member-status{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 10px;font-size:12px}
.admin-member-status:empty{display:none}
.admin-member-status button{padding:3px 10px;min-height:0;font-size:11px}
.mem-dot{width:9px;height:9px;border-radius:50%;display:inline-block;background:#6b7266}
.mem-dot.on{background:#52c27a;box-shadow:0 0 6px rgba(82,194,122,.6)}
.mem-dot.bad{background:#d8664f}
.mem-ok{color:#9fd8a8}.mem-warn{color:#f0cc75}.mem-exp{color:#ff9d8a}
.mem-cell{display:flex;flex-direction:column;gap:2px;min-width:96px}
.mem-cell small{color:#c9bf9f}
.mem-cell .adm-member{margin-top:3px;padding:2px 6px;min-height:0;font-size:10px;letter-spacing:.03em}
.member-dlg{width:min(720px,calc(100vw - 32px));max-height:calc(100vh - 48px);padding:16px 18px;border:1px solid #4a5236;border-radius:12px;background:#171c16;color:#e9e2c8;box-shadow:0 18px 50px rgba(0,0,0,.6)}
.member-dlg::backdrop{background:rgba(0,0,0,.6)}
.member-dlg-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.member-dlg-head h3{margin:0;font-size:16px}
.member-dlg-x{padding:2px 8px;min-height:0;background:none;border:1px solid #4a5236}
.member-dlg-info{display:flex;flex-wrap:wrap;gap:6px 18px;margin:10px 0;font-size:13px}
.member-quick{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.member-quick button{padding:4px 10px;min-height:0;font-size:12px}
.member-quick .member-ghost{background:none;border:1px dashed #6b6a4a}
.member-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px 12px}
.member-fields label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#c9bf9f}
.member-fields .member-note{grid-column:1/-1}
.member-actions{display:flex;align-items:center;gap:12px;margin:12px 0 4px}
.member-dlg h4{margin:14px 0 6px;font-size:13px;color:#c9bf9f}
.member-tx{max-height:260px;overflow:auto;font-size:12px}
.member-tx table{width:100%;border-collapse:collapse}
.member-tx th,.member-tx td{padding:4px 6px;border-bottom:1px solid #2a3124;text-align:left;white-space:nowrap}
.member-tx td:last-child{white-space:normal}
/* Üyelik › sunucular (S1, S2 …) */
.mem-srv{display:inline-block;margin-right:5px;padding:0 5px;border:1px solid #4a5236;border-radius:4px;font:700 10px/1.5 'Segoe UI',system-ui;color:#c9bf9f;background:rgba(255,255,255,.03)}
.mem-srv.is-here{border-color:#6f8a4a;color:#cfe6a8}
.admin-user-table tr.is-remote td{opacity:.78}
.admin-user-table .tag-remote{margin-left:6px;background:#2a3140;color:#b9c8e6;border-color:#3d4a63}
.member-move{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px 12px;margin:10px 0 2px;padding-top:10px;border-top:1px solid #2a3124}
.member-move label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#c9bf9f}
.admin-server-table input{width:100%;min-width:70px}
.admin-server-table .srv-url{min-width:200px}
.admin-server-table .srv-cap{width:80px;min-width:0}
.admin-server-table td small{display:block}
.admin-sub-title{margin:18px 0 8px;font-size:14px}
.admin-server-add{margin-bottom:8px}
/* Giriş › sunucu seçimi */
.login-server{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.login-simple-card .login-server-pick button{margin:0;width:auto;min-height:0}
.login-server[hidden]{display:none}
.login-server-pick{display:flex;flex-wrap:wrap;gap:6px}
.login-server-pick button{flex:1 1 0;min-width:56px;padding:8px 10px;border:1px solid #4a5236;border-radius:8px;background:rgba(255,255,255,.03);color:#e9e2c8;font-weight:700;cursor:pointer}
.login-server-pick button.is-current{border-color:#e6b84a;background:rgba(230,184,74,.14);color:#f0cc75}
.login-server-pick button:hover:not(.is-current){border-color:#8a7a45}
/* Attack › AYARLAR › Only % (Atak Serbest Metre altında) */
.rotation-settings-card .rotation-only-hp{display:grid;grid-template-columns:minmax(118px,1fr) 88px;gap:8px;align-items:center}
.rotation-settings-card .rotation-only-hp .modern-check-row{min-height:34px}
.rotation-settings-card .rotation-only-hp-val{display:flex;align-items:center;gap:4px;color:#c9bf9f;font-weight:700}
.rotation-settings-card .rotation-only-hp-val input{width:62px!important;min-width:0!important}
.rotation-settings-card .rotation-only-hp:not(.is-on) .rotation-only-hp-val{opacity:.5}
/* Support › HEAL: HP ≤ % and min MP % */
.support-heal-cell{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:8px}
.support-heal-cell .support-hp-input{display:flex;align-items:center;gap:3px}
.support-heal-cell .support-hp-input>b{min-width:24px;font-size:10px;color:#9fb0c8}
/* Slot Merkez: "merkeze dön" / "Dead Time" — one of the two; the other is locked */
.rotation-settings-card .modern-check-row.is-locked{opacity:.45;cursor:not-allowed}
.rotation-settings-card .modern-check-row.is-locked .modern-check{cursor:not-allowed}
/* Panel güncellendi şeridi (hot reload: no forced F5) */
.panel-update-bar{position:fixed;top:12px;left:50%;transform:translateX(-50%);z-index:10000;display:flex;align-items:center;gap:10px;padding:8px 10px 8px 14px;border:1px solid #6f8a4a;border-radius:10px;background:rgba(22,30,18,.96);color:#e9e2c8;font:600 13px/1.3 'Segoe UI',system-ui;box-shadow:0 8px 24px rgba(0,0,0,.5);max-width:calc(100vw - 32px)}
.panel-update-bar button{padding:5px 12px;min-height:0;border:1px solid #e6b84a;border-radius:7px;background:rgba(230,184,74,.16);color:#f0cc75;font-weight:800;cursor:pointer}
.panel-update-bar button:hover{background:rgba(230,184,74,.3);color:#fff}
.panel-update-bar .panel-update-later{border-color:#4a5236;background:none;color:#c9bf9f;font-weight:600}
/* Support › Scaled Skin / Safety / Evade: shared "Hedef varsa bas" box */
.support-defense-target{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;cursor:pointer;font:700 11px 'Segoe UI',system-ui;color:#c9d4e3}
.support-defense-target input{width:14px;height:14px;margin:0;cursor:pointer}

/* Oto Rotasyon › NPC Buff: 4 buff cards (pick) + per-point chips */
#route .rt-nb-atk{--nb:#e8795f;--nb-bg:rgba(232,121,95,.13)}
#route .rt-nb-hp{--nb:#72d38a;--nb-bg:rgba(114,211,138,.12)}
#route .rt-nb-ac{--nb:#74ade9;--nb-bg:rgba(116,173,233,.13)}
#route .rt-nb-spd{--nb:#e9c55e;--nb-bg:rgba(233,197,94,.13)}
#route .rt-nb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
#route .rt-nb-card{position:relative;display:flex;align-items:center;gap:9px;min-width:0;min-height:52px;padding:8px 24px 8px 8px;border:1px solid #2f3a31;border-radius:11px;background:linear-gradient(180deg,#1b221c,#151a16);color:#9d9a83;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s,transform .08s}
#route .rt-nb-card:hover{border-color:color-mix(in srgb,var(--nb) 55%,#2f3a31);color:#e6dfc8}
#route .rt-nb-card:active{transform:scale(.98)}
#route .rt-nb-card.is-on{border-color:var(--nb);background:linear-gradient(180deg,var(--nb-bg),rgba(0,0,0,.18)),#171d18;color:#f1ead2;box-shadow:0 0 0 1px color-mix(in srgb,var(--nb) 35%,transparent),0 4px 14px rgba(0,0,0,.35)}
#route .rt-nb-glyph{flex:0 0 auto;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1px solid color-mix(in srgb,var(--nb) 45%,#2f3a31);background:radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--nb) 40%,#1a1f1b),#121612 75%);color:var(--nb);font:900 16px/1 'Segoe UI Symbol','Segoe UI',system-ui;filter:saturate(.55) brightness(.8);transition:filter .15s}
#route .rt-nb-card.is-on .rt-nb-glyph{filter:none;box-shadow:0 0 10px color-mix(in srgb,var(--nb) 45%,transparent)}
#route .rt-nb-text{display:flex;flex-direction:column;gap:2px;min-width:0}
#route .rt-nb-text b{overflow-wrap:anywhere;font:800 12px/1.15 'Segoe UI',system-ui;color:inherit}
#route .rt-nb-text small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 10.5px 'Segoe UI',system-ui;color:#8e8b76}
#route .rt-nb-card.is-on .rt-nb-text small{color:color-mix(in srgb,var(--nb) 70%,#d9d2b8)}
#route .rt-nb-check{position:absolute;top:7px;right:8px;display:grid;place-items:center;width:15px;height:15px;border-radius:50%;border:1px solid #3a463c;color:transparent;font:900 10px/1 'Segoe UI',system-ui;transition:all .15s}
#route .rt-nb-card.is-on .rt-nb-check{border-color:var(--nb);background:var(--nb);color:#14180f}
#route .rt-nb-add:disabled{opacity:.45;cursor:default}
#route .rt-nb-point{display:flex;flex-direction:column;gap:5px}
#route .rt-nb-chips{display:flex;flex-wrap:wrap;gap:4px}
#route .rt-nb-chip{display:inline-flex;align-items:center;gap:4px;min-height:22px;padding:0 8px;border:1px solid #2f3a31;border-radius:11px;background:#141914;color:#6f7266;font:700 10.5px 'Segoe UI',system-ui;cursor:pointer;text-decoration:line-through;text-decoration-color:rgba(255,255,255,.18);transition:all .15s}
#route .rt-nb-chip span{color:inherit;font-size:11px}
#route .rt-nb-chip:hover{border-color:color-mix(in srgb,var(--nb) 50%,#2f3a31);color:#c9c3ab}
#route .rt-nb-chip.is-on{border-color:color-mix(in srgb,var(--nb) 70%,#2f3a31);background:var(--nb-bg);color:var(--nb);text-decoration:none}
#route .rt-nb-last{font:600 10.5px 'Segoe UI',system-ui;color:#8e8b76}
#route .rt-nb-last .good{color:#72d38a}#route .rt-nb-last .warn{color:#e9c55e}#route .rt-nb-last .bad{color:#ff8a80}
@media (max-width:520px){#route .rt-nb-grid{grid-template-columns:minmax(0,1fr)}}
/* Otomatik › NPC Buff Kontrol: watched buffs as chips */
#route .rt-buffcheck-list{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
#route .rt-buffcheck-list .rt-nb-chip{position:relative;user-select:none}
#route .rt-buffcheck-list input{position:absolute;opacity:0;width:0;height:0;pointer-events:none}
#route .rt-buffcheck-status{margin-top:7px}
#route .rt-buffcheck-status.warn{color:#e9c55e}#route .rt-buffcheck-status.bad{color:#ff8a80}
