.review-screen {
  min-height: 100vh;
  padding-bottom: 86px;
  color: #26231f;
  background: #f5f3ef;
  font-family: "Nunito Sans", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.active-review-screen {
  background: #f2efeb;
}

.matching-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  min-height: 100vh;
  padding: 26px;
  place-items: center;
  box-sizing: border-box;
  color: #fff;
  background:
    radial-gradient(circle at 50% 36%, rgba(53, 102, 138, 0.16), transparent 35%),
    #070707;
  font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.matching-content {
  width: min(100%, 330px);
  transform: translateY(-3vh);
}

.matching-visual {
  position: relative;
  overflow: hidden;
  width: min(100%, 252px);
  aspect-ratio: 1;
  margin: 0 auto 27px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: #f7f6f5;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.matching-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  animation: matching-image 2.3s ease-in-out infinite alternate;
}

.matching-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 65%, rgba(20, 32, 42, 0.13));
  pointer-events: none;
}

.matching-scan {
  position: absolute;
  z-index: 2;
  top: -18%;
  right: 0;
  left: 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(59, 196, 244, 0.2), rgba(123, 224, 255, 0.65), transparent);
  animation: matching-scan 1.45s ease-in-out infinite;
}

.matching-badge,
.matching-orbit {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  border-radius: 50%;
  box-shadow: 0 7px 16px rgba(18, 28, 36, 0.22);
}

.matching-badge {
  top: 16px;
  width: 48px;
  height: 48px;
  font-size: 10px;
}

.matching-badge-left {
  left: 18px;
  background: #3b9fe7;
}

.matching-badge-right {
  right: 18px;
  font-size: 18px;
  background: #ff922f;
}

.matching-orbit {
  animation: matching-float 1.1s ease-in-out infinite alternate;
}

.orbit-one {
  top: 81px;
  left: 14px;
  width: 27px;
  height: 27px;
  color: #fff7c7;
  font-size: 14px;
  background: #f7b62f;
}

.orbit-two {
  top: 106px;
  right: 16px;
  width: 29px;
  height: 29px;
  font-size: 15px;
  background: #47bd72;
  animation-delay: 0.28s;
}

.orbit-three {
  right: 17px;
  bottom: 15px;
  width: 46px;
  height: 46px;
  font-size: 11px;
  background: #2ec072;
  animation-delay: 0.5s;
}

.matching-panel {
  padding: 16px 15px 14px;
  border: 1px solid #343434;
  border-radius: 9px;
  background: #171717;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.matching-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.matching-title-row strong {
  font-size: 15px;
}

.matching-dots {
  display: flex;
  gap: 5px;
}

.matching-dots i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #349de7;
  animation: matching-dot 0.8s ease-in-out infinite alternate;
}

.matching-dots i:nth-child(2) {
  animation-delay: 0.17s;
}

.matching-dots i:nth-child(3) {
  animation-delay: 0.34s;
}

.matching-track {
  overflow: hidden;
  height: 4px;
  border-radius: 999px;
  background: #404040;
}

.matching-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #36a6e9, #28c27c);
  box-shadow: 0 0 12px rgba(43, 191, 143, 0.55);
  transition: width 0.24s ease;
}

.matching-panel p {
  margin: 11px 0 0;
  color: #888;
  font-size: 10px;
  text-align: center;
}

@keyframes matching-image {
  from {
    transform: scale(1.12) translateX(-2%);
  }
  to {
    transform: scale(1.18) translateX(2%);
  }
}

@keyframes matching-scan {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(390%);
  }
}

@keyframes matching-float {
  from {
    transform: translateY(-3px) scale(0.96);
  }
  to {
    transform: translateY(4px) scale(1.04);
  }
}

@keyframes matching-dot {
  from {
    opacity: 0.35;
    transform: translateY(1px);
  }
  to {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.review-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 64px;
  padding: 8px 14px;
  color: #fff;
  background: linear-gradient(135deg, #4d2b1f, #744332);
  box-shadow: 0 4px 18px rgba(60, 30, 18, 0.18);
}

.back-button {
  width: 40px;
  height: 40px;
  padding: 0;
  color: #fff;
  font-size: 36px;
  font-weight: 300;
  line-height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.header-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.header-title small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.header-spacer {
  width: 40px;
}

.review-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  color: #624718;
  font-size: 12px;
  line-height: 1.5;
  background: linear-gradient(90deg, #fff5b8, #fff9d7);
  border-bottom: 1px solid #f0dea0;
}

.tip-icon {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
  background: #59a96a;
}

.review-main {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 16px 14px 28px;
  box-sizing: border-box;
}

.order-summary {
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(70, 52, 40, 0.09);
}

.balance-panel {
  position: relative;
  min-height: 175px;
  padding: 22px 22px 18px;
  box-sizing: border-box;
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.18) 0 56px, transparent 57px),
    linear-gradient(140deg, #6c3e2d 0%, #9b6647 100%);
}

.balance-panel::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -48px;
  width: 150px;
  height: 150px;
  border: 28px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.balance-label {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.balance-amount {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.balance-amount span {
  font-size: 14px;
  font-weight: 800;
}

.balance-amount strong {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.vip-progress {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.vip-badge {
  padding: 5px 10px;
  color: #6b3b2b;
  font-size: 13px;
  font-weight: 900;
  border-radius: 999px;
  background: #fff2d6;
}

.progress-count {
  display: flex;
  align-items: baseline;
  min-width: 78px;
  justify-content: flex-end;
  color: #fff;
  text-shadow: 0 3px 9px rgba(47, 21, 10, 0.22);
}

.progress-count strong {
  font-size: 35px;
  font-weight: 900;
  line-height: 1;
}

.progress-count span {
  font-size: 20px;
  font-weight: 800;
}

.balance-details {
  padding: 5px 18px;
}

.balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  color: #8a8179;
  font-size: 12px;
}

.balance-row + .balance-row {
  border-top: 1px solid #eee9e4;
}

.balance-row strong {
  color: #3d3631;
  font-size: 14px;
}

.order-state,
.loading-card {
  box-sizing: border-box;
  padding: 32px 22px 24px;
  text-align: center;
  border: 1px solid rgba(92, 66, 52, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(70, 52, 40, 0.07);
}

.state-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 17px;
  place-items: center;
  color: #8c5b42;
  font-size: 32px;
  font-weight: 800;
  border-radius: 21px;
  background: #f7eee8;
}

.state-icon.complete {
  color: #fff;
  background: linear-gradient(135deg, #67bb78, #45995a);
  box-shadow: 0 10px 24px rgba(69, 153, 90, 0.22);
}

.order-state h1 {
  margin: 0 0 9px;
  color: #302b27;
  font-size: 20px;
}

.order-state > p {
  max-width: 360px;
  margin: 0 auto;
  color: #8d857e;
  font-size: 13px;
  line-height: 1.75;
}

.start-order {
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 23px 0 15px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.06em;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #7a4935, #4d2b1f);
  box-shadow: 0 10px 22px rgba(77, 43, 31, 0.23);
}

.start-order:disabled {
  opacity: 0.66;
}

.order-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #aaa19a;
  font-size: 10px;
}

.order-note span:first-child {
  color: #5dad70;
  font-size: 7px;
}

.finished-progress {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 3px 0 16px;
  color: #5ba96b;
}

.finished-progress strong {
  font-size: 44px;
  line-height: 1;
}

.finished-progress span {
  font-size: 24px;
  font-weight: 800;
}

.reset-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding: 14px 16px;
  color: #8c837c;
  font-size: 11px;
  border-radius: 12px;
  background: #f7f4f1;
}

.reset-time strong {
  color: #5f3b2d;
  font-size: 13px;
}

.loading-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 130px;
  color: #8d857e;
  font-size: 13px;
}

.loading-dot {
  width: 11px;
  height: 11px;
  border: 3px solid #e4d8d0;
  border-top-color: #744332;
  border-radius: 50%;
  animation: review-loading 0.75s linear infinite;
}

@keyframes review-loading {
  to {
    transform: rotate(360deg);
  }
}

.review-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-sizing: border-box;
  background: rgba(20, 15, 12, 0.68);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: review-modal-fade 0.22s ease-out;
}

.review-modal-card {
  position: relative;
  isolation: isolate;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  width: min(88vw, 460px);
  max-height: min(78vh, 680px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  background: #f3f0ec;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  animation: review-modal-enter 0.3s cubic-bezier(0.2, 0.85, 0.35, 1.12);
}

.review-modal-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 8px 12px 8px 16px;
  box-sizing: border-box;
  color: #fff;
  background: linear-gradient(135deg, #4d2b1f, #744332);
}

.review-modal-header > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.review-modal-header strong {
  font-size: 16px;
}

.review-modal-header span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
}

.review-modal-close {
  width: 34px;
  height: 34px;
  padding: 0;
  color: #fff;
  font-size: 26px;
  font-weight: 300;
  line-height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.review-modal-close:disabled {
  opacity: 0.5;
}

.review-modal-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 10px 2px;
  overscroll-behavior: contain;
  scrollbar-color: #b99b8c #eee7e2;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.review-modal-scroll::-webkit-scrollbar {
  width: 6px;
}

.review-modal-scroll::-webkit-scrollbar-track {
  background: #eee7e2;
}

.review-modal-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #b99b8c;
}

.review-modal-scroll .hotel-card,
.review-modal-scroll .review-card {
  margin-bottom: 12px;
  box-shadow: 0 6px 22px rgba(70, 52, 40, 0.07);
}

.review-modal-scroll .hotel-copy {
  padding: 11px 14px 9px;
}

.review-modal-scroll .hotel-name {
  font-size: 19px;
}

.review-modal-scroll .hotel-photo {
  height: 82px;
}

.review-modal-scroll .review-card {
  padding: 12px;
}

.review-modal-scroll .review-stars {
  margin: 8px 0 2px;
}

.review-modal-scroll .review-star {
  width: 39px;
  height: 38px;
  font-size: 31px;
}

.review-modal-scroll .textarea-wrap {
  margin-top: 12px;
}

.review-modal-scroll .textarea-wrap textarea {
  min-height: 88px;
}

.review-modal-scroll .submit-review {
  min-height: 48px;
}

@keyframes review-modal-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes review-modal-enter {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.order-success-notice {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 78px);
  left: 50%;
  z-index: 2600;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: min(calc(100% - 32px), 360px);
  padding: 14px 16px;
  box-sizing: border-box;
  color: #243129;
  border: 1px solid rgba(73, 168, 98, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 38px rgba(35, 69, 45, 0.2);
  transform: translateX(-50%);
  animation: success-notice-in 0.34s cubic-bezier(0.2, 0.9, 0.3, 1.12);
}

.success-checkmark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #64c779, #38a75a);
  box-shadow: 0 7px 16px rgba(56, 167, 90, 0.28);
}

.success-notice-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.success-notice-copy strong {
  color: #263c2d;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.success-notice-copy span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  color: #7a867e;
  font-size: 11px;
  line-height: 1.45;
}

.success-notice-copy b {
  flex: 0 0 auto;
  padding: 4px 8px;
  color: #2f9850;
  font-size: 12px;
  font-weight: 900;
  border-radius: 999px;
  background: #edf8f0;
}

@keyframes success-notice-in {
  from {
    opacity: 0;
    transform: translate(-50%, -16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

.active-order {
  position: relative;
}

.current-order-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 13px 15px;
  color: #4d4038;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid #eadfd7;
  border-radius: 14px;
  background: #fffaf7;
}

.order-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.order-info small {
  color: #a49991;
  font-size: 9px;
  font-weight: 500;
}

.order-status {
  padding: 5px 8px;
  color: #fff;
  font-size: 10px;
  border-radius: 999px;
  background: #65aa72;
}

.order-balance-after {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 2px 6px;
  padding-left: 12px;
  text-align: right;
  border-left: 1px solid #e3eee8;
}

.order-balance-after small {
  grid-column: 1 / -1;
  color: #789087;
  font-size: 9px;
  font-weight: 600;
}

.order-balance-after strong {
  color: #008f5c;
  font-size: 14px;
  white-space: nowrap;
}

.order-balance-after em {
  padding: 2px 5px;
  color: #fff;
  font-size: 9px;
  font-style: normal;
  border-radius: 999px;
  background: #00aa6c;
}

@media (max-width: 370px) {
  .current-order-strip {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .order-balance-after {
    grid-column: 2;
    padding-left: 0;
    justify-content: start;
    text-align: left;
    border-left: 0;
  }
}

.task-amount-layer {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
  background: rgba(4, 48, 34, 0.56);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: review-modal-fade 0.2s ease-out;
}

.task-amount-card {
  width: min(100%, 420px);
  padding: 22px 20px 18px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 170, 108, 0.2);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 72, 48, 0.28);
  animation: review-modal-enter 0.28s cubic-bezier(0.2, 0.85, 0.35, 1.12);
}

.task-amount-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.task-amount-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  font-size: 23px;
  font-weight: 900;
  border-radius: 16px;
  background: linear-gradient(145deg, #23d197, #009c65);
  box-shadow: 0 9px 20px rgba(0, 170, 108, 0.24);
}

.task-amount-header h2 {
  margin: 0;
  color: #063f2e;
  font-size: 20px;
  line-height: 1.25;
}

.task-amount-header p {
  margin: 4px 0 0;
  color: #7a9189;
  font-size: 12px;
}

.task-amount-total {
  margin: 22px 0 16px;
  text-align: center;
}

.task-amount-total span {
  display: block;
  margin-bottom: 4px;
  color: #648278;
  font-size: 12px;
}

.task-amount-total strong {
  color: #008d5b;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.task-amount-range {
  width: 100%;
  height: 8px;
  margin: 4px 0 0;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 999px;
  outline: 0;
}

.task-amount-range::-webkit-slider-thumb {
  width: 25px;
  height: 25px;
  appearance: none;
  -webkit-appearance: none;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #00aa6c;
  box-shadow: 0 3px 12px rgba(0, 143, 91, 0.38);
}

.task-amount-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #00aa6c;
  box-shadow: 0 3px 12px rgba(0, 143, 91, 0.38);
}

.task-amount-limits {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  color: #91a59e;
  font-size: 10px;
}

.task-amount-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 15px;
}

.task-amount-quick button {
  min-height: 34px;
  padding: 0;
  color: #33816a;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid #bfe7d8;
  border-radius: 10px;
  background: #f1fbf7;
}

.task-amount-quick button.active {
  color: #fff;
  border-color: #00aa6c;
  background: #00aa6c;
  box-shadow: 0 5px 13px rgba(0, 170, 108, 0.2);
}

.task-amount-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.task-amount-breakdown > div {
  padding: 12px;
  border-radius: 13px;
  background: #edf9f4;
}

.task-amount-breakdown span,
.task-amount-breakdown strong {
  display: block;
}

.task-amount-breakdown span {
  overflow: hidden;
  color: #69877d;
  font-size: 10px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-amount-breakdown strong {
  margin-top: 5px;
  color: #075d42;
  font-size: 16px;
}

.task-amount-note {
  margin: 14px 2px 0;
  color: #799087;
  font-size: 11px;
  line-height: 1.6;
}

.task-amount-actions {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 10px;
  margin-top: 18px;
}

.task-amount-actions button {
  min-height: 46px;
  font-size: 14px;
  font-weight: 900;
  border-radius: 13px;
}

.task-amount-cancel {
  color: #58736a;
  border: 1px solid #d1e5dd;
  background: #f7fbf9;
}

.task-amount-confirm {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, #19c98b, #009e65);
  box-shadow: 0 9px 20px rgba(0, 170, 108, 0.23);
}

@media (max-width: 370px) {
  .task-amount-card {
    padding: 18px 15px 15px;
  }

  .task-amount-breakdown {
    gap: 7px;
  }

  .task-amount-breakdown > div {
    padding: 10px 8px;
  }

  .task-amount-breakdown strong {
    font-size: 14px;
  }
}

.completion-banner {
  margin-bottom: 12px;
  padding: 11px 14px;
  color: #39784a;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  border: 1px solid #cce7d2;
  border-radius: 12px;
  background: #eff9f1;
}

.hotel-card,
.review-card,
.review-success {
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(92, 66, 52, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(70, 52, 40, 0.07);
}

.hotel-copy {
  padding: 18px 18px 14px;
}

.hotel-kicker {
  margin-bottom: 5px;
  color: #b47945;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hotel-name {
  margin: 0;
  color: #2a2724;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
}

.hotel-subtitle {
  margin: 7px 0 0;
  color: #8a837c;
  font-size: 12px;
}

.hotel-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 0 8px;
}

.hotel-photo {
  position: relative;
  height: 126px;
  overflow: hidden;
  border-radius: 10px;
  background: #e8e1d8;
}

.hotel-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: inherit;
  pointer-events: none;
}

.hotel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hotel-photo-left img {
  object-position: 12% center;
}

.hotel-photo-center img {
  object-position: 50% center;
}

.hotel-photo-right img {
  object-position: 88% center;
}

.gallery-note {
  margin: 0;
  padding: 10px 14px 13px;
  color: #aaa199;
  font-size: 10px;
  text-align: right;
}

.review-card {
  padding: 18px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.section-number {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  border-radius: 9px;
  background: #6a3d2c;
}

.section-heading h2 {
  margin: 1px 0 4px;
  color: #302b27;
  font-size: 15px;
  font-weight: 800;
}

.section-heading p {
  margin: 0;
  color: #99918a;
  font-size: 11px;
  line-height: 1.5;
}

.review-stars {
  display: flex;
  justify-content: center;
  gap: clamp(4px, 2vw, 12px);
  margin: 18px 0 6px;
}

.review-star {
  width: 48px;
  height: 48px;
  padding: 0;
  color: #d8d3ce;
  font-size: 38px;
  line-height: 1;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 2px 2px rgba(86, 65, 48, 0.08));
  transition: color 0.18s ease, transform 0.18s ease;
}

.review-star.active {
  color: #f2b233;
  transform: translateY(-2px) scale(1.06);
}

.rating-label {
  color: #a67c45;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.textarea-wrap {
  position: relative;
  margin-top: 16px;
}

.textarea-wrap textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 138px;
  padding: 14px 14px 34px;
  color: #322d28;
  font: inherit;
  font-size: 14px;
  line-height: 1.7;
  resize: none;
  outline: none;
  border: 1px solid #ded8d1;
  border-radius: 12px;
  background: #fbfaf8;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.textarea-wrap textarea:focus {
  border-color: #9a6d54;
  box-shadow: 0 0 0 3px rgba(154, 109, 84, 0.11);
}

.textarea-wrap textarea::placeholder {
  color: #b3ada7;
}

.char-count {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: #aaa39c;
  font-size: 10px;
}

.submit-review,
.review-success button {
  display: block;
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #e43e32, #c92720);
  box-shadow: 0 8px 18px rgba(201, 39, 32, 0.22);
}

.submit-review:disabled {
  opacity: 0.65;
}

.privacy-note {
  margin: 11px 0 0;
  color: #a9a29b;
  font-size: 10px;
  text-align: center;
}

.success-main {
  display: grid;
  min-height: calc(100vh - 210px);
  place-items: center;
}

.review-success {
  width: 100%;
  box-sizing: border-box;
  padding: 34px 24px;
  text-align: center;
}

.success-icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  place-items: center;
  color: #fff;
  font-size: 34px;
  border-radius: 50%;
  background: #59a96a;
  box-shadow: 0 10px 26px rgba(89, 169, 106, 0.25);
}

.review-success h1 {
  margin: 0 0 10px;
  font-size: 20px;
}

.review-success p {
  margin: 0;
  color: #8e8781;
  font-size: 13px;
  line-height: 1.7;
}

.success-rating {
  margin-top: 18px;
  color: #f2b233;
  font-size: 30px;
  letter-spacing: 4px;
}

.review-success button {
  background: linear-gradient(135deg, #6e4331, #4d2b1f);
  box-shadow: 0 8px 18px rgba(75, 43, 31, 0.2);
}

@media (max-width: 360px) {
  .review-main {
    padding-inline: 10px;
  }

  .hotel-photo {
    height: 108px;
  }

  .review-star {
    width: 42px;
    height: 44px;
    font-size: 34px;
  }
}

.preset-order-banner {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 14px;
  color: #185c43;
  border: 1px solid #9fdfc6;
  border-radius: 15px;
  background: linear-gradient(135deg, #e8fff5, #f8fffc);
  box-shadow: 0 8px 24px rgba(0, 170, 108, 0.1);
}

.preset-order-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  border-radius: 14px;
  background: linear-gradient(135deg, #00aa6c, #20ca88);
}

.preset-order-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.preset-order-copy strong {
  font-size: 14px;
}

.preset-order-copy span {
  color: #5d7f72;
  font-size: 11px;
  line-height: 1.45;
}

.preset-order-target {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.preset-order-target small {
  color: #769188;
  font-size: 10px;
}

.preset-order-target b {
  color: #008f5c;
  font-size: 15px;
}

.preset-notice-layer {
  position: absolute;
  z-index: 80;
  inset: 0;
  display: grid;
  padding: 22px;
  place-items: center;
  box-sizing: border-box;
  overflow-y: auto;
  border-radius: inherit;
  background: rgba(4, 19, 13, 0.74);
  backdrop-filter: blur(5px);
}

.preset-notice-card {
  width: min(100%, 340px);
  padding: 25px 22px 22px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.preset-notice-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  place-items: center;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  border-radius: 50%;
  background: linear-gradient(135deg, #00aa6c, #28d394);
  box-shadow: 0 9px 24px rgba(0, 170, 108, 0.25);
}

.preset-notice-card h2 {
  margin: 0 0 10px;
  color: #173f31;
  font-size: 19px;
}

.preset-notice-card > p {
  margin: 0 0 17px;
  color: #61756d;
  font-size: 13px;
  line-height: 1.7;
}

.preset-notice-amounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.preset-notice-amounts div {
  display: flex;
  padding: 12px 8px;
  flex-direction: column;
  gap: 5px;
  border-radius: 11px;
  background: #f1faf6;
}

.preset-notice-amounts span,
.preset-notice-card > small {
  color: #779087;
  font-size: 11px;
}

.preset-notice-amounts strong {
  color: #008f5c;
  font-size: 16px;
}

.preset-notice-card > button {
  width: 100%;
  margin-top: 18px;
  padding: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #00aa6c, #20c987);
}

@media (max-width: 390px) {
  .preset-order-banner {
    grid-template-columns: 42px 1fr;
  }

  .preset-order-target {
    grid-column: 2;
    align-items: flex-start;
  }
}

.preset-celebration-layer {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: grid;
  padding: 22px;
  place-items: center;
  box-sizing: border-box;
  overflow-y: auto;
  background: rgba(3, 34, 23, 0.76);
  backdrop-filter: blur(9px);
  animation: preset-layer-in 0.28s ease-out both;
}

.preset-celebration-card {
  position: relative;
  width: min(100%, 360px);
  padding: 34px 24px 24px;
  box-sizing: border-box;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  background: linear-gradient(160deg, #ffffff 0%, #edfff7 58%, #d5f9e9 100%);
  box-shadow: 0 28px 85px rgba(0, 0, 0, 0.32), 0 0 0 7px rgba(31, 211, 142, 0.09);
  animation: preset-card-pop 0.62s cubic-bezier(0.2, 1.35, 0.45, 1) both;
}

.preset-celebration-rays {
  position: absolute;
  width: 310px;
  height: 310px;
  top: -92px;
  left: 50%;
  opacity: 0.24;
  transform: translateX(-50%);
  background: repeating-conic-gradient(from 0deg, rgba(0, 170, 108, 0.35) 0deg 8deg, transparent 8deg 24deg);
  border-radius: 50%;
  animation: preset-rays-spin 10s linear infinite;
}

.preset-gift-stage {
  position: relative;
  width: 146px;
  height: 138px;
  margin: 0 auto 3px;
}

.preset-gift-glow {
  position: absolute;
  width: 122px;
  height: 70px;
  left: 12px;
  bottom: 4px;
  border-radius: 50%;
  background: rgba(35, 213, 145, 0.42);
  filter: blur(18px);
  animation: preset-glow-pulse 1.15s ease-in-out infinite alternate;
}

.preset-gift-box {
  position: absolute;
  width: 104px;
  height: 92px;
  left: 21px;
  bottom: 12px;
  animation: preset-gift-bounce 0.72s 0.1s cubic-bezier(0.2, 1.5, 0.5, 1) both;
}

.preset-gift-body {
  position: absolute;
  inset: 19px 4px 0;
  overflow: hidden;
  border-radius: 9px 9px 14px 14px;
  background: linear-gradient(135deg, #09b977, #007f53);
  box-shadow: 0 14px 24px rgba(0, 127, 83, 0.28);
}

.preset-gift-ribbon {
  position: absolute;
  width: 20px;
  inset-block: 0;
  left: 38px;
  background: linear-gradient(#fff5a7, #ffc93c);
}

.preset-gift-star {
  position: absolute;
  right: 13px;
  top: 25px;
  color: #fff8c9;
  font-size: 25px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.preset-gift-lid {
  position: absolute;
  z-index: 2;
  width: 104px;
  height: 26px;
  left: 0;
  top: 6px;
  border-radius: 9px;
  background: linear-gradient(135deg, #21d995, #009e66);
  box-shadow: 0 7px 12px rgba(0, 105, 68, 0.23);
  transform-origin: 14% 100%;
  animation: preset-lid-open 0.66s 0.62s cubic-bezier(0.2, 1.2, 0.4, 1) both;
}

.preset-gift-lid-ribbon {
  position: absolute;
  width: 20px;
  height: 100%;
  left: 42px;
  background: linear-gradient(#fff7b9, #ffc72d);
}

.preset-gift-bow {
  position: absolute;
  width: 36px;
  height: 25px;
  top: -21px;
  border: 8px solid #ffd342;
  box-sizing: border-box;
}

.preset-gift-bow.bow-left {
  left: 18px;
  border-radius: 22px 6px 18px 6px;
  transform: rotate(20deg);
}

.preset-gift-bow.bow-right {
  right: 18px;
  border-radius: 6px 22px 6px 18px;
  transform: rotate(-20deg);
}

.preset-gift-knot {
  position: absolute;
  z-index: 3;
  width: 21px;
  height: 21px;
  top: -16px;
  left: 42px;
  border-radius: 50%;
  background: #ffcb32;
}

.preset-confetti i {
  position: absolute;
  z-index: 3;
  width: 8px;
  height: 14px;
  top: 77px;
  left: 50%;
  border-radius: 3px;
  background: #ffc83d;
  opacity: 0;
  animation: preset-confetti-burst 1s 0.75s ease-out both;
}

.preset-confetti .confetti-one { --confetti-x: -116px; --confetti-y: -58px; transform: rotate(22deg); }
.preset-confetti .confetti-two { --confetti-x: -72px; --confetti-y: -92px; background: #00aa6c; transform: rotate(63deg); }
.preset-confetti .confetti-three { --confetti-x: -30px; --confetti-y: -105px; background: #ff8c55; transform: rotate(10deg); }
.preset-confetti .confetti-four { --confetti-x: 32px; --confetti-y: -103px; background: #20c987; transform: rotate(52deg); }
.preset-confetti .confetti-five { --confetti-x: 78px; --confetti-y: -82px; background: #ffcb32; transform: rotate(15deg); }
.preset-confetti .confetti-six { --confetti-x: 116px; --confetti-y: -48px; background: #59d8ff; transform: rotate(70deg); }

.preset-celebration-badge {
  position: relative;
  display: inline-flex;
  margin-top: 2px;
  padding: 6px 12px;
  color: #00875a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  border-radius: 999px;
  background: #d6f7e8;
}

.preset-celebration-card h2 {
  position: relative;
  margin: 12px 0 8px;
  color: #114c37;
  font-size: 22px;
  line-height: 1.3;
}

.preset-celebration-card p {
  position: relative;
  margin: 0;
  color: #627b71;
  font-size: 13px;
  line-height: 1.65;
}

.preset-celebration-rate {
  position: relative;
  display: flex;
  margin: 14px 0 18px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #009963;
}

.preset-celebration-rate strong {
  font-size: 28px;
  letter-spacing: -0.8px;
}

.preset-celebration-rate span {
  color: #7bb69e;
  font-size: 17px;
}

.preset-celebration-card > button {
  position: relative;
  width: 100%;
  padding: 13px 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #00aa6c, #22cc8d);
  box-shadow: 0 10px 24px rgba(0, 170, 108, 0.25);
}

.preset-celebration-card > small {
  position: relative;
  display: block;
  margin-top: 10px;
  color: #8aa198;
  font-size: 10px;
}

@keyframes preset-layer-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes preset-card-pop {
  0% { opacity: 0; transform: translateY(30px) scale(0.82); }
  65% { opacity: 1; transform: translateY(-5px) scale(1.025); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes preset-rays-spin {
  to { transform: translateX(-50%) rotate(360deg); }
}

@keyframes preset-gift-bounce {
  0% { opacity: 0; transform: translateY(42px) scale(0.72); }
  65% { opacity: 1; transform: translateY(-9px) scale(1.06); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes preset-lid-open {
  0% { transform: translate(0, 0) rotate(0); }
  52% { transform: translate(-7px, -25px) rotate(-11deg); }
  100% { transform: translate(-13px, -20px) rotate(-16deg); }
}

@keyframes preset-glow-pulse {
  from { opacity: 0.58; transform: scale(0.86); }
  to { opacity: 1; transform: scale(1.12); }
}

@keyframes preset-confetti-burst {
  0% { opacity: 0; margin: 0; }
  18% { opacity: 1; }
  100% { opacity: 0; margin-left: var(--confetti-x); margin-top: var(--confetti-y); }
}

@media (max-height: 610px) {
  .preset-celebration-card {
    padding-top: 22px;
  }

  .preset-gift-stage {
    height: 113px;
    transform: scale(0.82);
    margin-top: -9px;
    margin-bottom: -3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preset-celebration-layer,
  .preset-celebration-card,
  .preset-celebration-rays,
  .preset-gift-glow,
  .preset-gift-box,
  .preset-gift-lid,
  .preset-confetti i {
    animation: none !important;
  }
}



.vip-rate-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.vip-reward-rate {
  padding: 5px 10px;
  color: #008f5c;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid #9bddc5;
  border-radius: 999px;
  background: #e8f8f1;
}

@media (max-width: 370px) {
  .vip-rate-group {
    gap: 5px;
  }

  .vip-reward-rate {
    padding: 4px 7px;
    font-size: 10px;
  }
}
