/* 每日大赛 mrds · 文件18（重做版）· 客户站单页：深墨绿画廊 + 海报式排版 + 赛事轨道 */
:root{
  color-scheme: light;
  --bg:#f7f4ef;
  --paper:#ffffff;
  --ink:#141414;
  --muted:#3b3b3b;
  --muted2:#6a6a6a;
  --line: rgba(20,20,20,.16);
  --line2: rgba(20,20,20,.10);
  --shadow: 0 18px 46px rgba(15,15,15,.12);
  --r1: 22px;
  --r2: 16px;
  --wrap: 1180px;

  --forest:#0b3d2e;
  --copper:#b98a2f;
  --navy:#0b1736;
}
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC","Noto Sans SC",sans-serif;
  color: var(--ink);
  line-height: 1.85;
  background: linear-gradient(180deg, var(--bg), #fff);
}
body:before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  opacity: .10;
  background-image: radial-gradient(rgba(20,20,20,.18) 1px, transparent 1px);
  background-size: 9px 9px;
  mix-blend-mode: multiply;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.wrap{ width:100%; max-width: var(--wrap); margin:0 auto; padding:0 18px; }
.sr-only{ position:absolute!important; width:1px;height:1px; overflow:hidden; clip: rect(1px,1px,1px,1px); white-space:nowrap; }
.skip{
  position:absolute; left:-999px; top:10px;
  padding:10px 12px; border-radius: 12px;
  background: rgba(255,255,255,.96); border:1px solid var(--line); box-shadow: var(--shadow);
}
.skip:focus{ left:12px; z-index: 90; }

.mast{
  position: sticky;
  top:0;
  z-index: 70;
  background: rgba(247,244,239,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line2);
}
.topbar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  padding: 16px 0 10px;
}
.brand{
  display:flex;
  align-items:flex-end;
  gap: 12px;
}
.seal{
  width: 46px; height:46px;
  border-radius: 14px;
  border:1px solid var(--line);
  background:
    radial-gradient(18px 18px at 35% 35%, rgba(185,138,47,.22), transparent 60%),
    radial-gradient(18px 18px at 70% 65%, rgba(11,61,46,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.72));
  box-shadow: 0 12px 30px rgba(15,15,15,.10);
  display:grid; place-items:center;
  font-weight: 1000;
  letter-spacing:.4px;
  color: var(--forest);
}
.brand strong{
  font-family: ui-serif, "STSong","SimSun","Songti SC","Noto Serif SC", serif;
  font-size: 18px;
  letter-spacing: .8px;
}
.brand small{
  display:block;
  margin-top:2px;
  font-size: 12px;
  color: var(--muted2);
  letter-spacing:.3px;
}
.tools{
  display:flex;
  align-items:center;
  gap: 10px;
}
.tools input{
  width: min(520px, 52vw);
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.90);
  outline:none;
}
.tools input:focus{
  border-color: rgba(11,61,46,.32);
  box-shadow: 0 0 0 4px rgba(11,61,46,.10);
}
.tools button{
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.90);
  cursor:pointer;
}
.tools button:hover{ background: rgba(255,255,255,.98); }
.nav{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  padding: 0 0 12px;
}
.nav a{
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid var(--line2);
  background: rgba(255,255,255,.66);
  color: rgba(0,0,0,.78);
  font-size: 13px;
  letter-spacing:.2px;
}
.nav a:hover{ background: rgba(255,255,255,.92); }
.nav a.on{
  border-color: rgba(11,61,46,.22);
  background: linear-gradient(180deg, rgba(11,61,46,.08), rgba(185,138,47,.08));
}

main{ padding: 18px 0 56px; }
.panel{
  border-radius: var(--r1);
  border:1px solid var(--line2);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow);
}
@supports (backdrop-filter: blur(10px)){
  .panel{ background: rgba(255,255,255,.78); backdrop-filter: blur(10px); }
}

.hero{
  display:grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  gap: 16px;
  align-items:start;
}
.hero-main{ padding: 18px; position: relative; overflow:hidden; }
.hero-main:before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(760px 320px at 10% 0%, rgba(11,61,46,.10), transparent 62%),
    radial-gradient(760px 340px at 92% 16%, rgba(185,138,47,.12), transparent 62%);
  opacity:.95;
  pointer-events:none;
}
.hero-main > *{ position: relative; }
.kicker{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
  color: rgba(0,0,0,.70);
  font-size: 12px;
  letter-spacing:.28px;
}
.dot{
  width: 9px; height:9px; border-radius: 999px;
  background: rgba(11,61,46,.86);
  box-shadow: 0 0 0 4px rgba(11,61,46,.12);
}
h1{
  margin: 12px 0 10px;
  font-size: clamp(30px, 3.1vw, 46px);
  line-height: 1.06;
  letter-spacing: .9px;
  font-family: ui-serif, "STSong","SimSun","Songti SC","Noto Serif SC", serif;
}
.lede{
  margin:0;
  color: rgba(0,0,0,.76);
  max-width: 78ch;
}
.cta{
  display:flex; flex-wrap:wrap; gap: 10px;
  margin-top: 16px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  font-weight: 1000;
  letter-spacing:.2px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn.primary{
  border-color: rgba(11,61,46,.22);
  background: linear-gradient(180deg, rgba(11,61,46,.10), rgba(185,138,47,.08));
}
.btn.ghost{ background: rgba(255,255,255,.72); border-color: rgba(20,20,20,.12); }
.btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 26px rgba(15,15,15,.10); background: rgba(255,255,255,.99); }

.gallery{ padding: 14px; }
.wall{
  display:grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.tile{
  border-radius: var(--r2);
  border:1px solid var(--line2);
  background: rgba(255,255,255,.70);
  overflow:hidden;
  box-shadow: 0 10px 26px rgba(15,15,15,.08);
}
.tile.big{ grid-column: span 6; }
.tile.wide{ grid-column: span 4; }
.tile.tall{ grid-column: span 2; grid-row: span 2; }
.tile img{ width:100%; height: 120px; object-fit: cover; }
.tile.big img{ height: 190px; }
.tile .m{ padding: 10px; }
.tile b{ display:block; font-size: 13px; }
.tile span{ display:block; margin-top:4px; font-size: 12px; color: var(--muted2); }

/* 视频卡片：用于搜索收录缩略图 */
.videos{
  margin-top: 14px;
  padding: 14px;
}
.videos h2{ margin:0; font-size: 16px; letter-spacing:.2px; }
.videos p{ margin:8px 0 0; font-size: 12px; color: var(--muted2); }
.vgrid{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.vcard{
  border-radius: var(--r2);
  border:1px solid var(--line2);
  background: rgba(255,255,255,.72);
  overflow:hidden;
  box-shadow: 0 10px 26px rgba(15,15,15,.08);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.vcard:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 50px rgba(15,15,15,.12);
}
.thumb{
  position: relative;
  aspect-ratio: 16/9;
  overflow:hidden;
  border-bottom: 1px solid var(--line2);
  background: rgba(255,255,255,.70);
}
.thumb img{
  width:100%;
  height:100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}
.video-duration{
  position:absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid rgba(17,18,22,.14);
  background: rgba(17,18,22,.62);
  color: rgba(255,255,255,.92);
  font-weight: 1000;
  font-size: 12px;
  letter-spacing:.2px;
  backdrop-filter: blur(8px);
}
.play{
  position:absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid rgba(11,61,46,.18);
  background: rgba(255,255,255,.86);
  color: rgba(11,61,46,.92);
  font-weight: 1000;
  font-size: 12px;
}
.vmeta{ padding: 12px; }
.vmeta b{ display:block; font-size: 14px; }
.vmeta span{ display:block; margin-top: 6px; font-size: 12px; color: var(--muted2); }
.vmeta .tags{ padding-left: 0; }

.track{
  margin-top: 14px;
  padding: 14px;
}
.track h2{ margin:0; font-size: 16px; letter-spacing:.2px; }
.track p{ margin:8px 0 0; font-size: 12px; color: var(--muted2); }
.rule{
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(20,20,20,.16), transparent);
  margin: 12px 0;
}
.rail{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.node{
  border-radius: var(--r2);
  border:1px solid var(--line2);
  background: rgba(255,255,255,.70);
  padding: 12px;
  position: relative;
  overflow:hidden;
}
.node:before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width: 6px;
  background: linear-gradient(180deg, rgba(11,61,46,.60), rgba(185,138,47,.55));
}
.node b{ display:block; font-size: 14px; padding-left: 10px; }
.node span{ display:block; margin-top: 6px; font-size: 12px; color: var(--muted2); padding-left: 10px; }
.tags{ margin-top: 10px; display:flex; flex-wrap:wrap; gap: 8px; padding-left: 10px; }
.tag{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid rgba(11,61,46,.18);
  background: rgba(11,61,46,.06);
  color: rgba(11,61,46,.92);
  font-weight: 1000;
  font-size: 12px;
}
.tag.c{ border-color: rgba(185,138,47,.20); background: rgba(185,138,47,.08); color: rgba(120,75,18,.92); }
.tag.n{ border-color: rgba(11,23,54,.18); background: rgba(11,23,54,.06); color: rgba(11,23,54,.92); }

.foot{
  margin-top: 22px;
  border-top: 1px solid var(--line2);
  background: rgba(255,255,255,.56);
}
.footrow{
  padding: 18px 0;
  display:flex; align-items:center; justify-content:space-between;
  gap: 12px; flex-wrap:wrap;
  color: rgba(0,0,0,.66);
}

.bottom{
  display:none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 80;
  border-radius: 18px;
  border:1px solid var(--line2);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: 10px;
  gap: 10px;
}
.bottom a{
  flex:1 1 0;
  display:flex; align-items:center; justify-content:center;
  padding: 10px;
  border-radius: 14px;
  border:1px solid transparent;
  font-size: 12px;
  font-weight: 1000;
  color: rgba(0,0,0,.70);
}
.bottom a.on{
  border-color: rgba(11,61,46,.22);
  background: rgba(11,61,46,.06);
  color: rgba(11,61,46,.92);
}

@media (max-width: 1060px){
  .hero{ grid-template-columns: 1fr; }
  .rail{ grid-template-columns: 1fr; }
  .tile.big img{ height: 220px; }
  .vgrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px){
  .tools{ display:none; }
  main{ padding-bottom: 92px; }
  .bottom{ display:flex; }
  .wall{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile.wide{ grid-column: span 4; }
  .tile.tall{ grid-column: span 2; }
  .vgrid{ grid-template-columns: 1fr; }
}

