.juji-home {
  --juji-bg: #eef6ff;
  --juji-panel: rgba(255, 255, 255, 0.78);
  --juji-panel-strong: rgba(255, 255, 255, 0.96);
  --juji-blue: #2f7dff;
  --juji-blue-deep: #205cff;
  --juji-cyan: #39cfff;
  --juji-violet: #8268ff;
  --juji-ink: #102457;
  --juji-muted: #6278a7;
  --juji-line: rgba(79, 132, 233, 0.18);
  --juji-shadow: 0 18px 45px rgba(67, 121, 213, 0.18);
  --juji-inner: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  width: min(100%, 490px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 30px 18px 98px;
  overflow: hidden;
  color: var(--juji-ink);
  background:
    radial-gradient(circle at 52% 8%, rgba(255, 255, 255, 0.85), transparent 18%),
    linear-gradient(180deg, rgba(238, 247, 255, 0.92), rgba(250, 252, 255, 0.96));
  box-shadow: 0 0 80px rgba(42, 93, 171, 0.14);
}

body:has(.juji-page) {
  min-width: 360px;
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 255, 255, 0.95), transparent 24%),
    radial-gradient(circle at 88% 0%, rgba(139, 203, 255, 0.34), transparent 24%),
    linear-gradient(180deg, #edf6ff 0%, #f8fbff 52%, #edf5ff 100%);
}

body:has(.juji-page) .headBg,
body:has(.juji-page) .headerBox {
  display: none !important;
}

.juji-page {
  --juji-bg: #eef6ff;
  --juji-panel: rgba(255, 255, 255, 0.8);
  --juji-panel-strong: rgba(255, 255, 255, 0.96);
  --juji-blue: #2f7dff;
  --juji-blue-deep: #205cff;
  --juji-cyan: #39cfff;
  --juji-violet: #8268ff;
  --juji-ink: #102457;
  --juji-muted: #6278a7;
  --juji-line: rgba(79, 132, 233, 0.18);
  --juji-shadow: 0 18px 45px rgba(67, 121, 213, 0.18);
  --juji-inner: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  width: min(100% - 32px, 1180px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 0 72px;
  color: var(--juji-ink);
  box-sizing: border-box;
}

.juji-page *,
.juji-page *::before,
.juji-page *::after {
  box-sizing: border-box;
}

.juji-page a {
  color: inherit;
  text-decoration: none;
}

.juji-page button,
.juji-page input {
  font: inherit;
}

.juji-page button {
  border: 0;
  cursor: pointer;
}

.juji-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(78, 142, 255, 0.1) 1px, transparent 1px),
    linear-gradient(115deg, rgba(255, 255, 255, 0.38), transparent 28%, transparent 66%, rgba(147, 210, 255, 0.2));
  background-size: 34px 34px, 100% 100%;
  opacity: 0.55;
}

.juji-page-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid var(--juji-line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(229, 244, 255, 0.56));
  box-shadow: var(--juji-inner), 0 18px 38px rgba(62, 111, 202, 0.12);
}

.juji-page-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: linear-gradient(145deg, #f6fbff, #dcecff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 12px 24px rgba(55, 118, 221, 0.18);
  overflow: hidden;
}

.juji-page-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.juji-page-logo span {
  font-size: 36px;
  line-height: 1;
  font-weight: 900;
  background: linear-gradient(168deg, #05a9ff 4%, #2f7dff 45%, #965dff 86%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.juji-page-title {
  min-width: 0;
}

.juji-page-title p {
  margin: 0 0 7px;
  color: var(--juji-muted);
  font-size: 13px;
  font-weight: 800;
}

.juji-page-title h1 {
  margin: 0;
  overflow: hidden;
  color: var(--juji-ink);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.juji-page-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--juji-blue), var(--juji-violet));
  box-shadow: 0 12px 22px rgba(47, 125, 255, 0.24);
}

.juji-page-search {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--juji-line);
  border-radius: 26px;
  background: var(--juji-panel);
  box-shadow: var(--juji-shadow);
  backdrop-filter: blur(16px);
}

.juji-list-shell,
.juji-detail-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 270px;
  gap: 18px;
  align-items: start;
  width: 100%;
}

.juji-detail-shell {
  grid-template-columns: minmax(0, 1fr) 290px;
}

.juji-filter-card,
.juji-side-card,
.juji-detail-card,
.juji-related-card,
.juji-source-switch,
.juji-result-count,
.juji-result-card {
  border: 1px solid var(--juji-line);
  background: var(--juji-panel-strong);
  box-shadow: var(--juji-shadow);
  backdrop-filter: blur(14px);
}

.juji-filter-card,
.juji-side-card,
.juji-related-card {
  border-radius: 22px;
  padding: 16px;
}

.juji-filter-card {
  position: sticky;
  top: 18px;
}

.juji-filter-card h2,
.juji-side-card h2,
.juji-related-card h2 {
  margin: 0 0 13px;
  color: var(--juji-ink);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
}

.juji-filter-card .box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.juji-filter-card .box a,
.juji-source-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(78, 142, 255, 0.16);
  border-radius: 999px;
  color: #446092;
  font-size: 13px;
  font-weight: 800;
  background: rgba(239, 247, 255, 0.72);
}

.juji-filter-card .box a.active,
.juji-source-switch a.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--juji-blue), var(--juji-violet));
  box-shadow: 0 10px 18px rgba(55, 117, 221, 0.22);
}

.juji-results,
.juji-detail-main {
  min-width: 0;
}

.juji-source-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 20px;
}

.juji-source-switch span {
  color: var(--juji-muted);
  font-size: 14px;
  font-weight: 900;
}

.juji-source-switch div {
  display: flex;
  gap: 8px;
}

.juji-result-count {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  padding: 15px 17px;
  border-radius: 20px;
}

.juji-count-copy {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.juji-count-source-switch {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
}

.juji-count-source-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(78, 142, 255, 0.16);
  border-radius: 999px;
  color: #446092;
  font-size: 13px;
  font-weight: 800;
  background: rgba(239, 247, 255, 0.72);
}

.juji-count-source-switch a.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--juji-blue), var(--juji-violet));
  box-shadow: 0 10px 18px rgba(55, 117, 221, 0.22);
}

.juji-result-count strong {
  color: var(--juji-blue-deep);
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
}

.juji-result-count span {
  color: var(--juji-muted);
  font-size: 14px;
  font-weight: 800;
}

.juji-result-list {
  display: grid;
  gap: 12px;
}

.juji-result-card {
  padding: 17px;
  border-radius: 22px;
}

.juji-result-card .title {
  display: block;
  color: var(--juji-ink);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 900;
}

.juji-result-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}

.juji-result-card .meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #58709e;
  font-size: 12px;
  font-weight: 800;
  background: #eef6ff;
}

.juji-result-card .actions,
.juji-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 15px;
}

.juji-result-card .actions a,
.juji-result-card .actions button,
.juji-detail-actions a,
.juji-detail-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  color: #31517f;
  font-size: 13px;
  font-weight: 900;
  background: #eef6ff;
}

.juji-result-card .actions .primary,
.juji-detail-actions .primary {
  color: #fff;
  background: linear-gradient(135deg, var(--juji-blue), var(--juji-violet));
  box-shadow: 0 12px 22px rgba(47, 125, 255, 0.24);
}

.juji-result-card .actions img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

.juji-page-pagination,
.juji-empty {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--juji-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  text-align: center;
}

.juji-loading {
  display: grid;
  place-items: center;
  min-height: 96px;
  margin-bottom: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.juji-side-rank {
  display: grid;
  gap: 14px;
}

.juji-side-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.juji-side-card h2 img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.rank-links,
.juji-related-list {
  display: grid;
  gap: 8px;
}

.rank-links a,
.juji-related-list a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 38px;
  color: #304a79;
  font-size: 14px;
  font-weight: 800;
}

.rank-links a span,
.juji-related-list a span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: #fff;
  font-size: 12px;
  background: linear-gradient(135deg, var(--juji-cyan), var(--juji-blue));
}

.juji-detail-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border-radius: 28px;
}

.juji-detail-poster {
  min-height: 320px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(16, 36, 87, 0), rgba(16, 36, 87, 0.34)),
    var(--poster-image) center / cover no-repeat,
    linear-gradient(135deg, #dff0ff, #f7fbff);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5), 0 14px 28px rgba(50, 93, 170, 0.16);
}

.juji-detail-content {
  min-width: 0;
  padding: 6px 2px;
}

.juji-detail-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--juji-blue-deep);
  font-size: 13px;
  font-weight: 900;
  background: #eef6ff;
}

.juji-detail-content h2 {
  margin: 14px 0 12px;
  color: var(--juji-ink);
  font-size: 30px;
  line-height: 1.22;
  font-weight: 900;
}

.juji-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.juji-detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  color: #58709e;
  font-size: 13px;
  font-weight: 800;
  background: #eef6ff;
}

.juji-detail-meta img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

.juji-detail-desc {
  color: #405a8a;
  font-size: 15px;
  line-height: 1.8;
  word-break: break-word;
}

.juji-detail-url {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 13px;
  border-radius: 18px;
  background: #eef6ff;
}

.juji-detail-url span {
  color: var(--juji-muted);
  font-size: 13px;
  font-weight: 900;
}

.juji-detail-url a {
  overflow-wrap: anywhere;
  color: var(--juji-blue-deep);
  font-size: 14px;
  font-weight: 800;
}

.juji-related-card {
  margin-top: 16px;
}

@media (max-width: 960px) {
  .juji-page {
    width: min(100% - 24px, 720px);
    padding-top: 16px;
  }

  .juji-page-hero {
    grid-template-columns: auto minmax(0, 1fr);
    border-radius: 24px;
  }

  .juji-page-home {
    display: none;
  }

  .juji-page-title h1 {
    font-size: 24px;
  }

  .juji-list-shell,
  .juji-detail-shell {
    grid-template-columns: 1fr;
  }

  .juji-filter-card {
    position: relative;
    top: auto;
    order: -1;
  }

  .juji-side-rank {
    grid-template-columns: 1fr;
  }

  .juji-detail-card {
    grid-template-columns: 1fr;
  }

  .juji-detail-poster {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .juji-page {
    width: min(calc(100vw - 20px), 490px);
    padding: 14px 14px 92px;
    overflow-x: hidden;
  }

  .juji-page-hero {
    gap: 12px;
    padding: 14px;
    border-radius: 22px;
  }

  .juji-page-logo {
    width: 48px;
    height: 48px;
    border-radius: 17px;
  }

  .juji-page-logo img {
    width: 36px;
    height: 36px;
  }

  .juji-page-title p {
    font-size: 12px;
  }

  .juji-page-title h1 {
    font-size: 20px;
  }

  .juji-page-search {
    padding: 13px;
    border-radius: 22px;
  }

  .juji-source-switch {
    align-items: flex-start;
    flex-direction: column;
  }

  .juji-result-card .title {
    font-size: 16px;
  }

  .juji-result-card .actions a,
  .juji-result-card .actions button,
  .juji-detail-actions a,
  .juji-detail-actions button {
    flex: 1 1 120px;
  }

  .juji-detail-content h2 {
    font-size: 23px;
  }

  .juji-detail-poster {
    min-height: 220px;
  }
}

@media (max-width: 720px) {
  body:has(.juji-list-page) .juji-list-shell {
    grid-template-columns: 1fr;
  }
}

body:has(.juji-page) .juji-list-shell,
body:has(.juji-page) .juji-detail-shell {
  width: 100% !important;
  min-height: 0 !important;
  overflow: visible !important;
}

body:has(.juji-page) .juji-results,
body:has(.juji-page) .juji-detail-main,
body:has(.juji-page) .juji-side-rank {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

body:has(.juji-page) .juji-filter-card {
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
}

body:has(.juji-list-page) .juji-page-hero {
  display: none !important;
}

body:has(.juji-list-page) .juji-filter-card {
  text-align: center;
}

body:has(.juji-list-page) .juji-filter-card h2 {
  margin-bottom: 14px;
}

body:has(.juji-list-page) .juji-filter-card .box {
  justify-content: center;
}

body:has(.juji-list-page) .juji-result-list {
  gap: 18px !important;
  margin-top: 22px !important;
}

body:has(.juji-list-page) .juji-results > .box,
body:has(.juji-list-page) .juji-results > .Ebox {
  margin-top: 22px !important;
}

body:has(.juji-list-page) .juji-result-card {
  margin: 0 0 4px !important;
}

body:has(.juji-list-page) .juji-list-shell {
  grid-template-columns: minmax(0, 1fr) 270px;
}

@media (max-width: 720px) {
  body:has(.juji-list-page) .juji-list-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body:has(.juji-list-page) .juji-page-search {
    margin-top: 0;
  }

  body:has(.juji-list-page) .juji-list-shell {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body:has(.juji-list-page) .juji-result-list {
    gap: 16px !important;
    margin-top: 22px !important;
  }

  body:has(.juji-list-page) .juji-result-count {
    align-items: center;
    padding: 14px 16px;
  }

  body:has(.juji-list-page) .juji-count-source-switch {
    gap: 7px;
  }

  body:has(.juji-list-page) .juji-count-source-switch a {
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }

  body:has(.juji-list-page) .juji-results > .box,
  body:has(.juji-list-page) .juji-results > .Ebox {
    margin-top: 22px !important;
  }
}

body:has(.juji-page) .juji-results > .box,
body:has(.juji-page) .juji-results > .Ebox {
  display: block;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

body:has(.juji-page) .juji-result-list,
body:has(.juji-page) .juji-related-list,
body:has(.juji-page) .rank-links {
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
}

body:has(.juji-page) .juji-result-card,
body:has(.juji-page) .juji-detail-card,
body:has(.juji-page) .juji-related-card,
body:has(.juji-page) .juji-side-card {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
}

@media (min-width: 960px) {
  .juji-home .recommend-layout {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    align-items: stretch;
    gap: 18px;
  }

  .juji-home .feature-card,
  .juji-home .poster-card {
    background-color: #dfeeff;
    background-size: 100% 100%, 100% 100%, contain;
    background-position: center, center, top center;
    background-repeat: no-repeat;
  }

  .juji-home .feature-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 510px;
    padding: 330px 22px 22px;
    border-radius: 22px;
  }

  .juji-home .feature-card h3 {
    font-size: 30px;
    line-height: 1.08;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .juji-home .feature-card p {
    display: -webkit-box;
    max-height: 44px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .juji-home .side-list {
    align-content: start;
    gap: 14px;
  }

  .juji-home .mini-card {
    min-height: 150px;
    grid-template-columns: 96px minmax(0, 1fr) 38px;
    gap: 16px;
    padding: 14px 14px 14px 0;
    border: 1px solid rgba(87, 139, 229, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 12px 28px rgba(70, 116, 196, 0.1);
  }

  .juji-home .mini-card::before {
    width: 96px;
    height: 128px;
    border-radius: 16px;
    background-size: 100% 100%, contain;
    background-position: center, center;
    background-repeat: no-repeat;
    background-color: #dfeeff;
  }

  .juji-home .mini-card h3 {
    font-size: 19px;
    line-height: 1.28;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .juji-home .mini-card p {
    font-size: 13px;
  }

  .juji-home .poster-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
  }

  .juji-home .poster-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    aspect-ratio: 2 / 3;
    min-height: 0;
    padding: 150px 14px 14px;
    border-radius: 20px;
  }

  .juji-home .poster-card h3 {
    font-size: 18px;
    line-height: 1.18;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .juji-home .poster-card p {
    max-height: 38px;
    overflow: hidden;
    font-size: 12px;
  }

  .juji-home .recommend-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .juji-home .side-list {
    display: contents;
  }

  .juji-home .feature-card,
  .juji-home .mini-card,
  .juji-home .poster-card {
    border: 1px solid rgba(82, 135, 225, 0.14);
    background:
      linear-gradient(180deg, rgba(15, 27, 64, 0.03) 0%, rgba(9, 17, 43, 0.82) 100%),
      radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.42), transparent 22%),
      var(--poster-image, linear-gradient(135deg, #2f7dff, #8268ff));
    background-color: #dfeeff;
    background-size: 100% 100%, 100% 100%, contain;
    background-position: center, center, top center;
    background-repeat: no-repeat;
    box-shadow: 0 18px 36px rgba(45, 88, 164, 0.15);
  }

  .juji-home .feature-card,
  .juji-home .mini-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 360px;
    padding: 235px 18px 18px;
    color: #fff;
  }

  .juji-home .mini-card {
    grid-template-columns: none;
    align-items: stretch;
    gap: 0;
  }

  .juji-home .mini-card::before {
    display: none;
  }

  .juji-home .mini-card .mini-rank {
    position: absolute;
    left: 0;
    top: 0;
  }

  .juji-home .mini-card h3 {
    color: #fff;
    font-size: 24px;
    line-height: 1.12;
    text-shadow: 0 3px 7px rgba(0, 0, 0, 0.34);
  }

  .juji-home .mini-card p,
  .juji-home .mini-card small {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  }

  .juji-home .mini-card .play {
    position: absolute;
    right: 14px;
    bottom: 14px;
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(25, 34, 57, 0.45);
  }

  .juji-home .mini-card .play::before {
    border-left-color: #fff;
  }

  .juji-home .poster-card {
    aspect-ratio: auto;
    min-height: 300px;
    padding-top: 188px;
  }
}

body:has(.juji-home) {
  min-width: 360px;
  background:
    radial-gradient(circle at 16% 6%, rgba(255, 255, 255, 0.95), transparent 24%),
    radial-gradient(circle at 85% 2%, rgba(139, 203, 255, 0.34), transparent 24%),
    linear-gradient(180deg, #edf6ff 0%, #f8fbff 52%, #edf5ff 100%);
}

.juji-home *,
.juji-home *::before,
.juji-home *::after {
  box-sizing: border-box;
}

.juji-home::before,
.juji-home::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.juji-home::before {
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(78, 142, 255, 0.12) 1px, transparent 1px),
    linear-gradient(115deg, rgba(255, 255, 255, 0.45), transparent 28%, transparent 65%, rgba(147, 210, 255, 0.22));
  background-size: 34px 34px, 100% 100%;
  opacity: 0.45;
}

.juji-home::after {
  width: 260px;
  height: 260px;
  right: -120px;
  top: 26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 191, 255, 0.28), transparent 70%);
}

.juji-home a {
  color: inherit;
  text-decoration: none;
}

.juji-home button,
.juji-home input {
  font: inherit;
}

.juji-home button {
  border: 0;
  cursor: pointer;
}

.juji-hero,
.juji-search-panel,
.juji-info-grid,
.juji-stat-row,
.juji-action-row,
.recommend,
.juji-bottom-nav {
  position: relative;
  z-index: 1;
}

.juji-hero {
  height: 108px;
}

.juji-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 1px 12px;
}

.juji-brand-mark {
  position: relative;
  width: 48px;
  height: 64px;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 0;
}

.juji-brand-mark span {
  font-size: 58px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(168deg, #05a9ff 4%, #2f7dff 45%, #965dff 86%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 12px rgba(63, 125, 252, 0.28));
}

.juji-brand-mark img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(63, 125, 252, 0.2));
}

.juji-brand-mark::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 6px;
  width: 22px;
  height: 10px;
  border-radius: 50%;
  border-bottom: 6px solid #49a9ff;
  transform: rotate(-25deg);
}

.juji-brand-copy h1 {
  margin: 0;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 900;
}

.juji-brand-copy p {
  margin: 10px 0 0;
  color: #314979;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.juji-mascot {
  position: absolute;
  top: 0;
  right: 6px;
  width: 226px;
  height: 138px;
}

.planet {
  position: absolute;
  left: 28px;
  top: 18px;
  width: 50px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #b6b3ff 0 22%, #7777ee 55%, #5a6bd9 100%);
  box-shadow: 0 10px 22px rgba(91, 103, 217, 0.26);
  transform: rotate(-12deg);
}

.planet::before {
  content: "";
  position: absolute;
  inset: 9px -16px;
  border: 3px solid rgba(137, 174, 255, 0.65);
  border-left-color: transparent;
  border-right-color: rgba(81, 122, 235, 0.7);
  border-radius: 50%;
}

.star {
  position: absolute;
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 6px 12px rgba(89, 132, 255, 0.18));
}

.star::before,
.star::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fffce2, #a8d8ff);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.star::after {
  inset: 7px;
  background: #fff;
  opacity: 0.95;
}

.star-a {
  left: 0;
  top: 10px;
}

.star-b {
  right: 0;
  top: 30px;
  width: 18px;
  height: 18px;
  opacity: 0.8;
}

.heart {
  position: absolute;
  width: 20px;
  height: 20px;
  background: linear-gradient(145deg, #ff79c5, #ff4e92);
  transform: rotate(-45deg);
  border-radius: 5px 5px 2px 5px;
  box-shadow: 0 10px 18px rgba(255, 87, 150, 0.25);
}

.heart::before,
.heart::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: inherit;
}

.heart::before {
  top: -10px;
  left: 0;
}

.heart::after {
  left: 10px;
  top: 0;
}

.heart-a {
  left: -8px;
  top: 82px;
  transform: rotate(-35deg) scale(0.72);
}

.heart-b {
  right: -6px;
  top: 98px;
  background: linear-gradient(145deg, #fff7b6, #ffd96d);
  transform: rotate(-35deg) scale(0.62);
}

.robot {
  position: absolute;
  right: 20px;
  top: 40px;
  width: 116px;
  height: 80px;
}

.robot-head {
  position: absolute;
  right: 4px;
  bottom: 0;
  width: 100px;
  height: 70px;
  border-radius: 32px 36px 30px 30px;
  background: linear-gradient(145deg, #eff7ff, #afc3ff 48%, #6e8eff);
  border: 2px solid rgba(112, 146, 255, 0.48);
  box-shadow: var(--juji-inner), 0 16px 28px rgba(54, 104, 219, 0.24);
}

.robot-face {
  position: absolute;
  left: 14px;
  top: 16px;
  width: 72px;
  height: 43px;
  border-radius: 22px;
  background: linear-gradient(180deg, #0d2475, #06184a);
  box-shadow: inset 0 0 0 3px rgba(53, 101, 255, 0.55);
}

.robot-face i {
  position: absolute;
  left: 13px;
  top: 11px;
  width: 14px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #8ffffe, #32cfff);
  box-shadow: 0 0 16px rgba(83, 235, 255, 0.72);
}

.robot-face b {
  position: absolute;
  right: 14px;
  top: 18px;
  width: 18px;
  height: 12px;
  border-top: 4px solid #fff;
  border-left: 4px solid #fff;
  transform: rotate(-45deg);
  border-radius: 3px;
}

.robot-ear {
  position: absolute;
  z-index: 1;
  width: 24px;
  height: 34px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff, #9ab4ff);
  border: 2px solid rgba(108, 143, 255, 0.5);
}

.robot-ear.left {
  left: 6px;
  top: 26px;
  transform: rotate(12deg);
}

.robot-ear.right {
  right: -2px;
  top: 7px;
  transform: rotate(-33deg);
}

.robot-ear.right::after {
  content: "";
  position: absolute;
  right: -22px;
  top: -15px;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: linear-gradient(150deg, #f8fbff, #d9e8ff);
  border: 2px solid rgba(108, 143, 255, 0.45);
  box-shadow: inset 0 0 0 6px rgba(93, 194, 255, 0.15);
}

.robot-ear.right::before {
  content: "";
  position: absolute;
  right: -11px;
  top: -5px;
  z-index: 2;
  border-left: 9px solid #47cdfa;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

.popcorn {
  position: absolute;
  left: 6px;
  bottom: -1px;
  width: 44px;
  height: 38px;
  border-radius: 6px 6px 10px 10px;
  background:
    radial-gradient(circle at 9px 4px, #fff0cf 0 5px, transparent 6px),
    radial-gradient(circle at 20px 2px, #fff5df 0 6px, transparent 7px),
    radial-gradient(circle at 31px 5px, #ffe7b8 0 5px, transparent 6px),
    repeating-linear-gradient(90deg, #fff 0 9px, #ff5965 9px 18px);
  border: 2px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 14px rgba(59, 96, 164, 0.18);
}

.juji-search-panel {
  margin: 0 0 10px;
  padding: 16px 17px 19px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 251, 255, 0.88));
  border: 3px solid rgba(91, 141, 255, 0.72);
  box-shadow: inset 0 0 0 4px rgba(120, 226, 255, 0.2), 0 6px 0 rgba(91, 144, 255, 0.16), var(--juji-shadow);
}

.juji-search-tabs {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 2;
  height: 45px;
  padding: 4px;
  border-radius: 21px;
  background: rgba(234, 244, 255, 0.92);
  margin-bottom: 9px;
  box-shadow: inset 0 2px 8px rgba(81, 126, 215, 0.08);
}

.juji-search-tabs button {
  cursor: pointer;
  height: 37px;
  min-width: 94px;
  padding: 0 16px;
  border-radius: 18px;
  color: #506a9b;
  background: transparent;
  font-size: 15px;
  font-weight: 800;
}

.juji-search-tabs .is-active {
  color: #fff;
  background: linear-gradient(180deg, #4f94ff, #1e65ff);
  box-shadow: 0 8px 16px rgba(40, 107, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.juji-search {
  display: grid;
  grid-template-columns: 42px 1fr 62px;
  align-items: center;
  gap: 8px;
  height: 70px;
  padding: 7px 7px 7px 20px;
  border-radius: 36px;
  background: #fff;
  border: 2px solid rgba(37, 92, 255, 0.88);
  box-shadow: inset 0 4px 16px rgba(66, 104, 193, 0.06), 0 12px 24px rgba(56, 102, 196, 0.12);
}

.magnify {
  position: relative;
  width: 30px;
  height: 30px;
  border: 4px solid #7687aa;
  border-radius: 50%;
}

.magnify::after {
  content: "";
  position: absolute;
  right: -11px;
  bottom: -6px;
  width: 16px;
  height: 5px;
  border-radius: 999px;
  background: #7687aa;
  transform: rotate(45deg);
}

.juji-search input {
  min-width: 0;
  border: 0;
  outline: none;
  color: #13265d;
  background: transparent;
  font-size: 17px;
  font-weight: 800;
}

.juji-search input::placeholder {
  color: #7889ad;
}

.search-submit {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #6479ff 0%, #287bff 50%, #31d2ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 18px rgba(50, 106, 255, 0.32);
}

.search-submit::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 13px;
  width: 20px;
  height: 20px;
  border: 5px solid #fff;
  border-radius: 50%;
}

.search-submit::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 34px;
  width: 14px;
  height: 6px;
  border-radius: 999px;
  background: #fff;
  transform: rotate(45deg);
}

.juji-info-grid {
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  gap: 7px;
  margin-top: 8px;
}

.juji-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(242, 248, 255, 0.76));
  border: 1px solid rgba(129, 162, 224, 0.2);
  border-radius: 14px;
  box-shadow: var(--juji-inner), 0 10px 26px rgba(68, 112, 197, 0.12);
  backdrop-filter: blur(12px);
}

.hot-searches,
.heat-rank {
  min-height: 158px;
  padding: 10px 12px 11px;
}

.juji-card h2,
.recommend-head h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #162760;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px 8px;
  max-height: 119px;
  overflow: hidden;
  margin-top: 9px;
}

.chip-list a {
  height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 14px;
  color: #415987;
  background: rgba(246, 250, 255, 0.82);
  border: 1px solid rgba(122, 151, 206, 0.22);
  box-shadow: inset 0 1px 0 #fff, 0 3px 8px rgba(74, 119, 203, 0.06);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.bars {
  position: relative;
  width: 14px;
  height: 18px;
}

.bars::before {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 1px;
  width: 4px;
  height: 10px;
  border-radius: 4px;
  background: #79b5ff;
  box-shadow: 6px -6px 0 #438cff, 12px -2px 0 #a8d9ff;
}

.heat-rank ol {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.heat-rank li a {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 23px;
  gap: 6px;
  border-bottom: 1px solid rgba(118, 150, 210, 0.12);
  color: #243d72;
  font-size: 12px;
  font-weight: 500;
}

.rank-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-num {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(180deg, #6eb8ff, #2d7bff);
  font-size: 11px;
  font-weight: 900;
}

.heat-rank li:nth-child(n + 4) .rank-num {
  color: #6178a0;
  background: #dfeaff;
}

.heat-score {
  color: #6578a0;
  font-size: 12px;
  font-weight: 500;
}

.heat-score::before {
  content: "";
  margin-right: 4px;
  color: #4b7cff;
  font-weight: 900;
}

.juji-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 9px;
}

.stat-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  min-height: 67px;
  padding: 9px 16px;
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(220, 240, 255, 0.94), rgba(255, 255, 255, 0.76));
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--juji-inner), 0 12px 25px rgba(63, 116, 212, 0.12);
}

.stat-card.total {
  background: linear-gradient(135deg, rgba(246, 246, 255, 0.94), rgba(229, 220, 255, 0.65));
}

.stat-card p {
  margin: 0;
  color: #233b74;
  font-size: 13px;
  font-weight: 900;
}

.stat-card strong {
  margin-right: 6px;
  color: #1267e9;
  font-size: 31px;
  line-height: 1;
  font-weight: 900;
}

.stat-card em {
  color: #6278a7;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}

.calendar-icon,
.stack-icon {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(145deg, #69c6ff, #2078ff);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 8px 15px rgba(41, 121, 255, 0.24);
}

.calendar-icon::before {
  content: "";
  position: absolute;
  inset: 12px 8px 8px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 9px 8px, #9fd1ff 0 3px, transparent 4px),
    radial-gradient(circle at 24px 8px, #9fd1ff 0 3px, transparent 4px),
    radial-gradient(circle at 9px 23px, #9fd1ff 0 3px, transparent 4px),
    radial-gradient(circle at 24px 23px, #9fd1ff 0 3px, transparent 4px),
    #fff;
}

.calendar-icon::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 7px;
  height: 7px;
  border-radius: 999px;
  background: #184cff;
  box-shadow: 10px -5px 0 -2px #6acfff, 25px -5px 0 -2px #6acfff;
}

.stack-icon {
  width: 52px;
  height: 44px;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}

.stack-icon::before,
.stack-icon::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 28px;
  left: 4px;
  border-radius: 10px;
  background: linear-gradient(145deg, #f5f9ff, #93b1ff);
  border: 2px solid rgba(88, 124, 237, 0.45);
  transform: rotate(-18deg);
}

.stack-icon::before {
  top: 4px;
  box-shadow: 0 11px 0 rgba(185, 199, 255, 0.78), 0 22px 0 rgba(210, 224, 255, 0.75);
}

.stack-icon::after {
  top: 10px;
  width: 15px;
  height: 15px;
  left: 20px;
  background: #5c78ff;
  border: 0;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.juji-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-top: 11px;
}

.juji-action-row:empty {
  display: none;
}

.juji-action-row > :only-child {
  grid-column: 1 / -1;
}

.need-card,
.chat-card {
  position: relative;
  overflow: hidden;
  min-height: 72px;
  padding: 15px 18px;
  border-radius: 18px;
  text-align: left;
  color: #fff;
  box-shadow: var(--juji-inner), 0 12px 25px rgba(82, 130, 215, 0.18);
}

.need-card {
  background: linear-gradient(135deg, #ff8c1f, #ffd769);
}

.chat-card {
  background: linear-gradient(135deg, #277bff, #35c4ff);
}

.need-card strong,
.chat-card strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
}

.need-card em,
.chat-card em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.paper-icon,
.bubble-icon {
  position: absolute;
  right: 14px;
  bottom: 10px;
}

.paper-icon {
  width: 53px;
  height: 48px;
  border-radius: 9px;
  background: #fff;
  transform: rotate(6deg);
  box-shadow: 0 9px 14px rgba(189, 89, 16, 0.18);
}

.paper-icon::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 13px;
  width: 25px;
  height: 4px;
  border-radius: 999px;
  background: #76c7f5;
  box-shadow: 0 12px 0 #76c7f5;
}

.paper-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: 4px;
  width: 13px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ff765e, #ffa127);
  transform: rotate(43deg);
}

.bubble-icon {
  width: 76px;
  height: 48px;
}

.bubble-icon::before,
.bubble-icon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), 0 8px 14px rgba(22, 92, 185, 0.18);
}

.bubble-icon::before {
  width: 48px;
  height: 42px;
  left: 0;
  top: 1px;
  background: linear-gradient(145deg, #44d5ff, #3694ff);
}

.bubble-icon::after {
  width: 40px;
  height: 36px;
  right: 0;
  bottom: 0;
  background: linear-gradient(145deg, #ff7dd6, #ff59ab);
}

.recommend {
  margin-top: 11px;
  padding: 14px 11px 12px;
  border-radius: 21px;
}

.recommend-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
  padding: 0 2px;
}

.recommend-head h2 {
  font-size: 18px;
}

.recommend-head a {
  height: 29px;
  padding: 0 11px 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 16px;
  color: #2c68ff;
  background: rgba(250, 252, 255, 0.92);
  border: 1px solid rgba(98, 142, 225, 0.22);
  box-shadow: inset 0 1px 0 #fff, 0 4px 10px rgba(72, 116, 210, 0.08);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.gem {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #b9ceff 0 18%, transparent 19%),
    linear-gradient(145deg, #8da5ff 0%, #4d63ff 58%, #386bff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 5px 10px rgba(67, 92, 228, 0.22);
}

.cup {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.cup::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 8px;
  height: 8px;
  border-radius: 2px 2px 5px 5px;
  background: linear-gradient(180deg, #8da7ff, #3d70ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 8px 0 -5px #4d79ff, 0 11px 0 -7px #4d79ff;
}

.category-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
  margin-bottom: 10px;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tabs a {
  flex: 0 0 auto;
  height: 31px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 16px;
  color: #506a9b;
  background: rgba(247, 251, 255, 0.84);
  border: 1px solid rgba(120, 155, 210, 0.24);
  box-shadow: inset 0 1px 0 #fff;
  font-size: 15px;
  font-weight: 900;
}

.category-tabs .is-active {
  color: #fff;
  background: linear-gradient(180deg, #4da2ff, #1b69ff);
  box-shadow: 0 8px 18px rgba(42, 111, 255, 0.22);
}

.recommend-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 9px;
}

.feature-card,
.mini-card,
.poster-card {
  position: relative;
  overflow: hidden;
  border-radius: 13px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(15, 27, 64, 0.02) 0%, rgba(9, 17, 43, 0.82) 100%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.55), transparent 24%),
    var(--poster-image, linear-gradient(135deg, #2f7dff, #8268ff));
  background-size: cover;
  background-position: center;
  box-shadow: 0 11px 20px rgba(22, 52, 103, 0.18);
}

.feature-card {
  min-height: 158px;
  display: block;
  padding: 90px 12px 13px;
}

.top-badge {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 13px 0 17px 0;
  background: linear-gradient(145deg, #ff6d91, #ff4a83);
  font-size: 12px;
  line-height: 1.05;
  font-weight: 900;
  text-align: center;
}

.top-badge strong {
  display: block;
  font-size: 22px;
}

.play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  border: 2px solid rgba(73, 119, 255, 0.5);
}

.play::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 9px;
  border-left: 11px solid #3e74ff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

.feature-card h3,
.poster-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  text-shadow: 0 3px 7px rgba(0, 0, 0, 0.34);
}

.feature-card p,
.poster-card p {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.fire::before {
  content: "";
  margin-right: 3px;
}

.side-list {
  display: grid;
  gap: 8px;
}

.mini-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 9px;
  min-height: 77px;
  padding: 8px 8px 8px 0;
  color: #182b5f;
  background: linear-gradient(90deg, #ffffff 0%, rgba(249, 252, 255, 0.88) 100%);
  box-shadow: none;
}

.mini-card::before {
  content: "";
  width: 74px;
  height: 61px;
  border-radius: 8px;
  margin-left: 0;
  background:
    linear-gradient(180deg, rgba(15, 27, 64, 0.04), rgba(9, 17, 43, 0.5)),
    var(--poster-image, linear-gradient(135deg, #4f94ff, #8268ff));
  background-size: cover;
  background-position: center;
}

.mini-rank {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px 0 8px 0;
  color: #fff;
  background: linear-gradient(180deg, #6ab0ff, #2e78ff);
  font-size: 15px;
  font-weight: 900;
}

.mini-card h3 {
  margin: 0;
  color: #172961;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
}

.mini-card p {
  margin: 7px 0 0;
  color: #7182a8;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 10px;
  font-weight: 700;
}

.mini-card small {
  display: block;
  margin-top: 4px;
  color: #f06267;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
}

.mini-card .play {
  position: relative;
  right: auto;
  bottom: auto;
  width: 27px;
  height: 27px;
  border-color: rgba(83, 105, 255, 0.7);
  background: rgba(255, 255, 255, 0.82);
}

.mini-card .play::before {
  left: 10px;
  top: 7px;
  border-left-width: 9px;
  border-top-width: 6px;
  border-bottom-width: 6px;
  border-left-color: #5d6cff;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 9px;
}

.empty-category-card {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 28px;
  border: 1px solid var(--juji-line);
  border-radius: 20px;
  color: var(--juji-muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
}

.empty-category-card h3 {
  margin: 0 0 8px;
  color: var(--juji-ink);
  font-size: 20px;
}

.empty-category-card p {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.poster-card {
  min-height: 95px;
  display: block;
  padding: 47px 8px 8px;
}

.poster-card .mini-rank {
  width: 25px;
  height: 25px;
  border-radius: 0 0 8px 0;
}

.poster-card h3 {
  font-size: 15px;
  line-height: 1.15;
}

.poster-card p {
  margin-top: 5px;
  display: block;
  font-size: 10px;
  line-height: 1.55;
}

.poster-card .play {
  right: 6px;
  bottom: 6px;
  width: 25px;
  height: 25px;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(25, 34, 57, 0.45);
}

.poster-card .play::before {
  left: 9px;
  top: 6px;
  border-left: 9px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.juji-bottom-nav {
  position: sticky;
  left: auto;
  bottom: 0;
  width: 100%;
  height: 73px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
  margin-top: 24px;
  padding: 8px 10px 5px;
  border-radius: 32px;
  transform: none;
  background: rgba(255, 255, 255, 0.86);
  border-top: 1px solid rgba(131, 163, 220, 0.2);
  box-shadow: 0 -12px 28px rgba(69, 111, 193, 0.12);
  backdrop-filter: blur(16px);
}

.juji-bottom-nav a {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  color: #61739d;
  font-size: 12px;
  font-weight: 900;
}

.juji-bottom-nav a.is-active {
  color: #1280ff;
}

.home-icon,
.planet-icon,
.paper-mini-icon,
.chat-mini-icon {
  position: relative;
  width: 30px;
  height: 27px;
}

.home-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 20px;
  height: 17px;
  border: 4px solid currentColor;
  border-top: 0;
  border-radius: 5px;
}

.home-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  width: 20px;
  height: 20px;
  border-left: 4px solid currentColor;
  border-top: 4px solid currentColor;
  transform: rotate(45deg);
  border-radius: 4px;
}

.planet-icon {
  border: 4px solid currentColor;
  border-radius: 50%;
  transform: rotate(-22deg) scale(0.82);
}

.planet-icon::after {
  content: "";
  position: absolute;
  inset: 8px -8px;
  border-top: 4px solid currentColor;
  border-radius: 50%;
}

.paper-mini-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 20px;
  height: 24px;
  border: 4px solid currentColor;
  border-radius: 6px;
}

.paper-mini-icon::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  width: 12px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
  box-shadow: 0 7px 0 currentColor;
}

.chat-mini-icon::before,
.chat-mini-icon::after {
  content: "";
  position: absolute;
  border: 4px solid currentColor;
  border-radius: 50%;
}

.chat-mini-icon::before {
  left: 1px;
  top: 5px;
  width: 20px;
  height: 17px;
}

.chat-mini-icon::after {
  right: 1px;
  top: 1px;
  width: 21px;
  height: 19px;
  background: rgba(255, 255, 255, 0.42);
}

.footerBox {
  position: relative;
  z-index: 2;
}

@media (max-width: 430px) {
  .juji-home {
    padding-left: 14px;
    padding-right: 14px;
  }

  .juji-brand-copy h1 {
    font-size: 23px;
  }

  .juji-brand-copy p {
    font-size: 13px;
  }

  .juji-mascot {
    right: -18px;
    transform: scale(0.9);
    transform-origin: top right;
  }

  .juji-search-panel {
    border-radius: 25px;
    padding: 14px 13px 16px;
  }

  .juji-search {
    grid-template-columns: 35px 1fr 54px;
    height: 64px;
    padding-left: 16px;
  }

  .search-submit {
    width: 50px;
    height: 50px;
  }

  .juji-search input {
    font-size: 15px;
  }

  .juji-info-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    grid-template-columns: 56px 1fr;
    padding-left: 9px;
  }

  .juji-action-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 700px) {
  body:has(.juji-home) {
    padding: 28px 0;
  }

  .juji-home {
    min-height: calc(100vh - 56px);
    border-radius: 34px;
  }

  .juji-bottom-nav {
    bottom: 0;
    border-radius: 32px;
  }
}

@media (min-width: 960px) {
  body:has(.juji-home) {
    min-width: 960px;
    min-height: 100vh;
    padding: 0;
  }

  .juji-home {
    width: min(1220px, calc(100% - 64px));
    min-height: calc(100vh - 72px);
    margin: 36px auto;
    padding: 38px 38px 112px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) 390px;
    grid-template-areas:
      "hero info"
      "search info"
      "search stats"
      "actions actions"
      "recommend recommend";
    gap: 18px;
    border-radius: 36px;
    background:
      radial-gradient(circle at 8% 5%, rgba(255, 255, 255, 0.95), transparent 20%),
      radial-gradient(circle at 86% 16%, rgba(87, 190, 255, 0.22), transparent 24%),
      linear-gradient(135deg, rgba(238, 247, 255, 0.96), rgba(250, 252, 255, 0.98));
  }

  .juji-home::after {
    width: 420px;
    height: 420px;
    right: -110px;
    top: -90px;
  }

  .juji-hero {
    grid-area: hero;
    min-height: 236px;
    height: auto;
    display: flex;
    align-items: center;
    padding: 22px 26px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(229, 244, 255, 0.52));
    border: 1px solid rgba(120, 162, 230, 0.18);
    box-shadow: var(--juji-inner), 0 18px 38px rgba(62, 111, 202, 0.12);
  }

  .juji-brand {
    padding: 0;
    gap: 22px;
  }

  .juji-brand-mark {
    width: 70px;
    height: 88px;
  }

  .juji-brand-mark span {
    font-size: 82px;
  }

  .juji-brand-mark img {
    width: 74px;
    height: 74px;
  }

  .juji-brand-mark::after {
    right: -1px;
    bottom: 9px;
    width: 30px;
    height: 14px;
  }

  .juji-brand-copy h1 {
    font-size: clamp(34px, 4vw, 56px);
    line-height: 0.98;
  }

  .juji-brand-copy p {
    margin-top: 16px;
    font-size: 18px;
  }

  .juji-mascot {
    top: 35px;
    right: 34px;
    transform: scale(1.28);
    transform-origin: top right;
  }

  .juji-search-panel {
    grid-area: search;
    align-self: start;
    margin: 0;
    padding: 24px;
    border-radius: 32px;
  }

  .juji-search-tabs {
    height: 50px;
    margin-bottom: 14px;
  }

  .juji-search-tabs button {
    height: 42px;
    min-width: 118px;
    font-size: 16px;
  }

  .juji-search {
    grid-template-columns: 46px 1fr 68px;
    height: 78px;
  }

  .juji-search input {
    font-size: 20px;
  }

  .search-submit {
    width: 62px;
    height: 62px;
  }

  .juji-info-grid {
    grid-area: info;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0;
  }

  .hot-searches,
  .heat-rank {
    min-height: 0;
    padding: 18px;
    border-radius: 22px;
  }

  .juji-card h2,
  .recommend-head h2 {
    font-size: 18px;
  }

  .chip-list {
    max-height: none;
    gap: 8px;
  }

  .chip-list a {
    height: 30px;
    padding: 0 14px;
    font-size: 13px;
  }

  .heat-rank li a {
    min-height: 31px;
    font-size: 14px;
  }

  .juji-stat-row {
    grid-area: stats;
    margin: 0;
  }

  .stat-card {
    min-height: 84px;
    border-radius: 24px;
  }

  .juji-action-row {
    grid-area: actions;
    margin: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .need-card,
  .chat-card {
    min-height: 92px;
    padding: 22px 24px;
    border-radius: 24px;
  }

  .need-card strong,
  .chat-card strong {
    font-size: 24px;
  }

  .recommend {
    grid-area: recommend;
    margin: 0;
    padding: 20px;
    border-radius: 28px;
  }

  .recommend-head {
    margin-bottom: 15px;
  }

  .recommend-head h2 {
    font-size: 24px;
  }

  .category-tabs {
    gap: 10px;
    margin-bottom: 14px;
  }

  .category-tabs a {
    height: 36px;
    padding: 0 18px;
    font-size: 14px;
  }

  .recommend-layout {
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
    gap: 14px;
  }

  .feature-card {
    min-height: 260px;
    padding: 170px 20px 20px;
    border-radius: 20px;
  }

  .feature-card h3 {
    font-size: 38px;
  }

  .feature-card p {
    font-size: 15px;
  }

  .side-list {
    gap: 12px;
  }

  .mini-card {
    min-height: 124px;
    grid-template-columns: 122px minmax(0, 1fr) 36px;
    gap: 14px;
    padding: 12px 12px 12px 0;
    border-radius: 18px;
  }

  .mini-card::before {
    width: 122px;
    height: 100px;
    border-radius: 14px;
  }

  .mini-card h3 {
    font-size: 18px;
  }

  .mini-card p,
  .mini-card small {
    font-size: 12px;
  }

  .poster-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
  }

  .poster-card {
    min-height: 150px;
    padding: 88px 13px 13px;
    border-radius: 18px;
  }

  .poster-card h3 {
    font-size: 18px;
  }

  .juji-bottom-nav {
    position: absolute;
    left: 38px;
    right: 38px;
    bottom: 24px;
    width: auto;
    height: 66px;
    grid-template-columns: repeat(auto-fit, minmax(92px, 132px));
    justify-content: center;
    padding: 8px 14px;
    border-radius: 28px;
    transform: none;
  }
}
