body.trend-page {
    max-width: none;
    color: #111318;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.88), rgba(246,248,255,0.76)),
        radial-gradient(circle at 8% 10%, var(--trend-a, rgba(255,92,119,0.24)), transparent 30%),
        radial-gradient(circle at 88% 2%, var(--trend-b, rgba(50,196,255,0.22)), transparent 34%),
        radial-gradient(circle at 74% 88%, var(--trend-c, rgba(255,194,71,0.2)), transparent 30%),
        #f5f7fb;
}

body.trend-page * {
    letter-spacing: 0 !important;
}

body.trend-page:before {
    background:
        linear-gradient(rgba(17,19,24,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17,19,24,0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 1;
}

body.design-trend {
    --accent-1: #00d084;
    --accent-2: #8b5cf6;
    --accent-3: #facc15;
    --trend-a: rgba(0,208,132,0.24);
    --trend-b: rgba(139,92,246,0.24);
    --trend-c: rgba(250,204,21,0.19);
}

body.video-trend {
    --accent-1: #38bdf8;
    --accent-2: #f43f5e;
    --accent-3: #a3e635;
    --trend-a: rgba(56,189,248,0.24);
    --trend-b: rgba(244,63,94,0.22);
    --trend-c: rgba(163,230,53,0.18);
}

body.trend-page .page-container {
    width: min(1520px, calc(100% - clamp(20px, 3vw, 42px)));
    margin: 0 auto;
    padding: 0 0 72px;
}

.trend-nav {
    position: sticky;
    top: 14px;
    z-index: 100;
    width: min(1520px, calc(100% - clamp(20px, 3vw, 42px)));
    margin: 14px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.68);
    border-radius: 24px;
    background: rgba(255,255,255,0.68);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 46px rgba(17,19,24,0.12);
}

.trend-nav .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #111318;
}

.trend-nav .brand i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg, var(--accent-1, #ff5c77), var(--accent-2, #32c4ff));
}

.trend-nav .links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.trend-nav a {
    padding: 9px 13px;
    border-radius: 999px;
    color: #535b68;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.22s ease;
}

.trend-nav a:hover,
.trend-nav a.active {
    color: white;
    background: #111318;
    box-shadow: 0 10px 24px rgba(17,19,24,0.16);
}

body.trend-page header {
    margin: 28px 0 52px;
    padding: clamp(54px, 8vw, 96px) clamp(22px, 5vw, 72px);
    overflow: hidden;
    text-align: left;
    border: 0;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(17,19,24,0.92), rgba(30,40,62,0.9)),
        radial-gradient(circle at 86% 20%, var(--accent-2, rgba(50,196,255,0.6)), transparent 28%);
    box-shadow: 0 30px 90px rgba(17,19,24,0.2);
}

body.trend-page header:before {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-1, #ff5c77), var(--accent-3, #ffc247), var(--accent-2, #32c4ff));
    opacity: 0.14;
}

body.trend-page h1 {
    max-width: 900px;
    margin: 0 0 20px;
    color: white;
    font-size: clamp(3rem, 8vw, 6.8rem);
    line-height: 0.98;
    letter-spacing: 0;
    text-shadow: none;
}

body.trend-page h1:after {
    left: 0;
    bottom: -16px;
    transform: none;
    width: 170px;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-1, #ff5c77), var(--accent-3, #ffc247), var(--accent-2, #32c4ff));
}

body.trend-page .subtitle {
    max-width: 760px;
    margin-top: 34px;
    color: rgba(255,255,255,0.78);
    font-size: clamp(1rem, 2vw, 1.32rem);
    letter-spacing: 0;
}

body.trend-page .subtitle:before,
body.trend-page .subtitle:after {
    display: none;
}

body.trend-page .press-badge,
body.trend-page .design-badge {
    color: #111318;
    border: 0;
    border-radius: 999px;
    background: white;
    box-shadow: none;
    letter-spacing: 0;
}

body.trend-page .back-to-home {
    display: none;
}

body.trend-page h2 {
    margin: 56px 0 28px;
    color: #111318;
    border: 0;
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: 0;
    text-align: left;
}

body.trend-page h2:before {
    display: none;
}

body.trend-page h2:after {
    content: "";
    display: block;
    width: 110px;
    height: 6px;
    margin-top: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-1, #ff5c77), var(--accent-2, #32c4ff));
}

body.trend-page .content-section {
    padding: 0;
}

body.trend-page .project,
body.trend-page .emphasized-paragraph {
    margin-bottom: 34px;
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid rgba(255,255,255,0.76);
    border-top: 0;
    border-radius: 30px;
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(17,19,24,0.11);
}

body.trend-page .project:hover,
body.trend-page .emphasized-paragraph:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 90px rgba(17,19,24,0.16);
}

body.trend-page .project:after {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--accent-1, #ff5c77), var(--accent-2, #32c4ff));
    opacity: 0.1;
    border-radius: 0 0 0 100%;
    clip-path: none;
}

body.trend-page h3 {
    margin: 6px 0 28px;
    padding-left: 0;
    color: #111318;
    font-size: clamp(1.7rem, 3.5vw, 3rem);
    letter-spacing: 0;
}

body.trend-page h3:before {
    display: none;
}

body.trend-page h4,
body.trend-page h5,
body.trend-page h6,
body.trend-page .process-title {
    letter-spacing: 0;
}

body.trend-page .english-subtitle {
    color: #667085;
    font-size: clamp(1rem, 2vw, 1.35rem);
    letter-spacing: 0;
}

body.trend-page .project-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px;
    padding: 18px;
    border-radius: 24px;
    background: #111318;
}

body.trend-page .project-image-container {
    border-radius: 20px;
    border: 0;
    box-shadow: none;
    background: transparent;
}

body.trend-page .project-showcase img,
body.trend-page .content-image {
    border-radius: 20px;
}

body.trend-page .project-link,
body.trend-page .image-view-original-link {
    border: 0;
    border-radius: 999px;
    color: #111318;
    background: white;
    box-shadow: 0 14px 28px rgba(0,0,0,0.16);
    white-space: nowrap;
}

body.trend-page .project-link:hover,
body.trend-page .image-view-original-link:hover {
    color: white;
    background: linear-gradient(135deg, var(--accent-1, #ff5c77), var(--accent-2, #32c4ff));
}

body.design-trend .project-showcase {
    position: relative;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
    align-items: stretch;
    gap: clamp(18px, 3vw, 34px);
    min-height: 360px;
    padding: clamp(16px, 2.4vw, 30px);
    overflow: hidden;
    border-radius: 32px;
    background:
        radial-gradient(circle at 10% 12%, rgba(0,208,132,0.36), transparent 26%),
        radial-gradient(circle at 92% 10%, rgba(139,92,246,0.34), transparent 30%),
        linear-gradient(135deg, #0f172a, #111827 56%, #0b1020);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 28px 72px rgba(17,19,24,0.18);
}

body.design-trend .project-showcase:before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 25px;
    background:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    mask-image: linear-gradient(90deg, rgba(0,0,0,0.86), rgba(0,0,0,0.22));
}

body.design-trend .project-showcase:after {
    content: "VISUAL";
    position: absolute;
    right: clamp(18px, 4vw, 48px);
    top: clamp(18px, 4vw, 44px);
    color: rgba(255,255,255,0.06);
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.3rem, 8vw, 7.6rem);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

body.design-trend .project-image-container {
    position: relative;
    z-index: 1;
    align-self: center;
    padding: 14px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.72)),
        linear-gradient(135deg, var(--accent-1), var(--accent-2));
    box-shadow: 0 28px 62px rgba(0,0,0,0.35);
    transform: rotate(-1deg);
}

body.design-trend .project-image-container:hover {
    transform: translateY(-5px) rotate(0deg);
}

body.design-trend .project-showcase img {
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(17,19,24,0.14);
}

body.design-trend .project-link-container {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: flex-end;
    gap: 16px;
    padding: clamp(8px, 2vw, 18px);
}

body.design-trend .project-link-container:before {
    content: "设计成稿预览";
    display: block;
    max-width: 300px;
    color: white;
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    line-height: 1.08;
    font-weight: 800;
}

body.design-trend .project-link-container:after {
    content: "以品牌信息、场景图像与版式秩序构建视觉传播重点。";
    display: block;
    max-width: 320px;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.66);
    font-size: 0.98rem;
    line-height: 1.7;
}

body.design-trend .project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 15px 22px;
    border-radius: 18px;
    color: #111318;
    background: white;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
    white-space: normal;
    text-align: center;
    font-weight: 800;
}

body.design-trend .project-showcase:has(.gallery) {
    display: block;
    min-height: auto;
    padding: clamp(18px, 3vw, 36px);
}

body.design-trend .project-showcase.poster-showcase {
    display: block;
    min-height: auto;
    padding: clamp(18px, 3vw, 36px);
}

body.design-trend .project-showcase:has(.gallery):after {
    content: "GALLERY";
}

body.design-trend .project-showcase.poster-showcase:after {
    content: "GALLERY";
}

body.design-trend .gallery-controls {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

body.design-trend .gallery-control-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,0.82);
    font-size: 0.92rem;
    font-weight: 800;
}

body.design-trend .gallery-control-title:before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--accent-1);
    box-shadow: 16px 0 0 var(--accent-2), 32px 0 0 var(--accent-3);
}

body.design-trend .gallery-buttons {
    display: inline-flex;
    gap: 8px;
}

body.design-trend .gallery-buttons button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 14px;
    color: white;
    background: rgba(255,255,255,0.11);
    box-shadow: 0 12px 26px rgba(0,0,0,0.18);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

body.design-trend .gallery-buttons button:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.2);
}

body.design-trend .project-showcase:has(.gallery) .image-container {
    position: relative;
    z-index: 1;
}

body.design-trend .project-showcase:has(.gallery) img {
    max-height: none;
    object-fit: contain;
}

body.design-trend .gallery {
    position: relative;
    z-index: 1;
    display: flex;
    gap: clamp(16px, 2.4vw, 26px);
    margin: 0;
    padding: 4px 4px 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.48) rgba(255,255,255,0.08);
}

body.design-trend .gallery-row {
    display: contents;
}

body.design-trend .gallery-item {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex: 0 0 clamp(300px, 37vw, 460px);
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 24px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 22px 48px rgba(0,0,0,0.22);
    scroll-snap-align: start;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, flex-basis 0.28s ease;
}

body.design-trend .gallery-item:hover,
body.design-trend .gallery-item.is-open {
    transform: translateY(-6px);
    box-shadow: 0 30px 72px rgba(0,0,0,0.28);
}

body.design-trend .gallery-item.wide {
    flex-basis: clamp(420px, 54vw, 640px);
    grid-column: auto;
    width: auto;
}

body.design-trend .gallery-item.square {
    flex-basis: clamp(280px, 30vw, 380px);
    grid-column: auto;
    width: auto;
}

body.design-trend .gallery-item .image-container {
    display: grid;
    place-items: center;
    width: 100%;
    padding: 14px;
    overflow: visible;
    background:
        linear-gradient(135deg, rgba(250,250,250,0.98), rgba(235,239,246,0.92)),
        linear-gradient(rgba(17,19,24,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17,19,24,0.035) 1px, transparent 1px);
    background-size: auto, 22px 22px, 22px 22px;
}

body.design-trend .gallery-item.wide .image-container,
body.design-trend .gallery-item.square .image-container {
    padding-top: 14px;
}

body.design-trend .gallery-item.wide .image-container {
    min-height: 190px;
}

body.design-trend .gallery-item.square .image-container {
    min-height: 330px;
}

body.design-trend .gallery-item .image-container img {
    position: static;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(17,19,24,0.12);
}

body.design-trend .gallery-item.wide .image-container img {
    max-height: 210px;
}

body.design-trend .gallery-item.square .image-container img {
    max-height: 360px;
}

body.design-trend .gallery-item:hover img {
    transform: none;
}

body.design-trend .gallery-caption {
    flex: 1;
    padding: 18px;
    background: white;
    transition: padding 0.25s ease;
}

body.design-trend .gallery-caption h4 {
    margin: 0 0 8px;
    color: #111318;
    font-size: 1.02rem;
    line-height: 1.35;
}

body.design-trend .gallery-caption h4:after {
    display: none;
}

body.design-trend .gallery-caption p {
    margin: 0;
    color: #5b6472;
    font-size: 0.9rem;
    line-height: 1.65;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.28s ease, opacity 0.24s ease;
}

body.design-trend .gallery-item:hover .gallery-caption p,
body.design-trend .gallery-item.is-open .gallery-caption p {
    max-height: 220px;
    opacity: 1;
}

body.design-trend .poster-viewer {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(300px, 0.48fr);
    align-items: stretch;
    gap: clamp(18px, 2.6vw, 28px);
}

body.design-trend .poster-stage {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: center;
    min-height: auto;
    padding: clamp(14px, 2vw, 22px);
    overflow: hidden;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(237,242,247,0.94)),
        linear-gradient(rgba(17,19,24,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17,19,24,0.04) 1px, transparent 1px);
    background-size: auto, 28px 28px, 28px 28px;
    box-shadow: 0 28px 70px rgba(0,0,0,0.3);
}

body.design-trend .poster-stage.is-wide {
    align-self: center;
}

body.design-trend .poster-stage.is-mural-wide {
    grid-template-rows: auto auto;
    align-content: center;
    align-self: center;
    min-height: auto;
}

body.design-trend .poster-stage.is-tall,
body.design-trend .poster-stage.is-square {
    min-height: clamp(460px, 54vw, 660px);
}

body.design-trend .poster-stage:before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(17,19,24,0.08);
    border-radius: 22px;
    pointer-events: none;
}

body.design-trend .poster-stage-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    color: #475569;
    font-size: 0.84rem;
    font-weight: 800;
}

body.design-trend .poster-stage-top span:first-child {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    height: 32px;
    border-radius: 999px;
    color: white;
    background: #111318;
}

body.design-trend .poster-artboard {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    justify-self: center;
    width: 100%;
    min-height: 0;
    padding: clamp(10px, 1.8vw, 18px);
    border-radius: 22px;
    background: rgba(255,255,255,0.52);
    box-shadow: inset 0 0 0 1px rgba(17,19,24,0.06);
}

body.design-trend .poster-stage.is-wide .poster-artboard {
    aspect-ratio: var(--poster-ratio, 16 / 7);
}

body.design-trend .poster-stage.is-ultrawide .poster-artboard {
    aspect-ratio: var(--poster-ratio, 18 / 5);
}

body.design-trend .poster-stage.is-mural-wide .poster-artboard {
    align-self: center;
    width: 100%;
    aspect-ratio: var(--poster-ratio, 4 / 1);
}

body.design-trend .poster-stage.is-square .poster-artboard {
    width: min(100%, 680px);
    aspect-ratio: var(--poster-ratio, 1 / 1);
}

body.design-trend .poster-stage.is-tall .poster-artboard {
    width: min(100%, 540px);
    aspect-ratio: var(--poster-ratio, 4 / 5);
}

body.design-trend .poster-artboard img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(17,19,24,0.18);
}

body.design-trend .poster-stage.is-ultrawide .poster-artboard img {
    width: 100%;
}

body.design-trend .poster-stage.is-mural-wide .poster-artboard img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.design-trend .poster-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
    gap: 18px;
    min-height: 0;
    padding: clamp(18px, 2.3vw, 26px);
    text-align: left;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 28px;
    color: white;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.05)),
        rgba(5, 10, 24, 0.72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

body.design-trend .poster-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 8px 11px;
    border-radius: 999px;
    color: #111318;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    font-size: 0.78rem;
    font-weight: 900;
}

body.design-trend .poster-panel h4 {
    margin: clamp(18px, 3vw, 34px) 0 14px;
    padding: 0;
    border: 0;
    color: white;
    font-size: clamp(1.28rem, 1.9vw, 1.85rem);
    line-height: 1.25;
    text-wrap: balance;
}

body.design-trend .poster-panel h4:after {
    display: none;
}

body.design-trend .poster-panel p {
    margin: 0;
    color: rgba(255,255,255,0.66);
    font-size: 0.9rem;
    line-height: 1.7;
    max-height: clamp(130px, 15vw, 220px);
    overflow: auto;
    padding-right: 12px;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.34) rgba(255,255,255,0.05);
}

body.design-trend .poster-panel p::-webkit-scrollbar {
    width: 8px;
}

body.design-trend .poster-panel p::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
}

body.design-trend .poster-panel p::-webkit-scrollbar-thumb {
    min-height: 48px;
    border: 2px solid rgba(12,17,31,0.78);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.58), rgba(255,255,255,0.18));
}

body.design-trend .poster-panel p::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.28));
}

body.design-trend .poster-actions {
    display: grid;
    grid-template-columns: 44px 44px minmax(136px, 1fr);
    gap: 10px;
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

body.design-trend .poster-actions button,
body.design-trend .poster-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    color: white;
    background: rgba(255,255,255,0.1);
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}

body.design-trend .poster-actions button {
    width: 44px;
    padding: 0;
}

body.design-trend .poster-actions a {
    grid-column: 3;
    color: #111318;
    border-color: transparent;
    background: linear-gradient(135deg, #ffffff, #eef2f7);
    width: 100%;
    min-width: 136px;
    min-height: 44px;
    padding-inline: 18px;
    white-space: nowrap;
    box-shadow: 0 14px 30px rgba(0,0,0,0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.design-trend .poster-actions a:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffffff, #dfe8f5);
    box-shadow: 0 18px 36px rgba(0,0,0,0.28);
}

body.design-trend .poster-thumb-rail {
    grid-column: 1 / -1;
    position: relative;
    z-index: 2;
    display: flex;
    gap: 12px;
    margin-top: 4px;
    padding: 14px 4px 8px;
    border-top: 1px solid rgba(255,255,255,0.12);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.34) rgba(255,255,255,0.06);
}

body.design-trend .poster-thumb-rail::-webkit-scrollbar {
    height: 8px;
}

body.design-trend .poster-thumb-rail::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
}

body.design-trend .poster-thumb-rail::-webkit-scrollbar-thumb {
    border: 2px solid rgba(8,12,24,0.78);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,255,255,0.54), rgba(255,255,255,0.2));
}

body.design-trend .poster-thumb-rail::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, rgba(255,255,255,0.68), rgba(255,255,255,0.3));
}

body.design-trend .poster-thumb {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    flex: 0 0 clamp(190px, 22vw, 250px);
    min-height: 76px;
    padding: 9px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 18px;
    color: white;
    background: rgba(255,255,255,0.1);
    cursor: pointer;
    text-align: left;
}

body.design-trend .poster-thumb.is-active {
    border-color: rgba(255,255,255,0.66);
    background: rgba(255,255,255,0.22);
}

body.design-trend .poster-thumb img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 10px;
    background: white;
}

body.design-trend .poster-thumb span {
    overflow: hidden;
    color: rgba(255,255,255,0.78);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

body.trend-page .project-intro {
    margin-top: 28px;
    border-bottom: 1px solid rgba(17,19,24,0.08);
}

body.trend-page .project-intro:after {
    display: none;
}

body.trend-page .project-intro p,
body.trend-page .project p,
body.trend-page .process-item p,
body.trend-page .role li,
body.trend-page li,
body.trend-page td {
    color: #3f4652;
    font-size: 1.06rem;
}

body.trend-page .english-translation {
    display: block;
    width: 100%;
    margin: 12px 0 18px;
    padding: 12px 16px;
    border-left: 4px solid var(--accent-2, #32c4ff);
    border-radius: 16px;
    background: color-mix(in srgb, var(--accent-2, #32c4ff) 9%, transparent);
    color: #536070;
    line-height: 1.75;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    box-shadow: none;
}

body.trend-page .highlight {
    color: var(--accent-1, #ff5c77);
}

body.trend-page .process {
    padding-left: 26px;
}

body.trend-page .process:before {
    left: 12px;
    width: 3px;
    background: linear-gradient(var(--accent-1, #ff5c77), var(--accent-3, #ffc247), var(--accent-2, #32c4ff));
}

body.trend-page .process-item {
    padding-left: 42px;
    border-radius: 22px;
}

body.trend-page .process-item:before {
    left: 0;
    background: #111318;
    border-color: white;
    box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent-2, #32c4ff) 14%, transparent);
}

body.trend-page .process-item:after {
    display: none;
}

body.trend-page .process-title,
body.trend-page h4,
body.trend-page h5,
body.trend-page h6 {
    color: #111318;
}

body.trend-page .process-title:before,
body.trend-page .project-intro h4:after,
body.trend-page h4:after {
    background: linear-gradient(90deg, var(--accent-1, #ff5c77), var(--accent-2, #32c4ff));
}

body.trend-page .role {
    border: 1px solid rgba(17,19,24,0.08);
    border-radius: 24px;
    background: rgba(17,19,24,0.04);
    box-shadow: none;
}

body.trend-page .role:before {
    border-radius: 999px;
    color: white;
    background: #111318;
    box-shadow: none;
    letter-spacing: 0;
}

body.trend-page table {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255,255,255,0.78);
}

body.trend-page th {
    color: white;
    background: #111318;
}

body.trend-page .video-container {
    padding: 18px;
    border-radius: 28px;
    background: #111318;
    box-shadow: 0 28px 78px rgba(17,19,24,0.2);
}

body.trend-page .video-container iframe {
    border-radius: 22px;
}

body.trend-page .video-container p {
    margin-bottom: 0;
}

body.video-trend .video-container {
    position: static;
    width: 100%;
    max-width: 1040px;
    margin: clamp(24px, 4vw, 42px) auto clamp(30px, 5vw, 54px);
    padding: clamp(14px, 2vw, 22px);
    padding-bottom: clamp(14px, 2vw, 22px);
    border: 1px solid rgba(255,255,255,0.78);
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.94), rgba(245,248,252,0.82)),
        rgba(255,255,255,0.9);
    box-shadow: 0 24px 68px rgba(17,19,24,0.14);
    overflow: hidden;
}

body.video-trend .video-container iframe {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    min-height: 430px;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 18px;
    background: #05070a;
    box-shadow: 0 18px 40px rgba(17,19,24,0.18);
}

body.video-trend .video-container p {
    display: flex;
    justify-content: center;
    margin: 18px 0 0;
    text-align: center;
}

body.video-trend .video-container .project-link {
    width: auto;
    max-width: 100%;
    padding: 11px 18px;
    border: 1px solid rgba(17,19,24,0.1);
    border-radius: 999px;
    color: #111318;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 12px 28px rgba(17,19,24,0.1);
    white-space: normal;
}

body.video-trend .video-container .project-link:hover {
    color: white;
    background: #111318;
}

body.trend-page footer {
    margin-top: 42px;
    border-radius: 30px;
    color: white;
    background: #111318;
    box-shadow: 0 24px 64px rgba(17,19,24,0.16);
}

body.trend-page .footer-quote,
body.trend-page .copyright,
body.trend-page footer p {
    color: rgba(255,255,255,0.78);
}

@media (max-width: 820px) {
    .trend-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .trend-nav .links {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .trend-nav a {
        text-align: center;
        padding-inline: 8px;
    }

    body.trend-page .project-showcase {
        grid-template-columns: 1fr;
    }

    body.design-trend .project-showcase {
        min-height: auto;
    }

    body.design-trend .project-image-container {
        transform: none;
    }

    body.design-trend .project-link-container:before,
    body.design-trend .project-link-container:after {
        max-width: none;
    }

    body.design-trend .gallery {
        padding-bottom: 16px;
    }

    body.design-trend .gallery-item.wide,
    body.design-trend .gallery-item.square {
        grid-column: 1;
        flex-basis: min(86vw, 420px);
    }

    body.design-trend .gallery-item.wide .image-container,
    body.design-trend .gallery-item.square .image-container {
        min-height: auto;
    }

    body.design-trend .poster-viewer {
        grid-template-columns: 1fr;
    }

    body.design-trend .poster-stage {
        min-height: 420px;
    }

    body.design-trend .poster-thumb-rail {
        display: flex;
    }

    body.trend-page .project-link,
    body.trend-page .image-view-original-link {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }

    body.video-trend .video-container {
        margin: 22px auto 36px;
        padding: 10px;
        border-radius: 20px;
    }

    body.video-trend .video-container iframe {
        min-height: 0;
        border-radius: 15px;
    }

    body.video-trend .video-container p {
        margin-top: 12px;
    }
}

/* Responsive guardrails for the refreshed portfolio pages. */
html,
body,
body.trend-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body.trend-page,
body.trend-page * {
    box-sizing: border-box;
}

body.trend-page .page-container,
.trend-nav {
    max-width: calc(100vw - clamp(20px, 3vw, 42px));
}

body.trend-page h1,
body.trend-page h2,
body.trend-page h3,
body.trend-page .subtitle,
body.trend-page .project,
body.trend-page .project p,
body.trend-page .project li,
body.trend-page .emphasized-paragraph,
body.trend-page .english-translation,
body.trend-page .english-text {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.trend-page h2 {
    line-height: 1.08;
    text-wrap: balance;
}

body.trend-page h2 .section-title-cn,
body.trend-page h2 .section-title-sep,
body.trend-page h2 .section-title-en {
    display: inline;
}

@media (max-width: 820px) {
    .trend-nav {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        margin-top: 12px;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }

    .trend-nav .brand {
        max-width: 100%;
    }

    .trend-nav .links {
        width: 100% !important;
        max-width: 100% !important;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
        overflow: hidden;
    }

    .trend-nav a {
        width: 100%;
        min-width: 0;
        padding-inline: 4px;
        font-size: 0.86rem;
        text-align: center;
        white-space: nowrap;
    }

    body.trend-page .page-container {
        width: calc(100% - 20px);
        max-width: calc(100vw - 20px);
        padding-bottom: 48px;
        overflow: hidden;
    }

    body.trend-page header {
        padding: clamp(46px, 14vw, 68px) clamp(24px, 7vw, 42px);
        width: 100%;
        max-width: 100%;
    }

    body.trend-page h1 {
        font-size: clamp(2rem, 9.4vw, 2.9rem);
        line-height: 1.08;
        white-space: normal !important;
    }

    body.trend-page h2 {
        display: block;
        font-size: clamp(1.45rem, 6.8vw, 2rem);
        line-height: 1.14;
        margin-top: 48px;
        white-space: normal !important;
    }

    body.trend-page h2 .section-title-cn,
    body.trend-page h2 .section-title-en {
        display: block;
    }

    body.trend-page h2 .section-title-sep {
        display: none;
    }

    body.trend-page h2 .section-title-en {
        margin-top: 4px;
        font-size: 0.92em;
    }

    body.trend-page .project,
    body.trend-page .emphasized-paragraph {
        padding: clamp(22px, 7vw, 34px);
    }

    body.trend-page .press-badge,
    body.trend-page .design-badge {
        max-width: 100%;
        white-space: normal;
    }
}

@media (max-width: 460px) {
    .trend-nav {
        width: min(calc(100vw - 20px), 370px) !important;
        max-width: 370px !important;
        border-radius: 20px;
        padding: 10px;
    }

    body.trend-page .page-container {
        width: min(calc(100vw - 20px), 370px) !important;
        max-width: 370px !important;
    }

    .trend-nav .links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .trend-nav a {
        padding: 10px 6px;
        font-size: 0.84rem;
    }

    body.trend-page header {
        border-radius: 24px;
        padding-inline: 24px;
    }

    body.trend-page .subtitle {
        font-size: 0.95rem;
    }

    body.trend-page h2 {
        font-size: clamp(1.18rem, 5.8vw, 1.55rem);
    }
}

@media (max-width: 620px) {
    .trend-nav {
        width: min(calc(100vw - 20px), 370px) !important;
        max-width: 370px !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
    }

    body.trend-page .page-container {
        width: min(calc(100vw - 20px), 370px) !important;
        max-width: 370px !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
    }

    .trend-nav .links {
        width: min(100%, 300px) !important;
        margin: 0 auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .trend-nav a {
        padding: 10px 6px;
        font-size: 0.84rem;
    }
}

/* Keep translated notes from painting only behind the first line. */
body.trend-page .project p > .english-translation,
body.trend-page .project li > .english-translation,
body.trend-page .process-item .english-translation,
body.trend-page .role .english-translation,
body.trend-page .emphasized-paragraph .english-translation {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 0 18px !important;
    padding: 12px 16px !important;
    border-left: 4px solid var(--accent-2, #32c4ff) !important;
    border-radius: 16px !important;
    background: color-mix(in srgb, var(--accent-2, #32c4ff) 9%, transparent) !important;
    line-height: 1.72 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* Harmonized portfolio color pass only. */
body.trend-page,
body.text-trend,
body.design-trend,
body.video-trend {
    --primary-color: #171B21;
    --secondary-color: #BFA46A;
    --accent-color: #73827A;
    --light-color: #F3F1EA;
    --highlight-color: #8C6257;
    --text-color: #2D3238;
    --text-light: #626A73;
    --english-color: #68717A;
    --gold-light: rgba(191, 164, 106, 0.06);
    --gold-medium: rgba(191, 164, 106, 0.14);
    --gold-dark: rgba(191, 164, 106, 0.34);
    --accent-1: #244D4D;
    --accent-2: #BFA46A;
    --accent-3: #8C6257;
    --trend-a: rgba(36,77,77,0.16);
    --trend-b: rgba(191,164,106,0.16);
    --trend-c: rgba(140,98,87,0.12);
    color: #171B21;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.9), rgba(243,241,234,0.84)),
        radial-gradient(circle at 8% 10%, var(--trend-a), transparent 30%),
        radial-gradient(circle at 88% 2%, var(--trend-b), transparent 34%),
        radial-gradient(circle at 74% 88%, var(--trend-c), transparent 30%),
        #F3F1EA;
}

body.trend-page:before {
    background:
        linear-gradient(rgba(23,27,33,0.038) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23,27,33,0.038) 1px, transparent 1px);
}

.trend-nav {
    border-color: rgba(191,164,106,0.28);
    background: rgba(250,248,242,0.78);
    box-shadow: 0 18px 46px rgba(20,25,31,0.1);
}

.trend-nav .brand,
body.trend-page h2,
body.trend-page h3,
body.trend-page .process-title,
body.trend-page h4,
body.trend-page h5,
body.trend-page h6,
body.trend-page .official-content h4,
body.trend-page .official-clipping {
    color: #171B21;
}

.trend-nav .brand i,
body.trend-page .project:after,
body.trend-page h3:before,
body.trend-page .project-link:hover,
body.trend-page .image-view-original-link:hover,
body.video-trend .video-container .project-link:hover,
body.design-trend .poster-kicker {
    background: linear-gradient(135deg, #244D4D, #BFA46A);
}

.trend-nav a {
    color: #626A73;
}

.trend-nav a:hover,
.trend-nav a.active,
body.trend-page .role:before,
body.trend-page th,
body.trend-page footer,
body.trend-page .video-container,
body.trend-page .official-thumb,
body.trend-page .official-clipping .clip-kicker,
body.design-trend .poster-stage-top span:first-child {
    background: #171B21;
}

body.trend-page header {
    background:
        linear-gradient(135deg, rgba(23,27,33,0.94), rgba(35,45,52,0.92)),
        radial-gradient(circle at 86% 20%, rgba(191,164,106,0.34), transparent 28%);
    box-shadow: 0 30px 90px rgba(20,25,31,0.18);
}

body.trend-page header:before,
body.trend-page h1:after,
body.trend-page h2:after,
body.trend-page .process:before,
body.trend-page .process-title:before,
body.trend-page .project-intro h4:after,
body.trend-page h4:after,
body.trend-page .official-clipping:before {
    background: linear-gradient(90deg, #244D4D, #BFA46A, #8C6257);
}

body.trend-page .project,
body.trend-page .emphasized-paragraph,
body.trend-page .official-article-card,
body.trend-page table {
    border-color: rgba(191,164,106,0.22);
    background: rgba(255,255,255,0.78);
    box-shadow: 0 24px 60px rgba(20,25,31,0.1);
}

body.trend-page .project:hover,
body.trend-page .emphasized-paragraph:hover,
body.trend-page .official-article-card:hover {
    box-shadow: 0 32px 90px rgba(20,25,31,0.14);
}

body.trend-page .english-subtitle,
body.trend-page .project-intro p,
body.trend-page .project p,
body.trend-page .process-item p,
body.trend-page .role li,
body.trend-page li,
body.trend-page td,
body.trend-page .official-note,
body.trend-page .official-clipping p {
    color: #626A73;
}

body.trend-page .project-showcase,
body.design-trend .project-showcase {
    background:
        radial-gradient(circle at 10% 12%, rgba(36,77,77,0.28), transparent 26%),
        radial-gradient(circle at 92% 10%, rgba(191,164,106,0.26), transparent 30%),
        linear-gradient(135deg, #171B21, #202936 56%, #11161D);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 28px 72px rgba(20,25,31,0.16);
}

body.trend-page .project-image-container:before {
    background:
        radial-gradient(circle at 20px 17px, #8C6257 0 6px, transparent 7px),
        radial-gradient(circle at 42px 17px, #BFA46A 0 6px, transparent 7px),
        radial-gradient(circle at 64px 17px, #73827A 0 6px, transparent 7px),
        linear-gradient(90deg, #28323A, #46525A);
}

body.trend-page .project-link,
body.trend-page .image-view-original-link,
body.video-trend .video-container .project-link,
body.design-trend .project-link,
body.design-trend .poster-actions a {
    color: #171B21;
    background: linear-gradient(135deg, #FFFFFF, #F1EDE4);
    box-shadow: 0 16px 34px rgba(20,25,31,0.2);
}

body.trend-page .official-published,
body.trend-page .official-clipping,
body.video-trend .video-container,
body.design-trend .poster-stage {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(243,241,234,0.86)),
        linear-gradient(rgba(23,27,33,0.038) 1px, transparent 1px);
}

body.trend-page .official-clipping em,
body.trend-page .official-date,
body.trend-page .highlight {
    color: #8C6257;
}

body.trend-page .official-date,
body.trend-page .role {
    background: rgba(191,164,106,0.12);
}

body.trend-page .official-meta span {
    color: #626A73;
    background: rgba(23,27,33,0.06);
}

body.trend-page .official-actions a {
    color: white;
    background: #171B21;
    box-shadow: 0 12px 26px rgba(20,25,31,0.14);
}

body.trend-page .official-actions a.secondary {
    color: #171B21;
    background: rgba(191,164,106,0.14);
    box-shadow: none;
}

body.trend-page .project p > .english-translation,
body.trend-page .project li > .english-translation,
body.trend-page .process-item .english-translation,
body.trend-page .role .english-translation,
body.trend-page .emphasized-paragraph .english-translation,
body.trend-page .english-translation {
    border-left-color: #BFA46A !important;
    background: rgba(191,164,106,0.1) !important;
    color: #68717A;
}

body.design-trend .poster-panel {
    border-color: rgba(191,164,106,0.2);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.045)),
        rgba(17,22,29,0.78);
}

body.design-trend .poster-stage-top {
    color: #5E6F7D;
}

body.design-trend .poster-panel p,
body.design-trend .poster-thumb span,
body.trend-page .footer-quote,
body.trend-page .copyright,
body.trend-page footer p {
    color: rgba(255,255,255,0.72);
}

body.video-trend footer .footer-quote .english-translation {
    display: inline !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: inherit;
}

body.trend-page header {
    display: flex;
    min-height: clamp(320px, 28vw, 400px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(68px, 8vw, 118px) clamp(36px, 6vw, 84px);
}

body.trend-page header > h1 {
    display: block;
    max-width: min(100%, 1000px);
    margin: 0;
    font-size: clamp(3.2rem, 7vw, 5.8rem);
    line-height: 1.02;
    text-shadow: 0 16px 44px rgba(0,0,0,0.28);
    animation: none;
}

body.trend-page header > h1:after {
    position: static;
    display: block;
    width: clamp(76px, 8vw, 118px);
    height: 4px;
    margin: clamp(22px, 3vw, 30px) 0 0;
    transform: none;
}

body.trend-page header > .press-badge,
body.trend-page header > .design-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    margin: clamp(34px, 4vw, 50px) 0 0;
    padding: 9px 18px;
    border: 1px solid rgba(255,255,255,0.56);
    background: rgba(255,255,255,0.86);
    color: #171B21;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

body.trend-page header > .subtitle {
    max-width: 560px;
    margin: 16px 0 0;
    color: rgba(255,255,255,0.62);
    font-size: clamp(0.96rem, 1.4vw, 1.12rem);
    line-height: 1.75;
}

body.trend-page header > .subtitle .english {
    color: inherit;
    font-size: inherit;
}

@media (max-width: 620px) {
    body.trend-page header {
        min-height: auto;
        padding: clamp(64px, 18vw, 88px) clamp(24px, 7vw, 34px);
    }

    body.trend-page header > h1 {
        font-size: clamp(2rem, 9.4vw, 2.9rem);
    }

    body.trend-page header > .press-badge,
    body.trend-page header > .design-badge {
        margin-top: 28px;
    }

    body.trend-page header > .subtitle {
        max-width: 100%;
        font-size: 0.94rem;
    }
}

body.design-trend .poster-panel p,
body.design-trend .poster-thumb-rail {
    scrollbar-color: rgba(191,164,106,0.44) rgba(255,255,255,0.06);
}

body.design-trend .poster-panel p::-webkit-scrollbar-thumb,
body.design-trend .poster-thumb-rail::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(191,164,106,0.58), rgba(255,255,255,0.18));
}

body.video-trend .video-container iframe {
    background: #11161D;
}
