/* ---------- build rehberleri ---------- */
.bg-main .ic, .bg-main svg { flex: none; }

/* liste */
.bl-hero { position: relative; overflow: hidden; isolation: isolate; background: #06070a; min-height: 440px; display: flex; align-items: flex-end; }
.bl-hero-in { width: 100%; padding-top: 80px; padding-bottom: 60px; }
.bl-hero-in > * { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.bl-title { margin: 14px 0 12px; font: 700 clamp(38px, 5vw, 68px)/1 var(--f-display); background: linear-gradient(180deg, #fff3d6, #d9b26f 62%, #8f7140); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bl-sub { max-width: 620px; color: #b6aa94; font-size: 17px; margin: 0 0 26px; }
.bl-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.bl-sec { padding-top: 34px; }
.bl-filter { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.bl-filter .input { width: auto; flex: 1 1 260px; max-width: 380px; }
.bl-filter select.input { flex: 0 1 200px; }
.bl-sort { display: flex; gap: 6px; margin-left: auto; }
.bl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.bl-tile { position: relative; display: block; min-height: 300px; overflow: hidden; isolation: isolate; border: 1px solid rgba(217,178,111,.16); background: #000; color: var(--text);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px)); transition: border-color .3s, transform .25s; }
.bl-tile:hover { border-color: rgba(243,220,170,.55); }
.bl-art { position: absolute; inset: 0; z-index: -2; background: center 30% / cover no-repeat; transition: transform .8s; filter: saturate(.85); }
.bl-tile:hover .bl-art { transform: scale(1.06); filter: none; }
.bl-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,5,6,.15), rgba(6,5,6,.55) 45%, rgba(6,5,6,.96) 80%); }
.bl-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: grid; gap: 8px; }
.bl-cls { display: inline-flex; align-items: center; gap: 8px; font: 600 11px var(--f-head); letter-spacing: .18em; text-transform: uppercase; color: var(--ember2); }
.bl-cls img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(217,178,111,.5); }
.bl-body b { font: 700 20px/1.2 var(--f-display); color: #f6e6c3; }
.bl-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.bl-tags i { font: 600 10px var(--f-head); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: #d9c8a6; padding: 3px 8px; border: 1px solid rgba(217,178,111,.25); background: rgba(0,0,0,.4); }
.bl-meta { display: flex; align-items: center; gap: 8px; color: #8b7f6b; font-size: 13px; }
.bl-meta img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.bl-meta em { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-style: normal; color: #c9bba1; }
.bl-meta em + em { margin-left: 10px; }
.bl-meta svg { width: 14px; height: 14px; }
.bl-draft { position: absolute; top: 14px; right: 14px; z-index: 2; font: 700 10px var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: #1a0e06; background: var(--ember2); padding: 4px 9px; }
.bl-draft.static { position: static; display: inline-block; margin-top: 10px; }

/* rehber kahramanı */
.bg-hero { position: relative; overflow: hidden; isolation: isolate; background: #06070a; min-height: 470px; display: flex; align-items: flex-end; }
.bg-hero .pn-art.bg-asc, .be-top .pn-art.bg-asc { background-size: cover; filter: blur(46px) saturate(1.2) brightness(.5); transform: scale(1.3); animation: none; }
.bg-hero-in { width: 100%; padding-top: 70px; padding-bottom: 34px; }
.bg-hero-in > * { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.bg-title { margin: 14px 0 14px; max-width: 900px; font: 700 clamp(30px, 4vw, 52px)/1.08 var(--f-display); color: #f6e6c3; text-shadow: 0 6px 30px rgba(0,0,0,.8); }
.bg-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bg-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; font: 600 12px var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: #e8d9bb;
  background: rgba(10,8,7,.7); border: 1px solid rgba(217,178,111,.25); backdrop-filter: blur(6px); }
.bg-chip.cls { padding: 3px 12px 3px 3px; font-family: var(--f-display); font-size: 14px; letter-spacing: .02em; text-transform: none; color: var(--gold2); }
.bg-chip.cls img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.bg-chip.dim { color: #9d917d; }
.bg-chip.hc { color: #ff8f80; border-color: rgba(255,107,90,.45); }
.bg-by { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; color: #8b7f6b; font-size: 14px; }
.bg-by svg { width: 14px; height: 14px; vertical-align: -2px; }
.bg-author { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; color: var(--ember2); font: 600 15px var(--f-body); padding: 0; }
.bg-author img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(217,178,111,.5); }
.bg-author:hover span { text-decoration: underline; }
.bg-actbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(217,178,111,.14); }
.bg-btn, .bg-fav { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; cursor: pointer; color: #e8d9bb; background: rgba(10,8,7,.75); border: 1px solid rgba(217,178,111,.22);
  font: 600 13px var(--f-head); letter-spacing: .1em; text-transform: uppercase; transition: all .2s; }
.bg-btn svg, .bg-fav svg { width: 17px; height: 17px; }
.bg-btn:hover, .bg-fav:hover { border-color: #f3dcaa; color: #fff; }
.bg-btn b, .bg-fav b { font: 700 15px var(--f-head); letter-spacing: 0; }
.bg-fav.on { color: #ff8f9c; border-color: rgba(255,90,110,.6); background: rgba(200,29,51,.2); }
.bg-fav.on svg { fill: currentColor; }
.bg-editbtn { margin-left: auto !important; }

/* düzen */
.bg-main { padding: 34px 0 100px; }
.bg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; align-items: start; }
.bg-col { display: grid; gap: 22px; min-width: 0; }
.bg-side { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 18px; }
.bg-card { position: relative; padding: 24px 28px 28px; scroll-margin-top: calc(var(--hdr) + 20px);
  background: linear-gradient(180deg, rgba(22,18,15,.92), rgba(10,9,10,.95)); border: 1px solid rgba(217,178,111,.14); box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.bg-card::before { content: ''; position: absolute; left: 0; top: 0; width: 45%; height: 1px; background: linear-gradient(90deg, rgba(243,220,170,.75), transparent); }
.bg-card > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 700 22px var(--f-display); color: var(--gold2); }
.bg-card > h2 .rn { width: 14px; height: 14px; color: var(--ember); }
.bg-card > h2 em { font: 600 15px var(--f-head); font-style: normal; color: #8b7f6b; }
.bg-article { color: #d6cab2; font-size: 16px; line-height: 1.7; }
.bg-article h2 { font: 700 19px var(--f-display); color: #f3e2bb; margin: 22px 0 10px; display: flex; gap: 8px; align-items: center; }
.bg-article h2 .rn { width: 12px; height: 12px; color: var(--ember); }
.bg-article p { margin: 0 0 14px; }
.bg-article ul { margin: 0 0 14px; padding-left: 20px; }
.bg-article blockquote { margin: 0 0 14px; padding: 10px 16px; border-left: 2px solid var(--ember2); background: rgba(217,178,111,.06); color: #e8dcc4; font-family: 'Spectral', Georgia, serif; }
.bg-empty { color: #7d7262; font: italic 400 15px 'Spectral', Georgia, serif; margin: 0; }
.bg-vname { margin: 0 0 10px; font: 700 18px var(--f-display); color: #f3e2bb; }

/* güçlü/zayıf */
.bg-sw { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid rgba(217,178,111,.12); }
.bg-sw ul { list-style: none; margin: 0; padding: 18px 20px; display: grid; gap: 14px; align-content: start; }
.bg-sw ul + ul { border-left: 1px solid rgba(217,178,111,.12); }
.bg-sw li { display: flex; gap: 12px; color: #d6cab2; font-size: 15.5px; line-height: 1.5; }
.bg-sw li svg { width: 20px; height: 20px; margin-top: 2px; stroke-width: 2.4; }
.bg-sw .good svg { color: #5fd37a; } .bg-sw .bad svg { color: #ff5a4a; }
.bg-sw li.none { color: #6f6656; }
.bg-sw.edit { grid-template-columns: 1fr 1fr; gap: 16px; border: 0; }
.bg-sw.edit h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 12px var(--f-head); letter-spacing: .2em; text-transform: uppercase; }
.bg-sw.edit h4 svg { width: 16px; height: 16px; stroke-width: 2.4; }
.bg-sw.edit h4.good { color: #5fd37a; } .bg-sw.edit h4.bad { color: #ff7a6b; }

/* varyant sekmeleri */
.bg-vtabs, .be-vtabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(217,178,111,.12); }
.bg-vtabs button, .be-vtabs button { position: relative; padding: 10px 16px; cursor: pointer; color: #a99d88; background: rgba(255,255,255,.02); border: 1px solid rgba(217,178,111,.14);
  font: 600 13px var(--f-head); letter-spacing: .12em; text-transform: uppercase; transition: all .2s; }
.bg-vtabs button:hover, .be-vtabs button:hover { color: #f3e2bb; border-color: rgba(217,178,111,.4); }
.bg-vtabs button.on, .be-vtabs button.on { color: #fff3d6; border-color: #f3dcaa; background: linear-gradient(180deg, rgba(200,29,51,.32), rgba(200,29,51,.06)); }
.bg-vtabs button.on::after, .be-vtabs button.on::after { content: ''; position: absolute; left: 50%; bottom: -15px; width: 8px; height: 8px; margin-left: -4px; transform: rotate(45deg); background: #f3dcaa; }
.be-vtabs .be-vadd { color: var(--ember2); font-size: 18px; padding: 6px 14px; }

/* ekipman: PoE envanter düzeni */
.bg-setsw { display: flex; justify-content: center; margin: 0 auto 18px; width: max-content; border: 1px solid rgba(217,178,111,.2); }
.bg-setsw[hidden] { display: none; }
.bg-setsw button { padding: 9px 20px; cursor: pointer; color: #a99d88; background: rgba(0,0,0,.3); border: 0; font: 600 13px var(--f-head); letter-spacing: .14em; text-transform: uppercase; }
.bg-setsw button.on { color: #1a0e06; background: linear-gradient(#f3dcaa, #c79b55); }
/* ekipman paneli: oyunun envanter paneli görseli üzerinde, yuvalar oyundaki çerçevelerin yerinde */
.bg-inv { position: relative; width: 100%; max-width: 700px; margin: 16px auto 0; aspect-ratio: 970 / 725; background: url(/assets/site/ui/inv-panel.webp) center / 100% 100% no-repeat;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.6)); container-type: inline-size; }
.bg-charmfr { position: absolute; background: url(/assets/site/ui/inv-charms.webp) center / 100% 100% no-repeat; pointer-events: none; }
.bg-slot { position: absolute; display: grid; place-items: center; align-content: center; gap: 4px; padding: 3%; cursor: pointer; text-align: center; overflow: hidden;
  color: #8a7f6c; background: transparent; border: 0; transition: box-shadow .2s, background .2s; }
/* panelde çerçevesi olmayan yuvalar (iksirler): oyundaki gibi koyu kutu ve ince altın çerçeve */
.bg-slot.s-flask1, .bg-slot.s-flask2 { background: linear-gradient(180deg, rgba(16,14,12,.92), rgba(6,5,5,.95)); box-shadow: inset 0 0 0 1px rgba(150,120,70,.55), inset 0 0 0 3px rgba(0,0,0,.8), inset 0 0 0 4px rgba(110,88,52,.35); }
.bg-slot:disabled { cursor: default; }
.bg-slot:not(:disabled):hover { box-shadow: inset 0 0 0 2px rgba(243,220,170,.7), inset 0 0 26px rgba(226,189,120,.25); color: #e9dcc3; }
.bg-slot.filled { background: radial-gradient(75% 75% at 50% 45%, color-mix(in srgb, var(--rc) 16%, rgba(10,9,8,.9)), rgba(6,5,5,.94)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rc) 40%, transparent), inset 0 0 22px color-mix(in srgb, var(--rc) 12%, transparent); }
.bg-slot.filled:not(:disabled):hover { box-shadow: inset 0 0 0 2px var(--rc), inset 0 0 26px color-mix(in srgb, var(--rc) 25%, transparent); }
.bg-slot .bg-sil { width: 46%; max-width: 34px; height: auto; aspect-ratio: 1; opacity: .4; }
.bg-slot.filled .bg-sil { opacity: .9; filter: drop-shadow(0 0 6px var(--rc)); }
/* eşya resmi yuvayı doldursun (küçük kaynak resimler de büyütülür): yuvaya göre konumlanır */
.bg-slot img { position: absolute; left: 8%; top: 8%; width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0,0,0,.8)); pointer-events: none; }
.bg-slot.big.filled img { top: 6%; height: 70%; }
.bg-slot.big .bg-iname { position: absolute; left: 4%; right: 4%; bottom: 5%; }
.bg-slab { position: absolute; left: 0; right: 0; bottom: 5%; font: 600 clamp(8px, 1.5cqw, 10.5px) var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: #a99d88; opacity: 0; transition: opacity .2s; text-shadow: 0 1px 4px #000; }
.bg-slot:hover .bg-slab, .bg-slot.s-flask1 .bg-slab, .bg-slot.s-flask2 .bg-slab { opacity: 1; }
.bg-iname { display: none; font: 600 clamp(9px, 1.7cqw, 12.5px)/1.2 var(--f-display); color: var(--rc); text-shadow: 0 2px 6px #000; padding: 0 3px; }
.bg-slot.big .bg-iname { display: block; }
.bg-has-note { position: absolute; top: 6%; right: 6%; width: 7px; height: 7px; transform: rotate(45deg); background: var(--ember2); }
/* silah seti seçici I / II (oyundaki sekmeler gibi) */
/* yuvanın üst ortasına oturur; telefonda da basılabilecek kadar büyük kalır */
.bg-wsw { position: absolute; display: flex; gap: 4%; width: max(58px, 7.4cqw); height: max(24px, 3.1cqw); transform: translate(-50%, -100%); }
.bg-wsw button { flex: 1; cursor: pointer; padding: 0; border-radius: 9px 9px 2px 2px; font: 700 clamp(11px, 2.3cqw, 17px)/1 var(--f-display); color: #6f6556;
  background: linear-gradient(180deg, #1a1612, #0a0807); border: 1px solid rgba(150,120,70,.4); border-bottom: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); transition: color .2s; }
.bg-wsw button:hover { color: #c9bba1; }
.bg-wsw button:disabled { opacity: .35; cursor: default; }
.bg-wsw button.on { color: #f3dcaa; background: linear-gradient(180deg, #3a2f20, #15110c); border-color: rgba(226,189,120,.75); box-shadow: 0 0 12px rgba(226,189,120,.25), inset 0 1px 0 rgba(255,240,200,.15); text-shadow: 0 0 8px rgba(243,220,170,.5); }
.bg-note-box { max-width: 620px; margin: 16px auto 0; padding: 14px 18px; border: 1px solid rgba(217,178,111,.2); background: rgba(0,0,0,.35); animation: upIn .3s ease-out; }
.bg-note-box b { display: block; font: 700 18px var(--f-display); }
.bg-note-box small { font: 600 10px var(--f-head); letter-spacing: .18em; text-transform: uppercase; color: #7d7262; }
.bg-note-box p { margin: 8px 0 0; color: #d6cab2; }
.bg-gnotes { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(217,178,111,.1); color: #d6cab2; line-height: 1.7; }
.bg-gnotes p { margin: 0 0 12px; }

/* gemler */
.bg-gems { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.bg-gem { border: 1px solid rgba(217,178,111,.14); background: rgba(0,0,0,.28); }
.bg-gem-main { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid rgba(217,178,111,.1); background: linear-gradient(90deg, rgba(217,178,111,.07), transparent); }
.bg-gname { font: 700 17px var(--f-display); color: #f3e2bb; }
.bg-glv { color: #8b7f6b; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.bg-gtags { width: 100%; font: 600 10px var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: #6f6656; }
.bg-setb { font: 700 10px var(--f-head); letter-spacing: .12em; text-transform: uppercase; padding: 3px 7px; color: #fff; }
.bg-setb.s1 { background: rgba(255,63,142,.5); } .bg-setb.s2 { background: rgba(62,230,107,.4); }
.bg-gemdot { width: 30px; height: 30px; flex: none; transform: rotate(45deg); border-radius: 4px; background: radial-gradient(circle at 30% 30%, #fff, var(--c) 40%, #111 120%); box-shadow: 0 0 12px color-mix(in srgb, var(--c) 60%, transparent), inset 0 0 0 1px rgba(0,0,0,.5); }
.bg-gemdot.sup { width: 20px; height: 20px; border-radius: 50%; transform: none; }
.bg-gemic { width: 36px; height: 36px; object-fit: contain; flex: none; }
.bg-gemic.sup { width: 26px; height: 26px; }
.bg-sups { display: grid; gap: 2px; padding: 8px 10px 10px; }
.bg-sup { display: flex; align-items: center; gap: 10px; padding: 6px 6px; color: #d6cab2; font-size: 15px; }
.bg-nosup { color: #6f6656; font-size: 13px; padding: 6px; }

/* ağaç */
.bg-tree { position: relative; height: 480px; overflow: hidden; background: #050506; border: 1px solid rgba(217,178,111,.16); }
.bg-tree canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-tree-veil { position: absolute; inset: 0; z-index: 2; display: grid; place-items: end center; padding-bottom: 18px; cursor: pointer; background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,.6)); }
.bg-tree-veil span { font: 600 11px var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: #c9bba1; padding: 6px 12px; background: rgba(0,0,0,.6); border: 1px solid rgba(217,178,111,.25); }
.bg-tree-open { position: absolute; z-index: 3; right: 6px; top: 14px; }

/* görev ödülleri */
.bg-quests { display: grid; gap: 8px; }
.bg-quest { display: flex; align-items: center; gap: 16px; padding: 12px 14px; border-left: 2px solid var(--ember2); background: linear-gradient(90deg, rgba(217,178,111,.08), transparent); }
.bg-quest small { display: block; color: #7d7262; font-size: 12.5px; }
.bg-quest b { display: block; color: #93a2ff; font: 500 16px 'Spectral', Georgia, serif; margin-top: 2px; }
.bg-qact { flex: none; min-width: 72px; text-align: center; font: 700 10px var(--f-head); letter-spacing: .16em; text-transform: uppercase; color: #1a0e06; background: var(--ember2); padding: 4px 8px; }

/* yorumlar */
.bg-cform { display: flex; gap: 14px; margin-bottom: 24px; }
.bg-cform > img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px rgba(217,178,111,.4); }
.bg-cform > div { flex: 1; }
.bg-cform textarea, .bg-rform textarea { width: 100%; min-height: 90px; resize: vertical; padding: 12px 14px; color: var(--text); font: 15px/1.5 var(--f-body); background: rgba(0,0,0,.4); border: 1px solid rgba(217,178,111,.18); outline: none; }
.bg-cform textarea:focus, .bg-rform textarea:focus { border-color: rgba(243,220,170,.55); }
.bg-cfoot { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 8px; color: #6f6656; font-size: 13px; }
.bg-cm { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.04); }
.bg-cm.child { margin-left: 54px; padding-top: 10px; border-top: 0; position: relative; }
.bg-cm.child::before { content: ''; position: absolute; left: -32px; top: -6px; width: 22px; height: 30px; border-left: 1px solid rgba(217,178,111,.25); border-bottom: 1px solid rgba(217,178,111,.25); }
.bg-cav { width: 40px; height: 40px; flex: none; padding: 0; border: 0; border-radius: 50%; overflow: hidden; cursor: pointer; background: none; }
.bg-cav img { width: 100%; height: 100%; object-fit: cover; }
.bg-cb { flex: 1; min-width: 0; }
.bg-ch { display: flex; align-items: center; gap: 10px; }
.bg-ch b { color: #f3e2bb; cursor: pointer; }
.bg-ch .role { margin: 0; }
.bg-ch time { color: #6f6656; font-size: 13px; }
.bg-cb p { margin: 6px 0 8px; color: #d6cab2; line-height: 1.55; overflow-wrap: anywhere; }
.bg-cact { display: flex; gap: 14px; }
.bg-cact button { background: none; border: 0; padding: 0; cursor: pointer; color: #7d7262; font: 600 11px var(--f-head); letter-spacing: .14em; text-transform: uppercase; }
.bg-cact button:hover { color: var(--gold2); }
.bg-rform { margin-top: 10px; display: grid; gap: 8px; }

/* kenar çubuğu */
.bg-scard { position: relative; display: block; padding: 18px 20px; background: linear-gradient(180deg, rgba(22,18,15,.92), rgba(10,9,10,.95)); border: 1px solid rgba(217,178,111,.14); }
.bg-scard > h3 { margin: 0 0 12px; font: 700 12px var(--f-head); letter-spacing: .26em; text-transform: uppercase; color: var(--gold2); }
.bg-video { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16/9; cursor: pointer; border: 1px solid rgba(217,178,111,.2); background: #000 center / cover; overflow: hidden; }
.bg-video::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.bg-video span { position: relative; width: 64px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #c81d33; box-shadow: 0 0 30px rgba(200,29,51,.6); transition: transform .2s; }
.bg-video span svg { width: 22px; height: 22px; fill: #fff; stroke: none; }
.bg-video:hover span { transform: scale(1.1); }
.bg-video em { position: absolute; bottom: 8px; left: 0; right: 0; font: 600 10px var(--f-head); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: #c9bba1; }
.bg-iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.bg-sub { text-decoration: none; border-color: rgba(200,29,51,.45); background: linear-gradient(180deg, rgba(200,29,51,.28), rgba(10,9,10,.95)); }
.bg-sub b { display: block; font: 700 16px var(--f-display); color: #fff3d6; }
.bg-sub small { color: #c9bba1; }
.bg-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 2px; }
.bg-toc li { counter-increment: toc; }
.bg-toc a { position: relative; display: block; padding: 7px 10px 7px 34px; color: #a99d88; font-size: 14.5px; border-left: 2px solid transparent; transition: all .2s; }
.bg-toc a::before { content: counter(toc) '.'; position: absolute; left: 10px; color: #6f6656; font: 600 12px var(--f-head); top: 9px; }
.bg-toc a:hover { color: #f3e2bb; background: rgba(217,178,111,.05); }
.bg-toc a.on { color: var(--ember2); border-left-color: var(--ember2); background: linear-gradient(90deg, rgba(217,178,111,.1), transparent); }
.bg-top { margin-top: 12px; width: 100%; padding: 9px; cursor: pointer; color: #c9bba1; background: rgba(255,255,255,.03); border: 1px solid rgba(217,178,111,.18); font: 600 11px var(--f-head); letter-spacing: .16em; text-transform: uppercase; }
.bg-top:hover { color: #fff; border-color: rgba(243,220,170,.5); }
.bg-pop { display: grid; gap: 4px; }
.bg-popi { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 8px; color: inherit; transition: background .2s; }
.bg-popi:hover { background: rgba(217,178,111,.06); }
.bg-popi span { grid-row: span 2; width: 64px; height: 40px; background: center 30% / cover; border: 1px solid rgba(217,178,111,.25); }
.bg-popi b { font: 600 14px/1.25 var(--f-body); color: #e8dcc4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bg-popi small { color: #6f6656; font-size: 12px; }

/* ---------- editör ---------- */
.be-top { position: relative; overflow: hidden; isolation: isolate; background: #06070a; }
.be-top-in { width: 100%; padding-top: 50px; padding-bottom: 30px; }
.be-title { display: block; width: 100%; margin: 12px 0 14px; padding: 6px 0; color: #f6e6c3; font: 700 clamp(26px, 3.2vw, 40px)/1.2 'Spectral', Georgia, serif; background: transparent; border: 0; border-bottom: 1px dashed rgba(217,178,111,.35); outline: none; }
.be-title:focus { border-bottom-color: #f3dcaa; }
.be-selrow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.be-sel { display: inline-flex; align-items: center; gap: 8px; font: 600 11px var(--f-head); letter-spacing: .18em; text-transform: uppercase; color: #8b7f6b; }
.be-sel select { padding: 7px 10px; color: #f3e2bb; background: rgba(10,8,7,.8); border: 1px solid rgba(217,178,111,.25); font: 600 13px var(--f-head); letter-spacing: .06em; }
.be-tags { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.be-tag button { background: none; border: 0; color: #a99d88; cursor: pointer; font-size: 15px; padding: 0 0 0 4px; }
.be-tag button:hover { color: #ff7a6b; }
.be-tagadd input { width: 150px; padding: 7px 10px; color: var(--text); background: rgba(10,8,7,.75); border: 1px dashed rgba(217,178,111,.35); font: 13px var(--f-body); outline: none; }
.be-info { padding: 14px 18px; border: 1px solid rgba(143,182,255,.3); background: rgba(91,140,255,.08); color: #c5d3ff; font-size: 14px; }
.bg-in { width: 100%; padding: 10px 12px; color: var(--text); background: rgba(0,0,0,.4); border: 1px solid rgba(217,178,111,.18); font: 15px/1.5 var(--f-body); outline: none; transition: border-color .2s; }
.bg-in:focus { border-color: rgba(243,220,170,.55); }
.bg-in.sm { width: 64px; padding: 5px 8px; font-size: 13px; }
select.bg-in.sm { width: auto; }
.be-taw { position: relative; }
.be-ta { min-height: 80px; resize: vertical; }
.be-tb { display: flex; align-items: center; gap: 4px; padding: 5px 6px; border: 1px solid rgba(217,178,111,.18); border-bottom: 0; background: rgba(217,178,111,.05); }
.be-tb button { width: 30px; height: 26px; cursor: pointer; color: #c9bba1; background: rgba(0,0,0,.3); border: 1px solid rgba(217,178,111,.15); font: 700 13px var(--f-head); }
.be-tb button:hover { color: #fff; border-color: rgba(243,220,170,.5); }
.be-tb span { margin-left: auto; color: #5f574b; font-size: 11.5px; padding-right: 4px; }
.be-hint { margin: 0 0 12px; color: #7d7262; font-size: 13.5px; }
.be-sub { margin: 22px 0 8px; font: 700 11px var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: var(--gold2); }
.be-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.be-row .bg-in { flex: 1; min-width: 180px; }
.be-row .be-hint { margin: 0; flex: 1; }
.be-add { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 16px; cursor: pointer; color: var(--ember2); background: rgba(217,178,111,.05);
  border: 1px dashed rgba(217,178,111,.35); font: 600 12px var(--f-head); letter-spacing: .14em; text-transform: uppercase; transition: all .2s; }
.be-add:hover { color: #fff3d6; border-color: #f3dcaa; background: rgba(217,178,111,.12); }
.be-add svg { width: 16px; height: 16px; }
.bg-x { width: 32px; height: 32px; flex: none; display: grid; place-items: center; cursor: pointer; color: #7d7262; background: rgba(0,0,0,.3); border: 1px solid rgba(217,178,111,.14); }
.bg-x:hover { color: #ff7a6b; border-color: rgba(255,107,90,.5); }
.bg-x svg { width: 15px; height: 15px; }
.bg-x.sm { width: 20px; height: 20px; font-size: 14px; margin-left: auto; }
.bg-gem .bg-in[data-gf="name"] { flex: 1; min-width: 160px; font-family: var(--f-display); font-weight: 700; }
.bg-in.sup { padding: 6px 10px; font-size: 14px; border-style: dashed; }
.be-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; color: #a99d88; font: 600 12px var(--f-head); letter-spacing: .12em; text-transform: uppercase; }
.be-link svg { width: 15px; height: 15px; }
.be-link:hover { color: var(--gold2); }
.be-link.danger:hover { color: #ff7a6b; }
.be-treebar { margin-bottom: 14px; }
.be-quests { display: grid; gap: 12px; }
.be-quest { padding: 12px 14px; border: 1px solid rgba(217,178,111,.12); background: rgba(0,0,0,.22); }
.be-qh { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; color: #8b7f6b; }
.be-qh b { color: #e8dcc4; }
.be-qopts { display: flex; flex-wrap: wrap; gap: 6px; }
.be-qopts button { padding: 8px 12px; cursor: pointer; color: #a9b4e8; text-align: left; background: rgba(255,255,255,.02); border: 1px solid rgba(143,160,255,.18); font: 14px/1.35 'Spectral', Georgia, serif; transition: all .2s; }
.be-qopts button:hover { border-color: rgba(143,160,255,.5); color: #d6deff; }
.be-qopts button.on { color: #fff; border-color: #f3dcaa; background: linear-gradient(180deg, rgba(200,29,51,.32), rgba(200,29,51,.08)); box-shadow: 0 0 16px rgba(226,189,120,.18); }
.be-sec { padding: 14px; margin-bottom: 12px; border: 1px solid rgba(217,178,111,.12); background: rgba(0,0,0,.22); }
.be-sec .bg-in[data-sf="title"] { font: 700 17px var(--f-display); color: #f3e2bb; }
.be-panel { border-color: rgba(217,178,111,.3); }
.be-status { display: inline-block; font: 700 11px var(--f-head); letter-spacing: .2em; text-transform: uppercase; padding: 5px 10px; color: #1a0e06; background: #9d917d; }
.be-status.published { background: #5fd37a; }
.be-dirty { margin: 10px 0 14px; font: 600 11px var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: #6f8a5f; }
.be-dirty.warn { color: var(--ember2); }
.be-btns { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.be-btns .btn { margin: 0 14px 0 0; }
.be-panel .be-link { display: flex; margin-top: 8px; }
.be-slotm .be-rar { display: flex; gap: 6px; flex-wrap: wrap; text-transform: none; }
.be-rar label { display: inline-flex !important; align-items: center; gap: 6px; padding: 7px 12px; cursor: pointer; color: var(--c) !important; border: 1px solid rgba(217,178,111,.18); font: 700 13px var(--f-display) !important; letter-spacing: 0 !important; }
.be-rar input { accent-color: var(--c); }

@media (max-width: 1100px) {
  .bg-layout { grid-template-columns: 1fr; }
  .bg-side { position: static; order: -1; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 760px) {
  .bg-card { padding: 18px 16px 20px; }
  .bg-sw, .bg-sw.edit { grid-template-columns: 1fr; }
  .bg-sw ul + ul { border-left: 0; border-top: 1px solid rgba(217,178,111,.12); }

  .bg-tree { height: 360px; }
  .bl-sort { margin-left: 0; }
  .bg-editbtn { margin-left: 0 !important; }
  .bg-cm.child { margin-left: 24px; }
}
/* düğme parıltıları dar ekranda yatay kaydırma yaratmasın */
.bg-main, .bl-sec { overflow-x: clip; }
/* eşya yuvası penceresi: ikon önizleme */
.be-slothead { display: flex; gap: 14px; align-items: flex-end; }
.be-slothead label { flex: 1; }
.be-slotic { width: 72px; height: 72px; flex: none; display: grid; place-items: center; color: #6f6656; border: 1px solid rgba(217,178,111,.2); background: radial-gradient(circle, rgba(60,50,40,.4), rgba(8,7,8,.9)); }
.be-slotic img { max-width: 64px; max-height: 64px; object-fit: contain; }
.be-slotic svg { width: 30px; height: 30px; }
.be-slotinfo { margin: -6px 0 0; min-height: 18px; color: #c8823c; font: italic 400 14px 'Spectral', Georgia, serif; text-transform: none; letter-spacing: 0; }
.be-info.ok { border-color: rgba(95,211,122,.3); background: rgba(95,211,122,.07); color: #bfe8c9; }
.bg-credit { margin-top: 18px; color: #5f574b; font-size: 12px; }

/* ---------- aşamalı pasif ağaç ---------- */
.bg-vtabs, .be-vtabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #3a2f22 transparent; padding-bottom: 16px; }
.bg-vtabs button, .be-vtabs button { flex: none; white-space: nowrap; }
.bt-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.bt-pts { display: flex; gap: 6px; flex-wrap: wrap; }
.bt-pt { --c: #e8c675; display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 12px; color: #a99d88; background: rgba(0,0,0,.35); border: 1px solid rgba(217,178,111,.16); border-bottom: 2px solid var(--c);
  font: 600 12px var(--f-head); letter-spacing: .12em; text-transform: uppercase; }
.bt-pt b { font: 700 17px var(--f-head); letter-spacing: 0; color: #fff; }
.bt-pt em { font-style: normal; color: #6f6656; letter-spacing: .02em; }
.bt-pt.s1 { --c: var(--set1); } .bt-pt.s2 { --c: var(--set2); } .bt-pt.as { --c: #ffd84a; }
.bt-pt.over b { color: #ff6b5a; }
.bt-modes { display: flex; border: 1px solid rgba(217,178,111,.2); }
.bt-modes button { padding: 8px 14px; cursor: pointer; color: #a99d88; background: rgba(0,0,0,.3); border: 0; font: 600 12px var(--f-head); letter-spacing: .12em; text-transform: uppercase; }
.bt-modes button + button { border-left: 1px solid rgba(217,178,111,.14); }
.bt-modes button.on { color: #1a0e06; background: linear-gradient(#f3dcaa, #c79b55); }
.bt-modes button.s1.on { color: #fff; background: linear-gradient(#ff5aa0, #b82a68); }
.bt-modes button.s2.on { color: #06210f; background: linear-gradient(#6af08f, #2fa856); }
.bt-info { margin: 0 0 12px; }
.bt-info b { color: #f3e2bb; }
.bt-acts { margin-top: 12px; }
.bg-tree.edit { height: 600px; }
.bg-tree .tt { max-width: 380px; min-width: 260px; }
.bt-zoom { position: absolute; z-index: 3; left: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; }
.bt-zoom button { width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; color: #d9c8a6; font: 500 20px/1 var(--f-head);
  background: linear-gradient(180deg, rgba(26,21,17,.92), rgba(9,8,8,.95)); border: 1px solid rgba(217,178,111,.25); transition: all .2s; }
.bt-zoom button:hover { color: #fff3d8; border-color: rgba(243,220,170,.6); }
.bt-zoom svg { width: 18px; height: 18px; }
.bg-tree:fullscreen { height: 100vh; border: 0; }
.bg-tree:fullscreen .bg-tree-veil { display: none; }
.bt-bar .bt-open { margin: 0; }
/* kartlar sütuna sığsın (yatay kayan sekmeler kartı genişletmesin) */
.bg-col > * { min-width: 0; }
.bt-load { position: absolute; inset: 0; display: grid; place-content: center; grid-auto-flow: column; gap: 10px; align-items: center; color: #8b7f6b; font: 600 12px var(--f-head); letter-spacing: .16em; text-transform: uppercase; }

/* ---------- @ bahsetmeleri ---------- */
.mn { --mc: #e2bd78; display: inline-flex; align-items: center; gap: 5px; vertical-align: -5px; color: var(--mc); font-weight: 600; white-space: nowrap; }
.mn img, .mn .sp-ic { width: 22px; height: 22px; object-fit: contain; flex: none; border-radius: 3px; }
.mn .sp-ic { border-radius: 50%; }
.sp-ic { display: inline-block; flex: none; }
.mn-pop { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin-top: 4px; max-height: 320px; overflow: auto; background: #0f0c0a; border: 1px solid rgba(217,178,111,.35); box-shadow: 0 16px 40px rgba(0,0,0,.75); }
.mn-pop button { --mc: #e2bd78; display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; cursor: pointer; text-align: left; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.04); color: #e8dcc4; }
.mn-pop button.on, .mn-pop button:hover { background: rgba(217,178,111,.12); }
.mn-pop button b { color: var(--mc); font: 600 14.5px var(--f-body); }
.mn-pop button small { margin-left: auto; color: #6f6656; font: 600 10px var(--f-head); letter-spacing: .14em; text-transform: uppercase; }
.mn-pop img, .mn-pop .sp-ic { width: 28px !important; height: 28px !important; object-fit: contain; flex: none; }
.mn-pop .mn-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mc); }
.mn-pop p { margin: 0; padding: 12px; color: #6f6656; font-size: 14px; }

/* ---------- öncelik listeleri ---------- */
.pr-box { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(217,178,111,.1); }
.pr-box h4 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font: 700 12px var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: var(--gold2); }
.pr-box h4 .be-link { margin-left: auto; }
.pr-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pr-row li { --c: #e2bd78; position: relative; display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; background: rgba(0,0,0,.35); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.pr-row li em { position: absolute; left: -6px; top: -7px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; font: 700 10px/1 var(--f-head); font-style: normal; color: #1a0e06; background: var(--c); }
.pr-row li b { color: var(--c); font: 600 13px var(--f-body); white-space: nowrap; }
.pr-ic { width: 34px; height: 34px; display: grid; place-items: center; flex: none; overflow: hidden; }
.pr-ic img { max-width: 34px; max-height: 34px; object-fit: contain; }
.pr-ic .bg-sil { width: 24px; height: 24px; opacity: .7; }
.pr-ic .bg-gemdot { width: 20px; height: 20px; }
.pr-ic .bg-gemic { width: 30px; height: 30px; }
.pr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pr-list li { --c: #e2bd78; display: flex; align-items: center; gap: 10px; padding: 6px 10px; cursor: grab; background: rgba(0,0,0,.3); border: 1px solid rgba(217,178,111,.12); border-left: 2px solid var(--c); user-select: none; transition: background .15s; }
.pr-list li:hover { background: rgba(217,178,111,.07); }
.pr-list li.dragging { opacity: .5; cursor: grabbing; }
.pr-list li em { min-width: 22px; text-align: center; font: 700 13px var(--f-head); font-style: normal; color: var(--c); }
.pr-list li b { color: #e8dcc4; font: 600 14px var(--f-body); }
.pr-list li small { margin-left: auto; color: #6f6656; font: 600 10px var(--f-head); letter-spacing: .14em; text-transform: uppercase; }
.pr-grip { color: #6f6656; font-size: 16px; }
.bg-prio { position: absolute; left: 6px; top: 6px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; font: 700 11px/1 var(--f-head); font-style: normal; color: #1a0e06; background: var(--rc); box-shadow: 0 0 10px color-mix(in srgb, var(--rc) 50%, transparent); }
.sup-cols { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; padding: 9px 14px; background: rgba(0,0,0,.3); border: 1px solid rgba(217,178,111,.12); }
.sup-cols span { font: 600 11px var(--f-head); letter-spacing: .18em; text-transform: uppercase; color: #8b7f6b; margin-right: 4px; }
.sup-cols b { --c: #fff; display: inline-flex; align-items: center; gap: 6px; color: var(--c); font: 700 16px var(--f-head); }
.sup-cols b i { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, var(--c) 45%, #111 120%); box-shadow: 0 0 8px var(--c); }

/* ---------- PoB, yorum oyları, zorluk ---------- */
.be-pob textarea { min-height: 70px; font: 12px/1.4 ui-monospace, Menlo, monospace; resize: vertical; word-break: break-all; }
.be-pob .btn { margin: 12px 0 8px; }
.bg-csort { display: flex; gap: 4px; margin: 0 0 6px; }
.bg-csort button { padding: 6px 12px; cursor: pointer; color: #8b7f6b; background: none; border: 1px solid rgba(217,178,111,.14); font: 600 11px var(--f-head); letter-spacing: .14em; text-transform: uppercase; }
.bg-csort button.on { color: #1a0e06; background: var(--ember2); border-color: var(--ember2); }
.bg-vote { display: inline-flex; align-items: center; gap: 6px; }
.bg-vote button { font-size: 11px; letter-spacing: 0 !important; color: #6f6656; }
.bg-vote b { min-width: 14px; text-align: center; color: #c9bba1; font: 700 13px var(--f-head); }
.bg-vote.up button[data-vote="1"] { color: #5fd37a; }
.bg-vote.down button[data-vote="-1"] { color: #ff6b5a; }
.bg-chip.diff, .bl-tags i.diff { color: #1a0e06; border-color: transparent; }
.d-beginner { background: #5fd37a !important; } .d-intermediate { background: #e2bd78 !important; } .d-advanced { background: #ff6b5a !important; }

/* =========================================================
   Build Ocağı — editör (sinematik başlık, yapışkan çubuk, oyun kartları)
   ========================================================= */
.bf-hero { min-height: 470px; display: flex; align-items: flex-end; }
.bf-hero .pn-art:not(.bg-asc) { background-position: center 25%; filter: saturate(1.1) brightness(.75); }
.bf-hero .up-asc-img { left: 78%; top: 44%; width: min(820px, 60vw); opacity: .9; }
.bf-hero-in { position: relative; padding-top: 58px; padding-bottom: 26px; }
.bf-hero-in > * { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.bf-hero-in > :nth-child(2) { animation-delay: .08s; }
.bf-hero-in > :nth-child(4) { animation-delay: .16s; }
.bf-id { display: flex; align-items: center; gap: 32px; margin-top: 20px; }

/* karakter arması */
.bf-crest { position: relative; width: 156px; height: 156px; flex: none; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center; }
.bf-crest::before { content: ''; position: absolute; inset: -18px; border-radius: 50%; background: radial-gradient(circle, rgba(200,29,51,.35), transparent 65%); filter: blur(6px); animation: bfPulse 4s ease-in-out infinite; }
.bf-crest img { position: relative; width: 124px; height: 124px; border-radius: 50%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .3s;
  box-shadow: 0 0 0 2px rgba(243,220,170,.65), 0 0 0 7px rgba(10,8,8,.85), 0 0 0 8px rgba(226,189,120,.35), 0 18px 50px rgba(0,0,0,.8), 0 0 50px rgba(200,29,51,.35); }
.bf-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: bfSpin 60s linear infinite; }
.bf-ring circle { fill: none; stroke: rgba(226,189,120,.35); stroke-width: 1; }
.bf-ring .dash { stroke: rgba(243,220,170,.75); stroke-width: 2.5; stroke-dasharray: 1.5 9; }
.bf-crest:hover img, .bf-crest.open img { transform: scale(1.06); filter: brightness(1.12); }
.bf-crest-edit { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff3d6;
  background: linear-gradient(180deg, #d02a3f, #6e0f1c); border: 1px solid #f3dcaa; box-shadow: 0 4px 16px rgba(0,0,0,.7), 0 0 14px rgba(200,29,51,.5); transition: transform .3s; }
.bf-crest-edit svg { width: 16px; height: 16px; }
.bf-crest:hover .bf-crest-edit { transform: rotate(-12deg) scale(1.08); }
@keyframes bfSpin { to { transform: rotate(360deg); } }
@keyframes bfPulse { 50% { opacity: .55; transform: scale(.94); } }

.bf-idt { flex: 1; min-width: 0; }
.bf-title { display: block; width: 100%; margin: 10px 0 8px; padding: 2px 0 8px; outline: none; border: 0; border-bottom: 1px solid transparent; border-radius: 0;
  font: 700 clamp(28px, 3.3vw, 46px)/1.18 'Spectral', Georgia, serif; letter-spacing: -.005em; color: #f6e6c3; caret-color: #f3dcaa;
  background: linear-gradient(180deg, #fff6df 10%, #e9c98c 60%, #b38c50); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,.85)); transition: border-color .25s; }
.bf-title::placeholder { -webkit-text-fill-color: rgba(217,178,111,.32); color: rgba(217,178,111,.32); }
.bf-title:hover { border-bottom-color: rgba(217,178,111,.22); }
.bf-title:focus { border-bottom-color: rgba(243,220,170,.6); }
.bf-clsline { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 0; cursor: pointer; background: none; border: 0; text-align: left;
  font: 700 15px var(--f-display); letter-spacing: .05em; color: #eedfbf; }
.bf-clsline i { font-style: normal; font-size: 9px; color: var(--ember); text-shadow: 0 0 8px var(--ember); }
.bf-clsline .dim { font: italic 400 15px 'Spectral', Georgia, serif; letter-spacing: 0; color: #8b7f6b; }
.bf-clsline em { margin-left: 4px; padding: 3px 9px; font: 600 10.5px var(--f-head); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: #9d917d;
  border: 1px solid rgba(217,178,111,.25); transition: all .2s; }
.bf-clsline:hover em, .bf-clsline.open em { color: #fff3d6; border-color: #e2bd78; background: rgba(200,29,51,.25); }
.bf-tags { margin-top: 14px; }

/* hazırlık halkası */
.bf-meter { position: relative; width: 138px; height: 138px; flex: none; display: grid; place-items: center; align-self: center; }
.bf-meter svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.bf-meter circle { fill: none; }
.bf-meter .trk { stroke: rgba(255,255,255,.06); stroke-width: 7; }
.bf-meter .val { stroke: url(#bfg); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 0 6px rgba(226,189,120,.55)); }
.bf-meter .tick { stroke: rgba(226,189,120,.25); stroke-width: 1; stroke-dasharray: 1 3.5; }
.bf-meter::before { content: ''; position: absolute; inset: 18px; border-radius: 50%; background: radial-gradient(circle, rgba(30,22,18,.9), rgba(8,7,8,.92)); box-shadow: inset 0 0 18px rgba(0,0,0,.9); }
.bf-mv { position: relative; display: flex; align-items: baseline; margin-top: -10px; }
.bf-mv b { font: 700 36px/1 var(--f-display); color: #fff3d6; text-shadow: 0 0 18px rgba(226,189,120,.45); }
.bf-mv small { font: 700 14px var(--f-display); color: var(--gold2); margin-left: 2px; }
.bf-ml { position: absolute; left: 0; right: 0; bottom: 32px; text-align: center; font: 700 9.5px var(--f-head); letter-spacing: .26em; text-transform: uppercase; color: #8b7f6b; }
.bf-ml em { display: block; margin-top: 2px; font: 600 10px var(--f-head); font-style: normal; letter-spacing: .08em; color: #6f6656; text-transform: none; }
.bf-meter.full .val { filter: drop-shadow(0 0 10px rgba(226,189,120,.9)); }
.bf-meter.full .bf-mv b { color: #ffe9b8; }

/* sınıf seçici */
.bf-roster { margin-top: 24px; padding: 20px 22px 6px; background: linear-gradient(180deg, rgba(14,11,10,.86), rgba(6,6,8,.9)); border: 1px solid rgba(217,178,111,.22);
  backdrop-filter: blur(10px); box-shadow: 0 20px 60px rgba(0,0,0,.6); animation: drop .3s both; }
.bf-roster[hidden] { display: none; }
.bf-rt { margin: 0 0 10px; font: 700 10.5px var(--f-head); letter-spacing: .26em; text-transform: uppercase; color: #8b7f6b; }
.bf-rcls, .bf-rasc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.bf-rc { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 96px; padding: 12px 6px 10px; cursor: pointer; color: #9d917d;
  background: rgba(255,255,255,.02); border: 1px solid rgba(217,178,111,.12); font: 700 12px var(--f-display); letter-spacing: .03em; transition: all .22s; }
.bf-rc img, .bf-rnone { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; filter: grayscale(.75) brightness(.65); transition: all .3s; box-shadow: 0 0 0 1px rgba(217,178,111,.3); }
.bf-rnone { display: grid; place-items: center; filter: none; color: #6f6656; font-size: 20px; box-shadow: none; border: 1px dashed rgba(217,178,111,.3); }
.bf-rc:hover { color: #f3e2bb; border-color: rgba(217,178,111,.4); transform: translateY(-2px); }
.bf-rc:hover img { filter: none; }
.bf-rc.on { color: #fff3d6; border-color: #e2bd78; background: linear-gradient(180deg, rgba(200,29,51,.28), rgba(200,29,51,.04)); box-shadow: 0 0 22px rgba(226,189,120,.18); }
.bf-rc.on img { filter: none; box-shadow: 0 0 0 2px #e2bd78, 0 0 20px rgba(200,29,51,.7); }
.bf-rc.asc { width: 128px; }

/* yama / lig / zorluk anahtarları */
.bf-opts { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(217,178,111,.14); }
.bf-og { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bf-og > span { font: 700 10.5px var(--f-head); letter-spacing: .26em; text-transform: uppercase; color: #7d7262; }
.bf-seg { display: inline-flex; gap: 3px; padding: 3px; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: rgba(6,6,8,.65); border: 1px solid rgba(217,178,111,.22); }
.bf-seg button { flex: none; padding: 6px 13px; cursor: pointer; color: #9d917d; background: none; border: 0; font: 600 13px var(--f-head); letter-spacing: .06em; transition: all .2s; }
.bf-seg button:hover { color: #f3e2bb; background: rgba(217,178,111,.06); }
.bf-seg button.on { color: #fff3d6; background: linear-gradient(180deg, rgba(200,29,51,.6), rgba(110,15,28,.65)); box-shadow: inset 0 0 0 1px rgba(243,220,170,.5), 0 0 16px rgba(200,29,51,.35); }
.bf-seg button.on.dz-beginner { background: linear-gradient(180deg, rgba(76,170,98,.55), rgba(30,80,44,.6)); box-shadow: inset 0 0 0 1px rgba(180,240,190,.5), 0 0 16px rgba(76,170,98,.3); }
.bf-seg button.on.dz-intermediate { background: linear-gradient(180deg, rgba(214,160,60,.6), rgba(110,74,20,.65)); box-shadow: inset 0 0 0 1px rgba(250,220,150,.55), 0 0 16px rgba(214,160,60,.3); }

/* yapışkan Ocak çubuğu */
.bf-bar { position: sticky; top: var(--hdr); z-index: 40; background: linear-gradient(180deg, rgba(16,12,11,.95), rgba(8,7,8,.95)); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(217,178,111,.2); border-bottom: 1px solid rgba(217,178,111,.12); box-shadow: 0 16px 40px rgba(0,0,0,.55); }
.bf-bar-in { display: flex; align-items: center; gap: 18px; height: 64px; }
.bf-bcrest img { display: block; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px #e2bd78, 0 0 0 3px rgba(10,8,8,.9), 0 0 0 4px rgba(226,189,120,.3), 0 0 16px rgba(200,29,51,.5); }
.bf-bt { display: grid; gap: 3px; flex: 0 1 280px; min-width: 0; }
.bf-bt b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 700 16px var(--f-head); letter-spacing: .02em; color: #f3e2bb; }
.bf-bt > span { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bf-bar .be-status { padding: 2px 8px; font-size: 9.5px; }
.bf-bar .be-dirty { margin: 0; font-size: 10px; font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-acts { display: flex; gap: 8px; flex: none; }
.bf-ab { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; cursor: pointer; white-space: nowrap;
  font: 700 12px var(--f-head); letter-spacing: .16em; text-transform: uppercase; color: #f3e2bb;
  background: linear-gradient(180deg, rgba(64,48,30,.7), rgba(22,17,12,.85)); border: 1px solid rgba(217,178,111,.42); transition: all .2s; }
.bf-ab svg { width: 16px; height: 16px; }
.bf-ab:hover { color: #fff; border-color: #f3dcaa; box-shadow: 0 0 20px rgba(226,189,120,.25); transform: translateY(-1px); }
.bf-ab:disabled { filter: grayscale(.7) brightness(.6); transform: none; cursor: default; }
.bf-ab.ghost { color: #a99d88; background: rgba(255,255,255,.02); border-color: rgba(217,178,111,.18); }
.bf-ab.ghost:hover { color: #f3e2bb; border-color: rgba(217,178,111,.5); }
.bf-ab.pub { color: #fff3d6; background: linear-gradient(180deg, #d02a3f, #7c1020); border-color: #e2bd78; box-shadow: 0 0 22px rgba(200,29,51,.35), inset 0 1px 0 rgba(255,220,200,.25); }
.bf-ab.pub:hover { box-shadow: 0 0 30px rgba(200,29,51,.6), inset 0 1px 0 rgba(255,220,200,.3); }
.bf-ab.wide { width: 100%; margin: 12px 0 10px; }
.bf-prog { height: 2px; background: rgba(255,255,255,.04); }
.bf-prog i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #c81d33, #e2bd78); box-shadow: 0 0 10px rgba(226,189,120,.8); transition: width 1s cubic-bezier(.2,.8,.2,1); }

/* başlık + çubuk: dar ekran */
@media (max-width: 1100px) {
  .bf-hero .up-asc-img { left: 80%; width: 640px; opacity: .6; }
}
@media (max-width: 980px) {
  .bf-bt { display: none; }
  .bf-ab span { display: none; }
  .bf-ab { padding: 0 12px; }
  .bf-ab.wide span { display: inline; }
}
@media (max-width: 760px) {
  .bf-hero { min-height: 0; }
  .bf-hero-in { padding-top: 34px; padding-bottom: 20px; }
  .bf-hero .up-asc-img { left: 78%; top: 26%; width: 420px; opacity: .4; }
  .bf-id { flex-wrap: wrap; gap: 18px 20px; margin-top: 14px; }
  .bf-crest { width: 108px; height: 108px; }
  .bf-crest img { width: 86px; height: 86px; }
  .bf-crest-edit { right: 4px; bottom: 4px; width: 30px; height: 30px; }
  .bf-meter { width: 104px; height: 104px; margin-left: auto; }
  .bf-meter::before { inset: 14px; }
  .bf-mv b { font-size: 26px; }
  .bf-ml { bottom: 22px; font-size: 8px; }
  .bf-ml em { display: none; }
  .bf-idt { order: 3; flex-basis: 100%; }
  .bf-title { font-size: 26px; }
  .bf-opts { flex-direction: column; gap: 12px; }
  .bf-og { flex-direction: column; align-items: flex-start; gap: 6px; }
  .bf-roster { padding: 16px 14px 2px; }
  .bf-rc { width: calc(25% - 8px); padding: 10px 2px 8px; font-size: 10.5px; }
  .bf-rc img, .bf-rnone { width: 46px; height: 46px; }
  .bf-rc.asc { width: calc(33.33% - 7px); }
  .bf-bar-in { gap: 10px; height: 56px; }
  .bf-acts { gap: 5px; }
  .bf-ab { height: 36px; padding: 0 10px; }
}

/* çubuk ortası: şu anki bölüm */
.bf-cur { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 12px; }
.bf-cur i { width: 30px; height: 30px; display: grid; place-items: center; font: 700 11px var(--f-display); font-style: normal; color: #1a0e06;
  background: linear-gradient(135deg, #f3dcaa, #a07740); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.bf-cur b { font: 700 15px var(--f-display); letter-spacing: .04em; color: #f3e2bb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- atölye: sol rün menüsü + tek bölüm sahnesi ---------- */
.bf-main { padding: 34px 0 110px; }
.bf-ws { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 34px; align-items: start; }

.bf-rail { position: sticky; top: calc(var(--hdr) + 88px); display: grid; gap: 4px; padding-bottom: 10px; }
.bf-rail-h { display: flex; justify-content: space-between; align-items: baseline; padding: 0 6px 12px; margin-bottom: 6px; border-bottom: 1px solid rgba(217,178,111,.14);
  font: 700 10.5px var(--f-head); letter-spacing: .3em; text-transform: uppercase; color: #8b7f6b; }
.bf-rail-h em { font: 700 13px var(--f-display); font-style: normal; letter-spacing: .05em; color: var(--gold2); }
.bf-rl { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 9px 12px 9px 6px; cursor: pointer; text-align: left;
  background: none; border: 0; color: #a99d88; transition: color .25s; isolation: isolate; }
.bf-rl::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: linear-gradient(90deg, rgba(200,29,51,.32), rgba(200,29,51,.08) 55%, transparent),
    linear-gradient(90deg, transparent, rgba(243,220,170,.5) 30%, transparent) top / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(243,220,170,.5) 30%, transparent) bottom / 100% 1px no-repeat; }
.bf-rl:hover { color: #f3e2bb; }
.bf-rl:hover::before { opacity: .45; }
.bf-rl.on { color: #fff3d6; }
.bf-rl.on::before { opacity: 1; }
.bf-rn { position: relative; width: 38px; height: 38px; flex: none; display: grid; place-items: center; }
.bf-rn::before { content: ''; position: absolute; inset: 6px; transform: rotate(45deg); border: 1px solid rgba(226,189,120,.4);
  background: linear-gradient(135deg, #24150f, #0b0909); transition: all .35s; }
.bf-rn i { position: relative; font: 700 10.5px var(--f-display); font-style: normal; color: #b39a6c; transition: color .35s; }
.bf-rl.done .bf-rn::before { background: linear-gradient(135deg, #f3dcaa, #a07740); border-color: #fff3d6; box-shadow: 0 0 12px rgba(226,189,120,.4); }
.bf-rl.done .bf-rn i { color: #1a0e06; }
.bf-rl.on .bf-rn::before { box-shadow: 0 0 0 4px rgba(200,29,51,.25), 0 0 18px rgba(200,29,51,.7); border-color: #fff3d6; }
.bf-rlt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.bf-rlt b { font: 700 14.5px var(--f-display); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-rlt small { font: 600 10px var(--f-head); letter-spacing: .18em; text-transform: uppercase; color: #6f6656; }
.bf-rl.done .bf-rlt small { color: #b39a6c; }
.bf-rli svg { width: 18px; height: 18px; color: #5f574b; transition: all .3s; }
.bf-rl:hover .bf-rli svg, .bf-rl.on .bf-rli svg { color: var(--ember); filter: drop-shadow(0 0 6px rgba(200,29,51,.8)); }
.bf-rail-f { margin-top: 14px; padding: 14px 6px 0; border-top: 1px solid rgba(217,178,111,.12); display: grid; gap: 12px; }
.bf-rail-f .bf-db { margin: 0; padding: 0; border: 0; }

/* sahne */
.bf-stage { min-width: 0; }
.bf-panel { position: relative; scroll-margin-top: calc(var(--hdr) + 90px); animation: bfIn .45s cubic-bezier(.2,.8,.2,1) both; }
.bf-panel[hidden] { display: none; }
@keyframes bfIn { from { opacity: 0; transform: translateY(12px); } }
.bf-ph { position: relative; display: flex; align-items: flex-end; gap: 20px; min-height: 168px; padding: 30px 34px 26px; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(217,178,111,.22); border-bottom: 0; background: #0b0909; }
.bf-ph::before { content: ''; position: absolute; z-index: -2; right: -4%; top: 50%; width: 62%; aspect-ratio: 1; transform: translateY(-50%); background: var(--art) center / cover no-repeat;
  filter: saturate(1.15) brightness(.8); -webkit-mask-image: radial-gradient(circle closest-side, #000 35%, transparent 92%); mask-image: radial-gradient(circle closest-side, #000 35%, transparent 92%); }
.bf-ph::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #0b0909 30%, rgba(11,9,9,.6) 62%, rgba(11,9,9,.15)), linear-gradient(0deg, rgba(11,9,9,.85), transparent 55%), radial-gradient(60% 120% at 0% 100%, rgba(200,29,51,.18), transparent 70%); }
.bf-ph-num { position: absolute; right: 26px; top: 50%; z-index: -1; transform: translateY(-52%); font: 700 150px/1 var(--f-display); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(243,220,170,.45); text-shadow: 0 0 40px rgba(200,29,51,.5); pointer-events: none; }
.bf-ph-t { flex: 1; min-width: 0; }
.bf-ph-k { display: inline-flex; align-items: center; gap: 9px; font: 700 11px var(--f-head); letter-spacing: .3em; text-transform: uppercase; color: var(--ember2); }
.bf-ph-k svg { width: 16px; height: 16px; color: var(--ember); filter: drop-shadow(0 0 6px var(--ember)); }
.bf-ph-k i { font-style: normal; color: #6f6656; letter-spacing: .2em; }
.bf-ph h2 { margin: 8px 0 8px; font: 700 clamp(26px, 2.6vw, 36px)/1.1 var(--f-display); color: transparent;
  background: linear-gradient(180deg, #fff6df 15%, #e2bd78 70%, #a8844a); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 4px 18px rgba(0,0,0,.9)); }
.bf-ph p { margin: 0; max-width: 640px; color: #a99d88; font-size: 14.5px; line-height: 1.5; }
.bf-ph .bf-done { align-self: flex-start; background: rgba(9,8,9,.6); }
.bf-panel .bf-done { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 6px 11px; font: 700 10px var(--f-head); letter-spacing: .2em; text-transform: uppercase;
  color: #6f6656; border: 1px solid rgba(255,255,255,.08); transition: all .4s; }
.bf-panel .bf-done svg { width: 13px; height: 13px; }
.bf-panel.done .bf-done { color: #1a0e06; background: linear-gradient(180deg, #f3dcaa, #c79b55); border-color: #fff3d6; box-shadow: 0 0 18px rgba(226,189,120,.35); }

.bf-pb { position: relative; padding: 30px 34px 34px; border: 1px solid rgba(217,178,111,.22); border-top: 0;
  background: radial-gradient(90% 60% at 100% 0%, rgba(200,29,51,.06), transparent 60%), linear-gradient(180deg, #110d0c, #0a0909 70%); }
.bf-pb::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(243,220,170,.85), rgba(200,29,51,.6) 40%, transparent 85%); box-shadow: 0 0 12px rgba(200,29,51,.6); }
.bf-pf { display: flex; justify-content: space-between; gap: 14px; margin-top: 18px; }
.bf-step { display: inline-flex; align-items: center; gap: 14px; max-width: 48%; padding: 12px 18px; cursor: pointer; text-align: left; color: #a99d88;
  background: rgba(255,255,255,.015); border: 1px solid rgba(217,178,111,.16); transition: all .25s; }
.bf-step svg { width: 18px; height: 18px; flex: none; transform: rotate(-90deg); color: var(--ember); transition: transform .25s; }
.bf-step.next { margin-left: auto; text-align: right; }
.bf-step.next svg { transform: rotate(90deg); }
.bf-step span { display: grid; gap: 2px; min-width: 0; }
.bf-step small { font: 700 10px var(--f-head); letter-spacing: .24em; text-transform: uppercase; color: #6f6656; }
.bf-step b { font: 700 15px var(--f-display); color: #e8d9bb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-step:hover { color: #fff3d6; border-color: rgba(243,220,170,.5); background: linear-gradient(90deg, rgba(200,29,51,.18), transparent); }
.bf-step:hover svg { transform: rotate(-90deg) translateY(-3px); }
.bf-step.next:hover { background: linear-gradient(270deg, rgba(200,29,51,.18), transparent); }
.bf-step.next:hover svg { transform: rotate(90deg) translateY(-3px); }
.bf-step.fin svg { transform: none; }
.bf-step.fin { border-color: rgba(226,189,120,.45); }

/* yazı yüzeyi: çizgili koyu parşömen, kutu değil */
.bf-main .be-taw { position: relative; border-left: 2px solid rgba(217,178,111,.35); background: linear-gradient(90deg, rgba(217,178,111,.05), transparent 40%); transition: border-color .25s; }
.bf-main .be-taw:focus-within { border-left-color: var(--ember); box-shadow: -12px 0 30px -18px rgba(200,29,51,.9); }
.bf-main .be-tb { display: flex; gap: 4px; padding: 8px 10px; border: 0; border-bottom: 1px solid rgba(217,178,111,.1); background: none; }
.bf-main .be-tb button { width: 30px; height: 28px; border: 0; background: rgba(217,178,111,.06); color: #b9a47e; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); transition: all .2s; }
.bf-main .be-tb button:hover { color: #fff3d6; background: rgba(200,29,51,.5); }
.bf-main .be-tb span { color: #5f574b; }
.bf-main .be-ta { display: block; min-height: 150px; padding: 0 18px 14px; border: 0; box-shadow: none; resize: none; overflow: hidden;
  font: 16px/28px var(--f-body); color: #e2d6bd; background: repeating-linear-gradient(180deg, transparent 0 27px, rgba(217,178,111,.07) 27px 28px) 0 0 / 100% 28px local; }
.bf-main .be-ta:focus { box-shadow: none; }
.bf-main .be-ta::placeholder { color: #5f574b; font-style: italic; }
.bf-main .bg-in:not(.be-ta) { background: rgba(0,0,0,.35); border: 0; border-bottom: 1px solid rgba(217,178,111,.25); box-shadow: none; padding: 11px 4px; transition: border-color .2s, background .2s; }
.bf-main .bg-in:not(.be-ta):focus { border-bottom-color: var(--ember2); background: linear-gradient(0deg, rgba(200,29,51,.12), transparent); box-shadow: none; }
.bf-main .bg-in.sm { padding: 5px 6px; }

/* güçlü / zayıf: madde işaretli listeler */
.bf-sw { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.bf-swc h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 700 12px var(--f-head); letter-spacing: .24em; text-transform: uppercase; }
.bf-swc h4 svg { width: 16px; height: 16px; }
.bf-swc.good h4 { color: #7fe39a; } .bf-swc.bad h4 { color: #ff8a7a; }
.bf-main .bf-swc textarea { display: block; width: 100%; min-height: 200px; padding: 6px 12px 6px 34px; resize: none; overflow: hidden; outline: none; border: 0; box-shadow: none; color: #e2d6bd; font: 15.5px/32px var(--f-body);
  border-top: 2px solid var(--c); background: radial-gradient(circle at 16px 22px, var(--c) 3px, transparent 3.6px) 0 0 / 100% 32px local,
    repeating-linear-gradient(180deg, transparent 0 37px, rgba(255,255,255,.05) 37px 38px) 0 0 / 100% 32px local, linear-gradient(180deg, var(--g), transparent 70%);
  background-position: 0 0, 0 -6px, 0 0; }
.bf-main .bf-swc.good textarea { --c: #5fd37a; --g: rgba(95,211,122,.07); }
.bf-main .bf-swc.bad textarea { --c: #ff6b5a; --g: rgba(255,107,90,.07); }
.bf-main .bf-swc textarea::placeholder { color: #5f574b; font-style: italic; }

/* içe aktar + bağlantılar */
.bf-links { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bf-relic { position: relative; padding: 20px 22px 22px; background: linear-gradient(180deg, rgba(217,178,111,.05), rgba(0,0,0,.2)); border: 1px solid rgba(217,178,111,.14); }
.bf-relic.be-pob { grid-row: span 2; }
.bf-relic-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font: 700 17px var(--f-display); color: #f3e2bb; }
.bf-relic-h svg { width: 20px; height: 20px; color: var(--ember); filter: drop-shadow(0 0 6px rgba(200,29,51,.7)); }
.bf-relic .be-hint { margin-bottom: 14px; }
.bf-relic textarea { min-height: 150px; font: 12.5px/1.45 ui-monospace, Menlo, monospace; resize: vertical; word-break: break-all; }
.bf-links .bg-credit { grid-column: 1 / -1; margin: 4px 0 0; }

/* bölüm içi alt öğeler */
.bf-main .be-vtabs { margin-top: -6px; }
.bf-main .be-quest, .bf-main .be-sec { background: rgba(255,255,255,.015); border-color: rgba(217,178,111,.12); }
.bf-main .be-sec .be-taw { margin-top: 4px; }
.bf-main .be-add { border-style: dashed; }

@media (max-width: 1100px) {
  .bf-ws { grid-template-columns: 1fr; gap: 18px; }
  .bf-rail { top: calc(var(--hdr) + 64px); z-index: 30; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 -24px; padding: 8px 24px;
    background: rgba(8,7,8,.94); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(217,178,111,.12); }
  .bf-rail::-webkit-scrollbar { display: none; }
  .bf-rail-h, .bf-rail-f, .bf-rli, .bf-rlt small { display: none; }
  .bf-rl { flex: none; width: auto; gap: 8px; padding: 6px 12px 6px 4px; }
  .bf-rn { width: 30px; height: 30px; }
  .bf-rn::before { inset: 5px; }
  .bf-rlt b { font-size: 13px; }
  .bf-cur { display: none; }
  .bf-acts { margin-left: auto; }
  .bf-main::after { content: ''; }
}
@media (max-width: 760px) {
  .bf-main { padding-top: 0; }
  .bf-rail { top: calc(var(--hdr) + 57px); margin: 0 -16px; padding: 8px 16px; }
  .bf-ph { min-height: 0; padding: 22px 18px 18px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .bf-ph .bf-done { position: absolute; right: 14px; top: 14px; }
  .bf-ph .bf-done b { display: none; }
  .bf-ph-num { font-size: 90px; right: 12px; top: auto; bottom: -8px; transform: none; }
  .bf-ph p { font-size: 13.5px; }
  .bf-pb { padding: 20px 14px 22px; }
  .bf-sw, .bf-links { grid-template-columns: 1fr; }
  .bf-relic.be-pob { grid-row: auto; }
  .bf-step { padding: 10px 12px; gap: 10px; }
  .bf-step b { font-size: 13px; }
  .bf-panel { scroll-margin-top: calc(var(--hdr) + 110px); }
}

/* Path of Building'e aktarma */
.bg-btn.pob { color: #fff3d6; border-color: rgba(243,220,170,.55); background: linear-gradient(180deg, rgba(200,29,51,.45), rgba(110,15,28,.45)); }
.bg-btn.pob:hover { box-shadow: 0 0 22px rgba(200,29,51,.45); }
.bf-pobout { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(217,178,111,.14); }
.bf-pobout .be-hint { margin-bottom: 0; }
.pbx-modal { width: min(640px, calc(100vw - 32px)); }
.pbx { display: grid; gap: 14px; padding: 18px 22px 22px; }
.pbx-lead { margin: 0; color: #d6cab2; }
.pbx-code { min-height: 110px; font: 12px/1.45 ui-monospace, Menlo, monospace; word-break: break-all; resize: vertical; color: #e8d9bb; }
.pbx-row { display: flex; align-items: center; gap: 14px; }
.pbx-row .btn { margin: 0; }
.pbx-size { color: #7d7262; font: 600 11px var(--f-head); letter-spacing: .16em; text-transform: uppercase; }
.pbx-steps { margin: 0; padding: 14px 18px 14px 36px; background: rgba(255,255,255,.02); border: 1px solid rgba(217,178,111,.12); color: #b6aa94; font-size: 14px; line-height: 1.6; }
.pbx-steps b { color: #f3e2bb; }
.pbx-note { margin: 0; color: #7d7262; font-size: 13px; }

/* ---------- build istatistikleri: Hasar / Savunma / Diğer (Path of Building hesabı) ---------- */
.bs-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr) minmax(0, .9fr); gap: 10px; margin: 6px 0 18px; }
.bs-wrap > .loading-row, .bs-wrap > .bg-empty { grid-column: 1 / -1; margin: 0; padding: 18px; border: 1px solid rgba(217,178,111,.14); background: rgba(0,0,0,.3); }
.bs-card { padding: 14px 16px 12px; background: linear-gradient(180deg, rgba(20,17,15,.94), rgba(9,8,8,.96)); border: 1px solid rgba(217,178,111,.16); min-width: 0; }
.bs-card h4 { margin: 0 0 10px; font: 700 12.5px var(--f-head); letter-spacing: .26em; text-transform: uppercase; color: #f3e2bb; }
.bs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 14px; }
.bs-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 3px 0; }
.bs-line + .bs-line { border-top: 1px solid rgba(255,255,255,.04); padding-top: 6px; margin-top: 3px; }
.bs-row { display: inline-flex; align-items: center; gap: 6px; padding: 3px 0; white-space: nowrap; font-size: 14.5px; }
.bs-ic { width: 17px; height: 17px; flex: none; }
.bs-l { color: #b5a993; }
.bs-row b, .bs-res b, .bs-attr b { font: 700 15px var(--f-head); letter-spacing: .02em; }
.bs-row b small { font-size: 11px; opacity: .8; margin-left: 2px; }
.bs-res { display: inline-flex; align-items: center; gap: 3px; }
.bs-res .bs-ic { width: 15px; height: 15px; }
.bs-res.low b { color: #ff6b6b !important; }
.bs-sep { width: 1px; height: 14px; background: rgba(217,178,111,.25); }
.bs-skill { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.05); font-size: 13px; color: #8b806e; }
.bs-skill select { flex: 1; min-width: 0; height: 30px; padding: 0 8px; color: #f3e2bb; background: rgba(0,0,0,.4); border: 1px solid rgba(217,178,111,.25); font: 600 13px var(--f-body); }
.bs-attrs { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.bs-attr { display: inline-flex; align-items: baseline; gap: 5px; }
.bs-attr i { font: 700 11px var(--f-head); letter-spacing: .14em; font-style: normal; color: #8b806e; }
.bs-attr.bad i { color: #ff8a80; }
.bs-meta { display: flex; gap: 6px; align-items: center; margin: 12px 0 0; font-size: 13px; color: #a99d88; }
.bs-meta b { color: #f3e2bb; }
.bs-note { margin: 8px 0 0; font-size: 12px; line-height: 1.55; color: #7d7262; }
.bs-note em { display: block; margin-top: 4px; font-style: normal; color: #d9a86a; }
@media (max-width: 1100px) { .bs-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .bs-wrap > .bs-card:nth-child(2) { grid-column: 1 / -1; grid-row: 1; } }
@media (max-width: 620px) { .bs-wrap { grid-template-columns: minmax(0, 1fr); } .bs-wrap > .bs-card:nth-child(2) { grid-row: auto; } }

/* pasif ağaç soketlerindeki mücevherler */
.bg-jws { margin-top: 18px; }
.bg-jws > ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.bg-jws h4 em { margin-left: 8px; font-style: normal; letter-spacing: .08em; color: #8d826f; text-transform: none; font-weight: 500; }
.bg-jw { display: flex; gap: 12px; align-items: flex-start; padding: 12px; background: rgba(8,7,9,.6); border: 1px solid rgba(217,178,111,.16); }
.bg-jw-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; background: radial-gradient(circle, rgba(217,178,111,.12), transparent 70%); }
.bg-jw-ic img { max-width: 40px; max-height: 40px; }
.bg-jw-ic svg { width: 26px; height: 26px; color: var(--gold3); }
.bg-jw-tx { flex: 1; min-width: 0; }
.bg-jw-tx b { display: block; font: 700 14px var(--f-display); }
.bg-jw-tx small { display: block; margin-top: 2px; color: #8d826f; font-size: 12px; }
.bg-jw-tx ul { margin: 8px 0 0; padding: 0; list-style: none; color: #8f8fff; font-size: 12.5px; line-height: 1.5; }
.bg-jw .be-link { flex: none; }

/* PoB aktarma sonucu (kalıcı not) */
.be-pobnote { margin-top: 12px; padding: 12px 14px; border-left: 3px solid var(--gold3); background: rgba(217,178,111,.06); color: #cdbfa3; font-size: 13.5px; line-height: 1.55; }
.be-pobnote p { margin: 0; }
.be-pobnote p + p { margin-top: 6px; color: #a99c84; }
.be-pobnote b { color: #f1dfb6; }

.bf-bt .be-fill { font-style: normal; font-size: 11px; color: rgba(226,189,120,.75); margin-left: 8px; letter-spacing: .02em; }

/* gem ayrıntı penceresi: üzerine gelinen gem adı ve destekler */
.bg-gem-main[data-gtip], .bg-sup[data-gtip] { cursor: help; }
.bg-gem-main[data-gtip]:hover .bg-gname, .bg-sup[data-gtip]:hover { color: #e2bd78; }
.gp-card .ip-head span { font-size: 11px; letter-spacing: .04em; }
