.gl-08,
.gl-08 *,
.gl-08 *::before,
.gl-08 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.gl-08 ::selection {
  background: oklch(0.62 0.16 20);
  color: #fff;
}

.gl-08 {
  --accent: oklch(0.62 0.16 20);  
  width: 100%;
  min-height: 100vh;
  padding: 10px 10px;
  /* background: #14110f; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-08__acc {
  display: flex;
  gap: 8px;
  width: 100%;
  height: min(460px,64vh);
}

.gl-08__panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  background: var(--img) center/cover no-repeat;
  filter: brightness(.72) saturate(.95);
  transition: flex-grow .5s cubic-bezier(.2,.7,.2,1),filter .4s;
}

.gl-08__panel:hover,
.gl-08__panel:focus {
  flex-grow: 4;
  filter: brightness(1) saturate(1.05);
}

.gl-08__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,rgba(10,6,4,.7),transparent 55%);
}

.gl-08__lbl {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 2;
  text-align: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  left: auto;
  right: 12px;
  bottom: auto;
  top: 16px;
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
  transition: opacity .4s;
}

.gl-08__panel:hover .gl-08__lbl,
.gl-08__panel:focus .gl-08__lbl {
  writing-mode: horizontal-tb;
  transform: none;
  top: auto;
  bottom: 16px;
  left: 0;
  right: 0;
  font-size: 18px;
}

.gl-08__panel:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .gl-08__panel {
    transition: none;
  }
}
