/* ==========================================================================
   一起看app · 日式便当 Bento 风
   全站自适应：1280 / 1080 / 768 / 560 / 400 五档断点
   ========================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 90px;
}

body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
    color: #333b30;
    background: #f7f1e4;
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ol, ul { list-style: none; }

/* 容器：固定宽度改为最大宽度 + 内边距，杜绝中等屏幕横向溢出 */
.w9k3 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.tt9 { font-size: 19px; font-weight: 800; color: #2a3124; }
.ds9 { font-size: 14.5px; color: #6f7465; }
.lk6 { color: #e5533a; font-weight: 800; border-bottom: 3px solid #f5b731; }

/* ===== 头部 ===== */
.hd7q {
    position: fixed; top: 0; left: 0; right: 0; z-index: 90;
    background: rgba(247, 241, 228, .94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 3px solid #242b22;
    transition: box-shadow .3s;
}
.hd7q.sc { box-shadow: 0 10px 0 rgba(36, 43, 34, .08); }
.hd7q .w9k3 { display: flex; align-items: center; height: 82px; gap: 10px; }

.lg2v { display: flex; align-items: center; gap: 11px; flex: none; min-width: 0; }
.lg2v img { width: 46px; height: 46px; border-radius: 13px; border: 3px solid #242b22; }
.lg2v span {
    font-size: 21px; font-weight: 900; color: #242b22;
    display: flex; flex-direction: column; line-height: 1.15;
}
.lg2v i { font-style: normal; font-size: 10px; letter-spacing: 2.5px; color: #e5533a; }

.nv8x { display: flex; gap: 32px; margin-left: 50px; }
.nv8x a { font-size: 16px; font-weight: 700; color: #475042; padding: 4px 0; position: relative; white-space: nowrap; }
.nv8x a::after {
    content: ""; position: absolute; left: 0; bottom: -2px;
    width: 0; height: 4px; background: #ff6a4d; border-radius: 4px; transition: width .25s;
}
.nv8x a:hover { color: #e5533a; }
.nv8x a:hover::after { width: 100%; }

.hr5m { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.gx5m {
    background: #242b22; color: #ffe9c2;
    font-weight: 800; font-size: 15px;
    padding: 12px 25px; border-radius: 16px;
    border: 3px solid #242b22;
    box-shadow: 4px 4px 0 #ff6a4d;
    transition: transform .15s, box-shadow .15s;
    white-space: nowrap;
}
.gx5m:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #ff6a4d; }

.mb4c {
    display: none; border: 3px solid #242b22; background: #ff6a4d; color: #fff;
    width: 44px; height: 44px; border-radius: 13px; font-size: 20px;
    cursor: pointer; box-shadow: 3px 3px 0 #242b22;
    align-items: center; justify-content: center;
    flex: none;
}
.mb4c:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #242b22; }
.mm6n { display: none; }

/* ===== Hero ===== */
.he6v { position: relative; padding: 152px 0 92px; overflow: hidden; background: #f7f1e4; }
.grain { position: absolute; border-radius: 50%; opacity: .5; pointer-events: none; }
.g1 { width: 260px; height: 260px; right: -80px; top: 90px; background: radial-gradient(circle, rgba(245, 183, 49, .28), transparent 70%); }
.g2 { width: 300px; height: 300px; left: -110px; bottom: -60px; background: radial-gradient(circle, rgba(110, 155, 88, .22), transparent 70%); }
.he6v .w9k3 { display: flex; align-items: center; gap: 56px; position: relative; z-index: 2; min-width: 0; }
.hl8q { flex: 1.08; min-width: 0; }

.hb4m {
    display: inline-flex; align-items: center; gap: 9px;
    background: #242b22; color: #ffe9c2;
    font-weight: 800; font-size: 12.5px; letter-spacing: 1.5px;
    padding: 8px 18px; border-radius: 999px;
    margin-bottom: 26px;
}
.hb-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff6a4d; box-shadow: 0 0 0 4px rgba(255, 106, 77, .25); flex: none; }

h1 { font-size: 56px; line-height: 1.24; font-weight: 900; color: #242b22; letter-spacing: 1px; }
h1 em {
    font-style: normal; color: #fff;
    background: #ff6a4d;
    display: inline-block; margin: 10px 0 2px;
    padding: 0 14px; border-radius: 10px;
    box-shadow: 6px 6px 0 #242b22;
    white-space: nowrap;
}
.hd2x { margin: 28px 0 32px; font-size: 17px; color: #56604e; max-width: 556px; }

.hc9p { display: flex; gap: 16px; flex-wrap: wrap; }
.mbtn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    background: #ff6a4d; color: #fff;
    font-size: 19px; font-weight: 900;
    padding: 17px 38px; border-radius: 18px;
    border: 3px solid #242b22;
    box-shadow: 6px 6px 0 #242b22;
    transition: transform .13s, box-shadow .13s;
}
.mbtn:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 #242b22; }
.pbtn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: #fff; color: #242b22; font-weight: 800; font-size: 16px;
    padding: 15px 26px; border-radius: 18px; border: 3px solid #242b22;
    box-shadow: 5px 5px 0 #f5b731;
    transition: transform .13s, box-shadow .13s;
}
.pbtn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 #f5b731; }

.hx6k { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hx6k li {
    background: #fff; border: 3px solid #242b22; border-radius: 14px;
    padding: 9px 17px; font-size: 13px; font-weight: 700; color: #66705e;
}
.hx6k b { color: #e5533a; font-size: 17px; font-weight: 900; margin-right: 2px; }

/* hero 右：便当盒 */
.hr7m { flex: .92; display: flex; justify-content: center; padding: 30px 0; min-width: 0; }
.bento {
    position: relative;
    width: 440px;
    max-width: 100%;
    display: grid;
    /* minmax(0, …) 是关键：否则图片固有宽度会撑破轨道，导致整页横向溢出 */
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 150px 150px 130px;
    gap: 12px;
    background: #242b22;
    padding: 14px;
    border-radius: 30px;
    box-shadow: 12px 14px 0 rgba(36, 43, 34, .18);
    transform: rotate(1.5deg);
}
.chop {
    position: absolute; width: 190px; height: 9px; border-radius: 999px;
    background: linear-gradient(180deg, #d9a566, #b57f3f);
    border: 2px solid #8a5e2a; top: -14px;
}
.chop.c1 { right: 30px; transform: rotate(-9deg); }
.chop.c2 { right: 44px; top: -4px; transform: rotate(-9deg); }

.bn-main {
    grid-row: span 2;
    background: #fff; border-radius: 20px; overflow: hidden;
    position: relative; display: flex; min-width: 0; min-height: 0;
}
.bn-main img { width: 100%; height: 100%; min-width: 0; object-fit: cover; }
.bn-tag {
    position: absolute; left: 10px; bottom: 10px; right: 10px;
    background: rgba(36, 43, 34, .9); color: #ffe9c2;
    font-size: 12px; font-weight: 800; border-radius: 11px;
    padding: 7px 11px; display: flex; align-items: center; gap: 6px;
}
.bn-tag i { color: #ff6a4d; }

.bn-cell {
    border-radius: 18px; padding: 16px 14px;
    display: flex; flex-direction: column; justify-content: center; gap: 2px;
    border: 3px solid #242b22;
    min-width: 0;
}
.bn-cell i { font-size: 24px; }
.bn-cell b { font-size: 15px; color: #242b22; }
.bn-cell span { font-size: 11.5px; color: #66705e; font-weight: 700; }
.cl-a { background: #ffe7dd; } .cl-a i { color: #e5533a; }
.cl-b { background: #fdf0cb; } .cl-b i { color: #d99a12; }
.cl-c { background: #e3f0d8; } .cl-c i { color: #4f7a3c; }
.cl-d { background: #dfeef5; } .cl-d i { color: #2f7f9e; }

.bn-ume {
    grid-column: span 2;
    min-width: 0;
    background: #fdf0cb; border: 3px solid #242b22; border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; color: #fff;
}
.bn-ume i {
    width: 62px; height: 62px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ff8a72, #e5462c 70%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: inset -4px -6px 10px rgba(150, 20, 10, .35);
    animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* ===== 通用模块 ===== */
.bk3z { padding: 92px 0; }
.bento-bg {
    background:
        radial-gradient(circle at 4% 22%, rgba(110, 155, 88, .1), transparent 240px),
        radial-gradient(circle at 96% 78%, rgba(255, 106, 77, .08), transparent 260px),
        #f1e8d3;
}
.st6b {
    text-align: center; font-size: 33px; font-weight: 900; color: #242b22;
    margin-bottom: 54px; display: flex; align-items: center; justify-content: center; gap: 16px;
}
.st6b::before, .st6b::after {
    content: ""; width: 46px; height: 14px; border-radius: 4px;
    background: #242b22; position: relative; flex: none;
}
.st6b::before { box-shadow: 0 -10px 0 #ff6a4d; }
.st6b::after { box-shadow: 0 10px 0 #f5b731; }

/* ===== 产品展示 ===== */
.sh7k { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sk4r {
    background: #242b22; padding: 12px 12px 0;
    border-radius: 26px;
    box-shadow: 8px 8px 0 rgba(36, 43, 34, .14);
    transition: transform .25s, box-shadow .25s;
}
.sk4r:hover { transform: translateY(-8px); box-shadow: 10px 14px 0 rgba(36, 43, 34, .2); }
.sk-img {
    background: #000; border-radius: 17px; overflow: hidden;
    aspect-ratio: 7 / 10;
}
.sk-img img { width: 100%; height: 100%; object-fit: cover; }
.sk4r figcaption {
    background: #fffdf6; border-radius: 18px 18px 22px 22px;
    padding: 18px 16px 20px; margin-top: 12px;
    position: relative;
}
.sk-no {
    position: absolute; top: -15px; left: 16px;
    background: #ff6a4d; color: #fff;
    font-size: 12px; font-weight: 900; letter-spacing: 1px;
    padding: 4px 12px; border-radius: 999px;
    border: 3px solid #242b22;
}
.sk4r figcaption b { font-size: 16px; color: #242b22; display: block; margin: 6px 0 5px; }

/* ===== 优势 ===== */
.ad5q {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
    background: #242b22; padding: 14px; border-radius: 28px;
}
.ai7c {
    position: relative;
    background: #fffdf6; border-radius: 20px;
    padding: 32px 28px 30px;
    transition: transform .22s;
}
.ai7c:hover { transform: translateY(-5px); }
.ai-no {
    position: absolute; top: 16px; right: 20px;
    font-size: 13px; font-weight: 900; color: #c9c3b2; letter-spacing: 1px;
}
.ai-ic {
    width: 60px; height: 60px; border-radius: 18px;
    border: 3px solid #242b22;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 16px;
}
.ai7c:nth-child(1) .ai-ic { background: #ffe7dd; color: #e5533a; }
.ai7c:nth-child(2) .ai-ic { background: #fdf0cb; color: #d99a12; }
.ai7c:nth-child(3) .ai-ic { background: #e3f0d8; color: #4f7a3c; }
.ai7c:nth-child(4) .ai-ic { background: #dfeef5; color: #2f7f9e; }
.ai7c:nth-child(5) .ai-ic { background: #f6e1ef; color: #b23b86; }
.ai7c:nth-child(6) .ai-ic { background: #e8e2f6; color: #6451b8; }
.ai7c .tt9 { margin-bottom: 8px; }

/* ===== 流程：便当连格 ===== */
.bp4m {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
    background: #242b22; padding: 14px; border-radius: 28px;
}
.bp4m li {
    background: #fffdf6; border-radius: 20px;
    padding: 28px 24px 30px;
    position: relative;
}
.bp-no {
    display: inline-block;
    font-size: 12px; font-weight: 900; letter-spacing: 2px;
    color: #fff; background: #242b22;
    padding: 5px 13px; border-radius: 999px;
    margin-bottom: 16px;
}
.bp4m li:nth-child(1) .bp-no { background: #e5533a; }
.bp4m li:nth-child(2) .bp-no { background: #d99a12; }
.bp4m li:nth-child(3) .bp-no { background: #4f7a3c; }
.bp4m li:nth-child(4) .bp-no { background: #2f7f9e; }
.bp-ic {
    width: 54px; height: 54px; border-radius: 16px;
    background: #f1e8d3; border: 3px solid #242b22;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: #242b22; margin-bottom: 14px;
}
.bp4m .tt9 { margin-bottom: 6px; }

/* ===== 资讯 ===== */
.nw2q { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ni4x {
    background: #fffdf6; border: 3px solid #242b22; border-radius: 24px;
    padding: 28px 26px 24px;
    box-shadow: 7px 7px 0 rgba(36, 43, 34, .12);
    transition: transform .22s, box-shadow .22s;
}
.ni4x:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 rgba(36, 43, 34, .2); }
.nw-tag {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12.5px; font-weight: 900;
    background: #fdf0cb; border: 2.5px solid #242b22;
    color: #242b22; padding: 5px 13px; border-radius: 999px;
    margin-bottom: 15px;
}
.nw-tag i { color: #e5533a; }
.ni4x .tt9 { margin-bottom: 10px; font-size: 17.5px; line-height: 1.55; }
.nw-dt { margin-top: 16px; font-size: 12px; font-weight: 800; color: #a89d80; letter-spacing: 1px; }

/* ===== FAQ ===== */
.fa3z { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.fa8b {
    background: #fffdf6; border: 3px solid #242b22; border-radius: 20px;
    box-shadow: 5px 5px 0 rgba(36, 43, 34, .12);
    overflow: hidden;
}
.fq-h { display: flex; align-items: center; gap: 16px; padding: 19px 24px; cursor: pointer; user-select: none; }
.fq-q {
    flex: none;
    background: #ff6a4d; color: #fff;
    border: 3px solid #242b22; border-radius: 12px;
    font-size: 13px; font-weight: 900;
    padding: 6px 12px;
}
.fq-h b { flex: 1; font-size: 16.5px; color: #2a3124; }
.fq-h > i { flex: none; font-size: 22px; color: #e5533a; transition: transform .3s; }
.fa8b.bt-open .fq-h > i { transform: rotate(45deg); }
.fq-b { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.fq-b .ds9 { padding: 0 24px 22px 88px; }

/* ===== 评价：梅干便当格 ===== */
.sy4m { column-count: 3; column-gap: 24px; }
.sy-it {
    break-inside: avoid; -webkit-column-break-inside: avoid;
    margin-bottom: 24px;
    background: #fffdf6; border: 3px solid #242b22; border-radius: 22px;
    box-shadow: 5px 5px 0 rgba(36, 43, 34, .1);
    padding: 24px 22px 18px;
}
.sy-it:nth-child(3n+1) { background: #fff6f2; }
.sy-it:nth-child(3n+2) { background: #fdf8e7; }
.sy-it:nth-child(3n) { background: #f2f7ec; }
.sy-it .ds9 { font-size: 14.5px; color: #3c4436; line-height: 1.9; }
.sy-f { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 3px dashed #e2d9c2; }
.sy-a {
    width: 38px; height: 38px; border-radius: 50%; flex: none;
    background: radial-gradient(circle at 35% 30%, #ff8a72, #e5462c 72%);
    color: #fff; font-size: 15px; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    border: 2.5px solid #242b22;
}
.sy-f b { font-size: 14px; color: #2a3124; }
.sy-f time { margin-left: auto; font-size: 11px; color: #a3977c; white-space: nowrap; }

/* ===== CTA：便当盒盖 ===== */
.ct9x { background: #242b22; padding: 100px 0 90px; position: relative; overflow: hidden; }
.ct-lid {
    position: absolute; left: -4%; right: -4%; top: 40px; height: 34px;
    background: repeating-linear-gradient(45deg, #ff6a4d 0 26px, #f5b731 26px 52px, #6e9b58 52px 78px, #2f7f9e 78px 104px);
    opacity: .25; transform: rotate(-1.5deg);
}
.ct-in { position: relative; z-index: 2; text-align: center; color: #fffdf6; }
.ct-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, .08); border: 2.5px solid #ffe9c2;
    border-radius: 999px; padding: 8px 22px;
    font-size: 13px; font-weight: 800; letter-spacing: 2px; color: #ffe9c2;
    margin-bottom: 26px;
}
.ct-t { font-size: 42px; font-weight: 900; line-height: 1.45; }
.ct-t em { font-style: normal; color: #ff6a4d; }
.ct-d { margin: 16px 0 36px; font-size: 16px; color: #d8d2c0; }
.ct-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: #ff6a4d; color: #fff;
    font-size: 20px; font-weight: 900;
    padding: 19px 50px; border-radius: 18px;
    border: 3px solid #fffdf6;
    box-shadow: 7px 7px 0 rgba(255, 233, 194, .5);
    transition: transform .13s, box-shadow .13s;
}
.ct-btn:hover { transform: translate(3px, 3px); box-shadow: 4px 4px 0 rgba(255, 233, 194, .5); }

/* ===== 页脚 ===== */
.ft5k { background: #1b211a; color: #9aa392; padding: 44px 0 32px; }
.ft-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.ft-lg { display: flex; align-items: center; gap: 11px; color: #fffdf6; font-size: 19px; font-weight: 900; }
.ft-lg img { width: 38px; height: 38px; border-radius: 11px; border: 2.5px solid #ffe9c2; }
.ft-nv { display: flex; gap: 28px; flex-wrap: wrap; }
.ft-nv a { font-size: 14px; }
.ft-nv a:hover { color: #ff6a4d; }
.ft-ln { border-top: 3px dashed rgba(255, 255, 255, .14); margin: 24px 0 16px; }
.ft-cp { font-size: 12.5px; text-align: center; opacity: .85; }
.ft-icp { display: block; text-align: center; font-size: 12px; opacity: .7; margin-top: 6px; }
.ft-icp:hover { color: #ff6a4d; }
/* 备案号留空时不占位；线上用 runtime.json 填 "site.icp" 后自动出现 */
.ft-icp:empty { display: none; }

/* 入场动画 */
.rv { opacity: 0; transition: opacity .6s ease; }
.rv-in { opacity: 1; }

/* 悬浮投诉入口 */
.contact-entry {
    position: fixed;
    right: 24px;
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 3px solid #242b22;
    border-radius: 999px;
    background: #ff6a4d;
    color: #fff;
    box-shadow: 4px 5px 0 rgba(36, 43, 34, .22);
    font: 800 14px/1.5 system-ui, "Microsoft YaHei", sans-serif;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform .16s, box-shadow .16s, background .16s;
}
.contact-entry:hover { background: #ff5638; transform: translate(-1px, -1px); box-shadow: 6px 7px 0 rgba(36, 43, 34, .22); }
.contact-entry:active { transform: translate(1px, 1px); box-shadow: 2px 3px 0 rgba(36, 43, 34, .22); }
.contact-entry:focus-visible { outline: 3px solid #83acff; outline-offset: 3px; }
.contact-entry i { font-size: 18px; line-height: 1; }


/* ---------- 联系我们：弹窗 ---------- */
.ctm {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.ctm[hidden] { display: none; }
.ctm-bg {
    position: absolute;
    inset: 0;
    background: rgba(36, 43, 34, .55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .22s;
}
.ctm-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: #fffdf6;
    border: 3px solid #242b22;
    border-radius: 26px;
    padding: 30px 26px 24px;
    box-shadow: 8px 10px 0 rgba(36, 43, 34, .25);
    text-align: center;
    opacity: 0;
    transform: translateY(14px) scale(.96);
    transition: opacity .24s, transform .24s cubic-bezier(.2, .8, .3, 1);
}
.ctm.is-on .ctm-bg { opacity: 1; }
.ctm.is-on .ctm-card { opacity: 1; transform: none; }
.ctm-card:focus { outline: none; }

.ctm-x {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8a927f;
    font-size: 20px;
    cursor: pointer;
    transition: background .16s, color .16s;
}
.ctm-x:hover { background: #f0ecdd; color: #242b22; }
.ctm-x:focus-visible { outline: 3px solid #83acff; outline-offset: 2px; }

.ctm-ico {
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    border: 3px solid #242b22;
    background: #ff6a4d;
    color: #fff;
    font-size: 27px;
    box-shadow: 3px 3px 0 rgba(36, 43, 34, .18);
}
.ctm-t { margin: 0 0 16px; font-size: 22px; font-weight: 800; color: #242b22; letter-spacing: .01em; }
.ctm-lb { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: #8a927f; letter-spacing: .12em; }
.ctm-addr {
    margin: 0 0 14px;
    padding: 11px 12px;
    border: 2px dashed #d8d1ba;
    border-radius: 14px;
    background: #f7f3e6;
    font-family: ui-monospace, "SF Mono", Consolas, "Courier New", monospace;
    font-size: 21px;
    font-weight: 800;
    color: #242b22;
    letter-spacing: .02em;
    word-break: break-all;
    cursor: pointer;
    -webkit-user-select: all;
    user-select: all;
    transition: background .16s, border-color .16s;
}
.ctm-addr:hover { background: #f2ecda; border-color: #c3b99c; }
.ctm-note { margin: 0 0 20px; font-size: 13px; line-height: 1.7; color: #6b756a; }
.ctm-note:empty { display: none; }

.ctm-act { display: flex; }
.ctm-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 12px;
    border: 3px solid #242b22;
    border-radius: 16px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    cursor: pointer;
    text-decoration: none;
    transition: transform .14s, box-shadow .14s, background .14s;
}
.ctm-btn i { font-size: 16px; }
.ctm-btn-main { background: #ff6a4d; color: #fff; box-shadow: 3px 4px 0 rgba(36, 43, 34, .22); }
.ctm-btn-main:hover { background: #ff5638; }
.ctm-btn-main.is-ok { background: #2f9e5f; }
.ctm-btn:active { transform: translate(1px, 1px); box-shadow: 1px 2px 0 rgba(36, 43, 34, .2); }
.ctm-btn:focus-visible { outline: 3px solid #83acff; outline-offset: 2px; }

.ctm-tip { margin: 12px 0 0; min-height: 18px; font-size: 12px; font-weight: 700; color: #2f9e5f; }
.ctm-tip.is-err { color: #c0392b; }

body.ctm-lock { overflow: hidden; }


/* ==========================================================================
   断点 1：≤1080px — 平板 / 小笔电
   导航收进汉堡菜单，网格降列（原站在此区间会出现横向溢出）
   ========================================================================== */
/* 导航在 1200px 以下切换为汉堡菜单：7 个导航项 + logo + 下载按钮实测需 1162px，
   若沿用 1080px 断点，1081–1199px 区间页头会横向溢出、下载按钮被裁掉 */
@media (max-width: 1200px) {
    .nv8x, .gx5m { display: none; }
    .mb4c { display: inline-flex; }
    .mm6n {
        display: flex; flex-direction: column;
        max-height: 0; overflow: hidden;
        background: #fffdf6; border-bottom: 0 solid #242b22;
        transition: max-height .35s, border-width .35s;
    }
    .mm6n.bt-on { max-height: 520px; border-bottom-width: 3px; }
    .mm6n a { padding: 14px 22px; font-size: 15px; font-weight: 700; color: #475042; }
    .mm6n a:last-child {
        margin: 8px 18px 16px; text-align: center;
        background: #ff6a4d; color: #fff; border-radius: 16px; padding: 14px;
        border: 3px solid #242b22; font-weight: 800;
    }
}

@media (max-width: 1080px) {
    .w9k3 { padding: 0 20px; }

    .he6v { padding: 132px 0 76px; }
    .he6v .w9k3 { gap: 36px; }
    h1 { font-size: 46px; }
    .hd2x { font-size: 16px; margin: 22px 0 26px; }
    .bento { width: 380px; grid-template-rows: 130px 130px 112px; }
    .chop { width: 165px; }

    .bk3z { padding: 76px 0; }
    .st6b { font-size: 29px; margin-bottom: 46px; }

    .sh7k { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .ad5q { grid-template-columns: repeat(2, 1fr); }
    .bp4m { grid-template-columns: repeat(2, 1fr); }
    .nw2q { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .sy4m { column-count: 2; }
    .ct-t { font-size: 34px; }
}


/* ==========================================================================
   断点 2：≤768px — 手机
   ========================================================================== */
@media (max-width: 768px) {
    html { scroll-padding-top: 74px; }
    .hd7q .w9k3 { height: 66px; }
    .lg2v img { width: 38px; height: 38px; border-width: 2px; }
    .lg2v span { font-size: 17px; }
    .lg2v i { font-size: 9px; letter-spacing: 1.5px; }
    .mb4c { width: 42px; height: 42px; }

    .he6v { padding: 104px 0 54px; }
    .he6v .w9k3 { flex-direction: column; gap: 44px; }
    h1 { font-size: 35px; }
    h1 em { box-shadow: 4px 4px 0 #242b22; }
    .hb4m { font-size: 11px; padding: 7px 15px; margin-bottom: 20px; letter-spacing: 1px; }
    .hd2x { font-size: 15px; max-width: 100%; }
    .hc9p { flex-direction: column; align-items: stretch; }
    .mbtn { width: 100%; font-size: 18px; padding: 16px 24px; box-shadow: 4px 4px 0 #242b22; }
    .pbtn { width: 100%; box-shadow: 4px 4px 0 #f5b731; }
    .hx6k { margin-top: 26px; gap: 9px; }
    .hx6k li { padding: 7px 13px; font-size: 12px; }
    .hx6k b { font-size: 15px; }

    .hr7m { width: 100%; padding: 10px 0 18px; }
    .bento {
        width: 100%; max-width: 380px;
        grid-template-rows: 128px 128px 108px;
        gap: 9px; padding: 10px; border-radius: 24px;
        transform: none;
    }
    .chop { width: 150px; height: 8px; }
    .bn-cell { padding: 10px; gap: 0; }
    .bn-cell i { font-size: 20px; }
    .bn-cell b { font-size: 13px; }
    .bn-cell span { font-size: 10.5px; }
    .bn-ume i { width: 50px; height: 50px; }
    .bn-tag { font-size: 11px; padding: 6px 9px; }

    .bk3z { padding: 64px 0; }
    .st6b { font-size: 26px; margin-bottom: 40px; gap: 10px; }
    .st6b::before, .st6b::after { width: 30px; height: 12px; }

    /* 产品展示：横滑 */
    .sh7k {
        display: flex; gap: 16px;
        overflow-x: auto; -webkit-overflow-scrolling: touch;
        padding: 10px 4px 22px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .sh7k::-webkit-scrollbar { display: none; }
    .sk4r { flex: 0 0 72%; scroll-snap-align: center; }

    .ad5q { grid-template-columns: 1fr; padding: 10px; gap: 10px; border-radius: 22px; }
    .ai7c { padding: 26px 22px; }
    .ai-ic { width: 52px; height: 52px; font-size: 24px; border-radius: 15px; margin-bottom: 13px; }

    .bp4m { grid-template-columns: 1fr; gap: 10px; padding: 10px; border-radius: 22px; }
    .bp4m li { padding: 24px 22px 26px; }

    .nw2q { grid-template-columns: 1fr; gap: 18px; }
    .ni4x { padding: 24px 22px 20px; }

    .fa3z { gap: 12px; }
    .fq-h { padding: 16px 18px; gap: 12px; align-items: flex-start; }
    .fq-h b { font-size: 15px; }
    .fq-h > i { margin-top: 2px; }
    .fq-q { padding: 5px 10px; font-size: 12px; }
    .fq-b .ds9 { padding: 0 18px 20px; }

    .sy4m { column-count: 1; }
    .sy-f time { font-size: 10px; }

    .ct9x { padding: 76px 0 68px; }
    .ct-badge { font-size: 11px; padding: 7px 16px; letter-spacing: 1.5px; margin-bottom: 20px; }
    .ct-t { font-size: 28px; }
    .ct-d { font-size: 14px; margin: 14px 0 28px; }
    .ct-btn { width: 100%; max-width: 400px; font-size: 18px; padding: 17px 24px; }

    /* 底部留白避开右下角悬浮的「投诉举报」按钮，否则会压住备案号/版权行 */
    .ft5k { padding: 36px 0 78px; }
    .ft-row { flex-direction: column; gap: 20px; }
    .ft-nv { justify-content: center; gap: 14px 22px; }
    .ft-nv a { font-size: 13px; }
    .ft-lg { font-size: 17px; }

    .contact-entry {
        right: 14px;
        bottom: max(16px, env(safe-area-inset-bottom));
        padding: 11px 17px;
        font-size: 13px;
        box-shadow: 3px 4px 0 rgba(36, 43, 34, .22);
    }
    .contact-entry i { font-size: 17px; }

    /* 弹窗：窄屏改为底部上滑 */
    .ctm { padding: 0; align-items: flex-end; }
    .ctm-card {
        max-width: none;
        width: 100%;
        border-width: 3px 0 0;
        border-radius: 24px 24px 0 0;
        padding: 28px 20px calc(22px + env(safe-area-inset-bottom));
        box-shadow: 0 -8px 30px rgba(36, 43, 34, .2);
        transform: translateY(100%);
    }
    .ctm.is-on .ctm-card { transform: translateY(0); }
    .ctm-ico { width: 50px; height: 50px; font-size: 25px; margin-bottom: 12px; }
    .ctm-t { font-size: 19px; }
    .ctm-addr { font-size: 20px; padding: 12px 10px; }
    .ctm-act { gap: 9px; }
    .ctm-btn { padding: 12px 10px; }
}


/* ==========================================================================
   断点 3：≤560px — 窄屏手机
   ========================================================================== */
@media (max-width: 560px) {
    .w9k3 { padding: 0 16px; }
    h1 { font-size: 31px; letter-spacing: .5px; }
    .hd2x { font-size: 14.5px; }
    .bento { grid-template-rows: 112px 112px 96px; gap: 8px; border-radius: 21px; padding: 9px; }
    .bn-cell b { font-size: 12.5px; }
    .bn-cell span { font-size: 10px; }
    .bn-cell i { font-size: 18px; }
    .bn-ume i { width: 44px; height: 44px; font-size: 24px; }
    .sk4r { flex: 0 0 80%; }
    .st6b { font-size: 23px; }
    .st6b::before, .st6b::after { width: 22px; height: 10px; }
    .bk3z { padding: 54px 0; }
    .tt9 { font-size: 17px; }
    .ni4x .tt9 { font-size: 16px; }
    .ct-t { font-size: 25px; }
    .fq-q { display: none; }
    .sy-f { flex-wrap: wrap; }
    .sy-f time { margin-left: 0; width: 100%; }
}


/* ==========================================================================
   断点 4：≤400px — 小屏（iPhone SE / 安卓小屏）
   ========================================================================== */
@media (max-width: 400px) {
    .w9k3 { padding: 0 14px; }
    h1 { font-size: 27px; }
    h1 em { padding: 0 10px; border-radius: 8px; }
    .hb4m { font-size: 10px; letter-spacing: .5px; padding: 6px 12px; }
    .bento { grid-template-rows: 100px 100px 86px; gap: 7px; padding: 8px; border-radius: 18px; }
    .bn-cell { padding: 8px; }
    .bn-cell b { font-size: 11.5px; }
    .bn-cell span { display: none; }
    .bn-cell i { font-size: 17px; margin-bottom: 3px; }
    .bn-ume i { width: 38px; height: 38px; font-size: 20px; }
    .bn-tag { font-size: 10px; padding: 5px 7px; }
    .sk4r { flex: 0 0 86%; }
    .st6b { font-size: 21px; }
    .st6b::before, .st6b::after { display: none; }
    .ai7c { padding: 22px 18px; }
    .bp4m li { padding: 22px 18px 24px; }
    .ct-t { font-size: 22px; }
    .ct-btn { font-size: 16px; padding: 15px 18px; }
    .ft-nv { gap: 10px 16px; }
    .ft-nv a { font-size: 12px; }
}

/* 无悬停设备：去掉 hover 位移，避免触摸后卡住 */
@media (hover: none) {
    .sk4r:hover, .ai7c:hover, .ni4x:hover { transform: none; }
    .mbtn:hover, .pbtn:hover, .gx5m:hover, .ct-btn:hover { transform: none; }
}

/* 尊重系统「减少动态效果」 */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
