/* Historical shared component and early fidelity layers kept in original cascade order. */

/* image2 hifi pass: shared cinematic H5 components */
:root {
  --app-bg: #070808;
  --app-panel: #151718;
  --app-panel-2: #1c1f20;
  --app-line: rgba(255, 255, 255, .075);
  --app-card-glow: 0 1.125rem 2.75rem rgba(0, 0, 0, .52);
}

body {
  background:
    radial-gradient(circle at 50% -7.5rem, rgba(240, 90, 61, .11), transparent 18.75rem),
    linear-gradient(180deg, #090a0a 0, #050606 100%);
}

.app-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .018), transparent 16.25rem),
    #070808;
}

.app-header {
  padding: 1.125rem 0.875rem 0.5rem;
}

.app-header-sticky {
  background: rgba(7, 8, 8, .94);
}

.app-brand {
  margin-bottom: 1rem;
}

.app-brand strong {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f7f4ec;
}

.app-brand span {
  color: #ff6656;
  font-size: 0.875rem;
  letter-spacing: 0;
}

.app-brand span i {
  font-style: normal;
}

.app-search {
  position: relative;
  grid-template-columns: minmax(0, 1fr) 3.25rem;
  gap: 0.625rem;
}

.app-search-icon {
  position: absolute;
  left: 1rem;
  top: 1.0625rem;
  z-index: 1;
  width: 1rem;
  height: 1rem;
  border: 0.125rem solid rgba(247, 244, 236, .58);
  border-radius: 62.4375rem;
}

.app-search input {
  height: 3.25rem;
  border: 0;
  border-radius: 0.5rem;
  padding: 0 1rem 0 2.75rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035));
  color: #f7f4ec;
  font-size: 0.9375rem;
}

.app-search input::placeholder {
  color: rgba(247, 244, 236, .48);
}

.app-search button {
  height: 3.25rem;
  border: 1px solid #ff6656;
  border-radius: 0.5rem;
  background: rgba(255, 102, 86, .08);
  color: #ff6656;
}

.app-main {
  padding: 0 0.875rem;
}

.app-feature-strip {
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-bottom: 0.75rem;
}

.app-feature-card {
  flex-basis: 60%;
  width: 60%;
  min-width: 0;
  aspect-ratio: 1.45 / 1;
  border-color: rgba(255, 255, 255, .11);
  border-radius: 0.5rem;
  box-shadow: var(--app-card-glow);
}

.app-feature-card:first-child {
  flex-basis: 52%;
}

.app-feature-card:nth-child(2) {
  flex-basis: 37%;
}

.app-feature-card::after {
  inset: 20% 0 0;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, .9)),
    linear-gradient(90deg, rgba(0, 0, 0, .34), transparent);
}

.app-feature-badge {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.1875rem;
  width: auto;
  right: auto;
  bottom: auto;
  padding: 0.25rem 0.4375rem;
  border-radius: 0.375rem;
  background: #ff6656;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
}

.app-feature-copy {
  position: absolute;
  left: 0.625rem;
  right: 0.625rem;
  bottom: 0.5rem;
  z-index: 2;
}

.app-feature-card strong {
  color: #f7f4ec;
  font-size: 1.125rem;
  font-weight: 700;
}

.app-feature-card .app-feature-badge strong,
.app-feature-card .app-feature-badge small,
.app-feature-card .app-feature-badge em {
  display: initial;
  margin: 0;
  font-size: inherit;
}

.app-feature-card small {
  color: rgba(247, 244, 236, .7);
  font-size: 0.75rem;
}

.app-feature-card em,
.app-poster b {
  display: block;
  margin-top: 0.3125rem;
  color: #ff6656;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
}

.app-chip-row,
.app-filter-row {
  gap: 0.625rem;
  padding-bottom: 0.5rem;
}

.app-chip-row {
  margin: 0.375rem 0 0.875rem;
}

.app-chip-row a,
.app-filter-row a {
  min-height: 2.625rem;
  padding: 0.6875rem 1.125rem;
  border-radius: 62.4375rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035));
  color: #f7f4ec;
  font-size: 0.875rem;
  font-weight: 600;
}

.app-chip-row a.is-active,
.app-filter-row a.is-active {
  background: linear-gradient(180deg, #ff6b60, #ff5247);
  border-color: transparent;
}

.app-section {
  margin-top: 1.125rem;
}

.app-section-title {
  margin-bottom: 0.625rem;
}

.app-section h1,
.app-section h2 {
  color: #f7f4ec;
  font-size: 1.125rem;
  font-weight: 700;
}

.app-card-row {
  gap: 0.625rem;
}

.app-latest-row {
  display: flex;
  gap: 0.625rem;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.app-latest-row::-webkit-scrollbar {
  display: none;
}

.app-card-row .app-poster-card,
.app-latest-row .app-poster-card {
  flex: 0 0 6.5rem;
}

.app-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 0.75rem;
}

.app-poster,
.app-recommend-cover {
  border: 0;
  border-radius: 0.375rem;
  box-shadow: 0 0.875rem 1.875rem rgba(0, 0, 0, .38);
}

.app-poster {
  aspect-ratio: 3 / 4.15;
}

.app-poster-shade {
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .9));
}

.app-poster em,
.app-poster b,
.app-comment-count,
.app-recommend-cover em {
  z-index: 2;
}

.app-poster em {
  right: auto;
  max-width: calc(100% - 0.75rem);
  background: rgba(0, 0, 0, .7);
}

.app-poster b {
  position: absolute;
  right: 0.4375rem;
  bottom: 0.4375rem;
  margin: 0;
}

.app-poster-card strong,
.app-recommend-card strong {
  min-height: 0;
  margin-top: 0.4375rem;
  color: #f7f4ec;
  font-size: 0.8125rem;
  line-height: 1.125rem;
  font-weight: 600;
}

.app-poster-card small,
.app-recommend-card small {
  color: rgba(247, 244, 236, .58);
  font-size: 0.75rem;
}

.app-recommend-card {
  flex: 0 0 5.75rem;
}

.app-recommend-cover {
  position: relative;
  aspect-ratio: 1;
}

.app-recommend-cover em {
  position: absolute;
  left: 0.375rem;
  bottom: 0.375rem;
  max-width: calc(100% - 0.75rem);
  overflow: hidden;
  color: #f7f4ec;
  font-size: 0.6875rem;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.app-detail-main {
  padding-top: 1rem;
}

.app-back-icon {
  width: 2.125rem;
  min-height: 2.125rem;
  margin: 0 0 0.875rem;
  font-size: 0;
}

.app-detail-head {
  grid-template-columns: 38% minmax(0, 1fr);
  gap: 1.125rem;
  align-items: start;
}

.app-detail-poster {
  border: 0;
  border-radius: 0.5rem;
  box-shadow: var(--app-card-glow);
}

.app-detail-meta h1 {
  margin-top: 0.125rem;
  color: #f7f4ec;
  font-size: 1.75rem;
  font-weight: 700;
}

.app-tags span {
  padding: 0.4375rem 0.625rem;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, .07);
  color: rgba(247, 244, 236, .76);
  font-size: 0.8125rem;
}

.app-update {
  margin-top: 0.875rem;
  color: #35c5a4;
  font-size: 0.875rem;
}

.app-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.app-action-btn {
  flex: 1 1 auto;
  min-width: 5.875rem;
  height: 2.875rem;
  border-color: rgba(255, 102, 86, .72);
  border-radius: 0.5rem;
  background: rgba(255, 102, 86, .07);
  color: #ff6656;
  font-size: 0.875rem;
  font-weight: 700;
}

.app-action-btn:nth-child(3) {
  border-color: transparent;
  background: rgba(255, 255, 255, .07);
  color: #f7f4ec;
}

.app-action-btn em {
  color: inherit;
}

.app-desc,
.app-line {
  color: rgba(247, 244, 236, .76);
  font-size: 0.875rem;
  line-height: 1.75;
}

.app-still-row,
.app-cast-row {
  display: flex;
  gap: 0.625rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.app-still-row::-webkit-scrollbar,
.app-cast-row::-webkit-scrollbar {
  display: none;
}

.app-still-card {
  flex: 0 0 8.875rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.375rem;
  background: var(--app-panel);
}

.app-still-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-cast-card {
  flex: 0 0 6rem;
  display: grid;
  justify-items: center;
  gap: 0.3125rem;
  padding: 0.5rem 0.5rem 0.625rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, .045);
}

.app-cast-card i {
  display: grid;
  place-items: center;
  width: 4.375rem;
  height: 4.375rem;
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at 50% 23%, rgba(247, 244, 236, .42) 0 0.8125rem, transparent 0.875rem),
    radial-gradient(circle at 50% 72%, rgba(247, 244, 236, .26) 0 1.375rem, transparent 1.4375rem),
    linear-gradient(145deg, rgba(53, 197, 164, .3), rgba(255, 102, 86, .12));
  color: rgba(247, 244, 236, .78);
  font-style: normal;
  font-weight: 700;
}

.app-cast-card strong {
  max-width: 100%;
  overflow: hidden;
  color: #f7f4ec;
  font-size: 0.8125rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.app-cast-card small {
  color: rgba(247, 244, 236, .58);
  font-size: 0.75rem;
}

.app-episode-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.375rem;
}

.app-episode-grid a,
.app-episode-grid button {
  height: 2.75rem;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, .06);
  font-size: 0.9375rem;
}

.app-episode-grid a:first-child {
  border-color: #ff6656;
  color: #ff6656;
}

.app-intel-hot-list {
  gap: 0;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .028));
}

.app-intel-hot-list a {
  grid-template-columns: 4.25rem minmax(0, 1fr) 3.625rem;
  min-height: 5.25rem;
  padding: 0.625rem 0 0.625rem 2.25rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.app-intel-hot-list a::before {
  left: 0;
  top: 0.8125rem;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 0.375rem;
  background: linear-gradient(180deg, #ff6b60, #e2493e);
  color: #fff;
  font-weight: 700;
}

.app-intel-hot-list img {
  width: 4.25rem;
  height: 3.375rem;
}

.app-intel-hot-thumb {
  grid-row: 1 / 3;
  width: 4.25rem;
  height: 3.375rem;
  border-radius: 0.4375rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 102, 86, .45), transparent 28%),
    radial-gradient(circle at 68% 60%, rgba(53, 197, 164, .34), transparent 32%),
    linear-gradient(145deg, #2b201d, #101516);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.app-intel-hot-list strong {
  color: #f7f4ec;
  font-size: 0.9375rem;
  line-height: 1.25rem;
}

.app-intel-hot-list b {
  color: #ff6656;
  font-size: 0.8125rem;
}

.app-intel-card {
  padding: 0.875rem;
  border: 0;
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, .06), transparent 45%),
    linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
}

.app-intel-card.has-media {
  grid-template-columns: minmax(0, 1fr) 8.25rem;
}

.app-intel-card:not(.has-media)::after {
  content: "";
  grid-column: 1 / -1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 102, 86, .55), transparent);
  opacity: .5;
}

.app-intel-card-main {
  gap: 0.4375rem;
}

.app-intel-card-main strong {
  color: #f7f4ec;
  font-size: 1rem;
  line-height: 1.375rem;
}

.app-intel-card-main em {
  color: rgba(247, 244, 236, .72);
  font-size: 0.8125rem;
  line-height: 1.25rem;
}

.app-intel-card-media {
  width: 8.25rem;
  border: 0;
  border-radius: 0.375rem;
}

.app-intel-meta {
  gap: 0.5rem;
  color: rgba(247, 244, 236, .58);
}

.app-intel-meta b {
  border-radius: 0.375rem;
  background: rgba(53, 197, 164, .16);
}

.app-intel-detail {
  padding-top: 0.25rem;
}

.app-intel-detail h1 {
  font-size: 1.5rem;
  color: #f7f4ec;
}

.app-media-grid {
  gap: 0.375rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.app-media-preview {
  border: 0;
  border-radius: 0;
}

.app-comment-preview {
  padding: 0.875rem;
  border: 0;
  border-radius: 0.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .028));
}

.app-comment-preview .app-section-title h2 {
  color: #f7f4ec;
}

.app-comment-preview-item {
  grid-template-columns: 2.125rem minmax(0, 1fr) 3.25rem;
}

.app-comment-preview-item strong {
  color: #35c5a4;
}

.app-inline-comment-input {
  border: 0;
  background: rgba(255, 255, 255, .06);
}

.app-comment-backdrop {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, .78)),
    rgba(0, 0, 0, .7);
}

.app-comment-sheet {
  max-height: 82vh;
  border: 0;
  border-radius: 1.125rem 1.125rem 0 0;
  background:
    radial-gradient(circle at 20% 0, rgba(255, 255, 255, .08), transparent 42%),
    linear-gradient(160deg, #1a1e20, #101213);
}

.app-comment-grabber {
  width: 3.25rem;
  height: 0.3125rem;
  margin: 0.75rem auto 0;
  border-radius: 62.4375rem;
  background: rgba(255, 255, 255, .2);
}

.app-comment-sheet header {
  padding: 0.75rem 0.875rem 1rem;
  border: 0;
}

.app-comment-sheet header strong {
  color: #f7f4ec;
  font-size: 1.375rem;
}

.app-comment-sheet header strong em {
  color: #ff6656;
  font-style: normal;
}

.app-comment-sheet header button {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 62.4375rem;
  background: transparent;
  color: #f7f4ec;
  font-size: 1.875rem;
  line-height: 1;
}

.app-comment-list {
  gap: 0.875rem;
  padding: 0 0.875rem 0.875rem;
}

.app-comment-item {
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.875rem;
  border: 0;
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, .07), transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .028));
}

.app-comment-avatar,
.app-comment-avatar img,
.app-comment-avatar span {
  width: 2.5rem;
  height: 2.5rem;
}

.app-comment-item strong {
  color: #f7f4ec;
  font-size: 0.9375rem;
}

.app-comment-item p {
  margin-top: 0.5rem;
  color: #f7f4ec;
  font-size: 0.9375rem;
}

.app-comment-item small {
  color: #ff6656;
  font-size: 0.875rem;
  font-weight: 700;
}

.app-comment-form {
  grid-template-columns: minmax(0, 1fr) 4.875rem;
  gap: 0.625rem;
  padding: 0.75rem 0.875rem calc(0.75rem + var(--app-safe-bottom));
  border: 0;
  background: rgba(16, 18, 19, .98);
}

.app-comment-form textarea {
  min-height: 3rem;
  border: 0;
  border-radius: 62.4375rem;
  padding: 0.875rem 1.125rem;
  resize: none;
  background: rgba(255, 255, 255, .08);
}

.app-comment-form button {
  height: 3rem;
  border-radius: 62.4375rem;
  background: linear-gradient(180deg, #ff6b60, #ff5247);
  font-size: 1rem;
}

.app-bottom-nav {
  padding: 0.625rem 1.125rem calc(0.625rem + var(--app-safe-bottom));
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-radius: 1.125rem 1.125rem 0 0;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, .08), transparent 48%),
    rgba(18, 19, 20, .96);
}

.app-bottom-nav a {
  height: 3rem;
  color: rgba(247, 244, 236, .58);
  font-size: 0.75rem;
}

.app-bottom-nav a.is-active {
  background: transparent;
  color: #ff6656;
  font-weight: 700;
}

@media (min-width: 460px) {
  .app-feature-card {
    flex-basis: 46%;
  }

  .app-feature-card:first-child {
    flex-basis: 42%;
  }

  .app-feature-card:nth-child(2) {
    flex-basis: 32%;
  }
}

/* image2 fidelity pass 02: unify H5 screens to the generated cinematic system */
:root {
  --h5-bg: #050606;
  --h5-surface: #141617;
  --h5-surface-soft: #1a1d1e;
  --h5-text: #f7f4ec;
  --h5-muted: rgba(247, 244, 236, .62);
  --h5-dim: rgba(247, 244, 236, .42);
  --h5-red: #ff5b50;
  --h5-red-dark: #24100f;
  --h5-green: #18c7b0;
  --h5-radius-sm: 0.375rem;
  --h5-radius-md: 0.5rem;
  --h5-radius-lg: 0.75rem;
  --h5-shadow: 0 1.25rem 3.25rem rgba(0, 0, 0, .58);
}

body {
  background:
    radial-gradient(circle at 52% -11.25rem, rgba(255, 91, 80, .13), transparent 20.625rem),
    radial-gradient(circle at 16% 33.75rem, rgba(24, 199, 176, .045), transparent 16.25rem),
    var(--h5-bg);
}

.app-shell {
  padding-bottom: calc(6.5rem + var(--app-safe-bottom));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .022), transparent 13.75rem),
    var(--h5-bg);
}

.app-header {
  padding: 1.375rem 0.875rem 0.625rem;
}

.app-main {
  padding: 0 0.875rem 1.75rem;
}

.app-brand {
  align-items: center;
  margin-bottom: 1.125rem;
}

.app-brand strong {
  font-size: 1.75rem;
  line-height: 1;
}

.app-brand span {
  color: var(--h5-red);
  font-size: 0.875rem;
}

.app-search {
  grid-template-columns: minmax(0, 1fr) 3.25rem;
}

.app-search input,
.app-search button,
.app-chip-row a,
.app-filter-row a,
.app-action-btn,
.app-episode-grid a,
.app-episode-grid button {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
}

.app-feature-strip {
  gap: 0.5rem;
  margin-top: 0.5rem;
  margin-right: -0.875rem;
  padding-right: 0.875rem;
}

.app-feature-card {
  flex: 0 0 40%;
  aspect-ratio: 1.42 / 1;
  border: 1px solid rgba(255, 255, 255, .095);
  border-radius: var(--h5-radius-md);
  background: var(--h5-surface);
}

.app-feature-card:first-child {
  flex-basis: 52%;
}

.app-feature-card:nth-child(2) {
  flex-basis: 38%;
}

.app-feature-card strong {
  font-size: 1.0625rem;
  line-height: 1.3125rem;
}

.app-feature-badge {
  top: 0.5625rem;
  left: 0.5625rem;
  border-radius: var(--h5-radius-sm);
}

.app-chip-row {
  margin-top: 0.5rem;
  margin-right: -0.875rem;
  padding-right: 0.875rem;
}

.app-chip-row a,
.app-filter-row a {
  min-height: 2.5rem;
  padding: 0.625rem 1.125rem;
}

.app-section {
  margin-top: 1.5rem;
}

.app-section-title {
  margin-bottom: 0.75rem;
}

.app-section-title h1,
.app-section-title h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
}

.app-section-title a,
.app-section-title span {
  color: var(--h5-muted);
}

.app-card-row,
.app-latest-row {
  margin-right: -0.875rem;
  padding-right: 0.875rem;
}

.app-card-row .app-poster-card,
.app-latest-row .app-poster-card {
  flex-basis: 6.5rem;
}

.app-poster,
.app-recommend-cover,
.app-detail-poster {
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, .08), transparent 34%),
    #070808;
}

.app-poster-card strong,
.app-recommend-card strong {
  color: var(--h5-text);
}

.app-detail-main {
  padding-top: 1.25rem;
}

.app-back-link {
  color: var(--h5-muted);
}

.app-back-icon {
  display: inline-grid;
  place-items: center;
}

.app-detail-head {
  grid-template-columns: 34% minmax(0, 1fr);
  gap: 0.875rem;
}

.app-detail-meta h1 {
  font-size: 1.375rem;
  line-height: 1.2;
}

.app-tags {
  gap: 0.375rem;
}

.app-tags span {
  background: rgba(255, 255, 255, .07);
  color: var(--h5-muted);
}

.app-action-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.app-action-btn {
  min-width: 0;
  height: 2.625rem;
  border: 1px solid rgba(255, 91, 80, .72);
  border-radius: var(--h5-radius-md);
  background: rgba(255, 91, 80, .08);
  color: var(--h5-red);
  padding: 0 0.3125rem;
  gap: 0.1875rem;
  font-size: 0.75rem;
}

.app-action-btn:nth-child(3) {
  border-color: transparent;
  background: rgba(255, 255, 255, .07);
  color: var(--h5-text);
}

.app-detail-meta .app-action-btn span {
  overflow: visible;
  font-size: 0.75rem;
  line-height: 1;
  white-space: nowrap;
  text-overflow: clip;
}

.app-detail-meta .app-action-btn em {
  font-size: 0.75rem;
  line-height: 1;
}

.app-still-row,
.app-cast-row {
  margin-right: -0.875rem;
  padding-right: 0.875rem;
}

.app-still-card {
  flex-basis: 8.875rem;
  border-radius: var(--h5-radius-sm);
}

.app-cast-card {
  flex-basis: 5.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .028));
}

.app-cast-card i {
  width: 3.5rem;
  height: 3.5rem;
}

.app-episode-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4375rem;
}

.app-intel-hot-list {
  display: grid;
  gap: 0;
  padding: 0.75rem;
  border-radius: var(--h5-radius-md);
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, .06), transparent 48%),
    linear-gradient(145deg, rgba(255, 255, 255, .072), rgba(255, 255, 255, .027));
}

.app-intel-hot-list a {
  grid-template-columns: 4.375rem minmax(0, 1fr) 3.625rem;
  grid-template-rows: auto auto;
  min-height: 4.875rem;
  padding: 0.625rem 0 0.625rem 2.375rem;
  column-gap: 0.75rem;
}

.app-intel-hot-list li + li a {
  border-top: 1px solid rgba(255, 255, 255, .055);
}

.app-intel-hot-list img,
.app-intel-hot-thumb {
  width: 4.375rem;
  height: 3.5rem;
  border-radius: var(--h5-radius-sm);
}

.app-intel-hot-list small {
  color: var(--h5-muted);
}

.app-intel-feed {
  gap: 0.625rem;
}

.app-intel-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8.25rem;
  gap: 0.625rem 0.75rem;
  min-height: 6.75rem;
  padding: 0.875rem;
  overflow: hidden;
  border-radius: var(--h5-radius-md);
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, .065), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .029));
  box-shadow: 0 0.625rem 1.75rem rgba(0, 0, 0, .22);
}

.app-intel-card-compact {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}

.app-intel-card.has-media {
  grid-template-columns: minmax(0, 1fr) 8.25rem;
}

.app-intel-card:not(.has-media)::after {
  display: none;
}

.app-intel-card-main {
  align-self: start;
  padding-left: 1.125rem;
}

.app-message-dot {
  top: 0.625rem;
  width: 0.4375rem;
  height: 0.4375rem;
}

.app-intel-card-main strong {
  font-size: 1rem;
  line-height: 1.375rem;
}

.app-intel-card-main em {
  -webkit-line-clamp: 2;
  color: rgba(247, 244, 236, .72);
}

.app-intel-card-media {
  width: 8.25rem;
  align-self: stretch;
  min-height: 5.125rem;
  border-radius: var(--h5-radius-sm);
  background: #080909;
}

.app-intel-card-media.is-generated {
  background:
    linear-gradient(135deg, rgba(255, 91, 80, .1), transparent 42%),
    #111414;
}

.app-intel-media-fallback {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 5.125rem;
  background:
    radial-gradient(circle at 28% 28%, rgba(255, 91, 80, .45), transparent 18%),
    radial-gradient(circle at 66% 64%, rgba(24, 199, 176, .36), transparent 24%),
    linear-gradient(145deg, #2d201d, #111617);
}

.app-intel-card-media b {
  position: absolute;
  right: 0.375rem;
  top: 0.375rem;
  z-index: 2;
  padding: 0.125rem 0.375rem;
  border-radius: 62.4375rem;
  background: rgba(0, 0, 0, .68);
  color: var(--h5-text);
  font-size: 0.6875rem;
}

.app-intel-meta {
  grid-column: 1 / -1;
  padding-left: 1.125rem;
}

.app-intel-detail {
  gap: 1rem;
}

.app-intel-detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.375rem;
}

.app-intel-detail-topbar .app-back-icon {
  margin: 0;
}

.app-intel-detail-topbar button {
  border: 0;
  background: transparent;
  color: var(--h5-muted);
  font-size: 1.5rem;
  letter-spacing: 0.25rem;
}

.app-intel-detail-meta {
  gap: 0.5rem;
}

.app-intel-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, .06);
  color: var(--h5-muted);
}

.app-intel-detail-meta span:nth-child(2) {
  color: var(--h5-red);
}

.app-intel-body-card {
  padding: 1rem 0.875rem 0.875rem;
  border-radius: var(--h5-radius-lg);
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, .07), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .028));
}

.app-intel-body-card h1 {
  margin-bottom: 0.625rem;
  font-size: 1.375rem;
  line-height: 1.36;
}

.app-intel-body {
  color: rgba(247, 244, 236, .88);
  font-size: 0.9375rem;
  line-height: 1.82;
}

.app-media-grid {
  margin-top: 0.875rem;
  grid-template-columns: 1.38fr .62fr .62fr;
  gap: 0.375rem;
  border-radius: var(--h5-radius-md);
}

.app-media-preview {
  min-height: 5.125rem;
}

.app-media-grid .app-media-preview:first-child {
  min-height: 13.125rem;
}

.app-comment-preview {
  padding: 0.875rem;
  border-radius: var(--h5-radius-lg);
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, .07), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .028));
}


.app-comment-preview-list {
  gap: 0;
}

.app-comment-preview-item {
  grid-template-columns: 2.375rem minmax(0, 1fr) 3.625rem;
  gap: 0.625rem;
  padding: 0.625rem 0;
}

.app-comment-preview-item strong {
  color: var(--h5-text);
}

.app-comment-preview-item strong em {
  margin-left: 0.3125rem;
  color: var(--h5-dim);
}

.app-comment-preview-item p {
  color: rgba(247, 244, 236, .82);
}

.app-comment-preview-item small {
  color: var(--h5-red);
  font-size: 0.8125rem;
}

.app-inline-comment-input {
  min-height: 3rem;
  border-radius: 62.4375rem;
}

.app-comment-backdrop {
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, .08), transparent 16.25rem),
    rgba(0, 0, 0, .72);
  backdrop-filter: blur(0.375rem);
}

.app-comment-sheet {
  max-height: 84vh;
  min-height: 72vh;
  border-radius: 1.125rem 1.125rem 0 0;
}

.app-comment-sheet header {
  padding: 0.875rem 1rem 1rem;
}

.app-comment-sheet header strong {
  font-size: 1.375rem;
}

.app-comment-list {
  gap: 1rem;
  padding: 0 1rem 1rem;
}

.app-comment-item {
  grid-template-columns: 2.625rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.875rem;
  border-radius: var(--h5-radius-lg);
}

.app-comment-avatar,
.app-comment-avatar img,
.app-comment-avatar span {
  width: 2.625rem;
  height: 2.625rem;
}

.app-comment-item strong::after {
  content: " Lv.2";
  margin-left: 0.4375rem;
  padding: 0.125rem 0.4375rem;
  border-radius: 62.4375rem;
  background: rgba(24, 199, 176, .22);
  color: var(--h5-green);
  font-size: 0.75rem;
  font-weight: 700;
}

.app-comment-item small {
  margin-top: 0.75rem;
}

.app-comment-form {
  grid-template-columns: minmax(0, 1fr) 5.375rem;
  padding: 0.875rem 1rem calc(0.875rem + var(--app-safe-bottom));
}

.app-comment-form textarea,
.app-comment-form button {
  min-height: 3.25rem;
}

.app-bottom-nav {
  padding: 0.625rem 1.25rem calc(0.75rem + var(--app-safe-bottom));
  border-radius: 1.125rem 1.125rem 0 0;
  box-shadow: 0 -0.875rem 2.375rem rgba(0, 0, 0, .42);
}

.app-bottom-nav a {
  height: 3.125rem;
}

@media (max-width: 380px) {
  .app-intel-card,
  .app-intel-card.has-media {
    grid-template-columns: minmax(0, 1fr) 7rem;
  }

  .app-intel-card-media {
    width: 7rem;
  }

  .app-media-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* image2 fidelity pass 03: single SVG icon language across every H5 surface */
.app-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.app-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  vertical-align: -0.1875rem;
}

.app-brand span,
.app-feature-badge,
.app-feature-card em,
.app-poster b,
.app-action-btn span,
.app-comment-preview-item small,
.app-comment-form button,
.app-intel-detail-meta span,
.app-section-title h1,
.app-section-title h2,
.app-chip-row a {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
}

.app-brand span .app-icon,
.app-feature-badge .app-icon,
.app-section-title .app-icon,
.app-intel-detail-meta .app-icon {
  width: 1rem;
  height: 1rem;
  color: var(--h5-red);
}

.app-feature-badge .app-icon,
.app-brand span .app-icon,
.app-section-title h1 .app-icon,
.app-section-title h2 .app-icon,
.app-intel-detail-meta span:nth-child(2) .app-icon {
  fill: currentColor;
}

.app-search-icon {
  position: absolute;
  left: 1rem;
  top: 1.0625rem;
  z-index: 1;
  width: 1.125rem;
  height: 1.125rem;
  color: rgba(247, 244, 236, .58);
  border: 0;
}

.app-search button {
  display: grid;
  place-items: center;
}

.app-search button .app-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.app-back-icon {
  width: 2.125rem;
  min-height: 2.125rem;
  color: var(--h5-text);
}

.app-back-icon .app-icon {
  width: 1.875rem;
  height: 1.875rem;
  stroke-width: 2.2;
}

.app-bottom-nav a {
  display: grid;
  grid-template-rows: 1.375rem auto;
  gap: 0.25rem;
}

.app-bottom-nav a .app-icon {
  width: 1.375rem;
  height: 1.375rem;
  justify-self: center;
  stroke-width: 1.9;
}

.app-bottom-nav a span {
  font-size: 0.75rem;
  line-height: 0.875rem;
}

.app-poster b .app-icon {
  width: 0.75rem;
  height: 0.75rem;
  fill: currentColor;
  stroke-width: 1.8;
  vertical-align: -1px;
}

.app-action-btn span .app-icon {
  width: 0.9375rem;
  height: 0.9375rem;
  stroke-width: 2;
}

.app-action-btn.is-active .app-icon,
.app-action-btn:first-child .app-icon {
  fill: currentColor;
}

.app-intel-detail-topbar button {
  display: grid;
  place-items: center;
  width: 2.375rem;
  height: 2.375rem;
  padding: 0;
  letter-spacing: 0;
}

.app-intel-detail-topbar button .app-icon,
.app-comment-sheet header button .app-icon {
  width: 1.375rem;
  height: 1.375rem;
}

.app-comment-preview-item small .app-icon,
.app-comment-item small .app-icon {
  width: 0.9375rem;
  height: 0.9375rem;
  fill: currentColor;
}

.app-comment-form button {
  justify-content: center;
  gap: 0.375rem;
}

.app-comment-form button .app-icon {
  width: 1.0625rem;
  height: 1.0625rem;
}

/* image2 fidelity pass 04: keep SVG controls visible and clear fixed nav overlap */
.app-main {
  padding-bottom: calc(6.875rem + var(--app-safe-bottom));
}

.app-search button {
  display: grid;
  place-items: center;
  overflow: visible;
  font-size: 0;
  line-height: 1;
}

.app-search button .app-icon {
  display: block;
  width: 1.375rem;
  height: 1.375rem;
  color: currentColor;
  stroke: currentColor;
  opacity: 1;
}

/* image2 fidelity pass 05: resources page uses compact wide cards like the reference */
.app-resource-wide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.5rem;
}

.app-resource-wide-card {
  display: block;
  min-width: 0;
}

.app-resource-wide-cover {
  position: relative;
  display: block;
  aspect-ratio: 1.55 / 1;
  overflow: hidden;
  border-radius: 0.375rem;
  background: #070808;
  box-shadow: 0 0.625rem 1.375rem rgba(0, 0, 0, .38);
}

.app-resource-wide-cover em {
  position: absolute;
  left: 0.375rem;
  top: 0.375rem;
  z-index: 2;
  max-width: calc(100% - 0.75rem);
  padding: 0.1875rem 0.375rem;
  border-radius: 0.3125rem;
  background: linear-gradient(180deg, #ff6b60, #ff5247);
  color: #fff;
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 0.875rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.app-resource-wide-cover strong {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 1.8125rem;
  z-index: 2;
  overflow: hidden;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.125rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.app-resource-wide-cover small {
  position: absolute;
  left: 0.5rem;
  bottom: 0.75rem;
  z-index: 2;
  color: rgba(247, 244, 236, .72);
  font-size: 0.75rem;
  line-height: 0.875rem;
}

.app-resource-wide-cover b,
.app-resource-wide-cover .app-comment-count {
  position: absolute;
  z-index: 2;
  bottom: 0.625rem;
  display: inline-flex;
  align-items: center;
  gap: 0.1875rem;
  color: #ff6656;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 0.875rem;
}

.app-resource-wide-cover b {
  left: 3rem;
}

.app-resource-wide-cover .app-comment-count {
  right: 0.5rem;
  color: rgba(247, 244, 236, .76);
  font-style: normal;
}

.app-resource-wide-cover .app-icon {
  width: 0.75rem;
  height: 0.75rem;
  fill: currentColor;
  stroke-width: 1.8;
}

.app-resources-page .app-section-title h1,
.app-section-title h1 {
  font-size: 1.25rem;
  line-height: 1.5rem;
}

/* image2 fidelity pass 06: tighten oversized controls back to the scaled 941->375 design proportions */
.app-header {
  padding: 0.75rem 0.875rem 0.375rem;
}

.app-page-brand {
  margin-bottom: 0.5rem;
}

.app-page-brand strong {
  font-size: 1.375rem;
  line-height: 1.75rem;
}

.app-page-brand a {
  color: inherit;
}

.app-page-brand span {
  font-size: 0.75rem;
  line-height: 1rem;
}

.app-page-brand span .app-icon {
  width: 0.8125rem;
  height: 0.8125rem;
}

.app-search {
  grid-template-columns: minmax(0, 1fr) 2.25rem;
  gap: 0.5rem;
}

.app-search input {
  height: 1.875rem;
  border-radius: 0.375rem;
  padding: 0 0.625rem 0 1.875rem;
  font-size: 0.75rem;
}

.app-search-icon {
  left: 0.625rem;
  top: 0.5rem;
  width: 0.875rem;
  height: 0.875rem;
}

.app-search button {
  height: 1.875rem;
  border-radius: 0.375rem;
}

.app-search button .app-icon {
  width: 1rem;
  height: 1rem;
}

.app-filter-scroller {
  padding-top: 0.5rem;
}

.app-chip-row,
.app-filter-row {
  gap: 0.5rem;
  padding-bottom: 0.375rem;
}

.app-chip-row a,
.app-filter-row a {
  min-height: 1.5625rem;
  padding: 0.375rem 0.875rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  line-height: 0.8125rem;
}

.app-filter-row:first-child a {
  min-width: 3rem;
  justify-content: center;
}

.app-filter-row:nth-child(2) a {
  min-width: 2.375rem;
  justify-content: center;
}

.app-section {
  margin-top: 0.625rem;
}

.app-section-title {
  margin-bottom: 0.5rem;
}

.app-section-title h1,
.app-section-title h2,
.app-section h1,
.app-section h2 {
  font-size: 0.875rem;
  line-height: 1.125rem;
}

.app-section-title span,
.app-section-title a {
  font-size: 0.75rem;
  line-height: 1rem;
}

.app-resource-wide-grid {
  gap: 0.375rem 0.4375rem;
}

/* image2 fidelity pass 46: resource wide cards use flatter cinematic still ratio */
.app-resource-wide-cover {
  aspect-ratio: 1.6 / 1;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1.125rem rgba(0, 0, 0, .38);
}

.app-resource-wide-cover em {
  left: 0.3125rem;
  top: 0.3125rem;
  max-width: calc(100% - 0.625rem);
  padding: 0.1875rem 0.3125rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  line-height: 0.75rem;
}

.app-resource-wide-cover strong {
  left: 0.5rem;
  right: 0.5rem;
  bottom: 1.5rem;
  display: -webkit-box;
  max-height: 1.875rem;
  font-size: 0.8125rem;
  line-height: 1rem;
  white-space: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}

.app-resource-wide-cover small {
  left: 0.5rem;
  bottom: 0.9375rem;
  font-size: 0.6875rem;
  line-height: 0.75rem;
}

.app-resource-wide-cover b,
.app-resource-wide-cover .app-comment-count {
  top: auto;
  left: auto;
  right: auto;
  bottom: 0.375rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  gap: 0.125rem;
  font-size: 0.625rem;
  font-style: normal;
  line-height: 0.75rem;
}

.app-resource-wide-cover b {
  left: 0.5rem;
}

.app-resource-wide-cover .app-comment-count {
  right: 0.5rem;
  display: inline-flex;
  align-items: center;
}

.app-resource-wide-cover .app-icon {
  width: 0.625rem;
  height: 0.625rem;
}

.app-bottom-nav {
  left: max(0, calc((100vw - 32.5rem) / 2));
  right: max(0, calc((100vw - 32.5rem) / 2));
  width: auto;
  transform: none;
  padding: 0.4375rem 1rem calc(0.4375rem + var(--app-safe-bottom));
  border-radius: 0.75rem 0.75rem 0 0;
}

.app-bottom-nav a {
  height: 2.125rem;
  grid-template-rows: 1.0625rem auto;
  gap: 0.125rem;
}

.app-bottom-nav a .app-icon {
  width: 1.0625rem;
  height: 1.0625rem;
  stroke-width: 1.8;
}

.app-bottom-nav a span {
  font-size: 0.6875rem;
  line-height: 0.75rem;
}

/* image2 fidelity pass 74: restore home product-design scale from 01-home instead of compressed list density */
.app-home-page .app-header {
  padding-top: 0.75rem;
}

.app-home-page .app-brand {
  margin-bottom: 0.5rem;
}

.app-home-page .app-brand strong {
  font-size: 1.375rem;
  line-height: 1.75rem;
}

.app-home-page .app-brand span {
  font-size: 0.75rem;
  line-height: 1rem;
}

.app-home-page .app-brand span .app-icon {
  width: 0.8125rem;
  height: 0.8125rem;
}

.app-home-page .app-search input {
  height: 1.875rem;
}

.app-home-page .app-search button {
  height: 1.875rem;
}

.app-home-page .app-feature-strip {
  gap: 0.5rem;
  margin-top: 0.5rem;
  margin-right: -0.875rem;
  padding-right: 0.875rem;
  padding-bottom: 0.375rem;
}

.app-home-page .app-feature-card {
  flex: 0 0 50%;
  width: auto;
  aspect-ratio: 1.48 / 1;
  border-radius: 0.5rem;
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, .42);
}

.app-home-page .app-feature-card:first-child {
  flex-basis: 50%;
}

.app-home-page .app-feature-card:nth-child(n+2) {
  flex-basis: 35%;
}

.app-home-page .app-feature-badge {
  top: 0.3125rem;
  left: 0.3125rem;
  padding: 0.1875rem 0.3125rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  line-height: 0.75rem;
}

.app-home-page .app-feature-badge .app-icon {
  width: 0.625rem;
  height: 0.625rem;
}

.app-home-page .app-feature-copy {
  left: 0.625rem;
  right: 0.625rem;
  bottom: 0.5625rem;
}

.app-home-page .app-feature-card strong {
  font-size: 1rem;
  line-height: 1.25rem;
}

.app-home-page .app-feature-card small,
.app-home-page .app-feature-card em {
  font-size: 0.75rem;
  line-height: 0.9375rem;
}

.app-home-page .app-chip-row {
  gap: 0.4375rem;
  margin: 0 -0.875rem 0.25rem 0;
  padding-right: 0.875rem;
  padding-bottom: 0.3125rem;
}

.app-home-page .app-chip-row a {
  min-height: 1.375rem;
  padding: 0.3125rem 0.75rem;
  border-radius: 0.6875rem;
  font-size: 0.6875rem;
  line-height: 0.75rem;
}

.app-home-page .app-chip-row a .app-icon {
  width: 0.75rem;
  height: 0.75rem;
}

.app-home-page .app-section {
  margin-top: 0.75rem;
}

.app-home-page .app-section-title {
  margin-bottom: 0.5rem;
}

.app-home-page .app-section-title h2 {
  font-size: 1.125rem;
  line-height: 1.375rem;
}

.app-home-page .app-section-title a {
  font-size: 0.6875rem;
  line-height: 0.875rem;
}

.app-home-page .app-card-row,
.app-home-page .app-latest-row {
  gap: 0.625rem;
}

.app-home-page .app-home-featured-row .app-recommend-card {
  flex: 0 0 21%;
}

.app-home-page .app-home-featured-row .app-recommend-cover {
  aspect-ratio: 1 / 1.28;
  border-radius: 0.375rem;
}

.app-home-page .app-recommend-cover em {
  display: inline-flex;
  align-items: center;
  gap: 0.1875rem;
  max-width: calc(100% - 0.5rem);
}

.app-home-page .app-recommend-cover em .app-icon {
  width: 0.6875rem;
  height: 0.6875rem;
}

.app-home-page .app-home-featured-row .app-recommend-card small {
  display: none;
}

.app-home-page .app-poster {
  aspect-ratio: 1 / 1.28;
  border-radius: 0.375rem;
  box-shadow: 0 0.4375rem 1rem rgba(0, 0, 0, .32);
}

.app-home-page .app-poster em {
  left: 0.25rem;
  top: 0.25rem;
  max-width: calc(100% - 0.5rem);
  padding: 0.125rem 0.25rem;
  border-radius: 0.1875rem;
  font-size: 0.5625rem;
  line-height: 0.6875rem;
}

.app-home-page .app-poster b,
.app-home-page .app-poster .app-comment-count {
  font-size: 0.5625rem;
  line-height: 0.6875rem;
}

.app-home-page .app-poster b {
  left: 0.3125rem;
  bottom: 0.3125rem;
}

.app-home-page .app-poster .app-icon {
  width: 0.5625rem;
  height: 0.5625rem;
}

.app-home-page .app-poster-card strong,
.app-home-page .app-recommend-card strong {
  height: auto;
  margin-top: 0.4375rem;
  font-size: 0.8125rem;
  line-height: 1.125rem;
  -webkit-line-clamp: 1;
}

.app-home-page .app-poster-card small,
.app-home-page .app-recommend-card small {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

.app-home-page .app-latest-row .app-poster-card {
  flex: 0 0 21%;
}

.app-home-page .app-intel-feed {
  gap: 0.3125rem;
}

.app-home-page .app-intel-card-compact {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.4375rem 0.625rem 0.4375rem 2.75rem;
  border-radius: 0.5rem;
  box-shadow: none;
}

.app-home-page .app-recommend-intel-dot {
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: 62.4375rem;
  background: #ff6656;
  transform: translateY(-50%);
}

.app-home-page .app-recommend-intel-media {
  width: 4.25rem;
  height: 2.25rem;
  overflow: hidden;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, .08);
}

.app-home-page .app-recommend-intel-media img,
.app-home-page .app-recommend-intel-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-home-page .app-recommend-intel-media.is-generated .app-intel-media-fallback {
  min-height: 2.25rem;
}

.app-home-page .app-intel-card-main {
  gap: 0.1875rem;
  padding-left: 0;
}

.app-home-page .app-message-dot {
  top: 0.375rem;
  width: 0.25rem;
  height: 0.25rem;
}

.app-home-page .app-intel-card-main strong {
  font-size: 0.875rem;
  line-height: 1.125rem;
  -webkit-line-clamp: 1;
}

.app-home-page .app-intel-card-main em {
  font-size: 0.75rem;
  line-height: 1rem;
  -webkit-line-clamp: 1;
}

.app-home-page .app-recommend-intel-tag {
  color: #18c7b0;
  max-width: 4.625rem;
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1rem;
  text-align: right;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.app-home-page .app-home-new-badge {
  position: absolute;
  left: 0.25rem;
  top: 0.25rem;
  z-index: 2;
  padding: 0.125rem 0.3125rem;
  border-radius: 0.25rem;
  background: #18c7b0;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 0.875rem;
}

/* commercial H5 pass 10: make comment sheet empty state feel native and action-led */
.app-comment-sheet {
  min-height: min(36rem, 82vh);
  max-height: min(38rem, 88vh);
}

.app-comment-list[data-state="empty"] {
  align-content: stretch;
}

.app-comment-empty-state {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 100%;
  padding: 1.25rem 1rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 0.875rem;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 102, 86, .16), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .028));
  text-align: center;
}

.app-comment-empty-state strong {
  color: #f7f4ec;
  font-size: 1rem;
  line-height: 1.35;
}

.app-comment-empty-state span {
  max-width: 14.5rem;
  margin-top: 0.375rem;
  color: rgba(247, 244, 236, .62);
  font-size: 0.8125rem;
  line-height: 1.375;
}

.app-comment-empty-state button {
  height: 2.25rem;
  margin-top: 0.875rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 62.4375rem;
  background: linear-gradient(180deg, #ff6d61, #ff5348);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
}

.app-comment-form {
  box-shadow: 0 -0.75rem 1.5rem rgba(16, 18, 19, .72);
}

.app-comment-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.app-comment-form button .app-icon {
  width: 0.875rem;
  height: 0.875rem;
}

/* image2 fidelity pass 60: compact me first viewport to match 09-me 375x666 rhythm */
.app-me-topbar {
  padding: 1.5rem 0 0.75rem;
}

.app-me-profile {
  margin-bottom: 0.75rem;
}

.app-me-page .app-me-stats {
  min-height: 5.25rem;
  margin: 0 0 0.875rem;
  padding: 0.625rem 0.375rem;
}

.app-me-page .app-me-stats .app-icon {
  margin-bottom: 0.3125rem;
}

.app-me-page .app-section {
  margin-top: 1rem;
}

.app-me-page .app-section-title {
  margin-bottom: 0.5rem;
}

.app-me-page .app-comment-history .app-comment-item {
  min-height: 5.25rem;
  padding: 0.5rem 0.625rem;
}

/* image2 fidelity pass 62: compact intel list first viewport to expose four latest cards */
.app-intel-list-page .app-header {
  padding: 0.5rem 0.875rem 0.25rem;
}

.app-intel-list-page .app-brand {
  margin-bottom: 0.4375rem;
}

.app-intel-list-page .app-intel-topic-row {
  margin-top: 0.5rem;
}

.app-intel-list-page .app-main {
  padding: 0 0.875rem 0.625rem;
}

.app-intel-list-page .app-section {
  margin-top: 0.375rem;
}

.app-intel-list-page .app-section-title {
  margin-bottom: 0.25rem;
}

.app-intel-list-page .app-intel-hot-list {
  padding: 0.25rem 0.5rem;
}

.app-intel-list-page .app-intel-hot-list a {
  grid-template-columns: 1.1875rem 4.25rem minmax(0, 1fr) 2.375rem;
  min-height: 3.125rem;
  padding: 0.25rem 0;
  column-gap: 0.4375rem;
}

.app-intel-list-page .app-intel-hot-list img,
.app-intel-list-page .app-intel-hot-thumb {
  width: 4.25rem;
  height: 2.625rem;
}

.app-intel-list-page .app-intel-hot-list strong {
  line-height: 0.875rem;
}

.app-intel-list-page .app-intel-hot-list em {
  line-height: 0.75rem;
}

.app-intel-list-page .app-intel-feed {
  gap: 0.3125rem;
}

.app-intel-list-page .app-intel-card,
.app-intel-list-page .app-intel-card.has-media {
  grid-template-columns: minmax(0, 1fr) 6.875rem;
  min-height: 4rem;
  padding: 0.4375rem;
  gap: 0.1875rem 0.4375rem;
}

.app-intel-list-page .app-intel-card-media {
  width: 6.875rem;
  min-height: 3rem;
  height: 3rem;
}

.app-intel-list-page .app-intel-media-fallback {
  min-height: 3rem;
}

/* image2 fidelity pass 63: keep fourth intel card readable above bottom nav */
.app-intel-list-page .app-intel-feed {
  gap: 0.25rem;
}

.app-intel-list-page .app-intel-card,
.app-intel-list-page .app-intel-card.has-media {
  grid-template-columns: minmax(0, 1fr) 6.5rem;
  min-height: 3.6875rem;
  padding: 0.375rem 0.4375rem;
}

.app-intel-list-page .app-intel-card-media {
  width: 6.5rem;
  min-height: 2.75rem;
  height: 2.75rem;
}

.app-intel-list-page .app-intel-media-fallback {
  min-height: 2.75rem;
}

.app-intel-list-page .app-intel-hot-list a {
  grid-template-columns: 1.1875rem 4.25rem minmax(0, 1fr) 2.375rem;
  grid-template-rows: 0.875rem 0.875rem 0.625rem;
  min-height: 2.75rem;
}

.app-intel-list-page .app-intel-hot-list img,
.app-intel-list-page .app-intel-hot-thumb {
  width: 4.25rem;
  height: 2.25rem;
}

