/* Cyberion Neon Arena — public booking page styles
   Mirrors the design prototype (client-desktop.jsx · variant=neon, hall-map.jsx).
   Palette: #ff3d8a (pink) → #a66bff (purple) → #19f0a3 (green)
            statuses: free=#19f0a3 pending=#ffb020 booked=#7b9cff active=#ff3d8a vip=#e6b54a maintenance=#6a6a78
*/

* { box-sizing: border-box; }
html, body {
    margin: 0; padding: 0;
    background: #08060d;
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
}

#cy-app {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 70% 20%, rgba(166,107,255,0.12), transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(255,61,138,0.10), transparent 55%),
        #08060d;
    display: flex; flex-direction: column;
}

/* === Header === */
.cy-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 28px;
    border-bottom: 1px solid rgba(255,61,138,0.12);
    background: linear-gradient(180deg, rgba(18,8,22,0.9), rgba(10,6,14,0.6));
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.cy-header-left { display: flex; align-items: center; gap: 36px; }
.cy-brand { display: flex; align-items: center; gap: 12px; }
.cy-logo {
    height: 48px; width: auto; object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(230,193,94,0.55));
}
.cy-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.12); }
.cy-logo-clh { height: 48px; width: auto; object-fit: contain; mix-blend-mode: screen; }
.cy-badge-neon {
    font-family: 'Inter', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
    color: #19f0a3;
    text-shadow: 0 0 10px rgba(25,240,163,0.7), 0 0 18px rgba(25,240,163,0.35);
    padding: 3px 8px;
    border: 1px solid rgba(25,240,163,0.45);
    border-radius: 4px;
    background: rgba(25,240,163,0.08);
}
/* legacy classes kept for status page */
.cy-grad {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-weight: 700; font-size: 22px;
    background: linear-gradient(90deg, #ff3d8a 0%, #a66bff 60%, #19f0a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}
.cy-sub { font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 0.18em; }
.cy-nav { display: flex; gap: 24px; font-size: 13px; }
.cy-nav-item { color: rgba(255,255,255,0.5); padding-bottom: 4px; border-bottom: 2px solid transparent; cursor: pointer; text-decoration: none; transition: color .15s; }
.cy-nav-item:hover { color: rgba(255,255,255,0.85); }
.cy-nav-item.active { color: #fff; font-weight: 600; border-bottom-color: #ff3d8a; }
a.cy-nav-item { display: inline-block; }
.cy-header-right { display: flex; align-items: center; gap: 14px; }
.cy-counter {
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    color: rgba(255,255,255,0.5); display: flex; gap: 8px; align-items: center;
}
.cy-counter .dot { width: 6px; height: 6px; border-radius: 50%; background: #19f0a3; box-shadow: 0 0 8px #19f0a3; }
.cy-lang {
    display: flex; border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; overflow: hidden; font-size: 11px;
}
.cy-lang button {
    background: transparent; color: rgba(255,255,255,0.5);
    border: none; padding: 6px 12px; cursor: pointer; font-weight: 600; text-transform: uppercase;
}
.cy-lang button.active { background: #ff3d8a; color: #fff; }
.cy-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, #ff3d8a, #a66bff);
    display: flex; align-items: center; justify-content: center;
    font-family: 'JetBrains Mono', monospace; font-weight: 700; color: #fff; font-size: 13px;
}

/* === Main grid === */
.cy-main {
    display: grid; grid-template-columns: 1fr 360px; gap: 24px;
    padding: 24px; flex: 1;
}
@media (max-width: 1100px) { .cy-main { grid-template-columns: 1fr; } }

/* === Map panel === */
.cy-map-panel {
    background: rgba(10,6,16,0.6); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px; padding: 14px;
    position: relative; overflow: hidden;
}
.cy-map-panel::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
    background-size: 20px 20px;
    pointer-events: none;
}
.cy-map-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 4px 10px 14px; position: relative;
}
.cy-map-head .label {
    font-family: 'JetBrains Mono', monospace; font-size: 13px;
    color: rgba(255,255,255,0.4); letter-spacing: 0.14em; text-transform: uppercase;
}
.cy-map-head h2 { font-size: 22px; font-weight: 700; margin: 2px 0 0; color: #fff; }
.cy-time-strip { display: flex; gap: 8px; flex-wrap: wrap; }
.cy-time-btn {
    font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600;
    padding: 6px 10px; border-radius: 6px;
    background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.08); cursor: pointer;
}
.cy-time-btn.active { background: #ff3d8a; color: #fff; border-color: #ff3d8a; }

.cy-grid-wrap { display: flex; justify-content: center; position: relative; }
.cy-grid {
    --cy-tile: 58px;
    --cy-cols: 10;
    display: grid;
    grid-template-columns: repeat(var(--cy-cols), var(--cy-tile));
    grid-auto-rows: var(--cy-tile);
    gap: 10px;
    padding: 20px;
}
.cy-tile {
    border-radius: 10px;
    cursor: pointer; user-select: none; position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600;
    transition: transform .12s ease, box-shadow .15s ease;
}
.cy-tile:hover { transform: translateY(-2px); }
.cy-tile.s-free {
    background: linear-gradient(180deg, rgba(25,240,163,0.14), rgba(25,240,163,0.04));
    border: 1px solid rgba(25,240,163,0.4);
    box-shadow: 0 0 20px -6px #19f0a3, inset 0 0 14px -4px rgba(25,240,163,0.27);
    color: #19f0a3;
}
.cy-tile.s-free::after {
    content: ''; position: absolute; bottom: -1px; left: 8px; right: 8px; height: 2px;
    background: #19f0a3; border-radius: 2px; box-shadow: 0 0 8px #19f0a3;
}
.cy-tile.s-active {
    background: linear-gradient(180deg, rgba(255,61,138,0.18), rgba(255,61,138,0.06));
    border: 1px solid rgba(255,61,138,0.4);
    box-shadow: 0 0 16px -8px #ff3d8a;
    color: #ff3d8a;
}
.cy-tile.s-active::before {
    content: ''; position: absolute; top: 4px; right: 4px;
    width: 6px; height: 6px; border-radius: 50%;
    background: #ff3d8a; box-shadow: 0 0 8px #ff3d8a;
    animation: cy-pulse 1.4s ease-in-out infinite;
}
.cy-tile.s-booked {
    background: linear-gradient(180deg, rgba(123,156,255,0.16), rgba(123,156,255,0.04));
    border: 1px solid rgba(123,156,255,0.4); color: #7b9cff;
}
.cy-tile.s-pending {
    background: linear-gradient(180deg, rgba(255,176,32,0.18), rgba(255,176,32,0.06));
    border: 1px solid rgba(255,176,32,0.4); color: #ffb020;
}
.cy-tile.s-pending::before {
    content: '!'; position: absolute; top: 3px; right: 3px;
    font-size: 9px; color: #ffb020; font-weight: 700; letter-spacing: -0.02em;
}
.cy-tile.s-vip {
    background: linear-gradient(180deg, rgba(230,181,74,0.22), rgba(230,181,74,0.06));
    border: 1px solid rgba(230,181,74,0.4); color: #e6b54a;
}
.cy-tile.s-maintenance {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08); color: #6a6a78;
    cursor: not-allowed;
}
.cy-tile.selected { outline: 2px solid #ff3d8a; outline-offset: 2px; }
.cy-tile-no { font-size: 13px; line-height: 1; margin-top: 3px; }
.cy-tile svg { display: block; }

/* === Legend === */
.cy-legend {
    display: flex; gap: 16px; flex-wrap: wrap;
    padding: 10px 14px;
    font-family: 'Inter', sans-serif; font-size: 12px; color: rgba(255,255,255,0.7);
}
.cy-legend-item { display: flex; align-items: center; gap: 6px; }
.cy-legend-swatch { width: 10px; height: 10px; border-radius: 3px; }

/* === Selection panel === */
.cy-side {
    background: rgba(14,10,22,0.7); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; padding: 20px;
    display: flex; flex-direction: column; gap: 16px; color: #fff;
}
.cy-side-head { display: flex; justify-content: space-between; align-items: flex-start; }
.cy-side-eyebrow {
    font-size: 11px; color: rgba(255,255,255,0.4);
    letter-spacing: 0.14em; text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
}
.cy-side-no {
    font-size: 44px; font-weight: 800; line-height: 1;
    font-family: 'JetBrains Mono', monospace; margin-top: 4px;
}
.cy-status-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 10px; border-radius: 99px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.cy-status-pill .dot { width: 6px; height: 6px; border-radius: 50%; }
.cy-status-pill.s-free       { background: rgba(25,240,163,0.10);  color: #19f0a3; }
.cy-status-pill.s-pending    { background: rgba(255,176,32,0.12);  color: #ffb020; }
.cy-status-pill.s-booked     { background: rgba(123,156,255,0.12); color: #7b9cff; }
.cy-status-pill.s-active     { background: rgba(255,61,138,0.12);  color: #ff3d8a; }
.cy-status-pill.s-vip        { background: rgba(230,181,74,0.12);  color: #e6b54a; }
.cy-status-pill.s-maintenance{ background: rgba(106,106,120,0.15); color: #6a6a78; }
.cy-status-pill.s-free       .dot { background: #19f0a3; }
.cy-status-pill.s-pending    .dot { background: #ffb020; }
.cy-status-pill.s-booked     .dot { background: #7b9cff; }
.cy-status-pill.s-active     .dot { background: #ff3d8a; }
.cy-status-pill.s-vip        .dot { background: #e6b54a; }
.cy-status-pill.s-maintenance .dot{ background: #6a6a78; }

.cy-specs {
    display: grid; grid-template-columns: 1fr;
    gap: 10px; padding: 14px;
    background: rgba(255,255,255,0.04); border-radius: 10px; font-size: 12px;
    white-space: pre-wrap;
    color: rgba(255,255,255,0.85);
}

.cy-section-label {
    font-size: 11px; color: rgba(255,255,255,0.6);
    letter-spacing: 0.12em; text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace; margin-bottom: 8px;
}

/* duration packages */
.cy-pkg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cy-pkg-btn {
    padding: 10px 0; border-radius: 8px; text-align: center; cursor: pointer;
    background: transparent; border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}
.cy-pkg-btn.active {
    background: rgba(25,240,163,0.12); border-color: #19f0a3;
}
.cy-pkg-h { font-weight: 700; font-family: 'JetBrains Mono', monospace; font-size: 16px; }
.cy-pkg-p { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* time window */
.cy-window {
    padding: 12px; background: rgba(255,255,255,0.04); border-radius: 10px; font-size: 13px;
}
.cy-window-row { display: flex; justify-content: space-between; }
.cy-window-row .lbl { color: rgba(255,255,255,0.6); }
.cy-window-row .val { font-weight: 600; font-family: 'JetBrains Mono', monospace; }
.cy-window-bar { height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; margin: 10px 0; overflow: hidden; }
.cy-window-fill { height: 100%; background: linear-gradient(90deg, #19f0a3, #a66bff); border-radius: 3px; }

/* contact form */
.cy-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cy-contact input, .cy-contact textarea, .cy-side input[type=text], .cy-side textarea {
    width: 100%; padding: 10px 12px; border-radius: 8px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
    color: #fff; font-family: inherit; font-size: 13px;
}
.cy-contact input::placeholder, .cy-side input::placeholder, .cy-side textarea::placeholder {
    color: rgba(255,255,255,0.35);
}
.cy-contact .full { grid-column: 1 / -1; }

.cy-total { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; }
.cy-total .lbl { color: rgba(255,255,255,0.6); font-size: 13px; }
.cy-total .val { font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 28px; }
.cy-total .uah { font-size: 16px; color: rgba(255,255,255,0.6); }

.cy-btn-primary {
    background: linear-gradient(90deg, #ff3d8a, #a66bff);
    color: #fff; font-family: 'Inter', sans-serif;
    font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
    padding: 14px; border: none; border-radius: 10px; cursor: pointer;
    box-shadow: 0 0 24px -4px rgba(255,61,138,0.5);
    text-decoration: none; display: block; text-align: center;
}
.cy-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.cy-btn-secondary {
    background: transparent; color: #fff;
    border: 1px solid rgba(255,255,255,0.2); border-radius: 10px;
    padding: 12px; font-weight: 600; text-decoration: none; display: inline-block; text-align: center;
}
.cy-help { font-size: 11px; color: rgba(255,255,255,0.4); line-height: 1.5; text-align: center; }
.cy-error {
    color: #ff3d8a; font-size: 12px; padding: 8px 12px;
    background: rgba(255,61,138,0.1); border-radius: 8px; border: 1px solid rgba(255,61,138,0.3);
}
.cy-success {
    color: #19f0a3; font-size: 13px; padding: 12px;
    background: rgba(25,240,163,0.08); border-radius: 8px; border: 1px solid rgba(25,240,163,0.3);
}

/* === Status page === */
.cy-status-body {
    background: radial-gradient(ellipse at 70% 20%, rgba(166,107,255,0.12), transparent 50%),
                radial-gradient(ellipse at 20% 80%, rgba(255,61,138,0.10), transparent 55%), #08060d;
    color: #fff;
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.cy-status-card {
    background: rgba(14,10,22,0.7); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 32px; max-width: 480px; width: 100%;
    display: flex; flex-direction: column; gap: 14px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.cy-status-card .cy-brand { justify-content: center; margin-bottom: 8px; }
.cy-status-card .cy-logo { height: 40px; }
.cy-status-card .cy-logo-clh { height: 40px; }
.cy-status-ref { color: rgba(255,255,255,0.5); font-family: 'JetBrains Mono', monospace; font-size: 13px; text-align: center; }
.cy-status-station { font-size: 18px; font-weight: 600; text-align: center; }
.cy-status-window { font-family: 'JetBrains Mono', monospace; color: rgba(255,255,255,0.7); text-align: center; }
.cy-status-amount { font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 36px; text-align: center; margin: 12px 0; }
.cy-status-amount .cy-uah { font-size: 18px; color: rgba(255,255,255,0.5); }
.cy-status-headline { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.cy-status-pending  { color: #ffb020; text-align: center; padding: 16px; background: rgba(255,176,32,0.08); border: 1px solid rgba(255,176,32,0.3); border-radius: 10px; }
.cy-status-confirmed{ color: #19f0a3; text-align: center; padding: 16px; background: rgba(25,240,163,0.08); border: 1px solid rgba(25,240,163,0.3); border-radius: 10px; display: flex; flex-direction: column; gap: 12px; }
.cy-status-paid     { color: #19f0a3; text-align: center; padding: 16px; background: rgba(25,240,163,0.08); border: 1px solid rgba(25,240,163,0.3); border-radius: 10px; }
.cy-status-rejected { color: #ff3d8a; text-align: center; padding: 16px; background: rgba(255,61,138,0.08); border: 1px solid rgba(255,61,138,0.3); border-radius: 10px; display: flex; flex-direction: column; gap: 12px; }

.cy-spinner {
    width: 32px; height: 32px; margin: 0 auto 12px;
    border: 3px solid rgba(255,176,32,0.2);
    border-top-color: #ffb020;
    border-radius: 50%;
    animation: cy-spin 1s linear infinite;
}

/* === Animations === */
@keyframes cy-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes cy-spin  { to { transform: rotate(360deg); } }

/* === Auth chip in header / login hint in sidebar === */
.cy-auth {
    display: flex; align-items: center; gap: 10px;
}
.cy-auth-who {
    display: flex; align-items: center; gap: 10px;
    padding: 4px 10px 4px 4px;
    border: 1px solid rgba(123,156,255,0.3);
    border-radius: 999px;
    background: rgba(18,14,28,0.6);
}
.cy-auth-info { display: flex; flex-direction: column; line-height: 1.1; }
.cy-auth-name { font-weight: 600; font-size: 13px; color: #fff; }
.cy-auth-phone {
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    color: rgba(255,255,255,0.55); margin-top: 2px;
}
.cy-auth-btn {
    padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 600;
    color: #fff; cursor: pointer;
    border: 1px solid rgba(123,156,255,0.35);
    background: transparent;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
}
.cy-auth-btn:hover { background: rgba(123,156,255,0.12); transform: translateY(-1px); }
.cy-auth-btn.primary {
    border: none;
    background: linear-gradient(135deg, #7b9cff, #ff3d8a);
    box-shadow: 0 8px 20px rgba(123,156,255,0.25);
}

.cy-contact-who {
    padding: 10px 12px;
    border: 1px solid rgba(123,156,255,0.25);
    border-radius: 12px;
    background: rgba(18,14,28,0.5);
    margin-bottom: 8px;
}
.cy-contact-who-name { font-weight: 600; }
.cy-contact-who-phone {
    font-family: 'JetBrains Mono', monospace; font-size: 12px;
    color: rgba(255,255,255,0.55); margin-top: 2px;
}
.cy-contact-note {
    width: 100%; padding: 10px 12px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(10,8,18,0.6); color: #fff;
    font-family: inherit; font-size: 14px; resize: vertical;
}

.cy-login-hint {
    margin-top: 8px; font-size: 12px; color: rgba(255,255,255,0.6);
}
.cy-login-hint-link {
    color: #7b9cff; text-decoration: none; font-weight: 600;
}
.cy-login-hint-link:hover { text-decoration: underline; }

/* Make the auth-who chip clickable */
a.cy-auth-who { color: inherit; text-decoration: none; transition: border-color 0.15s, background 0.15s; }
a.cy-auth-who:hover { border-color: rgba(123,156,255,0.55); background: rgba(123,156,255,0.08); }

.cy-contact-who-edit {
    display: inline-block; margin-top: 6px;
    font-size: 12px; color: #7b9cff; text-decoration: none; font-weight: 600;
}
.cy-contact-who-edit:hover { text-decoration: underline; }

/* Fallback club brand text when no logo uploaded */
.cy-brand-text {
    font-family: 'Inter', sans-serif; font-weight: 800; font-size: 20px;
    color: #fff; letter-spacing: 0.02em;
    text-shadow: 0 0 14px rgba(255,61,138,0.35);
}
.cy-status-card .cy-brand-text { font-size: 18px; }

/* === Date strip + 24-hour time strip === */
.cy-strip-label {
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255,255,255,0.5); margin: 14px 0 6px; font-weight: 600;
}
.cy-date-strip {
    display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px;
    scrollbar-width: thin;
}
.cy-date-strip::-webkit-scrollbar { height: 6px; }
.cy-date-strip::-webkit-scrollbar-thumb { background: rgba(123,156,255,0.3); border-radius: 3px; }
.cy-date-btn {
    flex: 0 0 auto; min-width: 78px;
    padding: 8px 10px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(18,14,28,0.6); color: #fff;
    cursor: pointer; text-align: center;
    transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.cy-date-btn:hover { border-color: #7b9cff; transform: translateY(-1px); }
.cy-date-btn.today { border-color: rgba(25,240,163,0.4); }
.cy-date-btn.active {
    border: none;
    background: linear-gradient(135deg, #7b9cff, #ff3d8a);
    box-shadow: 0 6px 16px rgba(123,156,255,0.35);
}
.cy-date-btn .cy-date-day {
    font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
    opacity: 0.7; margin-bottom: 2px;
}
.cy-date-btn .cy-date-num { font-weight: 700; font-size: 13px; }

.cy-hour-wrap { padding-bottom: 6px; }
.cy-time-strip-24 {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 6px;
    max-width: 100%;
}
.cy-time-strip-24 .cy-time-btn {
    padding: 8px 6px;
    font-size: 12px;
    min-width: 0;
    font-family: 'JetBrains Mono', monospace;
}
.cy-time-btn.disabled {
    opacity: 0.25; pointer-events: none;
    text-decoration: line-through;
}
@media (max-width: 720px) {
    .cy-time-strip-24 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* === Mobile responsive — matches mobile-client.jsx design === */
@media (max-width: 768px) {
    .cy-header {
        padding: 10px 14px;
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .cy-header-left { gap: 10px; width: 100%; justify-content: space-between; }
    .cy-logo, .cy-logo-clh { height: 34px; }
    .cy-nav { display: none; }
    .cy-header-right { width: 100%; justify-content: space-between; }
    .cy-counter { font-size: 11px; }

    .cy-main {
        flex-direction: column;
        padding: 0;
    }
    .cy-map-panel {
        padding: 10px;
        border-right: none;
        border-bottom: 1px solid rgba(255,61,138,0.12);
    }
    .cy-map-head { flex-direction: column; align-items: stretch; }
    .cy-map-head h2 { font-size: 18px; }

    /* Fluid-tile: fits 10-col hall into viewport; horizontal scroll kicks in only
       below ~300 px, where the clamp() min (30 px) takes over. */
    .cy-grid-wrap {
        padding: 0 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
    }
    .cy-grid {
        --cy-tile: clamp(34px, calc((100vw - 48px) / 10), 58px);
        gap: 6px;
        padding: 10px;
        transform: none;
    }
    .cy-tile-no { font-size: 11px; }
    .cy-tile svg { width: 14px; height: 14px; }
    .cy-legend {
        padding: 8px 10px;
        gap: 10px;
        font-size: 11px;
    }

    .cy-side {
        width: 100%;
        padding: 14px;
        max-width: none;
        border-top: 1px solid rgba(255,61,138,0.12);
    }
    .cy-side-head .cy-side-no { font-size: 22px; }
    .cy-section-label { font-size: 10px; }

    .cy-pkg {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    .cy-pkg-btn { padding: 10px 4px; }
    .cy-pkg-h { font-size: 15px; }
    .cy-pkg-p { font-size: 11px; }

    .cy-contact {
        grid-template-columns: 1fr;
    }
    .cy-contact .full { grid-column: 1; }

    .cy-total {
        position: sticky;
        bottom: 0;
        background: rgba(10,6,16,0.95);
        padding: 12px;
        margin: 0 -14px -14px;
        z-index: 10;
    }

    /* Make the booking button a sticky footer CTA in mobile */
    .cy-btn-primary {
        position: sticky;
        bottom: 60px;
        z-index: 9;
        box-shadow: 0 8px 24px -6px rgba(255,61,138,0.5);
    }

    /* Auth chip — compact on mobile */
    .cy-auth-who { padding: 3px 8px 3px 3px; }
    .cy-auth-info { display: none; }  /* keep just avatar */
    .cy-auth-btn { padding: 6px 10px; font-size: 12px; }

    /* Date strip — remove extra padding */
    .cy-date-strip { gap: 6px; }
    .cy-date-btn { min-width: 64px; padding: 6px 8px; }
    .cy-date-btn .cy-date-num { font-size: 12px; }
}

@media (max-width: 430px) {
    .cy-grid {
        --cy-tile: clamp(30px, calc((100vw - 40px) / 10), 44px);
        gap: 4px;
    }
    .cy-tile-no { font-size: 10px; }
    .cy-logo, .cy-logo-clh { height: 28px; }
    .cy-pkg { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    html, body { overflow-x: hidden; }
}

/* === Confirmation modal (post-admin-confirm) — modals-extras.jsx:35-60 === */
.cy-confirm-modal {
    max-width: 420px;
    margin: 24px auto;
    padding: 24px 24px 28px;
    background: rgba(12, 14, 26, 0.92);
    border: 1px solid rgba(123, 156, 255, 0.25);
    border-radius: 18px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.55);
    text-align: center;
    color: #fff;
}
.cy-confirm-check {
    display: flex;
    justify-content: center;
    margin: 4px 0 14px;
    filter: drop-shadow(0 0 8px rgba(25, 240, 163, 0.45));
}
.cy-confirm-headline {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 6px;
    color: #fff;
}
.cy-confirm-sub {
    font-size: 14px;
    line-height: 1.45;
    color: #cfd4e8;
    opacity: 0.85;
    margin-bottom: 18px;
}
.cy-confirm-row {
    margin: 14px 0 18px;
    font-family: 'JetBrains Mono', monospace;
}
.cy-confirm-amount {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
}
.cy-confirm-amount .cy-uah {
    font-size: 18px;
    opacity: 0.7;
    margin-left: 4px;
}
.cy-confirm-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cy-confirm-cta .cy-btn-ghost {
    display: inline-block;
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid rgba(123, 156, 255, 0.4);
    background: transparent;
    color: #cfd4e8;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, transform 0.15s;
}
.cy-confirm-cta .cy-btn-ghost:hover {
    border-color: #7b9cff;
    color: #fff;
    transform: translateY(-1px);
}
.cy-confirm-cta .cy-btn-confirm-pay {
    display: inline-block;
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #19f0a3, #1ab87a);
    color: #0a0f16;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 8px 24px -6px rgba(25, 240, 163, 0.5);
    transition: transform 0.15s, box-shadow 0.15s;
}
.cy-confirm-cta .cy-btn-confirm-pay:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px -6px rgba(25, 240, 163, 0.65);
}
@media (min-width: 640px) {
    .cy-confirm-cta {
        flex-direction: row;
    }
    .cy-confirm-cta .cy-btn-ghost,
    .cy-confirm-cta .cy-btn-confirm-pay {
        flex: 1;
    }
}
