.jt-review-board{
  margin:48px 0 24px;
  padding:24px 20px;
  border:1px solid #dbe4ef;
  border-radius:18px;
  background:#f8fbff;
  box-shadow:0 10px 24px rgba(22,45,77,.06);
}

.jt-review-board__title{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.4;
}

.jt-review-board__lead{
  margin:0 0 18px;
  color:#526173;
  font-size:14px;
  line-height:1.9;
}

.jt-review-board__notice{
  margin:0 0 16px;
  padding:12px 14px;
  border-radius:10px;
  font-size:14px;
}

.jt-review-board__notice--success{
  background:#edf9f0;
  color:#1d5d2b;
}

.jt-review-board__notice--error{
  background:#fff0f0;
  color:#8d2f2f;
}

.jt-review-form{
  display:grid;
  gap:14px;
  margin-bottom:26px;
}

.jt-review-form__row label,
.jt-review-form__label{
  display:block;
  margin-bottom:6px;
  font-size:13px;
  font-weight:700;
  color:#2c3d4f;
}

.jt-review-form input[type="text"],
.jt-review-form textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid #cfd9e5;
  border-radius:12px;
  background:#fff;
  font-size:14px;
  line-height:1.6;
  box-sizing:border-box;
}

.jt-review-form textarea{
  resize:vertical;
  min-height:150px;
}

.jt-review-form__checks{
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
}

.jt-review-form__checks label{
  margin:0;
  font-weight:400;
  font-size:14px;
  color:#334455;
}

.jt-review-form__help{
  margin:6px 0 0;
  font-size:12px;
  color:#66788a;
}

.jt-review-form__honeypot{
  position:absolute;
  left:-9999px;
  opacity:0;
  pointer-events:none;
}

.jt-review-form__submit{
  appearance:none;
  border:none;
  border-radius:999px;
  background:linear-gradient(135deg, #1e5b8f 0%, #2d7fbe 100%);
  color:#fff;
  font-size:14px;
  font-weight:700;
  padding:12px 18px;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(31,95,151,.16);
}

.jt-review-list{
  display:grid;
  gap:14px;
}

.jt-review-card{
  background:#fff;
  border:1px solid #dce5ef;
  border-radius:14px;
  padding:16px 15px;
}

.jt-review-card__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 10px;
  margin-bottom:8px;
  align-items:center;
}

.jt-review-card__category{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  background:#e8f0fb;
  color:#27598b;
  font-size:12px;
  font-weight:700;
}

.jt-review-card__tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px 8px;
  margin-bottom:8px;
}

.jt-review-card__tag{
  display:inline-block;
  font-size:12px;
  color:#47627f;
  background:#f1f5f9;
  padding:3px 8px;
  border-radius:999px;
}

.jt-review-card__submeta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 10px;
  margin-bottom:10px;
}

.jt-review-card__name,
.jt-review-card__date{
  font-size:12px;
  color:#6b7a8a;
}

.jt-review-card__body{
  font-size:14px;
  line-height:1.95;
  color:#243444;
}

.jt-review-card__body p{
  margin:0 0 10px;
}

.jt-review-card__body p:last-child{
  margin-bottom:0;
}

.jt-review-card__footer{
  margin-top:10px;
}

.jt-review-card__report{
  appearance:none;
  border:none;
  background:none;
  color:#6b7a8a;
  font-size:12px;
  text-decoration:underline;
  cursor:pointer;
  padding:0;
}

.jt-review-list__empty{
  margin:0;
  color:#66788a;
  font-size:14px;
}

@media (max-width:768px){
  .jt-review-board{
    margin:36px 0 20px;
    padding:18px 14px;
    border-radius:14px;
  }

  .jt-review-board__title{
    font-size:19px;
  }

  .jt-review-form__checks{
    gap:8px 12px;
  }
}

/* =========================
   ?????????
========================= */

/* ???? */
.jt-review-card--director {
  border-color: #1B2A4A;
  border-width: 1.5px;
  background: #f8f9fc;
  position: relative;
}

.jt-review-card--director .jt-review-card__name {
  color: #1B2A4A;
  font-weight: 700;
}

/* ???? */
.jt-review-card--virtual {
  border-color: #6B2D3E;
  border-width: 1.5px;
  background: #fdf8f9;
  position: relative;
}

.jt-review-card--virtual .jt-review-card__name {
  color: #6B2D3E;
  font-weight: 700;
}

/* ????? */
.jt-review-card__type-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.jt-review-card__type-badge--director {
  background: #1B2A4A;
  color: #fff;
}

.jt-review-card__type-badge--virtual {
  background: rgba(107,45,62,0.1);
  color: #6B2D3E;
  border: 1px solid rgba(107,45,62,0.3);
}

/* ----------------------------------------------------------------
   ? ???????????????
   flex-direction: row-reverse ? CSS-only ?????????
---------------------------------------------------------------- */
.jt-star-selector {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
  margin-bottom: 4px;
}

.jt-star-selector input[type="radio"] {
  display: none;
}

.jt-star-selector label {
  display: block;
  font-size: 28px;
  color: #d0d7df;
  cursor: pointer;
  transition: color .1s;
  line-height: 1;
  margin: 0;
  font-weight: 400;
}

/* ?????????????= flex-reverse??? = ??????????? */
.jt-star-selector label:hover,
.jt-star-selector label:hover ~ label {
  color: #e8a000;
}

/* ???? */
.jt-star-selector input[type="radio"]:checked ~ label {
  color: #e8a000;
}

/* ----------------------------------------------------------------
   ? ????????
---------------------------------------------------------------- */
.jt-stars {
  display: inline-flex;
  gap: 1px;
  vertical-align: middle;
}

.jt-star {
  font-size: 14px;
  color: #e8a000;
}

.jt-star--empty {
  color: #d0d7df;
}

.jt-review-card__rating {
  display: inline-flex;
  align-items: center;
}

/* ----------------------------------------------------------------
   ? ????
---------------------------------------------------------------- */
.jt-rating-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f0f5fb;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 22px;
}

.jt-rating-summary__left {
  text-align: center;
  min-width: 72px;
}

.jt-rating-summary__num {
  font-size: 32px;
  font-weight: 700;
  color: #1e5b8f;
  line-height: 1;
  margin-bottom: 4px;
}

.jt-rating-summary__stars {
  margin-bottom: 4px;
}

.jt-rating-summary__count {
  font-size: 11px;
  color: #66788a;
}

.jt-rating-summary__bars {
  flex: 1;
}

.jt-rating-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.jt-rating-bar-row__label {
  font-size: 11px;
  color: #66788a;
  width: 12px;
  text-align: right;
  flex-shrink: 0;
}

.jt-rating-bar-row__track {
  flex: 1;
  height: 7px;
  background: #dbe4ef;
  border-radius: 4px;
  overflow: hidden;
}

.jt-rating-bar-row__fill {
  height: 100%;
  background: #e8a000;
  border-radius: 4px;
  transition: width .4s ease;
}

.jt-rating-bar-row__count {
  font-size: 11px;
  color: #66788a;
  width: 16px;
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   ? ????
---------------------------------------------------------------- */
.jt-reply-thread {
  margin-top: 12px;
  padding-left: 16px;
  border-left: 2px solid #dce5ef;
}

/* ?????????????? */
.jt-review-card--reply {
  border-color: #e8eef6;
  padding: 12px 14px;
}

.jt-review-card--reply .jt-review-card__body {
  font-size: 13px;
}

/* ???????? */
.jt-reply-form {
  margin-top: 10px;
  background: #f8fbff;
  border: 1px solid #dce5ef;
  border-radius: 10px;
  padding: 12px 14px;
}

.jt-reply-form__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jt-reply-form__input {
  width: 100%;
  border: 1px solid #cfd9e5;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  resize: vertical;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color .15s;
}

.jt-reply-form__input:focus {
  border-color: #2d7fbe;
  outline: none;
}

.jt-reply-form__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.jt-reply-form__name {
  flex: 1;
  min-width: 120px;
  border: 1px solid #cfd9e5;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  box-sizing: border-box;
}

.jt-reply-form__submit {
  appearance: none;
  border: none;
  border-radius: 999px;
  background: #1e5b8f;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  cursor: pointer;
  transition: opacity .15s;
  white-space: nowrap;
}

.jt-reply-form__submit:hover { opacity: .88; }
.jt-reply-form__submit:disabled { opacity: .5; cursor: not-allowed; }

.jt-reply-count {
  font-size: 12px;
  color: #66788a;
}

/* ----------------------------------------------------------------
   ? ???????????? footer ????
---------------------------------------------------------------- */
.jt-review-card__footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.jt-review-card__reply-toggle {
  appearance: none;
  border: 1px solid #cfd9e5;
  border-radius: 999px;
  background: transparent;
  color: #47627f;
  font-size: 12px;
  padding: 4px 12px;
  cursor: pointer;
  transition: background .15s;
}

.jt-review-card__reply-toggle:hover {
  background: #e8f0fb;
}

/* ----------------------------------------------------------------
   ? SNS ????????
---------------------------------------------------------------- */
.jt-share-wrap {
  position: relative;
}

.jt-share-btn {
  appearance: none;
  border: 1px solid #cfd9e5;
  border-radius: 999px;
  background: transparent;
  color: #47627f;
  font-size: 12px;
  padding: 4px 12px;
  cursor: pointer;
  transition: background .15s;
}

.jt-share-btn:hover { background: #e8f0fb; }

.jt-share-popup {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid #cfd9e5;
  border-radius: 12px;
  padding: 6px;
  z-index: 200;
  min-width: 156px;
  box-shadow: 0 4px 18px rgba(22,45,77,.10);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.jt-share-popup[hidden] { display: none; }

.jt-share-popup__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-size: 13px;
  color: #243444;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background .1s;
}

.jt-share-popup__item:hover { background: #f0f5fb; }

/* ----------------------------------------------------------------
   ? ??????
---------------------------------------------------------------- */
.jt-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #1b2a3b;
  color: #fff;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
}

.jt-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ----------------------------------------------------------------
   ??????
---------------------------------------------------------------- */
@media (max-width: 480px) {
  .jt-rating-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .jt-reply-form__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .jt-reply-form__name {
    min-width: unset;
  }

  .jt-share-popup {
    left: auto;
    right: 0;
  }
}
@media (max-width: 480px) {
  .jt-rating-summary {
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px;
    padding: 12px 14px;
  }

  .jt-rating-summary__left {
    min-width: 56px;
  }

  .jt-rating-summary__num {
    font-size: 22px;
  }

  .jt-rating-summary__bars {
    flex: 1;
    min-width: 0;
  }
}