/* ==========================================================================
   Editor de evento del organizador (Fase 4) · #tkEd
   Todo vive bajo .ed-root para no chocar con clases genéricas de styles.css.
   ========================================================================== */

body.ed-lock { overflow: hidden; }
.ev-st { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.draft-card .rv { align-self: flex-start; padding: 6px 12px; border-radius: 99px; font: 700 12px var(--font-ui); }

.ed-root {
  position: fixed; inset: 0; z-index: 70;
  display: flex; padding: 20px;
  background: rgba(11, 11, 38, .55);
  font-family: var(--font-ui); color: var(--ink);
  animation: edFade .18s ease;
}
@keyframes edFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes edPop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes tkFlow { 0% { left: -2%; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes edFlash { 0% { box-shadow: 0 0 0 0 rgba(30, 30, 255, .5); } 100% { box-shadow: 0 0 0 14px rgba(30, 30, 255, 0); } }
@keyframes edPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

:where(.ed-root) *, :where(.ed-root) *::before, :where(.ed-root) *::after { box-sizing: border-box; }
:where(.ed-root) button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
:where(.ed-root) button:disabled { cursor: default; opacity: .6; }
:where(.ed-root) h1 { margin: 0; }
:where(.ed-root) b { font-weight: 800; }

.ed-frame { flex: 1; display: flex; min-width: 0; min-height: 0; }
.ed-win {
  flex: 1; min-width: 0; display: flex; flex-direction: column;
  background: var(--paper); border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-modal);
  animation: edPop .28s var(--spring);
}

/* ---------- Botón base con rebote ---------- */
.ed-root .eb { transition: transform .25s var(--spring), box-shadow .25s ease, background .15s, border-color .15s, color .15s; }
.ed-root .eb:not(:disabled):hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(30, 30, 255, .2); }
.ed-root .eb:not(:disabled):active { transform: translateY(-1px); }

/* ---------- Encabezado ---------- */
.ed-top {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px; background: #fff; border-bottom: 1px solid var(--line);
}
.ed-circ { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); flex: none; }
.ed-thumb { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.ed-tt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ed-tt .k { font: 700 11px var(--font-mono); letter-spacing: .1em; color: var(--blue); }
.ed-tt .n { font: 800 20px/1.15 var(--font-display); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-save { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 99px; background: var(--lime); font: 800 14px var(--font-ui); color: var(--ink); white-space: nowrap; }
.ed-x { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); font: 500 24px/1 var(--font-ui); color: var(--ink); flex: none; }

/* ---------- Cuerpo: navegación + contenido ---------- */
.ed-body { flex: 1; min-height: 0; display: flex; }
.ed-nav {
  width: 220px; flex: none; display: flex; flex-direction: column; gap: 4px;
  padding: 18px 12px; background: #fff; border-right: 1px solid var(--line); overflow-y: auto;
}
.ed-step { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; font: 700 14px var(--font-ui); color: var(--body-2); text-align: left; }
.ed-root .ed-step:hover { background: var(--paper); box-shadow: none; transform: none; }
.ed-root .ed-step.on { background: var(--blue); color: #fff; }
.ed-step .num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 800 12px var(--font-mono); }
.ed-scroll { flex: 1; min-width: 0; overflow-y: auto; padding: 26px 30px 40px; display: flex; flex-direction: column; gap: 18px; }
.ed-scroll > * { flex-shrink: 0; }

.ed-foot { display: flex; align-items: center; gap: 14px; padding: 14px 22px; background: #fff; border-top: 1px solid var(--line); }
.ed-pn { flex: 1; text-align: center; font: 700 12px var(--font-mono); color: var(--muted-2); letter-spacing: .06em; }

.ed-load { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; font: 600 14px var(--font-ui); color: var(--muted); }

/* ---------- Botones ---------- */
.ed-root .ed-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 99px; background: var(--blue); color: #fff; font: 800 14px var(--font-ui); white-space: nowrap; }
.ed-root .ed-btn.line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--input-border); }
.ed-root .ed-btn.lime { background: var(--lime); color: var(--ink); }
.ed-root .ed-btn.blue { background: var(--blue); color: #fff; }
.ed-root .ed-btn.ink { background: var(--ink); color: #fff; }
.ed-root .ed-btn.danger { background: var(--danger-bg); color: var(--danger); }
.ed-root .ed-btn.ghost { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.ed-root .ed-btn.sm { padding: 9px 14px; font-size: 13px; }
.ed-root .ed-btn.xs { padding: 7px 12px; font-size: 12px; color: var(--ink); }
.ed-root .ed-btn.sqb { border-radius: 14px; padding: 0 18px; align-self: stretch; min-height: 40px; }
.ed-root .ed-btn.big { width: 100%; padding: 15px 20px; font-size: 15px; }
.ed-root .ed-link-btn { font: 700 13px var(--font-ui); color: var(--danger-text) !important; text-decoration: underline; text-underline-offset: 3px; }
.ed-root .ed-link-btn.blue { color: var(--blue) !important; }
.ed-root .ed-link-btn.ink { color: var(--ink) !important; }
.ed-root .ed-link-btn:hover { transform: none !important; box-shadow: none !important; opacity: .75; }
.ed-root .ib { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--paper); }
.ed-root .ib.del { background: #FFF0F7; }
.ed-root .nb { display: grid; place-items: center; }
.ed-root .nb:hover { box-shadow: none !important; }
.ed-root .rb { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--lavender); color: var(--blue); font: 800 16px var(--font-ui); flex: none; }
.ed-root .zb { width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--input-border); font: 800 15px var(--font-ui); }
.ed-root .zpct { min-width: 44px; text-align: center; font: 700 12px var(--font-mono); }

/* ---------- Tipografía y layout utilitario ---------- */
.ed-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ed-hl { display: flex; flex-direction: column; gap: 4px; }
.ed-hl h1 { font: 800 30px/1.1 var(--font-display); letter-spacing: -.02em; }
.ed-root .kick { font: 700 11px var(--font-mono); letter-spacing: .1em; color: var(--blue); }
.ed-root .ec { background: #fff; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: box-shadow .25s ease, transform .25s var(--spring); }
.ed-root .ec:hover { box-shadow: var(--shadow-card); }
.ed-root .ct { font: 800 17px var(--font-display); letter-spacing: -.01em; }
.ed-root .ct2 { font: 800 20px var(--font-display); letter-spacing: -.01em; }
.ed-root .note { font: 500 12px/1.45 var(--font-ui); color: var(--muted-2); }
.ed-root .note13 { font: 500 13px/1.45 var(--font-ui); color: var(--muted); }
.ed-root .lbl { font: 700 12px var(--font-ui); color: var(--body-2); min-width: 0; white-space: normal; }
.ed-root .lbl13 { font: 700 13px var(--font-ui); color: var(--body-2); }
.ed-root .el { display: flex; flex-direction: column; gap: 6px; font: 700 12px var(--font-ui); color: var(--body-2); min-width: 0; }
.ed-root .ei {
  width: 100%; min-width: 0; padding: 12px 14px; border-radius: 14px;
  border: 1.5px solid var(--input-border); background: #fff;
  font: 600 14px var(--font-ui); color: var(--ink); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.ed-root .ei:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 30, 255, .1); }
.ed-root .ei:disabled { background: var(--paper); color: var(--muted); }
.ed-root textarea.ei { resize: vertical; line-height: 1.45; }
.ed-root .ei.sm { padding: 9px 12px; font-size: 13px; border-radius: 12px; }
.ed-root .ei.lg { font: 800 18px var(--font-display); }
.ed-root .ei.mn { font-family: var(--font-mono); }
.ed-root .ei.b15 { font-weight: 700; font-size: 15px; }
.ed-root .ei.b16 { font: 800 16px var(--font-display); }
.ed-root .ei.up { text-transform: uppercase; letter-spacing: .04em; }
.ed-root .ei.yr { width: 76px; flex: none; }
.ed-root .ei.sq-in { width: 80px; text-align: center; font: 800 16px var(--font-mono); }
.ed-root .ei.grow, .ed-root .grow { flex: 1; min-width: 0; }

.ed-root .col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ed-root .col2 { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ed-root .col3 { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ed-root .col4 { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ed-root .col6 { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ed-root .col8 { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ed-root .col10 { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ed-root .row4, .ed-root .row6, .ed-root .row8, .ed-root .row10, .ed-root .row12, .ed-root .row14, .ed-root .row18 { display: flex; align-items: center; min-width: 0; }
.ed-root .row4 { gap: 4px; } .ed-root .row6 { gap: 6px; } .ed-root .row8 { gap: 8px; } .ed-root .row10 { gap: 10px; }
.ed-root .row12 { gap: 12px; } .ed-root .row14 { gap: 14px; } .ed-root .row18 { gap: 18px; align-items: flex-start; }
.ed-root .row-sb { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.ed-root .row-sb.top { align-items: flex-start; }
.ed-root .row-sb.base { align-items: baseline; }
.ed-root .row-sb.end { align-items: flex-end; }
.ed-root .wrap { flex-wrap: wrap; }
.ed-root .g4 { gap: 4px; } .ed-root .g6 { gap: 6px; } .ed-root .g12 { gap: 12px; } .ed-root .g14 { gap: 14px; } .ed-root .g16 { gap: 16px; }
.ed-root .p14 { padding: 14px; } .ed-root .p16 { padding: 16px; } .ed-root .p20 { padding: 20px; } .ed-root .p22 { padding: 22px; } .ed-root .p24 { padding: 24px; }
.ed-root .je { display: flex; justify-content: flex-end; align-items: center; }
.ed-root .tr { text-align: right; }
.ed-root .ac { align-items: center; }
.ed-root .ae { align-items: flex-end; }
.ed-root .ae-end { justify-content: flex-end; }
.ed-root .rel { position: relative; }
.ed-root .mw0 { min-width: 0; }
.ed-root .ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-root .span2 { grid-column: 1 / -1; }
.ed-root .t13 { font: 700 13px var(--font-ui); }
.ed-root .t14 { font: 700 14px var(--font-ui); }
.ed-root .t15 { font: 800 15px var(--font-ui); }
.ed-root .f13 { font-size: 13px; }
.ed-root .b13 { font: 700 13px var(--font-ui); }
.ed-root .mu { font: 500 13px var(--font-ui); color: var(--muted); }
.ed-root .mu2 { font: 600 13px var(--font-ui); color: var(--body-2); }
.ed-root .mono9 { font: 700 9px var(--font-mono); letter-spacing: .06em; color: var(--muted); }
.ed-root .mono11 { font: 600 11px var(--font-mono); color: var(--muted-2); letter-spacing: .04em; }
.ed-root .mono11b { font: 700 11px var(--font-mono); color: var(--blue); letter-spacing: .06em; }
.ed-root .mono11bb { font: 800 11px var(--font-mono); letter-spacing: .08em; }
.ed-root .mono12 { font: 600 12px var(--font-mono); color: var(--body-2); }
.ed-root .mono12b { font: 800 12px var(--font-mono); }
.ed-root .mono13 { font: 700 13px var(--font-mono); }
.ed-root .mono14 { font: 800 14px var(--font-mono); min-width: 44px; text-align: center; }
.ed-root .w6 { font-weight: 600; }

.ed-root .g2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.ed-root .g2.wl { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.ed-root .g2f { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.ed-root .g2f8 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ed-root .g2s { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.ed-root .g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ed-root .g3a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .9fr); gap: 18px; align-items: start; }

/* ---------- Estado / toggles / pills ---------- */
.ed-root .st { white-space: nowrap; padding: 4px 10px; border-radius: 99px; font: 700 11px var(--font-ui); display: inline-flex; align-items: center; }
.ed-root .tg { position: relative; width: 44px; height: 26px; border-radius: 99px; background: #D6D6E6; flex: none; transition: background .2s; display: inline-block; }
.ed-root .tg i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(11, 11, 38, .2); transition: transform .25s var(--spring); }
.ed-root .tg.on { background: var(--blue); }
.ed-root .tg.on i { transform: translateX(18px); }
.ed-root .tg.sm { width: 36px; height: 22px; }
.ed-root .tg.sm i { width: 16px; height: 16px; }
.ed-root .tg.sm.on i { transform: translateX(14px); }
.ed-root .pill { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 99px; font: 700 13px var(--font-ui); white-space: nowrap; }
.ed-root .pill.sm { padding: 7px 13px; font-size: 12px; }
.ed-root .sq { width: 10px; height: 10px; border-radius: 3px; flex: none; display: inline-block; }
.ed-root .segw { display: inline-flex; padding: 4px; gap: 2px; border-radius: 99px; background: var(--paper); align-self: flex-start; }
.ed-root .segw.wbg { background: #fff; }
.ed-root .segw button { padding: 9px 16px; border-radius: 99px; font: 700 13px var(--font-ui); white-space: nowrap; }
.ed-root .segw button:hover { transform: none; box-shadow: none; }
.ed-root .segw.sm button { padding: 7px 12px; font-size: 12px; }
.ed-root .sw { width: 30px; height: 30px; border-radius: 50%; }
.ed-root .sw30 { width: 30px; height: 30px; border-radius: 50%; }
.ed-root .sw32 { width: 32px; height: 32px; border-radius: 50%; }
.ed-root .sw-add { position: relative; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1.5px dashed #B8B8D0; color: var(--muted); font: 700 16px var(--font-ui); cursor: pointer; overflow: hidden; }
.ed-root .sw-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }

/* ---------- Paso 1: Evento y pagos ---------- */
.ed-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 18px; border-radius: 18px; font: 600 13px/1.45 var(--font-ui); }
.ed-banner .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ed-root .cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ed-root .cat-b { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 16px; font: 700 12px var(--font-ui); }
.ed-gmap { width: 100%; height: 200px; border: 0; border-radius: 16px; background: var(--paper); display: block; }
.ed-link { font: 700 12px var(--font-ui); color: var(--blue); text-decoration: none; align-self: flex-start; }
.ed-link:hover { text-decoration: underline; }
.ed-root .rec-box { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; background: var(--paper); }
.ed-root .rec-t { display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; }
.ed-root .rec-t:hover { transform: none !important; box-shadow: none !important; }
.ed-root .rec-t .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fff; flex: none; }
.ed-root .rec-t .tx { flex: 1; display: flex; flex-direction: column; gap: 2px; font: 500 12px var(--font-ui); color: var(--muted); }
.ed-root .rec-t .tx b { font: 800 14px var(--font-ui); color: var(--ink); }
.ed-root .rec-row { display: grid; grid-template-columns: 92px 84px 76px minmax(0, 1fr) auto; gap: 6px; align-items: center; }
.ed-root .rec-lbl { padding: 9px 8px; border-radius: 12px; font: 800 12px var(--font-mono); box-shadow: inset 0 0 0 1.5px var(--input-border); white-space: nowrap; }
.ed-root .rec-un { font: 700 12px var(--font-ui); color: var(--danger-text); padding: 0 4px; }
.ed-root .rec-un:hover { box-shadow: none !important; }

.ed-cover { position: relative; display: block; height: 230px; border-radius: 20px; overflow: hidden; cursor: pointer; }
.ed-cover .sh { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 11, 38, .82), rgba(11, 11, 38, 0) 65%); }
.ed-cover .hint { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, .92); font: 700 12px var(--font-ui); color: var(--ink); white-space: nowrap; }
.ed-cover .txt { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; flex-direction: column; gap: 6px; color: #fff; }
.ed-cover .chip { align-self: flex-start; padding: 4px 10px; border-radius: 99px; background: var(--lime); color: var(--ink); font: 800 11px var(--font-ui); }
.ed-cover .nm { font: 800 26px/1.1 var(--font-display); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-cover .mt { font: 600 13px var(--font-ui); color: rgba(255, 255, 255, .85); }
.ed-cover.drag, .ed-logo.drag, .ps-drop.drag, .p0-img.drag { outline: 3px dashed var(--blue); outline-offset: 3px; }

.ed-root .pay-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 4px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
.ed-root .pay-row:hover { transform: none !important; box-shadow: none !important; background: #FAFAFD; }
.ed-root .pay-row .tx { flex: 1; display: flex; flex-direction: column; gap: 2px; font: 500 12px var(--font-ui); color: var(--muted); min-width: 0; }
.ed-root .pay-row .tx b { font: 700 14px var(--font-ui); color: var(--ink); }
.ed-root .msi-l { font: 700 13px var(--font-ui); margin-right: 4px; }
.ed-logo { width: 88px; height: 88px; border-radius: 20px; flex: none; display: grid; place-items: center; text-align: center; border: 1.5px dashed #B8B8D0; cursor: pointer; font: 700 11px/1.3 var(--font-ui); color: var(--muted); }
.ed-root .brand-prev { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; }
.ed-root .brand-prev .lg { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.ed-root .brand-prev .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font: 600 12px var(--font-ui); opacity: .95; }
.ed-root .brand-prev .tx b { font: 800 15px var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-root .brand-prev .buy { padding: 10px 16px; border-radius: 99px; font: 800 13px var(--font-ui); flex: none; }

/* ---------- Paso 2: Boletos ---------- */
.ed-root .tbl { overflow-x: auto; gap: 0; }
.ed-root .tk-row { display: grid; grid-template-columns: 14px 1.3fr 1.2fr 90px 90px 1.4fr 1.1fr 96px 80px; gap: 12px; align-items: center; min-width: 990px; padding: 14px 4px; border-bottom: 1px solid var(--line-soft); font: 600 14px var(--font-ui); }
.ed-root .tk-row:last-child { border-bottom: 0; }
.ed-root .tk-row.th, .ed-root .cp-row.th { padding-top: 0; font: 700 11px var(--font-mono); letter-spacing: .06em; color: var(--muted-2); text-transform: uppercase; }
.ed-root .tk-row .dot { width: 12px; height: 12px; border-radius: 4px; }
.ed-root .bar { flex: 1; height: 8px; border-radius: 9px; background: var(--line); overflow: hidden; min-width: 50px; }
.ed-root .bar i { display: block; height: 100%; border-radius: 9px; background: var(--blue); }
.ed-root .bar.sm { height: 6px; }
.ed-root .lim-box { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 10px; border-radius: 18px; background: var(--paper); }
.ed-root .lim-b { width: 44px; height: 44px; border-radius: 50%; background: #fff; font: 800 20px var(--font-ui); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--input-border); }
.ed-root .lim-b.plus { background: var(--blue); color: #fff; box-shadow: none; }
.ed-root .lim-v { display: flex; flex-direction: column; align-items: center; min-width: 80px; }
.ed-root .lim-v b { font: 800 40px/1 var(--font-display); }
.ed-root .lim-v span { font: 600 12px var(--font-ui); color: var(--muted); }
.ed-root .tk-icons { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.ed-root .tk-ic {
  height: 22px; border-radius: 4px;
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 4px, #000 4.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 4px, #000 4.5px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle at 0 50%, transparent 4px, #000 4.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 4px, #000 4.5px) right / 51% 100% no-repeat;
}
.ed-root .tk-ic:hover { box-shadow: none !important; }
.ed-root .xt { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 24px; background: #fff; border: 2px solid transparent; text-align: left; min-height: 210px; }
.ed-root .xt-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.ed-root .xt-t { font: 800 16px var(--font-display); }

/* ---------- Modales ---------- */
.ed-scrim { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; background: rgba(11, 11, 38, .5); overflow-y: auto; animation: edFade .15s ease; }
.ed-scrim.z40 { z-index: 40; }
.ed-scrim.z60 { z-index: 60; }
.ed-modal { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 28px; background: #fff; box-shadow: var(--shadow-modal); animation: edPop .28s var(--spring); max-height: calc(100vh - 40px); overflow-y: auto; }
.ed-modal.nopop { animation: none; }
.ed-modal.w420 { max-width: 420px; }
.ed-modal.w460 { max-width: 460px; }
.ed-modal.w620 { max-width: 620px; }
.ed-modal.conf { align-items: center; text-align: center; }
.ed-root .m-title { font: 800 22px/1.15 var(--font-display); letter-spacing: -.01em; }
.ed-root .m-x { width: 36px; height: 36px; border-radius: 50%; background: var(--paper); font: 500 22px/1 var(--font-ui); flex: none; }
.ed-root .conf-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 800 26px var(--font-display); }
.ed-root .conf-b { font: 500 14px/1.5 var(--font-ui); color: var(--muted); }
.ed-root .conf-l { margin: 0; padding: 12px 16px 12px 34px; border-radius: 16px; background: var(--paper); text-align: left; align-self: stretch; font: 600 13px/1.7 var(--font-ui); color: var(--ink); }
.ed-modal.conf .row10 { align-self: stretch; }
.ed-root .edm-prev { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: var(--paper); }
.ed-root .yr-chip { padding: 6px 12px; border-radius: 99px; font: 800 12px var(--font-mono); box-shadow: inset 0 0 0 1.5px var(--input-border); }

/* ---------- Paso 3: Mapa ---------- */
.ed-root .map-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.ed-root .map-card { background: #fff; border-radius: 24px; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ed-root .map-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ed-root .pal { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; border: 1.5px dashed #B8B8D0; background: #FAFAFD; font: 700 12px var(--font-ui); cursor: grab; user-select: none; white-space: nowrap; transition: transform .2s var(--spring), border-color .15s; }
.ed-root .pal:hover { transform: translateY(-2px); border-color: var(--blue); }
.ed-root .pal.pen { cursor: pointer; }
.ed-root .map-cv {
  position: relative; height: 560px; border-radius: 18px; overflow: hidden; touch-action: none; user-select: none;
  background-color: #FAFAFD;
  background-image: radial-gradient(circle, #D6D6E6 1.2px, transparent 1.4px);
}
.ed-root .map-cv.drop { box-shadow: inset 0 0 0 3px var(--blue); }
.ed-root .map-layer { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.ed-root .mi { position: absolute; border-radius: 14px; outline: 2px dashed transparent; outline-offset: 3px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ed-root .mi-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ed-root .mi > *:not(.mi-layer):not(.mi-h) { position: relative; z-index: 1; }
.ed-root .mi-h { position: absolute; z-index: 3; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(11, 11, 38, .3); }
.ed-root .mi-h.br { right: -10px; bottom: -10px; cursor: nwse-resize; }
.ed-root .mi-h.tl { left: -10px; top: -10px; cursor: nwse-resize; background: #fff; border-color: var(--blue); }
.ed-root .mi-head { display: flex; }
.ed-root .stage { display: grid; place-items: center; background: var(--ink); color: #fff; font: 800 13px var(--font-mono); letter-spacing: .14em; }
.ed-root .seat-grid { display: flex; flex-direction: column; }
.ed-root .seat-row { display: flex; gap: 3px; }
.ed-root .seat { width: 12px; height: 12px; border-radius: 4px 4px 3px 3px; flex: none; transition: transform .15s; }
.ed-root .seat:hover { transform: scale(1.3) !important; }
.ed-root .boxes { display: flex; gap: 6px; flex-wrap: nowrap; }
.ed-root .box { width: 46px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: #fff; font: 800 11px var(--font-mono); flex: none; }
.ed-root .stand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--ink); font: 600 12px var(--font-ui); }
.ed-root .stand b { font: 800 14px var(--font-display); }
.ed-root .draw-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; }
.ed-root .draw-bar { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 99px; background: var(--ink); color: #fff; font: 600 12px var(--font-ui); white-space: nowrap; box-shadow: var(--shadow-modal); }
.ed-root .draw-bar button { padding: 7px 12px; border-radius: 99px; font: 800 12px var(--font-ui); color: var(--ink); }
.ed-root .quick { position: absolute; z-index: 7; width: 230px; display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-modal); animation: edPop .2s var(--spring); }
.ed-root .qk { font: 700 10px var(--font-mono); letter-spacing: .1em; color: var(--blue); }
.ed-root .qx { width: 24px; height: 24px; border-radius: 50%; background: var(--paper); font: 500 16px/1 var(--font-ui); }
.ed-root .qi { width: 100%; padding: 9px 11px; border-radius: 11px; border: 1.5px solid var(--input-border); font: 600 13px var(--font-ui); outline: none; }
.ed-root .qi:focus { border-color: var(--blue); }
.ed-root .qo { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font: 700 13px var(--font-ui); text-align: left; }
.ed-root .qo:hover { background: var(--paper); transform: none !important; box-shadow: none !important; }
.ed-root .map-new { position: absolute; right: 14px; bottom: 14px; z-index: 5; padding: 10px 16px; border-radius: 99px; background: var(--blue); color: #fff; font: 800 13px var(--font-ui); }
.ed-root .map-hint { position: absolute; left: 14px; bottom: 18px; z-index: 5; max-width: calc(100% - 190px); padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .9); font: 600 11px var(--font-ui); color: var(--muted); pointer-events: none; }
.ed-root .map-legend { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font: 600 12px var(--font-ui); color: var(--body-2); }
.ed-root .map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ed-root .map-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.ed-root .map-legend b { font: 800 13px var(--font-mono); color: var(--ink); }
.ed-root .map-side { position: sticky; top: 0; }
.ed-root .stp { display: flex; align-items: center; gap: 8px; }
.ed-root .stp b { flex: 1; font: 700 13px var(--font-ui); }
.ed-root .shp { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border-radius: 14px; border: 1.5px solid; font: 700 12px var(--font-ui); }
.ed-root .shp .rect { width: 26px; height: 18px; border-radius: 4px; border: 2px solid var(--blue); }
.ed-root .lay-b { display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; }
.ed-root .lay-b:hover { transform: none !important; box-shadow: none !important; }
.ed-root .ld { display: grid; grid-template-columns: repeat(5, 4px); gap: 2px; flex: none; }
.ed-root .ld i { width: 4px; height: 4px; border-radius: 1px; display: block; }
.ed-root .chev { display: inline-block; transition: transform .2s; font: 800 16px var(--font-ui); color: var(--muted); }
.ed-root .lay-menu { position: absolute; left: 0; right: 0; top: 100%; z-index: 10; margin-top: 6px; display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-modal); }
.ed-root .lay-menu button { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font: 700 13px var(--font-ui); text-align: left; }
.ed-root .lay-menu button:hover { transform: none; box-shadow: none; background: var(--paper) !important; }
.ed-root .sep-note { padding: 10px 12px; border-radius: 12px; background: var(--paper); font: 600 12px/1.45 var(--font-ui); color: var(--body-2); }
.ed-root .sep-q { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: var(--lavender); }
.ed-root .sep-q b { font: 800 14px var(--font-ui); }
.ed-root .cap-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--paper); font: 700 12px var(--font-ui); color: var(--body-2); cursor: text; }
.ed-root .cap-box input { width: 110px; text-align: right; border: 0; background: transparent; font: 800 18px var(--font-mono); color: var(--ink); outline: none; }

/* ---------- Paso 4: Cupones ---------- */
.ed-root .cp-row { display: grid; grid-template-columns: 1.2fr 70px 1.4fr 1.2fr 70px 44px; gap: 10px; align-items: center; min-width: 560px; padding: 12px 2px; border-bottom: 1px solid var(--line-soft); }
.ed-root .cp-row:last-child { border-bottom: 0; }
.ed-root .cp-row .code { font: 800 13px var(--font-mono); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-root .cp-row .disc { font: 800 14px var(--font-display); color: var(--blue); }
.ed-root .cp-g { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: end; }
.ed-root .cp-g .segw { align-self: end; margin-bottom: 4px; }
.ed-root .cp-tk { display: flex; align-items: stretch; border-radius: 18px; overflow: hidden; background: var(--blue); color: #fff; }
.ed-root .cp-tk .l { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; text-align: left; }
.ed-root .cp-tk .l span { font: 600 11px var(--font-ui); opacity: .8; }
.ed-root .cp-tk .l b { font: 800 20px var(--font-mono); letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-root .cp-tk .cut { width: 0; border-left: 2px dashed rgba(255, 255, 255, .5); margin: 12px 0; }
.ed-root .cp-tk .r { display: grid; place-items: center; padding: 0 22px; background: var(--lime); color: var(--ink); font: 800 24px var(--font-display); text-align: center; }
.ed-root .soc { position: relative; flex: none; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; border-radius: 22px; background: var(--blue); color: #fff; }
.ed-root .soc .c1 { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--pink); right: -80px; top: -70px; opacity: .9; }
.ed-root .soc .c2 { position: absolute; width: 160px; height: 160px; border-radius: 50%; background: var(--lime); left: -60px; bottom: -70px; opacity: .9; }
.ed-root .soc-logo { display: inline-flex; align-items: center; gap: 6px; font: 800 15px var(--font-display); }
.ed-root .soc-ev { max-width: 55%; font: 700 11px var(--font-ui); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-root .soc-u { font: 600 12px var(--font-ui); opacity: .9; }
.ed-root .soc-off { font-family: var(--font-display); font-weight: 800; line-height: .95; letter-spacing: -.03em; }
.ed-root .soc-code { align-self: flex-start; padding: 6px 12px; border-radius: 10px; background: #fff; color: var(--ink); font: 800 15px var(--font-mono); letter-spacing: .06em; }
.ed-root .soc-url { font: 800 12px var(--font-mono); }
.ed-root .cap-txt { padding: 14px 16px; border-radius: 16px; background: var(--paper); font: 500 14px/1.55 var(--font-ui); color: var(--ink); }

/* ---------- Paso 5: Cortesías y reservas ---------- */
.ed-root .co-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px 44px 90px; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.ed-root .co-row:last-of-type { border-bottom: 0; }
.ed-root .wa { display: flex; align-items: center; border: 1.5px solid var(--input-border); border-radius: 14px; overflow: hidden; background: #fff; }
.ed-root .wa:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 30, 255, .1); }
.ed-root .wa span { padding: 12px 12px; background: var(--paper); font: 700 14px var(--font-mono); color: var(--body-2); }
.ed-root .wa input { flex: 1; min-width: 0; border: 0; outline: none; padding: 12px 14px; font: 600 14px var(--font-ui); color: var(--ink); background: transparent; }
.ed-root .ct-seats { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: var(--lavender); font: 700 12px var(--font-ui); color: var(--blue); }
.ed-root .chipb { padding: 4px 9px; border-radius: 8px; background: var(--blue); color: #fff; font: 800 11px var(--font-mono); }
.ed-root .qty { min-width: 40px; text-align: center; font: 800 22px var(--font-display); }
.ed-root .ec.flash { animation: edFlash .9s ease 2; }
.ed-root .hold-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.ed-root .hold { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px; background: var(--paper); transition: opacity .2s; }
.ed-root .hold-z { font: 800 18px var(--font-display); }
.ed-root .hold-l { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px 0; }
.ed-root .hl { padding: 5px 7px; border-radius: 8px; font: 800 11px var(--font-mono); box-shadow: inset 0 0 0 1.5px #D6D6FF; }
.ed-root .hl:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--blue); }

/* ---------- Paso 6: Fila virtual ---------- */
.ed-root .fila-sw { display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 99px; background: #fff; font: 800 14px var(--font-ui); }
.ed-root .fila-live { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 24px; background: var(--ink); color: #fff; }
.ed-root .fl-st { display: inline-flex; align-items: center; gap: 8px; font: 800 12px var(--font-mono); letter-spacing: .1em; }
.ed-root .fl-st i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; animation: edPulse 1.4s ease infinite; }
.ed-root .fl-u { font: 600 12px var(--font-ui); color: #8A8AB0; }
.ed-root .fl-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ed-root .fl-l { font: 600 12px var(--font-ui); color: #A8A8D0; }
.ed-root .fl-v { font: 800 40px/1.05 var(--font-display); letter-spacing: -.02em; }
.ed-root .fl-s { font: 600 12px var(--font-ui); color: #8A8AB0; }
.ed-root .fl-track { position: relative; height: 66px; border-radius: 16px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.ed-root .fl-track .ln { position: absolute; top: 0; bottom: 0; width: 2px; opacity: .8; }
.ed-root .fl-track .qdw { position: absolute; inset: 0; }
.ed-root .fl-track .qd { position: absolute; left: -2%; width: 9px; height: 9px; border-radius: 50%; animation-name: tkFlow; animation-timing-function: linear; animation-iteration-count: infinite; }
.ed-root .fl-track .tl { position: absolute; bottom: 6px; font: 700 9px var(--font-mono); letter-spacing: .1em; color: #8A8AB0; }
.ed-root .fl-avg { font: 700 12px var(--font-mono); color: #C8C8FF; }
.ed-root .traffic { position: relative; height: 150px; display: flex; align-items: flex-end; gap: 3px; padding-top: 10px; }
.ed-root .tb { flex: 1; border-radius: 4px 4px 2px 2px; transition: height .4s ease, background .3s; min-width: 0; }
.ed-root .th-l { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--pink); pointer-events: none; }
.ed-root .th-t { position: absolute; right: 0; transform: translateY(-4px); padding: 3px 8px; border-radius: 99px; background: var(--pink); color: #fff; font: 800 10px var(--font-ui); pointer-events: none; }
.ed-root .rng { display: flex; flex-direction: column; gap: 8px; font: 700 13px var(--font-ui); color: var(--body-2); }
.ed-root .rng b { font: 800 13px var(--font-mono); color: var(--blue); }
.ed-root .rng input[type="range"] { width: 100%; accent-color: var(--blue); }
.ed-root .prev-lav { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px; border-radius: 24px; background: var(--lavender); min-width: 0; }
.ed-root .wait-ph { width: 100%; max-width: 290px; display: flex; flex-direction: column; gap: 12px; padding: 22px 18px; border-radius: 30px; background: var(--blue); color: #fff; box-shadow: 0 20px 44px rgba(30, 30, 255, .25); }
.ed-root .w-ev { font: 700 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.ed-root .w-t { font: 800 24px var(--font-display); }
.ed-root .w-l { font: 600 11px var(--font-ui); opacity: .8; }
.ed-root .w-pos { font: 800 34px/1 var(--font-display); color: var(--lime); }
.ed-root .w-in { font: 800 20px var(--font-display); }
.ed-root .w-bar { height: 8px; border-radius: 9px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.ed-root .w-bar i { display: block; height: 100%; border-radius: 9px; background: var(--lime); transition: width .8s ease; }
.ed-root .w-prio { align-self: flex-start; padding: 5px 10px; border-radius: 99px; background: var(--pink); color: var(--ink); font: 800 11px var(--font-ui); }
.ed-root .w-tile { flex: 1; height: 64px; border-radius: 14px; display: flex; align-items: flex-end; padding: 8px 10px; font: 800 12px var(--font-ui); color: #fff; }
.ed-root .w-triv { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .12); font-size: 12px; }
.ed-root .w-triv button { flex: 1; padding: 7px 0; border-radius: 10px; font: 800 12px var(--font-mono); color: var(--ink); }
.ed-root .w-msg { font: 500 12px/1.45 var(--font-ui); opacity: .9; }
.ed-root .w-wa { padding: 8px 10px; border-radius: 12px; background: #25D366; color: #fff; font: 700 11px var(--font-ui); }

/* ---------- Paso 7: Preguntas ---------- */
.ed-root .opt { padding: 7px 12px; border-radius: 99px; background: var(--lavender); color: var(--blue); font: 700 12px var(--font-ui); }
.ed-root .opt.pk { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--input-border); }
.ed-root .opt-add { padding: 7px 12px; border-radius: 99px; border: 1.5px dashed #B8B8D0 !important; font: 700 12px var(--font-ui); color: var(--muted); }
.ed-root .q-req { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font: 700 13px var(--font-ui); color: var(--body-2); }
.ed-root .q-req:hover { transform: none !important; box-shadow: none !important; }
.ed-root .tx-box { height: 42px; border-radius: 12px; border: 1.5px solid var(--input-border); background: #fff; }
.ed-root .chk { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-card); }
.ed-root .chk-t { font: 800 20px var(--font-display); }
.ed-root .chk-b { padding: 14px; border-radius: 99px; background: var(--blue); color: #fff; text-align: center; font: 800 14px var(--font-ui); }

/* ---------- Paso 8: Carteles ---------- */
.ed-root .ps-ctl { display: grid; grid-template-columns: 200px minmax(0, 1.2fr) minmax(0, 1.2fr) auto; gap: 20px; align-items: start; }
.ed-root .ps-drop { position: relative; height: 120px; border-radius: 16px; display: grid; place-items: center; cursor: pointer; overflow: hidden; }
.ed-root .ps-drop span { padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .92); font: 700 12px var(--font-ui); color: var(--ink); text-align: center; }
.ed-root .ps-ctl .ae-end { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; }
.ed-root .ps-stage { display: flex; gap: 26px; align-items: flex-start; justify-content: center; flex-wrap: wrap; padding: 28px; border-radius: 24px; background: #E8E8F2; }
.ed-root .poster { display: flex; overflow: hidden; border-radius: 20px; box-shadow: 0 30px 60px rgba(11, 11, 38, .25); min-width: 0; }
.ed-root .p0-img { flex: 1 1 55%; min-height: 0; min-width: 0; display: grid; place-items: center; }
.ed-root .p-drop { padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .85); color: var(--ink); font: 800 10px var(--font-mono); letter-spacing: .1em; }
.ed-root .p0-tx { flex: 1 1 45%; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 22px; }
.ed-root .p0-tx > b, .ed-root .p1 > b, .ed-root .p2-tx > b { font-family: var(--font-display); font-weight: 800; line-height: .98; letter-spacing: -.03em; overflow-wrap: anywhere; }
.ed-root .p-from { padding: 7px 12px; border-radius: 99px; font: 800 13px var(--font-ui); }
.ed-root .p-brand { font: 800 11px var(--font-mono); letter-spacing: .18em; }
.ed-root .p1 { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding: 28px; }
.ed-root .p1 .p-brand { margin-bottom: auto; }
.ed-root .p1-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; padding-top: 14px; border-top: 2px solid; font: 700 14px var(--font-ui); }
.ed-root .p2w { flex: 1; display: grid; place-items: center; padding: 22px; }
.ed-root .p2 { width: 100%; height: 100%; display: flex; border-radius: 18px; overflow: hidden; }
.ed-root .p2-img { flex: 1 1 40%; min-width: 0; min-height: 90px; }
.ed-root .p2-tx { flex: 1 1 45%; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 18px; }
.ed-root .p2-cut { flex: none; align-self: stretch; border-left: 2px dashed currentColor; opacity: .4; margin: 14px 0; }
.ed-root .p2-pr { flex: none; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; padding: 16px; font: 700 10px var(--font-mono); letter-spacing: .12em; }
.ed-root .p2-pr b { font: 800 22px var(--font-display); letter-spacing: -.01em; }
.ed-root .tkp-col { width: 320px; max-width: 100%; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.ed-root .c4a { color: #4A4A6A; }
.ed-root .tkp { width: 100%; border-radius: 26px; background: #fff; overflow: hidden; box-shadow: 0 24px 50px rgba(11, 11, 38, .18); }
.ed-root .tkp.r24 { border-radius: 24px; }
.ed-root .tkp-img { position: relative; display: flex; align-items: flex-end; padding: 18px; color: #fff; }
.ed-root .tkp-img .sh { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 11, 38, .85), rgba(11, 11, 38, 0) 60%); }
.ed-root .tkp-img > b, .ed-root .tkp-img > .col4 { position: relative; }
.ed-root .tkp-img b { font: 800 24px/1.05 var(--font-display); letter-spacing: -.02em; }
.ed-root .tkp-img .sub { font: 600 12px var(--font-ui); opacity: .85; }
.ed-root .g3t { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px 18px; }
.ed-root .g3t.bb { border-bottom: 1px solid var(--line-soft); }
.ed-root .g3t div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ed-root .g3t span { font: 600 10px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.ed-root .g3t b { font: 800 13px var(--font-ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-root .tk-cut { position: relative; height: 0; border-top: 2px dashed var(--line); }
.ed-root .tk-cut i { position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: #E8E8F2; }
.ed-root .tk-cut .l { left: -26px; }
.ed-root .tk-cut .r { right: -26px; }
.ed-root .qr { display: grid; }
.ed-root .qr i { display: block; }
.ed-root .qr-wrap { padding: 6px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.ed-root .qr-mini { width: 52px; height: 52px; border-radius: 8px; flex: none; background: repeating-conic-gradient(var(--ink) 0 25%, #fff 0 50%) 0 0 / 10px 10px; }
.ed-root .kv1 { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font: 600 12px var(--font-ui); color: var(--muted); }
.ed-root .kv1.last { border-bottom: 0; }
.ed-root .kv1 b { font: 800 18px var(--font-display); color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .ed-root .g3a { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ed-root .g3a .prev-lav { grid-column: 1 / -1; }
  .ed-root .ps-ctl { grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr); }
  .ed-root .ps-ctl .ae-end { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; }
}
@media (max-width: 1100px) {
  .ed-root .map-wrap { grid-template-columns: minmax(0, 1fr); }
  .ed-root .map-side { position: static; }
  .ed-root .g2 { grid-template-columns: minmax(0, 1fr); }
  .ed-nav { width: 190px; }
}
@media (max-width: 860px) {
  .ed-root { padding: 0; }
  .ed-win { border-radius: 0; animation: none; }
  .ed-top { padding: 10px 12px; gap: 10px; }
  .ed-thumb { display: none; }
  .ed-tt .n { font-size: 16px; }
  .ed-save { padding: 10px 12px; }
  .ed-save span { display: none; }
  .ed-body { flex-direction: column; }
  .ed-nav { width: auto; flex-direction: row; gap: 6px; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .ed-nav::-webkit-scrollbar { display: none; }
  .ed-step { flex: none; padding: 7px 12px 7px 7px; border-radius: 99px; background: var(--paper); font-size: 13px; white-space: nowrap; }
  .ed-step .num { width: 22px; height: 22px; font-size: 11px; }
  .ed-scroll { padding: 18px 14px 30px; gap: 14px; }
  .ed-foot { padding: 10px 12px; gap: 8px; }
  .ed-foot .ed-btn { padding: 11px 14px; font-size: 13px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .ed-foot .ed-btn:last-child { flex: 1; }
  .ed-pn { display: none; }
  .ed-hl h1 { font-size: 24px; }
  .ed-root .ec { padding: 18px; border-radius: 20px; }
  .ed-root .g2f, .ed-root .g2s, .ed-root .g3, .ed-root .g3a, .ed-root .fl-g { grid-template-columns: minmax(0, 1fr); }
  .ed-root .g3a .prev-lav { grid-column: auto; }
  .ed-root .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .ed-root .cat-b { font-size: 11px; padding: 10px 2px; }
  .ed-root .rec-row { grid-template-columns: 1fr 1fr 70px; }
  .ed-root .rec-row > input:not(.yr) { grid-column: 1 / -1; }
  .ed-root .rec-row .rec-un { grid-column: 1 / -1; justify-self: start; }
  .ed-cover { height: 190px; }
  .ed-cover .nm { font-size: 20px; }
  .ed-root .tk-icons { gap: 4px; }
  .ed-root .map-cv { height: 440px; }
  .ed-root .map-hint { display: none; }
  .ed-root .co-row { grid-template-columns: minmax(0, 1fr) auto auto; }
  .ed-root .co-row > .f13 { display: none; }
  .ed-root .soc { width: 100% !important; max-width: 300px; }
  .ed-root .fl-v { font-size: 30px; }
  .ed-root .fl-g { gap: 10px; }
  .ed-root .ps-ctl { grid-template-columns: minmax(0, 1fr); }
  .ed-root .ps-ctl .ae-end { flex-direction: column; }
  .ed-root .ps-stage { padding: 14px; }
  .ed-root .poster { flex-basis: 100% !important; }
  .ed-root .ed-h { align-items: flex-start; }
  .ed-scrim { padding: 0; align-items: end; }
  .ed-modal { max-width: none !important; border-radius: 26px 26px 0 0; max-height: 92vh; padding: 22px 18px; }
  .ed-root .ed-modal .g3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
