/* Decorative wireframe loops and the FIRST EDITION outlined number. */
.card-num {
  font-family: "Unbounded", var(--display); font-weight: 900; line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 3px color-mix(in srgb, var(--g, #fff) 40%, transparent);
  background: none; pointer-events: none; font-style: normal;
}
.g-no.card-num { top: 16%; right: 4%; z-index: 0; font-size: clamp(72px, 8vw, 115px); filter: none; }
.g-card .g-media { z-index: 1; }
.wire-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hr-num.card-num { position: absolute; inset: 22% 0 auto; z-index: 0; font-size: calc(var(--w, 160px) * .42); text-align: center; opacity: .4; } /* Jeff 15 Oct: hero row numbers were too big and overlapped */
.hr-item > .wire-loop { z-index: 2; object-fit: contain; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.vcard .vc-no.card-num { font-family: "Unbounded", var(--display); font-weight: 900; font-size: clamp(60px, 8vw, 100px); letter-spacing: -.04em; -webkit-text-stroke: 3px color-mix(in srgb, var(--g, #fff) 40%, transparent); }
.fv-room-num.card-num { font-size: clamp(38px, 5vw, 64px); flex-shrink: 0; }
.result-num.card-num { font-size: clamp(38px, 5vw, 64px); }
.eyebrow > span.card-num { font-size: 28px; -webkit-text-stroke-width: 1px; background: none; color: transparent; }

.wire-stage { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--hdr) + 42px) 0 54px; color: #fff; background: radial-gradient(ellipse at 30% 50%, color-mix(in srgb, var(--g) 14%, transparent), transparent 66%), #06070c; }
.wire-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(#ffffff05 1px, transparent 1px), linear-gradient(90deg, #ffffff05 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(transparent, #000, transparent); mask-image: linear-gradient(transparent, #000, transparent); }
.wire-stage-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 76px); }
.wire-visual { position: relative; isolation: isolate; display: grid; justify-items: center; padding: 16px 0 36px; min-width: 0; }
.wire-number { position: absolute; z-index: 6; top: -2%; left: calc(50% - min(50%, 150px) - .32em); font-size: clamp(120px, 15vw, 210px); line-height: .9; white-space: nowrap; pointer-events: none; -webkit-text-stroke-width: 3px; text-shadow: 0 0 28px color-mix(in srgb, var(--g) 45%, transparent); } /* Jeff 15 Oct 2026: number was hidden behind the panel; now a poster-style outline overlapping the top-left corner */
.wire-panel { position: relative; width: min(100%, 300px); aspect-ratio: 9 / 16; overflow: hidden; border: 1px solid color-mix(in srgb, var(--g) 48%, transparent); border-radius: 12px; background: #03040a; box-shadow: 0 0 60px -22px var(--g), inset 0 0 24px #ffffff08; }
.wire-pane, .wire-holo { position: absolute; inset: 0; width: 100%; height: 100%; }
video.wire-pane { object-fit: cover; }
.wire-pane[hidden], .wire-holo[hidden] { display: none; }
.wire-panel::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: .35; background: repeating-linear-gradient(transparent 0 3px, #ffffff09 3px 4px), repeating-radial-gradient(circle at 20% 30%, #ffffff08 0 1px, transparent 1px 3px); }
.wire-floor { position: absolute; bottom: 12px; left: 50%; width: 78%; height: 42px; transform: translateX(-50%); border-radius: 50%; border: 1px solid color-mix(in srgb, var(--g) 72%, transparent); box-shadow: 0 0 22px color-mix(in srgb, var(--g) 40%, transparent), inset 0 0 22px color-mix(in srgb, var(--g) 25%, transparent); pointer-events: none; }
.wire-sweep { position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 5; background: #fff; box-shadow: 0 0 14px 3px var(--g); pointer-events: none; opacity: 0; }
.wire-stage.is-visible .wire-sweep { animation: wireSweep 5s ease-in-out infinite; }
.wire-text { min-width: 0; position: relative; }
.wire-text .eyebrow { color: #fff; }
.wire-text h1 { font-size: clamp(30px, 4vw, 58px); line-height: 1.15; overflow-wrap: anywhere; }
.wire-text p { overflow-wrap: anywhere; }
.wire-text > p:not(.eyebrow) { line-height: 1.7; }
.wire-stage.is-visible .wire-text > :is(p, h1, ul) { animation: wireRender .9s var(--ease) both; }
.wire-stage.is-visible .wire-text > :is(p, h1, ul):nth-child(2) { animation-delay: .12s; }
.wire-stage.is-visible .wire-text > :is(p, h1, ul):nth-child(3) { animation-delay: .24s; }
.wire-stage.is-visible .wire-text > :is(p, h1, ul):nth-child(4) { animation-delay: .36s; }
.wire-text::after { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; left: 0; background: #fff; box-shadow: 0 0 12px var(--g); opacity: 0; pointer-events: none; }
.wire-stage.is-visible .wire-text::after { animation: wireTextScan 1.3s var(--ease) both; }
.wire-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; position: relative; z-index: 6; }
.wire-tabs button { border: 1px solid #ffffff30; border-radius: 999px; background: #ffffff06; color: #fff; padding: 10px 18px; min-height: 44px; font: 700 11px var(--display); cursor: pointer; }
.wire-tabs button[aria-selected="true"] { border-color: var(--g); background: color-mix(in srgb, var(--g) 16%, #06070c); box-shadow: 0 0 20px -10px var(--g); }
.wire-tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.wire-countdown { display: block; margin: 24px 0; font: 800 clamp(22px, 3vw, 34px)/1.4 var(--display); font-variant-numeric: tabular-nums; color: #fff; }
@keyframes wireSweep { 0%, 10% { top: 0; opacity: 0; } 15% { opacity: .65; } 55% { top: 100%; opacity: .65; } 60%, 100% { top: 100%; opacity: 0; } }
@keyframes wireRender { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes wireTextScan { 0% { left: 0; opacity: 0; } 10% { opacity: .6; } 85% { opacity: .6; } 100% { left: 100%; opacity: 0; } }
@media (max-width: 760px) {
  .wire-stage { padding: calc(var(--hdr) + 24px) 0 36px; }
  .wire-number { font-size: clamp(96px, 26vw, 140px); left: calc(50% - min(50%, 150px) - .22em); top: 0; }
  .wire-stage-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .wire-visual { padding-top: 0; padding-bottom: 26px; }
  .wire-panel { width: min(72%, 250px); }
  .wire-number { font-size: clamp(170px, 65vw, 300px); }
  .wire-text { text-align: center; }
  .wire-text .t-hints { justify-content: center; }
  .wire-text .btn { max-width: 100%; }
  .wire-floor { width: 90%; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .wire-stage *, .wire-stage *::before, .wire-stage *::after, .hr-item > .wire-loop { animation: none !important; transition: none !important; }
  .wire-sweep, .wire-text::after { display: none; }
  .wire-text > :is(p, h1, ul) { clip-path: none; }
}

.wire-countdown { display:flex; gap:20px; }
.wire-countdown span { display:grid; min-width:44px; }
.wire-countdown small { font:400 11px var(--body); }
.wire-holo > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.wire-holo[data-ready="1"] > img { display:none; }
.room-profile-layout { display:grid; grid-template-columns:minmax(0,1fr) 400px; gap:40px; width:100%; align-items:center; }
.room-profile-layout.room-locked { display:block; padding:32px 0; }
@media(max-width:760px) { .wire-countdown { justify-content:center; gap:12px; } .room-profile-layout { grid-template-columns:minmax(0,1fr); gap:16px; } .room-profile-layout .room-scene { height:65vh!important; } .room-panel { padding:24px 0; } }

.g-card .g-media { mix-blend-mode:screen; }
.g-no.card-num { z-index:1; }
.ht-num.card-num { color:transparent; font-family:"Unbounded",var(--display); font-weight:900; letter-spacing:-.04em; -webkit-text-stroke-width:1px; }
.fv-top { position:sticky; }
.fv-room-num.card-num { position:absolute; right:8px; top:4px; z-index:-1; }
/* Jeff 15 Oct 2026: figure overflowed the frame and the stage needed scrolling; fit everything in one screen */
.wire-stage { padding: calc(var(--hdr) + 14px) 0 22px; min-height: 0; }
.wire-stage-inner { align-items: center; }
.wire-visual { padding: 8px 0 26px; }
.wire-panel { width: auto; height: min(calc(100vh - var(--hdr) - 150px), 640px); max-width: 100%; }
.wire-panel video.wire-pane, .wire-panel .wire-pane video { object-fit: cover; }
.wire-number { font-size: clamp(110px, 12vw, 180px); }
.wire-text h1.sec-title { font-size: clamp(34px, 3.6vw, 56px); margin: 6px 0 10px; }
.wire-text p { margin: 0 0 6px; font-size: 16px; }
.wire-text .eyebrow { margin-bottom: 6px; }
.wire-countdown { margin: 12px 0 16px; }
.wire-countdown b { font-size: clamp(30px, 3vw, 44px); }
@media (max-width: 760px) { .wire-panel { height: min(62vh, 520px); } }

/* Small identifiers keep a solid fill; outlines are reserved for large display numbers. */
.ht-num, .ht-num.card-num, .eyebrow > span.card-num { color:#fff; -webkit-text-stroke:0; font-family:"Unbounded",var(--display); font-weight:900; }
.fv-room-num.card-num, .result-num.card-num { font-size:clamp(40px,5vw,64px); }
@media(max-width:760px) { .fv-room-num.card-num, .result-num.card-num { color:#fff; -webkit-text-stroke:0; } }
.wire-real-image { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; clip-path:inset(100% 0 0); }
.wire-revealed.is-visible .wire-real-image { animation:wireRealReveal 1.6s linear both; }
.wire-real-scan { position:absolute; left:0; right:0; bottom:0; height:2px; background:#fff; box-shadow:0 0 16px 4px var(--g); opacity:0; }
.wire-revealed.is-visible .wire-real-scan { animation:wireRealScan 1.6s linear both; }
.wire-revealed.is-rendered .wire-real .wire-loop { visibility:hidden; }
.wire-revealed .wire-sweep { display:none; }
@keyframes wireRealReveal { from {clip-path:inset(100% 0 0);} to {clip-path:inset(0);} }
@keyframes wireRealScan { 0% {bottom:0;opacity:1;} 95% {opacity:1;} 100% {bottom:100%;opacity:0;} }
@media(prefers-reduced-motion:reduce) { .wire-real-image {clip-path:none;} .wire-real .wire-loop, .wire-real-scan {display:none;} }
.wire-revealed.is-rendered .wire-real-image { animation:none; clip-path:none; }
.wire-revealed.is-rendered .wire-real-scan { display:none; }

.card-num.small-number { color:#fff; -webkit-text-stroke:0; }
#btn-audio[hidden] { display:none; }
