/* ============================================
   PetEntry — clean clean theme
   公共样式表：LECMS模板 + route/index.php 共用
   部署位置：/static/css/petporter.css
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Space+Grotesk:wght@500;600;700&display=swap');

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

body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  background:#fff;
  background-image:linear-gradient(180deg,#e8f7f0 0%,#f3fcf7 42%,#fbfefd 72%,#fff 100%);
  background-attachment:fixed;
  color:#14201a;line-height:1.6;font-size:16px;
  -webkit-font-smoothing:antialiased;
}
a{color:#16694a;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%}
.container{max-width:1020px;margin:0 auto;padding:0 24px}

/* ---------- header (frosted glass, PAWPORT-style) ---------- */
.site-header{position:sticky;top:0;z-index:300;background:rgba(246,247,243,.82);backdrop-filter:blur(16px) saturate(1.5);-webkit-backdrop-filter:blur(16px) saturate(1.5);border-bottom:1px solid #e2e7df}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:72px;gap:34px}
.logo{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9rem;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:#14201a;display:inline-flex;align-items:center;text-decoration:none;white-space:nowrap}
.logo .accent{color:#16694a}
.logo-box{width:28px;height:28px;flex:none;position:relative;border-radius:9px;background:#16694a;display:grid;place-items:center;transition:transform .5s cubic-bezier(.22,1,.36,1),background .3s;box-shadow:0 2px 8px -2px rgba(22,105,74,.4);margin-right:11px}
.logo-box::after{content:'';width:9px;height:9px;border-radius:50%;background:#fff}
.logo:hover .logo-box{transform:rotate(-90deg) scale(1.06);background:#0f5238}
.logo:hover{text-decoration:none}
.nav{display:flex;gap:28px}
.nav-link{color:#4e5f56;font-size:14px;font-weight:500;position:relative;padding:6px 0}
.nav-link:hover{color:#14201a;text-decoration:none}
.nav-link::after{content:'';position:absolute;left:0;bottom:0;width:0;height:2px;border-radius:2px;background:#16694a;transition:width .4s cubic-bezier(.22,1,.36,1)}
.nav-link:hover::after,.nav-link.active::after{width:100%}
.nav-link.active{color:#16694a;font-weight:600}
.cta-btn,.btn-primary{background:#16694a;color:#fff!important;padding:10px 20px;border-radius:99px;font-size:14px;font-weight:600;white-space:nowrap;border:none;cursor:pointer;display:inline-block;box-shadow:0 2px 8px -3px rgba(22,105,74,.45);transition:transform .3s cubic-bezier(.22,1,.36,1),background .3s}
.cta-btn:hover,.btn-primary:hover{background:#0f5238;transform:translateY(-1px);text-decoration:none}

/* ---------- hero / home (soft grid + glow) ---------- */
.hero{position:relative;padding:64px 0 48px;overflow:hidden}
.hero::before{content:'';position:absolute;top:-320px;left:50%;transform:translateX(-50%);width:1100px;height:780px;pointer-events:none;background:radial-gradient(ellipse at center,rgba(22,105,74,.10),transparent 66%)}
.hero::after{content:'';position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(20,32,26,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(20,32,26,.045) 1px,transparent 1px);background-size:84px 84px;mask-image:radial-gradient(ellipse 70% 58% at 50% 22%,#000,transparent 74%);-webkit-mask-image:radial-gradient(ellipse 70% 58% at 50% 22%,#000,transparent 74%)}
.hero > .container{position:relative;z-index:1}
.hero .eyebrow{display:inline-flex;align-items:center;gap:10px;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:12px;font-weight:500;color:#16694a;letter-spacing:1.5px;margin-bottom:16px}
.hero .eyebrow::before{content:'';width:7px;height:7px;border-radius:50%;background:#16694a}
.hero h1{font-size:42px;line-height:1.1;font-weight:700;letter-spacing:-1.5px;margin-bottom:18px;text-wrap:balance}
.hero h1 em{font-style:normal;color:#16694a}
.hero-sub{font-size:16px;color:#4e5f56;max-width:620px;margin-bottom:36px;line-height:1.75}
.updated-note{font-size:12px;color:#94a3b8;margin-top:18px;letter-spacing:.3px}

/* route form (rf-grid + route-foot, PAWPORT-style) */
.route-form{position:relative;margin-top:44px;background:#fff;border:1px solid #e2e7df;border-radius:22px;padding:14px;box-shadow:0 24px 60px -24px rgba(20,32,26,.22)}
.rf-grid{display:grid;grid-template-columns:1fr 54px 1fr;gap:8px;align-items:stretch}
.rf-field{display:flex;flex-direction:column;gap:8px;background:#f4f6f1;border:1px solid transparent;border-radius:12px;padding:16px 20px 18px;transition:border-color .28s,background .28s,box-shadow .28s}
.rf-field:hover{background:#eff2ec;border-color:#e2e7df}
.rf-field:focus-within{border-color:#16694a;background:#fff;box-shadow:0 0 0 3px rgba(22,105,74,.08)}
.rf-field label,.rf-pet label{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:.64rem;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:#8a9990}
.rf-field select{border:0;background:transparent url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238a9990' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;font-family:inherit;font-size:1.15rem;font-weight:600;color:#14201a;cursor:pointer;outline:none;width:100%;-webkit-appearance:none;appearance:none;height:32px;padding-right:30px}
.rf-swap{align-self:center;justify-self:center;width:46px;height:46px;display:grid;place-items:center;background:#fff;border:1px solid #e2e7df;border-radius:50%;color:#4e5f56;cursor:pointer;font-size:18px;box-shadow:0 1px 2px rgba(20,32,26,.05);transition:transform .5s cubic-bezier(.22,1,.36,1),background .28s,color .28s,border-color .28s}
.rf-swap:hover{background:#16694a;color:#fff;border-color:#16694a}
.route-foot{display:flex;align-items:flex-end;gap:14px;padding:12px 8px 4px;flex-wrap:wrap}
.via-block{display:flex;flex-direction:column;gap:2px;min-width:250px;flex:1;max-width:380px}
.via-toggle{display:inline-flex;align-items:center;gap:9px;font-size:13px;font-weight:500;color:#4e5f56;cursor:pointer;user-select:none;padding:6px 0 2px}
.via-toggle input{width:16px;height:16px;accent-color:#16694a;cursor:pointer;margin:0}
.via-wrap{display:none}
.via-wrap.open{display:block;animation:viaIn .3s cubic-bezier(.22,1,.36,1) both}
@keyframes viaIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.via-select{border:1px solid #d1d5db;border-radius:10px;padding:11px 34px 11px 12px;background:#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238a9990' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;font-size:14px;color:#14201a;cursor:pointer;width:100%;height:46px;-webkit-appearance:none;appearance:none}
.rf-pet{display:flex;flex-direction:column;gap:8px}
.rf-pet-opts{display:inline-flex;gap:4px;background:#f4f6f1;border-radius:99px;padding:4px}
.pet-opt{padding:9px 20px;border:none;background:transparent;border-radius:99px;font-size:.82rem;font-weight:500;color:#4e5f56;cursor:pointer;transition:background .28s,color .28s}
.pet-opt.active{background:#fff;color:#14201a;box-shadow:0 1px 2px rgba(20,32,26,.05)}
.rf-go{margin-left:auto;padding:14px 26px;border-radius:99px;font-size:.9rem}
.rf-via-note{font-size:11px;color:#8a9990;margin:4px 8px 2px;max-width:60ch}

/* ---------- pagination (dynamic pages) ---------- */
.pg-bar{display:flex;gap:6px;justify-content:center;margin:28px 0 8px;flex-wrap:wrap}
.pg-btn{padding:7px 14px;border:1px solid #e2e8f0;border-radius:7px;background:#fff;color:#475569;font-size:13px;font-weight:600;cursor:pointer}
.pg-btn:hover{border-color:#0f766e;color:#0f766e}
.pg-btn.active{background:#0f766e;color:#fff;border-color:#0f766e}
.pg-btn:disabled{opacity:.45;cursor:default}

/* ---------- popular routes ---------- */
.popular{padding:24px 0 64px}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:24px}
.sec-head h2{font-size:24px;font-weight:700;letter-spacing:-.5px}
.sec-head p{color:#64748b;font-size:14px;margin-top:4px}
.all-link{font-size:13px;font-weight:700;color:#0f766e;letter-spacing:.5px}
.route-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.route-card{border:1px solid #e2e8f0;border-radius:12px;padding:20px;display:block;background:#fff;transition:box-shadow .15s,border-color .15s}
.route-card:hover{box-shadow:0 4px 14px rgba(15,23,42,.07);border-color:#0f766e;text-decoration:none}
.rc-top{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:#334155;margin-bottom:10px;flex-wrap:wrap}
.rc-arrow{color:#94a3b8;margin:0 2px}
.rc-title{font-size:16px;font-weight:700;color:#0f172a;margin-bottom:6px}
.rc-sum{font-size:13px;color:#64748b;margin-bottom:14px}
.rc-meta{display:flex;align-items:center;gap:10px}
.rc-date{font-size:12px;color:#94a3b8}

/* ---------- shared bits ---------- */
.flag{width:22px;height:16px;border-radius:3px;object-fit:cover;vertical-align:middle}
.diff{display:inline-block;padding:3px 10px;border-radius:5px;color:#fff;font-size:11px;font-weight:700;letter-spacing:.8px}
.cc-date{font-size:12px;color:#94a3b8}
.muted{color:#64748b;font-size:14px}

/* ---------- country list ---------- */
.list-hero{padding:56px 0 32px;background:#fff}
.list-hero .eyebrow{font-size:12px;font-weight:600;color:#0f766e;letter-spacing:1.5px;margin-bottom:14px}
.list-hero h1{font-size:38px;line-height:1.15;font-weight:800;letter-spacing:-1px;margin-bottom:14px}
.list-hero p{color:#475569;max-width:620px;margin-bottom:28px}

/* ---------- blog list (PAWPORT-style hero) ---------- */
.blog-hero{position:relative;overflow:hidden;background:#fff;padding:30px 0 40px}
.blog-hero::before{content:'';position:absolute;top:-260px;left:50%;transform:translateX(-50%);width:900px;height:640px;pointer-events:none;background:radial-gradient(ellipse at center,rgba(22,105,74,.10),transparent 66%)}
.blog-hero::after{content:'';position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(20,32,26,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(20,32,26,.04) 1px,transparent 1px);background-size:84px 84px;mask-image:radial-gradient(ellipse 70% 55% at 50% 0%,#000,transparent 72%);-webkit-mask-image:radial-gradient(ellipse 70% 55% at 50% 0%,#000,transparent 72%)}
.blog-hero > .container{position:relative;z-index:1}
.blog-hero .breadcrumb{padding:0 0 22px;font-size:11px;font-weight:600;letter-spacing:.8px;color:#94a3b8}
.blog-hero .breadcrumb a{color:#94a3b8}
.blog-hero .breadcrumb a:hover{color:#0f766e}
.blog-hero .breadcrumb span:last-child{color:#334155}
.blog-hero h1{font-size:36px;letter-spacing:-1.2px}
.blog-list{padding:6px 24px 64px}
.list-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#countrySearch{padding:10px 14px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;min-width:220px}
.region-tabs{display:flex;gap:4px;flex-wrap:wrap}
.region-tab,.diff-tab{font-size:13px;font-weight:600;color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:99px;padding:7px 15px;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.region-tab:hover,.diff-tab:hover{border-color:#16694a;color:#16694a}
.region-tab.active,.diff-tab.active{background:#16694a;border-color:#16694a;color:#fff}
.diff-tabs{display:flex;gap:4px;flex-wrap:wrap;margin-top:8px}
.diff-tab{padding:5px 13px;font-size:12px}
.region-tab{padding:7px 14px;border:1px solid #e2e8f0;background:#fff;border-radius:99px;font-size:13px;font-weight:600;color:#475569;cursor:pointer}
.region-tab.active{background:#0f766e;border-color:#0f766e;color:#fff}
.count-badge{font-size:12px;font-weight:700;color:#64748b;letter-spacing:1px;margin-left:auto}
.country-list{display:flex;flex-direction:column;gap:12px;padding:12px 0 64px}
.country-card{display:flex;align-items:center;gap:18px;border:1px solid #e2e8f0;border-radius:12px;padding:16px 20px;background:#fff;transition:border-color .15s,box-shadow .15s}
.country-card:hover{border-color:#0f766e;box-shadow:0 2px 10px rgba(15,23,42,.06);text-decoration:none}
.cc-code{font-size:13px;font-weight:800;color:#0f766e;letter-spacing:1px;width:44px;flex:none;text-align:center;background:#f0fdfa;border-radius:8px;padding:10px 4px}
.cc-body{flex:1;min-width:0}
.cc-title{font-size:17px;font-weight:700;color:#0f172a}
.region-badge{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.6px;color:#6d28d9;background:#f5f3ff;border:1px solid #ddd6fe;border-radius:99px;padding:2px 8px;vertical-align:2px;margin-left:6px}
.cc-meta{font-size:12px;color:#64748b;letter-spacing:.5px;margin:2px 0 6px}
.cc-sum{font-size:13px;color:#475569}
.cc-right{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:none}

/* ---------- detail pages ---------- */
.breadcrumb{font-size:12px;font-weight:600;color:#94a3b8;letter-spacing:.5px;padding:22px 24px 0}
.breadcrumb a{color:#94a3b8}
.breadcrumb a:hover{color:#0f766e}
.breadcrumb span{color:#0f172a}
.detail-head{display:flex;justify-content:space-between;align-items:flex-end;padding:26px 24px 22px;gap:20px;flex-wrap:wrap}
.dh-left{display:flex;align-items:center;gap:18px}
.dh-code{font-size:16px;font-weight:800;color:#0f766e;letter-spacing:1px;background:#f0fdfa;border-radius:10px;padding:14px 12px;text-align:center}
.detail-head h1{font-size:32px;font-weight:800;letter-spacing:-.5px;line-height:1.2}
.dh-right{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.key-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:6px 24px 24px}
.key-card{border:1px solid #e2e8f0;border-radius:10px;padding:16px 18px;background:#fafbfc}
.key-label{font-size:11px;font-weight:700;color:#64748b;letter-spacing:1px;margin-bottom:6px}
.key-value{font-size:15px;font-weight:700;color:#0f172a}

.detail-body{display:grid;grid-template-columns:2fr 1fr;gap:22px;padding:0 24px 64px;align-items:start}
.db-main{display:flex;flex-direction:column;gap:22px;min-width:0}
.db-side{display:flex;flex-direction:column;gap:22px}
.panel{border:1px solid #e2e8f0;border-radius:12px;padding:24px;background:#fff}
.panel h2{font-size:18px;font-weight:700;margin-bottom:14px;letter-spacing:-.2px}
.panel p{font-size:15px;color:#334155}
.side-panel h3{font-size:11px;font-weight:700;color:#64748b;letter-spacing:1.2px;margin-bottom:14px}
.side-row{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #f1f5f9;font-size:14px}
.side-row:last-child{border:none}
.side-row span{color:#64748b}
.side-row strong{color:#0f172a;text-align:right}

.req-row{display:flex;padding:10px 0;border-bottom:1px solid #f1f5f9;font-size:14px;gap:16px}
.req-row:last-child{border-bottom:none}
.req-label{width:170px;flex:none;color:#64748b;font-weight:600;font-size:13px;padding-top:1px}
.req-value{flex:1;color:#1e293b;min-width:0}
.src-link{font-size:13px;color:#0f766e;word-break:break-all}

/* ---------- timeline ---------- */
.timeline{position:relative;padding-left:34px}
.timeline::before{content:'';position:absolute;left:9px;top:6px;bottom:6px;width:2px;background:#e2e8f0}
.tl-item{position:relative;padding-bottom:22px}
.tl-item::before{content:'';position:absolute;left:-30px;top:5px;width:14px;height:14px;border-radius:50%;background:#0f766e;border:2px solid #fff;box-shadow:0 0 0 2px #0f766e}
.tl-item.dep::before{background:#f97316;box-shadow:0 0 0 2px #f97316}
.tl-item.trn::before{background:#8b5cf6;box-shadow:0 0 0 2px #8b5cf6}
.tl-days{font-size:12px;font-weight:700;color:#0f766e;letter-spacing:1px}
.tl-title{font-size:16px;font-weight:600;margin:3px 0 4px}
.tl-detail{font-size:14px;color:#475569}
.layer-tag{display:inline-block;font-size:10px;font-weight:700;padding:2px 8px;border-radius:4px;letter-spacing:.5px;vertical-align:middle;margin-right:6px}
.layer-departure{background:#fff7ed;color:#c2410c}
.layer-destination{background:#f0fdfa;color:#115e59}
.layer-transit{background:#f5f3ff;color:#6d28d9}

/* ---------- transit cards ---------- */
.trn-card{border:1px solid #e2e8f0;border-radius:10px;padding:14px 16px;margin-bottom:12px;background:#fafbfc}
.trn-card:last-child{margin-bottom:0}
.trn-name{font-size:15px;font-weight:700;margin-bottom:8px;display:flex;align-items:center;gap:8px}
.trn-pending{font-size:13px;color:#92400e;margin-top:8px}

/* ---------- warnings ---------- */
.warn-box{border-left:4px solid;border-radius:8px;padding:13px 16px;margin-bottom:12px}
.warn-box p{font-size:14px}
.warn-red{background:#fef2f2;border-color:#dc2626}
.warn-red p{color:#991b1b}
.warn-amber{background:#fffbeb;border-color:#d97706}
.warn-amber p{color:#92400e}
.warn-blue{background:#eff6ff;border-color:#2563eb}
.warn-blue p{color:#1e40af}

/* ---------- LECMS list/global compatibility ---------- */
.detail-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:40px 0}
.detail-header h1{font-size:32px;font-weight:800;letter-spacing:-.5px}
.detail-header .meta{color:#64748b;font-size:14px;margin-top:6px}
.country-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;padding:24px 0 8px}
.country-grid .country-link{display:flex;align-items:center;gap:8px;border:1px solid #e2e8f0;border-radius:10px;padding:12px 16px;color:#0f172a;font-size:14px;font-weight:600;background:#fff}
.country-grid .country-link:hover{border-color:#0f766e;text-decoration:none}
.pagebar{margin:24px 0;text-align:center;display:flex;gap:6px;justify-content:center;flex-wrap:wrap}
.pagebar a,.pagebar span{display:inline-block;padding:6px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:13px;color:#475569}
.pagebar .current,.pagebar span.current{background:#0f766e;color:#fff;border-color:#0f766e}
.faq-item{border:1px solid #e2e8f0;border-radius:10px;padding:18px 20px;margin-bottom:12px}
.faq-item h3{font-size:16px;font-weight:700;margin-bottom:6px}
.faq-item p{font-size:14px;color:#475569}
.share-box{margin:20px 0;display:flex;align-items:center;gap:8px;font-size:13px;color:#64748b}
.share-btn{width:30px;height:30px;border-radius:6px;background:#f1f5f9;color:#475569;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.prev-next{display:flex;justify-content:space-between;gap:16px;margin-top:28px}
.prev-next a{flex:1;border:1px solid #e2e8f0;border-radius:10px;padding:14px 18px;display:block}
.prev-next a:hover{border-color:#0f766e;text-decoration:none}
.prev-next .label{font-size:11px;font-weight:700;color:#64748b;letter-spacing:1px;margin-bottom:4px}
.prev-next .title{font-size:14px;font-weight:600;color:#0f172a}
.disclaimer{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:16px 20px;font-size:13px;color:#64748b;margin-top:24px}

/* ---------- footer ---------- */
.site-footer{background:#fff;border-top:1px solid #e2e8f0;color:#64748b;margin-top:48px;padding:48px 0 0;font-size:14px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr;gap:32px;padding-bottom:36px}
.footer-grid h4{color:#0f172a;font-size:12px;letter-spacing:1.2px;margin-bottom:12px}
.footer-grid a{display:block;color:#475569;margin-bottom:8px;font-size:13px}
.footer-grid a:hover{color:#0f766e}
.f-about p{font-size:13px;line-height:1.7;max-width:260px;color:#64748b}
.f-note{font-size:13px;margin-bottom:10px;color:#64748b}
.newsletter{display:flex;gap:8px}
.newsletter input{flex:1;padding:9px 12px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#0f172a;font-size:13px;min-width:0}
.newsletter input:focus{outline:none;border-color:#0f766e}
.newsletter button{padding:9px 14px;border:none;border-radius:8px;background:#0f766e;color:#fff;font-size:13px;font-weight:600;cursor:pointer}
.f-bottom{border-top:1px solid #e2e8f0;padding:16px 24px;font-size:12px;color:#94a3b8;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}
.f-bottom .back-top{color:#0f766e;font-weight:600;cursor:pointer}

/* ---------- share / report ---------- */
.share-box{margin:18px 0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.share-box .lb{font-size:12px;font-weight:700;color:#64748b;letter-spacing:.8px}
.share-btn{width:32px;height:32px;border-radius:8px;background:#f1f5f9;color:#475569;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;border:1px solid #e2e8f0}
.share-btn:hover{background:#0f766e;color:#fff;border-color:#0f766e;text-decoration:none}
.report-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#64748b;font-size:13px;font-weight:600;cursor:pointer}
.report-btn:hover{border-color:#dc2626;color:#dc2626}

/* ---------- article list / show ---------- */
.post-card{display:block;border:1px solid #e2e8f0;border-radius:14px;padding:22px 24px;background:#fff;transition:border-color .15s,box-shadow .15s,transform .15s;margin-bottom:16px}
.post-card:hover{border-color:#0f766e;box-shadow:0 6px 18px -8px rgba(15,23,42,.10);text-decoration:none;transform:translateY(-1px)}
.post-card .pc-body{min-width:0}
.post-card .pc-title{font-size:18px;font-weight:700;color:#0f172a;margin-bottom:8px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.post-card .pc-title a{color:#0f172a}
.post-card .pc-title a:hover{color:#0f766e;text-decoration:none}
.post-card .pc-intro{font-size:14px;color:#64748b;margin-bottom:12px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.post-card .pc-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:12px;color:#94a3b8}
/* ---------- article (content page) ---------- */
.article-wrap{max-width:760px;margin:0 auto;padding:26px 24px 64px}
.article-h1{font-size:34px;line-height:1.18;font-weight:800;letter-spacing:-.6px;margin-bottom:12px;text-wrap:balance}
.article-meta{display:flex;align-items:center;gap:10px;font-size:13px;color:#94a3b8;margin:0 0 18px}
.article-meta .meta-dot{color:#cbd5e1}
.article-intro{background:#f8fafc;border-color:#e2e8f0;margin:4px 0 26px}
.article-intro p{font-size:15px;line-height:1.7;color:#475569}
/* content elements — 富文本正文的元素外形约束 */
.article-body{font-size:16px;color:#1e293b;line-height:1.8}
.article-body > :first-child{margin-top:0}
.article-body h2{font-size:22px;font-weight:700;color:#14201a;letter-spacing:-.3px;margin:34px 0 14px;padding-bottom:8px;border-bottom:1px solid #eef2f1}
.article-body h3{font-size:18px;font-weight:700;color:#14201a;margin:26px 0 10px}
.article-body h4{font-size:16px;font-weight:700;color:#14201a;margin:22px 0 8px}
.article-body p{font-size:16px;line-height:1.8;color:#334155;margin:0 0 18px}
.article-body p:last-child{margin-bottom:0}
.article-body a{color:#16694a;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.article-body a:hover{color:#0f5238}
.article-body strong{color:#14201a;font-weight:600}
.article-body em{color:#334155}
.article-body ul,.article-body ol{margin:14px 0 20px;padding-left:24px;color:#334155}
.article-body li{margin-bottom:7px;line-height:1.7}
.article-body li::marker{color:#16694a}
.article-body img{max-width:100%;height:auto;border-radius:10px;margin:20px 0;box-shadow:0 2px 8px -3px rgba(15,23,42,.08)}
.article-body table{width:100%;border-collapse:collapse;font-size:14px;margin:20px 0 26px;overflow:hidden;border-radius:10px;display:block;overflow-x:auto}
.article-body th{background:#f0fdfa;color:#115e59;text-align:left;padding:10px 12px;border:1px solid #e2e8f0;font-weight:600;white-space:nowrap}
.article-body td{padding:10px 12px;border:1px solid #e2e8f0;vertical-align:top;color:#334155}
.article-body tbody tr:nth-child(even) td{background:#fafbfc}
.article-body tbody tr:hover td{background:#f0fdfa}
.article-body blockquote{border-left:4px solid #16694a;background:#f4f6f1;padding:14px 18px;margin:20px 0;border-radius:0 10px 10px 0;color:#334155;font-size:15px;line-height:1.7}
.article-body blockquote p{margin-bottom:0}
.article-body code{background:#f1f5f9;color:#0f5238;padding:2px 6px;border-radius:5px;font-size:.88em;font-family:'JetBrains Mono',ui-monospace,monospace}
.article-body pre{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:16px 18px;overflow-x:auto;margin:20px 0;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:13px;line-height:1.6}
.article-body pre code{background:none;padding:0;color:#334155}
.article-body hr{border:none;border-top:1px solid #e2e8f0;margin:30px 0}
.tag-list{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0 6px}
.tag-list a{padding:5px 14px;border:1px solid #e2e8f0;border-radius:99px;font-size:12px;font-weight:600;color:#64748b;background:#f8fafc}
.tag-list a:hover{border-color:#16694a;color:#16694a;background:#f0fdfa;text-decoration:none}

.page404{text-align:center;padding:90px 24px}
.page404 h1{font-size:64px;font-weight:800;color:#0f766e}
.page404 p{color:#64748b;margin:10px 0 24px}

/* ---------- home: explore by region ---------- */
.region-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.region-link{display:flex;align-items:center;gap:10px;border:1px solid #e2e8f0;border-radius:12px;padding:14px 18px;background:#fff;color:#0f172a;font-size:15px;font-weight:600;transition:border-color .15s,box-shadow .15s}
.region-link:hover{border-color:#0f766e;box-shadow:0 2px 10px rgba(15,23,42,.06);text-decoration:none}
/* ---------- home faq ---------- */
.home-faq .faq-item h3{font-size:16px;font-weight:700;color:#0f172a;margin-bottom:6px}
.home-faq .faq-item p{font-size:14px;color:#475569;line-height:1.75}
.home-faq .faq-item a{color:#0f766e;font-weight:600}
/* ---------- related routes (side panels) ---------- */
.rel-panel .rel-link{display:flex;align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid #f1f5f9;font-size:14px;color:#0f172a}
.rel-panel .rel-link:last-of-type{border-bottom:none}
.rel-panel .rel-link:hover{color:#0f766e;text-decoration:none}
.rel-panel .rel-link .flag{width:20px;height:14px;flex:none;border-radius:2px}
.rel-panel .rel-link span{font-weight:600;letter-spacing:.3px}
.rel-panel .rel-more{font-size:12px;font-weight:700;color:#0f766e;margin-top:8px;display:inline-block;letter-spacing:.5px}

/* ---------- responsive ---------- */
@media(max-width:900px){
  .key-cards{grid-template-columns:repeat(2,1fr)}
  .detail-body{grid-template-columns:1fr}
  .db-side{position:static}
  .footer-grid{grid-template-columns:1fr 1fr}
  .hero h1{font-size:32px}
  .list-hero h1{font-size:30px}
  .blog-hero h1{font-size:30px}
  .article-h1{font-size:28px}
  .nav{display:none}
}
@media(max-width:760px){
  .rf-grid{grid-template-columns:1fr;gap:8px}
  .rf-swap{width:40px;height:40px;transform:rotate(90deg);margin:-4px auto}
  .route-foot{flex-direction:column;align-items:stretch}
  .via-block{max-width:none}
  .rf-pet{flex-direction:row;align-items:center;gap:14px}
  .rf-go{margin-left:0;width:100%;justify-content:center}
}
@media(max-width:600px){
  .key-cards{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr}
  .rf-field,.rf-field select{min-width:100%}
  .country-card{flex-wrap:wrap}
  .cc-right{align-items:flex-start;margin-left:62px}
  .post-card{padding:18px 20px}
  .post-card .pc-title{font-size:15px}
  .post-card .pc-intro{-webkit-line-clamp:2}
  .blog-list{padding-left:16px;padding-right:16px}
  .article-wrap{padding-left:18px;padding-right:18px}
  .article-body table{display:block}
  .article-body h2{font-size:20px}
}

/* ---------- home blog section ---------- */
.home-blog{padding:8px 0 64px}
.hb-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.hb-item{border:1px solid #e2e8f0;border-radius:12px;padding:18px 20px;background:#fff;display:block;transition:box-shadow .15s,border-color .15s}
.hb-item:hover{box-shadow:0 4px 14px rgba(15,23,42,.07);border-color:#0f766e;text-decoration:none}
.hb-head{display:flex;justify-content:space-between;font-size:12px;color:#94a3b8;margin-bottom:8px;gap:12px}
.hb-views{flex:none}
.hb-title{font-size:16px;font-weight:700;color:#0f172a;line-height:1.4;margin-bottom:6px}
.hb-intro{font-size:13px;color:#64748b;line-height:1.6;margin:0}
@media(max-width:760px){
  .hb-grid{grid-template-columns:1fr}
}
