/* PC: İşlemehane / Zanaathane tezgâhı (2. sürüm, 2026-11-26)
   Orta alanın kendisi. Üstte tek satır şerit (meslek + XP, kademe I–V, İşleme / Üretim); solda yoğun tarif listesi;
   ortada tezgâh (ürün, malzeme × nadirlik tablosu, ürün olasılıkları, adet kaydırıcısı + Üret);
   sıra ve teslim rafı: dar orta alanda (< 1080 px) tezgâhın altında yatay, geniş orta alanda sağ sütunda.
   Mobil izler yok: iri yuvarlak kartlar yerine çerçeveli, yoğun, tablo düzeni; yalnız transform / opacity canlanır. */

.app.desk .ws-win:not(.ws-bench-on) > .sh-body:has(> .wbx) { display: flex; flex-direction: row; align-items: stretch; padding: 0 18px 16px; overflow: hidden; container: wbc / inline-size; }
.wbx { --wb-ed: #3a3229; --wb-ed2: #5a4a32; --wb-void: #0b0a0a; --wb-ink: #f4ecd9; --wb-sub: #a0968f; --wb-dim: #7f766e; --wb-ok: #8fdc7a; --wb-no: #ee8a6e;
  --wb-panel: linear-gradient(180deg, rgba(36, 31, 26, .96), rgba(20, 17, 15, .97));
  flex: 1 1 auto; width: 100%; min-width: 0; min-height: 0; display: grid; gap: 10px 12px;
  grid-template-columns: 236px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas: "top top" "list bench" "list dock"; }
@container wbc (min-width: 1080px) { .wbx { grid-template-columns: 290px minmax(0, 1fr) 270px; grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "top top top" "list bench dock"; gap: 12px 16px; } }

/* ortak parçalar */
.wb-h { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.wb-h > b { font: 700 10.5px var(--fs); letter-spacing: .16em; text-transform: uppercase; color: #d9bd7e; white-space: nowrap; }
.wb-h > small { font: 500 11px var(--fb); color: var(--wb-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-list, .wb-bench, .wb-box { position: relative; min-width: 0; min-height: 0; border-radius: 12px; background: var(--wb-panel);
  box-shadow: 0 0 0 1px var(--wb-void), inset 0 0 0 1px var(--wb-ed), inset 0 1px 0 rgba(255, 236, 200, .06), 0 14px 26px -18px #000; }
.wb-list::before, .wb-bench::before, .wb-box::before { content: ''; position: absolute; inset: 4px; border-radius: 9px; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 226, 170, .04); }

/* ---------- üst şerit ---------- */
.wb-top { grid-area: top; display: flex; align-items: center; gap: 14px; min-width: 0; padding: 2px 0 10px; border-bottom: 1px solid #2a231c; }
.wb-prof { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.wb-lv { flex: none; width: 40px; height: 40px; display: grid; place-content: center; justify-items: center; line-height: 1; border-radius: 10px; color: #1c1408;
  background: radial-gradient(circle at 50% 30%, #f6dc94, #c9a24f 70%, #8a6a2c); box-shadow: 0 0 0 1px var(--wb-void), inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 14px -4px rgba(231, 194, 106, .6); }
.wb-lv small { font: 700 8px var(--fs); letter-spacing: .1em; opacity: .7; } .wb-lv b { font: 800 16px var(--fn); }
.wb-pt { min-width: 0; flex: 1; max-width: 300px; display: grid; gap: 3px; }
.wb-pt > b { font: 700 14px var(--fs); color: var(--wb-ink); white-space: nowrap; }
.wb-pt > small { font: 500 10.5px var(--fb); color: var(--wb-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-xp { display: block; height: 5px; border-radius: 3px; overflow: hidden; background: #0e0c0b; box-shadow: inset 0 0 0 1px #2a2420; }
.wb-xp > i { display: block; height: 100%; background: linear-gradient(90deg, #8a6a2c, #e7c26a, #fff0c0); box-shadow: 0 0 8px rgba(255, 196, 110, .6); transition: width .6s var(--ease); }
.wb-tiers { position: relative; flex: none; display: grid; grid-template-columns: repeat(5, 44px); height: 40px; padding: 3px; border-radius: 11px; background: #110f0d; box-shadow: 0 0 0 1px var(--wb-void), inset 0 0 0 1px var(--wb-ed); }
.wb-tsl { position: absolute; left: 3px; top: 3px; bottom: 3px; width: 44px; border-radius: 8px; transform: translateX(calc(var(--i) * 44px)); transition: transform .35s var(--spring);
  background: linear-gradient(180deg, #d6bd78, #a98c4d); box-shadow: 0 0 14px -3px rgba(231, 194, 106, .7), inset 0 1px 0 rgba(255, 255, 255, .4); }
.wb-tiers button { position: relative; display: grid; place-content: center; justify-items: center; gap: 1px; border-radius: 8px; line-height: 1; color: #cfc5b6; transition: color .2s; }
.wb-tiers button b { font: 700 13px var(--fs); }
.wb-tiers button small { display: flex; align-items: center; gap: 1px; font: 700 8.5px var(--fn); color: var(--wb-dim); } .wb-tiers button small .ic { font-size: 8px; }
.wb-tiers button.on { color: #1c1408; } .wb-tiers button.on small { color: #4a3a1c; }
.wb-tiers button.lock b { color: #6f665d; }
.wb-tiers button:not(.on):hover { color: #fff3d6; }
.wb-can { position: absolute; right: 6px; top: 5px; width: 5px; height: 5px; border-radius: 50%; background: #8fdc7a; box-shadow: 0 0 6px #8fdc7a; }
.wb-seg { position: relative; flex: none; display: grid; grid-template-columns: 1fr 1fr; width: 190px; height: 40px; padding: 3px; border-radius: 11px; background: #110f0d; box-shadow: 0 0 0 1px var(--wb-void), inset 0 0 0 1px var(--wb-ed); }
.wb-seg > i { position: absolute; left: 3px; top: 3px; bottom: 3px; width: calc(50% - 3px); border-radius: 8px; transform: translateX(calc(var(--i) * 100%)); transition: transform .35s var(--spring);
  background: linear-gradient(180deg, #3a3024, #241e18); box-shadow: inset 0 0 0 1px #8a6a2c, 0 0 12px -4px rgba(231, 194, 106, .6); }
.wb-seg button { position: relative; font: 700 13px var(--fb); color: var(--wb-sub); transition: color .2s; } .wb-seg button.on { color: #f3d68e; }

/* ---------- tarif listesi ---------- */
.wb-list { grid-area: list; display: flex; flex-direction: column; gap: 8px; padding: 12px 8px 8px 12px; overflow: hidden; }
.wb-list > .wb-h { padding-right: 6px; }
.wb-rl { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 3px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: #4a3d2c transparent; }
.wb-cat { margin: 7px 0 2px; padding-left: 2px; font: 700 9.5px var(--fs); letter-spacing: .16em; text-transform: uppercase; color: var(--wb-dim); }
.wb-cat:first-child { margin-top: 0; }
.wb-r { position: relative; flex: none; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 5px 9px 5px 5px; border-radius: 9px; text-align: left;
  transition: background .15s, box-shadow .15s, transform .15s var(--spring); }
.wb-r:hover { background: rgba(255, 230, 180, .05); box-shadow: inset 0 0 0 1px #4a3d2c; transform: translateX(2px); }
.wb-r.on { background: linear-gradient(90deg, rgba(231, 194, 106, .2), rgba(231, 194, 106, .05)); box-shadow: inset 0 0 0 1px #8a6a2c, inset 3px 0 0 #e7c26a; }
.wb-r-ic { width: 38px; height: 38px; }
.wb-r-tx { min-width: 0; display: grid; gap: 2px; }
.wb-r-tx b { font: 700 13px var(--fb); color: var(--wb-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-r.none .wb-r-tx b { color: #bfb5a8; }
.wb-r-tx small { display: flex; flex-wrap: wrap; gap: 0 8px; font: 500 10.5px var(--fb); color: var(--wb-dim); line-height: 1.25; }
.wb-r-tx em { font-style: normal; white-space: nowrap; } .wb-r-tx em u { text-decoration: none; margin-left: 4px; padding: 0 4px; border-radius: 4px; font: 700 9.5px var(--fn); }
.wb-r-tx em.ok u { color: var(--wb-ok); background: rgba(143, 220, 122, .1); } .wb-r-tx em.no u { color: var(--wb-no); background: rgba(238, 138, 110, .1); }
.wb-r-n { font: 700 12px var(--fn); color: #6f665d; } .wb-r-n.ok { color: var(--wb-ok); }
.wb-empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; color: var(--wb-sub); }
.wb-empty .ic { font-size: 26px; color: #6d5a35; } .wb-empty b { font: 700 14px var(--fs); color: var(--wb-ink); } .wb-empty small { font: 500 11.5px var(--fb); color: var(--wb-dim); }

/* ---------- tezgâh ---------- */
.wb-bench { grid-area: bench; display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; overflow: hidden; }
.wb-none { flex: 1; display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--wb-sub); } .wb-none .ic { font-size: 30px; color: #6d5a35; } .wb-none b { font: 700 16px var(--fs); color: var(--wb-ink); }
.wb-hero { flex: none; display: flex; align-items: center; gap: 16px; min-width: 0; }
.wb-prod { position: relative; flex: none; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 14px; cursor: pointer;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--c) 22%, #2c241b), #110e0c 75%); box-shadow: 0 0 0 1px var(--wb-void), inset 0 0 0 1px #6d5a35, 0 0 24px -8px var(--c); }
.wb-prod::after { content: ''; position: absolute; inset: -5px; border-radius: 17px; border: 1px solid rgba(231, 194, 106, .35); pointer-events: none; }
.wb-rays { position: absolute; inset: -14px; border-radius: 50%; pointer-events: none; opacity: .5; background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--c) 40%, transparent) 0 6deg, transparent 6deg 30deg);
  -webkit-mask: radial-gradient(circle, #000 20%, transparent 68%); mask: radial-gradient(circle, #000 20%, transparent 68%); animation: wbSpin 18s linear infinite; }
.wb-halo { position: absolute; inset: 8px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%); animation: wbBreath 3s ease-in-out infinite; }
.wb-prod-ic { position: relative; width: 58px; height: 58px; transition: transform .25s var(--spring); } .wb-prod:hover .wb-prod-ic { transform: scale(1.08) rotate(-3deg); }
@keyframes wbSpin { to { transform: rotate(360deg); } }
@keyframes wbBreath { 50% { opacity: .5; transform: scale(.86); } }
.wb-ht { min-width: 0; display: grid; gap: 3px; }
.wb-ht > small { font: 700 9.5px var(--fs); letter-spacing: .16em; text-transform: uppercase; color: #b99a5c; }
.wb-ht > b { font: 700 24px/1.1 var(--fs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(180deg, #f1e1b1 10%, #d6bd78 60%, #927544); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .8)); }
.wb-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }
.wb-tags > span { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 6px; font: 500 11px var(--fb); color: var(--wb-sub); background: #141210; box-shadow: inset 0 0 0 1px #2e2721; white-space: nowrap; }
.wb-tags > span b { font: 700 11.5px var(--fn); color: var(--wb-ink); } .wb-tags .ic { font-size: 11px; color: #b99a5c; }
.wb-tags .ok { color: #b9e3ab; box-shadow: inset 0 0 0 1px rgba(143, 220, 122, .35); } .wb-tags .ok .ic, .wb-tags .ok b { color: var(--wb-ok); }
.wb-tags .no { color: #e9b3a2; box-shadow: inset 0 0 0 1px rgba(238, 138, 110, .35); } .wb-tags .no .ic, .wb-tags .no b { color: var(--wb-no); }
.wb-tags .ev { color: var(--c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); } .wb-tags .ev .ic { color: var(--c); }

.wb-sec { flex: none; display: grid; gap: 7px; min-width: 0; }
.wb-sec > .wb-h { padding-top: 10px; border-top: 1px solid #2a231c; }
.wb-reset { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 6px; font: 700 10.5px var(--fb); color: var(--wb-sub); background: #141210; box-shadow: inset 0 0 0 1px #3a3229; transition: color .15s, box-shadow .15s; }
.wb-reset .ic { font-size: 10px; } .wb-reset:hover { color: #f3d68e; box-shadow: inset 0 0 0 1px #8a6a2c; }

/* nadirlik çarkı (2026-11-30; eski malzeme × nadirlik tablosu ve ürün olasılıkları kutularının yerine; İşlemehane'deki çarkın çok malzemeli hâli)
   solda çark (ürün nadirlik payları), sağda satırlar nadirlik, sütunlar malzeme; satır sonunda pay ve beklenen adet / değer aralığı */
.wq-sec .wb-h { align-items: center; min-width: 0; }
.wq-sec .wb-h > small { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wq-pre { margin-left: auto; display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: #100f0e; box-shadow: inset 0 0 0 1px #2a2521; flex: none; }
.wq-pre button { height: 20px; padding: 0 7px; border-radius: 6px; font: 600 10px var(--fb); color: #a0968f; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; transition: color .15s, background .15s; }
.wq-pre button .ic { font-size: 10px; }
.wq-pre button:hover:not(:disabled) { color: #f3d68e; background: #1b1815; }
.wq-pre button.on { color: #1c1408; background: linear-gradient(180deg, #d6bd78, #a98c4d); }
.wq-pre button:disabled { opacity: .35; }
.wq { --ww: 112px; display: grid; grid-template-columns: var(--ww) minmax(0, 1fr); gap: 14px; align-items: center; min-width: 0; }
.wq-wh { position: relative; width: var(--ww); height: var(--ww); }
.wq-wh svg { width: 100%; height: 100%; overflow: visible; }
.wq-rot { transform-origin: 60px 60px; transition: transform 2.2s cubic-bezier(.15, .85, .25, 1); }
.wq-rot path, .wq-rot circle { stroke: #0b0a0a; stroke-width: 1.2; }
.wq-rim { fill: none; stroke: #6d5e3b; stroke-width: 1.5; }
.wq-pin { fill: #f3d68e; stroke: #000; stroke-width: 1; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .6)); }
.wq-hub { position: absolute; left: 50%; top: 50%; width: 52%; height: 52%; translate: -50% -50%; display: grid; place-content: center; justify-items: center; border-radius: 50%; text-align: center;
  background: radial-gradient(circle at 50% 35%, #2b241c, #0f0d0b 75%); box-shadow: 0 0 0 1px #000, inset 0 0 0 1px #4a3d28, 0 4px 12px rgba(0, 0, 0, .6); }
.wq-hub b { font: 700 14px/1 var(--fn); color: #f4ecd9; }
.wq-hub small { font: 700 7px var(--fs); letter-spacing: .1em; text-transform: uppercase; color: var(--c); margin-top: 3px; }
.wq-t { display: grid; gap: 3px; min-width: 0; }
.wq-r { display: grid; grid-template-columns: 70px repeat(var(--m), minmax(0, 1fr)) 40px 50px; align-items: center; gap: 5px; min-height: 28px; padding: 0 6px 0 5px; border-radius: 7px; transition: background .2s; }
.wq-r.on { background: linear-gradient(90deg, color-mix(in srgb, var(--c) 12%, #141210), #141210); box-shadow: inset 2px 0 0 var(--c); }
.wq-r.wq-hd { min-height: 0; padding-bottom: 2px; align-items: end; }
.wq-q { display: inline-flex; align-items: center; gap: 5px; font: 700 8.5px var(--fs); letter-spacing: .1em; text-transform: uppercase; color: var(--c, var(--wb-dim)); white-space: nowrap; }
.wq-hd .wq-q, .wq-hd .wq-p, .wq-hd .wq-e { white-space: nowrap; font: 700 8px var(--fs); letter-spacing: .12em; text-transform: uppercase; color: var(--wb-dim); align-self: end; padding-bottom: 3px; }
.wq-mh { min-width: 0; display: grid; justify-items: center; gap: 2px; padding: 2px 0 3px; text-align: center; border-radius: 6px; }   /* dikey: resim, ad (en çok 2 satır), gereken · çantada */
.wq-m-ic { width: 26px; height: 26px; flex: none; }
.wq-mh > span { min-width: 0; max-width: 100%; display: grid; justify-items: center; gap: 1px; line-height: 1.12; }
.wq-mh b { max-width: 100%; font: 700 10.5px/1.12 var(--fb); color: var(--wb-ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.wq-mh small { font: 700 9px var(--fn); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; } .wq-mh small.ok { color: var(--wb-ok); } .wq-mh small.no { color: var(--wb-no); }
.wq-mh:hover b { color: #f3d68e; }
.wq-mh.fx b { color: var(--wb-dim); }
.wq-c { position: relative; display: grid; grid-template-columns: 16px 1fr 16px; align-items: center; height: 26px; padding: 0 2px; border-radius: 6px; background: #121010; box-shadow: inset 0 0 0 1px #2a241e; transition: box-shadow .2s, background .2s, opacity .2s; }
.wq-c b { font: 800 12px var(--fn); text-align: center; color: #6f665d; transition: color .2s; }
.wq-c small { position: absolute; right: 3px; top: 1px; font: 600 7.5px var(--fn); color: #5f5850; pointer-events: none; }
.wq-c button { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 4px; font: 700 12px/1 var(--fn); color: var(--wb-sub); opacity: .35; transition: opacity .15s, background .15s, color .15s; }
.wq-r:hover .wq-c button:not(:disabled), .wq-c:hover button:not(:disabled) { opacity: 1; }
.wq-c button:hover:not(:disabled) { background: color-mix(in srgb, var(--c) 30%, #000); color: #fff; }
.wq-c button:disabled { opacity: .12; cursor: default; }
.wq-c.use { background: color-mix(in srgb, var(--c) 12%, #121010); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent); }
.wq-c.use b { color: var(--c); }
.wq-c.off { opacity: .4; }
.wq-c.na { display: grid; place-items: center; background: none; box-shadow: none; color: #3f3830; }
.wq-c.fx { grid-template-columns: 1fr; justify-items: center; background: #15120f; }
.wq-c.fx b { color: var(--wb-dim); } .wq-c.fx small { position: static; font-size: 7px; letter-spacing: .08em; text-transform: uppercase; margin-top: -4px; }
.wq-p { font: 700 11.5px var(--fn); color: #f4ecd9; text-align: right; }
.wq-r:not(.on) > .wq-p { color: #8a8078; }
.wq-e { font: 500 9.5px var(--fn); font-style: normal; color: #8a8078; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wq-sm { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; padding: 6px 8px 6px 10px; border-radius: 9px; background: #121010; box-shadow: inset 0 0 0 1px #2a241e; }
.wq-sm > small { display: grid; gap: 1px; font: 700 8px var(--fs); letter-spacing: .12em; text-transform: uppercase; color: #8a8078; }
.wq-sm > small em { font: 500 9.5px var(--fn); font-style: normal; letter-spacing: 0; text-transform: none; color: #6f665d; }
.wq-ds { display: flex; flex-wrap: wrap; gap: 3px; min-width: 0; }
.wq-ds > em { font: 500 10px var(--fb); font-style: normal; color: #6f665d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wq-ds .qd { position: relative; left: auto; top: auto; margin: 0; width: 8px; height: 8px; animation: wqPop .35s var(--spring) both; animation-delay: calc(var(--i) * 45ms + 1.6s); }
.wq-ds.old .qd { opacity: .3; animation: none; }
@keyframes wqPop { from { opacity: 0; transform: rotate(45deg) scale(.2); } }
.wq-go { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 11px; border-radius: 8px; font: 700 11px var(--fb); color: #1c1408; background: linear-gradient(180deg, #d6bd78, #a98c4d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.wq-go .ic { font-size: 12px; } .wq-go:hover:not(:disabled) { filter: brightness(1.08); } .wq-go:disabled { filter: grayscale(1); opacity: .4; }
.wq-ct { grid-column: 2; display: flex; gap: 8px; font: 500 9.5px var(--fn); color: #8a8078; animation: wqFade .3s 2s both; }
.wq-ct b { color: var(--c); font-weight: 700; }
@keyframes wqFade { from { opacity: 0; } }
@container wbc (min-width: 1080px) {
  .wq { --ww: 136px; gap: 18px; } .wq-r { min-height: 32px; grid-template-columns: 82px repeat(var(--m), minmax(0, 1fr)) 48px 64px; gap: 7px; }
  .wq-c { height: 30px; } .wq-c b { font-size: 13.5px; } .wq-m-ic { width: 30px; height: 30px; } .wq-mh b { font-size: 12px; } .wq-hub b { font-size: 16px; } .wq-p { font-size: 13px; }
}

/* alt: adet, özet, Üret */
.wb-foot { flex: none; margin-top: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "qty go" "sum go"; gap: 8px 14px; align-items: center; padding-top: 12px; border-top: 1px solid #2a231c; }
.wb-qty { grid-area: qty; display: flex; align-items: center; gap: 10px; min-width: 0; }
.wb-qty > small { font: 700 10px var(--fs); letter-spacing: .14em; text-transform: uppercase; color: #b99a5c; }
.wb-step { display: inline-flex; align-items: center; height: 30px; border-radius: 8px; background: #110f0d; box-shadow: 0 0 0 1px var(--wb-void), inset 0 0 0 1px var(--wb-ed); }
.wb-step button { width: 26px; height: 100%; font: 700 15px var(--fn); color: var(--wb-sub); transition: color .15s; } .wb-step button:hover:not(:disabled) { color: #f3d68e; } .wb-step button:disabled { opacity: .35; }
.wb-step b { min-width: 34px; text-align: center; font: 800 14px var(--fn); color: var(--wb-ink); }
.wb-range { flex: 1; min-width: 60px; height: 22px; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
.wb-range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #a98c4d calc(var(--v) * 100%), #1d1915 0); box-shadow: inset 0 0 0 1px #3a3229; }
.wb-range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -5px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff4cc, #e7c26a 55%, #8a6a2c); box-shadow: 0 0 0 1.5px var(--wb-void), 0 0 10px rgba(231, 194, 106, .6); transition: transform .15s; }
.wb-range:hover::-webkit-slider-thumb { transform: scale(1.15); }
.wb-range:disabled { opacity: .35; cursor: default; }
.wb-max { flex: none; height: 30px; padding: 0 10px; border-radius: 8px; font: 600 11px var(--fb); color: var(--wb-sub); background: #141210; box-shadow: inset 0 0 0 1px #3a3229; transition: color .15s, box-shadow .15s; }
.wb-max b { font: 700 11.5px var(--fn); color: var(--wb-ink); } .wb-max:hover:not(:disabled) { color: #f3d68e; box-shadow: inset 0 0 0 1px #8a6a2c; } .wb-max:disabled { opacity: .45; }
.wb-sum { grid-area: sum; display: flex; gap: 14px; min-width: 0; }
.wb-sum span { display: grid; gap: 1px; } .wb-sum small { font: 500 10px var(--fb); color: var(--wb-dim); } .wb-sum b { font: 700 13px var(--fn); color: var(--wb-ink); white-space: nowrap; }
.wb-go { grid-area: go; position: relative; display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 24px 0 20px; border-radius: 12px; overflow: hidden; color: #1c1408;
  background: linear-gradient(180deg, #dec47d, #a98c4d 60%, #a5802f); box-shadow: 0 0 0 1.5px var(--wb-void), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .25), 0 10px 22px -10px rgba(231, 194, 106, .7);
  transition: transform .15s var(--spring), filter .15s; }
.wb-go::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); transform: translateX(-120%); }
.wb-go:hover:not(:disabled)::after { transition: transform .7s var(--ease); transform: translateX(120%); }
.wb-go:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.06); } .wb-go:active:not(:disabled) { transform: scale(.98); }
.wb-go > .ic { font-size: 24px; }
.wb-go > span { display: grid; gap: 1px; text-align: left; } .wb-go b { font: 700 18px var(--fs); letter-spacing: .04em; } .wb-go small { font: 600 10.5px var(--fn); opacity: .7; }
.wb-go:disabled { cursor: default; color: #8c8172; background: linear-gradient(180deg, #2a241e, #1a1613); box-shadow: 0 0 0 1.5px var(--wb-void), inset 0 0 0 1px #3a3229; }

/* ---------- sıra ve teslim rafı ---------- */
.wb-dock { grid-area: dock; min-width: 0; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 12px; }
.wb-box { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; overflow: hidden; }
.wb-take { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 6px; font: 700 10.5px var(--fb); color: #1c1408; background: linear-gradient(180deg, #d6bd78, #a98c4d); box-shadow: 0 0 0 1px var(--wb-void); }
.wb-take .ic { font-size: 11px; } .wb-take:hover { filter: brightness(1.08); }
.wb-queue { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; min-height: 0; }
.wb-q { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 7px; padding: 5px 6px; border-radius: 8px; overflow: hidden; background: #121010; box-shadow: inset 0 0 0 1px #2e2721; }
.wb-q.run { cursor: pointer; box-shadow: inset 0 0 0 1px #8a6a2c, 0 0 14px -6px rgba(231, 194, 106, .6); }
.wb-q.run:hover { background: #1a1613; }
.wb-q-ic { width: 34px; height: 34px; }
.wb-q-tx { min-width: 0; display: grid; gap: 1px; }
.wb-q-tx b { font: 700 11px var(--fb); color: var(--wb-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-q-tx em { font: 500 9.5px var(--fb); font-style: normal; color: var(--wb-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .wb-q-tx em i { font-style: normal; }
.wb-q-bar { display: block; height: 3px; margin-top: 2px; border-radius: 2px; background: #0b0a09; overflow: hidden; }
.wb-q-bar::before { content: ''; display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p)); background: linear-gradient(90deg, #8a6a2c, #f0d58c); transition: transform .9s linear; }
.wb-q:not(.run) .wb-q-bar { display: none; }
.wb-q > small { position: absolute; right: 6px; top: 4px; font: 700 9px var(--fn); color: #d9bd7e; }
.wb-q-x { position: absolute; right: 3px; bottom: 3px; width: 16px; height: 16px; display: grid; place-items: center; border-radius: 4px; font-size: 9px; color: var(--wb-dim); opacity: 0; transition: opacity .15s, color .15s, background .15s; }
.wb-q:hover .wb-q-x { opacity: 1; } .wb-q-x:hover { color: #fff; background: #6b2e22; }
.wb-q.empty { grid-template-columns: 34px minmax(0, 1fr); background: transparent; box-shadow: inset 0 0 0 1px #2a241e; }
.wb-q-slot { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; border: 1px dashed #3a3229; color: #4a3d2c; font-size: 14px; font-style: normal; }
.wb-q.empty > span { display: grid; gap: 1px; min-width: 0; } .wb-q.empty em { font: 600 10.5px var(--fb); font-style: normal; color: #6f665d; } .wb-q.empty small { position: static; font: 500 9px var(--fb); color: #5a524a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-rack { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 5px; min-height: 0; overflow: hidden; }
.wb-rk { width: 38px; height: 38px; cursor: pointer; transition: transform .15s var(--spring); } .wb-rk:hover { transform: translateY(-2px) scale(1.05); }
.wb-rk-empty { display: flex; align-items: center; gap: 6px; font: 500 11px var(--fb); color: #6f665d; } .wb-rk-empty .ic { font-size: 14px; color: #4a3d2c; }
.wb-more { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; font: 700 11px var(--fn); color: var(--wb-sub); background: #121010; box-shadow: inset 0 0 0 1px #2e2721; }

/* geniş orta alan: sıra ve raf sağ sütunda alt alta, sıra satırları dikey */
@container wbc (min-width: 1080px) {
  .wb-dock { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .wb-queue { grid-template-columns: minmax(0, 1fr); }
  .wb-q { grid-template-columns: 42px minmax(0, 1fr); padding: 7px 8px; } .wb-q-ic, .wb-q-slot { width: 42px; height: 42px; }
  .wb-q-tx b { font-size: 12.5px; } .wb-q-tx em { font-size: 10.5px; } .wb-q > small { font-size: 10px; top: 7px; right: 8px; }
  .wb-rk, .wb-more { width: 46px; height: 46px; }
  .wb-bench { padding: 18px 22px; gap: 16px; } .wb-prod { width: 96px; height: 96px; } .wb-prod-ic { width: 74px; height: 74px; } .wb-ht > b { font-size: 30px; }
  .wb-r { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 6px 10px 6px 6px; } .wb-r-ic { width: 44px; height: 44px; } .wb-r-tx b { font-size: 14px; }
  .wb-go { height: 70px; padding: 0 30px 0 24px; } .wb-go b { font-size: 21px; }
}
/* alçak pencere: tezgâh sıkı */
@media (max-height: 800px) {
  .wb-bench { gap: 9px; padding: 12px 14px; } .wb-sec > .wb-h { padding-top: 8px; } .wb-foot { padding-top: 9px; }
  .wb-prod { width: 64px; height: 64px; } .wb-prod-ic { width: 50px; height: 50px; } .wb-ht > b { font-size: 21px; }
  .wq-c { height: 24px; } .wq-r { min-height: 25px; } .wb-go { height: 56px; }
}
html.reduce-fx .wb-rays, html.reduce-fx .wb-halo { animation: none; }
.wbx { text-align: left; }
.wb-top { justify-content: flex-start; }
/* dar orta alan: sıra yuvaları ve raf düğmesi tek satır */
.wb-q.empty small { display: none; } .wb-q.empty em { white-space: nowrap; }
.wb-q-tx b, .wb-q-tx em { white-space: nowrap; }
.wb-take { white-space: nowrap; flex: none; }
.wb-box .wb-h > small { flex: none; }
@container wbc (max-width: 1079px) { .wb-dock { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } .wb-q { grid-template-columns: 30px minmax(0, 1fr); gap: 5px; padding: 4px 5px; } .wb-q-ic, .wb-q-slot { width: 30px; height: 30px; } .wb-q > small { display: none; } .wb-rk, .wb-more { width: 34px; height: 34px; } }
@container wbc (min-width: 1080px) { .wb-q.empty small { display: block; } }
@container wbc (max-width: 1079px) { .wb-take > span { display: none; } .wb-rbox .wb-h > b { letter-spacing: .1em; } }
.wb-about { flex: 1 1 auto; min-height: 0; align-content: start; overflow: hidden; }
.wb-about p { font: 400 12px/1.5 var(--fb); color: var(--wb-sub); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@container wbc (min-width: 1080px) { .wb-about p { font-size: 13px; } }
.wbx { justify-items: stretch; align-items: stretch; }
/* geniş: ürün vitrini büyük, bilgi bölümü boşluğu doldurur */
@container wbc (min-width: 1080px) { .wb-prod { width: 120px; height: 120px; border-radius: 18px; } .wb-prod-ic { width: 92px; height: 92px; } .wb-ht > b { font-size: 34px; } .wb-tags > span { height: 26px; font-size: 12px; } .wb-tags > span b { font-size: 13px; } .wb-sec { gap: 10px; } .wb-h > b { font-size: 11.5px; } .wb-h > small { font-size: 12px; } }
