/* =====================
   Design Tokens
===================== */
:root {
  --bg: #020817;
  --bg-soft: #050709;
  --panel: #070a10;
  --panel-2: rgba(3, 7, 18, 0.92);
  --text: #f8fafc;
  --text-soft: rgba(248, 250, 252, 0.82);
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --chip-bg: rgba(255, 255, 255, 0.08);
  --chip-border: rgba(255, 255, 255, 0.18);
  --cyan: #19e3ff;
  --cyan-2: #22d3ee;
  --blue: #60a5fa;
  --blue-2: #5b6fff;
  --shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --container: 1200px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* =====================
   Reset / Base
===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #050709;
  color: var(--text);
}

body {
  min-height: 100vh;
  font-family: var(--font);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* =====================
   Shared Utilities
===================== */
.page-shell {
  min-height: 100vh;
}

.badge,
.post-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.82rem;
}

.detail-link,
.nice-btn,
.btn,
.page-btn,
.chip,
.header-link {
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

/* =====================
   Shared Header
===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 6, 23, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(100% - 32px, var(--container));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #fff;
}

.site-logo span {
  background: linear-gradient(135deg, #19e3ff, #7b61ff);
  -webkit-background-clip: text;
  color: transparent;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-weight: 600;
}

.header-link:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

/* =====================
   Shared Buttons / Actions
===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #f5f5f5;
  cursor: pointer;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.btn-primary {
  border-color: var(--cyan);
  background: linear-gradient(135deg, var(--cyan), var(--blue-2));
  color: #050709;
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2ff0ff, #7888ff);
}

.detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.82rem;
}

.detail-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nice-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: #eaeaea;
  cursor: pointer;
}

.nice-btn:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.nice-btn.is-liked {
  border-color: rgba(25,227,255,0.5);
  background: rgba(25,227,255,0.12);
}

.nice-count {
  font-weight: 700;
}

/* いいね用の簡易トースト（ログイン誘導・エラー通知） */
.like-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  z-index: 1000;
  max-width: min(92vw, 420px);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(7, 10, 16, 0.95);
  border: 1px solid rgba(25, 227, 255, 0.4);
  color: #eaf6ff;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.like-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =====================
   Shared Card
===================== */
.card {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
  cursor: pointer;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(25,227,255,0.75), rgba(123,97,255,0.75), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 5;
}

.card:hover {
  transform: translateY(-9px);
  border-color: rgba(25, 227, 255, 0.42);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(25, 227, 255, 0.1),
    0 0 28px rgba(25, 227, 255, 0.08);
}

.card:hover::before {
  opacity: 1;
}

.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at top, rgba(25, 227, 255, 0.35), #050709);
  overflow: hidden;
}

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.28));
  pointer-events: none;
}

.card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.card:hover .card-image img {
  transform: scale(1.08);
}

.card-content {
  padding: 12px 14px 14px;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.card-tagline {
  font-size: 0.75rem;
  color: #9b9b9b;
}

.spec-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  font-size: 0.74rem;
  color: #c5c5c5;
}

.spec-list li + li {
  margin-top: 2px;
}

.bench {
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  font-size: 0.72rem;
  color: #8a8a8a;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* =====================
   Shared Pagination
===================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 8px 0;
  font-size: 0.8rem;
}

.page-btn {
  min-width: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(7, 10, 16, 0.9);
  color: #ddd;
  cursor: pointer;
  text-align: center;
}

.page-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.page-btn.active {
  border-color: var(--cyan);
  background: rgba(25, 227, 255, 0.25);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 6px rgba(25, 227, 255, 0.4);
}

/* =====================
   Shared Footer
===================== */
.site-footer,
.page-footer {
  margin-top: 24px;
  padding-bottom: 8px;
  font-size: 0.72rem;
  color: #777;
  text-align: center;
}

/* =====================
   Index Page
===================== */
.index-page {
  background:
    radial-gradient(ellipse 110% 45% at 50% 0%, rgba(25, 227, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 92% 0%, rgba(123, 97, 255, 0.07) 0%, transparent 50%),
    #050709;
  color: #f5f5f5;
  overflow-x: hidden;
}

.index-page .card {
  background: #070a10;
  border: 1px solid rgba(255,255,255,0.06);
}

.index-page .card:hover {
  border-color: rgba(25,227,255,0.8);
  box-shadow: 0 0 18px rgba(25,227,255,0.25);
}

.index-page .page {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  padding: 24px 0 48px;
}

.index-page .top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.index-page .nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.index-page .hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 42px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 34px;
}

.index-page .hero::before {
  content: "";
  position: absolute;
  inset: -80px -8vw 0;
  background:
    radial-gradient(circle at 16% 28%, rgba(25, 227, 255, 0.18), transparent 42%),
    radial-gradient(circle at 80% 10%, rgba(123, 97, 255, 0.22), transparent 36%);
  pointer-events: none;
}

.index-page .hero-copy,
.index-page .hero-card {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.index-page .hero-kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.index-page .hero-title {
  margin: 0 0 16px;
  max-width: 780px;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 1.05;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.index-page .hero-title span {
  background: linear-gradient(135deg, var(--cyan), #7b61ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.index-page .hero-subtitle {
  max-width: 720px;
  margin: 0 0 24px;
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  color: rgba(248, 250, 252, 0.78);
}

.index-page .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.8rem;
  color: #a7a7a7;
}

.index-page .hero-meta span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.index-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.index-page .hero-note {
  font-size: 0.78rem;
  color: #888;
}

.index-page .hero-card {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-radius: 30px;
  padding: 26px;
  background:
    linear-gradient(155deg, rgba(15, 23, 42, 0.9) 0%, rgba(2, 6, 23, 0.96) 48%, rgba(8, 13, 28, 0.92) 100%),
    radial-gradient(circle at 16% 10%, rgba(25, 227, 255, 0.28), transparent 34%),
    radial-gradient(circle at 90% 38%, rgba(123, 97, 255, 0.22), transparent 42%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(25, 227, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.index-page .hero-card:hover {
  transform: translateY(-6px);
  border-color: rgba(25, 227, 255, 0.34);
  box-shadow:
    0 38px 90px rgba(0, 0, 0, 0.58),
    0 0 34px rgba(25, 227, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.index-page .hero-card[data-showcase-post-id] {
  cursor: pointer;
}

.index-page .hero-card[data-showcase-post-id]:focus-visible {
  outline: 2px solid rgba(25, 227, 255, 0.78);
  outline-offset: 4px;
}

.index-page .hero-card-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.14), transparent 34%),
    linear-gradient(180deg, transparent 48%, rgba(25, 227, 255, 0.08));
  pointer-events: none;
}

.index-page .hero-card-glow::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.index-page .hero-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.index-page .hero-card:hover .hero-card-content {
  transform: translateY(-2px);
}

.index-page .hero-card-image {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(25, 227, 255, 0.16), transparent 44%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0.98;
  transform: scale(1);
  transition: opacity 0.25s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.index-page .hero-card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.04), rgba(2, 6, 23, 0.22)),
    linear-gradient(90deg, rgba(25, 227, 255, 0.12), transparent 22%, transparent 78%, rgba(123, 97, 255, 0.12));
  pointer-events: none;
}

.index-page .hero-card-image::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  z-index: 2;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(25, 227, 255, 0.85), rgba(123, 97, 255, 0.7), transparent);
  filter: drop-shadow(0 0 10px rgba(25, 227, 255, 0.5));
}

.index-page .hero-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
  transition: transform 0.42s ease;
}

.index-page .hero-card:hover .hero-card-image {
  opacity: 1;
  transform: translateY(-4px);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(25, 227, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.index-page .hero-card:hover .hero-card-image img {
  transform: scale(1.055);
}

.index-page .hero-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.index-page .hero-card-title {
  margin: 0;
  font-size: 0.76rem;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.index-page .hero-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(25, 227, 255, 0.1);
  border: 1px solid rgba(25, 227, 255, 0.26);
  color: rgba(226, 246, 255, 0.92);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.index-page .hero-card-main {
  margin: 0;
  max-width: 11em;
  font-size: clamp(1.42rem, 2.2vw, 2rem);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.index-page .hero-card-user {
  margin: 8px 0 0;
  color: rgba(248, 250, 252, 0.56);
  font-size: 0.78rem;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.index-page .hero-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  font-size: 0.78rem;
}

.index-page .hero-specs > div {
  min-height: 78px;
  padding: 12px 13px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.62));
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.index-page .hero-spec-label {
  margin-bottom: 4px;
  color: rgba(25, 227, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.index-page .hero-spec-value {
  color: rgba(248, 250, 252, 0.94);
  font-weight: 750;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.index-page .hero-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.index-page .hero-card-nice {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(123, 97, 255, 0.12);
  border: 1px solid rgba(123, 97, 255, 0.28);
  color: rgba(226, 232, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 850;
}

.index-page .showcase-detail-link {
  min-height: 34px;
  border-radius: 999px;
  background: rgba(25, 227, 255, 0.1);
  border: 1px solid rgba(25, 227, 255, 0.26);
  color: rgba(226, 246, 255, 0.95);
}

.index-page .section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.index-page .section-title {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 850;
}

.index-page .section-subtitle {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: #999;
}

.index-page .home-section {
  margin-top: 42px;
}

.index-page .section-link {
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 700;
}

.index-page .section-link:hover {
  color: #7dd3fc;
}

.index-page .latest-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.index-page .latest-card {
  min-height: 100%;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
    rgba(7, 10, 16, 0.78);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.index-page .latest-card:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.index-page .card-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.index-page .latest-card .card-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.index-page .card-user {
  margin: 0;
  color: rgba(248, 250, 252, 0.58);
  font-size: 0.78rem;
}

.index-page .nice-pill {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(25, 227, 255, 0.12);
  border: 1px solid rgba(25, 227, 255, 0.24);
  color: #bff7ff;
  font-size: 0.72rem;
  font-weight: 800;
}

.index-page .spec-table {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
}

.index-page .spec-table div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: baseline;
}

.index-page .spec-table dt,
.index-page .spec-table dd {
  margin: 0;
}

.index-page .spec-table dt {
  color: rgba(148, 163, 184, 0.86);
  font-size: 0.74rem;
  font-weight: 700;
}

.index-page .spec-table dd {
  min-width: 0;
  color: rgba(248, 250, 252, 0.9);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.index-page .link-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.index-page .link-card {
  position: relative;
  min-height: 174px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(25, 227, 255, 0.16), transparent 42%),
    rgba(7, 10, 16, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.index-page .link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 227, 255, 0.72);
  box-shadow: 0 0 22px rgba(25, 227, 255, 0.18);
}

.index-page .link-card strong {
  font-size: 1.02rem;
  line-height: 1.4;
}

.index-page .link-card span:last-child {
  color: rgba(248, 250, 252, 0.68);
  font-size: 0.82rem;
}

.index-page .link-card-icon {
  width: fit-content;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(123, 97, 255, 0.18);
  border: 1px solid rgba(123, 97, 255, 0.34);
  color: #c7d2fe;
  font-size: 0.72rem;
  font-weight: 900;
}

.index-page .related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.index-page .related-card {
  min-height: 140px;
}

.index-page .empty-state {
  grid-column: 1 / -1;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(248,250,252,0.75);
}

.index-page .site-logo span {
  background: linear-gradient(135deg, #19e3ff, #7b61ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.index-page .form-preview {
  border-radius: var(--radius-md);
  background: #070a10;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px;
  font-size: 0.85rem;
}

.index-page .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.index-page .form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.index-page .form-label {
  font-size: 0.78rem;
  color: #b7b7b7;
}

.index-page .form-input,
.index-page .form-textarea {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #050709;
  color: #f5f5f5;
  padding: 6px 8px;
  font-size: 0.8rem;
}

.index-page .form-textarea {
  resize: vertical;
  min-height: 60px;
}

.index-page .form-hint {
  font-size: 0.7rem;
  color: #777;
}

/* =====================
   All Posts Page
===================== */
.all-posts-page {
  background:
    radial-gradient(ellipse 100% 40% at 50% 0%, rgba(25, 227, 255, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 90% 0%, rgba(123, 97, 255, 0.05) 0%, transparent 50%),
    #050709;
  color: #f5f5f5;
}

.all-posts-page .top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.all-posts-page .nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.all-posts-page .chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.35);
}

.all-posts-page .chip.active {
  background: rgba(25,227,255,0.30);
  border-color: #19e3ff;
  box-shadow: 0 0 8px rgba(25,227,255,0.45);
}

.all-posts-page .card {
  background: #070a10;
}

.all-posts-page .page {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  padding: 24px 0 48px;
}

.all-posts-page .page-btn {
  background: rgba(7,10,16,0.9);
}

.all-posts-page .page-header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.all-posts-page .page-title {
  margin-bottom: 4px;
  font-size: 1.4rem;
  font-weight: 700;
}

.all-posts-page .page-subtitle {
  font-size: 0.85rem;
  color: #a0a0a0;
}

.all-posts-page .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
}

.all-posts-page .filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.all-posts-page .filter-label {
  color: #b0b0b0;
}

.all-posts-page .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #e0e0e0;
  cursor: pointer;
}

.all-posts-page .chip:hover {
  background: rgba(255, 255, 255, 0.10);
  transform: translateY(-1px);
}

.all-posts-page .chip.active {
  border-color: var(--cyan);
  background: rgba(25, 227, 255, 0.30);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 8px rgba(25, 227, 255, 0.45);
}

.all-posts-page .chip-reset {
  border-radius: 999px;
}

.all-posts-page .chip-reset:hover {
  background: #ff6b6b;
  color: #fff;
}

.all-posts-page .search-box {
  min-width: 200px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 10, 16, 0.9);
  color: #f5f5f5;
  font-size: 0.8rem;
}

.all-posts-page .search-box::placeholder {
  color: #777;
}

/* =====================
   Detail Page
===================== */
.post-detail-page {
  background:
    radial-gradient(circle at top, rgba(0, 212, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #030712 0%, #020617 100%);
  color: var(--text);
}

.post-detail-page main,
.post-detail-page section,
.post-detail-page .detail-shell,
.post-detail-page .post-detail-wrap {
  background: transparent;
}

.post-detail-page .page-shell,
.post-detail-page main > .container {
  padding-top: 32px;
  padding-bottom: 72px;
}

.post-detail-card {
  width: min(100%, 1080px);
  margin-inline: auto;
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(3, 7, 18, 0.92);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  /* backdrop-filter は外して描画コストを軽減。
     背景は不透明度 0.92 のためブラーはほぼ視認されず、見た目は維持される。 */
}

.post-detail-header {
  margin-bottom: 28px;
}

.post-detail-back {
  display: none;
}

.post-detail-title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.post-detail-tagline {
  margin: 0 0 18px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.post-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.post-chip {
  min-height: 40px;
  padding: 0 14px;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.post-detail-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.post-detail-image-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.12);
  /* 画像読み込み前から高さを確保し、レイアウトシフト(CLS)を防ぐ。
     現状の投稿画像はすべて正方形(1:1)のため枠も 1:1 にして、
     contain による不自然な左右余白(レターボックス)を出さない。 */
  aspect-ratio: 1 / 1;
}

.post-detail-image {
  width: 100%;
  height: 100%;
  /* 切り抜きすぎないよう全体を表示（枠は aspect-ratio で固定済み）。
     枠比率に合わない画像は上下/左右に背景色がわずかに見える程度。 */
  object-fit: contain;
}

.post-detail-noimage {
  margin-bottom: 32px;
  padding: 28px;
  border-radius: 20px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: rgba(248, 250, 252, 0.75);
}

/* 画像ギャラリー：メイン画像＋サムネイル列（最大4枚） */
.post-detail-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.post-detail-thumb {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  padding: 0;
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
  background: #0f172a;
  border: 2px solid rgba(148, 163, 184, 0.18);
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.15s ease;
}

.post-detail-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(25, 227, 255, 0.5);
}

.post-detail-thumb.is-active {
  border-color: #19e3ff;
  box-shadow: 0 0 8px rgba(25, 227, 255, 0.35);
}

.post-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 640px) {
  .post-detail-thumbs {
    flex-wrap: nowrap;
    scroll-snap-type: x proximity;
  }

  .post-detail-thumb {
    width: 64px;
    height: 64px;
    scroll-snap-align: start;
  }
}

.post-detail-section {
  margin-top: 32px;
}

.post-detail-section h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.post-detail-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.post-specs {
  display: grid;
  gap: 12px;
}

.post-spec-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.post-spec-label {
  margin: 0;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.9);
}

.post-spec-value {
  margin: 0;
  color: rgba(248, 250, 252, 0.88);
}

.post-detail-box {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.1);
  color: rgba(248, 250, 252, 0.88);
  line-height: 1.8;
  white-space: pre-wrap;
  /* 長いURLや英数字の連続でも横にはみ出さない（スマホでの横スクロール防止） */
  overflow-wrap: anywhere;
  word-break: break-word;
}

.post-detail-card .nice-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(6, 182, 212, 0.12);
  color: #ecfeff;
  font-weight: 700;
}

.post-detail-card .nice-btn:hover {
  background: rgba(6, 182, 212, 0.2);
}

.post-detail-card .nice-btn.is-liked {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  border-color: transparent;
  color: #fff;
}

/* =====================
   Responsive
===================== */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .index-page .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 24px;
  }

  .index-page .hero-card {
    padding: 22px;
  }

  .index-page .hero-card-main {
    max-width: none;
  }

  .index-page .latest-grid,
  .index-page .link-card-grid,
  .index-page .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 68px;
  }

  .post-detail-page .page-shell,
  .post-detail-page .container {
    padding-top: 20px;
    padding-bottom: 56px;
  }

  .post-detail-card {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .post-detail-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
  }

  .post-spec-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .post-detail-image-wrap {
    border-radius: 20px;
  }

  .index-page .hero {
    grid-template-columns: 1fr;
    padding-top: 26px;
    width: 100%;
    max-width: 100%;
  }

  .index-page .top-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .index-page .hero-card {
    min-height: 0;
    max-width: 680px;
    justify-self: center;
  }

  .index-page .section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .grid,
  .index-page .form-row,
  .index-page .latest-grid,
  .index-page .link-card-grid,
  .index-page .related-grid {
    grid-template-columns: 1fr;
  }

  .index-page .page {
    width: 100%;
    max-width: var(--container);
    padding-inline: 12px;
    padding-top: 18px;
  }

  .index-page .nav-actions,
  .index-page .hero-actions {
    width: 100%;
  }

  .index-page .nav-actions .btn {
    /* flex:1 1 0 + min-width:0 でボタンを等幅に潰すと、日本語ラベルが
       1文字ずつ改行され「縦書き」のように見えていた。内容幅を基準に
       折り返す方式へ変更（ナビ全体は flex-wrap で複数行になる）。 */
    flex: 0 1 auto;
    min-width: max-content;
    padding-inline: 14px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .index-page .hero-actions .btn {
    flex: 1 1 100%;
  }

  .index-page .hero-title {
    max-width: 9.5em;
    font-size: clamp(1.8rem, 9vw, 2.25rem);
    line-height: 1.18;
    word-break: break-all;
  }

  .index-page .hero-subtitle,
  .index-page .hero-card,
  .index-page .latest-card,
  .index-page .link-card {
    max-width: 100%;
  }

  .index-page .hero-card {
    padding: 18px;
    border-radius: 24px;
  }

  .index-page .hero-card-glow::after {
    inset: 10px;
    border-radius: 19px;
  }

  .index-page .hero-card-content {
    gap: 14px;
  }

  .index-page .hero-card-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .index-page .hero-card-main {
    font-size: clamp(1.28rem, 6vw, 1.62rem);
  }

  .index-page .hero-specs {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .index-page .hero-specs > div {
    min-height: 0;
    padding: 10px 12px;
  }

  .index-page .hero-card-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .index-page .showcase-detail-link {
    width: 100%;
  }

  .index-page .hero-card-image {
    margin-top: 16px;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .header-nav {
    gap: 8px;
  }

  .all-posts-page .filters {
    gap: 8px;
  }
}

.sort-select {
  padding: 8px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background-color: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
}

.sort-select:hover {
  background-color: rgba(255,255,255,0.12);
}

.sort-select option {
  background-color: #1a1a1a;
  color: #fff;
}

.sort-select:focus {
  outline: none;
  border-color: #7b61ff;
}

/* =====================
   Card 映え強化 (Gallery Enhancement)
===================== */

/* Image hover overlay — glass CTA */
.card-hover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,0.65) 100%);
}

.card:hover .card-hover-overlay {
  opacity: 1;
}

.card-hover-cta {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 7px 20px;
  border-radius: 999px;
  background: rgba(25, 227, 255, 0.2);
  border: 1px solid rgba(25, 227, 255, 0.55);
  transition: background 0.2s ease;
}

/* Popularity / editor badges (top-right of image) */
.card-image-badges {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}

.card-image-count {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  font-size: 0.76rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.badge-popular {
  background: rgba(12, 6, 4, 0.82);
  border: 1px solid rgba(210, 90, 60, 0.48);
  color: #e8a090;
}

.badge-highend {
  background: rgba(12, 10, 4, 0.82);
  border: 1px solid rgba(195, 160, 40, 0.42);
  color: #d8c060;
}

.badge-featured {
  background: rgba(8, 6, 20, 0.82);
  border: 1px solid rgba(120, 110, 230, 0.48);
  color: #b8b4e8;
}

.badge-pick {
  background: rgba(4, 16, 10, 0.82);
  border: 1px solid rgba(30, 175, 115, 0.42);
  color: #88cca8;
}

/* Sample post badge (top-left of card image / posts.json フォールバック専用) */
.card-sample-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  white-space: nowrap;
  background: rgba(14, 16, 22, 0.82);
  border: 1px solid rgba(140, 148, 168, 0.4);
  color: rgba(190, 196, 212, 0.92);
  backdrop-filter: blur(2px);
}

/* Sample post badge (detail page header) */
.post-sample-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(14, 16, 22, 0.7);
  border: 1px solid rgba(140, 148, 168, 0.4);
  color: rgba(190, 196, 212, 0.92);
}

/* Resolution badge (bottom-left of image) */
.card-res-badge {
  position: absolute;
  bottom: 9px;
  left: 9px;
  z-index: 4;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.res-fhd {
  background: rgba(30, 32, 42, 0.82);
  border: 1px solid rgba(120, 125, 148, 0.35);
  color: rgba(180, 185, 200, 0.82);
}

.res-1440p {
  background: rgba(6, 32, 48, 0.82);
  border: 1px solid rgba(25, 180, 220, 0.38);
  color: rgba(80, 200, 230, 0.9);
}

.res-4k {
  background: rgba(38, 28, 6, 0.82);
  border: 1px solid rgba(195, 160, 35, 0.38);
  color: rgba(210, 178, 65, 0.9);
}

.res-default {
  background: rgba(30, 32, 42, 0.78);
  border: 1px solid rgba(105, 110, 130, 0.32);
  color: rgba(160, 165, 185, 0.78);
}

/* Tags strip (below image) */
.card-tags-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 12px 2px;
  min-height: 0;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(25, 220, 255, 0.72);
  background: rgba(25, 220, 255, 0.07);
  border: 1px solid rgba(25, 220, 255, 0.18);
}

/* Card content (body) — override existing padding */
.card > .card-content {
  padding: 8px 12px 6px;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.card-user {
  margin: 0;
  font-size: 0.7rem;
  color: rgba(248, 250, 252, 0.48);
}

/* GPU feature row */
.spec-gpu-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(25,227,255,0.07), rgba(123,97,255,0.07));
  border: 1px solid rgba(25,227,255,0.14);
  margin-top: 1px;
}

.spec-gpu-label {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 900;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spec-gpu-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f0f8ff;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* CPU + RAM mini 2-col */
.spec-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.spec-mini-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 8px;
  border-radius: 7px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.055);
}

.spec-mini-label {
  font-size: 0.58rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.spec-mini-val {
  font-size: 0.7rem;
  color: rgba(248,250,252,0.8);
  overflow-wrap: anywhere;
  line-height: 1.3;
}

/* Usage + meta tags row */
.card-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.usage-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 700;
}

.usage-game {
  background: rgba(148, 163, 184, 0.07);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: rgba(203, 213, 225, 0.82);
}

.usage-stream {
  background: rgba(148, 163, 184, 0.07);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: rgba(203, 213, 225, 0.82);
}

.usage-creative {
  background: rgba(148, 163, 184, 0.07);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: rgba(203, 213, 225, 0.82);
}

.usage-rgb {
  background: rgba(148, 163, 184, 0.07);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: rgba(203, 213, 225, 0.82);
}

.usage-default {
  background: rgba(148, 163, 184, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: rgba(148, 163, 184, 0.72);
}

/* Card actions bar (detail link + nice btn) */
.card > .card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 12px;
  border-top: 1px solid rgba(255,255,255,0.045);
  margin-top: 0;
  flex-wrap: nowrap;
}

/* Detail link — pill style with neon accent */
.card > .card-actions .detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 7px 10px;
  min-height: 34px;
  border-radius: 999px;
  background: rgba(25,227,255,0.08);
  border: 1px solid rgba(25,227,255,0.28);
  color: rgba(25,227,255,0.88);
  font-size: 0.77rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.card > .card-actions .detail-link:hover {
  background: rgba(25,227,255,0.16);
  border-color: rgba(25,227,255,0.55);
  transform: translateY(-1px);
}

/* Nice button — heart SNS style */
.card > .card-actions .nice-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 95, 135, 0.28);
  background: rgba(255, 95, 135, 0.07);
  color: rgba(255, 135, 165, 0.9);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.card > .card-actions .nice-btn:hover {
  background: rgba(255, 95, 135, 0.14);
  border-color: rgba(255, 95, 135, 0.5);
  transform: translateY(-1px);
}

.card > .card-actions .nice-btn.is-liked {
  background: rgba(255, 50, 95, 0.2);
  border-color: rgba(255, 50, 95, 0.58);
  color: #ff6e90;
}

.nice-icon {
  font-style: normal;
  line-height: 1;
  font-size: 0.9rem;
}

/* Index page card overrides */
.index-page .card:hover {
  border-color: rgba(25, 227, 255, 0.8);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(25, 227, 255, 0.14);
}

/* Responsive card grid */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card-tags-strip {
    padding: 6px 10px 2px;
  }

  .card > .card-content {
    padding: 7px 10px 5px;
  }

  .card > .card-actions {
    padding: 7px 10px 10px;
  }

  .spec-mini-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =====================
   Popular tags bar
===================== */
.all-posts-page .popular-tags-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 0 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.all-posts-page .popular-tags-label {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding-top: 7px;
  min-width: 52px;
}

.all-posts-page .popular-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

/* =====================
   Popular tag button (.pop-tag)
===================== */
.pop-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(248, 250, 252, 0.68);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.15s ease,
    box-shadow 0.18s ease;
}

.pop-tag:hover {
  background: rgba(25, 227, 255, 0.08);
  border-color: rgba(25, 227, 255, 0.38);
  color: rgba(25, 227, 255, 0.92);
  transform: translateY(-1px);
}

.pop-tag.active {
  background: rgba(25, 227, 255, 0.15);
  border-color: var(--cyan);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(25, 227, 255, 0.28);
}

.pop-tag-count {
  font-size: 0.63rem;
  font-weight: 500;
  opacity: 0.55;
}

/* =====================
   Tag color variants
   (.pop-tag と .card-tag 両方に適用)
===================== */

/* AMD — 赤（落ち着いたトーン） */
.pop-tag.tag-amd,
.card-tag.tag-amd {
  color: rgba(210, 120, 100, 0.88);
  background: rgba(180, 60, 40, 0.07);
  border-color: rgba(200, 100, 80, 0.24);
}
.pop-tag.tag-amd:hover {
  background: rgba(180, 60, 40, 0.13);
  border-color: rgba(200, 100, 80, 0.45);
  color: rgba(225, 140, 115, 1);
}
.pop-tag.tag-amd.active {
  background: rgba(180, 60, 40, 0.18);
  border-color: rgba(200, 100, 80, 0.7);
  box-shadow: 0 0 8px rgba(200, 100, 80, 0.2);
  color: #fff;
}

/* Intel — 青（落ち着いたトーン） */
.pop-tag.tag-intel,
.card-tag.tag-intel {
  color: rgba(120, 175, 230, 0.88);
  background: rgba(40, 90, 180, 0.07);
  border-color: rgba(100, 150, 220, 0.24);
}
.pop-tag.tag-intel:hover {
  background: rgba(40, 90, 180, 0.13);
  border-color: rgba(100, 150, 220, 0.45);
  color: rgba(145, 195, 240, 1);
}
.pop-tag.tag-intel.active {
  background: rgba(40, 90, 180, 0.18);
  border-color: rgba(100, 150, 220, 0.7);
  box-shadow: 0 0 8px rgba(100, 150, 220, 0.2);
  color: #fff;
}

/* Corsair — ゴールド（落ち着いたトーン） */
.pop-tag.tag-corsair,
.card-tag.tag-corsair {
  color: rgba(200, 158, 80, 0.88);
  background: rgba(180, 130, 20, 0.07);
  border-color: rgba(200, 158, 60, 0.24);
}
.pop-tag.tag-corsair:hover {
  background: rgba(180, 130, 20, 0.13);
  border-color: rgba(200, 158, 60, 0.45);
}
.pop-tag.tag-corsair.active {
  background: rgba(180, 130, 20, 0.18);
  border-color: rgba(200, 158, 60, 0.7);
  box-shadow: 0 0 8px rgba(200, 158, 60, 0.2);
  color: #fff;
}

/* NZXT — ホワイト/シルバー */
.pop-tag.tag-nzxt,
.card-tag.tag-nzxt {
  color: rgba(200, 210, 225, 0.85);
  background: rgba(180, 195, 215, 0.05);
  border-color: rgba(180, 195, 215, 0.2);
}
.pop-tag.tag-nzxt:hover {
  background: rgba(180, 195, 215, 0.1);
  border-color: rgba(180, 195, 215, 0.42);
  color: rgba(220, 228, 240, 1);
}
.pop-tag.tag-nzxt.active {
  background: rgba(180, 195, 215, 0.13);
  border-color: rgba(180, 195, 215, 0.65);
  box-shadow: 0 0 8px rgba(180, 195, 215, 0.15);
  color: #fff;
}

/* 白PC — ホワイト */
.pop-tag.tag-white,
.card-tag.tag-white {
  color: rgba(225, 232, 242, 0.9);
  background: rgba(230, 235, 245, 0.05);
  border-color: rgba(230, 235, 245, 0.22);
}
.pop-tag.tag-white:hover {
  background: rgba(230, 235, 245, 0.1);
  border-color: rgba(230, 235, 245, 0.45);
  color: #fff;
}
.pop-tag.tag-white.active {
  background: rgba(230, 235, 245, 0.12);
  border-color: rgba(230, 235, 245, 0.7);
  box-shadow: 0 0 8px rgba(230, 235, 245, 0.14);
  color: #fff;
}

/* RGB — パープル（落ち着いたトーン） */
.pop-tag.tag-rgb,
.card-tag.tag-rgb {
  color: rgba(180, 130, 215, 0.88);
  background: rgba(140, 60, 200, 0.07);
  border-color: rgba(170, 110, 210, 0.24);
}
.pop-tag.tag-rgb:hover {
  background: rgba(140, 60, 200, 0.13);
  border-color: rgba(170, 110, 210, 0.45);
  color: rgba(200, 155, 230, 1);
}
.pop-tag.tag-rgb.active {
  background: rgba(140, 60, 200, 0.18);
  border-color: rgba(170, 110, 210, 0.7);
  box-shadow: 0 0 8px rgba(170, 110, 210, 0.2);
  color: #fff;
}

/* 水冷 — シアン（落ち着いたトーン） */
.pop-tag.tag-water,
.card-tag.tag-water {
  color: rgba(60, 185, 215, 0.88);
  background: rgba(0, 155, 190, 0.07);
  border-color: rgba(40, 175, 210, 0.24);
}
.pop-tag.tag-water:hover {
  background: rgba(0, 155, 190, 0.13);
  border-color: rgba(40, 175, 210, 0.45);
  color: rgba(80, 205, 235, 1);
}
.pop-tag.tag-water.active {
  background: rgba(0, 155, 190, 0.18);
  border-color: rgba(40, 175, 210, 0.7);
  box-shadow: 0 0 8px rgba(40, 175, 210, 0.2);
  color: #fff;
}

/* ブランド汎用 (Lian Li, Fractal, be quiet! etc.) */
.pop-tag.tag-brand,
.card-tag.tag-brand {
  color: rgba(155, 170, 195, 0.82);
  background: rgba(145, 160, 185, 0.05);
  border-color: rgba(155, 170, 195, 0.18);
}
.pop-tag.tag-brand:hover {
  background: rgba(145, 160, 185, 0.1);
  border-color: rgba(155, 170, 195, 0.38);
  color: rgba(175, 188, 210, 1);
}
.pop-tag.tag-brand.active {
  background: rgba(145, 160, 185, 0.15);
  border-color: rgba(155, 170, 195, 0.6);
  color: #fff;
}

/* =====================
   Card tag extras
===================== */

/* +N more indicator */
.card-tag-more {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 0.6rem;
  color: rgba(148, 163, 184, 0.5);
  background: rgba(148, 163, 184, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.13);
}

/* =====================
   Responsive — tag bar
===================== */
@media (max-width: 768px) {
  .all-posts-page .popular-tags-bar {
    flex-direction: column;
    gap: 8px;
    padding: 10px 0 10px;
  }

  .all-posts-page .popular-tags-label {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .pop-tag {
    font-size: 0.7rem;
    padding: 4px 9px;
  }
}

/* =====================
   静的サイト向け 追加表示
   （掲載受付準備中ノート / 準備中カード / Nice注記）
===================== */

/* all-posts ヘッダーの「掲載受付準備中」ノート */
.coming-soon-note {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(123, 97, 255, 0.14);
  border: 1px dashed rgba(123, 97, 255, 0.5);
  color: #c7d2fe;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

/* 関連サイトの「準備中」カード（クリック不可） */
.index-page .related-card.is-disabled {
  cursor: default;
  opacity: 0.6;
}

.index-page .related-card.is-disabled:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.index-page .related-badge {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(248, 250, 252, 0.85);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Nice はローカル保存である旨の注記 */
.all-posts-page .nice-hint {
  margin: 4px 0 14px;
  color: rgba(248, 250, 252, 0.6);
  font-size: 0.8rem;
}

/* =====================
   Auth (Phase 2): ヘッダー状態表示 / 掲載CTA / login / mypage
===================== */

/* ヘッダーのログイン状態エリア */
.auth-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.auth-name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.85rem;
  color: #c7d2fe;
}

/* post.html のテキストリンク型ヘッダーでも崩れないように */
.post-detail-page .header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* 掲載受付 CTA バナー */
.submit-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 6px 0 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md, 12px);
  background: rgba(123, 97, 255, 0.12);
  border: 1px solid rgba(123, 97, 255, 0.34);
}

.submit-cta-text {
  font-size: 0.88rem;
  color: #e2e8f0;
}

/* =====================
   Auth ページ（login / mypage）共通
===================== */
.auth-page,
.mypage-page {
  background:
    radial-gradient(ellipse 100% 40% at 50% 0%, rgba(25, 227, 255, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 90% 0%, rgba(123, 97, 255, 0.05) 0%, transparent 50%),
    #050709;
  color: #f5f5f5;
  min-height: 100vh;
}

.auth-page .top-header,
.mypage-page .top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

/* マイページ全体を中央寄せ＋最大幅で、左寄り・横の伸びすぎを解消 */
.mypage-page .page {
  width: min(100% - 32px, 1100px);
  margin-inline: auto;
  padding: 28px 0 80px;
}

/* ヘッダーが画面端に張り付かない／スマホで折返す */
.mypage-page .top-header {
  flex-wrap: wrap;
}

.mypage-page .nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* 見出しをコンテナ幅に揃える */
.mypage-main .page-header {
  margin-bottom: 22px;
}

.mypage-main .page-title {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 800;
}

.mypage-main .page-subtitle {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(248, 250, 252, 0.62);
}

.auth-main {
  display: flex;
  justify-content: center;
  padding: 12px 0 40px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 28px 24px;
  border-radius: var(--radius-lg, 16px);
  background: rgba(7, 10, 16, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.auth-title {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.auth-lead {
  margin: 0 0 18px;
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.88rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-field label {
  font-size: 0.82rem;
  color: rgba(248, 250, 252, 0.8);
}

.auth-field input {
  padding: 10px 12px;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #050709;
  color: #f5f5f5;
  font-size: 0.92rem;
}

.auth-field input:focus {
  outline: none;
  border-color: #19e3ff;
  box-shadow: 0 0 0 2px rgba(25, 227, 255, 0.25);
}

.auth-field input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-actions-row {
  margin-top: 4px;
}

.auth-actions-row .btn {
  width: 100%;
  justify-content: center;
}

.auth-switch {
  margin: 16px 0 0;
  font-size: 0.84rem;
  color: rgba(248, 250, 252, 0.7);
}

.auth-link-btn {
  background: none;
  border: none;
  color: #19e3ff;
  cursor: pointer;
  font-size: 0.84rem;
  padding: 0;
  text-decoration: underline;
}

.auth-link-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-foot {
  margin: 14px 0 0;
}

.auth-link {
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.84rem;
}

/* メッセージ（共通） */
.auth-message,
.mypage-message {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: var(--radius-sm, 8px);
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.auth-message-error {
  border-color: rgba(255, 99, 99, 0.5);
  background: rgba(255, 99, 99, 0.12);
  color: #ffd7d7;
}

.auth-message-success {
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(74, 222, 128, 0.12);
  color: #d7ffe5;
}

.auth-message-info {
  border-color: rgba(25, 227, 255, 0.4);
  background: rgba(25, 227, 255, 0.1);
  color: #d7f6ff;
}

/* mypage */
.mypage-main {
  padding-bottom: 0;
}

/* カードは縦に積む（全カード同じ幅で左右端が揃う） */
.mypage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.mypage-card {
  padding: 22px;
  border-radius: var(--radius-lg, 16px);
  background: rgba(7, 10, 16, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mypage-card-title {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

/* アカウント情報：各項目をパネルで縦に整列。値は左寄せで読みやすく */
.mypage-info {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mypage-info-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: var(--radius-sm, 8px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mypage-info-row dt {
  color: rgba(248, 250, 252, 0.55);
  font-size: 0.76rem;
}

.mypage-info-row dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.92rem;
  text-align: left;
  overflow-wrap: anywhere;
}

.mypage-posts-placeholder {
  color: rgba(248, 250, 252, 0.75);
  font-size: 0.9rem;
}

.mypage-hint {
  margin-top: 8px;
  font-size: 0.82rem;
  color: rgba(248, 250, 252, 0.55);
}

@media (max-width: 640px) {
  .mypage-grid {
    grid-template-columns: 1fr;
  }
  .auth-name {
    max-width: 110px;
  }
}

/* =====================
   Submit (Phase 3): 投稿フォーム / マイページ投稿一覧 / ステータス
===================== */

.submit-page {
  background:
    radial-gradient(ellipse 100% 40% at 50% 0%, rgba(25, 227, 255, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 90% 0%, rgba(123, 97, 255, 0.05) 0%, transparent 50%),
    #050709;
  color: #f5f5f5;
  min-height: 100vh;
}

/* ページ全体を中央寄せ＋最大幅で、左寄り・右側の大きな余白を解消 */
.submit-page .page {
  width: min(100% - 32px, 1080px);
  margin-inline: auto;
  padding: 24px 0 48px;
}

.submit-page .top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap; /* スマホでロゴ/ナビが詰まったら自然に折返す */
  margin-bottom: 22px;
}

/* ヘッダー右側の導線を整列（他ページと同じ flex 体裁） */
.submit-page .nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.submit-main {
  padding-bottom: 48px;
}

/* 見出しブロックをフォーム幅（＝コンテナ幅）に揃える */
.submit-main .page-header {
  margin-bottom: 22px;
}

.submit-main .page-title {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 800;
}

.submit-main .page-subtitle {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(248, 250, 252, 0.62);
}

/* フォームはコンテナ幅いっぱい（最大 1080px）。タイトルとも左右端が揃う */
.submit-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: none;
}

.form-section {
  margin: 0;
  padding: 18px 18px 6px;
  border-radius: var(--radius-lg, 16px);
  background: rgba(7, 10, 16, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section legend {
  padding: 0 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #c7d2fe;
}

.req-note {
  font-weight: 500;
  font-size: 0.74rem;
  color: rgba(248, 250, 252, 0.6);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.form-field label {
  font-size: 0.82rem;
  color: rgba(248, 250, 252, 0.85);
}

.req {
  color: #ff9aa2;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 12px;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #050709;
  color: #f5f5f5;
  font-size: 0.9rem;
  width: 100%;
  box-sizing: border-box;
}

.form-field textarea {
  resize: vertical;
  min-height: 90px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #19e3ff;
  box-shadow: 0 0 0 2px rgba(25, 227, 255, 0.25);
}

.field-hint {
  margin: 0;
  font-size: 0.74rem;
  color: rgba(248, 250, 252, 0.5);
}

.submit-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.submit-note {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: rgba(248, 250, 252, 0.6);
}

.submit-done {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* マイページ: 投稿一覧 */
.mypage-card-wide {
  grid-column: 1 / -1;
}

.mypage-posts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.my-posts-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.my-posts-empty {
  padding: 16px;
  border-radius: var(--radius-sm, 8px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.86rem;
}

.my-post-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-md, 12px);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 上段：タイトル＋日付（左）とステータスバッジ（右） */
.my-post-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.my-post-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.my-post-title {
  font-weight: 700;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.my-post-date {
  font-size: 0.74rem;
  color: rgba(248, 250, 252, 0.5);
}

.my-post-meta {
  font-size: 0.78rem;
}

.my-post-note {
  font-size: 0.78rem;
  color: rgba(248, 250, 252, 0.55);
}

/* 操作ボタン（詳細 / 編集 / 削除）。スマホでも横にはみ出さないよう wrap */
.my-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.my-post-btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  min-height: 34px;
}

/* 削除：危険操作だが目立ちすぎない（控えめな赤・枠線のみ） */
.my-post-delete {
  background: transparent;
  border: 1px solid rgba(255, 99, 99, 0.4);
  color: rgba(255, 150, 150, 0.92);
  margin-left: auto; /* 編集ボタンと分離して誤操作を防ぐ */
}

.my-post-delete:hover {
  background: rgba(255, 99, 99, 0.12);
  border-color: rgba(255, 99, 99, 0.6);
}

/* 承認済み投稿の編集に関する注意（控えめに表示） */
.my-post-rereview {
  margin: 0;
  padding: 8px 12px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(248, 250, 252, 0.55);
  background: rgba(255, 255, 255, 0.035);
  border-left: 2px solid rgba(25, 227, 255, 0.28);
  border-radius: 8px;
}

@media (max-width: 640px) {
  /* 見出しと「構成を投稿する」ボタンを縦並びに */
  .mypage-posts-head {
    flex-direction: column;
    align-items: stretch;
  }
  /* 削除ボタンの自動マージンを解除し、ボタンを自然に左から並べる */
  .my-post-delete {
    margin-left: 0;
  }
}

/* ステータスバッジ */
.status-badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  border: 1px solid transparent;
}

.status-approved {
  background: rgba(74, 222, 128, 0.14);
  border-color: rgba(74, 222, 128, 0.5);
  color: #b9f6ce;
}

.status-pending {
  background: rgba(250, 204, 21, 0.14);
  border-color: rgba(250, 204, 21, 0.5);
  color: #fde68a;
}

.status-rejected {
  background: rgba(255, 99, 99, 0.14);
  border-color: rgba(255, 99, 99, 0.5);
  color: #ffd7d7;
}

.status-draft {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(248, 250, 252, 0.8);
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================
   Admin (Phase 6): 投稿承認画面 / 管理者バッジ
===================== */

.admin-page {
  background:
    radial-gradient(ellipse 100% 40% at 50% 0%, rgba(25, 227, 255, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 90% 0%, rgba(123, 97, 255, 0.05) 0%, transparent 50%),
    #050709;
  color: #f5f5f5;
  min-height: 100vh;
}

.admin-page .top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

/* 管理ページ全体を中央寄せ＋最大幅で、間延び・左寄りを解消 */
.admin-page .page {
  width: min(100% - 32px, 1040px);
  margin-inline: auto;
  padding: 24px 0 48px;
}

/* ヘッダー右側の導線を整列（詰まり防止）。他ページと同じ flex 体裁に揃える */
.admin-page .nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-main {
  padding-bottom: 48px;
}

/* 見出しブロックの余白とサイズ（左寄りの間延びを抑える） */
.admin-main .page-header {
  margin-bottom: 22px;
}

.admin-main .page-title {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 800;
}

.admin-main .page-subtitle {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(248, 250, 252, 0.6);
}

/* 管理者バッジ（ヘッダー / 見出し / マイページ） */
.admin-chip,
.admin-tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, rgba(25, 227, 255, 0.22), rgba(123, 97, 255, 0.22));
  border: 1px solid rgba(123, 97, 255, 0.5);
  color: #d7e6ff;
  vertical-align: middle;
}

.admin-tag {
  font-size: 0.72rem;
  margin-left: 6px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.admin-count {
  font-size: 0.9rem;
  font-weight: 700;
  color: #c7d2fe;
}

.admin-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius-lg, 16px);
  background: rgba(7, 10, 16, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.admin-card-title {
  margin: 0;
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}

.admin-card-meta {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(248, 250, 252, 0.55);
}

.admin-card-img {
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
  background: #050709;
  aspect-ratio: 16 / 9;
}

.admin-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
}

.admin-spec {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.admin-spec-label {
  font-size: 0.68rem;
  color: rgba(248, 250, 252, 0.5);
}

.admin-spec-val {
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.admin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-comment {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(248, 250, 252, 0.78);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm, 8px);
  padding: 8px 10px;
  /* 長文コメントが管理カードからはみ出さないように */
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
}

.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.btn-reject {
  background: rgba(255, 99, 99, 0.14);
  border: 1px solid rgba(255, 99, 99, 0.5);
  color: #ffd7d7;
}

.btn-reject:hover {
  background: rgba(255, 99, 99, 0.22);
}

.admin-menu-card {
  border-color: rgba(123, 97, 255, 0.32);
  background:
    radial-gradient(circle at top right, rgba(123, 97, 255, 0.12), transparent 50%),
    rgba(7, 10, 16, 0.86);
}

/* 管理者メニュー内のボタンに少し余白（説明文との間） */
.admin-menu-card .btn {
  margin-top: 4px;
}

@media (max-width: 640px) {
  .admin-list {
    grid-template-columns: 1fr;
  }
}

/* =====================
   シッポPC相談室への導線（バナー / カード）
   既存デザインに合わせた控えめなシアン系。
===================== */

/* トップページ用：小さな横長バナー */
.consult-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: var(--container);
  margin: 28px auto;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: rgba(25, 227, 255, 0.06);
  border: 1px solid rgba(25, 227, 255, 0.24);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.consult-banner:hover {
  background: rgba(25, 227, 255, 0.12);
  border-color: rgba(25, 227, 255, 0.45);
}

.consult-banner__icon {
  font-size: 20px;
  line-height: 1;
  flex: 0 0 auto;
}

.consult-banner__body {
  flex: 1 1 auto;
  min-width: 220px;
}

.consult-banner__text {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.consult-banner__sub {
  display: block;
  margin-top: 3px;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.consult-banner__btn {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--cyan);
  white-space: nowrap;
  flex: 0 0 auto;
}

@media (max-width: 560px) {
  .consult-banner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .consult-banner__body {
    flex-basis: 100%;
  }
}

/* 投稿詳細ページ用：控えめな導線カード */
.consult-card {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top right, rgba(25, 227, 255, 0.1), transparent 55%),
    rgba(25, 227, 255, 0.05);
  border: 1px solid rgba(25, 227, 255, 0.22);
}

.consult-card__icon {
  font-size: 30px;
  line-height: 1;
  flex: 0 0 auto;
}

.consult-card__body {
  flex: 1 1 260px;
  min-width: 220px;
}

.consult-card__title {
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text);
}

.consult-card__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.consult-card__btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .consult-card {
    flex-direction: column;
    text-align: center;
  }
  .consult-card__btn {
    width: 100%;
    justify-content: center;
  }
}

/* =====================
   親サイト「シッポ」回遊導線
===================== */
/* ヘッダー内の「シッポサイトへ」ボタン（.btn / .header-link を継承し、控えめなブランドアクセントを付与） */
.btn-sippo,
.header-link-sippo {
  gap: 6px;
  border-color: rgba(25, 227, 255, 0.32);
  background: rgba(25, 227, 255, 0.07);
  color: var(--text);
  white-space: nowrap;
}

.btn-sippo:hover,
.header-link-sippo:hover {
  border-color: rgba(25, 227, 255, 0.55);
  background: rgba(25, 227, 255, 0.14);
}

/* トップ／投稿詳細に置く親サイト案内カード */
.sippo-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top right, rgba(123, 97, 255, 0.12), transparent 55%),
    rgba(25, 227, 255, 0.05);
  border: 1px solid rgba(25, 227, 255, 0.22);
}

.sippo-cta__icon {
  font-size: 30px;
  line-height: 1;
  flex: 0 0 auto;
}

.sippo-cta__body {
  flex: 1 1 260px;
  min-width: 220px;
}

.sippo-cta__title {
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text);
}

.sippo-cta__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.sippo-cta__btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .sippo-cta {
    flex-direction: column;
    text-align: center;
  }
  .sippo-cta__btn {
    width: 100%;
    justify-content: center;
  }
}

/* =====================================================================
   UI改善（追記）: 横スクロール防止 / 押せる要素の明確化 / スマホ操作性
   既存ルールは変更せず、ここに集約。機能(JSのクラス名・data属性)は不変。
   ===================================================================== */

/* --- 1. 横スクロール保険（全ページ） -------------------------------
   .index-page 以外のページにも overflow ガードを付与。
   overflow-x: clip は hidden と違い position: sticky を壊さないため、
   post.html の固定ヘッダーを維持したまま横はみ出しだけを抑制できる。 */
html {
  overflow-x: clip;
}

body {
  max-width: 100%;
  overflow-x: clip;
}

/* ページ全体ラッパーが画面幅を超えないように（保険） */
.page,
.page-shell,
.container {
  max-width: 100%;
}

/* 長い英数字・URLの連続でカードや行が崩れるのを防ぐ */
.card-title,
.card-user,
.my-post-title,
.admin-card-title,
.post-spec-value,
.post-detail-tagline,
.auth-message,
.mypage-message {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* --- 2. キーボード操作のフォーカス可視化（focus-visible） ----------
   マウスクリック時は出さず、Tab操作時だけ明確なリングを表示。 */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.header-link:focus-visible,
.detail-link:focus-visible,
.nice-btn:focus-visible,
.chip:focus-visible,
.pop-tag:focus-visible,
.page-btn:focus-visible,
.sort-select:focus-visible,
.section-link:focus-visible,
.auth-link:focus-visible,
.auth-link-btn:focus-visible,
.my-post-btn:focus-visible,
.card:focus-visible,
.link-card:focus-visible,
.consult-banner:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* 入力欄は既存の focus リング(box-shadow)に加えて、
   キーボード時だけ枠を強調（マウス時の見た目は維持） */
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible,
.auth-field input:focus-visible,
.search-box:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* --- 3. 押した時のフィードバック（:active） ------------------------
   タップ/クリックで沈み込み、押せたことが分かるように。 */
.btn:active,
.header-link:active,
.detail-link:active,
.nice-btn:active,
.chip:active,
.pop-tag:active,
.page-btn:active,
.my-post-btn:active,
.link-card:active,
.consult-banner:active {
  transform: translateY(1px);
}

.card:active {
  transform: translateY(-3px) scale(0.995);
}

/* テキストリンクは押した時に下線を出してリンクと分かりやすく */
.section-link:active,
.auth-link:active,
.auth-link-btn:active {
  text-decoration: underline;
}

/* タップ時の青い半透明ハイライトを抑え、:active のフィードバックに統一 */
a,
button,
.card,
.chip,
.pop-tag,
[tabindex] {
  -webkit-tap-highlight-color: transparent;
}

/* --- 4. スマホ（hoverが効かない端末）での常時アフォーダンス --------
   通常時から「押せる感」を出す。デスクトップ(hover可)の見た目は変えない。 */
@media (hover: none) {
  /* 透明だった枠線ボタンだけに薄い背景を付けてボタンらしく。
     primary / sippo / reject など色付きボタンは既存の見た目を維持。 */
  .btn:not(.btn-primary):not(.btn-sippo):not(.btn-reject) {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
  }

  /* テキストだけのリンクは下線で「押せる」と分かるように */
  .section-link,
  .auth-link,
  .auth-link-btn {
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  /* カードは押せることを示すため、わずかな枠アクセントを常時表示 */
  .card,
  .link-card {
    border-color: rgba(25, 227, 255, 0.18);
  }
}

/* --- 5. スマホでのタップ領域確保（指で押しやすく） ----------------- */
@media (max-width: 640px) {
  .btn,
  .header-link {
    min-height: 44px;
  }

  .detail-link,
  .nice-btn,
  .chip,
  .pop-tag,
  .my-post-btn,
  .page-btn,
  .sort-select {
    min-height: 40px;
  }

  /* ヘッダー導線が窮屈にならないよう内側余白を微調整 */
  .header-link {
    padding: 0 14px;
  }

  /* 投稿/管理の操作ボタンは押しやすいよう横いっぱい寄りに */
  .submit-actions .btn,
  .submit-done .btn,
  .auth-actions-row .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* --- 6. ヘッダーのロゴ折れ防止（スマホ） ---------------------------
   狭幅でナビボタンにロゴが圧迫され「PC / Builds / Hub」と2〜3行に
   折れていたのを修正。ロゴは常に1行で表示し、入りきらない場合は
   ナビ側を下段へ回り込ませる（post.html の sticky ヘッダーも同様）。 */
@media (max-width: 600px) {
  .top-header,
  .header-inner {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .site-logo {
    white-space: nowrap;
  }
}

/* --- 7. ヘッダーナビが「縦書き化・1文字改行・重なり」する問題の修正 ---
   原因：日本語ラベルは既定で任意の文字位置で折り返せるため、ボタン/リンクが
   flex で内容幅より狭く潰されると 1 文字ずつ改行され縦書きのように見える。
   （前回追加の overflow-wrap 系がボタン文字に効きすぎる懸念への対処も兼ねる）

   方針（案A）：ロゴは1行、ナビは横一列に詰め込まず、
   読みやすい幅のボタンを「折り返して」複数行に並べる。横スクロールは出さない。 */
@media (max-width: 600px) {
  /* ナビ親：入りきらないボタンは次の行へ回り込ませる */
  .header-nav,
  .nav-actions,
  .auth-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  /* ナビ内のボタン/リンク：文字は必ず横書き1行、内容幅より狭く潰さない */
  .header-nav .header-link,
  .header-nav .btn,
  .nav-actions .btn,
  .nav-actions .header-link,
  .auth-actions .btn,
  .auth-actions .header-link {
    flex: 0 1 auto;          /* 内容幅基準。足りなければ折り返す（潰さない） */
    min-width: max-content;  /* 1文字改行・縦書き化を防ぐ */
    white-space: nowrap;     /* ラベルを横1行に固定 */
    word-break: keep-all;    /* 単語/語句の途中で割らない */
    overflow-wrap: normal;   /* 前回の anywhere がボタンに波及しても無効化 */
  }

  /* ログイン中のユーザー名は長くても折り返さず省略表示（重なり防止） */
  .auth-actions .auth-name {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* --- 8. ヘッダー/ナビ/ボタンの文字折り返しガード（全幅・無条件） ----
   前回追加の overflow-wrap: anywhere などが万一ヘッダーのリンクやボタンに
   波及して「1文字ずつ改行（縦書き化）」しないよう、ここで明示的に打ち消す。
   画面幅に関係なく、ナビのラベルは常に横書き1行で表示する。
   折り返しは「文字単位」ではなく「ボタン単位」で行い（親の flex-wrap）、
   画面全体の横スクロールは出さない。 */
.header-link,
.header-nav a,
.header-nav button,
.site-header .btn,
.top-header .btn,
.nav-actions a,
.nav-actions button,
.auth-actions a,
.auth-actions button {
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

/* ナビ親はボタン単位で折り返す（横スクロールを出さずに収める） */
.header-nav,
.nav-actions,
.auth-actions {
  flex-wrap: wrap;
}

/* ============================================================
   初心者向け 追加要素（表示専用・既存ロジック非干渉）
   ・一覧カードの「こんな人向け」＋初心者バッジ
   ・詳細ページのスペック読み替え説明／相談タイトルコピー
   ・一覧の「見るときのポイント」セクション
   ============================================================ */
.card-forwhom{margin:8px 0 0;font-size:13.5px;line-height:1.6;font-weight:700;color:var(--text-soft)}
.card-beginner-badges{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 2px}
.card-beginner-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:999px;font-size:11.5px;font-weight:800;line-height:1.3;color:#06283a;background:linear-gradient(135deg,#19e3ff,#60a5fa)}
.card-beginner-badge.is-soft{color:#e7ecff;background:rgba(91,111,255,.22);border:1px solid rgba(91,111,255,.4)}

/* 詳細：スペックの読み替え説明 */
.spec-guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:4px}
.spec-guide-item{padding:14px 16px;border-radius:14px;background:var(--chip-bg);border:1px solid var(--border)}
.spec-guide-item h3{display:flex;align-items:center;gap:7px;margin:0 0 5px;font-size:15px;color:var(--text)}
.spec-guide-item p{margin:0;font-size:13px;line-height:1.7;color:var(--muted)}
@media(max-width:560px){.spec-guide-grid{grid-template-columns:1fr}}

/* 詳細：相談メニューの箇条書き */
.consult-card__list{list-style:none;margin:10px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:6px 14px;text-align:left}
.consult-card__list li{position:relative;padding-left:18px;font-size:12.5px;line-height:1.55;color:var(--text-soft)}
.consult-card__list li::before{content:"\2713";position:absolute;left:0;color:var(--cyan);font-weight:900}
@media(max-width:560px){.consult-card__list{grid-template-columns:1fr}}

/* 詳細：相談時の投稿タイトルコピー */
.consult-copy{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px;padding:12px 14px;border-radius:12px;background:rgba(25,227,255,.07);border:1px solid rgba(25,227,255,.22);text-align:left}
.consult-copy__label{flex:1 1 160px;min-width:0;font-size:12.5px;line-height:1.6;color:var(--text-soft)}
.consult-copy__title{font-weight:800;color:var(--text);word-break:break-word}
.consult-copy__btn{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid var(--border-strong);color:var(--text);font-weight:800;font-size:13px;cursor:pointer}
.consult-copy__btn:hover{background:rgba(255,255,255,.16)}
.consult-copy__btn.is-copied{background:linear-gradient(135deg,#19e3ff,#60a5fa);color:#06283a;border-color:transparent}

/* 一覧：みんなのPC構成を見るときのポイント */
.builds-howto{padding:20px 22px;border-radius:18px;background:var(--chip-bg);border:1px solid var(--border)}
.builds-howto h3{margin:0 0 12px;font-size:18px;color:var(--text)}
.builds-howto ul{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,1fr);gap:8px 18px}
.builds-howto li{position:relative;padding-left:22px;font-size:13.5px;line-height:1.65;color:var(--text-soft)}
.builds-howto li::before{content:"🐾";position:absolute;left:0;top:1px;font-size:12px}
.builds-howto a{color:var(--cyan);text-decoration:underline}
@media(max-width:560px){.builds-howto ul{grid-template-columns:1fr}}
