.award-scene {
  --edge: min(54vw, 46svh, 480px);
  min-height: calc(var(--edge) * 1.92 + min(6vw, 56px));
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #000 url("assets/award-2027/ember-stage.webp") center / 100% 100%
    no-repeat;
}
.award-heading {
  position: absolute;
  z-index: -1;
  top: 5%;
  inset-inline: 0;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  font: 900 min(12.8vw, 12.6svh, 146px) / 0.95 var(--display);
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #ebc19a;
  background-image:
    repeating-linear-gradient(
      177deg,
      transparent 0 3px,
      #331a0d35 4px,
      transparent 5px
    ),
    linear-gradient(177deg, #ffecd2 9%, #dba576 53%, #976042 93%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.award-heading em {
  font-weight: 900;
  -webkit-text-stroke: clamp(1px, 0.11vw, 2px) #d99a76;
  -webkit-text-fill-color: #2e1a12;
}
@media (forced-colors: active) {
  .award-heading,
  .award-heading em {
    -webkit-text-stroke: 0;
    -webkit-text-fill-color: CanvasText;
  }
}
.award-scene::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: calc(var(--edge) * 1.16);
  height: calc(var(--edge) * 0.16);
  top: 79%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #000 12%, #0009 44%, transparent 73%);
  filter: blur(7px);
}
.award-embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}
.block-stage {
  display: grid;
  place-items: center;
  width: min(91vw, calc(var(--edge) * 1.8));
  height: calc(var(--edge) * 1.79);
  position: relative;
  perspective: 2600px;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.block-stage:active {
  cursor: grabbing;
}
.block-stage:focus-visible {
  outline: 2px solid #dfb28b;
  outline-offset: 1px;
  border-radius: 3px;
}
@media (max-width: 650px) {
  .award-scene {
    background-size: auto 100%;
  }
}
.cedar-block {
  position: relative;
  width: var(--edge);
  height: var(--edge);
  transform-style: preserve-3d;
  transform: rotateX(-17deg) rotateY(-27deg);
  pointer-events: none;
}
.block-surface {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  backface-visibility: hidden;
  border-radius: 1.6px;
  transform: var(--orientation) translateZ(calc(var(--edge) / 2 - 0.3px));
  background: #c58d5e;
  filter: brightness(var(--light, 1));
}
.block-surface[data-face="1"] {
  --orientation: rotateY(180deg);
}
.block-surface[data-face="2"] {
  --orientation: rotateY(90deg);
  --light: 0.81;
}
.block-surface[data-face="3"] {
  --orientation: rotateX(90deg);
  --light: 1.07;
}
.block-surface[data-face="4"] {
  --orientation: rotateX(-90deg);
}
.block-surface[data-face="5"] {
  --orientation: rotateY(-90deg);
}
.block-surface[data-face="6"] {
  --orientation: rotateY(0deg);
}

.award-viewer {
  position: relative;
  background: #080706;
  color: #ffefe0;
}
.block-face {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.plate-art {
  position: absolute;
  left: 16.183%;
  top: 70.647%;
  width: 67.634%;
  height: 9.263%;
}
.award-viewer [hidden] {
  display: none !important;
}
.block-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  padding: clamp(1px, 0.23vw, 3px);
  background: conic-gradient(
    from var(--glint, 0deg),
    transparent 0deg,
    #e79e5e66 38deg,
    #ffe9b6 50deg,
    #eda86b99 61deg,
    transparent 88deg 214deg,
    #d28e5755 240deg,
    transparent 270deg
  );
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.effect-wake {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.effect-wake {
  z-index: 1;
}
.award-options {
  position: absolute;
  z-index: 2;
  right: clamp(10px, 1.4vw, 20px);
  bottom: clamp(10px, 1.4vw, 20px);
  width: max-content;
  max-width: calc(100% - 20px);
  color: #fff2e4;
  background: #15110f;
  border: 1px solid #634a36;
  border-radius: 6px;
  font-size: 0.875rem;
}
.award-options summary {
  padding: 10px 13px;
  cursor: pointer;
  font-weight: 700;
}
.award-options form {
  padding: 0 13px 13px;
}
.award-options form div {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.award-options input,
.award-options button {
  padding: 7px 9px;
  border: 1px solid #936847;
  border-radius: 3px;
  background: #211a15;
  color: #ffe8d0;
  font: inherit;
}
.award-options input {
  min-width: 0;
  width: 11rem;
  font-size: 1rem;
}
.award-options button {
  cursor: pointer;
}
.award-options :focus-visible {
  outline: 2px solid #ffc98e;
  outline-offset: 2px;
}
