/* "Sechs Ecken". Shared pieces (kicker, card, plate, button) come from kit.css. */
.mini[data-mini="ecken"] {
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}
.mini[data-mini="ecken"] .top {
  padding: 0 4px;
}
.mini[data-mini="ecken"] .top h1 {
  margin-top: 10px;
  font: 700 2rem / 1.08 var(--serif, "Fraunces", Georgia, "Times New Roman", serif);
  color: var(--ink, #221e18);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.mini[data-mini="ecken"] h1 em {
  font-style: normal;
  color: var(--muted, #665f52);
  font-weight: 600;
}
.mini[data-mini="ecken"] .top p {
  margin-top: 10px;
}

/* the goal strip sticks to the top of the screen; the website's header scrolls away, so a small gap is enough */
.mini[data-mini="ecken"] .goal {
  position: sticky;
  top: 8px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 10px 14px 11px;
  background: var(--ink, #221e18);
  color: #fff;
  border-radius: 12px;
}
.mini[data-mini="ecken"] .goal .who {
  min-width: 0;
}
.mini[data-mini="ecken"] .goal small {
  display: block;
  font: 400 0.5625rem / 1 var(--pix, "Silkscreen", "Courier New", monospace);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}
.mini[data-mini="ecken"] .goal b {
  display: block;
  margin-top: 5px;
  font: 600 1rem / 1.15 var(--sans, "Space Grotesk", system-ui, sans-serif);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini[data-mini="ecken"] .left {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font: 400 0.625rem / 1 var(--pix, "Silkscreen", "Courier New", monospace);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mini[data-mini="ecken"] .pips {
  display: flex;
  gap: 4px;
}
.mini[data-mini="ecken"] .pips i {
  width: 9px;
  height: 9px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 300ms var(--spring, cubic-bezier(0.3, 1.6, 0.5, 1)),
    opacity 200ms;
}
.mini[data-mini="ecken"] .pips i.off {
  opacity: 0.22;
  transform: scale(0.7);
}

/* the way so far */
.mini[data-mini="ecken"] .chain {
  margin: 22px 0 0;
  padding: 0 4px;
  list-style: none;
}
.mini[data-mini="ecken"] .hop {
  position: relative;
  padding: 0 0 14px 26px;
}
.mini[data-mini="ecken"] .hop::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink, #221e18);
}
.mini[data-mini="ecken"] .hop::after {
  content: "";
  position: absolute;
  left: 7.75px;
  top: 20px;
  bottom: -6px;
  width: 1.5px;
  background: var(--edge, #4a3f33);
}
.mini[data-mini="ecken"] .hop b {
  font: 600 1rem / 1.25 var(--sans, "Space Grotesk", system-ui, sans-serif);
  color: var(--ink, #221e18);
}
.mini[data-mini="ecken"] .hop span {
  display: block;
  margin-top: 2px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--muted, #665f52);
}
.mini[data-mini="ecken"] .hop span i {
  margin-right: 6px;
  font: 400 0.5625rem / 1 var(--pix, "Silkscreen", "Courier New", monospace);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--ink, #221e18);
}
.mini[data-mini="ecken"] .hop.new {
  animation: ec-hop 320ms var(--out, cubic-bezier(0.2, 0.7, 0.2, 1)) backwards;
}
@keyframes ec-hop {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* the person you stand at */
.mini[data-mini="ecken"] .now.swap {
  animation: ec-swap 340ms var(--out, cubic-bezier(0.2, 0.7, 0.2, 1)) backwards;
}
@keyframes ec-swap {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
.mini[data-mini="ecken"] .now h2 {
  margin-top: 10px;
}
.mini[data-mini="ecken"] .now p {
  margin-top: 10px;
}
.mini[data-mini="ecken"] .now .plate {
  margin-top: 14px;
}
.mini[data-mini="ecken"] .now.goalcard {
  border-width: 2.5px;
}

/* who to visit next */
.mini[data-mini="ecken"] .ask {
  margin: 26px 4px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.mini[data-mini="ecken"] .ask .back {
  border: 0;
  background: none;
  padding: 6px 0;
  font: 600 0.875rem / 1 var(--sans, "Space Grotesk", system-ui, sans-serif);
  color: var(--primary, #6c4dd6);
  cursor: pointer;
}
.mini[data-mini="ecken"] .list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.mini[data-mini="ecken"] .pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 13px 16px 14px;
  text-align: left;
  font: inherit;
  color: inherit;
  background: var(--surface, #ffffff);
  border: 1.5px solid var(--edge, #4a3f33);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--card-ground, #d1c6b3);
  cursor: pointer;
  transition:
    transform 220ms var(--spring, cubic-bezier(0.3, 1.6, 0.5, 1)),
    box-shadow 220ms var(--spring, cubic-bezier(0.3, 1.6, 0.5, 1));
  -webkit-tap-highlight-color: transparent;
}
.mini[data-mini="ecken"] .pick:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 transparent;
  transition-duration: 70ms;
}
.mini[data-mini="ecken"] .pick:focus-visible {
  outline: 2px solid var(--primary, #6c4dd6);
  outline-offset: 3px;
}
.mini[data-mini="ecken"] .pick b {
  display: block;
  font: 600 1.0625rem / 1.25 var(--sans, "Space Grotesk", system-ui, sans-serif);
  color: var(--ink, #221e18);
}
.mini[data-mini="ecken"] .pick small {
  display: block;
  margin-top: 3px;
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--muted, #665f52);
}
.mini[data-mini="ecken"] .pick em {
  flex: none;
  padding: 5px 8px 4px;
  border-radius: 6px;
  background: var(--bg-alt, #ece8df);
  font: 400 0.5625rem / 1 var(--pix, "Silkscreen", "Courier New", monospace);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--ink, #221e18);
}
.mini[data-mini="ecken"] .list.in .pick {
  animation: ec-hop 300ms var(--out, cubic-bezier(0.2, 0.7, 0.2, 1)) backwards;
  animation-delay: calc(var(--i) * 35ms + 120ms);
}
.mini[data-mini="ecken"] .dead {
  margin: 10px 4px 0;
  color: var(--muted, #665f52);
}

/* the end card: the badges the website adds sit above the button */
.mini[data-mini="ecken"] .done {
  margin-top: 22px;
}
.mini[data-mini="ecken"] .done .again {
  margin-top: 16px;
}

/* last, and with the specificity of the display rules above it */
.mini[data-mini="ecken"] [hidden] {
  display: none;
}

@media (min-width: 760px) {
  .mini[data-mini="ecken"] {
    max-width: 640px;
    padding-top: 40px;
  }
  .mini[data-mini="ecken"] .top h1 {
    font-size: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mini[data-mini="ecken"] .hop.new,
  .mini[data-mini="ecken"] .now.swap,
  .mini[data-mini="ecken"] .list.in .pick {
    animation: none;
  }
  .mini[data-mini="ecken"] .pips i,
  .mini[data-mini="ecken"] .pick {
    transition: none;
  }
}
