:root {
  --bg: #121212;
  --surface: #171717;
  --surface-2: #1e1e1e;
  --border: #353535;
  --text: #fafafa;
  --muted: #a1a1a1;
  --radius: 0.75rem;
  --maxw: 1120px;
  --accent-green: #88e52b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
img, svg { display: block; }
h1, h2, h3, h4 { font-family: "Quantico", "Inter", sans-serif; font-weight: 700; letter-spacing: -0.025em; margin: 0; color: var(--accent-green); }
p { margin: 0; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-right: auto; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--surface-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text); font-weight: 800; font-size: 14px;
}
.brand__text { font-size: 16px; }
.brand__text span { color: var(--muted); font-weight: 500; }

.topnav { display: flex; gap: 26px; }
.topnav__link { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .15s; position: relative; padding: 4px 0; }
.topnav__link:hover { color: var(--text); }
.topnav__link.is-active { color: var(--accent-green); }
.topnav__link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -24px; height: 2px; background: var(--accent-green);
}

.topbar__right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.topbar__status {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; white-space: nowrap;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.dot--on { background: var(--accent-green); box-shadow: 0 0 8px rgba(136,229,43,.6); }
.dot--off { background: #525252; }

.navToggle {
  display: none; background: var(--surface); border: 1px solid var(--border); color: var(--text);
  width: 38px; height: 38px; border-radius: 9px; align-items: center; justify-content: center; cursor: pointer;
}
.navToggle svg { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: inherit;
  border-radius: 10px; padding: 13px 22px; font-size: 14px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s, filter .12s, background .15s;
}
.btn:hover { filter: brightness(1.15); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--accent-green); color: #fff; box-shadow: 0 10px 28px -10px rgba(136,229,43,.6); }
.btn--ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--text); }
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 120px 0; overflow: hidden; background: #050505; text-align: center;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__photo {
  position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; object-position: center 30%;
  animation: hero-kenburns 24s ease-in-out infinite alternate;
}
@keyframes hero-kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}
@media (prefers-reduced-motion: reduce) { .hero__photo { animation: none; } }
.hero__vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, transparent 0%, transparent 60%, var(--bg) 100%),
    rgba(5,5,5,.58);
}
.hero__vignette::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 48%, rgba(5,5,5,.72) 0%, rgba(5,5,5,.3) 42%, transparent 72%);
}

.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; margin: 0 auto; max-width: 900px; }
.hero__live {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em;
  color: var(--accent-green); background: rgba(136,229,43,.1); border: 1px solid rgba(136,229,43,.4);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 22px;
}
.hero__logo {
  font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(30px, 6vw, 60px); line-height: 1.05; margin: 0 0 22px;
  color: var(--text); display: flex; flex-direction: column; gap: 2px;
}
.hero__typing { color: var(--accent-green); text-shadow: 0 0 30px rgba(136,229,43,.55); }
.hero__caret { display: inline-block; width: 3px; height: .85em; margin-left: 4px; background: var(--accent-green); vertical-align: -0.1em; animation: hero-caret 1s step-end infinite; }
@keyframes hero-caret { 50% { opacity: 0; } }
.hero__lead { color: #d4d4d4; font-size: 17px; max-width: 600px; margin: 0 auto 36px; }
.hero__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
@media (max-width: 640px) { .hero { padding: 128px 0 64px; min-height: auto; } }

/* ---------- Centered section headings ---------- */
.section-head-center { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.title-xl { font-size: clamp(28px, 4.5vw, 42px); line-height: 1.15; }
.title-accent { color: var(--accent-green); }
.section-head-center .section-sub { margin-top: 10px; }

/* ---------- Bento (home) ---------- */
.bento-grid { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 860px) { .bento-grid { flex-direction: row; align-items: stretch; height: 560px; } }
.bento-col { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 16px; }
.bento-card {
  position: relative; flex: 1; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(circle at 80% 15%, rgba(136,229,43,.16), transparent 55%), var(--surface);
  border: 1px solid var(--border); border-radius: 20px; padding: 26px; overflow: hidden;
  transition: border-color .15s, transform .15s;
}
.bento-card:hover { border-color: #4a4a4a; transform: translateY(-2px); }
.bento-card__photo {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16%;
}
.bento-card__photo img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.55)); transition: transform .25s ease;
}
.bento-card:hover .bento-card__photo img { transform: scale(1.05); }
.bento-card__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.92) 0%, rgba(10,10,10,.55) 36%, transparent 68%);
}
.bento-card__icon {
  position: relative; width: 42px; height: 42px; border-radius: 11px; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center; color: var(--accent-green); margin-bottom: 16px;
}
.bento-card__icon svg { width: 21px; height: 21px; }
.bento-card__body { position: relative; }
.bento-card__body h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; margin-bottom: 6px; }
.bento-card__body p { color: var(--muted); font-size: 13.5px; max-width: 320px; }
.bento-card__arrow { position: absolute; top: 24px; right: 24px; color: var(--muted); opacity: 0; transition: opacity .15s, transform .15s; }
.bento-card__arrow svg { width: 16px; height: 16px; }
.bento-card:hover .bento-card__arrow { opacity: 1; transform: translateX(2px); }

/* ---------- Stats (home) ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.stat-card__icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center; color: var(--accent-green); margin-bottom: 4px;
}
.stat-card__icon svg { width: 19px; height: 19px; }
.stat-card strong { font-size: 32px; font-weight: 800; }
.stat-card span { color: var(--muted); font-size: 13px; }

/* ---------- FAQ (home) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-weight: 600; font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__chev { flex: none; width: 16px; height: 16px; color: var(--muted); transform: rotate(90deg); transition: transform .15s; }
.faq-item[open] .faq-item__chev { transform: rotate(-90deg); }
.faq-item p { color: var(--muted); font-size: 14px; margin-top: 14px; line-height: 1.65; }

/* ---------- Community (Discord + connect/players) ---------- */
.community { padding-top: 0; }
.community-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; }
@media (max-width: 760px) { .community-grid { grid-template-columns: 1fr; } }
.community-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px;
}
.community-card--discord { display: flex; flex-direction: column; align-items: flex-start; }
.community-card__icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center; color: var(--accent-green); margin-bottom: 18px;
}
.community-card__icon svg { width: 24px; height: 24px; }
.community-card--discord .section-sub { margin-bottom: 20px; }
.community-card__live {
  display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px;
  margin-bottom: 18px;
}
.community-card__live strong { color: var(--text); font-size: 15px; }
.community-card--connect .section-title { margin-bottom: 4px; }
.community-card--connect .connect__steps {
  color: #d4d4d4; font-size: 14.5px; display: grid; gap: 12px; padding-left: 20px; margin: 16px 0 0;
}
.community-card--connect .connect__steps code {
  display: inline-block; margin-top: 6px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 10px; font-size: 13px;
}
.community-card--connect .connect__ip {
  margin-top: 22px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px;
}
.community-card--connect .connect__ip span { color: var(--muted); font-size: 13px; }
.community-card--connect .connect__ip code { font-size: 15px; font-weight: 700; }
@media (max-width: 640px) { .community-card { padding: 24px; } }

/* ---------- Sections ---------- */
.section { padding: 0 0 64px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-title { font-size: 24px; margin-bottom: 4px; }
.section-sub { color: var(--muted); font-size: 14.5px; }

/* ---------- Card grid ---------- */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 760px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; transition: border-color .15s, transform .15s, background .15s;
}
.card--link:hover { border-color: #4a4a4a; transform: translateY(-2px); background: var(--surface-2); }
.card__icon {
  flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center; color: var(--accent-green);
}
.card__icon svg { width: 19px; height: 19px; }
.card__body { min-width: 0; flex: 1; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.card__head h3 { font-size: 16px; font-weight: 600; }
.card__summary { color: var(--muted); font-size: 13.5px; margin-bottom: 8px; }
.card__meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.card__dot { opacity: .5; }
.card__arrow { flex: none; align-self: center; color: var(--muted); opacity: 0; transition: opacity .15s, transform .15s; }
.card__arrow svg { width: 16px; height: 16px; }
.card--link:hover .card__arrow { opacity: 1; transform: translateX(2px); }

.tag {
  flex: none; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--text); background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 3px 9px;
}
.tag--outline { background: transparent; color: var(--muted); }

/* ---------- Hub hero ---------- */
.hub-hero { padding: 48px 0 36px; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.hub-hero h1 { font-size: clamp(28px, 4vw, 38px); margin: 10px 0 10px; }
.hub-hero__lead { color: var(--muted); font-size: 15.5px; max-width: 640px; }
.hub-grid { padding-bottom: 80px; }

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.crumbs a { color: var(--muted); transition: color .15s; }
.crumbs a:hover { color: var(--text); }
.crumbs span:last-child { color: var(--text); }
.crumb__sep { opacity: .5; }

/* ---------- Detail page ---------- */
.detail { padding: 40px 0 90px; }
.detail__layout { display: grid; grid-template-columns: 1fr 240px; gap: 48px; margin-top: 22px; align-items: start; }
@media (max-width: 860px) { .detail__layout { grid-template-columns: 1fr; } }

.detail__hero { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 36px; }
.detail__icon {
  flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--surface);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--accent-green);
}
.detail__icon svg { width: 26px; height: 26px; }
.detail__hero h1 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 8px; }
.detail__tagline { color: var(--muted); font-size: 15px; margin-bottom: 14px; max-width: 560px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
  font-size: 12.5px; font-weight: 600; background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 13px;
}
.badge--muted { color: var(--muted); }
.badge--outline { background: transparent; border-style: dashed; color: var(--muted); }

.detail-block { margin-bottom: 30px; }
.detail-block h2 { font-size: 17px; margin-bottom: 12px; }
.detail-block p { color: #d4d4d4; font-size: 15px; }

.steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: #d4d4d4; font-size: 15px; }
.steps li::marker { color: var(--muted); font-weight: 700; }
.plainlist { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: #d4d4d4; font-size: 15px; }
.plainlist li::marker { color: var(--muted); }

.callout {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px;
}
.callout svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--muted); }
.callout p { color: #d4d4d4; font-size: 14.5px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em; background: var(--surface); }
tbody tr:last-child td { border-bottom: none; }
td { color: #d4d4d4; }

.back-link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600;
  margin-top: 10px; transition: color .15s;
}
.back-link svg { width: 15px; height: 15px; transform: rotate(180deg); }
.back-link:hover { color: var(--text); }

.detail__side { position: sticky; top: 90px; }
.detail__side h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 12px; }
.sidebar__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sidebar__list a {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px;
  color: var(--muted); font-size: 13.5px; font-weight: 500; transition: background .15s, color .15s;
}
.sidebar__list a svg { width: 16px; height: 16px; flex: none; }
.sidebar__list a:hover { background: var(--surface); color: var(--text); }
.sidebar__list li.is-current a { background: var(--surface); color: var(--text); }

/* ---------- Connect ---------- */
.connect { padding-bottom: 80px; }
.connect__inner { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 40px; }
.connect__steps { color: #d4d4d4; font-size: 15px; display: grid; gap: 14px; padding-left: 20px; max-width: 560px; margin: 16px 0 0; }
.connect__steps code { display: inline-block; margin-top: 6px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; font-size: 13px; }
kbd { background: var(--surface-2); border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 6px; padding: 2px 7px; font-size: 12px; font-family: inherit; font-weight: 700; }
.connect__ip { margin-top: 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; }
.connect__ip span { color: var(--muted); font-size: 13px; }
.connect__ip code { font-size: 15px; font-weight: 700; }

/* ---------- Updates / timeline (novidades) ---------- */
.updates { padding: 0 0 90px; }
.timeline { position: relative; }
.entry { display: grid; grid-template-columns: 24px 1fr; gap: 20px; padding-bottom: 50px; position: relative; }
.entry:last-child { padding-bottom: 0; }
.entry__rail { position: relative; display: flex; justify-content: center; }
.entry__rail::before {
  content: ""; position: absolute; top: 6px; bottom: -50px; left: 50%; width: 2px;
  background: linear-gradient(var(--border), transparent); transform: translateX(-50%);
}
.entry:last-child .entry__rail::before { display: none; }
.entry__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent-green); margin-top: 4px; box-shadow: 0 0 0 4px var(--bg); }
.entry__meta { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.entry__meta time { font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.entry__meta h2 { font-size: 21px; }
.entry__intro { color: var(--muted); margin: 0 0 20px; max-width: 680px; display: block; }

.update-list { display: grid; gap: 8px; }
.update-item {
  display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 13px 16px; transition: border-color .15s, background .15s;
}
.update-item:hover { border-color: #4a4a4a; background: var(--surface-2); }
.update-item__icon { flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--accent-green); }
.update-item__icon svg { width: 16px; height: 16px; }
.update-item__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.update-item__text strong { font-size: 14.5px; }
.update-item__text small { color: var(--muted); font-size: 12.5px; }
.update-item__arrow { flex: none; color: var(--muted); }
.update-item__arrow svg { width: 15px; height: 15px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 28px 0 44px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.footer__links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__links a { color: var(--muted); font-size: 13px; transition: color .15s; }
.footer__links a:hover { color: var(--text); }
.footer__ip { color: var(--muted); font-size: 13px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px);
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  padding: 10px 18px; border-radius: 10px; font-size: 13px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: all .2s; box-shadow: 0 10px 30px rgba(0,0,0,.4); z-index: 50;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Mobile nav ---------- */
@media (max-width: 760px) {
  .navToggle { display: flex; }
  .topnav {
    position: absolute; top: 68px; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--border); flex-direction: column; gap: 0; padding: 8px 24px 16px;
    display: none;
  }
  .topnav.is-open { display: flex; }
  .topnav__link { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .topnav__link:last-child { border-bottom: none; }
  .topnav__link.is-active::after { display: none; }
  .topbar__status { display: none; }
  .connect__inner { padding: 26px; }
}

.item-grid { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.item-tile { display: flex; flex-direction: column; gap: 4px; padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.item-tile__art { display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 6px; background: var(--surface-2); border-radius: 0.5rem; overflow: hidden; }
.item-tile__art img { width: 100%; height: 100%; object-fit: contain; }
.item-tile__art svg { width: 40%; height: 40%; color: var(--muted); }
.item-tile__label { font-size: 14px; font-weight: 600; }
.item-tile__note { color: var(--muted); font-size: 12.5px; line-height: 1.45; }

.figure { margin: 14px 0 0; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-align: center; }
.figure img { display: block; width: 100%; max-width: 260px; height: auto; margin: 0 auto; }
.figure figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.photo-card { overflow: hidden; border: 1px solid rgba(127, 127, 127, 0.25); border-radius: 14px; }
.photo-card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-card__body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; font-size: 14px; }
.photo-card__body strong { font-size: 16px; }
