@charset "utf-8";
/* CSS Document */
* { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: 'Helvetica Neue', 'Segoe UI', sans-serif;
    background: #0a0a0f;
    color: #e0e0e0;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  h1 {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    margin-bottom: 1em;
    color: #c8c8d0;
    text-align: center;
  }
  #status {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1.5em;
    min-height: 1.5em;
    letter-spacing: 0.05em;
    transition: color 0.3s;
  }
  #status.recording { color: #e05050; }
  #status.playing { color: #50b0e0; }
  #status.analyzing { color: #e0b050; }
  .controls {
    position: fixed;
    bottom: 2em;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1em;
    z-index: 10;
  }
  #btnReset-wrap {
    position: fixed;
    top: 1.2em;
    left: 1.5em;
    z-index: 10;
  }
  button {
    background: transparent;
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
    padding: 0;
    line-height: 1;
  }
  button:disabled {
    display: none!important;
  }
  /* ── 円形ボタン（録音・再生/停止） ── */
  .controls button {
    width: 90px;
    height: 90px;
    border: 0px solid #333;
    border-radius: 50%;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .controls button .material-symbols-outlined {
    font-size: 60px;
  }
  .controls button:hover:not(:disabled) {
    border-color: #666;
    color: #e0e0e0;
  }
  .controls button.primary {
    border-color: #555;
    color: #d0d0d0;
  }
  .controls button.recording-active {
    border-color: #e05050;
    color: #e05050;
    animation: pulse 1s infinite;
  }
  /* ── 初期化ボタン（左上・ボーダーなし） ── */
  #btnReset {
    border: none;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #btnReset .material-symbols-outlined {
    font-size: 24px;
  }
  #btnReset:hover:not(:disabled) {
    color: #e0e0e0;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
  }
  #visualizer {
    width: 80vw;
    max-width: 700px;
    height: 120px;
    margin-bottom: 1.5em;
    display: none;
  }
  .info {
    font-size: 0.7rem;
    color: #444;
    letter-spacing: 0.08em;
    text-align: center;
    line-height: 1.6; display: none;
  }
  .info span { color: #666; }
  #countdown {
    font-size: 2.5rem;
    font-weight: 100;
    color: #e05050;
    min-height: 3.5rem;
    margin-bottom: 0.5em;
    letter-spacing: 0.1em;
  }
    #countdown:empty { display: none;}

