/* =========================================
   Pellosy Network / Social
   ========================================= */

.social-page {
  --social-paper: #f0eee6;
  --social-white: #f8f7f1;
  --social-black: #161616;
  --social-muted: #77746c;
  --social-line: rgba(22, 22, 22, .16);
  --social-orange: #ff6748;
  --social-yellow: #d8ff36;
  --social-blue: #91c4ff;
  --social-purple: #b9a0ff;
  --social-green: #8bd39b;
  min-height: 100vh;
  color: var(--social-black);
  background: var(--social-paper);
}

.social-page button,
.social-page textarea {
  font: inherit;
}

.social-page button {
  border: 0;
  cursor: pointer;
}

.social-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 32px;
  color: var(--social-white);
  background: var(--social-black);
  border-bottom: 1px solid rgba(248, 247, 241, .2);
}

.social-brand,
.social-header-link,
.social-avatar-button {
  color: inherit;
  text-decoration: none;
}

.social-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.social-brand-symbol {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--social-black);
  background: var(--social-yellow);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 25px;
  font-style: italic;
}

.social-brand-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.social-brand-name span {
  color: var(--social-orange);
}

.network-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(248, 247, 241, .65);
  font-size: 10px;
  letter-spacing: .12em;
}

.network-status strong {
  color: var(--social-yellow);
  font-weight: 400;
}

.network-status-pulse,
.panel-pulse,
.person-row i {
  width: 7px;
  height: 7px;
  background: var(--social-green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(139, 211, 155, .12);
  animation: socialPulse 2s ease-in-out infinite;
}

.social-header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.social-header-link {
  color: rgba(248, 247, 241, .65);
  font-size: 11px;
  transition: color .25s ease;
}

.social-header-link:hover {
  color: var(--social-yellow);
}

.social-avatar-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--social-black);
  background: var(--social-orange);
  border-radius: 50%;
  font-size: 13px;
  transition: transform .25s ease;
}

.social-avatar-button:hover {
  transform: rotate(12deg) scale(1.08);
}

.social-shell {
  display: grid;
  grid-template-columns: 220px minmax(420px, 720px) 300px;
  gap: 34px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 34px 34px 80px;
}

.social-sidebar {
  position: sticky;
  top: 110px;
  align-self: start;
  min-height: calc(100vh - 145px);
  display: flex;
  flex-direction: column;
}

.sidebar-clock {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--social-line);
}

.sidebar-clock span {
  display: block;
  font-family: monospace;
  font-size: 22px;
  letter-spacing: .04em;
}

.sidebar-clock small {
  display: block;
  margin-top: 7px;
  color: var(--social-muted);
  font-size: 9px;
  letter-spacing: .12em;
}

.social-nav {
  padding: 25px 0;
}

.social-nav-item {
  display: grid;
  grid-template-columns: 28px 1fr 24px;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 10px;
  color: var(--social-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.social-nav-item:hover,
.social-nav-item.is-active {
  color: var(--social-black);
  background: rgba(255, 103, 72, .1);
  border-left-color: var(--social-orange);
}

.social-nav-icon {
  color: var(--social-orange);
  font-size: 17px;
}

.social-nav-item span:not(.social-nav-icon) {
  font-size: 12px;
}

.social-nav-item small {
  color: var(--social-muted);
  font-size: 9px;
  text-align: right;
}

.social-nav-item .nav-count {
  color: var(--social-black);
  background: var(--social-yellow);
  border-radius: 50%;
  line-height: 20px;
  text-align: center;
}

.broadcast-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 47px;
  padding: 0 15px;
  color: var(--social-black);
  background: var(--social-yellow);
  font-size: 11px;
  letter-spacing: .08em;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

.broadcast-button strong {
  font-size: 23px;
  font-weight: 400;
}

.broadcast-button:hover {
  color: var(--social-white);
  background: var(--social-orange);
  transform: translateY(-3px);
}

.sidebar-bottom {
  margin-top: auto;
}

.profile-mini {
  display: grid;
  grid-template-columns: 34px 1fr 20px;
  align-items: center;
  gap: 10px;
  padding: 17px 0;
  border-top: 1px solid var(--social-line);
}

.profile-mini-avatar,
.composer-avatar,
.post-avatar,
.person-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
}

.profile-mini-avatar,
.composer-avatar {
  width: 34px;
  height: 34px;
  color: var(--social-black);
  background: var(--social-blue);
}

.profile-mini strong,
.profile-mini small {
  display: block;
}

.profile-mini strong {
  font-size: 11px;
}

.profile-mini small {
  margin-top: 3px;
  color: var(--social-muted);
  font-size: 9px;
}

.profile-mini-more {
  color: var(--social-muted);
  font-size: 10px;
  letter-spacing: 2px;
}

.exit-network {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  color: var(--social-muted);
  border-top: 1px solid var(--social-line);
  font-size: 10px;
  text-decoration: none;
}

.exit-network:hover {
  color: var(--social-orange);
}

.social-feed-column {
  min-width: 0;
}

.feed-topline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 30px;
}

.feed-kicker,
.console-label,
.console-status,
.panel-heading,
.feed-divider,
.post-meta-rail,
.signal-button,
.character-count {
  font-size: 9px;
  letter-spacing: .12em;
}

.feed-kicker {
  color: var(--social-orange);
}

.feed-topline h1 {
  margin-top: 14px;
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: -.11em;
  line-height: .78;
}

.signal-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  color: var(--social-muted);
  background: transparent;
  border-bottom: 1px solid var(--social-line);
}

.signal-button:hover {
  color: var(--social-orange);
}

.signal-button-light {
  width: 7px;
  height: 7px;
  background: var(--social-orange);
  border-radius: 50%;
}

.channel-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--social-line);
}

.channel-tab {
  position: relative;
  padding: 14px 0 12px;
  color: var(--social-muted);
  background: transparent;
  font-size: 10px;
  letter-spacing: .12em;
}

.channel-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: transparent;
}

.channel-tab.is-active {
  color: var(--social-black);
}

.channel-tab.is-active::after {
  background: var(--social-orange);
}

.composer-console {
  margin-top: 28px;
  padding: 17px 18px 18px;
  background: var(--social-black);
}

.composer-console-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 15px;
  color: var(--social-yellow);
  border-bottom: 1px solid rgba(248, 247, 241, .18);
}

.console-status {
  color: rgba(248, 247, 241, .5);
}

.post-composer {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 13px;
  padding-top: 20px;
}

.composer-identity {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.composer-line {
  width: 1px;
  flex: 1;
  margin-top: 12px;
  background: rgba(248, 247, 241, .2);
}

.composer-main textarea {
  width: 100%;
  min-height: 100px;
  resize: vertical;
  padding: 0;
  color: var(--social-white);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 17px;
  line-height: 1.55;
}

.composer-main textarea::placeholder {
  color: rgba(248, 247, 241, .4);
}

.composer-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(248, 247, 241, .18);
}

.composer-tools,
.composer-submit-area {
  display: flex;
  align-items: center;
  gap: 17px;
}

.composer-tool {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  color: var(--social-yellow);
  background: transparent;
}

.composer-tool small {
  color: rgba(248, 247, 241, .48);
  font-size: 8px;
}

.composer-tool:hover small {
  color: var(--social-yellow);
}

.character-count {
  color: rgba(248, 247, 241, .48);
}

.character-count strong {
  color: var(--social-yellow);
  font-weight: 400;
}

.transmit-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 37px;
  padding: 0 13px;
  color: var(--social-black);
  background: var(--social-yellow);
  font-size: 10px;
  letter-spacing: .08em;
  transition: background .25s ease, transform .25s ease;
}

.transmit-button:hover {
  background: var(--social-orange);
  transform: translateY(-2px);
}

.transmit-button:disabled {
  opacity: .45;
  cursor: wait;
}

.composer-preview {
  margin: 10px 0 16px;
  padding: 8px 11px;
  color: var(--social-black);
  background: var(--social-blue);
  font-size: 11px;
}

.feed-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  color: var(--social-orange);
}

.feed-divider-line {
  height: 1px;
  flex: 1;
  background: var(--social-line);
}

.feed-divider span:last-child {
  color: var(--social-muted);
  letter-spacing: 0;
}

.post-stream {
  margin-top: 8px;
}

.social-post {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 31px 0;
  border-bottom: 1px solid var(--social-line);
  animation: socialPostIn .45s ease both;
}

.post-meta-rail {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  color: var(--social-muted);
}

.post-index {
  color: var(--social-orange);
}

.post-rail-line {
  width: 1px;
  min-height: 55px;
  flex: 1;
  background: var(--social-line);
}

.post-content {
  min-width: 0;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 11px;
}

.post-avatar {
  width: 38px;
  height: 38px;
  color: var(--social-black);
  font-size: 14px;
}

.post-avatar-orange,
.person-avatar-red {
  background: var(--social-orange);
}

.post-avatar-blue {
  background: var(--social-blue);
}

.post-avatar-yellow {
  background: var(--social-yellow);
}

.post-author-info strong,
.post-author-info span {
  display: inline-block;
}

.post-author-info strong {
  font-size: 13px;
}

.post-author-info span {
  margin-left: 7px;
  color: var(--social-muted);
  font-size: 10px;
}

.post-more {
  margin-left: auto;
  padding: 4px;
  color: var(--social-muted);
  background: transparent;
  letter-spacing: 2px;
}

.post-more:hover {
  color: var(--social-orange);
}

.post-copy {
  padding: 20px 0 4px 49px;
}

.post-copy p {
  max-width: 570px;
  font-size: 16px;
  line-height: 1.7;
}

.post-tags {
  display: flex;
  gap: 14px;
  margin-top: 17px;
  color: var(--social-orange);
  font-size: 9px;
  letter-spacing: .1em;
}

.post-highlight {
  display: block;
  margin-bottom: 8px;
  color: var(--social-orange);
  font-size: 10px;
  letter-spacing: .13em;
}

.post-media {
  position: relative;
  min-height: 260px;
  margin: 22px 0 4px 49px;
  overflow: hidden;
}

.post-media-blue {
  color: var(--social-black);
  background: var(--social-blue);
}

.post-media-blue::before,
.post-media-blue::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(22, 22, 22, .45);
  border-radius: 50%;
}

.post-media-blue::before {
  width: 240px;
  height: 240px;
  right: 8%;
  bottom: -110px;
}

.post-media-blue::after {
  width: 170px;
  height: 170px;
  top: -75px;
  left: 19%;
}

.media-coordinates,
.media-title,
.media-mark,
.media-caption {
  position: absolute;
  z-index: 1;
}

.media-coordinates {
  top: 16px;
  left: 18px;
  font-family: monospace;
  font-size: 9px;
}

.media-title {
  top: 50%;
  left: 19px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.1em;
  line-height: .8;
  transform: translateY(-50%);
}

.media-mark {
  right: 20px;
  bottom: 18px;
  font-family: Georgia, serif;
  font-size: 36px;
  font-style: italic;
}

.media-caption {
  right: 18px;
  bottom: 19px;
  font-size: 8px;
  letter-spacing: .1em;
  transform: translateY(18px);
}

.post-actions {
  display: flex;
  gap: 30px;
  margin: 22px 0 0 49px;
}

.post-actions button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: var(--social-muted);
  background: transparent;
  font-size: 18px;
  transition: color .2s ease, transform .2s ease;
}

.post-actions button:hover,
.post-actions button.is-active {
  color: var(--social-orange);
  transform: translateY(-2px);
}

.post-actions small {
  font-size: 10px;
}

.feed-end {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 55px 0;
  color: var(--social-muted);
  font-size: 10px;
  letter-spacing: .1em;
  text-align: center;
}

.feed-end-symbol {
  color: var(--social-orange);
  font-size: 22px;
}

.feed-end button {
  margin-top: 8px;
  padding: 8px 12px;
  color: var(--social-black);
  background: var(--social-yellow);
  font-size: 10px;
}

.feed-end button:hover {
  background: var(--social-orange);
}

.social-discovery-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.signal-panel,
.trend-panel,
.people-panel {
  padding: 18px;
  background: rgba(248, 247, 241, .55);
  border: 1px solid var(--social-line);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--social-muted);
}

.signal-map {
  position: relative;
  height: 160px;
  margin-top: 20px;
  overflow: hidden;
  background: var(--social-black);
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image:
    linear-gradient(rgba(145, 196, 255, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 196, 255, .35) 1px, transparent 1px);
  background-size: 25px 25px;
}

.map-route {
  position: absolute;
  height: 1px;
  background: var(--social-yellow);
  transform-origin: left;
}

.map-route-one {
  top: 65%;
  left: 9%;
  width: 90%;
  transform: rotate(-25deg);
}

.map-route-two {
  top: 20%;
  left: 31%;
  width: 65%;
  background: var(--social-orange);
  transform: rotate(48deg);
}

.map-point {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--social-orange);
  border: 2px solid var(--social-black);
  border-radius: 50%;
}

.map-point-one {
  top: 28%;
  left: 28%;
}

.map-point-two {
  top: 70%;
  left: 68%;
  background: var(--social-yellow);
}

.map-point-three {
  top: 42%;
  right: 11%;
  background: var(--social-blue);
}

.signal-map strong {
  position: absolute;
  right: 15px;
  bottom: 12px;
  color: var(--social-yellow);
  font-family: monospace;
  font-size: 26px;
}

.signal-data {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px;
  margin-top: 15px;
}

.signal-data span,
.signal-data small {
  color: var(--social-muted);
  font-size: 8px;
  letter-spacing: .1em;
}

.signal-data strong {
  grid-row: span 2;
  color: var(--social-orange);
  font-size: 30px;
  font-weight: 400;
}

.signal-data small {
  grid-column: 1;
}

.trend-panel,
.people-panel {
  background: var(--social-black);
  border-color: var(--social-black);
}

.trend-panel .panel-heading,
.people-panel .panel-heading {
  color: rgba(248, 247, 241, .6);
}

.trend-panel .panel-heading a,
.people-panel .panel-heading > span:last-child {
  color: var(--social-yellow);
  text-decoration: none;
}

.trend-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 11px;
  padding: 17px 0;
  color: var(--social-white);
  border-bottom: 1px solid rgba(248, 247, 241, .15);
  text-decoration: none;
}

.trend-item:hover strong {
  color: var(--social-yellow);
}

.trend-item > span {
  color: var(--social-orange);
  font-size: 10px;
}

.trend-item strong,
.trend-item small {
  display: block;
}

.trend-item strong {
  font-size: 13px;
  font-weight: 400;
}

.trend-item small {
  margin-top: 6px;
  color: rgba(248, 247, 241, .45);
  font-size: 9px;
}

.people-list {
  margin-top: 13px;
}

.person-row {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 13px 0;
  color: var(--social-white);
  text-decoration: none;
}

.person-row:hover strong {
  color: var(--social-yellow);
}

.person-follow {
  padding: 5px 9px;
  color: var(--social-black);
  background: var(--social-yellow);
  font-size: 9px;
  letter-spacing: .05em;
  transition: background .2s ease, color .2s ease;
}

.person-follow:hover {
  color: var(--social-white);
  background: var(--social-orange);
}

.person-follow.is-following {
  color: rgba(248, 247, 241, .65);
  background: transparent;
  border: 1px solid rgba(248, 247, 241, .35);
}

.person-follow.is-following:hover {
  color: var(--social-orange);
  border-color: var(--social-orange);
}

.person-avatar {
  width: 30px;
  height: 30px;
  color: var(--social-black);
  font-size: 11px;
}

.person-avatar-green {
  background: var(--social-green);
}

.person-avatar-purple {
  background: var(--social-purple);
}

.person-row strong,
.person-row small {
  display: block;
}

.person-row strong {
  font-size: 11px;
  font-weight: 400;
}

.person-row small {
  margin-top: 4px;
  color: rgba(248, 247, 241, .45);
  font-size: 9px;
}

.panel-action {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 13px 0 0;
  color: var(--social-yellow);
  background: transparent;
  border-top: 1px solid rgba(248, 247, 241, .15);
  font-size: 10px;
  text-align: left;
}

.network-card {
  position: relative;
  min-height: 185px;
  padding: 20px;
  overflow: hidden;
  color: var(--social-black);
  background: var(--social-yellow);
}

.network-card::after {
  content: "P";
  position: absolute;
  right: -15px;
  bottom: -48px;
  color: rgba(22, 22, 22, .12);
  font-family: Georgia, serif;
  font-size: 180px;
  font-style: italic;
}

.network-card-index,
.network-card-code {
  position: relative;
  z-index: 1;
  display: block;
  font-family: monospace;
  font-size: 9px;
}

.network-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 28px;
  font-size: 24px;
  letter-spacing: -.08em;
  line-height: .85;
}

.network-card p {
  position: relative;
  z-index: 1;
  margin-top: 15px;
  font-size: 10px;
}

.network-card-code {
  position: absolute;
  right: 20px;
  bottom: 17px;
}

/* 回复弹窗 */

.reply-modal[hidden] {
  display: none;
}

.reply-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.reply-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 22, .72);
}

.reply-modal-window {
  position: relative;
  z-index: 1;
  width: min(580px, 100%);
  padding: 31px;
  color: var(--social-black);
  background: var(--social-paper);
  box-shadow: 14px 14px 0 var(--social-orange);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  color: var(--social-black);
  background: transparent;
  font-size: 26px;
}

.reply-modal-window h2 {
  margin-top: 17px;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -.1em;
  line-height: .9;
}

.modal-original-post {
  margin-top: 28px;
  padding: 15px;
  color: var(--social-muted);
  border: 1px solid var(--social-line);
  font-size: 12px;
  line-height: 1.6;
}

.reply-form {
  margin-top: 20px;
}

.reply-form textarea {
  width: 100%;
  min-height: 110px;
  padding: 12px;
  resize: vertical;
  color: var(--social-black);
  background: var(--social-white);
  border: 1px solid var(--social-line);
  outline: 0;
}

.reply-form textarea:focus {
  border-color: var(--social-orange);
}

.reply-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--social-muted);
  font-size: 10px;
}

.social-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  max-width: 280px;
  padding: 13px 17px;
  color: var(--social-black);
  background: var(--social-yellow);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
}

.social-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.social-post.is-hidden {
  display: none;
}

/* 回复楼层 */

.post-reply-thread {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--social-line);
}

.reply-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  color: var(--social-muted);
  background: transparent;
  font-size: 10px;
  transition: color .2s ease;
}

.reply-toggle:hover {
  color: var(--social-orange);
}

.reply-toggle b {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 6px;
  color: var(--social-black);
  background: var(--social-yellow);
  font-weight: 400;
  font-size: 9px;
}

.reply-list {
  margin-top: 12px;
}

.reply-list[hidden] {
  display: none;
}

.reply-empty {
  padding: 14px;
  color: var(--social-muted);
  border: 1px dashed var(--social-line);
  font-size: 10px;
}

.reply-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--social-line);
}

.reply-item:last-child {
  border-bottom: 0;
}

.reply-avatar {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--social-black);
  background: var(--social-blue);
  border-radius: 50%;
  font-size: 10px;
}

.reply-item strong,
.reply-item span {
  display: inline-block;
}

.reply-item strong {
  color: var(--social-black);
  font-size: 11px;
  font-weight: 400;
}

.reply-item span {
  margin-left: 8px;
  color: var(--social-muted);
  font-size: 9px;
}

.reply-item p {
  margin-top: 6px;
  color: var(--social-black);
  font-size: 12px;
  line-height: 1.6;
}

/* 用户菜单 */

.profile-menu {
  position: fixed;
  z-index: 90;
  width: min(240px, calc(100vw - 32px));
  padding: 8px;
  color: var(--social-black);
  background: var(--social-white);
  border: 1px solid var(--social-black);
  box-shadow: 10px 10px 0 rgba(22, 22, 22, .18);
}

.profile-menu[hidden] {
  display: none;
}

.profile-menu-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 10px 14px;
  border-bottom: 1px solid var(--social-line);
}

.profile-menu-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--social-black);
  background: var(--social-yellow);
  border-radius: 50%;
  font-size: 13px;
}

.profile-menu-head strong,
.profile-menu-head small {
  display: block;
}

.profile-menu-head strong {
  font-size: 12px;
  font-weight: 400;
}

.profile-menu-head small {
  margin-top: 3px;
  color: var(--social-muted);
  font-size: 9px;
}

.profile-menu-head.is-guest .profile-menu-avatar {
  background: var(--social-line);
}

.profile-menu a,
.profile-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 10px;
  color: var(--social-black);
  background: transparent;
  border: 0;
  font-size: 11px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.profile-menu a:hover,
.profile-menu button:hover {
  color: var(--social-white);
  background: var(--social-black);
}

.profile-menu a i,
.profile-menu button i {
  font-size: 13px;
  font-style: normal;
}

/* 游客状态 */

.social-page.is-guest .social-avatar-button {
  color: var(--social-muted);
  border: 1px dashed rgba(248, 247, 241, .4);
}

.social-page.is-guest .composer-avatar {
  color: var(--social-muted);
  background: rgba(248, 247, 241, .12);
}

@keyframes socialPulse {
  0%, 100% {
    opacity: .55;
    transform: scale(.85);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes socialPostIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .social-shell {
    grid-template-columns: 190px minmax(400px, 1fr);
  }

  .social-discovery-column {
    display: none;
  }
}

@media (max-width: 760px) {
  .social-header {
    min-height: 64px;
    padding: 0 18px;
  }

  .social-brand-name {
    font-size: 9px;
  }

  .network-status,
  .social-header-link {
    display: none;
  }

  .social-shell {
    display: block;
    padding: 25px 18px 50px;
  }

  .social-sidebar {
    position: static;
    min-height: auto;
    display: block;
  }

  .sidebar-clock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
  }

  .sidebar-clock span {
    font-size: 16px;
  }

  .social-nav {
    display: flex;
    gap: 4px;
    padding: 10px 0 23px;
    overflow-x: auto;
  }

  .social-nav-item {
    display: block;
    min-width: 87px;
    padding: 10px 8px;
    border-left: 0;
    border-bottom: 2px solid transparent;
    text-align: center;
  }

  .social-nav-item:hover,
  .social-nav-item.is-active {
    border-bottom-color: var(--social-orange);
  }

  .social-nav-icon {
    display: block;
    margin-bottom: 6px;
  }

  .social-nav-item small {
    display: none;
  }

  .broadcast-button {
    width: 100%;
    margin-bottom: 22px;
  }

  .sidebar-bottom {
    display: none;
  }

  .feed-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .feed-topline h1 {
    font-size: 58px;
  }

  .composer-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .composer-submit-area {
    justify-content: space-between;
  }

  .social-post {
    grid-template-columns: 37px 1fr;
    gap: 10px;
    padding: 25px 0;
  }

  .post-meta-rail {
    font-size: 8px;
  }

  .post-rail-line {
    min-height: 40px;
  }

  .post-copy,
  .post-media,
  .post-actions {
    margin-left: 0;
    padding-left: 0;
  }

  .post-copy p {
    font-size: 15px;
  }

  .post-media {
    min-height: 210px;
  }

  .post-actions {
    gap: 22px;
  }

  .reply-modal-window {
    padding: 25px 20px;
    box-shadow: 8px 8px 0 var(--social-orange);
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-page *,
  .social-page *::before,
  .social-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
