/* VisTok: the fish world's video app, drawn like the pink phone in SNOEK'EM's Knysna bonus
   round. Pixel icons, Barlow Condensed lettering (Display) and IBM Plex Mono, on a dark
   pink-lit backdrop. The phone and the app below are shared with /embed/, the phone alone. */

@font-face { font-family: Display; src: url(/fonts/Display.ttf) format('truetype'); font-display: swap; }
@font-face { font-family: Mono; src: url(/fonts/Mono.ttf) format('truetype'); font-display: swap; }

:root {
  --bg: #14081a;
  --panel: #22102a;
  --line: #3a1d40;
  --cream: #f6eee4;
  --muted: #b39ab3;
  --pink: #ff4b93;
  --pink-dark: #a3164f;
  --teal: #29a3a5;
  --gold-2: #ffd36b;
  --ink: #04090c;
  --gutter: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg) radial-gradient(90% 700px at 70% 0%, #4a1238 0%, transparent 65%) no-repeat;
  color: var(--cream);
  font: 400 16px/1.6 Mono, ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: Display, Impact, 'Arial Narrow', sans-serif; font-weight: 400; line-height: .95; margin: 0 0 .3em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold-2); color: var(--ink); padding: 8px 14px; }
.skip:focus { left: 8px; }
.shell { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono { font-family: Mono, monospace; }
.small { font-size: 13px; }
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 6px; font: 400 13px/1 Mono, monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--pink); }
@media (min-width: 700px) { :root { --gutter: 32px; } }

/* ---------------------------------------------------------------- the home page */

.home { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 64px); align-items: start; padding-block: clamp(24px, 5vw, 56px); }
.home-head { display: flex; gap: 20px; align-items: center; margin-bottom: 24px; }
.home-head img { width: clamp(96px, 14vw, 140px); flex: none; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .35)); }
.home-head h1 { font-size: clamp(60px, 10vw, 108px); color: #fff; text-shadow: 0 4px 0 var(--pink-dark); }
.lede { font-size: 17px; max-width: 34em; }
.home-copy { max-width: 540px; padding-top: 6px; }
.home-copy h2 { margin: 34px 0 12px; font-size: 30px; text-transform: uppercase; color: var(--gold-2); }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.people a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--muted); font-size: 13px; line-height: 1.3; }
.people img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 3px solid var(--pink); background: var(--panel); flex: none; }
.people b { display: block; font: 400 21px/1 Display, sans-serif; text-transform: uppercase; color: var(--cream); }
.people a:hover b { color: var(--gold-2); }
.games { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.games li { padding: 14px 16px; background: var(--panel); border: 2px solid var(--line); border-left: 6px solid var(--teal); }
.games h3 { font-size: 26px; text-transform: uppercase; margin: 0 0 4px; }
.games p { margin: 0 0 8px; font-size: 14px; }
.games .row { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; }
.keys { margin-top: 26px; }
.phone-wrap { position: sticky; top: 24px; }
.phone-wrap .phone { width: min(400px, calc(100vw - 2 * var(--gutter))); }
@media (max-width: 860px) {
  .home { grid-template-columns: 1fr; }
  .phone-wrap { position: relative; top: 0; order: -1; display: flex; justify-content: center; }
  .home-copy { padding-top: 0; }
}
@media (max-width: 520px) { .people { grid-template-columns: 1fr; } }

.footer { margin-top: 40px; border-top: 2px solid var(--line); background: #0d0511; padding-block: 28px 36px; }
.footer-inner { display: flex; gap: 22px; align-items: center; }
.footer-inner img { width: 64px; flex: none; }
.footer p { margin: 0 0 4px; }

.notfound { text-align: center; padding-block: 90px; }
.notfound h1 { font-size: clamp(80px, 18vw, 160px); color: var(--pink); }

/* ---------------------------------------------------------------- /embed/: the phone alone */

.embed, .embed body { background: transparent; overflow: hidden; }
.embed body { padding: 0; }
.embed .phone { width: 100%; max-width: none; }

/* ---------------------------------------------------------------- the phone */

.phone {
  --px: 4px;
  position: relative; width: 100%; max-width: 390px; padding: 14px 34px 14px 14px;
  background: linear-gradient(180deg, #ff6aa8, var(--pink) 40%, #e2337b);
  clip-path: polygon(0 calc(var(--px) * 6), var(--px) calc(var(--px) * 6), var(--px) calc(var(--px) * 3), calc(var(--px) * 2) calc(var(--px) * 3), calc(var(--px) * 2) calc(var(--px) * 2), calc(var(--px) * 3) calc(var(--px) * 2), calc(var(--px) * 3) var(--px), calc(var(--px) * 6) var(--px), calc(var(--px) * 6) 0,
    calc(100% - var(--px) * 6) 0, calc(100% - var(--px) * 6) var(--px), calc(100% - var(--px) * 3) var(--px), calc(100% - var(--px) * 3) calc(var(--px) * 2), calc(100% - var(--px) * 2) calc(var(--px) * 2), calc(100% - var(--px) * 2) calc(var(--px) * 3), calc(100% - var(--px)) calc(var(--px) * 3), calc(100% - var(--px)) calc(var(--px) * 6), 100% calc(var(--px) * 6),
    100% calc(100% - var(--px) * 6), calc(100% - var(--px)) calc(100% - var(--px) * 6), calc(100% - var(--px)) calc(100% - var(--px) * 3), calc(100% - var(--px) * 2) calc(100% - var(--px) * 3), calc(100% - var(--px) * 2) calc(100% - var(--px) * 2), calc(100% - var(--px) * 3) calc(100% - var(--px) * 2), calc(100% - var(--px) * 3) calc(100% - var(--px)), calc(100% - var(--px) * 6) calc(100% - var(--px)), calc(100% - var(--px) * 6) 100%,
    calc(var(--px) * 6) 100%, calc(var(--px) * 6) calc(100% - var(--px)), calc(var(--px) * 3) calc(100% - var(--px)), calc(var(--px) * 3) calc(100% - var(--px) * 2), calc(var(--px) * 2) calc(100% - var(--px) * 2), calc(var(--px) * 2) calc(100% - var(--px) * 3), var(--px) calc(100% - var(--px) * 3), var(--px) calc(100% - var(--px) * 6), 0 calc(100% - var(--px) * 6));
  box-shadow: inset -6px 0 0 var(--pink-dark), inset 0 -6px 0 var(--pink-dark), inset 4px 4px 0 rgba(255, 255, 255, .35);
}
.phone::after {
  content: ''; position: absolute; right: 9px; top: 60px; bottom: 60px; width: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 40' shape-rendering='crispEdges'%3E%3Cpath fill='%23fff' d='M1 1h2v1h1v1h1V2h1V1h2v1h1v3H8v1H7v1H6v1H5v1H4V8H3V7H2V6H1V5H0V2h1z'/%3E%3C/svg%3E") center top / 18px 80px repeat-y;
}
.phone-screen { position: relative; overflow: hidden; background: #000; border: 4px solid var(--ink); aspect-ratio: 9 / 18.5; }

.vistok-fallback { list-style: none; margin: 0; padding: 8px; height: 100%; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.vistok-fallback a { display: grid; gap: 4px; font-size: 11px; line-height: 1.3; color: #fff; text-decoration: none; }
.vistok-fallback b { color: #ffd0e3; font-weight: 400; }

/* The app: the screens above, VisTok's own nav below; pixel icons, Display lettering. */
.vt-app { position: absolute; inset: 0; display: flex; flex-direction: column; background: #050608; color: #fff; font: 13px/1.4 Mono, monospace; }
.vt-screens { position: relative; flex: 1; min-height: 0; }
.vt-screen { position: absolute; inset: 0; display: flex; flex-direction: column; }
.vt-screen[hidden] { display: none; }
.vt-body { position: relative; flex: 1; min-height: 0; }
.vt-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 12px 20px; scrollbar-width: none; }
.vt-scroll::-webkit-scrollbar { display: none; }
.px { width: 30px; height: 30px; fill: currentColor; shape-rendering: crispEdges; }
.av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--panel); flex: none; }
.av.you { display: inline-grid; place-items: center; font: 400 13px/1 Display, sans-serif; color: var(--ink); background: var(--gold-2); }
.av.live { box-shadow: 0 0 0 3px var(--pink), 0 0 0 5px #050608, 0 0 0 7px var(--pink); }
.badge { font: 9px/1 Mono, monospace; letter-spacing: .08em; color: var(--ink); background: var(--gold-2); padding: 2px 4px; vertical-align: 2px; }
.vt-h { font: 400 18px/1 Display, sans-serif; text-transform: uppercase; color: var(--muted); margin: 16px 0 10px; }
.vt-empty { color: var(--muted); padding: 20px 0; text-align: center; }

.vt-nav { display: flex; justify-content: space-around; height: 54px; flex: none; background: #0b0d12; border-top: 2px solid var(--pink-dark); }
.vt-nav button { display: grid; justify-items: center; align-content: center; gap: 1px; flex: 1; background: none; border: 0; color: rgba(255, 255, 255, .55); font: 400 13px/1 Display, sans-serif; text-transform: uppercase; cursor: pointer; }
.vt-nav .px { width: 22px; height: 22px; }
.vt-nav button[aria-current] { color: #fff; }
.vt-nav button[aria-current] .px { color: var(--pink); }
.vt-nav span { max-width: 100%; padding: 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-nav .vt-games { color: rgba(255, 255, 255, .8); }
.vt-nav .vt-games .px { color: var(--gold-2); }

.vt-top { position: absolute; z-index: 4; inset: 0 0 auto; padding: 22px 6px 0; display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; justify-items: center; background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent); pointer-events: none; }
.vt-top::before { content: ''; position: absolute; top: 0; left: 50%; width: 96px; height: 14px; transform: translateX(-50%); background: var(--ink); border-radius: 0 0 10px 10px; }
.vt-tabs { display: flex; gap: 14px; pointer-events: auto; }
.vt-tabs button { background: none; border: 0; padding: 4px 0; font: 400 19px/1 Display, sans-serif; text-transform: uppercase; color: rgba(255, 255, 255, .6); cursor: pointer; text-shadow: 0 1px 3px #000; }
.vt-tabs button[aria-selected="true"] { color: #fff; box-shadow: 0 3px 0 #fff; }

.vt-feed { position: absolute; inset: 0; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; outline: none; }
.vt-feed::-webkit-scrollbar { display: none; }
.vt-feed { cursor: grab; }
.vt-feed.dragging { cursor: grabbing; user-select: none; }
.vt-hint { position: absolute; z-index: 4; left: 50%; bottom: 150px; transform: translateX(-50%); margin: 0; display: grid; justify-items: center; gap: 2px; font: 400 18px/1 Display, sans-serif; text-transform: uppercase; color: #fff; text-shadow: 0 2px 4px #000; pointer-events: none; transition: opacity .3s; }
.vt-hint .px { width: 34px; height: 34px; transform: rotate(90deg); filter: drop-shadow(0 2px 2px #000); }
.vt-hint span { animation: nudge 1.2s steps(6) infinite; }
.vt-hint.gone { opacity: 0; }
@keyframes nudge { 50% { transform: translateY(-12px); } }
.vt-post { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: #000; }
.vt-media { position: absolute; inset: 0; cursor: pointer; }
.vt-media video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.vt-paused { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; transition: opacity .15s; pointer-events: none; }
.vt-paused .px { width: 64px; height: 64px; opacity: .8; filter: drop-shadow(0 2px 4px #000); }
.vt-post.paused .vt-paused { opacity: 1; }
.vt-burst { position: absolute; width: 90px; height: 90px; margin: -45px 0 0 -45px; color: var(--pink); opacity: 0; pointer-events: none; }
.vt-burst .px { width: 90px; height: 90px; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .4)); }
.vt-burst.go { animation: burst .7s steps(7) forwards; }
@keyframes burst { 0% { opacity: 1; transform: scale(.4) rotate(-12deg); } 30% { opacity: 1; transform: scale(1.15) rotate(6deg); } 100% { opacity: 0; transform: scale(1) translateY(-60px); } }
.vt-progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 10px; cursor: pointer; }
.vt-progress i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #fff; }
.vt-rail { position: absolute; z-index: 3; right: 6px; bottom: 96px; display: grid; justify-items: center; gap: 12px; }
.vt-avatar { position: relative; background: none; border: 0; padding: 0; margin-bottom: 6px; cursor: pointer; }
.vt-avatar .av { width: 46px; height: 46px; border: 2px solid #fff; }
.vt-plus { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); width: 18px; height: 18px; display: grid; place-items: center; font: 400 16px/1 Display, sans-serif; color: #fff; background: var(--pink); border-radius: 50%; }
.vt-btn { display: grid; justify-items: center; gap: 1px; background: none; border: 0; padding: 0; color: #fff; font: 11px/1.1 Mono, monospace; cursor: pointer; text-shadow: 0 1px 2px #000; }
.vt-btn .px { width: 34px; height: 34px; stroke: var(--ink); stroke-width: .9; paint-order: stroke; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .45)); }
.vt-btn .px .dots { fill: var(--ink); stroke: none; }
.vt-btn.like[aria-pressed="true"] .px { color: var(--pink); animation: pop .3s steps(3); }
.vt-btn.sound .px { width: 26px; height: 26px; }
.vt-meta { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 70px 62px 14px 10px; background: linear-gradient(0deg, rgba(0, 0, 0, .78), transparent); text-shadow: 0 1px 2px #000; pointer-events: none; }
.vt-meta button, .vt-meta a { pointer-events: auto; }
.vt-handle { background: none; border: 0; padding: 0; margin-bottom: 4px; font: 400 18px/1 Display, sans-serif; color: #fff; cursor: pointer; }
.vt-caption { margin: 0 0 6px; font-size: 12.5px; }
.vt-tag { background: none; border: 0; padding: 0; font: inherit; color: #ffd0e3; cursor: pointer; }
.vt-link { display: inline-block; margin-bottom: 6px; padding: 3px 8px; font: 400 14px/1.2 Display, sans-serif; text-transform: uppercase; color: var(--ink); background: var(--gold-2); text-decoration: none; }
.vt-sound { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 11px; white-space: nowrap; overflow: hidden; }
.vt-marquee { overflow: hidden; flex: 1; min-width: 0; }
.vt-marquee span { display: inline-block; padding-left: 100%; animation: marquee 9s linear infinite; }
.vt-views { color: rgba(255, 255, 255, .6); }

/* Comments: a sheet up from the bottom of the phone. */
.vt-sheet { position: absolute; z-index: 20; inset: 0; }
.vt-sheet-back { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .2s; }
.vt-sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; height: 68%; display: flex; flex-direction: column; background: #0d1016; border-top: 3px solid var(--pink); transform: translateY(100%); transition: transform .2s steps(6); }
.vt-sheet.open .vt-sheet-back { opacity: 1; }
.vt-sheet.open .vt-sheet-panel { transform: none; }
.vt-sheet header { display: flex; justify-content: center; align-items: center; position: relative; padding: 12px; font: 400 18px/1 Display, sans-serif; text-transform: uppercase; border-bottom: 1px solid #222a36; }
.vt-close { position: absolute; right: 8px; top: 6px; background: none; border: 0; color: #fff; cursor: pointer; }
.vt-close .px { width: 22px; height: 22px; }
.vt-comments { list-style: none; margin: 0; padding: 6px 12px; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.vt-comments li { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; padding: 8px 0; align-items: start; }
.vt-comments .av { width: 36px; height: 36px; }
.vt-c-av { background: none; border: 0; padding: 0; cursor: pointer; }
.vt-comments p { margin: 0; font-size: 12.5px; }
.vt-c-user { color: rgba(255, 255, 255, .6); font-size: 11px !important; }
.vt-c-like { display: grid; justify-items: center; color: rgba(255, 255, 255, .6); font-size: 10px; }
.vt-c-like .px { width: 16px; height: 16px; }
.vt-say { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-top: 1px solid #222a36; }
.vt-say .av { width: 32px; height: 32px; font-size: 11px; }
.vt-say input { flex: 1; min-width: 0; padding: 8px 10px; font: 13px Mono, monospace; color: #fff; background: #1a1f29; border: 1px solid #2c3442; }
.vt-say input:focus { outline: 2px solid var(--pink); }
.vt-say button { font: 400 16px/1 Display, sans-serif; text-transform: uppercase; color: var(--ink); background: var(--pink); border: 0; padding: 8px 10px; cursor: pointer; }
.vt-choose .vt-sheet-panel { height: auto; }
.vt-options { list-style: none; margin: 0; padding: 6px 0 10px; }
.vt-options button { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; width: 100%; padding: 12px 16px; color: #fff; background: none; border: 0; border-left: 4px solid transparent; text-align: left; cursor: pointer; font: 11px Mono, monospace; }
.vt-options button:hover { background: #121722; }
.vt-options button[aria-pressed="true"] { border-left-color: var(--pink); background: #1a1f29; }
.vt-options b { font: 400 20px/1 Display, sans-serif; text-transform: uppercase; font-weight: 400; }
.vt-options span { color: rgba(255, 255, 255, .55); }
.vt-say-note { margin: 0; padding: 0 10px 8px; font-size: 10px; color: rgba(255, 255, 255, .45); }

/* Following, profiles, discover. */
.vt-home .vt-following { position: absolute; inset: 0; padding-top: 64px; }
.vt-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.vt-people li { display: flex; align-items: center; gap: 8px; }
.vt-person { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 8px 4px; background: none; border: 0; color: #fff; text-align: left; cursor: pointer; }
.vt-person:hover { background: #121722; }
.vt-person .av { width: 48px; height: 48px; }
.vt-person-text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.vt-person-text b { font: 400 18px/1.1 Display, sans-serif; text-transform: uppercase; font-weight: 400; }
.vt-person-text .mono { font-size: 10.5px; color: rgba(255, 255, 255, .55); }
.vt-last { font-size: 11px; color: rgba(255, 255, 255, .75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-thumb { width: 40px; height: 71px; object-fit: cover; border: 1px solid #333; }
.vt-live { position: absolute; left: 13px; top: 46px; font: 400 10px/1 Display, sans-serif; color: #fff; background: var(--pink); padding: 2px 4px; }
.vt-follow { flex: none; font: 400 15px/1 Display, sans-serif; text-transform: uppercase; color: #fff; background: var(--pink); border: 0; padding: 7px 12px; cursor: pointer; }
.vt-follow[aria-pressed="true"] { background: #232a36; color: rgba(255, 255, 255, .8); }
.vt-follow.big { padding: 10px 40px; font-size: 18px; margin: 8px 0; }
.vt-bar { display: flex; justify-content: space-between; align-items: center; padding: 22px 8px 8px; font: 400 18px/1 Display, sans-serif; border-bottom: 1px solid #1c222d; flex: none; }
.vt-bar > span { width: 30px; }
.vt-backbtn { background: none; border: 0; color: #fff; cursor: pointer; padding: 0; }
.vt-player .vt-backbtn { position: absolute; z-index: 5; left: 8px; top: 20px; filter: drop-shadow(0 1px 2px #000); }
.vt-prof-head { position: relative; display: grid; justify-items: center; text-align: center; padding: 16px 0 6px; }
.vt-prof-head .av.big { width: 88px; height: 88px; border: 3px solid var(--pink); }
.vt-prof-head .av.you.big { font-size: 22px; }
.vt-prof-head .vt-live { left: calc(50% - 15px); top: 92px; }
.vt-prof-head h3 { margin: 10px 0 6px; font-size: 24px; }
.vt-stats { display: flex; gap: 18px; margin: 0 0 6px; }
.vt-stats div { display: grid; }
.vt-stats dt { order: 2; font-size: 10px; color: rgba(255, 255, 255, .55); }
.vt-stats dd { margin: 0; font: 400 20px/1 Display, sans-serif; }
.vt-bio { margin: 4px 8px 8px; font-size: 12px; color: rgba(255, 255, 255, .85); }
.vt-grid { list-style: none; margin: 0 -12px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.vt-grid button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #111; cursor: pointer; aspect-ratio: 9 / 16; }
.vt-grid img { width: 100%; height: 100%; object-fit: cover; }
.vt-grid span { position: absolute; left: 4px; bottom: 3px; display: flex; align-items: center; gap: 2px; font-size: 10px; color: #fff; text-shadow: 0 1px 2px #000; }
.vt-grid .px { width: 12px; height: 12px; }
.vt-search { display: flex; align-items: center; gap: 6px; margin: 22px 10px 6px; padding: 0 10px; background: #1a1f29; border: 1px solid #2c3442; flex: none; }
.vt-search .px { width: 18px; height: 18px; color: rgba(255, 255, 255, .6); }
.vt-search input { flex: 1; min-width: 0; padding: 9px 0; font: 13px Mono, monospace; color: #fff; background: none; border: 0; outline: none; }
.vt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.vt-chips button { font: 11px Mono, monospace; color: #fff; background: #1a1f29; border: 1px solid #2c3442; padding: 5px 8px; cursor: pointer; }
.vt-chips button[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); }
.vt-toast { position: absolute; z-index: 30; left: 50%; bottom: 70px; transform: translateX(-50%); margin: 0; padding: 7px 12px; font: 400 15px/1 Display, sans-serif; text-transform: uppercase; color: var(--ink); background: var(--gold-2); opacity: 0; transition: opacity .2s; pointer-events: none; white-space: nowrap; }
.vt-toast.show { opacity: 1; }
@keyframes nudge { 50% { transform: translateY(-12px); } }
@keyframes burst { 0% { opacity: 1; transform: scale(.4) rotate(-12deg); } 30% { opacity: 1; transform: scale(1.15) rotate(6deg); } 100% { opacity: 0; transform: scale(1) translateY(-60px); } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes pop { 50% { transform: scale(1.3); } }

/* VisTok full screen: the app on its own, the whole display, like the real thing. On a wide
   screen it stays a portrait column, as the app does on a computer. */
.vt-fullbtn { position: absolute; z-index: 6; left: 6px; top: 20px; display: none; place-items: center; width: 30px; height: 30px; padding: 0; color: #fff; background: rgba(0, 0, 0, .55); border: 2px solid rgba(255, 255, 255, .6); cursor: pointer; }
.vt-fullbtn .px { width: 18px; height: 18px; }
.vt-app.on-home .vt-fullbtn, .vt-full .vt-fullbtn { display: grid; }
.vt-full .vt-app:not(.on-home) .vt-fullbtn { left: auto; right: 6px; top: auto; bottom: 64px; }
.vt-full { position: fixed !important; inset: 0; z-index: 1000; width: 100vw; height: 100vh; height: 100dvh; aspect-ratio: auto !important; border: 0 !important; background: #000; display: grid; justify-items: center; }
.vt-full .vt-app { position: relative; inset: auto; width: min(100vw, calc(100dvh * 9 / 16)); height: 100%; }
.vt-full .vt-top { padding-top: calc(22px + env(safe-area-inset-top)); }
.vt-full .vt-fullbtn { top: calc(20px + env(safe-area-inset-top)); }
.vt-full .vt-top::before { display: none; }
.vt-full .vt-nav { height: calc(54px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
.vt-full .vt-toast { bottom: calc(70px + env(safe-area-inset-bottom)); }
.vt-full .vt-sheet-panel { padding-bottom: env(safe-area-inset-bottom); }
.vt-full-open, .vt-full-open body { overflow: hidden; overscroll-behavior: none; }
:fullscreen.vt-full { width: 100vw; height: 100vh; }
@media (min-aspect-ratio: 3/4) { .vt-full::before { content: ''; position: fixed; inset: 0; background: radial-gradient(60% 80% at 50% 50%, #2a0f22, #000 70%); } }
.vt-full-open .phone, .vt-full-open .phone-wrap { clip-path: none; position: static; }
.vt-full-open .phone::after { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
