body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #121214;
    color: #e1e1e6;
    padding: 20px;
    text-align: center;
    margin: 0;
}

h1 {
    color: #ffb86c;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

p.subtitle {
    color: #8b949e;
    font-size: 0.9rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.btn-refresh {
    background-color: #ffb86c;
    color: #121214;
    border: none;
    padding: 8px 18px;
    font-size: 0.95rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 25px;
    transition: background 0.2s, transform 0.1s;
}

.btn-refresh:hover {
    background-color: #ffcc8d;
}

.btn-refresh:active {
    transform: scale(0.97);
}

/* 通知音のユーザー許可確認バー */
.audio-notice-bar {
    background-color: #ff5555;
    color: #ffffff;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: bold;
    display: none;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 10px;
}

/* ── 最上部：メインステータスエリア ── */
.main-status-panel { 
    background: #1d1d21; 
    margin-bottom: 30px; 
    padding: 25px; 
    border-radius: 12px; 
    border: 2px solid #ffb86c; 
    text-align: left; 
    box-shadow: 0 6px 15px rgba(0,0,0,0.5); 
}

.main-status-title { 
    font-size: 1.3rem; 
    font-weight: bold; 
    color: #ffb86c; 
    border-bottom: 1px solid #30363d; 
    padding-bottom: 10px; 
    margin-bottom: 15px; 
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-status-details { 
    font-size: 1.2rem; 
    line-height: 1.8; 
    color: #f0f6fc; 
    white-space: pre-wrap; 
}

.main-status-details strong {
    color: #ff5555;
    font-weight: bold;
    font-style: normal;
}

.main-status-details em {
    color: #50fa7b;
    font-style: normal;
    font-weight: bold;
}

/* ── 下部：部屋番号のカラム（グリッド）一覧 ── */
.rooms-grid-title {
    text-align: left;
    font-size: 1.2rem;
    color: #8b949e;
    margin-bottom: 15px;
    padding-left: 5px;
}

.rooms-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
    gap: 15px; 
    margin-bottom: 30px;
}

.room-column-card { 
    background: #1d1d21; 
    padding: 18px; 
    border-radius: 10px; 
    border: 1px solid #30363d; 
    text-align: center; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.room-column-card:hover {
    transform: translateY(-2px);
    border-color: #ffb86c;
}

.card-room-number { 
    font-size: 1.6rem; 
    font-weight: bold; 
    color: #ff5555; 
    margin-bottom: 10px;
    border-bottom: 1px solid #21262d;
    padding-bottom: 8px;
}

.card-room-holder { 
    font-size: 0.95rem; 
    color: #c9d1d9; 
    line-height: 1.4;
}

.card-room-holder span {
    color: #50fa7b;
    font-weight: bold;
}

.no-rooms {
    background: #1d1d21;
    padding: 50px;
    border-radius: 12px;
    color: #8b949e;
    border: 1px dashed #30363d;
    font-size: 1.2rem;
}