.super-tools{max-width:1150px;margin:0 auto;padding:16px}.tool-heading{border:1px solid #786b46;border-radius:18px;background:linear-gradient(125deg,#102e38,#15202a);padding:24px;margin-bottom:18px}.tool-heading h2{color:#ead599;margin:12px 0}.tool-badge{display:inline-block;color:#ead599;border:1px solid #75653e;border-radius:99px;padding:5px 12px;font-size:.8rem}.tool-bar{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.tool-bar select{max-width:100%;padding:10px;border-radius:8px;background:#142d36;color:#e9eeee}.tool-note{color:#bdcbd0;line-height:1.5}.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}.tool-card{display:flex!important;flex-direction:column;align-items:flex-start;text-align:left;gap:12px;padding:24px!important;min-height:190px;border:1px solid #547079!important;border-radius:16px!important;background:linear-gradient(135deg,#153944,#101d28)!important;color:#edf4f5!important}.tool-card:hover{border-color:#dcc185!important}.tool-card strong{font-size:1.2rem;color:#ead599}.tool-card>span:last-child{line-height:1.5;font-weight:normal}.tool-icon{font-size:28px;color:#dbbf7e}.tool-frame{width:100%;height:80vh;border:1px solid #547079;border-radius:14px;margin-top:16px;background:#0b1820}.tool-result{overflow-x:auto;margin-top:20px}.tool-result table{border-collapse:collapse;width:100%}.tool-result td,.tool-result th{padding:10px;border-bottom:1px solid #42616d;text-align:left}.super-tools>button{margin:6px}@media(max-width:620px){.tool-grid{grid-template-columns:1fr}.super-tools{padding:8px}.tool-heading{padding:18px}.tool-frame{height:85vh}}

.tool-settings{display:flex;flex-wrap:wrap;gap:16px;margin:18px 0;padding:18px;border:1px solid #947944;border-radius:12px}.tool-settings label{display:flex;flex-direction:column;gap:8px;max-width:100%}.tool-settings input,.tool-settings select{max-width:100%;padding:8px}.tool-settings input[type=checkbox]{align-self:flex-start}.tool-status{white-space:pre-wrap}.tool-result progress{width:100%}.tool-frame{min-height:75vh}

.player-info{margin-top:24px}.player-info-scroll{overflow-x:auto;max-width:100%}.player-info table{width:100%;border-collapse:collapse;font-size:.9rem}.player-info th{color:#eac67c;text-align:left;background:#102d38}.player-info td,.player-info th{padding:12px;border-bottom:1px solid #345360;vertical-align:top}.player-info tbody tr:nth-child(4n+1){background:#102630}.player-info small{display:block;min-width:160px;color:#a8bdc7;margin-top:8px}.player-info td button{display:block;margin:0 0 8px}.player-info dl{display:grid;grid-template-columns:minmax(130px,1fr) minmax(150px,2fr) minmax(150px,1fr);gap:12px;white-space:pre-wrap;overflow-wrap:anywhere}.player-info dd{margin:0}@media(max-width:650px){.player-info dl{display:block}.player-info dd{margin-bottom:10px}}

.super-tools .tool-bar button,.super-tools>button,.player-info button{background:#173b47;color:#efcf8d;border:1px solid #64808b;border-radius:9px;padding:9px 13px;cursor:pointer}.super-tools button:disabled{opacity:.5;cursor:default}.super-tools input{background:#112d37;color:#eef4f6;border:1px solid #587681;border-radius:8px;padding:9px;max-width:100%}.player-info table{color:#e8f0f3;background:#0d2029;border:1px solid #345360}.player-info dt{color:#efcf8d;font-weight:600}.player-info dd{color:#e8f0f3}

.reader-status{padding:14px;margin:12px 0;border:1px solid #b99a54;border-radius:12px;background:#b99a5415}.reader-status p{margin:8px 0}.reader-status button{margin:6px 8px 0 0;min-height:44px}

.operation-state{padding:12px 16px;border-left:5px solid #c6a15b;background:#c6a15b18;font-weight:700;min-height:44px}.operation-state[data-state="running"]{border-color:#4ca987}.operation-state[data-state="stopped"],.operation-state[data-state="done"]{border-color:#6cab58}.operation-state[data-state="error"],.operation-state[data-state="unknown"]{border-color:#d18c53}

/* Compact, readable player overview; scoped to this table. */
.player-info .player-info-scroll{border:1px solid #48636e;border-radius:12px;box-shadow:0 5px 18px #0002}
.player-info table{border:0;font-size:.92rem;line-height:1.45}
.player-info td,.player-info th{padding:10px 11px;border-right:1px solid #34536066}
.player-info th{font-weight:600;white-space:nowrap}
.player-info tbody tr:nth-child(4n+1){background:#13303b}
.player-info tbody tr:hover{background:#193b47}
.player-info small{min-width:135px;max-width:185px;font-size:.78rem;margin-top:4px;line-height:1.45}
.player-info td button{font-size:.85rem;padding:7px 10px;margin-bottom:5px;white-space:nowrap}
.player-info .column-sort{font:inherit;color:inherit;background:transparent;border:0;padding:0;text-align:left;border-radius:0}
.player-info .column-sort:focus-visible{outline:2px solid #efcf8d;outline-offset:4px}
.player-info .player-info-filters{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}
.player-info-filters label{display:flex;flex-direction:column;gap:5px;font-size:.85rem;color:#c8dbe3}
.player-info-filters select{font:inherit;padding:8px 10px;background:#12313d;color:#eff6f8;border:1px solid #587681;border-radius:8px;max-width:100%}
.player-info .player-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(112px,1fr));gap:5px 14px}
.player-resource-grid>div>span:first-child{display:block;font-size:.77rem;color:#aac4cf}
.player-info .shield-badge{display:block;padding:3px 7px;margin-bottom:5px;width:fit-content;border:1px solid #56717c;border-radius:6px;font-size:.76rem;color:#cbdae1}
.player-info .shield-active{border-color:#53867b;color:#bce1d0;background:#1c443c}
.player-info .shield-expired{border-color:#8e7150;color:#ebca9a;background:#443626}
@media(max-width:650px){.player-info-filters label{flex:1 1 140px}.player-info td,.player-info th{padding:9px}.player-info table{font-size:.9rem}}

.tool-alternatives{margin:20px 0}.tool-alternatives>summary{cursor:pointer;min-height:44px;padding:12px;border:1px solid #64808b;border-radius:9px;color:#efcf8d}.tool-difference{padding:14px;border-left:3px solid #b99a54;background:#b99a5410;margin:12px 0}.tool-difference p{margin:8px 0;line-height:1.5}.tool-card{overflow-wrap:anywhere}.tool-card>span:nth-child(2){font-size:.9rem;color:#bdcbd0}

.ak-highest{background:#b99a5425;color:#efcf8d}.tool-catalog-results,.tool-message-results{margin-top:20px;min-width:0;max-width:100%}.tool-settings input[type=file]{width:100%}

.tool-analysis-entry{padding:18px;border:1px solid #947944;border-radius:12px;margin:20px 0}.tool-analysis-entry p{line-height:1.5}.tool-analysis-button{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;min-height:44px;box-sizing:border-box;background:#173b47;color:#efcf8d;border:1px solid #b99a54;border-radius:9px;text-decoration:none;font-weight:600}.tool-analysis-button:hover,.tool-analysis-button:focus-visible{background:#255665;outline:2px solid #efcf8d;outline-offset:3px}.ak-history{margin-top:24px;border-top:1px solid #547079;padding-top:16px}.ak-history-item{display:flex;flex-wrap:wrap;align-items:center;gap:12px;border-bottom:1px solid #547079;padding:12px 0}.ak-history button{padding:10px 14px;min-height:44px;background:#173b47;color:#efcf8d;border:1px solid #64808b;border-radius:8px;cursor:pointer}.ak-save-status{min-height:24px}@media(max-width:620px){.ak-history-item{align-items:flex-start;flex-direction:column}.tool-analysis-button{width:100%}}

.super-tools .tool-confirm{background:#102631;color:#f4f7f8;border:1px solid #d9b669;border-radius:18px;padding:24px;width:min(480px,calc(100vw - 40px));box-sizing:border-box;max-height:85dvh;overflow:auto}
.super-tools .tool-confirm::backdrop{background:#000a}
.super-tools .tool-confirm h3{color:#e9c879;margin-top:0}
.super-tools .tool-confirm .tool-bar{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.super-tools .operation-state[data-state=preflight]{border-left:5px solid #e9c879;background:#263333}
.super-tools .tool-settings input[type=checkbox]{width:24px;height:24px;align-self:flex-start;accent-color:#dfb95e}
.super-tools .tool-result progress{display:block;width:100%;height:18px;accent-color:#51bba2}

/* Keep saved bids visible beside their own actions. */
.ak-archive{border:1px solid #b99a54;border-radius:10px;background:#0c2936;padding:14px;margin-top:16px}.ak-history-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.ak-history-heading h3{margin:0;color:#efcf8d}.ak-history-help{margin:7px 0;font-size:13px;color:#b9cbd3}.ak-history-help summary{cursor:pointer}.ak-history-help p{line-height:1.5}.ak-history-load-status,.ak-save-status:empty{font-size:12px;margin:6px 0}.ak-history-item{background:#12313d;padding:10px;margin-top:7px;border:1px solid #345360;border-radius:6px}.ak-archive-actions{margin-top:12px}.tool-result,.ak-archive{scroll-margin-top:18px}

/* Keep every player value readable without a page-wide horizontal overflow. */
.player-info{margin-top:10px;min-width:0;max-width:100%}
.player-info>h3{margin:8px 0;font-size:17px}.player-info>p{font-size:12px;line-height:1.45;margin:6px 0}
.player-info>.tool-bar{gap:7px;flex-wrap:wrap;align-items:center}
.player-info>.tool-bar>input{flex:1 1 210px;width:auto;min-width:0;min-height:32px;padding:5px 8px;font-size:13px}
.player-info>.tool-bar>label{display:flex;align-items:center;gap:6px;margin:0;font-size:12px;font-weight:normal}
.player-info>.tool-bar>label>input{width:16px;height:16px;min-height:16px;padding:0;margin:0;flex:none}
.player-info>.tool-bar>button{font-size:12px;padding:5px 8px;min-height:32px}
.player-info .player-info-filters{gap:7px;margin:8px 0}.player-info-filters label{margin:0;gap:3px;font-size:12px;flex:0 1 auto;min-width:0}
.player-info-filters select{min-height:32px;font-size:12px;padding:5px 7px;width:auto;max-width:100%}
.player-info .player-info-scroll{max-width:100%;max-height:72dvh;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain;scrollbar-color:#8cb2c3 #092331;scrollbar-width:auto;border-radius:8px}
.player-info-scroll::-webkit-scrollbar{width:12px;height:12px}.player-info-scroll::-webkit-scrollbar-thumb{background:#8cb2c3;border:2px solid #092331;border-radius:6px}.player-info-scroll::-webkit-scrollbar-track{background:#092331}
.player-info-horizontal{position:sticky;top:8px;z-index:3;display:flex;align-items:center;gap:7px;padding:4px 6px;margin:4px 0;background:#12313d;border:1px solid #64808b;border-radius:6px}
.player-info-horizontal input[type=range]{flex:1;min-width:0;min-height:24px;height:24px;padding:0;accent-color:#efcf8d;cursor:ew-resize}
.player-info-horizontal button{margin:0;min-height:30px;min-width:34px;padding:3px 6px;font-size:16px}
.player-info table{table-layout:fixed;width:100%;font-size:13px;line-height:1.4}
.player-info td,.player-info th{padding:7px 6px;overflow-wrap:anywhere;min-width:0}.player-info th{white-space:normal;position:sticky;top:0;z-index:1;background:#102d38}
.player-info th:nth-child(1){width:16%}.player-info th:nth-child(2){width:8%}.player-info th:nth-child(3){width:4%}.player-info th:nth-child(4){width:5%}.player-info th:nth-child(5){width:20%}.player-info th:nth-child(6){width:12%}.player-info th:nth-child(7),.player-info th:nth-child(8){width:10%}.player-info th:nth-child(9){width:15%}
.player-info small{min-width:0;max-width:none;font-size:11px}.player-info .player-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 7px}.player-resource-grid>div>span:first-child{font-size:11px}
.player-info td button{font-size:12px;padding:4px 6px;white-space:normal;max-width:100%;min-height:30px}
.player-info dl{grid-template-columns:minmax(0,1.2fr) minmax(0,1.7fr) minmax(0,1fr);gap:8px;font-size:13px}
.player-info-raw summary{cursor:pointer;color:#c7dce6;font-size:12px}.player-info-raw pre{max-height:260px;overflow:auto;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}
@media(max-width:1100px){
 .player-info table,.player-info tbody{display:block;width:100%}.player-info thead{display:none}
 .player-info tbody{display:grid;gap:8px}.player-info .player-info-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #48636e;border-radius:7px;background:#12313d!important}
 .player-info .player-info-row>td{display:block;border:0;padding:7px;min-width:0}
 .player-info .player-info-row>td::before{content:attr(data-label);display:block;font-size:11px;color:#b8cdd6;line-height:1.3;margin-bottom:3px}
 .player-info-row>td:nth-child(1),.player-info-row>td:nth-child(2),.player-info-row>td:nth-child(5),.player-info-row>td:nth-child(6),.player-info-row>td:nth-child(7),.player-info-row>td:nth-child(8),.player-info-row>td:nth-child(9){grid-column:span 2}
 .player-info .player-info-details{display:block;width:100%;background:#0c2530}.player-info-details>td{display:block;width:100%;border:0}
 .player-info .player-info-scroll{border:0;padding:0 3px 0 0;box-shadow:none}.player-info .player-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
 .player-info .player-info-row{grid-template-columns:repeat(2,minmax(0,1fr))}
 .player-info-row>td:nth-child(1),.player-info-row>td:nth-child(2),.player-info-row>td:nth-child(5){grid-column:1/-1}
 .player-info-row>td:nth-child(6),.player-info-row>td:nth-child(7),.player-info-row>td:nth-child(8),.player-info-row>td:nth-child(9){grid-column:auto}
 .player-info .player-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .player-info .player-info-filters>label{flex:1 1 100px}.player-info-filters select{width:100%}
 .player-info dl{display:block}.player-info dt{margin-top:10px}.player-info dd{margin:3px 0;font-size:13px}
 .player-info td button{min-height:36px}.player-info-horizontal button{min-height:36px;min-width:36px}
}
