/* ========================================
   悠客爱玩 ykiw.com - 全站公共样式
   移动端优先 (max-width 420px 容器)
   风格参照 plc.org.cn 手机版
 ======================================== */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;-webkit-font-smoothing:antialiased}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"PingFang SC","Microsoft YaHei",sans-serif;background:#f2f5f4;color:#1f2937;line-height:1.6;min-height:100vh}
a{color:#0e9f6e;text-decoration:none}
a:hover{color:#07915f}

/* ===== 顶栏 ===== */
.header{background:#ffffff;border-bottom:3px solid #0b3d2e}
.header-top{max-width:420px;margin:0 auto;padding:0 14px;display:flex;align-items:center;height:50px;justify-content:space-between}
.logo{font-size:19px;font-weight:800;color:#fff;display:flex;align-items:center;gap:6px;letter-spacing:.5px}
.logo span{color:#34d399}
.logo small{font-size:11px;font-weight:400;color:#94d9bd;display:block;line-height:1}
.nav-right{display:flex;align-items:center;gap:12px;font-size:12px}
.nav-right a{color:#0b3d2e}
.nav-right a:hover{color:#0e9f6e}

/* ===== 图标导航 ===== */
.nav-row{background:#0a3226;padding:8px 0 10px}
.nav-inner{max-width:420px;margin:0 auto;display:grid;grid-template-columns:repeat(5,1fr);padding:0 14px;gap:8px}
.nav-inner a{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:9px 2px;font-size:11px;font-weight:600;color:#c7efe0;background:#0e4a37;border:1px solid rgba(255,255,255,.07);border-radius:10px;transition:all .18s;text-align:center;gap:4px}
.nav-inner a .nav-icon{font-size:20px;line-height:1}
.nav-inner a:hover{color:#fff;border-color:rgba(52,211,153,.35);background:#115a43;transform:translateY(-1px)}
.nav-inner a.active{color:#fff;border-color:#34d399;background:#0e9f6e;font-weight:700}
@media(min-width:480px){.nav-inner{padding:0 20px}}

/* ===== 主容器 ===== */
.wrap{max-width:420px;margin:0 auto;padding:14px}

/* ===== 卡片 ===== */
.card{background:#fff;border-radius:12px;padding:18px;border:1px solid #e5ece8;margin-bottom:14px;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.card h2{font-size:16px;color:#0b3d2e;margin-bottom:12px;display:flex;align-items:center;gap:8px}
.card h2::before{content:'';width:4px;height:16px;background:#0e9f6e;border-radius:2px}

/* ===== 首页 hero 横幅 ===== */
.hero{max-width:420px;margin:0 auto;padding:16px 14px 4px}
.hero-card{background:linear-gradient(135deg,#0b3d2e,#115a43);border-radius:14px;padding:22px 18px;color:#fff}
.hero-card h1{font-size:22px;color:#fff;margin-bottom:6px;line-height:1.4}
.hero-card p{font-size:13px;color:#a7f3d0;margin-bottom:14px}
.hero-card .hero-btn{display:inline-block;background:#0e9f6e;color:#fff;padding:10px 18px;border-radius:8px;font-size:13px;font-weight:600}

/* ===== 文章/攻略 ===== */
.page-header{background:#0b3d2e;color:#fff;padding:26px 0 18px}
.page-header .wrap h1{font-size:20px;color:#fff;margin-bottom:4px}
.page-header .wrap .breadcrumb{font-size:12px;color:#94d9bd}
.page-header .wrap .breadcrumb a{color:#a7f3d0}
.article-card{background:#fff;border-radius:12px;padding:16px;border:1px solid #e5ece8;margin-bottom:12px;display:flex;gap:14px;align-items:flex-start}
.article-card .thumb{width:92px;height:92px;border-radius:10px;background:#d1d5db;flex-shrink:0;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:11px}
.article-card .thumb img{width:100%;height:100%;object-fit:cover}
.article-card h3{font-size:15px;color:#0b3d2e;margin-bottom:4px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.article-card p{font-size:12px;color:#6b7280;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.article-meta{font-size:11px;color:#9ca3af;margin-top:6px}
.tag{display:inline-block;background:#e7f6ef;color:#0e9f6e;font-size:11px;padding:2px 8px;border-radius:20px;margin-right:6px}

/* ===== 文章详情 ===== */
.article-detail{background:#fff;border-radius:12px;padding:20px;border:1px solid #e5ece8;line-height:1.85;font-size:15px;color:#1f2937}
.article-detail h2{font-size:19px;margin:24px 0 10px;color:#0b3d2e;padding-bottom:8px;border-bottom:1px solid #eef5f1}
.article-detail h3{font-size:16px;margin:18px 0 8px;color:#334155}
.article-detail p{margin-bottom:14px}
.article-detail ul,.article-detail ol{padding-left:20px;margin-bottom:14px}
.article-detail li{margin-bottom:6px}
.article-detail img{max-width:100%;border-radius:8px;margin:14px 0}
.article-detail .book-link{display:block;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:12px 14px;margin:10px 0;font-size:13px;font-weight:600;color:#2563eb}
.article-detail .book-link span{font-weight:400;color:#64748b;font-size:12px}

/* ===== 相关内链 ===== */
.related{margin-top:20px}
.related h3{font-size:14px;color:#0b3d2e;margin-bottom:10px;font-weight:700}
.related a{display:block;background:#fff;border:1px solid #e5ece8;border-radius:8px;padding:10px 14px;margin-bottom:8px;font-size:13px;color:#0e9f6e}

/* ===== 工具表单 ===== */
.tool-form label{display:block;font-size:13px;color:#334155;font-weight:600;margin:14px 0 6px}
.tool-form select,.tool-form input[type=text],.tool-form input[type=number]{width:100%;padding:11px 12px;border:1.5px solid #d1d5db;border-radius:8px;font-size:14px;background:#fff;color:#1f2937}
.tool-form select:focus,.tool-form input:focus{outline:none;border-color:#0e9f6e}
.tool-form small{color:#9ca3af;font-size:12px}
.btn{display:block;width:100%;padding:13px;border-radius:9px;font-size:15px;font-weight:700;cursor:pointer;border:none;text-align:center;margin-top:18px;transition:all .12s}
.btn-primary{background:#0e9f6e;color:#fff}
.btn-primary:hover{background:#07915f}
.btn-outline{background:#fff;color:#0e9f6e;border:1.5px solid #0e9f6e}

/* ===== 方案对比 ===== */
.plan{background:#fff;border-radius:12px;border:1px solid #e5ece8;margin-bottom:16px;overflow:hidden}
.plan-head{background:#0b3d2e;color:#fff;padding:12px 16px;display:flex;justify-content:space-between;align-items:center}
.plan-head b{font-size:15px}
.plan-head span{font-size:12px;color:#34d399}
.plan-body{padding:16px}
.plan-body .budget-row{display:flex;justify-content:space-between;font-size:13px;padding:7px 0;border-bottom:1px dashed #eef5f1}
.plan-body .budget-row span{color:#6b7280}
.plan-body .budget-row b{color:#0e9f6e}

/* ===== 底部 ===== */
.page-footer{background:#0a3226;color:#94c9b4;padding:26px 0 22px;margin-top:24px;border-top:1px solid #0e4a37}
.page-footer .wrap{text-align:center;font-size:12px}
.page-footer .slogan{color:#a7f3d0;font-size:13px;font-weight:600;margin-bottom:10px}
.page-footer .links{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-bottom:10px}
.page-footer .links a{color:#94d9bd}
.page-footer .links a:hover{color:#fff}
.page-footer .copyright{color:#6ea08c;font-size:11px}

/* ===== 通用工具类 ===== */
.text-center{text-align:center}
.mt-4{margin-top:4px}.mt-8{margin-top:8px}.mt-12{margin-top:12px}.mt-16{margin-top:16px}
.btn-inline{display:inline-block;width:auto;padding:10px 18px}

/* 晒照墙 2列网格 */
.shots-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.article-detail h2{font-size:17px;color:#0b3d2e;margin:18px 0 8px;padding-bottom:6px;border-bottom:1px solid #eef5f1}
.article-detail p{font-size:14px;line-height:1.8;color:#374151;margin:8px 0}
.article-detail li{font-size:14px;line-height:1.7;color:#374151}
.article-detail ul{margin:8px 0;padding-left:20px}
.related{margin-top:18px;padding:14px;background:#fff;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.related h3{font-size:15px;color:#0b3d2e;margin-bottom:8px}
.related a{display:block;font-size:13px;color:#2563eb;padding:5px 0;border-bottom:1px dashed #eef5f1;text-decoration:none}
.related a:last-child{border-bottom:none}
.book-link{margin-top:14px;padding:12px 14px;background:#e7f6ef;border-radius:10px;font-size:14px;color:#0b3d2e}
.book-link a{color:#0e9f6e;font-weight:700;text-decoration:none}

/* 首页工具 2x2 格子 */
.tool-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px}
.tool-item{background:#fff;border:1px solid #e5ece8;border-radius:12px;padding:16px 12px;text-align:center;text-decoration:none}
.tool-icon{font-size:26px}
.tool-name{font-size:14px;font-weight:700;color:#0b3d2e;margin-top:6px}
.tool-desc{font-size:11px;color:#6b7280;margin-top:4px;line-height:1.4}
.more-link{display:block;text-align:center;font-size:13px;color:#2563eb;text-decoration:none;padding:10px 0 2px}
/* 目的地网格 */
.dest-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.dest-item{text-decoration:none;border-radius:10px;overflow:hidden;position:relative;display:block}
.dest-img{height:90px;background-size:cover;background-position:center}
.dest-name{position:absolute;left:0;right:0;bottom:0;padding:20px 10px 6px;color:#fff;font-size:13px;font-weight:700;background:linear-gradient(transparent,rgba(0,0,0,.55))}
.dest-name small{font-weight:400;font-size:11px;opacity:.85;margin-left:4px}

/* ===== 攻略互动区 ===== */
.interact-title{font-size:15px;font-weight:700;color:#333}
.btn-share{display:inline-block;padding:8px 16px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:#374151;font-size:13px;text-decoration:none;transition:.15s}
.btn-share:hover{border-color:#2563eb;color:#2563eb}
.star-btn{background:none;border:none;font-size:26px;line-height:1;color:#d1d5db;cursor:pointer;padding:0 1px;transition:.12s}
.star-btn:hover{color:#f59e0b;transform:scale(1.15)}
.rating-num{display:inline-flex;align-items:baseline;gap:4px}
.flash-msg{background:#f0fdf4;border:1px solid #bbf7d0;padding:8px 12px;border-radius:8px}
/* 会员等级徽章 */
.lv-badge{display:inline-block;margin-left:6px;font-size:11px;font-weight:700;border-radius:99px;padding:1px 8px;line-height:1.6;white-space:nowrap}
.lv1{background:#f1f5f9;color:#64748b;border:1px solid #e2e8f0}
.lv2{background:#e0f2fe;color:#0369a1;border:1px solid #bae6fd}
.lv3{background:#dcfce7;color:#15803d;border:1px solid #bbf7d0}
.lv4{background:#ffedd5;color:#c2410c;border:1px solid #fed7aa}
.lv5{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#3b2f0b;border:1px solid #f59e0b}
