/* 种子资源 /zhongzi（SSR），PC + H5 自适应，暗色主题 */
.hg-zz{color:#fff}
.hg-zz *{box-sizing:border-box}
/* ---- 列表：复用 .hg-channel-page 版式，卡片瀑布流（CSS 多列，列数对齐 .hg-card-grid 4/3/2） ---- */
.hg-zz-sorts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin-top:14px}
.hg-zz-sort{font-size:14px;color:rgba(255,255,255,.55);text-decoration:none}
.hg-zz-sort:hover{color:#fff}
.hg-zz-sort.is-active{color:var(--color-primary);font-weight:600}
.hg-zz-sorts__total{margin-left:auto;font-size:13px;color:rgba(255,255,255,.4)}
.hg-zz-masonry{column-count:4;column-gap:16px;margin-top:20px}
.hg-zz-masonry .hg-zz-card{display:block;break-inside:avoid;-webkit-column-break-inside:avoid;margin:0 0 16px;padding:0;border-radius:12px;overflow:hidden;background:#1c1c1c;border:1px solid rgba(255,255,255,.07);transition:transform .15s,border-color .15s}
.hg-zz-masonry .hg-zz-card:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.16)}
.hg-zz-card__cover{display:block;background:var(--color-image-placeholder,#222)}
.hg-zz-card__cover img{display:block;width:100%;height:auto;min-height:80px;max-height:520px;object-fit:cover}
.hg-zz-card__body{padding:10px 12px 12px}
.hg-zz-card__title{margin:0;font-size:15px;line-height:22px;font-weight:600;word-break:break-word;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hg-zz-card__title a{color:#fff;text-decoration:none}
.hg-zz-card__title a:hover{color:var(--color-primary)}
.hg-zz-card.is-text .hg-zz-card__body{padding:14px;border-top:3px solid var(--color-primary,#ffd21c)}
.hg-zz-card.is-text .hg-zz-card__title{-webkit-line-clamp:5}
.hg-zz-card__fields{margin:8px 0 0}
.hg-zz-card__fields>div{display:flex;gap:6px;font-size:12px;line-height:18px}
.hg-zz-card__fields dt{flex:none;color:rgba(255,255,255,.4)}
.hg-zz-card__fields dd{margin:0;min-width:0;color:rgba(255,255,255,.7);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hg-zz-card__meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.06);font-size:12px;color:rgba(255,255,255,.45)}
.hg-zz-card__meta time{margin-right:auto}
.hg-zz-page .hg-channel-pager{margin-top:8px}
@media (max-width:1280px){.hg-zz-masonry{column-count:3}}
@media (max-width:900px){.hg-zz-masonry{column-count:2;column-gap:12px}.hg-zz-masonry .hg-zz-card{margin-bottom:12px}}
@media (max-width:640px){
  .hg-zz-masonry{column-count:2;margin-top:14px;column-gap:10px}
  .hg-zz-masonry .hg-zz-card{margin-bottom:10px;border-radius:10px;width:100%}
  .hg-zz-card__cover{width:100%;height:auto;aspect-ratio:auto}
  .hg-zz-card__cover img{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;object-fit:fill}
  .hg-zz-images__btn,.hg-zz-images__btn img{width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:fill}
  .hg-zz-card__body{padding:8px}
  .hg-zz-card__title{font-size:13px;line-height:19px}
  .hg-zz-card__fields>div{font-size:11px;line-height:16px}
  .hg-zz-card__meta{font-size:11px;gap:2px 8px}
  .hg-zz-card__meta time{flex-basis:100%}
  .hg-zz-sorts{gap:6px 14px;margin-top:10px}
  .hg-zz-sort{font-size:13px}
  .hg-zz-sorts__total{flex-basis:100%;margin-left:0}
}
.hg-zz-empty{padding:60px 16px;text-align:center;color:rgba(255,255,255,.45);background:#161616;border-radius:12px}
/* 详情 */
.hg-zz-article{background:#161616;border-radius:12px;padding:20px}
.hg-zz-article__head{display:flex;align-items:flex-start;gap:12px;margin:0}
.hg-zz-article__title{flex:1;min-width:0;margin:0;font-size:20px;font-weight:700;line-height:1.45}
.hg-zz-article__meta{display:flex;flex-wrap:wrap;gap:14px;margin-top:10px;font-size:12px;color:#888}
.hg-zz-article__meta b{font-weight:400}
.hg-zz-fields{margin-top:14px;font-size:15px;line-height:1.7;color:#ddd}
.hg-zz-fields p{margin:0}
.hg-zz-fields__label{font-weight:600;color:#fff}
.hg-zz-images{display:flex;flex-direction:column;gap:8px;margin-top:14px}
.hg-zz-images__btn{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.hg-zz-images__btn img{display:block;width:100%;max-width:100%;height:auto;border-radius:6px}

/* 详情标题行右侧：喜欢/收藏「图标+数量」并排（对齐截图） */
.hg-zz-article__actions{flex:none;display:flex;align-items:center;gap:8px;margin-top:2px}
.hg-zz-act{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;padding:0 12px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#1a1a1a;box-shadow:none;color:#fff;font-size:14px;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s,opacity .15s;-webkit-tap-highlight-color:transparent}
.hg-zz-act:hover{background:#222;border-color:rgba(255,255,255,.14)}
.hg-zz-act:active{opacity:.88}
.hg-zz-act.is-busy{opacity:.55;pointer-events:none}
.hg-zz-act img,.hg-zz-act__icon{display:block;width:16px;height:16px;flex:none;pointer-events:none}
.hg-zz-act__num{pointer-events:none;min-width:1.2em;text-align:left}
.hg-zz-like.is-liked,.hg-zz-fav.is-on{background:#222;border-color:rgba(255,255,255,.18)}
@media (max-width:640px){
  .hg-zz-article__head{gap:10px}
  .hg-zz-article__actions{gap:6px}
  .hg-zz-act{height:34px;padding:0 10px;font-size:13px;gap:5px;border-radius:9px}
  .hg-zz-act img{width:15px;height:15px}
}
.hg-zz-magnets{margin-top:16px}
.hg-zz-magnets__title{margin:0 0 8px;font-size:16px}
.hg-zz-magnets__login{width:100%;padding:14px 12px;border:1px dashed rgba(255,255,255,.2);border-radius:8px;background:rgba(255,255,255,.03);color:var(--color-primary,#ffd21c);font-size:14px;cursor:pointer}
.hg-zz-magnet{display:flex;border:1px solid rgba(255,255,255,.12);border-radius:6px;overflow:hidden}
.hg-zz-magnet+.hg-zz-magnet{margin-top:8px}
.hg-zz-magnet__idx{flex:none;width:56px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.05);color:#aaa;font-size:16px;border-right:1px solid rgba(255,255,255,.12)}
.hg-zz-magnet__body{flex:1;min-width:0;padding:10px 12px 8px}
.hg-zz-magnet__code{margin:0;font-size:14px;line-height:1.45;color:#ddd;word-break:break-all}
.hg-zz-magnet__copy{margin-top:6px;padding:0;border:0;background:transparent;color:var(--color-primary,#ffd21c);font-size:14px;cursor:pointer}
.hg-zz-replies{margin-top:20px}
.hg-zz-replies__head{display:flex;align-items:center;min-height:48px;border-radius:10px;background:linear-gradient(135deg,#ff7b45 0%,#f45d2c 100%)}
.hg-zz-replies__tab{flex:1;padding:0 16px;font-size:15px;font-weight:600}
.hg-zz-reply-empty{margin-top:16px;color:#888;font-size:13px}
.hg-zz-reply{padding:14px 0 8px;border-bottom:1px solid rgba(255,255,255,.06)}
.hg-zz-reply.is-child{margin-top:10px;padding-top:10px;border-bottom:0}
.hg-zz-reply__row{display:flex;align-items:flex-start;gap:10px}
.hg-zz-reply__avatar{flex:none;width:36px;height:36px;border-radius:50%;object-fit:cover;background:#333}
.hg-zz-reply__avatar.is-fallback{display:flex;align-items:center;justify-content:center;background:#8aa4c8;color:#fff;font-size:14px}
.hg-zz-reply__body{position:relative;flex:1;min-width:0}
.hg-zz-reply__stamp{position:absolute;top:0;right:1px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:38px;height:44px;padding:3px 6px;border:1.5px solid currentColor;border-radius:3px;color:#d88773;font-family:Georgia,'Songti SC',serif;line-height:1;transform:rotate(-4deg);pointer-events:none}
.hg-zz-reply__stamp b{font-size:22px}
.hg-zz-reply__stamp small{font-size:10px}
.hg-zz-reply__meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding-right:52px}
.hg-zz-reply__name{color:#5b9bff;font-size:15px;font-weight:600}
.hg-zz-reply__time,.hg-zz-reply__hash{color:#888;font-size:12px}
.hg-zz-reply__to{margin:6px 0 0;color:#888;font-size:13px}
.hg-zz-reply__content{margin:8px 0 0;color:#ddd;font-size:15px;line-height:1.5;white-space:pre-wrap;word-break:break-word}
.hg-zz-reply__actions{display:flex;align-items:center;justify-content:space-between;margin-top:6px}
.hg-zz-reply__like,.hg-zz-reply__reply{padding:4px 2px;border:0;background:transparent;color:#888;font-size:13px;cursor:pointer}
.hg-zz-reply__like.is-busy{opacity:.55}
.hg-zz-reply__like.is-liked{color:#e26a4a}
.hg-zz-composer{position:sticky;bottom:0;z-index:5;display:flex;align-items:flex-end;gap:8px;margin-top:12px;padding:10px 12px;border-radius:12px 12px 0 0;background:#1a1a1a;border-top:1px solid rgba(255,255,255,.08)}
.hg-zz-composer__main{flex:1;min-width:0;padding:8px 10px;border-radius:12px;background:#111}
.hg-zz-composer__main textarea{width:100%;border:0;resize:none;background:transparent;color:#fff;font-size:14px;line-height:1.4;outline:0}
.hg-zz-composer__target{display:flex;justify-content:space-between;margin:0 0 4px;color:#5b9bff;font-size:12px}
.hg-zz-composer__target button{padding:0;border:0;background:transparent;color:#888;font-size:12px;cursor:pointer}
.hg-zz-composer__send{flex:none;height:36px;padding:0 16px;border:0;border-radius:18px;background:#e26a4a;color:#fff;font-size:14px;cursor:pointer}
.hg-zz-composer__send:disabled{opacity:.45;cursor:not-allowed}
.hg-zz-preview{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.92)}
.hg-zz-preview[hidden],.hg-zz-gate[hidden]{display:none}
.hg-zz-preview__img{max-width:100%;max-height:100%;object-fit:contain}
.hg-zz-preview__close,.hg-zz-preview__nav{position:absolute;z-index:1;width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:26px;line-height:1;cursor:pointer}
.hg-zz-preview__close{top:calc(12px + env(safe-area-inset-top,0px));right:14px}
.hg-zz-preview__nav{top:50%;margin-top:-20px}
.hg-zz-preview__nav.is-prev{left:10px}.hg-zz-preview__nav.is-next{right:10px}
.hg-zz-preview__idx{position:absolute;left:0;right:0;bottom:calc(18px + env(safe-area-inset-bottom,0px));margin:0;text-align:center;color:rgba(255,255,255,.85);font-size:13px}
.hg-zz-gate{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(24,17,20,.68);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.hg-zz-gate__modal{position:relative;width:100%;max-width:396px;padding:30px 24px 20px;border-radius:20px;text-align:center;background:linear-gradient(145deg,#fffaf2 0%,#fff 48%,#fff7ed 100%);color:#3c2920;box-shadow:0 18px 50px rgba(60,28,12,.28)}
.hg-zz-gate__close{position:absolute;top:10px;right:10px;width:30px;height:30px;border:0;border-radius:50%;background:rgba(154,117,87,.08);color:#b9a89b;font-size:24px;line-height:1;cursor:pointer}
.hg-zz-gate__eyebrow{margin:0;color:#d99042;font-size:12px;font-weight:600;letter-spacing:4px}
.hg-zz-gate__title{margin:6px 0 0;font-size:22px;font-weight:700}
.hg-zz-gate__desc{max-width:300px;margin:10px auto 0;color:#806e62;font-size:14px;line-height:1.6}
.hg-zz-gate__note{display:inline-block;margin:14px 0 0;padding:6px 10px;border-radius:6px;background:rgba(240,177,91,.12);color:#a2764e;font-size:11px}
.hg-zz-gate__primary{display:block;width:100%;height:46px;margin-top:20px;border:0;border-radius:23px;background:linear-gradient(110deg,#ffad4d 0%,#f27a3e 100%);color:#fff;font-size:16px;font-weight:700;cursor:pointer}
.hg-zz-gate__secondary{margin-top:10px;padding:4px 10px;border:0;background:transparent;color:#a99a90;font-size:13px;cursor:pointer}
.hg-zz-login__input{display:block;width:100%;height:44px;margin-top:14px;padding:0 14px;border:1px solid #eadfd4;border-radius:10px;background:#fff;color:#222;font-size:15px}
.hg-zz-login__err{min-height:18px;margin:8px 0 0;color:#e2483d;font-size:13px;text-align:left}
@media (max-width:640px){
  .hg-zz-article{padding:14px}
  .hg-zz-article__title{font-size:18px}
}
