.xj-header__actions [hidden]{display:none!important;}
.xj-account-checking .xj-header__connect,.xj-account-checking .xj-header__partner{visibility:hidden;}
.xj-auth-controls{display:flex;align-items:center;gap:8px;direction:ltr;}
.xj-auth-control{display:grid;place-items:center;width:44px;height:44px;flex:none;padding:0;border:1px solid #ffffff08;border-radius:13px;background:#ffffff08;color:#f4f7fc;cursor:pointer;transition:background .18s,border-color .18s,transform .18s;}
.xj-auth-control:hover,.xj-auth-control[aria-expanded=true]{background:#ffffff12;border-color:#b0c4df38;}
.xj-auth-control:active{transform:translateY(1px);}
.xj-auth-bell svg{width:19px;height:19px;fill:currentColor;}
.xj-auth-avatar{display:grid;place-items:center;width:29px;height:29px;overflow:hidden;border-radius:50%;background:#121b27;border:1px solid #9dafc630;}
.xj-auth-avatar img{display:block;width:100%;height:100%;object-fit:cover;}
.xj-auth-avatar img[data-avatar-fallback]{padding:3px;object-fit:contain;}
.xj-notifications{position:fixed;z-index:85;width:min(320px,calc(100vw - 16px));padding:16px;border:1px solid #8babc44d;border-radius:14px;background:#233247;box-shadow:0 14px 35px #0a192b40;color:#ecf3fc;}
.xj-notifications[hidden]{display:none;}
.xj-notifications h2{font-size:14px;margin:0 0 12px;}
.xj-notifications p{font-size:12px;line-height:1.8;color:#aebed0;margin:0;}
.xj-notification{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 4px;border-top:1px solid #ffffff12;font-size:12px;}
.xj-notification small{display:block;color:#afc4dd;margin-top:4px;}
.xj-notification time{font-size:10px;color:#a5b4c8;white-space:nowrap;}
.xj-notification:focus-visible{outline:2px solid #aecff1;outline-offset:2px;}
@media(max-width:767px){.xj-auth-control{width:40px;height:40px;border-radius:12px;}.xj-auth-controls{gap:7px;}}
@media(prefers-reduced-motion:reduce){.xj-auth-control{transition:none;}}
.xj-account-avatar{width:25px;height:25px;border-radius:7px;object-fit:cover;background:#c6d8e9;color:#243b56;display:grid;place-items:center;flex:none;font-size:12px;font-weight:800;}
.xj-account-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit;}
.xj-race__table tbody tr.xj-race-empty{display:table-row;}
.xj-race__table tbody tr.xj-race-empty td{display:table-cell;width:auto;padding:40px 15px;text-align:center;color:#9db2cb;font-size:13px;}
.xj-race__table .xj-race-empty td::before{display:none;}
@media(max-width:700px){.xj-race__table tbody tr.xj-race-empty{display:block}.xj-race__table tbody tr.xj-race-empty td{display:block}}
.xj-account-name{max-width:48px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;}
.xj-header__connect .xj-action__surface{gap:5px;}
.xj-user-menu{position:fixed;z-index:85;width:210px;padding:7px;border:1px solid #8babc44d;border-radius:14px;background:#233247;box-shadow:0 14px 35px #0a192b40;color:#ecf3fc;}
.xj-user-menu[hidden]{display:none;}
.xj-user-menu a,.xj-user-menu button{display:flex;align-items:center;gap:12px;width:100%;min-height:43px;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:inherit;text-align:start;font:600 13px/1.5 Vazirmatn,Arial,sans-serif;}
.xj-user-menu svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;}
.xj-user-menu a:hover,.xj-user-menu button:hover{background:#ffffff0b;}
.xj-user-menu button{border-top:1px solid #ffffff12;margin-top:4px;color:#f2c6c6;}
.xj-user-menu a:focus-visible,.xj-user-menu button:focus-visible{outline:2px solid #aecff1;outline-offset:-2px;}
.xj-account-dialog{width:min(440px,calc(100vw - 32px));padding:30px;border:1px solid #e9f2fc;border-radius:19px;background:linear-gradient(145deg,#f6f9fd,#e0e7f0);color:#263c56;box-shadow:0 24px 80px #0a162c66;}
.xj-account-dialog::backdrop{background:#111d33a6;backdrop-filter:blur(4px);}
.xj-account-dialog h2{font-size:24px;line-height:1.5;margin:8px 0 12px;}
.xj-account-dialog p{font-size:14px;line-height:1.85;}
.xj-account-dialog__close{position:absolute;inset-block-start:12px;inset-inline-end:14px;border:0;background:transparent;color:#53677e;font-size:26px;width:34px;height:34px;}
.xj-account-dialog__mark{display:grid;place-items:center;width:48px;height:48px;margin-bottom:15px;border-radius:14px;background:#d1e3f5;color:#325d8b;}
.xj-account-dialog__mark svg{width:26px;height:26px;fill:currentColor;}
.xj-telegram-widget .xj-account-button svg{width:20px;height:20px;fill:currentColor;}
.xj-telegram-widget{display:flex;justify-content:center;min-height:52px;margin-top:24px;}
.xj-account-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border:1px solid #819dbf;border-radius:9px;background:linear-gradient(#345a85,#243e60);color:#f4f8ff;font:650 13px/1.5 Vazirmatn,Arial,sans-serif;cursor:pointer;}
.xj-account-button:hover{filter:brightness(1.1);}
.xj-account-button:disabled{opacity:.55;cursor:default;}
.xj-account-button--light{background:#ffffff14;border-color:#ffffff25;color:#dce7f4;}
.xj-account-dialog .xj-account-button{width:100%;margin-top:18px;}
.xj-account-error{color:#aa3446;font-size:13px;line-height:1.75;margin-top:12px;}
.xj-checkout__poster{height:150px;width:100%;object-fit:contain;margin:8px 0 14px;}
.xj-checkout__price{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-block:1px solid #9fadc544;margin-block:12px;gap:10px;font-size:14px;}
.xj-checkout__price strong{font-size:20px;color:#2e5887;}
.xj-checkout__link{display:block;margin-top:16px;font-size:13px;text-align:center;text-decoration:underline;}
.xj-account-page{max-width:1160px;padding-block:32px 70px;}
.xj-account-hero{position:relative;overflow:hidden;border:1px solid #95abc548;border-radius:18px;background:#233145;color:#eaf1f9;text-align:center;box-shadow:0 14px 30px #253a5517;}
.xj-account-hero__cover{height:150px;position:relative;background:radial-gradient(ellipse at 75% 70%,#90b3d838,transparent 48%),linear-gradient(120deg,#18283d,#394c65 54%,#1c2e45);border-bottom:1px solid #bacce321;}
.xj-account-hero__cover::before{content:'';position:absolute;inset:-70%;background:repeating-linear-gradient(135deg,transparent 0 72px,#d5e8ff0b 73px 74px,transparent 75px 150px);transform:rotate(-8deg);}
.xj-account-hero__cover img{width:175px;height:175px;object-fit:contain;opacity:.055;position:absolute;top:-15px;inset-inline-end:6%;}
.xj-account-hero__id{position:absolute;top:14px;inset-inline-end:16px;padding:6px 10px;background:#101e30a6;border:1px solid #ffffff15;border-radius:6px;font:11px/1.5 Arial,sans-serif;color:#9ab9d8;}
.xj-account-hero__id b{color:#e1ecf8;margin-inline-start:6px;}
.xj-profile-avatar{position:relative;display:grid;place-items:center;width:80px;height:80px;margin:-42px auto 0;border:4px solid #233145;border-radius:20px;background:linear-gradient(145deg,#d8e9f8,#849fbe);font-size:32px;font-weight:800;color:#203c5b;overflow:hidden;}
.xj-profile-avatar img{width:100%;height:100%;object-fit:cover;}
.xj-account-hero h1{font-size:28px;line-height:1.5;margin:12px 0 5px;font-weight:750;letter-spacing:-.3px;}
.xj-account-hero__meta{font-size:12px;color:#a8b8cc;line-height:1.8;padding:0 18px 23px;}
.xj-account-tabs{display:flex;gap:5px;padding:5px;margin:14px 0;background:#29374b;border:1px solid #96a9c32c;border-radius:11px;overflow-x:auto;scrollbar-width:none;}
.xj-account-tabs a{flex:1;min-width:0;padding:9px 15px;border-radius:7px;color:#a8bbd1;text-align:center;font-size:13px;font-weight:650;white-space:nowrap;}
.xj-account-tabs a[aria-current=page]{background:#46658b33;color:#e6f0fc;box-shadow:inset 0 1px #adc9e719;}
.xj-account-grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:14px;}
.xj-account-panel{padding:22px;border:1px solid #9fb1ca35;border-radius:14px;background:linear-gradient(145deg,#2d3d52,#26364a);color:#edf3fa;min-width:0;}
.xj-account-panel h2,.xj-account-panel h3{font-size:13px;font-weight:750;color:#c7dcf5;letter-spacing:.6px;margin:0 0 18px;line-height:1.6;}
.xj-account-panel p{font-size:13px;color:#acbed2;line-height:1.9;}
.xj-balance{display:flex;align-items:center;gap:12px;padding-block:10px 18px;border-bottom:1px solid #adbed524;margin-bottom:14px;}
.xj-balance__coin{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;box-shadow:inset 0 0 0 3px #678bad;background:linear-gradient(135deg,#eff7ff,#9cbde0);border:1px solid #d5e8fc;color:#2b527b;font-weight:850;}
.xj-balance strong{font:800 25px/1.4 Arial,sans-serif;}
.xj-balance small{color:#a7bfd6;font-size:11px;margin-inline-start:5px;}
.xj-account-stat{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#aabed5;font-size:12px;line-height:1.8;margin-block:12px;}
.xj-account-stat b{font-family:Arial,sans-serif;color:#f0f5fc;}
.xj-profile-progress{height:5px;margin:14px 0 18px;background:#ffffff10;border-radius:5px;overflow:hidden;}
.xj-profile-progress span{display:block;height:100%;background:#95b6d9;border-radius:inherit;}
.xj-profile-check{display:flex;gap:9px;align-items:center;margin:12px 0;font-size:12px;color:#b8c9dd;}
.xj-profile-check i{width:18px;height:18px;border:1px solid #91b0d266;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:11px;flex:none;}
.xj-profile-check.is-complete i{background:#91b4d4;color:#1f3752;}
.xj-account-empty{min-height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:25px;}
.xj-account-empty svg{width:28px;height:28px;fill:none;stroke:#8eaaca;stroke-width:1.3;}
.xj-account-empty p{margin:0;}
.xj-account-activity{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #ffffff0c;font-size:13px;}
.xj-account-activity small{display:block;color:#90a7bf;font-size:11px;margin-top:3px;}
.xj-profile-bio{display:block;width:100%;resize:vertical;min-height:82px;padding:12px;border:1px solid #94adc542;border-radius:8px;background:#15294166;color:#e2edf9;font:13px/1.8 Vazirmatn,Arial,sans-serif;margin-bottom:12px;}
.xj-profile-edit{margin-top:22px;padding-top:18px;border-top:1px solid #ffffff12;}
.xj-profile-edit label{display:block;font-size:12px;color:#c1d1e3;margin-bottom:8px;}
.xj-friend-form{display:flex;gap:10px;margin-bottom:24px;}
.xj-friend-form input{min-width:0;flex:1;padding:12px;border:1px solid #a6bdd745;border-radius:8px;background:#182c4466;color:#e7f1fc;font:13px/1.5 Arial,sans-serif;}
.xj-friend-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-top:1px solid #ffffff13;}
.xj-friend-row__name{display:flex;align-items:center;gap:10px;min-width:0;font-size:14px;}
.xj-friend-row__name small{display:block;color:#9bb0c8;font-size:11px;}
.xj-friend-row__actions{display:flex;gap:6px;flex-wrap:wrap;}
.xj-orders-list{display:grid;gap:16px;}
.xj-order{border:1px solid #9fb1ca35;border-radius:14px;background:linear-gradient(145deg,#2d3d52,#26364a);color:#edf3fa;padding:22px;}
.xj-order__head{display:flex;justify-content:space-between;gap:20px;align-items:center;}
.xj-order__product{display:flex;align-items:center;gap:16px;min-width:0;}
.xj-order__product img{width:90px;height:66px;object-fit:contain;}
.xj-order h2{font-size:17px;margin-bottom:5px;line-height:1.6;}
.xj-order small{font:11px/1.6 Arial,sans-serif;color:#9eb4cd;}
.xj-order__badge{font-size:12px;padding:6px 12px;border:1px solid #9fbed74d;border-radius:20px;white-space:nowrap;background:#638ab221;color:#d7eaff;}
.xj-order__details{display:flex;justify-content:space-between;gap:16px;margin-block:20px;padding-block:12px;border-block:1px solid #a8bdd222;font-size:12px;color:#a9c0d8;}
.xj-order__steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:22px 0 8px;}
.xj-order__steps li{position:relative;text-align:center;color:#839bb6;font-size:11px;line-height:1.7;}
.xj-order__steps li::before{content:'';position:absolute;top:15px;inset-inline-start:50%;width:calc(100% + 8px);height:1px;background:#809ab32a;}
.xj-order__steps li:last-child::before{display:none;}
.xj-order__steps i{position:relative;display:grid;place-items:center;width:30px;height:30px;margin:0 auto 8px;border:1px solid #829cb64d;border-radius:50%;background:#26374d;font-style:normal;font-size:12px;font-family:Arial,sans-serif;}
.xj-order__steps .is-complete{color:#d6e8fa;}
.xj-order__steps .is-complete i{background:#a5c2e2;color:#244768;border-color:#d0e1f6;}
.xj-order__steps .is-complete::before{background:#a4c2df66;}
.xj-order__steps small{display:block;font-size:10px;min-height:16px;margin-top:3px;}
.xj-voucher-delivery{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:23px;border:1px solid #a1c1a84d;border-radius:9px;padding:14px;background:#73b6920d;}
.xj-voucher-delivery code{color:#d8f1e0;font-size:15px;word-break:break-all;}
.xj-order--cancelled .xj-order__badge{color:#efbec2;border-color:#c8879144;}
.xj-account-loading{padding:80px 20px;text-align:center;color:#526981;font-size:14px;}
.xj-account-page a:focus-visible,.xj-account-page button:focus-visible,.xj-account-dialog button:focus-visible{outline:2px solid #94b9e0;outline-offset:3px;}
@media(max-width:800px){.xj-account-grid{grid-template-columns:220px minmax(0,1fr)}.xj-account-panel{padding:18px}.xj-order__head{align-items:flex-start}.xj-order__badge{font-size:11px;padding:5px 9px}.xj-order__product img{width:64px}}
@media(max-width:600px){.xj-account-page{padding-top:22px}.xj-account-hero__cover{height:120px}.xj-account-hero__id{font-size:9px;inset-inline-end:10px;top:10px}.xj-account-hero h1{font-size:23px}.xj-account-tabs a{padding:9px 7px;font-size:12px}.xj-account-grid{grid-template-columns:1fr}.xj-account-panel{padding:19px}.xj-account-dialog{padding:25px 22px}.xj-order{padding:16px}.xj-order__head{flex-direction:column;gap:12px}.xj-order h2{font-size:15px}.xj-order__product img{width:75px}.xj-order__details{flex-wrap:wrap;gap:6px;margin-block:14px}.xj-order__steps{gap:5px}.xj-order__steps li{font-size:10px}.xj-order__steps small{font-size:9px}.xj-friend-form{flex-wrap:wrap}.xj-friend-form input{flex-basis:100%}.xj-friend-row{flex-wrap:wrap}.xj-account-empty{min-height:130px;padding:20px 8px}.xj-voucher-delivery{flex-wrap:wrap}.xj-account-hero__meta{font-size:11px}.xj-profile-edit{margin-top:16px}}
@media(prefers-reduced-motion:reduce){.xj-account-button{transition:none}}
