/* =====================================================================
   style.css — ゆで時間タイマー ツール固有の微調整のみ。
   共通スタイルは /_shared/shirugear.css に任せる。
   ===================================================================== */

/* 補助ラベルを入力直下に詰める */
.sg-field .sg-help {
  margin-top: var(--sg-space-1);
}

/* 区切り線 */
.sg-hr {
  border: none;
  border-top: 1px solid var(--sg-border, #e5e7eb);
  margin: var(--sg-space-4) 0;
}

/* --- 食材プリセットボタン --- */
.bt-presets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin-top: var(--sg-space-2);
}
.bt-preset {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--sg-border, #e5e7eb);
  border-radius: var(--sg-radius, 8px);
  background: var(--sg-surface, #fff);
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.12s, background 0.12s;
}
.bt-preset:hover {
  border-color: var(--sg-primary, #3b5bdb);
  background: rgba(59, 91, 219, 0.06);
}
.bt-preset__name {
  font-size: 0.92rem;
  font-weight: 600;
}
.bt-preset__time {
  font-size: 0.8rem;
  color: var(--sg-muted, #777);
  font-variant-numeric: tabular-nums;
}

/* --- タイマー表示 --- */
.bt-timer-card {
  text-align: center;
}
.bt-selected {
  font-size: 0.9rem;
  color: var(--sg-muted, #777);
  margin: 0 0 var(--sg-space-2);
}
.bt-display {
  font-size: clamp(3.2rem, 18vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.bt-display.is-done {
  color: var(--sg-primary, #3b5bdb);
}
.bt-done {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sg-primary, #3b5bdb);
  margin: var(--sg-space-2) 0 0;
  animation: bt-pop 0.4s ease;
}
@keyframes bt-pop {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.bt-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--sg-space-4);
}
.bt-controls .sg-btn {
  min-width: 120px;
}
.bt-btn-reset {
  background: var(--sg-surface, #fff);
  color: var(--sg-primary, #3b5bdb);
  border: 1px solid var(--sg-primary, #3b5bdb);
}
