/* =========================================================
   BioBoost — styles
   1. Tokens  2. Base  3. Header  4. Hero + tool card
   5. Results  6. Phone mockups (IG / TikTok / YouTube)
   7. Content + FAQ  8. Footer  9. Responsive
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #0d0d12;
  --bg-2: #15151d;
  --card: #1a1a24;
  --line: #2a2a38;
  --text: #f3f3f7;
  --muted: #a3a3b5;
  --pink: #ff4d8d;
  --violet: #7c5cff;
  --green: #2bd98c;
  --red: #ff6b6b;
  --grad: linear-gradient(120deg, var(--pink), var(--violet));
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(1200px 600px at 50% -200px, rgba(124, 92, 255, .22), transparent 70%), var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---------- 3. Header ---------- */
.site-header {
  max-width: 1120px; margin: 0 auto; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -.02em; }
.logo-mark { width: 24px; height: 29px; display: block; flex: none; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.powered { font-size: 12px; padding-top: 3px; color: var(--muted); white-space: nowrap; }
.powered b { color: var(--text); font-weight: 700; }
.powered i { font-style: normal; color: #3b82ff; }
.header-nav { display: flex; gap: 20px; font-size: 14px; color: var(--muted); }
.header-nav a { text-decoration: none; }
.header-nav a:hover { color: var(--text); }

/* ---------- 4. Hero + tool card ---------- */
.hero { max-width: 880px; margin: 0 auto; padding: 8px 16px 24px; text-align: center; }
h1 { font-size: clamp(28px, 5.2vw, 50px); line-height: 1.08; letter-spacing: -.035em; margin: 10px 0 10px; font-weight: 850; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slogan { color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); margin: 0 0 22px; }

.tool-card {
  text-align: left; background: var(--card); border: 1px solid var(--line);
  border-radius: 24px; padding: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.pf { position: relative; cursor: pointer; }
.pf input, .goal input { position: absolute; opacity: 0; pointer-events: none; }
.pf span {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2);
  font-weight: 650; font-size: 15px; transition: border-color .15s, background .15s;
}
.pf-btn-logo { width: 22px; height: 22px; flex: none; display: block; }
.pf-btn-yt { width: 27px; height: 19px; }
.pf input:checked + span { border-color: var(--pink); background: rgba(255, 77, 141, .1); }
.pf input:focus-visible + span, .goal input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field-label { font-size: 13px; font-weight: 650; color: var(--muted); letter-spacing: .01em; }
.field input[type="text"], .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 14px; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 74px; }
.field input[type="text"]:focus, .field textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124, 92, 255, .25); }
.field input.invalid { border-color: var(--red); }
.field input[type="file"] { font-size: 14px; color: var(--muted); padding: 10px 0; }
.field-hint { font-size: 12.5px; color: var(--muted); min-height: 1em; }
.field-hint.ok { color: var(--green); }

.goals { border: 0; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.goals legend { margin-bottom: 8px; padding: 0; }
.goal { cursor: pointer; position: relative; }
.goal span {
  display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); transition: border-color .15s, background .15s;
}
.goal b { font-size: 15px; }
.goal small { color: var(--muted); font-size: 12.5px; }
.goal input:checked + span { border-color: var(--violet); background: rgba(124, 92, 255, .12); }

.extras { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 12px; }
.extras summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text); }
.extras .opt { color: var(--muted); font-weight: 400; }
.extras-grid { margin-top: 12px; }

.btn-primary {
  width: 100%; margin-top: 18px; height: 54px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--grad); color: #fff; font-size: 17px; font-weight: 750; letter-spacing: -.01em;
  box-shadow: 0 10px 30px rgba(255, 77, 141, .3); transition: transform .12s, box-shadow .12s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(255, 77, 141, .4); }
.btn-primary:active { transform: translateY(0); }
.form-error { color: var(--red); font-size: 14px; margin: 10px 0 0; }
.privacy { color: var(--muted); font-size: 13px; margin: 12px 0 0; text-align: center; }

/* ---------- 5. Results ---------- */
.results { max-width: 1120px; margin: 0 auto; padding: 24px 16px 8px; scroll-margin-top: 12px; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.results-head h2 { margin: 0; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.02em; }
.btn-ghost {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px;
  cursor: pointer; font-weight: 600; font-size: 14px;
}
.btn-ghost:hover { border-color: var(--violet); }

.compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 18px; }
.phone-col { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.arrow { align-self: center; font-size: 32px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 15px; padding: 6px 8px 6px 14px; border-radius: 999px; }
.tag-before { background: rgba(255, 107, 107, .12); color: #ffb3b3; }
.tag-after { background: rgba(43, 217, 140, .12); color: #8ff0c2; }
.score { background: rgba(0, 0, 0, .35); padding: 2px 10px; border-radius: 999px; font-size: 13px; font-variant-numeric: tabular-nums; }
.note { text-align: center; color: var(--muted); font-size: 12.5px; margin: 14px 0 0; }

.copy-card { margin: 26px auto 0; max-width: 760px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px; }
.copy-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.copy-row:last-child { border-bottom: 0; }
.copy-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; }
.copy-label { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.count { font-size: 12.5px; color: var(--green); font-variant-numeric: tabular-nums; }
.count.over { color: var(--red); }
.copy-text { margin: 0; white-space: pre-wrap; word-break: break-word; font-family: var(--font); font-size: 15px; line-height: 1.5; }
#outLink { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.btn-copy {
  border: 0; border-radius: 10px; padding: 8px 14px; cursor: pointer; font-weight: 700; font-size: 13px;
  background: var(--text); color: var(--bg); min-width: 84px;
}
.btn-copy.done { background: var(--green); }

.insights { max-width: 760px; margin: 26px auto 0; }
.insights h3 { font-size: 18px; margin: 22px 0 10px; }
.checks, .tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; background: var(--card);
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 14.5px;
}
.checks .pair { display: flex; gap: 4px; font-size: 13px; padding-top: 2px; }
.pill { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.pill.yes { background: rgba(43, 217, 140, .18); color: var(--green); }
.pill.no { background: rgba(255, 107, 107, .16); color: var(--red); }
.checks b { display: block; }
.checks span.why { color: var(--muted); font-size: 13.5px; }
.tips li { position: relative; padding: 0 0 0 22px; color: var(--muted); font-size: 14.5px; }
.tips li::before { content: "→"; position: absolute; left: 0; color: var(--pink); }

/* ---------- 6. Phone mockups ---------- */
.phone {
  width: min(100%, 330px); aspect-ratio: 330 / 690; border-radius: 48px; padding: 11px; min-height: 0; overflow: hidden;
  background: linear-gradient(145deg, #3a3a44, #121216 40%, #26262e);
  box-shadow: 0 0 0 1.5px #4a4a55, 0 30px 70px rgba(0, 0, 0, .55);
  position: relative;
}
.phone-glow { box-shadow: 0 0 0 1.5px #4a4a55, 0 30px 70px rgba(0, 0, 0, .55), 0 0 80px rgba(124, 92, 255, .28); }
.screen {
  width: 100%; height: 100%; border-radius: 38px; overflow: hidden; position: relative;
  background: #fff; color: #000; font-family: var(--font); font-size: 13px; line-height: 1.35;
  display: flex; flex-direction: column;
  container-type: inline-size;
}
.screen * { box-sizing: border-box; }
.screen .sb {
  height: 40px; flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 6px 24px 0 28px; font-weight: 650; font-size: 13px; position: relative;
}
.screen .sb::after { /* dynamic island */
  content: ""; position: absolute; left: 50%; top: 9px; width: 92px; height: 25px; border-radius: 20px;
  background: #000; transform: translateX(-50%);
}
.sb-icons { display: flex; gap: 5px; align-items: center; }
.sb-icons i { display: block; background: currentColor; border-radius: 2px; }
.sb-icons .sig { width: 15px; height: 9px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.sb-icons .bat { width: 22px; height: 10px; border-radius: 3px; border: 1.5px solid currentColor; background: linear-gradient(90deg, currentColor 70%, transparent 70%); }
.scroll { flex: 1; overflow: hidden; position: relative; }
.home-ind { position: absolute; bottom: 7px; left: 50%; width: 120px; height: 5px; border-radius: 3px; background: #111; transform: translateX(-50%); z-index: 3; }

.av {
  border-radius: 50%; overflow: hidden; display: grid; place-items: center; color: #fff;
  font-weight: 750; flex: none; background-size: cover; background-position: center;
}
.av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio-text { white-space: pre-wrap; word-break: break-word; }
.hl-new { animation: flash 1.2s ease-out 1; border-radius: 4px; }
@keyframes flash { from { background: rgba(124, 92, 255, .35); } to { background: transparent; } }
.link-suggest { border-bottom: 1px dashed currentColor; }

/* bottom nav (shared) */
.bnav { flex: none; height: 58px; display: flex; justify-content: space-around; align-items: flex-start; padding-top: 10px; border-top: 1px solid #eee; position: relative; }
.bnav i { width: 22px; height: 22px; border: 2px solid currentColor; border-radius: 6px; display: block; opacity: .9; }
.bnav i.round { border-radius: 50%; }
.bnav i.plus { border-radius: 7px; position: relative; }
.bnav i.plus::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 15px; line-height: 1; }

/* --- Instagram --- */
.ig .top { display: flex; align-items: center; justify-content: space-between; padding: 4px 14px 8px; }
.ig .uname { font-weight: 750; font-size: 17px; display: flex; align-items: center; gap: 4px; max-width: 70%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ig .top-icons { display: flex; gap: 16px; }
.ig .head { display: flex; align-items: center; gap: 18px; padding: 4px 14px 10px; }
.ig .av { width: 78px; height: 78px; font-size: 28px; }
.ig .stats { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.ig .stats b { display: block; font-size: 15px; }
.ig .stats span { font-size: 12px; }
.ig .info { padding: 0 14px; }
.ig .dname { font-weight: 650; font-size: 13px; }
.ig .cat { color: #737373; font-size: 13px; }
.ig .bio-text { font-size: 13px; }
.ig .lnk { color: #00376b; font-weight: 600; display: flex; gap: 4px; align-items: center; margin-top: 1px; }
.ig .lnk::before { content: "🔗"; font-size: 11px; }
.ig .addr { color: #00376b; font-size: 13px; margin-top: 1px; }
.ig .btns { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 12px 14px 0; }
.ig .btns span { background: #efefef; border-radius: 8px; height: 32px; display: grid; place-items: center; font-weight: 650; font-size: 13px; }
.ig .btns span.primary { background: #0095f6; color: #fff; }
.ig .hls { display: flex; gap: 14px; padding: 14px 14px 8px; }
.ig .hl { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; width: 58px; text-align: center; }
.ig .hl i { width: 56px; height: 56px; border-radius: 50%; border: 1px solid #dbdbdb; padding: 3px; display: block; background-clip: content-box; }
.ig .hl em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
.ig .tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #efefef; }
.ig .tabs i { height: 40px; display: grid; place-items: center; }
.ig .tabs i::before { content: ""; width: 18px; height: 18px; border: 2px solid #8e8e8e; border-radius: 3px; }
.ig .tabs i.on { border-bottom: 1.5px solid #000; }
.ig .tabs i.on::before { border-color: #000; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.ig .grid3 div { aspect-ratio: 3 / 4; }

/* --- TikTok --- */
.tt .top { display: flex; align-items: center; justify-content: space-between; padding: 4px 14px 6px; }
.tt .top b { font-size: 16px; font-weight: 700; max-width: 70%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: center; }
.tt .center { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4px 18px 0; }
.tt .av { width: 92px; height: 92px; font-size: 32px; }
.tt .handle { font-weight: 650; font-size: 15px; margin-top: 8px; }
.tt .stats { display: flex; gap: 22px; margin-top: 12px; }
.tt .stats div { display: flex; flex-direction: column; }
.tt .stats b { font-size: 16px; }
.tt .stats span { color: #8a8b91; font-size: 12px; }
.tt .btns { display: flex; gap: 6px; margin-top: 14px; }
.tt .btns span { height: 40px; padding: 0 22px; display: grid; place-items: center; background: #f1f1f2; border-radius: 6px; font-weight: 650; font-size: 14px; }
.tt .btns span.primary { background: #fe2c55; color: #fff; padding: 0 44px; }
.tt .btns span.sq { padding: 0 13px; }
.tt .bio-text { margin-top: 12px; font-size: 13.5px; }
.tt .lnk { margin-top: 6px; font-weight: 650; font-size: 13.5px; display: flex; gap: 4px; align-items: center; }
.tt .lnk::before { content: "🔗"; font-size: 11px; }
.tt .tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; border-bottom: 1px solid #eee; }
.tt .tabs i { height: 40px; display: grid; place-items: center; }
.tt .tabs i::before { content: ""; width: 17px; height: 17px; border: 2px solid #aaa; border-radius: 3px; }
.tt .tabs i.on { border-bottom: 2px solid #000; }
.tt .tabs i.on::before { border-color: #000; }
.tt .grid3 { gap: 1px; }
.tt .grid3 div { aspect-ratio: 3 / 4; position: relative; }
.tt .bnav { background: #fff; }

/* --- YouTube (dark) --- */
.screen.yt { background: #0f0f0f; color: #f1f1f1; }
.yt .home-ind { background: #f1f1f1; }
.yt .banner { height: 72px; margin: 0 14px; border-radius: 12px; }
.yt .head { display: flex; gap: 12px; padding: 12px 14px 0; align-items: center; }
.yt .av { width: 72px; height: 72px; font-size: 26px; }
.yt .chname { font-size: 19px; font-weight: 750; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt .meta { color: #aaa; font-size: 12px; margin-top: 3px; }
.yt .meta b { color: #f1f1f1; font-weight: 600; }
.yt .desc { padding: 10px 14px 0; color: #aaa; font-size: 12.5px; }
.yt .desc .bio-text { white-space: normal; }
.yt .desc .more { color: #f1f1f1; font-weight: 600; }
.yt .lnk { padding: 5px 14px 0; font-size: 12.5px; color: #3ea6ff; }
.yt .lnk em { color: #aaa; font-style: normal; }
.yt .btns { display: flex; padding: 12px 14px 0; }
.yt .btns span { flex: 1; height: 36px; border-radius: 18px; background: #f1f1f1; color: #0f0f0f; display: grid; place-items: center; font-weight: 650; font-size: 14px; }
.yt .tabs { display: flex; gap: 20px; padding: 12px 14px 0; border-bottom: 1px solid #272727; font-size: 13.5px; font-weight: 600; color: #aaa; white-space: nowrap; }
.yt .tabs span { padding-bottom: 9px; }
.yt .tabs span.on { color: #f1f1f1; border-bottom: 2px solid #f1f1f1; }
.yt .vids { padding: 12px 14px 0; display: grid; gap: 12px; }
.yt .vid { display: grid; grid-template-columns: 128px 1fr; gap: 10px; }
.yt .vid .th { aspect-ratio: 16 / 9; border-radius: 8px; position: relative; }
.yt .vid .th::after { content: attr(data-d); position: absolute; right: 4px; bottom: 4px; background: rgba(0, 0, 0, .8); color: #fff; font-size: 10px; padding: 0 4px; border-radius: 3px; }
.yt .vid b { font-size: 12.5px; font-weight: 550; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt .vid span { color: #aaa; font-size: 11px; }

/* ---------- 7. Content + FAQ ---------- */
.ad-slot { max-width: 970px; min-height: 0; margin: 32px auto; }
.content { max-width: 760px; margin: 0 auto; padding: 24px 16px 40px; }
.content h2 { font-size: clamp(22px, 3vw, 28px); letter-spacing: -.02em; margin: 40px 0 14px; }
.content p { color: #cfcfdb; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.steps p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.step-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq details p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- 8. Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 22px 16px 30px; text-align: center; color: var(--muted); font-size: 13px; }

/* ---------- 9. Responsive ---------- */
@media (max-width: 760px) {
  .compare { grid-template-columns: 1fr; gap: 28px; }
  .arrow { transform: rotate(90deg); margin: -10px 0; justify-self: center; line-height: 1; }
  .steps { grid-template-columns: 1fr; }
  .goals { grid-template-columns: 1fr; }
  .goal span { flex-direction: row; align-items: baseline; gap: 8px; flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .header-nav { display: none; }
  .fields { grid-template-columns: 1fr; }
  .tool-card { padding: 16px; border-radius: 20px; }
  .pf span { font-size: 14px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .hl-new { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 10. Live profiles ---------- */
.live-badge { background: #fe2c55; color: #fff; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; letter-spacing: .04em; }
.yt .banner { background-size: cover; background-position: center; }
.yt .vid .th { background-size: cover; background-position: center; }
.yt .banner { overflow: hidden; }
.yt .banner img, .yt .vid .th img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }

/* ---------- 11. App-style icons (Instagram & TikTok) ---------- */
.screen .ico { width: 24px; height: 24px; flex: none; display: block; }
.sb-wifi.ico { width: 15px; height: 15px; stroke-width: 2.6; }
.pf-logo { width: 18px; height: 18px; display: block; flex: none; }
.tag .pf-logo { margin-right: -2px; }

.ig .top, .tt .top { display: flex; align-items: center; gap: 10px; padding: 2px 12px 8px; }
.ig .uname { flex: 1; font-size: 17px; }
.ig .top-icons, .tt .top-icons { display: flex; gap: 14px; align-items: center; }
.tt .top b { flex: 1; text-align: center; font-size: 16px; font-weight: 700; max-width: none; }
.screen .btns .sq { display: grid; place-items: center; padding: 0 10px; }
.screen .btns .sq .ico { width: 17px; height: 17px; }
.ig .btns { grid-template-columns: 1fr 1fr auto; grid-auto-flow: row; }

.lnk2 { display: flex; align-items: center; gap: 5px; font-weight: 650; font-size: 13px; margin-top: 2px; }
.ig .lnk2 { color: #00376b; }
.tt .lnk2 { justify-content: center; margin-top: 6px; font-size: 13.5px; }
.lnk2 .ico { width: 14px !important; height: 14px !important; transform: rotate(-45deg); stroke-width: 2.2; }

.ig .hl i { position: relative; display: grid; place-items: center; }
.ig .hl i span { font-size: 22px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25)); }

.ptabs { display: flex; border-top: 1px solid #efefef; }
.ptabs span { flex: 1; height: 42px; display: grid; place-items: center; color: #9a9a9a; border-bottom: 1.5px solid transparent; }
.ptabs span.on { color: #000; border-bottom-color: #000; }
.ptabs .ico { width: 21px; height: 21px; }
.tt .ptabs { border-top: 0; border-bottom: 1px solid #eee; margin-top: 12px; }
.tt .ptabs span.on { border-bottom-width: 2px; }

.post { position: relative; overflow: hidden; display: grid; place-items: center; }
.ig .post { aspect-ratio: 3 / 4; }
.tt .post { aspect-ratio: 3 / 4; }
.post-art { font-size: 34px; opacity: .9; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); transform: rotate(-8deg); }
.post-badge { position: absolute; top: 5px; right: 5px; color: #fff; }
.post-badge .ico { width: 15px !important; height: 15px !important; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .4)); }
.post .views { position: absolute; left: 5px; bottom: 4px; display: flex; align-items: center; gap: 3px; color: #fff; font-size: 11px; font-weight: 650; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.post .views .ico { width: 11px !important; height: 11px !important; stroke-width: 2.6; }
.post .pinned { position: absolute; left: 5px; top: 5px; background: #fe2c55; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 3px; }

.nav2 { flex: none; height: 60px; display: flex; justify-content: space-around; align-items: flex-start; padding-top: 9px; border-top: 1px solid #eee; background: #fff; }
.mini-av { width: 24px; height: 24px; border-radius: 50%; display: block; background: #d9d9de; }
.tt-nav { padding-top: 6px; }
.tt-nav .nv { display: flex; flex-direction: column; align-items: center; gap: 1px; color: #8a8b91; }
.tt-nav .nv .ico { width: 22px; height: 22px; }
.tt-nav em { font-style: normal; font-size: 9.5px; font-weight: 600; }
.tt-plus { position: relative; width: 40px; height: 26px; margin-top: 3px; }
.tt-plus::before, .tt-plus::after { content: ""; position: absolute; top: 0; bottom: 0; width: 34px; border-radius: 8px; }
.tt-plus::before { left: 0; background: #25f4ee; }
.tt-plus::after { right: 0; background: #fe2c55; }
.tt-plus b { position: absolute; inset: 0 3px; z-index: 1; background: #000; color: #fff; border-radius: 8px; display: grid; place-items: center; font-size: 19px; line-height: 1; font-weight: 600; }
.pf-slot { display: flex; }
.pf-slot:empty { display: none; }

/* ---------- 12. YouTube app interface ---------- */
.yt .top { display: flex; align-items: center; justify-content: space-between; padding: 2px 12px 8px; }
.yt .top-icons { display: flex; gap: 16px; align-items: center; }
.yt .top .ico { width: 22px; height: 22px; }
.yt .tabs { overflow: hidden; }
.yt .vid { grid-template-columns: 128px 1fr 16px; }
.yt .vid-more { width: 16px !important; height: 16px !important; color: #aaa; }
.nav2 .nv { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.nav2 .nv em { font-style: normal; font-size: 9.5px; font-weight: 600; }
.yt-nav { background: #0f0f0f; border-top-color: #272727; padding-top: 6px; }
.yt-nav .nv { color: #f1f1f1; }
.yt-nav .ico { width: 22px; height: 22px; }
.yt-nav .nv-plus .ico { width: 34px; height: 34px; stroke-width: 1.3; margin-top: -2px; }
.yt-nav .mini-av { width: 22px; height: 22px; background: #3f3f46; }
