body {
    margin: 0;
    overflow: hidden;
    background: url("bell_image.png") center/cover no-repeat fixed;
    font-family: "Noto Serif JP", serif;
}

* {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* タイトル */
#title {
    color: white;
    font-size: 40px;
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
    margin-bottom: 10px;
    font-weight: 700; 
    text-align: center;
}

/* ▼ 設定ダイアログ */
#settingsOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

#settingsDialog {
    background: #000;
    color: #FFF9C4;
    width: 90%;
    max-width: 420px;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 20px;
    font-family: serif;
}

.dialog-scroll {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.dialog-section-title {
    font-size: 14px;
    margin-top: 20px;
}

.row-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
}

.btn-square {
    width: 48px;
    height: 48px;
    background: #332A1A;
    color: #FFF9C4;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 12px;
    cursor: pointer;
}

.value-text {
    font-size: 20px;
    padding: 8px;
}

.btn-size {
    background: #332A1A;
    color: #FFF9C4;
    padding: 8px 16px;
    margin: 0 8px;
    cursor: pointer;
}

/* ▼ 選択中のサイズボタンを強調 */
.btn-size.active {
    outline: 2px solid #FFF9C4;
}

.dialog-description {
    font-size: 13px;
    margin-top: 8px;
    line-height: 1.5;
}

.dialog-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-bottom {
    background: #332A1A;
    color: #FFF9C4;
    padding: 10px 20px;
    margin: 0 16px;
    cursor: pointer;
}

.dialog-footer {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-top: 16px;
}

/* ▼ メイン画面のレイアウトとボタンサイズ */
#container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding-top: 60px;
    box-sizing: border-box;
}

/* 設定アイコン（右上固定） */
.icon-button {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

/* ティンシャ・おりん・経典ボタン */
.action-button {
    width: 120px;
    height: 120px;
    margin: 0px;
    object-fit: contain;
    cursor: pointer;
}

/* Powered by アイコン */
.powered {
    width: 240px;
    height: auto;
    margin-top: 4px;
}