/* 求瓜模块 seek。页面 /archives/8147/，控制器 Home::seek。
   先引入投稿模块的 submission.css：两页共用页面壳、表单和弹窗。
   本文件只写求瓜自己的墙、填写页和详情。接口仍是 /api/qiugua/*。 */
@import url("submission.css");

/* 求瓜墙 */
.hlw-h2 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.875rem;
}
.hlw-banner--seek .hlw-banner__sub {
  top: calc(149 * var(--u));
}
.hlw-banner--seek .hlw-banner__tags {
  top: calc(182.74 * var(--u));
}
.hlw-banner--seek .hlw-banner__btn {
  top: calc(211.47 * var(--u));
}
.hlw-banner__count {
  position: absolute;
  left: calc(182.46 * var(--u));
  top: calc(218.57 * var(--u));
  color: #000;
  font-size: calc(12 * var(--u));
  font-weight: 700;
  line-height: calc(18 * var(--u));
  white-space: nowrap;
  pointer-events: none;
}
.hlw-tabs--four .hlw-tab {
  color: rgba(255, 255, 255, 0.65);
}
.hlw-tabs--four .hlw-tab.is-on {
  color: #ff9000;
}
.hlw-tabs--four .hlw-tab.is-on::after {
  width: 3.5rem;
}
.hlw-tab em {
  font-style: normal;
}
.hlw-tab em:not(:empty)::before {
  content: " ";
}
.hlw-tabs--four {
  margin-bottom: 0;
}

/* 求瓜卡片 */
.hlw-seek .hlw-post {
  cursor: pointer;
}
.hlw-seek .hlw-post h3,
.hlw-seek .hlw-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hlw-seek .hlw-post h3 {
  -webkit-line-clamp: 1;
}
.hlw-seek .hlw-post p.hlw-clamp {
  -webkit-line-clamp: 2;
  min-height: 2.625rem; /* 稿上描述固定占两行，一行时标签位置不上移 */
  font-size: 0.875rem;
  line-height: 1.3125rem;
}
.hlw-who {
  font-size: 0.75rem;
  line-height: 1.125rem;
  color: #aaa;
}
.hlw-tags {
  font-size: 0.75rem;
  line-height: 1.125rem;
  color: #ff9000;
  white-space: pre-wrap;
}
.hlw-found {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: #183526;
  font-weight: 500;
}
.hlw-found__mark {
  font-size: 0.75rem;
  line-height: 1.125rem;
  color: #64d98b;
}
a.hlw-found,
a.hlw-found:hover,
a.hlw-found:visited {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
.hlw-found a,
.hlw-found div:not(.hlw-found__mark) {
  font-size: 0.875rem;
  line-height: 1.3125rem;
  color: #fff;
  text-decoration: none;
  white-space: pre-wrap;
}
.hlw-seek .hlw-post__actions {
  align-items: center;
  gap: 0.5rem;
}
.hlw-want {
  display: flex;
  flex: none;
  align-items: center;
  width: 11.9375rem;
  height: 2.75rem;
  border-radius: 1.375rem;
  background: #000;
  color: #ff9000;
}
.hlw-seek .hlw-post__actions .hlw-want {
  flex: none;
}
.hlw-want span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8.4375rem;
  font-size: 1rem;
  font-weight: 700;
}
.hlw-want b {
  width: 3rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3125rem;
  text-align: left;
}
.hlw-want.is-on {
  box-shadow: inset 0 0 0 1px #ff9000;
}
.hlw-side-note {
  width: 7rem;
  margin-left: auto;
  font-size: 0.625rem;
  line-height: 0.9375rem;
  color: #888;
  text-align: right;
}
.hlw-seek .hlw-post__actions > .hlw-primary,
.hlw-seek .hlw-post > .hlw-primary {
  height: 2.75rem;
  border-radius: 1.5rem;
  background: #000;
  color: #ff9000;
}
.hlw-seek .hlw-post p:not(.hlw-clamp) {
  font-size: 0.75rem;
  line-height: 1.125rem;
  color: #888;
}
.hlw-seek .hlw-post p.is-reason {
  color: #ff8585;
}

/* 填写求瓜 */
.hlw-pagebar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: -0.5rem;
}
.hlw-seek .hlw-head {
  gap: 1.5rem;
}
.hlw-seek .hlw-head p {
  line-height: 1.3125rem;
}
.hlw-pagebar__back,
.hlw-pagebar strong,
.hlw-pagebar__tip {
  display: flex;
  align-items: center;
  height: 1.875rem;
}
.hlw-pagebar__back {
  width: 2rem;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1;
  color: #ff9000;
}
.hlw-pagebar__arrow {
  font-size: 1em;
  font-weight: 400;
  line-height: 1;
}
.hlw-pagebar strong {
  flex: 1;
  justify-content: center;
  font-size: 1.125rem;
  line-height: 1;
}
.hlw-pagebar__tip {
  justify-content: flex-end;
  width: 3.5rem;
  font-size: 0.75rem;
  line-height: 1;
  color: #aaa;
}
.hlw-card__title.is-brand {
  color: #ff9000;
}
.hlw-choice {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.25rem;
}
.hlw-choice button {
  height: 2rem;
  padding: 0 0.125rem;
  font-size: 0.625rem;
  white-space: nowrap;
}

/* 求瓜弹窗 */
.hlw-modal__box--askNotice .hlw-modal__text p + p {
  margin-top: 1.3125rem;
}
.hlw-modal__box--askDetail {
  gap: 1rem;
  padding: 1.25rem;
}
.hlw-seek-desc {
  max-height: 13rem;
  overflow-y: auto;
}
.hlw-modal__box--askDetail .hlw-modal__top {
  align-items: center;
  padding-right: 2rem;
}
#detail-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#detail-user i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #455438;
  color: #fff;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
}
#detail-user div {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.125rem;
  color: #aaa;
}
#detail-user span {
  display: block;
}
.hlw-seek-title {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.125rem;
  color: #fff;
  word-break: break-all;
  text-align: left;
}
.hlw-seek-desc {
  font-size: 0.75rem;
  line-height: 1.125rem;
  color: #aaa;
  word-break: break-all;
}
/* 求瓜详情线索图：56×56、间距 8，跟正文左对齐，放不下就换行 */
.hlw-detail-media.hlw-detail-media--ask {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  gap: 0.5rem;
}
.hlw-detail-media.hlw-detail-media--ask > img,
.hlw-detail-media.hlw-detail-media--ask > img.loading,
.hlw-detail-media.hlw-detail-media--ask > img:not([src]) {
  flex: 0 0 3.5rem;
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3.5rem;
  min-height: 3.5rem;
  max-width: 3.5rem;
  max-height: 3.5rem;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.08);
}
.hlw-seek-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hlw-seek-tags span {
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.625rem;
  line-height: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
}
.hlw-seek-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hlw-seek-foot .hlw-want {
  width: 9.55rem;
  height: 2.2rem;
  border-radius: 1.1rem;
}
.hlw-seek-foot .hlw-want span {
  width: 6.75rem;
  font-size: 0.8rem;
}
.hlw-seek-foot .hlw-want b {
  width: 2.4rem;
  font-size: 0.7rem;
}
.hlw-seek-foot .hlw-side-note {
  width: auto;
  color: rgba(255, 255, 255, 0.4);
}
@media (min-width: 768px) {
  /* Web 求瓜须知（稿 8344:126047）：标题居中无关闭，正文 16px */
  .hlw-modal__box--askNotice {
    gap: 0;
    min-height: 31.9375rem;
    padding: 2.9375rem 2.4375rem 2.375rem;
  }
  .hlw-modal__box--askNotice .hlw-modal__top {
    justify-content: center;
  }
  .hlw-modal__box--askNotice .hlw-modal__title {
    margin-bottom: 2.875rem;
    font-size: 1.5rem;
    line-height: 1.375rem;
    text-align: center;
  }
  .hlw-modal__box--askNotice .hlw-modal__x {
    display: none;
  }
  .hlw-modal__box--askNotice .hlw-modal__sub {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    line-height: 1.6875rem;
    color: rgba(255, 255, 255, 0.7);
  }
  .hlw-modal__box--askNotice .hlw-modal__text {
    font-size: 1rem;
    line-height: 1.3125rem;
    color: #aaa;
  }
  .hlw-modal__box--askNotice .hlw-btn {
    margin-top: auto;
  }
  .hlw-modal__box--askDetail {
    padding: 1.5rem;
  }
  .hlw-detail-media.hlw-detail-media--ask > img,
  .hlw-detail-media.hlw-detail-media--ask > img.loading,
  .hlw-detail-media.hlw-detail-media--ask > img:not([src]) {
    flex: 0 0 4rem;
    width: 4rem;
    height: 4rem;
    min-width: 4rem;
    min-height: 4rem;
    max-width: 4rem;
    max-height: 4rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.25rem;
  }
  .hlw-modal__box--askDetail .hlw-modal__top {
    padding-right: 0;
  }
  .hlw-seek-title {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.3125rem;
  }
  .hlw-seek-desc {
    max-height: 15rem;
    font-size: 0.875rem;
    line-height: 1.3125rem;
  }
}

/* Web 我要求瓜（稿 8098:152414 / 8098:152489 / 8098:152491） */
@media (min-width: 768px) {
  #hlw-seek {
    margin-top: -2.8rem;
  }
  #hlw-seek .hlw-panel {
    gap: 2rem;
  }
  #hlw-seek .hlw-panel[data-panel="wall"] > .hlw-h2 {
    font-size: 1.625rem;
    line-height: 2.4375rem;
  }
  #hlw-seek .hlw-tabs--four {
    gap: 2rem;
  }
  #hlw-seek .hlw-tabs--four .hlw-tab {
    color: #aaa;
  }
  #hlw-seek .hlw-tabs--four .hlw-tab.is-on {
    color: #ff9000;
  }
  #hlw-seek .hlw-tabs--four .hlw-tab.is-on::after {
    display: none;
  }
  .hlw-tab em:not(:empty)::before {
    content: "  ";
    white-space: pre;
  }
  #hlw-seek .hlw-post {
    padding: 1.5rem;
  }
  #hlw-seek .hlw-post__actions {
    align-items: flex-start;
  }
  #hlw-seek .hlw-side-note {
    width: auto;
    font-size: 0.75rem;
    line-height: 1.125rem;
  }
  #hlw-seek #seek-filters {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 39rem;
    max-width: 100%;
  }
  /* 筛选条与列表之间稿上是 24（面板间距 32 - 8） */
  #hlw-seek #seek-filters:not([hidden]) + .hlw-list {
    margin-top: -0.5rem;
  }
  #hlw-seek #seek-filters button {
    height: 2.75rem;
    border-radius: 0.5rem;
    font-size: 1rem;
  }
  /* Web 填写页头（稿 8098:152489）：左中右垂直居中，须知是黑色胶囊按钮 */
  #hlw-seek .hlw-pagebar {
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
  }
  #hlw-seek .hlw-pagebar__back,
  #hlw-seek .hlw-pagebar strong,
  #hlw-seek .hlw-pagebar__tip {
    height: 3rem;
  }
  #hlw-seek .hlw-pagebar__back {
    flex: none;
    gap: 0.5rem;
    width: 12.5rem;
    font-size: 0.875rem;
  }
  #hlw-seek .hlw-pagebar strong {
    flex: none;
    width: 14.25rem;
    font-size: 1.25rem;
  }
  #hlw-seek .hlw-pagebar__tip {
    flex: none;
    justify-content: center;
    width: 11.5rem;
    border-radius: 1.5rem;
    background: #000;
    color: #ff9000;
    font-size: 1rem;
    font-weight: 700;
  }
  #hlw-seek .hlw-head {
    gap: 2rem;
  }
  #hlw-seek .hlw-head p {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  #hlw-seek .hlw-card {
    padding: 1.5rem;
  }
  #hlw-seek .hlw-card__title.is-brand {
    font-size: 1.25rem;
    line-height: 1.875rem;
  }
  #hlw-seek .hlw-help--light {
    font-size: 0.75rem;
    line-height: 1.125rem;
    color: #aaa;
  }
  #hlw-seek .hlw-card .hlw-help--light {
    font-size: 0.875rem;
    line-height: 1.3125rem;
  }
  #hlw-seek .hlw-card .hlw-help:not(.hlw-help--light) {
    font-size: 0.75rem;
    line-height: 1.125rem;
    color: #888;
  }
  #hlw-seek .hlw-choice {
    gap: 0.5rem;
  }
  #hlw-seek .hlw-choice button {
    height: 2.75rem;
    padding: 0 0.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
  }
  #hlw-seek #seek-submit {
    width: 15rem;
  }
}
