
  #dtoj-home {
    --home-bg: #e8eef5;
    --home-bg-soft: #f4f7fb;
    --home-ink: #111827;
    --home-muted: #5f6b7a;
    --home-line: rgba(30, 41, 59, 0.09);
    --home-line-strong: rgba(56, 189, 248, 0.16);
    --home-surface: rgba(248, 250, 252, 0.8);
    --home-surface-strong: rgba(255, 255, 255, 0.9);
    --home-brand: #2563eb;
    --home-brand-deep: #1e40af;
    --home-gold: #bfa46a;
    --home-gold-deep: #8e7341;
    --home-mint: #6fa7b3;
    --home-shadow: 0 28px 70px rgba(28, 39, 64, 0.1);
    --home-shadow-soft: 0 16px 40px rgba(28, 39, 64, 0.07);
  }

  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
    background: #e8eef5;
  }

  /* Scoped to the homepage check-in card. */
  #dtoj-home .home-checkin-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
  }
  #dtoj-home .home-checkin-head .home-card-title { margin: 0; white-space: nowrap; }
  #dtoj-home .home-checkin-welcome {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding-left: 16px;
    border-left: 1px solid var(--home-line);
  }
  #dtoj-home .home-welcome-avatar-link { display: flex; flex: 0 0 34px; border-radius: 50%; }
  #dtoj-home .home-welcome-avatar {
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--home-bg);
    box-shadow: 0 0 0 2px var(--home-surface-strong);
  }
  #dtoj-home .home-welcome-identity { min-width: 0; flex: 1; }
  #dtoj-home .home-welcome-greeting {
    display: block;
    margin-bottom: 4px;
    color: var(--home-muted);
    font-size: 11px;
    line-height: 1.3;
  }
  #dtoj-home .home-welcome-user {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    min-width: 0;
    line-height: 1.4;
  }
  #dtoj-home .home-welcome-user .user-profile-link { display: contents; }
  #dtoj-home .home-welcome-user .user-profile-name {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
    font-size: 13px;
    font-weight: 700;
  }
  #dtoj-home .home-welcome-user .user-profile-badge {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    min-height: 18px;
    height: auto;
    padding: 1px 5px;
    margin: 0;
    border-radius: 4px;
    font-size: 10px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
    vertical-align: middle;
  }
  #dtoj-home .home-welcome-avatar-link:focus-visible,
  #dtoj-home .home-welcome-user a:focus-visible {
    outline: 2px solid var(--home-brand);
    outline-offset: 3px;
  }
  #dtoj-home .home-checkin-head--guest { grid-template-columns: 1fr auto; }
  #dtoj-home .home-checkin-fortune {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  #dtoj-home .home-checkin-card #dtoj-checked-in { justify-content: center; }
  @media (min-width: 1121px) {
    #dtoj-home .home-countdown-panel { display: flex; flex-direction: column; align-self: stretch; }
    #dtoj-home .home-countdown-body { flex: 1; grid-template-rows: repeat(3, minmax(0, 1fr)); }
    #dtoj-home .home-checkin-card { align-self: stretch; }
  }
  @media (max-width: 1120px) {
    /* Reserve the real height of the mobile activity stack above check-in. */
    #dtoj-home #activity-stack { display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: 42px; }
    #dtoj-home #activity-stack .activity-card { position: relative; grid-area: 1 / 1; }
  }
  @media (max-width: 640px) {
    #dtoj-home .home-checkin-fortune { grid-template-columns: 1fr; }
  }
  @media (min-width: 1121px) and (max-width: 1240px), (max-width: 640px) {
    #dtoj-home .home-checkin-head { grid-template-columns: 1fr auto; gap: 12px; }
    #dtoj-home .home-checkin-head > .home-action-chip { grid-column: 2; grid-row: 1; }
    #dtoj-home .home-checkin-welcome {
      grid-column: 1 / -1;
      grid-row: 2;
      border-left: 0;
      border-top: 1px solid var(--home-line);
      padding: 12px 0 0;
      gap: 10px;
    }
  }


  /* The check-in pet belongs to this user's main-domain card. */
  #dtoj-home .home-checkin-overview { text-align: center; margin-bottom: 16px; }
  #dtoj-home .home-checkin-overview--pet { display: grid; grid-template-columns: 104px minmax(0, 1fr) 104px; align-items: center; gap: 12px; min-height: 104px; }
  #dtoj-home .home-checkin-overview--pet > :first-child { grid-column: 2; }
  #dtoj-home .home-checkin-overview--pet > .home-checkin-pet { grid-column: 3; justify-self: end; }
  #dtoj-home .home-checkin-result { min-width: 0; }
  #dtoj-home .home-checkin-pet { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 104px; border-radius: 14px; color: var(--home-muted); text-decoration: none; }
  #dtoj-home .home-checkin-pet[hidden] { display: none !important; }
  #dtoj-home .home-checkin-pet-art { display: block; width: 104px; height: 88px; }
  #dtoj-home .home-checkin-pet-art svg { display: block; width: 100%; height: 100%; }
  #dtoj-home .home-checkin-pet-label { display: block; max-width: 100%; margin-top: 1px; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
  #dtoj-home .home-checkin-pet:hover { color: var(--home-brand-deep); background: rgba(132, 183, 178, 0.07); }
  #dtoj-home .home-checkin-pet:focus-visible { outline: 2px solid var(--home-brand); outline-offset: 3px; }
  @media (max-width: 640px) {
    #dtoj-home .home-checkin-overview--pet { grid-template-columns: minmax(0, 1fr); gap: 8px; min-height: 0; }
    #dtoj-home .home-checkin-overview--pet > :first-child { grid-column: 1; grid-row: 1; }
    #dtoj-home .home-checkin-overview--pet > .home-checkin-pet { grid-column: 1; grid-row: 2; justify-self: center; }
    #dtoj-home .home-checkin-pet { width: 84px; }
    #dtoj-home .home-checkin-pet-art { width: 84px; height: 76px; }
  }

  /* Apply the boundary rule to the viewport, preserving body scroll chaining. */
  html.page--homepage {
    overscroll-behavior-y: none;
  }

  #dtoj-home {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: -72px;
    margin-top: -64px;
    padding: 72px 0 168px;
    color: var(--home-ink);
    isolation: isolate;
    overflow: hidden;
  }

  #dtoj-home::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
      radial-gradient(circle at 12% 8%, rgba(37, 99, 235, 0.14), transparent 24%),
      radial-gradient(circle at 88% 10%, rgba(148, 163, 184, 0.16), transparent 18%),
      radial-gradient(circle at 72% 28%, rgba(111, 167, 179, 0.13), transparent 22%),
      linear-gradient(180deg, var(--home-bg-soft) 0%, var(--home-bg) 100%);
  }

  #dtoj-home::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
      linear-gradient(rgba(69, 104, 214, 0.028) 1px, transparent 1px),
      linear-gradient(90deg, rgba(69, 104, 214, 0.028) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 82%);
  }

  #dtoj-home * {
    box-sizing: border-box;
  }

  .home-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
  }

  .home-hero {
    padding: 18px 0 34px;
  }

  .home-hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "countdown checkin" "wealth activity";
    gap: 22px 30px;
    align-items: stretch;
  }

  .home-hero-main,
  .home-hero-copy,
  .home-side-stack { display: contents; }

  .home-countdown-panel { grid-area: countdown; }
  .home-side-stack > .home-card { grid-area: checkin; }
  #wealth-stack { grid-area: wealth; }
  #activity-stack { grid-area: activity; }

  .home-badge,
  .home-mini-badge,
  .home-action-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
  }

  .home-badge {
    gap: 10px;
    min-height: 42px;
    padding: 0 18px;
    color: var(--home-brand-deep);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(69, 104, 214, 0.12);
    box-shadow: var(--home-shadow-soft);
    font-size: 13px;
  }

  .home-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--home-brand), var(--home-gold));
  }

  .home-title,
  .home-section-title,
  .home-card-title {
    margin: 0;
    font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", serif;
    letter-spacing: -0.04em;
  }

  .home-title {
    margin-top: 24px;
    font-size: 64px;
    line-height: 1.03;
    font-weight: 700;
  }

  .home-title .accent {
    color: var(--home-brand);
  }

  .home-section-subtitle,
  .home-card-desc,
  .home-contact-desc,
  .home-resource-desc {
    color: var(--home-muted);
    line-height: 1.9;
  }

  .home-actions,
  .home-contact-tags,
  .home-resource-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .home-actions {
    margin-top: 30px;
    gap: 14px;
  }

  .home-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
  }

  .home-quick-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--home-line);
    background: rgba(255, 255, 255, 0.6);
    color: #4d5767;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  }

  .home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  }

  .home-btn:hover,
  .home-quick-link:hover,
  a.home-resource-card:hover {
    transform: translateY(-1px);
  }

  .home-btn:focus-visible,
  .home-quick-link:focus-visible,
  a.home-resource-card:focus-visible {
    outline: none;
    border-color: rgba(69, 104, 214, 0.28);
    box-shadow:
      0 0 0 3px rgba(69, 104, 214, 0.16),
      var(--home-shadow-soft);
  }

  .home-btn-primary {
    color: var(--home-brand-deep);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 241, 233, 0.92));
    border-color: rgba(69, 104, 214, 0.14);
    box-shadow: 0 16px 38px rgba(69, 104, 214, 0.12);
  }

  .home-btn-secondary {
    color: var(--home-ink);
    background: rgba(255, 255, 255, 0.74);
    border-color: var(--home-line);
  }

  .home-quick-link:hover {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(69, 104, 214, 0.18);
  }

  .home-note {
    position: relative;
    display: grid;
    gap: 14px;
    width: 100%;
    margin: 22px 0 0;
    padding: 22px 24px 24px;
    border-radius: 28px;
    border: 1px solid rgba(69, 104, 214, 0.12);
    background:
      radial-gradient(circle at 12% 18%, rgba(69, 104, 214, 0.12), transparent 26%),
      radial-gradient(circle at 86% 22%, rgba(231, 180, 108, 0.14), transparent 24%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(250, 245, 238, 0.94));
    box-shadow: var(--home-shadow-soft);
    overflow: hidden;
  }

  .home-note::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(69, 104, 214, 0.18), transparent);
  }

  .home-note-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .home-note-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(34, 39, 51, 0.06);
    color: #596375;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 8px 18px rgba(43, 34, 24, 0.05);
  }

  .home-note-item:nth-child(3n + 1) {
    color: var(--home-brand-deep);
    border-color: rgba(69, 104, 214, 0.12);
  }

  .home-note-item:nth-child(3n + 2) {
    color: #0f766e;
    border-color: rgba(132, 183, 178, 0.18);
  }

  .home-note-item:nth-child(3n + 3) {
    color: var(--home-gold-deep);
    border-color: rgba(231, 180, 108, 0.22);
  }

  .home-rating-card {
    margin-top: auto;
    padding: 20px;
    border-radius: 28px;
    border: 1px solid rgba(69, 104, 214, 0.1);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 244, 0.9)),
      linear-gradient(135deg, rgba(69, 104, 214, 0.05), rgba(231, 180, 108, 0.08));
    box-shadow: var(--home-shadow-soft);
  }

  .home-rating-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .home-rating-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--home-ink);
  }

  .home-rating-kicker {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--home-muted);
  }

  .home-rating-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--home-brand);
    background: rgba(69, 104, 214, 0.08);
    border: 1px solid rgba(69, 104, 214, 0.12);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
  }

  .home-rating-side {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .home-rating-pig {
    width: 58px;
    height: 58px;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(201, 135, 47, 0.16));
  }

  .home-rating-chart {
    position: relative;
    margin-top: 24px;
    padding: 12px 12px 8px;
    border-radius: 22px;
    background:
      linear-gradient(rgba(69, 104, 214, 0.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(69, 104, 214, 0.045) 1px, transparent 1px),
      linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(250, 246, 240, 0.82));
    background-size: 34px 34px, 34px 34px, auto;
    overflow: hidden;
  }

  .home-rating-chart svg {
    display: block;
    width: 100%;
    height: auto;
  }

  .home-rating-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
  }

  .home-rating-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(34, 39, 51, 0.08);
  }

  .pill-gray {
    color: #808080;
  }

  .pill-green {
    color: #008000;
  }

  .pill-cyan {
    color: #03a89e;
  }

  .pill-blue {
    color: #0000ff;
  }

  .pill-purple {
    color: #aa00aa;
  }

  .pill-orange {
    color: #ff8c00;
  }

  .pill-red {
    color: #ff0000;
  }

  .pill-blackred {
    color: #111111;
  }

  .home-word-panel,
  .home-code-panel,
  .home-card,
  .home-contact-card,
  .home-resource-card {
    background: var(--home-surface);
    border: 1px solid var(--home-line);
    box-shadow: var(--home-shadow);
  }

  .home-word-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    border-radius: 32px;
  }

  .home-word-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--home-line);
    background: rgba(255, 255, 255, 0.56);
  }

  .home-word-head-left {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .home-word-dots {
    display: flex;
    gap: 8px;
  }

  .home-word-dots span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
  }

  .home-word-dots span:nth-child(1) {
    background: #eb5a52;
  }

  .home-word-dots span:nth-child(2) {
    background: #f1b44c;
  }

  .home-word-dots span:nth-child(3) {
    background: #64c466;
  }

  .home-word-label {
    color: #4d5767;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .home-mini-badge {
    min-height: 30px;
    padding: 0 12px;
    color: var(--home-brand);
    background: rgba(69, 104, 214, 0.08);
    border: 1px solid rgba(69, 104, 214, 0.12);
  }

  .home-word-body {
    flex: 1;
    position: relative;
    min-height: 316px;
    padding: 22px;
    overflow: hidden;
    cursor: grab;
    perspective: 1300px;
    background:
      radial-gradient(circle at top right, rgba(69, 104, 214, 0.14), transparent 24%),
      radial-gradient(circle at bottom left, rgba(132, 183, 178, 0.14), transparent 24%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(250, 245, 238, 0.82));
  }

  .home-word-body.is-active {
    cursor: grabbing;
  }

  .home-word-body::before {
    content: "";
    position: absolute;
    inset: 20px;
    border-radius: 24px;
    background:
      linear-gradient(rgba(69, 104, 214, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(69, 104, 214, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
  }

  .home-word-body::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 250px;
    height: 250px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background:
      radial-gradient(circle, rgba(69, 104, 214, 0.2) 0%, rgba(69, 104, 214, 0.08) 34%, rgba(255, 255, 255, 0) 72%);
    filter: blur(4px);
    pointer-events: none;
  }

  .home-word-scene {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
  }

  .home-word-orb {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    transform: translate3d(-50%, -50%, 0);
    background:
      radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.96), rgba(155, 211, 255, 0.44) 26%, rgba(69, 104, 214, 0.1) 54%, rgba(255, 255, 255, 0) 72%);
    box-shadow:
      inset 0 0 42px rgba(255, 255, 255, 0.5),
      0 18px 40px rgba(69, 104, 214, 0.16);
    pointer-events: none;
  }

  .home-word-tag {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(43, 34, 24, 0.08);
    transform-style: preserve-3d;
    will-change: transform;
  }

  .home-word-tag::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 10px;
    border-radius: 999px;
    background: currentColor;
  }

  .tag-xl {
    min-height: 52px;
    padding: 0 20px;
    font-size: 22px;
  }

  .tag-lg {
    font-size: 18px;
  }

  .tag-md {
    font-size: 15px;
  }

  .tag-sm {
    min-height: 34px;
    font-size: 13px;
  }

  .tag-blue {
    color: var(--home-brand-deep);
    background: rgba(69, 104, 214, 0.1);
    border-color: rgba(69, 104, 214, 0.16);
  }

  .tag-cyan {
    color: #0f766e;
    background: rgba(132, 183, 178, 0.15);
    border-color: rgba(132, 183, 178, 0.22);
  }

  .tag-gold {
    color: var(--home-gold-deep);
    background: rgba(231, 180, 108, 0.16);
    border-color: rgba(231, 180, 108, 0.2);
  }

  .tag-purple {
    color: #7c2bd0;
    background: rgba(196, 181, 253, 0.22);
    border-color: rgba(139, 92, 246, 0.16);
  }

  .home-code-panel {
    overflow: hidden;
    border-radius: 28px;
  }

  .home-code-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--home-line);
    background: rgba(255, 255, 255, 0.52);
  }

  .home-code-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--home-ink);
  }

  .home-code-subtitle {
    margin-top: 4px;
    font-size: 12px;
    color: var(--home-muted);
  }

  .home-code-body {
    height: 348px;
    padding: 20px 14px 22px 20px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(143, 215, 255, 0.3) rgba(255, 255, 255, 0.05);
    background:
      linear-gradient(180deg, #172133 0%, #11192b 100%);
    color: #d8dfeb;
    font: 13px/1.65 "JetBrains Mono", "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  }

  .home-code-body::-webkit-scrollbar {
    width: 10px;
  }

  .home-code-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
  }

  .home-code-body::-webkit-scrollbar-thumb {
    background: rgba(143, 215, 255, 0.28);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
  }

  .home-code-line {
    display: flex;
    gap: 14px;
    min-height: 22px;
  }

  .home-code-no {
    width: 26px;
    flex: 0 0 26px;
    text-align: right;
    color: rgba(216, 223, 235, 0.34);
    user-select: none;
  }

  .home-code-text {
    min-width: 0;
    white-space: pre-wrap;
    word-break: break-word;
  }

  .code-kw {
    color: #8fd7ff;
  }

  .code-fn {
    color: #ffd48f;
  }

  .code-str {
    color: #9fe59f;
  }

  .code-num {
    color: #f8b4ff;
  }

  .code-op {
    color: #c5d3e6;
  }

  .code-type {
    color: #c4b5fd;
  }

  .code-comment {
    color: rgba(163, 183, 214, 0.72);
    font-style: italic;
  }

  .home-countdown-panel {
    overflow: hidden;
    border-radius: 28px;
  }

  .home-countdown-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--home-line);
    background: rgba(255, 255, 255, 0.52);
  }

  .home-countdown-body {
    display: grid;
    gap: 10px;
    padding: 14px 18px 18px;
    background:
      radial-gradient(circle at 84% 18%, rgba(69, 104, 214, 0.14), transparent 24%),
      radial-gradient(circle at 12% 100%, rgba(231, 180, 108, 0.12), transparent 22%),
      linear-gradient(180deg, rgba(250, 246, 239, 0.96), rgba(246, 240, 231, 0.98));
  }

  .home-countdown-item {
    padding: 12px 15px;
    border-radius: 16px;
    border: 1px solid rgba(34, 39, 51, 0.06);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 30px rgba(43, 34, 24, 0.06);
  }

  .home-countdown-item-primary {
    border-color: rgba(69, 104, 214, 0.14);
  }

  .home-countdown-item-secondary {
    border-color: rgba(231, 180, 108, 0.22);
  }

  .home-countdown-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
  }

  .home-countdown-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7a8698;
  }

  .home-countdown-title {
    margin: 3px 0 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--home-ink);
  }

  .home-countdown-days {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
  }

  .home-countdown-number {
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    color: var(--home-brand-deep);
    font-family: "JetBrains Mono", "Cascadia Code", monospace;
  }

  .home-countdown-item-secondary .home-countdown-number {
    color: var(--home-gold-deep);
  }

  .home-countdown-unit {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #8b97a7;
  }

  .home-countdown-copy {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.45;
    color: #5f6c7c;
  }

  .home-section {
    padding-top: 38px;
  }

  .home-section-title {
    font-size: 38px;
    line-height: 1.14;
    font-weight: 700;
  }

  .home-section-subtitle {
    max-width: 820px;
    margin: 14px 0 0;
    font-size: 15px;
  }

  .home-card-grid,
  .home-contact-grid,
  .home-resource-grid {
    display: grid;
    gap: 16px;
    margin-top: 26px;
  }

  .home-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-resource-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-card,
  .home-contact-card,
  .home-resource-card {
    border-radius: 24px;
    padding: 24px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }

  .home-contact-card {
    text-align: center;
  }

  .home-resource-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-decoration: none;
    color: inherit;
  }

  /* dtoj-home-flat-edge-20261028: keep the check-in card on the page plane. */
  #dtoj-home .home-checkin-card { box-shadow: none; }

  .home-card-title,
  .home-contact-title,
  .home-resource-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--home-ink);
  }

  .home-card>.home-card-title,
  .home-resource-card>.home-resource-title {
    margin-top: 18px;
  }

  .home-card-desc,
  .home-contact-desc,
  .home-resource-desc {
    margin: 12px 0 0;
    font-size: 14px;
  }

  .home-action-chip {
    min-height: 30px;
    padding: 0 12px;
  }

  .chip-blue {
    color: var(--home-brand);
    background: rgba(69, 104, 214, 0.08);
  }

  .chip-gold {
    color: var(--home-gold-deep);
    background: rgba(231, 180, 108, 0.14);
  }

  .chip-mint {
    color: #0f766e;
    background: rgba(132, 183, 178, 0.16);
  }

  .home-contact-qr {
    width: 100%;
    max-width: 230px;
    aspect-ratio: 1 / 1;
    display: block;
    margin: 0 auto 18px;
    border-radius: 22px;
    box-shadow: var(--home-shadow-soft);
    object-fit: cover;
  }

  .home-contact-tags {
    margin-top: 16px;
    justify-content: center;
  }

  .home-resource-tags {
    margin-top: 16px;
  }

  a.home-resource-card:hover {
    color: inherit;
    border-color: rgba(69, 104, 214, 0.16);
    box-shadow: 0 22px 44px rgba(43, 34, 24, 0.12);
  }

  /* Homepage introduction: restrained motion around the main navigation. */
  .home-hero-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    margin-bottom: 28px;
    padding: 58px 26px 48px;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
    border: 1px solid rgba(30, 41, 59, 0.1);
    border-radius: 30px;
    background: var(--home-surface-strong);
    box-shadow: var(--home-shadow-soft);
  }

  .home-hero-panel-content {
    position: relative;
    z-index: 1;
    width: 100%;
  }

  .home-hero-panel .home-badge {
    min-height: 0;
    padding: 0;
    justify-content: center;
    color: var(--home-muted);
    background: none;
    border: 0;
    box-shadow: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
  }

  .home-hero-panel .home-badge::before {
    display: none;
  }

  .home-hero-panel .home-title {
    margin-top: 27px;
    font-size: clamp(52px, 5.4vw, 78px);
    line-height: 1.18;
    letter-spacing: -0.055em;
  }

  .home-hero-panel .home-title .accent {
    display: inline-block;
    color: var(--home-brand);
    background: linear-gradient(100deg, var(--home-brand-deep), var(--home-brand) 45%, var(--home-mint));
    background-size: 170% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: home-hero-title 8s ease-in-out infinite alternate;
  }

  .home-hero-rule {
    width: 82px;
    height: 4px;
    margin: 25px auto 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--home-brand), var(--home-mint));
    transform-origin: center;
    animation: home-hero-rule 5s ease-in-out infinite;
  }

  .home-hero-tagline {
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(20px, 2vw, 29px);
    font-weight: 700;
    letter-spacing: 0.015em;
  }

  .home-hero-intro {
    margin: 15px 0 0;
    color: var(--home-muted);
    font-size: 14px;
    letter-spacing: 0.12em;
  }

  .home-hero-panel .home-actions {
    justify-content: center;
    gap: 10px;
    margin-top: 37px;
  }

  .home-hero-panel .home-actions .home-btn {
    min-width: 164px;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 11px;
  }

  .home-hero-panel .home-btn-primary {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(110deg, var(--home-brand), var(--home-mint));
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.16);
  }

  .home-hero-panel .home-btn-secondary {
    color: var(--home-brand-deep);
    background: rgba(248, 250, 252, 0.9);
  }

  .home-hero-panel .home-quick-links {
    justify-content: center;
    margin-top: 23px;
  }

  .home-hero-panel .home-quick-link {
    min-height: 30px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 12px;
  }

  .home-hero-floats {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }

  .home-hero-float {
    position: absolute;
    display: block;
    color: var(--home-brand-deep);
    opacity: 0.15;
    font-family: "JetBrains Mono", "Cascadia Code", monospace;
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
    animation: home-hero-float 8s ease-in-out infinite;
  }

  .home-float-code { top: 15%; left: 12%; animation-delay: -1s; }
  .home-float-node { top: 21%; right: 13%; font-size: 38px; animation-delay: -3s; }
  .home-float-sum { bottom: 23%; left: 11%; animation-delay: -5s; }
  .home-float-brace { bottom: 16%; right: 11%; font-size: 23px; animation-delay: -2s; }
  .home-float-arrow { top: 11%; left: 60%; font-size: 24px; animation-delay: -6s; }

  @keyframes home-hero-float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-8deg); }
    50% { transform: translate3d(8px, -12px, 0) rotate(9deg); }
  }

  @keyframes home-hero-rule {
    0%, 100% { transform: scaleX(1); opacity: 1; }
    50% { transform: scaleX(0.72); opacity: 0.72; }
  }

  @keyframes home-hero-title {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
  }

  @media (max-width: 1120px) {
    .home-hero-grid {
      grid-template-columns: 1fr;
      grid-template-areas: none;
    }

    .home-hero-main {
      display: flex;
      flex-direction: column;
      gap: 28px;
    }

    .home-hero-copy {
      display: flex;
      flex-direction: column;
    }

    .home-side-stack {
      display: grid;
      gap: 22px;
      align-content: start;
    }

    .home-countdown-panel,
    .home-side-stack > .home-card,
    #wealth-stack,
    #activity-stack {
      grid-area: auto;
    }

    .home-card-grid,
    .home-resource-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-rating-card {
      margin-top: 24px;
    }
  }

  @media (max-width: 760px) {
    #dtoj-home {
      margin-bottom: -48px;
      margin-top: -40px;
      padding-top: 52px;
      padding-bottom: 120px;
    }

    .home-shell {
      width: min(100% - 24px, 1180px);
    }

    .home-title {
      font-size: 42px;
      line-height: 1.12;
    }

    .home-section-title {
      font-size: 30px;
    }

    .home-note {
      padding: 18px 16px 20px;
      border-radius: 24px;
    }

    .home-btn {
      width: 100%;
    }

    .home-quick-link {
      flex: 1 1 calc(50% - 5px);
    }

    .home-card-grid,
    .home-contact-grid,
    .home-resource-grid {
      grid-template-columns: 1fr;
    }

    .home-rating-head {
      align-items: flex-start;
      flex-direction: column;
    }

    .home-rating-side {
      align-self: flex-start;
    }

    .home-word-body {
      min-height: auto;
    }

    .home-code-body {
      height: 320px;
    }

    .home-countdown-row {
      flex-direction: column;
      align-items: flex-start;
    }

    .home-countdown-days {
      align-items: flex-start;
      text-align: left;
    }

    .home-countdown-body {
      padding: 16px;
    }

    .home-countdown-number {
      font-size: 30px;
    }

    .home-word-body::before,
    .home-word-body::after,
    .home-word-orb {
      display: none;
    }

    .home-word-scene {
      position: relative;
      inset: auto;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }

    .home-word-tag {
      position: static;
      left: auto;
      top: auto;
      margin: 0 10px 10px 0;
      transform: none !important;
    }
  }

  @media (prefers-reduced-motion: reduce) {

    .home-btn,
    .home-quick-link,
    .home-resource-card {
      transition: none;
    }

    .home-word-body {
      cursor: default;
    }
  }
  @media (max-width: 760px) {
    .home-hero-panel {
      min-height: 0;
      margin-bottom: 20px;
      padding: 58px 18px 34px;
      border-radius: 24px;
    }

    .home-hero-panel .home-title {
      font-size: clamp(34px, 9vw, 43px);
    }

    .home-hero-panel .home-actions {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
      margin-top: 30px;
    }

    .home-hero-panel .home-quick-links {
      gap: 4px 8px;
    }

    .home-hero-float {
      font-size: 20px;
      opacity: 0.11;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .home-hero-float,
    .home-hero-rule,
    .home-hero-panel .home-title .accent {
      animation: none;
    }
  }
  /* Homepage lower section: editorial rhythm, calm product preview, restrained motion. */
  #dtoj-home .home-lower {
    display: grid;
    gap: 108px;
    margin-top: 92px;
  }

  #dtoj-home .home-lower-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    gap: 38px;
    align-items: end;
    margin-bottom: 30px;
  }

  #dtoj-home .home-lower-kicker {
    display: block;
    margin-bottom: 13px;
    color: #3470ce;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
  }

  #dtoj-home .home-lower-head h2 {
    max-width: 720px;
    margin: 0;
    color: #17243a;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 760;
    letter-spacing: -.045em;
    line-height: 1.16;
  }

  #dtoj-home .home-lower-head p {
    max-width: 370px;
    margin: 0 0 4px;
    color: #5f6b7a;
    font-size: 14px;
    line-height: 1.8;
  }

  #dtoj-home .home-lower-contact .home-lower-head { display: block; }

  #dtoj-home .home-contact-heading {
    display: flex;
    align-items: center;
    gap: 38px;
  }

  #dtoj-home .home-contact-title { flex-shrink: 0; }
  #dtoj-home .home-lower-contact .home-lower-head > p { max-width: none; margin: 16px 0 0; }

  #dtoj-home .home-member-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #dtoj-home .home-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 64px;
    min-height: 64px;
    padding: 8px;
    border: 1px solid rgba(37, 55, 85, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 4px 14px rgba(28, 39, 64, .035);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  }

  #dtoj-home .home-member:hover {
    transform: translateY(-3px);
    border-color: rgba(52, 112, 206, .3);
    box-shadow: 0 9px 20px rgba(28, 39, 64, .08);
  }

  #dtoj-home .home-member-avatar {
    display: block;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f4f7fb;
    object-fit: cover;
  }

  #dtoj-home .home-member-link { display: block; color: inherit; text-decoration: none; }
  #dtoj-home .home-member-link:focus-visible { outline: 2px solid #3470ce; outline-offset: 4px; border-radius: 4px; }

  #dtoj-home .home-contact-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  #dtoj-home .home-contact-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 330px;
    padding: 25px 27px 20px;
    border: 1px solid rgba(37, 55, 85, .12);
    border-radius: 18px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 12px 36px rgba(28, 39, 64, .04);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  }

  #dtoj-home .home-contact-panel:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 112, 206, .38);
    box-shadow: 0 22px 46px rgba(28, 39, 64, .1);
  }

  #dtoj-home .home-contact-panel-top,
  #dtoj-home .home-contact-panel-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
  }

  #dtoj-home .home-contact-panel-top {
    gap: 8px;
    color: #67809f;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .1em;
  }

  #dtoj-home .home-contact-panel-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    gap: 18px;
    align-items: center;
    flex: 1;
    padding: 29px 0 24px;
  }

  #dtoj-home .home-contact-panel h3 {
    margin: 0 0 12px;
    color: #1b2d47;
    font-size: clamp(21px, 2vw, 26px);
    font-weight: 740;
    letter-spacing: -.025em;
    line-height: 1.3;
  }

  #dtoj-home .home-contact-panel p {
    max-width: 290px;
    margin: 0 auto;
    color: #657388;
    font-size: 13px;
    line-height: 1.75;
  }

  #dtoj-home .home-contact-qr-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 152px;
    height: 152px;
    padding: 8px;
    border: 1px solid rgba(37, 55, 85, .12);
    border-radius: 12px;
    background: #fff;
    transition: transform .3s ease;
  }

  #dtoj-home .home-contact-panel:hover .home-contact-qr-frame { transform: scale(1.035); }
  #dtoj-home .home-contact-qr-frame img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }

  #dtoj-home .home-contact-panel-foot {
    position: relative;
    padding-top: 17px;
    border-top: 1px solid rgba(37, 55, 85, .1);
    color: #4f6180;
    font-size: 12px;
    font-weight: 650;
  }

  #dtoj-home .home-contact-panel-foot span:last-child { position: absolute; right: 0; font-size: 18px; line-height: 1; }

  #dtoj-home .home-journey {
    position: relative;
    overflow: hidden;
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    background: #172237;
    color: #f6f8fd;
    box-shadow: 0 30px 64px rgba(23, 34, 55, .18);
  }

  #dtoj-home .home-journey::before {
    content: "";
    position: absolute;
    top: -240px;
    right: -120px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(75, 119, 207, .23), transparent 62%);
    pointer-events: none;
  }

  #dtoj-home .home-journey > * { position: relative; z-index: 1; }
  #dtoj-home .home-journey .home-lower-kicker { color: #95baff; }
  #dtoj-home .home-journey .home-lower-head h2 { color: #f7f9ff; }
  #dtoj-home .home-journey .home-lower-head p { color: #abb9ce; }

  #dtoj-home .home-journey-grid {
    display: grid;
    grid-template-columns: minmax(260px, .77fr) minmax(0, 1.23fr);
    gap: 31px;
    align-items: stretch;
  }

  #dtoj-home .home-journey-steps { display: grid; align-content: center; }

  #dtoj-home .home-journey-step {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    gap: 13px;
    align-items: center;
    width: 100%;
    min-height: 76px;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid rgba(202, 216, 240, .12);
    background: transparent;
    color: #abb9ce;
    text-align: left;
    cursor: pointer;
    transition: color .22s ease, background .22s ease, padding-left .22s ease;
  }

  #dtoj-home .home-journey-step:first-child { border-top: 1px solid rgba(202, 216, 240, .12); }
  #dtoj-home .home-journey-step:hover,
  #dtoj-home .home-journey-step[aria-selected="true"] {
    padding-left: 19px;
    background: rgba(144, 180, 255, .09);
    color: #fff;
  }

  #dtoj-home .home-journey-step:focus-visible,
  #dtoj-home .home-resource-row:focus-visible {
    outline: 2px solid #a6c4ff;
    outline-offset: 2px;
  }

  #dtoj-home .home-journey-step-number { color: #729bd9; font-size: 11px; font-weight: 800; }
  #dtoj-home .home-journey-step strong { display: block; font-size: 16px; font-weight: 690; }
  #dtoj-home .home-journey-step small { display: block; margin-top: 4px; color: #8ea1bd; font-size: 11px; }
  #dtoj-home .home-journey-step-arrow { justify-self: end; font-size: 20px; font-weight: 300; }

  #dtoj-home .home-journey-preview {
    min-height: 385px;
    padding: 20px 22px 23px;
    border: 1px solid rgba(200, 215, 244, .19);
    border-radius: 15px;
    background: rgba(15, 25, 42, .52);
    box-shadow: inset 0 1px rgba(255, 255, 255, .04);
  }

  #dtoj-home .home-preview-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(200, 215, 244, .13);
    color: #98aac6;
    font-size: 11px;
    letter-spacing: .12em;
  }

  #dtoj-home .home-preview-dots { display: flex; gap: 6px; }
  #dtoj-home .home-preview-dots i { width: 6px; height: 6px; border-radius: 50%; background: #647a9a; }

  #dtoj-home .home-preview-panel[hidden] { display: none; }
  #dtoj-home .home-preview-panel:not([hidden]) { animation: home-preview-enter .35s ease both; }

  #dtoj-home .home-preview-panel h3 {
    margin: 25px 0 8px;
    color: #f7f9ff;
    font-size: 23px;
    font-weight: 720;
    letter-spacing: -.025em;
  }

  #dtoj-home .home-preview-panel p { max-width: 430px; margin: 0; color: #aebdd3; font-size: 13px; line-height: 1.7; }
  #dtoj-home .home-preview-list { display: grid; gap: 9px; margin: 25px 0 26px; }

  #dtoj-home .home-preview-list span {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 37px;
    padding: 7px 12px;
    border: 1px solid rgba(200, 215, 244, .12);
    border-radius: 7px;
    color: #d6e0ef;
    font-size: 12px;
  }

  #dtoj-home .home-preview-list b { width: 20px; color: #86adf0; font-size: 10px; }
  #dtoj-home .home-preview-link { color: #9bc0ff; font-size: 13px; font-weight: 700; text-decoration: none; }
  #dtoj-home .home-preview-link:hover { color: #fff; }

  #dtoj-home.home-motion-ready [data-home-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .75, .25, 1);
  }

  #dtoj-home.home-motion-ready [data-home-reveal].is-visible { opacity: 1; transform: none; }

  @keyframes home-preview-enter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @media (max-width: 920px) {
    #dtoj-home .home-lower { gap: 80px; }
    #dtoj-home .home-lower-head { grid-template-columns: 1fr; gap: 13px; }
    #dtoj-home .home-contact-heading { gap: 28px; }
    #dtoj-home .home-member-strip { gap: 8px; }
    #dtoj-home .home-member { flex-basis: 58px; padding: 6px; }
    #dtoj-home .home-journey-grid { grid-template-columns: 1fr; gap: 20px; }
    #dtoj-home .home-journey-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    #dtoj-home .home-journey-step { display: block; min-height: 78px; padding: 12px; border-top: 1px solid rgba(202, 216, 240, .12); }
    #dtoj-home .home-journey-step:hover,
    #dtoj-home .home-journey-step[aria-selected="true"] { padding-left: 12px; }
    #dtoj-home .home-journey-step small,
    #dtoj-home .home-journey-step-arrow { display: none; }
  }

  @media (max-width: 760px) {
    #dtoj-home .home-contact-heading { display: block; }
    #dtoj-home .home-member-strip { gap: 6px; margin-top: 18px; padding: 4px 0 7px; overflow-x: auto; scrollbar-width: thin; }
    #dtoj-home .home-member { flex-basis: 44px; min-height: 44px; padding: 3px; border-radius: 11px; }
    #dtoj-home .home-member-avatar { width: 36px; height: 36px; border-radius: 9px; }
  }

  @media (max-width: 680px) {
    #dtoj-home .home-lower { gap: 64px; margin-top: 65px; }
    #dtoj-home .home-contact-pair { grid-template-columns: 1fr; }
    #dtoj-home .home-contact-panel { min-height: 0; padding: 20px; }
    #dtoj-home .home-contact-panel-main { grid-template-columns: minmax(0, 1fr); padding: 22px 0; }
    #dtoj-home .home-contact-qr-frame { width: 128px; height: 128px; }
    #dtoj-home .home-journey { padding: 25px 18px; border-radius: 16px; }
    #dtoj-home .home-journey-preview { min-height: 365px; padding: 16px; }
    #dtoj-home .home-journey-step strong { font-size: 13px; }
    #dtoj-home .home-journey-step-number { display: block; margin-bottom: 6px; }
  }

  @media (max-width: 390px) {
    #dtoj-home .home-contact-panel-main { grid-template-columns: 1fr; }
    #dtoj-home .home-contact-qr-frame { margin-top: 4px; }
  }

  @media (prefers-reduced-motion: reduce) {
    #dtoj-home .home-contact-panel,
    #dtoj-home .home-member,
    #dtoj-home .home-contact-qr-frame,
    #dtoj-home .home-journey-step,
    #dtoj-home .home-resource-row,
    #dtoj-home.home-motion-ready [data-home-reveal] { animation: none; transition: none; transform: none; opacity: 1; }
    #dtoj-home .home-preview-panel:not([hidden]) { animation: none; }
  }
  /* Current-domain bulletin and its two neighboring gaps. */
  #dtoj-home .home-shell > .home-hero { padding-bottom: 0; }
  #dtoj-home .home-domain-bulletin + .home-lower { margin-top: 36px; }
  #dtoj-home .home-domain-bulletin {
    min-width: 0;
    margin-top: calc(36px - var(--bulletin-stack-reserve, 0px));
    padding: 20px 24px;
    border: 1px solid rgba(37, 55, 85, .12);
    border-radius: 18px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 12px 36px rgba(28, 39, 64, .04);
  }
  #dtoj-home .home-domain-bulletin > header {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(37, 55, 85, .09);
  }
  #dtoj-home .home-domain-bulletin > header h2 {
    margin: 0;
    color: #17243a;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
  }
  #dtoj-home .home-domain-bulletin .home-bulletin-content {
    min-width: 0;
    max-width: 100%;
    color: #334155;
    font-size: 14px;
    line-height: 1.85;
    overflow-wrap: anywhere;
  }
  #dtoj-home .home-domain-bulletin .home-bulletin-content > :first-child { margin-top: 0; }
  #dtoj-home .home-domain-bulletin .home-bulletin-content > :last-child { margin-bottom: 0; }
  #dtoj-home .home-domain-bulletin .home-bulletin-content pre {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre;
    overflow-wrap: normal;
  }
  #dtoj-home .home-domain-bulletin .home-bulletin-content pre code {
    white-space: pre;
    word-break: normal;
    overflow-wrap: normal;
  }
  #dtoj-home .home-domain-bulletin .home-bulletin-content table {
    display: block;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
  }
  #dtoj-home .home-domain-bulletin .home-bulletin-content th,
  #dtoj-home .home-domain-bulletin .home-bulletin-content td {
    overflow-wrap: normal;
    word-break: normal;
  }
  #dtoj-home .home-domain-bulletin .home-bulletin-content .table-container,
  #dtoj-home .home-domain-bulletin .home-bulletin-content .katex-display {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
  }
  #dtoj-home .home-domain-bulletin .home-bulletin-content img { max-width: 100%; height: auto; }
  #dtoj-home .home-domain-bulletin .home-bulletin-empty { margin: 0; color: #7a8798; font-size: 14px; line-height: 1.8; }
  @media (max-width: 680px) {
    #dtoj-home .home-domain-bulletin { margin-top: calc(24px - var(--bulletin-stack-reserve, 0px)); padding: 18px 20px; border-radius: 16px; }
    #dtoj-home .home-domain-bulletin + .home-lower { margin-top: 24px; }
    #dtoj-home .home-domain-bulletin > header h2 { font-size: 18px; }
  }

/* Phone-only layout; native cards, routes and desktop stacks remain intact. */
#dtoj-home .dtoj-home-stack-tabs { display: none; }

@media (max-width: 600px) {
  html.page--homepage,
  html.page--homepage body,
  html.page--homepage #panel { background: #fff; }

  html.page--homepage body #dtoj-home {
    --home-bg: #fff;
    --home-bg-soft: #fff;
    --home-surface: #fff;
    --home-surface-strong: #fff;
    --home-shadow: 0 4px 18px rgba(23, 32, 51, 0.035);
    --home-shadow-soft: 0 4px 18px rgba(23, 32, 51, 0.035);
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 16px;
    background: #fff;
  }
  html.page--homepage #dtoj-home::before,
  html.page--homepage #dtoj-home::after { content: none; }
  #dtoj-home .home-shell { width: calc(100% - 32px); }
  #dtoj-home .home-hero { padding-top: 0; }
  #dtoj-home .home-hero-panel {
    padding: 24px 18px 20px;
    margin-bottom: 20px;
    border-radius: 18px;
    border: 1px solid #e6ebf0;
    background: #fff;
    box-shadow: none;
  }
  #dtoj-home .home-hero-panel::before,
  #dtoj-home .home-hero-panel::after,
  #dtoj-home .home-hero-floats { display: none; }
  #dtoj-home .home-title {
    font-size: clamp(26px, 7.5vw, 34px);
    line-height: 1.25;
  }
  #dtoj-home .home-title .accent {
    background: none;
    color: #164754;
    -webkit-text-fill-color: currentColor;
  }
  #dtoj-home .home-hero-panel .home-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  #dtoj-home .home-hero-panel .home-actions .home-btn {
    width: auto;
    min-width: 0;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 13px;
  }
  #dtoj-home .home-hero-panel .home-actions .home-btn-primary {
    grid-column: 1 / -1;
    background: #164754;
    box-shadow: none;
  }
  #dtoj-home .home-hero-panel .home-quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 8px;
    margin-top: 12px;
  }
  #dtoj-home .home-hero-panel .home-quick-link {
    min-height: 44px;
    padding: 8px 4px;
  }

  #dtoj-home .home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "checkin" "countdown" "wealth" "activity";
    gap: 18px;
    align-items: start;
  }
  #dtoj-home .home-hero-main,
  #dtoj-home .home-hero-copy,
  #dtoj-home .home-side-stack { display: contents; }
  #dtoj-home .home-side-stack > .home-card { grid-area: checkin; }
  #dtoj-home .home-countdown-panel { grid-area: countdown; }
  #dtoj-home .home-countdown-panel {
    min-width: 0;
    border: 1px solid #e6ebf0;
    border-radius: 16px;
    background: #fff;
  }
  #dtoj-home .home-countdown-head {
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
  }
  #dtoj-home .home-countdown-head > div:first-child { min-width: 0; }
  #dtoj-home .home-countdown-head .home-code-title {
    font-size: 14px;
    line-height: 1.4;
  }
  #dtoj-home .home-countdown-head .home-code-subtitle {
    font-size: 11px;
    line-height: 1.5;
  }
  #dtoj-home .home-countdown-head .home-mini-badge {
    flex: 0 0 auto;
    padding: 5px 8px;
    font-size: 10px;
  }
  #dtoj-home .home-countdown-body {
    gap: 8px;
    padding: 10px;
    background: #f8fafb;
  }
  #dtoj-home .home-countdown-item {
    min-width: 0;
    padding: 6px 12px;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
  }
  #dtoj-home .home-countdown-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(56px, auto);
    align-items: center;
    gap: 10px;
  }
  #dtoj-home .home-countdown-row > div:first-child { min-width: 0; }
  #dtoj-home .home-countdown-kicker {
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.035em;
  }
  #dtoj-home .home-countdown-title {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 650;
    overflow-wrap: anywhere;
  }
  #dtoj-home .home-countdown-days {
    align-items: flex-end;
    text-align: right;
    gap: 0;
  }
  #dtoj-home .home-countdown-number {
    font-size: 24px;
    line-height: 1;
  }
  #dtoj-home .home-countdown-unit {
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.025em;
    color: #64748b;
  }
  #dtoj-home .home-countdown-copy {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  #dtoj-home #wealth-stack { grid-area: wealth; }
  #dtoj-home #activity-stack { grid-area: activity; }
  html.page--homepage #dtoj-home .home-domain-bulletin { margin-top: 24px; }
  #dtoj-home #wealth-stack,
  #dtoj-home #activity-stack {
    display: block;
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    padding: 0;
    margin: 0;
    perspective: none;
  }
  #dtoj-home #wealth-stack .wealth-card,
  #dtoj-home #activity-stack .activity-card {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    grid-area: auto;
    transform: none;
    opacity: 1;
    z-index: auto;
    border: 1px solid #e6ebf0;
    border-radius: 16px;
    box-shadow: none;
    transition: none;
  }
  #dtoj-home #wealth-stack .wealth-card:not([data-pos="0"]),
  #dtoj-home #activity-stack .activity-card:not([data-pos="0"]) { display: none; }
  #dtoj-home .wealth-card .stack-content,
  #dtoj-home .activity-card .stack-content {
    min-width: 0;
    padding: 16px;
    gap: 12px;
  }
  #dtoj-home .wealth-card .stack-watermark,
  #dtoj-home .activity-card .stack-watermark,
  #dtoj-home .wealth-card .stack-flip-btn,
  #dtoj-home .activity-card .stack-flip-btn { display: none; }

  #dtoj-home .dtoj-home-stack-tabs {
    display: grid;
    grid-template-columns: repeat(var(--home-stack-count), minmax(0, 1fr));
    gap: 3px;
    margin: 0 0 10px;
    padding: 3px;
    background: #f4f6f8;
    border: 1px solid #e8edf1;
    border-radius: 12px;
  }
  #dtoj-home .dtoj-home-stack-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    padding: 8px 4px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
  }
  #dtoj-home .dtoj-home-stack-tab[aria-selected="true"] {
    background: #fff;
    color: #164754;
    box-shadow: 0 1px 4px rgba(23, 32, 51, 0.055);
    font-weight: 600;
  }
  #dtoj-home .dtoj-home-stack-tab:focus-visible {
    outline: 2px solid #387986;
    outline-offset: -2px;
  }
  #dtoj-home .dtoj-home-stack-heading {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start !important;
    gap: 12px;
    margin-bottom: 0 !important;
  }
  #dtoj-home .dtoj-home-stack-heading > div { min-width: 0; }
  #dtoj-home .dtoj-home-stack-heading h3 {
    font-size: 18px !important;
    line-height: 1.4;
    font-weight: 650 !important;
    overflow-wrap: anywhere;
  }
  #dtoj-home .dtoj-home-stack-heading .home-action-chip {
    font-size: 11px;
    line-height: 1.5;
    padding: 3px 8px;
  }
  #dtoj-home .dtoj-home-stack-reward {
    max-width: 110px;
    padding-right: 0 !important;
    overflow-wrap: anywhere;
  }
  #dtoj-home .dtoj-home-stack-reward > span:first-child {
    font-size: 11px !important;
    line-height: 1.5;
  }
  #dtoj-home .dtoj-home-stack-reward > span:last-child {
    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: 1.5;
  }
  #dtoj-home .dtoj-home-stack-body {
    min-width: 0;
    flex: 0 1 auto !important;
    gap: 12px;
  }
  #dtoj-home .dtoj-home-stack-body p {
    margin-bottom: 0 !important;
    line-height: 1.65 !important;
    overflow-wrap: anywhere;
  }
  #dtoj-home #vault-coin-render {
    max-width: 100%;
    font-size: clamp(22px, 8vw, 34px) !important;
    line-height: 1.15 !important;
    overflow-wrap: anywhere;
  }
  #dtoj-home .dtoj-home-stack-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
    margin-top: 0 !important;
  }
  #dtoj-home .dtoj-home-stack-actions > :only-child { grid-column: 1 / -1; }
  #dtoj-home .dtoj-home-stack-actions > .home-btn {
    width: auto;
    min-width: 0;
    min-height: 44px;
    height: auto;
    padding: 10px 8px;
    font-size: 13px;
    line-height: 1.4 !important;
    white-space: nowrap;
    overflow-wrap: normal;
    box-shadow: none;
  }
}



              .wealth-stack-container {
                position: relative;
                min-height: 280px;
                margin-top: 0;
                perspective: 1000px;
              }

              .wealth-card {
                position: absolute;
                top: 0;
                left: 0;
                width: calc(100% - 40px);
                min-height: 240px;
                border-radius: 20px;
                display: flex;
                flex-direction: column;
                overflow: hidden;
                border: 1px solid #e5e7eb;
                box-shadow: -4px 8px 24px rgba(0, 0, 0, 0.06);
                background: #ffffff;
                transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
                transform-origin: top left;
              }

              @media (prefers-reduced-motion: reduce) {
                .wealth-card { transition: none; }
              }

              .wealth-card:not([data-pos="0"]) {
                cursor: pointer;
              }

              .wealth-card:not([data-pos="0"]) .stack-content {
                pointer-events: none;
              }

              .wealth-card:not([data-pos="0"]) .stack-flip-btn {
                opacity: 0;
                transform: scale(0.5);
                pointer-events: none;
              }

              /* 三级错位坐标计算，完美漏出等距边缘 */
              .wealth-card[data-pos="0"] {
                transform: translate(0, 0) scale(1);
                z-index: 3;
                opacity: 1;
                cursor: default;
              }

              .wealth-card[data-pos="1"] {
                transform: translate(20px, 14px) scale(0.98);
                z-index: 2;
                opacity: 0.9;
              }

              .wealth-card[data-pos="2"] {
                transform: translate(40px, 28px) scale(0.96);
                z-index: 1;
                opacity: 0.8;
              }
              .wealth-card[data-pos="3"] { display: none; }
            

              .activity-stack-container {
                position: relative;
                min-height: 315px;
                /* 加大高度防止底部截断 */
                margin-top: 0;
                perspective: 1000px;
              }

              .activity-card {
                position: absolute;
                top: 0;
                left: 0;
                /* 核心1：宽度缩小一点，给右侧漏出的卡片边缘留足空间 */
                width: calc(100% - 60px);
                min-height: 240px;
                border-radius: 20px;
                display: flex;
                flex-direction: column;
                overflow: hidden;
                border: 1px solid #e5e7eb;
                box-shadow: -4px 8px 24px rgba(0, 0, 0, 0.06);
                background: #ffffff;
                transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
                /* 核心2：以左上角为基准点进行变换 */
                transform-origin: top left;
              }

              /* 让底下的卡片可以点击翻页，但内部文字和按钮不可交互 */
              @media (prefers-reduced-motion: reduce) {
                .activity-card { transition: none; }
              }

              .activity-card:not([data-pos="0"]) {
                cursor: pointer;
              }

              .activity-card:not([data-pos="0"]) .stack-content {
                pointer-events: none;
              }

              .activity-card:not([data-pos="0"]) .stack-flip-btn {
                opacity: 0;
                transform: scale(0.5);
                pointer-events: none;
              }

              /* 核心3：精准计算的右下错位效果 */
              /* 第一张：原位，无缩放 */
              .activity-card[data-pos="0"] {
                transform: translate(0, 0) scale(1);
                z-index: 4;
                opacity: 1;
                cursor: default;
              }

              /* 第二张：向右移20px，向下移14px，略微缩小 */
              .activity-card[data-pos="1"] {
                transform: translate(20px, 14px) scale(0.98);
                z-index: 3;
                opacity: 0.9;
              }

              /* 第三张：向右移40px，向下移28px，继续缩小 */
              .activity-card[data-pos="2"] {
                transform: translate(40px, 28px) scale(0.96);
                z-index: 2;
                opacity: 0.76;
              }

              /* 第四张：向右移60px，向下移42px，作为绿色农场入口 */
              .activity-card[data-pos="3"] {
                transform: translate(60px, 42px) scale(0.94);
                z-index: 1;
                opacity: 0.62;
              }

              .stack-watermark {
                position: absolute;
                right: -20px;
                top: -10px;
                opacity: 0.03;
                font-family: monospace;
                font-size: 80px;
                font-weight: 900;
                color: #000;
                line-height: 0.8;
                z-index: 0;
              }

              .stack-content {
                padding: 24px;
                position: relative;
                z-index: 1;
                flex: 1;
                display: flex;
                flex-direction: column;
              }

              /* 切换按钮现在从属于卡片内部了 */
              .stack-flip-btn {
                position: absolute;
                top: 16px;
                right: 16px;
                z-index: 10;
                width: 32px;
                height: 32px;
                background: rgba(0, 0, 0, 0.05);
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                border: none;
                cursor: pointer;
                transition: all 0.3s;
                color: #64748b;
              }

              .stack-flip-btn:hover {
                background: rgba(0, 0, 0, 0.1);
                color: #0f172a;
                transform: rotate(90deg);
              }
            

/* A shared reading surface keeps resources together without separate link cards. */
#dtoj-home .home-lower-resources {
  padding: 32px;
  border: 1px solid #d5deea;
  border-radius: 16px;
  background: #f8fafc;
}
#dtoj-home .home-lower-resources .home-lower-head {
  grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}
#dtoj-home .home-lower-resources .home-lower-kicker {
  margin-bottom: 10px;
  color: #526b8c;
  letter-spacing: .12em;
}
#dtoj-home .home-lower-resources .home-lower-head h2 {
  color: #172a43;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.3;
  letter-spacing: -.025em;
}
#dtoj-home .home-lower-resources .home-lower-head p {
  max-width: 350px;
  margin: 0;
  color: #526277;
  font-size: 13px;
  line-height: 1.8;
}
#dtoj-home .home-lower-resources .home-resource-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #d5deea;
}
#dtoj-home .home-lower-resources .home-resource-group {
  min-width: 0;
  padding: 24px 24px 0;
}
#dtoj-home .home-lower-resources .home-resource-group:first-child { padding-left: 0; }
#dtoj-home .home-lower-resources .home-resource-group:last-child { padding-right: 0; }
#dtoj-home .home-lower-resources .home-resource-group + .home-resource-group { border-left: 1px solid #e0e6ef; }
#dtoj-home .home-lower-resources .home-resource-group h3 {
  margin: 0 0 12px;
  padding: 0 12px;
  border: 0;
  color: #37577f;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .02em;
  line-height: 1.5;
}
#dtoj-home .home-lower-resources .home-resource-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  min-height: 84px;
  padding: 14px 12px;
  border: 0;
  border-bottom: 1px solid #e0e6ef;
  border-radius: 0;
  color: #172a43;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease;
}
#dtoj-home .home-lower-resources .home-resource-row:last-child { border-bottom-color: transparent; }
#dtoj-home .home-lower-resources .home-resource-row strong {
  display: block;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
#dtoj-home .home-lower-resources .home-resource-row small {
  display: block;
  margin-top: 4px;
  color: #526277;
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
#dtoj-home .home-lower-resources .home-resource-row > span:last-child {
  color: #526b8c;
  font-size: 18px;
  line-height: 1;
}
#dtoj-home .home-lower-resources .home-resource-row:hover {
  background: #eaf1fa;
  color: #1e4f94;
}
#dtoj-home .home-lower-resources .home-resource-row:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: -2px;
  background: #eaf1fa;
}
@media (max-width: 1080px) {
  #dtoj-home .home-lower-resources { padding: 28px; }
  #dtoj-home .home-lower-resources .home-resource-group { padding-right: 16px; padding-left: 16px; }
  #dtoj-home .home-lower-resources .home-resource-group:first-child { padding-left: 0; }
  #dtoj-home .home-lower-resources .home-resource-group:last-child { padding-right: 0; }
}
@media (max-width: 920px) {
  #dtoj-home .home-lower-resources .home-lower-head { grid-template-columns: 1fr; gap: 12px; }
  #dtoj-home .home-lower-resources .home-lower-head p { max-width: 48em; }
  #dtoj-home .home-lower-resources .home-resource-groups { grid-template-columns: 1fr; }
  #dtoj-home .home-lower-resources .home-resource-group,
  #dtoj-home .home-lower-resources .home-resource-group:first-child,
  #dtoj-home .home-lower-resources .home-resource-group:last-child { padding: 24px 0 0; }
  #dtoj-home .home-lower-resources .home-resource-group + .home-resource-group {
    margin-top: 12px;
    border-left: 0;
    border-top: 1px solid #d5deea;
  }
}
@media (max-width: 600px) {
  #dtoj-home .home-lower-resources { padding: 24px 16px 16px; border-radius: 14px; }
  #dtoj-home .home-lower-resources .home-lower-head { margin-bottom: 24px; }
  #dtoj-home .home-lower-resources .home-lower-head h2 { font-size: 27px; }
  #dtoj-home .home-lower-resources .home-resource-row { min-height: 80px; padding: 14px 8px; }
  #dtoj-home .home-lower-resources .home-resource-group h3 { padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  #dtoj-home .home-lower-resources .home-resource-row { transition: none; }
}


/* Shared event card with a quiet archive and an inset next-season estimate. */
#dtoj-home .home-countdown-estimate[hidden] { display: none; }
#dtoj-home .home-countdown-item.is-annual-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
  overflow: hidden;
  border-color: rgba(100, 116, 139, 0.12);
  background: rgba(255, 255, 255, 0.94);
}
#dtoj-home .is-annual-split > div {
  min-width: 0;
  padding: 10px 12px;
}
#dtoj-home .is-annual-split .home-countdown-estimate {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(69, 104, 214, 0.065), rgba(69, 104, 214, 0.025));
}
#dtoj-home .is-annual-split .home-countdown-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
#dtoj-home .is-annual-split .home-countdown-kicker {
  letter-spacing: 0.015em;
  font-weight: 600;
  overflow-wrap: anywhere;
}
#dtoj-home .is-annual-split .home-countdown-title {
  font-size: 15px;
  font-weight: 650;
}
#dtoj-home .is-annual-split .home-countdown-days {
  flex-direction: row;
  align-items: baseline;
  gap: 5px;
}
#dtoj-home .is-annual-split .home-countdown-current .home-countdown-number {
  color: #85909f;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 550;
}
#dtoj-home .is-annual-split .home-countdown-estimate .home-countdown-number {
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
#dtoj-home .is-annual-split .home-countdown-unit:empty { display: none; }
#dtoj-home .is-annual-split .home-countdown-copy {
  margin-top: 8px;
  overflow-wrap: anywhere;
}
#dtoj-home .is-annual-split .home-countdown-current .home-countdown-copy { color: #85909f; }
@media (max-width: 767px) {
  #dtoj-home .home-countdown-item.is-annual-split { gap: 6px; padding: 6px; }
  #dtoj-home .is-annual-split > div { padding: 8px; }
  #dtoj-home .is-annual-split .home-countdown-estimate { border-radius: 8px; }
  #dtoj-home .is-annual-split .home-countdown-row { gap: 7px; }
  #dtoj-home .is-annual-split .home-countdown-title { font-size: 13px; }
  #dtoj-home .is-annual-split .home-countdown-current .home-countdown-number { font-size: 16px; }
  #dtoj-home .is-annual-split .home-countdown-copy { margin-top: 6px; font-size: 10px; }
}


@media (min-width: 1121px) {
  #dtoj-home .home-hero-grid { grid-template-areas: none; align-items: start; }
  #dtoj-home .home-side-stack,
  #dtoj-home .home-hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
  #dtoj-home .home-countdown-panel,
  #dtoj-home .home-checkin-card,
  #dtoj-home #wealth-stack,
  #dtoj-home #activity-stack { grid-area: auto; }
  #dtoj-home .home-countdown-panel,
  #dtoj-home .home-checkin-card { align-self: auto; }
  /* dtoj-home-checkin-align-20261028: share the hero content right edge. */
  #dtoj-home .home-hero-copy > .home-checkin-card { margin-right: 32px; }
  #dtoj-home .home-countdown-body { flex: none; grid-template-rows: none; }
  #dtoj-home .home-side-stack > #home-contact { min-width: 0; }
  #dtoj-home .home-side-stack > #home-contact .home-lower-head { margin-bottom: 12px; }
  #dtoj-home .home-side-stack > #home-contact h2 { display: none; }
  #dtoj-home .home-side-stack > #home-contact .home-lower-kicker { margin-bottom: 0; }
  #dtoj-home .home-side-stack > #home-contact .home-contact-pair { gap: 12px; }
  #dtoj-home .home-side-stack > #home-contact .home-contact-panel {
    min-height: 0; padding: 16px; border-radius: 18px;
  }
  #dtoj-home .home-side-stack > #home-contact .home-contact-panel-top { font-size: 10px; }
  #dtoj-home .home-side-stack > #home-contact .home-contact-panel-main {
    grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px 0;
  }
  #dtoj-home .home-side-stack > #home-contact .home-contact-panel h3 {
    margin: 0 0 6px; font-size: 17px; line-height: 1.4;
  }
  #dtoj-home .home-side-stack > #home-contact .home-contact-panel p { font-size: 12px; line-height: 1.65; }
  #dtoj-home .home-side-stack > #home-contact .home-contact-qr-frame {
    width: 124px; height: 124px; padding: 6px; justify-self: center;
  }
  #dtoj-home .home-side-stack > #home-contact .home-contact-panel-foot { padding-top: 10px; font-size: 11px; }
  #dtoj-home .home-side-stack > #home-contact .home-member-strip {
    gap: 6px; margin-top: 12px; padding: 4px 0 7px; overflow-x: auto;
  }
  #dtoj-home .home-side-stack > #home-contact .home-member { flex-basis: 44px; min-height: 44px; padding: 3px; }
  #dtoj-home .home-side-stack > #home-contact .home-member-avatar { width: 36px; height: 36px; }
  #dtoj-home .home-side-stack > #home-contact > p { margin: 8px 0 0; color: #5f6b7a; font-size: 12px; line-height: 1.75; }
}
@media (max-width: 600px) {
  #dtoj-home .home-hero > #home-contact { margin-bottom: 18px; }
  #dtoj-home #home-contact .home-contact-title h2 { display: none; }
  #dtoj-home #home-contact .home-lower-kicker { margin-bottom: 0; }
  #dtoj-home #home-contact .home-lower-head { margin-bottom: 16px; }
  #dtoj-home .home-hero > #home-contact > p { margin: 12px 0 0; color: #5f6b7a; font-size: 14px; line-height: 1.8; }
}


@media (max-width: 600px) {
  #dtoj-home #home-contact .home-lower-head { text-align: center; margin-bottom: 14px; }
  #dtoj-home #home-contact .home-contact-pair { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #dtoj-home #home-contact .home-contact-panel {
    padding: 18px 20px 16px; border-radius: 18px;
    box-shadow: 0 6px 24px rgba(28, 46, 73, .035);
  }
  #dtoj-home #home-contact .home-contact-panel-top { display: none; }
  #dtoj-home #home-contact .home-contact-panel-main {
    grid-template-columns: minmax(0, 1fr); justify-items: center;
    gap: 14px; padding: 4px 0 14px; text-align: center;
  }
  #dtoj-home #home-contact .home-contact-panel-main > div { min-width: 0; }
  #dtoj-home #home-contact .home-contact-panel h3 {
    margin: 0; font-size: 20px; line-height: 1.5;
  }
  #dtoj-home #home-contact .home-contact-panel p {
    display: none;
  }
  #dtoj-home #home-contact .home-contact-label {
    display: block; margin-bottom: 6px; color: #708093; font-size: 12px; font-weight: 600;
  }
  #dtoj-home #home-contact .home-contact-separator { display: none; }
  #dtoj-home #home-contact .home-contact-name { display: block; }
  #dtoj-home #home-contact .home-contact-qr-frame {
    justify-self: center; width: 156px; height: 156px;
    margin: 0; padding: 8px; border-radius: 12px;
  }
  #dtoj-home #home-contact .home-contact-panel-foot {
    justify-content: center; padding-top: 10px; font-size: 11px;
  }
  #dtoj-home #home-contact .home-contact-panel-foot > span[aria-hidden="true"] { display: none; }
  #dtoj-home #home-contact .home-member-strip {
    width: max-content; max-width: 100%; gap: 5px; margin: 14px auto 0;
  }
  #dtoj-home #home-contact .home-member {
    flex: 0 0 clamp(36px, 10vw, 44px); min-height: 0;
  }
  #dtoj-home #home-contact .home-member-avatar {
    width: 100%; height: auto; aspect-ratio: 1;
  }
  #dtoj-home #home-contact .home-member-link { width: 100%; }
  #dtoj-home .home-hero > #home-contact > p {
    max-width: 30em; margin: 10px auto 0; font-size: 13px; line-height: 1.8; text-align: center;
  }
}


/* Shared, compact first screen; the navigation scrolls in normal page flow. */
html.page--homepage,
html.page--homepage body,
html.page--homepage #panel { background: #f5f8fa; }
html.page--homepage body #panel > .main { padding-top: 0; }
html.page--homepage body #dtoj-home {
  margin-top: 0;
  padding-top: 30px;
}
html.page--homepage #dtoj-home::before {
  background:
    linear-gradient(180deg, #f5f8fa 0, #f1f5f8 680px, #e8eef5 1250px);
}
html.page--homepage #dtoj-home::after { opacity: .22; }
#dtoj-home .home-hero { padding-top: 0; }
#dtoj-home .home-hero-panel {
  min-height: 0;
  margin: 0 0 30px;
  padding: 12px 24px 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
#dtoj-home .home-hero-floats,
#dtoj-home .home-hero-rule { display: none; }
#dtoj-home .home-hero-panel .home-badge {
  color: #5a727e;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
}
#dtoj-home .home-hero-panel .home-title {
  margin: 14px 0 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.22;
}
#dtoj-home .home-hero-panel .home-title .accent {
  color: #164754;
  background: none;
  -webkit-text-fill-color: currentColor;
  animation: none;
}
#dtoj-home .home-hero-tagline {
  margin: 16px 0 0;
  color: #445b65;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .03em;
}
#dtoj-home .home-hero-intro {
  margin: 8px 0 0;
  color: #5a727e;
  font-size: 13px;
  letter-spacing: .16em;
}
#dtoj-home .home-hero-panel .home-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 26px 0 0;
}
#dtoj-home .home-hero-panel .home-actions .home-btn {
  width: auto;
  min-width: 136px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
}
#dtoj-home .home-hero-panel .home-btn-primary {
  background: #164754;
  color: #fff;
  box-shadow: 0 3px 8px rgba(22, 71, 84, .10);
}
#dtoj-home .home-hero-panel .home-btn-secondary {
  color: #365762;
  border-color: rgba(42, 82, 95, .14);
  background: rgba(255, 255, 255, .6);
}
#dtoj-home .home-hero-panel .home-quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin: 12px 0 0;
}
#dtoj-home .home-hero-panel .home-quick-link {
  flex: 0 1 auto;
  width: auto;
  min-height: 36px;
  padding: 4px 2px;
  color: #5a727e;
  font-size: 12px;
  font-weight: 400;
}
#dtoj-home .home-hero-panel a:focus-visible {
  outline: 2px solid #6399b5;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  html.page--homepage,
  html.page--homepage body,
  html.page--homepage #panel { background: #fff; }
  html.page--homepage body #dtoj-home { padding-top: 12px; }
  #dtoj-home .home-hero-panel { margin-bottom: 24px; padding: 12px 0 14px; }
  #dtoj-home .home-hero-panel .home-badge { font-size: 10px; letter-spacing: .09em; }
  #dtoj-home .home-hero-panel .home-title { margin-top: 14px; font-size: clamp(28px, 8vw, 34px); letter-spacing: -.045em; }
  #dtoj-home .home-hero-tagline { margin-top: 13px; font-size: 16px; }
  #dtoj-home .home-hero-intro { margin-top: 6px; font-size: 12px; }
  #dtoj-home .home-hero-panel .home-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
  #dtoj-home .home-hero-panel .home-actions .home-btn { min-width: 0; padding: 9px 12px; }
  #dtoj-home .home-hero-panel .home-actions .home-btn-primary { grid-column: 1 / -1; }
  #dtoj-home .home-hero-panel .home-quick-links { gap: 0 14px; margin-top: 10px; }
  #dtoj-home .home-hero-panel .home-quick-link { min-height: 36px; font-size: 11px; }
}


#dtoj-home .home-hero-panel .home-actions-four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: 574px;
  margin-left: auto;
  margin-right: auto;
}
#dtoj-home .home-hero-panel .home-actions-four .home-btn { min-width: 0; }
@media (max-width: 600px) {
  #dtoj-home .home-hero-panel .home-actions-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #dtoj-home .home-hero-panel .home-actions-four .home-btn-primary { grid-column: auto; }
}
/* Four events occupy the previous three-event panel footprint. Font sizes
   remain those of the existing desktop/mobile countdown styles. */
#dtoj-home .home-countdown-panel-four .home-countdown-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(min-content, 1fr));
  min-height: 376px;
  align-items: stretch;
}
#dtoj-home .home-countdown-panel-four .home-countdown-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  justify-content: space-between;
}
#dtoj-home .home-countdown-panel-four .home-countdown-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
#dtoj-home .home-countdown-panel-four .home-countdown-days {
  flex-direction: row;
  align-items: baseline;
  gap: 5px;
}
#dtoj-home .home-countdown-panel-four .home-countdown-kicker { letter-spacing: .015em; }
#dtoj-home .home-countdown-panel-four .home-countdown-copy {
  margin-top: 8px;
  overflow-wrap: anywhere;
}
#dtoj-home .home-countdown-panel-four .home-countdown-item.is-annual-split {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 12px 15px;
}
#dtoj-home .home-countdown-panel-four .is-annual-split > div { padding: 0; }
#dtoj-home .home-countdown-panel-four .is-annual-split .home-countdown-estimate {
  order: 0;
  background: transparent;
}
#dtoj-home .home-countdown-panel-four .is-annual-split .home-countdown-current { order: 1; }
#dtoj-home .home-countdown-panel-four .is-annual-split .home-countdown-current .home-countdown-row { display: none; }
#dtoj-home .home-countdown-panel-four .is-annual-split .home-countdown-current .home-countdown-copy {
  margin-top: 6px;
  font-size: 10px;
}
@media (max-width: 767px) {
  #dtoj-home .home-countdown-panel-four .home-countdown-body { min-height: 295px; }
  #dtoj-home .home-countdown-panel-four .home-countdown-item,
  #dtoj-home .home-countdown-panel-four .home-countdown-item.is-annual-split { padding: 8px; }
  #dtoj-home .home-countdown-panel-four .home-countdown-row { gap: 6px; }
  #dtoj-home .home-countdown-panel-four .home-countdown-copy { margin-top: 4px; }
}


/* Compact the platform identity and routes; close the gap between journey and resources. */
#dtoj-home .home-hero-panel {
  display: block;
  padding: 30px 32px;
  margin-bottom: 26px;
  text-align: left;
}
#dtoj-home .home-hero-panel-content {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 56px;
}
#dtoj-home .home-hero-identity,
#dtoj-home .home-hero-navigation { min-width: 0; }
#dtoj-home .home-hero-panel .home-title {
  margin: 0;
  font-size: 40px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.025em;
  text-wrap: balance;
}
#dtoj-home .home-hero-panel .home-hero-tagline {
  margin: 12px 0 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .015em;
}
#dtoj-home .home-hero-panel .home-hero-intro {
  margin: 4px 0 0;
  color: #526c77;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: .1em;
}
#dtoj-home .home-hero-panel .home-badge {
  display: block;
  margin-top: 20px;
  color: #526c77;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .08em;
}
#dtoj-home .home-hero-panel .home-actions,
#dtoj-home .home-hero-panel .home-actions-four {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: none;
  margin: 0;
}
#dtoj-home .home-hero-panel .home-actions .home-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  width: auto;
  min-width: 0;
  min-height: 64px;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  transform: none;
  box-shadow: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
#dtoj-home .home-hero-panel .home-btn small {
  color: #526c77;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
}
#dtoj-home .home-hero-panel .home-btn-primary {
  border-color: #164754;
  background: #164754;
}
#dtoj-home .home-hero-panel .home-btn-primary small { color: #d3e4e9; }
#dtoj-home .home-hero-panel .home-btn-secondary {
  border-color: #d4e0e4;
  background: rgba(255, 255, 255, .75);
}
#dtoj-home .home-hero-panel .home-btn-secondary:hover {
  border-color: #8daeb6;
  background: #fff;
}
#dtoj-home .home-hero-panel .home-btn-primary:hover { background: #113e4a; }
#dtoj-home .home-hero-panel .home-quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0 16px;
  margin: 8px 0 0;
}
#dtoj-home .home-hero-panel .home-quick-link {
  flex: 0 1 auto;
  min-height: 44px;
  padding: 6px 0;
  border-radius: 2px;
  color: #526c77;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  transform: none;
  box-shadow: none;
  transition: color .16s ease;
}
#dtoj-home .home-hero-panel .home-quick-link:hover {
  color: #164754;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#dtoj-home .home-hero-panel a:focus-visible {
  outline: 2px solid #527f8c;
  outline-offset: 3px;
  box-shadow: none;
}
#dtoj-home .home-hero-panel ::selection { background: #cfe2e7; color: #164754; }
@media (max-width: 1080px) {
  #dtoj-home .home-hero-panel { padding-right: 16px; padding-left: 16px; }
  #dtoj-home .home-hero-panel-content { gap: 32px; }
  #dtoj-home .home-hero-panel .home-title { font-size: 36px; }
}
@media (max-width: 600px) {
  #dtoj-home .home-hero-panel { padding: 8px 0 12px; margin-bottom: 24px; border: 0; border-radius: 0; background: transparent; }
  #dtoj-home .home-hero-panel-content { grid-template-columns: 1fr; gap: 12px; }
  #dtoj-home .home-hero-panel .home-title { font-size: 32px; }
  #dtoj-home .home-hero-panel .home-hero-tagline { margin-top: 8px; font-size: 16px; }
  #dtoj-home .home-hero-panel .home-hero-intro { display: inline; margin-right: 8px; font-size: 11px; letter-spacing: .06em; }
  #dtoj-home .home-hero-panel .home-badge { display: inline-block; margin-top: 0; font-size: 11px; letter-spacing: .04em; }
  #dtoj-home .home-hero-panel .home-actions { gap: 8px; }
  #dtoj-home .home-hero-panel .home-actions .home-btn { min-height: 52px; padding: 6px 12px; gap: 2px; }
  #dtoj-home .home-hero-panel .home-quick-links { gap: 0 12px; margin-top: 6px; }
  #dtoj-home .home-hero-panel .home-quick-link { font-size: 12px; }
}
@media (max-width: 360px) {
  #dtoj-home .home-hero-panel .home-title { font-size: 29px; }
  #dtoj-home .home-hero-panel .home-actions .home-btn { padding-right: 12px; padding-left: 12px; }
}
/* These two adjacent sections share the existing lower-page grid. */
#dtoj-home .home-lower:has(> .home-journey + .home-lower-resources) { row-gap: 48px; }
@media (max-width: 1120px) {
  #dtoj-home .home-lower:has(> .home-journey + .home-lower-resources) { row-gap: 40px; }
}
@media (max-width: 760px) {
  #dtoj-home .home-lower:has(> .home-journey + .home-lower-resources) { row-gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  #dtoj-home .home-hero-panel .home-btn,
  #dtoj-home .home-hero-panel .home-quick-link { transition: none; }
}


/* Public recommendations live above the original four route contracts. */
#dtoj-home .home-feature {
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #164754;
  color: #f4fafb;
}
#dtoj-home .home-feature-viewport { overflow: hidden; touch-action: pan-y; }
#dtoj-home .home-feature-track { display: grid; gap: 1px; }
#dtoj-home .home-feature.is-ready .home-feature-track {
  display: flex;
  gap: 0;
  transition: transform 320ms cubic-bezier(.16, 1, .3, 1);
}
#dtoj-home .home-feature-slide {
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  min-width: 0;
  padding: 24px 24px 0;
}
#dtoj-home .home-feature:not(.is-ready) .home-feature-slide { padding-bottom: 20px; }
#dtoj-home .home-feature-title {
  margin: 0;
  color: #f4fafb;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
#dtoj-home .home-feature-title a { display: block; min-height: 44px; color: inherit; text-decoration: none; }
#dtoj-home .home-feature-title a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
#dtoj-home .home-feature-summary {
  margin: 10px 0 16px;
  color: #c7dde2;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
#dtoj-home .home-feature-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 16px;
  margin-top: auto;
  padding-top: 4px;
}
#dtoj-home .home-feature-category { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-width: 0; }
#dtoj-home .home-feature-kind { color: #c7dde2; font-size: 12px; line-height: 1.6; }
#dtoj-home .home-feature-meta { color: #c7dde2; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
#dtoj-home .home-feature-open {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #f4fafb;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}
#dtoj-home .home-feature-open:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
#dtoj-home .home-feature svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#dtoj-home .home-feature-open svg { width: 16px; height: 16px; }
#dtoj-home .home-feature-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 0 16px 8px;
}
#dtoj-home .home-feature [hidden] { display: none !important; }
#dtoj-home .home-feature-dots,
#dtoj-home .home-feature-arrows { display: flex; align-items: center; }
#dtoj-home .home-feature-dots { flex-wrap: wrap; min-width: 0; }
#dtoj-home .home-feature-arrows { flex: 0 0 auto; gap: 2px; }
#dtoj-home .home-feature-control,
#dtoj-home .home-feature-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #c7dde2;
  cursor: pointer;
  transition: color 140ms ease, background-color 140ms ease;
}
#dtoj-home .home-feature-control { width: 44px; }
#dtoj-home .home-feature-dot { width: 28px; }
#dtoj-home .home-feature-dot span { width: 5px; height: 5px; border-radius: 50%; background: #8cb1bb; }
#dtoj-home .home-feature-dot[aria-current="true"] span { width: 18px; border-radius: 3px; background: #f4fafb; }
#dtoj-home .home-feature-control:hover,
#dtoj-home .home-feature-dot:hover { color: #fff; background: #245968; }
#dtoj-home .home-feature-control:disabled { opacity: .55; cursor: default; background: transparent; }
#dtoj-home .home-feature a:focus-visible,
#dtoj-home .home-feature button:focus-visible { outline: 2px solid #b3dce7; outline-offset: -3px; box-shadow: none; }
#dtoj-home .home-feature ::selection { color: #164754; background: #d5ebf0; }
#dtoj-home .home-feature-announcement { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#dtoj-home .home-feature-empty { padding: 24px; }
#dtoj-home .home-feature-empty h2 { margin: 0; color: #f4fafb; font-size: 20px; font-weight: 600; line-height: 1.5; }
#dtoj-home .home-feature-empty p { margin: 10px 0 0; color: #c7dde2; font-size: 13px; line-height: 1.8; }
#dtoj-home .home-feature.is-single .home-feature-slide { padding-bottom: 16px; }
#dtoj-home .home-hero-panel .home-hero-navigation-featured .home-actions,
#dtoj-home .home-hero-panel .home-hero-navigation-featured .home-actions-four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
#dtoj-home .home-hero-panel .home-hero-navigation-featured .home-actions .home-btn { align-items: center; min-height: 46px; padding: 8px 6px; border-radius: 8px; font-size: 12px; text-align: center; }
#dtoj-home .home-hero-panel .home-hero-navigation-featured .home-actions .home-btn small { display: none; }
#dtoj-home .home-hero-panel .home-hero-navigation-featured .home-quick-links { justify-content: flex-end; margin-top: 0; }
#dtoj-home .home-hero-panel .home-hero-navigation-featured .home-quick-link { padding-right: 2px; }
@media (max-width: 760px) {
  #dtoj-home .home-hero-panel .home-hero-navigation-featured .home-actions,
  #dtoj-home .home-hero-panel .home-hero-navigation-featured .home-actions-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #dtoj-home .home-hero-panel-content:has(> .home-hero-navigation-featured) { gap: 18px; }
  #dtoj-home .home-feature-slide { padding: 20px 20px 0; }
  #dtoj-home .home-feature-title { font-size: 20px; }
  #dtoj-home .home-feature-summary { margin-top: 8px; }
  #dtoj-home .home-feature-controls { padding-right: 12px; padding-left: 12px; }
  #dtoj-home .home-hero-panel .home-hero-navigation-featured .home-actions .home-btn { min-height: 44px; }
}
@media (max-width: 360px) {
  #dtoj-home .home-feature-slide { padding-right: 16px; padding-left: 16px; }
  #dtoj-home .home-feature-controls { padding-right: 8px; padding-left: 8px; }
  #dtoj-home .home-feature-title { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  #dtoj-home .home-feature.is-ready .home-feature-track,
  #dtoj-home .home-feature-control,
  #dtoj-home .home-feature-dot { transition: none; }
}


/* Brand typography, translucent recommendations and five compact routes. */
#dtoj-home .home-hero-panel-content:has(> .home-identity-designed) { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 58px; align-items: stretch; }
/* dtoj-home-dtoj-brand-20261027: platform wordmark with a complete author signature. */
#dtoj-home .home-identity-designed { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 8px 0 22px; }
#dtoj-home .home-hero-panel .home-identity-designed .home-title { display: block; margin: 0; color: #174754; font-size: 80px; font-weight: 750; line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
#dtoj-home .home-brand-author { margin: 16px 0 0; color: #345c68; font-size: 22px; font-weight: 500; line-height: 1.5; letter-spacing: .02em; text-wrap: balance; }
#dtoj-home .home-identity-description { margin: 6px 0 0; color: #46636d; font-size: 15px; line-height: 1.6; font-weight: 450; letter-spacing: .06em; }
#dtoj-home .home-identity-footer { width: 100%; max-width: 330px; padding-top: 30px; }
#dtoj-home .home-training-path { display: flex; align-items: center; gap: 13px; margin: 0; color: #345c68; font-size: 13px; font-weight: 500; line-height: 1.8; letter-spacing: .04em; }
#dtoj-home .home-training-path svg { width: 35px; height: 12px; fill: none; stroke: #91a9b2; stroke-width: 1; }
#dtoj-home .home-identity-signature { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin-top: 15px; padding-top: 12px; border-top: 1px solid #d7e2e7; color: #46636d; font-size: 10px; line-height: 1.6; letter-spacing: .12em; }
#dtoj-home .home-identity-signature span:last-child { font-size: 11px; letter-spacing: .14em; }
#dtoj-home .home-hero-navigation-featured { position: relative; isolation: isolate; }
@media (min-width: 1121px) {
  #dtoj-home .home-hero-navigation-featured { transform: translateX(32px); }
}
#dtoj-home .home-hero-navigation-featured::before { content: none; }
#dtoj-home .home-feature { position: relative; isolation: isolate; background: linear-gradient(130deg, rgba(255,255,255,.90), rgba(241,247,251,.58)); color: #244954; border: 1px solid rgba(187,207,218,.64); border-radius: 18px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
#dtoj-home .home-feature::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.38), transparent 55%, rgba(208,224,237,.14)); pointer-events: none; }
#dtoj-home .home-feature-slide { position: relative; isolation: isolate; padding: 20px 24px 0; }
#dtoj-home .home-feature-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 11px; }
#dtoj-home .home-feature-kind { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 8px; border-radius: 5px; color: #546b7b; background: rgba(208,225,234,.48); font-size: 11px; line-height: 1.6; font-weight: 550; letter-spacing: .04em; }
#dtoj-home [data-feature-kind="course"] .home-feature-kind { color: #6c5586; background: rgba(222,211,237,.55); }
#dtoj-home .home-feature-sequence { color: #526c77; font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .12em; }
#dtoj-home .home-feature-title { color: #244954; font-size: 23px; font-weight: 650; line-height: 1.5; letter-spacing: -.015em; text-wrap: pretty; }
#dtoj-home .home-feature-summary { margin: 9px 0 14px; color: #46636d; font-size: 13px; line-height: 1.8; }
#dtoj-home .home-feature-detail { position: relative; z-index: 1; gap: 0 16px; margin-top: auto; padding-top: 0; }
#dtoj-home .home-feature-meta { color: #526c77; font-size: 11px; line-height: 1.6; }
#dtoj-home .home-feature-open { color: #315e6b; font-size: 12px; font-weight: 550; gap: 8px; }
#dtoj-home .home-feature-open:hover { color: #173f4b; }
#dtoj-home .home-feature .home-feature-geometry { position: absolute; z-index: -1; right: 24px; bottom: 36px; width: 118px; height: 82px; color: #648fa2; opacity: .14; stroke-width: 1; pointer-events: none; }
#dtoj-home [data-feature-kind="course"] .home-feature-geometry { color: #8b74a8; }
#dtoj-home .home-feature .home-feature-geometry circle { fill: rgba(255,255,255,.7); }
#dtoj-home .home-feature-controls { margin: 8px 24px 0; padding: 4px 0 6px; border-top: 1px solid rgba(186,205,216,.45); }
#dtoj-home .home-feature-control, #dtoj-home .home-feature-dot { color: #54717e; }
#dtoj-home .home-feature-control:hover, #dtoj-home .home-feature-dot:hover { color: #244954; background: rgba(217,231,239,.64); }
#dtoj-home .home-feature-dot span { background: #a4bbc5; }
#dtoj-home .home-feature-dot[aria-current="true"] span { background: #587f8f; }
#dtoj-home .home-feature a:focus-visible, #dtoj-home .home-feature button:focus-visible { outline-color: #628d9b; }
#dtoj-home .home-feature-empty h2 { color: #244954; }
#dtoj-home .home-feature-empty p { color: #46636d; }
#dtoj-home .home-hero-panel .home-hero-navigation-featured .home-actions-five { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px; margin-top: 12px; }
#dtoj-home .home-hero-panel .home-hero-navigation-featured .home-actions-five .home-btn { min-height: 46px; padding: 8px 4px; border-radius: 8px; font-size: 12px; font-weight: 550; }
#dtoj-home .home-hero-panel .home-hero-navigation-featured .home-actions-five .home-btn,
#dtoj-home .home-hero-panel .home-hero-navigation-featured .home-actions-five .home-btn:visited { color: #484c55; background: #fbfbfc; border-color: #daddE2; text-decoration: none; }
#dtoj-home .home-hero-panel .home-hero-navigation-featured .home-actions-five .home-btn:hover { color: #30343c; background: #f0f1f3; border-color: #b9bec8; text-decoration: none; }
#dtoj-home .home-hero-panel .home-hero-navigation-featured .home-actions-five .home-btn:active { background: #e8eaed; }
#dtoj-home .home-hero-panel .home-hero-navigation-featured .home-actions-five .home-btn:focus-visible { outline: 2px solid #7b808a; outline-offset: 3px; box-shadow: none; }
@media (max-width: 1080px) {
  #dtoj-home .home-hero-panel-content:has(> .home-identity-designed) { grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: 32px; }
  #dtoj-home .home-hero-panel .home-identity-designed .home-title { font-size: 68px; }
  #dtoj-home .home-brand-author { font-size: 20px; }
  #dtoj-home .home-feature-title { font-size: 21px; }
}
@media (max-width: 760px) {
  #dtoj-home .home-hero-panel .home-hero-navigation-featured .home-actions-five { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; }
  #dtoj-home .home-hero-panel .home-hero-navigation-featured .home-actions-five .home-btn { grid-column: span 2; }
  #dtoj-home .home-hero-panel .home-hero-navigation-featured .home-actions-five .home-btn:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 600px) {
  #dtoj-home .home-hero-panel-content:has(> .home-identity-designed) { grid-template-columns: 1fr; gap: 20px; }
  #dtoj-home .home-identity-designed { padding: 4px 2px 0; }
  #dtoj-home .home-hero-panel .home-identity-designed .home-title { font-size: 56px; }
  #dtoj-home .home-brand-author { margin-top: 10px; font-size: 18px; }
  #dtoj-home .home-identity-description { margin-top: 4px; font-size: 14px; letter-spacing: .04em; }
  #dtoj-home .home-identity-footer { max-width: none; padding-top: 18px; }
  #dtoj-home .home-training-path { gap: 10px; font-size: 11px; }
  #dtoj-home .home-training-path svg { width: 25px; }
  #dtoj-home .home-identity-signature { gap: 8px 12px; margin-top: 9px; padding-top: 8px; font-size: 10px; }
  #dtoj-home .home-identity-signature span:last-child { font-size: 10px; }
  #dtoj-home .home-feature-slide { padding: 17px 18px 0; }
  #dtoj-home .home-feature-heading { margin-bottom: 9px; }
  #dtoj-home .home-feature-title { font-size: 20px; }
  #dtoj-home .home-feature-controls { margin: 7px 18px 0; }
  #dtoj-home .home-feature .home-feature-geometry { right: 16px; width: 95px; }
  #dtoj-home .home-hero-panel .home-hero-navigation-featured .home-actions-five .home-btn { min-height: 44px; }
}
@media (max-width: 360px) {
  #dtoj-home .home-hero-panel .home-identity-designed .home-title { font-size: 52px; }
  #dtoj-home .home-feature-slide { padding-right: 16px; padding-left: 16px; }
  #dtoj-home .home-feature-controls { margin-right: 16px; margin-left: 16px; }
  #dtoj-home .home-feature-title { font-size: 19px; }
}



#dtoj-home .home-hero-panel-content:has(> .home-algorithm-art) {
  grid-template-columns: 250px minmax(160px, 220px) minmax(0, 1fr);
  gap: 24px;
}
/* The existing DTOJ mark sits at the junction of a small, decorative graph. */
#dtoj-home .home-algorithm-art {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-width: 0;
  pointer-events: none;
  user-select: none;
}
#dtoj-home .home-algorithm-art > svg {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  overflow: visible;
}
#dtoj-home .home-algorithm-edges {
  fill: none;
  stroke: #b6cbd4;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .74;
}
#dtoj-home .home-algorithm-route {
  fill: none;
  stroke: #88749e;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  opacity: .8;
  animation: dtoj-algorithm-route-reveal 4.8s cubic-bezier(.22, 1, .36, 1) both;
}
#dtoj-home .home-algorithm-nodes {
  fill: #f4f8fb;
  stroke: #8daab7;
  stroke-width: 1.25;
}
#dtoj-home .home-algorithm-nodes .home-algorithm-node-accent {
  fill: #ebe5f1;
  stroke: #9582aa;
}
#dtoj-home .home-algorithm-logo { opacity: .76; }
@keyframes dtoj-algorithm-route-reveal {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #dtoj-home .home-algorithm-route { animation: none; }
}
@media (max-width: 1080px) {
  #dtoj-home .home-algorithm-art { display: none; }
}

@media (max-width: 1080px) {
  #dtoj-home .home-hero-panel-content:has(> .home-algorithm-art) {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    gap: 32px;
  }
}
@media (max-width: 600px) {
  #dtoj-home .home-hero-panel-content:has(> .home-algorithm-art) {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* Four faces alternate a readable O with the three existing sheep marks. */
#dtoj-home .home-algorithm-rotation {
  --home-flip-depth: 110px;
  position: relative;
  width: 220px;
  max-width: 100%;
}
#dtoj-home .home-algorithm-stage {
  width: 100%;
  aspect-ratio: 4 / 5;
  perspective: 800px;
}
#dtoj-home .home-algorithm-flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: dtoj-algorithm-four-flip 32s cubic-bezier(.4, 0, .2, 1) infinite;
}
#dtoj-home .home-algorithm-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
#dtoj-home .home-algorithm-face-letter { transform: rotateY(0deg) translateZ(var(--home-flip-depth)); }
#dtoj-home .home-algorithm-face-front { transform: rotateY(90deg) translateZ(var(--home-flip-depth)); }
#dtoj-home .home-algorithm-face-gold { transform: rotateY(180deg) translateZ(var(--home-flip-depth)); }
#dtoj-home .home-algorithm-face-color { transform: rotateY(270deg) translateZ(var(--home-flip-depth)); }
#dtoj-home .home-algorithm-face-letter {
  display: flex;
  align-items: center;
  justify-content: center;
}
#dtoj-home .home-wordmark-o {
  display: block;
  color: #56549a;
  font: inherit;
  letter-spacing: 0;
  transform: translateY(.025em);
}
#dtoj-home .home-algorithm-face > svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
#dtoj-home .home-algorithm-face-gold .home-algorithm-edges { stroke: #d4c29f; }
#dtoj-home .home-algorithm-face-gold .home-algorithm-route { stroke: #b18a46; }
#dtoj-home .home-algorithm-face-gold .home-algorithm-nodes { fill: #f8f4ec; stroke: #d4c29f; }
#dtoj-home .home-algorithm-face-gold .home-algorithm-node-accent { fill: #eee1c6; stroke: #b18a46; }
#dtoj-home .home-algorithm-face-color .home-algorithm-edges { stroke: #b4c5cd; }
#dtoj-home .home-algorithm-face-color .home-algorithm-route { stroke: #b39a69; }
#dtoj-home .home-algorithm-face-color .home-algorithm-nodes > circle:nth-child(1) { fill: #eee5f3; stroke: #a18ab4; }
#dtoj-home .home-algorithm-face-color .home-algorithm-nodes > circle:nth-child(2) { fill: #e6eff4; stroke: #7da5b5; }
#dtoj-home .home-algorithm-face-color .home-algorithm-nodes > circle:nth-child(3) { fill: #f7ecdf; stroke: #c69a68; }
#dtoj-home .home-algorithm-face-color .home-algorithm-nodes > circle:nth-child(4) { fill: #e5eeeb; stroke: #7aa69c; }
#dtoj-home .home-algorithm-face-color .home-algorithm-nodes > circle:nth-child(5) { fill: #eee6f4; stroke: #9d8ab4; }
#dtoj-home .home-algorithm-face-color .home-algorithm-nodes > circle:nth-child(6) { fill: #f4e9e2; stroke: #bd917c; }
#dtoj-home .home-algorithm-face-color .home-algorithm-nodes > circle:nth-child(7) { fill: #e3efee; stroke: #79a6a5; }
#dtoj-home .home-algorithm-flip .home-algorithm-route { animation: none; }
#dtoj-home .home-algorithm-flip[data-motion-suspended="true"] .home-algorithm-flipper { animation-play-state: paused; }
@supports (container-type: inline-size) and (width: 1cqw) {
  #dtoj-home .home-algorithm-rotation {
    container-type: inline-size;
    --home-flip-depth: calc(100cqw * .5);
  }
}
@keyframes dtoj-algorithm-four-flip {
  0%, 18.75% { transform: translateZ(calc(0px - var(--home-flip-depth))) rotateY(0deg); }
  25%, 43.75% { transform: translateZ(calc(0px - var(--home-flip-depth))) rotateY(-90deg); }
  50%, 68.75% { transform: translateZ(calc(0px - var(--home-flip-depth))) rotateY(-180deg); }
  75%, 93.75% { transform: translateZ(calc(0px - var(--home-flip-depth))) rotateY(-270deg); }
  100% { transform: translateZ(calc(0px - var(--home-flip-depth))) rotateY(-360deg); }
}
@media (prefers-reduced-motion: reduce) {
  #dtoj-home .home-algorithm-flipper { animation: none; transform: none; }
  #dtoj-home .home-algorithm-face-letter { transform: none; }
  #dtoj-home .home-algorithm-face-front,
  #dtoj-home .home-algorithm-face-gold,
  #dtoj-home .home-algorithm-face-color { display: none; }
}


/* Phone homepage: center identity and short introductions along each card's axis. */
@media (max-width: 600px) {
  #dtoj-home .home-identity-designed { align-items: center; text-align: center; }
  #dtoj-home .home-training-path,
  #dtoj-home .home-identity-signature { justify-content: center; }
  #dtoj-home .home-feature-title,
  #dtoj-home .home-feature-summary { text-align: center; }

  #dtoj-home .home-checkin-head { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  #dtoj-home .home-checkin-head .home-card-title { grid-column: 2; grid-row: 1; text-align: center; }
  #dtoj-home .home-checkin-head > .home-action-chip { grid-column: 3; justify-self: end; }
  #dtoj-home .home-checkin-welcome { flex-direction: column; align-items: center; gap: 8px; }
  #dtoj-home .home-welcome-identity { flex: 0 1 auto; width: 100%; text-align: center; }
  #dtoj-home .home-welcome-user { justify-content: center; }

  #dtoj-home .home-countdown-panel-four .home-countdown-item { text-align: center; }
  #dtoj-home .home-countdown-panel-four .home-countdown-row { align-items: center; }
  #dtoj-home .home-countdown-panel-four .home-countdown-days { justify-content: center; }

  #dtoj-home .wealth-card .stack-content > div:first-child,
  #dtoj-home .activity-card .stack-content > div:first-child {
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    text-align: center;
  }
  #dtoj-home .activity-card .stack-content > div:first-child > div:last-child {
    padding-right: 0 !important;
    text-align: center !important;
  }

  #dtoj-home #home-domain-bulletin-title,
  #dtoj-home .home-lower-head,
  #dtoj-home .home-resource-group > h3 { text-align: center; }
  #dtoj-home .home-lower-head h2,
  #dtoj-home .home-lower-head p { margin-inline: auto; }
  #dtoj-home .home-preview-panel > h3,
  #dtoj-home .home-preview-panel > p { text-align: center; text-wrap: balance; }
}


#dtoj-home .home-shell.dtoj-learning-layout {
  --dtoj-learning-sticky-top: 88px;
  --dtoj-learning-sidebar-width: 220px;
  --dtoj-learning-ink: #344e57;
  --dtoj-learning-muted: #5d7277;
  --dtoj-learning-accent: #315e55;
  --dtoj-learning-soft: #eaf2ee;
  --dtoj-learning-line: #d9e3e0;
  display: grid;
  grid-template-columns: var(--dtoj-learning-sidebar-width) minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  width: min(1464px, calc(100% - 64px));
  max-width: 1464px;
}
/* Keep the original full-width clipping without making it the sticky scroll container. */
@supports (overflow: clip) {
  #dtoj-home:has(> .home-shell.dtoj-learning-layout) { overflow: clip; }
  html:has(#dtoj-home > .home-shell.dtoj-learning-layout),
  body:has(#dtoj-home > .home-shell.dtoj-learning-layout) { overflow-x: clip; }
}
#dtoj-home .dtoj-learning-main { min-width: 0; }
#dtoj-home .dtoj-learning-main > .home-hero { padding-bottom: 0; }
#dtoj-home .dtoj-learning-sidebar {
  position: sticky;
  top: var(--dtoj-learning-sticky-top);
  color: var(--dtoj-learning-ink);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.65;
  max-height: calc(100vh - var(--dtoj-learning-sticky-top) - 24px);
  max-height: calc(100dvh - var(--dtoj-learning-sticky-top) - 24px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #b7c9c0 transparent;
  padding: 14px 22px 0 0;
  border-right: 1px solid var(--dtoj-learning-line);
}
.dtoj-learning-sidebar, .dtoj-learning-sidebar * { box-sizing: border-box; }
.dtoj-learning-sidebar h2, .dtoj-learning-sidebar h3, .dtoj-learning-sidebar p { margin: 0; }
.dtoj-learning-sidebar a { color: inherit; text-decoration: none; }
.dtoj-learning-sidebar a:visited { color: inherit; }
.dtoj-learning-sidebar a:hover { color: var(--dtoj-learning-accent); text-decoration: none; }
.dtoj-learning-sidebar a:focus-visible, .dtoj-learning-sidebar button:focus-visible { outline: 2px solid #527b6d; outline-offset: 3px; }
.dtoj-learning-sidebar [hidden] { display: none !important; }
.dtoj-learning-sidebar svg { display: block; width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dtoj-learning-sidebar__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin-bottom: 18px; }
.dtoj-learning-sidebar__head h2 { font-family: inherit; font-size: 15px; line-height: 1.5; font-weight: 650; color: var(--dtoj-learning-ink); }
.dtoj-learning-sidebar .dtoj-learning-sidebar__toggle { display: none; align-items: center; justify-content: center; gap: 4px; min-height: 44px; min-width: 44px; padding: 5px 0 5px 4px; appearance: none; border: 0; background: transparent; color: var(--dtoj-learning-muted); font: inherit; font-size: 11px; cursor: pointer; }
.dtoj-learning-sidebar__toggle svg { width: 13px; height: 13px; flex-basis: 13px; }
.dtoj-learning-layout.is-ready .dtoj-learning-sidebar__toggle { display: flex; }
.dtoj-learning-sidebar h3 { display: flex; align-items: center; gap: 9px; color: var(--dtoj-learning-ink); font-family: inherit; font-size: 13px; line-height: 1.55; font-weight: 600; }
.dtoj-learning-sidebar__continue { padding-top: 17px; border-top: 1px solid var(--dtoj-learning-line); }
.dtoj-learning-sidebar .dtoj-learning-sidebar__caption { margin-top: 13px; color: var(--dtoj-learning-muted); font-size: 11px; }
.dtoj-learning-sidebar__course { display: block; margin-top: 4px; overflow-wrap: anywhere; font-size: 15px; line-height: 1.8; font-weight: 600; }
.dtoj-learning-sidebar .dtoj-learning-sidebar__progress { margin-top: 8px; color: var(--dtoj-learning-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.dtoj-learning-sidebar__progress span { color: var(--dtoj-learning-accent); font-weight: 600; }
.dtoj-learning-sidebar .dtoj-learning-sidebar__empty { margin-top: 14px; color: var(--dtoj-learning-muted); font-size: 13px; }
.dtoj-learning-sidebar .dtoj-learning-sidebar__resume { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin-top: 14px; padding: 10px 13px; border-radius: 9px; background: #365f56; color: #fff; font-size: 13px; font-weight: 600; }
.dtoj-learning-sidebar .dtoj-learning-sidebar__resume:hover, .dtoj-learning-sidebar .dtoj-learning-sidebar__resume:visited { background: #365f56; color: #fff; }
.dtoj-learning-sidebar .dtoj-learning-sidebar__resume:hover { background: #2d524a; }
.dtoj-learning-sidebar .dtoj-learning-sidebar__resume:active { background: #26473f; }
.dtoj-learning-sidebar__section { margin-top: 28px; }
.dtoj-learning-sidebar__section-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; }
.dtoj-learning-sidebar .dtoj-learning-sidebar__arrow { width: 14px; height: 14px; flex-basis: 14px; color: var(--dtoj-learning-muted); }
.dtoj-learning-sidebar .dtoj-learning-sidebar__description { margin-top: 6px; color: var(--dtoj-learning-muted); font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.dtoj-learning-sidebar .dtoj-learning-sidebar__no-practice { margin-top: 13px; }
.dtoj-learning-sidebar__problems { list-style: none; margin: 10px 0 0; padding: 0; }
.dtoj-learning-sidebar__problems li { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--dtoj-learning-line); }
.dtoj-learning-sidebar__problems li:last-child { border: 0; }
.dtoj-learning-sidebar__problems a { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; min-height: 44px; padding: 11px 0; font-size: 12px; }
.dtoj-learning-sidebar__problem-title { min-width: 0; overflow-wrap: anywhere; }
.dtoj-learning-sidebar__status { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; padding-top: 1px; font-size: 11px; }
.dtoj-learning-sidebar__status i { display: block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.dtoj-learning-sidebar__status.is-success { color: #406657; }
.dtoj-learning-sidebar__status.is-warning { color: #7c6445; }
.dtoj-learning-sidebar__status.is-muted { color: var(--dtoj-learning-muted); }
.dtoj-learning-sidebar__all-records { display: flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 3px; color: var(--dtoj-learning-muted) !important; font-size: 11px; }
.dtoj-learning-sidebar__all-records svg { width: 13px; height: 13px; flex-basis: 13px; }
.dtoj-learning-sidebar .dtoj-learning-sidebar__pet { display: flex; align-items: center; gap: 10px; min-height: 67px; margin-top: 20px; padding: 17px 0 3px; border-top: 1px solid var(--dtoj-learning-line); }
.dtoj-learning-sidebar .dtoj-learning-sidebar__paw { width: 26px; height: 26px; flex-basis: 26px; stroke-width: 1.25; color: #628273; }
.dtoj-learning-sidebar__pet > span { flex: 1 1 auto; min-width: 0; }
.dtoj-learning-sidebar__pet strong { display: block; font-size: 12px; font-weight: 600; }
.dtoj-learning-sidebar__pet small { display: block; margin-top: 3px; color: var(--dtoj-learning-muted); font-size: 11px; line-height: 1.5; }
.dtoj-learning-sidebar ::selection { color: #25493f; background: #dcebe2; }
#dtoj-home .home-shell.dtoj-learning-layout.is-collapsed { --dtoj-learning-sidebar-width: 72px; gap: 24px; }
#dtoj-home .dtoj-learning-layout.is-collapsed .dtoj-learning-sidebar { padding-right: 15px; }
.dtoj-learning-layout.is-collapsed .dtoj-learning-sidebar__head { flex-direction: column; align-items: flex-start; gap: 7px; margin-bottom: 0; }
.dtoj-learning-layout.is-collapsed .dtoj-learning-sidebar__head h2 { width: 48px; text-align: center; font-size: 12px; }
.dtoj-learning-layout.is-collapsed .dtoj-learning-sidebar__toggle { flex-direction: column; gap: 4px; min-height: 50px; padding: 5px; }
.dtoj-learning-layout.is-collapsed .dtoj-learning-sidebar__toggle svg { transform: rotate(180deg); }
@media (min-width: 1280px) and (max-width: 1510px) {
  #dtoj-home .dtoj-learning-main .home-algorithm-art { display: none; }
  #dtoj-home .dtoj-learning-main .home-hero-panel-content:has(> .home-algorithm-art) { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 28px; }
  #dtoj-home .dtoj-learning-main .home-hero-panel { padding-right: 10px; padding-left: 10px; }
  #dtoj-home .dtoj-learning-main .home-hero-copy > .home-checkin-card { margin-right: 10px; }
}
@media (max-width: 1279px) {
  #dtoj-home .home-shell.dtoj-learning-layout, #dtoj-home .home-shell.dtoj-learning-layout.is-collapsed { width: min(1180px, calc(100% - 40px)); grid-template-columns: minmax(0, 1fr); gap: 20px; }
  #dtoj-home .dtoj-learning-sidebar, #dtoj-home .dtoj-learning-layout.is-collapsed .dtoj-learning-sidebar { position: static; max-height: none; overflow: visible; border: 1px solid var(--dtoj-learning-line); border-radius: 12px; background: rgba(255, 255, 255, .8); padding: 0 18px; }
  .dtoj-learning-sidebar__head, .dtoj-learning-layout.is-collapsed .dtoj-learning-sidebar__head { min-height: 58px; margin: 0; flex-direction: row; align-items: center; }
  .dtoj-learning-sidebar__head h2, .dtoj-learning-layout.is-collapsed .dtoj-learning-sidebar__head h2 { width: auto; text-align: left; font-size: 14px; }
  .dtoj-learning-sidebar .dtoj-learning-sidebar__toggle, .dtoj-learning-layout.is-collapsed .dtoj-learning-sidebar__toggle { flex-direction: row; gap: 6px; min-height: 44px; padding: 6px 0 6px 8px; font-size: 12px; }
  .dtoj-learning-sidebar__toggle svg { transform: rotate(90deg); }
  .dtoj-learning-layout.is-collapsed .dtoj-learning-sidebar__toggle svg { transform: rotate(-90deg); }
  .dtoj-learning-sidebar__content { padding-bottom: 19px; }
  .dtoj-learning-sidebar__continue { padding-top: 14px; }
  .dtoj-learning-sidebar__section { margin-top: 22px; }
}
@media (max-width: 600px) {
  #dtoj-home .home-shell.dtoj-learning-layout, #dtoj-home .home-shell.dtoj-learning-layout.is-collapsed { width: calc(100% - 32px); gap: 18px; }
  #dtoj-home .dtoj-learning-sidebar, #dtoj-home .dtoj-learning-layout.is-collapsed .dtoj-learning-sidebar { padding-right: 14px; padding-left: 14px; }
}
@media (prefers-reduced-motion: no-preference) { .dtoj-learning-sidebar a, .dtoj-learning-sidebar button { transition: color .16s ease-out, background-color .16s ease-out; } }


/* Establish the final homepage surface before any content can paint. */
html.theme--light.page--homepage,
html.theme--light.page--homepage body,
html.theme--light.page--homepage #panel { background: #f5f8fa; }
@media (max-width: 600px) {
  html.theme--light.page--homepage,
  html.theme--light.page--homepage body,
  html.theme--light.page--homepage #panel { background: #fff; }
}
/* One centered identity; the existing animated sheep takes the O's place. */
#dtoj-home .home-hero-panel-content:has(> .home-identity-designed) {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px;
}
#dtoj-home .home-identity-designed {
  align-items: center;
  justify-content: center;
  padding: 12px 0 20px;
  text-align: center;
}
#dtoj-home .home-identity-wordmark { width: 100%; }
#dtoj-home .home-hero-panel .home-identity-designed .home-platform-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .1em;
  font-size: clamp(76px, 6.7vw, 96px);
  line-height: 1;
  letter-spacing: -.035em;
  white-space: nowrap;
}
#dtoj-home .home-wordmark-letters { display: block; }
#dtoj-home .home-hero-panel .home-platform-wordmark .home-wordmark-sheep {
  display: flex;
  flex: 0 0 .82em;
  align-self: center;
  width: .82em;
  height: .82em;
  transform: translateY(-.025em);
}
#dtoj-home .home-wordmark-sheep .home-algorithm-rotation {
  --home-flip-depth: .41em;
  width: 100%;
}
#dtoj-home .home-wordmark-sheep .home-algorithm-stage {
  display: block;
  aspect-ratio: 1;
  perspective: 600px;
}
#dtoj-home .home-wordmark-sheep .home-algorithm-flipper { display: block; }
#dtoj-home .home-wordmark-sheep .home-algorithm-logo { opacity: 1; }
#dtoj-home .home-brand-author { margin-top: 20px; }
#dtoj-home .home-identity-footer { max-width: 304px; padding-top: 28px; }
#dtoj-home .home-training-path { justify-content: center; }
#dtoj-home .home-identity-signature { justify-content: center; }
@supports (container-type: inline-size) and (width: 1cqw) {
  #dtoj-home .home-wordmark-sheep .home-algorithm-rotation {
    --home-flip-depth: calc(100cqw * .5);
  }
}
@media (min-width: 1121px) {
  #dtoj-home .home-hero-navigation-featured { transform: none; }
}
@media (min-width: 601px) and (max-width: 1080px) {
  #dtoj-home .home-hero-panel-content:has(> .home-identity-designed) {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 28px;
  }
  #dtoj-home .home-hero-panel .home-identity-designed .home-platform-wordmark { font-size: 76px; }
}
@media (max-width: 600px) {
  #dtoj-home .home-hero-panel-content:has(> .home-identity-designed) {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  #dtoj-home .home-identity-designed { padding: 8px 0 0; }
  #dtoj-home .home-hero-panel .home-identity-designed .home-platform-wordmark { font-size: 76px; }
  #dtoj-home .home-brand-author { margin-top: 12px; }
  #dtoj-home .home-identity-footer { max-width: 280px; padding-top: 20px; }
}
@media (max-width: 360px) {
  #dtoj-home .home-hero-panel .home-identity-designed .home-platform-wordmark { font-size: 68px; }
}

/* Mirror the collapsed rail's footprint to center the main content. */
@media (min-width: 1280px) {
  html.page--homepage #dtoj-home .home-shell.dtoj-learning-layout.is-collapsed {
    grid-template-columns: var(--dtoj-learning-sidebar-width) minmax(0, 1fr) var(--dtoj-learning-sidebar-width);
  }
  html.page--homepage #dtoj-home .dtoj-learning-layout.is-collapsed > .dtoj-learning-main { grid-column: 2; }
  html.page--homepage #dtoj-home .dtoj-learning-layout.is-collapsed .dtoj-learning-sidebar__head h2 {
    width: 100%;
    white-space: nowrap;
  }
}


/* Spread the seven members across the contact area with larger portraits. */
#dtoj-home #home-contact.home-lower-contact .home-member-strip {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 20px 0 0;
  padding: 4px 0 10px;
  overflow: visible;
}
#dtoj-home #home-contact.home-lower-contact .home-member {
  flex: 0 1 68px;
  width: 68px;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1;
  padding: 5px;
}
#dtoj-home #home-contact.home-lower-contact .home-member-avatar {
  width: 100%;
  max-width: 56px;
  height: auto;
  aspect-ratio: 1;
}
#dtoj-home #home-contact.home-lower-contact .home-member-link { width: 100%; }
@media (max-width: 600px) {
  #dtoj-home #home-contact.home-lower-contact .home-member-strip {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 340px;
    gap: 14px;
    margin: 20px auto 0;
  }
  #dtoj-home #home-contact.home-lower-contact .home-member {
    flex: 0 0 64px;
    width: 64px;
  }
  #dtoj-home #home-contact.home-lower-contact .home-lower-head,
  #dtoj-home #home-contact.home-lower-contact .home-contact-heading { text-align: center; }
  #dtoj-home #home-contact.home-lower-contact > p,
  #dtoj-home #home-contact.home-lower-contact .home-lower-head > p {
    max-width: 30em;
    margin: 16px auto 0;
    text-align: center;
  }
}
@media (max-width: 360px) {
  #dtoj-home #home-contact.home-lower-contact .home-member-strip { gap: 12px; }
  #dtoj-home #home-contact.home-lower-contact .home-member {
    flex-basis: 58px;
    width: 58px;
  }
}


/* Muted slate-violet identity for the learning sidebar. */
#dtoj-home .home-shell.dtoj-learning-layout {
  --dtoj-learning-ink: #3f4156;
  --dtoj-learning-muted: #666a7b;
  --dtoj-learning-accent: #6b5c88;
  --dtoj-learning-soft: #f0edf6;
  --dtoj-learning-line: #e2dfea;
}
#dtoj-home .dtoj-learning-sidebar { scrollbar-color: #beb8cc transparent; }
#dtoj-home .dtoj-learning-sidebar a:focus-visible,
#dtoj-home .dtoj-learning-sidebar button:focus-visible { outline-color: #8c7bb0; }
#dtoj-home .dtoj-learning-sidebar .dtoj-learning-sidebar__resume,
#dtoj-home .dtoj-learning-sidebar .dtoj-learning-sidebar__resume:visited {
  background: #665979;
  color: #fff;
}
#dtoj-home .dtoj-learning-sidebar .dtoj-learning-sidebar__resume:hover { background: #574a6b; }
#dtoj-home .dtoj-learning-sidebar .dtoj-learning-sidebar__resume:active { background: #493d5e; }
#dtoj-home .dtoj-learning-sidebar .dtoj-learning-sidebar__status.is-success { color: #6b5c88; }
#dtoj-home .dtoj-learning-sidebar .dtoj-learning-sidebar__paw { color: #8c7b9f; }
#dtoj-home .dtoj-learning-sidebar ::selection { color: #463a56; background: #e9e2f1; }
/* Keep authorship as fine print with the platform signature. */
#dtoj-home .home-identity-designed .home-identity-footer { padding-top: 24px; }
#dtoj-home .home-identity-designed .home-identity-signature {
  gap: 4px 14px;
  margin-top: 12px;
  padding-top: 10px;
}
#dtoj-home .home-identity-signature span.home-signature-authors {
  flex-basis: 100%;
  color: #666b7a;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .02em;
}
@media (max-width: 600px) {
  #dtoj-home .home-identity-designed .home-identity-footer { padding-top: 18px; }
}


/* Keep the existing sheep alpha silhouette without Safari's SVG-mask blank face. */
#dtoj-home .home-algorithm-color-mark {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #76518f 0%, #216d70 46%, #8f6723 100%);
  -webkit-mask: url('/nav-logo-dtoj-20261006.png') center / contain no-repeat;
  mask: url('/nav-logo-dtoj-20261006.png') center / contain no-repeat;
  mask-mode: alpha;
}
/* Share a natural first row; keep dates readable instead of reserving empty height. */
@media (min-width: 1121px) {
  #dtoj-home:has(.home-identity-designed) .home-hero-grid {
    grid-template-areas: "countdown checkin" "contact wealth" "contact activity";
    align-items: start;
  }
  #dtoj-home:has(.home-identity-designed) .home-side-stack,
  #dtoj-home:has(.home-identity-designed) .home-hero-copy { display: contents; }
  #dtoj-home:has(.home-identity-designed) .home-countdown-panel { grid-area: countdown; align-self: stretch; }
  #dtoj-home:has(.home-identity-designed) .home-checkin-card { grid-area: checkin; align-self: stretch; }
  #dtoj-home:has(.home-identity-designed) .home-side-stack > #home-contact { grid-area: contact; align-self: start; }
  #dtoj-home:has(.home-identity-designed) #wealth-stack { grid-area: wealth; }
  #dtoj-home:has(.home-identity-designed) #activity-stack { grid-area: activity; }
  #dtoj-home:has(.home-identity-designed) .home-countdown-head { padding: 14px 18px; }
  #dtoj-home:has(.home-identity-designed) .home-countdown-panel-four .home-countdown-body {
    flex: 1;
    min-height: 0;
    padding: 12px;
    gap: 10px;
  }
  #dtoj-home:has(.home-identity-designed) .home-countdown-panel-four .home-countdown-item { padding: 10px 12px; }
  #dtoj-home:has(.home-identity-designed) .home-countdown-panel-four .home-countdown-row { gap: 6px; }
  #dtoj-home:has(.home-identity-designed) .home-countdown-panel-four .home-countdown-title { font-size: 15px; line-height: 1.35; }
  #dtoj-home:has(.home-identity-designed) .home-countdown-panel-four .home-countdown-number { font-size: 28px; }
  #dtoj-home:has(.home-identity-designed) .home-countdown-panel-four .home-countdown-copy { margin-top: 6px; }
}


/* The heading becomes empty after the existing desktop/phone content reorder. */
@media (min-width: 1121px), (max-width: 600px) {
  #dtoj-home #home-contact .home-lower-head:has(> .home-contact-heading:only-child) { margin-bottom: 0; }
}


/* One desktop column grid for recommendations, shortcuts and daily check-in. */
@media (min-width: 1121px) {
  #dtoj-home:has(.home-identity-designed) .home-hero-panel { padding-inline: 0; }
  #dtoj-home:has(.home-identity-designed) .home-hero-panel-content,
  #dtoj-home:has(.home-identity-designed) .home-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
  }
  #dtoj-home:has(.home-identity-designed) .home-hero-copy > .home-checkin-card { margin-inline: 0; }
}


#dtoj-home #home-contact .home-contact-qr-frame:focus-visible { outline: 2px solid #3470ce; outline-offset: 3px; }
#dtoj-home #home-contact .home-contact-qr-hint { display: none; }
@media (max-width: 600px) {
  #dtoj-home #home-contact .home-contact-pair { gap: 10px; }
  #dtoj-home #home-contact .home-contact-panel { padding: 14px; border-radius: 14px; box-shadow: none; }
  #dtoj-home #home-contact .home-contact-panel:hover { transform: none; }
  #dtoj-home #home-contact .home-contact-panel-main {
    grid-template-columns: minmax(0, 1fr) 112px; justify-items: stretch; gap: 14px; padding: 0; text-align: left;
  }
  #dtoj-home #home-contact .home-contact-panel h3 { margin: 0 0 7px; font-size: 16px; line-height: 1.45; letter-spacing: 0; }
  #dtoj-home #home-contact .home-contact-label { display: inline; margin: 0; color: #52657b; font-size: 12px; font-weight: 500; }
  #dtoj-home #home-contact .home-contact-separator { display: inline; color: #748397; }
  #dtoj-home #home-contact .home-contact-name { display: inline-block; }
  #dtoj-home #home-contact .home-contact-panel p { display: block; max-width: none; margin: 0; font-size: 12px; line-height: 1.6; }
  #dtoj-home #home-contact .home-contact-qr-frame { justify-self: end; width: 112px; height: 112px; padding: 6px; border-radius: 10px; }
  #dtoj-home #home-contact .home-contact-panel:hover .home-contact-qr-frame { transform: none; }
  #dtoj-home #home-contact .home-contact-panel-foot { justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 0; border-top: 0; font-size: 11px; }
  #dtoj-home #home-contact .home-contact-qr-hint { display: inline; color: #52657b; font-weight: 400; }
}


#dtoj-home .home-contact-qr-viewer {
  box-sizing: border-box; width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  margin: auto; padding: 16px; border: 0; border-radius: 14px; background: #fff; color: #1b2d47;
  box-shadow: 0 16px 56px rgba(24, 37, 55, .2); overflow: auto; text-align: left;
}
#dtoj-home .home-contact-qr-viewer::backdrop { background: rgba(24, 37, 55, .48); }
#dtoj-home .home-contact-qr-viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
#dtoj-home .home-contact-qr-viewer h2 { margin: 0; min-width: 0; font-size: 16px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
#dtoj-home .home-contact-qr-viewer button { flex: 0 0 44px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: #f1f5f8; color: #52657b; cursor: pointer; }
#dtoj-home .home-contact-qr-viewer img { display: block; width: 100%; height: auto; max-height: calc(100vh - 180px); max-height: calc(100dvh - 180px); object-fit: contain; }
#dtoj-home .home-contact-qr-viewer-foot { display: flex; justify-content: flex-end; margin-top: 12px; }
#dtoj-home .home-contact-qr-viewer-foot a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 8px; color: #225d9d; background: #edf4fb; font-size: 13px; text-decoration: none; }
#dtoj-home .home-contact-qr-viewer :is(button,a):focus-visible { outline: 2px solid #3470ce; outline-offset: 3px; }


/* Keep the active cards on the shared column edge; rear cards stack inward. */
@media (min-width: 601px) {
  #dtoj-home #wealth-stack .wealth-card,
  #dtoj-home #activity-stack .activity-card {
    width: 100%;
    transform-origin: top center;
  }
  #dtoj-home #wealth-stack .wealth-card[data-pos="1"],
  #dtoj-home #activity-stack .activity-card[data-pos="1"] {
    transform: translateY(14px) scale(.98);
  }
  #dtoj-home #wealth-stack .wealth-card[data-pos="2"],
  #dtoj-home #activity-stack .activity-card[data-pos="2"] {
    transform: translateY(28px) scale(.96);
  }
  #dtoj-home #activity-stack .activity-card[data-pos="3"] {
    transform: translateY(42px) scale(.94);
  }
}


/* Keep six-plus recommendation pages on their own row instead of orphaning dots beside arrows. */
@media (max-width: 600px) {
  #dtoj-home .home-feature-controls:has(.home-feature-dot:nth-child(6)) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  #dtoj-home .home-feature-controls:has(.home-feature-dot:nth-child(6)) .home-feature-dots {
    grid-row: 1;
    grid-column: 1;
  }
  #dtoj-home .home-feature-controls:has(.home-feature-dot:nth-child(6)) .home-feature-arrows {
    grid-row: 2;
    grid-column: 1;
    justify-self: end;
  }
}

