body {
    background: transparent;
    font-family: 'Inter Tight', Arial, sans-serif;
}
.shell {
    max-width: none;
    padding: 0;
}
.shell > header {
    display: none;
}
.scene {
    border-radius: 0;
    direction: ltr;
}
.animation-status {
    --status-accent: #ffc785;
    position: absolute;
    z-index: 2;
    top: 1.4cqw;
    left: 1.4cqw;
    display: grid;
    gap: 0.2cqw;
    width: max-content;
    max-width: 43%;
    min-height: 0;
    margin: 0;
    padding: 0.5cqw 0.8cqw;
    border: 1px solid #a2c6dc40;
    border-left: 3px solid var(--status-accent);
    border-radius: 0.65cqw;
    background: linear-gradient(120deg, #082638e8, #142b3bd9);
    box-shadow: 0 0.3cqw 1cqw #00101d30;
    backdrop-filter: blur(8px);
    color: #f0f7fb;
    font-size: clamp(8px, 1.2cqw, 18px);
    line-height: 1.3;
    pointer-events: none;
}
.animation-status[data-phase='1'] {
    --status-accent: #ffad70;
}
.animation-status[data-phase='2'] {
    --status-accent: #8fcfff;
}
.animation-status[data-phase='3'] {
    --status-accent: #65dda7;
}
.animation-status #heading {
    font-weight: 600;
}
.animation-status #state {
    color: var(--status-accent);
    font-size: clamp(7px, 0.8cqw, 12px);
    font-weight: 500;
}
.phase-callouts li:nth-child(1),
.phase-callouts li:nth-child(4) {
    top: 12%;
}
#animation-error {
    position: absolute;
    z-index: 3;
    inset: 35% 8% auto;
    padding: 16px;
    border: 1px solid #4bb6e2;
    border-radius: 12px;
    background: #12344e;
    color: #fff;
    font-size: clamp(12px, 2cqw, 20px);
    text-align: center;
}
.temperature {
    direction: ltr;
    unicode-bidi: isolate;
}
html[dir='rtl'] .card-label,
html[dir='rtl'] #valve-state,
html[dir='rtl'] .animation-status,
html[dir='rtl'] .phase-callout > span:last-child {
    direction: rtl;
    unicode-bidi: plaintext;
    text-align: right;
}
html[dir='rtl'] .controls {
    direction: rtl;
}
#seek {
    direction: ltr;
}
@media (max-width: 600px) {
    .animation-status {
        max-width: 40%;
        padding: 3px 5px;
    }
    .animation-status #heading {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .animation-status #state {
        display: none;
    }
    .phase-callouts li:nth-child(1),
    .phase-callouts li:nth-child(4) {
        top: 14%;
    }
}
