.deck-manager{box-sizing:border-box;width:min(1020px,calc(100% - 32px));max-height:90dvh;padding:30px;border:1px solid #35455d;border-radius:24px;background:#0d1a2b;color:#e9edf3;box-shadow:0 32px 100px #0008;font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color-scheme:dark;overflow-y:auto;overflow-x:hidden}.deck-manager::backdrop{background:#020915c9;backdrop-filter:blur(12px)}.deck-manager *{box-sizing:border-box}.deck-manager h2,.deck-manager h3,.deck-manager h4,.deck-manager p{margin:0}.manager-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.manager-head h2{font-size:26px;letter-spacing:1px}.mgr-eyebrow{color:#7ddcdf;font-size:10px;letter-spacing:3px}.mgr-intro{margin-top:12px!important;color:#a7b5c9}.mgr-safety{margin-top:18px;padding:12px 16px;border:1px solid #2b3d55;border-radius:12px;color:#aebdd0;font-size:12px}.mgr-safety summary{cursor:pointer;color:#c7d6e5}.mgr-safety p{margin-top:8px}.manager-status{min-height:30px;margin:16px 0!important;color:#8fe4d1;font-size:13px;overflow-wrap:anywhere}.manager-status.mgr-error,.mgr-field-error{color:#ffadb6}.manager-toolbar,.mgr-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.manager-toolbar{padding-bottom:20px;border-bottom:1px solid #263850}.mgr-btn,.mgr-file-label{min-height:40px;padding:8px 13px;border:1px solid #35465f;border-radius:9px;background:#15263c;color:#e5ecf5;cursor:pointer;font:inherit;font-size:12px;line-height:1.5;transition:background .15s,transform .15s;overflow-wrap:anywhere}.mgr-btn:hover,.mgr-file-label:hover{background:#21364e}.mgr-btn:active{transform:scale(.98)}.mgr-btn:focus-visible,.deck-manager input:focus-visible,.deck-manager select:focus-visible,.deck-manager textarea:focus-visible,.mgr-deck-select:focus-visible,.mgr-safety summary:focus-visible{outline:2px solid #8ce6e4;outline-offset:3px}.mgr-btn:disabled{opacity:.42;cursor:not-allowed;transform:none}.mgr-primary{background:#79d9d7;color:#092530;border-color:#79d9d7;font-weight:650}.mgr-primary:hover{background:#a6eeea}.mgr-danger{color:#ffb3be;border-color:#694250;background:#301e30}.mgr-danger:hover{background:#492936}.mgr-quiet{background:transparent;border-color:transparent;color:#b0bfd1}.mgr-file-label{position:relative;display:flex;align-items:center;overflow:hidden}.mgr-file{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.mgr-file-label:focus-within{outline:2px solid #8ce6e4;outline-offset:3px}.manager-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px;margin-top:22px}.manager-sidebar{display:flex;flex-direction:column;gap:6px}.mgr-deck-row{display:flex;align-items:center;gap:10px;padding:4px 9px;border:1px solid transparent;border-radius:10px;min-width:0}.mgr-deck-row.is-selected{background:#192d44;border-color:#435c76}.mgr-deck-row input[type=checkbox]{width:17px;height:17px;flex-shrink:0;accent-color:#7ddcdf}.mgr-deck-select{min-width:0;min-height:58px;flex:1;text-align:left;padding:8px 0;border:0;background:transparent;color:#dbe4ef;cursor:pointer;white-space:normal;overflow-wrap:anywhere}.mgr-deck-select strong,.mgr-deck-select span{display:block}.mgr-deck-select strong{font-size:13px;font-weight:550}.mgr-deck-select span{font-size:10px;color:#8eabc6;margin-top:4px}.manager-content{min-width:0}.mgr-deck-header{display:flex;gap:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:16px}.mgr-deck-header h3{overflow-wrap:anywhere;font-size:18px}.mgr-card-item{border:1px solid #2b3b53;border-radius:14px;background:#101f33;padding:18px;margin-bottom:12px;overflow-wrap:anywhere}.mgr-card-meta{font-size:10px;color:#9a99d8;letter-spacing:1px;margin-bottom:7px}.mgr-card-item h4{font-size:16px;margin-bottom:8px}.mgr-card-text{color:#c2d0e1;white-space:pre-wrap;font-size:13px}.mgr-card-scene{color:#8298b3;font-size:10px;margin:9px 0 12px!important}.mgr-card-item .mgr-btn{padding:6px 10px;min-height:34px;font-size:11px}.mgr-lock-note{padding:10px 12px!important;border-left:2px solid #9a91d6;background:#9585e80c;font-size:11px;color:#b9b3d8;margin:12px 0!important;overflow-wrap:anywhere}.mgr-empty{padding:42px 16px;text-align:center;color:#9aabc1}.mgr-empty h3{color:#dce7f4;margin-bottom:10px}.mgr-empty-icon{color:#7ddcdf;font-size:40px;margin-bottom:12px}.mgr-empty p{font-size:13px}.mgr-form{max-width:620px;margin:15px auto}.mgr-form h3{font-size:22px;margin-bottom:14px}.mgr-field{display:flex;flex-direction:column;margin:15px 0;gap:6px}.mgr-field>label,.mgr-multiselect legend{font-size:13px;color:#d5dfed}.mgr-field input,.mgr-field textarea,.mgr-field select{width:100%;max-width:100%;min-height:44px;border:1px solid #3b4e69;border-radius:9px;background:#091526;color:#e8edf5;padding:10px 12px;font:inherit;font-size:14px}.mgr-field textarea{resize:vertical;min-height:120px;white-space:pre-wrap}.mgr-field [aria-invalid=true]{border-color:#e991a1}.mgr-hint{font-size:11px;line-height:1.7;color:#96a8c0}.mgr-field-error{font-size:12px;display:block;min-height:0}.mgr-field-error:not(:empty){margin-top:3px}.mgr-multiselect{margin:16px 0;border:1px solid #34465e;border-radius:10px;padding:12px 14px;display:flex;gap:14px;flex-wrap:wrap}.mgr-multiselect legend{padding:0 6px}.mgr-check{display:flex;gap:8px;align-items:center;font-size:13px;cursor:pointer;min-height:32px}.mgr-check input{width:17px;height:17px;accent-color:#7ddcdf}.mgr-multiselect>.mgr-field-error{width:100%}.mgr-confirm,.mgr-import-preview{padding:20px 0}.mgr-confirm h3,.mgr-import-preview h3{font-size:23px;margin-bottom:14px}.mgr-confirm p,.mgr-import-preview>p{font-size:13px;color:#b8c7db;overflow-wrap:anywhere}.mgr-confirm .mgr-actions,.mgr-import-preview .mgr-actions{margin-top:24px}.mgr-table{width:100%;border-collapse:collapse;margin:22px 0;font-size:13px;table-layout:fixed}.mgr-table caption{text-align:left;color:#87dfd5;padding-bottom:12px}.mgr-table th,.mgr-table td{padding:10px 12px;text-align:left;border-bottom:1px solid #30415a;overflow-wrap:anywhere}.mgr-table th{color:#a5bad1;font-weight:500}.mgr-table th:last-child,.mgr-table td:last-child{width:95px;text-align:right}@media(max-width:650px){.deck-manager{width:calc(100% - 18px);max-height:94dvh;padding:20px 14px;border-radius:18px}.manager-head{gap:6px}.manager-head h2{font-size:23px}.manager-head>.mgr-btn{padding:7px;font-size:11px}.manager-layout{grid-template-columns:minmax(0,1fr);gap:18px}.manager-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid #273a54;padding-bottom:16px}.manager-toolbar{gap:7px}.manager-toolbar>.mgr-btn,.mgr-file-label{flex:1;min-width:125px;justify-content:center}.mgr-deck-header .mgr-actions{width:100%}.mgr-card-item{padding:15px}.mgr-confirm .mgr-actions .mgr-btn,.mgr-import-preview .mgr-actions .mgr-btn{flex:1}.mgr-multiselect{gap:8px 16px}}@media(max-width:340px){.manager-sidebar{grid-template-columns:minmax(0,1fr)}.mgr-btn{font-size:11px}.mgr-multiselect{padding:10px}}@media(prefers-reduced-motion:reduce){.deck-manager *{transition:none!important;animation:none!important}}
