/*
Theme Name: daiki-log Child
Template: generatepress
Version: 1.0.0
Description: daiki-log personal site child theme
*/

@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Press+Start+2P&display=swap');

:root {
  --fz-xs:   9px;
  --fz-sm:   11px;
  --fz-sm2:  12px;
  --fz-base: 13px;
  --fz-md:   14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #050505;
  color: #e0e0e0;
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  font-size: var(--fz-base);
  line-height: 1.6;
  padding-top: 52px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
  z-index: 999;
}

/* === NAVBAR === */
.navbar {
  background: #0a0a0a;
  border-bottom: 2px solid #00ff41;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-logo {
  font-family: 'Press Start 2P', monospace;
  font-size: var(--fz-md);
  color: #00ff41;
  text-shadow: 0 0 10px #00ff41;
  letter-spacing: 2px;
  text-transform: lowercase;
  text-decoration: none;
}
.navbar-logo span { color: #ffd700; }

.navbar-menu {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}

.navbar-menu a {
  color: #888;
  text-decoration: none;
  font-size: var(--fz-sm);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.navbar-menu a:hover { color: #00ff41; }
.navbar-menu .active a { color: #ffd700; }
.navbar-menu i { font-size: 10px; }

/* === HERO === */
.hero {
  border-bottom: 1px solid #1a1a1a;
  padding: 64px 32px 56px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,255,65,0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(255,215,0,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #00ff41;
  color: #00ff41;
  font-size: 10px;
  padding: 3px 10px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 36px;
  color: #00ff41;
  text-shadow: 0 0 20px rgba(0,255,65,0.5), 0 0 40px rgba(0,255,65,0.2);
  letter-spacing: 4px;
  margin-bottom: 8px;
  line-height: 1.4;
  text-transform: lowercase;
}
.hero-title span { color: #ffd700; }

.hero-subtitle {
  font-size: var(--fz-base);
  color: #888;
  margin-bottom: 6px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-catchphrase {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 32px;
  border-left: 3px solid #ffd700;
  padding-left: 12px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #00ff41;
  color: #0a0a0a;
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-sm2);
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  letter-spacing: 2px;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline {
  background: transparent;
  color: #00ff41;
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-sm2);
  padding: 10px 24px;
  border: 1px solid #00ff41;
  cursor: pointer;
  letter-spacing: 2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* === SECTION COMMON === */
.section {
  padding: 48px 32px;
  border-bottom: 1px solid #111;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.section-label {
  font-family: 'Press Start 2P', monospace;
  font-size: var(--fz-sm);
  color: #ffd700;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, #333, transparent);
}

/* === FEATURED === */
.featured-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border: 1px solid #00ff41;
  background: #0d0d0d;
}

.featured-image {
  background: #111;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #1f1f1f;
  position: relative;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.featured-image-inner { text-align: center; }
.featured-image-icon { font-size: 64px; color: #1e3a1e; display: block; margin-bottom: 10px; }
.featured-image-label { color: #2a5a2a; font-size: 10px; letter-spacing: 2px; }

.featured-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(0,255,65,0.03));
}

.featured-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #00ff41;
  color: #0a0a0a;
  font-size: var(--fz-xs);
  padding: 2px 8px;
  letter-spacing: 2px;
  font-weight: bold;
  margin-bottom: 12px;
  align-self: flex-start;
}

.featured-title {
  font-family: 'Press Start 2P', monospace;
  font-size: var(--fz-md);
  color: #e0e0e0;
  margin-bottom: 12px;
  line-height: 1.6;
}

.featured-desc {
  color: #666;
  font-size: var(--fz-sm2);
  line-height: 1.8;
  margin-bottom: 20px;
  flex: 1;
}

.featured-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }

.tag {
  border: 1px solid #333;
  color: #555;
  font-size: 10px;
  padding: 2px 8px;
  letter-spacing: 1px;
}

.featured-link {
  color: #00ff41;
  text-decoration: none;
  font-size: var(--fz-sm);
  letter-spacing: 2px;
  border-bottom: 1px solid #00ff41;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* === 2 COLUMN === */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.col-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1a1a1a;
}

.col-label {
  font-family: 'Press Start 2P', monospace;
  font-size: var(--fz-xs);
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.col-label.blog { color: #00ff41; }
.col-label.tools { color: #00ff41; }

.post-list { list-style: none; }

.post-item {
  padding: 12px 0;
  border-bottom: 1px solid #111;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.post-meta { display: flex; align-items: center; gap: 6px; color: #444; font-size: 10px; }

.post-title { color: #ccc; text-decoration: none; font-size: var(--fz-sm2); line-height: 1.5; }
.post-title:hover { color: #00ff41; }

.post-tags { display: flex; gap: 4px; }
.post-tag { font-size: var(--fz-xs); padding: 1px 6px; border: 1px solid #222; color: #555; }

.col-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: #444;
  font-size: 10px;
  text-decoration: none;
  letter-spacing: 1px;
  border-bottom: 1px solid #333;
}

/* === TOOL LIST === */
.tool-list { list-style: none; }

.tool-item { padding: 12px 0; border-bottom: 1px solid #111; display: flex; gap: 12px; align-items: flex-start; }

.tool-icon-wrap {
  width: 28px;
  height: 28px;
  border: 1px solid #1a3a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.tool-icon-wrap i { color: #1e5c1e; font-size: var(--fz-sm2); }

.tool-name { color: #ccc; font-size: var(--fz-sm2); text-decoration: none; display: block; margin-bottom: 3px; }
.tool-name:hover { color: #00ff41; }
.tool-desc { color: #444; font-size: var(--fz-sm); line-height: 1.5; }

/* === FOOTER === */
.footer {
  background: #080808;
  border-top: 2px solid #111;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: lowercase;
}
.footer-logo span { color: #ffd700; }

.footer-copy { color: #333; font-size: 10px; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: #333; font-size: 10px; font-family: 'Share Tech Mono', monospace; text-decoration: none; }
.footer-links a:hover { color: #00ff41; }

@media (max-width: 600px) {
  .footer { flex-direction: column; gap: 8px; align-items: center; text-align: center; }

  /* トップページの Blog・Tools を縦並びに */
  .two-col { grid-template-columns: 1fr; gap: 28px; }
}

/* === ANIMATIONS === */
.blink { animation: blink 1.2s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* === BOOT SCREEN === */
#boot-screen {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
#boot-screen.boot-done { opacity: 0; pointer-events: none; }
.boot-content { text-align: center; }
.boot-logo {
  font-family: 'Press Start 2P', monospace;
  font-size: 20px;
  color: #00ff41;
  text-shadow: 0 0 24px rgba(0,255,65,0.8);
  margin-bottom: 36px;
  text-transform: lowercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.boot-logo span { color: #ffd700; }
.boot-msg { color: #2a2a2a; font-size: var(--fz-xs); letter-spacing: 3px; margin-bottom: 20px; }
.boot-bar { width: 260px; height: 3px; background: #111; margin: 0 auto 16px; overflow: hidden; border: 1px solid #1a1a1a; }
.boot-bar-fill {
  height: 100%;
  background: #00ff41;
  width: 0;
  animation: bootProgress 2s ease-out forwards;
  box-shadow: 0 0 12px #00ff41;
}
@keyframes bootProgress {
  0%   { width: 0; }
  30%  { width: 42%; }
  60%  { width: 75%; }
  85%  { width: 92%; }
  100% { width: 100%; }
}
#boot-status { color: #1e5c1e; font-size: var(--fz-xs); letter-spacing: 2px; min-height: 14px; }

/* === GLITCH EFFECT === */
.hero-title { position: relative; }
.hero-title::before,
.hero-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-family: 'Press Start 2P', monospace;
  font-size: 36px;
  letter-spacing: 4px;
  text-transform: lowercase;
  text-shadow: none;
  opacity: 0;
}
.hero-title::before {
  color: #ff0040;
  animation: glitch-top 6s infinite;
}
.hero-title::after {
  color: #00cfff;
  animation: glitch-bottom 6s infinite;
}
@keyframes glitch-top {
  0%, 83%, 100% { opacity: 0; transform: translate(0); }
  85% { opacity: 0.9; transform: translate(-4px, -2px); clip-path: inset(0 0 72% 0); }
  87% { opacity: 0.9; transform: translate(4px, 1px);  clip-path: inset(0 0 58% 0); }
  89% { opacity: 0; }
}
@keyframes glitch-bottom {
  0%, 85%, 100% { opacity: 0; transform: translate(0); }
  87% { opacity: 0.9; transform: translate(4px, 2px);  clip-path: inset(68% 0 0 0); }
  89% { opacity: 0.9; transform: translate(-4px, -1px); clip-path: inset(52% 0 0 0); }
  91% { opacity: 0; }
}

/* === SCROLL FADE-IN === */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* === HOVER EFFECTS === */
.btn-primary {
  transition: transform 0.1s, box-shadow 0.15s;
  position: relative;
}
.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 #007a20;
}
.btn-primary:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 #007a20; }

.btn-outline { transition: background 0.2s, transform 0.1s, box-shadow 0.15s; }
.btn-outline:hover {
  background: rgba(0,255,65,0.08);
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 #1a3a1a;
}
.btn-outline:active { transform: translate(1px, 1px); box-shadow: none; }

.featured-card { transition: box-shadow 0.35s; }
.featured-card:hover { box-shadow: 0 0 28px rgba(0,255,65,0.18), inset 0 0 30px rgba(0,255,65,0.02); }

.navbar-logo { transition: text-shadow 0.2s; }
.navbar-logo:hover { text-shadow: 0 0 20px rgba(0,255,65,0.9); }

.navbar-menu a { transition: color 0.15s, text-shadow 0.15s; }
.navbar-menu a:hover { text-shadow: 0 0 8px rgba(0,255,65,0.5); }

.post-title { transition: color 0.15s; }
.tool-name  { transition: color 0.15s; }

.col-more { transition: color 0.2s, border-color 0.2s; }
.col-more:hover { color: #00ff41; border-color: #00ff41; }

.featured-link { transition: letter-spacing 0.2s, gap 0.2s; }
.featured-link:hover { letter-spacing: 3px; }

.post-item  { transition: background 0.15s; }
.post-item:hover  { background: rgba(0,255,65,0.03); }
.tool-item  { transition: background 0.15s; }
.tool-item:hover  { background: rgba(0,255,65,0.03); }

/* === CRT FLICKER === */
body.flicker::before {
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.22) 2px,
    rgba(0,0,0,0.22) 4px
  );
  animation: flickerPulse 0.1s step-end;
}
@keyframes flickerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============================================================
   GAMES — SHARED
   ============================================================ */

/* バッジ */
.games-badge {
  display: inline-block;
  border: 1px solid #333;
  padding: 2px 8px;
  font-size: 10px;
  color: #888;
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: 1px;
}
.games-badge--web,
.games-badge--mobile   { border-color: #00ff41; color: #00ff41; }
.games-badge--released { border-color: #ffd700; color: #ffd700; }
.games-badge--wip      { border-color: #333;    color: #555; }
.games-badge--pc       { border-color: #555;    color: #888; }

/* セクションラベル（Games 専用 — 既存 .section-label と別クラス） */
.games-section-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: #ffd700;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.games-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #1a1a1a;
}

/* モバイルナビ切り替えボタン（デフォルトは非表示） */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #333;
  color: #00ff41;
  font-size: 18px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* モバイルナビ — 全ページ共通（navbar マークアップは全テンプレート共通のため
   ページ種別に依存しないグローバルルールで切り替える） */
@media (max-width: 600px) {
  .nav-toggle {
    display: flex;
  }
  .navbar-menu {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: #0a0a0a;
    border-bottom: 2px solid #00ff41;
    flex-direction: column;
    gap: 0;
    z-index: 100;
  }
  .navbar-menu.is-open {
    display: flex;
  }
  .navbar-menu li {
    border-bottom: 1px solid #111;
  }
  .navbar-menu li a {
    display: block;
    padding: 14px 24px;
  }
}

/* WIP 点滅ドット */
.games-wip-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  margin-top: 4px;
  background: #ffd700;
  border-radius: 50%;
  animation: games-blink 1s step-end infinite;
}
@keyframes games-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.games-wip-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #555;
  font-size: var(--fz-sm);
  line-height: 1.7;
}

/* ============================================================
   GAMES — ARCHIVE
   ============================================================ */

.games-page-header {
  padding: 36px 32px 24px;
  border-bottom: 1px solid #1a1a1a;
}
.games-page-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: #ffd700;
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.games-page-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 20px;
  color: #00ff41;
  text-shadow: 0 0 12px rgba(0,255,65,0.5);
  margin-bottom: 8px;
  line-height: 1.4;
}
.games-page-subtitle { color: #555; font-size: var(--fz-sm); }

/* フィルターバー */
.games-filter-bar {
  padding: 16px 32px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #111;
}
.games-filter-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: #444;
  margin-right: 4px;
}
.games-filter-btn {
  background: transparent;
  border: 1px solid #333;
  color: #666;
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-sm);
  padding: 5px 14px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.games-filter-btn:hover  { border-color: #00ff41; color: #00ff41; }
.games-filter-btn.active { border-color: #00ff41; color: #00ff41; background: rgba(0,255,65,0.05); }

/* コンテンツラッパー */
.games-content {
  padding: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

/* フィーチャードカード */
.games-featured-card {
  display: flex;
  gap: 24px;
  background: #0a0a0a;
  border: 1px solid #ffd700;
  padding: 20px;
  margin-bottom: 40px;
  position: relative;
}
.games-featured-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.games-featured-body .btn-primary { position: relative; z-index: 2; }
.games-featured-card::before {
  content: '★ FEATURED';
  position: absolute;
  top: -10px;
  left: 16px;
  background: #050505;
  padding: 0 8px;
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: #ffd700;
}
.games-featured-thumb {
  width: 280px;
  height: 175px;
  flex-shrink: 0;
  background: #111;
  border: 1px solid #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.games-featured-thumb img { width: 100%; height: 100%; object-fit: cover; }
.games-featured-icon { font-size: 40px; color: #333; }
.games-featured-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.games-featured-badges { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.games-featured-title {
  font-family: 'Press Start 2P', monospace;
  font-size: var(--fz-md);
  color: #e0e0e0;
  margin-bottom: 10px;
  line-height: 1.6;
}
.games-featured-desc {
  color: #888;
  font-size: var(--fz-sm2);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

/* カードグリッド */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.games-card {
  background: #0a0a0a;
  border: 1px solid #00ff41;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.15s, box-shadow 0.15s;
}
.games-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,255,65,0.15);
}
.games-card-thumb {
  width: 100%;
  height: 130px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 28px;
  border-bottom: 1px solid #1a1a1a;
  overflow: hidden;
}
.games-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.games-card-body { padding: 12px; }
.games-card-badges { display: flex; gap: 4px; margin-bottom: 8px; flex-wrap: wrap; }
.games-card-title {
  font-family: 'Press Start 2P', monospace;
  font-size: var(--fz-xs);
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 6px;
}
.games-card-excerpt { color: #555; font-size: 10px; line-height: 1.6; }

/* ============================================================
   GAMES — SINGLE
   ============================================================ */

.games-breadcrumb {
  padding: 12px 32px;
  font-size: 10px;
  color: #444;
  border-bottom: 1px solid #111;
}
.games-breadcrumb a { color: #555; text-decoration: none; }
.games-breadcrumb a:hover { color: #00ff41; }
.games-breadcrumb-sep { color: #333; margin: 0 6px; }

.games-single-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid #1a1a1a;
}
.games-single-badges { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.games-single-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 18px;
  color: #00ff41;
  text-shadow: 0 0 12px rgba(0,255,65,0.5);
  line-height: 1.6;
  margin-bottom: 10px;
}
.games-single-tagline { color: #666; font-size: var(--fz-sm2); line-height: 1.7; }

.games-single-content {
  padding: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

/* 2カラムレイアウト */
.games-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  margin-bottom: 48px;
  align-items: start;
}
/* ギャラリーなし時は情報パネルのみ表示 */
.games-layout--no-gallery {
  grid-template-columns: 320px;
}

/* ギャラリー */
.games-gallery-main {
  background: #111;
  border: 1px solid #1a1a1a;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.games-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.games-gallery-placeholder { color: #333; font-size: 48px; }
.games-gallery-counter {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  border: 1px solid #333;
  padding: 3px 8px;
  font-size: var(--fz-xs);
  color: #555;
}
.games-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.games-gallery-thumb {
  border: 1px solid #222;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}
.games-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.games-gallery-thumb:hover,
.games-gallery-thumb.is-active { border-color: #00ff41; }

/* 情報パネル */
.games-info-panel {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  padding: 20px;
}
.games-info-row {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #111;
}
.games-info-row:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.games-info-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: #444;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.games-info-value { color: #888; font-size: var(--fz-sm); line-height: 1.7; }
.games-info-value--released { color: #00ff41; }
.games-info-value--wip      { color: #ffd700; }

/* パネル CTA（左寄せ・コンテンツ幅） */
.games-panel-cta { display: flex; flex-direction: column; gap: 8px; }
.games-panel-cta .btn-primary,
.games-panel-cta .btn-outline {
  align-self: flex-start;
}

/* DEV STORY */
.games-dev-story { margin-bottom: 0; }
.games-dev-story-body {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-left: 3px solid #00ff41;
  padding: 24px;
  color: #888;
  font-size: var(--fz-sm2);
  line-height: 2;
}
.games-dev-story-body p { margin-bottom: 16px; }
.games-dev-story-body p:last-child { margin-bottom: 0; }
.games-dev-story-body h2,
.games-dev-story-body h3 {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: #00ff41;
  margin: 20px 0 10px;
  line-height: 1.6;
}
.games-dev-story-body ul,
.games-dev-story-body ol { padding-left: 20px; margin-bottom: 16px; }
.games-dev-story-body li { margin-bottom: 6px; }
.games-dev-story-body a { color: #00ff41; }

/* CTA ストリップ（DEV STORY 直下） */
.games-cta-strip {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 24px;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-top: none;
  margin-bottom: 48px;
}
.games-cta-strip--wip { border-color: #222; }
.games-cta-strip-text {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: #444;
  flex: 1;
  line-height: 1.8;
}
.games-cta-strip .btn-primary,
.games-cta-strip .btn-outline { white-space: nowrap; }

/* 関連ゲーム */
.games-related { margin-bottom: 48px; }
.games-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.games-related-card {
  background: #0a0a0a;
  border: 1px solid #222;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s;
}
.games-related-card:hover { border-color: #00ff41; }
.games-related-thumb {
  width: 100%;
  height: 90px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 24px;
  border-bottom: 1px solid #1a1a1a;
  overflow: hidden;
}
.games-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.games-related-body { padding: 10px; }
.games-related-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 6px;
}
.games-related-badges { display: flex; gap: 4px; flex-wrap: wrap; }

/* ============================================================
   GAMES — RESPONSIVE
   ============================================================ */

/* タブレット（601〜900px） */
@media (max-width: 900px) {
  /* Archive */
  .games-content { padding: 24px; }
  .games-page-header { padding: 28px 24px 20px; }
  .games-filter-bar { padding: 14px 24px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .games-featured-thumb { width: 200px; height: 130px; }
  .games-featured-title { font-size: var(--fz-sm2); }

  /* Single */
  .games-single-header { padding: 24px 24px 20px; }
  .games-single-content { padding: 24px; }
  .games-layout { grid-template-columns: 1fr; }
  .games-info-panel {
    order: -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }
  .games-info-row {
    flex: 1;
    min-width: 120px;
    border-bottom: none;
    border-right: 1px solid #111;
    padding-right: 16px;
    margin-bottom: 0;
  }
  .games-info-row:last-child {
    border-right: none;
    flex-basis: 100%;
    padding-right: 0;
    border-top: 1px solid #111;
    padding-top: 18px;
    margin-top: 18px;
  }
  .games-panel-cta { flex-direction: row; }
  .games-related-grid { grid-template-columns: repeat(3, 1fr); }
  .games-breadcrumb { padding: 10px 24px; }
}

/* モバイル（〜600px） */
@media (max-width: 600px) {
  /* ナビバーのモバイル対応はグローバルルール（.nav-toggle 付近）に統一 */

  /* Archive */
  .games-page-header { padding: 20px 16px 16px; }
  .games-page-title { font-size: var(--fz-md); }
  .games-filter-bar { padding: 12px 16px; gap: 6px; }
  .games-filter-btn { padding: 5px 10px; font-size: 10px; }
  .games-content { padding: 16px; }
  .games-featured-card { flex-direction: column; gap: 16px; }
  .games-featured-thumb { width: 100%; height: 200px; }
  .games-featured-title { font-size: var(--fz-sm); }
  .games-grid { grid-template-columns: 1fr; }

  /* Single */
  .games-breadcrumb { padding: 10px 16px; font-size: var(--fz-xs); }
  .games-single-header { padding: 20px 16px 16px; }
  .games-single-title { font-size: var(--fz-base); }
  .games-single-content { padding: 16px; }
  .games-info-panel { flex-direction: column; }
  .games-info-row {
    border-right: none;
    border-bottom: 1px solid #111;
    padding-right: 0;
    margin-bottom: 18px;
    padding-bottom: 18px;
  }
  .games-info-row:last-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
  }
  .games-panel-cta { flex-direction: column; }
  .games-panel-cta .btn-primary,
  .games-panel-cta .btn-outline {
    align-self: stretch;
    text-align: center;
    justify-content: center;
  }
  .games-cta-strip { flex-direction: column; align-items: stretch; padding: 16px; }
  .games-cta-strip .btn-primary,
  .games-cta-strip .btn-outline {
    text-align: center;
    justify-content: center;
  }
  .games-related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   TOOLS — SHARED
   ============================================================ */

/* バッジ */
.tools-badge {
  display: inline-block;
  border: 1px solid #333;
  padding: 2px 8px;
  font-size: 10px;
  color: #888;
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: 1px;
}
.tools-badge--web,
.tools-badge--extension { border-color: #00ff41; color: #00ff41; }
.tools-badge--live      { border-color: #ffd700; color: #ffd700; }
.tools-badge--wip       { border-color: #333;    color: #555; }
.tools-badge--cli       { border-color: #555;    color: #888; }
.tools-badge--other     { border-color: #333;    color: #888; }

/* セクションラベル（Tools 専用） */
.tools-section-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: #ffd700;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tools-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #1a1a1a;
}

/* ============================================================
   TOOLS — ARCHIVE
   ============================================================ */

.tools-page-header {
  padding: 36px 32px 24px;
  border-bottom: 1px solid #1a1a1a;
}
.tools-page-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: #ffd700;
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.tools-page-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 20px;
  color: #00ff41;
  text-shadow: 0 0 12px rgba(0,255,65,0.5);
  margin-bottom: 8px;
  line-height: 1.4;
}
.tools-page-subtitle { color: #555; font-size: var(--fz-sm); }

/* フィルターバー */
.tools-filter-bar {
  padding: 16px 32px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #111;
}
.tools-filter-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: #444;
  margin-right: 4px;
}
.tools-filter-btn {
  background: transparent;
  border: 1px solid #333;
  color: #666;
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-sm);
  padding: 5px 14px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.tools-filter-btn:hover  { border-color: #00ff41; color: #00ff41; }
.tools-filter-btn.active { border-color: #00ff41; color: #00ff41; background: rgba(0,255,65,0.05); }

/* コンテンツラッパー */
.tools-content {
  padding: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

/* フィーチャードカード */
.tools-featured-card {
  display: flex;
  gap: 24px;
  background: #0a0a0a;
  border: 1px solid #ffd700;
  padding: 20px;
  margin-bottom: 40px;
  position: relative;
}
.tools-featured-card::before {
  content: '★ FEATURED';
  position: absolute;
  top: -10px;
  left: 16px;
  background: #050505;
  padding: 0 8px;
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: #ffd700;
}
.tools-featured-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.tools-featured-body .btn-primary { position: relative; z-index: 2; }
.tools-featured-thumb {
  width: 280px;
  height: 175px;
  flex-shrink: 0;
  background: #111;
  border: 1px solid #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tools-featured-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tools-featured-icon { font-size: 56px; color: #333; }
.tools-featured-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tools-featured-badges { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.tools-featured-title {
  font-family: 'Press Start 2P', monospace;
  font-size: var(--fz-md);
  color: #e0e0e0;
  margin-bottom: 10px;
  line-height: 1.6;
}
.tools-featured-desc {
  color: #888;
  font-size: var(--fz-sm2);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* カードグリッド */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tools-card {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.tools-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,255,65,0.1);
  border-color: #00ff41;
}
.tools-card-thumb {
  width: 100%;
  height: 130px;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 40px;
  border-bottom: 1px solid #1a1a1a;
  overflow: hidden;
}
.tools-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tools-card-body { padding: 12px; }
.tools-card-badges { display: flex; gap: 4px; margin-bottom: 8px; flex-wrap: wrap; }
.tools-card-title {
  font-family: 'Press Start 2P', monospace;
  font-size: var(--fz-xs);
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 6px;
}
.tools-card-excerpt { color: #555; font-size: 10px; line-height: 1.6; }

/* ============================================================
   TOOLS — SINGLE
   ============================================================ */

.tools-breadcrumb {
  padding: 12px 32px;
  font-size: 10px;
  color: #444;
  border-bottom: 1px solid #111;
}
.tools-breadcrumb a { color: #555; text-decoration: none; }
.tools-breadcrumb a:hover { color: #00ff41; }
.tools-breadcrumb-sep { color: #333; margin: 0 6px; }

.tools-single-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid #1a1a1a;
}
.tools-single-badges { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.tools-single-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 18px;
  color: #00ff41;
  text-shadow: 0 0 12px rgba(0,255,65,0.5);
  line-height: 1.6;
  margin-bottom: 10px;
}
.tools-single-tagline { color: #666; font-size: var(--fz-sm2); line-height: 1.7; }

.tools-single-content {
  padding: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

/* 2カラムレイアウト（ギャラリー常に表示） */
.tools-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  margin-bottom: 48px;
  align-items: start;
}

/* ギャラリー */
.tools-gallery-main {
  background: #111;
  border: 1px solid #1a1a1a;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tools-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.tools-gallery-placeholder { color: #333; font-size: 56px; }
.tools-gallery-counter {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  border: 1px solid #333;
  padding: 3px 8px;
  font-size: var(--fz-xs);
  color: #555;
}
.tools-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.tools-gallery-thumb {
  border: 1px solid #222;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}
.tools-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tools-gallery-thumb:hover,
.tools-gallery-thumb.is-active { border-color: #00ff41; }

/* 情報パネル */
.tools-info-panel {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  padding: 20px;
}
.tools-info-row {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #111;
}
.tools-info-row:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.tools-info-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  color: #444;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.tools-info-value { color: #888; font-size: var(--fz-sm); line-height: 1.7; }
.tools-info-value--live { color: #00ff41; }
.tools-info-value--wip  { color: #ffd700; }

/* パネル CTA（左寄せ・コンテンツ幅） */
.tools-panel-cta { display: flex; flex-direction: column; gap: 8px; }
.tools-panel-cta .btn-primary,
.tools-panel-cta .btn-outline { align-self: flex-start; }

/* HOW TO USE */
.tools-how-to { margin-bottom: 0; }
.tools-how-to-body {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-left: 3px solid #00ff41;
  padding: 24px;
  color: #888;
  font-size: var(--fz-sm2);
  line-height: 2;
}
.tools-how-to-body p { margin-bottom: 16px; }
.tools-how-to-body p:last-child { margin-bottom: 0; }
.tools-how-to-body h2,
.tools-how-to-body h3 {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: #00ff41;
  margin: 20px 0 10px;
  line-height: 1.6;
}
.tools-how-to-body ul,
.tools-how-to-body ol { padding-left: 20px; margin-bottom: 16px; }
.tools-how-to-body li { margin-bottom: 6px; }
.tools-how-to-body a { color: #00ff41; }

/* CTA ストリップ */
.tools-cta-strip {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 24px;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-top: none;
  margin-bottom: 48px;
}
.tools-cta-strip--wip { border-color: #222; }
.tools-cta-strip-text {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: #444;
  flex: 1;
  line-height: 1.8;
}
.tools-cta-strip .btn-primary,
.tools-cta-strip .btn-outline { white-space: nowrap; }

/* 関連ツール */
.tools-related { margin-bottom: 48px; }
.tools-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tools-related-card {
  background: #0a0a0a;
  border: 1px solid #222;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s;
}
.tools-related-card:hover { border-color: #00ff41; }
.tools-related-thumb {
  width: 100%;
  height: 90px;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 28px;
  border-bottom: 1px solid #1a1a1a;
  overflow: hidden;
}
.tools-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tools-related-body { padding: 10px; }
.tools-related-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 6px;
}
.tools-related-badges { display: flex; gap: 4px; flex-wrap: wrap; }

/* ============================================================
   TOOLS — RESPONSIVE
   ============================================================ */

/* タブレット（601〜900px） */
@media (max-width: 900px) {
  /* Archive */
  .tools-content { padding: 24px; }
  .tools-page-header { padding: 28px 24px 20px; }
  .tools-filter-bar { padding: 14px 24px; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-featured-thumb { width: 200px; height: 130px; }
  .tools-featured-title { font-size: var(--fz-sm2); }

  /* Single */
  .tools-single-header { padding: 24px 24px 20px; }
  .tools-single-content { padding: 24px; }
  .tools-layout { grid-template-columns: 1fr; }
  .tools-info-panel {
    order: -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }
  .tools-info-row {
    flex: 1;
    min-width: 120px;
    border-bottom: none;
    border-right: 1px solid #111;
    padding-right: 16px;
    margin-bottom: 0;
  }
  .tools-info-row:last-child {
    border-right: none;
    flex-basis: 100%;
    padding-right: 0;
    border-top: 1px solid #111;
    padding-top: 18px;
    margin-top: 18px;
  }
  .tools-panel-cta { flex-direction: row; }
  .tools-related-grid { grid-template-columns: repeat(3, 1fr); }
  .tools-breadcrumb { padding: 10px 24px; }
}

/* モバイル（〜600px） */
@media (max-width: 600px) {
  /* ナビバーのモバイル対応はグローバルルール（.nav-toggle 付近）に統一 */

  /* Archive */
  .tools-page-header { padding: 20px 16px 16px; }
  .tools-page-title { font-size: var(--fz-md); }
  .tools-filter-bar { padding: 12px 16px; gap: 6px; }
  .tools-filter-btn { padding: 5px 10px; font-size: 10px; }
  .tools-content { padding: 16px; }
  .tools-featured-card { flex-direction: column; gap: 16px; }
  .tools-featured-thumb { width: 100%; height: 180px; }
  .tools-featured-title { font-size: var(--fz-sm); }
  .tools-grid { grid-template-columns: 1fr; }

  /* Single */
  .tools-breadcrumb { padding: 10px 16px; font-size: var(--fz-xs); }
  .tools-single-header { padding: 20px 16px 16px; }
  .tools-single-title { font-size: var(--fz-base); }
  .tools-single-content { padding: 16px; }
  .tools-info-panel { flex-direction: column; }
  .tools-info-row {
    border-right: none;
    border-bottom: 1px solid #111;
    padding-right: 0;
    margin-bottom: 18px;
    padding-bottom: 18px;
  }
  .tools-info-row:last-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
  }
  .tools-panel-cta { flex-direction: column; }
  .tools-panel-cta .btn-primary,
  .tools-panel-cta .btn-outline {
    align-self: stretch;
    text-align: center;
    justify-content: center;
  }
  .tools-cta-strip { flex-direction: column; align-items: stretch; padding: 16px; }
  .tools-cta-strip .btn-primary,
  .tools-cta-strip .btn-outline {
    text-align: center;
    justify-content: center;
  }
  .tools-related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   BLOG 一覧
   ============================================================ */

/* Page Header */
.blog-page-header {
  text-align: center;
  padding: 56px 32px 40px;
  border-bottom: 1px solid #111;
}
.blog-page-label {
  font-family: 'Press Start 2P', monospace;
  font-size: var(--fz-xs);
  color: #ffd700;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.blog-page-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 32px;
  color: #00ff41;
  text-shadow: 0 0 20px rgba(0,255,65,0.5);
  margin-bottom: 12px;
}
.blog-page-subtitle {
  color: #555;
  font-size: var(--fz-base);
}

/* Filter Bar */
.blog-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 48px;
  border-bottom: 1px solid #111;
  flex-wrap: wrap;
}
.blog-filter-label {
  font-family: 'Press Start 2P', monospace;
  font-size: var(--fz-xs);
  color: #555;
  margin-right: 4px;
}
.blog-filter-btn {
  background: transparent;
  border: 1px solid #333;
  color: #888;
  padding: 6px 14px;
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-sm);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
}
.blog-filter-btn:hover { border-color: #00ff41; color: #00ff41; }
.blog-filter-btn.active {
  border-color: #00ff41;
  color: #00ff41;
  background: rgba(0,255,65,0.05);
}

/* Content */
.blog-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 32px;
}

/* Section Label */
.blog-section-label {
  font-family: 'Press Start 2P', monospace;
  font-size: var(--fz-xs);
  color: #ffd700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #1a1a1a;
}

/* Badge */
.blog-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: var(--fz-xs);
  font-family: 'Share Tech Mono', monospace;
  border-radius: 2px;
  border: 1px solid #00ff41;
  color: #00ff41;
}

/* Featured Card */
.blog-featured-card {
  position: relative;
  display: flex;
  border: 1px solid #00ff41;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 48px;
  background: #0a0a0a;
  box-shadow: 0 0 24px rgba(0,255,65,0.05);
}
.blog-featured-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.blog-featured-thumb {
  width: 360px;
  flex-shrink: 0;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  overflow: hidden;
  border-right: 1px solid #1a1a1a;
}
.blog-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-featured-icon {
  font-size: 48px;
  color: #333;
}
.blog-featured-body {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.blog-featured-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.blog-featured-title {
  font-family: 'Press Start 2P', monospace;
  font-size: var(--fz-md);
  color: #e0e0e0;
  line-height: 1.8;
  margin-bottom: 12px;
  text-shadow: 0 0 10px rgba(0,255,65,0.2);
}
.blog-featured-desc {
  color: #888;
  font-size: var(--fz-base);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.blog-card {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
}
.blog-card:hover {
  border-color: #00ff41;
  transform: translateY(-2px);
}
.blog-card-thumb {
  height: 140px;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #333;
  font-size: 32px;
  border-bottom: 1px solid #1a1a1a;
}
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-body { padding: 16px; }
.blog-card-badges { display: flex; gap: 6px; margin-bottom: 8px; }
.blog-card-title {
  font-family: 'Share Tech Mono', monospace;
  color: #e0e0e0;
  font-size: var(--fz-sm2);
  line-height: 1.6;
  margin-bottom: 6px;
}
.blog-card-date {
  color: #555;
  font-size: 10px;
  margin-bottom: 8px;
}
.blog-card-excerpt {
  color: #666;
  font-size: var(--fz-sm);
  line-height: 1.6;
}

/* Pagination */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 0 16px;
  border-top: 1px solid #111;
}
.blog-pag-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid #333;
  color: #888;
  text-decoration: none;
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.blog-pag-btn:hover { border-color: #00ff41; color: #00ff41; }
.blog-pag-info {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: #555;
}

/* ============================================================
   BLOG レスポンシブ
   ============================================================ */

@media (max-width: 900px) {
  .blog-page-header { padding: 32px 24px 24px; }
  .blog-page-title { font-size: 22px; }
  .blog-filter-bar { padding: 14px 24px; gap: 6px; }
  .blog-filter-btn { padding: 5px 10px; font-size: 10px; }
  .blog-content { padding: 24px; }
  .blog-featured-card { flex-direction: column; }
  .blog-featured-thumb {
    width: 100%;
    min-height: 180px;
    border-right: none;
    border-bottom: 1px solid #1a1a1a;
  }
  .blog-featured-title { font-size: var(--fz-sm2); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  /* ナビバーのモバイル対応はグローバルルール（.nav-toggle 付近）に統一 */

  .blog-page-title { font-size: var(--fz-md); }
  .blog-content { padding: 16px; }
  .blog-featured-body { padding: 20px; }
  .blog-featured-title { font-size: var(--fz-sm); }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-pag-btn { padding: 8px 14px; font-size: 7px; }
}

/* ===== BLOG SINGLE ===== */

.blog-single-breadcrumb {
  padding: 12px 32px;
  font-size: 10px;
  color: #444;
  border-bottom: 1px solid #111;
}
.blog-single-breadcrumb a { color: #555; text-decoration: none; }
.blog-single-breadcrumb a:hover { color: #00ff41; }
.blog-single-breadcrumb-sep { margin: 0 8px; color: #333; }

.blog-single-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid #1a1a1a;
}
.blog-single-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.blog-single-date { font-size: 10px; color: #555; }

.blog-single-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 18px;
  color: #e0e0e0;
  line-height: 1.8;
  text-shadow: 0 0 12px rgba(0,255,65,0.4);
  margin-bottom: 16px;
}
.blog-single-excerpt {
  font-size: var(--fz-sm2);
  color: #888;
  line-height: 1.8;
}

.blog-single-thumbnail {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #111;
}

.blog-single-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px;
}

.blog-single-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.blog-single-body {
  flex: 1;
  min-width: 0;
  font-size: var(--fz-md);
  line-height: 1.9;
  color: #ccc;
}
.blog-single-body h2 {
  font-family: 'Press Start 2P', monospace;
  font-size: var(--fz-base);
  color: #ffd700;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1a1a1a;
}
.blog-single-body h3 {
  font-family: 'Press Start 2P', monospace;
  font-size: var(--fz-sm);
  color: #e0e0e0;
  margin: 32px 0 12px;
}
.blog-single-body p { margin-bottom: 18px; }
.blog-single-body a { color: #00ff41; text-decoration: none; }
.blog-single-body a:hover { text-decoration: underline; }
.blog-single-body pre {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-left: 3px solid #00ff41;
  padding: 12px 16px;
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-sm2);
  color: #00ff41;
  overflow-x: auto;
  margin-bottom: 18px;
}
.blog-single-body :not(pre) > code {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  padding: 2px 6px;
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-sm2);
  color: #00ff41;
}
.blog-single-body ul,
.blog-single-body ol { padding-left: 20px; margin-bottom: 18px; }
.blog-single-body li { margin-bottom: 6px; }
.blog-single-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 16px 0;
  border: 1px solid #1a1a1a;
}
.blog-single-body blockquote {
  border-left: 3px solid #ffd700;
  padding: 12px 20px;
  margin: 18px 0;
  background: #0a0a0a;
  color: #888;
}

.blog-single-toc {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 72px;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
}
.blog-single-toc-inner {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  padding: 16px;
}
.blog-single-toc-label {
  font-family: 'Press Start 2P', monospace;
  font-size: var(--fz-xs);
  color: #ffd700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1a1a1a;
}
#blog-toc-list { list-style: none; padding: 0; margin: 0; }
#blog-toc-list li { margin-bottom: 0; }
#blog-toc-list a {
  display: block;
  font-size: 10px;
  color: #555;
  text-decoration: none;
  padding: 5px 0;
  line-height: 1.5;
  transition: color 0.15s;
}
#blog-toc-list a:hover,
#blog-toc-list a.is-active { color: #00ff41; }
#blog-toc-list .toc-h3 { padding-left: 12px; font-size: var(--fz-xs); }

.blog-single-tags {
  margin-bottom: 32px;
  padding-top: 24px;
  border-top: 1px solid #111;
}
.blog-single-tags-label { font-family: 'Press Start 2P', monospace; font-size: var(--fz-xs); color: #555; margin-bottom: 10px; }
.blog-single-tag {
  display: inline-block;
  border: 1px solid #1a1a1a;
  color: #555;
  padding: 2px 10px;
  font-size: 10px;
  margin-right: 8px;
  margin-bottom: 8px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.blog-single-tag:hover { border-color: #00ff41; color: #00ff41; }

.blog-badge--sm { font-size: 8px; }

.blog-single-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  padding-top: 24px;
  border-top: 1px solid #111;
}
.blog-single-nav-item {
  flex: 1;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  padding: 16px;
  text-decoration: none;
  transition: border-color 0.15s;
  display: block;
}
.blog-single-nav-item:hover { border-color: #00ff41; }
.blog-single-nav-direction { font-size: 8px; color: #555; margin-bottom: 6px; }
.blog-single-nav-title { font-size: var(--fz-sm); color: #e0e0e0; line-height: 1.6; }
.blog-single-nav-item--next { text-align: right; }

.blog-related { margin-bottom: 40px; padding-top: 24px; border-top: 1px solid #111; }
.blog-related-label { font-family: 'Press Start 2P', monospace; font-size: var(--fz-xs); color: #ffd700; margin-bottom: 20px; }
.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.blog-related-card {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  text-decoration: none;
  transition: border-color 0.15s;
  overflow: hidden;
  display: block;
}
.blog-related-card:hover { border-color: #00ff41; }
.blog-related-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 24px;
}
.blog-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-related-body { padding: 12px; }
.blog-related-title { font-size: 10px; color: #e0e0e0; line-height: 1.6; margin-bottom: 8px; }
.blog-related-meta { font-size: var(--fz-xs); color: #555; }

@media (max-width: 900px) {
  .blog-single-layout { flex-direction: column; }
  .blog-single-toc { display: none; }
  .blog-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-single-header { padding: 20px 16px 16px; }
  .blog-single-title { font-size: var(--fz-base); }
  .blog-single-content { padding: 16px; }
  .blog-related-grid { grid-template-columns: 1fr; }
  .blog-single-nav { flex-direction: column; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-page-header {
  text-align: center;
  padding: 48px 24px 32px;
  border-bottom: 1px solid #111;
}
.about-page-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-sm);
  color: #888;
  margin-bottom: 12px;
}
.about-page-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 28px;
  color: #00ff41;
  text-shadow: 0 0 12px rgba(0,255,65,0.5);
  margin-bottom: 12px;
}
.about-page-subtitle {
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-base);
  color: #555;
}

.about-terminal-wrap {
  max-width: 800px;
  margin: 48px auto 64px;
  padding: 0 24px;
}
.about-skip-hint {
  text-align: right;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: #333;
  margin-bottom: 6px;
}
.about-terminal {
  background: #0a0a0a;
  border: 1px solid #00ff41;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 24px rgba(0,255,65,0.08);
  cursor: pointer;
}
.about-terminal-bar {
  background: #111;
  border-bottom: 1px solid #1a1a1a;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.about-terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.about-terminal-dot--red    { background: #ff5f57; }
.about-terminal-dot--yellow { background: #febc2e; }
.about-terminal-dot--green  { background: #28c840; }
.about-terminal-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-sm);
  color: #555;
  margin-left: 8px;
}
.about-terminal-body {
  padding: 20px 24px 28px;
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-base);
  line-height: 2;
}
.about-t-line {
  color: #00ff41;
  display: block;
}

.about-box {
  border: 1px solid #333;
  padding: 16px 18px;
  margin-top: 12px;
}
.about-box-title {
  font-family: 'Press Start 2P', monospace;
  font-size: var(--fz-xs);
  color: #ffd700;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.about-box-row {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
  font-size: var(--fz-sm2);
  line-height: 1.7;
}
.about-box-key {
  color: #888;
  min-width: 90px;
  flex-shrink: 0;
}
.about-box-val {
  color: #e0e0e0;
}
.about-box-val p {
  margin: 0;
}
.about-box-val--empty {
  color: #555;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.skill-tag {
  background: #0a0a0a;
  border: 1px solid #00ff41;
  color: #00ff41;
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-sm);
  padding: 3px 10px;
  display: inline-block;
}

.about-works-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.about-works-stat {
  border: 1px solid #222;
  padding: 10px 16px;
  text-align: center;
  flex: 1;
  min-width: 120px;
}
.about-works-num {
  font-family: 'Press Start 2P', monospace;
  font-size: 20px;
  color: #00ff41;
  display: block;
  text-shadow: 0 0 8px rgba(0,255,65,0.4);
}
.about-works-label {
  font-size: 10px;
  color: #555;
  margin-top: 4px;
  display: block;
}
.about-works-link {
  font-size: 10px;
  color: #888;
  text-decoration: none;
  border-bottom: 1px solid #333;
  margin-top: 6px;
  display: inline-block;
}
.about-works-link:hover {
  color: #00ff41;
  border-color: #00ff41;
}

.about-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.about-social-link {
  border: 1px solid #333;
  color: #e0e0e0;
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-sm2);
  padding: 8px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, color 0.2s;
}
.about-social-link:hover {
  border-color: #00ff41;
  color: #00ff41;
}

.about-cursor {
  display: inline-block;
  color: #00ff41;
  animation: about-cursor-blink 1s step-end infinite;
}
@keyframes about-cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@media (max-width: 900px) {
  .about-page-title { font-size: 22px; }
  .about-terminal-body { font-size: var(--fz-sm2); padding: 16px 18px 24px; }
}
@media (max-width: 600px) {
  .about-page-title { font-size: 16px; }
  .about-terminal-body { font-size: var(--fz-sm); padding: 12px 14px 20px; }
  .about-box { padding: 12px 14px; }
  .about-box-key { min-width: 70px; }
  .about-works-grid { flex-direction: column; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-page-header {
  text-align: center;
  padding: 48px 24px 32px;
  border-bottom: 1px solid #111;
}
.contact-page-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-sm);
  color: #888;
  margin-bottom: 12px;
}
.contact-page-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 28px;
  color: #00ff41;
  text-shadow: 0 0 12px rgba(0,255,65,0.5);
  margin-bottom: 12px;
}
.contact-page-subtitle {
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-base);
  color: #555;
}

.contact-terminal-wrap {
  max-width: 640px;
  margin: 48px auto 64px;
  padding: 0 24px;
}
.contact-skip-hint {
  text-align: right;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: #333;
  margin-bottom: 6px;
}
.contact-terminal {
  background: #0a0a0a;
  border: 1px solid #00ff41;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 24px rgba(0,255,65,0.08);
  cursor: pointer;
}
.contact-terminal-bar {
  background: #111;
  border-bottom: 1px solid #1a1a1a;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.contact-terminal-dot--red    { background: #ff5f57; }
.contact-terminal-dot--yellow { background: #febc2e; }
.contact-terminal-dot--green  { background: #28c840; }
.contact-terminal-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-sm);
  color: #555;
  margin-left: 8px;
}
.contact-terminal-body {
  padding: 20px 24px 28px;
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-base);
  line-height: 2;
}
.contact-t-line {
  color: #00ff41;
  display: block;
}

.contact-box {
  border: 1px solid #333;
  padding: 16px 18px;
  margin-top: 12px;
}
.contact-box-title {
  font-family: 'Press Start 2P', monospace;
  font-size: var(--fz-xs);
  color: #ffd700;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

/* CF7 フォームスタイル上書き */
.contact-box .wpcf7 {
  font-family: 'Share Tech Mono', monospace;
}
.contact-box .wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-field-label {
  color: #888;
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-sm2);
  margin-bottom: 4px;
  display: block;
  margin-top: 12px;
}
.contact-box .wpcf7 input[type="text"],
.contact-box .wpcf7 input[type="email"] {
  background: transparent;
  border: none;
  border-bottom: 1px solid #00ff41;
  color: #e0e0e0;
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-base);
  padding: 4px 0;
  width: 100%;
  outline: none;
  border-radius: 0;
}
.contact-box .wpcf7 textarea {
  background: transparent;
  border: 1px solid #333;
  color: #e0e0e0;
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-base);
  padding: 8px;
  width: 100%;
  outline: none;
  resize: vertical;
  min-height: 100px;
  border-radius: 0;
  box-sizing: border-box;
}
.contact-box .wpcf7 input[type="text"]:focus,
.contact-box .wpcf7 input[type="email"]:focus,
.contact-box .wpcf7 textarea:focus {
  border-color: #00ff41;
  box-shadow: 0 0 8px rgba(0,255,65,0.4);
}
.contact-box .wpcf7 input[type="submit"] {
  background: transparent;
  border: 1px solid #00ff41;
  color: #00ff41;
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-sm2);
  padding: 8px 20px;
  cursor: pointer;
  float: right;
  margin-top: 16px;
  transition: background 0.2s, color 0.2s;
}
.contact-box .wpcf7 input[type="submit"]:hover {
  background: #00ff41;
  color: #050505;
}
.contact-box .wpcf7-not-valid-tip {
  color: #ff4444;
  font-size: var(--fz-sm);
  font-family: 'Share Tech Mono', monospace;
  display: block;
}
.contact-box .wpcf7-response-output {
  border-color: #00ff41;
  color: #00ff41;
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-sm2);
  margin-top: 16px;
  clear: both;
}
.contact-box .wpcf7-response-output.wpcf7-validation-errors,
.contact-box .wpcf7-response-output.wpcf7-mail-sent-ng {
  border-color: #ff4444;
  color: #ff4444;
}

.contact-cursor {
  display: inline-block;
  color: #00ff41;
  animation: contact-cursor-blink 1s step-end infinite;
}
@keyframes contact-cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@media (max-width: 900px) {
  .contact-page-title { font-size: 22px; }
  .contact-terminal-body { font-size: var(--fz-sm2); padding: 16px 18px 24px; }
}
@media (max-width: 600px) {
  .contact-page-title { font-size: 16px; }
  .contact-terminal-body { font-size: var(--fz-sm); padding: 12px 14px 20px; }
  .contact-box { padding: 12px 14px; }
}

/* ============================================================
   PRIVACY POLICY
   ============================================================ */

.privacy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.privacy-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 28px;
  color: #00ff41;
  text-shadow: 0 0 12px rgba(0,255,65,0.5);
  margin-bottom: 12px;
}

.privacy-subtitle {
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-base);
  color: #555;
  margin-bottom: 48px;
}

.privacy-section {
  border-bottom: 1px solid #1a1a1a;
  padding: 32px 0;
}

.privacy-section:last-child {
  border-bottom: none;
}

.privacy-section h2 {
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-md);
  color: #00ff41;
  margin-bottom: 16px;
}

.privacy-section p,
.privacy-section li {
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--fz-base);
  color: #e0e0e0;
  line-height: 1.8;
  margin-bottom: 8px;
}

.privacy-section ul {
  margin: 8px 0 8px 16px;
}

.privacy-section a {
  color: #ffd700;
  text-decoration: underline;
}

.privacy-section a:hover {
  color: #00ff41;
}

@media (max-width: 900px) {
  .privacy-title { font-size: 22px; }
}

@media (max-width: 600px) {
  .privacy-title { font-size: var(--fz-md); }
  .privacy-container { padding: 40px 16px; }
}

/* === AD UNIT === */
.ad-unit {
  margin: 40px 0;
  text-align: center;
  min-height: 50px;
}
.ad-unit ins.adsbygoogle {
  display: block;
}

.blog-single-toc-ad {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 255, 65, 0.15);
}
.blog-single-toc-ad ins.adsbygoogle {
  display: block;
}
