.eleven-main{max-width:1440px;width:100%;margin:0 auto;padding:28px 34px 60px;flex:1}
.eleven-tabs{max-width:1440px;width:100%;margin:16px auto 0;padding:0 34px;display:flex;gap:8px}
.eleven-tabs button{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 12px}
.eleven-tabs .active{color:#007541;border-bottom-color:#007541}
.eleven-intro{margin-bottom:30px}.eleven-intro h1{font-size:clamp(34px,3.5vw,51px)}.eleven-intro .lead{max-width:800px}
.create-layout{display:grid;grid-template-columns:288px minmax(0,1fr);gap:28px;align-items:start}
.pool-finder{padding:22px;background:#fff;border:1px solid #dfe6df;border-radius:12px}
.quick-pools{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:18px 0}.quick-pools button{font-size:10px;padding:8px;background:#f3f6ed;text-align:left}
.pool-finder label{margin-bottom:15px}.pool-finder select{font-size:12px}.pool-finder input[type=range]{padding:0;min-height:24px;accent-color:#007541;background:none;border:0;cursor:pointer}
.select-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:12px;font-size:12px;line-height:1.5;margin-top:6px;padding:10px}
.select-trigger span{font-size:9px;font-weight:500;color:#617265;flex:none}
.selected-teams{display:flex;flex-direction:column;gap:6px;margin:-4px 0 14px}.selected-teams button{display:flex;gap:8px;align-items:center;font-size:10px;text-align:left;min-height:34px;padding:4px 8px;background:#eff5eb}.selected-teams .team-art{width:24px;height:24px}.selected-teams .team-art img{max-width:24px;max-height:24px}.selected-teams button>span:last-child{margin-left:auto;font-size:15px}
.season-window{padding:14px;background:#f6f7ef;border:1px solid #dce3d1;border-radius:8px;margin-bottom:18px}.period-heading{display:flex;flex-direction:column;gap:5px;margin-bottom:12px}.period-heading>span{font-size:10px;color:#617265}.period-heading strong{font-size:17px;font-weight:800;letter-spacing:-.035em}.season-window label{margin-bottom:6px;font-size:10px}.period-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.period-actions button{font-size:9px;padding:5px 6px;min-height:28px}
.tournament-year{background:#f6f7ef;border:1px solid #dce3d1;padding:12px;border-radius:8px;margin-bottom:15px}.tournament-year>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.tournament-year strong{font-size:12px;text-align:center}.tournament-year button{padding:3px 7px;min-height:28px}
.extra-filters{font-size:11px;border-block:1px solid #dfe6df;padding:13px 0;margin-bottom:16px}.extra-filters summary{cursor:pointer;font-weight:700}.extra-filters label:first-of-type{margin-top:12px}
.find-button{width:100%;display:flex;justify-content:space-between}.finder-note{font-size:10px;color:#617265;line-height:1.7;margin-top:18px}
.pool-editor>.section-heading{margin-bottom:16px}.pool-editor #draftStatus{margin-left:auto;font-size:10px;color:#617265}.template-meta{display:flex;gap:22px;align-items:center;margin:16px 0 22px}.template-meta label{min-width:170px;margin:0}.template-meta p{max-width:380px;font-size:12px;line-height:1.65;color:#617265}
.selected-pool{background:#eff3e7;border:1px solid #dce5d4;border-radius:10px;padding:20px}.selected-pool .pool-heading{align-items:start}.selected-pool .pool-heading h2 span,.found-players h2 span{font-size:11px;margin-left:5px;color:#617265}.selected-pool .player-card{cursor:default}.selected-pool .player-card .remove-player{position:absolute;right:-4px;top:-4px;min-height:22px;width:22px;padding:0;border-radius:50%;font-size:16px;opacity:0;z-index:2}.selected-pool .player-card:hover .remove-player,.selected-pool .player-card:focus-within .remove-player{opacity:1}
#selectedPool:empty:after{content:'Deine Auswahl beginnt hier. Füge unten Spieler hinzu.';margin:auto;padding:24px;font-size:12px;color:#6a7c66;text-align:center}
.create-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:16px 0 32px}.create-actions p{font-size:11px;color:#617265;line-height:1.6}.create-actions .primary{white-space:nowrap;min-height:44px}
.found-players .pool-heading{align-items:end}.found-players .result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.found-players .result{gap:9px;align-items:center}.finder-shirt{display:block;width:43px;height:44px;flex:none}.finder-shirt svg{width:100%;height:100%}.found-players .result strong{font-size:12px}.found-players .result small{font-size:10px}.found-players .result .position-badge{font-size:7px!important}
#finderStatus,#foundScope{font-size:11px;color:#617265;line-height:1.6;margin:10px 0}#foundScope{margin:5px 0 0}
.selection-list{max-height:40svh;overflow:auto;margin:12px 0;border-block:1px solid #dfe6df}.selection-list label{display:flex;align-items:center;gap:10px;padding:9px 2px;margin:0;font-size:12px}.selection-list label:hover{background:#eff3e7}.selection-list input{width:17px;height:17px;min-height:0;margin:0;accent-color:#007541}.selection-list .team-art{width:30px;height:30px}.selection-list .team-art img{max-width:30px;max-height:28px}.selection-list>p{padding:14px}
#elevenDialog:has(.selection-list){max-width:610px}.dialog-actions{display:flex;flex-wrap:wrap;gap:8px}
#libraryView{padding:0;margin:0;max-width:none}.library-heading{margin-bottom:20px}.library-heading h1{font-size:40px}.community-context,.empty-answers,.loading-message{font-size:12px;color:#617265;line-height:1.6;margin:16px 0 25px}
.game-heading{display:flex;justify-content:space-between;align-items:start;gap:30px;margin-bottom:30px}.game-heading h1{font-size:clamp(30px,3vw,44px);overflow-wrap:anywhere}.game-heading p:not(.eyebrow){font-size:13px;line-height:1.7;color:#52665c;margin-top:12px}.game-heading-actions{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap;max-width:340px;flex:none}.game-heading-actions button{font-size:10px}
.game-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(280px,1fr);gap:26px;align-items:start}.pitch-column{min-width:0}.pitch-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;background:#fff;border:1px solid #dfe6df;border-radius:10px}.pitch-toolbar label{margin:0;font-size:10px;min-width:150px}.pitch-toolbar select{min-height:36px;margin-top:3px;font-size:12px}.pitch-toolbar>div{display:flex;flex-direction:column;gap:5px}.pitch-toolbar strong{font-size:13px}.pitch-toolbar span{font-size:10px;color:#617265}.pitch-toolbar button{font-size:10px;max-width:150px}.pitch-instruction{font-size:11px;line-height:1.6;color:#617265;margin:12px 0}
.pitch{position:relative;isolation:isolate;width:100%;aspect-ratio:1/1.06;background:repeating-linear-gradient(180deg,#ffffff00 0%,#ffffff00 10%,#ffffff03 10%,#ffffff03 20%),#194f39;border:1px solid #35694e;border-radius:12px;box-shadow:0 7px 20px #14391a0b;overflow:hidden;container-type:inline-size}
.pitch-boundary{position:absolute;inset:4%;border:1px solid #cee0c535;pointer-events:none}.halfway{position:absolute;left:0;right:0;top:50%;border-top:1px solid #cee0c535}.centre-circle{position:absolute;width:27%;height:24%;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid #cee0c535;border-radius:50%}.centre-dot{position:absolute;left:50%;top:50%;width:4px;height:4px;background:#cee0c54d;border-radius:50%}.penalty,.goal-area{position:absolute;left:50%;transform:translateX(-50%);border:1px solid #cee0c535}.penalty{width:52%;height:15%}.goal-area{width:26%;height:6%}.top{top:-1px}.bottom{bottom:-1px}
.pitch-slot{position:absolute;width:103px;max-width:17%;transform:translate(-50%,-50%);z-index:1;user-select:none}.pitch-slot.selected{z-index:3}.slot-select{position:relative;display:flex;flex-direction:column;gap:3px;align-items:center;width:100%;padding:5px 1px 4px;background:transparent;border:1px solid transparent;border-radius:7px;color:#fff;cursor:pointer;min-height:80px}.slot-select:hover{background:#f1f4df14;border-color:#e6f0d24d}.pitch-slot.selected .slot-select{background:#e9efcf14;border-color:#d2e6ac99;box-shadow:0 0 0 1px #d2e6ac33}.slot-select svg{width:53px;height:47px;max-width:65%;flex:none}.slot-role{color:#d8e5c9;font-size:9px;font-weight:650;letter-spacing:.07em}.slot-select strong{font-size:10px;font-weight:750;line-height:1.2;max-width:100%;padding:4px 5px;overflow-wrap:anywhere;border-radius:3px;background:#ffffff13}.filled .slot-select strong{background:#faf7ef;color:#06271f}.slot-select small{font-size:8px;font-weight:500;line-height:1.25;color:#d1dfce;text-align:center;overflow-wrap:anywhere}.ghost-shirt{fill:#f3f3df0f;stroke:#e8efda7a;stroke-width:1.3}.slot-handle{position:absolute;right:-2px;top:17px;width:23px;height:25px;padding:0;min-height:25px;background:#e7efcf;color:#284c35;border:1px solid #d9e9b3;border-radius:4px;font-size:19px;line-height:1;cursor:grab;touch-action:none;opacity:0}.pitch-slot:hover .slot-handle,.pitch-slot:focus-within .slot-handle,.pitch-slot.selected .slot-handle{opacity:1}.slot-handle:active{cursor:grabbing}.slot-select:focus-visible,.slot-handle:focus-visible{outline:2px solid #ffe5a3;outline-offset:3px}
.lineup-actions{display:flex;gap:7px;margin:16px 0 12px;flex-wrap:wrap}.lineup-actions .primary{flex:1;min-height:42px}.lineup-actions button{font-size:11px}#lineupStatus{font-size:12px;color:#52665c;line-height:1.6;min-height:22px}
.short-slot-name{display:none}
.selected-pool .pool-heading{flex-wrap:wrap;align-items:flex-start}.pool-select-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.pool-select-actions .primary{min-height:38px}.selected-pool .pool-heading .primary{font-size:11px;padding:9px 12px}.pool-select-actions [aria-busy=true]{opacity:.75}
.candidate-panel{background:#fff;border:1px solid #dfe6df;border-radius:12px;padding:20px;position:sticky;top:20px}.candidate-heading h2{font-size:23px}.candidate-heading p:not(.eyebrow){font-size:12px;line-height:1.65;color:#617265;margin:10px 0 18px}.candidate-panel label{margin-bottom:12px}.candidate-panel select,.candidate-panel input{font-size:12px}.candidate-tabs{display:flex;gap:6px;margin:10px 0 14px}.candidate-tabs button{flex:1;font-size:11px;min-height:34px}.candidate-tabs .active{background:#eff3e7;border-color:#a9c292;color:#135b37}.candidate-list{max-height:520px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:4px}.candidate{display:flex;width:100%;align-items:center;text-align:left;gap:10px;padding:11px 5px;background:#fff;border:0;border-bottom:1px solid #e6ebe2;border-radius:0}.candidate:hover{background:#f2f6ec}.candidate>svg{width:43px;height:40px;flex:none}.candidate>span:nth-child(2){flex:1;min-width:0}.candidate strong{font-size:12px;font-weight:750;display:block;overflow-wrap:anywhere}.candidate small{font-size:10px;line-height:1.7;color:#617265;display:block;margin-top:3px}.candidate em{font-style:normal;font-size:9px;color:#007541;display:block;margin-top:4px}.candidate>span:last-child{font-size:19px;color:#007541}.candidate .position-badge{font-size:7px!important}.candidate-note{font-size:10px;line-height:1.65;color:#617265;margin-top:15px}.remove-from-lineup{width:100%;margin-top:14px;font-size:11px}.no-candidates{font-size:12px;color:#617265;padding:15px 2px;line-height:1.7}.no-candidates button{margin-top:10px}
.other-lineups{border-top:1px solid #dfe6df;margin-top:36px;padding-top:28px}.other-lineups h2{font-size:22px}.preview-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:28px 0 16px}.preview-heading h3{font-size:22px;letter-spacing:-.03em}.readonly-pitch{max-width:650px}.readonly-pitch .slot-select{cursor:default;pointer-events:none}#lineupPreview{scroll-margin-top:20px}
#elevenDialog:has(.candidate-list){max-width:550px;padding:20px;max-height:92svh}#elevenDialog .candidate-list{max-height:36svh}#elevenDialog .candidate-heading p:not(.eyebrow){margin:8px 0 12px}#elevenDialog .candidate-note{margin-bottom:0}
@media(max-width:1150px){.create-layout{grid-template-columns:265px minmax(0,1fr);gap:22px}.pool-finder{padding:18px}.create-actions{align-items:stretch;flex-direction:column;gap:10px}.game-heading{flex-direction:column;gap:15px}.game-heading-actions{max-width:none;justify-content:flex-start}.game-layout{grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:20px}.candidate-panel{padding:16px}.slot-select strong{font-size:9px}.slot-select small{font-size:7px}.slot-handle{right:-3px}.found-players .pool-heading{flex-wrap:wrap;gap:12px}.found-players .result-actions{width:100%}}
@media(max-width:900px){.game-layout{display:block}.pitch-column{max-width:730px;margin:auto}.candidate-panel{display:none}.game-heading-actions{width:100%}.slot-handle{opacity:.85}.pitch{max-width:730px}.game-heading h1{font-size:34px}.game-heading p:not(.eyebrow){font-size:12px}}
@media(max-width:760px){.eleven-main{padding:24px 16px 35px}.eleven-tabs{padding:0 16px;gap:0;margin-top:12px}.eleven-tabs button{flex:1;font-size:10px;padding:10px 4px}.eleven-intro{margin-bottom:22px}.eleven-intro h1{font-size:35px}.eleven-intro .lead{font-size:13px;line-height:1.65}.create-layout{display:flex;flex-direction:column;gap:25px}.pool-finder,.pool-editor{width:100%}.pool-finder{padding:18px}.quick-pools{grid-template-columns:repeat(4,minmax(0,1fr))}.quick-pools button{font-size:9px;padding:7px 5px}.pool-editor>.section-heading{flex-wrap:wrap}.pool-editor #draftStatus{font-size:9px}.title-label input{font-size:21px}.template-meta{gap:14px}.template-meta label{min-width:135px}.template-meta p{font-size:10px}.selected-pool{padding:15px}.selected-pool .player-card .remove-player{opacity:1}.selected-pool .pool-heading{gap:8px}.selected-pool h2{font-size:17px}.selected-pool .pool-heading button{font-size:9px;padding:5px 7px;min-height:31px}.selected-pool .player-card{width:calc((100% - 16px)/3);min-height:114px}.found-players .result-grid{grid-template-columns:1fr}.found-players .result{min-height:80px}.found-players .result strong{font-size:13px}.found-players .result-actions{display:flex}.found-players .result-actions button{font-size:10px}.finder-shirt{width:46px;height:44px}.library-heading h1{font-size:32px}.game-heading h1{font-size:31px}.game-heading{margin-bottom:20px}.game-heading-actions button{font-size:9px;padding:7px 8px;min-height:34px}.pitch-toolbar{padding:11px;gap:8px;flex-wrap:wrap}.pitch-toolbar label{min-width:125px;flex:1}.pitch-toolbar strong{font-size:11px}.pitch-toolbar #resetPositions{max-width:none;width:100%;min-height:29px;font-size:9px}.pitch-instruction{font-size:10px}.pitch{aspect-ratio:1/1.36;border-radius:9px}.pitch-slot{width:74px;max-width:20%}.slot-select{gap:2px;min-height:70px;padding:3px 0}.slot-select svg{width:40px;height:36px;max-width:68%}.slot-select strong{font-size:8px;padding:3px}.slot-select small{font-size:6px}.slot-role{font-size:7px}.slot-handle{width:19px;height:21px;min-height:21px;font-size:17px;right:-2px;top:13px}.lineup-actions{gap:6px}.lineup-actions button{font-size:10px;padding:8px}.lineup-actions .primary{order:-1;flex:0 0 100%}.lineup-actions>button:not(.primary){flex:1}.other-lineups h2{font-size:20px}.other-lineups .pool-heading{align-items:start}.other-lineups .pool-heading button{font-size:9px;padding:5px;min-height:30px}.preview-heading h3{font-size:18px}.preview-heading button{font-size:9px}.answer-link{font-size:11px}.candidate strong{font-size:12px}.candidate-heading h2{font-size:22px}.candidate-search{font-size:14px}.candidate-list{padding-right:0}}
@media(hover:none){.selected-pool .player-card .remove-player,.slot-handle{opacity:1}}
@media(max-width:760px){.full-slot-name{display:none}.short-slot-name{display:block}.slot-select strong{max-width:100%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.slot-select small{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
