/* Midnatsglød is the permanent, normal-flow header on both screen sizes.
   Only native freight observables and the existing server clock supply data. */
.pp-fulfilment-shell[data-pp-dispatch-layout="true"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 148px minmax(0, 1fr);
    align-items: center;
    column-gap: 28px;
    box-sizing: border-box;
    width: 100%;
    min-height: 64px;
    padding: 7px max(32px, 9%, calc((100% - 1040px) / 2));
    background: radial-gradient(ellipse at 50% -140%, #80b85c90, transparent 73%), linear-gradient(110deg, #13291c, #172d20 55%, #101f16);
    box-shadow: inset 0 -1px #9bbf6e;
    color: #f1f8ec;
    font-family: inherit;
}
.pp-fulfilment-shell[data-pp-dispatch-layout="true"] > .pp-dispatch-notice {
    display: grid;
    grid-column: 1 / 3;
    grid-row: 1;
    grid-template-columns: minmax(0, 1fr) 148px;
    align-items: center;
    gap: 28px;
    min-width: 0;
}
.pp-dispatch-promise { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pp-desktop-dispatch-icon {
    display: flex; flex: none; align-items: center; justify-content: center;
    box-sizing: border-box; width: 30px; height: 30px; border-radius: 50%;
    background: #d8f9b019; border: 1px solid #d8f9b02c; color: #d8f9b0;
}
.pp-desktop-dispatch-icon svg {
    display: block; width: 18px; height: 18px; fill: none; stroke: currentColor;
    stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.pp-dispatch-notice-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-width: 0; }
.pp-dispatch-notice-copy strong { color: #f1f8ec; font-size: 13px; font-weight: 600; line-height: 19px; }
.pp-dispatch-notice-detail { color: #bbcfb2; font-size: 11px; line-height: 16px; }
.pp-dispatch-notice-timer {
    display: flex; flex: none; flex-direction: column; align-items: center; justify-content: center;
    box-sizing: border-box; min-width: 148px; padding: 5px 17px;
    border: 1px solid #efffd0a8; border-radius: 9px;
    background: linear-gradient(130deg, #f7ffe9 0%, #d8f9b0 43%, #aecf89 100%);
    box-shadow: 0 2px 10px #d8f9b013, inset 0 1px #fff;
    color: #142915; white-space: nowrap;
}
.pp-dispatch-notice-clock { font-size: 19px; font-weight: 600; line-height: 23px; letter-spacing: .035em; font-variant-numeric: tabular-nums; }
.pp-dispatch-timer-detail { color: #3f5930; font-size: 11px; font-weight: 400; line-height: 13px; }
.pp-mobile-freight-summary, .pp-mobile-freight-track { display: none; }
.pp-fulfilment-shell[data-pp-dispatch-layout="true"] > .pp-native-freight { grid-column: 3; grid-row: 1; min-width: 0; justify-self: end; }
.pp-fulfilment-shell[data-pp-dispatch-layout="true"]:not(.pp-has-freight) > .pp-native-freight { display: none; }
.pp-freight-content { display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) 20px; column-gap: 10px; row-gap: 5px; min-width: 0; }
.pp-fulfilment-shell[data-pp-dispatch-layout="true"] .pp-freight-label {
    grid-column: 1; grid-row: 1; color: #ecf7e4; font-family: inherit; font-size: 12px;
    font-weight: 500; line-height: 19px; text-align: right; white-space: nowrap;
}
.pp-fulfilment-shell[data-pp-dispatch-layout="true"] .pp-freight-label b { color: #d8f9b0 !important; }
.pp-freight-native-label { display: none; }
.pp-desktop-freight-copy { display: inline; }
.pp-desktop-freight-track {
    display: block; grid-column: 1; grid-row: 2; width: 155px; max-width: 100%; height: 4px; margin-left: auto;
    overflow: hidden; border-radius: 9px; background: #d8f9b022;
}
.pp-desktop-freight-fill, .pp-mobile-freight-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8eaf69, #d8f9b0); }
.pp-freight-close, .pp-freight-reopen {
    display: flex; flex: none; align-items: center; justify-content: center; box-sizing: border-box;
    margin: 0; padding: 0; border: 0; border-radius: 4px; background: transparent; box-shadow: none; cursor: pointer;
}
.pp-freight-close { grid-column: 2; grid-row: 1 / 3; width: 20px; height: 24px; }
.pp-freight-close svg { display: block; width: 13px; height: 13px; fill: #d4e5c9; }
.pp-freight-reopen { width: 32px; height: 25px; }
.pp-freight-reopen svg { display: block; width: 28px; height: 25px; }
.pp-freight-truck-body { fill: #d8f9b0; }
.pp-freight-truck-lettering { fill: #172d20; }
.pp-freight-close:hover, .pp-freight-reopen:hover,
.pp-freight-close:focus, .pp-freight-reopen:focus,
.pp-freight-close:active, .pp-freight-reopen:active { background: transparent; border: 0; box-shadow: none; }
.pp-freight-close:focus-visible, .pp-freight-reopen:focus-visible { outline: 2px solid #d8f9b0; outline-offset: 2px; }
@media (min-width: 768px) {
    /* Keep the existing server-owned campaign relationship for the reward bar.
       No second campaign clock or activation path is introduced. */
    body:has(.pp-fulfilment-shell[data-pp-dispatch-layout="true"]):has(.pp-season-native.pp-native-strip[data-pp-native-campaign][data-campaign="november"], .pp-season-native.pp-native-strip[data-pp-native-campaign][data-campaign="friday"]) .porto-block-html-top[data-pp-native-header-promo="20261008"] > .background-color-dark.text-color-light { background: #111e15 !important; }
    body:has(.pp-fulfilment-shell[data-pp-dispatch-layout="true"]):has(.pp-season-native.pp-native-strip[data-pp-native-campaign][data-campaign="november"], .pp-season-native.pp-native-strip[data-pp-native-campaign][data-campaign="friday"]) .porto-block-html-top[data-pp-native-header-promo="20261008"] .text-center.position-relative.p-t-sm.p-b-sm { padding-top: 5px !important; padding-bottom: 5px !important; }
    body:has(.pp-fulfilment-shell[data-pp-dispatch-layout="true"]):has(.pp-season-native.pp-native-strip[data-pp-native-campaign][data-campaign="november"], .pp-season-native.pp-native-strip[data-pp-native-campaign][data-campaign="friday"]) .porto-block-html-top[data-pp-native-header-promo="20261008"] .container { line-height: 18px; }
    body:has(.pp-fulfilment-shell[data-pp-dispatch-layout="true"]):has(.pp-season-native.pp-native-strip[data-pp-native-campaign][data-campaign="november"], .pp-season-native.pp-native-strip[data-pp-native-campaign][data-campaign="friday"]) .porto-block-html-top[data-pp-native-header-promo="20261008"] .container span,
    body:has(.pp-fulfilment-shell[data-pp-dispatch-layout="true"]):has(.pp-season-native.pp-native-strip[data-pp-native-campaign][data-campaign="november"], .pp-season-native.pp-native-strip[data-pp-native-campaign][data-campaign="friday"]) .porto-block-html-top[data-pp-native-header-promo="20261008"] .container a { color: #d8f9b0 !important; font-size: 11px; font-weight: 600; }
}
@media (max-width: 767px) {
    .pp-fulfilment-shell[data-pp-dispatch-layout="true"] {
        grid-template-columns: minmax(0, 1fr); grid-template-rows: 26px 14px;
        min-height: 54px; padding: 6px 14px; gap: 2px 0;
        background: radial-gradient(ellipse at 50% -170%, #80b85c90, transparent 75%), linear-gradient(110deg, #13291c, #172d20 55%, #101f16);
    }
    .pp-fulfilment-shell[data-pp-dispatch-layout="true"] > .pp-dispatch-notice {
        display: flex; grid-column: 1; grid-row: 1; justify-content: center; gap: 11px;
    }
    .pp-dispatch-promise { gap: 6px; }
    .pp-desktop-dispatch-icon { width: 16px; height: 16px; border: 0; border-radius: 0; background: transparent; }
    .pp-desktop-dispatch-icon svg { width: 16px; height: 16px; }
    .pp-dispatch-notice-copy strong { font-size: 12px; line-height: 18px; white-space: nowrap; }
    .pp-dispatch-notice-detail, .pp-desktop-timer-deadline { display: none !important; }
    .pp-dispatch-notice-timer {
        flex-direction: row; gap: 5px; min-width: 0; height: 26px; padding: 2px 9px; border-radius: 6px;
        box-shadow: inset 0 1px #fff, 0 2px 8px #d8f9b013;
    }
    .pp-dispatch-notice-clock { font-size: 15px; line-height: 20px; letter-spacing: .025em; }
    .pp-dispatch-timer-detail { font-size: 11px; line-height: 14px; }
    .pp-fulfilment-shell[data-pp-dispatch-layout="true"] > .pp-mobile-freight-summary {
        display: flex; grid-column: 1; grid-row: 2; align-items: center; justify-content: center; gap: 8px;
        min-width: 0; color: #d4e5c9; font-size: 11px; line-height: 14px; text-align: center;
    }
    .pp-mobile-freight-track { display: block; flex: none; width: 70px; height: 3px; overflow: hidden; border-radius: 3px; background: #d8f9b022; }
    .pp-fulfilment-shell[data-pp-dispatch-layout="true"] > .pp-native-freight { display: none; grid-column: 1; grid-row: 2; justify-self: center; }
    .pp-fulfilment-shell[data-pp-dispatch-layout="true"].pp-freight-is-closed > .pp-native-freight { display: block; }
    .pp-freight-reopen { width: 28px; height: 14px; }
    .pp-freight-reopen svg { width: 20px; height: 14px; }
    .pp-desktop-freight-track { display: none !important; }
}
@media (max-width: 350px) {
    .pp-fulfilment-shell[data-pp-dispatch-layout="true"] { padding-inline: 10px; }
    .pp-fulfilment-shell[data-pp-dispatch-layout="true"] > .pp-dispatch-notice { gap: 8px; }
    .pp-dispatch-notice-timer { padding-inline: 7px; gap: 4px; }
    .pp-dispatch-notice-clock { font-size: 14px; }
}
