/* Web-only, namespaced companion to the heart-island compass. */
#xlcs-island-guide {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100; pointer-events: none;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  color: #345066; font-family: 'Songti SC', 'Noto Serif SC', 'STSong', 'SimSun', serif;
}
#xlcs-island-guide [hidden] { display: none !important; }
#xlcs-island-guide .hi-guide-button {
  position: absolute; left: calc(100% - 56px); top: calc(50% - 24px);
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; min-height: 48px; padding: 0;
  border-radius: 50%; border: 1px solid #c6d0ce99; background: #faf8f0ba;
  color: #435e72; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px #34506618; opacity: .68;
  touch-action: none; user-select: none; -webkit-user-select: none;
  -webkit-touch-callout: none; cursor: grab; pointer-events: auto;
  transition: opacity .2s, box-shadow .2s;
}
#xlcs-island-guide .hi-guide-button.hi-positioned { transition: left .25s ease, top .25s ease, opacity .2s, box-shadow .2s; }
#xlcs-island-guide .hi-guide-button:focus-visible, #xlcs-island-guide .hi-guide-button:active { opacity: 1; }
#xlcs-island-guide .hi-guide-button.hi-moving { opacity: 1; cursor: grabbing; transition: none; box-shadow: 0 4px 14px #34506622; }
#xlcs-island-guide .hi-guide-button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
#xlcs-island-guide .hi-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
#xlcs-island-guide .hi-overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: flex-end; justify-content: center; pointer-events: auto; }
#xlcs-island-guide .hi-backdrop { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: #354c5a2c; touch-action: none; }
#xlcs-island-guide .hi-sheet {
  position: relative; width: 100%; max-width: 520px; max-height: 76vh; max-height: 76svh;
  overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: #faf7f1; padding: 22px 28px calc(25px + env(safe-area-inset-bottom,0px));
  box-shadow: 0 -12px 60px #536b7918; border-radius: 22px 22px 0 0;
  animation: xlcs-guide-sheet-in .32s cubic-bezier(.16,1,.3,1) both;
}
#xlcs-island-guide .hi-sheet::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; background: radial-gradient(ellipse at 90% 0%,#bdc8ca33,transparent 62%); }
#xlcs-island-guide .hi-handle { width: 30px; height: 3px; background: #b8b9b66b; border-radius: 2px; margin: 0 auto 18px; }
#xlcs-island-guide .hi-close { position: absolute; right: 8px; top: 10px; z-index: 2; width: 44px; height: 44px; padding: 0; font: 26px/1 sans-serif; color: #7e8b94; background: none; }
#xlcs-island-guide .hi-content { position: relative; }
#xlcs-island-guide .hi-eyebrow { font-family: -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif; font-size: 10px; letter-spacing: .2em; color: #8b9699; margin: 0 0 13px; }
#xlcs-island-guide .hi-title { font-weight: 500; font-size: 30px; letter-spacing: .1em; margin: 0 0 12px; color: #547589; }
#xlcs-island-guide .hi-description { font-family: -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif; font-size: 13px; line-height: 1.95; color: #7d878c; margin: 0; }
#xlcs-island-guide a { color: inherit; text-decoration: none; -webkit-user-drag: none; touch-action: manipulation; }
#xlcs-island-guide .hi-home { display: flex; justify-content: space-between; align-items: center; min-height: 52px; margin-top: 16px; border-top: 1px solid #b7b9b544; border-bottom: 1px solid #b7b9b544; color: #547589; font-size: 16px; }
#xlcs-island-guide .hi-list { list-style: none; margin: 15px 0 0; padding: 0; }
#xlcs-island-guide .hi-list li { border-top: 1px solid #b9bdb633; }
#xlcs-island-guide .hi-entry { display: flex; gap: 16px; width: 100%; text-align: left; align-items: center; padding: 13px 0; min-height: 60px; }
#xlcs-island-guide .hi-number { font-size: 11px; color: #adb1ad; width: 16px; flex-shrink: 0; }
#xlcs-island-guide .hi-entry strong { display: block; font-size: 17px; font-weight: 500; letter-spacing: .05em; color: var(--hi-theme); }
#xlcs-island-guide .hi-entry small { display: block; font-family: -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif; font-size: 10px; margin-top: 5px; line-height: 1.7; color: #8c979d; }
#xlcs-island-guide .hi-arrow { margin-left: auto; font-size: 18px; color: #95a0a4; }
#xlcs-island-guide :focus-visible { outline: 2px solid #658a96; outline-offset: 3px; }
@keyframes xlcs-guide-sheet-in { from { transform: translateY(35px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #xlcs-island-guide .hi-sheet { animation: none; } #xlcs-island-guide .hi-guide-button.hi-positioned { transition: none; } }
