/* BINGOカード作成・印刷ボタン */
#btn-make-bingo-card>a {
    visibility: hidden;
}

/* BINGOリストul/liの全体レイアウト */
.bingo-list-ul {
  list-style: none;
  margin: 24px auto 10px auto;
  padding: 0 !important;
  max-width: 650px;
  width: 96%;
}
.bingo-list-li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 2px solid #a9c9f4;
  border-radius: 18px;
  margin-bottom: 16px;
  padding: 4px 10px;
  box-shadow: 0 1px 10px rgba(120,180,255,0.09);
  transition: box-shadow .18s;
}
.bingo-list-li:hover {
  box-shadow: 0 3px 20px rgba(120,180,255,0.18);
}

/* チェックボックス大きめ */
.bingo-select-checkbox {
  transform: scale(1.23);
  margin-top: 8px;
  margin-right: 5px;
}

/* タイトル・ボタン部分まとめ */
.bingo-li-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* タイトル（改行しない・省略） */
.bingo-li-title {
  display: block;
  font-size: 0.8em;
  font-weight: bold;
/*  letter-spacing: 0.09em;*/
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ボタン（タイトル下横並び） */
.bingo-li-btns {
  display: flex;
  gap: 8px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}
.btn-bingo {
  font-size: 0.8em;
  font-weight: bold;
  border-radius: 10px;
  border: none;
  padding: 2px 8px 4px;
  /*min-width: 64px;*/
  cursor: pointer;
  margin: 0;
  box-shadow: 0 1px 2px rgba(90,120,180,0.09);
  transition: background .13s;
}
.btn-copy    { background: #4fa5ed; color: #fff; }
.btn-copy:hover    { background: #2590e7; }
.btn-del     { background: #ee5547; color: #fff; }
.btn-del:hover     { background: #cc3a2d; }
.btn-preview { background: #5ec45e; color: #fff; }
.btn-preview:hover { background: #31a33a; }

/* ===== モーダル・グリッドは元まま ===== */

/* モーダルの全画面背景 */
#bingo-preview-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.45);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* モーダル内の内容枠 */
#bingo-preview-modal > div {
/*  background: #fff;*/
/*  border-radius: 16px;*/
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
/*  padding: 2em 2em 1.2em 2em;*/
/*  max-width: 92vw;*/
/*  max-height: 92vh;*/
  overflow: auto;
  position: relative;
}

/* 閉じるボタン */
#bingo-preview-modal button {
  position: absolute;
  top: -4px;
  right: 4px;
  font-size: 2em;
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  z-index: 2;
}

/* グリッド全体 */
.bingo-preview-grid {
  display: grid;
  gap: 7px;
/*  background: #fff;*/
/*  border-radius: 10px;*/
  padding: 14px;
  margin: 0 auto 10px auto;
/*  box-shadow: 0 1px 10px rgba(0,0,0,0.06);*/
  /* grid-template-columns/rowsはインラインstyleでOK */
}

/* グリッドのセル */
.bingo-preview-grid > div {
/*  width: 58px;
  height: 58px;
  background: #eee;
  border-radius: 7px;*/
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 1em;
}

/* 画像 */
.bingo-preview-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* タイトル（モーダル内） */
#bingo-preview-modal .bingo-preview-title {
  font-size: 1.3em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1em;
}

/*BINGOプレビューエリア（デバッグ時はdisplay:block;）*/
#bingo-card-preview-area {
    display: none;
}

/* --- コメントアウト例 --- */
/* 確認ボタン（親リスト内）を目立たせる場合
li button:last-child {
  background: #fa0;
  color: #fff;
  border-radius: 4px;
  margin-left: 0.8em;
  border: none;
  padding: 0.35em 1.1em;
  font-weight: bold;
  cursor: pointer;
}
*/

/*SNSエリア*/
.ss-bottom {
    display: none;
}