.ef-ms{--ms-bg:#10151d;--ms-panel:#171e28;--ms-line:#34404e;--ms-text:#f2f5f8;--ms-muted:#b2becd;--ms-accent:#d9e8f7;box-sizing:border-box;width:min(1600px,100%);margin:0 auto;padding:clamp(24px,4vw,60px) clamp(12px,3vw,40px);color:var(--ms-text);font-family:inherit;min-height:60vh}
.ef-ms *{box-sizing:border-box}.ef-ms [hidden]{display:none!important}.ef-ms h1,.ef-ms h2,.ef-ms p{margin:0;color:inherit}.ef-ms .ms-intro{display:flex;align-items:end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:25px}.ef-ms .ms-kicker{font-size:11px;font-weight:750;letter-spacing:.18em;color:var(--ms-muted);margin-bottom:7px}.ef-ms h1{font-size:clamp(34px,5vw,60px);line-height:1.04;letter-spacing:-.04em}.ef-ms .ms-lead{font-size:clamp(15px,2vw,19px);color:var(--ms-muted);margin-top:9px}.ef-ms .ms-tag{display:inline-flex;align-items:center;gap:8px;font-size:12px;border:1px solid var(--ms-line);padding:8px 12px;border-radius:20px;color:var(--ms-muted);background:var(--ms-bg)}.ef-ms .ms-tag span{width:7px;height:7px;border-radius:50%;background:#79d6a5}.ef-ms .ms-panel,.ef-ms .ms-view{background:var(--ms-bg);border:1px solid var(--ms-line);border-radius:16px;padding:clamp(13px,2.4vw,28px)}.ef-ms .ms-panel-head,.ef-ms .ms-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:20px}.ef-ms h2{font-size:clamp(19px,2vw,25px);line-height:1.2;overflow-wrap:anywhere}.ef-ms .ms-panel-head p,.ef-ms .ms-view-title p{color:var(--ms-muted);font-size:14px;margin-top:5px}.ef-ms .ms-settings{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px;margin-bottom:20px}.ef-ms label{display:block;color:var(--ms-text);font-size:13px;font-weight:650;min-width:0}.ef-ms label span{font-weight:400;color:var(--ms-muted)}.ef-ms input,.ef-ms select{display:block;width:100%;margin-top:6px;border:1px solid var(--ms-line);border-radius:8px;background:#0b1017;color:var(--ms-text);padding:11px 12px;font:inherit;font-weight:400;min-height:45px;outline-offset:3px}.ef-ms input::placeholder{color:#8e9ba9}.ef-ms input:focus,.ef-ms select:focus{outline:2px solid #a6c8ea}.ef-ms .ms-inputs{display:grid;gap:9px}.ef-ms .ms-input-row{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:end;gap:12px;background:var(--ms-panel);padding:12px;border-radius:10px;border:1px solid #2b3541}.ef-ms .ms-number{align-self:center;display:grid;place-items:center;width:32px;height:32px;background:#293747;border-radius:8px;font-size:13px;font-weight:700}.ef-ms .ms-actions,.ef-ms .ms-form-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ef-ms .ms-form-actions{margin-top:20px}.ef-ms .ms-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 13px;border:1px solid #465565;border-radius:8px;background:#222d3a;color:#f5f7fa;text-decoration:none;font:inherit;font-size:13px;font-weight:650;line-height:1.25;cursor:pointer;white-space:normal}.ef-ms .ms-btn:hover{background:#324255;color:white}.ef-ms .ms-btn:focus-visible{outline:2px solid #a6c8ea;outline-offset:3px}.ef-ms .ms-primary{background:var(--ms-accent);color:#152130;border-color:transparent}.ef-ms .ms-primary:hover{background:white;color:#152130}.ef-ms .ms-whatsapp{background:#123d2e;border-color:#376c52}.ef-ms .ms-whatsapp:hover{background:#1b503b}.ef-ms .ms-hint{margin-top:15px;color:var(--ms-muted);font-size:12px;line-height:1.6}.ef-ms .ms-grid{display:grid;grid-template-columns:repeat(var(--ms-cols,2),minmax(0,1fr));gap:10px;align-items:start}.ef-ms .ms-tile{min-width:0;border:1px solid var(--ms-line);border-radius:9px;background:#090c12;overflow:hidden}.ef-ms .ms-tile-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;background:#1a2531;font-size:12px}.ef-ms .ms-tile-bar strong{overflow-wrap:anywhere;min-width:0}.ef-ms .ms-tile-bar a{color:#c4d7ed;text-decoration:none;flex:none}.ef-ms .ms-tile iframe{display:block;width:100%;aspect-ratio:16/9;min-height:200px;border:0;background:#000}.ef-ms .ms-status{font-size:13px;color:var(--ms-muted);margin-top:12px;overflow-wrap:anywhere}.ef-ms .ms-status[data-error="true"]{color:#ffb4a9}.ef-ms .ms-view:fullscreen{overflow:auto;width:100%;height:100%;border:0;border-radius:0;padding:14px;background:#090c11}.ef-ms .ms-view:fullscreen .ms-toolbar{margin-bottom:12px}.ef-ms .ms-view:fullscreen .ms-grid{margin:auto;max-width:100%}.ef-ms .ms-view:fullscreen[data-rows="1"] .ms-grid{max-width:calc((100vh - 135px) * 16 / 9 * var(--ms-cols,1))}.ef-ms .ms-view:fullscreen[data-rows="2"] .ms-grid{max-width:calc((100vh - 185px) * 8 / 9 * var(--ms-cols,2))}.ef-ms .ms-view:fullscreen[data-rows="3"] .ms-grid{max-width:calc((100vh - 230px) * 16 / 27 * var(--ms-cols,3))}.ef-ms .ms-view.ms-expanded{position:fixed;inset:0;z-index:99999;overflow:auto;border-radius:0;background:#090c11}.ef-ms .ms-view+.ms-panel:not([hidden]){margin-top:18px}
@media(max-width:1050px){.ef-ms .ms-grid{grid-template-columns:repeat(min(var(--ms-cols,2),2),minmax(0,1fr))}}@media(max-width:700px){.ef-ms .ms-settings{grid-template-columns:1fr 1fr}.ef-ms .ms-settings label:first-child{grid-column:1/-1}.ef-ms .ms-grid{grid-template-columns:1fr}.ef-ms .ms-input-row{grid-template-columns:28px minmax(0,1fr);gap:8px}.ef-ms .ms-input-row label:last-child{grid-column:2}.ef-ms .ms-number{width:26px;height:26px}.ef-ms .ms-view:fullscreen .ms-grid{max-width:none!important}.ef-ms .ms-actions{width:100%}.ef-ms .ms-btn{font-size:12px;padding:8px 10px}}@media(prefers-color-scheme:light){.ef-ms .ms-intro,.ef-ms .ms-status{color:inherit}.ef-ms .ms-intro .ms-lead,.ef-ms .ms-intro .ms-kicker{color:inherit;opacity:.8}}
@media (min-width:1051px){.ef-ms .ms-grid[style*="--ms-cols: 2"]:has(> :last-child:nth-child(odd))>.ms-tile:last-child{grid-column:1/-1;width:calc((100% - 10px)/2);justify-self:center}}@media (min-width:701px) and (max-width:1050px){.ef-ms .ms-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ef-ms .ms-grid[style*="--ms-cols: 1"]{grid-template-columns:1fr}}

/* v1.2 — visor compacto y distribución móvil independiente de escritorio */
.ef-ms.ms-watching{padding-top:12px;padding-bottom:18px}
.ef-ms.ms-watching .ms-intro{display:none}
.ef-ms .ms-view{padding:12px}
.ef-ms .ms-toolbar{gap:8px;margin-bottom:10px}
.ef-ms .ms-tile-controls{display:flex;align-items:center;gap:6px;flex-shrink:0}
.ef-ms .ms-sound,.ef-ms .ms-tile-controls a{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:28px;padding:2px 5px;color:#f5f7fa;background:transparent;border:0;border-radius:4px;cursor:pointer;font:inherit;font-size:15px;text-decoration:none}
.ef-ms .ms-sound:disabled{opacity:.5;cursor:default}
.ef-ms .ms-tile-bar strong{flex:1;min-width:0}
.ef-ms .ms-view.ms-expanded{padding:8px}
.ef-ms .ms-view.ms-expanded .ms-hint,.ef-ms .ms-view:fullscreen .ms-hint{display:none}
@media(max-width:700px){
 .ef-ms.ms-watching{padding:5px 4px 12px;min-height:0}
 .ef-ms .ms-view{padding:5px;border-radius:8px}
 .ef-ms .ms-grid{gap:5px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .ef-ms .ms-grid[data-count="1"],.ef-ms .ms-grid[data-count="2"]{grid-template-columns:minmax(0,1fr)}
 .ef-ms .ms-toolbar{margin-bottom:6px;gap:5px}
 .ef-ms .ms-view-title h2{font-size:16px}
 .ef-ms .ms-view-title p{font-size:11px;margin-top:1px}
 .ef-ms .ms-actions{gap:4px}
 .ef-ms .ms-actions .ms-btn{min-height:30px;padding:5px 7px;font-size:11px;border-radius:5px}
 .ef-ms .ms-tile{border-radius:5px}
 .ef-ms .ms-tile-bar{padding:3px 4px;gap:2px;font-size:11px;min-height:30px}
 .ef-ms .ms-tile-controls{gap:0}
 .ef-ms .ms-tile-controls a,.ef-ms .ms-sound{min-width:24px;min-height:25px;padding:1px 3px;font-size:13px}
 .ef-ms .ms-grid:not([data-count="1"]):not([data-count="2"]) .ms-tile iframe{height:200px;min-height:200px;aspect-ratio:auto}
 .ef-ms .ms-view.ms-expanded .ms-grid,.ef-ms .ms-view:fullscreen .ms-grid{max-width:none!important}
 .ef-ms .ms-hint{font-size:11px;margin-top:7px}
}

/* v1.3: solo enlaces, reproductores sin cabecera individual. */
.ef-ms .ms-fallback{display:block;padding:6px 8px;font-size:12px;color:#c4d7ed;text-decoration:none}

/* ELFARERO V2 · Integración corporativa, sin cambiar la lógica del visor. */
.ef-ms{--ms-bg:var(--bg,#0b111a);--ms-panel:var(--surface2,#172638);--ms-line:var(--edge,#293d50);--ms-text:var(--text,#f2f6fa);--ms-muted:var(--muted,#a9bacc);--ms-accent:var(--blue,#69a8d9);width:min(1320px,calc(100% - 64px));padding:36px 0 56px;font-family:inherit}
.ef-ms .ms-intro{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.7fr);align-items:center;gap:24px;padding:32px 36px;margin-bottom:26px;border:1px solid var(--ms-line);border-radius:22px;background:linear-gradient(112deg,#0b131e 10%,#102136 72%,#142b42)}
.ef-ms .ms-intro .eyebrow{color:#92c3e9}.ef-ms .ms-intro .eyebrow a{color:inherit}.ef-ms .ms-intro .eyebrow a:hover{color:#fff}
.ef-ms .ms-intro h1{font-size:clamp(36px,4.7vw,64px);letter-spacing:-.052em;line-height:1.04;margin:14px 0 12px;color:var(--ms-text)}
.ef-ms .ms-brand-dot{color:var(--ms-accent)}.ef-ms .ms-intro .ms-lead{color:#bacbdd;opacity:1;font-size:clamp(16px,1.6vw,19px);margin:0;line-height:1.75}
.ef-ms .ms-tag{margin-top:16px;border-color:#38516a;color:#a5c9e6;background:#172638;border-radius:9px;font-weight:650}.ef-ms .ms-tag .serviceIcon{height:18px;width:18px;margin:0;flex:none}
.ef-ms .ms-hero-art{min-width:0;display:grid;place-items:center;isolation:isolate;position:relative;min-height:155px;border:1px solid #69a8d92c;border-radius:18px;background:radial-gradient(ellipse,#39648b3a,transparent 70%),repeating-linear-gradient(90deg,transparent 0 39px,#69a8d90c 39px 40px)}
.ef-ms .ms-hero-art .serviceArt{position:static;transform:none;width:min(78%,240px);height:160px;opacity:.8}
.ef-ms .ms-panel,.ef-ms .ms-view{background:linear-gradient(145deg,#172637,#121d2b);border:1px solid #2d4053;border-radius:18px;box-shadow:none}
.ef-ms .ms-panel-head h2,.ef-ms .ms-view-title h2{color:var(--ms-text);font-weight:750;letter-spacing:-.035em}.ef-ms .ms-panel-head p,.ef-ms .ms-view-title p,.ef-ms .ms-hint{color:#bfcedb}
.ef-ms label{color:#cbd9e7}.ef-ms input,.ef-ms select{background:#0e1926;border-color:#38516a;border-radius:10px;color:var(--ms-text);min-height:45px}.ef-ms input::placeholder{color:#a9bacc}.ef-ms input:focus,.ef-ms select:focus{outline:2px solid var(--ms-accent);outline-offset:1px}
.ef-ms .ms-input-row{background:#132131;border-color:#2d4053;border-radius:12px}.ef-ms .ms-number{background:#1b2c3e;color:#a5c9e6;border:1px solid #38516a}
.ef-ms .ms-btn{background:#1b2c3e;border-color:#38516a;color:#e5eff8;border-radius:10px;font-weight:700;transition:background .15s,border-color .15s}.ef-ms .ms-btn:hover{background:#27435c;border-color:#69a8d9;color:#fff}.ef-ms .ms-btn:disabled{opacity:.5;cursor:default}.ef-ms .ms-primary{background:var(--ms-accent);border-color:var(--ms-accent);color:#0a1721}.ef-ms .ms-primary:hover{background:#a5d3f4;color:#0a1721}.ef-ms .ms-whatsapp{background:#1b2c3e;border-color:#38516a;color:#e5eff8}.ef-ms .ms-fallback{color:#a5c9e6}
/* El modo visionado sigue usando todo el ancho disponible. */
.ef-ms.ms-watching{width:min(1600px,100%);padding-inline:clamp(4px,2vw,24px)}.ef-ms .ms-view{scroll-margin-top:12px}.ef-ms .ms-view:fullscreen,.ef-ms .ms-view.ms-expanded{background:#090f17;border:0;border-radius:0}
@media(max-width:850px){.ef-ms{width:calc(100% - 40px);padding-top:24px}.ef-ms .ms-intro{padding:24px;gap:16px}}
@media(max-width:700px){.ef-ms .ms-intro{grid-template-columns:minmax(0,1fr);padding:22px}.ef-ms .ms-hero-art{display:none}.ef-ms .ms-view{border-radius:8px}.ef-ms.ms-watching{padding-inline:4px}.ef-ms .ms-actions .ms-btn{border-radius:6px}}
@media(max-width:540px){.ef-ms{width:calc(100% - 32px);padding:20px 0 36px}.ef-ms .ms-intro h1{font-size:clamp(30px,9vw,43px)}.ef-ms .ms-intro{padding:20px}.ef-ms .ms-panel{padding:16px}.ef-ms .ms-form-actions .ms-primary{width:100%}.ef-ms.ms-watching{width:100%;padding:5px 4px 12px}}
