/* 107-extras: mobile, švaresnis viršus, scroll, empty state, share */

/* 2. paslėptos dubliuojančios juostos (pirkimas lieka reklamos puslapyje) */
.sgHide,#sgBx{display:none!important}

/* 3. slinkties juosta + Top */
#sgProg{position:fixed;left:0;top:0;height:3px;width:0;z-index:900;pointer-events:none;
  background:linear-gradient(90deg,#ff7a18,#38bdf8,#7c5cff,#22b8ee);box-shadow:0 0 10px rgba(124,92,255,.6);
  transition:width .1s linear}
body.sgAdsOpen #sgProg,body.sgAdsOpen #sgTop{display:none}
#sgTop{position:fixed;right:18px;bottom:72px;z-index:690;width:44px;height:44px;border:0;border-radius:50%;cursor:pointer;
  color:#fff;font:900 18px system-ui;display:grid;place-items:center;
  background:linear-gradient(135deg,#7c5cff,#38bdf8);box-shadow:0 10px 24px rgba(124,92,255,.5);
  opacity:0;transform:translateY(14px) scale(.8);pointer-events:none;transition:opacity .25s,transform .25s}
#sgTop.on{opacity:1;transform:none;pointer-events:auto}
#sgTop:hover{filter:brightness(1.12);transform:translateY(-3px)}

/* 4. tuščia būsena */
.sgEmpty{margin:18px 0;padding:34px 20px;text-align:center;border-radius:22px;
  border:1.5px dashed rgba(124,108,255,.45);
  background:radial-gradient(420px 160px at 50% 0,rgba(124,108,255,.14),transparent 70%),var(--card)}
.sgEmpty .ei{width:64px;height:64px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(135deg,rgba(124,92,255,.2),rgba(34,184,238,.2))}
.sgEmpty .ei svg{width:30px;height:30px;fill:none;stroke:#7c5cff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sgEmpty b{display:block;font:900 18px system-ui;color:var(--ink)}
.sgEmpty span{display:block;margin:6px 0 16px;font:500 13.5px system-ui;color:var(--mut)}
.sgEmpty button{padding:10px 20px;border:0;border-radius:12px;cursor:pointer;color:#fff;font:800 13px system-ui;
  background:linear-gradient(135deg,#7c5cff,#38bdf8);box-shadow:0 8px 20px rgba(124,92,255,.4)}

/* 5. Share */
#sgShare{display:inline-flex;align-items:center;gap:6px}
#sgShare svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* 1. mobilus */
@media(max-width:760px){
  #sgAdPage .sgAdTop{padding:10px 12px;gap:10px}
  #sgAdPage .sgAdTop small{display:none}
  #sgAdPage .sgAdWrap{padding:14px 12px 70px}
  #sgAdLab{border-radius:18px!important}
  #sgAdLab .sgSpots{grid-template-columns:1fr 1fr!important;gap:10px!important}
  #sgAdLab .sgSpot{min-height:0!important;padding:12px!important;border-radius:18px!important}
  #sgAdLab .sgSpot .sgSpotIc{width:64px!important;height:64px!important}
  #sgAdLab .sgSpot .sgSpotIc svg{width:54px!important;height:54px!important}
  #sgAdLab .sgSpotTx b{font-size:14px!important}
  #sgAdLab .sgSpotTx small{font-size:11.5px!important}
  #sgAdLab .sgSpot em{font-size:11px!important;padding:8px 10px!important}
  .sgAdReach .sgChips{margin-left:0!important}
  .sgSteps{grid-template-columns:1fr}
  .sgPcs{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr 1fr!important}
  #grid .card.sv .ip{flex-wrap:wrap;gap:8px}
  #grid .card.sv .ip span{flex:1 1 100%}
  .sgTools{margin:6px 0 0 0;display:flex}
  #sgTop{right:12px;bottom:70px}
}
@media(max-width:420px){
  #sgAdLab .sgSpots{grid-template-columns:1fr!important}
  #sgAdLab .sgSpot{flex-direction:row!important;align-items:center!important}
  #sgAdLab .sgSpot em{align-self:center!important;margin-top:0!important}
}
