/* فونت داخل پروژه است و حتی بدون دسترسی به سرویس فونت بارگیری می‌شود. */
@font-face{font-family:Vazirmatn;src:url('/fonts/Vazirmatn.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{color-scheme:light;--bg:#f5eddf;--card:#fffaf0;--line:#dcd2bf;--text:#233b59;--muted:#777568;--lime:#c7583c;--orange:#b27b26;--radius:16px}
body{background:var(--bg);font-size:14px;line-height:1.9;font-family:Vazirmatn,Tahoma,sans-serif;padding:0;margin:0;min-width:320px}
body::before,.arena::before{display:none}
button,input,textarea{font-family:inherit}
button{touch-action:manipulation;min-height:48px}
button:focus-visible,input:focus-visible{outline:2px solid #c7583c;outline-offset:3px}
button:disabled{opacity:.48}
button:not(:disabled):active{filter:brightness(.94);transform:scale(.985)}
.shell{width:min(760px,100%);padding:0 20px 100px;margin:0 auto}
.topbar{padding:18px 0;min-height:86px;border:0;gap:10px}
.brand{gap:10px}.brand-icon{background:#233b59;color:#c7583c;width:42px;height:42px;border-radius:14px;font-size:28px}
.brand strong{font-size:19px;letter-spacing:0;font-weight:750}.brand small{font-size:11px;letter-spacing:0;color:var(--muted);line-height:1.8}
.top-actions{gap:4px;align-items:center}.icon-button{border:0;color:#5b655e;background:transparent;border-radius:50%;padding:0 10px;min-width:40px;min-height:44px;height:44px}
.icon-button:hover{background:#eceee7;color:var(--text)}
.wallet{border:1px solid var(--line);background:#fffaf0;color:#5b4c2d;padding:4px 10px;font-size:13px;border-radius:20px;white-space:nowrap}
.intro,.bottom-grid{display:none}.footer{font-size:11px;justify-content:center;gap:16px;color:var(--muted);padding:20px 0 0}
.connection-status{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);padding:0 2px 8px}.connection-dot{width:6px;height:6px;background:#97a88d;border-radius:50%}
h1,h2{letter-spacing:0}h2{font-size:22px;font-weight:750}.section-tag{color:var(--muted);font-size:12px;font-weight:500;letter-spacing:0}
.glass{background:#fffaf0;border:1px solid var(--line);border-radius:16px;box-shadow:none;backdrop-filter:none}
.lobby-layout{display:flex;flex-direction:column;gap:16px;margin:8px 0 0}.lobby-main{padding:22px;border:0;background:transparent}
.lobby-main>.muted{font-size:13px;margin:5px 0 24px}.lobby-main>.section-tag{display:none}
#profileForm{display:none}.mode-grid{grid-template-columns:1fr;gap:12px}
.mode-button,.mode-button.friend{display:grid;grid-template-columns:48px 1fr 20px;column-gap:14px;align-items:center;padding:20px;border:1px solid var(--line);background:#fffaf0;border-radius:16px;color:var(--text);min-height:100px}
.mode-button:first-child{background:#c7583c;color:#fffaf0;border-color:#c7583c}
.mode-icon{grid-row:1/3;display:grid;place-items:center;margin:0;width:48px;height:48px;border-radius:14px;background:#ffffff24;color:#fffaf0;font-size:26px}
.friend .mode-icon{color:#c7583c;background:#eee3d0}.mode-button strong{font-size:17px;font-weight:700;grid-column:2;align-self:end}
.mode-button small{font-size:12px;color:inherit;opacity:.8;grid-column:2;margin:0;align-self:start}.mode-arrow{position:static;grid-column:3;grid-row:1/3;color:inherit;font-size:22px}
.mode-button:not(:disabled):hover{transform:none;border-color:#c7583c;box-shadow:0 2px 6px #25372a10}
.join-form{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.lobby-main form>label{font-size:13px;color:var(--text);margin-bottom:10px}
input{color:var(--text);background:#fffaf0;border:1px solid #c7cec6;border-radius:10px;min-height:50px;font-size:15px;padding:11px 13px;box-shadow:none;max-width:100%}
input::placeholder{color:#8a918b;opacity:1}input:focus{border-color:#c7583c;background:#fffaf0;outline-color:#c7583c}
.join-form input{font-size:16px}.join-form>div{gap:10px}.join-form .secondary{font-size:13px;white-space:nowrap}
.primary,.secondary{min-height:48px;padding:10px 20px;font-size:14px;border-radius:24px;font-weight:650;box-shadow:none;line-height:1.8}
.primary{background:#c7583c;color:#fffaf0;border:1px solid #c7583c}.primary:hover{background:#b34a32;transform:none}
.secondary{background:#fffaf0;color:#c7583c;border:1px solid #b9c9bc}.secondary:hover{background:#eee3d0;color:#233b59;transform:none}
.text-button{color:#c7583c;font-size:13px}.lobby-side{display:block}.table-info{padding:18px 20px;text-align:right;background:#ede3d1;border:0}
.table-info>.section-tag,.table-info>p,.table-info>small{display:none}.pot-display{float:left;font-size:24px;line-height:1.5;color:#c7583c;margin:0}.pot-display span{font-size:12px}
.table-info dl{display:flex;flex-direction:column;gap:4px}.table-info dl>div{padding:0;border:0;font-size:12px;justify-content:flex-start;gap:12px}.table-info dl>div:nth-child(n+2){display:none}
.table-info dt{color:#5c685d}.table-info dd{font-weight:650}.table-info::after{content:'جایزهٔ برنده';display:block;text-align:left;color:var(--muted);font-size:11px;clear:both}
.gift-card{display:none}.native-shop{margin-top:16px;padding:20px;box-shadow:none}.native-shop strong{font-size:16px}.native-shop p{font-size:12px}
.shop-actions{gap:8px;flex-wrap:wrap}.shop-actions .primary,.native-shop .secondary{font-size:13px}
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(760px,100%);display:flex;background:#fff9ed;border-top:1px solid #dfe4d9;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));z-index:20}
.bottom-nav button{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;border:0;background:none;color:#666f64;font-size:11px;min-height:58px;font-weight:550;padding:0}
.bottom-nav svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;border-radius:18px;box-sizing:content-box;padding:4px 18px;width:24px;height:24px}
.bottom-nav [aria-current=page]{color:#233b59;font-weight:750}.bottom-nav [aria-current=page] svg{background:#f0c169}
.account-card{text-align:center;background:#fffaf0;border:1px solid var(--line);border-radius:16px;padding:24px;margin-top:16px}.account-card h2{font-size:20px;margin:10px 0 0}
.account-card p{margin:3px 0;font-size:13px;color:var(--muted)}.account-avatar{display:grid;place-items:center;margin:auto;width:64px;height:64px;border-radius:50%;background:#efe0c0;font-size:38px;color:#c7583c}
.logout-button{background:transparent;border:1px solid #e1c7c2;color:#a43c34;min-height:48px;border-radius:24px;padding:8px 24px;font-size:14px;margin-top:20px}
body[data-tab=profile] .lobby-side,body[data-tab=profile] .mode-grid,body[data-tab=profile] .join-form,body[data-tab=profile] .lobby-main>h2,body[data-tab=profile] .lobby-description,body[data-tab=profile] .native-shop{display:none!important}
body[data-tab=profile] #profileForm{display:block}body[data-tab=profile] .lobby-layout{margin:0}body[data-tab=profile] .lobby-main{padding:16px 0 0}
body[data-tab=profile] main{display:flex;flex-direction:column}body[data-tab=profile] .account-card{order:-1}
.avatar-picker{justify-content:space-between;gap:6px;margin:18px 0 0}.avatar-picker legend{font-size:13px}.avatar-picker span{background:#fffaf0;border:1px solid var(--line);width:44px;height:44px;border-radius:50%;font-size:23px}.avatar-picker input:checked+span{background:#f0c169;border:2px solid #c7583c}
body[data-tab=wallet] .lobby-main,body[data-tab=wallet] .table-info{display:none}body[data-tab=wallet] .gift-card{display:block;padding:24px;text-align:right}
body[data-tab=wallet] .gift-card>span{display:none}body[data-tab=wallet] .gift-card h3{font-size:18px;margin-top:0}body[data-tab=wallet] .gift-card p{font-size:13px;margin:8px 0 18px}
body[data-tab=wallet] .gift-card small{font-size:11px}.wallet-summary{border:1px solid var(--line);background:#fffaf0;padding:24px;border-radius:16px;margin-bottom:16px}.wallet-summary small{color:var(--muted);font-size:13px}.wallet-summary strong{font-size:32px;display:block;color:#c7583c}
.profile-save{width:100%;margin-top:20px}.profile-feedback{min-height:26px;font-size:12px;color:#c7583c;text-align:center;margin:7px 0}
.wallet-summary{display:none}.wallet-summary p{color:var(--muted);margin:8px 0 0;font-size:12px}.wallet-summary strong small{display:inline;font-size:14px}
body[data-tab=wallet] .wallet-summary{display:block}
.waiting-panel{padding:36px 20px;min-height:380px;margin-top:12px}.waiting-flower{font-size:52px}.waiting-panel h2{font-size:21px}.waiting-panel .muted{font-size:13px}.room-code-box strong{color:#c7583c}.waiting-panel .section-tag{display:none}
.match-top{margin:8px 0 18px}.pot-pill{color:#826026;background:#f8efd9;border:0;border-radius:12px;font-size:12px}.match-top>.section-tag{font-size:12px}
.scoreboard{margin:0 0 20px;gap:8px;grid-template-columns:1fr 70px 1fr}.player{gap:8px}.avatar,.ai .avatar{border:0;background:#eee1c9;color:#c7583c;border-radius:50%;width:42px;height:42px}.player-name{font-size:13px;max-width:120px;overflow-wrap:anywhere}.role{font-size:11px}.pip{background:#dce2d8;width:13px}.pip.filled{box-shadow:none}.ai .pip.filled{background:#b4803b}.score{font-size:26px;gap:8px}
.game-layout{grid-template-columns:1fr;gap:16px}.arena,.game-layout .arena{background:#fffaf0;backdrop-filter:none;border:1px solid var(--line);box-shadow:none;padding:20px 16px;min-height:440px;border-radius:16px}.arena-top{font-size:12px}.round-tag{background:#eee3d0;border:0}.turn-label{font-size:13px;margin-top:16px}.turn-label::before{display:none}.game-layout h2{font-size:23px}.game-layout .instruction{font-size:13px;color:var(--muted);line-height:1.9}
.timer{font-size:12px;color:#c7583c;background:#f3deb5}.timer.urgent{color:#ad3d31;background:#fae8e3}.game-layout .hands{gap:20px;margin:22px auto 10px}.game-layout .hand{width:145px}.hand-label{color:#606e61;font-size:13px}.hand-floor{background:#172d46;border-color:#dbe3d5}.hand:not(:disabled):hover{background:#f2f5ed;transform:none}.hand.selected{background:#edf3e7}.hand.chosen::after{background:#c7583c;color:#fffaf0;font-size:10px}.hand-art{filter:drop-shadow(0 5px 4px #0001)}.hint{color:var(--muted);font-size:11px}
.status-box{background:#eee4d4;border:0;border-radius:12px;margin-top:18px;padding:12px}.status-icon{display:none}.game-layout .status-copy{font-size:13px}.status-copy small{font-size:11px}.actions:empty{display:none}
.chat-panel{min-height:300px;max-height:380px;padding:16px;background:#fff}.chat-heading h3{font-size:14px}.chat-heading>span{font-size:11px}.chat-messages{min-height:100px;height:150px}.chat-empty{font-size:12px}.chat-message{background:#f0e7d7;border:0;padding:9px 12px}.chat-message.mine{background:#e1e7df;border:0}.chat-message strong{font-size:10px}.chat-message span{font-size:14px}.quick-emojis button{background:#f2e8d7;border:0;border-radius:12px}.quick-emojis button:hover{background:#ead9b9;transform:none}.chat-form input{font-size:14px;min-height:46px}.chat-form button{min-width:48px}.in-room .shell{padding-bottom:24px}
dialog{background:#fffaf0;border:0;border-radius:24px;color:var(--text);padding:24px;box-shadow:0 12px 40px #172a2426;font-size:14px}dialog::backdrop{background:#20282088;backdrop-filter:none}dialog ol{color:#58645a}dialog h2{font-size:21px}dialog .primary{font-size:14px}.toast{position:fixed;bottom:94px;left:50%;transform:translateX(-50%);width:min(460px,calc(100% - 32px));z-index:50;border:0;border-radius:8px;padding:13px 16px;background:#233b59;color:#fffaf0;font-size:13px;box-shadow:0 3px 10px #0002}.in-room .toast{bottom:22px}
/* صفحهٔ ورود: فرم کوتاه با برچسب ثابت و پیام خطای قابل خواندن. */
.auth-screen{width:min(400px,100%);min-height:100svh;margin:auto;padding:48px 24px 32px;display:flex;flex-direction:column;justify-content:center}
.auth-logo{width:64px;height:64px;border-radius:20px;background:#e8dcc5;color:#c7583c;display:grid;place-items:center;font-size:46px;margin-bottom:14px}.auth-brand{font-size:13px;color:var(--muted);margin:0 0 18px}.auth-screen h1{font-size:28px;font-weight:750;letter-spacing:0;margin:0}.auth-description{font-size:14px;color:var(--muted);margin:5px 0 24px}.auth-tabs{display:flex;border-bottom:1px solid #dfe3d9;margin-bottom:24px;gap:20px}.auth-tabs button{background:none;border:0;border-bottom:3px solid transparent;font-size:14px;padding:7px 5px;color:var(--muted);min-height:48px;flex:1}.auth-tabs button.selected{border-bottom-color:#c7583c;color:#c7583c;font-weight:750}
#authForm label{display:block;margin-bottom:7px;font-size:13px;font-weight:600}#authForm input{width:100%;margin-bottom:18px;min-height:54px;background:#fff}#authForm input[dir=ltr]{font-family:Vazirmatn,sans-serif;text-align:left}.password-field{position:relative}.password-field input{padding-left:66px}.password-field button{position:absolute;left:3px;top:3px;min-height:48px;background:transparent;border:0;font-size:11px;color:#c7583c;padding:0 12px}.auth-submit{width:100%;margin-top:6px}.auth-error{padding:10px 12px;border-radius:8px;background:#fae9e5;color:#9f342b;font-size:13px;margin:0 0 14px}.auth-footnote{font-size:11px;color:var(--muted);text-align:center;margin:22px 0 0}
@media(min-width:800px){.shell{padding-top:14px}.topbar{margin-bottom:12px}.lobby-main{padding:20px 0}.mode-grid{grid-template-columns:1fr 1fr}.game-layout{grid-template-columns:minmax(0,1fr) 260px}.game-layout .hand{width:125px}.game-layout .hands{gap:6px}.chat-panel{min-height:460px;max-height:540px}.shell{width:min(960px,calc(100% - 48px))}.bottom-nav{width:min(960px,calc(100% - 48px));border-radius:20px 20px 0 0}.auth-screen{padding-top:32px;padding-bottom:48px}.lobby-side{margin-top:2px}}
@media(max-width:380px){.shell{padding-left:14px;padding-right:14px}.brand strong{font-size:17px}.top-actions .icon-button{padding:0 6px;min-width:32px}.wallet{font-size:12px;padding:3px 8px}.lobby-main{padding:18px 0}.game-layout .hands{gap:4px}.game-layout .hand{width:132px}.player-name{font-size:11px}.avatar,.ai .avatar{width:34px;height:34px}.scoreboard{grid-template-columns:1fr 58px 1fr}.score{font-size:23px}.join-form .secondary{padding:9px 14px}.auth-screen{padding:28px 22px}}
/* میز پارچه‌ای و کاغذ گرم، زبان بصری مشترک همهٔ صفحه‌ها هستند. */
.shell{width:min(1000px,100%);padding-left:28px;padding-right:28px}.topbar{border-bottom:1px solid var(--line);padding:22px 0 18px}.brand-icon{color:#efbc58;border-radius:14px 14px 5px 14px;font-size:33px}.brand strong{font-size:21px;font-weight:900}.wallet{background:#efbc58;color:#233b59;border-color:#dca64c;border-radius:12px}.glass{background:#fffaf0;border-radius:20px}.bottom-nav{width:min(680px,100%);border:1px solid #d9cdb7;border-bottom:0;border-radius:22px 22px 0 0;padding:10px 18px calc(10px + env(safe-area-inset-bottom,0px));box-shadow:0 -6px 30px #46371f08}.bottom-nav svg{border-radius:12px}.bottom-nav [aria-current=page]{color:#233b59}.bottom-nav button{color:#8a8273}.connection-status{padding:13px 2px 0}.connection-dot{background:#718373}
.lobby-main{padding:0}.lobby-layout{gap:22px;margin:0}.home-hero{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:12px;padding:25px 0 20px}.hero-copy{padding:0 6px}.hero-copy .section-tag{color:#a24d38;font-weight:650}.hero-copy h1{font-size:clamp(42px,5.5vw,64px);font-weight:900;line-height:1.4;margin:10px 0;letter-spacing:0}.ink-dot{color:#c7583c}.hero-copy p{font-size:13px;color:#6e706b;margin:10px 0 16px}.hero-stamp{display:inline-block;transform:rotate(-5deg);padding:3px 12px;border:1px solid #bd6147;border-radius:3px;color:#ab5037;font-size:10px}.table-art{width:100%;height:auto;display:block;transform:rotate(-2deg)}.play-heading{display:flex;align-items:baseline;justify-content:space-between;margin:8px 0 14px}.play-heading h2{font-size:22px;font-weight:850}.play-heading>span{font-size:11px;color:var(--muted)}
.mode-grid{gap:16px}.mode-button,.mode-button.friend{padding:20px 18px;border-radius:16px;min-height:104px;transition:transform .18s,box-shadow .18s}.mode-button:first-child{background:#c7583c;border-color:#b64832;color:#fff7e8;box-shadow:0 4px 0 #a44732}.mode-button.friend{background:#fffaf0;border-color:#b7b4a8;color:#233b59;box-shadow:0 4px 0 #d9cfbd}.mode-icon{font-size:34px;background:transparent;color:#f5cb80}.friend .mode-icon{background:none;color:#233b59}.mode-button strong{font-weight:800}.mode-button:not(:disabled):hover{transform:translateY(-3px);border-color:#98402e;box-shadow:0 7px 0 #a44732}.mode-button.friend:not(:disabled):hover{border-color:#8b938e;box-shadow:0 7px 0 #d9cfbd}.mode-button:not(:disabled):active{transform:translateY(2px);box-shadow:0 2px 0 #a44732}
.join-form{margin-top:28px;padding-top:20px;border-top:1px dashed #c9bda8}.join-form input{background:#ede4d4;border-color:transparent}input{border-color:#c5bba8;background:#fffaf0}.primary,.secondary{border-radius:11px;font-weight:750}.secondary{color:#233b59;border-color:#b7b4a8;background:#fffaf0}.secondary:hover{background:#e9dfce;color:#233b59}.table-info{display:flex;align-items:center;justify-content:space-between;gap:22px;background:#ede3d1;padding:18px 22px;border-radius:15px}.table-info:after{display:none}.pot-display{float:none;color:#233b59;font-size:32px;margin:0;white-space:nowrap;padding-right:40px;position:relative}.pot-display:before{content:'✳';position:absolute;right:0;top:0;font-size:30px;color:#b25a3e}.table-info dl{flex-direction:row;gap:24px}.table-info dl>div,.table-info dl>div:nth-child(2){display:flex;flex-direction:column;gap:0;font-size:11px}.table-info dt{color:var(--muted)}.table-info dd{font-weight:750}.footer span:before{content:'✳';margin-left:8px;color:#b66a4e}
.wallet-summary{position:relative;overflow:hidden;background:#233b59;border-color:#233b59;border-radius:20px;margin-top:22px;padding:28px;color:#f5eddf}.wallet-summary:after{content:'✳';position:absolute;left:20px;top:-20px;font-size:160px;line-height:1;color:#ffffff0c;transform:rotate(15deg)}.wallet-summary strong{color:#f1bd5d;font-size:42px;font-weight:900}.wallet-summary>small,.wallet-summary p{color:#d5d0c1}.wallet-summary strong small{color:#f1bd5d}.native-shop strong{color:#233b59}.account-card{background:#233b59;color:#f5eddf;border-color:#233b59;border-radius:20px;padding:28px}.account-card p{color:#d0c9b8}.account-avatar{border:1px dashed #e9c27d;background:transparent;color:#efbd5d}.logout-button{border:1px solid #a5a597;background:none;color:#f6e9cf;border-radius:10px;font-size:13px}.avatar-picker span{border-radius:14px;background:#fffaf0}.avatar-picker input:checked+span{border-color:#233b59;background:#f1c474}.waiting-panel{background:#fffaf0;border:1px dashed #b9ac92;margin-top:20px}.room-code-box strong{color:#233b59;background:#eee3cf;border-radius:12px;padding:4px 16px}
body[data-tab=profile] .home-hero,body[data-tab=profile] .play-heading{display:none}
.game-layout{gap:18px;grid-template-columns:minmax(0,1fr) 275px}.arena,.game-layout .arena{--text:#fff6e5;--muted:#c6cbbf;--lime:#f0bf64;background:#233b59;color:#fff6e5;border:6px solid #344a63;border-radius:28px;box-shadow:0 5px 0 #c9bca4;padding:22px 20px;min-height:470px}.arena:before{display:block;content:'';position:absolute;inset:8px;width:auto;height:auto;border:1px dashed #dfc58c70;border-radius:17px;background:none;transform:none;pointer-events:none;z-index:-1}.round-tag,.timer{background:#ffffff0e;color:#e7d7b7;border:0;border-radius:8px}.timer.urgent{color:#ffd1bc;background:#c45b3d55}.turn-label{color:#f0bf64;margin-top:18px}.game-layout h2{font-size:26px;font-weight:850}.game-layout .instruction{color:#c6cbbf;font-size:12px}.game-layout .hands{gap:14px;margin-top:28px}.game-layout .hand{width:145px}.hand-label{color:#e0d8c1}.hand-floor{background:#172d46;border-color:#e9d5a333}.hand:not(:disabled):hover,.hand.selected{background:#ffffff0b}.hand:not(:disabled):hover{transform:translateY(-4px)}.hand.chosen:after{background:#edbd65;color:#233b59}.hint{color:#c6cbbf}.status-box{background:#132b4666;border:1px solid #f1d2a01c}.status-copy small{color:#c6cbbf}.arena .primary{background:#f0bf64;color:#233b59;border-color:#f0bf64}.arena.finished{border-color:#cf9d4c}.finished h2{color:#f0bf64}.score .human-score{color:#c7583c}.pip.filled{background:#c7583c}.ai .pip.filled{background:#d29c37}.avatar,.ai .avatar{background:#fff6e7;border:1px solid #c9bda6;border-radius:14px}.chat-panel{min-height:470px;max-height:540px;background:#fffaf0}.chat-heading>span{color:#718373}.chat-form input{background:#fffaf0}.toast{border-radius:12px;background:#233b59;color:#fff6e5}.auth-screen{width:min(430px,100%);padding:24px 28px 36px}.auth-logo{display:none}.auth-art{position:relative;margin:0 -12px 8px}.auth-art img{width:100%;height:180px;object-fit:contain;display:block}.auth-art>span{position:absolute;bottom:0;left:6px;font-size:10px;color:#a2553b;transform:rotate(-5deg)}.auth-brand{color:#a3543d;font-weight:750;margin:12px 0 8px}.auth-screen h1{font-size:32px;font-weight:900}.auth-description{font-size:13px;margin:3px 0 20px}.auth-tabs{background:#e9deca;padding:5px;border:0;border-radius:12px;gap:4px}.auth-tabs button{border:0;border-radius:8px;min-height:44px;font-size:13px}.auth-tabs button.selected{background:#fffaf0;color:#233b59;box-shadow:0 2px 3px #5c4c2c0a;border:0}.auth-submit{box-shadow:0 3px 0 #a74932}.auth-footnote{font-size:10px}#authForm input{background:#fffaf0}
@media(min-width:1000px){.home-hero{min-height:330px}.auth-screen{width:820px;position:relative;padding:55px 440px 55px 24px}.auth-art{position:absolute;right:0;top:50%;width:400px;transform:translateY(-50%);margin:0}.auth-art img{height:300px}.auth-art>span{font-size:15px;bottom:-10px;left:50px}.auth-brand{margin-top:0}}
@media(max-width:760px){.shell{padding-left:20px;padding-right:20px}.topbar{padding:18px 0 15px}.brand strong{font-size:19px}.home-hero{grid-template-columns:1fr 1.15fr;padding:25px 0 18px;gap:0}.hero-copy{padding:0}.hero-copy h1{font-size:42px;margin:8px 0}.hero-copy .section-tag{font-size:10px}.hero-copy p{font-size:11px;margin:9px 0 12px}.hero-stamp{font-size:8px;padding:2px 7px}.table-art{width:115%;max-width:none;margin-right:-4%;transform:rotate(-3deg)}.play-heading{margin:16px 0 13px}.play-heading>span{font-size:10px}.mode-grid{grid-template-columns:1fr;gap:14px}.mode-button,.mode-button.friend{min-height:91px;padding:15px 18px}.table-info{padding:15px 17px;gap:15px}.pot-display{font-size:28px;padding-right:32px}.pot-display:before{font-size:25px}.table-info dl{gap:15px}.table-info dl>div,.table-info dl>div:nth-child(2){font-size:10px}.game-layout{grid-template-columns:1fr}.arena,.game-layout .arena{padding:20px 14px;min-height:450px}.game-layout h2{font-size:24px}.game-layout .hands{gap:25px;margin-top:25px}.chat-panel{height:330px;min-height:330px;max-height:380px}.bottom-nav{border-radius:22px 22px 0 0}}
@media(max-width:370px){.shell{padding-left:14px;padding-right:14px}.hero-copy h1{font-size:36px}.hero-copy p{font-size:10px}.brand small{display:none}.brand strong{font-size:17px}.brand-icon{width:34px;height:36px}.brand{gap:8px}.table-info dl{gap:10px}.table-info dl>div,.table-info dl>div:nth-child(2){font-size:9px}.pot-display{font-size:25px}.game-layout .hands{gap:5px}.game-layout .hand{width:130px}.game-layout h2{font-size:21px}.auth-art img{height:145px}}
.pot-display:after{content:'جایزهٔ میز دونفره';display:block;color:#777568;font-size:10px;font-weight:500;line-height:1.8}.auth-screen input:focus{background:#fffdf6}.mode-icon{font-family:Vazirmatn,sans-serif}.game-layout .hand:focus-visible{outline-color:#efbc58}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.mode-button,.primary,.secondary{transition:none!important}}
