:root {
  --aoks-ink: #121831;
  --aoks-muted: #6e7895;
  --aoks-bg: #f4f7ff;
  --aoks-panel: #fff;
  --aoks-navy: #080d2d;
  --aoks-violet: #6657f4;
  --aoks-cyan: #1cbcf2;
  --aoks-pink: #f05fc8;
  --aoks-line: rgba(57, 72, 127, .13);
  --aoks-shadow: 0 24px 70px rgba(26, 38, 91, .1);
}

html { scroll-behavior: smooth; }

body.aok-site-2026 {
  overflow-x: hidden;
  color: var(--aoks-ink);
  background:
    radial-gradient(circle at 4% 18%, rgba(102, 87, 244, .07), transparent 28rem),
    radial-gradient(circle at 94% 32%, rgba(28, 188, 242, .07), transparent 30rem),
    var(--aoks-bg) !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", sans-serif !important;
  letter-spacing: .012em;
}

body.aok-site-2026 * { box-sizing: border-box; }

.aok-site-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 9999;
  width: 100%;
  height: 3px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--aoks-violet), var(--aoks-cyan), var(--aoks-pink));
  box-shadow: 0 0 14px rgba(28, 188, 242, .6);
}

/* Shared professional header */
body.aok-site-2026 #header-container {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(28, 39, 83, .08);
  background: rgba(255, 255, 255, .88) !important;
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 9px 30px rgba(18, 27, 65, .045);
}

body.aok-site-2026 #header-container-in {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 48px)) !important;
  height: 82px;
  min-height: 82px;
  margin-inline: auto;
}

body.aok-site-2026 #header,
body.aok-site-2026 #header-in,
body.aok-site-2026 #navi,
body.aok-site-2026 #navi-in {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.aok-site-2026 #header { flex: 0 0 auto; }
body.aok-site-2026 #navi { flex: 1 1 auto; margin-left: auto !important; }
body.aok-site-2026 #header,
body.aok-site-2026 #header-in,
body.aok-site-2026 #navi,
body.aok-site-2026 #navi-in {
  display: flex !important;
  align-items: center;
  height: 82px !important;
}
body.aok-site-2026 .logo-header { margin: 0 !important; line-height: 0; }
body.aok-site-2026 .header-site-logo-image {
  width: 210px !important;
  height: auto !important;
  max-height: 66px !important;
  object-fit: contain;
}

.aok-site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aok-site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: #2c3557 !important;
  font-size: 12px;
  font-weight: 780;
  text-decoration: none !important;
  transition: color .22s ease, background .22s ease, transform .22s ease;
}

.aok-site-nav a:hover,
.aok-site-nav a:focus-visible {
  color: #4333d5 !important;
  background: rgba(102, 87, 244, .1);
  transform: translateY(-1px);
}

.aok-site-nav .aok-site-nav-cta {
  color: #fff !important;
  background: linear-gradient(135deg, #6657f4, #3281f2);
  box-shadow: 0 9px 22px rgba(80, 74, 220, .23);
}

.aok-site-nav .aok-site-nav-cta:hover,
.aok-site-nav .aok-site-nav-cta:focus-visible {
  color: #fff !important;
  background: linear-gradient(135deg, #7465ff, #20a9f5);
}

/* Layout */
body.aok-site-2026 #content {
  margin-top: 0 !important;
  padding: 54px 0 90px;
  background: transparent !important;
}

body.aok-site-2026 #content-in {
  width: min(1160px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin-inline: auto !important;
}

body.aok-site-2026 #main {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(26px, 5vw, 58px) !important;
  overflow: hidden;
  border: 1px solid rgba(58, 72, 125, .1) !important;
  border-radius: 30px !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: var(--aoks-shadow);
}

body.aok-site-2026 #sidebar { display: none !important; }

body.aok-site-2026 #main > .pr-label {
  display: inline-flex !important;
  margin: 0 0 26px !important;
  padding: 7px 11px !important;
  border: 1px solid rgba(73, 87, 143, .13) !important;
  border-radius: 999px !important;
  color: #737d9a !important;
  background: #f7f8fc !important;
  font-size: 10px !important;
  font-weight: 700;
  line-height: 1.3 !important;
}

body.aok-site-2026 .breadcrumb {
  width: min(1160px, calc(100% - 48px)) !important;
  margin: 20px auto 0 !important;
  color: #77819d;
  font-size: 11px;
}

.aok-article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 7px 11px;
  border: 1px solid rgba(102, 87, 244, .18);
  border-radius: 999px;
  color: #5e54c9;
  background: rgba(102, 87, 244, .06);
  font-family: "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .14em;
}

.aok-article-kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: #43dcae;
  box-shadow: 0 0 0 5px rgba(67, 220, 174, .12);
}

body.aok-site-2026 .article-header { margin-bottom: 30px; }
body.aok-site-2026 .article-header h1,
body.aok-site-2026 .entry-title {
  margin: 0 0 24px !important;
  padding: 0 0 18px !important;
  border: 0 !important;
  color: #17203d !important;
  background: transparent !important;
  font-size: clamp(28px, 4.2vw, 43px) !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  letter-spacing: -.026em;
}

body.aok-site-2026 .article-header h1::after,
body.aok-site-2026 .entry-title::after {
  display: block;
  width: 86px;
  height: 5px;
  margin-top: 20px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--aoks-violet), var(--aoks-cyan), var(--aoks-pink));
}

body.aok-site-2026 .eye-catch,
body.aok-site-2026 .article-header > figure {
  overflow: hidden;
  border-radius: 22px !important;
  box-shadow: 0 20px 48px rgba(24, 34, 82, .16);
}

body.aok-site-2026 .eye-catch img,
body.aok-site-2026 .article-header > figure img {
  display: block;
  width: 100% !important;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), filter .35s ease;
}

body.aok-site-2026 .eye-catch:hover img,
body.aok-site-2026 .article-header > figure:hover img {
  transform: scale(1.012);
  filter: saturate(1.04);
}

body.aok-site-2026 .sns-share,
body.aok-site-2026 .sns-share-message { opacity: .86; }

body.aok-site-2026 .date-tags,
body.aok-site-2026 .article-header .post-date,
body.aok-site-2026 .article-header .post-update,
body.aok-site-2026 .article-header .read-time {
  color: #7b849f !important;
  font-size: 11px !important;
}

body.aok-site-2026 .aok-editorial-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 22px 0 !important;
  padding: 17px 20px !important;
  border: 1px solid rgba(72, 87, 142, .12) !important;
  border-radius: 16px !important;
  color: #68718d !important;
  background: #f7f8fe !important;
  box-shadow: none !important;
}

body.aok-site-2026 .aok-editorial-meta p { margin: 0 !important; font-size: 11px !important; }
body.aok-site-2026 .aok-editorial-meta a { color: #5648d8 !important; font-weight: 750; }

/* Readability */
body.aok-site-2026 .entry-content {
  color: #26304b;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 2;
}

body.aok-site-2026 .entry-content > p,
body.aok-site-2026 .entry-content > ul,
body.aok-site-2026 .entry-content > ol { margin-bottom: 1.45em; }

body.aok-site-2026 .entry-content > h2 {
  position: relative;
  margin: 68px 0 26px !important;
  padding: 22px 24px 22px 30px !important;
  overflow: hidden;
  border: 1px solid rgba(71, 91, 161, .13) !important;
  border-radius: 17px !important;
  color: #172344 !important;
  background: linear-gradient(115deg, #eef2ff 0%, #f3fbff 62%, #fff6fd 100%) !important;
  box-shadow: 0 12px 30px rgba(35, 47, 100, .07);
  font-size: clamp(23px, 3vw, 31px) !important;
  font-weight: 900 !important;
  line-height: 1.5 !important;
  letter-spacing: -.018em;
}

body.aok-site-2026 .entry-content > h2::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  height: auto !important;
  content: "";
  background: linear-gradient(180deg, var(--aoks-violet), var(--aoks-cyan), var(--aoks-pink)) !important;
}

body.aok-site-2026 .entry-content > h3 {
  margin: 44px 0 20px !important;
  padding: 5px 0 5px 18px !important;
  border: 0 !important;
  border-left: 5px solid var(--aoks-violet) !important;
  color: #202b4a !important;
  background: transparent !important;
  font-size: clamp(20px, 2.4vw, 25px) !important;
  font-weight: 850 !important;
  line-height: 1.55 !important;
}

body.aok-site-2026 .entry-content > h4 {
  color: #33405f;
  font-size: 18px;
  font-weight: 800;
}

body.aok-site-2026 .entry-content a:not([rel~="sponsored"]) {
  color: #4d43c9;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.aok-site-2026 .entry-content figure:not(.wp-block-table) img {
  border-radius: 17px;
  box-shadow: 0 14px 38px rgba(25, 36, 84, .11);
}

body.aok-site-2026 .entry-content figcaption {
  margin-top: 8px;
  color: #7d86a0;
  font-size: 11px;
}

/* Table of contents */
body.aok-site-2026 #toc {
  width: 100% !important;
  max-width: none !important;
  margin: 32px 0 54px !important;
  padding: 24px 26px !important;
  border: 1px solid rgba(84, 96, 155, .13) !important;
  border-radius: 20px !important;
  background: linear-gradient(145deg, #f8f9ff, #f3f8ff) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 15px 36px rgba(31, 45, 96, .07);
}

body.aok-site-2026 #toc .toc-title {
  color: #202b50;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .04em;
}

body.aok-site-2026 #toc a {
  color: #5e6885 !important;
  font-size: 12px;
  line-height: 1.7;
  text-decoration: none !important;
  transition: color .2s ease, transform .2s ease;
}

body.aok-site-2026 #toc a:hover,
body.aok-site-2026 #toc a.aok-current { color: #5848db !important; }

body.aok-site-2026 #toc a.aok-current { font-weight: 800; }

/* Data and callouts */
body.aok-site-2026 .entry-content table {
  overflow: hidden;
  border: 1px solid rgba(73, 87, 143, .14) !important;
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(28, 40, 91, .065);
  font-size: 14px;
}

body.aok-site-2026 .entry-content th {
  color: #fff !important;
  border-color: rgba(255,255,255,.12) !important;
  background: linear-gradient(135deg, #172653, #3447a4) !important;
  font-weight: 800;
}

body.aok-site-2026 .entry-content td { border-color: rgba(73, 87, 143, .1) !important; }
body.aok-site-2026 .entry-content tr:nth-child(even) td { background: #f8f9fe; }

body.aok-site-2026 blockquote {
  margin: 30px 0;
  padding: 24px 28px !important;
  border: 0 !important;
  border-left: 5px solid var(--aoks-cyan) !important;
  border-radius: 0 16px 16px 0;
  color: #4e5977;
  background: #f2faff !important;
}

/* Monetization components */
body.aok-site-2026 .entry-content a[rel~="sponsored"] {
  position: relative;
  isolation: isolate;
  border: 0 !important;
  box-shadow: 0 11px 25px rgba(41, 58, 139, .2) !important;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease !important;
}

body.aok-site-2026 .entry-content a[rel~="sponsored"]:hover,
body.aok-site-2026 .entry-content a[rel~="sponsored"]:focus-visible {
  transform: translateY(-3px) !important;
  box-shadow: 0 17px 35px rgba(41, 58, 139, .27) !important;
  filter: saturate(1.08) brightness(1.02);
}

.aok-revenue-bridge {
  position: relative;
  margin: 34px 0 42px;
  padding: clamp(20px, 3.2vw, 31px);
  overflow: hidden;
  border: 1px solid rgba(98, 85, 235, .18);
  border-radius: 23px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 16%, rgba(35, 197, 244, .22), transparent 18rem),
    radial-gradient(circle at 10% 90%, rgba(240, 95, 200, .13), transparent 17rem),
    linear-gradient(135deg, #0a1237, #172052 58%, #111a48);
  box-shadow: 0 22px 54px rgba(20, 31, 85, .2);
}

.aok-revenue-bridge::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 34px 34px;
}

.aok-bridge-head,
.aok-bridge-grid,
.aok-bridge-note { position: relative; z-index: 1; }
.aok-bridge-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 20px; }
.aok-bridge-kicker { margin: 0 0 5px !important; color: #81dff8; font-family: "Segoe UI", sans-serif; font-size: 9px !important; font-weight: 900; letter-spacing: .17em; }
.aok-bridge-title { display: block; color: #fff; font-size: clamp(20px, 2.8vw, 27px); font-weight: 900; line-height: 1.45; }
.aok-bridge-head > p { max-width: 380px; margin: 0 !important; color: #c1cae5; font-size: 11px !important; line-height: 1.75 !important; }
.aok-bridge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.aok-bridge-card {
  display: flex !important;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  padding: 16px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 16px !important;
  color: #fff !important;
  background: rgba(255,255,255,.07) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-decoration: none !important;
}

.aok-bridge-card:hover,
.aok-bridge-card:focus-visible { background: rgba(255,255,255,.12) !important; }
.aok-bridge-card span { color: #9da8cc; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.aok-bridge-card strong { margin: 3px 0; color: #fff; font-size: 14px; font-weight: 850; }
.aok-bridge-card small { color: #b8c3e3; font-size: 9px; line-height: 1.5; }
.aok-bridge-card-internal { background: linear-gradient(135deg, rgba(105,87,244,.42), rgba(35,153,241,.28)) !important; }
.aok-bridge-note { margin: 13px 0 0 !important; color: #8994b6; font-size: 9px !important; line-height: 1.6 !important; }

#aok-mobile-conversion {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 11px 10px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #d7dff7;
  background: rgba(8, 14, 45, .91);
  box-shadow: 0 16px 38px rgba(9, 16, 49, .25);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: opacity .25s ease, transform .25s ease;
}

#aok-mobile-conversion span { font-size: 10px; font-weight: 750; }
#aok-mobile-conversion a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, #6a59f5, #24aaf2);
  font-size: 10px;
  font-weight: 850;
  text-decoration: none !important;
}

#aok-mobile-conversion.aok-dock-hidden { opacity: 0; transform: translateY(18px); pointer-events: none; }

/* Related content and footer */
body.aok-site-2026 .related-entry-card-wrap {
  overflow: hidden;
  border: 1px solid var(--aoks-line) !important;
  border-radius: 17px !important;
  background: #fff;
  box-shadow: 0 10px 27px rgba(29, 41, 91, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}

body.aok-site-2026 .related-entry-card-wrap:hover { transform: translateY(-3px); box-shadow: 0 17px 35px rgba(29, 41, 91, .12); }
body.aok-site-2026 #footer { color: #aeb7d6 !important; background: #080d2d !important; }
body.aok-site-2026 #footer a { color: #dce2f8 !important; }

.aok-site-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s cubic-bezier(.2,.8,.2,1), transform .65s cubic-bezier(.2,.8,.2,1);
}
.aok-site-reveal.aok-site-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .aok-site-nav li:nth-child(2),
  .aok-site-nav li:nth-child(4) { display: none; }
  .aok-bridge-head { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (max-width: 720px) {
  body.aok-site-2026 #header-container-in {
    flex-direction: row !important;
    justify-content: space-between;
    width: calc(100% - 20px) !important;
    height: 68px;
    min-height: 68px;
  }
  body.aok-site-2026 #header,
  body.aok-site-2026 #header-in,
  body.aok-site-2026 #navi,
  body.aok-site-2026 #navi-in {
    display: flex !important;
    align-items: center;
    height: 68px !important;
    min-height: 68px !important;
  }
  body.aok-site-2026 .header-site-logo-image { width: 136px !important; }
  .aok-site-nav li:not(:last-child) { display: none; }
  .aok-site-nav a { min-height: 36px; padding: 0 12px; font-size: 10px; }

  body.aok-site-2026 #content { padding: 18px 0 70px; }
  body.aok-site-2026 #content-in { width: calc(100% - 18px) !important; }
  body.aok-site-2026 #main { padding: 22px 15px 34px !important; border-radius: 22px !important; }
  body.aok-site-2026 .breadcrumb { width: calc(100% - 22px) !important; }
  body.aok-site-2026 .article-header h1,
  body.aok-site-2026 .entry-title { font-size: clamp(25px, 7.8vw, 34px) !important; }
  body.aok-site-2026 .aok-editorial-meta { grid-template-columns: 1fr; padding: 14px !important; }
  body.aok-site-2026 .entry-content { font-size: 15px; line-height: 1.9; }
  body.aok-site-2026 .entry-content > h2 { margin-top: 48px !important; padding: 18px 16px 18px 21px !important; border-radius: 14px !important; font-size: 22px !important; }
  body.aok-site-2026 .entry-content > h3 { margin-top: 34px !important; font-size: 19px !important; }
  body.aok-site-2026 #toc { padding: 19px 16px !important; border-radius: 16px !important; }
  body.aok-site-2026 .entry-content table { font-size: 11px; }
  .aok-revenue-bridge { padding: 20px 15px; border-radius: 19px; }
  .aok-bridge-grid { grid-template-columns: 1fr; }
  .aok-bridge-card { min-height: 88px; }
  #aok-mobile-conversion {
    right: 9px;
    bottom: 64px;
    left: 9px;
    justify-content: space-between;
    padding: 9px 9px 9px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .aok-site-reveal { opacity: 1 !important; transform: none !important; }
}

/* A8 DMM Books: source-material CTA used only on title-specific articles. */
body.aok-site-2026 .aok-a8-book-cta {
  position: relative;
  margin: 34px 0;
  padding: 25px 26px 24px;
  overflow: hidden;
  border: 1px solid #cfdcff;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(76, 99, 255, .16), transparent 42%),
    linear-gradient(135deg, #f8faff 0%, #eef3ff 100%);
  box-shadow: 0 14px 34px rgba(34, 59, 130, .10);
}

body.aok-site-2026 .aok-a8-book-cta__label {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 10px;
  border: 1px solid rgba(62, 84, 210, .22);
  border-radius: 999px;
  color: #3144a7;
  background: rgba(255, 255, 255, .82);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

body.aok-site-2026 .aok-a8-book-cta__title {
  margin: 13px 0 7px;
  color: #15265a;
  font-size: clamp(20px, 2.5vw, 25px);
  font-weight: 900;
  line-height: 1.45;
}

body.aok-site-2026 .aok-a8-book-cta__text {
  margin: 0 0 17px;
  color: #425070;
  font-size: 14px;
  line-height: 1.85;
}

body.aok-site-2026 .aok-a8-book-cta__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 13px;
  color: #fff !important;
  background: linear-gradient(135deg, #334ccf, #7044ce);
  box-shadow: 0 9px 22px rgba(58, 67, 190, .24);
  font-weight: 900;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}

body.aok-site-2026 .aok-a8-book-cta__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 27px rgba(58, 67, 190, .32);
}

body.aok-site-2026 .aok-a8-conditions {
  margin: 9px 0 22px;
  padding: 9px 12px;
  border-left: 3px solid #27b38a;
  color: #526178;
  background: #f3fbf8;
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 720px) {
  body.aok-site-2026 .aok-a8-book-cta { padding: 21px 17px 19px; }
  body.aok-site-2026 .aok-a8-book-cta__button { font-size: 14px; }
}
