/* SNAPBOOK – editor playu, nové rozloženie (2026-11-23): ihrisko cez celú plochu ako Playmaker X,
   priesvitná hlavička, ľavá lišta nástrojov s popiskami, panely vedľa nej, dole dok vybraného hráča. */
#stage #s-books.pbx[data-view=edit] .pbx-body{top:0!important;bottom:0!important;height:auto!important}
#stage #s-books.pbx[data-view=edit] .pbx-head{z-index:7;background:linear-gradient(180deg,rgba(12,12,15,.9) 0%,rgba(12,12,15,.55) 65%,rgba(12,12,15,0) 100%)!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important}
#bedit.ed2{overflow:hidden}

/* hlavička: ‹ 3 / 10 › a stav zámku */
.ed-nav{display:flex;align-items:center;gap:4px;padding:4px;border-radius:12px;background:rgba(22,22,26,.85);border:1px solid rgba(255,255,255,.1)}
.ed-nav button{width:36px;height:34px;border-radius:9px;display:grid;place-items:center;color:#ededed}
.ed-nav button:hover:not(:disabled){background:rgba(232,137,47,.18);color:#f0a04b}
.ed-nav button:disabled{opacity:.25}
.ed-nav button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ed-nav .nx svg{transform:scaleX(-1)}
.ed-nav span{min-width:64px;text-align:center;font:500 13px Inter,sans-serif;color:#9a9aa2}
.ed-nav span b{color:#fff;font-weight:700}
.ed-locked{margin-right:10px;padding:5px 10px;border-radius:7px;font:700 10px Inter,sans-serif;letter-spacing:1.5px;color:#f0a04b;background:rgba(232,137,47,.14);border:1px solid rgba(232,137,47,.45)}

/* ľavá lišta nástrojov */
#pxrail{position:absolute;left:14px;top:50%;transform:translateY(-50%);z-index:6;display:flex;flex-direction:column;gap:4px;padding:7px;border-radius:18px;background:rgba(20,20,24,.9);border:1px solid rgba(255,255,255,.1);box-shadow:0 12px 34px rgba(0,0,0,.45);backdrop-filter:blur(10px)}
.ed-rb{width:66px;height:60px;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#c4c4ca;transition:background .12s,color .12s}
.ed-rb svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ed-rb span{font:600 10px Inter,sans-serif;letter-spacing:.8px;text-transform:uppercase}
.ed-rb:hover{background:rgba(255,255,255,.07);color:#fff}
.ed-rb.on{background:rgba(232,137,47,.16);color:#f0a04b;box-shadow:inset 0 0 0 1px rgba(232,137,47,.55)}

/* panely (Info, Field, Notes, Names) – vedľa lišty */
#bedit.ed2 #pxsheet{left:100px!important;right:auto!important;top:76px!important;width:600px;max-height:calc(100% - 200px);overflow-y:auto;border-radius:16px!important;border:1px solid rgba(255,255,255,.1)!important;background:rgba(22,22,26,.96)!important;box-shadow:0 18px 44px rgba(0,0,0,.5)!important;z-index:6}
#bedit.ed2 #pxsheet header{height:48px;justify-content:flex-start;padding:0 18px;border-bottom:1px solid rgba(255,255,255,.07)}
#bedit.ed2 #pxsheet header b{font:700 12px Inter,sans-serif!important;letter-spacing:2.4px!important;color:#e8892f!important}
#bedit.ed2 #pxsheet .pbx-sb{padding:14px 18px 18px}
#bedit.ed2 #pxsheet .pbx-2,#bedit.ed2 #pxsheet .pbx-3{grid-template-columns:1fr!important;display:grid;gap:14px}
.ed-hint{margin:0 0 12px;font:500 13px Inter,sans-serif;color:#9a9aa2}
.ed-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}
.ed-tile{height:112px;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);color:#ededed;cursor:grab;touch-action:none;transition:border-color .12s,background .12s,transform .12s}
.ed-tile:hover{border-color:rgba(232,137,47,.6);background:rgba(232,137,47,.08);transform:translateY(-2px)}
.ed-tile:active{cursor:grabbing}
.ed-ti{width:44px;height:44px;display:grid;place-items:center;font:800 26px Inter,sans-serif;color:#f0a04b}
.ed-ti svg{width:36px;height:36px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ed-tile b{font:700 13px Inter,sans-serif}
.ed-tile small{font:500 11px Inter,sans-serif;color:#8b8b93}
.ed-ghost{position:fixed;z-index:9999;width:60px;height:60px;margin:-30px 0 0 -30px;border-radius:50%;display:grid;place-items:center;pointer-events:none;background:rgba(232,137,47,.22);border:2px solid #e8892f;opacity:0;font:800 26px Inter,sans-serif;color:#fff;transition:opacity .1s}
.ed-ghost.on{opacity:1}
.ed-ghost svg{width:34px;height:34px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#edtrash{position:absolute;left:50%;bottom:120px;transform:translateX(-50%);z-index:8;display:none;align-items:center;gap:10px;padding:14px 26px;border-radius:16px;background:rgba(22,22,26,.92);border:2px dashed rgba(229,83,75,.6);color:#ff8f88;font:600 14px Inter,sans-serif}
#edtrash.on{display:flex}
#edtrash.hot{background:rgba(229,83,75,.28);border-style:solid;color:#fff}
#edtrash svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2}

/* dok vybraného hráča */
#bedit.ed2 #pxtb{left:50%!important;right:auto!important;bottom:14px!important;transform:translateX(-50%)!important;width:auto!important;min-width:0!important;max-width:calc(100% - 130px)!important;padding:0!important;border-radius:18px!important;background:rgba(20,20,24,.95)!important;border:1px solid rgba(232,137,47,.35)!important;box-shadow:0 16px 40px rgba(0,0,0,.5)!important;z-index:6}
.ed-dock{display:flex;align-items:stretch}
.ed-who{display:flex;align-items:center;gap:10px;padding:10px 16px;border-right:1px solid rgba(255,255,255,.08);cursor:pointer;border-radius:18px 0 0 18px}
.ed-who:hover{background:rgba(255,255,255,.04)}
.ed-pl{width:42px;height:42px;flex:none;border-radius:50%;background:var(--c);display:grid;place-items:center;font:800 15px Inter,sans-serif;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.5);box-shadow:0 0 0 3px rgba(232,137,47,.4)}
.ed-who small{font:600 11px/1.3 Inter,sans-serif;color:#a8a8b0;max-width:100px}
.ed-sec{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:9px 12px;border-right:1px solid rgba(255,255,255,.08)}
.ed-sec>small{font:700 9px Inter,sans-serif;letter-spacing:1.8px;color:#e8892f}
.ed-row{display:flex;gap:5px;align-items:center}
.ed-num{width:31px;height:38px;border-radius:8px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);color:#ededed;font:800 15px Inter,sans-serif}
.ed-num:hover{background:rgba(232,137,47,.18);border-color:#e8892f;color:#f0a04b}
#bedit.ed2 #pxtb .pbx-tb{width:40px!important;height:38px!important;min-width:0!important;padding:0!important;border-radius:9px!important;background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.1)!important;color:#e8e8ea!important;display:grid!important;place-items:center;box-shadow:none!important}
#bedit.ed2 #pxtb .pbx-tb:hover{border-color:rgba(232,137,47,.6)!important;color:#f0a04b!important}
#bedit.ed2 #pxtb .pbx-tb.on{background:rgba(232,137,47,.22)!important;border-color:#e8892f!important;color:#f0a04b!important}
#bedit.ed2 #pxtb .pbx-tb svg{width:21px!important;height:21px!important;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#bedit.ed2 #pxtb .pbx-tb b{font:800 15px Inter,sans-serif;color:inherit}
#bedit.ed2 #pxtb .pbx-tb[data-t=rm]:hover{border-color:rgba(229,83,75,.6)!important;color:#ff8f88!important}
.ed-dock.noroute .caps,.ed-dock.noroute .ed-sec:has([data-t=zig]){opacity:.4}
.ed-done{width:58px;flex:none;margin:8px;border-radius:12px;background:linear-gradient(#f0a04b,#d9761f);color:#1a0f04;display:grid;place-items:center}
.ed-done svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.2}
#bedit.ed2 #pxtb .pbx-tbp{margin:0!important;padding:10px 14px 12px!important;border-top:1px solid rgba(255,255,255,.08)!important}
#bedit.ed2 #pxtb .pbx-tbp:empty{display:none}
.ed-tip{font:500 13px Inter,sans-serif;color:#9a9aa2}
/* lišta čiary (anotácia) v rovnakom štýle */
#bedit.ed2 #pxtb .pbx-tbr:not(.pmx){padding:8px 12px;gap:6px}
.ed-ti>b{font-size:32px;line-height:1}
/* úchyt na posúvanie lišty, rozbaľovací route tree, lišta zóny */
#bedit.ed2 #pxtb .pmx-grip{display:flex;align-items:center;justify-content:center;width:26px;flex:none;cursor:grab;color:#6f6f78;touch-action:none}
#bedit.ed2 #pxtb .pmx-grip:active{cursor:grabbing}
#bedit.ed2 #pxtb .pmx-grip svg{width:18px;height:18px;fill:currentColor;stroke:none}
#bedit.ed2 #pxtb .pmx-grip:hover{color:#f0a04b}
.ed-tree{display:flex;align-items:center;gap:8px;height:38px;padding:0 12px;border-radius:9px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);color:#ededed;font:600 13px Inter,sans-serif;max-width:190px}
.ed-tree svg{width:20px;height:20px;flex:none;fill:none;stroke:#f0a04b;stroke-width:1.9;stroke-linecap:round}
.ed-tree span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ed-tree i{font-style:normal;color:#f0a04b;margin-left:auto}
.ed-tree:hover,.ed-tree.on{border-color:#e8892f;background:rgba(232,137,47,.14)}
#bedit.ed2 #pxtb .pbx-tbp .pbx-tr{width:auto;min-width:76px;height:58px;padding:4px 8px;border-radius:10px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);color:#ededed;display:flex;flex-direction:column;align-items:center;justify-content:center}
#bedit.ed2 #pxtb .pbx-tbp .pbx-tr:hover{border-color:#e8892f;background:rgba(232,137,47,.16)}
#bedit.ed2 #pxtb .pbx-tbp .pbx-tr b{font:800 18px Inter,sans-serif;color:#f0a04b}
#bedit.ed2 #pxtb .pbx-tbp .pbx-tr small{font:500 10px Inter,sans-serif;color:#a8a8b0}
#bedit.ed2 #pxtb .pbx-tbr{display:flex;align-items:center;gap:6px;padding:8px 10px}
#bedit.ed2 #pxtb .pbx-tbr i{width:1px;height:28px;background:rgba(255,255,255,.1);margin:0 4px}
#bedit.ed2 #pxtb .pbx-tbl{font:700 10px Inter,sans-serif;letter-spacing:1.6px;color:#e8892f}
#bedit.ed2 #pxtb .pbx-dot{width:24px;height:24px;border-radius:50%;border:2px solid transparent}
#bedit.ed2 #pxtb .pbx-dot.on{border-color:#fff}
#bedit.ed2 #pxtb .pbx-zv{font:700 13px Inter,sans-serif;color:#fff;min-width:44px;text-align:center}
.ed-done.sm{width:42px;height:38px;margin:0 0 0 4px}
/* Notes – sklenené dlaždice s rámom (2026-11-24) */
.ed-tiles{gap:12px}
.ed-tile{position:relative;height:132px;gap:6px;border-radius:16px;background:linear-gradient(160deg,rgba(255,255,255,.12),rgba(255,255,255,.03) 55%,rgba(232,137,47,.06));border:1px solid rgba(255,255,255,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 8px 22px rgba(0,0,0,.35);backdrop-filter:blur(10px)}
.ed-tile::before{content:'';position:absolute;inset:5px;border-radius:12px;border:1px solid rgba(232,137,47,.35);pointer-events:none}
.ed-tile::after{content:'';position:absolute;left:10%;right:10%;top:0;height:40%;border-radius:16px 16px 50% 50%;background:linear-gradient(rgba(255,255,255,.10),transparent);pointer-events:none}
.ed-tile:hover{border-color:rgba(240,160,75,.75);background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(232,137,47,.12));transform:translateY(-3px);box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 12px 28px rgba(0,0,0,.45),0 0 22px rgba(232,137,47,.25)}
.ed-ti{width:60px;height:60px;border-radius:0;background:none;border:0;box-shadow:none}
.ed-ti svg{width:48px!important;height:48px!important;fill:none;stroke:none}
.ed-tile b{font:700 15px Inter,sans-serif;color:#fff;letter-spacing:.3px;text-shadow:0 1px 2px rgba(0,0,0,.6)}
.ed-tile small{font:500 12px Inter,sans-serif;color:#c9c9d0}
.ed-ghost{width:76px;height:76px;margin:-38px 0 0 -38px;border-radius:16px;background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,.04));border:1px solid rgba(240,160,75,.6);backdrop-filter:blur(6px);box-shadow:0 0 24px rgba(232,137,47,.4)}
.ed-ghost svg{width:54px!important;height:54px!important;fill:none;stroke:none}
/* Notes: 4 dlaždice ako Playmaker X (Arrow, Ball, Moving Ball, Text) – 2×2 */
#bedit.ed2 #pxsheet{width:460px}
.ed-tiles{grid-template-columns:1fr 1fr!important}
/* ľavá lišta – vlastný SNAPBOOK štýl: medený rám, okrúhle sklenené ikony, aktívna = oranžový kruh so žiarou a pásik */
#pxrail{left:16px!important;padding:12px 8px!important;gap:6px!important;border-radius:999px!important;background:linear-gradient(180deg,rgba(46,40,36,.92),rgba(20,19,22,.94) 50%,rgba(46,32,20,.92))!important;border:1.5px solid rgba(214,140,70,.55)!important;box-shadow:inset 0 1px 0 rgba(255,236,210,.15),0 14px 36px rgba(0,0,0,.5),0 0 26px rgba(232,137,47,.15)!important}
.ed-rb{position:relative;width:62px!important;height:auto!important;padding:6px 0 4px;gap:5px!important;border-radius:16px!important;color:#cfc6bb!important}
.ed-rb svg{box-sizing:content-box;width:20px!important;height:20px!important;padding:11px;border-radius:50%;background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.14),rgba(255,255,255,.02) 65%);border:1px solid rgba(255,255,255,.12)}
.ed-rb span{font:700 9px Montserrat,Inter,sans-serif!important;letter-spacing:1.2px!important}
.ed-rb:hover{background:none!important;color:#fff!important}
.ed-rb:hover svg{border-color:rgba(240,160,75,.7);box-shadow:0 0 12px rgba(240,160,75,.35)}
.ed-rb.on{background:none!important;box-shadow:none!important;color:#f6b25e!important}
.ed-rb.on svg{color:#1a0f04;stroke:#1a0f04;background:linear-gradient(#f6b25e,#d9761f);border-color:#ffd59a;box-shadow:0 0 16px rgba(240,160,75,.75)}
.ed-rb.on::before{content:'';position:absolute;left:-9px;top:14px;width:4px;height:24px;border-radius:2px;background:#f0a04b;box-shadow:0 0 10px #f0a04b}
/* dok má vždy rovnaký tvar a dĺžku (receiver aj lineman) */
.ed-dock{width:1060px}
.ed-who{width:190px;flex:none;box-sizing:border-box}
.ed-who small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ed-tree{width:180px;max-width:none}
.ed-dock .ed-sec:last-of-type{margin-left:auto}
#bedit.ed2 #pxtb .pbx-tb:disabled,.ed-tree:disabled{opacity:.25;pointer-events:none}
.ed-dock.noroute .caps,.ed-dock.noroute .ed-sec:has([data-t=zig]){opacity:1}
.ed-dock.noroute .caps .pbx-tb,.ed-dock.noroute .ed-sec:has([data-t=zig]) .pbx-tb{opacity:.35}
