@media screen {
  :is(.dd-portal-cover, .page-head, .diblet-hero-copy) {
    --dd-title-art: url('/play/demo-r157-d1/assets/menu/dark-dead-original-title-r140.png');
    --dd-ivory: #f3eee7;
    --dd-gold: #e6bd81;
    --dd-heading: Georgia, 'Times New Roman', serif;
    --dd-patina: repeating-linear-gradient(119deg, transparent 0 3px, #8e5e4826 3px 4px, transparent 4px 9px);
  }

  /* Retain the original widescreen artwork and hotspots in their existing frame. */
  .dd-portal-cover .cover-frame > picture > img {
    --dd-portrait-fade: linear-gradient(to right, transparent 52%, #000 63%);
    -webkit-mask-image: var(--dd-portrait-fade), var(--cover-end-fade);
    -webkit-mask-composite: source-in;
    mask-image: var(--dd-portrait-fade), var(--cover-end-fade);
    mask-composite: intersect;
  }

  .dd-portal-cover .dd-cover-copy {
    position: absolute;
    inset-inline-start: 3.58%;
    inset-block-end: 48.8%;
    width: 47.7%;
    display: grid;
    justify-items: center;
    gap: clamp(3px, 1.1cqh, 9px);
    text-align: center;
    pointer-events: none;
  }

  .dd-cover-copy p,
  .dd-mobile-label {
    margin: 0;
    font-family: var(--dd-heading);
    font-weight: 700;
    text-transform: uppercase;
  }

  .dd-cover-copy .dd-cover-label {
    color: var(--dd-ivory);
    font-size: clamp(15px, min(1.76cqw, 4.1cqh), 33px);
    line-height: 1.15;
    letter-spacing: .12em;
  }

  .dd-cover-copy .dd-cover-motto {
    color: var(--dd-gold);
    font-size: clamp(15px, min(2.25cqw, 5cqh), 42px);
    line-height: 1.13;
    letter-spacing: .042em;
  }

  .dd-cover-copy .dd-lettering {
    display: inline-block;
    position: relative;
    max-width: 100%;
    white-space: nowrap;
  }

  .dd-cover-copy .dd-lettering canvas {
    position: absolute;
    inset: 50% auto auto 50%;
    display: block;
    max-width: none;
    height: auto;
    transform: translate(-50%, -50%);
  }

  .dd-cover-copy .dd-lettering[data-rendered] .dd-letter-source {
    color: transparent;
  }

  .dd-wordmark,
  .dd-divider {
    display: block;
    mix-blend-mode: screen;
    background-image: var(--dd-title-art);
    background-size: 100% auto;
    background-repeat: no-repeat;
    width: 100%;
  }

  .dd-wordmark {
    aspect-ratio: 970 / 134;
    background-position: center 36.9%;
  }

  .dd-divider {
    aspect-ratio: 970 / 40;
    background-position: center 70.4%;
  }

  .dd-cover-copy .dd-cover-signature {
    width: min(100%, 119cqh);
  }

  .dd-portal-cover .hero-exact .hero-hotspot {
    padding-inline: 8px 21px;
    color: #fff0e8;
    text-align: center;
    text-transform: uppercase;
    font: 700 clamp(9px, 1.05cqw, 17px)/1.16 var(--dd-heading);
    letter-spacing: .035em;
  }

  .dd-portal-cover .hero-exact .hero-hotspot.first {
    background: #922f35;
    box-shadow: inset 0 0 0 1px #e27872;
  }

  .dd-portal-cover .hero-exact .hero-hotspot.second {
    background: #150c0ed9;
    color: var(--dd-gold);
    box-shadow: inset 0 0 0 1px #b48d63;
  }

  .dd-portal-cover .hero-exact .hero-hotspot::after {
    content: '→';
    position: absolute;
    inset-inline-end: 4%;
  }

  .dd-portal-cover .hero-exact .hero-hotspot:hover {
    box-shadow: inset 0 0 0 1px #ffd8a6, 0 0 16px #b3233340;
  }

  .dd-portal-cover .hero-exact .hero-hotspot:focus-visible {
    box-shadow: inset 0 0 0 2px #ffd8a6;
  }

  .dd-cover-mediums {
    position: absolute;
    inset-inline-start: 3.58%;
    inset-block-start: 64.55%;
    width: 45.58%;
    margin: 0;
    color: #ddcbbf;
    font: 400 clamp(10px, .85cqw, 14px)/1.35 var(--dd-heading);
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 1px 4px #080709;
    pointer-events: none;
  }

  /* Use the existing mobile title box so the buttons and next section stay in place. */
  .dd-portal-cover .hero-live-r3 .hero-title {
    position: relative;
    color: transparent;
  }

  .dd-mobile-label {
    display: block;
    position: absolute;
    inset-inline-start: 0;
    inset-block-end: calc(100% + 2px);
    color: var(--dd-ivory);
    font-size: clamp(13px, 3.8vw, 19px);
    line-height: 1.12;
    letter-spacing: .11em;
    text-shadow: 0 1px 2px #1b1011;
  }

  .dd-mobile-signature {
    position: absolute;
    inset-inline-start: 0;
    inset-block-end: 0;
    width: min(100%, 5.99em);
    pointer-events: none;
  }

  .dd-portal-cover .hero-live-r3 .hero-tagline {
    color: var(--dd-gold);
  }

  /* Size the mobile links by the original label to keep each button in its slot. */
  .dd-portal-cover .dd-mobile-action-label {
    position: relative;
  }

  .dd-portal-cover .dd-mobile-action-label::before {
    content: attr(data-width-reference);
    display: block;
    visibility: hidden;
  }

  .dd-portal-cover .dd-mobile-action-label > span {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }

  /* The interior heading panels use the same finish at their original sizes. */
  .page-head {
    position: relative;
    background-image: radial-gradient(ellipse at 8% 8%, #6923263b, transparent 72%);
    background-blend-mode: normal;
  }

  .page-head::after,
  .diblet-hero-copy h1::after {
    content: '';
    position: absolute;
    inset-inline-start: var(--space, 20px);
    inset-block-end: -1px;
    width: min(216px, 52%);
    aspect-ratio: 970 / 40;
    background: var(--dd-title-art) center 70.4% / 100% auto no-repeat;
    mix-blend-mode: screen;
    pointer-events: none;
  }

  .diblet-hero-copy h1 {
    position: relative;
  }

  .diblet-hero-copy h1::after {
    inset-inline-start: 0;
    inset-block-end: -2px;
  }

  /* R97: interior text keeps the original colours from site.css and
     diblet-archive.css. The homepage lettering has its own scoped styles. */
  @supports (background-clip: text) {
    .dd-portal-cover .hero-live-r3 .hero-tagline {
      background-image: var(--dd-patina), linear-gradient(#f8dba5, #d9ad72 64%, #c48e55);
      background-clip: text;
      color: transparent;
    }
  }

  @media (forced-colors: active) {
    .page-head h1,
    .diblet-hero-copy h1,
    .diblet-hero-copy .diblet-surname,
    .dd-portal-cover .hero-live-r3 .hero-tagline,
    .dd-portal-cover .hero-live-r3 .hero-title {
      background-image: none;
      color: CanvasText;
      -webkit-text-fill-color: CanvasText;
    }

    .dd-mobile-signature,
    .dd-cover-copy .dd-lettering canvas {
      display: none;
    }

    .dd-cover-copy .dd-lettering[data-rendered] .dd-letter-source {
      color: CanvasText;
    }
  }
}
