:root {
  --icity-bg: #f3f1f1;
  --icity-card: #ffffff;
  --icity-line: #e7e3e3;
  --icity-text: #252525;
  --icity-subtext: #b9b9b9;
  --icity-soft: #cfcfcf;
  --icity-green: #63d56c;
  --icity-green-deep: #53c85d;
  --icity-blue: #7ea8ea;
  --icity-banner-pink: #ff5b9a;
}

.app-view-panel__body--linglongxia {
  padding: 0;
  background: var(--icity-bg);
  overflow: hidden;
}

.icity-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.icity-page {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: var(--icity-bg);
  color: var(--icity-text);
}

.icity-topbar {
  height: 62px;
  padding: 12px 18px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f6f4f4;
  border-bottom: 1px solid #ddd8d8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
}

.icity-topbar-title {
  border: none;
  padding: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 700;
  color: #2b2b2b;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.icity-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8f8f8f;
  font-size: 22px;
}

.icity-topbar-actions .icity-svg-icon {
  width: 24px;
  height: 24px;
}

.icity-topbar-actions .icity-topbar-search {
  width: 22px;
  height: 22px;
}

.icity-topbar-actions .icity-topbar-star {
  width: 26px;
  height: 26px;
}

.icity-svg-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  flex-shrink: 0;
}

.icity-svg-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.tool-icon {
  width: 26px;
  height: 26px;
}

.small-icon {
  width: 18px;
  height: 18px;
}

.mini-icon {
  width: 16px;
  height: 16px;
}

.send-plane-icon {
  width: 16px;
  height: 16px;
  color: #ffffff;
  flex-shrink: 0;
}

.icity-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 18px;
  background: var(--icity-bg);
}

.icity-compose-panel {
  display: grid;
  gap: 14px;
  padding: 0 14px 14px;
}

.icity-compose-card {
  background: var(--icity-card);
  border: 1px solid var(--icity-line);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.icity-compose-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 18px 10px;
}

.icity-compose-avatar,
.icity-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #edf3fd;
  border: 1px solid #9ab7ea;
  display: grid;
  place-items: center;
  color: #6d8fcb;
  font-size: 16px;
  flex-shrink: 0;
  overflow: hidden;
}

.icity-compose-avatar {
  width: 36px;
  height: 36px;
  font-size: 13px;
}

.icity-avatar-image,
.icity-avatar-fallback {
  width: 100%;
  height: 100%;
  display: block;
}

.icity-avatar-image {
  object-fit: cover;
}

.icity-avatar-fallback {
  display: grid;
  place-items: center;
  font: inherit;
  color: inherit;
}

.icity-compose-grow {
  min-width: 0;
  flex: 1;
}

.icity-compose-body {
  padding: 0 18px 14px;
}

.icity-compose-textarea,
.icity-comment-bar input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--icity-text);
  font: inherit;
}

.icity-compose-textarea::placeholder,
.icity-comment-bar input::placeholder {
  color: #d0d0d0;
}

.icity-compose-textarea {
  min-height: 168px;
  resize: none;
  padding: 0;
  margin-top: 0;
  font-size: 15px;
  line-height: 1.75;
  box-sizing: border-box;
}

.icity-expand-btn {
  border: none;
  background: transparent;
  color: #d0d0d0;
  cursor: pointer;
  padding: 0 2px 0 6px;
  flex-shrink: 0;
}

.icity-compose-toolbar {
  min-height: 58px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #faf9f9;
  border-top: 1px solid #efeded;
}

.icity-compose-tools,
.icity-compose-right {
  display: flex;
  align-items: center;
}

.icity-compose-tools {
  color: #82a7dd;
  gap: 18px;
  flex: 1;
  min-width: 0;
}

.icity-compose-right {
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

.icity-public-switch {
  color: #bcbcbc;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  line-height: 1;
}

.icity-send-btn,
.icity-banner-btn,
.icity-detail-actions button,
.icity-feed-action,
.icity-back-btn {
  font: inherit;
  cursor: pointer;
}

.icity-send-btn {
  border: none;
  background: linear-gradient(180deg, var(--icity-green), var(--icity-green-deep));
  color: #fff;
  min-width: 78px;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.icity-banner {
  min-height: 88px;
  padding: 14px 16px;
  background:
    radial-gradient(circle at 58% 40%, #ffd65a 0, #ffd65a 38px, #ffae2d 39px, #ffae2d 49px, transparent 50px),
    repeating-radial-gradient(circle at 58% 45%, rgba(92, 172, 246, 0.3) 0 3px, transparent 3px 18px),
    linear-gradient(90deg, #f8fbff, #e8f6ff 42%, #d5efff 72%, #fef7fb 100%);
  border: 1px solid #e7dfdf;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow: hidden;
}

.icity-banner-left {
  display: grid;
  gap: 8px;
}

.icity-banner-left strong {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 10px;
  background: rgba(91, 152, 245, 0.88);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.icity-banner-left span {
  font-size: 13px;
  color: #6e6e6e;
}

.icity-banner-btn {
  border: none;
  background: linear-gradient(180deg, #ff6ead, var(--icity-banner-pink));
  color: #fff;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.icity-stream {
  display: grid;
  gap: 14px;
  padding: 0 14px 20px;
}

.icity-feed-card,
.icity-empty-state {
  background: var(--icity-card);
  border: 1px solid var(--icity-line);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.icity-feed-card {
  overflow: hidden;
}

.icity-feed-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px 12px;
  background: #fafafa;
  border-bottom: 1px solid #f1efef;
}

.icity-feed-user,
.icity-detail-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.icity-card-user-meta {
  min-width: 0;
}

.icity-card-user-meta strong {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  color: #2d2d2d;
  font-weight: 700;
}

.icity-card-user-meta span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: #c2c2c2;
}

.icity-feed-date {
  text-align: right;
  flex-shrink: 0;
}

.icity-feed-date strong {
  display: block;
  font-size: 11px;
  line-height: 1.25;
  color: #8d8d8d;
  font-weight: 500;
}

.icity-feed-date span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: #c0c0c0;
}

.icity-feed-body {
  margin: 0;
  padding: 14px 18px;
  min-height: 44px;
  font-size: 15px;
  line-height: 1.65;
  color: #222;
  white-space: pre-line;
  word-break: break-word;
  background: #ffffff;
}

.icity-feed-actions {
  padding: 10px 18px 8px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.icity-feed-action {
  border: none;
  background: transparent;
  color: #c8c8c8;
  line-height: 1;
  padding: 2px 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  flex-shrink: 0;
  gap: 3px;
}

.icity-feed-action .icity-svg-icon {
  width: 18px;
  height: 18px;
}

.icity-feed-action.more .icity-svg-icon,
.icity-feed-time .icity-svg-icon {
  width: 19px;
  height: 19px;
}

.icity-feed-action.is-liked {
  color: #eb8397;
}

.icity-feed-action-count {
  color: #c8c8c8;
  font-size: 12px;
}

.icity-feed-time {
  color: #cdcdcd;
  font-size: 13px;
  margin-left: 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.icity-empty-state {
  padding: 28px 18px;
  text-align: center;
  display: grid;
  gap: 8px;
}

.icity-empty-state strong {
  font-size: 16px;
  color: #333;
}

.icity-empty-state span {
  font-size: 13px;
  color: #b2b2b2;
  line-height: 1.7;
}

.icity-detail-page {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--icity-bg);
}

.icity-detail-topbar {
  height: 62px;
  padding: 12px 14px 10px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  border-bottom: 1px solid #ddd8d8;
  background: #f6f4f4;
  flex-shrink: 0;
}

.icity-back-btn {
  border: none;
  background: transparent;
  color: #777;
  font-size: 34px;
  line-height: 1;
  text-align: left;
}

.icity-detail-title {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #2a2a2a;
}

.icity-detail-topbar-space {
  width: 44px;
  height: 1px;
}

.icity-detail-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px;
}

.icity-detail-card {
  background: var(--icity-card);
  border: 1px solid var(--icity-line);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.icity-detail-user {
  padding: 18px 18px 10px;
  background: #ffffff;
}

.icity-detail-content {
  margin: 0;
  padding: 10px 18px 8px;
  font-size: 15px;
  line-height: 1.8;
  color: #222;
  white-space: pre-line;
  word-break: break-word;
  background: #ffffff;
}

.icity-detail-time {
  margin: 0;
  padding: 2px 18px 12px;
  color: #c7c7c7;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
}

.icity-detail-actions {
  margin-top: 0;
  padding: 12px 10px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.15fr 1.45fr 0.5fr;
  align-items: center;
  background: #ffffff;
  position: relative;
}

.icity-detail-actions::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0;
  height: 1px;
  background: #f0eded;
}

.icity-detail-actions button {
  border: none;
  background: transparent;
  color: #c3c3c3;
  font-size: 11px;
  min-height: 34px;
  padding: 0 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
  white-space: nowrap;
  width: 100%;
}

.icity-detail-actions button:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: #ece8e8;
}

.icity-detail-comments {
  padding: 12px 18px 16px;
  background: #ffffff;
  border-top: 1px solid #f2efef;
  display: grid;
  gap: 10px;
}

.icity-detail-comments-empty {
  color: #bbbbbb;
  font-size: 13px;
  line-height: 1.6;
}

.icity-comment-item {
  padding: 10px 12px;
  border: 1px solid #f0eded;
  background: #fafafa;
}

.icity-comment-item__content {
  color: #3a3a3a;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-line;
  word-break: break-word;
}

.icity-comment-item__time {
  margin-top: 6px;
  color: #c0c0c0;
  font-size: 11px;
}

.icity-comment-bar {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 10px 14px 12px;
  border-top: 1px solid #ddd8d8;
  background: #f8f6f6;
}

.icity-comment-bar input {
  height: 42px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #e3dfdf;
  font-size: 14px;
  color: #333;
}

.icity-comment-bar button {
  width: 86px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--icity-green), var(--icity-green-deep));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
