/* ===== rb-post-confirm modal (scoped) ===== */
.rb-confirmModal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.rb-confirmModal.is-open {
  display: block;
}

.rb-confirmModal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

.rb-confirmModal__panel {
  position: relative;
  max-width: 720px;
  width: calc(100% - 24px);
  margin: 40px auto;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}

.rb-confirmModal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}

.rb-confirmModal__title {
  font-size: 16px;
  font-weight: 700;
}

.rb-confirmModal__close {
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 6px;
}

.rb-confirmModal__body {
  padding: 14px 16px;
  max-height: 60vh;
  overflow: auto;
}

.rb-confirmModal__foot {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 12px 16px;
  border-top: 1px solid #eee;
}

.rb-confirmModal__btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
}

.rb-confirmModal__btn--cancel {
  background: #eee;
}

.rb-confirmModal__btn--ok {
  background: var(--orange, #F68B1E);
  color: #fff;
}

.rb-confirm__row {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
}

.rb-confirm__k {
  min-width: 110px;
  color: #555;
  font-weight: 700;
}

.rb-confirm__v {
  flex: 1;
  min-width: 0;
}

.rb-confirm__text {
  white-space: pre-wrap;
  word-break: break-word;
}

.rb-confirm__row--avatar .rb-confirm__v {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rb-confirm__avatarImg {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.rb-confirm__avatarId {
  font-size: 12px;
  color: #666;
}

.rb-confirm__v--ratings {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rb-confirm__rating {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.rb-confirm__ratingK {
  min-width: 120px;
  color: #444;
}

.rb-confirm__ratingV {
  font-weight: 700;
}

.rb-confirm__stars {
  color: var(--orange, #F68B1E);
}

.rb-confirm__ratingN {
  font-weight: 400;
  color: #666;
  font-size: 12px;
}

/* 未選択（無評価） */
.rb-confirm__noRate {
  display: inline-block;
  vertical-align: middle;
  font-size: 12px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f6f6f6;
  color: #666;
  border: 1px solid #eee;
}

.rb-confirm__files {
  margin: 0;
  padding-left: 1.2em;
}

.rb-confirm__file {
  margin: .1em 0;
  word-break: break-all;
}

/* scroll lock */
html.rb-confirmModal-open {
  overflow: hidden;
}

/* thumbs (80px) */
.rb-confirm__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rb-confirm__thumb {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eee;
}

.rb-confirm__thumbImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rb-confirm__thumbName {
  font-size: 11px;
  line-height: 1.2;
  color: #666;
  padding: 6px;
  text-align: center;
  word-break: break-all;
}

/* ===== LINE join (QR / link) ===== */
.rb-lineJoin {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 14px;
  background: #fafafa;
}

.rb-lineJoin__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.rb-lineJoin__title {
  font-weight: 800;
  font-size: 14px;
  color: #333;
}

.rb-lineJoin__toggle {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: #333;
  user-select: none;
}

.rb-lineJoin__check {
  width: 16px;
  height: 16px;
}

.rb-lineJoin__body {
}

.rb-lineJoin__qrImg {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  border: 1px solid #eee;
  background: #fff;
  display: block;
}

.rb-lineJoin__desc {
  min-width: 0;
}

.rb-lineJoin__p {
  margin: 0 0 8px;
  color: var(--chocolate);
}

.rb-lineJoin__muted {
  margin: 0;
  font-size: 12px;
  color: #666;
}

.rb-lineJoin__link {
  font-weight: 700;
  word-break: break-all;
}

@media (max-width:520px) {
  .rb-lineJoin__qr {
    display: flex;
    justify-content: center;
  }
}


/* ===== LINE通知 UI（友だち追加ボタン） ===== */
.rb-lineJoin__friendBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  background: #06C755;
  color: #fff;
}

.rb-lineJoin__friendBtn:hover {
  opacity: .9
}

.rb-lineJoin__toggle {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.rb-lineJoin__toggle span {
  font-weight: 700;
}

.rb-lineJoin__check {
  width: 18px;
  height: 18px;
}

.rb-lineJoin__title {
  text-align: center;
  margin: 20px auto;
  font-size: 20px;
}


.rb-lineJoin__list{
  margin:30px 0;
}


/* LINE案内：ログイン中はJSで空にするため、枠ごと非表示 */
.rb-lineJoin.is-hidden{ display:none; }
