:root {
  color-scheme: light;
  --ink: #201b17;
  --muted: #6f675e;
  --paper: #f3eee4;
  --paper-deep: #e7ddcc;
  --line: rgba(52, 40, 29, 0.17);
  --red: #8f2f2c;
  --red-dark: #63201e;
  --gold: #c89a45;
  --night: #171b1d;
  --night-soft: #22282b;
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(38, 26, 18, 0.14);
  --shell: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(168, 127, 66, 0.09), transparent 31rem),
    var(--paper);
  font-family:
    "Pretendard Variable",
    Pretendard,
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    sans-serif;
  line-height: 1.7;
  word-break: keep-all;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: #000;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 10px max(24px, calc((100vw - 1180px) / 2));
  color: #f7f0e4;
  background: rgba(23, 27, 29, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.archive-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.archive-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--night);
  background: var(--gold);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.archive-link small,
.archive-link strong {
  display: block;
  line-height: 1.2;
}

.archive-link small {
  margin-bottom: 3px;
  color: #bcb6ad;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.archive-link strong {
  font-size: 1rem;
}

.site-bar nav {
  display: flex;
  gap: 28px;
}

.site-bar nav a {
  color: #d8d2c9;
  font-size: 0.9rem;
  text-decoration: none;
}

.site-bar nav a:hover,
.site-bar nav a:focus-visible {
  color: #fff;
}

.site-bar nav a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 7px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 640px;
  padding: 120px max(24px, calc((100vw - 1180px) / 2));
  color: #f7f0e4;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(12, 17, 18, 0.98) 0%, rgba(22, 28, 29, 0.94) 48%, rgba(38, 27, 23, 0.82) 100%),
    #171b1d;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8vw;
  bottom: -34vw;
  width: min(820px, 70vw);
  aspect-ratio: 1;
  border: 1px solid rgba(200, 154, 69, 0.36);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(200, 154, 69, 0.025),
    0 0 0 160px rgba(200, 154, 69, 0.018);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.92;
  background: url("/localization-assets/krondor/krondor-cover-box.jpg") right 4vw center / auto 112% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0 41%, rgba(0, 0, 0, 0.3) 55%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 0 41%, rgba(0, 0, 0, 0.3) 55%, #000 70%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background:
    linear-gradient(90deg, transparent 0 78%, rgba(255, 255, 255, 0.03) 78% 78.2%, transparent 78.2%),
    repeating-linear-gradient(0deg, transparent 0 6px, rgba(255, 255, 255, 0.012) 6px 7px);
}

.hero-copy {
  align-self: center;
  max-width: 800px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker.light {
  color: #d5a856;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(4.2rem, 9.5vw, 8.8rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.hero h1 span {
  display: block;
  margin: 0 0 16px 0.05em;
  color: #c9bca8;
  font-family: inherit;
  font-size: 0.26em;
  letter-spacing: 0.02em;
}

.hero-summary {
  margin: 38px 0 0;
  color: #d2cbc1;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 42px;
}

.primary-button,
.download-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  color: #fff;
  background: var(--red);
  border: 0;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.primary-button:hover,
.primary-button:focus-visible,
.download-button:hover,
.download-button:focus-visible,
.submit-button:hover,
.submit-button:focus-visible {
  background: #a63a35;
  transform: translateY(-2px);
}

.text-button {
  color: #ddd4c6;
  font-size: 0.94rem;
  text-underline-offset: 5px;
}

.hero-seal {
  position: absolute;
  right: max(30px, calc((100vw - 1180px) / 2));
  bottom: 54px;
  display: grid;
  width: 154px;
  height: 154px;
  place-content: center;
  color: #d8ad5c;
  background: rgba(10, 14, 15, 0.72);
  border: 1px solid rgba(216, 173, 92, 0.75);
  border-radius: 50%;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
  text-align: center;
  transform: rotate(-8deg);
}

.hero-seal::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(216, 173, 92, 0.35);
  border-radius: inherit;
}

.hero-seal span,
.hero-seal strong {
  display: block;
  line-height: 1.35;
}

.hero-seal span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.hero-seal strong {
  font-size: 1.42rem;
}

.feedback-hero {
  position: relative;
  isolation: isolate;
  min-height: 440px;
  overflow: hidden;
  color: #f7f0e4;
  background:
    linear-gradient(105deg, rgba(12, 17, 18, 0.99) 0%, rgba(22, 28, 29, 0.96) 56%, rgba(34, 26, 23, 0.85) 100%),
    var(--night);
}

.feedback-hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.48;
  background: url("/localization-assets/krondor/krondor-cover-box.jpg") right 6vw center / auto 138% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0 48%, #000 72%);
  mask-image: linear-gradient(90deg, transparent 0 48%, #000 72%);
}

.feedback-hero-copy {
  position: relative;
  z-index: 1;
  padding-block: 72px 76px;
}

.feedback-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 44px;
  color: #c9c1b6;
  font-size: 0.82rem;
  text-decoration: none;
}

.feedback-hero .back-link:hover,
.feedback-hero .back-link:focus-visible {
  color: #fff;
}

.feedback-hero .eyebrow {
  margin-bottom: 14px;
}

.feedback-hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(3.2rem, 6.8vw, 6.8rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1.02;
}

.feedback-hero-copy > p:last-child {
  max-width: 610px;
  margin: 26px 0 0;
  color: #cec7bd;
  font-size: 1rem;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.intro {
  padding-block: 120px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: 10vw;
}

.intro h2,
.install-section h2,
.history-section h2,
.feedback-section h2,
.download-section h2 {
  margin: 0;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.18;
}

.intro-copy {
  padding-top: 8px;
}

.intro-copy p {
  margin: 0 0 20px;
  color: #4f4942;
  font-size: 1.04rem;
}

.accolades-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.accolades-grid article {
  min-height: 190px;
  padding: 28px 25px;
  background: rgba(255, 253, 248, 0.46);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.accolades-grid span {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.accolades-grid strong {
  display: block;
  margin-top: 25px;
  font-size: 1rem;
  line-height: 1.5;
}

.accolades-grid p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.recent-recognition {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 253, 248, 0.46);
}

.recent-recognition > * {
  min-width: 0;
  padding: 24px 25px;
}

.recent-recognition > * + * {
  border-left: 1px solid var(--line);
}

.recent-recognition-heading {
  background: rgba(97, 32, 27, 0.06);
}

.recent-recognition span {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.recent-recognition h3,
.recent-recognition strong {
  display: block;
  margin: 11px 0 0;
  font-size: 0.98rem;
  line-height: 1.45;
}

.recent-recognition p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.recent-recognition a {
  transition: background 150ms ease;
}

.recent-recognition a:hover {
  background: rgba(97, 32, 27, 0.055);
}

.download-section {
  padding: 100px 0;
  color: #f6efe5;
  background: var(--red-dark);
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  align-items: center;
  gap: 9vw;
}

.download-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: #e4cfc7;
  font-size: 1.03rem;
}

.release-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 34px;
  margin: 38px 0 0;
}

.release-facts div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.release-facts dt {
  color: #c9a8a1;
  font-size: 0.72rem;
}

.release-facts dd {
  margin: 3px 0 0;
  font-weight: 650;
}

.download-card {
  position: relative;
  padding: 36px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 24px 24px 0 rgba(30, 8, 8, 0.2);
}

.version-chip {
  display: inline-block;
  padding: 4px 10px;
  color: #fff;
  background: var(--night);
  font-size: 0.75rem;
}

.download-card h3 {
  margin: 22px 0 8px;
  font-size: 1.25rem;
  word-break: break-all;
}

.download-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.download-button {
  justify-content: space-between;
  width: 100%;
  margin-top: 28px;
}

.download-button span {
  font-size: 1.25rem;
}

.checksum {
  margin-top: 16px;
  font-size: 0.75rem;
}

.checksum summary {
  color: var(--muted);
}

.checksum code {
  display: block;
  margin-top: 8px;
  padding: 10px;
  overflow-wrap: anywhere;
  background: #e7dfd2;
}

.checksum p {
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.55;
}

.checksum-commands {
  display: grid;
  gap: 4px;
  margin-top: 14px;
}

.checksum-commands span {
  margin-top: 6px;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 750;
}

.checksum-commands code {
  margin-top: 0;
  user-select: all;
}

.feature-notice {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 16px 20px;
  color: #f8f1e8;
  background: var(--night);
}

.feature-notice strong {
  flex: 0 0 auto;
  color: #e8bd6b;
  font-size: 0.78rem;
}

.feature-notice p {
  margin: 0;
  font-size: 0.84rem;
}

.feature-notice kbd {
  display: inline-grid;
  min-width: 23px;
  min-height: 23px;
  padding: 1px 5px;
  place-items: center;
  color: var(--night);
  background: #f4e7cd;
  border: 1px solid #d5bf96;
  box-shadow: 0 2px 0 #8f7347;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
}

.install-section {
  padding-block: 120px;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 60px;
}

.section-heading-row > p {
  margin: 0 0 5px;
  color: var(--muted);
}

.support-notice {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px 30px;
  margin-top: 48px;
  padding: 26px 28px;
  background: #fffaf0;
  border: 1px solid rgba(143, 47, 44, 0.28);
}

.support-notice strong,
.support-notice p {
  display: block;
}

.support-notice p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.support-badge {
  display: inline-block;
  margin-right: 10px;
  padding: 3px 8px;
  color: #fff;
  background: var(--red);
  font-size: 0.72rem;
}

.support-links {
  display: flex;
  gap: 8px;
}

.support-links a {
  padding: 11px 15px;
  color: var(--red-dark);
  border: 1px solid currentColor;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.support-notice .unsupported-note {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #7e2724;
}

.requirements {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 22px 0 44px;
  padding: 18px 22px;
  color: #e9e2d8;
  background: var(--night);
}

.requirements strong {
  margin-right: auto;
  color: #fff;
}

.requirements span,
.requirements a {
  padding: 4px 11px;
  color: #ddd5c9;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
}

.requirements a {
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
}

.install-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.install-card {
  position: relative;
  min-height: 310px;
  padding: 38px;
  background: rgba(255, 253, 248, 0.58);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.install-card.featured {
  background: #ece0ca;
}

.install-number {
  position: absolute;
  top: 30px;
  right: 30px;
  color: rgba(32, 27, 23, 0.22);
  font-family: Georgia, serif;
  font-size: 2rem;
}

.card-label {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.install-card h3 {
  margin: 0 0 22px;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: 1.7rem;
}

.install-card p,
.install-card ol {
  margin: 0;
  color: #5a534b;
  font-size: 0.92rem;
}

.install-card ol {
  padding-left: 1.2rem;
}

.install-card li + li {
  margin-top: 7px;
}

.install-card code,
.install-notes code {
  color: #6f2522;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.88em;
}

.install-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 44px;
}

.install-notes h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.install-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.install-notes a {
  color: var(--red-dark);
  font-weight: 700;
  text-underline-offset: 3px;
}

.history-section {
  padding: 110px 0;
  color: #f0ebe3;
  background: var(--night);
}

.light-heading > p {
  color: #aaa49b;
}

.release-entry {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 60px;
  margin-top: 55px;
  padding-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.release-entry + .release-entry {
  margin-top: 46px;
}

.release-date strong,
.release-date span,
.release-date em {
  display: block;
}

.release-date strong {
  color: #d7ab5a;
  font-family: Georgia, serif;
  font-size: 2.3rem;
  line-height: 1;
}

.release-date span {
  margin-top: 12px;
  color: #aaa49b;
  font-size: 0.8rem;
}

.release-date em {
  width: max-content;
  margin-top: 14px;
  padding: 3px 9px;
  color: #171b1d;
  background: #d7ab5a;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 750;
}

.release-details h3 {
  margin: 0 0 22px;
  font-size: 1.45rem;
}

.release-details ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.release-details li {
  position: relative;
  padding-left: 18px;
  color: #c9c2b8;
  font-size: 0.9rem;
}

.release-details li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 7px;
  height: 1px;
  background: #d7ab5a;
}

.release-note {
  margin: 24px 0 0;
  padding: 15px 18px;
  color: #bdb6ac;
  background: rgba(255, 255, 255, 0.045);
  border-left: 2px solid #d7ab5a;
  font-size: 0.84rem;
}

.feedback-section {
  padding-block: 120px;
}

.feedback-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  margin-top: 50px;
}

.feedback-form {
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feedback-form > label,
.form-row label,
.environment-fields label {
  display: grid;
  gap: 8px;
  align-content: start;
  color: #3f3933;
  font-size: 0.84rem;
  font-weight: 700;
}

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 22px;
  color: #3f3933;
  font-size: 0.84rem;
  font-weight: 750;
}

.optional-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 1px 7px;
  color: #7e7468;
  background: #eee7dc;
  border: 1px solid #ddd2c2;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 650;
  line-height: 1;
}

.feedback-form input,
.feedback-form textarea,
.feedback-form select,
.board-toolbar select {
  width: 100%;
  color: var(--ink);
  background: #faf7f1;
  border: 1px solid #d9d0c3;
  border-radius: 0;
  outline: none;
}

.feedback-form input,
.feedback-form select,
.board-toolbar select {
  min-height: 47px;
  padding: 0 13px;
}

.feedback-form textarea {
  min-height: 165px;
  padding: 13px;
  resize: vertical;
}

.feedback-form input:focus,
.feedback-form textarea:focus,
.feedback-form select:focus,
.board-toolbar select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(143, 47, 44, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.form-row.three-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-row.four-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feedback-form > label + label {
  margin-top: 18px;
}

.environment-fields {
  margin: 24px 0;
  padding: 22px 20px 4px;
  border: 1px solid #ded4c7;
}

.environment-fields legend {
  padding: 0 8px;
  color: var(--red-dark);
  font-size: 0.85rem;
  font-weight: 800;
}

.dialogue-picker {
  margin: 24px 0;
  padding: 22px;
  background: #f0e8da;
  border-left: 3px solid var(--red);
}

.dialogue-picker-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.dialogue-picker-heading h3,
.dialogue-picker-heading p {
  margin: 0;
}

.dialogue-picker-heading h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.98rem;
}

.dialogue-picker-heading p {
  color: var(--muted);
  font-size: 0.8rem;
}

.dialogue-picker-heading button {
  padding: 5px 9px;
  color: var(--red);
  background: transparent;
  border: 1px solid currentColor;
  font-size: 0.75rem;
}

.dialogue-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 16px;
}

.dialogue-search-row button {
  min-width: 78px;
  color: #fff;
  background: var(--night);
  border: 0;
}

.dialogue-search-status {
  min-height: 1.5em;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.77rem;
}

.dialogue-search-results {
  display: grid;
  gap: 8px;
  max-height: 390px;
  overflow: auto;
}

.dialogue-result {
  display: grid;
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid #d8cdbd;
  text-align: left;
}

.dialogue-result:hover,
.dialogue-result:focus-visible {
  border-color: var(--red);
}

.dialogue-result-meta,
.dialogue-meta {
  color: #826f5d;
  font-size: 0.7rem;
  font-weight: 750;
}

.dialogue-result-ko {
  margin-top: 4px;
  color: #2c2722;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: pre-line;
}

.dialogue-result-en {
  margin-top: 3px;
  color: #776f66;
  font-family: Georgia, serif;
  font-size: 0.76rem;
  white-space: pre-line;
}

.selected-dialogue {
  margin-top: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(143, 47, 44, 0.35);
}

.selected-label {
  display: inline-block;
  margin-bottom: 7px;
  padding: 2px 7px;
  color: #fff;
  background: var(--red);
  font-size: 0.67rem;
}

.selected-dialogue p {
  margin: 7px 0 0;
  white-space: pre-line;
}

.selected-dialogue .dialogue-ko {
  font-weight: 700;
}

.selected-dialogue .dialogue-en {
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 0.82rem;
}

.dropzone {
  position: relative;
  display: grid;
  min-height: 160px;
  margin-top: 22px;
  padding: 24px;
  place-items: center;
  align-content: center;
  color: #4e4841;
  background: #f8f3ea;
  border: 1px dashed #b9aa96;
  text-align: center;
  transition: background 150ms ease, border 150ms ease, transform 150ms ease;
}

.dropzone:hover,
.dropzone:focus-visible,
.dropzone.is-dragging {
  background: #f0e3d0;
  border-color: var(--red);
}

.dropzone.is-dragging {
  transform: scale(1.01);
}

.dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.dropzone-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  place-items: center;
  color: var(--red);
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1.4rem;
}

.dropzone strong {
  font-size: 0.9rem;
}

.dropzone span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.73rem;
}

.attachment-selection {
  display: grid;
  gap: 7px;
  margin: 10px 0 20px;
  padding: 0;
  list-style: none;
}

.attachment-selection li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #f4eee5;
  font-size: 0.78rem;
}

.attachment-selection li span:first-child {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment-selection button {
  color: var(--red);
  background: transparent;
  border: 0;
}

.attachment-public-note {
  margin: 2px 0 12px;
  padding: 11px 13px;
  color: #6a302e;
  background: #faeee8;
  border-left: 3px solid var(--red);
  font-size: 0.76rem;
  line-height: 1.6;
}

.attachment-disclosure {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 18px;
  padding: 13px;
  color: #4b433b;
  background: #f4eee5;
  border: 1px solid #ded2c2;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.55;
}

.attachment-disclosure[hidden] {
  display: none;
}

.feedback-form .attachment-disclosure input {
  width: 17px;
  min-width: 17px;
  height: 17px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--red);
}

.attachment-disclosure span {
  display: grid;
  gap: 2px;
}

.attachment-disclosure strong {
  color: var(--red-dark);
}

.cf-turnstile {
  min-height: 65px;
  margin-top: 18px;
}

.privacy-note {
  margin: 10px 0 18px;
  color: #7d746a;
  font-size: 0.73rem;
}

.submit-button {
  width: 100%;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.55;
  transform: none;
}

.form-status {
  min-height: 1.6em;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.form-status.error {
  color: #a12a26;
}

.form-status.success {
  color: #27613e;
}

.feedback-guide {
  position: sticky;
  top: 100px;
  align-self: start;
  padding: 26px;
  color: #ece5db;
  background: var(--night);
}

.feedback-guide h3 {
  margin: 0 0 22px;
  font-size: 1rem;
}

.feedback-guide ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feedback-guide li {
  display: flex;
  gap: 11px;
  color: #d2cbc2;
  font-size: 0.82rem;
}

.feedback-guide li span {
  color: #d5a856;
  font-family: Georgia, serif;
}

.feedback-guide p {
  margin: 24px 0 0;
  padding-top: 18px;
  color: #9f9991;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.75rem;
}

.board {
  margin-top: 70px;
}

.board-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}

.board-toolbar h3 {
  margin: 0;
  font-size: 1.1rem;
}

.board-toolbar select {
  min-width: 150px;
  min-height: 40px;
}

.post-list {
  min-height: 170px;
}

.feedback-post {
  padding: 27px 4px;
  border-bottom: 1px solid var(--line);
}

.post-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-chip,
.post-detail-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  font-size: 0.69rem;
}

.category-chip {
  color: #fff;
  background: var(--red);
}

.post-time,
.post-author {
  color: var(--muted);
  font-size: 0.75rem;
}

.post-time {
  margin-left: auto;
}

.feedback-post h4 {
  margin: 12px 0 8px;
  font-size: 1.05rem;
}

.post-content {
  margin: 0;
  color: #554e47;
  font-size: 0.9rem;
  white-space: pre-wrap;
}

.post-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.post-detail-chip {
  color: #665d53;
  background: #e9e1d5;
}

.post-dialogue {
  margin-top: 16px;
  padding: 15px;
  background: #ebe2d4;
  border-left: 2px solid var(--red);
}

.post-dialogue .dialogue-meta {
  margin-bottom: 5px;
}

.post-dialogue p {
  margin: 4px 0 0;
  font-size: 0.8rem;
  white-space: pre-line;
}

.post-dialogue .dialogue-en {
  color: var(--muted);
  font-family: Georgia, serif;
}

.post-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.post-image-link {
  display: block;
  width: min(240px, 100%);
}

.post-image-link img {
  display: block;
  width: 100%;
  max-height: 170px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.post-save-link {
  align-self: end;
  padding: 9px 12px;
  color: var(--red-dark);
  background: #eee5d8;
  border: 1px solid rgba(143, 47, 44, 0.25);
  font-size: 0.78rem;
  text-decoration: none;
}

.delete-post-button {
  margin-top: 14px;
  padding: 4px 0;
  color: #8b7f72;
  background: transparent;
  border: 0;
  font-size: 0.72rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.board-loading,
.board-empty,
.board-error {
  margin: 0;
  padding: 58px 0;
  color: var(--muted);
  text-align: center;
}

.board-error {
  color: var(--red);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}

.pagination button {
  min-width: 38px;
  height: 38px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.pagination button[aria-current="page"] {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.krondor-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 35px max(24px, calc((100vw - 1180px) / 2));
  color: #a9a39a;
  background: #111416;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.krondor-footer p {
  margin: 0;
}

.krondor-footer > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
}

.krondor-footer a {
  color: #d2cbc0;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1000px) {
  .form-row.four-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feedback-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .feedback-guide {
    display: none;
  }

  .hero-seal {
    opacity: 0.92;
  }
}

@media (max-width: 780px) {
  :root {
    --shell: min(100% - 28px, 1180px);
  }

  .site-bar {
    min-height: 64px;
    padding-inline: 16px;
  }

  .site-bar nav {
    display: none;
  }

  .archive-link small {
    display: none;
  }

  .hero {
    min-height: 570px;
    padding: 92px 22px 80px;
  }

  .hero::after {
    right: -100px;
    opacity: 0.44;
    background-position: right center;
    background-size: auto 108%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0 18%, #000 66%);
    mask-image: linear-gradient(90deg, transparent 0 18%, #000 66%);
  }

  .hero-summary br {
    display: none;
  }

  .hero-seal {
    right: 20px;
    bottom: 24px;
    width: 112px;
    height: 112px;
  }

  .intro,
  .install-section,
  .feedback-section {
    padding-block: 82px;
  }

  .feedback-hero {
    min-height: 400px;
  }

  .feedback-hero-art {
    right: -110px;
    opacity: 0.35;
    background-position: right 45%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0 20%, #000 72%);
    mask-image: linear-gradient(90deg, transparent 0 20%, #000 72%);
  }

  .feedback-hero-copy {
    padding-block: 48px 58px;
  }

  .feedback-hero .back-link {
    margin-bottom: 52px;
  }

  .intro-grid,
  .download-grid,
  .section-heading-row,
  .release-entry {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .download-section,
  .history-section {
    padding-block: 76px;
  }

  .download-card {
    box-shadow: 12px 12px 0 rgba(30, 8, 8, 0.2);
  }

  .install-cards,
  .install-notes,
  .accolades-grid,
  .recent-recognition,
  .release-details ul {
    grid-template-columns: 1fr;
  }

  .accolades-grid article {
    min-height: auto;
  }

  .recent-recognition > * + * {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .support-notice {
    grid-template-columns: 1fr;
  }

  .feature-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .support-links {
    flex-wrap: wrap;
  }

  .support-links a {
    width: max-content;
  }

  .feedback-form {
    padding: 24px;
  }

  .form-row,
  .form-row.three-columns,
  .form-row.four-columns {
    grid-template-columns: 1fr;
  }

  .release-entry {
    gap: 24px;
  }

  .krondor-footer {
    flex-direction: column;
  }

  .krondor-footer > div {
    justify-content: flex-start;
  }
}

@media (max-width: 460px) {
  body {
    word-break: normal;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 20vw, 5.2rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .release-facts {
    grid-template-columns: 1fr;
  }

  .requirements {
    align-items: flex-start;
    flex-direction: column;
  }

  .install-card {
    min-height: auto;
    padding: 30px 24px;
  }

  .feedback-form {
    padding: 20px 16px;
  }

  .dialogue-picker {
    padding: 18px 14px;
  }

  .dialogue-search-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dialogue-search-row button {
    min-height: 44px;
  }

  .board-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .post-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .post-time {
    width: 100%;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
