/* 129z12d Unified Minimalist Reference Cards & Lightbox (Studio, Home, Canvas — Day & Night) */
html body :is(#hhswApp,.hanhai-home-generator-main,[data-hanhai-canvas-host]) .hhref-strip.hhref-strip.hhref-strip {
  display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;
  max-height:none!important;padding:6px 4px!important;gap:10px!important;column-gap:10px!important;align-items:flex-start!important;
}
html body :is(#hhswApp,.hanhai-home-generator-main,[data-hanhai-canvas-host]) .hhref-strip .hhref-card {
  display:block!important;flex:0 0 86px!important;width:86px!important;min-width:86px!important;max-width:86px!important;
  height:86px!important;min-height:86px!important;max-height:86px!important;position:relative!important;box-sizing:border-box!important;
  margin:0!important;padding:0!important;transform:none!important;grid-template:none!important;gap:0!important;
  border:1px solid rgba(127,127,127,.28)!important;border-radius:10px!important;background:rgba(20,18,15,.06)!important;
  cursor:grab!important;user-select:none!important;overflow:hidden!important;
}
html body :is(#hhswApp,.hanhai-home-generator-main,[data-hanhai-canvas-host]) .hhref-strip .hhref-card:active,
html body :is(#hhswApp,.hanhai-home-generator-main,[data-hanhai-canvas-host]) .hhref-strip .hhref-card.hhref-dragging {
  cursor:grabbing!important;opacity:.82!important;
}
html body :is(#hhswApp,.hanhai-home-generator-main,[data-hanhai-canvas-host]) .hhref-strip .hhref-card .hhref-visual {
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;
  margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;
  border:0!important;border-radius:inherit!important;overflow:hidden!important;
  transform:none!important;background:var(--hhref-surface,#120f0b)!important;cursor:zoom-in!important;box-shadow:none!important;
}
html[data-hhv-appearance="day"] body :is(#hhswApp,.hanhai-home-generator-main,[data-hanhai-canvas-host]) .hhref-strip .hhref-card .hhref-visual {
  background:#f6f0e4!important;
}
html body :is(#hhswApp,.hanhai-home-generator-main,[data-hanhai-canvas-host]) .hhref-strip .hhref-card.hhref-drop-target {
  outline:2px solid #d6a44e!important;outline-offset:2px!important;
}
html body :is(#hhswApp,.hanhai-home-generator-main,[data-hanhai-canvas-host]) .hhref-strip .hhref-visual img,
html body :is(#hhswApp,.hanhai-home-generator-main,[data-hanhai-canvas-host]) .hhref-strip .hhref-visual video {
  width:100%!important;height:100%!important;object-fit:cover!important;transform:none!important;transition:none!important;pointer-events:none!important;display:block!important;
}
html body :is(#hhswApp,.hanhai-home-generator-main,[data-hanhai-canvas-host]) .hhref-strip .hhref-card .hhref-actions {
  display:contents!important;position:static!important;
}
/* High-opacity Frosted Dark Badges — sharp on both #FFFFFF white screenshots & #000000 dark images */
html body :is(#hhswApp,.hanhai-home-generator-main,[data-hanhai-canvas-host]) .hhref-strip .hhref-card .hhref-remove {
  position:absolute!important;top:4px!important;right:4px!important;left:auto!important;bottom:auto!important;z-index:7!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;min-height:20px!important;max-height:20px!important;
  padding:0!important;margin:0!important;border-radius:999px!important;
  background:rgba(16,14,12,.84)!important;background-color:rgba(16,14,12,.84)!important;background-image:none!important;
  color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;
  border:1px solid rgba(255,255,255,.32)!important;font:700 13px/1 system-ui,-apple-system,sans-serif!important;
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;cursor:pointer!important;
  box-shadow:0 2px 6px rgba(0,0,0,.35)!important;backdrop-filter:blur(4px)!important;-webkit-backdrop-filter:blur(4px)!important;transform:none!important;
}
html body :is(#hhswApp,.hanhai-home-generator-main,[data-hanhai-canvas-host]) .hhref-strip .hhref-card .hhref-remove:hover {
  background:#dc2626!important;background-color:#dc2626!important;border-color:rgba(255,255,255,.55)!important;color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;
}
html body :is(#hhswApp,.hanhai-home-generator-main,[data-hanhai-canvas-host]) .hhref-strip .hhref-card .hhref-mention {
  position:absolute!important;left:3px!important;bottom:3px!important;right:auto!important;top:auto!important;z-index:6!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:0!important;width:auto!important;max-width:44px!important;height:auto!important;min-height:17px!important;max-height:19px!important;
  margin:0!important;padding:1px 3.5px!important;border-radius:5px!important;
  background:rgba(16,14,12,.84)!important;background-color:rgba(16,14,12,.84)!important;background-image:none!important;
  color:#FAD98E!important;-webkit-text-fill-color:#FAD98E!important;
  border:1px solid rgba(250,217,142,.40)!important;font:700 10px/13px system-ui,-apple-system,sans-serif!important;letter-spacing:-0.2px!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;cursor:pointer!important;
  box-shadow:0 2px 6px rgba(0,0,0,.28)!important;backdrop-filter:blur(4px)!important;-webkit-backdrop-filter:blur(4px)!important;transform:none!important;
}
html body :is(#hhswApp,.hanhai-home-generator-main,[data-hanhai-canvas-host]) .hhref-strip .hhref-card .hhref-replace {
  position:absolute!important;right:3px!important;bottom:3px!important;left:auto!important;top:auto!important;z-index:6!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:0!important;width:auto!important;height:auto!important;min-height:17px!important;max-height:19px!important;
  margin:0!important;padding:1px 3.5px!important;border-radius:5px!important;
  background:rgba(16,14,12,.84)!important;background-color:rgba(16,14,12,.84)!important;background-image:none!important;
  color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;
  border:1px solid rgba(255,255,255,.28)!important;font:600 10px/13px system-ui,-apple-system,sans-serif!important;letter-spacing:-0.2px!important;white-space:nowrap!important;
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;cursor:pointer!important;
  box-shadow:0 2px 6px rgba(0,0,0,.28)!important;backdrop-filter:blur(4px)!important;-webkit-backdrop-filter:blur(4px)!important;transform:none!important;
}
html body :is(#hhswApp,.hanhai-home-generator-main,[data-hanhai-canvas-host]) .hhref-strip .hhref-card .hhref-replace:hover,
html body :is(#hhswApp,.hanhai-home-generator-main,[data-hanhai-canvas-host]) .hhref-strip .hhref-card .hhref-mention:hover {
  background:rgba(36,30,22,.96)!important;background-color:rgba(36,30,22,.96)!important;border-color:rgba(250,217,142,.68)!important;
}
/* Eliminate ⋯, floating quick-menu, hover preview card, and drag-handle text clutter */
html body .hhref-more,
html body .hhref-quick-menu,
html body .hhref-hover-preview,
html body .hhref-drag-handle,
html body .hhref-gallery-nav,
html body .hhref-modal .hhref-modal-tools,
html body .hhref-modal .hhref-modal-top strong {
  display:none!important;visibility:hidden!important;pointer-events:none!important;
}
html[data-hhv-appearance].hhc-home-route body.home .hanhai-home-generator-main .hhc-home-reference-strip > .hanhai-home-ref.hanhai-home-ref {
  width:76px!important;min-width:76px!important;max-width:76px!important;flex-basis:76px!important;
  height:86px!important;min-height:86px!important;max-height:86px!important;padding:6px!important;border-radius:10px!important;font-size:11px!important;box-shadow:none!important;
}
/* Minimalist Full-Screen Lightbox (.hhref-modal across Studio, Home, Canvas) */
html body .hhref-modal {
  position:fixed!important;inset:0!important;z-index:2147483600!important;padding:24px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:rgba(12,10,8,.88)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;
}
html body .hhref-modal .hhref-modal-panel {
  display:contents!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
html body .hhref-modal .hhref-modal-top {
  display:contents!important;background:transparent!important;padding:0!important;border:0!important;
}
html body .hhref-modal .hhref-modal-body {
  display:flex!important;align-items:center!important;justify-content:center!important;
  max-width:90vw!important;max-height:88vh!important;background:transparent!important;border:0!important;padding:0!important;overflow:visible!important;
}
html body .hhref-modal :is(.hhref-full-image,.hhref-full-media,img,video) {
  max-width:90vw!important;max-height:88vh!important;width:auto!important;height:auto!important;
  object-fit:contain!important;border-radius:12px!important;box-shadow:0 24px 72px rgba(0,0,0,.55)!important;background:transparent!important;transform:none!important;
}
html body .hhref-modal .hhref-modal-close {
  position:fixed!important;top:20px!important;right:24px!important;left:auto!important;bottom:auto!important;z-index:2147483602!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;
  border-radius:50%!important;border:1px solid rgba(255,255,255,.32)!important;
  background:rgba(24,20,16,.86)!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;
  font:700 20px/1 system-ui,-apple-system,sans-serif!important;cursor:pointer!important;box-shadow:0 6px 20px rgba(0,0,0,.4)!important;
}
html body .hhref-modal .hhref-modal-close:hover {
  background:#d92d20!important;border-color:#fca5a5!important;
}
