/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}}:root{color:#18223b;background:#f5f7ff;font-family:Vazirmatn,sans-serif}*{box-sizing:border-box}body{direction:rtl;min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline-offset:3px;outline:3px solid #7c5cff}.home-shell{background:radial-gradient(circle at 15% 15%,#f6d5ff 0,#0000 30%),radial-gradient(circle at 85% 5%,#b9e5ff 0,#0000 32%),#f8f9ff;min-height:100vh;padding:18px 16px 44px;overflow:hidden}.home-header,.game-header{justify-content:space-between;align-items:center;gap:12px;max-width:1120px;margin:0 auto;display:flex}.brand{align-items:center;gap:8px;font-weight:900;display:flex}.brand span{color:#fff;background:#ec2d51;border:3px solid #fff;border-radius:13px;padding:2px 8px;font-family:sans-serif;font-size:25px;font-style:italic;transform:rotate(-7deg);box-shadow:0 4px 12px #ec2d5166}.brand b{font-size:15px}.icon-button{color:#394563;background:#fff;border:0;border-radius:14px;place-items:center;width:44px;height:44px;transition:all .2s;display:grid;box-shadow:0 6px 20px #5362821c}.icon-button:hover{color:#6845e8;transform:translateY(-2px)}.hero{text-align:center;max-width:680px;margin:34px auto 18px;position:relative}.eyebrow{color:#6d4ee4;justify-content:center;align-items:center;gap:7px;margin:0 0 11px;font-size:14px;font-weight:800;display:flex}.hero h1{letter-spacing:-.8px;margin:0;font-size:clamp(31px,7vw,55px);font-weight:950;line-height:1.28}.hero>p:last-child{color:#66708c;max-width:450px;margin:14px auto;font-size:14px;line-height:2}.floating-card{color:#fff;border:3px solid #fff;border-radius:12px;place-items:center;width:51px;height:73px;font:900 25px sans-serif;display:grid;position:absolute;box-shadow:0 12px 26px #17213d2c}.c-red{background:#ef3753;top:28%;left:1%;transform:rotate(-18deg)}.c-blue{background:#2587ee;top:9%;right:0;transform:rotate(17deg)}.c-green{background:#24b77b;bottom:-3%;right:9%;transform:rotate(27deg)}.setup-card{background:#fff;border:1px solid #e7eaf5;border-radius:25px;max-width:620px;margin:0 auto;padding:17px;box-shadow:0 16px 45px #313f7021}.mode-tabs{background:#f1f3fa;border-radius:16px;grid-template-columns:1fr 1fr;gap:3px;margin-bottom:16px;padding:4px;display:grid}.mode-tabs button{color:#6a748d;background:0 0;border:0;border-radius:12px;justify-content:center;align-items:center;gap:6px;min-height:51px;padding:5px;font-size:12px;font-weight:750;display:flex}.mode-tabs .active{color:#5636cc;background:#fff;box-shadow:0 3px 8px #72799d21}.setup-card label{color:#46516c;font-size:13px;font-weight:750;display:block}.setup-card input{color:#27334f;background:#fbfcff;border:1px solid #dfe4f2;border-radius:12px;width:100%;height:46px;margin-top:7px;padding:0 13px}.choice-row{border-bottom:1px solid #edf0f7;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:14px 0;font-size:13px;font-weight:750;display:flex}.avatar-choice{background:#f4f6fb;border:2px solid #0000;border-radius:50%;width:32px;height:32px;margin-inline-start:3px}.avatar-choice.selected{background:#f0edff;border-color:#7251e6}.stepper{direction:ltr;align-items:center;gap:11px;display:flex}.stepper button{color:#6846dc;background:#f0ecff;border:0;border-radius:9px;width:30px;height:30px;font-size:22px}.stepper b{text-align:center;width:20px}.difficulty{flex-wrap:wrap;align-items:center;gap:7px;padding:14px 0;font-size:13px;font-weight:750;display:flex}.difficulty span{margin-inline-end:auto}.difficulty button{color:#6a748d;background:#fff;border:1px solid #dfe4f2;border-radius:10px;padding:6px 10px}.difficulty .picked{color:#5736cd;background:#ede8ff;border-color:#8f78ed}.start-button{color:#fff;background:linear-gradient(115deg,#6b48df,#8249eb);border:0;border-radius:14px;justify-content:center;align-items:center;gap:7px;width:100%;min-height:52px;font-weight:850;transition:all .2s;display:flex;box-shadow:0 9px 18px #6e49dd55}.start-button:hover{transform:translateY(-2px);box-shadow:0 13px 23px #6e49dd66}.hint{color:#7a839a;text-align:center;margin:13px 0 0;font-size:11px}.game-shell{min-height:100dvh;padding:max(12px,env(safe-area-inset-top)) 12px calc(16px + env(safe-area-inset-bottom));color:#fff;background:radial-gradient(circle at 50% 45%,#496dc4 0,#213a7d 52%,#182c66);position:relative;overflow:hidden}.game-header{z-index:5;position:relative}.header-actions{gap:8px;display:flex}.game-shell .icon-button{box-shadow:none;color:#fff;background:#ffffff1b;border:1px solid #ffffff2b}.turn-pill{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1b;border:1px solid #ffffff26;border-radius:999px;padding:9px 12px;font-size:12px;font-weight:750}.human-dot,.bot-dot{border-radius:50%;width:8px;height:8px;margin-inline-end:5px;display:inline-block}.human-dot{background:#f5dc45;box-shadow:0 0 8px #f5dc45}.bot-dot{background:#7de5ff}.opponents{z-index:2;align-items:stretch;gap:8px;max-width:1100px;min-height:58px;margin:10px auto;padding-bottom:3px;display:flex;position:relative;overflow-x:auto}.opponent{background:#07163a2b;border:1px solid #fff2;border-radius:16px;flex:none;align-items:center;gap:6px;min-width:115px;padding:7px;display:flex;position:relative}.opponent.playing{background:#ffffff24;outline:2px solid #fbdc44}.op-avatar{background:#ffffff1c;border-radius:10px;place-items:center;width:30px;height:30px;font-size:18px;display:grid}.opponent b,.opponent small{white-space:nowrap;text-overflow:ellipsis;max-width:42px;font-size:10px;display:block;overflow:hidden}.opponent small{color:#d5dcff;margin-top:2px}.mini-stack{width:30px;height:36px;margin-right:auto;position:relative}.mini-stack i{background:linear-gradient(135deg,#df304a,#e9b62e,#267bd2);border:1px solid #fff;border-radius:5px;width:20px;height:31px;position:absolute;top:2px}.catch-uno{z-index:8;color:#342200;bottom:-25px;background:#ffcf2c;border:0;border-radius:7px;padding:4px 6px;font-size:10px;font-weight:900;position:absolute;inset-inline-start:6px}.board{text-align:center;background:radial-gradient(#ffffff16,#0000 66%);border-radius:42%;flex-direction:column;justify-content:center;align-items:center;max-width:630px;min-height:245px;margin:0 auto;display:flex}.round{color:#d9e5ff;font-size:12px}.round span{color:#f8d747;padding:0 4px}.table-cards{direction:ltr;align-items:center;gap:19px;margin:13px 0 8px;display:flex}.deck{color:#fff;background:#132b6a;border:3px solid #fff;border-radius:14px;width:88px;height:124px;position:relative;transform:rotate(-5deg);box-shadow:7px 7px #e32949,11px 11px #f4cf31,0 9px 14px #07133066}.deck span{z-index:2;font:italic 900 23px sans-serif;position:relative}.deck:before{content:"";background:#e52c48;border-radius:50%;position:absolute;top:9px;right:9px;bottom:9px;left:9px;transform:rotate(-35deg)}.deck i{z-index:-1;background:#233f8a;border:3px solid #fff;border-radius:13px;width:70px;height:102px;position:absolute}.deck i:first-of-type{top:7px;right:-8px}.deck i:last-of-type{top:12px;right:-13px}.uno-card{color:#fff;border:3px solid #fff;border-radius:13px;flex:none;width:72px;height:104px;transition:all .22s;position:relative;overflow:hidden;box-shadow:0 8px 15px #0d164a55}.uno-card.large{width:91px;height:130px;transform:rotate(5deg)}.color-red{background:#e7354f}.color-blue{background:#2181db}.color-green{background:#1da96c}.color-yellow{background:#efa723}.color-wild{background:conic-gradient(#e53852 0,#e53852 25%,#ecb62b 0,#ecb62b 50%,#28ac74 0,#28ac74 75%,#2487dc 0)}.uno-card:after{content:"";background:#ffffff26;border-radius:50%;width:125%;height:44%;position:absolute;top:28%;right:-12%;transform:rotate(-40deg)}.uno-card strong{z-index:1;text-shadow:1px 2px #0002;font:900 36px sans-serif;position:absolute;top:33%;left:50%;transform:translate(-50%,-50%)}.uno-card em{z-index:1;font:italic 900 9px sans-serif;position:absolute;bottom:10px;left:0;right:0}.uno-card .corner{font-size:14px;top:12px;left:auto;right:8px;transform:none}.status-message{color:#edf2ff;background:#ffffff13;border-radius:12px;min-height:24px;margin:2px 0;padding:5px 12px;font-size:11px}.hand-area{z-index:3;max-width:900px;margin:0 auto;position:relative}.hand-top{justify-content:space-between;align-items:center;padding:0 4px;display:flex}.hand-top>div{align-items:center;gap:7px;font-size:12px;display:flex}.hand-top span{font-size:23px}.hand-top small{color:#cedbff;font-size:10px}.uno-button{color:#fff;background:#e6344d;border:2px solid #fff;border-radius:12px;align-items:center;gap:4px;padding:7px 11px;font-weight:900;animation:1s infinite pulse;display:flex}.uno-button svg{width:17px}.hand{direction:ltr;justify-content:center;align-items:end;height:136px;padding-top:12px;display:flex;overflow-x:auto}.card-button{cursor:not-allowed;opacity:.72;transform-origin:bottom;border:3px solid #f7f8ff;margin:0 -10px}.card-button:nth-child(odd){transform:rotate(-2deg)translateY(3px)}.card-button:nth-child(2n){transform:rotate(2deg)}.card-button.playable{opacity:1;cursor:pointer}.card-button.playable:hover{z-index:4;transform:translateY(-14px)rotate(0);box-shadow:0 13px 22px #090f3566}.card-button:disabled{pointer-events:none}.modal-back,.pass-overlay{z-index:20;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#071330a8;place-items:center;padding:18px;display:grid;position:fixed;top:0;right:0;bottom:0;left:0}.color-modal,.winner-modal,.settings-modal{text-align:center;color:#202b46;background:#fff;border-radius:25px;width:100%;max-width:400px;padding:28px 20px;position:relative;box-shadow:0 18px 55px #060d29aa}.close{color:#59637b;background:#f0f2f8;border:0;border-radius:50%;width:32px;height:32px;position:absolute;top:12px;left:12px}.color-modal h2,.winner-modal h2,.settings-modal h2{margin:0 0 18px;font-size:20px}.color-modal>div{grid-template-columns:1fr 1fr;gap:10px;display:grid}.color-choice{color:#fff;border:0;border-radius:13px;min-height:53px;font-weight:800;box-shadow:inset 0 -3px #0002}.winner-modal>svg{color:#e9a921;width:52px;height:52px;margin-bottom:7px}.winner-modal p{color:#6e7890;font-size:13px}.winner-modal button,.settings-modal>button,.pass-overlay button{color:#fff;background:#6745db;border:0;border-radius:13px;justify-content:center;align-items:center;gap:7px;width:100%;min-height:47px;margin-top:9px;font-weight:800;display:flex}.winner-modal .secondary{color:#56617a;background:#edf0f7}.settings-modal>button{color:#37415c;background:#f2f3f9}.settings-modal>button:last-child{color:#c7344e;background:#fef0f2}.pass-overlay{text-align:center;color:#fff}.pass-overlay svg{color:#f8d748}.pass-overlay h2{margin:14px 0 6px}.pass-overlay p{color:#dce4ff;font-size:13px}.pass-overlay button{color:#322200;background:#f3cb36;width:min(260px,100%);margin-inline:auto}@keyframes pulse{50%{opacity:.5}}@media(min-width:700px){.home-shell{padding-top:25px}.setup-card{padding:21px 25px}.hero{margin-top:44px}.game-shell{padding-inline:26px}.opponents{justify-content:center}.opponent{min-width:132px}.board{min-height:300px}.hand{height:156px}.card-button{width:86px;height:124px;margin:0 -9px}.card-button strong{font-size:43px}.game-header{padding:0 10px}}@media(max-width:420px){.floating-card{width:42px;height:60px;font-size:21px}.c-green{right:0}.hero{margin-top:27px}.game-shell{padding-inline:8px}.turn-pill{padding:8px;font-size:10px}.opponents{margin-top:7px}.opponent{min-width:103px}.board{min-height:210px}.deck{width:72px;height:103px}.uno-card.large{width:76px;height:110px}.status-message{font-size:10px}.hand{height:129px}.card-button{margin:0 -13px}.hand-top{font-size:11px}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}
