* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: Arial, Helvetica, sans-serif; background: #f4f7fa; color: #14213d; }
body { min-height: 100vh; }
.page-shell { min-height: 100vh; }
.home { width: min(100%, 920px); min-height: 100vh; margin: 0 auto; padding: 22px; display: flex; flex-direction: column; gap: 22px; }
header { text-align: center; }
.brand { font-size: clamp(30px, 6vw, 52px); font-weight: 900; letter-spacing: 1px; }
.date { margin-top: 10px; font-size: clamp(22px, 4vw, 34px); font-weight: 700; text-transform: capitalize; }
.clock { font-size: clamp(52px, 12vw, 92px); line-height: 1; font-weight: 900; margin-top: 8px; }
.button-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; flex: 1; }
.big-button, .emergency { border: 4px solid #14213d; border-radius: 24px; text-decoration: none; color: #14213d; font-weight: 900; display: flex; align-items: center; justify-content: center; text-align: center; touch-action: manipulation; box-shadow: 0 5px 0 rgba(0,0,0,.18); }
.big-button { min-height: 180px; padding: 18px; flex-direction: column; gap: 10px; background: white; font-size: clamp(24px, 4vw, 38px); }
.big-button:active, .emergency:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(0,0,0,.18); }
.icon { font-size: clamp(52px, 9vw, 78px); line-height: 1; }
.emergency { min-height: 105px; padding: 15px; background: #d71920; color: white; border-color: #8c0f14; font-size: clamp(28px, 5vw, 44px); }
.hint { margin: 0; text-align: center; font-size: 16px; color: #4d5968; }
@media (max-width: 600px) {
  .home { padding: 14px; gap: 14px; }
  .button-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .big-button { min-height: 145px; border-radius: 18px; }
  .emergency { min-height: 90px; border-radius: 18px; }
}
@media (max-width: 380px) {
  .button-grid { grid-template-columns: 1fr; }
  .big-button { min-height: 120px; }
}
