:root {
  --bg: #f7fbff;
  --fg: rgba(17, 24, 39, 0.92);        /* slate-900 */
  --muted: rgba(17, 24, 39, 0.66);
  --card: rgba(255, 255, 255, 0.72);
  --card2: rgba(255, 255, 255, 0.58);
  --border: rgba(30, 64, 175, 0.12);  /* blue-ish */
  --shadow: 0 18px 60px rgba(2, 6, 23, 0.12);
  --shadow2: 0 10px 30px rgba(2, 6, 23, 0.08);
  --radius: 18px;
  --accent: #67b8ff;                  /* light blue */
  --accent2: #bfe5ff;                 /* pale blue */
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Noto Sans JP", sans-serif;
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
}

/* Soft airy background (no image needed) */
body::before {
  content: "";
  position: fixed;
  inset: -80px;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(103, 184, 255, 0.35), transparent 60%),
    radial-gradient(800px 520px at 85% 20%, rgba(191, 229, 255, 0.55), transparent 65%),
    radial-gradient(900px 600px at 40% 110%, rgba(103, 184, 255, 0.20), transparent 60%),
    linear-gradient(to bottom, #f7fbff, #eef7ff);
  filter: saturate(1.05);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 50% 0%, rgba(255,255,255,0.60), transparent 55%),
    linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(255,255,255,0.0));
  z-index: -1;
}

a { color: inherit; }

.page {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 28px 14px;
}

.panel {
  width: min(1100px, 100%);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(30, 64, 175, 0.12);
  box-shadow: var(--shadow);
  padding: 22px;
  backdrop-filter: blur(10px);
}

.panelHeader {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.panelTitle {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0.2px;
}

.panelDots {
  height: 10px;
  width: 180px;
  opacity: 0.9;
  background:
    radial-gradient(circle, rgba(17,24,39,0.65) 3px, transparent 4px) 0 0/14px 10px;
  border-radius: 999px;
  filter: drop-shadow(0 6px 10px rgba(2,6,23,0.10));
}

.postList {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

/* Post Card */
.postCard {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 14px;
  align-items: stretch;

  padding: 14px 14px 14px 16px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), var(--card2));
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;

  box-shadow: var(--shadow2);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.postCardNoCover {
  grid-template-columns: 1fr;
}

.postCard:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 64, 175, 0.18);
  box-shadow: 0 22px 70px rgba(2, 6, 23, 0.14);
}

.postMain {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 4px 0;
}

.postTitle {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.postMeta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.postMeta .site { opacity: 0.85; }
.postMeta .sep::before {
  content: " / ";
  opacity: 0.7;
}

.postDesc {
  margin: 0;
  color: rgba(17,24,39,0.78);
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.postThumbWrap {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(103, 184, 255, 0.10);
  border: 1px solid rgba(30, 64, 175, 0.10);
}

.postThumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.moreButton {
  display: block;
  margin-top: 14px;
  padding: 14px 16px;
  text-align: center;
  color: rgba(17,24,39,0.85);
  text-decoration: none;

  border-radius: 14px;
  border: 1px dashed rgba(30, 64, 175, 0.20);
  background: rgba(255,255,255,0.45);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.moreButton:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.62);
  border-color: rgba(30, 64, 175, 0.28);
}

/* Responsive */
@media (max-width: 720px) {
  .panel { padding: 16px; }
  .panelDots { width: 120px; }

  .postCard { grid-template-columns: 1fr; }
  .postThumbWrap { height: 160px; }
  .postTitle { white-space: normal; }
}

/* Optional: dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --fg: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.66);
    --card: rgba(255, 255, 255, 0.10);
    --card2: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
    --shadow2: 0 12px 40px rgba(0, 0, 0, 0.35);
  }

  body::before {
    background:
      radial-gradient(900px 520px at 15% 10%, rgba(103,184,255,0.22), transparent 60%),
      radial-gradient(800px 520px at 85% 20%, rgba(191,229,255,0.16), transparent 65%),
      linear-gradient(to bottom, #0b1220, #070b14);
  }

  body::after {
    background:
      radial-gradient(1200px 700px at 50% 0%, rgba(255,255,255,0.08), transparent 55%),
      linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.55));
  }

  .panel {
    background: rgba(0,0,0,0.30);
    border: 1px solid rgba(255,255,255,0.10);
  }

  .panelDots {
    background:
      radial-gradient(circle, rgba(255,255,255,0.70) 3px, transparent 4px) 0 0/14px 10px;
  }

  .postDesc { color: rgba(255,255,255,0.78); }
  .moreButton { color: rgba(255,255,255,0.85); }
}
