/* GameWatch — ظاهرِ تازه‌ی سایت (مهر ۱۴۰۵)

   بعد از main.css بار می‌شود و main.css دست نخورده (پس admin-dark.css هم).
     همه‌ی اندازه‌ها  هیروی «صحنه»، خطوطِ پس‌زمینه، هدرِ فقط-نشان
     > ۱۰۶۰          هدرِ کامپیوتر چسبان (همان main.css)؛ هیرو: متن راست، پیش‌نمایش چپ
     ≤ ۱۰۶۰          هدر و نوارِ پایینی دو «جزیره»ی هم‌سبک؛ هدر سرِ جایش بالای صفحه می‌ماند (چسبان نیست)،
                     نوار پایین ثابت است
     ≤ ۶۴۰           اندازه‌ی متن و دکمه و چیدمانِ بخش‌ها برای گوشی */

/* ─────────────── پیش‌فرض‌ها ─────────────── */
.gi-sprite { position:absolute; width:0; height:0; overflow:hidden; }
.mnav, .hdr-trial, .hdr-help, .mob__grab, .mob__auth, .mob__live, .mob__ask, .mobclock__sw,
.faqmore, .pshared, .pwtabs { display:none; }
/* متنِ کوتاهِ گوشی (m-show) فقط زیرِ ۶۴۰ و متنِ بلند (m-hide) فقط بالای آن.
   important لازم است: بعضی جاها خودشان display دارند. */
@media (min-width: 641px) { .m-show { display:none !important; } }
@media (max-width: 640px) { .m-hide { display:none !important; } }

.mnav svg, .mob svg, .hdr-trial svg, .hdr-help svg, .faqmore svg, .stage__trial svg, .pwtabs svg {
  fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;
}

/* سرِ صفحه‌ها (آموزش، وبلاگ، …) فاصله‌ی چپ و راست داشته باشند: main.css با `padding: 64px 0 34px`
   فاصله‌ی `.wrap` را صفر می‌کرد و زیرِ ۱۲۳۰ پیکسل متن به لبه‌ی صفحه می‌چسبید */
html .wrap.pagehead, html .wrap.trialpage, html .wrap.postpage { padding-inline: var(--s5); }
@media (max-width: 640px) { html .wrap.pagehead, html .wrap.trialpage, html .wrap.postpage { padding-inline: 16px; } }

/* فقط نشان — اسم نه (هدر، منو، و نوارِ بالای پیش‌نمایشِ برنامه) */
.mob__head .logo__text, .app2 .app__title { display: none; }
.header .logo__text small { display: none; }          /* کامپیوتر: فقط «GameWatch» کنارِ نشان */


/* ── خطوطِ پس‌زمینه ──────────────────────────────────────────
   خط‌های عمودیِ خیلی کم‌رنگ با فاصله‌ی دقیقاً برابر، قرینه نسبت به وسطِ صفحه
   (تکنیکِ خط‌ها از uiverse.io — «Pattern» ِ kencode7، مجوز MIT) و روی ده‌تایشان نوری که
   آرام پایین می‌آید (ایده از «rain» ِ SelfMadeSystem در uiverse، مجوز MIT؛ با transform،
   که فقط کارتِ گرافیک درگیر شود). */
.bglines {
  --gap: 150px;
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background-image: linear-gradient(90deg, rgba(var(--brand-rgb),.07) 1px, transparent 1px);
  background-size: var(--gap) 100%;
  background-position: calc(50% - var(--gap) / 2) 0;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 14%, #000 70%, transparent);
}
.bglines i { position: absolute; top: 0; left: 50%; width: 1px; height: 100%; }
.bglines i:nth-child(1)  { left: calc(50% - var(--gap) * 4.5); }
.bglines i:nth-child(2)  { left: calc(50% - var(--gap) * 3.5); }
.bglines i:nth-child(3)  { left: calc(50% - var(--gap) * 2.5); }
.bglines i:nth-child(4)  { left: calc(50% - var(--gap) * 1.5); }
.bglines i:nth-child(5)  { left: calc(50% - var(--gap) * .5); }
.bglines i:nth-child(6)  { left: calc(50% + var(--gap) * .5); }
.bglines i:nth-child(7)  { left: calc(50% + var(--gap) * 1.5); }
.bglines i:nth-child(8)  { left: calc(50% + var(--gap) * 2.5); }
.bglines i:nth-child(9)  { left: calc(50% + var(--gap) * 3.5); }
.bglines i:nth-child(10) { left: calc(50% + var(--gap) * 4.5); }
.bglines i::after {
  content: ""; position: absolute; left: -.5px; top: 0; width: 2px; height: 120px; border-radius: 2px;
  background: linear-gradient(180deg, transparent, rgba(var(--brand2-rgb),.2) 60%, rgba(var(--brand-rgb),.5));
  transform: translateY(-160px);
  animation: gwDrop 10s cubic-bezier(.45,.05,.55,.95) infinite;
}
.bglines i:nth-child(1)::after  { animation-delay: -2s;   animation-duration: 12s; }
.bglines i:nth-child(2)::after  { animation-delay: -7s;   animation-duration: 9s; }
.bglines i:nth-child(3)::after  { animation-delay: -4s;   animation-duration: 11s; }
.bglines i:nth-child(4)::after  { animation-delay: -9.5s; animation-duration: 10s; }
.bglines i:nth-child(5)::after  { animation-delay: -1s;   animation-duration: 13s; }
.bglines i:nth-child(6)::after  { animation-delay: -6s;   animation-duration: 10.5s; }
.bglines i:nth-child(7)::after  { animation-delay: -3s;   animation-duration: 9.5s; }
.bglines i:nth-child(8)::after  { animation-delay: -8s;   animation-duration: 12.5s; }
.bglines i:nth-child(9)::after  { animation-delay: -5s;   animation-duration: 11.5s; }
.bglines i:nth-child(10)::after { animation-delay: -10s;  animation-duration: 10s; }
@keyframes gwDrop { from { transform: translateY(-160px); } to { transform: translateY(105vh); } }
html.night .bglines { opacity: .7; }

/* ── هیرو: «صحنه» ──────────────────────────────────────────
   تیتر و دکمه‌ها وسط؛ پیش‌نمایشِ برنامه بزرگ زیرشان؛ ضمانت‌ها دورِ پیش‌نمایش شناورند. */
.hero--stage { padding: 56px 0 54px; }
.stage { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stage__head { display: flex; flex-direction: column; align-items: center; max-width: 820px; }

.stage__pill {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 6px 14px; border-radius: 99px; font-size: 13px; line-height: 1.6; color: var(--ink-2);
  background: rgba(255,255,255,.78); border: 1px solid var(--line);
  box-shadow: 0 8px 22px -16px rgba(var(--maroon-rgb),.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color .2s, transform .2s;
}
a.stage__pill:hover { border-color: var(--brand-line); transform: translateY(-1px); }
.stage__pill b { color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.stage__pill i { font-style: normal; font-size: 11px; font-weight: 700; padding: 0 7px; border-radius: 99px; background: var(--paper-3); }
.stage__pill em { font-style: normal; font-weight: 700; color: var(--brand); padding-inline-start: 10px; border-inline-start: 1px solid var(--line); }
.stage__dot { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--ink-3); }
.stage__dot.on { background: var(--online); }
.stage__dot.on::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--online);
  opacity: 0; animation: connotePulse 2.4s cubic-bezier(.2,.7,.4,1) infinite; }

.hero--stage h1 {
  margin-top: 20px; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.3;
  text-wrap: balance;
}
.hero--stage .lede { margin: 16px auto 0; max-width: 32em; font-size: 17px; line-height: 2; text-wrap: pretty; }
.hero--stage .hero__actions { justify-content: center; margin-top: 28px; gap: 12px; }

/* تستِ رایگان: یک ردیفِ جدا زیرِ دکمه‌ها با فاصله‌ی درست، نه چسبیده به متن
   (برقِ رویش: تکنیکِ شیمر از uiverse.io — «shine»، مجوز MIT) */
.stage__trial {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  padding: 6px 16px 6px 8px; border-radius: 99px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2);
  background: var(--brand-soft); border: 1px solid var(--brand-line);
  transition: border-color .2s, transform .2s;
}
html[dir="rtl"] .stage__trial { padding: 6px 8px 6px 16px; }
.stage__trial b { color: var(--brand); font-weight: 800; }
.stage__trial:hover { border-color: var(--brand); transform: translateY(-1px); }
.stage__trial__ic { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.stage__trial__ic svg { width: 15px; height: 15px; }
.stage__trial__go { width: 15px; height: 15px; color: var(--brand); transition: transform .2s; }
.stage__trial:hover .stage__trial__go { transform: translateX(-3px); }
.stage__trial::after {
  content: ""; position: absolute; inset: -2px auto -2px -40%; width: 30%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.9), transparent);
  transform: skewX(-18deg); animation: gwShine 6s ease-in-out 2s infinite;
}
@keyframes gwShine { 0%, 70% { left: -40%; } 100% { left: 120%; } }

.stage__show { position: relative; width: min(100%, 880px); margin-top: 54px; }
.stage__frame { position: relative; text-align: start; }
.stage__frame .app2__bg { display: none; }
.stage__frame .app2__stage {
  padding-top: 14px;
  background: radial-gradient(120% 70% at 85% 0%, rgba(var(--brand-rgb),.2), transparent 60%), #11151f;
}
@supports (zoom: 1) {
  .stage__frame.is-fixed .app2 { width: 540px; zoom: var(--k, 1); margin-inline: auto; }
}
/* main.css زیرِ ۵۶۰ چیدمانِ پیش‌نمایش را عوض می‌کرد؛ حالا همه‌جا همان است */
@media (max-width: 560px) {
  .stage__frame .app2__nav { display: flex; }
  .stage__frame .app2__ping b { font-size: 32px; }
  .stage__frame .app2__stats { gap: 8px; }
  .stage__frame .app2__stage { padding-top: 14px; }
}
.stage__frame::before {
  content: ""; position: absolute; inset: 6% 4% -6%; z-index: -1; border-radius: 40px;
  background: radial-gradient(closest-side, rgba(var(--brand-rgb),.28), transparent);
  filter: blur(34px);
}
.stage__badges { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.stage__badges li {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 6px 13px; border-radius: 99px; font-size: 12.5px; font-weight: 700; color: var(--ink-2);
  background: rgba(255,255,255,.8); border: 1px solid var(--line);
}
.stage__badges .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--online); box-shadow: 0 0 0 3px rgba(var(--online-rgb),.16); }
.stage .stage__plats { justify-content: center; margin-top: 26px; }

/* هیروی کامپیوتر: همین متن‌ها سمتِ راست، پیش‌نمایش سمتِ چپ و به اندازه‌ی خودش (کش نمی‌آید) */
@media (min-width: 1061px) {
  .stage { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center;
    gap: clamp(40px, 5vw, 76px); text-align: start; }
  .stage__head { align-items: flex-start; max-width: none; }
  .hero--stage h1 { font-size: clamp(36px, 3.8vw, 54px); }
  .hero--stage .lede { margin-inline: 0; max-width: 30em; }
  .hero--stage .hero__actions { justify-content: flex-start; }
  .stage__show { width: 100%; margin-top: 0; }
  .stage__badges { justify-content: flex-start; }
}

/* ── سه حالت (بخشِ تیره) — بازطراحیِ کامل: شکل و اسم و چند برچسب، بی‌جمله ──────────
   قابِ کارت‌ها با حاشیه‌ی گرادیانی (تکنیکِ «gradient border» با mask، رایج در uiverse.io، مجوز MIT) */
.modes { overflow: hidden; }
.modes::before { content: ""; position: absolute; inset: -30% -10% auto; height: 70%; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 0%, rgba(var(--brand2-rgb),.22), transparent 70%); }
.modes .wrap { position: relative; }
.modes__head { text-align: center; margin-bottom: 34px; }
.modes__eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .02em; color: var(--brand-3);
  padding: 4px 12px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.modes__head h2 { margin-top: 12px; color: #fff; font-size: clamp(24px, 3vw, 36px); text-wrap: balance; }
.modes__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mode {
  position: relative; isolation: isolate; padding: 18px 18px 20px; border-radius: 24px; text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  transition: transform .3s cubic-bezier(.2,.8,.3,1);
}
.mode::before {                 /* حاشیه‌ی گرادیانی */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1;
  background: linear-gradient(160deg, rgba(var(--brand2-rgb),.7), rgba(255,255,255,.08) 45%, rgba(255,255,255,.04));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.mode:hover { transform: translateY(-4px); }
.mode__art { position: relative; height: 118px; display: grid; place-items: center; margin-bottom: 8px;
  border-radius: 18px; background: radial-gradient(60% 70% at 50% 50%, rgba(var(--brand2-rgb),.22), transparent 70%); overflow: hidden; }
.mode__ic { position: relative; z-index: 1; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px;
  color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 30px -12px rgba(var(--brand-rgb),.9), inset 0 1px 0 rgba(255,255,255,.35); }
.mode__ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mode--boost .mode__ic svg { fill: rgba(255,255,255,.25); }
.mode h3 { color: #fff; font-size: 18px; }
.mode__tags { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.mode__tags li { font-size: 12px; font-weight: 700; color: var(--on-dark); padding: 4px 10px; border-radius: 99px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
/* بوست: خطِ پینگ که کشیده می‌شود */
.mode__line { position: absolute; inset: auto 0 14px; width: 100%; height: 40px; }
.mode__line path { fill: none; stroke: rgba(var(--brand2-rgb),.8); stroke-width: 1.6; stroke-linejoin: round;
  stroke-dasharray: 260; stroke-dashoffset: 260; animation: gwDraw 3.6s ease-in-out infinite; }
@keyframes gwDraw { 0% { stroke-dashoffset: 260; } 55%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -260; } }
/* رفعِ تحریم: موج‌های سپر */
.mode__rings i { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 20px;
  border: 1.5px solid rgba(var(--brand2-rgb),.6); animation: gwRing 3s cubic-bezier(.2,.7,.4,1) infinite; }
.mode__rings i:nth-child(2) { animation-delay: 1s; } .mode__rings i:nth-child(3) { animation-delay: 2s; }
@keyframes gwRing { from { transform: scale(1); opacity: .9; } to { transform: scale(2.3); opacity: 0; } }
/* سرویس‌ها: کد با مکان‌نمای چشمک‌زن */
.mode__code { position: absolute; top: 12px; left: 14px; direction: ltr; font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.45); }
.mode__code i { font-style: normal; }
.mode__code em { display: inline-block; width: 7px; height: 13px; margin-left: 3px; vertical-align: -2px; background: rgba(var(--brand2-rgb),.8);
  animation: gwBlink 1s steps(1) infinite; }
@keyframes gwBlink { 50% { opacity: 0; } }

/* سه قدم: یک ریل با نقطه‌ای که رویش می‌رود */
.flow { position: relative; list-style: none; margin: 30px auto 0; padding: 0; max-width: 560px;
  display: flex; justify-content: space-between; }
.flow::before { content: ""; position: absolute; top: 19px; left: 30px; right: 30px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(var(--brand2-rgb),.55), rgba(255,255,255,.1)); }
.flow::after { content: ""; position: absolute; top: 15px; right: 30px; width: 10px; height: 10px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgba(var(--brand2-rgb),.35), 0 0 16px rgba(var(--brand2-rgb),.9);
  animation: gwFlow 4s cubic-bezier(.6,0,.4,1) infinite; }
@keyframes gwFlow { 0% { right: 30px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { right: calc(100% - 40px); opacity: 0; } }
.flow li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.flow b { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; font-size: 15px; color: #fff;
  background: var(--maroon-2); border: 1px solid rgba(255,255,255,.14); }
.flow span { font-size: 13px; font-weight: 700; color: var(--on-dark); }
/* عددها: یک ردیفِ نازک */
.modes .modes__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 30px !important; gap: 0;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; overflow: hidden; }
.modes .modes__stats .stat { background: none; padding: 16px 10px; text-align: center; }
.modes .modes__stats .stat + .stat { border-inline-start: 1px solid rgba(255,255,255,.08); }
.modes .modes__stats .stat b { font-size: 28px; line-height: 1.2; }
.modes .modes__stats .stat span { display: block; font-size: 12px; }
@media (prefers-reduced-motion: reduce) {
  .mode__line path, .mode__rings i, .mode__code em, .flow::after { animation: none; }
  .mode__line path { stroke-dashoffset: 0; }
}

/* ── پلن‌ها: کوچک و مرتب، همان شکلِ گوشی در همه‌ی اندازه‌ها ──
   پلن‌های آماده کنارِ هم، پلنِ دلخواه یک کارتِ پهنِ زیرشان با کشویی‌ها در یک ردیف */
.pswitch, .pdots { display: none !important; }
html .pcards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  max-width: 980px; margin-inline: auto; overflow: visible; padding: 0; scroll-snap-type: none;
}
/* ستون‌ها به تعدادِ پلن‌های آماده؛ نوارِ «تستِ رایگان» و متنِ مشترک هم‌عرضِ خودِ پلن‌ها */
html .pcards[data-n="1"] { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
html .pcards[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
#plans .tryfree, #plans .pshared { max-width: 760px; margin-inline: auto; }
html .pcards > .pcard:not(.pcard--custom) {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  grid-template-areas: "head head" "price price" "specs buy";
  gap: 6px 10px; padding: 16px 18px; border-radius: 20px; transform: none !important;
}
.pcard:not(.pcard--custom) .pcard__head { grid-area: head; margin: 0; }
.pcard:not(.pcard--custom) .pcard__name { font-size: 14.5px; }
.pcard:not(.pcard--custom) .pcard__price { grid-area: price; justify-content: flex-start; text-align: start; gap: 5px; }
.pcard:not(.pcard--custom) .pcard__price b { font-size: 26px; }
.pcard:not(.pcard--custom) .pcard__price span { font-size: 12px; }
.pcard:not(.pcard--custom) .pcard__specs { grid-area: specs; display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; }
.pcard:not(.pcard--custom) .spec { display: inline-flex; align-items: baseline; gap: 4px; padding: 4px 9px; border-radius: 10px; }
.pcard:not(.pcard--custom) .spec b { font-size: 13.5px; }
.pcard:not(.pcard--custom) .spec span { font-size: 11px; margin: 0; }
.pcard:not(.pcard--custom) .pcard__list { display: none; }
.pcard:not(.pcard--custom) > .btn { grid-area: buy; width: auto; min-width: 84px; margin: 0; align-self: end;
  padding: 8px 18px; min-height: 40px; font-size: 13.5px; border-radius: 12px; }
.pcard:hover { transform: none; }
html .pcards > .pcard--custom { grid-column: 1 / -1; padding: 16px 18px; border-radius: 20px; }
.pcard--custom .pcard__head { margin-bottom: 4px; }
.pcard--custom .pcard__price { justify-content: flex-start; }
.pcard--custom .pcard__price b { font-size: 26px; }
.pcust__rows { margin: 12px 0; gap: 14px 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 12px; }
.pcust .btn { margin-top: 4px; width: auto; align-self: flex-start; padding-inline: 26px; }
.pcust__note { text-align: start; }
.pshared { display: block; margin: 12px auto 0; max-width: 980px; font-size: 12.5px; line-height: 1.9; color: var(--ink-3); text-align: center; }
@media (max-width: 640px) {
  html .pcards, html .pcards[data-n] { grid-template-columns: 1fr; gap: 10px; }
  html .pcards > .pcard:not(.pcard--custom) { padding: 14px 16px; border-radius: 18px; }
  .pcard:not(.pcard--custom) .pcard__price b { font-size: 24px; }
  .pcust__rows { grid-template-columns: 1fr; }
  .pcust .btn { width: 100%; }
}

/* ── «به GameWatch وصلی»: یک برچسبِ کوچکِ شناور، نه نوارِ تمام‌عرض ── */
html .connote {
  position: fixed; z-index: 88; left: 18px; bottom: 18px; background: none; border: 0;
  animation: gwPop .45s cubic-bezier(.2,1.1,.35,1) both;
}
html .connote[hidden] { display: none; }
html .connote .connote__in {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 99px;
  font-size: 12.5px; color: #0f5132; background: rgba(233,248,239,.95); border: 1px solid rgba(var(--online-rgb),.35);
  box-shadow: 0 12px 28px -16px rgba(0,0,0,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
html .connote .connote__in b { color: inherit; }
html .connote .connote__in i { color: #3b7a57; }
@keyframes gwPop { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* ── فوتر: یک نوارِ کوچک (و نوارِ یادداشتِ بالایش هم کوچک) ── */
html .note-strip { padding: 10px 0; font-size: 12.5px; }
html .note-strip .wrap { gap: 8px; }
html .note-strip svg { width: 15px; height: 15px; }
.fslim { padding: 26px 0 20px !important; }
.fslim__top { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.fslim__top .logo { --mark-w: 40px; --mark-h: 28px; order: -1; }
.fslim__top .logo__text { font-size: 14px; }
.fslim__top .logo__text small { display: none; }
.fslim__links { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer .fslim__links a { display: inline-block; padding: 2px 0; font-size: 13px; color: #b9aaa4; }
.footer .fslim__links a:hover { color: #fff; padding-inline-start: 0; }
/* نشان‌ها کوچک؛ اینماد از ۹۶×۱۰۴ کوچک‌تر نشود (زیرِ این، ستاره‌های ریزش محو می‌شوند) */
.fslim .seals { display: flex; gap: 8px; margin: 0; }
.fslim .seal { width: 96px; height: 104px; border-radius: 10px; }
.fslim .seal--light { padding: 6px; }
.fslim .seal img { border-radius: 6px; }
.fslim__bot { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 16px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08); font-size: 11.5px; color: #8a7b76; }
.fslim__bot b { color: #d8cbc6; font-weight: 700; }
.fslim__bot .okdot { color: var(--online); }

/* ── حساب من ── */
.acard { padding: 16px; border-radius: 22px; background: #fff; border: 1px solid var(--line); margin-bottom: 14px;
  box-shadow: 0 18px 40px -32px rgba(var(--maroon-rgb),.5); }
.acard__me { display: flex; align-items: center; gap: 12px; }
.acard__av { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 16px;
  font-size: 19px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.acard__who { flex: 1; min-width: 0; }
.acard__who h1 { font-size: 19px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acard__who i { font-style: normal; font-size: 12px; color: var(--ink-3); }
.acard__new { flex: none; }
.acard__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 14px;
  border-radius: 16px; background: var(--paper-2); border: 1px solid var(--line); }
.acard__stats > div { padding: 10px 6px; text-align: center; }
.acard__stats > div + div { border-inline-start: 1px solid var(--line); }
.acard__stats b { display: block; font-size: 19px; line-height: 1.3; }
.acard__stats span { display: block; font-size: 11px; color: var(--ink-3); }
.acard__stats .is-live b { color: var(--online); }
.acc .refband--acc { padding: 10px 14px; margin-bottom: 14px; }
.acc .refband--acc .refband__txt i { display: none; }
.acc .refband--acc .refband__txt b { font-size: 13.5px; }
.acc .atabs { padding: 4px; gap: 4px; border-radius: 16px; background: var(--paper-2); border: 1px solid var(--line); flex-wrap: nowrap; }
.acc .atab { flex: 1; border: 0; border-radius: 12px; padding: 8px 10px; font-weight: 700; white-space: nowrap; }
.acc .atab.is-on { background: #fff; color: var(--brand); box-shadow: 0 6px 16px -10px rgba(var(--maroon-rgb),.5); }
.acc .subcard { border-radius: 20px; padding: 16px; }
/* سرِ کارتِ اشتراک: اسم و وضعیت در یک خط، کدِ مخفی زیرشان هم‌عرضِ کارت */
.acc .subcard__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; align-items: center; margin-bottom: 12px; }
.acc .subcard__id { display: contents; }
.acc .subcard__id > b { grid-row: 1; grid-column: 1; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc .subcard__head .pwstate { grid-row: 1; grid-column: 2; }
.acc .subcard__why { grid-column: 1 / -1; }
.acc .subcard__head .secret { grid-column: 1 / -1; justify-self: stretch; justify-content: space-between; }
.acc .usebar { display: none; }                  /* همان عددِ «X از Y» و نوارِ بالا کافی است */
.acc .subcard__facts { gap: 8px; }
.acc .subcard__acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.acc .subcard__acts .btn { width: 100%; }
.subcard__newcode { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }

/* ── پینگ‌واچ: پینگِ هر سرور (همان عدد و همان رنگِ برنامه) ── */
.pwnode__ms { flex: none; direction: ltr; display: inline-flex; align-items: baseline; gap: 2px;
  padding: 3px 10px; border-radius: 99px; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums;
  border: 1px solid transparent; }
.pwnode__ms small { font-size: 10.5px; font-weight: 700; opacity: .75; }
.pwnode__ms--good  { color: #138a4a; background: rgba(23,160,74,.1);  border-color: rgba(23,160,74,.25); }
.pwnode__ms--good2 { color: #3c8a12; background: rgba(95,170,30,.1);  border-color: rgba(95,170,30,.25); }
.pwnode__ms--ok    { color: #a86a05; background: rgba(192,132,23,.1); border-color: rgba(192,132,23,.28); }
.pwnode__ms--bad   { color: #c2410c; background: rgba(224,69,27,.09); border-color: rgba(224,69,27,.25); }
.pwnode__ms--bad2  { color: #b91c1c; background: rgba(185,28,28,.08); border-color: rgba(185,28,28,.25); }

/* ── شبحِ سایت: فقط از لبه‌ی راست یا چپ سرک می‌کشد ── */
html .sghost.sghost--side { bottom: auto; translate: none; flex-direction: row; direction: ltr; gap: 8px; align-items: center;
  animation-name: sgside; }
.sghost--l { left: 0; right: auto; flex-direction: row-reverse !important; --sx: -1; }
.sghost--r { right: 0; left: auto; --sx: 1; }
.sghost--side .sghost__say { direction: rtl; max-width: min(230px, calc(100vw - 96px)); }
.sghost--side .sghost__say::after { display: none; }
.sghost--l svg { rotate: 14deg; } .sghost--r svg { rotate: -14deg; }
/* زدنش: «آی!» می‌گوید، یک پرشِ کوچک و فرار به بیرونِ صفحه */
html .sghost.sghost--side.boo { animation: sgbooSide .95s cubic-bezier(.5,0,.75,0) both; }
html .sghost.boo .sghost__say.ouch { opacity: 1; animation: sgOuch .28s cubic-bezier(.3,1.6,.5,1) both;
  font-size: 15px; font-weight: 800; color: #c0392b; }
@keyframes sgbooSide {
  0%   { transform: translateX(calc(var(--sx) * 10px)); }
  28%  { transform: translateX(calc(var(--sx) * 2px)) translateY(-10px); }
  100% { transform: translateX(calc(var(--sx) * 120%)) translateY(4px); }
}
@keyframes sgOuch { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sgside {
  0%   { transform: translateX(calc(var(--sx) * 105%)); }
  12%, 86% { transform: translateX(calc(var(--sx) * 10px)); }
  17%  { transform: translateX(calc(var(--sx) * 18px)); }
  100% { transform: translateX(calc(var(--sx) * 105%)); }
}

/* ════════════════════════════════════════════════════════════ ≤ ۱۰۶۰ */
@media (max-width: 1060px) {
  :root {
    --hdr-h: 56px; --mnav-h: 64px; --mnav-gap: 10px;
    /* یک سبک برای هر دو جزیره (هدرِ بالا و نوارِ پایین) */
    --isl-bg: rgba(255,255,255,.86);
    --isl-bd: rgba(var(--maroon-rgb),.09);
    --isl-sh: 0 16px 36px -20px rgba(var(--maroon-rgb),.5), 0 2px 8px -4px rgba(var(--maroon-rgb),.16);
    --isl-r: 22px;
    --isl-w: min(calc(100% - 20px), 620px);
  }
  html { scroll-padding-top: 16px; }
  body { padding-bottom: calc(var(--mnav-h) + var(--mnav-gap) * 2 + env(safe-area-inset-bottom, 0px)); }
  .bglines { --gap: 96px; }

  /* آیفون روی فیلدِ کمتر از ۱۶ پیکسل زوم می‌کند */
  input:not([type="range"]):not([type="checkbox"]):not([type="radio"]), select, textarea { font-size: 16px !important; }

  /* ── هدر: جزیره‌ی بالا — سرِ جایش بالای صفحه می‌ماند و با اسکرول نمی‌آید ── */
  html .header, html .header.stuck {
    position: relative; top: auto; z-index: 85;
    width: var(--isl-w); margin: 8px auto 8px; transform: none;
    background: var(--isl-bg); border: 1px solid var(--isl-bd); border-radius: var(--isl-r);
    box-shadow: var(--isl-sh);
    -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  }
  html .header .header__in {
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px;
    width: 100%; max-width: none; height: var(--hdr-h); padding: 0 8px;
  }
  html .header .header__cta { display: contents; }
  /* حساب و حالتِ شب در نوار و منو هستند؛ این‌جا فقط نشان، پشتیبانی و یک دکمه‌ی اصلی */
  html .header .burger, html .header .nav, html .header .hdr-buy, html .header .header__cta > .hdr-login,
  html .header .clock, html .header .usermenu { display: none; }
  html .header .logo { grid-row: 1; grid-column: 2; justify-self: center; margin: 0; --mark-w: 52px; --mark-h: 36px; }
  html .header .logo__text { display: none; }
  html .header .hdr-trial { grid-row: 1; grid-column: 1; justify-self: start; }
  html .header .hdr-help { grid-row: 1; grid-column: 3; justify-self: end; }

  /* پشتیبانی: آیکونِ گرد با نقطه‌ی سبز «آنلاین» — همان کارِ دکمه‌ی شناورِ قبلی */
  .hdr-help {
    position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
    border-radius: 14px; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--line);
    transition: color .2s, border-color .2s, background .2s;
  }
  .hdr-help svg { width: 20px; height: 20px; }
  .hdr-help i { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%;
    background: var(--online); box-shadow: 0 0 0 2px #fff; }
  .hdr-help:active { background: var(--brand-soft); color: var(--brand); border-color: var(--brand-line); }
  .chat-fab { display: none !important; }

  /* «تست رایگان» ِ هدر: دکمه‌ی سفید (نه گنبدی و نارنجی)، با یک برقِ کم‌رنگ (شیمر، uiverse «shine»، MIT) */
  .hdr-trial {
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; gap: 6px;
    height: 38px; padding: 0 13px; border-radius: 13px;
    font-size: 12.5px; font-weight: 800; white-space: nowrap; color: var(--brand);
    background: #fff; border: 1px solid var(--line);
    box-shadow: 0 6px 16px -12px rgba(var(--maroon-rgb),.55);
  }
  .hdr-trial svg { width: 16px; height: 16px; flex: none; }
  .hdr-trial::after {
    content: ""; position: absolute; inset: -2px auto -2px -40%; width: 34%; z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(var(--brand-rgb),.13), transparent);
    transform: skewX(-18deg);
    animation: gwShine 5.5s ease-in-out 1.5s infinite;
  }

  .topnote { width: var(--isl-w); margin: 8px auto 0; border-radius: 14px; font-size: 12.5px; padding: 7px 14px; line-height: 1.8; }
  /* «تستِ رایگان» هم در هدر هست و هم زیرِ دکمه‌های هیرو (مهم است؛ نباید جایی گم شود) */
  .readbar { display: none; }

  /* نصفِ صفحه هم دکمه‌ها و تیترها کمی کوچک‌تر (روی گوشی باز هم کوچک‌تر می‌شوند) */
  h1 { font-size: clamp(28px, 4.4vw, 42px); }
  h2 { font-size: clamp(22px, 3.1vw, 30px); }
  .btn { padding: 11px 20px; font-size: 14.5px; }
  .btn--lg { padding: 12px 24px; font-size: 15px; }

  /* هیرو: ضمانت‌ها یک ردیفِ وسط‌چین بالای پیش‌نمایش */
  .hero--stage { padding: 30px 0 40px; }
  .stage__show { margin-top: 32px; }
  .stage__badges { margin-top: 16px; }
  .stage__badges li { padding: 6px 12px; font-size: 12.5px;
    box-shadow: none; background: rgba(255,255,255,.8); }

  /* ── نوارِ پایینی: جزیره‌ی پایین، هم‌سبکِ هدر
     (تکنیکِ شیشه و برجستگیِ داخلی از uiverse.io — «Mobile Menu» ِ mymiamo / Eray Durupınar، مجوز MIT) */
  .mnav {
    display: flex; align-items: stretch; gap: 2px;
    position: fixed; z-index: 90;
    left: 50%; bottom: calc(var(--mnav-gap) + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    width: var(--isl-w); height: var(--mnav-h);
    padding: 6px; border-radius: var(--isl-r);
    background: var(--isl-bg); border: 1px solid var(--isl-bd); box-shadow: var(--isl-sh);
    -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  }
  .mnav::after, html .header::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    box-shadow: inset 1px 1px 3px -1px rgba(255,255,255,.9), inset 0 -2px 0 rgba(255,255,255,.35);
  }
  .mnav a, .mnav button {
    position: relative; flex: 1 1 0; min-width: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    border: 0; background: none; font: inherit; cursor: pointer;
    font-size: 10.5px; font-weight: 700; line-height: 1.2; color: var(--ink-3);
    border-radius: 16px; -webkit-tap-highlight-color: transparent;
    transition: color .2s, background .25s, transform .18s cubic-bezier(.34,1.56,.64,1);
  }
  .mnav a > svg, .mnav button > svg { width: 22px; height: 22px; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
  .mnav a:active, .mnav button:active { transform: scale(.92); }
  .mnav a[aria-current], .mnav button.on { color: var(--brand); background: rgba(var(--brand-rgb),.09); }
  .mnav a[aria-current] > svg, .mnav button.on > svg { transform: translateY(-1px) scale(1.08); }

  /* دکمه‌ی وسط: منو — کمی بالاتر از نوار، با حلقه‌ای که آرام می‌تپد */
  .mnav .mnav__mid, .mnav .mnav__mid.on { color: var(--brand); background: none; }
  .mnav .mnav__mid.on .mnav__orb { transform: rotate(45deg); }
  .mnav .mnav__mid.on .mnav__orb svg { transform: rotate(-45deg); }
  .mnav__orb {
    position: relative; width: 46px; height: 46px; margin-top: -26px; flex: none;
    display: grid; place-items: center; border-radius: 16px; color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 12px 24px -10px rgba(var(--brand-rgb),.95), 0 0 0 4px rgba(255,255,255,.92);
  }
  .mnav__orb { transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
  .mnav__orb svg { width: 21px; height: 21px; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
  .mnav__orb::after {
    content: ""; position: absolute; inset: -4px; border-radius: 19px;
    border: 2px solid rgba(var(--brand-rgb),.45); opacity: 0;
    animation: gwPulse 2.8s cubic-bezier(.2,.7,.4,1) infinite;
  }
  @keyframes gwPulse { 0% { transform: scale(.9); opacity: .9; } 80%, 100% { transform: scale(1.28); opacity: 0; } }

  html .connote { left: 50%; translate: -50% 0; bottom: calc(var(--mnav-h) + var(--mnav-gap) + 12px + env(safe-area-inset-bottom, 0px)); }
  .modes__grid { gap: 10px; }
  .mode { padding: 14px 12px 16px; }
  .mode__art { height: 96px; }

  /* «برگشت به بالا» روی گوشی شلوغ می‌کرد؛ پشتیبانی رفت توی هدر */
  .totop { display: none !important; }
  /* شبحِ سایت از پشتِ نوار بیرون می‌آید، نه رویش */
  .sghost { bottom: calc(var(--mnav-h) + var(--mnav-gap) + env(safe-area-inset-bottom, 0px)); z-index: 89; }

  /* ── منوی کشوییِ پایینی (کشوی همان «منو») ── */
  html .mobscrim { background: rgba(var(--maroon-rgb),.34); backdrop-filter: none; -webkit-backdrop-filter: none; z-index: 98;
    transition: opacity .38s ease; }
  html .mob {
    top: auto; right: 0; left: 0; bottom: 0; width: auto; z-index: 99;
    max-height: min(88vh, 740px); display: flex; flex-direction: column;
    border: 0; border-radius: 26px 26px 0 0; background: #fff;
    box-shadow: 0 -30px 70px -30px rgba(var(--maroon-rgb),.55);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateY(102%);
    transition: transform .52s cubic-bezier(.32,.72,0,1);
    will-change: transform;
  }
  html .mob.open { transform: translateY(0); }
  html .mob.drag { transition: none; }
  @media (min-width: 640px) { html .mob { left: 50%; right: auto; width: 560px; margin-left: -280px; } }

  .mob__grab { display: block; width: 42px; height: 5px; border-radius: 99px; background: var(--line-2); margin: 10px auto 0; flex: none; }
  html body .mob .mob__head { padding: 6px 18px 10px; border: 0; }
  html body .mob .mob__head .logo { --mark-w: 46px; --mark-h: 32px; }
  html body .mob .mob__head .logo__text small { display: none; }
  html body .mob .mob__x { width: 36px; height: 36px; border-radius: 12px; background: var(--paper-2); }
  html body .mob .mob__x svg { width: 17px; height: 17px; stroke-width: 2.2; }

  .mob__body {
    flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
    display: grid; gap: 12px; padding: 2px 14px 18px;
  }
  .mob__auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mob__auth .btn { padding: 9px 14px; min-height: 44px; font-size: 14px; border-radius: 14px; }
  html body .mob .mob__user { margin: 0; padding: 11px 12px; border-radius: 16px; }

  .mob__live {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 18px; color: #fff;
    background: radial-gradient(120% 140% at 100% 0%, rgba(var(--brand2-rgb),.35), transparent 55%),
                linear-gradient(135deg, var(--maroon), var(--dark-end));
    box-shadow: 0 14px 30px -18px rgba(var(--maroon-rgb),.8);
  }
  .mob__live__radar { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center;
    border-radius: 50%; background: rgba(255,255,255,.08); color: #7dffb3; }
  .mob__live__radar svg { width: 22px; height: 22px; position: relative; z-index: 1; }
  .mob__live__radar i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(125,255,179,.55);
    animation: gwRadar 2.4s cubic-bezier(.2,.7,.4,1) infinite; }
  .mob__live__radar i + i { animation-delay: 1.2s; }
  @keyframes gwRadar { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
  .mob__live__t { flex: 1; min-width: 0; line-height: 1.5; }
  .mob__live__t b { display: flex; align-items: center; gap: 8px; font-size: 15px; }
  .mob__live__t em { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 1px 8px; border-radius: 99px;
    color: #0b3d22; background: #7dffb3; }
  .mob__live__t i { display: block; font-style: normal; font-size: 12px; color: var(--on-dark-2); }
  .mob__live__go { width: 17px; height: 17px; color: var(--on-dark-2); flex: none; }
  .mob__ask { display: flex; align-items: center; gap: 8px; margin-top: -4px; padding: 0 4px;
    font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
  .mob__ask svg { width: 17px; height: 17px; color: var(--brand); flex: none; }
  .mob__ask .mob__ask__go { width: 14px; height: 14px; color: var(--ink-3); margin-inline-start: auto; }

  html body .mob .mob__nav {
    flex: none; overflow: visible; padding: 0;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px;
  }
  html body .mob .mob__nav a {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 12px 2px 10px; min-height: 0; margin: 0; border-radius: 16px; text-align: center;
    background: var(--paper-2); border: 1px solid var(--line);
    transform: none !important;
    transition: background .2s, border-color .2s, transform .18s;
  }
  html body .mob .mob__nav a:active { transform: scale(.95) !important; }
  html body .mob .mob__nav a::before, html body .mob .mob__nav a::after { content: none; display: none; }
  html body .mob .mob__nav a:hover { background: var(--paper-2); }
  html body .mob .mob__nav a[aria-current] { background: var(--brand-soft); }
  html body .mob .mob__nav a svg {
    width: 20px; height: 20px; padding: 8px; box-sizing: content-box; border-radius: 12px;
    color: var(--brand); background: #fff; box-shadow: 0 4px 12px -8px rgba(var(--maroon-rgb),.5);
  }
  html body .mob .mob__nav a span { font-size: 11.5px; font-weight: 700; color: var(--ink-2); line-height: 1.4; white-space: nowrap; letter-spacing: -.01em; }
  html body .mob .mob__nav a[aria-current] { background: var(--brand-soft); border-color: var(--brand-line); }
  html body .mob .mob__nav a[aria-current] span { color: var(--brand); }
  /* باز شدنِ کشو: کاشی‌ها یکی‌یکی بالا می‌آیند */
  html .mob.open .mob__nav a { animation: gwUp .5s cubic-bezier(.32,.72,0,1) .06s both; }
  html .mob.open .mob__nav a:nth-child(4n+2) { animation-delay: .03s; }
  html .mob.open .mob__nav a:nth-child(4n+3) { animation-delay: .06s; }
  html .mob.open .mob__nav a:nth-child(4n+4) { animation-delay: .09s; }
  html .mob.open .mob__nav a:nth-child(n+5) { animation-duration: .5s; }
  html .mob.open .mob__nav a:nth-child(n+9) { animation-duration: .58s; }
  @keyframes gwUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

  /* حالتِ شب: یک ردیفِ کامل با کلید */
  html body .mob .mobclock {
    display: flex; align-items: center; gap: 10px; width: 100%; margin: 0;
    padding: 11px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  }
  html .mobclock__label { border: 0; padding: 0; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
  html .mobclock__time { margin-inline-start: auto; font-size: 12.5px; color: var(--ink-3); }
  .mobclock__sw { display: block; position: relative; width: 38px; height: 22px; border-radius: 99px;
    background: var(--line-2); transition: background .25s; flex: none; }
  .mobclock__sw i { position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%;
    background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
  .mobclock[aria-pressed="true"] .mobclock__sw { background: var(--brand); }
  .mobclock[aria-pressed="true"] .mobclock__sw i { transform: translateX(-16px); }

  html body .mob .mob__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0; background: none; border: 0; }
  html body .mob .mob__foot .btn { padding: 10px 14px; font-size: 13.5px; border-radius: 14px; }
  html body .mob .mob__foot .mob__out { color: #c0392b; }
  html body .mob .mob__foot .btn:only-child { grid-column: 1 / -1; }

}

/* بازی‌ها: عکس، اسم و پلتفرم همه داخلِ یک قاب (اسم و برچسب‌ها بیرونِ قاب می‌افتادند) */
@media (max-width: 1060px) {
  .vcard--game {
    display: flex; flex-direction: column; min-width: 0;
    padding: 7px 7px 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
    transition: border-color .2s, box-shadow .2s;
  }
  .vcard--game:hover { border-color: var(--brand-line); box-shadow: 0 18px 34px -24px rgba(var(--maroon-rgb),.5); }
  .vcard--game .vcard__art { border-radius: 13px; border: 0; }
  .vcard--game:hover .vcard__art { transform: none; box-shadow: none; }
  .vcard--game .vcard__name { margin: 9px 5px 0; font-size: 14px; line-height: 1.5;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .vcard--game .vcard__plats { margin: 6px 5px 0; }
  .vgrid--games { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
}

/* ═══════════════════════════════════ ۶۴۱ تا ۱۰۶۰ (نصفِ صفحه و تبلت) */
@media (min-width: 641px) and (max-width: 1060px) {
  /* main.css زیرِ ۹۰۰ همه‌چیز را تک‌ستونه می‌کرد و صفحه دراز و خالی می‌شد */
  .dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}

/* ════════════════════════════════════════════════════════════ ≤ ۶۴۰ (گوشی) */
@media (max-width: 640px) {
  /* ── اندازه‌ها: یک مقیاسِ ثابت برای همه‌ی صفحه‌ها ── */
  body { font-size: 15px; line-height: 1.85; }
  h1 { font-size: 27px; line-height: 1.45; letter-spacing: -.02em; }
  h2 { font-size: 22px; line-height: 1.5; }
  h3 { font-size: 16px; }
  .lede { font-size: 14.5px; line-height: 1.95; }
  .small { font-size: 12.5px; }
  .wrap { padding-inline: 16px; }
  .sec { padding-block: 46px; }
  .sec--tight { padding-block: 28px; }
  .sec__head { margin-bottom: 22px !important; }
  .sec__head .lede { margin-top: 8px; font-size: 13.5px; }
  .pagehead { padding-top: 26px; padding-bottom: 18px; }
  .pagehead h1 { font-size: 25px; }

  /* دکمه‌ها: کوچک‌تر ولی هنوز راحت برای انگشت (≥۴۴) */
  .btn { padding: 11px 18px; font-size: 14px; border-radius: 14px; gap: 7px; min-height: 44px; }
  .btn--lg { padding: 11px 20px; font-size: 14.5px; min-height: 46px; }
  .btn--sm { padding: 7px 13px; font-size: 13px; min-height: 36px; border-radius: 12px; }
  .btn svg { width: 16px; height: 16px; }
  .btn:hover { transform: none; box-shadow: none; }
  .btn:active { transform: scale(.97); }



  /* ── هیرو ── */
  .hero--stage { padding: 22px 0 28px; }
  .stage__pill { font-size: 12px; padding: 5px 12px; gap: 6px; }
  .stage__pill em { padding-inline-start: 8px; }
  .hero--stage h1 { margin-top: 14px; font-size: 27px; line-height: 1.45; }
  .hero--stage .lede { margin-top: 10px; font-size: 14.5px; line-height: 1.9; }
  .hero--stage .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 20px; }
  .hero--stage .hero__actions .btn { width: 100%; padding: 11px 10px; min-height: 46px; }
  .stage__trial { margin-top: 14px; font-size: 12.5px; gap: 8px; max-width: 100%; }
  .stage__trial__ic { width: 26px; height: 26px; }
  .stage__show { margin-top: 26px; }
  .stage__badges { gap: 6px; margin-top: 14px; }
  .stage__badges li { padding: 4px 10px; font-size: 11.5px; gap: 6px; }
  .stage__badges .dot { width: 6px; height: 6px; box-shadow: none; }
  .stage .stage__plats { margin-top: 16px; gap: 10px; }
  .hero::before { width: 380px; height: 380px; top: -160px; }
  .hero::after { display: none; }

  /* ── نوارِ بازی‌ها و سرویس‌ها ── */
  .gtile { width: 138px; height: 88px; border-radius: 14px; }
  .gtile__name { font-size: 12px; }
  .stile { width: 58px; height: 58px; border-radius: 16px; }
  .showcase__foot { gap: 10px; }
  .seeall { padding: 12px 14px; border-radius: 16px; gap: 12px; }
  .seeall__text b { font-size: 14px; }
  .seeall__text small { font-size: 12px; }
  .askline { padding: 11px 14px; border-radius: 14px; }
  .askline__txt b { font-size: 13.5px; }
  .askline__txt i { display: none; }
  .livecard { padding: 14px 16px; border-radius: 18px; display: flex; align-items: center; gap: 12px; text-align: start; }
  .livecard__num { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  .livecard__num b { font-size: 30px; line-height: 1.1; }
  .livecard__num span { font-size: 13.5px; }
  .livecard__note { display: none; }

  /* ── سه حالت: هر کدام یک ردیفِ کوتاه (شکل کنارِ اسم) ── */
  .modes__head { margin-bottom: 20px; }
  .modes__grid { grid-template-columns: 1fr; gap: 10px; }
  .mode { display: grid; grid-template-columns: 84px minmax(0, 1fr); grid-template-areas: "art t" "art tags";
    align-items: center; gap: 2px 14px; padding: 10px; text-align: start; border-radius: 20px; }
  .mode__art { grid-area: art; height: 84px; margin: 0; border-radius: 16px; }
  .mode__ic { width: 46px; height: 46px; border-radius: 14px; }
  .mode__ic svg { width: 23px; height: 23px; }
  .mode h3 { grid-area: t; font-size: 16px; align-self: end; }
  .mode__tags { grid-area: tags; margin: 6px 0 0; justify-content: flex-start; align-self: start; gap: 5px; }
  .mode__tags li { font-size: 11px; padding: 3px 8px; }
  .mode__code { top: 6px; left: 8px; font-size: 10px; }
  .mode__line { bottom: 6px; }
  .flow { margin-top: 22px; }
  .modes .modes__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px !important; }
  .modes .modes__stats .stat:nth-child(3) { border-inline-start: 0; }
  .modes .modes__stats .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
  .modes .modes__stats .stat b { font-size: 24px; }

  /* ── فوتر: وسط‌چین و کوچک ── */
  .fslim__top { flex-direction: column; gap: 14px; text-align: center; }
  .fslim__links { justify-content: center; gap: 4px 14px; }
  .footer .fslim__links a { font-size: 12.5px; }
  .fslim .seal { width: 84px; height: 92px; }
  .fslim__bot { justify-content: center; text-align: center; font-size: 11px; }

  /* ── حساب من ── */
  .acard { padding: 14px; }
  .acard__av { width: 44px; height: 44px; border-radius: 14px; font-size: 17px; }
  .acard__who h1 { font-size: 17px; }
  .acard__new { padding: 7px 12px; min-height: 36px; font-size: 12.5px; }
  .acard__stats b { font-size: 17px; }
  .acard__stats span { font-size: 10.5px; }

  /* ── دانلود ── */
  .dl { gap: 10px; }
  .dlcard { padding: 14px; gap: 12px; border-radius: 18px; flex-wrap: wrap; }
  .dlcard__ico { width: 44px; height: 44px; border-radius: 14px; }
  .dlcard__txt h3 { font-size: 15px; }
  .dlcard__txt p { font-size: 12px; }
  .dlcard .btn { width: auto; margin-inline-start: auto; padding: 9px 16px; min-height: 40px; }
  .dlnote { font-size: 12.5px; line-height: 1.9; }

  /* ── دعوت ── */
  .refband { padding: 13px 14px; gap: 12px; border-radius: 16px; }
  .refband__txt b { font-size: 14px; line-height: 1.6; }
  .refband__txt i { font-size: 12px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  /* ── سوالات: اول شش تا ── */
  .faq summary { font-size: 14px; padding-block: 13px; gap: 10px; line-height: 1.7; }
  .faq .ans { font-size: 13.5px; line-height: 1.95; }
  #faqList:not(.all) details:nth-of-type(n+7) { display: none; }
  .faqmore {
    display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%;
    margin-top: 12px; padding: 11px; border-radius: 14px; cursor: pointer;
    background: var(--paper-2); border: 1px solid var(--line);
    font: inherit; font-size: 13.5px; font-weight: 700; color: var(--brand);
  }
  .faqmore svg { width: 15px; height: 15px; transform: rotate(-90deg); }

  /* ── وبلاگ ── */
  .blogsec__head h2 { font-size: 22px; }
  .blogrow { padding: 13px 14px; gap: 10px; }
  .blogrow__body b { font-size: 14px; line-height: 1.7; }
  .blogrow__body i { font-size: 12px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  /* ── صفحه‌های دیگر ── */
  /* پینگ‌واچ: سه عدد در یک ردیف */
  .pwstats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .pwstat { padding: 12px 8px; border-radius: 16px; text-align: center; }
  .pwstat b { font-size: 21px; }
  .pwstat b small { font-size: 12px; }
  .pwstat span { font-size: 11px; line-height: 1.5; display: block; }

  .vgrid--games { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vcard--game { padding: 5px 5px 10px; border-radius: 16px; }
  .vcard--game .vcard__art { border-radius: 12px; }
  .vcard--game .vcard__name { font-size: 13px; margin-top: 7px; }
  .vcard--game .xp { font-size: 10px; padding: 1px 7px; }
  .vgrid--dev { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }

  /* بازی‌ها: فیلترها کوچک‌تر و یک‌خطی (کشیدنی) */
  .platfilter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; margin-inline: -16px; padding-inline: 16px; }
  .platfilter::-webkit-scrollbar { display: none; }
  .platfilter__btn { flex: none; padding: 6px 13px; min-height: 36px; font-size: 13px; border-radius: 12px; }

  /* فرم‌ها (ورود، ثبت‌نام، پشتیبانی، …): فیلدِ جمع‌وجور */
  html .input, html .authcard .input { padding: 11px 14px; min-height: 46px; border-radius: 13px; }
  html textarea.input { min-height: 96px; }
  .authpage { padding-block: 22px 30px; }
  html .authcard { padding: 22px 18px; border-radius: 22px; }
  .field label, .field__side { font-size: 13px; }

  /* آموزش: فهرستِ بالا یک ردیفِ چسبان و کشیدنی، کارت‌ها کم‌حاشیه‌تر */
  html .guidegrid, html .contactgrid { grid-template-columns: minmax(0, 1fr); }
  html .guidenav, html .guidebody { min-width: 0; }
  html .guidenav {
    position: sticky; top: calc(var(--hdr-h) + 16px); z-index: 20;
    margin-inline: -6px; padding: 6px; border-radius: 16px;
    background: var(--isl-bg); border: 1px solid var(--isl-bd); box-shadow: 0 10px 24px -20px rgba(var(--maroon-rgb),.6);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  html .guidenav b { display: none; }
  html .guidenav ol { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  html .guidenav ol::-webkit-scrollbar { display: none; }
  html .guidenav a { white-space: nowrap; padding: 5px 12px; font-size: 12.5px; background: #fff; }
  .guidebody { gap: 14px; }
  .guide { padding: 16px 14px; border-radius: 18px; }
  .guide h2 { font-size: 18px; }
  .guide .lede { font-size: 13.5px; }
  .gsteps { gap: 14px; margin-top: 16px; }
  .gsteps li { gap: 10px; }
  .gsteps b { font-size: 14.5px; }
  .gsteps p { font-size: 13px; line-height: 1.9; }

  /* حساب من: عددها در یک ردیفِ کوتاه، دکمه‌های اشتراک مرتب */
  .accstats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .accstat { padding: 12px 10px; border-radius: 16px; }
  .accstat b { font-size: 22px; line-height: 1.3; }
  .accstat span { font-size: 11.5px; line-height: 1.6; }
  .subcard__acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .subcard__acts .btn { width: 100%; }

  /* پینگ‌واچ: سه بخش، سه زبانه */
  .pwtabs {
    display: flex; gap: 4px; padding: 4px; margin: 4px 0 16px; border-radius: 16px;
    background: var(--paper-2); border: 1px solid var(--line);
  }
  .pwtabs button {
    flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 38px; border: 0; border-radius: 12px; background: none; cursor: pointer;
    font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ink-3); white-space: nowrap;
    transition: background .2s, color .2s;
  }
  .pwtabs button svg { width: 16px; height: 16px; }
  .pwtabs button.on { background: #fff; color: var(--brand); box-shadow: 0 6px 16px -10px rgba(var(--maroon-rgb),.5); }
  .pwgrid[data-tab="1"] > section:not(:nth-of-type(1)),
  .pwgrid[data-tab="2"] > section:not(:nth-of-type(2)),
  .pwgrid[data-tab="3"] > section:not(:nth-of-type(3)) { display: none; }
  .pwgrid { padding-bottom: 20px; gap: 16px; }

  /* آموزش: هر بخش باز/بسته (اسکریپتش در guide.html) */
  html .guide h2 { cursor: pointer; gap: 10px; }
  html .guide h2::after {
    content: ""; flex: none; width: 8px; height: 8px; margin-inline-start: auto;
    border: solid var(--ink-3); border-width: 0 2px 2px 0; transform: rotate(-135deg) translate(-2px, -2px);
    transition: transform .25s;
  }
  html .guide.shut h2::after { transform: rotate(45deg); }
  html .guide.shut .gsteps { display: none; }
  html .guide.shut .lede { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .gsteps__n { width: 24px; height: 24px; font-size: 12px; }

  /* وبلاگ و نوشته‌ها */
  .postgrid { gap: 12px; }
  .post__body { padding: 14px 16px; gap: 6px; }
  .post__body h2 { font-size: 16px; }
  .post__body p { font-size: 13px; line-height: 1.85; }
  html .card.rules-body, html .postpage__body { padding: 18px 16px; border-radius: 20px; }
  .rules-body h2 { font-size: 18px; }
  .rules-body h3 { font-size: 15.5px; }
  .rules-body p, .rules-body li { font-size: 14px; line-height: 2; }
  .card { border-radius: 20px; }

  /* ── فوتر: جمع‌وجور، دو ستون ── */
  .footer { padding-top: 30px; padding-bottom: 18px; }
  .footer__grid { grid-template-columns: 1fr 1fr !important; gap: 18px 14px; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .footer__grid > div:first-child p { display: none; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer h4 { font-size: 13px; margin-bottom: 6px; }
  .footer a { font-size: 13px; padding: 4px 0; }
  .footer p, .footer .small { font-size: 12.5px; }
  .seals { gap: 10px; }
  .seal img { max-height: 82px; width: auto; }
  .footer__bottom { margin-top: 20px; flex-direction: column; gap: 4px; font-size: 11.5px; }
}

@media (max-width: 350px) {
  html body .mob .mob__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hdr-trial { padding: 0 10px; font-size: 12px; }
  .hdr-trial svg { display: none; }
  h1 { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .bglines i::after, .hdr-trial::after, .mnav__orb::after, .mob__live__radar i { animation: none; display: none; }
}


/* ── نورِ تم روی تصویرِ رسمیِ بازی‌ها (مهر ۱۴۰۵) ──
   تصویر همان فایلِ رسمی و دست‌نخورده است؛ فقط موقعِ نمایش در سایت، نورِ نارنجی از بالا و
   آبی از پایین با blend ِ screen رویش می‌نشیند (روشن می‌کند، نمی‌پوشاند) تا با تمِ سایت یکی شود.
   ترتیبِ لایه‌ها: تصویر ← سایه‌ی زیرِ اسم ← نور ← اسم. در برنامه نیست. */
.gtile::before,
.vcard--game .vcard__art::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(255, 106, 61, .55), rgba(255, 106, 61, 0) 38%),
    linear-gradient(to top, rgba(61, 139, 255, .62), rgba(61, 139, 255, 0) 42%),
    radial-gradient(120% 55% at 50% -4%, rgba(255, 130, 70, .45), rgba(255, 130, 70, 0) 70%),
    radial-gradient(120% 55% at 50% 104%, rgba(80, 150, 255, .5), rgba(80, 150, 255, 0) 70%);
  box-shadow: inset 0 2px 0 rgba(255, 120, 70, .75), inset 0 -2px 0 rgba(90, 160, 255, .8);
  mix-blend-mode: screen;
  transition: opacity .3s;
}
.gtile__shade { z-index: 1; }
.gtile__name { z-index: 3; }
.gtile:hover::before,
.vcard--game:hover .vcard__art::before { opacity: .7; }
