.team-image-dialog{width:min(1160px,calc(100vw - 28px));max-height:92dvh;margin:auto;padding:0;border:1px solid #ffffff2a;border-radius:18px;background:#171c29;color:var(--txt);box-shadow:0 18px 70px #000a;font-family:inherit;overflow:hidden}
.team-image-dialog::backdrop{background:#050911c9;backdrop-filter:blur(5px)}
.team-image-dialog[open]{display:flex;flex-direction:column}
.export-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid #ffffff16;flex-shrink:0}
.export-head h2{font-size:20px;line-height:1.5;margin:0}
.export-body{display:grid;grid-template-columns:310px minmax(0,1fr);min-height:0;flex:1}
.export-settings{display:flex;flex-direction:column;gap:14px;padding:18px;border-right:1px solid #ffffff16;overflow:auto;min-height:0;max-height:72dvh}
.export-field{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#c9cfdd}
.export-field input[type=text],.export-field select{width:100%;padding:9px 10px;background:#22293a;border:1px solid #424b61;color:#f3f3f7;border-radius:8px;font-size:13px;min-height:40px}
.export-field input[type=text]:focus-visible,.export-field select:focus-visible{outline:2px solid #c7d2e8;outline-offset:2px}
.export-toggle{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.6;cursor:pointer}
.export-toggle input,.export-team-row input{width:18px;height:18px;accent-color:#c5b58d;flex:0 0 auto;cursor:pointer}
.export-layout-note{font-size:12px;color:#9da8bc}
.export-selection-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.export-selection-head strong{font-size:14px}
.export-selection-head button{font-size:12px;padding:6px 9px}
.export-team-list{display:flex;flex-direction:column;gap:5px;min-height:110px;overflow:auto;flex:1}
.export-team-row{display:flex;align-items:center;gap:9px;padding:9px 8px;border:1px solid #ffffff13;background:#ffffff03;border-radius:8px;cursor:pointer}
.export-team-row:has(input:checked){border-color:#c9ba9366;background:#b7a37c0c}
.export-team-row span{min-width:0;flex:1;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.export-team-row small{display:block;color:#8e99b0;font-size:10px;line-height:1.8}
.export-preview-pane{display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px 20px;background:#0d111b;min-width:0;min-height:0;overflow:auto}
.export-preview-toolbar{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;flex-shrink:0;font-size:12px;color:#bbc4d5}
.export-preview-toolbar button{padding:5px 10px;font-size:13px}
.export-preview-frame{display:flex;align-items:center;justify-content:center;width:100%;flex:1;min-height:300px}
.export-preview-image{display:block;max-width:100%;max-height:61dvh;width:auto;height:auto;aspect-ratio:210/297;border-radius:5px;box-shadow:0 8px 26px #0006;object-fit:contain}
.export-preview-image[hidden]{display:none}
.export-message{color:#b9c3d3;font-size:13px;line-height:1.8;text-align:center;margin:0}
.export-message.error{color:#ffc3cf}
.export-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 20px;border-top:1px solid #ffffff16;flex-shrink:0}
.export-foot small{color:#9ba8be;font-size:11px;line-height:1.7}
.export-download-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.export-download-actions button{font-size:13px;padding:9px 13px;min-height:40px}
.export-download-actions button:disabled{opacity:.45;cursor:default}
#exportImageBtn .ui-icon{width:18px;height:18px}
@media(max-width:760px){.team-image-dialog{max-height:95dvh}.export-body{grid-template-columns:minmax(0,1fr);overflow:auto}.export-settings{max-height:none;overflow:visible;border-right:0;border-bottom:1px solid #ffffff16;gap:12px;padding:14px}.export-team-list{max-height:180px;flex:0 0 auto}.export-preview-pane{overflow:visible;padding:14px}.export-preview-image{max-height:55dvh}.export-head,.export-foot{padding:12px 14px}.export-head h2{font-size:17px}.export-preview-frame{min-height:200px}}
