:root {
  --primary: #ff5b35;
  --primary-deep: #f0441f;
  --ink: #1f252b;
  --muted: #7e8791;
  --page: #f4f5f7;
}
html,
body {
  height: 100%;
  background:
      radial-gradient(circle at 12% 8%, rgba(255, 121, 69, .12), transparent 28%),
      radial-gradient(circle at 90% 88%, rgba(255, 91, 53, .10), transparent 32%),
      #eceef1;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: Hiragino Sans GB, Arial, Helvetica, "Microsoft YaHei", sans-serif;
}
#app {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1180px, 100%);
  height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--page);
  box-shadow: 0 0 45px rgba(24, 34, 43, .10);
}
.home-header {
  position: relative;
  flex: 0 0 176px;
  overflow: hidden;
  padding: 11px 20px 22px;
  color: #fff;
  background: linear-gradient(145deg, #ff874b 0%, #ff6037 42%, #ef3e22 100%);
  border-radius: 0 0 30px 30px;
  box-sizing: border-box;
}
.home-header::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -54px;
  width: 190px;
  height: 190px;
  border: 28px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}
.header-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.glow-one {
  top: -70px;
  right: 13%;
  width: 210px;
  height: 210px;
  background: rgba(255, 221, 164, .22);
}
.glow-two {
  left: -55px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  background: rgba(255, 148, 110, .20);
}
.top-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.city-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 15px;
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}
.city-arrow {
  font-size: 11px;
  opacity: .86;
}
.header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .15);
  font-size: 17px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.hero-copy {
  position: relative;
  z-index: 2;
  margin-top: 6px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 7px;
  margin-left: 8px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  color: #ff5b35;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 4px 12px rgba(118, 36, 15, .16);
  font-size: 12px;
  font-weight: 900;
}

.brand-name {
  color: rgba(255, 255, 255, .92);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .7px;
}
.hero-copy h1 {
  margin: 0;
  font-size: 21px;
  line-height: 1.16;
  letter-spacing: -.3px;
}
.hero-copy h1 span {
  color: #fff8e9;
  font-weight: 500;
}
.search-input {
  position: relative;
  z-index: 3;
  margin-top: 9px;
}
.search-input .el-input__inner {
  height: 40px;
  padding-left: 40px;
  border: 0;
  border-radius: 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 10px 24px rgba(121, 42, 18, .18);
}
.search-input .el-input__icon {
  width: 42px;
  color: #9ba2aa;
  line-height: 40px;
}
.home-main {
  position: relative;
  z-index: 4;
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  padding: 0 16px;
  margin-top: -14px;
}
.category-card {
  flex: 0 0 auto;
  padding: 12px 14px 8px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 20px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 30px rgba(43, 54, 64, .09);
  backdrop-filter: blur(16px);
}
.section-heading,
.feed-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-heading h2,
.feed-heading h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -.2px;
}
.section-heading p,
.feed-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.category-count {
  color: #a0a7ae;
  font-size: 11px;
}
.type-list {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  padding-bottom: 3px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.type-list::-webkit-scrollbar {
  display: none;
}
.type-box {
  flex: 0 0 66px;
  padding: 3px 2px 4px;
  border-radius: 14px;
  text-align: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.type-box:hover {
  background: #fff5f1;
  transform: translateY(-2px);
}
.type-view {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border-radius: 15px;
  background: linear-gradient(145deg, #fff7f2, #fff);
  box-shadow: 0 5px 12px rgba(255, 91, 53, .09);
}
.type-view img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.type-text {
  margin-top: 5px;
  overflow: hidden;
  color: #454c53;
  font-size: 10px;
  line-height: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed-section {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  margin-top: 11px;
}
.feed-heading {
  flex: 0 0 auto;
  padding: 0 3px 11px;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 13px;
  color: #dd4e2a;
  background: #fff0ea;
  font-size: 10px;
  font-weight: 600;
}
.live-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5b35;
  box-shadow: 0 0 0 4px rgba(255, 91, 53, .12);
}
.blog-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 1px 14px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.blog-list::-webkit-scrollbar {
  display: none;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.blog-box {
  overflow: hidden;
  border: 1px solid rgba(230, 233, 238, .9);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(42, 51, 60, .07);
  transition: transform .22s, box-shadow .22s;
}
.blog-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 26px rgba(42, 51, 60, .12);
}
.blog-box.featured {
  grid-column: 1 / -1;
}
.blog-img {
  position: relative;
  height: 155px;
  overflow: hidden;
  cursor: pointer;
  background: #e9edf0;
}
.blog-box.featured .blog-img {
  height: 235px;
}
.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.blog-box:hover .blog-img img {
  transform: scale(1.035);
}
.image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 24, 29, .28), transparent 55%);
  pointer-events: none;
}
.featured-tag {
  position: absolute;
  left: 13px;
  top: 13px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  color: #fff;
  background: rgba(31, 37, 43, .42);
  font-size: 10px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.blog-title {
  display: -webkit-box;
  min-height: 39px;
  padding: 11px 11px 7px;
  overflow: hidden;
  color: #252b31;
  font-size: 13px;
  font-weight: 700;
  line-height: 19px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.blog-box.featured .blog-title {
  min-height: auto;
  padding: 13px 15px 9px;
  font-size: 16px;
  line-height: 22px;
}
.blog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px 11px;
}
.blog-box.featured .blog-foot {
  padding: 0 15px 13px;
}
.blog-user {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}
.blog-user-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  overflow: hidden;
  border-radius: 50%;
  background: #eef0f2;
}
.blog-user-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-user-name {
  max-width: 82px;
  overflow: hidden;
  color: #858d95;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.blog-liked {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 12px;
  color: #8e969e;
  background: #f4f5f7;
  font-size: 10px;
  cursor: pointer;
  transition: color .2s, background .2s;
}
.blog-liked.liked {
  color: #ff5b35;
  background: #fff0ea;
}
.like-heart {
  font-size: 11px;
}
.feed-end {
  padding: 18px 0 8px;
  color: #a2a9b0;
  font-size: 11px;
  text-align: center;
}
#app .foot {
  position: relative;
  z-index: 20;
  flex: 0 0 68px;
  min-height: 68px;
  border-top: 1px solid rgba(225, 229, 233, .9);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -8px 24px rgba(35, 45, 55, .07);
  backdrop-filter: blur(16px);
}
#app .foot-box {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: color .2s;
}
#app .foot-view {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 28px;
  border-radius: 12px;
  font-size: 22px;
  transition: background .2s, transform .2s;
}
#app .foot-box.active {
  color: var(--primary);
}
#app .foot-box.active .foot-view {
  background: #fff0ea;
  transform: translateY(-2px);
}
#app .foot-text {
  margin-top: 1px;
  font-size: 9px;
}
#app .foot .add-btn {
  width: 38px;
  height: 38px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(255, 91, 53, .28);
}
@media (max-width: 560px) {
  .home-header {
    flex-basis: 225px;
    padding-right: 17px;
    padding-left: 17px;
  }
  .hero-copy h1 {
    font-size: 21px;
  }
  .home-main {
    padding: 0 10px;
  }
  .category-card {
    padding-right: 10px;
    padding-left: 10px;
  }
  .type-box {
    flex-basis: 68px;
  }
  .blog-grid {
    gap: 9px;
  }
  .blog-img {
    height: 132px;
  }
  .blog-box.featured .blog-img {
    height: 205px;
  }
}