.hub-timeline-app {
  --hub-bg: #090b0f;
  --hub-panel: #10141a;
  --hub-panel-soft: #141920;
  --hub-border: rgba(176, 197, 224, 0.14);
  --hub-text: #eef4fb;
  --hub-muted: #93a4ba;
  --hub-accent: #8fb7d8;
  --hub-accent-soft: rgba(143, 183, 216, 0.18);
  --hub-youtube: #d9b37a;
  --hub-wordpress: #9fc3dc;
  color: var(--hub-text);
  font-family: "Segoe UI", "Hiragino Sans", sans-serif;
}

body.hub-timeline-fullscreen {
  margin: 0;
  background:
    radial-gradient(circle at top center, rgba(152, 186, 214, 0.16), transparent 22%),
    radial-gradient(circle at 20% 100%, rgba(74, 96, 120, 0.14), transparent 24%),
    linear-gradient(180deg, #07090c 0%, #0d1116 46%, #0a0d12 100%);
  color: var(--hub-text);
}

body.hub-modal-open {
  overflow: hidden;
}

.hub-fullscreen-root {
  min-height: 100vh;
}

.hub-fullscreen-intro {
  padding: 24px 16px 8px;
}

.hub-fullscreen-intro__inner {
  width: min(1200px, calc(100% - 20px));
  margin: 0 auto;
}

.hub-fullscreen-intro h1 {
  margin: 0 0 10px;
  color: var(--hub-text);
}

.hub-fullscreen-intro__content {
  color: var(--hub-muted);
}

.hub-fullscreen-app {
  width: min(1200px, calc(100% - 20px));
  margin: 0 auto;
  padding: 8px 0 36px;
}

.hub-shell {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 24px;
}

.hub-shell--single {
  grid-template-columns: minmax(0, 1fr);
}

.hub-panel {
  background: var(--hub-panel);
  border: 1px solid var(--hub-border);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.hub-eyebrow {
  margin: 0 0 12px;
  color: var(--hub-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hub-title {
  margin: 0;
  line-height: 1.15;
}

.hub-copy,
.hub-section-head p,
.hub-feed-header p,
.hub-status,
.hub-image-name,
.hub-card-meta,
.hub-card p,
.hub-empty {
  color: var(--hub-muted);
}

.hub-primary,
.hub-secondary,
.hub-filter {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
}

.hub-primary {
  background: linear-gradient(135deg, #91b2cb, #657e97);
  color: #071018;
  padding: 13px 18px;
  font-weight: 700;
}

.hub-secondary,
.hub-filter {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--hub-border);
  color: var(--hub-text);
  padding: 10px 15px;
}

.hub-primary:hover,
.hub-secondary:hover,
.hub-filter:hover {
  transform: translateY(-1px);
}

.hub-filter.is-active {
  background: var(--hub-accent-soft);
  color: #c8ddf0;
  border-color: rgba(143, 183, 216, 0.45);
}

.hub-status {
  margin: 12px 4px 0;
  font-size: 14px;
}

.hub-status--inline {
  margin: 0 0 0 auto;
  white-space: nowrap;
}

.hub-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.hub-stat {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.hub-stat span {
  display: block;
  color: var(--hub-muted);
  font-size: 12px;
}

.hub-stat strong {
  display: block;
  margin-top: 6px;
}

.hub-main {
  min-width: 0;
}

.hub-topbar {
  padding: 24px 24px 20px;
  margin-bottom: 16px;
}

.hub-composer,
.hub-feed-header {
  padding: 18px 20px;
  margin-bottom: 16px;
}

.hub-section-head h3,
.hub-feed-header h3 {
  margin: 0;
}

.hub-composer-form textarea {
  width: 100%;
  min-height: 120px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hub-border);
  border-radius: 18px;
  color: var(--hub-text);
  padding: 14px;
  resize: vertical;
}

.hub-composer-actions,
.hub-feed-actions,
.hub-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hub-icon-action,
.hub-icon-filter {
  min-width: 58px;
  min-height: 52px;
  padding: 8px 10px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.hub-icon-action__icon,
.hub-icon-filter__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  background: rgba(255, 255, 255, 0.07);
}

.hub-icon-action__icon img,
.hub-icon-filter__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.hub-icon-action__label,
.hub-icon-filter__label {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.hub-composer-actions {
  margin-top: 12px;
}

.hub-post-button {
  margin-left: auto;
}

.hub-image-preview {
  margin-top: 12px;
}

.hub-image-preview img {
  display: block;
  width: min(100%, 420px);
  border-radius: 18px;
}

.hub-feed {
  position: relative;
  overflow: hidden;
}

.hub-feed-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  min-height: 58px;
}

.hub-feed-actions {
  flex: 1 1 auto;
  justify-content: flex-start;
}

.hub-warning {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 196, 87, 0.08);
  border: 1px solid rgba(255, 196, 87, 0.2);
  color: #ffd27e;
}

.hub-mobile-notice {
  display: none;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(25, 209, 255, 0.28);
  background: linear-gradient(135deg, rgba(25, 209, 255, 0.12), rgba(15, 23, 34, 0.92));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.hub-mobile-notice__body {
  min-width: 0;
}

.hub-mobile-notice__eyebrow {
  margin: 0 0 6px;
  color: #82ebff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-mobile-notice__text {
  margin: 0;
  color: #d8ecf8;
  font-size: 13px;
  line-height: 1.6;
}

.hub-mobile-notice__close {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: #f3fbff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.hub-mobile-notice.is-visible {
  display: flex;
}

.hub-pwa-panel {
  margin-bottom: 14px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.hub-pwa-panel__body {
  min-width: 0;
}

.hub-pwa-panel__eyebrow {
  margin: 0 0 6px;
  color: #82ebff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-pwa-panel__text {
  margin: 0;
  color: #d8ecf8;
  font-size: 13px;
  line-height: 1.6;
}

.hub-pwa-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.hub-android-install {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(25, 209, 255, 0.28);
  background: linear-gradient(135deg, rgba(8, 14, 22, 0.96), rgba(18, 28, 40, 0.96));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hub-android-install__body {
  min-width: 0;
}

.hub-android-install__eyebrow {
  margin: 0 0 6px;
  color: #82ebff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-android-install__text {
  margin: 0;
  color: #d8ecf8;
  font-size: 13px;
  line-height: 1.6;
}

.hub-android-install__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.hub-debug-panel {
  margin-bottom: 14px;
  padding: 14px 16px;
  background: rgba(25, 209, 255, 0.06);
}

.hub-debug-panel h3 {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7fdfff;
}

.hub-debug-log {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
  line-height: 1.6;
  color: #c9f4ff;
}

.hub-section-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--hub-border);
}

.hub-section-head--compact h3 {
  margin-bottom: 4px;
}

.hub-card + .hub-card {
  border-top: 1px solid var(--hub-border);
  margin-top: 0;
}

.hub-card {
  position: relative;
}

.hub-card-shell {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
}

.hub-card-rail {
  position: relative;
  grid-row: 1 / span 3;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding-top: 4px;
}

.hub-card-rail::before {
  content: "";
  position: absolute;
  top: -18px;
  bottom: -18px;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #19d1ff;
}

.hub-card-avatar {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(12, 17, 24, 0.9);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  background: linear-gradient(135deg, rgba(150, 184, 211, 0.92), rgba(102, 125, 149, 0.84));
}

.hub-card-avatar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f4fbff;
}

.hub-card-avatar .fa-brands,
.hub-card-avatar .fa-solid {
  font-size: 18px;
  line-height: 1;
}

.hub-source-favicon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.hub-source-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hub-card-avatar--ad {
  background: linear-gradient(135deg, rgba(137, 150, 167, 0.9), rgba(73, 82, 96, 0.82));
}

.hub-card-promo {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hub-card-promo--custom {
  min-height: 0;
}

.hub-card-link {
  position: relative;
  display: block;
  grid-column: 2;
  min-width: 0;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.hub-card-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.hub-card-link--ad:hover {
  transform: none;
}

.hub-card-link::before {
  content: "";
  position: absolute;
  top: 32px;
  left: -16px;
  width: 16px;
  height: 2px;
  background: #19d1ff;
}

.hub-card-body {
  min-width: 0;
}

.hub-card-actions {
  grid-column: 2;
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.hub-card-action {
  position: relative;
  z-index: 4;
  border: 1px solid var(--hub-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--hub-text);
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer;
}

.hub-card-action--danger {
  border-color: rgba(255, 120, 120, 0.32);
  color: #ffb0b0;
}

.hub-card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}

.hub-card-source {
  font-weight: 700;
}

.hub-card--youtube .hub-card-source {
  color: var(--hub-youtube);
}

.hub-card--wordpress .hub-card-source {
  color: var(--hub-wordpress);
}

.hub-card--youtube-live .hub-card-source {
  color: #ff8f8f;
}

.hub-card h4 {
  margin: 0 0 8px;
  font-size: 17px;
}

.hub-card p {
  margin: 0;
  line-height: 1.7;
}

.hub-card-media {
  margin-top: 10px;
}

.hub-live-embed {
  margin-top: 10px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(25, 209, 255, 0.16);
  background: #05080d;
}

.hub-live-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

@media (min-width: 641px) {
  .hub-card--youtube-live .hub-card-media {
    display: none;
  }
}

.hub-external-card {
  grid-column: 2;
  margin-top: 12px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.hub-external-card__link {
  display: grid;
  gap: 10px;
  padding: 12px;
  color: inherit;
  text-decoration: none;
}

.hub-external-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--hub-muted);
  font-size: 12px;
}

.hub-external-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 125, 82, 0.18);
  color: #ffb397;
  font-weight: 700;
}

.hub-external-card__title {
  font-size: 14px;
  line-height: 1.5;
}

.hub-external-card__image {
  display: block;
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 2.5 / 1;
  object-fit: cover;
  object-position: 50% 35%;
}

.hub-card-image {
  display: block;
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 2.5 / 1;
  object-fit: cover;
  object-position: 50% 35%;
}

.hub-card-shell--ad .hub-card-link::before {
  top: 28px;
}

.hub-card-promo,
.hub-article-ad {
  overflow: hidden;
  border-radius: 18px;
}

.hub-card-promo .adsbygoogle,
.hub-article-ad .adsbygoogle {
  display: block;
  max-width: 100%;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

.hub-article-ad {
  margin: 22px 0;
}

.hub-article-ad:empty {
  display: none;
}

.hub-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.hub-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 12, 0.78);
}

.hub-modal-dialog {
  position: relative;
  width: min(920px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  margin: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #0f141b;
  border: 1px solid var(--hub-border);
  border-radius: 24px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
  contain: layout paint;
}

.hub-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 10, 14, 0.72);
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  z-index: 4;
}

.hub-modal-close:hover {
  background: rgba(7, 10, 14, 0.88);
}

.hub-modal-head {
  flex: 0 0 auto;
  padding: 26px 28px 10px;
}

.hub-modal-source {
  margin: 0 0 6px;
  color: var(--hub-accent);
  font-size: 13px;
  font-weight: 700;
}

.hub-modal-head h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  line-height: 1.3;
}

.hub-modal-meta {
  margin: 10px 0 0;
  color: var(--hub-muted);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hub-modal-meta a {
  color: #8ed0ff;
  text-decoration: none;
}

.hub-modal-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hub-modal-compact {
  min-width: 42px;
  padding: 8px 10px;
  font-size: 12px;
  text-align: center;
}

.hub-modal-footer {
  flex: 0 0 auto;
  padding: 0 28px 24px;
}

.hub-modal-actions--footer {
  margin-top: 0;
}

.hub-modal-actions [data-role='modal-close'] {
  display: none;
}

.hub-modal-image {
  display: block;
  width: calc(100% - 56px);
  margin: 6px auto 0;
  border-radius: 20px;
}

.hub-modal-video {
  flex: 0 0 auto;
  width: calc(100% - 56px);
  margin: 6px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.hub-modal-video iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.hub-modal-content {
  flex: 1 1 auto;
  min-height: 0;
  padding: 22px 28px 34px;
  color: var(--hub-text);
  line-height: 1.9;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.hub-modal-content img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  cursor: zoom-in;
}

.hub-modal-content iframe,
.hub-modal-content video,
.hub-modal-content embed,
.hub-modal-content object {
  max-width: 100%;
}

.hub-modal-content iframe {
  width: 100%;
  border: 0;
  aspect-ratio: 16 / 9;
  height: auto;
}

.hub-bilibili-embed {
  margin: 18px 0;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}

.hub-bilibili-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  aspect-ratio: 16 / 9;
}

.hub-modal-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.hub-modal-content * {
  max-width: 100%;
}

.hub-modal-content a {
  color: #8ed0ff;
}

.hub-modal-content h2,
.hub-modal-content h3,
.hub-modal-content h4 {
  color: #f4fbff;
  line-height: 1.5;
}

.hub-modal-content h2 {
  margin: 2.2em 0 0.9em;
  padding: 0.7em 0.9em;
  border: 1px solid rgba(25, 209, 255, 0.42);
  border-radius: 14px;
  background: rgba(25, 209, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.hub-modal-content h3 {
  margin: 1.8em 0 0.8em;
  padding-bottom: 0.45em;
  border-bottom: 2px solid rgba(25, 209, 255, 0.58);
}

.hub-modal-content h4 {
  margin: 1.5em 0 0.7em;
  padding-bottom: 0.35em;
  border-bottom: 1px dashed rgba(25, 209, 255, 0.52);
}

.hub-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.hub-image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 11, 0.86);
}

.hub-image-lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1280px);
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-image-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
}

.hub-image-lightbox__close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 10, 14, 0.82);
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.hub-unread {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--hub-accent-soft);
  color: #8ed0ff;
  font-size: 12px;
  font-weight: 700;
}

.hub-empty {
  padding: 28px 18px;
}

.hub-feed-sentinel {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  color: var(--hub-muted);
  font-size: 14px;
}

.hidden {
  display: none !important;
}

html {
  scrollbar-width: thin;
  scrollbar-color: #19d1ff rgba(255, 255, 255, 0.06);
}

body::-webkit-scrollbar,
.hub-modal-content::-webkit-scrollbar,
.hub-modal-dialog::-webkit-scrollbar,
.hub-filters::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body::-webkit-scrollbar-track,
.hub-modal-content::-webkit-scrollbar-track,
.hub-modal-dialog::-webkit-scrollbar-track,
.hub-filters::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

body::-webkit-scrollbar-thumb,
.hub-modal-content::-webkit-scrollbar-thumb,
.hub-modal-dialog::-webkit-scrollbar-thumb,
.hub-filters::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #19d1ff, #0f91c7);
  border-radius: 999px;
  border: 2px solid rgba(8, 12, 18, 0.78);
}

body::-webkit-scrollbar-thumb:hover,
.hub-modal-content::-webkit-scrollbar-thumb:hover,
.hub-modal-dialog::-webkit-scrollbar-thumb:hover,
.hub-filters::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #47dcff, #19d1ff);
}

@media (max-width: 960px) {
  .hub-shell {
    grid-template-columns: 1fr;
  }

  .hub-feed-header {
    flex-direction: column;
    align-items: stretch;
  }

  .hub-feed-actions {
    justify-content: flex-start;
  }

  .hub-status--inline {
    margin-left: 0;
    white-space: normal;
  }

  .hub-post-button {
    margin-left: 0;
  }

  .hub-modal-dialog {
    width: min(100% - 12px, 920px);
    max-height: calc(100vh - 12px);
  }

  .hub-modal-head,
  .hub-modal-content,
  .hub-modal-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hub-modal-image {
    width: calc(100% - 36px);
  }

  .hub-modal-video {
    width: calc(100% - 36px);
  }
}

@media (max-width: 640px) {
  .hub-feed::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 35px;
    width: 2px;
    background: #19d1ff;
    border-radius: 999px;
    pointer-events: none;
  }

  .hub-fullscreen-intro {
    padding: 14px 4px 6px;
  }

  .hub-fullscreen-intro__inner,
  .hub-fullscreen-app {
    width: calc(100% - 8px);
  }

  .hub-topbar,
  .hub-composer,
  .hub-feed-header,
  .hub-warning,
  .hub-feed,
  .hub-empty {
    border-radius: 18px;
  }

  .hub-topbar,
  .hub-composer,
  .hub-feed-header,
  .hub-empty {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hub-topbar {
    gap: 16px;
  }

  .hub-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hub-stat {
    padding: 12px 14px;
  }

  .hub-composer-actions,
  .hub-feed-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .hub-feed-actions::-webkit-scrollbar,
  .hub-composer-actions::-webkit-scrollbar {
    display: none;
  }

  .hub-status--inline {
    width: auto;
    flex: 0 0 auto;
    font-size: 13px;
  }

  .hub-icon-action {
    flex: 0 0 auto;
    min-width: 56px;
    min-height: 50px;
    padding: 7px 8px;
  }

  .hub-filters {
    width: auto;
    flex: 0 0 auto;
    overflow-x: auto;
    padding-bottom: 0;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }

  .hub-filters::-webkit-scrollbar {
    display: none;
  }

  .hub-icon-filter {
    flex: 0 0 auto;
    min-width: 54px;
    min-height: 50px;
    padding: 7px 8px;
  }

  .hub-icon-action__label,
  .hub-icon-filter__label {
    font-size: 10px;
  }

  .hub-card-link {
    padding: 14px 15px;
    border-radius: 18px;
  }

  .hub-card-shell {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
    align-items: start;
  }

  .hub-card-rail::before {
    display: none;
  }

  .hub-card-link::before {
    top: 24px;
    left: -10px;
    width: 10px;
  }

  .hub-card-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border-width: 2px;
  }

  .hub-card-media {
    margin-top: 10px;
  }

  .hub-live-embed {
    display: none;
  }

  .hub-external-card {
    margin-top: 8px;
  }

  .hub-external-card__link {
    gap: 8px;
    padding: 10px;
  }

  .hub-external-card__image {
    border-radius: 10px;
  }

  .hub-pwa-panel,
  .hub-android-install {
    flex-direction: column;
    align-items: stretch;
  }

  .hub-pwa-panel__actions,
  .hub-android-install__actions {
    justify-content: stretch;
  }

  .hub-pwa-panel__actions .hub-secondary,
  .hub-android-install__actions .hub-secondary,
  .hub-android-install__actions .hub-primary {
    width: 100%;
  }

  .hub-card-image {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
  }

  .hub-card-promo,
  .hub-article-ad {
    overflow: visible;
    border-radius: 14px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .hub-card-promo--custom,
  .hub-article-ad {
    padding: 2px 0;
  }

  .hub-article-ad {
    margin: 12px 0 6px;
  }

  .hub-article-ad--article-bottom {
    margin-bottom: 0;
  }

  .hub-article-ad .adsbygoogle {
    margin-bottom: 0 !important;
  }

  .hub-modal-content {
    overflow-x: hidden;
  }

  .hub-card-meta {
    gap: 6px;
    font-size: 11px;
  }

  .hub-card p {
    font-size: 13px;
    line-height: 1.65;
  }

  .hub-card-actions {
    justify-content: flex-start;
  }

  .hub-card--wordpress .hub-card-shell {
    padding-bottom: 10px;
  }

  .hub-card h4 {
    font-size: 16px;
    line-height: 1.45;
  }

  .hub-modal-actions {
    gap: 8px;
  }

  .hub-modal-compact {
    min-width: 38px;
    padding: 7px 8px;
    font-size: 11px;
  }

  .hub-modal {
    padding: 0;
    align-items: stretch;
  }

  .hub-modal-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    contain: layout paint;
  }

  .hub-modal-head,
  .hub-modal-content,
  .hub-modal-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hub-modal-head {
    padding-top: 18px;
    padding-bottom: 8px;
  }

  .hub-modal-head h3 {
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .hub-modal-meta {
    margin-top: 6px;
    gap: 7px;
    font-size: 10px;
  }

  .hub-modal-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hub-modal-image,
  .hub-modal-video {
    width: calc(100% - 36px);
  }

  .hub-modal-close {
    top: 14px;
    right: 14px;
  }
}
