/* Shared entry-sheet styles for all fortune products */

/* Bottom-sheet popup shell — always fixed so CTA works from cover/top */
.entry-shade{
  position:fixed;inset:0;z-index:55;
  background:rgba(28,16,14,.48);backdrop-filter:blur(3px)
}
.entry-sheet{
  position:fixed;z-index:56;left:50%;bottom:0;
  width:min(100%,720px);max-height:min(92vh,760px);overflow:auto;
  padding:12px 20px max(24px,env(safe-area-inset-bottom));
  transform:translateX(-50%);
  border-radius:28px 28px 0 0;
  /* 상품별 --light 토큰에 흔들리지 않도록 공통 고정 */
  background:#fff9e8 !important;
  box-shadow:0 -24px 60px rgba(38,24,14,.28)
}
.entry-sheet .handle,
.entry-sheet>i{
  display:block;width:42px;height:4px;margin:2px auto 14px;
  border-radius:99px;background:#d2c2b0
}
@media(min-width:721px){
  .entry-sheet{bottom:18px;border-radius:28px}
}

.saved-profiles{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:14px 0 6px
}
.saved-profile{
  display:flex;flex-direction:row;align-items:center;justify-content:space-between;
  gap:8px;width:100%;min-height:88px;padding:12px;
  border:1.5px solid var(--line,rgba(83,54,33,.16));border-radius:14px;
  background:#fffdf7;color:var(--ink,#30251d);text-align:left;cursor:pointer
}
.saved-profile:only-child{grid-column:1/-1;min-height:0;padding:13px 14px}
.saved-profile.selected{
  border-color:var(--red,#a9382e);
  box-shadow:inset 0 0 0 1px var(--red,#a9382e)
}
.saved-profile span{min-width:0;flex:1}
.saved-profile b,
.saved-profile small{display:block}
.saved-profile b{font-size:14px;font-weight:800;line-height:1.25;letter-spacing:-.02em}
.saved-profile small{
  margin-top:2px;color:var(--muted,#77675b);
  font-size:11px;font-weight:600;line-height:1.35
}
.saved-profile em{
  flex:0 0 auto;color:var(--red,#a9382e);
  font-style:normal;font-size:12px;font-weight:800
}
.saved-profile:only-child b{font-size:16px;line-height:1.3}
.saved-profile:only-child small{margin-top:3px;font-size:13px}
.saved-profile:only-child em{font-size:14px}
@media(max-width:360px){
  .saved-profiles{gap:7px}
  .saved-profile{min-height:84px;padding:11px 10px}
  .saved-profile b{font-size:13px}
  .saved-profile small{font-size:10px}
}

/* 시간 모름 체크 시 시진 선택 비활성 */
.entry-field.is-disabled,
.entry-field:has(select:disabled){
  opacity:.55;filter:grayscale(.35)
}
.entry-field select:disabled,
.entry-field input:disabled{
  cursor:not-allowed;background:#ebe4d8;color:#9a8f84;pointer-events:none
}
