.pe-header {
  --nav-gold: #e5c18c;
  --nav-text: #eee4d7;
  position: relative;
  z-index: 55;
  color: var(--nav-text);
  background: linear-gradient(180deg, #201a18, #151211);
  border-bottom: 1px solid #564331;
  font: 600 1rem/1.25 var(--body, "Segoe UI", sans-serif);
}
.pe-header.pe-fixed { position: fixed; inset: 0 0 auto; }
.pe-bar {
  width: min(calc(100% - 3rem), 1240px);
  min-height: 66px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.8vw, 2.75rem);
}
.pe-header a { color: var(--nav-text); text-decoration: none; }
.pe-header :is(a,summary):focus-visible { outline: 2px solid #ffce88; outline-offset: 3px; }
.pe-header .pe-brand {
  display: inline-flex; align-items: center; gap: .55rem; flex-shrink: 0;
  color: #f4d7a7; font: 600 1.2rem/1.05 var(--display, Georgia, serif);
  white-space: nowrap;
}
.pe-brand span { display: grid; gap: .18rem; }
.pe-brand small { color: #c3a783; font: 600 .64rem/1 var(--body, sans-serif); letter-spacing: .2em; text-transform: uppercase; }
.pe-nav, .pe-primary-links, .pe-actions { display: flex; align-items: center; }
.pe-nav { margin-inline: auto; gap: .2rem; }
.pe-primary-links { gap: .2rem; }
.pe-primary-links a, .pe-menu summary, .pe-actions a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; white-space: nowrap; box-sizing: border-box;
}
.pe-primary-links a, .pe-menu summary {
  position: relative; padding: .45rem .72rem; border-radius: 4px;
  color: #ded4c9; font: inherit; line-height: 1.25;
}
.pe-primary-links a[aria-current="page"] { color: #ffda9e; }
.pe-primary-links a[aria-current="page"]::after {
  content: ""; position: absolute; inset: auto .72rem .12rem; height: 2px; background: #ba8c52;
}
.pe-primary-links a:hover, .pe-menu summary:hover, .pe-menu[open] summary {
  background: #342a24; color: #ffe3b7;
}
.pe-menu { position: relative; margin: 0; border: 0; border-radius: 0; background: transparent; }
.pe-menu summary { gap: .55rem; cursor: pointer; list-style: none; }
.pe-menu summary::-webkit-details-marker { display: none; }
.pe-menu summary::marker { content: ""; }
.pe-menu summary::after {
  content: ""; position: static; width: .45rem; height: .45rem; flex: none;
  box-sizing: border-box; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  color: inherit; transform: translateY(-2px) rotate(45deg);
}
.pe-menu[open] summary::after { transform: translateY(2px) rotate(225deg); }
.pe-menu-label, .pe-mobile-links, .pe-discord-short { display: none; }
.pe-menu > .pe-dropdown {
  position: absolute; top: calc(100% + .7rem); inset-inline-end: 0;
  width: max-content; max-width: calc(100vw - 2rem); box-sizing: border-box;
  padding: 1rem; display: grid; grid-template-columns: auto auto; gap: .5rem 1.1rem;
  border: 1px solid #65503e; border-radius: 6px; background: #201b18;
  box-shadow: 0 12px 30px #05030280; font-size: 1rem;
}
.pe-menu:not([open]) > .pe-dropdown { display: none; }
.pe-group + .pe-group { border-inline-start: 1px solid #4f4034; padding-inline-start: 1rem; }
.pe-group p {
  margin: 0 0 .35rem; padding: 0 .55rem; color: #d5ad74;
  font: 600 .82rem/1.3 var(--body, sans-serif);
}
.pe-dropdown a { display: flex; align-items: center; min-height: 36px; padding: .35rem .55rem; border-radius: 3px; }
.pe-dropdown a:hover, .pe-dropdown a[aria-current] { background: #382e25; color: #ffda9e; }
.pe-actions { flex: none; gap: .55rem; }
.pe-actions a { border: 1px solid transparent; border-radius: 4px; }
.pe-actions .pe-download {
  min-height: 38px; padding-inline: .9rem; background: #ddbc88; color: #241b14; border-color: #eacfa4;
}
.pe-actions .pe-download:hover, .pe-actions .pe-download[aria-current] { background: #f1d3a5; }
.pe-actions .pe-discord {
  min-height: 38px; padding-inline: .85rem; background: #322a49; color: #ede7ff; border-color: #73618c;
}
.pe-actions .pe-discord:hover { background: #46385e; border-color: #b7a1de; }
@media (prefers-reduced-motion: no-preference) {
  .pe-discord { animation: pe-community 5s ease-in-out infinite; }
  @keyframes pe-community { 50% { box-shadow: 0 0 9px #9e77db30; } }
}
.pe-actions .pe-language { margin-inline-start: .25rem; padding-inline: .45rem; color: #ddcdbb; font-family: "Segoe UI", system-ui, sans-serif; font-size: .9rem; }
.pe-actions .pe-language:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 62rem) {
  .pe-primary-links, .pe-explore-label, .pe-mobile-links .pe-menu-download { display: none; }
  .pe-menu-label { display: inline; }
  .pe-nav { margin-inline: auto 0; }
  .pe-mobile-links { display: flex; flex-wrap: wrap; grid-column: 1 / -1; gap: .15rem; border-bottom: 1px solid #4f4034; padding-bottom: .65rem; margin-bottom: .35rem; }
  .pe-menu { position: static; }
  .pe-menu > .pe-dropdown {
    top: 100%; inset-inline: auto max(1rem, calc((100% - 1240px) / 2));
    max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain;
  }
  .pe-bar { min-height: 60px; gap: 1rem; }
}
@media (max-width: 41rem) {
  .pe-bar { width: calc(100% - 1.25rem); min-height: 58px; gap: .4rem; }
  .pe-header .pe-brand { font-size: .99rem; gap: .3rem; }
  .pe-brand img { width: 31px; height: 31px; }
  .pe-brand small { font-size: .56rem; }
  .pe-nav { font-size: .92rem; }
  .pe-menu summary { padding-inline: .45rem; gap: .45rem; }
  .pe-actions { gap: .15rem; }
  .pe-actions .pe-download, .pe-discord-long { display: none; }
  .pe-discord-short { display: inline; }
  .pe-mobile-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem .45rem; }
  .pe-mobile-links .pe-menu-download {
    display: flex; grid-column: 1 / -1; justify-content: center; margin-bottom: .25rem;
    color: #241b14; background: #ddbc88;
  }
  .pe-actions .pe-discord { padding-inline: .55rem; font-size: .9rem; min-height: 36px; }
  .pe-actions .pe-language { padding-inline: .3rem; font-size: .85rem; margin: 0; }
  .pe-menu > .pe-dropdown { inset-inline: .5rem; width: auto; max-width: none; gap: .45rem; padding: .75rem; }
  .pe-dropdown a { min-height: 44px; }
  .pe-group + .pe-group { padding-inline-start: .45rem; }
}
@media (max-width: 22rem) {
  .pe-brand img { display: none; }
}

.pe-feature{padding:clamp(2rem,5vw,5rem) 0;background:#1a1414;border-block:1px solid #514235}
.pe-feature-grid{display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:clamp(1.5rem,5vw,5rem)}
.pe-capture img,.pe-news-image{width:100%;height:auto;display:block;border:1px solid #65503a}.pe-feature p{max-width:55ch}
.pe-news-image{margin-block:1.5rem;max-width:800px}
html[lang=ko]{word-break:keep-all;overflow-wrap:break-word}
html[lang=ko] :is(h1,h2,h3,.button,.eyebrow,.pe-header){letter-spacing:normal}
@media(max-width:660px){.pe-feature-grid{grid-template-columns:1fr}}
