body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    text-align: center;
    background-color: #1a1a1a;
    color: #ffffff;
    margin: 0;
    padding: 30px 10px 10px 10px; /* 📱 画面の最上部から正確に30px空ける設定 */
    box-sizing: border-box;
    touch-action: none; /* スマホのスクロールを完全に防止 */
}
h1 {
    color: #3d240e; 
    margin-top: 0;
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 2px;
    
    /* 🌐 盤面全体と同じサイズに調整 */
    display: block;
    max-width: 100%;
    width: 360px; /* 下のコンテナと全く同じ幅に固定 */
    margin: 0 auto 15px auto;
    padding: 12px 0;
    box-sizing: border-box;

    background-color: #e5b36a; 
    border: 5px solid #5a3d28;  
    border-radius: 16px; /* シリーズ統一の16px of R */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}
#info {
    font-size: 0.95rem;
    margin-bottom: 12px;
    font-weight: bold;
    color: #e0e0e0;
    height: 40px; 
    padding: 0 10px;
}
/* ゴルフコンテナ */
#board-container {
    max-width: 100%;
    width: 360px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    /* 🎱 🟢 修正ポイント：外側のクッション部分もキャンバスと同じ「#0a522c」に完全統一！ */
    background-color: #0a522c;  
    border: 7px solid #5a3d28;  /* 高級感あふれる濃い木枠 */
    border-radius: 16px;        /* シリーズ共通の16pxのR */
    box-shadow: 0 8px 25px rgba(0,0,0,0.8);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
#gameCanvas {
    display: block;
    background-color: #0a522c; /* 🎱 しっとり深く濃い極上ラシャグリーン */
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

#controls {
    width: 360px;
    margin: 15px auto 0 auto;
    display: flex;
    justify-content: center;
}
.reset-btn {
    width: 180px; 
    padding: 12px 0;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #ffffff;
    background-color: #9c5a34;
    border: 3px solid #5a3d28;
    border-radius: 12px; /* シリーズ共通のリセットボタンR12px */
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.reset-btn:active {
    transform: translateY(1px);
}