* {
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
    padding: 0 16px;
    margin: 0;
    line-height: 1.5;
}

#home {
    max-width: 600px;
    margin: 28px auto;
    background: #ffffff;
    padding: 36px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

h1 {
    color: #e63946;
    margin-top: 0;
    margin-bottom: 8px;
}

.tagline {
    margin-top: 0;
    margin-bottom: 18px;
}

.dish-form {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

input[type="text"] {
    flex: 1 1 260px;
    padding: 10px 12px;
    border: 2px solid #333;
    border-radius: 5px;
    font-family: inherit;
    font-size: 15px;
    color: #333;
    background: #ffffff;
}

button {
    font-family: inherit;
    background-color: #e63946;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #d62828;
}

.divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 22px 0 18px;
}

.kitchen-stage {
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 16px;
    margin: 18px 0;
}

.dish-title {
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 8px;
}

.chef-svg {
    width: 190px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.kitchen-stage.is-playing .chef-head {
    transform-origin: 110px 72px;
    animation: chefNod 0.6667s ease-in-out infinite;
}

.kitchen-stage.is-playing .chef-spatula-arm {
    transform-origin: 78px 112px;
    animation: spatulaBounce 1.3334s ease-in-out infinite;
}

@keyframes chefNod {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(3px) rotate(-2deg); }
}

@keyframes spatulaBounce {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-10deg); }
}

.stage-btn {
    background-color: #ffffff;
    color: #333;
    border: 1px solid #333;
    padding: 7px 14px;
    font-size: 14px;
}

.stage-btn:hover {
    background-color: #333;
    color: #ffffff;
}

.lyrics-container {
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
}

.lyric-line {
    padding: 2px 6px;
    border-left: 3px solid transparent;
    cursor: pointer;
}

.lyric-line.stanza-end {
    margin-bottom: 10px;
}

.lyric-line.active {
    background-color: #fdf0f0;
    border-left-color: #e63946;
    color: #111;
    font-weight: bold;
}

.recipe-details {
    border-top: 1px solid #eee;
    padding-top: 14px;
    font-size: 14px;
}

.recipe-body {
    margin-top: 10px;
}

.recipe-subhead {
    font-weight: bold;
    margin: 10px 0 4px;
}

.recipe-body ul,
.recipe-body ol {
    margin: 0 0 10px;
    padding-left: 22px;
}

.recipe-body li {
    margin-bottom: 4px;
}
