/* hejuo 项目内订单：双栏菜单、筛选工具、清晰卡片。 */
body.hejuo-ui #homePage .tabbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.hejuo-ui [data-tab-page="orders"]{display:none!important}
body.hejuo-ui :is(.project-catalog-pane,.project-inline-orders,.project-order-content,.project-order-guest,article)[hidden]{display:none!important}
body.hejuo-ui .project-section-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;margin:0 0 24px;border:1px solid #dce6e7;border-radius:15px;background:#eaf0f2}
body.hejuo-ui .project-section-tabs button{display:flex;align-items:center;justify-content:center;min-height:43px;padding:10px 12px;border:0;border-radius:11px;background:transparent;color:#536775;font:inherit;font-size:14px;font-weight:550;cursor:pointer}
body.hejuo-ui .project-section-tabs button.active{background:#fff;color:#175d50;font-weight:700;box-shadow:0 2px 6px #1737470a}
body.hejuo-ui .project-inline-orders{margin:0;padding:0;border:0;scroll-margin-top:20px}
body.hejuo-ui .project-orders-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:3px 0 22px}
body.hejuo-ui .project-orders-eyebrow{font-size:10px;font-weight:650;letter-spacing:1.3px;color:#4c6e68}
body.hejuo-ui .project-orders-heading h2{font-size:24px;font-weight:700;line-height:1.4;margin:7px 0 5px;color:#173747;letter-spacing:-.4px}
body.hejuo-ui .project-orders-heading p{margin:0;color:#526775;font-size:13px;line-height:1.65}
body.hejuo-ui .project-orders-refresh{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;padding:10px;border:1px solid #d9e4e7;border-radius:13px;background:white;color:#175d50;cursor:pointer}
body.hejuo-ui .project-orders-refresh svg{width:21px;height:21px;display:block}
body.hejuo-ui .project-orders-refresh.is-loading svg{animation:project-refresh 1s linear infinite}
body.hejuo-ui .project-order-summary{font-size:12px;font-weight:550;color:#526775;margin:0 0 12px}
body.hejuo-ui :is(.project-order-filters,.project-order-content .order-status-tabs){display:flex;gap:8px;overflow-x:auto;white-space:nowrap;background:transparent;border:0;padding:0 0 4px;margin:0 0 16px;min-height:38px;scrollbar-width:none}
body.hejuo-ui :is(.project-order-filters,.project-order-content .order-status-tabs) button{flex:0 0 auto;min-height:36px;min-width:0;padding:8px 13px;border:1px solid #dae4e7;border-radius:10px;background:white;color:#526775;font:inherit;font-size:13px;font-weight:500;line-height:1.4;cursor:pointer}
body.hejuo-ui :is(.project-order-filters,.project-order-content .order-status-tabs) button.active{background:#e4f3ec;border-color:#9dcdbb;color:#175d50;font-weight:650;box-shadow:none}
body.hejuo-ui .project-order-content .order-search{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:0 14px;border:1px solid #d8e3e6;border-radius:13px;min-height:48px;background:#fff}
body.hejuo-ui .project-order-content .order-search>span{color:#526775;font-size:22px}
body.hejuo-ui .project-order-content .order-search input{padding:12px 0;width:100%;border:0;outline:none;background:transparent;color:#173747;font-size:14px}
body.hejuo-ui .project-order-content .order-empty{margin:0;padding:0;background:transparent;border:0;border-radius:0;min-height:0}
body.hejuo-ui .project-order-content :is(.maie-order,.user-order-card){padding:18px;margin:0 0 14px;background:white;border:1px solid #dae5e8;border-radius:17px;box-shadow:0 3px 12px #17374703;overflow:hidden}
body.hejuo-ui .project-order-content :is(.maie-order header,.user-order-head){display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin:0 0 12px}
body.hejuo-ui .project-order-content :is(.maie-order header strong,.user-order-head strong){font-size:16px;font-weight:700;line-height:1.55;color:#173747}
body.hejuo-ui .project-order-content :is(.maie-order-state,.user-order-head em){flex-shrink:0;display:inline-flex;align-items:center;min-height:24px;padding:4px 8px;border-radius:7px;background:#e7f5ed;color:#1b654b;font-size:11px;font-style:normal;font-weight:600;line-height:1.4}
body.hejuo-ui .project-order-content article[data-order-state="refunded"] :is(.maie-order-state,.user-order-head em){background:#f0f2f5;color:#526775}
body.hejuo-ui .project-order-content article:is([data-order-state="unknown"],[data-order-state="submitting"]) :is(.maie-order-state,.user-order-head em){background:#fff4df;color:#8b5514}
body.hejuo-ui .project-order-content :is(.maie-order code,.user-order-head small){display:block;font-family:inherit;font-variant-numeric:tabular-nums;font-size:12px;line-height:1.6;color:#526775;overflow-wrap:anywhere}
body.hejuo-ui .project-order-content .maie-order p{font-size:13px;line-height:1.7;color:#526775;margin:8px 0 0}
body.hejuo-ui .project-order-content :is(.maie-order footer,.hero-order-actions){display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;border-top:1px solid #edf1f3;padding-top:14px;margin-top:16px}
body.hejuo-ui .project-order-content :is(.maie-order footer,.hero-order-actions) button{min-height:40px;padding:10px 14px;font-size:13px;line-height:1.4;border-radius:11px}
body.hejuo-ui .project-order-content .user-order-foot{gap:10px;padding:10px 0;font-size:12px;color:#526775}
body.hejuo-ui .project-order-content .user-order-foot b{font-size:12px;color:#173747;overflow-wrap:anywhere}
body.hejuo-ui .project-order-content .order-region-flag{width:40px;height:40px;flex-shrink:0;border-radius:12px}
body.hejuo-ui .project-order-content .order-progress{margin:16px 0}
body.hejuo-ui .project-order-content .order-empty:not(.has-orders){padding:20px 0;text-align:center;color:#526775;font-size:14px}
body.hejuo-ui .project-order-content .order-empty:not(.has-orders) .chip-empty{margin:20px auto}
body.hejuo-ui .project-filter-empty{padding:32px 18px;border:1px dashed #cadade;border-radius:16px;text-align:center;color:#526775;font-size:14px}
body.hejuo-ui .project-order-guest{border:1px solid #dce6e9;border-radius:18px;background:white;padding:26px 22px;text-align:center}
body.hejuo-ui .project-order-guest h3{font-size:18px;margin:0 0 8px}
body.hejuo-ui .project-order-guest p{font-size:14px;color:#526775;line-height:1.8;margin:0 0 20px}
body.hejuo-ui .project-order-guest button{border:0;border-radius:12px;background:#153747;color:white;min-height:44px;padding:12px 20px;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
/* 小号与网络地区菜单复用同一套卡片结构和间距。 */
body.hejuo-ui [data-tab-page="trumpet"] .service-intro{padding:0;margin:0 0 20px;background:none;border:0;border-radius:0}
body.hejuo-ui [data-tab-page="trumpet"] .service-intro h2{display:none}
body.hejuo-ui [data-tab-page="trumpet"] .service-intro p{font-size:13px;color:#526775;line-height:1.75;margin:0 0 8px}
body.hejuo-ui [data-tab-page="trumpet"] .service-intro-note{display:none}
body.hejuo-ui [data-tab-page="trumpet"] .trumpet-panel{padding:0;background:none;border:0}
body.hejuo-ui [data-tab-page="trumpet"] .trumpet-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
body.hejuo-ui [data-tab-page="trumpet"] .global-country-card{min-height:82px;box-shadow:none}
body.hejuo-ui .trumpet-country-card .maie-flag{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px}
body.hejuo-ui .trumpet-country-card .maie-flag img{display:block;width:34px;height:25px;object-fit:contain}
body.hejuo-ui .trumpet-country-card small{font-size:12px}
body.hejuo-ui [data-tab-page="hero"] .project-page-head{display:flex;align-items:center;gap:12px}
body.hejuo-ui [data-tab-page="hero"] .project-page-head h1{font-size:23px;margin:0}
@keyframes project-refresh{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){body.hejuo-ui .project-orders-refresh.is-loading svg{animation:none}}

body.hejuo-ui .project-order-filters[hidden]{display:none!important}
body.hejuo-ui .project-section-tabs{margin-bottom:20px}
body.hejuo-ui .project-orders-heading{margin:0 0 16px}
body.hejuo-ui .project-orders-eyebrow{display:none}
body.hejuo-ui .project-orders-heading h2{font-size:22px;margin:0 0 5px}
body.hejuo-ui .project-orders-heading p{font-size:12px;line-height:1.6}
body.hejuo-ui :is(.project-order-filters,.project-order-content .order-status-tabs){margin-bottom:12px}
body.hejuo-ui .project-order-content .order-region-flag{background:#eef4f5}
body.hejuo-ui .project-order-content .order-region-flag img{width:30px;height:23px;border-radius:3px;object-fit:contain}
body.hejuo-ui .project-order-content .user-order-head>div{flex:1;min-width:0}
body.hejuo-ui .project-order-content .user-order-body span{color:#526775;font-size:13px}
body.hejuo-ui .project-order-content .user-order-body b{color:#173747;font-size:15px;font-weight:650;font-variant-numeric:tabular-nums}
body.hejuo-ui .project-order-content .trumpet-sms-btn{min-height:42px;margin-top:16px;border-radius:11px;background:#153747;font-size:14px}
body.hejuo-ui .project-orders-refresh[hidden]{display:none!important}
/* 全站地区菜单：两列紧凑卡片，统一国旗、名称、箭头。 */
body.hejuo-ui #homePage :is(.maie-products:has(>.global-country-card),.trumpet-grid,.hero-country-grid,.country-menu-grid){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.hejuo-ui #homePage .global-country-card{display:flex;align-items:center;gap:11px;width:100%;min-width:0;min-height:74px;margin:0;padding:14px 12px;border:1px solid #dfe7e9;border-radius:14px;background:#fff;box-shadow:none;text-align:left;color:#173747}
body.hejuo-ui #homePage .global-country-card>.maie-flag{display:flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border-radius:5px;background:none;font-size:22px;line-height:1}
body.hejuo-ui #homePage .global-country-card>.maie-flag img{display:block;width:27px;height:23px;border-radius:4px;object-fit:contain}
body.hejuo-ui #homePage .global-country-card>span:nth-child(2){display:block;flex:1;min-width:0}
body.hejuo-ui #homePage .global-country-card strong{display:block;margin:0;color:#173747;font-size:14px;font-weight:500;line-height:1.5;letter-spacing:0;overflow-wrap:anywhere}
body.hejuo-ui #homePage .global-country-card>b{flex:0 0 auto;margin-left:auto;color:#173747;font-size:16px;line-height:1;font-weight:400}
body.hejuo-ui #homePage .global-country-card small{display:none}
body.hejuo-ui #homePage [data-tab-page="esim"] .maie-filter[hidden]{display:none!important}
@media(max-width:360px){body.hejuo-ui #homePage .global-country-card{gap:8px;padding-inline:10px}body.hejuo-ui #homePage .global-country-card strong{font-size:13px}}
body.hejuo-ui #homePage [data-tab-page="esim"] .maie-country-label[hidden]{display:none!important}
/* 小号套餐列表与网络共用卡片，详情使用同款居中弹窗。 */
body.hejuo-ui #homePage [data-tab-page="trumpet"] .trumpet-grid.trumpet-package-grid{grid-template-columns:minmax(0,1fr)}
body.hejuo-ui #trumpetPlanDetail{width:calc(100% - 32px);max-width:420px;max-height:75dvh;padding:20px;border:1px solid #dce6e9;border-radius:20px;margin:auto;background:#fff;color:#173747;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 18px 70px #15374724}
body.hejuo-ui #trumpetPlanDetail::backdrop{background:#102e4070;backdrop-filter:blur(3px)}
body.hejuo-ui #trumpetPlanDetail>header{position:sticky;top:-20px;z-index:2;background:white;padding:8px 0 12px;border-bottom:1px solid #e5ecef}
body.hejuo-ui #trumpetPlanDetail h2{font-size:18px}
body.hejuo-ui #trumpetPlanDetail .maie-detail-title{padding-top:16px}
body.hejuo-ui #trumpetPlanDetail .maie-flag img{width:34px;height:26px;object-fit:contain}
body.hejuo-ui #trumpetPlanDetail .trumpet-size-control{margin:16px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-top:1px solid #e5ecef;border-bottom:1px solid #e5ecef}
body.hejuo-ui #trumpetPlanDetail .trumpet-size-control>div{display:flex;align-items:center;gap:4px}
body.hejuo-ui #trumpetPlanDetail .trumpet-size-control button{width:34px;height:34px;border:1px solid #dce6e9;border-radius:9px;background:#f5f8fa;color:#173747;font-size:20px}
body.hejuo-ui #trumpetPlanDetail .trumpet-size-control input{width:52px;height:34px;border:1px solid #dce6e9;border-radius:9px;background:#fff;text-align:center;color:#173747}
body.hejuo-ui #trumpetPlanDetail .trumpet-sim-detail{margin:16px 0;padding:0;border:0;background:none}
body.hejuo-ui #trumpetPlanDetail .trumpet-sim-detail h3{font-size:14px}
body.hejuo-ui #trumpetPlanDetail .trumpet-sim-detail p{font-size:12px;color:#526775;line-height:1.8}
body.hejuo-ui #trumpetPlanDetail footer{position:sticky;bottom:-20px;padding:12px 0 0;background:white;border-top:1px solid #e5ecef}
body.hejuo-ui #trumpetPlanDetail footer .maie-total{padding:8px 0 12px;border:0}
body.hejuo-ui #trumpetPlanNext{width:100%}
body.hejuo-ui #trumpetPlanDetail #trumpetCouponRow.hidden{display:none!important}
body.hejuo-ui .maie-card .maie-flag{display:inline-flex;align-items:center;justify-content:center;width:38px;height:32px}body.hejuo-ui .maie-card .maie-flag img{display:block;width:32px;height:24px;object-fit:contain;border-radius:4px}
body.hejuo-ui #trumpetPlanDetail .maie-detail-title{padding:12px 0 4px}
body.hejuo-ui #trumpetPlanDetail .maie-detail-title h3{font-size:20px;margin:8px 0 4px}
body.hejuo-ui #trumpetPlanDetail .maie-detail-title p{margin:0}
body.hejuo-ui #trumpetPlanDetail .maie-specs{margin:12px 0;gap:8px 10px;font-size:13px;line-height:1.6}
body.hejuo-ui #trumpetPlanDetail .trumpet-size-control{margin:12px 0;padding:10px 0}
body.hejuo-ui #trumpetPlanDetail .trumpet-plan-notes{margin:8px 0;color:#526775;font-size:13px}
body.hejuo-ui #trumpetPlanDetail .trumpet-plan-notes summary{cursor:pointer}
body.hejuo-ui #trumpetPlanDetail .trumpet-sim-detail h3{display:none}

/* 五个项目沿用接码页顶部：文字返回按钮 + 同行标题，去掉英文装饰眉题。 */
body.hejuo-ui #homePage :is([data-tab-page="data"],[data-tab-page="trumpet"],[data-tab-page="hero"],[data-tab-page="esim"],[data-tab-page="tron"]){padding-top:10px}
body.hejuo-ui #homePage [data-tab-page]>.project-page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;box-sizing:border-box;margin:4px 0 14px;padding:6px 0;border-bottom:1px solid var(--line)}
body.hejuo-ui #homePage [data-tab-page]>.project-page-head>button{flex:0 0 auto;box-sizing:border-box;width:auto;height:auto;min-width:0;min-height:40px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#153747;font:inherit;font-size:13px;line-height:1.4;cursor:pointer}
body.hejuo-ui #homePage [data-tab-page]>.project-page-head>h1{min-width:0;font-size:23px;font-weight:700;line-height:1.3;margin:0;color:#153747;letter-spacing:normal;text-align:right;overflow-wrap:normal}
body.hejuo-ui #homePage [data-tab-page="hero"] .service-intro h2{display:none}

/* 项目页收紧顶部留白：保留完整按钮触控区，列表整体上移。 */
body.hejuo-ui #homePage:has(>:is([data-tab-page="data"],[data-tab-page="trumpet"],[data-tab-page="hero"],[data-tab-page="esim"],[data-tab-page="tron"]).active){padding-top:12px}
body.hejuo-ui #homePage:has(>:is([data-tab-page="data"],[data-tab-page="trumpet"],[data-tab-page="hero"],[data-tab-page="esim"],[data-tab-page="tron"]).active)>.home-shot-top{margin-bottom:10px}
body.hejuo-ui #homePage:has(>:is([data-tab-page="data"],[data-tab-page="trumpet"],[data-tab-page="hero"],[data-tab-page="esim"],[data-tab-page="tron"]).active)>[data-tab-page]{padding-top:4px}
body.hejuo-ui #homePage:has(>:is([data-tab-page="data"],[data-tab-page="trumpet"],[data-tab-page="hero"],[data-tab-page="esim"],[data-tab-page="tron"]).active) [data-tab-page]>.project-page-head{min-height:48px;margin:0 0 10px;padding:4px 0}
body.hejuo-ui #homePage:has(>:is([data-tab-page="data"],[data-tab-page="trumpet"],[data-tab-page="hero"],[data-tab-page="esim"],[data-tab-page="tron"]).active) .project-section-tabs{margin-bottom:12px}
body.hejuo-ui #homePage:has(>:is([data-tab-page="data"],[data-tab-page="trumpet"],[data-tab-page="hero"],[data-tab-page="esim"],[data-tab-page="tron"]).active) :is(.service-intro,.catalog-description,.maie-intro){margin-bottom:12px}

/* 项目页顶部固定；保留原有文档滚动及返回定位，不增加嵌套滚动容器。 */
body.hejuo-ui #homePage:has(>:is([data-tab-page="data"],[data-tab-page="trumpet"],[data-tab-page="hero"],[data-tab-page="esim"],[data-tab-page="tron"]).active)>.home-shot-top{position:sticky;top:12px;z-index:60;background:var(--soft,#f4f8f9);box-shadow:0 -12px 0 var(--soft,#f4f8f9),0 14px 0 var(--soft,#f4f8f9)}
body.hejuo-ui #homePage:has(>:is([data-tab-page="data"],[data-tab-page="trumpet"],[data-tab-page="hero"],[data-tab-page="esim"],[data-tab-page="tron"]).active) [data-tab-page]>.project-page-head{position:sticky;top:calc(12px + var(--project-brand-height,44px) + 14px);z-index:50;background:var(--soft,#f4f8f9);box-shadow:0 -14px 0 var(--soft,#f4f8f9),0 10px 0 var(--soft,#f4f8f9)}
body.hejuo-ui #homePage:has(>:is([data-tab-page="data"],[data-tab-page="trumpet"],[data-tab-page="hero"],[data-tab-page="esim"],[data-tab-page="tron"]).active) [data-tab-page]>:is(.project-section-tabs,.trx-module-nav){position:sticky;top:calc(12px + var(--project-brand-height,44px) + 14px + var(--project-header-height,49px) + 10px);z-index:40;box-shadow:0 -10px 0 var(--soft,#f4f8f9),0 12px 0 var(--soft,#f4f8f9)}
