* { box-sizing: border-box; margin: 0; padding: 0; }
:root { --accent: #1a4f8b; --bg: #f5f7fa; --card: #fff; --text: #1a1a1a; --muted: #6b7280; --border: #e5e7eb; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

.site-header { background: var(--accent); color: #fff; padding: 14px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.brand { font-size: 1.3rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 38px; width: auto; display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.site-header nav a { color: rgba(255,255,255,.9); margin-left: 16px; font-weight: 500; }
.site-header nav a:hover { color: #fff; }

main { padding: 30px 0 50px; }

.hero { text-align: center; padding: 30px 0 10px; }
.hero h1 { font-size: 2.2rem; color: var(--accent); }
.subtitle { color: var(--muted); font-size: 1.05rem; margin-top: 6px; }

.page-title { color: var(--accent); margin-bottom: 18px; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 22px; margin-bottom: 20px; }
.card h2 { font-size: 1.2rem; margin-bottom: 12px; color: var(--accent); }
.card h3 { font-size: 1rem; margin: 16px 0 8px; }

.prose { line-height: 1.7; }
.muted { color: var(--muted); font-size: .9rem; }
.tag { display: inline-block; background: var(--accent); color: #fff; font-size: .72rem; padding: 1px 8px; border-radius: 10px; margin: 0 6px; }

.post-list { list-style: none; }
.post-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.post-list li:last-child { border-bottom: 0; }
.post-list.big li { padding: 0; border-bottom: 0; }
.post-list a h2 { font-size: 1.05rem; margin: 0; }

.match-list { list-style: none; }
.match-list li { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.match-list li:last-child { border-bottom: 0; }
.match-list .j { font-weight: 700; color: var(--accent); min-width: 30px; }
.match-list .when { color: var(--muted); font-size: .9rem; margin-left: auto; }

table.cal { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; }
table.cal th, table.cal td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); font-size: .92rem; }
table.cal th { background: var(--accent); color: #fff; }
.score { font-weight: 700; }

.video-list { list-style: none; }
.video-list li { margin-bottom: 10px; }

.form { display: grid; gap: 10px; margin-bottom: 16px; }
.form label { font-weight: 600; font-size: .9rem; }
.form input, .form select, .form textarea { padding: 9px 11px; border: 1px solid var(--border); border-radius: 7px; font-size: .95rem; font-family: inherit; }
.btn { background: var(--accent); color: #fff; border: 0; padding: 10px 16px; border-radius: 7px; font-size: .95rem; font-weight: 600; cursor: pointer; }
.btn.danger { background: #c0392b; }
.inline { display: inline; }
.admin-list { list-style: none; }
.admin-list li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.error { color: #c0392b; font-weight: 600; }
.narrow { max-width: 400px; margin: 40px auto; }
.center { text-align: center; }
.full { width: 100%; border-radius: 8px; margin: 10px 0; }

.site-footer { background: #1f2937; color: #cbd5e1; padding: 24px 0; margin-top: 20px; }
.site-footer .muted { color: #9ca3af; margin-top: 6px; }
