/* ╔══════════════════════════════════════════════════════════════════╗
   ║  MASTERPIECE CALCULATOR v2 — IMMERSIVE CRAFT EXPERIENCE        ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ─── TOKENS ─── */
.mp-body {
    --b: #7d6340;
    --b-l: #a8875e;
    --b-d: #5a452c;
    --b-glow: rgba(168,135,94,0.35);
    --cream: #faf7f2;
    --sand: #f0ebe2;
    --stone: #e4ddd2;
    --ink: #2d2416;
    --ink2: #4a3828;
    --ink3: #8a7d6d;
    --w: #ffffff;
    --danger: #c44;

    /* Dynamic — JS updates these based on hydration */
    --ambient-h: 32;
    --ambient-s: 45%;
    --ambient-l: 88%;

    background: var(--cream) !important;
    overflow-x: hidden;
}
.mp-body *, .mp-body *::before, .mp-body *::after {
    box-sizing: border-box;
}

/* ─── AMBIENT BACKGROUND ─── */
.ambient-bg {
    position: fixed; inset: 0;
    z-index: 0; pointer-events: none; overflow: hidden;
    transition: filter 1.2s;
}
.ambient-orb {
    position: absolute; border-radius: 50%;
    filter: blur(120px); opacity: 0.3; will-change: transform;
    transition: background 1.5s;
}
.orb-a {
    width: 700px; height: 700px;
    background: radial-gradient(circle, hsla(var(--ambient-h),60%,75%,0.45), transparent 70%);
    top: -15%; right: -8%;
    animation: oA 24s ease-in-out infinite alternate;
}
.orb-b {
    width: 500px; height: 500px;
    background: radial-gradient(circle, hsla(var(--ambient-h),40%,60%,0.2), transparent 70%);
    bottom: -10%; left: -5%;
    animation: oB 28s ease-in-out infinite alternate;
}
.orb-c {
    width: 350px; height: 350px;
    background: radial-gradient(circle, hsla(var(--ambient-h),30%,85%,0.5), transparent 70%);
    top: 45%; left: 35%;
    animation: oC 20s ease-in-out infinite alternate;
}
@keyframes oA { to { transform: translate(60px,50px) scale(1.12); } }
@keyframes oB { to { transform: translate(-50px,-30px) scale(1.08); } }
@keyframes oC { to { transform: translate(40px,-60px) scale(1.18); } }

.grain-overlay {
    position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px;
}

#particles-canvas {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}

/* ─── UTILS ─── */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}

/* ─── LAYOUT ─── */
.mp-main {
    position: relative; z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 2rem 60px;
}

/* ─── BREADCRUMB ─── */
.mp-breadcrumb { margin-bottom: 8px; }
.mp-breadcrumb ol {
    display: flex; align-items: center; gap: 0.5rem;
    list-style: none; margin: 0; padding: 0;
    font-size: 0.8rem; color: var(--ink3);
}
.mp-breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.4; }
.mp-breadcrumb a { color: var(--b); text-decoration: none; }
.mp-breadcrumb a:hover { text-decoration: underline; }

/* ─── HERO ─── */
.mp-hero { text-align: center; margin-bottom: 36px; }

.mp-title {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    display: flex; flex-direction: column; align-items: center;
    gap: 0.1em;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800; line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--ink); margin: 0 0 16px;
}

/* Kicker — small uppercase editorial line */
.mp-kicker {
    display: block;
    font-size: 0.35em;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink3);
    line-height: 1;
    margin-bottom: 0.15em;
}

/* Typewriter word — big gradient brand color */
.mp-title .typewriter-container {
    display: block;
    min-height: 1.15em;
    position: relative;
    font-size: 1.05em;
    line-height: 1.05;
}
.mp-title .typewriter-text {
    background: linear-gradient(135deg, var(--b) 0%, var(--b-l) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* "Calculator" suffix — solid color, matching weight */
.mp-title-suffix {
    display: block;
    font-size: 1em;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.05;
}

.mp-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.7;
    color: var(--ink3); margin: 0;
    letter-spacing: 0.01em;
    font-weight: 500;
}

/* Entrance animations */
.mp-hero .hero-enter {
    opacity: 0;
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
    animation-fill-mode: both;
    animation-name: mp-hero-slide-up;
}
.mp-hero .hero-enter-1 { animation: none; opacity: 1; transform: none; }
.mp-hero .hero-enter-2 { animation-delay: 0.4s; }

@keyframes mp-hero-slide-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .mp-hero .hero-enter { animation: none; opacity: 1; transform: none; }
}

/* ─── RECIPE PRESETS ─── */
.presets-row {
    display: flex; gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.preset-card {
    display: flex; flex-direction: column;
    align-items: center; gap: 5px;
    padding: 14px 20px 12px;
    border: 1.5px solid rgba(125,99,64,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    font-family: inherit;
    min-width: 88px;
}
.preset-card {
    transform-style: preserve-3d;
    perspective: 400px;
}
.preset-card:hover {
    border-color: var(--b);
    box-shadow: 0 8px 24px rgba(125,99,64,0.12);
}
.preset-card:active {
    transform: translateY(-1px) scale(0.97);
    transition-duration: 0.1s;
}
.preset-card.active {
    background: linear-gradient(135deg, var(--b), var(--b-l));
    border-color: var(--b);
    color: var(--w);
    box-shadow: 0 4px 16px rgba(125,99,64,0.3);
    animation: presetGlow 2s ease-in-out infinite alternate;
}
@keyframes presetGlow {
    0% { box-shadow: 0 4px 16px rgba(125,99,64,0.3); }
    100% { box-shadow: 0 4px 24px rgba(168,135,94,0.45), 0 0 0 2px rgba(168,135,94,0.1); }
}
.preset-card.active .preset-hyd { color: rgba(255,255,255,0.7); }
.preset-icon {
    display: flex; align-items: center; justify-content: center;
    color: var(--b); opacity: 0.7;
    transition: opacity 0.2s;
}
.preset-card:hover .preset-icon { opacity: 1; }
.preset-card.active .preset-icon { color: rgba(255,255,255,0.85); opacity: 1; }
.preset-name { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; }
.preset-hyd { font-size: 0.68rem; font-weight: 600; color: var(--ink3); }

/* ─── MODE TABS ─── */
.mp-modes {
    max-width: 600px;
    margin: 0 auto 28px;
    position: relative;
    z-index: 60;
}

/* ─── ABBR TOOLTIPS (SEO & UX) ─── */
abbr[title] {
    text-decoration: underline dotted;
    text-decoration-color: var(--b-l);
    cursor: help;
    transition: color 0.2s;
}
abbr[title]:hover {
    color: var(--b);
}
.mp-mode-row {
    display: flex; align-items: center; gap: 10px;
}
.mp-mode-tabs {
    flex: 1;
    display: flex; gap: 5px;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(16px);
    border-radius: 14px;
    padding: 5px;
    box-shadow: 0 2px 16px rgba(125,99,64,0.05), 0 1px 2px rgba(0,0,0,0.03);
    border: 1px solid rgba(125,99,64,0.06);
}
.mp-mode-tab {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 12px 14px;
    border: none; border-radius: 10px;
    font-size: 0.88rem; font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    background: transparent;
    color: var(--ink3);
    font-family: inherit;
    white-space: nowrap;
}
.mp-mode-tab.active {
    background: linear-gradient(135deg, var(--b), var(--b-l));
    color: var(--w);
    box-shadow: 0 4px 16px rgba(125,99,64,0.3);
    animation: presetGlow 2s ease-in-out infinite alternate;
}
.mp-mode-locked {
    opacity: 0.45;
    cursor: pointer;
}
.mp-mode-locked:hover {
    opacity: 0.7;
    background: rgba(125,99,64,0.04);
}

/* ─── WORKSPACE ─── */
.mp-workspace {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: start;
    position: relative; z-index: 5;
    max-width: 100%;
}

.mp-controls {
    display: flex; flex-direction: column; gap: 14px;
}

/* ─── CARD ─── */
.mp-card {
    position: relative;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(30px) saturate(1.4);
    -webkit-backdrop-filter: blur(30px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 22px;
    padding: 34px;
    box-shadow:
        0 1px 2px rgba(125,99,64,0.04),
        0 8px 32px rgba(125,99,64,0.06),
        0 32px 64px rgba(125,99,64,0.05);
}
.mp-card-shine {
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent 10%, rgba(255,255,255,0.8) 50%, transparent 90%);
    pointer-events: none;
    border-radius: 22px 22px 0 0;
}

/* ─── FIELD ─── */
.mp-field { margin-bottom: 24px; }
.mp-field:last-child { margin-bottom: 0; }
.mp-field-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 10px;
}
.mp-field-header label {
    font-size: 0.76rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--ink3);
}
.mp-pill {
    font-size: 0.72rem; font-weight: 700;
    color: var(--b);
    background: rgba(125,99,64,0.07);
    padding: 3px 10px; border-radius: 6px;
}

/* ─── MEGA INPUT ─── */
.mp-input-mega {
    display: flex; align-items: center;
    background: var(--w);
    border: 2px solid var(--stone);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
}
.mp-input-mega:focus-within {
    border-color: var(--b);
    box-shadow: 0 0 0 4px rgba(125,99,64,0.07), 0 6px 20px rgba(125,99,64,0.06);
}
.mp-input-mega input {
    flex: 1; border: none; outline: none;
    background: transparent;
    font-size: 2.6rem; font-weight: 800;
    color: var(--ink);
    padding: 14px 0 14px 20px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    letter-spacing: -0.5px; min-width: 0;
}
.mp-input-mega input::-webkit-outer-spin-button,
.mp-input-mega input::-webkit-inner-spin-button { -webkit-appearance: none; }
.mp-input-mega input[type=number] { -moz-appearance: textfield; }

/* Clear button in mega input */
.mp-mega-clear {
    width: 30px; height: 30px;
    border: none; background: rgba(125,99,64,0.06);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--ink3);
    opacity: 0; transition: opacity 0.15s, background 0.15s, color 0.15s;
    flex-shrink: 0; margin-right: 6px;
}
.mp-input-mega:hover .mp-mega-clear,
.mp-input-mega:focus-within .mp-mega-clear { opacity: 0.5; }
.mp-mega-clear:hover { opacity: 1 !important; background: rgba(204,68,68,0.1); color: var(--danger); }

.mp-unit-label {
    font-size: 1.1rem; font-weight: 700;
    color: var(--ink3); padding: 4px 10px;
    margin-right: 4px;
    min-width: 32px;
    text-align: center;
    user-select: none;
}
.mp-unit-wrap {
    position: relative; flex: 0 0 auto; align-self: center;
}
.mp-unit-toggle {
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--b);
    height: 48px; width: 48px;
}

/* Unit dropdown panel */
.mp-unit-dd {
    position: absolute; top: calc(100% + 6px); right: 0;
    min-width: 150px;
    background: #ffffff;
    border: 1px solid var(--stone);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(125,99,64,0.15), 0 4px 12px rgba(0,0,0,0.06);
    padding: 4px;
    z-index: 100;
    display: none; flex-direction: column;
}
.mp-unit-dd.open {
    display: flex;
    animation: ddIn 0.2s cubic-bezier(0.16,1,0.3,1);
}
.mp-unit-dd button {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; border: none;
    background: transparent;
    font-size: 0.85rem; font-weight: 600;
    color: var(--ink); border-radius: 8px;
    cursor: pointer; transition: background 0.12s;
    text-align: left; font-family: inherit;
    width: 100%;
}
.mp-unit-dd button:hover { background: var(--sand); }
.mp-unit-dd button.active {
    background: var(--sand); font-weight: 800; color: var(--b);
}
.mp-unit-hint {
    font-weight: 400; color: var(--ink3); font-size: 0.72rem; margin-left: auto;
}

/* Dark mode */
.mp-body.dark .mp-unit-toggle { color: #d4c8b6; }
.mp-body.dark .mp-unit-dd {
    background: #252018;
    border-color: rgba(125,99,64,0.15);
}
.mp-body.dark .mp-unit-dd button { color: #f0ebe2; }
.mp-body.dark .mp-unit-dd button:hover { background: rgba(125,99,64,0.1); }
.mp-body.dark .mp-unit-dd button.active { background: rgba(125,99,64,0.15); color: #d4c8b6; }
.mp-input-spinner {
    display: flex; flex-direction: column;
    border-left: 1px solid var(--stone);
    align-self: stretch;
}
.mp-spin {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 0 14px; border: none; background: transparent;
    color: var(--ink3); cursor: pointer; transition: all 0.15s;
}
.mp-spin:hover { background: var(--sand); color: var(--b); }
.mp-spin:active { transform: scale(0.88); }
.mp-spin + .mp-spin { border-top: 1px solid var(--stone); }

/* ─── HYDRATION VALUE ─── */
.mp-hyd-value { display: flex; align-items: baseline; gap: 1px; width: 80px; flex-shrink: 0; justify-content: flex-end; }
.mp-hyd-num {
    font-size: 2rem; font-weight: 800;
    color: var(--b); letter-spacing: -1px; line-height: 1;
    display: inline-block; min-width: 2.5ch; text-align: right;
    font-variant-numeric: tabular-nums;
}
.mp-hyd-pct { font-size: 0.95rem; font-weight: 700; color: var(--b-l); }

/* ─── LIQUID TOGGLE (Water / Milk) ─── */
.mp-liquid-toggle {
    position: relative;
    display: flex;
    background: rgba(125,99,64,0.07);
    border-radius: 8px;
    padding: 2px;
    gap: 2px;
    flex-shrink: 0;
}
.mp-liq-btn {
    position: relative; z-index: 1;
    display: flex; align-items: center; gap: 4px;
    border: none; background: transparent;
    padding: 4px 10px;
    font-size: 0.7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.8px;
    color: var(--ink3);
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.25s;
    font-family: inherit;
    white-space: nowrap;
}
.mp-liq-btn.active { color: var(--b); font-weight: 700; }
.mp-liq-btn:hover:not(.active) { color: var(--ink2); }
.mp-liq-slider {
    position: absolute;
    top: 2px; left: 2px;
    width: calc(50% - 2px);
    height: calc(100% - 4px);
    background: var(--w);
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
.mp-liquid-toggle[data-active="Milk"] .mp-liq-slider {
    transform: translateX(100%);
}

/* ─── CUSTOM SLIDER ─── */
.mp-slider-wrap { position: relative; padding: 8px 0 4px; }

/* Zones row — clickable bread type segments */
.mp-slider-zones {
    display: flex; gap: 3px;
    margin-bottom: 20px;
    height: 6px;
    border-radius: 3px;
}
.mp-zone {
    flex: 1; border: none; padding: 0;
    cursor: pointer; position: relative;
    background: transparent;
    transition: transform 0.2s;
    padding-top: 14px; margin-top: -14px;
    border-radius: 3px;
    overflow: visible;
}
.mp-zone:hover .mp-zone-fill { transform: scaleY(1.8); }
.mp-zone.pulse { animation: zonePulse 0.4s ease-out; }
@keyframes zonePulse {
    0% { transform: scaleY(1); }
    30% { transform: scaleY(2.5) scaleX(1.1); }
    60% { transform: scaleY(1.6); }
    100% { transform: scaleY(1); }
}
.mp-zone-fill {
    display: block; width: 100%; height: 100%;
    border-radius: 3px;
    transition: opacity 0.3s, transform 0.2s;
}
.mp-zone-fill[data-feel="stiff"]  { background: #d4c8b6; }
.mp-zone-fill[data-feel="smooth"] { background: #8cb878; }
.mp-zone-fill[data-feel="sticky"] { background: #d4a843; }
.mp-zone-fill[data-feel="wet"]    { background: #b87840; }
.mp-zone.active .mp-zone-fill { opacity: 1; box-shadow: 0 0 8px rgba(125,99,64,0.3); }

/* Zone rich tooltips */
.mp-zone[data-tip] { position: relative; }
.mp-zone-tip {
    position: absolute; bottom: calc(100% + 14px); left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--ink); color: var(--w);
    font-size: 0.68rem; font-weight: 500; line-height: 1.45;
    padding: 8px 12px;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 20;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    text-align: center;
}
.mp-zone-tip::after {
    content: '';
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--ink);
}
.mp-zone-tip .mp-zt-name {
    font-weight: 700; font-size: 0.75rem; display: block; margin-bottom: 2px;
    color: var(--b-l);
}
.mp-zone-tip .mp-zt-detail {
    opacity: 0.75; display: block;
}
.mp-zone:hover .mp-zone-tip,
.mp-zone:focus .mp-zone-tip {
    opacity: 1; transform: translateX(-50%) translateY(0);
}
/* Keep tooltip within viewport for edge zones */
.mp-slider-zones .mp-zone:first-child .mp-zone-tip { left: 0; transform: translateX(0) translateY(4px); }
.mp-slider-zones .mp-zone:first-child:hover .mp-zone-tip { transform: translateX(0) translateY(0); }
.mp-slider-zones .mp-zone:first-child .mp-zone-tip::after { left: 12px; transform: none; }
.mp-slider-zones .mp-zone:last-child .mp-zone-tip { left: auto; right: 0; transform: translateX(0) translateY(4px); }
.mp-slider-zones .mp-zone:last-child:hover .mp-zone-tip { transform: translateX(0) translateY(0); }
.mp-slider-zones .mp-zone:last-child .mp-zone-tip::after { left: auto; right: 12px; transform: none; }

/* Slider track + fill overlay */
.mp-slider-track {
    position: absolute;
    left: 0; right: 0;
    top: 50%; transform: translateY(-50%);
    height: 10px;
    border-radius: 5px;
    background: var(--sand);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.mp-slider-fill {
    height: 100%;
    background: linear-gradient(to right, var(--b-l), var(--b), #6a8caa);
    border-radius: 5px;
    transform-origin: left center;
    transform: scaleX(0.36);
    will-change: transform;
}

/* Range input — transparent, sits on top */
.mp-slider-wrap { position: relative; }
.mp-slider-input {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 10px;
    border-radius: 5px;
    background: transparent;
    outline: none; cursor: pointer;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Slider tooltip */
.mp-slider-tooltip {
    position: absolute;
    top: -38px; left: 36%;
    transform: translateX(-50%);
    background: var(--ink);
    color: var(--w);
    font-size: 0.72rem; font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s, transform 0.15s;
    z-index: 10;
}
.mp-slider-tooltip::after {
    content: '';
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--ink);
}
.mp-slider-input:hover ~ .mp-slider-tooltip,
.mp-slider-input:active ~ .mp-slider-tooltip,
.mp-slider-tooltip.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}
.mp-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 32px; height: 32px; border-radius: 50%;
    background: radial-gradient(circle at 36% 36%, #c9935e 0%, #8B6030 50%, #6b4420 100%);
    border: 2px solid #5a3518;
    box-shadow: 0 4px 12px rgba(90,53,24,0.35), inset 0 1px 2px rgba(255,255,255,0.15);
    cursor: grab;
    transition: box-shadow 0.2s;
}
.mp-slider-input::-webkit-slider-thumb:hover {
    box-shadow: 0 6px 20px rgba(90,53,24,0.45), 0 0 0 6px rgba(125,99,64,0.08);
}
.mp-slider-input:active::-webkit-slider-thumb {
    cursor: grabbing;
    box-shadow: 0 8px 24px rgba(90,53,24,0.5), inset 0 1px 2px rgba(255,255,255,0.1);
}
.mp-slider-input:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(139,111,71,0.15), 0 4px 12px rgba(90,53,24,0.3);
}
.mp-slider-input::-moz-range-thumb {
    width: 28px; height: 28px; border-radius: 50%;
    background: radial-gradient(circle at 36% 36%, #c9935e 0%, #8B6030 50%, #6b4420 100%);
    border: 2px solid #5a3518;
    box-shadow: 0 4px 12px rgba(90,53,24,0.35); cursor: grab;
}
.mp-slider-input::-moz-range-track {
    height: 10px; background: transparent; border-radius: 5px; border: none;
}
.mp-slider-input::-moz-range-progress { background: transparent; }

/* Snap ripple */
.mp-slider-ripple {
    position: absolute; width: 48px; height: 48px;
    border-radius: 50%; pointer-events: none; z-index: 2;
    background: radial-gradient(circle, rgba(125,99,64,0.3), transparent 70%);
    transform: translate(-50%,-50%) scale(0);
    animation: sliderRipple 0.5s ease-out forwards;
}
@keyframes sliderRipple {
    0% { transform: translate(-50%,-50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%,-50%) scale(2.5); opacity: 0; }
}

/* Sparkle burst on arc gauge */
.mp-sparkle {
    position: absolute; width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--b-l);
    pointer-events: none; z-index: 10;
    animation: sparkBurst 0.6s ease-out forwards;
}
.mp-sparkle:nth-child(odd) { background: #d4a843; width: 4px; height: 4px; }
@keyframes sparkBurst {
    0% { transform: translate(0,0) scale(1); opacity: 1; }
    100% { transform: translate(var(--sx),var(--sy)) scale(0); opacity: 0; }
}

/* Floating ingredient badge */
.mp-float-badge {
    position: fixed; z-index: 9999;
    padding: 6px 14px;
    background: var(--b);
    color: #fff;
    font-size: 0.72rem; font-weight: 700;
    border-radius: 100px;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(125,99,64,0.35);
    animation: floatBadge 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
    white-space: nowrap;
}
@keyframes floatBadge {
    0% { transform: scale(0.5) translateY(0); opacity: 0; }
    20% { transform: scale(1.1) translateY(-10px); opacity: 1; }
    100% { transform: scale(0.6) translateY(-60px); opacity: 0; }
}

.mp-slider-labels {
    display: flex; justify-content: space-between;
    margin-top: 18px; padding: 0 2px;
}
.mp-slider-labels span {
    font-size: 0.6rem; font-weight: 600;
    color: var(--ink3); opacity: 0.55;
    transition: opacity 0.3s, transform 0.3s;
}
.mp-slider-labels span:hover {
    opacity: 1; transform: scale(1.08);
}

/* ─── DOUGH FEEL ─── */
.mp-feel-row {
    display: flex; align-items: center; gap: 12px;
    margin-top: 14px; flex-wrap: wrap;
}
.mp-feel-badge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 14px; border-radius: 100px;
    font-size: 0.82rem; font-weight: 600;
    transition: all 0.35s;
    border: 1px solid transparent;
}
.mp-feel-dot {
    width: 7px; height: 7px; border-radius: 50%;
    transition: background 0.3s;
}
.mp-feel-badge[data-feel="stiff"]  { background: #f0ebe3; color: #8a7e6e; border-color: #ddd6cc; }
.mp-feel-badge[data-feel="stiff"]  .mp-feel-dot { background: #8a7e6e; }
.mp-feel-badge[data-feel="smooth"] { background: #e9f0e5; color: #5a7a4c; border-color: #d0dfc8; }
.mp-feel-badge[data-feel="smooth"] .mp-feel-dot { background: #5a7a4c; }
.mp-feel-badge[data-feel="sticky"] { background: #faf0db; color: #9a7530; border-color: #e8d8a8; }
.mp-feel-badge[data-feel="sticky"] .mp-feel-dot { background: #9a7530; }
.mp-feel-badge[data-feel="wet"]    { background: #f5e8d8; color: #8a5e36; border-color: #e0ccb0; }
.mp-feel-badge[data-feel="wet"]    .mp-feel-dot { background: #8a5e36; }

.mp-feel-bread {
    font-size: 0.82rem; font-weight: 600;
    color: var(--ink3); font-style: italic;
}

/* ─── FINE-TUNING DETAILS ─── */
.mp-details {
    border: 1px solid rgba(125,99,64,0.06);
    border-radius: 14px;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    overflow: hidden;
}
.mp-details-summary {
    display: flex; align-items: center; gap: 8px;
    padding: 15px 22px;
    font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--ink3);
    cursor: pointer; user-select: none;
    list-style: none;
}
.mp-details-summary::-webkit-details-marker { display: none; }
.mp-details-summary svg:first-child { opacity: 0.5; }
.mp-chevron {
    margin-left: auto;
    transition: transform 0.3s;
}
.mp-details[open] .mp-chevron { transform: rotate(180deg); }
.mp-details-body {
    padding: 0 20px 16px;
    animation: detailsSlide 0.3s cubic-bezier(0.16,1,0.3,1);
}
@keyframes detailsSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Toggle highlight flash */
.mp-toggle.flash .mp-toggle-track {
    box-shadow: 0 0 0 4px rgba(125,99,64,0.15);
    transition: box-shadow 0.15s;
}

.mp-toggle {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 0; cursor: pointer;
    font-size: 0.84rem; color: var(--ink2);
}
.mp-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.mp-toggle-track {
    flex-shrink: 0;
    width: 36px; height: 20px;
    background: #ddd4c4;
    border-radius: 10px;
    position: relative;
    transition: background 0.2s;
}
.mp-toggle-thumb {
    position: absolute;
    top: 2px; left: 2px;
    width: 16px; height: 16px;
    background: var(--w);
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.mp-toggle input:checked + .mp-toggle-track {
    background: var(--b);
}
.mp-toggle input:checked + .mp-toggle-track .mp-toggle-thumb {
    transform: translateX(16px);
}
.mp-toggle-locked {
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.2s;
}
.mp-toggle-locked:hover { opacity: 0.8; }
.mp-toggle-track-locked {
    background: #ddd4c4;
}

/* ─── SECTION LABEL ─── */
.mp-section-label {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 20px;
}
.mp-section-label::before, .mp-section-label::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(90deg, transparent, var(--stone), transparent);
}
.mp-section-label span {
    font-size: 0.74rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--ink3); white-space: nowrap;
}

/* ─── INGREDIENT CARDS ─── */
.mp-ing-grid { display: flex; flex-direction: column; gap: 7px; }
.mp-ing-grid + .mp-ing-grid:not(:empty) { margin-top: 7px; }

.mp-ing {
    display: grid;
    grid-template-columns: 42px 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--w);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(125,99,64,0.04), 0 4px 12px rgba(125,99,64,0.03);
    border-left: 3px solid transparent;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    animation: ingIn 0.35s cubic-bezier(0.16,1,0.3,1) backwards;
}
.mp-ing:hover {
    border-left-color: var(--b);
    box-shadow: 0 4px 20px rgba(125,99,64,0.1);
    transform: translateX(3px);
}
.mp-ing:hover .mp-ing-bar-fill {
    box-shadow: 0 0 8px rgba(168,135,94,0.4);
}
.mp-ing:hover .mp-ing-val {
    color: var(--b);
}
.mp-ing.primary { box-shadow: 0 1px 4px rgba(125,99,64,0.06), 0 4px 16px rgba(125,99,64,0.05); }
.mp-ing.preferment { }

@keyframes ingIn {
    0% { opacity: 0; transform: translateY(12px) scale(0.95); filter: blur(4px); }
    60% { opacity: 1; transform: translateY(-2px) scale(1.01); filter: blur(0); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.mp-ing-icon {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    background: var(--sand);
    border-radius: 11px;
    color: var(--ink3);
    transition: color 0.2s;
}
.mp-ing:hover .mp-ing-icon { color: var(--b); }
.mp-ing.primary .mp-ing-icon { background: rgba(125,99,64,0.08); color: var(--b); }
.mp-ing.preferment .mp-ing-icon { background: rgba(125,99,64,0.05); color: var(--ink3); }
.mp-ing.preferment:hover .mp-ing-icon { color: var(--b); }

.mp-ing-body { min-width: 0; }
.mp-ing-name {
    font-size: 0.9rem; font-weight: 700; color: var(--ink);
    margin-bottom: 2px;
}
.mp-ing-name-input {
    font-size: 0.9rem; font-weight: 700; color: var(--ink);
    margin-bottom: 2px; border: none; border-bottom: 1.5px solid transparent;
    background: transparent; outline: none; width: 100%; padding: 0 0 2px;
    font-family: inherit; transition: border-color 0.2s;
}
.mp-ing:hover .mp-ing-name-input { border-bottom-color: var(--stone); }
.mp-ing-name-input:focus { border-bottom-color: var(--b); }
.mp-ing-name-input::placeholder { color: var(--ink3); font-weight: 400; font-style: italic; }
.mp-ing-inputs {
    display: flex; align-items: center; gap: 3px;
    position: relative;
}
.mp-ing-pct {
    border: 1.5px solid transparent;
    background: var(--sand);
    font-size: 0.95rem; font-weight: 700;
    color: var(--b); width: 52px;
    outline: none; padding: 5px 8px;
    border-radius: 8px;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    -moz-appearance: textfield; font-family: inherit;
}
.mp-ing-pct:hover {
    border-color: rgba(125,99,64,0.2);
    background: var(--w);
}
.mp-ing-pct:focus {
    border-color: var(--b);
    background: var(--w);
    outline: none;
    box-shadow: 0 0 0 3px rgba(125,99,64,0.08);
}
.mp-ing-pct.invalid {
    border-color: var(--danger);
    color: var(--danger);
    animation: shake 0.3s ease;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}
.mp-ing-pct::-webkit-outer-spin-button,
.mp-ing-pct::-webkit-inner-spin-button { -webkit-appearance: none; }
.mp-ing-suffix { font-size: 0.78rem; font-weight: 600; color: var(--b-l); margin-right: 2px; }

/* Clear button on inputs */
.mp-ing-clear {
    width: 28px; height: 28px;
    border: none; background: rgba(125,99,64,0.06);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--ink3);
    opacity: 0;
    transition: opacity 0.15s, background 0.15s, color 0.15s;
    margin-left: 4px; flex-shrink: 0;
}
.mp-ing-clear svg { width: 12px; height: 12px; }
.mp-ing:hover .mp-ing-clear,
.mp-ing-pct:focus ~ .mp-ing-clear { opacity: 0.6; }
.mp-ing-clear:hover { opacity: 1 !important; background: rgba(204,68,68,0.1); color: var(--danger); }

/* Proportional bar */
.mp-ing-bar {
    width: 100%; height: 3px;
    background: var(--sand);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 6px;
}
.mp-ing-bar-fill {
    height: 100%;
    background: var(--b-l);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
    max-width: 100%;
}
.mp-ing.preferment .mp-ing-bar-fill { background: var(--b-l); }

/* Preferment hydration inline */
.mp-pref-hyd-sep {
    color: var(--ink3); font-size: 0.8rem; margin: 0 1px;
}
.mp-pref-hyd-label {
    font-size: 0.6rem; color: var(--ink3); white-space: nowrap;
}
.mp-pref-hyd-input {
    color: #4A90B8 !important; max-width: 44px;
}


.mp-ing-weight {
    text-align: right; white-space: nowrap;
}
.mp-ing-val {
    font-size: 1.35rem; font-weight: 800;
    color: var(--ink); letter-spacing: -0.3px;
    transition: color 0.25s, transform 0.15s;
}
.mp-ing-val.pulse {
    animation: valPulse 0.35s ease;
}
@keyframes valPulse {
    0% { transform: scale(1); }
    40% { transform: scale(1.12); color: var(--b); }
    100% { transform: scale(1); }
}

.mp-ing-g {
    font-size: 0.72rem; font-weight: 600;
    color: var(--ink3); margin-left: 2px;
}

.mp-ing-del {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border: none; background: transparent;
    color: var(--ink3); border-radius: 8px;
    cursor: pointer; transition: all 0.2s;
    opacity: 0;
}
.mp-ing-del svg { width: 14px; height: 14px; }
.mp-ing:hover .mp-ing-del { opacity: 0.4; }
.mp-ing-del:hover { opacity: 1 !important; background: rgba(204,68,68,0.08); color: var(--danger); transform: scale(1.1); }

/* Undo toast */
.mp-undo-toast {
    position: fixed; bottom: 24px; left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--ink); color: var(--w);
    padding: 12px 20px; border-radius: 12px;
    display: flex; align-items: center; gap: 14px;
    font-size: 0.85rem; font-weight: 600;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    z-index: 100;
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.35s;
    pointer-events: none;
}
.mp-undo-toast.visible {
    opacity: 1; transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.mp-undo-toast button {
    background: rgba(255,255,255,0.15); border: none;
    color: var(--w); padding: 5px 14px; border-radius: 8px;
    font-size: 0.8rem; font-weight: 700; cursor: pointer;
    transition: background 0.15s;
}
.mp-undo-toast button:hover { background: rgba(255,255,255,0.25); }

/* ─── EMPTY STATE ─── */
.mp-empty-state {
    text-align: center; padding: 20px 10px;
    color: var(--ink3); font-size: 0.82rem;
}
.mp-empty-state-icon {
    font-size: 2rem; margin-bottom: 8px;
    opacity: 0.4;
}
.mp-empty-state p {
    margin: 0; line-height: 1.5;
    font-style: italic; opacity: 0.6;
}

/* ─── ADD BUTTONS ─── */
.mp-add-row {
    display: flex; gap: 8px; margin-top: 12px;
}
.mp-add-wrap { position: relative; flex: 1; }
.mp-add-btn {
    width: 100%; padding: 12px 10px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    border: 1.5px dashed rgba(125,99,64,0.15);
    border-radius: 11px; background: transparent;
    color: var(--ink3);
    font-size: 0.82rem; font-weight: 600;
    cursor: pointer; transition: all 0.25s;
    font-family: inherit;
}
.mp-add-pref { border-color: rgba(126,184,216,0.25); }
.mp-add-btn:hover {
    border-color: var(--b); color: var(--b);
    background: rgba(125,99,64,0.02);
}
.mp-add-pref:hover {
    border-color: #5a9dc0; color: #4A90B8;
    background: rgba(126,184,216,0.03);
}

/* Shimmer attract attention */
.mp-add-btn.shimmer {
    animation: addShimmer 2s ease-in-out;
}
@keyframes addShimmer {
    0%, 100% { border-color: rgba(125,99,64,0.15); }
    30% { border-color: var(--b-l); background: rgba(125,99,64,0.04); transform: scale(1.01); }
    60% { border-color: rgba(125,99,64,0.15); background: transparent; transform: scale(1); }
}

/* Dropdown */
.mp-dropdown {
    position: absolute; top: calc(100% + 4px);
    left: 0; right: 0;
    background: var(--w);
    border: 1px solid var(--stone);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(125,99,64,0.15), 0 4px 12px rgba(0,0,0,0.06);
    padding: 4px; z-index: 50;
    display: none; flex-direction: column;
    max-height: 300px; overflow-y: auto;
}
.mp-dropdown.open {
    display: flex;
    animation: ddIn 0.2s cubic-bezier(0.16,1,0.3,1);
}
@keyframes ddIn { from { opacity: 0; transform: translateY(-6px); } }
.mp-dropdown-cat {
    font-size: 0.6rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--ink3); padding: 8px 12px 3px; opacity: 0.6;
}
.mp-dropdown button {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 12px; border: none; background: transparent;
    font-size: 0.82rem; font-weight: 500;
    color: var(--ink); border-radius: 8px;
    cursor: pointer; transition: background 0.12s;
    text-align: left; font-family: inherit;
}
.mp-dropdown button:hover { background: var(--sand); }
.mp-dropdown button[data-ing="Custom"] {
    font-weight: 600; border-bottom: 1px solid var(--stone); margin-bottom: 2px;
    padding-bottom: 10px;
}
.mp-dropdown-app {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px;
    margin-top: 2px;
    border-top: 1px solid var(--stone);
    font-size: 0.72rem; font-weight: 700;
    color: var(--b);
    text-decoration: none;
    transition: background 0.12s;
    border-radius: 0 0 8px 8px;
}
.mp-dropdown-app:hover { background: rgba(125,99,64,0.06); }
.mp-dropdown-app svg { opacity: 0.5; flex-shrink: 0; }

/* ─── TOTAL (mobile) ─── */
.mp-total-mobile {
    display: none;
    align-items: center; justify-content: center; gap: 8px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--b-d), var(--b));
    border-radius: 16px; color: var(--w);
    box-shadow: 0 6px 24px rgba(125,99,64,0.25);
}
.mp-total-label { font-size: 0.8rem; font-weight: 600; opacity: 0.7; }
.mp-total-val {
    font-size: 1.8rem; font-weight: 800;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    letter-spacing: -0.5px;
}
.mp-total-unit { font-size: 0.9rem; font-weight: 600; opacity: 0.7; }
.mp-total-divider {
    width: 1px; height: 24px;
    background: rgba(255,255,255,0.2);
    margin: 0 4px;
}
.mp-total-hyd {
    font-size: 1rem; font-weight: 700;
    opacity: 0.85;
    letter-spacing: -0.3px;
}

/* ─── VISUAL SIDEBAR ─── */
.mp-visual { position: relative; }
.mp-visual-sticky {
    position: sticky; top: 5rem;
    display: flex; flex-direction: column;
    gap: 24px;
}

/* BREAD + HYDRATION CARD */
.mp-bread-card {
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s;
}
.mp-bread-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 1px 2px rgba(125,99,64,0.04),
        0 12px 40px rgba(125,99,64,0.1),
        0 32px 64px rgba(125,99,64,0.06);
}
.mp-bread-card { overflow: hidden; }
.mp-bread-card .mp-bread-photo {
    position: relative;
    width: calc(100% + 68px);
    margin: -34px -34px 0;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}
.mp-bread-caption {
    font-size: 0.72rem; font-weight: 500;
    font-style: italic;
    color: var(--ink3);
    text-align: center;
    margin-top: 16px; margin-bottom: -4px;
    line-height: 1.4;
    transition: opacity 0.4s;
    min-height: calc(2 * 1.4em);
}
.mp-crumb {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease, filter 0.8s ease;
}
.mp-crumb.active { opacity: 1; }
.mp-crumb img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 8s cubic-bezier(0.4,0,0.2,1);
    transform: scale(1.02);
}
.mp-crumb.active img {
    animation: kenBurns 16s ease-in-out infinite alternate;
}
@keyframes kenBurns {
    0% { transform: scale(1) translate(0,0); }
    100% { transform: scale(1.08) translate(-1%,-1%); }
}
.mp-bread-card:hover .mp-crumb.active img {
    animation-play-state: paused;
    transform: scale(1.06);
}
.mp-bread-photo.morph .mp-crumb img {
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1) !important;
}
.mp-bread-photo.morph-out .mp-crumb.active img { transform: scale(0.92); }
.mp-bread-photo.morph-in .mp-crumb.active img { animation: breadMorphIn 0.5s ease-out; }
@keyframes breadMorphIn {
    0% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* HYDRATION DISPLAY — compact */
.mp-bread-bottom {
    display: flex; align-items: center;
    gap: 14px;
    margin-top: 18px;
    min-height: 80px;
}
.mp-hyd-hero {
    text-align: center;
    flex: 1;
}

/* Arc gauge */
.mp-arc-wrap {
    position: relative;
    width: 150px; margin: 0 auto;
}
.mp-arc-gauge {
    width: 100%; display: block;
}
.mp-arc-bg {
    stroke: var(--sand);
}
.mp-arc-fill {
    stroke: var(--b);
    stroke-dasharray: 157;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 0.4s cubic-bezier(0.4,0,0.2,1), stroke 0.4s;
}
.mp-arc-value {
    position: absolute;
    bottom: -2px; left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
}
.mp-hyd-big {
    font-size: 2rem; font-weight: 900;
    color: var(--b); line-height: 1;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    letter-spacing: -0.04em;
    transition: color 0.6s;
    white-space: nowrap;
    display: inline-block;
    min-width: 3ch;
}
.mp-hyd-label {
    display: block;
    font-size: 0.55rem; font-weight: 700;
    color: var(--ink3); margin-top: 1px;
    text-transform: uppercase; letter-spacing: 0.08em;
    white-space: nowrap;
}
.mp-bread-meta {
    flex: 1;
    text-align: center;
    border-left: 1px solid var(--stone);
    padding-left: 14px;
    min-height: 58px;
}
.mp-bread-meta-label {
    display: block;
    font-size: 0.6rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--ink3); opacity: 0.6;
    margin-bottom: 4px;
}
.mp-bread-name {
    display: block;
    font-size: 0.95rem; font-weight: 700;
    color: var(--ink);
}
.mp-bread-feel {
    display: block;
    font-size: 0.72rem; font-weight: 600;
    color: var(--ink3);
    font-style: italic;
    margin-top: 2px;
}
.mp-bread-collapse-hint { display: none; }

/* WEIGHT TICKET */
.mp-ticket {
    width: 100%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    border-left: 2px solid rgba(125,99,64,0.12);
    border-right: 2px solid rgba(125,99,64,0.12);
    border-top: none; border-bottom: none;
    padding: 3px;
    box-shadow: 0 3px 0 rgba(125,99,64,0.05), 0 8px 24px rgba(125,99,64,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.mp-ticket::before, .mp-ticket::after {
    content: '';
    position: absolute; left: 0; right: 0; height: 10px;
    background: rgba(255,255,255,0.85);
    z-index: 1;
}
.mp-ticket::before {
    top: -1px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%,
        97% 40%, 94% 100%, 91% 40%, 88% 100%, 85% 40%, 82% 100%,
        79% 40%, 76% 100%, 73% 40%, 70% 100%, 67% 40%, 64% 100%,
        61% 40%, 58% 100%, 55% 40%, 52% 100%, 49% 40%, 46% 100%,
        43% 40%, 40% 100%, 37% 40%, 34% 100%, 31% 40%, 28% 100%,
        25% 40%, 22% 100%, 19% 40%, 16% 100%, 13% 40%, 10% 100%,
        7% 40%, 4% 100%, 1% 40%, 0% 100%);
}
.mp-ticket::after {
    bottom: -1px;
    clip-path: polygon(0% 100%, 100% 100%, 100% 0%,
        97% 60%, 94% 0%, 91% 60%, 88% 0%, 85% 60%, 82% 0%,
        79% 60%, 76% 0%, 73% 60%, 70% 0%, 67% 60%, 64% 0%,
        61% 60%, 58% 0%, 55% 60%, 52% 0%, 49% 60%, 46% 0%,
        43% 60%, 40% 0%, 37% 60%, 34% 0%, 31% 60%, 28% 0%,
        25% 60%, 22% 0%, 19% 60%, 16% 0%, 13% 60%, 10% 0%,
        7% 60%, 4% 0%, 1% 60%, 0% 0%);
}
.mp-ticket:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 0 rgba(125,99,64,0.05), 0 12px 32px rgba(125,99,64,0.1);
}
.mp-ticket-border {
    display: flex; flex-direction: column; align-items: center;
    padding: 20px 24px;
    border: 1.5px dashed rgba(125,99,64,0.12);
    border-radius: 11px;
    position: relative;
}
.mp-ticket-wheat {
    position: absolute; top: 50%; left: 12px;
    transform: translateY(-50%);
    color: var(--b);
}
.mp-ticket-wheat-r { left: auto; right: 12px; }

.mp-ticket-label {
    font-size: 0.6rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--ink3); margin-bottom: 4px;
}
.mp-ticket-weight-row {
    display: flex; align-items: baseline; justify-content: center; gap: 4px;
}
.mp-ticket-num {
    font-size: 2.8rem; font-weight: 900;
    color: var(--b); line-height: 1;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    letter-spacing: -0.02em;
}
.mp-ticket-g {
    font-size: 1.4rem; font-weight: 500;
    color: var(--ink3);
}
.mp-ticket-estimate {
    font-size: 0.68rem; font-weight: 600;
    color: var(--ink3); opacity: 0.6;
    margin-top: 6px;
    font-style: italic;
}
.mp-ticket-border::before {
    content: '';
    position: absolute; inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='60' viewBox='0 0 40 60'%3E%3Cpath d='M20 0v60M15 10c0 3 2.5 5 5 5s5-2 5-5M15 22c0 3 2.5 5 5 5s5-2 5-5M15 34c0 3 2.5 5 5 5s5-2 5-5' fill='none' stroke='%237d6340' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 40px;
    pointer-events: none; border-radius: 11px;
}

/* COMPOSITION BAR — inside ticket */
.mp-comp { padding: 12px 16px 8px; }
.mp-comp-label {
    font-size: 0.6rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--ink3); margin-bottom: 8px;
    text-align: center;
}
.mp-comp-bar {
    display: flex; height: 10px;
    border-radius: 5px; overflow: hidden;
    gap: 2px;
}
.mp-comp-seg {
    border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    transition: flex 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.16,1,0.3,1);
    position: relative; overflow: hidden;
    transform-origin: left center;
}
.mp-comp-bar.building .mp-comp-seg {
    animation: compGrow 0.6s cubic-bezier(0.16,1,0.3,1) both;
}
.mp-comp-bar.building .mp-comp-seg:nth-child(1) { animation-delay: 0s; }
.mp-comp-bar.building .mp-comp-seg:nth-child(2) { animation-delay: 0.08s; }
.mp-comp-bar.building .mp-comp-seg:nth-child(3) { animation-delay: 0.16s; }
@keyframes compGrow {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}
.mp-comp-seg span {
    font-size: 0.5rem; font-weight: 700;
    color: rgba(255,255,255,0.8);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
}
.mp-comp-bar:hover .mp-comp-seg span { opacity: 1; }
#comp-flour { background: #c9a96e; }
.mp-comp-water { background: #7EB8D8; }
.mp-comp-other { background: #b0a090; }

/* Composition tooltips */
.mp-comp-seg[data-tooltip] {
    cursor: pointer;
}
.mp-comp-seg[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute; bottom: calc(100% + 8px); left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--ink); color: var(--w);
    font-size: 0.65rem; font-weight: 600;
    padding: 4px 10px; border-radius: 6px;
    white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 10;
}
.mp-comp-seg[data-tooltip]:hover::after {
    opacity: 1; transform: translateX(-50%) translateY(0);
}

/* ─── APP FUNNEL CARD ─── */
.mp-funnel {
    width: 100%;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(16px);
    border: 1.5px solid rgba(125,99,64,0.1);
    border-radius: 16px;
    padding: 20px 22px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s, opacity 0.4s;
}
.mp-funnel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(125,99,64,0.1);
    border-color: rgba(125,99,64,0.18);
}
.mp-funnel:empty { display: none; }

/* Funnel label */
.mp-funnel-label {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.6rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--b); opacity: 0.65;
    margin-bottom: 10px;
}

/* Preferment breakdown rows */
.mp-funnel-pref { margin-bottom: 12px; }
.mp-funnel-pref:last-of-type { margin-bottom: 0; }
.mp-funnel-pref-name {
    font-size: 0.74rem; font-weight: 700;
    color: var(--ink2); margin-bottom: 4px;
}
.mp-funnel-pref-row {
    display: flex; gap: 8px;
}
.mp-funnel-pref-item {
    flex: 1;
    display: flex; flex-direction: column; align-items: center;
    padding: 8px 6px;
    background: rgba(125,99,64,0.04);
    border: 1px solid rgba(125,99,64,0.08);
    border-radius: 10px;
}
.mp-funnel-pref-val {
    font-size: 1rem; font-weight: 800;
    color: var(--ink); line-height: 1;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}
.mp-funnel-pref-sub {
    font-size: 0.58rem; font-weight: 600;
    color: var(--ink3); margin-top: 2px;
    text-transform: uppercase; letter-spacing: 0.05em;
}

/* Hidden water alert */
.mp-funnel-water {
    margin-top: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(125,99,64,0.06), rgba(125,99,64,0.02));
    border: 1px solid rgba(125,99,64,0.12);
    border-radius: 12px;
}
.mp-funnel-water-title {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.72rem; font-weight: 700;
    color: var(--ink2); margin-bottom: 6px;
}
.mp-funnel-water-title svg { color: var(--b); opacity: 0.7; flex-shrink: 0; }
.mp-funnel-water-text {
    font-size: 0.72rem; line-height: 1.55;
    color: var(--ink3); margin: 0 0 10px;
}
.mp-funnel-water-text strong { color: var(--ink2); font-weight: 700; }

/* Fallback save CTA */
.mp-funnel-save {
    text-align: center;
}
.mp-funnel-save-title {
    font-size: 0.92rem; font-weight: 800;
    color: var(--ink); margin: 0 0 4px;
    line-height: 1.3;
}
.mp-funnel-save-sub {
    font-size: 0.72rem; color: var(--ink3);
    line-height: 1.5; margin: 0 0 14px;
}

/* Shared CTA button */
.mp-funnel-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 20px;
    background: linear-gradient(135deg, var(--b), var(--b-l));
    color: #fff;
    font-weight: 700; font-size: 0.78rem;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(125,99,64,0.25);
}
.mp-funnel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(125,99,64,0.35);
}

/* Divider between sections */
.mp-funnel-divider {
    height: 1px;
    background: rgba(125,99,64,0.1);
    margin: 14px 0;
}

/* ─── SHARE RECIPE ─── */
.mp-share-btn {
    width: 100%;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px;
    background: transparent;
    color: var(--b);
    border: 1.5px solid rgba(125,99,64,0.2);
    border-radius: 12px;
    font-size: 0.82rem; font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.mp-share-btn:hover {
    background: rgba(125,99,64,0.06);
    border-color: rgba(125,99,64,0.3);
}
.mp-share-btn:active { transform: scale(0.97); }
.mp-body.dark .mp-share-btn {
    color: var(--b-l);
    border-color: rgba(168,135,94,0.2);
}
.mp-body.dark .mp-share-btn:hover {
    background: rgba(168,135,94,0.08);
}

/* ─── TIMER TEASER ─── */
.mp-timer-teaser {
    display: flex; align-items: center; gap: 12px;
    width: 100%;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(125,99,64,0.06), rgba(125,99,64,0.02));
    border: 1.5px solid rgba(125,99,64,0.14);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s;
}
.mp-timer-teaser:hover {
    background: linear-gradient(135deg, rgba(125,99,64,0.1), rgba(125,99,64,0.04));
    border-color: rgba(125,99,64,0.24);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(125,99,64,0.1);
}
.mp-timer-teaser svg:first-child {
    flex-shrink: 0;
    color: var(--b); opacity: 0.8;
}
.mp-timer-teaser-text {
    flex: 1;
    font-size: 0.76rem; line-height: 1.4;
    color: var(--ink3);
}
.mp-timer-teaser-text strong {
    display: block;
    font-size: 0.82rem; font-weight: 700;
    color: var(--ink);
}
@keyframes timer-nudge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
.mp-timer-teaser.nudge svg:first-child {
    animation: timer-nudge 0.4s ease;
}
.mp-timer-teaser-arrow {
    flex-shrink: 0;
    color: var(--b); opacity: 0.4;
    transition: transform 0.2s, opacity 0.2s;
}
.mp-timer-teaser:hover .mp-timer-teaser-arrow {
    transform: translateX(3px); opacity: 0.8;
}
.mp-body.dark .mp-timer-teaser {
    background: linear-gradient(135deg, rgba(125,99,64,0.08), rgba(35,30,22,0.5));
    border-color: rgba(125,99,64,0.14);
}
.mp-body.dark .mp-timer-teaser:hover {
    background: linear-gradient(135deg, rgba(125,99,64,0.14), rgba(35,30,22,0.6));
    border-color: rgba(125,99,64,0.24);
}

/* ─── INLINE EDU CTA ─── */
.mp-edu-cta {
    position: relative; z-index: 1;
    margin-top: 48px;
}
.mp-edu-cta-inner {
    position: relative;
    text-align: center;
    background: linear-gradient(135deg, var(--b), var(--b-d));
    color: #fff;
    padding: 36px 32px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(125,99,64,0.2);
    overflow: hidden;
}
.mp-edu-cta-inner::before {
    content: ''; position: absolute;
    top: -40%; right: -20%;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(212,165,116,0.2), transparent 70%);
    pointer-events: none;
}
.mp-edu-cta-body {
    position: relative; z-index: 1;
}
.mp-edu-cta-body strong {
    display: block;
    font-size: 1.2rem; font-weight: 800;
    color: #fff; margin-bottom: 8px;
}
.mp-edu-cta-body p {
    opacity: 0.85; margin: 0 0 20px;
    font-size: 0.88rem; line-height: 1.55;
    max-width: 500px;
    margin-left: auto; margin-right: auto;
}
.mp-edu-cta-features {
    display: flex; flex-wrap: wrap;
    justify-content: center; gap: 8px;
    margin-bottom: 22px;
}
.mp-edu-cta-feat {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 11px;
    font-size: 0.7rem; font-weight: 600;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px;
}
.mp-edu-cta-feat svg { opacity: 0.7; flex-shrink: 0; }
.mp-edu-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 24px;
    background: #fff; color: var(--b);
    font-weight: 700; font-size: 0.88rem;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.mp-edu-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
/* ─── SECTION DIVIDER ─── */
.mp-section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125,99,64,0.15) 20%, rgba(125,99,64,0.15) 80%, transparent);
    margin: 56px 0 0;
}
.mp-body.dark .mp-section-divider {
    background: linear-gradient(90deg, transparent, rgba(125,99,64,0.1) 20%, rgba(125,99,64,0.1) 80%, transparent);
}

/* ─── EDUCATIONAL DEEP SECTIONS ─── */
.mp-edu-deep {
    position: relative; z-index: 1;
    margin-top: 64px;
}
.mp-edu-deep h2 {
    font-size: clamp(1.4rem, 3.5vw, 1.75rem);
    font-weight: 800; color: var(--ink);
    margin: 0 0 6px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.mp-edu-deep-subtitle {
    font-size: 1rem;
    color: var(--b-l);
    margin: 0 0 20px;
    font-style: italic;
}
.mp-edu-deep-content {
    background: var(--w);
    border: 1px solid var(--stone);
    border-radius: 16px;
    padding: 32px 36px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    max-width: 100%;
}
.mp-edu-deep-content p {
    font-size: 0.95rem; line-height: 1.75;
    color: var(--ink2); margin: 0 0 20px;
}
.mp-edu-deep-content p:last-child { margin-bottom: 0; }
.mp-edu-deep-content ul {
    margin: 0 0 20px; padding-left: 24px;
}
.mp-edu-deep-content li {
    font-size: 0.95rem; line-height: 1.75;
    color: var(--ink2); margin-bottom: 6px;
}
.mp-edu-deep-content li:last-child { margin-bottom: 0; }
.mp-edu-deep-content strong { color: var(--ink); }
.mp-edu-deep-content a {
    color: var(--b); font-weight: 600;
    text-decoration: none;
}
.mp-edu-deep-content a:hover { text-decoration: underline; }

/* ─── FORMULA BOX (key-takeaway style) ─── */
.mp-formula-box {
    background: var(--w);
    border: 2px solid var(--b);
    border-radius: 12px;
    padding: 20px 28px;
    margin: 24px 0;
    text-align: center;
    position: relative;
}
.mp-formula-box::before {
    content: "FORMULA";
    position: absolute;
    top: -11px; left: 20px;
    background: var(--b);
    color: var(--w);
    font-size: 0.65rem; font-weight: 700;
    letter-spacing: 1.5px;
    padding: 3px 12px;
    border-radius: 4px;
}
.mp-formula {
    font-size: 1.1rem; font-weight: 700;
    color: var(--ink);
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* ─── LEARN MORE LINKS ─── */
.mp-edu-links {
    font-size: 0.88rem; font-weight: 500;
    color: var(--ink3);
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--stone);
}
.mp-edu-links a {
    color: var(--b); text-decoration: none;
    font-weight: 700;
}
.mp-edu-links a:hover { text-decoration: underline; }

/* ─── TABLES (blog-style: brown header, shadow wrapper) ─── */
.mp-table-wrap {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    margin: 24px 0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    max-width: 100%;
}
.mp-table {
    width: 100%; border-collapse: collapse;
    font-size: 0.88rem;
    background: var(--w);
    border-radius: 12px;
    min-width: 480px;
}
.mp-table thead {
    background: var(--b);
    color: var(--w);
}
.mp-table th {
    padding: 13px 18px;
    font-weight: 600; color: var(--w);
    text-align: left;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mp-table td {
    padding: 13px 18px;
    color: var(--ink2);
    border-bottom: 1px solid var(--stone);
}
.mp-table tbody tr:last-child td { border-bottom: none; }
.mp-table tbody tr:hover { background: var(--sand); }
.mp-table td strong { color: var(--ink); }

/* ─── FAQ ─── */
.mp-faq {
    position: relative; z-index: 1;
    margin-top: 64px;
}
.mp-faq h2 {
    font-size: clamp(1.4rem, 3.5vw, 1.75rem);
    font-weight: 800; color: var(--ink);
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}
.mp-faq-list {
    display: flex; flex-direction: column; gap: 12px;
}
.mp-faq-item {
    background: var(--sand);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.mp-faq-item[open] {
    box-shadow: 0 4px 20px rgba(125,99,64,0.1);
    background: var(--w);
    border: 1px solid var(--stone);
}
.mp-faq-item:not([open]) {
    border: 1px solid transparent;
}
.mp-faq-item summary {
    padding: 18px 24px;
    font-size: 0.95rem; font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    transition: color 0.2s;
}
.mp-faq-item summary:hover { color: var(--b); }
.mp-faq-item summary::-webkit-details-marker { display: none; }
.mp-faq-item summary::after {
    content: '+';
    font-size: 1.3rem; font-weight: 600;
    color: var(--b); flex-shrink: 0;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(125,99,64,0.08);
    border-radius: 50%;
    transition: background 0.3s;
}
.mp-faq-item[open] summary::after {
    content: '−';
    background: var(--b);
    color: var(--w);
}
.mp-faq-answer {
    padding: 0 24px 20px;
}
.mp-faq-answer p {
    font-size: 0.92rem; line-height: 1.75;
    color: var(--ink2); margin: 0;
}

/* ─── BLOG LINKS ─── */
.mp-blog-links {
    position: relative; z-index: 1;
    margin-top: 64px;
}
.mp-blog-links h2 {
    font-size: clamp(1.4rem, 3.5vw, 1.75rem);
    font-weight: 800; color: var(--ink);
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}
.mp-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.mp-blog-card {
    display: flex; flex-direction: column;
    background: var(--w);
    border: 1px solid var(--stone);
    border-radius: 16px;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}
.mp-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(125,99,64,0.12);
}
.mp-blog-card-img {
    position: relative;
    width: 100%;
    padding-top: 56%;
    overflow: hidden;
    background: var(--sand);
}
.mp-blog-card-img img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.mp-blog-card:hover .mp-blog-card-img img {
    transform: scale(1.04);
}
.mp-blog-card-cat {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--b);
    color: var(--w);
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mp-blog-card-cat[data-cat="bread-baking"] { background: #7D6340; }
.mp-blog-card-cat[data-cat="hydration"] { background: #4A7A8C; }
.mp-blog-card-cat[data-cat="sourdough-starter"] { background: #5B7A5E; }
.mp-blog-card-cat[data-cat="pizza"] { background: #C4724E; }
.mp-blog-card-body {
    padding: 18px 20px 20px;
    display: flex; flex-direction: column;
    flex: 1;
}
.mp-blog-card h3 {
    font-size: 1rem; font-weight: 700;
    color: var(--ink); margin: 0 0 8px;
    line-height: 1.3;
}
.mp-blog-card p {
    font-size: 0.85rem; line-height: 1.6;
    color: var(--ink3); margin: 0 0 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mp-blog-read {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.82rem; font-weight: 700;
    color: var(--b);
    transition: gap 0.2s;
}
.mp-blog-card:hover .mp-blog-read { gap: 10px; }

/* ─── CTA ─── */
.mp-cta { margin-top: 48px; }
.mp-cta-inner {
    text-align: center;
    background: linear-gradient(135deg, var(--b), var(--b-d));
    color: #fff;
    padding: 44px 36px; border-radius: 22px;
    box-shadow: 0 12px 48px rgba(125,99,64,0.25);
    position: relative; overflow: hidden;
}
.mp-cta-inner::before {
    content: ''; position: absolute;
    top: -40%; right: -20%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(212,165,116,0.2), transparent 70%);
    pointer-events: none;
}
.mp-cta-inner h2 {
    font-size: 1.3rem; font-weight: 800;
    margin: 0 0 8px; color: #fff;
    position: relative;
}
.mp-cta-inner p {
    opacity: 0.85; margin: 0 0 20px;
    font-size: 0.9rem; line-height: 1.5;
    position: relative;
}
.mp-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 24px;
    background: var(--b); color: #fff;
    font-weight: 700; font-size: 0.88rem;
    border-radius: 100px; text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    position: relative;
    box-shadow: 0 4px 16px rgba(125,99,64,0.2);
}
.mp-cta-btn:hover {
    transform: translateY(-2px);
    background: var(--b-d);
    box-shadow: 0 6px 20px rgba(125,99,64,0.35);
}
.mp-cta-inner .mp-cta-btn {
    background: #fff; color: var(--b);
    box-shadow: none;
}
.mp-cta-inner .mp-cta-btn:hover {
    background: var(--sand); box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ─── LOCKED OVERLAY ─── */
.mp-locked-overlay {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.mp-locked-overlay.visible { opacity: 1; visibility: visible; }
.mp-locked-card {
    background: var(--cream); border: 1px solid var(--stone);
    border-radius: 22px; padding: 40px;
    max-width: 400px; width: 90%;
    text-align: center; position: relative;
    transform: scale(0.92); transition: transform 0.3s;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.mp-locked-overlay.visible .mp-locked-card { transform: scale(1); }
.mp-locked-close {
    position: absolute; top: 12px; right: 12px;
    width: 32px; height: 32px;
    border: none; background: transparent;
    font-size: 1.4rem; color: var(--ink3);
    cursor: pointer; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.mp-locked-close:hover { background: var(--sand); }
.mp-locked-icon { margin-bottom: 16px; color: var(--b); }
.mp-locked-card h3 { font-size: 1.2rem; font-weight: 800; margin: 0 0 8px; }
.mp-locked-card p { font-size: 0.88rem; color: var(--ink3); margin: 0 0 20px; line-height: 1.5; }

/* ─── FOCUS VISIBLE ─── */
.preset-card:focus-visible,
.mp-mode-tab:focus-visible,
.mp-add-btn:focus-visible,
.mp-cta-btn:focus-visible {
    outline: 2px solid var(--b);
    outline-offset: 2px;
}
.mp-slider-input:focus-visible {
    outline: none;
}

/* ─── KEYBOARD HINT (in header row) ─── */
.mp-kbd-overlay {
    position: fixed; inset: 0; z-index: 999;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}
.mp-kbd-overlay.visible { opacity: 1; visibility: visible; }
.mp-kbd-card {
    background: var(--cream); border-radius: 18px;
    padding: 28px 32px; max-width: 360px; width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.mp-body.dark .mp-kbd-card { background: #252018; }
.mp-kbd-card h3 { margin: 0 0 16px; font-size: 1rem; font-weight: 800; color: var(--ink); }
.mp-kbd-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 0;
    font-size: 0.82rem; color: var(--ink2);
}
.mp-kbd-key {
    display: inline-flex; padding: 3px 8px;
    background: var(--sand); border: 1px solid var(--stone);
    border-radius: 5px; font-size: 0.72rem; font-weight: 700;
    color: var(--ink3); font-family: monospace;
}

/* ─── REVEAL ─── */
[data-reveal] {
    opacity: 0; transform: translateY(20px);
    animation: rUp 0.65s cubic-bezier(0.16,1,0.3,1) forwards;
}
[data-reveal][data-delay="100"] { animation-delay: 100ms; }
[data-reveal][data-delay="200"] { animation-delay: 200ms; }
@keyframes rUp { to { opacity: 1; transform: translateY(0); } }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .mp-workspace { grid-template-columns: 1fr; }
    .mp-controls { min-width: 0; }
    .mp-visual { min-width: 0; }
    .mp-visual-sticky {
        position: static;
        gap: 16px;
    }
    .mp-hyd-big { font-size: 1.8rem; }
    .mp-arc-wrap { width: 130px; }
    .mp-card { padding: 24px; box-sizing: border-box; max-width: 100%; }
    .mp-bread-card .mp-bread-photo {
        width: calc(100% + 48px);
        margin: -24px -24px 0;
    }
    .mp-bread-bottom { flex-direction: row; gap: 14px; }
    .mp-bread-meta { border-left: 1px solid var(--stone); padding-left: 14px; }
    .mp-ticket { display: block; order: -1; }
    .mp-ticket .mp-comp { display: none; }
    .mp-ticket .mp-ticket-estimate { display: none; }
    .mp-bread-card { cursor: pointer; }
    .mp-bread-card .mp-bread-photo { max-height: 180px; }
    .mp-bread-card.collapsed .mp-bread-photo { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); }
    .mp-bread-card.collapsed .mp-bread-caption { display: none; }
    .mp-bread-collapse-hint { display: block; font-size: 0.6rem; color: var(--ink3); text-align: center; margin-top: 6px; opacity: 0.5; }
    .mp-total-mobile { display: none; }
    .mp-card { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .mp-dropdown { z-index: 100; }
    .mp-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .mp-mode-row { gap: 6px; }
    .mp-mode-tabs { min-width: 0; }
    .mp-mode-tab { padding: 9px 6px; font-size: 0.72rem; gap: 3px; }
    .mp-mode-tab svg { display: none; }
    #kbd-hint-header { display: none; }
    .mp-dark-toggle { width: 40px; flex-shrink: 0; }
    .mp-unit-toggle { width: 40px; height: 40px; }
    .presets-row { gap: 6px; }
    .preset-card { min-width: 65px; padding: 10px 12px 8px; }
    .mp-field-header { flex-wrap: wrap; gap: 6px; }
    .mp-ticket { box-sizing: border-box; max-width: 100%; }
    .mp-funnel { box-sizing: border-box; max-width: 100%; }
    .mp-timer-teaser { box-sizing: border-box; max-width: 100%; }
}

@media (max-width: 600px) {
    .mp-main { padding: 84px 12px 50px; }
    .mp-card { padding: 20px 16px; border-radius: 18px; box-sizing: border-box; max-width: 100%; }
    .mp-bread-card .mp-bread-photo {
        width: calc(100% + 32px);
        margin: -20px -16px 0;
    }
    .mp-input-mega input { font-size: 1.8rem; padding: 12px 0 12px 14px; }
    .mp-input-mega { border-radius: 12px; }
    .mp-title { font-size: 1.6rem; }
    .mp-subtitle { font-size: 0.9rem; }
    .mp-ing { padding: 10px 12px; gap: 8px; grid-template-columns: 34px 1fr auto auto; }
    .mp-ing-icon { width: 34px; height: 34px; font-size: 1rem; }
    .mp-ing-val { font-size: 1.1rem; }
    .mp-ing-pct { width: 46px; font-size: 0.88rem; padding: 4px 6px; }
    .mp-ing-suffix { font-size: 0.72rem; }
    .mp-add-row { flex-direction: column; }
    .mp-edu-deep-content { padding: 20px 16px; }
    .mp-blog-grid { grid-template-columns: 1fr; }
    .mp-faq-item summary { padding: 14px 16px; font-size: 0.88rem; }
    .mp-faq-answer { padding: 0 16px 14px; }
    .mp-formula-box { padding: 16px 16px; }
    .mp-formula-box::before { left: 14px; }
    .mp-formula { font-size: 0.95rem; }
    .preset-card { min-width: 52px; padding: 8px 8px 6px; }
    .preset-icon { font-size: 1rem; }
    .preset-name { font-size: 0.62rem; }
    .preset-hyd { font-size: 0.6rem; }
    .mp-field-header label { font-size: 0.7rem; letter-spacing: 1px; }
    .mp-hyd-value { width: 65px; }
    .mp-hyd-num { font-size: 1.6rem; min-width: 2ch; }
    .mp-hyd-pct { font-size: 0.85rem; }
    .mp-liquid-toggle { padding: 1px; }
    .mp-liq-btn { padding: 3px 7px; font-size: 0.62rem; gap: 3px; }
    .mp-liq-btn svg { width: 11px; height: 11px; }
    .mp-slider-labels { font-size: 0.65rem; }
    .mp-feel-row { flex-wrap: wrap; gap: 4px; }
    .mp-feel-badge { font-size: 0.7rem; }
    .mp-feel-bread { font-size: 0.7rem; }
    .mp-section-label { font-size: 0.7rem; }
    .mp-details-summary { font-size: 0.82rem; padding: 10px 14px; }
    .mp-ticket-border { padding: 16px 14px; }
    .mp-ticket-num { font-size: 1.8rem; }
    .mp-ticket-g { font-size: 1.1rem; }
    .mp-ticket-wheat { display: none; }
    .mp-total-mobile { padding: 12px 16px; gap: 6px; }
    .mp-total-val { font-size: 1.5rem; }
    .mp-funnel { padding: 16px 14px; border-radius: 14px; }
    .mp-funnel-pref-val { font-size: 0.88rem; }
    .mp-funnel-pref-item { padding: 6px 4px; }
    .mp-timer-teaser { padding: 12px 14px; border-radius: 12px; }
    .mp-share-btn { padding: 10px 16px; font-size: 0.78rem; }
    .mp-edu-cta-inner { padding: 28px 16px; border-radius: 18px; }
    .mp-edu-cta-body strong { font-size: 1.05rem; }
    .mp-edu-cta-body p { font-size: 0.82rem; }
    .mp-edu-cta-features { gap: 5px; }
    .mp-edu-cta-feat { padding: 4px 8px; font-size: 0.65rem; }
    .mp-edu-cta-btn { padding: 10px 20px; font-size: 0.82rem; }
    .mp-bread-caption { font-size: 0.68rem; margin-top: 12px; }
    .mp-bread-bottom { gap: 10px; }
    .mp-arc-wrap { width: 110px; }
    .mp-arc-value { bottom: -8px; }
    .mp-hyd-big { font-size: 1.5rem; }
    .mp-bread-name { font-size: 0.82rem; }
    .mp-bread-feel { font-size: 0.65rem; }
    .mp-edu-deep h2 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
    .mp-edu-deep-subtitle { font-size: 0.88rem; }
    .mp-edu-deep-content p { font-size: 0.88rem; }
    .mp-edu-deep-content li { font-size: 0.88rem; }
    .mp-table { font-size: 0.8rem; min-width: 400px; }
    .mp-table th { padding: 10px 12px; font-size: 0.75rem; }
    .mp-table td { padding: 10px 12px; }
    .mp-cta-inner { padding: 32px 20px; border-radius: 18px; }
    .mp-cta-inner h2 { font-size: 1.15rem; }
    .mp-cta-inner p { font-size: 0.85rem; }
    .mp-locked-card { padding: 28px 20px; border-radius: 18px; }
}

/* ─── DARK MODE TOGGLE ─── */
.mp-dark-toggle {
    flex: 0 0 auto;
    width: 48px; align-self: stretch;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(125,99,64,0.06);
    border-radius: 14px;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 16px rgba(125,99,64,0.05), 0 1px 2px rgba(0,0,0,0.03);
    cursor: pointer;
    transition: all 0.2s;
    color: var(--ink3);
}
.mp-dark-toggle:hover {
    background: rgba(255,255,255,0.95);
    color: var(--b);
    border-color: var(--b);
    box-shadow: 0 8px 24px rgba(125,99,64,0.12);
    transform: translateY(-2px);
}
.mp-dark-toggle {
    transform-style: preserve-3d;
    perspective: 400px;
}
.mp-dark-moon { display: none; }
.mp-body.dark .mp-dark-sun { display: none; }
.mp-body.dark .mp-dark-moon { display: block; }

/* ─── DARK MODE ─── */
.mp-body.dark {
    --cream: #1a1612;
    --sand: #252018;
    --stone: #332c22;
    --ink: #f0ebe2;
    --ink2: #d4c8b6;
    --ink3: #9a8e7e;
    --w: #1e1a14;
    background: #1a1612 !important;
    color: #f0ebe2;
}
.mp-body.dark .nav {
    background: #1a1612;
    border-bottom-color: rgba(125,99,64,0.1);
}
.mp-body.dark .nav.scrolled {
    background: rgba(26,22,18,0.85);
    box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.mp-body.dark .logo { background: linear-gradient(135deg, #c8a97e, #8aab7e); -webkit-background-clip: text; }
.mp-body.dark .nav-link, .mp-body.dark .nav-links a { color: #d4c8b6; }
.mp-body.dark .nav-link:hover, .mp-body.dark .nav-links a:hover { color: #f0ebe2; }
.mp-body.dark .nav-cta { background: linear-gradient(135deg, #7d6340, #5a4830); color: #f0ebe2; }
.mp-body.dark .nav-cta:hover { background: linear-gradient(135deg, #8b6f4a, #6a5438); }
.mp-body.dark .language-switcher select {
    background: #1a1612;
    border-color: rgba(168,135,94,0.2);
    color: #d4c8b6;
}
.mp-body.dark .language-switcher select:hover {
    background: #231e16;
    border-color: rgba(168,135,94,0.35);
}
.mp-body.dark .language-switcher select option {
    background: #1a1612;
    color: #d4c8b6;
}
.mp-body.dark .mp-card {
    background: rgba(35,30,22,0.8);
    border-color: rgba(125,99,64,0.12);
}
.mp-body.dark .mp-bread-card {
    background: #181510;
    backdrop-filter: none;
}
.mp-body.dark .mp-bread-photo img {
    filter: brightness(0.7) contrast(1.1);
    -webkit-backdrop-filter: none;
    border-color: rgba(125,99,64,0.08);
}
.mp-body.dark .mp-bread-caption { color: var(--ink3); }
.mp-body.dark .mp-bread-card .mp-card-shine {
    background: linear-gradient(90deg, transparent 10%, rgba(125,99,64,0.06) 50%, transparent 90%);
}
.mp-body.dark .mp-bread-bottom {
    border-top: 1px solid rgba(125,99,64,0.08);
    padding-top: 16px;
}
.mp-body.dark .mp-card-shine {
    background: linear-gradient(90deg, transparent 10%, rgba(125,99,64,0.15) 50%, transparent 90%);
}
.mp-body.dark .mp-input-mega {
    background: rgba(30,26,20,0.9);
    border-color: var(--stone);
}
.mp-body.dark .mp-input-mega input { color: var(--ink); }
.mp-body.dark .mp-ing {
    background: rgba(30,26,20,0.6);
}
.mp-body.dark .mp-ing-icon { background: rgba(125,99,64,0.12); }
.mp-body.dark .mp-ing-pct {
    background: rgba(40,34,26,0.8);
    color: var(--b-l);
}
.mp-body.dark .mp-ing-pct:hover,
.mp-body.dark .mp-ing-pct:focus {
    background: rgba(30,26,20,0.9);
}
.mp-body.dark .mp-ing-clear { background: rgba(125,99,64,0.1); }
.mp-body.dark .mp-mega-clear { background: rgba(125,99,64,0.1); }
.mp-body.dark .preset-card {
    background: rgba(35,30,22,0.7);
    border-color: rgba(125,99,64,0.1);
    color: var(--ink);
}
.mp-body.dark .preset-card.active {
    background: linear-gradient(135deg, var(--b), var(--b-d));
    color: #fff;
}
.mp-body.dark .mp-mode-tabs {
    background: rgba(35,30,22,0.7);
    border-color: rgba(125,99,64,0.08);
}
.mp-body.dark .mp-mode-tab.active {
    color: #fff;
}
.mp-body.dark .mp-liquid-toggle { background: rgba(125,99,64,0.12); }
.mp-body.dark .mp-liq-btn { color: var(--ink3); }
.mp-body.dark .mp-liq-btn.active { color: var(--b-l); }
.mp-body.dark .mp-liq-slider { background: rgba(30,26,20,0.9); box-shadow: 0 1px 4px rgba(0,0,0,0.25); }
.mp-body.dark .mp-details {
    background: rgba(35,30,22,0.5);
    border-color: rgba(125,99,64,0.08);
}
.mp-body.dark .mp-toggle-track { background: #332c22; }
.mp-body.dark .mp-toggle-thumb { background: #1a1612; }
.mp-body.dark .mp-dropdown {
    background: #252018;
    border-color: rgba(125,99,64,0.15);
}
.mp-body.dark .mp-dropdown button { color: var(--ink); }
.mp-body.dark .mp-dropdown button:hover { background: rgba(125,99,64,0.1); }
.mp-body.dark .mp-ticket {
    background: rgba(35,30,22,0.85);
    border-color: rgba(125,99,64,0.15);
}
.mp-body.dark .mp-ticket::before,
.mp-body.dark .mp-ticket::after {
    background: rgba(35,30,22,0.85);
}
.mp-body.dark .mp-ticket-border {
    border-color: rgba(125,99,64,0.08);
}
.mp-body.dark .mp-funnel {
    background: rgba(35,30,22,0.75);
    border-color: rgba(125,99,64,0.12);
}
.mp-body.dark .mp-funnel-pref-item {
    background: rgba(125,99,64,0.08);
    border-color: rgba(125,99,64,0.12);
}
.mp-body.dark .mp-funnel-water {
    background: linear-gradient(135deg, rgba(125,99,64,0.1), rgba(125,99,64,0.04));
    border-color: rgba(125,99,64,0.15);
}
.mp-body.dark .mp-funnel-divider { background: rgba(125,99,64,0.08); }
.mp-body.dark .mp-edu-deep-content {
    background: rgba(35,30,22,0.6);
    border-color: rgba(125,99,64,0.12);
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.mp-body.dark .mp-blog-card {
    background: rgba(35,30,22,0.6);
    border-color: rgba(125,99,64,0.12);
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.mp-body.dark .mp-blog-card-img { background: rgba(35,30,22,0.4); }
.mp-body.dark .mp-blog-card-img img { filter: brightness(0.8); }
.mp-body.dark .mp-faq-item {
    background: rgba(35,30,22,0.5);
    border-color: rgba(125,99,64,0.08);
}
.mp-body.dark .mp-faq-item[open] {
    background: rgba(35,30,22,0.7);
    border-color: rgba(125,99,64,0.15);
}
.mp-body.dark .mp-edu-deep-content p,
.mp-body.dark .mp-edu-deep-content li,
.mp-body.dark .mp-faq-answer p,
.mp-body.dark .mp-blog-card p { color: var(--ink3); }
.mp-body.dark .mp-edu-deep-content strong,
.mp-body.dark .mp-edu-deep h2,
.mp-body.dark .mp-faq h2,
.mp-body.dark .mp-blog-links h2,
.mp-body.dark .mp-faq-item summary,
.mp-body.dark .mp-blog-card h3 { color: var(--ink); }
.mp-body.dark .mp-formula-box {
    background: rgba(35,30,22,0.7);
    border-color: var(--b);
}
.mp-body.dark .mp-formula-box::before {
    background: var(--b-l);
}
.mp-body.dark .mp-table { background: rgba(35,30,22,0.6); }
.mp-body.dark .mp-table thead { background: var(--b-d); }
.mp-body.dark .mp-table th { color: var(--cream); }
.mp-body.dark .mp-table td { border-bottom-color: rgba(125,99,64,0.1); color: var(--ink3); }
.mp-body.dark .mp-table td strong { color: var(--ink); }
.mp-body.dark .mp-table-wrap { box-shadow: 0 2px 12px rgba(0,0,0,0.25); }
.mp-body.dark .mp-table tbody tr:hover { background: rgba(125,99,64,0.08); }
.mp-body.dark .mp-faq-item summary::after { background: rgba(125,99,64,0.15); }
.mp-body.dark .mp-faq-item[open] summary::after { background: var(--b); color: var(--cream); }
.mp-body.dark .mp-edu-links { border-top-color: rgba(125,99,64,0.1); }
.mp-body.dark .mp-cta-inner, .mp-body.dark .mp-cta-inner h2, .mp-body.dark .mp-cta-inner p { color: #fff; }
.mp-body.dark .mp-cta-inner .mp-cta-btn { background: rgba(255,255,255,0.15); color: #fff; }
.mp-body.dark .mp-cta-inner .mp-cta-btn:hover { background: rgba(255,255,255,0.25); }
.mp-body.dark .mp-locked-card {
    background: #252018;
    border-color: rgba(125,99,64,0.12);
}
.mp-body.dark .mp-dark-toggle {
    color: var(--ink3);
    background: rgba(35,30,22,0.7);
    border-color: rgba(125,99,64,0.08);
    backdrop-filter: blur(16px);
}
.mp-body.dark .mp-dark-toggle:hover {
    color: var(--b-l); background: rgba(125,99,64,0.15);
    border-color: var(--b-l);
    box-shadow: 0 8px 24px rgba(125,99,64,0.15);
}
.mp-body.dark .grain-overlay { opacity: 0.015; }
.mp-body.dark .mp-add-btn { color: var(--ink3); border-color: rgba(125,99,64,0.12); }
.mp-body.dark .mp-total-mobile {
    background: linear-gradient(135deg, #2a2318, var(--b-d));
}
.mp-body.dark .mp-feel-badge[data-feel="stiff"] { background: rgba(138,126,110,0.15); border-color: rgba(138,126,110,0.2); }
.mp-body.dark .mp-feel-badge[data-feel="smooth"] { background: rgba(90,122,76,0.15); border-color: rgba(90,122,76,0.2); }
.mp-body.dark .mp-feel-badge[data-feel="sticky"] { background: rgba(154,117,48,0.15); border-color: rgba(154,117,48,0.2); }
.mp-body.dark .mp-feel-badge[data-feel="wet"] { background: rgba(138,94,54,0.15); border-color: rgba(138,94,54,0.2); }

/* ─── PRINT ─── */
@media print {
    .mp-body { background: #fff !important; }
    .ambient-bg, .grain-overlay, #particles-canvas,
    .mp-visual, .mp-edu-deep, .mp-edu-cta, .mp-faq, .mp-blog-links, .mp-cta,
    .mp-locked-overlay, .mp-undo-toast, .mp-add-row,
    .mp-details, .mp-mode-tabs, .presets-row,
    .mp-breadcrumb, .mp-kicker { display: none !important; }
    .mp-workspace { grid-template-columns: 1fr !important; }
    .mp-card { background: #fff !important; border: 1px solid #ddd !important; box-shadow: none !important; backdrop-filter: none !important; }
    .mp-ing { break-inside: avoid; border-left-color: #999 !important; }
    .mp-ing-del { display: none !important; }
    .mp-ing-pct { border-bottom: none !important; }
    .mp-slider-wrap, .mp-feel-row { display: none !important; }
    .mp-hyd-value { font-size: 1.5rem; }
    .mp-hero { margin-bottom: 16px; }
    .mp-title { font-size: 1.5rem !important; }
    .mp-subtitle { display: none; }
    .mp-total-mobile { display: none !important; }
    .mp-field-header label { color: #333; }
    .mp-input-mega { border: 1px solid #ccc; }
    .mp-input-spinner { display: none; }
}

@media (max-width: 380px) {
    .mp-main { padding: 80px 8px 40px; }
    .mp-card { padding: 16px 12px; border-radius: 16px; }
    .mp-bread-card .mp-bread-photo {
        width: calc(100% + 24px);
        margin: -16px -12px 0;
    }
    .mp-input-mega input { font-size: 1.5rem; padding: 10px 0 10px 12px; }
    .mp-title { font-size: 1.4rem; }
    .mp-ing { padding: 8px 10px; gap: 6px; grid-template-columns: 30px 1fr auto auto; }
    .mp-ing-icon { width: 30px; height: 30px; border-radius: 8px; }
    .mp-ing-icon svg { width: 14px; height: 14px; }
    .mp-ing-val { font-size: 1rem; }
    .mp-ing-pct { width: 42px; font-size: 0.82rem; padding: 3px 5px; border-radius: 6px; }
    .mp-hyd-num { font-size: 1.4rem; }
    .mp-liquid-toggle { gap: 1px; }
    .mp-liq-btn { padding: 2px 5px; font-size: 0.58rem; gap: 2px; }
    .mp-liq-btn svg { width: 10px; height: 10px; }
    .preset-card { min-width: 46px; padding: 6px 6px 5px; }
    .preset-icon svg { width: 18px; height: 18px; }
    .preset-name { font-size: 0.58rem; }
    .preset-hyd { font-size: 0.55rem; }
    .mp-ticket-num { font-size: 1.5rem; }
    .mp-ticket-g { font-size: 0.95rem; }
    .mp-total-val { font-size: 1.3rem; }
    .mp-total-mobile { padding: 10px 12px; }
    .mp-edu-cta-inner { padding: 24px 12px; border-radius: 16px; }
    .mp-edu-cta-body strong { font-size: 1rem; }
    .mp-edu-cta-btn { padding: 9px 16px; font-size: 0.78rem; }
    .mp-funnel-pref-row { gap: 4px; }
    .mp-funnel-pref-val { font-size: 0.82rem; }
    .mp-funnel-pref-sub { font-size: 0.55rem; }
}

@media (prefers-reduced-motion: reduce) {
    .ambient-orb { animation: none; }
    .mp-ing { animation-duration: 0.01ms; }
    .mp-crumb { transition-duration: 0.01ms; }
    [data-reveal] { animation-duration: 0.01ms; }
    #particles-canvas { display: none; }
}
