@font-face{font-family:IRANSansXUL;src:url('/assets/fonts/IRANSansX-UltraLight.woff2') format('woff2');font-display:swap;}
@font-face{font-family:IRANSansXH;src:url('/assets/fonts/IRANSansX-Heavy.woff2') format('woff2');font-display:swap;}
@font-face{font-family:IRANSansXT;src:url('/assets/fonts/IRANSansX-Thin.woff2') format('woff2');font-display:swap;}




:root{--ink:#f8f8f8;--ink-dark:#111;--line:#3b2023;--line-soft:#5b2f34;--blue:#9bd4ff;--bg:#0d0d10;--card:#16161b;--card-2:#1d1d23;--accent:#d61f2c;--accent-2:#ff4747;--soft-red:#241217;--shadow:0 16px 36px rgba(0,0,0,.35);--heavy:'IRANSansXH',Tahoma,sans-serif;--ul:'IRANSansXUL',Tahoma,sans-serif;--thin:'IRANSansXT',Tahoma,sans-serif;}
*{box-sizing:border-box} body{margin:0;background:radial-gradient(circle at top,#2a0d12 0,#0a0a0d 55%,#050507 100%);font-family:var(--ul);color:var(--ink)} button,input{font:inherit;color:var(--ink)}
.app{max-width:460px;margin:0 auto;min-height:100vh;background:linear-gradient(180deg,#111117 0%,#0c0c10 100%);overflow:hidden;position:relative;box-shadow:0 0 0 1px rgba(255,255,255,.03)}
.topbar{display:flex;justify-content:space-between;align-items:center;padding:14px 16px 10px;gap:14px}.brand-stack{display:flex;align-items:center;gap:10px}.topbar .logo{height:52px;width:auto;max-width:min(32vw,160px);object-fit:contain;display:block}.site-pill{background:#fff;border:1px solid #e4e4e4;border-radius:999px;padding:10px 18px;font:13px var(--heavy);box-shadow:var(--shadow);color:#111;display:flex;align-items:center;gap:8px}.site-pill .globe{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#f5f5f5;border:1px solid #e4e4e4;font-size:14px}.tag{background:#111;border:1px solid #3c1014;border-radius:999px;padding:8px 14px;font:13px var(--heavy);box-shadow:var(--shadow);color:#fff}.screen{display:none;padding:0 16px 22px}.screen.active{display:block}.card{background:#fffdfb;border:1px solid #eadcdc;border-radius:26px;box-shadow:var(--shadow);padding:16px;margin-top:14px}.hero{position:relative;overflow:hidden;background:#fffdfb}.hero:before{content:'';position:absolute;right:-45px;bottom:-55px;width:155px;height:155px;background:rgba(214,31,44,.12);border-radius:42px;transform:rotate(12deg)}.hero:after{content:'';position:absolute;left:-45px;top:-45px;width:160px;height:160px;background:rgba(0,0,0,.035);border-radius:52px}.hero-body{position:relative;z-index:2;text-align:center;padding:6px 2px}.wordmark{height:34px;width:auto}.full-logo{height:56px;width:auto}.title{font:39px var(--heavy);line-height:1.35;margin:14px 0 4px;color:#111}.subtitle{font:18px var(--heavy);line-height:1.8;margin:0 0 10px;color:#c91c2b}.sub{font-size:13px;line-height:1.95;margin:0;color:#111}
.entry-visual{height:110px;position:relative;margin-top:6px}.entry-visual .sun{position:absolute;right:20px;top:12px;width:48px;height:48px;border-radius:50%;background:#e9cb7b}.entry-visual .cloud{position:absolute;left:30px;top:18px;width:88px;height:28px;border-radius:50px;background:#dbe6f0}.entry-visual .milad{position:absolute;left:104px;bottom:16px;width:12px;height:62px;background:#11488b;border-radius:8px}.entry-visual .milad:before{content:'';position:absolute;left:-7px;top:18px;width:26px;height:9px;border-radius:50px;background:#11488b}.entry-visual .azadi{position:absolute;right:95px;bottom:16px;width:56px;height:40px;border:6px solid #4d95d2;border-bottom:10px solid #4d95d2;border-radius:16px 16px 22px 22px}
.section-title{font:19px var(--heavy);margin:0 0 12px;color:#111}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.label{display:block;font:13px var(--heavy);margin-bottom:8px;color:#111}.field{width:100%;padding:13px 14px;border-radius:18px;border:1px solid #d9cfd0;background:#fff;outline:none;color:#111}.field::placeholder{color:#8b8b8f}.field:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(214,31,44,.18)}.opts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.opt{border:1.5px solid #e2d7d8;background:#fff;border-radius:18px;padding:12px 10px;display:flex;gap:8px;align-items:center;justify-content:center;font:14px var(--heavy);color:#111}.opt.active{background:linear-gradient(180deg,#ffecec,#fff6f6);border-color:#b81d2b;color:#111}.primary,.secondary{width:100%;border-radius:20px;padding:15px;border:0;font:15px var(--heavy)}.primary{background:linear-gradient(90deg,#8f0f19,#e32031 52%,#111 100%);box-shadow:var(--shadow);color:#fff}.secondary{background:#fff;border:1px solid #dccfd0;color:#111}.small{font-size:12px;line-height:1.95;color:#111}.note{font:12px var(--thin);line-height:2;margin-top:10px;color:#3d3d44}
.profile-card{display:flex;gap:12px;align-items:center;background:linear-gradient(120deg,#fff,#fff8f8,#fff)}.avatar{width:90px;height:90px;border-radius:26px;background:#fff;box-shadow:var(--shadow);display:grid;place-items:center;font-size:48px;position:relative;border:1px solid #eadcdc;overflow:hidden}.avatar .acc{position:absolute;left:6px;bottom:6px;font-size:24px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.stat{background:#fff;border:1px solid #eadcdc;border-radius:18px;padding:10px 6px;text-align:center;font-size:11px;color:#111}.stat strong{display:block;font:17px var(--heavy);margin-top:6px;color:#111}
.map-box{background:#fffdfb;padding:12px;border-radius:30px;border:1px solid #eadcdc;box-shadow:var(--shadow)}.map-title{text-align:right;font:18px var(--heavy);color:#111;margin-bottom:10px}.city-map{position:relative;height:1040px;background:#dceaf4;border:1px solid #c9deef;border-radius:30px;overflow:hidden}.sun2{position:absolute;right:38px;top:58px;width:88px;height:88px;border-radius:50%;background:#e2c987}.cloud1,.cloud2{position:absolute;background:#e7edf3;border-radius:999px}.cloud1{left:40px;top:26px;width:98px;height:30px}.cloud2{right:200px;top:10px;width:82px;height:22px}.road1,.road2,.road3{position:absolute;background:#f3e8d3;border-radius:120px;transform-origin:center}.road1{right:120px;top:92px;width:220px;height:62px;transform:rotate(-34deg)}.road2{left:112px;top:465px;width:234px;height:58px;transform:rotate(14deg)}.road3{right:124px;bottom:164px;width:212px;height:58px;transform:rotate(-21deg)}
.dots{position:absolute;border-top:6px dotted #efac7d;width:280px;height:0}.dots.d1{right:86px;top:246px;transform:rotate(-34deg)}.dots.d2{left:120px;top:554px;transform:rotate(13deg);width:230px}.dots.d3{right:84px;bottom:116px;transform:rotate(-20deg);width:238px}
.tree{position:absolute;width:44px;height:44px;border-radius:50%;background:#52ac83}.tree:after{content:'';position:absolute;left:18px;bottom:-18px;width:8px;height:18px;background:#8096b6}.tree.sm{transform:scale(.8)} .lamp{position:absolute;width:10px;height:48px;background:#0b3d79}.lamp:before{content:'';position:absolute;top:-14px;left:-6px;width:22px;height:22px;border-radius:50%;background:#bdcfdf}.star{position:absolute;color:#dfc36c;font-size:18px}
.house{position:absolute;width:188px;height:164px}.house .shadow{position:absolute;bottom:6px;left:14px;width:160px;height:34px;background:#c8ead2;border-radius:50%}.house .body{position:absolute;bottom:32px;left:22px;width:116px;height:92px;background:#e9aa84}.house .roof{position:absolute;top:14px;left:12px;width:0;height:0;border-left:70px solid transparent;border-right:70px solid transparent;border-bottom:48px solid #083f82}.house .win{position:absolute;bottom:86px;width:20px;height:24px;border-radius:4px;background:#f4ca50}.house .w1{left:42px}.house .w2{left:70px}.house .w3{left:98px}.house .w4{left:126px}.house.blue .body{background:#89bee8}.house.gray{opacity:.38}.house.gray .body{background:#b7c6d9}.house.gray .roof{border-bottom-color:#b8cbde}
.stage-pill{position:absolute;bottom:0;right:12px;background:#fff;border-radius:999px;padding:8px 14px;font:13px var(--heavy);box-shadow:var(--shadow)}.stage-pill.current{background:#f0c7b1;color:#032d63}.stage-pill.done{background:#0e9a5e;color:#fff}.stage-pill.locked{background:#f5f5f7;color:#324760}.actions{display:grid;gap:10px;margin-top:14px}
.t-item{display:flex;gap:10px;align-items:flex-start;background:#fff;border:1px solid #eadcdc;border-radius:18px;padding:12px}.t-item .ic{width:40px;height:40px;border-radius:14px;background:#fff4f4;display:grid;place-items:center;font-size:20px;flex-shrink:0}
.game-shell{position:relative;border-radius:28px;overflow:hidden;border:4px solid #4a2328;background:#a4d7fb;box-shadow:var(--shadow)}#gameCanvas{display:block;width:100%;height:auto;touch-action:none;background:#9bd4ff}.hud{position:absolute;top:10px;right:10px;left:10px;display:flex;justify-content:space-between;gap:6px;pointer-events:none;flex-wrap:wrap}.pill{background:rgba(255,255,255,.94);border:1px solid rgba(184,29,43,.45);border-radius:999px;padding:8px 10px;font:11px var(--heavy);white-space:nowrap;box-shadow:var(--shadow);color:#111}.controls{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px;direction:ltr}.ctrl{min-height:54px;border-radius:20px;border:1px solid #dfd0d1;background:#fff;font:24px var(--heavy);color:#111}.progress{height:10px;border:1px solid #e2d3d4;background:#fff;border-radius:999px;overflow:hidden;margin-top:12px}.progress>div{height:100%;width:0%;background:linear-gradient(90deg,#661019,#e32031,#ffc9c9);transition:width .12s}.attempts{display:flex;gap:6px;justify-content:center;margin-top:10px}.dot{width:12px;height:12px;border-radius:50%;background:#42333a}.dot.used{background:var(--accent-2)}
.center{text-align:center}.discount{font:34px var(--heavy);margin:8px 0 0;color:#111}.codebox{direction:ltr;border:1px dashed #d05a66;background:#fff;border-radius:18px;padding:14px;text-align:center;font:20px var(--heavy);margin-top:12px;color:#111}.hidden{display:none!important}.footer-space{height:8px}

/* Black Friday light content system, dark chrome and crisp black typography */
:root{--ink:#09090b;--line:#e5d3d4;--line-soft:#efdbdd;--card:#fff;--card-2:#fff;--shadow:0 12px 33px rgba(33,13,20,.12)}
body{background:linear-gradient(90deg,#161519,#3b1119 49%,#161519);color:#080808}
.app{max-width:760px;background:linear-gradient(180deg,#fffaf7,#fffdfc 43%,#f9f3f2);box-shadow:0 0 60px #0007}
.topbar{padding:18px 26px;background:#141417;border-bottom:4px solid #b11e2b}
.topbar .logo{height:38px;filter:brightness(0) invert(1)}
.tag{background:#fff;color:#050505;border:1px solid #fff}
.screen{padding:0 22px 28px}
.card{background:#fff;border:1px solid #eadbdc;color:#09090b;box-shadow:var(--shadow);border-radius:28px;padding:20px;margin-top:16px}
.hero{background:linear-gradient(135deg,#fff,#fff4f2 80%)}
.hero:before{background:#f3d2d2}.hero:after{background:#f2e9e8}
.title,.section-title,.label,.small,.sub,.note,.stat,.stat strong{color:#050505}
.title{font-size:32px}.sub{color:#111}.section-title{font-size:18px}
.full-logo{height:48px;max-width:100%;object-fit:contain}.wordmark{height:31px}
.entry-visual .sun{background:#f1bbc1}.entry-visual .milad,.entry-visual .milad:before{background:#18181c}.entry-visual .azadi{border-color:#b92232}
.profile-card{background:linear-gradient(120deg,#fff,#fff6f5)}
.avatar{background:#faf7f7;border:1px solid #ead3d4}
.field{background:#fff;color:#080808;border:1px solid #d9c7c9}
.field::placeholder{color:#666}.field:focus{border-color:#bf1f2e;box-shadow:0 0 0 3px #ca314024}
.opt{background:#fff;color:#09090b;border:1px solid #e2ced0}
.opt.active{background:#ffedf0;border:2px solid #b91c30;color:#050505}
.primary{background:#be2030;color:#fff;box-shadow:0 8px 20px #aa1f302f}
.secondary{background:#fff;border:1px solid #b3a4a5;color:#09090b}
.stats{margin-top:3px}.stat{background:#fff8f8;border:1px solid #efd6d9;color:#09090b}
.map-box{background:#fff9f6;padding:14px;border:1px solid #e9d7d7}
.map-title{color:#111;font-size:19px;margin:5px 4px 15px}
.city-map{height:auto;aspect-ratio:720/1130;position:relative;overflow:hidden;background:#eceded;border:2px solid #f1dede;border-radius:32px}
.map-scene{width:100%;height:100%;display:block}
.map-pin{position:absolute;background:#fff;color:#111;padding:9px 14px;border-radius:50px;font:clamp(9px,1.8vw,14px) var(--heavy);white-space:nowrap;box-shadow:0 7px 22px #1d121333;left:50%;transform:translateX(-50%);border:1px solid #e8c6c9;z-index:2}
.pin-1{top:39%;left:73%}.pin-2{top:66%;left:36%}.pin-3{top:93%;left:70%}
.map-pin.done{background:#e3dcdc;color:#0a0a0a;border-color:#c5b9ba}
.map-pin.current{background:#f4b2b8;color:#090909;border-color:#c21e2f}
.map-pin.locked{background:#fff;color:#444;border-color:#ddd}
.t-item{background:#fff8f8;border:1px solid #ead9da;color:#111}.t-item .ic{background:#ffe8e8}
.game-shell{border:4px solid #1c1c21}.pill{color:#fff;background:#1b1b1de8;border:1px solid #aa3546}
.ctrl{background:#fff;border:1px solid #e7cace;color:#080808}
.progress{background:#f7eded;border-color:#ecd1d4}
.progress>div{background:linear-gradient(90deg,#52131a,#cb1f33)}
.codebox{background:#fff7f7;border:1px dashed #be3646;color:#09090b}
.discount{color:#09090b}
.dot{background:#ded2d3}.dot.used{background:#d21f33}
#attemptSummary>div{background:#fff8f8!important;border-color:#ead9da!important;color:#080808}
#resultRetry{background:#bd1f2f;color:#fff}
@media(min-width:640px){.screen{padding:0 30px 34px}.city-map{max-width:620px;margin:0 auto}.map-box{padding:22px}.topbar{padding-inline:34px}}
<style>
.header-brand-link{display:flex;align-items:center;min-width:0;flex:1;min-height:58px;text-decoration:none}
.header-brand-link img{object-fit:contain;object-position:center right}
.site-pill{text-decoration:none;white-space:nowrap;flex-shrink:0}
@media(max-width:380px){.topbar .logo{height:44px}.header-brand-link{min-height:50px}.site-pill{padding:8px 12px}}

/* Branding: trim empty transparent canvas only, never the visible artwork. */
.topbar{min-height:112px;background:#151518;padding:12px 18px;gap:12px}
.topbar .logo{height:auto!important;width:clamp(156px,37vw,218px)!important;max-width:100%!important;display:block;object-fit:contain}
.header-brand-link{min-height:84px!important;max-width:55%;align-items:center!important;justify-content:flex-start}
.site-pill{padding:11px 15px;gap:6px;font-size:13px}
#screen-intro .hero-body>.full-logo{width:min(80%,325px);height:auto;max-height:none;object-fit:contain;display:block;margin:0 auto 18px}
#screen-intro .hero{background:radial-gradient(circle at 72% 15%,#fff,#fff6f5 55%,#ffefef 100%);border:1px solid #eed0d3}
#screen-intro .hero:before{background:rgba(202,28,47,.07);width:200px;height:200px;right:-108px;bottom:-80px;transform:rotate(25deg)}
#screen-intro .hero:after{background:rgba(202,28,47,.05);width:160px;height:160px;left:-90px;top:-90px}
#screen-intro .title{margin:4px 0 5px}
#screen-intro .subtitle{margin-bottom:9px}
#screen-intro .entry-visual.pet-playground{height:132px;width:100%;margin-top:12px;border-radius:20px;background:linear-gradient(120deg,#fff8f6 0%,#f9dde0 52%,#fff8f6 100%);border:1px solid #f3d3d7;overflow:hidden;position:relative}
.pet-blob{position:absolute;border-radius:40%;display:block;opacity:.45}
.blob-one{width:180px;height:120px;background:#ffd3d9;right:-50px;top:-38px;transform:rotate(-22deg)}
.blob-two{width:150px;height:120px;background:#fee3e5;left:-45px;bottom:-45px;transform:rotate(20deg)}
.paw{position:absolute;display:block;filter:drop-shadow(0 6px 8px rgba(130,20,32,.07))}
.paw-big{width:110px;height:110px;left:calc(50% - 55px);top:9px;color:#b91c2b;transform:rotate(-12deg)}
.paw-mini{width:43px;height:43px;color:#e88a97}
.paw-left{left:15%;top:58px;transform:rotate(28deg)}
.paw-right{right:17%;top:21px;transform:rotate(-27deg)}
.pet-heart{position:absolute;top:13px;left:24%;color:#d72d46;font-size:21px}
.pet-sparkle{position:absolute;right:27%;bottom:15px;color:#ed8997;font-size:26px}
@media(max-width:390px){.topbar .logo{width:150px!important}.site-pill{padding:9px 10px}.topbar{min-height:94px}}

/* User-requested profile layout: keep the existing black/red/white theme untouched. */
.profile-dashboard{padding:18px;background:linear-gradient(140deg,#fffdfb,#fff6f6);border:1px solid #eadcdc;border-radius:28px;overflow:hidden}
.profile-dashboard-head{display:flex;align-items:center;gap:16px;min-height:104px}
.profile-dashboard .avatar{flex:0 0 100px;width:100px;height:100px;border:1px solid #f1d6d7;background:#fff1f1;border-radius:27px;box-shadow:none}
.profile-dashboard .avatar img{width:88px!important;height:88px!important;object-fit:contain}
.profile-dashboard-intro{min-width:0;flex:1}
.profile-dashboard .welcome-caption{font:12px var(--ul);color:#34343a;line-height:1.9}
.profile-pet-title{font:23px var(--heavy);color:#111;line-height:1.5;overflow-wrap:anywhere}
.profile-pet-tags{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:6px}
.pet-tag{display:inline-flex;align-items:center;border-radius:99px;padding:6px 11px;background:#202027;color:#fff;font:11px var(--heavy)}
.pet-tag.pet-health{background:#fff0ec;color:#111;border:1px solid #eac7c3}
.profile-stats-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.profile-stat-box{background:#fff;border:1px solid #efdadd;border-radius:22px;min-height:84px;padding:15px 12px;display:flex;flex-direction:column;justify-content:center;gap:5px}
.profile-stat-box span{color:#36363b;font:12px var(--ul)}
.profile-stat-box strong{font:17px var(--heavy);line-height:1.5;color:#111}
.mission-next{display:flex;align-items:center;justify-content:center;gap:9px;min-height:66px;padding:12px 16px;border-radius:24px;background:linear-gradient(110deg,#e64451,#bb1928);color:#fff;font:14px var(--heavy);text-align:center;margin-top:14px}
.mission-paw{font-size:24px;line-height:1}
.profile-progress{height:7px;border-radius:99px;background:#f3d6d9;overflow:hidden;margin-top:13px}
.profile-progress-fill{height:100%;width:0%;background:#be1e2d;border-radius:99px;transition:width .2s ease}
.profile-stage-caption{margin-top:8px;font:11px var(--ul);color:#35353b;text-align:left}
.profile-stage-caption strong{font-family:var(--heavy)}
@media(max-width:375px){.profile-dashboard-head{gap:10px}.profile-dashboard .avatar{width:80px;height:80px;flex-basis:80px}.profile-pet-title{font-size:20px}.profile-stat-box strong{font-size:15px}}
.coupon-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.coupon-copy{font:12px var(--heavy);border:1px solid #bd2036;border-radius:12px;background:#fff1f2;color:#111;padding:9px 12px;cursor:pointer;direction:rtl}.coupon-row span{overflow-wrap:anywhere}

.mission-next{width:100%;border:0;cursor:pointer;box-sizing:border-box;position:relative;padding-inline:36px;color:#fff;touch-action:manipulation;box-shadow:0 4px 0 #941123;transition:transform .12s,box-shadow .12s}.mission-next:active{transform:translateY(3px);box-shadow:0 1px 0 #941123}.mission-next:focus-visible{outline:3px solid #222;outline-offset:3px}.mission-arrow{position:absolute;left:15px;font:32px Arial,sans-serif}.pickup-notice{position:absolute;top:27%;left:50%;transform:translate(-50%,8px);opacity:0;transition:opacity .12s,transform .18s;pointer-events:none;z-index:4;background:#b9112d;border:2px solid #ffdc63;color:#fff;font:15px var(--heavy);padding:9px 14px;border-radius:16px;white-space:nowrap;box-shadow:0 4px 16px #5c142d55}.pickup-notice.visible{opacity:1;transform:translate(-50%,0)}#hudGifts.gift-highlight{background:#ffe56a;border-color:#a90e2a;color:#811024;box-shadow:0 0 0 3px #ffe56a66}

#leaderboardCard{background:linear-gradient(145deg,#102c53,#245b86);color:#fff;border:1px solid #315f89;border-radius:24px;padding:18px;box-shadow:0 12px 30px #122a4920;margin:14px 0;text-align:right}
#leaderboardCard .lb-title{font-family:var(--heavy);font-size:20px;color:#fff;margin:0 0 6px}#leaderboardCard .lb-sub{color:#e1edfa;font-size:12px;line-height:1.8;margin:0 0 12px}#leaderboardCard .lb-summary{display:flex;gap:10px;align-items:center;justify-content:space-between;background:#fff1cf;color:#15365c;border-radius:16px;padding:12px;margin-bottom:12px}#leaderboardCard .lb-rank{font-family:var(--heavy);font-size:24px}#leaderboardCard .lb-score{font-size:13px}#leaderboardCard .lb-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border-bottom:1px solid #ffffff25;color:white;font-size:13px}#leaderboardCard .lb-row.own{background:#ffffff21;border-radius:12px;border-bottom-color:transparent}#leaderboardCard .lb-place{min-width:36px;color:#ffd27a;font-family:var(--heavy)}#leaderboardCard .lb-name{flex:1;overflow-wrap:anywhere}#leaderboardCard .lb-value{white-space:nowrap;font-family:var(--heavy)}#leaderboardCard button{background:#ffffff1c;color:#fff;border:1px solid #ffffff60;border-radius:12px;font:inherit;font-size:12px;padding:9px 13px;cursor:pointer;margin-top:10px}#leaderboardCard button:disabled{opacity:.55;cursor:wait}#leaderboardCard #lbRefresh[hidden],#leaderboardCard #lbStatus:empty{display:none!important}#leaderboardCard #lbStatus{color:#e1edfa;font-size:12px;line-height:1.8;margin-top:8px}

#syncStatus:empty{display:none;}
