/* TikTok look-alike screens (.ttp). Not affiliated with TikTok. Controls live in pvcore.css. */
.ttp { --bg: #fff; --fg: #161823; --fg2: rgba(22, 24, 35, .6); --line: rgba(22, 24, 35, .12); --soft: rgba(22, 24, 35, .06); --red: #fe2c55;
  font-family: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif; background: var(--bg); color: var(--fg); text-align: left; position: relative; -webkit-font-smoothing: antialiased; line-height: 1.3; font-size: 14px; }
.ttp.dark { --bg: #000; --fg: #fff; --fg2: rgba(255, 255, 255, .6); --line: rgba(255, 255, 255, .12); --soft: rgba(255, 255, 255, .1); }
.ttp * { box-sizing: border-box; margin: 0; padding: 0; }
.ttp svg { display: block; flex: none; fill: currentColor; }
.ttp .av { border-radius: 50%; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; flex: none; }
.ttp.hi .mine .hl { box-shadow: 0 0 0 3px #ff3d3d; }
.ttp .vf { width: 14px; height: 14px; fill: #20d5ec; }
/* for you (phone) */
.ttp .fy { position: relative; height: 844px; background: #000; color: #fff; overflow: hidden; }
.ttp .fy .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ttp .fy .shade { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.ttp .fy .tshade { position: absolute; left: 0; right: 0; top: 0; height: 120px; background: linear-gradient(rgba(0, 0, 0, .35), transparent); }
.ttp .fy .tabs { position: absolute; top: 54px; left: 0; right: 0; display: flex; justify-content: center; gap: 22px; font-size: 17px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.ttp .fy .tabs b { color: #fff; border-bottom: 2px solid #fff; padding-bottom: 4px; }
.ttp .fy .srch { position: absolute; top: 52px; right: 14px; }
.ttp .fy .rail { position: absolute; right: 8px; bottom: 110px; display: flex; flex-direction: column; align-items: center; gap: 18px; width: 52px; }
.ttp .fy .rail .n { font-size: 12px; font-weight: 600; text-align: center; margin-top: 3px; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.ttp .fy .rail .u { position: relative; margin-bottom: 8px; }
.ttp .fy .rail .u i { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; font-size: 16px; line-height: 1; }
.ttp .fy .disc { width: 42px; height: 42px; border-radius: 50%; background: #222; border: 8px solid #111; margin-top: 2px; }
.ttp .fy .info { position: absolute; left: 12px; right: 78px; bottom: 100px; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.ttp .fy .info .un { font-weight: 700; font-size: 17px; display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.ttp .fy .info .cap { font-size: 15px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.ttp .fy .info .cap b { font-weight: 700; }
.ttp .fy .info .snd { margin-top: 8px; font-size: 14px; display: flex; gap: 6px; align-items: center; }
.ttp .fy .nav { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; background: #000; display: flex; justify-content: space-around; padding-top: 8px; font-size: 10px; color: rgba(255, 255, 255, .6); }
.ttp .fy .nav div { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 60px; }
.ttp .fy .nav div.on { color: #fff; }
.ttp .fy .nav .plus { width: 44px; height: 30px; border-radius: 8px; background: #fff; color: #000; display: flex; align-items: center; justify-content: center; margin-top: 2px; box-shadow: -3px 0 #20d5ec, 3px 0 var(--red); }
/* desktop */
.ttp .dsk { display: flex; min-height: 760px; }
.ttp .dsk .side { width: 240px; flex: none; padding: 20px 8px; border-right: 1px solid var(--line); }
.ttp .dsk .side .lg { font: 800 24px/1 system-ui; padding: 4px 12px 18px; }
.ttp .dsk .side .sr { margin: 0 8px 14px; background: var(--soft); border-radius: 20px; padding: 10px 14px; color: var(--fg2); display: flex; gap: 8px; align-items: center; }
.ttp .dsk .side .it { display: flex; align-items: center; gap: 12px; padding: 10px 12px; font-size: 18px; font-weight: 600; border-radius: 8px; }
.ttp .dsk .side .it.on { color: var(--red); }
.ttp .dsk .main { flex: 1; display: flex; justify-content: center; padding: 24px; }
.ttp .dsk .item { display: flex; gap: 14px; align-items: flex-end; }
.ttp .dsk .vid { position: relative; width: 360px; height: 640px; border-radius: 12px; overflow: hidden; background: #000; color: #fff; }
.ttp .dsk .vid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ttp .dsk .vid .shade { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }
.ttp .dsk .vid .info { position: absolute; left: 14px; right: 14px; bottom: 14px; }
.ttp .dsk .vid .info b { font-size: 17px; display: flex; gap: 6px; align-items: center; }
.ttp .dsk .vid .info .cap { margin-top: 4px; font-size: 15px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ttp .dsk .vid .info .snd { margin-top: 6px; font-size: 14px; display: flex; gap: 6px; align-items: center; }
.ttp .dsk .acts { display: flex; flex-direction: column; gap: 14px; align-items: center; padding-bottom: 6px; }
.ttp .dsk .acts .b { width: 48px; height: 48px; border-radius: 50%; background: var(--soft); display: flex; align-items: center; justify-content: center; }
.ttp .dsk .acts .n { font-size: 12px; font-weight: 600; margin-top: -8px; }
/* profile */
.ttp .pf { padding: 8px 0 0; }
.ttp .pf .tb { height: 44px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; gap: 6px; }
.ttp .pf .hd { text-align: center; padding: 8px 16px 0; }
.ttp .pf .hd .av { margin: 0 auto 10px; }
.ttp .pf .hd .un { font-weight: 700; font-size: 17px; display: flex; gap: 6px; justify-content: center; align-items: center; }
.ttp .pf .counts { display: flex; justify-content: center; gap: 26px; margin: 14px 0; }
.ttp .pf .counts b { display: block; font-size: 17px; }
.ttp .pf .counts span { font-size: 13px; color: var(--fg2); }
.ttp .pf .btns { display: flex; justify-content: center; gap: 8px; }
.ttp .pf .btns div { padding: 11px 38px; border-radius: 4px; font-weight: 600; background: var(--soft); }
.ttp .pf .btns div.f { background: var(--red); color: #fff; }
.ttp .pf .bio { text-align: center; margin: 12px 24px 0; white-space: pre-line; }
.ttp .pf .tabs { display: flex; border-bottom: 1px solid var(--line); margin-top: 14px; }
.ttp .pf .tabs div { flex: 1; display: flex; justify-content: center; padding: 12px 0; border-bottom: 2px solid transparent; color: var(--fg2); }
.ttp .pf .tabs div.on { border-bottom-color: var(--fg); color: var(--fg); }
.ttp .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 1px; }
.ttp .tile { position: relative; overflow: hidden; background: #222; aspect-ratio: 3/4; }
.ttp .tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ttp .tile .vw { position: absolute; left: 6px; bottom: 6px; color: #fff; font-size: 13px; font-weight: 600; display: flex; gap: 3px; align-items: center; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.ttp .tile .pin { position: absolute; left: 6px; top: 6px; background: var(--red); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 3px; }
.ttp.hi .tile.mine::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px #ff3d3d; }
/* search */
.ttp .sr2 { padding: 8px 12px; display: flex; gap: 10px; align-items: center; }
.ttp .sr2 .in { flex: 1; background: var(--soft); border-radius: 8px; padding: 10px 12px; display: flex; gap: 8px; align-items: center; color: var(--fg); }
.ttp .stabs { display: flex; gap: 22px; padding: 4px 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--fg2); }
.ttp .stabs div { padding: 10px 0; border-bottom: 2px solid transparent; }
.ttp .stabs div.on { color: var(--fg); border-bottom-color: var(--fg); }
.ttp .mas { display: flex; gap: 6px; padding: 6px; }
.ttp .mas .c { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ttp .sc { background: var(--bg); }
.ttp .sc .pic { position: relative; border-radius: 6px; overflow: hidden; background: #222; }
.ttp .sc .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ttp .sc .cp { margin: 6px 4px 4px; font-size: 14px; line-height: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.ttp .sc .ur { display: flex; gap: 6px; align-items: center; margin: 0 4px 6px; font-size: 12px; color: var(--fg2); }
.ttp .sc .ur .l { margin-left: auto; display: flex; gap: 3px; align-items: center; }
/* crops */
.ttp .crops { padding: 24px; display: flex; flex-direction: column; gap: 28px; }
.ttp .crops .row { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-end; }
.ttp .crops .cr .pic { position: relative; overflow: hidden; border-radius: 4px; background: #222; }
.ttp .crops .cr .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ttp .crops .cr .lb { font-size: 12px; color: var(--fg2); margin-top: 6px; width: 150px; }
.ttp .crops .t { font-weight: 600; margin-bottom: 10px; }
