/* ==========================================================================
   miside.hu — page styles (hero, gallery, gameplay, wiki, blog, ...)
   ========================================================================== */

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(48px, 9vw, 96px) 0 clamp(32px, 6vw, 56px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.32;
  filter: contrast(1.1) saturate(0.85);
  mix-blend-mode: luminosity;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, transparent 0%, rgba(12, 4, 16, 0.7) 60%, var(--ink) 95%),
    linear-gradient(180deg, transparent 0%, transparent 60%, var(--ink) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  min-height: 600px;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
}

.hero__jp {
  position: absolute;
  top: 10%;
  left: -3%;
  right: -3%;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(140px, 18vw, 280px);
  line-height: 0.85;
  color: var(--text);
  opacity: 0.04;
  pointer-events: none;
  white-space: nowrap;
  z-index: 1;
  letter-spacing: -0.04em;
  user-select: none;
}

.hero__sysline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 8.5vw, 124px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--text);
  text-shadow: 0 2px 24px rgba(255, 84, 157, 0.15);
}
.hero__title em {
  font-style: normal;
  color: var(--pink);
  position: relative;
  display: inline-block;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 4px;
  background: var(--pink);
  opacity: 0.5;
}
.hero__sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1.4;
  color: var(--pink-2);
  margin: 0 0 20px;
  max-width: 32ch;
}
.hero__lede {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0 0 32px;
  max-width: 48ch;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero__stats {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--panel-line);
  flex-wrap: wrap;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  color: var(--pink);
  line-height: 1;
}
.hero__stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 520px;
  justify-self: end;
  width: 100%;
}
@media (max-width: 900px) {
  .hero__visual { justify-self: center; max-width: 380px; }
}
.hero__visual-frame {
  position: relative;
  height: 100%;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--panel-line-strong);
  background: var(--panel);
  box-shadow: var(--hud-glow-strong);
}
.hero__visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%; /* álló, egész alakos kép: a fej és a felsőtest látsszon */
}
.hero__visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(12, 4, 16, 0.85) 100%);
  pointer-events: none;
}
.hero__visual-corners::before,
.hero__visual-corners::after,
.hero__visual-corners > span {
  position: absolute;
  width: 20px; height: 20px;
  border: 2px solid var(--pink);
  z-index: 5;
  pointer-events: none;
}
.hero__visual-corners::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.hero__visual-corners::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.hero__visual-corners > span:nth-child(1) { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.hero__visual-corners > span:nth-child(2) { bottom: -1px; left: -1px; border-right: none; border-top: none; }

.hero__visual-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
}
.hero__visual-tag-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  color: var(--text);
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.hero__visual-tag-id {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--pink-2);
  letter-spacing: 0.18em;
}

/* HUD telemetry strip below hero */
.hero__telemetry {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--panel-line);
  border: 1px solid var(--panel-line);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (max-width: 700px) {
  .hero__telemetry { grid-template-columns: repeat(2, 1fr); }
}
.hero__tel-cell {
  background: rgba(35, 26, 50, 0.7);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__tel-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.hero__tel-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
.hero__tel-value em { font-style: normal; color: var(--pink); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 800px) {
  .about { grid-template-columns: 1fr; gap: 24px; }
}
.about__quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.4;
  color: var(--pink-2);
  border-left: 3px solid var(--pink);
  padding-left: 20px;
  margin: 0 0 8px;
}
.about__attr {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding-left: 23px;
}
.about__body p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dim);
}
.about__body p:first-child::first-letter {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 4em;
  float: left;
  line-height: 0.9;
  margin: 4px 12px 0 0;
  color: var(--pink);
}

/* ==========================================================================
   GAMEPLAY (alternating hero cards)
   ========================================================================== */
.gameplay-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.gameplay-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.gameplay-card:hover {
  border-color: var(--panel-line-strong);
  transform: translateY(-2px);
}
.gameplay-card:nth-child(even) { grid-template-columns: 1fr 1.1fr; }
.gameplay-card:nth-child(even) .gameplay-card__media { order: 2; }
@media (max-width: 800px) {
  .gameplay-card,
  .gameplay-card:nth-child(even) { grid-template-columns: 1fr; }
  .gameplay-card:nth-child(even) .gameplay-card__media { order: 0; }
}
.gameplay-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
}
.gameplay-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gameplay-card:hover .gameplay-card__media img { transform: scale(1.04); }
.gameplay-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 60%, rgba(255, 84, 157, 0.2));
  mix-blend-mode: screen;
}
.gameplay-card__num {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink);
  background: var(--pink);
  padding: 4px 8px;
  border-radius: var(--r-sm);
  z-index: 2;
}
.gameplay-card__body {
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.gameplay-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 28px);
  margin: 0;
  color: var(--text);
  line-height: 1.2;
}
.gameplay-card__text {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ==========================================================================
   FEATURE GRID (ingame)
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.feature-cell {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--r-md);
  padding: 24px;
  position: relative;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-cell:hover {
  border-color: var(--panel-line-strong);
  background: var(--panel-2);
}
.feature-cell__id {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--pink);
  text-transform: uppercase;
}
.feature-cell__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin: 0;
}
.feature-cell__text {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ==========================================================================
   CHARACTER ROSTER (homepage + can be reused)
   ========================================================================== */
.roster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.roster__card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  aspect-ratio: 3 / 4;
}
.roster__card:hover {
  border-color: var(--pink);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 84, 157, 0.2);
}
.roster__media {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: linear-gradient(180deg, var(--purple) 0%, var(--ink) 100%);
}
.roster__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
  filter: contrast(1.05) saturate(1.1);
}
.roster__card:hover .roster__media img { transform: scale(1.05); }
.roster__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(12, 4, 16, 0.85) 100%);
  pointer-events: none;
}
.roster__id {
  position: absolute;
  top: 10px; left: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  background: rgba(12, 4, 16, 0.7);
  border: 1px solid var(--panel-line-strong);
  padding: 3px 7px;
  border-radius: var(--r-sm);
  color: var(--pink-2);
  z-index: 2;
  backdrop-filter: blur(4px);
}
.roster__corner {
  position: absolute;
  top: 10px; right: 10px;
  width: 14px; height: 14px;
  border-top: 2px solid var(--pink);
  border-right: 2px solid var(--pink);
  z-index: 2;
}
.roster__body {
  padding: 14px 16px;
  border-top: 1px solid var(--panel-line);
  background: rgba(12, 4, 16, 0.5);
  backdrop-filter: blur(8px);
  position: relative;
}
.roster__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 4px;
}
.roster__role {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.roster__arrow {
  position: absolute;
  bottom: 14px; right: 14px;
  color: var(--pink);
  font-size: 14px;
  opacity: 0;
  transition: all 0.2s ease;
}
.roster__card:hover .roster__arrow { opacity: 1; transform: translateX(2px); }

/* ==========================================================================
   GUIDES (blog teasers on landing)
   ========================================================================== */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.guide-card {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.guide-card:hover {
  border-color: var(--panel-line-strong);
  transform: translateY(-3px);
}
.guide-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}
.guide-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.guide-card:hover .guide-card__media img { transform: scale(1.05); }
.guide-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 4, 16, 0.6), transparent 50%);
}
.guide-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.guide-card__date {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
}
.guide-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--text);
  margin: 0;
}
.guide-card__desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-card__more {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink-2);
  margin-top: auto;
  padding-top: 8px;
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--r-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-card::before {
  content: "❝";
  position: absolute;
  top: 8px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--pink);
  opacity: 0.18;
  line-height: 1;
}
.review-card__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--panel-line);
}
.review-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.review-card__role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-2);
}
.review-card__stars {
  color: var(--pink);
  font-size: 13px;
  letter-spacing: 2px;
  margin-top: 2px;
}
.review-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  border: 1px solid var(--panel-line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--panel-line);
}
@media (max-width: 700px) {
  .faq-grid { grid-template-columns: 1fr; }
}
.faq-item {
  background: var(--panel);
  padding: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item:hover { background: var(--panel-2); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--pink);
  font-weight: 400;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item__a {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
}

/* ==========================================================================
   CTA / FOOTER
   ========================================================================== */
.cta {
  position: relative;
  padding: clamp(48px, 6vw, 80px) 0;
  background:
    radial-gradient(ellipse at center, rgba(255, 84, 157, 0.18), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--panel-line);
  border-bottom: 1px solid var(--panel-line);
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "ミタ ミタ ミタ";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(120px, 20vw, 280px);
  color: var(--pink);
  opacity: 0.04;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.1em;
}
.cta__inner { position: relative; z-index: 2; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.1;
}
.cta__desc {
  color: var(--text-dim);
  margin: 0 auto 28px;
  max-width: 56ch;
  font-size: 16px;
}
.cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hud-footer {
  background: var(--ink);
  border-top: 1px solid var(--panel-line);
  padding: 40px 0 24px;
}
.hud-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--panel-line);
}
@media (max-width: 700px) {
  .hud-footer__top { grid-template-columns: 1fr; gap: 20px; }
}
.hud-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hud-footer__brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  color: var(--pink);
}
.hud-footer__tag {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 40ch;
}
.hud-footer__col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 12px;
}
.hud-footer__col a {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  padding: 4px 0;
  text-decoration: none;
}
.hud-footer__col a:hover { color: var(--pink-2); }
.hud-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  flex-wrap: wrap;
  gap: 8px;
}
.hud-footer__disclaimer {
  margin-top: 12px;
  text-align: center;
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.08em;
}
.hud-footer__disclaimer a { color: var(--pink-2); }

/* ==========================================================================
   WIKI LAYOUT
   ========================================================================== */
.wiki {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: clamp(32px, 5vw, 56px) 0;
}
@media (max-width: 900px) {
  .wiki { grid-template-columns: 1fr; }
}
.wiki__sidebar {
  position: sticky;
  top: 90px;
  height: fit-content;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--r-md);
  padding: 20px;
}
@media (max-width: 900px) {
  .wiki__sidebar { position: static; }
}
.wiki__breadcrumb {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 16px;
}
.wiki__breadcrumb a { color: var(--pink-2); }
.wiki__breadcrumb a:hover { color: var(--pink); }
.wiki__nav-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin: 0 0 12px;
}
.wiki__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wiki__nav li { margin: 0; }
.wiki__nav a {
  display: block;
  padding: 6px 8px;
  border-radius: var(--r-sm);
  color: var(--text-dim);
  font-size: 13px;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all 0.15s ease;
}
.wiki__nav a:hover {
  color: var(--pink-2);
  background: rgba(255, 84, 157, 0.06);
  border-left-color: var(--pink);
}
.wiki__nav ul ul {
  margin-left: 12px;
  margin-top: 2px;
  padding-left: 8px;
  border-left: 1px dashed var(--panel-line);
}
.wiki__nav ul ul a { font-size: 12px; padding: 4px 8px; }

.wiki__main {
  min-width: 0;
}

.wiki__hero {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  background: var(--panel);
  border: 1px solid var(--panel-line-strong);
  border-radius: var(--r-md);
  padding: 24px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 700px) {
  .wiki__hero { grid-template-columns: 1fr; }
}
.wiki__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(255, 84, 157, 0.15), transparent 60%);
  pointer-events: none;
}
.wiki__portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--panel-line-strong);
  background: var(--ink);
  z-index: 1;
}
.wiki__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.wiki__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(12,4,16,0.6) 100%);
}
.wiki__portrait-id {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(12, 4, 16, 0.7);
  border: 1px solid var(--panel-line-strong);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  padding: 3px 7px;
  border-radius: var(--r-sm);
  color: var(--pink-2);
  z-index: 2;
  backdrop-filter: blur(4px);
}
.wiki__heading {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.wiki__subkicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
}
.wiki__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.02em;
}
.wiki__quick {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wiki__quick-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--panel-line);
  font-size: 13px;
}
.wiki__quick-row:last-child { border-bottom: none; }
.wiki__quick-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-2);
  align-self: center;
}
.wiki__quick-v {
  color: var(--text);
  line-height: 1.5;
}

.wiki__section {
  margin: 32px 0;
}
.wiki__section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 16px;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--panel-line);
}
.wiki__section-title::before {
  content: "▸";
  color: var(--pink);
  font-size: 14px;
}
.wiki__prose p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dim);
}
.wiki__prose p strong { color: var(--text); }
.wiki__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wiki__list li {
  position: relative;
  padding: 10px 14px 10px 36px;
  background: rgba(45, 31, 61, 0.4);
  border-left: 2px solid var(--pink);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}
.wiki__list li::before {
  content: "■";
  position: absolute;
  left: 14px;
  top: 11px;
  color: var(--pink);
  font-size: 9px;
}

/* ==========================================================================
   BLOG LISTING
   ========================================================================== */
.blog-list {
  padding: clamp(32px, 5vw, 64px) 0;
}
.blog-list__head {
  text-align: center;
  margin-bottom: 48px;
}
.blog-list__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--text);
}
.blog-list__title em { font-style: normal; color: var(--pink); }
.blog-list__sub {
  color: var(--text-dim);
  max-width: 56ch;
  margin: 0 auto;
  font-size: 16px;
}
.blog-list__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* ==========================================================================
   BLOG POST
   ========================================================================== */
.post {
  padding: clamp(32px, 5vw, 56px) 0;
}
.post__breadcrumb {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 24px;
}
.post__breadcrumb a { color: var(--pink-2); }
.post__breadcrumb a:hover { color: var(--pink); }
.post__breadcrumb span { color: var(--panel-line-strong); margin: 0 8px; }
.post__inner {
  max-width: 760px;
  margin: 0 auto;
}
.post__hero {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--panel-line-strong);
}
.post__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12,4,16,0.5), transparent 50%);
}
.post__date {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 12px;
}
.post__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 32px;
}
.post__warn {
  background: rgba(255, 181, 71, 0.08);
  border: 1px solid rgba(255, 181, 71, 0.4);
  border-left: 3px solid var(--warn);
  padding: 16px 20px;
  border-radius: var(--r-sm);
  margin: 0 0 32px;
}
.post__warn h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warn);
  margin: 0 0 6px;
}
.post__warn p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text-dim); }

.post__body { color: var(--text-dim); }
.post__body p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 18px;
}
.post__body p.lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 32px;
  padding-left: 16px;
  border-left: 3px solid var(--pink);
}
.post__body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--text);
  margin: 40px 0 6px;
  line-height: 1.2;
  padding-top: 16px;
  border-top: 1px solid var(--panel-line);
}
.post__body h2::before {
  content: "▸ ";
  color: var(--pink);
  font-size: 0.7em;
  vertical-align: middle;
  margin-right: 6px;
}
.post__body h2 + p {
  font-style: italic;
  color: var(--pink-2);
  font-size: 14px;
  margin-bottom: 16px;
  opacity: 0.9;
}
.post__body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin: 24px 0 12px;
}
.post__body ul, .post__body ol {
  padding-left: 24px;
  margin: 0 0 18px;
}
.post__body li {
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.post__body li::marker { color: var(--pink); }
.post__body blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  background: rgba(255, 84, 157, 0.05);
  border-left: 3px solid var(--pink);
  font-style: italic;
  color: var(--text);
}
.post__body strong { color: var(--text); font-weight: 700; }
.post__body em { color: var(--pink-2); }
.post__body a { color: var(--pink-2); text-decoration: underline; text-decoration-color: var(--panel-line-strong); text-underline-offset: 3px; }
.post__body a:hover { color: var(--pink); text-decoration-color: var(--pink); }
.post__body img {
  border-radius: var(--r-sm);
  border: 1px solid var(--panel-line);
  margin: 24px 0;
}

/* hide all those native banner blocks gracefully */
.post__body div[id^="container-"] { margin: 16px 0; }

/* ==========================================================================
   SIMPLE PAGES (privacy, 404)
   ========================================================================== */
.simple-page {
  padding: clamp(48px, 6vw, 96px) 0;
  max-width: 760px;
  margin: 0 auto;
}
.simple-page h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  margin: 0 0 32px;
  color: var(--text);
}
.simple-page h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--pink);
  margin: 32px 0 12px;
}
.simple-page p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dim);
  margin: 0 0 14px;
}
.simple-page a { color: var(--pink-2); text-decoration: underline; }

/* 404 specific */
.error-page {
  text-align: center;
  padding: clamp(64px, 12vw, 160px) 0;
}
.error-page__code {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(120px, 22vw, 280px);
  line-height: 0.9;
  color: var(--pink);
  margin: 0;
  letter-spacing: -0.04em;
  text-shadow: 0 0 40px rgba(255, 84, 157, 0.3);
}
.error-page__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--text);
  margin: 0 0 16px;
}
.error-page__sub {
  color: var(--text-dim);
  margin: 0 auto 32px;
  max-width: 48ch;
}


/* ==========================================================================
   POST EXTRAS — tip boxes, achievement cards, chapter blocks, related list
   ========================================================================== */
.tip-box {
  margin: 28px 0;
  padding: 20px 22px;
  background: rgba(143, 192, 255, 0.06);
  border: 1px solid rgba(143, 192, 255, 0.25);
  border-left: 3px solid var(--pink-2);
  border-radius: var(--r-sm);
}
.tip-box__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink-2);
  margin: 0 0 10px;
}
.tip-box ul { margin: 0; padding-left: 20px; }
.tip-box li { font-size: 14px; line-height: 1.7; color: var(--text-dim); margin-bottom: 6px; }

.ach-grid {
  display: grid;
  gap: 18px;
  margin: 0 0 32px;
}
.ach {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--r-sm);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.ach--with-img { grid-template-columns: 180px 1fr; }
@media (max-width: 600px) { .ach--with-img { grid-template-columns: 1fr; } }
.ach__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-sm);
  border: 1px solid var(--panel-line);
  margin: 0;
}
.ach__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 8px;
  flex-wrap: wrap;
}
.ach__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--pink-2);
}
.ach__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--pink);
  margin: 0;
}
.ach__quote {
  font-style: italic;
  color: var(--text);
  margin: 0 0 8px;
  font-size: 14px;
}
.ach__how {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0;
}
.ach__how strong { color: var(--pink-2); font-weight: 600; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: 4px; }

.section-head {
  margin: 56px 0 24px;
  border-top: 1px dashed var(--panel-line);
  padding-top: 24px;
}
.section-head__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--pink-2);
  margin: 0 0 6px;
}
.section-head__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--text);
  margin: 0;
}

.chapter {
  margin: 0 0 18px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--r-sm);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 20px;
  align-items: start;
}
.chapter__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  color: var(--pink);
  line-height: 1;
  min-width: 44px;
}
.chapter__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}
.chapter__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 24px 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--panel-line-strong);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.related {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--panel-line);
}
.related__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--pink-2);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.related__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.related__card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--r-sm);
  transition: border-color .25s, transform .25s;
  align-items: center;
}
.related__card:hover { border-color: var(--pink); transform: translateY(-2px); }
.related__card img {
  width: 96px; height: 96px; object-fit: cover; border-radius: var(--r-sm);
  border: 1px solid var(--panel-line); margin: 0;
}
.related__card-title {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--text); margin: 0 0 4px;
}
.related__card-desc {
  font-size: 12px; line-height: 1.55; color: var(--text-dim); margin: 0;
}
