/* 首页与游戏共用浏览器引导，保留游戏的深蓝、奶油白与蜜桃色。 */
dialog.browser-guide{box-sizing:border-box;width:min(440px,calc(100% - 32px));max-height:calc(100svh - 40px);overflow:auto;margin:auto;padding:28px;border:1px solid #596781;border-radius:24px;background:#18233b;color:#fff0de;font-family:Arial,Helvetica,sans-serif;text-align:left;box-shadow:0 20px 60px #05091666}
.browser-guide::backdrop{background:#050b1bc9;backdrop-filter:blur(8px)}.browser-guide *{box-sizing:border-box}.guide-compass{width:52px;height:52px;margin:0 0 16px;color:#c6b6ed}.guide-compass svg{width:100%;height:100%}.browser-guide h2{font-size:24px;line-height:1.3;letter-spacing:0;margin:0 0 10px}.browser-guide p{font-size:13px;line-height:1.65;margin:0 0 16px;color:#c2ccdc}.guide-sketch{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;margin-top:20px;border:1px solid #53607a;border-radius:12px;color:#fff0de}.guide-sketch span{font-size:10px;letter-spacing:.14em}.guide-sketch svg{width:30px;height:16px;fill:#ffc49c}.guide-caption{display:block;margin:6px 0 16px;color:#c2ccdc;font-size:11px}.browser-guide .guide-step{color:#fff0de}.guide-label{display:block;color:#c2ccdc;font-size:12px;margin:0 0 6px}.browser-guide .guide-url{width:100%;min-height:44px;padding:10px 12px;border:1px solid #53607a;border-radius:10px;background:#101b30;color:#fff0de;font:inherit;font-size:16px;margin:0 0 12px}.browser-guide button{font:inherit;cursor:pointer;min-height:48px;width:100%;border-radius:12px;padding:12px 16px;font-size:14px}.guide-copy{display:flex;align-items:center;justify-content:center;gap:10px;border:0;background:#ffc49c;color:#302132;font-weight:bold}.guide-copy span{display:flex}.guide-copy svg{width:18px;height:18px}.guide-copy:hover{background:#ffd4b6}.browser-guide .guide-status{color:#ffc49c;font-size:12px;margin:8px 0}.guide-status:empty{display:none}.browser-guide .guide-note{font-size:11px;margin:12px 0 8px}.guide-continue{background:transparent;color:#c2ccdc;border:0}.guide-continue:hover{background:#26334a}.browser-guide :focus-visible{outline:2px solid #ffc49c;outline-offset:3px}.browser-guide input::selection{background:#ffc49c;color:#18233b}@media(max-width:360px){dialog.browser-guide{padding:20px}.browser-guide h2{font-size:21px}}

/* 两条路径同时可见：箭头指向右上方的宿主菜单区域，配图本身不伪装成可点击浏览器控件。 */
dialog.browser-guide{margin:84px auto 16px;max-height:calc(100svh - 100px)}.guide-pointer{position:fixed;top:max(8px,env(safe-area-inset-top));right:20px;width:88px;height:64px;color:#ffc49c;pointer-events:none}.guide-pointer svg{width:100%;height:100%}.browser-guide>.guide-compass{display:none}.guide-path-title{font-size:14px;color:#fff0de;line-height:1.5;margin:20px 0 8px}.guide-illustration{border:1px solid #53607a;border-radius:12px;overflow:hidden}.guide-illustration .guide-sketch{border:0;border-bottom:1px solid #34415d;border-radius:0;margin:0;background:#111c31}.guide-sketch svg{box-sizing:content-box;padding:6px;border:1px solid #ffc49c;border-radius:8px}.guide-safari-option{display:flex;align-items:center;gap:12px;padding:12px 16px;font-size:13px;color:#fff0de}.guide-safari-option .guide-compass{width:32px;height:32px;margin:0;flex-shrink:0}.browser-guide .guide-fallback{font-size:12px;margin:8px 0;color:#ffc49c}.guide-second{padding-top:16px;border-top:1px solid #34415d;margin-top:16px}.browser-guide .guide-help{font-size:12px;margin-bottom:12px}@media(max-height:620px){dialog.browser-guide{margin-top:64px;max-height:calc(100svh - 80px)}.guide-pointer{height:44px}}

/* 次要入口缩小文字但保留触控面积；确认按钮用深色、取消按钮用蜜桃色。 */
.browser-guide .guide-continue{font-size:11px;font-weight:400;min-height:44px;padding:10px 12px}
dialog.browser-guide.guide-confirm{margin:auto;max-height:calc(100svh - 40px);width:min(400px,calc(100% - 40px));padding:24px}.guide-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}.guide-confirm .guide-copy{background:#302132;border:1px solid #65546a;color:#fff0de}.browser-guide .guide-cancel{background:#ffc49c;border:1px solid #ffc49c;color:#302132}.guide-cancel:hover{filter:brightness(1.15)}.guide-confirm::backdrop{background:#050b1bd9}
