.brrr-wrap {
  margin: 24px 0;
  padding: 16px;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .035);
}

.brrr-title {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #222;
}

/* リアクション */
.brrr-reaction-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 104px;
  margin-bottom: 14px;
}

.brrr-reaction-line {
  display: grid;
  grid-template-columns: 64px 28px;
  align-items: center;
  column-gap: 8px;
}

.brrr-like-btn,
.brrr-vote-btn {
  width: 64px;
  height: 32px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #222;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  box-sizing: border-box;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.brrr-like-btn {
  font-size: 16px;
}

.brrr-like-btn:hover,
.brrr-vote-btn:hover {
  border-color: #aaa;
  background: #f7f7f7;
}

.brrr-like-btn.is-active {
  border-color: #f0d36a;
  background: #fff7d6;
  color: #c99a00;
}

.brrr-vote-btn[data-reaction="nige"].is-active {
  border-color: #8bc5ff;
  background: #edf7ff;
  color: #1565c0;
}

.brrr-vote-btn[data-reaction="haran"].is-active {
  border-color: #ff9cc2;
  background: #fff0f5;
  color: #d81b60;
}

.brrr-reaction-count {
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: #666;
  font-variant-numeric: tabular-nums;
}

/* レビュー入力 */
.brrr-review-form {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}

.brrr-review-input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
}

.brrr-review-input:focus {
  border-color: #999;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .04);
}

.brrr-review-submit {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 16px;

  border: 1px solid #d1d1d1;
  border-radius: 6px;

  background: #fff;
  color: #111;

  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;

  transition: all .15s ease;
}

.brrr-review-submit:hover {
  background: #cdfcff;
  color: #000000;
}

.brrr-login-note {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f7f7f7;
  color: #777;
  font-size: 13px;
}

.brrr-message {
  min-height: 18px;
  margin-top: 7px;
  font-size: 13px;
  color: #666;
}

/* レビュー一覧 */
.brrr-review-list {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eee;
}

.brrr-review-title {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #222;
}

.brrr-review-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid #f0f0f0;
  font-size: 14px;
  line-height: 1.6;
  color: #222;
}

.brrr-review-item:first-child {
  border-top: none;
}

.brrr-review-name {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: 120px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e9f3f6;
  color: #35515c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brrr-review-sep {
  display: none;
}

.brrr-review-text-out {
  min-width: 0;
  color: #333;
}

.brrr-review-empty {
  padding: 6px 0;
  color: #888;
  font-size: 14px;
}

@media (max-width: 600px) {
  .brrr-wrap {
    padding: 14px;
    border-radius: 12px;
  }

  .brrr-reaction-area {
    width: 104px;
  }

  .brrr-review-form {
    gap: 6px;
  }

  .brrr-review-submit {
    padding: 0 12px;
  }
}