:root.codex-dream-skin {
  color-scheme: light;
  --dream-accent: oklch(0.66 0.15 18);
  --dream-accent-ink: oklch(0.98 0.006 20);
  --dream-art-position: 72% 45%;
  --dream-canvas: color-mix(in oklab, oklch(0.975 0.006 35) 96%, var(--dream-accent));
  --dream-surface: color-mix(in oklab, oklch(0.988 0.004 35) 97%, var(--dream-accent));
  --dream-surface-raised: color-mix(in oklab, oklch(0.995 0.003 35) 98%, var(--dream-accent));
  --dream-sidebar: color-mix(in oklab, oklch(0.965 0.006 35) 94%, var(--dream-accent));
  --dream-text: oklch(0.25 0.018 30);
  --dream-text-muted: oklch(0.48 0.018 30);
  --dream-line: color-mix(in oklab, oklch(0.75 0.012 30) 80%, var(--dream-accent));
  --dream-line-soft: color-mix(in oklab, transparent 76%, var(--dream-accent));
  --dream-accent-soft: color-mix(in oklab, var(--dream-accent) 14%, var(--dream-surface));
  --dream-accent-hover: color-mix(in oklab, var(--dream-accent) 20%, var(--dream-surface));
  --dream-hero-shade: color-mix(in oklab, var(--dream-surface) 93%, transparent);
  --dream-ambient-opacity: .18;
  --dream-shadow: 0 16px 42px color-mix(in oklab, var(--dream-accent) 9%, transparent);
  --dream-immersive-edge: color-mix(in oklab, var(--dream-surface) 46%, transparent);
  --dream-immersive-mid: color-mix(in oklab, var(--dream-surface) 28%, transparent);
  --dream-immersive-far: color-mix(in oklab, var(--dream-surface) 14%, transparent);
  --dream-immersive-sidebar: color-mix(in oklab, var(--dream-sidebar) 50%, transparent);
  --dream-task-immersive-sidebar: color-mix(in oklab, var(--dream-sidebar) 72%, transparent);
  --dream-immersive-composer: color-mix(in oklab, var(--dream-surface-raised) 76%, var(--dream-accent) 4%);
  --dream-immersive-line: color-mix(in oklab, var(--dream-line) 76%, transparent);
  --dream-task-immersive-edge: color-mix(in oklab, var(--dream-surface) 86%, transparent);
  --dream-task-immersive-mid: color-mix(in oklab, var(--dream-surface) 78%, transparent);
  --dream-task-immersive-far: color-mix(in oklab, var(--dream-surface) 66%, transparent);
}

:root.codex-dream-skin.dream-theme-dark {
  color-scheme: dark;
  --dream-canvas: color-mix(in oklab, oklch(0.16 0.012 245) 96%, var(--dream-accent));
  --dream-surface: color-mix(in oklab, oklch(0.19 0.012 245) 95%, var(--dream-accent));
  --dream-surface-raised: color-mix(in oklab, oklch(0.23 0.012 245) 95%, var(--dream-accent));
  --dream-sidebar: color-mix(in oklab, oklch(0.145 0.014 245) 94%, var(--dream-accent));
  --dream-text: oklch(0.93 0.008 245);
  --dream-text-muted: oklch(0.7 0.012 245);
  --dream-line: color-mix(in oklab, oklch(0.42 0.018 245) 76%, var(--dream-accent));
  --dream-line-soft: color-mix(in oklab, transparent 78%, var(--dream-accent));
  --dream-accent-soft: color-mix(in oklab, var(--dream-accent) 18%, var(--dream-surface));
  --dream-accent-hover: color-mix(in oklab, var(--dream-accent) 27%, var(--dream-surface));
  --dream-hero-shade: color-mix(in oklab, var(--dream-surface) 91%, transparent);
  --dream-ambient-opacity: .22;
  --dream-shadow: 0 18px 48px color-mix(in oklab, oklch(0.06 0.01 245) 72%, transparent);
  --dream-immersive-edge: color-mix(in oklab, var(--dream-surface) 43%, transparent);
  --dream-immersive-mid: color-mix(in oklab, var(--dream-surface) 27%, transparent);
  --dream-immersive-far: color-mix(in oklab, var(--dream-surface) 16%, transparent);
  --dream-immersive-sidebar: color-mix(in oklab, var(--dream-sidebar) 48%, transparent);
  --dream-task-immersive-sidebar: color-mix(in oklab, var(--dream-sidebar) 70%, transparent);
  --dream-immersive-composer: color-mix(in oklab, var(--dream-surface-raised) 88%, var(--dream-accent) 5%);
  --dream-immersive-line: color-mix(in oklab, var(--dream-line) 82%, transparent);
  --dream-task-immersive-edge: color-mix(in oklab, var(--dream-surface) 82%, transparent);
  --dream-task-immersive-mid: color-mix(in oklab, var(--dream-surface) 74%, transparent);
  --dream-task-immersive-far: color-mix(in oklab, var(--dream-surface) 60%, transparent);
}

html.codex-dream-skin body {
  background: var(--dream-canvas) !important;
  color: var(--dream-text) !important;
  font-family: "Segoe UI Variable Text", "Segoe UI", "Microsoft YaHei UI", system-ui, sans-serif !important;
}

html.codex-dream-skin aside.app-shell-left-panel {
  color: var(--dream-text) !important;
  background: var(--dream-sidebar) !important;
  border-color: var(--dream-line-soft) !important;
  box-shadow: inset -1px 0 var(--dream-line-soft) !important;
  backdrop-filter: none !important;
}

html.codex-dream-skin aside.app-shell-left-panel nav {
  background: transparent !important;
}

html.codex-dream-skin aside.app-shell-left-panel button {
  color: var(--dream-text) !important;
  transition: background-color 180ms cubic-bezier(.22, 1, .36, 1), color 180ms cubic-bezier(.22, 1, .36, 1) !important;
}

html.codex-dream-skin aside.app-shell-left-panel button:hover {
  background: var(--dream-accent-soft) !important;
}

html.codex-dream-skin aside.app-shell-left-panel [class~="bg-token-list-hover-background"],
html.codex-dream-skin aside.app-shell-left-panel [aria-current="page"] {
  color: var(--dream-text) !important;
  background: var(--dream-accent-hover) !important;
  box-shadow: inset 0 0 0 1px var(--dream-line-soft) !important;
}

html.codex-dream-skin aside.app-shell-left-panel svg,
html.codex-dream-skin aside.app-shell-left-panel [class*="text-token"] {
  color: currentColor;
}

html.codex-dream-skin main.main-surface {
  position: relative;
  isolation: isolate;
  overflow: hidden !important;
  color: var(--dream-text) !important;
  background: var(--dream-surface) !important;
  border-color: var(--dream-line-soft) !important;
  box-shadow: inset 0 1px color-mix(in oklab, var(--dream-surface-raised) 72%, transparent) !important;
}

html.codex-dream-skin main.main-surface > header.app-header-tint {
  position: relative;
  z-index: 20;
  color: var(--dream-text) !important;
  background: color-mix(in oklab, var(--dream-surface) 94%, transparent) !important;
  border-color: var(--dream-line-soft) !important;
  backdrop-filter: blur(12px) saturate(1.05) !important;
}

#codex-dream-skin-chrome {
  display: none !important;
  pointer-events: none !important;
}

html.codex-dream-skin [role="main"] {
  color: var(--dream-text);
}

/* Task routes use the art as a quiet atmospheric layer. Wide banners are shown
   at their natural width instead of being enlarged and center-cropped. */
html.codex-dream-skin .dream-task {
  position: relative;
  isolation: isolate;
  min-height: 100%;
  background: var(--dream-surface) !important;
}

html.codex-dream-skin .dream-task::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: var(--dream-ambient-opacity);
  background-image: var(--dream-art);
  background-repeat: no-repeat;
  background-position: var(--dream-art-position);
  background-size: cover;
  mask-image: linear-gradient(to bottom, oklch(0 0 0) 0, oklch(0 0 0 / .92) 38%, transparent 88%);
}

html.codex-dream-skin.dream-art-wide .dream-task::before {
  background-position: center top;
  background-size: 100% auto;
}

html.codex-dream-skin.dream-art-wide:not(.dream-task-banner) .dream-task::before {
  background-position: var(--dream-art-position);
  background-size: cover;
  mask-image: linear-gradient(to bottom, oklch(0 0 0) 0, oklch(0 0 0 / .92) 44%, oklch(0 0 0 / .72) 100%);
}

html.codex-dream-skin.dream-task-banner .dream-task::before {
  bottom: auto;
  height: min(46vh, 520px);
  opacity: calc(var(--dream-ambient-opacity) * 1.8);
  mask-image: linear-gradient(to bottom, oklch(0 0 0) 0, oklch(0 0 0 / .9) 52%, transparent 100%);
}

html.codex-dream-skin.dream-task-off .dream-task::before {
  display: none;
}

html.codex-dream-skin .dream-task > * {
  position: relative;
  z-index: 1;
}

html.codex-dream-skin .dream-task article,
html.codex-dream-skin .dream-task [data-message-author-role] {
  color: var(--dream-text);
}

/* The home route keeps the source image expressive, with a semantic safe-area
   wash selected from image focus metadata. */
html.codex-dream-skin .dream-home {
  --thread-content-max-width: min(1180px, calc(100cqw - 56px)) !important;
  overflow-x: hidden !important;
  background: var(--dream-surface) !important;
}

.dream-home > div:first-child {
  min-height: 100% !important;
  padding-top: 24px !important;
}

.dream-home > div:first-child > div:first-child {
  flex: 0 0 clamp(390px, 42cqw, 510px) !important;
  min-height: 390px !important;
  align-items: flex-start !important;
  padding-bottom: 0 !important;
}

.dream-home > div:first-child > div:first-child > div:first-child {
  position: relative !important;
  isolation: isolate;
  width: calc(100% - 56px) !important;
  max-width: 1180px !important;
  height: clamp(230px, 27cqw, 326px) !important;
  min-height: 230px !important;
  flex: 0 1 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--dream-line) !important;
  border-radius: 20px !important;
  background-image: var(--dream-art) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: var(--dream-art-position) !important;
  box-shadow: var(--dream-shadow) !important;
}

html.codex-dream-skin.dream-art-wide .dream-home > div:first-child > div:first-child > div:first-child {
  background-size: cover !important;
}

.dream-home > div:first-child > div:first-child > div:first-child::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--dream-hero-shade) 0 32%, transparent 70%);
}

html.codex-dream-skin.dream-safe-right .dream-home > div:first-child > div:first-child > div:first-child::before {
  background: linear-gradient(270deg, var(--dream-hero-shade) 0 32%, transparent 70%);
}

html.codex-dream-skin.dream-safe-center .dream-home > div:first-child > div:first-child > div:first-child::before {
  background: radial-gradient(ellipse at center, var(--dream-hero-shade) 0 23%, transparent 72%);
}

html.codex-dream-skin.dream-safe-none .dream-home > div:first-child > div:first-child > div:first-child::before {
  background: transparent;
}

.dream-home > div:first-child > div:first-child > div:first-child > div:first-child {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  height: 100%;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 30px 40px;
}

.dream-home > div:first-child > div:first-child > div:first-child > div:first-child > div:first-child {
  width: min(48%, 520px) !important;
  align-items: flex-start !important;
  gap: 0 !important;
}

html.codex-dream-skin.dream-safe-right .dream-home > div:first-child > div:first-child > div:first-child > div:first-child {
  justify-content: flex-end !important;
}

html.codex-dream-skin.dream-safe-right .dream-home > div:first-child > div:first-child > div:first-child > div:first-child > div:first-child {
  align-items: flex-end !important;
  text-align: right !important;
}

html.codex-dream-skin.dream-safe-center .dream-home > div:first-child > div:first-child > div:first-child > div:first-child {
  justify-content: center !important;
}

html.codex-dream-skin.dream-safe-center .dream-home > div:first-child > div:first-child > div:first-child > div:first-child > div:first-child {
  align-items: center !important;
  text-align: center !important;
}

.dream-home [data-testid="home-icon"] {
  display: none !important;
}

.dream-home [data-feature="game-source"] {
  display: flex !important;
  flex-direction: column !important;
  align-items: inherit !important;
  justify-content: flex-start !important;
  max-width: 100% !important;
  color: var(--dream-text) !important;
  font-size: 28px !important;
  line-height: 1.25 !important;
  font-weight: 720 !important;
  text-align: inherit !important;
  text-shadow: 0 1px 16px var(--dream-surface);
  opacity: 1 !important;
  pointer-events: auto !important;
}

.dream-home [data-feature="game-source"] button {
  margin: 0 4px;
  padding: 2px 7px;
  border: 1px solid var(--dream-line);
  border-radius: 999px;
  color: var(--dream-text) !important;
  background: var(--dream-accent-soft) !important;
  text-underline-offset: 4px;
}

.dream-home > div:first-child > div:first-child > div:first-child > div:nth-child(2) {
  left: 0 !important;
  right: 0 !important;
  top: 100% !important;
  margin-top: 16px !important;
}

.dream-home .group\/home-suggestions {
  overflow: visible !important;
}

.dream-home .group\/home-suggestions button {
  min-height: 112px !important;
  padding: 16px 14px !important;
  color: var(--dream-text) !important;
  border: 1px solid var(--dream-line-soft) !important;
  border-radius: 16px !important;
  background: var(--dream-surface-raised) !important;
  box-shadow: 0 8px 24px color-mix(in oklab, var(--dream-accent) 6%, transparent) !important;
  transition: transform 180ms cubic-bezier(.22, 1, .36, 1), border-color 180ms cubic-bezier(.22, 1, .36, 1), background-color 180ms cubic-bezier(.22, 1, .36, 1) !important;
}

.dream-home .group\/home-suggestions button:hover {
  transform: translateY(-2px) !important;
  border-color: var(--dream-line) !important;
  background: var(--dream-accent-soft) !important;
}

.dream-home .group\/home-suggestions button > span:first-child > span:first-child {
  width: 38px;
  height: 38px;
  display: grid !important;
  place-items: center;
  border-radius: 12px;
  color: var(--dream-accent-ink) !important;
  background: var(--dream-accent) !important;
  box-shadow: 0 0 0 6px var(--dream-accent-soft);
}

.dream-home .group\/home-suggestions button svg {
  width: 20px !important;
  height: 20px !important;
  color: currentColor !important;
}

html.codex-dream-skin .composer-surface-chrome {
  color: var(--dream-text) !important;
  border: 1px solid var(--dream-line) !important;
  border-radius: 18px !important;
  background: color-mix(in oklab, var(--dream-surface-raised) 95%, transparent) !important;
  box-shadow: 0 12px 34px color-mix(in oklab, var(--dream-accent) 8%, transparent) !important;
  backdrop-filter: blur(14px) saturate(1.06) !important;
}

html.codex-dream-skin .ProseMirror {
  color: var(--dream-text) !important;
  caret-color: var(--dream-accent) !important;
}

html.codex-dream-skin button[class~="bg-token-foreground"] {
  color: var(--dream-accent-ink) !important;
  background: var(--dream-accent) !important;
  box-shadow: none !important;
}

html.codex-dream-skin [data-message-author-role],
html.codex-dream-skin article {
  color: var(--dream-text);
}

/* A 16:9 or wider image is painted once on the native window. The sidebar,
   title bar and route surface become coordinated readability layers instead
   of repeating or cropping the image inside individual panels. */
html.codex-dream-skin.dream-art-wide:has(main.main-surface.dream-home-shell) body,
html.codex-dream-skin.dream-art-wide:is(.dream-task-ambient, .dream-task-banner):has(main.main-surface:not(.dream-home-shell)) body {
  background-color: var(--dream-canvas) !important;
  background-image: var(--dream-art) !important;
  background-position: var(--dream-art-position) !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

html.codex-dream-skin.dream-art-wide:has(main.main-surface.dream-home-shell)
  aside.app-shell-left-panel,
html.codex-dream-skin.dream-art-wide:is(.dream-task-ambient, .dream-task-banner):has(main.main-surface:not(.dream-home-shell))
  aside.app-shell-left-panel {
  background: linear-gradient(90deg,
    var(--dream-immersive-sidebar),
    var(--dream-immersive-edge)) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html.codex-dream-skin.dream-art-wide:is(.dream-task-ambient, .dream-task-banner):has(main.main-surface:not(.dream-home-shell))
  aside.app-shell-left-panel {
  background: linear-gradient(90deg,
    var(--dream-task-immersive-sidebar),
    var(--dream-task-immersive-edge)) !important;
}

html.codex-dream-skin.dream-art-wide:has(main.main-surface.dream-home-shell)
  aside.app-shell-left-panel::after,
html.codex-dream-skin.dream-art-wide:is(.dream-task-ambient, .dream-task-banner):has(main.main-surface:not(.dream-home-shell))
  aside.app-shell-left-panel::after {
  background: transparent !important;
}

html.codex-dream-skin.dream-art-wide main.main-surface.dream-home-shell,
html.codex-dream-skin.dream-art-wide:is(.dream-task-ambient, .dream-task-banner) main.main-surface:not(.dream-home-shell) {
  background: linear-gradient(90deg,
    var(--dream-immersive-edge),
    var(--dream-immersive-mid) 64%,
    var(--dream-immersive-far)) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html.codex-dream-skin.dream-art-wide:is(.dream-task-ambient, .dream-task-banner) main.main-surface:not(.dream-home-shell) {
  background: linear-gradient(90deg,
    var(--dream-task-immersive-edge),
    var(--dream-task-immersive-mid) 64%,
    var(--dream-task-immersive-far)) !important;
}

html.codex-dream-skin.dream-art-wide:is(.dream-task-ambient, .dream-task-banner) .dream-task {
  background: transparent !important;
}

html.codex-dream-skin.dream-art-wide:is(.dream-task-ambient, .dream-task-banner) .dream-task::before {
  content: none !important;
}

html.codex-dream-skin.dream-art-wide main.main-surface > header.app-header-tint {
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  text-shadow: 0 1px 2px color-mix(in oklab, var(--dream-canvas) 86%, transparent),
    0 0 8px color-mix(in oklab, var(--dream-canvas) 58%, transparent) !important;
}

html.codex-dream-skin.dream-art-wide main.main-surface > header.app-header-tint svg {
  filter: drop-shadow(0 1px 2px color-mix(in oklab, var(--dream-canvas) 72%, transparent));
}

html.codex-dream-skin.dream-art-wide main.main-surface [role="main"] {
  background: transparent !important;
}

html.codex-dream-skin.dream-art-wide main.main-surface.dream-home-shell
  .dream-home > div:first-child > div:first-child > div:first-child {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html.codex-dream-skin.dream-art-wide main.main-surface.dream-home-shell
  .dream-home > div:first-child > div:first-child > div:first-child::before {
  content: none !important;
}

html.codex-dream-skin.dream-art-wide main.main-surface.dream-home-shell
  .dream-home .group\/home-suggestions button {
  background: color-mix(in oklab, var(--dream-surface-raised) 58%, transparent) !important;
  box-shadow: 0 8px 22px color-mix(in oklab, var(--dream-canvas) 18%, transparent),
    inset 0 0 0 1px var(--dream-immersive-line) !important;
  backdrop-filter: blur(8px) saturate(1.04) !important;
}

/* The composer owns exactly one solid readability surface. Native bottom
   gradients are cleared below so the control never appears double stacked. */
html.codex-dream-skin.dream-art-wide .composer-surface-chrome {
  color: var(--dream-text) !important;
  background: var(--dream-immersive-composer) !important;
  border: 0 !important;
  box-shadow: 0 10px 30px color-mix(in oklab, var(--dream-canvas) 20%, transparent),
    inset 0 0 0 1px var(--dream-immersive-line) !important;
  backdrop-filter: none !important;
}

html.codex-dream-skin.dream-art-wide .composer-surface-chrome::before {
  content: none !important;
}

/* Current Codex builds render the home project picker in a hashed utility bar.
   Merge it with the composer so the bottom control reads as one surface. */
html.codex-dream-skin .dream-home-utility {
  border: 1px solid var(--dream-line) !important;
  border-bottom: 0 !important;
  border-radius: 18px 18px 0 0 !important;
  background: var(--dream-immersive-composer) !important;
  box-shadow: none !important;
}

html.codex-dream-skin .dream-home:has(.dream-home-utility) .composer-surface-chrome {
  border-radius: 0 0 18px 18px !important;
  box-shadow: 0 10px 30px color-mix(in oklab, var(--dream-canvas) 20%, transparent),
    inset 1px 0 var(--dream-immersive-line),
    inset -1px 0 var(--dream-immersive-line),
    inset 0 -1px var(--dream-immersive-line) !important;
}

/* Plugins, scheduled tasks and search routes ship opaque sticky wrappers.
   Clear only full-window or sticky route chrome, leaving functional cards and
   their hover states intact. */
html.codex-dream-skin.dream-art-wide:is(.dream-task-ambient, .dream-task-banner)
  main.main-surface:not(.dream-home-shell) div.sticky:has(input[type="text"]),
html.codex-dream-skin.dream-art-wide:is(.dream-task-ambient, .dream-task-banner)
  main.main-surface:not(.dream-home-shell) div.sticky:has(input[type="text"])::after {
  background: transparent !important;
}

html.codex-dream-skin.dream-art-wide:is(.dream-task-ambient, .dream-task-banner)
  main.main-surface:not(.dream-home-shell) div.no-drag:has(> input[type="text"]) {
  background: var(--dream-immersive-composer) !important;
  border: 0 !important;
  box-shadow: inset 0 0 0 1px var(--dream-immersive-line) !important;
  backdrop-filter: none !important;
}

html.codex-dream-skin.dream-art-wide:is(.dream-task-ambient, .dream-task-banner)
  main.main-surface:not(.dream-home-shell)
  [class~="bg-token-main-surface-primary"][class~="h-full"][class~="w-full"] {
  background: transparent !important;
}

html.codex-dream-skin.dream-art-wide main.main-surface .app-shell-main-content-frame {
  border-top: 0 !important;
}

html.codex-dream-skin.dream-art-wide main.main-surface .app-shell-main-content-top-fade {
  display: none !important;
  background: transparent !important;
}

html.codex-dream-skin.dream-art-wide main.main-surface
  .thread-scroll-container .bg-gradient-to-t.from-token-main-surface-primary {
  background: transparent !important;
}

@media (max-width: 1120px) {
  html.codex-dream-skin .dream-home {
    --thread-content-max-width: min(940px, calc(100cqw - 36px)) !important;
  }

  .dream-home > div:first-child > div:first-child > div:first-child {
    width: calc(100% - 36px) !important;
  }
}

@media (max-width: 900px) {
  .dream-home > div:first-child {
    padding-top: 16px !important;
  }

  .dream-home > div:first-child > div:first-child {
    flex-basis: 370px !important;
    min-height: 370px !important;
  }

  .dream-home > div:first-child > div:first-child > div:first-child {
    height: 220px !important;
    min-height: 220px !important;
    border-radius: 16px !important;
  }

  .dream-home > div:first-child > div:first-child > div:first-child > div:first-child {
    padding: 24px;
  }

  .dream-home > div:first-child > div:first-child > div:first-child > div:first-child > div:first-child {
    width: 62% !important;
  }

  .dream-home [data-feature="game-source"] {
    font-size: 22px !important;
  }

  .dream-home .group\/home-suggestions button {
    min-height: 104px !important;
    padding: 12px 10px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 680px) {
  .dream-home > div:first-child > div:first-child > div:first-child::before,
  html.codex-dream-skin.dream-safe-right .dream-home > div:first-child > div:first-child > div:first-child::before,
  html.codex-dream-skin.dream-safe-center .dream-home > div:first-child > div:first-child > div:first-child::before {
    background: color-mix(in oklab, var(--dream-surface) 78%, transparent);
  }

  .dream-home > div:first-child > div:first-child > div:first-child > div:first-child,
  html.codex-dream-skin.dream-safe-right .dream-home > div:first-child > div:first-child > div:first-child > div:first-child,
  html.codex-dream-skin.dream-safe-center .dream-home > div:first-child > div:first-child > div:first-child > div:first-child {
    justify-content: center !important;
  }

  .dream-home > div:first-child > div:first-child > div:first-child > div:first-child > div:first-child,
  html.codex-dream-skin.dream-safe-right .dream-home > div:first-child > div:first-child > div:first-child > div:first-child > div:first-child,
  html.codex-dream-skin.dream-safe-center .dream-home > div:first-child > div:first-child > div:first-child > div:first-child > div:first-child {
    width: min(88%, 440px) !important;
    align-items: center !important;
    text-align: center !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.codex-dream-skin *,
  html.codex-dream-skin *::before,
  html.codex-dream-skin *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
