* {margin:0;padding:0;border:0;}
body {background-color: #ccc;background-position:center 0;background-repeat:no-repeat;font-family:'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;}
ul,li {list-style:none outside none;}
a {text-decoration:none;}
a:hover {text-decoration:none;}
input,button,select,textarea {outline:none}

.img_width_200{width:200px;}
.img_width_250{width:250px;}
.img_width_300{width:300px;}
.img_width_350{width:350px;}
.img_width_400{width:400px;}
.img_width_450{width:450px;}
.img_width_500{width:500px;}
.img_width_550{width:550px;}
.img_width_600{width:600px;}
.img_width_650{width:650px;}



/*wrapper*/
#wrapper {
    margin: 0 auto;
    width: 762px;
    overflow: hidden;
    margin-top: 10px;
    background: #fff;
    margin-bottom: 15px;
    border-radius: 7px;
}


/*--------header-------*/
#header {margin:0 auto;height:43px;background: #333;background-image:url(../images/nav_bg.jpg);background-repeat-y: no-repeat;}

/*logo*/
#logo {
    display: block;
    float: left;
    overflow: hidden;
    background-color: #efefef;
    width: 120px;
    height: 38px;
    margin-top: 5px;
    border-radius: 3px 3px 0 0;
    margin-left: 5px;
    text-align: center;
    }

#logo img{width: 113px;}



#header-nav{float:left;overflow:hidden;font-size:14px;margin-left:5px;}
#header-nav a{    display: block;
    float: left;
    height: 43px;
    line-height: 43px;
    color: #bdc0cd;
    padding: 0 10px;}
#header-nav a:hover{background:#0b3a64;color:#eee;}
















:root {
  --accent: #B5723C;
  --accent-light: #F0E8DF;
  --gold: #D4A46A;
  --green: #B5723C;
  --green-dark: #26384A;
  --border: #d5d5d5;
  --bg: #F8F4ED;
  --canvas: #F8F4ED;
  --surface: #FFFFFF;
  --white: #FFFFFF;
  --text: #2A221D;
  --text-primary: #2A221D;
  --text-light: #736355;
  --text-secondary: #736355;
  --text-tertiary: #8F8173;
  --shadow: 0 2px 16px rgba(0,0,0,0.06);
}

* { margin:0;padding:0;box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter','Noto Sans SC','PingFang SC','Microsoft YaHei',system-ui,sans-serif;
  background: #d0cfc6;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  padding: 10px 0;
}

.page {
  max-width: 860px;
  margin: 0 auto;
  background: var(--canvas);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* ===== Header ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  height: 50px;
  background: #26384A;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.header-logo img {
  width: 28px; height: 28px;
  border-radius: 6px;
  object-fit: cover;
}
.header-logo span {
  font-size: 17px;
  font-weight: 700;
  color: #F2EDE4;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-nav a {
  font-size: 14px;
  color: #A8B5C1;
  text-decoration: none;
  padding: 5px 11px;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.header-nav a:hover,
.header-nav a.active {
  color: #F2EDE4;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.header-nav a.active { font-weight: 600; }

/* User dropdown */
.user-dropdown { position:relative;display:inline-block; }
.user-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}
.user-dropdown-trigger:hover { background: rgba(255,255,255,0.08); }
.user-avatar,.user-avatar-text,.user-avatar-img {
  width: 30px; height: 30px;
  border-radius: 50%;
  object-fit: cover;
}
.user-avatar-text {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4bbd76;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.user-name {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 500;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  min-width: 110px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  z-index: 1000;
}
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  border-radius: 8px;
  white-space: nowrap;
}
.dropdown-menu a:hover { background: #F5F1EB; }
.dropdown-menu a:last-child { color: #DC2626; }
.dropdown-divider { height: 1px; background: #E5DDD3; margin: 4px 0; }
.user-dropdown:hover .dropdown-menu { display: block; }

.btn-accent {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: #4bbd76;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
  line-height: 1.4;
}
.btn-accent:hover { opacity: 0.9; }

/* ===== Main content area ===== */
.main {
  flex: 1;
  
}
.main-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.main-inner h2 {
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--green);
  line-height: 24px;
  padding: 10px 0;
  font-size: 18px;
}

/* ===== Shared components ===== */
.btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.4;
}
.btn-primary,.btn-gold {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.4;
  background: #4bbd76;
  color: #fff;
}
.btn-primary:hover,.btn-gold:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-outline:hover { background: #4bbd76; color: #fff; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-sm { padding: 6px 16px; font-size: 13px; border-radius: 6px; }
.btn-danger { background: #DC2626; color: #fff; }

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  max-width: 440px;
  margin: 35px auto;
  box-shadow: var(--shadow);

}

.form-group { margin-bottom: 10px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #555;
  font-size: 14px;
}
.form-group input,.form-group select,.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  background: #FAFAFA;
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(181,114,60,0.1);
}

.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }
.alert-error { background: #FEE2E2; color: #991B1B; }
.alert-success { background: #D1FAE5; color: #065F46; }

.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-green { background: #D1FAE5; color: #065F46; }
.badge-gold { background: #FEF3C7; color: #92400E; }

.text-center { text-align: center; }
.text-light { color: var(--text-light); }
/* ===== Helper classes ===== */
.text-tip { font-size: 13px; color: var(--text-light); }
.page-title {}
.page-title-center { text-align: center; }
.breadcrumb-link { color: var(--green); text-decoration: none; }
.breadcrumb-h2 { margin-bottom: 20px; }
.btn-mt { margin-top: 16px; }
.flex-gap { display: flex; gap: 12px; }
.pay-status { font-size: 13px; color: var(--text-light); }
.featured-card { text-decoration: none; display: block; }
.btn-slot { margin-left: auto; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 20px; font-size: 13px; font-weight: 600; text-decoration: none; transition: 0.2s; background-color: #fff0e6; border: 1px solid #ffd6b3; color: #d34b09; }
.card-wide { max-width: 600px; }
.card-rich { padding: 36px; }
.card-bottom { margin-bottom: 50px; }
.card-section { padding: 24px 24px 0 24px; background: #fff; }
.feat-card { padding: 24px 20px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(135deg,#fafafa 0%,#f0f0f0 100%); text-decoration: none; color: inherit; cursor: pointer; transition: background 0.3s; }
.feat-card h3 { font-size: 16px; font-weight: 700; color: var(--text); }
.feat-card p { font-size: 12px; line-height: 1.6; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.thumb-placeholder { height: 120px; background: #E5DDD3; display: flex; align-items: center; justify-content: center; border-radius: 8px 8px 0 0; overflow: hidden; }
.thumb-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.resource-card { text-decoration: none; }
.badge-breed { background: #F5E6C8; color: #B8952F; font-size: 11px; }
.badge-male { background: #D6EAF8; color: #2E86C1; font-size: 11px; }
.badge-female { background: #FADBD8; color: #C0392B; font-size: 11px; }
.badge-gray { font-size: 13px; vertical-align: middle; }
.badge-admin { font-size: 13px; vertical-align: middle; }
.hero { display: flex; align-items: center; justify-content: space-between; padding: 0 32px; min-height: 320px; gap: 40px; border-bottom: 1px solid #d5d5d5; }
.hero-left { flex: 0 0 360px; max-width: 360px; display: flex; flex-direction: column; gap: 32px; }
.hero-h1 { font-size: 32px; font-weight: 800; line-height: 1.27; color: #2a221ddb; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-qr { flex: 0 0 200px; max-width: 200px; height: 220px; background: #fff; border: 1px solid var(--border); box-shadow: 0 4px 16px rgba(181,114,60,0.08); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px; gap: 8px; }
.hero-qr img { width: 160px; height: 160px; object-fit: cover; display: block; }
.hero-qr-text { font-size: 13px; font-weight: 500; color: var(--text-secondary); }
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--border); overflow: hidden; }
.resource-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.user-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.user-grid .card { margin: 0 auto; max-width: none; }
.dog-list { display: flex; flex-direction: column; gap: 8px; }
.dog-link { text-decoration: none; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; border: 1px solid var(--border); transition: background 0.15s; color: inherit; }
.dog-link:hover { background: #fafaf8; }
.dog-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.dog-avatar-empty { width: 52px; height: 52px; border-radius: 50%; background: #f5f5f5; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.dog-info { flex: 1; min-width: 0; }
.dog-meta { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.dog-name { font-size: 15px; font-weight: 700; }
.dog-sub { font-size: 12px; color: #999; }
.dog-arrow { color: #ccc; font-size: 18px; }
.subnav { display: flex; gap: 0; padding: 0; margin: 5px; background: #f8f4ed; border: 1px solid #e5e5e5; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; margin-bottom: 24px; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-player { width: 100%; border-radius: 12px; margin-bottom: 24px; }
.download-block { margin-top: 28px; padding: 16px; background: #F5F1EB; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; }
.article-meta { display: flex; gap: 16px; font-size: 13px; color: #999; margin-bottom: 24px; flex-wrap: wrap; }
.article-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.article-title { font-size: 24px; color: #2D5A27; margin: 0; }
.btn-upsell { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; padding: 6px 18px; border-radius: 20px; font-size: 13px; font-weight: 600; text-decoration: none; background: linear-gradient(135deg,var(--accent),#8B572A); color: #fff; box-shadow: 0 2px 8px rgba(181,114,60,0.3); transition: all 0.2s; }
.btn-upsell:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(181,114,60,0.4); }
.dog-free { background: #f0fdf4; border-color: #86efac; cursor: default; }
.dog-free-mark { color: #16a34a; font-size: 16px; }
.dog-free-text { color: #16a34a; font-size: 12px; }
.input-disabled { opacity: 0.6; }
.btn-save { margin-left: 68px; }
.btn-block-center { text-align: center; display: block; margin-top: 12px; }
.accent-link { color: var(--green); font-weight: 600; text-decoration: none; }
.footer p { font-size: 12px; color: #a89d92; height: 30px; line-height: 30px; text-align: center; background: #fff; }
.back-link { color: var(--accent); font-size: 14px; text-decoration: none; }

/* ===== Page-specific heading styles ===== */

/* ===== gly_gl ===== */
.gly_gl {
  position: fixed;
  left: 50%;
  top: 140px;
  width: 100px;
  margin-left: 435px;
  overflow: hidden;
  border: 1px solid #c2b1b1;
  border-top: none;
}
.gly_gl a {
  display: block;
  color: #666;
  font-size: 14px;
  background: #eee;
  border-top: 1px solid #d0d0d0;
  color: #333;
  text-align: center;
  line-height: 43px;
  text-decoration: none;
}
.gly_gl a:hover {
  background: #e5e5e5;
  color: #454545;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  body { padding: 0; }
  .page { border-radius: 0; }
}

@media (max-width: 768px) {
  .gly_gl { display: none; }
  .header { padding: 0 12px; }
  .header-nav { display: none; }
  .main-inner { padding: 0 16px; }
}




