
:root{
  --bg1:#667eea;
  --bg2:#764ba2;
  --ink:#1f2937;
  --muted:#6b7280;
  --card:#ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,.12);
  --radius:16px;
  --accent:#2563eb;
  --accent2:#16a34a;
  --border: rgba(17,24,39,.12);
  --max: 1100px;
}
*{box-sizing:border-box}
html{color-scheme:light}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
  color:var(--ink);
  background: linear-gradient(135deg,var(--bg1),var(--bg2));
  min-height:100vh;
}
img{max-width:100%;height:auto}
a{color:inherit}

.wrapper{max-width:var(--max);margin-inline:auto;padding:16px}

.site-header{
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.brand{
  display:flex; align-items:center; gap:14px;
  padding:16px;
}
.brand img{width:72px;height:72px;object-fit:contain}
.brand h1{font-size: clamp(1.3rem, 2.8vw, 2rem); margin:0}
.brand p{margin:6px 0 0 0;color:var(--muted)}

.meta{
  display:flex;flex-wrap:wrap;gap:14px;
  padding:0 16px 16px 16px;
  color:var(--muted);
}
.meta a{color:var(--accent);text-decoration:none; font-weight:600}
.meta a:hover{text-decoration:underline}

.nav{
  display:flex; gap:8px; flex-wrap:wrap;
  padding: 0 16px 16px 16px;
}
.nav a{
  text-decoration:none;
  padding:10px 14px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.7);
  font-weight:650;
}
.nav a[aria-current="page"]{
  background: var(--accent);
  color:#fff;
  border-color: transparent;
}

main{margin-top:16px}

.grid{
  display:grid;
  gap:14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px){
  .grid{grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (min-width: 1024px){
  .grid{grid-template-columns: repeat(2, minmax(0, 1fr));}
}

.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card-inner{padding:16px}
.card h2{margin:0 0 8px 0;font-size:1.2rem}
.card .date{color:var(--muted);font-weight:650;margin:0 0 10px 0}
.card .desc{margin:0 0 12px 0;line-height:1.45}

.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(37,99,235,.06);
  font-weight:650;
}

.actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color:#fff;
  font-weight:700;
  text-decoration:none;
}
.btn:hover{filter:brightness(.95)}
.btn.secondary{
  background: #0f172a;
}

.qr{
  width:86px;height:86px;
  border-radius: 12px;
  border:1px solid var(--border);
  background:#fff;
}

.notice{
  padding:14px 16px;
  border-left:4px solid var(--accent);
  background: rgba(255,255,255,.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-footer{
  margin-top:18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.footer-inner{padding:16px}
.footer-links{
  display:grid;
  gap:12px;
  grid-template-columns: 1fr;
}
@media (min-width:720px){
  .footer-links{grid-template-columns: repeat(2, minmax(0, 1fr));}
}

.social-card{
  display:flex; gap:12px; align-items:center;
  padding:14px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.7);
  text-decoration:none;
}
.social-card:hover{outline: 3px solid rgba(37,99,235,.2)}
.social-card img{width:46px;height:46px;border-radius:10px;object-fit:cover}
.social-card .title{font-weight:800}
.social-card .sub{color:var(--muted);font-weight:600}

.viewer{
  width:100%;
  height: min(78vh, 900px);
  border:1px solid var(--border);
  border-radius: var(--radius);
  background:#fff;
}
.small{color:var(--muted);font-size:.95rem}
