:root {
	
	--primary: #0C45B2;
	--primary-dark: #093585;
	--line: #ECE6D8;
	--ink: #17181C;
	--muted: #5E5F66;
	--gold-dark: #E6BE00;
	--radius-sm: 12px;
	--font: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--page: #F4F6FA;
	--card: #FFFFFF;
	--border: #E3E8F0;
	--head: #0F172A;
	--text-2: #4B5568;
	--tint: #EDF2FC;
	--primary-deep: #0A2F80;
	--amber: #B7791F;
	--ui: "Plus Jakarta Sans", "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--card-pad: 22px 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
	background: var(--page);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; }

.container { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 16px; }
.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 200;
	background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px;
	text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 2px; border-radius: 6px; }
main:focus { outline: 0; }
main :focus-visible, .site-footer :focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.hero-card :focus-visible { outline-color: #fff; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	border: 2px solid transparent; border-radius: var(--radius-sm);
	padding: 15px 22px; font-weight: 700; font-size: 16px; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 12px 18px; font-size: 15px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }

/* Page buttons (the header does not use these) */
.btn-md { padding: 12px 22px; border-radius: 10px; font-family: var(--ui); font-size: 15px; font-weight: 600; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--tint); }

/* ---------- Header (unchanged) ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 100px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { color: var(--primary);  font-weight: 800; letter-spacing: 0.3px; }
.brand-text small { color: var(--muted); font-size: 15px; }


/* =========================================================
   Page layout: one column of cards
   ========================================================= */
main { display: block; padding: 16px 0 8px; font-family: var(--ui); font-size: 15px; line-height: 1.55; color: var(--head); }
.section { padding: 8px 0; }

.card {
	padding: var(--card-pad);
	background: var(--card); border: 1px solid var(--border); border-radius: 16px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 18px; }
.sec-head h2 { font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.text-link { color: var(--primary); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.badge { padding: 4px 12px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }

.avatar {
	flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 14px; font-weight: 700;
}
.avatar-sq { border-radius: 12px; }
.avatar-tint { background: var(--tint); color: var(--primary); }
.row-info { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.row-info strong { font-size: 15px; font-weight: 600; }
.row-info small { font-size: 14px; color: var(--text-2); }
.row-main h3, .row-main strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; }
.row-main p, .row-main small { display: block; font-size: 14px; color: var(--text-2); }

.date-chip {
	flex: 0 0 auto; width: 56px; padding: 7px 0; border-radius: 10px; background: var(--tint); color: var(--head);
	display: flex; flex-direction: column; align-items: center; line-height: 1.15; text-align: center;
}
.date-chip span, .date-chip small { font-size: 11px; font-weight: 600; color: var(--text-2); }
.date-chip strong { font-size: 19px; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 16px; padding: 22px 0 36px; border-top: 1px solid var(--border); text-align: center; font-family: var(--ui); font-size: 14px; color: var(--text-2); }
.site-footer a { color: var(--primary); font-weight: 600; }

/* ---------- Floating buttons ---------- */
.float-btn {
	position: fixed; right: 16px; z-index: 90;
	width: 46px; height: 46px; border-radius: 50%; border: 0;
	display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 20px; cursor: pointer; text-decoration: none;
	box-shadow: 0 6px 18px rgba(15, 23, 42, .22);
	transition: transform .2s, opacity .25s, visibility .25s, background-color .2s;
}
.float-btn:hover { transform: translateY(-3px); }
.whatsapp-btn { bottom: 20px; background: #25D366; font-size: 25px; }
.whatsapp-btn:hover { background: #1EBE5A; }
.top-btn { bottom: 20px; background: var(--primary); font-size: 15px; opacity: 0; visibility: hidden; }
.whatsapp-btn ~ .top-btn { bottom: 76px; }
.top-btn.show { opacity: 1; visibility: visible; }
.top-btn:hover { background: var(--primary-dark); }

/* ---------- Page loader (spoke spinner) ---------- */
body.is-loading { overflow: hidden; }
.page-loader {
	position: fixed; inset: 0; z-index: 1000;
	display: flex; align-items: center; justify-content: center;
	background: #fff;
	transition: opacity .4s ease, visibility .4s ease;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
/* Fallback if JavaScript is off: the loader fades out and scrolling unlocks after 7s (custom.js normally hides it first) */
.page-loader { animation: loader-fallback .01s 7s forwards; }
body.is-loading { animation: loader-unlock .01s 7s forwards; }
@keyframes loader-fallback { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@keyframes loader-unlock { to { overflow: auto; } }
.spinner { position: relative; width: 56px; height: 56px; }
.spinner span {
	position: absolute; left: 26px; top: 0; width: 4px; height: 14px; border-radius: 4px;
	background: var(--primary); opacity: .12; transform-origin: 2px 28px;
	animation: spoke 1s linear infinite;
}
@keyframes spoke { 0% { opacity: 1; } 100% { opacity: .12; } }
.spinner span:nth-child(1) { transform: rotate(0deg); animation-delay: -1.0s; }
.spinner span:nth-child(2) { transform: rotate(30deg); animation-delay: -0.917s; }
.spinner span:nth-child(3) { transform: rotate(60deg); animation-delay: -0.833s; }
.spinner span:nth-child(4) { transform: rotate(90deg); animation-delay: -0.75s; }
.spinner span:nth-child(5) { transform: rotate(120deg); animation-delay: -0.667s; }
.spinner span:nth-child(6) { transform: rotate(150deg); animation-delay: -0.583s; }
.spinner span:nth-child(7) { transform: rotate(180deg); animation-delay: -0.5s; }
.spinner span:nth-child(8) { transform: rotate(210deg); animation-delay: -0.417s; }
.spinner span:nth-child(9) { transform: rotate(240deg); animation-delay: -0.333s; }
.spinner span:nth-child(10) { transform: rotate(270deg); animation-delay: -0.25s; }
.spinner span:nth-child(11) { transform: rotate(300deg); animation-delay: -0.167s; }
.spinner span:nth-child(12) { transform: rotate(330deg); animation-delay: -0.083s; }


/* =========================================================
   DANGAL "Matchday Journey": same palette, one vertical track
   Sections stack in a single column, joined by a gold spine.
   ========================================================= */
:root{--display:"Bricolage Grotesque","Plus Jakarta Sans",system-ui,sans-serif;--shadow:0 18px 40px -24px rgba(10,47,128,.35)}
body{background:var(--page);background-image:radial-gradient(700px 380px at 100% 0,rgba(12,69,178,.08),transparent 70%),radial-gradient(600px 320px at 0 40%,rgba(230,190,0,.10),transparent 70%);background-repeat:no-repeat}
h1,h2,h3{font-family:var(--display);color:var(--head)}
main{margin:0 auto;padding:18px 0 10px;counter-reset:sec}
.section{position:relative;margin-bottom:0}
.section+.section{padding-top:44px}

/* hero */
.hero-card{position:relative;display:grid;gap:26px;padding:34px 22px;border-radius:30px;color:#fff;overflow:hidden;background:radial-gradient(420px 260px at 90% 0,rgba(230,190,0,.30),transparent 70%),linear-gradient(150deg,var(--primary-deep),var(--primary));box-shadow:var(--shadow)}
.hero-card::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.05) 0 1px,transparent 1px 56px);pointer-events:none}
.hero-card::after{content:attr(data-day);position:absolute;right:-14px;top:-30px;font:800 220px/1 var(--display);color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.18);pointer-events:none}
.hero-card>*{position:relative;z-index:1}
.live{display:inline-flex;align-items:center;gap:10px;padding:7px 14px;border-radius:99px;background:rgba(255,255,255,.14);font-weight:700;font-size:14px}
.live::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--gold-dark);animation:ping 1.8s infinite}
@keyframes ping{0%{box-shadow:0 0 0 0 rgba(230,190,0,.8)}80%,100%{box-shadow:0 0 0 10px transparent}}
.hero-copy h1{margin:18px 0 12px;color:#fff;font-size:clamp(34px,8.5vw,64px);line-height:1.02;letter-spacing:-1.5px;font-weight:800;max-width:15ch}
.hero-copy h1 em{font-style:normal;color:var(--gold-dark)}
.hero-sub{color:rgba(255,255,255,.82);font-size:17px;margin-bottom:24px}
.season{display:flex;align-items:center;gap:18px;padding:16px;border-radius:20px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18)}
.ring{--p:25;flex:none;width:96px;height:96px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--gold-dark) calc(var(--p)*1%),rgba(255,255,255,.22) 0)}
.ring b{display:grid;place-items:center;width:78px;height:78px;border-radius:50%;background:var(--primary-deep);font:800 28px var(--display)}
.season-meta{flex:1;min-width:0}.season-head{display:block;margin:0 0 10px;font-size:15px}.season-head strong{font-size:18px}.season-head span{margin-left:6px;color:rgba(255,255,255,.78)}
.weeks{display:grid;grid-template-columns:repeat(26,1fr);gap:2px}
.weeks span{height:18px;border-radius:3px;background:rgba(255,255,255,.22)}
.weeks .done{background:var(--gold-dark)}
.weeks .now{--p:57%;background:linear-gradient(90deg,var(--gold-dark) var(--p),rgba(255,255,255,.22) var(--p))}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.stats li{padding:14px 12px;border-radius:16px;background:#fff;color:var(--head)}
.stats strong{display:block;font:800 clamp(22px,6vw,34px) var(--display);color:var(--primary)}
.stats span{font-size:13px;color:var(--text-2)}
/* cards + chapter heads */
.card{background:var(--card);border:1px solid var(--border);border-radius:26px;padding:24px 18px;box-shadow:var(--shadow)}
.sec-head{display:flex;align-items:center;gap:12px;margin-bottom:20px}
.sec-head h2{font-size:25px;letter-spacing:-.5px;display:flex;align-items:center;gap:12px;margin-right:auto}
.text-link{color:var(--primary);font-weight:700;font-size:14px;text-decoration:none;white-space:nowrap}.text-link::after{content:" \2192"}
.avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--tint);color:var(--primary);font-weight:800;font-size:14px;flex:none}
.avatar-sq{border-radius:12px}
.row-info,.row-main{display:flex;flex-direction:column;min-width:0;flex:1}
.row-info small,.row-main small,.row-main p{color:var(--text-2);font-size:14px}
/* meetings timeline */
.meet{position:relative;display:grid;gap:12px}
.meet::before{content:"";position:absolute;left:29px;top:10px;bottom:10px;width:2px;background:var(--border)}
.meet li{position:relative;display:flex;align-items:center;gap:14px;padding:6px 0}
.date-chip{flex:none;width:58px;padding:8px 0;border-radius:16px;background:#fff;border:2px solid var(--border);text-align:center;line-height:1.1;position:relative;z-index:1}
.date-chip span,.date-chip small{display:block;font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--text-2)}
.date-chip strong{font:800 22px var(--display);color:var(--head)}
.row-main h3{font-size:18px}
.is-next{padding:10px 12px!important;margin:0 -12px;border-radius:18px;background:var(--tint)}
.is-next .date-chip{background:var(--gold-dark);border-color:var(--gold-dark)}.is-next .date-chip *{color:var(--ink)}
.badge{padding:5px 12px;border-radius:99px;background:var(--primary);color:#fff;font-size:12px;font-weight:700;white-space:nowrap}
/* leaderboard */
.ranks{display:grid;gap:10px;margin-bottom:26px;counter-reset:r}
.rank{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:18px;background:var(--page);border:1px solid var(--border)}
.rank-no{display:grid;place-items:center;width:34px;font:800 26px var(--display);color:var(--primary)}
.rank-1{background:linear-gradient(100deg,rgba(230,190,0,.28),var(--tint));border-color:var(--gold-dark)}
.rank-1 .rank-no{color:var(--amber);font-size:32px}
.pts{font:800 20px var(--display);color:var(--head)}
.sub-title{font-size:16px;color:var(--text-2);margin-bottom:12px}
.groups{display:grid;gap:16px}.group-row{display:flex;justify-content:space-between;margin-bottom:6px;font-weight:700}.group-row span{color:var(--text-2)}
.bar{height:12px;border-radius:99px;background:var(--tint);overflow:hidden}
.bar-fill{display:block;height:100%;width:var(--w);border-radius:99px;background:linear-gradient(90deg,var(--primary),var(--gold-dark));animation:grow 1.4s cubic-bezier(.2,.8,.2,1) both}
@keyframes grow{from{width:0}}
/* event ticket */
.feature{position:relative;padding:26px 22px 24px;border-radius:22px;color:#fff;background:linear-gradient(150deg,var(--primary-deep),var(--primary));margin-bottom:12px;overflow:hidden}
.feature::after{content:"";position:absolute;right:-50px;top:-50px;width:190px;height:190px;border-radius:50%;background:radial-gradient(var(--gold-dark),transparent 70%);opacity:.45}
.feature>*{position:relative;z-index:1}
.feature h3{color:#fff;font-size:34px;letter-spacing:-1px}.guest{color:rgba(255,255,255,.8)}.when{font-weight:700;color:var(--gold-dark);margin:6px 0 16px}
.seats{display:grid;grid-template-columns:repeat(10,1fr);gap:6px;max-width:360px;margin-bottom:8px}
.seats span{aspect-ratio:1;border-radius:6px 6px 3px 3px;background:rgba(255,255,255,.2)}.seats .on{background:var(--gold-dark)}
.seat-text{margin-bottom:18px;color:rgba(255,255,255,.85)}.seat-text b{color:#fff}
.feature .btn-primary{background:var(--gold-dark);color:var(--ink)}.feature .btn-primary:hover{background:#f3cd1a}
.slim{display:flex;align-items:center;gap:14px;padding:14px;border-radius:18px;border:2px dashed var(--border)}
/* deals */
.deals{display:grid;gap:12px}
.deal{display:flex;align-items:center;gap:14px;padding:16px;border-radius:18px;background:linear-gradient(90deg,rgba(230,190,0,.18),var(--card));border:2px dashed var(--gold-dark)}
.deal strong{font-family:var(--display);font-size:17px}
/* directory */
.search-wrap{position:relative;margin-bottom:14px}.search-wrap i{position:absolute;left:18px;top:50%;transform:translateY(-50%);color:var(--text-2)}
.search{width:100%;padding:15px 18px 15px 48px;border-radius:99px;border:2px solid var(--border);background:var(--page);color:var(--ink)}
.search:focus{outline:0;border-color:var(--primary);background:#fff}
.directory-list li{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--border)}
.chip-link{padding:8px 16px;border-radius:99px;border:2px solid var(--primary);color:var(--primary);font-weight:700;font-size:14px;text-decoration:none}.chip-link:hover{background:var(--primary);color:#fff}
.no-results{color:var(--text-2);padding:14px 0}.lock{display:flex;gap:10px;margin-top:16px;padding:14px 16px;border-radius:16px;background:var(--tint);color:var(--text-2);font-size:14px}.lock a{color:var(--primary);font-weight:700}
@media(min-width:768px){
.container{padding:0 28px}.brand img{width:110px}
.hero-card{padding:52px 48px}.card{padding:34px 36px}
.ring{width:120px;height:120px}.ring b{width:98px;height:98px;font-size:34px}.weeks span{height:22px}
.hero-card::after{font-size:300px;right:10px}
}
@media(max-width:420px){.weeks span{height:14px}.ring{width:80px;height:80px}.ring b{width:64px;height:64px;font-size:22px}.hero-card::after{font-size:160px}.sec-head h2{font-size:22px}.is-next{margin:0 -6px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.live::before,.bar-fill{animation:none!important}.wow{animation:none!important;visibility:visible!important}}

/* ---------- Login page ---------- */
.sec-login{padding:28px 0 20px}
.login-card{max-width:460px;margin:0 auto;padding:30px 24px 26px;background:var(--card);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow)}
.login-card h1{margin-bottom:26px;font-family:var(--font);font-size:30px;font-weight:500;line-height:1.2;color:var(--primary)}
.field-label{display:block;margin-bottom:6px;font-size:17px;color:var(--text-2)}
.phone-field .iti{width:100%}
.phone-field input{width:100%;border:1px solid #b9c0cc;border-radius:0;outline:0;padding-top:15px;padding-bottom:15px;padding-right:14px;font-size:17px;color:var(--ink);background:#fff}
.phone-field input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(12,69,178,.15)}
.phone-field.has-error input{border-color:#C0392B}
.phone-field .iti__selected-flag{background:#f1f3f6;padding:0 12px 0 14px;height: 58px;}
.phone-field .iti__selected-dial-code{font-size:16px;font-weight:700;color:var(--ink)}
.iti__country-list{max-width:min(88vw,380px);font-size:15px;z-index:120}
.phone-field input::placeholder{color:#9aa1ad}
.form-msg{margin-top:10px;font-size:14px}.is-error{color:#C0392B}.is-ok{color:#1E7B3A}
.otp-note{margin:26px 0 22px;font-size:17px;color:var(--text-2)}
.otp-note i{color:#1FA855;font-size:22px;vertical-align:-2px}
.btn-submit{gap:14px;padding:14px 22px;border-radius:6px;font-size:19px;font-weight:600;background:var(--primary);color:#fff;border:0;box-shadow:none}
.btn-submit:hover{background:var(--primary-dark);transform:none}
.btn-submit i{font-size:19px}
.back-link{display:inline-block;margin-top:26px;font-size:15px;color:var(--primary);text-decoration:none}
.back-link:hover{text-decoration:underline}

/* ---------- Sticky footer: footer sits at the bottom on short pages ---------- */
html,body{min-height:100%}
.page-wrap{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
main{flex:1 0 auto;width:100%}
.site-footer{margin-top:auto;width:100%}

/* ---------- Login page: card centred in the free space ---------- */
.main-login{display:flex;flex-direction:column}
.main-login .sec-login{width:100%;margin:auto 0;padding:28px 0}

/* ---------- OTP verify page ---------- */
.otp-sub{margin:-8px 0 22px;font-size:16px;color:var(--text-2)}
.otp-sub strong{color:var(--ink)}
.change-link{margin-left:6px;color:var(--primary);font-weight:600;text-decoration:none}.change-link:hover{text-decoration:underline}
.otp-input{display:block;width:100%;padding:14px;border:1px solid #b9c0cc;background:#fff;color:var(--ink);text-align:center;font:700 30px var(--display);letter-spacing:.5em;text-indent:.5em}
.otp-input:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 3px rgba(12,69,178,.15)}
.otp-input.has-error{border-color:#C0392B}
.otp-input::placeholder{color:#c3c8d2;font-weight:400}
.otp-hint{margin:16px 0 0;padding:10px 14px;border-radius:8px;background:var(--tint);color:var(--text-2);font-size:14px}
.otp-hint b{color:var(--primary);letter-spacing:2px}
.otp-input+.otp-hint,.form-msg+.otp-hint{margin-bottom:0}
.otp-hint~.btn-submit{margin-top:22px}
.resend-form{display:flex;align-items:center;gap:10px;margin-top:20px;font-size:15px;color:var(--text-2)}
.resend-btn{padding:0;border:0;background:none;color:var(--primary);font-weight:700;cursor:pointer}
.resend-btn:disabled{color:#9aa1ad;cursor:not-allowed}

/* =========================================================
   MEMBER AREA: header profile, User Information form, dashboard
   Uses the site's own tokens (blue/gold, Bricolage + Plus Jakarta).
   ========================================================= */

/* ---------- Header when signed in ---------- */
.header-user{display:flex;align-items:center;gap:8px;min-width:0}
.user-chip{display:flex;align-items:center;gap:10px;min-width:0;padding:4px 16px 4px 4px;border:1px solid var(--border);border-radius:99px;background:#fff;color:var(--head);text-decoration:none;transition:border-color .2s,box-shadow .2s}
.user-chip:hover{border-color:var(--primary);box-shadow:0 6px 16px -10px rgba(12,69,178,.6)}
.user-avatar{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--primary);color:#fff;font:700 13px var(--ui);letter-spacing:.3px}
.user-name{min-width:0;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 14px/1.2 var(--ui)}
.logout-btn{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:1px solid var(--border);background:#fff;color:#B3261E;font-size:16px;text-decoration:none;transition:background-color .2s,color .2s,border-color .2s}
.logout-btn:hover{background:#B3261E;border-color:#B3261E;color:#fff}
@media(max-width:480px){
.site-header.is-member .header-inner{gap:8px}
.site-header.is-member .brand{gap:6px}
.site-header.is-member .brand img{width:90px}
.site-header.is-member .brand-text strong{font-size:17px}
.site-header.is-member .brand-text small{font-size: 12px;}
.user-chip{gap:7px;padding:3px 10px 3px 3px}
.user-avatar{width:32px;height:32px;font-size:12px}
.user-name{max-width:96px;font-size:13px}
.logout-btn{width:38px;height:38px;font-size:15px}
}
@media(max-width:360px){
.site-header.is-member .brand-text{display:none}
.user-name{max-width:130px}
}

/* ---------- User Information form ---------- */
.info-card{max-width:520px}
.info-card h1{margin-bottom:6px}
.info-sub{margin:0 0 18px;font-size:16px;color:var(--text-2)}
.verified{display:flex;align-items:center;gap:10px;margin:0 0 22px;padding:10px 14px;border-radius:8px;background:var(--tint);color:var(--text-2);font-size:14px}
.verified i{color:#1E7B3A;font-size:16px}
.verified strong{color:var(--ink)}
.form-top{margin:0 0 16px}
.field{margin-bottom:18px}
.field-input{display:block;width:100%;padding:14px;border:1px solid #b9c0cc;border-radius:0;outline:0;background:#fff;color:var(--ink);font-size:17px;line-height:1.3}
.field-input::placeholder{color:#9aa1ad}
.field-input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(12,69,178,.15)}
.field-input.has-error{border-color:#C0392B}
select.field-input{-webkit-appearance:none;appearance:none;padding-right:46px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235E5F66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:14px 9px}
select.field-input:invalid{color:#9aa1ad}
select.field-input option{color:var(--ink)}
.field .form-msg{margin-top:6px}
.btn-block{width:100%}
.btn-submit.is-busy{opacity:.7;pointer-events:none}

/* ---------- Dashboard layout ---------- */
.main-dash{padding:16px 0 28px}
.dash{display:block}
.dash-main{display:grid;gap:16px;min-width:0}
.dash-top,.dash-row{display:grid;gap:16px;min-width:0}
.dash-main .card{padding:20px 16px;border-radius:22px}
.dash-main .sec-head{margin-bottom:16px}

/* Sidebar: desktop only */
.dash-side{display:none}
.side-nav{display:grid;gap:4px}
.side-nav a,.side-foot a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;color:var(--text-2);font:600 15px var(--ui);text-decoration:none;transition:background-color .2s,color .2s}
.side-nav a i,.side-foot a i{width:20px;text-align:center;font-size:16px;color:var(--primary)}
.side-nav a:hover{background:var(--tint);color:var(--primary)}
.side-nav a.is-active{background:var(--primary);color:#fff;box-shadow:0 12px 22px -14px rgba(12,69,178,.8)}
.side-nav a.is-active i{color:var(--gold-dark)}
.side-foot{margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}
.side-foot a{color:#B3261E}
.side-foot a i{color:#B3261E}
.side-foot a:hover{background:#FDECEA}

/* Bottom navigation: mobile and tablet */
.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:95;display:flex;padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.97);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-top:1px solid var(--border);box-shadow:0 -10px 26px -18px rgba(10,47,128,.45)}
.bottom-nav a{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;padding:4px 2px;color:var(--text-2);font:600 11px/1.2 var(--ui);text-decoration:none}
.bottom-nav a i{display:grid;place-items:center;width:46px;height:28px;border-radius:99px;font-size:17px;transition:background-color .2s,color .2s}
.bottom-nav a.is-active{color:var(--primary)}
.bottom-nav a.is-active i{background:var(--tint);color:var(--primary)}
.bottom-nav a:focus-visible{outline:2px solid var(--primary);outline-offset:-2px;border-radius:12px}
@media(max-width:1023px){
.is-dash .site-footer{display:none}
.is-dash main{padding-bottom:92px}
.is-dash .top-btn{bottom:86px}
}

/* Hero */
.dash-hero{position:relative;overflow:hidden;padding:22px 18px;border-radius:26px;color:#fff;background:radial-gradient(360px 220px at 100% 0,rgba(230,190,0,.30),transparent 70%),linear-gradient(150deg,var(--primary-deep),var(--primary));box-shadow:var(--shadow)}
.dash-hero::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.05) 0 1px,transparent 1px 56px);pointer-events:none}
.dash-hero>*{position:relative;z-index:1}
.hero-hello{margin:16px 0 2px;color:rgba(255,255,255,.82);font-size:15px}
.dash-hero h1{color:#fff;font-size:clamp(30px,7vw,46px);line-height:1.04;letter-spacing:-1px;font-weight:800;overflow-wrap:anywhere}
.hero-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:12px 0 14px}
.hero-company{display:inline-flex;align-items:center;gap:8px;min-width:0;color:rgba(255,255,255,.92);font-weight:600;font-size:15px}
.team-pill{display:inline-flex;align-items:center;gap:7px;padding:5px 13px;border-radius:99px;background:var(--gold-dark);color:var(--ink);font-weight:800;font-size:13px}
.hero-welcome{max-width:52ch;margin-bottom:20px;color:rgba(255,255,255,.86);font-size:15px}
.hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hero-stats li{min-width:0;padding:12px 10px;border-radius:14px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18)}
.hero-stats strong{display:block;font:800 clamp(18px,5vw,26px)/1.15 var(--display);color:#fff;white-space:nowrap}
.hero-stats span{display:block;margin-top:2px;font-size:12px;color:rgba(255,255,255,.78)}

/* Quick actions: always 3 columns */
.qa-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.qa{display:flex;flex-direction:column;align-items:center;gap:8px;height:100%;padding:14px 8px;border-radius:18px;border:1px solid var(--border);background:var(--page);color:var(--head);text-align:center;text-decoration:none;transition:border-color .2s,background-color .2s,box-shadow .2s}
.qa:hover{border-color:var(--primary);background:#fff;box-shadow:0 14px 26px -18px rgba(10,47,128,.6)}
.qa-ico{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--tint);color:var(--primary);font-size:17px}
.qa.is-primary .qa-ico{background:var(--gold-dark);color:var(--ink)}
.qa strong{display:block;font:700 13.5px/1.25 var(--ui)}
.qa small{display:none;font-size:12.5px;line-height:1.3;color:var(--text-2)}

/* My contest so far */
.day-pill{padding:4px 12px;border-radius:99px;background:var(--tint);color:var(--primary);font-size:12px;font-weight:700;white-space:nowrap}
.kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:20px}
.kpi{padding:14px 6px;border-radius:16px;text-align:center}
.kpi strong{display:block;font:800 clamp(24px,6vw,34px)/1.1 var(--display)}
.kpi span{display:block;margin-top:3px;font-size:12.5px;line-height:1.3;color:var(--text-2)}
.kpi-1{background:var(--tint)}.kpi-1 strong{color:var(--primary)}
.kpi-2{background:var(--page);border:1px solid var(--border)}.kpi-2 strong{color:var(--head)}
.kpi-3{background:rgba(230,190,0,.2)}.kpi-3 strong{color:#7A5A00}
.goal-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px;font-size:14px;color:var(--text-2)}
.goal-row strong{flex:none;color:var(--head);font-weight:700}
.bar-lg{height:14px}
.goal-note{margin-top:10px;font-size:13.5px;color:var(--text-2)}

/* Coming up */
.up-list{display:grid;gap:10px}
.up-item{display:flex;align-items:center;gap:14px;padding:12px;border-radius:18px;border:1px solid var(--border);background:var(--card)}
.up-item.is-soon{background:var(--tint);border-color:transparent}
.up-item.is-soon .date-chip{background:var(--gold-dark);border-color:var(--gold-dark)}
.up-item.is-soon .date-chip *{color:var(--ink)}
.up-item .row-main h3{font-size:16px;line-height:1.3}
.up-item .row-main p{margin-top:2px;line-height:1.4}
.seat-left{color:var(--primary);font-weight:700}
.seat-left.is-low{color:#9A6B00}

/* Tablet: roomier cards, tiles show their sub-line */
@media(min-width:640px){
.dash-main .card{padding:24px 24px}
.dash-hero{padding:30px 28px}
.qa{align-items:flex-start;gap:10px;padding:16px 14px;text-align:left}
.qa small{display:block}
}
@media(min-width:768px){
.main-dash{padding-top:22px}
.dash-main,.dash-top,.dash-row{gap:20px}
.dash-hero{padding:34px 34px}
}

/* Desktop: sidebar on the left, content on the right */
@media(min-width:1024px){
.bottom-nav{display:none}
.dash{display:grid;grid-template-columns:248px minmax(0,1fr);gap:24px;align-items:start}
.dash-side{display:flex;flex-direction:column;position:sticky;top:88px;max-height:calc(100vh - 108px);overflow:auto;padding:14px;background:var(--card);border:1px solid var(--border);border-radius:26px;box-shadow:var(--shadow)}
}
@media(min-width:1200px){
.dash-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.dash-top .quick{display:flex;flex-direction:column}
.dash-top .qa-grid{flex:1;grid-auto-rows:1fr}
.dash-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){.qa,.user-chip,.logout-btn,.side-nav a,.bottom-nav a i{transition:none}}

/* ---------- Bar widths (classes instead of inline styles): home page standings and the dashboard 1-2-1 target bar ---------- */
.w-0{--w:0%}.w-4{--w:4%}.w-8{--w:8%}.w-12{--w:12%}.w-16{--w:16%}.w-20{--w:20%}.w-24{--w:24%}.w-28{--w:28%}.w-32{--w:32%}.w-36{--w:36%}.w-40{--w:40%}.w-44{--w:44%}.w-48{--w:48%}.w-52{--w:52%}.w-56{--w:56%}.w-60{--w:60%}.w-64{--w:64%}.w-68{--w:68%}.w-72{--w:72%}.w-76{--w:76%}.w-80{--w:80%}.w-84{--w:84%}.w-88{--w:88%}.w-92{--w:92%}.w-96{--w:96%}.w-100{--w:100%}
.w-92-6{--w:92.6%}.w-86-2{--w:86.2%}

/* =========================================================
   MEMBER PAGES: 1-2-1 Meetings and Referrals
   Same tokens, cards and hero as the dashboard.
   ========================================================= */
[hidden]{display:none!important}

/* Page hero (a shorter version of the dashboard hero) */
.page-hero h1{margin:14px 0 8px}
.page-hero .hero-welcome{margin-bottom:18px}

/* Layout: form on the left, side cards on the right (desktop). One column on mobile, two side cards in a row on tablet. */
.split{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;min-width:0}
.split-side{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;min-width:0;align-content:start}
.split-side>:only-child{grid-column:1/-1}
@media(min-width:768px){
.split,.split-side{gap:20px}
.split-side{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1200px){
.split{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:start}
.split-side{grid-template-columns:minmax(0,1fr)}
}

/* Steps */
.member-form{max-width:680px}
.step{margin-bottom:24px}
.step-title{display:flex;align-items:center;gap:10px;margin-bottom:12px;font:700 16px/1.3 var(--display);color:var(--head)}
.step-no{flex:none;display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--primary);color:#fff;font:800 13px var(--display)}
.opt{font-family:var(--ui);font-weight:500;font-size:14px;color:var(--text-2)}
.member-form .field{margin-bottom:14px}
.member-form .field-label{margin-bottom:6px;font:600 14px var(--ui);color:var(--head)}
.member-form .field-input{padding:13px 14px;border:1.5px solid var(--border);border-radius:12px;font-size:16px;font-family:var(--ui)}
.member-form .field-input:focus{border-color:var(--primary)}
.member-form .field-input.has-error{border-color:#C0392B}
textarea.field-input{resize:vertical;min-height:92px}
.member-form .form-msg{margin-top:8px}
.form-help{margin-top:10px;font-size:13px;color:var(--text-2)}
.form-help-top{margin:-4px 0 16px;font-size:14px}
.btn-send{gap:10px;margin-top:6px}

/* Mobile number field */
.mobile-field{display:flex;align-items:stretch;border:1.5px solid var(--border);border-radius:12px;background:#fff;overflow:hidden}
.mobile-field:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px rgba(12,69,178,.15)}
.mobile-field.has-error{border-color:#C0392B}
.mobile-field .iti{flex:1;min-width:0}
.mobile-field .iti__selected-flag{background:var(--tint);padding:0 12px 0 14px;border-radius:0}
.mobile-field .iti__selected-dial-code{font:700 15px var(--ui);color:var(--head)}
.mobile-field .iti input[type=tel]{width:100%}
.phone-wrap .iti{width:100%}
.phone-wrap .iti__selected-flag{background:var(--tint);padding:0 12px 0 14px;border-radius:12px 0 0 12px}
.phone-wrap .iti__selected-dial-code{font:700 15px var(--ui);color:var(--head)}
.iti--container{z-index:1100}
.mobile-prefix{display:flex;align-items:center;padding:0 14px;background:var(--tint);color:var(--head);font:700 15px var(--ui)}
.mobile-field input{flex:1;min-width:0;padding:14px;border:0;outline:0;background:transparent;color:var(--ink);font:500 17px var(--ui);letter-spacing:.3px}
.mobile-field input::placeholder{color:#9aa1ad;letter-spacing:0}

/* Member found card */
.lookup{margin-top:12px}
.lookup-card{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:16px;background:var(--tint)}
.lookup-card .row-info strong{font-size:16px}
.lookup-card>i{margin-left:auto;color:#1E7B3A;font-size:18px}
.lookup-msg{margin-top:10px;font-size:14px;font-weight:600}
.lookup-msg b{font-weight:800}
.lookup-msg.is-ok{color:#1E7B3A}

/* Segmented choices (date, warmth) */
.seg{display:flex;flex-wrap:wrap;gap:8px}
.seg-opt{position:relative;flex:1 1 0;min-width:0}
.seg-opt input[type=radio]{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.seg-opt span{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 14px;border:1.5px solid var(--border);border-radius:12px;background:#fff;color:var(--head);font:700 15px var(--ui);text-align:center;transition:background-color .2s,color .2s,border-color .2s}
.seg-opt input:checked+span{background:var(--primary);border-color:var(--primary);color:#fff}
.seg-opt input:focus-visible+span{outline:3px solid var(--gold-dark);outline-offset:2px}
.seg-date{flex:1.6 1 170px}
@media(max-width:520px){.seg-date{flex:1 1 100%}}
.seg-date input[type=radio]{display:none}
.seg-date input[type=date]{width:100%;min-height:48px;padding:10px 12px;border:1.5px solid var(--border);border-radius:12px;background:#fff;color:var(--head);font:600 15px var(--ui)}
.seg-date:has(input[type=radio]:checked) input[type=date]{border-color:var(--primary);background:var(--tint)}
.seg-3{flex-wrap:nowrap}
.seg-hot input:checked+span{background:#D93025;border-color:#D93025}
.seg-warm input:checked+span{background:var(--gold-dark);border-color:var(--gold-dark);color:var(--ink)}
.seg-cold input:checked+span{background:var(--primary);border-color:var(--primary)}

/* Camera box */
.camera{position:relative;display:flex;align-items:center;justify-content:center;min-height:210px;border-radius:18px;background:radial-gradient(260px 160px at 100% 0,rgba(230,190,0,.28),transparent 70%),linear-gradient(150deg,var(--primary-deep),var(--primary));color:#fff;text-align:center;overflow:hidden;cursor:pointer}
.camera::before{content:"";position:absolute;inset:14px;border:2px dashed rgba(255,255,255,.4);border-radius:12px;pointer-events:none}
.camera:focus-within{outline:3px solid var(--gold-dark);outline-offset:2px}
.camera-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:20px}
.camera-empty i{font-size:34px;color:var(--gold-dark)}
.camera-empty strong{font:700 16px var(--ui)}
.camera-empty small{font-size:13px;color:rgba(255,255,255,.8)}
.camera-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.camera.has-photo::before{display:none}
.camera-stamp{position:absolute;left:12px;right:12px;bottom:12px;padding:6px 12px;border-radius:99px;background:rgba(15,23,42,.72);color:#fff;font-size:12px;line-height:1.35}
@media(min-width:768px){.camera{min-height:250px}}

/* Notices and info */
.notice{display:flex;align-items:flex-start;gap:10px;margin-bottom:18px;padding:12px 14px;border-radius:14px;font-size:14px;font-weight:600;line-height:1.45}
.notice i{margin-top:3px}
.notice.is-ok{background:#E7F5EC;color:#1E7B3A}
.notice.is-error{background:#FDECEA;color:#B3261E}
.dash-main>.notice{margin-bottom:0}
.info-note{display:flex;align-items:flex-start;gap:10px;margin-bottom:18px;padding:14px 16px;border-radius:14px;background:rgba(230,190,0,.18);color:#6B4E00;font-size:14px;line-height:1.5}
.info-note i{margin-top:3px;color:var(--amber)}

/* Activity lists and status chips */
.act-list li{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--border)}
.act-list li:first-child{padding-top:0}
.act-list li:last-child{padding-bottom:0;border-bottom:0}
.act-list .row-info{flex:1;min-width:0}
.act-list .row-info small{line-height:1.35}
.act-side{display:flex;flex-direction:column;align-items:flex-end;gap:4px;max-width:46%;text-align:right}
.act-date{font-size:12px;color:var(--text-2)}
.status{display:inline-block;padding:4px 12px;border-radius:99px;font-size:11px;font-weight:700;line-height:1.35;white-space:nowrap}
.act-side .status{white-space:normal}
.status.is-ok{background:#E3F3EE;color:#0F6B55}
.status.is-wait,.status.is-warm{background:rgba(230,190,0,.22);color:#7A5A00}
.status.is-hot{background:#FDECEA;color:#B3261E}
@media(min-width:768px){.status{font-size:10px;}}

/* Referrals: tabs */
.tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:6px;border-radius:18px;background:var(--tint)}
.tab{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 12px;border-radius:13px;color:var(--primary);font:700 15px var(--ui);text-decoration:none;transition:background-color .2s,color .2s}
.tab:hover{background:rgba(12,69,178,.08)}
.tab.is-active{background:var(--primary);color:#fff;box-shadow:0 12px 22px -14px rgba(12,69,178,.8)}
.tab-count{min-width:22px;padding:1px 7px;border-radius:99px;background:var(--gold-dark);color:var(--ink);font-size:12px;font-weight:800;line-height:1.5;text-align:center}
@media(min-width:768px){.tabs{max-width:420px}}

/* Referrals: to confirm */
.confirm-list{display:grid;gap:12px}
.confirm-item{padding:16px;border:1px solid var(--border);border-radius:18px;background:var(--page)}
.confirm-top{display:flex;align-items:center;gap:12px}
.confirm-top .row-info{flex:1}
.confirm-need{margin:12px 0 14px;font-size:14px;line-height:1.5;color:var(--text-2)}
.confirm-form .btn{gap:8px;width:100%}
@media(min-width:640px){.confirm-form .btn{width:auto}}
.how-list{display:grid;gap:14px}
.how-list li{display:flex;align-items:flex-start;gap:12px;font-size:14.5px;line-height:1.5;color:var(--text-2)}

@media(prefers-reduced-motion:reduce){.seg-opt span,.tab{transition:none}}
.btn-send.is-busy{opacity:.7;pointer-events:none}

/* =========================================================
   LEADERBOARD and EVENTS pages
   Same tokens, hero, cards and bottom nav as the dashboard.
   ========================================================= */
.w-90-8{--w:90.8%}
.badge-gold{background:var(--gold-dark);color:var(--ink)}

/* ---------- Leaderboard: tabs (radio buttons, no JavaScript) ---------- */
.lb{min-width:0}
.lb-radio{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.lb-tabs{position:sticky;top:78px;z-index:30;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:16px;padding:6px;border-radius:18px;background:var(--tint);box-shadow:0 12px 24px -18px rgba(10,47,128,.55)}
.lb-tabs label{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:8px 6px;border-radius:13px;color:var(--primary);font:700 14px/1.2 var(--ui);text-align:center;cursor:pointer;transition:background-color .2s,color .2s}
.lb-tabs label:hover{background:rgba(12,69,178,.08)}
.lb-tabs label i{font-size:14px}
#lb-t-members:checked~.lb-tabs label[for=lb-t-members],
#lb-t-group:checked~.lb-tabs label[for=lb-t-group],
#lb-t-groups:checked~.lb-tabs label[for=lb-t-groups]{background:var(--primary);color:#fff;box-shadow:0 12px 22px -14px rgba(12,69,178,.8)}
#lb-t-members:checked~.lb-tabs label[for=lb-t-members] i,
#lb-t-group:checked~.lb-tabs label[for=lb-t-group] i,
#lb-t-groups:checked~.lb-tabs label[for=lb-t-groups] i{color:var(--gold-dark)}
#lb-t-members:focus-visible~.lb-tabs label[for=lb-t-members],
#lb-t-group:focus-visible~.lb-tabs label[for=lb-t-group],
#lb-t-groups:focus-visible~.lb-tabs label[for=lb-t-groups]{outline:3px solid var(--gold-dark);outline-offset:2px}
.lb-panel{display:none}
#lb-t-members:checked~.lb-panels .lb-panel-members,
#lb-t-group:checked~.lb-panels .lb-panel-group,
#lb-t-groups:checked~.lb-panels .lb-panel-groups{display:block}
@media(max-width:399px){.lb-tabs label i{display:none}}

/* ---------- Leaderboard: podium ---------- */
.podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:6px;margin:4px 0 18px;border-bottom:4px solid var(--primary-deep)}
.pod{display:flex;flex-direction:column;align-items:center;min-width:0;text-align:center}
.pod-1{order:2;--h:150px}
.pod-2{order:1;--h:116px}
.pod-3{order:3;--h:96px}
.pod-crown{height:26px;color:var(--gold-dark);font-size:20px;line-height:26px}
.pod-1 .pod-crown{height:30px;font-size:24px;line-height:30px}
.pod:not(.pod-1) .pod-av{margin-top:26px}
.pod-av{display:grid;place-items:center;flex:none;width:54px;height:54px;border-radius:50%;background:var(--primary);color:#fff;border:3px solid #fff;box-shadow:0 8px 18px -8px rgba(10,47,128,.6);font:800 16px var(--display)}
.pod-1 .pod-av{width:68px;height:68px;border-color:var(--gold-dark);font-size:20px}
.pod-name{margin-top:8px;font:700 14px/1.25 var(--ui);color:var(--head);overflow-wrap:anywhere}
.pod-team{margin-bottom:8px;font-size:12.5px;color:var(--text-2)}
.pod-step{display:flex;flex-direction:column;align-items:center;justify-content:space-between;width:100%;height:var(--h);padding:10px 4px 4px;border-radius:14px 14px 0 0;color:#fff;background:linear-gradient(180deg,var(--primary),var(--primary-deep))}
.pod-pts{font:800 clamp(15px,4.6vw,21px)/1.1 var(--display)}
.pod-no{font:800 46px/1 var(--display);color:transparent;-webkit-text-stroke:1.5px rgba(255,255,255,.55)}
.pod-1 .pod-step{color:var(--ink);background:linear-gradient(180deg,#F3CD1A,var(--gold-dark))}
.pod-1 .pod-no{-webkit-text-stroke-color:rgba(23,24,28,.5);font-size:56px}

.lb-note{display:flex;align-items:flex-start;gap:10px;margin-bottom:16px;padding:12px 14px;border-radius:14px;background:var(--page);border:1px solid var(--border);font-size:13.5px;line-height:1.5;color:var(--text-2)}
.lb-note i{margin-top:3px;color:var(--primary)}

/* ---------- Leaderboard: rows ---------- */
.lb-list{display:grid;gap:8px}
.lb-row{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--border);border-radius:16px;background:var(--card)}
.lb-no{flex:none;width:26px;text-align:center;font:800 19px var(--display);color:var(--primary)}
.lb-row .row-info{flex:1;min-width:0}
.lb-row .row-info strong{font-size:15px;line-height:1.3;overflow-wrap:anywhere}
.lb-score{flex:none;display:flex;flex-direction:column;align-items:flex-end;text-align:right;line-height:1.3}
.lb-score strong{font:800 18px var(--display);color:var(--head)}
.lb-review{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:#6B7280}
.lb-review i{font-size:11px}
.lb-row.is-you{background:var(--tint);border-color:var(--primary);box-shadow:0 0 0 1px var(--primary) inset}
.lb-row.is-you .avatar{background:var(--primary);color:#fff}
.you-tag{display:inline-block;margin-left:4px;padding:0 9px;border-radius:99px;background:var(--gold-dark);color:var(--ink);font:800 11px/1.7 var(--ui);vertical-align:1px}
@media(max-width:419px){
.lb-row{gap:9px;padding:11px 10px}
.lb-row .avatar{width:36px;height:36px;font-size:12px}
.lb-no{width:22px;font-size:17px}
.lb-review{display:block;max-width:74px;text-align:right;line-height:1.25}
.lb-review i{margin-right:3px}
}
@media(max-width:359px){.lb-row .avatar{display:none}}

/* ---------- Leaderboard: my group ---------- */
.grp-head{display:flex;align-items:center;gap:14px;margin-bottom:14px;padding:14px;border-radius:18px;color:#fff;background:radial-gradient(240px 140px at 100% 0,rgba(230,190,0,.3),transparent 70%),linear-gradient(150deg,var(--primary-deep),var(--primary))}
.grp-ico{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--gold-dark);color:var(--ink);font-size:20px}
.grp-meta{flex:1;min-width:0}
.grp-meta strong{display:block;font:800 22px/1.15 var(--display)}
.grp-meta small,.grp-tot small{display:block;font-size:12.5px;color:rgba(255,255,255,.8)}
.grp-tot{text-align:right}
.grp-tot strong{display:block;font:800 22px/1.15 var(--display)}

/* ---------- Leaderboard: group standings ---------- */
.gp-list{display:grid;gap:12px}
.gp{padding:16px;border:1px solid var(--border);border-radius:20px;background:var(--page)}
.gp-top{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.gp-rank{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--tint);color:var(--primary);font:800 20px var(--display)}
.gp-name{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
.gp-name h3{font-size:20px;line-height:1.2}
.gp-mine{padding:2px 10px;border-radius:99px;background:var(--primary);color:#fff;font:700 11.5px/1.5 var(--ui);white-space:nowrap}
.gp-pts{text-align:right;font:800 22px/1.1 var(--display);color:var(--head)}
.gp-pts small{display:block;margin-top:2px;font:500 12px var(--ui);color:var(--text-2)}
.gp-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:14px 0 0}
.gp-meta dt{font-size:12px;color:var(--text-2)}
.gp-meta dd{margin:0;font:600 14px/1.35 var(--ui);color:var(--head)}
.gp-1{background:linear-gradient(100deg,rgba(230,190,0,.24),var(--tint));border-color:var(--gold-dark)}
.gp-1 .gp-rank{background:var(--gold-dark);color:var(--ink)}
.gp.is-mine{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary) inset}
@media(min-width:768px){
.gp-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.gp-1{grid-column:1/-1}
}

/* ---------- Leaderboard: side cards ---------- */
.stand-rank{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.stand-rank strong{font:800 54px/1 var(--display);color:var(--primary)}
.stand-rank span{font-size:14px;line-height:1.45;color:var(--text-2)}
.how-ico{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#E3F3EE;color:#0F6B55;font-size:14px}
.how-ico.is-wait{background:rgba(230,190,0,.22);color:#7A5A00}

/* ---------- Events: next meetings ---------- */
.ev-week{display:grid;gap:10px}
.ev-meet{position:relative;display:flex;align-items:center;gap:14px;padding:12px;border:1px solid var(--border);border-radius:18px;background:var(--card)}
.ev-meet .date-chip{flex:none}
.ev-meet-body{flex:1;min-width:0}
.ev-meet-body h3{margin-bottom:2px;font-size:18px;line-height:1.25}
.ev-when,.ev-where{display:flex;align-items:baseline;gap:8px;font-size:14px;line-height:1.4;color:var(--text-2)}
.ev-when i,.ev-where i{flex:none;width:14px;text-align:center;font-size:13px;color:var(--primary)}
.ev-tags{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.ev-tags:empty{display:none}
.ev-meet.is-first{background:var(--tint);border-color:transparent}
.ev-meet.is-first .date-chip{background:var(--gold-dark);border-color:var(--gold-dark)}
.ev-meet.is-first .date-chip *{color:var(--ink)}
.ev-meet.is-mine{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary) inset}
@media(max-width:479px){
.ev-meet{flex-wrap:wrap}
.ev-tags{flex-direction:row;flex-wrap:wrap;flex:1 1 100%;justify-content:flex-start;padding-left:72px;margin-top:-4px}
}
@media(min-width:640px){
.ev-week{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ev-meet{flex-direction:column;align-items:flex-start;gap:12px;padding:16px}
.ev-meet-body{width:100%}
.ev-tags{position:absolute;top:14px;right:14px}
.ev-tags .badge{padding:3px 10px;font-size:11px}
}
@media(min-width:1280px){.ev-week{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* ---------- Events: Varthalabh ticket and sessions ---------- */
.ev-ticket{position:relative;overflow:hidden;padding:24px 20px 24px;border-radius:22px 22px 0 0;color:#fff;border-bottom:6px solid var(--gold-dark);background:radial-gradient(320px 200px at 100% 0,rgba(230,190,0,.30),transparent 70%),linear-gradient(150deg,var(--primary-deep),var(--primary))}
.ev-ticket::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.05) 0 1px,transparent 1px 56px);pointer-events:none}
.ev-ticket>*{position:relative;z-index:1}
.ev-presents{font:700 12px var(--ui);letter-spacing:.18em;text-transform:uppercase;color:var(--gold-dark)}
.ev-wordmark{margin:8px 0 16px;font:800 clamp(32px,10vw,64px)/1 var(--display);letter-spacing:-1px;overflow-wrap:anywhere}
.ev-speaker-label{font-size:13px;color:rgba(255,255,255,.78)}
.ev-speaker{margin-top:2px;font:700 20px/1.3 var(--display);overflow-wrap:anywhere}
.ev-facts{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:18px;padding-top:16px;border-top:1px dashed rgba(255,255,255,.32)}
.ev-facts li{display:flex;align-items:center;gap:8px;font-size:14px}
.ev-facts i{color:var(--gold-dark)}
.ev-sessions{position:relative;display:grid;gap:12px;padding:20px 14px 14px;border:1px solid var(--border);border-top:0;border-radius:0 0 22px 22px;background:var(--page)}
.ev-sessions::before,.ev-sessions::after{content:"";position:absolute;top:-12px;width:24px;height:24px;border-radius:50%;background:var(--card);z-index:2}
.ev-sessions::before{left:-12px}
.ev-sessions::after{right:-12px}
.ev-session{display:flex;flex-direction:column;gap:14px;padding:16px;border:1px solid var(--border);border-radius:18px;background:var(--card)}
.ev-session-top{display:flex;align-items:center;gap:12px}
.ev-session-top .date-chip{flex:none}
.ev-session-title{flex:1;min-width:0}
.ev-session-title h3{font-size:18px;line-height:1.25}
.ev-session-title p{display:flex;align-items:baseline;gap:8px;font-size:14px;line-height:1.4;color:var(--text-2)}
.ev-session-title i{flex:none;color:var(--primary);font-size:13px}
.ev-seatline{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.ev-seatline strong{font:700 15px var(--ui);color:var(--head)}
.ev-seatline span{font-size:13px;color:var(--text-2)}
.ev-dots{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px}
.ev-dots span{aspect-ratio:1;border-radius:6px 6px 3px 3px;background:var(--gold-dark)}
.ev-dots .on{background:var(--primary)}
.ev-session .btn{margin-top:auto}
.ev-form{margin-top:auto}
.ev-form .btn{gap:10px}
.ev-registered{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;margin-top:auto;padding:10px 14px;border-radius:10px;background:#E7F5EC;color:#1E7B3A;font-weight:700;font-size:15px;text-align:center}
.ev-session.is-full{background:#FAF9F6}
.ev-session.is-full .date-chip{opacity:.7}
.ev-session.is-full .ev-dots .on{background:#B8BCC6}
.btn-closed,.btn-closed:hover{background:#E7E4DD;color:#5A5E67;border-color:transparent;cursor:not-allowed}
.ev-foot{display:flex;align-items:center;gap:8px;margin-top:14px;font-size:13px;color:var(--text-2)}
.ev-foot i{color:var(--primary)}
@media(min-width:640px){
.ev-sessions{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:22px 18px 18px}
.ev-ticket{padding:30px 28px}
}

/* ---------- Events: 1-2-1 Conclave ---------- */
.ev-conclave{display:flex;align-items:center;flex-wrap:wrap;gap:14px 16px;padding:20px 18px;border:2px dashed var(--gold-dark);border-radius:22px;background:linear-gradient(90deg,rgba(230,190,0,.18),var(--card))}
.ev-conclave .date-chip{flex:none}
.ev-conclave-body{flex:1 1 200px;min-width:0}
.ev-conclave-body h2{margin-bottom:2px;font-size:22px;line-height:1.2}
.ev-conclave-note{display:flex;align-items:center;gap:8px;flex:1 1 100%;font-size:14px;font-weight:700;color:#6B4E00}
.ev-conclave-note i{color:var(--amber)}
@media(min-width:640px){
.ev-conclave{padding:24px 26px}
.ev-conclave-note{flex:0 0 auto}
}
@media(prefers-reduced-motion:reduce){.lb-tabs label{transition:none}}


/* =========================================================
   DIRECTORY and JBN DEALS pages, plus the "More" sheet in the bottom navigation
   ========================================================= */

/* ---------- Buttons used on these pages ---------- */
.btn-wa{background:#1E7B3A;color:#fff;gap:8px}
.btn-wa:hover{background:#17632F}
.btn-outline{background:#fff;color:var(--primary);border-color:var(--primary);gap:8px}
.btn-outline:hover,.btn-outline.is-open{background:var(--tint)}

/* ---------- Chips (group and category filters) ---------- */
.chip-bar{position:sticky;top:69px;z-index:30;display:flex;gap:8px;margin:0 -16px 12px;padding:10px 16px;overflow-x:auto;scrollbar-width:none;background:rgba(244,246,250,.94);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.chip-bar::-webkit-scrollbar{display:none}
.chip{flex:none;min-height:44px;padding:8px 20px;border:2px solid var(--border);border-radius:99px;background:#fff;color:var(--head);font:700 15px var(--ui);cursor:pointer;transition:background-color .2s,color .2s,border-color .2s}
.chip:hover{border-color:var(--primary);color:var(--primary)}
.chip.is-on{background:var(--primary);border-color:var(--primary);color:#fff}
@media(min-width:768px){.chip-bar{margin:0 0 12px;padding:10px 0;flex-wrap:wrap;overflow:visible}}

/* ---------- Directory ---------- */
.dir-search{position:relative;max-width:560px}
.dir-search i{position:absolute;left:18px;top:50%;transform:translateY(-50%);color:var(--text-2);pointer-events:none}
.dir-search .search{background:#fff;border-color:transparent;font:500 16px var(--ui)}
.dir-search .search:focus{border-color:var(--gold-dark);box-shadow:0 0 0 3px rgba(230,190,0,.35)}
.dir-count{margin:0 0 12px;font-size:14px;color:var(--text-2)}
.dir-count strong{color:var(--head)}
.dir-grid{display:grid;gap:14px}
.dir-empty{padding:18px;border-radius:16px;background:var(--card);border:1px dashed var(--border);text-align:center}
.dir .lock{margin-top:18px}

.mcard{display:flex;flex-direction:column;gap:14px;padding:18px 16px 16px;border:1px solid var(--border);border-radius:22px;background:var(--card);box-shadow:inset 0 4px 0 var(--tier-c,var(--primary)),var(--shadow)}
.mcard-top{display:flex;align-items:center;gap:12px}
.mcard-av{flex:none;display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--primary);color:#fff;border:3px solid var(--tier-bg,var(--tint));font:800 17px var(--display)}
.mcard-id{flex:1;min-width:0}
.mcard-id h3{font-size:18px;line-height:1.25;overflow-wrap:anywhere}
.mcard-id p{font-size:14px;line-height:1.35;color:var(--text-2);overflow-wrap:anywhere}
.tier{flex:none;align-self:flex-start;padding:3px 11px;border-radius:99px;background:var(--tier-bg,var(--tint));color:var(--tier-ink,var(--primary-deep));font:700 12px/1.5 var(--ui)}
.tier-platinum{--tier-c:var(--primary);--tier-bg:#E4EAF8;--tier-ink:var(--primary-deep)}
.tier-gold{--tier-c:var(--gold-dark);--tier-bg:rgba(230,190,0,.24);--tier-ink:#6B4E00}
.tier-regular{--tier-c:#4DB39A;--tier-bg:#E3F3EE;--tier-ink:#0F6B55}
.mcard-meta{display:grid;gap:8px;padding:12px 14px;border-radius:14px;background:var(--page)}
.mcard-meta li{display:flex;align-items:baseline;gap:10px;font-size:14px;line-height:1.4;color:var(--text-2);min-width:0}
.mcard-meta i{flex:none;width:16px;text-align:center;color:var(--primary);font-size:13px}
.mcard-meta a{color:var(--primary);font-weight:600;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.mcard-act{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:auto}
.mcard-act .btn,.dcard-act .btn{min-height:46px;padding:10px 12px;font-size:15px;line-height:1.2;text-align:center}
@media(min-width:640px){.dir-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(min-width:1280px){.dir-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ---------- JBN Deals ---------- */
.deal-pass{display:inline-flex;align-items:center;gap:10px;padding:8px 14px;border-radius:99px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.2);font-size:14px;font-weight:600}
.deal-pass i{color:var(--gold-dark)}
.deal-grid{display:grid;gap:14px}
.dcard{position:relative;display:flex;flex-direction:column;gap:12px;padding:18px 16px 16px;border:1px solid var(--border);border-radius:22px;background:var(--card);box-shadow:var(--shadow)}
.dcard.is-soon{border-color:var(--gold-dark)}
.dcard-head{display:flex;align-items:center;gap:12px}
.dcard-by{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}
.dcard-by strong{font-size:15px;font-weight:700}
.dcard-by small{font-size:13px;color:var(--text-2);overflow-wrap:anywhere}
.cat{flex:none;align-self:flex-start;padding:3px 11px;border-radius:99px;background:var(--tint);color:var(--primary-deep);font:700 12px/1.5 var(--ui)}
.dcard-title{flex:1;font-size:19px;line-height:1.3;letter-spacing:-.2px}
.dcard-valid{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:14px;color:var(--text-2)}
.dcard-valid b{color:var(--head)}
.soon{padding:2px 11px;border-radius:99px;background:rgba(230,190,0,.24);border:1px solid var(--gold-dark);color:#6B4E00;font:700 12px/1.6 var(--ui)}
.tear{position:relative;margin:6px -16px 2px;border-top:2px dashed var(--border)}
.tear::before,.tear::after{content:"";position:absolute;top:-11px;width:20px;height:20px;border-radius:50%;background:var(--page);border:1px solid var(--border)}
.tear::before{left:-11px;clip-path:inset(0 0 0 50%)}
.tear::after{right:-11px;clip-path:inset(0 50% 0 0)}
.dcard-claim{display:flex;align-items:baseline;gap:8px;font-size:14px;font-weight:600;line-height:1.4;color:#0F6B55}
.dcard-claim i{flex:none;font-size:13px}
.dcard-act{display:grid;grid-template-columns:1.35fr 1fr;gap:10px;margin-top:4px}
.dcard-more{padding:12px 14px;border-radius:14px;background:var(--tint);font-size:14px;line-height:1.5;color:var(--text-2)}
.dcard-more p+p{margin-top:6px}
.dcard-more b{color:var(--head)}
.deal-offer{display:flex;align-items:center;gap:14px;margin-top:16px;padding:16px 18px;border:2px dashed var(--gold-dark);border-radius:20px;background:linear-gradient(90deg,rgba(230,190,0,.18),var(--card));font-size:15px;color:var(--head)}
.deal-offer-ico{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--gold-dark);color:var(--ink);font-size:19px}
@media(min-width:640px){.deal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(min-width:1280px){.deal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ---------- "More" sheet (mobile and tablet bottom navigation) ---------- */
.more-sheet{display:none}
@media(max-width:1023px){
.more-sheet{position:fixed;inset:0;z-index:94;display:block}
.more-sheet[hidden]{display:none}
.more-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.42)}
.more-panel{position:absolute;left:12px;right:12px;bottom:calc(72px + env(safe-area-inset-bottom,0px));max-width:380px;margin-left:auto;padding:8px;border:1px solid var(--border);border-radius:22px;background:#fff;box-shadow:0 24px 50px -20px rgba(10,47,128,.55);animation:more-up .22s ease both}
.more-list{display:grid;gap:2px}
.more-list a{display:flex;align-items:center;gap:14px;padding:11px 12px;border-radius:16px;color:var(--head);text-decoration:none;transition:background-color .2s}
.more-list a:hover,.more-list a.is-active{background:var(--tint)}
.more-ico{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--tint);color:var(--primary);font-size:17px}
.more-list a.is-active .more-ico{background:var(--primary);color:var(--gold-dark)}
.more-list .is-out .more-ico{background:#FDECEA;color:#B3261E}
.more-txt{display:flex;flex-direction:column;line-height:1.3}
.more-txt strong{font:700 15px var(--ui)}
.more-txt small{font-size:13px;color:var(--text-2)}
}
@keyframes more-up{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.more-panel{animation:none}.chip,.more-list a{transition:none}}
@media(max-width:359px){.bottom-nav a{font-size:10.5px}.bottom-nav a i{width:40px}}
.dir,.deals-wrap{min-width:0}
.chip-bar{max-width:calc(100% + 32px)}
@media(min-width:768px){.chip-bar{max-width:none}}


/* =========================================================
   HOME: Next meetings + Leaderboard side by side, and the "How JBN Deals works" section
   ========================================================= */
.duo{display:grid;gap:16px;align-items:stretch}
.duo>.card{min-width:0}
@media(min-width:768px){
.duo{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.duo>.card{padding:28px 22px}
}
@media(min-width:1100px){.duo>.card{padding:32px 30px}}

.hd{display:grid;gap:16px;min-width:0}
.hd-top{position:relative;overflow:hidden;padding:30px 22px;border-radius:30px;color:#fff;background:radial-gradient(420px 260px at 90% 0,rgba(230,190,0,.30),transparent 70%),linear-gradient(150deg,var(--primary-deep),var(--primary));box-shadow:var(--shadow)}
.hd-top::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.05) 0 1px,transparent 1px 56px);pointer-events:none}
.hd-top>*{position:relative;z-index:1}
.hd-eyebrow{font:700 12px var(--ui);letter-spacing:.18em;text-transform:uppercase;color:var(--gold-dark)}
.hd-top h2{margin:10px 0 12px;color:#fff;font-size:clamp(30px,7.5vw,54px);line-height:1.05;letter-spacing:-1px;font-weight:800;max-width:18ch}
.hd-top h2 em{font-style:normal;color:var(--gold-dark)}
.hd-sub{width: 100%;margin-bottom:18px;color:rgba(255,255,255,.86);font-size:17px}
.hd-groups{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.hd-groups li{padding:6px 14px;border-radius:99px;background:var(--gold-dark);color:var(--ink);font:800 12.5px/1.5 var(--ui);letter-spacing:.06em;text-transform:uppercase}

/* four steps: vertical spine on mobile, a dashed row on tablet and up */
.hd-steps{display:grid;gap:20px;padding:24px 18px}
.hd-step{position:relative;display:flex;align-items:flex-start;gap:16px}
.hd-step:not(:last-child)::before{content:"";position:absolute;left:26px;top:58px;bottom:-18px;width:2px;background:var(--border)}
.hd-ico{position:relative;z-index:1;flex:none;display:grid;place-items:center;width:54px;height:54px;border-radius:50%;border:2px solid var(--gold-dark);background:var(--primary-deep);color:var(--gold-dark);font-size:21px}
.hd-step h3{font:800 17px/1.3 var(--display);color:var(--head)}
.hd-step h3 span{color:var(--amber)}
.hd-step p{margin-top:2px;font-size:14px;line-height:1.45;color:var(--text-2)}
@media(min-width:768px){
.hd-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:32px 26px}
.hd-step{flex-direction:column;align-items:center;gap:14px;}
.hd-step:not(:last-child)::before{left:calc(50% + 42px);top:34px;bottom:auto;width:calc(100% - 64px);height:0;background:none;border-top:2px dashed var(--gold-dark)}
.hd-ico{width:68px;height:68px;font-size:26px}
.hd-top{padding:48px 44px}
}

/* three perks */
.hd-perks{display:grid;gap:12px}
.hd-perk{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--gold-dark);border-radius:20px;background:linear-gradient(90deg,rgba(230,190,0,.16),var(--card))}
.hd-perk-ico{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--primary-deep);color:var(--gold-dark);font-size:19px}
.hd-perk h3{font:800 17px/1.25 var(--display);color:var(--head)}
.hd-perk p{margin-top:2px;font-size:14px;line-height:1.4;color:var(--text-2)}
@media(min-width:768px){.hd-perks{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}

/* collective buying tiers */
.hd-buy-title{font-size:22px;letter-spacing:-.4px;line-height:1.25}
.hd-tiers{display:grid;gap:10px;margin-bottom:16px}
.hd-tier{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:14px 16px;border:1px solid var(--border);border-radius:18px;background:var(--page)}
.hd-units{flex:1 1 90px;font:700 14px var(--ui);color:var(--text-2)}
.hd-price{font:800 24px/1.1 var(--display);color:var(--head)}
.hd-price small{font:600 13px var(--ui);color:var(--text-2)}
.hd-save{padding:3px 11px;border-radius:99px;background:#E3F3EE;color:#0F6B55;font:700 12px/1.5 var(--ui)}
.hd-tier.is-best{background:linear-gradient(100deg,rgba(230,190,0,.28),var(--tint));border-color:var(--gold-dark)}
.hd-note{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:14px;background:var(--tint);font-size:13.5px;line-height:1.5;color:var(--text-2)}
.hd-note i{margin-top:3px;color:var(--primary)}
@media(min-width:640px){
.hd-tiers{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:14px}
.hd-tier{flex-direction:column;justify-content:center;gap:8px;padding:22px 12px;text-align:center}
.hd-tier:nth-child(2){padding-block:30px}
.hd-tier:nth-child(3){padding-block:38px}
.hd-units{flex:none}
.hd-price{font-size:clamp(22px,2.8vw,32px)}
}
@media(min-width:768px){.hd-buy{padding:30px 32px}}

/* trust strip + closing band */
.hd-trust{display:grid;gap:8px}
.hd-trust li{display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:99px;background:var(--card);border:1px solid var(--border);font:700 14px/1.3 var(--ui);color:var(--head)}
.hd-trust i{flex:none;color:#1E7B3A;font-size:16px}
@media(min-width:768px){.hd-trust{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.hd-trust li{justify-content:center;text-align:center}}
.hd-band{padding:18px 22px;border-radius:20px;background:linear-gradient(90deg,#F3CD1A,var(--gold-dark),#F3CD1A);color:var(--ink);font:800 clamp(15px,3.6vw,21px)/1.35 var(--display);text-align:center;box-shadow:0 16px 30px -22px rgba(230,190,0,.9)}


/* ---------- Scroll animations (WOW.js + animate.css): gentler, shorter travel than the animate.css defaults ---------- */
.wow.animated{animation-duration:1.3s;animation-timing-function:cubic-bezier(.25,.1,.25,1);animation-fill-mode:both}
.wow.animated.fadeInUp,.wow.animated.fadeInLeft,.wow.animated.fadeInRight{animation-name:rise-in}
@keyframes rise-in{from{opacity:0;transform:translate3d(0,40px,0)}to{opacity:1;transform:none}}
@keyframes slide-in-l{from{opacity:0;transform:translate3d(-48px,0,0)}to{opacity:1;transform:none}}
@keyframes slide-in-r{from{opacity:0;transform:translate3d(48px,0,0)}to{opacity:1;transform:none}}
/* side by side cards slide in from their own side (stacked on phones, so they rise instead: no sideways overflow) */
@media(min-width:768px){
.wow.animated.fadeInLeft{animation-name:slide-in-l}
.wow.animated.fadeInRight{animation-name:slide-in-r}
}
html,body{overflow-x:clip}

/* =========================================================
   MY PROFILE, MY POINTS and the One-to-One button on Directory cards
   Same tokens, cards and hero as the other member pages.
   ========================================================= */

/* Sidebar: profile links sit below a divider */
.side-nav .side-split{margin-top:8px;padding-top:8px;border-top:1px solid var(--border)}

/* Header chip shows the uploaded picture when there is one */
.user-avatar{overflow:hidden}
.user-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}

/* Directory: One-to-One sits on its own row above WhatsApp and Call */
.mcard-act .btn-o2o{grid-column:1/-1;gap:8px}

/* ---------- My Profile: hero ---------- */
.prof-hero h1{margin:14px 0 4px;font-size:clamp(30px,7vw,46px)}
.prof-name{font:700 19px/1.3 var(--ui);color:#fff;overflow-wrap:anywhere}
.prof-hero .hero-meta{margin:8px 0 14px}
.prof-hero .hero-welcome{margin-bottom:16px}
.prof-cta{gap:8px}

/* ---------- My Profile: picture card + details card ---------- */
.prof-grid.member-form{max-width:none}
.prof-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;min-width:0}
.avatar-card{display:flex;align-items:center;gap:18px}
.av-big{flex:none;display:grid;place-items:center;width:96px;height:96px;border-radius:50%;overflow:hidden;background:linear-gradient(150deg,var(--primary-deep),var(--primary));color:#fff;font:800 32px var(--display);box-shadow:0 0 0 4px var(--card),0 0 0 7px var(--gold-dark)}
.av-big img{width:100%;height:100%;object-fit:cover}
.av-side{min-width:0}
.av-label{margin-bottom:10px;font:700 17px/1.3 var(--display);color:var(--head)}
.photo-pick{display:inline-block;cursor:pointer}
.photo-pick .btn{pointer-events:none}
.photo-pick:focus-within .btn{outline:3px solid var(--gold-dark);outline-offset:2px}
.photo-pick:hover .btn{background:var(--tint)}
.photo-file{margin-top:8px;font-size:13.5px;line-height:1.4;color:var(--text-2);overflow-wrap:anywhere}
.avatar-card .form-help{margin-top:4px}

.fgrid{display:grid;grid-template-columns:minmax(0,1fr);column-gap:16px}
.fgrid .field{min-width:0}
.req{color:#C0392B;font-weight:700}
.day-pill .req{margin-right:2px}
.locked{position:relative}
.member-form .locked .field-input{padding-right:42px;background:var(--page);color:var(--text-2);cursor:not-allowed}
.locked i{position:absolute;right:15px;top:50%;transform:translateY(-50%);color:var(--text-2);font-size:14px;pointer-events:none}
.lock-note{display:flex;align-items:baseline;gap:8px;margin:-2px 0 16px}
.lock-note i{font-size:12px;color:var(--primary)}
.prof-save{width:100%;margin-top:8px}
@media(min-width:640px){
.fgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
.fgrid .field-wide{grid-column:1/-1}
.prof-save{width:auto;min-width:200px}
.av-big{width:112px;height:112px;font-size:38px}
}
@media(min-width:768px){.prof-grid{gap:20px}}
@media(min-width:1200px){
.prof-grid{grid-template-columns:300px minmax(0,1fr);align-items:start}
.avatar-card{position:sticky;top:88px;flex-direction:column;gap:20px;padding-top:28px;padding-bottom:24px;text-align:center}
.av-big{width:132px;height:132px;font-size:44px}
.av-label{margin-bottom:12px}
}

/* ---------- My Points ---------- */
.pts-main{display:grid;gap:16px;min-width:0;align-content:start}
@media(min-width:1200px){.pts-side{position:sticky;top:88px}}
@media(min-width:768px){.pts-main{gap:20px}}

/* the points meter: one bar, one segment per activity, drawn in proportion to the points */
.pm{display:flex;gap:3px;height:28px;margin-bottom:8px}
.pm-seg{display:block;height:100%;border-radius:6px}
.pm-seg:first-child{border-radius:14px 6px 6px 14px}
.pm-seg:last-child{border-radius:6px 14px 14px 6px}
.pm-o2o{background:var(--primary)}
.pm-ref{background:var(--gold-dark)}
.pm-meet{background:#4DB39A}
.pm-var{background:var(--primary-deep)}
.pm-rev{background:repeating-linear-gradient(135deg,var(--gold-dark) 0 4px,rgba(230,190,0,.22) 4px 8px)}
.pm .pm-o2o{flex:660 1 0}
.pm .pm-ref{flex:200 1 0}
.pm .pm-meet{flex:240 1 0}
.pm .pm-var{flex:80 1 0}
.pm .pm-rev{flex:60 1 0}

.pm-legend li{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--border)}
.pm-legend li:last-child{padding-bottom:0;border-bottom:0}
.pm-dot{flex:none;width:14px;height:14px;border-radius:5px}
.pm-legend .row-info{flex:1;min-width:0}
.pm-val{flex:none;font:800 21px/1.1 var(--display);color:var(--head)}
.pm-legend .is-review .pm-val{color:#7A5A00}

/* recent points */
.pl-list .avatar i{font-size:16px}
.pl-pts{font:800 18px/1.1 var(--display);color:var(--head)}
.pl-pts.is-wait{color:#7A5A00}
.pl-list .act-side{max-width:none}

/* how to earn more */
.earn-list{display:grid;gap:14px;margin-bottom:18px}
.earn-list li{display:flex;align-items:center;gap:12px}
.earn-list .how-ico{background:var(--tint);color:var(--primary)}
.earn-pts{flex:none;padding:3px 11px;border-radius:99px;background:var(--gold-dark);color:var(--ink);font:800 13px/1.5 var(--ui)}
.earn-cta{gap:8px}

/* =========================================================
   1-2-1: meeting timer and Photo of End Meeting
   ========================================================= */
.timer-card{display:flex;flex-direction:column;align-items:center;gap:6px;padding:26px 18px 22px;border-radius:18px;background:radial-gradient(260px 160px at 100% 0,rgba(230,190,0,.28),transparent 70%),linear-gradient(150deg,var(--primary-deep),var(--primary));color:#fff;text-align:center}
.timer-with{font-size:14px;color:rgba(255,255,255,.85)}
.timer-with b{color:#fff}
.timer-label{font:700 13px var(--ui);letter-spacing:.08em;text-transform:uppercase;color:var(--gold-dark)}
.timer-time{font:800 56px/1.1 var(--display);letter-spacing:.02em;font-variant-numeric:tabular-nums}
.timer-bar{width:100%;max-width:360px;height:10px;margin-top:10px;border-radius:99px;background:rgba(255,255,255,.22);overflow:hidden}
.timer-bar span{display:block;height:100%;width:100%;border-radius:99px;background:var(--gold-dark);transition:width .3s linear}
.timer-card .form-help{margin-top:12px;color:rgba(255,255,255,.8)}
.o2o-live .notice{margin-bottom:18px}
.step-no i{font-size:13px}
@media(min-width:768px){.timer-time{font-size:68px}}
@media(prefers-reduced-motion:reduce){.timer-bar span{transition:none}}

/* Referrals form: compact layout (fields sit side by side when there is room) */
#referral-form .step{margin-bottom:16px}
#referral-form .step-title{margin-bottom:10px}
#referral-form .field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px 14px}
#referral-form .field-grid .field{margin-bottom:0;min-width:0}
#referral-form .field-grid .field-wide{grid-column:1/-1}
#referral-form .field-input{padding:11px 14px;font-size:16px}
#referral-form .field-grid .form-msg{margin-top:4px;font-size:13px}
#referral-form .info-note{margin-bottom:14px;padding:11px 14px}
#referral-form .form-help{margin-top:8px}

/* =========================================================
   Events: Create / Upcoming / Past / Scheduled tabs
   ========================================================= */
.tabs-4{grid-template-columns:repeat(2,minmax(0,1fr))}
.tabs-4 .tab{padding:10px 8px;font-size:14px;text-align:center}
@media(min-width:768px){.tabs-4{grid-template-columns:repeat(4,minmax(0,1fr));max-width:none}.tabs-4 .tab{font-size:15px}}
.tabs-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.tabs-3 .tab{padding:10px 8px;font-size:14px;text-align:center;line-height: 22px;}
@media(min-width:768px){.tabs-3{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}.tabs-3 .tab{font-size:15px}}
.ev-tabs-card .tabs{margin-bottom:20px}
.ev-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;margin-bottom:16px}
.ev-panel-head h2{font-size:20px;font-weight:700;line-height:1.25;letter-spacing:-.01em}
.ev-panel .notice{margin-bottom:16px}
.ev-list{display:grid;gap:10px}
@media(min-width:768px){.ev-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media(min-width:1280px){.ev-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
.ev-desc{margin-top:6px;font-size:13.5px;line-height:1.45;color:var(--text-2);overflow-wrap:anywhere}
.ev-meet-body h3{overflow-wrap:anywhere}
.ev-empty{padding:22px 16px;border:1.5px dashed var(--border);border-radius:18px;background:var(--page);font-size:14px;text-align:center;color:var(--text-2)}
.ev-create .field-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px 20px}
.ev-create .field{margin-bottom:0;min-width:0}
.ev-create .req{color:#C0392B}
.ev-create textarea.field-input{min-height:100px;resize:vertical}
.ev-create .btn-send{margin-top:18px}
@media(min-width:640px){
.ev-create .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ev-create .field-wide{grid-column:1/-1}
.ev-create .btn-send{width:auto;min-width:160px}
}

/* Events: Varthalabh and Conclave inside the Upcoming Events tab */
.ev-panel .ev-conclave{margin-top:20px}


/* new css added by khushi  */

/* ---------- Messages from get_message() ---------- */
.alert{display:block;width:100%;margin:0 0 18px;padding:12px 14px;border:0;border-radius:14px;font:600 14px/1.45 var(--ui)}
.alert-success{background:#E7F5EC;color:#1E7B3A}
.alert-danger{background:#FDECEA;color:#B3261E}
.alert-warning{background:rgba(230,190,0,.18);color:#6B4E00}
@media print{.hide_print{display:none!important}}
.error {
	color: red !important;
	font-size: 12px;
}
.mobile-field .iti{display:block;width:100%}
.mobile-field .iti__flag-container{height:100%}
.mobile-field .iti__selected-flag{display:flex;align-items:center;height:100%}
.mobile-field .iti input[type=tel]{width:100%;height:100%}

/* ---------- Autocomplete (jQuery UI) ---------- */
ul.ui-autocomplete.ui-menu{max-height:240px;overflow-y:auto;overflow-x:hidden;margin:0;padding:6px;list-style:none;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 18px 40px -20px rgba(10,47,128,.45);font:600 16px var(--ui);z-index:1200}
ul.ui-autocomplete .ui-menu-item-wrapper{padding:11px 14px;margin:0;border:0;border-radius:10px;color:var(--head);cursor:pointer}
ul.ui-autocomplete .ui-menu-item-wrapper.ui-state-active,
ul.ui-autocomplete .ui-menu-item-wrapper:hover{margin:0;border:0;background:var(--tint);color:var(--primary)}

/* custom date field */
.seg-date input[type=text]{width:100%;min-height:48px;padding:10px 12px;border:1.5px solid var(--border);border-radius:12px;background:#fff;color:var(--head);font:600 15px var(--ui);cursor:pointer}
.seg-date:has(input[type=radio]:checked) input[type=text]{border-color:var(--primary);background:var(--tint)}

/* ---------- Datepicker (jQuery UI) ---------- */
#ui-datepicker-div.ui-datepicker{min-width:290px;padding:12px;border:1px solid var(--border);border-radius:18px;background:#fff;box-shadow:0 18px 40px -20px rgba(10,47,128,.45);font:600 14px var(--ui);z-index:1200!important}
#ui-datepicker-div .ui-datepicker-header{padding:6px 0 10px;border:0;background:none}
#ui-datepicker-div .ui-datepicker-title{font:800 16px var(--display);color:var(--head)}
#ui-datepicker-div .ui-datepicker-prev,#ui-datepicker-div .ui-datepicker-next{top:6px;width:32px;height:32px;border:0;border-radius:50%;background:var(--tint);cursor:pointer}
#ui-datepicker-div .ui-datepicker-prev:hover,#ui-datepicker-div .ui-datepicker-next:hover{background:var(--primary)}
#ui-datepicker-div .ui-datepicker-prev{left:2px}
#ui-datepicker-div .ui-datepicker-next{right:2px}
#ui-datepicker-div th{padding:6px 0;font:700 12px var(--ui);color:var(--text-2)}
#ui-datepicker-div td{padding:2px;border:0}
#ui-datepicker-div td a,#ui-datepicker-div td span{padding:9px 0;border:0;border-radius:10px;background:none;color:var(--head);text-align:center;font-weight:600}
#ui-datepicker-div td a:hover{background:var(--tint);color:var(--primary)}
#ui-datepicker-div td a.ui-state-active{background:var(--primary);color:#fff}
#ui-datepicker-div td a.ui-state-highlight{background:rgba(230,190,0,.3);color:var(--ink)}
#ui-datepicker-div .ui-state-disabled span{opacity:.35}
#ui-datepicker-div .ui-datepicker-other-month a,#ui-datepicker-div .ui-datepicker-other-month span{color:#9aa1ad}
label.error,.member-form .error{display:block;margin-top:8px;font:600 14px/1.4 var(--ui);color:#C0392B}

.status.is-cold{background:var(--tint);color:var(--primary-deep)}
.confirm-form{display:flex;flex-wrap:wrap;gap:10px}
.confirm-form .btn{flex:1 1 160px;width:auto}
.info-note a{color:inherit;text-decoration:underline}

.mcard-av{overflow:hidden}
.mcard-av img{width:100%;height:100%;object-fit:cover;border-radius:50%}


.dir-grid .mcard .mcard-av { background: var(--g, #0b3fae) !important; }
.dir-grid .mcard .tier {
	margin-left: auto;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	background: color-mix(in srgb, var(--g, #0b3fae) 14%, #fff);
	color: color-mix(in srgb, var(--g, #0b3fae) 70%, #000);
}
.chip-bar .chip:not(.is-on) { border-color: var(--g, #cbd5e1); }
.chip-bar .chip.is-on { background: var(--g, #0b3fae); color: #fff; }
.dir-grid .mcard {
	box-shadow: inset 0 4px 0 var(--g, #0b3fae), var(--shadow) !important;
}

.pm-seg.pm-ren,   .pm-dot.pm-ren   { background: #0891b2; }
.pm-seg.pm-bonus, .pm-dot.pm-bonus { background: #7c3aed; }
.pm-seg.pm-other, .pm-dot.pm-other { background: #94a3b8; }

/* extra styles for the new event fields and pop-up (add to the end of your stylesheet) */
.ev-social .ev-photo { display: block; width: 100%; max-width: 420px; max-height: 220px; object-fit: cover; border-radius: 12px; margin: 8px 0 10px; }
.ev-social .ev-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ev-social .ev-people { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.ev-radios { display: flex; gap: 20px; padding: 8px 0; }
.ev-radios label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.ev-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ev-modal[hidden] { display: none; }
.ev-modal-box { position: relative; background: #fff; border-radius: 14px; padding: 22px; width: 100%; max-width: 520px; max-height: 85vh; overflow: auto; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.ev-modal-x { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; }
.ev-modal-box h3 { margin: 0 0 12px; }
.ev-joined { list-style: none; margin: 0; padding: 0; }
.ev-joined li { padding: 8px 0; border-bottom: 1px solid #eee; }
.ev-qr-box img { display: block; max-width: 100%; margin: 0 auto; }
.ev-frame { width: 100%; height: 420px; border: 0; }
/* ---------- event ticket cards (add to the end of your stylesheet) ---------- */
.evt-list { list-style: none; margin: 0; padding: 0;     display: flex;
    flex-direction: column; gap: 20px; }

.evt-card {
	display: grid;
	grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
	gap: 20px;
	padding: 18px;
	background: #0b3fae;
	color: #fff;
	border-radius: 20px;
	border-bottom: 5px solid #e6b800;
	box-shadow: 0 10px 30px rgba(11, 63, 174, .25);
}

/* poster (event photo), full height on the left */
.evt-poster { position: relative; min-height: 260px; border-radius: 16px; overflow: hidden; border: 1px solid #e6b800; background: #1d52c4; }
.evt-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.evt-poster-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; color: #e6b800; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.evt-main { min-width: 0; }
.evt-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.evt-presents { margin: 0; color: #e6b800; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.evt-badges { display: flex; gap: 6px; }
.evt-badge { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 11px; font-weight: 700; }
.evt-badge.is-live { background: #e6b800; color: #0b2a73; }

.evt-title { margin: 6px 0 12px; font-size: clamp(26px, 4.2vw, 40px); line-height: 1.05; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; color: #fff; overflow-wrap: anywhere; }

.evt-label { margin: 0; font-size: 11px; opacity: .85; }
.evt-org { margin: 2px 0 0; font-size: 18px; font-weight: 800; }
.evt-org a { margin-left: 10px; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; opacity: .9; }
.evt-org a i { margin-right: 5px; }

.evt-rule { border: 0; border-top: 2px dotted rgba(255, 255, 255, .35); margin: 14px 0; }

.evt-pills { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.evt-pills li { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .13); font-size: 11px; font-weight: 700; }
.evt-pills li i { color: #e6b800; }
.evt-pills a { color: #fff; text-decoration: none; }

/* white session card */
.evt-session { background: #fff; color: #0f172a; border-radius: 16px; padding: 16px; }
.evt-session-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.evt-session-title h4 { margin: 0 0 3px; font-size: 16px; font-weight: 800; }
.evt-session-title p { margin: 0; color: #64748b; font-size: 13px; }
.evt-session-title p i { margin-right: 6px; }

.evt-seatline { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; margin-bottom: 8px; }
.evt-seatline span { color: #64748b; }
.evt-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline dotted; }

.evt-dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-bottom: 14px; }
.evt-dots span { height: 26px; border-radius: 6px; background: #e6b800; border: 1px solid rgba(15, 23, 42, .1); }
.evt-dots span.on { background: #0b3fae; }

.evt-bar { height: 12px; border-radius: 999px; background: #e6b800; overflow: hidden; margin-bottom: 14px; }
.evt-bar span { display: block; height: 100%; background: #0b3fae; }

.evt-desc { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: #f3f5fa; font-size: 13px; color: #334155; }

.evt-actions { display: grid; gap: 8px; }
.evt-actions:empty { display: none; }
.evt-registered { margin: 0; text-align: center; font-weight: 700; color: #15803d; }
.evt-registered i { margin-right: 6px; }

@media (max-width: 760px) {
	.evt-card { grid-template-columns: 1fr; padding: 14px; }
	.evt-poster { min-height: 0; aspect-ratio: 16 / 10; }
	.evt-dots { grid-template-columns: repeat(10, 1fr); gap: 4px; }
	.evt-dots span { height: 20px; }
	
}

/* ---------- form + pop-up (unchanged from before) ---------- */
.ev-radios { display: flex; gap: 20px; padding: 8px 0; }
.ev-radios label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.ev-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ev-modal[hidden] { display: none; }
.ev-modal-box { position: relative; background: #fff; border-radius: 14px; padding: 22px; width: 100%; max-width: 520px; max-height: 88vh; overflow: auto; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.ev-modal-x { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; }
.ev-modal-box h3 { margin: 0 0 12px; }
.ev-joined { list-style: none; margin: 0; padding: 0; }
.ev-joined li { padding: 8px 0; border-bottom: 1px solid #eee; }
.ev-qr-box img { display: block; max-width: 100%; max-height: 300px; margin: 8px auto 16px; }
.ev-qr-box form p { margin: 0 0 8px; }
.ev-qr-box .ev-pay-name { font-weight: 700; margin-bottom: 12px; }
.ev-qr-box .btn-block { margin-top: 12px; }
.ev-frame { width: 100%; height: 420px; border: 0; }

.evt-actions-btn{display: flex;
    gap: 10px;}

    /* ---------- JBN Deals: interest block, tiers, terms pop-up (add to the end of your stylesheet) ---------- */
.dl-photo { display: block; width: 100%; height: 380px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }

.dl-progress { margin: 14px 0 10px; }
.dl-progress strong { display: block; font-size: 15px; margin-bottom: 8px; }
.dl-bar { height: 10px; border-radius: 999px; background: #e8ebef; overflow: hidden; }
.dl-bar span { display: block; height: 100%; background: #168a5c; border-radius: 999px; }

.dl-tiers { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.dl-tiers li { background: #f3f4f6; border-radius: 10px; padding: 10px 12px; border: 1px solid transparent; }
.dl-tiers li small { display: block; color: #4b5563; font-size: 12px; margin-bottom: 4px; }
.dl-tiers li strong { font-size: 16px; }
.dl-tiers li.is-active { background: #e7f6ef; border-color: #168a5c; }
.dl-tiers.dl-single { grid-template-columns: 1fr; }

.dl-note { margin: 0 0 14px; font-size: 11px; line-height: 1.5; color: #5b6472; }

.dl-form { display: grid; gap: 12px; }
.dl-units { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.dl-units input { width: 90px; padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; }
.dl-agree { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; cursor: pointer; }
.dl-agree input { margin-top: 3px; }
.dl-terms-link { background: none; border: 0; padding: 0; font: inherit; color: #0b3fae; text-decoration: underline; cursor: pointer; }
.dl-submit[disabled] { opacity: .5; cursor: not-allowed; }

.dl-state { margin: 0; padding: 12px; border-radius: 10px; background: #f3f4f6; text-align: center; font-weight: 700; }
.dl-state.is-ok { background: #e7f6ef; color: #0f6a47; }
.dl-state i { margin-right: 6px; }

.dl-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .55); }
.dl-modal[hidden] { display: none; }
.dl-modal-box { position: relative; width: 100%; max-width: 560px; max-height: 85vh; overflow: auto; background: #fff; border-radius: 14px; padding: 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.dl-modal-box h3 { margin: 0 0 12px; }
.dl-modal-x { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; }
#dl-modal-body { font-size: 14px; line-height: 1.6; color: #1f2937; overflow-wrap: anywhere; }
/* =========================================================
   HOME: compact layout (less scrolling). Scoped to .main-home so other pages are untouched.
   ========================================================= */
.main-home{padding:12px 0 6px}
.main-home .section,.main-home .section+.section{padding:6px 0}
.main-home .card{padding:16px 14px;border-radius:22px}
.main-home .sec-head{margin-bottom:12px}
.main-home .sec-head h2{font-size:21px}
.main-home .duo{gap:12px}
.main-home .avatar{width:38px;height:38px;font-size:13px}

/* hero */
.main-home .hero-card{gap:12px;padding:20px 16px;border-radius:24px}
.main-home .hero-card::after{font-size:130px;top:-14px;right:-6px}
.main-home .live{padding:5px 12px;font-size:13px}
.main-home .hero-copy h1{margin:10px 0 6px;font-size:clamp(25px,6.5vw,46px);letter-spacing:-1px;max-width:none}
.main-home .hero-sub{margin-bottom:12px;font-size:15px}
.main-home .season{gap:14px;padding:10px 12px;border-radius:16px}
.main-home .ring{width:70px;height:70px}
.main-home .ring b{width:56px;height:56px;font-size:21px}
.main-home .season-head{margin-bottom:6px}
.main-home .weeks span{height:12px}
.main-home .stats{gap:8px}
.main-home .stats li{padding:9px 10px;border-radius:14px}
.main-home .stats strong{font-size:clamp(20px,5.5vw,28px)}
.main-home .stats span{font-size:12px}
@media(min-width:900px){
.main-home .hero-card{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);column-gap:36px;row-gap:12px;align-items:center;padding:28px 36px}
.main-home .hero-copy{grid-row:1/span 2}
.main-home .hero-copy h1{font-size:clamp(34px,3.6vw,50px)}
.main-home .hero-card::after{font-size:230px;right:10px}
.main-home .ring{width:84px;height:84px}
.main-home .ring b{width:68px;height:68px;font-size:25px}
}

/* meetings + leaderboard */
.main-home .meet{gap:2px}
.main-home .meet::before{left:26px;top:8px;bottom:8px}
.main-home .meet li{gap:12px;padding:3px 0}
.main-home .date-chip{width:50%;padding:5px 0;border-radius:14px}
.main-home .date-chip strong{font-size:19px}
.main-home .row-main h3{font-size:16px}
.main-home .is-next{margin:0 -10px;padding:6px 10px!important;border-radius:16px}
.main-home .ranks{gap:6px;margin-bottom:14px}
.main-home .rank{gap:10px;padding:8px 12px;border-radius:14px}
.main-home .rank-no{width:28px;font-size:22px}
.main-home .rank-1 .rank-no{font-size:26px}
.main-home .pts{font-size:18px}
.main-home .sub-title{margin-bottom:8px;font-size:15px}
.main-home .groups{gap:10px}
.main-home .group-row{margin-bottom:4px;font-size:14px}
.main-home .bar{height:10px}
@media(min-width:768px){
.main-home .card{padding:20px 22px}
.main-home .duo{gap:14px}
}
@media(min-width:1100px){.main-home .card{padding:22px 26px}}

/* How JBN Deals works */
.main-home .hd{gap:10px}
.main-home .hd-top{padding:18px 16px;border-radius:24px}
.main-home .hd-top h2{margin:6px 0 8px;font-size:clamp(24px,6.4vw,38px);max-width:none}
.main-home .hd-sub{margin-bottom:12px;font-size:15px}
.main-home .hd-groups{gap:6px;margin-bottom:14px}
.main-home .hd-groups li{padding:4px 11px;font-size:11.5px}
.main-home .hd-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;padding:14px}
.main-home .hd-step{flex-direction:row;gap:10px;text-align:left}
.main-home .hd-step:not(:last-child)::before{display:none}
.main-home .hd-ico{width:40px;height:40px;font-size:16px}
.main-home .hd-step h3{font-size:15px}
.main-home .hd-step p{font-size:12.5px;line-height:1.35}
.main-home .hd-perks{gap:8px}
.main-home .hd-perk{gap:12px;padding:10px 14px;border-radius:16px}
.main-home .hd-perk-ico{width:38px;height:38px;font-size:15px}
.main-home .hd-perk h3{font-size:15px}
.main-home .hd-perk p{margin-top:0;font-size:13px}
.main-home .hd-buy{padding:16px 14px}
.main-home .hd-buy .sec-head{margin-bottom:10px}
.main-home .hd-buy-title{font-size:18px}
.main-home .hd-tiers{gap:6px;margin-bottom:10px}
.main-home .hd-tier{padding:9px 14px;border-radius:14px}
.main-home .hd-price{font-size:20px}
.main-home .hd-note{padding:9px 12px;font-size:12.5px;line-height:1.45}
.main-home .hd-trust{display:flex;flex-wrap:wrap;gap:6px}
.main-home .hd-trust li{flex:1 1 auto;padding:7px 12px;font-size:12.5px;text-align:center}
.main-home .hd-band{padding:12px 16px;border-radius:16px;font-size:clamp(14px,3.4vw,18px)}
@media(min-width:640px){
.main-home .hd-tier{padding:14px 10px}
.main-home .hd-tier:nth-child(2){padding-block:20px}
.main-home .hd-tier:nth-child(3){padding-block:26px}
.main-home .hd-price{font-size:clamp(20px,2.6vw,28px)}
}
@media(min-width:768px){
.main-home .hd-top{padding:26px 30px}
.main-home .hd-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:20px 18px}
.main-home .hd-step{flex-direction:column;text-align:center;gap:8px}
.main-home .hd-ico{width:52px;height:52px;font-size:20px}
.main-home .hd-buy{padding:18px 22px}
}
@media(min-width:1024px){
.main-home .hd{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
.main-home .hd-top{grid-column:1;grid-row:1}
.main-home .hd-steps{grid-column:2;grid-row:1;grid-template-columns:repeat(2,minmax(0,1fr));align-content:center;gap:18px 14px}
.main-home .hd-step{flex-direction:row;text-align:left;gap:12px}
.main-home .hd-ico{width:46px;height:46px;font-size:18px}
.main-home .hd-perks{grid-column:1;grid-row:2;grid-template-columns:minmax(0,1fr);align-content:stretch}
.main-home .hd-buy{grid-column:2;grid-row:2}
.main-home .hd-trust,.main-home .hd-band{grid-column:1/-1}
}

/* events */
.main-home .feature{margin-bottom:10px;padding:16px 16px 16px;border-radius:18px}
.main-home .feature h3{font-size:28px}
.main-home .when{margin:2px 0 10px}
.main-home .seats{grid-template-columns:repeat(20,minmax(0,1fr));gap:3px;max-width:380px;margin-bottom:6px}
.main-home .seats span{border-radius:4px 4px 2px 2px}
.main-home .seat-text{margin-bottom:12px}
.main-home .slim{padding:10px 12px;border-radius:16px}

/* deals + directory */
.main-home .deals{gap:8px}
.main-home .deal{gap:12px;padding:10px 12px;border-radius:16px}
.main-home .deal strong{font-size:16px}
.main-home .search-wrap{margin-bottom:6px}
.main-home .search{padding:11px 18px 11px 46px}
.main-home .directory-list li{gap:12px;padding:9px 0}
.main-home .chip-link{padding:6px 14px}
.main-home .lock{margin-top:10px;padding:10px 14px}

/* =========================================================
   HOME round 2: even tighter page, JBN Deals merged into "How JBN Deals works",
   one event next to the directory, and a full-width meetings row when the leaderboard is hidden.
   ========================================================= */
.main-home .section,.main-home .section+.section{padding:5px 0}
.main-home .hero-sub{display:none}
.main-home .hero-copy h1{margin:8px 0 12px}
@media(max-width:899px){.main-home .hero-card{gap:10px;padding:16px 14px}}
@media(min-width:900px){.main-home .hero-card{padding:22px 32px}}
.main-home~.site-footer{padding:14px 0 22px}

/* How JBN Deals works: smaller */
.main-home .hd{gap:8px}
.main-home .hd-top{padding:14px}
.main-home .hd-eyebrow{font-size:11px}
.main-home .hd-top h2{margin:4px 0 6px;font-size:clamp(22px,5.8vw,30px)}
.main-home .hd-sub{margin-bottom:10px;font-size:14px}
.main-home .hd-groups{margin-bottom:10px}
.main-home .hd-steps{padding:12px;gap:10px}
.main-home .hd-ico{width:34px;height:34px;font-size:14px}
.main-home .hd-step h3{font-size:14px}
.main-home .hd-step p{font-size:12px}
.main-home .hd-perks{gap:6px}
.main-home .hd-perk{padding:8px 12px}
.main-home .hd-perk-ico{width:32px;height:32px;font-size:13px}
.main-home .hd-perk h3{font-size:14px}
.main-home .hd-perk p{font-size:12.5px}
.main-home .hd-buy{padding:12px}
.main-home .hd-buy .sec-head{margin-bottom:8px}
.main-home .hd-buy-title{font-size:16px}
.main-home .hd-tiers{margin-bottom:8px}
.main-home .hd-tier{padding:7px 12px}
.main-home .hd-price{font-size:18px}
.main-home .hd-note{padding:7px 10px;font-size:12px}
.main-home .hd-trust li{padding:5px 10px;font-size:12px}
.main-home .hd-band{padding:9px 14px;font-size:clamp(13px,3.2vw,16px)}
/* JBN Deals list, now part of the same block */
.main-home .hd-deals{padding:12px}
.main-home .hd-deals .sec-head{margin-bottom:8px}
.main-home .hd-deals .sec-head h2{font-size:18px}
.main-home .deals{gap:8px}
.main-home .deal{padding:8px 10px;gap:10px}
.main-home .deal strong{font-size:15px}
@media(min-width:640px){
.main-home .hd-tier{padding:10px 10px}
.main-home .hd-tier:nth-child(2){padding-block:14px}
.main-home .hd-tier:nth-child(3){padding-block:18px}
.main-home .hd-price{font-size:clamp(18px,2.2vw,24px)}
.main-home .hd-deals .deals{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:768px){
.main-home .hd-top{padding:18px 22px}
.main-home .hd-steps{padding:14px 16px}
.main-home .hd-buy,.main-home .hd-deals{padding:14px 18px}
}
@media(min-width:1024px){
.main-home .hd-deals{grid-column:1/-1}
.main-home .hd-trust,.main-home .hd-band{grid-column:auto}
.main-home .hd-band{display:flex;align-items:center;justify-content:center}
}

/* One event next to the directory */
.main-home #events{display:flex;flex-direction:column}
.main-home #events .feature{flex:1;display:flex;flex-direction:column;justify-content:center;margin-bottom:0}
.main-home #events .feature .btn{align-self:flex-start}
.main-home .directory-list li{padding:7px 0}
.main-home .lock{margin-top:8px;padding:8px 12px}

/* =========================================================
   HOME round 3: smaller How JBN Deals block without shrinking text.
   Two stacked columns (intro + perks | steps + buying tiers), perks merged into one card, deals as one strip.
   ========================================================= */
/* text sizes back to the larger values */
.main-home .hd-top h2{font-size:clamp(24px,6.4vw,38px)}
.main-home .hd-sub{font-size:15px}
.main-home .hd-eyebrow{font-size:12px}
.main-home .hd-step h3{font-size:15px}
.main-home .hd-step p{font-size:13px}
.main-home .hd-perk h3{font-size:16px}
.main-home .hd-perk p{font-size:13.5px}
.main-home .hd-buy-title{font-size:18px}
.main-home .hd-price{font-size:20px}
.main-home .hd-note{font-size:12.5px}
.main-home .hd-trust li{font-size:12.5px}
.main-home .hd-band{font-size:clamp(14px,3.4vw,18px)}
.main-home .hd-deals .sec-head h2{font-size:20px}
.main-home .deal strong{font-size:15px}

/* columns: stay in the original order on mobile and tablet */
.main-home .hd-col{display:contents}
.main-home .hd-top{order:1}
.main-home .hd-steps{order:2}
.main-home .hd-perks{order:3}
.main-home .hd-buy{order:4}
.main-home .hd-deals{order:5}
.main-home .hd-trust{order:6}
.main-home .hd-band{order:7}

/* intro: chips and button share a row */
.main-home .hd-top{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px}
.main-home .hd-top>.hd-eyebrow,.main-home .hd-top>h2,.main-home .hd-top>.hd-sub{flex:1 1 100%;margin-top:0;margin-bottom:0}
.main-home .hd-top>.hd-sub{margin-bottom:2px}
.main-home .hd-top>.hd-groups{flex:0 1 auto;margin:0}
.main-home .hd-top>.btn{flex:none}

/* perks: one card, three rows (three columns on tablet) */
.main-home .hd-perks{gap:0;overflow:hidden;border:1px solid var(--gold-dark);border-radius:20px;background:linear-gradient(90deg,rgba(230,190,0,.16),var(--card))}
.main-home .hd-perk{border:0;border-radius:0;background:none;padding:9px 14px}
.main-home .hd-perk+.hd-perk{border-top:1px dashed rgba(230,190,0,.8)}

/* buying tiers: same height, no staircase */
.main-home .hd-tier,.main-home .hd-tier:nth-child(n){padding-block:9px}
@media(min-width:640px){
.main-home .hd-tier,.main-home .hd-tier:nth-child(n){padding-block:12px}
.main-home .hd-tiers{align-items:stretch}
.main-home .hd-price{font-size:clamp(20px,2.6vw,28px)}
}
@media(min-width:768px) and (max-width:1023px){
.main-home .hd-perk+.hd-perk{border-top:0;border-left:1px dashed rgba(230,190,0,.8)}
}
@media(min-width:1024px){
.main-home .hd-col{display:flex;flex-direction:column;gap:8px;min-width:0}
.main-home .hd-col>:last-child{flex:1}
.main-home .hd-perks{display:flex;flex-direction:column}
.main-home .hd-perk{flex:1;display:flex;align-items:center}
.main-home .hd-perk+.hd-perk{border-left:0;border-top:1px dashed rgba(230,190,0,.8)}
.main-home .hd-buy{display:flex;flex-direction:column;justify-content:center}
.main-home .hd-steps{align-content:center}
/* JBN Deals: title on the left, the deals in one row on the right */
.main-home .hd-deals{display:flex;align-items:center;gap:18px}
.main-home .hd-deals .sec-head{flex:none;flex-direction:column;align-items:flex-start;gap:2px;margin:0}
.main-home .hd-deals .deals{flex:1;min-width:0}
}

/* =========================================================
   HOME round 4: trust pills live inside the JBN Deals card; the closing band is full width below it
   ========================================================= */
.main-home .hd-deals .hd-trust{order:0;flex:1 1 100%;margin-top:8px;padding-top:10px;border-top:1px solid var(--border)}
.main-home .hd-deals .hd-trust li{background:var(--page)}
.main-home .hd-band{order:6}
@media(min-width:1024px){
.main-home .hd-deals{flex-wrap:wrap}
.main-home .hd-deals .hd-trust{margin-top:0}
.main-home .hd-band{grid-column:1/-1}
}

/* round 5: deals and trust pills side by side in one row (desktop) */
@media(min-width:1024px){
.main-home .hd-deals{flex-wrap:nowrap}
.main-home .hd-deals .hd-trust{flex:0 0 auto;flex-direction:column;flex-wrap:nowrap;gap:5px;margin:0;padding:0 0 0 18px;border-top:0;border-left:1px solid var(--border)}
.main-home .hd-deals .hd-trust li{flex:none;justify-content:flex-start;padding:5px 12px;text-align:left}
}

/* =========================================================
   HOME round 6: Next meetings as a full-width row, Leaderboard podium with Group standings beside it
   ========================================================= */
.main-home .lb-split{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.main-home .podium{width:100%;max-width:460px;margin:0;justify-self:center}
.main-home .pod-1{--h:112px}
.main-home .pod-2{--h:92px}
.main-home .pod-3{--h:78px}
.main-home .pod-av{width:50px;height:50px;font-size:15px}
.main-home .pod-1 .pod-av{width:62px;height:62px;font-size:19px}
.main-home .pod-name{margin-top:6px}
.main-home .pod-team{margin-bottom:6px}
.main-home .pod-no{font-size:32px}
.main-home .pod-1 .pod-no{font-size:40px}
.main-home .lb-groups .sub-title{margin-bottom:10px}

/* =========================================================
   HOME round 7: Next meetings = one row of 3, Leaderboard = podium and Group standings in one row
   ========================================================= */
.main-home .duo-top{grid-template-columns:minmax(0,1fr)}

.main-home .duo-top>.card:only-child,.main-home .duo-top>#meetings:has(+ #leaderboard[hidden]){grid-column:1/-1}

.main-home .meet{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.main-home .meet::before{display:none}
.main-home .meet li{flex-direction:column;align-items:flex-start;gap:8px;padding:10px 12px;border:1px solid var(--border);border-radius:16px;background:var(--card)}
.main-home .meet li.is-next{margin:0;padding:10px 12px!important;background:var(--tint);border-color:transparent}
.main-home .meet .row-main{flex:none;width:100%}
.main-home .meet .badge{align-self:flex-start}

@media(min-width:560px){.main-home .lb-split{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}}
.main-home .podium{max-width:600px;margin:0 auto}
/* empty state (no events / no meetings) */
.main-home .empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:28px 18px;border:1.5px dashed var(--gold-dark);border-radius:20px;background:linear-gradient(180deg,rgba(230,190,0,.10),rgba(230,190,0,.02))}
.main-home .empty-ico{display:grid;place-items:center;width:56px;height:56px;margin-bottom:6px;border-radius:50%;background:var(--tint);color:var(--primary);font-size:22px}
.main-home .empty strong{font:800 18px/1.3 var(--ui);color:var(--ink)}
.main-home .empty p{margin:0 0 10px;max-width:30ch;font-size:14px;color:var(--muted,#6b7280)}

/* Capture Social Photo (pop-up page) */
.sp-page{max-width:560px;margin:0 auto;padding:16px}
.sp-page .camera{min-height:260px}
.sp-snap{margin-top:12px;gap:8px}
.sp-loader{position:fixed;inset:0;z-index:2000;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:rgba(255,255,255,.88);color:var(--primary);font:700 18px var(--ui);text-align:center}
.sp-loader i{font-size:42px}
@media(max-width:767px){.hide-sm{display:none}
.main-home .date-chip{width: 100%;}
.row-main p{
	font-size: 12px;
}
}

@media (max-width: 767px) {
	.tabs .tab-extra { display: none; }
}

.dl-mrp{color:#888;font-size:.85em;margin-left:6px}
video.dl-photo{width:100%;display:block}
.dl-off{color:#1a8f3c;font-size:.85em;font-weight:600;margin-left:6px}

.dl-appr{display:inline-block;padding:2px 10px;border-radius:12px;font-size:.8em;font-weight:600;background:#fff3cd;color:#8a6d00}
.dl-appr.is-approved{background:#d9f2e1;color:#1a8f3c}
.dl-appr.is-rejected{background:#fde0e0;color:#c0392b}
.dl-reason{color:#c0392b;font-size:.9em;margin:4px 0}
.dl-add-box{max-height:90vh;overflow-y:auto}
.dl-addform label,.dl-addform .dl-radios{display:block;margin-bottom:10px}
.dl-addform input[type=text],.dl-addform input[type=date],.dl-addform select,.dl-addform textarea{width:100%}
.dl-slab-row{display:flex;gap:6px;margin-bottom:6px}
.dl-slab-row input{flex:1;min-width:0}

/* ---------- Add Deal pop-up ---------- */
.dl-add-box{max-width:620px;padding:26px 24px;max-height:90vh;overflow-y:auto}
.dl-add-box h3{font:800 22px/1.2 var(--display);color:var(--head);margin:0 0 4px}
.dl-add-box>.dl-note{margin:0 0 18px;padding:10px 14px;border-radius:12px;background:var(--tint);font-size:13px;color:var(--text-2)}
.dl-modal-x{width:36px;height:36px;border-radius:50%;background:var(--tint);color:var(--head);font-size:22px;display:grid;place-items:center;top:14px;right:14px}
.dl-modal-x:hover{background:var(--primary);color:#fff}

.dl-addform{display:grid;gap:16px}
.dl-addform label,.dl-addform .dl-radios{display:block;margin:0;font:600 14px var(--ui);color:var(--head)}
.dl-addform label small,.dl-addform .dl-radios small{font-weight:500;color:var(--text-2)}
.dl-addform input[type=text],.dl-addform input[type=date],.dl-addform select,.dl-addform textarea{
	display:block;width:100%;margin-top:6px;padding:12px 14px;border:1.5px solid var(--border);border-radius:12px;
	background:#fff;color:var(--ink);font:500 15px var(--ui);transition:border-color .2s,box-shadow .2s}
.dl-addform input::placeholder,.dl-addform textarea::placeholder{color:#9aa1ad}
.dl-addform input:focus,.dl-addform select:focus,.dl-addform textarea:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 3px rgba(12,69,178,.15)}
.dl-addform select{-webkit-appearance:none;appearance:none;padding-right:42px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235E5F66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:13px 8px}
.dl-addform textarea{resize:vertical;min-height:110px}

/* Bulk / Normal and Photo / Video as pill buttons */
.dl-radios{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px 10px}
.dl-radios>label{position:relative;display:inline-block;margin:0}
.dl-radios>label input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.dl-radios>label{padding:9px 20px;border:1.5px solid var(--border);border-radius:99px;background:#fff;color:var(--head);font:700 14px var(--ui);cursor:pointer;transition:background-color .2s,color .2s,border-color .2s}
.dl-radios>label:hover{border-color:var(--primary)}
.dl-radios>label:has(input:checked){background:var(--primary);border-color:var(--primary);color:#fff}
.dl-radios>label:has(input:focus-visible){outline:3px solid var(--gold-dark);outline-offset:2px}

/* Price slabs */
.dl-slab-row{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:8px;margin-bottom:8px;align-items:center}
.dl-slab-row input{min-width:0;margin-top:0!important}
.dl-slab-del{width:40px;height:40px;border:0;border-radius:50%;background:#FDECEA;color:#B3261E;font-size:20px;line-height:1;cursor:pointer;transition:background-color .2s,color .2s}
.dl-slab-del:hover{background:#B3261E;color:#fff}
#dl-slab-add{margin-top:2px;padding:10px 18px;border-radius:99px;font-size:14px}

/* file inputs */
.dl-addform input[type=file]{display:block;width:100%;margin-top:6px;padding:10px;border:1.5px dashed var(--border);border-radius:12px;background:var(--page);font:500 14px var(--ui);color:var(--text-2);cursor:pointer}
.dl-addform input[type=file]::file-selector-button{margin-right:12px;padding:8px 16px;border:0;border-radius:99px;background:var(--primary);color:#fff;font:700 13px var(--ui);cursor:pointer}
.dl-addform input[type=file]::file-selector-button:hover{background:var(--primary-dark)}

/* submit stays visible while scrolling */
#dl-add-submit{position:sticky;bottom:0;margin-top:4px;padding:14px;border-radius:12px;font-size:16px;box-shadow:0 -10px 16px -6px #fff}

@media(max-width:520px){
.dl-add-box{padding:22px 16px}
.dl-slab-row{grid-template-columns:1fr 1fr auto}
.dl-slab-row input:nth-child(3){grid-column:1/3;grid-row:2}
.dl-slab-del{grid-row:1;grid-column:3}
}
.deal-tabs .chip{text-decoration:none;display:inline-flex;align-items:center;gap:6px}
/* =========================================================
   HERO SLIDER + LIVE DEALS SLIDER (Owl Carousel)
   ========================================================= */
.sec-hero{padding-bottom:0}
.hs{position:relative;border-radius:30px;overflow:hidden;color:#fff;background:radial-gradient(420px 260px at 90% 0,rgba(230,190,0,.30),transparent 70%),linear-gradient(150deg,var(--primary-deep),var(--primary));box-shadow:var(--shadow)}
.hs::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.05) 0 1px,transparent 1px 56px);pointer-events:none}
.hs :focus-visible{outline-color:#fff}
.hs-slider{position:relative;z-index:1}
.hs-slider:not(.owl-loaded)>.hs-slide:not(:first-child){display:none}
.hs .owl-stage{display:flex}
.hs .owl-item{display:flex}
.hs-slide{position:relative;display:grid;gap:20px;align-content:center;width:100%;padding:22px 18px 58px}
.hs-media{position:relative;order:-1;display:grid;place-items:center;aspect-ratio:16/10;border-radius:20px;overflow:hidden;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);box-shadow:0 22px 40px -22px rgba(0,0,0,.55)}
.hs-media-bg{position:absolute;top:-20px;left:-20px;width:calc(100% + 40px);height:calc(100% + 40px);max-width:none;object-fit:cover;filter:blur(18px) saturate(1.2);opacity:.85}
.hs-media-img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain}
.hs-media-empty{font-size:56px;color:rgba(255,255,255,.55)}
.hs-copy{display:flex;flex-direction:column;align-items:flex-start;gap:14px;min-width:0}
.hs-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:6px 13px;border-radius:99px;background:rgba(255,255,255,.14);color:var(--gold-dark);font:800 12px/1.4 var(--ui);letter-spacing:.08em;text-transform:uppercase}
.hs-title{margin:0;max-width:20ch;color:#fff;font-size:clamp(26px,6.4vw,34px);line-height:1.1;letter-spacing:-.5px;font-weight:800;overflow-wrap:anywhere}
.hs-by{display:flex;align-items:center;gap:12px;min-width:0}
.hs-by .avatar{background:rgba(255,255,255,.16);color:#fff}
.hs-by strong{display:block;font-size:16px;line-height:1.25}
.hs-by small{display:block;font-size:14px;color:rgba(255,255,255,.78)}
.hs-valid{font-size:15px;color:rgba(255,255,255,.85)}
.hs-valid b{color:#fff}
.hs-soon{display:inline-block;margin-left:6px;padding:2px 11px;border-radius:99px;background:var(--gold-dark);color:var(--ink);font:700 12px/1.6 var(--ui)}
.hs-progress,.hs-tiers,.hs-seats{width:100%;max-width:520px}
.hs-progress strong{display:block;font-size:15px}
.hs-bar{height:10px;margin-top:8px;border-radius:99px;background:rgba(255,255,255,.22);overflow:hidden}
.hs-bar span{display:block;height:100%;border-radius:99px;background:var(--gold-dark)}
.hs-tiers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hs-tiers li{padding:10px 14px;border-radius:14px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18)}
.hs-tiers small{display:block;font-size:13px;color:rgba(255,255,255,.8)}
.hs-tiers strong{display:block;font:800 22px/1.3 var(--display)}
.hs-tiers .is-on{background:#fff;color:var(--head);border-color:var(--gold-dark);box-shadow:inset 0 0 0 1px var(--gold-dark)}
.hs-tiers .is-on small{color:var(--text-2)}
.hs-tiers .is-on strong{color:var(--primary)}
.hs-note{display:none;max-width:520px;font-size:12.5px;line-height:1.5;color:rgba(255,255,255,.72)}
.hs-org small{display:block;font-size:12px;color:rgba(255,255,255,.75)}
.hs-org strong{font:800 20px/1.3 var(--display)}
.hs-phone{display:inline-flex;align-items:center;gap:6px;margin-left:12px;color:#fff;font-weight:700;text-decoration:none}
.hs-chips{display:flex;flex-wrap:wrap;gap:8px}
.hs-chips li{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:99px;background:rgba(255,255,255,.14);font-size:13px;font-weight:700;line-height:1.3}
.hs-chips i{color:var(--gold-dark)}
.hs-when{display:flex;align-items:center;gap:14px}
.hs-when strong{display:block;font-size:16px}
.hs-when>div:last-child span{font-size:14px;color:rgba(255,255,255,.8)}
.hs-date{flex:none;width:62px;padding:8px 0;border-radius:16px;background:#fff;color:var(--head);text-align:center;line-height:1.15}
.hs-date span,.hs-date small{display:block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-2)}
.hs-date strong{display:block;font:800 24px/1.2 var(--display);color:var(--head)}
.hs-seats{display:flex;gap:6px}
.hs-seats span{flex:1;height:12px;border-radius:4px;background:rgba(255,255,255,.26)}
.hs-seats .on{background:var(--gold-dark)}
.hs-seat-text{font-size:14px;color:rgba(255,255,255,.85)}
.hs-more{gap:10px;margin-top:4px}
.hs-title em{font-style:normal;color:var(--gold-dark)}
.hs-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;max-width:520px}
.hs-stats li{padding:10px 14px;border-radius:14px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18)}
.hs-stats small{display:block;font-size:13px;color:rgba(255,255,255,.8)}
.hs-stats strong{display:block;font:800 22px/1.3 var(--display);color:#fff}
.hs-intro .season{width:100%;max-width:520px}
.hs .owl-dots{position:absolute;left:0;right:0;bottom:18px;text-align:center}
.hs .owl-dot{margin:0 4px;padding:0;border:0;background:none;cursor:pointer}
.hs .owl-dot span{display:block;width:9px;height:9px;border-radius:99px;background:rgba(255,255,255,.4);transition:width .25s,background .25s}
.hs .owl-dot.active span{width:26px;background:var(--gold-dark)}

/* deals slider */
.sec-dealslider .sec-head{margin-bottom:12px}
.dsl .owl-stage{display:flex}
.dsl .owl-item{display:flex}
.dsl .owl-stage-outer{padding:6px 0 24px 3px}
.dsl .dsl-card{width:100%;gap:12px}
.dsl-img{position:relative;aspect-ratio:4/3;border-radius:16px;overflow:hidden;background:var(--tint)}
.dsl-img img{width:100%;height:100%;object-fit:cover}
.dsl-img-empty{display:grid;place-items:center;width:100%;height:100%;font-size:38px;color:var(--primary);opacity:.45}
.dsl-progress strong{display:block;font:800 16px/1.3 var(--display);color:var(--head)}
.dsl-bar{height:9px;margin-top:8px;border-radius:99px;background:var(--border);overflow:hidden}
.dsl-bar span{display:block;height:100%;border-radius:99px;background:#0F8A5F}
.dsl-tiers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dsl-tiers li{padding:12px;border-radius:14px;background:var(--page);border:1px solid transparent}
.dsl-tiers small{display:block;font-size:13px;color:var(--text-2)}
.dsl-tiers strong{display:block;font:800 20px/1.3 var(--display);color:var(--head)}
.dsl-tiers .is-on{background:#E7F5EE;border-color:#0F8A5F}
.dsl-note{font-size:12.5px;line-height:1.5;color:var(--text-2)}
.dsl .dsl-more{gap:10px;margin-top:auto}
.dsl .owl-dots{margin-top:-8px;text-align:center}
.dsl .owl-dot{margin:0 4px;padding:0;border:0;background:none;cursor:pointer}
.dsl .owl-dot span{display:block;width:9px;height:9px;border-radius:99px;background:var(--border);transition:width .25s,background .25s}
.dsl .owl-dot.active span{width:26px;background:var(--primary)}

@media(min-width:640px){
.hs-slide{padding:28px 30px 60px}
.hs-note{display:block}
.hs-media{aspect-ratio:2/1}
}
@media(min-width:900px){
.hs-slide{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:48px;align-items:center;min-height:500px;padding:52px 84px 68px}
.hs-media{order:0;aspect-ratio:auto;height:clamp(320px,32vw,430px)}
.hs-title{font-size:clamp(32px,3.4vw,48px)}
.hs .owl-dots{bottom:24px}
}
@media(min-width:1280px){
.hs-slide{gap:64px;padding:56px 104px 72px}
}
@media(max-width:420px){.dsl-tiers strong{font-size:18px}.hs-tiers strong,.hs-stats strong{font-size:20px}.hs-stats li{padding:10px}}
@media(prefers-reduced-motion:reduce){.hs .owl-dot span,.dsl .owl-dot span{transition:none}}
.dl-modal-agree{margin:16px 0 12px;padding-top:14px;border-top:1px solid var(--border)}
#dl-modal-go[disabled]{opacity:.5;cursor:not-allowed}

/* =========================================================
   JBN Deals: price, approval, Add Deal pop-up, terms
   ========================================================= */

/* price + discount + video */
.dl-mrp{color:#888;font-size:.85em;margin-left:6px}
.dl-off{color:#1a8f3c;font-size:.85em;font-weight:600;margin-left:6px}
video.dl-photo{width:100%;display:block}

/* All Deals / My Deals / Add Deal tabs */
.deal-tabs .chip{text-decoration:none;display:inline-flex;align-items:center;gap:6px}

/* approval status in My Deals */
.dl-appr{display:inline-block;padding:2px 10px;border-radius:12px;font-size:.8em;font-weight:600;background:#fff3cd;color:#8a6d00}
.dl-appr.is-approved{background:#d9f2e1;color:#1a8f3c}
.dl-appr.is-rejected{background:#fde0e0;color:#c0392b}
.dl-reason{color:#c0392b;font-size:.9em;margin:4px 0}

/* ---------- Add Deal pop-up ---------- */
.dl-add-box{max-width:620px;padding:26px 24px;max-height:90vh;overflow-y:auto}
.dl-add-box h3{font:800 22px/1.2 var(--display);color:var(--head);margin:0 0 4px}
.dl-add-box>.dl-note{margin:0 0 18px;padding:10px 14px;border-radius:12px;background:var(--tint);font-size:13px;color:var(--text-2)}
.dl-modal-x{width:36px;height:36px;border-radius:50%;background:var(--tint);color:var(--head);font-size:22px;display:grid;place-items:center;top:14px;right:14px}
.dl-modal-x:hover{background:var(--primary);color:#fff}

.dl-addform{display:grid;gap:16px}
.dl-addform label,.dl-addform .dl-radios{display:block;margin:0;font:600 14px var(--ui);color:var(--head)}
.dl-addform label small,.dl-addform .dl-radios small{font-weight:500;color:var(--text-2)}
.dl-addform input[type=text],.dl-addform input[type=date],.dl-addform select,.dl-addform textarea{
	display:block;width:100%;margin-top:6px;padding:12px 14px;border:1.5px solid var(--border);border-radius:12px;
	background:#fff;color:var(--ink);font:500 15px var(--ui);transition:border-color .2s,box-shadow .2s}
.dl-addform input::placeholder,.dl-addform textarea::placeholder{color:#9aa1ad}
.dl-addform input:focus,.dl-addform select:focus,.dl-addform textarea:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 3px rgba(12,69,178,.15)}
.dl-addform select{-webkit-appearance:none;appearance:none;padding-right:42px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235E5F66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:13px 8px}
.dl-addform textarea{resize:vertical;min-height:110px}

/* Bulk / Normal and Photo / Video as pill buttons */
.dl-radios{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px 10px}
.dl-radios>label{position:relative;display:inline-block;margin:0;padding:9px 20px;border:1.5px solid var(--border);border-radius:99px;background:#fff;color:var(--head);font:700 14px var(--ui);cursor:pointer;transition:background-color .2s,color .2s,border-color .2s}
.dl-radios>label input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.dl-radios>label:hover{border-color:var(--primary)}
.dl-radios>label:has(input:checked){background:var(--primary);border-color:var(--primary);color:#fff}
.dl-radios>label:has(input:focus-visible){outline:3px solid var(--gold-dark);outline-offset:2px}

/* price slabs */
.dl-slab-row{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:8px;margin-bottom:8px;align-items:center}
.dl-slab-row input{min-width:0;margin-top:0!important}
.dl-slab-del{width:40px;height:40px;border:0;border-radius:50%;background:#FDECEA;color:#B3261E;font-size:20px;line-height:1;cursor:pointer;transition:background-color .2s,color .2s}
.dl-slab-del:hover{background:#B3261E;color:#fff}
#dl-slab-add{margin-top:2px;padding:10px 18px;border-radius:99px;font-size:14px}

/* file inputs */
.dl-addform input[type=file]{display:block;width:100%;margin-top:6px;padding:10px;border:1.5px dashed var(--border);border-radius:12px;background:var(--page);font:500 14px var(--ui);color:var(--text-2);cursor:pointer}
.dl-addform input[type=file]::file-selector-button{margin-right:12px;padding:8px 16px;border:0;border-radius:99px;background:var(--primary);color:#fff;font:700 13px var(--ui);cursor:pointer}
.dl-addform input[type=file]::file-selector-button:hover{background:var(--primary-dark)}

/* submit stays visible while scrolling */
#dl-add-submit{position:sticky;bottom:0;margin-top:4px;padding:14px;border-radius:12px;font-size:16px;box-shadow:0 -10px 16px -6px #fff}
#dl-add-submit[disabled]{opacity:.5;cursor:not-allowed}

@media(max-width:520px){
.dl-add-box{padding:22px 16px}
.dl-slab-row{grid-template-columns:1fr 1fr auto}
.dl-slab-row input:nth-child(3){grid-column:1/3;grid-row:2}
.dl-slab-del{grid-row:1;grid-column:3}
}

/* validation messages */
.dl-err{display:block;margin-top:6px;font:600 13px/1.4 var(--ui);color:#C0392B}
.dl-addform .has-err{border-color:#C0392B!important;background:#FFF8F7}
.dl-addform .has-err:focus{box-shadow:0 0 0 3px rgba(192,57,43,.15)!important}

/* seller terms (Add Deal) */
.dl-seller-terms{max-height:150px;overflow-y:auto;padding:12px 14px;border:1.5px solid var(--border);border-radius:12px;background:var(--page);font-size:13px;line-height:1.55;color:var(--text-2)}
.dl-seller-terms b{color:var(--head)}

/* buyer terms pop-up (I'm Interested) */
.dl-modal-agree{margin:16px 0 12px;padding-top:14px;border-top:1px solid var(--border)}
#dl-modal-go[disabled]{opacity:.5;cursor:not-allowed}
.dl-no{font:700 12px var(--ui);letter-spacing:.04em;color:var(--primary)}

/* ---------- Upcoming events slider (home) ---------- */
.ues .owl-stage-outer{padding:6px 0 24px}
.ue-card{display:flex;flex-direction:column;width:100%;padding:22px 18px;border-radius:20px;color:#fff;
	border-bottom:5px solid var(--gold-dark);
	background:radial-gradient(320px 200px at 100% 0,rgba(230,190,0,.25),transparent 70%),linear-gradient(150deg,var(--primary-deep),var(--primary));
	box-shadow:var(--shadow)}
.ue-card .evt-title{font-size:clamp(24px,5.5vw,34px);margin:6px 0 14px}
.ue-card .evt-session{display:flex;flex-direction:column;flex:1;margin-top:auto}
.ue-card .evt-seatline strong{font-weight:700}
.ue-card .evt-dots{margin-bottom:12px}
.ue-card .evt-desc{margin-bottom:12px}
.ue-card .ue-more{margin-top:auto}
.ue-card .evt-pills li{font-size:12px}
/* keep the date chip a fixed size (home page rule makes it 50% / 100% wide) */
.main-home .ue-card .date-chip{width:58px;padding:8px 0;flex:none}
.main-home .ue-card .date-chip strong{font-size:22px}
.ues .owl-carousel:not(.owl-loaded){display:grid;gap:16px}
@media(min-width:900px){.ues .owl-carousel:not(.owl-loaded){grid-template-columns:repeat(2,minmax(0,1fr))}}
.dl-search{max-width:none;margin:0 0 12px}

.dsl-img img,
.dsl-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#live-deals,
#upcoming-events {
  scroll-margin-top: 90px;
}

.tier-star {
  background: #fff6d6;
  color: #d99a00;
}

#directory .directory-list {
  max-height: 250px;      /* adjust to taste */
  overflow-y: auto;
  overscroll-behavior: contain;  /* page doesn't scroll when list ends */
  padding-right: 6px;
  -webkit-overflow-scrolling: touch;
}

/* slim scrollbar */
#directory .directory-list::-webkit-scrollbar { width: 6px; }
#directory .directory-list::-webkit-scrollbar-thumb {
  background: #c5cde0;
  border-radius: 6px;
}
#directory .directory-list::-webkit-scrollbar-track { background: transparent; }
#directory .directory-list { scrollbar-width: thin; scrollbar-color: #c5cde0 transparent; }

.header-user .login-icon { display: none !important; }

@media (max-width: 640px) {
	.header-user .login-full { display: none !important; }
	.header-user .login-icon { display: inline-flex !important; justify-content: center;}
}
.login-btn{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:1px solid var(--border);background:#0b3a98;color:#fff;font-size:16px;text-decoration:none;transition:background-color .2s,color .2s,border-color .2s}
.login-btn:hover{background:#fff;border-color:#fff;color:#0b3a98}

.phone-field { position: relative; }
.phone-field .iti { display: block; width: 100%; }
.phone-field input.input-field {
	position: relative;
	z-index: 1;
	pointer-events: auto;
	font-size: 16px;            /* below 16px some phones zoom or ignore the first tap */
	-webkit-user-select: text;
	user-select: text;
}
.phone-field .iti__flag-container { width: auto; }   /* the flag box must not cover the whole field */
.jconfirm .jconfirm-box { max-width: 420px; }
.site-footer .eventLogos { margin-bottom: 20px; }
.site-footer .spby > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 14px 24px;
}
.site-footer .spby img { width: auto; max-width: 140px; object-fit: contain; }
.site-footer .spby img.logo-wide { max-width: 180px; }

@media (max-width: 640px) {
	.site-footer .spby img {  max-width: 100px; }
	.site-footer .spby img.logo-wide { max-width: 130px; }

}
@media (max-width: 480px) {
	.pagariya-brand-text strong{
		font-size: 10px!important;
	}
}

.dir-count { margin: 6px 0 10px; font-size: 12px; color: #64748b; }

.dl-off {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #168a5c;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	vertical-align: middle;
}

/* ---------- Home page: iPhone ---------- */

/* nothing may push the page sideways (iOS before 16 has no overflow:clip) */
.main-home{overflow-x:hidden}
@supports (overflow:clip){.main-home{overflow-x:clip}}

/* header blur on Safari */
.site-header{-webkit-backdrop-filter:blur(8px)}

/* hero slider: Safari glitches with a blurred picture inside a rounded, clipped box */
.hs{isolation:isolate;transform:translateZ(0)}
.hs-media{isolation:isolate;transform:translateZ(0);-webkit-mask-image:-webkit-radial-gradient(white,black)}
.owl-carousel{touch-action:pan-y}
.owl-carousel .owl-stage-outer{-webkit-transform:translate3d(0,0,0)}

@media(max-width:639px){
	/* hero */
	.hs{border-radius:22px}
	.hs-slide{padding:16px 14px 52px;gap:16px}
	.hs-media-bg{display:none}
	.hs-media{background:rgba(255,255,255,.14);border-radius:16px}
	.hs-title{font-size:26px;max-width:none}
	.hs-by strong{font-size:15px}
	.hs-tiers strong,.hs-stats strong{font-size:19px}
	.hs-more{width:100%}
	.hs-when{align-items:flex-start}
	.hs-chips li{font-size:12px;padding:6px 10px}

	/* next meetings: one row each instead of 3 narrow columns */
	.main-home .meet{grid-template-columns:1fr;gap:8px}
	.main-home .meet li,.main-home .meet li.is-next{flex-direction:row;align-items:center;gap:12px}
	.main-home .meet .row-main{flex:1;width:auto;min-width:0}
	.main-home .meet .date-chip{width:56px;flex:none}
	.main-home .meet .badge{align-self:center}

	/* leaderboard */
	.main-home .podium{max-width:none}
	.main-home .pod-name{font-size:12.5px}
	.main-home .pod-team{font-size:11px}

	/* deal and event slider cards */
	.dsl-tiers{grid-template-columns:repeat(2,minmax(0,1fr))}
	.ue-card{padding:18px 14px}
	.ue-card .evt-title{font-size:24px}
	.ue-card .evt-org a{display:inline-block;margin:4px 0 0}
	.main-home .ue-card .date-chip{width:54px}

	/* directory: the page scrolls, not the list inside it (iOS traps the swipe) */
	#directory .directory-list{max-height:none;overflow:visible;padding-right:0}
	.main-home .directory-list li{flex-wrap:wrap}

	/* How JBN Deals works */
	.main-home .hd-top{padding:16px 14px}
	.main-home .hd-top .btn{width:100%}
	.main-home .hd-top h2{font-size:26px}
}

@media(max-width:400px){
	.main-home .hd-steps{grid-template-columns:1fr}
	.main-home .card{padding:14px 12px}
	.sec-head h2{font-size:20px}
}

/* member search on the home page: no zoom on tap */
#member-search{font-size:16px;-webkit-appearance:none;appearance:none}
#member-search::-webkit-search-cancel-button{-webkit-appearance:none}

/* long text never breaks the layout */
.main-home h2,.main-home h3,.main-home p,.main-home strong{overflow-wrap:anywhere}

/* floating buttons clear the home bar */
.float-btn{margin-bottom:env(safe-area-inset-bottom,0px)}

/* ---------- one picture size everywhere: 4:3 ---------- */
.hs-media{aspect-ratio:4/3!important;height:auto!important;width:100%;max-width:560px;justify-self:center}
.hs-media-bg{display:none}
.hs-media-img{object-fit:cover}
.dsl-img{aspect-ratio:4/3}
.dsl-img img,.dsl-img video{object-fit:cover}
.dl-photo{height:auto!important;aspect-ratio:4/3;object-fit:cover;width:100%}
.evt-poster{aspect-ratio:4/3;min-height:0}
.evt-poster img{object-fit:cover}
@media(min-width:761px){.evt-card{align-items:start}}
.ev-social .ev-photo{aspect-ratio:4/3;max-height:none;object-fit:cover}
.evt-poster{aspect-ratio:4/3;min-height:0}
.evt-poster img{object-fit:cover}
@media(min-width:761px){.evt-card{align-items:start}}
.ev-social .ev-photo{aspect-ratio:4/3;max-height:none;object-fit:cover}
/* Event card (desktop/tablet): title block on top, then image (1) + seat box (2) side by side */
@media (min-width: 761px) {
	.evt-card {
		grid-template-columns: 1fr 2fr;   /* image = 1 part, seat box = 2 parts */
		column-gap: 20px;
		row-gap: 0;
		align-items: stretch;
	}

	/* unwrap the right column so its children join the card grid */
	.evt-main { display: contents; }

	/* everything above the white box spans the full width, in order */
	.evt-head,
	.evt-title,
	.evt-label,
	.evt-org,
	.evt-rule,
	.evt-pills {
		grid-column: 1 / -1;
	}

	/* second row: poster left, white seat box right */
	.evt-poster {
		order: 1;
		grid-column: 1;
		aspect-ratio: auto;   /* remove the 4:3 lock */
		min-height: 260px;
		height: auto;
		align-self: stretch;  /* same height as the white box */
	}
	.evt-poster img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.evt-session {
		order: 1;
		grid-column: 2;
	}
}

.dl-disc-row{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;margin-bottom:8px;align-items:center}
.dl-disc-row input{min-width:0;margin-top:0!important}
#dl-disc-add{margin-top:2px;padding:10px 18px;border-radius:99px;font-size:14px}


/* ---------- Discount slab pills: site theme (blue + gold) ---------- */
.dtiers{display:grid;gap:10px;width:100%;max-width:520px;margin:0 0 12px}
.dtier{display:flex;align-items:stretch;border-radius:16px;overflow:hidden;
	background:#fff;border:2px solid var(--gold-dark);
	box-shadow:0 10px 20px -14px rgba(10,47,128,.6)}

/* left: Upto amount */
.dtier-l{position:relative;flex:1 1 52%;display:flex;align-items:center;justify-content:center;
	padding:12px;background:linear-gradient(180deg,#fff,var(--tint));
	color:var(--head);font:800 clamp(15px,4.2vw,19px)/1.2 var(--display);white-space:nowrap}
.dtier-l::after{content:"";position:absolute;right:0;top:20%;bottom:20%;
	border-right:2px dashed var(--gold-dark)}

/* right: Flat X% OFF */
.dtier-r{flex:1 1 48%;display:flex;align-items:baseline;justify-content:center;gap:5px;
	padding:10px 12px;color:#fff;white-space:nowrap;
	background:linear-gradient(150deg,var(--primary-deep),var(--primary))}
.dtier-r i{font:italic 600 clamp(13px,3.6vw,16px)/1 var(--ui);color:rgba(255,255,255,.85)}
.dtier-r b{font:800 clamp(26px,7vw,34px)/1 var(--display);color:var(--gold-dark);letter-spacing:-.5px}
.dtier-r em{font:800 clamp(15px,4vw,20px)/1 var(--display);font-style:normal;color:var(--gold-dark)}
.dtier-r small{font:800 clamp(11px,3vw,13px)/1 var(--ui);letter-spacing:.08em;color:#fff}

/* on the blue hero slider: white pill with a gold edge stands out; keep right side deeper blue */
.hs .dtier{border-color:var(--gold-dark)}
.hs .dtier-r{background:linear-gradient(150deg,#082a74,var(--primary-deep))}

@media(max-width:380px){.dtier-l{padding:10px 6px}.dtier-r{padding:8px;gap:3px}}

/* ---------- Discount pills: compact size for deal cards ---------- */
.dl-card .dtiers,
.dsl .dtiers{gap:6px;margin:0 0 8px}

.dl-card .dtier,
.dsl .dtier{border-width:1.5px;border-radius:12px}

.dl-card .dtier-l,
.dsl .dtier-l{padding:7px 8px;font-size:clamp(13px,3.4vw,15px)}

.dl-card .dtier-r,
.dsl .dtier-r{padding:6px 8px;gap:3px}

.dl-card .dtier-r i,
.dsl .dtier-r i{font-size:12px}

.dl-card .dtier-r b,
.dsl .dtier-r b{font-size:clamp(18px,5vw,22px)}

.dl-card .dtier-r em,
.dsl .dtier-r em{font-size:13px}

.dl-card .dtier-r small,
.dsl .dtier-r small{font-size:10px}