/* Homepage shader entry: scoped to avoid altering navigation, posts or theme controls. */
.headertop.axura-shader-entry { position: relative; margin: 0; padding: 0; background: #000; overflow-anchor: none; }
.headertop.axura-shader-entry::before,
.headertop.axura-shader-entry::after { display: none !important; }
[data-axura-shader-hero] {
  --hero-ink: #eee;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 340px;
  overflow: hidden;
  background: #000;
  color: var(--hero-ink);
  color-scheme: dark;
}
[data-axura-shader-hero] *,
[data-axura-shader-hero] *::before,
[data-axura-shader-hero] *::after { box-sizing: border-box; }
[data-axura-shader-hero] [hidden] { display: none !important; }
[data-axura-shader-hero] button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
[data-axura-shader-hero] button:focus-visible,
[data-axura-shader-hero] a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
[data-axura-shader-hero] [data-hero-reveal] {
  position: relative;
  display: block;
  width: var(--hero-size, 70vmin);
  height: var(--hero-size, 70vmin);
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  transition: transform 300ms cubic-bezier(.4, 0, .2, 1);
}
[data-axura-shader-hero] [data-hero-canvas] { display: block; width: 100%; height: 100%; }
[data-axura-shader-hero][data-fullscreen="true"] [data-hero-reveal] { width: 100%; height: 100%; border-radius: 0; }
[data-axura-shader-hero][data-fullscreen="true"] [data-hero-reveal]:focus-visible { outline-offset: -5px; }
[data-axura-shader-hero][data-render-state="fallback"] [data-hero-reveal],
[data-axura-shader-hero][data-render-state="lost"] [data-hero-reveal] {
  background: radial-gradient(ellipse at 65% 30%, #aaa, #222 17%, #080808 42%, #333 60%, #000 75%);
}
[data-axura-shader-hero][data-render-state="fallback"][data-theme="2"] [data-hero-reveal] {
  background: radial-gradient(ellipse at 42% 38%, #48337e, #153d70 22%, #0a0d20 42%, #000 68%);
}
[data-axura-shader-hero][data-render-state="fallback"][data-theme="3"] [data-hero-reveal] {
  background: repeating-linear-gradient(164deg, transparent 0 8%, #0a5064 8.2%, transparent 8.6% 17%, #780f78 17.2%, transparent 17.6% 26%), #020108;
}
[data-axura-shader-hero][data-render-state="fallback"][data-theme="5"] [data-hero-reveal] {
  background: radial-gradient(ellipse at center, #000 0 16%, #84919b 18%, #a48569 19%, #151d29 22%, #000 30%);
}
[data-axura-shader-hero][data-render-state="fallback"] [data-hero-canvas],
[data-axura-shader-hero][data-render-state="lost"] [data-hero-canvas] { visibility: hidden; }

/* Time and links float over the shader; there is no enclosing card or logo. */
[data-axura-shader-hero] [data-hero-panel] {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(450px, calc(100% - 112px));
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  pointer-events: none;
}
[data-axura-shader-hero] [data-hero-close] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-height: 66px;
  padding: 8px 5px;
  border-radius: 8px;
  pointer-events: auto;
  text-shadow: 0 2px 10px #000, 0 0 28px #000b;
  transition: transform 500ms cubic-bezier(0, 0, .58, 1);
}
[data-axura-shader-hero] [data-hero-close],
[data-axura-shader-hero] [data-hero-close]:hover,
[data-axura-shader-hero] [data-hero-close]:focus,
[data-axura-shader-hero] [data-hero-close]:active {
  border: 0;
  outline: none;
  background: none;
  box-shadow: none;
}
[data-axura-shader-hero] [data-hero-close]:focus-visible [data-hero-time] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .17em;
}
[data-axura-shader-hero] [data-hero-close]:active { transform: scale(.98); }
[data-axura-shader-hero] [data-hero-time] {
  display: block;
  font: 400 clamp(27px, 3.4vw, 44px)/1.15 ui-monospace, SFMono-Regular, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.055em;
  white-space: nowrap;
  color: #f5f5f5;
}
[data-axura-shader-hero] [data-hero-date] {
  display: block;
  margin-top: 9px;
  font: 400 12px/1.5 system-ui, sans-serif;
  letter-spacing: .045em;
  color: #d0d0d0;
}
[data-axura-shader-hero] .axura-shader-socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  width: 100%;
  margin: 24px 0 0;
  padding: 0;
  pointer-events: auto;
}
[data-axura-shader-hero] a[data-social] {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 40px;
  padding: 0;
  border: 1px solid #ffffff47;
  border-radius: 11px;
  background: #08080880;
  box-shadow: 0 2px 7px #0004;
  color: #eee;
  text-decoration: none;
  transition: border-color 160ms, background-color 160ms, transform 160ms;
}
[data-axura-shader-hero] a[data-social]::before,
[data-axura-shader-hero] a[data-social]::after { display: none; }
[data-axura-shader-hero] a[data-social] img {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  opacity: 1;
  filter: none;
}
[data-axura-shader-hero] a[data-social="x"] img { filter: grayscale(1) invert(1); }
[data-axura-shader-hero] a[data-social="bmc"] img { width: 28px; height: 32px; transform: translateY(-3px); }

/* One monochrome view action, then a quiet separator and the five themes. */
[data-axura-shader-hero] .axura-shader-controls {
  position: absolute;
  z-index: 4;
  right: max(14px, env(safe-area-inset-right));
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 48px;
}
[data-axura-shader-hero] [data-hero-view] { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; }
[data-axura-shader-hero] .axura-shader-view-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
[data-axura-shader-hero] [data-hero-view] svg {
  position: relative;
  width: 26px;
  height: 26px;
  color: #eee;
  filter: drop-shadow(0 0 4px #ffffff70);
  transition: transform 180ms, filter 180ms;
}
[data-axura-shader-hero] [data-hero-view]:focus-visible { outline: none; }
[data-axura-shader-hero] [data-hero-view]:focus-visible svg { stroke-width: 1.8; filter: drop-shadow(0 0 7px #ffffffc9); }
[data-axura-shader-hero] .axura-shader-divider { width: 30px; height: 1px; margin: 9px 0 21px; background: linear-gradient(90deg, transparent, #ffffff45, transparent); }
[data-axura-shader-hero] .axura-shader-themes { display: flex; flex-direction: column; align-items: center; gap: 8px; }
[data-axura-shader-hero] [data-hero-theme] { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
[data-axura-shader-hero] [data-hero-preview] {
  display: block;
  width: 36px;
  height: 36px;
  border: 1px solid #ffffff52;
  border-radius: 50%;
  background: #080808;
  transition: transform 180ms, border-color 180ms, box-shadow 180ms;
}
[data-axura-shader-hero] [data-hero-theme][aria-pressed="true"] [data-hero-preview] { transform: scale(1.1); border-color: #fff; box-shadow: 0 0 9px #ffffff55; }
[data-axura-shader-hero] .axura-shader-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (hover: hover) {
  [data-axura-shader-hero][data-fullscreen="false"] [data-hero-reveal]:hover { transform: scale(1.03); box-shadow: 0 0 30px #ffffff33; }
  [data-axura-shader-hero] [data-hero-close]:hover { transform: scale(1.02); }
  [data-axura-shader-hero] [data-hero-close]:hover:active { transform: scale(.98); }
  [data-axura-shader-hero] [data-hero-view]:hover svg { transform: scale(1.1); filter: drop-shadow(0 0 7px #ffffffb3); }
  [data-axura-shader-hero][data-fullscreen="true"] [data-hero-view]:hover svg { transform: scale(.9); }
  [data-axura-shader-hero] [data-hero-theme]:hover [data-hero-preview] { transform: scale(1.15); border-color: #fff; }
  [data-axura-shader-hero] a[data-social]:hover { border-color: #ffffffcc; background: #202020bd; transform: translateY(-2px); }
  [data-axura-shader-hero] a[data-social]:hover img { opacity: 1; }
}
@media (max-width: 600px) {
  [data-axura-shader-hero] [data-hero-panel] { width: min(220px, calc(100% - 120px)); }
  [data-axura-shader-hero] [data-hero-time] { font-size: clamp(23px, 6.7vw, 33px); }
  [data-axura-shader-hero] [data-hero-date] { font-size: 10px; letter-spacing: .015em; }
  [data-axura-shader-hero] .axura-shader-socials { gap: 7px; margin-top: 16px; }
  [data-axura-shader-hero] a[data-social] { flex-basis: 34px; width: 34px; height: 36px; border-radius: 10px; }
  [data-axura-shader-hero] a[data-social] img { width: 20px; height: 20px; }
}
@media (max-height: 480px) {
  [data-axura-shader-hero] .axura-shader-controls { top: calc(50% + 24px); }
  [data-axura-shader-hero] [data-hero-view] { height: 44px; }
  [data-axura-shader-hero] .axura-shader-themes { gap: 3px; }
  [data-axura-shader-hero] [data-hero-theme] { width: 40px; height: 40px; }
  [data-axura-shader-hero] [data-hero-preview] { width: 32px; height: 32px; }
  [data-axura-shader-hero] .axura-shader-divider { margin: 6px 0 10px; }
  [data-axura-shader-hero] [data-hero-time] { font-size: 30px; }
  [data-axura-shader-hero] .axura-shader-socials { margin-top: 12px; }
}
/* Narrow screens use a bottom rail. Keep it after the short-height rules so
   narrow landscape screens cannot inherit the desktop right-side position. */
@media (max-width: 600px) {
  [data-axura-shader-hero] .axura-shader-controls {
    left: 50%;
    right: auto;
    top: auto;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    flex-direction: row;
    width: max-content;
    max-width: calc(100% - 16px);
  }
  [data-axura-shader-hero] [data-hero-view] { flex: 0 0 44px; width: 44px; height: 44px; }
  [data-axura-shader-hero] .axura-shader-divider {
    flex: 0 0 1px;
    width: 1px;
    height: 25px;
    margin: 0 8px 0 4px;
    background: linear-gradient(180deg, transparent, #ffffff45, transparent);
  }
  [data-axura-shader-hero] .axura-shader-themes { flex-direction: row; gap: clamp(4px, 1.25vw, 6px); }
  [data-axura-shader-hero] [data-hero-theme] { flex: 0 0 44px; width: 44px; height: 44px; }
  [data-axura-shader-hero] [data-hero-preview] { width: 36px; height: 36px; }
}
/* Keep the approved short interaction transitions even with Windows animation
   effects disabled. The renderer still lowers continuous work to 30 FPS. */
