.ez-demo-entry {
  --entry-ink: #17212f;
  --entry-muted: #526173;
  --entry-border: #d5dce5;
  --entry-accent: #2456a6;
  --entry-soft: #eef3f9;
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9,14,22,.76);
  backdrop-filter: blur(14px);
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.ez-demo-entry[hidden],.ez-demo-entry [hidden] { display: none !important; }
.ez-demo-entry-card {
  width: min(1120px,96vw);
  max-height: 92vh;
  max-height: 92dvh;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 32px 100px rgba(0,0,0,.32);
  color: var(--entry-ink);
}
.ez-demo-entry-story {
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 32px;
  background: radial-gradient(circle at 72% 28%,rgba(124,153,184,.16),transparent 36%),linear-gradient(145deg,#111827,#243244);
  color: #fff;
}
.ez-demo-entry-story:after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: 20px;
  width: 420px;
  height: 190px;
  transform: rotate(-20deg);
  border: 42px solid rgba(148,163,184,.09);
  border-radius: 50%;
  pointer-events: none;
}
.ez-demo-entry-brand { display:flex;align-items:center;gap:12px;position:relative;z-index:2; }
.ez-demo-entry-brand span { width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.24);border-radius:10px;background:rgba(255,255,255,.08);font-size:14px;font-weight:800; }
.ez-demo-entry-brand strong { font-size:17px;font-weight:750;letter-spacing:-.02em; }
.ez-demo-entry-kicker { display:block;color:var(--entry-muted);font-size:12px;font-weight:750;letter-spacing:.12em; }
.ez-demo-entry-story .ez-demo-entry-kicker { color:#b7c6d7; }
.ez-demo-entry-story h2 { max-width:430px;margin:10px 0 16px;font-weight:700;font-family:inherit;font-size:36px;line-height:1.13;letter-spacing:-.035em; }
.ez-demo-entry-story p { max-width:400px;margin:0;color:#cbd5e1;font-size:16px;line-height:1.6; }
.ez-demo-entry-story ul { position:relative;z-index:2;display:grid;gap:12px;margin:0;padding:0;list-style:none;color:#cbd5e1;font-size:14px;line-height:1.5; }
.ez-demo-entry-story li { display:flex;align-items:center;gap:12px; }
.ez-demo-entry-story li span { color:#a8bdd7;font-size:12px;font-weight:750;letter-spacing:.06em; }
.ez-demo-entry-orbit { position:absolute;top:100px;right:28px;width:180px;height:180px;opacity:.85;pointer-events:none; }
.ez-demo-entry-orbit i { position:absolute;inset:18px;border:1px solid rgba(203,213,225,.22);border-radius:50%; }
.ez-demo-entry-orbit i:nth-child(2) { inset:43px;border-color:rgba(161,188,222,.48); }
.ez-demo-entry-orbit i:nth-child(3) { inset:0;border-style:dashed;transform:rotate(28deg); }
.ez-demo-entry-orbit b { position:absolute;inset:62px 35px;display:grid;place-items:center;border:1px solid #6d819b;border-radius:50%;background:#334155;color:#f8fafc;text-align:center;font-size:11px;line-height:1.25;letter-spacing:.06em; }
.ez-demo-entry-form-pane { position:relative;padding:42px 36px 30px;min-width:0; }
.ez-demo-entry-close { position:absolute;top:14px;right:16px;display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--entry-border);border-radius:9px;background:#fff;color:var(--entry-muted);font-size:28px;cursor:pointer; }
.ez-demo-entry-form-pane h1 { margin:10px 0 12px;font-size:30px;line-height:1.12;letter-spacing:-.03em;max-width:440px; }
.ez-demo-entry-lede { margin:0 0 24px;color:var(--entry-muted);font-size:16px;line-height:1.55; }
.ez-demo-entry-form-pane form { display:grid;gap:16px; }
.ez-demo-entry-form-pane label { display:grid;gap:7px;color:var(--entry-ink);font-size:14px;font-weight:700; }
.ez-demo-entry-form-pane input,.ez-demo-entry-form-pane select { box-sizing:border-box;width:100%;min-width:0;height:48px;border:1px solid var(--entry-border);border-radius:10px;padding:0 13px;background:#fff;color:var(--entry-ink);font-weight:400;line-height:1.4;font-family:inherit;font-size:16px; }
.ez-demo-entry-form-pane input::placeholder { color:#657486;opacity:1; }
.ez-demo-entry-form-pane input:focus,.ez-demo-entry-form-pane select:focus { border-color:var(--entry-accent);box-shadow:0 0 0 3px rgba(36,86,166,.12); }
.ez-demo-url-field { position:relative; }
.ez-demo-url-field span { position:absolute;left:13px;top:14px;color:#657486; }
.ez-demo-url-field input { padding-left:34px; }
.ez-demo-entry-primary,.ez-demo-entry-curated { width:100%;min-height:48px;border-radius:10px;font-size:15px;font-weight:750;cursor:pointer; }
.ez-demo-entry-primary { display:flex;align-items:center;justify-content:space-between;border:1px solid #17212f;padding:10px 16px;background:#243244;color:#fff;box-shadow:0 4px 0 #101823,0 8px 18px rgba(15,23,42,.14); }
.ez-demo-entry-primary:not(:disabled):hover { background:#31445c;box-shadow:0 4px 0 #101823,0 10px 20px rgba(15,23,42,.18); }
.ez-demo-entry-primary:disabled { opacity:.65;cursor:wait; }
.ez-demo-entry-primary b { font-size:20px; }
.ez-demo-entry-status { min-height:17px;margin-top:-4px;color:var(--entry-muted);font-size:13px;line-height:1.5; }
.ez-demo-entry-status.working { color:var(--entry-accent); }
.ez-demo-entry-status.success { color:#166534; }
.ez-demo-entry-status.error { color:#b42318; }
.ez-demo-entry-divider { display:flex;align-items:center;gap:12px;margin:22px 0;color:var(--entry-muted);font-size:13px; }
.ez-demo-entry-divider:before,.ez-demo-entry-divider:after { content:"";flex:1;height:1px;background:#e2e8f0; }
.ez-demo-entry-curated { padding:12px;border:1px solid var(--entry-border);background:#fff;color:var(--entry-ink); }
.ez-demo-entry-curated:hover { border-color:#9cabbc;background:#f8fafc; }
.ez-demo-entry-privacy { display:grid;grid-template-columns:24px 1fr;gap:10px;margin-top:24px;padding:14px;border-radius:10px;background:#f3f5f7; }
.ez-demo-entry-privacy>span { width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#e2e8f0;color:#334155;font-size:13px;font-weight:800; }
.ez-demo-entry-privacy p { margin:0;color:var(--entry-muted);font-size:13px;line-height:1.5; }
.ez-demo-entry-privacy strong { display:block;color:var(--entry-ink); }
.ez-entry-modes { display:grid;grid-template-columns:1fr 1fr;gap:10px; }
.ez-entry-modes button { min-height:70px;padding:12px;border:1px solid var(--entry-border);border-radius:10px;background:#fff;color:var(--entry-ink);font:700 14px/1.5 system-ui;text-align:left;cursor:pointer;box-shadow:0 3px 0 #e2e8f0; }
.ez-entry-modes small { display:block;font-weight:400;font-size:13px;color:var(--entry-muted); }
.ez-entry-modes button[aria-pressed=true] { border-color:var(--entry-accent);background:var(--entry-soft);color:#204c90;box-shadow:0 3px 0 #c5d2e3; }
#ez-entry-theme { display:grid;gap:14px; }
.ez-entry-themes { margin:0;padding:0;border:0;min-width:0; }
.ez-entry-themes legend { font-size:14px;font-weight:700;margin-bottom:10px; }
.ez-entry-theme-grid { display:grid;grid-template-columns:1fr 1fr;gap:10px; }
.ez-entry-theme-choice { display:grid;gap:4px;position:relative;background:#fff;border:2px solid #e2e8f0;border-radius:10px;padding:10px;color:var(--entry-ink);text-align:left;cursor:pointer;box-shadow:0 3px 0 #edf0f4; }
.ez-entry-theme-choice strong { font:700 14px system-ui; }
.ez-entry-theme-choice small { font-size:12px;color:var(--entry-muted); }
.ez-entry-theme-choice[aria-pressed=true] { border-color:var(--entry-accent);box-shadow:0 3px 0 #c5d2e3; }
.ez-entry-theme-choice[aria-pressed=true] strong:after { content:' ✓';color:var(--entry-accent); }
.ez-theme-swatches { display:flex;overflow:hidden;border-radius:5px;height:20px;margin-bottom:4px; }
.ez-theme-swatches i { flex:1; }
.ez-entry-colors { display:grid;grid-template-columns:1fr 1fr;gap:10px; }
.ez-entry-colors input[type=color] { height:44px;padding:4px;cursor:pointer; }
.ez-entry-theme-note { margin:0;color:var(--entry-muted);font-size:13px;line-height:1.5; }
.ez-demo-reset { max-width:460px;width:calc(100vw - 48px);box-sizing:border-box;border:1px solid #d5dce5;border-radius:18px;padding:28px;background:#fff;color:#17212f;box-shadow:0 24px 90px #10182355;font:16px/1.6 system-ui; }
.ez-demo-reset::backdrop { background:#101823a6;backdrop-filter:blur(5px); }
.ez-demo-reset h2 { font-size:24px;margin:0 0 10px;line-height:1.25; }
.ez-demo-reset p { color:#526173; }
.ez-demo-reset [data-reset-status]:empty { display:none; }
.ez-demo-reset-actions { display:flex;gap:10px;flex-wrap:wrap;margin-top:24px; }
.ez-demo-reset-actions button { border:1px solid #d5dce5;border-radius:9px;min-height:44px;padding:10px 14px;background:#fff;color:#243244;font:650 14px system-ui;cursor:pointer;box-shadow:0 3px 0 #e2e8f0; }
.ez-demo-reset-actions [data-reset-confirm] { background:#243244;border-color:#243244;color:#fff;box-shadow:0 3px 0 #101823; }
@media (max-width:780px) {
  .ez-demo-entry { padding:10px; }
  .ez-demo-entry-card { grid-template-columns:1fr;max-height:96vh;max-height:96dvh; }
  .ez-demo-entry-story { min-height:240px;padding:24px;gap:28px; }
  .ez-demo-entry-story h2 { max-width:72%;font-size:28px; }
  .ez-demo-entry-story p { max-width:85%;font-size:14px; }
  .ez-demo-entry-story ul { display:none; }
  .ez-demo-entry-orbit { top:65px;right:0;transform:scale(.6);transform-origin:top right; }
  .ez-demo-entry-form-pane { padding:48px 24px 24px; }
}
@media (max-width:400px) {
  .ez-demo-entry-story h2,.ez-demo-entry-story p { max-width:100%; }
  .ez-demo-entry-orbit { display:none; }
  .ez-demo-entry-form-pane { padding-inline:18px; }
  .ez-entry-modes,.ez-entry-theme-grid { grid-template-columns:1fr; }
}
