/* the Shorts: standing cards in a row you swipe, and a standing player */
.kort { position: relative; z-index: 2; padding: 44px 0 0; max-width: 1180px; margin: 0 auto; }
.kort[hidden] { display: none; }
.kort-head { display: flex; align-items: flex-end; gap: 16px; padding: 0 var(--gut); }
.kort-head > div:first-child { flex: 1; } .kort-nav { flex: none; }
.kort-head h2 { margin: 0 0 8px; font: 700 clamp(34px, 4vw, 56px)/1 var(--f-display); text-transform: uppercase; }
.kort-nav { display: flex; gap: 8px; margin-bottom: 14px; }
.kort-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #2a2a24; background: #121210; color: var(--y); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, opacity .2s; }
.kort-nav button:hover:not(:disabled) { border-color: var(--y); }
.kort-nav button:disabled { opacity: .3; cursor: default; }
.kort-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.kort-row { list-style: none; margin: 0; padding: 8px var(--gut) 6px; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 17vw, 220px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); scrollbar-width: none; }
.kort-row::-webkit-scrollbar { display: none; }
.kort-row li { scroll-snap-align: start; opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .6s ease, transform .8s cubic-bezier(.16, 1, .3, 1); }
.kort.in .kort-row li { opacity: 1; transform: none; }
.kort.in .kort-row li:nth-child(1) { transition-delay: 0ms; } .kort.in .kort-row li:nth-child(2) { transition-delay: 70ms; } .kort.in .kort-row li:nth-child(3) { transition-delay: 140ms; } .kort.in .kort-row li:nth-child(4) { transition-delay: 210ms; } .kort.in .kort-row li:nth-child(5) { transition-delay: 280ms; } .kort.in .kort-row li:nth-child(6) { transition-delay: 350ms; }
.ks { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #121210; cursor: pointer; text-align: left; color: #fff; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .9); }
.ks img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.ks::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 45%, rgba(0, 0, 0, .85)); pointer-events: none; }
.ks:hover img { transform: scale(1.05); }
.ks:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; }
.ks-play { position: absolute; z-index: 1; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; background: var(--y); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .5); transition: transform .3s; }
.ks:hover .ks-play { transform: scale(1.1); }
.ks-play svg { width: 16px; height: 16px; fill: #151513; margin-left: 2px; }
.ks-txt { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 4px; }
.ks-txt b { font: 800 14px/1.2 var(--f-ui); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ks-txt small { font: 600 11px var(--f-ui); letter-spacing: .06em; color: var(--y); }

/* the standing player */
.short-dlg { width: min(420px, 100% - 24px); max-height: 96svh; margin: auto; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
.short-dlg::backdrop { background: rgba(3, 3, 3, .86); backdrop-filter: blur(8px); }
.short-dlg[open] { animation: shortIn .4s cubic-bezier(.16, 1, .3, 1) both; }
.short-dlg.closing { animation: shortOut .22s ease-in both; }
@keyframes shortIn { from { opacity: 0; transform: scale(.92) translateY(24px); } }
@keyframes shortOut { to { opacity: 0; transform: scale(.95); } }
.short-in { position: relative; display: grid; gap: 12px; }
.short-frame { position: relative; width: 100%; max-height: 78svh; aspect-ratio: 9 / 16; margin: 0 auto; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9); }
.short-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.short-frame.up { animation: shortUp .45s cubic-bezier(.16, 1, .3, 1); } .short-frame.down { animation: shortDown .45s cubic-bezier(.16, 1, .3, 1); }
@keyframes shortUp { from { transform: translateY(40px); opacity: .3; } } @keyframes shortDown { from { transform: translateY(-40px); opacity: .3; } }
.short-info { display: flex; align-items: center; gap: 12px; }
.short-info div { flex: 1; min-width: 0; }
.short-info b { display: block; font: 800 15px/1.25 var(--f-ui); }
.short-info small { font: 600 12px var(--f-ui); color: var(--y); }
.short-info a { flex: none; padding: 9px 12px; border-radius: 999px; border: 1px solid #2a2a24; color: var(--ink); font: 700 11px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.short-info a:hover { border-color: var(--y); color: var(--y); }
.short-x, .short-step { position: absolute; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #2a2a24; background: rgba(18, 18, 16, .9); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.short-x { top: -6px; right: -54px; }
.short-step { right: -54px; }
.short-step.up { top: calc(50% - 60px); } .short-step.down { top: calc(50% + 10px); }
.short-x:hover, .short-step:hover { border-color: var(--y); color: var(--y); }
.short-x svg, .short-step svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) {
  .kort { padding-top: 32px; }
  .kort-nav { display: none; }
  .kort-row { grid-auto-columns: 42vw; gap: 10px; }
  .short-dlg { width: 100%; max-width: none; }
  .short-x { top: 8px; right: 8px; }
  .short-step { display: none; }
  .short-frame { max-height: 80svh; width: auto; height: 80svh; }
  .short-info { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) { .kort-row li { opacity: 1; transform: none; transition: none; } .short-dlg[open], .short-dlg.closing, .short-frame.up, .short-frame.down { animation: none; } }

/* 30-11: no black hole while the Shorts load: a small preview first, the sharp picture fades in; and they appear sooner */
.ks { background: #121210 center / cover no-repeat; }
.ks img { opacity: 0; transition: opacity .35s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
.ks img.ok { opacity: 1; }
.kort-row li { transition: opacity .4s ease, transform .55s cubic-bezier(.16, 1, .3, 1); }
.kort.in .kort-row li:nth-child(n) { transition-delay: 0ms; }
.kort.in .kort-row li:nth-child(2) { transition-delay: 40ms; } .kort.in .kort-row li:nth-child(3) { transition-delay: 80ms; } .kort.in .kort-row li:nth-child(4) { transition-delay: 120ms; }
