/* One More Block's own blocks inside the Lovetere frame (family/FRAME.md, "custom block"):
   the CSS-drawn block tiles, the decorative board beside the hero and the Daily screenshot's width.
   The tile rules moved unchanged from styles.css. The three kinds are the same in both lights,
   as in the app ("the room changes, the mat does not"). */
:root {
  --amber: #FFBE3D;
  --amber-top: #FFD97E;
  --amber-edge: #D4921A;
  --amber-ink: #7A4D00;
  --teal: #5FB4CF;
  --teal-top: #7FDCEB;
  --teal-edge: #167F91;
  --teal-ink: #063E49;
  --plum: #E8559F;
  --plum-top: #F39AC9;
  --plum-edge: #B22E73;
  --plum-ink: #4A0A30;
}

/* The three block kinds, drawn as CSS rather than cropped out of the icon:
   a quadrant of the icon is an empty board cell. Each tile: a lit top
   fading into the face, and a thicker edge underneath. */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 17px;
}

.chip-lg {
  width: 76px;
  height: 76px;
  border-radius: 23px;
}

.chip-amber {
  background: linear-gradient(135deg, var(--amber-top), var(--amber) 42%);
  border-bottom: 4px solid var(--amber-edge);
  color: var(--amber-ink);
}

.chip-teal {
  background: linear-gradient(135deg, var(--teal-top), var(--teal) 42%);
  border-bottom: 4px solid var(--teal-edge);
  color: var(--teal-ink);
}

.chip-plum {
  background: linear-gradient(135deg, var(--plum-top), var(--plum) 42%);
  border-bottom: 4px solid var(--plum-edge);
  color: var(--plum-ink);
}

/* The empty slot, as the icon draws it. */
.chip-empty {
  background: transparent;
  border: 2px dashed var(--c-muted);
}

/* Every kind carries a symbol as well as a hue: colour is never the only
   channel the same-colour rule is readable through. */
.glyph {
  display: block;
  background: currentColor;
}

.glyph-disc {
  width: 34%;
  height: 34%;
  border-radius: 50%;
}

.glyph-diamond {
  width: 28%;
  height: 28%;
  transform: rotate(45deg);
}

.glyph-bar {
  width: 42%;
  height: 15%;
  border-radius: 999px;
}

.omb-tile {
  line-height: 0;
}

/* The decorative board beside the hero: hidden on a phone, as before. */
.omb-board img {
  display: block;
  width: min(100%, 560px);
}

@media (max-width: 719px) {
  .omb-board {
    display: none;
  }
}

/* The Daily screenshot keeps its 320 px panel. */
.omb-shot img {
  display: block;
  width: min(320px, 100%);
  height: auto;
  aspect-ratio: 1320 / 2868;
}
