:root{
  --bg:#f3e3d8;
  --panel:#fff7f2;
  --panel2:#fff1ea;
  --text:#3a2a2a;
  --muted:#6f5b5b;
  --accent:#7d0f0f;
  --link:#1a3dd6;
  --border:rgba(90, 40, 40, .22);
  --shadow:0 10px 30px rgba(40, 10, 10, .08);
}

*{ box-sizing:border-box; }

html,body{ height:100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 50% 0%, #fff7f2 0%, var(--bg) 55%, #ead2c6 100%);
}

.wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 18px 22px;
}

.header{
  text-align:center;
  margin-bottom: 18px;
}

.logo{
  margin:0;
  font-size: 54px;
  letter-spacing: 3px;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 2px 0 rgba(255,255,255,.7);
}

.subtitle{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.grid{
  display:grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 14px;
  align-items: start;
}

.card{
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel2) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px 16px 12px;
}

.card h2{
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: .2px;
  color: #4a2f2f;
  display:flex;
  align-items:center;
  gap:10px;
}

.card h2:after{
  content:"";
  height:1px;
  flex:1;
  background: rgba(120, 40, 40, .18);
}

.boards{
  list-style:none;
  margin:0;
  padding:0;
}

.boards li{
  padding: 10px 0;
  border-bottom: 1px dashed rgba(120, 40, 40, .18);
}

.boards li:last-child{ border-bottom:0; }

.board-tag{
  display:inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(125, 15, 15, .08);
  border: 1px solid rgba(125, 15, 15, .20);
  color: var(--accent);
  text-decoration:none;
  font-weight: 700;
  margin-right: 8px;
}

.board-tag:hover{
  background: rgba(125, 15, 15, .12);
}

.board-name{
  color: var(--link);
  text-decoration:none;
  font-weight: 700;
}

.board-name:hover{ text-decoration: underline; }

.board-desc{
  color: var(--muted);
  margin-left: 6px;
  font-size: 13px;
}

.rules{
  margin: 0;
  padding-left: 18px;
  color:#4a3a3a;
}

.rules li{ margin: 8px 0; }

.links{
  margin-top: 12px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

.links a{
  color: var(--link);
  text-decoration:none;
  font-weight: 600;
  background: rgba(26, 61, 214, .06);
  border: 1px solid rgba(26, 61, 214, .14);
  padding: 6px 10px;
  border-radius: 10px;
}

.links a:hover{
  background: rgba(26, 61, 214, .10);
}

.footer{
  margin-top: 14px;
  text-align:center;
  color: rgba(80, 55, 55, .75);
  font-size: 12px;
}

.footer .sep{ margin: 0 8px; color: rgba(80,55,55,.45); }

@media (max-width: 860px){
  .grid{ grid-template-columns: 1fr; }
  .logo{ font-size: 44px; }
}
/* hero */
.hero{
  display:flex;
  gap:14px;
  align-items:stretch;
  justify-content:space-between;
  margin: 14px 0 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(90,40,40,.18);
  background: rgba(255,255,255,.38);
  box-shadow: 0 10px 28px rgba(40,10,10,.06);
}

.hero-title{
  font-weight: 800;
  color:#3b2525;
  margin-bottom: 8px;
}

.hero-meta{ display:flex; gap:8px; flex-wrap:wrap; }

.pill{
  display:inline-flex;
  gap:6px;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(125,15,15,.06);
  border:1px solid rgba(125,15,15,.16);
  color:#5a2e2e;
  font-size: 13px;
}

.hero-right{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-content:flex-start;
  justify-content:flex-end;
  min-width: 240px;
}

.quick{
  text-decoration:none;
  font-weight:700;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(26,61,214,.06);
  border: 1px solid rgba(26,61,214,.14);
  color: #1a3dd6;
}

.quick:hover{ background: rgba(26,61,214,.10); }

/* wide card */
.card.wide{ margin-top: 14px; }

.recent{ list-style:none; margin:0; padding:0; }
.recent li{
  padding: 10px 0;
  border-bottom: 1px dashed rgba(120,40,40,.18);
}
.recent li:last-child{ border-bottom:0; }
.recent a{ color:#1a3dd6; font-weight:700; text-decoration:none; }
.recent a:hover{ text-decoration:underline; }

@media (max-width: 860px){
  .hero{ flex-direction:column; }
  .hero-right{ justify-content:flex-start; min-width:auto; }
}
