.deck-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.deck-title{font-size:32px;font-weight:650;background:transparent;border:1px solid transparent;padding:5px 0;max-width:900px}.deck-title:hover,.deck-title:focus{border-color:var(--line)}.deck-heading p{margin:5px 0}.deck-picture{display:block;position:relative;aspect-ratio:488/680;background:#1c303b;border-radius:8px;overflow:hidden}.deck-picture img{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;display:block}.image-fallback{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;padding:12px;font-size:14px;line-height:1.5}.image-fallback small{display:block}.deck-cover-head{display:flex;gap:20px;align-items:center}.deck-cover{width:100px;flex-shrink:0}.deck-cover-head h2{margin:8px 0}.import-panel summary, .deck-workspace summary{cursor:pointer;font-weight:600}.import-panel textarea{min-height:140px;font-family:Consolas,monospace;font-size:13px}.import-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:8px;max-height:340px;overflow:auto;margin-bottom:18px}.import-result{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:6px;padding:6px}.import-result div>*{display:block;font-size:12px}.import-thumb{width:44px;min-width:44px}.deck-search .row input{flex:1;min-width:180px}.deck-search-results{display:flex;gap:14px;overflow:auto;padding-top:15px}.deck-search-results>div{width:145px;min-width:145px;display:grid;gap:6px;font-size:12px}.deck-toolbar{padding:12px 0;margin:8px 0 14px;position:sticky;top:0;background:#0b141bf5;z-index:8;border-bottom:1px solid var(--line)}.deck-toolbar input{flex:1;max-width:240px}.view-switch{display:flex;gap:4px}.deck-workspace{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}.deck-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start}.deck-group{min-width:0}.deck-group h2{display:flex;justify-content:space-between;align-items:center;margin:0 0 10px;padding-bottom:9px;border-bottom:2px solid #3e645d;font-size:16px}.deck-group h2 span{background:#213b40;border-radius:12px;padding:3px 9px;color:#9fd3bd;font-size:12px}.deck-entry{position:relative;border:1px solid #233945;border-radius:6px;background:#11212b;display:grid;grid-template-columns:40px minmax(0,1fr) 25px;align-items:center;gap:9px;margin-bottom:5px;padding:4px}.deck-entry:hover,.deck-entry:focus-within{border-color:var(--gold);background:#1a303b}.entry-art{border:0;background:none;padding:0;position:relative;line-height:0;min-width:0}.entry-art .deck-picture{border-radius:4px}.entry-quantity{position:absolute;bottom:2px;right:2px;background:#0b141be8;color:#f0d396;border-radius:3px;padding:4px;font-size:11px;line-height:1;z-index:2}.entry-info{min-width:0}.entry-name{display:block;text-align:left;background:none;border:0;padding:0;line-height:1.35;font-size:13px;font-weight:600;width:100%}.entry-name:hover{background:transparent;color:#f0d396}.print-label{color:#8da8b6;font-size:10px;letter-spacing:.6px}.entry-mana{display:block;font-size:10px}.entry-edit{position:relative;align-self:start}.entry-edit summary{cursor:pointer;list-style:none;font-size:20px}.entry-edit>div{position:absolute;right:0;top:25px;background:#152832;padding:12px;width:190px;z-index:6;border:1px solid var(--gold);border-radius:8px;box-shadow:0 8px 22px #0008}.entry-edit label{margin:4px 0}.deck-inspector{position:sticky;top:80px;margin:0;max-height:calc(100vh - 95px);overflow:auto}.deck-inspector .eyebrow{font-size:10px;letter-spacing:1px}.deck-inspector .row button{font-size:11px;padding:5px}.inspector-image{margin:12px 0}.deck-inspector h2{font-size:18px}.deck-inspector p{font-size:13px}.oracle-text{white-space:pre-wrap}.deck-inspector>.row{gap:5px}.mode-images{grid-template-columns:repeat(2,minmax(0,1fr))}.mode-images .deck-group-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:10px}.mode-images .deck-entry,.mode-stacks .deck-entry{display:block;padding:0}.mode-images .entry-art,.mode-stacks .entry-art{display:block;width:100%}.mode-images .entry-info{padding:8px}.mode-images .entry-edit,.mode-stacks .entry-edit{position:absolute;right:5px;top:5px;background:#10222dee;border-radius:5px;padding:0 4px;z-index:3}.mode-stacks .deck-group-cards{padding-bottom:0}.mode-stacks .deck-entry:not(:last-child){margin-bottom:calc(-100% * 680 / 488 + 39px)}.mode-stacks .entry-info{display:none}.mode-stacks .deck-entry:focus-within,.mode-stacks .deck-entry:hover{z-index:4;box-shadow:0 6px 22px #000}.mode-stacks .entry-quantity{top:8px;left:8px;bottom:auto;right:auto}.mode-stacks .entry-edit>div{z-index:10}.large-card-faces{display:flex;gap:18px;justify-content:center;flex-wrap:wrap}.large-card-faces>section{flex:1;min-width:220px;max-width:350px}.large-card-faces .deck-picture{width:100%}@media(max-width:1500px){.deck-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.deck-workspace{grid-template-columns:minmax(0,1fr) 260px}}@media(max-width:900px){.deck-workspace{grid-template-columns:minmax(0,1fr) 230px}.deck-columns{grid-template-columns:1fr}.deck-heading{flex-wrap:wrap}.deck-toolbar{position:static}.deck-title{font-size:26px}}@media(max-width:650px){.deck-workspace{display:flex;flex-direction:column}.deck-workspace>div{width:100%}.deck-inspector{position:static;max-height:none;width:100%}.inspector-image{max-width:280px}.deck-columns{grid-template-columns:1fr}.mode-images .deck-group-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.mode-stacks .deck-group{max-width:270px;width:100%}.deck-heading .row{flex-wrap:wrap}}
.deck-columns{display:block;column-count:3;column-gap:22px}.deck-group{break-inside:avoid;margin-bottom:22px}.mode-images{column-count:2}.mode-stacks{column-count:3}@media(max-width:1500px){.deck-columns{column-count:2}}@media(max-width:900px){.deck-columns{column-count:1}}
.deck-status{position:fixed;bottom:0;left:0;right:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;background:#68258c;color:#fff;border-top:1px solid #a76cc5;box-shadow:0 -6px 24px #0005;font-size:14px}
.deck-status-totals{display:flex;align-items:center;gap:16px;white-space:nowrap}
.deck-status-types{display:flex;gap:16px;flex-wrap:wrap;justify-content:flex-end}
.deck-status-types span{white-space:nowrap;color:#e4ccec}.deck-status-types b{color:white;margin-right:3px}
body:has(.deck-status){padding-bottom:140px;scroll-padding-bottom:140px}
.deck-inspector{max-height:calc(100vh - 210px)}
.card-autocomplete{position:relative;flex:1;min-width:200px}.card-autocomplete input{width:100%}
#cardSuggestions{position:absolute;top:100%;left:0;right:0;z-index:40;background:#241e2e;border:1px solid #a76cc5;box-shadow:0 12px 30px #0008;border-radius:8px;overflow:hidden}
#cardSuggestions [role=option]{padding:12px 16px;cursor:pointer}#cardSuggestions [role=option]:hover,#cardSuggestions [aria-selected=true]{background:#68258c;color:white}
#suggestionStatus{display:block;color:var(--muted);font-size:12px}
@media(max-width:1000px){.deck-status{flex-wrap:wrap;padding:12px 16px;gap:10px}.deck-status-types{justify-content:flex-start;gap:8px 16px;font-size:12px}}
.commander-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px;max-height:430px;overflow:auto;margin:12px 0 20px;padding:6px}
.commander-choice{display:flex;flex-direction:column;gap:6px;width:100%;padding:6px;border:2px solid transparent;background:#162b36;text-align:left;border-radius:9px;color:inherit}
.commander-choice .deck-picture{width:100%}.commander-choice span:last-child{font-size:12px;line-height:1.3}
.commander-choice:hover,.commander-choice:focus-visible,.commander-choice.selected{border-color:#e2c68a;background:#273841}
.lobby-seat{position:relative;min-height:290px;overflow:hidden;isolation:isolate}
.lobby-seat-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 24%;opacity:.65;z-index:0;pointer-events:none}
.lobby-seat::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#10212bdf,#10212b7d 80%),linear-gradient(0deg,#10212bd9,transparent 65%);z-index:1;pointer-events:none}
.lobby-seat-content{position:relative;z-index:2}.lobby-seat-content select{background:#152631e8}

/* 2026-11-20 (tägliche Verbesserungen, Runde 4): deck editor footer and check buttons */
.deck-status-types span.is-zero{opacity:.42}
.deck-status-types span.is-zero b{color:#e4ccec}
.deck-status-types span{transition:opacity .25s}
.deck-status-types span.is-changed b{display:inline-block;animation:deck-count-pop .6s cubic-bezier(.2,1.5,.4,1)}
.deck-status-types span.is-changed{animation:deck-count-glow .9s ease-out}
@keyframes deck-count-pop{0%{transform:scale(1)}35%{transform:scale(1.45);color:#ffe6a3}100%{transform:none}}
@keyframes deck-count-glow{0%{text-shadow:0 0 0 #ffd36e00}30%{text-shadow:0 0 12px #ffd36ecc}100%{text-shadow:0 0 0 #ffd36e00}}
[data-action="validateDeck"]+[data-action="deckAutomation"]{margin-left:8px}
:root.ct-motion-off .deck-status-types span.is-changed,:root.ct-motion-off .deck-status-types span.is-changed b{animation:none}
@media (prefers-reduced-motion:reduce){.deck-status-types span.is-changed,.deck-status-types span.is-changed b{animation:none}}
/* Vorschläge 34–41 (online/VORSCHLAEGE-50.md): Deck-Editor-Zusätze, beide Designs. */
.deck-hero-bg{display:none}
.deck-hero-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:4px 0}
.deck-bracket-chip{font-size:12px;cursor:help}
.deck-price{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:6px;font-size:13px}
.deck-budget{display:inline-flex;align-items:center;gap:6px}
.deck-budget input{width:80px;padding:3px 6px}
.deck-budget-state.is-over{color:#f0a24b;font-weight:600}
.deck-budget-state.is-ok{color:#7fd39b}
.deck-price-note{color:#8fa9b7;font-size:11px;flex-basis:100%}
.inspector-price{font-size:13px;color:#cfd8dc}
.entry-type,.entry-price{display:block;font-size:11px;color:#8fa9b7}
.mode-images .entry-type,.mode-stacks .entry-type,.mode-stacks .entry-price{display:none}
.gc-badge{display:inline-block;margin-left:4px;padding:0 4px;border-radius:4px;font-size:10px;font-weight:700;background:#e9c46f;color:#1b1b1b}
.cat-dots{display:inline-flex;gap:3px;margin-left:4px;vertical-align:middle}
.cat-dot{width:7px;height:7px;border-radius:50%;display:inline-block}
.cat-ramp{background:#5fd38d}.cat-draw{background:#5aa0ea}.cat-removal{background:#e0566d}.cat-wipe{background:#c78bf0}
.deck-check{margin:12px 0}
.deck-check h3{margin:0}
.deck-check h3 small{font-weight:400;color:#8fa9b7}
.deck-check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin-top:8px}
.deck-check-row{display:grid;grid-template-columns:1fr auto;gap:2px 8px;text-align:left;padding:8px 10px;border-radius:8px;font-weight:400}
.deck-check-row b{font-size:18px;grid-row:span 2;align-self:center}
.deck-check-row small{color:#8fa9b7;font-size:11px}
.deck-check-row.is-active{outline:2px solid #e9c46f}
.deck-check-bar{grid-column:1/-1;height:5px;border-radius:3px;background:#ffffff14;overflow:hidden}
.deck-check-bar i{display:block;height:100%;border-radius:3px}
.deck-check-row.is-ok .deck-check-bar i{background:#5fd38d}.deck-check-row.is-low .deck-check-bar i{background:#e9c46f}.deck-check-row.is-high .deck-check-bar i{background:#f0a24b}
.deck-combos{margin:12px 0}
.deck-combos ul{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:6px}
.combo{display:grid;gap:2px;padding:6px 10px;border-radius:8px;border:1px solid #ffffff1a}
.combo small{color:#8fa9b7}
.combo.is-complete{border-color:#e9c46f88;background:#e9c46f12}.combo.is-complete b{color:#e9c46f}
.combo.is-missing{opacity:.75}
.deck-sort{display:inline-flex;align-items:center;gap:6px;font-size:13px}
.deck-query-chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.deck-query-chip{display:inline-flex;align-items:center;gap:4px;font-size:12px}
.deck-query-chip button{padding:0 6px;min-height:0;line-height:1.4;border-radius:999px}
.commander-start{margin:0 0 14px;border:1px solid #e9c46f55}
.commander-start h2{margin:0}
.commander-start-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;margin-top:10px}
.commander-start-card{display:grid;gap:4px;padding:4px;font-size:12px;font-weight:400;text-align:center}
.commander-start-card img{width:100%;border-radius:6px}
.trial-chip{margin-left:8px;background:#e9c46f22;border-color:#e9c46f88;color:#e9c46f}
.trial-end{margin-left:6px}
.deck-check-bar i.w0{width:0%}.deck-check-bar i.w5{width:5%}.deck-check-bar i.w10{width:10%}.deck-check-bar i.w15{width:15%}.deck-check-bar i.w20{width:20%}.deck-check-bar i.w25{width:25%}.deck-check-bar i.w30{width:30%}.deck-check-bar i.w35{width:35%}.deck-check-bar i.w40{width:40%}.deck-check-bar i.w45{width:45%}.deck-check-bar i.w50{width:50%}.deck-check-bar i.w55{width:55%}.deck-check-bar i.w60{width:60%}.deck-check-bar i.w65{width:65%}.deck-check-bar i.w70{width:70%}.deck-check-bar i.w75{width:75%}.deck-check-bar i.w80{width:80%}.deck-check-bar i.w85{width:85%}.deck-check-bar i.w90{width:90%}.deck-check-bar i.w95{width:95%}.deck-check-bar i.w100{width:100%}
.deck-card-actions>details{align-self:stretch}.deck-card-actions>details>summary{height:100%}
