/* 模板5公共页头装饰，不修改导航尺寸及定位。 */
html[data-template="5"] body .t5-scenery-header[class] {
    isolation: isolate;
    background: linear-gradient(120deg, rgba(255,255,255,.06), rgba(0,0,0,.08)), var(--theme-primary, #18882e) !important;
    color: #fff;
}
.t5-header-scenery {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
}
.t5-scenery-header > .header-background { display: none; }
html[data-template="5"] .t5-scenery-header h1,
html[data-template="5"] .t5-scenery-header .header-title,
html[data-template="5"] .t5-scenery-header .aui-title,
html[data-template="5"] .t5-scenery-header .finance-icon-button,
html[data-template="5"] .t5-scenery-header.store-header > a { color: #fff; }
.t5-header-scenery:before {
    content: "";
    position: absolute;
    width: var(--t5-header-sun-size, 250px);
    height: var(--t5-header-sun-size, 250px);
    top: var(--t5-header-sun-offset, -118px);
    left: var(--t5-header-sun-offset, -118px);
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(255,249,196,.8) 0%,
        rgba(245,244,151,.48) 15%,
        rgba(218,239,124,.25) 34%,
        rgba(209,237,135,.1) 53%,
        rgba(209,237,135,0) 72%);
    filter: blur(2px);
    pointer-events: none;
    animation: withdrawal-sun-breathe 7s ease-in-out infinite;
}
.t5-header-scenery:after {
    content: "";
    position: absolute;
    width: 146px;
    height: 146px;
    top: -66px;
    left: -66px;
    border: 1px solid rgba(248,249,176,.16);
    border-radius: 50%;
    box-shadow: 0 0 22px rgba(244,244,159,.1), inset 0 0 18px rgba(244,244,159,.07);
    pointer-events: none;
    animation: withdrawal-sun-ripple 6s ease-out infinite;
}
.t5-header-leaves {
    position: absolute;
    right: 5px;
    bottom: -32px;
    width: var(--t5-header-leaf-size, 98px);
    opacity: .35;
    pointer-events: none;
    transform-origin: 80% 100%;
    animation: withdrawal-leaf-breeze 7s ease-in-out infinite;
}
.t5-header-leaves svg {
    display: block;
    width: 100%;
    height: auto;
    fill: #9acb66;
    stroke: #c1e5a0;
    stroke-width: 1;
    stroke-linecap: round;
}
.t5-header-leaves svg > path:first-child { fill: none; stroke-width: 2; }
.t5-header-leaves svg > path:not(:first-child) {
    transform-box: view-box;
    animation: withdrawal-leaf-flutter 4.8s ease-in-out infinite;
}
.t5-header-leaves svg > path:nth-child(2) { transform-origin: 104px 141px; animation-delay: -.8s; }
.t5-header-leaves svg > path:nth-child(3) { transform-origin: 119px 168px; animation-delay: -2.1s; animation-duration: 5.4s; }
.t5-header-leaves svg > path:nth-child(4) { transform-origin: 78px 85px; animation-delay: -1.5s; animation-duration: 4.3s; }
.t5-header-leaves svg > path:nth-child(5) { transform-origin: 87px 109px; animation-delay: -3.2s; }

@keyframes withdrawal-sun-breathe {
    0%, 100% { transform: scale(.94); opacity: .7; }
    50% { transform: scale(1.2); opacity: 1; }
}
@keyframes withdrawal-sun-ripple {
    0% { transform: scale(.65); opacity: 0; }
    18% { opacity: .7; }
    100% { transform: scale(2.1); opacity: 0; }
}
@keyframes withdrawal-leaf-breeze {
    0%, 100% { transform: rotate(-5deg) translateX(0); }
    35% { transform: rotate(7deg) translateX(5px); }
    65% { transform: rotate(2deg) translateX(2px); }
    82% { transform: rotate(-6deg) translateX(-3px); }
}
@keyframes withdrawal-leaf-flutter {
    0%, 100% { transform: rotate(-4deg); }
    40% { transform: rotate(8deg); }
    70% { transform: rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) {
    .t5-header-scenery:before,
    .t5-header-scenery:after,
    .t5-header-leaves,
    .t5-header-leaves svg > path:not(:first-child) { animation: none; }
    .t5-header-scenery:after { opacity: 0; }
}
