

:root{ --hc-header-h: 56px; }
html, body{margin: 0;background-color: #e2e2e2;}

.hc-shell{max-width: 1200px;margin: 24px auto;display: flex;align-items: stretch;box-shadow: 0 2px 3px rgba(0,0,0,.1);min-height: calc(100vh - var(--hc-header-h));}


.hc-header{   position: fixed;    inset: 0 0 auto 0;    height: var(--hc-header-h);   background: #fff;     z-index: 20; display:none; }
.hc-article-cover img {width: 100%;}
.hc-header .inner{        max-width: 1200px;     margin: 0 auto;     height: 100%;     display: flex;     align-items: center;     justify-content: space-between;     padding: 9px 12px;     box-sizing: border-box;     box-shadow: 0 2px 3px rgba(0,0,0,.1); }
.hc-header .logo{ font-weight: 700; }
.hc-header .nav{ display: flex; gap: 16px; margin-left: auto; }
.hc-header a{ color: #111827; text-decoration: none; }
.hc-header .left{ display:flex; align-items:center; gap:10px; justify-self:start; }
.hc-menu-btn{ display:none; border:1px solid #e5e7eb; background:#fff; border-radius:8px; padding:6px 10px; font-size:16px; }
@media (max-width: 768px){
  .hc-header{ display:block; }
  .hc-header-spacer{ height: var(--hc-header-h); }
}
@media (min-width: 769px){
  .hc-header-spacer{ display:none; }
}

.hc-left.hc-sticky, .hc-right.hc-sticky { background-color: #f9f9f9; }
.hc-left{flex:0 0 260px}
.hc-main{flex:1 1 auto;min-width:0}
.hc-right{flex:0 0 280px}
.hc-left .profile{display:flex;align-items:center;gap:12px;padding:16px}
.hc-left .avatar{width:56px;height:56px;border-radius:50%;background:#111827;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.hc-left .name{font-weight:700}
.hc-left .intro{color:#64748b;font-size:12px}
.hc-left .nav a{display:flex;align-items:center;gap:8px;padding:10px 12px;color:#111827;text-decoration:none}
.hc-left .nav a:hover{background:#f1f5f9}
.hc-left .nav a.active{background: #ffffff;}
.hc-left .nav a .cat-badge{margin-left:auto;background:#e5e7eb;color:#334155;border-radius:999px;padding:2px 6px;font-size:12px}
.hc-left .nav .muted{color:#64748b;font-size:12px;padding:6px 12px}
.hc-main .hc-hero{padding:18px 18px 8px}
.hc-main .hc-hero h1{margin:0 0 6px;font-size:28px}
.hc-main .sub{color:#64748b;font-size:13px}
.hc-main .hc-toc{margin:12px 18px;padding:12px;border-top:1px dashed #e5e7eb}
.hc-toc a{color:#0f766e;text-decoration:none}
.hc-toc a:hover{text-decoration:underline}
.hc-toc-list{margin-top:6px}
.hc-main .hc-article{padding:0 18px 18px}

.link{ text-decoration: none; color: #000000; }
.post-box { padding: 8px; }

.hc-main .hc-article .hc-article-meta{ color:#64748b; font-size: 12px; margin: 8px 0 12px; }

.hc-crumb{padding:8px 12px;background:#f8fafc;color:#475569;font-size:13px;display:flex;align-items:center;gap:6px}
.hc-crumb a{color:#0f766e;text-decoration:none}
.hc-crumb a:hover{text-decoration:underline}
.crumb-icon{opacity:.9}
.crumb-sep{color:#94a3b8}

.hc-right{padding:12px}
.hc-right h3{margin:4px 0 12px;font-size:16px}
.hc-right .hot-item{display:block;padding:10px 8px;border-radius:8px;color:#111827;text-decoration:none}
.hc-right .hot-item:hover{background:#f1f5f9}
.hc-right .hot-item .title{font-size:14px;line-height:1.4}
.hc-right .hot-item .meta{color:#64748b;font-size:12px;margin-top:4px}

.hc-toolbar{display:none;position:sticky;top:var(--hc-header-h);z-index:5;margin:0 0 8px}

@media (max-width: 768px){
  .hc-crumb .hc-menu-btn{
    background: transparent;
    border: none;
    box-shadow: 0 2px 3px rgba(0,0,0,.1);
    color: #000;
    padding: 4px 8px;
    line-height: 1;
  }
  .hc-menu-btn{ display:inline-block; }

  .hc-left{
    position: fixed;
    left: 0; top: var(--hc-header-h);
    width: 78%; max-width: 340px;
    height: calc(100vh - var(--hc-header-h));
    overflow: auto;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    transform: translateX(-100%);
    transition: transform .25s ease;
    z-index: 31;
  }
  .hc-left.open{ transform: translateX(0); }
  .hc-mask{ display:none; position:fixed; inset:0; background:rgba(2,6,23,.45); backdrop-filter:saturate(140%) blur(2px); z-index:30; }
  .hc-mask.show{ display:block; }

  .hc-right{ display:none; }
  .hc-main{ margin-left: 0; }

  .post-excerpt{ height:auto; display:-webkit-box;  -webkit-box-orient:vertical; overflow:hidden; }
}

@media (min-width: 769px){
  #hc-side{
    position: static;
    top: auto;
    width: 280px;
    overflow: visible;
    z-index: 10;
  }
  .hc-main{margin-left: 0;}
}

.hc-sticky-inner{ position: sticky; top: 1px; }
@media (max-width: 768px){ .hc-sticky-inner{ position: static; } }

.post-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  background: #ffffff;
  width: 100%;
  object-fit: cover;
  overflow: hidden;
}
.post-cover img{width:100%;display:block}
.post-title{ font-size: 18px; line-height: 1.4; margin: 15px 0px 15px 0px; }
.badge{display:inline-block;color: #000000;border-radius:6px; font-size:12px;margin-right:6px}
.post-excerpt{ color: rgb(100, 116, 139); font-size: 14px; height: 200px; margin: 10px 0px;}
.post-excerpt p{margin:4px 0}
.post-excerpt ul,.post-excerpt ol{margin:6px 0 6px 18px}
.post-meta{display:flex;gap:12px;color:#64748b;font-size:12px}
.ops{ border: 1px solid #999; border-radius: 999px; padding: 0px 7px 0px 7px; }
.hc-right-title{padding:6px 4px 0 4px;margin:0 0 8px 0;border-bottom:1px solid #e5e7eb}
.hc-right-list{display:flex;flex-direction:column}
.hc-list{padding: 24px 24px;display:grid;grid-template-columns:1fr;gap:14px}
@media (min-width: 769px){ .hc-list{grid-template-columns: repeat(1, 1fr);} }
.hc-pager{display:flex;gap:8px;align-items:center;justify-content:center;padding:10px 0}
.avatar-img{object-fit:cover}

.hc-body { background-color: white; }

.p-breadcrumbs { padding: 6px 8px; color: #686f7e; border-bottom: 1px solid #dddddd; background-color: #ffffff; box-shadow: 0 2px 3px rgba(0,0,0,.1); }
.p-breadcrumbs .nav-lists { max-width: 1200px; margin: 0 auto; }
.p-breadcrumbs .nav-lists a { color: #374151; text-decoration: none; }
.p-breadcrumbs .sep { margin: 0 6px; color: #9ca3af; }
.p-breadcrumbs .trail { color: #9ca3af; }

