/* QuickReview表示中は、固定ナビが前面に出ないようにする */
body.qr-open #globalNavi_big.fixed,
body.qr-open #globalNavi_small.fixed {
  z-index: 900;        /* 10000より下にする */
}

/* パネル自体は必ず前面 */
#qr-panel{
  position: fixed;
  top: 0;
  right: -92vw;
  width: 92vw;
  max-width: 1000px;
  height: 100dvh;
  background: #fff;
  z-index: 20000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#qr-panel .qr-header{
  flex: 0 0 auto;
  position: sticky;   /* 念のため。基本はスクロール外なので不要だが保険 */
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 10px 12px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  /* iPhoneの上の安全領域対応 */
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
}

#qr-panel .qr-scroll{
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  /* 下の安全領域対応（詳細ボタン等が隠れない） */
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}



/* 登攀チェックボタン：デザイン統一 */
.climb-toggle{
  min-width: 34px;
  height: 26px;
  padding: 0 10px;
  line-height: 24px;
  border-radius: 999px;
  border: 1px solid #cfd8dc;
  background: #fff;
  color: #607d8b;
  font-weight: 700;
  box-shadow: none;
}

.climb-toggle:hover{
  border-color: #9ccc65;
  color: green;
  background: #f6fff2;
}

/* 登攀済み */
.climb-toggle.is-done{
  border-color: #66bb6a;   /* 明るめグリーン */
  background: #66bb6a;
  color: #fff;
}

.climb-toggle.is-done:hover{
  background: #57a95b;    /* hover時に少しだけ濃く */
  border-color: #57a95b;
}


/* もしBootstrapのbtn-defaultの影響が強い場合の保険 */
.climb-toggle.btn,
.climb-toggle.btn-default{
  background-image: none !important;
}

/* quick review stars: custom.css と同じ色に固定 */
#qr-stars .qr-star{
  color: #ffcc33;   /* custom.css の .star-rating-front と同じ */
  opacity: .25;
  cursor: pointer;
  transition: opacity .12s ease, transform .12s ease;
}

#qr-stars .qr-star.active{
  opacity: 1;
  transform: scale(1.06);
}

/* 任意：hoverも同系色で */
#qr-stars .qr-star:hover{
  opacity: .6;
}


/* ===== Quick Review auth lock ===== */
.qr-login-cta{
  position: sticky;
  top: 0;
  z-index: 5;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.qr-login-cta-title{
  font-weight: bold;
  margin-bottom: 4px;
}

.qr-login-cta-desc{
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}

.qr-login-cta-actions{
  display: flex;
  gap: 8px;
}

/* フォーム上に薄い膜 */
.qr-lock-overlay{
  position: absolute;
  left: 0;
  right: 0;
  top: 48px;            /* ヘッダ分 */
  bottom: 0;
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(1px);
  z-index: 4;
  pointer-events: none; /* 触れないようにするのは disabled 側で制御 */
}


