:root .sig--web-blocks { display: flex; container-type: inline-size; padding: clamp(14px, 3.4cqw, 34px); }
:root .sig--web-blocks .wb { flex: 1; display: flex; width: 100%; max-width: 980px; margin: 0 auto; }
:root .sig--web-blocks svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:root .sig--web-blocks .wb__win { --a: #c77dff; --b: #3b0764; --c: #f1dcff; position: relative; flex: 1; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fbfafc; color: #1d1b20; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .06); }
:root .sig--web-blocks .wb__top { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 12px; background: #fff; border-bottom: 1px solid #ebe7ef; font: 500 13px/1 var(--f-body); }
:root .sig--web-blocks .wb__logo { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: #1d1b20; color: #fff; font-size: 18px; }
:root .sig--web-blocks .wb__plus { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: var(--v); color: #fff; font-size: 16px; }
:root .sig--web-blocks .wb__doc { flex: 1; text-align: center; color: #3c3842; font-weight: 600; white-space: nowrap; overflow: hidden; min-height: 1em; }
:root .sig--web-blocks .wb__live { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; background: #eef9f1; color: #17703a; font: 600 11px/1 var(--f-display); opacity: 0; transform: scale(.8); transition: opacity .4s, transform .5s var(--ease-out); }
:root .sig--web-blocks .wb__live i { width: 7px; height: 7px; border-radius: 50%; background: #22a356; box-shadow: 0 0 0 0 rgba(34, 163, 86, .6); }
:root .sig--web-blocks .is-live .wb__live { opacity: 1; transform: none; }
:root .sig--web-blocks .is-live .wb__live i { animation: wbPing 2s infinite; }
@keyframes wbPing{ 70% { box-shadow: 0 0 0 7px rgba(34, 163, 86, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 163, 86, 0); } }
:root .sig--web-blocks .wb__upd { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 8px; background: #1d1b20; color: #fff; font: 600 12px/1 var(--f-display); transition: transform .15s, background .4s; }
:root .sig--web-blocks .wb__upd.press { transform: scale(.93); }
:root .sig--web-blocks .wb__spin { display: none; font-size: 13px; }
:root .sig--web-blocks .is-saving .wb__spin { display: inline-flex; animation: wbSpin .8s linear infinite; }
:root .sig--web-blocks .is-done .wb__upd { background: #5e5a66; }
@keyframes wbSpin{ to { transform: rotate(360deg); } }
:root .sig--web-blocks .wb__body { flex: 1; display: grid; grid-template-columns: clamp(128px, 24%, 210px) 1fr; min-height: 0; }
:root .sig--web-blocks .wb__lib { padding: 14px 10px; background: #f4f2f6; border-right: 1px solid #ebe7ef; }
:root .sig--web-blocks .wb__lib p { margin: 0 6px 10px; color: #6b6672; font: 600 10.5px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; }
:root .sig--web-blocks .wb__lib ul { display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; }
:root .sig--web-blocks .wb__lib li, :root .sig--web-blocks .wb__ghost { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 9px; color: #2d2a31; font: 500 13px/1 var(--f-body); transition: background .3s, color .3s; }
:root .sig--web-blocks .wb__lib li svg, :root .sig--web-blocks .wb__ghost svg { font-size: 17px; color: #5b5663; transition: color .3s; }
:root .sig--web-blocks .wb__lib li.on { background: #fff; box-shadow: 0 0 0 1.5px var(--v); }
:root .sig--web-blocks .wb__lib li.on svg { color: var(--v); }
:root .sig--web-blocks .wb__canvas { position: relative; padding: clamp(12px, 2.4cqw, 22px); overflow: hidden; background: radial-gradient(circle at 1px 1px, #e4e0e8 1px, transparent 1.2px) 0 0 / 14px 14px, #f8f7fa; }
:root .sig--web-blocks .wb__page { display: flex; flex-direction: column; gap: 6px; max-width: 520px; margin: 0 auto; padding: 14px; min-height: 100%; border-radius: 10px; background: #fff; box-shadow: 0 10px 30px -18px rgba(30, 10, 50, .35); transition: opacity .45s, transform .5s var(--ease-out); }
:root .sig--web-blocks .wb__page.out { opacity: 0; transform: translateY(8px) scale(.985); }
:root .sig--web-blocks .wb__ph { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px; border: 1.5px dashed #d6d0dc; border-radius: 8px; color: #77717f; font: 500 13px/1 var(--f-body); transition: opacity .3s, max-height .4s var(--ease-out), padding .4s, margin .4s; max-height: 60px; overflow: hidden; }
:root .sig--web-blocks .wb__ph.off { opacity: 0; max-height: 0; padding-block: 0; border-width: 0; }
:root .sig--web-blocks .wb__line { display: block; height: 3px; border-radius: 3px; background: var(--v); transform: scaleX(0); opacity: 0; transition: transform .35s var(--ease-out), opacity .2s; }
:root .sig--web-blocks .wb__line.on { transform: none; opacity: 1; box-shadow: none; }
:root .sig--web-blocks .wb__blk { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
:root .sig--web-blocks .wb__blk.on { grid-template-rows: 1fr; }
:root .sig--web-blocks .wb__in { position: relative; min-height: 0; overflow: hidden; border-radius: 7px; outline: 1.5px solid transparent; outline-offset: -1.5px; transition: outline-color .3s; padding: 4px; }
:root .sig--web-blocks .wb__blk.sel .wb__in { outline-color: var(--v); overflow: visible; }
:root .sig--web-blocks .wb__tag { position: absolute; left: 6px; top: -9px; padding: 3px 6px; border-radius: 5px; background: var(--v); color: #fff; font: 600 9.5px/1 var(--f-display); opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .35s var(--ease-out); }
:root .sig--web-blocks .wb__blk.sel .wb__tag { opacity: 1; transform: none; }
:root .sig--web-blocks .wb__h { margin: 2px 0; min-height: 1.15em; font: 700 clamp(15px, 3.3cqw, 24px)/1.15 var(--f-display); letter-spacing: -.035em; color: var(--b); }
:root .sig--web-blocks .wb__photo { position: relative; height: clamp(62px, 15cqw, 120px); border-radius: 8px; overflow: hidden; background: #ece9f0; }
:root .sig--web-blocks .wb__photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--c), color-mix(in srgb, var(--a) 55%, #fff)); opacity: 0; transition: opacity .7s; }
:root .sig--web-blocks .wb__photo i { position: absolute; width: 22%; aspect-ratio: 1; left: var(--s); top: 16%; border-radius: 50%; background: #fff6d8; opacity: 0; transform: translateY(14px); transition: opacity .7s .15s, transform 1s .15s var(--ease-out); }
:root .sig--web-blocks .wb__photo b { position: absolute; left: -10%; right: 30%; bottom: -40%; height: 85%; border-radius: 50%; background: var(--a); opacity: 0; transform: translateY(30%); transition: opacity .6s .1s, transform 1s .1s var(--ease-out); }
:root .sig--web-blocks .wb__photo em { position: absolute; left: 35%; right: -15%; bottom: -50%; height: 95%; border-radius: 50%; background: var(--b); opacity: 0; transform: translateY(30%); transition: opacity .6s .25s, transform 1.1s .25s var(--ease-out); }
:root .sig--web-blocks .filled .wb__photo::before, :root .sig--web-blocks .filled .wb__photo i, :root .sig--web-blocks .filled .wb__photo b, :root .sig--web-blocks .filled .wb__photo em { opacity: 1; transform: none; }
:root .sig--web-blocks .wb__gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
:root .sig--web-blocks .wb__gal .wb__photo { height: clamp(36px, 8cqw, 64px); transform: scale(.85); opacity: .4; transition: transform .6s var(--ease-back), opacity .4s; }
:root .sig--web-blocks .filled .wb__gal .wb__photo { transform: none; opacity: 1; }
:root .sig--web-blocks .filled .wb__gal .wb__photo:nth-child(2) { transition-delay: .12s; }
:root .sig--web-blocks .filled .wb__gal .wb__photo:nth-child(3) { transition-delay: .24s; }
:root .sig--web-blocks .wb__btn { display: inline-block; margin: 4px 0; padding: 9px 16px; border-radius: 999px; background: #ece9f0; color: transparent; font: 600 12.5px/1 var(--f-display); transition: background .5s, color .5s; }
:root .sig--web-blocks .filled .wb__btn { background: var(--b); color: #fff; }
:root .sig--web-blocks .wb__tx { display: grid; gap: 6px; margin: 4px 0; }
:root .sig--web-blocks .wb__tx i { height: 7px; border-radius: 4px; background: #e7e3eb; }
:root .sig--web-blocks .wb__ghost { width: max-content; position: absolute; left: 0; top: 0; z-index: 4; background: #fff; box-shadow: 0 18px 34px -12px rgba(40, 0, 70, .45), 0 0 0 1.5px var(--v); opacity: 0; pointer-events: none; transition: opacity .2s; rotate: -2deg; }
:root .sig--web-blocks .wb__ghost.on { opacity: 1; }
:root .sig--web-blocks .wb__cur { position: absolute; left: 0; top: 0; z-index: 5; width: 20px; height: 20px; opacity: 0; transition: opacity .3s; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8-6.5 1.8L9.5 19z' fill='%23fff' stroke='%23111' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }
:root .sig--web-blocks .wb__cur.on { opacity: 1; }
:root .sig--web-blocks .wb__cur.grab { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 11V6.5a1.5 1.5 0 0 1 3 0V10m0-4.5a1.5 1.5 0 0 1 3 0V10m0-3a1.5 1.5 0 0 1 3 0v6.5c0 3.5-2.3 6.5-6 6.5-2.6 0-4-1.3-5.4-3.4L4 13.6a1.5 1.5 0 0 1 2.4-1.8L8 13.5' fill='%23fff' stroke='%23111' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E"); }
:root .sig--web-blocks .wb__toast { position: absolute; right: 14px; bottom: 14px; z-index: 6; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: #1b1b1b; color: #fff; box-shadow: 0 18px 36px -12px rgba(0, 0, 0, .7); opacity: 0; transform: translateY(16px) scale(.94); transition: opacity .35s, transform .6s var(--ease-out); }
:root .sig--web-blocks .wb__toast.on { opacity: 1; transform: none; }
:root .sig--web-blocks .wb__toast > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--v); font-size: 16px; }
:root .sig--web-blocks .wb__toast > span svg { stroke-width: 2.4; }
:root .sig--web-blocks .wb__toast b { display: block; font: 600 13.5px/1.2 var(--f-display); }
:root .sig--web-blocks .wb__toast small { color: #cfc6d8; font-size: 12px; }
@container (max-width: 560px){:root .sig--web-blocks .wb__body { grid-template-columns: 52px 1fr; }
:root .sig--web-blocks .wb__lib { padding: 10px 6px; }
:root .sig--web-blocks .wb__lib p, :root .sig--web-blocks .wb__lib li span { display: none; }
:root .sig--web-blocks .wb__lib li { justify-content: center; padding: 10px 0; }
:root .sig--web-blocks .wb__ghost span { display: none; }
:root .sig--web-blocks .wb__doc { text-align: left; }
:root .sig--web-blocks .wb__live { display: none; }

}
@container (max-width: 380px){:root .sig--web-blocks .wb__plus { display: none; }
:root .sig--web-blocks .wb__updt { font-size: 11px; }
 }
:root .sig--web-blocks .wb__tx i { transform-origin: left; transform: scaleX(0); transition: transform .7s var(--ease-out); }
:root .sig--web-blocks .wb__tx i:nth-child(2) { width: 92%; transition-delay: .1s; }
:root .sig--web-blocks .wb__tx i:nth-child(3) { width: 64%; transition-delay: .2s; }
:root .sig--web-blocks .filled .wb__tx i { transform: none; }
:root .sig--web-blocks { text-align: left; }

