/* Builder v2. These rules apply only while body.bfx-v2 is set, which is ?layout=v2. */

body.bfx-v2 .bfx-strip{display:flex;gap:6px;padding:0 0 4px}
body.bfx-v2 .bfx-strip button{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.1;height:32px;padding:0 8px;border-radius:8px;background:var(--field);box-shadow:inset 0 0 0 1px var(--edge);font-weight:650}
body.bfx-v2 .bfx-strip button[aria-selected="true"]{box-shadow:inset 0 0 0 1px var(--accent-edge);color:var(--accent)}
body.bfx-v2 .bfx-step:not(.open){box-sizing:border-box;height:50px;min-height:50px;max-height:50px;overflow:hidden}
body.bfx-v2 .bfx-step:not(.open) .bfx-sh{box-sizing:border-box;height:50px}
body.bfx-on.bfx-tab.bfx-v2 #export-bar{display:flex!important}
body.bfx-on.bfx-v2[data-mod="tracers"] #export-bar{display:flex!important}
body.bfx-v2 .bfx-head{flex-wrap:wrap;row-gap:8px}
body.bfx-v2 .bfx-of2{font-size:12.5px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--text-2);white-space:nowrap;flex:none}
body.bfx-v2 #bfx-layout{flex:none;white-space:nowrap}
body.bfx-v2 #bfx .bfx-card{align-items:center;justify-content:center;text-align:center}
body.bfx-v2 #bfx .bfx-card:disabled{opacity:.45;cursor:default}
body.bfx-v2 #bfx .bfx-card b,
body.bfx-v2 #bfx .bfx-card small{width:100%;text-align:center}
body.bfx-v2 #bfx .bfx-seg button{display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1;padding:0 12px}
body.bfx-v2 #bfx .bfx-tr .bfx-card{justify-content:center}
body.bfx-v2 .bfx-lib-face,
body.bfx-v2 .bfx-lib-row{justify-content:center;text-align:center}
body.bfx-v2 .chip,
body.bfx-v2 .seg button,
body.bfx-v2 .chips button,
body.bfx-v2 .mt .soon,
body.bfx-v2 .mt .new{display:inline-flex;align-items:center;justify-content:center;text-align:center}
body.bfx-v2 .bfx-of2.over{color:var(--danger)}
body.bfx-v2 .bfx-sec{gap:2px}
body.bfx-v2 .bfx-cardlayout .bfx-core{margin:4px 0}
body.bfx-v2 .bfx-range{gap:2px}
body.bfx-v2 .bfx-range + .bfx-range,
body.bfx-v2 .bfx-range + .bfx-row,
body.bfx-v2 .bfx-row + .bfx-range{margin-top:2px}
body.bfx-v2 .bfx-lib-menu{min-width:0;flex:1}
body.bfx-v2 .bfx-lib-list{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:auto;margin-top:6px;padding:8px}
body.bfx-v2 .bfx-lib-list[hidden]{display:none}
body.bfx-v2 .bfx-lib-row{flex-direction:column;justify-content:flex-start;align-items:center;text-align:center;gap:4px;min-height:68px;padding:6px 4px}
body.bfx-v2 .bfx-lib-row b{font-size:11px;font-weight:650;line-height:1.2}
body.bfx-v2 .bfx-lib-list img,
body.bfx-v2 .bfx-lib-list .bfx-mask,
body.bfx-v2 .bfx-lib-list .bfx-ph{width:40px;height:40px}
body.bfx-v2 #bfx-adv-btn,
body.bfx-v2 #pack-name,
body.bfx-v2 #auto-settings,
body.bfx-v2 #btn-all-effects{display:none!important}
body.bfx-v2 .bfx-start{width:min(440px,94vw)}
body.bfx-v2 .bfx-start-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:4px 2px 8px}
body.bfx-v2 .bfx-start-grid>.bfx-slot,
body.bfx-v2 .bfx-start-grid #recent-designs{display:contents}
body.bfx-v2 .bfx-tile{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:6px 4px;border-radius:8px;background:var(--field);box-shadow:inset 0 0 0 1px var(--edge)}
body.bfx-v2 .bfx-tile b{max-width:100%;overflow:hidden;font-size:11px;font-weight:650;line-height:1.2;text-align:center;text-overflow:ellipsis;white-space:nowrap}
body.bfx-v2 .bfx-tile-pic{display:flex;align-items:center;justify-content:center;width:100%;height:72px;overflow:hidden;border-radius:6px;background:#120c18}
body.bfx-v2 .bfx-tile-pic img{width:100%;height:100%;object-fit:cover}
body.bfx-v2 .bfx-tile-pic .sw3{display:flex;width:100%;height:100%}
body.bfx-v2 .bfx-tile-pic .sw3 i{flex:1}
body.bfx-v2 .bfx-tile-note{grid-column:1 / -1;color:var(--text-2);font-size:12px}
body.bfx-v2 .bfx-slot-pic{width:140px;height:78px}
