* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { 
    background: #e0e5ec; display: flex; justify-content: center; align-items: center; 
    min-height: 100vh; margin: 0; font-family: sans-serif; padding: 20px;
}
.container { 
    background: #e0e5ec; padding: 2rem; border-radius: 40px;
    box-shadow: 15px 15px 30px #bec3be, -15px -15px 30px #ffffff;
    text-align: center; width: 100%; max-width: 380px;
}
.settings { display: flex; gap: 15px; margin-bottom: 25px; }
.input-group { display: flex; flex-direction: column; flex: 1; }
.input-group label { font-size: 0.8rem; color: #555; margin-bottom: 10px; font-weight: bold; }
.time-inputs { display: flex; gap: 8px; justify-content: center; }
.input-unit { display: flex; flex-direction: column; align-items: center; width: 48%; }
.input-unit input {
    width: 100%; border: none; border-radius: 12px; padding: 12px 5px;
    background: #e0e5ec; text-align: center; font-weight: bold;
    box-shadow: inset 4px 4px 8px #bec3be, inset -4px -4px 8px #ffffff;
    outline: none; font-size: 1rem; color: #444;
}
.input-unit span { font-size: 0.7rem; color: #888; margin-top: 5px; font-weight: bold; }
#status { font-weight: 800; color: #ff3b3b; margin-bottom: 5px; transition: 0.3s; }
#timer { font-size: clamp(2.5rem, 12vw, 4.5rem); font-weight: 900; color: #444; margin: 10px 0 25px; }
.btns { display: flex; gap: 15px; }
.btns button { 
    flex: 1; border: none; border-radius: 15px; padding: 18px 10px;
    font-weight: bold; cursor: pointer; background: #e0e5ec;
    box-shadow: 5px 5px 10px #bec3be, -5px -5px 10px #ffffff;
}
.btns button:active { box-shadow: inset 3px 3px 6px #bec3be, inset -3px -3px 6px #ffffff; }
#startBtn { color: #ff3b3b; }
.counter { margin-top: 30px; color: #555; font-size: 0.95rem; }
#count { color: #ff3b3b; font-weight: bold; }
#resetCountBtn { background: none; border: none; color: #aaa; cursor: pointer; margin-top: 15px; text-decoration: underline; font-size: 0.75rem; }
.pwa-notice {
    margin-top: 25px; padding: 15px; background: #e0e5ec; border-radius: 20px;
    box-shadow: inset 5px 5px 10px #bec3be, inset -5px -5px 10px #ffffff;
    font-size: 0.8rem; color: #666;
}
