:root {
    --bg: #020613;
    --panel: rgba(6, 14, 33, 0.78);
    --panel-strong: rgba(4, 11, 28, 0.94);
    --line: rgba(91, 219, 255, 0.28);
    --line-strong: rgba(78, 226, 255, 0.72);
    --text: #f7fbff;
    --muted: #9fb6ca;
    --cyan: #52f6ff;
    --blue: #008cff;
    --deep-blue: #032a68;
    --gold: #ffd369;
    --red: #ff6473;
    --green: #4dffb5;
    --shadow: rgba(0, 169, 255, 0.34);
    --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 18%, rgba(0, 143, 255, 0.22), transparent 34%),
        radial-gradient(circle at 85% 20%, rgba(82, 246, 255, 0.13), transparent 28%),
        radial-gradient(circle at 50% 105%, rgba(0, 143, 255, 0.22), transparent 30%),
        linear-gradient(135deg, #01040e 0%, #07142b 48%, #01030a 100%);
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.bg-grid, .screen-grid {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(82,246,255,0.06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(82,246,255,0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
    pointer-events: none;
    z-index: -2;
}
.bg-grid::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0 42%, rgba(82, 246, 255, 0.07) 50%, transparent 58% 100%);
    animation: sweep 8s linear infinite;
}
@keyframes sweep { from { transform: translateX(-80%); } to { transform: translateX(80%); } }

h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(38px, 6vw, 84px); line-height: 0.96; letter-spacing: -0.055em; }
h2 { font-size: clamp(26px, 3vw, 44px); }
.muted { color: var(--muted); }
.small-note { font-size: 0.92rem; color: var(--muted); }
.eyebrow {
    color: var(--cyan);
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.78rem;
}
.brand-mark {
    font-size: 34px;
    font-weight: 1000;
    letter-spacing: -0.09em;
    line-height: 1;
}
.brand-mark.chrome, .stage-logo {
    background: linear-gradient(180deg, #ffffff, #bfeaff 48%, #fbffff 56%, #7aa8c3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 18px rgba(82,246,255,0.35));
}
.brand-mark.massive {
    position: absolute;
    top: 24px;
    opacity: 0.10;
    font-size: min(24vw, 280px);
    z-index: 0;
}

.center-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
}
.center-page.wide { place-items: start center; padding-top: 42px; }

.glass-card, .login-card, .form-card, .premium-success, .stat {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.065), rgba(255,255,255,0.018)),
        linear-gradient(145deg, rgba(6, 14, 33, 0.88), rgba(0, 70, 135, 0.16));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 24px 75px rgba(0,0,0,0.38), inset 0 0 60px rgba(82,246,255,0.045);
    backdrop-filter: blur(18px);
}
.glass-card::before, .login-card::before, .form-card::before, .premium-success::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(110deg, transparent 0 25%, rgba(82,246,255,0.12) 35%, transparent 45% 100%);
    transform: translateX(-75%);
    animation: cardShine 7s ease-in-out infinite;
    pointer-events: none;
}
@keyframes cardShine { 45%, 100% { transform: translateX(75%); } }

.toast-wrap {
    position: fixed;
    right: 18px;
    top: 18px;
    z-index: 50;
    display: grid;
    gap: 10px;
}
.toast {
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(5, 15, 35, 0.92);
    border: 1px solid rgba(82,246,255,0.28);
    box-shadow: 0 14px 36px rgba(0,0,0,0.35);
}
.toast.success { color: var(--green); }
.toast.error { color: var(--red); }

.btn, button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(82,246,255,0.34);
    background: rgba(4, 15, 33, 0.65);
    color: var(--text);
    cursor: pointer;
    font-weight: 900;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; box-shadow: 0 0 28px rgba(82,246,255,0.18); }
.btn.primary {
    border-color: rgba(82,246,255,0.75);
    background: linear-gradient(135deg, rgba(0,140,255,0.95), rgba(82,246,255,0.55));
    box-shadow: 0 0 30px rgba(0, 143, 255, 0.26), inset 0 0 18px rgba(255,255,255,0.1);
}
.btn.ghost { background: rgba(255,255,255,0.055); }
.btn.danger { color: #ffd6da; border-color: rgba(255,100,115,0.4); }
.full-width { width: 100%; border-radius: 16px; }

input, select, textarea {
    width: 100%;
    margin-top: 8px;
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid rgba(116,199,255,0.20);
    background: rgba(1, 6, 18, 0.62);
    color: var(--text);
    outline: none;
}
input:focus, select:focus, textarea:focus { border-color: rgba(82,246,255,0.72); box-shadow: 0 0 0 4px rgba(82,246,255,0.08); }
label { color: #d6edff; font-weight: 700; font-size: 0.94rem; }
.form-stack { display: grid; gap: 16px; }
.grid-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-form .full { grid-column: 1 / -1; }
.form-actions { display: flex; justify-content: flex-end; }
.login-card, .form-card, .premium-success { width: min(760px, 94vw); padding: clamp(26px, 5vw, 48px); }
.login-card { width: min(460px, 94vw); }

/* Admin */
.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    padding: 28px clamp(18px, 4vw, 54px) 18px;
}
.admin-topbar h1 { margin: 6px 0 0; font-size: clamp(30px, 4vw, 54px); }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.admin-shell { width: min(1500px, 100%); margin: 0 auto; padding: 18px clamp(18px, 4vw, 54px) 54px; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 18px; }
.stat { padding: 20px; }
.stat span { color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }
.stat strong { display: block; margin-top: 4px; font-size: 34px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.admin-shell .glass-card { padding: 24px; }
.filter-row { display: grid; grid-template-columns: 1fr 190px auto; gap: 12px; margin-bottom: 18px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid rgba(116,199,255,0.12); vertical-align: top; }
th { color: var(--cyan); font-size: 0.80rem; text-transform: uppercase; letter-spacing: 0.08em; }
td small { color: var(--muted); }
.copy-input { min-width: 280px; padding: 10px; font-size: 0.82rem; }
.empty { text-align: center; color: var(--muted); padding: 40px; }
.code { color: var(--cyan); }
.whatsapp-actions { display: grid; gap: 7px; }
.link-btn { border: 0; background: none; padding: 0; color: var(--cyan); cursor: pointer; font: inherit; }
.status, .pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.07);
}
.status.coming, .status.checked { color: var(--green); border-color: rgba(77,255,181,0.38); }
.status.not_coming, .status.error { color: var(--red); border-color: rgba(255,100,115,0.38); }
.status.maybe { color: var(--gold); border-color: rgba(255,211,105,0.38); }
.status.pending, .status.not_sent { color: #c4d7e6; }
.status.read, .status.delivered, .status.sent { color: var(--cyan); }
.pill.vip { color: var(--gold); border-color: rgba(255,211,105,0.55); box-shadow: 0 0 18px rgba(255,211,105,0.12); }

/* Mobile invitation */
.invite-phone-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(16px, 3vw, 36px);
    overflow: hidden;
}
.invite-device {
    position: relative;
    width: min(520px, 100%);
    perspective: 1100px;
}
.beam {
    position: fixed;
    width: 55vw;
    height: 5px;
    top: 43%;
    background: linear-gradient(90deg, transparent, rgba(0,140,255,0.88), rgba(82,246,255,0.78), transparent);
    filter: blur(1px) drop-shadow(0 0 18px rgba(82,246,255,0.8));
    opacity: 0.7;
    pointer-events: none;
}
.beam-left { left: -12vw; transform: rotate(-32deg); animation: beamMove 4.5s ease-in-out infinite; }
.beam-right { right: -12vw; transform: rotate(32deg); animation: beamMove 5.8s ease-in-out infinite reverse; }
@keyframes beamMove { 50% { opacity: 1; filter: blur(2px) drop-shadow(0 0 30px rgba(82,246,255,0.95)); } }
.mobile-frame {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 5vw, 34px);
    border-radius: 36px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012)),
        radial-gradient(circle at 50% 0%, rgba(82,246,255,0.13), transparent 34%),
        rgba(2, 8, 22, 0.92);
    border: 1px solid rgba(82,246,255,0.42);
    box-shadow: 0 0 48px rgba(0,143,255,0.28), 0 28px 90px rgba(0,0,0,0.52), inset 0 0 80px rgba(82,246,255,0.05);
    animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat { 50% { transform: translateY(-6px); } }
.mobile-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(82,246,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(82,246,255,0.045) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.55;
    pointer-events: none;
}
.mobile-frame::after {
    content: "";
    position: absolute;
    inset: -30%;
    background: conic-gradient(from 90deg, transparent, rgba(82,246,255,0.14), transparent 18%);
    animation: rotateGlow 8s linear infinite;
    pointer-events: none;
}
@keyframes rotateGlow { to { transform: rotate(360deg); } }
.mobile-frame > * { position: relative; z-index: 2; }
.top-ribbon {
    margin: 0 auto 22px;
    width: fit-content;
    padding: 9px 18px;
    border: 1px solid rgba(82,246,255,0.34);
    border-radius: 999px;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-weight: 900;
    font-size: 0.72rem;
    background: rgba(82,246,255,0.055);
}
.invite-hero { text-align: center; margin: 20px 0 24px; }
.invite-hero .kicker { color: #dff8ff; text-transform: uppercase; letter-spacing: 0.26em; font-weight: 900; }
.invite-hero h1 { margin: 12px 0 0; text-transform: uppercase; letter-spacing: -0.06em; }
.invite-hero h1 span, .invite-hero h1 strong {
    display: block;
    background: linear-gradient(180deg, #ffffff, var(--cyan) 58%, #1588da);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 28px rgba(82,246,255,0.3);
}
.invite-hero h1 small {
    display: block;
    margin: 4px 0 2px;
    font-size: clamp(20px, 5vw, 34px);
    letter-spacing: 0.12em;
    color: #f5fbff;
}
.guest-panel, .event-details-panel, .rsvp-panel, .pass-panel {
    border: 1px solid rgba(82,246,255,0.28);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(2, 11, 28, 0.76), rgba(0, 90, 180, 0.13));
    box-shadow: inset 0 0 28px rgba(82,246,255,0.04);
}
.guest-panel { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; padding: 18px; }
.guest-panel p { margin-bottom: 4px; color: #d8eaff; letter-spacing: 0.04em; text-transform: uppercase; }
.guest-panel h2 { margin: 0; color: var(--cyan); font-size: 24px; text-transform: uppercase; letter-spacing: 0.14em; }
.icon-badge {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    border: 1px solid rgba(82,246,255,0.34);
    background: rgba(82,246,255,0.07);
    box-shadow: 0 0 20px rgba(82,246,255,0.14);
}
.event-details-panel { padding: 12px 18px; margin: 14px 0; }
.detail-row { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 14px; padding: 13px 0; }
.detail-row + .detail-row { border-top: 1px solid rgba(82,246,255,0.14); }
.detail-row span { color: var(--cyan); text-transform: uppercase; letter-spacing: 0.17em; font-weight: 900; font-size: 0.74rem; }
.detail-row strong { display: block; margin-top: 3px; font-size: 22px; letter-spacing: 0.12em; text-transform: uppercase; }
.qr-symbol {
    width: 68px;
    height: 68px;
    margin: 22px auto 14px;
    border-radius: 18px;
    border: 1px solid var(--line-strong);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    padding: 12px;
    box-shadow: 0 0 26px rgba(82,246,255,0.35);
}
.qr-symbol span { border: 4px solid var(--cyan); border-radius: 4px; opacity: 0.9; }
.invite-line { text-align: center; text-transform: uppercase; letter-spacing: 0.16em; color: #e5f9ff; }
.invite-line b { color: var(--cyan); display: block; margin-top: 4px; }
.rsvp-panel { padding: 18px; margin-top: 16px; }
.rsvp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.rsvp-head span { color: var(--cyan); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 900; font-size: 0.80rem; }
.rsvp-head em { color: var(--muted); font-style: normal; font-size: 0.78rem; }
.quick-buttons { display: grid; gap: 12px; }
.rsvp-btn {
    min-height: 58px;
    border-radius: 18px;
    color: white;
    font-size: 1rem;
    font-weight: 1000;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rsvp-btn:hover { transform: translateY(-2px); }
.rsvp-btn.confirm { border: 1px solid rgba(82,246,255,0.78); background: linear-gradient(135deg, rgba(0,132,255,0.95), rgba(82,246,255,0.45)); box-shadow: 0 0 26px rgba(82,246,255,0.22); }
.rsvp-btn.decline { border: 1px solid rgba(116,199,255,0.24); background: rgba(255,255,255,0.045); }
.details-drawer { margin-top: 14px; }
.details-drawer summary { cursor: pointer; color: #dff8ff; font-weight: 900; margin-bottom: 12px; }
.form-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.pass-panel { margin-top: 15px; padding: 18px; text-align: center; }
.pass-panel.locked { color: var(--muted); }
.pass-panel.unlocked { border-color: rgba(77,255,181,0.34); }
.pass-panel h3 { margin: 0 0 10px; }
.qr-img { width: min(220px, 100%); border-radius: 18px; background: white; padding: 10px; }
.qr-img.small { width: 190px; margin: 16px auto 5px; display: block; }
.ticket-code { margin: 10px auto 4px; color: var(--cyan); letter-spacing: 0.18em; font-weight: 1000; }
.invite-footer { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); margin-top: 16px; font-size: 0.86rem; }

/* RSVP success and check-in */
.premium-success { text-align: center; }
.premium-success h1 { margin-bottom: 12px; }
.success-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin: 22px auto;
    border-radius: 50%;
    border: 1px solid rgba(77,255,181,0.5);
    color: var(--green);
    font-size: 42px;
    font-weight: 1000;
    box-shadow: 0 0 34px rgba(77,255,181,0.24);
}
.success-icon.no { color: var(--red); border-color: rgba(255,100,115,0.5); box-shadow: 0 0 34px rgba(255,100,115,0.18); }
.success-icon.maybe { color: var(--gold); border-color: rgba(255,211,105,0.5); box-shadow: 0 0 34px rgba(255,211,105,0.18); }
.event-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
.event-meta div { border: 1px solid rgba(116,199,255,0.18); border-radius: 18px; padding: 16px; background: rgba(1,5,18,0.46); }
.event-meta span { color: var(--muted); display: block; font-size: 0.84rem; }
.event-meta strong { display: block; margin-top: 6px; }
.event-meta.compact { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.qr-pass-box { margin: 22px auto; }
.checkin-card { width: min(850px, 94vw); }

/* Live welcome screen */
.screen-body {
    overflow: hidden;
    background: #01040d;
}
.screen-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 15% 45%, rgba(0, 143, 255, 0.32), transparent 26%),
        radial-gradient(circle at 86% 62%, rgba(82, 246, 255, 0.25), transparent 24%),
        radial-gradient(circle at 50% 100%, rgba(0, 143, 255, 0.45), transparent 28%),
        linear-gradient(180deg, #020814 0%, #061630 60%, #01040d 100%);
}
.screen-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(82,246,255,0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(82,246,255,0.055) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(circle at center, black, transparent 82%);
}
.screen-bg::after {
    content: "";
    position: absolute;
    left: -20%;
    right: -20%;
    bottom: 0;
    height: 28vh;
    background: linear-gradient(180deg, transparent, rgba(0, 140, 255, 0.18)), repeating-linear-gradient(90deg, transparent 0 70px, rgba(82,246,255,0.08) 72px 74px);
    transform: perspective(400px) rotateX(62deg);
    transform-origin: bottom;
}
.particle-field i {
    position: fixed;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 20px var(--cyan);
    opacity: 0.65;
    animation: particleRise 8s linear infinite;
}
.particle-field i:nth-child(1){ left: 7%; bottom: -10%; animation-delay: 0s; }
.particle-field i:nth-child(2){ left: 18%; bottom: -10%; animation-delay: 2s; }
.particle-field i:nth-child(3){ left: 33%; bottom: -10%; animation-delay: 1s; }
.particle-field i:nth-child(4){ left: 49%; bottom: -10%; animation-delay: 4s; }
.particle-field i:nth-child(5){ left: 62%; bottom: -10%; animation-delay: 2.6s; }
.particle-field i:nth-child(6){ left: 74%; bottom: -10%; animation-delay: 5s; }
.particle-field i:nth-child(7){ left: 88%; bottom: -10%; animation-delay: 1.7s; }
.particle-field i:nth-child(8){ left: 95%; bottom: -10%; animation-delay: 6s; }
@keyframes particleRise { to { transform: translateY(-120vh) scale(0.2); opacity: 0; } }
.stage-wrap {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 34px;
}
.stage-card {
    position: relative;
    width: min(1320px, 94vw);
    min-height: min(760px, 86vh);
    padding: clamp(34px, 5vw, 72px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 42px;
    border: 1px solid rgba(82,246,255,0.52);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.014)),
        radial-gradient(circle at 50% 0%, rgba(82,246,255,0.12), transparent 34%),
        rgba(2, 9, 24, 0.72);
    box-shadow: 0 0 70px rgba(0,143,255,0.28), inset 0 0 100px rgba(82,246,255,0.055);
    overflow: hidden;
}
.stage-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(82,246,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(82,246,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black, transparent 78%);
}
.stage-card::after {
    content: "";
    position: absolute;
    width: 180%;
    height: 34%;
    background: linear-gradient(90deg, transparent, rgba(82,246,255,0.10), transparent);
    transform: translateX(-80%) rotate(-12deg);
    animation: stageSweep 4.8s ease-in-out infinite;
}
@keyframes stageSweep { 60%, 100% { transform: translateX(80%) rotate(-12deg); } }
.stage-card > * { position: relative; z-index: 2; }
.corner { position: absolute; width: 120px; height: 120px; border-color: var(--line-strong); z-index: 3; }
.c1 { top: 22px; left: 22px; border-top: 3px solid; border-left: 3px solid; border-radius: 24px 0 0 0; }
.c2 { top: 22px; right: 22px; border-top: 3px solid; border-right: 3px solid; border-radius: 0 24px 0 0; }
.c3 { bottom: 22px; left: 22px; border-bottom: 3px solid; border-left: 3px solid; border-radius: 0 0 0 24px; }
.c4 { bottom: 22px; right: 22px; border-bottom: 3px solid; border-right: 3px solid; border-radius: 0 0 24px 0; }
.laser { position: absolute; height: 6px; width: 58vw; background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent); filter: blur(1px) drop-shadow(0 0 20px var(--cyan)); opacity: 0.78; z-index: 1; }
.laser-a { left: -22vw; top: 58%; transform: rotate(-24deg); animation: laserPulse 3s ease-in-out infinite; }
.laser-b { right: -22vw; top: 42%; transform: rotate(24deg); animation: laserPulse 4s ease-in-out infinite reverse; }
@keyframes laserPulse { 50% { opacity: 1; filter: blur(2px) drop-shadow(0 0 38px var(--cyan)); } }
.stage-logo { font-weight: 1000; font-size: clamp(46px, 5vw, 74px); letter-spacing: -0.08em; margin-bottom: 18px; }
.stage-kicker { color: var(--cyan); text-transform: uppercase; letter-spacing: 0.32em; font-size: clamp(11px, 1.5vw, 18px); font-weight: 900; margin-bottom: 18px; }
.stage-title {
    margin: 0;
    text-transform: uppercase;
    font-size: clamp(54px, 10vw, 160px);
    line-height: 0.88;
    letter-spacing: 0.045em;
    color: #eafaff;
    text-shadow: 0 0 34px rgba(82,246,255,0.55);
    transition: all 0.4s ease;
}
.stage-title span { color: var(--cyan); display: inline-block; text-shadow: 0 0 42px rgba(82,246,255,0.75); }
.scan-pass {
    margin-top: 34px;
    min-width: min(720px, 90%);
    min-height: 82px;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    border-radius: 20px;
    border: 1px solid rgba(82,246,255,0.44);
    background: linear-gradient(135deg, rgba(0,143,255,0.25), rgba(255,255,255,0.045));
    box-shadow: inset 0 0 26px rgba(82,246,255,0.06), 0 0 24px rgba(82,246,255,0.18);
}
.scan-icon {
    width: 42px;
    height: 42px;
    border: 4px solid var(--cyan);
    border-radius: 8px;
    box-shadow: 0 0 18px rgba(82,246,255,0.55);
    position: relative;
}
.scan-icon::after {
    content: "";
    position: absolute;
    left: -8px;
    right: -8px;
    top: 50%;
    height: 3px;
    background: var(--cyan);
    animation: scanY 1.6s ease-in-out infinite;
}
@keyframes scanY { 50% { transform: translateY(15px); } }
.scan-pass strong {
    font-size: clamp(26px, 4vw, 54px);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.stage-meta { margin: 22px 0 8px; font-size: clamp(20px, 2.5vw, 36px); color: #e0f7ff; }
.stage-mode { color: var(--gold); font-weight: 1000; letter-spacing: 0.18em; text-transform: uppercase; }
.stage-card.show-guest .stage-title { font-size: clamp(58px, 8vw, 120px); letter-spacing: 0.1em; }
.stage-card.show-guest .scan-pass {
    border-color: rgba(77,255,181,0.5);
    box-shadow: 0 0 44px rgba(77,255,181,0.18), inset 0 0 30px rgba(77,255,181,0.05);
}
.stage-card.show-guest .scan-pass strong { letter-spacing: 0.04em; color: white; text-shadow: 0 0 32px rgba(82,246,255,0.65); }
.pulse-in { animation: guestReveal 1.3s cubic-bezier(.2,.85,.25,1) both; }
@keyframes guestReveal {
    0% { transform: scale(0.92); opacity: 0.35; filter: blur(12px); }
    55% { transform: scale(1.025); opacity: 1; filter: blur(0); }
    100% { transform: scale(1); }
}
.stage-card.flash::before { animation: flashFrame 1s ease both; }
@keyframes flashFrame { 0%,100% { opacity: 1; } 45% { opacity: 0.15; } }

@media (max-width: 1020px) {
    .admin-topbar, .section-head { align-items: flex-start; flex-direction: column; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .filter-row, .grid-form { grid-template-columns: 1fr; }
    .event-meta { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .admin-shell, .admin-topbar { padding-left: 14px; padding-right: 14px; }
    .stats-grid, .form-mini-grid { grid-template-columns: 1fr; }
    .mobile-frame { border-radius: 26px; }
    .top-ribbon { letter-spacing: 0.12em; font-size: 0.62rem; }
    .detail-row strong { font-size: 18px; letter-spacing: 0.08em; }
    .invite-footer { flex-direction: column; text-align: center; }
    .stage-wrap { padding: 14px; }
    .stage-card { min-height: 92vh; border-radius: 24px; }
    .scan-pass { flex-direction: column; gap: 12px; min-width: 100%; }
    .stage-title { font-size: clamp(42px, 15vw, 80px); }
}

/* --- V3 enhancements --- */
.stats-grid.six { grid-template-columns: repeat(6, 1fr); }
.co-brand-row, .dual-brand-header, .stage-brand-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.host-logo-wrap, .mini-sellx, .stage-sellx, .stage-footer-brand img, .powered-brand img {
    display: inline-flex; align-items: center; justify-content: center;
}
.host-logo-wrap {
    min-width: 152px; padding: 8px 14px; border-radius: 18px;
    background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(82,246,255,0.22);
}
.host-logo-wrap img, .stage-sellx img, .powered-brand img, .mini-sellx, .stage-footer-brand img {
    max-height: 40px; width: auto; object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(82,246,255,0.25));
}
.poster-like { position: relative; }
.poster-like::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at 50% 16%, rgba(82,246,255,0.12), transparent 28%);
}
.glowing-panel {
    border: 1px solid rgba(82,246,255,0.25);
    box-shadow: inset 0 0 22px rgba(82,246,255,0.06), 0 0 14px rgba(82,246,255,0.08);
}
.sound-toggle {
    position: fixed; top: 16px; right: 16px; z-index: 20;
    border: 1px solid rgba(82,246,255,0.42);
    background: rgba(1, 9, 25, 0.74); color: #fff;
    padding: 10px 14px; border-radius: 999px; cursor: pointer; font-weight: 800;
    box-shadow: 0 0 24px rgba(82,246,255,0.18);
}
.sound-toggle.playing { background: linear-gradient(135deg, rgba(0,140,255,0.95), rgba(82,246,255,0.55)); }
.screen-sound { top: 26px; right: 26px; }
.meal-section {
    margin-top: 18px; padding: 18px; border-radius: 20px;
    border: 1px solid rgba(82,246,255,0.16); background: rgba(255,255,255,0.02);
    transition: opacity .2s ease, filter .2s ease;
}
.meal-section.disabled { opacity: 0.46; filter: grayscale(0.4); }
.meal-head h3 { margin-bottom: 6px; font-size: 1.1rem; }
.meal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.meal-card { display: block; cursor: pointer; }
.meal-card input { display: none; }
.meal-card-ui {
    display: grid; gap: 6px; padding: 16px; min-height: 128px; border-radius: 18px;
    border: 1px solid rgba(82,246,255,0.18); background: rgba(4, 15, 33, 0.54);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.meal-card:hover .meal-card-ui { transform: translateY(-2px); box-shadow: 0 0 24px rgba(82,246,255,0.12); }
.meal-card input:checked + .meal-card-ui {
    border-color: rgba(82,246,255,0.74);
    box-shadow: 0 0 26px rgba(0,140,255,0.22), inset 0 0 20px rgba(82,246,255,0.08);
    background: linear-gradient(135deg, rgba(0,140,255,0.22), rgba(82,246,255,0.08));
}
.meal-card-ui strong { font-size: 1rem; }
.meal-card-ui small { color: var(--muted); line-height: 1.35; }
.meal-tag {
    display: inline-flex; width: fit-content; padding: 4px 10px; border-radius: 999px;
    background: rgba(82,246,255,0.1); color: var(--cyan); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em;
    text-transform: uppercase;
}
.powered-row, .powered-brand {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.powered-brand span, .stage-footer-brand span { color: var(--muted); font-size: 0.92rem; }
.map-link { font-weight: 800; }
.cta-stack { display: grid; gap: 10px; margin-top: 18px; }
.rsvp-submit {
    width: 100%; min-height: 58px; border: 0; cursor: pointer; border-radius: 18px;
    color: white; font-size: 1rem; font-weight: 900; letter-spacing: 0.05em;
    background: linear-gradient(135deg, rgba(0,140,255,0.95), rgba(82,246,255,0.55));
    box-shadow: 0 0 30px rgba(0, 143, 255, 0.26), inset 0 0 18px rgba(255,255,255,0.1);
}
.rsvp-btn.active { border-color: rgba(82,246,255,0.8); box-shadow: 0 0 26px rgba(82,246,255,0.16); }
.meal-confirm-box {
    display: grid; gap: 4px; margin: 20px auto; padding: 18px; border-radius: 18px; width: min(460px, 100%);
    border: 1px solid rgba(82,246,255,0.28); background: rgba(255,255,255,0.03);
}
.dual-brand-header { margin-bottom: 12px; }
.mini-sellx { max-height: 42px; }
.meal-summary-card { padding: 24px; margin-bottom: 18px; }
.meal-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.meal-summary-item {
    padding: 18px; border-radius: 20px; border: 1px solid rgba(82,246,255,0.2);
    background: linear-gradient(145deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
    display: grid; gap: 7px;
}
.meal-summary-item b { font-size: 2rem; color: var(--cyan); }
.stage-sellx {
    min-width: 180px; padding: 10px 16px; border-radius: 18px;
    border: 1px solid rgba(82,246,255,0.2); background: rgba(255,255,255,0.03);
}
.stage-meal {
    margin-top: 14px; color: #d6f7ff; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(82,246,255,0.18); background: rgba(255,255,255,0.03);
}
.stage-footer-brand {
    position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px;
    padding: 10px 18px; border-radius: 18px; background: rgba(1,9,25,0.45); border: 1px solid rgba(82,246,255,0.16);
}

@media (max-width: 1020px) {
    .stats-grid.six, .meal-summary-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .co-brand-row, .powered-row, .dual-brand-header, .stage-brand-row { flex-direction: column; align-items: flex-start; }
    .meal-grid, .meal-summary-grid, .stats-grid.six { grid-template-columns: 1fr; }
    .sound-toggle { top: 10px; right: 10px; }
    .stage-footer-brand { position: static; transform: none; margin-top: 18px; }
}

/* --- V4 poster-based invitation and welcome --- */
.invite-poster-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}
.invite-poster-card {
    width: min(980px, 100%);
    display: grid;
    gap: 18px;
}
.poster-image-wrap {
    position: relative;
    width: min(620px, 100%);
    margin: 0 auto;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 24px 75px rgba(0,0,0,0.45), 0 0 40px rgba(82,246,255,0.10);
}
.poster-base, .welcome-poster-base { display: block; width: 100%; height: auto; }
.poster-overlay {
    position: absolute; inset: 0; pointer-events: none;
}
.poster-overlay > * { pointer-events: auto; }
.sellx-badge.large {
    position: absolute; top: 88px; left: 50%; transform: translateX(-50%);
    padding: 10px 18px; min-width: 240px; border-radius: 18px;
    background: rgba(3,10,25,0.55); border: 1px solid rgba(82,246,255,0.28);
}
.sellx-badge.large img { display:block; width: 100%; max-height: 58px; object-fit: contain; }
.guest-name-box {
    position: absolute; left: 18%; right: 18%; top: 34.5%;
    display: grid; gap: 4px; text-align: center;
}
.guest-name-label { color: #eef8ff; font-size: 1rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.guest-name-value { color: var(--cyan); font-size: clamp(26px, 4vw, 40px); font-weight: 1000; text-shadow: 0 0 18px rgba(82,246,255,0.45); }
.poster-rsvp-form { position: absolute; left: 12%; right: 12%; bottom: 11%; }
.poster-action-buttons { display: grid; gap: 18px; }
.poster-action-btn, .poster-submit-btn {
    width: 100%; min-height: 60px; border-radius: 18px; border: 1px solid rgba(82,246,255,0.35);
    background: rgba(3,10,25,0.42); color: white; font-weight: 900; font-size: 1.05rem; letter-spacing: 0.04em; cursor: pointer;
}
.poster-action-btn.active, .poster-submit-btn { box-shadow: 0 0 25px rgba(82,246,255,0.18), inset 0 0 20px rgba(82,246,255,0.08); }
.poster-action-btn.confirm.active, .poster-submit-btn { background: linear-gradient(135deg, rgba(0,140,255,0.85), rgba(82,246,255,0.38)); }
.poster-action-btn.decline.active { background: linear-gradient(135deg, rgba(27,39,67,0.95), rgba(0,80,140,0.28)); }
.poster-submit-btn { margin-top: 12px; }
.invite-helper-panel {
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch;
    width: min(980px, 100%); margin: 0 auto; padding: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
    border: 1px solid rgba(82,246,255,0.2); border-radius: 24px;
}
.helper-note { padding: 16px; border-radius: 18px; background: rgba(255,255,255,0.03); border: 1px solid rgba(82,246,255,0.12); }
.meal-select-shell { width: min(980px, 96vw); padding: 28px; }
.meal-header-bar { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom: 14px; }
.meal-saved-banner { margin: 10px 0 20px; padding: 14px 18px; border-radius: 16px; background: rgba(77,255,181,0.10); border:1px solid rgba(77,255,181,0.28); color: #dfffee; }
.equal-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.equal-card { height: 100%; }
.equal-ui { min-height: 160px; height: 100%; align-content: start; }
.form-actions.centered, .centered { justify-content: center; text-align: center; }
.top-gap { margin-top: 18px; }
.mini-sellx.bigger { max-height: 52px; }
.welcome-poster-body { margin: 0; overflow: hidden; }
.welcome-poster-wrap {
    position: relative; min-height: 100vh; display:grid; place-items:center; padding: 10px;
}
.welcome-poster-base {
    width: min(100vw, 1700px); height: auto; max-height: 100vh; object-fit: contain;
}
.welcome-poster-overlay {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 14px; pointer-events: none;
}
.welcome-sellx-logo {
    position: absolute; top: 9%; left: 50%; transform: translateX(-50%); width: min(420px, 38vw);
    padding: 10px 20px; border-radius: 20px; background: rgba(3,10,25,0.45); border:1px solid rgba(82,246,255,0.18);
}
.welcome-sellx-logo img { width:100%; max-height:82px; object-fit:contain; }
.welcome-dynamic-head {
    margin-top: 10%; font-size: clamp(54px, 7vw, 106px); font-weight:1000; letter-spacing:.04em; text-transform:uppercase; color:#fff; text-shadow:0 0 24px rgba(82,246,255,0.45); text-align:center;
}
.welcome-dynamic-name {
    margin-top: 17%; font-size: clamp(26px, 3.5vw, 58px); font-weight:1000; letter-spacing:.08em; text-transform:uppercase; color:#eafcff; text-shadow:0 0 18px rgba(82,246,255,0.4); text-align:center;
}
.welcome-dynamic-meta { font-size: clamp(18px, 2vw, 34px); color:#eafcff; text-align:center; }
.welcome-dynamic-mode, .welcome-dynamic-meal {
    padding: 10px 18px; border-radius: 999px; background: rgba(1,9,25,0.42); border: 1px solid rgba(82,246,255,0.18); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; text-align:center;
}
.welcome-dynamic-mode { color: var(--gold); }
.welcome-dynamic-meal { color: var(--cyan); }
.meal-page .glass-card { overflow: visible; }

@media (max-width: 820px) {
    .invite-helper-panel, .equal-grid { grid-template-columns: 1fr; }
    .sellx-badge.large { min-width: 180px; top: 76px; }
    .poster-rsvp-form { left: 10%; right: 10%; bottom: 10%; }
    .welcome-sellx-logo { top: 8%; width: min(300px, 60vw); }
    .welcome-dynamic-head { margin-top: 16%; font-size: clamp(34px, 7vw, 64px); }
    .welcome-dynamic-name { margin-top: 22%; font-size: clamp(22px, 5vw, 36px); }
}

/* --- V5 refinement fixes --- */
.refined-invite { width: min(560px, 100%); }
.invite-brand-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}
.brand-chip {
    min-height: 82px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    border: 1px solid rgba(82,246,255,0.26);
    background: linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
    box-shadow: inset 0 0 28px rgba(82,246,255,0.04);
}
.asus-chip .brand-mark { font-size: clamp(44px, 7vw, 62px); }
.sellx-chip img {
    width: 100%;
    max-width: 240px;
    max-height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(82,246,255,0.2));
}
.compact-hero { margin-top: 10px; }
.compact-buttons .rsvp-btn.active { box-shadow: 0 0 26px rgba(82,246,255,0.18); }
.invite-note-card {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(82,246,255,0.18);
    background: rgba(255,255,255,0.03);
}
.invite-note-card strong { display: block; margin-bottom: 6px; color: var(--cyan); }
.refined-brand-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 18px;
    margin-bottom: 12px;
}
.refined-brand-row .stage-logo {
    text-align: left;
    margin: 0;
    font-size: clamp(56px, 7vw, 88px);
}
.bigger-sellx {
    justify-self: end;
    min-width: 260px;
    max-width: 360px;
    padding: 14px 22px;
}
.bigger-sellx img {
    width: 100%;
    max-height: 66px;
    object-fit: contain;
}
.stage-kicker { margin-top: 8px; }
.stage-meal {
    margin-top: 12px;
    max-width: min(820px, 92%);
    text-align: center;
}
@media (max-width: 760px) {
    .invite-brand-row, .refined-brand-row { grid-template-columns: 1fr; }
    .refined-brand-row .stage-logo { text-align: center; }
    .bigger-sellx { justify-self: center; min-width: 180px; }
    .brand-chip { min-height: 74px; }
}

/* --- V6 restore + control fixes --- */
.visual-brand-row { margin-bottom: 20px; }
.image-chip {
    overflow: hidden;
    min-height: 92px;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
}
.asus-logo-img {
    display: block;
    width: 100%;
    max-width: 240px;
    max-height: 68px;
    object-fit: contain;
}
.sellx-logo-img {
    display: block;
    width: 100%;
    max-width: 250px;
    max-height: 62px;
    object-fit: contain;
}
.image-brand-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 12px;
}
.stage-brand-box {
    min-height: 98px;
    padding: 14px 20px;
    border-radius: 24px;
    border: 1px solid rgba(82,246,255,0.26);
    background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.014));
    box-shadow: inset 0 0 26px rgba(82,246,255,0.04);
    display: flex;
    align-items: center;
}
.left-brand-box { justify-content: flex-start; }
.right-brand-box { justify-content: flex-end; }
.stage-asus-image {
    display: block;
    width: 100%;
    max-width: 320px;
    max-height: 84px;
    object-fit: contain;
}
.stage-sellx-image {
    display: block;
    width: 100%;
    max-width: 300px;
    max-height: 78px;
    object-fit: contain;
}
.stage-title {
    min-height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.scan-pass {
    min-height: 98px;
    max-width: min(860px, 92%);
    width: 100%;
}
.scan-pass strong {
    display: block;
    max-width: 100%;
    line-height: 1.05;
    word-break: break-word;
}
.stage-meta {
    min-height: 1.5em;
    text-align: center;
}
.stage-meal {
    min-height: 52px;
}
.stats-grid.seven { grid-template-columns: repeat(7, 1fr); }
.multi-filter { grid-template-columns: 2fr repeat(3, 1fr) auto; }
.mini-meal-form {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
}
.mini-meal-form select {
    min-width: 165px;
    padding: 8px 10px;
    background: rgba(1,5,18,0.7);
    color: #fff;
    border: 1px solid rgba(82,246,255,0.18);
    border-radius: 10px;
}
.link-btn.save-btn {
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(82,246,255,0.25);
    background: rgba(82,246,255,0.08);
}
@media (max-width: 1100px) {
    .stats-grid.seven { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
    .image-brand-row, .invite-brand-row, .multi-filter { grid-template-columns: 1fr; }
    .stage-brand-box, .image-chip { justify-content: center; }
    .left-brand-box, .right-brand-box { justify-content: center; }
    .stats-grid.seven { grid-template-columns: repeat(2, 1fr); }
    .mini-meal-form { flex-direction: column; align-items: stretch; }
}

/* --- V7: free logo placement + separate meal report --- */
.visual-brand-row,
.image-brand-row {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: clamp(24px, 6vw, 90px);
    width: 100%;
}
.brand-chip,
.image-chip,
.stage-brand-box,
.left-brand-box,
.right-brand-box {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: auto !important;
    border-radius: 0 !important;
    overflow: visible !important;
}
.asus-logo-img {
    width: clamp(150px, 31vw, 235px);
    max-height: 86px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(82,246,255,0.35));
}
.sellx-logo-img {
    width: clamp(165px, 34vw, 260px);
    max-height: 86px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(82,246,255,0.25));
}
.stage-asus-image {
    width: clamp(220px, 20vw, 360px);
    max-height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 0 26px rgba(82,246,255,0.35));
}
.stage-sellx-image {
    width: clamp(240px, 22vw, 390px);
    max-height: 115px;
    object-fit: contain;
    filter: drop-shadow(0 0 26px rgba(82,246,255,0.25));
}
.stage-brand-row.refined-brand-row.image-brand-row { margin-bottom: 24px; }
.stats-grid.four { grid-template-columns: repeat(4, 1fr); }
.meal-summary-card .table-wrap table td,
.meal-summary-card .table-wrap table th { white-space: nowrap; }
@media (max-width: 920px) {
    .stats-grid.four { grid-template-columns: repeat(2, 1fr); }
    .visual-brand-row, .image-brand-row { gap: 22px; }
}
@media (max-width: 620px) {
    .visual-brand-row, .image-brand-row { flex-direction: column; justify-content: center; }
    .asus-logo-img, .sellx-logo-img { width: 210px; }
    .stage-asus-image, .stage-sellx-image { width: 260px; }
    .stats-grid.four { grid-template-columns: 1fr; }
}


/* --- V8 UI refinements --- */
/* Keep invitation logos visually equal and free-floating */
.visual-brand-row .asus-logo-img,
.meal-brand-row .asus-logo-img {
    width: clamp(170px, 30vw, 235px);
    max-height: 84px;
}
.visual-brand-row .sellx-logo-img,
.meal-brand-row .sellx-logo-img,
.equal-sellx-logo {
    width: clamp(170px, 30vw, 235px);
    max-height: 84px;
}
.meal-brand-row {
    margin-bottom: 26px;
}
.meal-page .section-head.compact {
    margin-top: 4px;
}
/* Remove meal pack strip from live welcome screen */
.stage-meal { display: none !important; }
/* Make stage logos free-floating and cleaner */
.stage-brand-row.image-brand-row {
    margin-bottom: 18px;
}
.stage-brand-row.image-brand-row .stage-asus-image {
    width: clamp(220px, 20vw, 330px);
    max-height: 88px;
}
.stage-brand-row.image-brand-row .stage-sellx-image {
    width: clamp(220px, 20vw, 330px);
    max-height: 88px;
}
@media (max-width: 620px) {
    .meal-brand-row .asus-logo-img,
    .meal-brand-row .sellx-logo-img,
    .visual-brand-row .asus-logo-img,
    .visual-brand-row .sellx-logo-img {
        width: 210px;
    }
}


/* --- V9 layout and admin cleanup refinements --- */
/* Invitation logo row balance */
.visual-brand-row {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
}
.visual-brand-row .brand-chip {
    flex: 1 1 0;
    display: flex;
    align-items: center;
}
.visual-brand-row .asus-chip { justify-content: flex-start; }
.visual-brand-row .sellx-chip { justify-content: flex-end; }
.visual-brand-row .asus-logo-img,
.visual-brand-row .sellx-logo-img {
    width: min(200px, 100%);
    max-width: 200px;
    max-height: 78px;
    object-fit: contain;
}

/* Fullscreen welcome screen fit */
.screen-body {
    overflow: hidden;
}
.stage-wrap {
    min-height: 100vh;
    padding: 14px 18px 18px;
}
.stage-card {
    width: min(1320px, 92vw);
    height: min(820px, calc(100vh - 34px));
    min-height: unset;
    max-height: calc(100vh - 34px);
    aspect-ratio: 16 / 9;
    padding: clamp(26px, 3.6vw, 54px);
}
.stage-brand-row.image-brand-row {
    width: 100%;
    gap: 18px;
}
.stage-brand-row.image-brand-row .stage-brand-box {
    flex: 1 1 0;
    display: flex;
    align-items: center;
}
.stage-brand-row.image-brand-row .left-brand-box { justify-content: flex-start; }
.stage-brand-row.image-brand-row .right-brand-box { justify-content: flex-end; }
.stage-brand-row.image-brand-row .stage-asus-image,
.stage-brand-row.image-brand-row .stage-sellx-image {
    width: min(260px, 100%);
    max-width: 260px;
    max-height: 84px;
    object-fit: contain;
}
.stage-kicker { margin-bottom: 14px; }
.stage-title { font-size: clamp(48px, 8.5vw, 148px); }
.scan-pass { margin-top: 26px; padding: 16px 24px; min-height: 76px; }
.scan-pass strong { font-size: clamp(24px, 3.4vw, 48px); }
.stage-meta { margin: 18px 0 8px; font-size: clamp(18px, 2vw, 30px); }
.stage-mode { font-size: clamp(12px, 1vw, 16px); }

@media (max-height: 760px) {
    .stage-card {
        height: calc(100vh - 22px);
        max-height: calc(100vh - 22px);
        padding: 24px 34px;
    }
    .stage-title { font-size: clamp(42px, 7.8vw, 118px); }
    .scan-pass { margin-top: 18px; min-height: 68px; }
    .stage-meta { margin: 14px 0 6px; }
}
@media (max-width: 760px) {
    .visual-brand-row { flex-direction: row !important; gap: 12px; }
    .visual-brand-row .asus-logo-img,
    .visual-brand-row .sellx-logo-img { max-width: 160px; }
    .stage-wrap { padding: 10px; }
    .stage-card {
        width: 96vw;
        height: auto;
        max-height: none;
        min-height: 92vh;
        aspect-ratio: auto;
    }
}


/* --- V10 welcome balance + RSVP auto-submit + meal pack setup --- */
.stage-title.idle-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.04em;
    letter-spacing: 0.02em;
    line-height: 0.92;
}
.stage-title.idle-layout .line {
    display: block;
    text-transform: uppercase;
}
.stage-title.idle-layout .line-1,
.stage-title.idle-layout .line-3 {
    font-size: clamp(52px, 8vw, 136px);
    color: #eefcff;
}
.stage-title.idle-layout .line-2 {
    font-size: clamp(64px, 8.8vw, 150px);
    color: var(--cyan);
    text-shadow: 0 0 42px rgba(82,246,255,0.72);
}
.stage-title.single-line {
    font-size: clamp(62px, 8vw, 134px);
    letter-spacing: 0.10em;
    line-height: 1;
}
.stage-card.show-guest .stage-title.single-line {
    font-size: clamp(68px, 8.4vw, 142px);
}
.scan-pass strong {
    letter-spacing: 0.08em;
}
.stage-kicker {
    position: relative;
    z-index: 4;
}
.auto-submit-buttons .rsvp-btn {
    min-width: 0;
}
.inline-note-only {
    align-items: center;
    text-align: center;
}
.rsvp-panel .small-note { opacity: 0.92; }
.bulk-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.inline-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.toggle-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #d9f2ff;
}
.toggle-inline input {
    width: auto;
    margin: 0;
}
.meal-summary-item.is-inactive {
    opacity: 0.68;
    border-style: dashed;
}
.meal-pack-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.meal-pack-admin-card {
    border: 1px solid rgba(82,246,255,0.18);
    border-radius: 22px;
    padding: 18px;
    background: rgba(1,10,24,0.42);
    display: grid;
    gap: 14px;
}
.meal-pack-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
@media (max-width: 960px) {
    .meal-pack-admin-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 700px) {
    .bulk-action-bar { align-items: stretch; }
    .inline-actions { width: 100%; }
    .inline-actions .btn, .bulk-action-bar .btn { width: 100%; }
}


/* --- V11 AJAX RSVP + QR Scanner --- */
.ajax-rsvp-result {
    margin-top: 16px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(82,246,255,0.26);
    background: rgba(0, 140, 255, 0.08);
    display: grid;
    gap: 8px;
    text-align: center;
}
.ajax-rsvp-result strong {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.ajax-qr-box {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-top: 10px;
}
.ajax-qr-box img {
    width: 150px;
    border-radius: 16px;
    background: white;
    padding: 8px;
}
.scanner-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 18px clamp(18px, 4vw, 54px) 54px;
}
.scanner-card {
    padding: clamp(20px, 3vw, 34px);
}
.scanner-mode-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}
.scanner-mode {
    min-height: 54px;
    border-radius: 18px;
    border: 1px solid rgba(82,246,255,0.28);
    background: rgba(1, 9, 25, 0.65);
    color: var(--text);
    font-weight: 1000;
    cursor: pointer;
}
.scanner-mode.active {
    background: linear-gradient(135deg, rgba(0,140,255,0.95), rgba(82,246,255,0.45));
    border-color: rgba(82,246,255,0.75);
    box-shadow: 0 0 28px rgba(82,246,255,0.18);
}
.scanner-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 20px;
}
.scanner-camera-box {
    position: relative;
    min-height: 420px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(82,246,255,0.25);
    background: rgba(0,0,0,0.35);
}
#scannerVideo {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}
.scan-frame {
    position: absolute;
    inset: 18%;
    border: 3px solid rgba(82,246,255,0.78);
    border-radius: 26px;
    box-shadow: 0 0 32px rgba(82,246,255,0.25), inset 0 0 32px rgba(82,246,255,0.12);
    pointer-events: none;
}
.scanner-help {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(1, 9, 25, 0.78);
    color: #d8f7ff;
    text-align: center;
}
.scanner-side-panel {
    display: grid;
    align-content: start;
    gap: 14px;
}
.manual-scan-box {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(82,246,255,0.18);
    background: rgba(255,255,255,0.03);
    display: grid;
    gap: 12px;
}
.scanner-status {
    min-height: 58px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(82,246,255,0.18);
    color: #d9f8ff;
    background: rgba(82,246,255,0.06);
}
.scanner-status.error {
    border-color: rgba(255,100,115,0.45);
    color: #ffd6da;
    background: rgba(255,100,115,0.08);
}
.scanner-result {
    margin-top: 20px;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(82,246,255,0.22);
    background: rgba(1, 10, 24, 0.50);
}
.scanner-result-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.scanner-result-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.scanner-result-grid div {
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(82,246,255,0.14);
    background: rgba(255,255,255,0.035);
}
.scanner-result-grid span {
    color: var(--muted);
    display: block;
    font-size: 0.82rem;
    margin-bottom: 5px;
}
@media (max-width: 900px) {
    .scanner-layout { grid-template-columns: 1fr; }
    .scanner-mode-row { grid-template-columns: 1fr; }
    .scanner-result-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .scanner-result-grid { grid-template-columns: 1fr; }
    .scanner-camera-box, #scannerVideo { min-height: 320px; }
}

/* --- V11 Staff QR Scanner --- */
.scanner-shell {
    width: min(1300px, 100%);
    margin: 0 auto;
    padding: 18px clamp(18px, 4vw, 54px) 54px;
}
.scanner-card {
    padding: clamp(20px, 4vw, 34px);
}
.scanner-mode-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.mode-btn {
    min-height: 58px;
    border-radius: 18px;
    border: 1px solid rgba(82,246,255,0.24);
    background: rgba(1, 8, 22, 0.56);
    color: #eafcff;
    font-weight: 1000;
    letter-spacing: 0.04em;
    cursor: pointer;
}
.mode-btn.active {
    border-color: rgba(82,246,255,0.86);
    background: linear-gradient(135deg, rgba(0,140,255,0.78), rgba(82,246,255,0.22));
    box-shadow: 0 0 28px rgba(82,246,255,0.16);
}
.scanner-layout {
    display: grid;
    grid-template-columns: minmax(320px, 1.05fr) minmax(320px, 0.95fr);
    gap: 22px;
    align-items: start;
}
.qr-reader-box {
    min-height: 360px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(82,246,255,0.28);
    background: rgba(1, 6, 18, 0.72);
    display: grid;
    place-items: center;
}
.qr-reader-box video {
    border-radius: 20px;
}
.scanner-controls {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.manual-scan-panel {
    border: 1px solid rgba(82,246,255,0.18);
    border-radius: 24px;
    padding: 20px;
    background: rgba(1, 8, 22, 0.42);
}
.scan-result {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(82,246,255,0.18);
    background: rgba(255,255,255,0.03);
    min-height: 180px;
}
.scan-result.success {
    border-color: rgba(77,255,181,0.42);
    box-shadow: 0 0 28px rgba(77,255,181,0.08);
}
.scan-result.error {
    border-color: rgba(255,100,115,0.42);
    box-shadow: 0 0 28px rgba(255,100,115,0.08);
}
.scan-result.working {
    border-color: rgba(255,211,105,0.42);
}
.result-guest-card {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}
.result-guest-card strong {
    font-size: clamp(22px, 3vw, 34px);
    color: var(--cyan);
}
.result-guest-card span {
    color: #d8edff;
}
@media (max-width: 900px) {
    .scanner-layout,
    .scanner-mode-row {
        grid-template-columns: 1fr;
    }
    .qr-reader-box {
        min-height: 300px;
    }
}

/* --- V12 welcome free-name + restored confirmation flow --- */
.stage-card.show-guest {
    justify-content: center;
}
.stage-card.show-guest .scan-pass {
    display: none !important;
}
.guest-free-name {
    display: none;
}
.stage-card.show-guest .guest-free-name {
    display: block;
    width: 124%;
    max-width: none;
    margin: 10px 0 18px;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
    font-size: clamp(74px, 9.8vw, 178px);
    line-height: 0.86;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #f7fdff;
    text-shadow:
        0 0 18px rgba(255,255,255,0.35),
        0 0 46px rgba(82,246,255,0.62),
        0 12px 38px rgba(0,0,0,0.55);
    transform: translateX(-1.5%) scaleX(1.02);
    animation: freeNameReveal 1.1s cubic-bezier(.2,.85,.25,1) both;
}
.stage-card.show-guest .guest-free-name.long-name {
    font-size: clamp(58px, 7.7vw, 138px);
    letter-spacing: 0.02em;
}
.stage-card.show-guest .guest-free-name.extra-long-name {
    font-size: clamp(46px, 6.2vw, 106px);
    letter-spacing: 0.01em;
}
@keyframes freeNameReveal {
    0% { opacity: 0; transform: translateY(26px) scale(0.88); filter: blur(16px); }
    55% { opacity: 1; transform: translateY(-4px) scale(1.045); filter: blur(0); }
    100% { opacity: 1; transform: translateY(0) scale(1.02); }
}
.stage-card.show-guest .stage-title.single-line {
    font-size: clamp(62px, 7.5vw, 130px);
    min-height: auto;
    margin-bottom: 8px;
    letter-spacing: 0.09em;
}
.stage-card.show-guest .stage-meta {
    margin-top: 6px;
    font-size: clamp(24px, 2.6vw, 42px);
}
.stage-card.show-guest .stage-mode {
    margin-top: 8px;
    font-size: clamp(14px, 1.2vw, 18px);
}
@media (max-height: 760px) {
    .stage-card.show-guest .guest-free-name {
        font-size: clamp(56px, 7.2vw, 120px);
        margin: 4px 0 10px;
    }
    .stage-card.show-guest .guest-free-name.long-name {
        font-size: clamp(46px, 5.8vw, 96px);
    }
    .stage-card.show-guest .stage-title.single-line {
        font-size: clamp(50px, 6.2vw, 96px);
        margin-bottom: 0;
    }
    .stage-card.show-guest .stage-meta {
        font-size: clamp(18px, 2vw, 30px);
    }
}
@media (max-width: 760px) {
    .stage-card.show-guest .guest-free-name,
    .stage-card.show-guest .guest-free-name.long-name,
    .stage-card.show-guest .guest-free-name.extra-long-name {
        width: 100%;
        white-space: normal;
        font-size: clamp(46px, 12vw, 78px);
    }
}

/* --- V13 name fit + customizable voice settings --- */
.stage-card.show-guest .guest-free-name {
    width: 100% !important;
    max-width: 100% !important;
    margin: clamp(8px, 1.2vh, 14px) auto clamp(10px, 1.7vh, 20px) !important;
    padding: 0 2.5vw;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
    font-size: calc(clamp(68px, 8.6vw, 148px) * var(--name-scale, 1)) !important;
    line-height: 0.92 !important;
    letter-spacing: 0.025em !important;
    transform: none !important;
    color: #f8fdff;
    text-shadow:
        0 0 12px rgba(255,255,255,0.38),
        0 0 38px rgba(82,246,255,0.56),
        0 0 74px rgba(0,143,255,0.28),
        0 10px 36px rgba(0,0,0,0.58);
}
.stage-card.show-guest .guest-free-name.long-name,
.stage-card.show-guest .guest-free-name.extra-long-name {
    font-size: calc(clamp(68px, 8.6vw, 148px) * var(--name-scale, 1)) !important;
}
.stage-card.show-guest .stage-title.single-line {
    font-size: clamp(54px, 6.7vw, 118px) !important;
    letter-spacing: 0.09em;
    margin-bottom: 4px;
}
@keyframes freeNameReveal {
    0% { opacity: 0; transform: translateY(28px) scale(0.88); filter: blur(16px); }
    55% { opacity: 1; transform: translateY(-5px) scale(1.035); filter: blur(0); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.voice-settings-card { width: min(980px, 94vw); }
.voice-grid-form textarea { min-height: 118px; }
.voice-enabled-row {
    padding: 14px 16px;
    border: 1px solid rgba(82,246,255,0.18);
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
}
.voice-preview-box {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(82,246,255,0.16);
}
@media (max-height: 760px) {
    .stage-card.show-guest .guest-free-name {
        font-size: calc(clamp(48px, 7vw, 108px) * var(--name-scale, 1)) !important;
        margin: 2px auto 8px !important;
    }
    .stage-card.show-guest .stage-title.single-line {
        font-size: clamp(44px, 5.6vw, 82px) !important;
    }
}
@media (max-width: 760px) {
    .stage-card.show-guest .guest-free-name,
    .stage-card.show-guest .guest-free-name.long-name,
    .stage-card.show-guest .guest-free-name.extra-long-name {
        width: 100% !important;
        white-space: normal;
        font-size: clamp(42px, 11vw, 78px) !important;
    }
}

/* --- V15 invitation text settings --- */
.invitation-settings-card {
    width: min(980px, 96vw);
}
.invitation-grid-form textarea {
    resize: vertical;
}
.invitation-preview-box {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(82,246,255,0.16);
    background: rgba(255,255,255,0.03);
}

/* --- V16 Natural AI voice settings --- */
.ai-provider-box {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(82,246,255,0.18);
    border-radius: 22px;
    background: rgba(1,10,24,0.42);
}
.ai-provider-box h3 { margin: 0; }
.nested-grid { margin-top: 0; }
.cache-toggle { align-self: end; padding-bottom: 10px; }


/* --- V17 System Test Center --- */
.test-center-shell .test-card { margin-bottom: 18px; padding: 24px; }
.test-button-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.test-result-panel {
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(82,246,255,0.20);
    background: rgba(255,255,255,0.035);
}
.test-result-panel.ok { border-color: rgba(77,255,181,0.35); box-shadow: 0 0 28px rgba(77,255,181,0.08); }
.test-result-panel.bad { border-color: rgba(255,100,115,0.4); box-shadow: 0 0 28px rgba(255,100,115,0.08); }
.test-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.test-text-output {
    margin-top: 14px;
    min-height: 140px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.checklist-grid > div {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(82,246,255,0.15);
    color: #d9f6ff;
    font-weight: 800;
}
@media (max-width: 800px) {
    .test-button-grid, .checklist-grid { grid-template-columns: 1fr; }
}

/* --- v18 Backup Center --- */
.db-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.db-status-item {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(82,246,255,0.18);
    background: rgba(255,255,255,0.03);
    display: grid;
    gap: 6px;
    overflow-wrap: anywhere;
}
.db-status-item span {
    color: var(--muted);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.danger-zone-card {
    border-color: rgba(255, 112, 112, 0.25) !important;
}
.backup-routine-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.backup-routine-list span {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(82,246,255,0.18);
    background: rgba(82,246,255,0.06);
    font-weight: 800;
}
@media (max-width: 760px) {
    .db-status-grid {
        grid-template-columns: 1fr;
    }
}

/* --- v19 Database Viewer --- */
.database-layout {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}
.db-table-list-card {
    padding: 22px;
    position: sticky;
    top: 16px;
}
.db-table-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}
.db-table-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(82,246,255,0.16);
    border-radius: 14px;
    background: rgba(255,255,255,0.025);
    color: #e7fbff;
    text-decoration: none;
    font-weight: 800;
}
.db-table-link.active,
.db-table-link:hover {
    border-color: rgba(82,246,255,0.55);
    background: rgba(82,246,255,0.08);
    box-shadow: 0 0 24px rgba(82,246,255,0.08);
}
.db-table-link b {
    color: var(--cyan);
    font-size: .85rem;
}
.db-data-card { padding: 22px; overflow: hidden; }
.compact-db-grid { margin-top: 10px; }
.db-filter-row {
    grid-template-columns: minmax(240px, 1fr) 160px auto auto;
    margin-bottom: 16px;
}
.db-column-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 16px;
}
.db-column-chips span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(82,246,255,0.06);
    border: 1px solid rgba(82,246,255,0.16);
    color: #eafcff;
    font-size: .82rem;
    font-weight: 800;
}
.db-column-chips em {
    color: var(--muted);
    font-size: .72rem;
    font-style: normal;
}
.db-table-wrap { max-height: 68vh; overflow: auto; }
.db-view-table { min-width: 900px; }
.db-view-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(5,18,38,0.98);
}
.db-view-table td { vertical-align: top; }
.db-cell {
    max-width: 360px;
    max-height: 110px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: .86rem;
    line-height: 1.45;
}
.db-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
    color: var(--muted);
    font-weight: 900;
}
@media (max-width: 980px) {
    .database-layout { grid-template-columns: 1fr; }
    .db-table-list-card { position: static; }
    .db-filter-row { grid-template-columns: 1fr; }
}

/* --- v22 uploaded animated invitation theme integration --- */
.launch-invite-page {
  --launch-bg: #050506;
  --launch-panel: rgba(18, 18, 24, 0.68);
  --launch-panel-solid: #111116;
  --launch-text: #ffffff;
  --launch-muted: rgba(255, 255, 255, 0.68);
  --launch-line: rgba(255, 255, 255, 0.12);
  --launch-red: #e21b25;
  --launch-red-2: #ff414c;
  --launch-glow: 0 0 32px rgba(226, 27, 37, 0.48);
  --launch-radius: 28px;
  min-height: 100vh;
  margin: 0;
  color: var(--launch-text);
  background: radial-gradient(circle at top, rgba(226, 27, 37, 0.18), transparent 28rem), var(--launch-bg);
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.launch-invite-page::before,
.launch-invite-page::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 27, 37, 0.20), transparent 62%);
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
}
.launch-invite-page::before { top: -16rem; right: -12rem; }
.launch-invite-page::after { bottom: -18rem; left: -14rem; }
#launchParticleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
}
.launch-cursor-glow {
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 65, 76, 0.16), transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 0;
}
.launch-intro {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: radial-gradient(circle at center, rgba(226, 27, 37, 0.26), rgba(5, 5, 6, 0.95) 38%, #050506 100%);
  z-index: 80;
  transition: opacity .85s ease, visibility .85s ease;
}
.launch-intro.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.launch-intro-card {
  width: min(100%, 580px);
  padding: 3rem 2rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--launch-radius);
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  box-shadow: 0 32px 80px rgba(0,0,0,.55), var(--launch-glow);
  text-align: center;
  animation: launchIntroPop 1s ease both;
  backdrop-filter: blur(22px);
}
.launch-intro-brands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 5vw, 3rem);
  margin: 1rem 0 1.2rem;
}
.launch-intro-brands img { max-width: 150px; max-height: 54px; object-fit: contain; filter: drop-shadow(0 0 16px rgba(255,255,255,.12)); }
.launch-intro-card h1 { margin: .4rem 0 .5rem; font-size: clamp(2.2rem, 8vw, 4.3rem); line-height: .93; letter-spacing: -.06em; text-transform: uppercase; }
.launch-intro-card p { color: var(--launch-muted); margin-bottom: 1.5rem; }
.launch-kicker, .launch-eyebrow, .launch-panel-label, .launch-section-heading span {
  color: var(--launch-red-2);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .76rem;
  font-weight: 800;
}
.launch-topbar {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
  padding: .9rem 0;
  backdrop-filter: blur(20px);
}
.launch-brand { color: var(--launch-text); text-decoration: none; display: flex; align-items: center; gap: .85rem; line-height: 1; }
.launch-brand img { width: 104px; max-height: 34px; object-fit: contain; }
.launch-brand span { color: var(--launch-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 900; }
.launch-nav-actions { display: flex; align-items: center; gap: .75rem; }
.launch-nav-actions a, .launch-sound-btn {
  color: var(--launch-muted);
  text-decoration: none;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--launch-line);
  border-radius: 999px;
  padding: .72rem 1rem;
  font-size: .88rem;
  cursor: pointer;
  position: static;
  box-shadow: none;
}
.launch-nav-actions a:hover, .launch-sound-btn:hover, .launch-sound-btn.playing { color: var(--launch-text); border-color: rgba(226,27,37,.55); box-shadow: var(--launch-glow); }
.launch-hero, .launch-details-section, .launch-experience, .launch-rsvp-section, .launch-meal-note, .launch-footer {
  width: min(1180px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.launch-hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .72fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: 2rem 0 5rem;
}
.launch-hero-copy h2 {
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  line-height: .87;
  letter-spacing: -.075em;
  text-transform: uppercase;
  margin: .6rem 0 1.2rem;
}
.launch-hero-copy h2 span { display: block; color: var(--launch-red-2); text-shadow: var(--launch-glow); }
.launch-hero-text { max-width: 650px; color: var(--launch-muted); font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.65; }
.launch-guest-strip {
  display: grid;
  gap: .28rem;
  max-width: 560px;
  margin: 1.35rem 0 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(18px);
}
.launch-guest-strip span { color: var(--launch-red-2); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 900; }
.launch-guest-strip strong { font-size: clamp(1.25rem, 3.6vw, 2.2rem); line-height: 1.1; }
.launch-guest-strip em { color: var(--launch-muted); font-style: normal; }
.launch-hero-buttons, .launch-rsvp-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.5rem 0; }
.launch-primary-btn, .launch-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: .95rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.14);
  cursor: pointer;
  font-weight: 900;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.launch-primary-btn { color: white; background: linear-gradient(135deg, var(--launch-red), var(--launch-red-2)); box-shadow: var(--launch-glow); border-color: rgba(255,255,255,.18); }
.launch-ghost-btn { color: var(--launch-text); background: rgba(255,255,255,.05); }
.launch-primary-btn:hover, .launch-ghost-btn:hover { transform: translateY(-2px); box-shadow: var(--launch-glow); border-color: rgba(255,255,255,.28); }
.launch-countdown { display: grid; grid-template-columns: repeat(4, minmax(70px, 1fr)); gap: .75rem; max-width: 540px; }
.launch-countdown div {
  border: 1px solid var(--launch-line);
  background: rgba(255,255,255,.045);
  border-radius: 20px;
  padding: .85rem .75rem;
  text-align: center;
}
.launch-countdown strong { display: block; font-size: clamp(1.45rem, 4vw, 2.25rem); line-height: 1; }
.launch-countdown span { color: var(--launch-muted); font-size: .73rem; text-transform: uppercase; letter-spacing: .12em; }
.launch-poster-wrap {
  position: relative;
  perspective: 1200px;
  justify-self: center;
}
.launch-poster-light {
  position: absolute;
  inset: 9% -12% auto;
  height: 38%;
  background: radial-gradient(circle, rgba(226,27,37,.34), transparent 68%);
  filter: blur(16px);
}
.launch-poster {
  width: min(420px, 84vw);
  border-radius: 28px;
  box-shadow: 0 34px 80px rgba(0,0,0,.5), var(--launch-glow);
  border: 1px solid rgba(255,255,255,.12);
  transform-style: preserve-3d;
  transition: transform .18s ease;
  position: relative;
  z-index: 1;
}
.launch-details-section { padding: 4rem 0 2rem; }
.launch-section-heading { text-align: center; margin-bottom: 1.5rem; }
.launch-section-heading h3, .launch-rsvp-copy h3 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: .96;
  letter-spacing: -.055em;
  margin: .4rem 0;
  text-transform: uppercase;
}
.launch-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.launch-info-card, .launch-experience article, .launch-rsvp-panel, .launch-meal-note {
  border: 1px solid var(--launch-line);
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  backdrop-filter: blur(22px);
  border-radius: var(--launch-radius);
  box-shadow: 0 22px 70px rgba(0,0,0,.32);
}
.launch-info-card { padding: 1.45rem; min-height: 190px; position: relative; overflow: hidden; }
.launch-info-card::after, .launch-experience article::after, .launch-rsvp-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.08), transparent 46%);
  transform: translateX(-130%);
  animation: launchShine 6s ease-in-out infinite;
  pointer-events: none;
}
.launch-icon { font-size: 2rem; }
.launch-info-card p { color: var(--launch-red-2); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 900; }
.launch-info-card h4 { font-size: 1.4rem; margin: .4rem 0; }
.launch-info-card small, .launch-rsvp-copy p, .launch-qr-card small, .launch-meal-note p { color: var(--launch-muted); line-height: 1.5; }
.launch-experience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 2rem 0 4rem; }
.launch-experience article { padding: 1.35rem; position: relative; overflow: hidden; }
.launch-experience span { color: var(--launch-red-2); font-size: 1.8rem; }
.launch-rsvp-section { padding: 0 0 4rem; }
.launch-rsvp-panel { position: relative; overflow: hidden; padding: 1.2rem; display: grid; grid-template-columns: .9fr 1.1fr; gap: 1rem; align-items: center; }
.launch-rsvp-copy { padding: 1.4rem; }
.launch-qr-card { display: grid; gap: .8rem; justify-items: center; padding: 1.2rem; }
.launch-qr-box { width: min(260px, 70vw); aspect-ratio: 1; background: #fff; border-radius: 22px; padding: 1rem; position: relative; overflow: hidden; }
.launch-qr-box img { width: 100%; height: 100%; object-fit: contain; }
.launch-scanner-line { position: absolute; left: 10%; right: 10%; height: 3px; background: linear-gradient(90deg, transparent, var(--launch-red-2), transparent); animation: launchScan 2.4s ease-in-out infinite; z-index: 2; }
.launch-meal-note { padding: 1.2rem 1.4rem; margin-bottom: 3rem; }
.launch-meal-note strong { color: var(--launch-red-2); text-transform: uppercase; letter-spacing: .12em; }
.launch-footer { color: var(--launch-muted); padding: 2rem 0 3rem; text-align: center; }
.launch-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.launch-reveal.is-visible { opacity: 1; transform: translateY(0); }
.launch-confetti-piece { position: fixed; z-index: 120; pointer-events: none; border-radius: 2px; box-shadow: 0 0 18px rgba(226,27,37,.8); }
@keyframes launchIntroPop { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes launchShine { 0%, 64% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes launchScan { 0%, 100% { top: 12%; opacity: .2; } 50% { top: 82%; opacity: 1; } }
@media (max-width: 920px) {
  .launch-hero, .launch-rsvp-panel { grid-template-columns: 1fr; }
  .launch-poster-wrap { order: -1; }
  .launch-info-grid, .launch-experience { grid-template-columns: 1fr; }
  .launch-topbar { position: relative; flex-direction: column; align-items: flex-start; }
  .launch-nav-actions { width: 100%; overflow-x: auto; padding-bottom: .25rem; }
}
@media (max-width: 560px) {
  .launch-countdown { grid-template-columns: repeat(2, 1fr); }
  .launch-hero-copy h2 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .launch-intro-card { padding: 2.2rem 1.25rem; }
  .launch-intro-brands img { max-width: 120px; }
}

/* --- v24 selected launch theme: invite/welcome/meal/confirm only --- */
.launch-system-page,
.launch-live-screen-body {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background:
      radial-gradient(circle at top right, rgba(226,27,37,.18), transparent 34%),
      radial-gradient(circle at left 22%, rgba(255,255,255,.07), transparent 25%),
      linear-gradient(180deg, #05070d 0%, #090d16 58%, #06080e 100%);
    color: #f5f7fb;
}
.launch-system-page::before,
.launch-live-screen-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at center, #000 0%, transparent 82%);
    z-index: 0;
}
.launch-system-page #launchParticleCanvas,
.launch-live-screen-body #launchParticleCanvas,
.launch-invite-page #launchParticleCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.launch-system-page .launch-cursor-glow,
.launch-live-screen-body .launch-cursor-glow {
    z-index: 0;
}
.launch-confirm-card,
.launch-meal-shell,
.launch-live-card {
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255,255,255,.09);
    background: linear-gradient(180deg, rgba(16,20,31,.88), rgba(8,11,18,.88));
    box-shadow: 0 26px 70px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.05);
    backdrop-filter: blur(22px);
    overflow: hidden;
}
.launch-confirm-card::before,
.launch-meal-shell::before,
.launch-live-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at top right, rgba(226,27,37,.16), transparent 35%),
      linear-gradient(90deg, rgba(255,255,255,.035), transparent 28%, rgba(226,27,37,.045) 100%);
}
.launch-confirm-card > *,
.launch-meal-shell > *,
.launch-live-card > * {
    position: relative;
    z-index: 1;
}
/* Confirmation Page */
.confirm-theme-page {
    display: grid;
    place-items: center;
    padding: 34px 16px;
}
.launch-confirm-card {
    width: min(980px, 96vw);
    border-radius: 34px;
    padding: clamp(28px, 4vw, 52px);
    text-align: center;
}
.launch-confirm-brands,
.launch-meal-brands,
.launch-live-brands {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.launch-confirm-brands {
    width: min(560px, 100%);
    margin: 0 auto 24px;
}
.launch-confirm-brands img,
.launch-meal-brands img,
.launch-live-brands img {
    width: min(220px, 42vw);
    max-height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 12px 26px rgba(226,27,37,.14));
}
.launch-success-orb {
    width: 88px;
    height: 88px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #e21b25, #ff7a45);
    color: #fff;
    font-size: 2.8rem;
    font-weight: 1000;
    box-shadow: 0 18px 36px rgba(226,27,37,.28);
}
.launch-success-orb.no { background: linear-gradient(135deg, #58121b, #e21b25); }
.launch-success-orb.maybe { background: linear-gradient(135deg, #634019, #f2a84f); }
.launch-confirm-card h1 {
    margin: 10px 0 10px;
    font-size: clamp(2rem, 5vw, 4.4rem);
    letter-spacing: -.04em;
    color: #fff;
}
.launch-confirm-card .guest-line {
    color: #c9ced9;
    font-size: clamp(1rem, 2vw, 1.2rem);
}
.launch-confirm-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 28px auto;
}
.launch-confirm-meta div,
.launch-pass-text {
    border-radius: 20px;
    padding: 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
}
.launch-confirm-meta span,
.launch-panel-label {
    display: block;
    color: #ff9aa8;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 900;
    margin-bottom: 6px;
}
.launch-confirm-meta strong,
.launch-pass-text strong {
    color: #fff;
    font-size: 1.05rem;
}
.launch-pass-layout {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 340px);
    gap: 18px;
    align-items: center;
    margin: 20px auto 28px;
}
.launch-pass-text {
    display: grid;
    gap: 8px;
    text-align: left;
}
.launch-pass-text small,
.launch-qr-card small {
    color: #aeb6c8;
}
.confirm-qr-card {
    margin: 0;
}
.launch-confirm-actions,
.launch-meal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
/* Meal Page */
.meal-theme-page {
    padding: clamp(22px, 4vw, 46px) 16px;
}
.launch-meal-shell {
    width: min(1120px, 96vw);
    margin: 0 auto;
    padding: clamp(24px, 4vw, 44px);
    border-radius: 34px;
}
.launch-meal-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    margin-bottom: 26px;
}
.launch-meal-header h1 {
    margin: 8px 0 6px;
    font-size: clamp(2rem, 5vw, 4.2rem);
    letter-spacing: -.05em;
    color: #fff;
}
.launch-meal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.launch-meal-card {
    display: block;
    min-height: 100%;
    cursor: pointer;
}
.launch-meal-card input {
    display: none;
}
.launch-meal-card-ui {
    min-height: 190px;
    height: 100%;
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.09);
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.launch-meal-card:hover .launch-meal-card-ui {
    transform: translateY(-4px);
    border-color: rgba(226,27,37,.45);
    box-shadow: 0 18px 34px rgba(0,0,0,.25);
}
.launch-meal-card input:checked + .launch-meal-card-ui {
    border-color: rgba(226,27,37,.82);
    background: linear-gradient(180deg, rgba(226,27,37,.20), rgba(255,255,255,.03));
    box-shadow: 0 0 0 3px rgba(226,27,37,.12), 0 20px 40px rgba(226,27,37,.15);
}
.launch-meal-card-ui strong {
    color: #fff;
    font-size: 1.18rem;
    line-height: 1.18;
}
.launch-meal-card-ui small {
    color: #aeb6c8;
    line-height: 1.45;
}
.launch-saved-banner {
    margin: 0 0 18px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(58, 191, 111, .12);
    border: 1px solid rgba(58,191,111,.24);
    color: #d8ffe7;
}
.launch-meal-actions {
    margin-top: 24px;
    flex-direction: column;
}
.launch-meal-actions small {
    color: #aeb6c8;
}
/* Live Welcome Screen */
.launch-live-screen-body {
    overflow: hidden;
}
.launch-live-wrap {
    min-height: 100vh;
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    padding: 20px;
}
.launch-live-card {
    width: min(1420px, 94vw);
    height: min(840px, calc(100vh - 40px));
    border-radius: 42px;
    padding: clamp(28px, 4vw, 58px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.launch-live-glow {
    position: absolute;
    width: 44vw;
    height: 44vw;
    min-width: 460px;
    min-height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(226,27,37,.22), transparent 64%);
    filter: blur(24px);
    opacity: .82;
    pointer-events: none;
}
.launch-live-brands {
    position: absolute;
    left: clamp(34px, 4vw, 64px);
    right: clamp(34px, 4vw, 64px);
    top: clamp(26px, 4vw, 48px);
}
.launch-live-brands img {
    width: min(320px, 22vw);
    max-height: 92px;
}
.launch-live-kicker {
    color: #ff9aa8;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 900;
    margin-top: 60px;
}
.launch-live-title.idle-layout {
    display: grid;
    gap: 0;
    margin: 20px 0;
    line-height: .86;
    text-transform: uppercase;
}
.launch-live-title.idle-layout .line-1,
.launch-live-title.idle-layout .line-3 {
    font-size: clamp(52px, 8vw, 128px);
    color: #fff;
    letter-spacing: .02em;
}
.launch-live-title.idle-layout .line-2 {
    font-size: clamp(66px, 9.5vw, 152px);
    color: #e21b25;
    text-shadow: 0 0 48px rgba(226,27,37,.55);
    letter-spacing: .03em;
}
.launch-live-title.single-line {
    font-size: clamp(70px, 8.8vw, 148px);
    color: #fff;
    letter-spacing: .10em;
    text-shadow: 0 0 44px rgba(226,27,37,.38);
}
.launch-live-scan {
    margin-top: 10px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    border-radius: 999px;
    min-height: 74px;
    width: min(780px, 86vw);
}
.launch-guest-free-name {
    color: #fff;
    text-shadow: 0 0 42px rgba(226,27,37,.55), 0 16px 32px rgba(0,0,0,.55);
}
.launch-live-meta {
    color: #dce1ee;
    margin-top: 20px;
}
.launch-live-mode {
    color: #ffd2d9;
    background: rgba(226,27,37,.14);
    border-color: rgba(226,27,37,.22);
}
/* Side image preview for invitation settings, while preserving admin old theme */
.theme-image-preview-box {
    display: grid;
    gap: 14px;
}
.theme-image-preview-wrap {
    width: 100%;
    min-height: 220px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(82,246,255,.18);
    background: rgba(255,255,255,.03);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}
.theme-image-preview {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
}
@media (max-width: 1040px) {
    .launch-meal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .launch-pass-layout { grid-template-columns: 1fr; }
    .launch-meal-header { grid-template-columns: 1fr; }
    .launch-meal-brands { justify-content: space-between; }
}
@media (max-width: 680px) {
    .launch-confirm-meta { grid-template-columns: 1fr; }
    .launch-meal-grid { grid-template-columns: 1fr; }
    .launch-confirm-brands,
    .launch-meal-brands { flex-direction: row; gap: 14px; }
    .launch-confirm-brands img,
    .launch-meal-brands img { width: min(150px, 42vw); }
    .launch-live-card { height: auto; min-height: 92vh; padding-top: 130px; }
    .launch-live-brands img { width: min(150px, 40vw); }
    .launch-live-title.idle-layout .line-1,
    .launch-live-title.idle-layout .line-3 { font-size: clamp(38px, 13vw, 70px); }
    .launch-live-title.idle-layout .line-2 { font-size: clamp(50px, 16vw, 90px); }
}

/* ===== v25 premium live welcome screen ===== */
.premium-live-body {
    background:
        radial-gradient(circle at top right, rgba(255, 43, 43, .18), transparent 28%),
        radial-gradient(circle at bottom left, rgba(0, 188, 255, .10), transparent 30%),
        linear-gradient(180deg, #03060d 0%, #030710 45%, #04070d 100%);
}
.premium-live-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}
.premium-live-board {
    position: relative;
    width: min(1440px, 96vw);
    min-height: min(92vh, 820px);
    border-radius: 34px;
    overflow: hidden;
    padding: 28px 34px;
    border: 1px solid rgba(109, 244, 255, .22);
    background: linear-gradient(135deg, rgba(10,18,34,.93), rgba(7,12,24,.88) 56%, rgba(32,8,13,.76));
    box-shadow: 0 30px 90px rgba(0,0,0,.45), inset 0 0 80px rgba(255,255,255,.03);
}
.premium-live-board::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(rgba(107, 169, 255, .06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(107, 169, 255, .06) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: .18;
    pointer-events: none;
}
.premium-board-shine, .premium-board-redglow {
    position: absolute; pointer-events: none; filter: blur(14px);
}
.premium-board-shine {
    inset: -10% 30% auto auto; width: 48%; height: 60%;
    background: radial-gradient(circle, rgba(56, 225, 255, .14), transparent 70%);
    animation: floatPulse 7s ease-in-out infinite;
}
.premium-board-redglow {
    right: -10%; top: -8%; width: 44%; height: 48%;
    background: radial-gradient(circle, rgba(255, 54, 78, .18), transparent 72%);
    animation: floatPulse 8.5s ease-in-out infinite reverse;
}
.premium-corner {
    position: absolute; width: 110px; height: 110px; border-color: rgba(255,255,255,.88); border-style: solid;
}
.premium-corner.tl {left: 26px; top: 22px; border-width: 4px 0 0 4px; border-radius: 22px 0 0 0;}
.premium-corner.tr {right: 26px; top: 22px; border-width: 4px 4px 0 0; border-radius: 0 22px 0 0;}
.premium-corner.bl {left: 26px; bottom: 22px; border-width: 0 0 4px 4px; border-radius: 0 0 0 22px;}
.premium-corner.br {right: 26px; bottom: 22px; border-width: 0 4px 4px 0; border-radius: 0 0 22px 0;}
.premium-brand-row {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
}
.premium-brand { max-height: 90px; width: auto; max-width: 250px; object-fit: contain; }
.sellx-brand { justify-self: end; }
.premium-event-chip {
    justify-self: center; padding: 10px 18px; border-radius: 999px; letter-spacing: .28em; text-transform: uppercase;
    color: #ffb3c1; font-weight: 800; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03);
}
.premium-live-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 24px; align-items: center; min-height: calc(92vh - 160px); }
.premium-live-copy { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }
.premium-kicker {
    color: #7ceeff; letter-spacing: .32em; text-transform: uppercase; font-size: clamp(14px, 1.35vw, 22px); font-weight: 800;
}
.premium-live-title { margin: 0; line-height: .88; letter-spacing: -.06em; text-transform: uppercase; color: #f3fbff; text-shadow: 0 0 36px rgba(114,227,255,.2); }
.premium-live-title.idle-layout { display: flex; flex-direction: column; align-items: center; gap: 0; }
.premium-live-title.idle-layout .line-1, .premium-live-title.idle-layout .line-3 { font-size: clamp(88px, 9.1vw, 176px); }
.premium-live-title.idle-layout .line-2 { font-size: clamp(112px, 11.2vw, 210px); color: #62efff; text-shadow: 0 0 30px rgba(98,239,255,.36); }
.premium-live-title.single-line { font-size: clamp(92px, 9.5vw, 172px); }
.premium-prompt {
    display: inline-flex; align-items: center; gap: 16px; min-width: min(780px, 70vw); justify-content: center;
    padding: 20px 28px; border-radius: 28px; border: 1px solid rgba(255,255,255,.14);
    background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); color: #fff; font-size: clamp(24px, 2.6vw, 42px);
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.premium-guest-name {
    min-height: 1.1em; width: 100%; max-width: 100%;
    font-weight: 900; font-size: clamp(92px, 9vw, 182px); line-height: .92; letter-spacing: -.06em;
    color: #f4fbff; text-shadow: 0 0 32px rgba(120,236,255,.22); transform: scale(var(--name-scale, 1));
    transform-origin: center center; white-space: nowrap; overflow: hidden; text-overflow: clip;
}
.premium-guest-name.long-name { letter-spacing: -.075em; }
.premium-guest-name.extra-long-name { white-space: normal; line-height: .88; }
.premium-live-meta { margin: 0; font-size: clamp(24px, 2vw, 40px); color: rgba(255,255,255,.92); }
.premium-live-mode {
    display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 10px;
    background: rgba(255,181,195,.12); color: #ffd6de; letter-spacing: .24em; text-transform: uppercase; font-weight: 800;
}
.premium-live-visual { position: relative; min-height: 480px; display: grid; place-items: center; }
.premium-visual-rings, .premium-poster-orbit {
    position: absolute; border-radius: 50%; border: 1px solid rgba(118,224,255,.18); pointer-events: none;
}
.premium-visual-rings { width: min(34vw, 420px); height: min(34vw, 420px); box-shadow: 0 0 40px rgba(118,224,255,.1) inset; }
.premium-poster-orbit { width: min(40vw, 520px); height: min(40vw, 520px); animation: spinSlow 12s linear infinite; }
.premium-poster-stack {
    position: relative; width: min(30vw, 370px); border-radius: 30px; overflow: hidden; transform-style: preserve-3d;
    box-shadow: 0 40px 100px rgba(0,0,0,.45), 0 0 50px rgba(255,43,43,.18);
    animation: hoverPoster 5.5s ease-in-out infinite;
}
.premium-poster-stack::before {
    content: ""; position: absolute; inset: -12px; border-radius: 34px; border: 1px solid rgba(255,255,255,.18); transform: translateZ(-1px);
}
.premium-side-poster { width: 100%; display: block; border-radius: 24px; }
.premium-live-board.show-guest .premium-poster-stack { box-shadow: 0 44px 110px rgba(0,0,0,.48), 0 0 80px rgba(86,233,255,.18); }
.premium-live-board.vip-mode { border-color: rgba(255,86,120,.34); box-shadow: 0 30px 90px rgba(0,0,0,.45), 0 0 40px rgba(255,60,90,.22); }
.premium-live-board.vip-mode .premium-live-mode { background: rgba(255,90,120,.18); color: #ffdbe3; }
.premium-live-board.vip-mode .premium-guest-name { text-shadow: 0 0 46px rgba(255,108,140,.28); }
@keyframes floatPulse { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-12px) scale(1.04); } }
@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes hoverPoster { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-16px) rotate(1.5deg); } }

/* live dashboard */
.dashboard-grid-two { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.live-list, .live-activity-list { display: grid; gap: 12px; }
.live-list-item, .activity-line, .history-item {
    display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 16px;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
}
.live-list-item.vip, .history-item.vip { border-color: rgba(255,112,148,.25); background: rgba(255,93,130,.08); }
.live-list-item strong, .activity-line strong, .history-item strong { display: block; }
.live-list-item span, .activity-line span, .history-item span { color: var(--muted); display: block; }
.live-item-meta { text-align: right; }
.mini-meal-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.mini-meal-card { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.mini-meal-card span { display:block; color: var(--muted); }
.mini-meal-card strong { font-size: 32px; display:block; margin-top:8px; }
.mini-meal-card small { color: #83f6ff; }

/* scanner enhancements */
.scan-result.warning { border-color: rgba(255,198,73,.28); background: rgba(255,198,73,.08); }
.scan-result.vip { border-color: rgba(255,110,149,.28); background: rgba(255,110,149,.08); }
.result-guest-card.vip { border-color: rgba(255,110,149,.28); }
.scan-history-box { margin-top: 18px; }
.scan-history-list { display: grid; gap: 10px; }
.history-item.success { border-color: rgba(82,246,255,.18); }
.history-item.error { border-color: rgba(255,94,94,.2); }
.history-item.warning { border-color: rgba(255,198,73,.26); }
.history-item.vip { border-color: rgba(255,110,149,.3); }

@media (max-width: 1100px) {
    .premium-live-grid, .dashboard-grid-two { grid-template-columns: 1fr; }
    .premium-live-copy { order: 2; }
    .premium-live-visual { order: 1; min-height: 280px; }
    .premium-poster-stack { width: min(60vw, 360px); }
    .premium-prompt { min-width: 0; width: 100%; }
}
@media (max-width: 780px) {
    .premium-live-shell { padding: 12px; }
    .premium-live-board { padding: 18px 16px 26px; min-height: 96vh; }
    .premium-brand-row { grid-template-columns: 1fr 1fr; }
    .premium-event-chip { grid-column: 1 / -1; order: 3; }
    .premium-brand { max-width: 160px; max-height: 62px; }
    .premium-live-title.idle-layout .line-1, .premium-live-title.idle-layout .line-3 { font-size: clamp(48px, 13vw, 82px); }
    .premium-live-title.idle-layout .line-2 { font-size: clamp(62px, 15vw, 102px); }
    .premium-live-title.single-line { font-size: clamp(54px, 15vw, 92px); }
    .premium-prompt { font-size: clamp(20px, 6vw, 28px); padding: 15px 18px; }
    .premium-guest-name { font-size: clamp(44px, 12vw, 80px); white-space: normal; }
    .premium-live-meta { font-size: clamp(18px, 5vw, 28px); }
    .premium-live-mode { font-size: 12px; letter-spacing: .16em; }
    .mini-meal-grid { grid-template-columns: 1fr; }
}

/* ===== v26 live screen abstract premium theme (no photo poster) ===== */
.abstract-live-body {
    background:
        radial-gradient(circle at 88% 15%, rgba(255,0,64,.14), transparent 24%),
        radial-gradient(circle at 75% 50%, rgba(255,72,72,.08), transparent 28%),
        radial-gradient(circle at 20% 70%, rgba(61,243,255,.08), transparent 30%),
        linear-gradient(180deg, #03050b 0%, #040811 46%, #05070b 100%);
}
.abstract-theme-board {
    background:
        linear-gradient(90deg, rgba(4,11,22,.96) 0%, rgba(4,13,26,.92) 48%, rgba(21,6,13,.88) 100%);
}
.abstract-theme-grid { grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); }
.premium-live-copy-left { align-items: flex-start; text-align: left; }
.premium-live-copy-left .premium-kicker,
.premium-live-copy-left .premium-live-meta,
.premium-live-copy-left .premium-live-mode { align-self: center; }
.premium-live-copy-left .premium-live-title { width: 100%; }
.premium-live-copy-left .premium-prompt { min-width: min(700px, 68vw); align-self: center; }
.premium-live-copy-left .premium-guest-name { text-align: center; }
.abstract-visual-stage {
    min-height: 620px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: visible;
}
.abstract-panel-card {
    position: relative;
    width: min(100%, 430px);
    min-height: 650px;
    border-radius: 34px;
    overflow: hidden;
    padding: 28px 24px 22px;
    background:
        radial-gradient(circle at top right, rgba(255,75,75,.25), transparent 32%),
        linear-gradient(180deg, rgba(14,14,20,.97), rgba(11,7,12,.96));
    border: 1px solid rgba(255,84,84,.28);
    box-shadow: 0 32px 100px rgba(0,0,0,.48), 0 0 40px rgba(255,45,45,.18), inset 0 0 50px rgba(255,255,255,.02);
    transform: perspective(1200px) rotateY(-11deg) rotateX(4deg);
    animation: panelFloat 6.8s ease-in-out infinite;
}
.abstract-panel-card::before {
    content: "";
    position: absolute; inset: 0;
    background:
      linear-gradient(135deg, rgba(255,44,44,.12), transparent 28%),
      repeating-linear-gradient(180deg, rgba(255,255,255,.015) 0 2px, transparent 2px 12px);
    pointer-events: none;
}
.abstract-panel-topline {
    text-align: center; color: #ff9cae; font-size: 13px; letter-spacing: .28em; font-weight: 800; text-transform: uppercase;
}
.abstract-panel-logo {
    margin-top: 18px; text-align: center; font-size: 60px; font-weight: 900; letter-spacing: -.06em; color: #f7fbff;
}
.abstract-panel-title {
    margin-top: 10px; text-align: center; font-size: 48px; line-height: .94; font-weight: 900; text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 0%, #ff5b5b 62%, #cf1f1f 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.abstract-mini-grid {
    margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px;
}
.mini-spec-card {
    padding: 14px 12px; border-radius: 16px; border: 1px solid rgba(255,82,82,.18); background: rgba(255,255,255,.03);
}
.mini-spec-card span { display: block; font-size: 11px; letter-spacing: .18em; color: #ff9ea8; text-transform: uppercase; }
.mini-spec-card strong { display: block; margin-top: 7px; font-size: 18px; color: #fff; }
.abstract-scan-card {
    margin-top: 26px; display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center;
    padding: 18px; border-radius: 22px; border: 1px solid rgba(255,82,82,.26);
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}
.fake-qr {
    width: 112px; height: 112px; border-radius: 12px; position: relative; background:
      linear-gradient(90deg, #fff 10px, transparent 10px) 0 0/28px 28px,
      linear-gradient(#fff 10px, transparent 10px) 0 0/28px 28px,
      radial-gradient(circle at 18px 18px, #fff 0 12px, transparent 12px),
      #06080d;
    border: 8px solid #fff;
    box-shadow: 0 0 0 2px rgba(255,68,68,.34);
}
.scan-cta-block {
    display: flex; flex-direction: column; justify-content: center; min-height: 112px;
}
.scan-cta-title {
    display: inline-flex; align-items: center; justify-content: center; width: fit-content; padding: 16px 28px; border-radius: 999px;
    background: linear-gradient(180deg, #ff4c4c, #b80808); color: #fff; font-size: 26px; font-weight: 900; letter-spacing: .04em;
    box-shadow: 0 0 28px rgba(255,48,48,.35);
}
.scan-cta-sub { margin-top: 10px; color: rgba(255,255,255,.72); font-size: 13px; letter-spacing: .06em; }
.abstract-panel-bottomline {
    margin-top: 22px; text-align: center; color: #ffbbb1; letter-spacing: .28em; text-transform: uppercase; font-size: 11px;
}
.abstract-ribbon, .abstract-orbit, .abstract-glow {
    position: absolute; pointer-events: none;
}
.abstract-ribbon {
    width: 280px; height: 26px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,0,76,.88), rgba(255,0,76,.06));
    filter: blur(.2px) drop-shadow(0 0 14px rgba(255,0,76,.35));
}
.ribbon-a { top: 20px; right: 120px; transform: rotate(-38deg); animation: ribbonSwing 7s ease-in-out infinite; }
.ribbon-b { top: 120px; right: 10px; transform: rotate(42deg); animation: ribbonSwing 9s ease-in-out infinite reverse; }
.ribbon-c { bottom: 70px; right: 120px; transform: rotate(-26deg); animation: ribbonSwing 8.5s ease-in-out infinite; }
.abstract-orbit { border: 1px solid rgba(103,191,255,.14); border-radius: 50%; }
.orbit-a { width: 460px; height: 460px; }
.orbit-b { width: 560px; height: 560px; animation: spinSlow 18s linear infinite; }
.abstract-glow { border-radius: 50%; filter: blur(22px); }
.glow-a { width: 140px; height: 140px; top: 90px; right: 30px; background: rgba(255,38,70,.28); }
.glow-b { width: 120px; height: 120px; bottom: 60px; left: 40px; background: rgba(74,234,255,.18); }
@keyframes panelFloat { 0%,100% { transform: perspective(1200px) rotateY(-11deg) rotateX(4deg) translateY(0); } 50% { transform: perspective(1200px) rotateY(-8deg) rotateX(2deg) translateY(-10px); } }
@keyframes ribbonSwing { 0%,100% { transform: translateY(0) rotate(-34deg); } 50% { transform: translateY(-12px) rotate(-40deg); } }
.ribbon-b { animation-name: ribbonSwingB; }
@keyframes ribbonSwingB { 0%,100% { transform: translateY(0) rotate(42deg); } 50% { transform: translateY(14px) rotate(35deg); } }
.ribbon-c { animation-name: ribbonSwingC; }
@keyframes ribbonSwingC { 0%,100% { transform: translateY(0) rotate(-26deg); } 50% { transform: translateY(-8px) rotate(-18deg); } }

@media (max-width: 1240px) {
    .abstract-theme-grid { grid-template-columns: 1fr; }
    .premium-live-copy-left { align-items: center; text-align: center; }
    .premium-live-copy-left .premium-prompt { min-width: 0; width: 100%; }
    .abstract-visual-stage { min-height: 420px; }
    .abstract-panel-card { width: min(90vw, 380px); min-height: 560px; transform: perspective(1200px) rotateY(-5deg) rotateX(2deg); }
}
@media (max-width: 780px) {
    .abstract-panel-title { font-size: 36px; }
    .abstract-panel-logo { font-size: 48px; }
    .abstract-mini-grid { grid-template-columns: 1fr 1fr; }
    .abstract-scan-card { grid-template-columns: 88px 1fr; }
    .fake-qr { width: 88px; height: 88px; }
    .scan-cta-title { font-size: 20px; padding: 12px 20px; }
}

/* ===== v27 ultra premium live welcome polish ===== */
.v27-live-body {
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 36, 78, .18), transparent 24%),
        radial-gradient(circle at 12% 78%, rgba(74, 236, 255, .10), transparent 30%),
        linear-gradient(180deg, #02040a 0%, #030711 48%, #04050a 100%);
    overflow: hidden;
}
.v27-live-body::before,
.v27-live-body::after {
    content: "";
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(34px);
    z-index: 0;
}
.v27-live-body::before {
    width: 42vw;
    height: 42vw;
    right: -12vw;
    top: -13vw;
    background: radial-gradient(circle, rgba(255,45,78,.18), transparent 66%);
    animation: v27Ambient 9s ease-in-out infinite;
}
.v27-live-body::after {
    width: 34vw;
    height: 34vw;
    left: -10vw;
    bottom: -13vw;
    background: radial-gradient(circle, rgba(82,232,255,.14), transparent 66%);
    animation: v27Ambient 11s ease-in-out infinite reverse;
}
.v27-live-shell {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(12px, 2vw, 34px);
}
.v27-stage {
    position: relative;
    width: min(1780px, 96vw);
    height: min(930px, 92vh);
    min-height: 680px;
    border-radius: 38px;
    overflow: hidden;
    padding: clamp(28px, 2.4vw, 48px);
    background:
        radial-gradient(circle at 67% 46%, rgba(255,24,70,.12), transparent 34%),
        linear-gradient(100deg, rgba(6,15,30,.96) 0%, rgba(5,12,24,.94) 52%, rgba(30,8,16,.86) 100%);
    border: 1px solid rgba(120, 236, 255, .20);
    box-shadow:
        0 36px 110px rgba(0,0,0,.55),
        inset 0 0 110px rgba(255,255,255,.028),
        0 0 0 1px rgba(255,255,255,.035);
}
.v27-grid-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(100, 170, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 170, 255, .045) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: .26;
    mask-image: radial-gradient(circle at 45% 48%, black 0%, transparent 76%);
}
.v27-red-haze,
.v27-cyan-haze,
.v27-light-beam {
    position: absolute;
    pointer-events: none;
}
.v27-red-haze {
    right: -7%;
    top: 6%;
    width: 43%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 48, 70, .16), transparent 70%);
    filter: blur(18px);
}
.v27-cyan-haze {
    left: 10%;
    bottom: -18%;
    width: 48%;
    height: 48%;
    background: radial-gradient(circle, rgba(72, 228, 255, .13), transparent 67%);
    filter: blur(18px);
}
.v27-light-beam {
    width: 92%;
    height: 2px;
    left: 3%;
    background: linear-gradient(90deg, transparent, rgba(73,235,255,.48), rgba(255,45,78,.28), transparent);
    filter: blur(.3px) drop-shadow(0 0 16px rgba(73,235,255,.22));
    opacity: .56;
}
.beam-one { top: 25%; transform: rotate(-9deg); }
.beam-two { bottom: 18%; transform: rotate(8deg); opacity: .35; }
.v27-corner {
    position: absolute;
    width: 128px;
    height: 128px;
    border-color: rgba(255,255,255,.92);
    border-style: solid;
    z-index: 3;
}
.v27-corner.tl { left: 30px; top: 28px; border-width: 4px 0 0 4px; border-radius: 22px 0 0 0; }
.v27-corner.tr { right: 30px; top: 28px; border-width: 4px 4px 0 0; border-radius: 0 22px 0 0; }
.v27-corner.bl { left: 30px; bottom: 28px; border-width: 0 0 4px 4px; border-radius: 0 0 0 22px; }
.v27-corner.br { right: 30px; bottom: 28px; border-width: 0 4px 4px 0; border-radius: 0 0 22px 0; }
.v27-brand-row {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 22px;
}
.v27-brand-logo {
    width: min(230px, 15vw);
    max-height: 86px;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(0,0,0,.22));
}
.v27-brand-row .sellx-brand { justify-self: end; }
.v27-event-lockup {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 11px 22px;
    border-radius: 999px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.13);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.v27-event-lockup span {
    color: #ffb5c1;
    font-size: clamp(12px, 1vw, 18px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .32em;
}
.v27-event-lockup small {
    color: rgba(255,255,255,.62);
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.v27-content-grid {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(360px, .78fr);
    gap: clamp(20px, 2vw, 42px);
    align-items: center;
    height: calc(100% - 120px);
}
.v27-copy-zone {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
    height: 100%;
    padding-left: clamp(4px, .8vw, 16px);
}
.v27-top-kicker {
    align-self: center;
    color: #7af4ff;
    text-transform: uppercase;
    letter-spacing: .36em;
    font-size: clamp(15px, 1.45vw, 26px);
    font-weight: 900;
    margin-bottom: clamp(10px, 1.6vh, 18px);
    text-shadow: 0 0 24px rgba(122,244,255,.28);
}
.v27-welcome-title {
    margin: 0;
    width: 100%;
    color: #f2fbff;
    text-transform: uppercase;
    font-weight: 950;
    line-height: .86;
    letter-spacing: -.065em;
    text-shadow: 0 0 38px rgba(101,230,255,.18);
}
.v27-welcome-title.idle-layout {
    display: flex;
    flex-direction: column;
}
.v27-welcome-title.idle-layout .line-1,
.v27-welcome-title.idle-layout .line-3 {
    font-size: clamp(92px, 9.2vw, 180px);
}
.v27-welcome-title.idle-layout .line-2 {
    font-size: clamp(116px, 11.5vw, 220px);
    color: #56efff;
    text-shadow: 0 0 38px rgba(86,239,255,.34);
}
.v27-welcome-title.single-line {
    text-align: center;
    font-size: clamp(100px, 10vw, 190px);
    line-height: .82;
}
.v27-scan-pill {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: min(770px, 68vw);
    margin-top: clamp(20px, 3vh, 34px);
    padding: 19px 32px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.13);
    background: linear-gradient(90deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
    box-shadow: 0 18px 60px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05);
    color: #fff;
    font-size: clamp(28px, 3vw, 52px);
}
.v27-scan-pill .scan-icon {
    width: 44px;
    height: 44px;
}
.v27-guest-name {
    align-self: center;
    width: 100%;
    min-height: 1.05em;
    text-align: center;
    font-size: clamp(104px, 9.2vw, 180px);
    line-height: .86;
    font-weight: 950;
    letter-spacing: -.075em;
    color: #f8fdff;
    text-shadow: 0 0 46px rgba(83,238,255,.22), 0 12px 38px rgba(0,0,0,.32);
    transform: scale(var(--name-scale, 1));
    transform-origin: center;
    white-space: nowrap;
    overflow: visible;
}
.v27-guest-name.long-name { letter-spacing: -.09em; }
.v27-guest-name.extra-long-name { white-space: normal; }
.v27-meta-line {
    align-self: center;
    margin: 18px 0 10px;
    color: rgba(255,255,255,.88);
    font-size: clamp(24px, 2.2vw, 44px);
    letter-spacing: .015em;
}
.v27-mode-pill {
    align-self: center;
    padding: 11px 18px;
    border-radius: 10px;
    background: rgba(255, 183, 196, .13);
    color: #ffdce4;
    text-transform: uppercase;
    letter-spacing: .24em;
    font-size: clamp(12px, .9vw, 18px);
    font-weight: 900;
}
.v27-visual-zone {
    position: relative;
    min-height: 650px;
    display: grid;
    place-items: center;
    overflow: visible;
}
.v27-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(112,220,255,.13);
    pointer-events: none;
}
.orbit-outer { width: 590px; height: 590px; animation: v27Spin 18s linear infinite; }
.orbit-mid { width: 475px; height: 475px; border-color: rgba(255,70,90,.15); animation: v27Spin 13s linear infinite reverse; }
.orbit-inner { width: 350px; height: 350px; border-color: rgba(255,255,255,.08); }
.v27-energy-ribbon {
    position: absolute;
    width: 310px;
    height: 30px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,20,66,.98), rgba(255,20,66,.20), transparent);
    box-shadow: 0 0 24px rgba(255,28,66,.28);
    filter: blur(.2px);
    pointer-events: none;
}
.ribbon-one { top: 100px; right: 120px; transform: rotate(-38deg); animation: v27RibbonA 7.2s ease-in-out infinite; }
.ribbon-two { top: 185px; right: 20px; transform: rotate(42deg); animation: v27RibbonB 8s ease-in-out infinite; }
.ribbon-three { bottom: 115px; right: 115px; transform: rotate(-20deg); animation: v27RibbonC 9.5s ease-in-out infinite; }
.v27-holo-card {
    position: relative;
    width: min(430px, 100%);
    min-height: 650px;
    border-radius: 34px;
    padding: 28px 24px 24px;
    background:
        radial-gradient(circle at top right, rgba(255,70,85,.20), transparent 34%),
        linear-gradient(180deg, rgba(15,17,24,.96), rgba(9,8,13,.96));
    border: 1px solid rgba(255,83,94,.28);
    box-shadow: 0 38px 100px rgba(0,0,0,.52), 0 0 46px rgba(255,33,62,.2), inset 0 0 80px rgba(255,255,255,.025);
    transform: perspective(1200px) rotateY(-10deg) rotateX(3deg);
    animation: v27CardFloat 6.6s ease-in-out infinite;
    overflow: hidden;
}
.v27-holo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255,40,64,.12), transparent 28%),
        repeating-linear-gradient(180deg, rgba(255,255,255,.018) 0 2px, transparent 2px 12px);
    pointer-events: none;
}
.holo-scanline {
    position: absolute;
    inset: 0 0 auto 0;
    height: 90px;
    background: linear-gradient(180deg, transparent, rgba(255,86,104,.16), transparent);
    animation: v27ScanLine 4.5s linear infinite;
}
.holo-top {
    position: relative;
    text-align: center;
    color: #ff9cab;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .28em;
    font-weight: 900;
}
.holo-logo {
    position: relative;
    margin-top: 20px;
    text-align: center;
    font-size: 66px;
    line-height: .9;
    font-weight: 950;
    letter-spacing: -.07em;
    color: #fff;
    text-shadow: 0 0 28px rgba(255,255,255,.12);
}
.holo-title {
    position: relative;
    margin-top: 12px;
    text-align: center;
    font-size: 42px;
    line-height: .94;
    font-weight: 950;
    text-transform: uppercase;
    color: #fff;
}
.holo-title span {
    display: inline-block;
    margin-top: 5px;
    color: #ff434d;
    text-shadow: 0 0 34px rgba(255,67,77,.34);
}
.holo-details {
    position: relative;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}
.holo-details div {
    padding: 13px 9px;
    border-radius: 16px;
    border: 1px solid rgba(255,79,91,.18);
    background: rgba(255,255,255,.035);
}
.holo-details span,
.holo-chip-row span {
    display: block;
    color: #ffabb6;
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.holo-details strong {
    display: block;
    margin-top: 7px;
    color: #fff;
    font-size: 16px;
}
.holo-chip-row {
    position: relative;
    margin-top: 30px;
    display: grid;
    gap: 10px;
}
.holo-chip-row span {
    padding: 12px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.10);
    background: linear-gradient(90deg, rgba(255,77,77,.08), rgba(255,255,255,.02));
    color: rgba(255,255,255,.78);
    font-size: 12px;
    font-weight: 800;
}
.v27-arrival-card {
    position: absolute;
    right: 12px;
    bottom: 26px;
    width: min(270px, 48%);
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid rgba(122,239,255,.18);
    background: rgba(6,12,20,.68);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(0,0,0,.32);
    transform: translateY(18px);
    opacity: .84;
}
.v27-arrival-card span {
    color: #79f4ff;
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    font-weight: 900;
}
.v27-arrival-card strong {
    display: block;
    margin-top: 7px;
    color: #fff;
    font-size: 31px;
    letter-spacing: -.04em;
}
.v27-arrival-card small { color: rgba(255,255,255,.62); }
.v27-stage.arrival-mode .v27-holo-card,
.v27-stage.show-guest .v27-holo-card {
    animation-duration: 4.2s;
    box-shadow: 0 42px 120px rgba(0,0,0,.55), 0 0 72px rgba(80,238,255,.18), inset 0 0 90px rgba(255,255,255,.03);
}
.v27-stage.arrival-mode .v27-arrival-card,
.v27-stage.show-guest .v27-arrival-card {
    opacity: 1;
    transform: translateY(0);
    transition: .6s ease;
}
.v27-stage.vip-mode {
    border-color: rgba(255,92,124,.38);
    box-shadow: 0 36px 110px rgba(0,0,0,.55), 0 0 42px rgba(255,64,96,.22);
}
.v27-stage.vip-mode .v27-mode-pill { background: rgba(255,75,112,.2); color: #ffe4eb; }
.v27-stage.vip-mode .v27-guest-name { text-shadow: 0 0 54px rgba(255,102,134,.28), 0 12px 38px rgba(0,0,0,.32); }
@keyframes v27Ambient { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(18px) scale(1.05); } }
@keyframes v27Spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes v27CardFloat { 0%,100% { transform: perspective(1200px) rotateY(-10deg) rotateX(3deg) translateY(0); } 50% { transform: perspective(1200px) rotateY(-6deg) rotateX(1deg) translateY(-14px); } }
@keyframes v27ScanLine { 0% { transform: translateY(-120px); opacity: 0; } 18% { opacity: 1; } 100% { transform: translateY(680px); opacity: 0; } }
@keyframes v27RibbonA { 0%,100% { transform: translateY(0) rotate(-38deg); } 50% { transform: translateY(-14px) rotate(-31deg); } }
@keyframes v27RibbonB { 0%,100% { transform: translateY(0) rotate(42deg); } 50% { transform: translateY(14px) rotate(35deg); } }
@keyframes v27RibbonC { 0%,100% { transform: translateY(0) rotate(-20deg); } 50% { transform: translateY(-10px) rotate(-27deg); } }
@media (max-width: 1300px) {
    .v27-stage { height: auto; min-height: 92vh; }
    .v27-content-grid { grid-template-columns: 1fr; height: auto; min-height: 0; padding-top: 28px; }
    .v27-copy-zone { align-items: center; text-align: center; }
    .v27-visual-zone { min-height: 430px; }
    .v27-holo-card { width: min(400px, 82vw); min-height: 560px; transform: perspective(1200px) rotateY(-5deg) rotateX(2deg); }
    .v27-welcome-title.idle-layout .line-1,
    .v27-welcome-title.idle-layout .line-3 { text-align: center; }
}
@media (max-width: 780px) {
    .v27-live-shell { padding: 10px; }
    .v27-stage { width: 98vw; min-height: 96vh; padding: 18px 16px 28px; border-radius: 26px; }
    .v27-brand-row { grid-template-columns: 1fr 1fr; gap: 12px; }
    .v27-event-lockup { grid-column: 1 / -1; order: 3; padding: 9px 14px; }
    .v27-brand-logo { width: min(155px, 42vw); max-height: 58px; }
    .v27-corner { width: 74px; height: 74px; }
    .v27-content-grid { padding-top: 20px; }
    .v27-top-kicker { font-size: 12px; letter-spacing: .22em; }
    .v27-welcome-title.idle-layout .line-1,
    .v27-welcome-title.idle-layout .line-3 { font-size: clamp(50px, 14vw, 88px); }
    .v27-welcome-title.idle-layout .line-2 { font-size: clamp(64px, 17vw, 106px); }
    .v27-welcome-title.single-line { font-size: clamp(56px, 17vw, 96px); }
    .v27-scan-pill { min-width: 0; width: 100%; font-size: clamp(20px, 6vw, 30px); padding: 14px 18px; border-radius: 20px; }
    .v27-guest-name { font-size: clamp(50px, 14vw, 86px); white-space: normal; }
    .v27-meta-line { font-size: clamp(18px, 5vw, 28px); }
    .v27-mode-pill { font-size: 11px; letter-spacing: .14em; }
    .v27-visual-zone { min-height: 380px; }
    .v27-holo-card { width: min(340px, 88vw); min-height: 500px; padding: 22px 18px; }
    .holo-logo { font-size: 52px; }
    .holo-title { font-size: 32px; }
    .holo-details { grid-template-columns: 1fr; gap: 8px; }
    .holo-chip-row { margin-top: 18px; }
    .v27-arrival-card { display: none; }
}

/* ===== v29 uploaded live-preview theme integration: balanced full-screen red premium stage ===== */
.v29-live-body {
    --v29-bg:#050507;
    --v29-bg2:#0a0a0e;
    --v29-red:#ff3030;
    --v29-red-soft:#ff5858;
    --v29-red-glow:rgba(255,62,62,.55);
    --v29-white:#f6f7fb;
    --v29-silver1:#f6f7fb;
    --v29-silver2:#d5d9e2;
    --v29-silver3:#8f96a4;
    --v29-muted:#cad0db;
    margin:0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,0,0,.09), transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(255,40,40,.08), transparent 22%),
        linear-gradient(135deg, #0a0a0d 0%, #050507 48%, #09090c 100%);
    color:var(--v29-white);
    overflow:hidden;
}
.v29-live-body::before,
.v29-live-body::after{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:0;
}
.v29-live-body::before{
    background:
        linear-gradient(120deg, transparent 0 12%, rgba(255,53,53,.18) 12.3%, transparent 13.1%, transparent 82%, rgba(255,53,53,.18) 82.4%, transparent 83%),
        linear-gradient(300deg, transparent 0 12%, rgba(255,53,53,.15) 12.3%, transparent 13.1%, transparent 82%, rgba(255,53,53,.15) 82.4%, transparent 83%);
    mix-blend-mode:screen;
    opacity:.85;
}
.v29-live-body::after{
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255,255,255,.8) 0 1px, transparent 1.3px),
        radial-gradient(circle at 28% 68%, rgba(255,70,70,.8) 0 1px, transparent 1.3px),
        radial-gradient(circle at 68% 34%, rgba(255,255,255,.45) 0 1px, transparent 1.3px),
        radial-gradient(circle at 82% 22%, rgba(255,70,70,.75) 0 1.5px, transparent 1.8px),
        radial-gradient(circle at 75% 78%, rgba(255,70,70,.65) 0 1px, transparent 1.3px),
        radial-gradient(circle at 15% 85%, rgba(255,255,255,.35) 0 1px, transparent 1.3px);
    opacity:.55;
    animation:v29Sparkle 8s linear infinite alternate;
}
.v29-live-body #launchParticleCanvas {
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    pointer-events:none;
    z-index:0;
    opacity:.7;
}
.v29-wrap{
    position:relative;
    z-index:1;
    width:100vw;
    height:100vh;
    padding:18px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.v29-screen{
    position:relative;
    width:min(1680px, calc(100vw - 36px));
    height:min(920px, calc(100vh - 36px));
    min-height:620px;
    border:2px solid rgba(255,72,72,.85);
    border-radius:34px;
    background:
        linear-gradient(180deg, rgba(13,13,16,.72), rgba(5,5,7,.92)),
        linear-gradient(135deg, rgba(255,0,0,.06), transparent 22%, transparent 80%, rgba(255,0,0,.06));
    box-shadow:
        0 0 0 1px rgba(255,255,255,.03) inset,
        0 0 35px rgba(255,50,50,.20),
        0 0 130px rgba(0,0,0,.55) inset;
    overflow:hidden;
    padding:28px 34px 30px;
}
.v29-inner{
    position:relative;
    z-index:2;
    height:100%;
    display:flex;
    flex-direction:column;
    gap:clamp(12px, 2vh, 26px);
}
.v29-frame-corner{
    position:absolute;
    width:115px;
    height:115px;
    border:4px solid rgba(255,255,255,.95);
    opacity:.9;
    pointer-events:none;
    z-index:3;
}
.v29-frame-corner.corner-tl{left:18px; top:18px; border-right:none; border-bottom:none; border-radius:20px 0 0 0;}
.v29-frame-corner.corner-tr{right:18px; top:18px; border-left:none; border-bottom:none; border-radius:0 20px 0 0;}
.v29-frame-corner.corner-bl{left:18px; bottom:18px; border-right:none; border-top:none; border-radius:0 0 0 20px;}
.v29-frame-corner.corner-br{right:18px; bottom:18px; border-left:none; border-top:none; border-radius:0 0 20px 0;}
.v29-red-line{
    position:absolute;
    width:50%;
    height:1px;
    background:linear-gradient(90deg, transparent, rgba(255,58,58,.45), transparent);
    pointer-events:none;
    z-index:1;
}
.v29-red-line.line-a{top:23%; left:24%; transform:rotate(-8deg);}
.v29-red-line.line-b{bottom:22%; right:20%; transform:rotate(10deg);}
.v29-topbar{
    display:grid;
    grid-template-columns: 1fr auto 1fr;
    gap:16px;
    align-items:start;
    flex:0 0 auto;
}
.v29-logo-slot{
    display:flex;
    align-items:flex-start;
    min-height:clamp(68px, 9vh, 110px);
}
.v29-logo-slot.logo-right{justify-content:flex-end;}
.v29-logo-img{
    width:auto;
    object-fit:contain;
    filter:drop-shadow(0 6px 16px rgba(255,255,255,.08));
}
.v29-asus-logo{height:clamp(54px, 7.2vh, 92px); max-width:260px;}
.v29-sellx-logo{height:clamp(54px, 7.2vh, 92px); max-width:260px;}
.v29-event-pill{
    justify-self:center;
    align-self:start;
    text-align:center;
    padding:15px 28px 13px;
    min-width:min(48vw, 760px);
    border-radius:18px;
    border:1.5px solid rgba(255,90,90,.78);
    background:linear-gradient(180deg, rgba(25,12,14,.85), rgba(7,7,9,.92));
    box-shadow:0 0 22px rgba(255,50,50,.2), inset 0 0 18px rgba(255,90,90,.04);
    position:relative;
}
.v29-event-pill::before,
.v29-event-pill::after{
    content:"";
    position:absolute;
    top:50%; width:22px; height:22px;
    border-top:2px solid rgba(255,90,90,.95);
    transform:translateY(-50%) rotate(45deg);
    background:linear-gradient(135deg, rgba(255,60,60,.14), transparent);
}
.v29-event-pill::before{left:-11px; border-left:2px solid rgba(255,90,90,.95);}
.v29-event-pill::after{right:-11px; border-right:2px solid rgba(255,90,90,.95);}
.v29-event-pill strong{
    display:block;
    font-size:clamp(16px, 1.2vw, 28px);
    letter-spacing:.28em;
    text-transform:uppercase;
    color:#ffb8b8;
    font-weight:800;
    white-space:nowrap;
}
.v29-event-pill span{
    display:block;
    margin-top:5px;
    font-size:clamp(10px, .78vw, 16px);
    letter-spacing:.22em;
    color:#f8f8fb;
    opacity:.94;
    text-transform:uppercase;
    white-space:nowrap;
}
.v29-hero{
    flex:1 1 auto;
    min-height:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 2vw;
}
.v29-copy{
    width:100%;
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:clamp(8px, 1.6vh, 16px);
}
.v29-kicker{
    color:#77f3ff;
    letter-spacing:.36em;
    text-transform:uppercase;
    font-size:clamp(16px, 1.5vw, 30px);
    font-weight:800;
    text-shadow:0 0 16px rgba(77,238,255,.18);
}
.v29-headline{
    margin:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-transform:uppercase;
    letter-spacing:-.045em;
    line-height:.86;
    user-select:none;
    filter:drop-shadow(0 0 16px rgba(255,45,45,.12));
}
.v29-headline.idle-layout .line-1,
.v29-headline.idle-layout .line-3,
.v29-headline.single-line{
    font-size:clamp(72px, min(9vw, 14vh), 178px);
    font-weight:900;
    background:linear-gradient(180deg, var(--v29-silver1) 0%, var(--v29-silver2) 40%, #f6f8fb 52%, var(--v29-silver3) 100%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
    text-shadow:0 2px 0 rgba(255,255,255,.12);
}
.v29-headline.idle-layout .line-2{
    font-size:clamp(86px, min(10.6vw, 16vh), 206px);
    font-weight:900;
    background:linear-gradient(180deg, #ff8f8f 0%, #ff4d4d 18%, #ff2828 44%, #b60808 100%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
    text-shadow:0 0 10px rgba(255,90,90,.55), 0 0 28px rgba(255,40,40,.38);
    padding:.02em 0 .04em;
}
.v29-headline.single-line{
    font-size:clamp(84px, min(10vw, 16vh), 190px);
    line-height:.9;
}
.v29-scan-btn{
    margin-top:clamp(4px, 1vh, 10px);
    min-width:min(62vw, 840px);
    max-width:880px;
    color:var(--v29-white);
    background:linear-gradient(180deg, rgba(17,10,10,.92), rgba(10,10,11,.96));
    border-radius:28px;
    padding:clamp(14px, 2.1vh, 22px) 34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:22px;
    font-size:clamp(28px, min(2.5vw, 5.1vh), 58px);
    font-weight:800;
    box-shadow:
        inset 0 0 0 2px rgba(255,58,58,.9),
        0 0 22px rgba(255,55,55,.23),
        0 0 0 6px rgba(255,40,40,.04);
    position:relative;
    overflow:hidden;
}
.v29-scan-btn::after{
    content:"";
    position:absolute;
    inset:-120% 40% auto auto;
    width:120px; height:300%;
    background:linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
    transform:rotate(24deg);
    animation:v29Shimmer 3.3s linear infinite;
}
.v29-qr-icon{
    width:clamp(42px, min(4vw, 7vh), 78px);
    height:clamp(42px, min(4vw, 7vh), 78px);
    position:relative;
    flex:0 0 auto;
}
.v29-qr-icon::before,
.v29-qr-icon::after,
.v29-qr-icon span::before,
.v29-qr-icon span::after{
    content:"";
    position:absolute;
    width:42%;
    height:42%;
    border:4px solid #ff5f5f;
    border-radius:9px;
    box-shadow:0 0 12px rgba(255,60,60,.4);
}
.v29-qr-icon::before{top:0; left:0; border-right:none; border-bottom:none;}
.v29-qr-icon::after{top:0; right:0; border-left:none; border-bottom:none;}
.v29-qr-icon span::before{bottom:0; left:0; border-right:none; border-top:none;}
.v29-qr-icon span::after{bottom:0; right:0; border-left:none; border-top:none;}
.v29-guest-name{
    width:100%;
    min-height:0;
    font-size:clamp(90px, min(11vw, 18vh), 210px);
    line-height:.86;
    font-weight:950;
    letter-spacing:-.065em;
    text-transform:uppercase;
    text-align:center;
    color:transparent;
    transform:scale(var(--name-scale, 1));
    transform-origin:center;
    background:linear-gradient(180deg, #fff 0%, #ffd3d3 34%, #ff4141 100%);
    -webkit-background-clip:text;
    background-clip:text;
    text-shadow:0 0 26px rgba(255,70,70,.26);
    white-space:nowrap;
    overflow:hidden;
}
.v29-guest-name.extra-long-name{white-space:normal;}
.v29-meta{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:clamp(14px, 2vw, 36px);
    flex-wrap:wrap;
    margin:clamp(2px, .6vh, 8px) 0 0;
    color:#f6f7fb;
    font-weight:700;
    letter-spacing:.18em;
    text-transform:uppercase;
    font-size:clamp(18px, min(1.65vw, 4vh), 38px);
}
.v29-dot{
    width:12px; height:12px; border-radius:999px;
    background:var(--v29-red);
    box-shadow:0 0 15px var(--v29-red-glow);
    flex:0 0 auto;
}
.v29-pin{
    width:26px; height:26px;
    border:4px solid var(--v29-red);
    border-radius:50% 50% 50% 0;
    transform:rotate(-45deg);
    position:relative;
    display:inline-block;
    box-shadow:0 0 12px rgba(255,62,62,.24);
}
.v29-pin::after{
    content:"";
    position:absolute;
    left:50%; top:50%; transform:translate(-50%,-50%);
    width:8px; height:8px; background:var(--v29-red); border-radius:50%;
}
.v29-mode-pill{
    margin-top:clamp(4px, .8vh, 12px);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 18px;
    border-radius:8px;
    background:rgba(255,80,80,.22);
    color:#ffd1d1;
    font-size:clamp(12px, .95vw, 18px);
    letter-spacing:.22em;
    text-transform:uppercase;
    font-weight:900;
    box-shadow:0 0 18px rgba(255,60,60,.14);
}
.v29-footer-note{
    flex:0 0 auto;
    display:flex;
    justify-content:center;
    color:#c8ced9;
    font-size:clamp(10px, .75vw, 14px);
    letter-spacing:.22em;
    text-transform:uppercase;
    opacity:.78;
    text-align:center;
}
.v29-screen.show-guest .v29-kicker{color:#ffb8b8;}
.v29-screen.show-guest .v29-mode-pill{margin-top:clamp(4px, .8vh, 12px);}
.v29-screen.vip-mode{border-color:rgba(255,110,110,.95); box-shadow:0 0 0 1px rgba(255,255,255,.03) inset, 0 0 46px rgba(255,50,50,.32), 0 0 130px rgba(0,0,0,.58) inset;}
.v29-screen.vip-mode .v29-mode-pill{background:rgba(255,48,48,.32); color:#fff;}
@keyframes v29Shimmer{0%{transform:translateX(-180px) rotate(24deg)}100%{transform:translateX(1200px) rotate(24deg)}}
@keyframes v29Sparkle{0%{transform:translateY(0)}100%{transform:translateY(-12px)}}

@media (max-width:1200px){
    .v29-screen{padding:24px 24px 28px;}
    .v29-topbar{grid-template-columns:1fr; justify-items:center; gap:12px;}
    .v29-logo-slot{justify-content:center; min-height:auto;}
    .v29-logo-slot.logo-right{justify-content:center;}
    .v29-event-pill{min-width:min(92vw,760px); order:3;}
    .v29-hero{padding:0;}
    .v29-headline.idle-layout .line-1,
    .v29-headline.idle-layout .line-3{font-size:clamp(64px, min(10vw, 13vh), 130px);}
    .v29-headline.idle-layout .line-2{font-size:clamp(78px, min(12vw, 15vh), 150px);}
    .v29-scan-btn{min-width:min(90vw,760px); font-size:clamp(24px, min(3vw, 5vh), 44px);}
}
@media (max-width:760px){
    .v29-wrap{padding:10px;}
    .v29-screen{width:calc(100vw - 20px); height:calc(100vh - 20px); min-height:560px; border-radius:24px; padding:18px 16px 20px;}
    .v29-frame-corner{width:72px; height:72px; border-width:3px;}
    .v29-frame-corner.corner-tl{left:10px; top:10px;}
    .v29-frame-corner.corner-tr{right:10px; top:10px;}
    .v29-frame-corner.corner-bl{left:10px; bottom:10px;}
    .v29-frame-corner.corner-br{right:10px; bottom:10px;}
    .v29-asus-logo,.v29-sellx-logo{height:50px; max-width:160px;}
    .v29-event-pill{padding:12px 14px; min-width:100%;}
    .v29-event-pill strong{font-size:clamp(14px, 4vw, 20px); letter-spacing:.18em; white-space:normal;}
    .v29-event-pill span{font-size:clamp(10px, 3vw, 14px); letter-spacing:.14em; white-space:normal;}
    .v29-kicker{font-size:clamp(13px, 3.4vw, 18px); letter-spacing:.22em;}
    .v29-headline{gap:4px;}
    .v29-headline.idle-layout .line-1,
    .v29-headline.idle-layout .line-3{font-size:clamp(50px, 13vw, 88px); line-height:.95;}
    .v29-headline.idle-layout .line-2{font-size:clamp(64px, 16.4vw, 110px); line-height:.88;}
    .v29-headline.single-line{font-size:clamp(52px, 15vw, 86px);}
    .v29-scan-btn{min-width:100%; gap:14px; padding:18px 18px; border-radius:22px; font-size:clamp(22px, 6vw, 34px);}
    .v29-qr-icon{width:42px; height:42px;}
    .v29-meta{gap:12px; font-size:clamp(13px, 3.9vw, 18px); letter-spacing:.11em;}
    .v29-pin{width:19px; height:19px; border-width:3px;}
    .v29-pin::after{width:6px; height:6px;}
    .v29-mode-pill{font-size:11px; letter-spacing:.13em;}
    .v29-footer-note{font-size:10px; letter-spacing:.13em;}
    .v29-guest-name{font-size:clamp(48px, 14vw, 86px); white-space:normal;}
}

/* ===== v31 live screen name centering + invitation theme preserve =====
   - Centers guest name properly on the live screen
   - Keeps a premium oversized cinematic feel without awkward left cut-off
   - Invitation theme files are preserved from the selected v24 theme */
.v29-screen.show-guest .v29-guest-name,
.v29-screen.arrival-mode .v29-guest-name {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-height:1.02em !important;
    margin:clamp(10px, 1.4vh, 18px) auto clamp(8px, 1.1vh, 16px) !important;
    padding:0 3.6vw !important;
    box-sizing:border-box !important;
    position:relative;
    left:auto !important;
    transform:scale(var(--name-scale, 1)) !important;
    transform-origin:center center !important;
    overflow:hidden !important;
    white-space:nowrap !important;
    text-align:center !important;
    font-size:clamp(112px, min(12vw, 18vh), 228px) !important;
    line-height:.84 !important;
    font-weight:1000 !important;
    letter-spacing:-.07em !important;
    text-transform:uppercase !important;
    background:linear-gradient(180deg, #ffffff 0%, #f3f5f8 48%, #c4c9cf 100%) !important;
    -webkit-background-clip:text !important;
    background-clip:text !important;
    color:transparent !important;
    text-shadow:0 0 18px rgba(255,255,255,.12), 0 0 42px rgba(255,70,70,.16) !important;
    filter:drop-shadow(0 10px 22px rgba(0,0,0,.44));
    animation:v31NameReveal .86s cubic-bezier(.2,.8,.2,1) both;
}
.v29-screen.show-guest .v29-guest-name.long-name,
.v29-screen.arrival-mode .v29-guest-name.long-name {
    font-size:clamp(92px, min(10.2vw, 16vh), 188px) !important;
    letter-spacing:-.06em !important;
}
.v29-screen.show-guest .v29-guest-name.extra-long-name,
.v29-screen.arrival-mode .v29-guest-name.extra-long-name {
    width:min(92vw, 1500px) !important;
    max-width:92vw !important;
    padding:0 2vw !important;
    white-space:normal !important;
    font-size:clamp(68px, min(8vw, 13vh), 148px) !important;
    line-height:.88 !important;
    letter-spacing:-.045em !important;
}
.v29-screen.show-guest .v29-headline.single-line,
.v29-screen.arrival-mode .v29-headline.single-line {
    font-size:clamp(76px, min(6.8vw, 11.6vh), 132px) !important;
    line-height:.9 !important;
    margin:0 0 clamp(2px, .6vh, 10px) !important;
}
.v29-screen.show-guest .v29-meta,
.v29-screen.arrival-mode .v29-meta {
    font-size:clamp(22px, min(2.2vw, 4vh), 42px) !important;
    letter-spacing:.18em !important;
    margin-top:clamp(2px, .45vh, 8px) !important;
}
.v29-screen.show-guest .v29-mode-pill,
.v29-screen.arrival-mode .v29-mode-pill {
    margin-top:clamp(4px, .8vh, 12px) !important;
}
@keyframes v31NameReveal {
    0% { opacity:0; transform:translateY(34px) scale(calc(var(--name-scale, 1) * .9)); filter:blur(14px); }
    55% { opacity:1; transform:translateY(-4px) scale(calc(var(--name-scale, 1) * 1.03)); filter:blur(0); }
    100% { opacity:1; transform:translateY(0) scale(var(--name-scale, 1)); filter:blur(0); }
}
@media (max-width:760px) {
    .v29-screen.show-guest .v29-guest-name,
    .v29-screen.arrival-mode .v29-guest-name {
        width:100% !important;
        max-width:100% !important;
        padding:0 4vw !important;
        white-space:normal !important;
        font-size:clamp(54px, 13.6vw, 96px) !important;
        letter-spacing:-.045em !important;
        line-height:.9 !important;
    }
}

/* ===== v32 cafe meal issue + onsite registration ===== */
.cafe-issue-shell,
.onsite-register-shell {
    display: grid;
    gap: 22px;
}
.cafe-layout {
    align-items: start;
}
.cafe-meal-panel {
    position: relative;
    overflow: hidden;
}
.cafe-meal-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.cafe-meal-option {
    min-height: 170px;
    text-align: left;
    border: 1px solid rgba(82,246,255,.18);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.cafe-meal-option:hover,
.cafe-meal-option.selected {
    transform: translateY(-3px);
    border-color: rgba(82,246,255,.55);
    box-shadow: 0 22px 55px rgba(82,246,255,.14);
}
.cafe-meal-option span {
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    color: #77f3ff;
    background: rgba(82,246,255,.10);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 900;
    font-size: 12px;
}
.cafe-meal-option strong {
    font-size: clamp(18px, 1.4vw, 26px);
    color: #fff;
    line-height: 1.08;
}
.cafe-meal-option small {
    color: var(--muted);
    line-height: 1.45;
}
.cafe-meal-option em {
    margin-top: auto;
    color: #ffd68a;
    font-style: normal;
    font-weight: 800;
}
.compact-result {
    margin-top: 18px;
}
.onsite-grid-form .onsite-checkin-toggle {
    align-self: end;
    min-height: 46px;
}
.onsite-created-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 24px;
    align-items: center;
}
.onsite-created-grid h3 {
    margin: 0 0 8px;
    font-size: clamp(30px, 4vw, 56px);
    line-height: .96;
    color: #fff;
}
.onsite-qr-box {
    background: #fff;
    border-radius: 22px;
    padding: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,.28);
}
.onsite-qr-box img {
    width: 100%;
    display: block;
}
.wrap-actions {
    flex-wrap: wrap;
}
.status.error {
    background: rgba(255,80,80,.14);
    color: #ffd1d1;
}
.scan-result.warning {
    border-color: rgba(255,198,73,.28);
    background: rgba(255,198,73,.08);
}
@media (max-width: 1180px) {
    .cafe-meal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .cafe-meal-grid { grid-template-columns: 1fr; }
    .onsite-created-grid { grid-template-columns: 1fr; }
    .onsite-qr-box { max-width: 240px; }
}

/* ===== v33 invite cafe QR pass + compact cafe tablet polish ===== */
.launch-cafe-pass-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 4rem;
  position: relative;
  z-index: 1;
}
.launch-cafe-pass-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  border: 1px solid var(--launch-line);
  border-radius: var(--launch-radius);
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  backdrop-filter: blur(22px);
  box-shadow: 0 22px 70px rgba(0,0,0,.32), 0 0 40px rgba(226,27,37,.08);
  padding: clamp(1.1rem, 3vw, 2rem);
}
.launch-cafe-pass-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.08), transparent 46%);
  transform: translateX(-130%);
  animation: launchShine 6.5s ease-in-out infinite;
  pointer-events: none;
}
.launch-cafe-pass-copy h3 {
  font-size: clamp(2rem, 4.7vw, 4.2rem);
  line-height: .95;
  letter-spacing: -.06em;
  text-transform: uppercase;
  margin: .35rem 0 .8rem;
}
.launch-cafe-pass-copy p {
  max-width: 680px;
  color: var(--launch-muted);
  line-height: 1.65;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}
.launch-cafe-pass-actions {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}
.launch-cafe-pass-qr {
  display: grid;
  gap: .75rem;
  place-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.compact-cafe-qr {
  width: min(220px, 60vw);
  border-radius: 24px;
  box-shadow: var(--launch-glow);
}
.launch-cafe-pass-qr small {
  color: var(--launch-muted);
  line-height: 1.45;
}
.launch-meal-note { display: none !important; }

/* Invitation page: keep the same poster but reduce surrounding clutter and make it cleaner */
.compact-launch-text {
  max-width: 600px;
}
.launch-poster {
  width: min(390px, 80vw);
  border-radius: 30px;
}
.launch-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 10% -12% 10% -12%;
  border-radius: 34px;
  border: 1px solid rgba(226,27,37,.20);
  pointer-events: none;
}
.launch-countdown div {
  padding: .65rem .55rem;
}
.launch-countdown strong {
  font-size: clamp(1.25rem, 3vw, 1.95rem);
}
.launch-details-section {
  padding: 2.6rem 0 1.2rem;
}
.launch-info-card {
  min-height: 134px;
  padding: 1.05rem 1.1rem;
}
.launch-info-card .launch-icon,
.launch-icon {
  font-size: 1.45rem;
}
.launch-info-card h4 {
  font-size: clamp(1.08rem, 2.1vw, 1.32rem);
  margin: .25rem 0;
}
.launch-experience {
  padding: 1rem 0 2.4rem;
}
.launch-experience article {
  min-height: 118px;
  padding: 1rem 1.1rem;
}
.launch-experience span {
  font-size: 1.25rem;
}
.launch-experience h4 {
  margin: .45rem 0 .25rem;
  font-size: 1.05rem;
}
.launch-experience p {
  font-size: .92rem;
}

/* Compact tablet-first Cafe Meal Issue UI */
.cafe-tablet-shell {
  width: min(1480px, calc(100% - 28px));
  margin: 0 auto 40px;
  display: grid;
  gap: 14px;
}
.cafe-command-card {
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  backdrop-filter: blur(22px);
  border-radius: 26px;
  box-shadow: 0 22px 70px rgba(0,0,0,.25);
  padding: clamp(14px, 2vw, 22px);
  position: relative;
  overflow: hidden;
}
.cafe-command-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(226,27,37,.14), transparent 36%);
  pointer-events: none;
}
.cafe-status-row {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.cafe-status-row h2 {
  margin: .12rem 0 0;
  font-size: clamp(24px, 3.2vw, 46px);
  letter-spacing: -.04em;
  line-height: 1;
}
.cafe-tablet-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, .85fr) minmax(0, 1.15fr);
  gap: 14px;
  align-items: stretch;
}
.cafe-scan-panel,
.cafe-guest-panel {
  min-height: 100%;
}
.cafe-reader-box {
  min-height: 285px;
  max-height: 36vh;
  border-radius: 20px;
}
.cafe-controls {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cafe-manual-row {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.cafe-manual-row input {
  min-height: 48px;
  border-radius: 14px;
}
.cafe-guest-card,
.cafe-issue-banner {
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
  padding: clamp(16px, 2.2vw, 28px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.cafe-guest-card {
  min-height: 100%;
  display: grid;
  align-content: center;
  gap: 8px;
}
.cafe-guest-card h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 68px);
  line-height: .96;
  letter-spacing: -.045em;
}
.cafe-guest-card p {
  color: var(--muted);
  margin: 0;
}
.cafe-guest-meta {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  color: rgba(255,255,255,.82);
  font-weight: 700;
}
.cafe-guest-meta span {
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.06);
}
.cafe-guest-card.loaded {
  border-color: rgba(82,246,255,.28);
  background: linear-gradient(145deg, rgba(82,246,255,.10), rgba(255,255,255,.025));
}
.cafe-guest-card.issued,
.cafe-issue-banner.success {
  border-color: rgba(61,180,109,.32);
  background: rgba(61,180,109,.10);
}
.cafe-guest-card.vip {
  border-color: rgba(255,90,120,.32);
  box-shadow: 0 0 40px rgba(255,60,90,.10), inset 0 1px 0 rgba(255,255,255,.05);
}
.cafe-guest-card.error,
.cafe-issue-banner.error {
  border-color: rgba(255,80,80,.3);
  background: rgba(255,80,80,.10);
}
.cafe-guest-card.working,
.cafe-issue-banner.working {
  border-color: rgba(255,198,73,.28);
  background: rgba(255,198,73,.08);
}
.cafe-issue-banner {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.cafe-issue-banner strong {
  font-size: clamp(18px, 2vw, 28px);
}
.cafe-issue-banner span {
  color: var(--muted);
  text-align: right;
}
.cafe-issue-banner.warning {
  border-color: rgba(255,198,73,.34);
  background: rgba(255,198,73,.10);
}
.cafe-pack-card {
  padding-bottom: clamp(14px, 2vw, 22px);
}
.cafe-five-pack-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}
.cafe-pack-option {
  min-height: 142px;
  padding: 15px;
  border-radius: 20px;
  border-color: rgba(255,80,80,.18);
}
.cafe-pack-option:hover,
.cafe-pack-option.selected {
  border-color: rgba(255,80,80,.58);
  box-shadow: 0 18px 45px rgba(226,27,37,.18);
}
.cafe-pack-option span {
  color: #ffb9b9;
  background: rgba(226,27,37,.13);
}
.cafe-pack-option strong {
  font-size: clamp(17px, 1.45vw, 24px);
}
.cafe-pack-option small {
  font-size: .92rem;
}
.cafe-note {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
}
@media (max-width: 1100px) {
  .launch-cafe-pass-panel { grid-template-columns: 1fr; }
  .cafe-tablet-grid { grid-template-columns: 1fr; }
  .cafe-five-pack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .launch-cafe-pass-actions { flex-direction: column; }
  .launch-cafe-pass-actions a { width: 100%; }
  .cafe-five-pack-grid { grid-template-columns: 1fr; }
  .cafe-status-row { flex-direction: column; align-items: flex-start; }
  .cafe-issue-banner { flex-direction: column; align-items: flex-start; }
  .cafe-issue-banner span { text-align: left; }
  .cafe-manual-row { grid-template-columns: 1fr; }
}
