/* Explore Madhya Pradesh - destination pages (design from the approved Kanha prototype).
   Everything is scoped to .emp so the theme is not affected.
   Breakpoints: phone < 600 · large phone / tablet 600-991 · laptop 992+ · wide 1400+
   The theme's fixed header ends at 84px (<=991) / 96px (992+); on <=991 it also has a 64px bottom bar. */

/* .emp-portal = the quiz popup and toast, moved to <body> by the script so they sit above the theme's fixed header and bottom bar. */
.emp, .emp-portal {
	--emp-forest: #1E3B2C; --emp-moss: #2F5A40; --emp-meadow: #D4A72C; --emp-hide: #8A5A36;
	--emp-mist: #E9EEE6; --emp-paper: #FBFCF8; --emp-ink: #1A241E; --emp-muted: #56635A; --emp-line: #CBD5C8;
	--emp-surface: #FFFFFF; --emp-gold: #F6E7B8;
	--emp-display: "Rozha One", "Tiro Devanagari Hindi", Georgia, serif;
	--emp-body: "Mukta", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.emp-portal, .emp-portal * { box-sizing: border-box; font-family: var(--emp-body); }
.emp-portal { color: var(--emp-ink); line-height: 1.55; }
.emp {
	--emp-head: 90px;     /* space taken by the theme header */
	--emp-gutter: 16px;
	--emp-radius: 16px;
	background: var(--emp-paper);
	color: var(--emp-ink);
	font-family: var(--emp-body);
	font-size: 17px;
	line-height: 1.6;
	padding: var(--emp-head) 0 80px; /* bottom: room for the theme's mobile bottom bar */
	position: relative;
	z-index: 1;
	overflow-x: clip;
}
.emp *, .emp *::before, .emp *::after { box-sizing: border-box; }
.emp img { max-width: 100%; height: auto; display: block; }
.emp a { color: var(--emp-moss); }
.emp :focus-visible { outline: 3px solid var(--emp-meadow); outline-offset: 2px; border-radius: 4px; }
.emp p { margin: 0 0 14px; max-width: 68ch; }
.emp h2 { font-family: var(--emp-display); font-weight: 400; font-size: clamp(26px, 5.5vw, 34px); line-height: 1.15; margin: 36px 0 14px; color: var(--emp-forest); }
.emp h3 { font-family: var(--emp-body); font-size: 18px; line-height: 1.35; margin: 0 0 4px; color: var(--emp-ink); }

/* Language: only the chosen one is shown. */
.emp[data-emp-lang="en"] .hi, .emp[data-emp-lang="hi"] .en { display: none !important; }
.emp[data-emp-lang="hi"] { font-size: 18px; }

.emp-container { width: 100%; max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: var(--emp-gutter); padding-right: var(--emp-gutter); }

/* ---------- sticky bar: brand, language, tabs ---------- */
.emp-top { position: sticky; top: var(--emp-head); z-index: 50; background: rgba(251, 252, 248, .96); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--emp-line); }
.emp-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 2px; }
.emp-brand { font-family: var(--emp-display); font-size: clamp(17px, 4.6vw, 22px); color: var(--emp-forest); line-height: 1.1; min-width: 0; }
.emp-brand small { display: block; font-family: var(--emp-body); font-size: 12px; color: var(--emp-muted); font-weight: 500; }
.emp-lang { flex: none; display: flex; border: 1px solid var(--emp-line); border-radius: 999px; overflow: hidden; background: var(--emp-surface); }
.emp-lang button { border: 0; background: none; color: var(--emp-ink); font: 500 14px var(--emp-body); padding: 6px 13px; cursor: pointer; min-height: 38px; min-width: 44px; }
.emp-lang button[aria-pressed="true"] { background: var(--emp-forest); color: var(--emp-paper); }
.emp-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.emp-tabs::-webkit-scrollbar { display: none; }
.emp-tabs button { flex: 0 0 auto; border: 0; background: none; color: var(--emp-muted); font: 500 15px var(--emp-body); padding: 10px 10px 11px; border-bottom: 3px solid transparent; cursor: pointer; min-height: 44px; }
.emp-tabs button:first-child { padding-left: 0; }
.emp-tabs button[aria-selected="true"] { color: var(--emp-ink); border-bottom-color: var(--emp-meadow); }

.emp-notes { padding-top: 8px; }
.emp-draft { font-size: 13px; color: var(--emp-muted); margin-bottom: 6px; }
.emp-draft b { color: var(--emp-hide); }
.emp-scan-note { font-size: 13px; font-weight: 700; color: var(--emp-moss); margin-bottom: 6px; }
.emp-scan-note[hidden] { display: none; }
.emp-panel[hidden] { display: none; }

/* ---------- hero ---------- */
.emp-hero-wrap { padding-left: 0; padding-right: 0; }
.emp-hero { position: relative; overflow: hidden; background: var(--emp-forest); }
.emp-hero img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 40% 30%; }
.emp-hero.no-photo { min-height: 300px; background: radial-gradient(circle at 20% 20%, var(--emp-moss), var(--emp-forest)); }
.emp-hero-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 90px var(--emp-gutter) 18px; background: linear-gradient(to top, rgba(10, 22, 15, .88), rgba(10, 22, 15, 0)); }
.emp-hero h1 { margin: 0; font-family: var(--emp-display); font-weight: 400; color: var(--emp-gold); font-size: clamp(52px, 17vw, 150px); line-height: .92; letter-spacing: -.01em; overflow-wrap: anywhere; }
.emp[data-emp-lang="hi"] .emp-hero h1 { line-height: 1.15; }
.emp-hero-title p { margin: 8px 0 0; color: #F3F5EF; font-size: clamp(16px, 4.4vw, 22px); max-width: 34ch; }

/* ---------- explore layout ---------- */
/* Phones/tablets: one column; the two wrappers "disappear" and blocks are ordered. */
.emp-layout { display: flex; flex-direction: column; }
.emp-col-main, .emp-col-side { display: contents; }
.emp-o1 { order: 1; } .emp-o2 { order: 2; } .emp-o3 { order: 3; } .emp-o4 { order: 4; } .emp-o5 { order: 5; } .emp-o6 { order: 6; }
.emp-o7 { order: 7; } .emp-o8 { order: 8; } .emp-o9 { order: 9; } .emp-o10 { order: 10; } .emp-o11 { order: 11; }
.emp-blk { min-width: 0; }

/* ---------- passport ---------- */
.emp-passport { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin-top: 20px; padding: 14px; border: 2px dashed var(--emp-hide); border-radius: 14px; background: var(--emp-mist); }
.emp-stamp { width: 96px; height: 96px; transform: rotate(-12deg); color: var(--emp-hide); font-family: var(--emp-body); opacity: .28; filter: grayscale(1); transition: opacity .3s; }
.emp-passport.is-collected .emp-stamp { opacity: 1; filter: none; }
.emp-stamp.pop { animation: emp-thud .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes emp-thud { 0% { transform: rotate(-12deg) scale(1.8); opacity: 0; } 100% { transform: rotate(-12deg) scale(1); opacity: 1; } }
.emp-passport h3 { font-family: var(--emp-display); font-weight: 400; font-size: 21px; color: var(--emp-hide); margin: 0; }
.emp-passport p { margin: 2px 0 8px; font-size: 14.5px; line-height: 1.45; }
.emp-dots { display: flex; gap: 5px; flex-wrap: wrap; }
.emp-dots span { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--emp-hide); }
.emp-dots span.on { background: var(--emp-hide); }

/* ---------- facts ---------- */
.emp-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--emp-line); }
.emp-facts div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--emp-line); min-width: 0; }
.emp-facts div:nth-child(odd) { border-right: 1px solid var(--emp-line); }
.emp-facts div:nth-child(even) { padding-left: 14px; }
.emp-facts dt { font-size: 13px; color: var(--emp-muted); }
.emp-facts dd { margin: 0; font-weight: 500; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }

/* ---------- story band ---------- */
.emp-story { background: var(--emp-forest); color: #EEF3EC; margin: 36px calc(-1 * var(--emp-gutter)) 0; padding: 28px var(--emp-gutter) 30px; }
.emp-story h2 { color: var(--emp-gold); margin-top: 0; }
.emp-story p { color: #EEF3EC; }
.emp-numrow { display: flex; align-items: flex-end; gap: 12px 14px; margin: 4px 0 16px; flex-wrap: wrap; }
.emp-num { font-family: var(--emp-display); font-size: clamp(52px, 14vw, 76px); line-height: 1; color: var(--emp-meadow); }
.emp-lbl { font-size: 14px; max-width: 18ch; padding-bottom: 8px; }
.emp-arrow { font-size: 28px; padding-bottom: 10px; }

/* ---------- what to see ---------- */
.emp-see { list-style: none; padding: 0; margin: 0; }
.emp-see li { padding: 14px 0; border-bottom: 1px solid var(--emp-line); }
.emp-see li.has-img { display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: start; }
.emp-see li img { width: 104px; height: 80px; object-fit: cover; border-radius: 10px; }
.emp-see p { margin: 0; color: var(--emp-muted); font-size: 16px; }

/* ---------- gallery ---------- */
.emp-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.emp-gallery a { display: block; border-radius: 10px; overflow: hidden; }
.emp-gallery a:first-child { grid-column: 1 / -1; }
.emp-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.emp-gallery a:first-child img { aspect-ratio: 16 / 9; }
.emp-gallery a:hover img { transform: scale(1.03); }

.emp-more { margin-top: 28px; }
.emp-more img { border-radius: 12px; }

.emp-know { padding: 0; margin: 0; list-style: none; }
.emp-know li { padding: 10px 0 10px 20px; position: relative; }
.emp-know li::before { content: ""; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--emp-meadow); }

/* ---------- buttons, project ---------- */
.emp-project { border-left: 4px solid var(--emp-meadow); padding: 4px 0 4px 16px; }
.emp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 500 16px var(--emp-body); min-height: 46px; padding: 10px 18px; border-radius: 10px; border: 0; cursor: pointer; text-decoration: none; transition: transform .15s, background .2s; }
.emp-btn:active { transform: scale(.98); }
.emp-btn.primary { background: var(--emp-forest); color: var(--emp-paper); }
.emp-btn.primary:hover { background: var(--emp-moss); }
.emp-btn.ghost { background: transparent; color: var(--emp-forest); border: 1.5px solid var(--emp-forest); }
.emp-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- quiz game card ---------- */
.emp-game-card { display: grid; grid-template-columns: auto 1fr; gap: 14px; margin-top: 36px; padding: 18px; border-radius: var(--emp-radius); background: linear-gradient(135deg, var(--emp-forest), var(--emp-moss)); color: #EEF3EC; }
.emp-game-card h2 { color: var(--emp-gold); margin: 0 0 6px; font-size: 26px; }
.emp-game-card p { color: #EEF3EC; font-size: 15px; margin-bottom: 10px; }
.emp-game-card-icon { font-size: 34px; line-height: 1; }
.emp-game-card .emp-btn.primary { background: var(--emp-meadow); color: var(--emp-ink); font-weight: 700; }
.emp-game-progress { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.emp-game-progress span { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; border: 1.5px solid rgba(246, 231, 184, .6); color: var(--emp-gold); }
.emp-game-progress span.on { background: var(--emp-gold); color: var(--emp-forest); border-color: var(--emp-gold); }

/* ---------- products ---------- */
.emp-products { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.emp-products a { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--emp-line); border-radius: 12px; background: var(--emp-surface); color: var(--emp-ink); text-decoration: none; height: 100%; }
.emp-products img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 8px; }
.emp-price { color: var(--emp-moss); font-weight: 700; }

/* ---------- more in the series ---------- */
.emp-nearby { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--emp-gutter)); padding-right: var(--emp-gutter); }
.emp-nearby a { flex: 0 0 150px; scroll-snap-align: start; background: var(--emp-mist); border: 1px solid var(--emp-line); border-radius: 12px; padding: 14px; color: var(--emp-ink); text-decoration: none; transition: border-color .2s; }
.emp-nearby a:hover { border-color: var(--emp-meadow); }
.emp-nearby b { display: block; font-family: var(--emp-display); font-weight: 400; font-size: 20px; color: var(--emp-forest); }
.emp-nearby span { font-size: 14px; color: var(--emp-muted); }

/* ---------- book & plan ---------- */
.emp-page { padding-top: 4px; }
.emp-book { display: grid; grid-template-columns: 1fr; gap: 0; }
.emp-book a { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--emp-line); text-decoration: none; color: var(--emp-ink); }
.emp-book a b { font-size: 17px; }
.emp-book a > span { grid-column: 1; color: var(--emp-muted); font-size: 15px; }
.emp-book a i { grid-row: 1 / 3; grid-column: 2; font-style: normal; font-size: 13px; color: var(--emp-moss); font-weight: 700; text-align: right; max-width: 140px; overflow-wrap: anywhere; }
.emp-rules { padding-left: 20px; }
.emp-rules li { margin-bottom: 8px; }
.emp-sos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.emp-sos a { display: block; padding: 14px; border-radius: 12px; background: var(--emp-mist); text-decoration: none; color: var(--emp-ink); }
.emp-sos a b { display: block; font-family: var(--emp-display); font-weight: 400; font-size: 30px; color: var(--emp-hide); }

/* ---------- all places / series home ---------- */
.emp-dest { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.emp-dest a { display: block; padding: 14px; border-radius: 12px; border: 1px solid var(--emp-line); background: var(--emp-surface); color: var(--emp-ink); text-decoration: none; height: 100%; transition: border-color .2s, transform .2s; }
.emp-dest a:hover { border-color: var(--emp-meadow); }
.emp-dest li.here a { border: 2px solid var(--emp-meadow); }
.emp-dest b, .emp-cards b { font-family: var(--emp-display); font-weight: 400; font-size: 20px; display: block; color: var(--emp-forest); }
.emp-dest span, .emp-cards span { font-size: 14px; color: var(--emp-muted); display: block; }
.emp-dest em, .emp-cards em { font-style: normal; font-size: 13px; color: var(--emp-hide); font-weight: 700; }
.emp-cards { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.emp-cards a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--emp-line); background: var(--emp-surface); text-decoration: none; padding-bottom: 12px; height: 100%; transition: transform .2s, box-shadow .2s; }
.emp-cards a:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(30, 59, 44, .12); }
.emp-cards img, .emp-card-noimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--emp-forest); margin-bottom: 10px; }
.emp-cards b, .emp-cards span, .emp-cards em { padding: 0 12px; }

.emp-foot { margin-top: 48px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--emp-line); font-size: 14px; color: var(--emp-muted); }
.emp-toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--emp-ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 100001; max-width: calc(100vw - 32px); }
.emp-toast.show { opacity: 1; }

/* ---------- quiz game popup ---------- */
html.emp-noscroll, html.emp-noscroll body { overflow: hidden; }
.emp-game { position: fixed; inset: 0; z-index: 100000; /* above the theme bottom bar (9999) */ display: flex; align-items: flex-end; justify-content: center; }
.emp-game[hidden] { display: none; }
.emp-game-backdrop { position: absolute; inset: 0; background: rgba(10, 22, 15, .6); animation: emp-fade .2s; }
.emp-game-box { position: relative; width: 100%; max-height: 92vh; max-height: 92dvh; background: var(--emp-paper); border-radius: 20px 20px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); animation: emp-up .25s ease-out; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom, 0); }
.emp-game-x { position: absolute; top: 8px; right: 10px; width: 44px; height: 44px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--emp-muted); cursor: pointer; z-index: 2; }
.emp-game-body { overflow-y: auto; padding: 22px 20px 24px; position: relative; }
.emp-game-title { font-family: var(--emp-display); font-weight: 400; font-size: 26px; color: var(--emp-forest); margin: 0 44px 6px 0; line-height: 1.2; }
.emp-game-sub { color: var(--emp-muted); margin-bottom: 16px; }
/* Welcome popup after a QR scan */
.emp-game-body.is-welcome .emp-game-title { font-size: clamp(26px, 7vw, 34px); }
.emp-welcome-stamp { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 8px 0 14px; border: 2px dashed var(--emp-hide); border-radius: 14px; background: var(--emp-mist); }
.emp-welcome-stamp span { font-size: 30px; line-height: 1; }
.emp-welcome-stamp p { margin: 0; font-weight: 500; color: var(--emp-hide); font-size: 15px; }
.emp-choices { display: grid; grid-template-columns: 1fr; gap: 12px; }
.emp-choice { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; text-align: left; padding: 16px 18px; border-radius: 16px; border: 0; cursor: pointer; font: inherit; min-height: 88px; transition: transform .15s, box-shadow .2s; }
.emp-choice:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30, 59, 44, .18); }
.emp-choice:active { transform: scale(.98); }
.emp-choice i { grid-row: 1 / 3; font-style: normal; font-size: 34px; line-height: 1; }
.emp-choice b { font-family: var(--emp-display); font-weight: 400; font-size: 23px; line-height: 1.15; }
.emp-choice span { font-size: 14px; line-height: 1.35; }
.emp-choice.explore { background: var(--emp-surface); color: var(--emp-forest); border: 2px solid var(--emp-forest); }
.emp-choice.explore span { color: var(--emp-muted); }
.emp-choice.play { background: linear-gradient(135deg, var(--emp-forest), var(--emp-moss)); color: var(--emp-gold); }
.emp-choice.play span { color: #EEF3EC; }
@media (min-width: 600px) {
	.emp-choices { grid-template-columns: 1fr 1fr; }
	.emp-choice { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 22px 16px; }
	.emp-choice i { grid-row: auto; font-size: 40px; margin-bottom: 6px; }
}

.emp-levels { display: grid; gap: 10px; margin-bottom: 14px; }
.emp-level { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--emp-line); background: var(--emp-surface); font: inherit; color: var(--emp-ink); cursor: pointer; }
.emp-level b { font-size: 18px; }
.emp-level span { grid-column: 1; font-size: 14px; color: var(--emp-muted); }
.emp-level i { grid-row: 1 / 3; grid-column: 2; font-style: normal; font-weight: 700; color: var(--emp-moss); }
.emp-level.passed { border-color: var(--emp-moss); background: #F1F6F0; }
.emp-level.locked { opacity: .55; cursor: not-allowed; }
.emp-level:not(.locked):hover { border-color: var(--emp-meadow); }
.emp-game-bar { height: 8px; border-radius: 99px; background: var(--emp-mist); overflow: hidden; margin: 6px 0 16px; }
.emp-game-bar span { display: block; height: 100%; background: var(--emp-meadow); transition: width .3s; }
.emp-game-q { font-size: 19px; font-weight: 500; margin-bottom: 14px; }
.emp-game-opts { display: grid; gap: 10px; }
.emp-game-opts button { text-align: left; font: 500 16px var(--emp-body); color: var(--emp-ink); background: var(--emp-surface); border: 1.5px solid var(--emp-line); border-radius: 12px; padding: 12px 16px; min-height: 52px; cursor: pointer; }
.emp-game-opts button:not([disabled]):hover { border-color: var(--emp-meadow); }
.emp-game-opts button.right { background: var(--emp-moss); color: #fff; border-color: var(--emp-moss); }
.emp-game-opts button.wrong { color: var(--emp-muted); text-decoration: line-through; background: #F6EFEA; border-color: #E2CFC2; }
.emp-game-opts button[disabled] { cursor: default; }
.emp-fb { font-size: 15px; color: var(--emp-muted); min-height: 1.4em; margin: 10px 0; }
.emp-game-body > .emp-btn { width: 100%; }
.emp-game-body.is-final { text-align: center; }
.emp-game-body.is-final .emp-game-title { margin-right: 0; font-size: 32px; }
.emp-game-body.is-final .emp-game-sub { margin-left: auto; margin-right: auto; }
.emp-badge { position: relative; width: 150px; margin: 6px auto 16px; }
.emp-badge svg { width: 150px; height: auto; display: block; }
.emp-badge span { position: absolute; left: 0; right: 0; top: 50%; font-family: var(--emp-display); font-size: 22px; color: var(--emp-gold); line-height: 1.1; padding: 0 30px; }
.emp-badge small { position: absolute; left: 0; right: 0; top: 71%; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--emp-meadow); }
.emp-cert { text-align: left; background: var(--emp-mist); border-radius: 14px; padding: 14px; }
.emp-cert label { display: block; font-size: 14px; color: var(--emp-muted); }
.emp-cert input { display: block; width: 100%; margin-top: 6px; min-height: 46px; padding: 10px 12px; font: 16px var(--emp-body); border: 1.5px solid var(--emp-line); border-radius: 10px; background: #fff; }
.emp-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.emp-confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: emp-fall 2.4s ease-in forwards; }
@keyframes emp-fall { to { top: 110%; transform: rotate(720deg); } }
@keyframes emp-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes emp-fade { from { opacity: 0; } }

/* ---------- small phones (< 360) ---------- */
@media (max-width: 359px) {
	.emp { font-size: 16px; --emp-gutter: 12px; }
	.emp-lang button { padding: 6px 9px; min-width: 38px; }
	.emp-tabs button { font-size: 14px; padding-left: 8px; padding-right: 8px; }
	.emp-stamp { width: 76px; height: 76px; }
	.emp-facts { grid-template-columns: 1fr; }
	.emp-facts div:nth-child(odd) { border-right: 0; }
	.emp-facts div:nth-child(even) { padding-left: 0; }
	.emp-game-card { grid-template-columns: 1fr; }
	.emp-sos { grid-template-columns: 1fr; }
}

/* ---------- large phones / tablets (600+) ---------- */
@media (min-width: 600px) {
	.emp { --emp-gutter: 24px; }
	.emp-hero-wrap { padding-left: var(--emp-gutter); padding-right: var(--emp-gutter); padding-top: 12px; }
	.emp-hero { border-radius: 22px; }
	.emp-hero img { aspect-ratio: 16 / 10; }
	.emp-hero-title { padding: 120px 28px 24px; }
	.emp-story { margin-left: 0; margin-right: 0; border-radius: 22px; padding: 32px 28px; }
	.emp-facts { grid-template-columns: repeat(3, 1fr); }
	.emp-facts div { border-right: 1px solid var(--emp-line); padding-left: 14px; }
	.emp-facts div:nth-child(3n + 1) { padding-left: 0; }
	.emp-facts div:nth-child(3n) { border-right: 0; }
	.emp-see li.has-img { grid-template-columns: 160px 1fr; gap: 18px; }
	.emp-see li img { width: 160px; height: 110px; }
	.emp-gallery { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.emp-dest { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.emp-book { grid-template-columns: 1fr 1fr; gap: 0 24px; }
	.emp-book-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
	.emp-game { align-items: center; padding: 24px; }
	.emp-game-box { max-width: 540px; border-radius: 22px; }
	.emp-game-body { padding: 28px 28px 30px; }
	.emp-game-opts { grid-template-columns: 1fr; }
	.emp-nearby { margin-right: 0; padding-right: 0; }
}

/* ---------- laptops (992+): header 96px, no bottom bar, two columns ---------- */
@media (min-width: 992px) {
	.emp { --emp-head: 100px; --emp-gutter: 32px; padding-bottom: 24px; }
	.emp-bar { padding-top: 12px; }
	.emp-tabs button { font-size: 16px; padding: 12px 14px 13px; }
	.emp-hero img { aspect-ratio: 21 / 9; max-height: 560px; }
	.emp-hero-title { padding: 160px 44px 36px; }
	.emp-hero-title p { font-size: 22px; }

	.emp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 0 48px; align-items: start; }
	.emp-col-main, .emp-col-side { display: block; }
	.emp-col-side { position: sticky; top: calc(var(--emp-head) + 110px); padding-bottom: 20px; }
	.emp-col-side .emp-passport { margin-top: 36px; }
	.emp-col-side h2 { font-size: 26px; margin-top: 28px; }
	.emp-col-side .emp-facts { grid-template-columns: 1fr 1fr; }
	.emp-col-side .emp-facts div { border-right: 0; padding-left: 0; }
	.emp-col-side .emp-facts div:nth-child(odd) { border-right: 1px solid var(--emp-line); padding-right: 12px; }
	.emp-col-side .emp-facts div:nth-child(even) { padding-left: 14px; }
	.emp-col-side .emp-game-card { margin-top: 28px; }
	.emp-col-side .emp-nearby { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; scroll-snap-type: none; }
	.emp-col-side .emp-nearby a { flex: none; }
	.emp-col-main .emp-story { margin-top: 36px; }

	.emp-dest { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
	.emp-toast { bottom: 32px; }
	.emp-game-box { max-width: 580px; }
}

/* A long side column can't stay pinned on short laptop screens. */
@media (min-width: 992px) and (max-height: 820px) {
	.emp-col-side { position: static; }
}

/* ---------- wide screens (1400+) ---------- */
@media (min-width: 1400px) {
	.emp-container { max-width: 1320px; }
	.emp-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 0 64px; }
	.emp-hero img { max-height: 620px; }
}

@media (prefers-reduced-motion: reduce) {
	.emp *, .emp *::before, .emp *::after { animation: none !important; transition: none !important; }
}
