/* Site-wide consistency layer, loaded last on every public page.
   Unifies content width, page-title scale, Bangla letter-spacing and action buttons
   without touching each page's own stylesheet. */

/* 1. Content width: 1136px column (1200 max − 2×32 gutter) on desktop, 18px gutters on phones. */
@media (min-width:761px){
 main.visa-main,main.portal.trip-page,main.portal.destination-page,main.portal.games-page,main.account-shell{max-width:1200px!important;padding-left:32px!important;padding-right:32px!important;box-sizing:border-box}
 body[data-page="map"] main>.hero{width:min(1136px,calc(100% - 64px));max-width:none;margin-left:auto;margin-right:auto}
 body[data-page="map"] .maker-section,body[data-page="map"] .wishlist-section{max-width:1200px;padding-left:32px;padding-right:32px;box-sizing:border-box}
}
@media (max-width:760px){
 main.visa-main,.passport-home .passport-main,main.account-shell,main.portal.trip-page{padding-left:18px!important;padding-right:18px!important}
 body[data-page="map"] main>.hero{margin-left:18px!important;margin-right:18px!important;width:auto!important}
}

/* 2. Page titles: two tiers plus utility pages. Shurjo bold, no tracking. */
#home-heading,.visa-hero h1,#map-hero-title,.discovery-hero h1,.community-hero h1{font-size:clamp(32px,2.4vw + 22.6px,54px)!important;font-weight:700;letter-spacing:0!important;line-height:1.2!important}
.page-intro:not(.discovery-hero) h1,.trip-intro h1,.games-intro h1,.privacy-intro h1,.account-intro h1,.destination-heading h1{font-size:clamp(30px,1.3vw + 25px,44px)!important;font-weight:700;letter-spacing:0!important;line-height:1.22!important}
body:not([data-page]) main>h1{font-size:clamp(28px,.8vw + 25px,36px)!important;font-weight:700;letter-spacing:0!important;line-height:1.25!important}

/* 3. Bangla text is never letter-spaced (tracking breaks conjunct shaping and crowds Shurjo bold). */
#home-heading,#home-heading em,#map-hero-title,#passport-hub-title,.page-intro h1,.trip-intro h1,.games-intro h1,.community-hero h1,
.home-kicker,.map-hero .eyebrow,.page-intro .eyebrow,.discovery-kicker,.community-badge,.account-intro small,.account-kicker,.destination-kicker{letter-spacing:0!important}

/* Page kickers: one size. */
.home-kicker,.map-hero .eyebrow,.page-intro .eyebrow,.discovery-kicker,.privacy-kicker,.trip-intro .eyebrow,.account-intro small,.destination-kicker{font-size:13px}

/* 4. Action buttons: 50px tall, 12px corners, 15px bold label. Chips and icon buttons keep their own shapes. */
.button:not(.season-controls *),.minor-button:not(.season-controls *),a.home-primary,.home-actions>a,.passport-primary,.visa-primary,.visa-tabs button,
.hero-actions .button,.hero-actions .text-button,.download-options button,.trip-download-formats button,.passport-downloads button,
.community-choices .button,.account-primary,body:not([data-page]) main>button,body:not([data-page]) main nav a{min-height:50px!important;padding-top:12px!important;padding-bottom:12px!important;line-height:1.3!important;border-radius:12px!important;font-size:15px!important;font-weight:600!important;letter-spacing:0!important}
.trip-empty .button.primary,.quiz-setup .button.primary{border-radius:12px!important}

/* Segmented tabs share one corner radius; selection chips are pills. */
.mode-tabs button,.passport-tabs button,.account-tabs button{border-radius:8px!important}
.district-button{border-radius:999px!important}

/* 5. Section headings (h2) by role: section 28/24px, panel 23/21px, card 20/19px. */
.passport-home main h2,body[data-page="map"] .section-heading h2,.season-heading h2,#explore-popular>h2,#explore-directory-title,
.community-section-heading h2,.community-published>h2,.community-leaderboard>h2,.destination-content>.destination-section>h2,
.destination-section-heading h2,body[data-page="district"] main.portal>h2,.site-directory>section>h2
{font-size:clamp(24px,.4vw + 22.3px,28px)!important;font-weight:700!important;line-height:1.3!important;letter-spacing:0!important}
#world-picker>h2,.trip-empty h2,.quiz-setup h2,#note-form>h2,body[data-page="journal"] .action-row>h2,.privacy-document h2,
.account-auth h2,.destination-sidebar h2,.district-intro h2
{font-size:clamp(21px,.2vw + 20.1px,23px)!important;font-weight:700!important;line-height:1.3!important;letter-spacing:0!important}
.privacy-overview h2,.destination-info-grid h2,.destination-card h2
{font-size:clamp(19px,.1vw + 18.6px,20px)!important;font-weight:700!important;line-height:1.35!important;letter-spacing:0!important}

/* 6. Light glass. A soft fixed green/gold glow sits behind the page so translucent surfaces have something to blur.
   Export previews (posters, tickets, passport pages, photo frames) stay opaque so they match their downloads. */
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
 background:radial-gradient(48vmax 38vmax at 8% 12%,rgba(122,170,138,.20),transparent 70%),
  radial-gradient(42vmax 34vmax at 92% 30%,rgba(226,190,111,.16),transparent 70%),
  radial-gradient(52vmax 40vmax at 60% 100%,rgba(96,150,128,.14),transparent 72%)}
:root{--glass-bg:rgba(255,255,255,.56);--glass-tint:rgba(234,242,230,.58);--glass-line:rgba(39,82,63,.11);
 --glass-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 1px 2px rgba(23,63,53,.04),0 14px 34px -20px rgba(23,63,53,.28)}
/* Large panels and cards: translucent white, blurred backdrop, hairline edge and a top highlight. */
.passport-studio,.passport-editor,.passport-collection,.passport-shortcuts a:not([aria-current]),.visa-panel,.panel,.explore-picker,.explore-season,.season-destination,
.trip-panel,.trip-empty,.game-panel,.privacy-document,.privacy-overview article,.account-auth,.community-empty,.district-info-box,
.destination-gallery,.destination-section,.destination-plan-card,.destination-related-card,.destination-map,.home-sponsor
{background:var(--glass-bg)!important;-webkit-backdrop-filter:blur(16px) saturate(150%);backdrop-filter:blur(16px) saturate(150%);
 border:1px solid var(--glass-line)!important;box-shadow:var(--glass-shadow)!important}
/* Tinted panels keep their green cast. */
.passport-download-card,.destination-location-card,.privacy-contact
{background:var(--glass-tint)!important;-webkit-backdrop-filter:blur(16px) saturate(150%);backdrop-filter:blur(16px) saturate(150%);
 border:1px solid var(--glass-line)!important;box-shadow:var(--glass-shadow)!important}
/* Many small tiles (sitemap) get the translucent surface without the blur cost. */
.site-directory details{background:rgba(255,255,255,.6)!important;border:1px solid var(--glass-line)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important}
/* Header controls. */
.site-header .app-navigation,.site-header .language-toggle,.site-header .member-menu-profile
{background:rgba(255,255,255,.5)!important;-webkit-backdrop-filter:blur(14px) saturate(150%);backdrop-filter:blur(14px) saturate(150%);
 border:1px solid rgba(39,82,63,.10)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 6px 18px -12px rgba(23,63,53,.25)!important}
.site-header .app-navigation a.current,.site-header .app-navigation a[aria-current="page"]{background:rgba(255,255,255,.92)!important;box-shadow:0 2px 8px -4px rgba(23,63,53,.25)}
/* Browsers without backdrop blur get a more opaque surface so text contrast holds. */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){:root{--glass-bg:rgba(255,255,255,.86);--glass-tint:rgba(234,242,230,.9)}}

/* Glass tiles still show their hover state. */
.passport-shortcuts a:not([aria-current]):hover,.season-destination:hover,.destination-related-card:hover{background:rgba(234,241,229,.78)!important}
