* {
    box-sizing: border-box;
  }
  
  body {
    min-height: 100vh;
  }
  
  a {
    text-decoration: none;
  }
  
  .brand-logo {
    height: 2.125rem;
    width: 2.125rem;
  }
  
  .site-shell {
    width: min(100% - 2rem, 1180px);
    margin: 1.5rem auto;
  }
  
  .thread-shell {
    width: min(100% - 2rem, 860px);
    margin: 1.5rem auto;
  }
  
  .home-grid {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 280px;
    gap: 1rem;
  }
  
  .feed-stack,
  .thread-list {
    display: grid;
    gap: 0.875rem;
  }
  
  .card {
    border: 1px solid var(--color-base-300);
    border-radius: 0.5rem;
  }
  
  .card-body {
    gap: 0.625rem;
  }
  
  .media-thumb {
    aspect-ratio: 16 / 9;
    display: block;
    height: auto;
    width: 100%;
    object-fit: cover;
  }
  
  .creator-banner {
    display: block;
    height: 10rem;
    width: 100%;
    object-fit: cover;
  }
  
  .creator-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  
  .creator-profile,
  .creator-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
  
  .creator-copy {
    min-width: 0;
  }
  
  .creator-copy h1,
  .creator-copy p {
    margin: 0;
  }
  
  .creator-actions {
    margin-left: auto;
  }
  
  .icon {
    height: 1.125rem;
    width: 1.125rem;
    flex: 0 0 auto;
  }
  
  .content-section {
    margin-top: 1.5rem;
  }
  
  .creator-topic-tabs {
    border-top: 1px solid var(--color-base-300);
    margin: 1rem 0 1.5rem;
    padding-top: 1rem;
  }
  
  .creator-topic-controls {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    min-width: 0;
  }
  
  .creator-sort-dropdown {
    flex: 0 0 auto;
  }
  
  .creator-sort-button {
    background: var(--color-base-100);
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    color: var(--color-base-content);
    gap: 0.25rem;
    min-height: 2rem;
    padding: 0 0.75rem;
  }
  
  .creator-sort-button:hover,
  .creator-sort-dropdown[open] .creator-sort-button {
    background: var(--color-base-300);
    box-shadow: none;
  }
  
  .creator-sort-button:focus {
    outline: none;
  }
  
  .creator-sort-button:focus-visible {
    background: var(--color-base-300);
    box-shadow: none;
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  
  .creator-sort-button .icon {
    height: 0.875rem;
    width: 0.875rem;
  }
  
  .creator-sort-menu {
    background: var(--color-base-100);
    border: 1px solid var(--color-base-300);
    border-radius: 0.375rem;
    box-shadow: 0 12px 28px rgb(15 23 42 / 16%);
    margin-top: 0.5rem;
    min-width: max-content;
    padding: 0.5rem;
    white-space: nowrap;
    z-index: 20;
  }
  
  .creator-sort-option.is-active {
    background: var(--color-base-300);
    color: var(--color-base-content);
    font-weight: 700;
  }
  
  .creator-sort-option.is-active::after {
    content: "✓";
    margin-left: auto;
  }
  
  .creator-topic-tab-list {
    flex: 1 1 auto;
    box-shadow: none;
    overflow-x: auto;
  }
  
  .creator-topic-tab-list .tab {
    box-shadow: none;
  }
  
  .community-feed-section {
    margin-top: 0.75rem;
  }
  
  .community-feed,
  .video-forum-list {
    display: grid;
    gap: 0.875rem;
    width: 100%;
  }
  
  .video-forum-section {
    display: grid;
    gap: 0.875rem;
    margin-top: 0.875rem;
    width: 100%;
  }
  
  .video-thread-row {
    width: 100%;
  }
  
  .video-thread-layout {
    display: grid;
    gap: 0.875rem;
    grid-template-columns: auto 10.5rem minmax(0, 1fr);
    padding: 0.75rem 1rem;
  }
  
  .video-thread-media {
    align-self: start;
    position: relative;
    width: 100%;
  }
  
  .video-thread-thumb {
    appearance: none;
    aspect-ratio: 16 / 9;
    background: #e5ebee;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    display: block;
    overflow: hidden;
    padding: 0;
    width: 100%;
  }
  
  .video-thread-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
  }
  
  .video-thread-thumb:hover img,
  .video-thread-thumb:focus-visible img {
    opacity: 0.92;
  }
  
  .video-thread-thumb:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  
  .video-thread-embed-inline {
    margin-top: 0;
  }
  
  .video-thread-embed-close {
    appearance: none;
    background: rgb(0 0 0 / 55%);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    height: 1.75rem;
    line-height: 1;
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    width: 1.75rem;
    z-index: 2;
  }
  
  .video-thread-heading {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
  }
  
  .video-thread-heading .video-thread-title {
    flex: 1;
    min-width: 0;
  }
  
  .video-thread-context {
    color: #576f76;
    flex: 0 0 auto;
    font-size: 0.75rem;
    line-height: 1.35;
    margin-top: 0.15rem;
    text-align: right;
    white-space: nowrap;
  }
  
  .video-thread-comment + .video-thread-comment {
    margin-top: 0.35rem;
  }
  
  .video-thread-replies {
    display: grid;
    gap: 0.35rem;
    margin-left: 0.85rem;
    margin-top: 0.35rem;
    padding-left: 0.65rem;
  }
  
  .post-comment-reply {
    border-left-color: #c7cbd1;
    color: #3d4f56;
    font-size: 0.8rem;
  }
  
  .video-thread-highlights {
    margin-top: 0.35rem;
  }
  
  .video-thread-highlights--detail {
    margin-top: 0.75rem;
  }
  
  .video-thread-votes .post-vote-group {
    flex-direction: column;
    min-height: 4.5rem;
    padding: 0.35rem 0.2rem;
  }
  
  .video-thread-body {
    min-width: 0;
  }
  
  .video-thread-meta {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 0.35rem;
  }
  
  .video-thread-meta .post-community {
    margin-right: 0.35rem;
  }
  
  .post-meta-detail {
    color: #576f76;
    font-size: 0.72rem;
  }
  
  .video-thread-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.32;
    margin: 0;
  }
  
  .video-thread-title a {
    color: inherit;
    text-decoration: none;
  }
  
  .video-thread-title a:hover,
  .video-thread-title a:focus-visible {
    color: var(--color-primary);
    text-decoration: underline;
  }
  
  .video-thread-actions {
    margin-top: 0.45rem;
  }
  
  .video-thread-embed {
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 16px;
    margin-top: 0.75rem;
    overflow: hidden;
    width: 100%;
  }
  
  .video-thread-embed iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
  }
  
  .video-thread-back {
    margin-bottom: 0.5rem;
  }
  
  .video-thread-comments {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 1rem;
  }
  
  .site-shell .post-detail-layout {
    display: grid;
    gap: 0.875rem;
    width: 100%;
  }
  
  .reddit-post {
    border-color: #dfe1e5;
    border-radius: 16px;
    overflow: hidden;
    transition:
      background-color 120ms ease,
      border-color 120ms ease,
      box-shadow 120ms ease;
  }
  
  .reddit-post:hover {
    background: #fbfbfb;
    border-color: #c7cbd1;
    box-shadow: 0 1px 2px rgb(0 0 0 / 4%);
  }
  
  .post-detail-card:hover {
    background: var(--color-base-100);
    border-color: #dfe1e5;
    box-shadow: none;
  }
  
  .post-main {
    min-width: 0;
    padding: 0.75rem 0.875rem 0.625rem;
  }
  
  .post-meta {
    align-items: center;
    color: #576f76;
    display: grid;
    font-size: 0.75rem;
    gap: 0.375rem;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    line-height: 1.25;
    margin-bottom: 0.5rem;
  }
  
  .post-community-icon {
    align-items: center;
    background: linear-gradient(135deg, #ff4500, #ff8717);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    height: 1.5rem;
    justify-content: center;
    width: 1.5rem;
  }
  
  .post-author-avatar {
    background: #edf2f7;
    display: block;
    flex: 0 0 auto;
    object-fit: cover;
    overflow: hidden;
  }
  
  .post-meta-text {
    min-width: 0;
  }
  
  .post-community {
    color: #0f1a1c;
    font-weight: 700;
  }
  
  .post-author {
    color: #576f76;
    display: block;
    font-size: 0.7rem;
    margin-top: 0.05rem;
  }
  
  .post-flair {
    background: #e5ebee;
    border-radius: 20px;
    color: #245a75;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.12rem 0.5rem;
    white-space: nowrap;
  }
  
  .post-flair-list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: flex-end;
  }
  
  .post-overflow-button {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #576f76;
    cursor: pointer;
    display: inline-flex;
    height: 1.75rem;
    justify-content: center;
    padding: 0;
    width: 1.75rem;
  }
  
  .post-overflow-button svg {
    display: block;
    fill: currentColor;
    height: 1.25rem;
    width: 1.25rem;
  }
  
  .post-overflow-button:hover,
  .post-overflow-button:focus-visible {
    background: #f2f4f5;
    color: #0f1a1c;
  }
  
  .post-overflow-button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
  }
  
  .post-title {
    color: #0f1a1c;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.28;
    margin: 0;
  }
  
  .post-body {
    color: #243033;
    font-size: 0.875rem;
    line-height: 1.45;
    margin: 0.5rem 0 0;
    max-width: 70ch;
  }
  
  .post-media {
    align-items: center;
    background: #f2f4f5;
    border: 0;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    margin: 0.75rem 0 0;
    max-width: 100%;
    overflow: hidden;
  }
  
  .post-media img,
  .post-media video {
    display: block;
    max-height: 512px;
    object-fit: contain;
    width: 100%;
  }
  
  .post-media video {
    background: #000;
  }
  
  .post-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.625rem;
  }
  
  .post-vote-group,
  .post-action-button {
    align-items: center;
    background: #f2f4f5;
    border-radius: 999px;
    color: #243033;
    display: inline-flex;
    min-height: 2rem;
  }
  
  .post-vote-group {
    gap: 0.125rem;
    padding: 0 0.25rem;
  }
  
  .post-vote-button {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #576f76;
    cursor: pointer;
    display: grid;
    height: 1.625rem;
    place-items: center;
    width: 1.625rem;
  }
  
  .post-vote-button::before {
    border-left: 0.34rem solid transparent;
    border-right: 0.34rem solid transparent;
    content: "";
  }
  
  .post-vote-up::before {
    border-bottom: 0.5rem solid currentColor;
  }
  
  .post-vote-down::before {
    border-top: 0.5rem solid currentColor;
  }
  
  .post-vote-button:hover,
  .post-vote-button:focus-visible,
  .post-vote-button.is-active {
    background: #fff;
    color: #ff4500;
  }
  
  .post-vote-button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
  }
  
  .post-score {
    color: #0f1a1c;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.1;
    min-width: 2rem;
    text-align: center;
  }
  
  .post-action-button {
    appearance: none;
    border: 0;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    gap: 0.25rem;
    padding: 0 0.75rem;
  }
  
  .post-action-button:hover,
  .post-action-button:focus-visible,
  .reddit-post.is-saved .post-action-button[data-action="save"] {
    background: #e5ebee;
    color: #0f1a1c;
  }
  
  .post-action-button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
  }
  
  .post-comments {
    border-top: 1px solid #e5ebee;
    display: grid;
    gap: 0.45rem;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
  }
  
  .post-comments[hidden] {
    display: none;
  }
  
  .post-comment {
    border-left: 2px solid #dfe1e5;
    color: #243033;
    font-size: 0.84rem;
    line-height: 1.35;
    margin: 0;
    padding-left: 0.65rem;
  }
  
  .post-detail-view {
    margin-top: 0;
  }
  
  .post-detail-layout {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
  
  .post-detail-main {
    display: grid;
    gap: 0.875rem;
    min-width: 0;
  }
  
  .post-detail-card {
    border-radius: 0.5rem;
  }
  
  .post-comment-section {
    background: var(--color-base-100);
    border: 1px solid #dfe1e5;
    border-radius: 0.5rem;
    padding: 1rem;
  }
  
  .post-comment-header {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 0.75rem;
  }
  
  .post-comment-header h2,
  .post-detail-empty h1 {
    color: #0f1a1c;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
  }
  
  .comment-sort-button {
    appearance: none;
    background: #f2f4f5;
    border: 0;
    border-radius: 999px;
    color: #243033;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    min-height: 2rem;
    padding: 0 0.75rem;
  }
  
  .comment-composer,
  .comment-reply-box {
    display: grid;
    gap: 0.5rem;
  }
  
  .comment-composer {
    border-bottom: 1px solid #edf0f2;
    margin-bottom: 0.875rem;
    padding-bottom: 0.875rem;
  }
  
  .comment-composer textarea,
  .comment-reply-box textarea {
    background: #fff;
    border: 1px solid #c7cbd1;
    border-radius: 1.25rem;
    color: #0f1a1c;
    font: inherit;
    min-height: 5rem;
    padding: 0.75rem 0.875rem;
    resize: vertical;
    width: 100%;
  }
  
  .comment-reply-box textarea {
    border-radius: 0.75rem;
    min-height: 4.25rem;
  }
  
  .comment-composer-actions,
  .comment-reply-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
  }
  
  .comment-tree {
    display: grid;
    gap: 0.125rem;
  }
  
  .comment-node {
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr);
    margin-left: min(calc(var(--comment-depth) * 1.35rem), 6.75rem);
    min-width: 0;
    position: relative;
  }
  
  .comment-thread-line {
    appearance: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    padding: 0;
    width: 1rem;
  }
  
  .comment-thread-line::before {
    background: #d8dde1;
    border-radius: 999px;
    content: "";
    display: block;
    min-height: 100%;
    transition: background-color 140ms ease, width 140ms ease;
    width: 2px;
  }
  
  .comment-thread-line:hover::before,
  .comment-thread-line:focus-visible::before {
    background: #8ba0a8;
    width: 4px;
  }
  
  .comment-thread-line:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
  }
  
  .comment-body {
    min-width: 0;
    padding: 0.125rem 0 0.625rem 0.5rem;
  }
  
  .comment-meta {
    align-items: center;
    color: #576f76;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.75rem;
    gap: 0.25rem;
    min-height: 1.75rem;
  }
  
  .comment-collapse-button,
  .comment-overflow-button,
  .comment-vote-button {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #576f76;
    cursor: pointer;
    display: inline-grid;
    place-items: center;
  }
  
  .comment-collapse-button {
    font-size: 0.875rem;
    font-weight: 700;
    height: 1.25rem;
    width: 1.25rem;
  }
  
  .comment-avatar {
    border-radius: 999px;
    display: block;
    height: 1.5rem;
    object-fit: cover;
    width: 1.5rem;
  }
  
  .comment-author {
    color: #0f1a1c;
    font-weight: 700;
  }
  
  .comment-op-badge,
  .comment-distinguished-badge {
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.08rem 0.38rem;
  }
  
  .comment-op-badge {
    background: #dbeafe;
    color: #1d4ed8;
  }
  
  .comment-distinguished-badge {
    background: #dcfce7;
    color: #166534;
  }
  
  .comment-text {
    color: #243033;
    font-size: 0.875rem;
    line-height: 1.45;
    margin: 0.2rem 0 0;
  }
  
  .comment-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin-top: 0.35rem;
  }
  
  .comment-action-button {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #576f76;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 800;
    min-height: 1.75rem;
    padding: 0 0.45rem;
  }
  
  .comment-action-button:hover,
  .comment-action-button:focus-visible,
  .comment-collapse-button:hover,
  .comment-collapse-button:focus-visible,
  .comment-overflow-button:hover,
  .comment-overflow-button:focus-visible,
  .comment-vote-button:hover,
  .comment-vote-button:focus-visible,
  .comment-vote-button.is-active {
    background: #f2f4f5;
    color: #ff4500;
  }
  
  .comment-action-button:focus-visible,
  .comment-collapse-button:focus-visible,
  .comment-overflow-button:focus-visible,
  .comment-vote-button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
  }
  
  .comment-vote-button {
    height: 1.75rem;
    width: 1.75rem;
  }
  
  .comment-vote-button::before {
    border-left: 0.31rem solid transparent;
    border-right: 0.31rem solid transparent;
    content: "";
  }
  
  .comment-vote-up::before {
    border-bottom: 0.46rem solid currentColor;
  }
  
  .comment-vote-down::before {
    border-top: 0.46rem solid currentColor;
  }
  
  .comment-overflow-menu {
    display: inline-flex;
    position: relative;
  }
  
  .comment-overflow-button {
    height: 1.75rem;
    list-style: none;
    width: 1.75rem;
  }
  
  .comment-overflow-button::-webkit-details-marker {
    display: none;
  }
  
  .comment-overflow-button svg {
    fill: currentColor;
    height: 1.1rem;
    width: 1.1rem;
  }
  
  .comment-overflow-list {
    background: #fff;
    border: 1px solid #dfe1e5;
    border-radius: 0.5rem;
    box-shadow: 0 12px 32px rgb(15 23 42 / 14%);
    min-width: 12rem;
    padding: 0.35rem;
    z-index: 5;
  }
  
  .comment-children {
    display: grid;
    gap: 0.125rem;
    margin-top: 0.35rem;
  }
  
  .post-detail-empty {
    background: var(--color-base-100);
    border: 1px solid #dfe1e5;
    border-radius: 0.5rem;
    padding: 1rem;
  }
  
  .post-detail-empty p {
    color: #576f76;
    font-size: 0.875rem;
    line-height: 1.45;
    margin: 0;
  }
  
  .post-detail-main {
    gap: 0.5rem;
  }
  
  .post-comment-section {
    background: var(--color-base-100);
    border: 1px solid #dfe1e5;
    border-radius: 0.5rem;
    padding: 0.75rem 0.875rem 0.625rem;
  }
  
  .post-comment-header {
    display: none;
  }
  
  .comment-tree {
    background: var(--color-base-100);
    display: block;
    padding: 0.25rem 0 0.75rem;
  }
  
  .comment-node {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    margin-left: 0;
    min-width: 0;
    position: relative;
    z-index: 0;
  }
  
  .comment-node:not([style*="--comment-depth: 0"])::after {
    background: #d8dde1;
    content: "";
    height: 1px;
    left: -2.275rem;
    position: absolute;
    top: 1.45rem;
    width: 3.4rem;
    z-index: 0;
  }
  
  .comment-node:not([style*="--comment-depth: 0"]) {
    margin-left: 1.15rem;
  }
  
  .comment-thread-line {
    align-items: stretch;
    cursor: pointer;
    display: flex;
    justify-content: center;
    width: 2.25rem;
  }
  
  .comment-thread-line::before {
    background: #d8dde1;
    border-radius: 999px;
    content: none;
    height: var(--thread-line-height, calc(100% - 2.45rem));
    margin-top: 2.45rem;
    min-height: 0;
    width: 1px;
    z-index: 0;
  }
  
  .comment-node.has-children > .comment-thread-line::before {
    content: "";
  }
  
  .comment-thread-line:hover::before,
  .comment-thread-line:focus-visible::before {
    background: #87949c;
    width: 2px;
  }
  
  .comment-body {
    padding: 0.45rem 0 0.4rem;
    position: relative;
    z-index: 1;
  }
  
  .comment-meta {
    align-items: center;
    color: #576f76;
    display: flex;
    font-size: 0.75rem;
    gap: 0.25rem;
    margin-left: -2.25rem;
    min-height: 2rem;
    width: calc(100% + 2.25rem);
  }
  
  .comment-avatar {
    background: var(--color-base-100);
    border: 2px solid var(--color-base-100);
    height: 2rem;
    margin-left: 0.125rem;
    margin-right: 0.25rem;
    position: relative;
    width: 2rem;
    z-index: 2;
  }
  
  .comment-author {
    color: #11181c;
    font-size: 0.8rem;
    font-weight: 800;
  }
  
  .comment-op-badge,
  .comment-distinguished-badge {
    border-radius: 999px;
    font-size: 0.62rem;
    line-height: 1;
    padding: 0.18rem 0.34rem;
  }
  
  .comment-text {
    color: #1f2933;
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0.55rem 0 0;
    max-width: 76ch;
  }
  
  .comment-actions {
    align-items: center;
    display: flex;
    gap: 0.38rem;
    margin-top: 0.55rem;
    min-height: 1.6rem;
    position: relative;
  }
  
  .comment-collapse-button {
    background: #fff;
    border: 1.5px solid #2f3a40;
    color: #2f3a40;
    flex: 0 0 auto;
    font-size: 0.9rem;
    font-weight: 800;
    height: 1rem;
    line-height: 1;
    margin-left: -1.625rem;
    margin-right: 0.75rem;
    padding: 0;
    width: 1rem;
  }
  
  .comment-collapse-button:hover,
  .comment-collapse-button:focus-visible {
    background: #eef3f6;
    color: #11181c;
  }
  
  .comment-node:not(.has-children) .comment-actions {
    padding-left: 0;
  }
  
  .comment-vote-button,
  .comment-action-button,
  .comment-overflow-button {
    background: transparent;
    border: 0;
    border-radius: 0.25rem;
    color: #536471;
    min-height: 1.55rem;
  }
  
  .comment-vote-button {
    height: 1.55rem;
    width: 1.35rem;
  }
  
  .comment-vote-button::before {
    content: none;
  }
  
  .comment-vote-button svg,
  .comment-action-icon svg {
    display: block;
    fill: none;
    height: 1.25rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 1.25rem;
  }
  
  .comment-vote-button svg {
    fill: none;
  }
  
  .comment-vote-button:hover,
  .comment-vote-button:focus-visible,
  .comment-vote-button.is-active {
    background: transparent;
    color: #11181c;
  }
  
  .comment-vote-button.is-active.comment-vote-up {
    color: #d93900;
  }
  
  .comment-vote-button.is-active.comment-vote-down {
    color: #6a5cff;
  }
  
  .comment-score-inline {
    color: #536471;
    font-size: 0.8rem;
    font-weight: 650;
    line-height: 1;
    min-width: 1.35rem;
    text-align: center;
  }
  
  .comment-action-button {
    align-items: center;
    display: inline-flex;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0 0.22rem;
  }
  
  .comment-action-button:hover,
  .comment-action-button:focus-visible,
  .comment-overflow-button:hover,
  .comment-overflow-button:focus-visible {
    background: transparent;
    color: #11181c;
  }
  
  .comment-action-icon {
    display: inline-flex;
  }
  
  .comment-overflow-menu {
    display: inline-flex;
    position: relative;
  }
  
  .comment-overflow-button {
    align-items: center;
    color: #536471;
    display: inline-flex;
    font-size: 0;
    font-weight: 700;
    height: 1.55rem;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1;
    list-style: none;
    min-height: 1.55rem;
    padding: 0 0.35rem;
    width: 1.55rem;
  }
  
  .comment-overflow-button::before {
    background: currentColor;
    border-radius: 999px;
    box-shadow: 0.36rem 0 currentColor, 0.72rem 0 currentColor;
    content: "";
    height: 0.18rem;
    transform: translateX(-0.36rem);
    width: 0.18rem;
  }
  
  .comment-overflow-menu > .comment-overflow-list.dropdown-content {
    border: 1px solid #d8dde1;
    border-radius: 0.5rem;
    box-shadow: 0 8px 28px rgb(15 23 42 / 14%);
    inset-inline-end: auto;
    inset-inline-start: 1.9rem;
    left: 1.9rem;
    position: absolute;
    right: auto;
    top: 0;
  }
  
  .comment-reply-box {
    margin: 0.55rem 0 0;
    padding-right: 1rem;
  }
  
  .comment-reply-box textarea {
    border-color: #d8dde1;
    border-radius: 0.5rem;
    min-height: 4.5rem;
  }
  
  .comment-children {
    display: block;
    margin-top: 0;
  }
  
  .comment-node.is-collapsed {
    grid-template-columns: 2.25rem minmax(0, 1fr);
  }
  
  .sr-only {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }
  
  .comment-thread-controls {
    background: transparent;
    display: grid;
    gap: 0.85rem;
    padding: 0 0 1.35rem;
  }
  
  .comment-join-field,
  .comment-search-field {
    display: block;
    min-width: 0;
  }
  
  .comment-join-field input,
  .comment-search-field input,
  .comment-sort-button {
    color: #1f2933;
    font: inherit;
  }
  
  .comment-join-field input {
    appearance: none;
    background: #fff;
    border: 1px solid #c9ced3;
    border-radius: 999px;
    font-size: 1rem;
    height: 2.65rem;
    padding: 0 1.2rem;
    width: 100%;
  }
  
  .comment-join-field input::placeholder,
  .comment-search-field input::placeholder {
    color: #6b737a;
  }
  
  .comment-join-field input:focus,
  .comment-search-field:focus-within,
  .comment-sort-button:focus-visible {
    border-color: #87949c;
    outline: 2px solid rgb(80 120 150 / 18%);
    outline-offset: 1px;
  }
  
  .comment-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }
  
  .comment-sort-control {
    align-items: center;
    color: #576f76;
    display: inline-flex;
    font-size: 0.82rem;
    gap: 0.55rem;
  }
  
  .comment-sort-dropdown {
    display: inline-flex;
    position: relative;
  }
  
  .comment-sort-button {
    appearance: none;
    align-items: center;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #11181c;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 700;
    gap: 0.32rem;
    justify-content: center;
    list-style: none;
    min-height: 2.15rem;
    padding: 0 0.72rem;
  }
  
  .comment-sort-button::-webkit-details-marker {
    display: none;
  }
  
  .comment-sort-button::after {
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    content: "";
    height: 0.42rem;
    margin-top: -0.16rem;
    transform: rotate(45deg);
    width: 0.42rem;
  }
  
  .comment-sort-dropdown[open] .comment-sort-button::after {
    margin-top: 0.2rem;
    transform: rotate(225deg);
  }
  
  .comment-sort-menu {
    background: #fff;
    border: 1px solid #d8dde1;
    border-radius: 0.5rem;
    box-shadow: 0 8px 28px rgb(15 23 42 / 14%);
    left: 0;
    min-width: 9rem;
    padding: 0.35rem;
    position: absolute;
    top: calc(100% + 0.35rem);
    white-space: nowrap;
    z-index: 20;
  }
  
  .comment-sort-menu [data-comment-sort].is-active {
    background: #f2f4f5;
    color: #11181c;
    font-weight: 700;
  }
  
  .comment-search-field {
    align-items: center;
    background: #fff;
    border: 1px solid #d8dde1;
    border-radius: 999px;
    display: inline-flex;
    gap: 0.45rem;
    height: 2.55rem;
    padding: 0 0.95rem;
    width: min(100%, 11.5rem);
  }
  
  .comment-search-field svg {
    fill: #536471;
    flex: 0 0 auto;
    height: 1.15rem;
    width: 1.15rem;
  }
  
  .comment-search-field input {
    appearance: none;
    background: transparent;
    border: 0;
    font-size: 0.86rem;
    min-width: 0;
    outline: 0;
    width: 100%;
  }
  
  .post-action-icon {
    display: inline-flex;
    height: 1rem;
    width: 1rem;
  }
  
  .post-action-icon svg {
    display: block;
    fill: currentColor;
    height: 100%;
    width: 100%;
  }
  
  .content-section-header {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem 0.875rem;
    justify-content: flex-start;
    margin-bottom: 0.75rem;
  }
  
  .section-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
  }
  
  .platform-filter-list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
  }
  
  .platform-filter-button {
    align-items: center;
    appearance: none;
    background: var(--color-base-100);
    border: 1px solid rgb(15 23 42 / 12%);
    border-radius: 999px;
    box-shadow: 0 6px 16px rgb(15 23 42 / 10%);
    color: var(--color-base-content);
    cursor: pointer;
    display: inline-flex;
    height: 2.25rem;
    justify-content: center;
    padding: 0;
    transition:
      background-color 160ms ease,
      border-color 160ms ease,
      box-shadow 160ms ease,
      color 160ms ease,
      opacity 160ms ease,
      transform 160ms ease;
    width: 2.25rem;
  }
  
  .platform-filter-button:hover,
  .platform-filter-button:focus-visible {
    border-color: currentColor;
    box-shadow: 0 10px 22px rgb(15 23 42 / 14%);
    transform: translateY(-1px);
  }
  
  .platform-filter-button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  
  .platform-filter-button.is-inactive {
    background: var(--color-base-200);
    box-shadow: none;
    color: var(--color-base-content);
    opacity: 0.38;
  }
  
  .platform-filter-button svg {
    display: block;
    fill: currentColor;
    height: 1.2rem;
    width: 1.2rem;
  }
  
  .horizontal-list {
    display: flex;
    gap: 0.875rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }
  
  .horizontal-card {
    flex: 0 0 270px;
  }
  
  .content-carousel {
    cursor: grab;
    scroll-snap-type: x proximity;
    user-select: none;
  }
  
  .content-carousel.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
  }
  
  .content-empty-state {
    align-items: center;
    background: var(--color-base-100);
    border: 1px dashed var(--color-base-300);
    border-radius: 0.5rem;
    color: var(--color-base-content);
    display: flex;
    flex: 0 0 100%;
    font-size: 0.95rem;
    justify-content: center;
    margin: 0;
    min-height: 8rem;
    padding: 1rem;
  }
  
  .content-preview {
    appearance: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 20rem;
    overflow: hidden;
    padding: 0;
    position: relative;
    scroll-snap-align: start;
    transition:
      border-color 160ms ease,
      box-shadow 160ms ease,
      transform 160ms ease;
  }
  
  .content-preview:hover,
  .content-preview:focus-visible {
    border-color: var(--color-primary);
    box-shadow: 0 12px 28px rgb(15 23 42 / 14%);
    transform: translateY(-2px);
  }
  
  .preview-frame {
    background: var(--color-base-300);
    flex: 0 0 auto;
    overflow: hidden;
    position: relative;
  }
  
  .content-preview .preview-frame {
    aspect-ratio: 16 / 9;
  }
  
  .content-preview .media-thumb {
    height: 100%;
    object-fit: cover;
    -webkit-user-drag: none;
    user-select: none;
    width: 100%;
  }
  
  .content-preview .media-embed {
    border: 0;
    height: 100%;
    pointer-events: none;
    width: 100%;
  }
  
  .content-preview .card-body {
    flex: 0 0 10.5rem;
    min-height: 0;
    padding-bottom: 3rem;
    padding-top: 1rem;
    position: relative;
  }
  
  .content-preview .card-title {
    display: -webkit-box;
    line-height: 1.25;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  
  .content-preview[data-orientation="vertical"] .preview-frame {
    aspect-ratio: auto;
    flex: 1 1 auto;
    height: 100%;
  }
  
  .content-preview[data-orientation="vertical"] .card-body {
    background: rgb(255 255 255 / 78%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgb(255 255 255 / 48%);
    bottom: 0;
    left: 0;
    flex: initial;
    min-height: 0;
    position: absolute;
    right: 0;
    z-index: 1;
  }
  
  .platform-icon {
    align-items: center;
    background: rgb(255 255 255 / 88%);
    border: 1px solid rgb(15 23 42 / 10%);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgb(15 23 42 / 18%);
    color: var(--color-base-content);
    display: flex;
    height: 2.25rem;
    justify-content: center;
    position: absolute;
    right: 0.75rem;
    top: 0.75rem;
    width: 2.25rem;
    z-index: 2;
  }
  
  .platform-icon svg {
    display: block;
    fill: currentColor;
    height: 1.25rem;
    width: 1.25rem;
  }
  
  .platform-icon-instagram {
    color: #c13584;
  }
  
  .platform-icon-tiktok {
    color: #111827;
  }
  
  .platform-icon-twitch {
    color: #6d28d9;
  }
  
  .platform-icon-youtube {
    color: #dc2626;
  }
  
  .platform-icon-youtube-shorts {
    color: #ff0033;
  }
  
  .platform-icon-x {
    color: #111827;
  }
  
  .content-date-pill {
    background: var(--color-base-200);
    border: 1px solid rgb(15 23 42 / 10%);
    border-radius: 999px;
    bottom: 1rem;
    color: var(--color-base-content);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.45rem 0.65rem;
    position: absolute;
    right: 1rem;
  }
  
  .play-indicator {
    align-items: center;
    background: var(--color-primary);
    border-radius: 999px;
    color: var(--color-primary-content);
    display: flex;
    height: 3rem;
    justify-content: center;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 3rem;
  }
  
  .play-indicator::before {
    border-bottom: 0.55rem solid transparent;
    border-left: 0.8rem solid currentColor;
    border-top: 0.55rem solid transparent;
    content: "";
    margin-left: 0.2rem;
  }
  
  #contentModal {
    background: rgb(0 0 0 / 54%);
    display: none;
    inset: 0;
    margin: 0;
    min-height: 100dvh;
    overflow: hidden;
    padding: 0;
    position: fixed;
    z-index: 1000;
  }
  
  #contentModal.is-open {
    display: grid;
    place-items: center;
  }
  
  #contentModal[hidden] {
    display: none !important;
  }
  
  body.content-modal-open {
    overflow: hidden;
  }
  
  .content-modal-stage {
    align-items: center;
    display: grid;
    justify-content: center;
    max-height: calc(100dvh - 2rem);
    max-width: calc(100vw - 2rem);
    place-items: center;
    position: relative;
    width: fit-content;
    z-index: 1;
  }
  
  .content-modal-box {
    background: transparent;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: none;
    margin: 0;
    max-height: none !important;
    max-width: none;
    overflow: visible;
    padding: 0 !important;
    width: auto;
  }
  
  .content-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }
  
  .content-modal-drag-zone {
    display: none;
  }
  
  .content-modal-prev {
    left: -4rem;
  }
  
  .content-modal-next {
    right: -4rem;
  }
  
  .embed-shell {
    aspect-ratio: var(--modal-aspect-ratio, 16 / 9);
    background: #000;
    border-radius: 0.5rem;
    box-shadow: 0 24px 70px rgb(15 23 42 / 32%);
    max-height: calc(100dvh - 2rem);
    overflow: hidden;
    width: min(var(--modal-width-from-height, calc((100dvh - 2rem) * 16 / 9)), calc(100vw - 8rem), var(--modal-max-width, 980px));
  }
  
  .embed-shell.is-vertical {
    margin-inline: auto;
  }
  
  .embed-shell.is-tiktok,
  .embed-shell.is-social-post {
    background: transparent;
  }
  
  .embed-shell.is-tiktok,
  .embed-shell.is-social-post {
    aspect-ratio: auto;
    overflow: auto;
  }
  
  .embed-shell > iframe {
    background: transparent;
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
  }
  
  .embed-shell > iframe[hidden] {
    display: none;
  }
  
  .content-post {
    display: block;
    width: 100%;
  }
  
  .content-post[hidden] {
    display: none;
  }
  
  .content-post .twitter-tweet,
  .content-post .tiktok-embed,
  .content-post iframe {
    margin: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.875rem;
  }
  
  .thread-cover {
    aspect-ratio: 16 / 7;
    border-radius: 0.5rem;
    display: block;
    width: 100%;
    object-fit: cover;
  }
  
  @media (max-width: 980px) {
    .home-grid {
      grid-template-columns: 1fr;
    }
  
    .post-detail-layout {
      grid-template-columns: 1fr;
    }
  
  }
  
  @media (max-width: 680px) {
    .video-thread-layout {
      grid-template-columns: auto minmax(0, 1fr);
      grid-template-areas:
        "votes body"
        "thumb thumb";
    }
  
    .video-thread-votes {
      grid-area: votes;
    }
  
    .video-thread-media {
      grid-area: thumb;
      max-width: 100%;
    }
  
    .video-thread-body {
      grid-area: body;
    }
  
    .video-thread-heading {
      align-items: flex-start;
      flex-direction: column;
      gap: 0.25rem;
    }
  
    .video-thread-context {
      text-align: left;
      white-space: normal;
    }
  
    .navbar {
      align-items: flex-start;
      flex-direction: column;
      gap: 0.5rem;
    }
  
    .navbar-start,
    .navbar-end {
      width: 100%;
    }
  
    .navbar-end {
      justify-content: flex-start;
      overflow-x: auto;
    }
  
    .creator-meta {
      align-items: flex-start;
      flex-direction: column;
    }
  
    .creator-profile {
      align-items: flex-start;
    }
  
    .creator-actions {
      margin-left: 0;
    }
  
    .post-main {
      padding: 0.7rem 0.75rem 0.55rem;
    }
  
    .post-meta {
      grid-template-columns: auto minmax(0, 1fr) auto;
    }
  
    .post-overflow-button {
      display: none;
    }
  
    .post-title {
      font-size: 1rem;
    }
  
    .post-action-button {
      padding: 0 0.6rem;
    }
  
    .post-media img,
    .post-media video {
      max-height: 360px;
    }
  
    .post-comment-section {
      padding: 0.75rem;
    }
  
    .post-comment-header {
      align-items: flex-start;
      flex-direction: column;
    }
  
    .comment-node {
      margin-left: 0;
    }
  
    .comment-node:not([style*="--comment-depth: 0"])::after {
      left: -1.875rem;
      width: 3rem;
    }
  
    .comment-node:not([style*="--comment-depth: 0"]) {
      margin-left: 0.75rem;
    }
  
    .comment-actions {
      gap: 0.1rem;
    }
  
    .comment-action-button {
      padding: 0 0.35rem;
    }
  
    .thread-cover {
      aspect-ratio: 16 / 10;
    }
  
    .content-modal-stage {
      box-sizing: border-box;
      height: 100dvh;
      max-width: none;
      max-height: none;
      padding: 0;
      width: 100dvw;
    }
  
    .content-modal-box {
      align-items: center;
      border-radius: 0;
      display: flex;
      height: 100dvh;
      justify-content: center;
      max-width: none;
      width: 100dvw;
    }
  
    .content-modal-nav {
      background: rgb(255 255 255 / 86%);
      box-shadow: 0 10px 26px rgb(15 23 42 / 24%);
    }
  
    .content-modal-drag-zone {
      cursor: grab;
      display: block;
      height: 5rem;
      left: 0;
      position: fixed;
      right: 0;
      top: 0;
      touch-action: none;
      z-index: 3;
    }
  
    .content-modal-prev {
      left: 0.75rem;
    }
  
    .content-modal-next {
      right: 0.75rem;
    }
  
    .embed-shell {
      border-radius: 0;
      box-shadow: none;
      max-height: 100dvh;
      max-width: none;
      width: min(var(--modal-width-from-height, 100dvw), 100dvw, var(--modal-max-width, 100dvw));
    }
  }
  