@font-face{font-family:Vazirmatn;src:local('Vazirmatn'),local('Tahoma')}*{box-sizing:border-box}body{margin:0;background:#eef4fb;color:#111827;font-family:Vazirmatn,Tahoma,Arial,sans-serif;font-size:16px;font-weight:700}a{text-decoration:none;color:inherit}button,input,textarea,select{font-family:inherit}.container{width:min(1180px,calc(100% - 32px));margin:0 auto}.site-header{background:#fff;box-shadow:0 8px 28px rgba(15,23,42,.08);position:sticky;top:0;z-index:20}.top-notice{background:#1457ff;color:#fff;text-align:center;padding:8px 12px}.header-main{height:76px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:900;color:#075fff;white-space:nowrap}.brand img{max-width:150px;max-height:48px;object-fit:contain}.brand-mark{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#0f6bff,#0632b8);color:#fff;display:grid;place-items:center;font-size:15px}.header-search{flex:1;max-width:560px;height:48px;border:1px solid #e5e7eb;border-radius:999px;display:flex;align-items:center;background:#fff;overflow:hidden}.header-search input{border:0;outline:0;flex:1;padding:0 14px;background:transparent;color:#111827;font-weight:600}.header-search button{border:0;background:transparent;font-size:28px;width:56px;cursor:pointer}.header-actions{display:flex;align-items:center;gap:14px;font-weight:800;color:#374151}.divider{width:1px;height:28px;background:#e5e7eb}.cart{display:flex;align-items:center;gap:8px}.cart b{width:36px;height:36px;border:2px solid #075fff;color:#075fff;display:grid;place-items:center}.mobile-toggle{display:none;border:0;background:#075fff;color:#fff;border-radius:10px;padding:10px 12px;font-size:18px}.main-nav{border-top:1px solid #f1f5f9}.nav-inner{display:flex;justify-content:flex-end;align-items:center;gap:28px;height:56px}.nav-item{font-size:17px;font-weight:900;position:relative}.has-dropdown>a{display:flex;gap:6px;align-items:center}.dropdown-panel{display:none;position:absolute;right:0;top:36px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 18px 44px rgba(15,23,42,.14);width:310px;padding:12px;z-index:50}.has-dropdown:hover .dropdown-panel{display:grid;grid-template-columns:1fr;gap:6px}.dropdown-panel a{display:flex;align-items:center;gap:10px;border-radius:12px;padding:9px}.dropdown-panel a:hover{background:#f1f6ff}.dropdown-icon{width:34px;height:34px;border-radius:10px;object-fit:cover;display:grid;place-items:center;background:#edf4ff;font-size:20px}.hero{padding-top:34px}.hero-card{background:linear-gradient(135deg,#1268ff 0%,#0642c9 48%,#062779 100%);min-height:270px;border-radius:30px;padding:40px;display:grid;grid-template-columns:300px 1fr;gap:48px;align-items:center;color:#fff;box-shadow:0 24px 58px rgba(7,64,180,.24);position:relative;overflow:hidden}.hero-card:before{content:"";position:absolute;inset:-80px auto auto -90px;width:320px;height:320px;border-radius:50%;background:rgba(255,255,255,.08)}.hero-visual{width:250px;height:190px;border-radius:28px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);display:grid;place-items:center;text-align:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.25)}.hero-icon{font-size:58px}.hero-visual strong{font-size:26px}.hero-content{position:relative;z-index:1}.hero-content h1{font-size:48px;line-height:1.25;margin:0 0 10px;font-weight:1000}.hero-content p{font-size:18px;color:#dce8ff;margin:0 0 24px}.hero-search{max-width:620px;height:62px;background:#fff;border-radius:18px;padding:7px;display:flex;align-items:center;box-shadow:0 16px 35px rgba(3,20,64,.18)}.hero-search input{border:0;outline:0;flex:1;font-size:16px;padding:0 14px;color:#111827}.hero-search button{border:0;background:#0968ff;color:#fff;border-radius:13px;padding:0 24px;height:48px;font-size:16px;font-weight:900;cursor:pointer}.games-section{padding:28px 0 48px}.section-head{display:flex;align-items:end;justify-content:space-between;margin:10px 0 18px}.section-head h2{font-size:34px;margin:0;font-weight:1000}.section-head p{margin:0;color:#64748b;font-size:16px}.game-list-panel{background:#fff;border-radius:28px;padding:28px;box-shadow:0 14px 34px rgba(15,23,42,.08)}.single-panel{min-height:350px}.games-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px}.all-games-list{grid-template-columns:repeat(2,minmax(0,1fr))}.game-row{display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:14px;min-height:78px;padding:10px 12px;border-radius:18px;transition:.18s;background:linear-gradient(90deg,#fff,#f8fbff)}.game-row:hover{background:#eef5ff;transform:translateY(-1px)}.game-icon{width:54px;height:54px;border-radius:16px;background:#edf4ff;display:grid;place-items:center;object-fit:cover;font-size:28px;box-shadow:inset 0 0 0 1px #dbeafe}.game-text{display:grid;gap:5px}.game-text strong{font-size:20px;color:#111827}.game-text small{font-size:13px;color:#64748b;font-weight:700}.game-row em{font-style:normal;color:#075fff;font-size:14px;background:#edf4ff;border-radius:999px;padding:7px 12px;white-space:nowrap}.site-footer{background:#e6eef7;padding:26px 0;margin-top:20px}.footer-inner{display:flex;justify-content:space-between;color:#475569}.game-page{padding:40px 0}.game-hero{background:#fff;border-radius:28px;padding:34px;display:flex;gap:20px;align-items:center;box-shadow:0 14px 34px rgba(15,23,42,.08)}.game-page-icon{width:88px;height:88px;border-radius:24px;object-fit:cover;background:#edf4ff;display:grid;place-items:center;font-size:48px}.empty-listing{background:#fff;border-radius:28px;padding:28px;margin-top:24px}.back-home{margin-right:auto;color:#075fff}.login-body{min-height:100vh;display:grid;place-items:center;background:#eef4fb}.login-card{width:min(420px,calc(100% - 32px));background:#fff;border-radius:24px;padding:28px;box-shadow:0 16px 40px rgba(15,23,42,.1);display:grid;gap:16px}.login-card h1{margin:0}.login-card label,.admin-form label{display:grid;gap:8px;color:#334155}.login-card input,.admin-form input,.admin-form textarea,.admin-form select,.menu-row input,.media-card input{border:1px solid #dbe3ef;border-radius:12px;padding:12px 14px;outline:0;background:#fff;font-weight:700}.login-card button,.primary-btn{border:0;background:#075fff;color:#fff;border-radius:12px;padding:12px 18px;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.secondary-btn{border:1px solid #075fff;background:#fff;color:#075fff;border-radius:12px;padding:11px 16px;font-weight:900;cursor:pointer}.alert{padding:12px 14px;border-radius:12px;margin:10px 0}.alert.error{background:#fee2e2;color:#991b1b}.alert.success{background:#dcfce7;color:#166534}.admin-body{display:grid;grid-template-columns:250px 1fr;min-height:100vh;background:#f1f5f9}.admin-sidebar{background:#0f172a;color:#fff;padding:24px;display:flex;flex-direction:column;gap:8px}.admin-sidebar h2{margin:0 0 16px}.admin-sidebar a{padding:12px;border-radius:12px;color:#e2e8f0}.admin-sidebar a:hover{background:#1e293b}.admin-main{padding:28px;overflow:auto}.admin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.admin-tile,.builder-info a{background:#fff;border-radius:18px;padding:20px;box-shadow:0 10px 26px rgba(15,23,42,.07);display:grid;gap:8px}.admin-tile strong{font-size:20px}.admin-tile span{color:#64748b}.admin-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.admin-table-wrap{overflow:auto;background:#fff;border-radius:18px}.admin-table{width:100%;border-collapse:collapse;background:#fff;border-radius:18px;overflow:hidden}.admin-table th,.admin-table td{padding:14px;border-bottom:1px solid #eef2f7;text-align:right}.admin-table th{background:#eaf1fb}.admin-thumb{width:46px;height:46px;border-radius:12px;object-fit:cover;background:#edf4ff;display:grid;place-items:center;font-size:24px}.admin-big-thumb{width:92px;height:92px;border-radius:22px;object-fit:cover;background:#edf4ff;display:grid;place-items:center;font-size:48px}.actions{display:flex;gap:10px;align-items:center}.actions button{border:0;background:#fee2e2;color:#991b1b;border-radius:10px;padding:8px 12px;cursor:pointer}.admin-form{background:#fff;border-radius:22px;padding:24px;display:grid;gap:16px;max-width:760px;box-shadow:0 10px 26px rgba(15,23,42,.07)}.wide-form{max-width:1100px}.form-grid.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:8px}.menu-editor{display:grid;gap:10px}.menu-row{display:grid;grid-template-columns:1fr 1fr auto auto;gap:10px;align-items:center;background:#f8fafc;border-radius:14px;padding:12px}.media-upload{max-width:900px;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}.media-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-top:22px}.media-card{background:#fff;border-radius:18px;padding:12px;display:grid;gap:10px;box-shadow:0 10px 26px rgba(15,23,42,.07)}.media-card img{width:100%;height:130px;object-fit:cover;border-radius:14px;background:#edf4ff}.media-card button{border:0;border-radius:10px;background:#eaf1ff;color:#075fff;padding:9px;font-weight:900;cursor:pointer}.builder-layout{display:grid;grid-template-columns:280px 1fr;gap:18px}.builder-info{display:grid;gap:12px;align-content:start}.preview-frame{width:100%;height:760px;border:0;border-radius:22px;background:#fff;box-shadow:0 10px 26px rgba(15,23,42,.07)}.custom-page{background:#fff;border-radius:24px;margin-top:32px;padding:30px}.custom-html{font-weight:500;line-height:2}@media (max-width:960px){.header-main{height:auto;padding:14px 0;flex-wrap:wrap}.header-search{order:3;max-width:none;flex-basis:100%}.header-actions{margin-right:auto}.mobile-toggle{display:block}.main-nav{display:none}.main-nav.open{display:block}.nav-inner{height:auto;padding:12px 0;display:grid;gap:8px}.dropdown-panel{position:static;width:auto;box-shadow:none;margin-top:8px}.hero-card{grid-template-columns:1fr;padding:28px}.hero-visual{width:100%;height:150px}.hero-content h1{font-size:34px}.games-list,.all-games-list{grid-template-columns:1fr}.admin-body{grid-template-columns:1fr}.admin-sidebar{position:static}.admin-grid,.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.menu-row,.media-upload,.builder-layout,.form-grid.two{grid-template-columns:1fr}}@media (max-width:560px){body{font-size:14px}.container{width:min(100% - 20px,1180px)}.brand strong{font-size:18px}.header-actions{font-size:13px;gap:8px}.hero{padding-top:18px}.hero-card{border-radius:22px;padding:20px}.hero-content h1{font-size:28px}.hero-search{height:auto;display:grid;padding:8px}.hero-search button{width:100%}.game-list-panel{padding:14px;border-radius:20px}.game-row{grid-template-columns:46px 1fr;min-height:72px}.game-row em{grid-column:2;font-size:12px;width:max-content}.game-icon{width:46px;height:46px}.game-text strong{font-size:17px}.section-head h2{font-size:28px}.media-grid,.admin-grid{grid-template-columns:1fr}}

/* Waria patch: polished header, hero banner, stable media picker */
.site-header{background:rgba(255,255,255,.96);backdrop-filter:blur(18px);border-bottom:1px solid rgba(226,232,240,.9);box-shadow:0 14px 36px rgba(15,23,42,.08)}
.header-main{height:82px}.brand{padding:7px 10px;border-radius:18px;transition:.18s}.brand:hover{background:#f4f8ff}.brand-mark{box-shadow:0 12px 26px rgba(7,95,255,.26)}
.header-search{height:54px;border-color:#dbe7f7;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:inset 0 1px 0 #fff,0 10px 24px rgba(15,23,42,.05)}
.header-search:focus-within{border-color:#7db2ff;box-shadow:0 0 0 4px rgba(7,95,255,.08)}
.header-actions a{padding:10px 12px;border-radius:14px;transition:.18s}.header-actions a:hover{background:#eef5ff;color:#075fff}.cart b{border-radius:10px;background:#fff;box-shadow:0 8px 18px rgba(7,95,255,.12)}
.nav-inner{height:62px;gap:22px}.main-nav{background:linear-gradient(180deg,#fff,#fbfdff)}.nav-item{padding:12px 6px;border-radius:13px;transition:.18s}.nav-item:hover{color:#075fff;background:#f1f6ff}.dropdown-panel{top:44px;max-height:430px;overflow:auto}.dropdown-panel a{font-size:15px}
.hero{padding-top:34px}.hero-banner-link{display:block;border-radius:30px;overflow:hidden;box-shadow:0 28px 70px rgba(7,64,180,.22);background:#0c56df;line-height:0}.hero-banner-img{display:block;width:100%;height:auto;aspect-ratio:1050/438;object-fit:cover}
.games-section{padding-top:42px}.section-head h2{letter-spacing:-1px}.game-list-panel{border:1px solid #e9f1fb}.game-row{border:1px solid transparent}.game-row:hover{border-color:#dbeafe;box-shadow:0 12px 28px rgba(15,23,42,.08)}
.media-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 12px;color:#334155}.media-toolbar span{color:#64748b;font-size:13px}.empty-admin-box{background:#fff;border-radius:18px;padding:22px;color:#64748b}.compact-media-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}.media-row-card{background:#fff;border:1px solid #e6eef8;border-radius:14px;padding:10px;display:grid;grid-template-columns:50px 1fr auto;gap:10px;align-items:center}.media-row-card img{width:50px;height:50px;border-radius:12px;object-fit:cover;background:#edf4ff}.media-row-card input{min-width:0;border:1px solid #dbe3ef;border-radius:10px;padding:10px;font-size:12px;direction:ltr;text-align:left}.media-row-card button{border:0;border-radius:10px;background:#eaf1ff;color:#075fff;padding:10px;font-weight:900;cursor:pointer;white-space:nowrap}.media-picker{background:#f8fbff;border:1px solid #e6eef8;border-radius:18px;padding:14px;display:grid;gap:12px}.media-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,50px);gap:9px}.media-pick-item{width:50px;height:50px;border-radius:12px;overflow:hidden;border:2px solid transparent;background:#edf4ff;cursor:pointer;padding:0!important;display:block!important}.media-pick-item input{display:none}.media-pick-item img{width:50px;height:50px;object-fit:cover;display:block}.media-pick-item:has(input:checked),.media-pick-item.selected{border-color:#075fff;box-shadow:0 0 0 3px rgba(7,95,255,.13)}
@media (max-width:960px){.header-main{height:auto}.hero-banner-link{border-radius:22px}.nav-inner{gap:8px}.compact-media-list{grid-template-columns:1fr}.media-upload{grid-template-columns:1fr 1fr}.media-row-card{grid-template-columns:50px 1fr}}
@media (max-width:560px){.hero{padding-top:20px}.hero-banner-link{border-radius:18px}.media-upload{grid-template-columns:1fr}.media-row-card{grid-template-columns:50px 1fr}.media-row-card button{grid-column:2}.header-actions a{padding:8px 6px}}


/* Waria patch v2: smoother shop-like header, right-aligned nav, cleaner games list */
body{font-family:"Vazirmatn","Yekan Bakh","IRANSansX",Tahoma,Arial,sans-serif;font-weight:800;background:linear-gradient(180deg,#f7fbff 0,#edf5ff 100%);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.site-header{background:rgba(255,255,255,.98);box-shadow:0 10px 30px rgba(15,23,42,.07);border-bottom:1px solid #eaf1fb}.header-main{height:86px;gap:30px}.brand{font-weight:1000;color:#075fff;font-size:26px;padding:8px 12px}.brand img{max-width:170px;max-height:54px}.brand-mark{width:50px;height:50px;border-radius:17px;background:linear-gradient(135deg,#1975ff,#053cc8);box-shadow:0 14px 32px rgba(7,95,255,.26)}.header-search{height:56px;max-width:620px;border:1px solid #dbe8f7;background:#fff;box-shadow:0 12px 28px rgba(30,64,175,.06)}.header-search input{font-size:16px;font-weight:800}.header-actions{font-weight:900;color:#1f2937}.header-actions a{border-radius:16px}.cart b{width:40px;height:40px;border-radius:12px;background:#fff;border-color:#0867ff;color:#0867ff;font-size:18px}.main-nav{background:#fff;border-top:1px solid #eff4fb;border-bottom:1px solid #e6eef8}.nav-inner{height:64px;justify-content:flex-start;gap:12px}.nav-item{font-size:18px;font-weight:1000;color:#0f172a;padding:13px 16px;border-radius:16px;transition:.2s ease}.nav-item:hover,.has-dropdown:hover>a{background:linear-gradient(180deg,#eef6ff,#f8fbff);color:#075fff}.has-dropdown>a{padding:13px 16px;border-radius:16px}.dropdown-panel{top:54px;border-radius:22px;border-color:#e0ebf8;box-shadow:0 24px 60px rgba(15,23,42,.17)}.dropdown-panel a{font-size:15px;font-weight:900}.hero{padding-top:28px}.hero-banner-link{border-radius:28px;box-shadow:0 28px 66px rgba(11,69,165,.20)}.games-section{padding-top:40px}.section-head{justify-content:flex-start}.games-title-only h2{font-size:40px;font-weight:1000;line-height:1;margin-bottom:8px}.game-list-panel{padding:26px;border-radius:30px;background:rgba(255,255,255,.96);box-shadow:0 18px 45px rgba(15,23,42,.08);border:1px solid #e8f1fb}.games-list,.all-games-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.game-row{grid-template-columns:56px 1fr;min-height:78px;padding:12px 14px;border:1px solid #edf3fb;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 8px 22px rgba(15,23,42,.035)}.game-row:hover{background:#f1f7ff;border-color:#d7e9ff;box-shadow:0 14px 32px rgba(15,23,42,.08);transform:translateY(-2px)}.game-icon{width:56px;height:56px;border-radius:17px}.game-text strong{font-size:20px;font-weight:1000;color:#0f172a}.game-text small,.game-row em{display:none!important}.media-open-box{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f8fbff;border:1px dashed #cfe0f7;border-radius:18px;padding:14px;color:#475569}.media-open-box .secondary-btn{white-space:nowrap}.media-picker{border-radius:20px;background:#f8fbff}.media-picker strong{font-size:16px}.media-picker-grid{grid-template-columns:repeat(auto-fill,50px)}.media-pick-item{transition:.15s}.media-pick-item:hover{transform:translateY(-2px);border-color:#85b8ff}.compact-media-list{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.media-row-card{box-shadow:0 8px 22px rgba(15,23,42,.045)}
@media (max-width:1100px){.games-list,.all-games-list{grid-template-columns:repeat(2,minmax(0,1fr))}.nav-inner{gap:6px}.nav-item,.has-dropdown>a{font-size:16px;padding:11px 10px}}
@media (max-width:960px){.nav-inner{justify-content:flex-start}.games-list,.all-games-list{grid-template-columns:1fr}.header-main{gap:14px}.media-open-box{display:grid}.hero-banner-link{border-radius:22px}}
@media (max-width:560px){.games-title-only h2{font-size:32px}.game-row{grid-template-columns:50px 1fr}.game-icon{width:50px;height:50px}.game-text strong{font-size:18px}.header-main{padding:12px 0}.brand{font-size:20px}.cart b{width:36px;height:36px}}

/* Waria patch v3: horizontal mobile-app style header, English game names, cleaner admin */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(20px);border-bottom:1px solid rgba(219,234,254,.9);box-shadow:0 10px 35px rgba(15,23,42,.07)}
.header-main{height:78px;gap:22px}.brand{order:1;display:flex;align-items:center;gap:10px;font-size:25px;font-weight:1000;color:#075fff;letter-spacing:-.5px}.brand img{max-height:52px;max-width:170px}.brand-mark{width:50px;height:50px;border-radius:18px;background:linear-gradient(145deg,#0b7cff,#0642c9);box-shadow:0 16px 34px rgba(7,95,255,.28)}.header-search{order:2;max-width:640px;height:54px;border:1px solid #dceafe;background:rgba(255,255,255,.96);box-shadow:0 12px 28px rgba(37,99,235,.06)}.header-actions{order:3;margin-right:auto;white-space:nowrap}.main-nav{background:rgba(255,255,255,.95);border-top:1px solid #edf4ff;border-bottom:1px solid #e7f0fb;overflow:visible}.nav-inner{height:58px;display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:nowrap;overflow-x:auto;overflow-y:visible;scrollbar-width:none}.nav-inner::-webkit-scrollbar{display:none}.nav-item,.has-dropdown>a{white-space:nowrap;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:1000;line-height:1;padding:13px 14px;border-radius:999px;color:#111827;transition:.18s ease}.nav-item:hover,.has-dropdown:hover>a{background:#eef6ff;color:#075fff;box-shadow:inset 0 0 0 1px #dbeafe}.dropdown-panel{top:48px;right:0;width:330px;max-height:430px;overflow:auto}.hero{padding-top:28px}.hero-banner-link{border-radius:28px;box-shadow:0 22px 55px rgba(14,82,200,.22);border:1px solid rgba(255,255,255,.55)}.section-head.games-title-only{margin-top:18px}.games-title-only h2{font-size:38px;font-weight:1000;color:#111827}.game-list-panel{background:rgba(255,255,255,.96);border:1px solid #e7f0fb;box-shadow:0 18px 48px rgba(15,23,42,.08)}.games-list,.all-games-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.game-row{grid-template-columns:56px 1fr;gap:13px;min-height:82px;border-radius:20px;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);border:1px solid #eef4fc;box-shadow:0 8px 22px rgba(15,23,42,.035)}.game-row:hover{transform:translateY(-2px);background:#f2f7ff;border-color:#d9eaff;box-shadow:0 14px 32px rgba(15,23,42,.08)}.game-icon{width:56px;height:56px;border-radius:18px}.game-text{gap:3px}.game-text strong{font-size:20px;line-height:1.35;font-weight:1000;color:#111827}.game-text small{display:block!important;font-size:12px;line-height:1.2;color:#64748b;font-weight:900;direction:ltr;text-align:right}.game-row em{display:none!important}.game-english{display:block;direction:ltr;text-align:right;color:#64748b;font-weight:900;margin-top:-6px;margin-bottom:12px}.admin-body{background:#f3f6fb;grid-template-columns:260px 1fr;font-weight:800}.admin-sidebar{background:#101828;color:#dbe4f0;border-left:1px solid rgba(255,255,255,.08);box-shadow:18px 0 50px rgba(15,23,42,.08);min-height:100vh;padding:18px}.admin-brand{display:flex;align-items:center;gap:10px;color:#fff;margin-bottom:18px}.admin-brand span{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#0b7cff,#0642c9);font-weight:1000}.admin-brand strong{font-size:18px}.admin-sidebar h2{display:none}.admin-sidebar nav{display:grid;gap:6px}.admin-sidebar a{color:#dbe4f0;border-radius:13px;padding:12px 13px;font-weight:900}.admin-sidebar a:hover{background:#1d2939;color:#fff}.admin-main{padding:28px}.admin-top h1{font-size:30px;margin:0}.admin-form,.admin-table-wrap,.admin-panel-list,.bulk-toolbar{border:1px solid #e4edf8;box-shadow:0 14px 35px rgba(15,23,42,.06)}.menu-row{grid-template-columns:minmax(160px,1fr) minmax(200px,1.4fr) auto auto auto}.danger-check{color:#dc2626}.bulk-toolbar{background:#fff;border-radius:18px;padding:14px;margin-bottom:14px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.bulk-toolbar select{border:1px solid #dbe3ef;border-radius:12px;padding:10px 12px;font-weight:900}.bulk-toolbar span{color:#64748b;font-size:13px}.status-pill{border-radius:999px;padding:6px 12px;font-size:12px;font-weight:1000}.status-pill.ok{background:#dcfce7;color:#166534}.status-pill.off{background:#fee2e2;color:#991b1b}.dashboard-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-card strong{font-size:34px;color:#075fff}.admin-panel-list{background:#fff;border-radius:22px;padding:14px;display:grid;gap:8px;margin-top:18px}.admin-panel-list a{border-radius:14px;padding:14px;background:#f8fbff;color:#111827;font-weight:1000}.admin-panel-list a:hover{background:#eef6ff;color:#075fff}.games-admin-table td,.games-admin-table th{white-space:nowrap}.games-admin-table td:nth-child(4){direction:ltr;text-align:right;color:#64748b;font-weight:900}
@media (max-width:1150px){.header-main{gap:14px}.nav-item,.has-dropdown>a{font-size:15px;padding:12px 10px}.games-list,.all-games-list{grid-template-columns:repeat(2,minmax(0,1fr))}.header-search{max-width:520px}.menu-row{grid-template-columns:1fr 1fr}}
@media (max-width:960px){.header-main{height:auto;padding:12px 0;display:grid;grid-template-columns:1fr auto;gap:10px}.brand{order:1}.mobile-toggle{display:block;order:2}.header-search{order:3;grid-column:1/-1;max-width:none}.header-actions{order:4;grid-column:1/-1;margin:0;justify-content:space-between}.main-nav{display:block}.nav-inner{height:auto;padding:10px 0;justify-content:flex-start}.main-nav:not(.open) .nav-inner{max-height:56px}.dropdown-panel{position:fixed;right:12px;left:12px;top:150px;width:auto}.admin-body{display:block}.admin-sidebar{min-height:auto;position:static}.admin-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-main{padding:18px}.dashboard-cards{grid-template-columns:1fr}.games-list,.all-games-list{grid-template-columns:1fr}.menu-row{grid-template-columns:1fr}.bulk-toolbar{display:grid}}
@media (max-width:560px){.container{width:min(100% - 22px,1180px)}.brand{font-size:21px}.brand-mark{width:44px;height:44px}.header-actions{font-size:13px}.nav-inner{gap:6px}.nav-item,.has-dropdown>a{font-size:14px;padding:10px 12px}.hero-banner-link{border-radius:18px}.games-title-only h2{font-size:31px}.game-list-panel{padding:14px;border-radius:22px}.game-row{grid-template-columns:50px 1fr;min-height:76px;padding:10px;border-radius:17px}.game-icon{width:50px;height:50px}.game-text strong{font-size:17px}.game-text small{font-size:11px}.admin-sidebar nav{grid-template-columns:1fr}}

/* 2026-05-19 clean patch: warmer font, smoother header, media manager */
:root{--wm-blue:#0b6cff;--wm-blue-dark:#0647c9;--wm-ink:#111827;--wm-soft:#eef6ff}
body,button,input,textarea,select{font-family:IRANYekan,"IRANYekanX","Yekan Bakh",Vazirmatn,Tahoma,Arial,sans-serif!important}
body{font-weight:700;letter-spacing:-.01em}.site-header{z-index:999;background:rgba(255,255,255,.97);backdrop-filter:saturate(160%) blur(12px)}
.header-main{gap:24px}.brand{font-weight:1000;letter-spacing:-.04em}.header-search{box-shadow:0 14px 34px rgba(16,91,220,.08);border-color:#dce8ff}.header-actions a{transition:.18s ease}.header-actions a:hover{color:var(--wm-blue)}
.main-nav{position:relative;z-index:1000;overflow:visible}.nav-inner{justify-content:flex-start;gap:18px;overflow:visible!important;white-space:nowrap}.nav-item,.has-dropdown>a{position:relative;background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:18px 2px 16px!important;font-size:16px!important;line-height:1!important;color:#111827!important;white-space:nowrap!important}.nav-item:after,.has-dropdown>a:after{content:"";position:absolute;right:0;left:0;bottom:7px;height:3px;border-radius:99px;background:linear-gradient(90deg,var(--wm-blue),#38bdf8);transform:scaleX(0);transform-origin:right;transition:.2s ease}.nav-item:hover:after,.has-dropdown:hover>a:after{transform:scaleX(1)}.nav-item:hover,.has-dropdown:hover>a{color:var(--wm-blue)!important}.has-dropdown{position:relative}.dropdown-panel{z-index:2000!important;top:54px!important;right:0!important;box-shadow:0 22px 55px rgba(15,23,42,.18)!important}.hero,.hero-banner-link,.hero-banner-img{position:relative;z-index:1}.game-row em,.ad-count,.game-count{display:none!important}.game-text strong{font-weight:1000}.game-text small{opacity:.88}
.admin-sidebar a[href$="page-builder.php"],.admin-sidebar a[href$="code-check.php"]{display:none!important}.admin-table .actions{display:flex;align-items:center;gap:10px}.admin-table .actions a{display:inline-flex;align-items:center;justify-content:center;min-width:76px;height:36px;border-radius:12px;background:#eef6ff;color:var(--wm-blue);font-weight:1000}.admin-table .actions form{display:none!important}.bulk-toolbar select option[value="delete"]{display:none}.current-image{display:flex;align-items:center;justify-content:center;min-height:96px}.media-open-box{display:none!important}.compact-media-picker{padding:18px;border:1px dashed #cfe0f5;border-radius:20px;background:#f8fbff}.media-picker-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.media-picker-head strong{font-size:17px;color:#111827}.media-picker-head small{color:#64748b;font-weight:800}.media-picker-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(58px,1fr));gap:10px}.media-pick-item{width:58px;height:58px;border-radius:16px;border:2px solid transparent;background:#fff;display:grid;place-items:center;cursor:pointer;overflow:hidden;transition:.15s ease;box-shadow:0 8px 20px rgba(15,23,42,.05)}.media-pick-item:hover{transform:translateY(-2px);border-color:#93c5fd}.media-pick-item.selected{border-color:var(--wm-blue);box-shadow:0 0 0 4px rgba(11,108,255,.12)}.media-pick-item input{display:none}.media-pick-item img{width:100%;height:100%;object-fit:cover}.media-grid-manager{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))!important;gap:16px}.media-card{border:1px solid #e4edf8;border-radius:20px;background:#fff;padding:10px;box-shadow:0 12px 28px rgba(15,23,42,.05)}.media-card img{width:100%;height:120px;object-fit:cover;border-radius:15px;background:#f2f7ff}.media-card input{width:100%;height:36px;margin-top:8px;border:1px solid #dce7f6;border-radius:10px;padding:0 8px;direction:ltr;text-align:left;font-size:12px}.media-card-actions{display:flex;gap:8px;margin-top:8px}.media-card-actions button{flex:1;border:0;border-radius:10px;height:34px;font-weight:1000;cursor:pointer;background:#eef6ff;color:var(--wm-blue)}.media-card-actions form{flex:1}.media-card-actions .danger-btn{width:100%;background:#fee2e2;color:#b91c1c}.admin-form label:has(input[name="ads_count"]),.admin-form label:has(input[name="sort_order"]){display:none!important}
@media (max-width:1150px){.nav-inner{gap:12px}.nav-item,.has-dropdown>a{font-size:14px!important;padding-inline:0!important}.header-main{gap:14px}.brand{font-size:22px}.header-search{max-width:520px}}
@media (max-width:960px){.main-nav{overflow-x:auto;overflow-y:visible}.nav-inner{overflow-x:auto!important;overflow-y:visible!important;gap:16px;padding:0 2px}.nav-item,.has-dropdown>a{font-size:14px!important;padding:15px 0 14px!important}.dropdown-panel{position:fixed!important;right:12px!important;left:12px!important;top:148px!important;width:auto!important}.media-grid-manager{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))!important}.media-card img{height:100px}}
@media (max-width:560px){.nav-inner{gap:14px}.nav-item,.has-dropdown>a{font-size:13px!important}.media-picker-grid{grid-template-columns:repeat(auto-fill,minmax(52px,1fr))}.media-pick-item{width:52px;height:52px}.media-grid-manager{grid-template-columns:repeat(2,minmax(0,1fr))!important}.media-card img{height:90px}}

/* 2026-05-19 WordPress-like media/security/admin cleanup patch */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800;900&display=swap');
:root{--wm-blue:#0b6cff;--wm-blue-2:#2f8cff;--wm-ink:#101828;--wm-muted:#667085;--wm-border:#dbe7f5;--wm-bg:#f2f7ff}
html,body,button,input,textarea,select{font-family:IRANYekanX,IRANYekan,"Yekan Bakh",Vazirmatn,Tahoma,Arial,sans-serif!important}
body{font-weight:700;color:var(--wm-ink);background:#edf5ff}.site-header{z-index:3000!important;background:rgba(255,255,255,.98)!important;box-shadow:0 10px 28px rgba(15,23,42,.07)!important}.header-main{height:78px!important}.brand{font-weight:900!important;letter-spacing:-.05em!important}.header-search{height:52px!important;border-color:#dbeafe!important;box-shadow:0 12px 30px rgba(11,108,255,.08)!important}.header-search input{font-weight:700!important}.main-nav{z-index:3200!important;background:rgba(255,255,255,.98);border-top:1px solid #eef4fb!important;overflow:visible!important}.nav-inner{height:62px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:24px!important;white-space:nowrap!important;overflow:visible!important}.nav-item,.has-dropdown>a{display:inline-flex!important;align-items:center!important;font-size:16px!important;font-weight:900!important;line-height:1!important;padding:22px 0 20px!important;border-radius:0!important;background:transparent!important;color:#172033!important;position:relative!important}.nav-item:hover,.has-dropdown:hover>a{color:var(--wm-blue)!important}.nav-item:after,.has-dropdown>a:after{content:""!important;position:absolute!important;right:0!important;left:0!important;bottom:12px!important;height:3px!important;border-radius:99px!important;background:linear-gradient(90deg,var(--wm-blue),#66c7ff)!important;transform:scaleX(0)!important;transform-origin:right!important;transition:.22s ease!important}.nav-item:hover:after,.has-dropdown:hover>a:after{transform:scaleX(1)!important}.dropdown-panel{z-index:5000!important;top:58px!important;border:1px solid #e5effc!important;border-radius:22px!important;box-shadow:0 24px 60px rgba(15,23,42,.18)!important}.hero,.hero-banner-link,.hero-banner-img{position:relative!important;z-index:1!important}.admin-body{font-family:IRANYekanX,IRANYekan,"Yekan Bakh",Vazirmatn,Tahoma,Arial,sans-serif!important}.admin-main{padding:30px!important}.admin-form{border:1px solid #e4edf8!important;box-shadow:0 18px 45px rgba(15,23,42,.06)!important}.wp-media-field{display:grid;grid-template-columns:112px 1fr;gap:18px;align-items:center;background:linear-gradient(180deg,#f8fbff,#fff);border:1px solid #dfeaf8;border-radius:22px;padding:16px}.wp-media-actions{display:grid;gap:7px}.wp-media-actions strong{font-size:18px;font-weight:1000;color:#101828}.wp-media-actions span{color:#667085;font-size:13px}.wp-media-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}.upload-inline-btn{display:inline-flex!important;align-items:center;justify-content:center;height:44px;border:1px solid var(--wm-blue);border-radius:13px;padding:0 16px;color:var(--wm-blue)!important;background:#fff;font-weight:1000;cursor:pointer}.upload-inline-btn input{display:none}.media-modal[hidden]{display:none!important}.media-modal{position:fixed;inset:0;z-index:9000;direction:rtl}.media-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.52);backdrop-filter:blur(6px)}.media-modal-panel{position:absolute;inset:38px;max-width:1180px;margin:auto;background:#fff;border-radius:26px;box-shadow:0 30px 90px rgba(0,0,0,.28);overflow:hidden;display:grid;grid-template-rows:auto 1fr}.media-modal-header{height:74px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9f0f8;background:#f8fbff}.media-modal-header strong{display:block;font-size:21px;font-weight:1000}.media-modal-header span{display:block;color:#667085;margin-top:4px;font-size:13px}.media-modal-header button{width:42px;height:42px;border:0;border-radius:14px;background:#eef4ff;color:#101828;font-size:26px;cursor:pointer}.media-modal-body{display:grid;grid-template-columns:280px 1fr;min-height:0}.media-modal-sidebar{border-left:1px solid #e9f0f8;background:#fbfdff;padding:18px;display:grid;align-content:start;gap:12px}.media-selected-preview{height:180px;border:1px dashed #c7d8ee;border-radius:20px;background:#fff;display:grid;place-items:center;overflow:hidden;color:#667085;text-align:center}.media-selected-preview img{width:100%;height:100%;object-fit:contain}.media-modal-sidebar input{height:42px;border:1px solid #dbe7f5;border-radius:13px;padding:0 10px;direction:ltr;text-align:left;font-size:12px}.media-library-grid{padding:18px;overflow:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));align-content:start;gap:14px;background:#fff}.media-library-item{height:112px;border:2px solid transparent;background:#f4f8ff;border-radius:18px;padding:0;overflow:hidden;cursor:pointer;transition:.16s ease}.media-library-item img{width:100%;height:100%;object-fit:cover;display:block}.media-library-item:hover{transform:translateY(-2px);border-color:#93c5fd;box-shadow:0 12px 26px rgba(15,23,42,.09)}.media-library-item.selected{border-color:var(--wm-blue);box-shadow:0 0 0 5px rgba(11,108,255,.13)}.media-empty{grid-column:1/-1;background:#f8fbff;border:1px dashed #c7d8ee;border-radius:18px;padding:26px;text-align:center;color:#667085}.media-modal-open{overflow:hidden}.modern-media-upload{max-width:1100px!important;grid-template-columns:1fr 1fr 1fr auto!important}.media-card-meta{font-size:12px;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;direction:ltr;text-align:left}.media-grid-manager{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))!important}.media-card-actions .danger-btn{background:#fee2e2!important;color:#b42318!important}.admin-sidebar a[href$="page-builder.php"],.admin-sidebar a[href$="code-check.php"]{display:none!important}.admin-panel-list a[href$="page-builder.php"],.admin-panel-list a[href$="code-check.php"]{display:none!important}.admin-form label:has(input[name="ads_count"]),.admin-form label:has(input[name="sort_order"]),.compact-media-picker{display:none!important}.game-row em,.ad-count,.game-count{display:none!important}
@media (max-width:1180px){.nav-inner{gap:17px!important}.nav-item,.has-dropdown>a{font-size:14.5px!important}.header-search{max-width:520px!important}.brand{font-size:23px!important}}
@media (max-width:960px){.header-main{height:auto!important;padding:12px 0!important;display:grid!important;grid-template-columns:1fr auto!important}.header-search{grid-column:1/-1!important;max-width:none!important}.header-actions{grid-column:1/-1!important;justify-content:space-between!important}.nav-inner{height:58px!important;overflow-x:auto!important;overflow-y:visible!important;gap:18px!important;padding:0 4px!important}.dropdown-panel{position:fixed!important;right:14px!important;left:14px!important;top:150px!important;width:auto!important}.media-modal-panel{inset:14px;border-radius:22px}.media-modal-body{grid-template-columns:1fr}.media-modal-sidebar{border-left:0;border-bottom:1px solid #e9f0f8;grid-template-columns:130px 1fr;align-items:center}.media-selected-preview{height:110px}.media-modal-sidebar .primary-btn,.media-modal-sidebar .secondary-btn{grid-column:auto}.media-library-grid{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px}.media-library-item{height:92px}.modern-media-upload{grid-template-columns:1fr!important}.wp-media-field{grid-template-columns:90px 1fr}.admin-big-thumb{width:86px!important;height:86px!important}}
@media (max-width:560px){.media-modal-header{height:auto;padding:14px}.media-modal-body{display:block;overflow:auto}.media-modal-sidebar{display:grid;grid-template-columns:1fr}.media-library-grid{max-height:55vh;grid-template-columns:repeat(3,1fr)}.media-library-item{height:86px}.wp-media-field{grid-template-columns:1fr;text-align:center}.wp-media-buttons{justify-content:center}.nav-item,.has-dropdown>a{font-size:13px!important}.brand{font-size:21px!important}}


/* 2026-05-19 footer + editable header polish patch */
:root{--wm-blue:#0b6cff;--wm-sky:#35b7ff;--wm-ink:#101828;--wm-muted:#667085;--wm-soft:#f4f8ff;--wm-border:#e3edf9}
body{font-family:IRANYekanX,IRANYekan,"Yekan Bakh","YekanBakh",Vazirmatn,Tahoma,Arial,sans-serif!important;font-weight:800!important;letter-spacing:-.02em}.site-header{border-bottom:1px solid rgba(219,234,254,.75)!important}.header-main{background:rgba(255,255,255,.92);backdrop-filter:blur(16px)}.main-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px)}.nav-inner{gap:18px!important}.nav-item,.has-dropdown>a{font-size:15px!important;font-weight:1000!important;letter-spacing:-.03em!important}.dropdown-panel{max-height:460px;overflow:auto}.dropdown-panel a{font-weight:900!important}.dropdown-panel a:hover{background:#f4f8ff;color:var(--wm-blue)}
.modern-footer{margin-top:70px;background:linear-gradient(180deg,#f6faff 0%,#edf5ff 100%);border-top:1px solid #dce8f7;color:#172033}.footer-contact-strip{transform:translateY(-34px);border:1px solid #dfeaf8;border-radius:28px;background:rgba(255,255,255,.92);box-shadow:0 22px 55px rgba(15,23,42,.08);padding:20px 24px;display:grid;grid-template-columns:1.2fr 1fr;gap:20px;align-items:center}.footer-trust-badges{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.footer-trust-badges div{display:flex;align-items:center;justify-content:center;gap:9px;border-radius:18px;background:#f4f8ff;border:1px solid #e4eefb;min-height:56px}.footer-trust-badges span{font-size:23px}.footer-trust-badges strong{font-size:15px;color:#101828}.footer-contact-mini{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.footer-contact-mini a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border-radius:999px;background:#fff;border:1px solid #e3edf9;color:#344054;padding:0 13px;font-size:13px;font-weight:900}.footer-contact-mini a:hover{color:var(--wm-blue);border-color:#b7d7ff}.footer-main-grid{display:grid;grid-template-columns:1.45fr .75fr .9fr .9fr;gap:28px;padding:10px 0 42px}.footer-about-card{background:#fff;border:1px solid #e2edf9;border-radius:28px;padding:24px;box-shadow:0 16px 35px rgba(15,23,42,.05)}.footer-about-card h3,.footer-column h4{margin:0 0 15px;font-size:20px;font-weight:1000;color:#0b6cff}.footer-about-card p{margin:0;line-height:2.25;color:#475467;font-size:15px;font-weight:800;text-align:justify}.footer-column{background:#fff;border:1px solid #e2edf9;border-radius:28px;padding:24px;box-shadow:0 16px 35px rgba(15,23,42,.04)}.footer-column ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}.footer-column li,.footer-column a{font-size:15px;color:#475467;font-weight:900}.footer-column a:hover{color:var(--wm-blue)}.footer-contact-list li{line-height:1.9}.footer-socials{display:flex;flex-direction:column;gap:10px}.footer-socials h4{margin-bottom:5px}.social-btn{width:100%;min-height:44px;border-radius:15px;color:#fff!important;display:flex;align-items:center;justify-content:center;font-weight:1000;box-shadow:0 12px 24px rgba(15,23,42,.09)}.social-btn.telegram{background:linear-gradient(135deg,#179cff,#006dff)}.social-btn.bot{background:linear-gradient(135deg,#14b8a6,#0b6cff)}.social-btn.instagram{background:linear-gradient(135deg,#ff2e88,#ff7a1a)}.social-btn.shop{background:linear-gradient(135deg,#111827,#344054)}.footer-bottom{padding:18px 0 28px;border-top:1px solid #dce8f7;text-align:center;color:#667085;font-weight:900}.admin-sidebar a[href$="footer-settings.php"],.admin-sidebar a[href$="site-settings.php"]{position:relative}.dashboard-cards+.admin-panel-list{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.code-preview-box{direction:ltr;text-align:left;font-family:Consolas,Monaco,monospace!important;background:#0f172a!important;color:#dbeafe!important;border:0!important;border-radius:18px!important;padding:18px!important;line-height:1.8!important;resize:vertical}.footer-link-editor .menu-row{grid-template-columns:1fr 1.5fr auto auto}.admin-form textarea{width:100%;border:1px solid #dbe7f5;border-radius:16px;padding:14px;font-size:15px;font-weight:800;background:#fff;color:#101828;line-height:2}.admin-form textarea:focus,.admin-form input:focus{outline:0;border-color:#93c5fd;box-shadow:0 0 0 4px rgba(11,108,255,.09)}
@media (max-width:1100px){.footer-main-grid{grid-template-columns:1fr 1fr}.footer-contact-strip{grid-template-columns:1fr}.footer-contact-mini{justify-content:center}.footer-trust-badges{grid-template-columns:repeat(3,1fr)}}
@media (max-width:720px){.modern-footer{margin-top:48px}.footer-contact-strip{border-radius:22px;padding:16px;transform:translateY(-24px)}.footer-trust-badges{grid-template-columns:1fr}.footer-main-grid{grid-template-columns:1fr;gap:16px;padding-bottom:28px}.footer-about-card,.footer-column{border-radius:22px;padding:18px}.footer-about-card h3,.footer-column h4{font-size:18px}.footer-about-card p{font-size:14px;line-height:2}.footer-link-editor .menu-row{grid-template-columns:1fr}.footer-contact-mini{display:grid;grid-template-columns:1fr}.footer-contact-mini a{width:100%}}

/* 2026-05-19 header + footer responsive final polish */
:root{--wm-blue:#0b6cff;--wm-blue2:#22a7ff;--wm-ink:#172033;--wm-soft:#f4f8ff;--wm-border:#dbe8f7;--wm-shadow:0 22px 70px rgba(15,23,42,.10)}
html,body{overflow-x:hidden!important}
body{font-family:IRANYekanX,IRANYekan,"Yekan Bakh","YekanBakh",Vazirmatn,Tahoma,Arial,sans-serif!important;background:linear-gradient(180deg,#f8fbff 0%,#edf6ff 54%,#f7fbff 100%)!important;color:var(--wm-ink)!important}
.site-header{background:transparent!important;box-shadow:none!important;border:0!important;padding:12px 0 0!important;z-index:8000!important}
.site-header .container{width:min(1180px,calc(100% - 28px))!important}
.header-main.container{height:76px!important;background:rgba(255,255,255,.96)!important;border:1px solid rgba(219,234,254,.98)!important;border-radius:28px!important;box-shadow:0 20px 55px rgba(15,23,42,.08)!important;backdrop-filter:blur(16px)!important;padding:10px 18px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:22px!important}
.brand{order:1!important;font-size:23px!important;font-weight:1000!important;color:var(--wm-blue)!important;letter-spacing:-.04em!important;min-width:max-content!important}
.brand-mark{width:48px!important;height:48px!important;border-radius:17px!important;box-shadow:0 12px 28px rgba(11,108,255,.23)!important;background:linear-gradient(135deg,#0b7cff,#0b3fc8)!important}
.brand img{max-height:50px!important;max-width:170px!important;object-fit:contain!important}
.header-search{order:2!important;flex:1 1 520px!important;max-width:620px!important;height:52px!important;border:1px solid #dce9f8!important;border-radius:999px!important;background:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.7),0 10px 25px rgba(15,23,42,.04)!important}
.header-search input{font-size:14px!important;font-weight:800!important;text-align:right!important;color:#4b5563!important;padding-inline:10px 18px!important}
.header-search button{color:#101828!important;font-size:25px!important;display:grid!important;place-items:center!important}
.header-actions{order:3!important;min-width:max-content!important;gap:16px!important;font-size:15px!important;color:#243044!important}
.header-actions a{transition:.2s ease!important}.header-actions a:hover{color:var(--wm-blue)!important}.cart b{border-radius:13px!important;height:40px!important;width:40px!important;background:#f8fbff!important;box-shadow:0 8px 18px rgba(11,108,255,.12)!important}.divider{background:#e4edf8!important}
.main-nav{width:min(1180px,calc(100% - 28px))!important;margin:10px auto 0!important;background:rgba(255,255,255,.96)!important;border:1px solid rgba(219,234,254,.95)!important;border-radius:24px!important;box-shadow:0 18px 45px rgba(15,23,42,.06)!important;overflow:visible!important;backdrop-filter:blur(16px)!important}
.nav-inner{height:62px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;flex-wrap:nowrap!important;overflow:visible!important}.nav-item,.has-dropdown>a{white-space:nowrap!important;font-size:14px!important;font-weight:1000!important;letter-spacing:-.035em!important;line-height:1!important;padding:22px 13px 20px!important;color:#1f2937!important;border-radius:0!important;background:transparent!important;transition:.18s ease!important}.nav-item:hover,.has-dropdown:hover>a{color:var(--wm-blue)!important}.nav-item:after,.has-dropdown>a:after{bottom:10px!important;height:3px!important;background:linear-gradient(90deg,var(--wm-blue),var(--wm-blue2))!important}.dropdown-panel{top:60px!important;right:0!important;z-index:99999!important}.has-dropdown{position:relative!important}
.hero.container{margin-top:36px!important}.hero-banner-img{border-radius:28px!important;box-shadow:0 28px 70px rgba(11,108,255,.14)!important;width:100%!important;display:block!important}.games-section{margin-top:48px!important}.games-title-only h2{letter-spacing:-.05em!important}
.modern-footer{background:linear-gradient(180deg,#eef7ff 0%,#f8fbff 100%)!important;border-top:1px solid #dce8f7!important;margin-top:78px!important}.footer-contact-strip.container{max-width:1120px!important;transform:translateY(-36px)!important;border-radius:30px!important;justify-items:center!important;text-align:center!important;grid-template-columns:1.25fr 1fr!important}.footer-trust-badges div{min-height:64px!important;border-radius:20px!important;background:linear-gradient(180deg,#f7fbff,#eef6ff)!important}.footer-trust-badges strong{font-size:16px!important}.footer-contact-mini{justify-content:center!important}.footer-contact-mini a{min-height:42px!important;padding:0 17px!important}.footer-main-grid.container{max-width:1120px!important;grid-template-columns:1.35fr .82fr .9fr .92fr!important;align-items:stretch!important;gap:24px!important;text-align:center!important}.footer-about-card,.footer-column{border-radius:30px!important;box-shadow:0 18px 50px rgba(15,23,42,.055)!important;border-color:#dfeaf8!important}.footer-about-card h3,.footer-column h4{text-align:center!important;font-size:21px!important;letter-spacing:-.04em!important}.footer-about-card p{text-align:justify!important;text-align-last:right!important;font-size:15px!important;line-height:2.25!important}.footer-column ul{justify-items:center!important;gap:11px!important}.footer-column li,.footer-column a{text-align:center!important}.footer-column a:not(.social-btn){position:relative!important;display:inline-flex!important;padding-bottom:6px!important}.footer-column a:not(.social-btn):after{content:"";position:absolute;right:0;left:0;bottom:0;height:2px;border-radius:20px;background:linear-gradient(90deg,var(--wm-blue),var(--wm-blue2));transform:scaleX(0);transform-origin:center;transition:.2s ease}.footer-column a:not(.social-btn):hover:after{transform:scaleX(1)}.footer-socials{align-items:center!important}.social-btn{max-width:260px!important}.footer-bottom{text-align:center!important}
@media (min-width:901px) and (max-width:1240px){.header-main.container,.main-nav{width:calc(100% - 34px)!important}.nav-inner{gap:2px!important}.nav-item,.has-dropdown>a{font-size:13px!important;padding-inline:9px!important}.header-main.container{gap:14px!important}.brand{font-size:20px!important}.header-search{max-width:520px!important}.header-actions{font-size:13px!important;gap:10px!important}}
@media (max-width:900px){.site-header{position:sticky!important;padding:8px 0 0!important}.header-main.container{width:calc(100% - 18px)!important;height:auto!important;min-height:0!important;border-radius:22px!important;padding:10px!important;display:grid!important;grid-template-columns:44px 1fr 44px!important;grid-template-areas:"menu brand spacer" "search search search" "actions actions actions"!important;gap:10px!important}.mobile-toggle{grid-area:menu!important;display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border-radius:14px!important;background:linear-gradient(135deg,var(--wm-blue),#0a48d8)!important;box-shadow:0 12px 24px rgba(11,108,255,.22)!important;padding:0!important}.brand{grid-area:brand!important;justify-content:center!important;font-size:17px!important;min-width:0!important}.brand-mark{width:38px!important;height:38px!important;border-radius:13px!important;font-size:12px!important}.brand img{max-height:42px!important;max-width:150px!important}.header-search{grid-area:search!important;max-width:none!important;width:100%!important;height:44px!important;flex:unset!important}.header-actions{grid-area:actions!important;width:100%!important;justify-content:center!important;font-size:12px!important;gap:12px!important}.cart b{width:34px!important;height:34px!important}.divider{height:22px!important}.main-nav{display:none!important;width:calc(100% - 18px)!important;margin-top:8px!important;border-radius:22px!important;overflow:hidden!important}.main-nav.open{display:block!important}.nav-inner{width:100%!important;height:auto!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;padding:8px!important;overflow:visible!important}.nav-item,.has-dropdown>a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:12px 8px!important;font-size:12px!important;border-radius:14px!important}.nav-item:after,.has-dropdown>a:after{bottom:6px!important;right:18px!important;left:18px!important}.has-dropdown{position:relative!important}.dropdown-panel{position:static!important;display:none!important;grid-column:1/-1!important;margin:4px 0 8px!important;max-height:270px!important;overflow:auto!important;box-shadow:none!important;border-radius:18px!important;background:#f8fbff!important}.has-dropdown.open .dropdown-panel{display:grid!important}.hero.container{width:calc(100% - 18px)!important;margin-top:20px!important}.hero-banner-img{border-radius:18px!important}.games-section{width:calc(100% - 18px)!important;margin-top:34px!important}.modern-footer{margin-top:56px!important}.footer-contact-strip.container{width:calc(100% - 18px)!important;transform:none!important;grid-template-columns:1fr!important;border-radius:24px!important;padding:14px!important}.footer-trust-badges{grid-template-columns:1fr!important}.footer-contact-mini{display:grid!important;grid-template-columns:1fr!important;width:100%!important}.footer-main-grid.container{width:calc(100% - 18px)!important;grid-template-columns:1fr!important;gap:14px!important;padding-top:18px!important}.footer-about-card,.footer-column{padding:18px!important;border-radius:24px!important}.footer-about-card h3,.footer-column h4{font-size:18px!important}.footer-about-card p{text-align:right!important;text-align-last:auto!important;font-size:13.5px!important;line-height:2.1!important}.footer-column li,.footer-column a{font-size:14px!important}.social-btn{max-width:none!important}.footer-bottom{width:calc(100% - 18px)!important;font-size:12px!important}}
@media (max-width:430px){.header-actions{font-size:11px!important}.nav-inner{grid-template-columns:1fr 1fr!important}.nav-item,.has-dropdown>a{font-size:11px!important}.header-search input{font-size:11px!important}.footer-trust-badges div{min-height:52px!important}.footer-contact-mini a{font-size:12px!important}.footer-about-card,.footer-column{padding:16px!important}}

/* Footer polish patch: clean, centered, mobile friendly */
.site-footer.modern-footer{
    margin-top:64px;
    padding:0 0 28px;
    background:linear-gradient(180deg,#eef7ff 0%,#eaf4ff 45%,#f7fbff 100%);
    border-top:1px solid rgba(37,99,235,.12);
}
.footer-feature-strip{
    transform:translateY(-34px);
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    padding:18px;
    background:rgba(255,255,255,.92);
    border:1px solid rgba(37,99,235,.10);
    border-radius:28px;
    box-shadow:0 24px 70px rgba(37,99,235,.12);
    backdrop-filter:blur(14px);
}
.footer-feature-item{
    min-height:64px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:12px 14px;
    border-radius:20px;
    background:linear-gradient(180deg,#f8fbff,#eef6ff);
    border:1px solid rgba(37,99,235,.10);
    color:#172033;
    text-decoration:none;
    text-align:center;
    transition:.22s ease;
}
.footer-feature-item:hover{
    transform:translateY(-2px);
    border-color:rgba(13,110,253,.26);
    box-shadow:0 14px 34px rgba(37,99,235,.12);
}
.footer-feature-item strong{font-size:16px;font-weight:900;line-height:1.7;}
.feature-emoji{font-size:22px;line-height:1;filter:drop-shadow(0 6px 10px rgba(0,86,255,.18));}
.footer-feature-link{color:#172033;}
.footer-main-grid.footer-main-grid-clean{
    display:grid;
    grid-template-columns:1.45fr .9fr .9fr .9fr;
    gap:24px;
    align-items:stretch;
    margin-top:-4px;
}
.footer-about-card,
.footer-column{
    background:rgba(255,255,255,.9);
    border:1px solid rgba(37,99,235,.10);
    border-radius:28px;
    box-shadow:0 18px 54px rgba(37,99,235,.08);
}
.footer-about-card{
    padding:32px 34px;
    text-align:right;
}
.footer-about-card h3,
.footer-column h4{
    color:#0875ff;
    font-weight:950;
    letter-spacing:-.03em;
}
.footer-about-card h3{font-size:24px;margin:0 0 18px;}
.footer-about-card p{
    margin:0;
    color:#334155;
    font-size:16px;
    font-weight:750;
    line-height:2.25;
    text-align:justify;
}
.footer-column{
    padding:30px 24px;
    text-align:center;
}
.footer-column h4{font-size:22px;margin:0 0 22px;}
.footer-column ul{list-style:none;margin:0;padding:0;display:grid;gap:13px;}
.footer-column li{margin:0;color:#334155;font-weight:800;line-height:1.9;}
.footer-column a{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    color:#334155;
    text-decoration:none;
    font-weight:850;
    transition:.2s ease;
}
.footer-column a::after{
    content:"";
    position:absolute;
    right:0;
    left:0;
    bottom:-5px;
    height:2px;
    border-radius:20px;
    background:linear-gradient(90deg,#14b8ff,#0d6efd);
    transform:scaleX(0);
    transform-origin:center;
    transition:.22s ease;
}
.footer-column a:hover{color:#0d6efd;}
.footer-column a:hover::after{transform:scaleX(1);}
.footer-contact-list li{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:6px;
}
.footer-contact-list li > span{font-size:18px;}
.footer-contact-list b{font-weight:950;color:#172033;}
.footer-social-card{display:flex;flex-direction:column;}
.footer-social-card .social-btn{
    width:100%;
    min-height:48px;
    border-radius:16px;
    margin:0 0 11px;
    color:#fff;
    box-shadow:0 14px 28px rgba(15,23,42,.10);
}
.footer-social-card .social-btn::after{display:none;}
.footer-social-card .social-btn:hover{transform:translateY(-2px);color:#fff;}
.footer-bottom{
    margin-top:26px;
    padding:22px 0 0;
    border-top:1px solid rgba(37,99,235,.12);
    text-align:center;
    color:#475569;
    font-size:14px;
    font-weight:800;
}
@media (max-width:1100px){
    .footer-feature-strip{grid-template-columns:repeat(2,minmax(0,1fr));}
    .footer-main-grid.footer-main-grid-clean{grid-template-columns:1fr 1fr;}
    .footer-about-card{grid-column:1/-1;}
}
@media (max-width:640px){
    .site-footer.modern-footer{margin-top:42px;padding-bottom:22px;}
    .footer-feature-strip{
        transform:none;
        grid-template-columns:1fr;
        gap:10px;
        padding:12px;
        border-radius:22px;
        margin:28px auto 18px;
    }
    .footer-feature-item{min-height:52px;border-radius:16px;justify-content:center;}
    .footer-feature-item strong{font-size:14px;}
    .footer-main-grid.footer-main-grid-clean{
        grid-template-columns:1fr;
        gap:14px;
    }
    .footer-about-card,.footer-column{border-radius:22px;padding:22px 18px;}
    .footer-about-card h3,.footer-column h4{font-size:20px;text-align:center;}
    .footer-about-card p{text-align:right;font-size:14px;line-height:2.15;}
    .footer-column ul{gap:10px;}
    .footer-column li,.footer-column a{font-size:14px;}
    .footer-social-card .social-btn{min-height:46px;font-size:14px;}
    .footer-bottom{font-size:12px;line-height:1.9;padding-inline:14px;}
}

/* 2026-05-19 final mobile + footer cleanup */
@font-face{
    font-family:IRANYekanX;
    src:local('IRANYekanX'),local('IRANYekan'),local('Yekan Bakh'),local('YekanBakh'),local('Vazirmatn');
    font-display:swap;
}
:root{--wm-blue:#0d6efd;--wm-blue2:#1da1ff;--wm-bg:#eef7ff;--wm-text:#172033;--wm-muted:#64748b;}
html,body,input,button,textarea,select{font-family:IRANYekanX,Vazirmatn,Tahoma,Arial,sans-serif!important;}
body{font-weight:800!important;letter-spacing:-.015em!important;background:#eef7ff!important;}

/* header: softer app-like mobile/desktop */
.site-header{position:sticky!important;top:0!important;z-index:9000!important;background:rgba(255,255,255,.82)!important;backdrop-filter:blur(18px)!important;border-bottom:1px solid rgba(219,234,254,.9)!important;padding:10px 0!important;box-shadow:0 8px 34px rgba(15,23,42,.06)!important;}
.header-main.container{background:#fff!important;border:1px solid #dcecff!important;border-radius:28px!important;box-shadow:0 18px 50px rgba(11,108,255,.08)!important;}
.main-nav{width:min(1180px,calc(100% - 28px))!important;margin:10px auto 0!important;background:#fff!important;border:1px solid #e5f0ff!important;border-radius:26px!important;box-shadow:0 16px 42px rgba(15,23,42,.055)!important;}
.nav-inner{justify-content:center!important;gap:6px!important;height:58px!important;}
.nav-item,.has-dropdown>a{height:42px!important;padding:0 15px!important;border-radius:18px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:15px!important;font-weight:950!important;color:#172033!important;white-space:nowrap!important;position:relative!important;}
.nav-item:hover,.has-dropdown>a:hover{color:var(--wm-blue)!important;background:transparent!important;}
.nav-item:after,.has-dropdown>a:after{content:"";position:absolute;right:18px;left:18px;bottom:5px;height:3px;border-radius:20px;background:linear-gradient(90deg,var(--wm-blue),var(--wm-blue2));transform:scaleX(0);transform-origin:center;transition:.2s ease;}
.nav-item:hover:after,.has-dropdown>a:hover:after{transform:scaleX(1);}
.dropdown-panel{z-index:9999!important;}

/* games on mobile: two columns, clean cards */
.game-row{box-shadow:0 12px 30px rgba(15,23,42,.035)!important;border:1px solid rgba(219,234,254,.75)!important;}
@media (max-width:640px){
    .games-list,.all-games-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
    .game-list-panel{padding:10px!important;border-radius:22px!important;}
    .game-row{grid-template-columns:44px 1fr!important;gap:8px!important;min-height:76px!important;padding:10px 8px!important;border-radius:16px!important;align-items:center!important;}
    .game-icon{width:44px!important;height:44px!important;border-radius:14px!important;font-size:22px!important;}
    .game-text{gap:2px!important;min-width:0!important;}
    .game-text strong{font-size:13.2px!important;line-height:1.55!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
    .game-text small{font-size:9px!important;line-height:1.3!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#64748b!important;}
    .section-head h2{font-size:28px!important;}
    .games-section{padding-bottom:28px!important;}
}
@media (max-width:360px){
    .games-list,.all-games-list{grid-template-columns:1fr!important;}
}

/* footer final: no feature strip, tighter spacing, emoji column */
.site-footer.modern-footer{margin-top:38px!important;padding:44px 0 24px!important;background:linear-gradient(180deg,#eaf5ff 0%,#f6fbff 55%,#eef7ff 100%)!important;border-top:1px solid rgba(37,99,235,.10)!important;}
.footer-feature-strip{display:none!important;}
.footer-main-grid.footer-main-grid-clean{display:grid!important;grid-template-columns:1.35fr .85fr .9fr .95fr!important;gap:22px!important;align-items:stretch!important;margin-top:0!important;}
.footer-about-card,.footer-column{background:rgba(255,255,255,.92)!important;border:1px solid rgba(37,99,235,.12)!important;border-radius:28px!important;box-shadow:0 20px 55px rgba(37,99,235,.075)!important;}
.footer-about-card{padding:30px 32px!important;}
.footer-column{padding:28px 24px!important;text-align:center!important;}
.footer-about-card h3,.footer-column h4{font-size:22px!important;font-weight:1000!important;color:#0875ff!important;text-align:center!important;margin:0 0 20px!important;line-height:1.7!important;}
.footer-about-card p{font-size:15.5px!important;line-height:2.25!important;color:#334155!important;text-align:justify!important;text-align-last:right!important;margin:0!important;font-weight:800!important;}
.footer-column ul{list-style:none!important;margin:0!important;padding:0!important;display:grid!important;gap:13px!important;justify-items:center!important;}
.footer-column li{display:block!important;width:100%!important;color:#334155!important;font-weight:900!important;line-height:1.9!important;}
.footer-column a:not(.social-btn){position:relative!important;display:inline-grid!important;grid-auto-flow:column!important;grid-auto-columns:max-content!important;align-items:center!important;justify-content:center!important;gap:8px!important;color:#334155!important;font-weight:900!important;padding-bottom:6px!important;}
.footer-column a:not(.social-btn) span,
.footer-contact-list li > span{display:inline-grid!important;place-items:center!important;width:24px!important;min-width:24px!important;height:24px!important;margin:0!important;font-size:17px!important;line-height:1!important;}
.footer-contact-list{display:grid!important;gap:14px!important;}
.footer-contact-list li{display:grid!important;grid-template-columns:26px 1fr!important;grid-template-areas:"icon text" "icon value"!important;align-items:center!important;justify-items:center!important;column-gap:8px!important;text-align:center!important;}
.footer-contact-list li > span{grid-area:icon!important;}
.footer-contact-list b{grid-area:text!important;color:#172033!important;}
.footer-contact-list li a,.footer-contact-list li{font-size:14px!important;}
.footer-social-card .social-btn{width:100%!important;min-height:48px!important;border-radius:16px!important;margin:0 0 11px!important;color:#fff!important;font-weight:950!important;box-shadow:0 14px 28px rgba(15,23,42,.10)!important;}
.footer-bottom{margin-top:22px!important;padding-top:20px!important;border-top:1px solid rgba(37,99,235,.12)!important;text-align:center!important;font-size:13px!important;color:#475569!important;}

@media (max-width:1100px){
    .footer-main-grid.footer-main-grid-clean{grid-template-columns:1fr 1fr!important;gap:16px!important;}
    .footer-about-card{grid-column:1/-1!important;}
}
@media (max-width:900px){
    .site-header{padding:8px 0!important;}
    .header-main.container{width:calc(100% - 16px)!important;border-radius:22px!important;display:grid!important;grid-template-columns:42px 1fr 42px!important;grid-template-areas:"menu brand spacer" "search search search" "actions actions actions"!important;gap:10px!important;padding:10px!important;}
    .mobile-toggle{grid-area:menu!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;border-radius:14px!important;background:linear-gradient(135deg,#0d6efd,#0a48d8)!important;color:#fff!important;box-shadow:0 12px 24px rgba(11,108,255,.20)!important;}
    .brand{grid-area:brand!important;justify-content:center!important;font-size:17px!important;}
    .brand-mark{width:38px!important;height:38px!important;border-radius:13px!important;}
    .header-search{grid-area:search!important;width:100%!important;max-width:none!important;height:42px!important;}
    .header-search input{font-size:11.5px!important;text-align:center!important;}
    .header-actions{grid-area:actions!important;width:100%!important;justify-content:center!important;gap:14px!important;font-size:11.5px!important;}
    .cart b{width:32px!important;height:32px!important;border-radius:12px!important;}
    .main-nav{display:none!important;width:calc(100% - 16px)!important;margin:8px auto 0!important;border-radius:22px!important;}
    .main-nav.open{display:block!important;}
    .nav-inner{width:100%!important;height:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:8px!important;}
    .nav-item,.has-dropdown>a{min-height:42px!important;height:auto!important;font-size:11.5px!important;padding:10px 8px!important;border-radius:15px!important;background:#f8fbff!important;}
    .dropdown-panel{position:static!important;grid-column:1/-1!important;width:100%!important;max-height:260px!important;overflow:auto!important;margin-top:4px!important;box-shadow:none!important;background:#f8fbff!important;border-radius:18px!important;}
    .hero.container{width:calc(100% - 16px)!important;margin-top:16px!important;padding-top:0!important;}
    .hero-banner-img{border-radius:18px!important;}
}
@media (max-width:640px){
    .container{width:calc(100% - 16px)!important;}
    .site-footer.modern-footer{margin-top:30px!important;padding:26px 0 18px!important;}
    .footer-main-grid.footer-main-grid-clean{grid-template-columns:1fr!important;gap:12px!important;}
    .footer-about-card,.footer-column{border-radius:22px!important;padding:18px 16px!important;}
    .footer-about-card h3,.footer-column h4{font-size:18px!important;margin-bottom:14px!important;}
    .footer-about-card p{font-size:13.2px!important;line-height:2.05!important;text-align:right!important;text-align-last:auto!important;}
    .footer-column ul{gap:9px!important;}
    .footer-column li,.footer-column a:not(.social-btn){font-size:13.2px!important;}
    .footer-contact-list li{grid-template-columns:24px 1fr!important;gap:3px 7px!important;}
    .footer-social-card .social-btn{min-height:42px!important;font-size:13.5px!important;margin-bottom:8px!important;}
    .footer-bottom{font-size:11.5px!important;line-height:1.9!important;margin-top:14px!important;padding-top:14px!important;}
}

/* === Waria final mobile header/footer + editable bottom nav patch === */
:root{
  --wm-blue:#0b6cff;
  --wm-blue2:#0a48d8;
  --wm-bg:#edf6ff;
  --wm-border:#dceafe;
  --wm-text:#111827;
  --wm-muted:#64748b;
}
body{
  font-family:"Yekan Bakh","IRANYekan","IranYekan","Vazirmatn",Tahoma,Arial,sans-serif!important;
  background:linear-gradient(180deg,#f7fbff 0%,#edf6ff 42%,#eaf4ff 100%)!important;
  color:var(--wm-text)!important;
  font-weight:700!important;
}
.site-header{
  background:rgba(255,255,255,.92)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  box-shadow:0 14px 38px rgba(15,23,42,.08)!important;
  border-bottom:1px solid rgba(219,234,254,.8)!important;
}
.header-main.container{
  height:78px!important;
  display:grid!important;
  grid-template-columns:auto minmax(280px,560px) auto!important;
  align-items:center!important;
  justify-content:center!important;
  gap:28px!important;
}
.brand{justify-content:center!important;gap:12px!important;font-weight:950!important;color:#0865ef!important;letter-spacing:-.4px!important}
.brand strong{font-size:25px!important}.brand-mark{box-shadow:0 12px 30px rgba(11,108,255,.25)!important}.brand img{max-height:50px!important;max-width:170px!important}.header-search{max-width:560px!important;width:100%!important;border-color:#d9e7fb!important;box-shadow:0 14px 32px rgba(30,89,180,.08)!important}.header-actions{white-space:nowrap!important}.main-nav{position:relative!important;z-index:80!important}.nav-inner{height:58px!important;justify-content:center!important;gap:26px!important;overflow:visible!important}.nav-item,.has-dropdown>a{font-size:15px!important;font-weight:900!important;color:#111827!important;position:relative!important;padding:18px 2px!important;border-radius:0!important;background:transparent!important;white-space:nowrap!important}.nav-item:hover,.has-dropdown>a:hover{color:var(--wm-blue)!important;background:transparent!important;box-shadow:none!important}.nav-item:after,.has-dropdown>a:after{content:""!important;position:absolute!important;right:0!important;left:0!important;bottom:9px!important;height:3px!important;border-radius:99px!important;background:linear-gradient(90deg,var(--wm-blue),#33b8ff)!important;transform:scaleX(0)!important;transform-origin:center!important;transition:.22s ease!important}.nav-item:hover:after,.has-dropdown>a:hover:after{transform:scaleX(1)!important}.dropdown-panel{z-index:999!important;top:calc(100% + 8px)!important}.hero.container{margin-top:34px!important}.hero-banner-img{display:block!important;width:100%!important;border-radius:28px!important;box-shadow:0 24px 60px rgba(22,89,190,.22)!important}.games-section{margin-top:54px!important}.game-list-panel{box-shadow:0 24px 60px rgba(22,89,190,.12)!important}.all-games-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}.game-row{background:linear-gradient(180deg,#fff,#f9fcff)!important;border:1px solid #edf4ff!important;box-shadow:0 12px 28px rgba(15,23,42,.04)!important}.game-row:hover{transform:translateY(-2px)!important;box-shadow:0 18px 36px rgba(11,108,255,.12)!important}.game-text{text-align:right!important}.game-text strong{font-size:18px!important}.game-text small{font-size:11px!important;color:#64748b!important}.modern-footer{background:linear-gradient(180deg,#eaf4ff,#f6fbff)!important;margin-top:70px!important;padding-top:40px!important;border-top:1px solid #dbeafe!important}.footer-main-grid-clean{display:grid!important;grid-template-columns:1.35fr .8fr .95fr 1fr!important;align-items:stretch!important;gap:22px!important}.footer-about-card,.footer-column{background:rgba(255,255,255,.86)!important;border:1px solid #dceafe!important;border-radius:30px!important;box-shadow:0 22px 55px rgba(22,89,190,.08)!important;text-align:center!important}.footer-about-card h3,.footer-column h4{color:var(--wm-blue)!important;text-align:center!important;font-size:22px!important;font-weight:950!important}.footer-about-card p{text-align:justify!important;line-height:2.25!important;color:#334155!important}.footer-column ul{padding:0!important;margin:0!important;list-style:none!important;display:grid!important;gap:13px!important}.footer-column li,.footer-column a{justify-content:center!important;text-align:center!important;color:#334155!important;font-weight:850!important}.footer-links-column a,.footer-contact-list a{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}.footer-links-column a:after,.footer-contact-list a:after{content:"";position:absolute;right:0;left:0;bottom:-5px;height:2px;border-radius:99px;background:linear-gradient(90deg,var(--wm-blue),#28b7ff);transform:scaleX(0);transition:.22s ease}.footer-links-column a:hover:after,.footer-contact-list a:hover:after{transform:scaleX(1)}.footer-contact-list li{display:grid!important;gap:6px!important}.footer-socials{display:flex!important;flex-direction:column!important;gap:14px!important}.social-btn{max-width:100%!important;min-height:52px!important;border-radius:16px!important;box-shadow:0 12px 24px rgba(15,23,42,.08)!important;font-size:15px!important}.footer-bottom{text-align:center!important;padding:26px 0 30px!important;color:#64748b!important;border-top:1px solid rgba(148,163,184,.25)!important;margin-top:28px!important}.mobile-bottom-nav{display:none}
@media (max-width:900px){
  body{font-size:13px!important;padding-bottom:78px!important;line-height:1.8!important}
  .container{width:calc(100% - 18px)!important}
  .site-header{position:sticky!important;top:0!important;z-index:1000!important;background:rgba(255,255,255,.96)!important}
  .header-main.container{height:auto!important;min-height:0!important;padding:8px 0 10px!important;display:grid!important;grid-template-columns:42px 1fr 42px!important;grid-template-areas:"menu brand cart" "search search search" "actions actions actions"!important;gap:8px!important;justify-content:stretch!important}
  .mobile-toggle{grid-area:menu!important;display:grid!important;width:38px!important;height:38px!important;place-items:center!important;border-radius:13px!important;background:linear-gradient(135deg,var(--wm-blue),var(--wm-blue2))!important;color:#fff!important;box-shadow:0 12px 24px rgba(11,108,255,.22)!important;font-size:0!important;padding:0!important;border:0!important}
  .mobile-toggle:before{content:"☰";font-size:20px;line-height:1}
  .brand{grid-area:brand!important;justify-content:center!important;min-width:0!important}
  .brand strong{font-size:17px!important}.brand-mark{width:36px!important;height:36px!important;border-radius:13px!important;font-size:12px!important}.brand img{max-height:42px!important;max-width:140px!important;object-fit:contain!important}
  .header-search{grid-area:search!important;width:100%!important;max-width:none!important;height:42px!important;min-width:0!important;border-radius:999px!important}.header-search input{font-size:12px!important;text-align:center!important}.header-search button{font-size:22px!important;width:44px!important}
  .header-actions{grid-area:actions!important;justify-content:center!important;gap:16px!important;width:100%!important;font-size:12px!important}.header-actions>a:first-child{display:inline-flex!important}.cart{position:absolute!important;left:0!important;top:8px!important}.cart span{display:none!important}.cart b{width:36px!important;height:36px!important;border-radius:11px!important;background:#fff!important}.divider{display:none!important}
  .main-nav{display:none!important;position:absolute!important;right:9px!important;left:9px!important;top:calc(100% + 6px)!important;border:1px solid var(--wm-border)!important;border-radius:22px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 24px 60px rgba(15,23,42,.14)!important;overflow:hidden!important;z-index:9999!important}.main-nav.open{display:block!important}.nav-inner{height:auto!important;width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:4px!important;padding:10px!important}.nav-item,.has-dropdown>a{font-size:12px!important;min-height:40px!important;padding:10px 6px!important;text-align:center!important;justify-content:center!important}.dropdown-panel{position:static!important;display:none!important;grid-column:1/-1!important;width:100%!important;max-height:300px!important;overflow:auto!important;box-shadow:none!important;background:#f8fbff!important;border-radius:18px!important}.has-dropdown.open .dropdown-panel{display:grid!important}.hero.container{margin-top:18px!important}.hero-banner-img{border-radius:18px!important;box-shadow:0 18px 36px rgba(22,89,190,.16)!important}.games-section{margin-top:32px!important}.section-head h2{font-size:26px!important;text-align:right!important}.game-list-panel{padding:12px!important;border-radius:22px!important}.all-games-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.game-row{min-height:86px!important;grid-template-columns:1fr!important;justify-items:center!important;text-align:center!important;padding:12px 8px!important;border-radius:18px!important}.game-icon{width:46px!important;height:46px!important;border-radius:14px!important}.game-text{text-align:center!important;align-items:center!important}.game-text strong{font-size:13.5px!important;line-height:1.5!important}.game-text small{font-size:9px!important}.modern-footer{margin-top:42px!important;padding-top:22px!important}.footer-main-grid-clean{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.footer-about-card{grid-column:1/-1!important;order:1}.footer-links-column{order:2}.footer-contact-column{order:3}.footer-social-card{grid-column:1/-1!important;order:4}.footer-about-card,.footer-column{border-radius:22px!important;padding:16px 12px!important}.footer-about-card h3,.footer-column h4{font-size:16px!important;line-height:1.7!important}.footer-about-card p{font-size:12.5px!important;line-height:2!important;text-align:right!important}.footer-column ul{gap:9px!important}.footer-column li,.footer-column a{font-size:12.5px!important;line-height:1.8!important}.social-btn{min-height:42px!important;border-radius:14px!important;font-size:12.5px!important}.footer-bottom{font-size:11px!important;padding:18px 0 88px!important}.mobile-bottom-nav{position:fixed!important;right:10px!important;left:10px!important;bottom:10px!important;z-index:99999!important;height:62px!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;padding:7px!important;background:rgba(255,255,255,.96)!important;border:1px solid #dbeafe!important;border-radius:22px!important;box-shadow:0 18px 45px rgba(15,23,42,.18)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important}.mobile-bottom-nav a{display:grid!important;place-items:center!important;gap:1px!important;border-radius:16px!important;color:#334155!important;font-weight:900!important}.mobile-bottom-nav a:hover{background:#eef6ff!important;color:var(--wm-blue)!important}.mobile-bottom-nav span{font-size:18px!important;line-height:1!important}.mobile-bottom-nav small{font-size:10px!important;line-height:1.2!important;white-space:nowrap!important}
}
@media (max-width:390px){.footer-main-grid-clean{grid-template-columns:1fr!important}.footer-about-card,.footer-links-column,.footer-contact-column,.footer-social-card{grid-column:auto!important}.all-games-list{gap:8px!important}.game-text strong{font-size:12px!important}.game-icon{width:42px!important;height:42px!important}.mobile-bottom-nav small{font-size:9px!important}}

/* ===== Waria Market final responsive header/footer patch v4 ===== */
:root{--wm-blue:#0b6cff;--wm-blue2:#169bff;--wm-bg:#eef7ff;--wm-text:#172033;--wm-border:#dbeafe}
body{font-family:'IRANYekanX','IRANYekan','Yekan Bakh','Vazirmatn','Tahoma',sans-serif!important;background:linear-gradient(180deg,#fff 0,#eef7ff 48%,#f8fcff 100%)!important;color:var(--wm-text)!important}
.site-header{position:sticky!important;top:0!important;z-index:10000!important;background:rgba(255,255,255,.86)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;border-bottom:1px solid rgba(219,234,254,.82)!important;box-shadow:0 12px 34px rgba(15,23,42,.06)!important}
.header-main.container{max-width:1480px!important;background:#fff!important;border:1px solid var(--wm-border)!important;border-radius:28px!important;margin-top:14px!important;padding:14px 24px!important;box-shadow:0 20px 55px rgba(11,108,255,.08)!important;gap:22px!important}.main-nav{background:transparent!important;border:0!important;box-shadow:none!important;margin:12px 0!important}.nav-inner{max-width:1480px!important;background:#fff!important;border:1px solid var(--wm-border)!important;border-radius:24px!important;min-height:64px!important;box-shadow:0 14px 38px rgba(11,108,255,.06)!important;justify-content:center!important;gap:30px!important;padding:0 24px!important}.nav-item,.has-dropdown>a{font-size:16px!important;font-weight:950!important;line-height:1!important;white-space:nowrap!important;padding:22px 0 20px!important;color:#111827!important}.nav-item:after,.has-dropdown>a:after{bottom:13px!important;height:3px!important}.dropdown-panel{top:calc(100% + 18px)!important;right:50%!important;transform:translateX(50%) translateY(8px)!important;width:min(420px,calc(100vw - 36px))!important;max-height:430px!important;overflow:auto!important;border-radius:24px!important;border:1px solid var(--wm-border)!important;background:rgba(255,255,255,.98)!important;box-shadow:0 28px 75px rgba(15,23,42,.16)!important;padding:16px!important;z-index:10050!important}.has-dropdown:hover .dropdown-panel{transform:translateX(50%) translateY(0)!important}.dropdown-panel a{min-height:58px!important;border-radius:16px!important;padding:10px 12px!important;color:var(--wm-blue)!important;font-weight:950!important}.dropdown-icon{width:42px!important;height:42px!important;border-radius:14px!important}.hero.container{margin-top:56px!important}.hero-banner-img{border-radius:30px!important;box-shadow:0 32px 90px rgba(11,108,255,.22)!important}.games-section{margin-top:72px!important}.modern-footer{background:linear-gradient(180deg,#eaf5ff 0,#f7fbff 100%)!important;border-top:1px solid #dbeafe!important;margin-top:72px!important;padding:58px 0 0!important}.footer-main-grid-clean{max-width:1480px!important;display:grid!important;grid-template-columns:1.45fr .78fr .78fr .9fr .72fr!important;gap:20px!important;align-items:stretch!important}.footer-about-card,.footer-column{background:rgba(255,255,255,.92)!important;border:1px solid #dbeafe!important;border-radius:28px!important;box-shadow:0 22px 55px rgba(11,108,255,.08)!important;text-align:center!important}.footer-about-card{padding:30px 32px!important}.footer-column{padding:30px 22px!important}.footer-about-card h3,.footer-column h4{color:var(--wm-blue)!important;font-size:22px!important;line-height:1.7!important;font-weight:950!important;margin:0 0 20px!important;text-align:center!important}.footer-about-card p{font-size:15px!important;line-height:2.25!important;text-align:justify!important;color:#334155!important;font-weight:800!important;margin:0!important}.footer-column ul{list-style:none!important;margin:0!important;padding:0!important;display:grid!important;gap:13px!important}.footer-column li{margin:0!important}.footer-column a{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;color:#334155!important;text-decoration:none!important;font-weight:900!important;line-height:1.7!important}.footer-links-column a:after,.footer-contact-list a:after{content:""!important;position:absolute!important;right:0!important;left:0!important;bottom:-6px!important;height:2px!important;border-radius:99px!important;background:linear-gradient(90deg,var(--wm-blue),#29b6ff)!important;transform:scaleX(0)!important;transition:.22s ease!important}.footer-links-column a:hover:after,.footer-contact-list a:hover:after{transform:scaleX(1)!important}.clean-contact-list li{display:grid!important;grid-template-columns:1fr!important;justify-items:center!important;gap:5px!important;color:#334155!important;font-weight:850!important}.clean-contact-list b{font-weight:950!important;color:#172033!important}.clean-contact-list span{font-weight:900!important;color:#334155!important}.footer-social-card{display:flex!important;flex-direction:column!important}.footer-social-card .social-btn{width:100%!important;min-height:48px!important;border-radius:16px!important;margin:0 0 12px!important;color:#fff!important;font-size:14px!important;box-shadow:0 12px 28px rgba(15,23,42,.10)!important}.footer-social-card .social-btn:after{display:none!important}.footer-trust-card{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:14px!important}.trust-logo-link{background:#fff!important;border:1px solid #e5eefb!important;border-radius:20px!important;padding:12px!important;box-shadow:0 12px 30px rgba(15,23,42,.06)!important}.trust-logo-link:after{display:none!important}.trust-logo-link img{width:112px!important;height:auto!important;display:block!important;border-radius:14px!important}.footer-trust-card small{color:#64748b!important;font-weight:850!important;line-height:1.8!important}.footer-bottom{max-width:1480px!important;border-top:1px solid rgba(148,163,184,.25)!important;margin-top:32px!important;text-align:center!important;padding:26px 0 34px!important;color:#64748b!important;font-weight:850!important}.mobile-bottom-nav{display:none!important}
@media (max-width:1024px){.header-main.container,.nav-inner,.footer-main-grid-clean,.footer-bottom{max-width:calc(100% - 24px)!important}.nav-inner{gap:18px!important}.nav-item,.has-dropdown>a{font-size:14px!important}.footer-main-grid-clean{grid-template-columns:1.3fr 1fr 1fr!important}.footer-about-card{grid-column:1/-1!important}.footer-trust-card{grid-column:auto!important}}
@media (max-width:900px){
  body{padding-bottom:84px!important;font-size:13px!important;line-height:1.85!important;background:linear-gradient(180deg,#fff 0,#eef7ff 42%,#f8fcff 100%)!important;overflow-x:hidden!important}.container{width:calc(100% - 16px)!important;max-width:none!important}.site-header{padding:0 0 8px!important}.header-main.container{width:calc(100% - 14px)!important;margin-top:8px!important;padding:8px!important;border-radius:22px!important;display:grid!important;grid-template-columns:44px 1fr 44px!important;grid-template-areas:"cart brand menu" "search search search"!important;align-items:center!important;gap:8px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 12px 35px rgba(11,108,255,.10)!important}.brand{grid-area:brand!important;justify-content:center!important;gap:8px!important}.brand strong{font-size:16px!important;line-height:1!important}.brand-mark{width:36px!important;height:36px!important;border-radius:14px!important;font-size:12px!important}.brand img{max-height:40px!important;max-width:136px!important;object-fit:contain!important}.mobile-toggle{grid-area:menu!important;display:grid!important;width:40px!important;height:40px!important;place-items:center!important;border:0!important;border-radius:14px!important;background:linear-gradient(135deg,var(--wm-blue),var(--wm-blue2))!important;color:#fff!important;box-shadow:0 12px 28px rgba(11,108,255,.24)!important;font-size:0!important;padding:0!important}.mobile-toggle:before{content:"☰";font-size:21px;line-height:1}.header-actions{display:contents!important}.header-actions>a:first-child,.divider{display:none!important}.cart{grid-area:cart!important;position:static!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important}.cart span{display:none!important}.cart b{width:38px!important;height:38px!important;border-radius:13px!important;background:#fff!important;color:var(--wm-blue)!important;border:2px solid var(--wm-blue)!important;box-shadow:none!important}.header-search{grid-area:search!important;width:100%!important;max-width:none!important;min-width:0!important;height:42px!important;border-radius:999px!important;box-shadow:inset 0 0 0 1px #e2efff!important;background:#fff!important}.header-search input{font-size:12px!important;text-align:center!important;font-weight:800!important}.header-search button{width:44px!important;font-size:22px!important;color:#0f172a!important}.main-nav{display:none!important;position:absolute!important;top:100%!important;right:8px!important;left:8px!important;z-index:10040!important;margin:6px 0 0!important}.main-nav.open{display:block!important}.nav-inner{width:100%!important;max-width:none!important;min-height:0!important;border-radius:22px!important;padding:10px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;background:#fff!important;box-shadow:0 24px 70px rgba(15,23,42,.18)!important}.nav-item,.has-dropdown>a{font-size:12px!important;min-height:42px!important;border-radius:14px!important;padding:10px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;background:#f8fbff!important}.nav-item:after,.has-dropdown>a:after{display:none!important}.dropdown-panel{position:static!important;transform:none!important;width:100%!important;max-height:270px!important;grid-column:1/-1!important;display:none!important;background:#f8fbff!important;box-shadow:none!important;border-radius:18px!important;padding:8px!important;overflow:auto!important}.has-dropdown.open .dropdown-panel{display:grid!important}.dropdown-panel a{min-height:48px!important;font-size:12px!important}.dropdown-icon{width:34px!important;height:34px!important}.hero.container{margin-top:18px!important}.hero-banner-img{border-radius:18px!important;box-shadow:0 16px 34px rgba(11,108,255,.18)!important}.games-section{margin-top:28px!important}.section-head h2{font-size:25px!important;line-height:1.4!important;text-align:right!important}.game-list-panel{padding:10px!important;border-radius:22px!important}.all-games-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.game-row{min-height:88px!important;grid-template-columns:1fr!important;justify-items:center!important;text-align:center!important;padding:10px 7px!important;border-radius:18px!important}.game-icon{width:44px!important;height:44px!important;border-radius:14px!important}.game-text{text-align:center!important;align-items:center!important}.game-text strong{font-size:13px!important;line-height:1.55!important}.game-text small{font-size:9px!important;line-height:1.2!important}.modern-footer{margin-top:36px!important;padding-top:22px!important}.footer-main-grid-clean{width:calc(100% - 16px)!important;max-width:none!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.footer-about-card{grid-column:1/-1!important;order:1}.footer-links-column{order:2}.footer-contact-column{order:3}.footer-social-card{grid-column:1/-1!important;order:4}.footer-trust-card{grid-column:1/-1!important;order:5}.footer-about-card,.footer-column{border-radius:22px!important;padding:15px 10px!important;box-shadow:0 14px 34px rgba(11,108,255,.07)!important}.footer-about-card h3,.footer-column h4{font-size:15px!important;margin-bottom:12px!important;line-height:1.65!important}.footer-about-card p{font-size:11.8px!important;line-height:2.05!important;text-align:right!important}.footer-column ul{gap:8px!important}.footer-column a,.footer-column li{font-size:11.7px!important;line-height:1.8!important}.clean-contact-list{gap:8px!important}.footer-social-card{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.footer-social-card h4{grid-column:1/-1!important}.footer-social-card .social-btn{min-height:40px!important;border-radius:14px!important;font-size:11.5px!important;margin:0!important}.trust-logo-link img{width:86px!important}.footer-trust-card small{font-size:11px!important}.footer-bottom{width:calc(100% - 16px)!important;max-width:none!important;font-size:10.5px!important;padding:18px 0 88px!important}.mobile-bottom-nav{position:fixed!important;right:9px!important;left:9px!important;bottom:8px!important;z-index:100000!important;height:62px!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;padding:7px!important;background:rgba(255,255,255,.96)!important;border:1px solid #dbeafe!important;border-radius:22px!important;box-shadow:0 20px 52px rgba(15,23,42,.18)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important}.mobile-bottom-nav a{display:grid!important;place-items:center!important;gap:1px!important;border-radius:16px!important;color:#334155!important;text-decoration:none!important;font-weight:900!important}.mobile-bottom-nav a:hover{background:#eef6ff!important;color:var(--wm-blue)!important}.mobile-bottom-nav span{font-size:18px!important;line-height:1!important}.mobile-bottom-nav small{font-size:9.5px!important;line-height:1.2!important;white-space:nowrap!important}
}
@media (max-width:420px){.footer-main-grid-clean{grid-template-columns:repeat(2,minmax(0,1fr))!important}.footer-about-card,.footer-social-card,.footer-trust-card{grid-column:1/-1!important}.footer-column a,.footer-column li{font-size:11.2px!important}.all-games-list{gap:8px!important}.game-row{min-height:82px!important}.game-icon{width:40px!important;height:40px!important}.game-text strong{font-size:12px!important}.mobile-bottom-nav small{font-size:9px!important}.header-main.container{width:calc(100% - 10px)!important}}

/* === FINAL FIX V5: clean desktop dropdown, mobile header, footer columns === */
html,body{overflow-x:hidden!important}
body{font-family:"Yekan Bakh","IRANYekanX","IRANYekan","Vazirmatn",Tahoma,Arial,sans-serif!important;background:#eef7ff!important;color:#111827!important}

/* Desktop header reset */
@media (min-width:901px){
  .site-header{padding:14px 0 12px!important;background:rgba(255,255,255,.92)!important;backdrop-filter:blur(18px)!important;box-shadow:0 12px 38px rgba(15,23,42,.06)!important;z-index:9999!important}
  .header-main.container{max-width:1180px!important;width:calc(100% - 32px)!important;height:72px!important;display:grid!important;grid-template-columns:auto minmax(360px,560px) auto!important;grid-template-areas:"brand search actions"!important;align-items:center!important;gap:28px!important;padding:0 22px!important;border-radius:28px!important;background:#fff!important;border:1px solid #dceafe!important;box-shadow:0 18px 44px rgba(11,108,255,.07)!important}
  .brand{grid-area:brand!important;justify-content:flex-start!important;gap:10px!important;font-size:24px!important}
  .brand img{max-height:48px!important;max-width:155px!important;object-fit:contain!important}
  .header-search{grid-area:search!important;width:100%!important;max-width:560px!important;height:48px!important;margin:0 auto!important;border-radius:999px!important;background:#fff!important;border:1px solid #dbeafe!important;box-shadow:inset 0 0 0 1px rgba(219,234,254,.45)!important}
  .header-search input{font-size:14px!important;text-align:center!important;font-weight:800!important}
  .header-actions{grid-area:actions!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:14px!important;font-size:15px!important;white-space:nowrap!important}
  .mobile-toggle{display:none!important}

  .main-nav{display:block!important;position:relative!important;width:calc(100% - 32px)!important;max-width:1180px!important;margin:10px auto 0!important;background:#fff!important;border:1px solid #dceafe!important;border-radius:26px!important;box-shadow:0 15px 38px rgba(15,23,42,.045)!important;overflow:visible!important;z-index:10000!important}
  .nav-inner{height:56px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;padding:0 18px!important;overflow:visible!important;max-width:100%!important;width:100%!important}
  .nav-item,.has-dropdown>a{height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0 13px!important;border-radius:14px!important;background:transparent!important;color:#111827!important;font-size:14.5px!important;font-weight:950!important;line-height:1.2!important;white-space:nowrap!important;position:relative!important}
  .nav-item:after,.has-dropdown>a:after{content:""!important;position:absolute!important;right:14px!important;left:14px!important;bottom:2px!important;height:3px!important;border-radius:99px!important;background:linear-gradient(90deg,#0b6cff,#28b7ff)!important;transform:scaleX(0)!important;transition:.18s ease!important}
  .nav-item:hover:after,.has-dropdown:hover>a:after{transform:scaleX(1)!important}
  .has-dropdown{position:relative!important;display:flex!important;align-items:center!important;height:56px!important}
  .dropdown-panel{display:none!important;position:absolute!important;top:calc(100% + 10px)!important;right:0!important;left:auto!important;width:360px!important;max-width:calc(100vw - 32px)!important;max-height:440px!important;overflow:auto!important;padding:14px!important;background:rgba(255,255,255,.98)!important;border:1px solid #dbeafe!important;border-radius:24px!important;box-shadow:0 24px 70px rgba(15,23,42,.16)!important;z-index:10050!important;transform:none!important;margin:0!important}
  .has-dropdown:hover .dropdown-panel,.has-dropdown.open .dropdown-panel{display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
  .dropdown-panel a{display:grid!important;grid-template-columns:42px 1fr!important;align-items:center!important;gap:10px!important;min-height:54px!important;padding:8px 10px!important;border-radius:16px!important;color:#0b6cff!important;background:#fff!important;border:1px solid transparent!important;font-size:13.5px!important;font-weight:950!important;text-align:right!important}
  .dropdown-panel a:hover{background:#eef6ff!important;border-color:#dceafe!important}
  .dropdown-icon{width:42px!important;height:42px!important;border-radius:14px!important;object-fit:cover!important;background:#edf6ff!important}
}

/* Mobile header like app/shop */
@media (max-width:900px){
  body{padding-bottom:78px!important;background:#eef7ff!important;font-family:"Yekan Bakh","IRANYekanX","IRANYekan","Vazirmatn",Tahoma,Arial,sans-serif!important}
  .site-header{padding:8px 0!important;background:rgba(255,255,255,.96)!important;box-shadow:0 10px 28px rgba(15,23,42,.08)!important;position:sticky!important;top:0!important;z-index:10000!important}
  .header-main.container{width:calc(100% - 12px)!important;max-width:none!important;margin:0 auto!important;padding:8px!important;border-radius:20px!important;display:grid!important;grid-template-columns:42px 1fr 42px!important;grid-template-areas:"cart brand menu" "search search search"!important;gap:8px!important;align-items:center!important;background:#fff!important;border:1px solid #dceafe!important;box-shadow:0 12px 30px rgba(11,108,255,.09)!important}
  .brand{grid-area:brand!important;justify-content:center!important;font-size:16px!important;font-weight:950!important;color:#0b6cff!important;min-width:0!important}
  .brand img{max-height:38px!important;max-width:135px!important;object-fit:contain!important}
  .brand-mark{width:36px!important;height:36px!important;border-radius:13px!important;font-size:12px!important;background:linear-gradient(135deg,#0b6cff,#0a48d8)!important}
  .mobile-toggle{grid-area:menu!important;width:40px!important;height:40px!important;border:0!important;border-radius:14px!important;background:#0b6cff!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:0!important;padding:0!important;box-shadow:0 10px 22px rgba(11,108,255,.22)!important}
  .mobile-toggle:before{content:"☰"!important;font-size:21px!important;line-height:1!important}
  .header-actions{display:contents!important}
  .header-actions>a:first-child,.divider{display:none!important}
  .cart{grid-area:cart!important;width:40px!important;height:40px!important;display:grid!important;place-items:center!important}
  .cart span{display:none!important}
  .cart b{width:36px!important;height:36px!important;border-radius:13px!important;background:#fff!important;border:2px solid #0b6cff!important;color:#0b6cff!important;font-size:15px!important}
  .header-search{grid-area:search!important;width:100%!important;height:42px!important;max-width:none!important;border-radius:999px!important;border:1px solid #dceafe!important;background:#fff!important;box-shadow:none!important}
  .header-search input{font-size:12px!important;text-align:center!important;font-weight:800!important;color:#334155!important}
  .header-search button{width:42px!important;font-size:21px!important;color:#111827!important}
  .main-nav{display:none!important;position:fixed!important;top:72px!important;right:8px!important;left:8px!important;width:auto!important;max-width:none!important;margin:0!important;border-radius:22px!important;background:#fff!important;border:1px solid #dceafe!important;box-shadow:0 24px 70px rgba(15,23,42,.18)!important;z-index:10020!important;overflow:hidden!important}
  .main-nav.open{display:block!important}
  .nav-inner{height:auto!important;width:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:10px!important;max-height:calc(100vh - 110px)!important;overflow:auto!important;background:#fff!important}
  .nav-item,.has-dropdown>a{min-height:42px!important;height:auto!important;padding:10px 8px!important;border-radius:15px!important;background:#f8fbff!important;color:#111827!important;font-size:12px!important;font-weight:950!important;text-align:center!important;line-height:1.5!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .nav-item:after,.has-dropdown>a:after{display:none!important}
  .has-dropdown{display:block!important;grid-column:1/-1!important}
  .dropdown-panel{position:static!important;display:none!important;width:100%!important;max-height:260px!important;overflow:auto!important;box-shadow:none!important;border:0!important;background:#f8fbff!important;border-radius:18px!important;padding:8px!important;margin-top:6px!important;transform:none!important}
  .has-dropdown.open .dropdown-panel{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
  .dropdown-panel a{display:grid!important;grid-template-columns:34px 1fr!important;gap:8px!important;align-items:center!important;min-height:46px!important;padding:7px!important;border-radius:14px!important;background:#fff!important;color:#0b6cff!important;font-size:12px!important;font-weight:900!important}
  .dropdown-icon{width:34px!important;height:34px!important;border-radius:12px!important}
  .hero.container{width:calc(100% - 12px)!important;margin-top:14px!important}
  .hero-banner-img{border-radius:18px!important;display:block!important;width:100%!important;box-shadow:0 14px 32px rgba(11,108,255,.16)!important}
  .games-section{width:calc(100% - 12px)!important;margin-top:26px!important}
  .section-head.games-title-only{margin-bottom:12px!important}
  .section-head h2{font-size:24px!important;line-height:1.4!important;text-align:right!important}
  .game-list-panel{padding:10px!important;border-radius:22px!important}
  .all-games-list,.games-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .game-row{min-height:82px!important;display:grid!important;grid-template-columns:1fr!important;justify-items:center!important;text-align:center!important;padding:9px 7px!important;border-radius:17px!important}
  .game-icon{width:42px!important;height:42px!important;border-radius:14px!important}
  .game-text{align-items:center!important;text-align:center!important;gap:2px!important}
  .game-text strong{font-size:12.5px!important;line-height:1.45!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .game-text small{font-size:8.8px!important;line-height:1.2!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#64748b!important}
}
@media (max-width:350px){.all-games-list,.games-list{grid-template-columns:1fr!important}}

/* Footer final clean */
.site-footer.modern-footer{margin-top:44px!important;padding:40px 0 24px!important;background:linear-gradient(180deg,#eaf6ff 0%,#f8fcff 100%)!important;border-top:1px solid rgba(37,99,235,.10)!important}
.footer-feature-strip{display:none!important}
.footer-main-grid.footer-main-grid-clean{max-width:1180px!important;width:calc(100% - 32px)!important;margin:0 auto!important;display:grid!important;grid-template-columns:1.35fr .85fr .85fr .9fr!important;gap:20px!important;align-items:stretch!important}
.footer-about-card,.footer-column{background:#fff!important;border:1px solid #dceafe!important;border-radius:26px!important;box-shadow:0 18px 48px rgba(11,108,255,.07)!important;padding:26px 22px!important;text-align:center!important}
.footer-about-card h3,.footer-column h4{font-size:21px!important;font-weight:1000!important;color:#0b6cff!important;line-height:1.7!important;margin:0 0 16px!important;text-align:center!important}
.footer-about-card p{margin:0!important;font-size:14.5px!important;line-height:2.2!important;color:#334155!important;font-weight:800!important;text-align:justify!important;text-align-last:right!important}
.footer-column ul{list-style:none!important;margin:0!important;padding:0!important;display:grid!important;gap:11px!important;justify-items:center!important}
.footer-column li{margin:0!important;color:#334155!important;font-weight:900!important;line-height:1.9!important;text-align:center!important}
.footer-column a:not(.social-btn),.clean-contact-list span{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;color:#334155!important;font-weight:900!important;font-size:14px!important;text-align:center!important;line-height:1.9!important;word-break:normal!important}
.footer-column a:not(.social-btn):after{content:""!important;position:absolute!important;right:0!important;left:0!important;bottom:-4px!important;height:2px!important;border-radius:99px!important;background:linear-gradient(90deg,#0b6cff,#28b7ff)!important;transform:scaleX(0)!important;transition:.2s ease!important}
.footer-column a:not(.social-btn):hover{color:#0b6cff!important}.footer-column a:not(.social-btn):hover:after{transform:scaleX(1)!important}
.clean-contact-list{display:grid!important;gap:10px!important}
.clean-contact-list li{display:grid!important;grid-template-columns:1fr!important;justify-items:center!important;gap:3px!important}
.clean-contact-list b{font-size:13px!important;color:#111827!important;font-weight:1000!important}
.bug-bounty-btn{margin-top:2px!important;padding:8px 16px!important;border-radius:14px!important;background:linear-gradient(135deg,#0b6cff,#1da1ff)!important;color:#fff!important;box-shadow:0 12px 24px rgba(11,108,255,.18)!important}.bug-bounty-btn:after{display:none!important}
.footer-social-card{display:flex!important;flex-direction:column!important;gap:10px!important}.footer-social-card h4{margin-bottom:6px!important}.footer-social-card .social-btn{width:100%!important;min-height:46px!important;border-radius:16px!important;margin:0!important;color:#fff!important;font-weight:950!important;font-size:14px!important;box-shadow:0 12px 26px rgba(15,23,42,.10)!important}.footer-social-card .social-btn:after{display:none!important}
.footer-trust-card{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:12px!important}.trust-logo-link{display:inline-flex!important;background:#fff!important;border:1px solid #e5eefb!important;border-radius:18px!important;padding:10px!important}.trust-logo-link:after{display:none!important}.trust-logo-link img{width:104px!important;height:auto!important;border-radius:12px!important}.footer-trust-card small{font-size:13px!important;color:#64748b!important;font-weight:850!important}
.footer-bottom{max-width:1180px!important;width:calc(100% - 32px)!important;margin:26px auto 0!important;padding:22px 0 0!important;border-top:1px solid rgba(148,163,184,.22)!important;text-align:center!important;color:#64748b!important;font-size:13px!important;font-weight:850!important}
@media (max-width:1050px){.footer-main-grid.footer-main-grid-clean{grid-template-columns:1fr 1fr!important}.footer-about-card{grid-column:1/-1!important}}
@media (max-width:900px){.site-footer.modern-footer{margin-top:30px!important;padding:24px 0 86px!important}.footer-main-grid.footer-main-grid-clean{width:calc(100% - 12px)!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.footer-about-card{grid-column:1/-1!important;order:1}.footer-links-column{order:2}.footer-contact-column{order:3}.footer-social-card{grid-column:1/-1!important;order:4}.footer-trust-card{grid-column:1/-1!important;order:5}.footer-about-card,.footer-column{border-radius:22px!important;padding:16px 10px!important;box-shadow:0 14px 34px rgba(11,108,255,.07)!important}.footer-about-card h3,.footer-column h4{font-size:15.5px!important;margin-bottom:10px!important}.footer-about-card p{font-size:11.8px!important;line-height:2!important;text-align:right!important;text-align-last:auto!important}.footer-column ul{gap:7px!important}.footer-column a:not(.social-btn),.footer-column li,.clean-contact-list span{font-size:11.5px!important;line-height:1.8!important}.clean-contact-list b{font-size:11.2px!important}.footer-social-card{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.footer-social-card h4{grid-column:1/-1!important}.footer-social-card .social-btn{min-height:40px!important;border-radius:14px!important;font-size:11.5px!important;padding:0 6px!important}.trust-logo-link img{width:82px!important}.footer-trust-card small{font-size:11px!important}.footer-bottom{width:calc(100% - 12px)!important;margin-top:14px!important;padding:16px 0 0!important;font-size:10.5px!important}.mobile-bottom-nav{position:fixed!important;right:8px!important;left:8px!important;bottom:8px!important;z-index:100000!important;height:62px!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;padding:7px!important;background:rgba(255,255,255,.96)!important;border:1px solid #dbeafe!important;border-radius:22px!important;box-shadow:0 20px 52px rgba(15,23,42,.18)!important;backdrop-filter:blur(16px)!important}.mobile-bottom-nav a{display:grid!important;place-items:center!important;gap:1px!important;border-radius:16px!important;color:#334155!important;text-decoration:none!important;font-weight:900!important}.mobile-bottom-nav a:hover{background:#eef6ff!important;color:#0b6cff!important}.mobile-bottom-nav span{font-size:18px!important;line-height:1!important}.mobile-bottom-nav small{font-size:9.2px!important;line-height:1.2!important;white-space:nowrap!important}}
@media (max-width:380px){.footer-main-grid.footer-main-grid-clean{grid-template-columns:1fr!important}.footer-links-column,.footer-contact-column{grid-column:auto!important}.footer-column a:not(.social-btn),.footer-column li,.clean-contact-list span{font-size:12px!important}}

/* ===== Waria Market v6: footer/games/dropdown cleanup ===== */
@media (min-width:1025px){
  .all-games-list{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
  .all-games-list .game-row{grid-template-columns:54px 1fr!important;min-height:76px!important;padding:12px!important;border:1px solid #e7f0ff!important;background:linear-gradient(180deg,#fff 0,#fbfdff 100%)!important;box-shadow:0 10px 26px rgba(15,23,42,.035)!important}
  .all-games-list .game-row:hover{background:#f3f8ff!important;box-shadow:0 16px 34px rgba(11,108,255,.10)!important}
  .all-games-list .game-text strong{font-size:17px!important;line-height:1.45!important}
  .all-games-list .game-text small{font-size:11px!important;line-height:1.4!important}
  .dropdown-panel{right:0!important;left:auto!important;top:calc(100% + 14px)!important;transform:none!important;width:330px!important;max-height:420px!important;overflow:auto!important}
  .has-dropdown:hover .dropdown-panel{transform:none!important}
}

.modern-footer{background:linear-gradient(180deg,#eaf6ff 0%,#f7fbff 100%)!important;padding-top:46px!important;margin-top:52px!important}
.footer-main-grid-clean{display:grid!important;grid-template-columns:1.35fr .82fr .92fr .92fr!important;gap:18px!important;align-items:stretch!important}
.footer-about-card,.footer-column{min-width:0!important;padding:24px 20px!important;border-radius:26px!important;background:rgba(255,255,255,.94)!important;border:1px solid #dbeafe!important;box-shadow:0 18px 42px rgba(11,108,255,.07)!important;text-align:center!important}
.footer-about-card h3,.footer-column h4{font-size:20px!important;margin:0 0 16px!important;color:#0968ff!important;line-height:1.7!important}
.footer-about-card p{font-size:14px!important;line-height:2.15!important;text-align:right!important;color:#334155!important;margin:0!important}
.footer-trust-inline{margin:18px auto 0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;padding:10px 14px!important;border:1px solid #e3efff!important;border-radius:18px!important;background:#fff!important;color:#0968ff!important;font-weight:950!important;box-shadow:0 10px 24px rgba(15,23,42,.05)!important}
.footer-trust-inline:after{display:none!important}
.footer-trust-inline img{width:74px!important;height:auto!important;border-radius:12px!important;display:block!important}
.footer-links-column ul,.footer-contact-list{display:grid!important;gap:10px!important;align-content:start!important}
.footer-links-column a,.footer-contact-list a{font-size:14px!important;line-height:1.8!important;color:#334155!important;font-weight:900!important;white-space:nowrap!important}
.clean-contact-list li{display:grid!important;grid-template-columns:1fr!important;justify-items:center!important;gap:4px!important;padding:0!important;min-width:0!important}
.clean-contact-list b{font-size:13px!important;color:#64748b!important;font-weight:900!important;white-space:nowrap!important}
.clean-contact-list span,.clean-contact-list a{font-size:14px!important;color:#172033!important;font-weight:950!important;white-space:nowrap!important}
.bug-bounty-row{margin-top:4px!important}
.bug-bounty-btn{background:#0b73ff!important;color:#fff!important;border-radius:13px!important;padding:8px 16px!important;box-shadow:0 12px 24px rgba(11,108,255,.18)!important}
.bug-bounty-btn:after{display:none!important}
.footer-social-card .social-btn{height:46px!important;min-height:46px!important;margin:0 0 10px!important;border-radius:15px!important;font-size:13px!important;font-weight:950!important}
.footer-bottom{padding:24px 0 30px!important;margin-top:28px!important}

@media (max-width:1024px){
  .footer-main-grid-clean{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;max-width:calc(100% - 18px)!important}
  .footer-about-card{grid-column:1/-1!important;order:1!important}
  .footer-links-column{order:2!important}
  .footer-contact-column{order:3!important}
  .footer-social-card{grid-column:1/-1!important;order:4!important}
  .footer-about-card,.footer-column{padding:16px 12px!important;border-radius:20px!important}
  .footer-about-card h3,.footer-column h4{font-size:15px!important;margin-bottom:10px!important}
  .footer-about-card p{font-size:11.5px!important;line-height:2!important;text-align:right!important}
  .footer-trust-inline{padding:8px 10px!important;margin-top:12px!important;font-size:11px!important}
  .footer-trust-inline img{width:56px!important}
  .footer-links-column a,.footer-contact-list a,.clean-contact-list span{font-size:11.5px!important;line-height:1.7!important}
  .clean-contact-list b{font-size:10.5px!important}
  .footer-contact-list{gap:8px!important}
  .footer-social-card .social-btn{height:40px!important;min-height:40px!important;font-size:11.5px!important;margin-bottom:8px!important}
}

@media (max-width:960px){
  .all-games-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .all-games-list .game-row{grid-template-columns:1fr!important;justify-items:center!important;text-align:center!important;min-height:92px!important;padding:10px 6px!important}
  .all-games-list .game-icon{width:44px!important;height:44px!important}
  .all-games-list .game-text strong{font-size:12.5px!important;line-height:1.55!important}
  .all-games-list .game-text small{font-size:8.5px!important;line-height:1.25!important}
  .mobile-bottom-nav a span{font-size:18px!important}
  .mobile-bottom-nav a small{font-size:9.5px!important}
}

@media (max-width:380px){
  .footer-main-grid-clean{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .footer-about-card,.footer-column{padding:14px 8px!important}
  .footer-links-column a,.footer-contact-list a,.clean-contact-list span{font-size:10.5px!important}
}

/* === Waria Market v7 final layout fixes: header dropdown, footer contact, spacing === */
:root{--wm-blue:#0b6cff;--wm-blue2:#25b7ff;--wm-text:#152033;--wm-muted:#64748b;--wm-soft:#eef7ff;}
body{font-family:"IRANYekanX","IRANYekan","Yekan Bakh",Vazirmatn,Tahoma,Arial,sans-serif!important;background:#edf7ff!important;color:var(--wm-text)!important;}
.container{width:min(1180px,calc(100% - 32px))!important;}

/* Desktop header/menu: compact, no full-page dropdown */
.site-header{z-index:1000!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(12px)!important;}
.header-main.container{height:70px!important;display:flex!important;align-items:center!important;gap:24px!important;padding:0!important;}
.header-search{height:46px!important;}
.header-actions{display:flex!important;align-items:center!important;gap:14px!important;}
.mobile-toggle{display:none!important;}
.main-nav{position:relative!important;z-index:1001!important;border-top:1px solid #eef4ff!important;background:#fff!important;overflow:visible!important;}
.nav-inner{height:56px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:22px!important;overflow:visible!important;}
.nav-item,.has-dropdown>a{position:relative!important;height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0 4px!important;border-radius:0!important;background:transparent!important;color:#172033!important;font-size:15px!important;font-weight:950!important;white-space:nowrap!important;line-height:1.4!important;}
.nav-item:hover,.has-dropdown>a:hover{color:var(--wm-blue)!important;background:transparent!important;box-shadow:none!important;}
.nav-item:after,.has-dropdown>a:after{content:""!important;position:absolute!important;right:0!important;left:0!important;bottom:3px!important;height:3px!important;border-radius:999px!important;background:linear-gradient(90deg,var(--wm-blue),var(--wm-blue2))!important;transform:scaleX(0)!important;transform-origin:center!important;transition:.22s ease!important;}
.nav-item:hover:after,.has-dropdown>a:hover:after,.has-dropdown.open>a:after{transform:scaleX(1)!important;}
.has-dropdown{position:relative!important;display:flex!important;align-items:center!important;}
.dropdown-panel{position:absolute!important;right:0!important;top:calc(100% + 8px)!important;width:340px!important;max-height:420px!important;overflow:auto!important;display:none!important;grid-template-columns:1fr!important;gap:6px!important;padding:12px!important;background:rgba(255,255,255,.98)!important;border:1px solid #dceafe!important;border-radius:22px!important;box-shadow:0 24px 64px rgba(15,23,42,.16)!important;z-index:99999!important;}
.has-dropdown:hover .dropdown-panel,.has-dropdown.open .dropdown-panel{display:grid!important;}
.dropdown-panel a{display:grid!important;grid-template-columns:40px 1fr!important;align-items:center!important;gap:10px!important;min-height:50px!important;padding:8px 10px!important;border-radius:16px!important;background:#fff!important;color:var(--wm-blue)!important;font-size:13.5px!important;font-weight:950!important;text-align:right!important;}
.dropdown-panel a:hover{background:#eef7ff!important;}
.dropdown-icon{width:38px!important;height:38px!important;border-radius:13px!important;object-fit:cover!important;display:grid!important;place-items:center!important;background:#edf4ff!important;}

/* Reduce empty spaces between sections */
.hero.container{margin-top:28px!important;padding-top:0!important;margin-bottom:0!important;}
.hero-banner-img{width:100%!important;display:block!important;border-radius:28px!important;box-shadow:0 22px 54px rgba(22,89,190,.18)!important;}
.games-section{padding-top:10px!important;margin-top:12px!important;padding-bottom:34px!important;}
.section-head.games-title-only{margin:0 0 14px!important;}
.section-head h2{font-size:34px!important;line-height:1.5!important;}
.game-list-panel{padding:24px!important;border-radius:28px!important;}
.games-list,.all-games-list{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;}
.game-row{min-height:74px!important;grid-template-columns:52px 1fr!important;gap:12px!important;padding:10px 12px!important;}
.game-text strong{font-size:17px!important;line-height:1.45!important;}
.game-text small{font-size:11px!important;}

/* Footer: 4 columns, contact values under labels, no overlap */
.site-footer.modern-footer{margin-top:34px!important;padding:36px 0 22px!important;background:linear-gradient(180deg,#eaf6ff 0%,#f8fcff 100%)!important;border-top:1px solid rgba(37,99,235,.10)!important;}
.footer-main-grid.footer-main-grid-clean{width:min(1180px,calc(100% - 32px))!important;margin:0 auto!important;display:grid!important;grid-template-columns:1.25fr .82fr .9fr .92fr!important;gap:18px!important;align-items:stretch!important;}
.footer-about-card,.footer-column{background:rgba(255,255,255,.96)!important;border:1px solid #dceafe!important;border-radius:24px!important;box-shadow:0 16px 42px rgba(11,108,255,.065)!important;padding:22px 18px!important;text-align:center!important;min-height:auto!important;}
.footer-about-card h3,.footer-column h4{margin:0 0 14px!important;color:var(--wm-blue)!important;font-size:19px!important;line-height:1.65!important;font-weight:1000!important;text-align:center!important;}
.footer-about-card p{margin:0!important;color:#334155!important;font-size:13.8px!important;line-height:2.15!important;font-weight:800!important;text-align:justify!important;text-align-last:right!important;}
.footer-column ul{list-style:none!important;margin:0!important;padding:0!important;display:grid!important;gap:10px!important;justify-items:center!important;}
.footer-column li{width:100%!important;margin:0!important;text-align:center!important;color:#334155!important;font-weight:900!important;line-height:1.8!important;}
.footer-column a:not(.social-btn){position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;color:#334155!important;font-size:13.5px!important;font-weight:950!important;line-height:1.8!important;padding-bottom:5px!important;word-break:normal!important;}
.footer-column a:not(.social-btn):after{content:""!important;position:absolute!important;right:0!important;left:0!important;bottom:0!important;height:2px!important;border-radius:999px!important;background:linear-gradient(90deg,var(--wm-blue),var(--wm-blue2))!important;transform:scaleX(0)!important;transition:.2s ease!important;}
.footer-column a:not(.social-btn):hover{color:var(--wm-blue)!important;}
.footer-column a:not(.social-btn):hover:after{transform:scaleX(1)!important;}
.clean-contact-list{display:grid!important;gap:9px!important;}
.clean-contact-list li{display:grid!important;grid-template-columns:1fr!important;gap:4px!important;justify-items:center!important;align-items:center!important;text-align:center!important;}
.clean-contact-list b{display:block!important;color:#172033!important;font-size:12.5px!important;font-weight:1000!important;line-height:1.6!important;}
.clean-contact-list a,.clean-contact-list span{display:block!important;color:#334155!important;font-size:13px!important;font-weight:900!important;line-height:1.65!important;max-width:100%!important;overflow-wrap:anywhere!important;}
.bug-bounty-row{margin-top:4px!important;}
.bug-bounty-btn{display:inline-flex!important;padding:8px 14px!important;border-radius:14px!important;background:linear-gradient(135deg,#0b6cff,#28b7ff)!important;color:#fff!important;box-shadow:0 10px 22px rgba(11,108,255,.18)!important;}
.bug-bounty-btn:after{display:none!important;}
.footer-social-card{display:flex!important;flex-direction:column!important;gap:9px!important;}
.footer-social-card .social-btn{width:100%!important;min-height:42px!important;margin:0!important;border-radius:15px!important;color:#fff!important;font-size:13px!important;font-weight:950!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 10px 24px rgba(15,23,42,.09)!important;}
.footer-social-card .social-btn:after{display:none!important;}
.footer-trust-inline{margin-top:16px!important;display:inline-flex!important;flex-direction:column!important;align-items:center!important;gap:8px!important;background:#fff!important;border:1px solid #e5eefb!important;border-radius:18px!important;padding:10px!important;}
.footer-trust-inline:after{display:none!important;}
.footer-trust-inline img{width:92px!important;height:auto!important;border-radius:12px!important;}
.footer-trust-inline span{font-size:12px!important;color:#64748b!important;font-weight:900!important;}
.footer-bottom{width:min(1180px,calc(100% - 32px))!important;margin:22px auto 0!important;padding-top:18px!important;border-top:1px solid rgba(148,163,184,.22)!important;text-align:center!important;color:#64748b!important;font-size:12.5px!important;font-weight:850!important;}

@media (max-width:1050px){
  .games-list,.all-games-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .footer-main-grid.footer-main-grid-clean{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}

@media (max-width:900px){
  body{font-size:13px!important;padding-bottom:78px!important;}
  .container{width:calc(100% - 12px)!important;}
  .site-header{position:sticky!important;top:0!important;}
  .header-main.container{height:auto!important;min-height:64px!important;padding:7px 8px!important;display:grid!important;grid-template-columns:44px 1fr 44px!important;grid-template-areas:"cart brand menu" "search search search"!important;gap:8px!important;align-items:center!important;}
  .brand{grid-area:brand!important;justify-content:center!important;font-size:0!important;}
  .brand strong{font-size:0!important;}
  .brand-mark{width:42px!important;height:42px!important;border-radius:14px!important;font-size:12px!important;}
  .brand img{max-height:42px!important;max-width:110px!important;}
  .mobile-toggle{grid-area:menu!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;border:0!important;border-radius:14px!important;background:linear-gradient(135deg,#0b6cff,#0a48d8)!important;color:#fff!important;font-size:0!important;box-shadow:0 10px 22px rgba(11,108,255,.18)!important;justify-self:end!important;}
  .mobile-toggle:before{content:"☰";font-size:22px!important;line-height:1!important;}
  .header-actions{grid-area:cart!important;justify-self:start!important;display:flex!important;gap:0!important;font-size:0!important;}
  .header-actions>a:not(.cart),.header-actions .divider{display:none!important;}
  .cart{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;}
  .cart span{display:none!important;}
  .cart b{width:36px!important;height:36px!important;border-radius:10px!important;font-size:14px!important;}
  .header-search{grid-area:search!important;width:100%!important;max-width:none!important;height:38px!important;border-radius:999px!important;}
  .header-search input{font-size:12px!important;text-align:center!important;padding:0 8px!important;}
  .header-search button{width:42px!important;font-size:22px!important;}
  .main-nav{display:none!important;position:fixed!important;top:64px!important;right:8px!important;left:8px!important;border:1px solid #dbeafe!important;border-radius:20px!important;background:#fff!important;box-shadow:0 22px 62px rgba(15,23,42,.20)!important;z-index:10000!important;max-height:calc(100vh - 150px)!important;overflow:auto!important;padding:8px!important;}
  .main-nav.open{display:block!important;}
  .nav-inner{width:100%!important;height:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding:0!important;}
  .nav-item,.has-dropdown>a{width:100%!important;min-height:42px!important;height:auto!important;padding:9px 8px!important;border-radius:15px!important;background:#f8fbff!important;font-size:12px!important;line-height:1.5!important;text-align:center!important;}
  .nav-item:after,.has-dropdown>a:after{display:none!important;}
  .has-dropdown{display:block!important;grid-column:1/-1!important;}
  .dropdown-panel{position:static!important;width:100%!important;max-height:240px!important;margin-top:7px!important;box-shadow:none!important;border:0!important;background:#f8fbff!important;border-radius:16px!important;padding:8px!important;display:none!important;}
  .has-dropdown.open .dropdown-panel{display:grid!important;}
  .dropdown-panel a{min-height:44px!important;font-size:11.5px!important;grid-template-columns:32px 1fr!important;border-radius:13px!important;padding:6px 8px!important;}
  .dropdown-icon{width:32px!important;height:32px!important;border-radius:11px!important;}
  .hero.container{width:calc(100% - 10px)!important;margin-top:12px!important;}
  .hero-banner-img{border-radius:16px!important;box-shadow:0 12px 28px rgba(11,108,255,.14)!important;}
  .games-section{width:calc(100% - 10px)!important;margin-top:8px!important;padding-top:8px!important;padding-bottom:20px!important;}
  .section-head.games-title-only{margin-bottom:10px!important;}
  .section-head h2{font-size:24px!important;text-align:right!important;}
  .game-list-panel{padding:10px!important;border-radius:20px!important;}
  .games-list,.all-games-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
  .game-row{min-height:78px!important;grid-template-columns:1fr!important;justify-items:center!important;text-align:center!important;padding:8px 6px!important;border-radius:16px!important;}
  .game-icon{width:40px!important;height:40px!important;border-radius:13px!important;}
  .game-text{align-items:center!important;text-align:center!important;gap:1px!important;}
  .game-text strong{font-size:12px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important;}
  .game-text small{font-size:8.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important;}
  .site-footer.modern-footer{margin-top:20px!important;padding:18px 0 84px!important;}
  .footer-main-grid.footer-main-grid-clean{width:calc(100% - 10px)!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
  .footer-about-card{grid-column:1/-1!important;order:1;}
  .footer-links-column{order:2;}
  .footer-contact-column{order:3;}
  .footer-social-card{grid-column:1/-1!important;order:4;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;}
  .footer-social-card h4{grid-column:1/-1!important;}
  .footer-about-card,.footer-column{border-radius:18px!important;padding:14px 9px!important;box-shadow:0 12px 28px rgba(11,108,255,.055)!important;}
  .footer-about-card h3,.footer-column h4{font-size:14.5px!important;line-height:1.6!important;margin-bottom:9px!important;}
  .footer-about-card p{font-size:11.3px!important;line-height:1.95!important;text-align:right!important;text-align-last:auto!important;}
  .footer-column ul{gap:7px!important;}
  .footer-column a:not(.social-btn),.footer-column li{font-size:11.3px!important;line-height:1.7!important;}
  .clean-contact-list b{font-size:10.8px!important;}
  .clean-contact-list a,.clean-contact-list span{font-size:11px!important;}
  .bug-bounty-btn{padding:7px 11px!important;border-radius:12px!important;}
  .footer-social-card .social-btn{min-height:38px!important;font-size:11px!important;border-radius:13px!important;padding:0 4px!important;}
  .footer-trust-inline{margin-top:10px!important;padding:8px!important;}
  .footer-trust-inline img{width:72px!important;}
  .footer-bottom{width:calc(100% - 10px)!important;margin-top:12px!important;padding-top:12px!important;font-size:10.5px!important;}
  .mobile-bottom-nav{position:fixed!important;right:7px!important;left:7px!important;bottom:7px!important;z-index:100000!important;height:58px!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important;padding:6px!important;background:rgba(255,255,255,.97)!important;border:1px solid #dbeafe!important;border-radius:20px!important;box-shadow:0 18px 48px rgba(15,23,42,.18)!important;backdrop-filter:blur(16px)!important;}
  .mobile-bottom-nav a{display:grid!important;place-items:center!important;gap:1px!important;border-radius:14px!important;color:#334155!important;text-decoration:none!important;font-weight:900!important;}
  .mobile-bottom-nav a:hover{background:#eef6ff!important;color:var(--wm-blue)!important;}
  .mobile-bottom-nav span{font-size:17px!important;line-height:1!important;}
  .mobile-bottom-nav small{font-size:8.7px!important;line-height:1.15!important;white-space:nowrap!important;}
}
@media (max-width:360px){.footer-main-grid.footer-main-grid-clean{grid-template-columns:1fr!important}.footer-links-column,.footer-contact-column{order:2}.games-list,.all-games-list{grid-template-columns:1fr!important}}

/* === Waria Market v8: footer contact cleanup + bug bounty move === */
.footer-contact-column .clean-contact-list{
  display:grid!important;
  gap:14px!important;
  justify-items:center!important;
  align-content:start!important;
}
.footer-contact-column .clean-contact-list li{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:5px!important;
  width:100%!important;
  text-align:center!important;
  line-height:1.65!important;
  min-height:54px!important;
}
.footer-contact-column .clean-contact-list li b{
  display:block!important;
  width:100%!important;
  color:#0f172a!important;
  font-size:13px!important;
  font-weight:1000!important;
  line-height:1.5!important;
  text-align:center!important;
  margin:0!important;
}
.footer-contact-column .clean-contact-list li a,
.footer-contact-column .clean-contact-list li span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  max-width:100%!important;
  color:#334155!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1.6!important;
  text-align:center!important;
  padding:0 0 4px!important;
  margin:0!important;
  white-space:normal!important;
  word-break:keep-all!important;
}
.footer-social-card .bug-bounty-btn{
  background:linear-gradient(135deg,#22c55e,#0ea5e9)!important;
}
.footer-main-grid.footer-main-grid-clean{
  grid-template-columns:1.25fr .82fr .82fr .92fr!important;
}
@media (max-width:900px){
  .footer-contact-column .clean-contact-list{
    gap:8px!important;
  }
  .footer-contact-column .clean-contact-list li{
    min-height:46px!important;
    gap:3px!important;
  }
  .footer-contact-column .clean-contact-list li b{
    font-size:10.8px!important;
    line-height:1.45!important;
  }
  .footer-contact-column .clean-contact-list li a,
  .footer-contact-column .clean-contact-list li span{
    font-size:10.6px!important;
    line-height:1.45!important;
  }
  .footer-social-card{
    grid-column:1/-1!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .footer-social-card h4{grid-column:1/-1!important;}
}
@media (max-width:380px){
  .footer-contact-column .clean-contact-list li b,
  .footer-contact-column .clean-contact-list li a,
  .footer-contact-column .clean-contact-list li span{font-size:10.2px!important;}
}

/* === Waria Market v9: final footer contact stack fix === */
.footer-main-grid.footer-main-grid-clean{
  grid-template-columns:1.22fr .86fr .92fr .98fr!important;
  gap:16px!important;
  align-items:stretch!important;
}
.footer-contact-column{
  min-width:0!important;
  overflow:hidden!important;
}
.footer-contact-column .contact-stack-list,
.footer-contact-column .clean-contact-list{
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:14px!important;
  padding:0!important;
  margin:0!important;
}
.footer-contact-column .contact-stack-item,
.footer-contact-column .clean-contact-list li{
  width:100%!important;
  min-height:auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  padding:0!important;
  margin:0!important;
  text-align:center!important;
  line-height:1.55!important;
}
.footer-contact-column .contact-stack-label,
.footer-contact-column .clean-contact-list li b{
  display:block!important;
  width:100%!important;
  color:#111827!important;
  font-size:12.6px!important;
  font-weight:950!important;
  line-height:1.45!important;
  text-align:center!important;
  white-space:nowrap!important;
  margin:0!important;
}
.footer-contact-column .contact-stack-value,
.footer-contact-column .clean-contact-list li a,
.footer-contact-column .clean-contact-list li span:not(.contact-stack-label){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#475569!important;
  font-size:12.8px!important;
  font-weight:900!important;
  line-height:1.45!important;
  text-align:center!important;
  white-space:nowrap!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  padding:0!important;
  margin:0!important;
}
.footer-contact-column .contact-stack-value:after{display:none!important;}
.footer-social-card .bug-bounty-btn{background:linear-gradient(135deg,#22c55e,#0ea5e9)!important;}
@media (max-width:900px){
  .footer-main-grid.footer-main-grid-clean{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .footer-about-card{grid-column:1/-1!important;}
  .footer-links-column,.footer-contact-column{grid-column:auto!important;}
  .footer-social-card{grid-column:1/-1!important;}
  .footer-contact-column .contact-stack-list,
  .footer-contact-column .clean-contact-list{gap:10px!important;}
  .footer-contact-column .contact-stack-label,
  .footer-contact-column .clean-contact-list li b{font-size:10.8px!important;}
  .footer-contact-column .contact-stack-value,
  .footer-contact-column .clean-contact-list li a,
  .footer-contact-column .clean-contact-list li span:not(.contact-stack-label){font-size:10.8px!important;}
}
@media (max-width:360px){
  .footer-main-grid.footer-main-grid-clean{grid-template-columns:1fr!important;}
}

/* === Waria Market v10: footer contact real buttons + final layout hard override === */
:root{--wm-blue:#0b6cff;--wm-blue2:#0752d8;--wm-soft:#edf7ff;--wm-border:#d9eaff;--wm-text:#162033;}

/* Desktop menu/dropdown fix */
@media (min-width: 901px){
  .site-header{z-index:1000!important;}
  .main-nav{display:block!important;position:relative!important;z-index:1001!important;overflow:visible!important;}
  .nav-inner{overflow:visible!important;position:relative!important;}
  .has-dropdown{position:relative!important;}
  .has-dropdown .dropdown-panel{
    display:none!important;
    position:absolute!important;
    top:calc(100% + 12px)!important;
    right:0!important;
    left:auto!important;
    width:340px!important;
    max-width:340px!important;
    max-height:420px!important;
    overflow:auto!important;
    transform:none!important;
    padding:12px!important;
    border-radius:22px!important;
    background:rgba(255,255,255,.98)!important;
    border:1px solid var(--wm-border)!important;
    box-shadow:0 24px 70px rgba(15,23,42,.16)!important;
    z-index:20000!important;
  }
  .has-dropdown:hover .dropdown-panel,
  .has-dropdown.open .dropdown-panel{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;}
  .dropdown-panel a{min-height:48px!important;padding:8px 10px!important;font-size:14px!important;border-radius:14px!important;justify-content:flex-start!important;}
}

/* Games: desktop 4 columns, mobile 2 columns */
.all-games-list,.games-list{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;}
.game-list-panel{padding:22px!important;}
.games-section{padding-top:12px!important;margin-top:0!important;}
.section-head{margin-top:0!important;}

/* Footer desktop */
.modern-footer,.site-footer{margin-top:28px!important;padding:34px 0 22px!important;background:linear-gradient(180deg,#eef7ff 0%,#eaf5ff 100%)!important;}
.footer-main-grid.footer-main-grid-clean{
  width:min(1180px,calc(100% - 32px))!important;
  display:grid!important;
  grid-template-columns:1.35fr .85fr .92fr .98fr!important;
  gap:16px!important;
  align-items:stretch!important;
}
.footer-main-grid-clean>.footer-about-card,
.footer-main-grid-clean>.footer-column{
  min-width:0!important;
  height:auto!important;
  padding:24px 20px!important;
  border-radius:28px!important;
  background:rgba(255,255,255,.92)!important;
  border:1px solid var(--wm-border)!important;
  box-shadow:0 18px 45px rgba(11,108,255,.07)!important;
  text-align:center!important;
  overflow:hidden!important;
}
.footer-about-card h3,.footer-column h4{font-size:22px!important;line-height:1.55!important;margin:0 0 18px!important;color:var(--wm-blue)!important;font-weight:1000!important;text-align:center!important;}
.footer-about-card p{font-size:14px!important;line-height:2.15!important;text-align:right!important;color:#1f2937!important;margin:0 0 18px!important;}
.footer-links-column ul{display:grid!important;gap:12px!important;list-style:none!important;margin:0!important;padding:0!important;text-align:center!important;}
.footer-links-column a{position:relative!important;display:inline-block!important;font-size:14px!important;line-height:1.8!important;font-weight:900!important;color:#1f2937!important;padding-bottom:3px!important;}
.footer-links-column a:after{content:""!important;position:absolute!important;right:0!important;left:0!important;bottom:0!important;height:2px!important;border-radius:5px!important;background:linear-gradient(90deg,var(--wm-blue),#38bdf8)!important;transform:scaleX(0)!important;transform-origin:center!important;transition:.2s ease!important;}
.footer-links-column a:hover{color:var(--wm-blue)!important;}
.footer-links-column a:hover:after{transform:scaleX(1)!important;}

/* Contact column: real stacked buttons, no broken labels */
.footer-contact-fixed{overflow:visible!important;}
.footer-contact-buttons{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important;margin:0 auto!important;}
.footer-contact-btn{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  width:100%!important;
  min-height:58px!important;
  padding:10px 8px!important;
  border-radius:16px!important;
  background:#f6fbff!important;
  border:1px solid #dbeafe!important;
  color:#172033!important;
  text-align:center!important;
  text-decoration:none!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7)!important;
  white-space:normal!important;
}
.footer-contact-btn:after{display:none!important;}
.footer-contact-btn span{display:block!important;font-size:12.5px!important;line-height:1.5!important;font-weight:950!important;color:#64748b!important;margin:0!important;white-space:nowrap!important;}
.footer-contact-btn strong{display:block!important;font-size:13.5px!important;line-height:1.5!important;font-weight:1000!important;color:#0f172a!important;margin:0!important;white-space:nowrap!important;direction:ltr!important;unicode-bidi:plaintext!important;}
.footer-contact-btn:hover{background:#edf6ff!important;border-color:#bad7ff!important;transform:translateY(-1px)!important;}
.footer-contact-btn:hover strong{color:var(--wm-blue)!important;}
.footer-contact-btn.is-static{cursor:default!important;}

.footer-social-card{display:flex!important;flex-direction:column!important;gap:10px!important;}
.footer-social-card .social-btn{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:48px!important;border-radius:16px!important;margin:0!important;color:#fff!important;font-size:14px!important;font-weight:1000!important;box-shadow:0 14px 30px rgba(15,23,42,.10)!important;text-align:center!important;}
.footer-social-card .social-btn:after{display:none!important;}
.footer-trust-inline{display:inline-flex!important;flex-direction:column!important;align-items:center!important;gap:8px!important;margin:10px auto 0!important;padding:10px!important;border-radius:18px!important;background:#fff!important;border:1px solid var(--wm-border)!important;}
.footer-trust-inline img{width:96px!important;height:auto!important;border-radius:12px!important;display:block!important;}
.footer-bottom{width:min(1180px,calc(100% - 32px))!important;border-top:1px solid rgba(148,163,184,.28)!important;margin:28px auto 0!important;padding:20px 0 10px!important;text-align:center!important;color:#64748b!important;font-weight:900!important;}

/* Mobile final */
@media (max-width:900px){
  body{padding-bottom:78px!important;overflow-x:hidden!important;font-family:Vazirmatn,Tahoma,Arial,sans-serif!important;}
  .header-main.container{width:calc(100% - 12px)!important;margin:8px auto 0!important;padding:8px!important;border-radius:20px!important;grid-template-columns:44px 1fr 44px!important;grid-template-areas:"cart brand menu" "search search search"!important;gap:8px!important;}
  .mobile-toggle{grid-area:menu!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;border-radius:14px!important;background:linear-gradient(135deg,var(--wm-blue),var(--wm-blue2))!important;color:#fff!important;font-size:0!important;}
  .mobile-toggle:before{content:"☰"!important;font-size:21px!important;}
  .cart{grid-area:cart!important;width:40px!important;height:40px!important;}
  .cart b{width:38px!important;height:38px!important;border-radius:13px!important;}
  .brand{grid-area:brand!important;justify-content:center!important;}
  .header-search{grid-area:search!important;height:42px!important;}
  .main-nav{display:none!important;position:absolute!important;top:100%!important;right:8px!important;left:8px!important;z-index:10040!important;margin:6px 0 0!important;}
  .main-nav.open{display:block!important;}
  .nav-inner{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;background:#fff!important;border-radius:20px!important;padding:10px!important;box-shadow:0 24px 70px rgba(15,23,42,.18)!important;}
  .nav-item,.has-dropdown>a{font-size:12px!important;min-height:42px!important;border-radius:14px!important;background:#f8fbff!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:8px!important;}
  .has-dropdown .dropdown-panel{position:static!important;width:100%!important;max-width:none!important;grid-column:1/-1!important;max-height:260px!important;overflow:auto!important;border-radius:16px!important;box-shadow:none!important;background:#f8fbff!important;display:none!important;}
  .has-dropdown.open .dropdown-panel{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;}
  .hero.container{margin-top:14px!important;}
  .hero-banner-img{border-radius:18px!important;}
  .games-section{padding-top:10px!important;margin-top:0!important;}
  .section-head{margin:0 0 12px!important;}
  .section-head h2{font-size:24px!important;}
  .game-list-panel{padding:10px!important;border-radius:22px!important;}
  .all-games-list,.games-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;}
  .game-row{grid-template-columns:1fr!important;justify-items:center!important;text-align:center!important;min-height:84px!important;padding:9px 6px!important;border-radius:17px!important;}
  .game-icon{width:42px!important;height:42px!important;border-radius:14px!important;}
  .game-text strong{font-size:12.5px!important;line-height:1.45!important;}
  .game-text small{font-size:9px!important;line-height:1.15!important;}
  .modern-footer,.site-footer{margin-top:18px!important;padding:18px 0 8px!important;}
  .footer-main-grid.footer-main-grid-clean{width:calc(100% - 14px)!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;}
  .footer-about-card{grid-column:1/-1!important;order:1!important;}
  .footer-links-column{grid-column:1/2!important;order:2!important;}
  .footer-contact-column{grid-column:2/3!important;order:3!important;}
  .footer-social-card{grid-column:1/-1!important;order:4!important;}
  .footer-main-grid-clean>.footer-about-card,.footer-main-grid-clean>.footer-column{padding:14px 9px!important;border-radius:21px!important;min-height:0!important;}
  .footer-about-card h3,.footer-column h4{font-size:15px!important;line-height:1.55!important;margin-bottom:10px!important;}
  .footer-about-card p{font-size:11px!important;line-height:2!important;text-align:right!important;margin-bottom:10px!important;}
  .footer-links-column ul{gap:8px!important;}
  .footer-links-column a{font-size:11.2px!important;line-height:1.65!important;}
  .footer-contact-buttons{gap:7px!important;}
  .footer-contact-btn{min-height:48px!important;border-radius:14px!important;padding:7px 5px!important;}
  .footer-contact-btn span{font-size:10px!important;line-height:1.35!important;}
  .footer-contact-btn strong{font-size:10.4px!important;line-height:1.35!important;}
  .footer-social-card{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
  .footer-social-card h4{grid-column:1/-1!important;margin-bottom:2px!important;}
  .footer-social-card .social-btn{min-height:40px!important;border-radius:14px!important;font-size:11px!important;}
  .footer-trust-inline img{width:74px!important;}
  .footer-bottom{width:calc(100% - 14px)!important;margin-top:14px!important;padding:14px 0 78px!important;font-size:10px!important;}
}
@media (max-width:360px){
  .footer-main-grid.footer-main-grid-clean{grid-template-columns:1fr!important;}
  .footer-links-column,.footer-contact-column,.footer-social-card,.footer-about-card{grid-column:1/-1!important;}
}

/* SEO settings panel - scoped, no front layout change */
.seo-settings-form .seo-preview-box{
    margin-top:18px;
    padding:18px;
    border:1px solid #dbeafe;
    border-radius:18px;
    background:#fff;
    box-shadow:0 14px 35px rgba(37,99,235,.07);
}
.seo-settings-form .seo-preview-box h2{
    margin:0 0 12px;
    font-size:18px;
    color:#0f172a;
}
.seo-settings-form .seo-preview-box strong{
    display:block;
    color:#1d4ed8;
    font-size:19px;
    line-height:1.8;
}
.seo-settings-form .seo-preview-box span{
    display:block;
    color:#15803d;
    direction:ltr;
    text-align:left;
    font-size:13px;
    margin:2px 0 8px;
}
.seo-settings-form .seo-preview-box p{
    margin:0;
    color:#475569;
    line-height:2;
}
.seo-noindex-check{
    display:flex!important;
    align-items:center;
    gap:10px;
    padding:14px 16px;
    border:1px solid #fee2e2;
    background:#fff7f7;
    border-radius:14px;
    color:#991b1b;
}
.admin-actions-row{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}


/* === Waria Market final patch 2026-05-19: footer/menu/games hard fix === */
@media (min-width: 901px){
  .site-header{overflow:visible!important;z-index:3000!important;}
  .header-main.container{display:flex!important;}
  .main-nav{display:block!important;overflow:visible!important;position:relative!important;z-index:3001!important;}
  .nav-inner{display:flex!important;align-items:center!important;justify-content:center!important;gap:24px!important;height:54px!important;overflow:visible!important;}
  .nav-item{position:relative!important;white-space:nowrap!important;}
  .has-dropdown>a{padding:0!important;background:transparent!important;border:0!important;}
  .has-dropdown .dropdown-panel{
    position:absolute!important;top:calc(100% + 12px)!important;right:0!important;left:auto!important;
    width:336px!important;max-width:336px!important;max-height:390px!important;overflow:auto!important;
    display:none!important;grid-template-columns:1fr!important;gap:7px!important;padding:12px!important;
    background:#fff!important;border:1px solid #dbeafe!important;border-radius:20px!important;
    box-shadow:0 26px 70px rgba(15,23,42,.18)!important;transform:none!important;z-index:4000!important;
  }
  .has-dropdown:hover .dropdown-panel,.has-dropdown.open .dropdown-panel{display:grid!important;}
  .dropdown-panel a{display:grid!important;grid-template-columns:38px 1fr!important;align-items:center!important;gap:10px!important;min-height:48px!important;padding:8px 10px!important;border-radius:14px!important;background:#fff!important;color:#0f172a!important;font-size:13px!important;font-weight:950!important;line-height:1.6!important;}
  .dropdown-panel a:hover{background:#edf7ff!important;color:#0b6cff!important;}
}
.hero.container{padding-top:24px!important;margin-bottom:0!important;}
.hero-banner-link{display:block!important;}
.hero-banner-img{width:100%!important;height:auto!important;display:block!important;border-radius:26px!important;}
.games-section{padding-top:8px!important;padding-bottom:38px!important;margin-top:0!important;}
.games-title-only{margin:0 0 12px!important;}
.game-list-panel{padding:20px!important;}
.games-list.all-games-list,.all-games-list{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;}
.all-games-list .game-row{grid-template-columns:52px 1fr!important;min-height:74px!important;padding:10px!important;}
.all-games-list .game-text strong{font-size:16px!important;line-height:1.45!important;}
.all-games-list .game-text small{font-size:11px!important;line-height:1.35!important;}
.site-footer.modern-footer{margin-top:24px!important;padding:32px 0 20px!important;background:linear-gradient(180deg,#eff8ff 0%,#e9f5ff 100%)!important;}
.footer-main-grid.footer-main-grid-clean{width:min(1180px,calc(100% - 32px))!important;margin:0 auto!important;display:grid!important;grid-template-columns:.92fr .92fr .9fr 1.32fr!important;gap:16px!important;align-items:stretch!important;direction:rtl!important;}
.footer-social-card{order:1!important;}
.footer-contact-column{order:2!important;}
.footer-links-column{order:3!important;}
.footer-about-card{order:4!important;}
.footer-main-grid-clean>.footer-column,.footer-main-grid-clean>.footer-about-card{min-width:0!important;padding:22px 18px!important;border-radius:26px!important;background:rgba(255,255,255,.94)!important;border:1px solid #dbeafe!important;box-shadow:0 18px 42px rgba(11,108,255,.07)!important;text-align:center!important;overflow:hidden!important;}
.footer-column h4,.footer-about-card h3{margin:0 0 16px!important;color:#0b6cff!important;font-size:20px!important;font-weight:1000!important;line-height:1.55!important;text-align:center!important;}
.footer-about-card p{margin:0 0 16px!important;color:#1f2937!important;font-size:13.5px!important;font-weight:800!important;line-height:2.05!important;text-align:right!important;}
.footer-social-card{display:flex!important;flex-direction:column!important;gap:9px!important;}
.footer-social-card .social-btn{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:44px!important;margin:0!important;padding:8px 10px!important;border-radius:15px!important;font-size:13px!important;font-weight:1000!important;line-height:1.55!important;color:#fff!important;text-align:center!important;}
.footer-social-card .social-btn:after{display:none!important;}
.footer-contact-buttons{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;width:100%!important;margin:0!important;}
.footer-contact-btn{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;width:100%!important;min-height:55px!important;padding:9px 6px!important;border-radius:15px!important;background:#f7fbff!important;border:1px solid #dbeafe!important;text-align:center!important;white-space:normal!important;overflow:hidden!important;}
.footer-contact-btn span{display:block!important;margin:0!important;color:#64748b!important;font-size:12px!important;font-weight:950!important;line-height:1.45!important;white-space:nowrap!important;}
.footer-contact-btn strong{display:block!important;margin:0!important;color:#0f172a!important;font-size:12.8px!important;font-weight:1000!important;line-height:1.45!important;white-space:nowrap!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;direction:ltr!important;unicode-bidi:plaintext!important;}
.footer-contact-btn:after{display:none!important;}
.footer-links-column ul{display:grid!important;gap:10px!important;margin:0!important;padding:0!important;list-style:none!important;text-align:center!important;}
.footer-links-column a{display:inline-block!important;position:relative!important;color:#1f2937!important;font-size:13px!important;font-weight:950!important;line-height:1.75!important;padding-bottom:3px!important;}
.footer-links-column a:after{content:""!important;position:absolute!important;right:0!important;left:0!important;bottom:0!important;height:2px!important;background:linear-gradient(90deg,#0b6cff,#38bdf8)!important;border-radius:3px!important;transform:scaleX(0)!important;transform-origin:center!important;transition:.2s!important;}
.footer-links-column a:hover{color:#0b6cff!important;}
.footer-links-column a:hover:after{transform:scaleX(1)!important;}
.footer-trust-inline{display:inline-flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;margin:8px auto 0!important;padding:10px 12px!important;border-radius:18px!important;background:#fff!important;border:1px solid #dbeafe!important;}
.footer-trust-inline img{width:88px!important;height:auto!important;display:block!important;border-radius:12px!important;}
.footer-bottom{width:min(1180px,calc(100% - 32px))!important;margin:22px auto 0!important;padding:18px 0 8px!important;border-top:1px solid rgba(148,163,184,.28)!important;text-align:center!important;color:#64748b!important;font-size:13px!important;font-weight:900!important;}
@media (max-width: 900px){
  body{padding-bottom:78px!important;overflow-x:hidden!important;}
  .site-header{z-index:3000!important;}
  .header-main.container{display:grid!important;width:calc(100% - 12px)!important;margin:7px auto 0!important;padding:8px!important;grid-template-columns:42px 1fr 42px!important;grid-template-areas:"cart brand menu" "search search search"!important;gap:8px!important;border-radius:20px!important;background:#fff!important;}
  .mobile-toggle{grid-area:menu!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;border-radius:14px!important;}
  .brand{grid-area:brand!important;justify-content:center!important;min-width:0!important;}
  .brand img{max-width:138px!important;max-height:42px!important;}
  .header-actions{display:contents!important;}
  .header-actions>a:not(.cart),.header-actions .divider{display:none!important;}
  .cart{grid-area:cart!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;}
  .cart span{display:none!important;}
  .cart b{width:38px!important;height:38px!important;border-radius:13px!important;}
  .header-search{grid-area:search!important;width:100%!important;max-width:none!important;height:42px!important;}
  .main-nav{display:none!important;position:absolute!important;top:100%!important;right:8px!important;left:8px!important;z-index:3200!important;margin-top:6px!important;border:0!important;}
  .main-nav.open{display:block!important;}
  .nav-inner{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;height:auto!important;padding:10px!important;background:#fff!important;border:1px solid #dbeafe!important;border-radius:20px!important;box-shadow:0 24px 70px rgba(15,23,42,.18)!important;}
  .nav-item,.has-dropdown>a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:8px!important;border-radius:14px!important;background:#f8fbff!important;font-size:12px!important;text-align:center!important;}
  .has-dropdown{display:contents!important;}
  .has-dropdown .dropdown-panel{position:static!important;grid-column:1/-1!important;width:100%!important;max-width:none!important;max-height:250px!important;display:none!important;overflow:auto!important;padding:8px!important;background:#f8fbff!important;border:0!important;border-radius:16px!important;box-shadow:none!important;}
  .has-dropdown.open .dropdown-panel{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;}
  .hero.container{padding-top:12px!important;}
  .hero-banner-img{border-radius:17px!important;}
  .games-section{padding-top:6px!important;padding-bottom:22px!important;}
  .games-title-only{margin:0 0 10px!important;}
  .games-title-only h2{font-size:24px!important;}
  .game-list-panel{padding:10px!important;border-radius:22px!important;}
  .games-list.all-games-list,.all-games-list,.games-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
  .all-games-list .game-row,.game-row{grid-template-columns:1fr!important;justify-items:center!important;text-align:center!important;min-height:86px!important;padding:8px 6px!important;border-radius:16px!important;}
  .all-games-list .game-icon,.game-icon{width:42px!important;height:42px!important;border-radius:14px!important;}
  .all-games-list .game-text strong,.game-text strong{font-size:12px!important;line-height:1.45!important;}
  .all-games-list .game-text small,.game-text small{font-size:8.6px!important;line-height:1.2!important;}
  .site-footer.modern-footer{margin-top:14px!important;padding:16px 0 8px!important;}
  .footer-main-grid.footer-main-grid-clean{width:calc(100% - 14px)!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;direction:rtl!important;}
  .footer-social-card{grid-column:1/-1!important;order:1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
  .footer-social-card h4{grid-column:1/-1!important;margin-bottom:2px!important;}
  .footer-contact-column{grid-column:1/2!important;order:2!important;}
  .footer-links-column{grid-column:2/3!important;order:3!important;}
  .footer-about-card{grid-column:1/-1!important;order:4!important;}
  .footer-main-grid-clean>.footer-column,.footer-main-grid-clean>.footer-about-card{padding:13px 8px!important;border-radius:20px!important;}
  .footer-column h4,.footer-about-card h3{font-size:14.5px!important;margin-bottom:9px!important;}
  .footer-social-card .social-btn{min-height:39px!important;font-size:10.7px!important;border-radius:13px!important;padding:6px 5px!important;}
  .footer-contact-buttons{gap:6px!important;}
  .footer-contact-btn{min-height:46px!important;border-radius:13px!important;padding:6px 4px!important;}
  .footer-contact-btn span{font-size:9.8px!important;line-height:1.35!important;}
  .footer-contact-btn strong{font-size:10px!important;line-height:1.35!important;}
  .footer-links-column ul{gap:7px!important;}
  .footer-links-column a{font-size:10.6px!important;line-height:1.6!important;}
  .footer-about-card p{font-size:11px!important;line-height:1.95!important;margin-bottom:9px!important;}
  .footer-trust-inline img{width:72px!important;}
  .footer-bottom{width:calc(100% - 14px)!important;margin-top:12px!important;padding:12px 0 78px!important;font-size:10px!important;}
}
@media (max-width:360px){
  .footer-main-grid.footer-main-grid-clean{grid-template-columns:1fr!important;}
  .footer-social-card,.footer-contact-column,.footer-links-column,.footer-about-card{grid-column:1/-1!important;}
}


/* === Waria Market v9: header dropdown/mobile menu/logo size settings === */
.brand img{
  width:var(--wm-logo-width-desktop,150px)!important;
  max-width:none!important;
  max-height:var(--wm-logo-height-desktop,48px)!important;
  height:auto!important;
  object-fit:contain!important;
  display:block!important;
}
@media (min-width:901px){
  .site-header,.main-nav,.nav-inner,.has-dropdown{overflow:visible!important;}
  .has-dropdown{position:relative!important;}
  .has-dropdown:before{content:""!important;position:absolute!important;right:-8px;left:-8px;top:100%;height:18px;display:block!important;z-index:3999!important;}
  .has-dropdown .dropdown-panel{top:calc(100% + 8px)!important;right:0!important;left:auto!important;display:none!important;pointer-events:auto!important;}
  .has-dropdown:hover .dropdown-panel,.has-dropdown.open .dropdown-panel,.has-dropdown:focus-within .dropdown-panel{display:grid!important;}
  .has-dropdown>a{cursor:pointer!important;}
  .has-dropdown>a span{font-size:14px!important;margin-right:3px!important;}
}
@media (max-width:900px){
  .site-header{position:sticky!important;top:0!important;overflow:visible!important;}
  .brand img{width:var(--wm-logo-width-mobile,128px)!important;max-width:none!important;max-height:var(--wm-logo-height-mobile,42px)!important;height:auto!important;}
  .main-nav{position:fixed!important;top:74px!important;right:8px!important;left:8px!important;bottom:auto!important;margin:0!important;max-height:calc(100vh - 92px)!important;overflow:auto!important;background:transparent!important;}
  .main-nav.open{display:block!important;}
  .nav-inner{grid-template-columns:1fr!important;gap:8px!important;align-items:stretch!important;justify-items:stretch!important;}
  .nav-item,.has-dropdown>a{width:100%!important;min-height:46px!important;justify-content:center!important;border:1px solid #e5f0ff!important;background:#f8fbff!important;color:#152033!important;font-size:13px!important;}
  .has-dropdown{display:block!important;width:100%!important;}
  .has-dropdown>a{display:flex!important;}
  .has-dropdown .dropdown-panel{display:none!important;position:static!important;width:100%!important;max-width:none!important;max-height:340px!important;overflow:auto!important;margin-top:7px!important;padding:8px!important;border:1px solid #e5f0ff!important;border-radius:16px!important;background:#f3f8ff!important;box-shadow:none!important;}
  .has-dropdown.open .dropdown-panel{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;}
  .dropdown-panel a{min-height:48px!important;grid-template-columns:38px 1fr!important;background:#fff!important;border:1px solid #eaf2ff!important;}
}
.admin-logo-preview-box{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:6px 0 12px;}
.admin-logo-preview-box>div{display:grid;gap:10px;align-items:center;justify-items:center;background:#f8fbff;border:1px solid #dbeafe;border-radius:18px;padding:16px;min-height:130px;}
.admin-logo-preview-box strong{color:#0f172a;font-size:14px;}
.admin-logo-preview-img,.admin-favicon-preview-img{object-fit:contain;background:#fff;border:1px solid #e5eefb;border-radius:14px;padding:6px;}
.admin-empty-preview{color:#64748b;font-size:13px;}
@media (max-width:700px){.admin-logo-preview-box{grid-template-columns:1fr}}

/* === Waria Market v10: mobile menu only, desktop untouched === */
@font-face{
  font-family:IRANYekanX;
  src:local('IRANYekanX'),local('IRANYekanXFaNum'),local('IRANYekan'),local('IRANYekanWeb'),local('Yekan Bakh'),local('YekanBakh');
  font-display:swap;
}
@media (max-width:900px){
  html,body,button,input,textarea,select,a{font-family:IRANYekanX,IRANYekan,YekanBakh,Vazirmatn,Tahoma,Arial,sans-serif!important;}
  body{overflow-x:hidden!important;}
  body.mobile-menu-open{overflow:hidden!important;}
  body.mobile-menu-open:before{content:""!important;position:fixed!important;inset:0!important;background:rgba(15,23,42,.38)!important;z-index:11990!important;backdrop-filter:blur(4px)!important;}

  .site-header{z-index:12020!important;overflow:visible!important;}
  .header-main.container{position:relative!important;z-index:12030!important;}
  .mobile-toggle{transition:.18s ease!important;}
  .mobile-toggle.is-open{background:#0f172a!important;color:#fff!important;box-shadow:0 14px 32px rgba(15,23,42,.22)!important;}
  .mobile-toggle.is-open:before{content:"×"!important;font-size:30px!important;font-weight:900!important;line-height:1!important;}

  .main-nav{
    display:none!important;
    position:fixed!important;
    top:106px!important;
    right:10px!important;
    left:10px!important;
    bottom:auto!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    z-index:12040!important;
    max-height:calc(100dvh - 126px)!important;
    overflow:visible!important;
  }
  .main-nav.open{display:block!important;animation:wmMobileMenuIn .18s ease-out both!important;}
  @keyframes wmMobileMenuIn{from{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}

  .main-nav .nav-inner{
    width:100%!important;
    height:auto!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    align-items:stretch!important;
    justify-items:stretch!important;
    padding:12px!important;
    margin:0!important;
    background:rgba(255,255,255,.98)!important;
    border:1px solid #dbeafe!important;
    border-radius:24px!important;
    box-shadow:0 26px 75px rgba(15,23,42,.24)!important;
    max-height:calc(100dvh - 126px)!important;
    overflow:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .main-nav .nav-item,
  .main-nav .has-dropdown>a{
    width:100%!important;
    min-height:50px!important;
    height:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    padding:12px 14px!important;
    margin:0!important;
    border:1px solid #e6f0ff!important;
    border-radius:17px!important;
    background:#f8fbff!important;
    color:#111827!important;
    font-size:14px!important;
    font-weight:950!important;
    line-height:1.7!important;
    text-align:right!important;
    box-shadow:0 6px 18px rgba(11,108,255,.045)!important;
  }
  .main-nav .nav-item:hover,
  .main-nav .has-dropdown>a:hover{background:#eef7ff!important;color:#075fff!important;}
  .main-nav .nav-item:after,
  .main-nav .has-dropdown>a:after{display:none!important;}
  .main-nav .has-dropdown{display:block!important;width:100%!important;grid-column:auto!important;position:static!important;}
  .main-nav .has-dropdown:before{display:none!important;}
  .main-nav .has-dropdown>a span{margin:0!important;font-size:15px!important;transition:.18s ease!important;}
  .main-nav .has-dropdown.open>a{background:#edf7ff!important;border-color:#bfdbfe!important;color:#075fff!important;}
  .main-nav .has-dropdown.open>a span{transform:rotate(180deg)!important;}

  .main-nav .has-dropdown:hover .dropdown-panel,
  .main-nav .has-dropdown:focus-within .dropdown-panel{display:none!important;}
  .main-nav .has-dropdown.open .dropdown-panel{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
  }
  .main-nav .has-dropdown .dropdown-panel{
    position:static!important;
    right:auto!important;
    left:auto!important;
    top:auto!important;
    width:100%!important;
    max-width:none!important;
    max-height:42dvh!important;
    overflow:auto!important;
    margin:8px 0 2px!important;
    padding:8px!important;
    border:1px solid #e6f0ff!important;
    border-radius:18px!important;
    background:#f3f8ff!important;
    box-shadow:none!important;
    z-index:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .main-nav .dropdown-panel a{
    width:100%!important;
    min-height:48px!important;
    display:grid!important;
    grid-template-columns:38px 1fr!important;
    align-items:center!important;
    gap:10px!important;
    padding:8px 10px!important;
    border:1px solid #eaf2ff!important;
    border-radius:15px!important;
    background:#fff!important;
    color:#152033!important;
    font-size:13px!important;
    font-weight:900!important;
    line-height:1.7!important;
    text-align:right!important;
  }
  .main-nav .dropdown-panel a:hover{background:#eef7ff!important;color:#075fff!important;}
  .main-nav .dropdown-icon{width:36px!important;height:36px!important;border-radius:12px!important;object-fit:cover!important;}
}
@media (max-width:420px){
  .main-nav{top:104px!important;right:8px!important;left:8px!important;max-height:calc(100dvh - 122px)!important;}
  .main-nav .nav-inner{padding:10px!important;border-radius:22px!important;max-height:calc(100dvh - 122px)!important;}
  .main-nav .nav-item,.main-nav .has-dropdown>a{min-height:48px!important;font-size:13.5px!important;padding:11px 12px!important;}
}


/* === Waria Market v11: IranianCard-style mobile drawer only === */
.mobile-drawer-head,.mobile-drawer-login{display:none!important;}
@media (max-width:900px){
  html,body,button,input,textarea,select,a{font-family:IRANYekanX,IRANYekan,YekanBakh,Vazirmatn,Tahoma,Arial,sans-serif!important;}
  body{overflow-x:hidden!important;}
  body.mobile-menu-open{overflow:hidden!important;touch-action:none!important;}
  body.mobile-menu-open:before{
    content:""!important;
    position:fixed!important;
    inset:0!important;
    background:rgba(15,23,42,.46)!important;
    backdrop-filter:blur(3px)!important;
    -webkit-backdrop-filter:blur(3px)!important;
    z-index:12980!important;
  }

  .site-header{z-index:12000!important;}
  .header-main.container{z-index:12010!important;}
  .mobile-toggle{z-index:13020!important;}
  .mobile-toggle.is-open{background:#0f172a!important;color:#fff!important;box-shadow:0 12px 30px rgba(15,23,42,.25)!important;}
  .mobile-toggle.is-open:before{content:"×"!important;font-size:28px!important;font-weight:1000!important;line-height:1!important;}

  .main-nav{
    display:block!important;
    position:fixed!important;
    top:0!important;
    right:0!important;
    left:auto!important;
    bottom:0!important;
    width:min(78vw,380px)!important;
    min-width:292px!important;
    height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:#fff!important;
    box-shadow:-22px 0 70px rgba(15,23,42,.22)!important;
    z-index:13000!important;
    overflow:hidden!important;
    transform:translateX(105%)!important;
    opacity:1!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:transform .24s ease,visibility .24s ease!important;
  }
  .main-nav.open{
    transform:translateX(0)!important;
    visibility:visible!important;
    pointer-events:auto!important;
    animation:none!important;
  }
  .main-nav .nav-inner{
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    margin:0!important;
    padding:0 14px 18px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:0!important;
    background:#fff!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    direction:rtl!important;
  }
  .mobile-drawer-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    min-height:86px!important;
    padding:18px 0 14px!important;
    margin:0 0 6px!important;
    border-bottom:1px solid #eef2f7!important;
    flex:0 0 auto!important;
  }
  .mobile-drawer-brand{display:flex!important;align-items:center!important;justify-content:flex-start!important;min-width:0!important;text-decoration:none!important;}
  .mobile-drawer-brand img{width:150px!important;max-width:56vw!important;height:auto!important;max-height:46px!important;object-fit:contain!important;display:block!important;}
  .mobile-drawer-brand .brand-mark{width:38px!important;height:38px!important;border-radius:12px!important;display:grid!important;place-items:center!important;background:#0d6efd!important;color:#fff!important;font-size:13px!important;font-weight:1000!important;}
  .mobile-drawer-brand strong{font-size:15px!important;color:#0f172a!important;margin-right:8px!important;white-space:nowrap!important;}
  .mobile-drawer-close{
    display:grid!important;
    place-items:center!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    border:0!important;
    border-radius:50%!important;
    background:#f1f5f9!important;
    color:#0f172a!important;
    font-size:28px!important;
    line-height:1!important;
    font-weight:900!important;
    cursor:pointer!important;
  }
  .mobile-drawer-login{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:58px!important;
    margin:8px 0 10px!important;
    padding:12px 14px!important;
    border-bottom:1px solid #eef2f7!important;
    color:#64748b!important;
    font-size:16px!important;
    font-weight:850!important;
    text-decoration:none!important;
    background:#fff!important;
    border-radius:0!important;
    flex:0 0 auto!important;
  }
  .mobile-drawer-login:before{
    content:"👤"!important;
    width:42px!important;
    height:42px!important;
    margin-left:10px!important;
    border-radius:50%!important;
    display:grid!important;
    place-items:center!important;
    background:#0d6efd!important;
    color:#fff!important;
    font-size:19px!important;
  }

  .main-nav .nav-item,.main-nav .has-dropdown>a{
    width:100%!important;
    min-height:58px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    padding:0 4px!important;
    margin:0!important;
    border:0!important;
    border-bottom:1px solid #eef2f7!important;
    border-radius:0!important;
    background:#fff!important;
    color:#555f6d!important;
    font-size:16px!important;
    font-weight:850!important;
    line-height:1.7!important;
    text-align:right!important;
    text-decoration:none!important;
    white-space:normal!important;
    box-shadow:none!important;
    flex:0 0 auto!important;
    box-sizing:border-box!important;
  }
  .main-nav .nav-item:hover,.main-nav .has-dropdown>a:hover{background:#fff!important;color:#0d6efd!important;}
  .main-nav .has-dropdown{display:block!important;width:100%!important;position:relative!important;flex:0 0 auto!important;}
  .main-nav .has-dropdown>a{position:relative!important;padding-left:38px!important;}
  .main-nav .has-dropdown>a span{
    position:absolute!important;
    left:8px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:28px!important;
    height:28px!important;
    display:grid!important;
    place-items:center!important;
    margin:0!important;
    color:#64748b!important;
    font-size:18px!important;
    transition:transform .18s ease!important;
  }
  .main-nav .has-dropdown.open>a span{transform:translateY(-50%) rotate(180deg)!important;color:#0d6efd!important;}
  .main-nav .dropdown-panel{
    display:none!important;
    position:static!important;
    width:100%!important;
    max-width:100%!important;
    max-height:none!important;
    margin:0!important;
    padding:8px 0 8px!important;
    border:0!important;
    border-bottom:1px solid #eef2f7!important;
    border-radius:0!important;
    background:#fff!important;
    box-shadow:none!important;
    overflow:visible!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    box-sizing:border-box!important;
  }
  .main-nav .has-dropdown.open .dropdown-panel{display:block!important;}
  .main-nav .dropdown-panel a{
    width:100%!important;
    min-height:48px!important;
    max-width:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    padding:7px 16px 7px 4px!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:#fff!important;
    color:#64748b!important;
    font-size:14px!important;
    font-weight:750!important;
    line-height:1.7!important;
    text-align:right!important;
    text-decoration:none!important;
    box-shadow:none!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .main-nav .dropdown-panel a:hover{background:#f8fafc!important;color:#0d6efd!important;}
  .main-nav .dropdown-icon{width:34px!important;height:34px!important;min-width:34px!important;border-radius:10px!important;object-fit:cover!important;display:block!important;}
  .main-nav .dropdown-panel a span{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
}
@media (max-width:380px){
  .main-nav{width:82vw!important;min-width:280px!important;}
  .main-nav .nav-inner{padding-right:12px!important;padding-left:12px!important;}
  .main-nav .nav-item,.main-nav .has-dropdown>a{font-size:15px!important;min-height:56px!important;}
  .mobile-drawer-brand img{width:132px!important;}
}

/* =========================================================
   Waria Market - Mobile drawer overlay fix
   Keeps the bottom mobile navigation behind/hidden while the
   off-canvas menu is open. Desktop styles are untouched.
   ========================================================= */
@media (max-width:900px){
  body.mobile-menu-open{
    overflow:hidden!important;
    touch-action:none!important;
  }
  body.mobile-menu-open:before{
    z-index:200000!important;
    background:rgba(15,23,42,.56)!important;
    backdrop-filter:blur(4px)!important;
    -webkit-backdrop-filter:blur(4px)!important;
  }
  body.mobile-menu-open .site-header{
    z-index:199990!important;
  }
  body.mobile-menu-open .main-nav,
  body.mobile-menu-open .main-nav.open{
    z-index:200010!important;
    filter:none!important;
    -webkit-filter:none!important;
  }
  body.mobile-menu-open .mobile-toggle,
  body.mobile-menu-open .mobile-toggle.is-open{
    z-index:200020!important;
  }
  body.mobile-menu-open .mobile-bottom-nav{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transform:translateY(120%)!important;
    z-index:1!important;
  }
  .mobile-bottom-nav{
    transition:opacity .18s ease, transform .18s ease, visibility .18s ease!important;
  }
}

/* =========================================================
   Waria Market - Mobile drawer visibility hotfix v2
   Fixes drawer being blurred/hidden behind the overlay.
   Mobile only. Desktop untouched.
   ========================================================= */
@media (max-width:900px){
  body.mobile-menu-open:before{
    z-index:150000!important;
    background:rgba(15,23,42,.54)!important;
    backdrop-filter:blur(4px)!important;
    -webkit-backdrop-filter:blur(4px)!important;
  }
  body.mobile-menu-open .site-header{
    position:relative!important;
    z-index:200000!important;
  }
  body.mobile-menu-open .main-nav,
  body.mobile-menu-open .main-nav.open{
    z-index:200010!important;
    opacity:1!important;
    visibility:visible!important;
    filter:none!important;
    -webkit-filter:none!important;
    transform:translateX(0)!important;
  }
  body.mobile-menu-open .main-nav .nav-inner{
    background:#fff!important;
    opacity:1!important;
    filter:none!important;
    -webkit-filter:none!important;
  }
  body.mobile-menu-open .mobile-toggle,
  body.mobile-menu-open .mobile-toggle.is-open{
    z-index:200020!important;
  }
  .main-nav .mobile-drawer-login{
    display:none!important;
  }
}

/* =========================================================
   Waria Market - Mobile drawer submenu alignment fix
   Fixes the "خرید اکانت" submenu overflowing/being pushed to the side
   inside the mobile drawer. Desktop untouched.
   ========================================================= */
@media (max-width:900px){
  body.mobile-menu-open .main-nav,
  body.mobile-menu-open .main-nav.open{
    overflow:hidden!important;
  }
  body.mobile-menu-open .main-nav .nav-inner{
    overflow-y:auto!important;
    overflow-x:hidden!important;
    box-sizing:border-box!important;
  }
  body.mobile-menu-open .main-nav .has-dropdown{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    display:block!important;
    overflow:hidden!important;
    position:relative!important;
    box-sizing:border-box!important;
  }
  body.mobile-menu-open .main-nav .has-dropdown.open .dropdown-panel,
  body.mobile-menu-open .main-nav.open .has-dropdown.open .dropdown-panel{
    display:flex!important;
    flex-direction:column!important;
    position:relative!important;
    inset:auto!important;
    top:auto!important;
    right:auto!important;
    left:auto!important;
    bottom:auto!important;
    transform:none!important;
    float:none!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:auto!important;
    max-height:285px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    margin:0!important;
    padding:8px 8px 10px!important;
    border:0!important;
    border-bottom:1px solid #eef2f7!important;
    border-radius:0!important;
    background:#f8fbff!important;
    box-shadow:none!important;
    box-sizing:border-box!important;
    z-index:auto!important;
    direction:rtl!important;
  }
  body.mobile-menu-open .main-nav .dropdown-panel a,
  body.mobile-menu-open .main-nav.open .dropdown-panel a{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    min-height:48px!important;
    margin:0 0 7px!important;
    padding:8px 10px!important;
    border:1px solid #eaf2ff!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:none!important;
    color:#475569!important;
    font-size:13.5px!important;
    font-weight:850!important;
    line-height:1.7!important;
    text-align:right!important;
    white-space:normal!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  body.mobile-menu-open .main-nav .dropdown-panel a:last-child{
    margin-bottom:0!important;
  }
  body.mobile-menu-open .main-nav .dropdown-icon{
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    max-width:32px!important;
    border-radius:10px!important;
    object-fit:cover!important;
    flex:0 0 32px!important;
  }
  body.mobile-menu-open .main-nav .dropdown-panel a span{
    display:block!important;
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    text-align:right!important;
  }
}

/* =========================================================
   Waria Market - Professional email auth page
   Adds the new ورود / عضویت page. Existing desktop header/menu styles untouched.
   ========================================================= */
.auth-body{
  min-height:100vh!important;
  margin:0!important;
  background:
    radial-gradient(circle at 18% 12%, rgba(36,201,255,.24), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(13,108,253,.24), transparent 34%),
    linear-gradient(145deg,#07111f 0%,#0b2b48 48%,#06101d 100%)!important;
  color:#fff!important;
  font-family:IRANYekanX,IRANYekan,YekanBakh,Vazirmatn,Tahoma,Arial,sans-serif!important;
  overflow-x:hidden!important;
}
.auth-page-shell{
  width:min(1120px,calc(100% - 32px));
  min-height:100vh;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:28px;
  align-items:center;
  padding:42px 0;
}
.auth-showcase,.auth-card{
  position:relative;
  border:1px solid rgba(184,224,255,.24);
  box-shadow:0 28px 90px rgba(0,0,0,.28);
}
.auth-showcase{
  min-height:620px;
  border-radius:34px;
  padding:34px;
  overflow:hidden;
  background:linear-gradient(155deg,rgba(17,116,255,.92),rgba(15,199,255,.8));
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.auth-showcase:before{
  content:"";
  position:absolute;
  inset:auto -12% -18% -12%;
  height:250px;
  background:#fff;
  border-radius:55% 45% 0 0;
  opacity:.96;
}
.auth-showcase:after{
  content:"🎮";
  position:absolute;
  left:26px;
  bottom:28px;
  width:96px;
  height:96px;
  display:grid;
  place-items:center;
  border-radius:30px;
  background:rgba(8,19,35,.14);
  border:1px solid rgba(255,255,255,.24);
  font-size:48px;
  z-index:1;
}
.auth-back-home{
  width:max-content;
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  color:#fff!important;
  font-weight:1000;
  backdrop-filter:blur(12px);
  z-index:2;
}
.auth-brand-card{position:relative;z-index:2;max-width:520px;margin:auto 0;text-align:right;}
.auth-logo-wrap{
  width:112px;
  height:112px;
  border-radius:34px;
  background:rgba(255,255,255,.95);
  display:grid;
  place-items:center;
  padding:15px;
  box-shadow:0 22px 55px rgba(0,0,0,.2);
  margin-bottom:28px;
}
.auth-logo-wrap img{max-width:100%;max-height:100%;object-fit:contain;}
.auth-logo-wrap span{font-size:28px;font-weight:1000;color:#0b6cff;}
.auth-brand-card h1{font-size:42px;line-height:1.35;margin:0 0 14px;font-weight:1000;letter-spacing:-.04em;}
.auth-brand-card p{font-size:16px;line-height:2.15;margin:0;color:rgba(255,255,255,.86);font-weight:800;}
.auth-feature-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;}
.auth-feature-list span{min-height:38px;display:inline-flex;align-items:center;border-radius:999px;background:rgba(255,255,255,.16);padding:0 13px;font-size:13px;font-weight:950;color:#fff;}
.auth-card{
  border-radius:34px;
  background:rgba(255,255,255,.96);
  color:#111827;
  padding:28px;
  overflow:hidden;
}
.auth-card:before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:8px;
  background:linear-gradient(90deg,#0b6cff,#22d3ee,#1437c8);
}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#edf7ff;border:1px solid #dbeafe;border-radius:22px;padding:7px;margin-bottom:20px;}
.auth-tabs a{height:50px;display:flex;align-items:center;justify-content:center;border-radius:17px;font-weight:1000;color:#475569!important;}
.auth-tabs a.active{background:#0b6cff;color:#fff!important;box-shadow:0 12px 26px rgba(11,108,255,.24);}
.auth-form{display:grid;gap:14px;}
.auth-form h2{font-size:28px;margin:0 0 6px;font-weight:1000;color:#0f172a;}
.auth-form label{display:grid;gap:8px;color:#334155;font-weight:950;}
.auth-form label span{font-size:13px;color:#64748b;}
.auth-form input[type="text"],.auth-form input[type="email"],.auth-form input[type="password"]{
  width:100%;
  height:54px;
  border:1px solid #dbeafe;
  border-radius:18px;
  background:#f8fbff;
  padding:0 16px;
  font-size:15px;
  font-weight:900;
  color:#0f172a;
  outline:0;
  transition:.18s ease;
}
.auth-form input:focus{border-color:#38bdf8;box-shadow:0 0 0 4px rgba(56,189,248,.14);background:#fff;}
.auth-check{display:flex!important;align-items:flex-start!important;gap:10px!important;grid-template-columns:auto 1fr!important;margin-top:2px;}
.auth-check input{margin-top:4px;accent-color:#0b6cff;}
.auth-check span{line-height:1.9!important;color:#475569!important;}
.auth-submit,.auth-primary-link{
  width:100%;
  min-height:54px;
  border:0;
  border-radius:18px;
  background:linear-gradient(135deg,#22d3ee,#0b6cff);
  color:#fff!important;
  font-size:16px;
  font-weight:1000;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 16px 34px rgba(11,108,255,.25);
}
.auth-switch,.auth-note{margin:0;text-align:center;color:#64748b;font-size:13px;font-weight:850;line-height:1.9;}
.auth-switch a{color:#0b6cff!important;font-weight:1000;}
.auth-alert{border-radius:16px;padding:12px 14px;margin-bottom:12px;font-weight:950;line-height:1.8;}
.auth-alert.error{background:#fee2e2;color:#991b1b;}
.auth-alert.success{background:#dcfce7;color:#166534;}
.auth-signed-box{display:grid;gap:12px;text-align:center;padding:20px;border-radius:24px;background:#f8fbff;border:1px solid #dbeafe;}
.auth-signed-box strong{font-size:22px;color:#0f172a;}
.auth-signed-box span{color:#64748b;direction:ltr;}
@media (max-width:900px){
  .auth-body{padding-bottom:0!important;}
  .auth-page-shell{width:min(100% - 22px,520px);grid-template-columns:1fr;gap:16px;align-items:start;padding:18px 0 24px;}
  .auth-showcase{min-height:auto;border-radius:30px;padding:24px;}
  .auth-showcase:before{height:126px;}
  .auth-showcase:after{display:none;}
  .auth-back-home{min-height:38px;font-size:13px;}
  .auth-logo-wrap{width:88px;height:88px;border-radius:28px;margin:24px auto 18px;}
  .auth-brand-card{text-align:center;max-width:none;}
  .auth-brand-card h1{font-size:28px;}
  .auth-brand-card p{font-size:14px;line-height:2;}
  .auth-feature-list{justify-content:center;}
  .auth-card{border-radius:30px;padding:20px;}
  .auth-form h2{font-size:23px;}
  .auth-tabs a{height:46px;}
}
@media (max-width:380px){
  .auth-page-shell{width:calc(100% - 16px);}
  .auth-card{padding:16px;border-radius:26px;}
  .auth-showcase{padding:18px;border-radius:26px;}
}

/* =========================================================
   Waria Market - User accounts/admin dashboard patch
   Keeps homepage desktop layout intact; styles auth/admin user screens.
   ========================================================= */
.admin-front-link{
  color:#0b6cff!important;
  font-weight:1000!important;
}
.mobile-drawer-admin{
  display:none;
}

.auth-body-clean{
  background:
    radial-gradient(circle at 18% 8%, rgba(34,211,238,.22), transparent 30%),
    linear-gradient(145deg,#06111f 0%,#0a2e4d 55%,#07111f 100%)!important;
  font-family:IRANYekanX,IRANYekan,YekanBakh,Vazirmatn,Tahoma,Arial,sans-serif!important;
}
.auth-clean-shell{
  width:min(100% - 28px,460px);
  min-height:100vh;
  margin:0 auto;
  display:grid;
  place-items:center;
  padding:28px 0;
}
.auth-clean-card{
  width:100%;
  position:relative;
  overflow:hidden;
  border-radius:34px;
  background:rgba(255,255,255,.97);
  color:#0f172a;
  border:1px solid rgba(219,234,254,.86);
  box-shadow:0 28px 88px rgba(0,0,0,.32);
  padding:24px;
}
.auth-clean-card:before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:120px;
  background:linear-gradient(135deg,#0b6cff,#24c9ff);
  opacity:.12;
  pointer-events:none;
}
.auth-home-link{
  position:relative;
  z-index:1;
  width:max-content;
  min-height:38px;
  display:flex;
  align-items:center;
  padding:0 12px;
  border-radius:999px;
  background:#f1f7ff;
  color:#0b6cff!important;
  font-size:12px;
  font-weight:1000;
  margin-bottom:16px;
}
.auth-clean-logo{
  position:relative;
  z-index:1;
  width:118px;
  height:70px;
  margin:0 auto 18px;
  display:grid;
  place-items:center;
}
.auth-clean-logo img{max-width:100%;max-height:100%;object-fit:contain;display:block;}
.auth-clean-logo span{font-size:24px;font-weight:1000;color:#0b6cff;}
.auth-tabs-clean{
  position:relative;
  z-index:1;
  margin-bottom:18px!important;
  border-radius:18px!important;
  padding:6px!important;
}
.auth-form-clean{
  position:relative;
  z-index:1;
  gap:12px!important;
}
.auth-form-clean h1{
  margin:0 0 4px!important;
  text-align:center;
  color:#0f172a;
  font-size:24px;
  font-weight:1000;
  letter-spacing:-.02em;
}
.auth-form-clean label span{font-size:12.5px!important;}
.auth-form-clean input[type="text"],
.auth-form-clean input[type="tel"],
.auth-form-clean input[type="email"],
.auth-form-clean input[type="password"]{
  width:100%;
  height:50px;
  border:1px solid #dbeafe;
  border-radius:16px;
  background:#f8fbff;
  padding:0 15px;
  font-size:14px;
  font-weight:850;
  color:#0f172a;
  outline:0;
  box-sizing:border-box;
}
.auth-form-clean input:focus{
  border-color:#22c7ee!important;
  background:#fff!important;
  box-shadow:0 0 0 4px rgba(34,199,238,.14)!important;
}
.auth-ghost-link{
  background:#eef6ff!important;
  color:#0b6cff!important;
  box-shadow:none!important;
}
.auth-form input[dir="ltr"],.ltr-cell{direction:ltr;text-align:left;unicode-bidi:plaintext;}

.admin-filter-form{
  display:grid;
  grid-template-columns:2fr 1fr 1fr auto auto;
  gap:12px;
  align-items:end;
  margin-bottom:18px;
}
.admin-filter-form label{display:grid;gap:7px;font-weight:900;color:#334155;}
.admin-filter-form label span{font-size:12px;color:#64748b;}
.admin-filter-form input,.admin-filter-form select{
  height:46px;
  border:1px solid #dbeafe;
  border-radius:14px;
  background:#fff;
  padding:0 12px;
  font-weight:850;
  outline:0;
}
.secondary-btn{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  padding:0 15px;
  background:#eef6ff;
  color:#0b6cff!important;
  font-weight:1000;
  border:1px solid #dbeafe;
}
.users-table-wrap{overflow-x:auto;border:1px solid #eaf2ff;border-radius:18px;background:#fff;}
.users-table{width:100%;border-collapse:collapse;min-width:980px;}
.users-table th,.users-table td{padding:13px 12px;border-bottom:1px solid #eef5ff;text-align:right;vertical-align:middle;}
.users-table th{font-size:12px;color:#64748b;background:#f8fbff;font-weight:1000;}
.user-cell{display:grid;gap:4px;}
.user-cell strong{font-size:14px;color:#0f172a;}
.user-cell span{font-size:12px;color:#64748b;direction:ltr;text-align:left;unicode-bidi:plaintext;}
.status-pill,.role-pill{display:inline-flex;align-items:center;justify-content:center;min-height:30px;border-radius:999px;padding:0 10px;font-size:12px;font-weight:1000;white-space:nowrap;}
.status-pending{background:#fff7ed;color:#c2410c;}
.status-active{background:#dcfce7;color:#166534;}
.status-blocked{background:#fee2e2;color:#991b1b;}
.role-customer{background:#eef6ff;color:#0b6cff;}
.role-admin{background:#ede9fe;color:#5b21b6;}
.user-actions{display:flex;gap:7px;flex-wrap:wrap;}
.user-actions form{margin:0;}
.user-actions button{height:34px;border:0;border-radius:10px;background:#f1f7ff;color:#0f172a;font-size:12px;font-weight:950;padding:0 10px;cursor:pointer;}
.user-actions button:hover{background:#0b6cff;color:#fff;}
.empty-cell{text-align:center!important;color:#64748b;font-weight:900;padding:24px!important;}
.admin-pagination{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-top:16px;color:#64748b;font-weight:850;}
.admin-pagination a{min-height:36px;padding:0 12px;border-radius:12px;background:#eef6ff;color:#0b6cff!important;display:inline-flex;align-items:center;font-weight:1000;}

@media (max-width:900px){
  .mobile-drawer-admin{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    min-height:52px!important;
    padding:0 18px!important;
    margin:0 0 8px!important;
    border-radius:16px!important;
    background:#eff7ff!important;
    color:#0b6cff!important;
    font-weight:1000!important;
  }
  .auth-clean-shell{width:min(100% - 20px,430px);padding:18px 0;}
  .auth-clean-card{border-radius:30px;padding:18px;}
  .auth-clean-logo{width:108px;height:62px;margin-bottom:14px;}
  .auth-form-clean h1{font-size:22px;}
  .auth-form-clean input[type="text"],
  .auth-form-clean input[type="tel"],
  .auth-form-clean input[type="email"],
  .auth-form-clean input[type="password"]{height:48px;border-radius:15px;}
  .admin-filter-form{grid-template-columns:1fr;}
  .users-stats{grid-template-columns:1fr 1fr!important;}
}


/* =========================================================
   Auth form wording/placeholder polish - mobile/desktop safe
   ========================================================= */
.auth-form-clean input::placeholder{
  color:#94a3b8!important;
  opacity:.78!important;
  font-weight:700!important;
}
.auth-form-clean input[dir="ltr"]::placeholder{
  text-align:right!important;
  direction:rtl!important;
}
.auth-field-note{
  display:block;
  margin-top:-2px;
  color:#64748b;
  font-size:11.5px;
  font-weight:850;
  line-height:1.9;
}
.auth-form-clean h1{
  font-size:23px!important;
}
@media (max-width:900px){
  .auth-field-note{font-size:11px;line-height:1.85;}
  .auth-form-clean h1{font-size:21px!important;}
}

/* Waria Shop bridge admin polish */
.bridge-admin-panel {
    margin-top: 18px;
}
.bridge-form label,
.bridge-test-form label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}
.bridge-form input[type="url"],
.bridge-form input[type="text"],
.bridge-test-form input[type="tel"] {
    width: 100%;
    min-height: 52px;
    border: 1px solid #d8e7ff;
    border-radius: 16px;
    background: #fff;
    padding: 0 16px;
    font-size: 15px;
    outline: none;
}
.bridge-form input:focus,
.bridge-test-form input:focus {
    border-color: #0b76ff;
    box-shadow: 0 0 0 4px rgba(11, 118, 255, .10);
}
.switch-row {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 12px !important;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f5faff;
    border: 1px solid #dcecff;
}
.switch-row input {
    width: 20px;
    height: 20px;
    accent-color: #0b76ff;
}
.auth-alert a {
    display: inline-flex;
    margin-right: 8px;
    color: #075ce8;
    font-weight: 900;
    text-decoration: underline;
}


/* Waria Market users/auth auto verification patch */
.user-actions .danger-user-btn{background:#fee2e2!important;color:#b42318!important;}
.user-actions .danger-user-btn:hover{background:#dc2626!important;color:#fff!important;}
.auth-form-clean h1{letter-spacing:-.03em;}
.auth-form-clean input::placeholder{color:#9aa8b8!important;font-weight:750!important;}

/* =========================================================
   Waria Market loading state for auth and bridge forms
   ========================================================= */
.wm-loading-form .btn-loader{
  width:16px;
  height:16px;
  border:2px solid rgba(255,255,255,.55);
  border-top-color:#fff;
  border-radius:999px;
  display:none;
  flex:0 0 auto;
  animation:wmSpin .75s linear infinite;
}
.wm-loading-form button[type="submit"]{
  position:relative;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
}
.wm-loading-form.is-submitting button[type="submit"]{
  opacity:.92;
  cursor:wait!important;
  pointer-events:none;
}
.wm-loading-form.is-submitting .btn-loader{
  display:inline-block;
}
.wm-loading-form.is-submitting input,
.wm-loading-form.is-submitting select,
.wm-loading-form.is-submitting textarea{
  pointer-events:none;
}
.wm-submit-status{
  display:none;
  margin-top:12px;
  padding:12px 14px;
  border-radius:16px;
  background:#eff7ff;
  border:1px solid #d7e9ff;
  color:#075ce8;
  font-size:13px;
  font-weight:900;
  line-height:1.8;
  text-align:center;
}
.wm-loading-form.is-submitting .wm-submit-status{
  display:block;
}
.bridge-form .wm-submit-status,
.bridge-test-form .wm-submit-status{
  margin-top:10px;
}
@keyframes wmSpin{
  to{transform:rotate(360deg);}
}
@media (max-width:900px){
  .wm-submit-status{
    font-size:12.5px;
    padding:11px 12px;
  }
}
.wm-loading-form .secondary-btn .btn-loader,
.wm-loading-form .auth-ghost-link .btn-loader{
  border-color:rgba(11,108,255,.22);
  border-top-color:#0b6cff;
}

/* WariaShop browser-side phone check */
.wm-bridge-client-message{display:none;margin:8px 0 10px;padding:10px 12px;border-radius:14px;font-size:13px;line-height:1.9;font-weight:800;text-align:right}
.wm-bridge-client-message.info,.wm-bridge-client-message.success,.wm-bridge-client-message.error{display:block}
.wm-bridge-client-message.info{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}
.wm-bridge-client-message.success{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.wm-bridge-client-message.error{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}
.wm-bridge-client-message a{color:#075fff;font-weight:1000;text-decoration:underline;text-underline-offset:4px}
.bridge-browser-test{margin-top:14px;border:1px solid #dbeafe;background:#f8fbff;border-radius:18px;padding:16px}
.bridge-browser-test label{display:grid;gap:8px;margin-bottom:12px}
.bridge-browser-result{margin-top:12px}

/* Waria Shop bridge debug/log panel */
.bridge-debug-box,
.bridge-log-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}
.bridge-debug-box code,
.bridge-log-item code {
    display: block;
    background: #f8fbff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 10px 12px;
    white-space: pre-wrap;
    word-break: break-word;
    color: #0f172a;
    font-size: 12px;
    line-height: 1.8;
}
.bridge-log-top {
    align-items: center;
    margin-bottom: 12px;
}
.bridge-log-item {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
}
.bridge-log-item > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #0f172a;
    margin-bottom: 8px;
}
.bridge-log-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.bridge-log-meta span {
    background: #eef6ff;
    color: #334155;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
}
.bridge-log-item pre {
    direction: ltr;
    text-align: left;
    white-space: pre-wrap;
    word-break: break-word;
    background: #0f172a;
    color: #dbeafe;
    border-radius: 12px;
    padding: 10px;
    margin: 10px 0 0;
    max-height: 160px;
    overflow: auto;
}
.bridge-browser-result {
    margin-top: 12px;
}


/* Final WariaShop JSONP primary test polish */
.bridge-server-diagnostic{
  border-style:dashed;
  opacity:.92;
}
.bridge-server-diagnostic > summary{
  cursor:pointer;
  font-weight:1000;
  color:#0f172a;
  list-style:none;
}
.bridge-server-diagnostic > summary::-webkit-details-marker{display:none}
.bridge-server-diagnostic > summary:before{
  content:'+';
  display:inline-grid;
  place-items:center;
  width:26px;
  height:26px;
  margin-left:8px;
  border-radius:10px;
  background:#eef6ff;
  color:#0b6cff;
}
.bridge-server-diagnostic[open] > summary:before{content:'−'}
.bridge-primary-test{
  border:1px solid #bfdbfe;
  box-shadow:0 18px 50px rgba(11,108,255,.08);
}
.bridge-jsonp-url-wrap{
  gap:10px;
  margin-top:12px;
  padding:12px;
  border:1px dashed #bfdbfe;
  border-radius:16px;
  background:#f8fbff;
}
.bridge-jsonp-url-wrap input{
  width:100%;
  direction:ltr;
  text-align:left;
  font-size:12px;
}
.bridge-browser-result.alert.info{
  display:block;
  background:#eff6ff;
  color:#1d4ed8;
  border:1px solid #bfdbfe;
}

/* WariaShop bridge clean admin UI - 2026-05-19 */
.bridge-page-head .admin-muted,
.bridge-log-panel .admin-muted{
  margin:6px 0 0;
  color:#64748b;
  font-size:13px;
}
.bridge-status-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:16px 0;
}
.bridge-status-card{
  background:linear-gradient(180deg,#fff,#f8fbff);
  border:1px solid #dbeafe;
  border-radius:20px;
  padding:16px;
  box-shadow:0 12px 34px rgba(15,23,42,.05);
  display:grid;
  gap:6px;
}
.bridge-status-card span{color:#64748b;font-size:12px;font-weight:800}
.bridge-status-card strong{color:#0f172a;font-size:20px;font-weight:1000}
.bridge-status-card small{color:#64748b;line-height:1.8}
.bridge-status-card.is-ok{border-color:#bbf7d0;background:linear-gradient(180deg,#fff,#f0fdf4)}
.bridge-status-card.is-warn{border-color:#fde68a;background:linear-gradient(180deg,#fff,#fffbeb)}
.bridge-status-card.is-off{border-color:#fecaca;background:linear-gradient(180deg,#fff,#fff5f5)}
.bridge-settings-card,
.bridge-primary-test,
.bridge-log-panel{
  border:1px solid #dbeafe;
  border-radius:24px;
  box-shadow:0 18px 50px rgba(15,23,42,.06);
}
.bridge-short-note{line-height:1.9}
.bridge-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.bridge-full-row{grid-column:1/-1}
.bridge-debug-toggle{
  align-items:flex-start;
  background:#f8fbff;
  border:1px dashed #bfdbfe;
  border-radius:16px;
  padding:12px;
}
.bridge-debug-toggle small{
  display:block;
  width:100%;
  color:#64748b;
  line-height:1.8;
  margin-top:4px;
}
.bridge-card-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}
.bridge-card-title h2{margin:0}
.bridge-card-title span{
  color:#0b6cff;
  background:#eef6ff;
  border:1px solid #bfdbfe;
  border-radius:999px;
  padding:6px 12px;
  font-size:12px;
  font-weight:900;
}
.bridge-browser-test label{display:grid;gap:8px;margin-bottom:12px}
.bridge-browser-result{margin-top:12px}
.bridge-jsonp-url-wrap{
  gap:10px;
  margin-top:12px;
  padding:12px;
  border:1px dashed #bfdbfe;
  border-radius:16px;
  background:#f8fbff;
}
.bridge-jsonp-url-wrap input{
  width:100%;
  direction:ltr;
  text-align:left;
  font-size:12px;
}
.bridge-server-diagnostic{
  border:1px dashed #bfdbfe;
  opacity:.96;
}
.bridge-server-diagnostic > summary,
.bridge-log-details > summary{
  cursor:pointer;
  font-weight:1000;
  color:#0f172a;
  list-style:none;
  padding:4px 0;
}
.bridge-server-diagnostic > summary::-webkit-details-marker,
.bridge-log-details > summary::-webkit-details-marker{display:none}
.bridge-server-diagnostic > summary:before,
.bridge-log-details > summary:before{
  content:'+';
  display:inline-grid;
  place-items:center;
  width:26px;
  height:26px;
  margin-left:8px;
  border-radius:10px;
  background:#eef6ff;
  color:#0b6cff;
}
.bridge-server-diagnostic[open] > summary:before,
.bridge-log-details[open] > summary:before{content:'−'}
.bridge-debug-box,
.bridge-log-list{
  display:grid;
  gap:10px;
  margin-top:14px;
}
.bridge-debug-box code,
.bridge-log-item code{
  display:block;
  background:#f8fbff;
  border:1px solid #dbeafe;
  border-radius:12px;
  padding:10px 12px;
  white-space:pre-wrap;
  word-break:break-word;
  color:#0f172a;
  font-size:12px;
  line-height:1.8;
}
.bridge-log-top{align-items:center;margin-bottom:12px}
.bridge-empty-log{
  padding:20px;
  border:1px dashed #cbd5e1;
  border-radius:18px;
  text-align:center;
  color:#64748b;
  background:#f8fafc;
  font-weight:800;
}
.bridge-log-item{
  background:#fff;
  border:1px solid #dbeafe;
  border-radius:18px;
  padding:14px;
  box-shadow:0 10px 28px rgba(15,23,42,.04);
}
.bridge-log-item-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:#0f172a;
  margin-bottom:8px;
}
.bridge-log-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}
.bridge-log-meta span{
  background:#eef6ff;
  color:#334155;
  border-radius:999px;
  padding:5px 10px;
  font-size:12px;
}
.bridge-log-item pre{
  direction:ltr;
  text-align:left;
  white-space:pre-wrap;
  word-break:break-word;
  background:#0f172a;
  color:#dbeafe;
  border-radius:12px;
  padding:10px;
  margin:10px 0 0;
  max-height:160px;
  overflow:auto;
}
.bridge-browser-result.alert.info{
  display:block;
  background:#eff6ff;
  color:#1d4ed8;
  border:1px solid #bfdbfe;
}
@media (max-width:780px){
  .bridge-status-grid,
  .bridge-form-grid{grid-template-columns:1fr}
  .bridge-card-title,
  .bridge-log-item-head{align-items:flex-start;flex-direction:column}
}

/* Waria Shop bridge form-log polish */
.bridge-form-log-panel{border:1px solid rgba(37,99,235,.12);box-shadow:0 18px 45px rgba(15,23,42,.06)}
.bridge-form-log-panel .bridge-log-item{border:1px solid #e6eefb;background:#fff;border-radius:18px;padding:14px;margin:10px 0}
.bridge-form-log-panel .bridge-log-item.is-success{border-color:#bbf7d0;background:#f0fdf4}
.bridge-form-log-panel .bridge-log-item.is-info{border-color:#bfdbfe;background:#eff6ff}
.bridge-form-log-panel .bridge-log-item.is-error{border-color:#fecaca;background:#fff1f2}
.bridge-log-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.bridge-log-meta span{display:inline-flex;align-items:center;gap:4px;background:rgba(255,255,255,.75);border:1px solid rgba(148,163,184,.22);border-radius:999px;padding:5px 9px;font-size:12px;color:#334155;direction:ltr}
.bridge-debug-box.compact{margin-top:12px;background:#0f172a;border-radius:14px;padding:10px;overflow:auto}
.bridge-debug-box.compact code{display:block;color:#e2e8f0;background:transparent;border:0;padding:5px 0;white-space:pre-wrap;line-height:1.9;font-size:12px}
.bridge-empty-log{padding:18px;border-radius:16px;background:#f8fafc;border:1px dashed #cbd5e1;color:#64748b;text-align:center}

/* Waria Market auth/security polish 2026-05-20 */
.auth-body-pro{
    min-height:100vh;
    margin:0;
    background:
      radial-gradient(circle at 18% 18%, rgba(30,144,255,.24), transparent 30%),
      radial-gradient(circle at 82% 28%, rgba(0,221,255,.16), transparent 26%),
      linear-gradient(135deg,#061b31 0%,#082945 45%,#041426 100%);
    font-family: IRANYekanX, IRANYekan, YekanBakh, Vazirmatn, Tahoma, Arial, sans-serif;
    color:#0f172a;
}
.auth-pro-shell{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:42px 16px;
    box-sizing:border-box;
}
.auth-pro-card{
    width:min(1040px,100%);
    display:grid;
    grid-template-columns: .92fr 1.08fr;
    overflow:hidden;
    border-radius:34px;
    background:rgba(255,255,255,.96);
    border:1px solid rgba(226,239,255,.9);
    box-shadow:0 30px 90px rgba(0,0,0,.28);
}
.auth-pro-hero{
    position:relative;
    min-height:680px;
    padding:34px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    background:
      linear-gradient(180deg,rgba(231,245,255,.96),rgba(255,255,255,.82)),
      radial-gradient(circle at 50% 10%,rgba(22,116,255,.26),transparent 42%);
}
.auth-pro-hero:before{
    content:"";
    position:absolute;
    inset:auto -20% -28% -20%;
    height:250px;
    background:linear-gradient(90deg,#23c7dd,#1464ff);
    border-radius:50% 50% 0 0;
    opacity:.16;
}
.auth-pro-home{
    position:absolute;
    top:22px;
    right:22px;
    z-index:2;
    padding:10px 16px;
    border-radius:999px;
    color:#0b69ff;
    background:#fff;
    border:1px solid #dcecff;
    font-weight:900;
    text-decoration:none;
    box-shadow:0 8px 22px rgba(20,100,255,.08);
}
.auth-pro-logo{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:center;
    width:240px;
    min-height:112px;
    margin-bottom:16px;
    text-decoration:none;
}
.auth-pro-logo img{
    width:100%;
    max-width:240px;
    max-height:112px;
    object-fit:contain;
    filter:drop-shadow(0 16px 26px rgba(20,100,255,.16));
}
.auth-pro-logo span{
    font-size:28px;
    font-weight:1000;
    color:#0868ff;
}
.auth-pro-hero p{
    position:relative;
    z-index:2;
    margin:0;
    color:#4b647e;
    font-weight:800;
}
.auth-pro-panel{
    padding:46px 54px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    background:#fff;
}
.auth-tabs-pro{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:8px;
    margin:0 0 24px;
    border-radius:24px;
    background:#eef7ff;
    border:1px solid #dbeafe;
}
.auth-tabs-pro a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:52px;
    border-radius:18px;
    text-decoration:none;
    color:#475569;
    font-weight:1000;
}
.auth-tabs-pro a.active{
    color:#fff;
    background:linear-gradient(135deg,#23c7dd,#1464ff);
    box-shadow:0 14px 32px rgba(20,100,255,.25);
}
.auth-form-pro h1{
    margin:0 0 24px;
    text-align:center;
    font-size:26px;
    color:#0f172a;
}
.auth-form-pro label{
    display:block;
    margin-bottom:15px;
    color:#334155;
    font-weight:900;
}
.auth-form-pro label span{display:block;margin-bottom:8px;}
.auth-form-pro input[type="text"],
.auth-form-pro input[type="tel"],
.auth-form-pro input[type="email"],
.auth-form-pro input[type="password"]{
    width:100%;
    height:54px;
    border-radius:18px;
    border:1px solid #dbeafe;
    background:#f8fbff;
    padding:0 16px;
    font-size:15px;
    font-weight:800;
    box-sizing:border-box;
    outline:none;
    transition:.18s ease;
}
.auth-form-pro input:focus{
    background:#fff;
    border-color:#2aa8ff;
    box-shadow:0 0 0 4px rgba(42,168,255,.12);
}
.auth-captcha-box{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin:14px 0 16px;
}
.auth-captcha-question,
.auth-captcha-code{
    padding:12px;
    border-radius:20px;
    background:#f1f8ff;
    border:1px solid #dbeafe;
}
.auth-captcha-question span,
.auth-captcha-code b{
    display:block;
    min-height:28px;
    margin-bottom:9px;
    text-align:center;
    font-weight:1000;
    color:#0f5fd8;
}
.auth-captcha-code b{
    letter-spacing:5px;
    font-size:24px;
    color:#071a33;
    transform:rotate(-2deg);
    text-shadow:1px 1px 0 rgba(20,100,255,.18);
}
.auth-captcha-box input{height:46px!important;text-align:center;}
.auth-check{
    display:flex!important;
    align-items:center;
    gap:10px;
    margin:10px 0 18px!important;
}
.auth-check input{width:18px;height:18px;}
.auth-check span{margin:0!important;font-size:14px;}
.auth-submit{
    width:100%;
    min-height:58px;
    border:0;
    border-radius:20px;
    cursor:pointer;
    color:#fff;
    font-weight:1000;
    font-size:17px;
    background:linear-gradient(135deg,#25c7d9 0%,#1464ff 100%);
    box-shadow:0 18px 38px rgba(20,100,255,.26);
    transition:.18s ease;
}
.auth-submit:hover{transform:translateY(-1px);box-shadow:0 24px 48px rgba(20,100,255,.32);}
.auth-submit[disabled]{opacity:.75;cursor:wait;transform:none;}
.auth-form-links,.auth-switch{text-align:center;margin:14px 0 0;color:#64748b;font-weight:800;}
.auth-form-links a,.auth-switch a{color:#0b69ff;text-decoration:none;font-weight:1000;}
.auth-alert{
    padding:13px 15px;
    border-radius:18px;
    margin:0 0 14px;
    font-weight:900;
    line-height:1.9;
}
.auth-alert.error{background:#fff1f2;color:#be123c;border:1px solid #fecdd3;}
.auth-alert.success{background:#ecfdf5;color:#047857;border:1px solid #bbf7d0;}
.auth-alert a{color:inherit;text-decoration:underline;font-weight:1000;}
.auth-pro-signed{display:grid;gap:12px;text-align:center;}
.auth-primary-link{display:block;padding:13px 16px;border-radius:16px;background:#1464ff;color:#fff;text-decoration:none;font-weight:1000;}
.auth-ghost-link{background:#eef7ff;color:#0b69ff;}
.wm-submit-status{display:none;margin-top:12px;text-align:center;color:#0b69ff;font-weight:900;}
.is-submitting .wm-submit-status{display:block;}
.btn-loader{display:none;width:18px;height:18px;border:3px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;margin-inline-start:8px;vertical-align:middle;animation:wmSpin .8s linear infinite;}
.is-submitting .btn-loader{display:inline-block;}
@keyframes wmSpin{to{transform:rotate(360deg)}}

@media (max-width: 900px){
  .auth-body-pro{background:linear-gradient(180deg,#062440,#041426);}
  .auth-pro-shell{padding:18px 12px;align-items:flex-start;}
  .auth-pro-card{grid-template-columns:1fr;border-radius:28px;}
  .auth-pro-hero{min-height:185px;padding:24px 18px 18px;}
  .auth-pro-home{top:14px;right:14px;font-size:13px;padding:8px 12px;}
  .auth-pro-logo{width:190px;min-height:86px;margin-top:30px;margin-bottom:8px;}
  .auth-pro-logo img{max-width:190px;max-height:86px;}
  .auth-pro-panel{padding:24px 18px 28px;}
  .auth-form-pro h1{font-size:22px;margin-bottom:18px;}
  .auth-captcha-box{grid-template-columns:1fr;}
  .auth-tabs-pro a{min-height:48px;}
}

/* =========================================================
   Waria Market Auth - single mobile-first flow, 2026-05-20
   هدف: فرم ساده شبیه واریا شاپ؛ شماره اول، کپچای عددی واحد، لوگوی بزرگ.
   ========================================================= */
.auth-ws-body{
  min-height:100vh!important;
  margin:0!important;
  direction:rtl!important;
  background:
    radial-gradient(circle at 18% 18%, rgba(34,211,238,.22), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(37,99,235,.32), transparent 34%),
    linear-gradient(135deg,#071d2d 0%,#06243a 44%,#04182b 100%)!important;
  font-family:IRANYekanX,IRANYekan,YekanBakh,Vazirmatn,Tahoma,Arial,sans-serif!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:34px 14px!important;
  color:#0f172a!important;
}
.auth-ws-shell{
  width:min(100%,560px)!important;
  margin:auto!important;
}
.auth-ws-card{
  position:relative!important;
  overflow:hidden!important;
  width:100%!important;
  border-radius:34px!important;
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important;
  border:1px solid rgba(219,234,254,.98)!important;
  box-shadow:0 36px 100px rgba(0,0,0,.34),0 0 0 1px rgba(255,255,255,.22) inset!important;
  padding:28px 34px 30px!important;
}
.auth-ws-card:before{
  content:"";position:absolute;inset:0 0 auto 0;height:178px;pointer-events:none;
  background:linear-gradient(180deg,#e8f6ff 0%,rgba(232,246,255,.44) 62%,rgba(255,255,255,0) 100%);
}
.auth-ws-head{
  position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:12px;margin-bottom:28px;
}
.auth-ws-logo{
  display:flex;align-items:center;justify-content:center;width:218px;max-width:70%;min-height:92px;margin:0 auto;text-decoration:none!important;
}
.auth-ws-logo img{display:block;max-width:100%;max-height:92px;object-fit:contain;filter:drop-shadow(0 16px 22px rgba(37,99,235,.15));}
.auth-ws-logo strong{font-size:30px;font-weight:1000;color:#0968ff;letter-spacing:-.04em;}
.auth-ws-home{
  display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 16px;border-radius:999px;
  background:rgba(255,255,255,.82);border:1px solid #dbeafe;color:#0968ff!important;font-size:13px;font-weight:1000;text-decoration:none!important;
  box-shadow:0 10px 24px rgba(37,99,235,.08);
}
.auth-ws-form,.auth-ws-signed{position:relative;z-index:2;display:grid;gap:14px;width:100%;}
.auth-ws-form h1{margin:0 0 2px;text-align:center;color:#0f172a;font-size:28px;line-height:1.45;font-weight:1000;letter-spacing:-.04em;}
.auth-ws-subtitle{margin:0 0 8px;text-align:center;color:#64748b;font-size:14px;font-weight:850;line-height:2;}
.auth-ws-subtitle b{color:#0b6cff;font-weight:1000;}
.auth-ws-subtitle a{color:#0b6cff!important;font-weight:1000;text-decoration:none!important;margin-inline-start:8px;}
.auth-ws-form label{display:grid!important;gap:7px!important;color:#334155!important;font-weight:950!important;}
.auth-ws-form label span{font-size:13px!important;color:#64748b!important;font-weight:950!important;}
.auth-ws-form input[type="text"],
.auth-ws-form input[type="tel"],
.auth-ws-form input[type="email"],
.auth-ws-form input[type="password"]{
  width:100%!important;height:58px!important;border-radius:17px!important;border:1px solid #dbeafe!important;background:#f8fbff!important;
  padding:0 16px!important;outline:none!important;font-size:16px!important;font-weight:850!important;color:#0f172a!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important;transition:.18s ease!important;
}
.auth-ws-form input:focus{border-color:#38bdf8!important;box-shadow:0 0 0 4px rgba(56,189,248,.14)!important;background:#fff!important;}
.auth-math-captcha{
  margin-top:4px!important;padding:14px!important;border-radius:18px!important;background:#fff7f7!important;border:1px solid #fecaca!important;
  grid-template-columns:1fr!important;
}
.auth-math-captcha span{color:#dc2626!important;font-size:15px!important;font-weight:1000!important;text-align:center!important;}
.auth-math-captcha input{background:#fff!important;text-align:center!important;letter-spacing:.04em!important;}
.auth-ws-form .auth-submit{
  width:100%!important;min-height:58px!important;border:0!important;border-radius:17px!important;cursor:pointer!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;
  background:linear-gradient(90deg,#22c7d9 0%,#0866ff 100%)!important;color:#fff!important;font-size:17px!important;font-weight:1000!important;
  box-shadow:0 22px 42px rgba(8,102,255,.24)!important;transition:.2s ease!important;
}
.auth-ws-form .auth-submit:hover{transform:translateY(-1px);box-shadow:0 26px 48px rgba(8,102,255,.3)!important;}
.auth-ws-form .auth-submit:disabled{opacity:.82;cursor:wait;transform:none!important;}
.auth-switch,.auth-form-links{text-align:center!important;margin:0!important;color:#64748b!important;font-weight:850!important;line-height:2!important;font-size:13.5px!important;}
.auth-switch a,.auth-form-links a{color:#0866ff!important;font-weight:1000!important;text-decoration:none!important;}
.auth-check{display:flex!important;align-items:flex-start!important;gap:10px!important;margin-top:0!important;}
.auth-check input{margin-top:6px!important;accent-color:#0866ff!important;width:auto!important;height:auto!important;}
.auth-check span{line-height:1.9!important;color:#475569!important;font-size:13px!important;}
.auth-alert{position:relative;z-index:3;border-radius:16px;padding:12px 14px;margin:0 0 12px;font-weight:950;line-height:1.9;font-size:13.5px;}
.auth-alert.error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca;}
.auth-alert.success{background:#dcfce7;color:#166534;border:1px solid #bbf7d0;}
.auth-alert a{font-weight:1000;color:inherit!important;text-decoration:underline!important;}
.auth-signed-box.auth-ws-signed{padding:22px;border-radius:24px;background:#f8fbff;border:1px solid #dbeafe;text-align:center;}
.wm-submit-status{display:none;margin-top:-4px;text-align:center;color:#0b6cff;font-weight:950;font-size:13px;}
.wm-loading-form.is-submitting .wm-submit-status{display:block;}
@media (max-width:720px){
  .auth-ws-body{align-items:flex-start!important;padding:14px 10px 24px!important;}
  .auth-ws-card{border-radius:28px!important;padding:18px 16px 22px!important;box-shadow:0 24px 66px rgba(0,0,0,.28)!important;}
  .auth-ws-card:before{height:150px;}
  .auth-ws-logo{width:190px;min-height:78px;}
  .auth-ws-logo img{max-height:78px;}
  .auth-ws-head{gap:8px;margin-bottom:22px;}
  .auth-ws-form h1{font-size:24px;}
  .auth-ws-form input[type="text"],.auth-ws-form input[type="tel"],.auth-ws-form input[type="email"],.auth-ws-form input[type="password"],.auth-ws-form .auth-submit{height:54px!important;min-height:54px!important;border-radius:15px!important;}
}

/* =========================================================
   Waria Market Auth - compact WariaShop-like refinement, 2026-05-20
   شماره اول + یک کپچای عددی؛ مرحله تکمیل بدون کپچا؛ فرم جمع وجورتر.
   ========================================================= */
.auth-ws-body{
  align-items:center!important;
  padding:26px 12px!important;
  background:
    radial-gradient(circle at 18% 12%, rgba(34,211,238,.14), transparent 30%),
    linear-gradient(135deg,#09283d 0%,#062036 48%,#031526 100%)!important;
}
.auth-ws-shell{width:min(100%,430px)!important;}
.auth-ws-card{
  border-radius:28px!important;
  padding:22px 26px 24px!important;
  box-shadow:0 26px 72px rgba(0,0,0,.26),0 0 0 1px rgba(255,255,255,.24) inset!important;
}
.auth-ws-card:before{height:112px!important;background:linear-gradient(180deg,#edf8ff 0%,rgba(237,248,255,.42) 72%,rgba(255,255,255,0) 100%)!important;}
.auth-ws-head{gap:6px!important;margin-bottom:18px!important;}
.auth-ws-logo{width:178px!important;min-height:70px!important;max-width:82%!important;}
.auth-ws-logo img{max-height:70px!important;}
.auth-ws-home{min-height:34px!important;padding:0 14px!important;font-size:12.5px!important;}
.auth-ws-form,.auth-ws-signed{gap:11px!important;}
.auth-ws-form h1{font-size:24px!important;margin-bottom:0!important;}
.auth-ws-subtitle{font-size:13.5px!important;line-height:1.9!important;margin-bottom:4px!important;}
.auth-ws-form label{gap:6px!important;}
.auth-ws-form input[type="text"],
.auth-ws-form input[type="tel"],
.auth-ws-form input[type="email"],
.auth-ws-form input[type="password"]{
  height:52px!important;
  min-height:52px!important;
  border-radius:16px!important;
  font-size:15px!important;
}
.auth-math-captcha{
  padding:10px 12px!important;
  border-radius:16px!important;
  background:#fff1f2!important;
  border-color:#fecdd3!important;
}
.auth-math-captcha span{font-size:14px!important;color:#e11d48!important;}
.auth-math-captcha input{height:46px!important;min-height:46px!important;}
.auth-ws-form .auth-submit{min-height:53px!important;border-radius:16px!important;font-size:16px!important;}
.auth-check a{color:#0866ff!important;font-weight:1000!important;text-decoration:none!important;}
.auth-check a:hover{text-decoration:underline!important;}
.auth-redirect-alert{display:grid!important;gap:8px!important;text-align:center!important;}
.auth-redirect-alert strong{display:block;font-size:14px;font-weight:1000;color:#991b1b;}
.auth-redirect-alert span{display:block;font-size:13px;font-weight:900;color:#b91c1c;}
.auth-redirect-progress{height:8px;border-radius:999px;background:#fecaca;overflow:hidden;direction:ltr;}
.auth-redirect-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#ef4444,#f97316);border-radius:inherit;animation:wmAuthProgress 2.4s linear forwards;}
@keyframes wmAuthProgress{to{width:100%;}}
@media (min-width:721px){
  .auth-ws-body{min-height:100vh!important;}
}
@media (max-width:720px){
  .auth-ws-body{padding:12px 10px 18px!important;}
  .auth-ws-shell{width:min(100%,390px)!important;}
  .auth-ws-card{border-radius:24px!important;padding:16px 14px 18px!important;}
  .auth-ws-card:before{height:96px!important;}
  .auth-ws-logo{width:154px!important;min-height:58px!important;}
  .auth-ws-logo img{max-height:58px!important;}
  .auth-ws-head{margin-bottom:14px!important;}
  .auth-ws-form h1{font-size:21px!important;}
  .auth-ws-subtitle{font-size:12.7px!important;}
  .auth-ws-form input[type="text"],.auth-ws-form input[type="tel"],.auth-ws-form input[type="email"],.auth-ws-form input[type="password"],.auth-ws-form .auth-submit{height:50px!important;min-height:50px!important;border-radius:14px!important;}
}


/* Waria Market account dashboard + seller identity */
.account-top-link{color:#0b6cff;font-weight:1000}.account-body{min-height:100vh;background:linear-gradient(180deg,#eef7ff 0%,#f8fbff 45%,#eef4fb 100%);color:#0f172a}.account-simple-header{height:72px;background:#fff;border-bottom:1px solid #e5eef9;display:flex;align-items:center;justify-content:space-between;padding:0 max(18px,calc((100vw - 1180px)/2));box-shadow:0 10px 30px rgba(15,23,42,.05);position:sticky;top:0;z-index:10}.account-brand-mini{display:flex;align-items:center;gap:10px;color:#0b6cff;font-weight:1000}.account-brand-mini img{max-width:150px;max-height:46px;object-fit:contain}.account-simple-header nav{display:flex;gap:10px}.account-simple-header nav a{padding:10px 14px;border-radius:999px;background:#eef6ff;color:#0b6cff;font-weight:900}.account-shell{padding:34px 0 64px}.account-hero-card{background:linear-gradient(135deg,#0b6cff,#102a82);color:#fff;border-radius:32px;padding:30px;display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:0 25px 60px rgba(11,108,255,.22);margin-bottom:22px}.account-eyebrow{display:inline-flex;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:8px 13px;font-weight:900;margin-bottom:10px}.account-hero-card h1{margin:0 0 8px;font-size:34px;font-weight:1000}.account-hero-card p{margin:0;color:#dceafe;font-weight:800;line-height:2}.seller-public-card{background:#fff;color:#0f172a;border-radius:26px;min-width:260px;padding:20px;text-align:center;box-shadow:0 18px 45px rgba(15,23,42,.16)}.seller-public-card strong{display:block;font-size:28px;direction:ltr;color:#0b6cff;letter-spacing:.06em}.seller-public-card small{color:#64748b;font-weight:900}.seller-tag{display:inline-flex;background:#e8f3ff;color:#0b6cff;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:1000;margin-bottom:12px}.account-layout{display:grid;grid-template-columns:290px 1fr;gap:22px}.account-sidebar-card,.account-main-card{background:#fff;border:1px solid #dfeaf8;border-radius:28px;box-shadow:0 18px 45px rgba(15,23,42,.07)}.account-sidebar-card{padding:20px;display:grid;gap:10px;align-content:start;text-align:center}.account-avatar{width:76px;height:76px;border-radius:26px;background:linear-gradient(135deg,#12c7df,#0b6cff);color:#fff;display:grid;place-items:center;font-size:34px;font-weight:1000;margin:0 auto 6px}.account-sidebar-card>strong{font-size:20px}.account-sidebar-card>span{direction:ltr;color:#64748b;font-weight:900;margin-bottom:8px}.account-sidebar-card a{display:flex;justify-content:center;padding:13px;border-radius:16px;background:#f5f9ff;color:#334155;font-weight:1000}.account-sidebar-card a.active,.account-sidebar-card a:hover{background:#0b6cff;color:#fff}.account-main-card{padding:26px}.account-welcome h2{margin:0 0 8px;font-size:28px}.account-welcome p{margin:0 0 22px;color:#667085;line-height:2;font-weight:800}.seller-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.seller-stat{background:linear-gradient(180deg,#f8fbff,#eef6ff);border:1px solid #dbeafe;border-radius:22px;padding:18px;text-align:center}.seller-stat span{display:block;color:#64748b;font-weight:900;font-size:13px}.seller-stat strong{display:block;color:#0f172a;font-size:20px;margin:8px 0;font-weight:1000}.seller-stat small{color:#0b6cff;font-weight:900}.account-actions-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.account-actions-grid a{min-height:58px;border-radius:18px;background:#0b6cff;color:#fff;display:grid;place-items:center;font-weight:1000;box-shadow:0 14px 30px rgba(11,108,255,.16)}.seller-code-chip{direction:ltr;display:inline-flex;background:#eef6ff;color:#0b6cff;border-radius:999px;padding:6px 10px;font-weight:1000}.alert.info{background:#eaf6ff;color:#075985}
@media (max-width:900px){.account-simple-header{height:auto;padding:12px 14px;gap:10px}.account-brand-mini img{max-width:128px}.account-shell{padding:18px 0 92px}.account-hero-card{display:grid;text-align:center;border-radius:26px;padding:22px}.seller-public-card{min-width:0}.account-layout{grid-template-columns:1fr}.seller-stats-grid{grid-template-columns:1fr 1fr}.account-actions-grid{grid-template-columns:1fr 1fr}.account-main-card{padding:18px}.account-hero-card h1{font-size:26px}}
@media (max-width:480px){.seller-stats-grid,.account-actions-grid{grid-template-columns:1fr}.account-simple-header nav a{font-size:12px;padding:9px 10px}}


/* Waria Market account/users compact polish */
.seller-code-chip{font-size:12px;line-height:1.3;padding:5px 9px;border-radius:12px;letter-spacing:.02em;white-space:nowrap}
.seller-code-chip-sm{font-size:11px;padding:4px 8px;border-radius:10px;min-width:72px;justify-content:center}
.user-ip-cell{font-size:12px;color:#475569;font-weight:800;direction:ltr;white-space:nowrap}
.users-table th,.users-table td{vertical-align:middle}.users-table .user-cell strong{font-size:14px}.users-table .user-cell span{font-size:12px;color:#64748b}
.account-shell{padding:22px 0 44px}.account-simple-header{height:64px}.account-hero-card{border-radius:24px;padding:22px;margin-bottom:16px}.account-hero-card h1{font-size:26px}.account-hero-card p{font-size:14px;line-height:1.8}.account-eyebrow{padding:6px 11px;font-size:12px;margin-bottom:8px}.seller-public-card{min-width:210px;border-radius:20px;padding:15px}.seller-public-card strong{font-size:22px}.seller-public-card small{font-size:12px}.seller-tag{font-size:12px;padding:6px 10px;margin-bottom:8px}.account-layout{grid-template-columns:240px 1fr;gap:16px}.account-sidebar-card,.account-main-card{border-radius:22px}.account-sidebar-card{padding:16px;gap:8px}.account-avatar{width:58px;height:58px;border-radius:20px;font-size:26px}.account-sidebar-card>strong{font-size:17px}.account-sidebar-card>span{font-size:12px}.account-sidebar-card a{padding:11px;border-radius:14px;font-size:13px}.account-main-card{padding:20px}.account-welcome h2{font-size:23px}.account-welcome p{font-size:14px;margin-bottom:16px}.seller-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.seller-stat{border-radius:18px;padding:14px}.seller-stat span{font-size:12px}.seller-stat strong{font-size:17px;margin:6px 0}.seller-stat small{font-size:11px}.account-actions-grid{gap:10px}.account-actions-grid a{min-height:50px;border-radius:15px;font-size:14px}
@media (max-width:900px){.account-shell{padding:14px 12px 78px}.account-simple-header{height:auto;padding:12px;gap:8px}.account-simple-header nav{gap:6px}.account-simple-header nav a{padding:8px 10px;font-size:12px}.account-hero-card{display:block;text-align:center;padding:18px}.seller-public-card{margin:14px auto 0;min-width:0;width:100%;max-width:260px}.account-layout{grid-template-columns:1fr}.account-sidebar-card{display:flex;overflow-x:auto;text-align:center;align-items:center}.account-sidebar-card .account-avatar,.account-sidebar-card>strong,.account-sidebar-card>span{display:none}.account-sidebar-card a{white-space:nowrap;min-width:max-content}.seller-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.users-table-wrap{overflow-x:auto}.users-table{min-width:980px}}

/* Account dashboard phase 2 */
.front-ticket-notice{
    margin:16px auto 0;
    background:#fff7ed;
    border:1px solid #fed7aa;
    color:#9a3412;
    border-radius:18px;
    padding:14px 18px;
    font-weight:900;
    box-shadow:0 12px 30px rgba(249,115,22,.12);
}
.front-ticket-notice a{color:#0b63f6;text-decoration:none;margin-inline-start:8px}
.account-notice-ticket,.account-alert{border-radius:18px;padding:14px 18px;margin-bottom:14px;font-weight:900}
.account-notice-ticket{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}
.account-notice-ticket a{color:#0b63f6;text-decoration:none}
.account-alert.success{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}
.account-alert.error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}
.compact-account-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px!important}
.account-identity-row{display:flex;align-items:center;gap:14px}
.account-identity-row h1{font-size:1.35rem;margin:3px 0 4px}
.account-identity-row p{margin:0;color:#64748b;font-size:.88rem}
.compact-seller-card{min-width:180px;padding:12px 14px!important}
.compact-seller-card strong{font-size:1.1rem!important}
.account-layout-compact{gap:18px!important}
.account-sidebar-compact{padding:16px!important}
.account-sidebar-compact a{padding:11px 12px!important;font-size:.92rem!important}
.account-main-compact{padding:18px!important}
.seller-stats-compact{gap:10px!important;margin-bottom:14px!important}
.seller-stats-compact .seller-stat{padding:14px!important;min-height:auto!important}
.account-actions-compact{gap:10px!important}
.account-actions-compact a{padding:13px 10px!important;font-size:.95rem!important}
.wm-avatar,.account-avatar,.account-hero-avatar{display:inline-flex;align-items:center;justify-content:center;object-fit:cover;border-radius:50%;font-weight:1000;color:#fff;box-shadow:0 12px 26px rgba(15,23,42,.12)}
.account-avatar{width:64px!important;height:64px!important;font-size:1.4rem!important;margin:0 auto 8px!important}
.account-hero-avatar{width:58px;height:58px;font-size:1.35rem;flex:0 0 auto}
.wm-avatar-c0{background:linear-gradient(135deg,#0ea5e9,#2563eb)}
.wm-avatar-c1{background:linear-gradient(135deg,#22c55e,#0f766e)}
.wm-avatar-c2{background:linear-gradient(135deg,#f97316,#dc2626)}
.wm-avatar-c3{background:linear-gradient(135deg,#8b5cf6,#4f46e5)}
.wm-avatar-c4{background:linear-gradient(135deg,#06b6d4,#0891b2)}
.wm-avatar-c5{background:linear-gradient(135deg,#eab308,#f97316)}
.mini-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:999px;background:#ef4444;color:#fff;font-size:.75rem;margin-inline-start:6px;padding:0 6px}
.account-form-card{background:#f8fbff;border:1px solid #dbeafe;border-radius:20px;padding:16px;margin:14px 0;display:grid;gap:10px}
.account-form-card label{font-weight:900;color:#334155;font-size:.9rem}
.account-form-card input,.account-form-card textarea{width:100%;border:1px solid #dbeafe;border-radius:14px;padding:12px 14px;font:inherit;background:#fff;box-sizing:border-box}
.account-form-card button{border:0;border-radius:14px;background:linear-gradient(135deg,#0ea5e9,#1455ff);color:#fff;font-weight:1000;padding:13px;cursor:pointer;box-shadow:0 10px 24px rgba(20,85,255,.2)}
.profile-warning-box{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:16px;padding:12px 14px;font-weight:900;margin:12px 0}
.pending-note{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;border-radius:14px;padding:10px;font-weight:900}
.ticket-list-mini{display:grid;gap:10px;margin-top:14px}
.ticket-row-mini{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;text-decoration:none;color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:12px 14px}
.ticket-row-mini span{background:#eff6ff;color:#1d4ed8;border-radius:999px;padding:5px 10px;font-weight:900;font-size:.82rem}
.ticket-row-mini small{color:#64748b}
.ticket-thread-card{background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:16px;margin:14px 0}
.ticket-message{border-radius:16px;padding:12px 14px;margin:10px 0}
.ticket-message p{margin:6px 0 0;line-height:1.9}
.ticket-message small{display:block;margin-top:6px;color:#64748b}
.ticket-message.user-msg{background:#f8fafc;border:1px solid #e2e8f0}
.ticket-message.admin-msg{background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a}
.admin-list-stack{display:grid;gap:16px;margin-top:16px}
.ticket-admin-card,.profile-request-card{padding:18px!important}
.ticket-admin-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.ticket-admin-head span{background:#eff6ff;color:#1d4ed8;border-radius:999px;padding:6px 12px;font-weight:900;font-size:.85rem}
.ticket-admin-message{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px;line-height:1.9}
.ticket-admin-reply{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:10px 12px;margin:8px 0;line-height:1.8}
.ticket-admin-reply.is-admin{background:#eff6ff;border-color:#bfdbfe}
.ticket-admin-reply small{display:block;color:#64748b;margin-top:4px}
.ticket-reply-form{display:grid;gap:10px;margin-top:12px}
.ticket-reply-form textarea{border:1px solid #dbeafe;border-radius:14px;padding:12px;font:inherit}
.inline-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px}
.inline-form input[type=text]{border:1px solid #dbeafe;border-radius:12px;padding:10px 12px;font:inherit}
.profile-request-preview{width:96px;height:96px;object-fit:cover;border-radius:22px;border:1px solid #dbeafe;background:#fff;margin:8px 0;display:block}
.danger-btn{background:#fee2e2;color:#b91c1c;border:0;border-radius:12px;padding:10px 16px;font-weight:900;cursor:pointer}
.muted,.account-form-card small{color:#64748b}
@media (max-width: 760px){
    .compact-account-hero{display:grid;text-align:center;justify-items:center;padding:16px!important}
    .account-identity-row{display:grid;justify-items:center;text-align:center}
    .compact-seller-card{width:100%;box-sizing:border-box}
    .ticket-row-mini{grid-template-columns:1fr;align-items:start}
    .account-main-compact{padding:14px!important}
}

/* Waria Market - professional tickets/profile approval polish */
.admin-menu-badge{display:inline-flex;min-width:22px;height:22px;border-radius:999px;background:#ef4444;color:#fff;align-items:center;justify-content:center;font-size:12px;font-weight:1000;margin-inline-start:6px;padding:0 7px;vertical-align:middle}.admin-subtitle{color:#64748b;font-weight:900}.admin-status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:14px 0 18px}.admin-status-card{display:grid;gap:6px;background:#fff;border:1px solid #dbeafe;border-radius:18px;padding:16px;color:#0f172a;text-decoration:none;box-shadow:0 10px 26px rgba(15,23,42,.05)}.admin-status-card span{color:#64748b;font-weight:900}.admin-status-card strong{font-size:28px;color:#0b63f6}.admin-status-card.active{border-color:#0b63f6;box-shadow:0 0 0 4px rgba(11,99,246,.09),0 16px 32px rgba(15,23,42,.07)}.admin-note-box{background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a;border-radius:18px;padding:14px 18px;margin:12px 0 18px;font-weight:900;line-height:1.9}.ticket-admin-card.is-unread-admin{border-color:#fb7185!important;box-shadow:0 0 0 4px rgba(251,113,133,.08),0 18px 35px rgba(15,23,42,.06)!important}.pro-ticket-head h3{margin:8px 0 0;font-size:20px}.ticket-number-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#eaf3ff;color:#0b63f6;border:1px solid #cfe3ff;padding:5px 11px;font-weight:1000;font-size:13px}.unread-pill{display:inline-flex;align-items:center;border-radius:999px;background:#fee2e2;color:#b91c1c;padding:5px 10px;font-size:12px;margin-inline-start:6px}.ticket-status-pill{display:inline-flex;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:1000;white-space:nowrap;background:#eff6ff;color:#1d4ed8}.ticket-status-waiting_admin,.profile-status-pending{background:#fff7ed!important;color:#c2410c!important}.ticket-status-waiting_user,.profile-status-approved{background:#dcfce7!important;color:#166534!important}.ticket-status-closed,.ticket-status-auto_closed,.profile-status-rejected{background:#f1f5f9!important;color:#475569!important}.ticket-meta-row{display:flex;flex-wrap:wrap;gap:9px 14px;color:#475569;font-size:13px;margin:10px 0}.ticket-meta-row span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:6px 10px}.closed-reason-box{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:14px;padding:10px 12px;margin:10px 0;font-weight:900}.ticket-actions-row,.profile-review-actions{gap:10px;flex-wrap:wrap}.profile-review-actions input{min-width:230px}.ticket-list-mini .has-unread{border-color:#fb7185;background:#fff7f7}.pro-ticket-thread .ticket-thread-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.ticket-user-reply-form{margin-top:12px!important;background:#f8fbff!important}.account-main-compact .ticket-create-form{background:#fff!important;border:1px solid #e2e8f0!important;box-shadow:none!important}.profile-request-preview{width:110px!important;height:110px!important;object-fit:cover!important;border-radius:26px!important;border:1px solid #dbeafe!important;background:#fff!important;margin:10px 0!important;display:block!important}.admin-filters input,.admin-filters select{min-height:46px;border:1px solid #dbeafe;border-radius:14px;padding:0 12px;background:#fff;font-weight:900}.admin-filters{align-items:end}.danger-btn{border:0;background:#fee2e2;color:#b91c1c;border-radius:12px;padding:11px 16px;font-weight:1000;cursor:pointer}.muted-btn{border:1px solid #dbeafe;background:#f8fbff;color:#334155;border-radius:12px;padding:10px 14px;font-weight:1000;cursor:pointer}

/* Ticket admin professional list/detail polish */
.ticket-pro-filters{display:grid;grid-template-columns:minmax(220px,1fr) 180px 190px 120px;gap:10px;margin-bottom:16px}.ticket-table-card{padding:0!important;overflow:hidden}.ticket-table-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #e2e8f0;background:#f8fbff}.ticket-table-head h2{margin:0;font-size:20px}.ticket-table-head span{color:#64748b;font-weight:900}.ticket-table-wrap{overflow-x:auto}.admin-ticket-table{width:100%;border-collapse:separate;border-spacing:0;min-width:960px;background:#fff}.admin-ticket-table th{background:#f8fafc;color:#475569;font-size:13px;text-align:right;padding:13px 12px;border-bottom:1px solid #e2e8f0;white-space:nowrap}.admin-ticket-table td{padding:13px 12px;border-bottom:1px solid #eef2f7;vertical-align:middle;color:#0f172a}.admin-ticket-table tbody tr:hover{background:#f8fbff}.admin-ticket-table tr.is-unread-row{background:#fff7f7}.admin-ticket-table td small{display:block;color:#64748b;margin-top:4px;font-weight:800}.unread-dot{display:inline-block;width:10px;height:10px;background:#ef4444;border-radius:50%;margin-inline-start:6px;box-shadow:0 0 0 4px rgba(239,68,68,.12)}.primary-mini-link{display:inline-flex;align-items:center;justify-content:center;background:#0b63f6;color:#fff;text-decoration:none;border-radius:12px;padding:8px 13px;font-weight:1000;font-size:13px}.ticket-detail-panel{margin:16px 0 18px;padding:18px!important;border:1px solid #bfdbfe!important;box-shadow:0 18px 42px rgba(15,23,42,.07)!important}.ticket-detail-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;border-bottom:1px solid #e2e8f0;padding-bottom:14px;margin-bottom:14px}.ticket-detail-head h2{margin:8px 0;font-size:24px}.muted-link{color:#64748b;text-decoration:none;font-weight:900}.muted-link:hover{color:#0b63f6}.ticket-detail-badges{display:flex;gap:8px;flex-wrap:wrap}.ticket-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:14px 0}.ticket-info-grid div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:10px 12px}.ticket-info-grid span{display:block;color:#64748b;font-weight:900;font-size:12px;margin-bottom:5px}.ticket-info-grid strong{font-size:14px}.ticket-thread-clean{display:grid;gap:10px;margin:14px 0}.ticket-bubble{border:1px solid #e2e8f0;border-radius:18px;padding:12px 14px;background:#fff;line-height:1.9}.ticket-bubble.admin-bubble{background:#eff6ff;border-color:#bfdbfe}.ticket-bubble.user-bubble{background:#fff;border-color:#e2e8f0}.ticket-bubble p{margin:6px 0 0}.ticket-bubble-meta{display:flex;justify-content:space-between;gap:12px;color:#64748b}.ticket-bubble-meta strong{color:#0f172a}.ticket-bubble-meta small{font-weight:900}.ticket-detail-reply{margin-top:14px!important;background:#f8fbff!important;border:1px solid #dbeafe!important;box-shadow:none!important}.ticket-detail-reply label{font-weight:1000;color:#334155;margin-bottom:8px;display:block}.ticket-category-pill{display:inline-flex;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:1000;white-space:nowrap;background:#f1f5f9;color:#475569}.ticket-category-account{background:#eef2ff!important;color:#3730a3!important}.ticket-category-listing{background:#ecfeff!important;color:#0e7490!important}.ticket-category-payment{background:#fef3c7!important;color:#92400e!important}.ticket-category-kyc{background:#fdf2f8!important;color:#be185d!important}.ticket-category-technical{background:#fee2e2!important;color:#b91c1c!important}.ticket-category-general{background:#f1f5f9!important;color:#475569!important}.empty-state{padding:24px;text-align:center;color:#64748b;font-weight:900}.account-form-card select{width:100%;min-height:46px;border:1px solid #dbeafe;border-radius:14px;padding:0 12px;background:#fff;font-weight:900;color:#0f172a}@media(max-width:760px){.ticket-pro-filters{grid-template-columns:1fr}.ticket-detail-head{display:grid}.admin-ticket-table{min-width:820px}.ticket-info-grid{grid-template-columns:1fr}.ticket-bubble-meta{display:grid}}

/* Waria Market - refined ticket UX 20260520 */
.ticket-status-grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.admin-status-card{padding:13px 14px;border-radius:16px}.admin-status-card strong{font-size:22px}.admin-status-card span{font-size:13px}.ticket-pro-filters{grid-template-columns:minmax(260px,1fr) 165px 165px 110px}.admin-ticket-table{min-width:820px}.admin-ticket-table th,.admin-ticket-table td{padding:10px 11px;font-size:13px}.admin-ticket-table td strong{font-size:14px}.admin-ticket-table .ticket-number-pill{font-size:12px;padding:4px 9px}.admin-ticket-table .ticket-status-pill,.admin-ticket-table .ticket-category-pill{font-size:12px;padding:5px 9px}.primary-mini-link{padding:7px 11px;font-size:12px;border-radius:10px}.ticket-table-head h2{font-size:18px}.ticket-table-head{padding:13px 15px}.refined-ticket-detail{max-width:980px;margin:14px auto 22px!important;padding:16px!important}.ticket-detail-head.refined h2{font-size:20px;line-height:1.5;margin:6px 0}.ticket-detail-head.refined{align-items:center}.refined-info{grid-template-columns:repeat(4,minmax(130px,1fr));gap:9px}.refined-info>div,.ticket-private-details{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:9px 11px}.ticket-private-details{grid-column:1/-1}.ticket-private-details summary{cursor:pointer;font-weight:1000;color:#0b63f6}.ticket-private-details p{margin:8px 0 0;color:#475569}.refined-thread{background:#f8fbff;border:1px solid #dbeafe;border-radius:18px;padding:12px;max-height:none}.refined-thread .ticket-bubble{max-width:74%;font-size:14px;padding:11px 13px}.refined-thread .ticket-bubble.admin-bubble{margin-inline-start:auto;background:#eff6ff}.refined-thread .ticket-bubble.user-bubble{margin-inline-end:auto;background:#fff}.refined-reply{padding:13px!important;border-radius:16px!important}.refined-reply textarea{min-height:110px}.ticket-subject-compact{max-width:280px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-ticket-detail{background:#fff;border:1px solid #dbeafe;border-radius:20px;padding:14px;margin:14px 0;box-shadow:0 12px 28px rgba(15,23,42,.05)}.user-ticket-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #e2e8f0;padding-bottom:12px;margin-bottom:12px}.user-ticket-head h3{margin:7px 0 8px;font-size:18px;line-height:1.6}.ticket-exit-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbeafe;background:#f8fbff;color:#0b63f6;border-radius:12px;padding:8px 12px;text-decoration:none;font-weight:1000;font-size:13px;white-space:nowrap}.ticket-mini-meta{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.ticket-mini-meta small{color:#64748b;font-weight:900}.ticket-chat-timeline{display:grid;gap:10px;background:#f8fbff;border:1px solid #e2e8f0;border-radius:18px;padding:12px}.ticket-chat-message{border-radius:16px;padding:11px 13px;max-width:78%;line-height:1.9}.ticket-chat-message.admin{background:#eff6ff;border:1px solid #bfdbfe;margin-inline-start:auto;color:#1e3a8a}.ticket-chat-message.user{background:#fff;border:1px solid #e2e8f0;margin-inline-end:auto}.ticket-chat-message>div{display:flex;justify-content:space-between;gap:10px;color:#64748b;font-size:12px;font-weight:900}.ticket-chat-message strong{color:#0f172a}.ticket-chat-message p{margin:7px 0 0}.ticket-user-actions{display:grid;gap:10px;margin-top:12px}.ticket-close-confirm{display:flex;justify-content:flex-end}.ticket-close-confirm button{border:1px solid #fed7aa;background:#fff7ed;color:#c2410c;border-radius:12px;padding:10px 14px;font-weight:1000;cursor:pointer}.ticket-row-mini{grid-template-columns:1.3fr auto auto auto;border-radius:14px;padding:10px 12px}.ticket-row-mini strong{font-size:14px}.ticket-row-mini span{font-size:12px;padding:4px 8px}.account-notice-ticket{font-size:14px;padding:12px 15px}.mini-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;background:#ef4444;color:#fff;border-radius:999px;font-size:11px;margin-inline-start:5px}
@media(max-width:900px){.refined-info{grid-template-columns:repeat(2,minmax(130px,1fr))}.refined-thread .ticket-bubble,.ticket-chat-message{max-width:88%}}
@media(max-width:700px){.ticket-pro-filters{grid-template-columns:1fr}.admin-status-grid{grid-template-columns:repeat(2,1fr)}.admin-ticket-table{min-width:720px}.refined-ticket-detail{padding:12px!important;margin-inline:0!important}.ticket-detail-head.refined{display:grid}.ticket-detail-head.refined h2{font-size:18px}.refined-info{grid-template-columns:1fr}.refined-thread{padding:9px}.refined-thread .ticket-bubble,.ticket-chat-message{max-width:100%;font-size:13px}.user-ticket-detail{margin:10px -4px;padding:11px;border-radius:16px}.user-ticket-head{display:grid}.ticket-exit-link{justify-self:start}.ticket-chat-timeline{padding:9px}.ticket-row-mini{grid-template-columns:1fr;align-items:start}.account-main-compact{padding:14px!important}.admin-note-box{font-size:13px;padding:11px 13px}.ticket-table-head{display:grid;gap:6px}}

/* Waria Market - ticket/profile mobile polish + pagination 20260520 */
.wm-pagination{display:flex;align-items:center;justify-content:center;gap:10px;margin:16px 0 4px;flex-wrap:wrap;font-weight:1000;color:#64748b}.wm-pagination a{display:inline-flex;min-height:38px;align-items:center;justify-content:center;padding:0 14px;border-radius:12px;background:#0b63f6;color:#fff!important;text-decoration:none;box-shadow:0 10px 22px rgba(11,99,246,.14)}.wm-pagination span{background:#fff;border:1px solid #dbeafe;border-radius:12px;padding:9px 14px;color:#334155}.admin-ticket-pagination{justify-content:flex-end;padding:0 18px 16px}.profile-pagination{justify-content:flex-end;padding:0 16px 16px}.clean-section-head{margin-bottom:12px}.clean-section-head h2{margin:0 0 6px;font-size:22px}.polished-ticket-create{background:#fff!important;border:1px solid #dbeafe!important;border-radius:20px!important;box-shadow:0 10px 28px rgba(15,23,42,.04)!important;padding:16px!important}.ticket-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ticket-list-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 8px}.ticket-list-title-row h3{margin:0;font-size:18px}.ticket-list-title-row span{color:#64748b;font-weight:900}.pro-ticket-list-mini{background:#f8fbff;border:1px solid #dbeafe;border-radius:20px;padding:12px}.pro-user-ticket-row{grid-template-columns:1.6fr auto auto!important;background:#fff!important}.pro-user-ticket-row div small{display:block;margin-top:5px;color:#64748b;font-weight:800}.pro-user-ticket-detail{margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}.user-ticket-detail-top{background:#fff;border:1px solid #dbeafe;border-radius:22px;padding:14px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px;box-shadow:0 12px 28px rgba(15,23,42,.05)}.user-ticket-title-box{display:grid;gap:7px}.user-ticket-title-box h2{margin:0;font-size:22px;line-height:1.5}.clean-ticket-meta{gap:8px}.pro-ticket-chat{background:#fff!important;border:1px solid #dbeafe!important;border-radius:22px!important;padding:14px!important;box-shadow:0 12px 28px rgba(15,23,42,.04)}.compact-ticket-actions{background:#fff;border:1px solid #dbeafe;border-radius:22px;padding:12px;margin-top:12px}.compact-reply-form{margin:0!important;background:#f8fbff!important;border-radius:18px!important}.closed-ticket-note{background:#fff;border:1px solid #dbeafe;border-radius:16px;padding:12px;margin-top:12px}.profile-requests-panel{padding:0!important;overflow:hidden}.profile-panel-head{margin:0}.compact-profile-grid{display:grid;grid-template-columns:1fr;gap:12px;padding:14px}.pro-profile-card{background:#fff;border:1px solid #dbeafe;border-radius:22px;padding:14px!important;box-shadow:0 12px 28px rgba(15,23,42,.04)}.profile-request-topline{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.profile-request-body{display:grid;grid-template-columns:112px 1fr;gap:14px;align-items:center}.profile-request-avatar-wrap{width:112px;height:112px;border-radius:26px;background:#f8fbff;border:1px solid #e2e8f0;display:grid;place-items:center;overflow:hidden}.profile-request-preview{width:100%!important;height:100%!important;margin:0!important;border:0!important;border-radius:24px!important;object-fit:cover!important}.profile-request-noavatar{color:#94a3b8;font-weight:1000}.profile-request-info h3{margin:0 0 8px;font-size:20px}.profile-request-info p{margin:0 0 10px;font-weight:900;color:#334155}.profile-request-meta-clean{display:flex;flex-wrap:wrap;gap:8px}.profile-request-meta-clean span{display:inline-flex;gap:5px;align-items:center;background:#f8fbff;border:1px solid #e2e8f0;border-radius:999px;padding:7px 10px;color:#64748b;font-weight:900;font-size:13px}.profile-request-meta-clean b{color:#0f172a}.compact-profile-actions{display:grid;grid-template-columns:1fr auto auto;gap:8px;margin-top:12px}.compact-profile-actions input{min-height:42px;border:1px solid #dbeafe;border-radius:12px;padding:0 12px;background:#fff}.compact-profile-actions button{min-height:42px}.ticket-info-grid.refined-info{align-items:stretch}.ticket-private-details{font-size:14px}.ticket-detail-head.refined h2 span{color:#0b63f6}.ticket-table-wrap{background:#fff}
@media(max-width:760px){.account-main-card.account-main-compact{padding:12px!important;border-radius:20px}.ticket-form-grid{grid-template-columns:1fr}.polished-ticket-create{padding:13px!important;border-radius:18px!important}.pro-ticket-list-mini{padding:10px;border-radius:18px}.pro-user-ticket-row{grid-template-columns:1fr!important;gap:8px}.user-ticket-detail-top{display:grid;border-radius:18px;padding:12px}.ticket-exit-link{justify-self:start}.user-ticket-title-box h2{font-size:20px}.pro-ticket-chat{padding:10px!important;border-radius:18px!important}.ticket-chat-message{max-width:100%!important;font-size:14px}.compact-ticket-actions{border-radius:18px;padding:10px}.profile-request-body{grid-template-columns:82px 1fr;gap:10px}.profile-request-avatar-wrap{width:82px;height:82px;border-radius:20px}.profile-request-preview{border-radius:18px!important}.profile-request-info h3{font-size:17px}.profile-request-meta-clean span{font-size:12px;padding:6px 8px}.compact-profile-actions{grid-template-columns:1fr}.admin-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-status-card strong{font-size:20px}.admin-status-card span{font-size:12px}.profile-panel-head,.ticket-table-head{display:grid!important;gap:6px}.wm-pagination{justify-content:center}.admin-ticket-pagination,.profile-pagination{justify-content:center;padding:0 10px 14px}.ticket-detail-panel.refined-ticket-detail{padding:12px!important}.refined-thread .ticket-bubble{max-width:100%!important}.admin-ticket-table{min-width:680px}}
@media(max-width:430px){.profile-request-body{grid-template-columns:1fr;text-align:center}.profile-request-avatar-wrap{margin:0 auto}.profile-request-meta-clean{justify-content:center}.profile-request-topline{display:grid;justify-content:center}.ticket-list-title-row{display:grid;text-align:center}.user-ticket-title-box h2{font-size:18px}.ticket-mini-meta{display:grid}.account-shell{padding-inline:10px!important}}


/* === Waria Market UX polish patch 2026-05-20 === */
body, button, input, select, textarea{font-weight:500}.account-body{font-weight:600}.account-body h1,.account-body h2,.account-body h3{font-weight:900;letter-spacing:-.02em}.account-simple-header{gap:18px}.account-simple-header .account-brand-mini img{width:min(170px,var(--wm-logo-width-mobile,150px));height:auto;max-height:58px;object-fit:contain}.account-simple-header nav a{font-weight:800}.compact-account-hero{padding:26px 28px;border-radius:30px;display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center}.compact-account-hero .account-identity-row{align-items:center;gap:16px}.compact-account-hero h1{font-size:clamp(26px,3vw,42px);margin:8px 0}.compact-account-hero p{opacity:.78;font-weight:800}.account-hero-avatar,.account-avatar{object-fit:contain;background:#fff}.compact-seller-card{min-width:220px;padding:18px 22px;border-radius:24px;text-align:center}.compact-seller-card strong{font-size:28px;line-height:1.2}.account-layout-compact{gap:18px}.account-sidebar-compact{position:sticky;top:14px}.account-sidebar-compact>a{border-radius:16px;margin:4px 0}.account-main-compact{padding:24px;border-radius:26px}.seller-stats-compact{gap:12px}.seller-stats-compact .seller-stat{padding:18px;border-radius:22px;min-height:auto}.account-actions-compact{gap:10px}.account-actions-compact a{border-radius:16px;min-height:52px;display:flex;align-items:center;justify-content:center;font-weight:900}.ticket-mobile-switch{display:flex;gap:10px;background:#f3f8ff;border:1px solid #d8eaff;border-radius:22px;padding:8px;margin-bottom:16px}.ticket-mobile-switch a{flex:1;text-align:center;text-decoration:none;color:#0f2550;background:#fff;border:1px solid #e0ecfb;border-radius:16px;padding:13px 10px;font-weight:900}.ticket-mobile-switch a.active{background:#1164ff;color:#fff;border-color:#1164ff}.compact-ticket-head{text-align:right;margin-bottom:14px}.compact-ticket-head h2{font-size:26px;margin:0 0 6px}.ticket-create-shell,.ticket-history-shell{background:#fff;border:1px solid #e1edf8;border-radius:24px;padding:18px;margin-bottom:18px;box-shadow:0 10px 30px rgba(15,68,135,.06)}.compact-ticket-create-form{box-shadow:none;border-color:#e2edf8;margin:0}.compact-ticket-create-form label{font-size:15px;font-weight:900}.compact-ticket-create-form input,.compact-ticket-create-form select,.compact-ticket-create-form textarea{border-radius:16px;font-size:16px;min-height:48px}.compact-ticket-create-form button{border-radius:16px}.compact-user-ticket-list{box-shadow:none;border:0;padding:0}.ticket-list-title-row h3{font-size:22px}.pro-user-ticket-row{border-radius:16px;align-items:center}.pro-user-ticket-row strong{font-size:15px}.user-ticket-detail-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.ticket-exit-link{background:#eef7ff;border:1px solid #d7eafd;border-radius:14px;padding:10px 16px;text-decoration:none;color:#1261d7;font-weight:900}.pro-ticket-chat{background:#f7fbff;border:1px solid #dceafa;border-radius:24px;padding:14px}.ticket-chat-message,.ticket-bubble{max-width:68%;border-radius:18px;padding:13px 15px;margin:10px 0;background:#fff;border:1px solid #e2edf8;box-shadow:none}.ticket-chat-message.user,.user-bubble{margin-right:auto;background:#fff}.ticket-chat-message.admin,.admin-bubble{margin-left:auto;background:#edf6ff;border-color:#bcdcff}.ticket-chat-message div,.ticket-bubble-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;color:#5d7088}.ticket-chat-message strong,.ticket-bubble strong{font-size:14px;color:#0c1c33}.ticket-chat-message time,.ticket-bubble small{font-size:12px;color:#71839b}.ticket-chat-message p,.ticket-bubble p{font-size:15px;line-height:1.9;margin:0;color:#0e1c31;font-weight:600}.ticket-user-actions{display:grid;grid-template-columns:1fr;gap:12px}.ticket-close-confirm button{background:#fff7ed!important;color:#b45309!important;border:1px solid #fdba74!important}.closed-ticket-note{background:#f8fbff;border:1px solid #dceafa;border-radius:18px;padding:14px;font-weight:800}.front-ticket-notice{border-radius:16px}.header-account-icon{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d8e7ff;background:#f2f7ff;border-radius:14px;text-decoration:none;font-size:20px}.mobile-drawer-login{background:#1164ff!important;color:#fff!important;border-color:#1164ff!important;font-weight:900!important}.mobile-drawer-brand img{width:max(150px,var(--wm-logo-width-mobile,150px));max-height:60px;object-fit:contain}.brand img{object-fit:contain}.mobile-bottom-nav a small{font-weight:900}.mobile-bottom-nav a[href*="account"]{background:#eef6ff;border-radius:18px}.profile-requests-panel-clean{padding:18px}.profile-requests-panel-clean .ticket-table-head{margin-bottom:14px}.compact-profile-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px}.pro-profile-card{background:#fff;border:1px solid #dceafa;border-radius:22px;padding:14px!important;box-shadow:0 10px 28px rgba(15,68,135,.06);min-height:0}.profile-request-topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.profile-request-body{display:grid!important;grid-template-columns:86px 1fr;gap:12px;align-items:start}.profile-request-avatar-wrap{width:86px;height:86px;border-radius:20px;background:#f5f9ff;border:1px solid #dceafa;display:flex;align-items:center;justify-content:center;overflow:hidden}.profile-request-preview{width:100%;height:100%;object-fit:contain!important;border-radius:16px;background:#fff}.profile-request-noavatar{font-size:12px;color:#6b7d93;font-weight:800}.profile-request-info h3{font-size:18px;margin:0 0 8px}.profile-request-info p{margin:0 0 8px;font-size:14px}.profile-request-meta-clean{display:flex!important;flex-wrap:wrap;gap:6px}.profile-request-meta-clean span{background:#f6faff;border:1px solid #e2edf8;border-radius:999px;padding:6px 9px;font-size:12px;line-height:1.4}.compact-profile-actions{display:grid!important;grid-template-columns:1fr auto auto;gap:8px;margin-top:12px}.compact-profile-actions input{min-height:42px;border-radius:12px}.compact-profile-actions button{border-radius:12px;padding:10px 14px}.ticket-detail-panel.refined-ticket-detail{padding:18px;border-radius:22px}.ticket-detail-head.refined h2{font-size:24px;margin:8px 0}.ticket-info-grid.refined-info{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ticket-info-grid.refined-info>div,.ticket-private-details{background:#fff;border:1px solid #dceafa;border-radius:16px;padding:12px}.ticket-info-grid.refined-info span{font-size:12px;color:#71839b}.ticket-info-grid.refined-info strong{font-size:14px}.refined-thread{padding:12px;border-radius:20px;background:#f7fbff}.refined-thread .ticket-bubble{max-width:66%;padding:12px 14px}.refined-thread .ticket-bubble-meta strong{font-size:13px}.refined-thread .ticket-bubble p{font-size:14px;line-height:1.8}.refined-reply textarea{border-radius:16px}.admin-nav-grouped .admin-nav-label{display:block;color:#8aa0ba;font-size:12px;font-weight:900;margin:18px 14px 6px}.admin-dashboard-grid-pro{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.admin-dashboard-group{background:#fff;border:1px solid #dceafa;border-radius:22px;padding:18px;box-shadow:0 10px 28px rgba(15,68,135,.06)}.admin-dashboard-group h2{margin:0 0 14px}.admin-dashboard-links{display:grid;gap:10px}.admin-dashboard-links a{background:#f4f8ff;border:1px solid #deebfb;border-radius:14px;padding:13px;text-decoration:none;color:#0e3e8a;font-weight:900}.admin-dashboard-links a:hover{background:#1164ff;color:#fff}.site-header .header-actions .account-top-link{font-weight:900;color:#09214a}.site-header .header-actions{gap:8px}.top-notice{font-weight:900}.mobile-toggle{font-weight:900}
@media (max-width: 768px){body{font-size:16px}.account-simple-header{padding:18px 20px}.account-simple-header .account-brand-mini img{width:160px;max-height:58px}.account-shell{padding:18px 14px}.compact-account-hero{grid-template-columns:1fr;padding:22px 18px;border-radius:30px;text-align:center}.compact-account-hero .account-identity-row{flex-direction:column}.compact-account-hero h1{font-size:34px}.compact-account-hero p{font-size:16px;color:#e8f2ff!important;opacity:1}.account-hero-avatar{width:96px;height:96px}.compact-seller-card{width:100%;min-width:0}.account-layout-compact{display:block}.account-sidebar-compact{position:relative;display:flex;overflow-x:auto;gap:10px;padding:14px;border-radius:24px;margin-bottom:16px;scroll-snap-type:x mandatory}.account-sidebar-compact .account-avatar,.account-sidebar-compact>strong,.account-sidebar-compact>span{display:none}.account-sidebar-compact a{white-space:nowrap;min-width:132px;display:flex!important;align-items:center;justify-content:center;scroll-snap-align:center;padding:16px 14px!important;font-size:17px!important;border-radius:18px!important}.account-sidebar-compact a.active{background:#1164ff!important;color:#fff!important}.account-main-compact{padding:18px;border-radius:24px}.seller-stats-compact{grid-template-columns:repeat(2,1fr)}.seller-stats-compact .seller-stat{padding:16px 12px}.seller-stats-compact .seller-stat strong{font-size:25px}.account-actions-compact{grid-template-columns:repeat(2,1fr)}.ticket-mobile-switch{position:sticky;top:0;z-index:4}.ticket-create-shell,.ticket-history-shell{padding:14px;border-radius:22px}.compact-ticket-head h2{font-size:25px}.ticket-form-grid{grid-template-columns:1fr!important}.ticket-chat-message,.ticket-bubble,.refined-thread .ticket-bubble{max-width:94%;font-size:15px}.ticket-chat-message p,.ticket-bubble p{font-size:15px}.user-ticket-detail-top{flex-direction:column;align-items:stretch}.ticket-exit-link{text-align:center}.pro-user-ticket-row{display:grid!important;grid-template-columns:1fr;gap:8px;padding:14px}.ticket-row-mini span{justify-self:start}.profile-requests-panel-clean{padding:12px}.compact-profile-grid{grid-template-columns:1fr}.profile-request-body{grid-template-columns:74px 1fr}.profile-request-avatar-wrap{width:74px;height:74px}.compact-profile-actions{grid-template-columns:1fr}.ticket-info-grid.refined-info{grid-template-columns:1fr 1fr}.refined-thread .ticket-bubble{max-width:94%}.mobile-drawer-login{font-size:18px!important}.mobile-drawer-brand img{width:165px}.header-account-icon{width:38px;height:38px}.header-main .brand img{width:max(145px,var(--wm-logo-width-mobile,150px))!important;height:auto!important;max-height:58px!important}.header-actions .account-top-link{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-status-grid{grid-template-columns:repeat(2,1fr)!important}.admin-filters{grid-template-columns:1fr!important}.admin-main{padding:18px 12px!important}.admin-top h1{font-size:30px}.ticket-detail-head.refined{display:block}.ticket-detail-head.refined .inline-form{margin-top:12px}.admin-ticket-table{font-size:14px}.compact-profile-actions input{width:100%}}
@media (max-width: 480px){.seller-stats-compact,.account-actions-compact{grid-template-columns:1fr 1fr}.account-actions-compact a{font-size:14px;min-height:48px}.compact-account-hero h1{font-size:30px}.compact-seller-card strong{font-size:25px}.ticket-info-grid.refined-info{grid-template-columns:1fr}.profile-request-meta-clean span{font-size:11px}.mobile-bottom-nav small{font-size:12px!important}.mobile-bottom-nav span{font-size:20px!important}}

/* ===== 2026-05-20 account + ticket polish patch ===== */
.header-account-icon{display:none!important}
.account-body,.account-body button,.account-body input,.account-body select,.account-body textarea{font-weight:700!important}
.account-body .muted{font-weight:600!important}
.account-hero-modernized{background:linear-gradient(135deg,#0f64ff,#1939a7)!important;border:0!important;box-shadow:0 24px 60px rgba(17,100,255,.22)!important}
.account-hero-modernized .account-eyebrow{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);color:#fff;padding:8px 16px;border-radius:999px;font-size:14px;font-weight:900}
.account-hero-modernized h1{color:#fff!important;font-size:clamp(30px,3.6vw,48px)!important;margin:10px 0 8px!important}
.account-hero-modernized .account-hero-subtitle{color:rgba(255,255,255,.88)!important;font-size:16px!important;line-height:2!important;margin:0 0 12px!important}
.account-hero-copy{display:grid;gap:0}
.account-hero-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.account-hero-pills span{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:9px 14px;font-size:13px}
.account-hero-modernized .compact-seller-card{background:rgba(255,255,255,.95)!important;border:1px solid rgba(255,255,255,.4)!important;box-shadow:0 20px 38px rgba(7,24,62,.16)!important}
.account-sidebar-pills{background:#fff!important;border:1px solid #dceafa!important;box-shadow:0 16px 40px rgba(15,68,135,.08)!important}
.account-sidebar-top{display:flex;align-items:center;gap:12px;padding-bottom:14px;margin-bottom:12px;border-bottom:1px solid #e6eef9}
.account-sidebar-top strong{display:block;font-size:18px}
.account-sidebar-top span{display:block;color:#5b708a;font-size:13px;font-weight:800}
.account-sidebar-links{display:grid;gap:8px}
.account-sidebar-pills>a,.account-sidebar-links>a{display:flex;align-items:center;justify-content:center;min-height:50px;padding:12px 14px;border-radius:16px;background:#f5f9ff;border:1px solid #deebfb;color:#103f89;text-decoration:none;font-weight:900;transition:.2s ease}
.account-sidebar-pills>a.active,.account-sidebar-links>a.active,.account-sidebar-pills>a:hover,.account-sidebar-links>a:hover{background:#1164ff!important;border-color:#1164ff!important;color:#fff!important;box-shadow:0 12px 30px rgba(17,100,255,.22)}
.account-main-compact{background:#fff!important;border:1px solid #dceafa!important;box-shadow:0 18px 48px rgba(15,68,135,.07)!important}
.seller-stats-compact .seller-stat{background:#f6faff!important;border:1px solid #dceafa!important;box-shadow:none!important}
.seller-stats-compact .seller-stat strong{font-size:32px!important}
.account-actions-compact a{background:linear-gradient(180deg,#1d72ff,#0f5ee8)!important;color:#fff!important;box-shadow:0 16px 32px rgba(17,100,255,.18)!important}
.account-actions-compact a:hover{transform:translateY(-2px)}
.ticket-category-switch,.ticket-mobile-switch{background:#eef6ff!important;border:1px solid #d7eaff!important;padding:8px!important;border-radius:22px!important}
.ticket-category-switch a,.ticket-mobile-switch a{background:#fff!important;color:#0d3778!important;border:1px solid #dceafa!important;padding:14px 12px!important;border-radius:16px!important;font-size:15px!important;font-weight:900!important}
.ticket-category-switch a.active,.ticket-mobile-switch a.active{background:linear-gradient(180deg,#1d72ff,#0f5ee8)!important;color:#fff!important;border-color:#1164ff!important;box-shadow:0 12px 24px rgba(17,100,255,.18)!important}
.ticket-create-shell,.ticket-history-shell,.pro-user-ticket-detail{background:#fff!important;border:1px solid #dceafa!important;border-radius:26px!important;box-shadow:0 14px 40px rgba(15,68,135,.07)!important}
.ticket-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 6px}
.ticket-upload-box{display:grid;gap:8px;padding:14px;border-radius:18px;background:#f7fbff;border:1px dashed #bcd7fb;color:#123b7b;font-weight:900}
.ticket-upload-box span{font-size:14px}
.ticket-upload-box input{background:#fff;border-radius:12px;padding:10px;border:1px solid #d9e8fb;width:100%}
.ticket-upload-box small{color:#5e7590;font-size:12px;font-weight:800}
.ticket-chat-app,.pro-ticket-chat{display:flex!important;flex-direction:column;gap:12px;background:linear-gradient(180deg,#f8fbff,#f1f7ff)!important;border-radius:24px!important;padding:16px!important;border:1px solid #dceafa!important}
.ticket-chat-message{width:100%;max-width:100%!important;background:transparent!important;border:0!important;padding:0!important;margin:0!important;display:flex!important;flex-direction:column}
.ticket-chat-message>div{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px!important;padding:0 8px}
.ticket-chat-message.user>div{flex-direction:row-reverse}
.ticket-chat-message.admin>div{justify-content:space-between}
.ticket-chat-message p{margin:0!important;padding:14px 16px;border-radius:20px;line-height:2!important;font-size:15px!important;box-shadow:0 10px 24px rgba(15,68,135,.06)}
.ticket-chat-message.user p{align-self:flex-end;background:#0f64ff!important;color:#fff!important;border-top-right-radius:8px!important;max-width:min(86%,520px)}
.ticket-chat-message.admin p{align-self:flex-start;background:#fff!important;color:#102034!important;border:1px solid #dceafa!important;border-top-left-radius:8px!important;max-width:min(86%,520px)}
.ticket-chat-message time{font-size:12px!important;color:#6d819a!important}
.ticket-chat-message strong{font-size:13px!important;color:#23456f!important}
.ticket-attachments{display:grid;gap:10px;margin-top:8px}
.ticket-chat-message.user .ticket-attachments{justify-items:end}
.ticket-chat-message.admin .ticket-attachments{justify-items:start}
.ticket-attachment-item{display:grid;gap:8px;text-decoration:none}
.ticket-attachment-item.image{width:min(280px,80vw);background:#fff;border:1px solid #dceafa;border-radius:18px;padding:10px;box-shadow:0 10px 24px rgba(15,68,135,.06)}
.ticket-chat-message.user .ticket-attachment-item.image{background:#fff;border-color:#c9defe}
.ticket-attachment-item.image img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:14px;background:#f3f7fd}
.ticket-attachment-item.image span{font-size:12px;color:#0f64ff;font-weight:900;text-align:center}
.ticket-attachment-item.audio{width:min(300px,80vw);background:#fff;border:1px solid #dceafa;border-radius:18px;padding:12px;box-shadow:0 10px 24px rgba(15,68,135,.06)}
.ticket-attachment-item.audio audio{width:100%}
.ticket-attachment-item.audio a{font-size:12px;color:#0f64ff;text-decoration:none;font-weight:900}
.compact-reply-form textarea,.compact-ticket-create-form textarea{min-height:110px;border-radius:18px!important;font-size:15px!important}
.compact-reply-form button,.compact-ticket-create-form button{border-radius:16px!important}
.pro-user-ticket-row{grid-template-columns:minmax(0,1.6fr) auto auto!important;gap:10px!important;padding:14px 16px!important;background:#f9fbff!important;border:1px solid #dfebfb!important}
.pro-user-ticket-row span,.pro-user-ticket-row small{font-size:13px!important;font-weight:800!important}
.closed-ticket-note{font-size:14px!important}

@media (max-width: 991px){
  .account-layout-compact{grid-template-columns:1fr!important}
  .account-sidebar-compact{position:static!important}
  .account-sidebar-top{padding-bottom:0;margin-bottom:0;border-bottom:0}
  .account-sidebar-links{display:flex!important;gap:8px!important;overflow-x:auto!important;padding-bottom:4px}
  .account-sidebar-links>a{flex:0 0 auto;min-width:152px;font-size:14px}
  .seller-stats-compact,.account-actions-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media (max-width: 767px){
  .account-simple-header{padding:12px 14px!important;flex-wrap:wrap!important}
  .account-simple-header nav a{font-size:15px!important;padding:10px 16px!important;background:#f5f9ff;border:1px solid #dceafa;border-radius:16px}
  .account-hero-modernized{grid-template-columns:1fr!important;padding:22px 18px!important;border-radius:24px!important}
  .account-identity-row{align-items:flex-start!important}
  .account-hero-modernized h1{font-size:36px!important}
  .account-hero-modernized .account-hero-subtitle{font-size:16px!important}
  .account-hero-pills span{font-size:13px!important;padding:8px 12px!important}
  .compact-seller-card{width:100%!important;min-width:0!important}
  .account-sidebar-pills{padding:12px!important;border-radius:22px!important}
  .account-sidebar-links>a{min-height:48px!important;border-radius:15px!important;font-size:14.5px!important}
  .account-main-compact{padding:16px!important;border-radius:22px!important}
  .seller-stats-compact .seller-stat{padding:16px 12px!important;border-radius:18px!important}
  .seller-stats-compact .seller-stat span{font-size:14px!important}
  .seller-stats-compact .seller-stat strong{font-size:28px!important}
  .seller-stats-compact .seller-stat small{font-size:13px!important}
  .account-actions-compact a{font-size:15px!important;min-height:50px!important}
  .ticket-category-switch a,.ticket-mobile-switch a{font-size:14.5px!important;padding:13px 10px!important}
  .ticket-list-title-row h3,.compact-ticket-head h2,.user-ticket-title-box h2{font-size:22px!important}
  .ticket-upload-grid{grid-template-columns:1fr!important}
  .ticket-upload-box{padding:12px!important}
  .ticket-chat-message p{font-size:15.5px!important}
  .ticket-chat-message.user p,.ticket-chat-message.admin p{max-width:92%!important}
  .pro-user-ticket-row{grid-template-columns:1fr!important;justify-items:start!important}
  .pro-user-ticket-row strong{font-size:15px!important;line-height:1.8!important}
}

@media (max-width: 480px){
  .account-body,.account-body button,.account-body input,.account-body select,.account-body textarea{font-size:16px!important}
  .account-simple-header nav{display:flex!important;gap:8px!important;width:100%;justify-content:flex-start}
  .account-simple-header nav a{font-size:14px!important}
  .account-hero-modernized h1{font-size:31px!important}
  .account-sidebar-links>a{min-width:138px!important;font-size:14px!important}
  .seller-stats-compact,.account-actions-compact{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .ticket-chat-app,.pro-ticket-chat{padding:12px!important;border-radius:20px!important}
  .ticket-chat-message p{padding:12px 14px!important;font-size:15px!important}
  .ticket-attachment-item.image,.ticket-attachment-item.audio{width:min(250px,84vw)!important}
}

/* ===== final compact account cleanup 2026-05-20 ===== */
.account-shell{max-width:1180px!important;padding:22px 16px 42px!important}
.account-simple-header{height:auto!important;min-height:62px!important;padding:10px 18px!important;background:#fff!important;border-bottom:1px solid #e6eef7!important}
.account-simple-header .account-brand-mini img{max-height:34px!important;width:auto!important}
.account-simple-header nav a{min-height:38px!important;padding:9px 16px!important;border-radius:999px!important;background:#f2f8ff!important;color:#0962e8!important;font-size:14px!important;font-weight:900!important;text-decoration:none!important}
.account-hero-clean{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:170px!important;padding:26px 34px!important;border-radius:28px!important;background:linear-gradient(135deg,#1168ff 0%,#1637a4 100%)!important;border:0!important;box-shadow:0 20px 48px rgba(17,82,210,.22)!important;margin-bottom:18px!important;overflow:hidden!important}
.account-hero-clean .account-identity-row{display:flex!important;align-items:center!important;gap:20px!important;width:100%!important}
.account-hero-clean .account-hero-avatar,.account-hero-clean .account-hero-avatar img{width:82px!important;height:82px!important;border-radius:50%!important;object-fit:cover!important;flex:0 0 82px!important;border:3px solid rgba(255,255,255,.34)!important;background:#fff!important}
.account-hero-clean .account-eyebrow{display:inline-flex!important;width:auto!important;background:rgba(255,255,255,.16)!important;color:#fff!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:999px!important;padding:8px 16px!important;font-size:14px!important;font-weight:900!important}
.account-hero-clean h1{margin:10px 0 12px!important;color:#fff!important;font-size:34px!important;line-height:1.2!important;font-weight:1000!important}
.account-hero-clean .account-hero-subtitle{display:none!important}
.account-hero-clean .account-hero-pills{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:0!important}
.account-hero-clean .account-hero-pills span{display:inline-flex!important;align-items:center!important;gap:6px!important;background:rgba(255,255,255,.15)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;border-radius:999px!important;padding:8px 13px!important;font-size:13px!important;font-weight:900!important;line-height:1.4!important}
.account-layout-clean{display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;gap:18px!important;align-items:start!important}
.account-menu-clean{padding:14px!important;border-radius:24px!important;background:#fff!important;border:1px solid #dceafa!important;box-shadow:0 14px 36px rgba(20,70,130,.08)!important;position:sticky!important;top:14px!important}
.account-menu-title{font-size:15px!important;font-weight:1000!important;color:#0f3268!important;background:#f3f8ff!important;border:1px solid #dceafa!important;border-radius:16px!important;padding:13px 14px!important;margin-bottom:10px!important;text-align:center!important}
.account-sidebar-top{display:none!important}
.account-sidebar-links{display:grid!important;gap:8px!important;overflow:visible!important;padding:0!important}
.account-sidebar-links>a{min-height:44px!important;border-radius:15px!important;background:#f6faff!important;border:1px solid #dceafa!important;color:#153b73!important;font-size:14px!important;font-weight:950!important;box-shadow:none!important;text-decoration:none!important}
.account-sidebar-links>a.active,.account-sidebar-links>a:hover{background:#1164ff!important;color:#fff!important;border-color:#1164ff!important;box-shadow:0 10px 22px rgba(17,100,255,.18)!important}
.account-main-compact{padding:18px!important;border-radius:26px!important;min-height:420px!important;background:#fff!important;border:1px solid #dceafa!important;box-shadow:0 18px 40px rgba(20,70,130,.06)!important}
.seller-stats-compact{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin-bottom:14px!important}
.seller-stats-compact .seller-stat{min-height:126px!important;padding:18px!important;border-radius:22px!important;background:#f7fbff!important;border:1px solid #dceafa!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important}
.seller-stats-compact .seller-stat span{font-size:13px!important;color:#687d96!important;font-weight:900!important;margin-bottom:8px!important}
.seller-stats-compact .seller-stat strong{font-size:27px!important;line-height:1.45!important;color:#071326!important;font-weight:1000!important}
.seller-stats-compact .seller-stat small{font-size:12px!important;color:#0f64ff!important;font-weight:900!important;margin-top:8px!important}
.account-actions-compact{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.account-actions-compact a{min-height:48px!important;border-radius:16px!important;font-size:15px!important;font-weight:1000!important;background:linear-gradient(180deg,#1c72ff,#0f5fe8)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;box-shadow:0 12px 24px rgba(17,100,255,.15)!important}
.ticket-mobile-switch{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-bottom:14px!important;background:#eef6ff!important;border:1px solid #d7eaff!important;border-radius:20px!important;padding:8px!important}
.ticket-mobile-switch a{min-height:44px!important;border-radius:14px!important;font-size:14px!important;padding:10px!important;text-decoration:none!important}
.ticket-create-shell,.ticket-history-shell,.pro-user-ticket-detail{padding:16px!important;border-radius:24px!important;background:#fff!important;border:1px solid #dceafa!important;box-shadow:none!important}
.ticket-section-head h2,.user-ticket-title-box h2{font-size:22px!important;margin:0 0 10px!important;line-height:1.5!important}
.compact-ticket-create-form,.compact-reply-form{padding:14px!important;border-radius:20px!important;background:#fbfdff!important;border:1px solid #e0ebfb!important}
.compact-ticket-create-form label,.compact-reply-form label{font-size:14px!important;color:#1d385d!important;font-weight:1000!important;margin-bottom:7px!important}
.compact-ticket-create-form input,.compact-ticket-create-form select,.compact-ticket-create-form textarea,.compact-reply-form textarea{border-radius:15px!important;border:1px solid #dbe8f8!important;background:#fff!important;font-size:15px!important;font-weight:800!important;min-height:45px!important;padding:12px 14px!important}
.compact-ticket-create-form textarea,.compact-reply-form textarea{min-height:104px!important;line-height:2!important}
.ticket-upload-grid{grid-template-columns:1fr!important;gap:8px!important;margin:10px 0!important}
.ticket-upload-box{padding:12px 14px!important;border-radius:16px!important;background:#f5faff!important;border:1px dashed #b8d4f7!important}
.ticket-upload-box span{font-size:13px!important;font-weight:1000!important;color:#0f64ff!important}
.ticket-upload-box small{font-size:12px!important;color:#667b94!important}
.ticket-chat-app,.pro-ticket-chat{gap:10px!important;padding:13px!important;border-radius:22px!important;background:#f3f8ff!important;border:1px solid #dbeafd!important}
.ticket-chat-message{display:flex!important;flex-direction:column!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important}
.ticket-chat-message>div{max-width:min(78%,520px)!important;margin-bottom:5px!important;padding:0 8px!important;display:flex!important;gap:8px!important;justify-content:space-between!important;align-items:center!important}
.ticket-chat-message.user>div{align-self:flex-end!important;flex-direction:row-reverse!important}
.ticket-chat-message.admin>div{align-self:flex-start!important}
.ticket-chat-message p{max-width:min(78%,520px)!important;margin:0!important;padding:12px 15px!important;font-size:14.5px!important;line-height:2!important;border-radius:19px!important;box-shadow:0 6px 18px rgba(11,58,120,.06)!important}
.ticket-chat-message.user p{align-self:flex-end!important;background:#0f64ff!important;color:#fff!important;border-top-right-radius:7px!important}
.ticket-chat-message.admin p{align-self:flex-start!important;background:#fff!important;color:#12233c!important;border:1px solid #dceafa!important;border-top-left-radius:7px!important}
.ticket-chat-message strong{font-size:12px!important;color:#24476f!important;font-weight:1000!important}
.ticket-chat-message time{font-size:11px!important;color:#7b8ea6!important;font-weight:800!important}
.ticket-attachment-item.image{width:min(230px,70vw)!important;padding:8px!important;border-radius:16px!important}
.ticket-attachment-item.image img{aspect-ratio:auto!important;max-height:260px!important;object-fit:contain!important;border-radius:12px!important}
.ticket-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.ticket-user-actions{display:grid!important;gap:10px!important;margin-top:14px!important}
.ticket-close-confirm button{min-height:44px!important;border-radius:15px!important;border:1px solid #f3b5b5!important;background:#fff2f2!important;color:#b21d1d!important;font-weight:1000!important;width:100%!important}

/* admin ticket compact chat */
.ticket-detail-panel .ticket-bubble{max-width:70%!important;margin:10px 0!important;padding:12px 14px!important;border-radius:18px!important;font-size:14px!important;line-height:2!important;box-shadow:0 6px 18px rgba(11,58,120,.06)!important}
.ticket-detail-panel .user-bubble{margin-right:auto!important;background:#0f64ff!important;color:#fff!important;border-top-right-radius:7px!important}
.ticket-detail-panel .admin-bubble{margin-left:auto!important;background:#fff!important;border:1px solid #dceafa!important;color:#12233c!important;border-top-left-radius:7px!important}
.ticket-detail-panel .ticket-bubble p{margin:6px 0 0!important;font-size:14.5px!important;line-height:2!important}
.ticket-detail-panel .ticket-bubble-meta{display:flex!important;justify-content:space-between!important;gap:10px!important;font-size:11px!important;opacity:.82!important}
.ticket-detail-panel .ticket-bubble.user-bubble .ticket-bubble-meta strong,.ticket-detail-panel .ticket-bubble.user-bubble .ticket-bubble-meta small{color:#fff!important}

@media (max-width: 991px){
  .account-layout-clean{grid-template-columns:1fr!important;gap:14px!important}
  .account-menu-clean{position:static!important;padding:12px!important;border-radius:22px!important}
  .account-sidebar-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;max-height:none!important;overflow:visible!important}
  .account-sidebar-links>a{min-width:0!important;min-height:46px!important;font-size:14px!important;padding:10px!important}
}
@media (max-width: 767px){
  .account-shell{padding:14px 12px 28px!important}
  .account-simple-header{padding:12px!important;gap:10px!important;justify-content:space-between!important}
  .account-simple-header .account-brand-mini img{max-height:38px!important}
  .account-hero-clean{min-height:auto!important;padding:20px 16px!important;border-radius:24px!important;margin-bottom:14px!important}
  .account-hero-clean .account-identity-row{gap:14px!important;align-items:flex-start!important}
  .account-hero-clean .account-hero-avatar,.account-hero-clean .account-hero-avatar img{width:62px!important;height:62px!important;flex-basis:62px!important}
  .account-hero-clean h1{font-size:25px!important;margin:8px 0 10px!important}
  .account-hero-clean .account-eyebrow{font-size:12px!important;padding:7px 12px!important}
  .account-hero-clean .account-hero-pills{gap:6px!important}
  .account-hero-clean .account-hero-pills span{font-size:11.5px!important;padding:7px 10px!important}
  .account-menu-title{font-size:14px!important;padding:12px!important}
  .account-sidebar-links{grid-template-columns:1fr!important}
  .account-sidebar-links>a{justify-content:flex-start!important;padding:12px 14px!important;border-radius:14px!important}
  .account-main-compact{padding:13px!important;border-radius:22px!important;min-height:0!important}
  .seller-stats-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .seller-stats-compact .seller-stat{min-height:105px!important;padding:13px 10px!important;border-radius:18px!important}
  .seller-stats-compact .seller-stat strong{font-size:21px!important}
  .account-actions-compact{grid-template-columns:1fr!important;gap:8px!important}
  .account-actions-compact a{min-height:46px!important;font-size:14px!important;border-radius:14px!important}
  .ticket-mobile-switch{grid-template-columns:1fr!important;border-radius:18px!important}
  .ticket-form-grid{grid-template-columns:1fr!important}
  .ticket-chat-message>div,.ticket-chat-message p{max-width:88%!important}
  .ticket-detail-panel .ticket-bubble{max-width:88%!important}
}
@media (max-width: 480px){
  .account-hero-clean .account-identity-row{flex-direction:row!important}
  .account-hero-clean h1{font-size:23px!important}
  .seller-stats-compact{grid-template-columns:1fr!important}
  .seller-stats-compact .seller-stat{min-height:86px!important}
  .ticket-chat-message>div,.ticket-chat-message p{max-width:94%!important}
  .ticket-attachment-item.image{width:min(210px,82vw)!important}
}

/* Waria Market account panel restore + compact responsive patch - 2026-05-20 */
.account-body{
  background:linear-gradient(180deg,#eef7ff 0%,#f7fbff 42%,#eef4fb 100%)!important;
}
.account-simple-header{
  height:58px!important;
  padding:0 max(14px,calc((100vw - 1120px)/2))!important;
  box-shadow:0 8px 24px rgba(15,23,42,.055)!important;
}
.account-brand-mini img{max-width:122px!important;max-height:40px!important}
.account-simple-header nav a{
  min-height:44px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:9px 13px!important;
  font-size:13px!important;
}
.account-shell{
  max-width:1120px!important;
  padding:18px 14px 38px!important;
}
.account-hero-card,
.compact-account-hero,
.account-hero-clean{
  border-radius:22px!important;
  padding:18px 20px!important;
  margin-bottom:14px!important;
  min-height:auto!important;
  box-shadow:0 14px 34px rgba(11,108,255,.15)!important;
}
.account-identity-row{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
}
.account-hero-avatar,
.account-avatar{
  width:56px!important;
  height:56px!important;
  min-width:56px!important;
  border-radius:18px!important;
  font-size:24px!important;
  object-fit:contain!important;
}
.account-eyebrow{
  padding:5px 10px!important;
  font-size:11.5px!important;
  margin-bottom:6px!important;
}
.account-hero-card h1{
  font-size:23px!important;
  line-height:1.35!important;
  margin:0 0 6px!important;
}
.account-hero-pills{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
}
.account-hero-pills span{
  min-height:30px!important;
  display:inline-flex!important;
  align-items:center!important;
  border-radius:999px!important;
  padding:5px 9px!important;
  font-size:11.5px!important;
  line-height:1.6!important;
}
.account-layout,
.account-layout-compact,
.account-layout-clean{
  grid-template-columns:226px minmax(0,1fr)!important;
  gap:14px!important;
  align-items:start!important;
}
.account-sidebar-card,
.account-sidebar-compact,
.account-sidebar-pills,
.account-menu-clean,
.account-main-card,
.account-main-compact{
  border-radius:20px!important;
  box-shadow:0 12px 30px rgba(15,23,42,.055)!important;
}
.account-sidebar-card,
.account-sidebar-compact,
.account-sidebar-pills,
.account-menu-clean{
  padding:13px!important;
  gap:8px!important;
  position:sticky!important;
  top:74px!important;
}
.account-menu-title{
  font-size:13px!important;
  margin-bottom:2px!important;
  color:#64748b!important;
  font-weight:1000!important;
}
.account-sidebar-links{
  display:grid!important;
  gap:7px!important;
  overflow:visible!important;
  padding:0!important;
}
.account-sidebar-links>a,
.account-sidebar-card a{
  min-height:44px!important;
  padding:9px 11px!important;
  border-radius:14px!important;
  font-size:13px!important;
  font-weight:950!important;
  justify-content:center!important;
  line-height:1.55!important;
}
.account-sidebar-links>a.active,
.account-sidebar-card a.active{
  box-shadow:0 9px 22px rgba(11,108,255,.17)!important;
}
.account-main-card,
.account-main-compact{
  padding:17px!important;
}
.account-main-card h2{
  font-size:22px!important;
  margin:0 0 14px!important;
  line-height:1.55!important;
}
.seller-stats-grid,
.seller-stats-compact{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-bottom:12px!important;
}
.seller-stat,
.seller-stats-compact .seller-stat{
  min-height:96px!important;
  padding:12px 10px!important;
  border-radius:17px!important;
  box-shadow:none!important;
}
.seller-stat span,
.seller-stats-compact .seller-stat span{font-size:12px!important;margin-bottom:4px!important}
.seller-stat strong,
.seller-stats-compact .seller-stat strong{font-size:21px!important;line-height:1.35!important;margin:4px 0!important}
.seller-stat small,
.seller-stats-compact .seller-stat small{font-size:11px!important;margin-top:3px!important}
.account-actions-grid,
.account-actions-compact{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:9px!important;
}
.account-actions-grid a,
.account-actions-compact a{
  min-height:46px!important;
  padding:9px 10px!important;
  border-radius:14px!important;
  font-size:13.5px!important;
  box-shadow:0 10px 22px rgba(11,108,255,.13)!important;
}
.account-form-card,
.ticket-create-form,
.ticket-user-reply-form{
  padding:15px!important;
  border-radius:18px!important;
}
.account-form-card input,
.account-form-card select,
.account-form-card textarea{
  min-height:46px!important;
  border-radius:13px!important;
  font-size:14px!important;
}
.account-form-card textarea{min-height:104px!important}
.account-form-card button,
.ticket-close-confirm button,
.ticket-exit-link,
.ticket-mobile-switch a{
  min-height:48px!important;
  border-radius:14px!important;
}
.user-ticket-detail,
.pro-user-ticket-detail{
  padding:13px!important;
  border-radius:18px!important;
  margin:0!important;
}
.user-ticket-detail-top{gap:10px!important;margin-bottom:11px!important}
.user-ticket-title-box h2{font-size:18px!important;margin:6px 0!important}
.ticket-chat-app,.pro-ticket-chat{
  padding:12px!important;
  border-radius:18px!important;
  gap:9px!important;
}
.ticket-chat-message p{
  padding:10px 13px!important;
  font-size:14px!important;
  line-height:1.9!important;
  border-radius:17px!important;
  max-width:min(82%,500px)!important;
}
.ticket-chat-message>div{max-width:min(82%,500px)!important}
.ticket-list-mini,
.pro-ticket-list-mini{border-radius:18px!important;padding:12px!important}
.ticket-row-mini,
.pro-user-ticket-row{min-height:54px!important;padding:10px 12px!important;border-radius:14px!important}

@media (max-width:900px){
  .account-simple-header{height:auto!important;padding:10px 12px!important;gap:8px!important}
  .account-brand-mini img{max-width:112px!important;max-height:36px!important}
  .account-shell{padding:12px 10px 84px!important}
  .account-hero-card,.compact-account-hero,.account-hero-clean{padding:15px!important;border-radius:20px!important;margin-bottom:12px!important}
  .account-identity-row{align-items:flex-start!important;text-align:right!important;gap:11px!important}
  .account-hero-avatar,.account-avatar{width:50px!important;height:50px!important;min-width:50px!important;border-radius:16px!important}
  .account-hero-card h1{font-size:20px!important}
  .account-hero-pills{gap:5px!important}
  .account-hero-pills span{font-size:11px!important;min-height:28px!important;padding:4px 8px!important}
  .account-layout,.account-layout-compact,.account-layout-clean{grid-template-columns:1fr!important;gap:12px!important}
  .account-sidebar-card,.account-sidebar-compact,.account-sidebar-pills,.account-menu-clean{position:static!important;padding:11px!important;border-radius:18px!important}
  .account-sidebar-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;overflow:visible!important}
  .account-sidebar-links>a,.account-sidebar-card a{min-height:48px!important;font-size:13px!important;padding:9px!important;min-width:0!important;white-space:normal!important}
  .account-main-card,.account-main-compact{padding:14px!important;border-radius:18px!important}
  .seller-stats-grid,.seller-stats-compact{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
  .seller-stat,.seller-stats-compact .seller-stat{min-height:82px!important;padding:10px 7px!important;border-radius:15px!important}
  .seller-stat strong,.seller-stats-compact .seller-stat strong{font-size:18px!important}
  .seller-stat span,.seller-stat small,.seller-stats-compact .seller-stat span,.seller-stats-compact .seller-stat small{font-size:10.5px!important}
  .account-actions-grid,.account-actions-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .account-actions-grid a,.account-actions-compact a{min-height:48px!important;font-size:13px!important}
  .ticket-chat-message p,.ticket-chat-message>div{max-width:88%!important}
}
@media (max-width:560px){
  .account-shell{padding-inline:9px!important}
  .account-simple-header nav a{min-height:42px!important;font-size:12px!important;padding:8px 10px!important}
  .account-identity-row{display:grid!important;grid-template-columns:50px 1fr!important}
  .account-eyebrow{font-size:11px!important}
  .account-hero-card h1{font-size:19px!important}
  .account-hero-pills span{font-size:10.5px!important}
  .account-sidebar-links{grid-template-columns:1fr!important}
  .account-sidebar-links>a,.account-sidebar-card a{justify-content:flex-start!important;text-align:right!important;padding:10px 13px!important;font-size:13.5px!important}
  .seller-stats-grid,.seller-stats-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .seller-stat,.seller-stats-compact .seller-stat{min-height:78px!important}
  .account-actions-grid,.account-actions-compact{grid-template-columns:1fr!important}
  .account-main-card h2{font-size:19px!important}
  .ticket-mobile-switch{grid-template-columns:1fr!important;gap:7px!important}
  .ticket-chat-message p,.ticket-chat-message>div{max-width:94%!important}
  .ticket-row-mini,.pro-user-ticket-row{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
}
@media (min-width:901px) and (max-width:1180px){
  .account-layout,.account-layout-compact,.account-layout-clean{grid-template-columns:214px minmax(0,1fr)!important}
  .account-shell{max-width:1040px!important}
}

/* === Waria Market account premium compact dashboard - 20260520 === */
.account-body{
  background:radial-gradient(circle at 82% -10%,rgba(22,112,255,.12),transparent 34%),linear-gradient(180deg,#f8fbff 0%,#edf5ff 100%)!important;
}
.account-shell.container{
  max-width:1180px!important;
  padding-inline:18px!important;
}
.account-simple-header{
  min-height:60px!important;
  border-bottom:1px solid rgba(194,214,240,.55)!important;
  background:rgba(255,255,255,.88)!important;
  backdrop-filter:blur(12px)!important;
}
.account-simple-header nav a{
  min-height:42px!important;
  padding:0 17px!important;
  border-radius:999px!important;
  background:#f3f8ff!important;
  color:#075bd8!important;
  font-weight:1000!important;
}
.account-hero-clean{
  min-height:138px!important;
  max-width:980px!important;
  margin:16px auto 14px!important;
  padding:22px 28px!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,#1675ff 0%,#0f5ce8 48%,#15359b 100%)!important;
  box-shadow:0 22px 50px rgba(18,92,220,.24)!important;
}
.account-hero-clean:before{
  content:"";position:absolute;inset:-60% auto auto -18%;width:360px;height:360px;border-radius:50%;background:rgba(255,255,255,.12);pointer-events:none;
}
.account-hero-clean .account-identity-row{position:relative;z-index:1;gap:18px!important}
.account-hero-clean .account-hero-avatar,.account-hero-clean .account-hero-avatar img{
  width:76px!important;height:76px!important;flex-basis:76px!important;border-width:3px!important;box-shadow:0 12px 26px rgba(0,0,0,.16)!important;
}
.account-hero-clean .account-eyebrow{padding:7px 18px!important;min-width:190px!important;justify-content:center!important}
.account-hero-clean h1{font-size:30px!important;margin:8px 0 10px!important;letter-spacing:-.4px!important}
.account-hero-clean .account-hero-pills{gap:7px!important}
.account-hero-clean .account-hero-pills span{font-size:12.5px!important;padding:7px 12px!important;background:rgba(255,255,255,.14)!important}
.account-layout-clean{
  max-width:980px!important;
  margin:0 auto 44px!important;
  grid-template-columns:218px minmax(0,1fr)!important;
  gap:14px!important;
}
.account-menu-clean,.account-main-compact{
  border-radius:24px!important;
  border:1px solid #d8e8fb!important;
  box-shadow:0 18px 46px rgba(27,76,130,.07)!important;
}
.account-menu-clean{padding:12px!important;position:sticky!important;top:74px!important;background:rgba(255,255,255,.9)!important}
.account-menu-title{min-height:46px!important;border-radius:16px!important;font-size:14px!important;background:#f3f8ff!important}
.account-sidebar-links{gap:8px!important}
.account-sidebar-links>a{
  min-height:44px!important;border-radius:15px!important;font-size:13.5px!important;background:#f7fbff!important;color:#173f68!important;box-shadow:none!important;
}
.account-sidebar-links>a.active{background:linear-gradient(180deg,#1b73ff,#0d61ef)!important;color:#fff!important;box-shadow:0 10px 22px rgba(17,100,255,.2)!important}
.account-main-compact{padding:16px!important;min-height:360px!important;background:rgba(255,255,255,.96)!important}
.account-section-head-compact{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 0 10px!important}
.account-section-head-compact h2{margin:0!important;font-size:18px!important;color:#0f2744!important;font-weight:1000!important}
.account-section-head-compact span{font-size:12px!important;color:#7c91a8!important;font-weight:900!important}
.seller-stats-premium{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:0 0 12px!important}
.seller-stats-premium .seller-stat{min-height:98px!important;padding:14px 12px!important;border-radius:18px!important;background:linear-gradient(180deg,#f8fbff,#f2f8ff)!important;border:1px solid #d9e9fb!important}
.seller-stats-premium .seller-stat span{font-size:12px!important;color:#7187a0!important;margin-bottom:4px!important}
.seller-stats-premium .seller-stat strong{font-size:22px!important;line-height:1.35!important;color:#071527!important}
.seller-stats-premium .seller-stat small{font-size:12px!important;color:#0c6bed!important}
.account-kyc-prompt{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 14px;padding:13px 15px;border-radius:18px;background:linear-gradient(135deg,#eff6ff,#fff);border:1px solid #cfe3ff;box-shadow:0 10px 26px rgba(28,100,220,.06)}
.account-kyc-prompt strong{display:block;color:#0f2744;font-size:14px;font-weight:1000;margin-bottom:3px}
.account-kyc-prompt span{display:block;color:#6b7f94;font-size:12px;font-weight:800;line-height:1.8}
.account-kyc-prompt a{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border-radius:14px;background:#1269ff;color:#fff;text-decoration:none;font-weight:1000;font-size:13px;box-shadow:0 12px 24px rgba(18,105,255,.2)}
.account-actions-premium{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin-top:0!important}
.account-actions-premium a{position:relative;justify-content:flex-start!important;align-items:center!important;gap:10px!important;min-height:74px!important;padding:12px 13px!important;text-align:right!important;border-radius:18px!important;background:#f7fbff!important;color:#123a61!important;border:1px solid #d9e9fb!important;box-shadow:0 12px 26px rgba(33,74,120,.05)!important;overflow:hidden!important}
.account-actions-premium a:before{content:attr(data-icon);display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:13px;background:linear-gradient(180deg,#1d75ff,#0b62ed);color:#fff;font-size:17px;font-weight:1000;box-shadow:0 10px 20px rgba(18,105,255,.2);flex:0 0 auto}
.account-actions-premium a b{display:block;font-size:14px!important;font-weight:1000!important;color:#0f2744!important;line-height:1.5!important}
.account-actions-premium a small{display:block;margin-top:1px;font-size:11.5px!important;font-weight:800!important;color:#7890a8!important;line-height:1.5!important}
.account-actions-premium a:hover{transform:translateY(-2px);border-color:#b9d7fb!important;background:#fff!important}
.account-actions-premium a:first-child{background:linear-gradient(135deg,#1b73ff,#0d61ed)!important;color:#fff!important;border-color:#0d61ed!important}
.account-actions-premium a:first-child b,.account-actions-premium a:first-child small{color:#fff!important}
.account-actions-premium a:first-child:before{background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.24)}

@media(max-width:760px){
  .account-simple-header{min-height:54px!important;padding:8px 12px!important}
  .account-simple-header .account-brand-mini img{max-height:34px!important;width:auto!important}
  .account-simple-header nav{gap:7px!important}
  .account-simple-header nav a{min-height:40px!important;padding:0 13px!important;font-size:12.5px!important}
  .account-shell.container{padding:10px 12px 92px!important}
  .account-hero-clean{max-width:none!important;margin:0 0 12px!important;min-height:0!important;padding:15px!important;border-radius:24px!important}
  .account-hero-clean .account-identity-row{align-items:flex-start!important;gap:12px!important}
  .account-hero-clean .account-hero-avatar,.account-hero-clean .account-hero-avatar img{width:66px!important;height:66px!important;flex-basis:66px!important}
  .account-hero-clean .account-eyebrow{min-width:0!important;width:100%!important;max-width:210px!important;font-size:12.5px!important;padding:7px 12px!important}
  .account-hero-clean h1{font-size:23px!important;margin:7px 0 9px!important}
  .account-hero-clean .account-hero-pills{display:grid!important;grid-template-columns:repeat(2,minmax(0,auto))!important;justify-content:start!important;gap:6px!important}
  .account-hero-clean .account-hero-pills span{font-size:11.5px!important;padding:6px 9px!important;white-space:nowrap!important}
  .account-hero-clean .account-hero-pills span:nth-child(4){grid-column:1/-1;justify-self:start!important}
  .account-layout-clean{display:flex!important;flex-direction:column!important;max-width:none!important;margin:0 0 28px!important;gap:12px!important}
  .account-menu-clean{position:static!important;order:1!important;padding:10px!important;border-radius:20px!important;box-shadow:0 12px 30px rgba(20,70,130,.06)!important}
  .account-main-compact{order:2!important;padding:13px!important;border-radius:20px!important;min-height:0!important}
  .account-tab-dashboard .account-main-compact{order:1!important}
  .account-tab-dashboard .account-menu-clean{display:none!important}
  .account-menu-title{display:none!important}
  .account-sidebar-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important}
  .account-sidebar-links>a{min-width:0!important;min-height:48px!important;font-size:13px!important;border-radius:15px!important;padding:9px!important;white-space:normal!important;text-align:center!important}
  .account-section-head-compact{margin:2px 0 9px!important;align-items:center!important}
  .account-section-head-compact h2{font-size:16px!important}
  .account-section-head-compact span{font-size:11px!important}
  .seller-stats-premium{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin-bottom:11px!important}
  .seller-stats-premium .seller-stat{min-height:88px!important;padding:12px 9px!important;border-radius:17px!important}
  .seller-stats-premium .seller-stat-kyc{grid-column:1/-1!important;min-height:84px!important}
  .seller-stats-premium .seller-stat strong{font-size:20px!important}
  .seller-stats-premium .seller-stat span,.seller-stats-premium .seller-stat small{font-size:11.5px!important}
  .account-kyc-prompt{align-items:stretch;flex-direction:column;margin:10px 0 13px;padding:12px;border-radius:17px}
  .account-kyc-prompt a{width:100%;min-height:48px;border-radius:15px}
  .account-actions-premium{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .account-actions-premium a{min-height:86px!important;padding:11px 10px!important;border-radius:18px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:8px!important}
  .account-actions-premium a:before{width:34px;height:34px;border-radius:12px;font-size:16px}
  .account-actions-premium a b{font-size:13.5px!important}
  .account-actions-premium a small{font-size:10.8px!important}
}
@media(max-width:390px){
  .account-hero-clean .account-identity-row{gap:10px!important}
  .account-hero-clean .account-hero-avatar,.account-hero-clean .account-hero-avatar img{width:58px!important;height:58px!important;flex-basis:58px!important}
  .account-hero-clean h1{font-size:21px!important}
  .account-hero-clean .account-hero-pills{grid-template-columns:1fr!important}
  .account-actions-premium{grid-template-columns:1fr!important}
  .account-actions-premium a{min-height:66px!important;flex-direction:row!important;align-items:center!important}
}

/* === account dashboard polish: clean mobile menu + no icon quick actions - 20260520b === */
.account-hero-clean .account-hero-pills span:nth-child(n+3){display:none!important}
.account-tab-dashboard .account-section-head-compact:first-child h2{font-size:18px!important}
.account-tab-dashboard .account-section-head-compact:first-child span{font-size:12px!important}
.account-kyc-prompt{display:none!important}
.account-actions-premium a:before{content:none!important;display:none!important}
.account-actions-premium a{
  justify-content:center!important;
  text-align:center!important;
  gap:3px!important;
  padding:12px 10px!important;
}
.account-actions-premium a b{font-size:14px!important;text-align:center!important;width:100%!important}
.account-actions-premium a small{font-size:11px!important;text-align:center!important;width:100%!important;color:#6f849c!important}
.account-actions-premium a:first-child small{color:rgba(255,255,255,.84)!important}
.account-menu-clean .account-sidebar-links>a:last-child{background:#fff7f7!important;color:#b42318!important;border-color:#ffd7d7!important}
.account-menu-clean .account-sidebar-links>a:last-child:hover{background:#fff0f0!important;color:#9f1d15!important}
@media(max-width:760px){
  .account-hero-clean{padding:14px!important;border-radius:22px!important}
  .account-hero-clean .account-identity-row{display:grid!important;grid-template-columns:62px 1fr!important;gap:11px!important;align-items:start!important}
  .account-hero-clean .account-eyebrow{width:auto!important;max-width:170px!important;font-size:12px!important;padding:6px 11px!important}
  .account-hero-clean h1{font-size:22px!important;margin:6px 0 8px!important}
  .account-hero-clean .account-hero-pills{display:flex!important;flex-wrap:wrap!important;gap:6px!important}
  .account-hero-clean .account-hero-pills span{font-size:11px!important;min-height:30px!important;padding:5px 9px!important}
  .account-tab-dashboard .account-main-compact{order:1!important}
  .account-tab-dashboard .account-menu-clean{display:block!important;order:2!important;margin-top:0!important}
  .account-menu-clean{padding:12px!important;border-radius:20px!important;background:#fff!important}
  .account-menu-title{display:flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;margin:0 0 9px!important;font-size:13px!important;color:#64748b!important;background:#f4f9ff!important;border:1px solid #dbeafb!important;border-radius:15px!important}
  .account-sidebar-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .account-sidebar-links>a,.account-sidebar-card a{min-height:52px!important;justify-content:center!important;text-align:center!important;font-size:13px!important;border-radius:16px!important;padding:9px 8px!important;line-height:1.55!important}
  .seller-stats-premium{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .seller-stats-premium .seller-stat{min-height:86px!important;padding:11px 8px!important}
  .seller-stats-premium .seller-stat-kyc{grid-column:1/-1!important;min-height:82px!important}
  .seller-stats-premium .seller-stat strong{font-size:19px!important}
  .seller-stats-premium .seller-stat span,.seller-stats-premium .seller-stat small{font-size:11px!important}
  .account-actions-premium{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .account-actions-premium a{min-height:74px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;border-radius:17px!important;background:#f7fbff!important;color:#103a62!important;border:1px solid #d9e9fb!important;box-shadow:0 10px 22px rgba(30,80,130,.045)!important}
  .account-actions-premium a:first-child{background:linear-gradient(135deg,#1b73ff,#0d61ed)!important;color:#fff!important;border-color:#0d61ed!important}
  .account-actions-premium a b{font-size:13.3px!important;line-height:1.6!important}
  .account-actions-premium a small{font-size:10.5px!important;line-height:1.55!important;margin-top:1px!important}
}
@media(max-width:390px){
  .account-actions-premium{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .account-actions-premium a{min-height:70px!important;flex-direction:column!important}
  .account-sidebar-links{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .account-sidebar-links>a,.account-sidebar-card a{font-size:12.5px!important;min-height:50px!important}
}


/* === Waria Market account mobile centering + global footer/nav - 20260520c === */
.account-body{overflow-x:hidden!important;}
@media(max-width:760px){
  .account-shell.container{width:100%!important;max-width:460px!important;margin-inline:auto!important;padding-inline:14px!important;box-sizing:border-box!important;}
  .account-hero-clean,
  .account-layout-clean,
  .account-main-compact,
  .account-menu-clean{width:100%!important;max-width:420px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important;}
  .account-layout-clean{align-items:center!important;}
  .account-main-compact{padding:14px!important;}
  .account-section-head-compact{padding-inline:2px!important;}
  .account-actions-premium,
  .account-sidebar-links{width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;justify-content:center!important;align-items:stretch!important;}
  .account-actions-premium a,
  .account-sidebar-links>a{width:100%!important;box-sizing:border-box!important;}
  .account-actions-premium a{min-height:82px!important;border-radius:18px!important;}
  .account-sidebar-links>a{min-height:54px!important;border-radius:16px!important;}
  .account-menu-clean{margin-top:12px!important;margin-bottom:10px!important;}
  .account-menu-title{min-height:46px!important;}
  body{padding-bottom:76px!important;}
  .site-footer.modern-footer{padding-bottom:94px!important;}
}
@media(max-width:390px){
  .account-shell.container{max-width:100%!important;padding-inline:10px!important;}
  .account-hero-clean,
  .account-layout-clean,
  .account-main-compact,
  .account-menu-clean{max-width:100%!important;}
  .account-actions-premium,
  .account-sidebar-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
  .account-actions-premium a{min-height:78px!important;padding:10px 7px!important;}
  .account-actions-premium a b{font-size:12.7px!important;}
  .account-actions-premium a small{font-size:10px!important;}
}
@media(max-width:760px){
  .mobile-bottom-nav{right:8px!important;left:8px!important;bottom:8px!important;height:62px!important;padding:6px!important;border-radius:22px!important;}
  .mobile-bottom-nav a{min-width:0!important;min-height:48px!important;border-radius:16px!important;}
  .mobile-bottom-nav span{font-size:20px!important;}
  .mobile-bottom-nav small{font-size:10.5px!important;font-weight:950!important;color:#0f2744!important;}
}

/* === Waria Market account polish v7: compact mobile, premium internal footer === */
.account-shell.container{
    max-width:1180px!important;
}
.account-body .account-shell{
    padding-top:34px!important;
    padding-bottom:34px!important;
}
.account-hero-card.compact-account-hero{
    min-height:176px!important;
    padding:26px 42px!important;
    border-radius:30px!important;
}
.account-hero-clean .account-identity-row{
    gap:22px!important;
}
.account-hero-avatar{
    width:96px!important;
    height:96px!important;
    border-width:4px!important;
}
.account-hero-copy h1{
    font-size:30px!important;
    line-height:1.35!important;
    margin:10px 0 12px!important;
}
.account-eyebrow{
    min-height:40px!important;
    padding:8px 28px!important;
    font-size:14px!important;
}
.account-hero-pills{
    gap:9px!important;
}
.account-hero-pills span{
    min-height:34px!important;
    padding:7px 17px!important;
    font-size:13px!important;
}
.account-layout-clean{
    gap:20px!important;
    margin-top:22px!important;
}
.account-main-compact,
.account-sidebar-compact{
    border-radius:24px!important;
}
.account-main-compact{
    padding:22px!important;
}
.account-section-head-compact{
    margin-bottom:14px!important;
}
.account-section-head-compact h2{
    font-size:23px!important;
}
.seller-stats-compact{
    gap:12px!important;
}
.seller-stats-compact .seller-stat{
    min-height:126px!important;
    border-radius:19px!important;
    padding:18px 14px!important;
}
.seller-stats-compact .seller-stat strong{
    font-size:25px!important;
    line-height:1.45!important;
}
.account-actions-premium{
    gap:12px!important;
}
.account-actions-premium a{
    min-height:76px!important;
    border-radius:18px!important;
    padding:14px 18px!important;
}
.site-footer.footer-compact{
    margin-top:34px!important;
    padding:28px 0 18px!important;
}
.footer-compact .footer-main-grid-clean{
    max-width:980px!important;
    grid-template-columns:1fr 1fr!important;
    gap:16px!important;
}
.footer-compact .footer-column{
    padding:20px 18px!important;
    border-radius:22px!important;
    box-shadow:0 12px 30px rgba(11,108,255,.055)!important;
}
.footer-compact .footer-column h4{
    font-size:17px!important;
    margin-bottom:12px!important;
}
.footer-compact .footer-contact-buttons{
    gap:8px!important;
}
.footer-compact .footer-contact-btn{
    min-height:48px!important;
    border-radius:15px!important;
    padding:8px 12px!important;
}
.footer-compact .footer-column a:not(.social-btn),
.footer-compact .footer-column li{
    font-size:13px!important;
    line-height:1.7!important;
}
.footer-compact .footer-bottom{
    max-width:980px!important;
    margin-top:18px!important;
    padding-top:16px!important;
}

@media (max-width:900px){
    .account-body .account-shell.container{
        width:min(100% - 22px, 520px)!important;
        padding-top:18px!important;
        padding-bottom:22px!important;
        margin-inline:auto!important;
    }
    .account-simple-header{
        padding:13px 18px!important;
        min-height:72px!important;
    }
    .account-simple-header nav{
        gap:8px!important;
    }
    .account-simple-header nav a{
        min-height:42px!important;
        padding:9px 16px!important;
        border-radius:999px!important;
        font-size:12.5px!important;
    }
    .account-hero-card.compact-account-hero{
        min-height:0!important;
        padding:18px 18px 20px!important;
        border-radius:25px!important;
        margin-bottom:14px!important;
    }
    .account-hero-clean .account-identity-row{
        gap:12px!important;
        align-items:center!important;
    }
    .account-hero-avatar{
        width:74px!important;
        height:74px!important;
        border-width:3px!important;
        flex:0 0 74px!important;
    }
    .account-hero-copy{
        min-width:0!important;
    }
    .account-eyebrow{
        min-height:34px!important;
        padding:7px 18px!important;
        font-size:12.5px!important;
        max-width:210px!important;
        margin-inline:auto!important;
    }
    .account-hero-copy h1{
        font-size:25px!important;
        margin:8px 0 10px!important;
        line-height:1.3!important;
    }
    .account-hero-pills{
        justify-content:center!important;
        gap:7px!important;
    }
    .account-hero-pills span{
        min-height:32px!important;
        padding:6px 12px!important;
        font-size:12px!important;
        white-space:nowrap!important;
    }
    .account-layout-clean{
        display:block!important;
        margin-top:14px!important;
    }
    .account-main-compact{
        padding:16px!important;
        border-radius:22px!important;
        width:100%!important;
        max-width:100%!important;
    }
    .account-section-head-compact{
        margin-bottom:10px!important;
        align-items:end!important;
    }
    .account-section-head-compact h2{
        font-size:21px!important;
    }
    .account-section-head-compact span{
        font-size:11.5px!important;
    }
    .seller-stats-compact{
        gap:9px!important;
        margin-bottom:16px!important;
    }
    .seller-stats-compact .seller-stat{
        min-height:104px!important;
        padding:14px 10px!important;
        border-radius:17px!important;
    }
    .seller-stats-compact .seller-stat span{
        font-size:11.5px!important;
    }
    .seller-stats-compact .seller-stat strong{
        font-size:22px!important;
        line-height:1.45!important;
    }
    .seller-stats-compact .seller-stat small{
        font-size:11px!important;
    }
    .seller-stats-compact .seller-stat-kyc{
        min-height:112px!important;
    }
    .account-actions-premium{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:9px!important;
        justify-content:center!important;
        margin-inline:auto!important;
        width:100%!important;
    }
    .account-actions-premium a{
        min-height:84px!important;
        border-radius:17px!important;
        padding:12px 8px!important;
        text-align:center!important;
        justify-content:center!important;
        align-items:center!important;
    }
    .account-actions-premium a b{
        font-size:14.5px!important;
        line-height:1.55!important;
    }
    .account-actions-premium a small{
        font-size:10.5px!important;
        line-height:1.6!important;
        margin-top:3px!important;
    }
    .account-sidebar-compact.account-menu-clean{
        margin-top:14px!important;
        padding:12px!important;
        border-radius:22px!important;
    }
    .account-sidebar-compact .account-menu-title{
        min-height:46px!important;
        border-radius:15px!important;
        font-size:14px!important;
        margin-bottom:10px!important;
    }
    .account-sidebar-compact .account-sidebar-links{
        gap:8px!important;
    }
    .account-sidebar-pills .account-sidebar-links a{
        min-height:50px!important;
        border-radius:15px!important;
        font-size:13px!important;
        padding:10px 8px!important;
    }
    .site-footer.footer-compact{
        margin-top:28px!important;
        padding:20px 0 86px!important;
    }
    .footer-compact .footer-main-grid-clean{
        width:calc(100% - 20px)!important;
        grid-template-columns:1fr 1fr!important;
        gap:10px!important;
    }
    .footer-compact .footer-column{
        padding:14px 10px!important;
        border-radius:20px!important;
    }
    .footer-compact .footer-column h4{
        font-size:14.5px!important;
        margin-bottom:9px!important;
    }
    .footer-compact .footer-contact-btn{
        min-height:44px!important;
        padding:7px 8px!important;
        border-radius:14px!important;
    }
    .footer-compact .footer-contact-btn span,
    .footer-compact .footer-contact-btn strong,
    .footer-compact .footer-column a:not(.social-btn),
    .footer-compact .footer-column li{
        font-size:11.2px!important;
        line-height:1.55!important;
    }
    .footer-compact .footer-bottom{
        width:calc(100% - 20px)!important;
        margin-top:12px!important;
        padding-top:12px!important;
        font-size:10.3px!important;
    }
}

@media (max-width:520px){
    .account-body .account-shell.container{
        width:min(100% - 18px, 430px)!important;
    }
    .account-hero-card.compact-account-hero{
        padding:16px 14px 18px!important;
        border-radius:24px!important;
    }
    .account-hero-clean .account-identity-row{
        grid-template-columns:70px 1fr!important;
    }
    .account-hero-avatar{
        width:68px!important;
        height:68px!important;
        flex-basis:68px!important;
    }
    .account-hero-copy h1{
        font-size:23px!important;
    }
    .account-hero-pills span{
        font-size:11.4px!important;
        padding-inline:9px!important;
    }
    .account-main-compact{
        padding:13px!important;
    }
    .account-actions-premium{
        gap:8px!important;
    }
    .account-actions-premium a{
        min-height:78px!important;
    }
}

/* === Waria Market account hero summary + footer restore polish - 20260520 === */
.account-hero-copy{flex:1!important;min-width:0!important;}
.account-hero-stats{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
    margin-top:10px!important;
    max-width:650px!important;
}
.account-hero-stats span{
    min-height:48px!important;
    padding:8px 11px!important;
    border-radius:16px!important;
    background:rgba(255,255,255,.14)!important;
    border:1px solid rgba(255,255,255,.22)!important;
    color:#fff!important;
    display:grid!important;
    align-content:center!important;
    gap:2px!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.16)!important;
}
.account-hero-stats em,
.account-hero-stats small{
    font-style:normal!important;
    font-size:11px!important;
    line-height:1.35!important;
    color:rgba(255,255,255,.82)!important;
    font-weight:900!important;
}
.account-hero-stats b{
    font-size:15px!important;
    line-height:1.35!important;
    color:#fff!important;
    font-weight:1000!important;
}
.account-tab-dashboard .account-main-compact{
    min-height:auto!important;
}
.account-tab-dashboard .account-section-head-compact:first-child{
    margin-top:0!important;
}

@media (min-width:901px){
    .account-hero-card.compact-account-hero{
        min-height:205px!important;
        display:flex!important;
        align-items:center!important;
    }
    .account-hero-clean .account-identity-row{
        width:100%!important;
        align-items:center!important;
    }
    .account-hero-stats{
        margin-top:12px!important;
    }
}

@media (max-width:900px){
    .account-hero-stats{
        grid-template-columns:1fr!important;
        gap:3px!important;
        margin-top:8px!important;
        max-width:none!important;
    }
    .account-hero-stats span{
        min-height:0!important;
        padding:0!important;
        border:0!important;
        border-radius:0!important;
        background:transparent!important;
        box-shadow:none!important;
        display:block!important;
        color:rgba(255,255,255,.92)!important;
        line-height:1.7!important;
    }
    .account-hero-stats em,
    .account-hero-stats b,
    .account-hero-stats small{
        display:inline!important;
        font-size:11.5px!important;
        color:rgba(255,255,255,.9)!important;
        line-height:1.7!important;
    }
    .account-hero-stats em:after{content:' : ';}
    .account-hero-stats b{font-weight:1000!important;color:#fff!important;}
    .account-hero-stats small:before{content:' / ';}
    .account-section-head-compact:first-child{margin-top:0!important;}
    body{padding-bottom:0!important;}
    .site-footer.modern-footer{padding-bottom:18px!important;}
    .site-footer .footer-bottom{margin-bottom:0!important;padding-bottom:0!important;}
}

@media (max-width:520px){
    .account-hero-card.compact-account-hero{padding-bottom:15px!important;}
    .account-hero-stats{margin-top:6px!important;}
    .account-hero-stats em,
    .account-hero-stats b,
    .account-hero-stats small{font-size:10.8px!important;}
}

/* === Waria Market account panel header RTL polish - 20260520 === */
.account-simple-header.account-panel-header{
    direction:rtl!important;
    height:auto!important;
    min-height:82px!important;
    padding:14px max(18px,calc((100vw - 1180px)/2))!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:18px!important;
    background:rgba(255,255,255,.96)!important;
    border-bottom:1px solid #dceafa!important;
    box-shadow:0 12px 32px rgba(15,68,135,.06)!important;
}
.account-panel-header .account-brand-mini{
    min-width:0!important;
    flex:0 0 auto!important;
    justify-content:flex-end!important;
}
.account-panel-header .account-brand-mini img{
    width:var(--wm-account-logo-width-desktop,190px)!important;
    max-width:var(--wm-account-logo-width-desktop,190px)!important;
    height:auto!important;
    max-height:var(--wm-account-logo-height-desktop,64px)!important;
    object-fit:contain!important;
    display:block!important;
}
.account-panel-header nav{
    direction:rtl!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    flex:0 0 auto!important;
}
.account-panel-header nav a{
    min-height:44px!important;
    padding:0 18px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:999px!important;
    background:#f2f8ff!important;
    border:1px solid #dceafa!important;
    color:#0b63d8!important;
    font-size:14px!important;
    font-weight:1000!important;
    text-decoration:none!important;
    box-shadow:0 8px 22px rgba(15,68,135,.04)!important;
}
.account-panel-header nav a:hover{
    background:#0b6cff!important;
    color:#fff!important;
    border-color:#0b6cff!important;
}

@media (max-width:900px){
    .account-simple-header.account-panel-header{
        min-height:0!important;
        padding:14px 18px 16px!important;
        flex-direction:column!important;
        align-items:stretch!important;
        justify-content:flex-start!important;
        gap:14px!important;
        position:relative!important;
        top:auto!important;
    }
    .account-panel-header .account-brand-mini{
        width:100%!important;
        display:flex!important;
        justify-content:flex-end!important;
    }
    .account-panel-header-mobile-center .account-brand-mini{
        justify-content:center!important;
    }
    .account-panel-header .account-brand-mini img{
        width:var(--wm-account-logo-width-mobile,170px)!important;
        max-width:min(var(--wm-account-logo-width-mobile,170px),70vw)!important;
        max-height:var(--wm-account-logo-height-mobile,58px)!important;
    }
    .account-panel-header nav{
        width:100%!important;
        justify-content:flex-start!important;
        gap:10px!important;
    }
    .account-panel-header nav a{
        min-height:48px!important;
        padding:0 18px!important;
        font-size:15px!important;
        border-radius:18px!important;
    }
}

@media (max-width:520px){
    .account-simple-header.account-panel-header{
        padding:12px 14px 14px!important;
        gap:12px!important;
    }
    .account-panel-header .account-brand-mini img{
        width:var(--wm-account-logo-width-mobile,165px)!important;
        max-height:var(--wm-account-logo-height-mobile,56px)!important;
    }
    .account-panel-header nav{
        justify-content:flex-start!important;
    }
    .account-panel-header nav a{
        min-height:46px!important;
        padding:0 17px!important;
        font-size:14.5px!important;
    }
}


/* === Waria Market account/auth header final mobile polish - 20260520 === */
@media (max-width:900px){
    .account-simple-header.account-panel-header{
        min-height:76px!important;
        padding:12px 18px!important;
        flex-direction:row!important;
        align-items:center!important;
        justify-content:space-between!important;
        gap:12px!important;
    }
    .account-panel-header .account-brand-mini,
    .account-panel-header-mobile-center .account-brand-mini{
        width:auto!important;
        flex:0 1 auto!important;
        display:flex!important;
        justify-content:flex-end!important;
        order:1!important;
    }
    .account-panel-header .account-brand-mini img{
        width:min(var(--wm-account-logo-width-mobile,168px),44vw)!important;
        max-width:44vw!important;
        max-height:58px!important;
        object-fit:contain!important;
    }
    .account-panel-header nav{
        width:auto!important;
        flex:0 0 auto!important;
        order:2!important;
        display:flex!important;
        align-items:center!important;
        justify-content:flex-start!important;
        gap:8px!important;
        margin:0!important;
    }
    .account-panel-header nav a{
        min-height:44px!important;
        padding:0 14px!important;
        border-radius:999px!important;
        font-size:13.5px!important;
        white-space:nowrap!important;
    }
}

@media (max-width:520px){
    .account-simple-header.account-panel-header{
        min-height:68px!important;
        padding:10px 14px!important;
        gap:8px!important;
    }
    .account-panel-header .account-brand-mini img{
        width:min(var(--wm-account-logo-width-mobile,145px),40vw)!important;
        max-width:40vw!important;
        max-height:50px!important;
    }
    .account-panel-header nav{
        gap:7px!important;
    }
    .account-panel-header nav a{
        min-height:42px!important;
        padding:0 12px!important;
        font-size:12.8px!important;
        border-radius:16px!important;
    }
}

@media (max-width:380px){
    .account-panel-header .account-brand-mini img{
        width:min(var(--wm-account-logo-width-mobile,130px),38vw)!important;
    }
    .account-panel-header nav a{
        padding:0 10px!important;
        font-size:12.2px!important;
    }
}

/* === Waria Market role-aware auth/account patch - 20260520 final === */
.auth-role-select{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 12px}.auth-role-select>span{grid-column:1/-1;font-size:13px;font-weight:1000;color:#475569}.auth-role-select label{display:flex!important;align-items:center;gap:9px;min-height:58px;padding:12px!important;border:1px solid #dceafa;border-radius:16px;background:#f8fbff;cursor:pointer}.auth-role-select input{width:18px;height:18px;accent-color:#075fff}.auth-role-select b{font-size:15px;color:#0f172a}.auth-role-select small{display:block;font-size:11px;color:#64748b;margin-top:3px}.auth-role-select.compact label{min-height:48px}.account-role-switch{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px}.account-role-switch a{min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.18);color:#fff;border:1px solid rgba(255,255,255,.28);font-weight:1000}.account-role-switch a.active{background:#fff;color:#075fff;box-shadow:0 12px 28px rgba(15,23,42,.14)}.account-inline-action{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 18px;border-radius:14px;background:#075fff;color:#fff!important;font-weight:1000}.account-role-buyer .account-hero-clean{background:linear-gradient(135deg,#0ea5e9,#075fff)!important}.account-role-seller .account-hero-clean{background:linear-gradient(135deg,#075fff,#063fc5)!important}
@media (max-width:640px){.auth-role-select{grid-template-columns:1fr}.auth-role-select label{min-height:54px}.account-role-switch{justify-content:center}.account-role-switch a{flex:1 1 130px}.account-hero-pills span{max-width:100%;overflow:hidden;text-overflow:ellipsis}.account-actions-compact a{min-height:58px!important;text-align:center!important}}

/* Warya Market KYC Level 1 */
.kyc-gate-card,.kyc-level-card{background:#fff;border:1px solid #dbeafe;border-radius:24px;padding:20px;box-shadow:0 12px 32px rgba(15,68,135,.06)}
.kyc-headline{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.kyc-headline h2{margin:0 0 6px}.kyc-status-chip{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 13px;border-radius:999px;background:#eef6ff;color:#0b63f6;font-weight:1000;border:1px solid #bfdbfe;white-space:nowrap}.kyc-status-chip.status-approved{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.kyc-status-chip.status-pending{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.kyc-status-chip.status-rejected,.kyc-status-chip.status-needs_edit{background:#fef2f2;color:#b91c1c;border-color:#fecaca}.kyc-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.kyc-form-grid label{display:grid;gap:8px;font-weight:900;color:#0f172a}.kyc-form-grid input,.kyc-form-grid select{min-height:48px;border:1px solid #dbeafe;border-radius:14px;padding:0 12px;background:#fff;font-size:15px}.kyc-form-grid input[type=file]{padding:11px}.kyc-form-grid .full-row{grid-column:1/-1}.kyc-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:10px;background:#f8fbff;border:1px solid #dbeafe;border-radius:14px;padding:12px}.kyc-check input{min-height:auto;width:18px;height:18px}.kyc-privacy-note,.kyc-file-note{background:#f8fbff;border:1px solid #dbeafe;border-radius:14px;padding:12px;color:#475569;font-weight:800}.kyc-file-note a{color:#0b63f6;font-weight:1000}.kyc-review-panel{padding:16px!important}.kyc-review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px}.kyc-review-card{background:#fff;border:1px solid #dbeafe;border-radius:22px;padding:15px;box-shadow:0 10px 28px rgba(15,68,135,.05)}.kyc-review-card h3{margin:8px 0 12px;font-size:20px}.kyc-review-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}.kyc-review-meta span{background:#f8fbff;border:1px solid #e2e8f0;border-radius:12px;padding:9px;font-size:13px;color:#64748b;font-weight:900}.kyc-review-meta b{color:#0f172a}.kyc-review-actions{display:grid;grid-template-columns:1fr auto auto auto;gap:8px;margin-top:12px}.kyc-review-actions input{min-height:42px;border:1px solid #dbeafe;border-radius:12px;padding:0 12px}.danger-btn{background:#dc2626;color:#fff!important;border:0;border-radius:12px;padding:10px 14px;font-weight:900;cursor:pointer}
@media(max-width:768px){.kyc-headline{display:grid}.kyc-form-grid{grid-template-columns:1fr}.kyc-review-meta{grid-template-columns:1fr}.kyc-review-actions{grid-template-columns:1fr}.kyc-review-actions button,.kyc-review-actions input{width:100%}}
/* Warya Market KYC tweaks */
.minor-bank-card{display:grid;grid-template-columns:1fr;gap:12px;background:#f8fbff;border:1px solid #dbeafe;border-radius:16px;padding:12px}.minor-bank-card textarea{width:100%;border:1px solid #dbeafe;border-radius:14px;padding:12px;resize:vertical;min-height:86px;font-family:inherit}.kyc-next-card{margin-top:12px}.kyc-next-card h3{margin:0 0 8px}.kyc-review-links{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.kyc-review-links .secondary-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px}

/* KYC level 2 step wizard */
.kyc-step-form .kyc-progress{height:10px;background:#eaf2ff;border-radius:999px;overflow:hidden;padding:0;margin:6px 0 12px}
.kyc-step-form .kyc-progress-bar{height:100%;width:33.33%;background:linear-gradient(90deg,#0ea5e9,#1455ff);border-radius:999px;transition:width .25s ease}
.kyc-step-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px}
.kyc-step-tabs button{border:1px solid #dbeafe;background:#f8fbff;border-radius:14px;padding:12px 8px;font-weight:800;color:#315071;cursor:pointer}
.kyc-step-tabs button.active{background:#1455ff;color:#fff;border-color:#1455ff;box-shadow:0 8px 18px rgba(20,85,255,.18)}
.kyc-step{display:none;border:1px solid #dbeafe;border-radius:18px;padding:16px;background:#fff}
.kyc-step.active{display:block}
.kyc-inner-grid{box-shadow:none;border:0;padding:0;margin:0;background:transparent}
.kyc-step-actions{display:flex;gap:10px;justify-content:flex-end;align-items:center;margin-top:14px;grid-column:1/-1}
.kyc-location-box{border:1px solid #dbeafe;background:#f8fbff;border-radius:16px;padding:12px;margin-top:10px;display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.kyc-location-preview{width:100%;font-size:13px;color:#315071;margin-top:5px}
.kyc-declaration-box{border:1px dashed #b8d5ff;background:#f8fbff;border-radius:16px;padding:14px;line-height:2;margin-bottom:12px;color:#10243d}
.kyc-declaration-box p{margin:6px 0}
@media (max-width: 720px){.kyc-step-tabs{grid-template-columns:1fr}.kyc-step-actions{justify-content:stretch;flex-direction:column}.kyc-step-actions button{width:100%}}

/* PUBG listing form */
.pubg-listing-shell{margin-top:6px}.pubg-listing-form textarea{width:100%;border:1px solid #dbeafe;border-radius:14px;padding:12px;resize:vertical;font-family:inherit;font-size:15px}.pubg-step-tabs{grid-template-columns:repeat(4,1fr)}.pubg-checkbox-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px;margin:10px 0 18px}.pubg-checkbox-grid label{display:flex!important;align-items:center;gap:8px;background:#f8fbff;border:1px solid #dbeafe;border-radius:12px;padding:9px 10px;font-weight:850;color:#10243d}.pubg-checkbox-grid input{width:17px;height:17px;min-height:auto;accent-color:#1455ff}.pubg-check-tools{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 14px}.account-table-wrap{overflow:auto;border:1px solid #dbeafe;border-radius:18px;background:#fff}.account-table{width:100%;border-collapse:collapse;min-width:720px}.account-table th,.account-table td{padding:12px 10px;border-bottom:1px solid #eaf2ff;text-align:right}.account-table th{background:#f8fbff;color:#315071;font-weight:1000}.account-table td{color:#0f172a;font-weight:800}.account-table tr:last-child td{border-bottom:0}
@media (max-width:720px){.pubg-step-tabs{grid-template-columns:1fr}.pubg-checkbox-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.public-listings-section{margin:28px 0}.public-listing-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}.public-listing-card{position:relative;background:#fff;border:1px solid #dbeafe;border-radius:20px;overflow:hidden;box-shadow:0 12px 30px rgba(15,23,42,.08)}.public-listing-card img,.public-listing-placeholder{width:100%;height:180px;object-fit:cover;background:#eef6ff;display:flex;align-items:center;justify-content:center;font-weight:1000;color:#315071}.public-listing-body{padding:14px}.public-listing-body h3{margin:0 0 8px;font-size:17px;color:#0f172a}.public-listing-body p{min-height:40px;color:#53657d;line-height:1.8}.public-listing-meta{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.public-listing-meta span{background:#f1f7ff;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;color:#315071}.public-listing-card.is-sold{filter:grayscale(1);opacity:.75}.sold-ribbon{position:absolute;top:12px;right:12px;background:#334155;color:#fff;border-radius:999px;padding:6px 10px;font-weight:1000;font-size:12px}.public-listing-body strong{display:block;margin:8px 0 12px;color:#1455ff;font-size:18px}


/* seller listings admin compact review patch */
.wm-listing-table-wrap{overflow-x:auto}
.wm-listing-table th,.wm-listing-table td{white-space:nowrap;vertical-align:middle}
.wm-admin-modal{width:min(980px,94vw);max-height:88vh;border:0;border-radius:24px;padding:18px;background:#fff;box-shadow:0 30px 90px rgba(15,23,42,.24);direction:rtl}
.wm-admin-modal::backdrop{background:rgba(15,23,42,.38);backdrop-filter:blur(3px)}
.wm-admin-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.wm-admin-modal-head strong{font-size:22px;color:#0f172a}
.wm-listing-detail-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}
.wm-listing-detail-grid span{background:#f7fbff;border:1px solid #dceafa;border-radius:14px;padding:11px;font-size:14px}
.wm-admin-modal .kyc-review-actions{grid-template-columns:1fr auto auto auto auto;align-items:center;margin-top:14px}
.wm-admin-modal .kyc-review-links{display:flex;gap:8px;flex-wrap:wrap}
.admin-review-notice strong{font-size:32px;color:#075fff;margin-left:8px}
@media(max-width:768px){.wm-listing-detail-grid{grid-template-columns:1fr}.wm-admin-modal .kyc-review-actions{grid-template-columns:1fr}.wm-admin-modal{padding:14px;border-radius:18px}}

/* Warya Market public account cards and detail page */
.wm-market-listing-section{padding-top:18px}.wm-market-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid #dbeafe;border-radius:22px;padding:18px 22px;margin-bottom:18px;box-shadow:0 14px 40px rgba(20,85,255,.06)}.wm-market-toolbar h2{margin:0;font-size:28px;color:#10243d}.wm-market-toolbar span{color:#60748f;font-weight:900}.wm-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:22px}.wm-product-card{display:block;background:#fff;border:1px solid #e2ecff;border-radius:22px;overflow:hidden;text-decoration:none;color:#0f172a;box-shadow:0 18px 45px rgba(15,23,42,.08);transition:.18s ease;position:relative}.wm-product-card:hover{transform:translateY(-4px);box-shadow:0 25px 65px rgba(20,85,255,.14)}.wm-product-card.is-sold{filter:grayscale(.75);opacity:.72}.wm-product-image-wrap{height:210px;background:#eef6ff;position:relative;overflow:hidden}.wm-product-image-wrap img{width:100%;height:100%;object-fit:cover;display:block}.wm-product-code{position:absolute;right:10px;top:10px;background:rgba(15,23,42,.82);color:#fff;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:1000;direction:ltr}.wm-product-body{padding:13px 14px 16px}.wm-product-body h3{margin:0 0 10px;font-size:16px;line-height:1.8;color:#17233c;min-height:54px}.wm-product-pills{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px}.wm-product-pills span{background:#f1f6ff;color:#244769;border:1px solid #dbeafe;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:900}.wm-product-body strong{display:block;color:#1455ff;font-size:20px;margin-bottom:10px}.wm-product-body em{display:block;background:#1455ff;color:#fff;text-align:center;border-radius:14px;padding:10px 12px;font-style:normal;font-weight:1000}.wm-product-card.is-sold .wm-product-body em{background:#94a3b8}.wm-listing-detail-page{padding-top:28px}.wm-listing-detail-hero{display:grid;grid-template-columns:minmax(280px,520px) 1fr;gap:24px;background:#fff;border:1px solid #dbeafe;border-radius:28px;padding:22px;box-shadow:0 22px 70px rgba(20,85,255,.1);margin-bottom:22px}.wm-listing-detail-hero.is-sold .wm-listing-main-image{filter:grayscale(.8);opacity:.78}.wm-listing-gallery{min-width:0}.wm-listing-main-image,.public-listing-placeholder.large{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:22px;background:#eef6ff;border:1px solid #dbeafe}.public-listing-placeholder.large{display:flex;align-items:center;justify-content:center;font-weight:1000;color:#1455ff;font-size:30px}.wm-listing-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:10px}.wm-listing-thumbs img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:12px;border:1px solid #dbeafe}.wm-listing-summary{display:flex;flex-direction:column;align-items:flex-start;gap:14px;justify-content:center}.wm-listing-summary h1{font-size:32px;line-height:1.6;margin:0;color:#10243d}.wm-listing-code{background:#f1f6ff;border:1px solid #dbeafe;border-radius:999px;padding:8px 12px;font-weight:1000;color:#315071;direction:ltr}.wm-listing-price{font-size:30px;font-weight:1000;color:#1455ff}.wm-listing-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:22px}.wm-listing-info-grid div{background:#fff;border:1px solid #dbeafe;border-radius:18px;padding:13px 15px;box-shadow:0 12px 34px rgba(15,23,42,.05)}.wm-listing-info-grid span{display:block;color:#60748f;font-weight:900;margin-bottom:6px}.wm-listing-info-grid b{color:#10243d;font-size:17px}.sold-ribbon{position:absolute;left:10px;top:10px;background:#ef4444;color:#fff;padding:6px 10px;border-radius:999px;font-weight:1000;font-size:12px}@media(max-width:780px){.wm-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wm-product-image-wrap{height:160px}.wm-market-toolbar{align-items:flex-start;flex-direction:column}.wm-listing-detail-hero{grid-template-columns:1fr;padding:14px}.wm-listing-summary h1{font-size:24px}.wm-listing-price{font-size:24px}.wm-listing-thumbs{grid-template-columns:repeat(4,1fr)}}

/* Product detail and PUBG listing polish patch */
.pubg-image-upload-block{background:#f8fbff;border:1px solid #dbeafe;border-radius:18px;padding:14px;display:grid;gap:10px}.pubg-image-upload-block>strong{font-size:16px;color:#10243d}.pubg-image-upload-block small{color:#64748b;font-weight:800;line-height:1.8}.pubg-image-upload-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.pubg-image-upload-grid label{background:#fff;border:1px solid #dbeafe;border-radius:14px;padding:10px!important;font-size:13px}.pubg-image-upload-grid input{width:100%;min-height:42px!important;padding:8px!important}
.wm-product-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#fff;border:1px solid #dbeafe;border-radius:18px;padding:12px 16px;margin-bottom:18px;color:#64748b;font-weight:900}.wm-product-breadcrumb a{color:#1455ff;font-weight:1000}.wm-product-hero{grid-template-columns:minmax(330px,560px) minmax(280px,1fr);align-items:stretch}.wm-product-gallery{display:grid;align-content:start}.wm-product-summary{justify-content:flex-start;padding:12px}.wm-product-summary h1{font-size:30px;line-height:1.65}.wm-product-trust-mini{display:grid;grid-template-columns:1fr;gap:8px;width:100%;margin:4px 0}.wm-product-trust-mini span{background:#f8fbff;border:1px solid #dbeafe;border-radius:14px;padding:10px 12px;color:#315071;font-weight:1000}.wm-product-specs{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.wm-product-seasons h2,.wm-product-text-box h2,.wm-product-safe-buy h2{margin-top:0;color:#10243d}.wm-product-season-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.wm-product-season-grid>div{border:1px solid #dbeafe;border-radius:18px;background:#f8fbff;padding:14px}.wm-product-season-grid h3{margin:0 0 12px;color:#315071;font-size:17px}.wm-season-chip-list{display:flex;gap:8px;flex-wrap:wrap}.wm-season-chip-list span{background:#fff;border:1px solid #cfe2ff;color:#1455ff;border-radius:999px;padding:6px 11px;font-weight:1000;font-size:13px}.wm-product-text-box div{white-space:normal;line-height:2.05;color:#10243d;font-weight:800;text-align:right}.wm-product-safe-buy p{line-height:2;color:#475569;font-weight:850}.wm-listing-thumbs a{display:block}.wm-listing-thumbs a:hover img{border-color:#1455ff;box-shadow:0 0 0 3px rgba(20,85,255,.12)}
@media(max-width:860px){.pubg-image-upload-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wm-product-hero{grid-template-columns:1fr}.wm-product-season-grid{grid-template-columns:1fr}.wm-product-summary h1{font-size:23px}}
@media(max-width:460px){.pubg-image-upload-grid{grid-template-columns:1fr}.wm-product-specs{grid-template-columns:1fr 1fr}.wm-product-breadcrumb{font-size:13px}}

/* Dark product detail page - Warya Market */

/* === Waria Market compact product detail patch - 20260524 === */
body.wm-product-page{background:#eef6ff;color:#10243d}
body.wm-product-page .site-header{background:#fff;border-bottom:1px solid #dbeafe;box-shadow:0 10px 28px rgba(15,23,42,.05);position:sticky;top:0;z-index:50}
body.wm-product-page .header-main{min-height:64px}
.wm-product-page .wm-listing-detail-page{max-width:1120px;padding-top:18px;padding-bottom:40px}
.wm-product-page .wm-product-breadcrumb{background:#fff;border:1px solid #dbeafe;border-radius:16px;padding:10px 14px;margin-bottom:14px;color:#64748b;font-size:13px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.wm-product-page .wm-product-breadcrumb a{color:#1455ff;text-decoration:none}.wm-product-page .wm-product-breadcrumb strong{direction:ltr;color:#315071}
.wm-product-page .wm-listing-detail-hero.wm-product-hero{display:grid;grid-template-columns:minmax(320px,430px) 1fr;gap:18px;background:#fff;border:1px solid #dbeafe;border-radius:22px;padding:18px;box-shadow:0 18px 44px rgba(20,85,255,.08);margin-bottom:16px;align-items:start}
.wm-product-page .wm-listing-gallery{min-width:0}.wm-product-page .wm-listing-main-image,.wm-product-page .public-listing-placeholder.large{width:100%;aspect-ratio:4/3;max-height:360px;object-fit:cover;border-radius:18px;background:#f1f6ff;border:1px solid #dbeafe;display:block}
.wm-product-page .public-listing-placeholder.large{display:flex;align-items:center;justify-content:center;color:#1455ff;font-weight:1000;font-size:24px}
.wm-product-page .wm-listing-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:9px}.wm-product-page .wm-listing-thumbs img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;border:1px solid #dbeafe}.wm-product-page .wm-listing-thumbs a:hover img{border-color:#1455ff;box-shadow:0 0 0 3px rgba(20,85,255,.12)}
.wm-product-page .wm-listing-summary.wm-product-summary{background:#f8fbff;border:1px solid #dbeafe;border-radius:18px;padding:18px;display:flex;flex-direction:column;align-items:flex-start;gap:11px;box-shadow:none;position:static;min-height:auto}
.wm-product-page .wm-listing-summary h1{font-size:23px;line-height:1.6;margin:0;color:#10243d;font-weight:1000}.wm-product-page .wm-listing-code{background:#fff;border:1px solid #dbeafe;border-radius:12px;padding:7px 10px;font-size:13px;color:#315071;font-weight:1000;direction:ltr}.wm-product-page .wm-listing-price{font-size:25px;font-weight:1000;color:#1455ff;margin:0}.wm-product-page .primary-btn{background:#1455ff;color:#fff;border-radius:12px;padding:11px 16px;font-size:15px;font-weight:1000;width:100%;text-align:center;text-decoration:none;box-shadow:0 12px 26px rgba(20,85,255,.14)}.wm-product-page .primary-btn:hover{background:#0647c9}
.wm-product-page .wm-product-trust-mini{display:grid;grid-template-columns:1fr;gap:7px;width:100%;margin-top:2px}.wm-product-page .wm-product-trust-mini span{background:#fff;border:1px solid #dbeafe;border-radius:12px;padding:8px 10px;color:#315071;font-size:13px;font-weight:900;text-align:center}
.wm-product-page .kyc-status-chip{font-size:12px;border-radius:999px;padding:7px 11px}
.wm-product-page .wm-listing-info-grid.wm-product-specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:9px;margin-bottom:14px}.wm-product-page .wm-listing-info-grid div{background:#fff;border:1px solid #dbeafe;border-radius:14px;padding:10px 12px;text-align:center;box-shadow:0 8px 22px rgba(15,23,42,.035)}.wm-product-page .wm-listing-info-grid span{display:block;color:#60748f;font-size:12px;font-weight:900;margin-bottom:4px}.wm-product-page .wm-listing-info-grid b{display:block;color:#10243d;font-size:14px;font-weight:1000}
.wm-product-page .account-form-card{background:#fff;border:1px solid #dbeafe;border-radius:18px;box-shadow:0 12px 32px rgba(15,23,42,.045);padding:18px;margin-bottom:14px}.wm-product-page .wm-product-seasons h2,.wm-product-page .wm-product-text-box h2,.wm-product-page .wm-product-safe-buy h2{font-size:20px;margin:0 0 14px;color:#10243d}.wm-product-page .wm-product-season-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wm-product-page .wm-product-season-grid>div{background:#f8fbff;border:1px solid #dbeafe;border-radius:15px;padding:13px}.wm-product-page .wm-product-season-grid h3{font-size:15px;color:#315071;margin:0 0 10px}.wm-product-page .wm-season-chip-list{display:flex;gap:6px;flex-wrap:wrap}.wm-product-page .wm-season-chip-list span{background:#fff;border:1px solid #cfe2ff;color:#1455ff;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:1000}.wm-product-page .wm-product-season-grid>div:first-child .wm-season-chip-list span{background:#fff8e1;border-color:#fde68a;color:#b7791f}
.wm-product-page .wm-product-text-box div{line-height:1.85;color:#10243d;font-size:14px;font-weight:600;text-align:right;white-space:pre-line}.wm-product-page .wm-seller-desc-box{position:relative;overflow:hidden}.wm-product-page .wm-seller-desc-content{max-height:1200px;transition:max-height .38s ease, opacity .25s ease}.wm-product-page .wm-seller-desc-box.is-collapsed .wm-seller-desc-content{max-height:7.6em;overflow:hidden}.wm-product-page .wm-seller-desc-box.is-collapsed:after{content:"";position:absolute;left:0;right:0;bottom:48px;height:44px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff);pointer-events:none}.wm-product-page .wm-see-more-btn{margin-top:12px;min-height:40px;padding:9px 16px;border-radius:999px;background:linear-gradient(180deg,#f7fbff,#edf5ff);border:1px solid #d7e7ff;color:#1455ff;font-family:inherit;font-weight:900;cursor:pointer;width:100%;box-shadow:0 8px 22px rgba(20,85,255,.08);transition:transform .18s ease, box-shadow .18s ease, background .18s ease}.wm-product-page .wm-see-more-btn:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(20,85,255,.14);background:#fff}.wm-product-page .wm-product-safe-buy p{font-size:14px;line-height:1.9;color:#475569;margin:0}.wm-product-page .site-footer.modern-footer{background:#eaf4ff;border-top:1px solid #dbeafe;margin-top:26px}
@media(max-width:880px){.wm-product-page .wm-listing-detail-hero.wm-product-hero{grid-template-columns:1fr;padding:14px}.wm-product-page .wm-listing-main-image,.wm-product-page .public-listing-placeholder.large{max-height:none}.wm-product-page .wm-product-season-grid{grid-template-columns:1fr}.wm-product-page .wm-listing-info-grid.wm-product-specs{grid-template-columns:repeat(2,minmax(0,1fr))}.wm-product-page .wm-listing-summary h1{font-size:21px}.wm-product-page .wm-listing-price{font-size:23px}}
@media(max-width:480px){.wm-product-page .wm-listing-detail-page{width:min(100% - 18px,1120px);padding-top:10px}.wm-product-page .wm-product-breadcrumb{font-size:11px;padding:9px;border-radius:12px}.wm-product-page .wm-listing-detail-hero.wm-product-hero{gap:12px;border-radius:18px;padding:10px}.wm-product-page .wm-listing-summary.wm-product-summary{padding:14px;border-radius:15px}.wm-product-page .wm-listing-summary h1{font-size:18px}.wm-product-page .wm-listing-thumbs{grid-template-columns:repeat(4,1fr)}.wm-product-page .account-form-card{padding:14px;border-radius:16px}.wm-product-page .wm-product-seasons h2,.wm-product-page .wm-product-text-box h2,.wm-product-page .wm-product-safe-buy h2{font-size:17px}.wm-product-page .wm-listing-info-grid b{font-size:13px}}


/* Product page compact refinement - 2026-05-24 */
.wm-product-page .wm-listing-detail-page{max-width:1080px;padding-top:18px;padding-bottom:34px}
.wm-product-page .wm-listing-detail-hero.wm-product-hero{grid-template-columns:minmax(300px,400px) 1fr;gap:16px;padding:16px;border-radius:20px;align-items:start}
.wm-product-page .wm-listing-gallery{position:relative}
.wm-product-page .wm-listing-main-image-btn{position:relative;display:block;width:100%;border:0;background:#f8fbff;padding:0;border-radius:16px;cursor:pointer;overflow:hidden;border:1px solid #dbeafe}
.wm-product-page .wm-listing-main-image{width:100%;height:auto;max-height:310px;object-fit:contain;background:#f8fbff;border:0;border-radius:0;display:block;aspect-ratio:auto}
.wm-product-page .wm-listing-main-image-btn span{position:absolute;right:10px;bottom:10px;background:rgba(15,23,42,.74);color:#fff;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:900;backdrop-filter:blur(8px)}
.wm-product-page .wm-listing-summary.wm-product-summary{padding:16px;gap:10px;min-height:0}
.wm-product-page .wm-listing-summary h1{font-size:22px;line-height:1.65;margin-bottom:0}
.wm-product-page .wm-listing-code{margin:0;font-size:12px;direction:ltr;align-self:flex-start}
.wm-product-page .wm-listing-price{font-size:23px;margin:2px 0 4px}
.wm-product-page .primary-btn{padding:10px 14px;min-height:44px}
.wm-product-page .wm-product-trust-mini{display:none!important}
.wm-product-page .wm-listing-info-grid.wm-product-specs{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-bottom:14px;align-items:stretch}
.wm-product-page .wm-listing-info-grid div{min-height:64px;display:flex;flex-direction:column;justify-content:center;padding:9px 8px}
.wm-product-page .wm-listing-info-grid span{font-size:11px;line-height:1.4}.wm-product-page .wm-listing-info-grid b{font-size:13px;line-height:1.5}
.wm-product-page .account-form-card{padding:16px;border-radius:17px;margin-bottom:14px}.wm-product-page .wm-product-seasons h2,.wm-product-page .wm-product-text-box h2,.wm-product-page .wm-product-safe-buy h2{font-size:18px;margin-bottom:12px}
.wm-product-page .wm-product-safe-buy p{font-size:13px;line-height:2.05;color:#475569;margin:0 0 8px;font-weight:700}.wm-product-page .wm-product-safe-buy p:last-child{margin-bottom:0}
.wm-image-lightbox[hidden]{display:none!important}.wm-image-lightbox{position:fixed;inset:0;background:rgba(5,10,20,.86);z-index:9999;display:flex;align-items:center;justify-content:center;padding:28px}.wm-image-lightbox img{max-width:min(1100px,94vw);max-height:90vh;object-fit:contain;background:#fff;border-radius:16px;box-shadow:0 30px 90px rgba(0,0,0,.35)}.wm-image-lightbox-close,.wm-image-lightbox-prev,.wm-image-lightbox-next{position:absolute;border:0;border-radius:999px;background:rgba(255,255,255,.92);color:#0f172a;font-size:28px;font-weight:900;width:44px;height:44px;cursor:pointer;display:flex;align-items:center;justify-content:center}.wm-image-lightbox-close{top:18px;left:18px}.wm-image-lightbox-prev{left:22px;top:50%;transform:translateY(-50%)}.wm-image-lightbox-next{right:22px;top:50%;transform:translateY(-50%)}body.wm-lightbox-open{overflow:hidden}
@media(max-width:920px){.wm-product-page .wm-listing-detail-hero.wm-product-hero{grid-template-columns:1fr}.wm-product-page .wm-listing-main-image{max-height:360px}.wm-product-page .wm-listing-info-grid.wm-product-specs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.wm-product-page .wm-listing-detail-page{width:min(100% - 14px,1080px);padding-top:8px}.wm-product-page .wm-listing-detail-hero.wm-product-hero{padding:10px;border-radius:16px}.wm-product-page .wm-listing-main-image{max-height:280px}.wm-product-page .wm-listing-main-image-btn span{font-size:11px;padding:5px 9px}.wm-product-page .wm-listing-summary h1{font-size:18px}.wm-product-page .wm-listing-price{font-size:21px}.wm-product-page .wm-listing-info-grid.wm-product-specs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.wm-product-page .wm-listing-info-grid div{min-height:58px}.wm-image-lightbox{padding:12px}.wm-image-lightbox-close,.wm-image-lightbox-prev,.wm-image-lightbox-next{width:38px;height:38px;font-size:24px}.wm-image-lightbox-prev{left:10px}.wm-image-lightbox-next{right:10px}}

.pubg-final-notes p{margin:0 0 8px;line-height:1.9}.pubg-final-notes p:last-child{margin-bottom:0}

/* Warya Market listing archive compact layout and filters */
.wm-game-market-page.game-page{padding:24px 0 38px}
.wm-game-hero-compact{padding:18px 22px;border-radius:22px;gap:14px;min-height:120px;box-shadow:0 10px 28px rgba(15,23,42,.06)}
.wm-game-hero-compact .game-page-icon{width:64px;height:64px;border-radius:18px;font-size:32px}
.wm-game-hero-compact h1{margin:0 0 2px;font-size:26px;line-height:1.35;color:#10243d}
.wm-game-hero-compact .game-english{font-size:12px;color:#64748b;font-weight:900}
.wm-game-hero-compact p{font-size:13px;line-height:1.9;color:#475569;margin:4px 0 0}
.wm-market-listing-section{margin:20px 0 24px;padding-top:0}
.wm-market-toolbar{padding:13px 16px;border-radius:18px;margin-bottom:12px;box-shadow:0 10px 26px rgba(20,85,255,.045)}
.wm-market-toolbar>div{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px}
.wm-market-toolbar h2{font-size:24px;line-height:1.5;margin:0;color:#10243d}
.wm-market-toolbar span{font-size:13px;color:#64748b}
.wm-market-filter{display:grid;grid-template-columns:1.3fr .9fr .9fr .9fr auto auto;gap:10px;align-items:end;background:#fff;border:1px solid #dbeafe;border-radius:18px;padding:13px;margin-bottom:16px;box-shadow:0 12px 30px rgba(15,23,42,.045)}
.wm-market-filter label{display:grid;gap:6px;color:#475569;font-size:12px;font-weight:900}
.wm-market-filter input,.wm-market-filter select{height:38px;border:1px solid #dbeafe;border-radius:12px;background:#f8fbff;color:#10243d;padding:0 10px;font-size:13px;font-weight:800;outline:0}
.wm-market-filter input:focus,.wm-market-filter select:focus{border-color:#1455ff;background:#fff;box-shadow:0 0 0 3px rgba(20,85,255,.08)}
.wm-market-filter .wm-filter-check{display:flex;align-items:center;justify-content:center;height:38px;border:1px solid #dbeafe;border-radius:12px;background:#f8fbff;padding:0 10px;white-space:nowrap}
.wm-market-filter .wm-filter-check input{height:auto;margin-left:6px}
.wm-market-filter button{height:38px;border:0;border-radius:12px;background:#1455ff;color:#fff;padding:0 16px;font-size:13px;font-weight:1000;cursor:pointer;white-space:nowrap}
.wm-product-grid{grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:14px}
.wm-product-card{border-radius:18px;box-shadow:0 10px 28px rgba(15,23,42,.065)}
.wm-product-card:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(20,85,255,.12)}
.wm-product-image-wrap{height:154px;background:#f5f9ff}
.wm-product-image-wrap img{object-fit:cover}
.wm-product-body{padding:10px 11px 12px;text-align:center}
.wm-product-body h3{font-size:13.5px;line-height:1.65;min-height:42px;margin:0 0 4px;color:#17233c;font-weight:1000}
.wm-card-code{display:block;color:#60748f;font-size:11px;margin-bottom:8px;direction:ltr;font-weight:900}
.wm-product-pills{justify-content:center;gap:5px;margin-bottom:9px}
.wm-product-pills span{font-size:10.5px;padding:3px 7px;border-radius:999px}
.wm-product-body strong{font-size:16px;margin-bottom:8px;line-height:1.5;color:#1455ff}
.wm-product-body em{font-size:12.5px;border-radius:12px;padding:8px 9px;min-height:36px;display:flex;align-items:center;justify-content:center}
.wm-empty-result{background:#fff;border:1px solid #dbeafe;border-radius:18px;padding:18px;color:#64748b}
.wm-pagination{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:18px}
.wm-pagination a,.wm-pagination span{background:#fff;border:1px solid #dbeafe;border-radius:999px;padding:8px 14px;color:#315071;font-size:13px;font-weight:900}
.wm-pagination a{color:#1455ff}

/* Product detail final polish */
.wm-product-page .wm-product-safe-buy p{font-size:13px;line-height:2;color:#475569;margin:0 0 9px;font-weight:700}
.wm-product-page .wm-see-more-btn{transition:all .22s ease;border-radius:14px;background:#f7fbff;border:1px solid #dbeafe;box-shadow:none;color:#1455ff}
.wm-product-page .wm-see-more-btn:hover{background:#eef6ff;transform:none;box-shadow:0 8px 22px rgba(20,85,255,.08)}

@media(max-width:980px){
  .wm-market-filter{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wm-market-filter button,.wm-market-filter .wm-filter-check{width:100%}
}
@media(max-width:640px){
  .wm-game-market-page.game-page{padding:14px 0 28px}
  .wm-game-hero-compact{padding:14px;border-radius:18px;align-items:flex-start}
  .wm-game-hero-compact .game-page-icon{width:54px;height:54px;border-radius:16px}
  .wm-game-hero-compact h1{font-size:20px}
  .wm-market-toolbar{padding:12px;border-radius:16px}
  .wm-market-toolbar>div{align-items:flex-start;flex-direction:column;gap:4px}
  .wm-market-toolbar h2{font-size:20px}
  .wm-market-filter{grid-template-columns:1fr;gap:8px;padding:10px;border-radius:16px}
  .wm-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .wm-product-image-wrap{height:128px}
  .wm-product-body{padding:8px}
  .wm-product-body h3{font-size:12px;min-height:38px;line-height:1.55}
  .wm-product-pills span{font-size:9.8px;padding:3px 6px}
  .wm-product-body strong{font-size:14px}
  .wm-product-body em{font-size:11px;min-height:32px}
}
@media(max-width:380px){.wm-product-grid{grid-template-columns:1fr 1fr}.wm-product-image-wrap{height:112px}}

/* Final archive/product responsive polish - 2026-05-24 */
.wm-game-market-page.game-page{padding:18px 0 34px!important;}
.wm-game-hero-compact{min-height:92px!important;padding:14px 18px!important;border-radius:20px!important;}
.wm-game-hero-compact .game-page-icon{width:58px!important;height:58px!important;border-radius:16px!important;}
.wm-game-hero-compact h1{font-size:21px!important;margin:0!important;line-height:1.45!important;}
.wm-game-hero-compact .game-english{font-size:11px!important;display:inline-block;margin-top:2px!important;}
.wm-game-hero-compact p{font-size:12.5px!important;margin-top:3px!important;}
.wm-market-toolbar{padding:12px 15px!important;border-radius:18px!important;margin-bottom:10px!important;}
.wm-market-toolbar h2{font-size:21px!important;line-height:1.4!important;}
.wm-market-toolbar span{font-size:12px!important;}
.wm-filter-toggle{display:none;width:100%;height:42px;border:1px solid #d7e7ff;border-radius:14px;background:#fff;color:#1455ff;font-weight:1000;font-family:inherit;margin:0 0 10px;cursor:pointer;box-shadow:0 8px 20px rgba(20,85,255,.06)}
.wm-market-filter{margin-bottom:15px!important;}
.wm-product-grid{align-items:start!important;}
.wm-product-card{max-width:220px!important;width:100%!important;justify-self:center!important;}
.wm-product-image-wrap{height:146px!important;}
.wm-product-body h3{font-size:12.8px!important;min-height:auto!important;margin-bottom:2px!important;}
.wm-card-code{font-size:10.5px!important;margin-bottom:7px!important;}
.wm-product-body strong{font-size:14.5px!important;}
.wm-product-body em{min-height:34px!important;font-size:11.8px!important;}
.wm-product-pills span{font-size:9.8px!important;padding:3px 6px!important;}
.wm-product-page .wm-seller-desc-box{overflow:hidden!important;border:1px solid #dbeafe!important;background:#fff!important;}
.wm-product-page .wm-seller-desc-content{display:block!important;width:100%!important;line-height:2.05!important;font-size:13.5px!important;color:#24344d!important;word-break:break-word!important;overflow-wrap:anywhere!important;white-space:pre-wrap!important;text-align:right!important;max-height:none!important;transition:max-height .35s ease!important;}
.wm-product-page .wm-seller-desc-box.is-collapsed .wm-seller-desc-content{max-height:178px!important;overflow:hidden!important;}
.wm-product-page .wm-seller-desc-box.is-collapsed:after{bottom:54px!important;height:58px!important;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 80%)!important;}
.wm-product-page .wm-see-more-btn{position:relative!important;z-index:2!important;margin-top:12px!important;border-radius:14px!important;min-height:42px!important;background:#f4f9ff!important;color:#1455ff!important;border:1px solid #d6e8ff!important;box-shadow:none!important;}
.wm-product-page .wm-see-more-btn:hover{background:#eaf4ff!important;transform:none!important;}
.wm-product-page .wm-product-text-box h2{font-size:17px!important;line-height:1.6!important;}
@media(min-width:981px){.wm-product-grid{grid-template-columns:repeat(auto-fill,minmax(184px,1fr))!important;}.wm-market-filter{grid-template-columns:1.35fr .8fr .8fr .9fr auto auto!important;}}
@media(max-width:700px){
  .wm-game-market-page.game-page{padding:10px 0 24px!important;width:min(100% - 18px,1180px)!important;}
  .wm-game-hero-compact{padding:12px!important;gap:10px!important;min-height:auto!important;}
  .wm-game-hero-compact h1{font-size:18px!important;}
  .wm-market-toolbar{padding:12px!important;margin-top:12px!important;}
  .wm-market-toolbar h2{font-size:18px!important;}
  .wm-filter-toggle{display:block!important;}
  .wm-market-filter{display:none!important;grid-template-columns:1fr!important;padding:12px!important;border-radius:18px!important;}
  .wm-market-filter.is-open{display:grid!important;}
  .wm-market-filter label{font-size:12px!important;}
  .wm-market-filter input,.wm-market-filter select{height:42px!important;font-size:13px!important;}
  .wm-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  .wm-product-card{max-width:none!important;}
  .wm-product-image-wrap{height:126px!important;}
  .wm-product-body h3{font-size:12px!important;line-height:1.55!important;}
  .wm-card-code{font-size:10px!important;}
  .wm-product-body strong{font-size:13.5px!important;}
  .wm-product-body em{font-size:11px!important;padding:7px!important;}
  .wm-product-page .wm-seller-desc-content{font-size:13px!important;line-height:2!important;}
  .wm-product-page .wm-seller-desc-box.is-collapsed .wm-seller-desc-content{max-height:160px!important;}
}
@media(max-width:380px){.wm-product-grid{grid-template-columns:1fr!important}.wm-product-image-wrap{height:170px!important}}
