#swdApp, #swdApp *, #swdApp *::before, #swdApp *::after,
#swdAuth, #swdAuth *, #swdAuth *::before, #swdAuth *::after,
.swd-app, .swd-app *, .swd-app *::before, .swd-app *::after,
html body .swd-app .swd-auth, html body .swd-app .swd-auth *, html body .swd-app .swd-auth *::before, html body .swd-app .swd-auth *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

#swdApp, #swdApp *,
#swdAuth, #swdAuth *,
.swd-app, .swd-app *,
html body .swd-app .swd-auth, html body .swd-app .swd-auth * {
    font-family: var(--font, 'Vazirmatn RD', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif) !important;
}

.swd-app {
    color: var(--text) !important;
    font-size: var(--swd-fs) !important;
    line-height: 1.6 !important;
    font-weight: var(--fw-body, 400) !important;
    direction: rtl !important;
    text-align: right !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-transform: none !important;
    text-shadow: none !important;
    isolation: isolate;
}

.swd-app :where(h1, h2, h3, h4, h5, h6) {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: var(--fw-heading, 700);
    line-height: inherit;
    color: inherit;
}
.swd-app :where(p, ul, ol, li, figure, blockquote, dl, dd) {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

.swd-app :where(input, select, textarea) {
    font-family: var(--font, 'Vazirmatn RD', system-ui, sans-serif) !important;
    font-size: var(--swd-fs);
    line-height: 1.6;
    color: var(--text);
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-shadow: none;
}
.swd-app :where(button) {
    font-family: var(--font, 'Vazirmatn RD', system-ui, sans-serif) !important;
    font-size: var(--swd-btn-fs, var(--swd-fs));
    line-height: 1.6;
    color: var(--text);
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-shadow: none;
}

.swd-app :where(a) {
    color: var(--brand-deep, var(--brand));
    text-decoration: none;
    text-shadow: none;
}

.swd-app :where(img, svg) {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.swd-app :where(table) {
    border-collapse: collapse;
    border-spacing: 0;
    color: var(--text);
    font-size: var(--swd-fs);
}

body:has(.swd-app) header,
body:has(.swd-app) footer,
body:has(.swd-app) .elementor-location-header,
body:has(.swd-app) .elementor-location-footer,
body:has(.swd-app) .site-header,
body:has(.swd-app) .site-footer { display:none !important; }

html:has(.swd-app) { overflow:hidden !important; height:100% !important; }
body:has(.swd-app) { overflow:hidden !important; height:100vh !important; height:100dvh !important; margin:0 !important; padding:0 !important; }
body.admin-bar:has(.swd-app) { height:calc(100vh - 32px) !important; height:calc(100dvh - 32px) !important; }

body:has(.swd-app) #page,
body:has(.swd-app) .site,
body:has(.swd-app) .site-content,
body:has(.swd-app) .elementor,
body:has(.swd-app) .elementor-section,
body:has(.swd-app) .elementor-container,
body:has(.swd-app) .elementor-column,
body:has(.swd-app) .elementor-widget-wrap,
body:has(.swd-app) .elementor-widget-container,
body:has(.swd-app) main,
body:has(.swd-app) .entry-content,
body:has(.swd-app) .post-content { min-height:0 !important; height:auto !important; overflow:visible !important; }

.swd-app button:focus, .swd-app button:focus-visible, .swd-app .swd-nav-item:focus, .swd-app .swd-nav-item:focus-visible { outline:none !important; box-shadow:none !important; }

.swd-app {
  position:fixed !important; top:0 !important; left:0 !important; right:0 !important; bottom:0 !important; height:100vh !important; height:100dvh !important; max-height:100dvh !important; width:100vw !important; z-index:999999 !important;
  background: radial-gradient(120% 120% at 100% 0%, var(--bg2) 0%, var(--bg) 45%);
  color:var(--text);
  display:grid !important; grid-template-columns: 288px minmax(0,1fr); grid-template-rows: minmax(0,1fr); overflow:hidden !important;
  direction:rtl; font-size:var(--swd-fs); line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
body.admin-bar .swd-app { top:32px; height:calc(100vh - 32px); height:calc(100dvh - 32px); }

html body .swd-app .swd-ambient { position:fixed; inset:0; pointer-events:none; overflow:hidden; z-index:0; }
html body .swd-app .swd-orb { position:absolute; border-radius:50%; filter:blur(70px); opacity:.55; animation:swd-float 18s ease-in-out infinite; will-change:transform; }
html body .swd-app .swd-orb1 { width:46vw; height:46vw; background:radial-gradient(circle at 30% 30%, var(--brand), transparent 70%); top:-10vw; right:-6vw; }
html body .swd-app .swd-orb2 { width:40vw; height:40vw; background:radial-gradient(circle at 70% 70%, var(--orb2), transparent 70%); bottom:-12vw; left:-8vw; animation-delay:-6s; animation:swd-float 18s ease-in-out infinite, swd-orb2-drift 22s ease-in-out infinite; }
html body .swd-app .swd-orb3 { width:30vw; height:30vw; background:radial-gradient(circle at 50% 50%, var(--orb3), transparent 70%); top:40%; left:40%; animation-delay:-12s; opacity:.35; animation:swd-float 18s ease-in-out infinite, swd-orb3-pulse 16s ease-in-out infinite; }
html body .swd-app .swd-grid { position:absolute; inset:0; opacity:.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%); }
@keyframes swd-float{ 0%,100%{ transform:translate(0,0) scale(1);} 33%{ transform:translate(3vw,-2vw) scale(1.06);} 66%{ transform:translate(-2vw,2vw) scale(.96);} }
@keyframes swd-orb2-drift{ 0%,100%{ translate:0 0; } 50%{ translate:6vw -4vw; } }
@keyframes swd-orb3-pulse{ 0%,100%{ scale:1; opacity:.35; } 50%{ scale:1.3; opacity:.5; } }
@media (prefers-reduced-motion: reduce){ .swd-orb{ animation:none !important; } }

html body .swd-app .swd-sidebar {
  position:relative; z-index:3; display:flex; flex-direction:column; gap:8px;
  padding:22px 18px;
  background: linear-gradient(180deg, var(--surface), var(--surface));
  backdrop-filter: blur(22px) saturate(1.3);
  border-left:1px solid var(--line);
  box-shadow: var(--shadow);
}

.swd-app.swd-layout-floating .swd-sidebar {
  margin:15px 15px 15px 0;
  border-radius:var(--swd-sidebar-radius, 14px);
  box-shadow: var(--float-shadow);
  border-left:none;
  border:1px solid var(--line);
}
html body .swd-app .swd-side-top { display:flex; flex-direction:column; align-items:center; gap:8px; padding:10px 0 18px; }
html body .swd-app .swd-avatar-ring { position:relative; width:88px; height:88px; display:grid; place-items:center; border-radius:50%; }
html body .swd-app .swd-avatar-ring::before { content:""; position:absolute; inset:-4px; border-radius:50%; background: conic-gradient(from 0deg, var(--brand), transparent 40%, var(--brand-deep) 60%, transparent 80%, var(--brand)); filter: blur(8px); opacity:.7; animation: swd-aurora 8s ease-in-out infinite; z-index:0; }
html body .swd-app .swd-avatar-ring::after { content:""; position:absolute; inset:-2px; border-radius:50%; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--brand) 40%, transparent), transparent 70%); filter: blur(4px); animation: swd-aurora-pulse 4s ease-in-out infinite alternate; z-index:0; }

html body .swd-app .swd-avatar-ring.swd-avatar-anim-off::before { animation:none !important; opacity:0 !important; }
html body .swd-app .swd-avatar-ring.swd-avatar-anim-off::after { animation:none !important; opacity:0 !important; }
@keyframes swd-aurora{ 0%,100%{ transform: rotate(0deg) scale(1); opacity:.5; } 50%{ transform: rotate(180deg) scale(1.08); opacity:.8; } }
@keyframes swd-aurora-pulse{ 0%{ opacity:.3; transform: scale(.95); } 100%{ opacity:.6; transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce){ .swd-avatar-ring::before, .swd-avatar-ring::after{ animation:none; } }
@keyframes swd-spin{ to{ transform:rotate(360deg);} }
html body .swd-app .swd-avatar { position:relative; z-index:1; width:80px; height:80px; border-radius:50%; overflow:hidden; display:grid; place-items:center; background:var(--brand-soft); }
html body .swd-app .swd-avatar img, html body .swd-app .swd-svg-avatar { width:100%; height:100%; display:block; border-radius:50%; }

html body .swd-app .swd-side-name { font-weight: var(--fw-side-name, 600); font-size:var(--fs-side-name); letter-spacing:-.01em; }
html body .swd-app .swd-side-role { font-size:var(--fs-side-role); color:var(--muted); word-break:break-all; text-align:center; font-weight:var(--fw-side-role, 600);}

html body .swd-app .swd-nav { display:flex; flex-direction:column; gap:6px; flex:1; position:relative; padding-inline-start:8px; overflow-y:auto; overflow-x:hidden; scrollbar-width:none; -ms-overflow-style:none; }
html body .swd-app .swd-nav::-webkit-scrollbar { display:none; }
html body .swd-app .swd-nav-bg { position:absolute; left:0; top:0; width:0; height:0; border-radius:16px; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); opacity:0; z-index:0; pointer-events:none; box-shadow: 0 4px 12px -6px var(--brand); transition: transform .42s cubic-bezier(.22,1,.36,1), width .42s cubic-bezier(.22,1,.36,1), height .42s cubic-bezier(.22,1,.36,1), opacity .3s; }
html body .swd-app .swd-nav-line { position:absolute; right:0; top:0; width:4px; height:0; border-radius:999px; background: linear-gradient(180deg, var(--brand), var(--brand-deep)); opacity:0; transition: transform .4s cubic-bezier(.22,1,.36,1), height .4s cubic-bezier(.22,1,.36,1), opacity .3s; z-index:3; pointer-events:none; }
html body .swd-app .swd-nav-fill { position:absolute; left:50%; top:50%; width:100%; height:100%; transform: translate(-50%,-50%) scale(0); border-radius:inherit; background: var(--brand); opacity:.3; pointer-events:none; z-index:0; animation: swd-nav-fill .5s ease-out forwards; }
@keyframes swd-nav-fill{ to{ transform: translate(-50%,-50%) scale(1); opacity:0; } }
html body .swd-app .swd-nav-item {
  position:relative; z-index:1; display:flex; align-items:center; gap:12px; width:100%;
  padding:12px 14px; border:none; background:transparent; color:var(--muted);
  font-weight: var(--fw-nav-item, 600); font-size:var(--fs-nav-item); border-radius:16px; cursor:pointer; overflow:hidden;
  -webkit-tap-highlight-color:transparent; -webkit-touch-callout:none; outline:none !important;
  transition: color .4s cubic-bezier(.22,1,.36,1), background .4s cubic-bezier(.22,1,.36,1);
}
html body .swd-app .swd-nav-item > :not(.swd-nav-fill) { position:relative; z-index:1; }
html body .swd-app .swd-nav-item svg { width:19px; height:19px; stroke-width:2.2; transition: transform .4s; overflow:visible; display:block; flex:0 0 auto; }
html body .swd-app .swd-nav-item:hover { color:var(--nav-hover); background:var(--brand-soft); }
html body .swd-app .swd-nav-item.is-active:hover { color:var(--text-on-brand); background:transparent; }
html body .swd-app .swd-nav-item:hover svg { transform: rotate(-8deg) scale(1.12); }
html body .swd-app .swd-nav-item.is-active:hover svg { transform:none; }
html body .swd-app .swd-nav-item.is-active { color:var(--text-on-brand); background:transparent; box-shadow:none; }
html body .swd-app .swd-nav-item.is-active svg { stroke-width:2.4; }
html body .swd-app .swd-nav-item.has-alert { overflow:visible; }

html body .swd-app .swd-nav-badge { flex:0 0 auto; margin-inline-start:4px; margin-inline-end:0; padding:2px 8px; border-radius:99px; background:var(--support-alert); color:#fff; font-size:var(--fs-badge); font-weight: var(--fw-badge, 500); white-space:nowrap; }

@media (max-width:980px){ .swd-nav-badge{ display:none; } html body .swd-app .swd-nav-item.has-alert { overflow:hidden; } }

html body .swd-app .swd-side-bottom { position:relative; display:flex; flex-direction:column; gap:10px; padding-top:14px; border-top:1px solid var(--line); }
html body .swd-app .swd-side-bottom-row { display:flex; align-items:center; gap:8px; }
html body .swd-app .swd-logout-btn { flex:1; display:inline-flex; align-items:center; justify-content:center; gap:8px; height:44px; border-radius:14px; border:var(--button-border-width,1px) solid var(--line); background:var(--surface); color:var(--danger); cursor:pointer; font-weight: var(--fw-button-small, 600); font-size:var(--fs-button-small); transition: all .4s cubic-bezier(.22,1,.36,1); position:relative; overflow:hidden; }
html body .swd-app .swd-logout-btn svg { width:17px; height:17px; }
html body .swd-app .swd-logout-btn:hover { border-color:color-mix(in srgb, var(--danger) 74%, transparent); }
html body .swd-app .swd-content.is-logout-blur { filter: blur(6px); pointer-events:none; user-select:none; transition: filter .3s ease; }
html body .swd-app .swd-content.is-page-blur > :not(.swd-page-loader) { filter: blur(3px); pointer-events:none; user-select:none; transition: filter .25s ease; }
html body .swd-app .swd-logout-btn.is-confirming { justify-content:space-between; padding:0 4px; gap:4px; border-color:var(--danger); background:linear-gradient(135deg, color-mix(in srgb, var(--danger) 12%, transparent), color-mix(in srgb, var(--danger-deep) 8%, transparent)); }
html body .swd-app .swd-logout-btn .swd-logout-confirm-text { font-size:var(--fs-button-small); white-space:nowrap; font-weight:var(--fw-button-small, 600);}
html body .swd-app .swd-logout-btn .swd-logout-confirm-yes { height:34px; min-width:42px; border-radius:10px; border:none; background:linear-gradient(135deg,var(--danger),var(--danger-deep)); color:var(--text-on-danger); cursor:pointer; font-weight: var(--fw-button-small, 800); font-size:var(--fs-button-small); display:inline-flex; align-items:center; justify-content:center; gap:3px; transition: transform .3s; box-shadow:0 4px 12px -4px var(--danger); padding:0 8px; user-select:none; }
html body .swd-app .swd-logout-btn .swd-logout-confirm-yes:hover { transform: scale(1.08); }
html body .swd-app .swd-logout-btn .swd-logout-confirm-yes svg { width:14px; height:14px; }
html body .swd-app .swd-logout-btn .swd-logout-cancel { width:34px; height:34px; border-radius:10px; border:none; background:color-mix(in srgb, var(--surface-solid) 15%, transparent); color:var(--text); cursor:pointer; display:grid; place-items:center; transition: background .3s; flex:0 0 auto; padding:0; user-select:none; }
html body .swd-app .swd-logout-btn .swd-logout-cancel:hover { background:color-mix(in srgb, var(--surface-solid) 30%, transparent); }
html body .swd-app .swd-logout-btn .swd-logout-cancel svg { width:14px; height:14px; }
html body .swd-app .swd-back-site { width:100%; height:44px; display:inline-flex; align-items:center; justify-content:center; gap:8px; font-size:var(--fs-button-small); font-weight: var(--fw-button-small, 600); border-radius:14px; border:var(--button-border-width,1px) solid var(--line); background:var(--surface); color:var(--text); cursor:pointer; transition: all .4s cubic-bezier(.22,1,.36,1); }
html body .swd-app .swd-back-site svg { width:17px; height:17px; }
html body .swd-app .swd-back-site:hover { background:var(--brand-soft); border-color:var(--brand); color:var(--brand-deep); transform: translateY(-2px); }

html body .swd-app .swd-theme-switch { width:75px; height:44px; border-radius:14px; border:var(--button-border-width,1px) solid var(--line); background:var(--surface); position:relative; cursor:pointer; padding:3px; transition: all .4s; flex:0 0 auto; overflow:hidden; }
html body .swd-app .swd-switch-thumb { position:absolute; top:3.7px; right:5px; width:35px; height:35px; border-radius:11px; background:linear-gradient(135deg,var(--brand),var(--brand-deep)); display:grid; place-items:center; transition: transform .45s cubic-bezier(.68,-.55,.27,1.55); }
html body .swd-app .swd-switch-thumb svg { width:16px; height:16px; color:var(--text-on-brand); position:absolute; transition: opacity .4s, transform .4s; }
.swd-app[data-theme="light"] .swd-icon-sun { opacity:1; transform:rotate(0) scale(1);} .swd-app[data-theme="light"] .swd-icon-moon{ opacity:0; transform:rotate(-90deg) scale(.4);}
.swd-app[data-theme="dark"] .swd-switch-thumb { transform:translateX(-28px); background:linear-gradient(135deg,var(--dt-switch-thumb),var(--dt-switch-thumb-deep)); }
.swd-app[data-theme="dark"] .swd-icon-sun { opacity:0; transform:rotate(90deg) scale(.4);} .swd-app[data-theme="dark"] .swd-icon-moon{ opacity:1; transform:rotate(0) scale(1); color:var(--dt-switch-icon);}

html body .swd-app .swd-content { position:relative; z-index:2; overflow:hidden !important; min-height:0 !important; min-width:0; height:100%; display:flex !important; flex-direction:column !important; }
html body .swd-app .swd-scroll { position:relative; flex:1 1 0; min-height:0 !important; min-width:0; overflow-y:auto !important; overflow-x:hidden !important; padding:34px 40px 90px; scroll-behavior:smooth; -webkit-overflow-scrolling:touch; }
html body .swd-app .swd-scroll::-webkit-scrollbar { width:0; display:none; }
html body .swd-app .swd-scroll { scrollbar-width:none; -ms-overflow-style:none; }
html body .swd-app .swd-scroll::after { display:none; }

html body .swd-app .swd-page { animation: swd-rise .5s cubic-bezier(.22,1,.36,1); }
@keyframes swd-rise{ from{ opacity:0; transform:translateY(14px);} to{ opacity:1; transform:none;} }
html body .swd-app .swd-page-head { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:24px; gap:16px; flex-wrap:wrap; }
html body .swd-app .swd-page-title { font-size:var(--fs-page-title); font-weight: var(--fw-page-title, 800); letter-spacing:-.02em; margin:0; }
html body .swd-app .swd-page-sub { color:var(--page-sub, var(--muted)); font-size:var(--fs-page-sub); margin:2px 0 0; font-weight:var(--fw-page-sub, 600);}
.swd-app[data-theme="dark"] .swd-page-sub { color:var(--page-sub, var(--muted)) !important; }
.swd-app[data-theme="light"] .swd-page-sub { color:var(--page-sub, var(--muted)) !important; }
html body .swd-app .swd-bento { display:grid; grid-template-columns: repeat(12, 1fr); gap:18px; }

html body .swd-app .swd-overview-page { } html body .swd-app .swd-orders-page { } html body .swd-app .swd-tracking-page { } html body .swd-app .swd-support-page { } html body .swd-app .swd-settings-page { } html body .swd-app .swd-notices-page { }

.swd-app:not([data-theme="dark"]) .swd-tracking-page .swd-select { background-color:var(--field-bg) !important; }

html body .swd-app .swd-ov-bento { grid-auto-flow:dense; } html body .swd-app .swd-ov-total { } html body .swd-app .swd-ov-last { } html body .swd-app .swd-ov-support { } html body .swd-app .swd-bestsellers { }
html body .swd-app .swd-card {
  background: var(--surface-solid);
  border:var(--section-border-width,1px) solid var(--line); border-radius:var(--swd-card-radius); padding:22px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 0 color-mix(in srgb, #fff 8%, transparent); transition: all .45s cubic-bezier(.22,1,.36,1); position:relative; overflow:hidden;
}
html body .swd-app .swd-card::before { content:""; position:absolute; inset:0; border-radius:inherit; background:linear-gradient(135deg, var(--brand-soft), transparent 60%); opacity:0; transition:opacity .45s; pointer-events:none; }
html body .swd-app .swd-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-soft); }
html body .swd-app .swd-overview-page .swd-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-soft); }
html body .swd-app .swd-card:hover::before { opacity:1; }

html body .swd-app .swd-stat { display:flex; align-items:center; gap:16px; grid-column: span 4; }
html body .swd-app .swd-stat-wide { grid-column: span 8; }
html body .swd-app .swd-stat-ic { flex:0 0 auto; width:54px; height:54px; border-radius:16px; display:grid; place-items:center; color: var(--c, var(--brand)); transition: transform .45s; }
html body .swd-app .swd-stat-ic svg { width:24px; height:24px; }
html body .swd-app .swd-card:hover .swd-stat-ic { transform: rotate(-8deg) scale(1.1); }
html body .swd-app .swd-stat-body { display:flex; flex-direction:column; gap:3px; min-width:0; }
html body .swd-app .swd-stat-label { font-size:var(--fs-stat-label); color:var(--muted); font-weight: var(--fw-stat-label, 600); }
html body .swd-app .swd-stat-value { font-size:var(--fs-stat-value); font-weight: var(--fw-stat-value, 800); letter-spacing:-.01em; }
.swd-stat-value .woocommerce-Price-amount,
.swd-stat-value .woocommerce-Price-currencySymbol,
html body .swd-app .swd-stat-value bdi { font-family: var(--font) !important; font-weight:inherit !important; font-size:inherit !important; color:inherit !important; }
html body .swd-app .swd-stat-value.sm { font-size:var(--fs-side-name); font-weight:var(--fw-side-name, 600);}
html body .swd-app .swd-stat-meta { font-size:var(--fs-stat-label); color:var(--muted); font-weight:var(--fw-stat-label, 600);}
html body .swd-app .swd-muted { color:var(--muted); font-weight: var(--fw-side-name, 600); font-size:var(--fs-side-name); }
html body .swd-app .swd-chip { display:inline-flex; align-items:center; padding:3px 10px; border-radius:999px; background:var(--brand-soft); color:var(--brand-deep); font-size:var(--fs-badge); font-weight: var(--fw-badge, 600); }
html body .swd-app .swd-chip.sm { padding:2px 8px; font-size:var(--fs-badge); font-weight:var(--fw-badge, 600);}
html body .swd-app .swd-progress { height:7px; border-radius:6px; background:var(--line); overflow:hidden; margin:6px 0; }
html body .swd-app .swd-progress span { display:block; height:100%; border-radius:6px; background:linear-gradient(90deg, var(--brand), var(--brand-deep)); animation: swd-grow 1.2s cubic-bezier(.22,1,.36,1); }
@keyframes swd-grow{ from{ width:0 !important;} }

html body .swd-app .swd-status-card.is-ok { border-color: color-mix(in srgb, var(--success) 35%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--success) 18%, transparent), inset 0 0 24px -8px rgba(46,204,113,.4); }
html body .swd-app .swd-status-card.swd-ov-support.is-ok { border-color: var(--line); box-shadow: var(--shadow-soft), inset 0 1px 0 0 color-mix(in srgb, #fff 8%, transparent); }
html body .swd-app .swd-status-card.is-bad { border-color: color-mix(in srgb, var(--danger) 35%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--danger) 18%, transparent), inset 0 0 24px -8px color-mix(in srgb, var(--danger) 35%, transparent); }
html body .swd-app .swd-status-card.is-ok .swd-stat-ic { color:var(--success); }
html body .swd-app .swd-status-card.is-bad .swd-stat-ic { color:var(--danger); }
html body .swd-app .swd-status-card.swd-ov-support .swd-stat-ic { color:var(--c, var(--brand)); }

html body .swd-app .swd-btn { display:inline-flex; align-items:center; gap:8px; border:none; cursor:pointer; font-weight:var(--fw-body); font-size:var(--swd-btn-fs); padding:11px 18px; border-radius:var(--swd-btn-radius); transition: all .4s cubic-bezier(.22,1,.36,1); position:relative; overflow:hidden; }
html body .swd-app .swd-btn svg { width:16px; height:16px; }
html body .swd-app .swd-btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color:var(--text-on-brand); }
html body .swd-app .swd-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px var(--brand); color:var(--text-on-brand) !important; }
html body .swd-app .swd-btn-primary:visited { color:var(--text-on-brand) !important; }
html body .swd-app .swd-btn-soft { background: var(--brand-soft); color: var(--brand-deep); }
.swd-app[data-theme="dark"] .swd-btn-soft { color: var(--brand); }
html body .swd-app .swd-btn-soft:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--brand) 30%, transparent); }
html body .swd-app .swd-btn-ghost { background: var(--surface); color: var(--text); border:var(--button-border-width,1px) solid var(--line); }
html body .swd-app .swd-btn-ghost:hover { border-color: var(--brand); transform: translateY(-2px); }
html body .swd-app .swd-btn-danger { background: color-mix(in srgb, var(--danger) 16%, transparent); color:var(--danger); border:1px solid color-mix(in srgb, var(--danger) 40%, transparent); }
.swd-app[data-theme="dark"] .swd-btn-danger { color:color-mix(in srgb, var(--danger) 70%, var(--text)); }
html body .swd-app .swd-btn-danger:hover { background:linear-gradient(135deg,var(--danger),var(--danger-deep)); color:var(--text-on-danger); border-color:transparent; transform: translateY(-2px); box-shadow:0 10px 24px -10px var(--danger); }
.swd-app[data-theme="dark"] .swd-btn-danger:hover { color:var(--text-on-danger); }
html body .swd-app .swd-btn-mini { padding:15px 20px; font-size:var(--fs-button-small); margin-top:6px; font-weight:var(--fw-button-small, 600);}
html body .swd-app .swd-btn[disabled] { opacity:.45; cursor:not-allowed; }
html body .swd-app .swd-btn > * { position:relative; z-index:1; }
html body .swd-app .swd-btn::after { content:""; position:absolute; left:0; right:0; bottom:0; height:100%; transform: translateY(101%); background: linear-gradient(0deg, color-mix(in srgb, var(--surface-solid) 32%, transparent), color-mix(in srgb, var(--surface-solid) 0%, transparent)); opacity:0; transition: transform .42s cubic-bezier(.22,1,.36,1), opacity .42s; pointer-events:none; z-index:0; border-radius:inherit; }
html body .swd-app .swd-btn:hover::after { transform: translateY(0); opacity:1; }
.swd-app[data-theme="dark"] .swd-btn::after { background: transparent; }
html body .swd-app .swd-ripple { position:absolute; border-radius:50%; background:var(--ripple); transform:translate(-50%,-50%) scale(0); pointer-events:none; animation: swd-ripple .62s ease-out forwards; z-index:0; }
.swd-app[data-theme="dark"] .swd-ripple { background:var(--dt-ripple); }
@keyframes swd-ripple{ to{ transform:translate(-50%,-50%) scale(2.6); opacity:0; } }

html body .swd-app .swd-badge { display:inline-flex; align-items:center; padding:4px 12px; border-radius:999px; font-size:var(--fs-badge); font-weight: var(--fw-badge, 600); color: var(--c, var(--brand)); background: color-mix(in srgb, var(--c, var(--brand)) 16%, transparent); border:1px solid color-mix(in srgb, var(--c, var(--brand)) 35%, transparent); }

html body .swd-app .swd-badge.swd-os-completed { color: var(--os-completed-text, var(--c, var(--brand))); background: var(--os-completed-bg, color-mix(in srgb, var(--c, var(--brand)) 16%, transparent)); border-color: var(--os-completed-border, color-mix(in srgb, var(--c, var(--brand)) 35%, transparent)); }
html body .swd-app .swd-badge.swd-os-processing { color: var(--os-processing-text, var(--c, var(--brand))); background: var(--os-processing-bg, color-mix(in srgb, var(--c, var(--brand)) 16%, transparent)); border-color: var(--os-processing-border, color-mix(in srgb, var(--c, var(--brand)) 35%, transparent)); }
html body .swd-app .swd-badge.swd-os-pending { color: var(--os-pending-text, var(--c, var(--brand))); background: var(--os-pending-bg, color-mix(in srgb, var(--c, var(--brand)) 16%, transparent)); border-color: var(--os-pending-border, color-mix(in srgb, var(--c, var(--brand)) 35%, transparent)); }
html body .swd-app .swd-badge.swd-os-onhold { color: var(--os-onhold-text, var(--c, var(--brand))); background: var(--os-onhold-bg, color-mix(in srgb, var(--c, var(--brand)) 16%, transparent)); border-color: var(--os-onhold-border, color-mix(in srgb, var(--c, var(--brand)) 35%, transparent)); }
html body .swd-app .swd-badge.swd-os-cancelled { color: var(--os-cancelled-text, var(--c, var(--brand))); background: var(--os-cancelled-bg, color-mix(in srgb, var(--c, var(--brand)) 16%, transparent)); border-color: var(--os-cancelled-border, color-mix(in srgb, var(--c, var(--brand)) 35%, transparent)); }
html body .swd-app .swd-badge.swd-os-refunded { color: var(--os-refunded-text, var(--c, var(--brand))); background: var(--os-refunded-bg, color-mix(in srgb, var(--c, var(--brand)) 16%, transparent)); border-color: var(--os-refunded-border, color-mix(in srgb, var(--c, var(--brand)) 35%, transparent)); }
html body .swd-app .swd-badge.swd-os-failed { color: var(--os-failed-text, var(--c, var(--brand))); background: var(--os-failed-bg, color-mix(in srgb, var(--c, var(--brand)) 16%, transparent)); border-color: var(--os-failed-border, color-mix(in srgb, var(--c, var(--brand)) 35%, transparent)); }
html body .swd-app .swd-badge.swd-os-default { color: var(--os-default-text, var(--c, var(--brand))); background: var(--os-default-bg, color-mix(in srgb, var(--c, var(--brand)) 16%, transparent)); border-color: var(--os-default-border, color-mix(in srgb, var(--c, var(--brand)) 35%, transparent)); }

html body .swd-app .swd-chat-actions .swd-badge { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; height:44px; min-height:44px; padding:0 16px; font-size:var(--swd-btn-fs); line-height:1; border-radius:var(--swd-btn-radius); font-weight:var(--fw-body); white-space:nowrap; }
html body .swd-app .swd-chat-actions .swd-btn { height:44px; min-height:44px; box-sizing:border-box; }

html body .swd-app .swd-field { display:flex; flex-direction:column; gap:6px; transition: opacity .3s ease; }
html body .swd-app .swd-field > span, html body .swd-app .swd-field label { font-size:var(--fs-detail-label); font-weight: var(--fw-detail-label, 600); color:var(--muted); }
html body .swd-app .swd-input, html body .swd-app .swd-select { width:100%; padding:11px 14px; border-radius:13px; border:var(--field-border-width,1px) solid var(--field-border) !important; background-color:var(--field-bg) !important; color:var(--text) !important; -webkit-text-fill-color:var(--text) !important; font-family:var(--font); font-size:var(--fs-input); transition: all .35s; font-weight:var(--fw-input, 600);}

html body .swd-app[data-theme="light"] .swd-settings-page .swd-input,
html body .swd-app[data-theme="light"] .swd-settings-page .swd-select { border-color:var(--field-border) !important; }
html body .swd-app .swd-input::placeholder, textarea.swd-input::placeholder { color:var(--muted); -webkit-text-fill-color:var(--muted); }
.swd-app[data-theme="light"] .swd-input, .swd-app[data-theme="light"] .swd-select, .swd-app[data-theme="light"] .swd-dd-trigger, .swd-app[data-theme="light"] .swd-dd-label, .swd-app[data-theme="light"] .swd-dd-opt { color:var(--text) !important; -webkit-text-fill-color:var(--text) !important; }
.swd-app[data-theme="dark"] .swd-input, .swd-app[data-theme="dark"] .swd-select, .swd-app[data-theme="dark"] .swd-dd-trigger, .swd-app[data-theme="dark"] .swd-dd-label, .swd-app[data-theme="dark"] .swd-dd-opt { color:var(--text) !important; -webkit-text-fill-color:var(--text) !important; }
.swd-app[data-theme="light"] input:-webkit-autofill, .swd-app[data-theme="light"] textarea:-webkit-autofill { -webkit-text-fill-color:var(--text) !important; -webkit-box-shadow:0 0 0 1000px var(--field-bg) inset !important; }
.swd-app[data-theme="dark"] input:-webkit-autofill, .swd-app[data-theme="dark"] textarea:-webkit-autofill { -webkit-text-fill-color:var(--text) !important; -webkit-box-shadow:0 0 0 1000px var(--field-bg) inset !important; }
html body .swd-app .swd-input:focus, html body .swd-app .swd-select:focus { outline:none; border-color:var(--swd-field-border-focus, var(--brand)) !important; box-shadow: 0 0 0 4px var(--brand-soft), 0 8px 24px -8px var(--brand-soft); transform: translateY(-1px); }

.swd-ticket-new:has(.swd-input:focus, .swd-select:focus, textarea:focus) .swd-field:not(:has(:focus))
, .swd-settings-page:has(.swd-input:focus, .swd-select:focus, textarea:focus) .swd-field:not(:has(:focus))
, form:has(.swd-input:focus, .swd-select:focus, textarea:focus) .swd-field:not(:has(:focus))
 { opacity:.45; }
.swd-ticket-new:has(.swd-input:focus, .swd-select:focus, textarea:focus)
, .swd-settings-page:has(.swd-input:focus, .swd-select:focus, textarea:focus)
, form:has(:focus)
 { transition: opacity .3s; }
.swd-input:focus, .swd-select:focus, textarea.swd-input:focus
 { box-shadow: 0 0 0 4px var(--brand-soft), 0 0 24px -4px color-mix(in srgb, var(--brand) 30%, transparent) !important; }
html body .swd-app .swd-textarea { resize:vertical; min-height:90px; }
.swd-app .swd-settings-page select, .swd-app .swd-tracking-page select, .swd-app .swd-ticket-new select { background-color:var(--field-bg) !important; border:var(--field-border-width,1px) solid var(--field-border) !important; color:var(--text) !important; -webkit-text-fill-color:var(--text) !important; border-radius:13px !important; font-family:var(--font) !important; font-size:var(--fs-input) !important; font-weight:var(--fw-input, 600);}
.swd-app .swd-settings-page input[type="text"], .swd-app .swd-settings-page input[type="email"], .swd-app .swd-settings-page input[type="password"], .swd-app .swd-settings-page input[type="tel"], .swd-app .swd-settings-page input[type="number"], .swd-app .swd-settings-page textarea { background-color:var(--field-bg) !important; border:var(--field-border-width,1px) solid var(--field-border) !important; color:var(--text) !important; -webkit-text-fill-color:var(--text) !important; border-radius:13px !important; font-family:var(--font) !important; font-size:var(--fs-bubble) !important; font-weight:var(--fw-bubble, 600);}
.swd-app .swd-settings-page input:focus, .swd-app .swd-settings-page select:focus, .swd-app .swd-settings-page textarea:focus, .swd-app .swd-tracking-page select:focus, .swd-app .swd-ticket-new select:focus { border-color:var(--swd-field-border-focus, var(--brand)) !important; box-shadow: 0 0 0 4px var(--brand-soft); }

html body .swd-app .swd-addr-slot { width:100%; min-width:0; }

html body .swd-app .swd-select { appearance:none !important; -webkit-appearance:none !important; -moz-appearance:none !important; cursor:pointer; padding-inline-end:42px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237ae2cf' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important; background-repeat:no-repeat !important; background-position:left 14px center !important; background-size:16px !important; }
.swd-app[data-theme="dark"] .swd-select { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237ae2cf' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important; }
.swd-app select, .swd-app .swd-select { appearance:none !important; -webkit-appearance:none !important; -moz-appearance:none !important; cursor:pointer !important; }
html body .swd-app .swd-select option { color:var(--text) !important; background:var(--field-bg) !important; }
html body .swd-app .swd-select:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)) !important; }

html body .swd-app .swd-select { padding-inline-end:42px !important; }

html body .swd-app .swd-dd > select.swd-select { position:absolute; top:0; right:0; left:0; width:100%; height:100%; opacity:0; padding:0 !important; margin:0 !important; border:0 !important; background:none !important; background-image:none !important; pointer-events:none !important; }

html body .swd-app .swd-dd { position:relative; width:100%; }

html body .swd-app .swd-dd-trigger { position:relative; z-index:2; width:100%; height:48px; padding:0 14px; display:flex; align-items:center; justify-content:space-between; gap:8px; border-radius:13px; border:var(--field-border-width,1px) solid var(--field-border) !important; background-color:var(--field-bg) !important; color:var(--text); cursor:pointer; font-family:var(--font); font-size:var(--fs-input); font-weight: var(--fw-input, 600); text-align:right; transition: border-color .3s, box-shadow .3s, transform .3s; }
html body .swd-app .swd-dd-trigger:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); }
html body .swd-app .swd-dd.is-open .swd-dd-trigger { border-color:var(--swd-field-border-focus, var(--brand)); box-shadow:0 0 0 4px var(--brand-soft); transform: translateY(-1px); }
html body .swd-app .swd-dd-chevron { width:18px; height:18px; flex:0 0 auto; display:grid; place-items:center; color:var(--brand-deep); transition: transform .35s cubic-bezier(.22,1,.36,1); }
html body .swd-app .swd-dd-chevron::before { content:""; width:9px; height:9px; border-right:2.4px solid currentColor; border-bottom:2.4px solid currentColor; transform: rotate(45deg) translate(-1px,-1px); }
html body .swd-app .swd-dd.is-open .swd-dd-chevron { transform: rotate(180deg); }
html body .swd-app .swd-dd-list { position:absolute; top:calc(100% + 6px); right:0; left:0; max-height:0; overflow:hidden; opacity:0; transform:translateY(-8px) scale(.98); transform-origin:top; background:var(--field-bg); border:var(--field-border-width,1px) solid var(--field-border) !important; border-radius:13px; box-shadow: var(--shadow); z-index:40; transition: max-height .35s cubic-bezier(.22,1,.36,1), opacity .28s, transform .32s cubic-bezier(.22,1,.36,1); }
html body .swd-app .swd-dd.is-open .swd-dd-list { max-height:280px; overflow-y:auto; opacity:1; transform:none; scrollbar-width:none; -ms-overflow-style:none; }
html body .swd-app .swd-dd.is-open .swd-dd-list::-webkit-scrollbar { display:none; }
html body .swd-app .swd-dd-opt { padding:11px 14px; cursor:pointer; font-size:var(--fs-input); color:var(--text); opacity:0; transform:translateX(10px); transition: background .2s, color .2s; font-weight:var(--fw-input, 600);}
html body .swd-app .swd-dd.is-open .swd-dd-opt { animation: swd-dd-in .32s forwards; }
html body .swd-app .swd-dd.is-open .swd-dd-opt:nth-child(1) { animation-delay:.02s; } html body .swd-app .swd-dd.is-open .swd-dd-opt:nth-child(2) { animation-delay:.05s; } html body .swd-app .swd-dd.is-open .swd-dd-opt:nth-child(3) { animation-delay:.08s; } html body .swd-app .swd-dd.is-open .swd-dd-opt:nth-child(4) { animation-delay:.11s; } html body .swd-app .swd-dd.is-open .swd-dd-opt:nth-child(5) { animation-delay:.14s; } html body .swd-app .swd-dd.is-open .swd-dd-opt:nth-child(n+6) { animation-delay:.17s; }
@keyframes swd-dd-in{ to{ opacity:1; transform:none; } }
html body .swd-app .swd-dd-opt:hover, html body .swd-app .swd-dd-opt.is-selected { background:var(--brand-soft); color:var(--brand-deep); }
.swd-app[data-theme="dark"] .swd-dd-opt { color:var(--text); }
.swd-app[data-theme="dark"] .swd-dd-opt:hover, .swd-app[data-theme="dark"] .swd-dd-opt.is-selected { color:var(--brand); }

html body .swd-app .swd-btn.swd-fit { align-self:flex-start; width:auto; }
.swd-app[data-theme="dark"] .swd-btn-soft.swd-support-new { color:var(--btn-soft-text); background: color-mix(in srgb, var(--brand) 24%, transparent); }
.swd-app[data-theme="dark"] .swd-support-new { color:var(--btn-soft-text) !important; }
.swd-app[data-theme="dark"] .swd-support-new svg { stroke:var(--btn-soft-text) !important; }

html body .swd-app .swd-order-list { display:flex; flex-direction:column; gap:14px; }
html body .swd-app .swd-order-row { display:grid; grid-template-columns: 1fr auto; gap:18px; align-items:start; padding:16px 20px; transition: box-shadow .5s cubic-bezier(.22,1,.36,1), border-color .5s cubic-bezier(.22,1,.36,1); }
html body .swd-app .swd-order-row:hover { transform:none !important;  }
html body .swd-app .swd-order-row:hover::before { opacity:0; }
html body .swd-app .swd-img-stack { display:flex; align-items:center; height:36px; padding-inline-start:2px; }
html body .swd-app .swd-stack-item { width:34px; height:34px; flex:0 0 auto; border-radius:50%; border:2px solid var(--surface-solid); overflow:hidden; box-shadow: var(--shadow-soft); background:var(--surface-solid); margin-inline-start:-10px; transition: margin .4s cubic-bezier(.22,1,.36,1); }
html body .swd-app .swd-stack-item:first-child { margin-inline-start:0; }
html body .swd-app .swd-stack-item img { width:100%; height:100%; object-fit:cover; }
html body .swd-app .swd-img-stack:hover .swd-stack-item { margin-inline-start:2px; transform:none; }
html body .swd-app .swd-img-stack:hover .swd-stack-item:first-child { margin-inline-start:0; }
html body .swd-app .swd-stack-more { flex:0 0 auto; margin-inline-start:4px; font-size:var(--fs-stack-more); font-weight: var(--fw-stack-more, 800); color:var(--muted); }
html body .swd-app .swd-order-main { min-width:0; }
html body .swd-app .swd-order-top { display:flex; align-items:center; gap:10px; margin-bottom:10px; flex-wrap:wrap; }
html body .swd-app .swd-order-name { font-weight: var(--fw-order-name, 800); font-size:var(--fs-order-name); }
html body .swd-app .swd-order-top .swd-badge { margin-inline-start:auto; }
html body .swd-app .swd-order-items { display:flex; flex-direction:column; gap:8px; }
html body .swd-app .swd-oi { display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; padding:8px 10px; border-radius:13px; background:var(--brand-soft); transition: all .35s; }
html body .swd-app .swd-oi:hover { transform: translateX(-4px); }
html body .swd-app .swd-oi img { width:42px; height:42px; border-radius:10px; object-fit:cover; }
html body .swd-app .swd-oi-info { display:flex; flex-direction:column; gap:2px; min-width:0; }
html body .swd-app .swd-oi-name { font-weight: var(--fw-order-item-name, 600); font-size:var(--fs-order-item-name); display:flex; align-items:center; gap:6px; }
html body .swd-app .swd-oi-type { width:13px; height:13px; color:var(--brand-deep); }
html body .swd-app .swd-oi-qty { font-size:var(--fs-order-item-qty); color:var(--muted); font-weight:var(--fw-order-item-qty, 600);}
html body .swd-app .swd-oi-price { text-align:left; }
html body .swd-app .swd-oi-total { font-weight: var(--fw-order-item-total, 800); font-size:var(--fs-order-item-total); display:block; }
html body .swd-app .swd-oi-unit { font-size:var(--fs-order-item-qty); color:var(--muted); font-weight:var(--fw-order-item-qty, 600);}
html body .swd-app .swd-order-actions { display:flex; flex-direction:column; align-items:stretch; gap:8px; min-width:140px; }
html body .swd-app .swd-order-total { font-weight: var(--fw-order-total, 600); font-size:var(--fs-order-total); text-align:center; padding:6px 10px; border-radius:12px; }

html body .swd-app .swd-tracking { display:flex; flex-direction:column; gap:18px; }
html body .swd-app .swd-track-panel, html body .swd-app .swd-detail-panel { display:flex; flex-direction:column; gap:18px; }
html body .swd-app .swd-track-head { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
html body .swd-app .swd-track-head h3 { margin:0; font-size:var(--fs-section-head); font-weight: var(--fw-section-head, 800); }
html body .swd-app .swd-timeline { display:flex; gap:0; position:relative; padding:14px 0 30px; }
html body .swd-app .swd-timeline::before { content:""; position:absolute; top:34px; right:28px; left:28px; height:4px; border-radius:4px; background:var(--line); }
html body .swd-app .swd-timeline::after { content:""; position:absolute; top:34px; right:28px; left:28px; height:4px; border-radius:4px; background:linear-gradient(90deg, var(--brand-deep), var(--brand), var(--brand-deep)); background-size:200% 100%; width:auto; transform-origin:right center; transform:scaleX(var(--swd-track-progress-scale, 0)); transition: transform .9s cubic-bezier(.22,1,.36,1); animation: swd-track-flow 2.6s linear infinite; box-shadow:0 0 12px var(--brand); }
@keyframes swd-track-flow{ 0%{ background-position:100% 0; } 100%{ background-position:-100% 0; } }
html body .swd-app .swd-step { flex:1; display:flex; flex-direction:column; align-items:center; gap:10px; position:relative; z-index:2; opacity:0; transform: translateY(10px) scale(.9); animation: swd-step-pop .5s cubic-bezier(.22,1.4,.36,1) forwards; animation-delay: calc(var(--i,0) * .12s); }
@keyframes swd-step-pop{ to{ opacity:1; transform:none; } }
html body .swd-app .swd-step-dot { position:relative; width:42px; height:42px; border-radius:50%; background:var(--surface-solid); border:3px solid var(--line); display:grid; place-items:center; color:var(--muted); transition: all .5s; }
html body .swd-app .swd-step-dot svg { width:18px; height:18px; }
html body .swd-app .swd-step.is-active .swd-step-dot { border-color:var(--brand); background:var(--surface-solid); color:var(--brand-deep); }
html body .swd-app .swd-step.is-current .swd-step-dot { border-color:var(--brand); background: linear-gradient(135deg,var(--brand),var(--brand-deep)); color:var(--text-on-brand); box-shadow:0 0 0 6px var(--brand-soft); animation: swd-pulse 1.6s ease-in-out infinite; }
html body .swd-app .swd-step.is-current .swd-step-dot::after { content:""; position:absolute; width:42px; height:42px; border-radius:50%; border:2px solid var(--brand); opacity:0; animation: swd-ring 1.8s ease-out infinite; }
@keyframes swd-ring{ 0%{ transform:scale(1); opacity:.7; } 100%{ transform:scale(1.9); opacity:0; } }
@keyframes swd-pulse{ 0%,100%{ box-shadow:0 0 0 6px var(--brand-soft);} 50%{ box-shadow:0 0 0 12px transparent;} }

html body .swd-app .swd-step.is-current .swd-step-dot svg { animation: swd-spin 2s linear infinite; }
html body .swd-app .swd-step-label { font-size:var(--fs-step-label); font-weight: var(--fw-step-label, 600); color:var(--muted); text-align:center; transition: color .4s; }
html body .swd-app .swd-step.is-active .swd-step-label { color:var(--text); }
html body .swd-app .swd-step.is-current .swd-step-label { color:var(--brand-deep); }

@media (max-width:768px){
  html body .swd-app .swd-timeline {
    overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding:14px 0 10px;
  }
  html body .swd-app .swd-timeline::-webkit-scrollbar { display:none; }
  html body .swd-app .swd-step { min-width:0; animation-delay: calc(var(--i,0) * .08s); }
  html body .swd-app .swd-step-label {
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%;
    font-size:var(--fs-step-label, 11px); font-weight:var(--fw-step-label, 600);}
  html body .swd-app .swd-track-info { grid-template-columns:repeat(2,1fr); }
}
html body .swd-app .swd-track-info { display:grid; grid-template-columns: repeat(3,1fr); gap:12px; }
html body .swd-app .swd-track-info > div { display:flex; flex-direction:column; gap:3px; padding:14px; border-radius:14px; background:var(--surface-solid); border:var(--section-border-width,1px) solid var(--line); box-shadow: var(--shadow-soft); }
html body .swd-app .swd-track-info > div > span { font-size:var(--fs-track-info); color:var(--muted); font-weight:var(--fw-track-info, 600);}
html body .swd-app .swd-track-info strong { font-weight:var(--fw-heading); color:var(--text); }
html body .swd-app .swd-track-info > div > strong .woocommerce-Price-amount,
html body .swd-app .swd-track-info > div > strong .woocommerce-Price-currencySymbol,
html body .swd-app .swd-track-info > div > strong bdi { font-family: var(--font) !important; font-weight:inherit !important; font-size:inherit !important; color:inherit !important; }
html body .swd-app .swd-track-addr { grid-column: 1 / -1; }
html body .swd-app .swd-track-addr strong { line-height:1.8; }

html body .swd-app .swd-dl-panel { padding:8px 0; }
html body .swd-app .swd-dl-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; flex-wrap:wrap; }
html body .swd-app .swd-dl-head h3 { display:flex; align-items:center; gap:8px; margin:0 0 4px; font-size:var(--fs-section-head); font-weight: var(--fw-section-head, 800); }
html body .swd-app .swd-dl-head h3 svg { width:20px; height:20px; color:var(--brand-deep); }
html body .swd-app .swd-dl-list { display:flex; flex-direction:column; gap:12px; }
html body .swd-app .swd-dl-item { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px; border-radius:var(--card-radius); background:var(--surface-solid); border:var(--section-border-width,1px) solid var(--line); box-shadow: var(--shadow-soft); transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s, box-shadow .3s; }
html body .swd-app .swd-dl-item:hover { transform: translateX(-4px) scale(1.01); border-color: color-mix(in srgb,var(--brand) 30%,var(--line)); box-shadow: 0 12px 36px -14px rgba(15,23,42,.16); }
html body .swd-app .swd-dl-info { display:flex; align-items:center; gap:14px; min-width:0; flex:1; }
html body .swd-app .swd-dl-ic { flex:0 0 auto; width:52px; height:52px; border-radius:14px; display:grid; place-items:center; background:var(--brand-soft); color:var(--brand-deep); }
html body .swd-app .swd-dl-ic svg { width:24px; height:24px; }
html body .swd-app .swd-dl-name { font-weight: var(--fw-download-name, 800); font-size:var(--fs-download-name); color:var(--text); margin-bottom:2px; }
html body .swd-app .swd-dl-file { font-size:var(--fs-download-info); color:var(--muted); margin-bottom:6px; font-weight:var(--fw-download-info, 600);}
html body .swd-app .swd-dl-meta { display:flex; gap:8px; flex-wrap:wrap; }
html body .swd-app .swd-dl-tag { display:inline-flex; align-items:center; gap:4px; font-size:var(--fs-badge); padding:3px 8px; border-radius:8px; background:color-mix(in srgb,var(--text) 5%,transparent); color:var(--muted); font-weight:var(--fw-badge, 600);}
html body .swd-app .swd-dl-tag svg { width:13px; height:13px; }
html body .swd-app .swd-dl-btn { flex:0 0 auto; height:42px; text-decoration:none !important; color:var(--text-on-brand) !important; }
html body .swd-app .swd-dl-btn:hover { color:var(--text-on-brand) !important; }
html body .swd-app .swd-dl-btn:visited { color:var(--text-on-brand) !important; }
html body .swd-app .swd-empty-dl { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; padding:60px 20px; text-align:center; color:var(--muted); }
html body .swd-app .swd-empty-dl svg { color:var(--brand); width:100px; height:100px; margin-bottom:0; }
html body .swd-app .swd-empty-dl p { margin:0; font-size:var(--fs-empty-state); font-weight:var(--fw-empty-state, 600);}

html body .swd-app .swd-detail-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
html body .swd-app .swd-detail-box { display:flex; flex-direction:column; gap:3px; padding:14px; border-radius:14px; background:var(--surface-solid); border:var(--section-border-width,1px) solid var(--line); }
html body .swd-app .swd-detail-box > span { font-size:var(--fs-detail-label); color:var(--muted); font-weight:var(--fw-detail-label, 600);}
html body .swd-app .swd-detail-box > strong { font-size:var(--fs-detail-value, 13px); font-weight:var(--fw-detail-value, 700); }
html body .swd-app .swd-detail-addr { padding:14px; border-radius:14px; background:var(--surface-solid); border:1px solid color-mix(in srgb, var(--brand) 12%, transparent); color:var(--text); }
html body .swd-app .swd-detail-addr span { font-size:var(--fs-detail-label); color:var(--muted); font-weight: var(--fw-detail-label, 600); display:block; margin-bottom:4px; }
html body .swd-app .swd-detail-items { display:flex; flex-direction:column; gap:8px; }
html body .swd-app .swd-detail-item { display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; padding:10px; border-radius:13px; background:var(--surface-solid); border:var(--section-border-width,1px) solid var(--line); }
html body .swd-app .swd-detail-item img { width:48px; height:48px; border-radius:10px; object-fit:cover; }

html body .swd-app .swd-complete-card { flex-direction:column; align-items:stretch; gap:10px; }
.swd-complete-card .swd-complete-head,
html body .swd-app .swd-complete-card .swd-complete-body { width:100%; }
html body .swd-app .swd-complete-card .swd-complete-head { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:4px; }
html body .swd-app .swd-complete-card .swd-complete-title { display:flex; align-items:center; gap:12px; }
html body .swd-app .swd-complete-card .swd-complete-body { display:flex; flex-direction:column; gap:2px; padding-right:56px; }
html body .swd-app .swd-complete-ok { font-size:var(--fs-complete-ok); font-weight: var(--fw-complete-ok, 600); color:var(--success); }
html body .swd-app .swd-complete-ok.swd-complete-bad { color:var(--danger); }
html body .swd-app .swd-complete-copy { display:flex; flex-direction:column; gap:2px; }
html body .swd-app .swd-complete-card .swd-progress { margin:6px 0 4px; height:9px; }
html body .swd-app .swd-complete-card .swd-btn-mini { margin-top:0; }

html body .swd-app .swd-complete-card.is-ok { justify-content:center; }

html body .swd-app .swd-detail-actions { display:flex; gap:10px; flex-wrap:wrap; margin:6px 0 4px; }
html body .swd-app .swd-detail-items-head { font-size:var(--fs-detail-label); font-weight: var(--fw-detail-label, 800); color:var(--muted); padding:2px 2px 6px; }
html body .swd-app .swd-detail-totals { margin-top:10px; padding:14px 16px; border-radius:16px; background:var(--surface-solid); border:var(--section-border-width,1px) solid var(--line); display:flex; flex-direction:column; gap:6px; }
html body .swd-app .swd-totals-row { display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:var(--fs-totals-row); color:var(--muted); font-weight:var(--fw-totals-row, 600);}
html body .swd-app .swd-totals-row strong { font-weight:var(--fw-heading); color:var(--text); }
html body .swd-app .swd-totals-disc strong { color:var(--warning); }
html body .swd-app .swd-totals-wallet strong { color:var(--text); }
html body .swd-app .swd-totals-final { margin-top:6px; padding-top:10px; border-top:1px dashed var(--line); font-size:var(--fs-totals-final); font-weight:var(--fw-totals-final, 600);}
html body .swd-app .swd-totals-final strong { font-size:var(--fs-totals-final); color:var(--text); font-weight:var(--fw-totals-final, 800);}
html body .swd-app .swd-detail-addrs { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px; }
@media (max-width:600px){ .swd-detail-addrs{ grid-template-columns:1fr; } }
html body .swd-app .swd-detail-addr { display:flex; flex-direction:column; gap:4px; }
html body .swd-app .swd-detail-addr code { font-family:'Vazirmatn RD',monospace; font-weight:var(--fw-heading); color:var(--brand-deep); background:var(--brand-soft); padding:2px 8px; border-radius:8px; align-self:flex-start; }
html body .swd-app .swd-detail-note { margin-top:12px; padding:14px 16px; border-radius:16px; background:var(--brand-soft); border:1px solid color-mix(in srgb,var(--brand) 30%, transparent); }
html body .swd-app .swd-detail-note span { font-size:var(--fs-detail-label); font-weight: var(--fw-detail-label, 800); color:var(--brand-deep); display:flex; align-items:center; gap:6px; }
html body .swd-app .swd-detail-note span svg { width:15px; height:15px; }
html body .swd-app .swd-detail-note p { margin:6px 0 0; font-size:var(--fs-detail-note); line-height:1.8; color:var(--text); font-weight:var(--fw-detail-note, 600);}

html body .swd-app .swd-ticket-list { display:flex; flex-direction:column; gap:10px; position:relative; }
html body .swd-app .swd-ticket-list .swd-support-new { align-self:flex-start; width:auto; background:linear-gradient(135deg, var(--brand), var(--brand-deep)); color:var(--text-on-brand); box-shadow:0 8px 20px -8px var(--brand); }

html body .swd-app .swd-ticket-list-actions { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
html body .swd-app .swd-refresh-tickets-btn { min-width:44px; width:auto; height:44px; padding:0 14px; gap:6px; flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; border-radius:var(--btn-radius); }
html body .swd-app .swd-refresh-tickets-btn .swd-refresh-icon { display:grid; place-items:center; transition: transform .3s; }
html body .swd-app .swd-refresh-tickets-btn:hover .swd-refresh-icon { transform: rotate(-45deg); }
html body .swd-app .swd-refresh-tickets-btn.is-loading { pointer-events:none; opacity:.75; }
html body .swd-app .swd-refresh-tickets-btn.is-loading .swd-refresh-icon { animation: swd-spin .8s linear infinite; transform:none; }

html body .swd-app .swd-refresh-tickets-btn { background:var(--ticket-refresh-bg, var(--brand)) !important; color:var(--ticket-refresh-icon, var(--text-on-brand)) !important; }
html body .swd-app .swd-refresh-tickets-btn svg { stroke:var(--ticket-refresh-icon, currentColor) !important; }
html body .swd-app .swd-refresh-tickets-btn:hover { background:var(--ticket-refresh-hover-bg, var(--ticket-refresh-bg, var(--brand))) !important; color:var(--ticket-refresh-hover-icon, var(--ticket-refresh-icon, var(--text-on-brand))) !important; }
html body .swd-app .swd-refresh-tickets-btn:hover svg { stroke:var(--ticket-refresh-hover-icon, currentColor) !important; }
html body .swd-app .swd-refresh-tickets-btn.swd-refresh-pos-end { margin-inline-start:auto; }
html body .swd-app .swd-refresh-tickets-btn .swd-refresh-text { font-size:var(--fs-button-small); font-weight: var(--fw-button-small, 600); white-space:nowrap; }
html body .swd-app .swd-tickets-spinner-overlay { position:absolute; inset:0; z-index:12; display:grid; place-items:center; border-radius:inherit; background:color-mix(in srgb, var(--surface) 70%, transparent); backdrop-filter:blur(2px); }
html body .swd-app .swd-tickets-spinner-overlay .swd-loader { width:36px; height:36px; }
html body .swd-app .swd-ticket-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto auto auto; gap:10px; align-items:center; padding:14px 18px; cursor:pointer; text-align:right; width:100%; border:var(--section-border-width,1px) solid var(--line); background:var(--surface-solid); transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, border-color .3s; }
html body .swd-app .swd-ticket-row:hover { transform: translateX(-6px) scale(1.015); box-shadow: var(--shadow); border-color:var(--brand-soft); }
html body .swd-app .swd-ticket-ic { width:46px; height:46px; border-radius:13px; display:grid; place-items:center; color:var(--ic-c, var(--c)); background:var(--ic-bg, transparent); flex-shrink:0; }
html body .swd-app .swd-ticket-ic svg { width:22px; height:22px; }
html body .swd-app .swd-ticket-main { display:flex; flex-direction:column; gap:2px; min-width:0; overflow:hidden; }
html body .swd-app .swd-ticket-subject { font-size:var(--fs-ticket-subject); font-weight: var(--fw-ticket-subject, 800); color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.swd-app[data-theme="dark"] .swd-ticket-subject { color:var(--ticket-subject); }
html body .swd-app .swd-ticket-meta { font-size:var(--fs-ticket-meta); color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:var(--fw-ticket-meta, 600);}
html body .swd-app .swd-ticket-row .swd-badge { flex-shrink:0; white-space:nowrap; }
html body .swd-app .swd-ticket-chev { color:var(--muted); width:18px; height:18px; flex-shrink:0; }

html body .swd-app .swd-ticket-new { display:flex; flex-direction:column; gap:14px; }
html body .swd-app .swd-ticket-new-head { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
html body .swd-app .swd-ticket-new-head h3 { margin:0; }

html body .swd-app .swd-chat { display:flex; flex-direction:column; flex:1 1 auto; min-height:0; height:100%; max-height:calc(100dvh - 76px); }
html body.admin-bar .swd-app .swd-chat { max-height:calc(100dvh - 108px); }
html body .swd-app .swd-chat-head { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; padding-bottom:12px; border-bottom:none; }
html body .swd-app .swd-chat-head h3 { margin:0; font-size:var(--fs-chat-head); font-weight: var(--fw-chat-head, 800); }
html body .swd-app .swd-chat-actions { display:flex; align-items:center; gap:10px; }
html body .swd-app .swd-chat-body { flex:1 1 auto; min-height:0; overflow-y:auto; overflow-x:hidden; padding:18px; display:flex; flex-direction:column; gap:12px; scrollbar-width:none; scrollbar-color:transparent transparent; background: color-mix(in srgb, var(--surface-solid) 96%, var(--text)); border:var(--section-border-width,1px) solid var(--line); border-radius:18px; box-shadow:0 14px 34px -22px rgba(15,23,42,.28); -webkit-overflow-scrolling:touch; transition: scrollbar-color .3s; }

html body .swd-app .swd-chat-body > :first-child { margin-top:auto; }

html body .swd-app .swd-chat-body::-webkit-scrollbar { width:0; height:0; display:none; }
html body .swd-app .swd-chat-body { scrollbar-width:none; -ms-overflow-style:none; }

html body .swd-app[data-theme="light"] .swd-chat-body { box-shadow: -8px -8px 22px -10px rgba(15,23,42,.18), 0 14px 34px -22px rgba(15,23,42,.28); }
html body .swd-app .swd-bubble { max-width:72%; display:flex; flex-direction:column; gap:4px; animation: swd-rise .4s; }
html body .swd-app .swd-bubble.is-user { align-self:flex-start; }
html body .swd-app .swd-bubble.is-admin { align-self:flex-end; align-items:flex-end; }
html body .swd-app .swd-bubble-text { padding:0; font-size:var(--fs-bubble, 12px); font-weight:var(--fw-bubble, 500); line-height:1.7; word-break:break-word; }
html body .swd-app .swd-bubble.is-user .swd-bubble-body { background: var(--surface-solid); border:var(--section-border-width,1px) solid var(--line); color:var(--text); border-bottom-right-radius:5px; }
html body .swd-app .swd-bubble.is-admin .swd-bubble-body { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color:var(--text-on-brand); border-bottom-left-radius:5px; }
.swd-app[data-theme="dark"] .swd-bubble.is-admin .swd-bubble-body { color:var(--text-on-brand); }
html body .swd-app .swd-bubble-time { font-size:var(--fs-chat-time); color:var(--muted); padding:0 8px; font-weight:var(--fw-chat-time, 600);}
html body .swd-app .swd-bubble-name { font-size:var(--fs-chat-name); font-weight: var(--fw-chat-name, 500); padding:0 2px; color:var(--brand); }

html body .swd-app[data-theme="light"] .swd-bubble-name { color:var(--text); }
html body .swd-app .swd-bubble-header { display:flex; align-items:center; gap:2px; padding:0 8px; }
html body .swd-app .swd-bubble-avatar { width:28px; height:28px; border-radius:50%; overflow:hidden; flex:0 0 auto; display:flex; align-items:center; justify-content:center; border:2px solid color-mix(in srgb, var(--brand) 40%, transparent); }
html body .swd-app .swd-bubble-avatar img { width:100%; height:100%; border-radius:50%; object-fit:cover; }
html body .swd-app .swd-bubble.is-admin .swd-bubble-header { justify-content:flex-end; }
html body .swd-app .swd-chat-input { display:flex; flex-direction:column; gap:10px; padding-top:12px; border-top:none; }

html body .swd-app .swd-chat-footer-row { display:flex; align-items:center; justify-content:flex-start; gap:10px; flex-wrap:wrap; margin-top:12px; }
html body .swd-app .swd-chat-footer-row .swd-ticket-rating { margin-top:0; margin-inline-start:auto; align-self:center; }
html body .swd-app .swd-chat-closed { text-align:center; color:var(--danger, #e74c3c); margin-top:12px; padding:14px; border-radius:14px; background:var(--surface-solid); border:1px dashed var(--line); }

html body .swd-app .swd-bento-info { grid-column: span 7; display:flex; flex-direction:column; gap:14px; }
html body .swd-app .swd-bento-avatar { grid-column: span 5; display:flex; flex-direction:column; gap:14px; align-items:stretch; }
html body .swd-app .swd-avatar-top { display:flex; align-items:center; justify-content:flex-start; width:100%; }
html body .swd-app .swd-bento-pass { grid-column: span 6; display:flex; flex-direction:column; gap:12px; }
html body .swd-app .swd-bento-theme { grid-column: span 3; display:flex; flex-direction:column; gap:14px; }
html body .swd-app .swd-bento-verified { grid-column: span 3; display:flex; flex-direction:column; gap:10px; }
html body .swd-app .swd-bento-verified h3 { display:flex; align-items:center; gap:8px; margin:0; font-size:var(--fs-side-name); color:var(--brand-deep); font-weight:var(--fw-side-name, 800);}
html body .swd-app .swd-bento-verified h3 svg { width:20px; height:20px; color:var(--brand-deep); }
.swd-app[data-theme="dark"] .swd-bento-verified h3, .swd-app[data-theme="dark"] .swd-bento-verified h3 svg { color:var(--brand); }
html body .swd-app .swd-link-plain { display:inline-flex; align-items:center; gap:5px; margin-top:6px; color:var(--text); font-size:var(--fs-link-plain); font-weight: var(--fw-link-plain, 700); text-decoration:none; box-shadow:none; transition:color .25s; }
html body .swd-app .swd-link-plain:hover, html body .swd-app .swd-link-plain:focus-visible { text-decoration:none; color:var(--brand-deep); }
html body .swd-app .swd-link-plain svg { width:15px; height:15px; }
html body .swd-app .swd-verified-note { margin:0; font-size:var(--fs-detail-label); color:var(--muted); line-height:1.7; font-weight:var(--fw-detail-label, 600);}
html body .swd-app .swd-verified-date { margin:0; font-size:var(--fs-verified-date, var(--fs-detail-label)); color:var(--swd-verified-date-color, var(--muted)); line-height:1.7; font-weight:var(--fw-verified-date, var(--fw-detail-label, 600)); }
html body .swd-app .swd-verified-date-badge { display:inline-flex; align-items:center; gap:0; padding:8px 0 8px 8px; border-radius:10px; background:rgba(0,0,0,.04); direction:rtl; }
html body .swd-app .swd-verified-date-badge .swd-verified-badge { display:inline-flex !important; align-items:center; flex-shrink:0; margin-left:4px; }
.swd-app[data-theme="dark"] .swd-verified-date-badge { background:rgba(255,255,255,.08); }
html body .swd-app .swd-bento-info h3, html body .swd-app .swd-bento-avatar h3, html body .swd-app .swd-bento-pass h3, html body .swd-app .swd-bento-theme h3 { display:flex; align-items:center; gap:8px; margin:0; font-size:var(--fs-side-name); color:var(--section-title); font-weight:var(--fw-side-name, 800);}
html body .swd-app .swd-bento-info h3 svg, html body .swd-app .swd-bento-avatar h3 svg, html body .swd-app .swd-bento-pass h3 svg, html body .swd-app .swd-bento-theme h3 svg { width:20px; height:20px; color:var(--brand-deep); }
html body .swd-app .swd-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
html body .swd-app .swd-span-2 { grid-column: span 2; }
html body .swd-app .swd-avatar-current { width:96px; height:96px; border-radius:50%; overflow:hidden; box-shadow: var(--shadow-soft); }
html body .swd-app .swd-avatar-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; width:100%; }
html body .swd-app .swd-avatar-pick { width:100%; aspect-ratio:1; border-radius:50%; border:3px solid transparent !important; background:transparent; cursor:pointer; padding:0; overflow:hidden; box-sizing:border-box; transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .3s; }
html body .swd-app .swd-avatar-pick:hover { transform: scale(1.12); }
html body .swd-app .swd-avatar-pick.is-selected { border-color:var(--brand) !important; box-shadow: 0 0 0 2px var(--brand-soft); }
html body .swd-app .swd-ov-last.is-clickable { cursor:pointer; }
html body .swd-app .swd-ov-last.is-clickable:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb,var(--brand) 30%,var(--line)); }
html body .swd-app .swd-avatar-actions { display:flex; gap:8px; justify-content:center; margin-top:18px; }

html body .swd-app .swd-theme-pick { display:flex; gap:10px; }
html body .swd-app .swd-theme-opt { flex:1; display:inline-flex; align-items:center; justify-content:center; gap:8px; height:48px; border-radius:14px; border:2px solid var(--line); background:var(--surface); color:var(--text); cursor:pointer; font-weight: var(--fw-theme-opt, 600); font-size:var(--fs-theme-opt); transition: all .35s cubic-bezier(.22,1,.36,1); }
html body .swd-app .swd-theme-opt:hover { border-color:var(--brand); transform: translateY(-2px); }
html body .swd-app .swd-theme-opt.is-selected { border-color:var(--brand); background:var(--brand-soft); color:var(--brand-deep); }
html body .swd-app .swd-theme-opt svg { width:18px; height:18px; }
html body .swd-app .swd-theme-note { font-size:var(--fs-ticket-meta); color:var(--muted); margin:0; font-weight:var(--fw-ticket-meta, 600);}

html body .swd-app .swd-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; padding:60px 20px; text-align:center; color:var(--muted); }
html body .swd-app .swd-empty p { font-weight: var(--fw-empty-state, 600); font-size:var(--fs-empty-state); }
html body .swd-app .swd-empty-anim { position:relative; width:100px; height:100px; display:grid; place-items:center; color:var(--brand); }
html body .swd-app .swd-empty-anim svg { width:100px; height:100px; z-index:2; }
html body .swd-app .swd-empty-tickets { gap:22px; }
@keyframes swd-corepulse{ 0%,100%{ opacity:.14; transform:scale(1); } 50%{ opacity:.3; transform:scale(1.18); } }
html body .swd-app .swd-orbit { position:absolute; inset:0; border-radius:50%; border:2px dashed var(--brand-soft); animation: swd-spin 8s linear infinite; }
html body .swd-app .swd-orbit:nth-child(2) { inset:14px; border-color: color-mix(in srgb,var(--brand) 30%,transparent); animation-duration:5s; animation-direction:reverse; }
html body .swd-app .swd-core { position:absolute; width:60px; height:60px; border-radius:50%; background: radial-gradient(circle, var(--brand-soft), transparent 70%); animation: swd-pulse 2s ease-in-out infinite; }
html body .swd-app .swd-anim-box { width:80px; height:80px; }
html body .swd-app .swd-box { width:50px; height:50px; border-radius:14px; background:linear-gradient(135deg,var(--brand),var(--brand-deep)); margin:0 auto; animation: swd-toss 1.8s ease-in-out infinite; }
html body .swd-app .swd-box-shadow { position:absolute; bottom:6px; width:40px; height:8px; border-radius:50%; background:color-mix(in srgb, var(--text) 18%, transparent); animation: swd-shadow 1.8s ease-in-out infinite; }
@keyframes swd-toss{ 0%,100%{ transform:translateY(0) rotate(0);} 50%{ transform:translateY(-16px) rotate(12deg);} }
@keyframes swd-shadow{ 0%,100%{ transform:scaleX(1); opacity:.4;} 50%{ transform:scaleX(.5); opacity:.2;} }

html body .swd-app .swd-toast-wrap { position:fixed; bottom:26px; left:50%; transform:translateX(-50%); z-index:6; display:flex; flex-direction:column; gap:10px; align-items:center; pointer-events:none; }
html body .swd-app .swd-toast { position:relative; display:flex; align-items:center; gap:10px; padding:13px 20px; border-radius:16px; background:var(--surface-solid); border:1px solid var(--line); box-shadow: var(--shadow); color:var(--text); font-weight: var(--fw-toast, 600); font-size:var(--fs-toast); animation: swd-toast-in .5s cubic-bezier(.22,1,.36,1); overflow:hidden; min-width:240px; }
html body .swd-app .swd-toast svg { width:18px; height:18px; color:var(--brand-deep); flex-shrink:0; }
html body .swd-app .swd-toast.is-error svg { color:var(--danger); }
html body .swd-app .swd-toast.is-success svg { color:var(--success); }
html body .swd-app .swd-toast .swd-toast-bar { position:absolute; bottom:0; left:0; right:0; height:3px; background:linear-gradient(90deg, var(--brand), var(--brand-deep)); animation: swd-toast-bar 3s linear forwards; border-radius:0 0 16px 16px; }
html body .swd-app .swd-toast.is-error .swd-toast-bar { background:linear-gradient(90deg, var(--danger), var(--danger-deep)); }
html body .swd-app .swd-toast.is-success .swd-toast-bar { background:linear-gradient(90deg, var(--success), color-mix(in srgb, var(--success) 70%, var(--brand-deep))); }
@keyframes swd-toast-in{ from{ opacity:0; transform:translateY(24px) scale(.92);} to{ opacity:1; transform:none;} }
@keyframes swd-toast-bar{ from{ width:100%; } to{ width:0%; } }
html body .swd-app .swd-toast.out { animation: swd-toast-out .42s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes swd-toast-out{ to{ opacity:0; transform:translateY(20px) scale(.92);} }

html body .swd-app .swd-loader-wrap { display:grid; place-items:center; min-height:50vh; }
html body .swd-app .swd-page-loader .swd-loader-wrap { min-height:0; }
html body .swd-app .swd-loader { width:46px; height:46px; border-radius:50%; border:4px solid var(--brand-soft); border-top-color:var(--brand); animation: swd-spin .8s linear infinite; }
html body .swd-app .swd-page-loader .swd-loader { width:36px; height:36px; }

html body .swd-app .swd-svg-avatar { display:block; animation: swd-breathe 4.5s ease-in-out infinite; transform-origin:50% 62%; }
@keyframes swd-breathe{ 0%,100%{ transform:translateY(0) scale(1);} 50%{ transform:translateY(-1px) scale(1.014);} }

html body .swd-app .swd-req { color:var(--danger); font-style:normal; }

html body .swd-app .swd-section-head { display:flex; align-items:center; gap:10px; margin:26px 0 14px; flex-wrap:wrap; }
html body .swd-app .swd-section-head-col { flex-direction:column; align-items:flex-start; gap:2px; }
html body .swd-app .swd-section-head h3 { margin:0; font-size:var(--fs-section-head); font-weight: var(--fw-section-head, 800); display:flex; align-items:center; gap:8px; color:var(--section-title); }
html body .swd-app .swd-section-head h3 svg { width:20px; height:20px; color:var(--brand-deep); }
html body .swd-app .swd-last-line { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
html body .swd-app .swd-last-main { display:flex; align-items:center; gap:8px; flex-wrap:wrap; min-width:0; }
html body .swd-app .swd-last-meta-inline { display:flex; align-items:center; gap:8px; flex:0 0 auto; }
html body .swd-app .swd-last-price { font-weight: var(--fw-side-name, 800); font-size:var(--fs-side-name); color:var(--brand-deep); }
html body .swd-app .swd-day-card { flex-direction:row; }
html body .swd-app a.swd-day-card { text-decoration:none;color:inherit; }
html body .swd-app .swd-day-card.is-clickable { cursor:pointer; }
html body .swd-app .swd-day-link { display:flex; align-items:center; gap:8px; text-decoration:none; color:var(--text); }
html body .swd-app .swd-day-name { font-weight: var(--fw-side-name, 800); font-size:var(--fs-side-name); }
html body .swd-app[data-theme="light"] .swd-day-name { color: var(--swd-day-name-color, #000000); }
html body .swd-app[data-theme="dark"] .swd-day-name { color: var(--swd-day-name-color, #ffffff); }
html body .swd-app .swd-day-link:hover .swd-day-name { color: var(--swd-day-name-color, var(--brand-deep)); }
html body .swd-app .swd-day-img { flex:0 0 auto; width:64px; height:64px; border-radius:16px; overflow:hidden; background:var(--brand-soft); display:grid; place-items:center; box-shadow: var(--shadow-soft); }
html body .swd-app .swd-day-img img { width:100%; height:100%; object-fit:cover; transition: transform .5s; }
html body .swd-app .swd-day-card:hover .swd-day-img img { transform: scale(1.08); }

html body .swd-app .swd-day-price {
  font-weight: var(--fw-bubble, 800);
  color:var(--brand-deep);
  display:inline-flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:4px 8px;
  font-size:var(--fs-bubble);
  text-decoration:none !important;
}
html body .swd-app .swd-day-price del {
  opacity:1;
  font-weight: var(--fw-track-info, 600);
  font-size:var(--fs-track-info, 11px);
  color:var(--muted);
  text-decoration:line-through;
  text-decoration-color:var(--muted);
}
html body .swd-app .swd-day-price ins {
  text-decoration:none !important;
  font-weight: var(--fw-bubble, 800);
  font-size:var(--fs-bubble);
  color:var(--brand-deep);
}
.swd-app[data-theme="dark"] .swd-day-price,
.swd-app[data-theme="dark"] .swd-day-price ins {
  color:var(--brand);
}
.swd-app[data-theme="dark"] .swd-day-price del {
  color:var(--muted);
  opacity:.85;
}
html body .swd-app .swd-last-price {
  font-weight: var(--fw-stat-value, 600);
  font-size:var(--fs-stat-value);
  color:var(--brand-deep);
}
.swd-app[data-theme="dark"] .swd-last-price {
  color:var(--brand);
}

html body .swd-app .swd-bento-settings .swd-card:hover { transform:none; box-shadow:var(--shadow-soft); border-color:var(--line); }
html body .swd-app .swd-bento-settings .swd-card:hover::before { opacity:0; }
html body .swd-app .swd-pass-compact { padding:18px; }

html body .swd-app .swd-broadcast { position:relative; display:flex; align-items:center; gap:8px; margin-bottom:26px; }
html body .swd-app .swd-bc-track { flex:1; overflow:hidden; border-radius:20px; }
html body .swd-app .swd-bc-slide { display:none; align-items:center; gap:14px; padding:16px 18px; background:linear-gradient(135deg, color-mix(in srgb,var(--brand) 16%, var(--surface)), var(--surface)); border:1px solid var(--brand-soft); border-radius:20px; }
html body .swd-app .swd-bc-slide.is-active { display:flex; animation: swd-rise .5s; }
html body .swd-app .swd-bc-icon { flex:0 0 auto; width:46px; height:46px; border-radius:14px; display:grid; place-items:center; background:var(--brand-soft); color:var(--brand-deep); }
html body .swd-app .swd-bc-icon svg { width:22px; height:22px; }
html body .swd-app .swd-bc-body { flex:1 1 auto; min-width:0; }
html body .swd-app .swd-bc-body h4 { margin:0 0 2px; font-size:var(--notice-title-fs, var(--fs-order-name)) !important; font-weight:var(--notice-title-fw, var(--fw-heading)) !important; color:var(--notice-title-color, var(--brand-deep)) !important; line-height:1.5 !important; }
html body .swd-app .swd-bc-body p { margin:0; font-size:var(--notice-body-fs, 12px); font-weight:var(--notice-body-fw, 400); color:var(--notice-body-color, var(--muted)); }
html body .swd-app .swd-bc-dots { position:absolute; bottom:-16px; left:50%; transform:translateX(-50%); display:flex; gap:6px; }
html body .swd-app .swd-bc-dot { width:7px; height:7px; border-radius:50%; border:none; background:var(--line); cursor:pointer; transition: all .3s; padding:0; }
html body .swd-app .swd-bc-dot.is-active { background:var(--brand); width:18px; border-radius:6px; }
html body .swd-app .swd-bc-track.is-single { border-radius:20px; }
html body .swd-app .swd-bc-cta { display:inline-flex; align-items:center; gap:6px; flex:0 0 auto; padding:8px 15px; border-radius:12px; background:var(--notice-btn-bg, var(--brand)); color:var(--notice-btn-text, var(--text-on-brand)); font-weight: var(--fw-stat-label, 800); font-size:var(--notice-btn-fs, var(--fs-stat-label)); text-decoration:none; transition: transform .35s; }
html body .swd-app .swd-bc-cta svg { width:15px; height:15px; }
html body .swd-app .swd-bc-cta:hover { transform: translateY(-2px); }
html body .swd-app .swd-bc-clickable { cursor:pointer; transition: border-color .3s, box-shadow .3s; }
html body .swd-app .swd-bc-clickable:hover { border-color:var(--brand); box-shadow: 0 6px 20px -10px var(--brand); }
@media(max-width:480px){
  html body .swd-app .swd-bc-body p { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  html body .swd-app .swd-bc-cta span { display:none; }
  html body .swd-app .swd-bc-cta { padding:8px 10px; }
}
html body .swd-app .swd-feather-inline { display:inline-block; vertical-align:middle; }

html body .swd-app .swd-empty-orders { gap:20px; }
html body .swd-app .swd-empty-orders-svg { color:var(--brand); width:100px; height:100px; }
html body .swd-app .swd-eo-orbit { transform-box:fill-box; transform-origin:center; animation: swd-spin 9s linear infinite; }
html body .swd-app .swd-eo-glow { transform-box:fill-box; transform-origin:center; animation: swd-corepulse 2.6s ease-in-out infinite; }
html body .swd-app .swd-bag-float { transform-box:fill-box; transform-origin:center; animation: swd-bag-float 2.4s ease-in-out infinite; }
html body .swd-app .swd-bag-handle-left, html body .swd-app .swd-bag-handle-right { transform-box:fill-box; transform-origin:center; }
html body .swd-app .swd-bag-shadow { transform-box:fill-box; transform-origin:center; animation: swd-bag-shadow 2.4s ease-in-out infinite; }
html body .swd-app .swd-bag-item1 { transform-box:fill-box; transform-origin:center; animation: swd-bag-item-pop 3s ease-in-out infinite; }
html body .swd-app .swd-bag-item2 { transform-box:fill-box; transform-origin:center; animation: swd-bag-item-pop 3s ease-in-out infinite; animation-delay:1.5s; }
html body .swd-app .swd-bag-sparkle { transform-box:fill-box; transform-origin:center; animation: swd-bag-sparkle 2s ease-in-out infinite; }
html body .swd-app .swd-bag-sparkle2 { animation-delay:.5s; }
html body .swd-app .swd-bag-sparkle3 { animation-delay:1s; }
html body .swd-app .swd-bag-sparkle4 { animation-delay:1.5s; }
@keyframes swd-bag-float{ 0%,100%{ transform:translateY(0) rotate(-2deg);} 50%{ transform:translateY(-6px) rotate(2deg);} }
@keyframes swd-bag-shadow{ 0%,100%{ transform:scaleX(1); opacity:.12;} 50%{ transform:scaleX(.7); opacity:.06;} }
@keyframes swd-bag-item-pop{ 0%,70%,100%{ transform:translateY(0); opacity:.5;} 35%{ transform:translateY(-3px); opacity:.8;} }
@keyframes swd-bag-sparkle{ 0%,100%{ transform:scale(0.8); opacity:.3;} 50%{ transform:scale(1.2); opacity:.8;} }
@keyframes swd-wheel-spin{ from{ transform:rotate(0);} to{ transform:rotate(360deg);} }

html body .swd-app .swd-empty-tracking { gap:20px; }
html body .swd-app .swd-empty-tracking-svg { color:var(--brand); width:100px; height:100px; }
html body .swd-app .swd-car-bounce { transform-box:fill-box; transform-origin:center; animation: swd-car-bounce 1.2s ease-in-out infinite; }
html body .swd-app .swd-car-wheel { transform-box:fill-box; transform-origin:center; animation: swd-wheel-spin 1s linear infinite; }
html body .swd-app .swd-car-dust { transform-box:fill-box; transform-origin:center; animation: swd-car-dust 1s ease-out infinite; }
html body .swd-app .swd-car-dust2 { animation-delay:.3s; }
@keyframes swd-car-bounce{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-3px);} }
@keyframes swd-car-dust{ 0%{ transform:translateX(0); opacity:.3;} 100%{ transform:translateX(-12px); opacity:0;} }

html body .swd-app .swd-chat-bubble-anim { color:var(--brand); width:128px; height:128px; }
html body .swd-app .swd-chat-bubble-svg { width:100%; height:100%; }
html body .swd-app .swd-bubble-bounce { transform-box:fill-box; transform-origin:center; animation: swd-bubble-bounce 2.4s ease-in-out infinite; }
html body .swd-app .swd-bubble-dot { transform-box:fill-box; transform-origin:center; animation: swd-bubble-dot 1.4s ease-in-out infinite; }
html body .swd-app .swd-bubble-dot2 { animation-delay:.2s; }
html body .swd-app .swd-bubble-dot3 { animation-delay:.4s; }
html body .swd-app .swd-bubble-tail { transform-box:fill-box; transform-origin:center; animation: swd-bubble-bounce 2.4s ease-in-out infinite; }
@keyframes swd-bubble-bounce{ 0%,100%{ transform:translateY(0) scale(1);} 50%{ transform:translateY(-4px) scale(1.02);} }
@keyframes swd-bubble-dot{ 0%,60%,100%{ transform:translateY(0); opacity:.5;} 30%{ transform:translateY(-5px); opacity:1;} }

html body .swd-app .swd-empty-btn, html body .swd-app .swd-empty-btn:hover, html body .swd-app .swd-empty-btn:focus { text-decoration:none !important; }

html body .swd-app .swd-notice-list { display:flex; flex-direction:column; gap:14px; }
html body .swd-app .swd-notice-card { display:flex; gap:16px; padding:18px 20px; border-radius:18px; background:var(--surface-solid); border:var(--section-border-width,1px) solid var(--line); transition: all .4s cubic-bezier(.22,1,.36,1); }
html body .swd-app .swd-notice-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb,var(--brand) 30%,var(--line)); }
html body .swd-app .swd-notice-ic { flex:0 0 auto; width:48px; height:48px; border-radius:14px; display:grid; place-items:center; background:var(--brand-soft); color:var(--brand-deep); }
html body .swd-app .swd-notice-ic svg { width:22px; height:22px; }
html body .swd-app .swd-notice-body { flex:1 1 auto; min-width:0; }
html body .swd-app .swd-notice-cta { flex:0 0 auto; align-self:center; }
html body .swd-app .swd-notice-body h4 { margin:0 0 6px; font-size:var(--notice-title-fs, calc(var(--swd-fs, 15px) * 0.93)) !important; font-weight:var(--notice-title-fw, var(--fw-heading)) !important; color:var(--notice-title-color, var(--brand-deep)) !important; line-height:1.5 !important; }
html body .swd-app .swd-notice-text { color:var(--notice-body-color, var(--muted)); font-size:var(--notice-body-fs, 12px); line-height:1.8; font-weight:var(--notice-body-fw, 400); }
html body .swd-app .swd-notice-text p { margin:0 0 8px; }
html body .swd-app .swd-notice-text p:last-child { margin-bottom:0; }
html body .swd-app .swd-pagination { display:flex; gap:8px; justify-content:center; margin-top:22px; }
html body .swd-app .swd-page-btn { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; min-width:38px; height:38px; padding:0 10px; line-height:1; border-radius:11px; border:var(--button-border-width,1px) solid var(--line); background:var(--surface); color:var(--text); font-weight:var(--fw-body); text-align:center; cursor:pointer; transition: all .3s; }
html body .swd-app .swd-page-btn:hover { border-color:var(--brand); color:var(--brand-deep); }
html body .swd-app .swd-page-btn.is-active { background:var(--brand); color:var(--text-on-brand); border-color:var(--brand); }
html body .swd-app .swd-page-btn:disabled { opacity:.4; cursor:not-allowed; }
html body .swd-app .swd-page-prev, html body .swd-app .swd-page-next { display:inline-flex; align-items:center; justify-content:center; padding:0; }
html body .swd-app .swd-page-prev svg, html body .swd-app .swd-page-next svg { width:16px; height:16px; }
@media(max-width:480px){
  html body .swd-app .swd-pagination { flex-wrap:nowrap; gap:6px; overflow-x:visible; justify-content:center; }
  html body .swd-app .swd-page-btn:not(.swd-page-prev):not(.swd-page-next):not(.is-near) { display:none; }
  html body .swd-app .swd-page-btn.is-near { display:inline-flex; }
  html body .swd-app .swd-page-btn { min-width:36px; padding:0 6px; }
  html body .swd-app .swd-page-prev, html body .swd-app .swd-page-next { flex:0 0 auto; min-width:36px; }
}

html body .swd-app .swd-bs-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
html body .swd-app .swd-bs-card { display:flex; flex-direction:row; align-items:center; gap:12px; padding:14px; border-radius:16px; background:var(--bs-card-bg-light); border:var(--section-border-width,1px) solid var(--line); text-decoration:none; color:var(--text); transition: all .4s cubic-bezier(.22,1,.36,1); position:relative; overflow:hidden; min-height:96px; }
.swd-app[data-theme="dark"] .swd-bs-card { background:var(--bs-card-bg-dark); }
html body .swd-app .swd-bs-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color:var(--brand-soft); }
html body .swd-app .swd-bs-img { width:64px; height:64px; flex:0 0 auto; border-radius:14px; overflow:hidden; background:var(--surface-solid); }
html body .swd-app .swd-bs-img img { width:100%; height:100%; object-fit:cover; transition: transform .5s; }
html body .swd-app .swd-bs-card:hover .swd-bs-img img { transform: scale(1.08); }
html body .swd-app .swd-bs-info { display:flex; flex-direction:column; gap:4px; min-width:0; flex:1 1 auto; justify-content:center; }
html body .swd-app .swd-bs-name { font-weight: var(--fw-bestseller-name, 800); font-size:var(--fs-bestseller-name); line-height:1.4; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; transition: color .3s; }
html body .swd-app .swd-bs-card:hover .swd-bs-name { color:var(--brand); }
html body .swd-app .swd-bs-price { font-size:var(--fs-bestseller-price); color:var(--text); font-weight: var(--fw-bestseller-price, 600); display:inline-flex; flex-wrap:wrap; align-items:baseline; gap:2px 6px; }
html body .swd-app .swd-bs-price del { font-weight: var(--fw-badge, 600); font-size:var(--fs-badge); color:var(--muted); text-decoration:line-through; text-decoration-color:var(--muted); opacity:.8; }
html body .swd-app .swd-bs-price ins { text-decoration:none !important; font-weight: var(--fw-stat-label, 600); font-size:var(--fs-stat-label); color:var(--text); }

.swd-bestsellers .swd-bs-meta,
html body .swd-app .swd-trending-articles .swd-bs-meta { color:var(--text); }
.swd-bestsellers .swd-bs-meta .woocommerce-Price-currencySymbol,
html body .swd-app .swd-trending-articles .swd-bs-meta .woocommerce-Price-currencySymbol { color:var(--muted); }

.swd-bs-price .swd-discount-badge,
html body .swd-app .swd-day-price .swd-discount-badge {
  display:inline-flex; align-items:center; white-space:nowrap;
  font-size:var(--fs-badge); font-weight: var(--fw-badge, 800);
  padding:1px 7px; line-height:1.5;
  border-radius:var(--swd-overview-badge-radius, 6px);
  background:var(--swd-overview-badge-bg, #ef4444);
  color:var(--swd-overview-badge-text, #ffffff);
  border:1px solid var(--swd-overview-badge-bg, #ef4444);
}
html body .swd-app .swd-bs-cta { display:none; }

@media (max-width: 980px){

  .swd-app { grid-template-columns:1fr; grid-template-rows:auto minmax(0,1fr); height:100dvh; }
  html body .swd-app .swd-sidebar { position:relative; flex-direction:row; align-items:center; gap:10px; padding:12px 16px; border-left:none; border-bottom:1px solid var(--line); background:transparent; -webkit-backdrop-filter:none; backdrop-filter:none; box-shadow:none; }
  html body .swd-app .swd-sidebar::before { content:""; position:absolute; inset:0; z-index:0; background:color-mix(in srgb, var(--surface-solid) 60%, transparent); -webkit-backdrop-filter:blur(22px) saturate(1.6); backdrop-filter:blur(22px) saturate(1.6); border-bottom:1px solid var(--line); }
  .swd-app[data-theme="dark"] .swd-sidebar::before { background:var(--mnav-bg); }
  html body .swd-app .swd-sidebar > *:not(.swd-nav) { position:relative; z-index:1; }
  html body .swd-app .swd-side-top { flex:1 1 auto; flex-direction:row; align-items:center; gap:10px; padding:0; min-width:0; }
  html body .swd-app .swd-side-role { display:none; }
  html body .swd-app .swd-avatar-ring { width:44px; height:44px; flex:0 0 auto; } html body .swd-app .swd-avatar { width:38px; height:38px; }

  html body .swd-app .swd-avatar-ring.swd-avatar-anim-off-mobile::before, html body .swd-app .swd-avatar-ring.swd-avatar-anim-off-mobile::after { animation:none !important; opacity:0 !important; }
  html body .swd-app .swd-svg-avatar { animation:none !important; }
  html body .swd-app .swd-side-name { font-size:var(--fs-bubble); font-weight:var(--fw-bubble, 600);}

  html body .swd-app .swd-nav { position:fixed; bottom:calc(14px + env(safe-area-inset-bottom,0px)); left:14px; right:14px; flex-direction:row; justify-content:space-around; padding:8px; border-radius:var(--mnav-bg-radius, 30px); background:var(--mnav-bg); -webkit-backdrop-filter:blur(30px) saturate(1.9); backdrop-filter:blur(30px) saturate(1.9); border:1px solid var(--mnav-border); box-shadow:0 18px 50px -14px rgba(15,23,42,.32), 0 2px 10px rgba(15,23,42,.08), inset 0 1px 0 color-mix(in srgb, var(--surface-solid) 85%, transparent); z-index:50; }
  .swd-app[data-theme="dark"] .swd-nav { background:var(--mnav-bg); border-color:var(--mnav-border); box-shadow:0 18px 50px -14px var(--mnav-shadow-dark, rgba(0,0,0,.6)), inset 0 1px 0 var(--line); }
  html body .swd-app .swd-nav-line { display:none; }
  html body .swd-app .swd-nav-bg { display:none !important; }
  html body .swd-app .swd-nav-item { flex:1; flex-direction:column; align-items:center; gap:0; padding:8px 4px; font-size:var(--fs-nav-item); border-radius:0; color:var(--muted); position:relative; font-weight:var(--fw-nav-item, 600);}
  html body .swd-app .swd-nav-item span { display:none; }
  html body .swd-app .swd-nav-item::before { content:""; position:absolute; width:38px; height:38px; top:50%; left:50%; transform:translate(-50%,-50%) scale(.8); border-radius:50%; background:var(--brand); opacity:0; transition:opacity .25s, transform .25s; z-index:0; box-shadow:0 4px 12px -4px color-mix(in srgb, var(--brand) 50%, transparent); }
  .swd-app[data-theme="dark"] .swd-nav-item::before { background:linear-gradient(135deg,var(--brand),var(--brand-deep)); }
  html body .swd-app .swd-nav-item.is-active::before { opacity:1; transform:translate(-50%,-50%) scale(1); }
  html body .swd-app .swd-nav-item svg { width:var(--mnav-icon-size, 24px); height:var(--mnav-icon-size, 24px); color:var(--mnav-icon-color); transition: color .3s; padding:0; border-radius:0; background:none; box-sizing:content-box; -webkit-tap-highlight-color:transparent; position:relative; z-index:1; }

  .swd-app:not([data-theme="dark"]) .swd-nav-item svg { color:var(--mnav-icon-color); }
  html body .swd-app .swd-nav-item:hover { transform:none; background:transparent; }
  html body .swd-app .swd-nav-item.is-active { color:var(--mnav-icon-active); z-index:1; position:relative; }

  html body .swd-app .swd-nav-item.is-active svg { color:var(--mnav-icon-active); transform:none; }
  .swd-app:not([data-theme="dark"]) .swd-nav-item.is-active svg { color:var(--mnav-icon-active); }
  html body .swd-app .swd-nav { gap:4px !important; }
  html body .swd-app .swd-side-bottom { flex:0 0 auto; flex-direction:row; align-items:center; gap:8px; border:none; padding:0; }
  html body .swd-app .swd-back-site { height:40px; width:40px; padding:0; flex:0 0 auto; } html body .swd-app .swd-back-site span { display:none; }
  html body .swd-app .swd-logout-btn { height:40px; width:40px; padding:0; } html body .swd-app .swd-logout-btn span:not(.swd-logout-confirm-text) { display:none; }
  html body .swd-app .swd-logout-btn.is-confirming { width:auto; flex:1; padding:0 4px; } html body .swd-app .swd-logout-btn.is-confirming .swd-logout-confirm-text { display:inline; }
  html body .swd-app .swd-theme-switch { width:71px; height:40px; }
html body .swd-app .swd-switch-thumb {position: absolute; top: 3.1px; width: 32px; height: 32px;}
html body .swd-app .swd-order-total {display: none}
  html body .swd-app .swd-scroll { padding:16px 14px 140px; -webkit-overflow-scrolling:touch; }
  html body .swd-app .swd-page-head { margin-bottom:16px; }
  html body .swd-app .swd-page-title { font-size:calc(var(--fs-page-title) * 0.85); font-weight:var(--fw-page-title, 800);}
  html body .swd-app .swd-bento { grid-template-columns:1fr; gap:14px; }
  html body .swd-app .swd-stat, html body .swd-app .swd-stat-wide, html body .swd-app .swd-bento-info, html body .swd-app .swd-bento-avatar, html body .swd-app .swd-bento-pass, html body .swd-app .swd-bento-theme, html body .swd-app .swd-bento-verified { grid-column: span 1; }
  html body .swd-app .swd-ov-bento > .swd-card { grid-column: span 1 !important; }
  html body .swd-app .swd-card { border-radius:18px; padding:16px; }
  html body .swd-app .swd-detail-grid { grid-template-columns:repeat(2,1fr); }
  html body .swd-app .swd-track-info { grid-template-columns:repeat(2,1fr); }
  html body .swd-app .swd-grid-2 { grid-template-columns:1fr; }
  html body .swd-app .swd-bs-grid { display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding:4px 2px 14px; }
  html body .swd-app .swd-bs-grid::-webkit-scrollbar { display:none; }
  html body .swd-app .swd-bs-card { flex:0 0 72%; width:72%; scroll-snap-align:start; }
  html body .swd-app .swd-toast-wrap { bottom:100px; }
  html body .swd-app .swd-order-row { grid-template-columns:1fr; gap:12px; }
  html body .swd-app .swd-order-actions { flex-direction:row; flex-wrap:wrap; min-width:0; }
  html body .swd-app .swd-ticket-row { grid-template-columns:auto minmax(0,1fr) auto auto; gap:8px; padding:12px 14px; }
  html body .swd-app .swd-ticket-row .swd-badge:not(.swd-new-msg-badge) { display:none; }
  html body .swd-app .swd-ticket-row .swd-new-msg-badge { display:inline-flex; }
  html body .swd-app .swd-detail-addrs { grid-template-columns:1fr; }
  html body .swd-app .swd-avatar-grid { grid-template-columns:repeat(5,1fr); }

  html body .swd-app .swd-bc-slide { padding:12px; }
  html body .swd-app .swd-bc-body p { font-size:var(--fs-stat-label); font-weight:var(--fw-stat-label, 600);}

  html body .swd-app .swd-dl-name { font-size:calc(var(--fs-side-name, 16px) * 0.88); font-weight:var(--fw-side-name, 800);}

  .swd-app.swd-layout-floating .swd-sidebar {
    margin:12px 12px 0;
    width:calc(100% - 24px);
    max-width:calc(100% - 24px);
    box-sizing:border-box;
    border-radius:var(--swd-sidebar-radius-mobile, 14px);
    border:1px solid var(--line);
    overflow:hidden;
  }
  .swd-app.swd-layout-floating .swd-sidebar::before { border-radius:var(--swd-sidebar-radius-mobile, 14px); border-bottom:none; }
  .swd-app.swd-layout-floating .swd-side-top { min-width:0; flex:1 1 auto; overflow:hidden; }
  .swd-app.swd-layout-floating .swd-side-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:140px; }
  .swd-app.swd-layout-floating .swd-side-bottom { flex:0 0 auto; }
}

@media (max-width: 600px){
  html body .swd-app .swd-stat-value { font-size:var(--fs-section-head); font-weight:var(--fw-section-head, 800);}
  html body .swd-app .swd-chat { max-height:calc(100dvh - 160px); min-height:280px; }
  html body .swd-app .swd-side-name { max-width:110px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  html body .swd-app .swd-bs-grid { grid-template-columns:repeat(2,1fr); }
  html body .swd-app .swd-empty-orders-svg { width:100px; height:100px; }
}

html body .swd-app .swd-skeleton { display:flex; flex-direction:column; gap:18px; padding:22px; }
html body .swd-app .swd-skel-card { border-radius:var(--swd-card-radius); background:var(--surface-solid); border:var(--section-border-width,1px) solid var(--line); padding:22px; display:flex; flex-direction:column; gap:14px; overflow:hidden; }
html body .swd-app .swd-skel-line { height:14px; border-radius:7px; background:linear-gradient(90deg, color-mix(in srgb, var(--text) 12%, transparent) 25%, color-mix(in srgb, var(--text) 20%, transparent) 50%, color-mix(in srgb, var(--text) 12%, transparent) 75%); background-size:200% 100%; animation: swd-skel-shimmer 1.5s ease-in-out infinite; }
html body .swd-app .swd-skel-line.w60 { width:60%; } html body .swd-app .swd-skel-line.w40 { width:40%; } html body .swd-app .swd-skel-line.w80 { width:80%; } html body .swd-app .swd-skel-line.w30 { width:30%; }
html body .swd-app .swd-skel-line.h28 { height:28px; } html body .swd-app .swd-skel-line.h22 { height:22px; }
html body .swd-app .swd-skel-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
html body .swd-app .swd-skel-grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
html body .swd-app .swd-skel-circle { width:48px; height:48px; border-radius:50%; background:linear-gradient(90deg, color-mix(in srgb, var(--text) 12%, transparent) 25%, color-mix(in srgb, var(--text) 20%, transparent) 50%, color-mix(in srgb, var(--text) 12%, transparent) 75%); background-size:200% 100%; animation: swd-skel-shimmer 1.5s ease-in-out infinite; flex-shrink:0; }
html body .swd-app .swd-skel-row { display:flex; align-items:center; gap:14px; }
@keyframes swd-skel-shimmer{ 0%{ background-position:200% 0; } 100%{ background-position:-200% 0; } }
@media (prefers-reduced-motion: reduce){ .swd-skel-line, .swd-skel-circle{ animation:none; } }

html body .swd-app .swd-section-host { animation: swd-page-in .4s cubic-bezier(.22,1,.36,1); }
@keyframes swd-page-in{ from{ opacity:0; transform:translateY(12px); } to{ opacity:1; transform:none; } }
html body .swd-app .swd-section-host.is-leaving { animation: swd-page-out .2s ease-in forwards; }
@keyframes swd-page-out{ to{ opacity:0; transform:translateY(-8px); } }
@media (prefers-reduced-motion: reduce){ .swd-section-host{ animation:none; } html body .swd-app .swd-section-host.is-leaving { animation:none; } }

html body .swd-app .swd-btn-loading { pointer-events:none; opacity:.7; position:relative; }
html body .swd-app .swd-btn-loading .swd-btn-spinner { display:inline-block !important; }
html body .swd-app .swd-btn-spinner { display:none; width:16px; height:16px; border-radius:50%; border:2px solid color-mix(in srgb, currentColor 25%, transparent); border-top-color:currentColor !important; animation: swd-spin .6s linear infinite; vertical-align:middle; margin-inline-end:6px; }

html body .swd-app .swd-success-overlay { position:fixed; inset:0; z-index:2147483647; display:grid; place-items:center; pointer-events:none; animation: swd-success-fade .3s; }
html body .swd-app .swd-success-overlay svg { width:92px; height:92px; padding:16px; border-radius:999px; background:color-mix(in srgb, var(--surface-solid, #ffffff) 88%, transparent); box-shadow:0 20px 60px -22px rgba(15,23,42,.45); }
html body .swd-app .swd-success-overlay .swd-success-ring { fill:none; stroke:var(--success, #22c55e); stroke-width:3; stroke-dasharray:166; stroke-dashoffset:166; animation: swd-success-ring .6s cubic-bezier(.22,1,.36,1) forwards; }
html body .swd-app .swd-success-overlay .swd-success-check { fill:none; stroke:var(--success, #22c55e); stroke-width:4; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:48; stroke-dashoffset:48; animation: swd-success-check .4s .3s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes swd-success-ring{ to{ stroke-dashoffset:0; } }
@keyframes swd-success-check{ to{ stroke-dashoffset:0; } }
html body .swd-app .swd-success-overlay.out { animation: swd-success-out .3s forwards; }
@keyframes swd-success-fade{ from{ opacity:0; } to{ opacity:1; } }
@keyframes swd-success-out{ to{ opacity:0; } }
@media (prefers-reduced-motion: reduce){ .swd-success-overlay path, .swd-success-overlay .swd-success-ring, .swd-success-overlay .swd-success-check{ animation:none; stroke-dashoffset:0; } }

html body .swd-app .swd-wallet-page { display:flex; flex-direction:column; gap:24px; }

html body .swd-app .swd-wallet-card { position:relative; border-radius:20px; padding:28px 32px; background:linear-gradient(135deg, var(--wbg1, #1a1f3a), var(--wbg2, #0d1117)); overflow:hidden; box-shadow:0 20px 60px -15px rgba(0,0,0,.5), 0 0 0 1px rgba(255,215,0,.1); min-height:240px; display:flex; flex-direction:column; justify-content:space-between; }

html body .swd-app .swd-wallet-card::before { content:""; position:absolute; inset:0; pointer-events:none; background-image:repeating-linear-gradient(115deg, color-mix(in srgb, var(--waccent, #FFD700) 9%, transparent) 0 1px, transparent 1px 13px), radial-gradient(circle at 18% 22%, color-mix(in srgb, var(--waccent, #FFD700) 16%, transparent) 0, transparent 42%); opacity:.9; }

html body .swd-app .swd-wallet-card::after { content:""; position:absolute; inset:-60%; pointer-events:none; background:conic-gradient(from 0deg, transparent 0deg, color-mix(in srgb, var(--waccent, #FFD700) 22%, transparent) 60deg, transparent 130deg, color-mix(in srgb, var(--waccent, #FFD700) 12%, transparent) 240deg, transparent 320deg); mix-blend-mode:screen; opacity:.45; animation: swd-wallet-lux 14s linear infinite; }
@keyframes swd-wallet-lux{ to{ transform:rotate(360deg); } }

html body .swd-app .swd-wallet-anim-luxury_gold {
  --lux-gold:      var(--waccent, #FFD700);
  --lux-champagne: color-mix(in srgb, var(--waccent, #FFD700) 42%, #fff);
  --lux-amber:     color-mix(in srgb, var(--waccent, #FFD700) 64%, #8a3f00);
  --lux-bronze:    color-mix(in srgb, var(--waccent, #FFD700) 38%, #2a1500);
  position: relative; isolation: isolate;
  border-radius: 22px;
  background:
    repeating-radial-gradient(circle at 18% 28%, color-mix(in srgb, var(--lux-gold) 2.7%, transparent) 0 .6px, transparent 1.2px 6px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 4px),
    radial-gradient(120% 85% at 0% 0%, color-mix(in srgb, var(--lux-champagne) 11%, transparent) 0%, transparent 58%),
    radial-gradient(95% 75% at 100% 100%, color-mix(in srgb, var(--lux-amber) 15%, transparent) 0%, transparent 62%),
    linear-gradient(158deg, var(--wbg1, #1a1f3a) 0%, color-mix(in srgb, var(--wbg1, #1a1f3a) 55%, var(--wbg2, #0d1117)) 46%, var(--wbg2, #0d1117) 100%);
  box-shadow:
    inset 0  1px 0 0 color-mix(in srgb, var(--lux-champagne) 26%, transparent),
    inset 0 -1px 0 0 rgba(0,0,0,.55),
    inset 0 0 40px -18px rgba(0,0,0,.6),
    0 30px 60px -24px rgba(0,0,0,.72),
    0 14px 36px -18px color-mix(in srgb, var(--lux-gold) 30%, transparent);
  animation: swd-lux-breathe 9s ease-in-out infinite;
}
html body .swd-app .swd-wallet-anim-luxury_gold::before {
  content: ""; position: absolute; inset: -28%; z-index: 0; pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(32% 36% at 22% 30%, color-mix(in srgb, var(--lux-gold) 58%, #ff8a1f) 0%, transparent 70%),
    radial-gradient(34% 30% at 76% 74%, var(--lux-amber) 0%, transparent 70%),
    radial-gradient(14% 16% at 60% 20%, color-mix(in srgb, var(--lux-champagne) 70%, #ffb347) 0%, transparent 66%),
    radial-gradient(22% 24% at 36% 84%, var(--lux-bronze) 0%, transparent 70%);
  filter: blur(30px) saturate(1.05); mix-blend-mode: screen;
  opacity: .42; transform-origin: 50% 50%;
  animation: swd-lux-molten 24s cubic-bezier(.45,.05,.55,.95) infinite alternate;
  will-change: transform;
}
html body .swd-app .swd-wallet-anim-luxury_gold::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(118deg,
    color-mix(in srgb, var(--lux-gold) 22%, transparent) 0%,
    color-mix(in srgb, var(--lux-gold) 22%, transparent) 30%,
    color-mix(in srgb, var(--lux-champagne) 92%, transparent) 46%,
    #fff 50%,
    color-mix(in srgb, var(--lux-champagne) 92%, transparent) 54%,
    color-mix(in srgb, var(--lux-gold) 22%, transparent) 70%,
    color-mix(in srgb, var(--lux-gold) 22%, transparent) 100%);
  background-size: 320% 320%; background-position: 0% 0%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .9;

  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--lux-champagne) 72%, transparent),
    inset 0 0 8px -2px color-mix(in srgb, var(--lux-gold) 30%, transparent);
  animation: swd-lux-edge 14s ease-in-out infinite alternate;
}
html body .swd-app .swd-wallet-card-inner { position:relative; z-index:1; display:flex; flex-direction:column; justify-content:space-between; height:100%; gap:20px; }
html body .swd-app .swd-wallet-card-top { display:flex; justify-content:space-between; align-items:flex-start; }

html body .swd-app .swd-attach-row { display:flex; align-items:center; gap:8px 12px; flex-wrap:wrap; }
html body .swd-app .swd-attach-row .swd-attach-btn { width:auto; flex:0 0 auto; }
html body .swd-app .swd-attach-btn[disabled] { opacity:1; }
html body .swd-app .swd-attach-row .swd-attach-preview { flex:1 1 auto; display:flex; flex-wrap:wrap; gap:6px; align-items:center; min-width:0; }

html body .swd-app .swd-wallet-card-balance { display:flex; flex-direction:column; gap:4px; }
html body .swd-app .swd-wallet-card-balance.swd-balance-promoted { display:flex; flex-direction:column; gap:6px; padding-top:4px; }
html body .swd-app .swd-wallet-card-label { color:var(--wtext, #fff); font-size:var(--fs-wallet-label); opacity:.7; font-weight: var(--fw-wallet-label, 500); }
html body .swd-app .swd-wallet-card-amount { font-size:var(--wallet-amount-fs, 32px); font-weight:var(--fw-wallet-amount, 800); letter-spacing:-.02em; }
html body .swd-app .swd-wallet-card-amount small { font-size:calc(var(--wallet-amount-fs, 32px) * 0.44); font-weight:500; opacity:.7; }
html body .swd-app .swd-wallet-card-bottom { display:flex; justify-content:space-between; align-items:center; }
html body .swd-app .swd-wallet-card-user { color:var(--wtext, #fff); font-size:var(--fs-wallet-user, calc(var(--swd-fs, 15px) * 0.87)); font-weight:var(--fw-wallet-user, 600); opacity:.9; display:inline-flex; align-items:center; gap:4px; }
html body .swd-app .swd-wallet-card-user .swd-verified-badge { display:inline-flex !important; align-items:center; justify-content:center; margin-right:2px; vertical-align:initial !important; }
html body .swd-app .swd-wallet-card-brand { color:var(--waccent, #FFD700); font-size:var(--fs-wallet-brand, calc(var(--swd-fs, 15px) * 0.87)); font-weight:var(--fw-wallet-brand, 700); letter-spacing:.5px; text-transform:uppercase; }

html body .swd-app .swd-wallet-anim-luxury_gold .swd-wallet-card-label { color:color-mix(in srgb, var(--wtext, #fff) 74%, var(--lux-gold)); opacity:.82; letter-spacing:0; text-shadow:0 1px 2px rgba(0,0,0,.35); }
html body .swd-app .swd-wallet-anim-luxury_gold .swd-wallet-card-amount { letter-spacing:-.01em; font-variant-numeric:tabular-nums lining-nums; background:linear-gradient(100deg, var(--wtext, #fff) 0%, var(--wtext, #fff) 30%, color-mix(in srgb, var(--lux-champagne) 70%, var(--wtext, #fff)) 44%, var(--lux-gold) 50%, color-mix(in srgb, var(--lux-champagne) 70%, var(--wtext, #fff)) 56%, var(--wtext, #fff) 70%, var(--wtext, #fff) 100%); background-size:260% 100%; background-position:100% 0; -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent; filter:drop-shadow(0 2px 6px rgba(0,0,0,.35)); animation:swd-lux-metal 7.5s cubic-bezier(.6,0,.4,1) infinite; }
html body .swd-app .swd-wallet-anim-luxury_gold .swd-wallet-card-amount small { opacity:1; color:color-mix(in srgb, var(--wtext, #fff) 72%, transparent); -webkit-text-fill-color:color-mix(in srgb, var(--wtext, #fff) 72%, transparent); margin-inline-start:.18em; }
html body .swd-app .swd-wallet-anim-luxury_gold .swd-wallet-card-user { letter-spacing:0; text-shadow:0 1px 2px rgba(0,0,0,.4); }
html body .swd-app .swd-wallet-anim-luxury_gold .swd-wallet-card-brand { letter-spacing:.22em; background:linear-gradient(180deg, color-mix(in srgb, var(--lux-champagne) 85%, #fff) 0%, var(--lux-gold) 46%, color-mix(in srgb, var(--lux-gold) 72%, #7a4a00) 100%); -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent; filter:drop-shadow(0 1px 0 rgba(0,0,0,.6)) drop-shadow(0 0 6px color-mix(in srgb, var(--lux-gold) 22%, transparent)); }
html body .swd-app .swd-wallet-topup-section { display:flex; flex-direction:column; gap:12px; }
html body .swd-app .swd-wallet-section-title { font-size:var(--fs-wallet-section-title, calc(var(--swd-fs, 15px) * 1.07)); font-weight:var(--fw-wallet-section-title, 700); color:var(--text); margin:0; }
html body .swd-app .swd-wallet-topup-form { display:flex; flex-direction:column; gap:12px; }
html body .swd-app .swd-wallet-quick-amounts { display:flex; flex-wrap:wrap; gap:8px; }
html body .swd-app .swd-wallet-quick-amt { padding:8px 16px; border:1px solid var(--line); border-radius:10px; background:var(--surface-solid); color:var(--text); font-size:var(--fs-wallet-quick, calc(var(--swd-fs, 15px) * 0.87)); font-weight:var(--fw-wallet-quick, 600); cursor:pointer; transition:all .2s; }
html body .swd-app .swd-wallet-quick-amt:hover { border-color:var(--brand); color:var(--brand); }
html body .swd-app .swd-wallet-topup-row { display:flex; gap:8px; }
html body .swd-app .swd-wallet-topup-btn { padding:12px 24px; border:none; border-radius:10px; font-size:var(--wallet-topup-fs, 14px); font-weight:var(--fw-wallet-topup, 700); cursor:pointer; transition:all .2s; white-space:nowrap; }
html body .swd-app .swd-wallet-topup-btn:hover { opacity:.88; transform:translateY(-1px); }
html body .swd-app .swd-wallet-transactions-section { display:flex; flex-direction:column; gap:12px; }
html body .swd-app .swd-wallet-empty { text-align:center; padding:32px; color:var(--muted); font-size:var(--fs-wallet-empty, calc(var(--swd-fs, 15px) * 0.93)); font-weight:var(--fw-wallet-empty, 600); background:var(--surface-solid); border-radius:12px; }
html body .swd-app .swd-wallet-tx-table { display:flex; flex-direction:column; border-radius:12px; overflow:hidden; border:1px solid var(--line); background:var(--surface-solid); box-shadow:0 8px 26px -20px var(--shadow); }
html body .swd-app .swd-wallet-tx-head, html body .swd-app .swd-wallet-tx-row { display:grid; grid-template-columns: 1fr 1fr 1fr 2fr; gap:8px; padding:10px 16px; align-items:center; }
html body .swd-app .swd-wallet-tx-head { background:var(--brand-soft); font-size:var(--fs-wallet-tx-head, calc(var(--swd-fs, 15px) * 0.8)); font-weight:var(--fw-wallet-tx-head, 700); color:var(--brand-deep); }
html body .swd-app .swd-wallet-tx-row { font-size:var(--fs-wallet-tx-row, calc(var(--swd-fs, 15px) * 0.87)); font-weight:var(--fw-wallet-tx-row, 600); border-top:1px solid var(--line); color:var(--text); background:var(--surface-solid); }
.swd-app[data-theme="dark"] .swd-wallet-tx-head { color:var(--brand); }
html body .swd-app .swd-wallet-tx-type { font-weight:600; }
html body .swd-app .swd-wallet-tx-amount.is-credit { color:var(--success, #22c55e); font-weight:700; }
html body .swd-app .swd-wallet-tx-amount.is-debit { color:var(--danger); font-weight:700; }

@media(max-width:768px){
  html body .swd-app .swd-wallet-tx-head, html body .swd-app .swd-wallet-tx-row { grid-template-columns: 1fr 1fr 1.5fr; gap:6px; padding:8px 10px; }
  html body .swd-app .swd-wallet-tx-head { font-size:calc(var(--fs-wallet-tx-head, 12px) * 0.85); }
  html body .swd-app .swd-wallet-tx-row { font-size:calc(var(--fs-wallet-tx-row, 13px) * 0.85); }
  html body .swd-app .swd-wallet-tx-type { display:none; }
  .swd-wallet-tx-head > :nth-child(2),
  html body .swd-app .swd-wallet-tx-row > :nth-child(2) { display:none; }
}

html body .swd-app .swd-verified-badge { display:inline-flex; align-items:center; justify-content:center; width:var(--verified-size); height:var(--verified-size); margin-right:6px; vertical-align:middle; position:relative; flex-shrink:0; opacity:1; visibility:visible; }
html body .swd-app .swd-verified-badge svg { width:100%; height:100%; display:block; overflow:visible; }
html body .swd-app .swd-verified-badge .swd-vb-bg { fill:var(--verified-color); }
html body .swd-app .swd-verified-badge .swd-vb-check { fill:none; stroke:#fff; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
html body .swd-app .swd-verified-badge:hover .swd-vb-tooltip { opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
html body .swd-app .swd-vb-tooltip { position:absolute; bottom:calc(100% + 4px); left:50%; transform:translateX(-50%) translateY(4px); background:var(--vb-tooltip-bg, #1e293b); color:var(--vb-tooltip-text, #fff); font-size:var(--fs-vb-tooltip, calc(var(--swd-fs, 15px) * 0.73)); font-weight:var(--fw-vb-tooltip, 600); padding:4px 8px; border-radius:6px; white-space:nowrap; opacity:0; visibility:hidden; transition:all .2s; pointer-events:none; z-index:100; }
html body .swd-app .swd-vb-tooltip-bottom { bottom:auto; top:calc(100% + 4px); transform:translateX(-50%) translateY(-4px); }
html body .swd-app .swd-verified-badge:hover .swd-vb-tooltip-bottom,
html body .swd-app .swd-vb-comment:hover .swd-vb-tooltip-bottom { transform:translateX(-50%) translateY(0) !important; }

.comment-author .swd-verified-badge, .woocommerce-review__author .swd-verified-badge, html body .swd-app .swd-vb-comment { width:1em; height:1em; font-size:inherit; margin-right:4px; }
html body .swd-app .swd-vb-comment { position:relative; }
html body .swd-app .swd-vb-comment .swd-vb-tooltip { display:block; position:absolute; bottom:calc(100% + 4px); left:50%; transform:translateX(-50%) translateY(4px); opacity:0; visibility:hidden; transition:all .2s; pointer-events:none; z-index:100; }
html body .swd-app .swd-vb-comment:hover .swd-vb-tooltip { opacity:1 !important; visibility:visible !important; transform:translateX(-50%) translateY(0) !important; }

html body .swd-app .swd-ov-custom-widgets { margin-top:12px; }

html body .swd-app .swd-ow-discount-field { display:flex; align-items:stretch; gap:0; margin-top:6px; max-width:230px; border:1px solid var(--line); border-radius:9px; background:var(--surface); overflow:hidden; }
html body .swd-app .swd-ow-discount-code { flex:1; min-width:0; display:flex; align-items:center; padding:5px 9px; background:transparent; font-weight:var(--fw-ow-code, 700); color:var(--brand-deep); font-size:var(--fs-ow-code, calc(var(--swd-fs, 15px) * 0.83)); letter-spacing:.02em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.swd-app[data-theme="dark"] .swd-ow-discount-code { color:var(--brand); }
html body .swd-app .swd-ow-copy-btn { flex:0 0 auto; display:inline-flex; align-items:center; gap:4px; padding:0 9px; border:0; border-inline-start:1px solid var(--line); background:var(--brand-soft); color:var(--brand-deep); font-size:var(--fs-ow-copy, calc(var(--swd-fs, 15px) * 0.77)); font-weight:var(--fw-ow-copy, 700); cursor:pointer; transition:background .2s, color .2s; }
html body .swd-app .swd-ow-copy-btn:hover { background:var(--brand); color:var(--text-on-brand); }
html body .swd-app .swd-ow-copy-btn svg { width:13px; height:13px; }

html body .swd-app .swd-ow-wallet-body { flex:1; display:flex; flex-direction:row; align-items:center; justify-content:space-between; gap:10px; min-width:0; }
html body .swd-app .swd-ow-wallet-info { display:flex; flex-direction:column; gap:2px; min-width:0; }
html body .swd-app .swd-ow-wallet-charge { margin:0; }

html body .swd-app .swd-recharge-btn { display:inline-flex; align-items:center; justify-content:center; gap:4px; padding:5px 11px; border:0; border-radius:var(--recharge-radius); background:var(--recharge-bg); color:var(--recharge-color); font-size:var(--fs-recharge-btn, calc(var(--swd-fs, 15px) * 0.8)); font-weight:var(--fw-recharge-btn, 700); line-height:1; white-space:nowrap; cursor:pointer; transition: filter .2s, transform .2s; }
html body .swd-app .swd-recharge-btn:hover { filter:brightness(1.08); transform:translateY(-1px); }
html body .swd-app .swd-recharge-btn svg { width:14px; height:14px; }

html body .swd-app .swd-link-underline { display:inline-flex; align-items:center; gap:5px; margin-top:6px; color:var(--text); font-size:var(--fs-stat-label); font-weight: var(--fw-stat-label, 700); text-decoration:none; box-shadow:none; transition:color .25s; }
html body .swd-app .swd-link-underline:hover, html body .swd-app .swd-link-underline:focus-visible { text-decoration:none; color:var(--brand-deep); }
html body .swd-app .swd-link-underline svg { width:15px; height:15px; }

html body .swd-app .swd-track-head-detail .swd-track-title { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
html body .swd-app .swd-track-head-detail .swd-track-title h3 { margin:0; }

html body .swd-app .swd-trending-articles { margin-top:18px; }
html body .swd-app .swd-trending-articles .swd-bs-date { color:var(--muted); font-weight:var(--fw-muted); }

html body .swd-app .swd-wallet-orb { position:relative; width:44px; height:44px; display:flex; align-items:center; justify-content:center; }
html body .swd-app .swd-orb-core { position:absolute; width:16px; height:16px; border-radius:50%; background:radial-gradient(circle at 35% 35%, var(--waccent, #FFD700), var(--brand, #7ae2cf)); box-shadow:0 0 12px var(--waccent, #FFD700), 0 0 24px rgba(255,215,0,.3); animation:swd-orb-pulse 2.5s ease-in-out infinite; }
html body .swd-app .swd-orb-ring { position:absolute; border-radius:50%; border:2px solid var(--waccent, #FFD700); opacity:0; animation:swd-orb-ring 2.5s ease-out infinite; }
html body .swd-app .swd-orb-ring-1 { width:20px; height:20px; animation-delay:0s; }
html body .swd-app .swd-orb-ring-2 { width:20px; height:20px; animation-delay:.8s; }
html body .swd-app .swd-orb-ring-3 { width:20px; height:20px; animation-delay:1.6s; }
@keyframes swd-orb-ring{ 0%{ width:16px; height:16px; opacity:.8; } 100%{ width:44px; height:44px; opacity:0; } }
@keyframes swd-orb-pulse{ 0%,100%{ transform:scale(1); box-shadow:0 0 12px var(--waccent, #FFD700), 0 0 24px rgba(255,215,0,.3); } 50%{ transform:scale(1.15); box-shadow:0 0 18px var(--waccent, #FFD700), 0 0 36px rgba(255,215,0,.4); } }
html body .swd-app .swd-orb-particle { position:absolute; width:4px; height:4px; border-radius:50%; background:var(--waccent, #FFD700); animation:swd-orb-particle 2.5s ease-in-out infinite; }
html body .swd-app .swd-orb-particle-1 { top:2px; right:8px; animation-delay:0s; }
html body .swd-app .swd-orb-particle-2 { bottom:4px; left:6px; animation-delay:.8s; }
html body .swd-app .swd-orb-particle-3 { top:10px; left:2px; animation-delay:1.6s; }
@keyframes swd-orb-particle{ 0%,100%{ opacity:0; transform:scale(.5); } 50%{ opacity:1; transform:scale(1) translateY(-3px); } }

html body .swd-app[data-theme="light"] .swd-wallet-quick-amt { background:var(--wa-quick-bg, var(--brand-soft)); border-color:var(--line); color:var(--wa-quick-text, var(--text)); }
html body .swd-app[data-theme="light"] .swd-wallet-quick-amt:hover { background:var(--brand); border-color:var(--brand); color:var(--text-on-brand); }
html body .swd-app[data-theme="light"] .swd-wallet-quick-amt.is-selected { background:var(--brand); border-color:var(--brand); color:var(--text-on-brand); }
.swd-app[data-theme="dark"] .swd-wallet-quick-amt { background:var(--wa-quick-bg); color:var(--wa-quick-text); }

.swd-app[data-theme="dark"] .swd-wallet-quick-amt.is-selected,
.swd-app[data-theme="dark"] .swd-wallet-quick-amt:hover { background:var(--brand); border-color:var(--brand); color:var(--text-on-brand); }

@media(max-width:640px){

  html body .swd-app .swd-track-head-detail { flex-direction:row; flex-wrap:wrap; align-items:center; gap:8px; }
  html body .swd-app .swd-track-head-detail .swd-track-title { display:contents; }
  html body .swd-app .swd-track-head-detail .swd-track-title h3 { order:1; flex:1 1 auto; min-width:0; font-size:calc(var(--swd-fs, 15px)); }
  html body .swd-app .swd-track-head-detail .swd-back { order:2; flex:0 0 auto; white-space:nowrap; padding:7px 12px; font-size:calc(var(--swd-fs, 15px) * 0.8); }
  html body .swd-app .swd-track-head-detail .swd-badge { order:3; flex:0 0 auto; width:auto; max-width:100%; align-self:flex-start; margin-inline-end:auto; }
}

.swd-app[data-theme="light"] .swd-chat-head h3,
.swd-app[data-theme="light"] .swd-track-head-detail .swd-track-title h3,
.swd-app[data-theme="light"] .swd-ticket-new h3,
.swd-app[data-theme="light"] .swd-dl-head h3 { color:var(--text); }
.swd-app[data-theme="light"] .swd-dl-head h3 svg { color:var(--brand-deep); }

html body .swd-app .swd-stat-ic .swd-verified-badge { margin:0; display:flex; align-items:center; justify-content:center; }
html body .swd-app .swd-ow-type-verified_request .swd-stat-ic { display:flex; align-items:center; justify-content:center; }

a.swd-ov-custom-widget { text-decoration:none; color:inherit; box-shadow:none; cursor:pointer; }
a.swd-ov-custom-widget:hover { text-decoration:none; }

html body .swd-app .swd-pass-row { display:flex; align-items:flex-end; gap:12px; flex-wrap:nowrap; }
html body .swd-app .swd-pass-row .swd-field { flex:1 1 0; min-width:0; }
html body .swd-app .swd-pass-row .swd-btn { flex:1 1 0; min-width:0; white-space:nowrap; margin-top:0; padding:11px 14px !important; font-size:var(--fs-bubble) !important; border-radius:13px !important; height:auto; border:var(--field-border-width,1px) solid transparent !important; display:inline-flex !important; align-items:center !important; justify-content:center !important; line-height:normal; font-weight:var(--fw-bubble, 600);}
@media (max-width: 768px){
  html body .swd-app .swd-pass-row { flex-wrap:wrap; }
  html body .swd-app .swd-pass-row .swd-field { flex:1 1 100%; }
  html body .swd-app .swd-pass-row .swd-btn { flex:1 1 100%; }
}

html body .swd-app .swd-wallet-page { position:relative; border-radius:22px; }

html body .swd-app .swd-wallet-anim-silk_aurum::before {
  content:""; position:absolute; inset:0; border-radius:inherit;
  background:
    linear-gradient(125deg, color-mix(in srgb, var(--wbg1, #1a1a2e) 92%, transparent) 0%, color-mix(in srgb, var(--waccent, #FFD700) 34%, transparent) 45%, color-mix(in srgb, var(--wbg2, #16213e) 88%, transparent) 100%),
    radial-gradient(80% 120% at 20% 10%, color-mix(in srgb, var(--waccent, #FFD700) 26%, transparent) 0%, transparent 60%);
  opacity:1; mix-blend-mode:normal; z-index:0; pointer-events:none;
}
html body .swd-app .swd-wallet-anim-silk_aurum::after {
  content:""; position:absolute; inset:-20%; border-radius:inherit;
  background: linear-gradient(105deg, transparent 32%, color-mix(in srgb, var(--waccent, #FFD700) 62%, transparent) 47%, color-mix(in srgb, #fff 18%, transparent) 50%, color-mix(in srgb, var(--waccent, #FFD700) 52%, transparent) 53%, transparent 68%);
  filter:blur(14px); opacity:0; mix-blend-mode:screen; z-index:1; pointer-events:none;
  animation: swd-silk-sweep 5.2s cubic-bezier(.4,.04,.26,1) infinite;
}
@keyframes swd-silk-sweep{
  0%{ transform:translateX(-60%) translateY(-8%) rotate(-4deg); opacity:0; }
  18%{ opacity:.9; }
  50%{ transform:translateX(30%) translateY(6%) rotate(3deg); opacity:1; }
  82%{ opacity:.85; }
  100%{ transform:translateX(70%) translateY(-4%) rotate(5deg); opacity:0; }
}

html body .swd-app .swd-wallet-anim-pastel_mesh {
  --pm-coral:       #FF6B6B;
  --pm-coral-deep:  #F5756B;
  --pm-sky:         #75CBF5;
  --pm-sky-light:   #8FDAFA;
  --pm-ice:         #E1F8FF;
  --pm-ice-glow:    #BEEEFF;

  --pm-coral-mix:   color-mix(in srgb, var(--pm-coral) 90%, var(--wbg1, #1a1f3a));
  --pm-crimson-mix: color-mix(in srgb, var(--pm-coral-deep) 88%, var(--wbg1, #1a1f3a));
  --pm-sky-mix:     color-mix(in srgb, var(--pm-sky) 90%, var(--wbg2, #0d1117));
  --pm-skylt-mix:   color-mix(in srgb, var(--pm-sky-light) 92%, var(--wbg2, #0d1117));
  position: relative; isolation: isolate;
  border-radius: 22px;
  background:

    radial-gradient(58% 68% at 100% 0%, color-mix(in srgb, var(--pm-ice) 92%, transparent) 0%, color-mix(in srgb, var(--pm-ice-glow) 62%, transparent) 20%, color-mix(in srgb, var(--pm-sky-light) 22%, transparent) 42%, transparent 64%),

    radial-gradient(64% 130% at 104% 58%, var(--pm-sky-mix) 0%, color-mix(in srgb, var(--pm-skylt-mix) 82%, transparent) 30%, color-mix(in srgb, var(--pm-sky) 28%, transparent) 54%, transparent 74%),

    radial-gradient(84% 150% at 18% 62%, var(--pm-coral-mix) 0%, color-mix(in srgb, var(--pm-crimson-mix) 90%, transparent) 34%, color-mix(in srgb, var(--pm-coral) 40%, transparent) 60%, transparent 82%),

    radial-gradient(70% 90% at 0% 0%, color-mix(in srgb, var(--pm-crimson-mix) 55%, transparent) 0%, transparent 60%),

    linear-gradient(82deg,
      var(--pm-crimson-mix) 0%,
      var(--pm-coral-mix) 30%,
      var(--pm-coral-mix) 50%,
      color-mix(in srgb, var(--pm-coral-mix) 66%, var(--pm-sky-mix)) 62%,
      color-mix(in srgb, var(--pm-coral-mix) 32%, var(--pm-sky-mix)) 71%,
      var(--pm-sky-mix) 82%,
      var(--pm-skylt-mix) 100%),
    linear-gradient(135deg, var(--wbg1, #1a1f3a), var(--wbg2, #0d1117));
  box-shadow:
    inset 0  1px 0 0 color-mix(in srgb, var(--pm-ice) 55%, transparent),
    inset 0 -1px 0 0 color-mix(in srgb, var(--pm-coral-deep) 45%, rgba(0,0,0,.25)),
    inset 0 0 44px -20px color-mix(in srgb, var(--pm-ice-glow) 40%, transparent),
    0 28px 56px -26px color-mix(in srgb, var(--pm-coral) 55%, rgba(0,0,0,.4)),
    0 12px 30px -16px color-mix(in srgb, var(--pm-sky) 45%, transparent);
  animation: swd-pm-breathe 8s ease-in-out infinite;
}
html body .swd-app .swd-wallet-anim-pastel_mesh::before {
  content: ""; position: absolute; inset: -26%; z-index: 0; pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(30% 34% at 20% 42%, var(--pm-coral) 0%, transparent 70%),
    radial-gradient(26% 30% at 42% 72%, var(--pm-coral-deep) 0%, transparent 70%),
    radial-gradient(28% 32% at 82% 62%, var(--pm-sky) 0%, transparent 70%),
    radial-gradient(22% 26% at 92% 24%, var(--pm-sky-light) 0%, transparent 68%),
    radial-gradient(16% 18% at 96% 10%, var(--pm-ice-glow) 0%, transparent 66%),
    radial-gradient(14% 16% at 60% 34%, color-mix(in srgb, var(--pm-coral) 50%, var(--pm-sky)) 0%, transparent 66%);
  filter: blur(35px) saturate(1.04); mix-blend-mode: screen;
  opacity: .65; transform-origin: 50% 50%;
  animation: swd-pm-drift 20s cubic-bezier(.45,.05,.55,.95) infinite alternate;
  will-change: transform;
}
html body .swd-app .swd-wallet-anim-pastel_mesh::after {
  content: ""; position: absolute; inset: -18%; z-index: 0; pointer-events: none;
  border-radius: inherit; transform-origin: 50% 50%;
  background: linear-gradient(108deg,
    transparent 34%,
    color-mix(in srgb, var(--pm-ice-glow) 30%, transparent) 45%,
    color-mix(in srgb, var(--pm-ice) 52%, transparent) 50%,
    color-mix(in srgb, var(--pm-ice-glow) 30%, transparent) 55%,
    transparent 66%);
  filter: blur(20px); mix-blend-mode: screen; opacity: 0;
  animation: swd-pm-sweep 7s ease-in-out infinite;
  will-change: transform, opacity;
}

html body .swd-app[data-theme="light"] .swd-wallet-anim-pastel_mesh {
  --pm-coral: var(--pm-coral-light, #FF8A8A); --pm-coral-deep: var(--pm-coral-deep-light, #F5736B);
  --pm-sky: var(--pm-sky-light, #8DD3FA); --pm-sky-light: var(--pm-sky-light-lt, #A8E0FC);
  --pm-ice: #F0FBFF; --pm-ice-glow: #D4F4FF;
  --pm-coral-mix:   color-mix(in srgb, var(--pm-coral) 94%, var(--wbg1, #ffffff));
  --pm-crimson-mix: color-mix(in srgb, var(--pm-coral-deep) 92%, var(--wbg1, #ffffff));
  --pm-sky-mix:     color-mix(in srgb, var(--pm-sky) 94%, var(--wbg2, #ffffff));
  --pm-skylt-mix:   color-mix(in srgb, var(--pm-sky-light) 95%, var(--wbg2, #ffffff));
}
html body .swd-app[data-theme="dark"] .swd-wallet-anim-pastel_mesh {
  --pm-coral: var(--pm-coral-dark, #FF5252); --pm-coral-deep: var(--pm-coral-deep-dark, #D63838);
  --pm-sky: var(--pm-sky-dark, #5BB8F0); --pm-sky-light: var(--pm-sky-light-dark, #7AC8F5);
  --pm-ice: #E1F8FF; --pm-ice-glow: #BEEEFF;
  --pm-coral-mix:   color-mix(in srgb, var(--pm-coral) 88%, var(--wbg1, #1a1f3a));
  --pm-crimson-mix: color-mix(in srgb, var(--pm-coral-deep) 86%, var(--wbg1, #1a1f3a));
  --pm-sky-mix:     color-mix(in srgb, var(--pm-sky) 88%, var(--wbg2, #0d1117));
  --pm-skylt-mix:   color-mix(in srgb, var(--pm-sky-light) 90%, var(--wbg2, #0d1117));
}

html body .swd-app .swd-wallet-anim-pastel_mesh .swd-wallet-card-label { color:var(--text); opacity:1; text-shadow:none; }
html body .swd-app .swd-wallet-anim-pastel_mesh .swd-wallet-card-amount { color:var(--text); font-variant-numeric:tabular-nums lining-nums; text-shadow:none; filter:none; }
html body .swd-app .swd-wallet-anim-pastel_mesh .swd-wallet-card-amount small { opacity:.7; }
html body .swd-app .swd-wallet-anim-pastel_mesh .swd-wallet-card-user { color:var(--text); text-shadow:none; }
html body .swd-app .swd-wallet-anim-pastel_mesh .swd-wallet-card-brand { color:var(--wtext, #fff); background:none; -webkit-background-clip:initial; background-clip:initial; -webkit-text-fill-color:initial; filter:none; text-shadow:none; }
@keyframes swd-pm-breathe{
  0%,100%{ box-shadow:
    inset 0  1px 0 0 color-mix(in srgb, var(--pm-ice) 55%, transparent),
    inset 0 -1px 0 0 color-mix(in srgb, var(--pm-coral-deep) 45%, rgba(0,0,0,.25)),
    inset 0 0 44px -20px color-mix(in srgb, var(--pm-ice-glow) 40%, transparent),
    0 28px 56px -26px color-mix(in srgb, var(--pm-coral) 55%, rgba(0,0,0,.4)),
    0 12px 30px -16px color-mix(in srgb, var(--pm-sky) 45%, transparent); }
  50%{ box-shadow:
    inset 0  1px 0 0 color-mix(in srgb, var(--pm-ice) 72%, transparent),
    inset 0 -1px 0 0 color-mix(in srgb, var(--pm-coral-deep) 45%, rgba(0,0,0,.25)),
    inset 0 0 56px -18px color-mix(in srgb, var(--pm-ice-glow) 58%, transparent),
    0 32px 64px -26px color-mix(in srgb, var(--pm-coral) 66%, rgba(0,0,0,.4)),
    0 16px 38px -16px color-mix(in srgb, var(--pm-sky) 60%, transparent); }
}
@keyframes swd-pm-drift{
  0%{ transform:translate3d(0,0,0) scale(1); }
  50%{ transform:translate3d(3%,-2%,0) scale(1.06); }
  100%{ transform:translate3d(-2%,3%,0) scale(1.03); }
}
@keyframes swd-pm-sweep{
  0%{ transform:translateX(-80%) rotate(-5deg); opacity:0; }
  30%{ opacity:.5; }
  50%{ transform:translateX(20%) rotate(3deg); opacity:.7; }
  70%{ opacity:.5; }
  100%{ transform:translateX(80%) rotate(5deg); opacity:0; }
}

.swd-app .swd-wa-field { position:relative; box-sizing:border-box; width:100%; display:flex; align-items:center; gap:8px; flex:1; min-width:0; padding:0 var(--swd-wa-padding-h, 14px); border:var(--swd-wa-border-width, 1px) solid var(--swd-wa-border, #7ae2cf) !important; border-radius:var(--swd-wa-radius, 12px) !important; background:var(--swd-wa-bg, #f0f4f8) !important; box-shadow:none; transition:border-color .25s ease, box-shadow .25s ease; }
.swd-app .swd-wa-field:focus-within { border-color:var(--swd-wa-focus, #7ae2cf) !important; box-shadow:0 0 0 3px color-mix(in srgb, var(--swd-wa-focus, #7ae2cf) 18%, transparent) !important; }

.swd-app .swd-wa-field .swd-wa-input { order:1; flex:1; min-width:0; width:100%; box-sizing:border-box; padding:12px 4px 12px 56px !important; margin:0; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; outline:none; -webkit-appearance:none; appearance:none; font-family: var(--font); font-size:var(--swd-wa-text-size, 15px); font-weight:var(--fw-wa-input, 700); letter-spacing:.3px; color:var(--swd-wa-text-color, #1e293b); overflow:hidden; overflow-x:auto; scrollbar-width:none; -ms-overflow-style:none; }
.swd-app .swd-wa-field .swd-wa-input::-webkit-scrollbar { width:0; height:0; display:none; }
.swd-app .swd-wa-field .swd-wa-input:focus { border:0 !important; box-shadow:none !important; outline:none; }
.swd-app .swd-wa-field .swd-wa-input::placeholder { color:var(--swd-wa-placeholder, #94a3b8); font-weight:500; letter-spacing:0; }

html body .swd-app .swd-checkout-wallet #swdUseWallet { display:none !important; }

.swd-app .swd-wa-currency { position:absolute; left:10px; top:50%; transform:translateY(-50%); z-index:2; pointer-events:none; padding:5px 11px; border-radius:9px; background:var(--brand-soft); font-size:var(--fs-wa-currency, calc(var(--swd-wa-text-size, 15px) * 0.83)); font-weight:var(--fw-wa-currency, 700); line-height:1.2; color:var(--brand-deep); white-space:nowrap; }
.swd-app[data-theme="dark"] .swd-wa-currency { background:rgba(255,255,255,.08); color:var(--brand); }

.swd-app .swd-wa-words-tooltip { position:absolute; bottom:calc(100% + 10px); inset-inline-start:0; min-width:220px; max-width:420px; padding:12px 20px; border-radius:18px; font-size:var(--fs-wa-words-tooltip, calc(var(--swd-wa-text-size, 15px) * 0.93)); font-weight:var(--fw-wa-words-tooltip, 700); color:var(--text); background:rgba(255,255,255,.55); -webkit-backdrop-filter:blur(22px) saturate(180%); backdrop-filter:blur(22px) saturate(180%); border:1px solid rgba(255,255,255,.5); box-shadow:0 10px 32px -12px rgba(15,23,42,.28), inset 0 1px 0 rgba(255,255,255,.6); z-index:100; animation:swd-tooltip-glass .35s cubic-bezier(.34,1.4,.64,1); pointer-events:none; }
.swd-app .swd-wa-words-tooltip[hidden] { display:none; }
.swd-app .swd-wa-words-tooltip::after { content:''; position:absolute; top:100%; inset-inline-start:24px; width:12px; height:12px; margin-top:-6px; border-radius:2px; transform:rotate(45deg); background:inherit; -webkit-backdrop-filter:inherit; backdrop-filter:inherit; border-right:1px solid rgba(255,255,255,.5); border-bottom:1px solid rgba(255,255,255,.5); }
.swd-app[data-theme="dark"] .swd-wa-words-tooltip { color:var(--text); background:rgba(28,28,30,.55); border-color:rgba(255,255,255,.14); box-shadow:0 10px 32px -12px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08); }
.swd-app[data-theme="dark"] .swd-wa-words-tooltip::after { border-right-color:rgba(255,255,255,.14); border-bottom-color:rgba(255,255,255,.14); }
@keyframes swd-tooltip-glass{ from{ opacity:0; transform:translateY(8px) scale(.96); } to{ opacity:1; transform:translateY(0) scale(1); } }
.swd-app .swd-wa-words-mobile { display:none; font-size:var(--fs-wa-words-mobile, calc(var(--swd-wa-text-size, 15px) * 0.87)); font-weight:var(--fw-wa-words-mobile, 600); color:var(--wallet-words-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; background:transparent; border:0; border-radius:0; }
html body .swd-app .swd-wa-words-mobile[hidden] { display:none !important; }

@media(min-width:900px){
  html body .swd-app .swd-wallet-topup-form { flex-direction:row; align-items:stretch; gap:12px; flex-wrap:nowrap; }
  html body .swd-app .swd-wallet-quick-amounts { flex:0 1 auto; flex-wrap:nowrap; align-items:stretch; }
  html body .swd-app .swd-wallet-quick-amt { height:46px; padding:0 14px; white-space:nowrap; }
  html body .swd-app .swd-wallet-topup-row { flex:1; min-width:0; align-items:stretch; }
  html body .swd-app .swd-wa-field { flex:1 1 auto; height:46px; }
  html body .swd-app .swd-wa-words-mobile { display:none !important; }
  html body .swd-app .swd-wallet-topup-row .swd-wallet-topup-btn { align-self:stretch; height:46px; padding:0 24px; }
}

@media(max-width:899px){
  html body .swd-app .swd-wallet-topup-row { flex-wrap:wrap; align-items:center; gap:8px; }
  html body .swd-app .swd-wa-field { order:1; flex:1 1 auto; min-width:0; }
  html body .swd-app .swd-wallet-topup-row .swd-wallet-topup-btn { order:2; flex:1 1 100%; width:100%; }
  html body .swd-app .swd-wa-words-tooltip { display:none !important; }
  html body .swd-app .swd-wa-words-mobile:not([hidden]) { display:block; order:3; flex:1 1 100%; text-align:center; padding:8px 12px; background:transparent; border:0; border-radius:0; }
  html body .swd-app .swd-wallet-quick-amounts { width:100%; flex:1 1 100%; align-items:stretch; }
  html body .swd-app .swd-wallet-quick-amounts .swd-wallet-quick-amt { flex:1 1 0; min-width:0; }
}

@media(max-width:640px){
  html body .swd-app .swd-order-actions { flex-direction:row; flex-wrap:nowrap; align-items:stretch; gap:6px; min-width:0; width:100%; }
  html body .swd-app .swd-order-actions > * { flex:1 1 0; min-width:0; justify-content:center; text-align:center; padding:clamp(6px, 1.8vw, 9px) clamp(4px, 1.6vw, 10px); font-size:var(--fs-button-small, 11px); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:var(--fw-button-small, 600);}
  html body .swd-app .swd-order-actions > * svg { width:13px; height:13px; flex:0 0 auto; }
}

@media(max-width:640px){
  html body .swd-app .swd-chat-actions { flex-wrap:nowrap; align-items:stretch; gap:6px; width:100%; }
  html body .swd-app .swd-chat-actions > * { flex:1 1 0; min-width:0; justify-content:center; text-align:center; height:auto; padding:clamp(7px, 2vw, 10px) clamp(4px, 1.6vw, 12px); font-size:var(--fs-button-small, 11px); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:var(--fw-button-small, 600);}
  html body .swd-app .swd-chat-actions > * svg { width:13px; height:13px; flex:0 0 auto; }
}

@media (prefers-reduced-motion: reduce){
  html body .swd-app .swd-wallet-card::after,
  html body .swd-app .swd-wallet-anim-luxury_gold,
  html body .swd-app .swd-wallet-anim-luxury_gold::before,
  html body .swd-app .swd-wallet-anim-luxury_gold::after,
  html body .swd-app .swd-wallet-anim-luxury_gold .swd-wallet-card-amount,
  html body .swd-app .swd-wallet-anim-silk_aurum::before,
  html body .swd-app .swd-wallet-anim-silk_aurum::after,
  html body .swd-app .swd-wallet-anim-pastel_mesh,
  html body .swd-app .swd-wallet-anim-pastel_mesh::before,
  html body .swd-app .swd-wallet-anim-pastel_mesh::after { animation:none !important; }
  html body .swd-app .swd-wallet-anim-luxury_gold::before { transform:translate3d(1%,-1%,0) rotate(4deg) scale(1.06); }
  html body .swd-app .swd-wallet-anim-luxury_gold::after { background-position:50% 50%; }
  html body .swd-app .swd-wallet-anim-luxury_gold .swd-wallet-card-amount { background-position:50% 0; }
  html body .swd-app .swd-wallet-anim-silk_aurum::after { opacity:.4; }
  html body .swd-app .swd-wallet-anim-pastel_mesh::before { transform:translate3d(0,0,0) scale(1.03); }
  html body .swd-app .swd-wallet-anim-pastel_mesh::after { transform:translateX(20%) rotate(3deg); opacity:.3; }
}

html body .swd-app .swd-track-head-v2 { display:flex; flex-direction:column; gap:8px; align-items:stretch; width:100%; justify-content:flex-start; flex-wrap:nowrap; }
html body .swd-app .swd-track-head-row1 { display:flex; flex-direction:row; align-items:center; justify-content:space-between; gap:12px; width:100%; flex-wrap:nowrap; direction:rtl; }
html body .swd-app .swd-track-head-row1 .swd-track-order-num { margin:0; font-size:var(--fs-section-head); font-weight: var(--fw-section-head, 800); color:var(--text); flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
html body .swd-app .swd-track-head-row1 .swd-track-status-badge { flex:0 0 auto; width:auto; white-space:nowrap; }
html body .swd-app .swd-track-head-row1 .swd-back { flex:0 0 auto; white-space:nowrap; margin-inline-start:auto; }
html body .swd-app .swd-track-head-row2 { display:flex; direction:rtl; width:100%; justify-content:flex-start; }
html body .swd-app .swd-notices-page .swd-section-head { margin-top:0; }

@media(max-width:640px){
  html body .swd-app .swd-track-head-v2 { gap:6px; }
  html body .swd-app .swd-track-head-row1 { flex-wrap:wrap; }
  html body .swd-app .swd-track-head-row1 .swd-track-order-num { flex:0 1 auto; margin-inline-end:auto; }
  html body .swd-app .swd-track-head-row1 .swd-track-status-badge { order:3; flex:0 0 auto; width:auto; max-width:100%; align-self:flex-start; margin-inline-end:auto; }
  html body .swd-app .swd-track-head-row1 .swd-back { order:2; flex:0 0 auto; margin-inline-start:0; }
}

@media(max-width:640px){
  html body .swd-app .swd-dl-btn .swd-dl-btn-text { display:none; }
  html body .swd-app .swd-dl-btn { padding:10px 14px; }
  html body .swd-app .swd-dl-btn svg { width:18px; height:18px; }
}
@media(min-width:641px){
  html body .swd-app .swd-dl-btn .swd-dl-btn-text { display:inline; }
}

html body .swd-app .swd-bc-cta.swd-notice-mode-icon_only span { display:none; }
html body .swd-app .swd-bc-cta.swd-notice-mode-text_only svg { display:none; }
@media(max-width:640px){
  html body .swd-app .swd-bc-cta .swd-dl-btn-text { display:none; }
  html body .swd-app .swd-bc-cta.swd-notice-mode-icon_text span { display:none; }
  html body .swd-app .swd-bc-cta.swd-notice-mode-icon_text { padding:8px 10px; }
}

html body .swd-app .swd-ticket-rating { display:inline-flex; align-items:center; align-self:flex-start; width:fit-content; max-width:100%; flex-wrap:wrap; gap:10px; padding:12px 16px; margin-top:12px; border-radius:18px; background:linear-gradient(135deg, color-mix(in srgb, var(--brand) 14%, transparent), color-mix(in srgb, var(--surface) 72%, transparent)); border:1px solid color-mix(in srgb, var(--brand) 22%, rgba(255,255,255,.24)); box-shadow:0 18px 42px -28px rgba(15,23,42,.45); -webkit-backdrop-filter:blur(16px) saturate(145%); backdrop-filter:blur(16px) saturate(145%); }

html body .swd-app[data-theme="light"] .swd-ticket-rating { background: color-mix(in srgb, var(--brand) 8%, rgba(255,255,255,.22)); border-color: color-mix(in srgb, var(--brand) 28%, rgba(15,23,42,.10)); }
html body .swd-app[data-theme="dark"] .swd-ticket-rating { background: color-mix(in srgb, var(--brand) 13%, rgba(8,12,22,.55)); border-color: color-mix(in srgb, var(--brand) 32%, rgba(255,255,255,.10)); }
html body .swd-app .swd-rating-label { font-size:var(--fs-rating-label, calc(var(--swd-fs, 15px) * 0.87)); font-weight:var(--fw-rating-label, 600); color:var(--text); }
html body .swd-app .swd-stars { display:flex; gap:4px; }
html body .swd-app .swd-star-btn { background:none; border:none; cursor:pointer; padding:2px; color:var(--line); transition:transform .15s, color .15s; line-height:0; }
html body .swd-app .swd-star-btn:hover { transform:scale(1.2); }

html body .swd-app .swd-star-btn.is-hover { color:var(--star-rating, #f59e0b); transform:scale(1.12); }
html body .swd-app .swd-star-btn:focus-visible { outline:2px solid var(--star-rating, #f59e0b); outline-offset:2px; border-radius:8px; }
html body .swd-app .swd-star-btn.is-active { color:var(--star-rating, #f59e0b); }
html body .swd-app .swd-star-btn svg { width:24px; height:24px; display:block; }
html body .swd-app .swd-stars-readonly .swd-star-btn svg { width:20px; height:20px; }
html body .swd-app .swd-rated-readonly { opacity:.85; }
html body .swd-app .swd-ticket-rating.swd-rated-readonly .swd-star-btn { cursor:default; pointer-events:none; }
@media(max-width:640px){
  html body .swd-app .swd-ticket-rating { flex-direction:column; align-items:flex-start; gap:8px; }
  html body .swd-app .swd-stars { gap:6px; }
  html body .swd-app .swd-star-btn svg { width:28px; height:28px; }
}

html body .swd-app .swd-attach-btn { white-space:nowrap; }
html body .swd-app .swd-attach-preview { display:flex; flex-wrap:wrap; gap:8px; }
html body .swd-app .swd-attach-item { display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:10px; background:var(--brand-soft); border:1px solid var(--line); font-size:var(--fs-attach-item, calc(var(--swd-fs, 15px) * 0.8)); font-weight:var(--fw-attach-item, 600); color:var(--brand-deep); max-width:200px; }
html body .swd-app .swd-attach-item img { width:32px; height:32px; border-radius:6px; object-fit:cover; flex:0 0 auto; }
html body .swd-app .swd-attach-item .swd-attach-remove { cursor:pointer; color:var(--danger); font-size:calc(var(--swd-fs, 15px) * 1.07); line-height:1; }
html body .swd-app .swd-attach-item .swd-attach-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media(max-width:640px){

  html body .swd-app .swd-attach-btn .swd-attach-text { display:inline; }
  html body .swd-app .swd-attach-btn { padding:8px 12px; }
  html body .swd-app .swd-attach-btn svg { width:16px; height:16px; }
}

html body .swd-app .swd-bubble-attachments { display:flex; flex-wrap:wrap; gap:8px; padding:10px 14px; }
html body .swd-app .swd-bubble-att { display:inline-flex; align-items:center; gap:8px; padding:8px 10px; border-radius:10px; border:1px solid transparent; font-size:var(--fs-bubble-att, calc(var(--swd-fs, 15px) * 0.68)); font-weight:var(--fw-bubble-att, 600); color:inherit; text-decoration:none; max-width:200px; transition:transform .18s ease, background .18s ease, box-shadow .18s ease; }
html body .swd-app .swd-bubble-att:hover { transform:translateY(-1px); }
html body .swd-app .swd-bubble-att.is-image { padding:4px; max-width:none; }
html body .swd-app .swd-bubble-att img { width:36px; height:36px; border-radius:7px; object-fit:cover; }
html body .swd-app .swd-bubble-att-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

html body .swd-app .swd-bc-cta:hover { background:var(--notice-btn-hover-bg, var(--notice-btn-hover)); box-shadow:0 8px 20px -8px rgba(0,0,0,.6); color:var(--notice-btn-hover-text, var(--text-on-brand)) !important; }
html body .swd-app .swd-bc-cta:hover svg { color:var(--notice-btn-hover-text, var(--text-on-brand)) !important; stroke:var(--notice-btn-hover-text, var(--text-on-brand)) !important; }
html body .swd-app .swd-bc-cta:hover span { color:var(--notice-btn-hover-text, var(--text-on-brand)) !important; }

html body .swd-app .swd-track-head-row1 .swd-track-order-num { color:var(--text); }
.swd-app[data-theme="dark"] .swd-track-head-row1 .swd-track-order-num { color:var(--text); }

html body .swd-app .swd-new-msg-badge { --c:var(--danger); background:var(--danger); color:var(--text-on-danger, var(--text-on-brand)); border:0; font-weight:700; flex:0 0 auto; white-space:nowrap; }
@media(max-width:640px){
  html body .swd-app .swd-ticket-row .swd-new-msg-badge { display:inline-flex; }
}

html body .swd-app.swd-bg-ambient_orbs {
  background: var(--bg);
}
html body .swd-app.swd-bg-ambient_orbs .swd-ambient {
  position:fixed; inset:0; pointer-events:none; overflow:hidden; z-index:0;
}
html body .swd-app.swd-bg-ambient_orbs .swd-grid { display:none; }
html body .swd-app.swd-bg-ambient_orbs .swd-orb1 {
  width:46vw; height:46vw; background:radial-gradient(circle at 30% 30%, var(--brand), transparent 70%); top:-10vw; right:-6vw;
}
html body .swd-app.swd-bg-ambient_orbs .swd-orb2 {
  width:40vw; height:40vw; background:radial-gradient(circle at 70% 70%, var(--orb2), transparent 70%); bottom:-12vw; left:-8vw;
}
html body .swd-app.swd-bg-ambient_orbs .swd-orb3 {
  width:30vw; height:30vw; background:radial-gradient(circle at 50% 50%, var(--orb3), transparent 70%); top:40%; left:40%; opacity:.35;
}

html body .swd-app.swd-bg-solid_color {
  background: var(--bg-solid-light);
}
html body .swd-app.swd-bg-solid_color .swd-ambient,
html body .swd-app.swd-bg-solid_color .swd-orb,
html body .swd-app.swd-bg-solid_color .swd-grid { display:none; }
.swd-app[data-theme="dark"].swd-bg-solid_color {
  background: var(--bg-solid-dark);
}

html body .swd-app.swd-bg-color_gradient .swd-ambient,
html body .swd-app.swd-bg-color_gradient .swd-orb,
html body .swd-app.swd-bg-color_gradient .swd-grid { display:none; }

html body .swd-app.swd-bg-tonal_bloom {
  background:
    radial-gradient(ellipse at 20% 0%, var(--bg-aurora-1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, var(--bg-aurora-2) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, var(--bg-aurora-3) 0%, transparent 50%),
    var(--bg);
}
html body .swd-app.swd-bg-tonal_bloom .swd-orb {
  width:46vmax; height:46vmax; top:-12vmax; inset-inline-end:-10vmax; border-radius:50%;
  background: radial-gradient(circle at 35% 35%, var(--bg-aurora-1), var(--bg-aurora-2) 45%, transparent 70%);
  filter:blur(28px); opacity:.5; mix-blend-mode:plus-lighter;
  animation: swd-bloom-orbit 32s linear infinite;
}
html body .swd-app.swd-bg-tonal_bloom .swd-grid {
  background-image: radial-gradient(currentColor 1px, transparent 1px);
  background-size:28px 28px;
  color: color-mix(in srgb, var(--text) 6%, transparent);
  mask-image: radial-gradient(120% 120% at 50% 40%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 120% at 50% 40%, black, transparent 75%);
  opacity:.5;
}
html body .swd-app.swd-bg-tonal_bloom .swd-ambient {
  position:fixed; inset:0; pointer-events:none; overflow:hidden; z-index:0;
  background:
    radial-gradient(40% 50% at 20% 30%, var(--bg-aurora-1), transparent 70%),
    radial-gradient(45% 55% at 80% 20%, var(--bg-aurora-2), transparent 72%),
    radial-gradient(50% 50% at 50% 85%, var(--bg-aurora-3), transparent 70%);
  filter:blur(60px); mix-blend-mode:screen; will-change:transform;
  animation: swd-bloom-drift 26s ease-in-out infinite alternate;
}
@keyframes swd-bloom-drift{
  0%{ transform:translate3d(-3%,2%,0) scale(1) rotate(0deg); background-position:0% 0%,100% 0%,50% 100%; }
  50%{ transform:translate3d(4%,-3%,0) scale(1.08) rotate(8deg); background-position:30% 20%,70% 30%,40% 80%; }
  100%{ transform:translate3d(-2%,4%,0) scale(1.04) rotate(-6deg); background-position:10% 10%,90% 10%,60% 90%; }
}
@keyframes swd-bloom-orbit{ from{ transform:rotate(0deg) translate3d(0,0,0); } to{ transform:rotate(360deg) translate3d(0,0,0); } }
.swd-app[data-theme="dark"].swd-bg-tonal_bloom {
  background:
    radial-gradient(ellipse at 20% 0%, var(--bg-aurora-1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, var(--bg-aurora-2) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, var(--bg-aurora-3) 0%, transparent 50%),
    var(--bg);
}
.swd-app[data-theme="dark"].swd-bg-tonal_bloom .swd-ambient { opacity:.42; }
.swd-app[data-theme="dark"].swd-bg-tonal_bloom .swd-orb { opacity:.4; }
.swd-app[data-theme="dark"].swd-bg-tonal_bloom .swd-grid { color: color-mix(in srgb, var(--text) 9%, transparent); opacity:.6; }
@media (prefers-reduced-motion: reduce){
  html body .swd-app.swd-bg-tonal_bloom .swd-ambient, html body .swd-app.swd-bg-tonal_bloom .swd-orb { animation:none !important; }
}

html body .swd-app.swd-bg-silk_aurora {
  background:
    radial-gradient(140% 90% at 50% -35%, color-mix(in srgb, var(--bg-silk-4) 10%, transparent) 0%, transparent 62%),
    linear-gradient(166deg,
      color-mix(in srgb, var(--bg-silk-1) 6%, var(--bg)) 0%,
      var(--bg) 42%,
      var(--bg) 58%,
      color-mix(in srgb, var(--bg-silk-3) 5%, var(--bg)) 100%);
}

html body .swd-app.swd-bg-silk_aurora .swd-ambient {
  position:fixed; inset:0; pointer-events:none; overflow:hidden; z-index:0;
  isolation:isolate;
  background: radial-gradient(115% 115% at 50% 45%, transparent 58%, color-mix(in srgb, var(--bg-silk-1) 8%, transparent) 100%);
}

html body .swd-app.swd-bg-silk_aurora .swd-ambient::before {
  content:""; position:absolute; inset:-2px; z-index:3; pointer-events:none;
  background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size:180px 180px;
  opacity:.055; mix-blend-mode:overlay;
}

html body .swd-app.swd-bg-silk_aurora .swd-ambient::after {
  content:""; position:absolute; z-index:2; pointer-events:none;
  top:-30%; bottom:-30%; left:0; width:38vw;
  --sheen: color-mix(in srgb, #fff 70%, var(--bg-silk-4));
  background:linear-gradient(90deg,
    transparent 0%,
    color-mix(in srgb, var(--sheen) 18%, transparent) 35%,
    color-mix(in srgb, var(--sheen) 42%, transparent) 50%,
    color-mix(in srgb, var(--sheen) 18%, transparent) 65%,
    transparent 100%);
  transform:translate3d(-60vw,0,0) skewX(-14deg);
  will-change:transform;
  animation:swd-silk-sweep 28s cubic-bezier(.45,.05,.55,.95) infinite;
}

html body .swd-app.swd-bg-silk_aurora .swd-grid {
  position:absolute; inset:0; z-index:0; opacity:.9;
  --weave: color-mix(in srgb, var(--text) 3.5%, transparent);
  --weave-cross: color-mix(in srgb, var(--text) 1.6%, transparent);
  background-image:
    repeating-linear-gradient(-14deg, var(--weave) 0 1px, transparent 1px 6px),
    repeating-linear-gradient( 76deg, var(--weave-cross) 0 1px, transparent 1px 19px);
  mask-image:radial-gradient(120% 100% at 50% 40%, #000 30%, transparent 92%);
  -webkit-mask-image:radial-gradient(120% 100% at 50% 40%, #000 30%, transparent 92%);
}

html body .swd-app.swd-bg-silk_aurora .swd-orb {
  position:absolute; inset:auto; z-index:1;
  width:165vmax; height:19vmax; left:-32vmax; border-radius:0;
  --silk: var(--bg-silk-1);
  --silk-core: color-mix(in srgb, #fff 40%, var(--silk));
  --silk-ridge: color-mix(in srgb, #fff 55%, transparent);
  background:
    linear-gradient(180deg, transparent 0 39%, var(--silk-ridge) 43%, transparent 47%),
    linear-gradient(180deg,
      transparent 0%,
      color-mix(in srgb, var(--silk) 26%, transparent) 20%,
      color-mix(in srgb, var(--silk) 58%, transparent) 40%,
      color-mix(in srgb, var(--silk-core) 74%, transparent) 50%,
      color-mix(in srgb, var(--silk) 58%, transparent) 60%,
      color-mix(in srgb, var(--silk) 26%, transparent) 80%,
      transparent 100%);
  mask-image:linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  filter:blur(10px);
  opacity:.5; mix-blend-mode:multiply;
  transform-origin:50% 50%;
  will-change:transform;
  animation:swd-silk-wave-a 46s ease-in-out infinite alternate;
}
html body .swd-app.swd-bg-silk_aurora .swd-orb1 {
  --silk: var(--bg-silk-1); top:14%;
  transform:rotate(-14deg);
  animation-name:swd-silk-wave-a; animation-duration:46s;
}
html body .swd-app.swd-bg-silk_aurora .swd-orb2 {
  --silk: var(--bg-silk-2); top:46%; height:15vmax; opacity:.4;
  transform:rotate(-14deg);
  animation-name:swd-silk-wave-b; animation-duration:58s; animation-delay:-19s;
}
html body .swd-app.swd-bg-silk_aurora .swd-orb3 {
  --silk: var(--bg-silk-3); top:74%; height:23vmax; opacity:.38;
  transform:rotate(-14deg);
  animation-name:swd-silk-wave-c; animation-duration:71s; animation-delay:-33s;
}

@keyframes swd-silk-wave-a {
  0%   { transform:rotate(-14deg) translate3d(-4vmax, 0,      0) scaleY(1)    skewY(0deg);   }
  50%  { transform:rotate(-13deg) translate3d( 3vmax, 1.2vmax,0) scaleY(1.14) skewY(.6deg);  }
  100% { transform:rotate(-15deg) translate3d( 7vmax,-0.8vmax,0) scaleY(.94)  skewY(-.4deg); }
}
@keyframes swd-silk-wave-b {
  0%   { transform:rotate(-14deg) translate3d( 6vmax, 0,      0) scaleY(1)    skewY(0deg);   }
  50%  { transform:rotate(-15.5deg) translate3d(-2vmax,-1.4vmax,0) scaleY(1.22) skewY(-.7deg); }
  100% { transform:rotate(-13deg) translate3d(-8vmax, 0.6vmax,0) scaleY(.9)   skewY(.5deg);  }
}
@keyframes swd-silk-wave-c {
  0%   { transform:rotate(-14deg) translate3d(-7vmax, 0,      0) scaleY(1)    skewY(0deg);   }
  50%  { transform:rotate(-12.5deg) translate3d( 1vmax, 1.6vmax,0) scaleY(1.1)  skewY(.5deg);  }
  100% { transform:rotate(-14.5deg) translate3d( 5vmax,-1vmax, 0) scaleY(1.18) skewY(-.6deg); }
}
@keyframes swd-silk-sweep {
  0%   { transform:translate3d(-60vw,0,0) skewX(-14deg); opacity:0;  }
  4%   { opacity:1; }
  30%  { opacity:1; }
  34%  { transform:translate3d(130vw,0,0) skewX(-14deg); opacity:0;  }
  100% { transform:translate3d(130vw,0,0) skewX(-14deg); opacity:0;  }
}

.swd-app[data-theme="dark"].swd-bg-silk_aurora {
  background:
    radial-gradient(140% 90% at 50% -35%, color-mix(in srgb, var(--bg-silk-4) 7%, transparent) 0%, transparent 62%),
    linear-gradient(166deg,
      color-mix(in srgb, var(--bg-silk-1) 9%, var(--bg)) 0%,
      var(--bg) 42%,
      var(--bg) 58%,
      color-mix(in srgb, var(--bg-silk-2) 7%, var(--bg)) 100%);
}
.swd-app[data-theme="dark"].swd-bg-silk_aurora .swd-ambient {
  background: radial-gradient(115% 115% at 50% 45%, transparent 55%, rgba(0,0,0,.42) 100%);
}
.swd-app[data-theme="dark"].swd-bg-silk_aurora .swd-ambient::before { opacity:.075; }
.swd-app[data-theme="dark"].swd-bg-silk_aurora .swd-ambient::after {
  mix-blend-mode:plus-lighter;
  background:linear-gradient(90deg,
    transparent 0%,
    color-mix(in srgb, var(--bg-silk-4) 4%, transparent) 35%,
    color-mix(in srgb, var(--bg-silk-4) 11%, transparent) 50%,
    color-mix(in srgb, var(--bg-silk-4) 4%, transparent) 65%,
    transparent 100%);
}
.swd-app[data-theme="dark"].swd-bg-silk_aurora .swd-grid {
  --weave: color-mix(in srgb, var(--text) 3.5%, transparent);
  --weave-cross: color-mix(in srgb, var(--text) 1.8%, transparent);
  opacity:.7;
}
.swd-app[data-theme="dark"].swd-bg-silk_aurora .swd-orb {
  mix-blend-mode:screen;
  --silk-core: color-mix(in srgb, #fff 26%, var(--silk));
  --silk-ridge: color-mix(in srgb, #fff 34%, transparent);
  filter:blur(12px);
}
.swd-app[data-theme="dark"].swd-bg-silk_aurora .swd-orb1 { opacity:.42; }
.swd-app[data-theme="dark"].swd-bg-silk_aurora .swd-orb2 { opacity:.36; }
.swd-app[data-theme="dark"].swd-bg-silk_aurora .swd-orb3 { opacity:.34; }

@media (prefers-reduced-motion: reduce) {
  html body .swd-app.swd-bg-silk_aurora .swd-orb,
  html body .swd-app.swd-bg-silk_aurora .swd-ambient::after { animation:none !important; }
  html body .swd-app.swd-bg-silk_aurora .swd-orb1 { transform:rotate(-14deg) translate3d(-1vmax,0,0); }
  html body .swd-app.swd-bg-silk_aurora .swd-orb2 { transform:rotate(-14.5deg) translate3d(2vmax,0,0) scaleY(1.1); }
  html body .swd-app.swd-bg-silk_aurora .swd-orb3 { transform:rotate(-13.5deg) translate3d(-3vmax,0,0); }
  html body .swd-app.swd-bg-silk_aurora .swd-ambient::after { transform:translate3d(28vw,0,0) skewX(-14deg); opacity:.5; }
}

@supports not (color: color-mix(in srgb, red 50%, blue)) {
  html body .swd-app.swd-bg-silk_aurora { background:var(--bg); }
  html body .swd-app.swd-bg-silk_aurora .swd-ambient { background:none; }
  html body .swd-app.swd-bg-silk_aurora .swd-ambient::after { display:none; }
  html body .swd-app.swd-bg-silk_aurora .swd-grid {
    background-image:repeating-linear-gradient(-14deg, rgba(128,128,128,.08) 0 1px, transparent 1px 7px);
  }
  html body .swd-app.swd-bg-silk_aurora .swd-orb {
    background:linear-gradient(180deg, transparent 0%, var(--silk) 50%, transparent 100%);
    opacity:.22;
  }
}

html body .swd-app .swd-wallet-card-tag { display:inline-flex; align-items:center; justify-content:center; padding:0; background:transparent; border:0; backdrop-filter:none; -webkit-backdrop-filter:none; }
html body .swd-app .swd-wallet-cc-icon { position:relative; display:inline-flex; align-items:center; justify-content:center; width:56px; height:42px; }

html body .swd-app .swd-wallet-card-top.swd-wallet-cc-hidden .swd-wallet-cc-icon { display:none !important; }
html body .swd-app .swd-wallet-card-top.swd-wallet-cc-hidden .swd-wallet-card-tag { display:none; }
html body .swd-app .swd-wallet-card-top.swd-wallet-cc-hidden { min-height:0; }
html body .swd-app .swd-wallet-card-top.swd-wallet-cc-hidden + .swd-wallet-card-balance { margin-top:0; }

html body .swd-app .swd-wallet-cc-svg { width:56px; height:42px; display:block; filter:drop-shadow(0 2px 8px color-mix(in srgb, var(--waccent, #FFD700) 30%, transparent)); animation:swd-cc-float 3s ease-in-out infinite; }
html body .swd-app .swd-wallet-cc-chip { animation:swd-cc-chip-pulse 2s ease-in-out infinite; transform-origin:center; transform-box:fill-box; }
html body .swd-app .swd-wallet-cc-glow {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:40px; height:30px; border-radius:8px;
  background:radial-gradient(circle, color-mix(in srgb, var(--waccent, #FFD700) 25%, transparent) 0%, transparent 70%);
  animation:swd-cc-glow-pulse 2.5s ease-in-out infinite;
  pointer-events:none; z-index:0;
}
html body .swd-app .swd-wallet-cc-svg { position:relative; z-index:1; }
@keyframes swd-cc-float{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-3px); } }
@keyframes swd-cc-chip-pulse{ 0%,100%{ opacity:.6; } 50%{ opacity:1; } }
@keyframes swd-cc-glow-pulse{ 0%,100%{ opacity:.3; transform:translate(-50%,-50%) scale(.9); } 50%{ opacity:.8; transform:translate(-50%,-50%) scale(1.2); } }

@keyframes swd-lux-breathe { 0%,100%{ box-shadow:inset 0 1px 0 0 color-mix(in srgb, var(--lux-champagne) 26%, transparent), inset 0 -1px 0 0 rgba(0,0,0,.55), inset 0 0 40px -18px rgba(0,0,0,.6), 0 30px 60px -24px rgba(0,0,0,.72), 0 14px 36px -18px color-mix(in srgb, var(--lux-gold) 30%, transparent); } 50%{ box-shadow:inset 0 1px 0 0 color-mix(in srgb, var(--lux-champagne) 34%, transparent), inset 0 -1px 0 0 rgba(0,0,0,.55), inset 0 0 40px -18px rgba(0,0,0,.5), 0 34px 66px -24px rgba(0,0,0,.72), 0 18px 48px -18px color-mix(in srgb, var(--lux-gold) 44%, transparent); } }
@keyframes swd-lux-molten { 0%{ transform:translate3d(-3%,2%,0) rotate(-5deg) scale(1.02); } 33%{ transform:translate3d(4%,-3%,0) rotate(3deg) scale(1.10); } 66%{ transform:translate3d(-2%,-5%,0) rotate(9deg) scale(1.05); } 100%{ transform:translate3d(5%,4%,0) rotate(14deg) scale(1.12); } }
@keyframes swd-lux-edge { 0%{ background-position:0% 0%; } 100%{ background-position:100% 100%; } }
@keyframes swd-lux-metal { 0%{ background-position:100% 0; } 55%{ background-position:0% 0; } 100%{ background-position:0% 0; } }

@media (prefers-reduced-motion: reduce){
  .swd-wallet-cc-svg,
  .swd-wallet-cc-chip,
  html body .swd-app .swd-wallet-cc-glow { animation:none; }
}

.swd-avatar-anim-wave::before,
html body .swd-app .swd-avatar-anim-wave::after {
  content:""; position:absolute; inset:0; border-radius:50%; z-index:0; pointer-events:none;
}
html body .swd-app .swd-avatar-anim-wave::before {
  background: var(--anim-c1, var(--brand));
  animation: swd-avatar-wave 2.5s ease-out infinite;
}
html body .swd-app .swd-avatar-anim-wave::after {
  background: var(--anim-c2, var(--brand-deep));
  animation: swd-avatar-wave 2.5s ease-out infinite 1.25s;
}
@keyframes swd-avatar-wave{
  0%{ transform:scale(0); opacity:.7; }
  70%{ opacity:.3; }
  100%{ transform:scale(1.35); opacity:0; }
}

html body .swd-app .swd-avatar-anim-material_glow::before {
  content:""; position:absolute; inset:-6px; border-radius:50%; z-index:0; pointer-events:none;
  background:
    radial-gradient(circle at 32% 28%,
      color-mix(in srgb, var(--anim-c1, var(--brand)) 78%, transparent) 0%,
      color-mix(in srgb, var(--anim-c1, var(--brand)) 40%, transparent) 38%,
      transparent 62%),
    radial-gradient(circle at 70% 72%,
      color-mix(in srgb, var(--anim-c2, var(--brand-deep)) 72%, transparent) 0%,
      color-mix(in srgb, var(--anim-c2, var(--brand-deep)) 35%, transparent) 40%,
      transparent 66%);
  border-radius: 52% 48% 60% 40% / 45% 55% 45% 55%;
  filter: blur(5px) saturate(1.35);
  box-shadow: 0 0 14px -2px color-mix(in srgb, var(--anim-c1, var(--brand)) 45%, transparent),
              inset 0 0 8px -2px color-mix(in srgb, var(--anim-c2, var(--brand-deep)) 30%, transparent);
  animation:
    swd-material-morph 9s cubic-bezier(0.4, 0.0, 0.2, 1) infinite,
    swd-material-drift 11s cubic-bezier(0.34, 1.2, 0.64, 1) infinite alternate;
}
html body .swd-app .swd-avatar-anim-material_glow::after {
  content:""; position:absolute; inset:-18px; border-radius:50%; z-index:0; pointer-events:none;
  background: radial-gradient(circle at 50% 50%,
    color-mix(in srgb, var(--anim-c1, var(--brand)) 26%, transparent) 0%,
    color-mix(in srgb, var(--anim-c2, var(--brand-deep)) 18%, transparent) 45%,
    transparent 72%);
  filter: blur(14px) saturate(1.2);
  animation: swd-material-breathe 6s cubic-bezier(0.4, 0.0, 0.2, 1) infinite alternate;
}
@keyframes swd-material-morph{
  0%{   border-radius: 52% 48% 60% 40% / 45% 55% 45% 55%; transform: scale(1) rotate(0deg); }
  25%{  border-radius: 40% 60% 52% 48% / 55% 45% 60% 40%; transform: scale(1.05) rotate(8deg); }
  50%{  border-radius: 58% 42% 44% 56% / 50% 52% 48% 50%; transform: scale(0.98) rotate(-6deg); }
  75%{  border-radius: 46% 54% 58% 42% / 42% 58% 42% 58%; transform: scale(1.04) rotate(4deg); }
  100%{ border-radius: 52% 48% 60% 40% / 45% 55% 45% 55%; transform: scale(1) rotate(0deg); }
}
@keyframes swd-material-drift{
  0%{   transform: translate(0, 0) scale(1); }
  33%{  transform: translate(3px, -2px) scale(1.03); }
  66%{  transform: translate(-2px, 3px) scale(0.99); }
  100%{ transform: translate(2px, 1px) scale(1.02); }
}
@keyframes swd-material-breathe{
  0%{   opacity: 0.35; transform: scale(0.92); }
  100%{ opacity: 0.6;  transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce){
  .swd-avatar-anim-wave::before, .swd-avatar-anim-wave::after,
  html body .swd-app .swd-avatar-anim-material_glow::before, html body .swd-app .swd-avatar-anim-material_glow::after { animation:none !important; }
}

html body .swd-app .swd-btn-spinner {
  border:2px solid color-mix(in srgb, currentColor 25%, transparent);
  border-top-color:currentColor !important;
}

html body .swd-app #swdWalletTopupBtn .swd-btn-spinner {
  display:inline-block !important;
  border-color:color-mix(in srgb, currentColor 28%, transparent) !important;
  border-top-color:currentColor !important;
}

body.swd-tooltip-active #swdBackSite {
  border-color: color-mix(in srgb, var(--brand) 55%, transparent) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent), 0 6px 18px -6px color-mix(in srgb, var(--brand) 50%, transparent) !important;
  color: var(--brand-deep) !important;
  transition: border-color .4s cubic-bezier(.22,1,.36,1), box-shadow .4s cubic-bezier(.22,1,.36,1), color .4s cubic-bezier(.22,1,.36,1) !important;
}

body.swd-tooltip-active.swd-tooltip-blur #swdApp > *:not(.swd-sidebar),
body.swd-tooltip-active.swd-tooltip-blur .swd-sidebar > *:not(.swd-side-bottom),
body.swd-tooltip-active.swd-tooltip-blur .swd-side-bottom > *:not(#swdBackSite):not(#swdBackTooltip) {
  filter: blur(6px);
  transition: filter .4s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
body.swd-tooltip-active.swd-tooltip-blur #swdBackSite {
  filter: none !important;
}

html body .swd-app .swd-back-tooltip-title {
  font-size:var(--fs-back-tooltip-title, 13px); font-weight: var(--fw-back-tooltip-title, 800);
  line-height:1.4; color:var(--brand-deep, var(--brand));
  letter-spacing:.2px;
}

html body .swd-app .swd-back-tooltip {
  position:absolute; bottom:calc(100% + 16px); inset-inline-end:0; z-index:60;
  display:flex; flex-direction:column; gap:6px; min-width:240px; max-width:320px;
  padding:14px 36px 14px 14px; border-radius:16px;
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  -webkit-backdrop-filter:blur(14px) saturate(150%); backdrop-filter:blur(14px) saturate(150%);
  border:1px solid color-mix(in srgb, var(--line) 55%, transparent);
  box-shadow: 0 10px 30px -8px var(--shadow), 0 0 0 1px color-mix(in srgb, var(--brand) 8%, transparent), inset 0 1px 0 color-mix(in srgb, #fff 18%, transparent);
  opacity:0; transform:translateY(8px) scale(.96); transform-origin:center bottom;
  animation: swd-tooltip-in .42s cubic-bezier(.22,1,.36,1) .12s forwards, swd-heartbeat 2.4s ease-in-out 1s infinite;
  pointer-events:auto;
}

html body .swd-app .swd-back-tooltip::before {
  content:""; position:absolute; top:100%; inset-inline-end:20px;
  width:14px; height:14px; background:inherit;
  border-inline-end:1px solid rgba(0, 0, 0, 0.85);
  border-bottom:1px solid rgba(0, 0, 0, 0.85);
  transform:translateY(-50%) rotate(45deg); border-radius:3px; pointer-events:none;
}

html body .swd-app .swd-back-tooltip-close {
  position:absolute; inset-inline-end:8px; top:8px;
  width:24px; height:24px; display:grid; place-items:center;
  padding:0; border:none; border-radius:8px; background:transparent;
  color:var(--text-muted); font-size:var(--fs-back-tooltip-close, calc(var(--swd-fs, 15px) * 1.33)); line-height:1; cursor:pointer;
  transition:background .2s ease, color .2s ease;
}
html body .swd-app .swd-back-tooltip-close:hover {
  background: color-mix(in srgb, var(--danger) 14%, transparent);
  color:var(--danger);
}

html body .swd-app .swd-back-tooltip-text {
  font-size:var(--fs-back-tooltip-text, 13px); font-weight: var(--fw-back-tooltip-text, 400);
  line-height:1.6; color:var(--text); letter-spacing:.1px;
  display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}

html body .swd-app .swd-back-tooltip-progress {
  position:absolute; left:0; right:0; bottom:0; height:3px; width:100%;
  border-radius:0 0 16px 16px; overflow:hidden;
  background: color-mix(in srgb, var(--line) 40%, transparent);
}
html body .swd-app .swd-back-tooltip-progress::after {
  content:""; position:absolute; inset:0 auto 0 0; width:0; height:100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-deep, var(--brand)));
  border-radius:0 0 16px 16px;
  animation: swd-tooltip-progress-fill 15s linear forwards;
}

html body .swd-app .swd-back-tooltip.is-hidden { pointer-events:none; animation: swd-tooltip-out .3s ease-in forwards; }

@keyframes swd-tooltip-in{ from{ opacity:0; transform:translateY(8px) scale(.96); } to{ opacity:1; transform:translateY(0) scale(1); } }
@keyframes swd-tooltip-out{ from{ opacity:1; transform:translateY(0) scale(1); } to{ opacity:0; transform:translateY(8px) scale(.96); pointer-events:none; } }
@keyframes swd-tooltip-progress-fill{ from{ width:0; } to{ width:100%; } }

@keyframes swd-heartbeat{
  0%,100%{ transform:translateY(0) scale(1); box-shadow: 0 10px 30px -8px var(--shadow), 0 0 0 1px color-mix(in srgb, var(--brand) 8%, transparent), inset 0 1px 0 color-mix(in srgb, #fff 18%, transparent); }
  15%{ transform:translateY(0) scale(1.018); box-shadow: 0 14px 38px -8px var(--shadow), 0 0 0 2px color-mix(in srgb, var(--brand) 22%, transparent), 0 0 22px -4px color-mix(in srgb, var(--brand) 30%, transparent), inset 0 1px 0 color-mix(in srgb, #fff 18%, transparent); }
  30%{ transform:translateY(0) scale(1.008); }
  45%,100%{ transform:translateY(0) scale(1); }
}

@media (max-width:768px){
  html body .swd-app .swd-back-tooltip { bottom:auto; top:calc(100% + 16px); inset-inline-end:0; max-width:min(320px, 86vw); }
  html body .swd-app .swd-back-tooltip::before { top:auto; bottom:100%; transform:translateY(50%) rotate(225deg); inset-inline-end:20px; }
}

.swd-app[data-theme="dark"] .swd-back-tooltip {
  background: color-mix(in srgb, var(--surface-solid, var(--surface)) 50%, transparent);
  -webkit-backdrop-filter:blur(16px) saturate(140%); backdrop-filter:blur(16px) saturate(140%);
  border-color: color-mix(in srgb, var(--line) 45%, transparent);
  box-shadow: 0 12px 36px -8px rgba(0,0,0,.55), 0 0 0 1px color-mix(in srgb, var(--brand) 12%, transparent), inset 0 1px 0 rgba(255,255,255,.06);
}
.swd-app[data-theme="dark"] .swd-back-tooltip::before { border-color: rgba(0, 0, 0, 0.9); }
.swd-app[data-theme="dark"] .swd-back-tooltip-progress { background: color-mix(in srgb, var(--line) 30%, transparent); }

@media (prefers-reduced-motion: reduce){
  html body .swd-app .swd-back-tooltip { animation: swd-tooltip-in .2s ease forwards !important; }
  html body .swd-app .swd-back-tooltip.is-hidden { animation: swd-tooltip-out .2s ease forwards !important; }
  body.swd-tooltip-active #swdBackSite { transition:none !important; }
  body.swd-tooltip-active.swd-tooltip-blur #swdApp > *,
  body.swd-tooltip-active.swd-tooltip-blur .swd-sidebar > *,
  body.swd-tooltip-active.swd-tooltip-blur .swd-side-bottom > * { transition:none !important; }
}

html body .swd-app .swd-mlm-overlay {
  position: fixed; inset: 0; z-index: 999999;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: color-mix(in srgb, var(--mlm-bg, #1e293b) 55%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
html body .swd-app .swd-mlm-overlay.is-open { opacity: 1; visibility: visible; }
html body .swd-app .swd-mlm-card {
  direction: rtl; width: 100%; max-width: 340px; text-align: center;
  background: var(--mlm-card-bg, #fff);
  border-radius: var(--swd-card-radius, 20px);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  padding: 28px 24px 24px;
  transform: scale(.9); opacity: 0;
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), opacity .22s ease;
}
html body .swd-app .swd-mlm-overlay.is-open .swd-mlm-card { transform: scale(1); opacity: 1; }

html body .swd-app .swd-mlm-icon { position: relative; width: 72px; height: 72px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
html body .swd-app .swd-mlm-icon-ring { position: absolute; inset: 0; border-radius: 50%; background: color-mix(in srgb, var(--mlm-confirm-color, #ef4444) 14%, transparent); transform: scale(.7); opacity: 0; animation: swd-mlm-ring-pulse 2.6s ease-in-out .35s infinite; }
html body .swd-app .swd-mlm-icon-svg { position: relative; width: 72px; height: 72px; opacity: 0; transform: scale(.6) rotate(-8deg); animation: swd-mlm-icon-in .5s cubic-bezier(.34,1.56,.64,1) .1s forwards; }
html body .swd-app .swd-mlm-icon-bg { fill: color-mix(in srgb, var(--mlm-confirm-color, #ef4444) 12%, transparent); stroke: none; }
html body .swd-app .swd-mlm-icon-door { stroke: var(--mlm-confirm-color, #ef4444); stroke-width: 2.4; fill: none; }
html body .swd-app .swd-mlm-icon-arrow { stroke: var(--mlm-confirm-color, #ef4444); stroke-width: 2.4; fill: none; stroke-dasharray: 18; stroke-dashoffset: 18; animation: swd-mlm-arrow-draw 1.6s ease-in-out .55s infinite; }
html body .swd-app .swd-mlm-icon-arrowhead { stroke: var(--mlm-confirm-color, #ef4444); stroke-width: 2.4; fill: none; transform-origin: 39px 36px; animation: swd-mlm-arrowhead-slide 1.6s ease-in-out .55s infinite; }
@keyframes swd-mlm-icon-in{ to{ opacity: 1; transform: scale(1) rotate(0deg); } }
@keyframes swd-mlm-ring-pulse{ 0%{ transform: scale(.7); opacity: .55; } 70%{ transform: scale(1.25); opacity: 0; } 100%{ transform: scale(1.25); opacity: 0; } }
@keyframes swd-mlm-arrow-draw{ 0%{ stroke-dashoffset: 18; } 45%{ stroke-dashoffset: 0; } 65%{ stroke-dashoffset: 0; } 100%{ stroke-dashoffset: 0; } }
@keyframes swd-mlm-arrowhead-slide{ 0%{ transform: translateX(-6px); opacity: 0; } 25%{ opacity: 1; } 45%{ transform: translateX(0); } 65%{ transform: translateX(0); } 85%{ transform: translateX(3px); opacity: .6; } 100%{ transform: translateX(-6px); opacity: 0; } }
@media (prefers-reduced-motion: reduce){
  html body .swd-app .swd-mlm-icon-ring { animation: none; opacity: .35; transform: scale(1); }
  html body .swd-app .swd-mlm-icon-svg { animation: swd-mlm-icon-in .01s forwards; }
  html body .swd-app .swd-mlm-icon-arrow { animation: none; stroke-dashoffset: 0; }
  html body .swd-app .swd-mlm-icon-arrowhead { animation: none; transform: none; opacity: 1; }
}
html body .swd-app .swd-mlm-title { font-family: var(--font); font-size: var(--fs-mlm-title, 17px); font-weight: var(--fw-mlm-title, 700); color: var(--mlm-title-color, #1e293b); margin: 0 0 6px; line-height: 1.6; }

html body .swd-app[data-theme="dark"] .swd-mlm-title { color: var(--mlm-title-color, var(--text)) !important; }

html body .swd-app .swd-mlm-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
html body .swd-app .swd-mlm-confirm {
  font-family: var(--font); font-size: var(--fs-mlm-confirm, 15px); font-weight: var(--fw-mlm-confirm, 600);
  color: var(--mlm-confirm-text, #fff); background: var(--mlm-confirm-color, #ef4444);
  border: none; border-radius: calc(var(--swd-card-radius, 20px) - 8px);
  padding: 12px 16px; cursor: pointer; width: 100%;
  transition: background .2s ease, transform .15s ease;
}
html body .swd-app .swd-mlm-confirm:active { transform: scale(.97); }
html body .swd-app .swd-mlm-cancel {
  font-family: var(--font); font-size: var(--fs-mlm-cancel, 13.5px); font-weight: var(--fw-mlm-cancel, 500);
  color: var(--mlm-cancel-text, #64748b); background: transparent; border: none;
  padding: 8px; cursor: pointer; transition: color .2s ease;
}
@media (min-width: 769px){ .swd-mlm-overlay{ display: none !important; } }
@media (prefers-reduced-motion: reduce){ .swd-mlm-overlay, .swd-mlm-card{ transition: none !important; } }

html body .swd-app .swd-upload-spinner {
  display: inline-block; width: 16px; height: 16px;
  border: 2px solid color-mix(in srgb, currentColor 25%, transparent);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: swd-spin 0.6s linear infinite;
  vertical-align: middle;
}
@media (prefers-reduced-motion: reduce){ .swd-upload-spinner{ animation-duration: 1.4s; } }

@media (max-width: 768px){
  html body .swd-app .swd-attach-text { display: inline !important; }
}

html body .swd-app .swd-side-user[data-avatar-layout="stacked"] .swd-side-avatar-row {
  display: contents;
}
html body .swd-app .swd-side-user[data-avatar-layout="stacked"] .swd-side-info-col {
  display: contents;
}

html body .swd-app .swd-side-user[data-avatar-layout="side_by_side"] {
  flex-direction: column; align-items: stretch; text-align: right;
}
html body .swd-app .swd-side-user[data-avatar-layout="side_by_side"] .swd-side-avatar-row {
  display: flex; align-items: center; gap: 14px; width: 100%;
}
html body .swd-app .swd-side-user[data-avatar-layout="side_by_side"] .swd-side-info-col {
  display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1;
}
html body .swd-app .swd-side-user[data-avatar-layout="side_by_side"] .swd-avatar-ring { flex-shrink: 0; }
html body .swd-app .swd-side-user[data-avatar-layout="side_by_side"] .swd-side-name { display: inline-flex; align-items: center; gap: 4px; }
html body .swd-app .swd-side-user[data-avatar-layout="side_by_side"] .swd-side-role { text-align: right; margin-top: 0; }

@media (max-width: 980px){

  html body .swd-app .swd-side-user[data-avatar-layout="side_by_side"] { flex-direction: row; align-items: center; }
  html body .swd-app .swd-side-user[data-avatar-layout="side_by_side"] .swd-side-avatar-row { gap: 8px; }
  html body .swd-app .swd-side-user[data-avatar-layout="side_by_side"] .swd-side-role { display: none; }
}

html body .swd-app .swd-avatar-upload-btn { background:var(--brand) !important; color:var(--text-on-brand) !important; border-color:var(--brand) !important; }
html body .swd-app .swd-avatar-upload-btn:hover { background:var(--brand-deep) !important; }
html body .swd-app .swd-avatar-upload-btn.is-disabled { pointer-events: none; opacity: 1; cursor: not-allowed; }

html body .swd-app .swd-avatar-actions .swd-btn,
html body .swd-app .swd-avatar-actions .swd-avatar-upload-btn {
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  box-sizing:border-box !important; min-height:44px !important; height:44px !important;
  padding:0 18px !important; font-size:var(--swd-btn-fs) !important; line-height:1 !important;
  border-radius:var(--swd-btn-radius) !important; border-width:var(--button-border-width,1px) !important; border-style:solid !important;
  flex:1 1 0 !important; white-space:nowrap !important; cursor:pointer !important;
}
html body .swd-app .swd-avatar-actions #swdDeleteAvatar { background:var(--surface); color:var(--text); border-color:var(--line); }
html body .swd-app .swd-avatar-actions #swdDeleteAvatar:not(:disabled):hover { color:var(--danger, #e74c3c) !important; border-color:var(--danger, #e74c3c) !important; }

html body .swd-app,
html body .swd-app * {
  text-decoration:none !important;
}

html body .swd-app {
  color:var(--text) !important;
  font-size:var(--swd-fs) !important;
}

html body .swd-app p,
html body .swd-app label,
html body .swd-app li,
html body .swd-app h1,
html body .swd-app h2,
html body .swd-app h3,
html body .swd-app h4,
html body .swd-app h5,
html body .swd-app h6,
html body .swd-app .swd-stat-value {
  color:var(--text) !important;
  font-family:var(--font) !important;
}

html body .swd-app .swd-muted,
html body .swd-app .swd-side-role,
html body .swd-app .swd-oi-qty,
html body .swd-app .swd-oi-unit,
html body .swd-app .swd-nav-item:not(.is-active),
html body .swd-app .swd-stat-label,
html body .swd-app .swd-stat-meta {
  color:var(--muted) !important;
}

html body .swd-app a:not(.swd-btn):not(.swd-empty-btn):not(.swd-dl-btn):not(.swd-bc-cta):not(.swd-nav-item):not(.swd-back-site):not(.swd-link-plain):not(.swd-link-underline):not(.swd-day-link):not(.swd-day-card) {
  color:var(--brand-deep, var(--brand)) !important;
}
html body .swd-app a:not(.swd-btn):not(.swd-empty-btn):not(.swd-dl-btn):not(.swd-bc-cta):not(.swd-nav-item):not(.swd-back-site):not(.swd-link-plain):not(.swd-link-underline):not(.swd-day-link):not(.swd-day-card):hover,
html body .swd-app a:not(.swd-btn):not(.swd-empty-btn):not(.swd-dl-btn):not(.swd-bc-cta):not(.swd-nav-item):not(.swd-back-site):not(.swd-link-plain):not(.swd-link-underline):not(.swd-day-link):not(.swd-day-card):focus {
  color:var(--brand) !important;
}

html body .swd-app .swd-btn-primary,
html body .swd-app .swd-empty-btn,
html body .swd-app .swd-bc-cta {
  color:var(--text-on-brand) !important;
}
html body .swd-app .swd-dl-btn {
  color:var(--text-on-brand) !important;
}
html body .swd-app .swd-btn-ghost {
  color:var(--text) !important;
}

html body .swd-app .swd-nav-item.is-active {
  color:var(--text-on-brand) !important;
}

html body .swd-app .swd-nav-item:not(.is-active):hover {
  color:var(--text) !important;
}

html body .swd-app .woocommerce-Price-amount,
html body .swd-app .woocommerce-Price-currencySymbol,
html body .swd-app bdi {
  font-family:var(--font,'Vazirmatn RD',system-ui,sans-serif) !important;
  font-weight:inherit !important;
  font-size:inherit !important;
  color:inherit !important;
  line-height:inherit !important;
  letter-spacing:inherit !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:none !important;
  text-decoration:none !important;
  box-shadow:none !important;
  display:inline !important;
}

html body .swd-app input:not([class]),
html body .swd-app select:not([class]),
html body .swd-app textarea:not([class]) {
  margin:0 !important;
  padding:10px 14px !important;
  border:1px solid var(--line) !important;
  border-radius:var(--btn-radius,12px) !important;
  background:var(--surface-solid) !important;
  color:var(--text) !important;
  font-size:var(--swd-fs) !important;
  line-height:1.6 !important;
  box-shadow:none !important;
  outline:none !important;
  appearance:none !important;
  -webkit-appearance:none !important;
  -moz-appearance:none !important;
  box-sizing:border-box !important;
}

html body .swd-app button:not([class]),
html body .swd-app a:not([class]) button:not([class]) {
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:none !important;
  border-radius:0 !important;
  box-shadow:none !important;
  outline:none !important;
  appearance:none !important;
  -webkit-appearance:none !important;
  cursor:pointer !important;
  box-sizing:border-box !important;
}

@media (max-width: 768px){
  html body .swd-app .swd-chat-actions .swd-badge { flex:0 0 auto !important; width:auto !important; white-space:nowrap !important; padding-inline:10px !important; }
  html body .swd-app .swd-chat-actions .swd-back { flex:1 1 auto !important; min-width:0 !important; }
}

html body .swd-app .swd-typing-indicator {
  display:flex; align-items:center; gap:5px;
  padding:10px 14px; margin:0 auto 0 0;
  border-radius:18px 18px 18px 4px;
  background:var(--text);
  border:none;
  width:fit-content; max-width:240px;
  flex:0 0 auto; align-self:flex-start;
  box-shadow:0 2px 8px -3px rgba(0,0,0,.18);
  animation:swd-typing-fade-in .35s cubic-bezier(.22,1,.36,1);
}
html body .swd-app .swd-typing-indicator .swd-typing-dot {
  display:block; flex:0 0 8px;
  width:8px; height:8px; border-radius:50%;
  background:var(--surface-solid);
  animation:swd-typing-pulse 1.4s ease-in-out infinite;
}
html body .swd-app .swd-typing-indicator .swd-typing-dot:nth-child(2) { animation-delay:.2s; }
html body .swd-app .swd-typing-indicator .swd-typing-dot:nth-child(3) { animation-delay:.4s; }
@keyframes swd-typing-pulse {
  0%,80%,100% { transform:scale(.6); opacity:.3; }
  40% { transform:scale(1); opacity:1; }
}
@keyframes swd-typing-fade-in {
  from { opacity:0; transform:translateY(6px) scale(.95); }
  to { opacity:1; transform:translateY(0) scale(1); }
}
@keyframes swd-typing-text-pulse {
  0%,100% { opacity:1; }
  50% { opacity:.4; }
}
html body .swd-app .swd-typing-indicator .swd-typing-text {
  display:block; flex:0 0 auto;
  font-size:var(--fs-ticket-meta, 12px); font-weight: var(--fw-ticket-meta, 500);
  color:var(--surface-solid);
  white-space:nowrap;
  margin-inline-start:2px;
  animation:swd-typing-text-pulse 1.6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  html body .swd-app .swd-typing-indicator .swd-typing-dot,
  html body .swd-app .swd-typing-indicator .swd-typing-text { animation:none; }
}

@media (max-width: 980px){
  html body .swd-app .swd-bento-info .swd-grid-2 { grid-template-columns:1fr 1fr !important; }
  html body .swd-app .swd-bento-info .swd-field,
  html body .swd-app .swd-bento-info .swd-field.swd-span-2 { grid-column:1 / -1 !important; width:100% !important; max-width:100% !important; min-width:0 !important; }
  html body .swd-app .swd-bento-info .swd-field:not(.swd-span-2) { grid-column:span 1 !important; }
  html body .swd-app .swd-bento-info .swd-input,
  html body .swd-app .swd-bento-info .swd-select,
  html body .swd-app .swd-bento-info .swd-addr-slot,
  html body .swd-app .swd-bento-info .swd-dd,
  html body .swd-app .swd-bento-info .swd-dd-trigger { width:100% !important; max-width:100% !important; box-sizing:border-box !important; min-width:0 !important; }
}

html body .swd-app[data-theme="dark"] .swd-ticket-list .swd-support-new {
  background: var(--brand) !important;
  color: var(--text-on-brand) !important;
  box-shadow: none !important;
  height: 44px;
  min-width: 44px;
}
html body .swd-app[data-theme="dark"] .swd-ticket-list .swd-support-new svg,
html body .swd-app[data-theme="dark"] .swd-ticket-list .swd-support-new i {
  stroke: var(--text-on-brand) !important;
  color: var(--text-on-brand) !important;
}

html body .swd-app .swd-ticket-list .swd-support-new,
html body .swd-app:not([data-theme="dark"]) .swd-ticket-list .swd-support-new {
  background: var(--brand) !important;
  color: var(--text-on-brand) !important;
  box-shadow: none !important;
  height: 44px;
  min-width: 44px;
}
html body .swd-app .swd-ticket-list .swd-support-new svg,
html body .swd-app .swd-ticket-list .swd-support-new i {
  stroke: var(--text-on-brand) !important;
  color: var(--text-on-brand) !important;
}

html body .swd-app .swd-chat-composer-box { width:100%; border-radius:18px; border:1px solid var(--line); background:var(--surface-solid); overflow:hidden; box-shadow:0 14px 34px -22px rgba(15,23,42,.4); transition:border-color .2s ease, box-shadow .2s ease; }
html body .swd-app .swd-chat-composer-box:focus-within { border-color: color-mix(in srgb, var(--brand) 60%, transparent); box-shadow:0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent), 0 14px 34px -22px rgba(15,23,42,.4); }
html body .swd-app .swd-chat-composer-box #swdReplyText { display:block; width:100%; min-height:76px; max-height:220px; padding:14px 16px 8px; margin:0; border:0 !important; border-radius:0 !important; resize:none; background:transparent !important; box-shadow:none !important; font-family:inherit; line-height:1.9; color:var(--text); }
html body .swd-app .swd-chat-composer-box #swdReplyText:focus { outline:none !important; border:0 !important; box-shadow:none !important; }

html body .swd-app .swd-chat-composer-box .swd-chat-attlist { display:flex; flex-wrap:wrap; gap:6px; padding:0 14px; }
html body .swd-app .swd-chat-composer-box .swd-chat-attlist:not(:empty) { padding-bottom:8px; }

html body .swd-app .swd-chat-composer-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:9px 12px; border-top:1px solid var(--line); background: color-mix(in srgb, var(--brand) 7%, transparent); }
html body .swd-app .swd-chat-tools { display:flex; align-items:center; gap:10px; min-width:0; }
html body .swd-app .swd-chat-toolbtn { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; padding:0; border-radius:12px; border:1px solid var(--line); background:var(--surface); color:var(--muted); cursor:pointer; transition:transform .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease; }
html body .swd-app .swd-chat-toolbtn:hover:not(:disabled) { color:var(--brand-deep); border-color: color-mix(in srgb, var(--brand) 60%, transparent); box-shadow:0 6px 16px -8px color-mix(in srgb, var(--brand) 60%, transparent); transform:translateY(-1px) rotate(-8deg); }
html body .swd-app .swd-chat-toolbtn:active:not(:disabled) { transform:translateY(0) scale(.94); }
html body .swd-app .swd-chat-toolbtn:focus-visible { outline:none; box-shadow:0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
html body .swd-app .swd-chat-toolbtn:disabled { opacity:.45; cursor:not-allowed; }
html body .swd-app .swd-chat-toolbtn svg { width:17px; height:17px; }
html body .swd-app .swd-chat-toolbtn .swd-attach-text { display:none; }
html body .swd-app .swd-chat-send-actions { display:flex; align-items:center; gap:12px; margin-inline-start:auto; }
html body .swd-app .swd-chat-status { font-size:var(--fs-chat-status, calc(var(--swd-fs, 15px) * 0.78)); font-weight:var(--fw-chat-status, 700); color:var(--muted); }
.swd-app[data-theme="dark"] .swd-chat-composer-box { background: color-mix(in srgb, var(--surface-solid) 92%, transparent); }
.swd-app[data-theme="dark"] .swd-chat-toolbtn { color:var(--brand); background: color-mix(in srgb, var(--surface-solid) 70%, transparent); }

html body .swd-app .swd-new-ticket-actions { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; flex-wrap:wrap; margin-top:6px; }
html body .swd-app .swd-new-ticket-attach { display:flex; flex-direction:column; align-items:flex-start; gap:8px; min-width:0; }
html body .swd-app .swd-new-ticket-attach label { font-size:var(--fs-detail-label); font-weight: var(--fw-detail-label, 600); color:var(--muted); }
html body .swd-app .swd-new-ticket-attach .swd-attach-preview { width:100%; }
html body .swd-app .swd-new-ticket-actions .swd-new-ticket-submit { margin-inline-start:auto; flex:0 0 auto; }

html body .swd-app .swd-new-ticket-actions .swd-attach-btn,
html body .swd-app .swd-new-ticket-actions .swd-new-ticket-submit { height:44px; min-height:44px; box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; }

html body .swd-app[data-theme="light"] .swd-attach-btn.swd-btn-soft { background: color-mix(in srgb, var(--brand) 24%, #ffffff); color: color-mix(in srgb, var(--brand-deep) 80%, #0f1729); border:1px solid color-mix(in srgb, var(--brand) 48%, transparent); }
html body .swd-app[data-theme="light"] .swd-attach-btn.swd-btn-soft:hover { background: color-mix(in srgb, var(--brand) 34%, #ffffff); color: color-mix(in srgb, var(--brand-deep) 90%, #0f1729); }

html body .swd-app .swd-chat-menu { position:relative; display:inline-flex; }
html body .swd-app .swd-chat-menu.is-open .swd-chat-menu-btn { border-color: color-mix(in srgb, var(--brand) 55%, transparent); color:var(--brand-deep); }

html body .swd-app .swd-chat-menu-dd { position:absolute; bottom:calc(100% + 8px); right:0; transform:translateY(6px); min-width:170px; max-width:calc(100vw - 32px); padding:6px; border-radius:16px; z-index:60; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .18s ease, transform .18s ease, width .22s ease, min-width .22s ease; }
html body .swd-app .swd-chat-menu.is-open .swd-chat-menu-dd { opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0); }

html body .swd-app .swd-chat-menu-dd.is-expand-left { min-width:min(320px, calc(100vw - 32px)); }

html body .swd-app .swd-chat-menu-item { display:flex; align-items:center; justify-content:flex-start; gap:8px; width:100%; padding:7px 10px; border:0; border-radius:10px; background:transparent; font-family:inherit; font-size:var(--fs-chat-menu-item, 12px); font-weight:var(--fw-chat-menu-item, 500); text-align:right; cursor:pointer; transition:background .15s ease; }
html body .swd-app .swd-chat-menu-item .swd-menu-item-icon { width:14px; height:14px; flex:0 0 auto; }
html body .swd-app .swd-chat-menu-rate { position:relative; display:flex; flex-direction:column; align-items:center; gap:8px; padding:10px 12px; }
html body .swd-app .swd-chat-menu-rate .swd-menu-stars { display:flex; gap:6px; justify-content:center; transition:filter .25s ease; }
html body .swd-app .swd-chat-menu-rate.is-blurred .swd-menu-stars { filter:blur(4px); pointer-events:none; }
html body .swd-app .swd-menu-rate-overlay { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:var(--fs-menu-rate-overlay, calc(var(--swd-fs, 15px) * 0.9)); font-weight:var(--fw-menu-rate-overlay, 800); border-radius:12px; z-index:2; }
html body .swd-app .swd-menu-rate-overlay[hidden], html body .swd-app .swd-chat-menu-rate[hidden], html body .swd-app .swd-menu-rated-msg[hidden], html body .swd-app .swd-chat-menu-item[hidden], html body .swd-app .swd-menu-stars[hidden] { display:none !important; }
html body .swd-app .swd-menu-rated-msg { font-size:var(--fs-menu-rated-msg, calc(var(--swd-fs, 15px) * 0.84)); font-weight:var(--fw-menu-rated-msg, 700); text-align:center; line-height:1.8; padding:4px 6px; }

html body .swd-app .swd-chat-menu-close { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 10px; white-space:nowrap; }
html body .swd-app .swd-chat-menu-close[hidden] { display:none !important; }
html body .swd-app .swd-menu-close-q { font-size:var(--fs-menu-close-q, 12px); font-weight:var(--fw-menu-close-q, 700); }
html body .swd-app .swd-menu-close-confirm { padding:7px 14px; font-size:var(--fs-menu-close-confirm, 12px); font-weight:var(--fw-menu-close-confirm, 600); flex:0 0 auto; }

html body .swd-app[data-theme="light"] .swd-chat-menu-dd { background:var(--surface-solid); border:1px solid rgba(15,23,42,.14); box-shadow:0 18px 40px -18px rgba(15,23,42,.35); color:var(--text); }
html body .swd-app[data-theme="light"] .swd-chat-menu-item { color:var(--text); }
html body .swd-app[data-theme="light"] .swd-chat-menu-item:hover { background:rgba(15,23,42,.06); }
html body .swd-app[data-theme="light"] .swd-chat-menu-item-danger { color:var(--danger); }
html body .swd-app[data-theme="light"] .swd-menu-close-q { color:var(--muted); }
html body .swd-app[data-theme="light"] .swd-menu-rate-overlay { background:color-mix(in srgb, var(--surface-solid) 55%, transparent); color:var(--success); }
html body .swd-app[data-theme="light"] .swd-menu-rated-msg { color:var(--muted); }

html body .swd-app[data-theme="dark"] .swd-chat-menu-dd { background:var(--surface-solid); border:1px solid rgba(255,255,255,.14); box-shadow:0 18px 44px -16px rgba(0,0,0,.65); color:var(--text); }
html body .swd-app[data-theme="dark"] .swd-chat-menu-item { color:var(--text); }
html body .swd-app[data-theme="dark"] .swd-chat-menu-item:hover { background:rgba(255,255,255,.08); }
html body .swd-app[data-theme="dark"] .swd-chat-menu-item-danger { color:var(--danger); }
html body .swd-app[data-theme="dark"] .swd-menu-close-q { color:var(--muted); }
html body .swd-app[data-theme="dark"] .swd-menu-rate-overlay { background:color-mix(in srgb, var(--surface-solid) 55%, transparent); color:var(--success); }
html body .swd-app[data-theme="dark"] .swd-menu-rated-msg { color:var(--muted); }

@media (min-width: 769px) {
  html body .swd-app[data-theme="light"] .swd-ticket-rating { background:rgba(255,255,255,.85); }
}

@media (max-width: 768px) {
  html body .swd-app .swd-chat-footer-row .swd-ticket-rating { display:none; }
  html body .swd-app .swd-chat-footer-row { gap:8px; margin-top:20px; }
  html body .swd-app .swd-chat-composer-bar { padding:8px 10px; gap:8px; }
  html body .swd-app .swd-chat-send-actions { gap:8px; }
  html body .swd-app .swd-chat-composer-box #swdReplyText { min-height:60px; padding:12px 12px 6px; }
  html body .swd-app .swd-new-ticket-actions { gap:10px; }
  html body .swd-app .swd-new-ticket-actions .swd-new-ticket-submit { width:auto; }
}

html body .swd-app .swd-scroll:has(.swd-chat) { display:flex; flex-direction:column; overflow-y:hidden !important; padding-top:18px !important; padding-bottom:18px !important; }
html body .swd-app .swd-scroll:has(.swd-chat) .swd-section-host,
html body .swd-app .swd-scroll:has(.swd-chat) .swd-support-page,
html body .swd-app .swd-scroll:has(.swd-chat) #swdSupportStage { flex:1 1 auto; min-height:0; display:flex; flex-direction:column; }
html body .swd-app .swd-scroll:has(.swd-chat) .swd-page-head { flex:0 0 auto; margin-bottom:14px; }
html body .swd-app .swd-scroll:has(.swd-chat) .swd-chat { flex:1 1 auto; min-height:0; height:auto; max-height:none; }
html body .swd-app .swd-scroll:has(.swd-chat) .swd-chat-input { flex:0 0 auto; }

@media (max-width: 980px){

  html body .swd-app .swd-scroll:has(.swd-chat) { padding-top:12px !important; padding-bottom:calc(88px + env(safe-area-inset-bottom, 0px)) !important; }
}

html body .swd-app[data-theme="light"] .swd-attach-preview .swd-attach-name { color: var(--text); }
html body .swd-app[data-theme="dark"] .swd-attach-preview .swd-attach-name { color: var(--text); }

@media (min-width: 641px) {
    html body .swd-app .swd-new-ticket-attach { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
    html body .swd-app .swd-new-ticket-attach > .swd-attach-btn { flex: 0 0 auto; }
    html body .swd-app .swd-new-ticket-attach > label { flex: 1 1 auto; min-width: 0; margin: 0; }
    html body .swd-app .swd-new-ticket-attach .swd-attach-preview { flex-basis: 100%; width: 100%; }
}

html body .swd-app .swd-chat-menu-back {
    position: static;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    padding: 0;
}
html body .swd-app .swd-chat-menu-back:hover { background: rgba(127,127,127,0.14); color: var(--text); }
html body .swd-app .swd-chat-menu-back[hidden] { display: none !important; }
html body .swd-app .swd-chat-menu-back-icon {
    display: block;
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: url("../icons/arrow-right.svg") center / contain no-repeat;
    mask: url("../icons/arrow-right.svg") center / contain no-repeat;
}
html body .swd-app[data-theme="light"] .swd-chat-menu-back { color: var(--muted); }
html body .swd-app[data-theme="dark"] .swd-chat-menu-back { color: var(--muted); }
html body .swd-app[data-theme="light"] .swd-chat-menu-back:hover { color: var(--text); }
html body .swd-app[data-theme="dark"] .swd-chat-menu-back:hover { color: var(--text); }

html body .swd-app .swd-chat-menu-dd.is-expand-left { display:flex; flex-direction:row; align-items:center; gap:10px; min-width:0; width:max-content; direction:rtl; }

html body .swd-app .swd-chat-menu-dd.is-expand-left > .swd-chat-menu-rate,
html body .swd-app .swd-chat-menu-dd.is-expand-left > .swd-chat-menu-close { flex:1 1 auto; min-width:0; }

html body .swd-app .swd-chat-menu-dd { transition: opacity .18s ease, transform .18s ease; }

html body .swd-app .swd-bubble-body { border-radius:18px; overflow:hidden; }

html body .swd-app .swd-bubble-body .swd-bubble-text { padding:11px 16px; }

html body .swd-app .swd-bubble-body.has-att .swd-bubble-text { padding-bottom:7px; }

html body .swd-app .swd-bubble-attachments {
  padding:10px 0 12px;
  margin:0 16px;
  gap:8px;
  border-top:1px dashed rgba(127,127,127,0.45);
}

html body .swd-app[data-theme="light"] .swd-bubble-attachments { border-top-color: rgba(15,23,42,0.28); }
html body .swd-app[data-theme="dark"] .swd-bubble-attachments { border-top-color: rgba(255,255,255,0.42); }

html body .swd-app .swd-bubble-att {
  gap:8px;
  padding:8px 11px;
  border-radius:10px;
  max-width:210px;
  font-weight:600;
  line-height:1.3;
  background:color-mix(in srgb, currentColor 9%, transparent);
  border:1px solid color-mix(in srgb, currentColor 16%, transparent);
  backdrop-filter:blur(2px);
  box-shadow:none;
}
html body .swd-app .swd-bubble-att:hover {
  transform:translateY(-1px);
  background:color-mix(in srgb, currentColor 15%, transparent);
  border-color:color-mix(in srgb, currentColor 26%, transparent);
  box-shadow:0 2px 4px rgba(0,0,0,.05), 0 8px 18px -8px rgba(0,0,0,.22);
}

html body .swd-app .swd-bubble-att-ic {
  flex:0 0 auto;
  width:26px; height:26px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:7px;
  background:color-mix(in srgb, currentColor 14%, transparent);
  color:inherit;
}

html body .swd-app .swd-bubble-att-arrow {
  flex:0 0 auto;
  margin-inline-start:auto;
  display:inline-flex; align-items:center;
  opacity:.7;
  transition:opacity .15s ease, transform .15s ease;
}
html body .swd-app .swd-bubble-att:hover .swd-bubble-att-arrow {
  opacity:1;
  transform:translateY(1px);
}
html body .swd-app .swd-bubble-att-name {
  min-width:0; flex:1 1 auto;
}

html body .swd-app .swd-bubble-att.is-image {
  flex-direction:row;
  align-items:center;
  gap:8px;
  max-width:210px;
  padding:6px 8px;
}
html body .swd-app .swd-bubble-att.is-image img {
  width:35px; height:35px;
  border-radius:8px; object-fit:cover;
  display:block; flex:0 0 auto;
}
html body .swd-app .swd-bubble-att.is-image .swd-bubble-att-name {
  min-width:0; flex:1 1 auto;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  font-size:var(--fs-bubble-att, calc(var(--swd-fs, 15px) * 0.66));
  font-weight:var(--fw-bubble-att, 600);
  opacity:1;
  padding:0;
}

html body .swd-app[data-theme="light"] .swd-bubble-att.is-image .swd-bubble-att-name { color:var(--text); }
html body .swd-app[data-theme="dark"] .swd-bubble-att.is-image .swd-bubble-att-name { color:var(--text); }

html body .swd-app .swd-bubble.is-admin .swd-bubble-att { color:var(--text-on-brand); }
html body .swd-app .swd-bubble.is-admin .swd-bubble-att-ic {
  background:color-mix(in srgb, var(--text-on-brand) 16%, transparent);
}

@media (max-width: 768px) {
  html body .swd-app .swd-bubble { max-width:86%; }
  html body .swd-app .swd-bubble-body .swd-bubble-text { padding:10px 13px; }
  html body .swd-app .swd-bubble-attachments { margin:0 13px; padding:9px 0 10px; gap:7px; }
  html body .swd-app .swd-bubble-att {
    max-width:100%;
    padding:7px 9px;
    font-size:var(--fs-bubble-att, calc(var(--swd-fs, 15px) * 0.66));
  }
  html body .swd-app .swd-bubble-att-ic { width:24px; height:24px; }
  html body .swd-app .swd-bubble-att.is-image { max-width:150px; }
  html body .swd-app .swd-bubble-att.is-image img { max-height:120px; }
}

html body .swd-app .swd-bento.swd-bento-settings { width:100%; }

html body .swd-app .swd-bento-devices { grid-column: span 6; min-width:0; display:flex; flex-direction:column; gap:12px; }

html body .swd-app .swd-bento-trusted-devices { grid-column: 1 / span 6; min-width:0; }
html body .swd-app .swd-bento-login-logs { grid-column: span 6; min-width:0; }
html body .swd-app .swd-bento-devices h3 {
  font-size: var(--fs-section-head, 16px); font-weight: var(--fw-section-head, 700);
  color: var(--text); display: flex; align-items: center; gap: 8px; margin: 0;
}
html body .swd-app .swd-bento-devices h3 svg { width: 20px; height: 20px; color: var(--brand); }

html body .swd-app .swd-devices-table-wrap {
  overflow-x: auto; border-radius: 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 50%, transparent);
}

@supports not selector(::-webkit-scrollbar) {
  html body .swd-app .swd-devices-table-wrap {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
  }

  html body .swd-app .swd-devices-table-wrap:hover {
    scrollbar-color: var(--brand) transparent;
  }

  @media (max-width: 768px) {
    html body .swd-app .swd-devices-table-wrap,
    html body .swd-app .swd-devices-table-wrap:hover {
      scrollbar-width: none;
      scrollbar-color: transparent transparent;
    }
  }
}

html body .swd-app .swd-devices-table-wrap::-webkit-scrollbar {
  height: 5px;
  width: 5px;
  background: transparent;
}
html body .swd-app .swd-devices-table-wrap::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
}
html body .swd-app .swd-devices-table-wrap::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 999px;
}
html body .swd-app .swd-devices-table-wrap:hover::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--brand) 50%, transparent);
}
html body .swd-app .swd-devices-table-wrap:hover::-webkit-scrollbar-thumb:hover {
  background: var(--brand);
}
html body .swd-app .swd-devices-table-wrap::-webkit-scrollbar-corner {
  background: transparent;
}

html body .swd-app .swd-devices-table-wrap::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

@media (max-width: 768px) {
  html body .swd-app .swd-devices-table-wrap {
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  html body .swd-app .swd-devices-table-wrap::-webkit-scrollbar,
  html body .swd-app .swd-devices-table-wrap:hover::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}
html body .swd-app .swd-devices-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
}
html body .swd-app .swd-devices-table th {
  padding: 10px 12px; text-align: right; font-weight: 700;
  color: var(--text-muted); border-bottom: 1px solid var(--line);
  white-space: nowrap; background: color-mix(in srgb, var(--surface) 80%, transparent);
}
html body .swd-app .swd-devices-table td {
  padding: 10px 12px; color: var(--text);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
html body .swd-app .swd-devices-table tr:last-child td { border-bottom: none; }
html body .swd-app .swd-devices-table .swd-empty-row {
  text-align: center; color: var(--text-muted); padding: 24px 12px;
}

html body .swd-app .swd-log-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700;
}
html body .swd-app .swd-log-badge.is-login {
  background: color-mix(in srgb, var(--brand) 15%, transparent);
  color: var(--brand);
}
html body .swd-app .swd-log-badge.is-logout {
  background: color-mix(in srgb, var(--danger) 12%, transparent);
  color: var(--danger);
}

html body .swd-app .swd-device-delete {
  background: none; border: none; cursor: pointer; padding: 4px;
  color: var(--text-muted); display: inline-flex; align-items: center;
  border-radius: 6px; transition: all .2s;
}
html body .swd-app .swd-device-delete:hover {
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 10%, transparent);
}
html body .swd-app .swd-device-delete svg { width: 16px; height: 16px; }

html body .swd-app .swd-devices-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-top: 6px;
}
html body .swd-app .swd-devices-actions .swd-btn { margin-top: 0; flex: 0 0 auto; }

html body .swd-app .swd-devices-actions .swd-btn[hidden] { display: none; }

html body .swd-app .swd-devices-actions .swd-logout-all { padding: 15px 20px; border: var(--button-border-width, 1px) solid transparent; background: color-mix(in srgb, var(--danger, #ef4444) 16%, transparent); transition: background .3s ease, border-color .3s ease, color .3s ease; }
html body .swd-app .swd-devices-actions .swd-logout-all svg { width: 18px; height: 18px; }

html body .swd-app .swd-devices-actions .swd-logout-all::after { display: none; }
html body .swd-app .swd-devices-actions .swd-logout-all:hover {
  transform: none;
  background: color-mix(in srgb, var(--danger, #ef4444) 16%, transparent);
  border-color: var(--danger, #ef4444);
}
html body .swd-app .swd-devices-actions .swd-logout-all.is-confirming {

  padding: 15px 20px; gap: 8px;
  justify-content: center;
  border-color: var(--danger, #ef4444);
  background: linear-gradient(135deg, color-mix(in srgb, var(--danger, #ef4444) 12%, transparent), color-mix(in srgb, var(--danger-deep, #ef4444) 8%, transparent));
}

html body .swd-app .swd-devices-actions .swd-logout-all.is-confirming .swd-logout-confirm-text { position: absolute; inset-inline-start: 10px; top: 0; bottom: 0; margin-block: auto; display: inline-flex; align-items: center; font-size: calc(var(--fs-button-small, 13px) - 1.5px); }
html body .swd-app .swd-devices-actions .swd-logout-all.is-confirming .swd-logout-confirm-yes { padding: 0 6px; min-width: 40px; gap: 2px; }
html body .swd-app .swd-devices-actions .swd-logout-all.is-confirming .swd-logout-cancel { position: absolute; inset-inline-end: 10px; top: 0; bottom: 0; margin-block: auto; }

html body .swd-app .swd-logout-btn .swd-ripple { background: color-mix(in srgb, var(--danger, #ef4444) 34%, transparent); }

@media (max-width: 768px) {
  html body .swd-app .swd-devices-actions .swd-logout-all { height: auto; width: auto; padding: 15px 20px; }
  html body .swd-app .swd-devices-actions .swd-logout-all span:not(.swd-logout-confirm-text) { display: inline; }
}

@media (max-width: 640px) {
  html body .swd-app .swd-devices-actions { flex-direction: column; align-items: stretch; }
  html body .swd-app .swd-devices-actions .swd-register-device-wrap { width: 100%; display: flex !important; }
  html body .swd-app .swd-devices-actions .swd-btn { width: 100%; justify-content: center; flex: 1 1 auto; }
  html body .swd-app .swd-devices-actions .swd-logout-all { margin-inline-start: 0; }
}

html body .swd-app .swd-logout-all { color: var(--danger, #ef4444); margin-inline-start: auto; }
html body .swd-app .swd-logout-all svg { stroke: currentColor; color: currentColor; }
html body .swd-app .swd-logout-all:hover {
  color: var(--danger, #ef4444);
  background: color-mix(in srgb, var(--danger, #ef4444) 16%, transparent);
}

html body .swd-app .swd-register-device svg { stroke: currentColor; color: currentColor; }
html body .swd-app .swd-register-device[disabled],
html body .swd-app .swd-register-device.is-registered {
  opacity: .45; cursor: not-allowed; transform: none;
}
html body .swd-app .swd-register-device[disabled]:hover {
  transform: none; background: var(--brand-soft); box-shadow: none;
}
html body .swd-app .swd-register-device.is-loading { pointer-events: none; }
html body .swd-app .swd-register-device.is-loading svg { animation: swd-spin 1s linear infinite; }

@media (max-width: 980px) {
  html body .swd-app .swd-bento-devices,
  html body .swd-app .swd-bento-trusted-devices,
  html body .swd-app .swd-bento-login-logs { grid-column: 1 / -1; min-width:0; }
}
@media (max-width: 768px) {
  html body .swd-app .swd-bento-devices,
  html body .swd-app .swd-bento-trusted-devices,
  html body .swd-app .swd-bento-login-logs { grid-column: 1 / -1; min-width:0; }
}

html body .swd-app .swd-tdm-overlay{
  position: fixed; inset: 0; z-index: 1000000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; box-sizing: border-box;
  background: color-mix(in srgb, #0b1020 52%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
html body .swd-app[data-theme="dark"] .swd-tdm-overlay{ background: color-mix(in srgb, #01030a 62%, transparent); }
html body .swd-app .swd-tdm-overlay.is-open{ opacity: 1; visibility: visible; }

html body .swd-app .swd-tdm-card{
  direction: rtl; text-align: right;
  box-sizing: border-box;
  width: 100%; max-width: var(--tdm-card-max-width, 480px);
  max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  overflow-y: auto; overflow-x: hidden;
  background: var(--surface-solid, #fff);
  border: 1px solid color-mix(in srgb, var(--line, #0f1729) 10%, transparent);
  border-radius: var(--tdm-card-radius, 18px);
  box-shadow: 0 26px 70px -18px rgba(0,0,0,.45), 0 4px 16px -8px rgba(0,0,0,.25);
  padding: var(--tdm-card-padding, 22px);
  transform: translateY(10px) scale(.96); opacity: 0;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .22s ease;
}
html body .swd-app .swd-tdm-overlay.is-open .swd-tdm-card{ transform: translateY(0) scale(1); opacity: 1; }

html body .swd-app .swd-tdm-head{ display: flex; align-items: center; gap: var(--tdm-head-gap, 12px); margin-bottom: var(--tdm-head-mb, 16px); }
html body .swd-app .swd-tdm-head-icon{
  flex: 0 0 auto; width: var(--tdm-head-icon-size, 42px); height: var(--tdm-head-icon-size, 42px); border-radius: var(--tdm-head-icon-radius, 14px);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--danger, #ef4444);
  background: var(--tdm-head-icon-bg, color-mix(in srgb, var(--danger, #ef4444) 12%, transparent));
  box-shadow: inset 0 0 0 1px var(--tdm-head-icon-ring, color-mix(in srgb, var(--danger, #ef4444) 22%, transparent));
}
html body .swd-app .swd-tdm-svg{ width: var(--tdm-head-svg-size, 20px); height: var(--tdm-head-svg-size, 20px); display: block; }
html body .swd-app .swd-tdm-title{
  margin: 0; min-width: 0; font-family: var(--font);
  font-size: var(--tdm-title-fs, 15px);
  font-weight: var(--tdm-title-fw, 700);

  color: var(--tdm-title-color, var(--text, #0f1729)) !important;
  line-height: 1.4;
  padding-bottom: var(--tdm-title-pb, 0);
}

html body .swd-app .swd-tdm-info{
  border: var(--tdm-info-border-width, 1px) solid color-mix(in srgb, var(--line, #0f1729) 12%, transparent);
  background: var(--tdm-info-bg-dark, color-mix(in srgb, var(--brand, #7ae2cf) 6%, transparent));
  border-radius: calc(var(--tdm-card-radius, 18px) - 6px);
  padding: var(--tdm-info-padding, 14px); margin-bottom: var(--tdm-info-mb, 14px);
}

html body .swd-app:not([data-theme="dark"]) .swd-tdm-info,
html body .swd-app[data-theme="light"] .swd-tdm-info{
  background: var(--tdm-info-bg-light, color-mix(in srgb, var(--brand, #7ae2cf) 14%, var(--surface-solid, #ffffff)));
  border-color: var(--tdm-info-border-light, color-mix(in srgb, var(--brand, #7ae2cf) 34%, transparent));
}
html body .swd-app .swd-tdm-info-title{
  font-family: var(--font);
  font-size: var(--tdm-info-title-fs, 12px);
  font-weight: var(--tdm-info-title-fw, 700);
  color: var(--tdm-info-title-color, var(--tdm-text-color, var(--muted, #5b6b85)));
  margin-bottom: var(--tdm-info-title-mb, 10px);
}
html body .swd-app .swd-tdm-grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--tdm-grid-gap, 25px); }
html body .swd-app .swd-tdm-item{ display: flex; align-items: flex-start; gap: var(--tdm-item-gap, 8px); min-width: 0; }
html body .swd-app .swd-tdm-item-icon{
  flex: 0 0 auto; width: var(--tdm-item-icon-box-size, 40px); height: var(--tdm-item-icon-box-size, 40px); border-radius: var(--tdm-item-icon-radius, 12px);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--tdm-item-icon-color, var(--brand, #7ae2cf));
  background: var(--tdm-item-icon-bg, color-mix(in srgb, var(--brand, #7ae2cf) 14%, transparent));
}

html body .swd-app:not([data-theme="dark"]) .swd-tdm-item-icon,
html body .swd-app[data-theme="light"] .swd-tdm-item-icon{
  color: var(--tdm-item-icon-color-light, color-mix(in srgb, var(--brand-deep, var(--brand, #7ae2cf)) 80%, #0f1729));
  background: var(--tdm-item-icon-bg-light, color-mix(in srgb, var(--brand, #7ae2cf) 26%, var(--surface-solid, #ffffff)));
  box-shadow: inset 0 0 0 1px var(--tdm-item-icon-ring-light, color-mix(in srgb, var(--brand, #7ae2cf) 42%, transparent));
}
html body .swd-app .swd-tdm-item-icon .swd-tdm-svg{ width: var(--tdm-item-icon-size, 18px); height: var(--tdm-item-icon-size, 18px); }
html body .swd-app .swd-tdm-item-body{ display: flex; flex-direction: column; gap: var(--tdm-item-body-gap, 2px); min-width: 0; }
html body .swd-app .swd-tdm-item-label{
  font-family: var(--font);
  font-size: var(--tdm-item-label-fs, 11px);
  font-weight: var(--tdm-item-label-fw, 500);
  color: var(--tdm-item-label-color, var(--muted, #5b6b85)); opacity: .95;
}
html body .swd-app .swd-tdm-item-value{
  font-family: var(--font);
  font-size: var(--tdm-item-value-fs, var(--tdm-text-fs, 13px));
  font-weight: var(--tdm-item-value-fw, 700);
  color: var(--tdm-item-value-color, var(--tdm-text-color, var(--text, #0f1729)));
  overflow-wrap: anywhere; word-break: break-word; line-height: 1.6;
}

html body .swd-app .swd-tdm-warn{
  display: flex; align-items: center; gap: var(--tdm-warn-gap, 9px);
  border: var(--tdm-warn-border-width, 1px) solid var(--tdm-warn-border-color, color-mix(in srgb, var(--danger, #ef4444) 28%, transparent));
  background: var(--tdm-warn-bg, color-mix(in srgb, var(--danger, #ef4444) 10%, transparent));
  border-radius: calc(var(--tdm-card-radius, 18px) - 6px);
  padding: var(--tdm-warn-padding, 12px); margin-bottom: var(--tdm-warn-mb, 18px);
}
html body .swd-app .swd-tdm-warn-icon{ flex: 0 0 auto; color: var(--danger, #ef4444); display: inline-flex; }
html body .swd-app .swd-tdm-warn-icon .swd-tdm-svg{ width: var(--tdm-warn-icon-size, 17px); height: var(--tdm-warn-icon-size, 17px); }
html body .swd-app .swd-tdm-warn-text{
  margin: 0; min-width: 0; font-family: var(--font);
  font-size: var(--tdm-warn-text-fs, var(--tdm-text-fs, 13px));
  font-weight: var(--tdm-warn-text-fw, 700);

  color: var(--tdm-warn-text-color, var(--danger, #ef4444)) !important;
  line-height: 1.8;
}

html body .swd-app .swd-tdm-actions{ display: flex; align-items: center; gap: var(--tdm-actions-gap, 10px); }
html body .swd-app .swd-tdm-confirm{
  flex: 1 1 auto; font-family: var(--font);
  font-size: var(--tdm-btn-fs, 14px);
  font-weight: var(--tdm-btn-fw, 600);
  color: var(--tdm-btn-text, #fff);
  background: var(--tdm-btn-bg, var(--danger, #ef4444));
  border: none; border-radius: var(--tdm-btn-radius, 12px);
  padding: var(--tdm-btn-padding-v, 12px) var(--tdm-btn-padding-h, 18px); cursor: pointer; min-height: var(--tdm-btn-min-height, 44px);
  box-shadow: 0 10px 22px -12px var(--tdm-btn-bg, var(--danger, #ef4444));
  transition: filter .2s ease, transform .15s ease, opacity .2s ease;
}
html body .swd-app .swd-tdm-confirm:hover{ filter: brightness(1.06); }
html body .swd-app .swd-tdm-confirm:active{ transform: scale(.98); }
html body .swd-app .swd-tdm-confirm[disabled],
html body .swd-app .swd-tdm-confirm.is-loading{ opacity: .6; cursor: progress; transform: none; }
html body .swd-app .swd-tdm-cancel{
  flex: 0 0 auto; font-family: var(--font);
  font-size: var(--tdm-cancel-fs, 13px);
  font-weight: var(--tdm-cancel-fw, 500);
  color: var(--tdm-cancel-text, var(--muted, #5b6b85));
  background: transparent;
  border: var(--tdm-cancel-border-width, 1px) solid var(--tdm-cancel-border-color, color-mix(in srgb, var(--line, #0f1729) 16%, transparent));
  border-radius: var(--tdm-btn-radius, 12px);
  padding: var(--tdm-btn-padding-v, 12px) var(--tdm-btn-padding-h, 18px); cursor: pointer; min-height: var(--tdm-btn-min-height, 44px);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
html body .swd-app .swd-tdm-cancel:hover{
  background: color-mix(in srgb, var(--line, #0f1729) 6%, transparent);
  color: var(--tdm-cancel-text, var(--text, #0f1729));
}

@media (max-width: 480px){
  html body .swd-app .swd-tdm-overlay{ padding: 12px; align-items: flex-end; }
  html body .swd-app .swd-tdm-card{ max-width: 100%; padding: 18px 16px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  html body .swd-app .swd-tdm-grid{ grid-template-columns: minmax(0, 1fr); gap: var(--tdm-grid-gap, 25px); }
  html body .swd-app .swd-tdm-actions{ flex-direction: column; align-items: stretch; gap: 8px; }
  html body .swd-app .swd-tdm-actions .swd-tdm-confirm,
  html body .swd-app .swd-tdm-actions .swd-tdm-cancel{ width: 100%; flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce){
  html body .swd-app .swd-tdm-overlay,
  html body .swd-app .swd-tdm-card{ transition: none !important; }
}

html body .swd-app .swd-ov-support .swd-stat-body { flex:1 1 auto; width:100%; min-width:0; }
html body .swd-app .swd-ov-support-head { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; min-width:0; }
html body .swd-app .swd-ov-support-head .swd-stat-label { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
html body .swd-app .swd-ov-support-head .swd-badge { flex:0 0 auto; white-space:nowrap; }
@media(min-width:981px){
  html body .swd-app .swd-ov-support { position:relative; }
  html body .swd-app .swd-ov-support .swd-ov-support-head .swd-badge { position:absolute; top:14px; left:14px; z-index:5; }
  html body .swd-app .swd-ov-support .swd-ov-support-head .swd-stat-label { padding-inline-end:0; }
}
html body .swd-app .swd-ov-support-subject { display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
html body .swd-app button.swd-ov-support { width:100%; margin:0; font:inherit; color:inherit; text-align:right; appearance:none; -webkit-appearance:none; }
html body .swd-app .swd-ov-support.is-clickable { cursor:pointer; }
html body .swd-app .swd-ov-support.is-clickable:hover { transform:translateY(-3px); box-shadow:var(--shadow); border-color:color-mix(in srgb, var(--brand) 30%, var(--line)); }

html body .swd-app .swd-ov-support.has-ticket .swd-stat-ic { color: var(--c, var(--brand)); }

html body .swd-app .swd-badge.swd-os-open,
html body .swd-app .swd-badge.swd-os-closed,
html body .swd-app .swd-badge.swd-os-review,
html body .swd-app .swd-badge.swd-os-answered {
  color: var(--c, var(--brand));
  background: color-mix(in srgb, var(--c, var(--brand)) 16%, transparent);
  border-color: color-mix(in srgb, var(--c, var(--brand)) 35%, transparent);
  white-space: nowrap;
}

html body .swd-app .swd-ov-bento > .swd-ov-custom-widget { margin-top:0; }

html body .swd-floating-tooltip {
  position:fixed;
  z-index:2147483000;
  background:var(--vb-tooltip-bg, #1e293b);
  color:var(--vb-tooltip-text, #fff);
  font-size:var(--fs-vb-tooltip, 12px);
  font-weight:var(--fw-vb-tooltip, 600);
  padding:4px 8px;
  border-radius:6px;
  white-space:nowrap;
  pointer-events:none;
  opacity:0;
  transform:translateY(4px);
  transition:opacity .2s cubic-bezier(.22,1,.36,1), transform .2s cubic-bezier(.22,1,.36,1);
}
html body .swd-floating-tooltip.is-visible {
  opacity:1;
  transform:translateY(0);
}
html body .swd-floating-tooltip[data-pos="bottom"] {
  transform:translateY(-4px);
}
html body .swd-floating-tooltip[data-pos="bottom"].is-visible {
  transform:translateY(0);
}

@media(max-width:980px){
  html body .swd-floating-tooltip { display:none !important; }
}
