  :root {
    --bg-gray: #f2f2f2;
    --dark-header: #1a1a1a;
    --neon-green: #00ff88;
    --accent-red: #f14036;
    --accent-yellow: #fbc02d;
    --item-dark: #2a2a2a;
    --premium-blue: linear-gradient(145deg, #00d2ff, #3a7bd5);
    --point-color: #00ff00;
  }

  body {
    margin: 0; padding: 12px;
    background-color: var(--bg-gray);
    font-family: 'Noto Sans KR', sans-serif;
    min-height: 100vh;
  }

  .header {
    background: var(--dark-header) url('https://www.transparenttextures.com');
    border-radius: 15px; padding: 0 40px; color: white;
    display: flex; align-items: center; box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 12px; height: 115px; box-sizing: border-box;
    position: relative; justify-content: space-between;
    flex-wrap: wrap;
  }

  .header-left { flex: 1; display: flex; flex-direction: column; gap: 5px; }
  .logo { font-size: 13px; font-weight: 900; color: #555; letter-spacing: 1px; }
  .gym-info-row { display: flex; align-items: center; gap: 12px; }
  .gym-name { color: #ffffff !important; font-size: 22px; font-weight: bold; line-height: 1; white-space: nowrap;  }
  .trial-badge { background: var(--point-color) !important; color: #000 !important; /* 글자는 검은색으로 대비 */ padding: 2px 10px; border-radius: 10px; font-size: 11px; font-weight: 900; white-space: nowrap; transition: background 0.5s ease; }

  .header-center { flex: 1; display: flex; flex-direction: column; align-items: center; }
  .mode-btns { display: flex; gap: 6px; margin-bottom: 5px; }
  .mode-btn { background: #444; border: none; color: #999; padding: 4px 20px; border-radius: 15px; font-size: 13px; font-weight: bold; cursor: pointer; }
  .mode-btn.active { background: white; color: black; }
  
  .timer-row { display: flex; align-items: center; gap: 12px; }
  .timer-display { font-family: 'Digital Numbers', sans-serif; font-size: 48px; color: var(--neon-green); line-height: 1; text-shadow: 0 0 10px rgba(0, 255, 136, 0.4); }
  .pause-btn { background: #333; border: 1px solid #444; color: white; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }

  .header-right { flex: 1; display: flex; flex-direction: column; align-items: flex-end; position: relative; }
  .system-tag-box { margin-bottom: 8px; margin-right: 5px; }
  .system-tag { background: rgba(255, 255, 255, 0.1); padding: 3px 12px; border-radius: 6px; font-size: 11px; color: #777; font-weight: bold; cursor: pointer; }
  .action-row { display: flex; align-items: center; gap: 15px; }


    /* 하단 숙제 바 */
  .homework-bar { position: fixed; bottom: 12px; left: 12px; right: 12px; background: black; border-radius: 15px; height: 70px; display: flex; align-items: center; padding: 0 35px; box-sizing: border-box; border-top: 3px; }
  .homework-label { color: var(--neon-green); font-weight: bold; font-size: 22px; margin-right: 12px; }
  #homework-text { color: white; font-size: 22px; font-weight: bold; }
