/* ==========================================================================
   VPNFL — components.css
   跨页面组件:tab / toc 目录条 / FAQ / 套餐卡 / 线路表 / 平台卡 /
   博客卡 / callout / 文末推广块 / 悬浮 CTA / 设计预览示例类
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tab 切换
   -------------------------------------------------------------------------- */

.tabs{margin-bottom:26px}
.tablist{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:5px;
  border-radius:var(--r-pill);
  background:var(--bg-panel2);
  border:1px solid var(--border);
  box-shadow:inset 0 1px 0 var(--white-70);
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.tablist [role="tab"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:6px 20px;
  border-radius:var(--r-pill);
  font-family:var(--font-display);
  font-size:14px;
  font-weight:600;
  color:var(--muted);
  white-space:nowrap;
  flex-shrink:0;
  transition:background .18s, color .18s, box-shadow .18s;
}
.tablist [role="tab"]:hover{color:var(--text)}
.tablist [role="tab"][aria-selected="true"]{
  background:var(--white);
  color:var(--accent-dark);
  box-shadow:var(--shadow-soft), inset 0 1px 0 var(--white);
}
.tabpanel[hidden]{display:none}
.tabpanel{animation:tab-in .28s ease}
@keyframes tab-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.tabpanel{animation:none}}

/* 资料浏览器式 tab(卖点区:左列条目 + 右详情面板) */
.browser{
  display:grid;
  grid-template-columns:minmax(0,34fr) minmax(0,66fr);
  gap:22px;
  align-items:start;
}
.browser-list{display:flex;flex-direction:column;gap:6px;min-width:0}
.browser-list [role="tab"]{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  min-height:58px;
  padding:10px 14px;
  border-radius:var(--r-sm);
  text-align:left;
  font-size:14.5px;
  font-weight:600;
  color:var(--muted);
  transition:background .18s, color .18s;
}
.browser-list [role="tab"]:hover{background:var(--bg-panel2)}
.browser-list [role="tab"][aria-selected="true"]{
  background:var(--bg-panel);
  color:var(--text);
  box-shadow:var(--shadow-card), inset 0 1px 0 var(--white);
}
.browser-list [role="tab"][aria-selected="true"]::before{
  content:"";
  position:absolute;
  left:0;top:12px;bottom:12px;
  width:3px;
  border-radius:2px;
  background:var(--accent);
}
.browser-list .icon-tile{width:36px;height:36px;border-radius:var(--r-sm)}
.browser-list .icon-tile svg{width:18px;height:18px}
.browser-panel{
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:var(--r-md);
  box-shadow:var(--shadow-card), inset 0 1px 0 var(--white);
  overflow:hidden;
  min-width:0;
}
.browser-bar{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:46px;
  padding:10px 16px;
  border-bottom:1px solid var(--border);
  background:linear-gradient(180deg,var(--white-70),transparent);
}
.browser-bar .win-title{flex:1;min-width:0}
.browser-body{padding:24px;display:flex;flex-direction:column;gap:16px}
.browser-body h3{font-size:19px}
.browser-body p{font-size:15px;color:var(--muted)}
.browser-band{
  position:relative;
  height:8px;
  border-radius:var(--r-pill);
  background:var(--bg-panel2);
  box-shadow:inset 0 1px 2px var(--accent-08);
  overflow:hidden;
}
.browser-band i{
  position:absolute;
  inset:1px;
  border-radius:var(--r-pill);
  background:linear-gradient(90deg,var(--accent-10) 0%,var(--accent) 45%,var(--accent-2) 100%);
}

/* --------------------------------------------------------------------------
   长页分类跳转导航(toc)
   -------------------------------------------------------------------------- */

.toc-tabs{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  gap:6px;
  align-items:center;
  padding:8px 0;
  margin-bottom:26px;
  background:var(--bg);
  border-bottom:1px solid var(--border);
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  max-width:100%;
  scrollbar-width:none;
}
.toc-tabs::-webkit-scrollbar{display:none}
.toc-tabs a{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:6px 14px;
  border-radius:var(--r-pill);
  border:1px solid transparent;
  font-size:13.5px;
  font-weight:600;
  color:var(--muted);
  white-space:nowrap;
  flex-shrink:0;
  transition:background .18s, color .18s, border-color .18s;
}
.toc-tabs a:hover{color:var(--text);border-color:var(--border)}
.toc-tabs a.active,
.toc-tabs a[aria-current="true"]{
  color:var(--accent-dark);
  background:var(--bg-panel);
  border-color:var(--border);
  box-shadow:inset 0 1px 0 var(--white);
}
body:has(.toc-tabs) section[id],
body:has(.toc-tabs) [id].toc-target{scroll-margin-top:calc(var(--toc-h) + 20px)}
.toc-static{position:static}

/* --------------------------------------------------------------------------
   FAQ 折叠
   -------------------------------------------------------------------------- */

.faq-list{display:flex;flex-direction:column;gap:10px;max-width:100%}
.faq-item{
  border-radius:var(--r-md);
  background:var(--bg-panel);
  border:1px solid var(--border);
  box-shadow:var(--shadow-card), inset 0 1px 0 var(--white);
  overflow:hidden;
  min-width:0;
}
.faq-item summary{
  position:relative;
  display:flex;
  align-items:flex-start;
  gap:14px;
  min-height:56px;
  padding:18px 54px 18px 20px;
  cursor:pointer;
  font-family:var(--font-display);
  font-size:16px;
  font-weight:700;
  color:var(--text);
  list-style:none;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:"";
  position:absolute;
  right:20px;
  top:24px;
  width:10px;
  height:10px;
  border-right:2px solid var(--accent);
  border-bottom:2px solid var(--accent);
  transform:rotate(45deg);
  transition:transform .2s;
}
.faq-item[open] summary::after{transform:rotate(-135deg)}
.faq-item[open] summary{color:var(--accent-dark)}
.faq-body{padding:0 20px 20px;font-size:15px;color:var(--muted);line-height:1.75}
.faq-body p + p{margin-top:10px}
.faq-body a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}

/* --------------------------------------------------------------------------
   套餐卡片
   -------------------------------------------------------------------------- */

.plan-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(272px,100%),1fr));
  gap:22px;
  align-items:stretch;
}
.plan-card{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:26px 24px 28px;
  border-radius:var(--r-md);
  background:var(--bg-panel);
  border:1px solid var(--border);
  box-shadow:var(--shadow-card), inset 0 1px 0 var(--white);
  min-width:0;
  transition:transform .18s, box-shadow .18s, border-color .18s;
}
.plan-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-float)}
.plan-card.is-featured{
  border-color:var(--accent);
  box-shadow:0 18px 40px var(--accent-14), inset 0 1px 0 var(--white);
}
.plan-card.is-current{
  background:var(--white);
  border-color:var(--accent);
  box-shadow:0 18px 40px var(--accent-14), inset 0 0 0 4px var(--accent-08);
}
.plan-badge{
  position:absolute;
  top:-;
  top:-1px;
  right:18px;
  transform:translateY(-50%);
}
.plan-head{display:flex;flex-direction:column;gap:6px}
.plan-name{font-family:var(--font-display);font-size:19px;font-weight:800;letter-spacing:-.015em}
.plan-sub{font-size:13px;color:var(--muted)}
.plan-price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.plan-price .num{
  font-family:var(--font-mono);
  font-size:38px;
  font-weight:700;
  letter-spacing:-.03em;
  color:var(--text);
  line-height:1.05;
}
.plan-price .cur{font-size:19px;font-weight:700;color:var(--text)}
.plan-price .per{font-size:13.5px;color:var(--muted)}
.plan-save{font-size:12.5px;font-weight:700;color:var(--success)}
.plan-list{display:flex;flex-direction:column;gap:9px;flex:1;margin-top:2px}
.plan-list li{display:flex;align-items:flex-start;gap:9px;font-size:14px;color:var(--muted)}
.plan-list svg{width:16px;height:16px;color:var(--accent);flex:none;margin-top:3px}
.plan-list b{color:var(--text);font-weight:600}
.plan-foot{display:flex;flex-direction:column;gap:10px}
.plan-note{font-size:12.5px;color:var(--muted);text-align:center}

/* 流量包 */
.pack-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));
  gap:16px;
}
.pack-card{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  padding:18px 20px;
  border-radius:var(--r-md);
  background:var(--bg-panel2);
  border:1px solid var(--border);
  box-shadow:inset 0 1px 0 var(--white-70);
  min-width:0;
}
.pack-card .pack-num{
  font-family:var(--font-mono);
  font-size:22px;
  font-weight:700;
  color:var(--accent-dark);
  white-space:nowrap;
}
.pack-card .pack-meta{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 140px}
.pack-card .pack-meta .t{font-size:14px;font-weight:600}
.pack-card .pack-meta .s{font-size:12.5px;color:var(--muted)}

/* 对比表 */
.table-scroll{
  overflow-x:auto;
  max-width:100%;
  -webkit-overflow-scrolling:touch;
  border-radius:var(--r-md);
  border:1px solid var(--border);
  background:var(--bg-panel);
  box-shadow:var(--shadow-card), inset 0 1px 0 var(--white);
}
.data-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  min-width:640px;
}
.data-table th,.data-table td{
  padding:13px 16px;
  text-align:left;
  border-bottom:1px solid var(--border-soft);
  word-break:keep-all;
  vertical-align:top;
}
.data-table thead th{
  font-family:var(--font-display);
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--accent-dark);
  background:var(--bg-panel2);
  white-space:nowrap;
  border-bottom:1px solid var(--border);
}
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td{border-bottom:0}
.data-table tbody tr:hover{background:var(--accent-06)}
.data-table td{color:var(--text)}
.data-table .cell-muted{color:var(--muted)}
.data-table .cell-strong{font-weight:700}

/* --------------------------------------------------------------------------
   线路表(按地区分组)
   -------------------------------------------------------------------------- */

.route-group + .route-group{margin-top:28px}
.route-group-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
  min-width:0;
}
.route-group-head h3{font-size:17px;white-space:nowrap}
.route-group-head .count{
  font-family:var(--font-mono);
  font-size:12px;
  font-weight:600;
  color:var(--muted);
  padding:2px 10px;
  border-radius:var(--r-pill);
  background:var(--bg-panel2);
  white-space:nowrap;
}
.route-group-head .rule{flex:1;height:1px;background:var(--border);min-width:20px}

.route-table{min-width:620px}
.route-table .c-country{white-space:nowrap}
.route-table .c-city{white-space:nowrap;font-weight:600}
.route-table .c-type{white-space:nowrap}

.tag{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  max-width:100%;
  padding:2px 9px;
  border-radius:6px;
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.01em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.tag-iepl{background:var(--accent-10);color:var(--accent-dark)}
.tag-mid{background:var(--bg-panel2);color:var(--muted)}
.tag-direct{background:var(--aqua-18);color:var(--accent-dark)}
.tag-ok{background:var(--accent-10);color:var(--success)}

/* --------------------------------------------------------------------------
   平台卡(客户端下载)
   -------------------------------------------------------------------------- */

.platform-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));
  gap:16px;
}
.platform-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  padding:24px 18px;
  border-radius:var(--r-md);
  background:var(--bg-panel);
  border:1px solid var(--border);
  box-shadow:var(--shadow-card), inset 0 1px 0 var(--white);
  text-align:center;
  min-width:0;
  transition:transform .18s, box-shadow .18s, border-color .18s;
}
.platform-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-float);border-color:var(--accent)}
.platform-card .p-ic{
  width:48px;height:48px;
  border-radius:var(--r-md);
  background:var(--bg-panel2);
  box-shadow:inset 0 1px 0 var(--white-70);
  display:flex;align-items:center;justify-content:center;
  color:var(--accent-dark);
  flex:none;
}
.platform-card .p-ic svg{width:24px;height:24px}
.platform-card .p-name{font-family:var(--font-display);font-size:15.5px;font-weight:700}
.platform-card .p-note{font-size:12.5px;color:var(--muted);min-height:2.6em}

/* 四步接入卡 */
.step-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.step-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  padding:28px 20px;
  border-radius:var(--r-md);
  background:var(--bg-panel);
  border:1px solid var(--border);
  box-shadow:var(--shadow-card), inset 0 1px 0 var(--white);
  text-align:center;
  min-width:0;
}
.step-card .icon-tile{width:52px;height:52px}
.step-card .icon-tile svg{width:24px;height:24px}
.step-card .s-title{font-family:var(--font-display);font-size:15.5px;font-weight:700}
.step-card .s-desc{font-size:13.5px;color:var(--muted)}

/* --------------------------------------------------------------------------
   文末推广块(博客文章用)
   -------------------------------------------------------------------------- */

.promo-block{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  padding:28px 30px;
  border-radius:var(--r-lg);
  background:linear-gradient(140deg,var(--bg-panel) 0%,var(--bg-panel2) 100%);
  border:1px solid var(--border);
  box-shadow:var(--shadow-win), inset 0 1px 0 var(--white);
  overflow-x:clip;
  min-width:0;
}
.promo-block::before{
  content:"";
  position:absolute;
  inset:-40% -10% auto 60%;
  height:180%;
  background:radial-gradient(closest-side,var(--aqua-06) 0%,var(--accent-06) 55%,transparent 100%);
  pointer-events:none;
}
.promo-block > *{position:relative;z-index:1}
.promo-copy{min-width:0;max-width:56ch}
.promo-copy .promo-brand{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-display);
  font-size:13px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--accent-dark);
  margin-bottom:8px;
}
.promo-copy .promo-brand i{width:14px;height:2px;border-radius:2px;background:var(--accent);flex:none}
.promo-block h3{font-size:20px;margin-bottom:8px}
.promo-block p{font-size:14.5px;color:var(--muted)}
.promo-block .btn{flex-shrink:0;white-space:nowrap}

/* --------------------------------------------------------------------------
   悬浮 CTA(全站常驻)
   -------------------------------------------------------------------------- */

.float-cta{
  position:fixed;
  right:22px;
  bottom:calc(22px + env(safe-area-inset-bottom,0px));
  z-index:70;
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:48px;
  padding:0 20px 0 16px;
  border-radius:var(--r-pill);
  color:var(--white);
  font-family:var(--font-display);
  font-size:14.5px;
  font-weight:700;
  letter-spacing:-.01em;
  background:linear-gradient(180deg,var(--accent) 0%,var(--accent) 55%,var(--accent-2) 100%);
  box-shadow:var(--shadow-btn), inset 0 1px 0 var(--white-70);
  transition:transform .15s, box-shadow .15s;
  white-space:nowrap;
}
.float-cta:hover{transform:translateY(-2px);box-shadow:0 16px 32px var(--accent-22)}
.float-cta svg{width:18px;height:18px;flex:none}
/* 页尾避让:与浮标等高,滚到底不压正文与页脚法律链 */
body:has(.float-cta)::after{
  content:"";
  display:block;
  height:calc(88px + env(safe-area-inset-bottom,0px));
}
@media (max-width:640px){
  .float-cta{right:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px));min-height:44px;font-size:13.5px;padding:0 16px 0 14px}
  body:has(.float-cta)::after{height:calc(78px + env(safe-area-inset-bottom,0px))}
}

/* --------------------------------------------------------------------------
   工具:IP 检测
   -------------------------------------------------------------------------- */

.ip-card{
  display:flex;
  flex-direction:column;
  gap:18px;
  padding:28px;
  border-radius:var(--r-md);
  background:var(--bg-panel);
  border:1px solid var(--border);
  box-shadow:var(--shadow-win), inset 0 1px 0 var(--white);
  min-width:0;
}
.ip-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  padding-bottom:14px;
  border-bottom:1px dashed var(--border);
}
.ip-row:last-of-type{border-bottom:0;padding-bottom:0}
.ip-row .k{font-size:13.5px;color:var(--muted)}
.ip-row .v{
  font-family:var(--font-mono);
  font-size:17px;
  font-weight:700;
  color:var(--text);
  overflow-wrap:anywhere;
  min-width:0;
}
.ip-flag{display:inline-flex;align-items:center;gap:8px}
.ip-note{font-size:13px;color:var(--muted)}

/* --------------------------------------------------------------------------
   设计预览页示例类(design-preview.html 专用)
   -------------------------------------------------------------------------- */

.preview-sec{padding-top:64px;padding-bottom:64px;border-bottom:1px solid var(--border)}
.preview-sec:last-of-type{border-bottom:0}
.preview-h{
  font-family:var(--font-display);
  font-size:13px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:18px;
}
.preview-note{font-size:13px;color:var(--muted);margin-top:10px}

.swatch-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(190px,100%),1fr));
  gap:14px;
}
.swatch{
  border-radius:var(--r-md);
  border:1px solid var(--border);
  background:var(--white);
  overflow:hidden;
  box-shadow:var(--shadow-card);
  min-width:0;
}
.swatch .sw-chip{height:64px;border-bottom:1px solid var(--border)}
.swatch .sw-meta{padding:10px 12px;display:flex;flex-direction:column;gap:2px;min-width:0}
.swatch .sw-name{font-size:13px;font-weight:700}
.swatch .sw-var{
  font-family:var(--font-mono);
  font-size:11px;
  color:var(--muted);
  overflow-wrap:anywhere;
}

.type-sample{display:flex;flex-direction:column;gap:22px}
.type-sample .ts-row{
  display:flex;
  align-items:baseline;
  gap:18px;
  flex-wrap:wrap;
  padding-bottom:16px;
  border-bottom:1px dashed var(--border);
}
.type-sample .ts-label{
  font-family:var(--font-mono);
  font-size:11.5px;
  color:var(--muted);
  min-width:96px;
  flex:none;
}
.ts-display{font-family:var(--font-display);font-size:clamp(34px,4.4vw,56px);font-weight:900;letter-spacing:-.035em;line-height:1.1}
.ts-h2{font-family:var(--font-display);font-size:30px;font-weight:800;letter-spacing:-.025em}
.ts-h3{font-family:var(--font-display);font-size:20px;font-weight:700}
.ts-body{font-size:16px;color:var(--muted)}
.ts-mono{font-family:var(--font-mono);font-size:14px;color:var(--accent-dark)}

.btn-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center}

/* 预览页 Hero 装置(与首页首屏同构) */
.preview-hero{
  position:relative;
  overflow-x:clip;
  max-width:100%;
  background:linear-gradient(180deg,var(--bg-top) 0%,var(--bg) 55%,var(--bg-bottom) 100%);
}
.preview-hero::before,
.preview-hero::after{
  content:"";
  position:absolute;
  pointer-events:none;
  z-index:0;
}
.preview-hero::before{
  inset:-18% -8% auto 46%;
  height:78%;
  background:radial-gradient(closest-side,var(--aqua-06) 0%,var(--accent-06) 45%,transparent 100%);
}
.preview-hero::after{
  inset:auto 55% -20% -10%;
  height:64%;
  background:radial-gradient(closest-side,var(--peri-10) 0%,var(--peri-05) 45%,transparent 100%);
}
.preview-hero .hero-grid{
  position:relative;
  z-index:1;
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,44fr) minmax(0,52fr);
  column-gap:4%;
  align-items:center;
  padding-top:24px;
  padding-bottom:40px;
}
.copy{position:relative;z-index:2;display:flex;flex-direction:column;gap:24px;min-width:0}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  align-self:flex-start;
  min-height:30px;
  padding:5px 12px 5px 10px;
  border-radius:var(--r-pill);
  background:var(--bg-panel);
  border:1px solid var(--border);
  box-shadow:inset 0 1px 0 var(--white);
  font-size:13px;
  font-weight:600;
  color:var(--accent-dark);
  letter-spacing:.01em;
  max-width:100%;
}
.kicker i{
  width:8px;height:8px;border-radius:50%;flex:none;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
}
.ctas{display:flex;align-items:center;gap:12px;flex-wrap:wrap}

/* 装置 */
.device{position:relative;z-index:1;padding:40px 26px 26px 14px;min-width:0}
.stage{position:relative;min-width:0}
.stage::before{
  content:"";
  position:absolute;
  inset:-14% -10% -18% -6%;
  border-radius:50%;
  background:radial-gradient(closest-side,var(--aqua-06) 0%,var(--accent-06) 50%,transparent 100%);
  z-index:0;
  pointer-events:none;
}
.win{
  position:relative;
  z-index:1;
  background:var(--bg-panel);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow-win), inset 0 1px 0 var(--white), inset 0 0 0 1px var(--white-70);
  border:1px solid var(--border);
  transform:rotate(-1.5deg) translateY(-24px);
  transform-origin:50% 50%;
  overflow:hidden;
}
.win-bar{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:48px;
  padding:10px 16px;
  border-bottom:1px solid var(--border);
  background:linear-gradient(180deg,var(--white-70),transparent);
}
.dots{display:flex;gap:7px;flex:none}
.dots i{width:11px;height:11px;border-radius:50%;flex:none}
.dots .d1{background:var(--error)}
.dots .d2{background:var(--warn)}
.dots .d3{background:var(--success)}
.win-title{
  flex:1;
  min-width:0;
  font-size:13px;
  font-weight:600;
  color:var(--text);
  letter-spacing:-.005em;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.win-title em{font-style:normal;font-family:var(--font-mono);font-weight:600;color:var(--accent-dark)}
.pill-state{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:26px;
  padding:3px 11px;
  border-radius:var(--r-pill);
  border:1px solid var(--border);
  background:var(--white);
  font-size:12px;
  font-weight:600;
  color:var(--accent-dark);
  white-space:nowrap;
  flex:none;
}
.pill-state i{width:7px;height:7px;border-radius:50%;background:var(--success);flex:none}

.win-body{display:grid;grid-template-columns:minmax(0,42fr) minmax(0,58fr)}
.routes{
  padding:12px 10px 12px 12px;
  border-right:1px solid var(--border);
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}
.routes li{
  position:relative;
  display:grid;
  grid-template-columns:22px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-height:46px;
  padding:6px 10px 6px 12px;
  border-radius:var(--r-sm);
  font-size:13.5px;
  font-weight:600;
  color:var(--text);
}
.routes li.on{
  background:var(--bg-panel2);
  box-shadow:inset 0 1px 0 var(--white-70);
}
.routes li.on::before{
  content:"";
  position:absolute;
  left:0;top:10px;bottom:10px;
  width:3px;
  border-radius:2px;
  background:var(--accent);
}
.routes .name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.link-card{
  margin:16px 16px 16px 14px;
  padding:20px;
  border-radius:var(--r-md);
  background:linear-gradient(180deg,var(--white) 0%,var(--bg-panel) 100%);
  box-shadow:inset 0 0 0 1px var(--border), inset 0 0 0 8px var(--accent-08), 0 1px 0 var(--white);
  display:flex;
  flex-direction:column;
  gap:18px;
  min-width:0;
}
.link-head{display:flex;align-items:center;gap:16px;min-width:0}
.switch{
  position:relative;
  flex:none;
  width:72px;
  height:72px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%,var(--accent-2) 0%,var(--accent) 55%,var(--accent-dark) 100%);
  box-shadow:0 10px 22px var(--accent-22), inset 0 1px 0 var(--white-70);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--white);
}
.switch svg{width:30px;height:30px;position:relative;z-index:1}
.switch::after{
  content:"";
  position:absolute;
  inset:-8px;
  border-radius:50%;
  background:radial-gradient(closest-side,var(--aqua-40),transparent);
  z-index:0;
  animation:halo 6s ease-in-out infinite;
}
.link-meta{display:flex;flex-direction:column;gap:2px;min-width:0}
.link-meta .state{
  display:inline-flex;align-items:center;gap:6px;
  font-size:12px;font-weight:600;color:var(--success);letter-spacing:.02em;
}
.link-meta .state i{width:7px;height:7px;border-radius:50%;background:var(--success);flex:none}
.link-meta .route{
  font-family:var(--font-display);
  font-size:17px;
  font-weight:800;
  letter-spacing:-.01em;
  color:var(--text);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.link-meta .sub{font-size:12px;color:var(--muted)}

.band{
  position:relative;
  height:12px;
  border-radius:var(--r-pill);
  background:var(--bg-panel2);
  box-shadow:inset 0 1px 2px var(--accent-08);
  overflow:visible;
}
.band-fill{
  position:absolute;
  inset:2px;
  border-radius:var(--r-pill);
  background:linear-gradient(90deg,var(--accent-10) 0%,var(--accent) 40%,var(--accent-2) 100%);
  animation:breathe 6s ease-in-out infinite;
}
.band-dot{
  position:absolute;
  right:4px;
  top:50%;
  width:3px;
  height:3px;
  margin-top:-1.5px;
  border-radius:50%;
  background:var(--white);
  box-shadow:0 0 6px 2px var(--white-90), 0 0 10px 3px var(--aqua-40);
}
.band-cap{
  display:flex;
  justify-content:space-between;
  font-family:var(--font-mono);
  font-size:11px;
  color:var(--muted);
  margin-top:-8px;
}

.facts{display:flex;flex-direction:column;gap:8px}
.facts li{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:12px;
  padding-bottom:8px;
  border-bottom:1px dashed var(--border);
  font-size:13px;
}
.facts li:last-child{border-bottom:0;padding-bottom:0}
.facts .k{color:var(--muted)}
.facts .v{font-weight:700;color:var(--text);white-space:nowrap}

.chips{display:flex;flex-wrap:wrap;gap:6px}
.chips li{
  min-height:24px;
  display:inline-flex;
  align-items:center;
  padding:3px 9px;
  border-radius:6px;
  background:var(--bg-panel2);
  font-family:var(--font-mono);
  font-size:11px;
  font-weight:600;
  color:var(--accent-dark);
  letter-spacing:-.01em;
}
.pays{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.pays .k{font-size:12px;color:var(--muted);margin-right:2px}
.pays li{
  min-height:24px;
  display:inline-flex;
  align-items:center;
  padding:3px 10px;
  border-radius:var(--r-pill);
  border:1px solid var(--border);
  background:var(--white);
  font-size:12px;
  font-weight:600;
  color:var(--text);
}

/* 漂浮层 */
.float-card{
  position:absolute;
  z-index:3;
  top:-34px;
  right:-26px;
  width:236px;
  padding:14px 16px;
  border-radius:var(--r-md);
  background:var(--white);
  border:1px solid var(--border);
  box-shadow:var(--shadow-float), inset 0 1px 0 var(--white);
  display:flex;
  flex-direction:column;
  gap:12px;
}
.float-card .t{
  font-size:13px;
  font-weight:700;
  color:var(--text);
  letter-spacing:-.01em;
  text-align:center;
  white-space:nowrap;
}
.float-card ul{display:flex;justify-content:space-between;align-items:center;padding:0 4px}
.float-card li{
  width:34px;height:34px;
  border-radius:var(--r-sm);
  background:var(--bg-panel);
  display:flex;align-items:center;justify-content:center;
  color:var(--muted);
  flex:none;
}
.float-card svg{width:20px;height:20px}

.float-pill{
  position:absolute;
  z-index:3;
  left:-14px;
  bottom:-6px;
  min-height:38px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 16px 6px 12px;
  border-radius:var(--r-pill);
  background:var(--white);
  border:1px solid var(--border);
  box-shadow:var(--shadow-float);
  font-size:13px;
  font-weight:600;
  color:var(--text);
  white-space:nowrap;
}
.float-pill svg{width:16px;height:16px;color:var(--accent);flex:none}

@media (max-width:1180px){
  .device{padding:40px 22px 24px 8px}
  .float-card{width:220px;right:-18px}
}

@media (max-width:1024px){
  .preview-hero .hero-grid{grid-template-columns:1fr;row-gap:56px;padding-top:32px;padding-bottom:48px}
  .copy{max-width:640px}
  .device{padding:48px 24px 32px 20px;max-width:760px}
  .win{transform:none}
  .browser{grid-template-columns:1fr}
  .browser-list{
    flex-direction:row;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:6px;
    gap:8px;
  }
  .browser-list [role="tab"]{width:auto;flex:0 0 auto;white-space:nowrap}
  .browser-list [role="tab"][aria-selected="true"]::before{display:none}
  .step-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:768px){
  .device{padding:0}
  .stage::before{inset:-6% -4% -8% -4%}
  .win{transform:none}
  .float-card{
    position:static;
    width:auto;
    margin:12px 12px 0;
    box-shadow:var(--shadow-soft);
  }
  .float-pill{display:none}
  .win-body{grid-template-columns:1fr}
  .routes{border-right:0;border-bottom:1px solid var(--border)}
  .link-card{margin:16px}
  .promo-block{padding:24px 22px}
  .ip-card{padding:22px}
}

@media (max-width:640px){
  .plan-card{padding:22px 20px 24px}
  .plan-price .num{font-size:32px}
  .data-table{min-width:560px}
  .route-table{min-width:540px}
  .step-grid{grid-template-columns:minmax(0,1fr)}
  .cta-band-inner{padding-top:40px;padding-bottom:40px}
  .tablist{width:100%;justify-content:flex-start}
  .browser-body{padding:20px}
  .float-card ul{flex-wrap:wrap;gap:8px;justify-content:center}
}