/* 博主主页 PC（UI 3509:29492 视频 / 3517:31062 帖子）。
   页内 <style> 管 H5 稿，这里只在 ≥1024 覆盖；link 在页内 <style> 之后，同特异度后者胜。
   common.css 是前端交付件不改。 */
.hg-creator-hero__stats--pc{display:none}

.hg-creator-sorts{display:flex;align-items:center;gap:15px;margin:0 0 16px}
.hg-creator-sorts__item{display:flex;align-items:center;justify-content:center;width:80px;height:40px;border-radius:10px;background:rgba(255,255,255,.1);color:#fff;font-size:14px;line-height:20px;font-weight:500;text-decoration:none}
.hg-creator-sorts__item.is-active{background:linear-gradient(90deg,#ffd21c 0%,#f5a623 100%);color:#000;font-weight:600}

@media (min-width:1024px){
  .hg-creator-page{padding-top:calc(10 * var(--hg-pc-unit,1px))}
  .hg-creator-page>.hg-breadcrumb{margin-bottom:0;font-size:max(14px,calc(14 * var(--hg-text-unit,1px)));line-height:calc(20 * var(--hg-text-unit,1px))}

  /* 横幅卡 1440×148：底图 + 70% 黑罩，左 30 / 右 50 内边距，头像与信息列顶对齐、关注按钮垂直居中 */
  .hg-creator-page .hg-creator-hero{align-items:flex-start;gap:calc(14 * var(--hg-pc-unit,1px));min-height:calc(148 * var(--hg-pc-unit,1px));margin:calc(22 * var(--hg-pc-unit,1px)) 0 calc(30 * var(--hg-pc-unit,1px));padding:calc(30 * var(--hg-pc-unit,1px)) calc(50 * var(--hg-pc-unit,1px)) calc(30 * var(--hg-pc-unit,1px)) calc(30 * var(--hg-pc-unit,1px));border:0;border-radius:calc(16 * var(--hg-pc-unit,1px));background:#000}
  .hg-creator-page .hg-creator-hero__bg picture{display:block;width:100%;height:100%}
  .hg-creator-page .hg-creator-hero__mask{background:rgba(0,0,0,.7);backdrop-filter:none}
  .hg-creator-page .hg-creator-hero__avatar{width:calc(66 * var(--hg-pc-unit,1px));height:calc(66 * var(--hg-pc-unit,1px));padding:0;border:0;background:url(/static/web/images/creator/avatar-bg.svg) center/cover no-repeat;color:#fff;font-size:max(14px,calc(32 * var(--hg-text-unit,1px)));line-height:calc(46 * var(--hg-text-unit,1px));font-weight:600;overflow:hidden}
  .hg-creator-page .hg-creator-hero__avatar img{border:0}
  .hg-creator-page .hg-creator-hero__info h1{font-size:max(14px,calc(24 * var(--hg-text-unit,1px)));line-height:calc(34 * var(--hg-text-unit,1px));font-weight:600}
  .hg-creator-page .hg-creator-hero__info p{margin:0;padding-top:calc(5 * var(--hg-pc-unit,1px));max-width:calc(500 * var(--hg-pc-unit,1px));font-size:max(14px,calc(14 * var(--hg-text-unit,1px)));line-height:calc(21 * var(--hg-text-unit,1px));color:rgba(255,255,255,.65)}
  .hg-creator-page .hg-creator-hero__stats{display:none}
  .hg-creator-page .hg-creator-hero__stats--pc{display:flex;flex-wrap:nowrap;gap:calc(8 * var(--hg-pc-unit,1px));height:auto;min-height:28px;margin:0;padding-top:calc(5 * var(--hg-pc-unit,1px));color:#fff;font-size:max(14px,calc(14 * var(--hg-text-unit,1px)));line-height:calc(20 * var(--hg-text-unit,1px));font-weight:500}
  .hg-creator-page button.hg-creator-hero__follow{align-self:center;height:max(36px,calc(36 * var(--hg-pc-unit,1px)));min-width:calc(91 * var(--hg-pc-unit,1px));padding:0 calc(16 * var(--hg-pc-unit,1px));border:0;border-radius:calc(999 * var(--hg-pc-unit,1px));font-size:max(14px,calc(14 * var(--hg-text-unit,1px)));line-height:calc(19.5 * var(--hg-text-unit,1px));font-weight:600}
  .hg-creator-page button.hg-creator-hero__follow.is-following{background:rgba(255,217,0,.3);border:0;color:#ffd900}

  /* 页签：35 高、底边 .07，间距 30；选中 18px 黄字 + 2px 下划线，未选 16px 半透明 */
  .hg-creator-page .hg-creator-tabs{gap:calc(30 * var(--hg-pc-unit,1px));height:auto;min-height:36px;margin:0 0 calc(20 * var(--hg-pc-unit,1px));border-bottom:calc(.77 * var(--hg-pc-unit,1px)) solid rgba(255,255,255,.07)}
  .hg-creator-page .hg-creator-tabs a{padding:0 0 calc(12 * var(--hg-pc-unit,1px));font-size:max(14px,calc(16 * var(--hg-text-unit,1px)));line-height:calc(22.5 * var(--hg-text-unit,1px));font-weight:500;color:rgba(255,255,255,.5)}
  .hg-creator-page .hg-creator-tabs a.is-active{font-size:max(14px,calc(18 * var(--hg-text-unit,1px)));font-weight:600;color:#ffd21c}
  .hg-creator-page .hg-creator-tabs a.is-active::after{bottom:calc(-1 * var(--hg-pc-unit,1px));height:calc(2 * var(--hg-pc-unit,1px));border-radius:0;background:#ffd21c}

  .hg-creator-sorts{margin:0}
  /* 稿上排序下面直接是作品，没有「视频作品 / 帖子作品」栏目标题 */
  .hg-creator-page .hg-section-header{display:none}

  /* 视频：PC主网格跟随公共列数配置，默认7列；列距24、行距20。帖子仍为整行横卡。 */
  .hg-creator-page .hg-card-grid{grid-template-columns:repeat(var(--hg-main-video-columns,7),minmax(0,1fr));gap:calc(20 * var(--hg-pc-unit,1px)) calc(24 * var(--hg-pc-unit,1px));margin-top:calc(24 * var(--hg-pc-unit,1px))}
  .hg-creator-page .hg-search-posts{margin-top:calc(18 * var(--hg-pc-unit,1px))}

  /* 最新/最热按钮原在断点外，PC在此补足同比。 */
  .hg-creator-sorts{gap:calc(15 * var(--hg-pc-unit,1px))}
  .hg-creator-sorts__item{width:calc(80 * var(--hg-pc-unit,1px));height:max(36px,calc(40 * var(--hg-pc-unit,1px)));border-radius:calc(10 * var(--hg-pc-unit,1px));font-size:max(14px,calc(14 * var(--hg-text-unit,1px)));line-height:calc(20 * var(--hg-text-unit,1px))}
  .hg-creator-page>.hg-breadcrumb{gap:calc(8 * var(--hg-pc-unit,1px))}
  /* 作者帖子只调整本页横卡，冷灰底及原共享卡DOM保持。 */
  .hg-creator-page .hg-search-posts{gap:calc(30 * var(--hg-pc-unit,1px))}
  .hg-creator-page .hg-search-posts .hg-post-card{padding:calc(20 * var(--hg-pc-unit,1px));border-width:calc(1 * var(--hg-pc-unit,1px));border-radius:calc(16 * var(--hg-pc-unit,1px))}
  .hg-creator-page .hg-search-posts .hg-post-card__gallery{gap:calc(20 * var(--hg-pc-unit,1px))}
  .hg-creator-page .hg-search-posts .hg-post-card__images{flex-basis:calc(464 * var(--hg-pc-unit,1px));width:calc(464 * var(--hg-pc-unit,1px));height:calc(261 * var(--hg-pc-unit,1px));border-radius:calc(16 * var(--hg-pc-unit,1px))}
  .hg-creator-page .hg-search-posts .hg-post-card .hg-post-card__body{gap:calc(18 * var(--hg-pc-unit,1px));padding-top:calc(15 * var(--hg-pc-unit,1px))}
  .hg-creator-page .hg-search-posts .hg-post-card--nocover .hg-post-card__body{padding-top:0}
  .hg-creator-page .hg-search-posts .hg-post-card__meta{gap:calc(10 * var(--hg-pc-unit,1px));height:auto;min-height:36px;font-size:max(14px,calc(16 * var(--hg-text-unit,1px)));line-height:calc(22 * var(--hg-text-unit,1px))}
  .hg-creator-page .hg-search-posts .hg-post-card__meta>span:not(.hg-search-post__avatar){font-size:max(14px,calc(16 * var(--hg-text-unit,1px)));line-height:calc(22 * var(--hg-text-unit,1px))}
  .hg-creator-page .hg-search-post__avatar{flex-basis:calc(30 * var(--hg-pc-unit,1px));width:calc(30 * var(--hg-pc-unit,1px));height:calc(30 * var(--hg-pc-unit,1px));font-size:max(14px,calc(18 * var(--hg-text-unit,1px)))}
  .hg-creator-page .hg-search-posts .hg-post-card__body h3{max-height:calc(68 * var(--hg-text-unit,1px));font-size:max(14px,calc(24 * var(--hg-text-unit,1px)));line-height:calc(34 * var(--hg-text-unit,1px))}
  .hg-creator-page .hg-search-post__intro{height:calc(53 * var(--hg-text-unit,1px));font-size:max(14px,calc(16 * var(--hg-text-unit,1px)));line-height:calc(22.4 * var(--hg-text-unit,1px))}
  .hg-creator-page .hg-search-post__stats{gap:calc(28 * var(--hg-pc-unit,1px));padding-top:calc(1 * var(--hg-pc-unit,1px));font-size:max(14px,calc(16 * var(--hg-text-unit,1px)));line-height:calc(28 * var(--hg-text-unit,1px))}
  .hg-creator-page .hg-search-post__stats span{gap:calc(6 * var(--hg-pc-unit,1px))}
  .hg-creator-page .hg-search-post__stats img{width:calc(24 * var(--hg-pc-unit,1px));height:calc(17 * var(--hg-pc-unit,1px))}
  .hg-creator-page .hg-search-post__stats span+span img{width:calc(20 * var(--hg-pc-unit,1px));height:calc(20 * var(--hg-pc-unit,1px))}
  /* 控件保留可读文字与点击高度，作者帖子文本可在既有信息列内收缩。 */
  .hg-creator-page .hg-creator-tabs a{min-height:36px;box-sizing:border-box}
  .hg-creator-page .hg-creator-hero__info{min-width:0}
  .hg-creator-page .hg-creator-hero__info p{max-width:min(100%,calc(500 * var(--hg-pc-unit,1px)))}
  .hg-creator-page .hg-search-posts .hg-post-card__user{min-width:0;overflow:hidden;text-overflow:ellipsis}
  .hg-creator-page .hg-search-posts .hg-post-card__date,.hg-creator-page .hg-search-posts .hg-post-card__cat,.hg-creator-page .hg-search-posts .hg-post-card__dot{flex-shrink:0}
}
