:root{
  --bg:#f7f5ee;
  --fg:#26301c;
  --muted:#6d7458;
  --line:#d8d4c2;
  --accent:#4d7c0f;
  --accent-2:#3f6212;
  --sand:#e9dfc8;
  --terracotta:#b4552d;
  --gap:14px;
  --radius:6px;
  --shadow:0 1px 3px rgba(38,48,28,.14);
  --font:"Segoe UI","Microsoft YaHei",sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
body{
  margin:0;
  font-family:"Segoe UI","Microsoft YaHei",sans-serif;
  font-size:14px;
  line-height:2.0;
  color:var(--fg);
  background:repeating-linear-gradient(0deg,rgba(77,124,15,.035) 0 2px,transparent 2px 5px),var(--bg);
}
img{display:block;max-width:100%;height:auto;border-radius:3px}
a{color:var(--accent-2);text-decoration:none}
p{margin:0 0 10px}
h1,h2,h3{font-family:"Segoe UI","Microsoft YaHei",sans-serif}
.lotterycnqq-nav{
  background:linear-gradient(135deg,#3f6212,#4d7c0f);
  box-shadow:var(--shadow);
  position:sticky;
  top:0;
  z-index:20;
}
.lotterycnqq-navinner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:18px;
  max-width:1120px;
  margin:0 auto;
  padding:8px 20px;
}
.lotterycnqq-logo{
  color:#f3efdf;
  font-size:17px;
  line-height:2.0;
  letter-spacing:1px;
}
.nav-links{display:flex;flex-wrap:wrap;gap:16px;align-items:center}
.nav-links a{
  color:#ffffff;
  font-size:14px;
  line-height:2.0;
  padding:2px 0;
  border-bottom:2px solid transparent;
}
.nav-links a:hover{border-bottom-color:var(--sand);color:#f7f5ee}
.nav-links a:focus-visible{outline:2px solid var(--sand);outline-offset:2px}
.lotterycnqq-page{
  display:flex;
  flex-wrap:wrap;
  max-width:1120px;
  margin:0 auto;
  padding:0 20px 40px;
}
.lotterycnqq-block{flex:1 1 100%;width:100%;margin-bottom:88px}
.lotterycnqq-hero{padding-top:28px}
.lotterycnqq-hero-img{width:128px;height:128px;object-fit:cover;border-radius:3px;box-shadow:var(--shadow)}
.lotterycnqq-h1{
  font-size:30px;
  font-weight:400;
  line-height:1.6;
  margin:14px 0 12px;
  color:var(--accent-2);
}
.lotterycnqq-h2{
  font-size:22px;
  font-weight:400;
  line-height:1.7;
  margin:0 0 12px;
  padding-left:12px;
  border-left:4px solid var(--terracotta);
  color:var(--accent-2);
}
.lotterycnqq-h3{font-size:17px;font-weight:400;margin:0 0 4px;line-height:1.8}
.lotterycnqq-lede{font-size:17px;line-height:2.0;margin:0;color:var(--fg)}
.lotterycnqq-split{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.lotterycnqq-body{flex:1 1 62%;min-width:280px}
.lotterycnqq-aside{
  flex:0 0 30%;
  min-width:200px;
  padding:10px 12px;
  border-left:4px solid var(--accent);
  border-radius:var(--radius);
  background:rgba(233,223,200,.45);
  box-shadow:var(--shadow);
  font-size:14px;
  line-height:2.0;
  color:var(--muted);
}
.lotterycnqq-aside-img{width:88px;height:88px;object-fit:cover;margin-bottom:8px}
.lotterycnqq-cards{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.lotterycnqq-card{
  flex:1 1 calc(25% - 6px);
  min-width:138px;
  padding:8px 10px;
  background:transparent;
  border-left:4px solid var(--accent);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:transform .15s ease,box-shadow .15s ease;
}
.lotterycnqq-card:hover{transform:translateY(-3px);box-shadow:0 4px 10px rgba(38,48,28,.18)}
.lotterycnqq-card:nth-child(even){border-left-color:var(--terracotta)}
.lotterycnqq-card-img{width:72px;height:72px;object-fit:cover;margin-bottom:6px}
.lotterycnqq-card-text{margin:0;font-size:14px;line-height:1.9}
.lotterycnqq-table{width:100%;border-collapse:collapse;margin-top:12px;font-size:14px}
.lotterycnqq-table th,.lotterycnqq-table td{border:1px solid var(--line);padding:6px 8px;text-align:left;line-height:1.8}
.lotterycnqq-table th{background:rgba(77,124,15,.14);font-weight:400;color:var(--accent-2)}
.lotterycnqq-table tr:nth-child(even) td{background:rgba(233,223,200,.4)}
.lotterycnqq-table tbody tr:hover td{background:rgba(77,124,15,.08)}
.lotterycnqq-news{display:flex;flex-direction:column}
.lotterycnqq-news-row{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  padding:14px 0;
  border-bottom:1px solid var(--line);
  transition:background .15s ease;
}
.lotterycnqq-news-row:hover{background:rgba(233,223,200,.5)}
.lotterycnqq-news-date{flex:0 0 112px;font-size:14px;color:var(--muted);line-height:2.0}
.lotterycnqq-news-body{flex:1 1 0;min-width:240px}
.lotterycnqq-news-title{font-size:17px;font-weight:400;margin:0 0 4px;line-height:1.8}
.lotterycnqq-news-title a{color:var(--accent-2)}
.lotterycnqq-news-title a:hover{color:var(--terracotta);text-decoration:underline}
.lotterycnqq-news-sum{margin:0;font-size:14px;line-height:2.0;color:#3a4430}
.lotterycnqq-faq{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch}
.lotterycnqq-faq details{
  flex:1 1 calc(50% - 10px);
  min-width:260px;
  min-height:92px;
  padding:10px 12px;
  border-left:4px solid var(--accent);
  border-radius:var(--radius);
  background:rgba(255,255,255,.62);
  box-shadow:var(--shadow);
}
.lotterycnqq-faq details[open]{border-left-color:var(--terracotta);background:rgba(233,223,200,.5)}
.lotterycnqq-faq summary{cursor:pointer;font-size:17px;line-height:1.8;color:var(--accent-2);list-style:none}
.lotterycnqq-faq summary::-webkit-details-marker{display:none}
.lotterycnqq-faq details[open] summary{color:var(--terracotta)}
.lotterycnqq-faq p{margin:6px 0 0;font-size:14px;line-height:1.95;color:var(--fg)}
.lotterycnqq-btn{
  display:inline-block;
  padding:10px 24px;
  border-radius:var(--radius);
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:#ffffff;
  font-size:17px;
  line-height:1.6;
  box-shadow:var(--shadow);
  transition:transform .15s ease,box-shadow .15s ease;
}
.lotterycnqq-btn:hover{transform:translateY(-2px);box-shadow:0 4px 10px rgba(38,48,28,.22);color:#ffffff}
.lotterycnqq-btn:active{transform:translateY(0);box-shadow:var(--shadow)}
.lotterycnqq-btn:focus-visible{outline:2px solid var(--terracotta);outline-offset:3px}
.lotterycnqq-badge{
  display:inline-block;
  padding:1px 8px;
  margin-right:6px;
  border-radius:3px;
  background:var(--sand);
  color:var(--accent-2);
  font-size:14px;
  line-height:1.9;
}
.lotterycnqq-footer{
  background:linear-gradient(135deg,#3f6212,#2f4a0d);
  color:#e6e3d2;
  font-size:14px;
  line-height:2.0;
  padding:28px 0 16px;
}
.lotterycnqq-footwrap{display:flex;flex-wrap:wrap;gap:24px;max-width:1120px;margin:0 auto;padding:0 20px}
.lotterycnqq-footcol{flex:1 1 200px;min-width:180px}
.lotterycnqq-footcol h3{color:#f3efdf;font-size:17px;font-weight:400;margin:0 0 6px}
.lotterycnqq-footcol p{margin:0 0 4px;color:#dcd9c6}
.lotterycnqq-footer a{color:#f3efdf;border-bottom:1px solid transparent}
.lotterycnqq-footer a:hover{border-bottom-color:var(--sand);color:#ffffff}
.lotterycnqq-copy{max-width:1120px;margin:18px auto 0;padding:0 20px;color:#dcd9c6}
@media (max-width:1024px){
  .lotterycnqq-block{margin-bottom:56px}
  .lotterycnqq-split{gap:16px}
  .lotterycnqq-body{flex:1 1 100%}
  .lotterycnqq-aside{flex:1 1 100%}
  .lotterycnqq-card{flex:1 1 calc(50% - 6px)}
  .lotterycnqq-faq details{flex:1 1 100%}
}
@media (max-width:720px){
  .lotterycnqq-navinner{padding:8px 14px;gap:10px}
  .nav-links{gap:10px}
  .nav-links a{font-size:14px}
  .lotterycnqq-block{margin-bottom:40px}
  .lotterycnqq-h1{font-size:22px}
  .lotterycnqq-h2{font-size:22px}
  .lotterycnqq-card{flex:1 1 100%}
  .lotterycnqq-news-date{flex:1 1 100%}
  .lotterycnqq-news-body{min-width:0}
  .lotterycnqq-aside-img{width:72px;height:72px}
}
/* 图片按原尺寸显示，不放大 */
img[src^="/img/"]{max-width:256px;max-height:256px;width:auto;height:auto;object-fit:contain;display:inline-block;}
