@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap');

#bingo-title-area {
    margin: 0.5em 0 1em;
}
#bingo-title-area>input {
    margin: 0 !important;
}

.bg-select-grid {
  display: grid;
  grid-template-columns: repeat(4, 48px);
  grid-gap: 8px;
}
.bg-sample {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 2px solid #eee;
  cursor: pointer;
  box-sizing: border-box;
  position: relative;
}
.bg-sample.selected {
  border: 2.5px solid #f90;
  box-shadow: 0 0 0 2px #fc6b03ad;
}

/*BINGOセル関連*/
.bingo-place-title
{
    position: absolute;
    left: 50%;
    bottom: 3px;
    transform: translateX(-50%);
    min-width: 40%;
    max-width: 92%;
    padding: 0px 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    border: 1.5px solid #ddd;
    color: #222;
    font-size: 0.6em !important;
    text-align: center;
    pointer-events: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    z-index: 2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bingo-place-cell {
    position: relative;
    aspect-ratio: 1 / 1;
    background: rgb(255, 255, 255);
/*    border-radius: 8px;*/
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
/*    border: 2px solid rgb(238, 238, 238);*/
/*    cursor: pointer;*/
    
  position: relative; /* これ重要！ */
  z-index: 2;
}
/*FREE画像*/
.bingo-place-cell.free {
  background-image: url(/wp-content/uploads/2025/07/free.cat_.png);
  background-size: cover;
}
/*画像セル選択時*/
.bingo-place-cell.selected {
  border: 3px solid #fa0 !important;
  position: relative;
  box-shadow: 0 0 0 3px #fff, 0 0 8px #fa0;
}
.bingo-place-swap-icon {
  position: absolute;
  right: 5px;
  top: 5px;
  background: rgba(255,255,255,0.82);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 1px 6px rgba(0,0,0,0.15);
}
.bingo-place-swap-icon svg {
  width: 18px; height: 18px;
  display: block;
}

/*シャッフルボタン*/
.bingo-shuffle-btn {
    padding: 4px 10px 6px;
    font-size: 0.8em;
    font-weight: bold;
    color: #505050;
}
/*.bingo-shuffle-btn {
  display: inline-block;
  padding: 0.62em 2.5em 0.62em 2.5em;
  font-size: 1.13em;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(90deg, #42a5f5 0%, #478ed1 100%);
  border: none;
  border-radius: 30px;
  box-shadow: 0 2px 12px rgba(66, 165, 245, 0.10);
  letter-spacing: 0.1em;
  cursor: pointer;
  outline: none;
  position: relative;
  transition:
    background 0.18s,
    transform 0.13s,
    box-shadow 0.13s;
}
.bingo-shuffle-btn:hover,
.bingo-shuffle-btn:focus {
  background: linear-gradient(90deg, #42c7f5 0%, #1976d2 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 20px rgba(66, 165, 245, 0.15);
}
.bingo-shuffle-btn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 1px 7px rgba(66, 165, 245, 0.10);
}*/

/*SNSエリア*/
.ss-bottom {
    display: none;
}