/* SA PLAYER 7.3 — reference-inspired, vector-sharp, responsive interface.
   Presentation layer only: APK/API routes, request parameters and payloads untouched. */
:root {
  --sidebar:258px;
  --bg:#0c1031;
  --panel:#161b41;
  --panel-2:#1b204a;
  --panel-3:#202653;
  --surface:rgba(31,37,79,.85);
  --surface-strong:#171b3e;
  --line:rgba(153,168,243,.14);
  --line-strong:rgba(100,169,253,.33);
  --text:#eff4ff;
  --muted:#a5afd4;
  --muted-2:#858fb5;
  --success:#43e5bf;
  --danger:#ff5f93;
  --evo-cyan:#06e5ee;
  --evo-blue:#218dff;
  --evo-violet:#8d47ff;
  --evo-purple:#df33d5;
  --grad:linear-gradient(105deg,#348bfa 0%,#00e4e8 100%);
  --shadow-soft:0 11px 28px rgba(2,5,30,.18);
  --shadow:0 20px 50px rgba(2,5,30,.35);
  --radius:19px;
}
html {background:#0b98dc}
body {min-width:320px; padding:clamp(0px,1.6vw,24px);background:linear-gradient(124deg,#1b80ec 0%,#11b8ec 46%,#03d8df 100%);min-height:100svh;color:var(--text);}
body:before {background:radial-gradient(circle at 18% 0,rgba(161,67,255,.25),transparent 35%),radial-gradient(circle at 91% 80%,rgba(38,236,238,.13),transparent 42%);z-index:-1}
body:after{display:none}
.app-shell {min-height:calc(100svh - clamp(0px,3.2vw,48px));max-width:1900px;width:100%;margin:0 auto;border:1px solid rgba(220,234,255,.09);border-radius:27px;overflow:clip;box-shadow:0 28px 75px rgba(6,23,82,.36),0 0 66px rgba(5,240,239,.16);background:linear-gradient(125deg,#131735,#111533 62%,#131838 100%);}
.sidebar {height:100%;min-height:calc(100svh - clamp(0px,3.2vw,48px));position:relative;top:auto;background:linear-gradient(180deg,#151b40 0%,#101432 58%,#10132d 100%);border-right:1px solid rgba(107,119,209,.12);padding:23px 13px 22px;box-shadow:inset -12px 0 30px rgba(4,7,33,.12);backdrop-filter:none}
.sidebar:after {display:none}
.sidebar-head.brand-card {margin:0 0 16px;padding:10px 8px 17px;border:0;border-bottom:1px solid rgba(137,162,224,.1);background:transparent;border-radius:0;}
.brand-logo {width:46px;height:46px;flex-shrink:0;border-radius:50%;border:1px solid #00e3ed;box-shadow:0 0 0 4px rgba(17,220,235,.08),0 4px 19px rgba(3,202,238,.23);background:linear-gradient(135deg,#164d9d,#03dbe6);}
.brand-logo img {object-fit:contain;filter:none;padding:5px;}
.brand-copy b {color:#f2f5ff;letter-spacing:.01em;font-size:16px;background:none;-webkit-text-fill-color:currentColor;}
.brand-copy small {color:#50dbf2;letter-spacing:.16em;font-size:9px;margin-top:5px;}
.identity {margin:6px 3px 15px;border-color:rgba(127,151,234,.12);background:linear-gradient(145deg,#202750,#161b3d);border-radius:17px;padding:11px;}
.avatar {background:linear-gradient(150deg,#ec197a,#8723ff);box-shadow:0 3px 18px rgba(238,36,132,.22);}
.identity-copy small {color:#96a1ca;}
.sidebar nav {gap:5px}
.sidebar nav>small {color:#747fa9;margin:17px 11px 7px;font-size:10px;letter-spacing:.12em;}
.nav-item {padding:12px 12px;grid-template-columns:21px minmax(0,1fr);gap:11px;font-size:12px;border-radius:12px;color:#b7c0dc;min-height:43px;}
.nav-item .ui-icon {color:#838db7}
.nav-item.active {color:#091737;background:linear-gradient(108deg,#319cff,#04e2e8);border:1px solid rgba(121,248,255,.7);box-shadow:0 9px 24px rgba(6,193,248,.26),inset 0 1px 0 rgba(255,255,255,.34);font-weight:800;}
.nav-item.active>.ui-icon {color:#082453;filter:none}
.nav-item:hover:not(.active){color:#ecf6ff;background:#252d59;border-color:rgba(116,204,245,.17)}
.main-area {position:relative;background:radial-gradient(ellipse at 70% 0,rgba(48,51,137,.13),transparent 48%),linear-gradient(120deg,#15193a,#151936 75%,#151936);min-height:100%;overflow-x:clip;isolation:isolate}
.main-area:before {display:none!important;}
.topbar {height:88px;position:relative;top:auto;padding:16px 24px;background:rgba(22,27,61,.96);border-bottom:1px solid rgba(148,169,241,.09);backdrop-filter:none;gap:16px;}
.page-title {flex:0 1 auto;min-width:112px;}
.page-title small {font-size:9px;letter-spacing:.15em;color:#8ea5dd}
.page-title h1 {font-size:21px;max-width:220px;font-weight:800;}
.top-tabs {margin:auto;display:flex;align-items:center;justify-content:center;gap:clamp(3px,1vw,16px);white-space:nowrap}
.top-tabs a {display:inline-flex;align-items:center;justify-content:center;position:relative;padding:13px 9px;color:#8e98bc;font-size:11px;font-weight:600;border-radius:9px;min-height:42px;}
.top-tabs a.active{color:#f3f6ff;font-weight:800}
.top-tabs a.active:after{content:"";position:absolute;height:2px;bottom:4px;left:15%;right:15%;border-radius:2px;background:linear-gradient(90deg,#419bff,#0be9ec)}
.top-tabs a:hover{color:#e9faff;background:rgba(255,255,255,.04)}
.top-actions {margin-left:0;gap:8px}
.top-actions .global-search {width:clamp(140px,16vw,228px);height:39px;border-radius:12px;background:#111635;border-color:rgba(138,166,241,.18)}
.global-search input {font-size:11px;color:#fff}
.status-pill {background:rgba(29,233,188,.08);color:#67e9c5;border-color:rgba(56,215,184,.17);}
.status-pill .ui-icon{color:#67e9c5}
.top-actions .icon-button {width:40px;height:40px;border-radius:11px;color:#d9e5fd;background:#21274f;border:1px solid rgba(135,151,222,.17);}
.top-actions .icon-button:hover {color:#0c1b39;background:#0fe4ea}
.top-actions .top-new-client{height:40px;min-height:40px;color:#041a3b;background:linear-gradient(100deg,#289bff,#00e6eb);border:0;font-size:11px;box-shadow:0 6px 20px rgba(7,195,238,.17);}
.content {max-width:1640px;padding:23px 24px 10px;}
.card,.hero,.table-card {background:linear-gradient(150deg,#1c2149,#1a2046 58%,#191e41);border:1px solid rgba(134,149,230,.11);border-radius:19px;box-shadow:7px 12px 24px rgba(2,4,28,.19),inset 1px 1px 0 rgba(255,255,255,.045);}
.card:hover {border-color:rgba(88,187,249,.25)}
.hero {padding:25px}
.hero:before {background:radial-gradient(circle at 50% 50%,rgba(100,52,220,.18),transparent 65%)}
.premium-hero {grid-template-columns:minmax(0,1fr) minmax(275px,.8fr);min-height:195px;background:radial-gradient(circle at 90% 20%,rgba(17,213,234,.13),transparent 35%),linear-gradient(116deg,#20264f,#181d44);border-color:rgba(95,186,249,.18);}
.premium-hero:before {background:radial-gradient(circle,rgba(64,123,247,.16),transparent 68%)}
.premium-hero:after {height:2px;background:linear-gradient(90deg,transparent,#12ceff,#8c3dff,#ef267b,transparent)}
.operation-badge {color:#75eaf2;border-color:rgba(42,205,245,.22);background:rgba(25,168,237,.08);font-size:9px;}
.premium-hero h2 {font-size:clamp(23px,2.4vw,33px);line-height:1.11;}
.premium-hero h2 span {background:linear-gradient(95deg,#16d7f9,#ab67ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.premium-hero .muted {color:#b6c0df;font-size:12px;}
.hero-shortcuts {grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-self:center;}
.hero-shortcut {min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:13px;border-radius:14px;min-height:118px;background:linear-gradient(153deg,#242952,#1d2349);border-color:rgba(135,151,234,.14);}
.hero-shortcut>span {width:38px;height:38px;border-radius:50%;background:linear-gradient(145deg,rgba(53,137,255,.2),rgba(133,51,242,.2));border-color:rgba(72,205,255,.26);color:#71ecfd}
.hero-shortcut b {color:#f2f4ff;font-size:11px;}
.hero-shortcut small {color:#9ca7cb;font-size:10px;line-height:1.35;}
.hero-shortcut:hover {background:#283260;border-color:#388de3;}
.btn {border-radius:12px;background:#272e57;border-color:rgba(130,154,235,.2);color:#eaf4ff;font-size:12px;min-height:40px;}
.btn.primary,.premium-hero .btn.primary,.top-new-client {background:linear-gradient(102deg,#2894ff,#06e4ed);color:#061a37;border-color:rgba(132,245,251,.23);font-weight:800;box-shadow:0 9px 22px rgba(13,179,242,.19)}
.btn:hover {background:#323a66;border-color:rgba(97,209,246,.45)}
.btn.primary:hover{background:linear-gradient(105deg,#48adff,#47f5f4)}
.stat-grid-ref {margin-top:16px;gap:14px}
.ref-stat {min-height:164px;padding:18px 18px 16px;}
.ref-stat:before {opacity:.85}
.ref-stat.cyan {--stat-color:#06dff1}
.ref-stat.green {--stat-color:#36dec1}
.ref-stat.red {--stat-color:#f52a82}
.ref-stat.purple {--stat-color:#9851ff}
.ref-stat .stat-icon {background:rgba(17,22,56,.55);border-color:color-mix(in srgb,var(--stat-color) 45%,transparent);width:40px;height:40px;}
.ref-stat label {margin-top:14px;color:#aeb8d9;font-size:10px;}
.ref-stat b {font-size:34px;color:#fff;margin:9px 0 7px;font-weight:800;}
.ref-stat .stat-bottom>span{font-size:10px;color:#aab5d3}
.trend-pill{font-size:9px;color:#b5c3e7}
.trend-pill.good{color:#59eccc;background:rgba(67,229,191,.07);border-color:rgba(67,229,191,.2)}
.dashboard-split {grid-template-columns:minmax(0,1.55fr) minmax(290px,.9fr);gap:14px;}
.ref-chart-card {min-height:310px;padding:0;overflow:hidden}
.chart-header{display:flex;align-items:center;justify-content:space-between;padding:20px 20px 2px;gap:10px;}
.chart-header h3,.panel-title-row h3{font-size:15px;color:#f1f5ff;font-weight:800;}
.chart-header p{font-size:10px;color:#aab7d5}
.ref-chart-card .chart-real{height:260px;padding:8px 16px 0}
.ref-chart-card .chart-real svg{height:213px}
.chart-grid line {stroke:rgba(144,161,232,.16)!important}
.ref-chart-card .chart-area {fill:url(#saArea)!important}
.ref-chart-card .chart-line.ref-line {stroke:url(#saLine)!important;stroke-width:4!important;filter:drop-shadow(0 0 4px rgba(153,76,255,.25))}
.ref-chart-card .chart-dot {stroke:#221d4b;fill:#f4d3ff;}
.chart-labels span{color:#a8b0ce}
.chart-legend {display:flex;align-items:center;gap:6px;font-size:10px;color:#bfc9e8}
.chart-legend:before{content:"";display:inline-block;width:19px;height:4px;border-radius:5px;background:linear-gradient(90deg,#f72e87,#7a33ff)}
.servers-panel,.recent-table-card,.usage-card {padding:19px;}
.servers-panel .server-row {border-radius:13px;background:#161b3e;border-color:rgba(139,155,235,.1)}
.server-row:hover{background:#202651;border-color:rgba(46,197,253,.3)}
.server-icon{background:#1d2552;color:#65dfff}
.server-name b,.server-count{font-size:11px;color:#eff5ff}
.server-main>small{font-size:9px;color:#aab5da}
.server-progress {height:5px;background:#101536}
.server-progress i {background:linear-gradient(90deg,#932ef3,#16d8f8)}
.server-name .badge,.badge.green,.badge.red {font-size:10px}
.panel-title-row {margin-bottom:16px}
.panel-title-row a {color:#65dffd;font-size:11px}
.lower-split {grid-template-columns:minmax(0,1.55fr) minmax(290px,.9fr);}
.recent-table th {font-size:10px;color:#aab5d7}
.recent-table td {font-size:11px;color:#dce5ff;border-color:rgba(132,149,220,.10);}
.recent-table .client-cell b{font-size:12px;}
.recent-table .client-cell small{font-size:10px;color:#9ba8d0}
.client-avatar {color:#fff;background:linear-gradient(145deg,#f22982,#6435e4);}
.usage-card .usage-row.compact {font-size:11px;color:#aab6d7;}
.usage-row.compact b{color:#eef6ff}
.neon-insights {padding:18px;overflow:hidden}
.neon-insights .panel-title-row {margin-bottom:13px}
.neon-rings {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}
.neon-ring-unit {display:grid;justify-items:center;gap:6px;min-width:0}
.neon-ring {width:min(100%,100px);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--ring-color) calc(var(--ring-percent)*1%),#0c1337 0);box-shadow:0 0 15px color-mix(in srgb,var(--ring-color) 14%,transparent),inset 0 0 2px rgba(255,255,255,.18);position:relative;}
.neon-ring:before{content:"";position:absolute;inset:10px;border-radius:50%;background:linear-gradient(140deg,#151941,#1c2150);box-shadow:inset 0 2px 14px rgba(0,0,0,.42)}
.neon-ring b {position:relative;z-index:1;font-size:17px;line-height:1;color:#fff;}
.neon-ring-unit small{font-size:10px;color:#b4bee0;text-align:center}
.neon-activity {margin-top:18px;padding-top:15px;border-top:1px solid rgba(134,150,220,.12)}
.neon-activity h4 {font-size:11px;margin:0 0 12px;color:#cdd8f5;}
.neon-bars {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:8px;height:110px;}
.neon-bar-day {display:grid;justify-items:center;align-items:end;gap:6px;height:100%;grid-template-rows:1fr auto;}
.neon-bar-track {align-self:end;display:flex;justify-content:center;align-items:end;height:91px;width:min(22px,100%);border-radius:12px 12px 4px 4px;background:#12173a;overflow:hidden;}
.neon-bar-fill {width:100%;border-radius:12px 12px 4px 4px;background:linear-gradient(0deg,#355bff,#8c37ed 55%,#dc33e9);box-shadow:0 0 12px rgba(139,56,238,.32);min-height:4px;}
.neon-bar-day small {font-size:9px;color:#99a6ca}
.table th,.recent-table th{background:rgba(13,18,48,.48);font-size:10px;color:#a5b3da}
.table td {font-size:12px;color:#d8e3fa}
.table tbody tr:hover td {background:rgba(19,208,235,.055)}
.field label {font-size:12px;color:#bdcae9}
.field input,.field select,.field textarea {min-height:43px;border-radius:11px;background:#121735;border-color:rgba(119,145,220,.25);font-size:13px;color:#f1f5ff;}
.field input:focus,.field select:focus,.field textarea:focus{border-color:#38d9ef;box-shadow:0 0 0 3px rgba(35,205,237,.14)}
.field small {font-size:11px;color:#a2afd2}
.section-head h2 {font-size:19px;color:#f0f5ff}
.section-head p {font-size:12px;color:#aab6d6}
.empty-state {font-size:12px;color:#adbadb}
footer {padding:21px 24px;border-top:1px solid rgba(122,152,233,.1);color:#98a7ce;font-size:11px;}
.footer-security{color:#9eadd4}
.center {min-height:calc(100svh - 48px)}
.login-box {background:linear-gradient(145deg,#20274f,#161b3e);padding:37px;border-color:rgba(100,205,247,.24);box-shadow:0 20px 55px rgba(5,7,34,.25);}
.login-box .login-logo{max-width:160px;max-height:125px;object-fit:contain}
.login-box h1 {color:#f3f7ff}
.menu-btn,.sidebar-close {background:#242b53;border-color:rgba(126,174,233,.26);color:#f1f5ff;}
.mobile-overlay{background:rgba(2,8,34,.65)}
:focus-visible {outline:2px solid #41eafa;outline-offset:3px}
@media(min-width:981px) and (max-width:1500px) {
  .top-tabs{gap:1px}
  .top-tabs a{font-size:10px;padding-inline:5px}
  .top-actions .global-search{width:175px}
  .top-actions .status-pill{display:none}
}
@media(max-width:1250px){
  .premium-hero{grid-template-columns:1fr}.hero-shortcuts{grid-template-columns:repeat(3,1fr);}
  .dashboard-split,.lower-split{grid-template-columns:1fr}
  .right-rail{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:1100px){.top-tabs{display:none}}
@media(max-width:980px){
  :root{--sidebar:min(84vw,320px)}
  body{padding:0;background:#141937}
  .app-shell{border-radius:0;min-height:100svh;overflow:visible;border:0;box-shadow:none;display:block}
  .sidebar{position:fixed;top:0;left:calc(var(--sidebar) * -1 - 15px);height:100dvh;min-height:0;width:var(--sidebar);overflow-y:auto;overscroll-behavior:contain;transition:left .23s ease;box-shadow:18px 0 60px rgba(0,0,0,.5);z-index:35}
  .menu-open .sidebar{left:0}
  .main-area{min-height:100svh;}
  .topbar{position:sticky;top:0;z-index:23;height:70px;padding:9px 15px;gap:10px;backdrop-filter:blur(14px);background:rgba(19,23,52,.96)}
  .top-actions{margin-left:auto}
  .top-actions .global-search,.top-tabs{display:none}
  .menu-btn{display:grid;flex:0 0 auto}
  .content{padding:17px 15px 12px}
  .top-actions .top-new-client{display:inline-flex;width:auto;min-width:39px;padding:0 10px}
  .top-actions .status-pill{display:none}
  .premium-hero{padding:21px}
  .hero-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:650px){
  .topbar{height:66px;padding:9px 11px}
  .page-title h1{font-size:18px}
  .page-title small{font-size:8px}
  .content{padding:12px 10px 10px}
  .card{padding:15px}
  .hero{padding:18px}
  .premium-hero{padding:19px}
  .premium-hero h2{font-size:23px;line-height:1.2}
  .premium-hero .muted{font-size:12px}
  .hero-shortcuts{grid-template-columns:1fr 1fr;gap:9px}
  .hero-shortcut{min-height:95px;padding:11px;gap:7px}
  .hero-shortcut b{font-size:11px}
  .hero-shortcut small{font-size:9px}
  .stat-grid-ref{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ref-stat{min-height:145px;padding:14px}
  .ref-stat b{font-size:28px}
  .ref-stat label{font-size:9px}
  .ref-stat .stat-bottom>span{font-size:9px;white-space:normal}
  .ref-chart-card{padding:0}
  .chart-header{padding:16px 14px 0}
  .ref-chart-card .chart-real{height:240px;padding:6px}
  .ref-chart-card .chart-real svg{height:190px}
  .servers-panel,.recent-table-card,.usage-card,.neon-insights{padding:16px}
  .neon-ring{width:min(100%,88px)}
  .neon-ring:before{inset:9px}
  .neon-ring b{font-size:15px}
  .neon-ring-unit small{font-size:9px}
  .top-actions .top-new-client span {display:none}
  .top-actions .top-new-client{width:39px;min-width:39px;padding:0}
  .form-grid,.branding-grid{grid-template-columns:1fr}
  .field input,.field select,.field textarea{font-size:16px}
  .center{min-height:100svh}
}
@media(max-width:380px){
  .topbar{gap:7px}
  .top-actions{gap:5px}
  .page-title h1{font-size:16px}
  .stat-grid-ref{grid-template-columns:1fr 1fr}
  .ref-stat{min-height:141px;padding:11px}
  .ref-stat b{font-size:25px}
  .hero-shortcuts{grid-template-columns:1fr}
  .neon-rings{gap:4px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
/* Compatibility overrides: legacy fusion skin used !important on global colors. */
:root{
 --bg:#111535!important;--bg-soft:#131838!important;
 --panel:#1b204a!important;--panel-2:#212750!important;--panel-3:#242b58!important;
 --surface:rgba(29,36,77,.86)!important;--surface-strong:#171d43!important;
 --line:rgba(153,168,243,.14)!important;--line-strong:rgba(100,169,253,.33)!important;
 --text:#eef5ff!important;--muted:#b0bddd!important;--muted-2:#8f9cc4!important;
 --evo-cyan:#0fe6ef!important;--evo-blue:#359afd!important;--evo-violet:#9547fc!important;--evo-purple:#d13be8!important;
 --grad:linear-gradient(105deg,#348bfa 0%,#00e4e8 100%)!important;
}
body:before{background:radial-gradient(circle at 18% 0,rgba(161,67,255,.25),transparent 35%),radial-gradient(circle at 91% 80%,rgba(38,236,238,.13),transparent 42%)!important}
.sidebar{background:linear-gradient(180deg,#151b40,#101432 58%,#10132d)!important;border-right-color:rgba(107,119,209,.12)!important}
.sidebar-head.brand-card{background:transparent!important}
.identity{background:linear-gradient(145deg,#202750,#161b3d)!important}
.card,.hero,.table-card,.app-card,.notice-card{background:linear-gradient(150deg,#1c2149,#1a2046 58%,#191e41)!important}
.premium-hero{background:radial-gradient(circle at 90% 20%,rgba(17,213,234,.13),transparent 35%),linear-gradient(116deg,#20264f,#181d44)!important}
.brand-logo{background:linear-gradient(135deg,#164d9d,#03dbe6)!important;border-color:#00e3ed!important}
.brand-logo img{filter:none!important}
.brand-copy b{background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;color:#f2f5ff!important;-webkit-text-fill-color:#f2f5ff!important}
.sidebar .nav-item.active{background:linear-gradient(108deg,#319cff,#04e2e8)!important;border-color:rgba(121,248,255,.7)!important;color:#061a35!important;box-shadow:0 9px 24px rgba(6,193,248,.26),inset 0 1px 0 rgba(255,255,255,.34)!important}
.sidebar .nav-item.active>.ui-icon{color:#082453!important}
.center{background:radial-gradient(circle at 78% 20%,rgba(97,62,207,.18),transparent 40%),linear-gradient(120deg,#14193d,#121633)!important}
.login-box{background:linear-gradient(145deg,#20274f,#161b3e)!important;box-shadow:0 20px 55px rgba(5,7,34,.28)!important}
/* Keep the existing "Logo e BG" panel background upload fully effective. */
.main-area:before {
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:-1!important;
  background-image:linear-gradient(125deg,rgba(17,21,51,.85),rgba(15,18,43,.91)),var(--panel-bg-image)!important;
  background-size:cover!important;
  background-position:center!important;
  background-attachment:scroll!important;
  pointer-events:none;
}

/* SA.PLAYER 7.3.1 — página Temas: imagem integral (sem corte) e responsiva.
   Exclusivo à página de temas, sem interferir nos estilos do APK/API. */
.themes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch;}
.themes-grid .theme-card{display:flex;flex-direction:column;gap:0;min-width:0;cursor:default;overflow:visible;}
.themes-grid .theme-card.selected::after{display:none!important;content:none!important;}
.themes-grid .sa-theme-full-preview{display:flex;align-items:center;justify-content:center;width:100%;height:auto;min-height:0;aspect-ratio:1536/691;overflow:hidden;line-height:0;padding:0;border-radius:12px;background:#080e21;box-shadow:inset 0 0 0 1px rgba(114,181,255,.08);}
.themes-grid .sa-theme-full-preview:before,.themes-grid .sa-theme-full-preview:after{content:none!important;display:none!important;}
.themes-grid .sa-theme-full-preview img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center!important;border:0;border-radius:0;filter:none;transition:transform .2s ease;}
.themes-grid .sa-theme-full-preview:hover img{transform:scale(1.01);}
.themes-grid .sa-theme-full-preview:focus-visible{outline:2px solid #46dffb;outline-offset:3px;}
.themes-grid .theme-full-hint{display:block;color:#aebbe1;font-size:11px;line-height:1.4;margin:9px 1px 3px;}
.themes-grid .theme-card-copy{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;margin-bottom:12px;}
.themes-grid .theme-card-copy>div{min-width:0;}
.themes-grid .theme-card-copy .badge{flex:0 0 auto;}
.themes-grid .theme-card>.btn{margin-top:auto;min-height:43px;justify-content:center;}
@media(max-width:1220px){.themes-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;}}
@media(max-width:720px){.themes-grid{grid-template-columns:minmax(0,1fr);gap:13px;}.themes-grid .theme-card{padding:12px;}.themes-grid .theme-full-hint{font-size:10px;}}
@media(prefers-reduced-motion:reduce){.themes-grid .sa-theme-full-preview img{transition:none;}}
