/* Varianten: vorlagen */

/* =========================================================
   1 · Filter-Galerie
   ========================================================= */
.vt1 { padding: clamp(80px, 9vw, 150px) var(--pad) clamp(100px, 12vw, 180px); }
.vt1-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.vt1-head .lead { margin-bottom: .5em; }
.vt1-bar {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(26px, 3vw, 44px);
  padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.vt1-chip {
  position: relative; overflow: hidden; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 99px;
  padding: 9px 17px; font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: background .35s, color .35s, border-color .35s, translate .35s var(--ease);
}
.vt1-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.06) inset; }
.vt1-chip:hover { translate: 0 -2px; border-color: #dcd6cd; }
.vt1-chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.vt1-chip.is-on i { box-shadow: 0 0 0 1.5px rgba(255,255,255,.7); }
.vt1-chip::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--c, var(--gelb)); transform: scaleX(0); transform-origin: left;
}
.vt1-chip.is-auto::after { animation: vt1-prog var(--vt1-step, 3400ms) linear forwards; }
@keyframes vt1-prog { to { transform: scaleX(1); } }

.vt1-grid {
  position: relative; align-content: start;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: clamp(14px, 1.6vw, 26px) clamp(12px, 1.4vw, 22px);
}
.vt1-card { margin: 0; will-change: transform; }
.vt1-card[hidden], .vt1-more[hidden] { display: none; }
.vt1-ghost { position: absolute; margin: 0; pointer-events: none; z-index: 0; }
.vt1-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
  background: var(--bg-2);
  background-image: radial-gradient(120% 90% at 50% 0%, #fff 0%, rgba(255,255,255,0) 70%);
}
.vt1-frame img {
  position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(40,30,20,.22)) drop-shadow(0 2px 3px rgba(40,30,20,.12));
  transition: transform .6s var(--ease);
}
.vt1-card:hover .vt1-frame img { transform: scale(1.05) rotate(-.6deg); }
.vt1-card figcaption { display: flex; flex-direction: column; gap: 3px; padding: 12px 4px 0; }
.vt1-cn { font-weight: 600; font-size: 15px; line-height: 1.25; }
.vt1-cc { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.vt1-cc i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.vt1-more { will-change: transform; }
.vt1-more__in {
  aspect-ratio: 4 / 5; border-radius: 16px; border: 1.5px dashed #d8d1c6;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center;
  padding: 16px;
}
.vt1-more__in p { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 24px); line-height: 1.1; }
.vt1-more__dots { display: flex; gap: 6px; }
.vt1-more__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--rosa); animation: vt1-hop 1.6s var(--ease) infinite; }
.vt1-more__dots i:nth-child(2) { background: var(--gelb); animation-delay: .1s; }
.vt1-more__dots i:nth-child(3) { background: var(--gruen); animation-delay: .2s; }
.vt1-more__dots i:nth-child(4) { background: var(--blau); animation-delay: .3s; }
@keyframes vt1-hop { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-7px); } }
.reduced .vt1-more__dots i { animation: none; }

@media (max-width: 860px) {
  .vt1-head { grid-template-columns: 1fr; gap: 20px; }
  .vt1-bar {
    flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1);
    padding: 2px var(--pad) 18px; scrollbar-width: none;
  }
  .vt1-bar::-webkit-scrollbar { display: none; }
  .vt1-grid { grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
  .vt1-frame { border-radius: 10px; }
  .vt1-more__in { border-radius: 10px; gap: 10px; padding: 8px; }
  .vt1-card figcaption { padding-top: 7px; }
  .vt1-cn { font-size: 12.5px; }
  .vt1-cc { font-size: 10.5px; }
}

/* =========================================================
   2 · Kartenstapel
   ========================================================= */
.vt2 { background: var(--bg-2); overflow: hidden; }
.vt2-pin {
  height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px;
  padding: 100px var(--pad) 40px; align-items: center;
}
.vt2-text { display: flex; flex-direction: column; gap: clamp(28px, 5vh, 60px); position: relative; z-index: 2; }
.vt2-headline .h2 { font-size: clamp(42px, 4.8vw, 84px); }
.vt2-now { display: flex; flex-direction: column; gap: 14px; }
.vt2-count { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.vt2-count i { width: 40px; height: 1px; background: currentColor; }
.vt2-cur { color: var(--ink); font-weight: 700; }
.vt2-names { position: relative; height: clamp(46px, 4.6vw, 74px); overflow: hidden; }
.vt2-name {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  font-family: var(--serif); font-style: italic; font-size: clamp(40px, 4.2vw, 68px); line-height: 1.05;
  transform: translateY(105%); opacity: 0; transition: transform .55s var(--ease), opacity .4s;
}
.vt2-name.is-on { transform: none; opacity: 1; }
.vt2-index { display: flex; flex-wrap: wrap; gap: 6px 6px; max-width: 640px; margin-top: 6px; }
.vt2-index li {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px;
  font-size: 13.5px; font-weight: 500; color: var(--muted); border: 1px solid transparent;
  transition: color .35s, background .35s, border-color .35s;
}
.vt2-index li i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); opacity: .45; transition: opacity .35s, transform .35s var(--ease); }
.vt2-index li.is-on { color: var(--ink); background: #fff; border-color: var(--line); }
.vt2-index li.is-on i { opacity: 1; transform: scale(1.25); }

.vt2-stage { position: relative; height: 100%; min-height: 0; display: flex; flex-direction: column; }
.vt2-deck { position: relative; flex: 1; min-height: 0; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.vt2-deck:active { cursor: grabbing; }
.vt2-card {
  --h: min(66vh, 640px); --mw: 42vw;
  position: absolute; left: 50%; top: 52%; height: min(var(--h), var(--mw) * var(--r, 1.25)); width: auto; margin: 0;
  border-radius: 8px; overflow: hidden; background: #fff;
  box-shadow: 0 40px 60px -30px rgba(40,30,20,.45), 0 6px 14px -6px rgba(40,30,20,.18);
  will-change: transform;
}
.vt2-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vt2-card::after { content: ''; position: absolute; inset: 0; background: #2a2118; opacity: var(--shade, 0); pointer-events: none; }
.vt2-ctrl { display: flex; align-items: center; justify-content: center; gap: 18px; padding-top: 18px; flex: none; }
.vt2-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid #ddd6cc; background: #fff; cursor: pointer;
  display: grid; place-items: center; transition: background .3s, color .3s, transform .3s var(--ease);
}
.vt2-btn svg { width: 20px; height: 20px; }
.vt2-btn:hover { background: var(--ink); color: #fff; transform: scale(1.06); }
.vt2-hint { font-family: var(--mono); font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .vt2-pin { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 10px; padding: 84px var(--pad) 22px; align-items: stretch; }
  .vt2-text { gap: 14px; }
  .vt2-headline .eyebrow { margin-bottom: 12px; }
  .vt2-headline .h2 { font-size: clamp(36px, 10vw, 48px); }
  .vt2-now { gap: 4px; }
  .vt2-count { font-size: 12px; }
  .vt2-names { height: 40px; }
  .vt2-name { font-size: 34px; }
  .vt2-index { display: none; }
  .vt2-card { --h: min(44svh, 420px); --mw: 80vw; top: 50%; }
  .vt2-ctrl { padding-top: 10px; }
  .vt2-btn { width: 42px; height: 42px; }
}
@media (max-height: 700px) and (max-width: 860px) {
  .vt2-headline .h2 { font-size: 32px; }
  .vt2-card { --h: 38svh; }
}

/* =========================================================
   3 · 3D-Karussell
   ========================================================= */
.vt3 { background: var(--dark); color: #fff; overflow: hidden; }
.vt3-pin {
  position: relative; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 100px 0 clamp(24px, 4vh, 44px);
  background: radial-gradient(70% 55% at 50% 58%, #2a2622 0%, rgba(18,18,17,0) 70%);
}
.vt3-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding: 0 var(--pad); position: relative; z-index: 3; }
.vt3-head .h2 { font-size: clamp(40px, 5vw, 84px); }
.vt3-head .eyebrow { margin-bottom: 16px; }
.vt3-hint { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,.55); white-space: nowrap; padding-bottom: .6em; }
.vt3-hint__ic { width: 34px; height: 20px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 99px; position: relative; }
.vt3-hint__ic::after { content: ''; position: absolute; top: 50%; left: 6px; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--gelb); animation: vt3-swipe 2s var(--ease) infinite; }
@keyframes vt3-swipe { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(14px); } }
.reduced .vt3-hint__ic::after { animation: none; }

.vt3-stage {
  position: relative; min-height: 0; perspective: 1150px; perspective-origin: 50% 18%;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.vt3-stage.is-drag { cursor: grabbing; }
.vt3-ring { position: absolute; inset: 0; transform-style: preserve-3d; }
.vt3-card {
  --w: clamp(170px, 17vw, 260px);
  position: absolute; left: 50%; top: 48%; width: var(--w); aspect-ratio: 4 / 5; margin: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  -webkit-box-reflect: below 4px linear-gradient(transparent 72%, rgba(255,255,255,.16));
  will-change: transform, opacity;
}
.vt3-card img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; pointer-events: none; border-radius: 4px; }
.vt3-card::after { content: ''; position: absolute; inset: 0; background: var(--dark); opacity: var(--sh, 0); pointer-events: none; }
.vt3-info { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 var(--pad); position: relative; z-index: 3; }
.vt3-count { font-family: var(--mono); font-size: 14px; color: rgba(255,255,255,.5); }
.vt3-cur { color: #fff; font-weight: 700; }
.vt3-names { position: relative; height: clamp(44px, 4.4vw, 70px); width: min(90vw, 760px); overflow: hidden; text-align: center; }
.vt3-name {
  position: absolute; left: 50%; top: 0; white-space: nowrap; translate: -50% 0;
  font-family: var(--serif); font-style: italic; font-size: clamp(36px, 4vw, 62px); line-height: 1.08;
  opacity: 0; transform: translateY(60%); transition: transform .5s var(--ease), opacity .35s;
}
.vt3-name.is-on { opacity: 1; transform: none; }
.vt3-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; }
.vt3-chip {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.7);
  border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s;
}
.vt3-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.vt3-chip:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.vt3-chip.is-on { background: #fff; color: var(--ink); border-color: #fff; }

@media (max-width: 860px) {
  .vt3-pin { padding: 86px 0 20px; }
  .vt3-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .vt3-head .eyebrow { margin-bottom: 10px; }
  .vt3-head .h2 { font-size: clamp(34px, 9.6vw, 46px); }
  .vt3-hint { padding: 0; font-size: 12px; }
  .vt3-stage { perspective: 900px; }
  .vt3-card { --w: 44vw; top: 46%; }
  .vt3-info { gap: 8px; }
  .vt3-names { height: 40px; width: 100%; }
  .vt3-name { font-size: 32px; }
  .vt3-chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; max-width: 100vw; padding: 2px var(--pad); scrollbar-width: none; }
  .vt3-chips::-webkit-scrollbar { display: none; }
  .vt3-chip { padding: 6px 11px; font-size: 12.5px; }
}

/* =========================================================
   4 · Vorlage füllt sich
   ========================================================= */
.vt4 { background: var(--bg); overflow: hidden; }
.vt4-pin {
  height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(30px, 4vw, 70px);
  padding: 100px var(--pad) 40px; align-items: center;
}
.vt4-text .h2 { font-size: clamp(40px, 4.4vw, 80px); }
.vt4-lead { margin-top: 22px; font-size: clamp(17px, 1.35vw, 20px); color: #4A4744; max-width: 26em; line-height: 1.5; }
.vt4-steps { display: flex; flex-direction: column; gap: 4px; margin-top: clamp(26px, 4vh, 44px); counter-reset: s; }
.vt4-steps li {
  display: flex; align-items: center; gap: 14px; font-size: clamp(17px, 1.4vw, 21px); font-weight: 500; color: #b8b1a7;
  padding: 7px 0; transition: color .4s;
}
.vt4-steps b {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--mono); font-size: 14px; font-weight: 700; border: 1.5px solid #ddd6cc; color: #b8b1a7;
  transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease);
}
.vt4-steps li.is-past { color: var(--ink); }
.vt4-steps li.is-past b { border-color: var(--gruen); background: var(--gruen); color: #fff; }
.vt4-steps li.is-on { color: var(--ink); }
.vt4-steps li.is-on b { background: var(--ink); border-color: var(--ink); color: #fff; transform: scale(1.1); }
.vt4-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: clamp(22px, 3.5vh, 40px); padding-top: 18px; border-top: 1px solid var(--line); max-width: 480px; }
.vt4-ms { position: relative; flex: 1; height: 62px; }
.vt4-m { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--ease); }
.vt4-m.is-on { opacity: 1; transform: none; }
.vt4-mname { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.vt4-mcat { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 4px; }
.vt4-mcat i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.vt4-counter { font-family: var(--mono); font-size: 14px; color: var(--muted); white-space: nowrap; padding-bottom: 4px; }
.vt4-cn { color: var(--ink); font-weight: 700; font-size: 22px; }

.vt4-stage { position: relative; height: 100%; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(110px, 30%); gap: clamp(14px, 2vw, 34px); }
.vt4-area { position: relative; min-height: 0; }
.vt4-tpl { position: absolute; inset: 0; display: grid; place-items: center; container-type: size; }
.vt4-frame {
  position: relative; height: min(100cqh, 100cqw * var(--r)); width: auto;
  box-shadow: 0 40px 70px -36px rgba(40,30,20,.5), 0 4px 12px -4px rgba(40,30,20,.12);
}
.vt4-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.vt4-slot { position: absolute; display: block; border-radius: 2px; }
.vt4-slot::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  background: center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 2v10M2 7h10' stroke='%238A857E' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  border: 1.5px solid currentColor;
}
.vt4-slot--light { background: #ebe7df; color: #cfc8bc; outline: 1.5px dashed #c9c1b4; outline-offset: -6px; }
.vt4-slot--dark { background: #2a2a28; color: #4a4946; outline: 1.5px dashed #555350; outline-offset: -6px; }
.vt4-ph {
  position: absolute; overflow: hidden; border-radius: 1px;
  --b: 0px; --sa: 0;
  box-shadow: 0 0 0 var(--b) #fff, 0 22px 30px -12px rgba(40,30,20,var(--sa));
  will-change: transform;
}
.vt4-ph img { position: absolute; max-width: none; height: auto; }
.vt4-shine {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; display: block;
  background: linear-gradient(105deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.6) 50%, rgba(255,255,255,0) 60%) 130% 0 / 300% 100% no-repeat;
  mix-blend-mode: soft-light;
}
.vt4-done {
  position: absolute; right: -14px; top: -14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border-radius: 99px;
  background: var(--gruen); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 10px 20px -8px rgba(60,90,30,.5);
}
.vt4-done svg { width: 16px; height: 16px; }
.vt4-pile { position: relative; border-left: 1px dashed #ddd6cc; }
.vt4-pilelabel { position: absolute; left: 0; right: 0; top: 0; text-align: center; font-family: var(--mono); font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .vt4-pin { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 18px; padding: 84px var(--pad) 22px; align-items: stretch; }
  .vt4-text .eyebrow { margin-bottom: 12px; }
  .vt4-text .h2 { font-size: clamp(34px, 9.4vw, 46px); }
  .vt4-lead { display: none; }
  .vt4-steps { flex-direction: row; gap: 12px; margin-top: 16px; }
  .vt4-steps li { font-size: 13px; gap: 6px; padding: 0; }
  .vt4-steps b { width: 24px; height: 24px; font-size: 12px; }
  .vt4-meta { margin-top: 12px; padding-top: 10px; }
  .vt4-ms { height: 46px; }
  .vt4-mname { font-size: 22px; }
  .vt4-mcat { font-size: 11.5px; margin-top: 2px; }
  .vt4-cn { font-size: 18px; }
  .vt4-counter { font-size: 12px; }
  .vt4-stage { grid-template-columns: minmax(0, 1fr) 31%; gap: 10px; }
  .vt4-done { right: -8px; top: -10px; font-size: 12px; padding: 6px 10px 6px 8px; }
  .vt4-slot::after { width: 22px; height: 22px; margin: -11px 0 0 -11px; background-size: 10px; }
  .vt4-pilelabel { font-size: 11px; }
}

/* =========================================================
   5 · Masonry-Wand
   ========================================================= */
.vt5 { padding: clamp(80px, 9vw, 150px) 0 clamp(80px, 10vw, 150px); overflow: hidden; }
.vt5-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: end; padding: 0 var(--pad); margin-bottom: clamp(36px, 4.5vw, 70px); }
.vt5-side .lead { margin-bottom: 22px; }
.vt5-legend { display: flex; flex-wrap: wrap; gap: 6px; }
.vt5-key {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 7px 13px;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, translate .3s var(--ease);
}
.vt5-key i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.vt5-key:hover { translate: 0 -2px; }
.vt5-key.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.vt5-key[aria-pressed="true"] i { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3.5px #fff; }

.vt5-wall { position: relative; height: clamp(760px, 130vh, 1320px); overflow: hidden; padding: 0 clamp(8px, 1vw, 14px); }
.vt5-wall::before, .vt5-wall::after { content: ''; position: absolute; left: 0; right: 0; height: 12%; z-index: 4; pointer-events: none; }
.vt5-wall::before { display: none; }
.vt5-wall::after { bottom: 0; background: linear-gradient(rgba(250,248,245,0), var(--bg)); }
.vt5-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1vw, 16px); align-items: start; }
.vt5-col { display: flex; flex-direction: column; gap: clamp(8px, 1vw, 16px); will-change: transform; }
.vt5-tile {
  position: relative; margin: 0; border-radius: 8px; overflow: hidden; background: #fff; cursor: zoom-in;
  box-shadow: 0 20px 34px -24px rgba(40,30,20,.45), 0 0 0 1px rgba(40,30,20,.05);
  transition: transform .55s var(--ease), box-shadow .55s, opacity .45s, filter .45s;
}
.vt5-img { aspect-ratio: var(--r); background: var(--bg-2); }
.vt5-img img { width: 100%; height: 100%; object-fit: cover; }
.vt5-tile figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 11px 10px; min-width: 0; }
.vt5-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; color: #6f6a63; white-space: nowrap; }
.vt5-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.vt5-name {
  font-weight: 600; font-size: 12.5px; line-height: 1.2; text-align: right;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
  opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .45s var(--ease);
}
@media (hover: hover) {
  .vt5-tile:hover { transform: scale(1.1); z-index: 3; box-shadow: 0 40px 60px -26px rgba(40,30,20,.6); }
  .vt5-tile:hover .vt5-name { opacity: 1; transform: none; }
}
.vt5-tile.is-up { transform: scale(1.12); z-index: 3; box-shadow: 0 40px 60px -26px rgba(40,30,20,.6); }
.vt5-tile.is-up .vt5-name { opacity: 1; transform: none; }
.vt5-wall.has-focus .vt5-tile:not(.is-f) { opacity: .22; filter: grayscale(1); }
.vt5-wall.has-focus .vt5-tile.is-f { box-shadow: 0 0 0 3px var(--c), 0 30px 44px -24px rgba(40,30,20,.5); }

@media (max-width: 1100px) {
  .vt5-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vt5-col:nth-child(n+5) { display: none; }
}
@media (max-width: 860px) {
  .vt5-head { grid-template-columns: 1fr; gap: 20px; }
  .vt5-legend {
    flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--pad) * -1); padding: 2px var(--pad) 6px; scrollbar-width: none;
  }
  .vt5-legend::-webkit-scrollbar { display: none; }
  .vt5-wall { height: 115svh; }
  .vt5-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vt5-col:nth-child(n+4) { display: none; }
  .vt5-tile { border-radius: 6px; }
  .vt5-tile figcaption { padding: 6px 7px 7px; }
  .vt5-tag { font-size: 9.5px; gap: 4px; }
  .vt5-tag i { width: 6px; height: 6px; }
  .vt5-name { display: none; }
}

@media (max-width: 860px) {
  .vt5-head { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
