/* Operation states driven by the existing input and layout attributes. */
#stick[data-active] {
  border-color: #99dce5;
  background-color: #172f3d78;
  box-shadow: inset 0 0 0 3px #182b38c9, inset 0 0 0 4px #64a8b577, 0 0 7px #8ce8ed6e;
}

#stick[data-active] .stick-grid i {
  clip-path: polygon(50% 0, 100% 82%, 72% 82%, 50% 44%, 28% 82%, 0 82%);
  background: #d0faff;
}

#stick[data-active] .stick-knob {
  border-color: #c5f4f5;
  background:
    linear-gradient(90deg, transparent 42%, #bdeef3 42% 58%, transparent 58%) center / 40% 1px no-repeat,
    linear-gradient(#bdeef3, #bdeef3) center / 1px 40% no-repeat,
    radial-gradient(circle, #456b7b 54%, #1d3545 57% 68%, #4c8292 70%);
}

#fire[data-active] {
  border-color: #ffcf9f;
  background:
    radial-gradient(circle, transparent 57%, #e8ad7d9c 59% 61%, #322624ce 63% 69%, transparent 70%),
    radial-gradient(circle, #75432b7f, #211a24af);
  box-shadow: inset 0 0 6px #ffbd8e8a, 0 0 6px #ffa96665;
}

#fire[data-active]::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 2px solid #ffe2bd;
  clip-path: polygon(0 0, 24% 0, 24% 24%, 76% 24%, 76% 0, 100% 0, 100% 24%,
    76% 24%, 76% 76%, 100% 76%, 100% 100%, 76% 100%, 76% 76%, 24% 76%,
    24% 100%, 0 100%, 0 76%, 24% 76%, 24% 24%, 0 24%);
  pointer-events: none;
}

#orientation .utility-icon {
  display: block;
  position: relative;
  width: 20px;
  height: 20px;
  color: #c7e4ed;
  font-size: 0;
}

#orientation .utility-icon::before {
  content: "";
  position: absolute;
  inset: 7px 3px 2px;
  border: 1.5px solid currentColor;
  border-left-width: 3px;
  border-radius: 2px;
}

#orientation .utility-icon::after {
  content: "";
  position: absolute;
  inset: 2px 3px auto;
  height: 5px;
  background: #78baca;
  clip-path: polygon(0 65%, 22% 13%, 70% 13%, 70% 0, 100% 48%, 70% 100%,
    70% 48%, 24% 48%, 0 100%);
}

[data-layout="landscape"] #orientation .utility-icon { transform: rotate(-90deg); }

#pause .pause-glyph {
  width: 15px;
  height: 15px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, transparent 14%, #c7dfea 14% 38%, transparent 38% 62%,
    #c7dfea 62% 86%, transparent 86%) center / 100% 84% no-repeat;
}

#pause[data-resume] {
  background: #203943;
  box-shadow: inset 0 0 0 1px #41616f;
}

#pause[data-resume] .pause-glyph {
  background: #d3f6f8;
  clip-path: polygon(24% 7%, 93% 50%, 24% 93%);
}

/* Station emblem and cold-rolled trim. */
.mast .identity .seal {
  position: relative;
  flex: none;
  clip-path: polygon(22% 0, 78% 0, 100% 22%, 100% 78%, 78% 100%, 22% 100%, 0 78%, 0 22%);
  background:
    radial-gradient(circle, #bbdce5 0 .5px, transparent 1px) 13% 50% / 3px 3px no-repeat,
    radial-gradient(circle, #bbdce5 0 .5px, transparent 1px) 87% 50% / 3px 3px no-repeat,
    repeating-linear-gradient(154deg, #9ab7c233 0 1px, transparent 1px 4px),
    radial-gradient(circle, #142832 54%, #6c94a3 61%, #354d5e 75%);
  box-shadow: inset 0 0 0 1px #93b5c2;
}

.mast .identity .seal::before {
  content: "";
  position: absolute;
  inset: 16% 24% 24%;
  border-radius: 50%;
  box-shadow: inset 2px -2px #d3f4f8;
  transform: rotate(-18deg);
}

.mast .identity .seal::after {
  content: "";
  position: absolute;
  inset: 43% 26% 12%;
  background: #a5d9db;
  clip-path: polygon(39% 0, 61% 0, 55% 45%, 92% 28%, 100% 39%, 56% 67%,
    63% 100%, 43% 100%, 38% 76%, 13% 65%, 16% 51%, 38% 57%);
}

#flow[data-flow-screen="menu"] [data-b6-menu] > .mf-title::after {
  content: "";
  flex: 1 1 auto;
  align-self: end;
  height: 9px;
  min-width: 14px;
  margin-bottom: .18em;
  background:
    linear-gradient(135deg, transparent 30%, #9bc1cc 33% 53%, transparent 56%) left center / 10px 100% no-repeat,
    linear-gradient(90deg, #85abba, #415968) 0 70% / 100% 1px no-repeat,
    repeating-linear-gradient(120deg, #7698a973 0 1px, transparent 1px 5px) right center / min(33%, 66px) 100% no-repeat;
}

#flow[data-flow-screen="pause"] .mf-panel::after {
  content: "";
  position: absolute;
  inset: 6px;
  background:
    linear-gradient(135deg, transparent 34%, #a3c4cf 36% 42%, transparent 44%) left top / 22px 22px no-repeat,
    linear-gradient(225deg, transparent 34%, #a3c4cf 36% 42%, transparent 44%) right top / 22px 22px no-repeat,
    linear-gradient(45deg, transparent 34%, #6d96a7 36% 42%, transparent 44%) left bottom / 22px 22px no-repeat,
    linear-gradient(315deg, transparent 34%, #6d96a7 36% 42%, transparent 44%) right bottom / 22px 22px no-repeat;
  pointer-events: none;
}

