.sggo-community{
  max-width:960px;
  margin:32px auto;
  padding:22px;
  background:linear-gradient(145deg,#111516,#151515);
  border:1px solid #303a40;
  border-radius:18px;
  color:#f1f1f1;
  box-sizing:border-box;
  overflow:hidden;
}
.sggo-community__hero{
  min-height:150px;
  display:grid;
  grid-template-columns:minmax(190px,260px) 1fr minmax(150px,190px);
  align-items:center;
  gap:22px;
  padding:8px 6px 22px;
  border-bottom:1px solid #2d363b;
}
.sggo-community__vehicle{height:135px;display:flex;align-items:center;justify-content:center}
.sggo-community__vehicle img{display:block;max-width:100%;max-height:135px;width:auto;height:auto;object-fit:contain}
.sggo-community__head{text-align:center}
.sggo-community__head h2{margin:0 0 8px;font-size:25px;line-height:1.2;color:#a6ed16;letter-spacing:.01em}
.sggo-community__head p{margin:0;color:#d4d9db;font-size:16px}
.sggo-community__stats{
  border-left:1px solid #303a40;
  min-height:100px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding-left:20px;
}
.sggo-community__stats-number{font-size:48px;font-weight:700;line-height:1;color:#a6ed16}
.sggo-community__stats-label{margin-top:7px;color:#e4e8e9;font-size:14px}
.sggo-community__table{margin-top:20px;border:1px solid #30383d;border-radius:12px;overflow:hidden}
.sggo-community__row{display:grid;grid-template-columns:1fr 150px 120px;gap:16px;align-items:center;padding:13px 16px;border-top:1px solid #30383d}
.sggo-community__row:first-child{border-top:0}
.sggo-community__row--head{background:#101314;color:#8e999d;font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.sggo-community__row strong{color:#a6ed16;font-size:16px}
.sggo-community__empty{
  min-height:150px;
  margin-top:20px;
  border:1px dashed #4a555b;
  border-radius:12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  color:#d6dcde;
  font-size:20px;
  text-align:center;
}
.sggo-community__empty-icon{font-size:42px;filter:grayscale(1);opacity:.55}
.sggo-community__pagination{display:flex;justify-content:center;gap:7px;margin-top:18px}
.sggo-community__pagination a{display:inline-flex;min-width:34px;height:34px;align-items:center;justify-content:center;border:1px solid #3b4449;border-radius:8px;color:#dfe5e7;text-decoration:none}
.sggo-community__pagination a.is-active,.sggo-community__pagination a:hover{border-color:#a6ed16;color:#a6ed16}
@media(max-width:800px){
  .sggo-community__hero{grid-template-columns:170px 1fr;gap:12px}
  .sggo-community__vehicle{height:105px}
  .sggo-community__vehicle img{max-height:105px}
  .sggo-community__stats{grid-column:1/-1;border-left:0;border-top:1px solid #303a40;padding:14px 0 0;min-height:0;flex-direction:row;gap:10px}
  .sggo-community__stats-number{font-size:30px}
  .sggo-community__stats-label{margin:0}
}
@media(max-width:650px){
  .sggo-community{margin:22px 0;padding:16px 10px;border-radius:14px}
  .sggo-community__hero{grid-template-columns:1fr;gap:8px;text-align:center}
  .sggo-community__vehicle{height:105px}
  .sggo-community__vehicle img{max-height:105px;max-width:85%}
  .sggo-community__head h2{font-size:21px}
  .sggo-community__head p{font-size:14px}
  .sggo-community__row{grid-template-columns:1fr 75px;gap:8px;padding:12px 10px}
  .sggo-community__row span:last-child{grid-column:1/-1;font-size:12px;color:#8e999d}
  .sggo-community__row--head span:last-child{display:block}
  .sggo-community__row--head{grid-template-columns:1fr 75px}
}


/* 0.1.6 — mobile table: keep column labels on one line */
@media(max-width:650px){
  .sggo-community__row{
    grid-template-columns:minmax(0,1fr) 82px 82px;
    gap:6px;
    padding:12px 10px;
  }
  .sggo-community__row > *{
    min-width:0;
  }
  .sggo-community__row--head{
    font-size:10px;
    letter-spacing:.025em;
  }
  .sggo-community__row--head span,
  .sggo-community__row--head span:last-child{
    white-space:nowrap;
    display:block;
  }
  .sggo-community__row span:last-child{
    grid-column:auto;
    font-size:inherit;
    color:inherit;
  }
  .sggo-community__row strong{
    white-space:nowrap;
    font-size:15px;
  }
}


/* 0.1.8 — mobile readability */
@media (max-width: 650px) {
  .sggo-community__row {
    grid-template-columns: minmax(0,1fr) 78px 104px;
    gap: 6px;
    padding: 12px 10px;
  }

  .sggo-community__row--head {
    font-size: 10px;
    letter-spacing: .02em;
  }

  .sggo-community__row--head span:nth-child(3) {
    text-align: right;
  }

  .sggo-community__row > span:last-child {
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    font-size: 14px;
    color: inherit;
  }

  .sggo-community__row--head span,
  .sggo-community__row--head span:last-child {
    white-space: nowrap;
  }

  .sggo-community__row strong {
    white-space: nowrap;
    font-size: 15px;
  }

  .sggo-community__stats-number {
    display: inline-block;
    min-width: 1.2em;
  }
}


/* 0.1.9 — unified mobile table geometry */
@media (max-width: 650px) {
  .sggo-community__table {
    width: 100%;
  }
  .sggo-community__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px 96px;
    column-gap: 0;
    align-items: center;
    padding: 13px 12px;
    box-sizing: border-box;
  }
  .sggo-community__row--head {
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: .01em;
    font-weight: 500;
  }
  .sggo-community__row--head span {
    white-space: nowrap;
  }
  .sggo-community__row--head span:nth-child(2) {
    text-align: left;
  }
  .sggo-community__row--head span:nth-child(3) {
    text-align: right;
  }
  .sggo-community__row > span:nth-child(2) {
    text-align: left;
    white-space: nowrap;
  }
  .sggo-community__row > span:nth-child(3) {
    text-align: right;
    white-space: nowrap;
    font-size: 14px;
  }
  .sggo-community__row strong {
    white-space: nowrap;
    font-size: 15px;
  }
}

.sggo-community__content[aria-busy="true"]{opacity:.55;pointer-events:none;transition:opacity .15s ease}
.sggo-community__pagination{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:14px}
.sggo-community__pagination button{border:1px solid #2b3942;background:transparent;color:inherit;padding:6px 10px;border-radius:6px;cursor:pointer}
.sggo-community__pagination button.is-active{border-color:#9cff00;color:#9cff00}
@media(max-width:650px){
 .sggo-community__row{grid-template-columns:minmax(0,1fr) 88px 96px;column-gap:0}
 .sggo-community__row--head{font-size:10px}
 .sggo-community__row--head span:nth-child(3){text-align:right}
 .sggo-community__row>span:nth-child(3){white-space:nowrap;text-align:right}
}

.sggo-community__pagination .sggo-community__page{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  text-decoration:none;
}
.sggo-community__pagination .sggo-community__page:focus-visible{
  outline:2px solid #9cff00;
  outline-offset:2px;
}
