app-deck-transition {
  div.device {
    display: flex;
    justify-content: center;
    margin: 8px 0 0;

    ion-segment {
      width: fit-content;
      background: transparent;

      ion-segment-button {
        --indicator-color: var(--ion-color-dark);
        --color-checked: white;
        --color-hover: black;
        --border-radius: 12px;
      }
    }
  }

  div.container {
    display: grid;
    grid-template-columns: repeat(2, calc((100% - 16px) / 2));
    grid-gap: 16px;
    margin: 16px;

    div.item {
      border-radius: 8px;
      margin: 8px 0;
      width: 100%;
      height: 7rem;

      display: block;
      overflow: hidden;
      position: relative;

      border: 1px solid var(--ion-color-light);

      --slide-font-size: 1rem;

      &.selected {
        &.showcase-direction {
          box-shadow: 0 0 8px 4px rgba(var(--ion-color-primary-rgb), 0.4);
          border: 1px solid var(--ion-color-primary);
        }

        &.showcase-animation {
          box-shadow: 0 0 8px 4px rgba(var(--ion-color-tertiary-rgb), 0.4);
          border: 1px solid var(--ion-color-tertiary);
        }
      }

      deckgo-deck {
        --animation-fade-duration: 3500ms;

        deckgo-slide-title {
          --slide-padding-start: 4px;
          --slide-padding-bottom: 4px;
          --slide-padding-top: 4px;
          --slide-padding-end: 4px;
        }

        p {
          margin: 0;
        }
      }

      div.showcase-papyrus {
        height: 100%;
        overflow: scroll;

        deckgo-slide-title {
          --slide-height: 110px;

          --slide-padding-top: 32px;
          --slide-padding-bottom: 32px;
          --slide-padding-start: 0;
          --slide-padding-end: 0;
        }
      }
    }
  }
}
