@font-face{font-family:Heebo;src:url(/assets/heebo-hebrew.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:Heebo;src:url(/assets/heebo-latin.woff2) format("woff2");font-weight:100 900;font-display:swap}
:root{font-family:Heebo,Arial,sans-serif;color:#17151f;background:#fcfcfd;--muted:#5e5a67;--line:#e9e7ee;--violet:#6436cb;--ink:#17151f}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}a{color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.46}[hidden]{display:none!important}:focus-visible{outline:3px solid #9a6bf5;outline-offset:4px}
.wrap{width:min(1180px,100% - 38px);margin-inline:auto}.top{border-bottom:1px solid var(--line);background:#fcfcfd}.top-inner{min-height:67px;display:flex;gap:13px;align-items:center}.top-inner>.quiet{margin-inline-start:auto}.brand{display:flex;align-items:center;gap:7px}.brand img:first-child{width:35px;height:35px}.brand img:last-child{width:112px;height:25px;object-fit:contain}.dev{font-size:11px;color:var(--muted);border:1px solid var(--line);border-radius:99px;padding:4px 8px}.quiet{color:#514a60;text-decoration:none;font-size:14px;font-weight:700}.quiet:hover{text-decoration:underline}
#root{padding-block:36px 65px}.intro{max-width:720px}.intro h1{font-size:clamp(41px,7vw,87px);letter-spacing:-.062em;line-height:1.03;margin:11px 0 14px}.intro p,.sub,.loading,.status{color:var(--muted);line-height:1.55}.intro p{font-size:clamp(16px,2.3vw,22px);margin:0 0 22px}.eyebrow{color:#683ccb;font-weight:850;font-size:13px;letter-spacing:.01em}.toolbar{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.button{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:13px;text-decoration:none;padding:11px 16px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;min-height:43px}.primary{background:#251740;color:#fff;border-color:#251740}.primary:hover{background:#52358a}.button:not(.primary):hover{background:#f3effb}.compact{padding:6px 11px;min-height:35px;font-size:13px}.panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:clamp(16px,3.5vw,28px)}.panel h2,.panel h3{margin:0 0 10px}.panel p{margin:0 0 13px}.status{margin:10px 0;min-height:1.35em}.status.error{color:#a5263f}.status.good{color:#227047}.form{display:grid;gap:14px}.form label{display:grid;gap:5px;font-weight:750}.form input:not([type=file]),.form select{border:1px solid #dcd8e5;background:#fcfcfd;color:var(--ink);border-radius:10px;padding:10px 12px;min-width:0}.form input[type=file]{width:100%}.form .check{display:flex;align-items:flex-start;font-weight:500}.host-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.85fr);gap:18px;margin-block:23px}.host-layout .panel{min-width:0}.wall-list{display:grid;gap:7px}.wall-row,.clip{display:flex;align-items:center;gap:9px;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);min-width:0}.clip>div:first-child{min-width:0}.clip strong,.wall-row strong{overflow-wrap:anywhere}.clip small,.wall-row small{display:block;color:var(--muted)}.clip .toolbar{justify-content:flex-end}.clip-list .clip:last-child{border-bottom:0}.invite-panel{max-width:620px}.preview-video{width:100%;max-height:350px;background:#15121e;border-radius:14px;object-fit:contain}.help-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-top:20px}.step{padding:15px;border:1px solid var(--line);border-radius:14px}.step span{color:#6634c8;font-weight:850}.step b{display:block;margin-block:4px}.step p{color:var(--muted);margin:0;font-size:14px}
.theater{--glow:#a27aff;--light:#d4c0ff;position:relative;isolation:isolate;border-radius:24px;background:#0e0a18;color:#fff;overflow:hidden;margin-top:22px;min-height:350px;aspect-ratio:16/9;display:grid;grid-template-rows:auto 1fr auto;background:radial-gradient(ellipse at 50% 27%,color-mix(in srgb,var(--glow) 35%,#0e0a18),#0d0a15 64%)}
.theater[data-theme=gold]{--glow:#e6ad53;--light:#ffdfad}.theater[data-theme=ice]{--glow:#48b9e9;--light:#b1eeff}.stage-hud,.stage-footer{z-index:5;display:flex;justify-content:space-between;align-items:center;padding:clamp(9px,2.1vw,23px);gap:10px}.stage-hud{font-size:13px;color:#eee6ff}.stage-hud i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--glow);box-shadow:0 0 16px var(--glow);margin-inline-end:6px}.stage-hud img{width:27px;height:27px}.stage-space{position:relative;min-height:0;perspective:850px;display:grid;align-items:center}.rig{height:100%;min-height:240px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3.45fr) minmax(0,1fr);align-items:center;gap:clamp(7px,2vw,27px);padding-inline:7%;transform-style:preserve-3d;position:relative;transition:transform .8s cubic-bezier(.17,.7,.21,1)}.theater.cut .rig{transform:translateZ(24px) rotateY(-1.3deg)}.runway{position:absolute;inset:39% 1% -33%;transform-origin:center 0;transform:rotateX(72deg);background:radial-gradient(ellipse at 50% 32%,color-mix(in srgb,var(--glow) 25%,transparent),transparent 58%),repeating-linear-gradient(90deg,transparent 0 10%,#bba2ff19 10.4% 10.7%,transparent 11% 20%);border-top:1px solid #ffffff40;pointer-events:none}.main-screen{grid-column:2;position:relative;z-index:3;width:100%;height:min(100%,510px);min-height:225px;aspect-ratio:16/9;align-self:center;border:1px solid #d3bcff96;border-radius:11% / 7%;padding:4px;background:linear-gradient(150deg,#dacff6,#3e2e58 25%,#a684de 60%,#201a37);box-shadow:0 0 28px color-mix(in srgb,var(--glow) 40%,transparent),0 32px 60px #0503069c;transform:translateZ(26px)}.screen-glass{position:relative;height:100%;min-height:inherit;border-radius:10% / 7%;overflow:hidden;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 46%,color-mix(in srgb,var(--glow) 30%,#160f27),#130f20 72%)}.screen-glass:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(150deg,#fff1,transparent 35%);z-index:2}.screen-glass video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#110d1c;z-index:1}.opening{width:100%;text-align:center;padding:15px}.opening img{width:clamp(27px,6vw,69px);height:clamp(27px,6vw,69px);margin-bottom:4px}.opening small{display:block;color:var(--light);font-weight:800}.opening h2{margin:8px 0;font-size:clamp(22px,5.5vw,72px);letter-spacing:-.05em;line-height:1.06;overflow-wrap:anywhere}.opening p{font-size:clamp(11px,2vw,18px);color:#eee7ff;margin:0}.wing{z-index:2;position:relative;align-self:center;aspect-ratio:3/5;border:1px solid #af99e786;border-radius:12px;background:linear-gradient(145deg,#241837,#120d1e);padding:0;overflow:hidden;color:white;box-shadow:0 9px 30px #08050ec0}.wing-right{grid-column:1;transform:rotateY(31deg) translateZ(-15px)}.wing-left{grid-column:3;transform:rotateY(-31deg) translateZ(-15px)}.wing img{width:100%;height:100%;object-fit:cover;opacity:.7}.wing span{position:absolute;inset:auto 0 0;padding:5px 1px;background:#160f29ca;font-size:clamp(9px,1.6vw,15px);font-weight:780;overflow-wrap:anywhere}.stage-footer{align-self:end}.stage-footer b{display:block}.counter{font-size:12px;color:#ded1ee}.stage-controls{display:flex;gap:5px}.stage-controls button{border:1px solid #ffffff36;background:#ffffff12;color:#fff;border-radius:9px;min-width:40px;min-height:38px}.stage-controls button:hover{background:#ffffff28}.theater:fullscreen{width:100%;height:100%;border-radius:0;margin:0;aspect-ratio:auto}.theater:fullscreen .main-screen{height:min(70vh,100%)}
@media(max-width:740px){.host-layout,.help-strip{grid-template-columns:1fr}.stage-space{perspective:560px}.theater{min-height:315px}.rig{min-height:205px;gap:4px;padding-inline:4%;grid-template-columns:minmax(0,1fr) minmax(0,4.8fr) minmax(0,1fr)}.main-screen{min-height:185px}.stage-controls button{min-width:34px;min-height:34px}.wing{border-radius:6px}.wing img{opacity:.55}.top-inner{gap:8px}.top-inner>.quiet{font-size:12px}.brand img:last-child{width:88px}.brand img:first-child{width:27px}.clip{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:0s!important;animation-duration:0s!important}}
.wall-invite-code{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:13px;padding:12px 16px;background:#fff;border:1px solid var(--line);border-radius:16px}
.wall-invite-code img{width:106px;height:106px;image-rendering:pixelated}
.wall-invite-code strong{font-size:1.05rem}

.theater:fullscreen .wall-invite-code{position:absolute;z-index:7;inset-inline-end:clamp(8px,2vw,24px);inset-block-start:48px;width:clamp(88px,14vw,150px);display:grid;justify-items:center;text-align:center;gap:3px;color:#24212b;padding:6px}.theater:fullscreen .wall-invite-code img{width:100%;height:auto;max-width:110px}.theater:fullscreen .wall-invite-code strong{font-size:clamp(9px,1.4vw,15px)}.theater:fullscreen .wall-invite-code a{font-size:clamp(8px,1.3vw,13px)}

.wall-flow {
  max-width: 696px;
  margin-inline: auto;
  display: grid;
  gap: clamp(14px, 3.5vw, 24px);
}
.wall-flow .intro h1 {
  font-size: clamp(34px, 6.5vw, 62px);
  margin-block: 8px 10px;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.wall-flow .intro p { margin-bottom: 0; }
.wall-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
}
.wall-steps li {
  border-top: 3px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
}
.wall-steps li[data-complete="true"] { border-color: var(--puzzle-create-to); }
.wall-steps li:has([aria-current="step"]) {
  color: var(--puzzle-create-to);
  border-color: currentColor;
}
.wall-steps li > :is(span, .button.wall-step-button) {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  width: 100%;
  gap: 6px;
  padding-inline: 5px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 750;
}
.wall-steps li > .button.wall-step-button:hover { background: var(--puzzle-snowSoft); }
.wall-steps b { font-weight: 800; font-variant-numeric: tabular-nums; }
.wall-flow .form input:not([type=file]), .wall-flow .form select { min-height: 48px; font-size: 16px; }
.wall-theme summary, .wall-list summary {
  display: list-item;
  width: fit-content;
  padding-block: 10px;
  color: var(--muted);
  font-weight: 750;
  cursor: pointer;
}
.wall-theme[open] summary { margin-bottom: 6px; }
.wall-main-action { width: 100%; min-height: 52px; }
.wall-flow .status:empty { display: none; }
.wall-flow .status:not(:empty) { margin: 10px 0 0; overflow-wrap: anywhere; }
.host-invitation {
  display: grid;
  grid-template-columns: clamp(110px, 26vw, 166px) minmax(0,1fr);
  gap: clamp(12px, 3vw, 24px);
  align-items: center;
}
.host-invite-details { min-width: 0; }
.host-invitation .wall-qr {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--puzzle-innerRadius);
  background: #fff;
  image-rendering: pixelated;
}
.host-invite-details p, .host-presentation p, .host-empty { color: var(--muted); }
.host-presentation > .toolbar + .toolbar { margin-top: 16px; }
.host-moderation .clip-list + video:not([hidden]) { margin-top: 12px; }
.stage-credit {
  position: absolute;
  z-index: 3;
  inset-inline-start: clamp(8px, 2.3vw, 23px);
  inset-block-end: clamp(8px, 2.3vw, 23px);
  max-width: calc(100% - 2 * clamp(8px, 2.3vw, 23px));
  padding: 4px 11px;
  border-inline-start: 3px solid var(--light);
  border-radius: 5px;
  background: #160f29e5;
  color: #fff;
  font-size: clamp(12px, 2.4vw, 20px);
  font-weight: 750;
  overflow-wrap: anywhere;
}
.stage-space .main-screen { height: auto; min-height: 0; }
.stage-space .screen-glass { height: 100%; min-height: 0; }
@media (max-width: 540px) {
  #root { padding-block-start: 24px; }
  .wall-page .top-inner { min-height: 58px; }
  .wall-page .dev { display: none; }
  .host-invitation { grid-template-columns: minmax(0,1fr); justify-items: start; }
  .host-invitation .wall-qr { width: min(48%, 144px); grid-row: 2; }
  .host-actions .button { min-height: 44px; }
  .stage-hud, .stage-footer { padding: 9px; }
  .theater { min-height: 245px; }
  .rig { min-height: 136px; }
  .opening { padding: 6px; }
  .opening img { width: 24px; height: 24px; }
  .opening h2 { font-size: clamp(15px, 5vw, 27px); margin-block: 3px; }
  .opening small, .opening p { font-size: 10px; }
  .stage-controls button { min-width: 38px; min-height: 44px; }
}

.theater[data-stage-state="playing"] .main-screen {
  border-color:color-mix(in srgb,var(--light) 70%,transparent);
  box-shadow:0 14px 38px #080512bf,0 0 28px color-mix(in srgb,var(--glow) 30%,transparent);
}
.theater .wing:focus-visible {
  outline:2px solid var(--light);
  outline-offset:3px;
}
@media (prefers-reduced-motion:reduce) {
  .theater .rig { transition:none; }
  .theater.cut .rig { transform:none; }
}
