/* 下から出るシート（設定・つぶの棚で共通） */

.sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(74, 59, 69, .3);
}

.sheet__card {
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  overflow: auto;
  padding: 20px 18px calc(24px + env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  background: var(--paper);
  box-shadow: 0 -8px 30px rgba(74, 59, 69, .14);
  animation: sheet-up .28s ease-out;
}

@keyframes sheet-up {
  from { transform: translateY(40px); opacity: 0; }
}

.sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.sheet__title {
  margin: 0;
  font-family: var(--title);
  font-weight: var(--title-w);
  font-size: 1.3125rem;
}

.sheet__close {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: var(--card);
  color: var(--sub);
  font-size: 1.375rem;
  cursor: pointer;
}
