/* components/side-nav.css */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 18px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.5px;
  color: var(--text);
  text-decoration: none;
}
.logo {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: none;
}
.logo img {
  width: 32px;
  height: 32px;
  display: block;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 12px;
  border-radius: 999px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
}
.nav-link:hover {
  background: var(--bg-hover);
}
.nav-link.active {
  font-weight: 700;
}
.nav-link svg {
  width: 24px;
  height: 24px;
  flex: none;
}
.nav-link.active svg {
  color: var(--orange);
}
.post-btn {
  margin-top: 14px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, transform .05s;
}
.post-btn:hover {
  background: var(--orange-hover);
}
.post-btn:active {
  transform: scale(.98);
}
.sidebar-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.me {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
}
.me .info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.me-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.me-handle {
  color: var(--text-dim);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.signout {
  font-size: 14px;
  color: var(--text-dim);
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  background: var(--orange);
}
.avatar.sm {
  width: 32px;
  height: 32px;
  font-size: 13px;
}
.bottom-nav {
  display: none;
}
.fab {
  display: none;
}
@media (max-width: 1100px) {
  .sidebar {
    padding: 18px 8px;
  }
  .brand-name,
  .nav-label,
  .me .info {
    display: none;
  }
  .brand {
    justify-content: center;
    padding: 8px 0 18px;
  }
  .nav-link {
    justify-content: center;
  }
  .post-btn {
    font-size: 0;
    padding: 14px;
  }
  .post-btn::after {
    content: "+";
    font-size: 24px;
    line-height: 1;
  }
  .me {
    justify-content: center;
  }
}
@media (max-width: 680px) {
  .sidebar {
    display: none;
  }
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  }
  .bn-link {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 6px;
    color: var(--text-dim);
  }
  .bn-link.active {
    color: var(--orange);
  }
  .bn-link svg {
    width: 25px;
    height: 25px;
  }
  .fab {
    display: grid;
    place-items: center;
    position: fixed;
    right: 18px;
    bottom: 84px;
    z-index: 40;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(255, 106, 0, .45);
  }
}

/* components/theme-toggle.css */
.toggle {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.12s ease, border-color 0.12s ease;
}
.toggle:hover {
  color: var(--text);
  border-color: var(--muted);
}
.toggle svg {
  display: block;
}

/* components/right-col.css */
.right {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 16px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.right-head {
  display: flex;
  justify-content: flex-end;
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 0 12px;
}
.card h3 {
  font-size: 19px;
  font-weight: 800;
  padding: 14px 16px 8px;
  margin: 0;
  color: var(--text);
}
.follow-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px;
}
.follow-input {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.follow-input:focus {
  border-color: var(--orange);
}
.follow-btn {
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.follow-btn:hover {
  opacity: .9;
}
.follow-status {
  color: var(--text-dim);
  font-size: 12.5px;
  padding: 8px 16px 0;
  margin: 0;
}
.foot-note {
  color: var(--text-faint);
  font-size: 12px;
  padding: 0 8px;
  line-height: 1.7;
}
@media (max-width: 1100px) {
  .right {
    display: none;
  }
}

/* app/page.css */
:root {
  color-scheme: light dark;
  --orange: #ff6a00;
  --orange-soft: rgba(255, 106, 0, 0.12);
  --orange-hover: #ff833a;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 640px;
  --bg: #000000;
  --bg-elev: #0c0c0d;
  --bg-hover: #141416;
  --card: #0a0a0b;
  --border: #1f1f22;
  --text: #f5f5f7;
  --text-dim: #8b8b92;
  --text-faint: #5c5c63;
  --panel: #0c0c0d;
  --muted: #8b8b92;
  --accent: #ff6a00;
  --accent-ink: #ffffff;
  --err: #fca5a5;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --bg-elev: #ffffff;
    --bg-hover: #f6f6f7;
    --card: #ffffff;
    --border: #ebebed;
    --text: #111114;
    --text-dim: #6a6a72;
    --text-faint: #9b9ba3;
    --panel: #ffffff;
    --muted: #6a6a72;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a {
  color: inherit;
}
.app {
  display: grid;
  grid-template-columns: 240px minmax(0, var(--maxw)) 300px;
  gap: 0;
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}
.feed {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  min-height: 100vh;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
}
.tab {
  flex: 1;
  text-align: center;
  padding: 16px 8px 13px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dim);
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  position: relative;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.tab:hover {
  background: var(--bg-hover);
  color: var(--text);
}
.tab.active {
  color: var(--text);
  font-weight: 800;
}
.tab.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  height: 4px;
  width: 56px;
  background: var(--orange);
  border-radius: 999px;
}
.page-head {
  padding: 16px;
  font-size: 19px;
  font-weight: 800;
}
.composer {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-bottom: 8px solid var(--border);
}
.composer-main {
  flex: 1;
  min-width: 0;
}
.composer textarea {
  width: 100%;
  resize: none;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 19px;
  outline: none;
  padding-top: 8px;
  min-height: 56px;
}
.composer textarea::placeholder {
  color: var(--text-faint);
}
.composer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 10px;
}
.send {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}
.send:hover {
  background: var(--orange-hover);
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  background: var(--orange);
}
.avatar.sm {
  width: 32px;
  height: 32px;
  font-size: 13px;
}
.av-0 {
  background: #ff6a00;
}
.av-1 {
  background: #8a63ff;
}
.av-2 {
  background: #1d9bf0;
}
.av-3 {
  background: #00ba7c;
}
.av-4 {
  background: #f91880;
}
.post {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  transition: background .12s;
}
.post:hover {
  background: var(--bg-hover);
}
.post.root-note {
  border-left: 3px solid var(--orange);
}
.post-body {
  flex: 1;
  min-width: 0;
}
.post-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  flex-wrap: wrap;
}
.post-head .name {
  font-weight: 700;
  color: var(--text);
}
.post-head .handle,
.post-head .time {
  color: var(--text-dim);
  font-weight: 400;
}
.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.badge.fedi {
  color: #8a63ff;
  border-color: rgba(138, 99, 255, .4);
}
.badge.atmo {
  color: #1d9bf0;
  border-color: rgba(29, 155, 240, .4);
}
.post-text {
  font-size: 15px;
  margin: 4px 0 2px;
  color: var(--text);
  word-wrap: break-word;
}
.post-text p {
  margin: 0 0 6px;
}
.post-text p:last-child {
  margin-bottom: 0;
}
.post-text a {
  color: var(--orange);
  text-decoration: none;
}
.actions {
  display: flex;
  justify-content: space-between;
  max-width: 360px;
  margin-top: 12px;
}
.action {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 13px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 999px;
  font-family: inherit;
  text-decoration: none;
  transition: color .15s;
}
.action svg {
  width: 19px;
  height: 19px;
  transition: transform .15s;
}
.action .ico {
  padding: 5px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background .15s;
  margin: -5px;
}
.action:hover .ico {
  background: var(--bg-hover);
}
.action.reply:hover {
  color: #1d9bf0;
}
.action.boost:hover {
  color: #00ba7c;
}
.action.like:hover {
  color: #f91880;
}
.action.share:hover {
  color: var(--orange);
}
.action.like.on {
  color: #f91880;
}
.action.like.on svg {
  fill: #f91880;
  transform: scale(1.05);
}
.action.boost.on {
  color: #00ba7c;
}
.action.boost.on svg {
  fill: #00ba7c;
}
.status {
  color: var(--text-dim);
  font-size: 14px;
  padding: 12px 16px;
  margin: 0;
}
.empty {
  color: var(--text-dim);
  padding: 40px 16px;
  text-align: center;
}
.row-center {
  display: flex;
  justify-content: center;
  padding: 14px;
}
.more-btn {
  background: transparent;
  color: var(--orange);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}
.more-btn:hover {
  background: var(--orange-soft);
}
.reply-compose {
  padding: 16px;
  border-top: 8px solid var(--border);
}
.reply-box {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 10px 12px;
  outline: none;
  resize: vertical;
}
.reply-box:focus {
  border-color: var(--orange);
}
.row-end {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
.reply-target {
  padding: 0 0 8px;
}
.follow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.follow-row .meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.follow-row .f-handle {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.unfollow-btn {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 700;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  flex: none;
}
.unfollow-btn:hover {
  border-color: var(--err);
  color: var(--err);
}
.notif-kind {
  color: var(--text-dim);
  font-weight: 400;
}
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}
.error-card {
  max-width: 26rem;
  text-align: center;
}
.error-status {
  margin: 0;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.error-heading {
  margin: 0.4rem 0 0;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.error-body {
  margin: 0.75rem 0 1.5rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.error-action {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.error-action:hover {
  filter: brightness(1.05);
}
@media (max-width: 1100px) {
  .app {
    grid-template-columns: 88px minmax(0, var(--maxw));
  }
}
@media (max-width: 680px) {
  .app {
    grid-template-columns: 1fr;
  }
  .feed {
    border-left: none;
    border-right: none;
  }
  body {
    padding-bottom: 70px;
  }
  .actions {
    max-width: none;
  }
}
.composer-main {
  position: relative;
}
.reply-compose {
  position: relative;
}
.mention-menu {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 30;
  margin-top: 4px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
}
.mention-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: inherit;
}
.mention-row:hover,
.mention-row.sel {
  background: var(--bg-hover);
}
.mention-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: none;
  object-fit: cover;
  font-size: 11px;
}
.mention-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.mention-name {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mention-handle {
  color: var(--text-dim);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.post-text .embed-img {
  display: block;
  max-width: 100%;
  max-height: 340px;
  border-radius: 12px;
  margin-top: 8px;
  border: 1px solid var(--border);
}
.post-text .embed-link {
  margin-top: 6px;
  font-size: 14px;
}
.profile-card {
  padding: 20px 16px;
  border-bottom: 8px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px 14px;
  align-items: center;
}
.profile-av {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.profile-av-fallback {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  font-size: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}
.profile-id {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.profile-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
}
.profile-handle {
  color: var(--text-dim);
}
.profile-id .badge-row {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.profile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.follow-btn {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 7px 18px;
  font-weight: 700;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}
.follow-btn:hover {
  background: var(--orange-hover);
}
.follow-btn.on {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.ext-link {
  color: var(--text-dim);
  font-size: 13px;
  text-decoration: none;
}
.ext-link:hover {
  color: var(--orange);
  text-decoration: underline;
}
.profile-bio {
  grid-column: 1 / -1;
  margin-top: 6px;
}
.profile-stats {
  grid-column: 1 / -1;
  display: flex;
  gap: 16px;
  color: var(--text-dim);
  font-size: 14px;
}
.profile-stats b {
  color: var(--text);
  font-weight: 700;
}
.avatar-img {
  object-fit: cover;
}
a.handle,
.handle-link {
  text-decoration: none;
}
a.handle:hover,
.handle-link:hover {
  text-decoration: underline;
  color: var(--orange);
}
.vp {
  position: relative;
  width: 100%;
  background: #000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  outline: none;
  font-family: inherit;
  --vp-accent: #ff6a00;
}
.vp:fullscreen {
  border-radius: 0;
  aspect-ratio: auto;
}
.vp-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}
.vp-flash {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
}
.vp-flash svg {
  width: 72px;
  height: 72px;
  color: #fff;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .6));
}
.vp-flash.on {
  animation: vp-flash .5s ease-out forwards;
}
@keyframes vp-flash {
  0% {
    opacity: .9;
    transform: scale(.8);
  }
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}
.vp-bigplay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 64px;
  border: none;
  border-radius: 14px;
  background: rgba(0, 0, 0, .65);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.vp-bigplay:hover {
  background: var(--vp-accent);
}
.vp-bigplay svg {
  width: 36px;
  height: 36px;
}
.vp-shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 6px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  transition: opacity .2s;
  opacity: 1;
}
.vp.vp-hide .vp-shade {
  opacity: 0;
  pointer-events: none;
}
.vp.vp-hide {
  cursor: none;
}
.vp-progress {
  position: relative;
  height: 14px;
  cursor: pointer;
  touch-action: none;
}
.vp-progress::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 3px;
  background: rgba(255, 255, 255, .25);
  border-radius: 2px;
}
.vp-buffered,
.vp-played {
  position: absolute;
  left: 0;
  top: 6px;
  height: 3px;
  border-radius: 2px;
  pointer-events: none;
  width: 0;
}
.vp-buffered {
  background: rgba(255, 255, 255, .4);
}
.vp-played {
  background: var(--vp-accent);
}
.vp-progress:hover::before,
.vp-progress:hover .vp-buffered,
.vp-progress:hover .vp-played {
  transform: scaleY(1.7);
}
.vp-knob {
  position: absolute;
  top: 7.5px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--vp-accent);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .1s;
  pointer-events: none;
}
.vp-progress:hover .vp-knob {
  transform: translate(-50%, -50%) scale(1);
}
.vp-tip {
  position: absolute;
  bottom: 18px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, .85);
  color: #fff;
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 5px;
  pointer-events: none;
  opacity: 0;
  white-space: nowrap;
}
.vp-progress:hover .vp-tip {
  opacity: 1;
}
.vp-bar {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 2px;
}
.vp-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  width: 40px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  padding: 0;
}
.vp-btn:hover {
  background: rgba(255, 255, 255, .15);
}
.vp-btn svg {
  width: 21px;
  height: 21px;
}
.vp-time {
  color: #fff;
  font-size: 13px;
  margin: 0 8px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.vp-spacer {
  flex: 1;
}
.vp-volslider {
  width: 0;
  opacity: 0;
  transition: width .15s, opacity .15s;
  accent-color: var(--vp-accent);
  cursor: pointer;
}
.vp-vol:hover + .vp-volslider,
.vp-volslider:hover,
.vp-volslider:focus-visible {
  width: 64px;
  opacity: 1;
}
.vp-menu {
  position: absolute;
  right: 12px;
  bottom: 54px;
  min-width: 210px;
  background: rgba(18, 18, 20, .96);
  border-radius: 10px;
  overflow: hidden;
  padding: 6px 0;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .5);
}
.vp-mi {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 13.5px;
  font-family: inherit;
  padding: 9px 14px;
  text-align: left;
}
.vp-mi:hover {
  background: rgba(255, 255, 255, .12);
}
.vp-mi svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.vp-mv {
  margin-left: auto;
  color: rgba(255, 255, 255, .65);
}
.vp-mhead {
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  font-weight: 600;
}
.vp-mcheck {
  width: 17px;
  flex: none;
  display: inline-flex;
}
.embed-video {
  position: relative;
  display: inline-block;
}
.embed-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .65);
  pointer-events: none;
}
.embed-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
}
.embed-video:hover .embed-play {
  background: var(--orange);
}
.post {
  position: relative;
}
.post.nested {
  border-bottom: none;
  padding-top: 6px;
}
.post.nested.d1 {
  padding-left: 60px;
}
.post.nested.d2 {
  padding-left: 104px;
}
.post.nested.d3 {
  padding-left: 148px;
}
.post.nested::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 1px;
  background: var(--border);
}
.post.nested.d1::before {
  left: 37px;
}
.post.nested.d2::before {
  left: 81px;
}
.post.nested.d3::before {
  left: 125px;
}
.post.parent-ctx {
  display: flex;
  cursor: pointer;
  opacity: .75;
  border-bottom: none;
  padding-bottom: 4px;
}
.post.parent-ctx:hover {
  opacity: 1;
  background: var(--bg-hover);
}
.vp-share-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, .68);
  display: grid;
  place-items: center;
}
.vp-share-card {
  width: min(440px, calc(100% - 32px));
  background: #141417;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 16px;
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
}
.vp-share-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 16px;
}
.vp-share-head svg {
  width: 18px;
  height: 18px;
}
.vp-share-sub {
  color: rgba(255, 255, 255, .6);
  font-size: 12.5px;
  margin: 2px 0 12px;
}
.vp-share-preview {
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 10px;
}
.vp-share-thumb {
  width: 96px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 7px;
  flex: none;
}
.vp-share-meta {
  min-width: 0;
}
.vp-share-title {
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vp-share-url {
  color: rgba(255, 255, 255, .55);
  font-size: 11.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
}
.vp-share-text {
  width: 100%;
  resize: none;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  padding: 9px 11px;
  outline: none;
  box-sizing: border-box;
}
.vp-share-text:focus {
  border-color: var(--vp-accent);
}
.vp-share-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.vp-share-status {
  color: rgba(255, 255, 255, .65);
  font-size: 12.5px;
  flex: 1;
}
.vp-share-cancel {
  background: none;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 600;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}
.vp-share-post {
  background: var(--vp-accent);
  border: none;
  color: #fff;
  border-radius: 999px;
  padding: 7px 20px;
  font-weight: 700;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}
.vp-share-post:disabled {
  opacity: .6;
  cursor: default;
}
