.asn-interactions{
  margin:28px 0 0;
  color:#fff;
}

.asn-interactions *{
  box-sizing:border-box;
}

.asn-rating-actions{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-left:2px;
  padding:3px;
  border:1px solid rgba(148,163,184,.14);
  border-radius:13px;
  background:rgba(15,23,42,.42);
  vertical-align:middle;
}

.asn-detail-actions .asn-rating-actions{
  flex:0 0 auto;
}

.asn-reaction-btn{
  height:34px;
  min-width:50px!important;
  border:0;
  border-radius:10px;
  background:rgba(255,255,255,.055);
  color:rgba(255,255,255,.76);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  cursor:pointer;
  font-weight:1000;
  line-height:1;
  transition:transform .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease;
}

.asn-reaction-btn i{
  font-size:14px;
}

.asn-reaction-btn span{
  font-size:13px;
}

.asn-reaction-btn:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.09);
  color:#fff;
}

.asn-reaction-btn[data-reaction="like"].is-active{
  color:#22c55e;
  background:rgba(34,197,94,.12);
  box-shadow:inset 0 0 0 1px rgba(34,197,94,.28);
}

.asn-reaction-btn[data-reaction="dislike"].is-active{
  color:#ef4444;
  background:rgba(239,68,68,.12);
  box-shadow:inset 0 0 0 1px rgba(239,68,68,.30);
}

.asn-reaction-btn.is-syncing i{
  animation:asnReactionPulse .7s ease-in-out infinite;
}

.asn-reaction-btn:disabled,
.asn-comment-send:disabled,
.asn-comment-action:disabled{
  opacity:.55;
  cursor:not-allowed;
  transform:none;
}

@keyframes asnReactionPulse{
  0%,100%{
    transform:scale(1);
    opacity:1;
  }

  50%{
    transform:scale(1.16);
    opacity:.62;
  }
}

.asn-comments{
  margin-top:18px;
  overflow:hidden;
}

.asn-comments-head{
  padding:18px;
  border-bottom:1px solid rgba(148,163,184,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:center;
}

.asn-comments-head > div{
  width:100%;
}

.asn-comments-head h2{
  margin:0;
  font-size:22px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.3px;
}

.asn-comments-head p{
  margin:5px 0 0;
  color:rgba(255,255,255,.56);
  font-size:12px;
  font-weight:800;
  opacity:50%;
}

.asn-login-note{
  margin:18px;
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(148,163,184,.14);
  color:rgba(255,255,255,.72);
  font-weight:800;
  font-size:11px;
}

.asn-login-note a{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
}

.asn-comment-form{
  margin:18px;
  display:grid;
  gap:10px;
}

.asn-quote-preview{
  display:none;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(14,165,233,.24);
  background:rgba(14,165,233,.10);
  color:rgba(255,255,255,.80);
  font-size:13px;
  font-weight:800;
}

.asn-quote-preview.is-visible{
  display:flex;
}

.asn-quote-preview button{
  border:0;
  background:transparent;
  color:#fff;
  cursor:pointer;
  font-size:16px;
}

.asn-comment-textarea{
  width:100%;
  min-height:110px;
  border:1px solid rgba(148,163,184,.16);
  border-radius:18px;
  outline:none;
  resize:vertical;
  background:rgba(255,255,255,.055);
  color:#fff;
  padding:14px;
  font-size:14px;
  line-height:1.45;
}

.asn-comment-textarea:focus{
  border-color:rgba(14,165,233,.52);
  box-shadow:0 0 0 3px rgba(14,165,233,.10);
}

.asn-comment-form-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

.asn-comment-limit{
  font-size:12px;
  color:rgba(255,255,255,.48);
  font-weight:800;
}

.asn-comment-send{
  height:42px;
  border:0;
  border-radius:14px;
  padding:0 15px;
  background:linear-gradient(135deg,#0ea5e9,#2563eb);
  color:#fff;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:1000;
  cursor:pointer;
}

.asn-comments-message{
  display:none;
  margin:0 18px 14px;
  padding:11px 13px;
  border-radius:14px;
  font-size:13px;
  font-weight:900;
}

.asn-comments-message.is-visible{
  display:block;
}

.asn-comments-message.ok{
  background:rgba(6,95,70,.25);
  border:1px solid rgba(16,185,129,.26);
  color:#bbf7d0;
}

.asn-comments-message.err{
  background:rgba(127,29,29,.25);
  border:1px solid rgba(248,113,113,.28);
  color:#fecaca;
}

.asn-comments-list{
  display:grid;
  gap:14px;
  padding:0 18px 18px;
}

.asn-comments-list.is-loading{
  min-height:190px;
}

.asn-comments-loading{
  display:grid;
  gap:14px;
  padding:4px 0 2px;
}

.asn-comments-loading-head{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:42px;
  color:rgba(255,255,255,.62);
  font-size:13px;
  font-weight:1000;
}

.asn-comments-spinner{
  width:18px;
  height:18px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.16);
  border-top-color:rgba(14,165,233,.95);
  animation:asnCommentsSpin .75s linear infinite;
}

.asn-comment-skeleton{
  position:relative;
  overflow:hidden;
  min-height:96px;
  padding:20px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.07);
  background:rgba(255,255,255,.04);
}

.asn-comment-skeleton::before{
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.07),transparent);
  animation:asnCommentsSkeleton 1.15s ease-in-out infinite;
}

.asn-comment-skeleton span{
  position:relative;
  display:block;
  height:12px;
  border-radius:999px;
  background:rgba(255,255,255,.075);
}

.asn-comment-skeleton span:nth-child(1){
  width:72%;
}

.asn-comment-skeleton span:nth-child(2){
  width:48%;
  margin-top:12px;
}

.asn-comment-skeleton span:nth-child(3){
  width:32%;
  margin-top:18px;
}

@keyframes asnCommentsSpin{
  to{
    transform:rotate(360deg);
  }
}

@keyframes asnCommentsSkeleton{
  100%{
    transform:translateX(100%);
  }
}

.asn-comment-card{
  position:relative;
  min-height:150px;
  padding:26px 28px 18px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.075);
  background:radial-gradient(circle at 35% 15%,rgba(255,255,255,.045),transparent 34%),rgba(0,0,0,.38);
  overflow:hidden;
}

.asn-comment-site-logo{
  position:absolute;
  top:22px;
  right:24px;
  width:28px;
  height:28px;
  object-fit:contain;
  opacity:.46;
}

.asn-comment-body{
  margin:0 44px 26px 0;
  color:rgba(255,255,255,.75);
  font-size:17px;
  line-height:1.38;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}

.asn-comment-body::before{
  content:"“";
}

.asn-comment-body::after{
  content:"”";
}

.asn-comment-quote{
  margin:0 44px 16px 0;
  padding:10px 12px;
  border-left:3px solid rgba(14,165,233,.55);
  border-radius:12px;
  background:rgba(14,165,233,.08);
  color:rgba(255,255,255,.62);
  font-size:12px;
  line-height:1.35;
}

.asn-comment-quote strong{
  display:block;
  color:rgba(255,255,255,.82);
  margin-bottom:3px;
}

.asn-comment-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.asn-comment-author{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.asn-comment-avatar{
  width:54px;
  height:54px;
  border-radius:50%;
  object-fit:cover;
  border:4px solid rgba(255,255,255,.92);
  background:#111827;
  flex:0 0 auto;
}

.asn-comment-user{
  display:grid;
  min-width:0;
}

.asn-comment-name{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  color:rgba(255,255,255,.72);
  font-size:19px;
  font-weight:1000;
  line-height:1.1;
}

.asn-comment-name span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.asn-comment-verified{
  width:17px;
  height:17px;
  object-fit:contain;
  flex:0 0 auto;
}

.asn-comment-meta{
  margin-top:4px;
  color:rgba(255,255,255,.70);
  font-size:14px;
  font-weight:800;
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  line-height:1.35;
}

.asn-comment-meta span{
  min-width:0;
}

.asn-comment-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}

.asn-comment-action{
  min-width:42px;
  height:38px;
  border:0;
  border-radius:13px;
  background:transparent;
  color:rgba(255,255,255,.62);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  cursor:pointer;
  font-weight:1000;
}

.asn-comment-action:hover{
  background:rgba(255,255,255,.06);
  color:#fff;
}

.asn-comment-action.like.is-active{
  color:#ef4444;
}

.asn-comment-action.delete:hover{
  color:#ef4444;
  background:rgba(239,68,68,.10);
}

.asn-comments-empty{
  padding:6px 0 2px;
  color:rgba(255,255,255,.48);
  font-weight:800;
  font-size:13px;
  text-align:center;
}

.asn-comments-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 18px 20px;
  flex-wrap:wrap;
}

.asn-page-btn{
  min-width:38px;
  height:38px;
  border-radius:13px;
  border:1px solid rgba(148,163,184,.14);
  background:rgba(255,255,255,.055);
  color:#fff;
  font-weight:1000;
  cursor:pointer;
}

.asn-page-btn.is-active{
  background:rgba(14,165,233,.22);
  border-color:rgba(14,165,233,.35);
}

@media(max-width:640px){
  .asn-interactions{
    margin-top:22px;
  }

  .asn-rating-actions{
    margin-left:0;
    padding:2px;
    gap:5px;
  }

  .asn-detail-actions .asn-reaction-btn{
    height:34px;
    min-width:46px!important;
    border-radius:10px;
    padding:0 9px;
  }

  .asn-comments-head{
    padding:18px 12px 16px;
  }

  .asn-comments-head h2{
    font-size:21px;
    letter-spacing:1.2px;
  }

  .asn-comments-head p{
    font-size:12px;
    line-height:1.35;
  }

  .asn-comment-form,
  .asn-login-note{
    margin:16px 0;
  }

  .asn-comments-list{
    padding:0 0 16px;
    gap:16px;
  }

  .asn-comment-card{
    min-height:0;
    padding:20px 16px 16px;
    border-radius:22px;
  }

  .asn-comment-site-logo{
    top:18px;
    right:16px;
    width:24px;
    height:24px;
  }

  .asn-comment-body{
    margin:0 34px 18px 0;
    font-size:15px;
    line-height:1.45;
  }

  .asn-comment-quote{
    margin:0 34px 14px 0;
    font-size:11px;
  }

  .asn-comment-foot{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:12px;
  }

  .asn-comment-author{
    gap:10px;
  }

  .asn-comment-avatar{
    width:46px;
    height:46px;
    border-width:3px;
  }

  .asn-comment-name{
    font-size:16px;
    max-width:100%;
  }

  .asn-comment-verified{
    width:15px;
    height:15px;
  }

  .asn-comment-meta{
    font-size:12px;
    gap:5px 8px;
  }

  .asn-comment-meta .asn-comment-meta-separator{
    display:none;
  }

  .asn-comment-actions{
    justify-content:flex-end;
    gap:6px;
    width:100%;
  }

  .asn-comment-action{
    min-width:38px;
    height:36px;
    border-radius:12px;
    background:rgba(255,255,255,.045);
  }
}

@media(max-width:380px){
  .asn-comment-card{
    padding-left:14px;
    padding-right:14px;
  }

  .asn-comment-avatar{
    width:42px;
    height:42px;
  }

  .asn-comment-name{
    font-size:15px;
  }

  .asn-comment-meta{
    font-size:11px;
  }

  .asn-comment-action{
    min-width:36px;
    height:34px;
  }

  .asn-detail-actions .asn-reaction-btn{
    min-width:42px!important;
    padding:0 8px;
  }
}