/* Scoped guide styles. The host page keeps its own scrolling and layout rules. */
#yj-island-guide { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 400; pointer-events: none; color: #345066; font-family: 'Songti SC','Noto Serif SC','STSong','SimSun',serif; }
#yj-island-guide * { box-sizing: border-box; }
#yj-island-guide [hidden] { display: none !important; }
#yj-island-guide .yj-guide-insets { position: absolute; visibility: hidden; pointer-events: none; padding-top: calc(var(--safe-top, env(safe-area-inset-top, 0px)) + var(--host-nav-offset, 0px)); padding-bottom: var(--safe-bottom, env(safe-area-inset-bottom, 0px)); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
#yj-island-guide button { font: inherit; color: inherit; cursor: pointer; margin: 0; padding: 0; flex-shrink: 0; -webkit-tap-highlight-color: transparent; }
#yj-island-guide button:active { transform: none; }
#yj-island-guide a { color: inherit; text-decoration: none; touch-action: manipulation; }
#yj-island-guide button:focus-visible, #yj-island-guide a:focus-visible { outline: 2px solid #658a96; outline-offset: 3px; }
#yj-island-guide svg { fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
#yj-island-guide .yj-guide-compass { position: absolute; pointer-events: auto; display: flex; align-items: center; justify-content: center; left: calc(100% - 56px); top: calc(50% - 24px); width: 48px; height: 48px; min-width: 48px; min-height: 48px; border-radius: 50%; border: 1px solid rgba(198,208,206,.6); background: rgba(250,248,240,.73); color: #435e72; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 2px 10px rgba(52,80,102,.095); opacity: .68; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: grab; }
#yj-island-guide .yj-guide-compass svg { width: 24px; height: 24px; }
#yj-island-guide .yj-guide-positioned { transition: left .25s ease, top .25s ease, opacity .2s, box-shadow .2s; }
#yj-island-guide .yj-guide-compass:focus-visible, #yj-island-guide .yj-guide-compass:active { opacity: 1; }
#yj-island-guide .yj-guide-moving { opacity: 1; cursor: grabbing; transition: none; box-shadow: 0 4px 14px rgba(52,80,102,.13); }
#yj-island-guide .yj-guide-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; pointer-events: auto; }
#yj-island-guide .yj-guide-backdrop { position: absolute; inset: 0; background: rgba(53,76,90,.17); touch-action: none; }
#yj-island-guide .yj-guide-sheet { position: relative; width: 100%; max-width: 520px; max-height: 76%; margin: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; background: #faf7f1; padding: 22px 28px calc(25px + var(--safe-bottom, env(safe-area-inset-bottom, 0px))); border-radius: 22px 22px 0 0; box-shadow: 0 -12px 60px rgba(83,107,121,.095); outline: none; text-align: left; animation: yj-guide-in .28s ease both; }
#yj-island-guide .yj-guide-handle { width: 30px; height: 3px; background: rgba(184,185,182,.42); border-radius: 2px; margin: 0 auto 18px; }
#yj-island-guide .yj-guide-close { display: flex; align-items: center; justify-content: center; position: absolute; right: 8px; top: 10px; width: 44px; height: 44px; border: 0; background: transparent; color: #7e8b94; touch-action: manipulation; }
#yj-island-guide .yj-guide-close svg { width: 18px; height: 18px; }
#yj-island-guide .yj-guide-eyebrow { font-family: -apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif; font-size: 10px; letter-spacing: .2em; color: #8b9699; margin: 0 0 13px; }
#yj-island-guide #yj-guide-title { font-size: 30px; font-weight: 500; line-height: 1.4; letter-spacing: .1em; color: #547589; margin: 0 0 12px; }
#yj-island-guide .yj-guide-description { font-family: -apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif; font-size: 13px; line-height: 1.95; color: #7d878c; margin: 0; }
#yj-island-guide .yj-guide-home { display: flex; align-items: center; justify-content: space-between; min-height: 50px; margin-top: 16px; border-top: 1px solid rgba(183,185,181,.27); border-bottom: 1px solid rgba(183,185,181,.27); font-size: 16px; letter-spacing: .04em; color: #547589; }
#yj-island-guide .yj-guide-list { list-style: none; margin: 15px 0 0; padding: 0; }
#yj-island-guide .yj-guide-list li { border-top: 1px solid rgba(185,189,182,.2); margin: 0; padding: 0; }
#yj-island-guide .yj-guide-list a { display: flex; align-items: center; width: 100%; min-height: 60px; padding: 13px 0; }
#yj-island-guide .yj-guide-number { font-size: 11px; color: #adb1ad; width: 16px; flex-shrink: 0; margin-right: 16px; }
#yj-island-guide .yj-guide-label { min-width: 0; }
#yj-island-guide .yj-guide-label strong { display: block; font-size: 17px; line-height: 1.5; font-weight: 500; letter-spacing: .05em; }
#yj-island-guide .yj-guide-label small { display: block; font-family: -apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif; font-size: 10px; line-height: 1.6; margin-top: 5px; color: #8c979d; }
#yj-island-guide .yj-guide-arrow { margin-left: auto; padding-left: 10px; font-size: 18px; color: #95a0a4; }
#yj-island-guide .yj-guide-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes yj-guide-in { from { transform: translateY(25px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 340px) { #yj-island-guide .yj-guide-sheet { padding-left: 20px; padding-right: 20px; } #yj-island-guide .yj-guide-number { margin-right: 12px; } }
@media (max-height: 480px) { #yj-island-guide .yj-guide-sheet { max-height: 90%; } }
@media (prefers-reduced-motion: reduce) { #yj-island-guide .yj-guide-sheet { animation: none; } #yj-island-guide .yj-guide-compass { transition: none; } }
