/* MAIService Reaktionstool – Version 1.2.0 */

.mais-reactions{
  margin-top:40px;
  padding:26px;
  border-radius:12px;
}

.mais-reactions h3{
  font-size:22px;
  line-height:1.25;
  margin:0 0 8px;
}

.mais-reactions .reaction-total{
  margin-bottom:18px;
  font-size:16px;
  font-weight:600;
  color:#333;
}

.mais-reactions .reaction-buttons{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:12px;
}

.mais-reactions .reaction-btn{
  min-width:0;
  min-height:150px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  padding:18px 10px;
  border-radius:12px;
  font-weight:700;
  cursor:pointer;
  text-align:center;
  box-shadow:0 2px 8px rgba(0,0,0,.04);
  transition:transform .18s ease, box-shadow .18s ease, outline-color .18s ease, background .18s ease;
}

.mais-reactions .reaction-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 22px rgba(0,0,0,.09);
}

.mais-reactions .reaction-btn:focus-visible{
  outline:3px solid #0073aa;
  outline-offset:2px;
}

.mais-reactions .reaction-btn.active{
  outline:2px solid #0073aa;
  background:#f7fcff;
}

.mais-reactions .reaction-btn.loading{
  opacity:.7;
  pointer-events:none;
}

.mais-reactions .reaction-icon{
  display:block;
  font-size:34px;
  line-height:1;
}

.mais-reactions .label{
  display:block;
  font-size:15px;
  line-height:1.25;
  overflow-wrap:anywhere;
}

.mais-reactions .reaction-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:32px;
  padding:4px 12px;
  border-radius:999px;
  background:#e2f5ff;
  font-size:16px;
  line-height:1;
}

.mais-reactions .reaction-note{
  min-height:20px;
  margin-top:12px;
  font-size:13px;
  opacity:0;
  transition:opacity .2s ease;
  color:#1d2327;
}

.mais-reactions .reaction-note.show{
  opacity:.85;
}

/* Tablet */
@media (max-width:900px){
  .mais-reactions .reaction-buttons{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

/* Mobil */
@media (max-width:600px){
  .mais-reactions{
    padding:20px 14px;
  }

  .mais-reactions h3{
    font-size:20px;
  }

  .mais-reactions .reaction-buttons{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
  }

  .mais-reactions .reaction-btn{
    min-height:125px;
    padding:14px 8px;
  }

  .mais-reactions .reaction-icon{
    font-size:28px;
  }

  .mais-reactions .label{
    font-size:14px;
  }

  .mais-reactions .reaction-btn:last-child:nth-child(odd){
    grid-column:1 / -1;
  }
}

/* Optional: Top-Artikel Highlight */
.mais-top-liked{
  outline:2px solid #0073aa;
  border-radius:10px;
  position:relative;
}

.mais-top-liked::before{
  content:"Top";
  position:absolute;
  top:10px;
  right:10px;
  z-index:2;
  padding:4px 10px;
  font-weight:700;
  border-radius:999px;
  background:#0073aa;
  color:#fff;
  font-size:12px;
}
