/* style.css — ゆで卵の時間早見 ツール固有の微調整（共有 shirugear.css を補完） */

.egg-firms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 6px;
}
.egg-firm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 8px;
  border: 1px solid var(--sg-border, #d7ddea);
  border-radius: 10px;
  background: var(--sg-surface, #fff);
  color: var(--sg-fg, #1a1f2b);
  cursor: pointer;
  font-weight: 600;
  line-height: 1.3;
}
.egg-firm small {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--sg-muted-fg, #777);
}
.egg-firm.egg-firm--active {
  border-color: var(--sg-accent, #3b5bdb);
  background: var(--sg-accent, #3b5bdb);
  color: #fff;
}
.egg-firm.egg-firm--active small {
  color: rgba(255, 255, 255, 0.85);
}

.egg-temps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.egg-temps label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  line-height: 1.5;
}

.egg-timer-box {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--sg-border, #e2e6ee);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.egg-timer {
  font-size: 3rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--sg-fg, #1a1f2b);
}
.egg-timer.egg-timer--done {
  color: #e8590c;
  animation: egg-flash 0.6s ease-in-out 4;
}
@keyframes egg-flash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.egg-timer-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.egg-table th,
.egg-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--sg-border, #e2e6ee);
  vertical-align: top;
}
.egg-table thead th {
  font-size: 0.85rem;
  color: var(--sg-muted-fg, #666);
  border-bottom-width: 2px;
}
.egg-table tbody th {
  font-weight: 600;
  white-space: nowrap;
}
