#raid #combustionHUD {
 --combustion-edge: #dd9c72;
 --combustion-text: #f3d3b4;
 display: grid;
 gap: 4px;
 min-width: 0;
 padding: 8px 9px;
 border: 1px solid #8e6a59;
 border-left: 2px solid var(--combustion-edge);
 color: #ebebe3;
 background: linear-gradient(125deg, #63413860, transparent 62%), #1c2329f5;
 box-shadow: inset 0 1px #f3dbbd19, 0 4px 12px #080c1060;
 font: 600 10px/1.25 var(--ops-body);
 pointer-events: none;
}
#raid #combustionHUD[data-stage="0"] {
 --combustion-edge: #ad9c83;
 --combustion-text: #d7c6ac;
 background: linear-gradient(125deg, #41382d62, transparent 60%), #1b2329f3;
}
#raid #combustionHUD[data-critical] {
 --combustion-edge: #f3947d;
 --combustion-text: #ffd2bc;
 border-color: #d18672;
 background: linear-gradient(125deg, #732f31a3, transparent 80%), #2a2227fa;
}
#raid #combustionHUD[data-stage="5"] {
 --combustion-edge: #9fc7a7;
 --combustion-text: #bde4c6;
 border-color: #688576;
 background: linear-gradient(125deg, #47675279, transparent 70%), #1d2a2bf7;
}
.combustionHeading { display: grid; gap: 2px; margin-bottom: 2px; }
.combustionHeading h2 {
 margin: 0;
 color: #f0ebe1;
 font: 700 clamp(13px, 1.28vw, 17px)/1.04 var(--ops-title);
}
#combustionVariant { color: var(--combustion-text); }
.combustionReadout {
 display: flex;
 justify-content: space-between;
 align-items: baseline;
 flex-wrap: wrap;
 gap: 1px 6px;
 color: #b7c0c2;
 font-variant-numeric: tabular-nums;
}
#combustionPhaseCount, #combustionClock, #combustionThermalValue { color: #f2e5d3; }
#combustionClock:empty, #combustionDeadline:empty { display: none; }
.combustionTimeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; height: 4px; }
.combustionTimeline > span, #combustionPressure { display: block; overflow: hidden; background: #10191f; }
.combustionTimeline > span[data-state="next"] { background: #5d514b; }
.combustionTimeline i, #combustionPressure i {
 display: block;
 height: 100%;
 transform: scaleX(0);
 transform-origin: left center;
}
.combustionTimeline i { background: linear-gradient(90deg, #986d57, #efba89); }
.combustionTimeline [data-state="complete"] i { background: #d3a37d; }
.combustionTimeline span:last-child i { background: #ffd093; }
.combustionThermalReadout { margin-top: 1px; }
#combustionPressure { height: 5px; }
#combustionPressure i {
 background: linear-gradient(90deg, #a0584d, #f68c58 61%, #ffc680);
 transition: transform .24s ease-out;
}
.combustionObjective {
 display: grid;
 gap: 2px;
 margin-top: 2px;
 padding-top: 5px;
 border-top: 1px solid #99816a69;
 color: #d4d7d1;
}
.combustionObjective strong { color: var(--combustion-text); font-size: 11px; }
#combustionCounters { color: #d9c6b2; }
#combustionHUD[data-stage="5"] :is(.combustionThermalReadout,#combustionPressure) { display: none; }
#combustionHUD[data-announcing] .combustionObjective { animation: combustion-hud-notice .95s ease-out; }
@keyframes combustion-hud-notice {
 0% { background-color: #f6a77b35; }
 100% { background-color: transparent; }
}
#combustionHUD[data-reduce-motion] :is(.combustionObjective,#combustionPressure i) {
 animation: none;
 transition: none;
}
#raid #combustionBrief {
 --brief-accent: #f4b47e;
 --brief-fill: #282225;
 position: absolute;
 z-index: 11;
 top: clamp(109px,20dvh,210px);
 left: 50%;
 width: min(470px, calc(100vw - 28px));
 transform: translateX(-50%);
 padding: 1px;
 clip-path: polygon(0 13px,13px 0,100% 0,100% calc(100% - 13px),calc(100% - 13px) 100%,0 100%);
 background: linear-gradient(110deg, #937867, var(--brief-accent) 44%, #8d6959 79%, var(--brief-accent));
 color: #fbf2e6;
 pointer-events: none;
}
#raid #combustionBrief[data-stage="4"] {
 --brief-accent: #f6a087;
 --brief-fill: #3b242a;
}
#raid #combustionBrief[data-stage="5"] {
 --brief-accent: #abd7b0;
 --brief-fill: #24342d;
}
.combustionBriefFrame {
 position: relative;
 padding: 12px 20px 15px;
 clip-path: polygon(0 13px,13px 0,100% 0,100% calc(100% - 13px),calc(100% - 13px) 100%,0 100%);
 background: linear-gradient(124deg, color-mix(in srgb,var(--brief-accent) 14%,transparent),transparent 64%),
  linear-gradient(110deg, var(--brief-fill), #191f24 75%);
}
.combustionBriefFrame::before {
 content: "";
 position: absolute;
 inset: 0 0 auto;
 height: 4px;
 background: repeating-linear-gradient(125deg,transparent 0 7px,var(--brief-accent) 7px 10px,transparent 10px 14px);
 opacity: .36;
}
.combustionBriefMeta {
 display: flex;
 flex-wrap: wrap;
 align-items: baseline;
 justify-content: space-between;
 gap: 4px 14px;
 padding-bottom: 6px;
 border-bottom: 1px solid color-mix(in srgb,var(--brief-accent) 42%,transparent);
 color: var(--brief-accent);
 font: 700 11px/1.2 var(--ops-body);
 letter-spacing: .075em;
 text-transform: uppercase;
}
.combustionBriefMeta strong { color: #f9e7d2; letter-spacing: .035em; }
#combustionBriefTitle {
 margin: 8px 0 3px;
 font: 700 clamp(24px,4vw,36px)/1.02 var(--ops-title);
}
#combustionBriefOrder {
 margin: 5px 0 0;
 color: #e1d9ce;
 font: 600 clamp(11px,1.4vw,14px)/1.35 var(--ops-body);
}
@keyframes combustion-brief-enter {
 from { opacity: 0; transform: translate(-50%, -12px) scale(.97); }
 to { opacity: 1; transform: translateX(-50%); }
}
@media (prefers-reduced-motion: no-preference) {
 #raid #combustionBrief:not([data-reduce-motion]) { animation: combustion-brief-enter .32s cubic-bezier(.2,.7,.2,1) both; }
}
@media (prefers-reduced-motion: reduce) {
 #combustionHUD :is(.combustionObjective,#combustionPressure i) { animation: none; transition: none; }
}
@media (max-width: 700px), (max-height: 575px) {
 #raid #combustionHUD { padding: 5px 6px; gap: 3px; }
 .combustionObjective { padding-top: 3px; }
}
@media (max-width: 700px) {
 #raid #combustionBrief { top: max(128px,30dvh); width: min(360px,calc(100vw - 24px)); }
 .combustionBriefFrame { padding: 10px 13px 12px; }
 body:has(#raid:not([hidden]) #combustionHUD:not([hidden])) #worldAlerts {
  left: auto;
  right: clamp(10px, 1.15vw, 22px);
  transform: none;
  width: min(178px, calc(50vw - 14px));
 }
}
