:root {

  --primary: #FF5000;

  --primary-hover: #FF6A00;

  --bg-page: #F5F6FA;

  --bg-card: #FFFFFF;

  --text-main: #222222;

  --text-sub: #666666;

  --text-light: #999999;

  --border: #E8E8E8;

  --radius: 10px;

}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 14px; scroll-behavior: smooth; }

body { font-family: "PingFang TC", "Microsoft JhengHei", -apple-system, sans-serif; background: var(--bg-page); color: var(--text-main); line-height: 1.5; }

a{color: var(--text-main); text-decoration: none;}

/* ===== 頂部導航（PC端完整顯示） ===== */

.header { height: 56px; background: linear-gradient(90deg, var(--primary), var(--primary-hover)); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(255,80,0,0.15); }

.header .container { max-width: 1200px; margin: 0 auto; height: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }

.logo { color: #fff; font-size: 18px; font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 6px; }

.nav { display: flex; gap: 24px; align-items: center; }

.nav a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 15px; font-weight: 500; padding: 16px 0; position: relative; transition: 0.2s; }

.nav a:hover, .nav a.active { color: #fff; font-weight: 600; }

.nav a.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 20px; height: 2px; background: #fff; border-radius: 2px; }

.user-area { display: flex; gap: 12px; align-items: center; }

.user-area a { color: #fff; background: rgba(255,255,255,0.2); padding: 6px 14px; border-radius: 20px; text-decoration: none; font-size: 13px; font-weight: 500; transition: 0.2s; backdrop-filter: blur(4px); }

.user-area a:hover { background: rgba(255,255,255,0.35); }



/* ===== 佈局容器 ===== */

.container { max-width: 1200px; margin: 0 auto; padding: 20px 20px; /*min-height: calc(100vh - 126px);*/ }

.card { background: var(--bg-card); border-radius: var(--radius); padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 20px; }

.section-title { font-size: 17px; font-weight: 700; margin-bottom: 16px; color: var(--text-main); }

/*banner*/
.banner-container {
      position: relative;
      width: 100%;
      height: 66vh;
      overflow: hidden;
      user-select: none;
      touch-action: pan-y; /* 允许垂直滚动，拦截水平滑动给轮播 */
	  margin-bottom: 30px;
    }

    .slides-wrapper {
      display: flex;
      width: 100%;
      height: 100%;
      will-change: transform; /* GPU 优化 */
      cursor: grab;
    }
    .slides-wrapper:active { cursor: grabbing; }

    .slide {
      flex: 0 0 100%;
      position: relative;
      width: 100%;
      height: 100%;
    }

    .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      pointer-events: none; /* 防止拖拽时触发图片默认行为 */
    }

    .overlay_banner {
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 1;
      pointer-events: none;
    }

    .content_banner {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      color: #ffffff;
      z-index: 2;
      pointer-events: none;
    }
    .content_banner h1 { font-size: 3.5rem; font-weight: 700; margin-bottom: 0.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
    .content_banner p  { font-size: 1.5rem; opacity: 0.9; text-shadow: 0 1px 5px rgba(0,0,0,0.3); }

    .nav-btn_banner {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.15);
      border: 2px solid rgba(255, 255, 255, 0.4);
      color: #fff;
      width: 56px; height: 56px;
      border-radius: 50%;
      cursor: pointer;
      z-index: 10;
      font-size: 24px;
      display: flex; align-items: center; justify-content: center;
      backdrop-filter: blur(4px);
      transition: all 0.3s ease;
    }
    .nav-btn_banner:hover { background: rgba(255, 255, 255, 0.3); border-color: rgba(255, 255, 255, 0.8); }
    .prev_banner { left: 24px; }
    .next_banner { right: 24px; }

    /* 指示点 */
    .dots {
      position: absolute;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
      z-index: 10;
    }
    .dot {
      width: 10px; height: 10px;
      background: rgba(255,255,255,0.4);
      border-radius: 50%;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    .dot.active { background: #fff; transform: scale(1.2); }



.footbg{ width:100%; text-align:center; background: #5e5e5e;padding: 14px;margin-top: 30px;}
.footbg p{color:#fff; font-size:14px;}
.footbg p a{color:#fff; font-size:14px;}

/* ===== 表單與按鈕 ===== */

.form-group { margin-bottom: 14px; }

.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; color: var(--text-main); }

.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 12px; border: 1px solid #D0D0D0; border-radius: 8px; font-size: 14px; background: #fff; transition: 0.2s; font-family: inherit; }

.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(255,80,0,0.1); }

.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: 0.2s; text-decoration: none; }

.btn-primary { background: var(--primary); color: #fff; }

.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }

.btn-full { width: 100%; }



/* ===== 預報標籤切換 ===== */

.forecast-tabs { display: flex; background: #fff; margin-bottom: 20px; border-bottom: 1px solid var(--border); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }

.forecast-tab { flex: 1; text-align: center; padding: 14px 0; cursor: pointer; font-size: 15px; color: var(--text-sub); font-weight: 500; border-bottom: 3px solid transparent; transition: 0.2s; }

.forecast-tab:hover { color: var(--primary); background: #FFF8F2; }

.forecast-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; background: #fff; }

.forecast-content { display: none; animation: fadeUp 0.25s ease; }

.forecast-content.active { display: block; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }



/* ===== 首頁組件 ===== */

.home-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }

.action-card { background: #fff; border-radius: var(--radius); padding: 24px 16px; text-align: center; text-decoration: none; transition: 0.2s; border: 1px solid transparent; display: block; }

.action-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,80,0,0.1); }

.action-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--primary), var(--primary-hover)); border-radius: 14px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; }

.advantages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }

.adv-item { background: #fff; border-left: 3px solid var(--primary); padding: 16px; border-radius: 6px; transition: 0.2s; }

.adv-item:hover { transform: translateX(3px); box-shadow: 0 2px 8px rgba(255,80,0,0.1); }

.adv-title { font-weight: 700; color: var(--primary); margin-bottom: 4px; font-size: 14px; }

.adv-desc { font-size: 13px; color: var(--text-sub); }

.wh-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }

.wh-tabs { display: flex; background: #F0F2F5; border-radius: 6px; padding: 3px; }

.wh-tab { padding: 5px 12px; border-radius: 5px; font-size: 13px; cursor: pointer; color: var(--text-sub); }

.wh-tab.active { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }

.wh-info { background: #FAFAFA; padding: 14px; border-radius: 8px; }

.wh-field { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed #EAEAEA; }

.wh-field:last-child { border-bottom: none; }

.copy-btn { background: #FFF3E0; color: var(--primary); border: none; padding: 4px 10px; border-radius: 5px; font-size: 12px; cursor: pointer; font-weight: 500; }

.copy-btn:hover { background: #FFE0B2; }

.copy-btn.copied { background: #e8f5e9; color: #4caf50; }



/* ===== 認證頁面 ===== */

.auth-container { max-width: 420px; margin: 40px auto; background: #fff; padding: 28px; border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }

.auth-title { text-align: center; font-size: 20px; font-weight: 700; margin-bottom: 20px; }

.auth-footer { text-align: center; margin-top: 18px; font-size: 13px; color: var(--text-sub); }

.auth-footer a { color: var(--primary); text-decoration: none; margin: 0 4px; font-weight: 500; }



/* ===== 包裹查詢 ===== */

.status-tabs { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; padding-bottom: 4px; }

.status-tab { padding: 7px 14px; background: #fff; border: 1px solid #D0D0D0; border-radius: 18px; cursor: pointer; font-size: 13px; white-space: nowrap; transition: 0.2s; }

.status-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.status-list .item { display: flex; justify-content: space-between; align-items: center; padding: 14px; background: #fff; border-radius: 8px; margin-bottom: 10px; border: 1px solid #F0F0F0; }

.badge { padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: 500; }

.badge-forecast { background: #FFF3E0; color: #FF8A00; }

.badge-in { background: #E8F5E9; color: #4CAF50; }

.badge-loaded { background: #E3F2FD; color: #2196F3; }

.badge-done { background: #F3E5F5; color: #9C27B0; }

.cpleft{ float:left;margin-right: 20px;}

.cpleft img{ width:100px;}

.cpright{ float:right;}

.cprtitle{font-size: 16px; font-weight:bold;margin-bottom: 8px;}

.cprdanghao{font-size: 14px; font-weight:bold;color: #646464;}

.cprother{font-size:12px;color:var(--text-sub);margin-top:3px;}

.status-list .item:hover{background: #f4f4f4;}



/* ===== 會員中心 ===== */

.member-header { background: linear-gradient(135deg, var(--primary), var(--primary-hover)); color: #fff; padding: 20px; border-radius: 12px; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }

.member-avatar { width: 54px; height: 54px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; }

.member-info h2 { font-size: 18px; margin-bottom: 3px; display: flex; align-items: center; gap: 6px; }

.vip-tag { background: #FFD700; color: #333; padding: 2px 7px; border-radius: 6px; font-size: 11px; font-weight: 600; }

.member-info p { font-size: 13px; opacity: 0.9; }

.member-stats { display: grid; grid-template-columns: repeat(1, 1fr); gap: 12px; margin-bottom: 18px; }

.stat-card { background: #fff; padding: 14px; border-radius: 8px; text-align: center; }

.stat-val { font-size: 18px; font-weight: 700; color: var(--primary); margin: 3px 0; }

.stat-label { font-size: 12px; color: var(--text-sub); }

.menu-list { background: #fff; border-radius: 10px; overflow: hidden; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }

.menu-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid #F5F5F5; cursor: pointer; }

.menu-item:last-child { border-bottom: none; }

.menu-item:hover { background: #FFF8F2; }

.menu-item .left { display: flex; align-items: center; gap: 8px; font-weight: 500; }

.menu-item .arrow { color: #CCC; transition: 0.2s; }

.menu-item:hover .arrow { color: var(--primary); transform: translateX(3px); }



/* ===== 移動端底部懸浮導航 ===== */

.mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; height: 60px; background: #fff; display: flex; justify-content: space-around; align-items: center; border-top: 1px solid var(--border); box-shadow: 0 -4px 12px rgba(0,0,0,0.05); z-index: 999; }

.mobile-nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: #888; font-size: 11px; padding: 8px 0; transition: 0.2s; }

.mobile-nav-item .icon { font-size: 20px; line-height: 1; }

.mobile-nav-item.active { color: var(--primary); font-weight: 600; }

.mobile-nav-item.active .icon { transform: translateY(-2px); }



/* ===== 響應式嚴格控制 ===== */

@media (min-width: 769px) { .mobile-nav { display: none !important; } }

@media (max-width: 768px) {

.banner-container{ height:auto;}
.content_banner h1 { font-size: 24px; }
.content_banner p  { font-size: 16px; }
.nav-btn_banner { width: 44px; height: 44px; font-size: 20px; }
.prev_banner { left: 12px; }
.next_banner { right: 12px; }


.nav { display: none !important; }

.header .container { padding: 0 15px; }

.home-actions { grid-template-columns: repeat(3, 1fr); }

.advantages { grid-template-columns: repeat(2, 1fr); }

.member-stats { grid-template-columns: repeat(1, 1fr); }

.form-row { grid-template-columns: 1fr; }

.wh-info {padding: 10px;}

.wh-field { /*flex-direction: column; align-items: flex-start;*/ gap: 2px;font-size: 12px; }

body { /*padding-bottom: 65px;*/ }



.member-info p span{ display:block;}

.status-list .item{display: block;overflow: hidden;position: relative;}

.cpleft {

  float: left;

  margin-right: 10px;

  overflow: hidden;

  width: 37%;

}

.cpright {

  float: left;

  overflow: hidden;

  width: 55%;

  margin-bottom: 22px;

  line-height: 22px;

}



.badge {

  padding: 2px 10px;

  border-radius: 12px;

  font-size: 12px;

  font-weight: 500;

  position: absolute;

  bottom: 8px;

  right: 8px;

}



}