.testserver-dev-tool{width:min(100%,1560px);margin-inline:auto;padding:clamp(18px,2vw,30px);border:1px solid rgba(121,157,196,.25);background:linear-gradient(145deg,rgba(14,25,42,.97),rgba(7,15,27,.98));box-shadow:0 20px 55px rgba(0,0,0,.28)}
.testserver-tool-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:20px;border-bottom:1px solid rgba(145,171,202,.14)}
.testserver-tool-header h2{margin:3px 0 7px;font-size:clamp(23px,2.1vw,32px);letter-spacing:.01em}
.testserver-tool-header p:not(.eyebrow){margin:0;color:#aebdd0;max-width:680px}
.testserver-selected-badge{min-width:210px;padding:13px 16px;border:1px solid rgba(213,174,98,.42);border-radius:10px;background:rgba(27,36,48,.8);display:grid;gap:4px}
.testserver-selected-badge span,.testserver-selected-badge small{color:#9eafc4;font-size:12px}
.testserver-selected-badge strong{color:#f2d294;font-size:17px}
.testserver-character-picker{display:grid;grid-template-columns:auto minmax(220px,380px) 1fr;align-items:center;gap:12px;margin:18px 0 20px;padding:13px 16px;border:1px solid rgba(115,149,187,.22);border-radius:10px;background:rgba(12,22,36,.74)}
.testserver-character-picker>label{font-size:13px;color:#c6d2e1;font-weight:700}
.testserver-character-picker select{width:100%;min-width:0}
.testserver-character-picker>span{color:#8193a9;font-size:12px}
.testserver-dev-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:16px}
.testserver-tool-card{min-width:0;padding:20px;border:1px solid rgba(116,149,185,.2);border-radius:12px;background:linear-gradient(155deg,rgba(23,36,54,.93),rgba(12,21,34,.96));box-shadow:0 10px 25px rgba(0,0,0,.12)}
.testserver-card-title{display:flex;align-items:center;gap:13px;margin-bottom:19px;padding-bottom:14px;border-bottom:1px solid rgba(141,163,189,.12)}
.testserver-card-title .eyebrow{margin:0 0 3px;color:#d6ad61;font-size:10px;letter-spacing:.14em}
.testserver-card-title h3{margin:0;color:#e5edf7;font-size:18px}
.testserver-card-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:10px;border:1px solid rgba(224,184,105,.35);background:rgba(220,174,88,.09);color:#f0c775;font-size:21px}
.testserver-action-form,.testserver-boss-card>form{display:grid;gap:10px;margin:0 0 13px;padding:12px;border:1px solid rgba(126,151,181,.13);border-radius:9px;background:rgba(4,11,20,.2)}
.testserver-action-form label,.testserver-boss-card label{display:grid;gap:7px;color:#aebed0;font-size:12px}
.testserver-action-form input,.testserver-action-form select,.testserver-boss-card input,.testserver-boss-card select{width:100%;min-width:0}
.testserver-action-form button,.testserver-boss-card button{width:100%;min-height:38px}
.testserver-job-form{border-color:rgba(218,176,96,.25)}
.testserver-action-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.testserver-action-pair form{min-width:0}
.testserver-action-pair button{width:100%;min-height:45px}
.testserver-card-description{min-height:44px;margin:0 0 16px;color:#a2b2c4;font-size:13px;line-height:1.5}
.testserver-open-items{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;min-height:48px;padding-inline:16px}
.testserver-open-items span{display:grid;place-items:center;min-width:30px;height:25px;padding:0 8px;border-radius:6px;background:rgba(10,20,32,.24);font-size:12px}
.testserver-f10-form{margin-top:18px!important;padding-top:15px!important;border-top:1px solid rgba(222,178,94,.3)!important}
.testserver-item-dialog{width:min(960px,calc(100vw - 32px));max-width:960px;max-height:min(86vh,900px);padding:0;border:1px solid rgba(215,174,96,.55);border-radius:14px;background:#101b2a;color:#e8edf4;box-shadow:0 28px 100px rgba(0,0,0,.7)}
.testserver-item-dialog::backdrop{background:rgba(2,7,13,.78);backdrop-filter:blur(5px)}
.testserver-dialog-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:20px;padding:22px 24px 17px;border-bottom:1px solid rgba(142,167,196,.17);background:linear-gradient(150deg,#15243a,#101b2a)}
.testserver-dialog-head .eyebrow{margin:0 0 5px;color:#d4ac63;font-size:10px;letter-spacing:.15em}
.testserver-dialog-head h3{margin:0;font-size:22px}
.testserver-dialog-head p:last-child{margin:7px 0 0;color:#9eafc3;font-size:13px}
.testserver-dialog-close{flex:none;width:36px;height:36px;border:1px solid rgba(151,171,197,.28);border-radius:8px;background:#1a293b;color:#e7edf4;font-size:24px;line-height:1;cursor:pointer}
.testserver-item-search{display:grid;gap:7px;padding:16px 24px 12px;color:#9eb0c5;font-size:12px}
.testserver-item-feedback{margin:10px 24px 0}
.testserver-item-search input{width:100%;min-height:42px}
.testserver-item-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:9px;max-height:calc(min(86vh,900px) - 185px);overflow:auto;overscroll-behavior:contain;padding:8px 24px 24px}
.testserver-quest-list{display:grid;gap:8px;max-height:calc(min(86vh,900px) - 185px);overflow:auto;overscroll-behavior:contain;padding:8px 24px 24px}
.testserver-quest-entry{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border:1px solid rgba(123,151,184,.2);border-radius:8px;background:linear-gradient(145deg,rgba(26,41,60,.88),rgba(14,24,38,.95))}
.testserver-quest-entry[hidden]{display:none!important}
.testserver-quest-entry>div{display:grid;gap:5px;min-width:0}
.testserver-quest-entry strong{color:#e3eaf3;font-size:13px}
.testserver-quest-entry small{color:#9eafc3;font-size:11px}
.testserver-quest-entry button{flex:none;min-width:130px}
.testserver-upgrade-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:20px 24px 24px}
.testserver-upgrade-options label{display:grid;gap:7px;padding:11px;border:1px solid rgba(123,151,184,.2);border-radius:8px;color:#aebed0;font-size:12px}
.testserver-upgrade-options label[hidden]{display:none!important}
.testserver-upgrade-options input[type=number]{width:100%;min-height:38px}
.testserver-upgrade-options .testserver-upgrade-preset{display:flex;grid-column:1/-1;align-items:center;gap:9px}
.testserver-upgrade-options .testserver-upgrade-preset input{width:auto}
.testserver-upgrade-options>[data-apply-upgrades]{grid-column:1/-1;min-height:44px}
.testserver-item-entry{min-width:0;margin:0}
.testserver-item-entry[hidden],.testserver-items-empty[hidden]{display:none!important}
.testserver-item-entry button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;width:100%;height:118px;padding:11px 8px;border:1px solid rgba(123,151,184,.2);border-radius:9px;background:linear-gradient(145deg,rgba(26,41,60,.88),rgba(14,24,38,.95));color:#dce5ef;cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease}
.testserver-item-entry button:hover,.testserver-item-entry button:focus-visible{transform:translateY(-2px);border-color:#d9b56b;background:linear-gradient(145deg,rgba(51,58,65,.96),rgba(23,34,49,.98));outline:none}
.testserver-item-entry img{width:42px;height:42px;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 3px 4px rgba(0,0,0,.45))}
.testserver-item-entry span{display:-webkit-box;max-width:100%;overflow:hidden;color:#d9e3ef;font-size:11px;line-height:1.35;text-align:center;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.testserver-items-empty{grid-column:1/-1;margin:10px 0;padding:20px;border:1px dashed rgba(133,158,189,.24);border-radius:8px;color:#9eafc3;text-align:center}
.testserver-admin-grid{display:grid;grid-template-columns:minmax(340px,1.04fr) minmax(340px,.96fr);gap:18px;align-items:start}
.testserver-admin-grid>.panel{min-width:0;padding:20px;border:1px solid rgba(119,150,186,.22);border-radius:12px;background:linear-gradient(155deg,rgba(18,32,51,.96),rgba(10,20,34,.96))}
.testserver-admin-grid>.panel>h3{margin:0 0 17px;font-size:19px;color:#e2ebf7}
.testserver-grant-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin:0 0 16px;padding:14px;border:1px solid rgba(216,174,93,.28);border-radius:10px;background:rgba(9,17,29,.72)}
.testserver-account-picker{position:relative;min-width:0}
.testserver-account-picker label{display:grid;gap:7px;color:#b5c3d4;font-size:12px}
.testserver-account-picker input{width:100%;min-height:41px}
.testserver-account-picker>small{display:block;margin-top:6px;color:#8fa1b8;font-size:11px}
.testserver-account-suggestions{position:absolute;top:calc(100% - 2px);left:0;right:0;z-index:10;max-height:270px;overflow:auto;padding:5px;border:1px solid rgba(139,164,194,.3);border-radius:8px;background:#101d2e;box-shadow:0 14px 34px rgba(0,0,0,.45)}
.testserver-account-suggestions[hidden]{display:none}
.testserver-account-suggestions button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:9px 10px;border:0;border-radius:5px;background:transparent;color:#e4ebf4;text-align:left;cursor:pointer}
.testserver-account-suggestions button:hover,.testserver-account-suggestions button:focus-visible{background:#1e3047;outline:none}
.testserver-account-suggestions small{color:#93a7bf;font-size:11px}
.testserver-account-suggestions p{margin:0;padding:10px;color:#a9b8ca;font-size:12px}
.testserver-account-list,.testserver-log-list{height:460px;overflow:auto;overscroll-behavior:contain;padding:3px 6px 3px 0}
.testserver-account-list .admin-card,.testserver-log-list .admin-card{margin:8px 0;padding:13px;border:1px solid rgba(123,148,177,.16);border-radius:8px;background:rgba(18,30,46,.8)}
.testserver-account-list .admin-card>div,.testserver-log-list .admin-card>div{display:grid;gap:7px}
.testserver-account-list .admin-card strong,.testserver-log-list .admin-card strong{color:#e2eaf4}
.testserver-character-list{display:grid;gap:4px;padding:8px 10px;border-left:2px solid #ba9450;background:rgba(7,15,25,.34);font-size:12px;color:#afbed0}
.testserver-account-list form{margin-top:5px}
@media(max-width:1050px){.testserver-dev-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.testserver-boss-card{grid-column:1/-1}.testserver-admin-grid{grid-template-columns:1fr}}
@media(max-width:680px){.testserver-dev-tool{padding:15px}.testserver-tool-header{display:grid}.testserver-selected-badge{min-width:0}.testserver-character-picker{grid-template-columns:1fr;gap:8px}.testserver-dev-grid{grid-template-columns:1fr}.testserver-boss-card{grid-column:auto}.testserver-action-pair{grid-template-columns:1fr}.testserver-grant-form{grid-template-columns:1fr}.testserver-grant-form>button{width:100%}.testserver-item-grid{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));padding-inline:14px}.testserver-dialog-head{padding:17px}.testserver-item-search{padding-inline:17px}.testserver-upgrade-options{grid-template-columns:1fr;padding:16px}.testserver-upgrade-options .testserver-upgrade-preset,.testserver-upgrade-options>[data-apply-upgrades]{grid-column:auto}.testserver-quest-entry{align-items:flex-start;flex-direction:column}.testserver-quest-entry button{width:100%}}
