/* White surfaces and a cool accent drawn from the hero illustration. */
:root {
    --paper: #fff;
    --paper-deep: #f3f5fa;
    --card: #fff;
    --card-edge: #e5e9f1;
    --cream: #fff;
    --ink: #182237;
    --ink-soft: #374359;
    --ink-mute: #647086;
    --ink-faint: #7b8799;
    --muted: #647086;
    --line: #e5e9f1;
    --brand: #4f5fd5;
    --brand-dark: #3948b4;
    --frog: #aeb9f5;
    --frog-deep: #495bbd;
    --frog-panel: #dce3ff;
    --frog-mist: #eff2ff;
    --sun: #e3e9ff;
    --sun-soft: #edf1ff;
    --shadow-soft: 0 8px 30px -16px #26376424;
    --shadow-lift: 0 16px 36px -15px #26376430;
    --grain: none
}

body {
    background: #fff;
    background-image: none
}

a:hover {
    color: var(--brand)
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
    outline-color: #6475df
}

.app-header {
    background: #ffffffed;
    border-color: #e8ecf3
}

.app-brand b {
    color: var(--ink)
}

.app-download-link,
.fz-cta,
.fq-big-btn {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 5px 14px #4f5fd520
}

.app-download-link:hover,
.fz-cta:hover,
.fq-big-btn:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
    box-shadow: 0 8px 18px #4f5fd52b
}

.app-shortcuts {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    margin-top: 30px;
    overflow: hidden
}

.app-shortcuts span,
.app-shortcuts em,
.app-kicker {
    color: var(--brand)
}

.app-shortcuts>a:hover {
    background: #f7f8ff
}

.app-tint {
    background: #f7f9fc;
    border-color: #edf0f6
}

.fq-paper-card,
.fq-plat,
.app-help-search,
.app-journey .fq-journey__item {
    box-shadow: 0 8px 30px -18px #26376426
}

.app-drama-grid small,
.app-feature-grid article>span,
.fq-journey__category {
    color: #5263b1
}

.fq-browser {
    border: 1px solid #dce3f0;
    box-shadow: 0 20px 60px -20px #4c62a63b;
    transform: none
}

.fq-browser__bar {
    border-bottom: 1px solid #e1e7f1;
    background: #f5f7fc
}

.app-web-art {
    background: linear-gradient(135deg, #edf5ff, #f2effc)
}

.app-wave {
    color: #6a79cd
}

.fq-plat--android {
    background: linear-gradient(145deg, #f1f4ff, #fafbff);
    border-color: #dce3fc
}

.app-numbered li:before {
    border-color: #d3dbf3;
    color: var(--brand)
}

.fq-journey__number {
    color: #bbc7ee
}

.app-help-search input {
    background: #f8f9fc
}

.app-about-facts span {
    background: #edf1ff;
    color: #4b5a9b
}

.app-review-card {
    border-radius: 16px;
    border-left-color: #91a1ed
}

.app-review-card:nth-child(2) {
    border-left-color: #95c8dc
}

.app-review-card:nth-child(3) {
    border-left-color: #bdace4
}

.app-review-top,
.app-review-top>span:last-child {
    color: #7c8aac
}

.app-final {
    background: linear-gradient(120deg, #eef3ff, #f6f2ff);
    border-color: #e2e7f5
}

.app-footer {
    background: #fff
}

.app-mobile-bar {
    background: #fffffff2
}

.app-mobile-bar>a {
    background: var(--brand);
    color: #fff
}

.app-document-content .callout {
    background: #f1f4ff;
    border-color: #9aa9ed
}

.app-text-link {
    text-decoration-color: #bac5e8
}

.fz-showcase__item {
    border-color: #e2e7f2;
    box-shadow: 0 20px 50px -12px #253c6b35
}

.fz-showcase__arrow {
    border-color: #dce3f0;
    color: #354782;
    box-shadow: 0 4px 16px #31497712
}

.fz-showcase__arrow:hover {
    background: #eef2ff
}

.fz-showcase__dots button::after {
    background: #cbd2e3
}

.fz-showcase__dots button[aria-pressed=true]::after {
    background: var(--brand)
}

.fz-showcase__source {
    color: #52617b
}

.fz-showcase__shadow {
    background: #4a64a622
}

/* The image stays decorative; the white gradient keeps copy readable. */
.fz-hero {
    position: relative;
    isolation: isolate;
    padding: 42px 48px 36px;
    margin-top: 28px;
    border: 1px solid #e3eaf5;
    border-radius: 28px;
    background: #f0f7ff;
    box-shadow: 0 18px 50px -25px #3f5b9829;
    overflow: hidden;
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr)
}

.fz-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .92) 30%, rgba(255, 255, 255, .52) 60%, rgba(255, 255, 255, .28) 100%), url('/skin/fuzhu/hero-background.webp') center/cover no-repeat
}

.fz-hero__brand {
    color: #202e4d
}

.fz-hero__stamp {
    color: #5364bf;
    background: #edf1ff;
    border: 1px solid #cbd5f3;
    box-shadow: none;
    transform: none
}

.fz-cta__arrow {
    background: #ffffff24;
    color: #fff
}

.fz-hero__slogan {
    color: #273c60
}

.fz-hero__summary {
    color: #53627b
}

.fz-hero__mood {
    color: #6d7ca2
}

.app-hero-web {
    color: #3e50a6
}

@media(max-width:1100px) {
    .fz-hero {
        padding: 30px 28px;
        gap: 20px
    }

    .fz-hero__brand {
        font-size: 66px
    }
}

@media(max-width:900px) {
    .fz-hero {
        grid-template-columns: 1fr;
        padding: 36px 28px 28px;
        gap: 28px
    }

    .fz-hero::before {
        background-image: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .84) 35%, rgba(255, 255, 255, .4)), url('/skin/fuzhu/hero-background.webp');
        background-position: 62% center
    }

    .fz-hero__copy {
        max-width: 560px
    }
}

@media(max-width:480px) {
    .fz-hero {
        width: calc(100% - 24px);
        padding: 30px 20px 24px;
        border-radius: 22px;
        margin-top: 14px;
        gap: 24px
    }

    .fz-hero__brand {
        font-size: 58px !important
    }

    .fz-hero__slogan {
        font-size: 27px
    }

    .fz-showcase {
        width: calc(100% + 12px);
        margin-left: -6px
    }

    .app-shortcuts {
        border-radius: 14px;
        margin-top: 20px
    }

    .app-shortcuts small {
        font-size: 10px
    }
}

/* Full-width artwork, independent of the centered content container. */
.fz-hero-backdrop {
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .92) 30%, rgba(255, 255, 255, .52) 60%, rgba(255, 255, 255, .28)), url('/skin/fuzhu/hero-background.webp') center/cover no-repeat
}

.fz-hero-backdrop .fz-hero {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 42px 24px 36px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible
}

.fz-hero-backdrop .fz-hero::before {
    display: none
}

@media(max-width:900px) {
    .fz-hero-backdrop {
        background-image: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .84) 35%, rgba(255, 255, 255, .4)), url('/skin/fuzhu/hero-background.webp');
        background-position: 62% center
    }

    .fz-hero-backdrop .fz-hero {
        padding: 36px 16px 28px
    }
}

@media(max-width:480px) {
    .fz-hero-backdrop .fz-hero {
        width: 100%;
        padding: 30px 24px 24px
    }
}

/* Compact product preview with the original brand ornaments. */
.fz-hero-backdrop .fz-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 370px) 82px;
    gap: 26px;
    padding: 26px 12px 24px;
    min-height: 0
}

.fz-showcase {
    max-width: 370px
}

.fz-showcase__brand {
    font-size: 13px;
    margin-bottom: 8px
}

.fz-showcase__stage {
    height: 438px
}

.fz-showcase__track {
    width: 204px;
    height: 432px
}

.fz-showcase__item {
    width: 204px;
    height: 430px;
    padding: 6px;
    border-radius: 27px
}

.fz-showcase__item img {
    border-radius: 20px
}

.fz-showcase__arrow {
    width: 34px;
    height: 34px;
    font-size: 24px
}

.fz-showcase__shadow {
    bottom: 0;
    width: 180px
}

.fz-showcase__caption {
    font-size: 12px;
    margin: 4px 0
}

.fz-showcase__source {
    margin-top: 3px
}

.fz-hero__copy {
    position: relative;
    padding-bottom: 30px
}

.fz-hero__mood {
    font-size: 9px;
    margin-top: 22px
}

.fz-hero__copy .hero__frog {
    position: absolute;
    right: 15px;
    bottom: -32px;
    top: auto;
    width: 84px;
    margin: 0;
    transform: rotate(-5deg)
}

.hero__frog::before {
    inset: 0;
    background: #ffffff65;
    border-color: #ffffff80;
    box-shadow: none
}

.hero__frog img {
    width: 84px;
    height: 84px;
    filter: drop-shadow(0 5px 8px #51659b25);
    transform: none
}

.hero__frog .fz-hero__frog-caption {
    font: 600 11px/1.4 var(--font-body);
    color: #43558a !important;
    text-shadow: none;
    box-shadow: none;
    background: #ffffffc9;
    border-color: #dfe6f6;
    padding: 4px 8px;
    margin-top: -5px;
    transform: none
}

.hero__aside {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 0;
    order: initial
}

.hero__aside .fz-hero__words {
    display: grid;
    gap: 8px;
    font-size: 13px;
    color: #475984;
    white-space: nowrap
}

.hero__aside .fz-hero__note {
    width: 84px;
    margin: 0;
    padding: 20px 12px 14px;
    background: #e9edff;
    border: 1px solid #cad5f1;
    border-radius: 3px;
    color: #4e6097;
    font-size: 17px;
    line-height: 1.5;
    transform: rotate(5deg);
    box-shadow: 0 8px 18px #4d659617;
    animation: none
}

.hero__aside .fz-hero__note:after {
    display: none
}

.hero__aside .fz-hero__note-tape {
    background: #ffffffa6;
    width: 42px;
    left: 20px;
    border-color: #d8e0f6
}

.hero__aside .fz-hero__sign {
    display: block;
    margin: 0;
    font-size: 9px;
    line-height: 1.7;
    color: #647599;
    white-space: nowrap
}

@media(min-width:901px) and (max-width:1100px) {
    .fz-hero-backdrop .fz-hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 320px) 70px;
        gap: 18px
    }

    .fz-hero__brand {
        font-size: 64px
    }

    .hero__aside .fz-hero__note {
        width: 70px;
        font-size: 15px;
        padding-inline: 9px
    }

    .fz-hero__copy .hero__frog {
        right: 4px;
        width: 72px
    }

    .hero__frog img {
        width: 72px;
        height: 72px
    }
}

@media(max-width:900px) {
    .fz-hero-backdrop .fz-hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
        gap: 20px;
        padding: 28px 0
    }

    .hero__aside {
        grid-column: 1/-1;
        flex-direction: row;
        justify-content: space-between;
        gap: 15px
    }

    .hero__aside .fz-hero__words {
        display: flex;
        gap: 18px;
        font-size: 12px
    }

    .hero__aside .fz-hero__note {
        display: none
    }

    .hero__aside .fz-hero__sign {
        font-size: 9px
    }

    .fz-hero__brand {
        font-size: 58px
    }

    .fz-hero__slogan {
        font-size: 27px
    }
}

@media(max-width:700px) {
    .fz-hero-backdrop .fz-hero {
        grid-template-columns: 1fr;
        padding: 28px 24px 22px;
        gap: 18px
    }

    .fz-hero__copy {
        padding: 0 0 8px;
        width: 100%
    }

    .fz-hero__copy .hero__frog {
        width: 70px;
        right: 4px;
        bottom: 12px
    }

    .hero__frog img {
        width: 70px;
        height: 70px
    }

    .hero__frog .fz-hero__frog-caption {
        font-size: 10px
    }

    .fz-hero__mood {
        max-width: 210px;
        font-size: 8px;
        letter-spacing: .03em
    }

    .fz-showcase {
        width: 100%;
        margin: 0;
        max-width: 340px
    }

    .fz-showcase__stage {
        height: 410px
    }

    .fz-showcase__track {
        width: 190px;
        height: 404px
    }

    .fz-showcase__item {
        width: 190px;
        height: 400px;
        padding: 6px;
        border-radius: 25px
    }

    .fz-showcase__item img {
        border-radius: 18px
    }

    .fz-showcase__shadow {
        bottom: 0
    }

    .fz-showcase__caption {
        margin: 4px 0
    }

    .hero__aside {
        grid-column: auto;
        width: 100%;
        max-width: 340px;
        justify-self: center;
        gap: 10px;
        padding-top: 4px
    }

    .hero__aside .fz-hero__words {
        gap: 14px;
        font-size: 11px
    }

    .hero__aside .fz-hero__sign {
        font-size: 8px
    }
}

@media(max-width:700px) {
    .fz-hero__copy .hero__frog {
        right: 0;
        bottom: 84px;
        width: 62px
    }

    .hero__frog img {
        width: 62px;
        height: 62px
    }

    .hero__frog .fz-hero__frog-caption {
        display: none
    }
}

/* Six pastel accents inspired by the reference quick navigation. */
.app-shortcuts {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
    padding: 9px;
    margin-top: 24px;
    margin-bottom: 0;
    border: 1px solid #eef0f6;
    border-radius: 16px;
    background: #fffffffa;
    box-shadow: 0 14px 36px #1f233512;
    overflow: visible
}

.app-shortcuts>a,
.app-shortcuts>a:last-child {
    --quick-color: #7567ff;
    --quick-bg: #f0edff;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    min-height: 90px;
    padding: 14px 13px;
    border: 1px solid #e6e1f1;
    border-radius: 14px;
    background: #fff;
    transition: transform .2s, border-color .2s, box-shadow .2s
}

.app-shortcuts>a:nth-child(2) {
    --quick-color: #4f8cf7;
    --quick-bg: #edf4ff
}

.app-shortcuts>a:nth-child(3) {
    --quick-color: #35ad87;
    --quick-bg: #eaf8f3
}

.app-shortcuts>a:nth-child(4) {
    --quick-color: #efaa29;
    --quick-bg: #fff5e5
}

.app-shortcuts>a:nth-child(5) {
    --quick-color: #e35b61;
    --quick-bg: #fff0f0
}

.app-shortcuts>a:nth-child(6) {
    --quick-color: #df6291;
    --quick-bg: #fff0f6
}

.app-shortcuts .app-shortcuts__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--quick-bg);
    color: var(--quick-color)
}

.app-shortcuts__copy {
    min-width: 0;
    flex: 1
}

.app-shortcuts b {
    display: block;
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
    color: #303746;
    white-space: nowrap
}

.app-shortcuts small {
    display: block;
    font-size: 10px;
    line-height: 1.5;
    margin-top: 4px;
    color: #748093;
    white-space: nowrap;
    letter-spacing: 0
}

.app-shortcuts em {
    position: static;
    font-size: 15px;
    line-height: 1;
    color: #a9b2c2;
    flex-shrink: 0
}

.app-shortcuts>a:hover {
    background: #fff;
    border-color: var(--quick-color);
    box-shadow: 0 7px 18px #26376412;
    transform: translateY(-3px)
}

.app-shortcuts>a:hover em {
    color: var(--quick-color)
}

@media(max-width:1150px) {
    .app-shortcuts {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .app-shortcuts>a:nth-child(3),
    .app-shortcuts>a:nth-child(-n+3) {
        border: 1px solid #e6e1f1
    }

    .app-shortcuts>a:hover {
        border-color: var(--quick-color)
    }
}

@media(max-width:520px) {
    .app-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 8px;
        margin-top: 18px;
        border-radius: 16px
    }

    .app-shortcuts>a {
        gap: 8px;
        padding: 13px 10px;
        min-height: 82px;
        border-radius: 12px
    }

    .app-shortcuts b {
        font-size: 14px
    }

    .app-shortcuts small {
        font-size: 9px;
        white-space: normal
    }

    .app-shortcuts em {
        font-size: 13px
    }

    .app-shortcuts .app-shortcuts__icon {
        width: 30px;
        height: 32px;
        flex-basis: 30px;
        border-radius: 8px
    }

    .app-shortcuts .app-shortcuts__icon svg {
        width: 18px;
        height: 18px
    }
}

/* Treat the hero and quick navigation as one viewport composition. */
@media(min-width:901px) {
    .fz-first-screen {
        --preview-height: clamp(230px, calc(100svh - 400px), 520px);
        height: calc(100svh - 83px);
        min-height: 620px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-bottom: 20px
    }

    .fz-first-screen .fz-hero-backdrop {
        flex: 1;
        min-height: 0;
        display: flex
    }

    .fz-first-screen .fz-hero {
        height: 100%;
        grid-template-columns: minmax(0, 1fr) 188px minmax(0, 370px) 82px;
        gap: 16px;
        padding: 20px 0;
        align-items: center
    }

    .fz-first-screen .app-shortcuts {
        flex-shrink: 0;
        margin: 0 auto
    }

    .fz-first-screen .fz-showcase {
        width: 100%;
        min-width: 0
    }

    .fz-first-screen .fz-showcase__stage {
        height: calc(var(--preview-height) + 8px)
    }

    .fz-first-screen .fz-showcase__track {
        width: calc(var(--preview-height) * .474);
        height: var(--preview-height)
    }

    .fz-first-screen .fz-showcase__item {
        width: calc(var(--preview-height) * .474);
        height: var(--preview-height);
        padding: 6px
    }

    .fz-first-screen .hero__frog {
        position: relative;
        inset: auto;
        align-self: center;
        justify-self: center;
        width: 188px;
        margin: 0;
        transform: translateY(35px);
        order: initial
    }

    .fz-first-screen .hero__frog img {
        width: 188px;
        height: 188px
    }

    .fz-first-screen .hero__frog .fz-hero__frog-caption {
        font-size: 16px;
        padding: 6px 14px;
        margin-top: -8px;
        display: block
    }

    .fz-first-screen .fz-hero__copy {
        padding-bottom: 0
    }
}

@media(min-width:901px) and (max-width:1150px) {
    .fz-first-screen {
        --preview-height: clamp(220px, calc(100svh - 500px), 500px)
    }

    .fz-first-screen .fz-hero {
        grid-template-columns: minmax(0, 1fr) 140px minmax(0, 300px) 70px;
        gap: 14px
    }

    .fz-first-screen .hero__frog {
        width: 140px
    }

    .fz-first-screen .hero__frog img {
        width: 140px;
        height: 140px
    }

    .fz-first-screen .hero__frog .fz-hero__frog-caption {
        font-size: 13px
    }

    .fz-first-screen .fz-hero__brand {
        font-size: 62px
    }

    .fz-first-screen .fz-hero__slogan {
        font-size: 29px
    }
}

@media(max-width:900px) {
    .fz-first-screen .hero__frog {
        display: none
    }
}

@media(max-width:700px) {
    .fz-first-screen .hero__frog {
        display: grid;
        position: absolute;
        top: 156px;
        right: 24px;
        bottom: auto;
        left: auto;
        width: 96px;
        margin: 0;
        transform: none
    }

    .fz-first-screen .hero__frog img {
        width: 96px;
        height: 96px
    }

    .fz-first-screen .hero__frog .fz-hero__frog-caption {
        display: none
    }
}

/* Framed H5 previews, soft grounding shadow and pastel quick cards. */
.fz-first-screen .fz-showcase__item {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible
}

.fz-first-screen .fz-showcase__shadow {
    bottom: -3px;
    width: 70%;
    height: 18px;
    background: radial-gradient(ellipse, #0009 0%, #0004 45%, #0000 75%);
    filter: blur(5px);
    z-index: 0
}

.app-shortcuts {
    background: linear-gradient(115deg, #f2efff 0%, #f0f7ff 35%, #fff7ed 70%, #fff0f7 100%);
    border-color: #eeedf5
}

.app-shortcuts>a,
.app-shortcuts>a:last-child {
    background: linear-gradient(120deg, var(--quick-bg), #fff 85%)
}

.app-shortcuts>a:hover {
    background: linear-gradient(120deg, var(--quick-bg), #fff 100%)
}

@media(min-width:1151px) {
    .fz-first-screen .fz-hero {
        grid-template-columns: minmax(0, 400px) 164px minmax(0, 1fr) 82px
    }

    .fz-first-screen .hero__frog {
        width: 164px;
        transform: translate(-12px, 35px)
    }

    .fz-first-screen .hero__frog img {
        width: 164px;
        height: 164px
    }
}

@media(min-width:901px) and (max-width:1150px) {
    .fz-first-screen .fz-hero {
        grid-template-columns: minmax(0, 1fr) 128px minmax(0, 300px) 70px
    }

    .fz-first-screen .hero__frog {
        width: 128px;
        transform: translate(-16px, 35px)
    }

    .fz-first-screen .hero__frog img {
        width: 128px;
        height: 128px
    }
}

.fz-first-screen .fz-showcase__item::before,
.fz-first-screen .fz-showcase__item::after {
    content: none
}

.fz-first-screen .fz-showcase__item img {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: transparent
}

/* Each slide is one flattened phone image; animate the whole device. */
.fz-first-screen .fz-showcase__item {
    transition: transform .6s cubic-bezier(.22, .68, .25, 1), filter .6s ease;
    will-change: transform, filter
}

.fz-first-screen .fz-showcase__item img {
    display: block;
    object-fit: fill
}

@media(min-width:901px) {
    .hero__aside {
        --note-width: 84px;
        --hang-offset: calc((100% - var(--note-width))/2)
    }

    .hero__aside::before {
        content: "";
        position: absolute;
        left: var(--hang-offset);
        top: -64px;
        width: 1px;
        height: 156px;
        background: linear-gradient(#59678633, #59678699);
        pointer-events: none
    }

    .hero__aside .fz-hero__note {
        width: var(--note-width);
        transform-origin: 0 -12px;
        animation: fz-note-sway 7s ease-in-out infinite
    }

    .hero__aside .fz-hero__note-tape {
        left: 0;
        top: -12px;
        transform: none
    }
}

@media(min-width:901px) and (max-width:1100px) {
    .hero__aside {
        --note-width: 70px
    }
}

@keyframes fz-note-sway {

    0%,
    100% {
        transform: rotate(3deg)
    }

    50% {
        transform: rotate(-3deg)
    }
}

@media(prefers-reduced-motion:reduce) {
    .fz-first-screen .fz-showcase__item {
        transition-duration: .22s
    }

    .hero__aside .fz-hero__note {
        animation-duration: 12s
    }
}

.fz-first-screen .fz-showcase__item {
    transition: transform .6s cubic-bezier(.22, .68, .25, 1), filter .6s ease !important
}

@media(min-width:901px) {
    .hero__aside .fz-hero__note {
        animation: fz-note-sway 7s ease-in-out infinite !important
    }
}

@media(prefers-reduced-motion:reduce) {
    .fz-first-screen .fz-showcase__item {
        transition-duration: .28s !important
    }

    .hero__aside .fz-hero__note {
        animation-duration: 12s !important;
        animation-iteration-count: infinite !important
    }
}

/* Full-bleed background continues behind half of the quick navigation. */
.fz-first-screen {
    --quick-half: 55px;
    --quick-gap: 20px;
    position: relative;
    isolation: isolate
}

.fz-first-screen .fz-hero-backdrop {
    position: relative;
    background: none;
    isolation: isolate
}

.fz-first-screen .fz-hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0 0 calc(-1 * (var(--quick-half) + var(--quick-gap)));
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .92) 30%, rgba(255, 255, 255, .52) 60%, rgba(255, 255, 255, .28)), url('/skin/fuzhu/hero-background.webp') center/cover no-repeat
}

.fz-first-screen .app-shortcuts {
    position: relative;
    isolation: isolate;
    background: transparent;
    border-color: transparent;
    box-shadow: none
}

.fz-first-screen .app-shortcuts::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 0;
    bottom: -20px;
    width: 100vw;
    transform: translateX(-50%);
    pointer-events: none;
    background: linear-gradient(115deg, #f2efffa8 0%, #f0f7ffa8 35%, #fff7edb8 70%, #fff0f7b8 100%)
}

@media(min-width:521px) and (max-width:1150px) {
    .fz-first-screen {
        --quick-half: 105px
    }
}

@media(max-width:520px) {
    .fz-first-screen {
        --quick-half: 140px;
        --quick-gap: 18px
    }
}

@media(max-width:900px) {
    .fz-first-screen .fz-hero-backdrop::after {
        background-image: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .84) 35%, rgba(255, 255, 255, .4)), url('/skin/fuzhu/hero-background.webp');
        background-position: 62% center
    }
}

@media(min-width:901px) {
    .hero__aside::before {
        width: 2px;
        background: #677496a6
    }

    .hero__aside::after {
        content: "";
        position: absolute;
        left: calc(var(--hang-offset) - 3px);
        top: -68px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #677496
    }

    .hero__aside .fz-hero__note-tape::before {
        content: "";
        position: absolute;
        left: -4px;
        top: -4px;
        width: 10px;
        height: 10px;
        box-sizing: border-box;
        border: 2px solid #677496;
        border-radius: 50%;
        background: #f5f6ff;
        z-index: 2
    }
}

@media(min-width:801px) and (max-width:1150px) {
    .app-nav {
        gap: 14px;
        font-size: 12px
    }

    .app-brand small {
        font-size: 10px
    }
}

/* Illustrated column mastheads inspired by the brand's existing banners. */
.fz-directory .fz-directory-head,
.fz-updates .fz-updates-head {
    position: relative;
    max-width: none;
    min-height: 285px;
    width: 100%;
    margin: 25px 0 35px;
    padding: 52px 42px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border: 1px solid #e5e7f1;
    border-radius: 24px;
    overflow: hidden;
    background-color: #f5f6fc;
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 12px 35px #263b6410;
    isolation: isolate
}

.fz-directory .fz-directory-head {
    background-image: linear-gradient(90deg, #fff9 0%, #fff5 40%, #fff0 68%), url('/skin/fuzhu/drama-banner.webp')
}

.fz-updates .fz-updates-head {
    background-image: linear-gradient(90deg, #ffff 0%, #ffffffe6 33%, #ffffff1a 78%), url('/skin/fuzhu/updates-banner.webp')
}

.fz-directory-head .app-kicker,
.fz-updates-head .app-kicker {
    font-size: 11px;
    letter-spacing: .17em;
    color: #636cc2
}

.fz-directory .fz-directory-head h1,
.fz-updates .fz-updates-head h1 {
    font-family: var(--font-body);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.035em;
    margin: 14px 0 18px;
    max-width: 57%;
    color: #222f4d
}

.fz-directory .fz-directory-head>p:last-child,
.fz-updates .fz-updates-head>p:last-child {
    font-size: 14px;
    line-height: 1.9;
    max-width: 48%;
    margin: 0;
    color: #647188
}

.fz-catalog-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch
}

.fz-work-card--more {
    min-height: 330px;
    background: linear-gradient(145deg, #f1f0ff, #f2f8ff 70%, #fff);
    border: 1px dashed #bdc5e8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 18px;
    gap: 14px;
    color: #4d5b86
}

.fz-work-card__plus {
    font-size: 76px;
    font-weight: 300;
    line-height: 1;
    color: #8793d9;
    display: block
}

.fz-work-card--more h2 {
    font-size: 18px;
    line-height: 1.5;
    margin: 0
}

.fz-work-card--more p {
    font-size: 12px;
    line-height: 1.9;
    margin: 0;
    color: #7c86a1;
    max-width: 170px
}

.fz-work-card__more-link {
    font-size: 11px;
    color: #5564bd;
    margin-top: 10px
}

@media(min-width:801px) and (max-width:1150px) {
    .app-nav {
        gap: 12px;
        font-size: 11px
    }

    .app-brand b {
        font-size: 20px
    }

    .app-brand small {
        font-size: 9px
    }

    .app-download-link {
        padding: 11px 14px
    }
}

@media(max-width:1100px) {
    .fz-catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media(max-width:700px) {

    .fz-directory .fz-directory-head,
    .fz-updates .fz-updates-head {
        min-height: 265px;
        padding: 30px 24px;
        margin: 20px 0 26px;
        border-radius: 18px;
        background-position: 62% center
    }

    .fz-directory .fz-directory-head h1,
    .fz-updates .fz-updates-head h1 {
        font-size: 30px;
        max-width: 72%
    }

    .fz-directory .fz-directory-head>p:last-child,
    .fz-updates .fz-updates-head>p:last-child {
        max-width: 64%;
        font-size: 12px
    }

    .fz-directory .fz-directory-head {
        background-image: linear-gradient(90deg, #fffffff2, #ffffffa6 50%, #ffffff1a), url('/skin/fuzhu/drama-banner.webp')
    }

    .fz-updates .fz-updates-head {
        background-image: linear-gradient(90deg, #fffffff2, #ffffffa6 50%, #ffffff1a), url('/skin/fuzhu/updates-banner.webp')
    }

    .fz-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px
    }

    .fz-work-card--more {
        min-height: 300px;
        padding: 20px 12px
    }

    .fz-work-card--more h2 {
        font-size: 16px
    }
}

.fz-catalog-grid {
    grid-auto-rows: 1fr
}

@media(min-width:1101px) {
    .fz-catalog-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }
}

/* Proportional drama covers: preserve original artwork without stretching. */
.app-drama-grid .fq-work-card__cover {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden
}

.app-drama-grid .fq-work-card__cover img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center
}
