/* version1 */
/* public/css/base.css */

/* 基本設定 */
body { 
    font-family: 'Yu Gothic', 'YuGothic', 'Hiragino Kaku Gothic ProN', 'Meiryo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 20px; 
    margin: 0; 
    background: linear-gradient(135deg, #1a1715 0%, #2a2520 100%);
    color: #e8e6e3;
    min-height: 100vh;
  }
  
  .container { 
    max-width: 1600px; 
    margin: 0 auto; 
  }
  
  h1 {
    text-align: center;
    color: #f0c040;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 8px rgba(240, 192, 64, 0.3);
    border-bottom: 1px solid rgba(240, 192, 64, 0.2);
    padding-bottom: 15px;
  }
  
  h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #f0c040;
    border-bottom: 1px solid rgba(240, 192, 64, 0.3);
    padding-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.05em;
  }
  
  /* レイアウト */
  .row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .row .half {
    flex: 1;
  }
  
  .section { 
    background: rgba(35, 30, 28, 0.85);
    backdrop-filter: blur(10px);
    padding: 18px; 
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 
                inset 0 1px 0 rgba(240, 192, 64, 0.1);
    border: 1px solid rgba(240, 192, 64, 0.15);
  }
  
  .header { 
    display: flex; 
    gap: 10px; 
    align-items: center; 
    flex-wrap: wrap; 
  }
  
  .header span {
    color: #c9c5c0;
    font-size: 14px;
  }
  
  .header strong {
    color: #f0c040;
    font-weight: 500;
  }
  
  .controls { 
    display: flex; 
    gap: 10px; 
    flex-wrap: wrap; 
    margin-bottom: 10px;
  }
  
  small {
    color: #a39d96;
    font-size: 12px;
  }
  
  /* ログ */
  #log { 
    background: rgba(20, 18, 16, 0.6);
    padding: 12px; 
    height: 200px;
    overflow-y: auto;
    font-family: 'Courier New', 'MS Gothic', monospace;
    font-size: 12px;
    border-radius: 4px;
    border: 1px solid rgba(240, 192, 64, 0.2);
    color: #b8b4af;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
  }
  
  .log-error { 
    color: #ff6b6b; 
    font-weight: bold; 
  }
  
  .log-success { 
    color: #f0c040; 
  }
  
  .log-info { 
    color: #7eb3d6; 
  }
  
  /* ユーザーリスト */
  .user-list {
    background: rgba(20, 18, 16, 0.6);
    padding: 10px;
    border-radius: 4px;
    border: 1px solid rgba(240, 192, 64, 0.2);
    max-height: 150px;
    overflow-y: auto;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
  }
  
  .user-item {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(240, 192, 64, 0.1);
    font-size: 13px;
    color: #c9c5c0;
    transition: background 0.2s;
  }
  
  .user-item:last-child {
    border-bottom: none;
  }
  
  .user-item.me {
    background: rgba(240, 192, 64, 0.15);
    font-weight: 500;
    border-radius: 4px;
    color: #f0c040;
    border-left: 3px solid #f0c040;
  }
  
  /* タイマー表示 */
  .timer-display {
    font-size: 28px;
    font-weight: 500;
    color: #ff6b6b;
    padding: 12px 20px;
    background: rgba(20, 18, 16, 0.8);
    border-radius: 6px;
    display: inline-block;
    border: 2px solid rgba(255, 107, 107, 0.4);
    font-family: 'Courier New', 'MS Gothic', monospace;
    letter-spacing: 0.05em;
    box-shadow: 0 0 12px rgba(255, 107, 107, 0.2),
                inset 0 1px 3px rgba(0, 0, 0, 0.4);
  }
  
  .timer-display.inactive {
    color: #6b6560;
    border-color: rgba(107, 101, 96, 0.4);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
  }
  
  /* スクロールバーのカスタマイズ */
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: rgba(20, 18, 16, 0.4);
    border-radius: 5px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: rgba(240, 192, 64, 0.3);
    border-radius: 5px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(240, 192, 64, 0.5);
  }