/* Agent Build v2.1.0 */
/* Renkler ayarlardan :root değişkenleriyle gelir; bunlar varsayılanlar */
:root{--agb-accent:#FBBC05;--agb-accent-rgb:251,188,5;--agb-ink:#1D2639;--agb-panel:#121A2B;--agb-panel-rgb:18,26,43}
.agb-t{opacity:0!important}

/* Katman: sabit, tıklanamaz; içindeki "dünya" belge koordinatlarında, tek transform ile kayar */
.agb-layer{position:fixed;inset:0;z-index:99990;pointer-events:none;overflow:hidden;contain:strict;display:none}
.agb-layer.on{display:block}
.agb-world{position:absolute;left:0;top:0;width:0;height:0;will-change:transform}

.agb-scrim{position:fixed;inset:0;z-index:99989;pointer-events:none;background:var(--agb-panel);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .45s ease,visibility 0s linear .45s}
.agb-scrim.on{opacity:.96;visibility:visible;transition:opacity .3s ease}
.agb-scrim .agb-logo{max-width:min(40vw,320px);max-height:30vh;opacity:.12;animation:agb-breathe 1.6s ease-in-out infinite}
.agb-scrim span{font:400 26vmin/1 'Anton',Impact,'Arial Narrow',sans-serif;color:#fff;opacity:.06;animation:agb-breathe 1.6s ease-in-out infinite}

/* Cetveller (Figma tarzı) */
.agb-rulers{position:absolute;inset:0;opacity:0;transition:opacity .4s ease}
.agb-rulers.on{opacity:1}
.agb-layer.idle .agb-rulers,.agb-layer.idle .agb-guide{opacity:0!important}
.agb-ruler{position:absolute;overflow:hidden;background:rgba(var(--agb-panel-rgb),.88);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.agb-ruler.x{left:16px;right:0;top:0;height:16px;border-bottom:1px solid rgba(64,156,255,.35);background-image:repeating-linear-gradient(90deg,rgba(255,255,255,.28) 0 1px,transparent 1px 10px),repeating-linear-gradient(90deg,rgba(255,255,255,.5) 0 1px,transparent 1px 100px);background-size:auto 5px,auto 9px;background-repeat:repeat-x;background-position:0 100%,0 100%}
.agb-ruler.y{left:0;top:16px;bottom:0;width:16px;border-right:1px solid rgba(64,156,255,.35);background-image:repeating-linear-gradient(180deg,rgba(255,255,255,.28) 0 1px,transparent 1px 10px),repeating-linear-gradient(180deg,rgba(255,255,255,.5) 0 1px,transparent 1px 100px);background-size:5px auto,9px auto;background-repeat:repeat-y;background-position:100% 0,100% 0}
.agb-ruler i{position:absolute;left:0;top:0;background:rgba(64,156,255,.55);will-change:transform}
.agb-ruler.x i{width:1px;height:100%;transform-origin:0 0;margin-left:-16px}
.agb-ruler.y i{height:1px;width:100%;transform-origin:0 0;margin-top:-16px}
.agb-ruler-corner{position:absolute;left:0;top:0;width:16px;height:16px;background:var(--agb-panel);border-right:1px solid rgba(64,156,255,.35);border-bottom:1px solid rgba(64,156,255,.35)}

/* Kılavuz çizgileri: aktif öğenin kenarlarından ekran boyunca */
.agb-guide{position:absolute;left:0;top:0;background:rgba(64,156,255,.45);opacity:0;transition:opacity .3s ease;will-change:transform}
.agb-guide.h{width:100%;height:1px}
.agb-guide.v{height:100%;width:1px}
.agb-layer.guiding .agb-guide{opacity:1}

/* İskelet kutuları: kenarlar tek tek çizilir */
.agb-wf{position:absolute;left:0;top:0;box-sizing:border-box;background:rgba(64,156,255,.04)}
.agb-wf .e{position:absolute;background:#409cff;will-change:transform}
.agb-wf .et{left:0;top:0;width:100%;height:1px;transform-origin:0 0;transform:scaleX(0)}
.agb-wf .er{right:0;top:0;width:1px;height:100%;transform-origin:0 0;transform:scaleY(0)}
.agb-wf .eb{left:0;bottom:0;width:100%;height:1px;transform-origin:100% 0;transform:scaleX(0)}
.agb-wf .el{left:0;top:0;width:1px;height:100%;transform-origin:0 100%;transform:scaleY(0)}
.agb-wf .h{position:absolute;width:6px;height:6px;box-sizing:border-box;background:#fff;border:1px solid #409cff;opacity:0;transform:scale(.3);transition:opacity .15s ease,transform .2s cubic-bezier(.2,.9,.3,1.4)}
.agb-wf .tl{left:-3px;top:-3px}.agb-wf .tr{right:-3px;top:-3px}.agb-wf .bl{left:-3px;bottom:-3px}.agb-wf .br{right:-3px;bottom:-3px}
.agb-wf .tag,.agb-wf .dim{position:absolute;white-space:nowrap;font:600 10px/16px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;opacity:0;transition:opacity .2s ease,transform .25s ease}
.agb-wf .tag{left:-1px;top:-16px;padding:0 5px;border-radius:2px 2px 0 0;background:#409cff;color:#fff;transform:translateY(4px)}
.agb-wf .dim{left:50%;bottom:-22px;padding:0 6px;border-radius:999px;background:#7FE3F0;color:#0f1626;transform:translate(-50%,-4px)}
.agb-wf.ready .h{opacity:1;transform:none}
.agb-wf.ready .tag{opacity:1;transform:none}
.agb-wf.ready .dim{opacity:1;transform:translate(-50%,0)}
.agb-wf.busy{background:rgba(64,156,255,.08)}
.agb-wf--box.busy,.agb-wf--button.busy,.agb-wf--list.busy,.agb-wf--big.busy{background:transparent}

/* Görsel: gri yer tutucu blok soldan sağa sökülür, parlak kenar ilerler */
.agb-wf--image{background:transparent}
.agb-wf--image .slab{position:absolute;inset:0;background:linear-gradient(135deg,#2c3754 0%,#36425f 45%,#2a3550 100%)}
.agb-wf--image .slab::after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(255,255,255,.035) 0 1px,transparent 1px 3px)}
.agb-wf--image .ico{position:absolute;left:50%;top:50%;width:30px;height:24px;margin:-12px 0 0 -15px;box-sizing:border-box;border:2px solid #5E6A85;border-radius:3px}
.agb-wf--image .ico::before{content:'';position:absolute;left:4px;bottom:3px;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:9px solid #5E6A85}
.agb-wf--image .ico::after{content:'';position:absolute;right:5px;top:4px;width:5px;height:5px;border-radius:50%;background:#5E6A85}
.agb-wf--image .tag{background:#5E6A85}
.agb-wf--image.busy .e{background:var(--agb-accent)}
.agb-wf--image.busy .tag{background:var(--agb-accent);color:var(--agb-ink)}
.agb-wf .edge{position:absolute;left:-1px;top:0;width:2px;height:100%;background:var(--agb-accent);box-shadow:0 0 14px 3px rgba(var(--agb-accent-rgb),.55),0 0 2px #fff;opacity:0;will-change:transform}
.agb-wf--box .edge,.agb-wf--button .edge,.agb-wf--list .edge{background:#7FE3F0;box-shadow:0 0 10px 2px rgba(127,227,240,.45)}
.agb-wf--line .tag,.agb-wf--line .dim{display:none}

/* Final sonrası kontrol turu */
.agb-wf.agb-scan{border:1px solid var(--agb-accent);background:rgba(var(--agb-accent-rgb),.07);animation:agb-scanfx .7s ease both}
.agb-wf.agb-scan .h{border-color:var(--agb-accent)}
.agb-wf.agb-scan .tag{background:var(--agb-accent);color:var(--agb-ink)}

/* İmleçler */
.agb-cur{position:absolute;left:0;top:0;will-change:transform;transition:opacity .35s ease}
.agb-cur .arr{display:block;width:16px;height:20px;fill:var(--c);stroke:var(--agb-ink);stroke-width:1.2;filter:drop-shadow(0 2px 3px rgba(0,0,0,.55))}
.agb-cur .ib{display:none;width:10px;height:22px;margin:-4px 0 0 -5px;fill:none;stroke:var(--c);stroke-width:2;filter:drop-shadow(0 0 2px rgba(0,0,0,.8))}
.agb-cur.ibeam .arr{display:none}
.agb-cur.ibeam .ib{display:block}
.agb-cur .lbl{position:absolute;left:13px;top:17px;padding:3px 5px;border-radius:3px;background:var(--c);color:var(--agb-ink);font:700 10px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:nowrap}
.agb-cur.off{opacity:0}
.agb-plus{position:absolute;left:0;top:0;color:rgba(255,255,255,.75);font:300 15px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;opacity:0}

.agb-typing .agb-u{visibility:hidden}
.agb-typing .agb-u.on{visibility:visible}

@keyframes agb-scanfx{0%{opacity:0}18%{opacity:1}70%{opacity:1}100%{opacity:0}}
@keyframes agb-breathe{50%{opacity:.11}}
@keyframes agb-pulse{0%{box-shadow:0 0 0 0 rgba(var(--agb-accent-rgb),.55)}70%{box-shadow:0 0 0 7px rgba(var(--agb-accent-rgb),0)}100%{box-shadow:0 0 0 0 rgba(var(--agb-accent-rgb),0)}}

/* HUD */
.agb-hud{position:fixed;left:50%;bottom:18px;z-index:99991;display:flex;align-items:center;gap:10px;max-width:calc(100vw - 24px);padding:7px 7px 7px 14px;box-sizing:border-box;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:rgba(var(--agb-panel-rgb),.92);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 12px 40px rgba(0,0,0,.5);color:#e9e9ec;font:500 12px/1 'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;white-space:nowrap;transform:translate(-50%,160%);transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.agb-hud.on{transform:translate(-50%,0)}
.agb-hud__dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--agb-accent);animation:agb-pulse 1.4s infinite}
.agb-hud__status{font-weight:700;min-width:118px}
.agb-hud__agents{display:inline-flex;align-items:center;gap:6px;color:#a3a3ab}
.agb-hud__agents span{display:inline-flex}
.agb-hud__agents span i{width:9px;height:9px;margin-left:-3px;border-radius:50%;border:1.5px solid var(--agb-panel)}
.agb-hud__agents b,.agb-hud__layers b{color:#fff;font-weight:700;font-variant-numeric:tabular-nums}
.agb-hud__layers{color:#a3a3ab}
.agb-hud__bar{flex:none;width:90px;height:3px;border-radius:3px;background:rgba(255,255,255,.12);overflow:hidden}
.agb-hud__bar i{display:block;width:100%;height:100%;background:#409cff;transform:scaleX(0);transform-origin:0 50%;transition:transform .2s linear}
.agb-hud button{all:unset;box-sizing:border-box;cursor:pointer;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.08);color:#e9e9ec;font:700 11px/1 'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;transition:background-color .15s ease}
.agb-hud button:hover{background:rgba(255,255,255,.18)}
.agb-hud button:focus-visible{outline:2px solid #409cff;outline-offset:2px}
.agb-hud button[aria-pressed="true"]{background:#409cff;color:#fff}
.agb-hud .agb-b-live{background:#409cff;color:#fff}
.agb-hud .agb-b-live,.agb-hud .agb-b-replay{display:none}
.agb-hud.final .agb-b-live,.agb-hud.final .agb-b-replay{display:inline-block}
.agb-hud.final .agb-b-tour,.agb-hud.final .agb-hud__bar,.agb-hud.final .agb-hud__layers,.agb-hud.final .agb-hud__agents{display:none}
.agb-hud.final .agb-hud__dot{animation:none;background:#2fd27c}
.agb-hud .agb-b-close{padding:7px 10px}

@media (max-width:767px){
	.agb-hud{bottom:12px;gap:7px;padding:6px 6px 6px 11px}
	.agb-hud__agents,.agb-hud__bar{display:none!important}
	.agb-hud__status{min-width:0}
	.agb-rulers,.agb-guide{display:none}
	.agb-wf .tag,.agb-wf .dim{display:none}
	.agb-cur .lbl{display:none}
}

/* Filtre sekmeleri (ab-filter / ab-card) — animasyondan bağımsız */
.agb-hide{display:none!important}
:is(.ab-filter,.sb-filter).is-active .elementor-button{background-color:var(--agb-accent)!important;color:var(--agb-ink)!important}
