/* ============================================================
   تاکسیمون ۱۸۱۰ — لندینگ پیج «همدانِ سه‌بعدی» (نمایش پیش از ورود)
   رابط شیشه‌ای روی ماکت پویای شهر همدان با Three.js
   بدون هیچ وابستگی خارجی — کاملاً آفلاین و سازگار با PWA
   ============================================================ */

@font-face {
  font-family: 'Vazirmatn Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./vazirmatn-arabic-wght-normal-Cafbb7Zc.woff2) format('woff2-variations');
  unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC, U+200C-200E, U+2010-2011;
}
@font-face {
  font-family: 'Vazirmatn Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(./vazirmatn-latin-wght-normal-BFexNX-K.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+2000-206F;
}

:root {
  --tl-night-1: #04070f;
  --tl-night-2: #0a1226;
  --tl-night-3: #16264c;
  --tl-gold: #f6b10a;
  --tl-gold-2: #ffd257;
  --tl-teal: #2dd4bf;
  --tl-ink: #eef3ff;
  --tl-muted: #a7b4d4;
  --tl-glass: rgba(11, 18, 38, 0.55);
  --tl-glass-2: rgba(13, 21, 44, 0.72);
  --tl-glass-line: rgba(255, 255, 255, 0.14);
}

/* ---------- پوشش تمام‌صفحه ---------- */
html.tm-landing-open, html.tm-landing-open body { overflow: hidden !important; height: 100% !important; }

#tm-landing {
  position: fixed;
  inset: 0;
  z-index: 99990;
  direction: rtl;
  font-family: 'Vazirmatn Variable', Vazirmatn, Tahoma, sans-serif;
  background: #060b18;
  color: var(--tl-ink);
  overflow: hidden;
  opacity: 1;
  transition: opacity .8s ease, visibility 0s linear 0s;
  -webkit-tap-highlight-color: transparent;
}
#tm-landing.tm-leaving {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .8s ease, visibility 0s linear .8s;
}

/* ---------- بوم WebGL ---------- */
#tm-l-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

/* ---------- پوشش خوانایی ---------- */
.tm-l-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(135% 100% at 50% 40%, transparent 44%, rgba(3, 6, 14, .55) 100%),
    linear-gradient(180deg, rgba(3, 6, 14, .5) 0%, transparent 20%, transparent 58%, rgba(3, 6, 14, .62) 100%);
}

/* ---------- لایهٔ رابط ---------- */
.tm-l-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tm-l-ui > * { pointer-events: none; }
.tm-l-ui button { pointer-events: auto; }

/* ---------- نوار بالا: برند + قطب‌نما ---------- */
.tm-l-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(14px, 2.4vh, 24px) clamp(16px, 3.4vw, 44px);
  pointer-events: none;
}
.tm-l-brand {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--tl-glass);
  border: 1px solid var(--tl-glass-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(2, 5, 12, .45);
  animation: tl-drop .8s cubic-bezier(.2, .9, .25, 1.2) both;
}
.tm-l-brand b { font-size: 15.5px; font-weight: 800; letter-spacing: .2px; }
.tm-l-brand small {
  font-size: 11.5px;
  color: var(--tl-gold-2);
  border-right: 1px solid var(--tl-glass-line);
  padding-right: 10px;
  font-weight: 700;
}
.tm-l-logo {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 10px;
  color: #1b1404;
  background: linear-gradient(145deg, var(--tl-gold-2), var(--tl-gold));
  box-shadow: 0 4px 14px rgba(246, 177, 10, .4);
}
.tm-l-logo svg { width: 17px; height: 17px; }

/* قطب‌نمای جهت دید */
.tm-l-compass {
  pointer-events: auto;
  position: relative;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--tl-glass);
  border: 1px solid var(--tl-glass-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(2, 5, 12, .45), inset 0 0 18px rgba(120, 160, 255, .08);
  animation: tl-drop .8s .12s cubic-bezier(.2, .9, .25, 1.2) both;
}
.tm-l-compass .needle {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 19px solid var(--tl-gold-2);
  filter: drop-shadow(0 0 6px rgba(255, 210, 87, .65));
  transform-origin: 50% 50%;
  translate: 0 -6px;
  transition: filter .3s;
}
.tm-l-compass .needle::after {
  content: '';
  position: absolute;
  top: 19px; left: -5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 9px solid rgba(190, 205, 235, .8);
}
.tm-l-compass i {
  position: absolute;
  bottom: -19px; left: 50%;
  transform: translateX(-50%);
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--tl-muted);
  letter-spacing: .4px;
  white-space: nowrap;
}

/* ---------- پنل شیشه‌ای معرفی ---------- */
.tm-l-panel {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  inset-inline-start: auto;
  inset-inline-end: clamp(18px, 4.6vw, 78px);
  transform: translateY(-50%);
  width: min(464px, calc(100vw - 40px));
  max-height: min(86vh, 860px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .22) transparent;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 2.6vh, 28px) clamp(18px, 2.2vw, 26px);
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(20, 30, 60, .58), rgba(9, 14, 30, .62));
  border: 1px solid var(--tl-glass-line);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  box-shadow:
    0 30px 80px rgba(2, 5, 12, .6),
    inset 0 1px 0 rgba(255, 255, 255, .09);
  animation: tl-panel-in 1s cubic-bezier(.2, .8, .25, 1) .15s both;
}
#tm-landing.no-webgl .tm-l-panel { background: linear-gradient(160deg, rgba(22, 32, 64, .8), rgba(10, 15, 32, .85)); }

.tm-l-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--tl-gold-2);
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(246, 177, 10, .1);
  border: 1px solid rgba(246, 177, 10, .28);
}
.tm-l-badge i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--tl-gold-2);
  box-shadow: 0 0 10px 2px rgba(255, 210, 87, .65);
  animation: tl-pulse 2.2s ease-in-out infinite;
}

.tm-l-title {
  margin: 0;
  font-size: clamp(27px, 4.6vh, 38px);
  line-height: 1.24;
  font-weight: 900;
  letter-spacing: -.3px;
  background: linear-gradient(120deg, #ffffff 30%, var(--tl-gold-2) 75%, var(--tl-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tm-l-title small {
  display: block;
  margin-top: 6px;
  font-size: clamp(12.5px, 1.8vh, 14.5px);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--tl-muted);
  -webkit-text-fill-color: var(--tl-muted);
}

.tm-l-sub {
  margin: 0;
  font-size: 13.4px;
  line-height: 2.05;
  color: #c6d1ea;
}
.tm-l-sub b { color: #ffffff; font-weight: 800; }

/* ---------- دکمه‌ها ---------- */
.tm-l-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.tm-l-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 14.4px;
  font-weight: 800;
  color: #1b1404;
  padding: 12.5px 22px;
  border-radius: 15px;
  background: linear-gradient(150deg, var(--tl-gold-2), var(--tl-gold) 60%, #d99505);
  box-shadow: 0 10px 26px rgba(246, 177, 10, .36), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .22s cubic-bezier(.2, .8, .3, 1.4), box-shadow .22s, filter .22s;
}
.tm-l-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 34px rgba(246, 177, 10, .45); filter: brightness(1.05); }
.tm-l-btn:active { transform: translateY(0) scale(.98); }
.tm-l-btn.ghost {
  color: var(--tl-ink);
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--tl-glass-line);
  box-shadow: none;
}
.tm-l-btn.ghost:hover { background: rgba(255, 255, 255, .13); box-shadow: 0 10px 24px rgba(2, 5, 12, .4); }
.tm-l-btn:focus-visible, .tm-l-legend button:focus-visible { outline: 2px solid var(--tl-gold-2); outline-offset: 2px; }

/* ---------- چیپ‌های ویژگی ---------- */
.tm-l-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-l-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.8px;
  font-weight: 700;
  color: #d7e0f4;
  padding: 6.5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .1);
}
.tm-l-chips svg { color: var(--tl-teal); flex: none; }

/* ---------- کارت‌های ویژگی ---------- */
.tm-l-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tm-l-card {
  position: relative;
  overflow: hidden;
  padding: 13px 14px;
  border-radius: 17px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .3s ease, border-color .3s, background .3s;
  transform-style: preserve-3d;
  will-change: transform;
}
.tm-l-card:hover { border-color: rgba(246, 177, 10, .4); background: rgba(255, 255, 255, .08); }
.tm-l-card .glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(160px 160px at var(--gx, 50%) var(--gy, 50%), rgba(255, 226, 150, .16), transparent 65%);
  opacity: 0;
  transition: opacity .3s;
}
.tm-l-card:hover .glare { opacity: 1; }
.tm-l-card .ico {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  margin-bottom: 9px;
  border-radius: 11px;
  color: var(--tl-gold-2);
  background: rgba(246, 177, 10, .12);
  border: 1px solid rgba(246, 177, 10, .25);
}
.tm-l-card h3 { margin: 0 0 5px; font-size: 13.6px; font-weight: 800; color: #fff; }
.tm-l-card p { margin: 0; font-size: 11.4px; line-height: 1.95; color: var(--tl-muted); }

/* ---------- بخش دانلود اپلیکیشن‌های اندروید ---------- */
.tm-l-dl {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 13px;
  border-top: 1px dashed rgba(255, 255, 255, .16);
}
.tm-l-dl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.tm-l-dl-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.2px;
  font-weight: 800;
  color: #fff;
}
.tm-l-dl-title svg { color: #3ddc84; flex: none; filter: drop-shadow(0 0 8px rgba(61, 220, 132, .45)); }
.tm-l-dl-ver {
  flex: none;
  font-size: 10.4px;
  font-weight: 700;
  color: #9fe8c3;
  padding: 3.5px 10px;
  border-radius: 999px;
  background: rgba(61, 220, 132, .1);
  border: 1px solid rgba(61, 220, 132, .28);
}
.tm-l-dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.tm-l-dl-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  padding: 10px 11px 9px;
  border-radius: 14px;
  text-decoration: none;
  color: #eafff3;
  background: linear-gradient(160deg, rgba(61, 220, 132, .14), rgba(61, 220, 132, .045));
  border: 1px solid rgba(61, 220, 132, .3);
  transition: transform .22s cubic-bezier(.2, .8, .3, 1.4), border-color .22s, background .22s, box-shadow .22s;
}
.tm-l-dl-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 220, 132, .58);
  background: linear-gradient(160deg, rgba(61, 220, 132, .22), rgba(61, 220, 132, .08));
  box-shadow: 0 12px 26px rgba(2, 5, 12, .45), 0 0 18px rgba(61, 220, 132, .18);
}
.tm-l-dl-btn:active { transform: translateY(0) scale(.97); }
.tm-l-dl-btn:focus-visible { outline: 2px solid #3ddc84; outline-offset: 2px; }
.tm-l-dl-btn .dl-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 11px;
  color: #5fe39a;
  background: rgba(61, 220, 132, .13);
  border: 1px solid rgba(61, 220, 132, .3);
}
.tm-l-dl-btn .dl-txt {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.tm-l-dl-btn .dl-txt b { font-size: 12.5px; font-weight: 800; color: #fff; white-space: nowrap; }
.tm-l-dl-btn .dl-txt i {
  font-style: normal;
  font-size: 9.6px;
  font-weight: 600;
  color: #8fd9b0;
  direction: ltr;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tm-l-dl-btn .dl-get {
  position: absolute;
  top: 10px;
  inset-inline-end: 11px;
  display: grid;
  place-items: center;
  color: #5fe39a;
}
.tm-l-dl-btn .dl-get svg { animation: tl-dl-bounce 2.4s ease-in-out infinite; }
.tm-l-dl-btn[data-busy="1"] { opacity: .65; pointer-events: none; }
.tm-l-dl-btn[data-busy="1"] .dl-get svg { animation: tl-spin 1s linear infinite; }
.tm-l-dl-note {
  margin: 0;
  font-size: 10.8px;
  line-height: 1.95;
  color: var(--tl-muted);
}

/* توست نتیجهٔ دانلود */
.tm-l-toast {
  position: absolute;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100vw - 36px);
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 12.6px;
  font-weight: 700;
  color: #eafff3;
  background: rgba(8, 18, 30, .94);
  border: 1px solid rgba(61, 220, 132, .45);
  box-shadow: 0 16px 40px rgba(2, 5, 12, .6), 0 0 22px rgba(61, 220, 132, .14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s ease, transform .32s cubic-bezier(.2, .8, .3, 1.3);
}
.tm-l-toast .tm-l-toast-ico { display: grid; place-items: center; color: #5fe39a; flex: none; }
.tm-l-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.tm-l-toast.bad { border-color: rgba(248, 113, 113, .5); color: #ffe4e4; }
.tm-l-toast.bad .tm-l-toast-ico { color: #fca5a5; }

/* ---------- نوار پایین: راهنمای جاذبه‌ها ---------- */
.tm-l-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0 clamp(16px, 3.4vw, 44px) clamp(16px, 3vh, 30px);
}
.tm-l-legend {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  padding: 8px 10px;
  border-radius: 18px;
  background: var(--tl-glass);
  border: 1px solid var(--tl-glass-line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px rgba(2, 5, 12, .5);
  scrollbar-width: none;
  animation: tl-rise .9s cubic-bezier(.2, .8, .25, 1) .5s both;
}
.tm-l-legend::-webkit-scrollbar { display: none; }
.tm-l-legend button {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 12.2px;
  font-weight: 700;
  color: #cdd8ee;
  white-space: nowrap;
  padding: 8px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .09);
  transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}
.tm-l-legend button:hover { background: rgba(255, 255, 255, .12); color: #fff; transform: translateY(-1px); }
.tm-l-legend button.on {
  color: #1b1404;
  background: linear-gradient(150deg, var(--tl-gold-2), var(--tl-gold));
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(246, 177, 10, .4);
}
.tm-l-draghint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.8px;
  font-weight: 700;
  color: var(--tl-gold-2);
  white-space: nowrap;
  padding-inline-end: 6px;
  border-inline-end: 1px solid var(--tl-glass-line);
}
.tm-l-draghint svg { animation: tl-spin 5s linear infinite; }

.tm-l-hint {
  font-size: 11.6px;
  color: rgba(167, 180, 212, .85);
  padding-inline-start: 12px;
  animation: tl-rise .9s .65s cubic-bezier(.2, .8, .25, 1) both;
}

/* ---------- جایگزین CSS اگر WebGL نبود ---------- */
#tm-landing.no-webgl {
  background:
    radial-gradient(120% 90% at 78% -10%, var(--tl-night-3) 0%, var(--tl-night-2) 42%, var(--tl-night-1) 100%);
}
#tm-landing.no-webgl #tm-l-gl { display: none; }
#tm-landing.no-webgl .tm-l-vignette::before {
  content: '';
  position: absolute;
  top: 7vh; left: 9vw;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 34%, #fff8e7 0%, #ffe9ad 46%, #f4c95d 100%);
  box-shadow: 0 0 34px 8px rgba(255, 226, 140, .38), 0 0 120px 42px rgba(255, 210, 100, .16);
  animation: tl-float 9s ease-in-out infinite;
}
/* کوه الوند با CSS */
#tm-landing.no-webgl .tm-l-vignette::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 34vh;
  background:
    linear-gradient(rgba(228, 237, 252, .16), rgba(228, 237, 252, .16)),
    #131c36;
  clip-path: polygon(0 100%, 0 62%, 7% 44%, 14% 58%, 22% 30%, 30% 52%, 38% 22%, 47% 46%, 55% 12%, 64% 40%, 72% 26%, 80% 50%, 88% 34%, 100% 58%, 100% 100%);
  opacity: .8;
}

/* ---------- انیمیشن‌ها ---------- */
@keyframes tl-panel-in {
  from { opacity: 0; transform: translateY(-50%) translateX(-26px) scale(.97); }
  to { opacity: 1; transform: translateY(-50%) translateX(0) scale(1); }
}
@keyframes tl-drop {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes tl-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes tl-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px 2px rgba(255, 210, 87, .65); }
  50% { opacity: .55; box-shadow: 0 0 4px 1px rgba(255, 210, 87, .3); }
}
@keyframes tl-spin { to { transform: rotate(360deg); } }
@keyframes tl-dl-bounce {
  0%, 100% { transform: translateY(-1px); }
  50% { transform: translateY(2px); }
}
@keyframes tl-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- موبایل ---------- */
@media (max-width: 920px) {
  .tm-l-panel {
    top: auto;
    bottom: 0;
    inset-inline-end: 0;
    transform: none;
    width: 100%;
    max-height: 58vh;
    border-radius: 24px 24px 0 0;
    padding: 18px 18px calc(14px + env(safe-area-inset-bottom, 0px));
    gap: 11px;
    box-shadow: 0 -20px 60px rgba(2, 5, 12, .65);
    animation: tl-sheet .8s cubic-bezier(.2, .8, .25, 1) .15s both;
  }
  .tm-l-title { font-size: 23px; }
  .tm-l-sub { font-size: 12.4px; line-height: 1.9; }
  .tm-l-cards { gap: 8px; }
  .tm-l-card { padding: 11px 12px; }
  .tm-l-card p { font-size: 10.8px; line-height: 1.8; }
  .tm-l-btn { padding: 11px 16px; font-size: 13.2px; flex: 1 1 auto; }
  .tm-l-dl { padding-top: 11px; gap: 9px; }
  .tm-l-dl-title { font-size: 12.4px; }
  .tm-l-dl-btn { padding: 9px 9px 8px; gap: 6px; }
  .tm-l-dl-btn .dl-ico { width: 30px; height: 30px; border-radius: 10px; }
  .tm-l-dl-btn .dl-ico svg { width: 16px; height: 16px; }
  .tm-l-dl-btn .dl-get { top: 9px; inset-inline-end: 9px; }
  .tm-l-toast { bottom: auto; top: calc(14px + env(safe-area-inset-top, 0px)); width: max-content; }
  .tm-l-dl-note { font-size: 10.2px; line-height: 1.85; }
  .tm-l-bottom {
    position: absolute;
    bottom: calc(58vh + 10px);
    inset-inline: 0;
    padding: 0 14px;
  }
  .tm-l-hint { display: none; }
  .tm-l-compass { width: 44px; height: 44px; }
  .tm-l-compass i { bottom: -16px; font-size: 8.5px; }
}
@keyframes tl-sheet {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 560px) {
  .tm-l-panel { max-height: 54vh; }
  .tm-l-bottom { bottom: calc(54vh + 8px); }
  .tm-l-cards { grid-template-columns: 1fr 1fr; }
  .tm-l-card h3 { font-size: 12.4px; }
  .tm-l-dl-btn .dl-txt i { display: none; }
  .tm-l-dl-note { display: none; }
  .tm-l-dl-btn { padding: 8px 8px 7px; }
}

/* ---------- کاهش حرکت ---------- */
@media (prefers-reduced-motion: reduce) {
  .tm-l-panel, .tm-l-brand, .tm-l-compass, .tm-l-legend, .tm-l-hint,
  .tm-l-badge i, .tm-l-draghint svg, #tm-landing.no-webgl .tm-l-vignette::before,
  .tm-l-dl-btn .dl-get svg {
    animation: none !important;
  }
  #tm-landing, .tm-l-btn, .tm-l-card, .tm-l-legend button { transition: none !important; }
}
