/* YatraPravaas UI 2 (v4): airy light-blue canvas, white glass cards, sky-blue primary, orange highlights.
   Loaded AFTER yatra.css. Only colours, shapes, spacing and motion live here; remove its <link> to go back to the plain look. */

:root {
    --u2-bg: #eef3fb;
    --u2-surface: #ffffff;
    --u2-ink: #101418;
    --u2-soft: #6b7686;
    --u2-line: #e3eaf3;
    --u2-sky: #1aa7e0;
    --u2-sky-2: #26b4ec;
    --u2-sky-d: #0b78a8;
    --u2-tint: #e6f5fc;
    --u2-orange: #1aa7e0;
    --u2-orange-d: #0b78a8;
    --u2-yellow: #ffb02e;
    --u2-green: #1e9e63;
    --u2-red: #e5484d;
    --u2-night: #0e0f11;
    --u2-night-2: #17181b;
    --u2-night-line: rgba(255, 255, 255, .09);
    --u2-radius: 1.25rem;
    --u2-shadow: 0 1px 2px rgba(40, 70, 120, .05), 0 10px 28px rgba(40, 70, 120, .08);
    --u2-shadow-lg: 0 2px 6px rgba(40, 70, 120, .08), 0 24px 54px rgba(40, 70, 120, .16);
    --u2-glass: rgba(255, 255, 255, .74);
    --bs-body-bg: #eef3fb;
    --bs-body-color: #101418;
    --bs-primary: #1aa7e0;
    --bs-primary-rgb: 26, 167, 224;
    --bs-link-color: #0b78a8;
    --bs-link-color-rgb: 11, 120, 168;
    --bs-link-hover-color: #0b5f86;
}

html, body { overflow-x: clip; }
body {
    font-family: 'Mukta', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, #e3edfb 0, #eef3fb 420px, #f3f6fb 100%) fixed;
    color: var(--u2-ink); letter-spacing: .003em; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .h1, .h2, .h3, .h4, .h5 { letter-spacing: -.012em; font-weight: 700; }
body.yp-public, body.yp-yaatrik, body.yp-embed { background: transparent; }
body.yp-public, body.yp-yaatrik { background: linear-gradient(180deg, #e3edfb 0, #f3f6fb 480px) fixed; }
a { color: #0b78a8; }
a:hover { color: #0b5f86; }

/* ---------- top bar: white glass with pill tabs (active tab orange) ---------- */
.yp-nav { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .8); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border: 0; border-bottom: 1px solid rgba(40, 70, 120, .08); box-shadow: 0 6px 24px rgba(40, 70, 120, .06); }
.yp-nav .navbar-brand { color: var(--u2-ink); font-weight: 800; letter-spacing: -.02em; }
.yp-nav .navbar-brand:hover { color: var(--u2-sky-d); }
.yp-nav .navbar-nav { gap: .25rem; }
.yp-nav .nav-link { color: #445063; font-weight: 700; font-size: .93rem; border-radius: 2rem; padding: .42rem .95rem; background: transparent; border: 1px solid transparent; transition: background .15s ease, color .15s ease, box-shadow .15s ease; }
.yp-nav .nav-link:hover, .yp-nav .nav-link:focus { background: #fff; color: var(--u2-ink); box-shadow: var(--u2-shadow); }
.yp-nav .nav-link.active, .yp-nav .nav-link[aria-current="page"] { background: #d3effc; color: #0b6a96; box-shadow: 0 2px 10px rgba(26, 167, 224, .22); }
.yp-nav .nav-link i { margin-right: .25rem; }
.yp-nav .navbar-toggler { border-color: #d3deeb; }
.yp-nav .dropdown-menu { background: #fff; border: 1px solid var(--u2-line); border-radius: 1rem; box-shadow: var(--u2-shadow-lg); padding: .4rem; }
.yp-nav .dropdown-item { border-radius: .6rem; padding: .5rem .8rem; color: #2a3340; }
.yp-nav .dropdown-item:hover, .yp-nav .dropdown-item:focus { background: var(--u2-tint); color: var(--u2-sky-d); }
.yp-main { padding-top: 1.5rem !important; }
.yp-footer { background: transparent; border-top: 1px solid rgba(40, 70, 120, .1); color: #6b7686; margin-top: 0; padding: 1.2rem 0; }
.yp-footer strong { color: var(--u2-ink); }
.yp-footer a { color: var(--u2-sky-d); }

/* ---------- cards, tiles ---------- */
.card, .yp-card, .yp-stat, .yp-tile, .yp-unit, .yp-field, .yp-pool { border-radius: var(--u2-radius); }
.card, .yp-card { border: 1px solid rgba(40, 70, 120, .07); box-shadow: var(--u2-shadow); background: var(--u2-surface); }
.card-header { background: transparent; border-bottom: 1px solid var(--u2-line); font-weight: 700; }
.yp-stat, .yp-tile { border: 1px solid rgba(40, 70, 120, .07); box-shadow: var(--u2-shadow); }
.yp-tile:hover, .yp-card-hover:hover { transform: translateY(-4px); box-shadow: var(--u2-shadow-lg); }
.yp-tile .ico { border-radius: 1rem; background: var(--u2-tint); color: var(--u2-sky-d); }
.yp-hero { background: linear-gradient(135deg, #e0f3fd, #c9ecfb 60%, #b6e4f8); color: var(--u2-ink); border: 1px solid #c3e4f4; }
.yp-hero h1, .yp-hero h2 { color: var(--u2-ink); }
.yp-hero .lead { color: #445063; }
.yp-hero::after { background: radial-gradient(circle, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 70%); }
.yp-gc { border-radius: 1.2rem !important; box-shadow: var(--u2-shadow) !important; }
.yp-gc-bg { color: var(--u2-sky) !important; }
.yp-gc-link { color: var(--u2-sky-d) !important; }

/* ---------- buttons ---------- */
.btn { border-radius: 2rem; font-weight: 700; padding-left: 1.15rem; padding-right: 1.15rem; transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease; }
.btn-sm { padding-left: .85rem; padding-right: .85rem; }
.btn:active { transform: scale(.98); }
.btn-primary {
    --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff; --bs-btn-disabled-color: #fff;
    --bs-btn-bg: #1aa7e0; --bs-btn-border-color: #1aa7e0;
    --bs-btn-hover-bg: #139ad2; --bs-btn-hover-border-color: #139ad2;
    --bs-btn-active-bg: #0e8fc4; --bs-btn-active-border-color: #0e8fc4;
    --bs-btn-disabled-bg: #1aa7e0; --bs-btn-disabled-border-color: #1aa7e0;
    background-image: linear-gradient(135deg, #3cc2f4, #1aa7e0); box-shadow: 0 8px 20px rgba(26, 167, 224, .35);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(26, 167, 224, .45); transform: translateY(-1px); }
.btn-accent { color: #fff; background-image: linear-gradient(135deg, #3dbdf0, #1aa7e0); border: 0; box-shadow: 0 8px 20px rgba(26, 167, 224, .35); }
.btn-accent:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(26, 167, 224, .45); }
.btn-outline-primary { --bs-btn-color: #0b78a8; --bs-btn-border-color: #1aa7e0; --bs-btn-hover-bg: #1aa7e0; --bs-btn-hover-border-color: #1aa7e0; --bs-btn-hover-color: #fff; --bs-btn-active-bg: #0e8fc4; --bs-btn-active-border-color: #0e8fc4; --bs-btn-active-color: #fff; background: #fff; }
.btn-outline-secondary { background: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .7); border: 1px solid rgba(40, 70, 120, .15); color: var(--u2-ink); }
.btn-ghost:hover { background: #fff; color: var(--u2-ink); box-shadow: var(--u2-shadow); }
.btn-group .btn, .input-group .btn { border-radius: .8rem; }

/* ---------- forms, tables, misc ---------- */
.form-control, .form-select { border-radius: .85rem; border-color: #d9e3ef; padding-top: .55rem; padding-bottom: .55rem; background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: #1aa7e0; box-shadow: 0 0 0 .22rem rgba(26, 167, 224, .22); }
.form-control::placeholder { color: #a3afbf; }
.form-label { font-weight: 700; font-size: .88rem; color: #394557; margin-bottom: .3rem; }
.form-check-input:checked { background-color: #1aa7e0; border-color: #1aa7e0; }
.modal-content { border: 0; border-radius: 1.4rem; box-shadow: var(--u2-shadow-lg); }
.modal-header, .modal-footer { border-color: var(--u2-line); }
.alert { border-radius: 1rem; border: 0; }
.badge { font-weight: 700; letter-spacing: .01em; }
.nav-tabs { border-bottom-color: var(--u2-line); }
.nav-tabs .nav-link, .nav-pills .nav-link { border: 0; border-radius: 2rem; color: #445063; font-weight: 700; margin-right: .25rem; }
.nav-tabs .nav-link.active, .nav-pills .nav-link.active, .yp-tabs .nav-link.active { background: linear-gradient(135deg, #3dbdf0, #1aa7e0); color: #fff; }
.yp-tabs .nav-link { color: #445063; }
.page-link { color: #0b78a8; border-radius: .6rem; margin: 0 .1rem; border-color: var(--u2-line); }
.page-item.active .page-link { background: var(--u2-sky); border-color: var(--u2-sky); color: #fff; }
.table { --bs-table-bg: transparent; }
.table > thead th, main .table > thead > tr > th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #0a4f6e; font-weight: 800; background: #a0e4ff; border-bottom: 1px solid #7fd3f5; white-space: nowrap; }
.table > thead th:first-child { border-top-left-radius: .6rem; } .table > thead th:last-child { border-top-right-radius: .6rem; }
.table > :not(caption) > * > * { padding: .75rem; border-bottom-color: #edf1f7; }
.table-hover > tbody > tr:hover > * { background: #f4f9fd; }
.table-responsive { border-radius: var(--u2-radius); }
.yp-tablecard { border-color: var(--u2-line); border-radius: var(--u2-radius); }
.yp-chip.active { border-color: var(--u2-sky); background: var(--u2-tint); }
.yp-choice input:checked + label { border-color: var(--u2-sky); background: var(--u2-tint); }
.yp-crit.on { border-color: var(--u2-sky); background: #f1faff; }
.yp-meter > div { background: linear-gradient(90deg, #7fd6f7, #1aa7e0); }
.yp-ytop { border-top-color: #1aa7e0; background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); }
.yp-ticket-head { background: linear-gradient(135deg, #d8f1fc, #bfe7f8); color: var(--u2-ink); border-bottom: 0; }
.yp-ticket-head h1 { color: var(--u2-ink); }
.yp-pubhero { background: linear-gradient(135deg, #d8f1fc, #bfe7f8 65%, #a9def4); color: var(--u2-ink); border-bottom: 0; }
.yp-pubhero h1 { color: var(--u2-ink); }
.yp-pubhero::after { background: radial-gradient(circle, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 70%); }
.yp-route li .pin { background: #1aa7e0; box-shadow: 0 0 0 2px #bfe8f9, 0 0 12px rgba(26, 167, 224, .45); }
.yp-route li.first .pin { background: #1e9e63; box-shadow: 0 0 0 2px #bfe9d4; }
.yp-route li.last .pin { background: #101418; box-shadow: 0 0 0 2px #cdd6e2; }
.yp-route li::before { background: #d3deeb; }

@keyframes u2-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
main .card, main .yp-stat, main .yp-tile { animation: u2-rise .45s ease both; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* =====================================================================
   Yatra work area: tabs become a collapsible left menu with sub menus
   ===================================================================== */
/* Yatra page shell: a flush left rail (like Claude) and a full-width work area */
.yp-main.yp-full { max-width: none; width: 100%; padding: 0 !important; }
.yp-main.yp-full > main { padding-bottom: 0 !important; }
.u2-ywork { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 0; align-items: start; min-height: calc(100vh - 4.6rem); transition: grid-template-columns .25s ease; }
.u2-yback { display: none; }
.u2-ywork.collapsed { grid-template-columns: 4.2rem minmax(0, 1fr); }
.u2-ywork.no-side { grid-template-columns: minmax(0, 1fr); }
.u2-yside { position: sticky; top: 4.6rem; align-self: start; height: calc(100vh - 4.6rem); overflow-y: auto; overflow-x: hidden; background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-right: 1px solid rgba(40, 70, 120, .09); border-radius: 0; box-shadow: none; padding: .8rem .65rem; scrollbar-width: thin; }
.u2-yside:empty { display: none; }
.u2-yside-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .2rem .35rem .6rem; }
.u2-yside-top b { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--u2-soft); white-space: nowrap; }
.u2-yside-btn { width: 2.1rem; height: 2.1rem; border: 0; border-radius: .7rem; background: #fff; color: #445063; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--u2-shadow); cursor: pointer; flex: none; }
.u2-yside-btn:hover { color: var(--u2-sky-d); }
.u2-yside .yp-utabs { display: flex; flex-direction: column; flex-wrap: nowrap; gap: .15rem; margin: 0; padding: 0; border: 0; overflow: visible; }
.u2-ygroup { display: flex; flex-direction: column; gap: .12rem; }
.u2-ygroup + .u2-ygroup { margin-top: .35rem; }
.u2-yghead { display: flex; align-items: center; gap: .55rem; width: 100%; background: none; border: 0; border-radius: .85rem; padding: .55rem .6rem; color: #2a3340; font-weight: 800; font-size: .92rem; text-align: left; cursor: pointer; }
.u2-yghead:hover { background: #fff; }
.u2-yghead i.ico { width: 1.6rem; height: 1.6rem; border-radius: .55rem; background: var(--u2-tint); color: var(--u2-sky-d); display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: .95rem; }
.u2-yghead .lbl { flex: 1; white-space: nowrap; }
.u2-yghead .chev { font-size: .75rem; color: var(--u2-soft); transition: transform .2s ease; }
.u2-ygroup.open > .u2-yghead .chev { transform: rotate(180deg); }
.u2-ygroup.has-active > .u2-yghead i.ico { background: linear-gradient(135deg, #3dbdf0, #1aa7e0); color: #fff; }
.u2-ysub { display: none; flex-direction: column; gap: .1rem; margin-left: 1.25rem; padding-left: .7rem; border-left: 2px solid #dbe6f2; }
.u2-ygroup.open > .u2-ysub { display: flex; }
.u2-yside .yp-utab { display: flex; align-items: center; gap: .5rem; width: 100%; white-space: nowrap; margin: 0; padding: .45rem .65rem; border: 0; border-radius: .75rem; color: #445063; font-size: .88rem; font-weight: 600; background: none; }
.u2-yside .yp-utab:hover { background: #fff; color: var(--u2-ink); }
.u2-yside .yp-utab.active { background: #d3effc; color: #0b6a96; box-shadow: 0 2px 10px rgba(26, 167, 224, .22); border: 0; }
.u2-yside .yp-utab .yp-unum { display: none; }
.u2-yside .yp-utab .yp-dot.static { margin-left: auto; }
.u2-ymain { min-width: 0; padding: 1.25rem clamp(.9rem, 2vw, 1.75rem) 1.5rem; }
.u2-yburger { display: none; }
.u2-ywork.collapsed .u2-yside { padding: .7rem .5rem; }
.u2-ywork.collapsed .u2-yside-top b, .u2-ywork.collapsed .u2-yghead .lbl, .u2-ywork.collapsed .u2-yghead .chev { display: none; }
.u2-ywork.collapsed .u2-yside-top { justify-content: center; }
.u2-ywork.collapsed .u2-yghead { justify-content: center; padding: .5rem 0; }
.u2-ywork.collapsed .u2-ysub { margin-left: 0; padding-left: 0; border-left: 0; align-items: center; }
.u2-ywork.collapsed .u2-yside .yp-utab { justify-content: center; padding: .5rem 0; width: 2.7rem; }
.u2-ywork.collapsed .u2-yside .yp-utab span { display: none; }
.u2-ywork.collapsed .u2-ygroup .u2-ysub { display: flex; }
@media (max-width: 991.98px) {
    .u2-ywork, .u2-ywork.collapsed { grid-template-columns: minmax(0, 1fr); }
    .u2-yside { position: fixed; z-index: 1045; left: 0; top: 0; bottom: 0; height: auto; border-radius: 0 1.2rem 1.2rem 0; width: min(19rem, calc(100vw - 2rem)); max-height: none; transform: translateX(-120%); transition: transform .25s ease; background: #fff; box-shadow: var(--u2-shadow-lg); }
    .u2-ywork.drawer .u2-yside { transform: none; }
    .u2-ywork.collapsed .u2-yside-top b, .u2-ywork.collapsed .u2-yghead .lbl, .u2-ywork.collapsed .u2-yghead .chev, .u2-ywork.collapsed .u2-yside .yp-utab span { display: initial; }
    .u2-ywork.collapsed .u2-yghead, .u2-ywork.collapsed .u2-yside .yp-utab { justify-content: flex-start; width: 100%; padding: .5rem .65rem; }
    .u2-yburger { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .7rem; }
    .u2-yback { display: block; position: fixed; inset: 0; z-index: 1040; background: rgba(16, 20, 24, .45); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
    .u2-ywork.drawer .u2-yback { opacity: 1; pointer-events: auto; }
}

/* =====================================================================
   Organizer dashboard: Jatra Pravaas city backdrop and frosted cards
   ===================================================================== */
/* The isometric Jatra Pravaas backdrop now sits behind every page (not inside the embedded frames) */
body:not(.yp-embed)::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(238, 243, 251, .9) 0, rgba(238, 243, 251, .55) 40%, rgba(238, 243, 251, .12) 78%), url('../img/tirth-iso.svg') center top / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
.u2-dash { position: relative; }
body:not(.yp-embed) main .card, body:not(.yp-embed) main .yp-card { background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.u2-dash .yp-gc, .u2-dash .yp-stat, .u2-dash .card { background: var(--u2-glass) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .8) !important; }
.u2-dash .yp-gc-bg { opacity: .14; }
.u2-dash h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }

/* =====================================================================
   Landing page
   ===================================================================== */
.u2-land { margin: -1.5rem calc(50% - 50vw) -1rem; position: relative; overflow: hidden; padding-bottom: 1rem; }
.u2-wrap { max-width: 1160px; margin: 0 auto; padding: 0 1rem; position: relative; }
.u2-eyebrow { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .85rem; border-radius: 2rem; background: rgba(255, 255, 255, .8); color: var(--u2-sky-d); border: 1px solid rgba(26, 167, 224, .25); font-weight: 800; font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; }

.u2-hero { position: relative; padding: 3.6rem 0 3rem; overflow: hidden; }
.u2-hero-bg { position: absolute; inset: 0; background: url('../img/tirth-iso.svg') 78% 30% / cover no-repeat; }
.u2-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(238, 243, 251, .97) 0, rgba(238, 243, 251, .86) 36%, rgba(238, 243, 251, .15) 68%, rgba(238, 243, 251, 0) 100%), linear-gradient(180deg, rgba(238, 243, 251, 0) 70%, #eef3fb 100%); }
.u2-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); line-height: 1.03; letter-spacing: -.035em; margin: .9rem 0 1rem; color: var(--u2-ink); }
.u2-hero h1 em { font-style: normal; background: linear-gradient(135deg, #3cc2f4, #1aa7e0 55%, #0b78a8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.u2-hero p.lead { font-size: 1.15rem; color: #4b586a; max-width: 33rem; }
.u2-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.u2-cta .btn { padding: .8rem 1.55rem; font-size: 1.02rem; }
.u2-trust { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 1.4rem; color: #5d6a7c; font-size: .88rem; font-weight: 700; }
.u2-trust i { color: var(--u2-green); margin-right: .25rem; }

.u2-glass { background: var(--u2-glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .85); border-radius: 1.4rem; box-shadow: var(--u2-shadow-lg); }
.u2-hero-cards { display: flex; flex-direction: column; gap: .8rem; max-width: 24rem; margin-left: auto; }
.u2-hc { padding: 1rem 1.1rem; animation: u2-floaty 7s ease-in-out infinite; }
.u2-hc:nth-child(2) { animation-delay: -2.3s; margin-left: 1.5rem; }
.u2-hc:nth-child(3) { animation-delay: -4.6s; }
.u2-hc h6 { margin: 0 0 .6rem; font-size: .95rem; font-weight: 800; display: flex; align-items: center; gap: .5rem; }
.u2-hc h6 i { width: 1.9rem; height: 1.9rem; border-radius: .6rem; background: #f1f5fa; display: inline-flex; align-items: center; justify-content: center; color: #445063; }
.u2-hrow { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .5rem .65rem; background: rgba(255, 255, 255, .8); border-radius: .8rem; margin-top: .4rem; font-size: .88rem; color: #445063; font-weight: 600; }
.u2-hrow b { color: var(--u2-ink); font-size: 1rem; }
.u2-hrow b em { font-style: normal; color: var(--u2-green); font-size: .8rem; margin-left: .2rem; }
.u2-bar { position: relative; height: .8rem; border-radius: 1rem; background: repeating-linear-gradient(135deg, #e6ecf5 0 4px, #f1f5fa 4px 8px); overflow: hidden; }
.u2-bar > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 1rem; background: linear-gradient(90deg, #7fd6f7, #1aa7e0); animation: u2-fill 2.2s ease-out both; }
.u2-bars { display: flex; align-items: flex-end; gap: .5rem; height: 4.2rem; }
.u2-bars span { flex: 1; border-radius: .5rem .5rem .2rem .2rem; background: linear-gradient(180deg, #7fd6f7, #26b4ec); animation: u2-grow 1.4s ease-out both; }
.u2-bars span:nth-child(odd) { background: linear-gradient(180deg, #4cc3f2, #1aa7e0); }
@keyframes u2-fill { from { width: 0 !important; } }
@keyframes u2-grow { from { transform: scaleY(.1); transform-origin: bottom; } to { transform: none; transform-origin: bottom; } }
@keyframes u2-floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.u2-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: .4rem 0 3rem; }
.u2-stat { position: relative; padding: 1.3rem 1.4rem; overflow: hidden; }
.u2-stat i { position: absolute; right: 1.1rem; top: 1rem; width: 2.8rem; height: 2.8rem; border-radius: 1rem; background: var(--u2-tint); color: var(--u2-sky-d); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; }
.u2-stat:nth-child(2) i { background: #e6f5fc; color: var(--u2-orange); }
.u2-stat:nth-child(3) i { background: #e5f6ee; color: var(--u2-green); }
.u2-stat .n { font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--u2-ink); font-variant-numeric: tabular-nums; }
.u2-stat .t { color: var(--u2-soft); font-weight: 700; margin-top: .35rem; }

.u2-head { margin: .4rem 0 1.4rem; }
.u2-h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.025em; margin: .7rem 0 .3rem; color: var(--u2-ink); }
.u2-sub { color: var(--u2-soft); max-width: 40rem; margin: 0; }

.u2-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-bottom: 3rem; }
.u2-t { background: var(--u2-surface); border: 1px solid rgba(40, 70, 120, .07); border-radius: 1.6rem; box-shadow: var(--u2-shadow); padding: 1.4rem 1.4rem 0; display: flex; flex-direction: column; min-height: 28rem; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; position: relative; }
.u2-t:hover { transform: translateY(-4px); box-shadow: var(--u2-shadow-lg); }
.u2-t .k { font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--u2-sky-d); }
.u2-t.trv .k { color: var(--u2-orange); }
.u2-t.stay .k { color: var(--u2-green); }
.u2-t h3 { font-size: 1.5rem; line-height: 1.12; margin: .35rem 0 .5rem; }
.u2-t p { color: var(--u2-soft); margin: 0; }
.u2-t .hint { font-size: .74rem; font-weight: 700; color: #8794a5; margin-top: .5rem; }
.u2-t .stage { margin-top: auto; height: 16.5rem; position: relative; display: flex; align-items: center; justify-content: center; perspective: 900px; container-type: inline-size; }
.u2-t .tilt { transform-style: preserve-3d; transition: transform .25s ease-out; }

/* registration board (3D, light glass) */
.u2-sc { transform-style: preserve-3d; position: relative; }
.sc-reg { width: 15.5rem; height: 11.5rem; transform: rotateX(16deg) rotateY(-24deg); animation: sc-float 6s ease-in-out infinite; }
.sc-reg .pane { position: absolute; inset: 0; border-radius: 1rem; background: #fff; border: 1px solid #dbe6f2; box-shadow: 0 24px 40px rgba(40, 70, 120, .22); padding: .85rem; }
.sc-reg .pane.back1 { transform: translateZ(-34px) translateY(10px); background: #cfeefb; border-color: #b5e2f5; }
.sc-reg .pane.back2 { transform: translateZ(-68px) translateY(20px); background: #a9def4; border-color: #8fd1ec; }
.sc-reg .hd { display: flex; align-items: center; gap: .4rem; margin-bottom: .55rem; color: var(--u2-ink); }
.sc-reg .hd i { color: var(--u2-sky); font-size: 1.1rem; }
.sc-reg .hd b { font-size: .8rem; }
.sc-reg .hd .live { margin-left: auto; font-size: .6rem; font-weight: 800; letter-spacing: .08em; color: #fff; background: var(--u2-orange); border-radius: 2rem; padding: .08rem .45rem; animation: sc-blink 1.6s ease-in-out infinite; }
.sc-reg .rw { display: flex; align-items: center; gap: .5rem; padding: .32rem 0; opacity: 0; animation: sc-in .6s ease forwards; }
.sc-reg .rw:nth-of-type(2) { animation-delay: .3s; }
.sc-reg .rw:nth-of-type(3) { animation-delay: .7s; }
.sc-reg .rw:nth-of-type(4) { animation-delay: 1.1s; }
.sc-reg .av { width: 1.5rem; height: 1.5rem; border-radius: 50%; flex: none; }
.sc-reg .ln { height: .45rem; border-radius: 1rem; background: #e3eaf3; flex: 1; }
.sc-reg .ln.s { flex: .6; }
.sc-reg .ok { margin-left: auto; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--u2-green); color: #fff; font-size: .65rem; display: flex; align-items: center; justify-content: center; flex: none; }
.sc-reg .pop { position: absolute; right: -1.4rem; top: -1.2rem; transform: translateZ(60px); background: linear-gradient(135deg, #3dbdf0, #1aa7e0); color: #fff; font-weight: 800; font-size: .78rem; padding: .35rem .75rem; border-radius: 2rem; box-shadow: 0 10px 22px rgba(26, 167, 224, .4); animation: sc-bob 3s ease-in-out infinite; }
@keyframes sc-float { 0%, 100% { transform: rotateX(16deg) rotateY(-24deg) translateY(0); } 50% { transform: rotateX(11deg) rotateY(-17deg) translateY(-10px); } }
@keyframes sc-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes sc-bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -7px; } }
@keyframes sc-blink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* travel: a train runs to the station, then the bus carries on to the hill temple */
.trv-svg, .sty-svg { width: 100%; height: 100%; display: block; -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 52%, transparent 78%); mask-image: radial-gradient(ellipse at 50% 50%, #000 52%, transparent 78%); }
.u2-scene { position: relative; width: 100%; height: 100%; }
.trv-route { animation: u2-march 1.4s linear infinite; }
@keyframes u2-march { to { stroke-dashoffset: -20; } }
.trv-train { animation: trv-train 12s ease-in-out infinite; }
.trv-bus { animation: trv-bus 12s ease-in-out infinite; }
@keyframes trv-train { 0% { transform: translate(-110px, -64px); opacity: 0; } 6% { opacity: 1; } 38% { transform: translate(0, 0); opacity: 1; } 52% { transform: translate(0, 0); opacity: 1; } 60% { transform: translate(60px, 35px); opacity: 0; } 100% { transform: translate(60px, 35px); opacity: 0; } }
@keyframes trv-bus { 0%, 44% { transform: translate(0, 0); opacity: 0; } 50% { transform: translate(0, 0); opacity: 1; } 88% { transform: translate(-94px, 54px); opacity: 1; } 96%, 100% { transform: translate(-94px, 54px); opacity: 0; } }
.scn-lbl { position: absolute; transform: translate(-50%, -50%); background: rgba(255, 255, 255, .92); border: 1px solid #dbe6f2; border-radius: 2rem; padding: .12rem .6rem; font-size: clamp(.62rem, 2.6cqw, .78rem); font-weight: 800; color: #394557; white-space: nowrap; box-shadow: 0 6px 14px rgba(40, 70, 120, .14); }
.scn-lbl i { margin-right: .25rem; color: var(--u2-orange); }

/* stay: a dharamshala; hover to go inside, hover on to see room numbers */
.u2-stay { cursor: pointer; }
.sty-svg { transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); transform-origin: 66% 24%; }
.sty-ex { transition: opacity .7s ease, transform .9s ease; }
.sty-in { opacity: 0; transition: opacity .7s ease; }
.u2-stay .rn { position: absolute; transform: translate(-50%, -50%); font-size: clamp(.5rem, 2.1cqw, .72rem); font-weight: 800; color: #0b5f86; background: rgba(255, 255, 255, .92); border-radius: .35rem; padding: 0 .28rem; opacity: 0; transition: opacity .5s ease; box-shadow: 0 3px 8px rgba(40, 70, 120, .18); pointer-events: none; }
.u2-stay .step { position: absolute; left: 50%; bottom: .2rem; transform: translateX(-50%); font-size: .72rem; font-weight: 800; color: #6b7686; background: rgba(255, 255, 255, .9); border-radius: 2rem; padding: .12rem .7rem; white-space: nowrap; }
.u2-stay .step .s1, .u2-stay .step .s2 { display: none; }
.u2-stay:hover .sty-ex, .u2-stay.is-in .sty-ex { opacity: 0; transform: translateY(-26px); }
.u2-stay:hover .sty-in, .u2-stay.is-in .sty-in { opacity: 1; }
.u2-stay:hover .sty-svg, .u2-stay.is-deep .sty-svg { transform: scale(1.5); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1) 1.1s; }
.u2-stay.is-in .sty-svg { transform: scale(1.5); }
.u2-stay:hover .rn, .u2-stay.is-deep .rn { opacity: 1; transition: opacity .6s ease 1.9s; }
.u2-stay .step .s0 { display: inline; }
.u2-stay:hover .step .s0, .u2-stay.is-in .step .s0 { display: none; }
.u2-stay:hover .step .s1, .u2-stay.is-in .step .s1 { display: inline; }
.u2-stay.is-deep .step .s1 { display: none; }
.u2-stay.is-deep .step .s2 { display: inline; }

/* route map (dark map card with an orange route, like a fleet tracker) */
.u2-rm { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 1.6rem; overflow: hidden; background: var(--u2-night); color: #f1f3f6; box-shadow: var(--u2-shadow-lg); }
.u2-rm.solo { grid-template-columns: 1fr; }
.u2-rm-map { position: relative; aspect-ratio: 800 / 420; align-self: center; width: 100%; background: #0e0f11; }
.u2-rm-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.u2-rm-lbl { position: absolute; transform: translate(-50%, 0); font-size: .78rem; font-weight: 700; color: #fff; white-space: nowrap; text-shadow: 0 2px 6px rgba(0, 0, 0, .8); }
.u2-rm-lbl.up { transform: translate(-50%, -135%); }
.u2-rm-lbl.dim { color: #9aa3ae; font-weight: 600; }
.u2-rm-eta { position: absolute; transform: translate(-50%, 0); background: #eef1f5; color: #101418; font-size: .78rem; font-weight: 800; border-radius: .5rem; padding: .15rem .5rem; }
.u2-rm-legend { position: absolute; left: 1rem; bottom: .8rem; display: flex; gap: 1rem; color: #9aa3ae; font-size: .76rem; }
.u2-rm-legend i { display: inline-block; width: 1.2rem; border-top: 3px solid #1aa7e0; vertical-align: middle; margin-right: .3rem; }
.u2-rm-legend i.l2 { border-top: 2px dashed #8b95a1; }
.u2-rm-info { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.u2-rm-meta { display: flex; justify-content: space-between; gap: .6rem; color: #9aa3ae; font-size: .82rem; }
.u2-rm-meta .code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #fff; }
.u2-rm-title { font-size: clamp(1.3rem, 2.6vw, 1.9rem); margin: .2rem 0; color: #fff; overflow-wrap: anywhere; }
.u2-rm-title i { color: #1aa7e0; font-size: 1rem; margin: 0 .3rem; }
.u2-rm-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; padding: .25rem .8rem; border-radius: 2rem; border: 1px solid #2c2e33; background: #17181b; color: #fff; font-weight: 700; font-size: .82rem; }
.u2-rm-pill i { width: .5rem; height: .5rem; border-radius: 50%; background: #1aa7e0; }
.u2-rm-tl { list-style: none; margin: .6rem 0 0; padding: .9rem 0 0; border-top: 1px solid #25272b; max-height: 18rem; overflow-y: auto; scrollbar-width: thin; }
.u2-rm-tl li { position: relative; padding: 0 0 .9rem 1.8rem; }
.u2-rm-tl li::before { content: ""; position: absolute; left: .1rem; top: .35rem; width: .72rem; height: .72rem; border-radius: 50%; border: 2px solid #4a4d54; }
.u2-rm-tl li.done::before { background: #1aa7e0; border-color: #1aa7e0; }
.u2-rm-tl li b { display: block; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.u2-rm-tl li small { color: #9aa3ae; }
@media (max-width: 991px) { .u2-rm { grid-template-columns: 1fr; }  }

.u2-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: .4rem 0 3rem; counter-reset: s; }
.u2-step { padding: 1.3rem; counter-increment: s; background: var(--u2-surface); border: 1px solid rgba(40, 70, 120, .07); border-radius: 1.4rem; box-shadow: var(--u2-shadow); }
.u2-step::before { content: counter(s); display: inline-flex; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: linear-gradient(135deg, #3cc2f4, #1aa7e0); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: .7rem; }
.u2-step h4 { font-size: 1.15rem; margin: 0 0 .25rem; }
.u2-step p { margin: 0; color: var(--u2-soft); }

.u2-band { position: relative; overflow: hidden; border-radius: 2rem; padding: 3.2rem 1.5rem; text-align: center; color: #05364d; background: radial-gradient(900px 400px at 85% -20%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 60%), linear-gradient(135deg, #8fdcfb, #3cc2f4 55%, #1aa7e0); box-shadow: var(--u2-shadow-lg); margin: 0 0 2rem; }
.u2-band::before, .u2-band::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); pointer-events: none; }
.u2-band::before { width: 22rem; height: 22rem; right: -6rem; bottom: -12rem; }
.u2-band::after { width: 14rem; height: 14rem; right: 0; bottom: -8rem; }
.u2-band h2 { color: #05364d; font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -.025em; position: relative; }
.u2-band p { color: #0a4a68; max-width: 34rem; margin: .4rem auto 1.5rem; font-size: 1.08rem; position: relative; }
.u2-band .btn { padding: .85rem 1.8rem; position: relative; }

@media (max-width: 991px) {
    .u2-bento, .u2-steps, .u2-stats { grid-template-columns: 1fr; }
    .u2-hero-bg { background-position: 70% 0; opacity: .55; }
    .u2-hero-cards { max-width: none; margin: 1.4rem 0 0; }
    .u2-hc:nth-child(2) { margin-left: 0; }
}

/* =====================================================================
   Organizer tour
   ===================================================================== */
.u2-tour-veil { position: fixed; inset: 0; z-index: 3000; }
.u2-tour-spot { position: fixed; z-index: 3001; border-radius: 1rem; box-shadow: 0 0 0 9999px rgba(16, 20, 24, .6); outline: 2px solid var(--u2-orange); transition: all .25s ease; pointer-events: none; }
.u2-tour-card { position: fixed; z-index: 3002; width: min(21rem, calc(100vw - 1.5rem)); background: #fff; border-radius: 1.3rem; padding: 1.1rem 1.2rem 1rem; box-shadow: var(--u2-shadow-lg); animation: u2-rise .25s ease both; }
.u2-tour-card h5 { font-size: 1.1rem; margin: 0 0 .3rem; }
.u2-tour-card p { color: #556174; margin: 0 0 .9rem; font-size: .95rem; }
.u2-tour-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.u2-tour-dots { display: flex; gap: .25rem; }
.u2-tour-dots i { width: .45rem; height: .45rem; border-radius: 50%; background: #d9e3ef; }
.u2-tour-dots i.on { background: var(--u2-orange); width: 1.1rem; border-radius: 1rem; }
.u2-tour-skip { background: none; border: 0; color: var(--u2-soft); font-weight: 700; font-size: .85rem; padding: 0; }
.u2-tour-emoji { font-size: 2rem; line-height: 1; margin-bottom: .4rem; }
