/**
 * Star 子主题：仿硬核指南页脚样式
 * +-------------------------------------------------------+
 * |   觉得xx很不错？那就按住 [Ctrl] + [D] 键组合，      |
 * |   把 xxx.com 加入你的浏览器收藏夹吧！                |
 * +-------------------------------------------------------+
 * | Copyright © 2026 站点名 / ICP备xxx号 / 公安备案  提交收录 ... |
 * +-------------------------------------------------------+
 */

.star-hardcore-footer {
  margin-top: 0;
  color: #333;
  font-family: inherit;
  border-top: 1px solid #e2e2e2; /* 顶部灰色分割线 */
}

/* 非全屏(居中盒式)布局时，左侧菜单栏固定展示，
   页脚内容需留出侧边菜单宽度，避免被遮住 */
body.aside-show:not(.full-container) .star-hardcore-footer {
  padding-left: calc(var(--main-aside-width) + 15px);
}

/* 主体：收藏提示区域 */
.star-hardcore-main {
  position: relative;
  overflow: hidden;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.star-hardcore-collect {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
  padding: 20px 20px;
  font-size: 16px;
  color: #333;
  text-align: center;
}

.star-hardcore-collect .star-hardcore-text {
  color: #555;
}

/* Ctrl / D 键帽 */
.star-hardcore-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), inset 0 -2px 0 rgba(0, 0, 0, 0.05);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-weight: 700;
  font-size: 16px;
  color: #222;
  line-height: 1;
}

.star-hardcore-key-plus {
  color: #999;
  font-weight: 700;
  font-size: 16px;
}

.star-hardcore-collect a.star-hardcore-link {
  color: #2f6bff;
  font-weight: 600;
  text-decoration: none;
}

.star-hardcore-collect a.star-hardcore-link:hover {
  text-decoration: underline;
}

/* 底部横条 */
.star-hardcore-bottom {
  border-top: 1px solid #ebebeb;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 14px 32px;
  max-width: 1600px;
  margin: 0 auto;
  font-size: 13px;
  color: #888;
}

.star-hardcore-bottom .star-hardcore-copy {
  color: #888;
}

.star-hardcore-bottom .star-hardcore-copy a {
  color: #888;
  text-decoration: none;
}

.star-hardcore-bottom .star-hardcore-copy a:hover {
  color: #2f6bff;
}

/* 版权 / ICP / 公安 之间的斜杠分隔符 */
.star-hardcore-bottom .star-hardcore-sep {
  margin: 0 10px;
  color: #ccc;
  font-weight: 400;
}

.star-hardcore-bottom .star-hardcore-right {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.star-hardcore-bottom .star-hardcore-right a {
  color: #777;
  text-decoration: none;
  transition: color 0.2s;
}

.star-hardcore-bottom .star-hardcore-right a:hover {
  color: #2f6bff;
}

/* 移动端适配 */
@media (max-width: 768px) {
  body.aside-show:not(.full-container) .star-hardcore-footer {
    padding-left: 0;
  }

  .star-hardcore-main {
    min-height: 64px;
  }

  .star-hardcore-collect {
    font-size: 14px;
    gap: 3px 6px;
    padding: 16px 12px;
  }

  .star-hardcore-key {
    min-width: 36px;
    padding: 5px 9px;
    font-size: 14px;
  }

  .star-hardcore-key-plus {
    font-size: 14px;
  }

  .star-hardcore-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
    font-size: 12px;
  }

  .star-hardcore-bottom .star-hardcore-copy {
    line-height: 1.8;
  }

  .star-hardcore-bottom .star-hardcore-sep {
    margin: 0 6px;
  }

  .star-hardcore-bottom .star-hardcore-right {
    justify-content: center;
  }
}
