/* «پله» demo: bank red, graphite, warm white, gold for coins; Tourismbank FaNum */
@font-face { font-family: 'TB'; font-weight: 300; font-display: swap; src: url(../fonts/TourismbankFaNum-Light.woff2) format('woff2'); }
@font-face { font-family: 'TB'; font-weight: 400; font-display: swap; src: url(../fonts/TourismbankFaNum-Regular.woff2) format('woff2'); }
@font-face { font-family: 'TB'; font-weight: 500; font-display: swap; src: url(../fonts/TourismbankFaNum-Medium.woff2) format('woff2'); }
@font-face { font-family: 'TB'; font-weight: 600; font-display: swap; src: url(../fonts/TourismbankFaNum-SemiBold.woff2) format('woff2'); }
@font-face { font-family: 'TB'; font-weight: 700; font-display: swap; src: url(../fonts/TourismbankFaNum-Bold.woff2) format('woff2'); }
@font-face { font-family: 'TB'; font-weight: 800; font-display: swap; src: url(../fonts/TourismbankFaNum-Heavy.woff2) format('woff2'); }
@font-face { font-family: 'TB'; font-weight: 900; font-display: swap; src: url(../fonts/TourismbankFaNum-Black.woff2) format('woff2'); }

:root {
  --red: #D81F24; --red-d: #B3161B; --red-l: #FF8A8E; --tint: #FBE9EA; --pink: #F7DADB;
  --gr: #1F2229; --ink: #17191E; --bg: #FAF8F6; --grey: #6F6B68; --lg: #D6D0CA; --soft: #F0ECE8;
  --cy: #22B8E0; --cy-l: #E2F6FB; --gold: #F2C14E; --gold-d: #9A6A0C; --gold-l: #FFF3D2; --green: #18905F; --green-l: #E3F4EC;
  --hair: rgba(31, 34, 41, .09); --r: 22px; --top: env(safe-area-inset-top, 0px);
  --sh: 0 12px 30px -20px rgba(31, 34, 41, .45), 0 2px 6px -3px rgba(31, 34, 41, .08);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { font-family: 'TB', Tahoma, sans-serif; background: #EAE5DF; color: var(--ink); direction: rtl; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.ic { width: 22px; height: 22px; flex: none; }

/* ---------- frame: phone on desktop, full screen on phones ---------- */
.wrap { min-height: 100dvh; display: flex; align-items: center; justify-content: center; gap: 64px; padding: 24px; }
.device { position: relative; flex: none; width: 404px; height: min(876px, calc(100dvh - 48px)); border-radius: 56px; background: #0D0E11; padding: 12px;
  box-shadow: 0 50px 90px -40px rgba(31, 34, 41, .7), 0 0 0 1.5px #2A2C33 inset, 0 0 0 7px #191A1F inset; }
.device::before { content: ''; position: absolute; top: 24px; left: 50%; transform: translateX(-50%); width: 112px; height: 32px; border-radius: 20px; background: #0D0E11; z-index: 40; }
.device .screen { --top: 40px; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 45px; overflow: hidden; background: var(--bg); isolation: isolate; }
.scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }
.page { min-height: 100%; display: flex; flex-direction: column; }
.page > main { flex: 1; padding: 2px 16px 26px; }
@media (max-width: 980px) {
  body { background: var(--bg); }
  .side { display: none; }
  .wrap { display: block; padding: 0; }
  .device { width: 100%; height: 100dvh; border-radius: 0; padding: 0; box-shadow: none; background: var(--bg); }
  .device::before { display: none; }
  .device .screen { --top: env(safe-area-inset-top, 0px); border-radius: 0; }
}

/* ---------- header and tabs ---------- */
.hdr { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(12px + var(--top)) 16px 10px; background: linear-gradient(var(--bg) 72%, rgba(250, 248, 246, 0)); }
.brand { display: flex; align-items: center; gap: 8px; }
.brand .coin { width: 34px; height: 34px; filter: drop-shadow(0 4px 6px rgba(160, 110, 10, .35)); }
.brand b { font-weight: 900; font-size: 23px; letter-spacing: -.3px; }
.hdr-l { display: flex; gap: 8px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 14px; border-radius: 20px; background: #fff; box-shadow: var(--sh); border: 1px solid var(--hair); font-weight: 800; font-size: 15px; white-space: nowrap; }
.pill .coin { width: 22px; height: 22px; }
.pill.lvl { background: var(--gr); color: #fff; border-color: transparent; font-size: 13px; padding: 0 12px; }
.pill.lvl .ic { width: 16px; height: 16px; color: var(--gold); }
.tabs { position: sticky; bottom: 0; z-index: 25; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 8px 6px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--hair); }
.device .tabs { padding-bottom: 22px; }
.tabs a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: #8A8682; padding: 2px 0; cursor: pointer; }
.tabs a .ic { width: 23px; height: 23px; }
.tabs a.on { color: var(--red); }
.tabs a.mid .bub { width: 50px; height: 50px; margin-top: -24px; border-radius: 17px; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 22px -10px rgba(216, 31, 36, .85); }
.tabs a.mid .bub .ic { width: 25px; height: 25px; }
.tabs a.mid.on .bub { background: var(--red-d); }

/* ---------- building blocks ---------- */
.card { position: relative; overflow: hidden; background: #fff; border-radius: var(--r); padding: 16px; margin-bottom: 14px; border: 1px solid var(--hair); box-shadow: var(--sh); }
.card.dark { color: #fff; border: 0; background: radial-gradient(120% 90% at 92% -10%, rgba(216, 31, 36, .5), transparent 58%), radial-gradient(90% 80% at -10% 110%, rgba(34, 184, 224, .18), transparent 60%), #1B1D23; }
.card.tint { background: var(--tint); border-color: transparent; box-shadow: none; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sec { font-size: 16.5px; font-weight: 900; margin: 22px 4px 10px; display: flex; align-items: center; justify-content: space-between; }
.sec small { font-size: 12px; font-weight: 600; color: var(--grey); }
.txt { font-size: 13.5px; line-height: 1.95; color: #45474D; margin: 8px 0 0; }
.fine { font-size: 11.5px; line-height: 1.8; color: var(--grey); margin: 10px 2px 0; }
.c { text-align: center; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 20px; background: var(--tint); color: var(--red); white-space: nowrap; }
.tag.dk { background: rgba(255, 255, 255, .12); color: #fff; }
.tag.gold { background: var(--gold-l); color: var(--gold-d); }
.tag.green { background: var(--green-l); color: var(--green); }
.rew { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 900; color: var(--gold-d); background: var(--gold-l); padding: 5px 9px 5px 10px; border-radius: 12px; white-space: nowrap; }
.rew .coin { width: 16px; height: 16px; }
.rew.done { color: var(--green); background: var(--green-l); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 20px; border-radius: 16px; background: var(--red); color: #fff; font-weight: 800; font-size: 15.5px;
  box-shadow: 0 12px 22px -14px rgba(216, 31, 36, .95); transition: transform .15s, opacity .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn.block { width: 100%; }
.btn.sm { height: 40px; font-size: 13.5px; padding: 0 14px; border-radius: 13px; }
.btn.ghost { background: var(--tint); color: var(--red); box-shadow: none; }
.btn.light { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
.btn.gold { background: linear-gradient(180deg, #FFDA7A, #E8A82B); color: #3E2A00; box-shadow: 0 12px 22px -14px rgba(170, 115, 15, .95); }
.btn.dark { background: var(--gr); box-shadow: none; }
.btn .coin { width: 22px; height: 22px; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btns { display: flex; gap: 8px; margin-top: 14px; }
.btns .btn { flex: 1; }
.lnk { display: block; margin: 12px auto 0; font-weight: 700; font-size: 13.5px; color: var(--red); padding: 6px 10px; }
.bar { height: 10px; border-radius: 10px; background: var(--soft); overflow: hidden; margin: 12px 0 8px; }
.bar i { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, #FF6A6F, var(--red)); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.dark .bar { background: rgba(255, 255, 255, .12); }
.ico { flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--tint); color: var(--red); }
.ico.cyan { background: var(--cy-l); color: #0F86A8; } .ico.gold { background: var(--gold-l); color: var(--gold-d); } .ico.green { background: var(--green-l); color: var(--green); } .ico.dark { background: var(--gr); color: #fff; }
.item { display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff; border-radius: 18px; border: 1px solid var(--hair); margin-bottom: 8px; width: 100%; text-align: right; cursor: pointer; }
.item .tx { flex: 1; min-width: 0; }
.item .tx b { display: block; font-size: 14.5px; font-weight: 800; }
.item .tx span { display: block; font-size: 12px; color: var(--grey); margin-top: 2px; line-height: 1.6; }
.item.off { opacity: .55; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 15px; background: #EDE8E3; }
.seg button { flex: 1; height: 38px; border-radius: 12px; font-weight: 700; font-size: 13.5px; color: #77736F; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 3px 10px -4px rgba(0, 0, 0, .25); }
.seg.big button { height: 42px; font-size: 14.5px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: #fff; background: var(--red); padding: 4px 10px; border-radius: 20px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- coin ---------- */
.coin { display: block; width: 100%; height: 100%; }
.coin3d { width: 86px; height: 86px; perspective: 700px; flex: none; }
.coin3d.xl { width: 168px; height: 168px; }
.coin3d .c3 { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: spin 5.5s cubic-bezier(.45, .05, .55, .95) infinite; }
.coin3d .f, .coin3d .b { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: drop-shadow(0 10px 14px rgba(120, 80, 5, .35)); }
.coin3d .b { transform: rotateY(180deg); }
.coin3d .b .coin { transform: scaleX(-1); }
@keyframes spin { 0%, 18% { transform: rotateY(0); } 50%, 68% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }

/* ---------- welcome and flows ---------- */
.wel { min-height: 100%; display: flex; flex-direction: column; align-items: center; padding: calc(26px + var(--top)) 22px 26px; text-align: center;
  background: radial-gradient(80% 50% at 50% 30%, rgba(216, 31, 36, .14), transparent 70%), var(--bg); }
.wel-logo { height: 34px; width: auto; margin: 0 auto; }
.wel-coin { position: relative; margin: 34px 0 10px; }
.wel-coin .rays { position: absolute; inset: -60px; z-index: -1; background: repeating-conic-gradient(from 0deg, rgba(242, 193, 78, .22) 0 6deg, transparent 6deg 18deg); border-radius: 50%;
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%); animation: rot 30s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.wel-name { font-size: 64px; font-weight: 900; margin: 6px 0 0; line-height: 1.1; letter-spacing: -1px; }
.wel-tag { font-size: 17px; font-weight: 700; color: #3E4047; margin: 8px 0 22px; line-height: 1.8; }
.wel-pts { list-style: none; padding: 0; margin: 0 0 24px; width: 100%; display: grid; gap: 8px; text-align: right; }
.wel-pts li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--hair); border-radius: 16px; padding: 11px 12px; font-size: 13.5px; font-weight: 600; line-height: 1.7; }
.wel-pts li .ic { color: var(--red); width: 24px; height: 24px; }
.wel .btn { margin-top: auto; }
.flow { min-height: 100%; display: flex; flex-direction: column; padding: calc(8px + var(--top)) 18px 26px; }
.fhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 52px; margin-bottom: 6px; }
.fhead b { font-weight: 800; font-size: 15px; }
.fhead button { width: 40px; height: 40px; border-radius: 13px; background: #fff; border: 1px solid var(--hair); display: grid; place-items: center; }
.ft { font-size: 23px; font-weight: 900; margin: 14px 0 6px; line-height: 1.5; }
.fs { font-size: 14px; color: #55575D; line-height: 1.9; margin: 0 0 18px; }
.demo { display: inline-block; color: var(--gold-d); background: var(--gold-l); padding: 1px 8px; border-radius: 8px; font-weight: 800; }
.field { margin-bottom: 14px; }
.field > label { display: block; font-size: 13px; font-weight: 700; margin: 0 4px 7px; color: #3B3D44; }
.inp { width: 100%; height: 54px; border-radius: 16px; border: 1.5px solid var(--lg); background: #fff; padding: 0 15px; font-size: 17px; font-weight: 700; outline: none; transition: border-color .2s, box-shadow .2s; }
.inp:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(216, 31, 36, .1); }
.inp.ltr { direction: ltr; text-align: left; letter-spacing: 1.5px; }
.inp.big { height: 60px; font-size: 22px; }
.inp::placeholder { color: #B9B3AD; font-weight: 500; letter-spacing: 0; }
select.inp { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236F6B68' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat 14px center; font-size: 15px; }
.otp { display: flex; gap: 10px; justify-content: center; margin: 8px 0 18px; }
.otp .inp { width: 62px; height: 66px; text-align: center; font-size: 28px; padding: 0; }
.pre { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 50px; padding: 0 14px; border-radius: 15px; background: var(--green-l); margin-bottom: 8px; font-weight: 700; font-size: 15px; }
.pre small { display: block; font-size: 11.5px; color: #55745F; font-weight: 600; }
.pre .ok { display: flex; align-items: center; gap: 4px; color: var(--green); font-size: 12px; font-weight: 800; }
.pre .ok .ic { width: 16px; height: 16px; }
.money { display: flex; align-items: baseline; gap: 6px; margin: 2px 4px 10px; }
.money b { font-size: 28px; font-weight: 900; }
.money span { font-size: 14px; font-weight: 700; color: var(--grey); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; outline: none; margin: 8px 0;
  background: linear-gradient(to left, var(--red) var(--p, 50%), #E7E1DB var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--red); box-shadow: 0 4px 12px -2px rgba(0, 0, 0, .3); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--red); }
.rng-l { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--grey); margin: 0 2px; }
.steps { display: flex; gap: 6px; margin: 0 0 8px; }
.steps i { flex: 1; height: 5px; border-radius: 5px; background: #E7E1DB; transition: background .4s; }
.steps i.on { background: var(--red); }
.stepl { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--grey); margin-bottom: 4px; }
.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.yn button, .chs button { height: 58px; border-radius: 16px; background: #fff; border: 1.5px solid var(--lg); font-weight: 800; font-size: 16px; }
.yn button.on, .chs button.on { border-color: var(--red); background: var(--tint); color: var(--red); }
.chs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.chs button { height: 48px; font-size: 14.5px; }
.ans { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 16px; margin-top: 14px; font-size: 14px; line-height: 1.9; font-weight: 600; }
.ans.yes { background: var(--green-l); color: #145C3F; } .ans.no { background: var(--gold-l); color: #5E4205; }
.ans .ic { margin-top: 3px; }
.sum { list-style: none; padding: 0; margin: 0; }
.sum li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 2px; border-bottom: 1px dashed var(--lg); font-size: 14px; }
.sum li span { color: var(--grey); } .sum li b { font-weight: 800; text-align: left; }
.chk { display: flex; gap: 10px; align-items: center; margin: 16px 2px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.chk i { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--lg); display: grid; place-items: center; flex: none; color: #fff; }
.chk.on i { background: var(--red); border-color: var(--red); }
.chk i .ic { width: 16px; height: 16px; }
.flow .grow { flex: 1; }
.helpbar { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12.5px; color: var(--grey); }
.helpbar button { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--grey); }
.helpbar .ic { width: 16px; height: 16px; }
.plate { display: flex; direction: ltr; align-items: stretch; height: 62px; border: 2.5px solid #1D1F24; border-radius: 12px; overflow: hidden; background: #fff; }
.plate .irf { width: 30px; background: #1C54A8; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding-bottom: 6px; font-size: 8px; font-weight: 800; }
.plate .irf i { width: 18px; height: 12px; margin-bottom: auto; margin-top: 7px; background: linear-gradient(#239F40 33%, #fff 33% 66%, #DA0000 66%); border-radius: 2px; }
.plate input, .plate select { border: 0; outline: none; text-align: center; font-size: 24px; font-weight: 900; background: transparent; padding: 0; min-width: 0; }
.plate .p2 { width: 52px; } .plate .pl { width: 54px; font-size: 22px; } .plate .p3 { width: 72px; }
.plate .reg { display: flex; flex-direction: column; align-items: center; justify-content: center; border-left: 2.5px solid #1D1F24; width: 64px; }
.plate .reg small { font-size: 10px; font-weight: 800; }
.plate .reg input { width: 52px; font-size: 22px; }
.birth { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 8px; }
.done { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 30px; }
.done .tick { width: 96px; height: 96px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 18px 30px -16px rgba(24, 144, 95, .9); animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
.done .tick .ic { width: 48px; height: 48px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.done h2 { font-size: 24px; font-weight: 900; margin: 22px 0 6px; }
.done p { font-size: 14.5px; line-height: 1.95; color: #45474D; margin: 0 6px 18px; }
.got { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 900; color: var(--gold-d); background: var(--gold-l); padding: 10px 18px; border-radius: 18px; margin-bottom: 22px; }
.got .coin { width: 30px; height: 30px; }
.cam { position: relative; width: 230px; height: 230px; margin: 10px auto 18px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 38%, #4C5361, #1A1C22); border: 5px solid var(--lg); }
.cam .face { position: absolute; left: 50%; top: 52%; width: 120px; height: 150px; transform: translate(-50%, -50%); border: 3px dashed rgba(255, 255, 255, .55); border-radius: 50%; }
.cam.rec { border-color: var(--red); }
.cam .cd { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; font-weight: 900; color: #fff; }

/* ---------- home ---------- */
.hello { display: flex; justify-content: space-between; align-items: center; margin: 2px 4px 12px; }
.hello small { font-size: 13px; color: var(--grey); font-weight: 600; }
.hello h2 { margin: 0; font-size: 22px; font-weight: 900; }
.hero { display: flex; align-items: center; gap: 16px; padding: 20px 18px; }
.hero .num { flex: 1; }
.hero .num small { font-size: 13px; color: rgba(255, 255, 255, .72); font-weight: 600; }
.hero .num b { display: block; font-size: 44px; font-weight: 900; line-height: 1.15; letter-spacing: -.5px; }
.hero .num span { font-size: 12.5px; color: rgba(255, 255, 255, .62); }
.capc small { font-size: 13px; color: var(--grey); font-weight: 600; }
.cap { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; color: var(--red); }
.cap b { font-size: 38px; font-weight: 900; letter-spacing: -.5px; line-height: 1.2; }
.cap span { font-size: 15px; font-weight: 800; color: var(--ink); }
.capm { display: flex; justify-content: space-between; font-size: 12px; color: var(--grey); font-weight: 600; }
.lockn { display: flex; gap: 10px; align-items: center; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: var(--gold-l); color: #5E4205; font-size: 12.5px; font-weight: 700; line-height: 1.7; cursor: pointer; }
.lockn .ic { width: 20px; height: 20px; color: var(--gold-d); }
.jarc { display: flex; gap: 14px; align-items: center; }
.jarsvg { width: 92px; height: 110px; flex: none; }
.jarc .tx { flex: 1; }
.jarc .tx small { font-size: 12.5px; font-weight: 700; color: var(--grey); }
.jarc .tx b { display: block; font-size: 19px; font-weight: 900; margin: 2px 0; }
.jarc .tx > span { display: block; font-size: 12px; color: var(--grey); line-height: 1.7; margin-bottom: 10px; }
.drawm .dmm { display: flex; align-items: center; gap: 10px; margin: 6px 0 4px; }
.drawm .dmm svg { width: 132px; flex: none; }
.drawm .dmm small { font-size: 12px; color: rgba(255, 255, 255, .65); }
.drawm .dmm b { display: block; font-size: 16px; font-weight: 800; line-height: 1.6; }
.nums3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.nums3 div { background: rgba(255, 255, 255, .08); border-radius: 14px; padding: 10px; }
.nums3 b { display: block; font-size: 16px; font-weight: 900; white-space: nowrap; }
.nums3 small { font-size: 11px; color: rgba(255, 255, 255, .65); }
.feed { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--hair); font-size: 13px; font-weight: 600; color: #3E4047; overflow: hidden; }
.feed .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-l); }
.feed span { animation: feedin .5s ease; }
@keyframes feedin { from { opacity: 0; transform: translateY(8px); } }

/* ---------- earn ---------- */
.paths { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 12px; padding: 0 16px; }
.paths::-webkit-scrollbar { display: none; }
.paths button { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 20px; background: #fff; border: 1px solid var(--hair); font-weight: 700; font-size: 13px; }
.paths button.on { background: var(--gr); color: #fff; border-color: transparent; }
.paths .ic { width: 17px; height: 17px; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pcard { display: flex; flex-direction: column; background: #fff; border-radius: 19px; overflow: hidden; border: 1px solid var(--hair); box-shadow: var(--sh); text-align: right; cursor: pointer; }
.pcard .im { height: 96px; background: #ddd center/cover no-repeat; position: relative; }
.pcard .im .rew { position: absolute; bottom: 8px; right: 8px; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .3); }
.pcard .tx { padding: 10px 12px 12px; }
.pcard b { font-size: 15.5px; font-weight: 900; }
.pcard p { margin: 3px 0 0; font-size: 12px; color: var(--grey); line-height: 1.65; }
.minis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; border-radius: 19px; background: #fff; border: 1px solid var(--hair); box-shadow: var(--sh); text-align: right; cursor: pointer; }
.mini b { font-size: 14.5px; font-weight: 800; }
.mini span { font-size: 12px; color: var(--grey); line-height: 1.6; }

/* ---------- product page ---------- */
.phero { position: relative; height: 230px; margin: -2px -16px 0; background: #ccc center/cover no-repeat; }
.phero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .1) 50%, rgba(250, 248, 246, 1) 99%); }
.phero .back { position: absolute; top: calc(10px + var(--top)); right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 14px; background: rgba(255, 255, 255, .9); display: grid; place-items: center; }
.pbody { position: relative; margin-top: -54px; }
.pbody h1 { font-size: 32px; font-weight: 900; margin: 0; }
.pbody .sl { font-size: 17px; font-weight: 800; color: var(--red); margin: 4px 0 10px; }
.how { list-style: none; padding: 0; margin: 4px 0 0; counter-reset: h; }
.how li { position: relative; padding: 0 40px 14px 0; font-size: 13.5px; line-height: 1.9; color: #45474D; counter-increment: h; }
.how li::before { content: counter(h, persian); position: absolute; right: 0; top: 0; width: 28px; height: 28px; border-radius: 9px; background: var(--tint); color: var(--red); display: grid; place-items: center; font-weight: 900; font-size: 13px; }
.cta-bar { position: sticky; bottom: 0; z-index: 20; padding: 12px 16px 22px; background: linear-gradient(rgba(250, 248, 246, 0), var(--bg) 30%); }

/* ---------- draw ---------- */
.prize { padding: 18px; }
.prize .when { font-size: 12.5px; color: rgba(255, 255, 255, .78); display: inline-flex; align-items: center; gap: 5px; }
.prize .when .ic { width: 15px; height: 15px; }
.pz-art { position: relative; height: 150px; display: grid; place-items: center; margin: 4px 0; }
.pz-art svg { width: 100%; max-width: 320px; height: 150px; }
.prize h2 { font-size: 21px; font-weight: 900; margin: 0; text-align: center; }
.odds { font-size: 14px; font-weight: 700; color: #45474D; margin: 8px 0 12px; line-height: 1.8; }
.stepper { display: flex; align-items: center; justify-content: center; gap: 22px; margin-bottom: 12px; }
.stepper button { width: 46px; height: 46px; border-radius: 15px; background: var(--soft); display: grid; place-items: center; }
.stepper b { font-size: 30px; font-weight: 900; min-width: 50px; text-align: center; }
.tix { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; direction: ltr; justify-content: flex-end; }
.tix span { font-size: 12.5px; font-weight: 800; padding: 5px 10px; border-radius: 10px; border: 1.5px dashed var(--red-l); color: var(--red-d); background: var(--tint); }

/* ---------- spend ---------- */
.rgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rcard { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 19px; background: #fff; border: 1px solid var(--hair); box-shadow: var(--sh); }
.rcard b { font-size: 14.5px; font-weight: 800; line-height: 1.5; }
.rcard span { font-size: 11.5px; color: var(--grey); line-height: 1.6; flex: 1; }
.rcard .row { margin-top: 2px; }
.perk { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 1.5px solid var(--lg); margin-bottom: 8px; cursor: pointer; background: #fff; width: 100%; text-align: right; }
.perk.on { border-color: var(--red); background: var(--tint); }
.perk .tx { flex: 1; } .perk b { display: block; font-weight: 800; font-size: 14.5px; } .perk span { font-size: 12px; color: var(--grey); }

/* ---------- levels ---------- */
.stair { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.st { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 17px; background: #fff; border: 1px solid var(--hair); }
.st .n { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; font-weight: 900; font-size: 16px; }
.st .tx { flex: 1; min-width: 0; }
.st .tx b { display: block; font-size: 16px; font-weight: 900; }
.st .tx span { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--grey); margin-top: 2px; }
.st .tx span .ic { width: 14px; height: 14px; }
.st.past .n { background: var(--gr); color: #fff; }
.st.now { background: var(--gr); color: #fff; border-color: transparent; box-shadow: 0 18px 30px -18px rgba(31, 34, 41, .8); }
.st.now .n { background: var(--red); color: #fff; }
.st.now .tx span { color: rgba(255, 255, 255, .7); }
.st.lock .n { background: var(--gold-l); color: var(--gold-d); }
.you { font-size: 11.5px; font-weight: 800; background: var(--red); color: #fff; padding: 4px 9px; border-radius: 10px; }

/* ---------- lists ---------- */
.led { list-style: none; padding: 0; margin: 0; }
.led li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--hair); font-size: 13.5px; }
.led li small { display: block; font-size: 11px; color: var(--grey); margin-top: 2px; }
.led li b { font-weight: 900; white-space: nowrap; }
.led li b.p { color: var(--green); } .led li b.m { color: var(--red); }
.posts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.post { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--hair); }
.post .im { aspect-ratio: 1; background: #ddd center/cover no-repeat; }
.post .pb { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; }
.post .pb button { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 13px; }
.post .pb button.on { color: var(--red); }
.post .pb button.on .ic { fill: var(--red); }
.post p { font-size: 11.5px; line-height: 1.6; margin: 0; padding: 0 10px 10px; color: #45474D; }
.scan { position: relative; height: 230px; border-radius: 22px; overflow: hidden; background: #111 center/cover no-repeat; margin-bottom: 14px; }
.scan::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.scan .frame { position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; transform: translate(-50%, -50%); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .35); border: 3px solid #fff; }
.scan .line { position: absolute; left: calc(50% - 70px); width: 140px; height: 3px; background: var(--red-l); box-shadow: 0 0 12px var(--red); animation: scanl 1.6s ease-in-out infinite alternate; top: calc(50% - 70px); }
@keyframes scanl { to { top: calc(50% + 68px); } }
.code { font-size: 26px; font-weight: 900; letter-spacing: 3px; direction: ltr; text-align: center; padding: 14px; border-radius: 16px; border: 2px dashed var(--red-l); background: var(--tint); color: var(--red-d); margin: 6px 0 12px; }

/* ---------- sheets, toasts, effects ---------- */
.sheet-bg { position: absolute; inset: 0; z-index: 60; background: rgba(15, 16, 20, .45); animation: fade .2s ease; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 61; max-height: 90%; overflow-y: auto; background: #fff; border-radius: 28px 28px 0 0; padding: 10px 18px 26px; animation: up .35s cubic-bezier(.2, .8, .2, 1); }
.device .sheet { padding-bottom: 34px; }
.sheet .grab { width: 44px; height: 5px; border-radius: 5px; background: var(--lg); margin: 4px auto 14px; }
.sheet h3 { font-size: 20px; font-weight: 900; margin: 4px 0 8px; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(100%); } }
.lvup { text-align: center; padding: 6px 0 4px; }
.lvup .badge { width: 120px; height: 120px; margin: 0 auto 8px; border-radius: 34px; background: var(--gr); display: grid; place-items: center; color: #fff; position: relative; box-shadow: 0 24px 40px -20px rgba(31, 34, 41, .9); }
.lvup .badge b { font-size: 54px; font-weight: 900; }
.lvup .badge .ic { position: absolute; top: 12px; left: 12px; color: var(--gold); width: 26px; height: 26px; }
.lvup h2 { font-size: 24px; font-weight: 900; margin: 14px 0 4px; }
.lvup p { font-size: 14.5px; line-height: 1.95; color: #45474D; margin: 0 0 16px; }
.toast { position: absolute; top: calc(70px + var(--top)); left: 50%; z-index: 70; transform: translateX(-50%); background: var(--gr); color: #fff; padding: 10px 16px; border-radius: 14px; font-size: 13.5px; font-weight: 700; white-space: nowrap; box-shadow: var(--sh); animation: tin .3s ease; }
@keyframes tin { from { opacity: 0; transform: translate(-50%, -8px); } }
.fx { position: fixed; inset: 0; pointer-events: none; z-index: 200; overflow: hidden; }
.fx .fc { position: fixed; left: 0; top: 0; width: 24px; height: 24px; will-change: transform; }
.fx .plus { position: fixed; left: 0; top: 0; font-weight: 900; font-size: 18px; color: var(--gold-d); background: #fff; padding: 4px 10px; border-radius: 12px; box-shadow: var(--sh); white-space: nowrap; }
.fx .cf { position: fixed; top: -12px; width: 9px; height: 14px; border-radius: 2px; }

/* ---------- presenter side panel ---------- */
.side { width: 430px; max-width: 40vw; }
.side .bl { height: 30px; width: auto; margin-bottom: 26px; }
.side h1 { font-size: 40px; font-weight: 900; margin: 0; letter-spacing: -.5px; display: flex; align-items: center; gap: 12px; }
.side h1 .coin { width: 46px; height: 46px; }
.side .lead { font-size: 15.5px; line-height: 1.95; color: #4A4C52; margin: 10px 0 22px; }
.sc { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sc button { width: 100%; display: flex; gap: 12px; align-items: flex-start; text-align: right; padding: 10px 12px; border-radius: 16px; transition: background .2s; }
.sc button:hover { background: rgba(255, 255, 255, .55); }
.sc li.on button { background: #fff; box-shadow: var(--sh); }
.sc .n { flex: none; width: 30px; height: 30px; border-radius: 10px; background: #DCD5CE; display: grid; place-items: center; font-weight: 900; font-size: 13.5px; }
.sc li.on .n { background: var(--red); color: #fff; }
.sc .t { display: block; font-weight: 800; font-size: 15px; line-height: 30px; }
.sc .d { display: none; font-size: 13.5px; line-height: 1.95; color: #4A4C52; margin-top: 2px; }
.sc li.on .d { display: block; }
.tools { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(31, 34, 41, .12); }
.tools small { display: block; font-size: 12px; color: var(--grey); font-weight: 700; margin-bottom: 10px; }
.tools .tb { display: flex; flex-wrap: wrap; gap: 8px; }
.tools button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 12px; background: #fff; border: 1px solid var(--hair); font-weight: 700; font-size: 13px; }
.tools button .ic { width: 16px; height: 16px; color: var(--red); }

/* screenshot mode: no motion */
html.shot *, html.shot *::before, html.shot *::after { animation: none !important; transition: none !important; }
