.land { min-height: 100vh; min-height: 100dvh; overflow-x: clip; }
.land-main > * { min-width: 0; }
.land-top {
  position: sticky; top: 0; z-index: 40; height: 64px;
  display: flex; align-items: center; gap: 12px; padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(7,4,13,.92); backdrop-filter: blur(10px);
}
.land-top .logo { height: 28px; width: auto; }
.land-acts { display: flex; align-items: center; gap: 8px; flex: none; }
.land-acts .btn { white-space: nowrap; text-decoration: none; }
@media (max-width: 420px) {
  .land-top { padding: 0 10px; gap: 8px; }
  .land-top .logo { height: 22px; }
  .land-acts { gap: 6px; }
  .land-acts .btn.sm { padding: 0 8px; }
}
.land-main { width: min(1180px, 100%); margin: 0 auto; padding: 14px 14px 8px; display: grid; gap: 18px; }

.hp, .sr {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0,0,0,0) !important;
  clip-path: inset(50%) !important; white-space: nowrap !important;
  border: 0 !important; left: -10000px !important; top: 0 !important;
}

.cine {
  display: flex; flex-direction: column;
  border: 1px solid var(--line2); border-radius: 20px; overflow: hidden;
  background:
    radial-gradient(500px 240px at 20% 0%, rgba(155,92,255,.22), transparent 60%),
    linear-gradient(180deg, rgba(26,15,49,.95), rgba(10,6,18,.96));
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.cine-copy { padding: 22px 18px 6px; }
.cine h1 { font-family: 'Pixelify Sans', sans-serif; font-size: clamp(34px, 8vw, 64px); line-height: 1.02; max-width: 14ch; }
.pitch { color: #d9ccee; font-size: 16.5px; line-height: 1.5; max-width: 48ch; margin-top: 10px; }
.gates { color: var(--mut); margin-top: 8px; }
.wl { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; position: relative; max-width: 520px; }
.wl input[type=email] { width: 100%; height: 48px; min-height: 48px; max-height: 48px; flex: 0 0 48px; font-size: 16px; box-sizing: border-box; }
.wl .btn { height: 48px; min-height: 48px; flex: 0 0 auto; width: 100%; }
.fine { color: var(--dim); font-size: 13px; margin-top: 8px; }
#wlmsg, #wlmsg2 { min-height: 1.2em; font-size: 14px; margin-top: 8px; }

.tease {
  border: 1px solid rgba(233,194,106,.38);
  border-radius: 16px;
  padding: 16px 18px;
  background:
    radial-gradient(420px 120px at 0% 0%, rgba(233,194,106,.16), transparent 70%),
    linear-gradient(180deg, rgba(42,28,12,.72), rgba(12,8,6,.55));
  box-shadow: inset 0 0 0 1px rgba(255,220,150,.08);
}
.tease p { color: #f6e7c8; font-size: 16.5px; line-height: 1.5; max-width: 62ch; }
.tease a { color: #f0d48a; font-weight: 700; }

dialog.authdlg {
  width: min(460px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  margin: auto;
  position: fixed;
  inset: 0;
  height: fit-content;
}
.auth { position: relative; }
.auth .x {
  position: absolute; top: 8px; right: 8px; width: 32px; height: 32px;
  border-radius: 10px; border: 1px solid var(--line2); background: transparent; color: var(--mut); cursor: pointer;
}
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 40px 0 0; }
.auth-tabs button {
  height: 36px; border-radius: 10px; border: 1px solid var(--line2); background: transparent;
  color: var(--mut); font: 700 13px 'Space Grotesk'; cursor: pointer;
}
.auth-tabs button.on { color: #2a1700; background: linear-gradient(180deg,#fff1bf,#e9c26a 42%,#b9822f); border-color: #f3de9a; }
.auth h3 { font-size: 28px; margin: 4px 0 0; }
.auth label { display: grid; gap: 4px; font-size: 12px; color: var(--mut); }
.auth input { width: 100%; height: 44px; font-size: 16px; box-sizing: border-box; }
.auth .field-note { min-height: 1.1em; font-size: 12.5px; color: var(--mut); }
.auth .field-note.ok { color: var(--lime); }
.auth .field-note.bad { color: var(--pink); }
.rules { list-style: none; display: grid; gap: 4px; margin: 2px 0 0; padding: 0; }
.rules li { color: var(--dim); font-size: 12.5px; display: flex; gap: 8px; align-items: center; }
.rules li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3a2d4e; box-shadow: inset 0 0 0 1px #6a5a86; }
.rules li.lit { color: #d7ff9a; }
.rules li.lit::before { background: var(--lime); box-shadow: 0 0 10px rgba(198,255,61,.8); }
.confirm-row { display: grid; grid-template-columns: 1fr 36px; gap: 8px; align-items: center; }
.match {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  color: transparent; border: 1px solid var(--line2); font-size: 18px;
}
.match.on { color: #14300c; background: var(--lime); border-color: #eaffb0; box-shadow: 0 0 16px rgba(198,255,61,.85); }
.g-auth {
  height: 44px; border-radius: 12px; border: 1px solid rgba(233,194,106,.45);
  background: linear-gradient(180deg, rgba(255,241,191,.08), rgba(185,130,47,.12));
  color: var(--ink); font: 700 13px 'Space Grotesk'; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.gmark {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg,#fff1bf,#e9c26a); color: #2a1700; font: 800 13px 'Space Grotesk';
}
.auth form, #pane-in, #pane-up { display: grid; gap: 10px; }
#pane-in[hidden], #pane-up[hidden] { display: none; }
.switch { background: none; border: 0; color: #f0d48a; font: 700 13px 'Space Grotesk'; cursor: pointer; padding: 0; text-align: left; }
#lmsg { min-height: 1.2em; font-size: 14px; }

.cine-stage {
  position: relative; height: 230px; margin-top: 8px;
  background: url(/assets/gen/city_bg.png) center bottom / cover no-repeat;
}
.cine-stage::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 42px;
  background: linear-gradient(180deg, rgba(12,7,22,.55), transparent);
  pointer-events: none;
}
.parade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 100%;
  display: flex; align-items: flex-end; justify-content: space-evenly;
  padding: 0 6px 10px; gap: 4px; pointer-events: none;
}
.parade .sprite { position: relative; flex: none; }
.hero-l { width:70px; height:86px; background-size:560px 86px; --sw:-560px; }
.hero-e { width:86px; height:83px; background-size:688px 83px; --sw:-688px; }
.hero-w { width:98px; height:89px; background-size:1078px 89px; --sw:-1078px; }
.hero-g { width:66px; height:89px; background-size:528px 89px; --sw:-528px; }

.show {
  display: grid; gap: 12px; align-items: center;
}
.show-copy h2 { font-family: 'Pixelify Sans', sans-serif; font-size: clamp(26px, 5vw, 40px); line-height: 1.05; margin: 4px 0 8px; }
.show-copy p { color: var(--mut); max-width: 52ch; line-height: 1.5; }
.frame {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line2);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  background: #07040d; min-width: 0; max-width: 100%;
}
.frame img { display: block; width: 100%; max-width: 100%; height: auto; }

.pair { display: grid; gap: 12px; }
.pair .card, .pair .cardback { margin: 0 auto; }

.reel-wrap { display: grid; gap: 8px; }
.reel {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 2px 16px; scrollbar-width: thin; max-width: 100%; min-width: 0;
}
.reel-item { scroll-snap-align: center; flex: none; width: min(220px, 72vw); text-align: center; }
.reel-item .cardback { width: 100%; --z: 1; }
.reel-item .cardback { width: auto; }
.reel-item small { display: block; color: var(--mut); margin-top: 8px; }

.cta { text-align: left; padding: 22px 18px; }
.cta h2 { font-family: 'Pixelify Sans', sans-serif; font-size: clamp(28px, 6vw, 44px); line-height: 1.05; max-width: 16ch; }

.land-foot {
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  padding: 22px 4px 36px; color: var(--dim); font-size: 13px;
  border-top: 1px solid var(--line); margin-top: 6px;
}
.land-foot .logo { height: 22px; }

@media (min-width: 720px) {
  .wl { flex-direction: row; align-items: center; }
  .wl input[type=email] { flex: 1; width: auto; }
  .wl .btn { width: auto; padding: 0 18px; }
  .cine-stage { height: 300px; }
  .hero-l { width:92px; height:112px; background-size:736px 112px; --sw:-736px; }
  .hero-e { width:112px; height:108px; background-size:896px 108px; --sw:-896px; }
  .hero-w { width:126px; height:114px; background-size:1386px 114px; --sw:-1386px; }
  .hero-g { width:86px; height:116px; background-size:688px 116px; --sw:-688px; }
}
@media (min-width: 980px) {
  .land-main { padding: 22px 22px 12px; gap: 28px; }
  .cine { display: grid; grid-template-columns: minmax(340px, .9fr) minmax(460px, 1.15fr); min-height: 560px; }
  .cine-copy { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
  .cine-stage { height: auto; min-height: 560px; margin: 0; }
  .parade { padding-bottom: 36px; justify-content: center; gap: 22px; }
  .hero-l { width:118px; height:144px; background-size:944px 144px; --sw:-944px; }
  .hero-e { width:140px; height:134px; background-size:1120px 134px; --sw:-1120px; }
  .hero-w { width:158px; height:143px; background-size:1738px 143px; --sw:-1738px; }
  .hero-g { width:108px; height:146px; background-size:864px 146px; --sw:-864px; }
  .show { grid-template-columns: .85fr 1.15fr; gap: 28px; }
  .show.flip { grid-template-columns: 1.15fr .85fr; }
  .show.flip .show-copy { order: 2; }
  .pair { grid-template-columns: 1fr 1fr; align-items: center; justify-items: center; }
  .cta { padding: 36px; }
}
