:root {
  --black: #050505;
  --paper: #f5f2ea;
  --muted: rgba(245, 242, 234, 0.68);
  --line: rgba(245, 242, 234, 0.2);
  --hot: #ff168c;
  --cyan: #00e7ff;
  --acid: #baff00;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(255, 22, 140, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(0, 231, 255, 0.07) 0 1px, transparent 1px 100%),
    var(--black);
  background-size: 42px 42px;
  font-family: Arial, "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-weight: 800;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-header {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px clamp(14px, 2.4vw, 34px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.86);
}

.site-mark {
  color: var(--paper);
  font-size: 24px;
  line-height: 1;
  text-shadow: 2px 2px 0 var(--hot);
}

.page-header p,
.page-header h1 {
  margin: 0;
}

.page-header p {
  color: var(--acid);
  font-size: 13px;
  line-height: 1;
}

.page-header h1 {
  margin-top: 4px;
  font-size: clamp(26px, 3vw, 46px);
  line-height: 0.95;
}

.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--black);
  background: var(--hot);
  box-shadow: 5px 5px 0 var(--cyan);
  white-space: nowrap;
}

.circle-list-page {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 40px) clamp(48px, 7vw, 88px);
}

.list-lead {
  margin: 0 0 clamp(20px, 3.5vw, 36px);
  color: var(--muted);
  font-size: clamp(14px, 1.6vw, 17px);
}

.list-lead span {
  color: var(--acid);
  font-size: 1.4em;
  padding: 0 2px;
}

.circle-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(10px, 1.6vw, 18px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.circle-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 128px;
  padding: 14px 16px 16px;
  border: 1px solid rgba(245, 242, 234, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 22, 140, 0.14), rgba(0, 231, 255, 0.08)),
    rgba(245, 242, 234, 0.04);
}

.circle-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(245, 242, 234, 0.12);
  pointer-events: none;
}

.circle-number {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.circle-name {
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.circle-x {
  justify-self: start;
  position: relative;
  color: var(--acid);
  font-size: 13px;
  font-weight: 400;
  border-bottom: 1px solid rgba(186, 255, 0, 0.4);
  overflow-wrap: anywhere;
}

.circle-x:hover,
.circle-x:focus-visible {
  color: var(--black);
  background: var(--acid);
  border-bottom-color: var(--acid);
  outline: 0;
}

.list-note {
  margin: clamp(28px, 4vw, 44px) 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.page-footer {
  padding: 20px clamp(16px, 4vw, 40px) 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.page-footer p {
  margin: 0;
}

@media (max-width: 520px) {
  .page-header {
    grid-template-columns: 1fr auto;
  }

  .site-mark {
    display: none;
  }
}
