/*
 * Applied Case: The Fourth Button
 * CSS-only Human Revolution-inspired field datapad skin.
 * One continuous reading column; dark and light modes share the same physical shell.
 */

html.mpe-fourth-button-page {
  --dx-gold: #d7ad32;
  --dx-gold-bright: #f0c84d;
  --dx-gold-soft: rgba(215, 173, 50, .18);
  --dx-screen: #080a09;
  --dx-screen-2: #10100d;
  --dx-panel: rgba(15, 16, 14, .94);
  --dx-panel-2: rgba(7, 8, 8, .97);
  --dx-text: #d7d5cd;
  --dx-text-strong: #f1eee4;
  --dx-muted: #8e8f88;
  --dx-frame: #3a3b36;
  --dx-frame-mid: #242622;
  --dx-frame-dark: #080908;
  --dx-line: rgba(215, 173, 50, .38);
  --dx-line-soft: rgba(215, 173, 50, .16);
  --dx-shadow: rgba(0, 0, 0, .52);
  --dx-page-bg: #0a0a08;
  --dx-ui-font: "Arial Narrow", "Roboto Condensed", "Aptos Narrow", "Segoe UI", Arial, sans-serif;
  background: var(--dx-page-bg);
  max-width: 100%;
  overflow-x: hidden;
}

html.mpe-fourth-button-page[data-color-scheme="light"] {
  --dx-gold: #9a7310;
  --dx-gold-bright: #b98c18;
  --dx-gold-soft: rgba(154, 115, 16, .13);
  --dx-screen: #f3f0e7;
  --dx-screen-2: #e7e2d5;
  --dx-panel: rgba(250, 248, 241, .96);
  --dx-panel-2: rgba(226, 221, 208, .97);
  --dx-text: #22241f;
  --dx-text-strong: #070907;
  --dx-muted: #66675f;
  --dx-frame: #c9c5b9;
  --dx-frame-mid: #a9a69d;
  --dx-frame-dark: #484a45;
  --dx-line: rgba(126, 92, 8, .42);
  --dx-line-soft: rgba(126, 92, 8, .17);
  --dx-shadow: rgba(63, 55, 37, .24);
  --dx-page-bg: #d8d2c3;
  background: var(--dx-page-bg);
}

html.mpe-fourth-button-page body,
html.mpe-fourth-button-page .gh-site {
  max-width: 100%;
  overflow-x: clip;
  background: transparent !important;
  color: var(--dx-text);
}

html.mpe-fourth-button-page body {
  font-family: var(--dx-ui-font);
}

html.mpe-fourth-button-page .gh-site {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

/* Industrial bronze/black field behind the handheld screen. */
html.mpe-fourth-button-page .gh-site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 7%, rgba(215, 173, 50, .10), transparent 27rem),
    radial-gradient(circle at 84% 20%, rgba(215, 173, 50, .055), transparent 34rem),
    repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, #17150f 0, #0d0d0a 42rem, #060706 100%);
  transform: translateZ(0);
}

html.mpe-fourth-button-page[data-color-scheme="light"] .gh-site::before {
  background:
    radial-gradient(circle at 14% 6%, rgba(183, 139, 24, .15), transparent 28rem),
    radial-gradient(circle at 84% 18%, rgba(77, 77, 67, .08), transparent 35rem),
    repeating-linear-gradient(135deg, rgba(54, 50, 40, .035) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, #ebe6d8 0, #d9d2c1 44rem, #c9c1ae 100%);
}

html.mpe-fourth-button-page .gh-head,
html.mpe-fourth-button-page .edw-event,
html.mpe-fourth-button-page .gh-main,
html.mpe-fourth-button-page .gh-foot {
  position: relative;
  z-index: 1;
}

html.mpe-fourth-button-page .gh-head {
  background: rgba(8, 9, 8, .86);
  color: var(--dx-text);
  border-bottom: 1px solid var(--dx-line-soft);
  box-shadow: 0 .8rem 2.8rem rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
}

html.mpe-fourth-button-page[data-color-scheme="light"] .gh-head {
  background: rgba(241, 237, 226, .88);
  box-shadow: 0 .8rem 2.8rem rgba(58,52,38,.10);
}

html.mpe-fourth-button-page .gh-head a,
html.mpe-fourth-button-page .gh-head button {
  color: var(--dx-text-strong);
}

html.mpe-fourth-button-page .gh-head .nav a:hover,
html.mpe-fourth-button-page .gh-head .nav a:focus-visible,
html.mpe-fourth-button-page .gh-head .mpe-theme-toggle:hover,
html.mpe-fourth-button-page .gh-head .mpe-theme-toggle:focus-visible {
  color: var(--dx-gold-bright);
}

html.mpe-fourth-button-page .gh-foot {
  margin-top: 7rem;
  background: rgba(7, 8, 7, .91);
  color: var(--dx-muted);
  border-top: 1px solid var(--dx-line-soft);
  backdrop-filter: blur(10px);
}

html.mpe-fourth-button-page[data-color-scheme="light"] .gh-foot {
  background: rgba(229, 224, 211, .93);
}

html.mpe-fourth-button-page .gh-foot a {
  color: var(--dx-text);
}

html.mpe-fourth-button-page .edw-event {
  margin-bottom: 0;
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

html.mpe-fourth-button-page .edw-event__panel {
  background:
    radial-gradient(circle at 8% 50%, rgba(215,173,50,.12), transparent 26%),
    linear-gradient(110deg, rgba(8,9,8,.62), rgba(8,9,8,.26)) !important;
  backdrop-filter: blur(5px);
}

html.mpe-fourth-button-page[data-color-scheme="light"] .edw-event__panel {
  background:
    radial-gradient(circle at 8% 50%, rgba(154,115,16,.12), transparent 26%),
    linear-gradient(110deg, rgba(247,243,233,.72), rgba(231,225,210,.42)) !important;
}

/* The whole post is one physical datapad. */
html.mpe-fourth-button-page .gh-main {
  position: relative;
  width: min(98rem, calc(100% - 3.2rem));
  max-width: calc(100% - 3.2rem);
  margin: 8.6rem auto 5rem;
  padding: clamp(7.8rem, 8vw, 10rem) clamp(1.2rem, 4vw, 5.4rem) clamp(4.8rem, 6vw, 7rem);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 1.8rem;
  background:
    linear-gradient(90deg, rgba(0,0,0,.34), transparent 6%, transparent 94%, rgba(0,0,0,.34)),
    linear-gradient(180deg, rgba(215,173,50,.08), transparent 20rem),
    repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, var(--dx-screen), var(--dx-screen-2));
  box-shadow:
    inset 0 0 0 .42rem var(--dx-frame-dark),
    inset 0 0 0 .78rem var(--dx-frame),
    inset 0 0 0 .98rem var(--dx-frame-dark),
    inset 0 0 7rem rgba(215,173,50,.08),
    0 2rem 5rem var(--dx-shadow);
  color: var(--dx-text);
  overflow: visible;
}

html.mpe-fourth-button-page[data-color-scheme="light"] .gh-main {
  border-color: rgba(52,52,46,.16);
  background:
    linear-gradient(90deg, rgba(82,79,68,.09), transparent 6%, transparent 94%, rgba(82,79,68,.09)),
    linear-gradient(180deg, rgba(154,115,16,.09), transparent 20rem),
    repeating-linear-gradient(0deg, rgba(30,30,25,.022) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, var(--dx-screen), var(--dx-screen-2));
  box-shadow:
    inset 0 0 0 .42rem #52534d,
    inset 0 0 0 .78rem var(--dx-frame),
    inset 0 0 0 .98rem #77776f,
    inset 0 0 7rem rgba(154,115,16,.07),
    0 2rem 5rem var(--dx-shadow);
}

/* Raised perforated housing, derived from the in-game Picus datapad silhouette. */
html.mpe-fourth-button-page .gh-main::before {
  content: "";
  position: absolute;
  left: 3.8rem;
  top: -5.15rem;
  z-index: 3;
  display: flex;
  align-items: center;
  width: min(39rem, calc(100% - 7.6rem));
  height: 7.2rem;
  padding: 1.4rem 4.8rem .3rem;
  clip-path: polygon(0 100%, 0 54%, 8% 54%, 12% 0, 82% 0, 88% 54%, 100% 54%, 100% 100%);
  background:
    radial-gradient(circle, rgba(255,255,255,.11) 0 1.55px, transparent 1.7px) 0 0 / 8px 8px,
    linear-gradient(180deg, #2a2c29 0, #111311 58%, #060706 100%);
  color: var(--dx-gold-bright);
  font-family: var(--dx-ui-font);
  font-size: 1.34rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-shadow: 0 0 1.2rem rgba(215,173,50,.28);
  box-shadow: 0 .8rem 1.8rem rgba(0,0,0,.28);
}

html.mpe-fourth-button-page[data-color-scheme="light"] .gh-main::before {
  background:
    radial-gradient(circle, rgba(20,20,17,.10) 0 1.55px, transparent 1.7px) 0 0 / 8px 8px,
    linear-gradient(180deg, #d2cec2 0, #aaa79e 58%, #676963 100%);
  color: #332704;
  text-shadow: 0 0 1.2rem rgba(154,115,16,.18);
}

/* Inner screen rule and corner-retaining frame. */
html.mpe-fourth-button-page .gh-main::after {
  content: "";
  position: absolute;
  inset: 1.25rem;
  z-index: 0;
  pointer-events: none;
  border: 1px solid var(--dx-line);
  border-radius: .85rem;
  background:
    linear-gradient(90deg, var(--dx-line) 0 7rem, transparent 7rem calc(100% - 7rem), var(--dx-line) calc(100% - 7rem)) 0 3.65rem / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, var(--dx-line), transparent) 50% calc(100% - 3.4rem) / 62% 1px no-repeat;
  box-shadow: inset 0 0 3.4rem rgba(0,0,0,.20);
}

html.mpe-fourth-button-page .gh-article,
html.mpe-fourth-button-page .gh-read-next,
html.mpe-fourth-button-page .mpe-post-routes,
html.mpe-fourth-button-page .mpe-article-tags-panel,
html.mpe-fourth-button-page .gh-comments,
html.mpe-fourth-button-page .mpe-book-widget-panel,
html.mpe-fourth-button-page .mpe-related-posts {
  position: relative;
  z-index: 1;
}

/* Force every post surface into the same central screen column. */
html.mpe-fourth-button-page .gh-main .gh-canvas {
  display: block;
  width: min(76rem, calc(100% - 3.2rem));
  max-width: 76rem;
  margin-inline: auto;
}

html.mpe-fourth-button-page .gh-main .gh-canvas > * {
  grid-column: auto;
}

html.mpe-fourth-button-page .gh-content > .kg-width-wide,
html.mpe-fourth-button-page .gh-content > .kg-width-full,
html.mpe-fourth-button-page .gh-content > .kg-card,
html.mpe-fourth-button-page .gh-article-image {
  width: 100%;
  max-width: 100%;
  margin-right: 0;
  margin-left: 0;
  grid-column: auto;
}

html.mpe-fourth-button-page .gh-article-header {
  position: relative;
  padding: 3.5rem 0 4.2rem;
  border-bottom: 1px solid var(--dx-line);
  background:
    linear-gradient(180deg, rgba(215,173,50,.06), transparent 12rem),
    repeating-linear-gradient(90deg, transparent 0 7.8rem, rgba(215,173,50,.045) 7.8rem 7.9rem);
}

html.mpe-fourth-button-page .gh-article-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.48rem;
  width: 10rem;
  height: .9rem;
  background: radial-gradient(circle, var(--dx-gold) 0 2px, transparent 2.2px) 0 50% / 1.25rem 100% repeat-x;
}

html.mpe-fourth-button-page .gh-article-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2.9rem;
  margin: 0 0 1.7rem;
  padding: .52rem .82rem;
  border: 1px solid var(--dx-line);
  border-left: .42rem solid var(--dx-gold);
  background: var(--dx-gold-soft);
  color: var(--dx-gold-bright);
  font-family: var(--dx-ui-font);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .13em;
  text-transform: uppercase;
}

html.mpe-fourth-button-page .gh-article-title {
  max-width: 68rem;
  margin: 0;
  color: var(--dx-text-strong);
  font-family: var(--dx-ui-font) !important;
  font-size: clamp(4rem, 7vw, 7.4rem);
  font-weight: 300;
  line-height: .98;
  letter-spacing: .015em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 0 2.2rem rgba(215,173,50,.08);
}

html.mpe-fourth-button-page .gh-article-excerpt {
  max-width: 63rem;
  margin-top: 2rem;
  color: var(--dx-muted);
  font-family: var(--dx-ui-font);
  font-size: 1.85rem;
  line-height: 1.55;
}

html.mpe-fourth-button-page .gh-article-sidebar {
  position: static;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  margin-top: 2.4rem;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--dx-line-soft);
}

html.mpe-fourth-button-page .gh-author-image-list {
  margin: 0;
}

html.mpe-fourth-button-page .gh-author-image,
html.mpe-fourth-button-page .gh-author-image-list .gh-author-image:only-child {
  width: 3.8rem;
  height: 3.8rem;
  margin: 0;
  border: 1px solid var(--dx-line);
  border-radius: .2rem;
  filter: sepia(.16) saturate(.72) contrast(1.04);
}

html.mpe-fourth-button-page .gh-author-name-list,
html.mpe-fourth-button-page .gh-author-name,
html.mpe-fourth-button-page .gh-author-name a,
html.mpe-fourth-button-page .gh-article-meta,
html.mpe-fourth-button-page .gh-article-meta a {
  color: var(--dx-muted);
  font-family: var(--dx-ui-font);
}

html.mpe-fourth-button-page .gh-author-name {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}

html.mpe-fourth-button-page .gh-article-meta {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

html.mpe-fourth-button-page .gh-article-meta-sep {
  width: .55rem;
  height: .55rem;
  margin-inline: .8rem;
  border-radius: 0;
  transform: rotate(45deg);
  background: var(--dx-gold);
}

html.mpe-fourth-button-page .gh-button-share {
  justify-self: end;
  min-height: 3.4rem;
  padding: .8rem 1.15rem;
  border: 1px solid var(--dx-line);
  border-radius: 0;
  background: rgba(215,173,50,.06);
  color: var(--dx-gold-bright);
  font-family: var(--dx-ui-font);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

html.mpe-fourth-button-page .gh-article-image {
  margin-top: 3rem;
  padding: .65rem;
  border: 1px solid var(--dx-line);
  background: rgba(0,0,0,.22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 1.2rem 3rem rgba(0,0,0,.24);
}

html.mpe-fourth-button-page[data-color-scheme="light"] .gh-article-image {
  background: rgba(70,68,60,.055);
}

html.mpe-fourth-button-page .gh-content {
  padding-top: 4.2rem;
  color: var(--dx-text);
  font-family: var(--dx-ui-font);
  font-size: 1.82rem;
  line-height: 1.72;
}

html.mpe-fourth-button-page .gh-content p,
html.mpe-fourth-button-page .gh-content li,
html.mpe-fourth-button-page .gh-content dd,
html.mpe-fourth-button-page .gh-content blockquote {
  color: var(--dx-text);
}

html.mpe-fourth-button-page .gh-content p {
  text-wrap: pretty;
}

html.mpe-fourth-button-page .gh-content strong {
  color: var(--dx-text-strong);
  font-weight: 720;
}

html.mpe-fourth-button-page .gh-content em {
  color: color-mix(in srgb, var(--dx-text) 84%, var(--dx-gold) 16%);
}

html.mpe-fourth-button-page .gh-content h2,
html.mpe-fourth-button-page .gh-content h3,
html.mpe-fourth-button-page .gh-content h4,
html.mpe-fourth-button-page .gh-content h5,
html.mpe-fourth-button-page .gh-content h6 {
  color: var(--dx-gold-bright);
  font-family: var(--dx-ui-font) !important;
  font-weight: 400;
  letter-spacing: .035em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 0 1.8rem rgba(215,173,50,.11);
}

html.mpe-fourth-button-page .gh-content h2 {
  position: relative;
  margin-top: 7rem;
  margin-bottom: 2.5rem;
  padding: 1.45rem 1.7rem 1.35rem 2.1rem;
  border-top: 1px solid var(--dx-line);
  border-bottom: 1px solid var(--dx-line-soft);
  border-left: .5rem solid var(--dx-gold);
  background: linear-gradient(90deg, var(--dx-gold-soft), transparent 78%);
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 1.06;
}

html.mpe-fourth-button-page .gh-content h2::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  bottom: .8rem;
  width: 5.8rem;
  height: .55rem;
  background: radial-gradient(circle, var(--dx-gold) 0 1.5px, transparent 1.7px) 0 50% / .95rem 100% repeat-x;
  opacity: .72;
}

html.mpe-fourth-button-page .gh-content h3 {
  margin-top: 4.5rem;
  margin-bottom: 1.6rem;
  padding-left: 1.2rem;
  border-left: .3rem solid var(--dx-gold);
  font-size: 2.25rem;
  line-height: 1.15;
}

html.mpe-fourth-button-page .gh-content h4 {
  margin-top: 3.4rem;
  color: var(--dx-text-strong);
  font-size: 1.75rem;
  font-weight: 680;
  letter-spacing: .07em;
}

html.mpe-fourth-button-page .gh-content a {
  color: var(--dx-gold-bright);
  text-decoration: underline;
  text-decoration-color: var(--dx-line);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

html.mpe-fourth-button-page .gh-content a:hover,
html.mpe-fourth-button-page .gh-content a:focus-visible {
  color: var(--dx-text-strong);
  text-decoration-color: var(--dx-gold-bright);
}

html.mpe-fourth-button-page .gh-content hr {
  height: .95rem;
  margin-block: 5.3rem;
  border: 0;
  background: radial-gradient(circle, var(--dx-gold) 0 2px, transparent 2.25px) 0 50% / 1.35rem 100% repeat-x;
  opacity: .76;
}

html.mpe-fourth-button-page .gh-content blockquote:not([class]) {
  position: relative;
  margin: 3.2rem 0;
  padding: 2.2rem 2.5rem 2.15rem 2.8rem;
  border: 1px solid var(--dx-line);
  border-left: .55rem solid var(--dx-gold);
  background:
    linear-gradient(90deg, var(--dx-gold-soft), transparent 58%),
    rgba(0,0,0,.16);
  color: var(--dx-text-strong);
  font-size: 1.95rem;
  line-height: 1.55;
  box-shadow: inset 0 0 2.5rem rgba(0,0,0,.12);
}

html.mpe-fourth-button-page[data-color-scheme="light"] .gh-content blockquote:not([class]) {
  background:
    linear-gradient(90deg, var(--dx-gold-soft), transparent 58%),
    rgba(255,255,255,.25);
}

html.mpe-fourth-button-page .gh-content ul,
html.mpe-fourth-button-page .gh-content ol {
  padding-left: 0;
}

html.mpe-fourth-button-page .gh-content ul {
  list-style: none;
}

html.mpe-fourth-button-page .gh-content ul > li {
  position: relative;
  padding-left: 2.55rem;
}

html.mpe-fourth-button-page .gh-content ul > li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: .83em;
  width: 1.35rem;
  height: .62rem;
  transform: translateY(-50%);
  border: 1px solid var(--dx-gold);
  border-left-width: .48rem;
  background: linear-gradient(90deg, var(--dx-gold-soft), transparent);
  box-shadow: 0 0 1.2rem rgba(215,173,50,.12);
}

html.mpe-fourth-button-page .gh-content ol {
  list-style: none;
  counter-reset: dx-list;
}

html.mpe-fourth-button-page .gh-content ol > li {
  position: relative;
  counter-increment: dx-list;
  padding-left: 3.4rem;
}

html.mpe-fourth-button-page .gh-content ol > li::before {
  content: counter(dx-list, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .15em;
  color: var(--dx-gold);
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: .08em;
}

html.mpe-fourth-button-page .gh-content figure,
html.mpe-fourth-button-page .gh-content .kg-card.kg-image-card {
  position: relative;
}

html.mpe-fourth-button-page .gh-content img {
  width: 100%;
  border: 1px solid var(--dx-line);
  border-radius: 0;
  background: #050605;
  box-shadow:
    0 0 0 .5rem rgba(0,0,0,.16),
    0 1.4rem 3.4rem rgba(0,0,0,.30),
    0 0 2.4rem rgba(215,173,50,.08);
  filter: saturate(.88) contrast(1.035);
}

html.mpe-fourth-button-page[data-color-scheme="light"] .gh-content img {
  background: #e5e0d3;
  box-shadow:
    0 0 0 .5rem rgba(60,57,49,.07),
    0 1.4rem 3.4rem rgba(63,55,37,.18),
    0 0 2.4rem rgba(154,115,16,.06);
}

html.mpe-fourth-button-page .gh-content figcaption {
  margin-top: 1.15rem;
  color: var(--dx-muted);
  font-family: var(--dx-ui-font);
  font-size: 1.12rem;
  font-weight: 580;
  line-height: 1.45;
  letter-spacing: .075em;
  text-align: left;
  text-transform: uppercase;
}

html.mpe-fourth-button-page .gh-content pre,
html.mpe-fourth-button-page .gh-content :not(pre) > code {
  border: 1px solid var(--dx-line-soft);
  border-radius: 0;
  background: rgba(0,0,0,.24);
  color: var(--dx-text-strong);
}

html.mpe-fourth-button-page[data-color-scheme="light"] .gh-content pre,
html.mpe-fourth-button-page[data-color-scheme="light"] .gh-content :not(pre) > code {
  background: rgba(90,84,68,.08);
}

html.mpe-fourth-button-page .gh-content table,
html.mpe-fourth-button-page .gh-content .mpe-table-card,
html.mpe-fourth-button-page .gh-content .kg-table-card {
  border-color: var(--dx-line) !important;
  background: rgba(0,0,0,.14) !important;
  color: var(--dx-text) !important;
  box-shadow: inset 0 0 2.4rem rgba(0,0,0,.12) !important;
}

html.mpe-fourth-button-page[data-color-scheme="light"] .gh-content table,
html.mpe-fourth-button-page[data-color-scheme="light"] .gh-content .mpe-table-card,
html.mpe-fourth-button-page[data-color-scheme="light"] .gh-content .kg-table-card {
  background: rgba(255,255,255,.22) !important;
}

html.mpe-fourth-button-page .gh-content th {
  color: var(--dx-gold-bright) !important;
  font-family: var(--dx-ui-font) !important;
  letter-spacing: .055em;
  text-transform: uppercase;
}

html.mpe-fourth-button-page .gh-content td,
html.mpe-fourth-button-page .gh-content th {
  border-color: var(--dx-line-soft) !important;
}

html.mpe-fourth-button-page .gh-content .kg-bookmark-container {
  border: 1px solid var(--dx-line) !important;
  border-radius: 0 !important;
  background: rgba(0,0,0,.17) !important;
  color: var(--dx-text) !important;
  box-shadow: inset .45rem 0 0 var(--dx-gold);
}

html.mpe-fourth-button-page[data-color-scheme="light"] .gh-content .kg-bookmark-container {
  background: rgba(255,255,255,.24) !important;
}

html.mpe-fourth-button-page .gh-content .kg-bookmark-title {
  color: var(--dx-text-strong) !important;
}

html.mpe-fourth-button-page .gh-content .kg-bookmark-description,
html.mpe-fourth-button-page .gh-content .kg-bookmark-metadata {
  color: var(--dx-muted) !important;
}

/* This article has no Argument Route membership; suppress the empty legacy box. */
html.mpe-fourth-button-page .mpe-post-routes {
  display: none !important;
}

/* Route, tag, comments, related, and purchase areas remain in the same single screen column. */
html.mpe-fourth-button-page .mpe-post-routes,
html.mpe-fourth-button-page .mpe-article-tags-inner,
html.mpe-fourth-button-page .gh-comments,
html.mpe-fourth-button-page .mpe-book-widget-inner {
  border: 1px solid var(--dx-line);
  border-radius: 0;
  background:
    linear-gradient(90deg, var(--dx-gold-soft), transparent 52%),
    rgba(0,0,0,.15);
  box-shadow: inset 0 0 2.8rem rgba(0,0,0,.13);
}

html.mpe-fourth-button-page[data-color-scheme="light"] .mpe-post-routes,
html.mpe-fourth-button-page[data-color-scheme="light"] .mpe-article-tags-inner,
html.mpe-fourth-button-page[data-color-scheme="light"] .gh-comments,
html.mpe-fourth-button-page[data-color-scheme="light"] .mpe-book-widget-inner {
  background:
    linear-gradient(90deg, var(--dx-gold-soft), transparent 52%),
    rgba(255,255,255,.23);
}

html.mpe-fourth-button-page .mpe-article-tags-panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html.mpe-fourth-button-page .mpe-article-tags-title,
html.mpe-fourth-button-page .gh-pagehead-title {
  color: var(--dx-gold-bright);
  font-family: var(--dx-ui-font);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

html.mpe-fourth-button-page .mpe-article-tag-link,
html.mpe-fourth-button-page .mpe-post-route-link {
  border-color: var(--dx-line);
  border-radius: 0;
  background: rgba(0,0,0,.14);
  color: var(--dx-text);
  font-family: var(--dx-ui-font);
}

html.mpe-fourth-button-page[data-color-scheme="light"] .mpe-article-tag-link,
html.mpe-fourth-button-page[data-color-scheme="light"] .mpe-post-route-link {
  background: rgba(255,255,255,.20);
}

html.mpe-fourth-button-page .mpe-article-tag-link:hover,
html.mpe-fourth-button-page .mpe-post-route-link:hover {
  border-color: var(--dx-gold-bright);
  color: var(--dx-gold-bright);
  opacity: 1;
}

html.mpe-fourth-button-page .gh-read-next {
  margin-top: 6rem;
}

html.mpe-fourth-button-page .gh-read-next .gh-pagehead {
  max-width: none;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--dx-line);
}

html.mpe-fourth-button-page .gh-read-next .gh-pagehead-title::after {
  background: var(--dx-line-soft);
}

html.mpe-fourth-button-page .gh-topic-content {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.4rem !important;
}

html.mpe-fourth-button-page .gh-read-next .gh-card,
html.mpe-fourth-button-page .gh-read-next .gh-card-link {
  width: 100%;
  max-width: 100%;
}

html.mpe-fourth-button-page .gh-read-next .gh-card-link {
  min-height: 0 !important;
  padding: 1.4rem !important;
  border: 1px solid var(--dx-line-soft);
  background: rgba(0,0,0,.12);
}

html.mpe-fourth-button-page[data-color-scheme="light"] .gh-read-next .gh-card-link {
  background: rgba(255,255,255,.19);
}

html.mpe-fourth-button-page .gh-read-next .gh-card-title,
html.mpe-fourth-button-page .gh-read-next .gh-card-excerpt {
  color: var(--dx-text);
  font-family: var(--dx-ui-font);
}

html.mpe-fourth-button-page .gh-read-next .gh-card-footer {
  color: var(--dx-muted);
}

html.mpe-fourth-button-page .mpe-book-widget-inner {
  padding: 2rem;
}

html.mpe-fourth-button-page .mpe-itch-widget {
  border: 1px solid var(--dx-line);
  border-radius: 0;
  box-shadow: none;
}

html.mpe-fourth-button-page .mpe-print-tools {
  border-color: var(--dx-line);
  border-radius: 0;
  background: rgba(215,173,50,.055);
  color: var(--dx-muted);
  font-family: var(--dx-ui-font);
}

html.mpe-fourth-button-page .mpe-print-button {
  border-color: var(--dx-line);
  border-radius: 0;
  color: var(--dx-text);
}

html.mpe-fourth-button-page .mpe-print-button:hover,
html.mpe-fourth-button-page .mpe-print-button:focus-visible {
  border-color: var(--dx-gold-bright);
  background: var(--dx-gold-soft);
  color: var(--dx-gold-bright);
}

html.mpe-fourth-button-page ::selection {
  background: var(--dx-gold);
  color: #080908;
}

html.mpe-fourth-button-page .mpe-book-widget-panel {
  position: relative;
  z-index: 1;
  width: min(76rem, calc(100% - 3.2rem));
  margin: 0 auto 5rem;
}

html.mpe-fourth-button-page .mpe-book-widget-inner {
  max-width: none;
}

html.mpe-fourth-button-page .mpe-amazon-link {
  border-color: var(--dx-line);
  border-radius: 0;
  background: var(--dx-gold-soft);
  color: var(--dx-gold-bright);
  font-family: var(--dx-ui-font);
  letter-spacing: .09em;
  text-transform: uppercase;
}

html.mpe-fourth-button-page .mpe-amazon-link:hover,
html.mpe-fourth-button-page .mpe-amazon-link:focus-visible {
  border-color: var(--dx-gold-bright);
  background: rgba(215,173,50,.16);
  color: var(--dx-text-strong);
}

@media (max-width: 760px) {
  html.mpe-fourth-button-page .gh-main {
    width: calc(100% - 1.4rem);
    max-width: calc(100% - 1.4rem);
    margin-top: 7rem;
    padding: 7.2rem .55rem 4.4rem;
    border-radius: 1.15rem;
    box-shadow:
      inset 0 0 0 .28rem var(--dx-frame-dark),
      inset 0 0 0 .56rem var(--dx-frame),
      inset 0 0 0 .72rem var(--dx-frame-dark),
      inset 0 0 4rem rgba(215,173,50,.07),
      0 1.2rem 3rem var(--dx-shadow);
  }

  html.mpe-fourth-button-page .gh-main::before {
    left: 1.5rem;
    top: -4.15rem;
    width: min(31rem, calc(100% - 3rem));
    height: 5.9rem;
    padding: 1rem 3.3rem 0;
    font-size: 1.04rem;
    letter-spacing: .09em;
  }

  html.mpe-fourth-button-page .gh-main::after {
    inset: .86rem;
    border-radius: .5rem;
  }

  html.mpe-fourth-button-page .gh-main .gh-canvas {
    width: calc(100% - 2.4rem);
    max-width: calc(100% - 2.4rem);
  }

  html.mpe-fourth-button-page .gh-article-header {
    padding-top: 4.6rem;
  }

  html.mpe-fourth-button-page .gh-article-header::before {
    left: 0;
    right: auto;
    text-align: left;
  }

  html.mpe-fourth-button-page .gh-article-title {
    font-size: clamp(3.35rem, 13vw, 5.5rem);
  }

  html.mpe-fourth-button-page .gh-article-excerpt {
    font-size: 1.66rem;
  }

  html.mpe-fourth-button-page .gh-article-sidebar {
    grid-template-columns: auto 1fr;
  }

  html.mpe-fourth-button-page .gh-button-share {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
  }

  html.mpe-fourth-button-page .gh-content {
    padding-top: 3.5rem;
    font-size: 1.66rem;
    line-height: 1.68;
  }

  html.mpe-fourth-button-page .gh-content h2 {
    margin-top: 5.2rem;
    padding: 1.2rem 1.2rem 1.15rem 1.5rem;
    font-size: 2.35rem;
  }

  html.mpe-fourth-button-page .gh-content h2::after {
    display: none;
  }

  html.mpe-fourth-button-page .gh-content h3 {
    font-size: 1.95rem;
  }

  html.mpe-fourth-button-page .gh-content blockquote:not([class]) {
    padding: 1.7rem 1.5rem 1.65rem 1.8rem;
    font-size: 1.75rem;
  }

  html.mpe-fourth-button-page .mpe-post-routes,
  html.mpe-fourth-button-page .mpe-article-tags-panel,
  html.mpe-fourth-button-page .gh-comments,
  html.mpe-fourth-button-page .mpe-book-widget-panel {
    margin-right: .5rem;
    margin-left: .5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.mpe-fourth-button-page *,
  html.mpe-fourth-button-page *::before,
  html.mpe-fourth-button-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* This skin is a screen treatment only. Printed articles return to plain paper. */
@media print {
  html.mpe-fourth-button-page,
  html.mpe-fourth-button-page body,
  html.mpe-fourth-button-page .gh-site,
  html.mpe-fourth-button-page .gh-main {
    background: #fff !important;
    color: #000 !important;
  }

  html.mpe-fourth-button-page .gh-site::before,
  html.mpe-fourth-button-page .gh-main::before,
  html.mpe-fourth-button-page .gh-main::after,
  html.mpe-fourth-button-page .gh-article-header::before,
  html.mpe-fourth-button-page .gh-article-header::after,
  html.mpe-fourth-button-page .gh-content h2::after {
    display: none !important;
  }

  html.mpe-fourth-button-page .gh-main,
  html.mpe-fourth-button-page .gh-main .gh-canvas {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html.mpe-fourth-button-page .gh-article-header,
  html.mpe-fourth-button-page .gh-content h2,
  html.mpe-fourth-button-page .gh-content h3,
  html.mpe-fourth-button-page .gh-content h4,
  html.mpe-fourth-button-page .gh-content p,
  html.mpe-fourth-button-page .gh-content li,
  html.mpe-fourth-button-page .gh-content blockquote,
  html.mpe-fourth-button-page .gh-content a,
  html.mpe-fourth-button-page .gh-article-title,
  html.mpe-fourth-button-page .gh-article-excerpt {
    color: #000 !important;
    background: transparent !important;
    border-color: #777 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
}
