/* 画面全体の土台 */
.screen {
  position: fixed;
  inset: 0;
  background: #fff;
}

/* 論理画面 */
#logicView{
  position: absolute;
  width: 430px;
  height: 932px;
  overflow: hidden;

  background: url("/static/img/background.png") no-repeat center top;
  background-size: cover;

  display: flex;
  flex-direction: column;
  border: 1px solid #cfd8e3;
  border-radius: 28px;
}

/* メイン */
.main-content{
  padding: 10px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  flex: 1 1 auto;
}

/* タイトル + 戻る（voice-shop と同系） */
.shop-title-wrap{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  margin-bottom: 2px;
}
.shop-title{
  font-size: 22px;
  font-weight: 800;
  margin: 8px 0;
}
.back-btn-top{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* card（voice-shop の card がある前提だが、無い場合でも破綻しないよう最低限） */
.card{
  background: rgba(255,255,255,.92);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.label{
  margin: 0 0 6px;
  font-weight: 800;
  color: #0f172a;
}
.value{
  margin: 0;
  color: #334155;
  line-height: 1.6;
}

/* tabs */
.tabbar{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 8px 0 10px;
}
.tab-btn{
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 800;
  cursor: pointer;
}
.tab-btn:active{ transform: translateY(1px); }
.tab-btn.is-active{
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

/* panels */
.tab-panel{
  display: none;
  min-height: 0;
}
.tab-panel.is-active{
  display: block;
}

/* list */
.notif-list{
  display: grid;
  gap: 10px;
  max-height: 620px; /* 論理画面の中で暴れないように */
  overflow: auto;
  padding-right: 2px; /* スクロールバー余白 */
}
.hint{
  margin: 10px 0 0;
  color: #475569;
  font-weight: 700;
}
.hidden{ display:none !important; }

/* notification card */
.notif{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 6px solid #2563eb;
  border-radius: 12px;
  padding: 10px 10px 8px;
}
.notif-title{
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 6px;
}
.notif-meta{
  margin-top: 6px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

/* link style（既存jsの class と互換） */
.notification-link{
  color: #2563eb;
  font-weight: 800;
  text-decoration: underline;
}
.notification-link:active{ opacity: .7; }

/* モーダル（voice-shop と同じ思想） */
.modal{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2500;
}
.modal.hidden{ display:none; }
.modal-content{
  width: calc(100% - 36px);
  max-width: 360px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 12px;
  box-shadow: 0 10px 35px rgba(0,0,0,.25);
}
.modal-content h3{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
}
.modal-content p{
  margin: 0;
  color: #334155;
  line-height: 1.7;
}
.modal-footer{
  display: flex;
  justify-content: end;
  margin-top: 12px;
}
