
/* =========================================
   无声的防线
   完整样式表：序章 + 正式六幕
   正式六幕共用同一张远景背景
========================================= */

/* 基础设置 */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    width: 100%;
    height: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #111;
    font-family:
        "Microsoft YaHei",
        "PingFang SC",
        "Noto Sans SC",
        Arial,
        sans-serif;
}

button {
    border: 0;
    outline: none;
    background: none;
    font: inherit;
}

/* APP */

.app {
    position: relative;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #bd884d;
}

/* 横向滚动视口 */

.scroll-view {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
    touch-action: pan-x;
}

.scroll-view::-webkit-scrollbar {
    display: none;
}

.scroll-view.locked {
    overflow-x: hidden;
    touch-action: none;
}

.scroll-view.free {
    overflow-x: auto;
    touch-action: pan-x;
    cursor: grab;
}

.scroll-view.free:active {
    cursor: grabbing;
}

/* =========================================
   九屏连续长卷
========================================= */

.world {
    position: relative;
    width: 900%;
    height: 100%;
    overflow: hidden;
    background: #bd884d;
}

/*
   序章背景：前三屏
   使用原来的大沙漠.png
*/

.desert-strip {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;

    width: 33.333333%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    user-select: none;
    pointer-events: none;
}

/*
   核心修改：

   第 4～9 屏，也就是正式第一幕到第六幕，
   使用同一个背景层。

   图片路径相对于 css/style.css，
   所以这里需要 ../images/
*/

.later-background {
    position: absolute;

    left: 33.333333%;
    top: 0;

    z-index: 0;

    width: 66.666667%;
    height: 100%;

    background-color: #bd884d;
    background-image: url("../images/远景图.jpg");

    background-repeat: no-repeat;
    background-position: center center;

    /* 整个六屏区域统一铺设，不逐幕重复 */
    background-size: cover;

    pointer-events: none;
}

/* 每屏基础布局 */

.world-scene {
    position: absolute;
    top: 0;
    z-index: 5;
    width: 11.111111%;
    height: 100%;
}

/* =========================================
   序章第一屏：开场
========================================= */

.scene-opening {
    left: 0;
    overflow: hidden;
}

.opening-shade {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(10, 6, 3, 0.30),
        rgba(10, 6, 3, 0.10) 58%,
        transparent 86%
    );

    pointer-events: none;
}

.opening-text {
    position: absolute;
    left: 7%;
    top: 50%;
    z-index: 20;

    width: 84%;
    transform: translateY(-50%);

    color: #fff;
    text-align: left;
}

.opening-line {
    margin-bottom: 7px;

    opacity: 0;
    transform: translateY(9px);

    color: #fff;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.68;

    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.92),
        0 5px 12px rgba(0, 0, 0, 0.55);

    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

.opening-line.show {
    opacity: 1;
    transform: translateY(0);
}

.opening-line.paragraph-end {
    margin-bottom: 24px;
}

/* =========================================
   序章第二屏：磕头机
========================================= */

.scene-pump {
    left: 11.111111%;
    overflow: hidden;
}

.pump-title {
    position: absolute;
    left: 7%;
    top: 8%;
    z-index: 30;

    display: flex;
    flex-direction: column;

    color: #fff;

    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 5px 12px rgba(0, 0, 0, 0.55);
}

.pump-title span {
    font-size: 30px;
    font-weight: 700;
}

.pump-title small {
    margin-top: 7px;
    font-size: 14px;
    font-weight: 600;
}

.pumpjack-button {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 15;

    height: 80%;
    transform: translateX(-50%);

    pointer-events: none;
    cursor: default;
}

.pumpjack-button.ready {
    pointer-events: auto;
    cursor: pointer;
}

.pumpjack {
    display: block;
    width: auto;
    height: 100%;

    object-fit: contain;
    user-select: none;
    pointer-events: none;

    filter: drop-shadow(
        0 10px 10px rgba(43, 27, 14, 0.22)
    );
}

.pump-landing-point {
    position: absolute;
    left: 62%;
    top: 26%;
    z-index: 100;

    width: 10px;
    height: 10px;

    border-radius: 50%;
    transform: translate(-50%, -50%);

    opacity: 0;
    pointer-events: none;
}

.pump-tip {
    position: absolute;
    left: 50%;
    bottom: 4%;
    z-index: 30;

    padding: 7px 15px;
    border-radius: 999px;

    background: rgba(37, 26, 17, 0.76);
    color: #fff;

    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;

    opacity: 0;

    transform:
        translateX(-50%)
        translateY(8px);

    transition:
        opacity 0.4s ease,
        transform 0.4s ease;

    pointer-events: none;
}

.pumpjack-button.ready .pump-tip {
    opacity: 1;
    transform:
        translateX(-50%)
        translateY(0);
}

/* =========================================
   序章第三屏：正题入口
========================================= */

.scene-main-start {
    left: 22.222222%;
    overflow: hidden;
}

.main-heading {
    position: absolute;
    left: 8%;
    top: 50%;
    z-index: 20;

    width: 82%;

    opacity: 0;

    transform:
        translateY(-50%)
        translateY(12px);

    color: #fff;

    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.92),
        0 6px 14px rgba(0, 0, 0, 0.60);

    transition:
        opacity 1s ease,
        transform 1s ease;
}

.main-heading.show {
    opacity: 1;
    transform: translateY(-50%);
}

.main-index {
    display: block;
    margin-bottom: 7px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
}

.main-heading h1 {
    font-size: 33px;
    font-weight: 700;
    line-height: 1.3;
}

.main-heading p {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 600;
}

.slide-tip {
    margin-top: 28px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;

    animation: slideTip 1.7s ease-in-out infinite;
}

@keyframes slideTip {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(8px);
    }
}

/* =========================================
   正式六幕的位置

   每幕只决定内容所在区域，
   不再给每幕单独设置背景。
========================================= */

.scene-content-1 {
    left: 33.333333%;
}

.scene-content-2 {
    left: 44.444444%;
}

.scene-content-3 {
    left: 55.555555%;
}

.scene-content-4 {
    left: 66.666666%;
}

.scene-content-5 {
    left: 77.777777%;
}

.scene-content-6 {
    left: 88.888888%;
}

.scene-content {
    display: flex;
    align-items: center;
    padding: 8%;

    /* 共用下层背景 */
    background: transparent;
}

/* 后五幕占位 */

.placeholder-card {
    width: 100%;
    padding: 24px;

    background: rgba(238, 225, 197, 0.9);
    color: #38291e;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18);
}

.placeholder-card span {
    color: #98603b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
}

.placeholder-card h2 {
    margin-top: 7px;
    font-size: 25px;
}

.placeholder-card p {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.8;
}

/* =========================================
   序章全局蝴蝶
========================================= */

.butterfly-guide {
    position: absolute;
    left: 3%;
    top: 70%;
    z-index: 200;

    width: 76px;
    padding: 0;

    opacity: 1;
    pointer-events: none;
    cursor: default;

    will-change:
        left,
        top,
        transform,
        opacity;
}

.butterfly-guide.clickable {
    pointer-events: auto;
    cursor: pointer;
}

.butterfly-animation {
    position: relative;
    z-index: 2;

    display: block;
    width: 100%;
    height: auto;

    user-select: none;
    pointer-events: none;

    filter: drop-shadow(
        0 4px 4px rgba(35, 23, 12, 0.22)
    );
}

.butterfly-dot {
    position: absolute;
    left: 50%;
    top: -1px;
    z-index: 10;

    width: 11px;
    height: 11px;
    border-radius: 50%;

    background: #fff;
    transform: translate(-50%, -50%);

    opacity: 0;
    pointer-events: none;
}

.butterfly-guide.resting .butterfly-dot {
    opacity: 1;
}

/* =========================================
   序章介绍弹层
========================================= */

.intro-overlay {
    position: absolute;
    inset: 0;
    z-index: 400;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

.intro-overlay.open {
    opacity: 1;
    visibility: visible;
}

.intro-mask {
    position: absolute;
    inset: 0;

    background: rgba(25, 16, 9, 0.62);
    backdrop-filter: blur(5px);
}

.intro-paper {
    position: relative;
    z-index: 2;

    width: 86%;
    max-height: 86%;
    overflow-y: auto;

    padding: 38px 27px 27px;

    background: #efe4ce;
    color: #37291f;

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.35);

    transform:
        translateY(25px)
        scale(0.94);

    transition:
        transform 0.5s cubic-bezier(.2, .8, .2, 1);
}

.intro-overlay.open .intro-paper {
    transform:
        translateY(0)
        scale(1);
}

.intro-index {
    color: #a35e35;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.28em;
}

.intro-paper h1 {
    margin-top: 6px;
    font-size: 30px;
}

.intro-paper h2 {
    margin-top: 4px;
    color: #715b49;
    font-size: 15px;
}

.intro-divider {
    width: 45px;
    height: 1px;
    margin: 20px 0;
    background: #765039;
}

.intro-paper p {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.85;
}

.enter-main-button {
    display: flex;
    align-items: center;

    width: 100%;
    margin-top: 24px;
    padding: 13px 14px;

    border: 1px solid rgba(82, 55, 35, 0.35);
    background: rgba(255, 250, 237, 0.62);
    color: #493427;

    cursor: pointer;
}

.enter-main-button span {
    font-size: 11px;
    opacity: 0.6;
}

.enter-main-button strong {
    margin-left: 10px;
    font-size: 16px;
}

.enter-main-button i {
    margin-left: auto;
    font-size: 21px;
    font-style: normal;
}

.intro-close {
    position: absolute;
    right: 13px;
    top: 11px;

    width: 35px;
    height: 35px;

    color: #554034;
    font-size: 27px;
    cursor: pointer;
}

/* =========================================
   正式第一幕
========================================= */

.scene-content-1 {
    display: block;
    position: absolute;

    padding: 0;
    overflow: hidden;
    isolation: isolate;

    /*
       关键修改：
       第一幕不能再用不透明底色，
       否则会遮住六幕共用的远景。
    */
    background: transparent;
}

.scene-content-1 button {
    -webkit-tap-highlight-color: transparent;
}

/*
   关键修改：

   scene1.js 中原先生成的
   单独远景图片不再显示。

   不需要修改 scene1.js，
   也不会在第一幕重复盖一张远景。
*/

.scene-content-1 .s1-background {
    display: none;
}

/* 第一幕空气氛围 */

.s1-atmosphere {
    position: absolute;
    inset: 0;
    z-index: 1;

    opacity: 0;
    pointer-events: none;

    background: linear-gradient(
        180deg,
        rgba(249, 218, 152, 0.10),
        transparent 60%,
        rgba(128, 87, 43, 0.10)
    );

    animation:
        s1Haze 7s ease-in-out infinite alternate;
}

.s1-sand {
    position: absolute;
    inset: -10%;
    z-index: 5;

    opacity: 0;
    pointer-events: none;

    background-image: radial-gradient(
        circle,
        rgba(255, 238, 199, 0.40) 0.6px,
        transparent 1px
    );

    background-size: 30px 32px;
    animation: s1Wind 18s linear infinite;
}

.s1-active .s1-atmosphere {
    opacity: 1;
}

.s1-active .s1-sand {
    opacity: 0.22;
}

@keyframes s1Haze {
    from {
        transform: translateY(0);
        opacity: 0.35;
    }
    to {
        transform: translateY(-8px);
        opacity: 0.65;
    }
}

@keyframes s1Wind {
    from {
        transform: translateX(-5%);
    }
    to {
        transform: translateX(5%);
    }
}

/* 两侧油田剪影 */

.s1-silhouette {
    position: absolute;
    bottom: 18%;
    z-index: 2;

    width: 35%;
    height: auto;

    opacity: 0;
    pointer-events: none;

    object-fit: contain;
    mix-blend-mode: multiply;

    transition: opacity 2s ease;
}

.s1-silhouette-left {
    left: -12%;
}

.s1-silhouette-right {
    right: -11%;
}

.s1-active .s1-silhouette {
    opacity: 0.09;
}

/* 管线 */

.s1-pipeline {
    position: absolute;
    left: 0;
    bottom: 20%;
    z-index: 3;

    width: 100%;
    height: auto;

    opacity: 0;
    pointer-events: none;

    transition: opacity 1.5s ease;
}

.s1-active .s1-pipeline {
    opacity: 0.48;
}

/* 沙棘 */

.s1-plant {
    position: absolute;
    left: 1%;
    bottom: 7%;
    z-index: 15;

    width: 40%;
    height: 50%;

    object-fit: contain;
    object-position: center bottom;

    opacity: 0;
    transform-origin: center bottom;

    transform:
        translateY(45px)
        scaleY(0.6);

    transition:
        opacity 1.4s ease,
        transform 2.5s cubic-bezier(.2, .7, .25, 1);

    pointer-events: none;
}

.s1-plant.s1-growing {
    opacity: 1;
    transform:
        translateY(0)
        scaleY(1);
}

/* 第一幕蝴蝶 */

.s1-butterfly {
    position: absolute;
    left: 20%;
    top: 43%;
    z-index: 25;

    width: 69px;
    height: auto;

    opacity: 0;

    transform:
        translate(-145px, 70px)
        rotate(-13deg);

    transition:
        opacity 1.2s ease,
        transform 1.8s cubic-bezier(.35, .08, .18, 1);

    pointer-events: none;

    filter: drop-shadow(
        0 4px 5px rgba(48, 28, 13, 0.25)
    );
}

.s1-butterfly.s1-arrived {
    opacity: 1;
    transform:
        translate(0, 0)
        rotate(0);
}

.s1-butterfly.s1-orbit {
    animation:
        s1ButterflyOrbit 1.7s ease-in-out;
}

@keyframes s1ButterflyOrbit {
    0% {
        transform: translate(0, 0) rotate(0);
    }
    25% {
        transform: translate(21px, -42px) rotate(12deg);
    }
    50% {
        transform: translate(48px, -30px) rotate(15deg);
    }
    75% {
        transform: translate(22px, -10px) rotate(-8deg);
    }
    100% {
        transform: translate(0, 0) rotate(0);
    }
}

/* 井架 */

.s1-rig-button {
    position: absolute;
    right: 6%;
    bottom: 20%;
    z-index: 18;

    width: 41%;
    height: 54%;

    opacity: 0;
    transform: translateY(12px);

    transition:
        opacity 1.7s ease,
        transform 1.7s ease,
        filter 0.6s ease;

    cursor: pointer;
}

.s1-rig-button img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: contain;
    pointer-events: none;
}

.s1-rig-button:disabled {
    pointer-events: none;
    cursor: default;
}

.s1-rig-button.s1-awake {
    opacity: 1;
    transform: translateY(0);

    animation:
        s1RigBreath 2.8s ease-in-out infinite;
}

.s1-rig-button.s1-slow {
    animation-duration: 4.8s;
}

.s1-rig-button.s1-clicked {
    filter:
        brightness(1.25)
        drop-shadow(
            0 0 14px rgba(255, 215, 132, 0.60)
        );
}

.s1-rig-glow {
    position: absolute;
    left: 50%;
    top: 45%;

    width: 12px;
    height: 12px;

    border-radius: 50%;
    background: rgba(255, 223, 145, 0.7);

    opacity: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.s1-clicked .s1-rig-glow {
    animation: s1Pulse 0.75s ease-out;
}

@keyframes s1RigBreath {
    0%, 100% {
        filter:
            brightness(1)
            drop-shadow(
                0 0 3px rgba(255, 215, 145, 0.20)
            );
    }
    50% {
        filter:
            brightness(1.13)
            drop-shadow(
                0 0 12px rgba(255, 213, 127, 0.50)
            );
    }
}

@keyframes s1Pulse {
    from {
        opacity: 0.85;
        box-shadow:
            0 0 0 0 rgba(255, 218, 145, 0.65);
    }
    to {
        opacity: 0;
        box-shadow:
            0 0 0 90px rgba(255, 218, 145, 0);
    }
}

/* 文字和图表统一入场 */

.s1-reveal {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        visibility 0.8s;
}

.s1-reveal.s1-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scene-content-1.s1-finishing
.s1-reveal:not(.s1-next) {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-7px);
}

/* 诗句 */

.s1-quote {
    position: absolute;
    left: 8%;
    top: 8%;
    z-index: 40;

    width: 85%;

    color: #fff1d3;
    text-align: center;

    text-shadow:
        0 2px 8px rgba(40, 23, 8, 0.7);

    pointer-events: none;
}

.s1-quote p:first-child {
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 500;
}

.s1-quote p:last-child {
    margin-top: 9px;
    font-size: 12px;
    line-height: 1.65;
}

/* 圆环图 */

.s1-ring-panel {
    position: absolute;
    right: 5%;
    top: 22%;
    z-index: 40;

    width: 59%;
    padding: 12px;

    border:
        1px solid rgba(255, 226, 174, 0.42);

    background: rgba(76, 49, 24, 0.57);
    backdrop-filter: blur(5px);

    color: #fff0d3;
    pointer-events: none;
}

.s1-ring-panel h3 {
    font-size: 11px;
    line-height: 1.6;
    font-weight: 500;
}

.s1-ring-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 8px;
    margin-top: 10px;
}

.s1-ring {
    position: relative;
    flex: 0 0 auto;

    width: 76px;
    height: 76px;

    border-radius: 50%;

    display: grid;
    place-items: center;
}

.s1-ring-center {
    width: 58px;
    height: 58px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    background: #66482c;
}

.s1-ring-value {
    font-size: 14px;
    color: #ffe1a8;
}

.s1-ring-legend {
    flex: 1;
    min-width: 0;

    font-size: 9px;
    line-height: 1.7;
}

.s1-ring-legend p {
    margin-bottom: 6px;
}

.s1-ring-legend i {
    display: inline-block;

    width: 7px;
    height: 7px;

    margin-right: 3px;
    border-radius: 50%;
}

.s1-gold-mark {
    background: #d7a35c;
}

.s1-light-mark {
    background: #fff1d3;
}

/* 数据总结 */

.s1-summary {
    position: absolute;
    left: 7%;
    top: 49%;
    z-index: 40;

    width: 86%;

    color: #fff1d7;
    text-align: center;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;

    text-shadow:
        0 2px 8px rgba(44, 24, 11, 0.8);

    pointer-events: none;
}

/* 年产量图表 */

.s1-annual {
    position: absolute;
    left: 6%;
    top: 59%;
    z-index: 40;

    width: 88%;
    height: 23%;

    padding: 9px 12px;

    color: #fff0d0;

    background: rgba(77, 49, 25, 0.60);

    border:
        1px solid rgba(255, 225, 169, 0.34);

    backdrop-filter: blur(5px);
    pointer-events: none;
}

.s1-annual h3 {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.s1-chart {
    width: 100%;
    height: calc(100% - 20px);
    overflow: visible;
}

.s1-chart-grid path {
    fill: none;
    stroke: rgba(255, 231, 188, 0.21);
    stroke-width: 0.7;
}

.s1-chart-axis path {
    fill: none;
    stroke: rgba(255, 238, 208, 0.72);
    stroke-width: 1;
}

.s1-chart-labels text,
.s1-chart-unit {
    fill: #fff1d5;
    font-size: 9px;
    text-anchor: end;
}

.s1-chart-labels text:nth-child(n+6) {
    text-anchor: middle;
    font-size: 8px;
}

.s1-chart-area {
    fill: rgba(222, 172, 95, 0.30);
    opacity: 0;
    transition: opacity 1.5s ease;
}

.s1-chart-line {
    fill: none;
    stroke: #ffda93;
    stroke-width: 2.5;
    stroke-linejoin: round;
    transition: stroke-dashoffset 1.5s ease;
}

.s1-chart-play .s1-chart-area {
    opacity: 1;
}

.s1-chart-pending {
    position: absolute;
    left: 50%;
    top: 60%;

    width: 75%;
    transform: translate(-50%, -50%);

    text-align: center;
    color: #f4d9a8;
    font-size: 11px;
}

.s1-chart-pending[hidden] {
    display: none;
}

/* 人文文案 */

.s1-human {
    position: absolute;
    left: 6%;
    top: 84%;
    z-index: 45;

    width: 88%;

    text-align: center;
    color: #fff4df;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.65;

    text-shadow:
        0 2px 7px rgba(45, 27, 11, 0.8);

    pointer-events: none;
}

.s1-human-line2 {
    margin-top: 5px;

    opacity: 0;
    transform: translateY(8px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.s1-human-line2.s1-line-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 收尾滑动提示 */

.s1-next {
    position: absolute;
    left: 0;
    bottom: 6%;
    z-index: 50;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 13px;

    color: #fff0cb;
    font-size: 13px;
    letter-spacing: 1px;

    text-shadow:
        0 2px 8px rgba(54, 30, 12, 0.8);

    pointer-events: none;
}

.s1-next.s1-visible {
    animation:
        s1NextBreath 2.5s ease-in-out infinite;
}

.s1-next-arrow {
    position: relative;
    display: inline-block;

    width: 45px;
    overflow: hidden;

    color: #ffdda0;
    font-size: 23px;
}

.s1-next-arrow i {
    position: absolute;
    top: 50%;
    left: 0;

    width: 10px;
    height: 2px;

    background: #fff4d9;
    box-shadow: 0 0 8px #ffda82;

    animation: s1ArrowFlow 2s linear infinite;
}

@keyframes s1ArrowFlow {
    from {
        left: -10px;
    }
    to {
        left: 45px;
    }
}

@keyframes s1NextBreath {
    0%, 100% {
        filter: brightness(0.9);
    }
    50% {
        filter: brightness(1.15);
    }
}

/* =========================================
   手机适配
========================================= */

@media (max-width: 420px) {
    .opening-line {
        font-size: 16px;
    }

    .butterfly-guide {
        width: 72px;
    }

    .pumpjack-button {
        height: 77%;
    }

    .main-heading h1 {
        font-size: 30px;
    }

    .s1-quote p:first-child {
        font-size: 16px;
    }

    .s1-butterfly {
        width: 62px;
    }

    .s1-ring {
        width: 64px;
        height: 64px;
    }

    .s1-ring-center {
        width: 49px;
        height: 49px;
    }

    .s1-ring-value {
        font-size: 12px;
    }

    .s1-ring-panel {
        width: 62%;
    }
}

/* 矮屏适配 */

@media (max-height: 650px) {
    .s1-ring-panel {
        top: 20%;
        padding: 8px;
    }

    .s1-annual {
        top: 57%;
        height: 25%;
    }

    .s1-human {
        top: 83%;
        font-size: 10px;
    }
}

/* 电脑模拟手机 */

@media (min-width: 700px) {
    body {
        display: flex;
        justify-content: center;
    }

    .app {
        width: 430px;
        height: 100vh;

        box-shadow:
            0 0 55px rgba(0, 0, 0, 0.55);
    }
}
