@charset "UTF-8";

/* ==========================================================================
   The Death of Slim Shady - Cocoon child theme
   Replace optional image variables below when assets are available.
   ========================================================================== */

:root {
  /* Requested color palette */
  --dss-bg: #0d1117;
  --dss-bg-deep: #05080d;
  --dss-section: #08101a;
  --dss-section-alt: #13202b;
  --dss-text: #ffffff;
  --dss-text-sub: #c6d1da;
  --dss-blue: #0a84ff;
  --dss-blue-bright: #00a2ff;
  --dss-red: #e63946;
  --dss-tape: #d5ed24;
  --dss-tape-bright: #edff4a;
  --dss-tape-dark: #a9c313;
  --dss-tape-ink: #101408;
  --dss-border: rgba(10, 132, 255, 0.35);
  --dss-border-strong: rgba(10, 132, 255, 0.68);
  --dss-shadow: 0 18px 52px rgba(0, 0, 0, 0.42);
  --dss-glow: 0 0 24px rgba(10, 132, 255, 0.25);

  /* Font fallbacks keep the design usable if Google Fonts is unavailable. */
  --dss-font-body: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --dss-font-display: "Barlow Condensed", Impact, Haettenschweiler,
    "Arial Narrow Bold", sans-serif;

  /*
   * Optional images.
   * Example:
   * --dss-hero-image: url("../images/hero.jpg");
   * --dss-grunge-texture: url("../images/grunge-texture.png");
   * --dss-profile-image: url("../images/profile.jpg");
   *
   * OGP_IMAGE_URL is set in Cocoon Settings > OGP, not in CSS.
   */
  --dss-hero-image: none;
  --dss-hero-position: center;
  --dss-grunge-texture: none;
  --dss-profile-image: none;

  --dss-content-width: 1250px;
  --dss-radius: 3px;
}

html {
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  width: 100%;
  min-width: 0;
  overflow: visible;
  color: var(--dss-text);
  font-family: var(--dss-font-body);
  background-color: var(--dss-bg);
  background-image:
    radial-gradient(circle at 78% 2%, rgba(10, 132, 255, 0.12), transparent 30rem),
    radial-gradient(circle at 5% 30%, rgba(0, 162, 255, 0.06), transparent 24rem),
    linear-gradient(145deg, var(--dss-bg) 0%, var(--dss-bg-deep) 60%, #08111c 100%);
  background-attachment: fixed;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
}

body::before {
  opacity: 0.34;
  background-image:
    var(--dss-grunge-texture),
    repeating-linear-gradient(
      117deg,
      transparent 0 28px,
      rgba(255, 255, 255, 0.012) 29px,
      transparent 30px 58px
    );
  background-size: cover, auto;
  mix-blend-mode: screen;
}

body::after {
  opacity: 0.32;
  background-image:
    radial-gradient(circle at 13% 18%, rgba(10, 132, 255, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 15% 20%, rgba(10, 132, 255, 0.42) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 68%, rgba(10, 132, 255, 0.45) 0 1px, transparent 2px);
  background-size: 91px 91px, 151px 151px, 127px 127px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
video,
iframe,
table,
pre {
  max-width: 100%;
}

#container,
.container,
.content,
.content-in {
  background: transparent;
}

#container {
  min-height: 0;
  overflow: visible;
}

body,
button,
input,
select,
textarea {
  font-family: var(--dss-font-body);
}

a {
  color: var(--dss-blue-bright);
  text-decoration-color: rgba(0, 162, 255, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover,
a:focus-visible {
  color: #5fc1ff;
  text-shadow: 0 0 12px rgba(10, 132, 255, 0.62);
}

::selection {
  color: var(--dss-text);
  background: var(--dss-blue);
}

:focus-visible {
  outline: 2px solid var(--dss-blue-bright);
  outline-offset: 3px;
}

/* ==========================================================================
   Header and global navigation
   ========================================================================== */

.header-container {
  position: relative;
  color: var(--dss-text);
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(10, 132, 255, 0.12), transparent 40%),
    #03070b;
  border-bottom: 1px solid var(--dss-border);
}

.header-container::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.58;
  background:
    linear-gradient(113deg, transparent 0 65%, rgba(10, 132, 255, 0.12) 65% 66%, transparent 66%),
    repeating-linear-gradient(90deg, transparent 0 96px, rgba(255, 255, 255, 0.018) 97px);
}

.header-container::after {
  position: absolute;
  right: 8%;
  bottom: -9px;
  width: min(360px, 42vw);
  height: 18px;
  content: "";
  background: var(--dss-blue);
  opacity: 0.72;
  filter: blur(7px);
  clip-path: polygon(0 48%, 68% 19%, 100% 57%, 66% 72%, 12% 100%);
}

.header-container-in {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  min-height: 112px;
  margin: 0;
  display: block;
}

.logo-header {
  padding-block: 22px;
}

.logo-header a,
.logo-header a:hover {
  color: var(--dss-blue);
  text-decoration: none;
}

.site-name-text,
.logo-text {
  display: inline-block;
  color: var(--dss-blue);
  font-family: var(--dss-font-display);
  font-size: clamp(2.1rem, 5.2vw, 4.6rem);
  font-style: italic;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: lowercase;
  text-shadow:
    2px 2px 0 #03264a,
    0 0 22px rgba(10, 132, 255, 0.38);
  transform: rotate(-1.5deg);
}

.site-name-text:hover,
.logo-text:hover {
  color: #43b5ff;
  text-shadow:
    2px 2px 0 #03264a,
    0 0 30px rgba(10, 132, 255, 0.72);
}

.tagline {
  margin-top: 13px;
  color: var(--dss-text-sub);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.navi {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(3, 7, 11, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--dss-border);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
}

.admin-bar .navi {
  top: 32px;
}

#navi .navi-in {
  width: min(var(--dss-content-width), calc(100% - 40px));
}

#navi .navi-in > ul > li > a {
  position: relative;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dss-text);
  font-family: var(--dss-font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s ease, background-color 0.2s ease;
}

#navi .navi-in > ul > li > a::after {
  position: absolute;
  right: 16%;
  bottom: 5px;
  left: 16%;
  height: 5px;
  content: "";
  opacity: 0;
  background: var(--dss-blue);
  filter: drop-shadow(0 0 5px rgba(10, 132, 255, 0.72));
  clip-path: polygon(0 51%, 10% 16%, 32% 38%, 53% 5%, 74% 44%, 100% 20%, 96% 74%, 70% 57%, 46% 100%, 20% 65%);
  transform: scaleX(0.5) rotate(-1deg);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#navi .navi-in > ul > li > a:hover,
#navi .navi-in > ul > li.current-menu-item > a,
#navi .navi-in > ul > li.current-menu-ancestor > a {
  color: var(--dss-blue-bright);
  background: rgba(10, 132, 255, 0.06);
}

#navi .navi-in > ul > li > a:hover::after,
#navi .navi-in > ul > li.current-menu-item > a::after,
#navi .navi-in > ul > li.current-menu-ancestor > a::after {
  opacity: 1;
  transform: scaleX(1) rotate(-1deg);
}

.navi-in > ul .sub-menu {
  color: var(--dss-text);
  background: rgba(5, 10, 16, 0.98);
  border: 1px solid var(--dss-border);
  box-shadow: var(--dss-shadow), var(--dss-glow);
}

.navi-in > ul .sub-menu a {
  color: var(--dss-text);
}

.navi-in > ul .sub-menu a:hover {
  color: var(--dss-blue-bright);
  background: rgba(10, 132, 255, 0.11);
}

/* Desktop dropdown menus */
@media screen and (min-width: 1024px) {
  body #header-container,
  body #header-container .header-container-in,
  body #header-container #navi,
  body #navi .navi-in,
  body #navi .navi-in > ul,
  body #navi .navi-in > ul > li {
    overflow: visible;
  }

  body #header-container {
    z-index: 2000;
  }

  body #navi {
    z-index: 2100;
  }

  body #navi .navi-in > ul > li {
    position: relative;
    height: 56px;
  }

  body #navi .navi-in > ul > li > .sub-menu {
    z-index: 2200;
    top: 100%;
    right: auto;
    bottom: auto;
    left: 0;
    width: 270px;
    min-width: 270px;
    margin: 0;
    padding: 8px 0;
    color: #eef7ff;
    background:
      linear-gradient(135deg, rgba(10, 132, 255, 0.11), transparent 44%),
      rgba(5, 14, 22, 0.985);
    border: 1px solid rgba(10, 132, 255, 0.58);
    box-shadow:
      0 20px 45px rgba(0, 0, 0, 0.55),
      0 0 24px rgba(10, 132, 255, 0.18);
  }

  body #navi .navi-in li:hover > .sub-menu,
  body #navi .navi-in li:focus-within > .sub-menu {
    display: block;
  }

  body #navi .navi-in .sub-menu li {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    float: none;
    border-bottom: 1px solid rgba(10, 132, 255, 0.17);
  }

  body #navi .navi-in .sub-menu li:last-child {
    border-bottom: 0;
  }

  body #navi .navi-in .sub-menu a {
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #eef7ff;
    font-family: var(--dss-font-body);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.01em;
    text-align: left;
    text-transform: none;
    white-space: normal;
    background: transparent;
  }

  body #navi .navi-in .sub-menu a:hover,
  body #navi .navi-in .sub-menu a:focus-visible {
    color: #ffffff;
    background: rgba(10, 132, 255, 0.2);
    text-shadow: 0 0 10px rgba(10, 132, 255, 0.72);
  }

  body #navi .navi-in .sub-menu .caption-wrap,
  body #navi .navi-in .sub-menu .item-label {
    width: 100%;
    overflow: visible;
    color: inherit;
    text-align: left;
    text-overflow: clip;
    white-space: normal;
  }

  body #navi .navi-in .sub-menu .sub-menu {
    top: -9px;
    right: auto;
    left: 100%;
    width: 270px;
    min-width: 270px;
    margin: 0;
  }

  body #navi .navi-in > ul > li:nth-last-child(-n+2) > .sub-menu {
    right: 0;
    left: auto;
  }

  body #navi .navi-in > ul > li:nth-last-child(-n+2) .sub-menu .sub-menu {
    right: 100%;
    left: auto;
  }
}

/* ==========================================================================
   Layout and shared cards
   ========================================================================== */

.content {
  width: 100%;
  margin-top: clamp(24px, 4vw, 54px);
  margin-bottom: clamp(52px, 7vw, 92px);
}

.content-in {
  width: min(var(--dss-content-width), calc(100% - 40px));
  gap: clamp(24px, 3vw, 38px);
}

.main,
.sidebar {
  min-width: 0;
  color: var(--dss-text);
}

.main {
  padding: clamp(22px, 3.4vw, 42px);
  background:
    linear-gradient(145deg, rgba(10, 132, 255, 0.035), transparent 38%),
    rgba(5, 11, 18, 0.93);
  border: 1px solid var(--dss-border);
  border-radius: var(--dss-radius);
  box-shadow: var(--dss-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.breadcrumb,
.breadcrumb a {
  color: #8598a8;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.breadcrumb {
  margin-bottom: 20px;
}

.list-title,
.archive-title {
  position: relative;
  margin: 0 0 30px;
  padding: 0 0 13px;
  color: var(--dss-blue-bright);
  font-family: var(--dss-font-display);
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(10, 132, 255, 0.28);
}

.list-title::after,
.archive-title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(260px, 62%);
  height: 8px;
  content: "";
  background: var(--dss-blue);
  opacity: 0.72;
  clip-path: polygon(0 39%, 8% 8%, 35% 30%, 54% 0, 80% 30%, 100% 15%, 95% 67%, 62% 53%, 36% 100%, 11% 65%);
}

/* ==========================================================================
   Front-page hero
   ========================================================================== */

.dss-hero {
  position: relative;
  min-height: clamp(390px, 56vw, 660px);
  margin: calc(clamp(22px, 3.4vw, 42px) * -1);
  margin-bottom: clamp(18px, 2.4vw, 30px);
  display: grid;
  align-items: center;
  color: var(--dss-text);
  overflow: hidden;
  isolation: isolate;
  background-color: #03070b;
  background-image:
    linear-gradient(90deg, rgba(2, 5, 9, 0.92) 0%, rgba(2, 5, 9, 0.68) 44%, rgba(2, 5, 9, 0.2) 72%, rgba(2, 5, 9, 0.54) 100%),
    radial-gradient(circle at 80% 45%, rgba(10, 132, 255, 0.27), transparent 22rem),
    var(--dss-hero-image),
    linear-gradient(130deg, #071524 0%, #03070b 56%, #101722 100%);
  background-position:
    center,
    center,
    var(--dss-hero-position),
    center;
  background-size: cover;
  border-bottom: 1px solid var(--dss-border);
}

.dss-hero::before,
.dss-hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.dss-hero::before {
  top: 6%;
  right: -8%;
  width: 58%;
  height: 86%;
  opacity: 0.5;
  background:
    linear-gradient(117deg, transparent 0 47%, rgba(10, 132, 255, 0.52) 48% 49%, transparent 50%),
    repeating-linear-gradient(165deg, transparent 0 20px, rgba(0, 162, 255, 0.06) 21px 23px);
  transform: skewX(-10deg);
}

.dss-hero::after {
  right: 0;
  bottom: 0;
  left: 0;
  height: 92px;
  opacity: 0.66;
  background:
    radial-gradient(circle at 9% 58%, var(--dss-blue) 0 2px, transparent 3px),
    radial-gradient(circle at 15% 48%, var(--dss-blue) 0 1px, transparent 2px),
    linear-gradient(176deg, transparent 0 42%, rgba(10, 132, 255, 0.58) 43% 47%, transparent 48%);
  background-size: 71px 71px, 43px 43px, 100% 100%;
  filter: drop-shadow(0 0 8px rgba(10, 132, 255, 0.4));
}

.dss-hero__noise {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.4;
  background:
    var(--dss-grunge-texture),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.018) 4px);
  background-size: cover, auto;
  mix-blend-mode: screen;
}

.dss-hero__content {
  width: min(820px, 86%);
  padding: clamp(36px, 6vw, 78px);
  padding-left: clamp(72px, 8vw, 126px);
}

.dss-hero__eyebrow {
  margin: 0 0 13px;
  color: var(--dss-text);
  font-family: var(--dss-font-body);
  font-size: clamp(0.82rem, 1.3vw, 1.05rem);
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: rotate(-1deg);
}

.dss-hero__title {
  margin: 0;
  color: var(--dss-text);
  font-family: var(--dss-font-display);
  font-size: clamp(3.5rem, 9.5vw, 8.2rem);
  font-style: italic;
  font-weight: 800;
  line-height: 0.76;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-shadow: 4px 5px 0 rgba(0, 0, 0, 0.6);
  transform: rotate(-1.4deg);
}

.dss-hero__title span,
.dss-hero__title strong {
  display: block;
}

.dss-hero__title span {
  font-size: 0.57em;
  letter-spacing: -0.02em;
}

.dss-hero__title strong {
  position: relative;
  width: fit-content;
  margin-top: 0.12em;
  color: var(--dss-blue);
  font-weight: 800;
  text-shadow:
    3px 4px 0 #033263,
    0 0 28px rgba(10, 132, 255, 0.48);
}

.dss-hero__title strong::after {
  position: absolute;
  right: -7%;
  bottom: -0.08em;
  left: -3%;
  height: 0.12em;
  content: "";
  background: var(--dss-blue);
  opacity: 0.72;
  clip-path: polygon(0 41%, 11% 14%, 36% 35%, 58% 0, 83% 27%, 100% 15%, 94% 75%, 65% 55%, 41% 100%, 13% 67%);
}

.dss-hero__subtitle {
  width: fit-content;
  margin: clamp(22px, 3vw, 35px) 0 0 clamp(12px, 4vw, 48px);
  color: var(--dss-text);
  font-family: var(--dss-font-display);
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.dss-hero__subtitle::after {
  display: block;
  width: 82%;
  height: 7px;
  margin: 9px auto 0;
  content: "";
  background: #fff;
  clip-path: polygon(0 50%, 12% 22%, 37% 39%, 55% 5%, 77% 38%, 100% 26%, 94% 67%, 67% 58%, 42% 100%, 16% 72%);
}

.dss-hero__cta {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(20px, 4vw, 48px);
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--dss-text);
  font-family: var(--dss-font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.dss-hero__cta span {
  color: var(--dss-blue-bright);
  font-size: 1.25rem;
  filter: drop-shadow(0 0 6px rgba(10, 132, 255, 0.7));
}

.dss-hero-ad-slot:empty {
  display: none;
}

.dss-hero-ad-slot:not(:empty) {
  position: relative;
  width: min(calc(100% - 44px), var(--dss-content-width));
  margin: 0 auto clamp(22px, 3vw, 38px);
  padding: 34px clamp(12px, 2.5vw, 28px) 18px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(105deg, rgba(10, 132, 255, 0.1), transparent 48%),
    rgba(3, 7, 11, 0.86);
  border: 1px solid var(--dss-border);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.dss-hero-ad-slot:not(:empty)::before {
  position: absolute;
  top: 11px;
  left: clamp(14px, 2.5vw, 28px);
  content: "ADVERTISEMENT";
  color: #8fa5b5;
  font-family: var(--dss-font-display);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.15em;
}

.dss-hero-ad-slot .dss-hero-relocated-ad {
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  min-height: 0;
  margin: 0 !important;
  clear: none !important;
  overflow: hidden;
  text-align: center;
  background: transparent;
}

.dss-hero-ad-slot .dss-hero-relocated-ad > ins.adsbygoogle {
  max-width: 100%;
  margin-inline: auto !important;
  overflow: hidden;
}

.dss-section-marker {
  position: relative;
  max-width: 100%;
  margin: 0 0 24px;
  padding: 0 0 11px;
  color: var(--dss-blue-bright);
  font-family: var(--dss-font-display);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(10, 132, 255, 0.25);
}

.dss-js .dss-section-marker {
  display: none;
}

.dss-js .main > .dss-section-marker {
  display: block;
}

.dss-section-marker::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(170px, 42%);
  height: 6px;
  content: "";
  background: var(--dss-blue);
  clip-path: polygon(0 40%, 14% 0, 37% 32%, 58% 7%, 80% 40%, 100% 16%, 94% 72%, 66% 53%, 39% 100%, 13% 62%);
}

/* ==========================================================================
   Entry cards and related posts
   ========================================================================== */

.entry-card-wrap,
.related-entry-card-wrap {
  position: relative;
  display: block;
  margin-bottom: 20px;
  padding: 0;
  color: var(--dss-text);
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(10, 132, 255, 0.045), transparent 38%),
    var(--dss-section);
  border: 1px solid var(--dss-border);
  border-radius: var(--dss-radius);
  box-shadow: 0 11px 28px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.entry-card-wrap::before,
.related-entry-card-wrap::before {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  content: "";
  background: var(--dss-blue);
  box-shadow: 0 0 15px rgba(10, 132, 255, 0.78);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.24s ease;
}

.entry-card-wrap:hover,
.related-entry-card-wrap:hover {
  color: var(--dss-text);
  border-color: var(--dss-border-strong);
  box-shadow:
    0 19px 42px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(10, 132, 255, 0.18);
  transform: translateY(-4px);
}

.entry-card-wrap:hover::before,
.related-entry-card-wrap:hover::before {
  transform: scaleY(1);
}

.entry-card {
  padding: 18px;
}

/*
 * Google Auto Ads can insert an ad inside Cocoon's text column. Only cards
 * containing such an ad are rebuilt as a grid so the ad becomes a deliberate
 * full-width second row instead of splitting the article summary.
 */
.entry-card.dss-entry-card-has-ad {
  display: grid;
  grid-template-columns: minmax(220px, 40%) minmax(0, 1fr);
  grid-template-areas:
    "thumb title"
    "thumb snippet"
    "thumb meta"
    "ad ad";
  column-gap: clamp(16px, 2.2vw, 26px);
  row-gap: 10px;
  align-items: start;
  height: auto !important;
}

.dss-entry-card-has-ad > .entry-card-thumb {
  grid-area: thumb;
  float: none;
  width: 100%;
  margin: 0;
}

.dss-entry-card-has-ad > .entry-card-content {
  display: contents;
  height: auto !important;
}

.dss-entry-card-has-ad .entry-card-title {
  grid-area: title;
  margin: 0;
}

.dss-entry-card-has-ad .entry-card-snippet {
  grid-area: snippet;
  margin: 0;
}

.dss-entry-card-has-ad .entry-card-meta {
  position: static !important;
  grid-area: meta;
  justify-self: end;
  align-self: end;
  margin: 0;
}

.dss-entry-card-has-ad .dss-entry-card-ad {
  position: relative;
  grid-area: ad;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  min-height: 0;
  margin: 12px 0 0 !important;
  padding: 31px 16px 18px;
  clear: none !important;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(10, 132, 255, 0.09), transparent 48%),
    rgba(3, 7, 11, 0.76);
  border-top: 1px solid var(--dss-border-strong);
  border-bottom: 1px solid rgba(10, 132, 255, 0.2);
  box-shadow: inset 0 12px 32px rgba(0, 0, 0, 0.22);
}

.dss-entry-card-has-ad .dss-entry-card-ad::before {
  position: absolute;
  top: 9px;
  left: 16px;
  content: "ADVERTISEMENT";
  color: #8fa5b5;
  font-family: var(--dss-font-display);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.15em;
}

.dss-entry-card-has-ad .dss-entry-card-ad > ins.adsbygoogle {
  max-width: 100%;
  margin-inline: auto !important;
  overflow: hidden;
}

.entry-card-thumb,
.related-entry-card-thumb {
  overflow: hidden;
  background: #03070b;
  border: 1px solid var(--dss-border);
  border-radius: 1px;
  box-shadow: 0 0 17px rgba(10, 132, 255, 0.12);
}

.entry-card-thumb img,
.related-entry-card-thumb img {
  filter: saturate(0.78) contrast(1.08);
  transition: filter 0.28s ease, transform 0.38s ease;
}

.entry-card-wrap:hover .entry-card-thumb img,
.related-entry-card-wrap:hover .related-entry-card-thumb img {
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.03);
}

.entry-card-title,
.related-entry-card-title {
  color: var(--dss-text);
  font-weight: 900;
  line-height: 1.48;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.entry-card-wrap:hover .entry-card-title,
.related-entry-card-wrap:hover .related-entry-card-title {
  color: var(--dss-blue-bright);
  text-shadow: 0 0 13px rgba(10, 132, 255, 0.42);
}

.entry-card-snippet,
.related-entry-card-snippet {
  color: var(--dss-text-sub);
  line-height: 1.78;
}

.post-date,
.post-update,
.entry-card-info,
.related-entry-card-meta,
.date-tags {
  color: #8fa5b5;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cat-label {
  padding: 5px 9px;
  color: var(--dss-text);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--dss-blue);
  border: 0;
  border-radius: 0;
  box-shadow: 3px 3px 0 #032a52;
  transform: rotate(-1deg);
}

/* ==========================================================================
   Article content
   ========================================================================== */

.entry-title {
  position: relative;
  margin: 0 0 24px;
  padding: 0 0 18px;
  color: var(--dss-text);
  font-family: var(--dss-font-display);
  font-size: clamp(2.15rem, 4vw, 4.05rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.entry-title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(320px, 66%);
  height: 9px;
  content: "";
  background: var(--dss-blue);
  filter: drop-shadow(0 0 7px rgba(10, 132, 255, 0.6));
  clip-path: polygon(0 43%, 9% 10%, 29% 37%, 54% 0, 75% 31%, 100% 16%, 95% 72%, 68% 54%, 42% 100%, 13% 65%);
}

.article {
  color: var(--dss-text);
  font-size: clamp(0.98rem, 1.1vw, 1.06rem);
  line-height: 1.95;
}

.article p {
  margin: 1.55em 0;
}

.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  color: var(--dss-text);
  overflow-wrap: anywhere;
}

.article h2 {
  position: relative;
  isolation: isolate;
  margin: 2.75em 8px 1.35em;
  padding: clamp(17px, 2.2vw, 23px) clamp(19px, 3vw, 31px)
    clamp(34px, 4vw, 42px);
  color: var(--dss-tape-ink);
  font-family: var(--dss-font-display);
  font-size: clamp(1.65rem, 3.3vw, 2.5rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.23;
  letter-spacing: -0.015em;
  text-shadow: 0 1px rgba(255, 255, 255, 0.2);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: rotate(-0.25deg);
  transform-origin: left center;
}

.article h2::before {
  position: absolute;
  z-index: -1;
  inset: 0 -9px 0 -11px;
  content: "";
  background:
    repeating-linear-gradient(
      132deg,
      rgba(16, 20, 8, 0.09) 0 4px,
      transparent 4px 13px
    ),
    linear-gradient(
      92deg,
      var(--dss-tape-dark),
      var(--dss-tape-bright) 44%,
      var(--dss-tape) 72%,
      #bed91a
    );
  clip-path: polygon(
    0.7% 5%,
    17% 1%,
    39% 4%,
    62% 0,
    84% 3%,
    99.4% 1%,
    100% 89%,
    96% 95%,
    72% 92%,
    49% 100%,
    26% 94%,
    1% 98%,
    0 69%
  );
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.32),
    0 0 18px rgba(213, 237, 36, 0.1);
  transform: rotate(-0.45deg);
}

.article h2::after {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 8px;
  left: 20px;
  height: 15px;
  content: "The Death of Slim Shady（Coup de Grâce）";
  color: rgba(16, 20, 8, 0.72);
  overflow: hidden;
  font-family: var(--dss-font-display);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 800;
  line-height: 15px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  background: none;
  opacity: 1;
  clip-path: none;
}

.article h3 {
  position: relative;
  margin: 2.25em 0 1.15em;
  padding: 15px 20px 37px 22px;
  color: #f9fcff;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: 0.005em;
  background:
    linear-gradient(100deg, rgba(213, 237, 36, 0.055), transparent 58%),
    linear-gradient(100deg, rgba(10, 132, 255, 0.11), transparent 72%),
    #071019;
  border: 1px solid rgba(213, 237, 36, 0.3);
  border-left: 5px solid var(--dss-tape);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.045),
    0 10px 28px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.article h3::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: 20px;
  padding-left: 15px;
  content: "The Death of Slim Shady（Coup de Grâce）";
  color: rgba(16, 20, 8, 0.78);
  overflow: hidden;
  font-family: var(--dss-font-display);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  line-height: 20px;
  letter-spacing: 0.13em;
  white-space: nowrap;
  background:
    repeating-linear-gradient(
      132deg,
      rgba(16, 20, 8, 0.1) 0 3px,
      transparent 3px 10px
    ),
    linear-gradient(90deg, var(--dss-tape-dark), var(--dss-tape-bright), var(--dss-tape));
  box-shadow: 0 0 12px rgba(213, 237, 36, 0.13);
}

.article h4 {
  position: relative;
  margin: 2em 0 1.1em;
  padding: 12px 17px 13px 19px;
  color: #f7fbfe;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.01em;
  background:
    linear-gradient(90deg, rgba(10, 132, 255, 0.15), rgba(10, 132, 255, 0.035) 62%, transparent),
    #07101a;
  border: 0;
  border-left: 4px solid var(--dss-blue);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.035),
    0 8px 24px rgba(0, 0, 0, 0.16);
}

.article h4::after {
  position: absolute;
  bottom: 0;
  left: 18px;
  width: 74px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--dss-blue-bright), transparent);
  box-shadow: 0 0 8px rgba(0, 162, 255, 0.42);
}

.article h5 {
  margin: 1.8em 0 0.9em;
  padding: 5px 0 7px 14px;
  color: #eef7fd;
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1.55;
  background: transparent;
  border: 0;
  border-left: 2px solid var(--dss-blue-bright);
}

.article h6 {
  margin: 1.65em 0 0.8em;
  padding: 0 0 7px;
  color: var(--dss-text-sub);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 0.025em;
  background: transparent;
  border: 0;
  border-bottom: 1px dashed rgba(10, 132, 255, 0.35);
}

.article blockquote {
  position: relative;
  margin: 2em 0;
  padding: 23px 25px;
  color: var(--dss-text-sub);
  background:
    linear-gradient(110deg, rgba(10, 132, 255, 0.08), transparent 45%),
    #050c14;
  border: 1px solid var(--dss-border);
  border-left: 5px solid var(--dss-blue);
  border-radius: var(--dss-radius);
}

.article blockquote::before {
  color: rgba(10, 132, 255, 0.32);
}

.article ul,
.article ol {
  padding-left: 1.5em;
}

.article li {
  margin: 0.52em 0;
}

.article li::marker {
  color: var(--dss-blue-bright);
  font-weight: 900;
}

.article code,
.article pre {
  color: #d5edff;
  background: #03080d;
  border-color: var(--dss-border);
}

.article code {
  padding: 0.18em 0.4em;
}

.article pre {
  padding: 19px;
  overflow-x: auto;
  border: 1px solid var(--dss-border);
  border-radius: var(--dss-radius);
  box-shadow: inset 0 0 24px rgba(10, 132, 255, 0.04);
}

.article table {
  color: var(--dss-text);
  border-color: var(--dss-border);
}

.article th {
  color: var(--dss-text);
  background: #12304a;
}

.article td {
  background: #07111b;
}

.article tr:nth-child(even) td {
  background: #0b1824;
}

.article th,
.article td {
  border-color: var(--dss-border);
}

.article hr {
  height: 1px;
  margin-block: 2.5em;
  background: linear-gradient(90deg, var(--dss-blue), var(--dss-border) 42%, transparent);
  border: 0;
}

.article img {
  border-radius: 1px;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.38);
}

/* Table of contents and Cocoon boxes */
.toc,
.information-box,
.question-box,
.alert-box,
.memo-box,
.comment-box,
.common-icon-box,
.blank-box,
.caption-box {
  color: var(--dss-text);
  background:
    linear-gradient(135deg, rgba(10, 132, 255, 0.055), transparent 48%),
    var(--dss-section);
  border-color: var(--dss-border);
  border-radius: var(--dss-radius);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.toc {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 760px;
  padding: clamp(20px, 3vw, 28px);
}

.toc-title {
  position: relative;
  margin: 0 0 18px;
  padding: 2px 16px 16px;
  color: var(--dss-blue-bright);
  font-family: var(--dss-font-display);
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--dss-blue) 18%,
      var(--dss-blue) 82%,
      transparent
    )
    no-repeat center bottom / 150px 4px;
}

/*
 * Cocoon uses .toc-title::after for the [open]/[close] switch.
 * Keep that text in normal flow so it never collides with the title line.
 */
.toc > input.toc-checkbox + .toc-title::after {
  position: static;
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0 0 0 0.7em;
  padding: 2px 8px;
  color: var(--dss-text-sub);
  font-family: var(--dss-font-body);
  font-size: 0.56em;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
  vertical-align: 0.15em;
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid var(--dss-border);
  border-radius: 2px;
}

.toc > input.toc-checkbox + .toc-title:hover::after {
  color: var(--dss-text);
  background: rgba(10, 132, 255, 0.24);
  border-color: rgba(0, 162, 255, 0.75);
}

.toc-content {
  margin-top: 0;
}

.toc .toc-list {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 1.55em;
}

.toc .toc-list li {
  margin: 0.42em 0;
  line-height: 1.65;
}

.toc .toc-list ul,
.toc .toc-list ol {
  margin-top: 0.32em;
  padding-left: 1.35em;
}

.toc a {
  color: var(--dss-text-sub);
  overflow-wrap: anywhere;
}

.toc a:hover {
  color: var(--dss-blue-bright);
}

.tag-link,
.comment-reply-link {
  color: var(--dss-text);
  background: #07111b;
  border-color: var(--dss-border);
  border-radius: 1px;
}

.tag-link:hover,
.comment-reply-link:hover {
  color: var(--dss-text);
  background: var(--dss-blue);
  border-color: var(--dss-blue);
}

/* ==========================================================================
   Buttons and forms
   ========================================================================== */

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.btn,
.wp-block-button__link,
.button {
  color: var(--dss-text);
  font-weight: 900;
  letter-spacing: 0.04em;
  background: var(--dss-blue);
  border: 1px solid var(--dss-blue);
  border-radius: 1px;
  box-shadow:
    4px 4px 0 #03447f,
    0 0 18px rgba(10, 132, 255, 0.15);
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.btn:hover,
.wp-block-button__link:hover,
.button:hover {
  color: var(--dss-text);
  background: var(--dss-blue-bright);
  border-color: var(--dss-blue-bright);
  box-shadow:
    2px 5px 0 #03447f,
    0 0 26px rgba(10, 132, 255, 0.58);
  transform: translateY(-2px);
}

.is-style-outline > .wp-block-button__link,
.wp-block-button__link.is-style-outline,
.btn-wrap.outline a {
  color: var(--dss-text);
  background: #050b12;
  border: 1px solid var(--dss-blue);
  box-shadow: 0 0 16px rgba(10, 132, 255, 0.12);
}

.is-style-outline > .wp-block-button__link:hover,
.wp-block-button__link.is-style-outline:hover,
.btn-wrap.outline a:hover {
  color: var(--dss-blue-bright);
  background: rgba(10, 132, 255, 0.08);
  box-shadow: 0 0 24px rgba(10, 132, 255, 0.38);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
  color: var(--dss-text);
  background: #03090f;
  border: 1px solid var(--dss-border);
  border-radius: 1px;
}

input::placeholder,
textarea::placeholder {
  color: #748999;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--dss-blue);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.15);
  outline: 0;
}

/* ==========================================================================
   Sidebar and widgets
   ========================================================================== */

.sidebar {
  padding: 0;
}

.sidebar .widget {
  position: relative;
  margin-bottom: 25px;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10, 132, 255, 0.055), transparent 48%),
    rgba(5, 12, 19, 0.96);
  border: 1px solid var(--dss-border);
  border-radius: var(--dss-radius);
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.28);
}

.sidebar .widget::after {
  position: absolute;
  top: -6px;
  right: -12px;
  width: 96px;
  height: 22px;
  content: "";
  pointer-events: none;
  opacity: 0.24;
  background: var(--dss-blue);
  transform: rotate(10deg);
}

.sidebar h2,
.sidebar h3,
.widget-title {
  position: relative;
  margin: -4px 0 20px;
  padding: 9px 13px 10px;
  color: var(--dss-text);
  font-family: var(--dss-font-display);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  background: var(--dss-blue);
  border: 0;
  border-radius: 0;
  box-shadow: 0 0 18px rgba(10, 132, 255, 0.24);
  clip-path: polygon(0 8%, 94% 0, 100% 25%, 97% 84%, 10% 100%, 0 82%);
}

.widget-entry-cards .a-wrap {
  color: var(--dss-text);
  border-bottom: 1px solid var(--dss-border);
}

.widget-entry-cards .a-wrap:hover {
  color: var(--dss-blue-bright);
  background: rgba(10, 132, 255, 0.07);
}

.widget-entry-card-title {
  color: inherit;
  font-weight: 800;
}

.search-box {
  background: #03090f;
  border-color: var(--dss-border);
}

.search-edit {
  color: var(--dss-text);
}

.search-submit {
  color: var(--dss-blue-bright);
}

.sidebar .author-box {
  color: var(--dss-text-sub);
  background: transparent;
  border: 0;
}

/* Sidebar text contrast */
body .sidebar,
body .sidebar .widget,
body .sidebar p,
body .sidebar li,
body .sidebar dd,
body .sidebar dt,
body .sidebar .author-description,
body .sidebar .author-info,
body .sidebar .widget-entry-card-date,
body .sidebar .widget-entry-card-update-date,
body .sidebar .post-date,
body .sidebar .post-update,
body .sidebar .ranking-item-description,
body .sidebar .tagcloud {
  color: #dce8f1;
}

body .sidebar .widget a,
body .sidebar .widget li a,
body .sidebar .widget_archive a,
body .sidebar .widget_categories a,
body .sidebar .widget_pages a,
body .sidebar .widget_nav_menu a,
body .sidebar .widget_recent_entries a,
body .sidebar .widget_recent_comments a {
  color: #f4f9fc;
  text-decoration-color: rgba(10, 132, 255, 0.42);
}

body .sidebar .widget a:hover,
body .sidebar .widget a:focus-visible {
  color: #51bdff;
  text-shadow: 0 0 10px rgba(10, 132, 255, 0.58);
}

body .sidebar .post-count,
body .sidebar .count,
body .sidebar .widget_archive li,
body .sidebar .widget_categories li,
body .sidebar .widget_recent_entries li,
body .sidebar .widget_recent_comments li {
  color: #c3d4e0;
}

.sidebar .author-thumb img,
.nwa .author-thumb img {
  border: 2px solid var(--dss-blue);
  box-shadow:
    0 0 0 7px rgba(10, 132, 255, 0.09),
    0 0 25px rgba(10, 132, 255, 0.3);
}

/* Optional helper for a custom HTML profile widget. */
.dss-profile-image {
  width: 148px;
  aspect-ratio: 1;
  margin: 0 auto 18px;
  background-color: #06101a;
  background-image:
    radial-gradient(circle, transparent 52%, rgba(10, 132, 255, 0.32) 53% 57%, transparent 58%),
    var(--dss-profile-image);
  background-position: center;
  background-size: cover;
  border: 2px solid var(--dss-blue);
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(10, 132, 255, 0.32);
}

.author-box .sns-follow-buttons {
  gap: 7px;
}

body .author-box .sns-follow-buttons a.follow-button {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #f7fbfe !important;
  opacity: 1;
  background: #07111b !important;
  border: 1px solid var(--dss-border-strong) !important;
  border-radius: 1px;
  box-shadow:
    inset 0 0 12px rgba(10, 132, 255, 0.08),
    0 0 10px rgba(10, 132, 255, 0.12);
  filter: none !important;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

body .author-box .sns-follow-buttons a.follow-button .social-icon,
body .author-box .sns-follow-buttons a.follow-button .fa,
body .author-box .sns-follow-buttons a.follow-button [class*="icon-"] {
  color: inherit !important;
  opacity: 1;
  filter: none !important;
}

body .author-box .sns-follow-buttons a.follow-button:hover,
body .author-box .sns-follow-buttons a.follow-button:focus-visible {
  color: #ffffff !important;
  background: #0a84ff !important;
  border-color: #00a2ff !important;
  box-shadow:
    0 0 0 2px rgba(10, 132, 255, 0.12),
    0 0 18px rgba(10, 132, 255, 0.45);
  filter: none !important;
  transform: translateY(-2px);
}

.sns-share-buttons .sns-button {
  color: #f7fbfe !important;
  opacity: 1;
  background: #111a22 !important;
  border: 1px solid rgba(10, 132, 255, 0.38);
  border-radius: 1px;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.18);
  filter: none !important;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.sns-share-buttons .sns-button .social-icon,
.sns-share-buttons .sns-button .button-caption,
.sns-share-buttons .sns-button .fa,
.sns-share-buttons .sns-button [class*="icon-"] {
  color: inherit !important;
  opacity: 1;
  filter: none !important;
}

.sns-share-buttons .sns-button:hover,
.sns-share-buttons .sns-button:focus-visible {
  color: #ffffff !important;
  background: #0a84ff !important;
  border-color: #00a2ff;
  box-shadow:
    0 0 0 2px rgba(10, 132, 255, 0.12),
    0 0 18px rgba(10, 132, 255, 0.42);
  filter: none !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   Pagination, comments and footer
   ========================================================================== */

.pagination {
  margin-top: 38px;
}

.pagination .page-numbers {
  color: var(--dss-text);
  background: var(--dss-section);
  border: 1px solid var(--dss-border);
  border-radius: 1px;
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
  color: var(--dss-text);
  background: var(--dss-blue);
  border-color: var(--dss-blue);
  box-shadow: 0 0 17px rgba(10, 132, 255, 0.45);
}

/* Bottom navigation and related-content contrast */
body .main .related-entry-heading,
body .main .comment-title,
body .main .comment-reply-title {
  position: relative;
  margin: 28px 0 22px;
  padding: 0 0 10px 14px;
  color: #f7fbfe !important;
  font-family: var(--dss-font-body);
  font-size: clamp(1.35rem, 2.3vw, 1.65rem);
  font-style: normal;
  font-weight: 900;
  line-height: 1.4;
  opacity: 1;
  border-bottom: 1px solid var(--dss-border);
  border-left: 4px solid var(--dss-blue);
  text-shadow: 0 0 12px rgba(10, 132, 255, 0.2);
}

body .main .related-entry-heading .related-entry-main-heading,
body .main .related-entry-heading .main-caption,
body .main .comment-title .main-caption {
  color: #f7fbfe !important;
  opacity: 1;
}

body .main .related-entry-sub-heading,
body .main .comment-sub-heading {
  color: #c8d8e3 !important;
  opacity: 1;
}

body .pagination-next-link,
body .pager-post-navi a,
body .pager-post-navi .prev-post,
body .pager-post-navi .next-post {
  color: #f4f9fc;
  background:
    linear-gradient(110deg, rgba(10, 132, 255, 0.08), transparent 48%),
    var(--dss-section);
  border: 1px solid var(--dss-border);
}

body .pagination-next-link:hover,
body .pager-post-navi a:hover {
  color: #ffffff;
  border-color: var(--dss-blue);
  box-shadow: 0 0 22px rgba(10, 132, 255, 0.25);
}

body .pagination-next-link,
body .pagination-next-link .fa,
body .pager-post-navi,
body .pager-post-navi .post-title,
body .pager-post-navi .post-date,
body .related-entry-card-snippet,
body .related-entry-card-meta,
body .related-entry-card-meta .post-date,
body .related-entry-card-meta .post-update,
body .comment-meta,
body .comment-metadata,
body .footer,
body .footer-bottom,
body .footer-bottom-content,
body .copyright {
  color: #c8d8e3;
}

body .pager-post-navi .post-title,
body .related-entry-card-title {
  color: #f4f9fc;
}

.comment-list,
.comment-form {
  color: var(--dss-text);
}

.comment-list .comment-body {
  background: var(--dss-section);
  border-color: var(--dss-border);
}

.footer {
  position: relative;
  color: #c8d8e3;
  background:
    linear-gradient(180deg, rgba(10, 132, 255, 0.04), transparent 35%),
    #020508;
  border-top: 1px solid var(--dss-border);
}

.footer::before {
  position: absolute;
  top: -2px;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--dss-blue) 18% 82%, transparent);
  box-shadow: 0 0 14px rgba(10, 132, 255, 0.65);
}

.footer a {
  color: #f4f9fc;
}

.footer a:hover {
  color: var(--dss-blue-bright);
}

.footer-widgets,
.footer-widgets-mobile,
.footer-left,
.footer-center,
.footer-right {
  color: #e8f2f8;
}

/* Cocoon footer widgets can set their own low-contrast colors. */
body .footer .footer-widgets .widget,
body .footer .footer-widgets-mobile .widget,
body .footer .footer-widgets .widget p,
body .footer .footer-widgets-mobile .widget p,
body .footer .footer-widgets .widget li,
body .footer .footer-widgets-mobile .widget li,
body .footer .footer-widgets .widget dd,
body .footer .footer-widgets-mobile .widget dd,
body .footer .footer-widgets .widget dt,
body .footer .footer-widgets-mobile .widget dt {
  color: #e8f2f8 !important;
}

body .footer .footer-widgets .widget a,
body .footer .footer-widgets-mobile .widget a,
body .footer .footer-widgets .widget li a,
body .footer .footer-widgets-mobile .widget li a,
body .footer .footer-widgets .widget_categories a,
body .footer .footer-widgets-mobile .widget_categories a,
body .footer .footer-widgets .widget_recent_entries a,
body .footer .footer-widgets-mobile .widget_recent_entries a,
body .footer .footer-widgets .widget_recent_comments a,
body .footer .footer-widgets-mobile .widget_recent_comments a {
  color: #f7fbfe !important;
  opacity: 1;
  text-decoration-color: rgba(0, 162, 255, 0.55);
}

body .footer .footer-widgets .widget a:hover,
body .footer .footer-widgets-mobile .widget a:hover,
body .footer .footer-widgets .widget a:focus-visible,
body .footer .footer-widgets-mobile .widget a:focus-visible {
  color: #4fc0ff !important;
  text-shadow: 0 0 10px rgba(10, 132, 255, 0.68);
}

body .footer .footer-widgets .post-date,
body .footer .footer-widgets-mobile .post-date,
body .footer .footer-widgets .post-update,
body .footer .footer-widgets-mobile .post-update,
body .footer .footer-widgets .widget-entry-card-date,
body .footer .footer-widgets-mobile .widget-entry-card-date,
body .footer .footer-widgets time,
body .footer .footer-widgets-mobile time {
  color: #c6dce9 !important;
  font-weight: 700;
  opacity: 1;
}

body .footer .footer-widgets .post-count,
body .footer .footer-widgets-mobile .post-count,
body .footer .footer-widgets .count,
body .footer .footer-widgets-mobile .count {
  color: #d8e7f0 !important;
  font-weight: 700;
  opacity: 1;
}

body .footer .footer-widgets .widget-entry-card-title,
body .footer .footer-widgets-mobile .widget-entry-card-title,
body .footer .footer-widgets .recent-comment-content,
body .footer .footer-widgets-mobile .recent-comment-content {
  color: #f7fbfe !important;
  opacity: 1;
}

.footer-bottom-logo .site-name-text {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

/* ==========================================================================
   Mobile menu and reading progress
   ========================================================================== */

.mobile-menu-buttons {
  color: var(--dss-text);
  background: rgba(3, 7, 11, 0.97);
  border-top: 1px solid var(--dss-border);
  backdrop-filter: blur(13px);
}

.mobile-menu-buttons .menu-button > a {
  color: var(--dss-text);
}

.mobile-menu-buttons .menu-button > a:hover {
  color: var(--dss-blue-bright);
}

.menu-content {
  color: var(--dss-text);
  background: #040a10;
}

.menu-content a {
  color: var(--dss-text);
  border-color: var(--dss-border);
}

.menu-content,
.menu-content p,
.menu-content li,
.menu-content .widget,
.menu-content .post-date,
.menu-content .post-update {
  color: #dce8f1;
}

.dss-reading-progress {
  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--dss-blue), var(--dss-blue-bright), #a4ddff);
  box-shadow: 0 0 13px rgba(10, 132, 255, 0.78);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.admin-bar .dss-reading-progress {
  top: 32px;
}

/* ==========================================================================
   Cocoon layout compatibility

   Cocoon can place #header and #navi side by side when a top-menu header
   layout is selected. These rules normalize every desktop header layout to:
   logo row -> horizontal navigation row. They also keep the content and
   sidebar in a stable two-column grid without relying on Cocoon's fixed
   widths.
   ========================================================================== */

@media screen and (min-width: 1024px) {
  body #header-container .header-container-in {
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    display: block;
  }

  body #header-container #header,
  body #header-container .header {
    width: 100%;
    max-width: none;
    float: none;
  }

  body #header-container #header .header-in,
  body #header-container .header .header-in {
    width: min(var(--dss-content-width), calc(100% - 40px));
    min-height: 132px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body #header-container .logo-header {
    width: 100%;
    max-width: none;
    text-align: center;
  }

  body #header-container #navi,
  body #navi {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    max-width: none;
    float: none;
  }

  body #navi .navi-in {
    width: min(var(--dss-content-width), calc(100% - 40px));
    max-width: none;
    margin-inline: auto;
  }

  body #navi .navi-in > ul {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    justify-content: center;
  }

  body #navi .navi-in > ul > li {
    width: auto;
    max-width: none;
    margin: 0;
    flex: 0 1 auto;
    float: none;
  }

  body #navi .navi-in > ul > li > a {
    width: auto;
    min-width: 108px;
    padding-inline: 20px;
    white-space: nowrap;
  }

  body .content-in {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
  }

  body .content-in > .main {
    width: auto;
    max-width: calc(100% - 352px);
    min-width: 0;
    margin: 0;
    flex: 1 1 auto;
  }

  body .content-in > .sidebar {
    width: 320px;
    max-width: 320px;
    min-width: 0;
    margin: 0;
    display: block;
    flex: 0 0 320px;
  }
}

body .sidebar {
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* ==========================================================================
   Responsive adjustments
   ========================================================================== */

@media screen and (max-width: 1023px) {
  .header-container-in,
  #navi .navi-in,
  .content-in {
    width: min(calc(100% - 32px), var(--dss-content-width));
  }

  .content-in {
    display: block;
    gap: 25px;
  }

  body .content-in > .main,
  body .content-in > .sidebar {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-inline: 0;
  }

  body .content-in > .sidebar {
    margin-top: 25px;
  }

  .dss-hero__content {
    width: min(760px, 88%);
    padding-left: clamp(54px, 7vw, 72px);
  }
}

@media screen and (max-width: 834px) {
  .admin-bar .navi,
  .admin-bar .dss-reading-progress {
    top: 46px;
  }

  .header-container-in {
    min-height: 96px;
  }

  .main {
    padding: 26px 22px;
  }

  .dss-hero {
    min-height: 500px;
    margin: -26px -22px 22px;
  }

  .dss-hero__content {
    width: 94%;
    padding: 45px 28px 82px clamp(34px, 7vw, 58px);
  }

  .dss-hero__cta {
    right: 24px;
    bottom: 22px;
  }

  .entry-card {
    padding: 15px;
  }

  .article {
    line-height: 1.9;
  }
}

@media screen and (max-width: 640px) {
  .entry-card.dss-entry-card-has-ad {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "thumb"
      "title"
      "snippet"
      "meta"
      "ad";
    row-gap: 12px;
  }

  .dss-entry-card-has-ad .dss-entry-card-ad {
    margin-top: 4px !important;
    padding: 29px 8px 12px;
  }

  .dss-entry-card-has-ad .dss-entry-card-ad::before {
    left: 10px;
    font-size: 0.62rem;
  }
}

@media screen and (max-width: 480px) {
  html {
    scroll-padding-top: 56px;
  }

  /* Keep each hero image's subject visible in the narrow mobile crop. */
  html[data-dss-hero="1"] {
    --dss-hero-position: 82% center;
  }

  html[data-dss-hero="2"] {
    --dss-hero-position: 84% center;
  }

  html[data-dss-hero="3"] {
    --dss-hero-position: 80% center;
  }

  .header-container-in,
  .content-in {
    width: calc(100% - 22px);
  }

  .site-name-text,
  .logo-text {
    font-size: clamp(2rem, 13vw, 3.2rem);
  }

  .tagline {
    font-size: 0.61rem;
    line-height: 1.6;
    letter-spacing: 0.1em;
  }

  .content {
    margin-top: 12px;
  }

  .main {
    padding: 21px 14px;
  }

  .dss-hero {
    min-height: 440px;
    margin: -21px -14px 18px;
  }

  .dss-hero__content {
    width: 100%;
    padding: 38px 18px 84px;
  }

  .dss-hero__eyebrow {
    font-size: 0.88rem;
  }

  .dss-hero__title {
    font-size: clamp(3.15rem, 20vw, 5.4rem);
    line-height: 0.78;
  }

  .dss-hero__subtitle {
    margin-left: 5px;
    font-size: 1.35rem;
  }

  .dss-hero__cta {
    right: 18px;
    bottom: 19px;
  }

  .dss-hero-ad-slot:not(:empty) {
    width: calc(100% - 22px);
    margin-bottom: 22px;
    padding: 30px 8px 12px;
  }

  .dss-hero-ad-slot:not(:empty)::before {
    top: 10px;
    left: 10px;
    font-size: 0.62rem;
  }

  .dss-section-marker {
    margin-bottom: 20px;
    padding-bottom: 9px;
    font-size: 1.75rem;
  }

  .dss-section-marker::after {
    width: 120px;
    height: 5px;
  }

  .entry-title {
    margin-bottom: 20px;
    padding-bottom: 15px;
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    line-height: 1.14;
    letter-spacing: -0.015em;
  }

  .entry-title::after {
    width: min(220px, 62%);
    height: 6px;
  }

  .article h2 {
    margin-right: 4px;
    margin-left: 4px;
    padding: 15px 16px 33px;
    font-size: 1.45rem;
  }

  .article h2::before {
    right: -5px;
    left: -6px;
  }

  .article h2::after {
    right: 14px;
    bottom: 7px;
    left: 14px;
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  .article h3 {
    padding: 13px 14px 34px 16px;
    font-size: 1.18rem;
  }

  .article h3::after {
    height: 18px;
    padding-left: 11px;
    font-size: 0.55rem;
    line-height: 18px;
    letter-spacing: 0.09em;
  }

  .article h4 {
    padding: 10px 13px 11px 15px;
    font-size: 1.08rem;
  }

  .article h4::after {
    left: 14px;
    width: 58px;
  }

  .entry-card-snippet {
    display: none;
  }

  .entry-card.dss-entry-card-has-ad {
    grid-template-areas:
      "thumb"
      "title"
      "meta"
      "ad";
  }

  .sidebar .widget {
    padding: 18px;
  }

  .toc {
    padding: 18px 15px;
  }

  .toc-title {
    margin-bottom: 15px;
    padding-right: 4px;
    padding-left: 4px;
    font-size: 1.25rem;
    background-size: 120px 3px;
  }

  .toc > input.toc-checkbox + .toc-title::after {
    margin-left: 0.45em;
    padding: 2px 6px;
    font-size: 0.6em;
  }

  .toc .toc-list {
    padding-left: 1.25em;
  }

  .toc .toc-list ul,
  .toc .toc-list ol {
    padding-left: 1.1em;
  }

  body .main .related-entry-heading,
  body .main .comment-title,
  body .main .comment-reply-title {
    margin-top: 24px;
    padding-bottom: 8px;
    padding-left: 11px;
    font-size: 1.3rem;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* ==========================================================================
   Mobile fixed navigation and full-screen panels
   ========================================================================== */

@media screen and (max-width: 1023px) {
  :root {
    --dss-mobile-menu-height: 62px;
  }

  body.mobile-button-fmb {
    padding-bottom: calc(
      var(--dss-mobile-menu-height) + env(safe-area-inset-bottom, 0px)
    ) !important;
  }

  .mobile-footer-menu-buttons.mobile-menu-buttons {
    position: fixed !important;
    z-index: 2147483600;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-width: 0;
    height: calc(
      var(--dss-mobile-menu-height) + env(safe-area-inset-bottom, 0px)
    ) !important;
    min-height: var(--dss-mobile-menu-height);
    margin: 0 !important;
    padding: 0 4px env(safe-area-inset-bottom, 0px) !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    overflow: visible;
    color: #f7fbff;
    background:
      linear-gradient(180deg, rgba(10, 132, 255, 0.09), transparent 52%),
      rgba(2, 6, 10, 0.98) !important;
    border-top: 1px solid var(--dss-border-strong);
    box-shadow:
      0 -10px 28px rgba(0, 0, 0, 0.48),
      0 -1px 12px rgba(10, 132, 255, 0.15);
    /* A backdrop filter traps fixed child panels inside the 62px menu bar. */
    backdrop-filter: none !important;
  }

  .mobile-footer-menu-buttons > .menu-button > input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }

  .mobile-footer-menu-buttons.mobile-menu-buttons > .menu-button {
    position: relative;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: var(--dss-mobile-menu-height);
    margin: 0;
    padding: 0;
    display: block;
    overflow: visible;
  }

  .mobile-footer-menu-buttons .menu-button-in,
  .mobile-footer-menu-buttons .menu-button > a.menu-button-in {
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 7px 2px 5px;
    display: flex !important;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    justify-content: center;
    color: #f7fbff !important;
    text-decoration: none;
    text-shadow: none;
    background: transparent;
    border: 0;
    border-radius: 2px;
  }

  .mobile-footer-menu-buttons .menu-icon {
    width: auto;
    color: #f7fbff;
    font-size: 1.28rem;
    line-height: 1;
    opacity: 1;
  }

  .mobile-footer-menu-buttons .menu-caption {
    max-width: 100%;
    color: #cbdbe6;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
    white-space: nowrap;
    opacity: 1;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-footer-menu-buttons .menu-button-in:hover,
  .mobile-footer-menu-buttons .menu-button-in:focus-visible,
  #navi-menu-input:checked + .menu-open,
  #search-menu-input:checked + .menu-open,
  #sidebar-menu-input:checked + .menu-open {
    color: #ffffff !important;
    background:
      linear-gradient(180deg, rgba(10, 132, 255, 0.24), transparent),
      rgba(10, 132, 255, 0.08);
    box-shadow: inset 0 3px 0 var(--dss-blue);
  }

  .mobile-footer-menu-buttons .menu-button-in:hover .menu-icon,
  .mobile-footer-menu-buttons .menu-button-in:focus-visible .menu-icon,
  #navi-menu-input:checked + .menu-open .menu-icon,
  #search-menu-input:checked + .menu-open .menu-icon,
  #sidebar-menu-input:checked + .menu-open .menu-icon {
    color: var(--dss-blue-bright);
    filter: drop-shadow(0 0 7px rgba(10, 132, 255, 0.62));
  }

  #navi-menu-content,
  #sidebar-menu-content {
    position: fixed !important;
    z-index: 2147483602;
    top: 0 !important;
    right: 0 !important;
    bottom: calc(
      var(--dss-mobile-menu-height) + env(safe-area-inset-bottom, 0px)
    ) !important;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: max(70px, calc(env(safe-area-inset-top, 0px) + 62px)) 16px 26px;
    display: block !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    color: var(--dss-text);
    background:
      radial-gradient(circle at 85% 8%, rgba(10, 132, 255, 0.15), transparent 18rem),
      linear-gradient(145deg, #07111b, #020508 72%);
    border: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, 104%, 0) !important;
    transition:
      transform 0.28s ease,
      opacity 0.2s ease,
      visibility 0.2s ease;
  }

  #navi-menu-content::before,
  #sidebar-menu-content::before {
    position: absolute;
    top: max(23px, calc(env(safe-area-inset-top, 0px) + 15px));
    left: 18px;
    color: var(--dss-blue-bright);
    font-family: var(--dss-font-display);
    font-size: 1.45rem;
    font-style: italic;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  #navi-menu-content::before {
    content: "MENU";
  }

  #sidebar-menu-content::before {
    content: "SIDEBAR";
  }

  #navi-menu-input:checked ~ #navi-menu-content,
  #sidebar-menu-input:checked ~ #sidebar-menu-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) !important;
  }

  #navi-menu-content .menu-close-button,
  #sidebar-menu-content .menu-close-button {
    position: fixed;
    z-index: 2147483604;
    top: max(12px, env(safe-area-inset-top, 0px));
    right: 12px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 1.3rem;
    background: rgba(8, 16, 26, 0.96);
    border: 1px solid var(--dss-border-strong);
    border-radius: 2px;
    box-shadow: 0 0 18px rgba(10, 132, 255, 0.16);
  }

  #navi-menu-content .menu-drawer,
  #navi-menu-content .menu-drawer ul {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block !important;
    list-style: none;
  }

  #navi-menu-content .menu-drawer > li {
    margin: 0 0 8px;
  }

  #navi-menu-content .menu-drawer a {
    position: relative;
    width: 100%;
    min-height: 48px;
    padding: 12px 42px 12px 15px;
    display: flex;
    align-items: center;
    color: #f6fbff !important;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.55;
    white-space: normal;
    overflow-wrap: anywhere;
    text-decoration: none;
    background:
      linear-gradient(100deg, rgba(10, 132, 255, 0.09), transparent 65%),
      rgba(8, 16, 26, 0.92);
    border: 1px solid var(--dss-border);
  }

  #navi-menu-content .menu-drawer a::after {
    position: absolute;
    right: 15px;
    content: "›";
    color: var(--dss-blue-bright);
    font-size: 1.25rem;
  }

  #navi-menu-content .menu-drawer .sub-menu {
    margin: 5px 0 10px !important;
    padding-left: 13px !important;
    display: block !important;
  }

  #navi-menu-content .menu-drawer .sub-menu li {
    margin: 0 0 5px;
  }

  #navi-menu-content .menu-drawer .sub-menu a {
    min-height: 42px;
    padding: 9px 34px 9px 13px;
    color: #d9e8f2 !important;
    font-size: 0.84rem;
    font-weight: 600;
    background: rgba(6, 13, 21, 0.88);
    border-color: rgba(10, 132, 255, 0.22);
  }

  #sidebar-menu-content .widget {
    width: 100%;
    margin-bottom: 18px;
  }

  #search-menu-content {
    position: fixed !important;
    z-index: 2147483603;
    right: 12px !important;
    bottom: calc(
      var(--dss-mobile-menu-height) + env(safe-area-inset-bottom, 0px) + 12px
    ) !important;
    left: 12px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 47px 14px 16px;
    display: block !important;
    color: var(--dss-text);
    background:
      linear-gradient(110deg, rgba(10, 132, 255, 0.13), transparent 55%),
      #07111b;
    border: 1px solid var(--dss-border-strong);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.58);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, 30px, 0);
    transition:
      transform 0.22s ease,
      opacity 0.18s ease,
      visibility 0.18s ease;
  }

  #search-menu-content::before {
    position: absolute;
    top: 14px;
    left: 15px;
    content: "SEARCH";
    color: var(--dss-blue-bright);
    font-family: var(--dss-font-display);
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  #search-menu-input:checked ~ #search-menu-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }

  #search-menu-input:checked ~ #search-menu-close {
    position: fixed;
    z-index: 2147483601;
    inset: 0 0 calc(
      var(--dss-mobile-menu-height) + env(safe-area-inset-bottom, 0px)
    );
    display: block !important;
    background: rgba(0, 3, 7, 0.66);
    backdrop-filter: blur(4px);
  }

  #search-menu-content .search-box {
    width: 100%;
    margin: 0;
    display: flex;
  }

  #search-menu-content .search-edit {
    min-width: 0;
    height: 48px;
    color: #ffffff;
    background: #02070c;
    border: 1px solid var(--dss-border-strong);
    border-right: 0;
  }

  #search-menu-content .search-submit {
    flex: 0 0 52px;
    height: 48px;
    color: #ffffff;
    background: var(--dss-blue);
    border: 1px solid var(--dss-blue);
  }

  html.dss-mobile-panel-open,
  html.dss-mobile-panel-open body {
    overflow: hidden !important;
    overscroll-behavior: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
