:root {
    --bg: #eef3f6;
    --bg-soft: #f8fbfc;
    --panel: #ffffff;
    --panel-alt: #f3f8fa;
    --line: #d7e2e8;
    --line-strong: #b9cad4;
    --text: #14232f;
    --muted: #627381;
    --accent: #0e7885;
    --accent-deep: #0a5360;
    --accent-soft: #d9eef1;
    --accent-pale: #eff8fa;
    --shadow: 0 16px 38px rgba(16, 33, 47, 0.08);
    --radius: 20px;
    --radius-sm: 14px;
    --max: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: radial-gradient(circle at top left, rgba(14, 120, 133, 0.08), transparent 25%), linear-gradient(180deg, #f5fafb 0%, #eef3f6 45%, #f8fbfc 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; transition: 0.25s ease; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(248, 251, 252, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(185, 202, 212, 0.7);
}
.header-bar { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-logo { font-size: 1.18rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); }
.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
}
.nav-link:hover, .nav-link.is-active { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 18px; height: 2px; background: var(--text); transition: 0.25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
main { padding: 30px 0 76px; }
.section-heading-wrap, .section-bar, .page-head { margin-bottom: 24px; }
.section-heading-wrap h1, .page-head h1, .section-bar h2, .author-intro h1 { margin: 0; line-height: 1.1; letter-spacing: -0.04em; font-size: clamp(1.8rem, 3vw, 3.1rem); }
.eyebrow { display: inline-block; margin: 0 0 10px; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.22em; font-weight: 800; color: var(--accent); }
.section-bar, .page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); }
.no-top-gap { margin-top: 0; }
.story-card-taxonomy { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.story-card-taxonomy a, .story-card-taxonomy span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.story-card-meta, .latest-showcase-meta, .related-showcase-meta, .profile-post-meta, .article-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.86rem;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}
.feature-card {
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(185, 202, 212, 0.78);
    background: linear-gradient(180deg, #ffffff 0%, #f6fbfc 100%);
    box-shadow: var(--shadow);
}
.feature-card:first-child {
    grid-column: 1 / -1;
}
.feature-card:not(:first-child) {
    grid-column: span 3;
}
.feature-card-link { display: flex; flex-direction: column; height: 100%; }
.feature-card:first-child .feature-card-link {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
    align-items: stretch;
}
.feature-card-media { aspect-ratio: 4 / 2.9; overflow: hidden; background: #dcebf0; }
.feature-card:first-child .feature-card-media {
    aspect-ratio: auto;
    min-height: 100%;
}
.feature-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.feature-card:hover .feature-card-media img { transform: scale(1.05); }
.feature-card-body { display: flex; flex-direction: column; gap: 0; padding: 20px; }
.feature-card:first-child .feature-card-body {
    justify-content: center;
    padding: 24px;
}
.feature-card:not(:first-child) .feature-card-body {
    padding: 14px 14px 16px;
}
.feature-card h2 { margin: 0; line-height: 1.16; letter-spacing: -0.03em; font-size: 1.18rem; }
.feature-card:first-child h2 { font-size: 1.92rem; }
.feature-card:not(:first-child) h2 {
    font-size: 1rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.feature-card .feature-card-brief { margin: 12px 0 0; color: var(--muted); line-height: 1.72; }
.feature-card:first-child .feature-card-brief {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}
.feature-card:not(:first-child) .feature-card-brief {
    display: none;
}
.feature-card:not(:first-child) .story-card-taxonomy {
    margin-bottom: 8px;
}
.feature-card:not(:first-child) .story-card-meta {
    margin-top: 12px;
    font-size: 0.82rem;
}
.home-categories, .home-latest, .author-articles { margin-top: 42px; }
.category-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.category-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(185, 202, 212, 0.8);
    background: linear-gradient(135deg, #ffffff, var(--accent-pale));
    text-align: center;
    font-weight: 700;
}
.category-pill:hover { transform: translateY(-2px); color: var(--accent-deep); border-color: var(--accent); }
.latest-showcase-grid { display: grid; gap: 18px; }
.latest-showcase-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(185, 202, 212, 0.78);
    background: linear-gradient(135deg, #ffffff 0%, #f4fafb 100%);
    box-shadow: var(--shadow);
}
.latest-showcase-media { display: block; min-height: 100%; background: #dcebf0; }
.latest-showcase-media img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.latest-showcase-card:hover .latest-showcase-media img { transform: scale(1.05); }
.latest-showcase-body { display: flex; flex-direction: column; min-width: 0; padding: 18px 20px; }
.latest-showcase-title, .story-card-title, .related-showcase-title, .profile-post-title { margin: 0; line-height: 1.18; letter-spacing: -0.03em; }
.latest-showcase-title { font-size: 1.18rem; }
.latest-showcase-title a:hover, .story-card-title a:hover, .related-showcase-title a:hover, .profile-post-title a:hover { color: var(--accent-deep); }
.latest-showcase-brief, .story-card-brief, .related-showcase-brief, .profile-post-brief { margin: 12px 0 0; color: var(--muted); line-height: 1.72; }
.content-shell { padding-top: 6px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--muted); font-size: 0.9rem; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.list-cards { display: grid; gap: 18px; }
.story-card-horizontal {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(185, 202, 212, 0.78);
    background: linear-gradient(135deg, #ffffff 0%, #f4fafb 100%);
    box-shadow: var(--shadow);
}
.story-card-media { display: block; background: #dcebf0; }
.story-card-horizontal .story-card-media { min-height: 220px; }
.story-card-media img { width: 100%; height: 100%; object-fit: cover; }
.story-card-body { display: flex; flex-direction: column; padding: 18px 20px; }
.story-card-title { font-size: 1.16rem; }
.sidebar-stack { display: grid; gap: 18px; position: sticky; top: 76px; }
.sidebar-card, .article-panel, .author-copy, .single-panel, .archive-item {
    border-radius: var(--radius);
    border: 1px solid rgba(185, 202, 212, 0.78);
    background: linear-gradient(180deg, #ffffff 0%, #f9fcfd 100%);
    box-shadow: var(--shadow);
    padding: 22px;
}
.sidebar-head { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sidebar-head h3, .related-shell h2, .comment-shell h2, .author-box h2 { margin: 0; font-size: 1.06rem; }
.sidebar-links, .sidebar-posts { display: grid; gap: 12px; }
.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}
.sidebar-link:hover { border-color: var(--accent); color: var(--accent-deep); }
.sidebar-link-arrow { color: var(--accent); font-weight: 700; }
.sidebar-post { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sidebar-post:last-child { padding-bottom: 0; border-bottom: 0; }
.sidebar-post time { display: block; margin-bottom: 6px; color: var(--muted); font-size: 0.82rem; }
.editor-profile-card { display: grid; justify-items: center; text-align: center; gap: 16px; }
.editor-avatar {
    display: block;
    width: 112px;
    height: 112px;
    padding: 5px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(14, 120, 133, 0.2), rgba(10, 83, 96, 0.12));
}
.editor-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.editor-text h4 { margin: 0 0 8px; font-size: 1rem; }
.editor-text p { margin: 0; color: var(--muted); line-height: 1.72; }
.article-head h1 { margin: 0; line-height: 1.08; letter-spacing: -0.05em; font-size: clamp(1.9rem, 3.5vw, 3.3rem); }
.author-chip { display: inline-flex; gap: 8px; min-height: 34px; }
.author-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.article-content {
    margin-top: 24px;
    font-size: 0.985rem;
    letter-spacing: 0.2px;
    color: #171717;
    line-height: 1.75;
    word-break: normal;
    overflow-wrap: normal;
}
.article-content p { margin: 0 0 1.15em; }
.article-content h2, .article-content h3, .article-content h4 { margin: 1.5em 0 0.6em; line-height: 1.24; }
.article-content img { height: auto; margin: 24px auto; border-radius: 16px; }
.author-box, .share-panel, .comment-shell, .related-shell, .article-switch { margin-top: 26px; }
.author-box {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--accent-pale), #ffffff);
    border: 1px solid var(--line);
}
.author-box-media img { width: 92px; height: 92px; object-fit: cover; border-radius: 24px; }
.author-box-kicker { display: inline-block; margin-bottom: 8px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.share-panel { padding: 18px 20px; border-radius: var(--radius); background: linear-gradient(135deg, var(--panel-alt), #ffffff); border: 1px solid var(--line); }
.share-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.share-btn, .submit-btn {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
    cursor: pointer;
}
.share-btn:hover, .submit-btn:hover { transform: translateY(-1px); }
.article-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.switch-card { display: grid; gap: 8px; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-soft); }
.switch-card span { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; }
.comment-form-static { display: grid; gap: 14px; }
.comment-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.comment-form-static input, .comment-form-static textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    color: var(--text);
    outline: none;
}
.comment-form-static input:focus, .comment-form-static textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14, 120, 133, 0.12); }
.related-showcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related-showcase-card, .profile-post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(185, 202, 212, 0.78);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
    box-shadow: var(--shadow);
}
.related-showcase-media, .profile-post-media { display: block; aspect-ratio: 4 / 2.9; background: #dcebf0; }
.related-showcase-media img, .profile-post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.related-showcase-card:hover .related-showcase-media img, .profile-post-card:hover .profile-post-media img { transform: scale(1.05); }
.related-showcase-body, .profile-post-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.related-showcase-title, .profile-post-title { font-size: 1.04rem; }
.related-showcase-brief, .profile-post-brief { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.related-showcase-meta, .profile-post-meta { margin-top: auto; padding-top: 14px;  }
.author-shell, .narrow-shell { width: min(1020px, calc(100% - 36px)); }
.author-hero {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    margin-bottom: 28px;
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(239, 248, 250, 0.95), #ffffff);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.author-portrait img { width: 210px; height: 210px; object-fit: cover; border-radius: 30px; }
.profile-posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.archive-list { display: grid; gap: 14px; }
.archive-item time { display: block; margin-bottom: 8px; color: var(--muted); font-size: 0.84rem; }
.archive-item h2 { margin: 0; font-size: 1.14rem; line-height: 1.22; }
.pager-nav { display: flex; flex-wrap: wrap; gap: 10px; row-gap: 10px; margin-top: 28px; }
.pager-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: var(--text);
    line-height: 1;
    white-space: nowrap;
}
.pager-chip:hover, .pager-chip.is-current { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); border-color: transparent; color: #fff; }
.pager-chip.is-disabled, .pager-chip.is-gap { background: var(--bg-soft); color: var(--muted); }
.site-footer { border-top: 1px solid rgba(185, 202, 212, 0.85); background: rgba(248, 251, 252, 0.9); }
.footer-inner { padding: 22px 0 34px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.footer-link { color: var(--muted); }
.back-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    transition: 0.25s ease;
}
.back-top.is-visible { opacity: 1; pointer-events: auto; }
@media (max-width: 1180px) {
    .feature-card:first-child { grid-column: span 12; grid-row: auto; }
    .feature-card:not(:first-child) { grid-column: span 6; }
    .category-wall, .related-showcase-grid, .profile-posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .content-grid { grid-template-columns: 1fr; }
    .sidebar-stack { position: static; }
}
@media (max-width: 900px) {
    .latest-showcase-card, .story-card-horizontal { grid-template-columns: 200px minmax(0, 1fr); }
    .author-hero { grid-template-columns: 180px minmax(0, 1fr); }
    .author-portrait img { width: 180px; height: 180px; }
}
@media (max-width: 767px) {
    .container, .author-shell, .narrow-shell { width: min(100%, calc(100% - 20px)); }
    .nav-toggle { display: inline-flex; }
    .site-nav { position: absolute; left: 10px; right: 10px; top: calc(100% + 8px); margin-left: 0; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: 0.25s ease; }
    .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-list { flex-direction: column; align-items: stretch; padding: 10px; border-radius: 18px; background: #ffffff; border: 1px solid var(--line); box-shadow: var(--shadow); }
    .feature-grid, .latest-showcase-grid, .category-wall, .related-showcase-grid, .profile-posts-grid, .article-switch, .comment-row, .author-hero { grid-template-columns: 1fr; }
    .feature-card:first-child .feature-card-link { grid-template-columns: 1fr; }
    .feature-card:first-child .feature-card-media { aspect-ratio: 4 / 2.8; min-height: 0; }
    .feature-card:first-child .feature-card-body { padding: 18px; }
    .feature-card:first-child h2 { font-size: 1.48rem; }
    .feature-card:not(:first-child) { grid-column: span 12; }
    .latest-showcase-card, .story-card-horizontal { grid-template-columns: 1fr; }
    .latest-showcase-media, .story-card-horizontal .story-card-media, .related-showcase-media, .profile-post-media { aspect-ratio: 4 / 2.8; min-height: 0; }
    .section-heading-wrap h1, .page-head h1, .section-bar h2, .author-intro h1 { font-size: clamp(1.28rem, 6vw, 1.6rem); max-height: 150px; }
    .article-meta-line { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; padding-bottom: 4px; }
    .article-content { font-size: 0.96rem; }
    .author-box { grid-template-columns: 1fr; }
    .author-box-media img, .author-portrait img { margin: 0 auto; }
    .pager-chip { min-width: 38px; height: 38px; padding: 0 12px; font-size: 0.85rem; }
}



/* detail-mobile-tune-1759 */
.author-chip-label {
  color: inherit;
}

@media (max-width: 768px) {
  .detail-crumbs {
    display: none;
  }

  .author-chip img {
    display: none;
  }
}


/* detail-stability-fix-1759 */
.content-grid,
.content-main,
.content-side,
.article-panel,
.article-head,
.article-content {
  min-width: 0;
}

.article-content {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-content table,
.article-content pre,
.article-content iframe,
.article-content video,
.article-content embed,
.article-content object {
  max-width: 100%;
}

.article-content table,
.article-content pre {
  display: block;
  overflow-x: auto;
}

.article-content pre {
  white-space: pre-wrap;
}

@media (max-width: 767px) {
  .page-detail,
  .content-shell,
  .content-grid,
  .content-main {
    overflow-x: hidden;
  }

  .site-header {
    top: 0;
    width: 100%;
    background: rgba(248, 251, 252, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-bar {
    min-height: 56px;
    position: relative;
  }

  .site-logo {
    min-width: 0;
  }
}
