:root{--bg:#15171b;--panel:#22252a;--panel2:#1a1b1f;--pink:#ff4fa3;--pink2:#ff86c5;--gold:#ffd400;--text:#fff;--muted:#b9bbc2;--border:#3b3e45;--ok:#62d59b;--danger:#ff6b7a}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at top,#28212a 0,#15171b 38%);color:var(--text);font:15px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;min-height:100vh}.topbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;padding:12px max(18px,calc((100% - 1200px)/2));background:rgba(21,23,27,.94);backdrop-filter:blur(12px);border-bottom:1px solid #363039}.brand{display:flex;align-items:center;gap:10px;color:white;text-decoration:none;font-size:19px;font-weight:900}.pig{font-size:28px}.topbar nav{display:flex;gap:8px}.topbar nav a,.button{color:white;text-decoration:none;padding:9px 13px;border:1px solid var(--border);border-radius:10px;background:#23252b}.topbar nav a:hover,.button:hover{border-color:var(--pink2);color:var(--pink2)}.page{max-width:1200px;margin:auto;padding:24px 18px 60px}.card{background:linear-gradient(145deg,#24272d,#202228);border:1px solid var(--pink2);border-radius:18px;box-shadow:0 10px 28px rgba(0,0,0,.32);padding:18px}.hero{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:20px}.hero h1{margin:2px 0 5px;color:var(--pink);font-size:clamp(27px,4vw,42px);line-height:1.1}.hero p{max-width:760px;margin:0;color:#efeff2}.eyebrow{text-transform:uppercase;letter-spacing:.14em;color:var(--gold);font-weight:900;font-size:12px}.hero-stats{display:flex;gap:10px;flex-wrap:wrap}.hero-stats span,.stats span,.pill{background:var(--panel2);border:1px solid var(--border);border-radius:12px;padding:10px 13px}.hero-stats b{color:var(--gold);font-size:20px}.layout{display:grid;grid-template-columns:290px 1fr;gap:18px}.filters{height:max-content;position:sticky;top:82px}.filters h2,.content-card h2,.card h2{margin:0 0 8px;color:var(--pink)}label{display:flex;flex-direction:column;gap:6px;font-weight:700;margin:12px 0}.profession-row{display:grid;grid-template-columns:auto 1fr 60px;align-items:center;gap:9px;margin:6px 0;padding:8px;border-radius:10px;background:#1b1d22}.level{width:60px}.switch{flex-direction:row;align-items:center;background:#1b1d22;padding:10px;border-radius:10px}input,select,button{font:inherit}input,select{width:100%;color:#fff;background:#16181d;border:1px solid #444750;border-radius:9px;padding:9px 10px;outline:none}input:focus,select:focus{border-color:var(--pink2);box-shadow:0 0 0 3px rgba(255,134,197,.12)}button,.primary{border:0;border-radius:10px;padding:10px 15px;font-weight:900;cursor:pointer}.primary{background:linear-gradient(135deg,var(--pink),#d93086);color:#fff}.primary:hover{filter:brightness(1.08)}.section-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:12px}.muted{color:var(--muted);margin-top:0}.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:12px}table{width:100%;border-collapse:collapse;min-width:750px}th,td{text-align:left;padding:11px 12px;border-bottom:1px solid #34373e}th{background:#181a1f;color:var(--pink2);font-size:12px;text-transform:uppercase;letter-spacing:.05em;position:sticky;top:0}tbody tr{cursor:pointer}tbody tr:hover{background:rgba(255,79,163,.07)}tbody tr.locked{opacity:.5}.item-cell{display:flex;align-items:center;gap:9px;font-weight:800}.item-cell img{width:36px;height:36px;object-fit:contain;background:#17191e;border-radius:8px;padding:3px}.modal{position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.72);display:grid;place-items:center;padding:20px}.modal.hidden{display:none}.modal-panel{width:min(820px,100%);max-height:90vh;overflow:auto;position:relative}.modal-close{position:absolute;right:12px;top:12px;color:#fff;background:#3a3d45;font-size:24px;width:38px;height:38px;padding:0}.price-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:15px 0}.price-kpis div{background:#181a1f;border:1px solid var(--border);border-radius:12px;padding:12px}.price-kpis span{color:var(--muted);display:block}.price-kpis b{color:var(--gold);font-size:23px}.admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:18px}.form-grid{display:grid;gap:8px}.stats{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.visibility-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;max-height:520px;overflow:auto;padding:8px;background:#181a1f;border-radius:12px}.visibility-grid label{display:flex;flex-direction:row;align-items:center;margin:0;padding:7px;background:#23262c;border-radius:8px}.visibility-grid input{width:auto}.login-card{max-width:480px;margin:10vh auto}.flash{padding:12px 14px;border-radius:10px;margin-bottom:14px}.flash.success{background:#163a2a;border:1px solid var(--ok)}.flash.error{background:#421c24;border:1px solid var(--danger)}footer{text-align:center;color:#777b84;padding:25px}.ingredient-ek{width:120px}code{color:var(--gold)}@media(max-width:900px){.layout{grid-template-columns:1fr}.filters{position:static}.admin-grid{grid-template-columns:1fr}.visibility-grid{grid-template-columns:repeat(2,1fr)}.hero{align-items:flex-start;flex-direction:column}.price-kpis{grid-template-columns:repeat(2,1fr)}}

/* Auswahl der Berufe */
.profession-picker{position:relative;margin:12px 0}.picker-button{width:100%;display:flex;justify-content:space-between;background:#181a1f;color:#fff;border:1px solid var(--pink2);padding:11px 13px}.profession-menu{position:absolute;z-index:30;top:calc(100% + 6px);left:0;right:0;max-height:420px;overflow:auto;background:#17191e;border:1px solid var(--pink2);border-radius:12px;box-shadow:0 16px 32px rgba(0,0,0,.55);padding:8px}.profession-menu.hidden{display:none}.profession-group{padding:6px}.profession-group+.profession-group{border-top:1px solid var(--border)}.profession-group-title{color:var(--gold);font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:900;padding:5px 7px}.profession-option{display:block;width:100%;text-align:left;color:#fff;background:transparent;padding:8px;border-radius:8px}.profession-option:hover{background:rgba(255,79,163,.14)}.profession-option:disabled{opacity:.35;cursor:not-allowed}.selected-professions{display:grid;gap:7px}.selected-profession{display:grid;grid-template-columns:1fr 62px 34px;gap:8px;align-items:center;padding:9px;background:#1b1d22;border-radius:10px}.selected-profession div{display:flex;flex-direction:column}.selected-profession span{font-size:11px;color:var(--muted)}.selected-profession .remove-profession{padding:0;width:32px;height:32px;background:#363941;color:#fff;font-size:20px}.empty-selection{padding:12px;border:1px dashed var(--border);border-radius:10px;color:var(--muted);text-align:center}.slider-block{margin:16px 0}.slider-head{display:flex;align-items:center;justify-content:space-between}.slider-head label{margin:0}.slider-head strong{color:var(--gold)}input[type=range]{padding:0;border:0;accent-color:var(--pink);background:transparent}.slider-scale{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;padding:0 2px}
/* Rohmaterialien nach Excel-Kategorien */
.raw-category-grid{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:16px;align-items:start}.raw-category{padding:0;overflow:hidden;border-color:#fff;border-radius:4px}.raw-category h2{margin:0;padding:7px 10px;text-align:center;color:#fff;background:#275b17;font-size:20px}.raw-category:nth-child(2) h2{background:#925000}.raw-category:nth-child(3) h2{background:#477fe8}.raw-category:nth-child(4) h2{background:#214c91}.raw-category:nth-child(5) h2{background:#45237d}.raw-category:nth-child(6) h2{background:#844060}.raw-category:nth-child(7) h2{background:#4b4f58}.raw-subtitle{text-align:center;background:#e17eb0;color:#272930;font-weight:900;font-size:17px;padding:4px}.raw-table{min-width:0}.raw-table th,.raw-table td{padding:5px 8px}.raw-table td:last-child{text-align:right;color:#ff858f;white-space:nowrap}.raw-table tbody tr{cursor:default}.admin-raw-groups{display:grid;grid-template-columns:repeat(2,minmax(320px,1fr));gap:14px}.admin-raw-group{background:#181a1f;border:1px solid var(--border);border-radius:12px;overflow:auto}.admin-raw-group h3{margin:0;padding:10px 12px;color:var(--gold)}.admin-raw-group table{min-width:560px}.admin-raw-group input{padding:7px}.raw-category-grid .card{box-shadow:0 8px 20px rgba(0,0,0,.25)}
@media(max-width:1050px){.raw-category-grid{grid-template-columns:repeat(2,minmax(260px,1fr))}.admin-raw-groups{grid-template-columns:1fr}}@media(max-width:650px){.raw-category-grid{grid-template-columns:1fr}.selected-profession{grid-template-columns:1fr 58px 34px}}

/* Berufs-Icons */
.profession-option{display:flex;align-items:center;gap:9px}
.profession-option img,.profession-icon{width:32px;height:32px;object-fit:contain;background:#121419;border:1px solid #343740;border-radius:8px;padding:2px;flex:0 0 auto}
.selected-profession{grid-template-columns:36px 1fr 62px 34px}

/* Lückenlose Grundressourcen-Spalten */
.raw-category-grid{display:block;columns:3 300px;column-gap:16px}
.raw-category{display:inline-block;width:100%;margin:0 0 16px;break-inside:avoid;vertical-align:top}

/* Admin: Kategorien und Ressourcen */
.admin-raw-groups{align-items:start}
.admin-raw-group{overflow:hidden}
.admin-raw-group-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;background:#181a1f;border-bottom:1px solid var(--border)}
.admin-raw-group-head h3{padding:0;margin:0}
.admin-raw-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.button.small{padding:6px 9px;font-size:12px}
.button.danger{border-color:#8f3544;color:#ff9aa6;background:#2d181d}
.button.danger:hover{border-color:var(--danger);color:#fff}
.admin-raw-group table{min-width:430px}
.admin-raw-group th:last-child,.admin-raw-group td:last-child{width:110px;text-align:right}
@media(max-width:900px){.raw-category-grid{columns:2 280px}}
@media(max-width:650px){.raw-category-grid{columns:1}.selected-profession{grid-template-columns:34px 1fr 58px 34px}.admin-raw-group-head{align-items:flex-start;flex-direction:column}.admin-raw-actions{justify-content:flex-start}}
.brand-tag{font-weight:900}.brand-tag .g{color:#000;text-shadow:0 0 1px #fff}.brand-tag .e{color:#f00}.brand-tag .r{color:#ff0}.brand .piitches{color:#00ff00}.language-mode{width:auto;margin-left:4px;padding:8px 10px}.gold-text,.eyebrow{color:#d9ad00}.table-name{color:#4e91e8}.item-picker{position:relative}.search-menu{position:absolute;left:0;right:0;z-index:35;max-height:320px;overflow:auto;background:#17191e;border:1px solid var(--pink2);border-radius:10px;box-shadow:0 14px 30px rgba(0,0,0,.5)}.search-menu.hidden{display:none}.search-menu button{display:flex;align-items:center;gap:9px;width:100%;background:transparent;color:#fff;text-align:left;padding:8px}.search-menu button:hover{background:rgba(255,79,163,.14)}.search-menu img{width:30px;height:30px;object-fit:contain}.selected-search-items{display:grid;gap:6px;margin:8px 0}.selected-search-item,.my-price-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;padding:8px 10px;background:#1b1d22;border-radius:9px;color:var(--muted)}.selected-search-item button,.my-price-row button{width:30px;height:30px;padding:0;background:#363941;color:#fff}.my-prices{margin-top:18px}.my-price-row{grid-template-columns:1fr 82px 30px}.my-price-row input{padding:6px}.profession-option img,.profession-icon{width:32px;height:32px}.selected-profession{grid-template-columns:32px 1fr 62px 34px}.selected-profession>div{min-width:0}.selected-profession strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px){.topbar{align-items:flex-start;gap:10px}.topbar nav{flex-wrap:wrap;justify-content:flex-end}.language-mode{max-width:130px}}

/* Stable recipe card dimensions across language modes. */
.layout{grid-template-columns:290px minmax(0,1fr)}
.content-card{min-width:0;width:100%}
.content-card .section-head{min-height:68px}
.content-card .table-wrap{width:100%}
.content-card table{table-layout:fixed}
.content-card th:nth-child(1),.content-card td:nth-child(1){width:24%}
.content-card th:nth-child(2),.content-card td:nth-child(2){width:17%}
.content-card th:nth-child(3),.content-card td:nth-child(3){width:7%}
.content-card th:nth-child(4),.content-card td:nth-child(4){width:20%}
.content-card th:nth-child(n+5),.content-card td:nth-child(n+5){width:8%}
.content-card td{overflow:hidden;text-overflow:ellipsis}

/* Personal purchase-price editor. */
.my-price-row{grid-template-columns:minmax(0,1fr) 92px 30px;align-items:end}
.my-price-name{align-self:center;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.my-price-input{margin:0;gap:2px;font-size:10px;color:var(--gold);text-transform:uppercase;letter-spacing:.05em}
.my-price-input input{font-size:14px;color:#fff}

/* Raw-material table alignment. */
.raw-table th:last-child,.raw-table td:last-child{text-align:right}
.raw-table th:last-child{color:var(--gold)}

/* Layout polish: more room for station names and stable updates. */
.page{max-width:1500px}
.brand{font-size:25px}
.brand-tag,.brand .piitches{font-size:1em}
.layout{grid-template-columns:320px minmax(0,1fr)}
.content-card{min-width:0}
.content-card .table-wrap{min-height:430px}
.content-card table{min-width:1040px}
.content-card th:nth-child(1){width:23%}
.content-card th:nth-child(2){width:15%}
.content-card th:nth-child(3){width:7%}
.content-card th:nth-child(4){width:25%}
.content-card th:nth-child(n+5){width:7.5%}
.content-card td:nth-child(2),.content-card td:nth-child(4){white-space:normal;overflow:visible;text-overflow:clip}
.content-card .table-name{white-space:normal;line-height:1.25}
.table-wrap.is-calculating{opacity:1;filter:none}
.table-wrap.is-calculating::after{display:none}

/* Compact, separate switch directly below the profession picker. */
.switch-compact{width:100%;min-height:42px;margin:8px 0 10px;padding:7px 10px;display:grid;grid-template-columns:22px 1fr;gap:8px;align-items:center}
.switch-compact input{width:16px;height:16px;margin:0}
.switch-compact span{font-size:13px;line-height:1.25;font-weight:700}

/* Personal prices: readable localized names and a centered EK label. */
.my-price-row{grid-template-columns:minmax(0,1fr) 96px 30px;align-items:end}
.my-price-name{font-size:13px;line-height:1.25;white-space:normal;overflow-wrap:anywhere;padding-bottom:8px}
.my-price-input{margin:0;gap:4px;align-items:center}
.my-price-input>span{width:100%;text-align:center;font-size:15px;line-height:1.2;font-weight:800;color:var(--gold)}
.my-price-input input{text-align:center}

@media(max-width:1050px){.layout{grid-template-columns:300px minmax(0,1fr)}.page{padding-left:12px;padding-right:12px}}
@media(max-width:900px){.layout{grid-template-columns:1fr}.content-card table{min-width:980px}}

/* Final alignment and admin search corrections */
.page{position:relative}
.topbar-inner{position:relative;width:100%;max-width:1684px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{font-size:30px;line-height:1;gap:4px;white-space:nowrap}
.brand-piitches{margin-left:7px;color:#00ff00}
.brand-g{color:#000;text-shadow:0 0 1px #fff}.brand-e{color:#f00}.brand-r{color:#ff0}.brand-bracket{color:#fff}
@media(min-width:901px){.topbar .brand{transform:translateX(-111px)}}
.my-price-row{align-items:center}
.my-price-name{align-self:center;text-align:left;line-height:1.25}
.my-price-input{align-self:center;margin:0}
.my-price-input>span{display:block;text-align:left;font-size:13px;line-height:1.1;margin:0 0 5px}
.my-price-row>button{align-self:center;justify-self:center;color:#fff;background:#b32638;border:1px solid #ff6b7a}
.selected-profession button,.selected-search-item button,.modal-close,.danger{color:#fff;background:#b32638;border-color:#ff6b7a}
.visibility-search-label{max-width:520px;margin:12px 0}
.visibility-grid label[hidden]{display:none!important}
.visibility-grid label{
  display:grid!important;
  grid-template-columns:auto 34px minmax(0,1fr);
  align-items:center;
  gap:9px;
}

/* Webshop */
.webshop-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.webshop-hero h1{margin:0 0 6px;color:var(--pink);font-size:38px;line-height:1.05}
.webshop-wallet{min-width:240px;padding:16px;border:1px solid var(--border);border-radius:8px;background:#181a1f}
.webshop-wallet span{display:block;color:var(--muted);font-weight:800;text-transform:uppercase;font-size:12px}
.webshop-wallet strong{display:block;color:var(--gold);font-size:28px;line-height:1.15}
.webshop-warning{margin-bottom:18px}
.webshop-category{margin:22px 0}
.webshop-category h2{margin:0;color:var(--pink)}
.webshop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:14px}
.webshop-product-card{display:grid;grid-template-rows:150px 1fr;min-height:390px;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#202228;box-shadow:0 8px 20px rgba(0,0,0,.24)}
.webshop-product-card.featured{border-color:var(--gold)}
.webshop-product-card.webshop-product-special{border-color:#4e91e8}
.webshop-product-card.webshop-product-discount{border-color:var(--ok)}
.webshop-product-card.webshop-product-deal{border-color:#ff6b7a}
.webshop-product-media{position:relative;display:grid;place-items:center;background:linear-gradient(145deg,#181a1f,#262930)}
.webshop-product-media img{width:112px;height:112px;object-fit:contain;padding:6px}
.webshop-product-media span{position:absolute;top:10px;left:10px;padding:5px 8px;border-radius:999px;background:#503d09;color:var(--gold);font-size:12px;font-weight:900}
.webshop-product-media .webshop-badge-daily{background:#503d09;color:var(--gold)}
.webshop-product-media .webshop-badge-special{background:#143a63;color:#7fc4ff}
.webshop-product-media .webshop-badge-discount{background:#143820;color:#62d59b}
.webshop-product-media .webshop-badge-deal{background:#4a1621;color:#ff8fa0}
.webshop-product-body{display:grid;grid-template-rows:auto 1fr auto auto;gap:10px;padding:14px}
.webshop-product-body h3{margin:0;color:#fff;font-size:19px;line-height:1.2}
.webshop-product-body p{margin:0;color:var(--muted)}
.webshop-product-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid var(--border);border-radius:8px;background:#181a1f}
.webshop-product-meta span{font-weight:800}
.webshop-product-meta strong{color:var(--gold);text-align:right}
.webshop-limit{padding:8px 10px;border-radius:8px;background:#181a1f;color:var(--pink2);font-size:13px;font-weight:900}
.webshop-buy-form{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}
.webshop-buy-form label{margin:0}
.webshop-buy-blocked{padding:7px 9px;border:1px solid rgba(255,107,122,.5);border-radius:8px;background:#2a171c;color:#ff9aa6;font-size:12px;font-weight:900}
button:disabled,.primary:disabled{opacity:.45;cursor:not-allowed;filter:none}
.admin-shop-grid{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:14px;margin-bottom:16px}
.shop-admin-panel{padding:14px;border:1px solid var(--border);border-radius:8px;background:#181a1f}
.shop-admin-panel h3{margin:0;color:var(--gold)}
.shop-products-form{display:grid;gap:12px;margin-top:14px}
.shop-products-form .table-wrap{overflow:visible}
.shop-products-admin-table{min-width:0;table-layout:fixed;font-size:13px}
.shop-products-admin-table th,.shop-products-admin-table td{padding:7px 6px}
.shop-products-admin-table input,.shop-products-admin-table select{min-width:0;padding:7px 6px}
.shop-products-admin-table th:nth-child(1),.shop-products-admin-table td:nth-child(1){width:7%}
.shop-products-admin-table th:nth-child(2),.shop-products-admin-table td:nth-child(2){width:10%}
.shop-products-admin-table th:nth-child(3),.shop-products-admin-table td:nth-child(3){width:10%}
.shop-products-admin-table th:nth-child(4),.shop-products-admin-table td:nth-child(4){width:16%}
.shop-products-admin-table th:nth-child(5),.shop-products-admin-table td:nth-child(5){width:9%}
.shop-products-admin-table th:nth-child(6),.shop-products-admin-table td:nth-child(6){width:5.5%}
.shop-products-admin-table th:nth-child(7),.shop-products-admin-table td:nth-child(7){width:5.5%}
.shop-products-admin-table th:nth-child(8),.shop-products-admin-table td:nth-child(8){width:8.5%}
.shop-products-admin-table th:nth-child(9),.shop-products-admin-table td:nth-child(9){width:5.5%}
.shop-products-admin-table th:nth-child(10),.shop-products-admin-table td:nth-child(10){width:5.5%}
.shop-products-admin-table th:nth-child(11),.shop-products-admin-table td:nth-child(11){width:5%}
.shop-products-admin-table th:nth-child(12),.shop-products-admin-table td:nth-child(12){width:12.5%}
.shop-products-admin-table td:nth-child(5) input+input,.shop-new-product-row td:nth-child(5) input+input{margin-top:6px}
.admin-shop-item-picker{margin-bottom:6px}
.admin-resource-item-picker{min-width:260px}
.admin-shop-item-picker .search-menu,.admin-resource-item-picker .search-menu{right:auto;width:min(520px,70vw);max-height:430px}
.admin-shop-item-picker .search-menu button,.admin-resource-item-picker .search-menu button{gap:12px;min-height:54px;padding:10px 12px}
.admin-shop-item-picker .search-menu button span,.admin-resource-item-picker .search-menu button span{display:flex;min-width:0;flex-direction:column;align-items:flex-start}
.admin-shop-item-picker .search-menu small,.admin-resource-item-picker .search-menu small{color:var(--muted);font-size:11px;white-space:normal;overflow-wrap:anywhere}
.admin-shop-item-picker .search-menu span:first-line{line-height:1.2}
.admin-shop-item-picker input[readonly],.shop-products-admin-table input[readonly]{opacity:.75}
.inline-check{display:flex;flex-direction:row;align-items:center;gap:8px;margin:8px 0 0;color:var(--muted)}
.inline-check input{width:auto}
.inline-check-compact{margin:0;white-space:nowrap}
.shop-delete-button{display:inline-grid;place-items:center;width:28px;min-width:28px;height:28px;margin:6px 0 0;padding:0;border:1px solid #ff6b7a;border-radius:8px;background:#b32638;color:#fff;font-size:20px;font-weight:900;line-height:1}
.shop-delete-button:hover{background:#d12d43;border-color:#ff91a0}
.shop-transactions-wrap{margin-top:16px}
.shop-category-list{display:grid;gap:8px}
.shop-category-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:#202228}
.shop-category-row input{margin:0}
.shop-category-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.shop-currency-list{display:grid;gap:8px}
.shop-currency-row{display:grid;grid-template-columns:minmax(120px,.45fr) minmax(160px,1fr);gap:10px}
.shop-currency-row label{margin:0}
.shop-balance-table{min-width:620px}
.shop-balance-table th:not(:first-child),.shop-balance-table td:not(:first-child){text-align:right}
@media(max-width:800px){.webshop-hero{align-items:flex-start;flex-direction:column}.webshop-wallet{width:100%}.admin-shop-grid{grid-template-columns:1fr}.webshop-buy-form{grid-template-columns:1fr}.shop-category-row{grid-template-columns:1fr}.shop-category-actions{justify-content:flex-start}}
.visibility-icon{
  width:34px;
  height:34px;
  object-fit:contain;
  padding:2px;
  border:1px solid #343740;
  border-radius:8px;
  background:#121419;
}
.visibility-grid span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.admin-icon-picker{
  position:relative;
}
.admin-icon-picker label{
  margin-bottom:6px;
}
.hidden{display:none!important}

/* Daily spin */
.daily-spin-shell{display:grid;gap:22px}
.daily-spin-main{display:flex;align-items:stretch;justify-content:space-between;gap:18px}
.daily-spin-main-compact{max-width:980px;width:100%;margin:0 auto}
.daily-spin-copy,.daily-spin-wallet,.daily-spin-prizes,.daily-spin-history{border:1px solid var(--border);border-radius:8px;background:linear-gradient(145deg,#24272d,#1b1d22);box-shadow:0 10px 28px rgba(0,0,0,.28);padding:18px}
.daily-spin-copy{flex:1;min-height:160px}
.daily-spin-copy h1{margin:4px 0 8px;color:var(--pink);font-size:clamp(36px,6vw,72px);line-height:.95}
.daily-spin-status{display:inline-flex;margin-top:14px;padding:10px 12px;border:1px solid rgba(255,212,0,.45);border-radius:8px;background:#211f16;color:var(--gold);font-weight:900}
.daily-spin-wallet{min-width:260px;display:flex;flex-direction:column;justify-content:center}
.daily-spin-wallet span{color:var(--muted);font-weight:900;text-transform:uppercase;font-size:12px}
.daily-spin-wallet strong{display:block;color:var(--gold);font-size:30px;line-height:1.15}
.daily-spin-tabs{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.daily-spin-tab{color:#fff;background:#23252b;border:1px solid var(--border);border-radius:8px;padding:10px 14px}
.daily-spin-tab.active{border-color:var(--pink2);color:var(--pink2);background:#181a1f}
.daily-spin-panel{display:none;gap:18px;justify-items:center}
.daily-spin-panel.active{display:grid}
.daily-spin-stage{position:relative;display:grid;grid-template-columns:630px;gap:18px;align-items:center;justify-content:center;width:max-content;max-width:100%;margin:0 auto;padding:18px;border:1px solid var(--pink2);border-radius:8px;background:radial-gradient(circle at 28% 12%,rgba(255,212,0,.18),transparent 28%),linear-gradient(145deg,#202228,#17191e);overflow:hidden}
.daily-spin-wheel-wrap{position:relative;width:min(90vw,630px);aspect-ratio:1;margin:auto;display:grid;place-items:center}
.daily-spin-wheel{position:absolute;inset:0;border-radius:50%;border:10px solid #14161a;box-shadow:0 0 0 2px rgba(255,255,255,.12),0 18px 38px rgba(0,0,0,.45),inset 0 0 0 8px rgba(255,255,255,.08);transition:transform 4.2s cubic-bezier(.08,.74,.08,1);overflow:hidden;background:transparent}
.daily-spin-wheel::before,.daily-spin-wheel::after{display:none}
.daily-spin-svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.daily-spin-svg-labels text{fill:#15171b;font-weight:900;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;paint-order:stroke;stroke:rgba(255,255,255,.38);stroke-width:.22px;stroke-linejoin:round;letter-spacing:0}
.daily-spin-segment-label{display:none}
.daily-spin-pointer{position:absolute;z-index:4;top:-8px;left:50%;width:0;height:0;transform:translateX(-50%);border-left:18px solid transparent;border-right:18px solid transparent;border-top:34px solid #fff;filter:drop-shadow(0 5px 5px rgba(0,0,0,.55))}
.daily-spin-button{position:relative;z-index:5;width:150px;height:150px;border-radius:50%;display:grid;place-items:center;padding:0;color:#17191e;background:linear-gradient(145deg,#fff,var(--gold));border:8px solid #15171b;box-shadow:0 8px 20px rgba(0,0,0,.42);font-size:18px;text-transform:uppercase}
.daily-spin-button:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.05)}
.daily-spin-button:disabled{opacity:.84;color:#4f4a31}
.daily-spin-result{display:grid;gap:6px;justify-self:stretch;padding:18px;min-width:min(100%,320px);border:1px solid var(--border);border-radius:8px;background:#181a1f;text-align:center}
.daily-spin-result strong{color:var(--pink2);font-size:18px;text-transform:uppercase}
.daily-spin-result span{color:var(--gold);font-size:36px;font-weight:1000;line-height:1.05}
.daily-spin-win{animation:dailySpinPulse .85s ease both}
.daily-spin-prizes h2,.daily-spin-history h2{margin:0 0 6px;color:var(--pink)}
.daily-spin-prize-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.daily-spin-prize{display:flex;align-items:center;gap:10px;min-height:52px;padding:11px;border:1px solid var(--border);border-radius:8px;background:#181a1f}
.daily-spin-prize span{width:18px;height:18px;border-radius:50%;background:var(--prize-color);box-shadow:0 0 0 3px rgba(255,255,255,.08)}
.daily-spin-prize strong{color:#fff}
.daily-spin-prizes,.daily-spin-history{width:min(980px,100%)}
.daily-spin-history{max-width:980px}
.daily-spin-history-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--border)}
.daily-spin-history-row:last-child{border-bottom:0}
.daily-spin-history-row span,.daily-spin-empty{color:var(--muted)}
.daily-spin-history-row strong{color:var(--gold)}
@keyframes dailySpinPulse{0%{filter:brightness(1)}35%{filter:brightness(1.45)}100%{filter:brightness(1)}}
@media(max-width:900px){.daily-spin-main{flex-direction:column}.daily-spin-wallet{min-width:0}.daily-spin-stage{grid-template-columns:1fr;padding:14px;width:100%}.daily-spin-result{justify-self:stretch}.daily-spin-pointer{top:-6px}.daily-spin-button{width:112px;height:112px;font-size:15px}}
.daily-spin-admin-form{display:grid;gap:16px}
.daily-spin-admin-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.daily-spin-admin-wheel{display:grid;gap:12px}
.daily-spin-admin-table{min-width:1180px}
.daily-spin-admin-table input[type=color]{min-width:54px;padding:4px}
.daily-spin-reset-grid{margin-top:16px}

/* 2026-07-15: Ausrichtung der roten Entfernen-Schaltflächen und Sticky-Filterspalte */
.filter-column{
  position:sticky;
  top:82px;
  align-self:start;
  height:max-content;
}
.filter-column>.filters{
  position:static;
  top:auto;
}
.filter-column>.switch-compact{
  position:relative;
  z-index:2;
}

button.remove-profession,
button[data-delete-price],
.selected-search-item>button{
  display:inline-grid!important;
  place-items:center!important;
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  min-height:34px!important;
  padding:0!important;
  margin:0!important;
  line-height:1!important;
  color:#fff!important;
  background:#b32638!important;
  border:1px solid #ff6b7a!important;
  border-radius:10px!important;
}
button.remove-profession:hover,
button[data-delete-price]:hover,
.selected-search-item>button:hover{
  background:#d12d43!important;
  border-color:#ff91a0!important;
}

.my-price-row{
  grid-template-columns:minmax(0,1fr) 96px 34px!important;
  align-items:end!important;
}
.my-price-name{
  align-self:end!important;
  min-height:38px;
  display:flex;
  align-items:center;
  text-align:left;
}
.my-price-input{
  align-self:end!important;
}
.my-price-input input{
  min-height:38px;
}
.my-price-row>button[data-delete-price]{
  align-self:end!important;
  margin-bottom:2px!important;
}

@media(max-width:900px){
  .filter-column{position:static;top:auto}
}

/* 2026-07-15: Einheitliche Entfernen-Schaltflächen außerhalb der grauen Auswahlboxen */
.selected-search-row,
.my-price-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 36px;
  gap:10px;
  align-items:center;
}
.selected-search-item{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:9px 12px;
  background:#1b1d22;
  border-radius:9px;
  color:#ff86c5;
  font-weight:700;
}
.my-price-entry{margin-top:8px}
.my-price-label{
  width:96px;
  margin:0 0 5px auto;
  color:var(--gold);
  font-size:13px;
  font-weight:900;
  text-align:left;
}
.my-price-box{
  display:grid;
  grid-template-columns:minmax(0,1fr) 96px;
  gap:10px;
  align-items:center;
  min-height:54px;
  padding:8px 10px;
  background:#1b1d22;
  border-radius:9px;
}
.my-price-name{
  display:flex!important;
  align-items:center!important;
  min-height:38px!important;
  align-self:center!important;
  text-align:left!important;
  line-height:1.2;
}
.my-price-box input{min-height:38px;padding:6px 8px}
button.remove-profession,
button.remove-button,
button[data-delete-price],
button[data-remove-item]{
  display:inline-grid!important;
  place-items:center!important;
  width:36px!important;
  min-width:36px!important;
  height:36px!important;
  min-height:36px!important;
  padding:0!important;
  margin:0!important;
  line-height:1!important;
  font-size:20px!important;
  font-weight:900!important;
  color:#fff!important;
  background:#b32638!important;
  border:1px solid #ff6b7a!important;
  border-radius:10px!important;
}
button.remove-profession:hover,
button.remove-button:hover,
button[data-delete-price]:hover,
button[data-remove-item]:hover{background:#d12d43!important;border-color:#ff91a0!important}
.selected-profession{grid-template-columns:32px minmax(0,1fr) 62px 36px!important}
@media(max-width:420px){
  .my-price-box{grid-template-columns:minmax(0,1fr) 88px}
  .my-price-label{width:88px}
}

/* 2026-07-15: saubere, einheitliche Auswahlzeilen und getrennte Filterbereiche */
.topbar{padding-left:18px;padding-right:18px}
.topbar-inner{max-width:1464px}
@media(min-width:1756px){
  .topbar nav{transform:translateX(128px)}
}

.filter-section{
  margin-top:16px;
  padding-top:15px;
  border-top:1px solid rgba(255,134,197,.28);
}
.filter-section.my-prices{margin-top:18px}
.filter-section.my-prices h2{margin-bottom:10px}

.selected-professions{display:grid;gap:7px}
.selected-profession-row,
.selected-search-row,
.my-price-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 36px!important;
  gap:10px!important;
  align-items:center!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border-radius:0!important;
  color:inherit!important;
}
.selected-profession{
  display:grid!important;
  grid-template-columns:32px minmax(0,1fr) 62px!important;
  gap:8px!important;
  align-items:center!important;
  min-height:54px;
  padding:9px!important;
  background:#1b1d22!important;
  border-radius:10px!important;
}
.selected-profession>div{display:flex;flex-direction:column;min-width:0}
.selected-profession .level{width:62px}

.my-price-entry{margin:8px 0 0}
.my-price-label{
  width:96px;
  margin:0 46px 5px auto;
  color:var(--gold);
  font-size:13px;
  font-weight:900;
  text-align:left;
}
.my-price-box{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 96px!important;
  gap:10px!important;
  align-items:center!important;
  min-height:54px!important;
  padding:8px 10px!important;
  background:#1b1d22!important;
  border-radius:9px!important;
}
.my-price-name{
  display:flex!important;
  align-items:center!important;
  min-height:38px!important;
  padding:0!important;
  align-self:center!important;
  text-align:left!important;
  line-height:1.2!important;
}
.my-price-box input{min-height:38px!important;margin:0!important}

button.remove-profession,
button.remove-button,
button[data-delete-price],
button[data-remove-item]{
  align-self:center!important;
  justify-self:center!important;
  width:36px!important;
  min-width:36px!important;
  height:36px!important;
  min-height:36px!important;
  padding:0!important;
  margin:0!important;
}

@media(max-width:420px){
  .my-price-box{grid-template-columns:minmax(0,1fr) 88px!important}
  .my-price-label{width:88px;margin-right:46px}
  .selected-profession{grid-template-columns:32px minmax(0,1fr) 58px!important}
}

/* 2026-07-15: Suchauswahl und Meine Preise als sichtbar getrennte Karten */
.filter-column {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  align-items: stretch !important;
}

.filter-column > .card {
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.filter-column > .filters,
.filter-column > .search-card,
.filter-column > .prices-card,
.filter-column > .switch-compact {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  background: #22252a !important;
  border: 1px solid #ff86c5 !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.22) !important;
}

.filter-column > .search-card,
.filter-column > .prices-card {
  display: block !important;
  padding: 16px 18px !important;
  overflow: visible !important;
}

.filter-column > .search-card::before,
.filter-column > .prices-card::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: -8px;
  height: 1px;
  background: rgba(255,134,197,.2);
  pointer-events: none;
}

.search-card .item-picker,
.search-card .selected-search-items,
.prices-card #my-prices-list {
  width: 100% !important;
}

.search-card label,
.prices-card h2 {
  display: block !important;
  margin: 0 0 10px !important;
}

.prices-card h2 {
  color: var(--pink) !important;
}

/* Preiszeile: graue Inhaltsbox links, gleich großes rotes X separat rechts */
.prices-card .my-price-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 36px !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 8px 0 0 !important;
  background: transparent !important;
}

.prices-card .my-price-entry,
.prices-card .my-price-box {
  min-width: 0 !important;
}

.prices-card .my-price-box {
  min-height: 54px !important;
}

.prices-card button[data-delete-price] {
  align-self: center !important;
  justify-self: center !important;
  margin: 0 !important;
}

/* Die separate Checkbox-Karte bleibt unter den anderen Karten sichtbar. */
.filter-column > .switch-compact {
  z-index: 1 !important;
  flex: 0 0 auto !important;
}

/* FINAL: klar getrennte Seitenkarten und einheitliche Auswahlzeilen */
.filter-column{
  display:flex!important;
  flex-direction:column!important;
  gap:16px!important;
  position:static!important;
  align-self:start!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.filter-column>.sidebar-card{
  display:block!important;
  position:relative!important;
  width:100%!important;
  margin:0!important;
  padding:18px!important;
  background:linear-gradient(145deg,#24272d,#202228)!important;
  border:1px solid var(--pink2)!important;
  border-radius:18px!important;
  box-shadow:0 10px 28px rgba(0,0,0,.32)!important;
  overflow:visible!important;
  inset:auto!important;
  transform:none!important;
}
.filter-column>.search-card::before,
.filter-column>.prices-card::before{display:none!important}
.filters{height:auto!important;position:static!important;top:auto!important}
.search-card,.prices-card{min-height:0!important}
.switch-compact{display:flex!important;flex-direction:row!important;align-items:center!important;min-height:52px!important}

.selected-profession-row,.selected-search-row,.my-price-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 36px!important;
  gap:10px!important;
  align-items:center!important;
  margin:8px 0!important;
  padding:0!important;
  background:transparent!important;
}
.selected-profession{
  display:grid!important;
  grid-template-columns:32px minmax(0,1fr) 62px!important;
  align-items:center!important;
  gap:9px!important;
  min-width:0!important;
  padding:8px 10px!important;
  margin:0!important;
  background:#1b1d22!important;
  border-radius:10px!important;
}
.selected-search-item{
  display:flex!important;
  align-items:center!important;
  min-height:42px!important;
  margin:0!important;
  padding:8px 10px!important;
  background:#1b1d22!important;
  border-radius:10px!important;
}
.my-price-box{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 92px!important;
  gap:10px!important;
  align-items:end!important;
  min-width:0!important;
  padding:8px 10px!important;
  background:#1b1d22!important;
  border-radius:10px!important;
}
.my-price-name{align-self:center!important;text-align:left!important;padding:0!important}
.my-price-input{margin:0!important;gap:4px!important;align-self:end!important}
.my-price-input>span{display:block!important;text-align:left!important;font-size:13px!important;line-height:1.1!important;margin:0 0 4px!important;color:var(--gold)!important}
.my-price-input input{min-height:38px!important;text-align:center!important;margin:0!important}
.remove-button,.remove-profession,[data-remove-item],[data-delete-price]{
  display:grid!important;
  place-items:center!important;
  align-self:center!important;
  justify-self:center!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid #ff6b7a!important;
  border-radius:9px!important;
  background:#b32638!important;
  color:#fff!important;
  font-size:22px!important;
  line-height:1!important;
}
.recipe-count{display:block;margin-top:2px;color:var(--pink2);font-size:11px;font-weight:700}
.recipe-routes{margin:16px 0}
.recipe-route-list{display:grid;gap:8px}
.recipe-route{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:10px;width:100%;padding:10px 12px;text-align:left;background:#1a1c21;color:#fff;border:1px solid var(--border);border-radius:10px}
.recipe-route>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#333740;color:var(--pink2)}
.recipe-route strong{font-weight:700}
.recipe-route:hover,.recipe-route.active{border-color:var(--pink2);background:rgba(255,79,163,.1)}
.recipe-route.active>span{background:var(--pink);color:#fff}
.byproduct-info{margin:14px 0;padding:12px 14px;border:1px solid #775f12;border-radius:12px;background:rgba(255,212,0,.07)}
.byproduct-info h3{margin:0 0 7px;color:var(--gold)}
.byproduct-info div+div{margin-top:5px}
.other-outputs{padding:10px 12px;border-radius:10px;background:#191b20}
@media(max-width:900px){.filter-column{position:static!important}.my-price-box{grid-template-columns:minmax(0,1fr) 92px!important}}

/* 2026-07-15: Detailansicht, Checkbox und EK-Kopf final */
.filter-column > .switch-compact{
  display:grid!important;
  grid-template-columns:20px minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:16px!important;
  min-height:54px!important;
  padding:13px 18px!important;
  background:linear-gradient(145deg,#24272d,#202228)!important;
}
.filter-column > .switch-compact input{
  margin:0!important;
  align-self:center!important;
}
.filter-column > .switch-compact span{
  display:flex!important;
  align-items:center!important;
  min-height:24px!important;
  margin:0!important;
  line-height:1.25!important;
}
.filter-column > .switch-compact:has(input:checked),
.filter-column > .switch-compact:hover,
.filter-column > .switch-compact:focus-within{
  background:linear-gradient(145deg,#24272d,#202228)!important;
}

.prices-card-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 92px 36px!important;
  gap:10px!important;
  align-items:center!important;
  margin:0 0 10px!important;
}
.prices-card-head h2{margin:0!important}
.prices-ek-heading{
  grid-column:2!important;
  justify-self:stretch!important;
  align-self:center!important;
  text-align:center!important;
  color:var(--gold)!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:900!important;
}
.prices-card .my-price-row{
  grid-template-columns:minmax(0,1fr) 36px!important;
  align-items:center!important;
}
.prices-card .my-price-box{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 92px!important;
  gap:10px!important;
  align-items:center!important;
  min-height:54px!important;
}
.my-price-value{
  width:100%!important;
  min-height:38px!important;
  margin:0!important;
  padding:6px 8px!important;
  text-align:center!important;
}
.prices-card button[data-delete-price]{align-self:center!important}

.recipe-route-list{display:grid!important;gap:10px!important}
.recipe-route{
  display:grid!important;
  grid-template-columns:34px minmax(150px,1.25fr) minmax(130px,1fr) minmax(170px,1.25fr)!important;
  gap:14px!important;
  align-items:center!important;
  width:100%!important;
  padding:12px 14px!important;
}
.recipe-route .route-index{
  display:grid!important;
  place-items:center!important;
  width:30px!important;
  height:30px!important;
  border-radius:50%!important;
  background:#333740!important;
  color:var(--pink2)!important;
  font-weight:800!important;
}
.recipe-route.active .route-index{background:var(--pink)!important;color:#fff!important}
.route-field{display:grid!important;gap:3px!important;min-width:0!important}
.route-field small{
  color:var(--muted)!important;
  font-size:11px!important;
  line-height:1.1!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}
.route-field strong{
  min-width:0!important;
  font-size:14px!important;
  line-height:1.25!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.route-type small{color:var(--gold)!important}
.other-output-section{margin:18px 0!important}
.other-output-section h2{margin:0 0 9px!important}
.other-output-box{
  display:grid!important;
  gap:6px!important;
  padding:12px 14px!important;
  background:#191b20!important;
  border:1px solid var(--border)!important;
  border-radius:10px!important;
}
.current-recipe-ingredients{margin-top:18px!important}
.byproduct-info{display:none!important}
@media(max-width:760px){
  .recipe-route{grid-template-columns:30px minmax(0,1fr)!important}
  .recipe-route .route-field{grid-column:2!important}
  .prices-card-head{grid-template-columns:minmax(0,1fr) 88px 36px!important}
  .prices-card .my-price-box{grid-template-columns:minmax(0,1fr) 88px!important}
}

/* 2026-07-15: ausklappbare persönliche Preise und Werkbankfilter */
.collapsible-card{padding:0;overflow:hidden}
.collapsible-card>summary{list-style:none;cursor:pointer;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.collapsible-card>summary::-webkit-details-marker{display:none}
.collapsible-card>summary h2{margin:0}
.collapsible-card .summary-chevron{font-size:18px;transition:transform .18s ease;color:var(--pink2)}
.collapsible-card[open] .summary-chevron{transform:rotate(180deg)}
.collapsible-card[open]{padding-bottom:16px}
.collapsible-card .prices-column-heading{width:96px;margin:0 52px 4px auto;text-align:center;color:var(--gold);font-weight:900}
.collapsible-card #my-prices-list{padding:0 16px}
.recipe-toolbar{display:flex;align-items:flex-end;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.table-filter-label{margin:0;min-width:220px;gap:4px}
.table-filter-label span{font-size:12px;color:var(--muted)}
.table-filter-label select{padding:8px 34px 8px 10px}
@media(max-width:700px){.recipe-toolbar{width:100%;justify-content:stretch}.table-filter-label{flex:1;min-width:0}.recipe-toolbar .pill{white-space:nowrap}}

/* 2026-07-15: Preise dauerhaft sichtbar, lesbare Herstellungswege */
.prices-card{
  padding:16px 18px!important;
  overflow:visible!important;
}
.prices-card-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 96px 36px!important;
  align-items:end!important;
  gap:8px!important;
  padding:0!important;
  margin:0 0 8px!important;
}
.prices-card-head h2{
  margin:0!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.prices-card .prices-column-heading{
  width:auto!important;
  margin:0!important;
  padding:0 0 2px!important;
  text-align:center!important;
  color:var(--gold)!important;
  font-weight:900!important;
  line-height:1!important;
}
.prices-card #my-prices-list{padding:0!important}
.summary-chevron{display:none!important}

.modal-panel{
  width:min(1080px,calc(100vw - 32px))!important;
}
.recipe-route-list{gap:10px!important}
.recipe-route{
  display:grid!important;
  grid-template-columns:38px minmax(170px,1.35fr) minmax(150px,1fr) minmax(180px,1.2fr)!important;
  align-items:center!important;
  column-gap:18px!important;
  min-height:74px!important;
  padding:12px 14px!important;
  overflow:hidden!important;
}
.recipe-route .route-index{
  width:30px!important;
  height:30px!important;
  display:grid!important;
  place-items:center!important;
  flex:none!important;
}
.recipe-route .route-field{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  gap:3px!important;
  overflow:hidden!important;
}
.recipe-route .route-field small{
  display:block!important;
  margin:0!important;
  font-size:11px!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
.recipe-route .route-field strong{
  display:block!important;
  width:100%!important;
  font-size:14px!important;
  line-height:1.25!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
.recipe-route .route-field .table-name{color:#4e91e8!important}
@media(max-width:780px){
  .recipe-route{
    grid-template-columns:34px minmax(0,1fr)!important;
    row-gap:9px!important;
  }
  .recipe-route .route-field{grid-column:2!important}
  .modal-panel{width:min(720px,calc(100vw - 20px))!important}
}

/* 2026-07-15: Herstellungswege lesbar, EK-Kopf ausgerichtet */
.recipe-route > .route-field{
  width:auto!important;
  height:auto!important;
  min-height:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:inherit!important;
  place-items:initial!important;
}
.recipe-route > .route-field strong,
.recipe-route > .route-field small{
  max-width:100%!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.recipe-route{
  overflow:visible!important;
  text-align:left!important;
}
.ingredient-link{
  display:inline!important;
  width:auto!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--pink2)!important;
  font-weight:800!important;
  text-align:left!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
}
.ingredient-link:hover{color:#fff!important}
.prices-card-head{align-items:center!important}
.prices-card .prices-column-heading{padding:0!important;align-self:center!important}

/* 2026-07-15: Detailansicht – verständliche Preisbegriffe und stabile Höhe */
.recipe-output-title{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
#modal-content h1 .output-amount{
  color:var(--pink2);
  font-weight:900;
}
.recipe-output-title img{
  width:42px;
  height:42px;
  object-fit:contain;
  flex:0 0 42px;
  background:#17191e;
  border-radius:8px;
  padding:3px;
}
.price-kpis > div > span{
  display:flex;
  align-items:baseline;
  gap:5px;
  flex-wrap:wrap;
}
.price-kpis > div > span small{
  color:var(--muted);
  font-size:11px;
  font-weight:600;
  text-transform:none;
  letter-spacing:0;
}
.detail-upgrade-control{
  margin:14px 0 18px;
  padding:12px 14px;
  background:#181a1f;
  border:1px solid var(--border);
  border-radius:12px;
}
.detail-upgrade-control .slider-head{
  margin-bottom:8px;
}
.detail-upgrade-control label{
  margin:0;
}
.current-recipe-ingredients{margin-top:18px!important}
.current-recipe-ingredients .table-wrap{margin-top:0!important}
.current-recipe-ingredients thead th{
  font-size:12px!important;
  line-height:1.2!important;
}
.current-recipe-ingredients .ingredient-item-cell{
  min-width:180px;
  align-items:center;
}
.current-recipe-ingredients .ingredient-item-cell img,
.other-output-row .item-cell img{
  width:30px;
  height:30px;
  flex:0 0 30px;
}
.calorie-badge{
  display:inline-grid;
  place-items:center;
  width:30px;
  height:30px;
  flex:0 0 30px;
  border-radius:8px;
  background:#17191e;
  color:var(--gold);
  font-size:11px;
  font-weight:900;
}
.calorie-cost-row td{
  background:rgba(255,212,0,.04);
}
.other-output-box{
  min-height:48px!important;
  align-content:center!important;
}
.other-output-row{
  min-height:34px;
  display:flex;
  align-items:center;
}
.no-byproducts{
  color:var(--muted)!important;
  font-style:italic;
}

/* 2026-07-15: kompaktere Berufsauswahl und sichtbare Rezept-Tags */
.selected-professions{gap:4px!important}
.selected-profession-row{margin:0!important;gap:5px!important}
.selected-profession{padding:6px 9px!important;min-height:52px!important}
.ingredient-tag{color:var(--gold)!important;font-weight:800!important}

.discord-login-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  text-decoration:none;
  margin-top:10px;
}

/* 2026-07-16: zentrierte Discord-Admin-Anmeldung */
.login-card-centered{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.login-card-centered h1{
  margin:0 0 14px;
  color:var(--pink);
}
.login-card-centered .discord-login-button{
  margin:0 auto;
}
.login-card-centered .login-access-note{
  margin:12px 0 0;
}
.login-separator{
  width:100%;
  margin:18px 0 6px;
  border:0;
  border-top:1px solid var(--border);
}

/* 2026-07-16: Besucherstatistik */

.admin-tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 18px;
}
.admin-tab{
  color:#fff;
  border:1px solid var(--border);
  background:#23252b;
}
.admin-tab.active{
  border-color:var(--pink2);
  color:var(--pink2);
  background:#181a1f;
}
[data-admin-panel][hidden]{
  display:none!important;
}
.statistics-card{margin-bottom:18px}
.statistics-head h1{margin:0 0 5px;color:var(--pink);font-size:clamp(25px,3vw,34px)}
.statistics-head .muted{margin-bottom:0;max-width:820px}
.statistics-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
.statistics-kpis>div{padding:14px 16px;border:1px solid var(--border);border-radius:13px;background:var(--panel2)}
.statistics-kpis span{display:block;color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.statistics-kpis strong{display:block;margin-top:3px;color:var(--gold);font-size:29px;line-height:1.1}
.statistics-chart-wrap{padding:15px;border:1px solid var(--border);border-radius:14px;background:var(--panel2)}
.statistics-chart-wrap h2{margin:0 0 14px!important}
.statistics-chart{display:grid;grid-template-columns:repeat(14,minmax(26px,1fr));gap:7px;align-items:end;min-height:235px;overflow-x:auto;padding:4px 2px 0}
.statistics-bar-column{display:grid;grid-template-rows:22px 170px 25px;align-items:end;min-width:34px;text-align:center}
.statistics-bar-value{color:var(--muted);font-size:11px;font-weight:800}
.statistics-bar-track{height:170px;display:flex;align-items:flex-end;border-radius:8px 8px 4px 4px;background:color-mix(in srgb,var(--border) 50%,transparent);overflow:hidden}
.statistics-bar{width:100%;min-height:2px;border-radius:8px 8px 3px 3px;background:linear-gradient(180deg,var(--pink2),var(--pink));transition:height .2s ease}
.statistics-bar-label{padding-top:5px;color:var(--muted);font-size:10px;white-space:nowrap;transform:rotate(-35deg);transform-origin:center}
.statistics-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
.statistics-details article{padding:14px;border:1px solid var(--border);border-radius:13px;background:var(--panel2)}
.statistics-details h2{margin:0 0 10px!important}
.statistics-list{display:grid;gap:6px}
.statistics-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 9px;border-radius:8px;background:color-mix(in srgb,var(--panel) 75%,transparent)}
.statistics-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.statistics-list strong{color:var(--gold)}
.statistics-recent{margin-top:13px}
.statistics-recent>summary{cursor:pointer;color:var(--pink2);font-weight:900;padding:10px 0}
.statistics-recent table{min-width:720px}
.statistics-recent tbody tr{cursor:default}

@media(max-width:900px){
  .statistics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .statistics-details{grid-template-columns:1fr}
}
@media(max-width:700px){
  .topbar-inner{align-items:flex-start!important}
  .topbar nav{flex-wrap:wrap;justify-content:flex-end}
  .statistics-chart{grid-template-columns:repeat(14,42px)}
}

.sort-button{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:6px;
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  font-weight:inherit;
  text-transform:inherit;
  letter-spacing:inherit;
  cursor:pointer;
  text-align:left;
}
.sort-button:hover,.sort-button.active{color:var(--pink2)}

/* 2026-07-16: einheitliche Sortierpfeile für alle Spalten */
.sort-indicator{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:12px;
  min-width:12px;
  height:12px;
  margin-left:2px;
  color:currentColor;
  opacity:.9;
}
.sort-indicator::before,
.sort-indicator::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  width:0;
  height:0;
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  transition:opacity .18s ease, border-color .18s ease, transform .18s ease;
}
.sort-indicator::before{
  top:0;
  border-bottom:5px solid currentColor;
}
.sort-indicator::after{
  bottom:0;
  border-top:5px solid currentColor;
}
.sort-indicator[data-state="neutral"]::before,
.sort-indicator[data-state="neutral"]::after{
  opacity:.45;
}
.sort-indicator[data-state="asc"]::before{
  opacity:1;
}
.sort-indicator[data-state="asc"]::after{
  opacity:0;
}
.sort-indicator[data-state="desc"]::before{
  opacity:0;
}
.sort-indicator[data-state="desc"]::after{
  opacity:1;
}
.sort-button.active .sort-indicator{
  color:var(--pink2);
}
#search-menu button.already-selected small{
  margin-left:auto;
  font-size:11px;
  color:var(--muted);
  white-space:nowrap;
}
#price-body tr.search-focus-pulse td{
  animation:piitches-search-focus 2.5s ease-in-out 1;
}
@keyframes piitches-search-focus{
  0%,100%{background:transparent;box-shadow:none}
  20%,72%{background:rgba(255,71,162,.20);box-shadow:inset 0 1px 0 rgba(255,113,190,.7),inset 0 -1px 0 rgba(255,113,190,.7)}
}

/* 2026-07-17: Favoriten, klickbare Tags und How-To-Seite */
.content-card table{min-width:1180px!important}
.content-card th:nth-child(1){width:22%!important}
.content-card th:nth-child(2){width:14%!important}
.content-card th:nth-child(3){width:6%!important}
.content-card th:nth-child(4){width:23%!important}
.content-card th:nth-child(5),
.content-card th:nth-child(6),
.content-card th:nth-child(7),
.content-card th:nth-child(8){width:8%!important}
.content-card th:nth-child(9),
.content-card td:nth-child(9){width:7%!important;text-align:center!important}
.content-card .table-wrap{min-height:470px!important}
.content-card .section-head{min-height:82px!important}
.favorite-heading{text-align:center!important}
.favorite-cell{vertical-align:middle!important}
.favorite-button{
  display:inline-grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  padding:0!important;
  border:1px solid var(--text)!important;
  border-radius:50%!important;
  background:var(--panel2)!important;
  color:transparent!important;
  -webkit-text-stroke:1.25px var(--text);
  font-size:22px!important;
  line-height:1!important;
}
.favorite-button:hover{border-color:var(--gold)!important;-webkit-text-stroke-color:var(--gold)}
.favorite-button.active{
  color:var(--gold)!important;
  -webkit-text-stroke:0 var(--gold);
  border-color:var(--gold)!important;
}
.favorite-row{background:rgba(255,212,0,.045)}
.recipe-output-title{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  padding-right:46px!important;
}
.recipe-output-title .favorite-button{margin-left:2px}
.ingredient-link{
  width:auto!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--pink2)!important;
  text-align:left!important;
  font-weight:900!important;
}
.ingredient-link:hover{color:var(--gold)!important;text-decoration:underline}
.ingredient-tag{color:var(--gold)!important}
.tag-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.tag-override-box{
  margin:14px 0!important;
  padding:12px 14px!important;
  border:1px solid var(--border)!important;
  border-radius:10px!important;
  background:#191b20!important;
}
.tag-override-box label{max-width:260px;margin:0!important}
.howto-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(240px,1fr));
  gap:16px;
}
.howto-card{
  min-height:180px;
  border-radius:8px!important;
}
.howto-card h2{
  margin:0 0 10px!important;
  font-size:20px;
  line-height:1.2;
}
.howto-card p{margin:0;color:var(--muted)}
@media(max-width:1050px){.howto-grid{grid-template-columns:repeat(2,minmax(240px,1fr))}}
@media(max-width:680px){
  .howto-grid{grid-template-columns:1fr}
  .tag-kpis{grid-template-columns:1fr!important}
  .content-card table{min-width:1120px!important}
}

/* 2026-07-17: Haupttabelle ohne Desktop-Scroll zur Favoriten-Spalte, Detail-Zurücknavigation */
@media(min-width:1180px){
  .page{max-width:1720px!important}
  .layout{grid-template-columns:340px minmax(0,1fr)!important}
  .content-card table{min-width:0!important;width:100%!important}
  .content-card th:nth-child(1),.content-card td:nth-child(1){width:23%!important}
  .content-card th:nth-child(2),.content-card td:nth-child(2){width:13%!important}
  .content-card th:nth-child(3),.content-card td:nth-child(3){width:5%!important}
  .content-card th:nth-child(4),.content-card td:nth-child(4){width:22%!important}
  .content-card th:nth-child(5),.content-card td:nth-child(5),
  .content-card th:nth-child(6),.content-card td:nth-child(6),
  .content-card th:nth-child(7),.content-card td:nth-child(7),
  .content-card th:nth-child(8),.content-card td:nth-child(8){width:8%!important}
  .content-card th:nth-child(9),.content-card td:nth-child(9){width:5%!important;min-width:54px!important}
}
.detail-nav-row{
  min-height:38px;
  margin:0 46px 4px 0;
}
.detail-back-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:94px!important;
  height:36px!important;
  padding:0 13px!important;
  border:1px solid var(--border)!important;
  border-radius:9px!important;
  background:#181a1f!important;
  color:#fff!important;
  font-weight:900!important;
  line-height:1!important;
}
.detail-back-button:hover{
  border-color:var(--pink2)!important;
  color:var(--pink2)!important;
}
.recipe-output-title{padding-right:46px!important}

/* 2026-07-17: Favoritenstern ohne Kreis, keine nutzlose Desktop-Scrollbar */
.favorite-button{
  display:inline-grid!important;
  place-items:center!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--muted)!important;
  -webkit-text-stroke:0!important;
  font-size:24px!important;
  line-height:1!important;
}
.favorite-button:hover,
.favorite-button.active{
  color:var(--gold)!important;
  -webkit-text-stroke:0!important;
}
@media(min-width:1180px){
  .content-card .table-wrap{overflow-x:hidden!important}
}

/* 2026-07-17: Profile/Tabs fuer getrennte Einstellungen */
.settings-tabs{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 14px;
  min-width:0;
}
.settings-tabs-list{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  overflow-x:auto;
  scrollbar-width:thin;
}
.settings-tab{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  min-width:0;
  max-width:260px;
  height:42px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#1b1d22;
  overflow:hidden;
}
.settings-tab.active{
  border-color:var(--pink2);
  background:rgba(255,79,163,.12);
}
.settings-tab-main{
  min-width:86px;
  max-width:176px;
  height:100%;
  padding:0 12px;
  border:0;
  border-radius:0;
  background:transparent;
  color:#fff;
  text-align:left;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.settings-tab.active .settings-tab-main{color:var(--pink2)}
.settings-tab-rename,
.settings-tab-delete,
.settings-tab-add{
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  padding:0!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:var(--muted)!important;
  line-height:1!important;
}
.settings-tab-add-wrap{position:relative;flex:0 0 auto}
.settings-tab-type-menu{
  position:absolute;
  z-index:40;
  top:calc(100% + 6px);
  right:0;
  display:grid;
  gap:4px;
  min-width:160px;
  padding:7px;
  border:1px solid var(--pink2);
  border-radius:10px;
  background:#17191e;
  box-shadow:0 14px 30px rgba(0,0,0,.45);
}
.settings-tab-type-menu button{
  width:100%;
  padding:8px 10px;
  border-radius:8px;
  background:transparent;
  color:#fff;
  text-align:left;
}
.settings-tab-type-menu button:hover{background:rgba(255,79,163,.14)}
.settings-tab-rename:hover,
.settings-tab-delete:hover,
.settings-tab-add:hover{
  color:#fff!important;
  background:#333740!important;
}
.settings-tab-delete:hover{
  color:#ff9aa6!important;
}
.settings-tab-add{
  flex:0 0 38px!important;
  width:38px!important;
  height:38px!important;
  border:1px solid var(--border)!important;
  background:#23252b!important;
  color:#fff!important;
  font-size:22px!important;
}
.settings-tab-add:hover{
  border-color:var(--pink2)!important;
  color:var(--pink2)!important;
}
.settings-tab.editing{
  padding:3px;
  gap:4px;
}
.settings-tab-name-input{
  min-width:120px;
  height:34px;
  padding:5px 8px!important;
  border:1px solid var(--pink2)!important;
  border-radius:7px!important;
}
.settings-tab-save{
  display:grid!important;
  place-items:center!important;
  width:32px!important;
  height:32px!important;
  padding:0!important;
  border:0!important;
  border-radius:7px!important;
  background:var(--pink)!important;
  color:#fff!important;
}
.tab-dialog{
  display:grid;
  gap:10px;
  padding:0;
  text-align:center;
  justify-items:center;
}
.modal[data-mode="tab-delete"] .modal-panel{
  width:min(380px,calc(100vw - 32px))!important;
  padding:16px!important;
  border-radius:12px!important;
}
.modal[data-mode="tab-delete"] .modal-close{
  right:8px!important;
  top:8px!important;
  width:30px!important;
  height:30px!important;
  font-size:20px!important;
}
.tab-dialog h2{
  margin:0!important;
  color:var(--pink)!important;
  font-size:20px!important;
  line-height:1.15!important;
}
.tab-dialog p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.35;
}
.tab-dialog-name{
  display:block;
  width:max-content;
  max-width:100%;
  padding:6px 9px;
  border:1px solid var(--border);
  border-radius:9px;
  background:#181a1f;
  color:var(--gold);
  overflow:hidden;
  text-overflow:ellipsis;
}
.tab-dialog-actions{
  display:flex;
  justify-content:center;
  gap:7px;
  flex-wrap:wrap;
}
.tab-dialog-actions .button{
  padding:7px 10px!important;
  font-size:13px!important;
}
@media(min-width:1180px){
  .content-card th:nth-child(1),.content-card td:nth-child(1){width:22%!important}
  .content-card th:nth-child(4),.content-card td:nth-child(4){width:21%!important}
  .content-card th:nth-child(9),.content-card td:nth-child(9){width:7%!important;min-width:78px!important;padding-left:14px!important;padding-right:14px!important}
}

/* 2026-07-17: Export/Import pro Tab */
.transfer-card h2{
  margin:0 0 10px!important;
}
.community-float{
  position:absolute;
  z-index:15;
  top:298px;
  left:max(14px,calc((100vw - 1720px)/2 - 196px));
  width:156px;
  transform:none;
}
.shopping-layout{
  grid-template-columns:minmax(0,1fr)!important;
}
.shopping-layout .filter-column{
  display:none!important;
}
.shopping-layout .profession-stats-card{
  display:none!important;
}
.shopping-layout .content-card{
  grid-column:1!important;
}
@media(max-width:1499px){
  .community-float{display:none!important}
}
.topbar-community{
  position:absolute;
  left:142px;
  top:50%;
  transform:translateY(-50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  height:44px;
  flex:0 0 auto;
  z-index:1;
}
.topbar-community .community-link-image{
  display:grid!important;
  place-items:center!important;
  width:44px;
  height:44px;
  min-height:44px;
  aspect-ratio:1/1;
  padding:0!important;
  border:0!important;
  border-radius:9px;
  background:transparent!important;
  box-shadow:none!important;
  overflow:hidden;
}
.topbar-community .community-link-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.sidebar-top-row{
  display:grid;
  grid-template-columns:148px minmax(0,1fr);
  gap:12px;
  align-items:start;
}
.sidebar-top-row>.sidebar-card{
  min-width:0;
}
.community-card{
  display:grid!important;
  gap:14px;
  padding:0!important;
}
.community-link{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  align-items:center;
  gap:10px;
  min-height:58px;
  width:100%;
  padding:9px 10px;
  border:0;
  border-radius:10px;
  color:#fff;
  text-decoration:none;
  font-weight:900;
  background:transparent;
}
.community-link:hover{
  border-color:transparent;
  color:var(--pink2);
}
.community-icon{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:10px;
  color:#fff;
  font-weight:1000;
  font-size:20px;
}
.community-link-discord .community-icon{background:#5865f2}
.community-link-wiki .community-icon{background:#2e8b57}
.community-link-image{
  display:grid;
  grid-template-columns:1fr;
  place-items:center;
  min-height:0;
  aspect-ratio:1/1;
  padding:0;
  overflow:hidden;
  border-radius:14px;
}
.community-link-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.shopping-preview-float{
  position:absolute;
  z-index:15;
  top:236px;
  right:-326px;
  display:grid;
  grid-template-rows:auto auto minmax(0,1fr);
  gap:12px;
  width:320px;
  min-height:360px;
  max-height:72vh;
  padding:16px;
  border:1px solid var(--pink2);
  border-radius:12px;
  background:linear-gradient(145deg,#24272d,#202228);
  box-shadow:0 10px 28px rgba(0,0,0,.32);
}
.shopping-preview-head{
  display:grid;
  gap:8px;
}
.profession-stats-card{
  position:absolute;
  z-index:15;
  top:236px;
  left:-326px;
  display:none;
  width:320px;
  min-height:320px;
  max-height:72vh;
  overflow:hidden;
}
.profession-stats-card h2{
  margin-bottom:12px!important;
}
.profession-stats-table-head,
.profession-stat-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 52px 64px;
  gap:8px;
  align-items:center;
}
.profession-stats-table-head{
  padding:0 8px 6px;
  color:var(--pink2);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.profession-stats-table-head span:nth-child(2),
.profession-stats-table-head span:nth-child(3){
  text-align:center;
}
.profession-stats-list{
  display:grid;
  gap:6px;
  max-height:520px;
  overflow:auto;
}
.profession-stat-row{
  padding:9px 10px;
  border:1px solid var(--border);
  border-radius:8px;
  background:#181a1f;
}
.profession-stat-row span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.profession-stat-row strong,
.profession-stat-row b{
  justify-self:center;
  color:var(--gold);
}
@media(min-width:1500px){
  .profession-stats-card{
    display:block;
  }
}
.shopping-preview-head strong{
  color:var(--pink);
  font-size:18px;
  line-height:1.1;
}
.shopping-preview-head select{
  min-height:38px;
  padding:7px 9px;
  font-size:13px;
}
.shopping-preview-table-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 70px;
  gap:10px;
  padding:0 9px 2px;
  color:var(--pink2);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.shopping-preview-list{
  display:grid;
  gap:6px;
  align-content:start;
  min-height:0;
  overflow:auto;
}
.shopping-preview-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 70px;
  gap:10px;
  align-items:center;
  padding:9px 10px;
  border:1px solid var(--border);
  border-radius:8px;
  background:#181a1f;
  font-size:14px;
}
button.shopping-preview-row{
  width:100%;
  color:var(--text);
  text-align:left;
  cursor:pointer;
}
button.shopping-preview-row:hover{
  border-color:var(--pink2);
  background:rgba(255,79,163,.08);
}
.shopping-preview-row span{
  min-width:0;
  overflow:visible;
  text-overflow:clip;
  white-space:nowrap;
  line-height:1.25;
}
.shopping-preview-row strong{
  justify-self:end;
  color:var(--gold);
}
.shopping-preview-empty{
  padding:10px;
  border:1px dashed var(--border);
  border-radius:8px;
  color:var(--muted);
  font-size:12px;
  line-height:1.25;
  text-align:center;
}
.wanted-preview-float{
  top:620px;
}
.wanted-table-head,
.wanted-preview-row{
  grid-template-columns:minmax(0,1fr) 58px;
}
.wanted-preview-row em{
  min-width:0;
  overflow:hidden;
  color:var(--muted);
  font-style:normal;
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.wanted-preview-row small{
  display:block;
  margin-top:3px;
  overflow:hidden;
  color:var(--ok);
  font-size:11px;
  line-height:1.15;
  text-overflow:ellipsis;
}
.wanted-preview-row.assigned{
  border-color:var(--gold);
  background:rgba(255,212,0,.08);
}
.shopping-preview-row.has-offer{
  animation:wanted-offer-pulse 1.2s ease-in-out infinite;
  border-color:var(--gold);
}
@keyframes wanted-offer-pulse{
  0%,100%{box-shadow:0 0 0 rgba(255,212,0,0)}
  50%{box-shadow:0 0 0 4px rgba(255,212,0,.22)}
}
.wanted-detail-actions{
  margin-top:16px;
}
.wanted-detail-actions .primary:disabled{
  opacity:.5;
  cursor:not-allowed;
}
.wanted-assignment-box,
.wanted-offer-row{
  display:grid;
  gap:3px;
  padding:12px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#181a1f;
}
.wanted-assignment-box strong,
.wanted-offer-row strong{
  color:var(--gold);
}
.wanted-assignment-box span,
.wanted-offer-row span{
  color:var(--muted);
  font-size:12px;
}
.wanted-offers-list{
  display:grid;
  gap:8px;
}
.wanted-log-list{
  display:grid;
  gap:8px;
  margin-top:16px;
}
.wanted-log-list h2{
  margin:0;
  color:var(--pink);
}
.login-required-panel{
  display:grid;
  gap:10px;
  justify-items:start;
}
.admin-inline-form{
  display:grid;
  grid-template-columns:minmax(160px,1fr) auto;
  gap:8px;
  align-items:center;
}
.admin-users-card,
.admin-wanted-card{
  margin-bottom:18px;
}
.admin-users-table,
.admin-wanted-table{
  min-width:980px;
}
@media(max-width:2299px){
  .shopping-preview-float{display:none!important}
}
body.shopping-mode .shopping-preview-float{
  display:none!important;
}
body.shopping-mode .transfer-card{
  display:none!important;
}
.transfer-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-bottom:10px;
}
.transfer-actions .button{
  width:100%;
  text-align:center;
}
#tab-settings-code{
  width:100%;
  min-height:92px;
  resize:vertical;
  font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;
  font-size:12px;
  line-height:1.35;
  word-break:break-all;
}
.transfer-code-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 38px;
  gap:8px;
  align-items:stretch;
}
.copy-code-button{
  display:grid!important;
  place-items:center!important;
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  padding:0!important;
  border:1px solid var(--border)!important;
  border-radius:9px!important;
  background:#23252b!important;
  color:#fff!important;
  font-size:20px!important;
  line-height:1!important;
}
.copy-code-button:hover{
  border-color:var(--pink2)!important;
  color:var(--pink2)!important;
}
.transfer-message{
  min-height:18px;
  margin:8px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.3;
}
.transfer-message[data-kind="success"]{color:var(--ok)}
.transfer-message[data-kind="error"]{color:var(--danger)}
.import-confirm-box{
  margin-top:10px;
  padding:10px;
  border:1px solid #775f12;
  border-radius:10px;
  background:rgba(255,212,0,.07);
}
.import-confirm-box p{
  margin:0 0 8px;
  color:var(--text);
  font-size:13px;
  line-height:1.35;
}
.import-confirm-check{
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr)!important;
  gap:8px!important;
  align-items:start!important;
  margin:0 0 10px!important;
  color:var(--muted);
  font-size:12px;
  line-height:1.3;
}
.import-confirm-check input{
  width:16px!important;
  height:16px!important;
  margin:1px 0 0!important;
}
.import-confirm-actions{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:7px;
}
.import-confirm-actions .button{
  width:100%;
  padding:8px 7px;
  text-align:center;
  font-size:12px;
}
.import-confirm-actions .button:disabled{
  opacity:.45;
  cursor:not-allowed;
}

/* 2026-07-17: Discord Userbereich und Admin-Log */
.user-panel{
  max-width:860px;
}
.shopping-card{
  display:grid;
  gap:18px;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.shopping-card .section-head{min-height:0!important}
.shopping-search{position:relative;margin-bottom:14px}
.shopping-section{
  display:grid;
  gap:14px;
  padding:18px;
  border:1px solid var(--pink2);
  border-radius:18px;
  background:linear-gradient(145deg,#24272d,#202228);
  box-shadow:0 10px 28px rgba(0,0,0,.32);
}
.shopping-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.shopping-section-head h2{
  margin:0!important;
  color:var(--pink)!important;
  font-size:20px!important;
}
.shopping-list{
  display:grid;
  gap:8px;
  overflow-x:auto;
}
.shopping-header{
  display:grid;
  grid-template-columns:28px minmax(180px,1.35fr) 112px 90px 90px 126px 118px 150px 36px;
  gap:10px;
  align-items:center;
  min-width:980px;
  padding:0 10px 2px;
  color:var(--pink2);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.shopping-row{
  display:grid;
  grid-template-columns:28px minmax(180px,1.35fr) 112px 90px 90px 126px 118px 150px 36px;
  gap:10px;
  align-items:center;
  min-width:980px;
  min-height:58px;
  padding:9px 10px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#181a1f;
}
.shopping-order-header,
.shopping-order-row{
  grid-template-columns:28px minmax(180px,1.35fr) 76px minmax(160px,1fr) minmax(190px,1fr) 112px 118px 36px;
}
.shopping-header span:nth-child(2),
.shopping-order-header span:nth-child(2){
  padding-left:46px;
}
.shopping-order-row{
  cursor:pointer;
}
.shopping-order-header span:nth-child(6),
.shopping-order-header span:nth-child(7){
  text-align:center;
  justify-self:center;
}
.shopping-order-row:hover{
  border-color:var(--pink2);
  background:rgba(255,79,163,.08);
}
.shopping-order-row strong{
  color:var(--gold);
}
.shopping-order-status,
.shopping-order-expiry{
  min-width:0;
  overflow:hidden;
  color:var(--muted);
  font-size:12px;
  line-height:1.25;
  text-overflow:ellipsis;
}
.shopping-order-status{
  color:var(--ok);
  font-weight:800;
}
.order-stats{
  margin-top:4px!important;
}
.recipe-title-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
}
.recipe-title-row .recipe-output-title{
  margin:0!important;
  padding-right:0!important;
}
.detail-order-button{
  align-self:center;
  justify-self:end;
  white-space:nowrap;
  background:#b32638!important;
  border-color:#ff6b7a!important;
  color:#fff!important;
}
.detail-order-button:hover{
  background:#d12d43!important;
  color:#fff!important;
}
@media(max-width:620px){
  .recipe-title-row{
    grid-template-columns:1fr;
  }
  .detail-order-button{
    justify-self:start;
  }
}
.shopping-check{
  display:grid!important;
  place-items:center!important;
  margin:0!important;
}
.shopping-check input{
  width:18px!important;
  height:18px!important;
  margin:0!important;
}
.shopping-qty{
  min-height:38px;
  text-align:center;
}
.shopping-actual-ek{
  min-height:38px;
  text-align:center;
}
.shopping-money{
  justify-self:center;
  text-align:center;
  color:var(--muted);
  font-weight:800;
  white-space:nowrap;
}
.shopping-price{
  justify-self:center;
  text-align:center;
  color:var(--gold);
  font-weight:900;
  white-space:nowrap;
}
.shopping-publish-button{
  min-height:38px;
  padding:7px 9px!important;
  font-size:12px!important;
  line-height:1.15;
  white-space:normal;
}
.shopping-publish-button.published{
  border-color:var(--gold)!important;
  color:var(--gold)!important;
  opacity:1!important;
}
.shopping-row.checked .item-cell,
.shopping-row.checked .shopping-money,
.shopping-row.checked .shopping-price{
  opacity:.55;
  text-decoration:line-through;
}
.shopping-total{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:8px;
  padding:16px 18px;
  border:2px solid var(--pink2);
  border-radius:12px;
  background:rgba(255,79,163,.08);
  box-shadow:0 10px 24px rgba(0,0,0,.22);
}
.shopping-total strong{
  color:var(--gold);
  font-size:28px;
  line-height:1.1;
  text-align:right;
}
.shopping-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr)) auto;
  gap:10px;
  align-items:center;
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid var(--border);
}
.shopping-stats div{
  padding:12px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#181a1f;
}
.shopping-stats span{
  display:block;
  color:var(--muted);
  font-size:12px;
}
.shopping-stats strong{
  color:var(--gold);
  font-size:20px;
}
.user-share-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:18px;
}
.user-share-card h3{
  margin:0 0 8px;
  color:var(--gold);
  font-size:14px;
}
.share-dnd-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:12px 0;
}
.registered-users-list,
.incoming-shares-list,
.outgoing-shares-list{
  display:grid;
  gap:8px;
}
.outgoing-shares-block{
  margin-top:14px;
}
.registered-user-chip{
  padding:9px 11px;
  border:1px solid var(--border);
  border-radius:9px;
  background:#181a1f;
  color:#fff;
  font-weight:800;
  cursor:grab;
}
.registered-user-chip:active{
  cursor:grabbing;
}
.share-drop-target{
  display:grid;
  place-items:center;
  min-height:96px;
  padding:12px;
  border:1px dashed var(--pink2);
  border-radius:10px;
  background:rgba(255,79,163,.07);
  color:var(--muted);
  text-align:center;
}
.share-drop-target.drag-over{
  background:rgba(255,79,163,.16);
  color:#fff;
}
.incoming-share-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:10px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#181a1f;
}
.outgoing-share-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 34px;
  gap:10px;
  align-items:center;
  padding:10px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#181a1f;
}
.outgoing-share-row button{
  align-self:center;
}
.incoming-share-row strong,
.incoming-share-row span,
.outgoing-share-row strong,
.outgoing-share-row span{
  display:block;
  min-width:0;
}
.incoming-share-row span,
.outgoing-share-row span{
  color:var(--muted);
  font-size:12px;
}
.user-kpis{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:14px 0;
}
.user-kpis div{
  min-width:0;
  padding:12px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#181a1f;
}
.user-kpis span{
  display:block;
  color:var(--muted);
  font-size:12px;
  line-height:1.2;
}
.user-kpis strong{
  display:block;
  min-width:0;
  margin-top:4px;
  overflow-wrap:anywhere;
  color:var(--gold);
}
.user-admin-form{
  margin-top:14px;
}
.admin-log-card{
  margin-top:18px;
}
.admin-log-card table{
  min-width:980px;
}
.admin-log-card td{
  vertical-align:top;
}
@media(max-width:760px){
  .user-kpis,.user-share-grid,.share-dnd-layout{grid-template-columns:1fr}
  .shopping-header,
  .shopping-row{grid-template-columns:28px minmax(180px,1.3fr) 96px 82px 82px 116px 108px 140px 36px}
  .shopping-order-header,
  .shopping-order-row{grid-template-columns:28px minmax(180px,1.3fr) 76px minmax(160px,1fr) minmax(190px,1fr) 112px 118px 36px}
  .shopping-stats{grid-template-columns:1fr}
  .sidebar-top-row{grid-template-columns:1fr}
  .topbar-community{width:auto}
}

/* 2026-07-18: Mobile-only layout polish. Desktop bleibt unberuehrt. */
@media(max-width:900px){
  body{
    overflow-x:hidden;
  }
  .page{
    width:100%;
    max-width:none;
    padding:14px 10px 42px!important;
  }
  .topbar{
    position:static;
    padding:10px!important;
  }
  .topbar-inner{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    align-items:start!important;
  }
  .topbar-community{
    position:static!important;
    transform:none!important;
    justify-self:start;
    height:34px;
  }
  .topbar-community .community-link-image{
    width:34px!important;
    height:34px!important;
    min-height:34px!important;
  }
  .brand{
    font-size:24px!important;
  }
  .topbar nav{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px!important;
    width:100%;
  }
  .topbar nav a,
  .topbar nav button,
  .topbar nav select{
    width:100%!important;
    min-width:0!important;
    text-align:center;
  }
  .settings-tabs{
    align-items:stretch!important;
    gap:6px!important;
  }
  .settings-tabs-list{
    gap:6px!important;
    padding-bottom:2px;
  }
  .settings-tab{
    max-width:210px!important;
  }
  .settings-tab-main{
    max-width:132px!important;
  }
  .hero{
    padding:14px!important;
    margin-bottom:12px!important;
    border-radius:12px!important;
  }
  .hero h1{
    font-size:30px!important;
  }
  .layout{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .filter-column{
    position:static!important;
    display:grid!important;
    gap:10px!important;
  }
  .card,
  .sidebar-card,
  .content-card{
    border-radius:12px!important;
    padding:14px!important;
  }
  .content-card .section-head{
    min-height:0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    align-items:start!important;
  }
  .recipe-toolbar{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    width:100%!important;
  }
  .table-filter-label{
    width:100%!important;
    margin:0!important;
  }
  .content-card .table-wrap{
    min-height:0!important;
    max-width:100%;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
  }
  .content-card table{
    min-width:1120px!important;
  }
  .community-float,
  .shopping-preview-float{
    display:none!important;
  }
  .modal{
    padding:10px!important;
    place-items:start center!important;
  }
  .modal-panel{
    width:calc(100vw - 20px)!important;
    max-height:calc(100vh - 20px)!important;
    padding:14px!important;
    border-radius:12px!important;
  }
  .price-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .recipe-route{
    grid-template-columns:34px minmax(0,1fr)!important;
  }
  .recipe-route .route-field{
    grid-column:2!important;
  }
  .user-panel{
    max-width:none!important;
  }
}

@media(max-width:560px){
  body{
    font-size:14px;
  }
  .page{
    padding-left:8px!important;
    padding-right:8px!important;
  }
  .topbar nav{
    grid-template-columns:1fr;
  }
  .brand{
    font-size:22px!important;
  }
  .settings-tab{
    height:38px!important;
    max-width:178px!important;
  }
  .settings-tab-main{
    min-width:72px!important;
    max-width:104px!important;
    padding:0 8px!important;
  }
  .settings-tab-rename,
  .settings-tab-delete{
    width:30px!important;
    min-width:30px!important;
    height:30px!important;
  }
  .settings-tab-add{
    width:36px!important;
    height:36px!important;
  }
  .hero h1{
    font-size:26px!important;
  }
  .profession-menu,
  .search-menu{
    max-height:300px!important;
  }
  .selected-profession-row,
  .my-price-row,
  .selected-search-row{
    grid-template-columns:minmax(0,1fr) 34px!important;
  }
  .selected-profession{
    grid-template-columns:32px minmax(0,1fr) 58px!important;
  }
  .transfer-actions,
  .import-confirm-actions{
    grid-template-columns:1fr!important;
  }
  .transfer-code-row{
    grid-template-columns:minmax(0,1fr) 38px!important;
  }
  .price-kpis{
    grid-template-columns:1fr!important;
  }
  .shopping-list{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
  }
  .shopping-header,
  .shopping-row{
    min-width:980px!important;
  }
  .shopping-order-header,
  .shopping-order-row{
    min-width:920px!important;
  }
  .shopping-total{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  .shopping-total strong{
    font-size:24px!important;
  }
  .incoming-share-row{
    grid-template-columns:1fr!important;
  }
}

.wiki-hero{
  margin-bottom:18px;
}
.wiki-layout{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.wiki-sidebar{
  position:sticky;
  top:82px;
}
.wiki-search{
  margin:0 0 14px;
}
.wiki-search span{
  color:var(--pink2);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.wiki-nav{
  display:grid;
  gap:16px;
}
.wiki-nav-group h2{
  margin:0 0 8px;
  color:var(--gold);
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.wiki-nav a{
  display:block;
  color:#fff;
  text-decoration:none;
  padding:10px 12px;
  margin:6px 0;
  border:1px solid var(--border);
  border-radius:10px;
  background:#1a1b1f;
  font-weight:800;
}
.wiki-nav a:hover,
.wiki-nav a.active{
  border-color:var(--pink2);
  color:var(--pink2);
}
.wiki-content{
  overflow:hidden;
}
.wiki-content h1,
.wiki-content h2,
.wiki-content h3{
  color:var(--pink);
  line-height:1.18;
}
.wiki-content h1{
  margin:18px 0 12px;
  font-size:34px;
}
.wiki-content h2{
  margin:24px 0 10px;
  padding-top:6px;
  border-top:1px solid rgba(255,134,197,.18);
  font-size:25px;
}
.wiki-content h3{
  margin:20px 0 8px;
  color:#fff;
  font-size:20px;
}
.wiki-content p{
  color:#f0f1f4;
  margin:10px 0;
}
.wiki-content a{
  color:var(--pink2);
  font-weight:800;
}
.wiki-content ul{
  margin:10px 0 16px;
  padding-left:22px;
}
.wiki-content li{
  margin:8px 0;
  color:#f0f1f4;
}
.wiki-content img{
  display:block;
  max-width:100%;
  height:auto;
  margin:14px auto;
  border-radius:12px;
  border:1px solid var(--border);
  background:#17191e;
}
.wiki-content hr{
  border:0;
  border-top:1px solid var(--border);
  margin:22px 0;
}
.wiki-callout{
  margin:14px 0;
  padding:13px 15px;
  border:1px solid rgba(255,212,0,.45);
  border-radius:12px;
  background:rgba(255,212,0,.08);
}
.wiki-callout p{
  margin:5px 0;
}
.wiki-home-banner{
  max-width:1000px!important;
  border-color:var(--pink2)!important;
}
.wiki-editor{
  margin:0 0 18px;
  padding:14px;
  border:1px solid rgba(255,212,0,.45);
  border-radius:12px;
  background:#181a1f;
}
.wiki-editor summary{
  cursor:pointer;
  color:var(--gold);
  font-weight:900;
}
.wiki-editor textarea{
  min-height:360px;
  resize:vertical;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  line-height:1.45;
}
.wiki-editor-upload{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(220px,.4fr);
  gap:12px;
}
.wiki-editor-actions{
  display:flex;
  justify-content:flex-end;
  margin-top:8px;
}
.wiki-image-library{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid var(--border);
}
.wiki-image-library h2{
  margin:0 0 10px;
  color:var(--pink2);
  font-size:18px;
}
.wiki-image-row{
  display:grid;
  grid-template-columns:64px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:8px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#22252a;
}
.wiki-image-row+.wiki-image-row{
  margin-top:8px;
}
.wiki-image-row img{
  width:64px;
  height:46px;
  object-fit:cover;
  margin:0;
}
.wiki-image-row code{
  overflow:auto;
  white-space:nowrap;
}
@media(max-width:900px){
  .wiki-layout{
    grid-template-columns:1fr;
  }
  .wiki-sidebar{
    position:static;
  }
  .wiki-content h1{
    font-size:28px;
  }
  .wiki-content h2{
    font-size:22px;
  }
  .wiki-editor-upload,
  .wiki-image-row{
    grid-template-columns:1fr;
  }
  .wiki-image-row img{
    width:100%;
    height:auto;
    max-height:220px;
  }
}

.topbar nav{
  align-items:center;
  gap:10px!important;
}
.header-discord-link{
  display:grid!important;
  place-items:center!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  padding:0!important;
  border:0!important;
  border-radius:9px!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:hidden;
}
@media(min-width:901px){
  .header-discord-link{
    position:absolute!important;
    left:176px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
  }
}
.header-discord-link img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
.topbar nav .main-nav-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:9px 14px 9px 13px!important;
  border-radius:10px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background:#1b1d22!important;
  color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  white-space:nowrap;
}
.topbar nav .main-nav-link::before{
  content:"";
  width:7px;
  height:7px;
  margin-right:8px;
  border-radius:50%;
  background:var(--border);
  box-shadow:0 0 0 3px rgba(255,255,255,.03);
}
.topbar nav .main-nav-link:hover,
.topbar nav .main-nav-link.active{
  transform:translateY(-1px);
  background:#23262c!important;
  color:#fff!important;
}
.topbar nav .main-nav-link.active{
  border-color:var(--pink2)!important;
  box-shadow:0 0 0 3px rgba(255,134,197,.12), inset 0 1px 0 rgba(255,255,255,.05);
}
.topbar nav .nav-price::before{background:#4e91e8}
.topbar nav .nav-shop::before{background:#62d59b}
.topbar nav .nav-wiki::before{background:var(--pink)}
.topbar nav .nav-raw::before{background:var(--gold)}
.topbar nav .nav-help::before{background:#a789ff}
.topbar nav .nav-user::before{background:#ff8f70}
.topbar-community{
  min-width:0!important;
}
.wiki-home-intro{
  max-width:960px;
  margin:0 auto 18px;
  padding:18px;
  border:1px solid var(--pink2);
  border-radius:14px;
  background:#22252a;
  text-align:center;
  box-shadow:0 10px 26px rgba(0,0,0,.28);
}
.wiki-home-intro h1{
  margin:4px 0 8px;
  color:var(--pink);
  font-size:34px;
}
.wiki-home-intro p{
  max-width:720px;
  margin:0 auto;
  color:#efeff2;
  font-weight:700;
}
.wiki-home-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(260px,1fr));
  gap:16px;
}
.wiki-home-box{
  padding:16px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#1a1b1f;
}
.wiki-home-box h2{
  margin:0 0 12px;
  color:var(--pink2);
}
.wiki-home-box a{
  display:block;
  margin:8px 0;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#22252a;
  color:#fff;
  text-align:center;
  text-decoration:none;
  font-weight:900;
}
.wiki-home-box a:hover{
  border-color:var(--pink2);
  color:var(--pink2);
}
@media(max-width:900px){
  .topbar nav{
    justify-content:flex-start!important;
  }
  .header-discord-link{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
  }
  .wiki-home-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:560px){
  .topbar nav .main-nav-link{
    justify-content:flex-start;
  }
}

/* 2026-07-21: Userbereich – Eco-Profil und Discord-Karte nebeneinander */
.user-account-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  align-items:start;
  margin-top:18px;
}
.user-account-grid .user-panel{
  width:100%;
  max-width:none;
  margin:0;
}
.discord-account-card .user-kpis{
  grid-template-columns:1fr;
}
@media(max-width:900px){
  .user-account-grid{
    grid-template-columns:1fr;
  }
}

/* Admin-Grundressourcen: Such-Dropdown über nachfolgenden Cards anzeigen */
#raw-prices,
#raw-prices-form,
.admin-raw-groups,
.admin-raw-group {
  overflow: visible;
}

.admin-raw-group {
  position: relative;
  z-index: 1;
}

.admin-raw-group:has(.admin-resource-item-picker .search-menu:not(.hidden)) {
  z-index: 100;
}

.admin-resource-item-picker {
  position: relative;
  z-index: 2;
}

.admin-resource-item-picker .search-menu {
  z-index: 200;
}
