.amc-float .amc-float-launcher {
	background-color: #364043;
	border: 3px solid black;
	color: #6a717a;
}
.amc-float .amc-chat .amc-chat-header {
	border-top: 3px solid black;
		border-left: 3px solid black;
		border-right: 3px solid black;
	border-top-left-radius: 16px !important;
	border-top-right-radius: 16px !important;
	background-color: #364043 !important;
	color: #abb8c3;
	font-size:0;
}
.amc-float .amc-chat .amc-chat-header::before {
	color: #abb8c3;
	font-size: 12pt;
	content: "Cognitive System Search"
}

.amc-float .amc-chat .amc-chat-window {
	background-color: #111111;
	color: #6a717a;
	border: 1px solid #6a717a;
}

.amc-float .amc-chat .amc-bubble.amc-user {
	background-color: #6a717a;
	color: #000000;
	border: 1px solid #000000;
	text-align: right;
}
.amc-float .amc-chat .amc-bubble.amc-user::after {
  content: " 🕶️";
	font-size: larger;
}
.amc-float .amc-chat .amc-bubble.amc-info {
	background-color: #202527;
	color: #6a717a;
	border: 1px solid #000000;
	text-align: center;
}
.amc-float .amc-chat .amc-bubble.amc-bot {
	background-color: #000000;
	color: #abb8c3;
	border: 1px solid #313133;
}
.amc-float .amc-chat .amc-bubble.amc-bot::before {
  content: "🤖 ";
	font-size: larger;
}
.amc-float .amc-chat .amc-chat-window::after {
	font-size: xx-small;
	content: " Note: This search tool isn’t perfect. The material on this site spans decades, and not everything is current or complete. Some results may reflect earlier views or outdated context. I reserve the right to evolve, revise, and rethink over time."
}
.amc-user-question {
	background-color: #6a717a;
	color: #000000;
	border: 3px solid #000000;
	text-align: right;
	border-radius: 16px;
}
.amc-user-question:focus {
	border: 3px solid #000000;
	animation: none;
}
.amc-send-btn {
	background-color: #364043;
	border: 3px solid black;
	color: #abb8c3;	
	border-radius: 16px;
}
.amc-send-btn:hover {
  background: #6a717a;
	color: #ffffff;
}
@keyframes neonFlicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
    text-shadow:
      0 0 4px #ff2f92,
      0 0 8px #ff2f92,
      0 0 16px #ff2f92;
  }

  20%, 24%, 55% {
    opacity: 0.7;
    text-shadow:
      0 0 2px #ff2f92,
      0 0 4px #ff2f92;
  }
}
.one-hundred-word-story strong {
	color: #da95c2;
  text-shadow:
    0 0 4px #ff2f92,
    0 0 8px #ff2f92,
    0 0 16px #ff2f92,
    0 0 32px rgba(255, 47, 146, 0.6);
	animation: neonFlicker 3s infinite;
}
.one-hundred-word-story em::before {
  content: "➤ ";
	color: #6fbccc;
  text-shadow:
    0 0 4px #19e3ff,
    0 0 8px #19e3ff,
    0 0 16px #19e3ff,
    0 0 32px rgba(25, 227, 255, 0.6);
}
.one-hundred-word-story em {
	color: #6fbccc;
  text-shadow:
    0 0 4px #19e3ff,
    0 0 8px #19e3ff,
    0 0 16px #19e3ff,
    0 0 32px rgba(25, 227, 255, 0.6);
}
@keyframes neonPulse {
  0%   { text-shadow: 0 0 4px #19e3ff, 0 0 8px #19e3ff; }
  50%  { text-shadow: 0 0 8px #19e3ff, 0 0 16px #19e3ff, 0 0 32px #19e3ff; }
  100% { text-shadow: 0 0 4px #19e3ff, 0 0 8px #19e3ff; }
}

.one-hundred-word-story em::before {
  animation: neonPulse 2.5s infinite ease-in-out;
}
.one-hundred-word-story span[style*="underline"] {
  position: relative;
	display: inline;
	overflow: hidden;
	white-space: nowrap;
	text-decoration: underline 2px #6e2ea6 !important;
  text-underline-offset: 3px;	
	text-decoration-thickness: 2px;
}
.one-hundred-word-story span[style*="underline"]::after {
  content: "";
  position: absolute;
  left: -34px;               /* tail length (negative) */
  bottom: 0.05em;             /* underline position */
  width: 34px;               /* tail length */
  height: 2px;               /* underline thickness */

  /* trail (left) -> line (right) */
  background: linear-gradient(
    to right,
    rgba(180, 92, 255, 0.0) 0%,
    rgba(180, 92, 255, 0.15) 40%,
    rgba(180, 92, 255, 0.4) 80%, /* your “glow color” as the trail */
    #b45cff 100%                 /* your “original purple line” */
  );

  /* IMPORTANT: no box-shadow here, so the trail doesn't glow */
  animation: underlineScan 2.2s linear infinite;
  pointer-events: none;
}
@keyframes underlineScan {
  from { left: -34px; }
  to   { left: calc(100%); }
}
@keyframes underlinePulse {
  0%, 100% {
    opacity: 0.8;
    transform: scaleX(1);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.05);
  }
}
.one-hundred-word-story > :last-child::after {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-left: 0.3em;
  vertical-align: middle;

  background-color: #19e3ff; /* base cyan */

  background-image: url("/wp-content/uploads/2026/02/2026-02-15-Lewie-66-percent-4-1v-noise-CRT-Overlay.png");
  background-size: 80px 80px;
  background-repeat: repeat;

  background-blend-mode: overlay;
  box-shadow:
    0 0 6px rgba(25,227,255,0.6),
    0 0 14px rgba(25,227,255,0.35);

  animation: blink 1.2s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}
.chronicle-card,
.one-hundred-word-story {
  position: relative;
  overflow: hidden; /* important */
}
.chronicle-card::before,
.one-hundred-word-story::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: 
		radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.35) 78%,
    rgba(0, 0, 0, 0.65) 100%
  );
}

.no-underlined-links A {
	text-decoration: none;
}
.lewis-moten-site-2-navigation nav {
	display: block;
}
.lewis-moten-site-2-navigation ul {
	width: 124px;
}
.lewis-moten-site-2-navigation li {
	background-color: #4488ff !important;
	display: flex !important;
	justify-content: center;
	align-items: center;
	gap: 2px;
	list-style: none;
	text-align: center;
	border: 2px outset #4488ff;
	vertical-align: middle;
	font-family: Verdana, Arial;
	width: 100%;
	line-height: normal;
}
.lewis-moten-site-2-navigation button {
	background-color: #4488ff !important;
	text-align: right;
	border: 2px outset #4488ff;
	vertical-align: middle;
	font-family: Verdana, Arial;
	width: 100%;
	line-height: normal;	
}
.lewis-moten-site-2-navigation li A {
	background-color: #66aaff;
	color: #000088;
	text-decoration: none;
	border: 2px #4488ff inset;
	text-align: center;
	font-family: Verdana, Arial;
	border-spacing: 2px;
	font-size: small !important;
	line-height: normal;
	padding-bottom: 0;
	padding-top: 0;
}
.lewis-moten-site-2-content > P,
.lewis-moten-site-2-content > DIV {
	border: 2px #eeeeee inset;
	font-family: Arial;
	text-align: justify;
	background-color: #eeeeee;
	color: #000000;
	font-size: 13px;
	padding: 5px;
	margin: 0;
}
.lewis-moten-site-2-content > H1,
.lewis-moten-site-2-content > H2,
.lewis-moten-site-2-content > H3,
.lewis-moten-site-2-content > H4,
.lewis-moten-site-2-content > H5 {
	width: 85%;
	border: 2px #cccccc outset;
	color: #000000;
	background-color: #cccccc;
	font-size: 20px;
	padding: 0;
	padding-left: x-small;
	margin: 0;
}
.lewis-moten-site-2-content > H5 {
	font-size: 15px;
}
.lewis-moten-site-2-content > H3 {
	font-size: 25px;
}
.lewis-moten-site-2-content > H2 {
	font-size: 30px;
}
.lewis-moten-site-2-content > H1 {
	font-size: 35px;
}
.lewis-moten-site-2-content > H6 {
font-family: 'Courier New';
text-align: right;
border: 2px #cccccc outset;
	width: 100%;
	color: #00000088;
	background-color: #cccccc;
	font-size: 11px;
	padding: 0;
	padding-right: 10px;
	margin: 0;
	margin-bottom: 30px;
}
.lewis-moten-site-2-content > DIV > HR {
	color: black;
	width: 100% !important;
}
.lewis-moten-site-2-content A {
	color: #0000ff;
}

/* put timing variables on the card, not the img */
.post .chronicle-entry {
  --flicker-delay: 0s;
  --flicker-duration: 7.3s;
  --glow-duration: 6s;
}

/* vary each card */
.post:nth-child(2n) .chronicle-entry {
  --flicker-delay: -1.3s;
  --flicker-duration: 8.1s;
  --glow-duration: 5.7s;
}
.post:nth-child(3n) .chronicle-entry {
  --flicker-delay: -3.8s;
  --flicker-duration: 6.4s;
  --glow-duration: 7.2s;
}
.post:nth-child(4n) .chronicle-entry {
  --flicker-delay: -0.9s;
  --flicker-duration: 9.2s;
  --glow-duration: 6.8s;
}
.post:nth-child(5n) .chronicle-entry {
  --flicker-delay: -5.1s;
  --flicker-duration: 5.9s;
  --glow-duration: 8.3s;
}
.post:nth-child(6n) .chronicle-entry {
  --flicker-delay: -2.4s;
  --flicker-duration: 7.7s;
  --glow-duration: 5.4s;
}
.post:nth-child(7n) .chronicle-entry {
  --flicker-delay: -4.6s;
  --flicker-duration: 8.8s;
  --glow-duration: 7.9s;
}

/* image wrapper */
.chronicle-entry .wp-block-post-featured-image,
.chronicle-entry .post-thumbnail,
.chronicle-entry .featured-image,
.chronicle-entry .chronicle-card-image {
  position: relative;
  overflow: hidden;
}

/* actual image uses variables now */
.chronicle-entry img {
  display: block;
  width: 100%;
  height: auto;
  animation-name: imageGlow;
  animation-duration: var(--glow-duration);
  animation-delay: var(--flicker-delay);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/* overlay uses the same card variables */
.chronicle-card .wp-block-post-featured-image::after,
.chronicle-entry .post-thumbnail::after,
.chronicle-entry .featured-image::after,
.chronicle-entry .chronicle-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.03) 46%,
      rgba(255,255,255,0.12) 50%,
      rgba(255,255,255,0.03) 54%,
      rgba(255,255,255,0) 100%
    );
  animation-name: imageFlicker;
  animation-duration: var(--flicker-duration);
  animation-delay: var(--flicker-delay);
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}

@keyframes imageFlicker {
  0%, 11%, 13%, 27%, 29%, 51%, 53%, 78%, 80%, 100% { opacity: 0; }
  12%, 28%, 52%, 79% { opacity: 0.18; }
}

@keyframes imageGlow {
  0%, 100% { filter: brightness(1) contrast(1); transform: translateX(0); }
  48%      { filter: brightness(1) contrast(1); transform: translateX(0); }
  50%      { filter: brightness(1.08) contrast(1.04); transform: translateX(-1px); }
  52%      { filter: brightness(0.97) contrast(1.02); transform: translateX(1px); }
  54%      { filter: brightness(1.03) contrast(1.03); transform: translateX(0); }
}
.chronicle-entry:nth-child(2n) {
  outline: 2px solid red;
}
.chronicle-entry img {
  transition: transform 0.3s ease, filter 0.3s ease;
}
/*fx*/
/* image wrapper must be positioned */
.chronicle-entry .wp-block-post-featured-image {
  position: relative;
  overflow: hidden;
}

/* image animation + smooth hover */
.chronicle-entry .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  transition:
    transform 0.35s ease,
    filter 0.35s ease,
    opacity 0.35s ease;
  will-change: transform, filter;
}

/* more noticeable hover */
.chronicle-entry:hover .wp-block-post-featured-image img {
  transform: scale(1.06);
  filter: brightness(1.18) contrast(1.12) saturate(1.08);
}

/* put glow on the whole card so it is not clipped */
.chronicle-entry {
  position: relative;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.chronicle-entry:hover {
  /* slight lift still works */
  transform: translateY(-2px);
}
.chronicle-card:hover {
  /* inner glow instead of outer */
  box-shadow:
    inset 0 0 12px rgba(180, 0, 255, 0.35),
    inset 0 0 24px rgba(0, 255, 255, 0.25);

  /* brighten the “panel” */
  background-color: #060641 !important;
	background-position-x: 5px !important;
	background-postion-y: -5px !important;
	animation: crtJitter2 0.32s steps(1) infinite !important;
}
.chronicle-entry {
  --crt: 5px;
}
@keyframes crtJitter2 {
  0%   { background-position: 0 0 !important; }
  7%   { background-position: var(--crt) 0 !important; }
  13%  { background-position: calc(var(--crt) * -2) 0 !important; }
  19%  { background-position: calc(var(--crt) * 3) var(--crt) !important; }
  28%  { background-position: calc(var(--crt) * -1) calc(var(--crt) * -1) !important; }
  34%  { background-position: calc(var(--crt) * 2) 0 !important; }
  41%  { background-position: 0 calc(var(--crt) * 2) !important; }
  49%  { background-position: calc(var(--crt) * -3) var(--crt) !important; }
  58%  { background-position: calc(var(--crt) * 1) calc(var(--crt) * -2) !important; }
  63%  { background-position: calc(var(--crt) * 2) 0 !important; }
  71%  { background-position: calc(var(--crt) * -1) calc(var(--crt) * 3) !important; }
  79%  { background-position: calc(var(--crt) * 3) calc(var(--crt) * -1) !important; }
  86%  { background-position: 0 0 !important; }
  91%  { background-position: calc(var(--crt) * -2) var(--crt) !important; }
  100% { background-position: var(--crt) 0 !important; }
}
}

/* scan line layer */
.chronicle-entry .wp-block-post-featured-image::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -35%;
  height: 35%;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0, 255, 255, 0) 0%,
    rgba(0, 255, 255, 0.12) 35%,
    rgba(255, 255, 255, 0.30) 50%,
    rgba(0, 255, 255, 0.12) 65%,
    rgba(0, 255, 255, 0) 100%
  );
  mix-blend-mode: screen;
}
.chronicle-entry:hover .wp-block-post-featured-image::before {
  opacity: 0.2;
  animation: scanSweep 0.9s ease-out 1;
  animation-fill-mode: forwards;
}
/* trigger a more visible sweep */
.chronicle-entry .wp-block-post-featured-image::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -35%;
  height: 35%;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0, 255, 255, 0) 0%,
    rgba(0, 255, 255, 0.12) 35%,
    rgba(255, 255, 255, 0.30) 50%,
    rgba(0, 255, 255, 0.12) 65%,
    rgba(0, 255, 255, 0) 100%
  );
  mix-blend-mode: screen;
}

@keyframes scanSweep {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translateY(420%);
    opacity: 0;
  }
}
.post .chronicle-entry A {
	color: #5dd1ee !important;
}
.site-header,
.site-footer {
  position: relative;
}
.site-footer {
	overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: -35%;
  height: 380%;
  pointer-events: none;
  opacity: 0.22;

  background:
    repeating-linear-gradient(
      to right,
      #4860A8 0 2px,
      transparent 2px 56px
    ),
    repeating-linear-gradient(
      to bottom,
      #4860A8 0 3px,
      transparent 3px 56px
    );

  transform: perspective(600px) rotateX(-58deg) scale(1.25);
  transform-origin: top center;

  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.9) 35%,
    rgba(0,0,0,0.45) 70%,
    rgba(0,0,0,0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.9) 35%,
    rgba(0,0,0,0.45) 70%,
    rgba(0,0,0,0) 100%
  );
}
.site-footer::before {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -5%;
  height: 220%;
  pointer-events: none;
  opacity: 0.12;
  filter: blur(1.5px);

  background:
    repeating-linear-gradient(
      to right,
      #4860A8 0 2px,
      transparent 2px 56px
    ),
    repeating-linear-gradient(
      to bottom,
      #4860A8 0 3px,
      transparent 3px 56px
    );

  transform: perspective(900px) rotateX(60deg) scale(1.6);
  transform-origin: bottom center;

  mask-image: linear-gradient(
    to top,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.75) 35%,
    rgba(0,0,0,0.25) 65%,
    rgba(0,0,0,0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to top,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.75) 35%,
    rgba(0,0,0,0.25) 65%,
    rgba(0,0,0,0) 100%
  );
}
.chronicle-query .post:nth-child(n+11) {
	grid-column: 1 / -1;
	display: flex;
	gap: 3px;
	align-items: flex-start;
}
.post:nth-child(n+11) .chronicle-card {
	margin-top: 0 !important;
	display: flex;
	flex-direction: row !important;
	border-width: 1px !important;
	background-color: #131323 !important;
}
.post:nth-child(n+11) .chronicle-card figure {
	width: 110px !important;
	height: 64px !important;
	margin-right: 10px !important;
}
.post:nth-child(n+11) .chronicle-card figure a,
.post:nth-child(n+11) .chronicle-card figure a img {
	width: 64px !important;
	height: 64px !important;
}
.post:nth-child(n+11) .chronicle-card figure a img {
	border-width: 1.5px !important;
}
.post:nth-child(n+11) .chronicle-details {
	padding-top: 0 !important;
	min-height: 0 !important;
	display: grid;
	grid-template-columns: auto auto;
}
.post:nth-child(n+11)  .chronicle-title {
	justify-self: left;
}
.post:nth-child(n+11)  .chronicle-date {
	grid-column: 2;
	grid-row: 1;
	justify-self: right;
}
.post:nth-child(n+11)  .chronicle-excerpt {
	grid-column-start: 1;
	grid-column-end: 2;
	grid-column: 1 / span 2;
	grid-row: 2;
}
.slim-padding.wp-block-table th,
.slim-padding.wp-block-table td {
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 4px;
	padding-right: 4px;
}