:root {
    --langyu-columns-radius: 14px;
}

.langyu-columns-page,
.langyu-my-columns-page {
    background: #f6f6f6;
    min-height: 100vh;
}

.langyu-columns-page {
    min-width: 0;
    min-height: auto;
}

.langyu-columns-layout {
    justify-content: center;
}

.langyu-column-page .langyu-container,
.langyu-my-columns-page .langyu-container {
    display: block;
    gap: 0;
    align-items: stretch;
    max-width: var(--langyu-site-width, 1050px);
    margin: 0 auto;
    padding: 0 20px;
}

.langyu-columns-hero-wrapper {
    background: #fff;
    padding: 30px 0 24px;
    box-shadow: 0 1px 3px rgba(18, 18, 18, 0.05);
    margin-bottom: 10px;
}

.langyu-columns-content-wrapper {
    background: #fff;
    box-shadow: 0 1px 3px rgba(18, 18, 18, 0.05);
    padding: 24px 0 24px;
    min-height: auto;
}

.langyu-columns-inner-container {
    width: 100%;
    max-width: calc(var(--langyu-site-width, 1050px) - 316px);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.langyu-columns-page > section {
    width: 100%;
    background: transparent;
    box-sizing: border-box;
}

.langyu-columns-page > section + section {
    margin-top: 0;
}

.langyu-empty-state {
    padding: 28px 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}

.langyu-my-columns-page .langyu-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    padding: 20px 0 10px;
}

.langyu-page-title {
    margin: 0;
    font-size: 26px;
    letter-spacing: -0.02em;
}

.langyu-page-desc {
    margin: 8px 0 0;
    color: var(--langyu-muted);
    line-height: 1.7;
}

.langyu-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--langyu-border);
    background: var(--langyu-surface);
    color: var(--langyu-text);
    font-size: 13px;
    line-height: 1;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

.langyu-pill-btn:hover {
    border-color: rgba(0, 0, 0, 0.18);
}

.langyu-pill-btn.is-primary {
    background: var(--langyu-button-bg);
    border-color: var(--langyu-button-bg);
    color: var(--langyu-button-text);
}

.langyu-pill-btn.is-primary:hover {
    background: var(--langyu-primary-hover);
    border-color: var(--langyu-primary-hover);
}

.langyu-pill-btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.langyu-columns-rank-section {
    padding-top: 0;
}

.langyu-rank-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 18px;
}

.langyu-rank-title {
    margin: 0;
    font-size: 32px;
    letter-spacing: -0.03em;
}

.langyu-rank-subtitle {
    margin: 0;
    color: #9095a1;
    font-size: 15px;
}

.langyu-hot-columns-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 18px;
}

.langyu-hot-column-card {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #f3f4f6;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.langyu-hot-column-card.is-skeleton {
    pointer-events: none;
}

.langyu-hot-column-card.is-skeleton .langyu-skeleton-media {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #e2e8f0;
    animation: langyu-pulse 1.5s ease-in-out infinite;
}

.langyu-hot-column-card.is-skeleton .langyu-skeleton-title {
    height: 16px;
    width: 60%;
    background: #e2e8f0;
    border-radius: 4px;
    margin-bottom: 12px;
    animation: langyu-pulse 1.5s ease-in-out infinite;
}

.langyu-hot-column-card.is-skeleton .langyu-skeleton-meta {
    height: 14px;
    width: 40%;
    background: #e2e8f0;
    border-radius: 4px;
    animation: langyu-pulse 1.5s ease-in-out infinite;
}

@keyframes langyu-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

.langyu-hot-column-card:hover:not(.is-skeleton) {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.langyu-hot-column-media {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: #d8dde5;
    display: block;
}

.langyu-hot-column-body {
    min-width: 0;
}

.langyu-hot-column-title {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
}

.langyu-hot-column-title a {
    color: inherit;
    text-decoration: none;
}

.langyu-hot-column-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-top: 10px;
    color: #666c78;
    font-size: 12px;
}

.langyu-column-author-avatar.is-small {
    width: 18px;
    height: 18px;
    min-width: 18px;
}

.langyu-hot-column-author {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    white-space: nowrap;
}

.langyu-hot-column-tag {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.langyu-hot-column-rank {
    position: absolute;
    top: 0;
    right: 12px;
    min-width: 22px;
    height: 24px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 8px 8px;
    background: #c8cedb;
    color: #667085;
    font-weight: 600;
    font-size: 12px;
}

.langyu-hot-column-rank.rank-1 {
    background: #ff5b57;
    color: #fff;
}

.langyu-hot-column-rank.rank-2 {
    background: #ff8b0f;
    color: #fff;
}

.langyu-hot-column-rank.rank-3 {
    background: #d7a567;
    color: #fff;
}

.langyu-hot-columns-more {
    display: flex;
    justify-content: center;
    padding: 22px 0 8px;
}

.langyu-columns-more-btn {
    border: 1px solid #dddfe5;
    background: #fff;
    color: #4b5563;
    border-radius: 999px;
    padding: 10px 26px;
    font-size: 14px;
    cursor: pointer;
}

.langyu-columns-feed-section {
    margin-top: 0;
    border-top: 0;
}

.langyu-feed-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.langyu-feed-title {
    margin: 0;
    font-size: 18px;
}

.langyu-feed-link {
    color: var(--langyu-muted);
    text-decoration: none;
    font-size: 13px;
}

.langyu-columns-feed {
    display: grid;
    gap: 28px;
}

.langyu-columns-feed-item {
    display: grid;
    gap: 10px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eceef2;
}

.langyu-columns-feed-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.langyu-columns-feed-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.langyu-columns-feed-cover-wrap {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.langyu-columns-feed-cover {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-color: #d8dde5;
    flex-shrink: 0;
}

.langyu-columns-feed-main {
    min-width: 0;
}

.langyu-columns-feed-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.langyu-columns-feed-title a {
    color: inherit;
    text-decoration: none;
}

.langyu-columns-feed-author-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #4b5563;
    font-size: 13px;
}

.langyu-columns-feed-author {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    white-space: nowrap;
}

.langyu-columns-feed-stats {
    margin-top: 8px;
    color: #8d94a2;
    font-size: 13px;
}

.langyu-subscribe-btn {
    background: transparent;
    border: 1px solid #056de8;
    color: #056de8;
    border-radius: 3px;
    padding: 0 12px;
    height: 30px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.langyu-subscribe-btn:hover {
    background: rgba(5, 109, 232, 0.06);
}

.langyu-subscribe-btn.is-active,
.langyu-subscribe-btn.active {
    background: #056de8;
    color: #fff;
}

.langyu-subscribe-btn.loading {
    opacity: 0.7;
    cursor: wait;
}

.langyu-columns-feed-summary {
    margin: 0;
    color: #5b6270;
    line-height: 1.7;
    font-size: 14px;
}

.langyu-columns-feed-featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 18px;
    align-items: center;
}

.langyu-columns-feed-featured-main {
    padding-left: 14px;
    border-left: 3px solid #e5e7eb;
}

.langyu-columns-feed-featured-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
}

.langyu-columns-feed-featured-title a {
    color: inherit;
    text-decoration: none;
}

.langyu-columns-feed-featured-excerpt {
    margin: 8px 0 0;
    color: #5b6270;
    font-size: 14px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.langyu-columns-feed-featured-cover {
    height: 108px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-color: #d8dde5;
}

.langyu-column-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.langyu-column-author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--langyu-border);
    background: var(--langyu-soft-bg);
}

.langyu-column-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.langyu-column-stats {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.langyu-column-dot {
    opacity: 0.7;
}

.langyu-column-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.langyu-tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--langyu-soft-bg);
    border: 1px solid var(--langyu-border);
    color: var(--langyu-muted);
    font-size: 12px;
    line-height: 1;
}

/* ==========================================================================
   Column Detail Page (Zhihu Style)
   ========================================================================== */

.langyu-column-page {
    background: #f6f6f6;
    min-height: 100vh;
}

.langyu-column-inner-container {
    max-width: 690px;
    margin: 0 auto;
    padding: 0 16px;
}

.langyu-column-hero-wrapper {
    background: #fff;
    padding: 40px 0 24px;
    box-shadow: 0 1px 3px rgba(18, 18, 18, 0.05);
    margin-bottom: 10px;
}

.langyu-column-hero-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #121212;
    line-height: 1.4;
}

.langyu-column-hero-desc {
    margin: 8px 0 0;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.langyu-column-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    color: #8590a6;
}

.langyu-column-author-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #444;
    text-decoration: none;
    font-weight: 500;
}

.langyu-column-author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
}

.langyu-column-stat {
    color: #8590a6;
}

.langyu-column-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.langyu-column-subscribe-btn {
    background: #056de8;
    color: #fff;
    border: none;
    padding: 0 16px;
    height: 34px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s, color 0.2s;
}

.langyu-column-subscribe-btn:hover {
    background: #045bbd;
}

.langyu-column-subscribe-btn.is-active {
    background: #edf4ff;
    color: #056de8;
}

.langyu-column-subscribe-btn.loading {
    opacity: 0.7;
    cursor: wait;
}

.langyu-column-report-btn {
    height: 34px;
    padding: 0 16px;
    border: 1px solid #ccd0d7;
    background: transparent;
    color: #8590a6;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.langyu-column-report-btn:hover {
    background: #f6f6f6;
    color: #76839b;
}

.langyu-column-content-wrapper {
    background: #fff;
    box-shadow: 0 1px 3px rgba(18, 18, 18, 0.05);
    padding-bottom: 60px;
    min-height: 50vh;
}

.langyu-column-tabs-header {
    display: flex;
    border-bottom: 1px solid #f0f2f7;
    margin-bottom: 20px;
}

.langyu-column-tab {
    background: transparent;
    border: none;
    padding: 16px 20px;
    font-size: 16px;
    color: #121212;
    cursor: pointer;
    position: relative;
    font-weight: 500;
}

.langyu-column-tab:not(.is-active) {
    color: #8590a6;
    font-weight: 400;
}

.langyu-column-tab.is-active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: #056de8;
    border-radius: 3px;
}

.langyu-column-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #121212;
    margin: 24px 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f2f7;
}

.langyu-column-intro-text {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 32px;
}

.langyu-column-author-card {
    margin-bottom: 32px;
}

.langyu-column-author-card-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.langyu-column-author-card-avatar img {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    object-fit: cover;
}

.langyu-column-author-card-info {
    flex: 1;
    min-width: 0;
}

.langyu-column-author-name-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.langyu-column-author-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #121212;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
}

.langyu-column-follow-btn {
    background: transparent;
    border: 1px solid #056de8;
    color: #056de8;
    border-radius: 3px;
    padding: 0 12px;
    height: 30px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.2s;
}

.langyu-column-follow-btn.active {
    background: #056de8;
    color: #ffffff;
}

.langyu-column-follow-btn:hover {
    background: rgba(5, 109, 232, 0.06);
}

.langyu-column-follow-btn.active:hover {
    background: #055dca;
}

.langyu-column-collab-author-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.langyu-column-author-card.is-collab-card {
    margin-top: 0;
    padding: 22px 20px;
    background: #fafafa;
    border: 1px solid #ebebeb;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.langyu-column-author-card.is-collab-card .langyu-column-author-card-avatar {
    display: block;
}

.langyu-column-author-card.is-collab-card .langyu-column-author-card-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
}

.langyu-column-author-card.is-collab-card .langyu-column-author-card-info {
    width: 100%;
    flex: none;
}

.langyu-column-author-card.is-collab-card .langyu-column-author-card-name {
    display: inline-block;
    font-size: 16px;
}

.langyu-column-author-card-desc {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.langyu-column-author-card-followers {
    margin-top: 8px;
    font-size: 13px;
    color: #8590a6;
}

.langyu-column-author-card.is-collab-card .langyu-column-follow-btn {
    min-width: 92px;
    justify-content: center;
}

.langyu-column-author-card-bio {
    margin-top: 16px;
}

.bio-title {
    font-size: 14px;
    color: #8590a6;
    margin-bottom: 6px;
}

.bio-desc {
    font-size: 14px;
    color: #121212;
}

.langyu-column-posts-header {
    font-size: 15px;
    font-weight: 600;
    color: #121212;
    margin: 24px 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f2f7;
}

.langyu-column-post-item {
    padding: 20px 0;
    border-bottom: 1px solid #f0f2f7;
}

.langyu-column-post-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.langyu-column-post-title a {
    color: #121212;
    text-decoration: none;
    transition: color 0.2s;
}

.langyu-column-post-title a:hover {
    color: #175199;
}

.langyu-column-post-body {
    display: flex;
    align-items: stretch;
    gap: 16px;
}

.langyu-column-post-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.langyu-column-post-excerpt {
    font-size: 15px;
    color: #444;
    line-height: 1.67;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.langyu-column-post-excerpt .read-more {
    color: #175199;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
}

.langyu-column-post-thumb {
    width: 190px;
    height: 105px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    background-color: #f0f2f7;
    flex-shrink: 0;
}

.langyu-column-post-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.post-action-btn {
    background: transparent;
    border: none;
    color: #8590a6;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
}

.post-action-btn svg {
    flex-shrink: 0;
}

.post-action-btn:hover {
    color: #76839b;
}

.post-action-btn.action-upvote {
    background: rgba(5, 109, 232, 0.08);
    color: #056de8;
    padding: 0 10px;
    height: 30px;
    border-radius: 3px;
    font-weight: 500;
}

.post-action-btn.action-upvote:hover {
    background: rgba(5, 109, 232, 0.15);
}

.post-action-btn.action-upvote.active {
    background: #056de8;
    color: #ffffff;
}

/* ==========================================================================
   Dark Mode Support for Column Detail Page
   ========================================================================== */

html.is-dark-mode .langyu-column-page {
    background: #121212;
}

html.is-dark-mode .langyu-column-hero-wrapper,
html.is-dark-mode .langyu-column-content-wrapper {
    background: #1e1e1e;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

html.is-dark-mode .langyu-column-hero-title,
html.is-dark-mode .langyu-column-tab,
html.is-dark-mode .langyu-column-section-title,
html.is-dark-mode .langyu-column-author-card-name,
html.is-dark-mode .bio-desc,
html.is-dark-mode .langyu-column-posts-header,
html.is-dark-mode .langyu-column-post-title a {
    color: #e5e6eb;
}

html.is-dark-mode .langyu-column-hero-desc,
html.is-dark-mode .langyu-column-author-link,
html.is-dark-mode .langyu-column-intro-text,
html.is-dark-mode .langyu-column-post-excerpt {
    color: #a0a5b1;
}

html.is-dark-mode .langyu-column-tabs-header,
html.is-dark-mode .langyu-column-section-title,
html.is-dark-mode .langyu-column-posts-header,
html.is-dark-mode .langyu-column-post-item {
    border-color: #2b2b2b;
}

html.is-dark-mode .langyu-column-author-card.is-collab-card {
    background: #181c22;
    border-color: #2a2f39;
}

html.is-dark-mode .langyu-column-author-card-desc {
    color: #a0a5b1;
}

html.is-dark-mode .langyu-column-author-card-followers {
    color: #8a93a3;
}

html.is-dark-mode .langyu-column-report-btn {
    border-color: #333;
}

html.is-dark-mode .langyu-column-report-btn:hover {
    background: #2b2b2b;
}

html.is-dark-mode .langyu-column-subscribe-btn.is-active {
    background: rgba(5, 109, 232, 0.18);
    color: #8bbcff;
}

html.is-dark-mode .langyu-column-follow-btn.active {
    background: #f3f4f6;
    border-color: #f3f4f6;
    color: #111111;
}

html.is-dark-mode .post-action-btn.action-upvote {
    background: rgba(5, 109, 232, 0.2);
}

@media (max-width: 640px) {
    .langyu-column-post-body {
        flex-direction: column-reverse;
    }
    
    .langyu-column-post-thumb {
        width: 100%;
        height: 160px;
    }

    .langyu-column-collab-author-list {
        grid-template-columns: 1fr;
    }
}

.langyu-column-post-badge {
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid var(--langyu-border);
    background: var(--langyu-soft-bg);
}

.langyu-my-columns-page {
    background: #efefef;
    min-height: auto;
}

.langyu-my-columns-page .langyu-columns-shell {
    max-width: var(--langyu-site-width, 1050px);
    margin: 0 auto;
    padding: 0 20px 16px;
}

.langyu-my-columns-page .langyu-page-head {
    padding: 0 0 22px;
    align-items: center;
}

.langyu-my-columns-page .langyu-page-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #111111;
}

.langyu-my-columns-page .langyu-page-desc {
    display: none;
}

.langyu-my-columns-create-btn {
    min-width: 108px;
    height: 46px;
    padding: 0 20px;
    border: 0;
    background: #050505;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.langyu-my-columns-create-btn:hover {
    background: #111111;
    border-color: transparent;
}

.langyu-my-columns-create-btn:focus-visible {
    outline: 2px solid rgba(17, 17, 17, 0.2);
    outline-offset: 2px;
}

.langyu-my-columns-section {
    padding: 0;
}

.langyu-my-columns-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 22px;
}

.langyu-my-column-card {
    min-width: 0;
}

.langyu-my-column-cover {
    position: relative;
    display: block;
    aspect-ratio: 1.3 / 1;
    border-radius: 18px;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.langyu-my-column-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.03) 0%, rgba(15, 23, 42, 0.12) 100%);
    pointer-events: none;
}

.langyu-my-column-card:hover .langyu-my-column-cover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.langyu-my-column-updated {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #444444;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
}

.langyu-my-column-content {
    padding: 12px 2px 0;
}

.langyu-my-column-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: #242424;
}

.langyu-my-column-title a {
    color: inherit;
    text-decoration: none;
}

.langyu-my-column-meta {
    margin: 6px 0 0;
    color: #7b7b7b;
    font-size: 14px;
    line-height: 1.5;
}

@media (min-width: 992px) {
    .langyu-columns-page {
        margin-left: auto;
        margin-right: auto;
    }

    .langyu-columns-page,
    .langyu-column-page,
    .langyu-my-columns-page {
        padding-top: var(--langyu-header-height, 60px);
    }

    body.admin-bar .langyu-columns-page,
    body.admin-bar .langyu-column-page,
    body.admin-bar .langyu-my-columns-page {
        padding-top: calc(var(--langyu-header-height, 60px) + var(--langyu-admin-bar-height, 32px));
    }

    .langyu-my-columns-page .langyu-page-head {
        padding-top: 10px;
    }

    .langyu-column-page .langyu-column-hero {
        min-height: 320px;
    }
}

@media (max-width: 1024px) {
    .langyu-columns-feed-featured {
        grid-template-columns: minmax(0, 1fr) 160px;
    }

    .langyu-my-columns-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .langyu-my-columns-page .langyu-page-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .langyu-columns-inner-container,
    .langyu-column-page .langyu-container,
    .langyu-my-columns-page .langyu-container {
        padding: 0 16px;
    }

    .langyu-hot-columns-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .langyu-columns-feed-top,
    .langyu-columns-feed-featured {
        grid-template-columns: minmax(0, 1fr);
        display: grid;
    }

    .langyu-column-post-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .langyu-column-post-thumb {
        height: 120px;
    }

    .langyu-my-columns-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .langyu-my-columns-page .langyu-columns-shell {
        padding-left: 16px;
        padding-right: 16px;
    }

    .langyu-subscribe-btn {
        display: none;
    }
}

@media (max-width: 640px) {
    .langyu-column-hero-top,
    .langyu-section-head {
        flex-direction: column;
        align-items: stretch;
    }

    .langyu-rank-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .langyu-rank-title {
        font-size: 26px;
    }

    .langyu-my-columns-page .langyu-page-title {
        font-size: 32px;
    }

    .langyu-my-column-cover {
        aspect-ratio: 1.26 / 1;
        border-radius: 16px;
    }

    .langyu-hot-columns-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(116px, 38vw);
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .langyu-hot-columns-grid::-webkit-scrollbar {
        display: none;
    }

    .langyu-hot-column-card {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 8px;
        min-height: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    .langyu-hot-column-media {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 12px;
    }

    .langyu-hot-column-body {
        min-width: 0;
    }

    .langyu-hot-column-title {
        font-size: 13px;
        line-height: 1.45;
    }

    .langyu-hot-column-title a {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .langyu-hot-column-meta {
        display: none;
    }

    .langyu-hot-column-rank {
        right: 8px;
    }

    .langyu-hot-columns-more {
        display: none;
    }

    .langyu-column-tabs {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .langyu-column-tabs::-webkit-scrollbar {
        display: none;
    }

    .langyu-columns-feed-cover {
        width: 60px;
        height: 60px;
    }

    .langyu-columns-feed-featured-cover {
        height: 140px;
    }
}

@media (max-width: 991px) {
    .langyu-columns-inner-container {
        max-width: 100%;
    }
}

html.is-dark-mode .langyu-columns-page,
html.is-dark-mode .langyu-column-page,
html.is-dark-mode .langyu-my-columns-page {
    background: #121212;
}

html.is-dark-mode .langyu-columns-hero-wrapper,
html.is-dark-mode .langyu-columns-content-wrapper {
    background: #1e1e1e;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

html.is-dark-mode .langyu-my-columns-page .langyu-page-title,
html.is-dark-mode .langyu-my-column-title {
    color: #f3f5f7;
}

html.is-dark-mode .langyu-my-column-meta {
    color: #9ea7b3;
}

html.is-dark-mode .langyu-my-column-updated {
    background: rgba(28, 34, 43, 0.9);
    color: #e2e8f0;
    box-shadow: none;
}

html.is-dark-mode .langyu-my-column-cover::after {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 0%, rgba(0, 0, 0, 0.22) 100%);
}

html.is-dark-mode .langyu-my-column-card:hover .langyu-my-column-cover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

html.is-dark-mode .langyu-my-columns-create-btn {
    background: #ffffff;
    color: #111111;
}

html.is-dark-mode .langyu-my-columns-create-btn:hover {
    background: #ececec;
}

html.is-dark-mode .langyu-rank-title,
html.is-dark-mode .langyu-feed-title,
html.is-dark-mode .langyu-hot-column-title,
html.is-dark-mode .langyu-columns-feed-title,
html.is-dark-mode .langyu-columns-feed-featured-title {
    color: #f3f5f7;
}

html.is-dark-mode .langyu-hot-column-card {
    background: #1e242d;
    box-shadow: none;
}

html.is-dark-mode .langyu-hot-column-card.is-skeleton .langyu-skeleton-media,
html.is-dark-mode .langyu-hot-column-card.is-skeleton .langyu-skeleton-title,
html.is-dark-mode .langyu-hot-column-card.is-skeleton .langyu-skeleton-meta {
    background: #2b3340;
}

html.is-dark-mode .langyu-hot-column-card:hover:not(.is-skeleton) {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

html.is-dark-mode .langyu-hot-column-media,
html.is-dark-mode .langyu-columns-feed-cover,
html.is-dark-mode .langyu-columns-feed-featured-cover {
    background-color: #2b3340;
}

html.is-dark-mode .langyu-hot-column-author,
html.is-dark-mode .langyu-hot-column-tag,
html.is-dark-mode .langyu-columns-feed-author {
    color: #cfd5dd;
}

html.is-dark-mode .langyu-columns-feed-featured-main {
    border-left-color: #333;
}

html.is-dark-mode .langyu-rank-subtitle,
html.is-dark-mode .langyu-hot-column-meta,
html.is-dark-mode .langyu-columns-feed-stats,
html.is-dark-mode .langyu-columns-feed-summary,
html.is-dark-mode .langyu-columns-feed-featured-excerpt,
html.is-dark-mode .langyu-feed-link {
    color: #98a1ad;
}

html.is-dark-mode .langyu-columns-more-btn {
    background: #1c222b;
    border-color: rgba(255, 255, 255, 0.1);
    color: #d6dbe3;
}

html.is-dark-mode .langyu-columns-feed-item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

html.is-dark-mode .langyu-subscribe-btn {
    border-color: #8bbcff;
    background: transparent;
    color: #8bbcff;
}

html.is-dark-mode .langyu-subscribe-btn:hover {
    background: rgba(5, 109, 232, 0.12);
}

html.is-dark-mode .langyu-subscribe-btn.is-active,
html.is-dark-mode .langyu-subscribe-btn.active {
    background: #f3f4f6;
    border-color: #f3f4f6;
    color: #111111;
}

html.is-dark-mode .langyu-rank-subtitle,
html.is-dark-mode .langyu-hot-column-meta,
html.is-dark-mode .langyu-columns-feed-stats,
html.is-dark-mode .langyu-columns-feed-summary,
html.is-dark-mode .langyu-columns-feed-featured-excerpt {
    color: #9ea7b3;
}

html.is-dark-mode .langyu-hot-column-card {
    background: #1e242d;
    box-shadow: none;
}

html.is-dark-mode .langyu-hot-column-card:hover:not(.is-skeleton) {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

html.is-dark-mode .langyu-hot-column-media,
html.is-dark-mode .langyu-columns-feed-cover,
html.is-dark-mode .langyu-columns-feed-featured-cover {
    background-color: #2b3340;
}

html.is-dark-mode .langyu-columns-more-btn {
    background: #1c222b;
    color: #d6dbe3;
    border-color: rgba(255, 255, 255, 0.08);
}

html.is-dark-mode .langyu-columns-feed-item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

html.is-dark-mode .langyu-feed-link {
    color: #a7b0bc;
}

html.is-dark-mode .langyu-subscribe-btn {
    border-color: #8bbcff;
    background: transparent;
    color: #8bbcff;
}
