/* ==========================================================
   Spicy — extra pages
   ========================================================== */

/* ---------- Shared sub-page header ---------- */
.sub-head { display: flex; align-items: center; gap: 12px; padding: 60px 16px 12px; position: relative; z-index: 3; }
.sub-head h1 { flex: 1; font-family: var(--display); font-weight: 400; font-size: 26px; }
.sub-head .text-btn { font-weight: 800; font-size: 14px; color: var(--ember); padding: 8px 4px; }
.group-t { padding: 14px 20px 8px; font-size: 13px; font-weight: 700; color: var(--dim); }
.fade-up { animation: fadeIn 0.5s var(--ease) both; }

/* ---------- Signup ---------- */
.signup { padding: 60px 0 0; }
.su-head { display: flex; align-items: center; gap: 14px; padding: 0 18px 10px; }
.su-prog { flex: 1; height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.su-prog i { display: block; height: 100%; border-radius: 6px; background: var(--grad); transition: width 0.6s var(--spring); box-shadow: 0 0 12px rgba(255, 46, 85, 0.7); }
.su-step { font-size: 13px; font-weight: 700; color: var(--muted); min-width: 30px; text-align: left; }
.su-body { flex: 1; position: relative; overflow-y: auto; overflow-x: clip; scrollbar-width: none; padding: 18px 24px; }
.su-body::-webkit-scrollbar { display: none; }
.su-in { animation: suIn 0.5s var(--ease) both; }
.su-in-back { animation: suInBack 0.5s var(--ease) both; }
@keyframes suIn { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes suInBack { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.su-emoji { font-size: 52px; display: inline-block; animation: pop 0.7s var(--spring) both; margin-bottom: 8px; }
.su-body h2 { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.35; margin-bottom: 6px; }
.su-body p.sub { color: var(--muted); font-size: 14.5px; line-height: 1.9; margin-bottom: 26px; }
.big-input { width: 100%; height: 64px; background: none; border: 0; border-bottom: 2px solid var(--line-2); outline: 0; font-size: 28px; font-weight: 800; transition: border-color 0.3s; }
.big-input:focus { border-color: var(--ember); }
.big-input::placeholder { color: var(--dim); font-weight: 500; }
.lbl { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin: 26px 0 10px; }
.dob { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 10px; direction: rtl; }
.dob input { width: 100%; min-width: 0; height: 58px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--line-2); outline: 0; text-align: center; font-size: 20px; font-weight: 800; transition: border-color 0.25s, box-shadow 0.25s; }
.dob input:focus { border-color: var(--ember); box-shadow: 0 0 0 4px rgba(255, 106, 61, 0.15); }
.dob input::placeholder { color: var(--dim); font-weight: 500; font-size: 15px; }
.age-chip { display: inline-flex; margin-top: 14px; padding: 8px 14px; border-radius: 14px; background: var(--grad-soft); border: 1px solid rgba(255, 106, 61, 0.3); font-weight: 700; font-size: 14px; animation: pop 0.5s var(--spring) both; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; padding: 22px 14px; border-radius: 22px; background: var(--surface); border: 2px solid var(--line); text-align: center; cursor: pointer; transition: all 0.35s var(--spring); }
.choice:hover { border-color: var(--line-2); }
.choice.on { border-color: var(--ember); background: rgba(255, 106, 61, 0.1); transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(255, 46, 85, 0.6); }
.choice .ce { font-size: 42px; display: block; margin-bottom: 8px; transition: transform 0.4s var(--spring); }
.choice.on .ce { transform: scale(1.15) rotate(-6deg); }
.choice b { display: block; font-size: 15.5px; }
.choice small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; line-height: 1.7; }
.choice .ck { position: absolute; top: 10px; left: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; transform: scale(0); transition: transform 0.35s var(--spring); }
.choice.on .ck { transform: scale(1); }
.choice .ck svg.i { width: 14px; height: 14px; stroke-width: 3; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 118px; gap: 10px; }
.photo-grid .slot { position: relative; border-radius: 18px; border: 2px dashed var(--line-2); background: var(--surface); display: grid; place-items: center; cursor: pointer; overflow: hidden; color: var(--ember); transition: border-color 0.3s, transform 0.25s var(--spring); }
.photo-grid .slot:first-child { grid-column: span 2; grid-row: span 2; }
.photo-grid .slot:active { transform: scale(0.96); }
.photo-grid .slot.filled { border: 0; }
.photo-grid .slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: pop 0.5s var(--spring) both; }
.photo-grid .slot .rm { position: absolute; top: 6px; left: 6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff; z-index: 1; }
.photo-grid .slot .rm svg.i { width: 14px; height: 14px; }
.photo-grid .slot .num { position: absolute; bottom: 6px; right: 8px; font-size: 11px; font-weight: 800; z-index: 1; text-shadow: 0 1px 4px #000; color: #fff; }
.photo-grid .slot .main-tag { position: absolute; bottom: 8px; right: 8px; z-index: 1; }
.plus-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px -4px rgba(255, 46, 85, 0.6); }
.plus-ic svg.i { width: 20px; height: 20px; stroke-width: 2.6; }
.tip { margin-top: 18px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 192, 74, 0.08); border: 1px solid rgba(255, 192, 74, 0.25); font-size: 13px; color: #ffdca0; line-height: 1.8; }
.counter-line { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.counter-line b { color: var(--ember); }
.int-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.int-cloud .chip { height: 40px; padding: 0 16px; font-size: 14px; cursor: pointer; }
.int-cloud .chip.on { animation: bump 0.4s var(--spring); }
.loc-visual { position: relative; height: 250px; display: grid; place-items: center; margin: 10px 0 20px; }
.loc-visual .ring-p { position: absolute; width: 90px; height: 90px; border-radius: 50%; border: 2px solid rgba(255, 46, 85, 0.5); animation: ripple 2.6s ease-out infinite; }
.loc-visual .ring-p:nth-child(2) { animation-delay: 0.9s; }
.loc-visual .ring-p:nth-child(3) { animation-delay: 1.8s; }
.loc-visual .pin-big { position: relative; width: 84px; height: 84px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grad); display: grid; place-items: center; box-shadow: 0 20px 40px -10px rgba(255, 46, 85, 0.8); animation: pinDrop 1s var(--spring) both; }
.loc-visual .pin-big span { transform: rotate(45deg); font-size: 34px; }
@keyframes pinDrop { from { transform: rotate(-45deg) translate(-60px, -60px); opacity: 0; } to { transform: rotate(-45deg); opacity: 1; } }
.loc-visual .mini { position: absolute; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--ember); animation: pop 0.6s var(--spring) both, bob 4s ease-in-out infinite; }
.loc-found { text-align: center; padding: 12px; border-radius: 16px; background: rgba(41, 227, 161, 0.1); border: 1px solid rgba(41, 227, 161, 0.3); color: var(--mint); font-weight: 700; animation: pop 0.5s var(--spring) both; }
.su-foot { padding: 12px 24px 40px; }
.su-done { position: absolute; inset: 0; z-index: 10; background: radial-gradient(circle at 50% 35%, #3b0d1c, var(--bg) 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; text-align: center; animation: fadeIn 0.5s both; overflow: hidden; }
.su-done .pv { position: relative; width: 210px; height: 280px; border-radius: 26px; overflow: hidden; margin-bottom: 26px; box-shadow: 0 30px 60px -10px rgba(255, 46, 85, 0.6); animation: pop 0.8s var(--spring) both; transform: rotate(-4deg); }
.su-done .pv img { width: 100%; height: 100%; object-fit: cover; }
.su-done .pv .shade { position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,.85)); }
.su-done .pv b { position: absolute; bottom: 14px; right: 16px; font-family: var(--display); font-weight: 400; font-size: 26px; }
.su-done h2 { font-family: var(--display); font-weight: 400; font-size: 34px; margin-bottom: 6px; animation: rise 0.6s 0.2s var(--ease) both; }
.su-done p { color: var(--muted); line-height: 1.9; margin-bottom: 24px; animation: rise 0.6s 0.3s var(--ease) both; }
.su-done .btns { width: 100%; display: grid; gap: 12px; animation: rise 0.6s 0.4s var(--ease) both; }

/* ---------- Verification ---------- */
.verify { text-align: center; }
.vf-body { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 10px 26px 40px; }
.vf-frame { position: relative; width: 260px; height: 260px; margin: 16px 0 28px; }
.vf-frame .cam { position: absolute; inset: 18px; border-radius: 50%; overflow: hidden; background: #000; }
.vf-frame .cam img { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); transition: filter 0.5s; filter: saturate(0.9) brightness(0.85); }
.vf-frame .cam.turn img { animation: headTurn 2s ease-in-out; }
@keyframes headTurn { 50% { transform: scaleX(-1) translateX(-14px) rotateY(18deg); } }
.vf-frame .scan { position: absolute; inset-inline: 0; height: 70px; background: linear-gradient(transparent, rgba(41, 227, 161, 0.45), transparent); top: -70px; opacity: 0; }
.vf-frame.scanning .scan { opacity: 1; animation: scan 1.6s ease-in-out infinite; }
@keyframes scan { 0% { top: -70px; } 100% { top: 100%; } }
.vf-frame .dots { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s; }
.vf-frame.scanning .dots { opacity: 1; }
.vf-frame .dots i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.vf-frame svg.vring { position: absolute; inset: 0; transform: rotate(-90deg); }
.vf-frame svg.vring circle { fill: none; stroke-width: 6; stroke-linecap: round; }
.vf-frame svg.vring .bg { stroke: rgba(255, 255, 255, 0.08); stroke-dasharray: 4 8; }
.vf-frame svg.vring .fg { stroke: var(--mint); stroke-dasharray: 754; stroke-dashoffset: 754; transition: stroke-dashoffset 1.2s var(--ease); filter: drop-shadow(0 0 6px rgba(41, 227, 161, 0.8)); }
.vf-frame .spin { position: absolute; inset: 6px; border-radius: 50%; border: 2px dashed rgba(255, 106, 61, 0.45); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.vf-frame .done { position: absolute; inset: 18px; border-radius: 50%; background: rgba(41, 227, 161, 0.85); display: grid; place-items: center; opacity: 0; transform: scale(0.6); transition: all 0.6s var(--spring); }
.vf-frame.ok .done { opacity: 1; transform: none; }
.vf-frame .done svg { width: 90px; height: 90px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.vf-frame.ok .done svg { animation: draw 0.6s 0.3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.vf-title { font-family: var(--display); font-weight: 400; font-size: 28px; margin-bottom: 8px; min-height: 42px; }
.vf-text { color: var(--muted); line-height: 1.9; font-size: 14.5px; min-height: 56px; margin-bottom: 20px; }
.vf-steps { display: flex; gap: 8px; margin-bottom: 26px; }
.vf-steps i { width: 34px; height: 6px; border-radius: 6px; background: var(--surface-3); transition: background 0.4s; }
.vf-steps i.on { background: var(--mint); }
.vf-perks { width: 100%; display: grid; gap: 10px; margin-bottom: 24px; text-align: right; }
.vf-perks div { display: flex; gap: 12px; align-items: center; font-size: 13.5px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.vf-perks span { font-size: 20px; }
.vf-body .btn { width: 100%; margin-top: auto; }

/* ---------- Notifications ---------- */
.notif { display: flex; gap: 14px; align-items: center; padding: 12px 18px; position: relative; cursor: pointer; transition: background 0.25s; animation: fadeIn 0.5s var(--ease) both; }
.notif:hover { background: rgba(255, 255, 255, 0.03); }
.notif.unread { background: linear-gradient(-90deg, rgba(255, 46, 85, 0.08), transparent 70%); }
.notif .n-av { position: relative; width: 54px; height: 54px; flex-shrink: 0; }
.notif .n-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.notif .n-av img.sq { border-radius: 16px; }
.notif .n-av img.blur { filter: blur(6px); }
.notif .n-av .n-ic { position: absolute; bottom: -3px; left: -3px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; border: 2.5px solid var(--bg); }
.notif .n-av .big-ic { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; font-size: 24px; }
.notif .n-txt { flex: 1; font-size: 14px; line-height: 1.75; }
.notif .n-txt small { display: block; color: var(--dim); font-size: 12px; }
.notif .n-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--chili); flex-shrink: 0; box-shadow: 0 0 10px var(--chili); transition: transform 0.3s var(--spring); }
.notif:not(.unread) .n-dot { transform: scale(0); }
.notif .n-btn { height: 34px; padding: 0 14px; border-radius: 12px; font-size: 12.5px; font-weight: 800; background: var(--grad); flex-shrink: 0; }

/* ---------- Events ---------- */
.ev-sub { padding: 0 18px 12px; margin-top: -6px; color: var(--muted); font-size: 13.5px; display: flex; align-items: center; gap: 4px; }
.ev-sub svg.i { width: 15px; height: 15px; color: var(--ember); }
.ev-feat { position: relative; margin: 0 18px 18px; height: 300px; border-radius: 28px; overflow: hidden; cursor: pointer; box-shadow: 0 24px 50px -16px rgba(255, 46, 85, 0.5); animation: fadeIn 0.6s var(--ease) both; }
.ev-feat > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ev-feat:hover > img { transform: scale(1.06); }
.ev-feat .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.2), transparent 30%, rgba(10,4,7,.92) 85%); }
.ev-feat .top { position: absolute; top: 14px; inset-inline: 14px; display: flex; justify-content: space-between; }
.ev-feat .bottom { position: absolute; bottom: 16px; inset-inline: 18px; }
.ev-feat h3 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.3; }
.ev-feat .meta { display: flex; gap: 12px; color: rgba(255,255,255,.85); font-size: 13px; margin: 4px 0 12px; }
.ev-feat .meta span { display: inline-flex; align-items: center; gap: 4px; }
.ev-feat .meta svg.i { width: 14px; height: 14px; }
.ev-feat .row { display: flex; justify-content: space-between; align-items: center; }
.countdown { display: flex; gap: 6px; direction: rtl; }
.countdown div { min-width: 46px; padding: 6px 4px; border-radius: 12px; background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px); text-align: center; border: 1px solid rgba(255,255,255,.1); }
.countdown b { display: block; font-size: 17px; font-weight: 900; line-height: 1.2; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 10px; color: rgba(255,255,255,.7); }
.stack { display: flex; align-items: center; }
.stack img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); }
.stack img + img { margin-right: -10px; }
.stack .more-n { margin-right: -10px; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); border: 2px solid var(--bg); font-size: 10.5px; font-weight: 800; display: grid; place-items: center; }
.ev-list { display: grid; gap: 12px; padding: 0 18px 18px; }
.ev-item { display: flex; gap: 14px; padding: 10px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: transform 0.3s var(--spring), border-color 0.3s; animation: fadeIn 0.5s var(--ease) both; }
.ev-item:hover { transform: translateY(-2px); border-color: rgba(255, 106, 61, 0.35); }
.ev-item .thumb { position: relative; width: 96px; height: 104px; border-radius: 16px; overflow: hidden; flex-shrink: 0; }
.ev-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ev-item .thumb .date { position: absolute; top: 6px; right: 6px; padding: 3px 7px; border-radius: 10px; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); text-align: center; line-height: 1.2; }
.ev-item .thumb .date b { display: block; font-size: 15px; font-weight: 900; }
.ev-item .thumb .date small { font-size: 9.5px; }
.ev-item .info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 2px 0; }
.ev-item .cat { font-size: 11.5px; font-weight: 700; color: var(--ember); }
.ev-item h4 { font-size: 15px; font-weight: 800; line-height: 1.5; }
.ev-item .where { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-item .where svg.i { width: 13px; height: 13px; flex-shrink: 0; }
.spots { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); }
.spots .bar { flex: 1; height: 5px; border-radius: 5px; background: var(--surface-3); overflow: hidden; }
.spots .bar i { display: block; height: 100%; border-radius: 5px; background: var(--grad); }
.spots.low { color: var(--chili); font-weight: 700; }
.ev-h-scroll { display: flex; gap: 12px; padding: 0 18px 22px; overflow-x: auto; scrollbar-width: none; }
.ev-h-scroll::-webkit-scrollbar { display: none; }
.ev-mini { flex-shrink: 0; width: 170px; cursor: pointer; animation: fadeIn 0.5s var(--ease) both; }
.ev-mini .im { position: relative; height: 120px; border-radius: 20px; overflow: hidden; margin-bottom: 8px; }
.ev-mini .im img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.ev-mini:hover .im img { transform: scale(1.08); }
.ev-mini .im .stack { position: absolute; bottom: 8px; right: 8px; }
.ev-mini .im .stack img { width: 24px; height: 24px; }
.ev-mini b { display: block; font-size: 13.5px; font-weight: 800; }
.ev-mini small { color: var(--muted); font-size: 11.5px; }

/* Event detail */
.ev-detail .hero { position: relative; height: 360px; overflow: hidden; flex-shrink: 0; }
.ev-detail .hero img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.ev-detail .hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), transparent 35%, transparent 55%, var(--bg)); }
.ev-detail .floating-head { position: absolute; top: 0; inset-inline: 0; z-index: 5; display: flex; justify-content: space-between; padding: 58px 16px 10px; transition: background 0.3s, backdrop-filter 0.3s; }
.ev-detail .floating-head.solid { background: rgba(14, 7, 9, 0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
.ev-detail .floating-head .g { display: flex; gap: 8px; }
.ev-detail .floating-head .icon-btn { background: rgba(0, 0, 0, 0.35); backdrop-filter: blur(12px); border-color: rgba(255,255,255,.12); }
.ev-detail .floating-head .icon-btn.saved { color: var(--saffron); }
.ev-detail .floating-head .icon-btn.saved svg.i { fill: var(--saffron); }
.ev-detail .body { padding: 0 20px 130px; margin-top: -60px; position: relative; }
.ev-detail h1 { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.35; margin: 8px 0 16px; }
.info-rows { display: grid; gap: 2px; border-radius: 22px; overflow: hidden; margin-bottom: 14px; }
.info-rows div { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); }
.info-rows .ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); color: var(--ember); flex-shrink: 0; }
.info-rows b { display: block; font-size: 14.5px; }
.info-rows small { color: var(--muted); font-size: 12.5px; }
.host { display: flex; align-items: center; gap: 12px; }
.host img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.host .btn { height: 38px; padding: 0 14px; font-size: 13px; margin-inline-start: auto; }
.balance { display: flex; height: 10px; border-radius: 10px; overflow: hidden; margin: 10px 0 6px; }
.balance i:first-child { background: var(--sky); }
.balance i:last-child { background: var(--chili); }
.balance i { transition: width 1.2s var(--ease); width: 0; }
.balance-l { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.expect { display: grid; gap: 10px; }
.expect div { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.expect span { width: 32px; height: 32px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; font-size: 16px; }
.mapbox { position: relative; height: 160px; border-radius: 18px; overflow: hidden; background: #1d1218; }
.mapbox svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapbox .mp { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -100%); font-size: 30px; animation: bob 2.4s ease-in-out infinite; filter: drop-shadow(0 6px 10px rgba(0,0,0,.6)); }
.mapbox .mp-ring { position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid var(--chili); animation: ripple 2s ease-out infinite; }
.book-bar { position: absolute; bottom: 0; inset-inline: 0; z-index: 6; display: flex; align-items: center; gap: 14px; padding: 14px 20px 34px; background: rgba(14, 7, 9, 0.9); backdrop-filter: blur(20px); border-top: 1px solid var(--line); }
.book-bar .price small { display: block; color: var(--muted); font-size: 12px; }
.book-bar .price b { font-size: 19px; font-weight: 900; }
.book-bar .btn { flex: 1; }
.book-bar .btn.booked { background: rgba(41, 227, 161, 0.15); color: var(--mint); box-shadow: none; border: 1px solid rgba(41, 227, 161, 0.4); }
.book-bar .btn.booked::after { display: none; }

/* Ticket */
.ticket { position: relative; border-radius: 24px; background: var(--surface-2); overflow: hidden; margin: 6px 0 18px; animation: ticketIn 0.8s var(--spring) both; }
@keyframes ticketIn { from { transform: translateY(40px) rotate(-3deg) scale(0.9); opacity: 0; } to { transform: none; opacity: 1; } }
.ticket .t-img { height: 130px; position: relative; }
.ticket .t-img img { width: 100%; height: 100%; object-fit: cover; }
.ticket .t-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, var(--surface-2)); }
.ticket .t-body { padding: 0 18px 16px; margin-top: -24px; position: relative; }
.ticket .t-body h4 { font-family: var(--display); font-weight: 400; font-size: 22px; }
.ticket .t-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 10px; }
.ticket .t-grid small { display: block; font-size: 11px; color: var(--dim); }
.ticket .t-grid b { font-size: 13.5px; }
.ticket .cut { position: relative; height: 24px; display: flex; align-items: center; }
.ticket .cut::before, .ticket .cut::after { content: ""; position: absolute; width: 24px; height: 24px; border-radius: 50%; background: var(--bg-2); }
.ticket .cut::before { right: -12px; }
.ticket .cut::after { left: -12px; }
.ticket .cut i { flex: 1; margin: 0 18px; border-top: 2px dashed var(--line-2); }
.ticket .t-qr { display: flex; align-items: center; gap: 16px; padding: 4px 18px 18px; }
.ticket .t-qr svg { width: 92px; height: 92px; background: #fff; border-radius: 12px; padding: 6px; flex-shrink: 0; }
.ticket .t-qr b { display: block; font-size: 18px; letter-spacing: 2px; direction: ltr; text-align: right; }
.ticket .t-qr small { color: var(--muted); font-size: 12px; line-height: 1.8; }

/* ---------- Edit profile ---------- */
.ep-seg { margin: 0 18px 14px; }
.ep-seg.seg { grid-template-columns: 1fr 1fr; }
.ep-seg .seg-ind { width: calc((100% - 8px) / 2); }
.strength { margin: 0 18px 16px; padding: 14px 16px; border-radius: 18px; background: var(--grad-soft); border: 1px solid rgba(255, 106, 61, 0.25); }
.strength .row { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.strength .row b { color: var(--saffron); }
.strength .bar { height: 7px; border-radius: 7px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.strength .bar i { display: block; height: 100%; border-radius: 7px; background: var(--grad); transition: width 1s var(--ease); }
.ep-pad { padding: 0 18px; }
.ep-pad .photo-grid { grid-auto-rows: 108px; margin-bottom: 20px; }
.ta-wrap { position: relative; margin-bottom: 18px; }
.ta-wrap textarea { width: 100%; min-height: 110px; resize: none; border-radius: 18px; background: var(--surface); border: 1.5px solid var(--line); padding: 14px 16px 28px; font-size: 14.5px; line-height: 1.9; outline: 0; transition: border-color 0.25s; }
.ta-wrap textarea:focus { border-color: rgba(255, 106, 61, 0.6); }
.ta-wrap .cnt { position: absolute; bottom: 10px; left: 14px; font-size: 11.5px; color: var(--dim); }
.prompt-edit { position: relative; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 10px; cursor: pointer; }
.prompt-edit small { display: block; color: var(--ember); font-size: 12.5px; font-weight: 700; margin-bottom: 4px; }
.prompt-edit p { font-family: var(--display); font-size: 19px; line-height: 1.6; }
.prompt-edit .pe-ic { position: absolute; top: 14px; left: 14px; color: var(--dim); }
.prompt-edit .pe-ic svg.i { width: 16px; height: 16px; }
.add-prompt { width: 100%; padding: 14px; border-radius: 18px; border: 2px dashed var(--line-2); color: var(--ember); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 20px; }
.add-prompt svg.i { width: 18px; height: 18px; }
.ep-pad .list { margin: 0 0 20px; }
.life-row { margin-bottom: 16px; }
.life-row > small { display: block; font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.life-row .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.life-row .chip { cursor: pointer; }
.preview-wrap { position: relative; height: 560px; margin: 0 18px 24px; }
.preview-wrap .card { cursor: default; }

/* ---------- Settings ---------- */
.set-list { margin: 0 18px 8px; }
.swatches { display: flex; gap: 10px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 3px solid transparent; box-shadow: 0 0 0 2px var(--line-2); transition: transform 0.3s var(--spring), box-shadow 0.3s; }
.swatch.on { transform: scale(1.12); box-shadow: 0 0 0 2px #fff; border-color: var(--bg); }
.mini-seg { display: flex; padding: 3px; border-radius: 12px; background: var(--surface-3); }
.mini-seg button { padding: 5px 12px; border-radius: 9px; font-size: 12.5px; font-weight: 700; color: var(--muted); transition: all 0.3s; }
.mini-seg button.on { background: var(--grad); color: #fff; }
.gold-mini { font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 8px; background: var(--gold); color: #3a1d00; }
.danger-btn { display: block; width: calc(100% - 36px); margin: 8px 18px 6px; height: 52px; border-radius: 18px; border: 1px solid rgba(255, 46, 85, 0.35); color: var(--chili); font-weight: 800; background: rgba(255, 46, 85, 0.06); }
.confirm-ic { width: 76px; height: 76px; margin: 4px auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; background: rgba(255, 46, 85, 0.12); animation: pop 0.6s var(--spring) both; }

/* ---------- Call ---------- */
.call { background: #000; }
.call .call-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(40px) brightness(0.45) saturate(1.3); transform: scale(1.1); transition: filter 0.8s; }
.call.video.live .call-bg { filter: none; inset: 0; transform: none; }
.call .call-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 30%, transparent 60%, rgba(0,0,0,.75)); }
.call .c-top { position: relative; z-index: 2; padding: 66px 20px 0; display: flex; justify-content: space-between; align-items: center; }
.call .secure { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 6px 12px; border-radius: 20px; background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(12px); }
.call .secure svg.i { width: 13px; height: 13px; }
.call .c-mid { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transition: opacity 0.5s, transform 0.6s var(--ease); }
.call.video.live .c-mid { justify-content: flex-start; padding-top: 10px; }
.call.video.live .c-av { display: none; }
.call .c-av { position: relative; width: 150px; height: 150px; margin-bottom: 26px; }
.call .c-av img { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255, 255, 255, 0.2); z-index: 1; }
.call .c-av i { position: absolute; inset: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); animation: callRing 2.4s ease-out infinite; }
.call .c-av i:nth-child(2) { animation-delay: 0.8s; }
.call .c-av i:nth-child(3) { animation-delay: 1.6s; }
.call.live .c-av i { animation-play-state: paused; opacity: 0; }
@keyframes callRing { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.9); opacity: 0; } }
.call .c-name { font-family: var(--display); font-weight: 400; font-size: 36px; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.call .c-status { color: rgba(255, 255, 255, 0.75); font-size: 15px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.call .wave { display: flex; gap: 4px; height: 30px; align-items: center; margin-top: 18px; opacity: 0; transition: opacity 0.4s; }
.call.live:not(.video) .wave { opacity: 1; }
.call .wave i { width: 4px; border-radius: 4px; background: rgba(255,255,255,.85); animation: wave 1s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 6px; } 50% { height: 28px; } }
.call .pip { position: absolute; top: 120px; left: 18px; z-index: 4; width: 104px; height: 150px; border-radius: 20px; overflow: hidden; border: 2px solid rgba(255,255,255,.3); box-shadow: 0 10px 30px rgba(0,0,0,.6); touch-action: none; cursor: grab; opacity: 0; transform: scale(0.6); transition: opacity 0.5s, transform 0.5s var(--spring); }
.call.video .pip { opacity: 1; transform: none; }
.call .pip img { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); pointer-events: none; }
.call .pip.off img { display: none; }
.call .pip.off { background: var(--surface-2); display: grid; place-items: center; }
.call .pip.off::after { content: "📷"; font-size: 24px; opacity: 0.6; }
.call .c-ctrls { position: relative; z-index: 2; display: flex; justify-content: center; gap: 18px; padding: 20px 20px 56px; }
.call .cb { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11.5px; color: rgba(255,255,255,.8); }
.call .cb span { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(14px); transition: transform 0.25s var(--spring), background 0.25s; }
.call .cb:active span { transform: scale(0.88); }
.call .cb.on span { background: #fff; color: #111; }
.call .cb.end span { background: #ff3b4e; box-shadow: 0 10px 26px -6px rgba(255, 59, 78, 0.8); }
.call .cb.end svg.i { transform: rotate(135deg); fill: #fff; stroke: none; }
.call.ended .c-mid, .call.ended .c-ctrls { opacity: 0.5; }

/* ---------- Visitors ---------- */
.vis-card { margin: 0 18px 18px; padding: 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.vis-card .top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.vis-card .top b { display: block; font-size: 30px; font-weight: 900; }
.vis-card .top small { color: var(--muted); font-size: 13px; }
.vis-card .trend { padding: 4px 10px; border-radius: 10px; background: rgba(41, 227, 161, 0.12); color: var(--mint); font-size: 12.5px; font-weight: 800; }
.chart { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.chart div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.chart i { width: 100%; border-radius: 8px 8px 4px 4px; background: var(--surface-3); height: 0; transition: height 1s var(--spring); position: relative; }
.chart div.today i { background: var(--grad); box-shadow: 0 6px 18px -4px rgba(255, 46, 85, 0.7); }
.chart small { font-size: 11px; color: var(--dim); }
.chart div.today small { color: var(--text); font-weight: 800; }
.vis { display: flex; align-items: center; gap: 14px; padding: 10px 18px; animation: fadeIn 0.5s var(--ease) both; }
.vis img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.vis.locked img { filter: blur(7px); }
.vis .v-txt { flex: 1; }
.vis .v-txt b { display: block; font-size: 15px; }
.vis .v-txt small { color: var(--dim); font-size: 12px; }
.vis .v-like { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--chili); transition: transform 0.3s var(--spring), background 0.3s; }
.vis .v-like.on { background: var(--grad); color: #fff; border-color: transparent; transform: scale(1.1); }
.vis .v-like.on svg.i { fill: #fff; }
.vis .v-like svg.i { width: 19px; height: 19px; }

@media (max-width: 500px) {
  .sub-head { padding-top: max(14px, env(safe-area-inset-top)); }
  .signup { padding-top: max(16px, env(safe-area-inset-top)); }
  .ev-detail .floating-head { padding-top: max(14px, env(safe-area-inset-top)); }
  .call .c-top { padding-top: 30px; }
  .book-bar, .su-foot { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}

/* verify: keep the action button reachable on short screens */
.verify .vf-body { overflow-y: auto; min-height: 0; scrollbar-width: none; padding-bottom: 34px; }
.verify .vf-body::-webkit-scrollbar { display: none; }
.verify .vf-frame { width: 220px; height: 220px; margin: 6px 0 20px; flex-shrink: 0; }
.verify .vf-frame .cam, .verify .vf-frame .done { inset: 16px; }
.verify .vf-perks div { padding: 10px 14px; }
.verify .vf-body .btn { flex-shrink: 0; }
