/*hanhai-global-rail-v1-style*/
:root {
  --hh-global-rail-width: 76px;
  --hh-global-rail-logo-width: 62px;
  --hh-global-rail-logo-height: 72px;
  --hh-global-rail-item-height: 48px;
  --hh-global-rail-gap: 5px;
  --hh-global-rail-bg: linear-gradient(180deg, rgba(13,11,9,.96), rgba(18,15,11,.84));
  --hh-global-rail-line: rgba(217, 173, 99, .24);
  --hh-global-rail-text: rgba(250,245,235,.76);
  --hh-global-rail-active-bg: rgba(224,182,94,.14);
  --hh-global-rail-active-line: rgba(217, 173, 99, .36);
  --hh-global-rail-active-text: #fff;
  --hh-global-rail-gold: #f1c887;
  --hh-global-rail-focus: #e8c676;
  --hh-global-rail-logo-image: var(--hhv-side-user-logo, url("/wp-content/uploads/hanhai-brand/hh-rail-night.webp?v=129z35"));
}

html[data-hhv-appearance="day"] {
  --hh-global-rail-bg: linear-gradient(180deg, rgba(255, 255, 255, .985), rgba(250,245,235,.97));
  --hh-global-rail-line: rgba(201,146,47,.22);
  --hh-global-rail-text: #3b3226;
  --hh-global-rail-active-bg: #faf4e8;
  --hh-global-rail-active-line: #e0b65e;
  --hh-global-rail-active-text: #a87928;
  --hh-global-rail-gold: #684400;
  --hh-global-rail-focus: #c9922f;
}

html[data-hhv-appearance="night"] {
  --hh-global-rail-bg: linear-gradient(180deg, rgba(13,11,9,.99), rgba(13,11,9,.985));
  --hh-global-rail-line: rgba(166,150,128,.28);
  --hh-global-rail-text: #e4dccb;
  --hh-global-rail-active-bg: #2f271d;
  --hh-global-rail-active-line: #e0b65e;
  --hh-global-rail-active-text: #fff;
  --hh-global-rail-gold: #f1c887;
  --hh-global-rail-focus: #f2d18b;
}

@media (min-width: 481px) {
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .site-rail-nav)[data-hanhai-global-nav="v1"] > :is(a, button)::before,
  body.hanhai-3d-standalone .h3d-rail-nav[data-hanhai-global-nav="v1"] > [data-hanhai-global-owned="1"] > i {
    content: "" !important;
    font-size: 0 !important;
    font-style: normal !important;
    display: block !important;
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    min-height: 20px !important;
    flex: 0 0 20px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: currentColor !important;
    -webkit-mask: var(--hh-global-nav-icon) center / 20px 20px no-repeat !important;
    mask: var(--hh-global-nav-icon) center / 20px 20px no-repeat !important;
    box-shadow: none !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="home"] {
    --hh-global-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.2 12 3l9 8.2'/%3E%3Cpath d='M5.5 9.5V21h13V9.5M9 21v-6h6v6'/%3E%3C/svg%3E");
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="studio"] {
    --hh-global-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 1.7 5.3L19 9l-5.3 1.7L12 16l-1.7-5.3L5 9l5.3-1.7L12 2Z'/%3E%3Cpath d='m19 15 .8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8L19 15Z'/%3E%3C/svg%3E");
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="3d"] {
    --hh-global-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2.8 8 4.5v9.4l-8 4.5-8-4.5V7.3l8-4.5Z'/%3E%3Cpath d='m4.3 7.5 7.7 4.4 7.7-4.4M12 12v9'/%3E%3C/svg%3E");
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="3d-canvas"] {
    --hh-global-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='6' height='6' rx='1.4'/%3E%3Crect x='15' y='3' width='6' height='6' rx='1.4'/%3E%3Crect x='15' y='15' width='6' height='6' rx='1.4'/%3E%3Cpath d='M9 7h6M9 8.5c3 0 3 9.5 6 9.5'/%3E%3C/svg%3E");
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="3d-box"] {
    --hh-global-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7V4h3M20 7V4h-3M4 17v3h3M20 17v3h-3'/%3E%3Cpath d='m12 6.5 5 2.8v5.4l-5 2.8-5-2.8V9.3l5-2.8Z'/%3E%3Cpath d='m7.3 9.5 4.7 2.6 4.7-2.6M12 12.1v5.2'/%3E%3C/svg%3E");
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="assets"] {
    --hh-global-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2.5'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m5.5 18 4.3-4.6 3.2 3 2.4-2.5 3.1 4.1'/%3E%3C/svg%3E");
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="inspiration"] {
    --hh-global-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.4 15.5A7 7 0 1 1 15.6 15.5c-1 .7-1.6 1.5-1.6 2.5h-4c0-1-.6-1.8-1.6-2.5Z'/%3E%3Cpath d='M9.5 21h5M12 6v3M8.5 9.5l2 2M15.5 9.5l-2 2'/%3E%3C/svg%3E");
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="announcements"] {
    --hh-global-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11v3.5A2.5 2.5 0 0 0 6.5 17H8l2 4h3l-1.7-4H13l7 3V5l-7 3H7a3 3 0 0 0-3 3Z'/%3E%3Cpath d='M20 9a3 3 0 0 1 0 6'/%3E%3C/svg%3E");
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="canvas"] {
    --hh-global-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='15' rx='2.5'/%3E%3Cpath d='M7 8h10M8 22l4-3 4 3M12 4V2'/%3E%3C/svg%3E");
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="lingbaoge"] {
    --hh-global-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9 12 3l9 6M5 10h14M6 10v10m6-10v10m6-10v10M3 21h18'/%3E%3C/svg%3E");
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="plugin"] {
    --hh-global-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22v-5M9 8V3M15 8V3'/%3E%3Cpath d='M18 8H6a1 1 0 0 0-1 1v3a5 5 0 0 0 5 5h4a5 5 0 0 0 5-5V9a1 1 0 0 0-1-1Z'/%3E%3C/svg%3E");
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .site-rail-nav)[data-hanhai-global-nav="v1"] > :is(a, button) > :is(i, svg, .hhsw-announcement-rail-icon) {
    display: none !important;
  }

  body.hanhai-3d-standalone .h3d-rail output[data-hh-account-points-anchor="v1"] > :is([data-hhv-points-label], [data-hhv-points-value]) {
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.25 !important;
  }

}

@media (min-width: 981px) {
  body.hanhai-3d-standalone .h3d-app {
    display: block !important;
    grid-template-columns: minmax(0, 1fr) !important;
    padding-left: 76px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail, .hhsw-rail, .h3d-rail, .site-rail)[data-hanhai-global-rail="v1"] {
    display: flex !important;
    width: var(--hh-global-rail-width) !important;
    min-width: var(--hh-global-rail-width) !important;
    max-width: var(--hh-global-rail-width) !important;
    height: 100dvh !important;
    min-height: 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 18px 4px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-right: 1px solid var(--hh-global-rail-line) !important;
    background: var(--hh-global-rail-bg) !important;
    box-shadow: 12px 0 42px rgba(0, 0, 0, .24) !important;
    backdrop-filter:none !important;
  }

  /* Keep each renderer in its native layout model. Home and Canvas reserve
     their fixed rail through existing content offsets; Workbench and 3D
     reserve the first grid column with an in-flow sticky rail. */
  body.hhv-home-visual .hh-rail[data-hanhai-global-rail="v1"],
  body.hanhai-canvas-standalone .site-rail[data-hanhai-global-rail="v1"] {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    z-index: 80 !important;
  }

  /* Canvas owns a private tool rail in addition to the primary site rail.
     Keep its native --rail-w as the private width and reserve both columns
     for the stage, while the global top bar only starts after the site rail. */
  body.hanhai-canvas-standalone .topbar {
    left: var(--hh-global-rail-width) !important;
  }

  body.hanhai-canvas-standalone .canvas-stage {
    left: calc(var(--hh-global-rail-width) + var(--rail-w)) !important;
  }

  body.hhv-home-visual .hhsw-rail[data-hanhai-global-rail="v1"],
  body.hanhai-3d-standalone .h3d-rail[data-hanhai-global-rail="v1"] {
    position: sticky !important;
    inset: auto !important;
    top: 0 !important;
    z-index: 80 !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail, .hhsw-rail, .h3d-rail, .site-rail)[data-hanhai-global-rail="v1"]::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-logo, .hhsw-logo, .h3d-brandmark, .site-rail-logo)[data-hanhai-global-logo="v1"]:not([data-hh-vi-brand="1"]):not(:has(.hh-vi-mark-img,.hh-vi-horiz-lockup)):not(.h3d-brandmark):not(.site-rail-logo) {
    position: relative !important;
    display: block !important;
    flex: 0 0 var(--hh-global-rail-logo-height) !important;
    width: var(--hh-global-rail-logo-width) !important;
    min-width: var(--hh-global-rail-logo-width) !important;
    height: var(--hh-global-rail-logo-height) !important;
    min-height: var(--hh-global-rail-logo-height) !important;
    margin: 6px auto 8px !important;
    padding: 0 !important;
    overflow: visible !important;
    color: transparent !important;
    text-indent: -9999px !important;
    font-size: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--hh-global-rail-logo-image) center / contain no-repeat !important;
    box-shadow: none !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-logo, .hhsw-logo, .h3d-brandmark, .site-rail-logo)[data-hanhai-global-logo="v1"]:not([data-hh-vi-brand="1"]):not(:has(.hh-vi-mark-img,.hh-vi-horiz-lockup)):not(.h3d-brandmark):not(.site-rail-logo) > * {
    visibility: hidden !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .h3d-rail-nav, .site-rail-nav)[data-hanhai-global-nav="v1"] {
    display: flex !important;
    width: 100% !important;
    min-height: 0 !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: var(--hh-global-rail-gap) !important;
    margin: 12px 0 6px !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain !important;
    scrollbar-width: none !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .h3d-rail-nav, .site-rail-nav)[data-hanhai-global-nav="v1"]::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .h3d-rail-nav, .site-rail-nav)[data-hanhai-global-nav="v1"] > :is(a, button) {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: var(--hh-global-rail-item-height) !important;
    flex: 0 0 var(--hh-global-rail-item-height) !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    color: var(--hh-global-rail-text) !important;
    font: 800 12px/1.15 Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
    border-radius: 14px !important;
    background: transparent !important;
    box-shadow: none !important;
    appearance: none !important;
    transform: none !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .h3d-rail-nav, .site-rail-nav)[data-hanhai-global-nav="v1"] > :is(a, button) > :is(b, span) {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    flex-shrink: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    color: inherit !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .h3d-rail-nav, .site-rail-nav)[data-hanhai-global-nav="v1"] > :is(a, button):hover,
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .h3d-rail-nav, .site-rail-nav)[data-hanhai-global-nav="v1"] > :is(a, button)[aria-current="page"] {
    color: var(--hh-global-rail-active-text) !important;
    border-color: var(--hh-global-rail-active-line) !important;
    background: var(--hh-global-rail-active-bg) !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .26) !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .h3d-rail-nav, .site-rail-nav)[data-hanhai-global-nav="v1"] > :is(a, button):focus-visible,
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-logo, .hhsw-logo, .h3d-brandmark, .site-rail-logo)[data-hanhai-global-logo="v1"]:focus-visible,
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-bottom, .hhsw-rail-bottom, .h3d-account-cluster, .site-rail-bottom)[data-hanhai-global-bottom="v1"] :is(a, button):focus-visible {
    outline: 3px solid var(--hh-global-rail-focus) !important;
    outline-offset: 2px !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-bottom, .hhsw-rail-bottom, .h3d-account-cluster, .site-rail-bottom)[data-hanhai-global-bottom="v1"] {
    display: flex !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    margin: auto 0 0 !important;
    padding: 0 5px 18px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-global-bottom="v1"] > .hhv-language-switcher {
    display: flex !important;
    width: 58px !important;
    min-width: 58px !important;
    height: 46px !important;
    min-height: 46px !important;
    flex: 0 0 46px !important;
    margin: 0 !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-global-bottom="v1"] > :is(.hh-points-mini, .hhsw-credit, .h3d-account-points, .site-rail-points, output[data-hh-account-points-anchor="v1"]) {
    display: flex !important;
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    min-height: 42px !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 6px 3px !important;
    overflow: hidden !important;
    color: var(--hh-global-rail-gold) !important;
    font-size: 10px !important;
    line-height: 1.08 !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
    border: 1px solid var(--hh-global-rail-active-line) !important;
    border-radius: 14px !important;
    background: var(--hh-global-rail-active-bg) !important;
    box-sizing: border-box !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-global-bottom="v1"] > :is(.hh-avatar, .hhsw-avatar, .h3d-account, .site-rail-avatar, [data-hh-account-menu-anchor="v1"]),
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-global-bottom="v1"] > :is(.hh-help, .hhsw-help, .site-rail-help) {
    display: grid !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    flex: 0 0 44px !important;
    place-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: var(--hh-global-rail-gold) !important;
    border: 1px solid var(--hh-global-rail-active-line) !important;
    border-radius: 50% !important;
    background-color: var(--hh-global-rail-active-bg) !important;
    box-sizing: border-box !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-global-bottom="v1"] > :is(.hh-avatar, .hhsw-avatar, .h3d-account, .site-rail-avatar, [data-hh-account-menu-anchor="v1"]) img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: inherit !important;
  }

  /* ws117c: 3D desktop — points must not cover avatar; keep formal click stack */
  body.hanhai-3d-standalone .h3d-account-cluster[data-hanhai-global-bottom="v1"],
  body.hanhai-3d-standalone .h3d-rail .h3d-account-cluster[data-hh-3d-account-host="rail"] {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: auto 0 0 !important;
    padding: 0 5px 18px !important;
    overflow: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    z-index: 2 !important;
    isolation: isolate !important;
  }
  body.hanhai-3d-standalone .h3d-account-cluster[data-hanhai-global-bottom="v1"] > :is(.h3d-account-points, .hh-points-mini, .site-rail-points, output[data-hh-account-points-anchor="v1"]),
  body.hanhai-3d-standalone .h3d-rail .h3d-account-cluster[data-hh-3d-account-host="rail"] > :is(.h3d-account-points, .hh-points-mini, output[data-hh-account-points-anchor="v1"]) {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: flex !important;
    flex: 0 0 auto !important;
    width: 58px !important;
    max-width: 58px !important;
    min-height: 42px !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: hidden !important;
    z-index: 1 !important;
    pointer-events: none !important;
    transform: none !important;
    order: 2 !important;
  }
  body.hanhai-3d-standalone .h3d-account-cluster[data-hanhai-global-bottom="v1"] > :is(.h3d-account, [data-hh-account-menu-anchor="v1"]),
  body.hanhai-3d-standalone .h3d-rail .h3d-account-cluster[data-hh-3d-account-host="rail"] > .h3d-account {
    position: relative !important;
    display: grid !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    z-index: 5 !important;
    pointer-events: auto !important;
    transform: none !important;
    order: 3 !important;
  }
  body.hanhai-3d-standalone .h3d-account-cluster[data-hanhai-global-bottom="v1"] > :is(.h3d-account, [data-hh-account-menu-anchor="v1"]) img,
  body.hanhai-3d-standalone .h3d-rail .h3d-account-cluster[data-hh-3d-account-host="rail"] > .h3d-account img {
    pointer-events: none !important;
  }

}

@media (min-width: 981px) and (max-height: 920px) {
  :root {
    --hh-global-rail-logo-width: 58px;
    --hh-global-rail-logo-height: 58px;
    --hh-global-rail-item-height: 44px;
    --hh-global-rail-gap: 4px;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail, .hhsw-rail, .h3d-rail, .site-rail)[data-hanhai-global-rail="v1"] {
    padding: 12px 4px !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-logo, .hhsw-logo, .h3d-brandmark, .site-rail-logo)[data-hanhai-global-logo="v1"]:not([data-hh-vi-brand="1"]):not(:has(.hh-vi-mark-img,.hh-vi-horiz-lockup)):not(.h3d-brandmark):not(.site-rail-logo) {
    margin: 2px auto 6px !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .h3d-rail-nav, .site-rail-nav)[data-hanhai-global-nav="v1"] {
    margin: 6px 0 6px !important;
  }
}

@media (min-width: 981px) and (max-height: 820px) {
  :root {
    --hh-global-rail-logo-width: 50px;
    --hh-global-rail-logo-height: 50px;
    --hh-global-rail-item-height: 39px;
    --hh-global-rail-gap: 3px;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail, .hhsw-rail, .h3d-rail, .site-rail)[data-hanhai-global-rail="v1"] {
    padding: 8px 4px !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-logo, .hhsw-logo, .h3d-brandmark, .site-rail-logo)[data-hanhai-global-logo="v1"]:not([data-hh-vi-brand="1"]):not(:has(.hh-vi-mark-img,.hh-vi-horiz-lockup)):not(.h3d-brandmark):not(.site-rail-logo) {
    margin: 2px auto 4px !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .h3d-rail-nav, .site-rail-nav)[data-hanhai-global-nav="v1"] {
    margin: 4px 0 4px !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .h3d-rail-nav, .site-rail-nav)[data-hanhai-global-nav="v1"] > :is(a, button) {
    gap: 2px !important;
    font-size: 11px !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-bottom, .hhsw-rail-bottom, .h3d-account-cluster, .site-rail-bottom)[data-hanhai-global-bottom="v1"] {
    gap: 5px !important;
    padding-bottom: max(4px, env(safe-area-inset-bottom)) !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-global-bottom="v1"] > .hhv-language-switcher {
    height: 36px !important;
    min-height: 36px !important;
    flex-basis: 36px !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-global-bottom="v1"] > :is(.hh-points-mini, .hhsw-credit, .h3d-account-points, .site-rail-points) {
    min-height: 34px !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-global-bottom="v1"] > :is(.hh-avatar, .hhsw-avatar, .h3d-account, .site-rail-avatar, [data-hh-account-menu-anchor="v1"], .hh-help, .hhsw-help, .site-rail-help) {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    flex-basis: 34px !important;
  }
}

/* Private rails remain second-level. Workbench threads already occupy the
   second grid inside .hhsw-studio, so they must not receive a second offset.
   Canvas tools are fixed and therefore explicitly start after the site rail. */
@media (min-width: 981px) {
  body.hanhai-canvas-standalone .tool-rail[data-hanhai-secondary-rail="canvas-tools"] {
    left: var(--hh-global-rail-width) !important;
  }
}

/* Every renderer previously chose a different compact navigation: Workbench
   moved the rail to the top, 3D moved it to the bottom, and Canvas removed it.
   GlobalRail uses one bottom navigation for all four renderers.  Horizontal
   scrolling is contained inside the nav at 320px; it never widens the page. */
@media (max-width: 980px) {
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) {
    max-width: 100% !important;
    padding-bottom: calc(64px + env(safe-area-inset-bottom)) !important;
    overflow-x: hidden !important;
  }

  body.hhv-home-visual .hhsw-shell,
  body.hanhai-3d-standalone .h3d-app {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: calc(100dvh - 64px - env(safe-area-inset-bottom)) !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail, .hhsw-rail, .h3d-rail, .site-rail)[data-hanhai-global-rail="v1"] {
    position: fixed !important;
    z-index: 2147482000 !important;
    inset: auto 0 0 0 !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: calc(64px + env(safe-area-inset-bottom)) !important;
    min-height: calc(64px + env(safe-area-inset-bottom)) !important;
    max-height: calc(64px + env(safe-area-inset-bottom)) !important;
    margin: 0 !important;
    padding: 5px 7px calc(5px + env(safe-area-inset-bottom)) !important;
    overflow: hidden !important;
    border: 0 !important;
    border-top: 1px solid var(--hh-global-rail-line) !important;
    background: var(--hh-global-rail-bg) !important;
    box-shadow: 0 -18px 40px rgba(0, 0, 0, .28) !important;
    /* A filter/backdrop-filter on this fixed parent creates a containing block
       for the fixed language/points/account cluster and clips it into the
       64px bottom bar. Keep the opaque gradient and shadow, but leave the
       mobile rail free of fixed-position containing-block properties. */
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    filter: none !important;
    transform: none !important;
    perspective: none !important;
    contain: none !important;
    box-sizing: border-box !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-logo, .hhsw-logo, .h3d-brandmark, .site-rail-logo)[data-hanhai-global-logo="v1"]:not([data-hh-vi-brand="1"]):not(:has(.hh-vi-mark-img,.hh-vi-horiz-lockup)):not(.h3d-brandmark):not(.site-rail-logo) {
    display: none !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .h3d-rail-nav, .site-rail-nav)[data-hanhai-global-nav="v1"] {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 54px !important;
    min-height: 54px !important;
    grid-template-columns: repeat(9, minmax(44px, 1fr)) !important;
    align-items: stretch !important;
    gap: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .h3d-rail-nav, .site-rail-nav)[data-hanhai-global-nav="v1"]::-webkit-scrollbar {
    display: none !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .h3d-rail-nav, .site-rail-nav)[data-hanhai-global-nav="v1"] > :is(a, button) {
    position: relative !important;
    display: flex !important;
    width: auto !important;
    min-width: 44px !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    margin: 0 !important;
    padding: 3px 1px !important;
    overflow: hidden !important;
    color: var(--hh-global-rail-text) !important;
    font: 800 8px/1.05 Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif !important;
    text-align: center !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .site-rail-nav)[data-hanhai-global-nav="v1"] > :is(a, button)::before {
    display: grid !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    place-items: center !important;
    color: currentColor !important;
    font: 900 16px/1 Inter, "Segoe UI Symbol", sans-serif !important;
    background: none !important;
    -webkit-mask: none !important;
    mask: none !important;
    transform: none !important;
  }

  @media (max-width: 480px) {
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="home"]:not(:where(.h3d-rail-item))::before { content: "⌂" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="studio"]:not(:where(.h3d-rail-item))::before { content: "✦" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="3d"]:not(:where(.h3d-rail-item))::before { content: "⬡" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="3d-canvas"]:not(:where(.h3d-rail-item))::before { content: "❖" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="3d-box"]:not(:where(.h3d-rail-item))::before { content: "⬚" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="assets"]:not(:where(.h3d-rail-item))::before { content: "▣" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="inspiration"]:not(:where(.h3d-rail-item))::before { content: "✧" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="announcements"]:not(:where(.h3d-rail-item))::before { content: "!" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="canvas"]:not(:where(.h3d-rail-item))::before { content: "▢" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="lingbaoge"]:not(:where(.h3d-rail-item))::before { content: "⌑" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="plugin"]:not(:where(.h3d-rail-item))::before { content: "⌘" !important; }
  }
  @media (min-width: 481px) {
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="home"]:not(:where(.h3d-rail-item, .h3d-rail-nav > [data-hanhai-global-owned="1"]))::before { content: "⌂" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="studio"]:not(:where(.h3d-rail-item, .h3d-rail-nav > [data-hanhai-global-owned="1"]))::before { content: "✦" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="3d"]:not(:where(.h3d-rail-item, .h3d-rail-nav > [data-hanhai-global-owned="1"]))::before { content: "⬡" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="3d-canvas"]:not(:where(.h3d-rail-item, .h3d-rail-nav > [data-hanhai-global-owned="1"]))::before { content: "❖" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="3d-box"]:not(:where(.h3d-rail-item, .h3d-rail-nav > [data-hanhai-global-owned="1"]))::before { content: "⬚" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="assets"]:not(:where(.h3d-rail-item, .h3d-rail-nav > [data-hanhai-global-owned="1"]))::before { content: "▣" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="inspiration"]:not(:where(.h3d-rail-item, .h3d-rail-nav > [data-hanhai-global-owned="1"]))::before { content: "✧" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="announcements"]:not(:where(.h3d-rail-item, .h3d-rail-nav > [data-hanhai-global-owned="1"]))::before { content: "!" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="canvas"]:not(:where(.h3d-rail-item, .h3d-rail-nav > [data-hanhai-global-owned="1"]))::before { content: "▢" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="lingbaoge"]:not(:where(.h3d-rail-item, .h3d-rail-nav > [data-hanhai-global-owned="1"]))::before { content: "⌑" !important; }
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-nav-key="plugin"]:not(:where(.h3d-rail-item, .h3d-rail-nav > [data-hanhai-global-owned="1"]))::before { content: "⌘" !important; }
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .site-rail-nav)[data-hanhai-global-nav="v1"] > :is(a, button) > :is(i, svg, .hhsw-announcement-rail-icon) {
    display: none !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .h3d-rail-nav, .site-rail-nav)[data-hanhai-global-nav="v1"] > :is(a, button) > :is(b, span) {
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    color: inherit !important;
    font: inherit !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .h3d-rail-nav, .site-rail-nav)[data-hanhai-global-nav="v1"] > :is(a, button):is(:hover, :focus-visible, [aria-current="page"]) {
    color: var(--hh-global-rail-active-text) !important;
    border-color: var(--hh-global-rail-active-line) !important;
    background: var(--hh-global-rail-active-bg) !important;
    box-shadow: none !important;
  }

  /* Language, points and account remain reachable without adding a second
     primary nav.  They are compact fixed header controls on small screens. */
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone) :is(.hh-rail-bottom, .hhsw-rail-bottom, .site-rail-bottom)[data-hanhai-global-bottom="v1"] {
    position: fixed !important;
    z-index: 2147482001 !important;
    inset: 8px 8px auto auto !important;
    display: flex !important;
    width: auto !important;
    min-width: 0 !important;
    height: 42px !important;
    min-height: 42px !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 1px !important;
    overflow: visible !important;
    border-radius: 12px !important;
    background: #151310 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .24) !important;
    backdrop-filter:none !important;
  }

  body.hanhai-canvas-standalone .site-rail-bottom[data-hanhai-global-bottom="v1"] {
    right: 56px !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone) [data-hanhai-global-bottom="v1"] > .hhv-language-switcher {
    display: flex !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    flex: 0 0 40px !important;
    margin: 0 !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone) [data-hanhai-global-bottom="v1"] > :is(.hh-points-mini, .hhsw-credit, .site-rail-points) {
    display: flex !important;
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    min-height: 40px !important;
    flex: 0 0 50px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 3px 2px !important;
    overflow: hidden !important;
    font-size: 8px !important;
    line-height: 1.05 !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone) [data-hanhai-global-bottom="v1"] > :is(.hh-avatar, .hhsw-avatar, .site-rail-avatar, [data-hh-account-menu-anchor="v1"]) {
    display: grid !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    flex: 0 0 40px !important;
    place-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 50% !important;
  }

  :is(body.hhv-home-visual, body.hanhai-canvas-standalone) [data-hanhai-global-bottom="v1"] > :is(.hh-help, .hhsw-help, .site-rail-help) {
    display: none !important;
  }

  /* 3D already owns a header account trigger and language slot.  Keep only
     its points summary from the rail to avoid duplicate account controls. */
  body.hanhai-3d-standalone .h3d-account-cluster[data-hanhai-global-bottom="v1"] {
    position: fixed !important;
    z-index: 2147482001 !important;
    inset: 10px 58px auto auto !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
  }

  body.hanhai-3d-standalone .h3d-account-cluster[data-hanhai-global-bottom="v1"] > .h3d-account {
    display: none !important;
  }

  body.hanhai-canvas-standalone .topbar {
    left: 0 !important;
  }

  /* Canvas' old compact CSS hides the primary site rail, zeroes --rail-w,
     then a 390px fallback moves the private tool rail to left:80px. Once the
     shared primary rail becomes the fixed bottom navigation those values leave
     a blank gutter and put tools over the stage. Keep one slim, scrollable
     private tool strip at the viewport edge and reserve exactly that width. */
  body.hanhai-canvas-standalone {
    --rail-w: 56px !important;
  }

  body.hanhai-canvas-standalone .tool-rail[data-hanhai-secondary-rail="canvas-tools"] {
    display: flex !important;
    left: 0 !important;
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain !important;
    scrollbar-width: none !important;
  }

  body.hanhai-canvas-standalone .tool-rail[data-hanhai-secondary-rail="canvas-tools"]::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
  }

  body.hanhai-canvas-standalone .canvas-stage {
    left: 56px !important;
  }

  body.hanhai-canvas-standalone :is(.canvas-stage, .right-panel, .tool-rail) {
    bottom: calc(64px + env(safe-area-inset-bottom)) !important;
  }
}

/* Preserve renderer-owned nodes while excluding duplicate or page-private
   direct children from every user-facing interaction tree.  This rule follows
   both geometry blocks so a native display declaration cannot revive them. */
:is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) :is(.hh-rail-nav, .hhsw-nav, .h3d-rail-nav, .site-rail-nav)[data-hanhai-global-nav="v1"] > [data-hanhai-global-suppressed="1"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (prefers-reduced-motion: reduce) {
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-global-rail="v1"] *,
  :is(body.hhv-home-visual, body.hanhai-canvas-standalone, body.hanhai-3d-standalone) [data-hanhai-global-nav="v1"] * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/*hanhai-3d-account-menu-v1-style*/

    .hhv-3d-account-menu-v1{position:fixed!important;z-index:2147483100!important;display:flex!important;flex-direction:column!important;width:320px!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;margin:0!important;padding:12px 12px max(12px,env(safe-area-inset-bottom))!important;gap:6px!important;overflow:auto!important;overscroll-behavior:contain!important;box-sizing:border-box!important;border:1px solid rgba(217,173,99,.44)!important;border-radius:10px!important;background:linear-gradient(160deg,rgba(18,15,11,.985),rgba(13,11,9,.99))!important;color:#faf4e6!important;box-shadow:0 24px 70px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.06)!important;backdrop-filter:none!important}
    .hhv-3d-account-menu-v1>b{min-width:0!important;overflow-wrap:anywhere!important;color:#f6d195!important;font-size:16px!important;line-height:1.35!important}
    .hhv-3d-account-menu-v1>.hhv-account-overview{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:1px 0 3px!important}
    .hhv-3d-account-menu-v1 .hhv-account-stat{display:flex!important;min-width:0!important;min-height:55px!important;flex-direction:column!important;justify-content:center!important;gap:3px!important;padding:7px 8px!important;box-sizing:border-box!important;border:1px solid rgba(224,182,94,.2)!important;border-radius:7px!important;background:linear-gradient(145deg,rgba(168,121,40,.74),rgba(22,19,15,.78))!important}
    .hhv-3d-account-menu-v1 .hhv-account-stat>span{min-width:0!important;overflow-wrap:anywhere!important;color:#a89f91!important;font-size:10px!important;line-height:1.25!important;font-weight:700!important}
    .hhv-3d-account-menu-v1 .hhv-account-stat>strong{min-width:0!important;overflow-wrap:anywhere!important;color:#f5efe6!important;font-size:12px!important;line-height:1.35!important;font-weight:850!important}
    .hhv-3d-account-menu-v1>a,.hhv-3d-account-menu-v1>button{display:flex!important;align-items:center!important;min-width:0!important;min-height:44px!important;height:auto!important;margin:0!important;padding:8px 11px!important;box-sizing:border-box!important;overflow-wrap:anywhere!important;border:1px solid rgba(224,182,94,.18)!important;border-radius:7px!important;background:rgba(168,121,40,.76)!important;color:#f5efe6!important;font:800 13px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",Arial,sans-serif!important;text-align:left!important;text-decoration:none!important;cursor:pointer!important}
    .hhv-3d-account-menu-v1>a:hover,.hhv-3d-account-menu-v1>button:hover{border-color:rgba(224,182,94,.52)!important;background:#a87928!important;color:#fff!important}
    .hhv-3d-account-menu-v1>[data-profile-scope="owner"]{background:linear-gradient(135deg,rgba(244,207,148,.22),rgba(224,182,94,.15))!important;color:#ffe0a6!important;border-color:rgba(244,207,148,.38)!important}
    .hhv-3d-account-menu-v1 :is(a,button):focus-visible,[data-hh-account-menu-anchor="v1"]:focus-visible{outline:3px solid #e8c676!important;outline-offset:2px!important}
    .hhv-3d-account-status-v1{position:fixed;left:50%;bottom:max(18px,env(safe-area-inset-bottom));z-index:2147483200;max-width:min(88vw,620px);margin:0;padding:10px 14px;transform:translateX(-50%);border:1px solid rgba(217,173,99,.4);border-radius:999px;background:#18181b;color:#fff;font:700 13px/1.4 system-ui,sans-serif;box-shadow:0 12px 34px rgba(18,15,11,.35)}
    html[data-hhv-appearance="day"] .hhv-3d-account-menu-v1{background:#fff!important;border-color:#f5efe6!important;color:#18181b!important;box-shadow:0 24px 70px rgba(168,121,40,.2)!important}
    html[data-hhv-appearance="day"] .hhv-3d-account-menu-v1>b{color:#a87928!important}
    html[data-hhv-appearance="day"] .hhv-3d-account-menu-v1 .hhv-account-stat{background:#f2f4f7!important;border-color:#f5efe6!important}
    html[data-hhv-appearance="day"] .hhv-3d-account-menu-v1 .hhv-account-stat>:is(span,strong){color:#18181b!important}
    html[data-hhv-appearance="day"] .hhv-3d-account-menu-v1>:is(a,button){background:#f2f4f7!important;border-color:#f5efe6!important;color:#a87928!important}
    html[data-hhv-appearance="night"] .hhv-3d-account-menu-v1{background:#11100e!important;border-color:#18181b!important;color:#f5efe6!important;box-shadow:0 28px 84px rgba(0,0,0,.72)!important}
    html[data-hhv-appearance="night"] .hhv-3d-account-menu-v1 .hhv-account-stat{background:#221e19!important;border-color:#18181b!important}
    @media(max-width:480px),(max-height:360px){.hhv-3d-account-menu-v1{width:min(320px,calc(100vw - 18px))!important;max-height:calc(100dvh - 18px)!important;padding:9px 9px max(9px,env(safe-area-inset-bottom))!important}.hhv-3d-account-menu-v1 .hhv-account-stat{min-height:49px!important;padding:6px!important}}
    @media(prefers-reduced-motion:reduce){.hhv-3d-account-menu-v1,.hhv-3d-account-menu-v1 *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
    
/*hh-slf-css*/
html:not([data-hhv-lang]):not([lang]) .hh-hero-v22 [data-hh-hero-prompt-heading] .hh-fl-i18n[data-hh-fl-l="zh-CN"],html[data-hhv-lang="zh-CN" i] .hh-hero-v22 [data-hh-hero-prompt-heading] .hh-fl-i18n[data-hh-fl-l="zh-CN"],html[lang="zh-CN" i]:not([data-hhv-lang]) .hh-hero-v22 [data-hh-hero-prompt-heading] .hh-fl-i18n[data-hh-fl-l="zh-CN"],html:is(:lang(zh-CN),:lang(zh-Hans)):not([data-hhv-lang]) .hh-hero-v22 [data-hh-hero-prompt-heading] .hh-fl-i18n[data-hh-fl-l="zh-CN"],html[data-hhv-lang="zh-TW" i] .hh-hero-v22 [data-hh-hero-prompt-heading] .hh-fl-i18n[data-hh-fl-l="zh-TW"],html:is(:lang(zh-TW),:lang(zh-HK),:lang(zh-MO),:lang(zh-Hant)):not([data-hhv-lang]) .hh-hero-v22 [data-hh-hero-prompt-heading] .hh-fl-i18n[data-hh-fl-l="zh-TW"],html[data-hhv-lang="en" i] .hh-hero-v22 [data-hh-hero-prompt-heading] .hh-fl-i18n[data-hh-fl-l="en"],html:lang(en):not([data-hhv-lang]) .hh-hero-v22 [data-hh-hero-prompt-heading] .hh-fl-i18n[data-hh-fl-l="en"],html[data-hhv-lang="ja" i] .hh-hero-v22 [data-hh-hero-prompt-heading] .hh-fl-i18n[data-hh-fl-l="ja"],html:lang(ja):not([data-hhv-lang]) .hh-hero-v22 [data-hh-hero-prompt-heading] .hh-fl-i18n[data-hh-fl-l="ja"],html[data-hhv-lang="ko" i] .hh-hero-v22 [data-hh-hero-prompt-heading] .hh-fl-i18n[data-hh-fl-l="ko"],html:lang(ko):not([data-hhv-lang]) .hh-hero-v22 [data-hh-hero-prompt-heading] .hh-fl-i18n[data-hh-fl-l="ko"],html[data-hhv-lang="ru" i] .hh-hero-v22 [data-hh-hero-prompt-heading] .hh-fl-i18n[data-hh-fl-l="ru"],html:lang(ru):not([data-hhv-lang]) .hh-hero-v22 [data-hh-hero-prompt-heading] .hh-fl-i18n[data-hh-fl-l="ru"]{display:inline!important}body .hh-hero-v22 [data-hh-hero-prompt-heading]{position:relative!important;z-index:3!important;display:block!important;max-width:880px!important;margin:0 auto!important;font-size:34px!important;font-weight:650!important;line-height:1.22!important;letter-spacing:0!important;text-align:center!important;text-wrap:balance!important}body .hh-hero-v22 [data-hh-hero-prompt-heading] .hh-fl-i18n{font-weight:650!important;letter-spacing:0!important}@media(max-width:620px){body .hh-hero-v22 [data-hh-hero-prompt-heading]{font-size:26px!important;line-height:1.22!important}}html:not([data-hhv-appearance^="day"]):not(.hhd4-day) body .hh-hero-v22 [data-hh-hero-prompt-heading],html:not([data-hhv-appearance^="day"]):not(.hhd4-day) body .hh-hero-v22 [data-hh-hero-prompt-heading] .hh-fl-i18n{background:linear-gradient(100deg,#f6efe3 10%,#f4cf86 45%,#f39b4b 70%,#ec8a96 95%)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important}html:not([data-hhv-appearance^="day"]):not(.hhd4-day) body .hh-hero-v22 [data-hh-hero-prompt-heading] span{background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;color:#e0b65e!important;-webkit-text-fill-color:#e0b65e!important;text-shadow:none!important}html:is([data-hhv-appearance^="day"],.hhd4-day) body .hh-hero-v22 [data-hh-hero-prompt-heading],html:is([data-hhv-appearance^="day"],.hhd4-day) body .hh-hero-v22 [data-hh-hero-prompt-heading] .hh-fl-i18n{background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;color:#18181b!important;-webkit-text-fill-color:#18181b!important;text-shadow:0 1px 0 #fff,0 6px 24px rgba(201,106,28,.18)!important;opacity:1!important;visibility:visible!important}html:is([data-hhv-appearance^="day"],.hhd4-day) body .hh-hero-v22 [data-hh-hero-prompt-heading] span{background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;color:#b88224!important;-webkit-text-fill-color:#b88224!important;text-shadow:0 1px 0 #fff,0 6px 22px rgba(212,154,60,.35)!important}#hh-official-sitelinks-footer{position:relative;z-index:2;margin:48px 0 24px 76px;padding:28px 56px 28px 28px;color:rgba(244,239,230,.82);font-size:13px;line-height:1.6;box-sizing:border-box}#hh-official-sitelinks-footer .hh-slf-inner{max-width:1200px;margin:0 auto;padding-top:24px;border-top:1px solid rgba(255,255,255,.1)}html:is([data-hhv-appearance^="day"],.hhd4-day) #hh-official-sitelinks-footer{color:rgba(28,23,16,.78)}html:is([data-hhv-appearance^="day"],.hhd4-day) #hh-official-sitelinks-footer .hh-slf-inner{border-top-color:rgba(18,15,11,.1)}#hh-official-sitelinks-footer .hh-slf-top{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:12px}#hh-official-sitelinks-footer h1{font-size:15px;font-weight:700;margin:0;color:inherit}#hh-official-sitelinks-footer .hh-slf-sub{margin:0 0 18px;font-size:12.5px;opacity:.82}#hh-official-sitelinks-footer .hh-slf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#hh-official-sitelinks-footer .hh-slf-card{display:flex;flex-direction:column;gap:4px;padding:12px 15px;border-radius:11px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08);color:inherit;text-decoration:none;transition:border-color .16s,background .16s}html:is([data-hhv-appearance^="day"],.hhd4-day) #hh-official-sitelinks-footer .hh-slf-card{background:rgba(18,15,11,.03);border-color:rgba(18,15,11,.09)}#hh-official-sitelinks-footer .hh-slf-card:hover{border-color:rgba(224,182,94,.52);background:rgba(224,182,94,.08)}html:is([data-hhv-appearance^="day"],.hhd4-day) #hh-official-sitelinks-footer .hh-slf-card:hover{border-color:rgba(184,130,36,.48);background:rgba(184,130,36,.07)}#hh-official-sitelinks-footer .hh-slf-card strong{font-size:13.5px;font-weight:600}#hh-official-sitelinks-footer .hh-slf-card span{font-size:12px;opacity:.76;line-height:1.45}@media(max-width:960px){#hh-official-sitelinks-footer .hh-slf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}#hh-official-sitelinks-footer .hh-slf-faq{margin-top:20px;padding-top:16px;border-top:1px solid rgba(255,255,255,.08)}html:is([data-hhv-appearance^="day"],.hhd4-day) #hh-official-sitelinks-footer .hh-slf-faq{border-top-color:rgba(18,15,11,.08)}#hh-official-sitelinks-footer .hh-slf-faq-title{font-size:13px;font-weight:650;margin:0 0 10px;opacity:.92}#hh-official-sitelinks-footer .hh-slf-faq-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}#hh-official-sitelinks-footer .hh-slf-faq-item{padding:11px 13px;border-radius:10px;background:rgba(255,255,255,.028);border:1px solid rgba(255,255,255,.07);box-sizing:border-box}html:is([data-hhv-appearance^="day"],.hhd4-day) #hh-official-sitelinks-footer .hh-slf-faq-item{background:rgba(18,15,11,.024);border-color:rgba(18,15,11,.08)}#hh-official-sitelinks-footer .hh-slf-faq-item summary{cursor:pointer;font-size:12.5px;font-weight:600;line-height:1.4;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:6px}#hh-official-sitelinks-footer .hh-slf-faq-item summary::-webkit-details-marker{display:none}#hh-official-sitelinks-footer .hh-slf-faq-item summary::after{content:"▾";font-size:11px;opacity:.6;flex:none;transition:transform .16s ease}#hh-official-sitelinks-footer .hh-slf-faq-item:not([open]) summary::after{transform:rotate(-90deg)}#hh-official-sitelinks-footer .hh-slf-faq-item p{margin:7px 0 0;font-size:11.5px;line-height:1.58;opacity:.78}@media(max-width:960px){#hh-official-sitelinks-footer .hh-slf-faq-grid{grid-template-columns:1fr}}@media(max-width:768px){#hh-official-sitelinks-footer{margin:32px 0 0 0;padding:18px 16px 84px}#hh-official-sitelinks-footer .hh-slf-grid{grid-template-columns:1fr}}
