:root{--font-fa: "Vazirmatn", "Lalezar", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-display: "Lalezar", "Vazirmatn", system-ui, sans-serif}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}html,body,#app{width:100%;height:100%;overflow:hidden;background-color:var(--ph-bg, #1F2125);font-family:var(--font-fa);direction:rtl;color:var(--ph-text, #F7F1DF)}#game-canvas{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none;z-index:1}#ui-root{position:fixed;inset:0;z-index:10;pointer-events:none}.ui-screen{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;padding:max(12px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));transition:opacity .22s ease}.ui-screen.ph-screen{position:fixed;pointer-events:auto;overflow-x:hidden}.ph-screen::-webkit-scrollbar,.rewards-tab-content::-webkit-scrollbar{width:6px;height:6px}.ph-screen::-webkit-scrollbar-track,.rewards-tab-content::-webkit-scrollbar-track{background:#131618b3;border-radius:6px}.ph-screen::-webkit-scrollbar-thumb,.rewards-tab-content::-webkit-scrollbar-thumb{background:var(--ph-gold-mid, #D7B56A);border-radius:6px}.ph-screen,.rewards-tab-content{scrollbar-width:thin;scrollbar-color:#D7B56A #131618}.ui-hidden{opacity:0!important;pointer-events:none!important;visibility:hidden!important}button,a{font-family:var(--font-fa);cursor:pointer;border:none;background:transparent;color:inherit;pointer-events:auto;text-decoration:none}button:active:not(:disabled){transform:scale(.95)}.ph-inline-icon{width:1.25em;height:1.25em;object-fit:contain;vertical-align:-.22em;display:inline-block;pointer-events:none;flex-shrink:0}.ph-btn{gap:8px;font-size:clamp(.96rem,1.8vw,1.24rem);white-space:nowrap}.ph-btn:hover:not(:disabled){filter:brightness(1.08)}.ph-btn-icon{width:22px;height:22px;object-fit:contain;pointer-events:none}.ph-btn-mini{min-width:108px!important;height:36px!important;padding:0 16px!important;font-size:.78rem!important}.ph-btn-row{min-width:132px!important;height:44px!important;padding:0 22px!important;font-size:.88rem!important}.ph-native-btn:hover,.ph-icon-btn:hover{transform:translateY(-2px) scale(1.04);filter:brightness(1.08)}.ph-notif-dot{position:absolute;top:-7px;right:-7px;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;pointer-events:none}.ph-notif-dot img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.ph-notif-dot__num{position:relative;z-index:2;font-size:.72rem;line-height:1}.ph-resource-pill{min-width:112px;height:40px;padding:0 16px;background:transparent url(/assets/ui-kit/03-hud/hud-coin-pill.svg) center / 100% 100% no-repeat;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:.92rem;color:var(--ph-text);white-space:nowrap}.ph-resource-pill--gem{color:var(--ph-turquoise);min-width:84px}.ph-resource-pill--wide{min-width:146px;font-size:.84rem}.ph-progress-frame{position:relative;width:100%;height:30px;background:transparent url(/assets/ui-kit/06-rewards/progress-bar-frame.svg) center / 100% 100% no-repeat;display:flex;align-items:center;justify-content:center}.ph-progress-track-inner{position:absolute;inset:7px 9px;border-radius:6px;overflow:hidden;display:flex;justify-content:flex-start}.ph-logo-plaque{width:clamp(260px,38vw,460px);aspect-ratio:640 / 280;background:transparent url(/assets/ui-kit/01-backgrounds/logo-pahlevanan-blank-plaque.svg) center / 100% 100% no-repeat;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 10px 22px rgba(0,0,0,.5));flex-shrink:0}.ph-logo-plaque--loading{width:min(390px,84vw)}.ph-logo-title{font-family:var(--font-display);font-size:clamp(2.35rem,5.4vw,4.1rem);letter-spacing:.02em;color:var(--ph-gold-glow);line-height:1;transform:translateY(-2%)}.ph-modal-wide{width:min(980px,100%);background:transparent url(/assets/ui-kit/05-panels/panel-modal-wide.svg) center / 100% 100% no-repeat;padding:clamp(16px,2.2vw,24px) clamp(18px,2.6vw,28px)}.ph-card-horizontal{width:100%;min-height:76px;background:transparent url(/assets/ui-kit/05-panels/panel-card-horizontal.svg) center / 100% 100% no-repeat;padding:12px 20px}.ph-subbox-dark{width:100%;min-height:50px;background:transparent url(/assets/ui-kit/05-panels/panel-subbox-dark.svg) center / 100% 100% no-repeat;padding:8px 18px}.loading-screen{align-items:center;justify-content:center;gap:24px;z-index:60}.loading-bar-wrap{width:min(400px,84vw);display:flex;flex-direction:column;gap:10px;align-items:center}.loading-progress-frame{height:30px}.loading-bar-fill{width:0%;height:100%;border-radius:6px;background:linear-gradient(90deg,#1eadad,#1fefe6 58%,#ffe95c);transition:width .2s ease-out}.loading-status-text{font-size:.96rem;color:var(--ph-gold-top)}.main-menu-screen{pointer-events:auto;background:var(--ph-bg) url(/assets/ui-kit/01-backgrounds/bg-sunset-horizon.webp) center 48% / cover no-repeat;overflow:hidden;z-index:30}.start-top-bar{position:relative;z-index:3;display:flex;justify-content:space-between;align-items:flex-start;direction:ltr;width:100%;gap:10px;flex-wrap:wrap}.start-top-left-utils{display:flex;gap:10px;align-items:center}.start-top-right-status{direction:rtl;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;align-items:center}.start-main-stage{position:relative;z-index:2;flex:1;display:flex;align-items:center;justify-content:center;width:min(1180px,100%);align-self:center;direction:ltr;gap:clamp(14px,4vw,48px)}.start-center-column{direction:rtl;flex:1.1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.start-cta-group{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%}.start-cta-primary{width:clamp(240px,31vw,340px);height:clamp(54px,7.6dvh,72px);font-size:clamp(1.22rem,2.2vw,1.58rem)}.start-cta-secondary{width:clamp(228px,28vw,312px);height:clamp(48px,6.6dvh,62px);padding:0 46px;font-size:clamp(.96rem,1.7vw,1.2rem)}.start-cta-small{width:clamp(180px,22vw,244px);height:clamp(44px,6dvh,56px);font-size:clamp(.95rem,1.6vw,1.14rem)}.start-pourya-figure{flex:.9;display:flex;justify-content:center;align-items:flex-end;max-height:82dvh;pointer-events:none}.start-pourya-figure img{max-height:min(76dvh,620px);width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 12px 24px rgba(0,0,0,.45))}.select-hero-screen{align-items:center;justify-content:space-between;gap:12px;z-index:35}.select-top-row{width:min(1080px,100%);display:flex;align-items:center;justify-content:space-between;direction:ltr;gap:12px;flex-shrink:0}.select-cards-grid{direction:ltr;width:min(1040px,100%);padding-top:18px}.ph-hero-card{direction:rtl;transition:transform .16s ease,filter .16s ease}.ph-hero-card:hover:not(.ph-hero-card--soon){transform:translateY(-4px)}.ph-hero-card--active{transform:translateY(-5px) scale(1.02)}.ph-hero-crown{position:absolute;top:-18px;left:50%;transform:translate(-50%);width:clamp(44px,6.2vw,66px);height:auto;z-index:6;pointer-events:none;filter:drop-shadow(0 4px 8px rgba(0,0,0,.65))}.ph-hero-portrait-slot{position:absolute;top:12.5%;left:12.5%;right:12.5%;height:59.5%;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;border-radius:42% 42% 10px 10px/24% 24% 10px 10px}.ph-hero-portrait-img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}.ph-hero-lock-overlay{position:absolute;inset:0;background:#1316188f;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.ph-hero-lock-icon{width:clamp(32px,4.8vw,46px);height:clamp(32px,4.8vw,46px);object-fit:contain}.ph-hero-price-pill{padding:3px 12px;background:transparent url(/assets/ui-kit/03-hud/hud-coin-pill.svg) center / 100% 100% no-repeat;display:inline-flex;align-items:center;gap:5px;font-size:.84rem;color:var(--ph-gold-glow)}.ph-hero-soon-ribbon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-8deg);width:92%;aspect-ratio:220 / 58;background:transparent url(/assets/ui-kit/04-heroes/badge-coming-soon-ribbon.svg) center / 100% 100% no-repeat;display:flex;align-items:center;justify-content:center;font-size:clamp(.88rem,1.6vw,1.14rem);color:var(--ph-text);z-index:4}.ph-hero-nameplate{position:absolute;left:11%;right:11%;bottom:8.5%;height:14%;display:flex;align-items:center;justify-content:center;text-align:center;font-size:clamp(.88rem,1.65vw,1.2rem);color:var(--ph-text)}.select-details-panel{width:min(940px,100%);background:transparent url(/assets/ui-kit/05-panels/panel-card-horizontal.svg) center / 100% 100% no-repeat;padding:20px 30px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;pointer-events:auto}.select-stats-col{flex:1 1 300px;display:flex;flex-direction:column;gap:8px}.select-perk-line{font-size:.9rem;color:var(--ph-gold-top)}.mini-bars-row{display:flex;gap:14px;flex-wrap:wrap}.ph-stat-group{flex:1 1 85px;display:flex;flex-direction:column;gap:4px}.ph-stat-label{font-size:.76rem;font-weight:800;color:var(--ph-cream)}.ph-stat-track{position:relative;width:100%;height:16px;background:transparent url(/assets/ui-kit/04-heroes/stat-bar-track.svg) center / 100% 100% no-repeat;padding:4px 5px}.ph-stat-fill{height:100%;border-radius:4px;background:linear-gradient(90deg,#1eadad,#1fefe6 58%,#ffe95c);transition:width .24s ease}.skin-selector-col{flex:1 1 280px;display:flex;flex-direction:column;gap:6px}.skin-chips-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.ph-skin-chip{display:inline-flex;align-items:center;gap:7px;padding:4px 8px;transition:transform .14s ease,filter .14s ease;opacity:.8}.ph-skin-chip.is-active{opacity:1;transform:scale(1.06);filter:drop-shadow(0 0 10px rgba(244,204,99,.75))}.ph-skin-chip__diamond{position:relative;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center}.ph-skin-chip__diamond img{width:100%;height:100%;object-fit:contain}.ph-skin-chip__lock{position:absolute;width:18px!important;height:18px!important;bottom:-2px;right:-2px}.ph-skin-chip__label{font-size:.82rem;color:var(--ph-text)}.skin-hint-text{font-size:.75rem;color:var(--ph-cream);opacity:.9}.select-confirm-cta{width:clamp(210px,28vw,310px);height:clamp(50px,6.8dvh,66px);font-size:clamp(1.1rem,2vw,1.4rem);flex-shrink:0}.hud-top-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:start;gap:10px;width:100%}.hud-score-cluster{justify-self:start;display:flex;flex-direction:column;gap:6px}.hud-score-plaque{position:relative;width:clamp(182px,27vw,256px);aspect-ratio:320 / 84;background:transparent url(/assets/ui-kit/03-hud/hud-score-plaque.svg) center / 100% 100% no-repeat;display:flex;align-items:center;padding:0 22% 0 16%;filter:drop-shadow(0 5px 10px rgba(0,0,0,.5))}.hud-score-plaque-content{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px}.hud-score-value{font-size:clamp(1rem,2.2vw,1.38rem);color:var(--ph-text)}.hud-coins-sub{position:relative;font-size:clamp(.78rem,1.6vw,.96rem);color:var(--ph-gold-glow);display:inline-flex;align-items:center;gap:4px}.coin-float-plus{position:absolute;top:118%;left:50%;transform:translate(-50%);color:#ffe95c;font-size:.85rem;font-weight:900;opacity:0;pointer-events:none;white-space:nowrap}.coin-float-plus.pop{animation:coinPlusPop .55s ease-out forwards}@keyframes coinPlusPop{0%{opacity:1;transform:translate(-50%) translateY(0) scale(.85)}to{opacity:0;transform:translate(-50%) translateY(14px) scale(1.1)}}.hud-level-plaque{width:clamp(144px,21vw,200px);aspect-ratio:280 / 76;background:transparent url(/assets/ui-kit/03-hud/hud-level-plaque.svg) center / 100% 100% no-repeat;display:flex;align-items:center;justify-content:center;font-size:clamp(.76rem,1.5vw,.92rem);color:var(--ph-gold-top);filter:drop-shadow(0 4px 8px rgba(0,0,0,.45))}.hud-debug-pill{display:inline-block;padding:3px 10px;border-radius:8px;background:#2fd4ce38;border:1px solid var(--ph-turquoise);color:var(--ph-text);font-size:.74rem;font-weight:800}.hud-hemmat-wrapper{justify-self:center;display:flex;flex-direction:column;align-items:center;gap:4px;pointer-events:auto;cursor:pointer}.ph-hemmat.pahlevani-glow{filter:drop-shadow(0 0 18px rgba(244,204,99,.95));animation:pulseGlow .55s infinite alternate ease-in-out}@keyframes pulseGlow{0%{transform:scale(1)}to{transform:scale(1.05)}}.ph-hemmat__pct{position:absolute;z-index:3;top:50%;left:39%;transform:translate(-50%,-50%);font-size:clamp(.72rem,1.5vw,.92rem);color:var(--ph-text);pointer-events:none;white-space:nowrap}.hud-word-mini-row{display:flex;gap:4px}.hud-word-letter-dot{width:26px;height:26px;background:transparent url(/assets/ui-kit/07-workshop/wordhunt-tile-locked.svg) center / 100% 100% no-repeat;font-size:.72rem;display:flex;align-items:center;justify-content:center;color:#f7f1df8c}.hud-word-letter-dot.got{background-image:url(/assets/ui-kit/07-workshop/wordhunt-tile-collected.svg);color:var(--ph-text)}.hud-left-cluster{justify-self:end;display:flex;flex-direction:column;align-items:flex-end;gap:8px}.hud-controls-row{display:flex;align-items:center;gap:8px}.hud-hearts-row{display:flex;align-items:center;gap:4px;direction:ltr}.hud-heart-icon{width:clamp(26px,4.2vw,34px);height:clamp(23px,3.8vw,30px);object-fit:contain;filter:drop-shadow(0 3px 6px rgba(0,0,0,.55));transition:transform .2s ease}.hud-heart-icon.lost{transform:scale(.84);opacity:.75}.hud-center-badge-layer{position:absolute;top:26%;left:50%;transform:translate(-50%,-50%);pointer-events:none;z-index:25}.ph-callout-burst{width:clamp(210px,42vw,320px);aspect-ratio:340 / 200;background:transparent url(/assets/ui-kit/03-hud/callout-burst-turquoise.svg) center / 100% 100% no-repeat;display:flex;align-items:center;justify-content:center;padding:12px 28px;text-align:center;filter:drop-shadow(0 10px 24px rgba(0,0,0,.65))}.ph-callout-burst.is-gold{background-image:url(/assets/ui-kit/03-hud/callout-burst-gold.svg)}.ph-callout-burst__text{font-family:var(--font-display);font-size:clamp(1.35rem,3.2vw,2.05rem);color:var(--ph-text);line-height:1.15}.ph-callout-burst.animate-burst{animation:calloutBurstPop 1.35s cubic-bezier(.22,1,.36,1) forwards}@keyframes calloutBurstPop{0%{opacity:0;transform:scale(.32) rotate(-6deg)}18%{opacity:1;transform:scale(1.12) rotate(2deg)}30%{opacity:1;transform:scale(1) rotate(0)}78%{opacity:1;transform:scale(1.02)}to{opacity:0;transform:scale(.84) translateY(-20px)}}.hud-bottom-row{display:flex;justify-content:center;align-items:flex-end}.powerups-bar{display:flex;gap:clamp(16px,4vw,28px);direction:ltr}.powerup-btn{position:relative;width:clamp(62px,13vw,80px);height:clamp(62px,13vw,80px);filter:drop-shadow(0 6px 12px rgba(0,0,0,.55));transition:transform .14s ease,filter .14s ease}.powerup-btn.is-active{transform:translateY(-4px) scale(1.08);filter:drop-shadow(0 0 18px rgba(47,212,206,.95))}.powerup-btn.on-cooldown .powerup-icon{filter:grayscale(.82) brightness(.55)}.powerup-cooldown-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:1.25rem;color:var(--ph-gold-glow);pointer-events:none}.powerup-key-hint{position:absolute;bottom:-4px;right:-2px;font-size:.78rem;color:var(--ph-gold-top);pointer-events:none}.modal-backdrop{pointer-events:auto;background:#131618c7;backdrop-filter:blur(6px);align-items:center;justify-content:center;z-index:45}.ph-modal-card{position:relative;width:min(410px,92vw);min-height:390px;background:transparent url(/assets/ui-kit/05-panels/panel-modal-frame.svg) center / 100% 100% no-repeat;padding:58px 34px 32px;display:flex;flex-direction:column;align-items:center;gap:14px;filter:drop-shadow(0 20px 44px rgba(0,0,0,.75))}.ph-modal-card--gameover{min-height:495px;gap:10px;padding:56px 32px 28px}.ph-modal-header{position:absolute;top:-30px;left:50%;transform:translate(-50%);width:clamp(210px,56vw,290px);font-size:clamp(1.08rem,2.5vw,1.4rem)}.ph-toggle-row{width:100%;min-height:58px;padding:8px 18px;background:transparent url(/assets/ui-kit/05-panels/panel-subbox-dark.svg) center / 100% 100% no-repeat;display:flex;align-items:center;justify-content:space-between;gap:12px}.ph-toggle-label{display:inline-flex;align-items:center;gap:10px;font-size:1.04rem}.ph-toggle-icon{width:28px;height:28px;object-fit:contain}.ph-toggle-switch{position:relative;width:72px;height:36px;background:transparent url(/assets/ui-kit/02-buttons/toggle-track-off.svg) center / 100% 100% no-repeat;display:inline-flex;align-items:center;padding:3px;flex-shrink:0}.ph-toggle-switch.on{background-image:url(/assets/ui-kit/02-buttons/toggle-track-on.svg)}.ph-toggle-knob{position:absolute;top:50%;left:5px;width:28px;height:28px;transform:translateY(-50%);transition:transform .2s cubic-bezier(.22,1,.36,1);pointer-events:none}.ph-toggle-switch.on .ph-toggle-knob{transform:translate(34px,-50%)}.ph-modal-actions{width:100%;display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:6px}.ph-modal-btn{width:100%;height:52px}.revive-countdown{font-family:var(--font-display);font-size:3.4rem;color:var(--ph-gold-glow);line-height:1}.revive-desc{text-align:center;font-size:.92rem;line-height:1.5}.gameover-stat-box{width:100%;display:flex;flex-direction:column;gap:4px}.gameover-stat-title{font-size:.86rem;color:var(--ph-cream)}.gameover-stat-field{display:flex;align-items:center;justify-content:space-between;font-size:1.24rem;color:var(--ph-gold-glow)}.ph-stat-icon{width:28px;height:28px;object-fit:contain}.gameover-run-summary{display:flex;align-items:center;justify-content:space-around;font-size:.86rem;color:var(--ph-text);min-height:44px}.go-summary-item{display:inline-flex;align-items:center;gap:5px}.ph-near-record-banner{width:100%;aspect-ratio:420 / 68;background:transparent url(/assets/ui-kit/03-hud/banner-near-record-gold.svg) center / 100% 100% no-repeat;display:flex;align-items:center;justify-content:center;text-align:center;font-size:.96rem;color:var(--ph-text)}.zeigarnik-hook-box{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.8rem;font-weight:800;color:var(--ph-gold-glow)}.gameover-primary-actions{width:100%;display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:4px}.gameover-secondary-row{width:100%;display:flex;align-items:center;justify-content:center;gap:10px}.gameover-heroes-btn{flex:1;min-width:0!important}.toast-banner{position:fixed;bottom:108px;left:50%;transform:translate(-50%) translateY(18px);z-index:80;min-width:240px;max-width:90vw;padding:12px 26px;background:transparent url(/assets/ui-kit/05-panels/panel-subbox-dark.svg) center / 100% 100% no-repeat;text-align:center;color:var(--ph-gold-glow);font-size:.92rem;opacity:0;pointer-events:none;transition:opacity .24s ease,transform .24s ease}.toast-banner.visible{opacity:1;transform:translate(-50%) translateY(0)}.hub-dark-screen{align-items:center;justify-content:space-between;z-index:42;gap:10px}.hub-top-bar{width:min(1040px,100%);display:flex;align-items:center;justify-content:space-between;direction:ltr;gap:10px;flex-shrink:0}.hub-currency-cluster{direction:rtl;display:flex;gap:8px;align-items:center}.rewards-tabs-bar{width:min(980px,100%);display:flex;gap:6px;flex-wrap:wrap;flex-shrink:0}.ph-tab-btn{position:relative;flex:1 1 130px;height:48px;padding:0 14px;background:transparent url(/assets/ui-kit/05-panels/tab-inactive.svg) center / 100% 100% no-repeat;display:inline-flex;align-items:center;justify-content:center;font-size:.9rem;color:var(--ph-cream);transition:transform .14s ease,filter .14s ease}.ph-tab-btn.is-active{background-image:url(/assets/ui-kit/05-panels/tab-active.svg);color:var(--ph-text);transform:translateY(-2px)}.ph-tab-notif-dot{position:absolute;top:-4px;left:6px;width:20px;height:20px;object-fit:contain;pointer-events:none}.rewards-main-panel{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px}.ph-rank-banner{width:100%;min-height:62px;padding:10px 20px;background:transparent url(/assets/ui-kit/06-rewards/rank-banner-frame.svg) center / 100% 100% no-repeat;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;flex-shrink:0}.mastery-rank-info{font-size:.88rem;display:flex;align-items:center;gap:8px}.ph-rank-icon{width:28px;height:28px;object-fit:contain}.mastery-xp-track{flex:1 1 220px;max-width:340px}.mastery-xp-fill{height:100%;border-radius:5px;background:linear-gradient(90deg,#1eadad,#1fefe6 58%,#ffe95c)}.mastery-xp-text{position:relative;z-index:2;font-size:.72rem}.rewards-tab-content{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px;overflow-y:auto;padding-left:4px}.set-mult-hint{font-size:.82rem;color:var(--ph-gold-glow);text-align:center}.rw-mission-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.rw-mission-row.ready{filter:drop-shadow(0 0 10px rgba(47,212,206,.45))}.rw-row-right{display:flex;align-items:center;gap:12px;flex:1 1 220px}.rw-row-icon-img{width:38px;height:38px;object-fit:contain;flex-shrink:0}.rw-medal-img{width:40px;height:46px;object-fit:contain;flex-shrink:0}.rw-row-title{font-size:.94rem}.rw-row-sub{font-size:.76rem;color:var(--ph-cream);margin-top:2px}.rw-word-inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rw-word-tiles-inline{display:inline-flex;gap:4px}.rw-mini-word-tile{width:28px;height:28px;background:transparent url(/assets/ui-kit/07-workshop/wordhunt-tile-locked.svg) center / 100% 100% no-repeat;display:inline-flex;align-items:center;justify-content:center;font-size:.78rem;opacity:.65}.rw-mini-word-tile.got{background-image:url(/assets/ui-kit/07-workshop/wordhunt-tile-collected.svg);opacity:1}.rw-prog-pill{width:158px;flex-shrink:0}.rw-prog-fill{height:100%;border-radius:5px;background:linear-gradient(90deg,#1eadad,#2fd4ce)}.rw-prog-text{position:relative;z-index:2;font-size:.78rem}.rw-row-left{display:flex;align-items:center;justify-content:flex-end}.rw-claimed-tag{display:inline-flex;align-items:center;gap:5px;font-size:.84rem;color:var(--ph-turquoise)}.rw-reward-preview{display:inline-flex;align-items:center;gap:5px;font-size:.94rem;color:var(--ph-gold-glow)}.rw-muted-hint{font-size:.8rem;color:var(--ph-cream)}.rw-daily-chest-cta{padding:20px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}.rw-daily-chest-img{width:112px;height:112px;object-fit:contain}.rw-daily-chest-title{font-size:1.12rem;color:var(--ph-gold-glow)}.rw-daily-chest-sub{font-size:.88rem;color:var(--ph-text)}.streak-7day-footer{width:min(980px,100%);display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;flex-shrink:0}.ph-streak-slot{aspect-ratio:110 / 124;max-height:88px;width:100%;background:transparent url(/assets/ui-kit/06-rewards/streak-slot-locked.svg) center / 100% 100% no-repeat;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:6px 4px}.ph-streak-slot--claimed{background-image:url(/assets/ui-kit/06-rewards/streak-slot-claimed.svg)}.ph-streak-slot--active{background-image:url(/assets/ui-kit/06-rewards/streak-slot-active.svg);animation:pulseGlow .65s infinite alternate}.ph-streak-slot--locked{background-image:url(/assets/ui-kit/06-rewards/streak-slot-locked.svg);opacity:.82}.ph-streak-icon{width:clamp(22px,3vw,32px);height:clamp(22px,3vw,32px);object-fit:contain}.ph-streak-label{font-size:.7rem;line-height:1.1}.ph-toast-icon{width:40px;height:40px;object-fit:contain;flex-shrink:0}.rt-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.rt-top-line{display:flex;justify-content:space-between;align-items:center;gap:8px}.rt-title{font-size:.88rem;color:var(--ph-text)}.rt-subtitle{font-size:.78rem;color:var(--ph-gold-glow)}.rt-fraction{font-size:.82rem;color:var(--ph-gold-glow)}.rt-bar-frame{height:18px}.rt-bar-fill{height:100%;border-radius:4px;background:linear-gradient(90deg,#1eadad,#1fefe6 60%,#ffe95c)}.ph-wordhunt-banner{width:min(980px,100%);min-height:84px;padding:12px 48px;background:transparent url(/assets/ui-kit/07-workshop/wordhunt-banner-frame.svg) center / 100% 100% no-repeat;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;flex-shrink:0}.dw-label{font-size:.98rem}.dw-word-gold{color:var(--ph-gold-glow)}.dw-tiles-row{display:flex;gap:10px;align-items:center;justify-content:center}.dw-reward-row{display:flex;align-items:center;justify-content:center;gap:10px}.ph-word-tile{width:52px;height:52px;background:transparent url(/assets/ui-kit/07-workshop/wordhunt-tile-locked.svg) center / 100% 100% no-repeat;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}.ph-word-tile.collected{background-image:url(/assets/ui-kit/07-workshop/wordhunt-tile-collected.svg)}.ph-word-tile__char{font-size:1.24rem;color:var(--ph-text)}.ph-word-tile__lock{width:18px;height:18px;object-fit:contain}.ph-word-tile__hint{font-size:.68rem;color:var(--ph-cream);opacity:.72}.dw-chest-btn{position:relative;width:72px;height:72px;display:flex;align-items:center;justify-content:center}.dw-chest-fallback,.dw-chest-rive{position:absolute;inset:0;margin:auto;width:64px;height:64px;object-fit:contain}.dw-chest-btn.ready-pulse{filter:drop-shadow(0 0 14px rgba(244,204,99,.95));animation:pulseGlow .6s infinite alternate}.dw-claim-tag{position:absolute;bottom:-4px;font-size:.74rem;color:var(--ph-gold-glow)}.dw-done-icon{position:absolute;bottom:-2px;right:-2px;width:24px;height:24px;object-fit:contain}.workshop-grid-2x2{width:min(980px,100%);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;flex:1;align-content:center}.ph-upgrade-card{width:100%;min-height:168px;padding:18px 24px;background:transparent url(/assets/ui-kit/07-workshop/card-upgrade-square.svg) center / 100% 100% no-repeat;display:flex;align-items:center;justify-content:space-between;gap:14px}.workshop-card-info{flex:1;display:flex;flex-direction:column;align-items:center;gap:7px}.workshop-card-title{font-size:1.15rem}.workshop-stat-preview{font-size:.8rem;font-weight:700;color:var(--ph-cream);text-align:center}.workshop-pips-row{display:flex;gap:6px;direction:ltr}.ph-level-pip{width:20px;height:20px;object-fit:contain}.workshop-upgrade-btn{min-width:168px;height:44px;font-size:.88rem}.ws-cost-inline{color:var(--ph-gold-glow)}.workshop-icon-slot{width:82px;height:82px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.workshop-icon-slot img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 6px 12px rgba(0,0,0,.5))}.wheel-chest-layout{width:min(1040px,100%);flex:1;display:flex;align-items:center;justify-content:space-around;direction:ltr;gap:24px;flex-wrap:wrap}.wc-chest-card{direction:rtl;width:min(350px,92vw);margin-top:26px}.morshed-wheel-panel{direction:rtl;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.wheel-frame-wrap{position:relative;width:min(380px,84vw);height:min(380px,84vw);display:flex;align-items:center;justify-content:center}.ph-wheel-pointer{position:absolute;top:-18px;left:50%;transform:translate(-50%);width:48px;height:auto;z-index:10;pointer-events:none;filter:drop-shadow(0 4px 8px rgba(0,0,0,.75))}.ph-wheel-rotor{position:relative;width:100%;height:100%;will-change:transform}.ph-wheel-base-svg{width:100%;height:100%;display:block;filter:drop-shadow(0 14px 28px rgba(0,0,0,.65))}.ph-wheel-slice-label{position:absolute;top:50%;left:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;pointer-events:none;direction:rtl}.ph-wheel-spin-btn{position:absolute;width:clamp(98px,24vw,126px);height:clamp(98px,24vw,126px);background:transparent url(/assets/ui-kit/08-wheel-chest/wheel-center-spin-btn.svg) center / 100% 100% no-repeat;display:flex;align-items:center;justify-content:center;z-index:8;direction:rtl;padding:6px}.ph-wheel-spin-main{font-size:clamp(1rem,2.2vw,1.24rem)}.challenge-screen{padding-bottom:148px}.challenge-two-col{width:min(1040px,100%);flex:1;display:flex;align-items:center;justify-content:space-around;direction:ltr;gap:24px;flex-wrap:wrap}.challenge-invite-card{direction:rtl;width:min(410px,94vw);margin-top:26px}.challenge-coin-stage{position:relative;width:96px;height:96px;display:flex;align-items:center;justify-content:center}.challenge-coin-fallback,.challenge-coin-rive{position:absolute;inset:0;margin:auto;width:92px;height:92px;object-fit:contain}.challenge-reward-copy{text-align:center;font-size:.9rem;line-height:1.55}.ph-referral-link-box{width:100%;height:50px;padding:0 18px;background:transparent url(/assets/ui-kit/10-share-duel/bar-referral-link-box.svg) center / 100% 100% no-repeat;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:.88rem;color:var(--ph-gold-glow)}.challenge-share-stack{width:100%;display:flex;flex-direction:column;align-items:center;gap:10px}.challenge-icon-actions{display:flex;align-items:center;justify-content:center;gap:14px}.challenge-social-links{width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.social-btn{flex:1 1 130px}.ph-snapshot-column{direction:rtl;display:flex;flex-direction:column;align-items:center;gap:12px}.ph-snapshot-frame{position:relative;width:min(310px,84vw);aspect-ratio:380 / 440;background:transparent url(/assets/ui-kit/10-share-duel/frame-snapshot-portrait.svg) center / 100% 100% no-repeat;padding:20px;display:flex;align-items:center;justify-content:center}.ph-snapshot-crown{position:absolute;top:-26px;left:50%;transform:translate(-50%);width:68px;height:auto;z-index:4;filter:drop-shadow(0 4px 8px rgba(0,0,0,.7))}.ph-snapshot-viewport{width:100%;height:100%;border-radius:16px;overflow:hidden;background:url(/assets/ui-kit/01-backgrounds/bg-sunset-horizon.webp) center / cover no-repeat;display:flex;align-items:flex-end;justify-content:center}.challenger-3d-img{height:102%;width:auto;object-fit:contain}.ph-stat-chips-stack{width:min(310px,84vw);display:flex;flex-direction:column;gap:8px}.ph-stat-chips-row{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.ph-stat-chip{min-width:180px;height:46px;padding:0 20px;background:transparent url(/assets/ui-kit/10-share-duel/pill-stat-chip.svg) center / 100% 100% no-repeat;display:inline-flex;align-items:center;justify-content:center;font-size:.96rem;color:var(--ph-text)}.share-card-preview-box{direction:rtl;display:flex;flex-direction:column;align-items:center;gap:10px}.format-toggle-row{display:flex;gap:8px;width:min(360px,88vw)}.ph-snapshot-preview-wrap{display:flex;justify-content:center}.generated-card-img.landscape{width:min(460px,90vw);height:auto;border-radius:16px;border:3px solid var(--ph-gold-top);box-shadow:0 12px 28px #000000b8}.generated-card-img.story{max-height:54dvh;width:auto;border-radius:16px;border:3px solid var(--ph-gold-top);box-shadow:0 12px 28px #000000b8}.ph-duel-sticky-bar{position:fixed;left:0;right:0;bottom:0;z-index:40;padding:12px 18px calc(12px + env(safe-area-inset-bottom,0px));background:linear-gradient(180deg,#10161cf0,#0b0f13fa);border-top:2px solid var(--ph-gold-mid);box-shadow:0 -8px 24px #000000a6;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 18px;text-align:center}.sticky-cta-copy{font-size:clamp(.84rem,1.7vw,1.04rem);line-height:1.45;color:var(--ph-text)}.sticky-accept-btn{min-width:220px;height:50px;font-size:1rem;flex-shrink:0}@media (max-width: 780px){.start-main-stage{flex-direction:column;gap:8px}.start-pourya-figure{max-height:28dvh}.start-pourya-figure img{max-height:26dvh}.hud-top-row{grid-template-columns:1fr auto;row-gap:6px}.hud-hemmat-wrapper{grid-column:1 / -1;order:3}.ph-wheel-slice-label{transform-origin:center center}}@media (max-width: 640px){.select-top-row{flex-wrap:wrap;justify-content:space-between}.select-details-panel{background:linear-gradient(180deg,#2a3d44eb,#182328f5);border:3px solid var(--ph-ink);box-shadow:inset 0 0 0 3px var(--ph-gold-mid),0 8px 18px #00000073;border-radius:16px;padding:16px 18px}.workshop-grid-2x2{grid-template-columns:1fr}.ph-wordhunt-banner.ph-card{background:linear-gradient(180deg,#23363ef2,#141e23fa);border:3px solid var(--ph-ink);box-shadow:inset 0 0 0 3px var(--ph-gold-mid),0 8px 18px #00000073;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px}}@media (max-width: 520px){.hub-top-bar{flex-wrap:wrap;justify-content:space-between}.hub-currency-cluster{flex-wrap:wrap;justify-content:flex-end}.streak-7day-footer{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width: 440px){.ph-resource-pill--wide{display:none}.ph-wheel-slice-label{font-size:.58rem}.ph-modal-card{padding:50px 22px 24px}}:root{--ph-bg: #1F2125;--ph-ink: #131618;--ph-gold-hi: #FFF4B8;--ph-gold-top: #E5C676;--ph-gold-mid: #D7B56A;--ph-gold-low: #8C6532;--ph-teal: #2C8887;--ph-teal-deep: #1A5658;--ph-turquoise: #2FD4CE;--ph-turquoise-hi: #4BF0E8;--ph-slate: #2A3D44;--ph-slate-deep: #182328;--ph-cream: #E9D7AB;--ph-text: #FFFDF2;--ph-text-body: #F7F1DF;--ph-text-muted: #C7D7D8;--ph-text-gold-dark: #241608;--ph-arabesque: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120' fill='none'%3E%3Cg stroke='%23E5C676' stroke-opacity='0.07' stroke-width='1.4'%3E%3Cpath d='M60 6 C72 22 86 28 100 34 C94 48 104 54 114 60 C104 66 94 72 100 86 C86 92 72 98 60 114 C48 98 34 92 20 86 C26 72 16 66 6 60 C16 54 26 48 20 34 C34 28 48 22 60 6 Z'/%3E%3Cpath d='M60 30 C70 42 78 50 90 60 C78 70 70 78 60 90 C50 78 42 70 30 60 C42 50 50 42 60 30 Z'/%3E%3Ccircle cx='60' cy='60' r='5'/%3E%3C/g%3E%3C/svg%3E");--cap-title: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 88' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='tg' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23FFF4B8'/%3E%3Cstop offset='42%25' stop-color='%23D7B56A'/%3E%3Cstop offset='100%25' stop-color='%238C6532'/%3E%3C/linearGradient%3E%3ClinearGradient id='tb' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23334B54'/%3E%3Cstop offset='52%25' stop-color='%2323363E'/%3E%3Cstop offset='100%25' stop-color='%23162228'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M64,0 L46,0 C33,0 28,13 22,25 C15,35 7,40 0,44 C7,48 15,53 22,63 C28,75 33,88 46,88 L64,88 Z' fill='%23131618'/%3E%3Cpath d='M64,4 L47,4 C36,4 31,15 25,27 C19,36 12,40 6,44 C12,48 19,52 25,61 C31,73 36,84 47,84 L64,84 Z' fill='url(%23tg)'/%3E%3Cpath d='M64,11 L48,11 C39,11 35,20 30,31 C25,38 20,41 15,44 C20,47 25,50 30,57 C35,68 39,77 48,77 L64,77 Z' fill='%23131618'/%3E%3Cpath d='M64,14 L49,14 C41,14 38,22 33,32 C28,38 24,41 19,44 C24,47 28,50 33,56 C38,66 41,74 49,74 L64,74 Z' fill='url(%23tb)'/%3E%3Cpath d='M52,26 C41,26 37,35 44,44 C37,53 41,62 52,62' stroke='%23E5C676' stroke-width='2.6' stroke-linecap='round' fill='none' opacity='0.88'/%3E%3Cpath d='M44,44 C36,44 31,44 27,44' stroke='%23E5C676' stroke-width='2.2' stroke-linecap='round' fill='none' opacity='0.8'/%3E%3Ccircle cx='53' cy='26' r='2.3' fill='%23FFF4B8'/%3E%3Ccircle cx='53' cy='62' r='2.3' fill='%23FFF4B8'/%3E%3C/svg%3E");--arch-toranj: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='ag' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23FFF4B8'/%3E%3Cstop offset='60%25' stop-color='%23D7B56A'/%3E%3Cstop offset='100%25' stop-color='%238C6532'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2,22 C24,22 36,14 48,7 C54,3.5 57,1.5 60,1.5 C63,1.5 66,3.5 72,7 C84,14 96,22 118,22 Z' fill='%23131618'/%3E%3Cpath d='M12,22 C30,22 40,15 51,9 C55.5,6.5 58,5 60,5 C62,5 64.5,6.5 69,9 C80,15 90,22 108,22 Z' fill='url(%23ag)'/%3E%3Cpath d='M26,22 C40,22 48,17 55,13 C57.5,11.5 59,10.5 60,10.5 C61,10.5 62.5,11.5 65,13 C72,17 80,22 94,22 Z' fill='%23131618'/%3E%3Cpath d='M32,22 C44,22 50,18 56,15 C58,14 59.2,13.5 60,13.5 C60.8,13.5 62,14 64,15 C70,18 76,22 88,22 Z' fill='%232A3D44'/%3E%3C/svg%3E");--cap-primary: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 80' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23FFF4B8'/%3E%3Cstop offset='48%25' stop-color='%23E5C676'/%3E%3Cstop offset='100%25' stop-color='%238C6532'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%234BF0E8'/%3E%3Cstop offset='52%25' stop-color='%232FD4CE'/%3E%3Cstop offset='100%25' stop-color='%231B9493'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M42,0 L30,0 C21,0 17,12 13,24 C9,32 4,37 0,40 C4,43 9,48 13,56 C17,68 21,80 30,80 L42,80 Z' fill='%23131618'/%3E%3Cpath d='M42,4 L31,4 C23,4 20,14 16,26 C12,33 8,37 5,40 C8,43 12,47 16,54 C20,66 23,76 31,76 L42,76 Z' fill='url(%23g)'/%3E%3Cpath d='M42,11 L32,11 C26,11 23,19 20,29 C17,35 14,38 11,40 C14,42 17,45 20,51 C23,61 26,69 32,69 L42,69 Z' fill='%23131618'/%3E%3Cpath d='M42,14 L33,14 C28,14 25,21 22,30 C20,35 18,38 15,40 C18,42 20,45 22,50 C25,59 28,66 33,66 L42,66 Z' fill='url(%23b)'/%3E%3Cpath d='M42,14 L33,14 C28,14 25,21 22,30 L42,30 Z' fill='%23FFFFFF' fill-opacity='0.22'/%3E%3C/svg%3E");--cap-teal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 80' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23E5C676'/%3E%3Cstop offset='48%25' stop-color='%23D7B56A'/%3E%3Cstop offset='100%25' stop-color='%238C6532'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23349C9A'/%3E%3Cstop offset='52%25' stop-color='%232C8887'/%3E%3Cstop offset='100%25' stop-color='%231A5658'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M42,0 L30,0 C21,0 17,12 13,24 C9,32 4,37 0,40 C4,43 9,48 13,56 C17,68 21,80 30,80 L42,80 Z' fill='%23131618'/%3E%3Cpath d='M42,4 L31,4 C23,4 20,14 16,26 C12,33 8,37 5,40 C8,43 12,47 16,54 C20,66 23,76 31,76 L42,76 Z' fill='url(%23g)'/%3E%3Cpath d='M42,11 L32,11 C26,11 23,19 20,29 C17,35 14,38 11,40 C14,42 17,45 20,51 C23,61 26,69 32,69 L42,69 Z' fill='%23131618'/%3E%3Cpath d='M42,14 L33,14 C28,14 25,21 22,30 C20,35 18,38 15,40 C18,42 20,45 22,50 C25,59 28,66 33,66 L42,66 Z' fill='url(%23b)'/%3E%3Cpath d='M42,14 L33,14 C28,14 25,21 22,30 L42,30 Z' fill='%23FFFFFF' fill-opacity='0.16'/%3E%3C/svg%3E");--cap-slate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 80' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23E5C676'/%3E%3Cstop offset='48%25' stop-color='%23D7B56A'/%3E%3Cstop offset='100%25' stop-color='%238C6532'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23364D56'/%3E%3Cstop offset='52%25' stop-color='%232A3D44'/%3E%3Cstop offset='100%25' stop-color='%23182328'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M42,0 L30,0 C21,0 17,12 13,24 C9,32 4,37 0,40 C4,43 9,48 13,56 C17,68 21,80 30,80 L42,80 Z' fill='%23131618'/%3E%3Cpath d='M42,4 L31,4 C23,4 20,14 16,26 C12,33 8,37 5,40 C8,43 12,47 16,54 C20,66 23,76 31,76 L42,76 Z' fill='url(%23g)'/%3E%3Cpath d='M42,11 L32,11 C26,11 23,19 20,29 C17,35 14,38 11,40 C14,42 17,45 20,51 C23,61 26,69 32,69 L42,69 Z' fill='%23131618'/%3E%3Cpath d='M42,14 L33,14 C28,14 25,21 22,30 C20,35 18,38 15,40 C18,42 20,45 22,50 C25,59 28,66 33,66 L42,66 Z' fill='url(%23b)'/%3E%3Cpath d='M42,14 L33,14 C28,14 25,21 22,30 L42,30 Z' fill='%23FFFFFF' fill-opacity='0.14'/%3E%3C/svg%3E");--cap-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 80' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23FFF8CC'/%3E%3Cstop offset='48%25' stop-color='%23E5C676'/%3E%3Cstop offset='100%25' stop-color='%238C6532'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23FFF4B8'/%3E%3Cstop offset='52%25' stop-color='%23F3C85A'/%3E%3Cstop offset='100%25' stop-color='%23CF942E'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M42,0 L30,0 C21,0 17,12 13,24 C9,32 4,37 0,40 C4,43 9,48 13,56 C17,68 21,80 30,80 L42,80 Z' fill='%23131618'/%3E%3Cpath d='M42,4 L31,4 C23,4 20,14 16,26 C12,33 8,37 5,40 C8,43 12,47 16,54 C20,66 23,76 31,76 L42,76 Z' fill='url(%23g)'/%3E%3Cpath d='M42,11 L32,11 C26,11 23,19 20,29 C17,35 14,38 11,40 C14,42 17,45 20,51 C23,61 26,69 32,69 L42,69 Z' fill='%23131618'/%3E%3Cpath d='M42,14 L33,14 C28,14 25,21 22,30 C20,35 18,38 15,40 C18,42 20,45 22,50 C25,59 28,66 33,66 L42,66 Z' fill='url(%23b)'/%3E%3Cpath d='M42,14 L33,14 C28,14 25,21 22,30 L42,30 Z' fill='%23FFFFFF' fill-opacity='0.26'/%3E%3C/svg%3E")}*,*:before,*:after{box-sizing:border-box}.ph-title-display{font-family:Vazirmatn,system-ui,sans-serif;font-weight:900;color:var(--ph-text);-webkit-text-stroke:3.5px var(--ph-ink);paint-order:stroke fill;text-shadow:0 3px 0 var(--ph-ink);line-height:1.25}.ph-body-text{font-family:Vazirmatn,system-ui,sans-serif;font-weight:700;font-size:clamp(13px,1.6vw,15px);color:var(--ph-text-body);-webkit-text-stroke:0!important;text-shadow:0 1px 2px rgba(13,17,23,.85);line-height:1.55}.ph-text-on-gold{font-family:Vazirmatn,system-ui,sans-serif;font-weight:900;color:var(--ph-text-gold-dark)!important;-webkit-text-stroke:0!important;text-shadow:0 1px 0 rgba(255,250,220,.72)}.ph-toranj-title{--title-h: clamp(56px, 7.2dvh, 70px);--cap-w: calc(var(--title-h) * .727);position:relative;display:inline-flex;align-items:center;justify-content:center;width:max-content!important;white-space:nowrap!important;height:var(--title-h);padding:0 clamp(20px,3vw,36px);margin-inline:var(--cap-w);background:linear-gradient(180deg,#131618 0% 4.5%,#fff4b8 4.5%,#d7b56a 12.5%,#131618 12.5% 16%,#334b54 16%,#23363e 52%,#162228 84%,#131618 84% 87.5%,#b58d47 87.5%,#8c6532 95.5%,#131618 95.5% 100%);font-size:clamp(18px,2.5vw,25px);filter:drop-shadow(0 10px 18px rgba(0,0,0,.55));user-select:none;z-index:5;flex-shrink:0}.ph-toranj-title:before,.ph-toranj-title:after{content:"";position:absolute;top:0;width:var(--cap-w);height:100%;background:var(--cap-title) center / 100% 100% no-repeat;pointer-events:none}.ph-toranj-title:before{left:calc(-1 * var(--cap-w) + 1.5px)}.ph-toranj-title:after{right:calc(-1 * var(--cap-w) + 1.5px);transform:scaleX(-1)}.ph-toranj-title__arch-top,.ph-toranj-title__arch-bottom{position:absolute;left:50%;width:108px;height:19px;background:var(--arch-toranj) center / 100% 100% no-repeat;pointer-events:none}.ph-toranj-title__arch-top{top:-14px;transform:translate(-50%)}.ph-toranj-title__arch-bottom{bottom:-14px;transform:translate(-50%) scaleY(-1)}.ph-toranj-title--modal{--title-h: 50px;padding:0 20px;font-size:18px}.ph-toranj-title--modal .ph-toranj-title__arch-top,.ph-toranj-title--modal .ph-toranj-title__arch-bottom{width:84px;height:15px}.ph-toranj-title--modal .ph-toranj-title__arch-top{top:-11px}.ph-toranj-title--modal .ph-toranj-title__arch-bottom{bottom:-11px}.ph-btn{--btn-h: 52px;--cap-w: calc(var(--btn-h) * .525);--btn-cap: var(--cap-teal);--btn-body: linear-gradient(180deg, #131618 0%, #131618 5%, #E5C676 5%, #D7B56A 13.75%, #131618 13.75%, #131618 17.5%, #349C9A 17.5%, #2C8887 52%, #1A5658 82.5%, #131618 82.5%, #131618 86.25%, #B58D47 86.25%, #8C6532 95%, #131618 95%, #131618 100% );position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:max-content;height:var(--btn-h);min-width:96px;padding:0 22px;margin-inline:var(--cap-w);border:none!important;border-radius:0!important;background:var(--btn-body)!important;color:var(--ph-text);font-family:Vazirmatn,system-ui,sans-serif;font-weight:900;font-size:16.5px;white-space:nowrap;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-text-stroke:2.8px var(--ph-ink);paint-order:stroke fill;text-shadow:0 2px 0 var(--ph-ink);filter:drop-shadow(0 5px 10px rgba(0,0,0,.42));transition:transform .12s cubic-bezier(.22,1,.36,1),filter .15s ease;flex-shrink:0}.ph-btn:before,.ph-btn:after{content:"";position:absolute;top:0;width:var(--cap-w);height:100%;background:var(--btn-cap) center / 100% 100% no-repeat;pointer-events:none}.ph-btn:before{left:calc(-1 * var(--cap-w) + 1.5px)}.ph-btn:after{right:calc(-1 * var(--cap-w) + 1.5px);transform:scaleX(-1)}.ph-btn:hover:not(:disabled){filter:brightness(1.08) drop-shadow(0 7px 14px rgba(0,0,0,.5))}.ph-btn:active:not(:disabled){transform:scale(.95)}.ph-btn--primary,.ph-btn--claim{--btn-cap: var(--cap-primary);--btn-body: linear-gradient(180deg, #131618 0%, #131618 5%, #FFF4B8 5%, #E5C676 13.75%, #131618 13.75%, #131618 17.5%, #4BF0E8 17.5%, #2FD4CE 52%, #1B9493 82.5%, #131618 82.5%, #131618 86.25%, #C79438 86.25%, #8C6532 95%, #131618 95%, #131618 100% );filter:drop-shadow(0 0 12px rgba(47,212,206,.34)) drop-shadow(0 5px 10px rgba(0,0,0,.45))}.ph-btn--slate,.ph-btn--secondary{--btn-cap: var(--cap-slate);--btn-body: linear-gradient(180deg, #131618 0%, #131618 5%, #E5C676 5%, #D7B56A 13.75%, #131618 13.75%, #131618 17.5%, #364D56 17.5%, #2A3D44 52%, #182328 82.5%, #131618 82.5%, #131618 86.25%, #B58D47 86.25%, #8C6532 95%, #131618 95%, #131618 100% )}.ph-btn--gold{--btn-cap: var(--cap-gold);--btn-body: linear-gradient(180deg, #131618 0%, #131618 5%, #FFF8CC 5%, #E5C676 13.75%, #131618 13.75%, #131618 17.5%, #FFF4B8 17.5%, #F3C85A 52%, #CF942E 82.5%, #131618 82.5%, #131618 86.25%, #C79438 86.25%, #8C6532 95%, #131618 95%, #131618 100% );color:var(--ph-text-gold-dark);-webkit-text-stroke:0;text-shadow:0 1px 0 rgba(255,250,220,.75)}.ph-btn--disabled{--btn-cap: var(--cap-slate);--btn-body: linear-gradient(180deg, #131618 0%, #131618 5%, #8A8E92 5%, #6A7075 13.75%, #131618 13.75%, #131618 17.5%, #3E454C 17.5%, #2E343A 55%, #22262B 82.5%, #131618 82.5%, #131618 86.25%, #6A7075 86.25%, #4E5358 95%, #131618 95%, #131618 100% );opacity:.72;pointer-events:none}.ph-btn--lg{--btn-h: clamp(54px, 7dvh, 62px);min-width:clamp(175px,32vw,230px);padding:0 28px;font-size:clamp(18px,2.3vw,21px)}.ph-btn--md{--btn-h: clamp(46px, 6dvh, 52px);min-width:clamp(135px,24vw,180px);padding:0 22px;font-size:clamp(15px,1.9vw,17px)}.ph-btn--sm{--btn-h: 40px;min-width:84px;padding:0 15px;font-size:13.5px;-webkit-text-stroke:0;text-shadow:0 1.5px 2px rgba(13,17,23,.9)}.ph-btn--fill{width:calc(100% - (var(--cap-w) * 2))!important;min-width:0}.ph-btn-svg-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.ph-btn-svg-icon svg{width:100%;height:100%;display:block}.ph-icon-sq-btn{position:relative;width:clamp(42px,6vw,52px);height:clamp(42px,6vw,52px);padding:9px;border-radius:13px!important;border:2.5px solid var(--ph-ink)!important;background:linear-gradient(180deg,#329997,#1c5e60);box-shadow:inset 0 0 0 2.5px var(--ph-gold-mid),0 4px 10px #00000073;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .12s ease,filter .15s ease;flex-shrink:0}.ph-icon-sq-btn img,.ph-icon-sq-btn svg{width:100%;height:100%;object-fit:contain;pointer-events:none}.ph-icon-sq-btn:hover{transform:translateY(-2px) scale(1.04);filter:brightness(1.08)}.ph-icon-sq-btn:active{transform:scale(.92)}.ph-modal-backdrop{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:24px 14px;background:radial-gradient(circle at 50% 40%,#101c22b8,#0a0c10e0);backdrop-filter:blur(8px);direction:rtl;pointer-events:auto}.ph-modal{position:relative;width:min(92vw,420px);height:auto!important;min-height:unset!important;margin-top:24px;padding:46px 24px 26px!important;border-radius:22px;background-color:#1f6b6d;background-image:var(--ph-arabesque),radial-gradient(ellipse at 50% 10%,#4bf0e833,#2c88871a 45%,#123438e0);background-size:115px 115px,100% 100%;border:4px solid var(--ph-ink);box-shadow:inset 0 0 0 5px var(--ph-gold-mid),inset 0 0 0 8px var(--ph-ink),inset 0 12px 24px #fff4b81f,0 22px 48px #000000a6;display:flex;flex-direction:column;align-items:center;gap:14px}.ph-modal:before{content:"";position:absolute;inset:14px;border-radius:13px;border:1.5px solid rgba(229,198,118,.3);pointer-events:none}.ph-modal:after{content:"";position:absolute;bottom:-15px;left:50%;width:104px;height:18px;transform:translate(-50%) scaleY(-1);background:var(--arch-toranj) center / 100% 100% no-repeat;pointer-events:none}.ph-modal--dark{background-color:#1d2b31;background-image:var(--ph-arabesque),linear-gradient(180deg,#2a3d44b8,#141e23f5)}.ph-modal__header{position:absolute;top:-26px;left:50%;transform:translate(-50%);z-index:6}.ph-setting-row,.ph-score-box{position:relative;z-index:2;width:100%;display:flex;align-items:center;justify-content:space-between;padding:11px 14px;border-radius:13px;background:#13181d;border:1.5px solid #0C1014;border-bottom:1.5px solid rgba(229,198,118,.28);box-shadow:inset 0 4px 10px #000000b8}.ph-toggle{position:relative;width:60px;height:30px;border-radius:999px;border:2.5px solid var(--ph-ink);background:#171b20;box-shadow:inset 0 0 0 2px var(--ph-gold-mid),inset 0 2px 5px #000000a6;cursor:pointer;flex-shrink:0;transition:background .2s ease}.ph-toggle:after{content:"";position:absolute;top:50%;left:3px;width:20px;height:20px;border-radius:50%;transform:translateY(-50%);background:radial-gradient(circle at 35% 35%,#fff4b8,#d7b56a 68%,#8c6532);border:2px solid var(--ph-ink);transition:left .22s cubic-bezier(.22,1,.36,1)}.ph-toggle.is-on,.ph-toggle[aria-checked=true]{background:linear-gradient(180deg,#4bf0e8,#1f9e9c)}.ph-toggle.is-on:after,.ph-toggle[aria-checked=true]:after{left:31px}.ph-status-ribbon{position:relative;z-index:2;width:calc(100% + 16px);margin-inline:-8px;padding:9px 14px;display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg,transparent 0%,rgba(245,204,95,.24) 16%,rgba(255,232,142,.9) 50%,rgba(245,204,95,.24) 84%,transparent 100%);border:none!important;pointer-events:none;user-select:none}.ph-status-ribbon:before,.ph-status-ribbon:after{content:"";position:absolute;left:0;right:0;height:1.5px;background:linear-gradient(90deg,transparent 0%,rgba(255,244,184,.85) 50%,transparent 100%)}.ph-status-ribbon:before{top:0}.ph-status-ribbon:after{bottom:0}.ph-status-ribbon__text{font-family:Vazirmatn,system-ui,sans-serif;font-size:14px;font-weight:900;color:var(--ph-text-gold-dark);text-shadow:0 1px 0 rgba(255,252,224,.65);white-space:nowrap}.ph-status-ribbon--dark{background:linear-gradient(90deg,transparent 0%,rgba(244,204,99,.12) 15%,rgba(244,204,99,.26) 50%,rgba(244,204,99,.12) 85%,transparent 100%)}.ph-status-ribbon--dark .ph-status-ribbon__text{color:var(--ph-gold-hi);text-shadow:0 1px 6px rgba(244,204,99,.35)}.ph-chest-stage{position:relative;z-index:2;width:clamp(190px,42vw,236px);aspect-ratio:1 / 1;margin:4px auto 8px;direction:ltr!important;display:flex;align-items:center;justify-content:center;isolation:isolate;overflow:visible;cursor:pointer}.ph-chest-stage:before{content:"";position:absolute;inset:6%;border-radius:50%;background:radial-gradient(circle at 50% 48%,rgba(47,212,206,.38) 0%,rgba(229,198,118,.15) 45%,transparent 72%);z-index:0;pointer-events:none}.ph-chest-stage:after{content:"";position:absolute;bottom:10%;left:50%;transform:translate(-50%);width:68%;height:15%;border-radius:50%;background:radial-gradient(ellipse,rgba(13,17,23,.72) 0%,transparent 75%);border:1.5px solid rgba(229,198,118,.32);z-index:0;pointer-events:none}.ph-chest-stage canvas{position:relative;z-index:2;width:100%!important;height:100%!important;display:block;pointer-events:auto}.ph-chest-stage__fallback{position:absolute;inset:12%;margin:auto;z-index:1;width:76%;height:76%;object-fit:contain;pointer-events:none}.ph-hemmat{position:relative;width:clamp(164px,42vw,300px);aspect-ratio:641 / 174;direction:rtl;user-select:none}.ph-hemmat__track{position:absolute;inset:21% 24.5% 21% 3.5%;background:#14181d;overflow:hidden;border-radius:14px}.ph-hemmat__fill{height:100%;width:var(--hemmat-pct, 0%);margin-right:0;margin-left:auto;background:linear-gradient(90deg,#1eadad,#1fefe6 58%,#ffe95c);box-shadow:0 0 14px #1fefe6b3;transition:width .2s ease-out}.ph-hemmat__frame{position:relative;z-index:2;width:100%;height:100%;object-fit:contain;pointer-events:none;display:block}.aaa-dock{position:fixed;top:clamp(64px,7.5dvh,80px);right:clamp(10px,2vw,18px);z-index:999;display:flex;flex-direction:column;gap:14px;pointer-events:none;direction:rtl;width:min(388px,calc(100vw - 20px))}.aaa-notif{position:relative;display:flex;align-items:center;width:100%;min-height:76px;padding-right:36px;pointer-events:none;user-select:none;transition:transform .35s cubic-bezier(.4,0,.2,1),opacity .3s ease}.aaa-notif.is-exiting{transform:translate(120%);opacity:0}.aaa-crest{position:absolute;right:0;top:50%;width:74px;height:74px;margin-top:-37px;z-index:5;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 8px 14px rgba(0,0,0,.65));animation:crestSlam .46s cubic-bezier(.22,1.4,.36,1) forwards}@keyframes crestSlam{0%{transform:scale(.35) rotate(-18deg);opacity:0}55%{transform:scale(1.16) rotate(5deg);opacity:1}80%{transform:scale(.95) rotate(-2deg)}to{transform:scale(1) rotate(0);opacity:1}}.aaa-shockwave{position:absolute;inset:4px;border-radius:50%;border:2.5px solid var(--ph-gold-hi);opacity:0;animation:shockwavePulse .65s ease-out forwards}@keyframes shockwavePulse{0%{transform:scale(.6);opacity:.95}to{transform:scale(1.75);opacity:0}}.aaa-sunbeams{position:absolute;inset:-14px;z-index:0;animation:spinSlow 14s linear infinite;opacity:.85}@keyframes spinSlow{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.aaa-crest-svg{position:relative;z-index:3;width:74px;height:74px}.aaa-ribbon{position:relative;width:100%;min-height:68px;padding:10px 46px 12px 28px;display:flex;flex-direction:column;justify-content:center;gap:4px;filter:drop-shadow(0 10px 20px rgba(0,0,0,.6));clip-path:inset(0 0 0 100%);animation:ribbonUnfurl .42s cubic-bezier(.22,1,.36,1) .08s forwards}@keyframes ribbonUnfurl{0%{clip-path:inset(0 0 0 100%);opacity:.4}to{clip-path:inset(0 0 0 0%);opacity:1}}.aaa-ribbon-bg{position:absolute;inset:0;width:100%;height:100%;z-index:0}.aaa-glint-wrap{position:absolute;inset:3px 3px 3px 20px;overflow:hidden;z-index:2;clip-path:polygon(0 50%,16px 0,100% 0,100% 100%,16px 100%)}.aaa-glint{position:absolute;top:-20%;bottom:-20%;width:55px;background:linear-gradient(90deg,transparent,rgba(255,243,176,.38),transparent);transform:translate(420px) skew(-24deg);animation:glintSweep 3.2s ease-in-out .25s infinite}@keyframes glintSweep{0%{transform:translate(420px) skew(-24deg)}38%,to{transform:translate(-160px) skew(-24deg)}}.aaa-content{position:relative;z-index:3;display:flex;flex-direction:column;gap:4px}.aaa-top-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.aaa-eyebrow{font-size:11px;font-weight:800;color:var(--ph-gold-top);text-shadow:0 1px 2px rgba(13,17,23,.9)}.aaa-notif--rankup .aaa-eyebrow{color:var(--ph-turquoise-hi)}.aaa-counter-badge{font-size:11.5px;font-weight:900;color:var(--ph-gold-hi);background:#11171bd9;border:1.5px solid rgba(215,181,106,.55);padding:1px 8px;border-radius:6px}.aaa-title{font-size:14px;font-weight:900;color:var(--ph-text);text-shadow:0 1.5px 3px rgba(13,17,23,.95);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aaa-prog-track{position:relative;width:100%;height:9px;margin-top:2px;border-radius:99px;background:#0d1216;border:1.5px solid #090C0F;box-shadow:inset 0 2px 4px #000000d9;overflow:hidden}.aaa-prog-fill{position:relative;height:100%;width:var(--prog-pct, 0%);border-radius:99px;background:linear-gradient(270deg,#1e7d7f,#2fd4ce 65%,#fff3b0);box-shadow:0 0 10px #4bf0e8b3;transition:width .85s cubic-bezier(.22,1,.36,1)}.aaa-prog-fill:after{content:"";position:absolute;left:0;top:0;bottom:0;width:8px;background:#fff;box-shadow:0 0 8px 2px #4bf0e8;border-radius:99px}.aaa-meta-row{display:flex;align-items:center;gap:8px;margin-top:2px;flex-wrap:wrap}.aaa-reward-chip{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:99px;background:linear-gradient(180deg,#fff3b0,#d7b56a);border:1.5px solid var(--ph-ink);color:#211407;font-size:11.5px;font-weight:900}.aaa-buff-pill{display:inline-flex;align-items:center;gap:5px;padding:2px 10px;border-radius:99px;background:#11171bc7;border:1.5px solid var(--ph-turquoise);color:var(--ph-turquoise-hi);font-size:11.5px;font-weight:800}.aaa-drain-bar{position:absolute;bottom:4px;right:44px;left:26px;height:3px;background:#0d1117a6;border-radius:99px;overflow:hidden;z-index:4}.aaa-drain-fill{height:100%;width:100%;background:linear-gradient(270deg,var(--ph-gold-hi),var(--ph-turquoise-hi));transform-origin:right center;animation:drainTimer var(--life-ms, 3.4s) linear forwards}@keyframes drainTimer{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.ph-wheel-slice-svg{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;filter:drop-shadow(0 2px 3px rgba(0,0,0,.65))}.ph-wheel-slice-svg svg{width:100%;height:100%;display:block}.ph-wheel-slice-text{font-size:clamp(11px,1.35vw,13px);white-space:nowrap}.ph-wheel-status-wrap{width:min(360px,84vw);margin-top:12px}.ph-referral-card{position:relative;z-index:2;width:100%;padding:13px 14px 14px;border-radius:16px;background:linear-gradient(180deg,#18222af5,#10171dfa);border:2.5px solid var(--ph-ink);box-shadow:inset 0 0 0 2px var(--ph-gold-top),0 0 18px #f4cc6338,0 8px 18px #0000007a;display:flex;flex-direction:column;align-items:center;gap:10px}.ph-referral-card__top{width:100%;display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center}.ph-referral-card__headline{font-size:14.5px;font-weight:900;color:var(--ph-text)}.ph-referral-card__badge{display:inline-flex;align-items:center;justify-content:center;padding:3px 12px;border-radius:999px;background:linear-gradient(180deg,#fff4b8,#d7b56a);border:1.5px solid var(--ph-ink);color:var(--ph-text-gold-dark);font-size:12px;font-weight:900;box-shadow:0 0 12px #f4cc636b}.challenge-ref-meta{font-size:13px;gap:10px;flex-wrap:wrap}.ph-setting-row--quality{flex-direction:column;align-items:stretch;gap:10px}.ph-quality-header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.ph-toggle-svg-icon{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.ph-toggle-svg-icon svg{width:100%;height:100%;display:block}.ph-quality-meta{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.ph-quality-badge{font-size:11px;font-weight:800;color:var(--ph-gold-top);background:#0e1418b8;border:1px solid rgba(215,181,106,.35);border-radius:999px;padding:2px 8px}.ph-quality-auto-pill{height:24px;padding:0 10px;border-radius:999px;background:#11171bd9;border:1.5px solid rgba(215,181,106,.45);color:var(--ph-muted);font-size:11.5px;font-weight:800;transition:all .16s ease}.ph-quality-auto-pill.is-on{background:linear-gradient(180deg,#45e2db,#1d9a98);border-color:var(--ph-gold-hi);color:#fffdf5;box-shadow:0 0 8px #45e2db66}.ph-quality-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border-radius:12px;background:#141c21;border:1.5px solid rgba(215,181,106,.45);box-shadow:inset 0 2px 6px #000000bf}.ph-quality-seg{height:36px;border-radius:8px;background:transparent;color:var(--ph-muted);font-size:13px;font-weight:800;border:1.5px solid transparent;transition:transform .12s ease,background .16s ease,color .16s ease}.ph-quality-seg.is-active{background:linear-gradient(180deg,#45e2db,#1d9a98);border-top-color:#fff4b8;border-left-color:#d7b56a8c;border-right-color:#d7b56a8c;border-bottom-color:var(--ph-ink);color:#fffdf5;font-weight:900;box-shadow:inset 0 1px #fff4b8b3,0 3px 8px #00000073}.ph-duel-sticky-bar{position:fixed!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;transform:none!important;border-radius:0!important;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px))!important;background:linear-gradient(180deg,#10161cf5,#0b0f13fc)!important;border-top:2px solid var(--ph-gold-mid)!important;box-shadow:0 -8px 24px #000000b8!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:8px 16px!important;text-align:center!important;z-index:55!important}@media (pointer: coarse){.powerup-hotkey,.powerup-key-hint{display:none!important}}@media (max-width: 768px){.powerup-hotkey,.powerup-key-hint{display:none!important}}@media (max-width: 640px){.ph-modal{width:94vw;padding:42px 18px 22px!important}.ph-toranj-title{--title-h: 48px;font-size:17px;padding:0 16px}.aaa-crest,.aaa-crest-svg{width:64px;height:64px}.aaa-crest{margin-top:-32px}.aaa-notif{padding-right:30px}.aaa-ribbon{padding:9px 40px 11px 22px}.aaa-title{font-size:13px}}@media (max-width: 768px),(pointer: coarse){.ph-modal-backdrop,.modal-backdrop,.ph-toast,.toast-banner{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.ph-modal-backdrop,.modal-backdrop{background:#0b0f14db!important}.ph-btn,.ph-page-title,.ph-toranj-title,.ph-toast,.toast-banner,.hud-score-plaque,.hud-level-plaque,.powerup-btn,.hud-heart-icon{filter:none!important}.ph-btn,.powerup-btn{will-change:transform}html,body,#app,canvas{overscroll-behavior:none;touch-action:none;-webkit-user-select:none;user-select:none}.ph-native-btn,.ph-icon-btn,.ph-icon-sq-btn{width:40px;height:40px}.start-top-left-utils{gap:6px}.start-main-stage{flex-direction:column;justify-content:space-between;width:100%;height:100%;gap:6px}.start-center-column{width:100%;flex:1;justify-content:space-between;gap:8px}.start-pourya-figure{order:-1;max-height:26dvh}.start-pourya-figure img{max-height:25dvh}.start-cta-group{margin-top:auto;padding-bottom:max(18px,env(safe-area-inset-bottom));gap:10px}#screen-hud{padding:max(8px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}.hud-top-row{grid-template-columns:1fr auto;gap:6px;align-items:start}.hud-left-cluster{gap:4px}.hud-controls-row{gap:6px}.hud-controls-row .ph-native-btn{width:38px!important;height:38px!important}.hud-hearts-row{gap:3px}.hud-heart-icon{width:16px!important;height:16px!important}.hud-score-cluster{gap:3px}.hud-score-plaque{width:clamp(134px,37vw,168px);padding:0 18% 0 14%}.hud-score-value{font-size:14px!important}.hud-coins-sub{font-size:12px!important;gap:3px}.hud-coins-sub .ph-inline-icon{width:14px;height:14px}.hud-level-plaque{width:clamp(104px,28vw,134px);font-size:12px!important}.hud-word-mini-row{position:fixed;top:calc(max(8px,env(safe-area-inset-top)) + 54px);left:50%;transform:translate(-50%) translateY(-6px);opacity:0;pointer-events:none;transition:opacity .22s ease,transform .22s ease;z-index:26}.hud-word-mini-row.is-flashing{opacity:1;transform:translate(-50%) translateY(0)}.hud-hemmat-wrapper{position:fixed;left:50%;transform:translate(-50%);bottom:calc(max(10px,env(safe-area-inset-bottom)) + 56px);z-index:24;margin:0}.ph-hemmat{width:min(56vw,210px)!important}.hud-bottom-row{position:fixed;left:0;right:0;bottom:max(10px,env(safe-area-inset-bottom));z-index:24;pointer-events:none}.powerups-bar{gap:14px;pointer-events:auto}.ph-powerup-btn,.powerup-btn{width:48px!important;height:48px!important;opacity:1}.powerup-btn.on-cooldown{opacity:.78}.powerup-hotkey,.powerup-key-hint{display:none!important}}
