:root {
  --brand: #7f1d1d;
  --brand-2: #b45309;
  --brand-dark: #3f0d12;
  --gold: #d6a756;
  --ink: #18212f;
  --muted: #667085;
  --surface: #ffffff;
  --soft: #f8f5f1;
  --line: #e8e2da;
  --success: #166534;
  --radius: 18px;
  --shadow: 0 20px 55px rgba(65, 36, 24, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fbfaf8; font-family: Inter, Arial, "Microsoft YaHei", sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.site-header { background: linear-gradient(135deg, #fff 0%, #fffaf3 100%); border-bottom: 1px solid rgba(127,29,29,.08); }
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.logo { width: 62px; height: 62px; object-fit: contain; filter: drop-shadow(0 9px 14px rgba(127,29,29,.16)); }
.brand-copy { display: grid; min-width: 0; }
.brand-copy strong { color: var(--brand-dark); font-size: clamp(18px, 2vw, 24px); line-height: 1.25; letter-spacing: .02em; }
.brand-copy small { color: #9a6a46; letter-spacing: .16em; font-weight: 700; font-size: 11px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-switch { display: flex; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px; }
.language-switch a { padding: 6px 11px; border-radius: 999px; font-size: 13px; color: var(--muted); }
.language-switch a.active { background: var(--brand); color: #fff; }
.header-button { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 9px 20px rgba(127,29,29,.16); }
.header-button.secondary { color: var(--brand); background: #fff; border: 1px solid #ead7ca; box-shadow: none; }
.main-nav { position: sticky; top: 0; z-index: 50; background: linear-gradient(90deg, #481018, #7f1d1d 42%, #9a3412); box-shadow: 0 8px 25px rgba(63,13,18,.18); }
.nav-row { min-height: 54px; display: flex; align-items: stretch; gap: 2px; }
.nav-group { position: relative; display: flex; }
.nav-item, .nav-more { display: flex; align-items: center; gap: 7px; padding: 0 14px; color: rgba(255,255,255,.88); font-weight: 700; font-size: 14px; border: 0; background: transparent; cursor: pointer; white-space: nowrap; }
.nav-item:hover, .nav-item.active, .nav-more:hover { color: #fff; background: rgba(255,255,255,.12); }
.nav-home-icon { font-size: 18px; }
.nav-dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; padding: 8px; background: #fff; border-radius: 0 0 14px 14px; box-shadow: var(--shadow); }
.nav-dropdown a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--ink); font-size: 14px; }
.nav-dropdown a:hover { background: #fff5ed; color: var(--brand); }
.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown { display: block; }
.nav-group.nav-overflow { display: none; }
.nav-row.expanded .nav-group.nav-overflow { display: flex; }
.flash-stack { padding-top: 16px; }
.flash { border-radius: 12px; padding: 12px 15px; font-weight: 700; }
.flash-success { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.flash-error { background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
.home-hero { background: radial-gradient(circle at 82% 12%, rgba(214,167,86,.38), transparent 30%), linear-gradient(135deg, #3a0a12 0%, #7f1d1d 52%, #9a3412 100%); color: #fff; overflow: hidden; }
.home-hero .container { min-height: 390px; display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 40px; position: relative; }
.hero-content { padding: 68px 0; }
.hero-badge, .eyebrow { display: inline-block; color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 900; }
.hero-content h1 { max-width: 760px; margin: 14px 0; font-size: clamp(34px, 5vw, 64px); line-height: 1.12; letter-spacing: -.025em; }
.hero-content > p { max-width: 760px; color: rgba(255,255,255,.78); font-size: 17px; }
.hero-mark { justify-self: end; display: grid; justify-items: center; color: rgba(255,255,255,.76); text-align: center; }
.hero-mark img { width: 170px; filter: drop-shadow(0 22px 30px rgba(0,0,0,.22)); }
.hero-mark strong { margin-top: 12px; font-size: 28px; letter-spacing: .18em; }
.hero-mark span { font-size: 10px; letter-spacing: .18em; }
.search-bar { margin-top: 30px; max-width: 760px; display: flex; background: #fff; border-radius: 16px; padding: 7px; box-shadow: 0 20px 45px rgba(0,0,0,.18); }
.search-bar input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 13px 15px; border-radius: 10px; color: var(--ink); }
.search-bar button { border: 0; border-radius: 11px; padding: 0 23px; background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; font-weight: 900; cursor: pointer; }
.page-stack { display: grid; gap: 34px; padding-top: 34px; }
.section-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: 0 12px 38px rgba(48,28,20,.055); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.section-heading h2 { margin: 3px 0 0; font-size: clamp(24px, 3vw, 34px); color: #2f1720; }
.categories-section { margin-top: -2px; }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.category-card { min-height: 154px; padding: 18px 12px; border: 1px solid #eadfd4; border-radius: 16px; display: grid; justify-items: center; align-content: center; gap: 9px; text-align: center; background: linear-gradient(180deg, #fff, #fffaf5); transition: .25s ease; }
.category-card:hover { transform: translateY(-5px); border-color: #d9b98d; box-shadow: 0 18px 32px rgba(91,50,27,.11); }
.category-card img, .category-icon { width: 54px; height: 54px; object-fit: contain; }
.category-card strong { line-height: 1.35; font-size: 14px; color: #4b2025; }
.category-card span:last-child { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.ad img { width: 100%; height: 100%; object-fit: cover; }
.ad-wide { aspect-ratio: 5.6 / 1; min-height: 135px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.ad-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ad-square { aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 28px rgba(53,29,18,.09); }
.carousel { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.carousel-track { position: relative; aspect-ratio: 3.2 / 1; min-height: 240px; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease; pointer-events: none; }
.carousel-slide.active { opacity: 1; pointer-events: auto; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.55); cursor: pointer; }
.carousel-dots button.active { width: 26px; background: #fff; }
.post-list { display: grid; gap: 13px; }
.post-list-item { position: relative; display: grid; grid-template-columns: 190px 1fr 34px; gap: 19px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: .22s ease; }
.post-list-item:hover { transform: translateY(-2px); border-color: #d9c0ae; box-shadow: 0 15px 30px rgba(46,27,19,.08); }
.post-image-wrap { display: block; overflow: hidden; border-radius: 12px; background: #f3ede7; }
.post-thumb { width: 100%; height: 126px; object-fit: cover; transition: transform .35s ease; }
.post-list-item:hover .post-thumb { transform: scale(1.025); }
.post-thumb.placeholder { display: grid; place-items: center; color: #9b6d52; font-weight: 900; font-size: 24px; }
.post-list-content { min-width: 0; }
.post-kicker { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--brand); font-size: 12px; font-weight: 900; }
.badge { padding: 3px 8px; border-radius: 999px; font-size: 10px; }
.badge.pinned { color: #92400e; background: #fef3c7; }
.badge.featured { color: #991b1b; background: #fee2e2; }
.post-list-item h3 { margin: 7px 0; font-size: clamp(17px, 2vw, 21px); line-height: 1.4; }
.post-list-item h3 a:hover { color: var(--brand); }
.post-list-item p { margin: 0 0 9px; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; gap: 15px; flex-wrap: wrap; color: #8a7465; font-size: 12px; }
.post-arrow { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff4ea; color: var(--brand); font-size: 27px; }
.premium-list .post-list-item:first-child { border-color: #d6b57f; background: linear-gradient(90deg, #fffdf9, #fff8ef); }
.latest-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 24px; align-items: start; }
.message-cta { position: sticky; top: 75px; border-radius: 18px; padding: 28px; color: #fff; background: radial-gradient(circle at 100% 0, rgba(214,167,86,.36), transparent 30%), linear-gradient(155deg, #4a1018, #8b221c); box-shadow: var(--shadow); }
.message-cta img { width: 82px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,.17); border-radius: 22px; filter: drop-shadow(0 12px 20px rgba(0,0,0,.22)); opacity: 1; }
.message-cta span { color: var(--gold); font-weight: 900; font-size: 12px; letter-spacing: .13em; }
.message-cta h3 { font-size: 17px; line-height: 1.65; }
.message-cta a { display: inline-block; margin-top: 8px; padding: 10px 14px; border-radius: 10px; color: #4a1018; background: #fff; font-weight: 900; }
.empty-state { padding: 42px; text-align: center; border: 1px dashed #d8c8bc; border-radius: 16px; color: var(--muted); background: #fffaf7; }
.inner-hero { padding: 48px 0; color: #fff; background: radial-gradient(circle at 85% 10%, rgba(214,167,86,.33), transparent 28%), linear-gradient(115deg, #451018, #7f1d1d 65%, #9a3412); }
.inner-hero h1 { margin: 7px 0 0; font-size: clamp(30px, 4vw, 48px); }
.inner-hero p { max-width: 760px; color: rgba(255,255,255,.8); }
.inner-page { padding-top: 34px; padding-bottom: 20px; }
.subcategory-row { display: flex; flex-wrap: wrap; gap: 10px; }
.subcategory-row a { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--brand); font-weight: 800; }
.compact-search { margin: 0 0 20px; max-width: none; border: 1px solid var(--line); box-shadow: none; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.detail-card { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.detail-card h1 { margin: 15px 0; font-size: clamp(28px, 4.3vw, 48px); line-height: 1.25; color: #321820; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 13px; }
.detail-meta a { color: var(--brand); font-weight: 900; }
.detail-summary { padding-left: 18px; border-left: 4px solid var(--gold); color: #6c5d53; font-size: 17px; }
.detail-hero { width: 100%; max-height: 650px; object-fit: cover; border-radius: 15px; margin: 28px 0; }
.detail-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 24px 0; }
.detail-facts div { padding: 15px; border-radius: 12px; background: #fff8f0; border: 1px solid #f1dfca; }
.detail-facts span { display: block; color: var(--muted); font-size: 12px; }
.detail-facts strong { display: block; margin-top: 4px; color: #4a1c24; font-size: 14px; overflow-wrap: anywhere; }
.rich-content { color: #2b3441; font-size: 17px; overflow-wrap: anywhere; }
.rich-content h2, .rich-content h3 { color: #3f1720; margin-top: 1.5em; }
.rich-content p { margin: 0 0 1em; }
.rich-content blockquote { margin: 1.2em 0; padding: 14px 18px; border-left: 4px solid var(--gold); background: #fff9f0; color: #695447; }
.rich-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 18px auto; }
.rich-content table { width: 100%; border-collapse: collapse; }
.rich-content th, .rich-content td { padding: 9px; border: 1px solid var(--line); }
.rich-content a { color: #1d4ed8; text-decoration: underline; }
.detail-gallery { display: grid; gap: 16px; margin-top: 30px; }
.detail-gallery img { width: 100%; border-radius: 14px; }
.detail-side { display: grid; gap: 18px; position: sticky; top: 74px; }
.side-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 28px rgba(40,24,18,.06); }
.side-card h3 { margin: 5px 0 12px; }
.side-card > a { color: var(--brand); font-weight: 900; }
.side-card.related > a { display: grid; padding: 12px 0; border-top: 1px solid var(--line); }
.side-card.related > a:first-of-type { border-top: 0; }
.side-card.related strong { font-size: 14px; }
.side-card.related small { color: var(--muted); }
.message-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 26px; align-items: start; }
.message-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px,4vw,40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.message-form label { display: grid; gap: 7px; color: #4a2930; font-weight: 800; }
.message-form input, .message-form textarea { width: 100%; border: 1px solid #d9cec4; border-radius: 11px; padding: 12px 13px; background: #fffdfa; outline: 0; }
.message-form input:focus, .message-form textarea:focus { border-color: #b77946; box-shadow: 0 0 0 3px rgba(183,121,70,.12); }
.span-2 { grid-column: 1 / -1; }
.captcha-field { display: flex; align-items: end; gap: 15px; }
.captcha-field > label { flex: 1; }
.captcha-box { display: flex; align-items: center; gap: 10px; }
.captcha-box img { width: 196px; height: 58px; border: 1px solid #eadfd4; border-radius: 12px; }
.captcha-box button { border: 0; background: transparent; color: var(--brand); font-weight: 800; cursor: pointer; }
.submit-button { margin-top: 22px; border: 0; border-radius: 12px; padding: 13px 22px; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); font-weight: 900; cursor: pointer; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.message-info { color: #fff; border-radius: var(--radius); padding: 30px; background: radial-gradient(circle at 90% 0, rgba(214,167,86,.35), transparent 30%), linear-gradient(160deg, #3f1016, #7f1d1d); box-shadow: var(--shadow); }
.message-info img { width: 105px; border: 1px solid rgba(255,255,255,.17); border-radius: 27px; filter: drop-shadow(0 14px 24px rgba(0,0,0,.24)); }
.message-info h2 { font-size: 34px; margin-bottom: 0; }
.message-info p { color: rgba(255,255,255,.72); }
.message-info div { display: grid; margin-top: 20px; }
.message-info strong { color: var(--gold); font-size: 11px; letter-spacing: .16em; }
.message-info a { overflow-wrap: anywhere; }
.notice-state { margin-top: 50px; }
.notice-state a { color: var(--brand); font-weight: 900; }
.site-footer { margin-top: 54px; padding: 54px 0 22px; color: #d7d4d0; background: radial-gradient(circle at 12% 0, rgba(180,83,9,.16), transparent 28%), #171315; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr 1.25fr; gap: 38px; }
.footer-grid h2 { color: #fff; font-size: 17px; }
.footer-grid p { color: #bdb7b2; font-size: 14px; }
.footer-grid a { color: #fff; }
.footer-logo { width: 76px; border: 1px solid rgba(255,255,255,.12); border-radius: 21px; filter: drop-shadow(0 12px 20px rgba(0,0,0,.28)); opacity: 1; }
.copyright { margin-top: 30px; padding-top: 20px; border-top: 1px solid #332c2f; color: #8f8985; font-size: 13px; }
@media (max-width: 1050px) {
  .category-grid { grid-template-columns: repeat(3,1fr); }
  .ad-grid { grid-template-columns: repeat(3,1fr); }
  .latest-layout, .detail-layout, .message-layout { grid-template-columns: 1fr; }
  .message-cta, .detail-side { position: static; }
  .detail-side { grid-template-columns: 1fr 1fr; }
  .nav-row { overflow-x: auto; }
  .nav-group.nav-overflow { display: flex; }
  .nav-more { display: none; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 22px, 1180px); }
  .header-inner { padding: 13px 0; align-items: flex-start; flex-direction: column; }
  .header-actions { width: 100%; flex-wrap: wrap; }
  .header-button { padding: 8px 11px; }
  .logo { width: 52px; height: 52px; }
  .home-hero .container { grid-template-columns: 1fr; min-height: 0; }
  .hero-content { padding: 54px 0; }
  .hero-mark { display: none; }
  .search-bar { flex-direction: column; }
  .search-bar button { min-height: 46px; }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .ad-grid { grid-template-columns: repeat(2,1fr); }
  .ad-wide { aspect-ratio: 2.6/1; min-height: 120px; }
  .carousel-track { aspect-ratio: 1.8/1; min-height: 190px; }
  .post-list-item { grid-template-columns: 110px 1fr; gap: 13px; }
  .post-arrow { display: none; }
  .post-thumb { height: 105px; }
  .post-list-item p { -webkit-line-clamp: 1; }
  .post-meta span:not(:first-child) { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .captcha-field { align-items: stretch; flex-direction: column; }
  .captcha-box { align-items: flex-start; flex-direction: column; }
  .detail-facts { grid-template-columns: 1fr; }
  .detail-side { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-dropdown { position: fixed; left: 10px; right: 10px; min-width: auto; }
}
@media (max-width: 420px) {
  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-card { min-height: 135px; }
  .post-list-item { grid-template-columns: 92px 1fr; padding: 10px; }
  .post-thumb { height: 96px; }
  .post-list-item h3 { font-size: 15px; }
}
