/*
Theme Name:  Greaby
Theme URI:   https://greaby.co
Author:      Greaby
Author URI:  https://greaby.co
Description: Thème greaby
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: greaby
Tags:        kawaii
*/

/* ── Tokens ──────────────────────────────────────────── */
:root {
  --cream:      #fff0f5;
  --blush:      #ffb8d0;
  --dusty-rose: #e8809a;
  --mauve:      #a05070;
  --sage:       #c0d4b8;
  --pixel:      #3a1a2e;
  --accent:     #ffaac8;

  --border: 2px solid var(--pixel);

  --font-pixel: 'Press Start 2P', monospace;

  --filter-lofi: sepia(.5) saturate(.55) contrast(1.4) brightness(.85) hue-rotate(315deg);
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Layout ──────────────────────────────────────────── */
body {
  background-color: var(--cream);
  background-image: radial-gradient(circle, var(--blush) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--pixel);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  padding: 0 2rem 2rem;
}

.site-wrap {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.site-wrap--wide { max-width: 100%; }

section {
  background: #fff;
  border: var(--border);
  box-shadow: 4px 4px 0 var(--pixel);
  padding: 1.5rem 2rem;
  position: relative;
}

/* ── Pixel decorations ───────────────────────────────── */
.pixel-heart {
  display: block;
  position: absolute;
  top: -14px;
  right: 20px;
  width: 6px;
  height: 6px;
  background: transparent;
  transform: rotate(15deg);
  filter: drop-shadow(4px 4px 0 #ffb8d0);
  cursor: pointer;
  box-shadow:
     6px  0px 0 0 #cc0000, 12px  0px 0 0 #cc0000,
    24px  0px 0 0 #cc0000, 30px  0px 0 0 #cc0000,
     0px  6px 0 0 #cc0000,  6px  6px 0 0 #cc0000, 12px  6px 0 0 #cc0000,
    18px  6px 0 0 #cc0000, 24px  6px 0 0 #cc0000, 30px  6px 0 0 #cc0000, 36px  6px 0 0 #cc0000,
     0px 12px 0 0 #cc0000,  6px 12px 0 0 #cc0000, 12px 12px 0 0 #cc0000,
    18px 12px 0 0 #cc0000, 24px 12px 0 0 #cc0000, 30px 12px 0 0 #cc0000, 36px 12px 0 0 #cc0000,
     6px 18px 0 0 #cc0000, 12px 18px 0 0 #cc0000, 18px 18px 0 0 #cc0000,
    24px 18px 0 0 #cc0000, 30px 18px 0 0 #cc0000,
    12px 24px 0 0 #cc0000, 18px 24px 0 0 #cc0000, 24px 24px 0 0 #cc0000,
    18px 30px 0 0 #cc0000;
}

.pixel-heart:active {
  filter: drop-shadow(3px 3px 0 #ffb8d0) brightness(1.3);
}

.heart-particle {
  position: fixed;
  pointer-events: none;
  font-size: 1.2rem;
  line-height: 1;
  animation: heart-fly 0.9s ease-out forwards;
  z-index: 9999;
}

.pixel-divider {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  color: var(--dusty-rose);
  font-family: var(--font-pixel);
}

.pixel-divider::before,
.pixel-divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--blush) 0 4px, transparent 4px 8px);
}

/* ── Typography — headings ───────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-pixel);
  line-height: 1.6;
}

h1 {
  font-size: 1.1rem;
  color: var(--dusty-rose);
  margin-bottom: .5rem;
}

section h1 {
  font-size: 1rem;
  color: var(--mauve);
  margin-bottom: 1rem;
  border-bottom: 2px dashed var(--blush);
  padding-bottom: .5rem;
}

h2 {
  font-size: .8rem;
  color: var(--dusty-rose);
  margin-bottom: .75rem;
  margin-top: 1.25rem;
}

h3 {
  font-size: .6rem;
  color: var(--dusty-rose);
  margin: 1rem 0 .5rem;
}

/* ── Typography — body ───────────────────────────────── */
p { margin-bottom: .75rem; }

a { color: var(--dusty-rose); text-decoration: underline dotted; }
a:hover { color: var(--mauve); }

strong  { font-weight: 700; }
em      { font-style: italic; color: var(--dusty-rose); }
mark    { background: var(--blush); padding: 0 .25rem; }
del     { color: #aaa; }
small   { font-size: .8em; opacity: .7; }
abbr    { text-decoration: underline dotted; cursor: help; }
sub     { vertical-align: sub;   font-size: .75em; }
sup     { vertical-align: super; font-size: .75em; }

blockquote {
  border-left: 4px solid var(--blush);
  padding: .75rem 1rem;
  background: rgba(242,196,206,.15);
  font-style: italic;
  color: var(--mauve);
  margin: 1rem 0;
}

blockquote cite {
  display: block;
  font-size: .8em;
  margin-top: .25rem;
  font-style: normal;
}

code {
  font-family: var(--font-pixel);
  font-size: .6rem;
  background: var(--pixel);
  color: var(--blush);
  padding: .1em .4em;
  border-radius: 2px;
}

pre {
  background: var(--pixel);
  color: var(--blush);
  padding: 1rem;
  overflow-x: auto;
  border: var(--border);
  box-shadow: 4px 4px 0 var(--dusty-rose);
}

pre code {
  background: none;
  padding: 0;
  font-size: .65rem;
  line-height: 1.9;
}

kbd {
  font-family: var(--font-pixel);
  font-size: .55rem;
  border: 2px solid var(--pixel);
  padding: .15em .4em;
  box-shadow: 2px 2px 0 var(--pixel);
  background: #fff;
}

/* ── Lists ───────────────────────────────────────────── */
ul, ol {
  padding-left: 1.5rem;
  margin-bottom: .75rem;
}

ul { list-style: none; }
ul li::before { content: '✿ '; color: var(--dusty-rose); }

ol { list-style: decimal; }
ol li::marker {
  color: var(--dusty-rose);
  font-family: var(--font-pixel);
  font-size: .65rem;
}

dl dt {
  font-family: var(--font-pixel);
  font-size: .6rem;
  color: var(--mauve);
  margin-top: .75rem;
}

dl dd {
  padding-left: 1rem;
  border-left: 3px solid var(--blush);
}

/* ── Media ───────────────────────────────────────────── */
figure {
  margin: 0;
  text-align: center;
}

figure img {
  max-width: 100%;
  border: var(--border);
  box-shadow: 4px 4px 0 var(--blush);
  display: block;
  margin: 0 auto;
}

figcaption {
  font-family: var(--font-pixel);
  font-size: .5rem;
  color: var(--mauve);
  margin-top: .5rem;
}

/* ── Forms ───────────────────────────────────────────── */
form { display: flex; flex-direction: column; gap: .75rem; }

label {
  font-family: var(--font-pixel);
  font-size: .55rem;
  color: var(--mauve);
  display: block;
  margin-bottom: .25rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="date"],
input[type="color"],
textarea,
select {
  width: 100%;
  padding: .5rem .75rem;
  border: var(--border);
  background: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: .85rem;
  outline: none;
  transition: box-shadow .15s;
}

input:focus, textarea:focus, select:focus {
  box-shadow: 3px 3px 0 var(--dusty-rose);
}

textarea { resize: vertical; min-height: 80px; }

.row   { display: flex; gap: 1rem; flex-wrap: wrap; }
.field { flex: 1; min-width: 140px; }

fieldset {
  border: var(--border);
  padding: 1rem;
}

legend {
  font-family: var(--font-pixel);
  font-size: .6rem;
  color: var(--dusty-rose);
  padding: 0 .5rem;
}

.check-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--dusty-rose);
  width: 14px;
  height: 14px;
}

input[type="range"] {
  accent-color: var(--dusty-rose);
  width: 100%;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .5rem; }

button,
input[type="submit"],
input[type="reset"] {
  font-family: var(--font-pixel);
  font-size: .55rem;
  padding: .6rem 1rem;
  border: var(--border);
  cursor: pointer;
  transition: transform .1s, box-shadow .1s;
  box-shadow: 3px 3px 0 var(--pixel);
}

button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--pixel); }

.btn-primary   { background: var(--blush); color: var(--pixel); }
.btn-secondary { background: var(--sage);  color: var(--pixel); }
.btn-ghost     { background: transparent; }
button:disabled { opacity: .45; cursor: not-allowed; }

/* ── Table ───────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
}

th {
  background: var(--pixel);
  color: var(--blush);
  font-family: var(--font-pixel);
  font-size: .55rem;
  padding: .6rem .75rem;
  text-align: left;
}

td {
  padding: .5rem .75rem;
  border-bottom: 2px dashed var(--blush);
}

tr:hover td { background: rgba(242,196,206,.2); }

caption {
  font-family: var(--font-pixel);
  font-size: .55rem;
  color: var(--mauve);
  margin-bottom: .5rem;
}

/* ── Details / Summary ───────────────────────────────── */
details {
  border: var(--border);
  padding: .75rem 1rem;
  box-shadow: 3px 3px 0 var(--blush);
}

summary {
  font-family: var(--font-pixel);
  font-size: .6rem;
  cursor: pointer;
  color: var(--mauve);
  list-style: none;
}

summary::before { content: '▶ '; color: var(--dusty-rose); }
details[open] summary::before { content: '▼ '; }
details[open] summary { margin-bottom: .75rem; }

/* ── Progress / Meter ────────────────────────────────── */
progress, meter {
  width: 100%;
  height: 18px;
  border: var(--border);
  appearance: none;
}

progress::-webkit-progress-bar     { background: #fff; }
progress::-webkit-progress-value   { background: var(--dusty-rose); }
meter::-webkit-meter-optimum-value { background: var(--sage); }

/* ── Dialog ──────────────────────────────────────────── */
dialog {
  border: var(--border);
  box-shadow: 6px 6px 0 var(--pixel);
  background: #fff;
  padding: 2rem;
  max-width: 360px;
  width: 90%;
}

dialog::backdrop {
  background: rgba(45,27,46,.35);
  backdrop-filter: blur(2px);
}

/* ── Navigation ──────────────────────────────────────── */
nav {
  display: flex;
  gap: .25rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}

nav a {
  font-family: var(--font-pixel);
  font-size: .7rem;
  padding: .35rem .6rem;
  text-decoration: none;
  color: var(--mauve);
  transition: color .1s;
}

nav a:hover { color: var(--dusty-rose); }

/* ── Header ──────────────────────────────────────────── */
.site-header {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: .75rem 1.75rem;
  padding: 2rem 2.5rem;
  background: #fff;
  border: var(--border);
  border-top: none;
  box-shadow: 4px 4px 0 var(--pixel);
  position: relative;
}

.site-header nav { grid-column: 1 / -1; margin-top: 0; }

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: var(--border);
  box-shadow: 3px 3px 0 var(--blush);
  object-fit: cover;
  flex-shrink: 0;
}

.site-title {
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  color: var(--dusty-rose);
  margin-bottom: .3rem;
}
.site-title__kaomoji { white-space: nowrap; }

.site-header .name {
  font-family: var(--font-pixel);
  font-size: .85rem;
  color: var(--pixel);
  margin: 0 0 .4rem;
}
.site-header .name__flag { font-size: 1.5em; }

@media (max-width: 540px) {
  .site-title { font-size: .8rem; }
  .site-header .name { font-size: .65rem; }
}

.site-header p {
  font-size: .8rem;
  color: var(--mauve);
  margin: 0;
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  text-align: center;
  font-size: .75rem;
  color: var(--mauve);
  padding: 1.5rem;
  background: #fff;
  border: var(--border);
  box-shadow: 4px 4px 0 var(--pixel);
}

.site-footer address {
  font-style: normal;
  margin-top: .5rem;
}

/* ── Animations ──────────────────────────────────────── */
@keyframes heart-fly {
  0%   { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.4) rotate(var(--dr)); }
}

@keyframes blink { 50% { opacity: 0; } }

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes glitch-before {
  0%,90%,100% { transform: none;             opacity: 1; }
  91%          { transform: translateX(-3px); opacity: .8; }
  93%          { transform: translateX( 3px); opacity: .8; }
  95%          { transform: translateX(-2px); opacity: .8; }
  97%          { transform: none;             opacity: .8; }
}

@keyframes glitch-after {
  0%,88%,100% { transform: none;             opacity: 1; }
  89%          { transform: translateX( 4px); opacity: .7; }
  92%          { transform: translateX(-4px); opacity: .7; }
  96%          { transform: none;             opacity: .7; }
}

/* ── Kaomoji background ──────────────────────────────── */
.kaomoji-bg {
  position: absolute;
  pointer-events: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  color: var(--blush);
  background: var(--cream);
  padding: .2rem .5rem;
  opacity: 0;
  z-index: 0;
  white-space: nowrap;
  transition: opacity .4s ease;
  user-select: none;
}

/* ── ASCII components ────────────────────────────────── */
.ascii-typewriter {
  background: var(--pixel);
  color: var(--blush);
  padding: 1rem;
  font-family: var(--font-pixel);
  font-size: .6rem;
  line-height: 1.8;
  border: var(--border);
  box-shadow: 3px 3px 0 var(--dusty-rose);
  min-height: 3.5rem;
}

.cursor {
  color: var(--blush);
  animation: blink .7s step-end infinite;
  font-family: var(--font-pixel);
  font-size: .6rem;
}

.ascii-glitch {
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  color: var(--dusty-rose);
  position: relative;
  display: inline-block;
  cursor: default;
}

.ascii-glitch::before,
.ascii-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
}

.ascii-glitch::before {
  color: #ffaac8;
  animation: glitch-before 2.4s infinite;
  clip-path: polygon(0 30%, 100% 30%, 100% 55%, 0 55%);
}

.ascii-glitch::after {
  color: var(--sage);
  animation: glitch-after 2.4s infinite;
  clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
}

.ascii-loader {
  background: var(--pixel);
  color: var(--blush);
  padding: .75rem 1.25rem;
  font-family: var(--font-pixel);
  font-size: .65rem;
  border: var(--border);
  box-shadow: 3px 3px 0 var(--dusty-rose);
  display: inline-block;
}

/* ── Tags ────────────────────────────────────────────── */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-list li::before { content: none; }

/* contexte : dans le header d'un article */
.article-single__header .tag-list { margin-top: 1rem; }

/* contexte : dans une carte blog (couvre les deux colonnes) */
.blog-card .tag-list {
  grid-column: 1 / -1;
  padding: .5rem 1.25rem .75rem;
  border-top: 2px solid var(--blush);
}

.tag {
  font-family: var(--font-pixel);
  font-size: .5rem;
  padding: .25rem .55rem;
  border: 2px solid var(--pixel);
  background: var(--cream);
  color: var(--mauve);
  box-shadow: 2px 2px 0 var(--blush);
  display: inline-block;
}

a.tag {
  font-size: .42rem;
  text-decoration: none;
  transition: background .1s, color .1s;
}

a.tag:hover {
  background: var(--pixel);
  color: var(--cream);
}

/* ── Blog list ───────────────────────────────────────── */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
}

.blog-card__cover-link {
  display: block;
  overflow: hidden;
  position: relative;
}

.blog-card__cover-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,  transparent, transparent 3px, rgba(0,0,0,.18) 3px, rgba(0,0,0,.18) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 3px, rgba(0,0,0,.18) 3px, rgba(0,0,0,.18) 4px);
  pointer-events: none;
  z-index: 1;
  transition: opacity .3s;
}

.blog-card__cover-link:hover::after { opacity: .5; }

.blog-card__cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  filter: var(--filter-lofi);
  transition: transform .3s, filter .3s;
}

.blog-card__cover-link:hover .blog-card__cover {
  transform: scale(1.04);
  filter: sepia(.25) saturate(.8) contrast(1.2) brightness(.95) hue-rotate(315deg);
}

.blog-card__body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.blog-card__date {
  font-family: var(--font-pixel);
  font-size: .5rem;
  color: var(--mauve);
}

.blog-card__title {
  font-family: var(--font-pixel);
  font-size: .65rem;
  line-height: 1.6;
  color: var(--pixel);
  border: none;
  padding: 0;
  margin: 0;
}

.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: var(--dusty-rose); }

.blog-card__excerpt {
  font-size: .82rem;
  color: var(--mauve);
  flex: 1;
}

.blog-card__more {
  align-self: flex-start;
  font-size: .7rem;
  padding: .35rem .7rem;
  border: var(--border);
  box-shadow: 3px 3px 0 var(--blush);
  text-decoration: none;
  color: var(--mauve);
  font-family: var(--font-pixel);
  transition: background .15s, color .15s;
}

.blog-card__more:hover {
  background: var(--pixel);
  color: var(--cream);
}

/* ── Blog pagination ─────────────────────────────────── */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.blog-pagination__pages { display: flex; gap: .4rem; }

.blog-pagination__page {
  font-family: var(--font-pixel);
  font-size: .55rem;
  width: 1.8rem;
  height: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border);
  text-decoration: none;
  color: var(--mauve);
  background: transparent;
  transition: background .15s, color .15s;
}

.blog-pagination__page:hover,
.blog-pagination__page--active {
  background: var(--pixel);
  color: var(--cream);
}

@media (max-width: 540px) {
  .blog-card { grid-template-columns: 1fr; }
  .blog-card__cover { height: 160px; }
}

/* ── Article single ──────────────────────────────────── */
.article-single {
  position: relative;
  background: #fff;
  border: var(--border);
  box-shadow: 4px 4px 0 var(--pixel);
  padding: 1.5rem 2rem;
}

.article-single__header { margin-bottom: 1.5rem; }

.article-single__meta {
  font-family: var(--font-pixel);
  font-size: .5rem;
  color: var(--mauve);
  margin-bottom: .75rem;
}

.article-single__sep { margin: 0 .5rem; }

.article-single__title {
  font-family: var(--font-pixel);
  font-size: 1rem;
  color: var(--pixel);
  line-height: 1.7;
  margin-bottom: .75rem;
  border: none;
  padding: 0;
}

.article-single__excerpt {
  font-size: .95rem;
  color: var(--mauve);
  font-style: italic;
  border-left: 3px solid var(--blush);
  padding-left: .75rem;
}

.article-single__cover {
  margin: 0 0 2rem;
  position: relative;
  overflow: hidden;
}

.article-single__cover img {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  image-rendering: pixelated;
  filter: var(--filter-lofi);
  border: var(--border);
  box-shadow: 5px 5px 0 var(--blush);
}

.article-single__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,  transparent, transparent 3px, rgba(0,0,0,.15) 3px, rgba(0,0,0,.15) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 3px, rgba(0,0,0,.15) 3px, rgba(0,0,0,.15) 4px);
  pointer-events: none;
}

.article-single__body { max-width: 68ch; }

.article-single__body p {
  margin-bottom: 1.1rem;
  font-size: .92rem;
  line-height: 1.8;
}

.article-single__body h2 { margin-top: 2rem; }

.article-single__body ul,
.article-single__body ol {
  margin: 0 0 1.1rem 1.5rem;
  font-size: .92rem;
  line-height: 1.8;
}

.article-single__body figure { margin: 1.5rem 0; }

.article-single__body figure img {
  display: block;
  width: 100%;
  border: var(--border);
  box-shadow: 4px 4px 0 var(--blush);
}

.article-single__body figcaption {
  font-size: .7rem;
  color: var(--mauve);
  margin-top: .5rem;
  font-style: italic;
}

.article-single__footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 2px dashed var(--blush);
}

/* ── About page ──────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-bio { grid-column: 1 / -1; }

.skill-row {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .5rem;
}

.skill-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-pixel);
  font-size: .5rem;
  color: var(--mauve);
  margin-bottom: .2rem;
}

.now-playing {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--pixel);
  color: var(--blush);
  padding: .75rem 1rem;
  font-size: .8rem;
  border: 2px solid var(--pixel);
  box-shadow: 3px 3px 0 var(--dusty-rose);
  margin-top: .75rem;
}

.now-playing .np-icon {
  font-size: 1.2rem;
  animation: spin 3s linear infinite;
}

.now-playing .np-info {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.now-playing .np-title {
  font-family: var(--font-pixel);
  font-size: .5rem;
  color: var(--accent);
}

.stack-terminal {
  background: var(--pixel);
  color: var(--blush);
  padding: 1rem 1.25rem;
  border: 2px solid var(--pixel);
  box-shadow: 3px 3px 0 var(--dusty-rose);
  font-family: var(--font-pixel);
  font-size: .6rem;
  line-height: 2;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  min-height: 5rem;
}

.stack-prompt { color: var(--dusty-rose); opacity: .6; }
.stack-line   { color: var(--blush); letter-spacing: .05em; }
.stack-line .resolved { color: #fff; }

/* ── Socials page ────────────────────────────────────── */
.socials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (max-width: 500px) {
  .socials-grid { grid-template-columns: 1fr; }
}

.socials-group h3 { margin-bottom: .75rem; }

.socials-group ul {
  margin: 0;
  padding: 0;
}

.socials-group ul li::before {
  content: '→ ';
  color: var(--dusty-rose);
}

.socials-group a { text-decoration: none; font-size: .9rem; }
.socials-group a:hover { text-decoration: underline dotted; }

/* ── Community graph ─────────────────────────────────── */
.graph-clip {
  overflow: hidden;
  width: calc(100% + 4rem);
  margin-left: -2rem;
  margin-bottom: -1.5rem;
  margin-top: 1rem;
}

#graph-container {
  position: relative;
  width: 100%;
  height: 800px;
  background: #fff;
  overflow: hidden;
}

#graph-loading,
#graph-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pixel);
  pointer-events: none;
}

#graph-loading {
  font-size: .6rem;
  color: var(--mauve);
}

#graph-hint {
  font-size: .55rem;
  color: var(--pixel);
  background: rgba(255, 240, 245, .75);
  opacity: 0;
  transition: opacity .2s;
}

#graph-hint.visible { opacity: 1; }
