.fortunev2-teacher-feedback{
  margin-top:12px;
}

.fortunev2-teacher-feedback__btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid rgba(199,164,106,0.55);
  border-radius:999px;
  background:linear-gradient(135deg, rgba(255,250,241,0.95) 0%, rgba(249,239,216,0.96) 100%);
  color:#6f5525;
  font-size:12px;
  font-weight:700;
  letter-spacing:0.01em;
  padding:7px 14px;
  cursor:pointer;
  box-shadow:0 2px 8px rgba(116,84,34,0.12);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
  text-decoration:none;
}

.fortunev2-teacher-feedback__btn:hover,
.fortunev2-teacher-feedback__btn:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(169,126,53,0.72);
  background:linear-gradient(135deg, rgba(255,246,230,0.98) 0%, rgba(246,227,184,0.96) 100%);
  box-shadow:0 6px 16px rgba(116,84,34,0.18);
  outline:none;
}

.fortunev2-teacher-feedback__btn:active{
  transform:translateY(0);
  box-shadow:0 2px 8px rgba(116,84,34,0.12);
}

.fortune-teacher-review-dialog{
  border:none;
  padding:0;
  width:min(680px, calc(100vw - 28px));
  max-height:min(88vh, 760px);
  border-radius:20px;
  overflow:hidden;
  background:transparent;
}

.fortune-teacher-review-dialog::backdrop{
  background:rgba(25,17,8,0.55);
  backdrop-filter:blur(2px);
}

.fortune-teacher-review__panel{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:14px;
  background:radial-gradient(120% 120% at 0% 0%, #fffdf8 0%, #fff7e8 46%, #f3e2bf 100%);
  border:1px solid rgba(154,116,49,0.44);
  box-shadow:0 20px 56px rgba(51,34,10,0.25);
  border-radius:20px;
  padding:24px 22px 18px;
}

.fortune-teacher-review__close{
  position:absolute;
  right:14px;
  top:12px;
  width:34px;
  height:34px;
  border:none;
  border-radius:999px;
  background:rgba(100,74,31,0.14);
  color:#5e4521;
  font-size:15px;
  cursor:pointer;
  transition:background .16s ease;
}

.fortune-teacher-review__close:hover,
.fortune-teacher-review__close:focus-visible{
  background:rgba(100,74,31,0.24);
  outline:none;
}

.fortune-teacher-review__head{
  padding-right:42px;
}

.fortune-teacher-review__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  border:1px solid rgba(176,131,49,0.44);
  background:rgba(255,250,241,0.9);
  color:#7c5c27;
  font-size:11px;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  padding:5px 11px;
  margin-bottom:10px;
}

.fortune-teacher-review__eyebrow::before{
  content:"●";
  font-size:8px;
}

.fortune-teacher-review__title{
  margin:0;
  font-size:24px;
  line-height:1.28;
  color:#3e2b0f;
}

.fortune-teacher-review__body{
  min-height:190px;
  border:1px solid rgba(164,120,42,0.34);
  background:rgba(255,255,255,0.88);
  border-radius:16px;
  padding:18px 16px;
  overflow:auto;
}

.fortune-teacher-review__quote{
  margin:0;
  color:#332412;
  font-size:17px;
  line-height:1.8;
  font-weight:500;
  white-space:pre-wrap;
}

.fortune-teacher-review__meta{
  margin-top:16px;
  display:flex;
  align-items:center;
  gap:10px;
  color:#7d6a4c;
  font-size:13px;
}

.fortune-teacher-review__meta strong{
  color:#5d4621;
  font-size:14px;
}

.fortune-teacher-review__empty{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:150px;
  color:#7f6c4b;
  font-size:14px;
  text-align:center;
}

.fortune-teacher-review__foot{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:10px;
}

.fortune-teacher-review__count{
  min-width:128px;
  text-align:center;
  color:#7b5f2f;
  font-size:13px;
  font-weight:700;
}

.fortune-teacher-review__nav{
  border:1px solid rgba(164,124,52,0.56);
  background:#fff;
  color:#5f4620;
  font-size:13px;
  font-weight:700;
  border-radius:10px;
  padding:8px 10px;
  cursor:pointer;
  transition:background .16s ease, border-color .16s ease, transform .16s ease;
}

.fortune-teacher-review__nav:first-of-type{ justify-self:start; }
.fortune-teacher-review__nav:last-of-type{ justify-self:end; }

.fortune-teacher-review__nav:hover,
.fortune-teacher-review__nav:focus-visible{
  background:#fff7e6;
  border-color:rgba(149,109,40,0.78);
  transform:translateY(-1px);
  outline:none;
}

.fortune-teacher-review__nav:disabled{
  opacity:.45;
  cursor:not-allowed;
  transform:none;
}

@media (max-width: 640px){
  .fortune-teacher-review-dialog{
    width:calc(100vw - 20px);
    max-height:90vh;
  }

  .fortune-teacher-review__panel{
    border-radius:16px;
    padding:18px 14px 14px;
    gap:12px;
  }

  .fortune-teacher-review__title{
    font-size:20px;
  }

  .fortune-teacher-review__quote{
    font-size:15px;
    line-height:1.72;
  }

  .fortune-teacher-review__body{
    padding:14px;
    min-height:160px;
  }

  .fortune-teacher-review__foot{
    gap:8px;
  }

  .fortune-teacher-review__count{
    min-width:auto;
    font-size:12px;
  }

  .fortune-teacher-review__nav{
    font-size:12px;
    padding:7px 9px;
  }
}
