/* ============================================
   CULINARY MINIGAMES STYLES
   Shared scaffolding (.culinary-game) + per-game styles
   ============================================ */

.culinary-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px;
    max-width: 720px;
    margin: 0 auto;
    color: #F7EFE4;
    font-family: 'Poppins', sans-serif;
}

.culinary-game .cul-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: 560px;
    background: rgba(52, 28, 22, 0.85);
    border: 1px solid rgba(232, 160, 48, 0.5);
    border-radius: 12px;
    padding: 10px 18px;
}

.culinary-game .cul-timer {
    font-weight: 700;
    font-size: 1.05rem;
}

.culinary-game .cul-timer .timer-warning {
    color: #FF5252;
    animation: cul-pulse 0.6s infinite alternate;
}

@keyframes cul-pulse {
    from { opacity: 1; }
    to { opacity: 0.45; }
}

.culinary-game .cul-progress,
.culinary-game .cul-lives {
    font-weight: 600;
    color: #F2B950;
}

.culinary-game .cul-instruction {
    text-align: center;
    font-size: 1rem;
    max-width: 560px;
    margin: 0;
    line-height: 1.5;
}

.culinary-game .cul-feedback {
    min-height: 28px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    max-width: 560px;
}

.culinary-game .cul-feedback.success { color: #4ADE80; }
.culinary-game .cul-feedback.error { color: #FF6B6B; }

.culinary-game .cul-btn {
    background: linear-gradient(135deg, #E8A030, #C07818);
    color: #2E1A10;
    border: none;
    border-radius: 12px;
    padding: 14px 30px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(232, 160, 48, 0.4);
}

.culinary-game .cul-btn:hover { transform: translateY(-2px); }

.culinary-game .cul-btn.approve { background: linear-gradient(135deg, #3E9C5A, #2C7442); color: white; }
.culinary-game .cul-btn.deny { background: linear-gradient(135deg, #C0453A, #92352C); color: white; }

.culinary-game .cul-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 560px;
}

.culinary-game .cul-options-column {
    flex-direction: column;
    width: 100%;
}

.culinary-game .cul-option {
    background: rgba(74, 40, 30, 0.92);
    border: 2px solid rgba(232, 160, 48, 0.5);
    color: #F7EFE4;
    border-radius: 10px;
    padding: 12px 22px;
    font-size: 0.98rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    text-align: center;
}

.culinary-game .cul-options-column .cul-option { text-align: left; }

.culinary-game .cul-option:hover {
    background: rgba(232, 160, 48, 0.28);
    transform: translateY(-1px);
}

.culinary-game .cul-option.correct {
    background: #2E7D32;
    border-color: #4ADE80;
}

.culinary-game .cul-option.wrong {
    background: #8E2A2A;
    border-color: #FF6B6B;
}

.culinary-game .shake-wrong {
    animation: cul-shake 0.4s;
}

@keyframes cul-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* Shared panels */
.culinary-game .cul-panel {
    width: 100%;
    max-width: 460px;
    background: rgba(74, 40, 30, 0.92);
    border: 2px solid rgba(232, 160, 48, 0.5);
    border-radius: 12px;
    padding: 14px 20px;
}

.culinary-game .cul-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(232, 160, 48, 0.2);
    gap: 10px;
}

.culinary-game .cul-row:last-child { border-bottom: none; }

.culinary-game .cul-row.cul-title {
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #F2B950;
}

.culinary-game .cul-row strong { color: #F2B950; white-space: nowrap; }

.culinary-game .cul-row.highlight span:first-child { color: #7ED6F0; font-weight: 600; }

.culinary-game .cul-row em { font-size: 0.82rem; color: #D9B98F; font-style: normal; }

.culinary-game .cul-scenario {
    background: rgba(74, 40, 30, 0.92);
    border-left: 4px solid #E8A030;
    border-radius: 8px;
    padding: 14px 18px;
    max-width: 560px;
    font-size: 1rem;
    line-height: 1.5;
}

/* Order ticket look (shared) */
.culinary-game .cul-ticket {
    background: #FDFBF4;
    color: #26292E;
    border-radius: 4px;
    padding: 12px 22px;
    font-family: 'Courier New', monospace;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    border-top: 8px solid #E8A030;
    min-width: 220px;
}

.ticket-title {
    font-weight: 700;
    font-size: 1.05rem;
    border-bottom: 1px dashed #999;
    padding-bottom: 6px;
    margin-bottom: 6px;
    text-align: center;
}

.ticket-line {
    font-size: 0.92rem;
    padding: 2px 0;
}

/* ----- Order Up ----- */
.orderup-bench {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 560px;
}

.orderup-ingredient {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: rgba(74, 40, 30, 0.92);
    border: 2px solid rgba(232, 160, 48, 0.5);
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    color: #F7EFE4;
    transition: transform 0.12s;
    min-width: 96px;
}

.orderup-ingredient:hover { transform: translateY(-3px); }

.orderup-icon { font-size: 2.2rem; }
.orderup-label { font-size: 0.8rem; font-weight: 600; }

.orderup-ingredient.placed {
    opacity: 0.35;
    transform: scale(0.88);
    pointer-events: none;
    border-color: #4ADE80;
}

/* ----- Knife Skills ----- */
.knife-board {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 560px;
    background: #8A5A33;
    border: 4px solid #5F3D22;
    border-radius: 14px;
    padding: 18px 20px;
}

.knife-veg { font-size: 2.6rem; }

.knife-track {
    position: relative;
    flex: 1;
    height: 52px;
    background: #5F3D22;
    border-radius: 10px;
    overflow: hidden;
}

.knife-zone {
    position: absolute;
    top: 0;
    height: 100%;
    background: rgba(74, 222, 128, 0.35);
    border-left: 2px dashed #4ADE80;
    border-right: 2px dashed #4ADE80;
}

.knife-marker {
    position: absolute;
    top: 4px;
    font-size: 2rem;
    transform: translateX(-50%);
}

/* ----- Grill Master ----- */
.grill-surface {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 560px;
    background: repeating-linear-gradient(
        0deg,
        #26292E 0px, #26292E 12px,
        #33373D 12px, #33373D 16px
    );
    border: 4px solid #4A4E56;
    border-radius: 14px;
    padding: 16px;
}

.grill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: rgba(42, 46, 52, 0.9);
    border: 2px solid rgba(232, 160, 48, 0.45);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    color: #F7EFE4;
    transition: transform 0.1s;
}

.grill-item:hover { transform: scale(1.03); }

.grill-icon { font-size: 2.4rem; }

.grill-bar {
    position: relative;
    width: 100%;
    height: 14px;
    background: #1A1D22;
    border-radius: 7px;
    overflow: hidden;
}

.grill-target {
    position: absolute;
    left: 65%;
    width: 20%;
    height: 100%;
    background: rgba(74, 222, 128, 0.3);
    border-left: 2px dashed #4ADE80;
    border-right: 2px dashed #4ADE80;
}

.grill-fill {
    position: absolute;
    left: 0;
    height: 100%;
    width: 0%;
    background: #E8A030;
}

.grill-state {
    font-size: 0.78rem;
    font-weight: 700;
    color: #D9B98F;
}

.grill-item.perfect { border-color: #4ADE80; pointer-events: none; }
.grill-item.perfect .grill-state { color: #4ADE80; }
.grill-item.raw { border-color: #E8A030; opacity: 0.7; pointer-events: none; }
.grill-item.burnt { border-color: #FF6B6B; opacity: 0.7; pointer-events: none; }
.grill-item.burnt .grill-state { color: #FF6B6B; }

/* ----- Plating ----- */
.plating-plate {
    display: grid;
    grid-template-columns: repeat(3, 88px);
    gap: 10px;
    background: radial-gradient(circle, #FDFBF4 60%, #E8E5DC 100%);
    border-radius: 50%;
    padding: 34px 26px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.plating-spot {
    width: 88px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    background: rgba(232, 229, 220, 0.7);
    border: 2px dashed #C5C2B8;
    border-radius: 12px;
    color: #8A8578;
    font-family: 'Poppins', sans-serif;
}

.plating-spot.empty {
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.15s;
}

.plating-spot.empty:hover { background: rgba(232, 160, 48, 0.25); }

.plating-spot.spot-right { border-color: #2E7D32; background: rgba(74, 222, 128, 0.3); }
.plating-spot.spot-wrong { border-color: #C0453A; background: rgba(255, 107, 107, 0.25); }

.plating-palette {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.plating-component {
    font-size: 1.8rem;
    background: rgba(74, 40, 30, 0.92);
    border: 2px solid rgba(232, 160, 48, 0.5);
    border-radius: 10px;
    padding: 8px 14px;
    cursor: pointer;
    transition: transform 0.1s;
}

.plating-component:hover { transform: translateY(-2px); }

.plating-component.selected {
    border-color: #F2B950;
    background: rgba(242, 185, 80, 0.3);
}

/* ----- Food Safety ----- */
.foodsafe-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(74, 40, 30, 0.92);
    border: 2px solid rgba(232, 160, 48, 0.55);
    border-radius: 14px;
    padding: 16px 26px;
    min-width: 320px;
}

.foodsafe-icon { font-size: 2.8rem; }

.foodsafe-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.foodsafe-info strong { font-size: 1.12rem; }
.foodsafe-info span { color: #D9B98F; font-size: 0.9rem; }

.foodsafe-zones {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.foodsafe-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    border-radius: 12px;
    border: 2px solid transparent;
    font-size: 1.7rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    min-width: 118px;
    transition: transform 0.12s;
    color: white;
    font-weight: 600;
}

.foodsafe-zone span { font-size: 0.8rem; }
.foodsafe-zone:hover { transform: translateY(-3px); }

.foodsafe-zone.freezer { background: #1D4F73; border-color: #4FB7FF; }
.foodsafe-zone.cooler { background: #23678A; border-color: #7ED6F0; }
.foodsafe-zone.dry { background: #6D5B2E; border-color: #E9C46A; }
.foodsafe-zone.hot { background: #7A2E1F; border-color: #FF8A5C; }

/* ----- Ticket Rush ----- */
.rush-ticket {
    background: #FDFBF4;
    color: #26292E;
    border-radius: 4px;
    padding: 12px 30px;
    font-family: 'Courier New', monospace;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    border-top: 8px solid #C0453A;
    text-align: center;
    min-width: 230px;
}

.rush-ticket-header {
    font-size: 0.85rem;
    color: #777;
    border-bottom: 1px dashed #999;
    padding-bottom: 4px;
    margin-bottom: 6px;
}

.rush-ticket-dish {
    font-size: 1.4rem;
    font-weight: 700;
    padding: 4px 0 8px;
}

.rush-ticket-bar {
    height: 8px;
    background: #E0DCD0;
    border-radius: 4px;
    overflow: hidden;
}

.rush-ticket-fill {
    height: 100%;
    width: 100%;
    background: #C0453A;
}

.rush-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 560px;
}

.rush-dish-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(74, 40, 30, 0.92);
    border: 2px solid rgba(232, 160, 48, 0.5);
    border-radius: 12px;
    padding: 10px 16px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    color: #F7EFE4;
    transition: transform 0.1s;
    min-width: 86px;
}

.rush-dish-btn:hover { transform: translateY(-3px); }

.rush-dish-icon { font-size: 2rem; }
.rush-dish-name { font-size: 0.8rem; font-weight: 600; }

/* ----- Expo Check ----- */
.expo-compare {
    display: flex;
    gap: 14px;
    width: 100%;
    max-width: 600px;
    justify-content: center;
    flex-wrap: wrap;
}

.expo-side {
    flex: 1;
    min-width: 240px;
}

.expo-side-title {
    text-align: center;
    font-weight: 700;
    color: #F2B950;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.expo-list {
    background: #FDFBF4;
    color: #26292E;
    border-radius: 6px;
    padding: 12px 16px;
    font-family: 'Courier New', monospace;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-height: 100px;
}

.expo-line {
    font-size: 0.92rem;
    padding: 3px 0;
    border-bottom: 1px dotted #CCC;
}

.expo-line:last-child { border-bottom: none; }

.expo-buttons {
    display: flex;
    gap: 16px;
}
